1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for lua52 (TeX Live) 5.2.4.
4#
5# Report bugs to <tex-k@tug.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
278$0: about your system, including any error possibly output
279$0: before this message. Then install a modern shell, or
280$0: manually run the script under such a shell if you do
281$0: have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='lua52 (TeX Live)'
592PACKAGE_TARNAME='lua52--tex-live-'
593PACKAGE_VERSION='5.2.4'
594PACKAGE_STRING='lua52 (TeX Live) 5.2.4'
595PACKAGE_BUGREPORT='tex-k@tug.org'
596PACKAGE_URL=''
597
598ac_unique_file="lua-5.2.4/src/lua.c"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639LUA52_TREE
640LUA52_DEFINES
641build_FALSE
642build_TRUE
643CPP
644LT_SYS_LIBRARY_PATH
645OTOOL64
646OTOOL
647LIPO
648NMEDIT
649DSYMUTIL
650MANIFEST_TOOL
651ac_ct_AR
652AR
653NM
654ac_ct_DUMPBIN
655DUMPBIN
656LD
657FGREP
658EGREP
659GREP
660SED
661host_os
662host_vendor
663host_cpu
664host
665build_os
666build_vendor
667build_cpu
668build
669LIBTOOL
670OBJDUMP
671DLLTOOL
672AS
673LUA52_LT_VERSINFO
674LUA52VERSION
675LN_S
676RANLIB
677WARNING_CFLAGS
678am__fastdepCC_FALSE
679am__fastdepCC_TRUE
680CCDEPMODE
681am__nodep
682AMDEPBACKSLASH
683AMDEP_FALSE
684AMDEP_TRUE
685am__quote
686am__include
687DEPDIR
688OBJEXT
689EXEEXT
690ac_ct_CC
691CPPFLAGS
692LDFLAGS
693CFLAGS
694CC
695MAINT
696MAINTAINER_MODE_FALSE
697MAINTAINER_MODE_TRUE
698AM_BACKSLASH
699AM_DEFAULT_VERBOSITY
700AM_DEFAULT_V
701AM_V
702am__untar
703am__tar
704AMTAR
705am__leading_dot
706SET_MAKE
707AWK
708mkdir_p
709MKDIR_P
710INSTALL_STRIP_PROGRAM
711STRIP
712install_sh
713MAKEINFO
714AUTOHEADER
715AUTOMAKE
716AUTOCONF
717ACLOCAL
718VERSION
719PACKAGE
720CYGPATH_W
721am__isrc
722INSTALL_DATA
723INSTALL_SCRIPT
724INSTALL_PROGRAM
725target_alias
726host_alias
727build_alias
728LIBS
729ECHO_T
730ECHO_N
731ECHO_C
732DEFS
733mandir
734localedir
735libdir
736psdir
737pdfdir
738dvidir
739htmldir
740infodir
741docdir
742oldincludedir
743includedir
744localstatedir
745sharedstatedir
746sysconfdir
747datadir
748datarootdir
749libexecdir
750sbindir
751bindir
752program_transform_name
753prefix
754exec_prefix
755PACKAGE_URL
756PACKAGE_BUGREPORT
757PACKAGE_STRING
758PACKAGE_VERSION
759PACKAGE_TARNAME
760PACKAGE_NAME
761PATH_SEPARATOR
762SHELL'
763ac_subst_files=''
764ac_user_opts='
765enable_option_checking
766enable_silent_rules
767enable_maintainer_mode
768enable_dependency_tracking
769enable_compiler_warnings
770enable_shared
771enable_static
772with_pic
773enable_fast_install
774with_aix_soname
775with_gnu_ld
776with_sysroot
777enable_libtool_lock
778enable_largefile
779'
780      ac_precious_vars='build_alias
781host_alias
782target_alias
783CC
784CFLAGS
785LDFLAGS
786LIBS
787CPPFLAGS
788LT_SYS_LIBRARY_PATH
789CPP'
790
791
792# Initialize some variables set by options.
793ac_init_help=
794ac_init_version=false
795ac_unrecognized_opts=
796ac_unrecognized_sep=
797# The variables have the same names as the options, with
798# dashes changed to underlines.
799cache_file=/dev/null
800exec_prefix=NONE
801no_create=
802no_recursion=
803prefix=NONE
804program_prefix=NONE
805program_suffix=NONE
806program_transform_name=s,x,x,
807silent=
808site=
809srcdir=
810verbose=
811x_includes=NONE
812x_libraries=NONE
813
814# Installation directory options.
815# These are left unexpanded so users can "make install exec_prefix=/foo"
816# and all the variables that are supposed to be based on exec_prefix
817# by default will actually change.
818# Use braces instead of parens because sh, perl, etc. also accept them.
819# (The list follows the same order as the GNU Coding Standards.)
820bindir='${exec_prefix}/bin'
821sbindir='${exec_prefix}/sbin'
822libexecdir='${exec_prefix}/libexec'
823datarootdir='${prefix}/share'
824datadir='${datarootdir}'
825sysconfdir='${prefix}/etc'
826sharedstatedir='${prefix}/com'
827localstatedir='${prefix}/var'
828includedir='${prefix}/include'
829oldincludedir='/usr/include'
830docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831infodir='${datarootdir}/info'
832htmldir='${docdir}'
833dvidir='${docdir}'
834pdfdir='${docdir}'
835psdir='${docdir}'
836libdir='${exec_prefix}/lib'
837localedir='${datarootdir}/locale'
838mandir='${datarootdir}/man'
839
840ac_prev=
841ac_dashdash=
842for ac_option
843do
844  # If the previous option needs an argument, assign it.
845  if test -n "$ac_prev"; then
846    eval $ac_prev=\$ac_option
847    ac_prev=
848    continue
849  fi
850
851  case $ac_option in
852  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853  *=)   ac_optarg= ;;
854  *)    ac_optarg=yes ;;
855  esac
856
857  # Accept the important Cygnus configure options, so we can diagnose typos.
858
859  case $ac_dashdash$ac_option in
860  --)
861    ac_dashdash=yes ;;
862
863  -bindir | --bindir | --bindi | --bind | --bin | --bi)
864    ac_prev=bindir ;;
865  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866    bindir=$ac_optarg ;;
867
868  -build | --build | --buil | --bui | --bu)
869    ac_prev=build_alias ;;
870  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
871    build_alias=$ac_optarg ;;
872
873  -cache-file | --cache-file | --cache-fil | --cache-fi \
874  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875    ac_prev=cache_file ;;
876  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878    cache_file=$ac_optarg ;;
879
880  --config-cache | -C)
881    cache_file=config.cache ;;
882
883  -datadir | --datadir | --datadi | --datad)
884    ac_prev=datadir ;;
885  -datadir=* | --datadir=* | --datadi=* | --datad=*)
886    datadir=$ac_optarg ;;
887
888  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889  | --dataroo | --dataro | --datar)
890    ac_prev=datarootdir ;;
891  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893    datarootdir=$ac_optarg ;;
894
895  -disable-* | --disable-*)
896    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897    # Reject names that are not valid shell variable names.
898    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899      as_fn_error $? "invalid feature name: $ac_useropt"
900    ac_useropt_orig=$ac_useropt
901    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902    case $ac_user_opts in
903      *"
904"enable_$ac_useropt"
905"*) ;;
906      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907	 ac_unrecognized_sep=', ';;
908    esac
909    eval enable_$ac_useropt=no ;;
910
911  -docdir | --docdir | --docdi | --doc | --do)
912    ac_prev=docdir ;;
913  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914    docdir=$ac_optarg ;;
915
916  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917    ac_prev=dvidir ;;
918  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919    dvidir=$ac_optarg ;;
920
921  -enable-* | --enable-*)
922    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923    # Reject names that are not valid shell variable names.
924    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925      as_fn_error $? "invalid feature name: $ac_useropt"
926    ac_useropt_orig=$ac_useropt
927    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928    case $ac_user_opts in
929      *"
930"enable_$ac_useropt"
931"*) ;;
932      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933	 ac_unrecognized_sep=', ';;
934    esac
935    eval enable_$ac_useropt=\$ac_optarg ;;
936
937  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
938  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
939  | --exec | --exe | --ex)
940    ac_prev=exec_prefix ;;
941  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
942  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
943  | --exec=* | --exe=* | --ex=*)
944    exec_prefix=$ac_optarg ;;
945
946  -gas | --gas | --ga | --g)
947    # Obsolete; use --with-gas.
948    with_gas=yes ;;
949
950  -help | --help | --hel | --he | -h)
951    ac_init_help=long ;;
952  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
953    ac_init_help=recursive ;;
954  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
955    ac_init_help=short ;;
956
957  -host | --host | --hos | --ho)
958    ac_prev=host_alias ;;
959  -host=* | --host=* | --hos=* | --ho=*)
960    host_alias=$ac_optarg ;;
961
962  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963    ac_prev=htmldir ;;
964  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965  | --ht=*)
966    htmldir=$ac_optarg ;;
967
968  -includedir | --includedir | --includedi | --included | --include \
969  | --includ | --inclu | --incl | --inc)
970    ac_prev=includedir ;;
971  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
972  | --includ=* | --inclu=* | --incl=* | --inc=*)
973    includedir=$ac_optarg ;;
974
975  -infodir | --infodir | --infodi | --infod | --info | --inf)
976    ac_prev=infodir ;;
977  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
978    infodir=$ac_optarg ;;
979
980  -libdir | --libdir | --libdi | --libd)
981    ac_prev=libdir ;;
982  -libdir=* | --libdir=* | --libdi=* | --libd=*)
983    libdir=$ac_optarg ;;
984
985  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
986  | --libexe | --libex | --libe)
987    ac_prev=libexecdir ;;
988  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
989  | --libexe=* | --libex=* | --libe=*)
990    libexecdir=$ac_optarg ;;
991
992  -localedir | --localedir | --localedi | --localed | --locale)
993    ac_prev=localedir ;;
994  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
995    localedir=$ac_optarg ;;
996
997  -localstatedir | --localstatedir | --localstatedi | --localstated \
998  | --localstate | --localstat | --localsta | --localst | --locals)
999    ac_prev=localstatedir ;;
1000  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1001  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1002    localstatedir=$ac_optarg ;;
1003
1004  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005    ac_prev=mandir ;;
1006  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1007    mandir=$ac_optarg ;;
1008
1009  -nfp | --nfp | --nf)
1010    # Obsolete; use --without-fp.
1011    with_fp=no ;;
1012
1013  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1014  | --no-cr | --no-c | -n)
1015    no_create=yes ;;
1016
1017  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1018  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019    no_recursion=yes ;;
1020
1021  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1022  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1023  | --oldin | --oldi | --old | --ol | --o)
1024    ac_prev=oldincludedir ;;
1025  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1026  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1027  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1028    oldincludedir=$ac_optarg ;;
1029
1030  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031    ac_prev=prefix ;;
1032  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1033    prefix=$ac_optarg ;;
1034
1035  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1036  | --program-pre | --program-pr | --program-p)
1037    ac_prev=program_prefix ;;
1038  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1039  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1040    program_prefix=$ac_optarg ;;
1041
1042  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1043  | --program-suf | --program-su | --program-s)
1044    ac_prev=program_suffix ;;
1045  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1046  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1047    program_suffix=$ac_optarg ;;
1048
1049  -program-transform-name | --program-transform-name \
1050  | --program-transform-nam | --program-transform-na \
1051  | --program-transform-n | --program-transform- \
1052  | --program-transform | --program-transfor \
1053  | --program-transfo | --program-transf \
1054  | --program-trans | --program-tran \
1055  | --progr-tra | --program-tr | --program-t)
1056    ac_prev=program_transform_name ;;
1057  -program-transform-name=* | --program-transform-name=* \
1058  | --program-transform-nam=* | --program-transform-na=* \
1059  | --program-transform-n=* | --program-transform-=* \
1060  | --program-transform=* | --program-transfor=* \
1061  | --program-transfo=* | --program-transf=* \
1062  | --program-trans=* | --program-tran=* \
1063  | --progr-tra=* | --program-tr=* | --program-t=*)
1064    program_transform_name=$ac_optarg ;;
1065
1066  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067    ac_prev=pdfdir ;;
1068  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1069    pdfdir=$ac_optarg ;;
1070
1071  -psdir | --psdir | --psdi | --psd | --ps)
1072    ac_prev=psdir ;;
1073  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074    psdir=$ac_optarg ;;
1075
1076  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1077  | -silent | --silent | --silen | --sile | --sil)
1078    silent=yes ;;
1079
1080  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081    ac_prev=sbindir ;;
1082  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083  | --sbi=* | --sb=*)
1084    sbindir=$ac_optarg ;;
1085
1086  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1087  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1088  | --sharedst | --shareds | --shared | --share | --shar \
1089  | --sha | --sh)
1090    ac_prev=sharedstatedir ;;
1091  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1092  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1093  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094  | --sha=* | --sh=*)
1095    sharedstatedir=$ac_optarg ;;
1096
1097  -site | --site | --sit)
1098    ac_prev=site ;;
1099  -site=* | --site=* | --sit=*)
1100    site=$ac_optarg ;;
1101
1102  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103    ac_prev=srcdir ;;
1104  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1105    srcdir=$ac_optarg ;;
1106
1107  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1108  | --syscon | --sysco | --sysc | --sys | --sy)
1109    ac_prev=sysconfdir ;;
1110  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1111  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1112    sysconfdir=$ac_optarg ;;
1113
1114  -target | --target | --targe | --targ | --tar | --ta | --t)
1115    ac_prev=target_alias ;;
1116  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1117    target_alias=$ac_optarg ;;
1118
1119  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120    verbose=yes ;;
1121
1122  -version | --version | --versio | --versi | --vers | -V)
1123    ac_init_version=: ;;
1124
1125  -with-* | --with-*)
1126    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127    # Reject names that are not valid shell variable names.
1128    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129      as_fn_error $? "invalid package name: $ac_useropt"
1130    ac_useropt_orig=$ac_useropt
1131    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132    case $ac_user_opts in
1133      *"
1134"with_$ac_useropt"
1135"*) ;;
1136      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137	 ac_unrecognized_sep=', ';;
1138    esac
1139    eval with_$ac_useropt=\$ac_optarg ;;
1140
1141  -without-* | --without-*)
1142    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143    # Reject names that are not valid shell variable names.
1144    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145      as_fn_error $? "invalid package name: $ac_useropt"
1146    ac_useropt_orig=$ac_useropt
1147    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148    case $ac_user_opts in
1149      *"
1150"with_$ac_useropt"
1151"*) ;;
1152      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153	 ac_unrecognized_sep=', ';;
1154    esac
1155    eval with_$ac_useropt=no ;;
1156
1157  --x)
1158    # Obsolete; use --with-x.
1159    with_x=yes ;;
1160
1161  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1162  | --x-incl | --x-inc | --x-in | --x-i)
1163    ac_prev=x_includes ;;
1164  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1165  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1166    x_includes=$ac_optarg ;;
1167
1168  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1169  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1170    ac_prev=x_libraries ;;
1171  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1172  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1173    x_libraries=$ac_optarg ;;
1174
1175  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1176Try \`$0 --help' for more information"
1177    ;;
1178
1179  *=*)
1180    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181    # Reject names that are not valid shell variable names.
1182    case $ac_envvar in #(
1183      '' | [0-9]* | *[!_$as_cr_alnum]* )
1184      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1185    esac
1186    eval $ac_envvar=\$ac_optarg
1187    export $ac_envvar ;;
1188
1189  *)
1190    # FIXME: should be removed in autoconf 3.0.
1191    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1195    ;;
1196
1197  esac
1198done
1199
1200if test -n "$ac_prev"; then
1201  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1202  as_fn_error $? "missing argument to $ac_option"
1203fi
1204
1205if test -n "$ac_unrecognized_opts"; then
1206  case $enable_option_checking in
1207    no) ;;
1208    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1209    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210  esac
1211fi
1212
1213# Check all directory arguments for consistency.
1214for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215		datadir sysconfdir sharedstatedir localstatedir includedir \
1216		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217		libdir localedir mandir
1218do
1219  eval ac_val=\$$ac_var
1220  # Remove trailing slashes.
1221  case $ac_val in
1222    */ )
1223      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224      eval $ac_var=\$ac_val;;
1225  esac
1226  # Be sure to have absolute directory names.
1227  case $ac_val in
1228    [\\/$]* | ?:[\\/]* )  continue;;
1229    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230  esac
1231  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1232done
1233
1234# There might be people who depend on the old broken behavior: `$host'
1235# used to hold the argument of --host etc.
1236# FIXME: To remove some day.
1237build=$build_alias
1238host=$host_alias
1239target=$target_alias
1240
1241# FIXME: To remove some day.
1242if test "x$host_alias" != x; then
1243  if test "x$build_alias" = x; then
1244    cross_compiling=maybe
1245  elif test "x$build_alias" != "x$host_alias"; then
1246    cross_compiling=yes
1247  fi
1248fi
1249
1250ac_tool_prefix=
1251test -n "$host_alias" && ac_tool_prefix=$host_alias-
1252
1253test "$silent" = yes && exec 6>/dev/null
1254
1255
1256ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257ac_ls_di=`ls -di .` &&
1258ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259  as_fn_error $? "working directory cannot be determined"
1260test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261  as_fn_error $? "pwd does not report name of working directory"
1262
1263
1264# Find the source files, if location was not specified.
1265if test -z "$srcdir"; then
1266  ac_srcdir_defaulted=yes
1267  # Try the directory containing this script, then the parent directory.
1268  ac_confdir=`$as_dirname -- "$as_myself" ||
1269$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270	 X"$as_myself" : 'X\(//\)[^/]' \| \
1271	 X"$as_myself" : 'X\(//\)$' \| \
1272	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273$as_echo X"$as_myself" |
1274    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275	    s//\1/
1276	    q
1277	  }
1278	  /^X\(\/\/\)[^/].*/{
1279	    s//\1/
1280	    q
1281	  }
1282	  /^X\(\/\/\)$/{
1283	    s//\1/
1284	    q
1285	  }
1286	  /^X\(\/\).*/{
1287	    s//\1/
1288	    q
1289	  }
1290	  s/.*/./; q'`
1291  srcdir=$ac_confdir
1292  if test ! -r "$srcdir/$ac_unique_file"; then
1293    srcdir=..
1294  fi
1295else
1296  ac_srcdir_defaulted=no
1297fi
1298if test ! -r "$srcdir/$ac_unique_file"; then
1299  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1300  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1301fi
1302ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303ac_abs_confdir=`(
1304	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305	pwd)`
1306# When building in place, set srcdir=.
1307if test "$ac_abs_confdir" = "$ac_pwd"; then
1308  srcdir=.
1309fi
1310# Remove unnecessary trailing slashes from srcdir.
1311# Double slashes in file names in object file debugging info
1312# mess up M-x gdb in Emacs.
1313case $srcdir in
1314*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315esac
1316for ac_var in $ac_precious_vars; do
1317  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1318  eval ac_env_${ac_var}_value=\$${ac_var}
1319  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1320  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1321done
1322
1323#
1324# Report the --help message.
1325#
1326if test "$ac_init_help" = "long"; then
1327  # Omit some internal or obsolete options to make the list less imposing.
1328  # This message is too long to be a string in the A/UX 3.1 sh.
1329  cat <<_ACEOF
1330\`configure' configures lua52 (TeX Live) 5.2.4 to adapt to many kinds of systems.
1331
1332Usage: $0 [OPTION]... [VAR=VALUE]...
1333
1334To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335VAR=VALUE.  See below for descriptions of some of the useful variables.
1336
1337Defaults for the options are specified in brackets.
1338
1339Configuration:
1340  -h, --help              display this help and exit
1341      --help=short        display options specific to this package
1342      --help=recursive    display the short help of all the included packages
1343  -V, --version           display version information and exit
1344  -q, --quiet, --silent   do not print \`checking ...' messages
1345      --cache-file=FILE   cache test results in FILE [disabled]
1346  -C, --config-cache      alias for \`--cache-file=config.cache'
1347  -n, --no-create         do not create output files
1348      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1349
1350Installation directories:
1351  --prefix=PREFIX         install architecture-independent files in PREFIX
1352                          [$ac_default_prefix]
1353  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1354                          [PREFIX]
1355
1356By default, \`make install' will install all the files in
1357\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1358an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359for instance \`--prefix=\$HOME'.
1360
1361For better control, use the options below.
1362
1363Fine tuning of the installation directories:
1364  --bindir=DIR            user executables [EPREFIX/bin]
1365  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1366  --libexecdir=DIR        program executables [EPREFIX/libexec]
1367  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1368  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1369  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1370  --libdir=DIR            object code libraries [EPREFIX/lib]
1371  --includedir=DIR        C header files [PREFIX/include]
1372  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1373  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1374  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1375  --infodir=DIR           info documentation [DATAROOTDIR/info]
1376  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1377  --mandir=DIR            man documentation [DATAROOTDIR/man]
1378  --docdir=DIR            documentation root
1379                          [DATAROOTDIR/doc/lua52--tex-live-]
1380  --htmldir=DIR           html documentation [DOCDIR]
1381  --dvidir=DIR            dvi documentation [DOCDIR]
1382  --pdfdir=DIR            pdf documentation [DOCDIR]
1383  --psdir=DIR             ps documentation [DOCDIR]
1384_ACEOF
1385
1386  cat <<\_ACEOF
1387
1388Program names:
1389  --program-prefix=PREFIX            prepend PREFIX to installed program names
1390  --program-suffix=SUFFIX            append SUFFIX to installed program names
1391  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1392
1393System types:
1394  --build=BUILD     configure for building on BUILD [guessed]
1395  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1396_ACEOF
1397fi
1398
1399if test -n "$ac_init_help"; then
1400  case $ac_init_help in
1401     short | recursive ) echo "Configuration of lua52 (TeX Live) 5.2.4:";;
1402   esac
1403  cat <<\_ACEOF
1404
1405Optional Features:
1406  --disable-option-checking  ignore unrecognized --enable/--with options
1407  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1408  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1409  --enable-silent-rules   less verbose build output (undo: "make V=1")
1410  --disable-silent-rules  verbose build output (undo: "make V=0")
1411  --enable-maintainer-mode
1412                          enable make rules and dependencies not useful (and
1413                          sometimes confusing) to the casual installer
1414  --enable-dependency-tracking
1415                          do not reject slow dependency extractors
1416  --disable-dependency-tracking
1417                          speeds up one-time build
1418  --enable-compiler-warnings=[no|min|yes|max|all]
1419                          Turn on compiler warnings [default: yes if
1420                          maintainer-mode, min otherwise]
1421  --enable-shared[=PKGS]  build shared libraries [default=yes]
1422  --enable-static[=PKGS]  build static libraries [default=yes]
1423  --enable-fast-install[=PKGS]
1424                          optimize for fast installation [default=yes]
1425  --disable-libtool-lock  avoid locking (might break parallel builds)
1426  --disable-largefile     omit support for large files
1427
1428Optional Packages:
1429  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1430  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1431  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1432                          both]
1433  --with-aix-soname=aix|svr4|both
1434                          shared library versioning (aka "SONAME") variant to
1435                          provide on AIX, [default=aix].
1436  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1437  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1438                          compiler's sysroot if not specified).
1439
1440Some influential environment variables:
1441  CC          C compiler command
1442  CFLAGS      C compiler flags
1443  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1444              nonstandard directory <lib dir>
1445  LIBS        libraries to pass to the linker, e.g. -l<library>
1446  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1447              you have headers in a nonstandard directory <include dir>
1448  LT_SYS_LIBRARY_PATH
1449              User-defined run-time library search path.
1450  CPP         C preprocessor
1451
1452Use these variables to override the choices made by `configure' or to help
1453it to find libraries and programs with nonstandard names/locations.
1454
1455Report bugs to <tex-k@tug.org>.
1456_ACEOF
1457ac_status=$?
1458fi
1459
1460if test "$ac_init_help" = "recursive"; then
1461  # If there are subdirs, report their specific --help.
1462  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1463    test -d "$ac_dir" ||
1464      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1465      continue
1466    ac_builddir=.
1467
1468case "$ac_dir" in
1469.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470*)
1471  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1472  # A ".." for each directory in $ac_dir_suffix.
1473  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1474  case $ac_top_builddir_sub in
1475  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477  esac ;;
1478esac
1479ac_abs_top_builddir=$ac_pwd
1480ac_abs_builddir=$ac_pwd$ac_dir_suffix
1481# for backward compatibility:
1482ac_top_builddir=$ac_top_build_prefix
1483
1484case $srcdir in
1485  .)  # We are building in place.
1486    ac_srcdir=.
1487    ac_top_srcdir=$ac_top_builddir_sub
1488    ac_abs_top_srcdir=$ac_pwd ;;
1489  [\\/]* | ?:[\\/]* )  # Absolute name.
1490    ac_srcdir=$srcdir$ac_dir_suffix;
1491    ac_top_srcdir=$srcdir
1492    ac_abs_top_srcdir=$srcdir ;;
1493  *) # Relative name.
1494    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495    ac_top_srcdir=$ac_top_build_prefix$srcdir
1496    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1497esac
1498ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1499
1500    cd "$ac_dir" || { ac_status=$?; continue; }
1501    # Check for guested configure.
1502    if test -f "$ac_srcdir/configure.gnu"; then
1503      echo &&
1504      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505    elif test -f "$ac_srcdir/configure"; then
1506      echo &&
1507      $SHELL "$ac_srcdir/configure" --help=recursive
1508    else
1509      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1510    fi || ac_status=$?
1511    cd "$ac_pwd" || { ac_status=$?; break; }
1512  done
1513fi
1514
1515test -n "$ac_init_help" && exit $ac_status
1516if $ac_init_version; then
1517  cat <<\_ACEOF
1518lua52 (TeX Live) configure 5.2.4
1519generated by GNU Autoconf 2.69
1520
1521Copyright (C) 2012 Free Software Foundation, Inc.
1522This configure script is free software; the Free Software Foundation
1523gives unlimited permission to copy, distribute and modify it.
1524_ACEOF
1525  exit
1526fi
1527
1528## ------------------------ ##
1529## Autoconf initialization. ##
1530## ------------------------ ##
1531
1532# ac_fn_c_try_compile LINENO
1533# --------------------------
1534# Try to compile conftest.$ac_ext, and return whether this succeeded.
1535ac_fn_c_try_compile ()
1536{
1537  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538  rm -f conftest.$ac_objext
1539  if { { ac_try="$ac_compile"
1540case "(($ac_try" in
1541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1542  *) ac_try_echo=$ac_try;;
1543esac
1544eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545$as_echo "$ac_try_echo"; } >&5
1546  (eval "$ac_compile") 2>conftest.err
1547  ac_status=$?
1548  if test -s conftest.err; then
1549    grep -v '^ *+' conftest.err >conftest.er1
1550    cat conftest.er1 >&5
1551    mv -f conftest.er1 conftest.err
1552  fi
1553  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554  test $ac_status = 0; } && {
1555	 test -z "$ac_c_werror_flag" ||
1556	 test ! -s conftest.err
1557       } && test -s conftest.$ac_objext; then :
1558  ac_retval=0
1559else
1560  $as_echo "$as_me: failed program was:" >&5
1561sed 's/^/| /' conftest.$ac_ext >&5
1562
1563	ac_retval=1
1564fi
1565  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566  as_fn_set_status $ac_retval
1567
1568} # ac_fn_c_try_compile
1569
1570# ac_fn_c_try_link LINENO
1571# -----------------------
1572# Try to link conftest.$ac_ext, and return whether this succeeded.
1573ac_fn_c_try_link ()
1574{
1575  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576  rm -f conftest.$ac_objext conftest$ac_exeext
1577  if { { ac_try="$ac_link"
1578case "(($ac_try" in
1579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1580  *) ac_try_echo=$ac_try;;
1581esac
1582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583$as_echo "$ac_try_echo"; } >&5
1584  (eval "$ac_link") 2>conftest.err
1585  ac_status=$?
1586  if test -s conftest.err; then
1587    grep -v '^ *+' conftest.err >conftest.er1
1588    cat conftest.er1 >&5
1589    mv -f conftest.er1 conftest.err
1590  fi
1591  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592  test $ac_status = 0; } && {
1593	 test -z "$ac_c_werror_flag" ||
1594	 test ! -s conftest.err
1595       } && test -s conftest$ac_exeext && {
1596	 test "$cross_compiling" = yes ||
1597	 test -x conftest$ac_exeext
1598       }; then :
1599  ac_retval=0
1600else
1601  $as_echo "$as_me: failed program was:" >&5
1602sed 's/^/| /' conftest.$ac_ext >&5
1603
1604	ac_retval=1
1605fi
1606  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1607  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1608  # interfere with the next link command; also delete a directory that is
1609  # left behind by Apple's compiler.  We do this before executing the actions.
1610  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1611  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612  as_fn_set_status $ac_retval
1613
1614} # ac_fn_c_try_link
1615
1616# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1617# -------------------------------------------------------
1618# Tests whether HEADER exists and can be compiled using the include files in
1619# INCLUDES, setting the cache variable VAR accordingly.
1620ac_fn_c_check_header_compile ()
1621{
1622  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624$as_echo_n "checking for $2... " >&6; }
1625if eval \${$3+:} false; then :
1626  $as_echo_n "(cached) " >&6
1627else
1628  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629/* end confdefs.h.  */
1630$4
1631#include <$2>
1632_ACEOF
1633if ac_fn_c_try_compile "$LINENO"; then :
1634  eval "$3=yes"
1635else
1636  eval "$3=no"
1637fi
1638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1639fi
1640eval ac_res=\$$3
1641	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1642$as_echo "$ac_res" >&6; }
1643  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644
1645} # ac_fn_c_check_header_compile
1646
1647# ac_fn_c_try_cpp LINENO
1648# ----------------------
1649# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1650ac_fn_c_try_cpp ()
1651{
1652  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653  if { { ac_try="$ac_cpp conftest.$ac_ext"
1654case "(($ac_try" in
1655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656  *) ac_try_echo=$ac_try;;
1657esac
1658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659$as_echo "$ac_try_echo"; } >&5
1660  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1661  ac_status=$?
1662  if test -s conftest.err; then
1663    grep -v '^ *+' conftest.err >conftest.er1
1664    cat conftest.er1 >&5
1665    mv -f conftest.er1 conftest.err
1666  fi
1667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668  test $ac_status = 0; } > conftest.i && {
1669	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1670	 test ! -s conftest.err
1671       }; then :
1672  ac_retval=0
1673else
1674  $as_echo "$as_me: failed program was:" >&5
1675sed 's/^/| /' conftest.$ac_ext >&5
1676
1677    ac_retval=1
1678fi
1679  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680  as_fn_set_status $ac_retval
1681
1682} # ac_fn_c_try_cpp
1683
1684# ac_fn_c_try_run LINENO
1685# ----------------------
1686# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1687# that executables *can* be run.
1688ac_fn_c_try_run ()
1689{
1690  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691  if { { ac_try="$ac_link"
1692case "(($ac_try" in
1693  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694  *) ac_try_echo=$ac_try;;
1695esac
1696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697$as_echo "$ac_try_echo"; } >&5
1698  (eval "$ac_link") 2>&5
1699  ac_status=$?
1700  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1702  { { case "(($ac_try" in
1703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704  *) ac_try_echo=$ac_try;;
1705esac
1706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707$as_echo "$ac_try_echo"; } >&5
1708  (eval "$ac_try") 2>&5
1709  ac_status=$?
1710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711  test $ac_status = 0; }; }; then :
1712  ac_retval=0
1713else
1714  $as_echo "$as_me: program exited with status $ac_status" >&5
1715       $as_echo "$as_me: failed program was:" >&5
1716sed 's/^/| /' conftest.$ac_ext >&5
1717
1718       ac_retval=$ac_status
1719fi
1720  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722  as_fn_set_status $ac_retval
1723
1724} # ac_fn_c_try_run
1725
1726# ac_fn_c_check_func LINENO FUNC VAR
1727# ----------------------------------
1728# Tests whether FUNC exists, setting the cache variable VAR accordingly
1729ac_fn_c_check_func ()
1730{
1731  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733$as_echo_n "checking for $2... " >&6; }
1734if eval \${$3+:} false; then :
1735  $as_echo_n "(cached) " >&6
1736else
1737  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738/* end confdefs.h.  */
1739/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1740   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1741#define $2 innocuous_$2
1742
1743/* System header to define __stub macros and hopefully few prototypes,
1744    which can conflict with char $2 (); below.
1745    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1746    <limits.h> exists even on freestanding compilers.  */
1747
1748#ifdef __STDC__
1749# include <limits.h>
1750#else
1751# include <assert.h>
1752#endif
1753
1754#undef $2
1755
1756/* Override any GCC internal prototype to avoid an error.
1757   Use char because int might match the return type of a GCC
1758   builtin and then its argument prototype would still apply.  */
1759#ifdef __cplusplus
1760extern "C"
1761#endif
1762char $2 ();
1763/* The GNU C library defines this for functions which it implements
1764    to always fail with ENOSYS.  Some functions are actually named
1765    something starting with __ and the normal name is an alias.  */
1766#if defined __stub_$2 || defined __stub___$2
1767choke me
1768#endif
1769
1770int
1771main ()
1772{
1773return $2 ();
1774  ;
1775  return 0;
1776}
1777_ACEOF
1778if ac_fn_c_try_link "$LINENO"; then :
1779  eval "$3=yes"
1780else
1781  eval "$3=no"
1782fi
1783rm -f core conftest.err conftest.$ac_objext \
1784    conftest$ac_exeext conftest.$ac_ext
1785fi
1786eval ac_res=\$$3
1787	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788$as_echo "$ac_res" >&6; }
1789  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790
1791} # ac_fn_c_check_func
1792
1793# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1794# --------------------------------------------
1795# Tries to find the compile-time value of EXPR in a program that includes
1796# INCLUDES, setting VAR accordingly. Returns whether the value could be
1797# computed
1798ac_fn_c_compute_int ()
1799{
1800  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801  if test "$cross_compiling" = yes; then
1802    # Depending upon the size, compute the lo and hi bounds.
1803cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804/* end confdefs.h.  */
1805$4
1806int
1807main ()
1808{
1809static int test_array [1 - 2 * !(($2) >= 0)];
1810test_array [0] = 0;
1811return test_array [0];
1812
1813  ;
1814  return 0;
1815}
1816_ACEOF
1817if ac_fn_c_try_compile "$LINENO"; then :
1818  ac_lo=0 ac_mid=0
1819  while :; do
1820    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821/* end confdefs.h.  */
1822$4
1823int
1824main ()
1825{
1826static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1827test_array [0] = 0;
1828return test_array [0];
1829
1830  ;
1831  return 0;
1832}
1833_ACEOF
1834if ac_fn_c_try_compile "$LINENO"; then :
1835  ac_hi=$ac_mid; break
1836else
1837  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1838			if test $ac_lo -le $ac_mid; then
1839			  ac_lo= ac_hi=
1840			  break
1841			fi
1842			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1843fi
1844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1845  done
1846else
1847  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848/* end confdefs.h.  */
1849$4
1850int
1851main ()
1852{
1853static int test_array [1 - 2 * !(($2) < 0)];
1854test_array [0] = 0;
1855return test_array [0];
1856
1857  ;
1858  return 0;
1859}
1860_ACEOF
1861if ac_fn_c_try_compile "$LINENO"; then :
1862  ac_hi=-1 ac_mid=-1
1863  while :; do
1864    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865/* end confdefs.h.  */
1866$4
1867int
1868main ()
1869{
1870static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1871test_array [0] = 0;
1872return test_array [0];
1873
1874  ;
1875  return 0;
1876}
1877_ACEOF
1878if ac_fn_c_try_compile "$LINENO"; then :
1879  ac_lo=$ac_mid; break
1880else
1881  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1882			if test $ac_mid -le $ac_hi; then
1883			  ac_lo= ac_hi=
1884			  break
1885			fi
1886			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1887fi
1888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889  done
1890else
1891  ac_lo= ac_hi=
1892fi
1893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894fi
1895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896# Binary search between lo and hi bounds.
1897while test "x$ac_lo" != "x$ac_hi"; do
1898  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1899  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900/* end confdefs.h.  */
1901$4
1902int
1903main ()
1904{
1905static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1906test_array [0] = 0;
1907return test_array [0];
1908
1909  ;
1910  return 0;
1911}
1912_ACEOF
1913if ac_fn_c_try_compile "$LINENO"; then :
1914  ac_hi=$ac_mid
1915else
1916  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1917fi
1918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1919done
1920case $ac_lo in #((
1921?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1922'') ac_retval=1 ;;
1923esac
1924  else
1925    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926/* end confdefs.h.  */
1927$4
1928static long int longval () { return $2; }
1929static unsigned long int ulongval () { return $2; }
1930#include <stdio.h>
1931#include <stdlib.h>
1932int
1933main ()
1934{
1935
1936  FILE *f = fopen ("conftest.val", "w");
1937  if (! f)
1938    return 1;
1939  if (($2) < 0)
1940    {
1941      long int i = longval ();
1942      if (i != ($2))
1943	return 1;
1944      fprintf (f, "%ld", i);
1945    }
1946  else
1947    {
1948      unsigned long int i = ulongval ();
1949      if (i != ($2))
1950	return 1;
1951      fprintf (f, "%lu", i);
1952    }
1953  /* Do not output a trailing newline, as this causes \r\n confusion
1954     on some platforms.  */
1955  return ferror (f) || fclose (f) != 0;
1956
1957  ;
1958  return 0;
1959}
1960_ACEOF
1961if ac_fn_c_try_run "$LINENO"; then :
1962  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1963else
1964  ac_retval=1
1965fi
1966rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1967  conftest.$ac_objext conftest.beam conftest.$ac_ext
1968rm -f conftest.val
1969
1970  fi
1971  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972  as_fn_set_status $ac_retval
1973
1974} # ac_fn_c_compute_int
1975cat >config.log <<_ACEOF
1976This file contains any messages produced by compilers while
1977running configure, to aid debugging if configure makes a mistake.
1978
1979It was created by lua52 (TeX Live) $as_me 5.2.4, which was
1980generated by GNU Autoconf 2.69.  Invocation command line was
1981
1982  $ $0 $@
1983
1984_ACEOF
1985exec 5>>config.log
1986{
1987cat <<_ASUNAME
1988## --------- ##
1989## Platform. ##
1990## --------- ##
1991
1992hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1993uname -m = `(uname -m) 2>/dev/null || echo unknown`
1994uname -r = `(uname -r) 2>/dev/null || echo unknown`
1995uname -s = `(uname -s) 2>/dev/null || echo unknown`
1996uname -v = `(uname -v) 2>/dev/null || echo unknown`
1997
1998/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1999/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2000
2001/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2002/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2003/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2004/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2005/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2006/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2007/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2008
2009_ASUNAME
2010
2011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012for as_dir in $PATH
2013do
2014  IFS=$as_save_IFS
2015  test -z "$as_dir" && as_dir=.
2016    $as_echo "PATH: $as_dir"
2017  done
2018IFS=$as_save_IFS
2019
2020} >&5
2021
2022cat >&5 <<_ACEOF
2023
2024
2025## ----------- ##
2026## Core tests. ##
2027## ----------- ##
2028
2029_ACEOF
2030
2031
2032# Keep a trace of the command line.
2033# Strip out --no-create and --no-recursion so they do not pile up.
2034# Strip out --silent because we don't want to record it for future runs.
2035# Also quote any args containing shell meta-characters.
2036# Make two passes to allow for proper duplicate-argument suppression.
2037ac_configure_args=
2038ac_configure_args0=
2039ac_configure_args1=
2040ac_must_keep_next=false
2041for ac_pass in 1 2
2042do
2043  for ac_arg
2044  do
2045    case $ac_arg in
2046    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2047    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2048    | -silent | --silent | --silen | --sile | --sil)
2049      continue ;;
2050    *\'*)
2051      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2052    esac
2053    case $ac_pass in
2054    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2055    2)
2056      as_fn_append ac_configure_args1 " '$ac_arg'"
2057      if test $ac_must_keep_next = true; then
2058	ac_must_keep_next=false # Got value, back to normal.
2059      else
2060	case $ac_arg in
2061	  *=* | --config-cache | -C | -disable-* | --disable-* \
2062	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2063	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2064	  | -with-* | --with-* | -without-* | --without-* | --x)
2065	    case "$ac_configure_args0 " in
2066	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2067	    esac
2068	    ;;
2069	  -* ) ac_must_keep_next=true ;;
2070	esac
2071      fi
2072      as_fn_append ac_configure_args " '$ac_arg'"
2073      ;;
2074    esac
2075  done
2076done
2077{ ac_configure_args0=; unset ac_configure_args0;}
2078{ ac_configure_args1=; unset ac_configure_args1;}
2079
2080# When interrupted or exit'd, cleanup temporary files, and complete
2081# config.log.  We remove comments because anyway the quotes in there
2082# would cause problems or look ugly.
2083# WARNING: Use '\'' to represent an apostrophe within the trap.
2084# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2085trap 'exit_status=$?
2086  # Save into config.log some information that might help in debugging.
2087  {
2088    echo
2089
2090    $as_echo "## ---------------- ##
2091## Cache variables. ##
2092## ---------------- ##"
2093    echo
2094    # The following way of writing the cache mishandles newlines in values,
2095(
2096  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2097    eval ac_val=\$$ac_var
2098    case $ac_val in #(
2099    *${as_nl}*)
2100      case $ac_var in #(
2101      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2102$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2103      esac
2104      case $ac_var in #(
2105      _ | IFS | as_nl) ;; #(
2106      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2107      *) { eval $ac_var=; unset $ac_var;} ;;
2108      esac ;;
2109    esac
2110  done
2111  (set) 2>&1 |
2112    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2113    *${as_nl}ac_space=\ *)
2114      sed -n \
2115	"s/'\''/'\''\\\\'\'''\''/g;
2116	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2117      ;; #(
2118    *)
2119      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2120      ;;
2121    esac |
2122    sort
2123)
2124    echo
2125
2126    $as_echo "## ----------------- ##
2127## Output variables. ##
2128## ----------------- ##"
2129    echo
2130    for ac_var in $ac_subst_vars
2131    do
2132      eval ac_val=\$$ac_var
2133      case $ac_val in
2134      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2135      esac
2136      $as_echo "$ac_var='\''$ac_val'\''"
2137    done | sort
2138    echo
2139
2140    if test -n "$ac_subst_files"; then
2141      $as_echo "## ------------------- ##
2142## File substitutions. ##
2143## ------------------- ##"
2144      echo
2145      for ac_var in $ac_subst_files
2146      do
2147	eval ac_val=\$$ac_var
2148	case $ac_val in
2149	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2150	esac
2151	$as_echo "$ac_var='\''$ac_val'\''"
2152      done | sort
2153      echo
2154    fi
2155
2156    if test -s confdefs.h; then
2157      $as_echo "## ----------- ##
2158## confdefs.h. ##
2159## ----------- ##"
2160      echo
2161      cat confdefs.h
2162      echo
2163    fi
2164    test "$ac_signal" != 0 &&
2165      $as_echo "$as_me: caught signal $ac_signal"
2166    $as_echo "$as_me: exit $exit_status"
2167  } >&5
2168  rm -f core *.core core.conftest.* &&
2169    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2170    exit $exit_status
2171' 0
2172for ac_signal in 1 2 13 15; do
2173  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2174done
2175ac_signal=0
2176
2177# confdefs.h avoids OS command line length limits that DEFS can exceed.
2178rm -f -r conftest* confdefs.h
2179
2180$as_echo "/* confdefs.h */" > confdefs.h
2181
2182# Predefined preprocessor variables.
2183
2184cat >>confdefs.h <<_ACEOF
2185#define PACKAGE_NAME "$PACKAGE_NAME"
2186_ACEOF
2187
2188cat >>confdefs.h <<_ACEOF
2189#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2190_ACEOF
2191
2192cat >>confdefs.h <<_ACEOF
2193#define PACKAGE_VERSION "$PACKAGE_VERSION"
2194_ACEOF
2195
2196cat >>confdefs.h <<_ACEOF
2197#define PACKAGE_STRING "$PACKAGE_STRING"
2198_ACEOF
2199
2200cat >>confdefs.h <<_ACEOF
2201#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2202_ACEOF
2203
2204cat >>confdefs.h <<_ACEOF
2205#define PACKAGE_URL "$PACKAGE_URL"
2206_ACEOF
2207
2208
2209# Let the site file select an alternate cache file if it wants to.
2210# Prefer an explicitly selected file to automatically selected ones.
2211ac_site_file1=NONE
2212ac_site_file2=NONE
2213if test -n "$CONFIG_SITE"; then
2214  # We do not want a PATH search for config.site.
2215  case $CONFIG_SITE in #((
2216    -*)  ac_site_file1=./$CONFIG_SITE;;
2217    */*) ac_site_file1=$CONFIG_SITE;;
2218    *)   ac_site_file1=./$CONFIG_SITE;;
2219  esac
2220elif test "x$prefix" != xNONE; then
2221  ac_site_file1=$prefix/share/config.site
2222  ac_site_file2=$prefix/etc/config.site
2223else
2224  ac_site_file1=$ac_default_prefix/share/config.site
2225  ac_site_file2=$ac_default_prefix/etc/config.site
2226fi
2227for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2228do
2229  test "x$ac_site_file" = xNONE && continue
2230  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2231    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2232$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2233    sed 's/^/| /' "$ac_site_file" >&5
2234    . "$ac_site_file" \
2235      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2237as_fn_error $? "failed to load site script $ac_site_file
2238See \`config.log' for more details" "$LINENO" 5; }
2239  fi
2240done
2241
2242if test -r "$cache_file"; then
2243  # Some versions of bash will fail to source /dev/null (special files
2244  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2245  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2246    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2247$as_echo "$as_me: loading cache $cache_file" >&6;}
2248    case $cache_file in
2249      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2250      *)                      . "./$cache_file";;
2251    esac
2252  fi
2253else
2254  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2255$as_echo "$as_me: creating cache $cache_file" >&6;}
2256  >$cache_file
2257fi
2258
2259# Check that the precious variables saved in the cache have kept the same
2260# value.
2261ac_cache_corrupted=false
2262for ac_var in $ac_precious_vars; do
2263  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2264  eval ac_new_set=\$ac_env_${ac_var}_set
2265  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2266  eval ac_new_val=\$ac_env_${ac_var}_value
2267  case $ac_old_set,$ac_new_set in
2268    set,)
2269      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2270$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2271      ac_cache_corrupted=: ;;
2272    ,set)
2273      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2274$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2275      ac_cache_corrupted=: ;;
2276    ,);;
2277    *)
2278      if test "x$ac_old_val" != "x$ac_new_val"; then
2279	# differences in whitespace do not lead to failure.
2280	ac_old_val_w=`echo x $ac_old_val`
2281	ac_new_val_w=`echo x $ac_new_val`
2282	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2283	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2284$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2285	  ac_cache_corrupted=:
2286	else
2287	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2288$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2289	  eval $ac_var=\$ac_old_val
2290	fi
2291	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2292$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2293	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2294$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2295      fi;;
2296  esac
2297  # Pass precious variables to config.status.
2298  if test "$ac_new_set" = set; then
2299    case $ac_new_val in
2300    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2301    *) ac_arg=$ac_var=$ac_new_val ;;
2302    esac
2303    case " $ac_configure_args " in
2304      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2305      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2306    esac
2307  fi
2308done
2309if $ac_cache_corrupted; then
2310  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2311$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2312  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2313$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2314  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2315fi
2316## -------------------- ##
2317## Main body of script. ##
2318## -------------------- ##
2319
2320ac_ext=c
2321ac_cpp='$CPP $CPPFLAGS'
2322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2324ac_compiler_gnu=$ac_cv_c_compiler_gnu
2325
2326
2327
2328
2329ac_aux_dir=
2330for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2331  if test -f "$ac_dir/install-sh"; then
2332    ac_aux_dir=$ac_dir
2333    ac_install_sh="$ac_aux_dir/install-sh -c"
2334    break
2335  elif test -f "$ac_dir/install.sh"; then
2336    ac_aux_dir=$ac_dir
2337    ac_install_sh="$ac_aux_dir/install.sh -c"
2338    break
2339  elif test -f "$ac_dir/shtool"; then
2340    ac_aux_dir=$ac_dir
2341    ac_install_sh="$ac_aux_dir/shtool install -c"
2342    break
2343  fi
2344done
2345if test -z "$ac_aux_dir"; then
2346  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2347fi
2348
2349# These three variables are undocumented and unsupported,
2350# and are intended to be withdrawn in a future Autoconf release.
2351# They can cause serious problems if a builder's source tree is in a directory
2352# whose full name contains unusual characters.
2353ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2354ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2355ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2356
2357
2358
2359
2360am__api_version='1.15'
2361
2362# Find a good install program.  We prefer a C program (faster),
2363# so one script is as good as another.  But avoid the broken or
2364# incompatible versions:
2365# SysV /etc/install, /usr/sbin/install
2366# SunOS /usr/etc/install
2367# IRIX /sbin/install
2368# AIX /bin/install
2369# AmigaOS /C/install, which installs bootblocks on floppy discs
2370# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2371# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2372# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2373# OS/2's system install, which has a completely different semantic
2374# ./install, which can be erroneously created by make from ./install.sh.
2375# Reject install programs that cannot install multiple files.
2376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2377$as_echo_n "checking for a BSD-compatible install... " >&6; }
2378if test -z "$INSTALL"; then
2379if ${ac_cv_path_install+:} false; then :
2380  $as_echo_n "(cached) " >&6
2381else
2382  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383for as_dir in $PATH
2384do
2385  IFS=$as_save_IFS
2386  test -z "$as_dir" && as_dir=.
2387    # Account for people who put trailing slashes in PATH elements.
2388case $as_dir/ in #((
2389  ./ | .// | /[cC]/* | \
2390  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2391  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2392  /usr/ucb/* ) ;;
2393  *)
2394    # OSF1 and SCO ODT 3.0 have their own names for install.
2395    # Don't use installbsd from OSF since it installs stuff as root
2396    # by default.
2397    for ac_prog in ginstall scoinst install; do
2398      for ac_exec_ext in '' $ac_executable_extensions; do
2399	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2400	  if test $ac_prog = install &&
2401	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402	    # AIX install.  It has an incompatible calling convention.
2403	    :
2404	  elif test $ac_prog = install &&
2405	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2406	    # program-specific install script used by HP pwplus--don't use.
2407	    :
2408	  else
2409	    rm -rf conftest.one conftest.two conftest.dir
2410	    echo one > conftest.one
2411	    echo two > conftest.two
2412	    mkdir conftest.dir
2413	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2414	      test -s conftest.one && test -s conftest.two &&
2415	      test -s conftest.dir/conftest.one &&
2416	      test -s conftest.dir/conftest.two
2417	    then
2418	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2419	      break 3
2420	    fi
2421	  fi
2422	fi
2423      done
2424    done
2425    ;;
2426esac
2427
2428  done
2429IFS=$as_save_IFS
2430
2431rm -rf conftest.one conftest.two conftest.dir
2432
2433fi
2434  if test "${ac_cv_path_install+set}" = set; then
2435    INSTALL=$ac_cv_path_install
2436  else
2437    # As a last resort, use the slow shell script.  Don't cache a
2438    # value for INSTALL within a source directory, because that will
2439    # break other packages using the cache if that directory is
2440    # removed, or if the value is a relative name.
2441    INSTALL=$ac_install_sh
2442  fi
2443fi
2444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2445$as_echo "$INSTALL" >&6; }
2446
2447# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2448# It thinks the first close brace ends the variable substitution.
2449test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2450
2451test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2452
2453test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2454
2455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2456$as_echo_n "checking whether build environment is sane... " >&6; }
2457# Reject unsafe characters in $srcdir or the absolute working directory
2458# name.  Accept space and tab only in the latter.
2459am_lf='
2460'
2461case `pwd` in
2462  *[\\\"\#\$\&\'\`$am_lf]*)
2463    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2464esac
2465case $srcdir in
2466  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2467    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2468esac
2469
2470# Do 'set' in a subshell so we don't clobber the current shell's
2471# arguments.  Must try -L first in case configure is actually a
2472# symlink; some systems play weird games with the mod time of symlinks
2473# (eg FreeBSD returns the mod time of the symlink's containing
2474# directory).
2475if (
2476   am_has_slept=no
2477   for am_try in 1 2; do
2478     echo "timestamp, slept: $am_has_slept" > conftest.file
2479     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2480     if test "$*" = "X"; then
2481	# -L didn't work.
2482	set X `ls -t "$srcdir/configure" conftest.file`
2483     fi
2484     if test "$*" != "X $srcdir/configure conftest.file" \
2485	&& test "$*" != "X conftest.file $srcdir/configure"; then
2486
2487	# If neither matched, then we have a broken ls.  This can happen
2488	# if, for instance, CONFIG_SHELL is bash and it inherits a
2489	# broken ls alias from the environment.  This has actually
2490	# happened.  Such a system could not be considered "sane".
2491	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2492  alias in your environment" "$LINENO" 5
2493     fi
2494     if test "$2" = conftest.file || test $am_try -eq 2; then
2495       break
2496     fi
2497     # Just in case.
2498     sleep 1
2499     am_has_slept=yes
2500   done
2501   test "$2" = conftest.file
2502   )
2503then
2504   # Ok.
2505   :
2506else
2507   as_fn_error $? "newly created file is older than distributed files!
2508Check your system clock" "$LINENO" 5
2509fi
2510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2511$as_echo "yes" >&6; }
2512# If we didn't sleep, we still need to ensure time stamps of config.status and
2513# generated files are strictly newer.
2514am_sleep_pid=
2515if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2516  ( sleep 1 ) &
2517  am_sleep_pid=$!
2518fi
2519
2520rm -f conftest.file
2521
2522test "$program_prefix" != NONE &&
2523  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2524# Use a double $ so make ignores it.
2525test "$program_suffix" != NONE &&
2526  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2527# Double any \ or $.
2528# By default was `s,x,x', remove it if useless.
2529ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2530program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2531
2532# Expand $ac_aux_dir to an absolute path.
2533am_aux_dir=`cd "$ac_aux_dir" && pwd`
2534
2535if test x"${MISSING+set}" != xset; then
2536  case $am_aux_dir in
2537  *\ * | *\	*)
2538    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2539  *)
2540    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2541  esac
2542fi
2543# Use eval to expand $SHELL
2544if eval "$MISSING --is-lightweight"; then
2545  am_missing_run="$MISSING "
2546else
2547  am_missing_run=
2548  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2549$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2550fi
2551
2552if test x"${install_sh+set}" != xset; then
2553  case $am_aux_dir in
2554  *\ * | *\	*)
2555    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2556  *)
2557    install_sh="\${SHELL} $am_aux_dir/install-sh"
2558  esac
2559fi
2560
2561# Installed binaries are usually stripped using 'strip' when the user
2562# run "make install-strip".  However 'strip' might not be the right
2563# tool to use in cross-compilation environments, therefore Automake
2564# will honor the 'STRIP' environment variable to overrule this program.
2565if test "$cross_compiling" != no; then
2566  if test -n "$ac_tool_prefix"; then
2567  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2568set dummy ${ac_tool_prefix}strip; ac_word=$2
2569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570$as_echo_n "checking for $ac_word... " >&6; }
2571if ${ac_cv_prog_STRIP+:} false; then :
2572  $as_echo_n "(cached) " >&6
2573else
2574  if test -n "$STRIP"; then
2575  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2576else
2577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578for as_dir in $PATH
2579do
2580  IFS=$as_save_IFS
2581  test -z "$as_dir" && as_dir=.
2582    for ac_exec_ext in '' $ac_executable_extensions; do
2583  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2585    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586    break 2
2587  fi
2588done
2589  done
2590IFS=$as_save_IFS
2591
2592fi
2593fi
2594STRIP=$ac_cv_prog_STRIP
2595if test -n "$STRIP"; then
2596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2597$as_echo "$STRIP" >&6; }
2598else
2599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600$as_echo "no" >&6; }
2601fi
2602
2603
2604fi
2605if test -z "$ac_cv_prog_STRIP"; then
2606  ac_ct_STRIP=$STRIP
2607  # Extract the first word of "strip", so it can be a program name with args.
2608set dummy strip; ac_word=$2
2609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610$as_echo_n "checking for $ac_word... " >&6; }
2611if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2612  $as_echo_n "(cached) " >&6
2613else
2614  if test -n "$ac_ct_STRIP"; then
2615  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2616else
2617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618for as_dir in $PATH
2619do
2620  IFS=$as_save_IFS
2621  test -z "$as_dir" && as_dir=.
2622    for ac_exec_ext in '' $ac_executable_extensions; do
2623  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2624    ac_cv_prog_ac_ct_STRIP="strip"
2625    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2626    break 2
2627  fi
2628done
2629  done
2630IFS=$as_save_IFS
2631
2632fi
2633fi
2634ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2635if test -n "$ac_ct_STRIP"; then
2636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2637$as_echo "$ac_ct_STRIP" >&6; }
2638else
2639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640$as_echo "no" >&6; }
2641fi
2642
2643  if test "x$ac_ct_STRIP" = x; then
2644    STRIP=":"
2645  else
2646    case $cross_compiling:$ac_tool_warned in
2647yes:)
2648{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2649$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2650ac_tool_warned=yes ;;
2651esac
2652    STRIP=$ac_ct_STRIP
2653  fi
2654else
2655  STRIP="$ac_cv_prog_STRIP"
2656fi
2657
2658fi
2659INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2660
2661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2662$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2663if test -z "$MKDIR_P"; then
2664  if ${ac_cv_path_mkdir+:} false; then :
2665  $as_echo_n "(cached) " >&6
2666else
2667  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2669do
2670  IFS=$as_save_IFS
2671  test -z "$as_dir" && as_dir=.
2672    for ac_prog in mkdir gmkdir; do
2673	 for ac_exec_ext in '' $ac_executable_extensions; do
2674	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2675	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2676	     'mkdir (GNU coreutils) '* | \
2677	     'mkdir (coreutils) '* | \
2678	     'mkdir (fileutils) '4.1*)
2679	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2680	       break 3;;
2681	   esac
2682	 done
2683       done
2684  done
2685IFS=$as_save_IFS
2686
2687fi
2688
2689  test -d ./--version && rmdir ./--version
2690  if test "${ac_cv_path_mkdir+set}" = set; then
2691    MKDIR_P="$ac_cv_path_mkdir -p"
2692  else
2693    # As a last resort, use the slow shell script.  Don't cache a
2694    # value for MKDIR_P within a source directory, because that will
2695    # break other packages using the cache if that directory is
2696    # removed, or if the value is a relative name.
2697    MKDIR_P="$ac_install_sh -d"
2698  fi
2699fi
2700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2701$as_echo "$MKDIR_P" >&6; }
2702
2703for ac_prog in gawk mawk nawk awk
2704do
2705  # Extract the first word of "$ac_prog", so it can be a program name with args.
2706set dummy $ac_prog; ac_word=$2
2707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708$as_echo_n "checking for $ac_word... " >&6; }
2709if ${ac_cv_prog_AWK+:} false; then :
2710  $as_echo_n "(cached) " >&6
2711else
2712  if test -n "$AWK"; then
2713  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2714else
2715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716for as_dir in $PATH
2717do
2718  IFS=$as_save_IFS
2719  test -z "$as_dir" && as_dir=.
2720    for ac_exec_ext in '' $ac_executable_extensions; do
2721  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2722    ac_cv_prog_AWK="$ac_prog"
2723    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724    break 2
2725  fi
2726done
2727  done
2728IFS=$as_save_IFS
2729
2730fi
2731fi
2732AWK=$ac_cv_prog_AWK
2733if test -n "$AWK"; then
2734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2735$as_echo "$AWK" >&6; }
2736else
2737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738$as_echo "no" >&6; }
2739fi
2740
2741
2742  test -n "$AWK" && break
2743done
2744
2745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2746$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2747set x ${MAKE-make}
2748ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2749if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2750  $as_echo_n "(cached) " >&6
2751else
2752  cat >conftest.make <<\_ACEOF
2753SHELL = /bin/sh
2754all:
2755	@echo '@@@%%%=$(MAKE)=@@@%%%'
2756_ACEOF
2757# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2758case `${MAKE-make} -f conftest.make 2>/dev/null` in
2759  *@@@%%%=?*=@@@%%%*)
2760    eval ac_cv_prog_make_${ac_make}_set=yes;;
2761  *)
2762    eval ac_cv_prog_make_${ac_make}_set=no;;
2763esac
2764rm -f conftest.make
2765fi
2766if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2768$as_echo "yes" >&6; }
2769  SET_MAKE=
2770else
2771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772$as_echo "no" >&6; }
2773  SET_MAKE="MAKE=${MAKE-make}"
2774fi
2775
2776rm -rf .tst 2>/dev/null
2777mkdir .tst 2>/dev/null
2778if test -d .tst; then
2779  am__leading_dot=.
2780else
2781  am__leading_dot=_
2782fi
2783rmdir .tst 2>/dev/null
2784
2785# Check whether --enable-silent-rules was given.
2786if test "${enable_silent_rules+set}" = set; then :
2787  enableval=$enable_silent_rules;
2788fi
2789
2790case $enable_silent_rules in # (((
2791  yes) AM_DEFAULT_VERBOSITY=0;;
2792   no) AM_DEFAULT_VERBOSITY=1;;
2793    *) AM_DEFAULT_VERBOSITY=1;;
2794esac
2795am_make=${MAKE-make}
2796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2797$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2798if ${am_cv_make_support_nested_variables+:} false; then :
2799  $as_echo_n "(cached) " >&6
2800else
2801  if $as_echo 'TRUE=$(BAR$(V))
2802BAR0=false
2803BAR1=true
2804V=1
2805am__doit:
2806	@$(TRUE)
2807.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2808  am_cv_make_support_nested_variables=yes
2809else
2810  am_cv_make_support_nested_variables=no
2811fi
2812fi
2813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2814$as_echo "$am_cv_make_support_nested_variables" >&6; }
2815if test $am_cv_make_support_nested_variables = yes; then
2816    AM_V='$(V)'
2817  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2818else
2819  AM_V=$AM_DEFAULT_VERBOSITY
2820  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2821fi
2822AM_BACKSLASH='\'
2823
2824DEPDIR="${am__leading_dot}deps"
2825
2826ac_config_commands="$ac_config_commands depfiles"
2827
2828
2829am_make=${MAKE-make}
2830cat > confinc << 'END'
2831am__doit:
2832	@echo this is the am__doit target
2833.PHONY: am__doit
2834END
2835# If we don't find an include directive, just comment out the code.
2836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2837$as_echo_n "checking for style of include used by $am_make... " >&6; }
2838am__include="#"
2839am__quote=
2840_am_result=none
2841# First try GNU make style include.
2842echo "include confinc" > confmf
2843# Ignore all kinds of additional output from 'make'.
2844case `$am_make -s -f confmf 2> /dev/null` in #(
2845*the\ am__doit\ target*)
2846  am__include=include
2847  am__quote=
2848  _am_result=GNU
2849  ;;
2850esac
2851# Now try BSD make style include.
2852if test "$am__include" = "#"; then
2853   echo '.include "confinc"' > confmf
2854   case `$am_make -s -f confmf 2> /dev/null` in #(
2855   *the\ am__doit\ target*)
2856     am__include=.include
2857     am__quote="\""
2858     _am_result=BSD
2859     ;;
2860   esac
2861fi
2862
2863
2864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2865$as_echo "$_am_result" >&6; }
2866rm -f confinc confmf
2867
2868# Check whether --enable-dependency-tracking was given.
2869if test "${enable_dependency_tracking+set}" = set; then :
2870  enableval=$enable_dependency_tracking;
2871fi
2872
2873if test "x$enable_dependency_tracking" != xno; then
2874  am_depcomp="$ac_aux_dir/depcomp"
2875  AMDEPBACKSLASH='\'
2876  am__nodep='_no'
2877fi
2878 if test "x$enable_dependency_tracking" != xno; then
2879  AMDEP_TRUE=
2880  AMDEP_FALSE='#'
2881else
2882  AMDEP_TRUE='#'
2883  AMDEP_FALSE=
2884fi
2885
2886
2887ac_ext=c
2888ac_cpp='$CPP $CPPFLAGS'
2889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892if test -n "$ac_tool_prefix"; then
2893  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2894set dummy ${ac_tool_prefix}gcc; ac_word=$2
2895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896$as_echo_n "checking for $ac_word... " >&6; }
2897if ${ac_cv_prog_CC+:} false; then :
2898  $as_echo_n "(cached) " >&6
2899else
2900  if test -n "$CC"; then
2901  ac_cv_prog_CC="$CC" # Let the user override the test.
2902else
2903as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904for as_dir in $PATH
2905do
2906  IFS=$as_save_IFS
2907  test -z "$as_dir" && as_dir=.
2908    for ac_exec_ext in '' $ac_executable_extensions; do
2909  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2911    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912    break 2
2913  fi
2914done
2915  done
2916IFS=$as_save_IFS
2917
2918fi
2919fi
2920CC=$ac_cv_prog_CC
2921if test -n "$CC"; then
2922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923$as_echo "$CC" >&6; }
2924else
2925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926$as_echo "no" >&6; }
2927fi
2928
2929
2930fi
2931if test -z "$ac_cv_prog_CC"; then
2932  ac_ct_CC=$CC
2933  # Extract the first word of "gcc", so it can be a program name with args.
2934set dummy gcc; ac_word=$2
2935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936$as_echo_n "checking for $ac_word... " >&6; }
2937if ${ac_cv_prog_ac_ct_CC+:} false; then :
2938  $as_echo_n "(cached) " >&6
2939else
2940  if test -n "$ac_ct_CC"; then
2941  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2942else
2943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944for as_dir in $PATH
2945do
2946  IFS=$as_save_IFS
2947  test -z "$as_dir" && as_dir=.
2948    for ac_exec_ext in '' $ac_executable_extensions; do
2949  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950    ac_cv_prog_ac_ct_CC="gcc"
2951    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952    break 2
2953  fi
2954done
2955  done
2956IFS=$as_save_IFS
2957
2958fi
2959fi
2960ac_ct_CC=$ac_cv_prog_ac_ct_CC
2961if test -n "$ac_ct_CC"; then
2962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2963$as_echo "$ac_ct_CC" >&6; }
2964else
2965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966$as_echo "no" >&6; }
2967fi
2968
2969  if test "x$ac_ct_CC" = x; then
2970    CC=""
2971  else
2972    case $cross_compiling:$ac_tool_warned in
2973yes:)
2974{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976ac_tool_warned=yes ;;
2977esac
2978    CC=$ac_ct_CC
2979  fi
2980else
2981  CC="$ac_cv_prog_CC"
2982fi
2983
2984if test -z "$CC"; then
2985          if test -n "$ac_tool_prefix"; then
2986    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2987set dummy ${ac_tool_prefix}cc; ac_word=$2
2988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989$as_echo_n "checking for $ac_word... " >&6; }
2990if ${ac_cv_prog_CC+:} false; then :
2991  $as_echo_n "(cached) " >&6
2992else
2993  if test -n "$CC"; then
2994  ac_cv_prog_CC="$CC" # Let the user override the test.
2995else
2996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997for as_dir in $PATH
2998do
2999  IFS=$as_save_IFS
3000  test -z "$as_dir" && as_dir=.
3001    for ac_exec_ext in '' $ac_executable_extensions; do
3002  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003    ac_cv_prog_CC="${ac_tool_prefix}cc"
3004    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005    break 2
3006  fi
3007done
3008  done
3009IFS=$as_save_IFS
3010
3011fi
3012fi
3013CC=$ac_cv_prog_CC
3014if test -n "$CC"; then
3015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016$as_echo "$CC" >&6; }
3017else
3018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019$as_echo "no" >&6; }
3020fi
3021
3022
3023  fi
3024fi
3025if test -z "$CC"; then
3026  # Extract the first word of "cc", so it can be a program name with args.
3027set dummy cc; ac_word=$2
3028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029$as_echo_n "checking for $ac_word... " >&6; }
3030if ${ac_cv_prog_CC+:} false; then :
3031  $as_echo_n "(cached) " >&6
3032else
3033  if test -n "$CC"; then
3034  ac_cv_prog_CC="$CC" # Let the user override the test.
3035else
3036  ac_prog_rejected=no
3037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038for as_dir in $PATH
3039do
3040  IFS=$as_save_IFS
3041  test -z "$as_dir" && as_dir=.
3042    for ac_exec_ext in '' $ac_executable_extensions; do
3043  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3045       ac_prog_rejected=yes
3046       continue
3047     fi
3048    ac_cv_prog_CC="cc"
3049    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050    break 2
3051  fi
3052done
3053  done
3054IFS=$as_save_IFS
3055
3056if test $ac_prog_rejected = yes; then
3057  # We found a bogon in the path, so make sure we never use it.
3058  set dummy $ac_cv_prog_CC
3059  shift
3060  if test $# != 0; then
3061    # We chose a different compiler from the bogus one.
3062    # However, it has the same basename, so the bogon will be chosen
3063    # first if we set CC to just the basename; use the full file name.
3064    shift
3065    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3066  fi
3067fi
3068fi
3069fi
3070CC=$ac_cv_prog_CC
3071if test -n "$CC"; then
3072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073$as_echo "$CC" >&6; }
3074else
3075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076$as_echo "no" >&6; }
3077fi
3078
3079
3080fi
3081if test -z "$CC"; then
3082  if test -n "$ac_tool_prefix"; then
3083  for ac_prog in cl.exe
3084  do
3085    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3086set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088$as_echo_n "checking for $ac_word... " >&6; }
3089if ${ac_cv_prog_CC+:} false; then :
3090  $as_echo_n "(cached) " >&6
3091else
3092  if test -n "$CC"; then
3093  ac_cv_prog_CC="$CC" # Let the user override the test.
3094else
3095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096for as_dir in $PATH
3097do
3098  IFS=$as_save_IFS
3099  test -z "$as_dir" && as_dir=.
3100    for ac_exec_ext in '' $ac_executable_extensions; do
3101  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3102    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3103    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104    break 2
3105  fi
3106done
3107  done
3108IFS=$as_save_IFS
3109
3110fi
3111fi
3112CC=$ac_cv_prog_CC
3113if test -n "$CC"; then
3114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115$as_echo "$CC" >&6; }
3116else
3117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118$as_echo "no" >&6; }
3119fi
3120
3121
3122    test -n "$CC" && break
3123  done
3124fi
3125if test -z "$CC"; then
3126  ac_ct_CC=$CC
3127  for ac_prog in cl.exe
3128do
3129  # Extract the first word of "$ac_prog", so it can be a program name with args.
3130set dummy $ac_prog; ac_word=$2
3131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132$as_echo_n "checking for $ac_word... " >&6; }
3133if ${ac_cv_prog_ac_ct_CC+:} false; then :
3134  $as_echo_n "(cached) " >&6
3135else
3136  if test -n "$ac_ct_CC"; then
3137  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3138else
3139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140for as_dir in $PATH
3141do
3142  IFS=$as_save_IFS
3143  test -z "$as_dir" && as_dir=.
3144    for ac_exec_ext in '' $ac_executable_extensions; do
3145  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146    ac_cv_prog_ac_ct_CC="$ac_prog"
3147    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148    break 2
3149  fi
3150done
3151  done
3152IFS=$as_save_IFS
3153
3154fi
3155fi
3156ac_ct_CC=$ac_cv_prog_ac_ct_CC
3157if test -n "$ac_ct_CC"; then
3158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3159$as_echo "$ac_ct_CC" >&6; }
3160else
3161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162$as_echo "no" >&6; }
3163fi
3164
3165
3166  test -n "$ac_ct_CC" && break
3167done
3168
3169  if test "x$ac_ct_CC" = x; then
3170    CC=""
3171  else
3172    case $cross_compiling:$ac_tool_warned in
3173yes:)
3174{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176ac_tool_warned=yes ;;
3177esac
3178    CC=$ac_ct_CC
3179  fi
3180fi
3181
3182fi
3183
3184
3185test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187as_fn_error $? "no acceptable C compiler found in \$PATH
3188See \`config.log' for more details" "$LINENO" 5; }
3189
3190# Provide some information about the compiler.
3191$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3192set X $ac_compile
3193ac_compiler=$2
3194for ac_option in --version -v -V -qversion; do
3195  { { ac_try="$ac_compiler $ac_option >&5"
3196case "(($ac_try" in
3197  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198  *) ac_try_echo=$ac_try;;
3199esac
3200eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201$as_echo "$ac_try_echo"; } >&5
3202  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3203  ac_status=$?
3204  if test -s conftest.err; then
3205    sed '10a\
3206... rest of stderr output deleted ...
3207         10q' conftest.err >conftest.er1
3208    cat conftest.er1 >&5
3209  fi
3210  rm -f conftest.er1 conftest.err
3211  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212  test $ac_status = 0; }
3213done
3214
3215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216/* end confdefs.h.  */
3217
3218int
3219main ()
3220{
3221
3222  ;
3223  return 0;
3224}
3225_ACEOF
3226ac_clean_files_save=$ac_clean_files
3227ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3228# Try to create an executable without -o first, disregard a.out.
3229# It will help us diagnose broken compilers, and finding out an intuition
3230# of exeext.
3231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3232$as_echo_n "checking whether the C compiler works... " >&6; }
3233ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3234
3235# The possible output files:
3236ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3237
3238ac_rmfiles=
3239for ac_file in $ac_files
3240do
3241  case $ac_file in
3242    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3243    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3244  esac
3245done
3246rm -f $ac_rmfiles
3247
3248if { { ac_try="$ac_link_default"
3249case "(($ac_try" in
3250  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251  *) ac_try_echo=$ac_try;;
3252esac
3253eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254$as_echo "$ac_try_echo"; } >&5
3255  (eval "$ac_link_default") 2>&5
3256  ac_status=$?
3257  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258  test $ac_status = 0; }; then :
3259  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3260# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3261# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3262# so that the user can short-circuit this test for compilers unknown to
3263# Autoconf.
3264for ac_file in $ac_files ''
3265do
3266  test -f "$ac_file" || continue
3267  case $ac_file in
3268    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3269	;;
3270    [ab].out )
3271	# We found the default executable, but exeext='' is most
3272	# certainly right.
3273	break;;
3274    *.* )
3275	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3276	then :; else
3277	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3278	fi
3279	# We set ac_cv_exeext here because the later test for it is not
3280	# safe: cross compilers may not add the suffix if given an `-o'
3281	# argument, so we may need to know it at that point already.
3282	# Even if this section looks crufty: it has the advantage of
3283	# actually working.
3284	break;;
3285    * )
3286	break;;
3287  esac
3288done
3289test "$ac_cv_exeext" = no && ac_cv_exeext=
3290
3291else
3292  ac_file=''
3293fi
3294if test -z "$ac_file"; then :
3295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296$as_echo "no" >&6; }
3297$as_echo "$as_me: failed program was:" >&5
3298sed 's/^/| /' conftest.$ac_ext >&5
3299
3300{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302as_fn_error 77 "C compiler cannot create executables
3303See \`config.log' for more details" "$LINENO" 5; }
3304else
3305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306$as_echo "yes" >&6; }
3307fi
3308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3309$as_echo_n "checking for C compiler default output file name... " >&6; }
3310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3311$as_echo "$ac_file" >&6; }
3312ac_exeext=$ac_cv_exeext
3313
3314rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3315ac_clean_files=$ac_clean_files_save
3316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3317$as_echo_n "checking for suffix of executables... " >&6; }
3318if { { ac_try="$ac_link"
3319case "(($ac_try" in
3320  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321  *) ac_try_echo=$ac_try;;
3322esac
3323eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324$as_echo "$ac_try_echo"; } >&5
3325  (eval "$ac_link") 2>&5
3326  ac_status=$?
3327  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3328  test $ac_status = 0; }; then :
3329  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3330# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3331# work properly (i.e., refer to `conftest.exe'), while it won't with
3332# `rm'.
3333for ac_file in conftest.exe conftest conftest.*; do
3334  test -f "$ac_file" || continue
3335  case $ac_file in
3336    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3337    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3338	  break;;
3339    * ) break;;
3340  esac
3341done
3342else
3343  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3346See \`config.log' for more details" "$LINENO" 5; }
3347fi
3348rm -f conftest conftest$ac_cv_exeext
3349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3350$as_echo "$ac_cv_exeext" >&6; }
3351
3352rm -f conftest.$ac_ext
3353EXEEXT=$ac_cv_exeext
3354ac_exeext=$EXEEXT
3355cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356/* end confdefs.h.  */
3357#include <stdio.h>
3358int
3359main ()
3360{
3361FILE *f = fopen ("conftest.out", "w");
3362 return ferror (f) || fclose (f) != 0;
3363
3364  ;
3365  return 0;
3366}
3367_ACEOF
3368ac_clean_files="$ac_clean_files conftest.out"
3369# Check that the compiler produces executables we can run.  If not, either
3370# the compiler is broken, or we cross compile.
3371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3372$as_echo_n "checking whether we are cross compiling... " >&6; }
3373if test "$cross_compiling" != yes; then
3374  { { ac_try="$ac_link"
3375case "(($ac_try" in
3376  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377  *) ac_try_echo=$ac_try;;
3378esac
3379eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380$as_echo "$ac_try_echo"; } >&5
3381  (eval "$ac_link") 2>&5
3382  ac_status=$?
3383  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384  test $ac_status = 0; }
3385  if { ac_try='./conftest$ac_cv_exeext'
3386  { { case "(($ac_try" in
3387  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388  *) ac_try_echo=$ac_try;;
3389esac
3390eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391$as_echo "$ac_try_echo"; } >&5
3392  (eval "$ac_try") 2>&5
3393  ac_status=$?
3394  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395  test $ac_status = 0; }; }; then
3396    cross_compiling=no
3397  else
3398    if test "$cross_compiling" = maybe; then
3399	cross_compiling=yes
3400    else
3401	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403as_fn_error $? "cannot run C compiled programs.
3404If you meant to cross compile, use \`--host'.
3405See \`config.log' for more details" "$LINENO" 5; }
3406    fi
3407  fi
3408fi
3409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3410$as_echo "$cross_compiling" >&6; }
3411
3412rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3413ac_clean_files=$ac_clean_files_save
3414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3415$as_echo_n "checking for suffix of object files... " >&6; }
3416if ${ac_cv_objext+:} false; then :
3417  $as_echo_n "(cached) " >&6
3418else
3419  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420/* end confdefs.h.  */
3421
3422int
3423main ()
3424{
3425
3426  ;
3427  return 0;
3428}
3429_ACEOF
3430rm -f conftest.o conftest.obj
3431if { { ac_try="$ac_compile"
3432case "(($ac_try" in
3433  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434  *) ac_try_echo=$ac_try;;
3435esac
3436eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437$as_echo "$ac_try_echo"; } >&5
3438  (eval "$ac_compile") 2>&5
3439  ac_status=$?
3440  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441  test $ac_status = 0; }; then :
3442  for ac_file in conftest.o conftest.obj conftest.*; do
3443  test -f "$ac_file" || continue;
3444  case $ac_file in
3445    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3446    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3447       break;;
3448  esac
3449done
3450else
3451  $as_echo "$as_me: failed program was:" >&5
3452sed 's/^/| /' conftest.$ac_ext >&5
3453
3454{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456as_fn_error $? "cannot compute suffix of object files: cannot compile
3457See \`config.log' for more details" "$LINENO" 5; }
3458fi
3459rm -f conftest.$ac_cv_objext conftest.$ac_ext
3460fi
3461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3462$as_echo "$ac_cv_objext" >&6; }
3463OBJEXT=$ac_cv_objext
3464ac_objext=$OBJEXT
3465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3466$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3467if ${ac_cv_c_compiler_gnu+:} false; then :
3468  $as_echo_n "(cached) " >&6
3469else
3470  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471/* end confdefs.h.  */
3472
3473int
3474main ()
3475{
3476#ifndef __GNUC__
3477       choke me
3478#endif
3479
3480  ;
3481  return 0;
3482}
3483_ACEOF
3484if ac_fn_c_try_compile "$LINENO"; then :
3485  ac_compiler_gnu=yes
3486else
3487  ac_compiler_gnu=no
3488fi
3489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490ac_cv_c_compiler_gnu=$ac_compiler_gnu
3491
3492fi
3493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3494$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3495if test $ac_compiler_gnu = yes; then
3496  GCC=yes
3497else
3498  GCC=
3499fi
3500ac_test_CFLAGS=${CFLAGS+set}
3501ac_save_CFLAGS=$CFLAGS
3502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3503$as_echo_n "checking whether $CC accepts -g... " >&6; }
3504if ${ac_cv_prog_cc_g+:} false; then :
3505  $as_echo_n "(cached) " >&6
3506else
3507  ac_save_c_werror_flag=$ac_c_werror_flag
3508   ac_c_werror_flag=yes
3509   ac_cv_prog_cc_g=no
3510   CFLAGS="-g"
3511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512/* end confdefs.h.  */
3513
3514int
3515main ()
3516{
3517
3518  ;
3519  return 0;
3520}
3521_ACEOF
3522if ac_fn_c_try_compile "$LINENO"; then :
3523  ac_cv_prog_cc_g=yes
3524else
3525  CFLAGS=""
3526      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527/* end confdefs.h.  */
3528
3529int
3530main ()
3531{
3532
3533  ;
3534  return 0;
3535}
3536_ACEOF
3537if ac_fn_c_try_compile "$LINENO"; then :
3538
3539else
3540  ac_c_werror_flag=$ac_save_c_werror_flag
3541	 CFLAGS="-g"
3542	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543/* end confdefs.h.  */
3544
3545int
3546main ()
3547{
3548
3549  ;
3550  return 0;
3551}
3552_ACEOF
3553if ac_fn_c_try_compile "$LINENO"; then :
3554  ac_cv_prog_cc_g=yes
3555fi
3556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557fi
3558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559fi
3560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561   ac_c_werror_flag=$ac_save_c_werror_flag
3562fi
3563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3564$as_echo "$ac_cv_prog_cc_g" >&6; }
3565if test "$ac_test_CFLAGS" = set; then
3566  CFLAGS=$ac_save_CFLAGS
3567elif test $ac_cv_prog_cc_g = yes; then
3568  if test "$GCC" = yes; then
3569    CFLAGS="-g -O2"
3570  else
3571    CFLAGS="-g"
3572  fi
3573else
3574  if test "$GCC" = yes; then
3575    CFLAGS="-O2"
3576  else
3577    CFLAGS=
3578  fi
3579fi
3580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3581$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3582if ${ac_cv_prog_cc_c89+:} false; then :
3583  $as_echo_n "(cached) " >&6
3584else
3585  ac_cv_prog_cc_c89=no
3586ac_save_CC=$CC
3587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588/* end confdefs.h.  */
3589#include <stdarg.h>
3590#include <stdio.h>
3591struct stat;
3592/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3593struct buf { int x; };
3594FILE * (*rcsopen) (struct buf *, struct stat *, int);
3595static char *e (p, i)
3596     char **p;
3597     int i;
3598{
3599  return p[i];
3600}
3601static char *f (char * (*g) (char **, int), char **p, ...)
3602{
3603  char *s;
3604  va_list v;
3605  va_start (v,p);
3606  s = g (p, va_arg (v,int));
3607  va_end (v);
3608  return s;
3609}
3610
3611/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3612   function prototypes and stuff, but not '\xHH' hex character constants.
3613   These don't provoke an error unfortunately, instead are silently treated
3614   as 'x'.  The following induces an error, until -std is added to get
3615   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3616   array size at least.  It's necessary to write '\x00'==0 to get something
3617   that's true only with -std.  */
3618int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3619
3620/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3621   inside strings and character constants.  */
3622#define FOO(x) 'x'
3623int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3624
3625int test (int i, double x);
3626struct s1 {int (*f) (int a);};
3627struct s2 {int (*f) (double a);};
3628int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3629int argc;
3630char **argv;
3631int
3632main ()
3633{
3634return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3635  ;
3636  return 0;
3637}
3638_ACEOF
3639for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3640	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3641do
3642  CC="$ac_save_CC $ac_arg"
3643  if ac_fn_c_try_compile "$LINENO"; then :
3644  ac_cv_prog_cc_c89=$ac_arg
3645fi
3646rm -f core conftest.err conftest.$ac_objext
3647  test "x$ac_cv_prog_cc_c89" != "xno" && break
3648done
3649rm -f conftest.$ac_ext
3650CC=$ac_save_CC
3651
3652fi
3653# AC_CACHE_VAL
3654case "x$ac_cv_prog_cc_c89" in
3655  x)
3656    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3657$as_echo "none needed" >&6; } ;;
3658  xno)
3659    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3660$as_echo "unsupported" >&6; } ;;
3661  *)
3662    CC="$CC $ac_cv_prog_cc_c89"
3663    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3664$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3665esac
3666if test "x$ac_cv_prog_cc_c89" != xno; then :
3667
3668fi
3669
3670ac_ext=c
3671ac_cpp='$CPP $CPPFLAGS'
3672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674ac_compiler_gnu=$ac_cv_c_compiler_gnu
3675
3676ac_ext=c
3677ac_cpp='$CPP $CPPFLAGS'
3678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3682$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3683if ${am_cv_prog_cc_c_o+:} false; then :
3684  $as_echo_n "(cached) " >&6
3685else
3686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687/* end confdefs.h.  */
3688
3689int
3690main ()
3691{
3692
3693  ;
3694  return 0;
3695}
3696_ACEOF
3697  # Make sure it works both with $CC and with simple cc.
3698  # Following AC_PROG_CC_C_O, we do the test twice because some
3699  # compilers refuse to overwrite an existing .o file with -o,
3700  # though they will create one.
3701  am_cv_prog_cc_c_o=yes
3702  for am_i in 1 2; do
3703    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3704   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3705   ac_status=$?
3706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707   (exit $ac_status); } \
3708         && test -f conftest2.$ac_objext; then
3709      : OK
3710    else
3711      am_cv_prog_cc_c_o=no
3712      break
3713    fi
3714  done
3715  rm -f core conftest*
3716  unset am_i
3717fi
3718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3719$as_echo "$am_cv_prog_cc_c_o" >&6; }
3720if test "$am_cv_prog_cc_c_o" != yes; then
3721   # Losing compiler, so override with the script.
3722   # FIXME: It is wrong to rewrite CC.
3723   # But if we don't then we get into trouble of one sort or another.
3724   # A longer-term fix would be to have automake use am__CC in this case,
3725   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3726   CC="$am_aux_dir/compile $CC"
3727fi
3728ac_ext=c
3729ac_cpp='$CPP $CPPFLAGS'
3730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733
3734
3735depcc="$CC"   am_compiler_list=
3736
3737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3738$as_echo_n "checking dependency style of $depcc... " >&6; }
3739if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3740  $as_echo_n "(cached) " >&6
3741else
3742  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3743  # We make a subdir and do the tests there.  Otherwise we can end up
3744  # making bogus files that we don't know about and never remove.  For
3745  # instance it was reported that on HP-UX the gcc test will end up
3746  # making a dummy file named 'D' -- because '-MD' means "put the output
3747  # in D".
3748  rm -rf conftest.dir
3749  mkdir conftest.dir
3750  # Copy depcomp to subdir because otherwise we won't find it if we're
3751  # using a relative directory.
3752  cp "$am_depcomp" conftest.dir
3753  cd conftest.dir
3754  # We will build objects and dependencies in a subdirectory because
3755  # it helps to detect inapplicable dependency modes.  For instance
3756  # both Tru64's cc and ICC support -MD to output dependencies as a
3757  # side effect of compilation, but ICC will put the dependencies in
3758  # the current directory while Tru64 will put them in the object
3759  # directory.
3760  mkdir sub
3761
3762  am_cv_CC_dependencies_compiler_type=none
3763  if test "$am_compiler_list" = ""; then
3764     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3765  fi
3766  am__universal=false
3767  case " $depcc " in #(
3768     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3769     esac
3770
3771  for depmode in $am_compiler_list; do
3772    # Setup a source with many dependencies, because some compilers
3773    # like to wrap large dependency lists on column 80 (with \), and
3774    # we should not choose a depcomp mode which is confused by this.
3775    #
3776    # We need to recreate these files for each test, as the compiler may
3777    # overwrite some of them when testing with obscure command lines.
3778    # This happens at least with the AIX C compiler.
3779    : > sub/conftest.c
3780    for i in 1 2 3 4 5 6; do
3781      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3782      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3783      # Solaris 10 /bin/sh.
3784      echo '/* dummy */' > sub/conftst$i.h
3785    done
3786    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3787
3788    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3789    # mode.  It turns out that the SunPro C++ compiler does not properly
3790    # handle '-M -o', and we need to detect this.  Also, some Intel
3791    # versions had trouble with output in subdirs.
3792    am__obj=sub/conftest.${OBJEXT-o}
3793    am__minus_obj="-o $am__obj"
3794    case $depmode in
3795    gcc)
3796      # This depmode causes a compiler race in universal mode.
3797      test "$am__universal" = false || continue
3798      ;;
3799    nosideeffect)
3800      # After this tag, mechanisms are not by side-effect, so they'll
3801      # only be used when explicitly requested.
3802      if test "x$enable_dependency_tracking" = xyes; then
3803	continue
3804      else
3805	break
3806      fi
3807      ;;
3808    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3809      # This compiler won't grok '-c -o', but also, the minuso test has
3810      # not run yet.  These depmodes are late enough in the game, and
3811      # so weak that their functioning should not be impacted.
3812      am__obj=conftest.${OBJEXT-o}
3813      am__minus_obj=
3814      ;;
3815    none) break ;;
3816    esac
3817    if depmode=$depmode \
3818       source=sub/conftest.c object=$am__obj \
3819       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3820       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3821         >/dev/null 2>conftest.err &&
3822       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3823       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3824       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3825       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3826      # icc doesn't choke on unknown options, it will just issue warnings
3827      # or remarks (even with -Werror).  So we grep stderr for any message
3828      # that says an option was ignored or not supported.
3829      # When given -MP, icc 7.0 and 7.1 complain thusly:
3830      #   icc: Command line warning: ignoring option '-M'; no argument required
3831      # The diagnosis changed in icc 8.0:
3832      #   icc: Command line remark: option '-MP' not supported
3833      if (grep 'ignoring option' conftest.err ||
3834          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3835        am_cv_CC_dependencies_compiler_type=$depmode
3836        break
3837      fi
3838    fi
3839  done
3840
3841  cd ..
3842  rm -rf conftest.dir
3843else
3844  am_cv_CC_dependencies_compiler_type=none
3845fi
3846
3847fi
3848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3849$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3850CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3851
3852 if
3853  test "x$enable_dependency_tracking" != xno \
3854  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3855  am__fastdepCC_TRUE=
3856  am__fastdepCC_FALSE='#'
3857else
3858  am__fastdepCC_TRUE='#'
3859  am__fastdepCC_FALSE=
3860fi
3861
3862
3863
3864# Check whether --enable-compiler-warnings was given.
3865if test "${enable_compiler_warnings+set}" = set; then :
3866  enableval=$enable_compiler_warnings;
3867fi
3868case $enable_compiler_warnings in #(
3869  no | min | yes | max | all) :
3870     ;; #(
3871  *) :
3872    if test "x$enable_maintainer_mode" = xyes; then :
3873  enable_compiler_warnings=yes
3874else
3875  enable_compiler_warnings=min
3876fi ;;
3877esac
3878
3879
3880if test "`cd $srcdir && pwd`" != "`pwd`"; then
3881  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3882  # is not polluted with repeated "-I."
3883  am__isrc=' -I$(srcdir)'
3884  # test to see if srcdir already configured
3885  if test -f $srcdir/config.status; then
3886    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3887  fi
3888fi
3889
3890# test whether we have cygpath
3891if test -z "$CYGPATH_W"; then
3892  if (cygpath --version) >/dev/null 2>/dev/null; then
3893    CYGPATH_W='cygpath -w'
3894  else
3895    CYGPATH_W=echo
3896  fi
3897fi
3898
3899
3900# Define the identity of the package.
3901 PACKAGE='lua52--tex-live-'
3902 VERSION='5.2.4'
3903
3904
3905cat >>confdefs.h <<_ACEOF
3906#define PACKAGE "$PACKAGE"
3907_ACEOF
3908
3909
3910cat >>confdefs.h <<_ACEOF
3911#define VERSION "$VERSION"
3912_ACEOF
3913
3914# Some tools Automake needs.
3915
3916ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3917
3918
3919AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3920
3921
3922AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3923
3924
3925AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3926
3927
3928MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3929
3930# For better backward compatibility.  To be removed once Automake 1.9.x
3931# dies out for good.  For more background, see:
3932# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3933# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3934mkdir_p='$(MKDIR_P)'
3935
3936# We need awk for the "check" target (and possibly the TAP driver).  The
3937# system "awk" is bad on some platforms.
3938# Always define AMTAR for backward compatibility.  Yes, it's still used
3939# in the wild :-(  We should find a proper way to deprecate it ...
3940AMTAR='$${TAR-tar}'
3941
3942
3943# We'll loop over all known methods to create a tar archive until one works.
3944_am_tools='gnutar  pax cpio none'
3945
3946am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3947
3948
3949
3950
3951
3952
3953# POSIX will say in a future version that running "rm -f" with no argument
3954# is OK; and we want to be able to make that assumption in our Makefile
3955# recipes.  So use an aggressive probe to check that the usage we want is
3956# actually supported "in the wild" to an acceptable degree.
3957# See automake bug#10828.
3958# To make any issue more visible, cause the running configure to be aborted
3959# by default if the 'rm' program in use doesn't match our expectations; the
3960# user can still override this though.
3961if rm -f && rm -fr && rm -rf; then : OK; else
3962  cat >&2 <<'END'
3963Oops!
3964
3965Your 'rm' program seems unable to run without file operands specified
3966on the command line, even when the '-f' option is present.  This is contrary
3967to the behaviour of most rm programs out there, and not conforming with
3968the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3969
3970Please tell bug-automake@gnu.org about your system, including the value
3971of your $PATH and any error possibly output before this message.  This
3972can help us improve future automake versions.
3973
3974END
3975  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3976    echo 'Configuration will proceed anyway, since you have set the' >&2
3977    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3978    echo >&2
3979  else
3980    cat >&2 <<'END'
3981Aborting the configuration process, to ensure you take notice of the issue.
3982
3983You can download and install GNU coreutils to get an 'rm' implementation
3984that behaves properly: <http://www.gnu.org/software/coreutils/>.
3985
3986If you want to complete the configuration process using your problematic
3987'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3988to "yes", and re-run configure.
3989
3990END
3991    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3992  fi
3993fi
3994
3995
3996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3997$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3998    # Check whether --enable-maintainer-mode was given.
3999if test "${enable_maintainer_mode+set}" = set; then :
4000  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4001else
4002  USE_MAINTAINER_MODE=no
4003fi
4004
4005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4006$as_echo "$USE_MAINTAINER_MODE" >&6; }
4007   if test $USE_MAINTAINER_MODE = yes; then
4008  MAINTAINER_MODE_TRUE=
4009  MAINTAINER_MODE_FALSE='#'
4010else
4011  MAINTAINER_MODE_TRUE='#'
4012  MAINTAINER_MODE_FALSE=
4013fi
4014
4015  MAINT=$MAINTAINER_MODE_TRUE
4016
4017
4018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4019$as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4020if ${kb_cv_c_prototypes+:} false; then :
4021  $as_echo_n "(cached) " >&6
4022else
4023  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024/* end confdefs.h.  */
4025#include <stdarg.h>
4026int
4027main ()
4028{
4029extern void foo(int i,...);
4030  ;
4031  return 0;
4032}
4033_ACEOF
4034if ac_fn_c_try_link "$LINENO"; then :
4035  kb_cv_c_prototypes=yes
4036else
4037  kb_cv_c_prototypes=no
4038fi
4039rm -f core conftest.err conftest.$ac_objext \
4040    conftest$ac_exeext conftest.$ac_ext
4041fi
4042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4043$as_echo "$kb_cv_c_prototypes" >&6; }
4044if test "x$kb_cv_c_prototypes" = xno; then
4045  as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4046fi
4047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4048$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4049if ${kpse_cv_warning_cflags+:} false; then :
4050  $as_echo_n "(cached) " >&6
4051else
4052  if test "x$GCC" = xyes; then
4053  kpse_cv_warning_cflags=
4054if test "x$enable_compiler_warnings" != xno; then
4055  kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4056  case `$CC -dumpversion` in #(
4057  3.4.* | 4.*) :
4058    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4059  *) :
4060     ;;
4061esac
4062  case `$CC -dumpversion` in #(
4063  3.[234].* | 4.*) :
4064    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4065  *) :
4066     ;;
4067esac
4068  if test "x$enable_compiler_warnings" != xmin; then
4069    kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4070    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4071    if test "x$enable_compiler_warnings" != xyes; then
4072      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4073      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4074      case `$CC -dumpversion` in #(
4075  3.4.* | 4.*) :
4076    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4077  *) :
4078     ;;
4079esac
4080      if test "x$enable_compiler_warnings" != xmax; then
4081        kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4082      fi
4083    fi
4084  fi
4085fi
4086elif test "x$enable_compiler_warnings" = xno; then
4087  kpse_cv_warning_cflags=
4088else
4089  kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4090fi
4091fi
4092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4093$as_echo "$kpse_cv_warning_cflags" >&6; }
4094WARNING_CFLAGS=$kpse_cv_warning_cflags
4095
4096
4097
4098
4099
4100
4101
4102
4103ac_ext=c
4104ac_cpp='$CPP $CPPFLAGS'
4105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4107ac_compiler_gnu=$ac_cv_c_compiler_gnu
4108if test -n "$ac_tool_prefix"; then
4109  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4110set dummy ${ac_tool_prefix}gcc; ac_word=$2
4111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112$as_echo_n "checking for $ac_word... " >&6; }
4113if ${ac_cv_prog_CC+:} false; then :
4114  $as_echo_n "(cached) " >&6
4115else
4116  if test -n "$CC"; then
4117  ac_cv_prog_CC="$CC" # Let the user override the test.
4118else
4119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120for as_dir in $PATH
4121do
4122  IFS=$as_save_IFS
4123  test -z "$as_dir" && as_dir=.
4124    for ac_exec_ext in '' $ac_executable_extensions; do
4125  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4127    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128    break 2
4129  fi
4130done
4131  done
4132IFS=$as_save_IFS
4133
4134fi
4135fi
4136CC=$ac_cv_prog_CC
4137if test -n "$CC"; then
4138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4139$as_echo "$CC" >&6; }
4140else
4141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142$as_echo "no" >&6; }
4143fi
4144
4145
4146fi
4147if test -z "$ac_cv_prog_CC"; then
4148  ac_ct_CC=$CC
4149  # Extract the first word of "gcc", so it can be a program name with args.
4150set dummy gcc; ac_word=$2
4151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152$as_echo_n "checking for $ac_word... " >&6; }
4153if ${ac_cv_prog_ac_ct_CC+:} false; then :
4154  $as_echo_n "(cached) " >&6
4155else
4156  if test -n "$ac_ct_CC"; then
4157  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4158else
4159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160for as_dir in $PATH
4161do
4162  IFS=$as_save_IFS
4163  test -z "$as_dir" && as_dir=.
4164    for ac_exec_ext in '' $ac_executable_extensions; do
4165  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4166    ac_cv_prog_ac_ct_CC="gcc"
4167    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4168    break 2
4169  fi
4170done
4171  done
4172IFS=$as_save_IFS
4173
4174fi
4175fi
4176ac_ct_CC=$ac_cv_prog_ac_ct_CC
4177if test -n "$ac_ct_CC"; then
4178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4179$as_echo "$ac_ct_CC" >&6; }
4180else
4181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182$as_echo "no" >&6; }
4183fi
4184
4185  if test "x$ac_ct_CC" = x; then
4186    CC=""
4187  else
4188    case $cross_compiling:$ac_tool_warned in
4189yes:)
4190{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4191$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4192ac_tool_warned=yes ;;
4193esac
4194    CC=$ac_ct_CC
4195  fi
4196else
4197  CC="$ac_cv_prog_CC"
4198fi
4199
4200if test -z "$CC"; then
4201          if test -n "$ac_tool_prefix"; then
4202    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4203set dummy ${ac_tool_prefix}cc; ac_word=$2
4204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205$as_echo_n "checking for $ac_word... " >&6; }
4206if ${ac_cv_prog_CC+:} false; then :
4207  $as_echo_n "(cached) " >&6
4208else
4209  if test -n "$CC"; then
4210  ac_cv_prog_CC="$CC" # Let the user override the test.
4211else
4212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213for as_dir in $PATH
4214do
4215  IFS=$as_save_IFS
4216  test -z "$as_dir" && as_dir=.
4217    for ac_exec_ext in '' $ac_executable_extensions; do
4218  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219    ac_cv_prog_CC="${ac_tool_prefix}cc"
4220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221    break 2
4222  fi
4223done
4224  done
4225IFS=$as_save_IFS
4226
4227fi
4228fi
4229CC=$ac_cv_prog_CC
4230if test -n "$CC"; then
4231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4232$as_echo "$CC" >&6; }
4233else
4234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235$as_echo "no" >&6; }
4236fi
4237
4238
4239  fi
4240fi
4241if test -z "$CC"; then
4242  # Extract the first word of "cc", so it can be a program name with args.
4243set dummy cc; ac_word=$2
4244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245$as_echo_n "checking for $ac_word... " >&6; }
4246if ${ac_cv_prog_CC+:} false; then :
4247  $as_echo_n "(cached) " >&6
4248else
4249  if test -n "$CC"; then
4250  ac_cv_prog_CC="$CC" # Let the user override the test.
4251else
4252  ac_prog_rejected=no
4253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254for as_dir in $PATH
4255do
4256  IFS=$as_save_IFS
4257  test -z "$as_dir" && as_dir=.
4258    for ac_exec_ext in '' $ac_executable_extensions; do
4259  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4260    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4261       ac_prog_rejected=yes
4262       continue
4263     fi
4264    ac_cv_prog_CC="cc"
4265    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4266    break 2
4267  fi
4268done
4269  done
4270IFS=$as_save_IFS
4271
4272if test $ac_prog_rejected = yes; then
4273  # We found a bogon in the path, so make sure we never use it.
4274  set dummy $ac_cv_prog_CC
4275  shift
4276  if test $# != 0; then
4277    # We chose a different compiler from the bogus one.
4278    # However, it has the same basename, so the bogon will be chosen
4279    # first if we set CC to just the basename; use the full file name.
4280    shift
4281    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4282  fi
4283fi
4284fi
4285fi
4286CC=$ac_cv_prog_CC
4287if test -n "$CC"; then
4288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4289$as_echo "$CC" >&6; }
4290else
4291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292$as_echo "no" >&6; }
4293fi
4294
4295
4296fi
4297if test -z "$CC"; then
4298  if test -n "$ac_tool_prefix"; then
4299  for ac_prog in cl.exe
4300  do
4301    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4302set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304$as_echo_n "checking for $ac_word... " >&6; }
4305if ${ac_cv_prog_CC+:} false; then :
4306  $as_echo_n "(cached) " >&6
4307else
4308  if test -n "$CC"; then
4309  ac_cv_prog_CC="$CC" # Let the user override the test.
4310else
4311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312for as_dir in $PATH
4313do
4314  IFS=$as_save_IFS
4315  test -z "$as_dir" && as_dir=.
4316    for ac_exec_ext in '' $ac_executable_extensions; do
4317  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4318    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4320    break 2
4321  fi
4322done
4323  done
4324IFS=$as_save_IFS
4325
4326fi
4327fi
4328CC=$ac_cv_prog_CC
4329if test -n "$CC"; then
4330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4331$as_echo "$CC" >&6; }
4332else
4333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334$as_echo "no" >&6; }
4335fi
4336
4337
4338    test -n "$CC" && break
4339  done
4340fi
4341if test -z "$CC"; then
4342  ac_ct_CC=$CC
4343  for ac_prog in cl.exe
4344do
4345  # Extract the first word of "$ac_prog", so it can be a program name with args.
4346set dummy $ac_prog; ac_word=$2
4347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348$as_echo_n "checking for $ac_word... " >&6; }
4349if ${ac_cv_prog_ac_ct_CC+:} false; then :
4350  $as_echo_n "(cached) " >&6
4351else
4352  if test -n "$ac_ct_CC"; then
4353  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4354else
4355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356for as_dir in $PATH
4357do
4358  IFS=$as_save_IFS
4359  test -z "$as_dir" && as_dir=.
4360    for ac_exec_ext in '' $ac_executable_extensions; do
4361  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362    ac_cv_prog_ac_ct_CC="$ac_prog"
4363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364    break 2
4365  fi
4366done
4367  done
4368IFS=$as_save_IFS
4369
4370fi
4371fi
4372ac_ct_CC=$ac_cv_prog_ac_ct_CC
4373if test -n "$ac_ct_CC"; then
4374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4375$as_echo "$ac_ct_CC" >&6; }
4376else
4377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378$as_echo "no" >&6; }
4379fi
4380
4381
4382  test -n "$ac_ct_CC" && break
4383done
4384
4385  if test "x$ac_ct_CC" = x; then
4386    CC=""
4387  else
4388    case $cross_compiling:$ac_tool_warned in
4389yes:)
4390{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4391$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392ac_tool_warned=yes ;;
4393esac
4394    CC=$ac_ct_CC
4395  fi
4396fi
4397
4398fi
4399
4400
4401test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4403as_fn_error $? "no acceptable C compiler found in \$PATH
4404See \`config.log' for more details" "$LINENO" 5; }
4405
4406# Provide some information about the compiler.
4407$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4408set X $ac_compile
4409ac_compiler=$2
4410for ac_option in --version -v -V -qversion; do
4411  { { ac_try="$ac_compiler $ac_option >&5"
4412case "(($ac_try" in
4413  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414  *) ac_try_echo=$ac_try;;
4415esac
4416eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417$as_echo "$ac_try_echo"; } >&5
4418  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4419  ac_status=$?
4420  if test -s conftest.err; then
4421    sed '10a\
4422... rest of stderr output deleted ...
4423         10q' conftest.err >conftest.er1
4424    cat conftest.er1 >&5
4425  fi
4426  rm -f conftest.er1 conftest.err
4427  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428  test $ac_status = 0; }
4429done
4430
4431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4432$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4433if ${ac_cv_c_compiler_gnu+:} false; then :
4434  $as_echo_n "(cached) " >&6
4435else
4436  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437/* end confdefs.h.  */
4438
4439int
4440main ()
4441{
4442#ifndef __GNUC__
4443       choke me
4444#endif
4445
4446  ;
4447  return 0;
4448}
4449_ACEOF
4450if ac_fn_c_try_compile "$LINENO"; then :
4451  ac_compiler_gnu=yes
4452else
4453  ac_compiler_gnu=no
4454fi
4455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456ac_cv_c_compiler_gnu=$ac_compiler_gnu
4457
4458fi
4459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4460$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4461if test $ac_compiler_gnu = yes; then
4462  GCC=yes
4463else
4464  GCC=
4465fi
4466ac_test_CFLAGS=${CFLAGS+set}
4467ac_save_CFLAGS=$CFLAGS
4468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4469$as_echo_n "checking whether $CC accepts -g... " >&6; }
4470if ${ac_cv_prog_cc_g+:} false; then :
4471  $as_echo_n "(cached) " >&6
4472else
4473  ac_save_c_werror_flag=$ac_c_werror_flag
4474   ac_c_werror_flag=yes
4475   ac_cv_prog_cc_g=no
4476   CFLAGS="-g"
4477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478/* end confdefs.h.  */
4479
4480int
4481main ()
4482{
4483
4484  ;
4485  return 0;
4486}
4487_ACEOF
4488if ac_fn_c_try_compile "$LINENO"; then :
4489  ac_cv_prog_cc_g=yes
4490else
4491  CFLAGS=""
4492      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493/* end confdefs.h.  */
4494
4495int
4496main ()
4497{
4498
4499  ;
4500  return 0;
4501}
4502_ACEOF
4503if ac_fn_c_try_compile "$LINENO"; then :
4504
4505else
4506  ac_c_werror_flag=$ac_save_c_werror_flag
4507	 CFLAGS="-g"
4508	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509/* end confdefs.h.  */
4510
4511int
4512main ()
4513{
4514
4515  ;
4516  return 0;
4517}
4518_ACEOF
4519if ac_fn_c_try_compile "$LINENO"; then :
4520  ac_cv_prog_cc_g=yes
4521fi
4522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523fi
4524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525fi
4526rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527   ac_c_werror_flag=$ac_save_c_werror_flag
4528fi
4529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4530$as_echo "$ac_cv_prog_cc_g" >&6; }
4531if test "$ac_test_CFLAGS" = set; then
4532  CFLAGS=$ac_save_CFLAGS
4533elif test $ac_cv_prog_cc_g = yes; then
4534  if test "$GCC" = yes; then
4535    CFLAGS="-g -O2"
4536  else
4537    CFLAGS="-g"
4538  fi
4539else
4540  if test "$GCC" = yes; then
4541    CFLAGS="-O2"
4542  else
4543    CFLAGS=
4544  fi
4545fi
4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4547$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4548if ${ac_cv_prog_cc_c89+:} false; then :
4549  $as_echo_n "(cached) " >&6
4550else
4551  ac_cv_prog_cc_c89=no
4552ac_save_CC=$CC
4553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554/* end confdefs.h.  */
4555#include <stdarg.h>
4556#include <stdio.h>
4557struct stat;
4558/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4559struct buf { int x; };
4560FILE * (*rcsopen) (struct buf *, struct stat *, int);
4561static char *e (p, i)
4562     char **p;
4563     int i;
4564{
4565  return p[i];
4566}
4567static char *f (char * (*g) (char **, int), char **p, ...)
4568{
4569  char *s;
4570  va_list v;
4571  va_start (v,p);
4572  s = g (p, va_arg (v,int));
4573  va_end (v);
4574  return s;
4575}
4576
4577/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4578   function prototypes and stuff, but not '\xHH' hex character constants.
4579   These don't provoke an error unfortunately, instead are silently treated
4580   as 'x'.  The following induces an error, until -std is added to get
4581   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4582   array size at least.  It's necessary to write '\x00'==0 to get something
4583   that's true only with -std.  */
4584int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4585
4586/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4587   inside strings and character constants.  */
4588#define FOO(x) 'x'
4589int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4590
4591int test (int i, double x);
4592struct s1 {int (*f) (int a);};
4593struct s2 {int (*f) (double a);};
4594int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4595int argc;
4596char **argv;
4597int
4598main ()
4599{
4600return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4601  ;
4602  return 0;
4603}
4604_ACEOF
4605for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4606	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4607do
4608  CC="$ac_save_CC $ac_arg"
4609  if ac_fn_c_try_compile "$LINENO"; then :
4610  ac_cv_prog_cc_c89=$ac_arg
4611fi
4612rm -f core conftest.err conftest.$ac_objext
4613  test "x$ac_cv_prog_cc_c89" != "xno" && break
4614done
4615rm -f conftest.$ac_ext
4616CC=$ac_save_CC
4617
4618fi
4619# AC_CACHE_VAL
4620case "x$ac_cv_prog_cc_c89" in
4621  x)
4622    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4623$as_echo "none needed" >&6; } ;;
4624  xno)
4625    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4626$as_echo "unsupported" >&6; } ;;
4627  *)
4628    CC="$CC $ac_cv_prog_cc_c89"
4629    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4630$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4631esac
4632if test "x$ac_cv_prog_cc_c89" != xno; then :
4633
4634fi
4635
4636ac_ext=c
4637ac_cpp='$CPP $CPPFLAGS'
4638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4640ac_compiler_gnu=$ac_cv_c_compiler_gnu
4641
4642ac_ext=c
4643ac_cpp='$CPP $CPPFLAGS'
4644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646ac_compiler_gnu=$ac_cv_c_compiler_gnu
4647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4648$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4649if ${am_cv_prog_cc_c_o+:} false; then :
4650  $as_echo_n "(cached) " >&6
4651else
4652  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653/* end confdefs.h.  */
4654
4655int
4656main ()
4657{
4658
4659  ;
4660  return 0;
4661}
4662_ACEOF
4663  # Make sure it works both with $CC and with simple cc.
4664  # Following AC_PROG_CC_C_O, we do the test twice because some
4665  # compilers refuse to overwrite an existing .o file with -o,
4666  # though they will create one.
4667  am_cv_prog_cc_c_o=yes
4668  for am_i in 1 2; do
4669    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4670   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4671   ac_status=$?
4672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673   (exit $ac_status); } \
4674         && test -f conftest2.$ac_objext; then
4675      : OK
4676    else
4677      am_cv_prog_cc_c_o=no
4678      break
4679    fi
4680  done
4681  rm -f core conftest*
4682  unset am_i
4683fi
4684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4685$as_echo "$am_cv_prog_cc_c_o" >&6; }
4686if test "$am_cv_prog_cc_c_o" != yes; then
4687   # Losing compiler, so override with the script.
4688   # FIXME: It is wrong to rewrite CC.
4689   # But if we don't then we get into trouble of one sort or another.
4690   # A longer-term fix would be to have automake use am__CC in this case,
4691   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4692   CC="$am_aux_dir/compile $CC"
4693fi
4694ac_ext=c
4695ac_cpp='$CPP $CPPFLAGS'
4696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698ac_compiler_gnu=$ac_cv_c_compiler_gnu
4699
4700
4701depcc="$CC"   am_compiler_list=
4702
4703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4704$as_echo_n "checking dependency style of $depcc... " >&6; }
4705if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4706  $as_echo_n "(cached) " >&6
4707else
4708  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4709  # We make a subdir and do the tests there.  Otherwise we can end up
4710  # making bogus files that we don't know about and never remove.  For
4711  # instance it was reported that on HP-UX the gcc test will end up
4712  # making a dummy file named 'D' -- because '-MD' means "put the output
4713  # in D".
4714  rm -rf conftest.dir
4715  mkdir conftest.dir
4716  # Copy depcomp to subdir because otherwise we won't find it if we're
4717  # using a relative directory.
4718  cp "$am_depcomp" conftest.dir
4719  cd conftest.dir
4720  # We will build objects and dependencies in a subdirectory because
4721  # it helps to detect inapplicable dependency modes.  For instance
4722  # both Tru64's cc and ICC support -MD to output dependencies as a
4723  # side effect of compilation, but ICC will put the dependencies in
4724  # the current directory while Tru64 will put them in the object
4725  # directory.
4726  mkdir sub
4727
4728  am_cv_CC_dependencies_compiler_type=none
4729  if test "$am_compiler_list" = ""; then
4730     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4731  fi
4732  am__universal=false
4733  case " $depcc " in #(
4734     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4735     esac
4736
4737  for depmode in $am_compiler_list; do
4738    # Setup a source with many dependencies, because some compilers
4739    # like to wrap large dependency lists on column 80 (with \), and
4740    # we should not choose a depcomp mode which is confused by this.
4741    #
4742    # We need to recreate these files for each test, as the compiler may
4743    # overwrite some of them when testing with obscure command lines.
4744    # This happens at least with the AIX C compiler.
4745    : > sub/conftest.c
4746    for i in 1 2 3 4 5 6; do
4747      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4748      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4749      # Solaris 10 /bin/sh.
4750      echo '/* dummy */' > sub/conftst$i.h
4751    done
4752    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4753
4754    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4755    # mode.  It turns out that the SunPro C++ compiler does not properly
4756    # handle '-M -o', and we need to detect this.  Also, some Intel
4757    # versions had trouble with output in subdirs.
4758    am__obj=sub/conftest.${OBJEXT-o}
4759    am__minus_obj="-o $am__obj"
4760    case $depmode in
4761    gcc)
4762      # This depmode causes a compiler race in universal mode.
4763      test "$am__universal" = false || continue
4764      ;;
4765    nosideeffect)
4766      # After this tag, mechanisms are not by side-effect, so they'll
4767      # only be used when explicitly requested.
4768      if test "x$enable_dependency_tracking" = xyes; then
4769	continue
4770      else
4771	break
4772      fi
4773      ;;
4774    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4775      # This compiler won't grok '-c -o', but also, the minuso test has
4776      # not run yet.  These depmodes are late enough in the game, and
4777      # so weak that their functioning should not be impacted.
4778      am__obj=conftest.${OBJEXT-o}
4779      am__minus_obj=
4780      ;;
4781    none) break ;;
4782    esac
4783    if depmode=$depmode \
4784       source=sub/conftest.c object=$am__obj \
4785       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4786       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4787         >/dev/null 2>conftest.err &&
4788       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4789       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4790       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4791       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4792      # icc doesn't choke on unknown options, it will just issue warnings
4793      # or remarks (even with -Werror).  So we grep stderr for any message
4794      # that says an option was ignored or not supported.
4795      # When given -MP, icc 7.0 and 7.1 complain thusly:
4796      #   icc: Command line warning: ignoring option '-M'; no argument required
4797      # The diagnosis changed in icc 8.0:
4798      #   icc: Command line remark: option '-MP' not supported
4799      if (grep 'ignoring option' conftest.err ||
4800          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4801        am_cv_CC_dependencies_compiler_type=$depmode
4802        break
4803      fi
4804    fi
4805  done
4806
4807  cd ..
4808  rm -rf conftest.dir
4809else
4810  am_cv_CC_dependencies_compiler_type=none
4811fi
4812
4813fi
4814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4815$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4816CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4817
4818 if
4819  test "x$enable_dependency_tracking" != xno \
4820  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4821  am__fastdepCC_TRUE=
4822  am__fastdepCC_FALSE='#'
4823else
4824  am__fastdepCC_TRUE='#'
4825  am__fastdepCC_FALSE=
4826fi
4827
4828
4829if test -n "$ac_tool_prefix"; then
4830  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4831set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833$as_echo_n "checking for $ac_word... " >&6; }
4834if ${ac_cv_prog_RANLIB+:} false; then :
4835  $as_echo_n "(cached) " >&6
4836else
4837  if test -n "$RANLIB"; then
4838  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4839else
4840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841for as_dir in $PATH
4842do
4843  IFS=$as_save_IFS
4844  test -z "$as_dir" && as_dir=.
4845    for ac_exec_ext in '' $ac_executable_extensions; do
4846  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849    break 2
4850  fi
4851done
4852  done
4853IFS=$as_save_IFS
4854
4855fi
4856fi
4857RANLIB=$ac_cv_prog_RANLIB
4858if test -n "$RANLIB"; then
4859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4860$as_echo "$RANLIB" >&6; }
4861else
4862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863$as_echo "no" >&6; }
4864fi
4865
4866
4867fi
4868if test -z "$ac_cv_prog_RANLIB"; then
4869  ac_ct_RANLIB=$RANLIB
4870  # Extract the first word of "ranlib", so it can be a program name with args.
4871set dummy ranlib; ac_word=$2
4872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873$as_echo_n "checking for $ac_word... " >&6; }
4874if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4875  $as_echo_n "(cached) " >&6
4876else
4877  if test -n "$ac_ct_RANLIB"; then
4878  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4879else
4880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881for as_dir in $PATH
4882do
4883  IFS=$as_save_IFS
4884  test -z "$as_dir" && as_dir=.
4885    for ac_exec_ext in '' $ac_executable_extensions; do
4886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4887    ac_cv_prog_ac_ct_RANLIB="ranlib"
4888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889    break 2
4890  fi
4891done
4892  done
4893IFS=$as_save_IFS
4894
4895fi
4896fi
4897ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4898if test -n "$ac_ct_RANLIB"; then
4899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4900$as_echo "$ac_ct_RANLIB" >&6; }
4901else
4902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903$as_echo "no" >&6; }
4904fi
4905
4906  if test "x$ac_ct_RANLIB" = x; then
4907    RANLIB=":"
4908  else
4909    case $cross_compiling:$ac_tool_warned in
4910yes:)
4911{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4912$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4913ac_tool_warned=yes ;;
4914esac
4915    RANLIB=$ac_ct_RANLIB
4916  fi
4917else
4918  RANLIB="$ac_cv_prog_RANLIB"
4919fi
4920
4921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4922$as_echo_n "checking whether ln -s works... " >&6; }
4923LN_S=$as_ln_s
4924if test "$LN_S" = "ln -s"; then
4925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926$as_echo "yes" >&6; }
4927else
4928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4929$as_echo "no, using $LN_S" >&6; }
4930fi
4931
4932
4933LUA52VERSION=5.2.4
4934
4935
4936LUA52_LT_VERSINFO=7:4:2
4937
4938
4939case `pwd` in
4940  *\ * | *\	*)
4941    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4942$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4943esac
4944
4945
4946
4947macro_version='2.4.6'
4948macro_revision='2.4.6'
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962ltmain=$ac_aux_dir/ltmain.sh
4963
4964# Make sure we can run config.sub.
4965$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4966  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4967
4968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4969$as_echo_n "checking build system type... " >&6; }
4970if ${ac_cv_build+:} false; then :
4971  $as_echo_n "(cached) " >&6
4972else
4973  ac_build_alias=$build_alias
4974test "x$ac_build_alias" = x &&
4975  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4976test "x$ac_build_alias" = x &&
4977  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4978ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4979  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4980
4981fi
4982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4983$as_echo "$ac_cv_build" >&6; }
4984case $ac_cv_build in
4985*-*-*) ;;
4986*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4987esac
4988build=$ac_cv_build
4989ac_save_IFS=$IFS; IFS='-'
4990set x $ac_cv_build
4991shift
4992build_cpu=$1
4993build_vendor=$2
4994shift; shift
4995# Remember, the first character of IFS is used to create $*,
4996# except with old shells:
4997build_os=$*
4998IFS=$ac_save_IFS
4999case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5000
5001
5002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5003$as_echo_n "checking host system type... " >&6; }
5004if ${ac_cv_host+:} false; then :
5005  $as_echo_n "(cached) " >&6
5006else
5007  if test "x$host_alias" = x; then
5008  ac_cv_host=$ac_cv_build
5009else
5010  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5011    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5012fi
5013
5014fi
5015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5016$as_echo "$ac_cv_host" >&6; }
5017case $ac_cv_host in
5018*-*-*) ;;
5019*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5020esac
5021host=$ac_cv_host
5022ac_save_IFS=$IFS; IFS='-'
5023set x $ac_cv_host
5024shift
5025host_cpu=$1
5026host_vendor=$2
5027shift; shift
5028# Remember, the first character of IFS is used to create $*,
5029# except with old shells:
5030host_os=$*
5031IFS=$ac_save_IFS
5032case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5033
5034
5035# Backslashify metacharacters that are still active within
5036# double-quoted strings.
5037sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5038
5039# Same as above, but do not quote variable references.
5040double_quote_subst='s/\(["`\\]\)/\\\1/g'
5041
5042# Sed substitution to delay expansion of an escaped shell variable in a
5043# double_quote_subst'ed string.
5044delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5045
5046# Sed substitution to delay expansion of an escaped single quote.
5047delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5048
5049# Sed substitution to avoid accidental globbing in evaled expressions
5050no_glob_subst='s/\*/\\\*/g'
5051
5052ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5053ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5054ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5055
5056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5057$as_echo_n "checking how to print strings... " >&6; }
5058# Test print first, because it will be a builtin if present.
5059if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5060   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5061  ECHO='print -r --'
5062elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5063  ECHO='printf %s\n'
5064else
5065  # Use this function as a fallback that always works.
5066  func_fallback_echo ()
5067  {
5068    eval 'cat <<_LTECHO_EOF
5069$1
5070_LTECHO_EOF'
5071  }
5072  ECHO='func_fallback_echo'
5073fi
5074
5075# func_echo_all arg...
5076# Invoke $ECHO with all args, space-separated.
5077func_echo_all ()
5078{
5079    $ECHO ""
5080}
5081
5082case $ECHO in
5083  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5084$as_echo "printf" >&6; } ;;
5085  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5086$as_echo "print -r" >&6; } ;;
5087  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5088$as_echo "cat" >&6; } ;;
5089esac
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5105$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5106if ${ac_cv_path_SED+:} false; then :
5107  $as_echo_n "(cached) " >&6
5108else
5109            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5110     for ac_i in 1 2 3 4 5 6 7; do
5111       ac_script="$ac_script$as_nl$ac_script"
5112     done
5113     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5114     { ac_script=; unset ac_script;}
5115     if test -z "$SED"; then
5116  ac_path_SED_found=false
5117  # Loop through the user's path and test for each of PROGNAME-LIST
5118  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119for as_dir in $PATH
5120do
5121  IFS=$as_save_IFS
5122  test -z "$as_dir" && as_dir=.
5123    for ac_prog in sed gsed; do
5124    for ac_exec_ext in '' $ac_executable_extensions; do
5125      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5126      as_fn_executable_p "$ac_path_SED" || continue
5127# Check for GNU ac_path_SED and select it if it is found.
5128  # Check for GNU $ac_path_SED
5129case `"$ac_path_SED" --version 2>&1` in
5130*GNU*)
5131  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5132*)
5133  ac_count=0
5134  $as_echo_n 0123456789 >"conftest.in"
5135  while :
5136  do
5137    cat "conftest.in" "conftest.in" >"conftest.tmp"
5138    mv "conftest.tmp" "conftest.in"
5139    cp "conftest.in" "conftest.nl"
5140    $as_echo '' >> "conftest.nl"
5141    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5142    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5143    as_fn_arith $ac_count + 1 && ac_count=$as_val
5144    if test $ac_count -gt ${ac_path_SED_max-0}; then
5145      # Best one so far, save it but keep looking for a better one
5146      ac_cv_path_SED="$ac_path_SED"
5147      ac_path_SED_max=$ac_count
5148    fi
5149    # 10*(2^10) chars as input seems more than enough
5150    test $ac_count -gt 10 && break
5151  done
5152  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5153esac
5154
5155      $ac_path_SED_found && break 3
5156    done
5157  done
5158  done
5159IFS=$as_save_IFS
5160  if test -z "$ac_cv_path_SED"; then
5161    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5162  fi
5163else
5164  ac_cv_path_SED=$SED
5165fi
5166
5167fi
5168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5169$as_echo "$ac_cv_path_SED" >&6; }
5170 SED="$ac_cv_path_SED"
5171  rm -f conftest.sed
5172
5173test -z "$SED" && SED=sed
5174Xsed="$SED -e 1s/^X//"
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5187$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5188if ${ac_cv_path_GREP+:} false; then :
5189  $as_echo_n "(cached) " >&6
5190else
5191  if test -z "$GREP"; then
5192  ac_path_GREP_found=false
5193  # Loop through the user's path and test for each of PROGNAME-LIST
5194  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5196do
5197  IFS=$as_save_IFS
5198  test -z "$as_dir" && as_dir=.
5199    for ac_prog in grep ggrep; do
5200    for ac_exec_ext in '' $ac_executable_extensions; do
5201      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5202      as_fn_executable_p "$ac_path_GREP" || continue
5203# Check for GNU ac_path_GREP and select it if it is found.
5204  # Check for GNU $ac_path_GREP
5205case `"$ac_path_GREP" --version 2>&1` in
5206*GNU*)
5207  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5208*)
5209  ac_count=0
5210  $as_echo_n 0123456789 >"conftest.in"
5211  while :
5212  do
5213    cat "conftest.in" "conftest.in" >"conftest.tmp"
5214    mv "conftest.tmp" "conftest.in"
5215    cp "conftest.in" "conftest.nl"
5216    $as_echo 'GREP' >> "conftest.nl"
5217    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5218    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5219    as_fn_arith $ac_count + 1 && ac_count=$as_val
5220    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5221      # Best one so far, save it but keep looking for a better one
5222      ac_cv_path_GREP="$ac_path_GREP"
5223      ac_path_GREP_max=$ac_count
5224    fi
5225    # 10*(2^10) chars as input seems more than enough
5226    test $ac_count -gt 10 && break
5227  done
5228  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5229esac
5230
5231      $ac_path_GREP_found && break 3
5232    done
5233  done
5234  done
5235IFS=$as_save_IFS
5236  if test -z "$ac_cv_path_GREP"; then
5237    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5238  fi
5239else
5240  ac_cv_path_GREP=$GREP
5241fi
5242
5243fi
5244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5245$as_echo "$ac_cv_path_GREP" >&6; }
5246 GREP="$ac_cv_path_GREP"
5247
5248
5249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5250$as_echo_n "checking for egrep... " >&6; }
5251if ${ac_cv_path_EGREP+:} false; then :
5252  $as_echo_n "(cached) " >&6
5253else
5254  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5255   then ac_cv_path_EGREP="$GREP -E"
5256   else
5257     if test -z "$EGREP"; then
5258  ac_path_EGREP_found=false
5259  # Loop through the user's path and test for each of PROGNAME-LIST
5260  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5262do
5263  IFS=$as_save_IFS
5264  test -z "$as_dir" && as_dir=.
5265    for ac_prog in egrep; do
5266    for ac_exec_ext in '' $ac_executable_extensions; do
5267      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5268      as_fn_executable_p "$ac_path_EGREP" || continue
5269# Check for GNU ac_path_EGREP and select it if it is found.
5270  # Check for GNU $ac_path_EGREP
5271case `"$ac_path_EGREP" --version 2>&1` in
5272*GNU*)
5273  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5274*)
5275  ac_count=0
5276  $as_echo_n 0123456789 >"conftest.in"
5277  while :
5278  do
5279    cat "conftest.in" "conftest.in" >"conftest.tmp"
5280    mv "conftest.tmp" "conftest.in"
5281    cp "conftest.in" "conftest.nl"
5282    $as_echo 'EGREP' >> "conftest.nl"
5283    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5284    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5285    as_fn_arith $ac_count + 1 && ac_count=$as_val
5286    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5287      # Best one so far, save it but keep looking for a better one
5288      ac_cv_path_EGREP="$ac_path_EGREP"
5289      ac_path_EGREP_max=$ac_count
5290    fi
5291    # 10*(2^10) chars as input seems more than enough
5292    test $ac_count -gt 10 && break
5293  done
5294  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5295esac
5296
5297      $ac_path_EGREP_found && break 3
5298    done
5299  done
5300  done
5301IFS=$as_save_IFS
5302  if test -z "$ac_cv_path_EGREP"; then
5303    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5304  fi
5305else
5306  ac_cv_path_EGREP=$EGREP
5307fi
5308
5309   fi
5310fi
5311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5312$as_echo "$ac_cv_path_EGREP" >&6; }
5313 EGREP="$ac_cv_path_EGREP"
5314
5315
5316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5317$as_echo_n "checking for fgrep... " >&6; }
5318if ${ac_cv_path_FGREP+:} false; then :
5319  $as_echo_n "(cached) " >&6
5320else
5321  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5322   then ac_cv_path_FGREP="$GREP -F"
5323   else
5324     if test -z "$FGREP"; then
5325  ac_path_FGREP_found=false
5326  # Loop through the user's path and test for each of PROGNAME-LIST
5327  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5329do
5330  IFS=$as_save_IFS
5331  test -z "$as_dir" && as_dir=.
5332    for ac_prog in fgrep; do
5333    for ac_exec_ext in '' $ac_executable_extensions; do
5334      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5335      as_fn_executable_p "$ac_path_FGREP" || continue
5336# Check for GNU ac_path_FGREP and select it if it is found.
5337  # Check for GNU $ac_path_FGREP
5338case `"$ac_path_FGREP" --version 2>&1` in
5339*GNU*)
5340  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5341*)
5342  ac_count=0
5343  $as_echo_n 0123456789 >"conftest.in"
5344  while :
5345  do
5346    cat "conftest.in" "conftest.in" >"conftest.tmp"
5347    mv "conftest.tmp" "conftest.in"
5348    cp "conftest.in" "conftest.nl"
5349    $as_echo 'FGREP' >> "conftest.nl"
5350    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5351    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5352    as_fn_arith $ac_count + 1 && ac_count=$as_val
5353    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5354      # Best one so far, save it but keep looking for a better one
5355      ac_cv_path_FGREP="$ac_path_FGREP"
5356      ac_path_FGREP_max=$ac_count
5357    fi
5358    # 10*(2^10) chars as input seems more than enough
5359    test $ac_count -gt 10 && break
5360  done
5361  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5362esac
5363
5364      $ac_path_FGREP_found && break 3
5365    done
5366  done
5367  done
5368IFS=$as_save_IFS
5369  if test -z "$ac_cv_path_FGREP"; then
5370    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5371  fi
5372else
5373  ac_cv_path_FGREP=$FGREP
5374fi
5375
5376   fi
5377fi
5378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5379$as_echo "$ac_cv_path_FGREP" >&6; }
5380 FGREP="$ac_cv_path_FGREP"
5381
5382
5383test -z "$GREP" && GREP=grep
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403# Check whether --with-gnu-ld was given.
5404if test "${with_gnu_ld+set}" = set; then :
5405  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5406else
5407  with_gnu_ld=no
5408fi
5409
5410ac_prog=ld
5411if test yes = "$GCC"; then
5412  # Check if gcc -print-prog-name=ld gives a path.
5413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5414$as_echo_n "checking for ld used by $CC... " >&6; }
5415  case $host in
5416  *-*-mingw*)
5417    # gcc leaves a trailing carriage return, which upsets mingw
5418    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5419  *)
5420    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5421  esac
5422  case $ac_prog in
5423    # Accept absolute paths.
5424    [\\/]* | ?:[\\/]*)
5425      re_direlt='/[^/][^/]*/\.\./'
5426      # Canonicalize the pathname of ld
5427      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5428      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5429	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5430      done
5431      test -z "$LD" && LD=$ac_prog
5432      ;;
5433  "")
5434    # If it fails, then pretend we aren't using GCC.
5435    ac_prog=ld
5436    ;;
5437  *)
5438    # If it is relative, then search for the first ld in PATH.
5439    with_gnu_ld=unknown
5440    ;;
5441  esac
5442elif test yes = "$with_gnu_ld"; then
5443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5444$as_echo_n "checking for GNU ld... " >&6; }
5445else
5446  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5447$as_echo_n "checking for non-GNU ld... " >&6; }
5448fi
5449if ${lt_cv_path_LD+:} false; then :
5450  $as_echo_n "(cached) " >&6
5451else
5452  if test -z "$LD"; then
5453  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5454  for ac_dir in $PATH; do
5455    IFS=$lt_save_ifs
5456    test -z "$ac_dir" && ac_dir=.
5457    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5458      lt_cv_path_LD=$ac_dir/$ac_prog
5459      # Check to see if the program is GNU ld.  I'd rather use --version,
5460      # but apparently some variants of GNU ld only accept -v.
5461      # Break only if it was the GNU/non-GNU ld that we prefer.
5462      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5463      *GNU* | *'with BFD'*)
5464	test no != "$with_gnu_ld" && break
5465	;;
5466      *)
5467	test yes != "$with_gnu_ld" && break
5468	;;
5469      esac
5470    fi
5471  done
5472  IFS=$lt_save_ifs
5473else
5474  lt_cv_path_LD=$LD # Let the user override the test with a path.
5475fi
5476fi
5477
5478LD=$lt_cv_path_LD
5479if test -n "$LD"; then
5480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5481$as_echo "$LD" >&6; }
5482else
5483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484$as_echo "no" >&6; }
5485fi
5486test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5488$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5489if ${lt_cv_prog_gnu_ld+:} false; then :
5490  $as_echo_n "(cached) " >&6
5491else
5492  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5493case `$LD -v 2>&1 </dev/null` in
5494*GNU* | *'with BFD'*)
5495  lt_cv_prog_gnu_ld=yes
5496  ;;
5497*)
5498  lt_cv_prog_gnu_ld=no
5499  ;;
5500esac
5501fi
5502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5503$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5504with_gnu_ld=$lt_cv_prog_gnu_ld
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5515$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5516if ${lt_cv_path_NM+:} false; then :
5517  $as_echo_n "(cached) " >&6
5518else
5519  if test -n "$NM"; then
5520  # Let the user override the test.
5521  lt_cv_path_NM=$NM
5522else
5523  lt_nm_to_check=${ac_tool_prefix}nm
5524  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5525    lt_nm_to_check="$lt_nm_to_check nm"
5526  fi
5527  for lt_tmp_nm in $lt_nm_to_check; do
5528    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5529    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5530      IFS=$lt_save_ifs
5531      test -z "$ac_dir" && ac_dir=.
5532      tmp_nm=$ac_dir/$lt_tmp_nm
5533      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5534	# Check to see if the nm accepts a BSD-compat flag.
5535	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5536	#   nm: unknown option "B" ignored
5537	# Tru64's nm complains that /dev/null is an invalid object file
5538	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5539	case $build_os in
5540	mingw*) lt_bad_file=conftest.nm/nofile ;;
5541	*) lt_bad_file=/dev/null ;;
5542	esac
5543	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5544	*$lt_bad_file* | *'Invalid file or object type'*)
5545	  lt_cv_path_NM="$tmp_nm -B"
5546	  break 2
5547	  ;;
5548	*)
5549	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5550	  */dev/null*)
5551	    lt_cv_path_NM="$tmp_nm -p"
5552	    break 2
5553	    ;;
5554	  *)
5555	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5556	    continue # so that we can try to find one that supports BSD flags
5557	    ;;
5558	  esac
5559	  ;;
5560	esac
5561      fi
5562    done
5563    IFS=$lt_save_ifs
5564  done
5565  : ${lt_cv_path_NM=no}
5566fi
5567fi
5568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5569$as_echo "$lt_cv_path_NM" >&6; }
5570if test no != "$lt_cv_path_NM"; then
5571  NM=$lt_cv_path_NM
5572else
5573  # Didn't find any BSD compatible name lister, look for dumpbin.
5574  if test -n "$DUMPBIN"; then :
5575    # Let the user override the test.
5576  else
5577    if test -n "$ac_tool_prefix"; then
5578  for ac_prog in dumpbin "link -dump"
5579  do
5580    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5581set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583$as_echo_n "checking for $ac_word... " >&6; }
5584if ${ac_cv_prog_DUMPBIN+:} false; then :
5585  $as_echo_n "(cached) " >&6
5586else
5587  if test -n "$DUMPBIN"; then
5588  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5589else
5590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591for as_dir in $PATH
5592do
5593  IFS=$as_save_IFS
5594  test -z "$as_dir" && as_dir=.
5595    for ac_exec_ext in '' $ac_executable_extensions; do
5596  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5598    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599    break 2
5600  fi
5601done
5602  done
5603IFS=$as_save_IFS
5604
5605fi
5606fi
5607DUMPBIN=$ac_cv_prog_DUMPBIN
5608if test -n "$DUMPBIN"; then
5609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5610$as_echo "$DUMPBIN" >&6; }
5611else
5612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613$as_echo "no" >&6; }
5614fi
5615
5616
5617    test -n "$DUMPBIN" && break
5618  done
5619fi
5620if test -z "$DUMPBIN"; then
5621  ac_ct_DUMPBIN=$DUMPBIN
5622  for ac_prog in dumpbin "link -dump"
5623do
5624  # Extract the first word of "$ac_prog", so it can be a program name with args.
5625set dummy $ac_prog; ac_word=$2
5626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5627$as_echo_n "checking for $ac_word... " >&6; }
5628if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5629  $as_echo_n "(cached) " >&6
5630else
5631  if test -n "$ac_ct_DUMPBIN"; then
5632  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5633else
5634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635for as_dir in $PATH
5636do
5637  IFS=$as_save_IFS
5638  test -z "$as_dir" && as_dir=.
5639    for ac_exec_ext in '' $ac_executable_extensions; do
5640  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5641    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5642    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5643    break 2
5644  fi
5645done
5646  done
5647IFS=$as_save_IFS
5648
5649fi
5650fi
5651ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5652if test -n "$ac_ct_DUMPBIN"; then
5653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5654$as_echo "$ac_ct_DUMPBIN" >&6; }
5655else
5656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5657$as_echo "no" >&6; }
5658fi
5659
5660
5661  test -n "$ac_ct_DUMPBIN" && break
5662done
5663
5664  if test "x$ac_ct_DUMPBIN" = x; then
5665    DUMPBIN=":"
5666  else
5667    case $cross_compiling:$ac_tool_warned in
5668yes:)
5669{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5670$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5671ac_tool_warned=yes ;;
5672esac
5673    DUMPBIN=$ac_ct_DUMPBIN
5674  fi
5675fi
5676
5677    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5678    *COFF*)
5679      DUMPBIN="$DUMPBIN -symbols -headers"
5680      ;;
5681    *)
5682      DUMPBIN=:
5683      ;;
5684    esac
5685  fi
5686
5687  if test : != "$DUMPBIN"; then
5688    NM=$DUMPBIN
5689  fi
5690fi
5691test -z "$NM" && NM=nm
5692
5693
5694
5695
5696
5697
5698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5699$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5700if ${lt_cv_nm_interface+:} false; then :
5701  $as_echo_n "(cached) " >&6
5702else
5703  lt_cv_nm_interface="BSD nm"
5704  echo "int some_variable = 0;" > conftest.$ac_ext
5705  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5706  (eval "$ac_compile" 2>conftest.err)
5707  cat conftest.err >&5
5708  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5709  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5710  cat conftest.err >&5
5711  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5712  cat conftest.out >&5
5713  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5714    lt_cv_nm_interface="MS dumpbin"
5715  fi
5716  rm -f conftest*
5717fi
5718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5719$as_echo "$lt_cv_nm_interface" >&6; }
5720
5721# find the maximum length of command line arguments
5722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5723$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5724if ${lt_cv_sys_max_cmd_len+:} false; then :
5725  $as_echo_n "(cached) " >&6
5726else
5727    i=0
5728  teststring=ABCD
5729
5730  case $build_os in
5731  msdosdjgpp*)
5732    # On DJGPP, this test can blow up pretty badly due to problems in libc
5733    # (any single argument exceeding 2000 bytes causes a buffer overrun
5734    # during glob expansion).  Even if it were fixed, the result of this
5735    # check would be larger than it should be.
5736    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5737    ;;
5738
5739  gnu*)
5740    # Under GNU Hurd, this test is not required because there is
5741    # no limit to the length of command line arguments.
5742    # Libtool will interpret -1 as no limit whatsoever
5743    lt_cv_sys_max_cmd_len=-1;
5744    ;;
5745
5746  cygwin* | mingw* | cegcc*)
5747    # On Win9x/ME, this test blows up -- it succeeds, but takes
5748    # about 5 minutes as the teststring grows exponentially.
5749    # Worse, since 9x/ME are not pre-emptively multitasking,
5750    # you end up with a "frozen" computer, even though with patience
5751    # the test eventually succeeds (with a max line length of 256k).
5752    # Instead, let's just punt: use the minimum linelength reported by
5753    # all of the supported platforms: 8192 (on NT/2K/XP).
5754    lt_cv_sys_max_cmd_len=8192;
5755    ;;
5756
5757  mint*)
5758    # On MiNT this can take a long time and run out of memory.
5759    lt_cv_sys_max_cmd_len=8192;
5760    ;;
5761
5762  amigaos*)
5763    # On AmigaOS with pdksh, this test takes hours, literally.
5764    # So we just punt and use a minimum line length of 8192.
5765    lt_cv_sys_max_cmd_len=8192;
5766    ;;
5767
5768  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5769    # This has been around since 386BSD, at least.  Likely further.
5770    if test -x /sbin/sysctl; then
5771      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5772    elif test -x /usr/sbin/sysctl; then
5773      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5774    else
5775      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5776    fi
5777    # And add a safety zone
5778    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5779    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5780    ;;
5781
5782  interix*)
5783    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5784    lt_cv_sys_max_cmd_len=196608
5785    ;;
5786
5787  os2*)
5788    # The test takes a long time on OS/2.
5789    lt_cv_sys_max_cmd_len=8192
5790    ;;
5791
5792  osf*)
5793    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5794    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5795    # nice to cause kernel panics so lets avoid the loop below.
5796    # First set a reasonable default.
5797    lt_cv_sys_max_cmd_len=16384
5798    #
5799    if test -x /sbin/sysconfig; then
5800      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5801        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5802      esac
5803    fi
5804    ;;
5805  sco3.2v5*)
5806    lt_cv_sys_max_cmd_len=102400
5807    ;;
5808  sysv5* | sco5v6* | sysv4.2uw2*)
5809    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5810    if test -n "$kargmax"; then
5811      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5812    else
5813      lt_cv_sys_max_cmd_len=32768
5814    fi
5815    ;;
5816  *)
5817    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5818    if test -n "$lt_cv_sys_max_cmd_len" && \
5819       test undefined != "$lt_cv_sys_max_cmd_len"; then
5820      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5821      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5822    else
5823      # Make teststring a little bigger before we do anything with it.
5824      # a 1K string should be a reasonable start.
5825      for i in 1 2 3 4 5 6 7 8; do
5826        teststring=$teststring$teststring
5827      done
5828      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5829      # If test is not a shell built-in, we'll probably end up computing a
5830      # maximum length that is only half of the actual maximum length, but
5831      # we can't tell.
5832      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5833	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5834	      test 17 != "$i" # 1/2 MB should be enough
5835      do
5836        i=`expr $i + 1`
5837        teststring=$teststring$teststring
5838      done
5839      # Only check the string length outside the loop.
5840      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5841      teststring=
5842      # Add a significant safety factor because C++ compilers can tack on
5843      # massive amounts of additional arguments before passing them to the
5844      # linker.  It appears as though 1/2 is a usable value.
5845      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5846    fi
5847    ;;
5848  esac
5849
5850fi
5851
5852if test -n "$lt_cv_sys_max_cmd_len"; then
5853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5854$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5855else
5856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5857$as_echo "none" >&6; }
5858fi
5859max_cmd_len=$lt_cv_sys_max_cmd_len
5860
5861
5862
5863
5864
5865
5866: ${CP="cp -f"}
5867: ${MV="mv -f"}
5868: ${RM="rm -f"}
5869
5870if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5871  lt_unset=unset
5872else
5873  lt_unset=false
5874fi
5875
5876
5877
5878
5879
5880# test EBCDIC or ASCII
5881case `echo X|tr X '\101'` in
5882 A) # ASCII based system
5883    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5884  lt_SP2NL='tr \040 \012'
5885  lt_NL2SP='tr \015\012 \040\040'
5886  ;;
5887 *) # EBCDIC based system
5888  lt_SP2NL='tr \100 \n'
5889  lt_NL2SP='tr \r\n \100\100'
5890  ;;
5891esac
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5902$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5903if ${lt_cv_to_host_file_cmd+:} false; then :
5904  $as_echo_n "(cached) " >&6
5905else
5906  case $host in
5907  *-*-mingw* )
5908    case $build in
5909      *-*-mingw* ) # actually msys
5910        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5911        ;;
5912      *-*-cygwin* )
5913        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5914        ;;
5915      * ) # otherwise, assume *nix
5916        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5917        ;;
5918    esac
5919    ;;
5920  *-*-cygwin* )
5921    case $build in
5922      *-*-mingw* ) # actually msys
5923        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5924        ;;
5925      *-*-cygwin* )
5926        lt_cv_to_host_file_cmd=func_convert_file_noop
5927        ;;
5928      * ) # otherwise, assume *nix
5929        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5930        ;;
5931    esac
5932    ;;
5933  * ) # unhandled hosts (and "normal" native builds)
5934    lt_cv_to_host_file_cmd=func_convert_file_noop
5935    ;;
5936esac
5937
5938fi
5939
5940to_host_file_cmd=$lt_cv_to_host_file_cmd
5941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5942$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5943
5944
5945
5946
5947
5948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5949$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5950if ${lt_cv_to_tool_file_cmd+:} false; then :
5951  $as_echo_n "(cached) " >&6
5952else
5953  #assume ordinary cross tools, or native build.
5954lt_cv_to_tool_file_cmd=func_convert_file_noop
5955case $host in
5956  *-*-mingw* )
5957    case $build in
5958      *-*-mingw* ) # actually msys
5959        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5960        ;;
5961    esac
5962    ;;
5963esac
5964
5965fi
5966
5967to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5969$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5970
5971
5972
5973
5974
5975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5976$as_echo_n "checking for $LD option to reload object files... " >&6; }
5977if ${lt_cv_ld_reload_flag+:} false; then :
5978  $as_echo_n "(cached) " >&6
5979else
5980  lt_cv_ld_reload_flag='-r'
5981fi
5982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5983$as_echo "$lt_cv_ld_reload_flag" >&6; }
5984reload_flag=$lt_cv_ld_reload_flag
5985case $reload_flag in
5986"" | " "*) ;;
5987*) reload_flag=" $reload_flag" ;;
5988esac
5989reload_cmds='$LD$reload_flag -o $output$reload_objs'
5990case $host_os in
5991  cygwin* | mingw* | pw32* | cegcc*)
5992    if test yes != "$GCC"; then
5993      reload_cmds=false
5994    fi
5995    ;;
5996  darwin*)
5997    if test yes = "$GCC"; then
5998      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5999    else
6000      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6001    fi
6002    ;;
6003esac
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013if test -n "$ac_tool_prefix"; then
6014  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6015set dummy ${ac_tool_prefix}objdump; ac_word=$2
6016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017$as_echo_n "checking for $ac_word... " >&6; }
6018if ${ac_cv_prog_OBJDUMP+:} false; then :
6019  $as_echo_n "(cached) " >&6
6020else
6021  if test -n "$OBJDUMP"; then
6022  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6023else
6024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025for as_dir in $PATH
6026do
6027  IFS=$as_save_IFS
6028  test -z "$as_dir" && as_dir=.
6029    for ac_exec_ext in '' $ac_executable_extensions; do
6030  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033    break 2
6034  fi
6035done
6036  done
6037IFS=$as_save_IFS
6038
6039fi
6040fi
6041OBJDUMP=$ac_cv_prog_OBJDUMP
6042if test -n "$OBJDUMP"; then
6043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6044$as_echo "$OBJDUMP" >&6; }
6045else
6046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047$as_echo "no" >&6; }
6048fi
6049
6050
6051fi
6052if test -z "$ac_cv_prog_OBJDUMP"; then
6053  ac_ct_OBJDUMP=$OBJDUMP
6054  # Extract the first word of "objdump", so it can be a program name with args.
6055set dummy objdump; ac_word=$2
6056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057$as_echo_n "checking for $ac_word... " >&6; }
6058if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6059  $as_echo_n "(cached) " >&6
6060else
6061  if test -n "$ac_ct_OBJDUMP"; then
6062  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6063else
6064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065for as_dir in $PATH
6066do
6067  IFS=$as_save_IFS
6068  test -z "$as_dir" && as_dir=.
6069    for ac_exec_ext in '' $ac_executable_extensions; do
6070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073    break 2
6074  fi
6075done
6076  done
6077IFS=$as_save_IFS
6078
6079fi
6080fi
6081ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6082if test -n "$ac_ct_OBJDUMP"; then
6083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6084$as_echo "$ac_ct_OBJDUMP" >&6; }
6085else
6086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087$as_echo "no" >&6; }
6088fi
6089
6090  if test "x$ac_ct_OBJDUMP" = x; then
6091    OBJDUMP="false"
6092  else
6093    case $cross_compiling:$ac_tool_warned in
6094yes:)
6095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6097ac_tool_warned=yes ;;
6098esac
6099    OBJDUMP=$ac_ct_OBJDUMP
6100  fi
6101else
6102  OBJDUMP="$ac_cv_prog_OBJDUMP"
6103fi
6104
6105test -z "$OBJDUMP" && OBJDUMP=objdump
6106
6107
6108
6109
6110
6111
6112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6113$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6114if ${lt_cv_deplibs_check_method+:} false; then :
6115  $as_echo_n "(cached) " >&6
6116else
6117  lt_cv_file_magic_cmd='$MAGIC_CMD'
6118lt_cv_file_magic_test_file=
6119lt_cv_deplibs_check_method='unknown'
6120# Need to set the preceding variable on all platforms that support
6121# interlibrary dependencies.
6122# 'none' -- dependencies not supported.
6123# 'unknown' -- same as none, but documents that we really don't know.
6124# 'pass_all' -- all dependencies passed with no checks.
6125# 'test_compile' -- check by making test program.
6126# 'file_magic [[regex]]' -- check by looking for files in library path
6127# that responds to the $file_magic_cmd with a given extended regex.
6128# If you have 'file' or equivalent on your system and you're not sure
6129# whether 'pass_all' will *always* work, you probably want this one.
6130
6131case $host_os in
6132aix[4-9]*)
6133  lt_cv_deplibs_check_method=pass_all
6134  ;;
6135
6136beos*)
6137  lt_cv_deplibs_check_method=pass_all
6138  ;;
6139
6140bsdi[45]*)
6141  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6142  lt_cv_file_magic_cmd='/usr/bin/file -L'
6143  lt_cv_file_magic_test_file=/shlib/libc.so
6144  ;;
6145
6146cygwin*)
6147  # func_win32_libid is a shell function defined in ltmain.sh
6148  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6149  lt_cv_file_magic_cmd='func_win32_libid'
6150  ;;
6151
6152mingw* | pw32*)
6153  # Base MSYS/MinGW do not provide the 'file' command needed by
6154  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6155  # unless we find 'file', for example because we are cross-compiling.
6156  if ( file / ) >/dev/null 2>&1; then
6157    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6158    lt_cv_file_magic_cmd='func_win32_libid'
6159  else
6160    # Keep this pattern in sync with the one in func_win32_libid.
6161    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6162    lt_cv_file_magic_cmd='$OBJDUMP -f'
6163  fi
6164  ;;
6165
6166cegcc*)
6167  # use the weaker test based on 'objdump'. See mingw*.
6168  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6169  lt_cv_file_magic_cmd='$OBJDUMP -f'
6170  ;;
6171
6172darwin* | rhapsody*)
6173  lt_cv_deplibs_check_method=pass_all
6174  ;;
6175
6176freebsd* | dragonfly*)
6177  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6178    case $host_cpu in
6179    i*86 )
6180      # Not sure whether the presence of OpenBSD here was a mistake.
6181      # Let's accept both of them until this is cleared up.
6182      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6183      lt_cv_file_magic_cmd=/usr/bin/file
6184      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6185      ;;
6186    esac
6187  else
6188    lt_cv_deplibs_check_method=pass_all
6189  fi
6190  ;;
6191
6192haiku*)
6193  lt_cv_deplibs_check_method=pass_all
6194  ;;
6195
6196hpux10.20* | hpux11*)
6197  lt_cv_file_magic_cmd=/usr/bin/file
6198  case $host_cpu in
6199  ia64*)
6200    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6201    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6202    ;;
6203  hppa*64*)
6204    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]'
6205    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6206    ;;
6207  *)
6208    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6209    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6210    ;;
6211  esac
6212  ;;
6213
6214interix[3-9]*)
6215  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6216  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6217  ;;
6218
6219irix5* | irix6* | nonstopux*)
6220  case $LD in
6221  *-32|*"-32 ") libmagic=32-bit;;
6222  *-n32|*"-n32 ") libmagic=N32;;
6223  *-64|*"-64 ") libmagic=64-bit;;
6224  *) libmagic=never-match;;
6225  esac
6226  lt_cv_deplibs_check_method=pass_all
6227  ;;
6228
6229# This must be glibc/ELF.
6230linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6231  lt_cv_deplibs_check_method=pass_all
6232  ;;
6233
6234netbsd*)
6235  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6236    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6237  else
6238    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6239  fi
6240  ;;
6241
6242newos6*)
6243  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6244  lt_cv_file_magic_cmd=/usr/bin/file
6245  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6246  ;;
6247
6248*nto* | *qnx*)
6249  lt_cv_deplibs_check_method=pass_all
6250  ;;
6251
6252openbsd* | bitrig*)
6253  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6254    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6255  else
6256    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6257  fi
6258  ;;
6259
6260osf3* | osf4* | osf5*)
6261  lt_cv_deplibs_check_method=pass_all
6262  ;;
6263
6264rdos*)
6265  lt_cv_deplibs_check_method=pass_all
6266  ;;
6267
6268solaris*)
6269  lt_cv_deplibs_check_method=pass_all
6270  ;;
6271
6272sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6273  lt_cv_deplibs_check_method=pass_all
6274  ;;
6275
6276sysv4 | sysv4.3*)
6277  case $host_vendor in
6278  motorola)
6279    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]'
6280    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6281    ;;
6282  ncr)
6283    lt_cv_deplibs_check_method=pass_all
6284    ;;
6285  sequent)
6286    lt_cv_file_magic_cmd='/bin/file'
6287    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6288    ;;
6289  sni)
6290    lt_cv_file_magic_cmd='/bin/file'
6291    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6292    lt_cv_file_magic_test_file=/lib/libc.so
6293    ;;
6294  siemens)
6295    lt_cv_deplibs_check_method=pass_all
6296    ;;
6297  pc)
6298    lt_cv_deplibs_check_method=pass_all
6299    ;;
6300  esac
6301  ;;
6302
6303tpf*)
6304  lt_cv_deplibs_check_method=pass_all
6305  ;;
6306os2*)
6307  lt_cv_deplibs_check_method=pass_all
6308  ;;
6309esac
6310
6311fi
6312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6313$as_echo "$lt_cv_deplibs_check_method" >&6; }
6314
6315file_magic_glob=
6316want_nocaseglob=no
6317if test "$build" = "$host"; then
6318  case $host_os in
6319  mingw* | pw32*)
6320    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6321      want_nocaseglob=yes
6322    else
6323      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6324    fi
6325    ;;
6326  esac
6327fi
6328
6329file_magic_cmd=$lt_cv_file_magic_cmd
6330deplibs_check_method=$lt_cv_deplibs_check_method
6331test -z "$deplibs_check_method" && deplibs_check_method=unknown
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354if test -n "$ac_tool_prefix"; then
6355  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6356set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6358$as_echo_n "checking for $ac_word... " >&6; }
6359if ${ac_cv_prog_DLLTOOL+:} false; then :
6360  $as_echo_n "(cached) " >&6
6361else
6362  if test -n "$DLLTOOL"; then
6363  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6364else
6365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366for as_dir in $PATH
6367do
6368  IFS=$as_save_IFS
6369  test -z "$as_dir" && as_dir=.
6370    for ac_exec_ext in '' $ac_executable_extensions; do
6371  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6372    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6373    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374    break 2
6375  fi
6376done
6377  done
6378IFS=$as_save_IFS
6379
6380fi
6381fi
6382DLLTOOL=$ac_cv_prog_DLLTOOL
6383if test -n "$DLLTOOL"; then
6384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6385$as_echo "$DLLTOOL" >&6; }
6386else
6387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6388$as_echo "no" >&6; }
6389fi
6390
6391
6392fi
6393if test -z "$ac_cv_prog_DLLTOOL"; then
6394  ac_ct_DLLTOOL=$DLLTOOL
6395  # Extract the first word of "dlltool", so it can be a program name with args.
6396set dummy dlltool; ac_word=$2
6397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398$as_echo_n "checking for $ac_word... " >&6; }
6399if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6400  $as_echo_n "(cached) " >&6
6401else
6402  if test -n "$ac_ct_DLLTOOL"; then
6403  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6404else
6405as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406for as_dir in $PATH
6407do
6408  IFS=$as_save_IFS
6409  test -z "$as_dir" && as_dir=.
6410    for ac_exec_ext in '' $ac_executable_extensions; do
6411  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6412    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414    break 2
6415  fi
6416done
6417  done
6418IFS=$as_save_IFS
6419
6420fi
6421fi
6422ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6423if test -n "$ac_ct_DLLTOOL"; then
6424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6425$as_echo "$ac_ct_DLLTOOL" >&6; }
6426else
6427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428$as_echo "no" >&6; }
6429fi
6430
6431  if test "x$ac_ct_DLLTOOL" = x; then
6432    DLLTOOL="false"
6433  else
6434    case $cross_compiling:$ac_tool_warned in
6435yes:)
6436{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6437$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6438ac_tool_warned=yes ;;
6439esac
6440    DLLTOOL=$ac_ct_DLLTOOL
6441  fi
6442else
6443  DLLTOOL="$ac_cv_prog_DLLTOOL"
6444fi
6445
6446test -z "$DLLTOOL" && DLLTOOL=dlltool
6447
6448
6449
6450
6451
6452
6453
6454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6455$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6456if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6457  $as_echo_n "(cached) " >&6
6458else
6459  lt_cv_sharedlib_from_linklib_cmd='unknown'
6460
6461case $host_os in
6462cygwin* | mingw* | pw32* | cegcc*)
6463  # two different shell functions defined in ltmain.sh;
6464  # decide which one to use based on capabilities of $DLLTOOL
6465  case `$DLLTOOL --help 2>&1` in
6466  *--identify-strict*)
6467    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6468    ;;
6469  *)
6470    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6471    ;;
6472  esac
6473  ;;
6474*)
6475  # fallback: assume linklib IS sharedlib
6476  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6477  ;;
6478esac
6479
6480fi
6481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6482$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6483sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6484test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6485
6486
6487
6488
6489
6490
6491
6492if test -n "$ac_tool_prefix"; then
6493  for ac_prog in ar
6494  do
6495    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6496set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498$as_echo_n "checking for $ac_word... " >&6; }
6499if ${ac_cv_prog_AR+:} false; then :
6500  $as_echo_n "(cached) " >&6
6501else
6502  if test -n "$AR"; then
6503  ac_cv_prog_AR="$AR" # Let the user override the test.
6504else
6505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506for as_dir in $PATH
6507do
6508  IFS=$as_save_IFS
6509  test -z "$as_dir" && as_dir=.
6510    for ac_exec_ext in '' $ac_executable_extensions; do
6511  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6512    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6513    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6514    break 2
6515  fi
6516done
6517  done
6518IFS=$as_save_IFS
6519
6520fi
6521fi
6522AR=$ac_cv_prog_AR
6523if test -n "$AR"; then
6524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6525$as_echo "$AR" >&6; }
6526else
6527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6528$as_echo "no" >&6; }
6529fi
6530
6531
6532    test -n "$AR" && break
6533  done
6534fi
6535if test -z "$AR"; then
6536  ac_ct_AR=$AR
6537  for ac_prog in ar
6538do
6539  # Extract the first word of "$ac_prog", so it can be a program name with args.
6540set dummy $ac_prog; ac_word=$2
6541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542$as_echo_n "checking for $ac_word... " >&6; }
6543if ${ac_cv_prog_ac_ct_AR+:} false; then :
6544  $as_echo_n "(cached) " >&6
6545else
6546  if test -n "$ac_ct_AR"; then
6547  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6548else
6549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550for as_dir in $PATH
6551do
6552  IFS=$as_save_IFS
6553  test -z "$as_dir" && as_dir=.
6554    for ac_exec_ext in '' $ac_executable_extensions; do
6555  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556    ac_cv_prog_ac_ct_AR="$ac_prog"
6557    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558    break 2
6559  fi
6560done
6561  done
6562IFS=$as_save_IFS
6563
6564fi
6565fi
6566ac_ct_AR=$ac_cv_prog_ac_ct_AR
6567if test -n "$ac_ct_AR"; then
6568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6569$as_echo "$ac_ct_AR" >&6; }
6570else
6571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572$as_echo "no" >&6; }
6573fi
6574
6575
6576  test -n "$ac_ct_AR" && break
6577done
6578
6579  if test "x$ac_ct_AR" = x; then
6580    AR="false"
6581  else
6582    case $cross_compiling:$ac_tool_warned in
6583yes:)
6584{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6585$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6586ac_tool_warned=yes ;;
6587esac
6588    AR=$ac_ct_AR
6589  fi
6590fi
6591
6592: ${AR=ar}
6593: ${AR_FLAGS=cru}
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6606$as_echo_n "checking for archiver @FILE support... " >&6; }
6607if ${lt_cv_ar_at_file+:} false; then :
6608  $as_echo_n "(cached) " >&6
6609else
6610  lt_cv_ar_at_file=no
6611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612/* end confdefs.h.  */
6613
6614int
6615main ()
6616{
6617
6618  ;
6619  return 0;
6620}
6621_ACEOF
6622if ac_fn_c_try_compile "$LINENO"; then :
6623  echo conftest.$ac_objext > conftest.lst
6624      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6625      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6626  (eval $lt_ar_try) 2>&5
6627  ac_status=$?
6628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629  test $ac_status = 0; }
6630      if test 0 -eq "$ac_status"; then
6631	# Ensure the archiver fails upon bogus file names.
6632	rm -f conftest.$ac_objext libconftest.a
6633	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6634  (eval $lt_ar_try) 2>&5
6635  ac_status=$?
6636  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6637  test $ac_status = 0; }
6638	if test 0 -ne "$ac_status"; then
6639          lt_cv_ar_at_file=@
6640        fi
6641      fi
6642      rm -f conftest.* libconftest.a
6643
6644fi
6645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6646
6647fi
6648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6649$as_echo "$lt_cv_ar_at_file" >&6; }
6650
6651if test no = "$lt_cv_ar_at_file"; then
6652  archiver_list_spec=
6653else
6654  archiver_list_spec=$lt_cv_ar_at_file
6655fi
6656
6657
6658
6659
6660
6661
6662
6663if test -n "$ac_tool_prefix"; then
6664  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6665set dummy ${ac_tool_prefix}strip; ac_word=$2
6666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667$as_echo_n "checking for $ac_word... " >&6; }
6668if ${ac_cv_prog_STRIP+:} false; then :
6669  $as_echo_n "(cached) " >&6
6670else
6671  if test -n "$STRIP"; then
6672  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6673else
6674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675for as_dir in $PATH
6676do
6677  IFS=$as_save_IFS
6678  test -z "$as_dir" && as_dir=.
6679    for ac_exec_ext in '' $ac_executable_extensions; do
6680  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6681    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6682    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683    break 2
6684  fi
6685done
6686  done
6687IFS=$as_save_IFS
6688
6689fi
6690fi
6691STRIP=$ac_cv_prog_STRIP
6692if test -n "$STRIP"; then
6693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6694$as_echo "$STRIP" >&6; }
6695else
6696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697$as_echo "no" >&6; }
6698fi
6699
6700
6701fi
6702if test -z "$ac_cv_prog_STRIP"; then
6703  ac_ct_STRIP=$STRIP
6704  # Extract the first word of "strip", so it can be a program name with args.
6705set dummy strip; ac_word=$2
6706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707$as_echo_n "checking for $ac_word... " >&6; }
6708if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6709  $as_echo_n "(cached) " >&6
6710else
6711  if test -n "$ac_ct_STRIP"; then
6712  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6713else
6714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715for as_dir in $PATH
6716do
6717  IFS=$as_save_IFS
6718  test -z "$as_dir" && as_dir=.
6719    for ac_exec_ext in '' $ac_executable_extensions; do
6720  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6721    ac_cv_prog_ac_ct_STRIP="strip"
6722    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723    break 2
6724  fi
6725done
6726  done
6727IFS=$as_save_IFS
6728
6729fi
6730fi
6731ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6732if test -n "$ac_ct_STRIP"; then
6733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6734$as_echo "$ac_ct_STRIP" >&6; }
6735else
6736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737$as_echo "no" >&6; }
6738fi
6739
6740  if test "x$ac_ct_STRIP" = x; then
6741    STRIP=":"
6742  else
6743    case $cross_compiling:$ac_tool_warned in
6744yes:)
6745{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6746$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6747ac_tool_warned=yes ;;
6748esac
6749    STRIP=$ac_ct_STRIP
6750  fi
6751else
6752  STRIP="$ac_cv_prog_STRIP"
6753fi
6754
6755test -z "$STRIP" && STRIP=:
6756
6757
6758
6759
6760
6761
6762if test -n "$ac_tool_prefix"; then
6763  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6764set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766$as_echo_n "checking for $ac_word... " >&6; }
6767if ${ac_cv_prog_RANLIB+:} false; then :
6768  $as_echo_n "(cached) " >&6
6769else
6770  if test -n "$RANLIB"; then
6771  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6772else
6773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774for as_dir in $PATH
6775do
6776  IFS=$as_save_IFS
6777  test -z "$as_dir" && as_dir=.
6778    for ac_exec_ext in '' $ac_executable_extensions; do
6779  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6780    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6781    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782    break 2
6783  fi
6784done
6785  done
6786IFS=$as_save_IFS
6787
6788fi
6789fi
6790RANLIB=$ac_cv_prog_RANLIB
6791if test -n "$RANLIB"; then
6792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6793$as_echo "$RANLIB" >&6; }
6794else
6795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796$as_echo "no" >&6; }
6797fi
6798
6799
6800fi
6801if test -z "$ac_cv_prog_RANLIB"; then
6802  ac_ct_RANLIB=$RANLIB
6803  # Extract the first word of "ranlib", so it can be a program name with args.
6804set dummy ranlib; ac_word=$2
6805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806$as_echo_n "checking for $ac_word... " >&6; }
6807if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6808  $as_echo_n "(cached) " >&6
6809else
6810  if test -n "$ac_ct_RANLIB"; then
6811  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6812else
6813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814for as_dir in $PATH
6815do
6816  IFS=$as_save_IFS
6817  test -z "$as_dir" && as_dir=.
6818    for ac_exec_ext in '' $ac_executable_extensions; do
6819  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6820    ac_cv_prog_ac_ct_RANLIB="ranlib"
6821    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822    break 2
6823  fi
6824done
6825  done
6826IFS=$as_save_IFS
6827
6828fi
6829fi
6830ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6831if test -n "$ac_ct_RANLIB"; then
6832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6833$as_echo "$ac_ct_RANLIB" >&6; }
6834else
6835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6836$as_echo "no" >&6; }
6837fi
6838
6839  if test "x$ac_ct_RANLIB" = x; then
6840    RANLIB=":"
6841  else
6842    case $cross_compiling:$ac_tool_warned in
6843yes:)
6844{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6845$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6846ac_tool_warned=yes ;;
6847esac
6848    RANLIB=$ac_ct_RANLIB
6849  fi
6850else
6851  RANLIB="$ac_cv_prog_RANLIB"
6852fi
6853
6854test -z "$RANLIB" && RANLIB=:
6855
6856
6857
6858
6859
6860
6861# Determine commands to create old-style static archives.
6862old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6863old_postinstall_cmds='chmod 644 $oldlib'
6864old_postuninstall_cmds=
6865
6866if test -n "$RANLIB"; then
6867  case $host_os in
6868  bitrig* | openbsd*)
6869    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6870    ;;
6871  *)
6872    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6873    ;;
6874  esac
6875  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6876fi
6877
6878case $host_os in
6879  darwin*)
6880    lock_old_archive_extraction=yes ;;
6881  *)
6882    lock_old_archive_extraction=no ;;
6883esac
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923# If no C compiler was specified, use CC.
6924LTCC=${LTCC-"$CC"}
6925
6926# If no C compiler flags were specified, use CFLAGS.
6927LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6928
6929# Allow CC to be a program name with arguments.
6930compiler=$CC
6931
6932
6933# Check for command to grab the raw symbol name followed by C symbol from nm.
6934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6935$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6936if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6937  $as_echo_n "(cached) " >&6
6938else
6939
6940# These are sane defaults that work on at least a few old systems.
6941# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6942
6943# Character class describing NM global symbol codes.
6944symcode='[BCDEGRST]'
6945
6946# Regexp to match symbols that can be accessed directly from C.
6947sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6948
6949# Define system-specific variables.
6950case $host_os in
6951aix*)
6952  symcode='[BCDT]'
6953  ;;
6954cygwin* | mingw* | pw32* | cegcc*)
6955  symcode='[ABCDGISTW]'
6956  ;;
6957hpux*)
6958  if test ia64 = "$host_cpu"; then
6959    symcode='[ABCDEGRST]'
6960  fi
6961  ;;
6962irix* | nonstopux*)
6963  symcode='[BCDEGRST]'
6964  ;;
6965osf*)
6966  symcode='[BCDEGQRST]'
6967  ;;
6968solaris*)
6969  symcode='[BDRT]'
6970  ;;
6971sco3.2v5*)
6972  symcode='[DT]'
6973  ;;
6974sysv4.2uw2*)
6975  symcode='[DT]'
6976  ;;
6977sysv5* | sco5v6* | unixware* | OpenUNIX*)
6978  symcode='[ABDT]'
6979  ;;
6980sysv4)
6981  symcode='[DFNSTU]'
6982  ;;
6983esac
6984
6985# If we're using GNU nm, then use its standard symbol codes.
6986case `$NM -V 2>&1` in
6987*GNU* | *'with BFD'*)
6988  symcode='[ABCDGIRSTW]' ;;
6989esac
6990
6991if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6992  # Gets list of data symbols to import.
6993  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6994  # Adjust the below global symbol transforms to fixup imported variables.
6995  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6996  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6997  lt_c_name_lib_hook="\
6998  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6999  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7000else
7001  # Disable hooks by default.
7002  lt_cv_sys_global_symbol_to_import=
7003  lt_cdecl_hook=
7004  lt_c_name_hook=
7005  lt_c_name_lib_hook=
7006fi
7007
7008# Transform an extracted symbol line into a proper C declaration.
7009# Some systems (esp. on ia64) link data and code symbols differently,
7010# so use this general approach.
7011lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7012$lt_cdecl_hook\
7013" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7014" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7015
7016# Transform an extracted symbol line into symbol name and symbol address
7017lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7018$lt_c_name_hook\
7019" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7020" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7021
7022# Transform an extracted symbol line into symbol name with lib prefix and
7023# symbol address.
7024lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7025$lt_c_name_lib_hook\
7026" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7027" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7028" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7029
7030# Handle CRLF in mingw tool chain
7031opt_cr=
7032case $build_os in
7033mingw*)
7034  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7035  ;;
7036esac
7037
7038# Try without a prefix underscore, then with it.
7039for ac_symprfx in "" "_"; do
7040
7041  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7042  symxfrm="\\1 $ac_symprfx\\2 \\2"
7043
7044  # Write the raw and C identifiers.
7045  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7046    # Fake it for dumpbin and say T for any non-static function,
7047    # D for any global variable and I for any imported variable.
7048    # Also find C++ and __fastcall symbols from MSVC++,
7049    # which start with @ or ?.
7050    lt_cv_sys_global_symbol_pipe="$AWK '"\
7051"     {last_section=section; section=\$ 3};"\
7052"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7053"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7054"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7055"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7056"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7057"     \$ 0!~/External *\|/{next};"\
7058"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7059"     {if(hide[section]) next};"\
7060"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7061"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7062"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7063"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7064"     ' prfx=^$ac_symprfx"
7065  else
7066    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7067  fi
7068  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7069
7070  # Check to see that the pipe works correctly.
7071  pipe_works=no
7072
7073  rm -f conftest*
7074  cat > conftest.$ac_ext <<_LT_EOF
7075#ifdef __cplusplus
7076extern "C" {
7077#endif
7078char nm_test_var;
7079void nm_test_func(void);
7080void nm_test_func(void){}
7081#ifdef __cplusplus
7082}
7083#endif
7084int main(){nm_test_var='a';nm_test_func();return(0);}
7085_LT_EOF
7086
7087  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088  (eval $ac_compile) 2>&5
7089  ac_status=$?
7090  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091  test $ac_status = 0; }; then
7092    # Now try to grab the symbols.
7093    nlist=conftest.nm
7094    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7095  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7096  ac_status=$?
7097  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7098  test $ac_status = 0; } && test -s "$nlist"; then
7099      # Try sorting and uniquifying the output.
7100      if sort "$nlist" | uniq > "$nlist"T; then
7101	mv -f "$nlist"T "$nlist"
7102      else
7103	rm -f "$nlist"T
7104      fi
7105
7106      # Make sure that we snagged all the symbols we need.
7107      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7108	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7109	  cat <<_LT_EOF > conftest.$ac_ext
7110/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7111#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7112/* DATA imports from DLLs on WIN32 can't be const, because runtime
7113   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7114# define LT_DLSYM_CONST
7115#elif defined __osf__
7116/* This system does not cope well with relocations in const data.  */
7117# define LT_DLSYM_CONST
7118#else
7119# define LT_DLSYM_CONST const
7120#endif
7121
7122#ifdef __cplusplus
7123extern "C" {
7124#endif
7125
7126_LT_EOF
7127	  # Now generate the symbol file.
7128	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7129
7130	  cat <<_LT_EOF >> conftest.$ac_ext
7131
7132/* The mapping between symbol names and symbols.  */
7133LT_DLSYM_CONST struct {
7134  const char *name;
7135  void       *address;
7136}
7137lt__PROGRAM__LTX_preloaded_symbols[] =
7138{
7139  { "@PROGRAM@", (void *) 0 },
7140_LT_EOF
7141	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7142	  cat <<\_LT_EOF >> conftest.$ac_ext
7143  {0, (void *) 0}
7144};
7145
7146/* This works around a problem in FreeBSD linker */
7147#ifdef FREEBSD_WORKAROUND
7148static const void *lt_preloaded_setup() {
7149  return lt__PROGRAM__LTX_preloaded_symbols;
7150}
7151#endif
7152
7153#ifdef __cplusplus
7154}
7155#endif
7156_LT_EOF
7157	  # Now try linking the two files.
7158	  mv conftest.$ac_objext conftstm.$ac_objext
7159	  lt_globsym_save_LIBS=$LIBS
7160	  lt_globsym_save_CFLAGS=$CFLAGS
7161	  LIBS=conftstm.$ac_objext
7162	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7163	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7164  (eval $ac_link) 2>&5
7165  ac_status=$?
7166  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7167  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7168	    pipe_works=yes
7169	  fi
7170	  LIBS=$lt_globsym_save_LIBS
7171	  CFLAGS=$lt_globsym_save_CFLAGS
7172	else
7173	  echo "cannot find nm_test_func in $nlist" >&5
7174	fi
7175      else
7176	echo "cannot find nm_test_var in $nlist" >&5
7177      fi
7178    else
7179      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7180    fi
7181  else
7182    echo "$progname: failed program was:" >&5
7183    cat conftest.$ac_ext >&5
7184  fi
7185  rm -rf conftest* conftst*
7186
7187  # Do not use the global_symbol_pipe unless it works.
7188  if test yes = "$pipe_works"; then
7189    break
7190  else
7191    lt_cv_sys_global_symbol_pipe=
7192  fi
7193done
7194
7195fi
7196
7197if test -z "$lt_cv_sys_global_symbol_pipe"; then
7198  lt_cv_sys_global_symbol_to_cdecl=
7199fi
7200if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7202$as_echo "failed" >&6; }
7203else
7204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7205$as_echo "ok" >&6; }
7206fi
7207
7208# Response file support.
7209if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7210  nm_file_list_spec='@'
7211elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7212  nm_file_list_spec='@'
7213fi
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7252$as_echo_n "checking for sysroot... " >&6; }
7253
7254# Check whether --with-sysroot was given.
7255if test "${with_sysroot+set}" = set; then :
7256  withval=$with_sysroot;
7257else
7258  with_sysroot=no
7259fi
7260
7261
7262lt_sysroot=
7263case $with_sysroot in #(
7264 yes)
7265   if test yes = "$GCC"; then
7266     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7267   fi
7268   ;; #(
7269 /*)
7270   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7271   ;; #(
7272 no|'')
7273   ;; #(
7274 *)
7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7276$as_echo "$with_sysroot" >&6; }
7277   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7278   ;;
7279esac
7280
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7282$as_echo "${lt_sysroot:-no}" >&6; }
7283
7284
7285
7286
7287
7288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7289$as_echo_n "checking for a working dd... " >&6; }
7290if ${ac_cv_path_lt_DD+:} false; then :
7291  $as_echo_n "(cached) " >&6
7292else
7293  printf 0123456789abcdef0123456789abcdef >conftest.i
7294cat conftest.i conftest.i >conftest2.i
7295: ${lt_DD:=$DD}
7296if test -z "$lt_DD"; then
7297  ac_path_lt_DD_found=false
7298  # Loop through the user's path and test for each of PROGNAME-LIST
7299  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300for as_dir in $PATH
7301do
7302  IFS=$as_save_IFS
7303  test -z "$as_dir" && as_dir=.
7304    for ac_prog in dd; do
7305    for ac_exec_ext in '' $ac_executable_extensions; do
7306      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7307      as_fn_executable_p "$ac_path_lt_DD" || continue
7308if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7309  cmp -s conftest.i conftest.out \
7310  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7311fi
7312      $ac_path_lt_DD_found && break 3
7313    done
7314  done
7315  done
7316IFS=$as_save_IFS
7317  if test -z "$ac_cv_path_lt_DD"; then
7318    :
7319  fi
7320else
7321  ac_cv_path_lt_DD=$lt_DD
7322fi
7323
7324rm -f conftest.i conftest2.i conftest.out
7325fi
7326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7327$as_echo "$ac_cv_path_lt_DD" >&6; }
7328
7329
7330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7331$as_echo_n "checking how to truncate binary pipes... " >&6; }
7332if ${lt_cv_truncate_bin+:} false; then :
7333  $as_echo_n "(cached) " >&6
7334else
7335  printf 0123456789abcdef0123456789abcdef >conftest.i
7336cat conftest.i conftest.i >conftest2.i
7337lt_cv_truncate_bin=
7338if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7339  cmp -s conftest.i conftest.out \
7340  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7341fi
7342rm -f conftest.i conftest2.i conftest.out
7343test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7344fi
7345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7346$as_echo "$lt_cv_truncate_bin" >&6; }
7347
7348
7349
7350
7351
7352
7353
7354# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7355func_cc_basename ()
7356{
7357    for cc_temp in $*""; do
7358      case $cc_temp in
7359        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7360        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7361        \-*) ;;
7362        *) break;;
7363      esac
7364    done
7365    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7366}
7367
7368# Check whether --enable-libtool-lock was given.
7369if test "${enable_libtool_lock+set}" = set; then :
7370  enableval=$enable_libtool_lock;
7371fi
7372
7373test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7374
7375# Some flags need to be propagated to the compiler or linker for good
7376# libtool support.
7377case $host in
7378ia64-*-hpux*)
7379  # Find out what ABI is being produced by ac_compile, and set mode
7380  # options accordingly.
7381  echo 'int i;' > conftest.$ac_ext
7382  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7383  (eval $ac_compile) 2>&5
7384  ac_status=$?
7385  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7386  test $ac_status = 0; }; then
7387    case `/usr/bin/file conftest.$ac_objext` in
7388      *ELF-32*)
7389	HPUX_IA64_MODE=32
7390	;;
7391      *ELF-64*)
7392	HPUX_IA64_MODE=64
7393	;;
7394    esac
7395  fi
7396  rm -rf conftest*
7397  ;;
7398*-*-irix6*)
7399  # Find out what ABI is being produced by ac_compile, and set linker
7400  # options accordingly.
7401  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7402  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7403  (eval $ac_compile) 2>&5
7404  ac_status=$?
7405  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7406  test $ac_status = 0; }; then
7407    if test yes = "$lt_cv_prog_gnu_ld"; then
7408      case `/usr/bin/file conftest.$ac_objext` in
7409	*32-bit*)
7410	  LD="${LD-ld} -melf32bsmip"
7411	  ;;
7412	*N32*)
7413	  LD="${LD-ld} -melf32bmipn32"
7414	  ;;
7415	*64-bit*)
7416	  LD="${LD-ld} -melf64bmip"
7417	;;
7418      esac
7419    else
7420      case `/usr/bin/file conftest.$ac_objext` in
7421	*32-bit*)
7422	  LD="${LD-ld} -32"
7423	  ;;
7424	*N32*)
7425	  LD="${LD-ld} -n32"
7426	  ;;
7427	*64-bit*)
7428	  LD="${LD-ld} -64"
7429	  ;;
7430      esac
7431    fi
7432  fi
7433  rm -rf conftest*
7434  ;;
7435
7436mips64*-*linux*)
7437  # Find out what ABI is being produced by ac_compile, and set linker
7438  # options accordingly.
7439  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7440  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7441  (eval $ac_compile) 2>&5
7442  ac_status=$?
7443  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444  test $ac_status = 0; }; then
7445    emul=elf
7446    case `/usr/bin/file conftest.$ac_objext` in
7447      *32-bit*)
7448	emul="${emul}32"
7449	;;
7450      *64-bit*)
7451	emul="${emul}64"
7452	;;
7453    esac
7454    case `/usr/bin/file conftest.$ac_objext` in
7455      *MSB*)
7456	emul="${emul}btsmip"
7457	;;
7458      *LSB*)
7459	emul="${emul}ltsmip"
7460	;;
7461    esac
7462    case `/usr/bin/file conftest.$ac_objext` in
7463      *N32*)
7464	emul="${emul}n32"
7465	;;
7466    esac
7467    LD="${LD-ld} -m $emul"
7468  fi
7469  rm -rf conftest*
7470  ;;
7471
7472x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7473s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7474  # Find out what ABI is being produced by ac_compile, and set linker
7475  # options accordingly.  Note that the listed cases only cover the
7476  # situations where additional linker options are needed (such as when
7477  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7478  # vice versa); the common cases where no linker options are needed do
7479  # not appear in the list.
7480  echo 'int i;' > conftest.$ac_ext
7481  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7482  (eval $ac_compile) 2>&5
7483  ac_status=$?
7484  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7485  test $ac_status = 0; }; then
7486    case `/usr/bin/file conftest.o` in
7487      *32-bit*)
7488	case $host in
7489	  x86_64-*kfreebsd*-gnu)
7490	    LD="${LD-ld} -m elf_i386_fbsd"
7491	    ;;
7492	  x86_64-*linux*)
7493	    case `/usr/bin/file conftest.o` in
7494	      *x86-64*)
7495		LD="${LD-ld} -m elf32_x86_64"
7496		;;
7497	      *)
7498		LD="${LD-ld} -m elf_i386"
7499		;;
7500	    esac
7501	    ;;
7502	  powerpc64le-*linux*)
7503	    LD="${LD-ld} -m elf32lppclinux"
7504	    ;;
7505	  powerpc64-*linux*)
7506	    LD="${LD-ld} -m elf32ppclinux"
7507	    ;;
7508	  s390x-*linux*)
7509	    LD="${LD-ld} -m elf_s390"
7510	    ;;
7511	  sparc64-*linux*)
7512	    LD="${LD-ld} -m elf32_sparc"
7513	    ;;
7514	esac
7515	;;
7516      *64-bit*)
7517	case $host in
7518	  x86_64-*kfreebsd*-gnu)
7519	    LD="${LD-ld} -m elf_x86_64_fbsd"
7520	    ;;
7521	  x86_64-*linux*)
7522	    LD="${LD-ld} -m elf_x86_64"
7523	    ;;
7524	  powerpcle-*linux*)
7525	    LD="${LD-ld} -m elf64lppc"
7526	    ;;
7527	  powerpc-*linux*)
7528	    LD="${LD-ld} -m elf64ppc"
7529	    ;;
7530	  s390*-*linux*|s390*-*tpf*)
7531	    LD="${LD-ld} -m elf64_s390"
7532	    ;;
7533	  sparc*-*linux*)
7534	    LD="${LD-ld} -m elf64_sparc"
7535	    ;;
7536	esac
7537	;;
7538    esac
7539  fi
7540  rm -rf conftest*
7541  ;;
7542
7543*-*-sco3.2v5*)
7544  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7545  SAVE_CFLAGS=$CFLAGS
7546  CFLAGS="$CFLAGS -belf"
7547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7548$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7549if ${lt_cv_cc_needs_belf+:} false; then :
7550  $as_echo_n "(cached) " >&6
7551else
7552  ac_ext=c
7553ac_cpp='$CPP $CPPFLAGS'
7554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7556ac_compiler_gnu=$ac_cv_c_compiler_gnu
7557
7558     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7559/* end confdefs.h.  */
7560
7561int
7562main ()
7563{
7564
7565  ;
7566  return 0;
7567}
7568_ACEOF
7569if ac_fn_c_try_link "$LINENO"; then :
7570  lt_cv_cc_needs_belf=yes
7571else
7572  lt_cv_cc_needs_belf=no
7573fi
7574rm -f core conftest.err conftest.$ac_objext \
7575    conftest$ac_exeext conftest.$ac_ext
7576     ac_ext=c
7577ac_cpp='$CPP $CPPFLAGS'
7578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7580ac_compiler_gnu=$ac_cv_c_compiler_gnu
7581
7582fi
7583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7584$as_echo "$lt_cv_cc_needs_belf" >&6; }
7585  if test yes != "$lt_cv_cc_needs_belf"; then
7586    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7587    CFLAGS=$SAVE_CFLAGS
7588  fi
7589  ;;
7590*-*solaris*)
7591  # Find out what ABI is being produced by ac_compile, and set linker
7592  # options accordingly.
7593  echo 'int i;' > conftest.$ac_ext
7594  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7595  (eval $ac_compile) 2>&5
7596  ac_status=$?
7597  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598  test $ac_status = 0; }; then
7599    case `/usr/bin/file conftest.o` in
7600    *64-bit*)
7601      case $lt_cv_prog_gnu_ld in
7602      yes*)
7603        case $host in
7604        i?86-*-solaris*|x86_64-*-solaris*)
7605          LD="${LD-ld} -m elf_x86_64"
7606          ;;
7607        sparc*-*-solaris*)
7608          LD="${LD-ld} -m elf64_sparc"
7609          ;;
7610        esac
7611        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7612        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7613          LD=${LD-ld}_sol2
7614        fi
7615        ;;
7616      *)
7617	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7618	  LD="${LD-ld} -64"
7619	fi
7620	;;
7621      esac
7622      ;;
7623    esac
7624  fi
7625  rm -rf conftest*
7626  ;;
7627esac
7628
7629need_locks=$enable_libtool_lock
7630
7631if test -n "$ac_tool_prefix"; then
7632  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7633set dummy ${ac_tool_prefix}mt; ac_word=$2
7634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635$as_echo_n "checking for $ac_word... " >&6; }
7636if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7637  $as_echo_n "(cached) " >&6
7638else
7639  if test -n "$MANIFEST_TOOL"; then
7640  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7641else
7642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7643for as_dir in $PATH
7644do
7645  IFS=$as_save_IFS
7646  test -z "$as_dir" && as_dir=.
7647    for ac_exec_ext in '' $ac_executable_extensions; do
7648  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7649    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7651    break 2
7652  fi
7653done
7654  done
7655IFS=$as_save_IFS
7656
7657fi
7658fi
7659MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7660if test -n "$MANIFEST_TOOL"; then
7661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7662$as_echo "$MANIFEST_TOOL" >&6; }
7663else
7664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7665$as_echo "no" >&6; }
7666fi
7667
7668
7669fi
7670if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7671  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7672  # Extract the first word of "mt", so it can be a program name with args.
7673set dummy mt; ac_word=$2
7674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7675$as_echo_n "checking for $ac_word... " >&6; }
7676if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7677  $as_echo_n "(cached) " >&6
7678else
7679  if test -n "$ac_ct_MANIFEST_TOOL"; then
7680  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7681else
7682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7683for as_dir in $PATH
7684do
7685  IFS=$as_save_IFS
7686  test -z "$as_dir" && as_dir=.
7687    for ac_exec_ext in '' $ac_executable_extensions; do
7688  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7689    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7690    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7691    break 2
7692  fi
7693done
7694  done
7695IFS=$as_save_IFS
7696
7697fi
7698fi
7699ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7700if test -n "$ac_ct_MANIFEST_TOOL"; then
7701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7702$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7703else
7704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7705$as_echo "no" >&6; }
7706fi
7707
7708  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7709    MANIFEST_TOOL=":"
7710  else
7711    case $cross_compiling:$ac_tool_warned in
7712yes:)
7713{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7714$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7715ac_tool_warned=yes ;;
7716esac
7717    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7718  fi
7719else
7720  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7721fi
7722
7723test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7725$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7726if ${lt_cv_path_mainfest_tool+:} false; then :
7727  $as_echo_n "(cached) " >&6
7728else
7729  lt_cv_path_mainfest_tool=no
7730  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7731  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7732  cat conftest.err >&5
7733  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7734    lt_cv_path_mainfest_tool=yes
7735  fi
7736  rm -f conftest*
7737fi
7738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7739$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7740if test yes != "$lt_cv_path_mainfest_tool"; then
7741  MANIFEST_TOOL=:
7742fi
7743
7744
7745
7746
7747
7748
7749  case $host_os in
7750    rhapsody* | darwin*)
7751    if test -n "$ac_tool_prefix"; then
7752  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7753set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7755$as_echo_n "checking for $ac_word... " >&6; }
7756if ${ac_cv_prog_DSYMUTIL+:} false; then :
7757  $as_echo_n "(cached) " >&6
7758else
7759  if test -n "$DSYMUTIL"; then
7760  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7761else
7762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7763for as_dir in $PATH
7764do
7765  IFS=$as_save_IFS
7766  test -z "$as_dir" && as_dir=.
7767    for ac_exec_ext in '' $ac_executable_extensions; do
7768  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7769    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7770    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7771    break 2
7772  fi
7773done
7774  done
7775IFS=$as_save_IFS
7776
7777fi
7778fi
7779DSYMUTIL=$ac_cv_prog_DSYMUTIL
7780if test -n "$DSYMUTIL"; then
7781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7782$as_echo "$DSYMUTIL" >&6; }
7783else
7784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785$as_echo "no" >&6; }
7786fi
7787
7788
7789fi
7790if test -z "$ac_cv_prog_DSYMUTIL"; then
7791  ac_ct_DSYMUTIL=$DSYMUTIL
7792  # Extract the first word of "dsymutil", so it can be a program name with args.
7793set dummy dsymutil; ac_word=$2
7794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7795$as_echo_n "checking for $ac_word... " >&6; }
7796if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7797  $as_echo_n "(cached) " >&6
7798else
7799  if test -n "$ac_ct_DSYMUTIL"; then
7800  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7801else
7802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803for as_dir in $PATH
7804do
7805  IFS=$as_save_IFS
7806  test -z "$as_dir" && as_dir=.
7807    for ac_exec_ext in '' $ac_executable_extensions; do
7808  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7809    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7810    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7811    break 2
7812  fi
7813done
7814  done
7815IFS=$as_save_IFS
7816
7817fi
7818fi
7819ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7820if test -n "$ac_ct_DSYMUTIL"; then
7821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7822$as_echo "$ac_ct_DSYMUTIL" >&6; }
7823else
7824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7825$as_echo "no" >&6; }
7826fi
7827
7828  if test "x$ac_ct_DSYMUTIL" = x; then
7829    DSYMUTIL=":"
7830  else
7831    case $cross_compiling:$ac_tool_warned in
7832yes:)
7833{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7834$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7835ac_tool_warned=yes ;;
7836esac
7837    DSYMUTIL=$ac_ct_DSYMUTIL
7838  fi
7839else
7840  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7841fi
7842
7843    if test -n "$ac_tool_prefix"; then
7844  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7845set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7847$as_echo_n "checking for $ac_word... " >&6; }
7848if ${ac_cv_prog_NMEDIT+:} false; then :
7849  $as_echo_n "(cached) " >&6
7850else
7851  if test -n "$NMEDIT"; then
7852  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7853else
7854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7855for as_dir in $PATH
7856do
7857  IFS=$as_save_IFS
7858  test -z "$as_dir" && as_dir=.
7859    for ac_exec_ext in '' $ac_executable_extensions; do
7860  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7861    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7863    break 2
7864  fi
7865done
7866  done
7867IFS=$as_save_IFS
7868
7869fi
7870fi
7871NMEDIT=$ac_cv_prog_NMEDIT
7872if test -n "$NMEDIT"; then
7873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7874$as_echo "$NMEDIT" >&6; }
7875else
7876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7877$as_echo "no" >&6; }
7878fi
7879
7880
7881fi
7882if test -z "$ac_cv_prog_NMEDIT"; then
7883  ac_ct_NMEDIT=$NMEDIT
7884  # Extract the first word of "nmedit", so it can be a program name with args.
7885set dummy nmedit; ac_word=$2
7886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7887$as_echo_n "checking for $ac_word... " >&6; }
7888if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7889  $as_echo_n "(cached) " >&6
7890else
7891  if test -n "$ac_ct_NMEDIT"; then
7892  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7893else
7894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895for as_dir in $PATH
7896do
7897  IFS=$as_save_IFS
7898  test -z "$as_dir" && as_dir=.
7899    for ac_exec_ext in '' $ac_executable_extensions; do
7900  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7901    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7902    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7903    break 2
7904  fi
7905done
7906  done
7907IFS=$as_save_IFS
7908
7909fi
7910fi
7911ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7912if test -n "$ac_ct_NMEDIT"; then
7913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7914$as_echo "$ac_ct_NMEDIT" >&6; }
7915else
7916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917$as_echo "no" >&6; }
7918fi
7919
7920  if test "x$ac_ct_NMEDIT" = x; then
7921    NMEDIT=":"
7922  else
7923    case $cross_compiling:$ac_tool_warned in
7924yes:)
7925{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7926$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7927ac_tool_warned=yes ;;
7928esac
7929    NMEDIT=$ac_ct_NMEDIT
7930  fi
7931else
7932  NMEDIT="$ac_cv_prog_NMEDIT"
7933fi
7934
7935    if test -n "$ac_tool_prefix"; then
7936  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7937set dummy ${ac_tool_prefix}lipo; ac_word=$2
7938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7939$as_echo_n "checking for $ac_word... " >&6; }
7940if ${ac_cv_prog_LIPO+:} false; then :
7941  $as_echo_n "(cached) " >&6
7942else
7943  if test -n "$LIPO"; then
7944  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7945else
7946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947for as_dir in $PATH
7948do
7949  IFS=$as_save_IFS
7950  test -z "$as_dir" && as_dir=.
7951    for ac_exec_ext in '' $ac_executable_extensions; do
7952  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7953    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7954    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7955    break 2
7956  fi
7957done
7958  done
7959IFS=$as_save_IFS
7960
7961fi
7962fi
7963LIPO=$ac_cv_prog_LIPO
7964if test -n "$LIPO"; then
7965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7966$as_echo "$LIPO" >&6; }
7967else
7968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969$as_echo "no" >&6; }
7970fi
7971
7972
7973fi
7974if test -z "$ac_cv_prog_LIPO"; then
7975  ac_ct_LIPO=$LIPO
7976  # Extract the first word of "lipo", so it can be a program name with args.
7977set dummy lipo; ac_word=$2
7978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7979$as_echo_n "checking for $ac_word... " >&6; }
7980if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7981  $as_echo_n "(cached) " >&6
7982else
7983  if test -n "$ac_ct_LIPO"; then
7984  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7985else
7986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987for as_dir in $PATH
7988do
7989  IFS=$as_save_IFS
7990  test -z "$as_dir" && as_dir=.
7991    for ac_exec_ext in '' $ac_executable_extensions; do
7992  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7993    ac_cv_prog_ac_ct_LIPO="lipo"
7994    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995    break 2
7996  fi
7997done
7998  done
7999IFS=$as_save_IFS
8000
8001fi
8002fi
8003ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8004if test -n "$ac_ct_LIPO"; then
8005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8006$as_echo "$ac_ct_LIPO" >&6; }
8007else
8008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009$as_echo "no" >&6; }
8010fi
8011
8012  if test "x$ac_ct_LIPO" = x; then
8013    LIPO=":"
8014  else
8015    case $cross_compiling:$ac_tool_warned in
8016yes:)
8017{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8018$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8019ac_tool_warned=yes ;;
8020esac
8021    LIPO=$ac_ct_LIPO
8022  fi
8023else
8024  LIPO="$ac_cv_prog_LIPO"
8025fi
8026
8027    if test -n "$ac_tool_prefix"; then
8028  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8029set dummy ${ac_tool_prefix}otool; ac_word=$2
8030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8031$as_echo_n "checking for $ac_word... " >&6; }
8032if ${ac_cv_prog_OTOOL+:} false; then :
8033  $as_echo_n "(cached) " >&6
8034else
8035  if test -n "$OTOOL"; then
8036  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8037else
8038as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039for as_dir in $PATH
8040do
8041  IFS=$as_save_IFS
8042  test -z "$as_dir" && as_dir=.
8043    for ac_exec_ext in '' $ac_executable_extensions; do
8044  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8045    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8046    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8047    break 2
8048  fi
8049done
8050  done
8051IFS=$as_save_IFS
8052
8053fi
8054fi
8055OTOOL=$ac_cv_prog_OTOOL
8056if test -n "$OTOOL"; then
8057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8058$as_echo "$OTOOL" >&6; }
8059else
8060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8061$as_echo "no" >&6; }
8062fi
8063
8064
8065fi
8066if test -z "$ac_cv_prog_OTOOL"; then
8067  ac_ct_OTOOL=$OTOOL
8068  # Extract the first word of "otool", so it can be a program name with args.
8069set dummy otool; ac_word=$2
8070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8071$as_echo_n "checking for $ac_word... " >&6; }
8072if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8073  $as_echo_n "(cached) " >&6
8074else
8075  if test -n "$ac_ct_OTOOL"; then
8076  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8077else
8078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079for as_dir in $PATH
8080do
8081  IFS=$as_save_IFS
8082  test -z "$as_dir" && as_dir=.
8083    for ac_exec_ext in '' $ac_executable_extensions; do
8084  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8085    ac_cv_prog_ac_ct_OTOOL="otool"
8086    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087    break 2
8088  fi
8089done
8090  done
8091IFS=$as_save_IFS
8092
8093fi
8094fi
8095ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8096if test -n "$ac_ct_OTOOL"; then
8097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8098$as_echo "$ac_ct_OTOOL" >&6; }
8099else
8100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101$as_echo "no" >&6; }
8102fi
8103
8104  if test "x$ac_ct_OTOOL" = x; then
8105    OTOOL=":"
8106  else
8107    case $cross_compiling:$ac_tool_warned in
8108yes:)
8109{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8110$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8111ac_tool_warned=yes ;;
8112esac
8113    OTOOL=$ac_ct_OTOOL
8114  fi
8115else
8116  OTOOL="$ac_cv_prog_OTOOL"
8117fi
8118
8119    if test -n "$ac_tool_prefix"; then
8120  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8121set dummy ${ac_tool_prefix}otool64; ac_word=$2
8122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8123$as_echo_n "checking for $ac_word... " >&6; }
8124if ${ac_cv_prog_OTOOL64+:} false; then :
8125  $as_echo_n "(cached) " >&6
8126else
8127  if test -n "$OTOOL64"; then
8128  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8129else
8130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8131for as_dir in $PATH
8132do
8133  IFS=$as_save_IFS
8134  test -z "$as_dir" && as_dir=.
8135    for ac_exec_ext in '' $ac_executable_extensions; do
8136  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8137    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8138    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8139    break 2
8140  fi
8141done
8142  done
8143IFS=$as_save_IFS
8144
8145fi
8146fi
8147OTOOL64=$ac_cv_prog_OTOOL64
8148if test -n "$OTOOL64"; then
8149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8150$as_echo "$OTOOL64" >&6; }
8151else
8152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8153$as_echo "no" >&6; }
8154fi
8155
8156
8157fi
8158if test -z "$ac_cv_prog_OTOOL64"; then
8159  ac_ct_OTOOL64=$OTOOL64
8160  # Extract the first word of "otool64", so it can be a program name with args.
8161set dummy otool64; ac_word=$2
8162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8163$as_echo_n "checking for $ac_word... " >&6; }
8164if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8165  $as_echo_n "(cached) " >&6
8166else
8167  if test -n "$ac_ct_OTOOL64"; then
8168  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8169else
8170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8171for as_dir in $PATH
8172do
8173  IFS=$as_save_IFS
8174  test -z "$as_dir" && as_dir=.
8175    for ac_exec_ext in '' $ac_executable_extensions; do
8176  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8177    ac_cv_prog_ac_ct_OTOOL64="otool64"
8178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8179    break 2
8180  fi
8181done
8182  done
8183IFS=$as_save_IFS
8184
8185fi
8186fi
8187ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8188if test -n "$ac_ct_OTOOL64"; then
8189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8190$as_echo "$ac_ct_OTOOL64" >&6; }
8191else
8192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8193$as_echo "no" >&6; }
8194fi
8195
8196  if test "x$ac_ct_OTOOL64" = x; then
8197    OTOOL64=":"
8198  else
8199    case $cross_compiling:$ac_tool_warned in
8200yes:)
8201{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8202$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8203ac_tool_warned=yes ;;
8204esac
8205    OTOOL64=$ac_ct_OTOOL64
8206  fi
8207else
8208  OTOOL64="$ac_cv_prog_OTOOL64"
8209fi
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8238$as_echo_n "checking for -single_module linker flag... " >&6; }
8239if ${lt_cv_apple_cc_single_mod+:} false; then :
8240  $as_echo_n "(cached) " >&6
8241else
8242  lt_cv_apple_cc_single_mod=no
8243      if test -z "$LT_MULTI_MODULE"; then
8244	# By default we will add the -single_module flag. You can override
8245	# by either setting the environment variable LT_MULTI_MODULE
8246	# non-empty at configure time, or by adding -multi_module to the
8247	# link flags.
8248	rm -rf libconftest.dylib*
8249	echo "int foo(void){return 1;}" > conftest.c
8250	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8251-dynamiclib -Wl,-single_module conftest.c" >&5
8252	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8253	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8254        _lt_result=$?
8255	# If there is a non-empty error log, and "single_module"
8256	# appears in it, assume the flag caused a linker warning
8257        if test -s conftest.err && $GREP single_module conftest.err; then
8258	  cat conftest.err >&5
8259	# Otherwise, if the output was created with a 0 exit code from
8260	# the compiler, it worked.
8261	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8262	  lt_cv_apple_cc_single_mod=yes
8263	else
8264	  cat conftest.err >&5
8265	fi
8266	rm -rf libconftest.dylib*
8267	rm -f conftest.*
8268      fi
8269fi
8270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8271$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8272
8273    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8274$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8275if ${lt_cv_ld_exported_symbols_list+:} false; then :
8276  $as_echo_n "(cached) " >&6
8277else
8278  lt_cv_ld_exported_symbols_list=no
8279      save_LDFLAGS=$LDFLAGS
8280      echo "_main" > conftest.sym
8281      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8282      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8283/* end confdefs.h.  */
8284
8285int
8286main ()
8287{
8288
8289  ;
8290  return 0;
8291}
8292_ACEOF
8293if ac_fn_c_try_link "$LINENO"; then :
8294  lt_cv_ld_exported_symbols_list=yes
8295else
8296  lt_cv_ld_exported_symbols_list=no
8297fi
8298rm -f core conftest.err conftest.$ac_objext \
8299    conftest$ac_exeext conftest.$ac_ext
8300	LDFLAGS=$save_LDFLAGS
8301
8302fi
8303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8304$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8305
8306    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8307$as_echo_n "checking for -force_load linker flag... " >&6; }
8308if ${lt_cv_ld_force_load+:} false; then :
8309  $as_echo_n "(cached) " >&6
8310else
8311  lt_cv_ld_force_load=no
8312      cat > conftest.c << _LT_EOF
8313int forced_loaded() { return 2;}
8314_LT_EOF
8315      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8316      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8317      echo "$AR cru libconftest.a conftest.o" >&5
8318      $AR cru libconftest.a conftest.o 2>&5
8319      echo "$RANLIB libconftest.a" >&5
8320      $RANLIB libconftest.a 2>&5
8321      cat > conftest.c << _LT_EOF
8322int main() { return 0;}
8323_LT_EOF
8324      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8325      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8326      _lt_result=$?
8327      if test -s conftest.err && $GREP force_load conftest.err; then
8328	cat conftest.err >&5
8329      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8330	lt_cv_ld_force_load=yes
8331      else
8332	cat conftest.err >&5
8333      fi
8334        rm -f conftest.err libconftest.a conftest conftest.c
8335        rm -rf conftest.dSYM
8336
8337fi
8338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8339$as_echo "$lt_cv_ld_force_load" >&6; }
8340    case $host_os in
8341    rhapsody* | darwin1.[012])
8342      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8343    darwin1.*)
8344      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8345    darwin*) # darwin 5.x on
8346      # if running on 10.5 or later, the deployment target defaults
8347      # to the OS version, if on x86, and 10.4, the deployment
8348      # target defaults to 10.4. Don't you love it?
8349      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8350	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8351	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8352	10.[012][,.]*)
8353	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8354	10.*)
8355	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8356      esac
8357    ;;
8358  esac
8359    if test yes = "$lt_cv_apple_cc_single_mod"; then
8360      _lt_dar_single_mod='$single_module'
8361    fi
8362    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8363      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8364    else
8365      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8366    fi
8367    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8368      _lt_dsymutil='~$DSYMUTIL $lib || :'
8369    else
8370      _lt_dsymutil=
8371    fi
8372    ;;
8373  esac
8374
8375# func_munge_path_list VARIABLE PATH
8376# -----------------------------------
8377# VARIABLE is name of variable containing _space_ separated list of
8378# directories to be munged by the contents of PATH, which is string
8379# having a format:
8380# "DIR[:DIR]:"
8381#       string "DIR[ DIR]" will be prepended to VARIABLE
8382# ":DIR[:DIR]"
8383#       string "DIR[ DIR]" will be appended to VARIABLE
8384# "DIRP[:DIRP]::[DIRA:]DIRA"
8385#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8386#       "DIRA[ DIRA]" will be appended to VARIABLE
8387# "DIR[:DIR]"
8388#       VARIABLE will be replaced by "DIR[ DIR]"
8389func_munge_path_list ()
8390{
8391    case x$2 in
8392    x)
8393        ;;
8394    *:)
8395        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8396        ;;
8397    x:*)
8398        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8399        ;;
8400    *::*)
8401        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8402        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8403        ;;
8404    *)
8405        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8406        ;;
8407    esac
8408}
8409
8410ac_ext=c
8411ac_cpp='$CPP $CPPFLAGS'
8412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8414ac_compiler_gnu=$ac_cv_c_compiler_gnu
8415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8416$as_echo_n "checking how to run the C preprocessor... " >&6; }
8417# On Suns, sometimes $CPP names a directory.
8418if test -n "$CPP" && test -d "$CPP"; then
8419  CPP=
8420fi
8421if test -z "$CPP"; then
8422  if ${ac_cv_prog_CPP+:} false; then :
8423  $as_echo_n "(cached) " >&6
8424else
8425      # Double quotes because CPP needs to be expanded
8426    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8427    do
8428      ac_preproc_ok=false
8429for ac_c_preproc_warn_flag in '' yes
8430do
8431  # Use a header file that comes with gcc, so configuring glibc
8432  # with a fresh cross-compiler works.
8433  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8434  # <limits.h> exists even on freestanding compilers.
8435  # On the NeXT, cc -E runs the code through the compiler's parser,
8436  # not just through cpp. "Syntax error" is here to catch this case.
8437  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8438/* end confdefs.h.  */
8439#ifdef __STDC__
8440# include <limits.h>
8441#else
8442# include <assert.h>
8443#endif
8444		     Syntax error
8445_ACEOF
8446if ac_fn_c_try_cpp "$LINENO"; then :
8447
8448else
8449  # Broken: fails on valid input.
8450continue
8451fi
8452rm -f conftest.err conftest.i conftest.$ac_ext
8453
8454  # OK, works on sane cases.  Now check whether nonexistent headers
8455  # can be detected and how.
8456  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457/* end confdefs.h.  */
8458#include <ac_nonexistent.h>
8459_ACEOF
8460if ac_fn_c_try_cpp "$LINENO"; then :
8461  # Broken: success on invalid input.
8462continue
8463else
8464  # Passes both tests.
8465ac_preproc_ok=:
8466break
8467fi
8468rm -f conftest.err conftest.i conftest.$ac_ext
8469
8470done
8471# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8472rm -f conftest.i conftest.err conftest.$ac_ext
8473if $ac_preproc_ok; then :
8474  break
8475fi
8476
8477    done
8478    ac_cv_prog_CPP=$CPP
8479
8480fi
8481  CPP=$ac_cv_prog_CPP
8482else
8483  ac_cv_prog_CPP=$CPP
8484fi
8485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8486$as_echo "$CPP" >&6; }
8487ac_preproc_ok=false
8488for ac_c_preproc_warn_flag in '' yes
8489do
8490  # Use a header file that comes with gcc, so configuring glibc
8491  # with a fresh cross-compiler works.
8492  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8493  # <limits.h> exists even on freestanding compilers.
8494  # On the NeXT, cc -E runs the code through the compiler's parser,
8495  # not just through cpp. "Syntax error" is here to catch this case.
8496  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497/* end confdefs.h.  */
8498#ifdef __STDC__
8499# include <limits.h>
8500#else
8501# include <assert.h>
8502#endif
8503		     Syntax error
8504_ACEOF
8505if ac_fn_c_try_cpp "$LINENO"; then :
8506
8507else
8508  # Broken: fails on valid input.
8509continue
8510fi
8511rm -f conftest.err conftest.i conftest.$ac_ext
8512
8513  # OK, works on sane cases.  Now check whether nonexistent headers
8514  # can be detected and how.
8515  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516/* end confdefs.h.  */
8517#include <ac_nonexistent.h>
8518_ACEOF
8519if ac_fn_c_try_cpp "$LINENO"; then :
8520  # Broken: success on invalid input.
8521continue
8522else
8523  # Passes both tests.
8524ac_preproc_ok=:
8525break
8526fi
8527rm -f conftest.err conftest.i conftest.$ac_ext
8528
8529done
8530# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8531rm -f conftest.i conftest.err conftest.$ac_ext
8532if $ac_preproc_ok; then :
8533
8534else
8535  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8536$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8537as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8538See \`config.log' for more details" "$LINENO" 5; }
8539fi
8540
8541ac_ext=c
8542ac_cpp='$CPP $CPPFLAGS'
8543ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8544ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8545ac_compiler_gnu=$ac_cv_c_compiler_gnu
8546
8547
8548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8549$as_echo_n "checking for ANSI C header files... " >&6; }
8550if ${ac_cv_header_stdc+:} false; then :
8551  $as_echo_n "(cached) " >&6
8552else
8553  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554/* end confdefs.h.  */
8555#include <stdlib.h>
8556#include <stdarg.h>
8557#include <string.h>
8558#include <float.h>
8559
8560int
8561main ()
8562{
8563
8564  ;
8565  return 0;
8566}
8567_ACEOF
8568if ac_fn_c_try_compile "$LINENO"; then :
8569  ac_cv_header_stdc=yes
8570else
8571  ac_cv_header_stdc=no
8572fi
8573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8574
8575if test $ac_cv_header_stdc = yes; then
8576  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8577  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578/* end confdefs.h.  */
8579#include <string.h>
8580
8581_ACEOF
8582if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8583  $EGREP "memchr" >/dev/null 2>&1; then :
8584
8585else
8586  ac_cv_header_stdc=no
8587fi
8588rm -f conftest*
8589
8590fi
8591
8592if test $ac_cv_header_stdc = yes; then
8593  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595/* end confdefs.h.  */
8596#include <stdlib.h>
8597
8598_ACEOF
8599if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8600  $EGREP "free" >/dev/null 2>&1; then :
8601
8602else
8603  ac_cv_header_stdc=no
8604fi
8605rm -f conftest*
8606
8607fi
8608
8609if test $ac_cv_header_stdc = yes; then
8610  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8611  if test "$cross_compiling" = yes; then :
8612  :
8613else
8614  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615/* end confdefs.h.  */
8616#include <ctype.h>
8617#include <stdlib.h>
8618#if ((' ' & 0x0FF) == 0x020)
8619# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8620# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8621#else
8622# define ISLOWER(c) \
8623		   (('a' <= (c) && (c) <= 'i') \
8624		     || ('j' <= (c) && (c) <= 'r') \
8625		     || ('s' <= (c) && (c) <= 'z'))
8626# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8627#endif
8628
8629#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8630int
8631main ()
8632{
8633  int i;
8634  for (i = 0; i < 256; i++)
8635    if (XOR (islower (i), ISLOWER (i))
8636	|| toupper (i) != TOUPPER (i))
8637      return 2;
8638  return 0;
8639}
8640_ACEOF
8641if ac_fn_c_try_run "$LINENO"; then :
8642
8643else
8644  ac_cv_header_stdc=no
8645fi
8646rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8647  conftest.$ac_objext conftest.beam conftest.$ac_ext
8648fi
8649
8650fi
8651fi
8652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8653$as_echo "$ac_cv_header_stdc" >&6; }
8654if test $ac_cv_header_stdc = yes; then
8655
8656$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8657
8658fi
8659
8660# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8661for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8662		  inttypes.h stdint.h unistd.h
8663do :
8664  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8665ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8666"
8667if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8668  cat >>confdefs.h <<_ACEOF
8669#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8670_ACEOF
8671
8672fi
8673
8674done
8675
8676
8677for ac_header in dlfcn.h
8678do :
8679  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8680"
8681if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8682  cat >>confdefs.h <<_ACEOF
8683#define HAVE_DLFCN_H 1
8684_ACEOF
8685
8686fi
8687
8688done
8689
8690
8691
8692
8693
8694# Set options
8695enable_win32_dll=yes
8696
8697case $host in
8698*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8699  if test -n "$ac_tool_prefix"; then
8700  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8701set dummy ${ac_tool_prefix}as; ac_word=$2
8702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8703$as_echo_n "checking for $ac_word... " >&6; }
8704if ${ac_cv_prog_AS+:} false; then :
8705  $as_echo_n "(cached) " >&6
8706else
8707  if test -n "$AS"; then
8708  ac_cv_prog_AS="$AS" # Let the user override the test.
8709else
8710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8711for as_dir in $PATH
8712do
8713  IFS=$as_save_IFS
8714  test -z "$as_dir" && as_dir=.
8715    for ac_exec_ext in '' $ac_executable_extensions; do
8716  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8717    ac_cv_prog_AS="${ac_tool_prefix}as"
8718    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8719    break 2
8720  fi
8721done
8722  done
8723IFS=$as_save_IFS
8724
8725fi
8726fi
8727AS=$ac_cv_prog_AS
8728if test -n "$AS"; then
8729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8730$as_echo "$AS" >&6; }
8731else
8732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8733$as_echo "no" >&6; }
8734fi
8735
8736
8737fi
8738if test -z "$ac_cv_prog_AS"; then
8739  ac_ct_AS=$AS
8740  # Extract the first word of "as", so it can be a program name with args.
8741set dummy as; ac_word=$2
8742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8743$as_echo_n "checking for $ac_word... " >&6; }
8744if ${ac_cv_prog_ac_ct_AS+:} false; then :
8745  $as_echo_n "(cached) " >&6
8746else
8747  if test -n "$ac_ct_AS"; then
8748  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8749else
8750as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8751for as_dir in $PATH
8752do
8753  IFS=$as_save_IFS
8754  test -z "$as_dir" && as_dir=.
8755    for ac_exec_ext in '' $ac_executable_extensions; do
8756  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8757    ac_cv_prog_ac_ct_AS="as"
8758    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8759    break 2
8760  fi
8761done
8762  done
8763IFS=$as_save_IFS
8764
8765fi
8766fi
8767ac_ct_AS=$ac_cv_prog_ac_ct_AS
8768if test -n "$ac_ct_AS"; then
8769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8770$as_echo "$ac_ct_AS" >&6; }
8771else
8772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8773$as_echo "no" >&6; }
8774fi
8775
8776  if test "x$ac_ct_AS" = x; then
8777    AS="false"
8778  else
8779    case $cross_compiling:$ac_tool_warned in
8780yes:)
8781{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8782$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8783ac_tool_warned=yes ;;
8784esac
8785    AS=$ac_ct_AS
8786  fi
8787else
8788  AS="$ac_cv_prog_AS"
8789fi
8790
8791  if test -n "$ac_tool_prefix"; then
8792  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8793set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8795$as_echo_n "checking for $ac_word... " >&6; }
8796if ${ac_cv_prog_DLLTOOL+:} false; then :
8797  $as_echo_n "(cached) " >&6
8798else
8799  if test -n "$DLLTOOL"; then
8800  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8801else
8802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8803for as_dir in $PATH
8804do
8805  IFS=$as_save_IFS
8806  test -z "$as_dir" && as_dir=.
8807    for ac_exec_ext in '' $ac_executable_extensions; do
8808  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8809    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8810    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8811    break 2
8812  fi
8813done
8814  done
8815IFS=$as_save_IFS
8816
8817fi
8818fi
8819DLLTOOL=$ac_cv_prog_DLLTOOL
8820if test -n "$DLLTOOL"; then
8821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8822$as_echo "$DLLTOOL" >&6; }
8823else
8824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8825$as_echo "no" >&6; }
8826fi
8827
8828
8829fi
8830if test -z "$ac_cv_prog_DLLTOOL"; then
8831  ac_ct_DLLTOOL=$DLLTOOL
8832  # Extract the first word of "dlltool", so it can be a program name with args.
8833set dummy dlltool; ac_word=$2
8834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8835$as_echo_n "checking for $ac_word... " >&6; }
8836if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8837  $as_echo_n "(cached) " >&6
8838else
8839  if test -n "$ac_ct_DLLTOOL"; then
8840  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8841else
8842as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8843for as_dir in $PATH
8844do
8845  IFS=$as_save_IFS
8846  test -z "$as_dir" && as_dir=.
8847    for ac_exec_ext in '' $ac_executable_extensions; do
8848  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8849    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8850    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8851    break 2
8852  fi
8853done
8854  done
8855IFS=$as_save_IFS
8856
8857fi
8858fi
8859ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8860if test -n "$ac_ct_DLLTOOL"; then
8861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8862$as_echo "$ac_ct_DLLTOOL" >&6; }
8863else
8864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8865$as_echo "no" >&6; }
8866fi
8867
8868  if test "x$ac_ct_DLLTOOL" = x; then
8869    DLLTOOL="false"
8870  else
8871    case $cross_compiling:$ac_tool_warned in
8872yes:)
8873{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8874$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8875ac_tool_warned=yes ;;
8876esac
8877    DLLTOOL=$ac_ct_DLLTOOL
8878  fi
8879else
8880  DLLTOOL="$ac_cv_prog_DLLTOOL"
8881fi
8882
8883  if test -n "$ac_tool_prefix"; then
8884  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8885set dummy ${ac_tool_prefix}objdump; ac_word=$2
8886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8887$as_echo_n "checking for $ac_word... " >&6; }
8888if ${ac_cv_prog_OBJDUMP+:} false; then :
8889  $as_echo_n "(cached) " >&6
8890else
8891  if test -n "$OBJDUMP"; then
8892  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8893else
8894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8895for as_dir in $PATH
8896do
8897  IFS=$as_save_IFS
8898  test -z "$as_dir" && as_dir=.
8899    for ac_exec_ext in '' $ac_executable_extensions; do
8900  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8901    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8902    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8903    break 2
8904  fi
8905done
8906  done
8907IFS=$as_save_IFS
8908
8909fi
8910fi
8911OBJDUMP=$ac_cv_prog_OBJDUMP
8912if test -n "$OBJDUMP"; then
8913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8914$as_echo "$OBJDUMP" >&6; }
8915else
8916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8917$as_echo "no" >&6; }
8918fi
8919
8920
8921fi
8922if test -z "$ac_cv_prog_OBJDUMP"; then
8923  ac_ct_OBJDUMP=$OBJDUMP
8924  # Extract the first word of "objdump", so it can be a program name with args.
8925set dummy objdump; ac_word=$2
8926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8927$as_echo_n "checking for $ac_word... " >&6; }
8928if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8929  $as_echo_n "(cached) " >&6
8930else
8931  if test -n "$ac_ct_OBJDUMP"; then
8932  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8933else
8934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8935for as_dir in $PATH
8936do
8937  IFS=$as_save_IFS
8938  test -z "$as_dir" && as_dir=.
8939    for ac_exec_ext in '' $ac_executable_extensions; do
8940  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8941    ac_cv_prog_ac_ct_OBJDUMP="objdump"
8942    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8943    break 2
8944  fi
8945done
8946  done
8947IFS=$as_save_IFS
8948
8949fi
8950fi
8951ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8952if test -n "$ac_ct_OBJDUMP"; then
8953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8954$as_echo "$ac_ct_OBJDUMP" >&6; }
8955else
8956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957$as_echo "no" >&6; }
8958fi
8959
8960  if test "x$ac_ct_OBJDUMP" = x; then
8961    OBJDUMP="false"
8962  else
8963    case $cross_compiling:$ac_tool_warned in
8964yes:)
8965{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8966$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8967ac_tool_warned=yes ;;
8968esac
8969    OBJDUMP=$ac_ct_OBJDUMP
8970  fi
8971else
8972  OBJDUMP="$ac_cv_prog_OBJDUMP"
8973fi
8974
8975  ;;
8976esac
8977
8978test -z "$AS" && AS=as
8979
8980
8981
8982
8983
8984test -z "$DLLTOOL" && DLLTOOL=dlltool
8985
8986
8987
8988
8989
8990test -z "$OBJDUMP" && OBJDUMP=objdump
8991
8992
8993
8994
8995
8996
8997
8998        enable_dlopen=no
8999
9000
9001
9002            # Check whether --enable-shared was given.
9003if test "${enable_shared+set}" = set; then :
9004  enableval=$enable_shared; p=${PACKAGE-default}
9005    case $enableval in
9006    yes) enable_shared=yes ;;
9007    no) enable_shared=no ;;
9008    *)
9009      enable_shared=no
9010      # Look at the argument we got.  We use all the common list separators.
9011      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9012      for pkg in $enableval; do
9013	IFS=$lt_save_ifs
9014	if test "X$pkg" = "X$p"; then
9015	  enable_shared=yes
9016	fi
9017      done
9018      IFS=$lt_save_ifs
9019      ;;
9020    esac
9021else
9022  enable_shared=yes
9023fi
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033  # Check whether --enable-static was given.
9034if test "${enable_static+set}" = set; then :
9035  enableval=$enable_static; p=${PACKAGE-default}
9036    case $enableval in
9037    yes) enable_static=yes ;;
9038    no) enable_static=no ;;
9039    *)
9040     enable_static=no
9041      # Look at the argument we got.  We use all the common list separators.
9042      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9043      for pkg in $enableval; do
9044	IFS=$lt_save_ifs
9045	if test "X$pkg" = "X$p"; then
9046	  enable_static=yes
9047	fi
9048      done
9049      IFS=$lt_save_ifs
9050      ;;
9051    esac
9052else
9053  enable_static=yes
9054fi
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065# Check whether --with-pic was given.
9066if test "${with_pic+set}" = set; then :
9067  withval=$with_pic; lt_p=${PACKAGE-default}
9068    case $withval in
9069    yes|no) pic_mode=$withval ;;
9070    *)
9071      pic_mode=default
9072      # Look at the argument we got.  We use all the common list separators.
9073      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9074      for lt_pkg in $withval; do
9075	IFS=$lt_save_ifs
9076	if test "X$lt_pkg" = "X$lt_p"; then
9077	  pic_mode=yes
9078	fi
9079      done
9080      IFS=$lt_save_ifs
9081      ;;
9082    esac
9083else
9084  pic_mode=default
9085fi
9086
9087
9088
9089
9090
9091
9092
9093
9094  # Check whether --enable-fast-install was given.
9095if test "${enable_fast_install+set}" = set; then :
9096  enableval=$enable_fast_install; p=${PACKAGE-default}
9097    case $enableval in
9098    yes) enable_fast_install=yes ;;
9099    no) enable_fast_install=no ;;
9100    *)
9101      enable_fast_install=no
9102      # Look at the argument we got.  We use all the common list separators.
9103      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9104      for pkg in $enableval; do
9105	IFS=$lt_save_ifs
9106	if test "X$pkg" = "X$p"; then
9107	  enable_fast_install=yes
9108	fi
9109      done
9110      IFS=$lt_save_ifs
9111      ;;
9112    esac
9113else
9114  enable_fast_install=yes
9115fi
9116
9117
9118
9119
9120
9121
9122
9123
9124  shared_archive_member_spec=
9125case $host,$enable_shared in
9126power*-*-aix[5-9]*,yes)
9127  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9128$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9129
9130# Check whether --with-aix-soname was given.
9131if test "${with_aix_soname+set}" = set; then :
9132  withval=$with_aix_soname; case $withval in
9133    aix|svr4|both)
9134      ;;
9135    *)
9136      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9137      ;;
9138    esac
9139    lt_cv_with_aix_soname=$with_aix_soname
9140else
9141  if ${lt_cv_with_aix_soname+:} false; then :
9142  $as_echo_n "(cached) " >&6
9143else
9144  lt_cv_with_aix_soname=aix
9145fi
9146
9147    with_aix_soname=$lt_cv_with_aix_soname
9148fi
9149
9150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9151$as_echo "$with_aix_soname" >&6; }
9152  if test aix != "$with_aix_soname"; then
9153    # For the AIX way of multilib, we name the shared archive member
9154    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9155    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9156    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9157    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9158    if test 64 = "${OBJECT_MODE-32}"; then
9159      shared_archive_member_spec=shr_64
9160    else
9161      shared_archive_member_spec=shr
9162    fi
9163  fi
9164  ;;
9165*)
9166  with_aix_soname=aix
9167  ;;
9168esac
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179# This can be used to rebuild libtool when needed
9180LIBTOOL_DEPS=$ltmain
9181
9182# Always use our own libtool.
9183LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214test -z "$LN_S" && LN_S="ln -s"
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229if test -n "${ZSH_VERSION+set}"; then
9230   setopt NO_GLOB_SUBST
9231fi
9232
9233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9234$as_echo_n "checking for objdir... " >&6; }
9235if ${lt_cv_objdir+:} false; then :
9236  $as_echo_n "(cached) " >&6
9237else
9238  rm -f .libs 2>/dev/null
9239mkdir .libs 2>/dev/null
9240if test -d .libs; then
9241  lt_cv_objdir=.libs
9242else
9243  # MS-DOS does not allow filenames that begin with a dot.
9244  lt_cv_objdir=_libs
9245fi
9246rmdir .libs 2>/dev/null
9247fi
9248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9249$as_echo "$lt_cv_objdir" >&6; }
9250objdir=$lt_cv_objdir
9251
9252
9253
9254
9255
9256cat >>confdefs.h <<_ACEOF
9257#define LT_OBJDIR "$lt_cv_objdir/"
9258_ACEOF
9259
9260
9261
9262
9263case $host_os in
9264aix3*)
9265  # AIX sometimes has problems with the GCC collect2 program.  For some
9266  # reason, if we set the COLLECT_NAMES environment variable, the problems
9267  # vanish in a puff of smoke.
9268  if test set != "${COLLECT_NAMES+set}"; then
9269    COLLECT_NAMES=
9270    export COLLECT_NAMES
9271  fi
9272  ;;
9273esac
9274
9275# Global variables:
9276ofile=libtool
9277can_build_shared=yes
9278
9279# All known linkers require a '.a' archive for static linking (except MSVC,
9280# which needs '.lib').
9281libext=a
9282
9283with_gnu_ld=$lt_cv_prog_gnu_ld
9284
9285old_CC=$CC
9286old_CFLAGS=$CFLAGS
9287
9288# Set sane defaults for various variables
9289test -z "$CC" && CC=cc
9290test -z "$LTCC" && LTCC=$CC
9291test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9292test -z "$LD" && LD=ld
9293test -z "$ac_objext" && ac_objext=o
9294
9295func_cc_basename $compiler
9296cc_basename=$func_cc_basename_result
9297
9298
9299# Only perform the check for file, if the check method requires it
9300test -z "$MAGIC_CMD" && MAGIC_CMD=file
9301case $deplibs_check_method in
9302file_magic*)
9303  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9304    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9305$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9306if ${lt_cv_path_MAGIC_CMD+:} false; then :
9307  $as_echo_n "(cached) " >&6
9308else
9309  case $MAGIC_CMD in
9310[\\/*] |  ?:[\\/]*)
9311  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9312  ;;
9313*)
9314  lt_save_MAGIC_CMD=$MAGIC_CMD
9315  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9316  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9317  for ac_dir in $ac_dummy; do
9318    IFS=$lt_save_ifs
9319    test -z "$ac_dir" && ac_dir=.
9320    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9321      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9322      if test -n "$file_magic_test_file"; then
9323	case $deplibs_check_method in
9324	"file_magic "*)
9325	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9326	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9327	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9328	    $EGREP "$file_magic_regex" > /dev/null; then
9329	    :
9330	  else
9331	    cat <<_LT_EOF 1>&2
9332
9333*** Warning: the command libtool uses to detect shared libraries,
9334*** $file_magic_cmd, produces output that libtool cannot recognize.
9335*** The result is that libtool may fail to recognize shared libraries
9336*** as such.  This will affect the creation of libtool libraries that
9337*** depend on shared libraries, but programs linked with such libtool
9338*** libraries will work regardless of this problem.  Nevertheless, you
9339*** may want to report the problem to your system manager and/or to
9340*** bug-libtool@gnu.org
9341
9342_LT_EOF
9343	  fi ;;
9344	esac
9345      fi
9346      break
9347    fi
9348  done
9349  IFS=$lt_save_ifs
9350  MAGIC_CMD=$lt_save_MAGIC_CMD
9351  ;;
9352esac
9353fi
9354
9355MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9356if test -n "$MAGIC_CMD"; then
9357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9358$as_echo "$MAGIC_CMD" >&6; }
9359else
9360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9361$as_echo "no" >&6; }
9362fi
9363
9364
9365
9366
9367
9368if test -z "$lt_cv_path_MAGIC_CMD"; then
9369  if test -n "$ac_tool_prefix"; then
9370    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9371$as_echo_n "checking for file... " >&6; }
9372if ${lt_cv_path_MAGIC_CMD+:} false; then :
9373  $as_echo_n "(cached) " >&6
9374else
9375  case $MAGIC_CMD in
9376[\\/*] |  ?:[\\/]*)
9377  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9378  ;;
9379*)
9380  lt_save_MAGIC_CMD=$MAGIC_CMD
9381  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9382  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9383  for ac_dir in $ac_dummy; do
9384    IFS=$lt_save_ifs
9385    test -z "$ac_dir" && ac_dir=.
9386    if test -f "$ac_dir/file"; then
9387      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9388      if test -n "$file_magic_test_file"; then
9389	case $deplibs_check_method in
9390	"file_magic "*)
9391	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9392	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9393	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9394	    $EGREP "$file_magic_regex" > /dev/null; then
9395	    :
9396	  else
9397	    cat <<_LT_EOF 1>&2
9398
9399*** Warning: the command libtool uses to detect shared libraries,
9400*** $file_magic_cmd, produces output that libtool cannot recognize.
9401*** The result is that libtool may fail to recognize shared libraries
9402*** as such.  This will affect the creation of libtool libraries that
9403*** depend on shared libraries, but programs linked with such libtool
9404*** libraries will work regardless of this problem.  Nevertheless, you
9405*** may want to report the problem to your system manager and/or to
9406*** bug-libtool@gnu.org
9407
9408_LT_EOF
9409	  fi ;;
9410	esac
9411      fi
9412      break
9413    fi
9414  done
9415  IFS=$lt_save_ifs
9416  MAGIC_CMD=$lt_save_MAGIC_CMD
9417  ;;
9418esac
9419fi
9420
9421MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9422if test -n "$MAGIC_CMD"; then
9423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9424$as_echo "$MAGIC_CMD" >&6; }
9425else
9426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9427$as_echo "no" >&6; }
9428fi
9429
9430
9431  else
9432    MAGIC_CMD=:
9433  fi
9434fi
9435
9436  fi
9437  ;;
9438esac
9439
9440# Use C for the default configuration in the libtool script
9441
9442lt_save_CC=$CC
9443ac_ext=c
9444ac_cpp='$CPP $CPPFLAGS'
9445ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9446ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9447ac_compiler_gnu=$ac_cv_c_compiler_gnu
9448
9449
9450# Source file extension for C test sources.
9451ac_ext=c
9452
9453# Object file extension for compiled C test sources.
9454objext=o
9455objext=$objext
9456
9457# Code to be used in simple compile tests
9458lt_simple_compile_test_code="int some_variable = 0;"
9459
9460# Code to be used in simple link tests
9461lt_simple_link_test_code='int main(){return(0);}'
9462
9463
9464
9465
9466
9467
9468
9469# If no C compiler was specified, use CC.
9470LTCC=${LTCC-"$CC"}
9471
9472# If no C compiler flags were specified, use CFLAGS.
9473LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9474
9475# Allow CC to be a program name with arguments.
9476compiler=$CC
9477
9478# Save the default compiler, since it gets overwritten when the other
9479# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9480compiler_DEFAULT=$CC
9481
9482# save warnings/boilerplate of simple test code
9483ac_outfile=conftest.$ac_objext
9484echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9485eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9486_lt_compiler_boilerplate=`cat conftest.err`
9487$RM conftest*
9488
9489ac_outfile=conftest.$ac_objext
9490echo "$lt_simple_link_test_code" >conftest.$ac_ext
9491eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9492_lt_linker_boilerplate=`cat conftest.err`
9493$RM -r conftest*
9494
9495
9496## CAVEAT EMPTOR:
9497## There is no encapsulation within the following macros, do not change
9498## the running order or otherwise move them around unless you know exactly
9499## what you are doing...
9500if test -n "$compiler"; then
9501
9502lt_prog_compiler_no_builtin_flag=
9503
9504if test yes = "$GCC"; then
9505  case $cc_basename in
9506  nvcc*)
9507    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9508  *)
9509    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9510  esac
9511
9512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9513$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9514if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9515  $as_echo_n "(cached) " >&6
9516else
9517  lt_cv_prog_compiler_rtti_exceptions=no
9518   ac_outfile=conftest.$ac_objext
9519   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9520   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9521   # Insert the option either (1) after the last *FLAGS variable, or
9522   # (2) before a word containing "conftest.", or (3) at the end.
9523   # Note that $ac_compile itself does not contain backslashes and begins
9524   # with a dollar sign (not a hyphen), so the echo should work correctly.
9525   # The option is referenced via a variable to avoid confusing sed.
9526   lt_compile=`echo "$ac_compile" | $SED \
9527   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9528   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9529   -e 's:$: $lt_compiler_flag:'`
9530   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9531   (eval "$lt_compile" 2>conftest.err)
9532   ac_status=$?
9533   cat conftest.err >&5
9534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535   if (exit $ac_status) && test -s "$ac_outfile"; then
9536     # The compiler can only warn and ignore the option if not recognized
9537     # So say no if there are warnings other than the usual output.
9538     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9539     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9540     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9541       lt_cv_prog_compiler_rtti_exceptions=yes
9542     fi
9543   fi
9544   $RM conftest*
9545
9546fi
9547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9548$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9549
9550if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9551    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9552else
9553    :
9554fi
9555
9556fi
9557
9558
9559
9560
9561
9562
9563  lt_prog_compiler_wl=
9564lt_prog_compiler_pic=
9565lt_prog_compiler_static=
9566
9567
9568  if test yes = "$GCC"; then
9569    lt_prog_compiler_wl='-Wl,'
9570    lt_prog_compiler_static='-static'
9571
9572    case $host_os in
9573      aix*)
9574      # All AIX code is PIC.
9575      if test ia64 = "$host_cpu"; then
9576	# AIX 5 now supports IA64 processor
9577	lt_prog_compiler_static='-Bstatic'
9578      fi
9579      lt_prog_compiler_pic='-fPIC'
9580      ;;
9581
9582    amigaos*)
9583      case $host_cpu in
9584      powerpc)
9585            # see comment about AmigaOS4 .so support
9586            lt_prog_compiler_pic='-fPIC'
9587        ;;
9588      m68k)
9589            # FIXME: we need at least 68020 code to build shared libraries, but
9590            # adding the '-m68020' flag to GCC prevents building anything better,
9591            # like '-m68040'.
9592            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9593        ;;
9594      esac
9595      ;;
9596
9597    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9598      # PIC is the default for these OSes.
9599      ;;
9600
9601    mingw* | cygwin* | pw32* | os2* | cegcc*)
9602      # This hack is so that the source file can tell whether it is being
9603      # built for inclusion in a dll (and should export symbols for example).
9604      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9605      # (--disable-auto-import) libraries
9606      lt_prog_compiler_pic='-DDLL_EXPORT'
9607      case $host_os in
9608      os2*)
9609	lt_prog_compiler_static='$wl-static'
9610	;;
9611      esac
9612      ;;
9613
9614    darwin* | rhapsody*)
9615      # PIC is the default on this platform
9616      # Common symbols not allowed in MH_DYLIB files
9617      lt_prog_compiler_pic='-fno-common'
9618      ;;
9619
9620    haiku*)
9621      # PIC is the default for Haiku.
9622      # The "-static" flag exists, but is broken.
9623      lt_prog_compiler_static=
9624      ;;
9625
9626    hpux*)
9627      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9628      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9629      # sets the default TLS model and affects inlining.
9630      case $host_cpu in
9631      hppa*64*)
9632	# +Z the default
9633	;;
9634      *)
9635	lt_prog_compiler_pic='-fPIC'
9636	;;
9637      esac
9638      ;;
9639
9640    interix[3-9]*)
9641      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9642      # Instead, we relocate shared libraries at runtime.
9643      ;;
9644
9645    msdosdjgpp*)
9646      # Just because we use GCC doesn't mean we suddenly get shared libraries
9647      # on systems that don't support them.
9648      lt_prog_compiler_can_build_shared=no
9649      enable_shared=no
9650      ;;
9651
9652    *nto* | *qnx*)
9653      # QNX uses GNU C++, but need to define -shared option too, otherwise
9654      # it will coredump.
9655      lt_prog_compiler_pic='-fPIC -shared'
9656      ;;
9657
9658    sysv4*MP*)
9659      if test -d /usr/nec; then
9660	lt_prog_compiler_pic=-Kconform_pic
9661      fi
9662      ;;
9663
9664    *)
9665      lt_prog_compiler_pic='-fPIC'
9666      ;;
9667    esac
9668
9669    case $cc_basename in
9670    nvcc*) # Cuda Compiler Driver 2.2
9671      lt_prog_compiler_wl='-Xlinker '
9672      if test -n "$lt_prog_compiler_pic"; then
9673        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9674      fi
9675      ;;
9676    esac
9677  else
9678    # PORTME Check for flag to pass linker flags through the system compiler.
9679    case $host_os in
9680    aix*)
9681      lt_prog_compiler_wl='-Wl,'
9682      if test ia64 = "$host_cpu"; then
9683	# AIX 5 now supports IA64 processor
9684	lt_prog_compiler_static='-Bstatic'
9685      else
9686	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9687      fi
9688      ;;
9689
9690    darwin* | rhapsody*)
9691      # PIC is the default on this platform
9692      # Common symbols not allowed in MH_DYLIB files
9693      lt_prog_compiler_pic='-fno-common'
9694      case $cc_basename in
9695      nagfor*)
9696        # NAG Fortran compiler
9697        lt_prog_compiler_wl='-Wl,-Wl,,'
9698        lt_prog_compiler_pic='-PIC'
9699        lt_prog_compiler_static='-Bstatic'
9700        ;;
9701      esac
9702      ;;
9703
9704    mingw* | cygwin* | pw32* | os2* | cegcc*)
9705      # This hack is so that the source file can tell whether it is being
9706      # built for inclusion in a dll (and should export symbols for example).
9707      lt_prog_compiler_pic='-DDLL_EXPORT'
9708      case $host_os in
9709      os2*)
9710	lt_prog_compiler_static='$wl-static'
9711	;;
9712      esac
9713      ;;
9714
9715    hpux9* | hpux10* | hpux11*)
9716      lt_prog_compiler_wl='-Wl,'
9717      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9718      # not for PA HP-UX.
9719      case $host_cpu in
9720      hppa*64*|ia64*)
9721	# +Z the default
9722	;;
9723      *)
9724	lt_prog_compiler_pic='+Z'
9725	;;
9726      esac
9727      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9728      lt_prog_compiler_static='$wl-a ${wl}archive'
9729      ;;
9730
9731    irix5* | irix6* | nonstopux*)
9732      lt_prog_compiler_wl='-Wl,'
9733      # PIC (with -KPIC) is the default.
9734      lt_prog_compiler_static='-non_shared'
9735      ;;
9736
9737    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9738      case $cc_basename in
9739      # old Intel for x86_64, which still supported -KPIC.
9740      ecc*)
9741	lt_prog_compiler_wl='-Wl,'
9742	lt_prog_compiler_pic='-KPIC'
9743	lt_prog_compiler_static='-static'
9744        ;;
9745      # icc used to be incompatible with GCC.
9746      # ICC 10 doesn't accept -KPIC any more.
9747      icc* | ifort*)
9748	lt_prog_compiler_wl='-Wl,'
9749	lt_prog_compiler_pic='-fPIC'
9750	lt_prog_compiler_static='-static'
9751        ;;
9752      # Lahey Fortran 8.1.
9753      lf95*)
9754	lt_prog_compiler_wl='-Wl,'
9755	lt_prog_compiler_pic='--shared'
9756	lt_prog_compiler_static='--static'
9757	;;
9758      nagfor*)
9759	# NAG Fortran compiler
9760	lt_prog_compiler_wl='-Wl,-Wl,,'
9761	lt_prog_compiler_pic='-PIC'
9762	lt_prog_compiler_static='-Bstatic'
9763	;;
9764      tcc*)
9765	# Fabrice Bellard et al's Tiny C Compiler
9766	lt_prog_compiler_wl='-Wl,'
9767	lt_prog_compiler_pic='-fPIC'
9768	lt_prog_compiler_static='-static'
9769	;;
9770      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9771        # Portland Group compilers (*not* the Pentium gcc compiler,
9772	# which looks to be a dead project)
9773	lt_prog_compiler_wl='-Wl,'
9774	lt_prog_compiler_pic='-fpic'
9775	lt_prog_compiler_static='-Bstatic'
9776        ;;
9777      ccc*)
9778        lt_prog_compiler_wl='-Wl,'
9779        # All Alpha code is PIC.
9780        lt_prog_compiler_static='-non_shared'
9781        ;;
9782      xl* | bgxl* | bgf* | mpixl*)
9783	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9784	lt_prog_compiler_wl='-Wl,'
9785	lt_prog_compiler_pic='-qpic'
9786	lt_prog_compiler_static='-qstaticlink'
9787	;;
9788      *)
9789	case `$CC -V 2>&1 | sed 5q` in
9790	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9791	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9792	  lt_prog_compiler_pic='-KPIC'
9793	  lt_prog_compiler_static='-Bstatic'
9794	  lt_prog_compiler_wl=''
9795	  ;;
9796	*Sun\ F* | *Sun*Fortran*)
9797	  lt_prog_compiler_pic='-KPIC'
9798	  lt_prog_compiler_static='-Bstatic'
9799	  lt_prog_compiler_wl='-Qoption ld '
9800	  ;;
9801	*Sun\ C*)
9802	  # Sun C 5.9
9803	  lt_prog_compiler_pic='-KPIC'
9804	  lt_prog_compiler_static='-Bstatic'
9805	  lt_prog_compiler_wl='-Wl,'
9806	  ;;
9807        *Intel*\ [CF]*Compiler*)
9808	  lt_prog_compiler_wl='-Wl,'
9809	  lt_prog_compiler_pic='-fPIC'
9810	  lt_prog_compiler_static='-static'
9811	  ;;
9812	*Portland\ Group*)
9813	  lt_prog_compiler_wl='-Wl,'
9814	  lt_prog_compiler_pic='-fpic'
9815	  lt_prog_compiler_static='-Bstatic'
9816	  ;;
9817	esac
9818	;;
9819      esac
9820      ;;
9821
9822    newsos6)
9823      lt_prog_compiler_pic='-KPIC'
9824      lt_prog_compiler_static='-Bstatic'
9825      ;;
9826
9827    *nto* | *qnx*)
9828      # QNX uses GNU C++, but need to define -shared option too, otherwise
9829      # it will coredump.
9830      lt_prog_compiler_pic='-fPIC -shared'
9831      ;;
9832
9833    osf3* | osf4* | osf5*)
9834      lt_prog_compiler_wl='-Wl,'
9835      # All OSF/1 code is PIC.
9836      lt_prog_compiler_static='-non_shared'
9837      ;;
9838
9839    rdos*)
9840      lt_prog_compiler_static='-non_shared'
9841      ;;
9842
9843    solaris*)
9844      lt_prog_compiler_pic='-KPIC'
9845      lt_prog_compiler_static='-Bstatic'
9846      case $cc_basename in
9847      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9848	lt_prog_compiler_wl='-Qoption ld ';;
9849      *)
9850	lt_prog_compiler_wl='-Wl,';;
9851      esac
9852      ;;
9853
9854    sunos4*)
9855      lt_prog_compiler_wl='-Qoption ld '
9856      lt_prog_compiler_pic='-PIC'
9857      lt_prog_compiler_static='-Bstatic'
9858      ;;
9859
9860    sysv4 | sysv4.2uw2* | sysv4.3*)
9861      lt_prog_compiler_wl='-Wl,'
9862      lt_prog_compiler_pic='-KPIC'
9863      lt_prog_compiler_static='-Bstatic'
9864      ;;
9865
9866    sysv4*MP*)
9867      if test -d /usr/nec; then
9868	lt_prog_compiler_pic='-Kconform_pic'
9869	lt_prog_compiler_static='-Bstatic'
9870      fi
9871      ;;
9872
9873    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9874      lt_prog_compiler_wl='-Wl,'
9875      lt_prog_compiler_pic='-KPIC'
9876      lt_prog_compiler_static='-Bstatic'
9877      ;;
9878
9879    unicos*)
9880      lt_prog_compiler_wl='-Wl,'
9881      lt_prog_compiler_can_build_shared=no
9882      ;;
9883
9884    uts4*)
9885      lt_prog_compiler_pic='-pic'
9886      lt_prog_compiler_static='-Bstatic'
9887      ;;
9888
9889    *)
9890      lt_prog_compiler_can_build_shared=no
9891      ;;
9892    esac
9893  fi
9894
9895case $host_os in
9896  # For platforms that do not support PIC, -DPIC is meaningless:
9897  *djgpp*)
9898    lt_prog_compiler_pic=
9899    ;;
9900  *)
9901    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9902    ;;
9903esac
9904
9905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9906$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9907if ${lt_cv_prog_compiler_pic+:} false; then :
9908  $as_echo_n "(cached) " >&6
9909else
9910  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9911fi
9912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9913$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9914lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9915
9916#
9917# Check to make sure the PIC flag actually works.
9918#
9919if test -n "$lt_prog_compiler_pic"; then
9920  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9921$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9922if ${lt_cv_prog_compiler_pic_works+:} false; then :
9923  $as_echo_n "(cached) " >&6
9924else
9925  lt_cv_prog_compiler_pic_works=no
9926   ac_outfile=conftest.$ac_objext
9927   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9928   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9929   # Insert the option either (1) after the last *FLAGS variable, or
9930   # (2) before a word containing "conftest.", or (3) at the end.
9931   # Note that $ac_compile itself does not contain backslashes and begins
9932   # with a dollar sign (not a hyphen), so the echo should work correctly.
9933   # The option is referenced via a variable to avoid confusing sed.
9934   lt_compile=`echo "$ac_compile" | $SED \
9935   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9936   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9937   -e 's:$: $lt_compiler_flag:'`
9938   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9939   (eval "$lt_compile" 2>conftest.err)
9940   ac_status=$?
9941   cat conftest.err >&5
9942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943   if (exit $ac_status) && test -s "$ac_outfile"; then
9944     # The compiler can only warn and ignore the option if not recognized
9945     # So say no if there are warnings other than the usual output.
9946     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9947     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9948     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9949       lt_cv_prog_compiler_pic_works=yes
9950     fi
9951   fi
9952   $RM conftest*
9953
9954fi
9955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9956$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9957
9958if test yes = "$lt_cv_prog_compiler_pic_works"; then
9959    case $lt_prog_compiler_pic in
9960     "" | " "*) ;;
9961     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9962     esac
9963else
9964    lt_prog_compiler_pic=
9965     lt_prog_compiler_can_build_shared=no
9966fi
9967
9968fi
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980#
9981# Check to make sure the static flag actually works.
9982#
9983wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9985$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9986if ${lt_cv_prog_compiler_static_works+:} false; then :
9987  $as_echo_n "(cached) " >&6
9988else
9989  lt_cv_prog_compiler_static_works=no
9990   save_LDFLAGS=$LDFLAGS
9991   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9992   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9993   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9994     # The linker can only warn and ignore the option if not recognized
9995     # So say no if there are warnings
9996     if test -s conftest.err; then
9997       # Append any errors to the config.log.
9998       cat conftest.err 1>&5
9999       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10000       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10001       if diff conftest.exp conftest.er2 >/dev/null; then
10002         lt_cv_prog_compiler_static_works=yes
10003       fi
10004     else
10005       lt_cv_prog_compiler_static_works=yes
10006     fi
10007   fi
10008   $RM -r conftest*
10009   LDFLAGS=$save_LDFLAGS
10010
10011fi
10012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10013$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10014
10015if test yes = "$lt_cv_prog_compiler_static_works"; then
10016    :
10017else
10018    lt_prog_compiler_static=
10019fi
10020
10021
10022
10023
10024
10025
10026
10027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10028$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10029if ${lt_cv_prog_compiler_c_o+:} false; then :
10030  $as_echo_n "(cached) " >&6
10031else
10032  lt_cv_prog_compiler_c_o=no
10033   $RM -r conftest 2>/dev/null
10034   mkdir conftest
10035   cd conftest
10036   mkdir out
10037   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10038
10039   lt_compiler_flag="-o out/conftest2.$ac_objext"
10040   # Insert the option either (1) after the last *FLAGS variable, or
10041   # (2) before a word containing "conftest.", or (3) at the end.
10042   # Note that $ac_compile itself does not contain backslashes and begins
10043   # with a dollar sign (not a hyphen), so the echo should work correctly.
10044   lt_compile=`echo "$ac_compile" | $SED \
10045   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10046   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10047   -e 's:$: $lt_compiler_flag:'`
10048   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10049   (eval "$lt_compile" 2>out/conftest.err)
10050   ac_status=$?
10051   cat out/conftest.err >&5
10052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10054   then
10055     # The compiler can only warn and ignore the option if not recognized
10056     # So say no if there are warnings
10057     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10058     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10059     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10060       lt_cv_prog_compiler_c_o=yes
10061     fi
10062   fi
10063   chmod u+w . 2>&5
10064   $RM conftest*
10065   # SGI C++ compiler will create directory out/ii_files/ for
10066   # template instantiation
10067   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10068   $RM out/* && rmdir out
10069   cd ..
10070   $RM -r conftest
10071   $RM conftest*
10072
10073fi
10074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10075$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10076
10077
10078
10079
10080
10081
10082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10083$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10084if ${lt_cv_prog_compiler_c_o+:} false; then :
10085  $as_echo_n "(cached) " >&6
10086else
10087  lt_cv_prog_compiler_c_o=no
10088   $RM -r conftest 2>/dev/null
10089   mkdir conftest
10090   cd conftest
10091   mkdir out
10092   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10093
10094   lt_compiler_flag="-o out/conftest2.$ac_objext"
10095   # Insert the option either (1) after the last *FLAGS variable, or
10096   # (2) before a word containing "conftest.", or (3) at the end.
10097   # Note that $ac_compile itself does not contain backslashes and begins
10098   # with a dollar sign (not a hyphen), so the echo should work correctly.
10099   lt_compile=`echo "$ac_compile" | $SED \
10100   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10101   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10102   -e 's:$: $lt_compiler_flag:'`
10103   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10104   (eval "$lt_compile" 2>out/conftest.err)
10105   ac_status=$?
10106   cat out/conftest.err >&5
10107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10109   then
10110     # The compiler can only warn and ignore the option if not recognized
10111     # So say no if there are warnings
10112     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10113     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10114     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10115       lt_cv_prog_compiler_c_o=yes
10116     fi
10117   fi
10118   chmod u+w . 2>&5
10119   $RM conftest*
10120   # SGI C++ compiler will create directory out/ii_files/ for
10121   # template instantiation
10122   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10123   $RM out/* && rmdir out
10124   cd ..
10125   $RM -r conftest
10126   $RM conftest*
10127
10128fi
10129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10130$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10131
10132
10133
10134
10135hard_links=nottested
10136if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10137  # do not overwrite the value of need_locks provided by the user
10138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10139$as_echo_n "checking if we can lock with hard links... " >&6; }
10140  hard_links=yes
10141  $RM conftest*
10142  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10143  touch conftest.a
10144  ln conftest.a conftest.b 2>&5 || hard_links=no
10145  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10147$as_echo "$hard_links" >&6; }
10148  if test no = "$hard_links"; then
10149    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10150$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10151    need_locks=warn
10152  fi
10153else
10154  need_locks=no
10155fi
10156
10157
10158
10159
10160
10161
10162  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10163$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10164
10165  runpath_var=
10166  allow_undefined_flag=
10167  always_export_symbols=no
10168  archive_cmds=
10169  archive_expsym_cmds=
10170  compiler_needs_object=no
10171  enable_shared_with_static_runtimes=no
10172  export_dynamic_flag_spec=
10173  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10174  hardcode_automatic=no
10175  hardcode_direct=no
10176  hardcode_direct_absolute=no
10177  hardcode_libdir_flag_spec=
10178  hardcode_libdir_separator=
10179  hardcode_minus_L=no
10180  hardcode_shlibpath_var=unsupported
10181  inherit_rpath=no
10182  link_all_deplibs=unknown
10183  module_cmds=
10184  module_expsym_cmds=
10185  old_archive_from_new_cmds=
10186  old_archive_from_expsyms_cmds=
10187  thread_safe_flag_spec=
10188  whole_archive_flag_spec=
10189  # include_expsyms should be a list of space-separated symbols to be *always*
10190  # included in the symbol list
10191  include_expsyms=
10192  # exclude_expsyms can be an extended regexp of symbols to exclude
10193  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10194  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10195  # as well as any symbol that contains 'd'.
10196  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10197  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10198  # platforms (ab)use it in PIC code, but their linkers get confused if
10199  # the symbol is explicitly referenced.  Since portable code cannot
10200  # rely on this symbol name, it's probably fine to never include it in
10201  # preloaded symbol tables.
10202  # Exclude shared library initialization/finalization symbols.
10203  extract_expsyms_cmds=
10204
10205  case $host_os in
10206  cygwin* | mingw* | pw32* | cegcc*)
10207    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10208    # When not using gcc, we currently assume that we are using
10209    # Microsoft Visual C++.
10210    if test yes != "$GCC"; then
10211      with_gnu_ld=no
10212    fi
10213    ;;
10214  interix*)
10215    # we just hope/assume this is gcc and not c89 (= MSVC++)
10216    with_gnu_ld=yes
10217    ;;
10218  openbsd* | bitrig*)
10219    with_gnu_ld=no
10220    ;;
10221  esac
10222
10223  ld_shlibs=yes
10224
10225  # On some targets, GNU ld is compatible enough with the native linker
10226  # that we're better off using the native interface for both.
10227  lt_use_gnu_ld_interface=no
10228  if test yes = "$with_gnu_ld"; then
10229    case $host_os in
10230      aix*)
10231	# The AIX port of GNU ld has always aspired to compatibility
10232	# with the native linker.  However, as the warning in the GNU ld
10233	# block says, versions before 2.19.5* couldn't really create working
10234	# shared libraries, regardless of the interface used.
10235	case `$LD -v 2>&1` in
10236	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10237	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10238	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10239	  *)
10240	    lt_use_gnu_ld_interface=yes
10241	    ;;
10242	esac
10243	;;
10244      *)
10245	lt_use_gnu_ld_interface=yes
10246	;;
10247    esac
10248  fi
10249
10250  if test yes = "$lt_use_gnu_ld_interface"; then
10251    # If archive_cmds runs LD, not CC, wlarc should be empty
10252    wlarc='$wl'
10253
10254    # Set some defaults for GNU ld with shared library support. These
10255    # are reset later if shared libraries are not supported. Putting them
10256    # here allows them to be overridden if necessary.
10257    runpath_var=LD_RUN_PATH
10258    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10259    export_dynamic_flag_spec='$wl--export-dynamic'
10260    # ancient GNU ld didn't support --whole-archive et. al.
10261    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10262      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10263    else
10264      whole_archive_flag_spec=
10265    fi
10266    supports_anon_versioning=no
10267    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10268      *GNU\ gold*) supports_anon_versioning=yes ;;
10269      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10270      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10271      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10272      *\ 2.11.*) ;; # other 2.11 versions
10273      *) supports_anon_versioning=yes ;;
10274    esac
10275
10276    # See if GNU ld supports shared libraries.
10277    case $host_os in
10278    aix[3-9]*)
10279      # On AIX/PPC, the GNU linker is very broken
10280      if test ia64 != "$host_cpu"; then
10281	ld_shlibs=no
10282	cat <<_LT_EOF 1>&2
10283
10284*** Warning: the GNU linker, at least up to release 2.19, is reported
10285*** to be unable to reliably create shared libraries on AIX.
10286*** Therefore, libtool is disabling shared libraries support.  If you
10287*** really care for shared libraries, you may want to install binutils
10288*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10289*** You will then need to restart the configuration process.
10290
10291_LT_EOF
10292      fi
10293      ;;
10294
10295    amigaos*)
10296      case $host_cpu in
10297      powerpc)
10298            # see comment about AmigaOS4 .so support
10299            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10300            archive_expsym_cmds=''
10301        ;;
10302      m68k)
10303            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)'
10304            hardcode_libdir_flag_spec='-L$libdir'
10305            hardcode_minus_L=yes
10306        ;;
10307      esac
10308      ;;
10309
10310    beos*)
10311      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10312	allow_undefined_flag=unsupported
10313	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10314	# support --undefined.  This deserves some investigation.  FIXME
10315	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10316      else
10317	ld_shlibs=no
10318      fi
10319      ;;
10320
10321    cygwin* | mingw* | pw32* | cegcc*)
10322      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10323      # as there is no search path for DLLs.
10324      hardcode_libdir_flag_spec='-L$libdir'
10325      export_dynamic_flag_spec='$wl--export-all-symbols'
10326      allow_undefined_flag=unsupported
10327      always_export_symbols=no
10328      enable_shared_with_static_runtimes=yes
10329      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'
10330      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10331
10332      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10333        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10334	# If the export-symbols file already is a .def file, use it as
10335	# is; otherwise, prepend EXPORTS...
10336	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10337          cp $export_symbols $output_objdir/$soname.def;
10338        else
10339          echo EXPORTS > $output_objdir/$soname.def;
10340          cat $export_symbols >> $output_objdir/$soname.def;
10341        fi~
10342        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10343      else
10344	ld_shlibs=no
10345      fi
10346      ;;
10347
10348    haiku*)
10349      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10350      link_all_deplibs=yes
10351      ;;
10352
10353    os2*)
10354      hardcode_libdir_flag_spec='-L$libdir'
10355      hardcode_minus_L=yes
10356      allow_undefined_flag=unsupported
10357      shrext_cmds=.dll
10358      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10359	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10360	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10361	$ECHO EXPORTS >> $output_objdir/$libname.def~
10362	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10363	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10364	emximp -o $lib $output_objdir/$libname.def'
10365      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10366	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10367	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10368	$ECHO EXPORTS >> $output_objdir/$libname.def~
10369	prefix_cmds="$SED"~
10370	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10371	  prefix_cmds="$prefix_cmds -e 1d";
10372	fi~
10373	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10374	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10375	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10376	emximp -o $lib $output_objdir/$libname.def'
10377      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10378      enable_shared_with_static_runtimes=yes
10379      ;;
10380
10381    interix[3-9]*)
10382      hardcode_direct=no
10383      hardcode_shlibpath_var=no
10384      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10385      export_dynamic_flag_spec='$wl-E'
10386      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10387      # Instead, shared libraries are loaded at an image base (0x10000000 by
10388      # default) and relocated if they conflict, which is a slow very memory
10389      # consuming and fragmenting process.  To avoid this, we pick a random,
10390      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10391      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10392      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10393      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'
10394      ;;
10395
10396    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10397      tmp_diet=no
10398      if test linux-dietlibc = "$host_os"; then
10399	case $cc_basename in
10400	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10401	esac
10402      fi
10403      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10404	 && test no = "$tmp_diet"
10405      then
10406	tmp_addflag=' $pic_flag'
10407	tmp_sharedflag='-shared'
10408	case $cc_basename,$host_cpu in
10409        pgcc*)				# Portland Group C compiler
10410	  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'
10411	  tmp_addflag=' $pic_flag'
10412	  ;;
10413	pgf77* | pgf90* | pgf95* | pgfortran*)
10414					# Portland Group f77 and f90 compilers
10415	  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'
10416	  tmp_addflag=' $pic_flag -Mnomain' ;;
10417	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10418	  tmp_addflag=' -i_dynamic' ;;
10419	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10420	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10421	ifc* | ifort*)			# Intel Fortran compiler
10422	  tmp_addflag=' -nofor_main' ;;
10423	lf95*)				# Lahey Fortran 8.1
10424	  whole_archive_flag_spec=
10425	  tmp_sharedflag='--shared' ;;
10426        nagfor*)                        # NAGFOR 5.3
10427          tmp_sharedflag='-Wl,-shared' ;;
10428	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10429	  tmp_sharedflag='-qmkshrobj'
10430	  tmp_addflag= ;;
10431	nvcc*)	# Cuda Compiler Driver 2.2
10432	  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'
10433	  compiler_needs_object=yes
10434	  ;;
10435	esac
10436	case `$CC -V 2>&1 | sed 5q` in
10437	*Sun\ C*)			# Sun C 5.9
10438	  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'
10439	  compiler_needs_object=yes
10440	  tmp_sharedflag='-G' ;;
10441	*Sun\ F*)			# Sun Fortran 8.3
10442	  tmp_sharedflag='-G' ;;
10443	esac
10444	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10445
10446        if test yes = "$supports_anon_versioning"; then
10447          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10448            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10449            echo "local: *; };" >> $output_objdir/$libname.ver~
10450            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10451        fi
10452
10453	case $cc_basename in
10454	tcc*)
10455	  export_dynamic_flag_spec='-rdynamic'
10456	  ;;
10457	xlf* | bgf* | bgxlf* | mpixlf*)
10458	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10459	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10460	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10461	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10462	  if test yes = "$supports_anon_versioning"; then
10463	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10464              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10465              echo "local: *; };" >> $output_objdir/$libname.ver~
10466              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10467	  fi
10468	  ;;
10469	esac
10470      else
10471        ld_shlibs=no
10472      fi
10473      ;;
10474
10475    netbsd*)
10476      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10477	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10478	wlarc=
10479      else
10480	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10481	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10482      fi
10483      ;;
10484
10485    solaris*)
10486      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10487	ld_shlibs=no
10488	cat <<_LT_EOF 1>&2
10489
10490*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10491*** create shared libraries on Solaris systems.  Therefore, libtool
10492*** is disabling shared libraries support.  We urge you to upgrade GNU
10493*** binutils to release 2.9.1 or newer.  Another option is to modify
10494*** your PATH or compiler configuration so that the native linker is
10495*** used, and then restart.
10496
10497_LT_EOF
10498      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10499	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10500	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10501      else
10502	ld_shlibs=no
10503      fi
10504      ;;
10505
10506    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10507      case `$LD -v 2>&1` in
10508        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10509	ld_shlibs=no
10510	cat <<_LT_EOF 1>&2
10511
10512*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10513*** reliably create shared libraries on SCO systems.  Therefore, libtool
10514*** is disabling shared libraries support.  We urge you to upgrade GNU
10515*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10516*** your PATH or compiler configuration so that the native linker is
10517*** used, and then restart.
10518
10519_LT_EOF
10520	;;
10521	*)
10522	  # For security reasons, it is highly recommended that you always
10523	  # use absolute paths for naming shared libraries, and exclude the
10524	  # DT_RUNPATH tag from executables and libraries.  But doing so
10525	  # requires that you compile everything twice, which is a pain.
10526	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10527	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10528	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10529	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10530	  else
10531	    ld_shlibs=no
10532	  fi
10533	;;
10534      esac
10535      ;;
10536
10537    sunos4*)
10538      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10539      wlarc=
10540      hardcode_direct=yes
10541      hardcode_shlibpath_var=no
10542      ;;
10543
10544    *)
10545      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10546	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10547	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10548      else
10549	ld_shlibs=no
10550      fi
10551      ;;
10552    esac
10553
10554    if test no = "$ld_shlibs"; then
10555      runpath_var=
10556      hardcode_libdir_flag_spec=
10557      export_dynamic_flag_spec=
10558      whole_archive_flag_spec=
10559    fi
10560  else
10561    # PORTME fill in a description of your system's linker (not GNU ld)
10562    case $host_os in
10563    aix3*)
10564      allow_undefined_flag=unsupported
10565      always_export_symbols=yes
10566      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'
10567      # Note: this linker hardcodes the directories in LIBPATH if there
10568      # are no directories specified by -L.
10569      hardcode_minus_L=yes
10570      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10571	# Neither direct hardcoding nor static linking is supported with a
10572	# broken collect2.
10573	hardcode_direct=unsupported
10574      fi
10575      ;;
10576
10577    aix[4-9]*)
10578      if test ia64 = "$host_cpu"; then
10579	# On IA64, the linker does run time linking by default, so we don't
10580	# have to do anything special.
10581	aix_use_runtimelinking=no
10582	exp_sym_flag='-Bexport'
10583	no_entry_flag=
10584      else
10585	# If we're using GNU nm, then we don't want the "-C" option.
10586	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10587	# Without the "-l" option, or with the "-B" option, AIX nm treats
10588	# weak defined symbols like other global defined symbols, whereas
10589	# GNU nm marks them as "W".
10590	# While the 'weak' keyword is ignored in the Export File, we need
10591	# it in the Import File for the 'aix-soname' feature, so we have
10592	# to replace the "-B" option with "-P" for AIX nm.
10593	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10594	  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'
10595	else
10596	  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'
10597	fi
10598	aix_use_runtimelinking=no
10599
10600	# Test if we are trying to use run time linking or normal
10601	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10602	# have runtime linking enabled, and use it for executables.
10603	# For shared libraries, we enable/disable runtime linking
10604	# depending on the kind of the shared library created -
10605	# when "with_aix_soname,aix_use_runtimelinking" is:
10606	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10607	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10608	#            lib.a           static archive
10609	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10610	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10611	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10612	#            lib.a(lib.so.V) shared, rtl:no
10613	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10614	#            lib.a           static archive
10615	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10616	  for ld_flag in $LDFLAGS; do
10617	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10618	    aix_use_runtimelinking=yes
10619	    break
10620	  fi
10621	  done
10622	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10623	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10624	    # so we don't have lib.a shared libs to link our executables.
10625	    # We have to force runtime linking in this case.
10626	    aix_use_runtimelinking=yes
10627	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10628	  fi
10629	  ;;
10630	esac
10631
10632	exp_sym_flag='-bexport'
10633	no_entry_flag='-bnoentry'
10634      fi
10635
10636      # When large executables or shared objects are built, AIX ld can
10637      # have problems creating the table of contents.  If linking a library
10638      # or program results in "error TOC overflow" add -mminimal-toc to
10639      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10640      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10641
10642      archive_cmds=''
10643      hardcode_direct=yes
10644      hardcode_direct_absolute=yes
10645      hardcode_libdir_separator=':'
10646      link_all_deplibs=yes
10647      file_list_spec='$wl-f,'
10648      case $with_aix_soname,$aix_use_runtimelinking in
10649      aix,*) ;; # traditional, no import file
10650      svr4,* | *,yes) # use import file
10651	# The Import File defines what to hardcode.
10652	hardcode_direct=no
10653	hardcode_direct_absolute=no
10654	;;
10655      esac
10656
10657      if test yes = "$GCC"; then
10658	case $host_os in aix4.[012]|aix4.[012].*)
10659	# We only want to do this on AIX 4.2 and lower, the check
10660	# below for broken collect2 doesn't work under 4.3+
10661	  collect2name=`$CC -print-prog-name=collect2`
10662	  if test -f "$collect2name" &&
10663	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10664	  then
10665	  # We have reworked collect2
10666	  :
10667	  else
10668	  # We have old collect2
10669	  hardcode_direct=unsupported
10670	  # It fails to find uninstalled libraries when the uninstalled
10671	  # path is not listed in the libpath.  Setting hardcode_minus_L
10672	  # to unsupported forces relinking
10673	  hardcode_minus_L=yes
10674	  hardcode_libdir_flag_spec='-L$libdir'
10675	  hardcode_libdir_separator=
10676	  fi
10677	  ;;
10678	esac
10679	shared_flag='-shared'
10680	if test yes = "$aix_use_runtimelinking"; then
10681	  shared_flag="$shared_flag "'$wl-G'
10682	fi
10683	# Need to ensure runtime linking is disabled for the traditional
10684	# shared library, or the linker may eventually find shared libraries
10685	# /with/ Import File - we do not want to mix them.
10686	shared_flag_aix='-shared'
10687	shared_flag_svr4='-shared $wl-G'
10688      else
10689	# not using gcc
10690	if test ia64 = "$host_cpu"; then
10691	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10692	# chokes on -Wl,-G. The following line is correct:
10693	  shared_flag='-G'
10694	else
10695	  if test yes = "$aix_use_runtimelinking"; then
10696	    shared_flag='$wl-G'
10697	  else
10698	    shared_flag='$wl-bM:SRE'
10699	  fi
10700	  shared_flag_aix='$wl-bM:SRE'
10701	  shared_flag_svr4='$wl-G'
10702	fi
10703      fi
10704
10705      export_dynamic_flag_spec='$wl-bexpall'
10706      # It seems that -bexpall does not export symbols beginning with
10707      # underscore (_), so it is better to generate a list of symbols to export.
10708      always_export_symbols=yes
10709      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10710	# Warning - without using the other runtime loading flags (-brtl),
10711	# -berok will link without error, but may produce a broken library.
10712	allow_undefined_flag='-berok'
10713        # Determine the default libpath from the value encoded in an
10714        # empty executable.
10715        if test set = "${lt_cv_aix_libpath+set}"; then
10716  aix_libpath=$lt_cv_aix_libpath
10717else
10718  if ${lt_cv_aix_libpath_+:} false; then :
10719  $as_echo_n "(cached) " >&6
10720else
10721  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722/* end confdefs.h.  */
10723
10724int
10725main ()
10726{
10727
10728  ;
10729  return 0;
10730}
10731_ACEOF
10732if ac_fn_c_try_link "$LINENO"; then :
10733
10734  lt_aix_libpath_sed='
10735      /Import File Strings/,/^$/ {
10736	  /^0/ {
10737	      s/^0  *\([^ ]*\) *$/\1/
10738	      p
10739	  }
10740      }'
10741  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10742  # Check for a 64-bit object if we didn't find anything.
10743  if test -z "$lt_cv_aix_libpath_"; then
10744    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10745  fi
10746fi
10747rm -f core conftest.err conftest.$ac_objext \
10748    conftest$ac_exeext conftest.$ac_ext
10749  if test -z "$lt_cv_aix_libpath_"; then
10750    lt_cv_aix_libpath_=/usr/lib:/lib
10751  fi
10752
10753fi
10754
10755  aix_libpath=$lt_cv_aix_libpath_
10756fi
10757
10758        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10759        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
10760      else
10761	if test ia64 = "$host_cpu"; then
10762	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10763	  allow_undefined_flag="-z nodefs"
10764	  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"
10765	else
10766	 # Determine the default libpath from the value encoded in an
10767	 # empty executable.
10768	 if test set = "${lt_cv_aix_libpath+set}"; then
10769  aix_libpath=$lt_cv_aix_libpath
10770else
10771  if ${lt_cv_aix_libpath_+:} false; then :
10772  $as_echo_n "(cached) " >&6
10773else
10774  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775/* end confdefs.h.  */
10776
10777int
10778main ()
10779{
10780
10781  ;
10782  return 0;
10783}
10784_ACEOF
10785if ac_fn_c_try_link "$LINENO"; then :
10786
10787  lt_aix_libpath_sed='
10788      /Import File Strings/,/^$/ {
10789	  /^0/ {
10790	      s/^0  *\([^ ]*\) *$/\1/
10791	      p
10792	  }
10793      }'
10794  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10795  # Check for a 64-bit object if we didn't find anything.
10796  if test -z "$lt_cv_aix_libpath_"; then
10797    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10798  fi
10799fi
10800rm -f core conftest.err conftest.$ac_objext \
10801    conftest$ac_exeext conftest.$ac_ext
10802  if test -z "$lt_cv_aix_libpath_"; then
10803    lt_cv_aix_libpath_=/usr/lib:/lib
10804  fi
10805
10806fi
10807
10808  aix_libpath=$lt_cv_aix_libpath_
10809fi
10810
10811	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10812	  # Warning - without using the other run time loading flags,
10813	  # -berok will link without error, but may produce a broken library.
10814	  no_undefined_flag=' $wl-bernotok'
10815	  allow_undefined_flag=' $wl-berok'
10816	  if test yes = "$with_gnu_ld"; then
10817	    # We only use this code for GNU lds that support --whole-archive.
10818	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10819	  else
10820	    # Exported symbols can be pulled into shared objects from archives
10821	    whole_archive_flag_spec='$convenience'
10822	  fi
10823	  archive_cmds_need_lc=yes
10824	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10825	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10826	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10827	  if test svr4 != "$with_aix_soname"; then
10828	    # This is similar to how AIX traditionally builds its shared libraries.
10829	    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'
10830	  fi
10831	  if test aix != "$with_aix_soname"; then
10832	    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'
10833	  else
10834	    # used by -dlpreopen to get the symbols
10835	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10836	  fi
10837	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10838	fi
10839      fi
10840      ;;
10841
10842    amigaos*)
10843      case $host_cpu in
10844      powerpc)
10845            # see comment about AmigaOS4 .so support
10846            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10847            archive_expsym_cmds=''
10848        ;;
10849      m68k)
10850            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)'
10851            hardcode_libdir_flag_spec='-L$libdir'
10852            hardcode_minus_L=yes
10853        ;;
10854      esac
10855      ;;
10856
10857    bsdi[45]*)
10858      export_dynamic_flag_spec=-rdynamic
10859      ;;
10860
10861    cygwin* | mingw* | pw32* | cegcc*)
10862      # When not using gcc, we currently assume that we are using
10863      # Microsoft Visual C++.
10864      # hardcode_libdir_flag_spec is actually meaningless, as there is
10865      # no search path for DLLs.
10866      case $cc_basename in
10867      cl*)
10868	# Native MSVC
10869	hardcode_libdir_flag_spec=' '
10870	allow_undefined_flag=unsupported
10871	always_export_symbols=yes
10872	file_list_spec='@'
10873	# Tell ltmain to make .lib files, not .a files.
10874	libext=lib
10875	# Tell ltmain to make .dll files, not .so files.
10876	shrext_cmds=.dll
10877	# FIXME: Setting linknames here is a bad hack.
10878	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10879	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10880            cp "$export_symbols" "$output_objdir/$soname.def";
10881            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10882          else
10883            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10884          fi~
10885          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10886          linknames='
10887	# The linker will not automatically build a static lib if we build a DLL.
10888	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10889	enable_shared_with_static_runtimes=yes
10890	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10891	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10892	# Don't use ranlib
10893	old_postinstall_cmds='chmod 644 $oldlib'
10894	postlink_cmds='lt_outputfile="@OUTPUT@"~
10895          lt_tool_outputfile="@TOOL_OUTPUT@"~
10896          case $lt_outputfile in
10897            *.exe|*.EXE) ;;
10898            *)
10899              lt_outputfile=$lt_outputfile.exe
10900              lt_tool_outputfile=$lt_tool_outputfile.exe
10901              ;;
10902          esac~
10903          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10904            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10905            $RM "$lt_outputfile.manifest";
10906          fi'
10907	;;
10908      *)
10909	# Assume MSVC wrapper
10910	hardcode_libdir_flag_spec=' '
10911	allow_undefined_flag=unsupported
10912	# Tell ltmain to make .lib files, not .a files.
10913	libext=lib
10914	# Tell ltmain to make .dll files, not .so files.
10915	shrext_cmds=.dll
10916	# FIXME: Setting linknames here is a bad hack.
10917	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10918	# The linker will automatically build a .lib file if we build a DLL.
10919	old_archive_from_new_cmds='true'
10920	# FIXME: Should let the user specify the lib program.
10921	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10922	enable_shared_with_static_runtimes=yes
10923	;;
10924      esac
10925      ;;
10926
10927    darwin* | rhapsody*)
10928
10929
10930  archive_cmds_need_lc=no
10931  hardcode_direct=no
10932  hardcode_automatic=yes
10933  hardcode_shlibpath_var=unsupported
10934  if test yes = "$lt_cv_ld_force_load"; then
10935    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\"`'
10936
10937  else
10938    whole_archive_flag_spec=''
10939  fi
10940  link_all_deplibs=yes
10941  allow_undefined_flag=$_lt_dar_allow_undefined
10942  case $cc_basename in
10943     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10944     *) _lt_dar_can_shared=$GCC ;;
10945  esac
10946  if test yes = "$_lt_dar_can_shared"; then
10947    output_verbose_link_cmd=func_echo_all
10948    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10949    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10950    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"
10951    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"
10952
10953  else
10954  ld_shlibs=no
10955  fi
10956
10957      ;;
10958
10959    dgux*)
10960      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10961      hardcode_libdir_flag_spec='-L$libdir'
10962      hardcode_shlibpath_var=no
10963      ;;
10964
10965    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10966    # support.  Future versions do this automatically, but an explicit c++rt0.o
10967    # does not break anything, and helps significantly (at the cost of a little
10968    # extra space).
10969    freebsd2.2*)
10970      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10971      hardcode_libdir_flag_spec='-R$libdir'
10972      hardcode_direct=yes
10973      hardcode_shlibpath_var=no
10974      ;;
10975
10976    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10977    freebsd2.*)
10978      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10979      hardcode_direct=yes
10980      hardcode_minus_L=yes
10981      hardcode_shlibpath_var=no
10982      ;;
10983
10984    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10985    freebsd* | dragonfly*)
10986      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10987      hardcode_libdir_flag_spec='-R$libdir'
10988      hardcode_direct=yes
10989      hardcode_shlibpath_var=no
10990      ;;
10991
10992    hpux9*)
10993      if test yes = "$GCC"; then
10994	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'
10995      else
10996	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'
10997      fi
10998      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10999      hardcode_libdir_separator=:
11000      hardcode_direct=yes
11001
11002      # hardcode_minus_L: Not really in the search PATH,
11003      # but as the default location of the library.
11004      hardcode_minus_L=yes
11005      export_dynamic_flag_spec='$wl-E'
11006      ;;
11007
11008    hpux10*)
11009      if test yes,no = "$GCC,$with_gnu_ld"; then
11010	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11011      else
11012	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11013      fi
11014      if test no = "$with_gnu_ld"; then
11015	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11016	hardcode_libdir_separator=:
11017	hardcode_direct=yes
11018	hardcode_direct_absolute=yes
11019	export_dynamic_flag_spec='$wl-E'
11020	# hardcode_minus_L: Not really in the search PATH,
11021	# but as the default location of the library.
11022	hardcode_minus_L=yes
11023      fi
11024      ;;
11025
11026    hpux11*)
11027      if test yes,no = "$GCC,$with_gnu_ld"; then
11028	case $host_cpu in
11029	hppa*64*)
11030	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11031	  ;;
11032	ia64*)
11033	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11034	  ;;
11035	*)
11036	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11037	  ;;
11038	esac
11039      else
11040	case $host_cpu in
11041	hppa*64*)
11042	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11043	  ;;
11044	ia64*)
11045	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11046	  ;;
11047	*)
11048
11049	  # Older versions of the 11.00 compiler do not understand -b yet
11050	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11051	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11052$as_echo_n "checking if $CC understands -b... " >&6; }
11053if ${lt_cv_prog_compiler__b+:} false; then :
11054  $as_echo_n "(cached) " >&6
11055else
11056  lt_cv_prog_compiler__b=no
11057   save_LDFLAGS=$LDFLAGS
11058   LDFLAGS="$LDFLAGS -b"
11059   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11060   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11061     # The linker can only warn and ignore the option if not recognized
11062     # So say no if there are warnings
11063     if test -s conftest.err; then
11064       # Append any errors to the config.log.
11065       cat conftest.err 1>&5
11066       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11067       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11068       if diff conftest.exp conftest.er2 >/dev/null; then
11069         lt_cv_prog_compiler__b=yes
11070       fi
11071     else
11072       lt_cv_prog_compiler__b=yes
11073     fi
11074   fi
11075   $RM -r conftest*
11076   LDFLAGS=$save_LDFLAGS
11077
11078fi
11079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11080$as_echo "$lt_cv_prog_compiler__b" >&6; }
11081
11082if test yes = "$lt_cv_prog_compiler__b"; then
11083    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11084else
11085    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11086fi
11087
11088	  ;;
11089	esac
11090      fi
11091      if test no = "$with_gnu_ld"; then
11092	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11093	hardcode_libdir_separator=:
11094
11095	case $host_cpu in
11096	hppa*64*|ia64*)
11097	  hardcode_direct=no
11098	  hardcode_shlibpath_var=no
11099	  ;;
11100	*)
11101	  hardcode_direct=yes
11102	  hardcode_direct_absolute=yes
11103	  export_dynamic_flag_spec='$wl-E'
11104
11105	  # hardcode_minus_L: Not really in the search PATH,
11106	  # but as the default location of the library.
11107	  hardcode_minus_L=yes
11108	  ;;
11109	esac
11110      fi
11111      ;;
11112
11113    irix5* | irix6* | nonstopux*)
11114      if test yes = "$GCC"; then
11115	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'
11116	# Try to use the -exported_symbol ld option, if it does not
11117	# work, assume that -exports_file does not work either and
11118	# implicitly export all symbols.
11119	# This should be the same for all languages, so no per-tag cache variable.
11120	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11121$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11122if ${lt_cv_irix_exported_symbol+:} false; then :
11123  $as_echo_n "(cached) " >&6
11124else
11125  save_LDFLAGS=$LDFLAGS
11126	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11127	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128/* end confdefs.h.  */
11129int foo (void) { return 0; }
11130_ACEOF
11131if ac_fn_c_try_link "$LINENO"; then :
11132  lt_cv_irix_exported_symbol=yes
11133else
11134  lt_cv_irix_exported_symbol=no
11135fi
11136rm -f core conftest.err conftest.$ac_objext \
11137    conftest$ac_exeext conftest.$ac_ext
11138           LDFLAGS=$save_LDFLAGS
11139fi
11140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11141$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11142	if test yes = "$lt_cv_irix_exported_symbol"; then
11143          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'
11144	fi
11145      else
11146	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'
11147	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'
11148      fi
11149      archive_cmds_need_lc='no'
11150      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11151      hardcode_libdir_separator=:
11152      inherit_rpath=yes
11153      link_all_deplibs=yes
11154      ;;
11155
11156    linux*)
11157      case $cc_basename in
11158      tcc*)
11159	# Fabrice Bellard et al's Tiny C Compiler
11160	ld_shlibs=yes
11161	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11162	;;
11163      esac
11164      ;;
11165
11166    netbsd*)
11167      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11168	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11169      else
11170	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11171      fi
11172      hardcode_libdir_flag_spec='-R$libdir'
11173      hardcode_direct=yes
11174      hardcode_shlibpath_var=no
11175      ;;
11176
11177    newsos6)
11178      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11179      hardcode_direct=yes
11180      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11181      hardcode_libdir_separator=:
11182      hardcode_shlibpath_var=no
11183      ;;
11184
11185    *nto* | *qnx*)
11186      ;;
11187
11188    openbsd* | bitrig*)
11189      if test -f /usr/libexec/ld.so; then
11190	hardcode_direct=yes
11191	hardcode_shlibpath_var=no
11192	hardcode_direct_absolute=yes
11193	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11194	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11195	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11196	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11197	  export_dynamic_flag_spec='$wl-E'
11198	else
11199	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11200	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11201	fi
11202      else
11203	ld_shlibs=no
11204      fi
11205      ;;
11206
11207    os2*)
11208      hardcode_libdir_flag_spec='-L$libdir'
11209      hardcode_minus_L=yes
11210      allow_undefined_flag=unsupported
11211      shrext_cmds=.dll
11212      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11213	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11214	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11215	$ECHO EXPORTS >> $output_objdir/$libname.def~
11216	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11217	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11218	emximp -o $lib $output_objdir/$libname.def'
11219      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11220	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11221	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11222	$ECHO EXPORTS >> $output_objdir/$libname.def~
11223	prefix_cmds="$SED"~
11224	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11225	  prefix_cmds="$prefix_cmds -e 1d";
11226	fi~
11227	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11228	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11229	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11230	emximp -o $lib $output_objdir/$libname.def'
11231      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11232      enable_shared_with_static_runtimes=yes
11233      ;;
11234
11235    osf3*)
11236      if test yes = "$GCC"; then
11237	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11238	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'
11239      else
11240	allow_undefined_flag=' -expect_unresolved \*'
11241	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'
11242      fi
11243      archive_cmds_need_lc='no'
11244      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11245      hardcode_libdir_separator=:
11246      ;;
11247
11248    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11249      if test yes = "$GCC"; then
11250	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11251	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'
11252	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11253      else
11254	allow_undefined_flag=' -expect_unresolved \*'
11255	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'
11256	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~
11257          $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'
11258
11259	# Both c and cxx compiler support -rpath directly
11260	hardcode_libdir_flag_spec='-rpath $libdir'
11261      fi
11262      archive_cmds_need_lc='no'
11263      hardcode_libdir_separator=:
11264      ;;
11265
11266    solaris*)
11267      no_undefined_flag=' -z defs'
11268      if test yes = "$GCC"; then
11269	wlarc='$wl'
11270	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11271	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11272          $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'
11273      else
11274	case `$CC -V 2>&1` in
11275	*"Compilers 5.0"*)
11276	  wlarc=''
11277	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11278	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11279            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11280	  ;;
11281	*)
11282	  wlarc='$wl'
11283	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11284	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11285            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11286	  ;;
11287	esac
11288      fi
11289      hardcode_libdir_flag_spec='-R$libdir'
11290      hardcode_shlibpath_var=no
11291      case $host_os in
11292      solaris2.[0-5] | solaris2.[0-5].*) ;;
11293      *)
11294	# The compiler driver will combine and reorder linker options,
11295	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11296	# but is careful enough not to reorder.
11297	# Supported since Solaris 2.6 (maybe 2.5.1?)
11298	if test yes = "$GCC"; then
11299	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11300	else
11301	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11302	fi
11303	;;
11304      esac
11305      link_all_deplibs=yes
11306      ;;
11307
11308    sunos4*)
11309      if test sequent = "$host_vendor"; then
11310	# Use $CC to link under sequent, because it throws in some extra .o
11311	# files that make .init and .fini sections work.
11312	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11313      else
11314	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11315      fi
11316      hardcode_libdir_flag_spec='-L$libdir'
11317      hardcode_direct=yes
11318      hardcode_minus_L=yes
11319      hardcode_shlibpath_var=no
11320      ;;
11321
11322    sysv4)
11323      case $host_vendor in
11324	sni)
11325	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11326	  hardcode_direct=yes # is this really true???
11327	;;
11328	siemens)
11329	  ## LD is ld it makes a PLAMLIB
11330	  ## CC just makes a GrossModule.
11331	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11332	  reload_cmds='$CC -r -o $output$reload_objs'
11333	  hardcode_direct=no
11334        ;;
11335	motorola)
11336	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11337	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11338	;;
11339      esac
11340      runpath_var='LD_RUN_PATH'
11341      hardcode_shlibpath_var=no
11342      ;;
11343
11344    sysv4.3*)
11345      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11346      hardcode_shlibpath_var=no
11347      export_dynamic_flag_spec='-Bexport'
11348      ;;
11349
11350    sysv4*MP*)
11351      if test -d /usr/nec; then
11352	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11353	hardcode_shlibpath_var=no
11354	runpath_var=LD_RUN_PATH
11355	hardcode_runpath_var=yes
11356	ld_shlibs=yes
11357      fi
11358      ;;
11359
11360    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11361      no_undefined_flag='$wl-z,text'
11362      archive_cmds_need_lc=no
11363      hardcode_shlibpath_var=no
11364      runpath_var='LD_RUN_PATH'
11365
11366      if test yes = "$GCC"; then
11367	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11368	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11369      else
11370	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11371	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11372      fi
11373      ;;
11374
11375    sysv5* | sco3.2v5* | sco5v6*)
11376      # Note: We CANNOT use -z defs as we might desire, because we do not
11377      # link with -lc, and that would cause any symbols used from libc to
11378      # always be unresolved, which means just about no library would
11379      # ever link correctly.  If we're not using GNU ld we use -z text
11380      # though, which does catch some bad symbols but isn't as heavy-handed
11381      # as -z defs.
11382      no_undefined_flag='$wl-z,text'
11383      allow_undefined_flag='$wl-z,nodefs'
11384      archive_cmds_need_lc=no
11385      hardcode_shlibpath_var=no
11386      hardcode_libdir_flag_spec='$wl-R,$libdir'
11387      hardcode_libdir_separator=':'
11388      link_all_deplibs=yes
11389      export_dynamic_flag_spec='$wl-Bexport'
11390      runpath_var='LD_RUN_PATH'
11391
11392      if test yes = "$GCC"; then
11393	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11394	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11395      else
11396	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11397	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11398      fi
11399      ;;
11400
11401    uts4*)
11402      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11403      hardcode_libdir_flag_spec='-L$libdir'
11404      hardcode_shlibpath_var=no
11405      ;;
11406
11407    *)
11408      ld_shlibs=no
11409      ;;
11410    esac
11411
11412    if test sni = "$host_vendor"; then
11413      case $host in
11414      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11415	export_dynamic_flag_spec='$wl-Blargedynsym'
11416	;;
11417      esac
11418    fi
11419  fi
11420
11421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11422$as_echo "$ld_shlibs" >&6; }
11423test no = "$ld_shlibs" && can_build_shared=no
11424
11425with_gnu_ld=$with_gnu_ld
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441#
11442# Do we need to explicitly link libc?
11443#
11444case "x$archive_cmds_need_lc" in
11445x|xyes)
11446  # Assume -lc should be added
11447  archive_cmds_need_lc=yes
11448
11449  if test yes,yes = "$GCC,$enable_shared"; then
11450    case $archive_cmds in
11451    *'~'*)
11452      # FIXME: we may have to deal with multi-command sequences.
11453      ;;
11454    '$CC '*)
11455      # Test whether the compiler implicitly links with -lc since on some
11456      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11457      # to ld, don't add -lc before -lgcc.
11458      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11459$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11460if ${lt_cv_archive_cmds_need_lc+:} false; then :
11461  $as_echo_n "(cached) " >&6
11462else
11463  $RM conftest*
11464	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11465
11466	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11467  (eval $ac_compile) 2>&5
11468  ac_status=$?
11469  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11470  test $ac_status = 0; } 2>conftest.err; then
11471	  soname=conftest
11472	  lib=conftest
11473	  libobjs=conftest.$ac_objext
11474	  deplibs=
11475	  wl=$lt_prog_compiler_wl
11476	  pic_flag=$lt_prog_compiler_pic
11477	  compiler_flags=-v
11478	  linker_flags=-v
11479	  verstring=
11480	  output_objdir=.
11481	  libname=conftest
11482	  lt_save_allow_undefined_flag=$allow_undefined_flag
11483	  allow_undefined_flag=
11484	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11485  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11486  ac_status=$?
11487  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11488  test $ac_status = 0; }
11489	  then
11490	    lt_cv_archive_cmds_need_lc=no
11491	  else
11492	    lt_cv_archive_cmds_need_lc=yes
11493	  fi
11494	  allow_undefined_flag=$lt_save_allow_undefined_flag
11495	else
11496	  cat conftest.err 1>&5
11497	fi
11498	$RM conftest*
11499
11500fi
11501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11502$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11503      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11504      ;;
11505    esac
11506  fi
11507  ;;
11508esac
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11662$as_echo_n "checking dynamic linker characteristics... " >&6; }
11663
11664if test yes = "$GCC"; then
11665  case $host_os in
11666    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11667    *) lt_awk_arg='/^libraries:/' ;;
11668  esac
11669  case $host_os in
11670    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11671    *) lt_sed_strip_eq='s|=/|/|g' ;;
11672  esac
11673  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11674  case $lt_search_path_spec in
11675  *\;*)
11676    # if the path contains ";" then we assume it to be the separator
11677    # otherwise default to the standard path separator (i.e. ":") - it is
11678    # assumed that no part of a normal pathname contains ";" but that should
11679    # okay in the real world where ";" in dirpaths is itself problematic.
11680    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11681    ;;
11682  *)
11683    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11684    ;;
11685  esac
11686  # Ok, now we have the path, separated by spaces, we can step through it
11687  # and add multilib dir if necessary...
11688  lt_tmp_lt_search_path_spec=
11689  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11690  # ...but if some path component already ends with the multilib dir we assume
11691  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11692  case "$lt_multi_os_dir; $lt_search_path_spec " in
11693  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11694    lt_multi_os_dir=
11695    ;;
11696  esac
11697  for lt_sys_path in $lt_search_path_spec; do
11698    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11699      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11700    elif test -n "$lt_multi_os_dir"; then
11701      test -d "$lt_sys_path" && \
11702	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11703    fi
11704  done
11705  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11706BEGIN {RS = " "; FS = "/|\n";} {
11707  lt_foo = "";
11708  lt_count = 0;
11709  for (lt_i = NF; lt_i > 0; lt_i--) {
11710    if ($lt_i != "" && $lt_i != ".") {
11711      if ($lt_i == "..") {
11712        lt_count++;
11713      } else {
11714        if (lt_count == 0) {
11715          lt_foo = "/" $lt_i lt_foo;
11716        } else {
11717          lt_count--;
11718        }
11719      }
11720    }
11721  }
11722  if (lt_foo != "") { lt_freq[lt_foo]++; }
11723  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11724}'`
11725  # AWK program above erroneously prepends '/' to C:/dos/paths
11726  # for these hosts.
11727  case $host_os in
11728    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11729      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11730  esac
11731  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11732else
11733  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11734fi
11735library_names_spec=
11736libname_spec='lib$name'
11737soname_spec=
11738shrext_cmds=.so
11739postinstall_cmds=
11740postuninstall_cmds=
11741finish_cmds=
11742finish_eval=
11743shlibpath_var=
11744shlibpath_overrides_runpath=unknown
11745version_type=none
11746dynamic_linker="$host_os ld.so"
11747sys_lib_dlsearch_path_spec="/lib /usr/lib"
11748need_lib_prefix=unknown
11749hardcode_into_libs=no
11750
11751# when you set need_version to no, make sure it does not cause -set_version
11752# flags to be left without arguments
11753need_version=unknown
11754
11755
11756
11757case $host_os in
11758aix3*)
11759  version_type=linux # correct to gnu/linux during the next big refactor
11760  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11761  shlibpath_var=LIBPATH
11762
11763  # AIX 3 has no versioning support, so we append a major version to the name.
11764  soname_spec='$libname$release$shared_ext$major'
11765  ;;
11766
11767aix[4-9]*)
11768  version_type=linux # correct to gnu/linux during the next big refactor
11769  need_lib_prefix=no
11770  need_version=no
11771  hardcode_into_libs=yes
11772  if test ia64 = "$host_cpu"; then
11773    # AIX 5 supports IA64
11774    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11775    shlibpath_var=LD_LIBRARY_PATH
11776  else
11777    # With GCC up to 2.95.x, collect2 would create an import file
11778    # for dependence libraries.  The import file would start with
11779    # the line '#! .'.  This would cause the generated library to
11780    # depend on '.', always an invalid library.  This was fixed in
11781    # development snapshots of GCC prior to 3.0.
11782    case $host_os in
11783      aix4 | aix4.[01] | aix4.[01].*)
11784      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11785	   echo ' yes '
11786	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11787	:
11788      else
11789	can_build_shared=no
11790      fi
11791      ;;
11792    esac
11793    # Using Import Files as archive members, it is possible to support
11794    # filename-based versioning of shared library archives on AIX. While
11795    # this would work for both with and without runtime linking, it will
11796    # prevent static linking of such archives. So we do filename-based
11797    # shared library versioning with .so extension only, which is used
11798    # when both runtime linking and shared linking is enabled.
11799    # Unfortunately, runtime linking may impact performance, so we do
11800    # not want this to be the default eventually. Also, we use the
11801    # versioned .so libs for executables only if there is the -brtl
11802    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11803    # To allow for filename-based versioning support, we need to create
11804    # libNAME.so.V as an archive file, containing:
11805    # *) an Import File, referring to the versioned filename of the
11806    #    archive as well as the shared archive member, telling the
11807    #    bitwidth (32 or 64) of that shared object, and providing the
11808    #    list of exported symbols of that shared object, eventually
11809    #    decorated with the 'weak' keyword
11810    # *) the shared object with the F_LOADONLY flag set, to really avoid
11811    #    it being seen by the linker.
11812    # At run time we better use the real file rather than another symlink,
11813    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11814
11815    case $with_aix_soname,$aix_use_runtimelinking in
11816    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11817    # soname into executable. Probably we can add versioning support to
11818    # collect2, so additional links can be useful in future.
11819    aix,yes) # traditional libtool
11820      dynamic_linker='AIX unversionable lib.so'
11821      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11822      # instead of lib<name>.a to let people know that these are not
11823      # typical AIX shared libraries.
11824      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11825      ;;
11826    aix,no) # traditional AIX only
11827      dynamic_linker='AIX lib.a(lib.so.V)'
11828      # We preserve .a as extension for shared libraries through AIX4.2
11829      # and later when we are not doing run time linking.
11830      library_names_spec='$libname$release.a $libname.a'
11831      soname_spec='$libname$release$shared_ext$major'
11832      ;;
11833    svr4,*) # full svr4 only
11834      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11835      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11836      # We do not specify a path in Import Files, so LIBPATH fires.
11837      shlibpath_overrides_runpath=yes
11838      ;;
11839    *,yes) # both, prefer svr4
11840      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11841      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11842      # unpreferred sharedlib libNAME.a needs extra handling
11843      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"'
11844      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"'
11845      # We do not specify a path in Import Files, so LIBPATH fires.
11846      shlibpath_overrides_runpath=yes
11847      ;;
11848    *,no) # both, prefer aix
11849      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11850      library_names_spec='$libname$release.a $libname.a'
11851      soname_spec='$libname$release$shared_ext$major'
11852      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11853      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)'
11854      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"'
11855      ;;
11856    esac
11857    shlibpath_var=LIBPATH
11858  fi
11859  ;;
11860
11861amigaos*)
11862  case $host_cpu in
11863  powerpc)
11864    # Since July 2007 AmigaOS4 officially supports .so libraries.
11865    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11866    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11867    ;;
11868  m68k)
11869    library_names_spec='$libname.ixlibrary $libname.a'
11870    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11871    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'
11872    ;;
11873  esac
11874  ;;
11875
11876beos*)
11877  library_names_spec='$libname$shared_ext'
11878  dynamic_linker="$host_os ld.so"
11879  shlibpath_var=LIBRARY_PATH
11880  ;;
11881
11882bsdi[45]*)
11883  version_type=linux # correct to gnu/linux during the next big refactor
11884  need_version=no
11885  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11886  soname_spec='$libname$release$shared_ext$major'
11887  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11888  shlibpath_var=LD_LIBRARY_PATH
11889  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11890  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11891  # the default ld.so.conf also contains /usr/contrib/lib and
11892  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11893  # libtool to hard-code these into programs
11894  ;;
11895
11896cygwin* | mingw* | pw32* | cegcc*)
11897  version_type=windows
11898  shrext_cmds=.dll
11899  need_version=no
11900  need_lib_prefix=no
11901
11902  case $GCC,$cc_basename in
11903  yes,*)
11904    # gcc
11905    library_names_spec='$libname.dll.a'
11906    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11907    postinstall_cmds='base_file=`basename \$file`~
11908      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11909      dldir=$destdir/`dirname \$dlpath`~
11910      test -d \$dldir || mkdir -p \$dldir~
11911      $install_prog $dir/$dlname \$dldir/$dlname~
11912      chmod a+x \$dldir/$dlname~
11913      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11914        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11915      fi'
11916    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11917      dlpath=$dir/\$dldll~
11918       $RM \$dlpath'
11919    shlibpath_overrides_runpath=yes
11920
11921    case $host_os in
11922    cygwin*)
11923      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11924      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11925
11926      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11927      ;;
11928    mingw* | cegcc*)
11929      # MinGW DLLs use traditional 'lib' prefix
11930      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11931      ;;
11932    pw32*)
11933      # pw32 DLLs use 'pw' prefix rather than 'lib'
11934      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11935      ;;
11936    esac
11937    dynamic_linker='Win32 ld.exe'
11938    ;;
11939
11940  *,cl*)
11941    # Native MSVC
11942    libname_spec='$name'
11943    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11944    library_names_spec='$libname.dll.lib'
11945
11946    case $build_os in
11947    mingw*)
11948      sys_lib_search_path_spec=
11949      lt_save_ifs=$IFS
11950      IFS=';'
11951      for lt_path in $LIB
11952      do
11953        IFS=$lt_save_ifs
11954        # Let DOS variable expansion print the short 8.3 style file name.
11955        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11956        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11957      done
11958      IFS=$lt_save_ifs
11959      # Convert to MSYS style.
11960      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11961      ;;
11962    cygwin*)
11963      # Convert to unix form, then to dos form, then back to unix form
11964      # but this time dos style (no spaces!) so that the unix form looks
11965      # like /cygdrive/c/PROGRA~1:/cygdr...
11966      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11967      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11968      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11969      ;;
11970    *)
11971      sys_lib_search_path_spec=$LIB
11972      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11973        # It is most probably a Windows format PATH.
11974        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11975      else
11976        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11977      fi
11978      # FIXME: find the short name or the path components, as spaces are
11979      # common. (e.g. "Program Files" -> "PROGRA~1")
11980      ;;
11981    esac
11982
11983    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11984    postinstall_cmds='base_file=`basename \$file`~
11985      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11986      dldir=$destdir/`dirname \$dlpath`~
11987      test -d \$dldir || mkdir -p \$dldir~
11988      $install_prog $dir/$dlname \$dldir/$dlname'
11989    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11990      dlpath=$dir/\$dldll~
11991       $RM \$dlpath'
11992    shlibpath_overrides_runpath=yes
11993    dynamic_linker='Win32 link.exe'
11994    ;;
11995
11996  *)
11997    # Assume MSVC wrapper
11998    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11999    dynamic_linker='Win32 ld.exe'
12000    ;;
12001  esac
12002  # FIXME: first we should search . and the directory the executable is in
12003  shlibpath_var=PATH
12004  ;;
12005
12006darwin* | rhapsody*)
12007  dynamic_linker="$host_os dyld"
12008  version_type=darwin
12009  need_lib_prefix=no
12010  need_version=no
12011  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12012  soname_spec='$libname$release$major$shared_ext'
12013  shlibpath_overrides_runpath=yes
12014  shlibpath_var=DYLD_LIBRARY_PATH
12015  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12016
12017  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12018  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12019  ;;
12020
12021dgux*)
12022  version_type=linux # correct to gnu/linux during the next big refactor
12023  need_lib_prefix=no
12024  need_version=no
12025  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12026  soname_spec='$libname$release$shared_ext$major'
12027  shlibpath_var=LD_LIBRARY_PATH
12028  ;;
12029
12030freebsd* | dragonfly*)
12031  # DragonFly does not have aout.  When/if they implement a new
12032  # versioning mechanism, adjust this.
12033  if test -x /usr/bin/objformat; then
12034    objformat=`/usr/bin/objformat`
12035  else
12036    case $host_os in
12037    freebsd[23].*) objformat=aout ;;
12038    *) objformat=elf ;;
12039    esac
12040  fi
12041  version_type=freebsd-$objformat
12042  case $version_type in
12043    freebsd-elf*)
12044      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12045      soname_spec='$libname$release$shared_ext$major'
12046      need_version=no
12047      need_lib_prefix=no
12048      ;;
12049    freebsd-*)
12050      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12051      need_version=yes
12052      ;;
12053  esac
12054  shlibpath_var=LD_LIBRARY_PATH
12055  case $host_os in
12056  freebsd2.*)
12057    shlibpath_overrides_runpath=yes
12058    ;;
12059  freebsd3.[01]* | freebsdelf3.[01]*)
12060    shlibpath_overrides_runpath=yes
12061    hardcode_into_libs=yes
12062    ;;
12063  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12064  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12065    shlibpath_overrides_runpath=no
12066    hardcode_into_libs=yes
12067    ;;
12068  *) # from 4.6 on, and DragonFly
12069    shlibpath_overrides_runpath=yes
12070    hardcode_into_libs=yes
12071    ;;
12072  esac
12073  ;;
12074
12075haiku*)
12076  version_type=linux # correct to gnu/linux during the next big refactor
12077  need_lib_prefix=no
12078  need_version=no
12079  dynamic_linker="$host_os runtime_loader"
12080  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12081  soname_spec='$libname$release$shared_ext$major'
12082  shlibpath_var=LIBRARY_PATH
12083  shlibpath_overrides_runpath=no
12084  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12085  hardcode_into_libs=yes
12086  ;;
12087
12088hpux9* | hpux10* | hpux11*)
12089  # Give a soname corresponding to the major version so that dld.sl refuses to
12090  # link against other versions.
12091  version_type=sunos
12092  need_lib_prefix=no
12093  need_version=no
12094  case $host_cpu in
12095  ia64*)
12096    shrext_cmds='.so'
12097    hardcode_into_libs=yes
12098    dynamic_linker="$host_os dld.so"
12099    shlibpath_var=LD_LIBRARY_PATH
12100    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12101    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12102    soname_spec='$libname$release$shared_ext$major'
12103    if test 32 = "$HPUX_IA64_MODE"; then
12104      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12105      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12106    else
12107      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12108      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12109    fi
12110    ;;
12111  hppa*64*)
12112    shrext_cmds='.sl'
12113    hardcode_into_libs=yes
12114    dynamic_linker="$host_os dld.sl"
12115    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12116    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12117    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12118    soname_spec='$libname$release$shared_ext$major'
12119    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12120    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12121    ;;
12122  *)
12123    shrext_cmds='.sl'
12124    dynamic_linker="$host_os dld.sl"
12125    shlibpath_var=SHLIB_PATH
12126    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12127    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12128    soname_spec='$libname$release$shared_ext$major'
12129    ;;
12130  esac
12131  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12132  postinstall_cmds='chmod 555 $lib'
12133  # or fails outright, so override atomically:
12134  install_override_mode=555
12135  ;;
12136
12137interix[3-9]*)
12138  version_type=linux # correct to gnu/linux during the next big refactor
12139  need_lib_prefix=no
12140  need_version=no
12141  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12142  soname_spec='$libname$release$shared_ext$major'
12143  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12144  shlibpath_var=LD_LIBRARY_PATH
12145  shlibpath_overrides_runpath=no
12146  hardcode_into_libs=yes
12147  ;;
12148
12149irix5* | irix6* | nonstopux*)
12150  case $host_os in
12151    nonstopux*) version_type=nonstopux ;;
12152    *)
12153	if test yes = "$lt_cv_prog_gnu_ld"; then
12154		version_type=linux # correct to gnu/linux during the next big refactor
12155	else
12156		version_type=irix
12157	fi ;;
12158  esac
12159  need_lib_prefix=no
12160  need_version=no
12161  soname_spec='$libname$release$shared_ext$major'
12162  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12163  case $host_os in
12164  irix5* | nonstopux*)
12165    libsuff= shlibsuff=
12166    ;;
12167  *)
12168    case $LD in # libtool.m4 will add one of these switches to LD
12169    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12170      libsuff= shlibsuff= libmagic=32-bit;;
12171    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12172      libsuff=32 shlibsuff=N32 libmagic=N32;;
12173    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12174      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12175    *) libsuff= shlibsuff= libmagic=never-match;;
12176    esac
12177    ;;
12178  esac
12179  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12180  shlibpath_overrides_runpath=no
12181  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12182  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12183  hardcode_into_libs=yes
12184  ;;
12185
12186# No shared lib support for Linux oldld, aout, or coff.
12187linux*oldld* | linux*aout* | linux*coff*)
12188  dynamic_linker=no
12189  ;;
12190
12191linux*android*)
12192  version_type=none # Android doesn't support versioned libraries.
12193  need_lib_prefix=no
12194  need_version=no
12195  library_names_spec='$libname$release$shared_ext'
12196  soname_spec='$libname$release$shared_ext'
12197  finish_cmds=
12198  shlibpath_var=LD_LIBRARY_PATH
12199  shlibpath_overrides_runpath=yes
12200
12201  # This implies no fast_install, which is unacceptable.
12202  # Some rework will be needed to allow for fast_install
12203  # before this can be enabled.
12204  hardcode_into_libs=yes
12205
12206  dynamic_linker='Android linker'
12207  # Don't embed -rpath directories since the linker doesn't support them.
12208  hardcode_libdir_flag_spec='-L$libdir'
12209  ;;
12210
12211# This must be glibc/ELF.
12212linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12213  version_type=linux # correct to gnu/linux during the next big refactor
12214  need_lib_prefix=no
12215  need_version=no
12216  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12217  soname_spec='$libname$release$shared_ext$major'
12218  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12219  shlibpath_var=LD_LIBRARY_PATH
12220  shlibpath_overrides_runpath=no
12221
12222  # Some binutils ld are patched to set DT_RUNPATH
12223  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12224  $as_echo_n "(cached) " >&6
12225else
12226  lt_cv_shlibpath_overrides_runpath=no
12227    save_LDFLAGS=$LDFLAGS
12228    save_libdir=$libdir
12229    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12230	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12231    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232/* end confdefs.h.  */
12233
12234int
12235main ()
12236{
12237
12238  ;
12239  return 0;
12240}
12241_ACEOF
12242if ac_fn_c_try_link "$LINENO"; then :
12243  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12244  lt_cv_shlibpath_overrides_runpath=yes
12245fi
12246fi
12247rm -f core conftest.err conftest.$ac_objext \
12248    conftest$ac_exeext conftest.$ac_ext
12249    LDFLAGS=$save_LDFLAGS
12250    libdir=$save_libdir
12251
12252fi
12253
12254  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12255
12256  # This implies no fast_install, which is unacceptable.
12257  # Some rework will be needed to allow for fast_install
12258  # before this can be enabled.
12259  hardcode_into_libs=yes
12260
12261  # Ideally, we could use ldconfig to report *all* directores which are
12262  # searched for libraries, however this is still not possible.  Aside from not
12263  # being certain /sbin/ldconfig is available, command
12264  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12265  # even though it is searched at run-time.  Try to do the best guess by
12266  # appending ld.so.conf contents (and includes) to the search path.
12267  if test -f /etc/ld.so.conf; then
12268    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' ' '`
12269    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12270  fi
12271
12272  # We used to test for /lib/ld.so.1 and disable shared libraries on
12273  # powerpc, because MkLinux only supported shared libraries with the
12274  # GNU dynamic linker.  Since this was broken with cross compilers,
12275  # most powerpc-linux boxes support dynamic linking these days and
12276  # people can always --disable-shared, the test was removed, and we
12277  # assume the GNU/Linux dynamic linker is in use.
12278  dynamic_linker='GNU/Linux ld.so'
12279  ;;
12280
12281netbsd*)
12282  version_type=sunos
12283  need_lib_prefix=no
12284  need_version=no
12285  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12286    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12287    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12288    dynamic_linker='NetBSD (a.out) ld.so'
12289  else
12290    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12291    soname_spec='$libname$release$shared_ext$major'
12292    dynamic_linker='NetBSD ld.elf_so'
12293  fi
12294  shlibpath_var=LD_LIBRARY_PATH
12295  shlibpath_overrides_runpath=yes
12296  hardcode_into_libs=yes
12297  ;;
12298
12299newsos6)
12300  version_type=linux # correct to gnu/linux during the next big refactor
12301  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12302  shlibpath_var=LD_LIBRARY_PATH
12303  shlibpath_overrides_runpath=yes
12304  ;;
12305
12306*nto* | *qnx*)
12307  version_type=qnx
12308  need_lib_prefix=no
12309  need_version=no
12310  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12311  soname_spec='$libname$release$shared_ext$major'
12312  shlibpath_var=LD_LIBRARY_PATH
12313  shlibpath_overrides_runpath=no
12314  hardcode_into_libs=yes
12315  dynamic_linker='ldqnx.so'
12316  ;;
12317
12318openbsd* | bitrig*)
12319  version_type=sunos
12320  sys_lib_dlsearch_path_spec=/usr/lib
12321  need_lib_prefix=no
12322  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12323    need_version=no
12324  else
12325    need_version=yes
12326  fi
12327  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12328  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12329  shlibpath_var=LD_LIBRARY_PATH
12330  shlibpath_overrides_runpath=yes
12331  ;;
12332
12333os2*)
12334  libname_spec='$name'
12335  version_type=windows
12336  shrext_cmds=.dll
12337  need_version=no
12338  need_lib_prefix=no
12339  # OS/2 can only load a DLL with a base name of 8 characters or less.
12340  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12341    v=$($ECHO $release$versuffix | tr -d .-);
12342    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12343    $ECHO $n$v`$shared_ext'
12344  library_names_spec='${libname}_dll.$libext'
12345  dynamic_linker='OS/2 ld.exe'
12346  shlibpath_var=BEGINLIBPATH
12347  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12348  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12349  postinstall_cmds='base_file=`basename \$file`~
12350    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12351    dldir=$destdir/`dirname \$dlpath`~
12352    test -d \$dldir || mkdir -p \$dldir~
12353    $install_prog $dir/$dlname \$dldir/$dlname~
12354    chmod a+x \$dldir/$dlname~
12355    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12356      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12357    fi'
12358  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12359    dlpath=$dir/\$dldll~
12360    $RM \$dlpath'
12361  ;;
12362
12363osf3* | osf4* | osf5*)
12364  version_type=osf
12365  need_lib_prefix=no
12366  need_version=no
12367  soname_spec='$libname$release$shared_ext$major'
12368  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12369  shlibpath_var=LD_LIBRARY_PATH
12370  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12371  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12372  ;;
12373
12374rdos*)
12375  dynamic_linker=no
12376  ;;
12377
12378solaris*)
12379  version_type=linux # correct to gnu/linux during the next big refactor
12380  need_lib_prefix=no
12381  need_version=no
12382  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12383  soname_spec='$libname$release$shared_ext$major'
12384  shlibpath_var=LD_LIBRARY_PATH
12385  shlibpath_overrides_runpath=yes
12386  hardcode_into_libs=yes
12387  # ldd complains unless libraries are executable
12388  postinstall_cmds='chmod +x $lib'
12389  ;;
12390
12391sunos4*)
12392  version_type=sunos
12393  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12394  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12395  shlibpath_var=LD_LIBRARY_PATH
12396  shlibpath_overrides_runpath=yes
12397  if test yes = "$with_gnu_ld"; then
12398    need_lib_prefix=no
12399  fi
12400  need_version=yes
12401  ;;
12402
12403sysv4 | sysv4.3*)
12404  version_type=linux # correct to gnu/linux during the next big refactor
12405  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12406  soname_spec='$libname$release$shared_ext$major'
12407  shlibpath_var=LD_LIBRARY_PATH
12408  case $host_vendor in
12409    sni)
12410      shlibpath_overrides_runpath=no
12411      need_lib_prefix=no
12412      runpath_var=LD_RUN_PATH
12413      ;;
12414    siemens)
12415      need_lib_prefix=no
12416      ;;
12417    motorola)
12418      need_lib_prefix=no
12419      need_version=no
12420      shlibpath_overrides_runpath=no
12421      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12422      ;;
12423  esac
12424  ;;
12425
12426sysv4*MP*)
12427  if test -d /usr/nec; then
12428    version_type=linux # correct to gnu/linux during the next big refactor
12429    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12430    soname_spec='$libname$shared_ext.$major'
12431    shlibpath_var=LD_LIBRARY_PATH
12432  fi
12433  ;;
12434
12435sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12436  version_type=sco
12437  need_lib_prefix=no
12438  need_version=no
12439  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12440  soname_spec='$libname$release$shared_ext$major'
12441  shlibpath_var=LD_LIBRARY_PATH
12442  shlibpath_overrides_runpath=yes
12443  hardcode_into_libs=yes
12444  if test yes = "$with_gnu_ld"; then
12445    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12446  else
12447    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12448    case $host_os in
12449      sco3.2v5*)
12450        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12451	;;
12452    esac
12453  fi
12454  sys_lib_dlsearch_path_spec='/usr/lib'
12455  ;;
12456
12457tpf*)
12458  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12459  version_type=linux # correct to gnu/linux during the next big refactor
12460  need_lib_prefix=no
12461  need_version=no
12462  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12463  shlibpath_var=LD_LIBRARY_PATH
12464  shlibpath_overrides_runpath=no
12465  hardcode_into_libs=yes
12466  ;;
12467
12468uts4*)
12469  version_type=linux # correct to gnu/linux during the next big refactor
12470  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12471  soname_spec='$libname$release$shared_ext$major'
12472  shlibpath_var=LD_LIBRARY_PATH
12473  ;;
12474
12475*)
12476  dynamic_linker=no
12477  ;;
12478esac
12479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12480$as_echo "$dynamic_linker" >&6; }
12481test no = "$dynamic_linker" && can_build_shared=no
12482
12483variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12484if test yes = "$GCC"; then
12485  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12486fi
12487
12488if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12489  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12490fi
12491
12492if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12493  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12494fi
12495
12496# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12497configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12498
12499# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12500func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12501
12502# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12503configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12602$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12603hardcode_action=
12604if test -n "$hardcode_libdir_flag_spec" ||
12605   test -n "$runpath_var" ||
12606   test yes = "$hardcode_automatic"; then
12607
12608  # We can hardcode non-existent directories.
12609  if test no != "$hardcode_direct" &&
12610     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12611     # have to relink, otherwise we might link with an installed library
12612     # when we should be linking with a yet-to-be-installed one
12613     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12614     test no != "$hardcode_minus_L"; then
12615    # Linking always hardcodes the temporary library directory.
12616    hardcode_action=relink
12617  else
12618    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12619    hardcode_action=immediate
12620  fi
12621else
12622  # We cannot hardcode anything, or else we can only hardcode existing
12623  # directories.
12624  hardcode_action=unsupported
12625fi
12626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12627$as_echo "$hardcode_action" >&6; }
12628
12629if test relink = "$hardcode_action" ||
12630   test yes = "$inherit_rpath"; then
12631  # Fast installation is not supported
12632  enable_fast_install=no
12633elif test yes = "$shlibpath_overrides_runpath" ||
12634     test no = "$enable_shared"; then
12635  # Fast installation is not necessary
12636  enable_fast_install=needless
12637fi
12638
12639
12640
12641
12642
12643
12644  if test yes != "$enable_dlopen"; then
12645  enable_dlopen=unknown
12646  enable_dlopen_self=unknown
12647  enable_dlopen_self_static=unknown
12648else
12649  lt_cv_dlopen=no
12650  lt_cv_dlopen_libs=
12651
12652  case $host_os in
12653  beos*)
12654    lt_cv_dlopen=load_add_on
12655    lt_cv_dlopen_libs=
12656    lt_cv_dlopen_self=yes
12657    ;;
12658
12659  mingw* | pw32* | cegcc*)
12660    lt_cv_dlopen=LoadLibrary
12661    lt_cv_dlopen_libs=
12662    ;;
12663
12664  cygwin*)
12665    lt_cv_dlopen=dlopen
12666    lt_cv_dlopen_libs=
12667    ;;
12668
12669  darwin*)
12670    # if libdl is installed we need to link against it
12671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12672$as_echo_n "checking for dlopen in -ldl... " >&6; }
12673if ${ac_cv_lib_dl_dlopen+:} false; then :
12674  $as_echo_n "(cached) " >&6
12675else
12676  ac_check_lib_save_LIBS=$LIBS
12677LIBS="-ldl  $LIBS"
12678cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679/* end confdefs.h.  */
12680
12681/* Override any GCC internal prototype to avoid an error.
12682   Use char because int might match the return type of a GCC
12683   builtin and then its argument prototype would still apply.  */
12684#ifdef __cplusplus
12685extern "C"
12686#endif
12687char dlopen ();
12688int
12689main ()
12690{
12691return dlopen ();
12692  ;
12693  return 0;
12694}
12695_ACEOF
12696if ac_fn_c_try_link "$LINENO"; then :
12697  ac_cv_lib_dl_dlopen=yes
12698else
12699  ac_cv_lib_dl_dlopen=no
12700fi
12701rm -f core conftest.err conftest.$ac_objext \
12702    conftest$ac_exeext conftest.$ac_ext
12703LIBS=$ac_check_lib_save_LIBS
12704fi
12705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12706$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12707if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12708  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12709else
12710
12711    lt_cv_dlopen=dyld
12712    lt_cv_dlopen_libs=
12713    lt_cv_dlopen_self=yes
12714
12715fi
12716
12717    ;;
12718
12719  tpf*)
12720    # Don't try to run any link tests for TPF.  We know it's impossible
12721    # because TPF is a cross-compiler, and we know how we open DSOs.
12722    lt_cv_dlopen=dlopen
12723    lt_cv_dlopen_libs=
12724    lt_cv_dlopen_self=no
12725    ;;
12726
12727  *)
12728    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12729if test "x$ac_cv_func_shl_load" = xyes; then :
12730  lt_cv_dlopen=shl_load
12731else
12732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12733$as_echo_n "checking for shl_load in -ldld... " >&6; }
12734if ${ac_cv_lib_dld_shl_load+:} false; then :
12735  $as_echo_n "(cached) " >&6
12736else
12737  ac_check_lib_save_LIBS=$LIBS
12738LIBS="-ldld  $LIBS"
12739cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740/* end confdefs.h.  */
12741
12742/* Override any GCC internal prototype to avoid an error.
12743   Use char because int might match the return type of a GCC
12744   builtin and then its argument prototype would still apply.  */
12745#ifdef __cplusplus
12746extern "C"
12747#endif
12748char shl_load ();
12749int
12750main ()
12751{
12752return shl_load ();
12753  ;
12754  return 0;
12755}
12756_ACEOF
12757if ac_fn_c_try_link "$LINENO"; then :
12758  ac_cv_lib_dld_shl_load=yes
12759else
12760  ac_cv_lib_dld_shl_load=no
12761fi
12762rm -f core conftest.err conftest.$ac_objext \
12763    conftest$ac_exeext conftest.$ac_ext
12764LIBS=$ac_check_lib_save_LIBS
12765fi
12766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12767$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12768if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12769  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12770else
12771  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12772if test "x$ac_cv_func_dlopen" = xyes; then :
12773  lt_cv_dlopen=dlopen
12774else
12775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12776$as_echo_n "checking for dlopen in -ldl... " >&6; }
12777if ${ac_cv_lib_dl_dlopen+:} false; then :
12778  $as_echo_n "(cached) " >&6
12779else
12780  ac_check_lib_save_LIBS=$LIBS
12781LIBS="-ldl  $LIBS"
12782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12783/* end confdefs.h.  */
12784
12785/* Override any GCC internal prototype to avoid an error.
12786   Use char because int might match the return type of a GCC
12787   builtin and then its argument prototype would still apply.  */
12788#ifdef __cplusplus
12789extern "C"
12790#endif
12791char dlopen ();
12792int
12793main ()
12794{
12795return dlopen ();
12796  ;
12797  return 0;
12798}
12799_ACEOF
12800if ac_fn_c_try_link "$LINENO"; then :
12801  ac_cv_lib_dl_dlopen=yes
12802else
12803  ac_cv_lib_dl_dlopen=no
12804fi
12805rm -f core conftest.err conftest.$ac_objext \
12806    conftest$ac_exeext conftest.$ac_ext
12807LIBS=$ac_check_lib_save_LIBS
12808fi
12809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12810$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12811if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12812  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12813else
12814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12815$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12816if ${ac_cv_lib_svld_dlopen+:} false; then :
12817  $as_echo_n "(cached) " >&6
12818else
12819  ac_check_lib_save_LIBS=$LIBS
12820LIBS="-lsvld  $LIBS"
12821cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822/* end confdefs.h.  */
12823
12824/* Override any GCC internal prototype to avoid an error.
12825   Use char because int might match the return type of a GCC
12826   builtin and then its argument prototype would still apply.  */
12827#ifdef __cplusplus
12828extern "C"
12829#endif
12830char dlopen ();
12831int
12832main ()
12833{
12834return dlopen ();
12835  ;
12836  return 0;
12837}
12838_ACEOF
12839if ac_fn_c_try_link "$LINENO"; then :
12840  ac_cv_lib_svld_dlopen=yes
12841else
12842  ac_cv_lib_svld_dlopen=no
12843fi
12844rm -f core conftest.err conftest.$ac_objext \
12845    conftest$ac_exeext conftest.$ac_ext
12846LIBS=$ac_check_lib_save_LIBS
12847fi
12848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12849$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12850if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12851  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12852else
12853  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12854$as_echo_n "checking for dld_link in -ldld... " >&6; }
12855if ${ac_cv_lib_dld_dld_link+:} false; then :
12856  $as_echo_n "(cached) " >&6
12857else
12858  ac_check_lib_save_LIBS=$LIBS
12859LIBS="-ldld  $LIBS"
12860cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861/* end confdefs.h.  */
12862
12863/* Override any GCC internal prototype to avoid an error.
12864   Use char because int might match the return type of a GCC
12865   builtin and then its argument prototype would still apply.  */
12866#ifdef __cplusplus
12867extern "C"
12868#endif
12869char dld_link ();
12870int
12871main ()
12872{
12873return dld_link ();
12874  ;
12875  return 0;
12876}
12877_ACEOF
12878if ac_fn_c_try_link "$LINENO"; then :
12879  ac_cv_lib_dld_dld_link=yes
12880else
12881  ac_cv_lib_dld_dld_link=no
12882fi
12883rm -f core conftest.err conftest.$ac_objext \
12884    conftest$ac_exeext conftest.$ac_ext
12885LIBS=$ac_check_lib_save_LIBS
12886fi
12887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12888$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12889if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12890  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12891fi
12892
12893
12894fi
12895
12896
12897fi
12898
12899
12900fi
12901
12902
12903fi
12904
12905
12906fi
12907
12908    ;;
12909  esac
12910
12911  if test no = "$lt_cv_dlopen"; then
12912    enable_dlopen=no
12913  else
12914    enable_dlopen=yes
12915  fi
12916
12917  case $lt_cv_dlopen in
12918  dlopen)
12919    save_CPPFLAGS=$CPPFLAGS
12920    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12921
12922    save_LDFLAGS=$LDFLAGS
12923    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12924
12925    save_LIBS=$LIBS
12926    LIBS="$lt_cv_dlopen_libs $LIBS"
12927
12928    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12929$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12930if ${lt_cv_dlopen_self+:} false; then :
12931  $as_echo_n "(cached) " >&6
12932else
12933  	  if test yes = "$cross_compiling"; then :
12934  lt_cv_dlopen_self=cross
12935else
12936  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12937  lt_status=$lt_dlunknown
12938  cat > conftest.$ac_ext <<_LT_EOF
12939#line $LINENO "configure"
12940#include "confdefs.h"
12941
12942#if HAVE_DLFCN_H
12943#include <dlfcn.h>
12944#endif
12945
12946#include <stdio.h>
12947
12948#ifdef RTLD_GLOBAL
12949#  define LT_DLGLOBAL		RTLD_GLOBAL
12950#else
12951#  ifdef DL_GLOBAL
12952#    define LT_DLGLOBAL		DL_GLOBAL
12953#  else
12954#    define LT_DLGLOBAL		0
12955#  endif
12956#endif
12957
12958/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12959   find out it does not work in some platform. */
12960#ifndef LT_DLLAZY_OR_NOW
12961#  ifdef RTLD_LAZY
12962#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12963#  else
12964#    ifdef DL_LAZY
12965#      define LT_DLLAZY_OR_NOW		DL_LAZY
12966#    else
12967#      ifdef RTLD_NOW
12968#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12969#      else
12970#        ifdef DL_NOW
12971#          define LT_DLLAZY_OR_NOW	DL_NOW
12972#        else
12973#          define LT_DLLAZY_OR_NOW	0
12974#        endif
12975#      endif
12976#    endif
12977#  endif
12978#endif
12979
12980/* When -fvisibility=hidden is used, assume the code has been annotated
12981   correspondingly for the symbols needed.  */
12982#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12983int fnord () __attribute__((visibility("default")));
12984#endif
12985
12986int fnord () { return 42; }
12987int main ()
12988{
12989  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12990  int status = $lt_dlunknown;
12991
12992  if (self)
12993    {
12994      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12995      else
12996        {
12997	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12998          else puts (dlerror ());
12999	}
13000      /* dlclose (self); */
13001    }
13002  else
13003    puts (dlerror ());
13004
13005  return status;
13006}
13007_LT_EOF
13008  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13009  (eval $ac_link) 2>&5
13010  ac_status=$?
13011  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13012  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13013    (./conftest; exit; ) >&5 2>/dev/null
13014    lt_status=$?
13015    case x$lt_status in
13016      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13017      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13018      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13019    esac
13020  else :
13021    # compilation failed
13022    lt_cv_dlopen_self=no
13023  fi
13024fi
13025rm -fr conftest*
13026
13027
13028fi
13029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13030$as_echo "$lt_cv_dlopen_self" >&6; }
13031
13032    if test yes = "$lt_cv_dlopen_self"; then
13033      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13034      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13035$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13036if ${lt_cv_dlopen_self_static+:} false; then :
13037  $as_echo_n "(cached) " >&6
13038else
13039  	  if test yes = "$cross_compiling"; then :
13040  lt_cv_dlopen_self_static=cross
13041else
13042  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13043  lt_status=$lt_dlunknown
13044  cat > conftest.$ac_ext <<_LT_EOF
13045#line $LINENO "configure"
13046#include "confdefs.h"
13047
13048#if HAVE_DLFCN_H
13049#include <dlfcn.h>
13050#endif
13051
13052#include <stdio.h>
13053
13054#ifdef RTLD_GLOBAL
13055#  define LT_DLGLOBAL		RTLD_GLOBAL
13056#else
13057#  ifdef DL_GLOBAL
13058#    define LT_DLGLOBAL		DL_GLOBAL
13059#  else
13060#    define LT_DLGLOBAL		0
13061#  endif
13062#endif
13063
13064/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13065   find out it does not work in some platform. */
13066#ifndef LT_DLLAZY_OR_NOW
13067#  ifdef RTLD_LAZY
13068#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13069#  else
13070#    ifdef DL_LAZY
13071#      define LT_DLLAZY_OR_NOW		DL_LAZY
13072#    else
13073#      ifdef RTLD_NOW
13074#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13075#      else
13076#        ifdef DL_NOW
13077#          define LT_DLLAZY_OR_NOW	DL_NOW
13078#        else
13079#          define LT_DLLAZY_OR_NOW	0
13080#        endif
13081#      endif
13082#    endif
13083#  endif
13084#endif
13085
13086/* When -fvisibility=hidden is used, assume the code has been annotated
13087   correspondingly for the symbols needed.  */
13088#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13089int fnord () __attribute__((visibility("default")));
13090#endif
13091
13092int fnord () { return 42; }
13093int main ()
13094{
13095  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13096  int status = $lt_dlunknown;
13097
13098  if (self)
13099    {
13100      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13101      else
13102        {
13103	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13104          else puts (dlerror ());
13105	}
13106      /* dlclose (self); */
13107    }
13108  else
13109    puts (dlerror ());
13110
13111  return status;
13112}
13113_LT_EOF
13114  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13115  (eval $ac_link) 2>&5
13116  ac_status=$?
13117  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13118  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13119    (./conftest; exit; ) >&5 2>/dev/null
13120    lt_status=$?
13121    case x$lt_status in
13122      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13123      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13124      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13125    esac
13126  else :
13127    # compilation failed
13128    lt_cv_dlopen_self_static=no
13129  fi
13130fi
13131rm -fr conftest*
13132
13133
13134fi
13135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13136$as_echo "$lt_cv_dlopen_self_static" >&6; }
13137    fi
13138
13139    CPPFLAGS=$save_CPPFLAGS
13140    LDFLAGS=$save_LDFLAGS
13141    LIBS=$save_LIBS
13142    ;;
13143  esac
13144
13145  case $lt_cv_dlopen_self in
13146  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13147  *) enable_dlopen_self=unknown ;;
13148  esac
13149
13150  case $lt_cv_dlopen_self_static in
13151  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13152  *) enable_dlopen_self_static=unknown ;;
13153  esac
13154fi
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172striplib=
13173old_striplib=
13174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13175$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13176if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13177  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13178  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13180$as_echo "yes" >&6; }
13181else
13182# FIXME - insert some real tests, host_os isn't really good enough
13183  case $host_os in
13184  darwin*)
13185    if test -n "$STRIP"; then
13186      striplib="$STRIP -x"
13187      old_striplib="$STRIP -S"
13188      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13189$as_echo "yes" >&6; }
13190    else
13191      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13192$as_echo "no" >&6; }
13193    fi
13194    ;;
13195  *)
13196    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13197$as_echo "no" >&6; }
13198    ;;
13199  esac
13200fi
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213  # Report what library types will actually be built
13214  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13215$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13217$as_echo "$can_build_shared" >&6; }
13218
13219  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13220$as_echo_n "checking whether to build shared libraries... " >&6; }
13221  test no = "$can_build_shared" && enable_shared=no
13222
13223  # On AIX, shared libraries and static libraries use the same namespace, and
13224  # are all built from PIC.
13225  case $host_os in
13226  aix3*)
13227    test yes = "$enable_shared" && enable_static=no
13228    if test -n "$RANLIB"; then
13229      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13230      postinstall_cmds='$RANLIB $lib'
13231    fi
13232    ;;
13233
13234  aix[4-9]*)
13235    if test ia64 != "$host_cpu"; then
13236      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13237      yes,aix,yes) ;;			# shared object as lib.so file only
13238      yes,svr4,*) ;;			# shared object as lib.so archive member only
13239      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13240      esac
13241    fi
13242    ;;
13243  esac
13244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13245$as_echo "$enable_shared" >&6; }
13246
13247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13248$as_echo_n "checking whether to build static libraries... " >&6; }
13249  # Make sure either enable_shared or enable_static is yes.
13250  test yes = "$enable_shared" || enable_static=yes
13251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13252$as_echo "$enable_static" >&6; }
13253
13254
13255
13256
13257fi
13258ac_ext=c
13259ac_cpp='$CPP $CPPFLAGS'
13260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13262ac_compiler_gnu=$ac_cv_c_compiler_gnu
13263
13264CC=$lt_save_CC
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280        ac_config_commands="$ac_config_commands libtool"
13281
13282
13283
13284
13285# Only expand once:
13286
13287
13288
13289# The cast to long int works around a bug in the HP C Compiler
13290# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13291# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13292# This bug is HP SR number 8606223364.
13293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13294$as_echo_n "checking size of void *... " >&6; }
13295if ${ac_cv_sizeof_void_p+:} false; then :
13296  $as_echo_n "(cached) " >&6
13297else
13298  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
13299
13300else
13301  if test "$ac_cv_type_void_p" = yes; then
13302     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13303$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13304as_fn_error 77 "cannot compute sizeof (void *)
13305See \`config.log' for more details" "$LINENO" 5; }
13306   else
13307     ac_cv_sizeof_void_p=0
13308   fi
13309fi
13310
13311fi
13312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13313$as_echo "$ac_cv_sizeof_void_p" >&6; }
13314
13315
13316
13317cat >>confdefs.h <<_ACEOF
13318#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13319_ACEOF
13320
13321
13322case $host:$ac_cv_sizeof_void_p in #(
13323  *-*-mingw*:4) :
13324    kpse_dll_name=texlua52 ;; #(
13325  *-*-mingw*:8) :
13326    kpse_dll_name=texlua52 ;; #(
13327  *-*-cygwin:4) :
13328    kpse_dll_name= ;; #(
13329  *-*-cygwin:8) :
13330    kpse_dll_name= ;; #(
13331  *) :
13332    kpse_dll_name= ;;
13333esac
13334
13335
13336
13337
13338
13339ac_config_headers="$ac_config_headers config.h"
13340
13341 if test "x$enable_build" != xno; then
13342  build_TRUE=
13343  build_FALSE='#'
13344else
13345  build_TRUE='#'
13346  build_FALSE=
13347fi
13348
13349
13350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
13351$as_echo_n "checking for library containing sqrt... " >&6; }
13352if ${ac_cv_search_sqrt+:} false; then :
13353  $as_echo_n "(cached) " >&6
13354else
13355  ac_func_search_save_LIBS=$LIBS
13356cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357/* end confdefs.h.  */
13358
13359/* Override any GCC internal prototype to avoid an error.
13360   Use char because int might match the return type of a GCC
13361   builtin and then its argument prototype would still apply.  */
13362#ifdef __cplusplus
13363extern "C"
13364#endif
13365char sqrt ();
13366int
13367main ()
13368{
13369return sqrt ();
13370  ;
13371  return 0;
13372}
13373_ACEOF
13374for ac_lib in '' m; do
13375  if test -z "$ac_lib"; then
13376    ac_res="none required"
13377  else
13378    ac_res=-l$ac_lib
13379    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13380  fi
13381  if ac_fn_c_try_link "$LINENO"; then :
13382  ac_cv_search_sqrt=$ac_res
13383fi
13384rm -f core conftest.err conftest.$ac_objext \
13385    conftest$ac_exeext
13386  if ${ac_cv_search_sqrt+:} false; then :
13387  break
13388fi
13389done
13390if ${ac_cv_search_sqrt+:} false; then :
13391
13392else
13393  ac_cv_search_sqrt=no
13394fi
13395rm conftest.$ac_ext
13396LIBS=$ac_func_search_save_LIBS
13397fi
13398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
13399$as_echo "$ac_cv_search_sqrt" >&6; }
13400ac_res=$ac_cv_search_sqrt
13401if test "$ac_res" != no; then :
13402  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13403
13404fi
13405
13406
13407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
13408$as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
13409if ${kpse_cv_have_win32+:} false; then :
13410  $as_echo_n "(cached) " >&6
13411else
13412  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413/* end confdefs.h.  */
13414#ifndef WIN32
13415  choke me
13416#endif
13417int
13418main ()
13419{
13420
13421  ;
13422  return 0;
13423}
13424_ACEOF
13425if ac_fn_c_try_compile "$LINENO"; then :
13426  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427/* end confdefs.h.  */
13428#ifndef __MINGW32__
13429  choke me
13430#endif
13431int
13432main ()
13433{
13434
13435  ;
13436  return 0;
13437}
13438_ACEOF
13439if ac_fn_c_try_compile "$LINENO"; then :
13440  kpse_cv_have_win32=mingw32
13441else
13442  kpse_cv_have_win32=native
13443fi
13444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13445else
13446  kpse_cv_have_win32=no
13447fi
13448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13449fi
13450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
13451$as_echo "$kpse_cv_have_win32" >&6; }
13452
13453LUA52_DEFINES='-DLUA_COMPAT_MODULE -DLUAI_HASHLIMIT=6'
13454
13455if test "x$kpse_cv_have_win32" = xno; then
13456  LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_POSIX"
13457  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13458$as_echo_n "checking for library containing dlopen... " >&6; }
13459if ${ac_cv_search_dlopen+:} false; then :
13460  $as_echo_n "(cached) " >&6
13461else
13462  ac_func_search_save_LIBS=$LIBS
13463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464/* end confdefs.h.  */
13465
13466/* Override any GCC internal prototype to avoid an error.
13467   Use char because int might match the return type of a GCC
13468   builtin and then its argument prototype would still apply.  */
13469#ifdef __cplusplus
13470extern "C"
13471#endif
13472char dlopen ();
13473int
13474main ()
13475{
13476return dlopen ();
13477  ;
13478  return 0;
13479}
13480_ACEOF
13481for ac_lib in '' dl; do
13482  if test -z "$ac_lib"; then
13483    ac_res="none required"
13484  else
13485    ac_res=-l$ac_lib
13486    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13487  fi
13488  if ac_fn_c_try_link "$LINENO"; then :
13489  ac_cv_search_dlopen=$ac_res
13490fi
13491rm -f core conftest.err conftest.$ac_objext \
13492    conftest$ac_exeext
13493  if ${ac_cv_search_dlopen+:} false; then :
13494  break
13495fi
13496done
13497if ${ac_cv_search_dlopen+:} false; then :
13498
13499else
13500  ac_cv_search_dlopen=no
13501fi
13502rm conftest.$ac_ext
13503LIBS=$ac_func_search_save_LIBS
13504fi
13505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13506$as_echo "$ac_cv_search_dlopen" >&6; }
13507ac_res=$ac_cv_search_dlopen
13508if test "$ac_res" != no; then :
13509  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13510
13511fi
13512
13513  if test "x$ac_cv_search_dlopen" != xno; then
13514    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
13515"
13516if test "x$ac_cv_header_dlfcn_h" = xyes; then :
13517  LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_DLOPEN"
13518fi
13519
13520
13521  fi
13522fi
13523
13524# Check whether --enable-largefile was given.
13525if test "${enable_largefile+set}" = set; then :
13526  enableval=$enable_largefile;
13527fi
13528
13529if test "$enable_largefile" != no; then
13530
13531  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13532$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13533if ${ac_cv_sys_largefile_CC+:} false; then :
13534  $as_echo_n "(cached) " >&6
13535else
13536  ac_cv_sys_largefile_CC=no
13537     if test "$GCC" != yes; then
13538       ac_save_CC=$CC
13539       while :; do
13540	 # IRIX 6.2 and later do not support large files by default,
13541	 # so use the C compiler's -n32 option if that helps.
13542	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13543/* end confdefs.h.  */
13544#include <sys/types.h>
13545 /* Check that off_t can represent 2**63 - 1 correctly.
13546    We can't simply define LARGE_OFF_T to be 9223372036854775807,
13547    since some C++ compilers masquerading as C compilers
13548    incorrectly reject 9223372036854775807.  */
13549#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13550  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13551		       && LARGE_OFF_T % 2147483647 == 1)
13552		      ? 1 : -1];
13553int
13554main ()
13555{
13556
13557  ;
13558  return 0;
13559}
13560_ACEOF
13561	 if ac_fn_c_try_compile "$LINENO"; then :
13562  break
13563fi
13564rm -f core conftest.err conftest.$ac_objext
13565	 CC="$CC -n32"
13566	 if ac_fn_c_try_compile "$LINENO"; then :
13567  ac_cv_sys_largefile_CC=' -n32'; break
13568fi
13569rm -f core conftest.err conftest.$ac_objext
13570	 break
13571       done
13572       CC=$ac_save_CC
13573       rm -f conftest.$ac_ext
13574    fi
13575fi
13576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13577$as_echo "$ac_cv_sys_largefile_CC" >&6; }
13578  if test "$ac_cv_sys_largefile_CC" != no; then
13579    CC=$CC$ac_cv_sys_largefile_CC
13580  fi
13581
13582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13583$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13584if ${ac_cv_sys_file_offset_bits+:} false; then :
13585  $as_echo_n "(cached) " >&6
13586else
13587  while :; do
13588  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589/* end confdefs.h.  */
13590#include <sys/types.h>
13591 /* Check that off_t can represent 2**63 - 1 correctly.
13592    We can't simply define LARGE_OFF_T to be 9223372036854775807,
13593    since some C++ compilers masquerading as C compilers
13594    incorrectly reject 9223372036854775807.  */
13595#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13596  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13597		       && LARGE_OFF_T % 2147483647 == 1)
13598		      ? 1 : -1];
13599int
13600main ()
13601{
13602
13603  ;
13604  return 0;
13605}
13606_ACEOF
13607if ac_fn_c_try_compile "$LINENO"; then :
13608  ac_cv_sys_file_offset_bits=no; break
13609fi
13610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13611  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612/* end confdefs.h.  */
13613#define _FILE_OFFSET_BITS 64
13614#include <sys/types.h>
13615 /* Check that off_t can represent 2**63 - 1 correctly.
13616    We can't simply define LARGE_OFF_T to be 9223372036854775807,
13617    since some C++ compilers masquerading as C compilers
13618    incorrectly reject 9223372036854775807.  */
13619#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13620  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13621		       && LARGE_OFF_T % 2147483647 == 1)
13622		      ? 1 : -1];
13623int
13624main ()
13625{
13626
13627  ;
13628  return 0;
13629}
13630_ACEOF
13631if ac_fn_c_try_compile "$LINENO"; then :
13632  ac_cv_sys_file_offset_bits=64; break
13633fi
13634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13635  ac_cv_sys_file_offset_bits=unknown
13636  break
13637done
13638fi
13639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13640$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13641case $ac_cv_sys_file_offset_bits in #(
13642  no | unknown) ;;
13643  *)
13644cat >>confdefs.h <<_ACEOF
13645#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13646_ACEOF
13647;;
13648esac
13649rm -rf conftest*
13650  if test $ac_cv_sys_file_offset_bits = unknown; then
13651    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13652$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13653if ${ac_cv_sys_large_files+:} false; then :
13654  $as_echo_n "(cached) " >&6
13655else
13656  while :; do
13657  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658/* end confdefs.h.  */
13659#include <sys/types.h>
13660 /* Check that off_t can represent 2**63 - 1 correctly.
13661    We can't simply define LARGE_OFF_T to be 9223372036854775807,
13662    since some C++ compilers masquerading as C compilers
13663    incorrectly reject 9223372036854775807.  */
13664#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13665  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13666		       && LARGE_OFF_T % 2147483647 == 1)
13667		      ? 1 : -1];
13668int
13669main ()
13670{
13671
13672  ;
13673  return 0;
13674}
13675_ACEOF
13676if ac_fn_c_try_compile "$LINENO"; then :
13677  ac_cv_sys_large_files=no; break
13678fi
13679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13680  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13681/* end confdefs.h.  */
13682#define _LARGE_FILES 1
13683#include <sys/types.h>
13684 /* Check that off_t can represent 2**63 - 1 correctly.
13685    We can't simply define LARGE_OFF_T to be 9223372036854775807,
13686    since some C++ compilers masquerading as C compilers
13687    incorrectly reject 9223372036854775807.  */
13688#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13689  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13690		       && LARGE_OFF_T % 2147483647 == 1)
13691		      ? 1 : -1];
13692int
13693main ()
13694{
13695
13696  ;
13697  return 0;
13698}
13699_ACEOF
13700if ac_fn_c_try_compile "$LINENO"; then :
13701  ac_cv_sys_large_files=1; break
13702fi
13703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13704  ac_cv_sys_large_files=unknown
13705  break
13706done
13707fi
13708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13709$as_echo "$ac_cv_sys_large_files" >&6; }
13710case $ac_cv_sys_large_files in #(
13711  no | unknown) ;;
13712  *)
13713cat >>confdefs.h <<_ACEOF
13714#define _LARGE_FILES $ac_cv_sys_large_files
13715_ACEOF
13716;;
13717esac
13718rm -rf conftest*
13719  fi
13720
13721
13722fi
13723
13724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13725$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
13726if ${ac_cv_sys_largefile_source+:} false; then :
13727  $as_echo_n "(cached) " >&6
13728else
13729  while :; do
13730  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731/* end confdefs.h.  */
13732#include <sys/types.h> /* for off_t */
13733     #include <stdio.h>
13734int
13735main ()
13736{
13737int (*fp) (FILE *, off_t, int) = fseeko;
13738     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13739  ;
13740  return 0;
13741}
13742_ACEOF
13743if ac_fn_c_try_link "$LINENO"; then :
13744  ac_cv_sys_largefile_source=no; break
13745fi
13746rm -f core conftest.err conftest.$ac_objext \
13747    conftest$ac_exeext conftest.$ac_ext
13748  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749/* end confdefs.h.  */
13750#define _LARGEFILE_SOURCE 1
13751#include <sys/types.h> /* for off_t */
13752     #include <stdio.h>
13753int
13754main ()
13755{
13756int (*fp) (FILE *, off_t, int) = fseeko;
13757     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13758  ;
13759  return 0;
13760}
13761_ACEOF
13762if ac_fn_c_try_link "$LINENO"; then :
13763  ac_cv_sys_largefile_source=1; break
13764fi
13765rm -f core conftest.err conftest.$ac_objext \
13766    conftest$ac_exeext conftest.$ac_ext
13767  ac_cv_sys_largefile_source=unknown
13768  break
13769done
13770fi
13771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
13772$as_echo "$ac_cv_sys_largefile_source" >&6; }
13773case $ac_cv_sys_largefile_source in #(
13774  no | unknown) ;;
13775  *)
13776cat >>confdefs.h <<_ACEOF
13777#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
13778_ACEOF
13779;;
13780esac
13781rm -rf conftest*
13782
13783# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
13784# in glibc 2.1.3, but that breaks too many other things.
13785# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
13786if test $ac_cv_sys_largefile_source != unknown; then
13787
13788$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
13789
13790fi
13791
13792if test "x$enable_largefile" != xno; then
13793  case $ac_cv_sys_file_offset_bits in #(
13794  no) :
13795     ;; #(
13796  unknown) :
13797    case $ac_cv_sys_large_files in #(
13798  no | unknown) :
13799     ;; #(
13800  *) :
13801    LUA52_DEFINES="$LUA52_DEFINES -D_LARGE_FILES" ;;
13802esac ;; #(
13803  *) :
13804    LUA52_DEFINES="$LUA52_DEFINES -D_FILE_OFFSET_BITS=64" ;;
13805esac
13806fi
13807case $ac_cv_sys_largefile_source in #(
13808  no | unknown) :
13809     ;; #(
13810  *) :
13811    LUA52_DEFINES="$LUA52_DEFINES -D_LARGEFILE_SOURCE" ;;
13812esac
13813
13814
13815if test "x$ac_cv_header_stdc" = xyes; then
13816  LUA52_DEFINES="$LUA52_DEFINES -DHAVE_UNISTD_H"
13817fi
13818
13819LUA52_TREE=lua-5.2.4
13820
13821
13822ac_config_files="$ac_config_files Makefile include/Makefile texlua52.pc"
13823
13824
13825cat >confcache <<\_ACEOF
13826# This file is a shell script that caches the results of configure
13827# tests run on this system so they can be shared between configure
13828# scripts and configure runs, see configure's option --config-cache.
13829# It is not useful on other systems.  If it contains results you don't
13830# want to keep, you may remove or edit it.
13831#
13832# config.status only pays attention to the cache file if you give it
13833# the --recheck option to rerun configure.
13834#
13835# `ac_cv_env_foo' variables (set or unset) will be overridden when
13836# loading this file, other *unset* `ac_cv_foo' will be assigned the
13837# following values.
13838
13839_ACEOF
13840
13841# The following way of writing the cache mishandles newlines in values,
13842# but we know of no workaround that is simple, portable, and efficient.
13843# So, we kill variables containing newlines.
13844# Ultrix sh set writes to stderr and can't be redirected directly,
13845# and sets the high bit in the cache file unless we assign to the vars.
13846(
13847  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13848    eval ac_val=\$$ac_var
13849    case $ac_val in #(
13850    *${as_nl}*)
13851      case $ac_var in #(
13852      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13853$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13854      esac
13855      case $ac_var in #(
13856      _ | IFS | as_nl) ;; #(
13857      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13858      *) { eval $ac_var=; unset $ac_var;} ;;
13859      esac ;;
13860    esac
13861  done
13862
13863  (set) 2>&1 |
13864    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13865    *${as_nl}ac_space=\ *)
13866      # `set' does not quote correctly, so add quotes: double-quote
13867      # substitution turns \\\\ into \\, and sed turns \\ into \.
13868      sed -n \
13869	"s/'/'\\\\''/g;
13870	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13871      ;; #(
13872    *)
13873      # `set' quotes correctly as required by POSIX, so do not add quotes.
13874      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13875      ;;
13876    esac |
13877    sort
13878) |
13879  sed '
13880     /^ac_cv_env_/b end
13881     t clear
13882     :clear
13883     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13884     t end
13885     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13886     :end' >>confcache
13887if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13888  if test -w "$cache_file"; then
13889    if test "x$cache_file" != "x/dev/null"; then
13890      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13891$as_echo "$as_me: updating cache $cache_file" >&6;}
13892      if test ! -f "$cache_file" || test -h "$cache_file"; then
13893	cat confcache >"$cache_file"
13894      else
13895        case $cache_file in #(
13896        */* | ?:*)
13897	  mv -f confcache "$cache_file"$$ &&
13898	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13899        *)
13900	  mv -f confcache "$cache_file" ;;
13901	esac
13902      fi
13903    fi
13904  else
13905    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13906$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13907  fi
13908fi
13909rm -f confcache
13910
13911test "x$prefix" = xNONE && prefix=$ac_default_prefix
13912# Let make expand exec_prefix.
13913test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13914
13915DEFS=-DHAVE_CONFIG_H
13916
13917ac_libobjs=
13918ac_ltlibobjs=
13919U=
13920for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13921  # 1. Remove the extension, and $U if already installed.
13922  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13923  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13924  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13925  #    will be set to the directory where LIBOBJS objects are built.
13926  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13927  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13928done
13929LIBOBJS=$ac_libobjs
13930
13931LTLIBOBJS=$ac_ltlibobjs
13932
13933
13934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13935$as_echo_n "checking that generated files are newer than configure... " >&6; }
13936   if test -n "$am_sleep_pid"; then
13937     # Hide warnings about reused PIDs.
13938     wait $am_sleep_pid 2>/dev/null
13939   fi
13940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13941$as_echo "done" >&6; }
13942 if test -n "$EXEEXT"; then
13943  am__EXEEXT_TRUE=
13944  am__EXEEXT_FALSE='#'
13945else
13946  am__EXEEXT_TRUE='#'
13947  am__EXEEXT_FALSE=
13948fi
13949
13950if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13951  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13952Usually this means the macro was only invoked conditionally." "$LINENO" 5
13953fi
13954if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13955  as_fn_error $? "conditional \"AMDEP\" was never defined.
13956Usually this means the macro was only invoked conditionally." "$LINENO" 5
13957fi
13958if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13959  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13960Usually this means the macro was only invoked conditionally." "$LINENO" 5
13961fi
13962if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13963  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13964Usually this means the macro was only invoked conditionally." "$LINENO" 5
13965fi
13966if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
13967  as_fn_error $? "conditional \"build\" was never defined.
13968Usually this means the macro was only invoked conditionally." "$LINENO" 5
13969fi
13970
13971: "${CONFIG_STATUS=./config.status}"
13972ac_write_fail=0
13973ac_clean_files_save=$ac_clean_files
13974ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13975{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13976$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13977as_write_fail=0
13978cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13979#! $SHELL
13980# Generated by $as_me.
13981# Run this file to recreate the current configuration.
13982# Compiler output produced by configure, useful for debugging
13983# configure, is in config.log if it exists.
13984
13985debug=false
13986ac_cs_recheck=false
13987ac_cs_silent=false
13988
13989SHELL=\${CONFIG_SHELL-$SHELL}
13990export SHELL
13991_ASEOF
13992cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13993## -------------------- ##
13994## M4sh Initialization. ##
13995## -------------------- ##
13996
13997# Be more Bourne compatible
13998DUALCASE=1; export DUALCASE # for MKS sh
13999if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14000  emulate sh
14001  NULLCMD=:
14002  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14003  # is contrary to our usage.  Disable this feature.
14004  alias -g '${1+"$@"}'='"$@"'
14005  setopt NO_GLOB_SUBST
14006else
14007  case `(set -o) 2>/dev/null` in #(
14008  *posix*) :
14009    set -o posix ;; #(
14010  *) :
14011     ;;
14012esac
14013fi
14014
14015
14016as_nl='
14017'
14018export as_nl
14019# Printing a long string crashes Solaris 7 /usr/bin/printf.
14020as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14021as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14022as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14023# Prefer a ksh shell builtin over an external printf program on Solaris,
14024# but without wasting forks for bash or zsh.
14025if test -z "$BASH_VERSION$ZSH_VERSION" \
14026    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14027  as_echo='print -r --'
14028  as_echo_n='print -rn --'
14029elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14030  as_echo='printf %s\n'
14031  as_echo_n='printf %s'
14032else
14033  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14034    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14035    as_echo_n='/usr/ucb/echo -n'
14036  else
14037    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14038    as_echo_n_body='eval
14039      arg=$1;
14040      case $arg in #(
14041      *"$as_nl"*)
14042	expr "X$arg" : "X\\(.*\\)$as_nl";
14043	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14044      esac;
14045      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14046    '
14047    export as_echo_n_body
14048    as_echo_n='sh -c $as_echo_n_body as_echo'
14049  fi
14050  export as_echo_body
14051  as_echo='sh -c $as_echo_body as_echo'
14052fi
14053
14054# The user is always right.
14055if test "${PATH_SEPARATOR+set}" != set; then
14056  PATH_SEPARATOR=:
14057  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14058    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14059      PATH_SEPARATOR=';'
14060  }
14061fi
14062
14063
14064# IFS
14065# We need space, tab and new line, in precisely that order.  Quoting is
14066# there to prevent editors from complaining about space-tab.
14067# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14068# splitting by setting IFS to empty value.)
14069IFS=" ""	$as_nl"
14070
14071# Find who we are.  Look in the path if we contain no directory separator.
14072as_myself=
14073case $0 in #((
14074  *[\\/]* ) as_myself=$0 ;;
14075  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14076for as_dir in $PATH
14077do
14078  IFS=$as_save_IFS
14079  test -z "$as_dir" && as_dir=.
14080    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14081  done
14082IFS=$as_save_IFS
14083
14084     ;;
14085esac
14086# We did not find ourselves, most probably we were run as `sh COMMAND'
14087# in which case we are not to be found in the path.
14088if test "x$as_myself" = x; then
14089  as_myself=$0
14090fi
14091if test ! -f "$as_myself"; then
14092  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14093  exit 1
14094fi
14095
14096# Unset variables that we do not need and which cause bugs (e.g. in
14097# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14098# suppresses any "Segmentation fault" message there.  '((' could
14099# trigger a bug in pdksh 5.2.14.
14100for as_var in BASH_ENV ENV MAIL MAILPATH
14101do eval test x\${$as_var+set} = xset \
14102  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14103done
14104PS1='$ '
14105PS2='> '
14106PS4='+ '
14107
14108# NLS nuisances.
14109LC_ALL=C
14110export LC_ALL
14111LANGUAGE=C
14112export LANGUAGE
14113
14114# CDPATH.
14115(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14116
14117
14118# as_fn_error STATUS ERROR [LINENO LOG_FD]
14119# ----------------------------------------
14120# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14121# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14122# script with STATUS, using 1 if that was 0.
14123as_fn_error ()
14124{
14125  as_status=$1; test $as_status -eq 0 && as_status=1
14126  if test "$4"; then
14127    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14128    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14129  fi
14130  $as_echo "$as_me: error: $2" >&2
14131  as_fn_exit $as_status
14132} # as_fn_error
14133
14134
14135# as_fn_set_status STATUS
14136# -----------------------
14137# Set $? to STATUS, without forking.
14138as_fn_set_status ()
14139{
14140  return $1
14141} # as_fn_set_status
14142
14143# as_fn_exit STATUS
14144# -----------------
14145# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14146as_fn_exit ()
14147{
14148  set +e
14149  as_fn_set_status $1
14150  exit $1
14151} # as_fn_exit
14152
14153# as_fn_unset VAR
14154# ---------------
14155# Portably unset VAR.
14156as_fn_unset ()
14157{
14158  { eval $1=; unset $1;}
14159}
14160as_unset=as_fn_unset
14161# as_fn_append VAR VALUE
14162# ----------------------
14163# Append the text in VALUE to the end of the definition contained in VAR. Take
14164# advantage of any shell optimizations that allow amortized linear growth over
14165# repeated appends, instead of the typical quadratic growth present in naive
14166# implementations.
14167if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14168  eval 'as_fn_append ()
14169  {
14170    eval $1+=\$2
14171  }'
14172else
14173  as_fn_append ()
14174  {
14175    eval $1=\$$1\$2
14176  }
14177fi # as_fn_append
14178
14179# as_fn_arith ARG...
14180# ------------------
14181# Perform arithmetic evaluation on the ARGs, and store the result in the
14182# global $as_val. Take advantage of shells that can avoid forks. The arguments
14183# must be portable across $(()) and expr.
14184if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14185  eval 'as_fn_arith ()
14186  {
14187    as_val=$(( $* ))
14188  }'
14189else
14190  as_fn_arith ()
14191  {
14192    as_val=`expr "$@" || test $? -eq 1`
14193  }
14194fi # as_fn_arith
14195
14196
14197if expr a : '\(a\)' >/dev/null 2>&1 &&
14198   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14199  as_expr=expr
14200else
14201  as_expr=false
14202fi
14203
14204if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14205  as_basename=basename
14206else
14207  as_basename=false
14208fi
14209
14210if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14211  as_dirname=dirname
14212else
14213  as_dirname=false
14214fi
14215
14216as_me=`$as_basename -- "$0" ||
14217$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14218	 X"$0" : 'X\(//\)$' \| \
14219	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14220$as_echo X/"$0" |
14221    sed '/^.*\/\([^/][^/]*\)\/*$/{
14222	    s//\1/
14223	    q
14224	  }
14225	  /^X\/\(\/\/\)$/{
14226	    s//\1/
14227	    q
14228	  }
14229	  /^X\/\(\/\).*/{
14230	    s//\1/
14231	    q
14232	  }
14233	  s/.*/./; q'`
14234
14235# Avoid depending upon Character Ranges.
14236as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14237as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14238as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14239as_cr_digits='0123456789'
14240as_cr_alnum=$as_cr_Letters$as_cr_digits
14241
14242ECHO_C= ECHO_N= ECHO_T=
14243case `echo -n x` in #(((((
14244-n*)
14245  case `echo 'xy\c'` in
14246  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14247  xy)  ECHO_C='\c';;
14248  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14249       ECHO_T='	';;
14250  esac;;
14251*)
14252  ECHO_N='-n';;
14253esac
14254
14255rm -f conf$$ conf$$.exe conf$$.file
14256if test -d conf$$.dir; then
14257  rm -f conf$$.dir/conf$$.file
14258else
14259  rm -f conf$$.dir
14260  mkdir conf$$.dir 2>/dev/null
14261fi
14262if (echo >conf$$.file) 2>/dev/null; then
14263  if ln -s conf$$.file conf$$ 2>/dev/null; then
14264    as_ln_s='ln -s'
14265    # ... but there are two gotchas:
14266    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14267    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14268    # In both cases, we have to default to `cp -pR'.
14269    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14270      as_ln_s='cp -pR'
14271  elif ln conf$$.file conf$$ 2>/dev/null; then
14272    as_ln_s=ln
14273  else
14274    as_ln_s='cp -pR'
14275  fi
14276else
14277  as_ln_s='cp -pR'
14278fi
14279rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14280rmdir conf$$.dir 2>/dev/null
14281
14282
14283# as_fn_mkdir_p
14284# -------------
14285# Create "$as_dir" as a directory, including parents if necessary.
14286as_fn_mkdir_p ()
14287{
14288
14289  case $as_dir in #(
14290  -*) as_dir=./$as_dir;;
14291  esac
14292  test -d "$as_dir" || eval $as_mkdir_p || {
14293    as_dirs=
14294    while :; do
14295      case $as_dir in #(
14296      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14297      *) as_qdir=$as_dir;;
14298      esac
14299      as_dirs="'$as_qdir' $as_dirs"
14300      as_dir=`$as_dirname -- "$as_dir" ||
14301$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14302	 X"$as_dir" : 'X\(//\)[^/]' \| \
14303	 X"$as_dir" : 'X\(//\)$' \| \
14304	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14305$as_echo X"$as_dir" |
14306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14307	    s//\1/
14308	    q
14309	  }
14310	  /^X\(\/\/\)[^/].*/{
14311	    s//\1/
14312	    q
14313	  }
14314	  /^X\(\/\/\)$/{
14315	    s//\1/
14316	    q
14317	  }
14318	  /^X\(\/\).*/{
14319	    s//\1/
14320	    q
14321	  }
14322	  s/.*/./; q'`
14323      test -d "$as_dir" && break
14324    done
14325    test -z "$as_dirs" || eval "mkdir $as_dirs"
14326  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14327
14328
14329} # as_fn_mkdir_p
14330if mkdir -p . 2>/dev/null; then
14331  as_mkdir_p='mkdir -p "$as_dir"'
14332else
14333  test -d ./-p && rmdir ./-p
14334  as_mkdir_p=false
14335fi
14336
14337
14338# as_fn_executable_p FILE
14339# -----------------------
14340# Test if FILE is an executable regular file.
14341as_fn_executable_p ()
14342{
14343  test -f "$1" && test -x "$1"
14344} # as_fn_executable_p
14345as_test_x='test -x'
14346as_executable_p=as_fn_executable_p
14347
14348# Sed expression to map a string onto a valid CPP name.
14349as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14350
14351# Sed expression to map a string onto a valid variable name.
14352as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14353
14354
14355exec 6>&1
14356## ----------------------------------- ##
14357## Main body of $CONFIG_STATUS script. ##
14358## ----------------------------------- ##
14359_ASEOF
14360test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14361
14362cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14363# Save the log message, to keep $0 and so on meaningful, and to
14364# report actual input values of CONFIG_FILES etc. instead of their
14365# values after options handling.
14366ac_log="
14367This file was extended by lua52 (TeX Live) $as_me 5.2.4, which was
14368generated by GNU Autoconf 2.69.  Invocation command line was
14369
14370  CONFIG_FILES    = $CONFIG_FILES
14371  CONFIG_HEADERS  = $CONFIG_HEADERS
14372  CONFIG_LINKS    = $CONFIG_LINKS
14373  CONFIG_COMMANDS = $CONFIG_COMMANDS
14374  $ $0 $@
14375
14376on `(hostname || uname -n) 2>/dev/null | sed 1q`
14377"
14378
14379_ACEOF
14380
14381case $ac_config_files in *"
14382"*) set x $ac_config_files; shift; ac_config_files=$*;;
14383esac
14384
14385case $ac_config_headers in *"
14386"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14387esac
14388
14389
14390cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14391# Files that config.status was made for.
14392config_files="$ac_config_files"
14393config_headers="$ac_config_headers"
14394config_commands="$ac_config_commands"
14395
14396_ACEOF
14397
14398cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14399ac_cs_usage="\
14400\`$as_me' instantiates files and other configuration actions
14401from templates according to the current configuration.  Unless the files
14402and actions are specified as TAGs, all are instantiated by default.
14403
14404Usage: $0 [OPTION]... [TAG]...
14405
14406  -h, --help       print this help, then exit
14407  -V, --version    print version number and configuration settings, then exit
14408      --config     print configuration, then exit
14409  -q, --quiet, --silent
14410                   do not print progress messages
14411  -d, --debug      don't remove temporary files
14412      --recheck    update $as_me by reconfiguring in the same conditions
14413      --file=FILE[:TEMPLATE]
14414                   instantiate the configuration file FILE
14415      --header=FILE[:TEMPLATE]
14416                   instantiate the configuration header FILE
14417
14418Configuration files:
14419$config_files
14420
14421Configuration headers:
14422$config_headers
14423
14424Configuration commands:
14425$config_commands
14426
14427Report bugs to <tex-k@tug.org>."
14428
14429_ACEOF
14430cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14431ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14432ac_cs_version="\\
14433lua52 (TeX Live) config.status 5.2.4
14434configured by $0, generated by GNU Autoconf 2.69,
14435  with options \\"\$ac_cs_config\\"
14436
14437Copyright (C) 2012 Free Software Foundation, Inc.
14438This config.status script is free software; the Free Software Foundation
14439gives unlimited permission to copy, distribute and modify it."
14440
14441ac_pwd='$ac_pwd'
14442srcdir='$srcdir'
14443INSTALL='$INSTALL'
14444MKDIR_P='$MKDIR_P'
14445AWK='$AWK'
14446test -n "\$AWK" || AWK=awk
14447_ACEOF
14448
14449cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14450# The default lists apply if the user does not specify any file.
14451ac_need_defaults=:
14452while test $# != 0
14453do
14454  case $1 in
14455  --*=?*)
14456    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14457    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14458    ac_shift=:
14459    ;;
14460  --*=)
14461    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14462    ac_optarg=
14463    ac_shift=:
14464    ;;
14465  *)
14466    ac_option=$1
14467    ac_optarg=$2
14468    ac_shift=shift
14469    ;;
14470  esac
14471
14472  case $ac_option in
14473  # Handling of the options.
14474  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14475    ac_cs_recheck=: ;;
14476  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14477    $as_echo "$ac_cs_version"; exit ;;
14478  --config | --confi | --conf | --con | --co | --c )
14479    $as_echo "$ac_cs_config"; exit ;;
14480  --debug | --debu | --deb | --de | --d | -d )
14481    debug=: ;;
14482  --file | --fil | --fi | --f )
14483    $ac_shift
14484    case $ac_optarg in
14485    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14486    '') as_fn_error $? "missing file argument" ;;
14487    esac
14488    as_fn_append CONFIG_FILES " '$ac_optarg'"
14489    ac_need_defaults=false;;
14490  --header | --heade | --head | --hea )
14491    $ac_shift
14492    case $ac_optarg in
14493    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14494    esac
14495    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14496    ac_need_defaults=false;;
14497  --he | --h)
14498    # Conflict between --help and --header
14499    as_fn_error $? "ambiguous option: \`$1'
14500Try \`$0 --help' for more information.";;
14501  --help | --hel | -h )
14502    $as_echo "$ac_cs_usage"; exit ;;
14503  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14504  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14505    ac_cs_silent=: ;;
14506
14507  # This is an error.
14508  -*) as_fn_error $? "unrecognized option: \`$1'
14509Try \`$0 --help' for more information." ;;
14510
14511  *) as_fn_append ac_config_targets " $1"
14512     ac_need_defaults=false ;;
14513
14514  esac
14515  shift
14516done
14517
14518ac_configure_extra_args=
14519
14520if $ac_cs_silent; then
14521  exec 6>/dev/null
14522  ac_configure_extra_args="$ac_configure_extra_args --silent"
14523fi
14524
14525_ACEOF
14526cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14527if \$ac_cs_recheck; then
14528  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14529  shift
14530  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14531  CONFIG_SHELL='$SHELL'
14532  export CONFIG_SHELL
14533  exec "\$@"
14534fi
14535
14536_ACEOF
14537cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14538exec 5>>config.log
14539{
14540  echo
14541  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14542## Running $as_me. ##
14543_ASBOX
14544  $as_echo "$ac_log"
14545} >&5
14546
14547_ACEOF
14548cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14549#
14550# INIT-COMMANDS
14551#
14552AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14553
14554
14555# The HP-UX ksh and POSIX shell print the target directory to stdout
14556# if CDPATH is set.
14557(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14558
14559sed_quote_subst='$sed_quote_subst'
14560double_quote_subst='$double_quote_subst'
14561delay_variable_subst='$delay_variable_subst'
14562macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14563macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14564AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14565DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14566OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14567enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14568enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14569pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14570enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14571shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14572SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14573ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14574PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14575host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14576host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14577host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14578build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14579build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14580build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14581SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14582Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14583GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14584EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14585FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14586LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14587NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14588LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14589max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14590ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14591exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14592lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14593lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14594lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14595lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14596lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14597reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14598reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14599deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14600file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14601file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14602want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14603sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14604AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14605AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14606archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14607STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14608RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14609old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14610old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14611old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14612lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14613CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14614CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14615compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14616GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14617lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14618lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14619lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14620lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14621lt_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"`'
14622lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14623nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14624lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14625lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14626objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14627MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14628lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14629lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14630lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14631lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14632lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14633need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14634MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14635DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14636NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14637LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14638OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14639OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14640libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14641shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14642extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14643archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14644enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14645export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14646whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14647compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14648old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14649old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14650archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14651archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14652module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14653module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14654with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14655allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14656no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14657hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14658hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14659hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14660hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14661hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14662hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14663hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14664inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14665link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14666always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14667export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14668exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14669include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14670prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14671postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14672file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14673variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14674need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14675need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14676version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14677runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14678shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14679shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14680libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14681library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14682soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14683install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14684postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14685postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14686finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14687finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14688hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14689sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14690configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14691configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14692hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14693enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14694enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14695enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14696old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14697striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14698
14699LTCC='$LTCC'
14700LTCFLAGS='$LTCFLAGS'
14701compiler='$compiler_DEFAULT'
14702
14703# A function that is used when there is no print builtin or printf.
14704func_fallback_echo ()
14705{
14706  eval 'cat <<_LTECHO_EOF
14707\$1
14708_LTECHO_EOF'
14709}
14710
14711# Quote evaled strings.
14712for var in AS \
14713DLLTOOL \
14714OBJDUMP \
14715SHELL \
14716ECHO \
14717PATH_SEPARATOR \
14718SED \
14719GREP \
14720EGREP \
14721FGREP \
14722LD \
14723NM \
14724LN_S \
14725lt_SP2NL \
14726lt_NL2SP \
14727reload_flag \
14728deplibs_check_method \
14729file_magic_cmd \
14730file_magic_glob \
14731want_nocaseglob \
14732sharedlib_from_linklib_cmd \
14733AR \
14734AR_FLAGS \
14735archiver_list_spec \
14736STRIP \
14737RANLIB \
14738CC \
14739CFLAGS \
14740compiler \
14741lt_cv_sys_global_symbol_pipe \
14742lt_cv_sys_global_symbol_to_cdecl \
14743lt_cv_sys_global_symbol_to_import \
14744lt_cv_sys_global_symbol_to_c_name_address \
14745lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14746lt_cv_nm_interface \
14747nm_file_list_spec \
14748lt_cv_truncate_bin \
14749lt_prog_compiler_no_builtin_flag \
14750lt_prog_compiler_pic \
14751lt_prog_compiler_wl \
14752lt_prog_compiler_static \
14753lt_cv_prog_compiler_c_o \
14754need_locks \
14755MANIFEST_TOOL \
14756DSYMUTIL \
14757NMEDIT \
14758LIPO \
14759OTOOL \
14760OTOOL64 \
14761shrext_cmds \
14762export_dynamic_flag_spec \
14763whole_archive_flag_spec \
14764compiler_needs_object \
14765with_gnu_ld \
14766allow_undefined_flag \
14767no_undefined_flag \
14768hardcode_libdir_flag_spec \
14769hardcode_libdir_separator \
14770exclude_expsyms \
14771include_expsyms \
14772file_list_spec \
14773variables_saved_for_relink \
14774libname_spec \
14775library_names_spec \
14776soname_spec \
14777install_override_mode \
14778finish_eval \
14779old_striplib \
14780striplib; do
14781    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14782    *[\\\\\\\`\\"\\\$]*)
14783      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14784      ;;
14785    *)
14786      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14787      ;;
14788    esac
14789done
14790
14791# Double-quote double-evaled strings.
14792for var in reload_cmds \
14793old_postinstall_cmds \
14794old_postuninstall_cmds \
14795old_archive_cmds \
14796extract_expsyms_cmds \
14797old_archive_from_new_cmds \
14798old_archive_from_expsyms_cmds \
14799archive_cmds \
14800archive_expsym_cmds \
14801module_cmds \
14802module_expsym_cmds \
14803export_symbols_cmds \
14804prelink_cmds \
14805postlink_cmds \
14806postinstall_cmds \
14807postuninstall_cmds \
14808finish_cmds \
14809sys_lib_search_path_spec \
14810configure_time_dlsearch_path \
14811configure_time_lt_sys_library_path; do
14812    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14813    *[\\\\\\\`\\"\\\$]*)
14814      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14815      ;;
14816    *)
14817      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14818      ;;
14819    esac
14820done
14821
14822ac_aux_dir='$ac_aux_dir'
14823
14824# See if we are running on zsh, and set the options that allow our
14825# commands through without removal of \ escapes INIT.
14826if test -n "\${ZSH_VERSION+set}"; then
14827   setopt NO_GLOB_SUBST
14828fi
14829
14830
14831    PACKAGE='$PACKAGE'
14832    VERSION='$VERSION'
14833    RM='$RM'
14834    ofile='$ofile'
14835
14836kpse_dll_name='$kpse_dll_name'
14837
14838
14839
14840_ACEOF
14841
14842cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14843
14844# Handling of arguments.
14845for ac_config_target in $ac_config_targets
14846do
14847  case $ac_config_target in
14848    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14849    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14850    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14851    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14852    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14853    "texlua52.pc") CONFIG_FILES="$CONFIG_FILES texlua52.pc" ;;
14854
14855  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14856  esac
14857done
14858
14859
14860# If the user did not use the arguments to specify the items to instantiate,
14861# then the envvar interface is used.  Set only those that are not.
14862# We use the long form for the default assignment because of an extremely
14863# bizarre bug on SunOS 4.1.3.
14864if $ac_need_defaults; then
14865  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14866  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14867  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14868fi
14869
14870# Have a temporary directory for convenience.  Make it in the build tree
14871# simply because there is no reason against having it here, and in addition,
14872# creating and moving files from /tmp can sometimes cause problems.
14873# Hook for its removal unless debugging.
14874# Note that there is a small window in which the directory will not be cleaned:
14875# after its creation but before its name has been assigned to `$tmp'.
14876$debug ||
14877{
14878  tmp= ac_tmp=
14879  trap 'exit_status=$?
14880  : "${ac_tmp:=$tmp}"
14881  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14882' 0
14883  trap 'as_fn_exit 1' 1 2 13 15
14884}
14885# Create a (secure) tmp directory for tmp files.
14886
14887{
14888  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14889  test -d "$tmp"
14890}  ||
14891{
14892  tmp=./conf$$-$RANDOM
14893  (umask 077 && mkdir "$tmp")
14894} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14895ac_tmp=$tmp
14896
14897# Set up the scripts for CONFIG_FILES section.
14898# No need to generate them if there are no CONFIG_FILES.
14899# This happens for instance with `./config.status config.h'.
14900if test -n "$CONFIG_FILES"; then
14901
14902
14903ac_cr=`echo X | tr X '\015'`
14904# On cygwin, bash can eat \r inside `` if the user requested igncr.
14905# But we know of no other shell where ac_cr would be empty at this
14906# point, so we can use a bashism as a fallback.
14907if test "x$ac_cr" = x; then
14908  eval ac_cr=\$\'\\r\'
14909fi
14910ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14911if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14912  ac_cs_awk_cr='\\r'
14913else
14914  ac_cs_awk_cr=$ac_cr
14915fi
14916
14917echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14918_ACEOF
14919
14920
14921{
14922  echo "cat >conf$$subs.awk <<_ACEOF" &&
14923  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14924  echo "_ACEOF"
14925} >conf$$subs.sh ||
14926  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14927ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14928ac_delim='%!_!# '
14929for ac_last_try in false false false false false :; do
14930  . ./conf$$subs.sh ||
14931    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14932
14933  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14934  if test $ac_delim_n = $ac_delim_num; then
14935    break
14936  elif $ac_last_try; then
14937    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14938  else
14939    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14940  fi
14941done
14942rm -f conf$$subs.sh
14943
14944cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14945cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14946_ACEOF
14947sed -n '
14948h
14949s/^/S["/; s/!.*/"]=/
14950p
14951g
14952s/^[^!]*!//
14953:repl
14954t repl
14955s/'"$ac_delim"'$//
14956t delim
14957:nl
14958h
14959s/\(.\{148\}\)..*/\1/
14960t more1
14961s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14962p
14963n
14964b repl
14965:more1
14966s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14967p
14968g
14969s/.\{148\}//
14970t nl
14971:delim
14972h
14973s/\(.\{148\}\)..*/\1/
14974t more2
14975s/["\\]/\\&/g; s/^/"/; s/$/"/
14976p
14977b
14978:more2
14979s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14980p
14981g
14982s/.\{148\}//
14983t delim
14984' <conf$$subs.awk | sed '
14985/^[^""]/{
14986  N
14987  s/\n//
14988}
14989' >>$CONFIG_STATUS || ac_write_fail=1
14990rm -f conf$$subs.awk
14991cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14992_ACAWK
14993cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14994  for (key in S) S_is_set[key] = 1
14995  FS = ""
14996
14997}
14998{
14999  line = $ 0
15000  nfields = split(line, field, "@")
15001  substed = 0
15002  len = length(field[1])
15003  for (i = 2; i < nfields; i++) {
15004    key = field[i]
15005    keylen = length(key)
15006    if (S_is_set[key]) {
15007      value = S[key]
15008      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15009      len += length(value) + length(field[++i])
15010      substed = 1
15011    } else
15012      len += 1 + keylen
15013  }
15014
15015  print line
15016}
15017
15018_ACAWK
15019_ACEOF
15020cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15021if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15022  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15023else
15024  cat
15025fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15026  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15027_ACEOF
15028
15029# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15030# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15031# trailing colons and then remove the whole line if VPATH becomes empty
15032# (actually we leave an empty line to preserve line numbers).
15033if test "x$srcdir" = x.; then
15034  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15035h
15036s///
15037s/^/:/
15038s/[	 ]*$/:/
15039s/:\$(srcdir):/:/g
15040s/:\${srcdir}:/:/g
15041s/:@srcdir@:/:/g
15042s/^:*//
15043s/:*$//
15044x
15045s/\(=[	 ]*\).*/\1/
15046G
15047s/\n//
15048s/^[^=]*=[	 ]*$//
15049}'
15050fi
15051
15052cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15053fi # test -n "$CONFIG_FILES"
15054
15055# Set up the scripts for CONFIG_HEADERS section.
15056# No need to generate them if there are no CONFIG_HEADERS.
15057# This happens for instance with `./config.status Makefile'.
15058if test -n "$CONFIG_HEADERS"; then
15059cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15060BEGIN {
15061_ACEOF
15062
15063# Transform confdefs.h into an awk script `defines.awk', embedded as
15064# here-document in config.status, that substitutes the proper values into
15065# config.h.in to produce config.h.
15066
15067# Create a delimiter string that does not exist in confdefs.h, to ease
15068# handling of long lines.
15069ac_delim='%!_!# '
15070for ac_last_try in false false :; do
15071  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15072  if test -z "$ac_tt"; then
15073    break
15074  elif $ac_last_try; then
15075    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15076  else
15077    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15078  fi
15079done
15080
15081# For the awk script, D is an array of macro values keyed by name,
15082# likewise P contains macro parameters if any.  Preserve backslash
15083# newline sequences.
15084
15085ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15086sed -n '
15087s/.\{148\}/&'"$ac_delim"'/g
15088t rset
15089:rset
15090s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15091t def
15092d
15093:def
15094s/\\$//
15095t bsnl
15096s/["\\]/\\&/g
15097s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15098D["\1"]=" \3"/p
15099s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15100d
15101:bsnl
15102s/["\\]/\\&/g
15103s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15104D["\1"]=" \3\\\\\\n"\\/p
15105t cont
15106s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15107t cont
15108d
15109:cont
15110n
15111s/.\{148\}/&'"$ac_delim"'/g
15112t clear
15113:clear
15114s/\\$//
15115t bsnlc
15116s/["\\]/\\&/g; s/^/"/; s/$/"/p
15117d
15118:bsnlc
15119s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15120b cont
15121' <confdefs.h | sed '
15122s/'"$ac_delim"'/"\\\
15123"/g' >>$CONFIG_STATUS || ac_write_fail=1
15124
15125cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15126  for (key in D) D_is_set[key] = 1
15127  FS = ""
15128}
15129/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15130  line = \$ 0
15131  split(line, arg, " ")
15132  if (arg[1] == "#") {
15133    defundef = arg[2]
15134    mac1 = arg[3]
15135  } else {
15136    defundef = substr(arg[1], 2)
15137    mac1 = arg[2]
15138  }
15139  split(mac1, mac2, "(") #)
15140  macro = mac2[1]
15141  prefix = substr(line, 1, index(line, defundef) - 1)
15142  if (D_is_set[macro]) {
15143    # Preserve the white space surrounding the "#".
15144    print prefix "define", macro P[macro] D[macro]
15145    next
15146  } else {
15147    # Replace #undef with comments.  This is necessary, for example,
15148    # in the case of _POSIX_SOURCE, which is predefined and required
15149    # on some systems where configure will not decide to define it.
15150    if (defundef == "undef") {
15151      print "/*", prefix defundef, macro, "*/"
15152      next
15153    }
15154  }
15155}
15156{ print }
15157_ACAWK
15158_ACEOF
15159cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15160  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15161fi # test -n "$CONFIG_HEADERS"
15162
15163
15164eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15165shift
15166for ac_tag
15167do
15168  case $ac_tag in
15169  :[FHLC]) ac_mode=$ac_tag; continue;;
15170  esac
15171  case $ac_mode$ac_tag in
15172  :[FHL]*:*);;
15173  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15174  :[FH]-) ac_tag=-:-;;
15175  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15176  esac
15177  ac_save_IFS=$IFS
15178  IFS=:
15179  set x $ac_tag
15180  IFS=$ac_save_IFS
15181  shift
15182  ac_file=$1
15183  shift
15184
15185  case $ac_mode in
15186  :L) ac_source=$1;;
15187  :[FH])
15188    ac_file_inputs=
15189    for ac_f
15190    do
15191      case $ac_f in
15192      -) ac_f="$ac_tmp/stdin";;
15193      *) # Look for the file first in the build tree, then in the source tree
15194	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15195	 # because $ac_f cannot contain `:'.
15196	 test -f "$ac_f" ||
15197	   case $ac_f in
15198	   [\\/$]*) false;;
15199	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15200	   esac ||
15201	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15202      esac
15203      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15204      as_fn_append ac_file_inputs " '$ac_f'"
15205    done
15206
15207    # Let's still pretend it is `configure' which instantiates (i.e., don't
15208    # use $as_me), people would be surprised to read:
15209    #    /* config.h.  Generated by config.status.  */
15210    configure_input='Generated from '`
15211	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15212	`' by configure.'
15213    if test x"$ac_file" != x-; then
15214      configure_input="$ac_file.  $configure_input"
15215      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15216$as_echo "$as_me: creating $ac_file" >&6;}
15217    fi
15218    # Neutralize special characters interpreted by sed in replacement strings.
15219    case $configure_input in #(
15220    *\&* | *\|* | *\\* )
15221       ac_sed_conf_input=`$as_echo "$configure_input" |
15222       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15223    *) ac_sed_conf_input=$configure_input;;
15224    esac
15225
15226    case $ac_tag in
15227    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15228      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15229    esac
15230    ;;
15231  esac
15232
15233  ac_dir=`$as_dirname -- "$ac_file" ||
15234$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15235	 X"$ac_file" : 'X\(//\)[^/]' \| \
15236	 X"$ac_file" : 'X\(//\)$' \| \
15237	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15238$as_echo X"$ac_file" |
15239    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15240	    s//\1/
15241	    q
15242	  }
15243	  /^X\(\/\/\)[^/].*/{
15244	    s//\1/
15245	    q
15246	  }
15247	  /^X\(\/\/\)$/{
15248	    s//\1/
15249	    q
15250	  }
15251	  /^X\(\/\).*/{
15252	    s//\1/
15253	    q
15254	  }
15255	  s/.*/./; q'`
15256  as_dir="$ac_dir"; as_fn_mkdir_p
15257  ac_builddir=.
15258
15259case "$ac_dir" in
15260.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15261*)
15262  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15263  # A ".." for each directory in $ac_dir_suffix.
15264  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15265  case $ac_top_builddir_sub in
15266  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15267  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15268  esac ;;
15269esac
15270ac_abs_top_builddir=$ac_pwd
15271ac_abs_builddir=$ac_pwd$ac_dir_suffix
15272# for backward compatibility:
15273ac_top_builddir=$ac_top_build_prefix
15274
15275case $srcdir in
15276  .)  # We are building in place.
15277    ac_srcdir=.
15278    ac_top_srcdir=$ac_top_builddir_sub
15279    ac_abs_top_srcdir=$ac_pwd ;;
15280  [\\/]* | ?:[\\/]* )  # Absolute name.
15281    ac_srcdir=$srcdir$ac_dir_suffix;
15282    ac_top_srcdir=$srcdir
15283    ac_abs_top_srcdir=$srcdir ;;
15284  *) # Relative name.
15285    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15286    ac_top_srcdir=$ac_top_build_prefix$srcdir
15287    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15288esac
15289ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15290
15291
15292  case $ac_mode in
15293  :F)
15294  #
15295  # CONFIG_FILE
15296  #
15297
15298  case $INSTALL in
15299  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15300  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15301  esac
15302  ac_MKDIR_P=$MKDIR_P
15303  case $MKDIR_P in
15304  [\\/$]* | ?:[\\/]* ) ;;
15305  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15306  esac
15307_ACEOF
15308
15309cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15310# If the template does not know about datarootdir, expand it.
15311# FIXME: This hack should be removed a few years after 2.60.
15312ac_datarootdir_hack=; ac_datarootdir_seen=
15313ac_sed_dataroot='
15314/datarootdir/ {
15315  p
15316  q
15317}
15318/@datadir@/p
15319/@docdir@/p
15320/@infodir@/p
15321/@localedir@/p
15322/@mandir@/p'
15323case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15324*datarootdir*) ac_datarootdir_seen=yes;;
15325*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15326  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15327$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15328_ACEOF
15329cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15330  ac_datarootdir_hack='
15331  s&@datadir@&$datadir&g
15332  s&@docdir@&$docdir&g
15333  s&@infodir@&$infodir&g
15334  s&@localedir@&$localedir&g
15335  s&@mandir@&$mandir&g
15336  s&\\\${datarootdir}&$datarootdir&g' ;;
15337esac
15338_ACEOF
15339
15340# Neutralize VPATH when `$srcdir' = `.'.
15341# Shell code in configure.ac might set extrasub.
15342# FIXME: do we really want to maintain this feature?
15343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15344ac_sed_extra="$ac_vpsub
15345$extrasub
15346_ACEOF
15347cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15348:t
15349/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15350s|@configure_input@|$ac_sed_conf_input|;t t
15351s&@top_builddir@&$ac_top_builddir_sub&;t t
15352s&@top_build_prefix@&$ac_top_build_prefix&;t t
15353s&@srcdir@&$ac_srcdir&;t t
15354s&@abs_srcdir@&$ac_abs_srcdir&;t t
15355s&@top_srcdir@&$ac_top_srcdir&;t t
15356s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15357s&@builddir@&$ac_builddir&;t t
15358s&@abs_builddir@&$ac_abs_builddir&;t t
15359s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15360s&@INSTALL@&$ac_INSTALL&;t t
15361s&@MKDIR_P@&$ac_MKDIR_P&;t t
15362$ac_datarootdir_hack
15363"
15364eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15365  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15366
15367test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15368  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15369  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15370      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15371  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15372which seems to be undefined.  Please make sure it is defined" >&5
15373$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15374which seems to be undefined.  Please make sure it is defined" >&2;}
15375
15376  rm -f "$ac_tmp/stdin"
15377  case $ac_file in
15378  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15379  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15380  esac \
15381  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15382 ;;
15383  :H)
15384  #
15385  # CONFIG_HEADER
15386  #
15387  if test x"$ac_file" != x-; then
15388    {
15389      $as_echo "/* $configure_input  */" \
15390      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15391    } >"$ac_tmp/config.h" \
15392      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15393    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15394      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15395$as_echo "$as_me: $ac_file is unchanged" >&6;}
15396    else
15397      rm -f "$ac_file"
15398      mv "$ac_tmp/config.h" "$ac_file" \
15399	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15400    fi
15401  else
15402    $as_echo "/* $configure_input  */" \
15403      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15404      || as_fn_error $? "could not create -" "$LINENO" 5
15405  fi
15406# Compute "$ac_file"'s index in $config_headers.
15407_am_arg="$ac_file"
15408_am_stamp_count=1
15409for _am_header in $config_headers :; do
15410  case $_am_header in
15411    $_am_arg | $_am_arg:* )
15412      break ;;
15413    * )
15414      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15415  esac
15416done
15417echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15418$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15419	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15420	 X"$_am_arg" : 'X\(//\)$' \| \
15421	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15422$as_echo X"$_am_arg" |
15423    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15424	    s//\1/
15425	    q
15426	  }
15427	  /^X\(\/\/\)[^/].*/{
15428	    s//\1/
15429	    q
15430	  }
15431	  /^X\(\/\/\)$/{
15432	    s//\1/
15433	    q
15434	  }
15435	  /^X\(\/\).*/{
15436	    s//\1/
15437	    q
15438	  }
15439	  s/.*/./; q'`/stamp-h$_am_stamp_count
15440 ;;
15441
15442  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15443$as_echo "$as_me: executing $ac_file commands" >&6;}
15444 ;;
15445  esac
15446
15447
15448  case $ac_file$ac_mode in
15449    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15450  # Older Autoconf quotes --file arguments for eval, but not when files
15451  # are listed without --file.  Let's play safe and only enable the eval
15452  # if we detect the quoting.
15453  case $CONFIG_FILES in
15454  *\'*) eval set x "$CONFIG_FILES" ;;
15455  *)   set x $CONFIG_FILES ;;
15456  esac
15457  shift
15458  for mf
15459  do
15460    # Strip MF so we end up with the name of the file.
15461    mf=`echo "$mf" | sed -e 's/:.*$//'`
15462    # Check whether this is an Automake generated Makefile or not.
15463    # We used to match only the files named 'Makefile.in', but
15464    # some people rename them; so instead we look at the file content.
15465    # Grep'ing the first line is not enough: some people post-process
15466    # each Makefile.in and add a new line on top of each file to say so.
15467    # Grep'ing the whole file is not good either: AIX grep has a line
15468    # limit of 2048, but all sed's we know have understand at least 4000.
15469    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15470      dirpart=`$as_dirname -- "$mf" ||
15471$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15472	 X"$mf" : 'X\(//\)[^/]' \| \
15473	 X"$mf" : 'X\(//\)$' \| \
15474	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15475$as_echo X"$mf" |
15476    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15477	    s//\1/
15478	    q
15479	  }
15480	  /^X\(\/\/\)[^/].*/{
15481	    s//\1/
15482	    q
15483	  }
15484	  /^X\(\/\/\)$/{
15485	    s//\1/
15486	    q
15487	  }
15488	  /^X\(\/\).*/{
15489	    s//\1/
15490	    q
15491	  }
15492	  s/.*/./; q'`
15493    else
15494      continue
15495    fi
15496    # Extract the definition of DEPDIR, am__include, and am__quote
15497    # from the Makefile without running 'make'.
15498    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15499    test -z "$DEPDIR" && continue
15500    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15501    test -z "$am__include" && continue
15502    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15503    # Find all dependency output files, they are included files with
15504    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15505    # simplest approach to changing $(DEPDIR) to its actual value in the
15506    # expansion.
15507    for file in `sed -n "
15508      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15509	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15510      # Make sure the directory exists.
15511      test -f "$dirpart/$file" && continue
15512      fdir=`$as_dirname -- "$file" ||
15513$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15514	 X"$file" : 'X\(//\)[^/]' \| \
15515	 X"$file" : 'X\(//\)$' \| \
15516	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15517$as_echo X"$file" |
15518    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15519	    s//\1/
15520	    q
15521	  }
15522	  /^X\(\/\/\)[^/].*/{
15523	    s//\1/
15524	    q
15525	  }
15526	  /^X\(\/\/\)$/{
15527	    s//\1/
15528	    q
15529	  }
15530	  /^X\(\/\).*/{
15531	    s//\1/
15532	    q
15533	  }
15534	  s/.*/./; q'`
15535      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15536      # echo "creating $dirpart/$file"
15537      echo '# dummy' > "$dirpart/$file"
15538    done
15539  done
15540}
15541 ;;
15542    "libtool":C)
15543
15544    # See if we are running on zsh, and set the options that allow our
15545    # commands through without removal of \ escapes.
15546    if test -n "${ZSH_VERSION+set}"; then
15547      setopt NO_GLOB_SUBST
15548    fi
15549
15550    cfgfile=${ofile}T
15551    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15552    $RM "$cfgfile"
15553
15554    cat <<_LT_EOF >> "$cfgfile"
15555#! $SHELL
15556# Generated automatically by $as_me ($PACKAGE) $VERSION
15557# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15558# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15559
15560# Provide generalized library-building support services.
15561# Written by Gordon Matzigkeit, 1996
15562
15563# Copyright (C) 2014 Free Software Foundation, Inc.
15564# This is free software; see the source for copying conditions.  There is NO
15565# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15566
15567# GNU Libtool is free software; you can redistribute it and/or modify
15568# it under the terms of the GNU General Public License as published by
15569# the Free Software Foundation; either version 2 of of the License, or
15570# (at your option) any later version.
15571#
15572# As a special exception to the GNU General Public License, if you
15573# distribute this file as part of a program or library that is built
15574# using GNU Libtool, you may include this file under the  same
15575# distribution terms that you use for the rest of that program.
15576#
15577# GNU Libtool is distributed in the hope that it will be useful, but
15578# WITHOUT ANY WARRANTY; without even the implied warranty of
15579# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15580# GNU General Public License for more details.
15581#
15582# You should have received a copy of the GNU General Public License
15583# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15584
15585
15586# The names of the tagged configurations supported by this script.
15587available_tags=''
15588
15589# Configured defaults for sys_lib_dlsearch_path munging.
15590: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15591
15592# ### BEGIN LIBTOOL CONFIG
15593
15594# Which release of libtool.m4 was used?
15595macro_version=$macro_version
15596macro_revision=$macro_revision
15597
15598# Assembler program.
15599AS=$lt_AS
15600
15601# DLL creation program.
15602DLLTOOL=$lt_DLLTOOL
15603
15604# Object dumper program.
15605OBJDUMP=$lt_OBJDUMP
15606
15607# Whether or not to build shared libraries.
15608build_libtool_libs=$enable_shared
15609
15610# Whether or not to build static libraries.
15611build_old_libs=$enable_static
15612
15613# What type of objects to build.
15614pic_mode=$pic_mode
15615
15616# Whether or not to optimize for fast installation.
15617fast_install=$enable_fast_install
15618
15619# Shared archive member basename,for filename based shared library versioning on AIX.
15620shared_archive_member_spec=$shared_archive_member_spec
15621
15622# Shell to use when invoking shell scripts.
15623SHELL=$lt_SHELL
15624
15625# An echo program that protects backslashes.
15626ECHO=$lt_ECHO
15627
15628# The PATH separator for the build system.
15629PATH_SEPARATOR=$lt_PATH_SEPARATOR
15630
15631# The host system.
15632host_alias=$host_alias
15633host=$host
15634host_os=$host_os
15635
15636# The build system.
15637build_alias=$build_alias
15638build=$build
15639build_os=$build_os
15640
15641# A sed program that does not truncate output.
15642SED=$lt_SED
15643
15644# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15645Xsed="\$SED -e 1s/^X//"
15646
15647# A grep program that handles long lines.
15648GREP=$lt_GREP
15649
15650# An ERE matcher.
15651EGREP=$lt_EGREP
15652
15653# A literal string matcher.
15654FGREP=$lt_FGREP
15655
15656# A BSD- or MS-compatible name lister.
15657NM=$lt_NM
15658
15659# Whether we need soft or hard links.
15660LN_S=$lt_LN_S
15661
15662# What is the maximum length of a command?
15663max_cmd_len=$max_cmd_len
15664
15665# Object file suffix (normally "o").
15666objext=$ac_objext
15667
15668# Executable file suffix (normally "").
15669exeext=$exeext
15670
15671# whether the shell understands "unset".
15672lt_unset=$lt_unset
15673
15674# turn spaces into newlines.
15675SP2NL=$lt_lt_SP2NL
15676
15677# turn newlines into spaces.
15678NL2SP=$lt_lt_NL2SP
15679
15680# convert \$build file names to \$host format.
15681to_host_file_cmd=$lt_cv_to_host_file_cmd
15682
15683# convert \$build files to toolchain format.
15684to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15685
15686# Method to check whether dependent libraries are shared objects.
15687deplibs_check_method=$lt_deplibs_check_method
15688
15689# Command to use when deplibs_check_method = "file_magic".
15690file_magic_cmd=$lt_file_magic_cmd
15691
15692# How to find potential files when deplibs_check_method = "file_magic".
15693file_magic_glob=$lt_file_magic_glob
15694
15695# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15696want_nocaseglob=$lt_want_nocaseglob
15697
15698# Command to associate shared and link libraries.
15699sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15700
15701# The archiver.
15702AR=$lt_AR
15703
15704# Flags to create an archive.
15705AR_FLAGS=$lt_AR_FLAGS
15706
15707# How to feed a file listing to the archiver.
15708archiver_list_spec=$lt_archiver_list_spec
15709
15710# A symbol stripping program.
15711STRIP=$lt_STRIP
15712
15713# Commands used to install an old-style archive.
15714RANLIB=$lt_RANLIB
15715old_postinstall_cmds=$lt_old_postinstall_cmds
15716old_postuninstall_cmds=$lt_old_postuninstall_cmds
15717
15718# Whether to use a lock for old archive extraction.
15719lock_old_archive_extraction=$lock_old_archive_extraction
15720
15721# A C compiler.
15722LTCC=$lt_CC
15723
15724# LTCC compiler flags.
15725LTCFLAGS=$lt_CFLAGS
15726
15727# Take the output of nm and produce a listing of raw symbols and C names.
15728global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15729
15730# Transform the output of nm in a proper C declaration.
15731global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15732
15733# Transform the output of nm into a list of symbols to manually relocate.
15734global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15735
15736# Transform the output of nm in a C name address pair.
15737global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15738
15739# Transform the output of nm in a C name address pair when lib prefix is needed.
15740global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15741
15742# The name lister interface.
15743nm_interface=$lt_lt_cv_nm_interface
15744
15745# Specify filename containing input files for \$NM.
15746nm_file_list_spec=$lt_nm_file_list_spec
15747
15748# The root where to search for dependent libraries,and where our libraries should be installed.
15749lt_sysroot=$lt_sysroot
15750
15751# Command to truncate a binary pipe.
15752lt_truncate_bin=$lt_lt_cv_truncate_bin
15753
15754# The name of the directory that contains temporary libtool files.
15755objdir=$objdir
15756
15757# Used to examine libraries when file_magic_cmd begins with "file".
15758MAGIC_CMD=$MAGIC_CMD
15759
15760# Must we lock files when doing compilation?
15761need_locks=$lt_need_locks
15762
15763# Manifest tool.
15764MANIFEST_TOOL=$lt_MANIFEST_TOOL
15765
15766# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15767DSYMUTIL=$lt_DSYMUTIL
15768
15769# Tool to change global to local symbols on Mac OS X.
15770NMEDIT=$lt_NMEDIT
15771
15772# Tool to manipulate fat objects and archives on Mac OS X.
15773LIPO=$lt_LIPO
15774
15775# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15776OTOOL=$lt_OTOOL
15777
15778# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15779OTOOL64=$lt_OTOOL64
15780
15781# Old archive suffix (normally "a").
15782libext=$libext
15783
15784# Shared library suffix (normally ".so").
15785shrext_cmds=$lt_shrext_cmds
15786
15787# The commands to extract the exported symbol list from a shared archive.
15788extract_expsyms_cmds=$lt_extract_expsyms_cmds
15789
15790# Variables whose values should be saved in libtool wrapper scripts and
15791# restored at link time.
15792variables_saved_for_relink=$lt_variables_saved_for_relink
15793
15794# Do we need the "lib" prefix for modules?
15795need_lib_prefix=$need_lib_prefix
15796
15797# Do we need a version for libraries?
15798need_version=$need_version
15799
15800# Library versioning type.
15801version_type=$version_type
15802
15803# Shared library runtime path variable.
15804runpath_var=$runpath_var
15805
15806# Shared library path variable.
15807shlibpath_var=$shlibpath_var
15808
15809# Is shlibpath searched before the hard-coded library search path?
15810shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15811
15812# Format of library name prefix.
15813libname_spec=$lt_libname_spec
15814
15815# List of archive names.  First name is the real one, the rest are links.
15816# The last name is the one that the linker finds with -lNAME
15817library_names_spec=$lt_library_names_spec
15818
15819# The coded name of the library, if different from the real name.
15820soname_spec=$lt_soname_spec
15821
15822# Permission mode override for installation of shared libraries.
15823install_override_mode=$lt_install_override_mode
15824
15825# Command to use after installation of a shared archive.
15826postinstall_cmds=$lt_postinstall_cmds
15827
15828# Command to use after uninstallation of a shared archive.
15829postuninstall_cmds=$lt_postuninstall_cmds
15830
15831# Commands used to finish a libtool library installation in a directory.
15832finish_cmds=$lt_finish_cmds
15833
15834# As "finish_cmds", except a single script fragment to be evaled but
15835# not shown.
15836finish_eval=$lt_finish_eval
15837
15838# Whether we should hardcode library paths into libraries.
15839hardcode_into_libs=$hardcode_into_libs
15840
15841# Compile-time system search path for libraries.
15842sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15843
15844# Detected run-time system search path for libraries.
15845sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15846
15847# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15848configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15849
15850# Whether dlopen is supported.
15851dlopen_support=$enable_dlopen
15852
15853# Whether dlopen of programs is supported.
15854dlopen_self=$enable_dlopen_self
15855
15856# Whether dlopen of statically linked programs is supported.
15857dlopen_self_static=$enable_dlopen_self_static
15858
15859# Commands to strip libraries.
15860old_striplib=$lt_old_striplib
15861striplib=$lt_striplib
15862
15863
15864# The linker used to build libraries.
15865LD=$lt_LD
15866
15867# How to create reloadable object files.
15868reload_flag=$lt_reload_flag
15869reload_cmds=$lt_reload_cmds
15870
15871# Commands used to build an old-style archive.
15872old_archive_cmds=$lt_old_archive_cmds
15873
15874# A language specific compiler.
15875CC=$lt_compiler
15876
15877# Is the compiler the GNU compiler?
15878with_gcc=$GCC
15879
15880# Compiler flag to turn off builtin functions.
15881no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15882
15883# Additional compiler flags for building library objects.
15884pic_flag=$lt_lt_prog_compiler_pic
15885
15886# How to pass a linker flag through the compiler.
15887wl=$lt_lt_prog_compiler_wl
15888
15889# Compiler flag to prevent dynamic linking.
15890link_static_flag=$lt_lt_prog_compiler_static
15891
15892# Does compiler simultaneously support -c and -o options?
15893compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15894
15895# Whether or not to add -lc for building shared libraries.
15896build_libtool_need_lc=$archive_cmds_need_lc
15897
15898# Whether or not to disallow shared libs when runtime libs are static.
15899allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15900
15901# Compiler flag to allow reflexive dlopens.
15902export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15903
15904# Compiler flag to generate shared objects directly from archives.
15905whole_archive_flag_spec=$lt_whole_archive_flag_spec
15906
15907# Whether the compiler copes with passing no objects directly.
15908compiler_needs_object=$lt_compiler_needs_object
15909
15910# Create an old-style archive from a shared archive.
15911old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15912
15913# Create a temporary old-style archive to link instead of a shared archive.
15914old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15915
15916# Commands used to build a shared archive.
15917archive_cmds=$lt_archive_cmds
15918archive_expsym_cmds=$lt_archive_expsym_cmds
15919
15920# Commands used to build a loadable module if different from building
15921# a shared archive.
15922module_cmds=$lt_module_cmds
15923module_expsym_cmds=$lt_module_expsym_cmds
15924
15925# Whether we are building with GNU ld or not.
15926with_gnu_ld=$lt_with_gnu_ld
15927
15928# Flag that allows shared libraries with undefined symbols to be built.
15929allow_undefined_flag=$lt_allow_undefined_flag
15930
15931# Flag that enforces no undefined symbols.
15932no_undefined_flag=$lt_no_undefined_flag
15933
15934# Flag to hardcode \$libdir into a binary during linking.
15935# This must work even if \$libdir does not exist
15936hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15937
15938# Whether we need a single "-rpath" flag with a separated argument.
15939hardcode_libdir_separator=$lt_hardcode_libdir_separator
15940
15941# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15942# DIR into the resulting binary.
15943hardcode_direct=$hardcode_direct
15944
15945# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15946# DIR into the resulting binary and the resulting library dependency is
15947# "absolute",i.e impossible to change by setting \$shlibpath_var if the
15948# library is relocated.
15949hardcode_direct_absolute=$hardcode_direct_absolute
15950
15951# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15952# into the resulting binary.
15953hardcode_minus_L=$hardcode_minus_L
15954
15955# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15956# into the resulting binary.
15957hardcode_shlibpath_var=$hardcode_shlibpath_var
15958
15959# Set to "yes" if building a shared library automatically hardcodes DIR
15960# into the library and all subsequent libraries and executables linked
15961# against it.
15962hardcode_automatic=$hardcode_automatic
15963
15964# Set to yes if linker adds runtime paths of dependent libraries
15965# to runtime path list.
15966inherit_rpath=$inherit_rpath
15967
15968# Whether libtool must link a program against all its dependency libraries.
15969link_all_deplibs=$link_all_deplibs
15970
15971# Set to "yes" if exported symbols are required.
15972always_export_symbols=$always_export_symbols
15973
15974# The commands to list exported symbols.
15975export_symbols_cmds=$lt_export_symbols_cmds
15976
15977# Symbols that should not be listed in the preloaded symbols.
15978exclude_expsyms=$lt_exclude_expsyms
15979
15980# Symbols that must always be exported.
15981include_expsyms=$lt_include_expsyms
15982
15983# Commands necessary for linking programs (against libraries) with templates.
15984prelink_cmds=$lt_prelink_cmds
15985
15986# Commands necessary for finishing linking programs.
15987postlink_cmds=$lt_postlink_cmds
15988
15989# Specify filename containing input files.
15990file_list_spec=$lt_file_list_spec
15991
15992# How to hardcode a shared library path into an executable.
15993hardcode_action=$hardcode_action
15994
15995# ### END LIBTOOL CONFIG
15996
15997_LT_EOF
15998
15999    cat <<'_LT_EOF' >> "$cfgfile"
16000
16001# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16002
16003# func_munge_path_list VARIABLE PATH
16004# -----------------------------------
16005# VARIABLE is name of variable containing _space_ separated list of
16006# directories to be munged by the contents of PATH, which is string
16007# having a format:
16008# "DIR[:DIR]:"
16009#       string "DIR[ DIR]" will be prepended to VARIABLE
16010# ":DIR[:DIR]"
16011#       string "DIR[ DIR]" will be appended to VARIABLE
16012# "DIRP[:DIRP]::[DIRA:]DIRA"
16013#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16014#       "DIRA[ DIRA]" will be appended to VARIABLE
16015# "DIR[:DIR]"
16016#       VARIABLE will be replaced by "DIR[ DIR]"
16017func_munge_path_list ()
16018{
16019    case x$2 in
16020    x)
16021        ;;
16022    *:)
16023        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16024        ;;
16025    x:*)
16026        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16027        ;;
16028    *::*)
16029        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16030        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16031        ;;
16032    *)
16033        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16034        ;;
16035    esac
16036}
16037
16038
16039# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
16040func_cc_basename ()
16041{
16042    for cc_temp in $*""; do
16043      case $cc_temp in
16044        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16045        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16046        \-*) ;;
16047        *) break;;
16048      esac
16049    done
16050    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16051}
16052
16053
16054# ### END FUNCTIONS SHARED WITH CONFIGURE
16055
16056_LT_EOF
16057
16058  case $host_os in
16059  aix3*)
16060    cat <<\_LT_EOF >> "$cfgfile"
16061# AIX sometimes has problems with the GCC collect2 program.  For some
16062# reason, if we set the COLLECT_NAMES environment variable, the problems
16063# vanish in a puff of smoke.
16064if test set != "${COLLECT_NAMES+set}"; then
16065  COLLECT_NAMES=
16066  export COLLECT_NAMES
16067fi
16068_LT_EOF
16069    ;;
16070  esac
16071
16072
16073ltmain=$ac_aux_dir/ltmain.sh
16074
16075
16076  # We use sed instead of cat because bash on DJGPP gets confused if
16077  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16078  # text mode, it properly converts lines to CR/LF.  This bash problem
16079  # is reportedly fixed, but why not run on old versions too?
16080  sed '$q' "$ltmain" >> "$cfgfile" \
16081     || (rm -f "$cfgfile"; exit 1)
16082
16083   mv -f "$cfgfile" "$ofile" ||
16084    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16085  chmod +x "$ofile"
16086
16087## KPSE_DLL_NAME: Specify the DLL name
16088if test "x$kpse_dll_name" != x; then
16089  $SED '/^soname_spec=/a\
16090## KPSE_DLL_NAME: Specify the DLL name\
16091soname_spec='$kpse_dll_name'.dll\
16092' "$ofile" >"$cfgfile"
16093  mv "$cfgfile" "$ofile" ||
16094    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16095  chmod +x "$ofile"
16096fi
16097 ;;
16098
16099  esac
16100done # for ac_tag
16101
16102
16103as_fn_exit 0
16104_ACEOF
16105ac_clean_files=$ac_clean_files_save
16106
16107test $ac_write_fail = 0 ||
16108  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16109
16110
16111# configure is writing to config.log, and then calls config.status.
16112# config.status does its own redirection, appending to config.log.
16113# Unfortunately, on DOS this fails, as config.log is still kept open
16114# by configure, so config.status won't be able to write to it; its
16115# output is simply discarded.  So we exec the FD to /dev/null,
16116# effectively closing config.log, so it can be properly (re)opened and
16117# appended to by config.status.  When coming back to configure, we
16118# need to make the FD available again.
16119if test "$no_create" != yes; then
16120  ac_cs_success=:
16121  ac_config_status_args=
16122  test "$silent" = yes &&
16123    ac_config_status_args="$ac_config_status_args --quiet"
16124  exec 5>/dev/null
16125  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16126  exec 5>>config.log
16127  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16128  # would make configure fail if this is the last instruction.
16129  $ac_cs_success || as_fn_exit 1
16130fi
16131if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16132  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16133$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16134fi
16135
16136