1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for ChkTeX (TeX Live) 1.7.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='ChkTeX (TeX Live)'
592PACKAGE_TARNAME='chktex--tex-live-'
593PACKAGE_VERSION='1.7.4'
594PACKAGE_STRING='ChkTeX (TeX Live) 1.7.4'
595PACKAGE_BUGREPORT='tex-k@tug.org'
596PACKAGE_URL=''
597
598ac_unique_file="chktex-1.7.4/ChkTeX.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
639KPATHSEA_RULE
640KPATHSEA_DEPEND
641KPATHSEA_LIBS
642KPATHSEA_INCLUDES
643PKG_CONFIG
644PERL5
645CHKTEX_TREE
646WIN32_WRAP_FALSE
647WIN32_WRAP_TRUE
648WIN_WRAPPER
649MINGW32_FALSE
650MINGW32_TRUE
651WIN32_FALSE
652WIN32_TRUE
653PS2PDF
654DVIPS
655LATEX
656CPP
657LT_SYS_LIBRARY_PATH
658OTOOL64
659OTOOL
660LIPO
661NMEDIT
662DSYMUTIL
663MANIFEST_TOOL
664RANLIB
665ac_ct_AR
666AR
667LN_S
668NM
669ac_ct_DUMPBIN
670DUMPBIN
671LD
672FGREP
673EGREP
674GREP
675SED
676host_os
677host_vendor
678host_cpu
679host
680build_os
681build_vendor
682build_cpu
683build
684LIBTOOL
685OBJDUMP
686DLLTOOL
687AS
688WARNING_CFLAGS
689am__fastdepCC_FALSE
690am__fastdepCC_TRUE
691CCDEPMODE
692am__nodep
693AMDEPBACKSLASH
694AMDEP_FALSE
695AMDEP_TRUE
696am__quote
697am__include
698DEPDIR
699OBJEXT
700EXEEXT
701ac_ct_CC
702CPPFLAGS
703LDFLAGS
704CFLAGS
705CC
706MAINT
707MAINTAINER_MODE_FALSE
708MAINTAINER_MODE_TRUE
709AM_BACKSLASH
710AM_DEFAULT_VERBOSITY
711AM_DEFAULT_V
712AM_V
713am__untar
714am__tar
715AMTAR
716am__leading_dot
717SET_MAKE
718AWK
719mkdir_p
720MKDIR_P
721INSTALL_STRIP_PROGRAM
722STRIP
723install_sh
724MAKEINFO
725AUTOHEADER
726AUTOMAKE
727AUTOCONF
728ACLOCAL
729VERSION
730PACKAGE
731CYGPATH_W
732am__isrc
733INSTALL_DATA
734INSTALL_SCRIPT
735INSTALL_PROGRAM
736target_alias
737host_alias
738build_alias
739LIBS
740ECHO_T
741ECHO_N
742ECHO_C
743DEFS
744mandir
745localedir
746libdir
747psdir
748pdfdir
749dvidir
750htmldir
751infodir
752docdir
753oldincludedir
754includedir
755localstatedir
756sharedstatedir
757sysconfdir
758datadir
759datarootdir
760libexecdir
761sbindir
762bindir
763program_transform_name
764prefix
765exec_prefix
766PACKAGE_URL
767PACKAGE_BUGREPORT
768PACKAGE_STRING
769PACKAGE_VERSION
770PACKAGE_TARNAME
771PACKAGE_NAME
772PATH_SEPARATOR
773SHELL'
774ac_subst_files=''
775ac_user_opts='
776enable_option_checking
777enable_silent_rules
778enable_maintainer_mode
779enable_dependency_tracking
780enable_compiler_warnings
781enable_shared
782enable_static
783with_pic
784enable_fast_install
785with_aix_soname
786with_gnu_ld
787with_sysroot
788enable_libtool_lock
789enable_largefile
790with_system_kpathsea
791'
792      ac_precious_vars='build_alias
793host_alias
794target_alias
795CC
796CFLAGS
797LDFLAGS
798LIBS
799CPPFLAGS
800LT_SYS_LIBRARY_PATH
801CPP
802LATEX'
803
804
805# Initialize some variables set by options.
806ac_init_help=
807ac_init_version=false
808ac_unrecognized_opts=
809ac_unrecognized_sep=
810# The variables have the same names as the options, with
811# dashes changed to underlines.
812cache_file=/dev/null
813exec_prefix=NONE
814no_create=
815no_recursion=
816prefix=NONE
817program_prefix=NONE
818program_suffix=NONE
819program_transform_name=s,x,x,
820silent=
821site=
822srcdir=
823verbose=
824x_includes=NONE
825x_libraries=NONE
826
827# Installation directory options.
828# These are left unexpanded so users can "make install exec_prefix=/foo"
829# and all the variables that are supposed to be based on exec_prefix
830# by default will actually change.
831# Use braces instead of parens because sh, perl, etc. also accept them.
832# (The list follows the same order as the GNU Coding Standards.)
833bindir='${exec_prefix}/bin'
834sbindir='${exec_prefix}/sbin'
835libexecdir='${exec_prefix}/libexec'
836datarootdir='${prefix}/share'
837datadir='${datarootdir}'
838sysconfdir='${prefix}/etc'
839sharedstatedir='${prefix}/com'
840localstatedir='${prefix}/var'
841includedir='${prefix}/include'
842oldincludedir='/usr/include'
843docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
844infodir='${datarootdir}/info'
845htmldir='${docdir}'
846dvidir='${docdir}'
847pdfdir='${docdir}'
848psdir='${docdir}'
849libdir='${exec_prefix}/lib'
850localedir='${datarootdir}/locale'
851mandir='${datarootdir}/man'
852
853ac_prev=
854ac_dashdash=
855for ac_option
856do
857  # If the previous option needs an argument, assign it.
858  if test -n "$ac_prev"; then
859    eval $ac_prev=\$ac_option
860    ac_prev=
861    continue
862  fi
863
864  case $ac_option in
865  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
866  *=)   ac_optarg= ;;
867  *)    ac_optarg=yes ;;
868  esac
869
870  # Accept the important Cygnus configure options, so we can diagnose typos.
871
872  case $ac_dashdash$ac_option in
873  --)
874    ac_dashdash=yes ;;
875
876  -bindir | --bindir | --bindi | --bind | --bin | --bi)
877    ac_prev=bindir ;;
878  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
879    bindir=$ac_optarg ;;
880
881  -build | --build | --buil | --bui | --bu)
882    ac_prev=build_alias ;;
883  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
884    build_alias=$ac_optarg ;;
885
886  -cache-file | --cache-file | --cache-fil | --cache-fi \
887  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
888    ac_prev=cache_file ;;
889  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
890  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
891    cache_file=$ac_optarg ;;
892
893  --config-cache | -C)
894    cache_file=config.cache ;;
895
896  -datadir | --datadir | --datadi | --datad)
897    ac_prev=datadir ;;
898  -datadir=* | --datadir=* | --datadi=* | --datad=*)
899    datadir=$ac_optarg ;;
900
901  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
902  | --dataroo | --dataro | --datar)
903    ac_prev=datarootdir ;;
904  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
905  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
906    datarootdir=$ac_optarg ;;
907
908  -disable-* | --disable-*)
909    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
910    # Reject names that are not valid shell variable names.
911    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912      as_fn_error $? "invalid feature name: $ac_useropt"
913    ac_useropt_orig=$ac_useropt
914    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915    case $ac_user_opts in
916      *"
917"enable_$ac_useropt"
918"*) ;;
919      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
920	 ac_unrecognized_sep=', ';;
921    esac
922    eval enable_$ac_useropt=no ;;
923
924  -docdir | --docdir | --docdi | --doc | --do)
925    ac_prev=docdir ;;
926  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
927    docdir=$ac_optarg ;;
928
929  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
930    ac_prev=dvidir ;;
931  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
932    dvidir=$ac_optarg ;;
933
934  -enable-* | --enable-*)
935    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
936    # Reject names that are not valid shell variable names.
937    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938      as_fn_error $? "invalid feature name: $ac_useropt"
939    ac_useropt_orig=$ac_useropt
940    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941    case $ac_user_opts in
942      *"
943"enable_$ac_useropt"
944"*) ;;
945      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
946	 ac_unrecognized_sep=', ';;
947    esac
948    eval enable_$ac_useropt=\$ac_optarg ;;
949
950  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
951  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
952  | --exec | --exe | --ex)
953    ac_prev=exec_prefix ;;
954  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
955  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
956  | --exec=* | --exe=* | --ex=*)
957    exec_prefix=$ac_optarg ;;
958
959  -gas | --gas | --ga | --g)
960    # Obsolete; use --with-gas.
961    with_gas=yes ;;
962
963  -help | --help | --hel | --he | -h)
964    ac_init_help=long ;;
965  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
966    ac_init_help=recursive ;;
967  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
968    ac_init_help=short ;;
969
970  -host | --host | --hos | --ho)
971    ac_prev=host_alias ;;
972  -host=* | --host=* | --hos=* | --ho=*)
973    host_alias=$ac_optarg ;;
974
975  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
976    ac_prev=htmldir ;;
977  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
978  | --ht=*)
979    htmldir=$ac_optarg ;;
980
981  -includedir | --includedir | --includedi | --included | --include \
982  | --includ | --inclu | --incl | --inc)
983    ac_prev=includedir ;;
984  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
985  | --includ=* | --inclu=* | --incl=* | --inc=*)
986    includedir=$ac_optarg ;;
987
988  -infodir | --infodir | --infodi | --infod | --info | --inf)
989    ac_prev=infodir ;;
990  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
991    infodir=$ac_optarg ;;
992
993  -libdir | --libdir | --libdi | --libd)
994    ac_prev=libdir ;;
995  -libdir=* | --libdir=* | --libdi=* | --libd=*)
996    libdir=$ac_optarg ;;
997
998  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
999  | --libexe | --libex | --libe)
1000    ac_prev=libexecdir ;;
1001  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1002  | --libexe=* | --libex=* | --libe=*)
1003    libexecdir=$ac_optarg ;;
1004
1005  -localedir | --localedir | --localedi | --localed | --locale)
1006    ac_prev=localedir ;;
1007  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1008    localedir=$ac_optarg ;;
1009
1010  -localstatedir | --localstatedir | --localstatedi | --localstated \
1011  | --localstate | --localstat | --localsta | --localst | --locals)
1012    ac_prev=localstatedir ;;
1013  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1014  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1015    localstatedir=$ac_optarg ;;
1016
1017  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1018    ac_prev=mandir ;;
1019  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1020    mandir=$ac_optarg ;;
1021
1022  -nfp | --nfp | --nf)
1023    # Obsolete; use --without-fp.
1024    with_fp=no ;;
1025
1026  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1027  | --no-cr | --no-c | -n)
1028    no_create=yes ;;
1029
1030  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1031  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1032    no_recursion=yes ;;
1033
1034  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1035  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1036  | --oldin | --oldi | --old | --ol | --o)
1037    ac_prev=oldincludedir ;;
1038  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1039  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1040  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1041    oldincludedir=$ac_optarg ;;
1042
1043  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1044    ac_prev=prefix ;;
1045  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1046    prefix=$ac_optarg ;;
1047
1048  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1049  | --program-pre | --program-pr | --program-p)
1050    ac_prev=program_prefix ;;
1051  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1052  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1053    program_prefix=$ac_optarg ;;
1054
1055  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1056  | --program-suf | --program-su | --program-s)
1057    ac_prev=program_suffix ;;
1058  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1059  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1060    program_suffix=$ac_optarg ;;
1061
1062  -program-transform-name | --program-transform-name \
1063  | --program-transform-nam | --program-transform-na \
1064  | --program-transform-n | --program-transform- \
1065  | --program-transform | --program-transfor \
1066  | --program-transfo | --program-transf \
1067  | --program-trans | --program-tran \
1068  | --progr-tra | --program-tr | --program-t)
1069    ac_prev=program_transform_name ;;
1070  -program-transform-name=* | --program-transform-name=* \
1071  | --program-transform-nam=* | --program-transform-na=* \
1072  | --program-transform-n=* | --program-transform-=* \
1073  | --program-transform=* | --program-transfor=* \
1074  | --program-transfo=* | --program-transf=* \
1075  | --program-trans=* | --program-tran=* \
1076  | --progr-tra=* | --program-tr=* | --program-t=*)
1077    program_transform_name=$ac_optarg ;;
1078
1079  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1080    ac_prev=pdfdir ;;
1081  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1082    pdfdir=$ac_optarg ;;
1083
1084  -psdir | --psdir | --psdi | --psd | --ps)
1085    ac_prev=psdir ;;
1086  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1087    psdir=$ac_optarg ;;
1088
1089  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090  | -silent | --silent | --silen | --sile | --sil)
1091    silent=yes ;;
1092
1093  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1094    ac_prev=sbindir ;;
1095  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1096  | --sbi=* | --sb=*)
1097    sbindir=$ac_optarg ;;
1098
1099  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1100  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1101  | --sharedst | --shareds | --shared | --share | --shar \
1102  | --sha | --sh)
1103    ac_prev=sharedstatedir ;;
1104  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1105  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1106  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1107  | --sha=* | --sh=*)
1108    sharedstatedir=$ac_optarg ;;
1109
1110  -site | --site | --sit)
1111    ac_prev=site ;;
1112  -site=* | --site=* | --sit=*)
1113    site=$ac_optarg ;;
1114
1115  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1116    ac_prev=srcdir ;;
1117  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1118    srcdir=$ac_optarg ;;
1119
1120  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1121  | --syscon | --sysco | --sysc | --sys | --sy)
1122    ac_prev=sysconfdir ;;
1123  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1124  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1125    sysconfdir=$ac_optarg ;;
1126
1127  -target | --target | --targe | --targ | --tar | --ta | --t)
1128    ac_prev=target_alias ;;
1129  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1130    target_alias=$ac_optarg ;;
1131
1132  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1133    verbose=yes ;;
1134
1135  -version | --version | --versio | --versi | --vers | -V)
1136    ac_init_version=: ;;
1137
1138  -with-* | --with-*)
1139    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140    # Reject names that are not valid shell variable names.
1141    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142      as_fn_error $? "invalid package name: $ac_useropt"
1143    ac_useropt_orig=$ac_useropt
1144    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145    case $ac_user_opts in
1146      *"
1147"with_$ac_useropt"
1148"*) ;;
1149      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1150	 ac_unrecognized_sep=', ';;
1151    esac
1152    eval with_$ac_useropt=\$ac_optarg ;;
1153
1154  -without-* | --without-*)
1155    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1156    # Reject names that are not valid shell variable names.
1157    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158      as_fn_error $? "invalid package name: $ac_useropt"
1159    ac_useropt_orig=$ac_useropt
1160    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161    case $ac_user_opts in
1162      *"
1163"with_$ac_useropt"
1164"*) ;;
1165      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1166	 ac_unrecognized_sep=', ';;
1167    esac
1168    eval with_$ac_useropt=no ;;
1169
1170  --x)
1171    # Obsolete; use --with-x.
1172    with_x=yes ;;
1173
1174  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1175  | --x-incl | --x-inc | --x-in | --x-i)
1176    ac_prev=x_includes ;;
1177  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1178  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1179    x_includes=$ac_optarg ;;
1180
1181  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1182  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1183    ac_prev=x_libraries ;;
1184  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1185  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1186    x_libraries=$ac_optarg ;;
1187
1188  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1189Try \`$0 --help' for more information"
1190    ;;
1191
1192  *=*)
1193    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1194    # Reject names that are not valid shell variable names.
1195    case $ac_envvar in #(
1196      '' | [0-9]* | *[!_$as_cr_alnum]* )
1197      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1198    esac
1199    eval $ac_envvar=\$ac_optarg
1200    export $ac_envvar ;;
1201
1202  *)
1203    # FIXME: should be removed in autoconf 3.0.
1204    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1205    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1207    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1208    ;;
1209
1210  esac
1211done
1212
1213if test -n "$ac_prev"; then
1214  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1215  as_fn_error $? "missing argument to $ac_option"
1216fi
1217
1218if test -n "$ac_unrecognized_opts"; then
1219  case $enable_option_checking in
1220    no) ;;
1221    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1222    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223  esac
1224fi
1225
1226# Check all directory arguments for consistency.
1227for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1228		datadir sysconfdir sharedstatedir localstatedir includedir \
1229		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1230		libdir localedir mandir
1231do
1232  eval ac_val=\$$ac_var
1233  # Remove trailing slashes.
1234  case $ac_val in
1235    */ )
1236      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1237      eval $ac_var=\$ac_val;;
1238  esac
1239  # Be sure to have absolute directory names.
1240  case $ac_val in
1241    [\\/$]* | ?:[\\/]* )  continue;;
1242    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1243  esac
1244  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1245done
1246
1247# There might be people who depend on the old broken behavior: `$host'
1248# used to hold the argument of --host etc.
1249# FIXME: To remove some day.
1250build=$build_alias
1251host=$host_alias
1252target=$target_alias
1253
1254# FIXME: To remove some day.
1255if test "x$host_alias" != x; then
1256  if test "x$build_alias" = x; then
1257    cross_compiling=maybe
1258  elif test "x$build_alias" != "x$host_alias"; then
1259    cross_compiling=yes
1260  fi
1261fi
1262
1263ac_tool_prefix=
1264test -n "$host_alias" && ac_tool_prefix=$host_alias-
1265
1266test "$silent" = yes && exec 6>/dev/null
1267
1268
1269ac_pwd=`pwd` && test -n "$ac_pwd" &&
1270ac_ls_di=`ls -di .` &&
1271ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1272  as_fn_error $? "working directory cannot be determined"
1273test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1274  as_fn_error $? "pwd does not report name of working directory"
1275
1276
1277# Find the source files, if location was not specified.
1278if test -z "$srcdir"; then
1279  ac_srcdir_defaulted=yes
1280  # Try the directory containing this script, then the parent directory.
1281  ac_confdir=`$as_dirname -- "$as_myself" ||
1282$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1283	 X"$as_myself" : 'X\(//\)[^/]' \| \
1284	 X"$as_myself" : 'X\(//\)$' \| \
1285	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1286$as_echo X"$as_myself" |
1287    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288	    s//\1/
1289	    q
1290	  }
1291	  /^X\(\/\/\)[^/].*/{
1292	    s//\1/
1293	    q
1294	  }
1295	  /^X\(\/\/\)$/{
1296	    s//\1/
1297	    q
1298	  }
1299	  /^X\(\/\).*/{
1300	    s//\1/
1301	    q
1302	  }
1303	  s/.*/./; q'`
1304  srcdir=$ac_confdir
1305  if test ! -r "$srcdir/$ac_unique_file"; then
1306    srcdir=..
1307  fi
1308else
1309  ac_srcdir_defaulted=no
1310fi
1311if test ! -r "$srcdir/$ac_unique_file"; then
1312  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1313  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1314fi
1315ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1316ac_abs_confdir=`(
1317	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1318	pwd)`
1319# When building in place, set srcdir=.
1320if test "$ac_abs_confdir" = "$ac_pwd"; then
1321  srcdir=.
1322fi
1323# Remove unnecessary trailing slashes from srcdir.
1324# Double slashes in file names in object file debugging info
1325# mess up M-x gdb in Emacs.
1326case $srcdir in
1327*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1328esac
1329for ac_var in $ac_precious_vars; do
1330  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1331  eval ac_env_${ac_var}_value=\$${ac_var}
1332  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1333  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1334done
1335
1336#
1337# Report the --help message.
1338#
1339if test "$ac_init_help" = "long"; then
1340  # Omit some internal or obsolete options to make the list less imposing.
1341  # This message is too long to be a string in the A/UX 3.1 sh.
1342  cat <<_ACEOF
1343\`configure' configures ChkTeX (TeX Live) 1.7.4 to adapt to many kinds of systems.
1344
1345Usage: $0 [OPTION]... [VAR=VALUE]...
1346
1347To assign environment variables (e.g., CC, CFLAGS...), specify them as
1348VAR=VALUE.  See below for descriptions of some of the useful variables.
1349
1350Defaults for the options are specified in brackets.
1351
1352Configuration:
1353  -h, --help              display this help and exit
1354      --help=short        display options specific to this package
1355      --help=recursive    display the short help of all the included packages
1356  -V, --version           display version information and exit
1357  -q, --quiet, --silent   do not print \`checking ...' messages
1358      --cache-file=FILE   cache test results in FILE [disabled]
1359  -C, --config-cache      alias for \`--cache-file=config.cache'
1360  -n, --no-create         do not create output files
1361      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1362
1363Installation directories:
1364  --prefix=PREFIX         install architecture-independent files in PREFIX
1365                          [$ac_default_prefix]
1366  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1367                          [PREFIX]
1368
1369By default, \`make install' will install all the files in
1370\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1371an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1372for instance \`--prefix=\$HOME'.
1373
1374For better control, use the options below.
1375
1376Fine tuning of the installation directories:
1377  --bindir=DIR            user executables [EPREFIX/bin]
1378  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1379  --libexecdir=DIR        program executables [EPREFIX/libexec]
1380  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1381  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1382  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1383  --libdir=DIR            object code libraries [EPREFIX/lib]
1384  --includedir=DIR        C header files [PREFIX/include]
1385  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1386  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1387  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1388  --infodir=DIR           info documentation [DATAROOTDIR/info]
1389  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1390  --mandir=DIR            man documentation [DATAROOTDIR/man]
1391  --docdir=DIR            documentation root
1392                          [DATAROOTDIR/doc/chktex--tex-live-]
1393  --htmldir=DIR           html documentation [DOCDIR]
1394  --dvidir=DIR            dvi documentation [DOCDIR]
1395  --pdfdir=DIR            pdf documentation [DOCDIR]
1396  --psdir=DIR             ps documentation [DOCDIR]
1397_ACEOF
1398
1399  cat <<\_ACEOF
1400
1401Program names:
1402  --program-prefix=PREFIX            prepend PREFIX to installed program names
1403  --program-suffix=SUFFIX            append SUFFIX to installed program names
1404  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1405
1406System types:
1407  --build=BUILD     configure for building on BUILD [guessed]
1408  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1409_ACEOF
1410fi
1411
1412if test -n "$ac_init_help"; then
1413  case $ac_init_help in
1414     short | recursive ) echo "Configuration of ChkTeX (TeX Live) 1.7.4:";;
1415   esac
1416  cat <<\_ACEOF
1417
1418Optional Features:
1419  --disable-option-checking  ignore unrecognized --enable/--with options
1420  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1421  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1422  --enable-silent-rules   less verbose build output (undo: "make V=1")
1423  --disable-silent-rules  verbose build output (undo: "make V=0")
1424  --enable-maintainer-mode
1425                          enable make rules and dependencies not useful (and
1426                          sometimes confusing) to the casual installer
1427  --enable-dependency-tracking
1428                          do not reject slow dependency extractors
1429  --disable-dependency-tracking
1430                          speeds up one-time build
1431  --enable-compiler-warnings=[no|min|yes|max|all]
1432                          Turn on compiler warnings [default: yes if
1433                          maintainer-mode, min otherwise]
1434  --enable-shared[=PKGS]  build shared libraries [default=yes]
1435  --enable-static[=PKGS]  build static libraries [default=yes]
1436  --enable-fast-install[=PKGS]
1437                          optimize for fast installation [default=yes]
1438  --disable-libtool-lock  avoid locking (might break parallel builds)
1439  --disable-largefile     omit support for large files
1440
1441Optional Packages:
1442  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1443  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1444  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1445                          both]
1446  --with-aix-soname=aix|svr4|both
1447                          shared library versioning (aka "SONAME") variant to
1448                          provide on AIX, [default=aix].
1449  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1450  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1451                          compiler's sysroot if not specified).
1452  --with-system-kpathsea  use installed kpathsea headers and library (requires
1453                          pkg-config)
1454
1455Some influential environment variables:
1456  CC          C compiler command
1457  CFLAGS      C compiler flags
1458  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1459              nonstandard directory <lib dir>
1460  LIBS        libraries to pass to the linker, e.g. -l<library>
1461  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1462              you have headers in a nonstandard directory <include dir>
1463  LT_SYS_LIBRARY_PATH
1464              User-defined run-time library search path.
1465  CPP         C preprocessor
1466  LATEX       LaTeX command
1467
1468Use these variables to override the choices made by `configure' or to help
1469it to find libraries and programs with nonstandard names/locations.
1470
1471Report bugs to <tex-k@tug.org>.
1472_ACEOF
1473ac_status=$?
1474fi
1475
1476if test "$ac_init_help" = "recursive"; then
1477  # If there are subdirs, report their specific --help.
1478  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1479    test -d "$ac_dir" ||
1480      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1481      continue
1482    ac_builddir=.
1483
1484case "$ac_dir" in
1485.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486*)
1487  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1488  # A ".." for each directory in $ac_dir_suffix.
1489  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1490  case $ac_top_builddir_sub in
1491  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1492  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1493  esac ;;
1494esac
1495ac_abs_top_builddir=$ac_pwd
1496ac_abs_builddir=$ac_pwd$ac_dir_suffix
1497# for backward compatibility:
1498ac_top_builddir=$ac_top_build_prefix
1499
1500case $srcdir in
1501  .)  # We are building in place.
1502    ac_srcdir=.
1503    ac_top_srcdir=$ac_top_builddir_sub
1504    ac_abs_top_srcdir=$ac_pwd ;;
1505  [\\/]* | ?:[\\/]* )  # Absolute name.
1506    ac_srcdir=$srcdir$ac_dir_suffix;
1507    ac_top_srcdir=$srcdir
1508    ac_abs_top_srcdir=$srcdir ;;
1509  *) # Relative name.
1510    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1511    ac_top_srcdir=$ac_top_build_prefix$srcdir
1512    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1513esac
1514ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1515
1516    cd "$ac_dir" || { ac_status=$?; continue; }
1517    # Check for guested configure.
1518    if test -f "$ac_srcdir/configure.gnu"; then
1519      echo &&
1520      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1521    elif test -f "$ac_srcdir/configure"; then
1522      echo &&
1523      $SHELL "$ac_srcdir/configure" --help=recursive
1524    else
1525      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1526    fi || ac_status=$?
1527    cd "$ac_pwd" || { ac_status=$?; break; }
1528  done
1529fi
1530
1531test -n "$ac_init_help" && exit $ac_status
1532if $ac_init_version; then
1533  cat <<\_ACEOF
1534ChkTeX (TeX Live) configure 1.7.4
1535generated by GNU Autoconf 2.69
1536
1537Copyright (C) 2012 Free Software Foundation, Inc.
1538This configure script is free software; the Free Software Foundation
1539gives unlimited permission to copy, distribute and modify it.
1540_ACEOF
1541  exit
1542fi
1543
1544## ------------------------ ##
1545## Autoconf initialization. ##
1546## ------------------------ ##
1547
1548# ac_fn_c_try_compile LINENO
1549# --------------------------
1550# Try to compile conftest.$ac_ext, and return whether this succeeded.
1551ac_fn_c_try_compile ()
1552{
1553  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554  rm -f conftest.$ac_objext
1555  if { { ac_try="$ac_compile"
1556case "(($ac_try" in
1557  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558  *) ac_try_echo=$ac_try;;
1559esac
1560eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561$as_echo "$ac_try_echo"; } >&5
1562  (eval "$ac_compile") 2>conftest.err
1563  ac_status=$?
1564  if test -s conftest.err; then
1565    grep -v '^ *+' conftest.err >conftest.er1
1566    cat conftest.er1 >&5
1567    mv -f conftest.er1 conftest.err
1568  fi
1569  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570  test $ac_status = 0; } && {
1571	 test -z "$ac_c_werror_flag" ||
1572	 test ! -s conftest.err
1573       } && test -s conftest.$ac_objext; then :
1574  ac_retval=0
1575else
1576  $as_echo "$as_me: failed program was:" >&5
1577sed 's/^/| /' conftest.$ac_ext >&5
1578
1579	ac_retval=1
1580fi
1581  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582  as_fn_set_status $ac_retval
1583
1584} # ac_fn_c_try_compile
1585
1586# ac_fn_c_try_link LINENO
1587# -----------------------
1588# Try to link conftest.$ac_ext, and return whether this succeeded.
1589ac_fn_c_try_link ()
1590{
1591  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592  rm -f conftest.$ac_objext conftest$ac_exeext
1593  if { { ac_try="$ac_link"
1594case "(($ac_try" in
1595  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1596  *) ac_try_echo=$ac_try;;
1597esac
1598eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599$as_echo "$ac_try_echo"; } >&5
1600  (eval "$ac_link") 2>conftest.err
1601  ac_status=$?
1602  if test -s conftest.err; then
1603    grep -v '^ *+' conftest.err >conftest.er1
1604    cat conftest.er1 >&5
1605    mv -f conftest.er1 conftest.err
1606  fi
1607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608  test $ac_status = 0; } && {
1609	 test -z "$ac_c_werror_flag" ||
1610	 test ! -s conftest.err
1611       } && test -s conftest$ac_exeext && {
1612	 test "$cross_compiling" = yes ||
1613	 test -x conftest$ac_exeext
1614       }; then :
1615  ac_retval=0
1616else
1617  $as_echo "$as_me: failed program was:" >&5
1618sed 's/^/| /' conftest.$ac_ext >&5
1619
1620	ac_retval=1
1621fi
1622  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1623  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1624  # interfere with the next link command; also delete a directory that is
1625  # left behind by Apple's compiler.  We do this before executing the actions.
1626  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1627  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628  as_fn_set_status $ac_retval
1629
1630} # ac_fn_c_try_link
1631
1632# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1633# -------------------------------------------------------
1634# Tests whether HEADER exists and can be compiled using the include files in
1635# INCLUDES, setting the cache variable VAR accordingly.
1636ac_fn_c_check_header_compile ()
1637{
1638  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640$as_echo_n "checking for $2... " >&6; }
1641if eval \${$3+:} false; then :
1642  $as_echo_n "(cached) " >&6
1643else
1644  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645/* end confdefs.h.  */
1646$4
1647#include <$2>
1648_ACEOF
1649if ac_fn_c_try_compile "$LINENO"; then :
1650  eval "$3=yes"
1651else
1652  eval "$3=no"
1653fi
1654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1655fi
1656eval ac_res=\$$3
1657	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658$as_echo "$ac_res" >&6; }
1659  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660
1661} # ac_fn_c_check_header_compile
1662
1663# ac_fn_c_try_cpp LINENO
1664# ----------------------
1665# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1666ac_fn_c_try_cpp ()
1667{
1668  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669  if { { ac_try="$ac_cpp conftest.$ac_ext"
1670case "(($ac_try" in
1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672  *) ac_try_echo=$ac_try;;
1673esac
1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675$as_echo "$ac_try_echo"; } >&5
1676  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1677  ac_status=$?
1678  if test -s conftest.err; then
1679    grep -v '^ *+' conftest.err >conftest.er1
1680    cat conftest.er1 >&5
1681    mv -f conftest.er1 conftest.err
1682  fi
1683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684  test $ac_status = 0; } > conftest.i && {
1685	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1686	 test ! -s conftest.err
1687       }; then :
1688  ac_retval=0
1689else
1690  $as_echo "$as_me: failed program was:" >&5
1691sed 's/^/| /' conftest.$ac_ext >&5
1692
1693    ac_retval=1
1694fi
1695  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696  as_fn_set_status $ac_retval
1697
1698} # ac_fn_c_try_cpp
1699
1700# ac_fn_c_try_run LINENO
1701# ----------------------
1702# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1703# that executables *can* be run.
1704ac_fn_c_try_run ()
1705{
1706  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707  if { { ac_try="$ac_link"
1708case "(($ac_try" in
1709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710  *) ac_try_echo=$ac_try;;
1711esac
1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713$as_echo "$ac_try_echo"; } >&5
1714  (eval "$ac_link") 2>&5
1715  ac_status=$?
1716  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1718  { { case "(($ac_try" in
1719  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720  *) ac_try_echo=$ac_try;;
1721esac
1722eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723$as_echo "$ac_try_echo"; } >&5
1724  (eval "$ac_try") 2>&5
1725  ac_status=$?
1726  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727  test $ac_status = 0; }; }; then :
1728  ac_retval=0
1729else
1730  $as_echo "$as_me: program exited with status $ac_status" >&5
1731       $as_echo "$as_me: failed program was:" >&5
1732sed 's/^/| /' conftest.$ac_ext >&5
1733
1734       ac_retval=$ac_status
1735fi
1736  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738  as_fn_set_status $ac_retval
1739
1740} # ac_fn_c_try_run
1741
1742# ac_fn_c_check_func LINENO FUNC VAR
1743# ----------------------------------
1744# Tests whether FUNC exists, setting the cache variable VAR accordingly
1745ac_fn_c_check_func ()
1746{
1747  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749$as_echo_n "checking for $2... " >&6; }
1750if eval \${$3+:} false; then :
1751  $as_echo_n "(cached) " >&6
1752else
1753  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754/* end confdefs.h.  */
1755/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1756   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1757#define $2 innocuous_$2
1758
1759/* System header to define __stub macros and hopefully few prototypes,
1760    which can conflict with char $2 (); below.
1761    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1762    <limits.h> exists even on freestanding compilers.  */
1763
1764#ifdef __STDC__
1765# include <limits.h>
1766#else
1767# include <assert.h>
1768#endif
1769
1770#undef $2
1771
1772/* Override any GCC internal prototype to avoid an error.
1773   Use char because int might match the return type of a GCC
1774   builtin and then its argument prototype would still apply.  */
1775#ifdef __cplusplus
1776extern "C"
1777#endif
1778char $2 ();
1779/* The GNU C library defines this for functions which it implements
1780    to always fail with ENOSYS.  Some functions are actually named
1781    something starting with __ and the normal name is an alias.  */
1782#if defined __stub_$2 || defined __stub___$2
1783choke me
1784#endif
1785
1786int
1787main ()
1788{
1789return $2 ();
1790  ;
1791  return 0;
1792}
1793_ACEOF
1794if ac_fn_c_try_link "$LINENO"; then :
1795  eval "$3=yes"
1796else
1797  eval "$3=no"
1798fi
1799rm -f core conftest.err conftest.$ac_objext \
1800    conftest$ac_exeext conftest.$ac_ext
1801fi
1802eval ac_res=\$$3
1803	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804$as_echo "$ac_res" >&6; }
1805  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806
1807} # ac_fn_c_check_func
1808
1809# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1810# -------------------------------------------------------
1811# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1812# the include files in INCLUDES and setting the cache variable VAR
1813# accordingly.
1814ac_fn_c_check_header_mongrel ()
1815{
1816  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817  if eval \${$3+:} false; then :
1818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819$as_echo_n "checking for $2... " >&6; }
1820if eval \${$3+:} false; then :
1821  $as_echo_n "(cached) " >&6
1822fi
1823eval ac_res=\$$3
1824	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825$as_echo "$ac_res" >&6; }
1826else
1827  # Is the header compilable?
1828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1829$as_echo_n "checking $2 usability... " >&6; }
1830cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831/* end confdefs.h.  */
1832$4
1833#include <$2>
1834_ACEOF
1835if ac_fn_c_try_compile "$LINENO"; then :
1836  ac_header_compiler=yes
1837else
1838  ac_header_compiler=no
1839fi
1840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1842$as_echo "$ac_header_compiler" >&6; }
1843
1844# Is the header present?
1845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1846$as_echo_n "checking $2 presence... " >&6; }
1847cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848/* end confdefs.h.  */
1849#include <$2>
1850_ACEOF
1851if ac_fn_c_try_cpp "$LINENO"; then :
1852  ac_header_preproc=yes
1853else
1854  ac_header_preproc=no
1855fi
1856rm -f conftest.err conftest.i conftest.$ac_ext
1857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1858$as_echo "$ac_header_preproc" >&6; }
1859
1860# So?  What about this header?
1861case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1862  yes:no: )
1863    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1864$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1865    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1866$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1867    ;;
1868  no:yes:* )
1869    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1870$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1871    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1872$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1873    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1874$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1875    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1876$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1877    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1878$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1879( $as_echo "## ---------------------------- ##
1880## Report this to tex-k@tug.org ##
1881## ---------------------------- ##"
1882     ) | sed "s/^/$as_me: WARNING:     /" >&2
1883    ;;
1884esac
1885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886$as_echo_n "checking for $2... " >&6; }
1887if eval \${$3+:} false; then :
1888  $as_echo_n "(cached) " >&6
1889else
1890  eval "$3=\$ac_header_compiler"
1891fi
1892eval ac_res=\$$3
1893	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894$as_echo "$ac_res" >&6; }
1895fi
1896  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897
1898} # ac_fn_c_check_header_mongrel
1899
1900# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1901# -------------------------------------------
1902# Tests whether TYPE exists after having included INCLUDES, setting cache
1903# variable VAR accordingly.
1904ac_fn_c_check_type ()
1905{
1906  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908$as_echo_n "checking for $2... " >&6; }
1909if eval \${$3+:} false; then :
1910  $as_echo_n "(cached) " >&6
1911else
1912  eval "$3=no"
1913  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914/* end confdefs.h.  */
1915$4
1916int
1917main ()
1918{
1919if (sizeof ($2))
1920	 return 0;
1921  ;
1922  return 0;
1923}
1924_ACEOF
1925if ac_fn_c_try_compile "$LINENO"; then :
1926  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927/* end confdefs.h.  */
1928$4
1929int
1930main ()
1931{
1932if (sizeof (($2)))
1933	    return 0;
1934  ;
1935  return 0;
1936}
1937_ACEOF
1938if ac_fn_c_try_compile "$LINENO"; then :
1939
1940else
1941  eval "$3=yes"
1942fi
1943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944fi
1945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1946fi
1947eval ac_res=\$$3
1948	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949$as_echo "$ac_res" >&6; }
1950  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951
1952} # ac_fn_c_check_type
1953
1954# ac_fn_c_find_intX_t LINENO BITS VAR
1955# -----------------------------------
1956# Finds a signed integer type with width BITS, setting cache variable VAR
1957# accordingly.
1958ac_fn_c_find_intX_t ()
1959{
1960  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1962$as_echo_n "checking for int$2_t... " >&6; }
1963if eval \${$3+:} false; then :
1964  $as_echo_n "(cached) " >&6
1965else
1966  eval "$3=no"
1967     # Order is important - never check a type that is potentially smaller
1968     # than half of the expected target width.
1969     for ac_type in int$2_t 'int' 'long int' \
1970	 'long long int' 'short int' 'signed char'; do
1971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972/* end confdefs.h.  */
1973$ac_includes_default
1974	     enum { N = $2 / 2 - 1 };
1975int
1976main ()
1977{
1978static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1979test_array [0] = 0;
1980return test_array [0];
1981
1982  ;
1983  return 0;
1984}
1985_ACEOF
1986if ac_fn_c_try_compile "$LINENO"; then :
1987  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988/* end confdefs.h.  */
1989$ac_includes_default
1990	        enum { N = $2 / 2 - 1 };
1991int
1992main ()
1993{
1994static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1995		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1996test_array [0] = 0;
1997return test_array [0];
1998
1999  ;
2000  return 0;
2001}
2002_ACEOF
2003if ac_fn_c_try_compile "$LINENO"; then :
2004
2005else
2006  case $ac_type in #(
2007  int$2_t) :
2008    eval "$3=yes" ;; #(
2009  *) :
2010    eval "$3=\$ac_type" ;;
2011esac
2012fi
2013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014fi
2015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016       if eval test \"x\$"$3"\" = x"no"; then :
2017
2018else
2019  break
2020fi
2021     done
2022fi
2023eval ac_res=\$$3
2024	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2025$as_echo "$ac_res" >&6; }
2026  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027
2028} # ac_fn_c_find_intX_t
2029
2030# ac_fn_c_find_uintX_t LINENO BITS VAR
2031# ------------------------------------
2032# Finds an unsigned integer type with width BITS, setting cache variable VAR
2033# accordingly.
2034ac_fn_c_find_uintX_t ()
2035{
2036  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2037  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2038$as_echo_n "checking for uint$2_t... " >&6; }
2039if eval \${$3+:} false; then :
2040  $as_echo_n "(cached) " >&6
2041else
2042  eval "$3=no"
2043     # Order is important - never check a type that is potentially smaller
2044     # than half of the expected target width.
2045     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2046	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048/* end confdefs.h.  */
2049$ac_includes_default
2050int
2051main ()
2052{
2053static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2054test_array [0] = 0;
2055return test_array [0];
2056
2057  ;
2058  return 0;
2059}
2060_ACEOF
2061if ac_fn_c_try_compile "$LINENO"; then :
2062  case $ac_type in #(
2063  uint$2_t) :
2064    eval "$3=yes" ;; #(
2065  *) :
2066    eval "$3=\$ac_type" ;;
2067esac
2068fi
2069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2070       if eval test \"x\$"$3"\" = x"no"; then :
2071
2072else
2073  break
2074fi
2075     done
2076fi
2077eval ac_res=\$$3
2078	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079$as_echo "$ac_res" >&6; }
2080  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081
2082} # ac_fn_c_find_uintX_t
2083
2084# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2085# ----------------------------------------------------
2086# Tries to find if the field MEMBER exists in type AGGR, after including
2087# INCLUDES, setting cache variable VAR accordingly.
2088ac_fn_c_check_member ()
2089{
2090  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2092$as_echo_n "checking for $2.$3... " >&6; }
2093if eval \${$4+:} false; then :
2094  $as_echo_n "(cached) " >&6
2095else
2096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097/* end confdefs.h.  */
2098$5
2099int
2100main ()
2101{
2102static $2 ac_aggr;
2103if (ac_aggr.$3)
2104return 0;
2105  ;
2106  return 0;
2107}
2108_ACEOF
2109if ac_fn_c_try_compile "$LINENO"; then :
2110  eval "$4=yes"
2111else
2112  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2113/* end confdefs.h.  */
2114$5
2115int
2116main ()
2117{
2118static $2 ac_aggr;
2119if (sizeof ac_aggr.$3)
2120return 0;
2121  ;
2122  return 0;
2123}
2124_ACEOF
2125if ac_fn_c_try_compile "$LINENO"; then :
2126  eval "$4=yes"
2127else
2128  eval "$4=no"
2129fi
2130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131fi
2132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133fi
2134eval ac_res=\$$4
2135	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2136$as_echo "$ac_res" >&6; }
2137  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2138
2139} # ac_fn_c_check_member
2140
2141# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2142# ---------------------------------------------
2143# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2144# accordingly.
2145ac_fn_c_check_decl ()
2146{
2147  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2148  as_decl_name=`echo $2|sed 's/ *(.*//'`
2149  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2151$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2152if eval \${$3+:} false; then :
2153  $as_echo_n "(cached) " >&6
2154else
2155  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2156/* end confdefs.h.  */
2157$4
2158int
2159main ()
2160{
2161#ifndef $as_decl_name
2162#ifdef __cplusplus
2163  (void) $as_decl_use;
2164#else
2165  (void) $as_decl_name;
2166#endif
2167#endif
2168
2169  ;
2170  return 0;
2171}
2172_ACEOF
2173if ac_fn_c_try_compile "$LINENO"; then :
2174  eval "$3=yes"
2175else
2176  eval "$3=no"
2177fi
2178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179fi
2180eval ac_res=\$$3
2181	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182$as_echo "$ac_res" >&6; }
2183  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2184
2185} # ac_fn_c_check_decl
2186cat >config.log <<_ACEOF
2187This file contains any messages produced by compilers while
2188running configure, to aid debugging if configure makes a mistake.
2189
2190It was created by ChkTeX (TeX Live) $as_me 1.7.4, which was
2191generated by GNU Autoconf 2.69.  Invocation command line was
2192
2193  $ $0 $@
2194
2195_ACEOF
2196exec 5>>config.log
2197{
2198cat <<_ASUNAME
2199## --------- ##
2200## Platform. ##
2201## --------- ##
2202
2203hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2204uname -m = `(uname -m) 2>/dev/null || echo unknown`
2205uname -r = `(uname -r) 2>/dev/null || echo unknown`
2206uname -s = `(uname -s) 2>/dev/null || echo unknown`
2207uname -v = `(uname -v) 2>/dev/null || echo unknown`
2208
2209/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2210/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2211
2212/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2213/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2214/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2215/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2216/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2217/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2218/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2219
2220_ASUNAME
2221
2222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223for as_dir in $PATH
2224do
2225  IFS=$as_save_IFS
2226  test -z "$as_dir" && as_dir=.
2227    $as_echo "PATH: $as_dir"
2228  done
2229IFS=$as_save_IFS
2230
2231} >&5
2232
2233cat >&5 <<_ACEOF
2234
2235
2236## ----------- ##
2237## Core tests. ##
2238## ----------- ##
2239
2240_ACEOF
2241
2242
2243# Keep a trace of the command line.
2244# Strip out --no-create and --no-recursion so they do not pile up.
2245# Strip out --silent because we don't want to record it for future runs.
2246# Also quote any args containing shell meta-characters.
2247# Make two passes to allow for proper duplicate-argument suppression.
2248ac_configure_args=
2249ac_configure_args0=
2250ac_configure_args1=
2251ac_must_keep_next=false
2252for ac_pass in 1 2
2253do
2254  for ac_arg
2255  do
2256    case $ac_arg in
2257    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2258    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2259    | -silent | --silent | --silen | --sile | --sil)
2260      continue ;;
2261    *\'*)
2262      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2263    esac
2264    case $ac_pass in
2265    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2266    2)
2267      as_fn_append ac_configure_args1 " '$ac_arg'"
2268      if test $ac_must_keep_next = true; then
2269	ac_must_keep_next=false # Got value, back to normal.
2270      else
2271	case $ac_arg in
2272	  *=* | --config-cache | -C | -disable-* | --disable-* \
2273	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2274	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2275	  | -with-* | --with-* | -without-* | --without-* | --x)
2276	    case "$ac_configure_args0 " in
2277	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2278	    esac
2279	    ;;
2280	  -* ) ac_must_keep_next=true ;;
2281	esac
2282      fi
2283      as_fn_append ac_configure_args " '$ac_arg'"
2284      ;;
2285    esac
2286  done
2287done
2288{ ac_configure_args0=; unset ac_configure_args0;}
2289{ ac_configure_args1=; unset ac_configure_args1;}
2290
2291# When interrupted or exit'd, cleanup temporary files, and complete
2292# config.log.  We remove comments because anyway the quotes in there
2293# would cause problems or look ugly.
2294# WARNING: Use '\'' to represent an apostrophe within the trap.
2295# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2296trap 'exit_status=$?
2297  # Save into config.log some information that might help in debugging.
2298  {
2299    echo
2300
2301    $as_echo "## ---------------- ##
2302## Cache variables. ##
2303## ---------------- ##"
2304    echo
2305    # The following way of writing the cache mishandles newlines in values,
2306(
2307  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2308    eval ac_val=\$$ac_var
2309    case $ac_val in #(
2310    *${as_nl}*)
2311      case $ac_var in #(
2312      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2313$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2314      esac
2315      case $ac_var in #(
2316      _ | IFS | as_nl) ;; #(
2317      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2318      *) { eval $ac_var=; unset $ac_var;} ;;
2319      esac ;;
2320    esac
2321  done
2322  (set) 2>&1 |
2323    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2324    *${as_nl}ac_space=\ *)
2325      sed -n \
2326	"s/'\''/'\''\\\\'\'''\''/g;
2327	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2328      ;; #(
2329    *)
2330      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2331      ;;
2332    esac |
2333    sort
2334)
2335    echo
2336
2337    $as_echo "## ----------------- ##
2338## Output variables. ##
2339## ----------------- ##"
2340    echo
2341    for ac_var in $ac_subst_vars
2342    do
2343      eval ac_val=\$$ac_var
2344      case $ac_val in
2345      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2346      esac
2347      $as_echo "$ac_var='\''$ac_val'\''"
2348    done | sort
2349    echo
2350
2351    if test -n "$ac_subst_files"; then
2352      $as_echo "## ------------------- ##
2353## File substitutions. ##
2354## ------------------- ##"
2355      echo
2356      for ac_var in $ac_subst_files
2357      do
2358	eval ac_val=\$$ac_var
2359	case $ac_val in
2360	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2361	esac
2362	$as_echo "$ac_var='\''$ac_val'\''"
2363      done | sort
2364      echo
2365    fi
2366
2367    if test -s confdefs.h; then
2368      $as_echo "## ----------- ##
2369## confdefs.h. ##
2370## ----------- ##"
2371      echo
2372      cat confdefs.h
2373      echo
2374    fi
2375    test "$ac_signal" != 0 &&
2376      $as_echo "$as_me: caught signal $ac_signal"
2377    $as_echo "$as_me: exit $exit_status"
2378  } >&5
2379  rm -f core *.core core.conftest.* &&
2380    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2381    exit $exit_status
2382' 0
2383for ac_signal in 1 2 13 15; do
2384  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2385done
2386ac_signal=0
2387
2388# confdefs.h avoids OS command line length limits that DEFS can exceed.
2389rm -f -r conftest* confdefs.h
2390
2391$as_echo "/* confdefs.h */" > confdefs.h
2392
2393# Predefined preprocessor variables.
2394
2395cat >>confdefs.h <<_ACEOF
2396#define PACKAGE_NAME "$PACKAGE_NAME"
2397_ACEOF
2398
2399cat >>confdefs.h <<_ACEOF
2400#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2401_ACEOF
2402
2403cat >>confdefs.h <<_ACEOF
2404#define PACKAGE_VERSION "$PACKAGE_VERSION"
2405_ACEOF
2406
2407cat >>confdefs.h <<_ACEOF
2408#define PACKAGE_STRING "$PACKAGE_STRING"
2409_ACEOF
2410
2411cat >>confdefs.h <<_ACEOF
2412#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2413_ACEOF
2414
2415cat >>confdefs.h <<_ACEOF
2416#define PACKAGE_URL "$PACKAGE_URL"
2417_ACEOF
2418
2419
2420# Let the site file select an alternate cache file if it wants to.
2421# Prefer an explicitly selected file to automatically selected ones.
2422ac_site_file1=NONE
2423ac_site_file2=NONE
2424if test -n "$CONFIG_SITE"; then
2425  # We do not want a PATH search for config.site.
2426  case $CONFIG_SITE in #((
2427    -*)  ac_site_file1=./$CONFIG_SITE;;
2428    */*) ac_site_file1=$CONFIG_SITE;;
2429    *)   ac_site_file1=./$CONFIG_SITE;;
2430  esac
2431elif test "x$prefix" != xNONE; then
2432  ac_site_file1=$prefix/share/config.site
2433  ac_site_file2=$prefix/etc/config.site
2434else
2435  ac_site_file1=$ac_default_prefix/share/config.site
2436  ac_site_file2=$ac_default_prefix/etc/config.site
2437fi
2438for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2439do
2440  test "x$ac_site_file" = xNONE && continue
2441  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2442    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2443$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2444    sed 's/^/| /' "$ac_site_file" >&5
2445    . "$ac_site_file" \
2446      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448as_fn_error $? "failed to load site script $ac_site_file
2449See \`config.log' for more details" "$LINENO" 5; }
2450  fi
2451done
2452
2453if test -r "$cache_file"; then
2454  # Some versions of bash will fail to source /dev/null (special files
2455  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2456  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2457    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2458$as_echo "$as_me: loading cache $cache_file" >&6;}
2459    case $cache_file in
2460      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2461      *)                      . "./$cache_file";;
2462    esac
2463  fi
2464else
2465  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2466$as_echo "$as_me: creating cache $cache_file" >&6;}
2467  >$cache_file
2468fi
2469
2470# Check that the precious variables saved in the cache have kept the same
2471# value.
2472ac_cache_corrupted=false
2473for ac_var in $ac_precious_vars; do
2474  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2475  eval ac_new_set=\$ac_env_${ac_var}_set
2476  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2477  eval ac_new_val=\$ac_env_${ac_var}_value
2478  case $ac_old_set,$ac_new_set in
2479    set,)
2480      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2481$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2482      ac_cache_corrupted=: ;;
2483    ,set)
2484      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2485$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2486      ac_cache_corrupted=: ;;
2487    ,);;
2488    *)
2489      if test "x$ac_old_val" != "x$ac_new_val"; then
2490	# differences in whitespace do not lead to failure.
2491	ac_old_val_w=`echo x $ac_old_val`
2492	ac_new_val_w=`echo x $ac_new_val`
2493	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2494	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2495$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2496	  ac_cache_corrupted=:
2497	else
2498	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2499$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2500	  eval $ac_var=\$ac_old_val
2501	fi
2502	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2503$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2504	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2505$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2506      fi;;
2507  esac
2508  # Pass precious variables to config.status.
2509  if test "$ac_new_set" = set; then
2510    case $ac_new_val in
2511    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2512    *) ac_arg=$ac_var=$ac_new_val ;;
2513    esac
2514    case " $ac_configure_args " in
2515      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2516      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2517    esac
2518  fi
2519done
2520if $ac_cache_corrupted; then
2521  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2522$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2523  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2524$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2525  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2526fi
2527## -------------------- ##
2528## Main body of script. ##
2529## -------------------- ##
2530
2531ac_ext=c
2532ac_cpp='$CPP $CPPFLAGS'
2533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2535ac_compiler_gnu=$ac_cv_c_compiler_gnu
2536
2537
2538
2539
2540ac_aux_dir=
2541for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2542  if test -f "$ac_dir/install-sh"; then
2543    ac_aux_dir=$ac_dir
2544    ac_install_sh="$ac_aux_dir/install-sh -c"
2545    break
2546  elif test -f "$ac_dir/install.sh"; then
2547    ac_aux_dir=$ac_dir
2548    ac_install_sh="$ac_aux_dir/install.sh -c"
2549    break
2550  elif test -f "$ac_dir/shtool"; then
2551    ac_aux_dir=$ac_dir
2552    ac_install_sh="$ac_aux_dir/shtool install -c"
2553    break
2554  fi
2555done
2556if test -z "$ac_aux_dir"; then
2557  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2558fi
2559
2560# These three variables are undocumented and unsupported,
2561# and are intended to be withdrawn in a future Autoconf release.
2562# They can cause serious problems if a builder's source tree is in a directory
2563# whose full name contains unusual characters.
2564ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2565ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2566ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2567
2568
2569
2570
2571am__api_version='1.15'
2572
2573# Find a good install program.  We prefer a C program (faster),
2574# so one script is as good as another.  But avoid the broken or
2575# incompatible versions:
2576# SysV /etc/install, /usr/sbin/install
2577# SunOS /usr/etc/install
2578# IRIX /sbin/install
2579# AIX /bin/install
2580# AmigaOS /C/install, which installs bootblocks on floppy discs
2581# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2582# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2583# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2584# OS/2's system install, which has a completely different semantic
2585# ./install, which can be erroneously created by make from ./install.sh.
2586# Reject install programs that cannot install multiple files.
2587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2588$as_echo_n "checking for a BSD-compatible install... " >&6; }
2589if test -z "$INSTALL"; then
2590if ${ac_cv_path_install+:} false; then :
2591  $as_echo_n "(cached) " >&6
2592else
2593  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594for as_dir in $PATH
2595do
2596  IFS=$as_save_IFS
2597  test -z "$as_dir" && as_dir=.
2598    # Account for people who put trailing slashes in PATH elements.
2599case $as_dir/ in #((
2600  ./ | .// | /[cC]/* | \
2601  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2602  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2603  /usr/ucb/* ) ;;
2604  *)
2605    # OSF1 and SCO ODT 3.0 have their own names for install.
2606    # Don't use installbsd from OSF since it installs stuff as root
2607    # by default.
2608    for ac_prog in ginstall scoinst install; do
2609      for ac_exec_ext in '' $ac_executable_extensions; do
2610	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2611	  if test $ac_prog = install &&
2612	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2613	    # AIX install.  It has an incompatible calling convention.
2614	    :
2615	  elif test $ac_prog = install &&
2616	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2617	    # program-specific install script used by HP pwplus--don't use.
2618	    :
2619	  else
2620	    rm -rf conftest.one conftest.two conftest.dir
2621	    echo one > conftest.one
2622	    echo two > conftest.two
2623	    mkdir conftest.dir
2624	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2625	      test -s conftest.one && test -s conftest.two &&
2626	      test -s conftest.dir/conftest.one &&
2627	      test -s conftest.dir/conftest.two
2628	    then
2629	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2630	      break 3
2631	    fi
2632	  fi
2633	fi
2634      done
2635    done
2636    ;;
2637esac
2638
2639  done
2640IFS=$as_save_IFS
2641
2642rm -rf conftest.one conftest.two conftest.dir
2643
2644fi
2645  if test "${ac_cv_path_install+set}" = set; then
2646    INSTALL=$ac_cv_path_install
2647  else
2648    # As a last resort, use the slow shell script.  Don't cache a
2649    # value for INSTALL within a source directory, because that will
2650    # break other packages using the cache if that directory is
2651    # removed, or if the value is a relative name.
2652    INSTALL=$ac_install_sh
2653  fi
2654fi
2655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2656$as_echo "$INSTALL" >&6; }
2657
2658# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2659# It thinks the first close brace ends the variable substitution.
2660test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2661
2662test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2663
2664test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2665
2666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2667$as_echo_n "checking whether build environment is sane... " >&6; }
2668# Reject unsafe characters in $srcdir or the absolute working directory
2669# name.  Accept space and tab only in the latter.
2670am_lf='
2671'
2672case `pwd` in
2673  *[\\\"\#\$\&\'\`$am_lf]*)
2674    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2675esac
2676case $srcdir in
2677  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2678    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2679esac
2680
2681# Do 'set' in a subshell so we don't clobber the current shell's
2682# arguments.  Must try -L first in case configure is actually a
2683# symlink; some systems play weird games with the mod time of symlinks
2684# (eg FreeBSD returns the mod time of the symlink's containing
2685# directory).
2686if (
2687   am_has_slept=no
2688   for am_try in 1 2; do
2689     echo "timestamp, slept: $am_has_slept" > conftest.file
2690     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2691     if test "$*" = "X"; then
2692	# -L didn't work.
2693	set X `ls -t "$srcdir/configure" conftest.file`
2694     fi
2695     if test "$*" != "X $srcdir/configure conftest.file" \
2696	&& test "$*" != "X conftest.file $srcdir/configure"; then
2697
2698	# If neither matched, then we have a broken ls.  This can happen
2699	# if, for instance, CONFIG_SHELL is bash and it inherits a
2700	# broken ls alias from the environment.  This has actually
2701	# happened.  Such a system could not be considered "sane".
2702	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2703  alias in your environment" "$LINENO" 5
2704     fi
2705     if test "$2" = conftest.file || test $am_try -eq 2; then
2706       break
2707     fi
2708     # Just in case.
2709     sleep 1
2710     am_has_slept=yes
2711   done
2712   test "$2" = conftest.file
2713   )
2714then
2715   # Ok.
2716   :
2717else
2718   as_fn_error $? "newly created file is older than distributed files!
2719Check your system clock" "$LINENO" 5
2720fi
2721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722$as_echo "yes" >&6; }
2723# If we didn't sleep, we still need to ensure time stamps of config.status and
2724# generated files are strictly newer.
2725am_sleep_pid=
2726if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2727  ( sleep 1 ) &
2728  am_sleep_pid=$!
2729fi
2730
2731rm -f conftest.file
2732
2733test "$program_prefix" != NONE &&
2734  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2735# Use a double $ so make ignores it.
2736test "$program_suffix" != NONE &&
2737  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2738# Double any \ or $.
2739# By default was `s,x,x', remove it if useless.
2740ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2741program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2742
2743# Expand $ac_aux_dir to an absolute path.
2744am_aux_dir=`cd "$ac_aux_dir" && pwd`
2745
2746if test x"${MISSING+set}" != xset; then
2747  case $am_aux_dir in
2748  *\ * | *\	*)
2749    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2750  *)
2751    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2752  esac
2753fi
2754# Use eval to expand $SHELL
2755if eval "$MISSING --is-lightweight"; then
2756  am_missing_run="$MISSING "
2757else
2758  am_missing_run=
2759  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2760$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2761fi
2762
2763if test x"${install_sh+set}" != xset; then
2764  case $am_aux_dir in
2765  *\ * | *\	*)
2766    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2767  *)
2768    install_sh="\${SHELL} $am_aux_dir/install-sh"
2769  esac
2770fi
2771
2772# Installed binaries are usually stripped using 'strip' when the user
2773# run "make install-strip".  However 'strip' might not be the right
2774# tool to use in cross-compilation environments, therefore Automake
2775# will honor the 'STRIP' environment variable to overrule this program.
2776if test "$cross_compiling" != no; then
2777  if test -n "$ac_tool_prefix"; then
2778  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2779set dummy ${ac_tool_prefix}strip; ac_word=$2
2780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781$as_echo_n "checking for $ac_word... " >&6; }
2782if ${ac_cv_prog_STRIP+:} false; then :
2783  $as_echo_n "(cached) " >&6
2784else
2785  if test -n "$STRIP"; then
2786  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2787else
2788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789for as_dir in $PATH
2790do
2791  IFS=$as_save_IFS
2792  test -z "$as_dir" && as_dir=.
2793    for ac_exec_ext in '' $ac_executable_extensions; do
2794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2796    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797    break 2
2798  fi
2799done
2800  done
2801IFS=$as_save_IFS
2802
2803fi
2804fi
2805STRIP=$ac_cv_prog_STRIP
2806if test -n "$STRIP"; then
2807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2808$as_echo "$STRIP" >&6; }
2809else
2810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811$as_echo "no" >&6; }
2812fi
2813
2814
2815fi
2816if test -z "$ac_cv_prog_STRIP"; then
2817  ac_ct_STRIP=$STRIP
2818  # Extract the first word of "strip", so it can be a program name with args.
2819set dummy strip; ac_word=$2
2820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821$as_echo_n "checking for $ac_word... " >&6; }
2822if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2823  $as_echo_n "(cached) " >&6
2824else
2825  if test -n "$ac_ct_STRIP"; then
2826  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2827else
2828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829for as_dir in $PATH
2830do
2831  IFS=$as_save_IFS
2832  test -z "$as_dir" && as_dir=.
2833    for ac_exec_ext in '' $ac_executable_extensions; do
2834  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2835    ac_cv_prog_ac_ct_STRIP="strip"
2836    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2837    break 2
2838  fi
2839done
2840  done
2841IFS=$as_save_IFS
2842
2843fi
2844fi
2845ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2846if test -n "$ac_ct_STRIP"; then
2847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2848$as_echo "$ac_ct_STRIP" >&6; }
2849else
2850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851$as_echo "no" >&6; }
2852fi
2853
2854  if test "x$ac_ct_STRIP" = x; then
2855    STRIP=":"
2856  else
2857    case $cross_compiling:$ac_tool_warned in
2858yes:)
2859{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2860$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2861ac_tool_warned=yes ;;
2862esac
2863    STRIP=$ac_ct_STRIP
2864  fi
2865else
2866  STRIP="$ac_cv_prog_STRIP"
2867fi
2868
2869fi
2870INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2871
2872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2873$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2874if test -z "$MKDIR_P"; then
2875  if ${ac_cv_path_mkdir+:} false; then :
2876  $as_echo_n "(cached) " >&6
2877else
2878  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2880do
2881  IFS=$as_save_IFS
2882  test -z "$as_dir" && as_dir=.
2883    for ac_prog in mkdir gmkdir; do
2884	 for ac_exec_ext in '' $ac_executable_extensions; do
2885	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2886	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2887	     'mkdir (GNU coreutils) '* | \
2888	     'mkdir (coreutils) '* | \
2889	     'mkdir (fileutils) '4.1*)
2890	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2891	       break 3;;
2892	   esac
2893	 done
2894       done
2895  done
2896IFS=$as_save_IFS
2897
2898fi
2899
2900  test -d ./--version && rmdir ./--version
2901  if test "${ac_cv_path_mkdir+set}" = set; then
2902    MKDIR_P="$ac_cv_path_mkdir -p"
2903  else
2904    # As a last resort, use the slow shell script.  Don't cache a
2905    # value for MKDIR_P within a source directory, because that will
2906    # break other packages using the cache if that directory is
2907    # removed, or if the value is a relative name.
2908    MKDIR_P="$ac_install_sh -d"
2909  fi
2910fi
2911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2912$as_echo "$MKDIR_P" >&6; }
2913
2914for ac_prog in gawk mawk nawk awk
2915do
2916  # Extract the first word of "$ac_prog", so it can be a program name with args.
2917set dummy $ac_prog; ac_word=$2
2918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919$as_echo_n "checking for $ac_word... " >&6; }
2920if ${ac_cv_prog_AWK+:} false; then :
2921  $as_echo_n "(cached) " >&6
2922else
2923  if test -n "$AWK"; then
2924  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2925else
2926as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927for as_dir in $PATH
2928do
2929  IFS=$as_save_IFS
2930  test -z "$as_dir" && as_dir=.
2931    for ac_exec_ext in '' $ac_executable_extensions; do
2932  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2933    ac_cv_prog_AWK="$ac_prog"
2934    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935    break 2
2936  fi
2937done
2938  done
2939IFS=$as_save_IFS
2940
2941fi
2942fi
2943AWK=$ac_cv_prog_AWK
2944if test -n "$AWK"; then
2945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2946$as_echo "$AWK" >&6; }
2947else
2948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949$as_echo "no" >&6; }
2950fi
2951
2952
2953  test -n "$AWK" && break
2954done
2955
2956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2957$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2958set x ${MAKE-make}
2959ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2960if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2961  $as_echo_n "(cached) " >&6
2962else
2963  cat >conftest.make <<\_ACEOF
2964SHELL = /bin/sh
2965all:
2966	@echo '@@@%%%=$(MAKE)=@@@%%%'
2967_ACEOF
2968# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2969case `${MAKE-make} -f conftest.make 2>/dev/null` in
2970  *@@@%%%=?*=@@@%%%*)
2971    eval ac_cv_prog_make_${ac_make}_set=yes;;
2972  *)
2973    eval ac_cv_prog_make_${ac_make}_set=no;;
2974esac
2975rm -f conftest.make
2976fi
2977if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2979$as_echo "yes" >&6; }
2980  SET_MAKE=
2981else
2982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983$as_echo "no" >&6; }
2984  SET_MAKE="MAKE=${MAKE-make}"
2985fi
2986
2987rm -rf .tst 2>/dev/null
2988mkdir .tst 2>/dev/null
2989if test -d .tst; then
2990  am__leading_dot=.
2991else
2992  am__leading_dot=_
2993fi
2994rmdir .tst 2>/dev/null
2995
2996# Check whether --enable-silent-rules was given.
2997if test "${enable_silent_rules+set}" = set; then :
2998  enableval=$enable_silent_rules;
2999fi
3000
3001case $enable_silent_rules in # (((
3002  yes) AM_DEFAULT_VERBOSITY=0;;
3003   no) AM_DEFAULT_VERBOSITY=1;;
3004    *) AM_DEFAULT_VERBOSITY=1;;
3005esac
3006am_make=${MAKE-make}
3007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3008$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3009if ${am_cv_make_support_nested_variables+:} false; then :
3010  $as_echo_n "(cached) " >&6
3011else
3012  if $as_echo 'TRUE=$(BAR$(V))
3013BAR0=false
3014BAR1=true
3015V=1
3016am__doit:
3017	@$(TRUE)
3018.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3019  am_cv_make_support_nested_variables=yes
3020else
3021  am_cv_make_support_nested_variables=no
3022fi
3023fi
3024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3025$as_echo "$am_cv_make_support_nested_variables" >&6; }
3026if test $am_cv_make_support_nested_variables = yes; then
3027    AM_V='$(V)'
3028  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3029else
3030  AM_V=$AM_DEFAULT_VERBOSITY
3031  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3032fi
3033AM_BACKSLASH='\'
3034
3035DEPDIR="${am__leading_dot}deps"
3036
3037ac_config_commands="$ac_config_commands depfiles"
3038
3039
3040am_make=${MAKE-make}
3041cat > confinc << 'END'
3042am__doit:
3043	@echo this is the am__doit target
3044.PHONY: am__doit
3045END
3046# If we don't find an include directive, just comment out the code.
3047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3048$as_echo_n "checking for style of include used by $am_make... " >&6; }
3049am__include="#"
3050am__quote=
3051_am_result=none
3052# First try GNU make style include.
3053echo "include confinc" > confmf
3054# Ignore all kinds of additional output from 'make'.
3055case `$am_make -s -f confmf 2> /dev/null` in #(
3056*the\ am__doit\ target*)
3057  am__include=include
3058  am__quote=
3059  _am_result=GNU
3060  ;;
3061esac
3062# Now try BSD make style include.
3063if test "$am__include" = "#"; then
3064   echo '.include "confinc"' > confmf
3065   case `$am_make -s -f confmf 2> /dev/null` in #(
3066   *the\ am__doit\ target*)
3067     am__include=.include
3068     am__quote="\""
3069     _am_result=BSD
3070     ;;
3071   esac
3072fi
3073
3074
3075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3076$as_echo "$_am_result" >&6; }
3077rm -f confinc confmf
3078
3079# Check whether --enable-dependency-tracking was given.
3080if test "${enable_dependency_tracking+set}" = set; then :
3081  enableval=$enable_dependency_tracking;
3082fi
3083
3084if test "x$enable_dependency_tracking" != xno; then
3085  am_depcomp="$ac_aux_dir/depcomp"
3086  AMDEPBACKSLASH='\'
3087  am__nodep='_no'
3088fi
3089 if test "x$enable_dependency_tracking" != xno; then
3090  AMDEP_TRUE=
3091  AMDEP_FALSE='#'
3092else
3093  AMDEP_TRUE='#'
3094  AMDEP_FALSE=
3095fi
3096
3097
3098ac_ext=c
3099ac_cpp='$CPP $CPPFLAGS'
3100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102ac_compiler_gnu=$ac_cv_c_compiler_gnu
3103if test -n "$ac_tool_prefix"; then
3104  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3105set dummy ${ac_tool_prefix}gcc; ac_word=$2
3106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107$as_echo_n "checking for $ac_word... " >&6; }
3108if ${ac_cv_prog_CC+:} false; then :
3109  $as_echo_n "(cached) " >&6
3110else
3111  if test -n "$CC"; then
3112  ac_cv_prog_CC="$CC" # Let the user override the test.
3113else
3114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115for as_dir in $PATH
3116do
3117  IFS=$as_save_IFS
3118  test -z "$as_dir" && as_dir=.
3119    for ac_exec_ext in '' $ac_executable_extensions; do
3120  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3122    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123    break 2
3124  fi
3125done
3126  done
3127IFS=$as_save_IFS
3128
3129fi
3130fi
3131CC=$ac_cv_prog_CC
3132if test -n "$CC"; then
3133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3134$as_echo "$CC" >&6; }
3135else
3136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137$as_echo "no" >&6; }
3138fi
3139
3140
3141fi
3142if test -z "$ac_cv_prog_CC"; then
3143  ac_ct_CC=$CC
3144  # Extract the first word of "gcc", so it can be a program name with args.
3145set dummy gcc; ac_word=$2
3146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147$as_echo_n "checking for $ac_word... " >&6; }
3148if ${ac_cv_prog_ac_ct_CC+:} false; then :
3149  $as_echo_n "(cached) " >&6
3150else
3151  if test -n "$ac_ct_CC"; then
3152  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3153else
3154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155for as_dir in $PATH
3156do
3157  IFS=$as_save_IFS
3158  test -z "$as_dir" && as_dir=.
3159    for ac_exec_ext in '' $ac_executable_extensions; do
3160  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161    ac_cv_prog_ac_ct_CC="gcc"
3162    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163    break 2
3164  fi
3165done
3166  done
3167IFS=$as_save_IFS
3168
3169fi
3170fi
3171ac_ct_CC=$ac_cv_prog_ac_ct_CC
3172if test -n "$ac_ct_CC"; then
3173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3174$as_echo "$ac_ct_CC" >&6; }
3175else
3176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177$as_echo "no" >&6; }
3178fi
3179
3180  if test "x$ac_ct_CC" = x; then
3181    CC=""
3182  else
3183    case $cross_compiling:$ac_tool_warned in
3184yes:)
3185{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3186$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3187ac_tool_warned=yes ;;
3188esac
3189    CC=$ac_ct_CC
3190  fi
3191else
3192  CC="$ac_cv_prog_CC"
3193fi
3194
3195if test -z "$CC"; then
3196          if test -n "$ac_tool_prefix"; then
3197    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3198set dummy ${ac_tool_prefix}cc; ac_word=$2
3199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200$as_echo_n "checking for $ac_word... " >&6; }
3201if ${ac_cv_prog_CC+:} false; then :
3202  $as_echo_n "(cached) " >&6
3203else
3204  if test -n "$CC"; then
3205  ac_cv_prog_CC="$CC" # Let the user override the test.
3206else
3207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208for as_dir in $PATH
3209do
3210  IFS=$as_save_IFS
3211  test -z "$as_dir" && as_dir=.
3212    for ac_exec_ext in '' $ac_executable_extensions; do
3213  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214    ac_cv_prog_CC="${ac_tool_prefix}cc"
3215    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216    break 2
3217  fi
3218done
3219  done
3220IFS=$as_save_IFS
3221
3222fi
3223fi
3224CC=$ac_cv_prog_CC
3225if test -n "$CC"; then
3226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3227$as_echo "$CC" >&6; }
3228else
3229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230$as_echo "no" >&6; }
3231fi
3232
3233
3234  fi
3235fi
3236if test -z "$CC"; then
3237  # Extract the first word of "cc", so it can be a program name with args.
3238set dummy cc; ac_word=$2
3239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240$as_echo_n "checking for $ac_word... " >&6; }
3241if ${ac_cv_prog_CC+:} false; then :
3242  $as_echo_n "(cached) " >&6
3243else
3244  if test -n "$CC"; then
3245  ac_cv_prog_CC="$CC" # Let the user override the test.
3246else
3247  ac_prog_rejected=no
3248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249for as_dir in $PATH
3250do
3251  IFS=$as_save_IFS
3252  test -z "$as_dir" && as_dir=.
3253    for ac_exec_ext in '' $ac_executable_extensions; do
3254  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3255    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3256       ac_prog_rejected=yes
3257       continue
3258     fi
3259    ac_cv_prog_CC="cc"
3260    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261    break 2
3262  fi
3263done
3264  done
3265IFS=$as_save_IFS
3266
3267if test $ac_prog_rejected = yes; then
3268  # We found a bogon in the path, so make sure we never use it.
3269  set dummy $ac_cv_prog_CC
3270  shift
3271  if test $# != 0; then
3272    # We chose a different compiler from the bogus one.
3273    # However, it has the same basename, so the bogon will be chosen
3274    # first if we set CC to just the basename; use the full file name.
3275    shift
3276    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3277  fi
3278fi
3279fi
3280fi
3281CC=$ac_cv_prog_CC
3282if test -n "$CC"; then
3283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3284$as_echo "$CC" >&6; }
3285else
3286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287$as_echo "no" >&6; }
3288fi
3289
3290
3291fi
3292if test -z "$CC"; then
3293  if test -n "$ac_tool_prefix"; then
3294  for ac_prog in cl.exe
3295  do
3296    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3297set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299$as_echo_n "checking for $ac_word... " >&6; }
3300if ${ac_cv_prog_CC+:} false; then :
3301  $as_echo_n "(cached) " >&6
3302else
3303  if test -n "$CC"; then
3304  ac_cv_prog_CC="$CC" # Let the user override the test.
3305else
3306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307for as_dir in $PATH
3308do
3309  IFS=$as_save_IFS
3310  test -z "$as_dir" && as_dir=.
3311    for ac_exec_ext in '' $ac_executable_extensions; do
3312  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3313    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3314    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3315    break 2
3316  fi
3317done
3318  done
3319IFS=$as_save_IFS
3320
3321fi
3322fi
3323CC=$ac_cv_prog_CC
3324if test -n "$CC"; then
3325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3326$as_echo "$CC" >&6; }
3327else
3328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329$as_echo "no" >&6; }
3330fi
3331
3332
3333    test -n "$CC" && break
3334  done
3335fi
3336if test -z "$CC"; then
3337  ac_ct_CC=$CC
3338  for ac_prog in cl.exe
3339do
3340  # Extract the first word of "$ac_prog", so it can be a program name with args.
3341set dummy $ac_prog; ac_word=$2
3342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343$as_echo_n "checking for $ac_word... " >&6; }
3344if ${ac_cv_prog_ac_ct_CC+:} false; then :
3345  $as_echo_n "(cached) " >&6
3346else
3347  if test -n "$ac_ct_CC"; then
3348  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3349else
3350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351for as_dir in $PATH
3352do
3353  IFS=$as_save_IFS
3354  test -z "$as_dir" && as_dir=.
3355    for ac_exec_ext in '' $ac_executable_extensions; do
3356  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3357    ac_cv_prog_ac_ct_CC="$ac_prog"
3358    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3359    break 2
3360  fi
3361done
3362  done
3363IFS=$as_save_IFS
3364
3365fi
3366fi
3367ac_ct_CC=$ac_cv_prog_ac_ct_CC
3368if test -n "$ac_ct_CC"; then
3369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3370$as_echo "$ac_ct_CC" >&6; }
3371else
3372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373$as_echo "no" >&6; }
3374fi
3375
3376
3377  test -n "$ac_ct_CC" && break
3378done
3379
3380  if test "x$ac_ct_CC" = x; then
3381    CC=""
3382  else
3383    case $cross_compiling:$ac_tool_warned in
3384yes:)
3385{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3386$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3387ac_tool_warned=yes ;;
3388esac
3389    CC=$ac_ct_CC
3390  fi
3391fi
3392
3393fi
3394
3395
3396test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398as_fn_error $? "no acceptable C compiler found in \$PATH
3399See \`config.log' for more details" "$LINENO" 5; }
3400
3401# Provide some information about the compiler.
3402$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3403set X $ac_compile
3404ac_compiler=$2
3405for ac_option in --version -v -V -qversion; do
3406  { { ac_try="$ac_compiler $ac_option >&5"
3407case "(($ac_try" in
3408  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3409  *) ac_try_echo=$ac_try;;
3410esac
3411eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3412$as_echo "$ac_try_echo"; } >&5
3413  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3414  ac_status=$?
3415  if test -s conftest.err; then
3416    sed '10a\
3417... rest of stderr output deleted ...
3418         10q' conftest.err >conftest.er1
3419    cat conftest.er1 >&5
3420  fi
3421  rm -f conftest.er1 conftest.err
3422  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423  test $ac_status = 0; }
3424done
3425
3426cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427/* end confdefs.h.  */
3428
3429int
3430main ()
3431{
3432
3433  ;
3434  return 0;
3435}
3436_ACEOF
3437ac_clean_files_save=$ac_clean_files
3438ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3439# Try to create an executable without -o first, disregard a.out.
3440# It will help us diagnose broken compilers, and finding out an intuition
3441# of exeext.
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3443$as_echo_n "checking whether the C compiler works... " >&6; }
3444ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3445
3446# The possible output files:
3447ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3448
3449ac_rmfiles=
3450for ac_file in $ac_files
3451do
3452  case $ac_file in
3453    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3454    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3455  esac
3456done
3457rm -f $ac_rmfiles
3458
3459if { { ac_try="$ac_link_default"
3460case "(($ac_try" in
3461  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462  *) ac_try_echo=$ac_try;;
3463esac
3464eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465$as_echo "$ac_try_echo"; } >&5
3466  (eval "$ac_link_default") 2>&5
3467  ac_status=$?
3468  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469  test $ac_status = 0; }; then :
3470  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3471# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3472# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3473# so that the user can short-circuit this test for compilers unknown to
3474# Autoconf.
3475for ac_file in $ac_files ''
3476do
3477  test -f "$ac_file" || continue
3478  case $ac_file in
3479    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3480	;;
3481    [ab].out )
3482	# We found the default executable, but exeext='' is most
3483	# certainly right.
3484	break;;
3485    *.* )
3486	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3487	then :; else
3488	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3489	fi
3490	# We set ac_cv_exeext here because the later test for it is not
3491	# safe: cross compilers may not add the suffix if given an `-o'
3492	# argument, so we may need to know it at that point already.
3493	# Even if this section looks crufty: it has the advantage of
3494	# actually working.
3495	break;;
3496    * )
3497	break;;
3498  esac
3499done
3500test "$ac_cv_exeext" = no && ac_cv_exeext=
3501
3502else
3503  ac_file=''
3504fi
3505if test -z "$ac_file"; then :
3506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3507$as_echo "no" >&6; }
3508$as_echo "$as_me: failed program was:" >&5
3509sed 's/^/| /' conftest.$ac_ext >&5
3510
3511{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513as_fn_error 77 "C compiler cannot create executables
3514See \`config.log' for more details" "$LINENO" 5; }
3515else
3516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3517$as_echo "yes" >&6; }
3518fi
3519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3520$as_echo_n "checking for C compiler default output file name... " >&6; }
3521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3522$as_echo "$ac_file" >&6; }
3523ac_exeext=$ac_cv_exeext
3524
3525rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3526ac_clean_files=$ac_clean_files_save
3527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3528$as_echo_n "checking for suffix of executables... " >&6; }
3529if { { ac_try="$ac_link"
3530case "(($ac_try" in
3531  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532  *) ac_try_echo=$ac_try;;
3533esac
3534eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535$as_echo "$ac_try_echo"; } >&5
3536  (eval "$ac_link") 2>&5
3537  ac_status=$?
3538  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539  test $ac_status = 0; }; then :
3540  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3541# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3542# work properly (i.e., refer to `conftest.exe'), while it won't with
3543# `rm'.
3544for ac_file in conftest.exe conftest conftest.*; do
3545  test -f "$ac_file" || continue
3546  case $ac_file in
3547    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3548    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3549	  break;;
3550    * ) break;;
3551  esac
3552done
3553else
3554  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3555$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3556as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3557See \`config.log' for more details" "$LINENO" 5; }
3558fi
3559rm -f conftest conftest$ac_cv_exeext
3560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3561$as_echo "$ac_cv_exeext" >&6; }
3562
3563rm -f conftest.$ac_ext
3564EXEEXT=$ac_cv_exeext
3565ac_exeext=$EXEEXT
3566cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567/* end confdefs.h.  */
3568#include <stdio.h>
3569int
3570main ()
3571{
3572FILE *f = fopen ("conftest.out", "w");
3573 return ferror (f) || fclose (f) != 0;
3574
3575  ;
3576  return 0;
3577}
3578_ACEOF
3579ac_clean_files="$ac_clean_files conftest.out"
3580# Check that the compiler produces executables we can run.  If not, either
3581# the compiler is broken, or we cross compile.
3582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3583$as_echo_n "checking whether we are cross compiling... " >&6; }
3584if test "$cross_compiling" != yes; then
3585  { { ac_try="$ac_link"
3586case "(($ac_try" in
3587  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3588  *) ac_try_echo=$ac_try;;
3589esac
3590eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591$as_echo "$ac_try_echo"; } >&5
3592  (eval "$ac_link") 2>&5
3593  ac_status=$?
3594  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595  test $ac_status = 0; }
3596  if { ac_try='./conftest$ac_cv_exeext'
3597  { { case "(($ac_try" in
3598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599  *) ac_try_echo=$ac_try;;
3600esac
3601eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602$as_echo "$ac_try_echo"; } >&5
3603  (eval "$ac_try") 2>&5
3604  ac_status=$?
3605  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606  test $ac_status = 0; }; }; then
3607    cross_compiling=no
3608  else
3609    if test "$cross_compiling" = maybe; then
3610	cross_compiling=yes
3611    else
3612	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614as_fn_error $? "cannot run C compiled programs.
3615If you meant to cross compile, use \`--host'.
3616See \`config.log' for more details" "$LINENO" 5; }
3617    fi
3618  fi
3619fi
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3621$as_echo "$cross_compiling" >&6; }
3622
3623rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3624ac_clean_files=$ac_clean_files_save
3625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3626$as_echo_n "checking for suffix of object files... " >&6; }
3627if ${ac_cv_objext+:} false; then :
3628  $as_echo_n "(cached) " >&6
3629else
3630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631/* end confdefs.h.  */
3632
3633int
3634main ()
3635{
3636
3637  ;
3638  return 0;
3639}
3640_ACEOF
3641rm -f conftest.o conftest.obj
3642if { { ac_try="$ac_compile"
3643case "(($ac_try" in
3644  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645  *) ac_try_echo=$ac_try;;
3646esac
3647eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3648$as_echo "$ac_try_echo"; } >&5
3649  (eval "$ac_compile") 2>&5
3650  ac_status=$?
3651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652  test $ac_status = 0; }; then :
3653  for ac_file in conftest.o conftest.obj conftest.*; do
3654  test -f "$ac_file" || continue;
3655  case $ac_file in
3656    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3657    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3658       break;;
3659  esac
3660done
3661else
3662  $as_echo "$as_me: failed program was:" >&5
3663sed 's/^/| /' conftest.$ac_ext >&5
3664
3665{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667as_fn_error $? "cannot compute suffix of object files: cannot compile
3668See \`config.log' for more details" "$LINENO" 5; }
3669fi
3670rm -f conftest.$ac_cv_objext conftest.$ac_ext
3671fi
3672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3673$as_echo "$ac_cv_objext" >&6; }
3674OBJEXT=$ac_cv_objext
3675ac_objext=$OBJEXT
3676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3677$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3678if ${ac_cv_c_compiler_gnu+:} false; then :
3679  $as_echo_n "(cached) " >&6
3680else
3681  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682/* end confdefs.h.  */
3683
3684int
3685main ()
3686{
3687#ifndef __GNUC__
3688       choke me
3689#endif
3690
3691  ;
3692  return 0;
3693}
3694_ACEOF
3695if ac_fn_c_try_compile "$LINENO"; then :
3696  ac_compiler_gnu=yes
3697else
3698  ac_compiler_gnu=no
3699fi
3700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3701ac_cv_c_compiler_gnu=$ac_compiler_gnu
3702
3703fi
3704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3705$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3706if test $ac_compiler_gnu = yes; then
3707  GCC=yes
3708else
3709  GCC=
3710fi
3711ac_test_CFLAGS=${CFLAGS+set}
3712ac_save_CFLAGS=$CFLAGS
3713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3714$as_echo_n "checking whether $CC accepts -g... " >&6; }
3715if ${ac_cv_prog_cc_g+:} false; then :
3716  $as_echo_n "(cached) " >&6
3717else
3718  ac_save_c_werror_flag=$ac_c_werror_flag
3719   ac_c_werror_flag=yes
3720   ac_cv_prog_cc_g=no
3721   CFLAGS="-g"
3722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723/* end confdefs.h.  */
3724
3725int
3726main ()
3727{
3728
3729  ;
3730  return 0;
3731}
3732_ACEOF
3733if ac_fn_c_try_compile "$LINENO"; then :
3734  ac_cv_prog_cc_g=yes
3735else
3736  CFLAGS=""
3737      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738/* end confdefs.h.  */
3739
3740int
3741main ()
3742{
3743
3744  ;
3745  return 0;
3746}
3747_ACEOF
3748if ac_fn_c_try_compile "$LINENO"; then :
3749
3750else
3751  ac_c_werror_flag=$ac_save_c_werror_flag
3752	 CFLAGS="-g"
3753	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754/* end confdefs.h.  */
3755
3756int
3757main ()
3758{
3759
3760  ;
3761  return 0;
3762}
3763_ACEOF
3764if ac_fn_c_try_compile "$LINENO"; then :
3765  ac_cv_prog_cc_g=yes
3766fi
3767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768fi
3769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770fi
3771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772   ac_c_werror_flag=$ac_save_c_werror_flag
3773fi
3774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3775$as_echo "$ac_cv_prog_cc_g" >&6; }
3776if test "$ac_test_CFLAGS" = set; then
3777  CFLAGS=$ac_save_CFLAGS
3778elif test $ac_cv_prog_cc_g = yes; then
3779  if test "$GCC" = yes; then
3780    CFLAGS="-g -O2"
3781  else
3782    CFLAGS="-g"
3783  fi
3784else
3785  if test "$GCC" = yes; then
3786    CFLAGS="-O2"
3787  else
3788    CFLAGS=
3789  fi
3790fi
3791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3792$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3793if ${ac_cv_prog_cc_c89+:} false; then :
3794  $as_echo_n "(cached) " >&6
3795else
3796  ac_cv_prog_cc_c89=no
3797ac_save_CC=$CC
3798cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799/* end confdefs.h.  */
3800#include <stdarg.h>
3801#include <stdio.h>
3802struct stat;
3803/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3804struct buf { int x; };
3805FILE * (*rcsopen) (struct buf *, struct stat *, int);
3806static char *e (p, i)
3807     char **p;
3808     int i;
3809{
3810  return p[i];
3811}
3812static char *f (char * (*g) (char **, int), char **p, ...)
3813{
3814  char *s;
3815  va_list v;
3816  va_start (v,p);
3817  s = g (p, va_arg (v,int));
3818  va_end (v);
3819  return s;
3820}
3821
3822/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3823   function prototypes and stuff, but not '\xHH' hex character constants.
3824   These don't provoke an error unfortunately, instead are silently treated
3825   as 'x'.  The following induces an error, until -std is added to get
3826   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3827   array size at least.  It's necessary to write '\x00'==0 to get something
3828   that's true only with -std.  */
3829int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3830
3831/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3832   inside strings and character constants.  */
3833#define FOO(x) 'x'
3834int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3835
3836int test (int i, double x);
3837struct s1 {int (*f) (int a);};
3838struct s2 {int (*f) (double a);};
3839int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3840int argc;
3841char **argv;
3842int
3843main ()
3844{
3845return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3846  ;
3847  return 0;
3848}
3849_ACEOF
3850for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3851	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3852do
3853  CC="$ac_save_CC $ac_arg"
3854  if ac_fn_c_try_compile "$LINENO"; then :
3855  ac_cv_prog_cc_c89=$ac_arg
3856fi
3857rm -f core conftest.err conftest.$ac_objext
3858  test "x$ac_cv_prog_cc_c89" != "xno" && break
3859done
3860rm -f conftest.$ac_ext
3861CC=$ac_save_CC
3862
3863fi
3864# AC_CACHE_VAL
3865case "x$ac_cv_prog_cc_c89" in
3866  x)
3867    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3868$as_echo "none needed" >&6; } ;;
3869  xno)
3870    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3871$as_echo "unsupported" >&6; } ;;
3872  *)
3873    CC="$CC $ac_cv_prog_cc_c89"
3874    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3875$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3876esac
3877if test "x$ac_cv_prog_cc_c89" != xno; then :
3878
3879fi
3880
3881ac_ext=c
3882ac_cpp='$CPP $CPPFLAGS'
3883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885ac_compiler_gnu=$ac_cv_c_compiler_gnu
3886
3887ac_ext=c
3888ac_cpp='$CPP $CPPFLAGS'
3889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3891ac_compiler_gnu=$ac_cv_c_compiler_gnu
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3893$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3894if ${am_cv_prog_cc_c_o+:} false; then :
3895  $as_echo_n "(cached) " >&6
3896else
3897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898/* end confdefs.h.  */
3899
3900int
3901main ()
3902{
3903
3904  ;
3905  return 0;
3906}
3907_ACEOF
3908  # Make sure it works both with $CC and with simple cc.
3909  # Following AC_PROG_CC_C_O, we do the test twice because some
3910  # compilers refuse to overwrite an existing .o file with -o,
3911  # though they will create one.
3912  am_cv_prog_cc_c_o=yes
3913  for am_i in 1 2; do
3914    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3915   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3916   ac_status=$?
3917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918   (exit $ac_status); } \
3919         && test -f conftest2.$ac_objext; then
3920      : OK
3921    else
3922      am_cv_prog_cc_c_o=no
3923      break
3924    fi
3925  done
3926  rm -f core conftest*
3927  unset am_i
3928fi
3929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3930$as_echo "$am_cv_prog_cc_c_o" >&6; }
3931if test "$am_cv_prog_cc_c_o" != yes; then
3932   # Losing compiler, so override with the script.
3933   # FIXME: It is wrong to rewrite CC.
3934   # But if we don't then we get into trouble of one sort or another.
3935   # A longer-term fix would be to have automake use am__CC in this case,
3936   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3937   CC="$am_aux_dir/compile $CC"
3938fi
3939ac_ext=c
3940ac_cpp='$CPP $CPPFLAGS'
3941ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944
3945
3946depcc="$CC"   am_compiler_list=
3947
3948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3949$as_echo_n "checking dependency style of $depcc... " >&6; }
3950if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3951  $as_echo_n "(cached) " >&6
3952else
3953  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3954  # We make a subdir and do the tests there.  Otherwise we can end up
3955  # making bogus files that we don't know about and never remove.  For
3956  # instance it was reported that on HP-UX the gcc test will end up
3957  # making a dummy file named 'D' -- because '-MD' means "put the output
3958  # in D".
3959  rm -rf conftest.dir
3960  mkdir conftest.dir
3961  # Copy depcomp to subdir because otherwise we won't find it if we're
3962  # using a relative directory.
3963  cp "$am_depcomp" conftest.dir
3964  cd conftest.dir
3965  # We will build objects and dependencies in a subdirectory because
3966  # it helps to detect inapplicable dependency modes.  For instance
3967  # both Tru64's cc and ICC support -MD to output dependencies as a
3968  # side effect of compilation, but ICC will put the dependencies in
3969  # the current directory while Tru64 will put them in the object
3970  # directory.
3971  mkdir sub
3972
3973  am_cv_CC_dependencies_compiler_type=none
3974  if test "$am_compiler_list" = ""; then
3975     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3976  fi
3977  am__universal=false
3978  case " $depcc " in #(
3979     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3980     esac
3981
3982  for depmode in $am_compiler_list; do
3983    # Setup a source with many dependencies, because some compilers
3984    # like to wrap large dependency lists on column 80 (with \), and
3985    # we should not choose a depcomp mode which is confused by this.
3986    #
3987    # We need to recreate these files for each test, as the compiler may
3988    # overwrite some of them when testing with obscure command lines.
3989    # This happens at least with the AIX C compiler.
3990    : > sub/conftest.c
3991    for i in 1 2 3 4 5 6; do
3992      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3993      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3994      # Solaris 10 /bin/sh.
3995      echo '/* dummy */' > sub/conftst$i.h
3996    done
3997    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3998
3999    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4000    # mode.  It turns out that the SunPro C++ compiler does not properly
4001    # handle '-M -o', and we need to detect this.  Also, some Intel
4002    # versions had trouble with output in subdirs.
4003    am__obj=sub/conftest.${OBJEXT-o}
4004    am__minus_obj="-o $am__obj"
4005    case $depmode in
4006    gcc)
4007      # This depmode causes a compiler race in universal mode.
4008      test "$am__universal" = false || continue
4009      ;;
4010    nosideeffect)
4011      # After this tag, mechanisms are not by side-effect, so they'll
4012      # only be used when explicitly requested.
4013      if test "x$enable_dependency_tracking" = xyes; then
4014	continue
4015      else
4016	break
4017      fi
4018      ;;
4019    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4020      # This compiler won't grok '-c -o', but also, the minuso test has
4021      # not run yet.  These depmodes are late enough in the game, and
4022      # so weak that their functioning should not be impacted.
4023      am__obj=conftest.${OBJEXT-o}
4024      am__minus_obj=
4025      ;;
4026    none) break ;;
4027    esac
4028    if depmode=$depmode \
4029       source=sub/conftest.c object=$am__obj \
4030       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4031       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4032         >/dev/null 2>conftest.err &&
4033       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4034       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4035       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4036       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4037      # icc doesn't choke on unknown options, it will just issue warnings
4038      # or remarks (even with -Werror).  So we grep stderr for any message
4039      # that says an option was ignored or not supported.
4040      # When given -MP, icc 7.0 and 7.1 complain thusly:
4041      #   icc: Command line warning: ignoring option '-M'; no argument required
4042      # The diagnosis changed in icc 8.0:
4043      #   icc: Command line remark: option '-MP' not supported
4044      if (grep 'ignoring option' conftest.err ||
4045          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4046        am_cv_CC_dependencies_compiler_type=$depmode
4047        break
4048      fi
4049    fi
4050  done
4051
4052  cd ..
4053  rm -rf conftest.dir
4054else
4055  am_cv_CC_dependencies_compiler_type=none
4056fi
4057
4058fi
4059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4060$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4061CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4062
4063 if
4064  test "x$enable_dependency_tracking" != xno \
4065  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4066  am__fastdepCC_TRUE=
4067  am__fastdepCC_FALSE='#'
4068else
4069  am__fastdepCC_TRUE='#'
4070  am__fastdepCC_FALSE=
4071fi
4072
4073
4074
4075# Check whether --enable-compiler-warnings was given.
4076if test "${enable_compiler_warnings+set}" = set; then :
4077  enableval=$enable_compiler_warnings;
4078fi
4079case $enable_compiler_warnings in #(
4080  no | min | yes | max | all) :
4081     ;; #(
4082  *) :
4083    if test "x$enable_maintainer_mode" = xyes; then :
4084  enable_compiler_warnings=yes
4085else
4086  enable_compiler_warnings=min
4087fi ;;
4088esac
4089
4090case `pwd` in
4091  *\ * | *\	*)
4092    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4093$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4094esac
4095
4096
4097
4098macro_version='2.4.6'
4099macro_revision='2.4.6'
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113ltmain=$ac_aux_dir/ltmain.sh
4114
4115# Make sure we can run config.sub.
4116$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4117  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4118
4119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4120$as_echo_n "checking build system type... " >&6; }
4121if ${ac_cv_build+:} false; then :
4122  $as_echo_n "(cached) " >&6
4123else
4124  ac_build_alias=$build_alias
4125test "x$ac_build_alias" = x &&
4126  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4127test "x$ac_build_alias" = x &&
4128  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4129ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4130  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4131
4132fi
4133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4134$as_echo "$ac_cv_build" >&6; }
4135case $ac_cv_build in
4136*-*-*) ;;
4137*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4138esac
4139build=$ac_cv_build
4140ac_save_IFS=$IFS; IFS='-'
4141set x $ac_cv_build
4142shift
4143build_cpu=$1
4144build_vendor=$2
4145shift; shift
4146# Remember, the first character of IFS is used to create $*,
4147# except with old shells:
4148build_os=$*
4149IFS=$ac_save_IFS
4150case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4151
4152
4153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4154$as_echo_n "checking host system type... " >&6; }
4155if ${ac_cv_host+:} false; then :
4156  $as_echo_n "(cached) " >&6
4157else
4158  if test "x$host_alias" = x; then
4159  ac_cv_host=$ac_cv_build
4160else
4161  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4162    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4163fi
4164
4165fi
4166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4167$as_echo "$ac_cv_host" >&6; }
4168case $ac_cv_host in
4169*-*-*) ;;
4170*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4171esac
4172host=$ac_cv_host
4173ac_save_IFS=$IFS; IFS='-'
4174set x $ac_cv_host
4175shift
4176host_cpu=$1
4177host_vendor=$2
4178shift; shift
4179# Remember, the first character of IFS is used to create $*,
4180# except with old shells:
4181host_os=$*
4182IFS=$ac_save_IFS
4183case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4184
4185
4186# Backslashify metacharacters that are still active within
4187# double-quoted strings.
4188sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4189
4190# Same as above, but do not quote variable references.
4191double_quote_subst='s/\(["`\\]\)/\\\1/g'
4192
4193# Sed substitution to delay expansion of an escaped shell variable in a
4194# double_quote_subst'ed string.
4195delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4196
4197# Sed substitution to delay expansion of an escaped single quote.
4198delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4199
4200# Sed substitution to avoid accidental globbing in evaled expressions
4201no_glob_subst='s/\*/\\\*/g'
4202
4203ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4204ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4205ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4206
4207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4208$as_echo_n "checking how to print strings... " >&6; }
4209# Test print first, because it will be a builtin if present.
4210if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4211   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4212  ECHO='print -r --'
4213elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4214  ECHO='printf %s\n'
4215else
4216  # Use this function as a fallback that always works.
4217  func_fallback_echo ()
4218  {
4219    eval 'cat <<_LTECHO_EOF
4220$1
4221_LTECHO_EOF'
4222  }
4223  ECHO='func_fallback_echo'
4224fi
4225
4226# func_echo_all arg...
4227# Invoke $ECHO with all args, space-separated.
4228func_echo_all ()
4229{
4230    $ECHO ""
4231}
4232
4233case $ECHO in
4234  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4235$as_echo "printf" >&6; } ;;
4236  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4237$as_echo "print -r" >&6; } ;;
4238  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4239$as_echo "cat" >&6; } ;;
4240esac
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4256$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4257if ${ac_cv_path_SED+:} false; then :
4258  $as_echo_n "(cached) " >&6
4259else
4260            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4261     for ac_i in 1 2 3 4 5 6 7; do
4262       ac_script="$ac_script$as_nl$ac_script"
4263     done
4264     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4265     { ac_script=; unset ac_script;}
4266     if test -z "$SED"; then
4267  ac_path_SED_found=false
4268  # Loop through the user's path and test for each of PROGNAME-LIST
4269  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270for as_dir in $PATH
4271do
4272  IFS=$as_save_IFS
4273  test -z "$as_dir" && as_dir=.
4274    for ac_prog in sed gsed; do
4275    for ac_exec_ext in '' $ac_executable_extensions; do
4276      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4277      as_fn_executable_p "$ac_path_SED" || continue
4278# Check for GNU ac_path_SED and select it if it is found.
4279  # Check for GNU $ac_path_SED
4280case `"$ac_path_SED" --version 2>&1` in
4281*GNU*)
4282  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4283*)
4284  ac_count=0
4285  $as_echo_n 0123456789 >"conftest.in"
4286  while :
4287  do
4288    cat "conftest.in" "conftest.in" >"conftest.tmp"
4289    mv "conftest.tmp" "conftest.in"
4290    cp "conftest.in" "conftest.nl"
4291    $as_echo '' >> "conftest.nl"
4292    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4293    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4294    as_fn_arith $ac_count + 1 && ac_count=$as_val
4295    if test $ac_count -gt ${ac_path_SED_max-0}; then
4296      # Best one so far, save it but keep looking for a better one
4297      ac_cv_path_SED="$ac_path_SED"
4298      ac_path_SED_max=$ac_count
4299    fi
4300    # 10*(2^10) chars as input seems more than enough
4301    test $ac_count -gt 10 && break
4302  done
4303  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4304esac
4305
4306      $ac_path_SED_found && break 3
4307    done
4308  done
4309  done
4310IFS=$as_save_IFS
4311  if test -z "$ac_cv_path_SED"; then
4312    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4313  fi
4314else
4315  ac_cv_path_SED=$SED
4316fi
4317
4318fi
4319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4320$as_echo "$ac_cv_path_SED" >&6; }
4321 SED="$ac_cv_path_SED"
4322  rm -f conftest.sed
4323
4324test -z "$SED" && SED=sed
4325Xsed="$SED -e 1s/^X//"
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4338$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4339if ${ac_cv_path_GREP+:} false; then :
4340  $as_echo_n "(cached) " >&6
4341else
4342  if test -z "$GREP"; then
4343  ac_path_GREP_found=false
4344  # Loop through the user's path and test for each of PROGNAME-LIST
4345  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4347do
4348  IFS=$as_save_IFS
4349  test -z "$as_dir" && as_dir=.
4350    for ac_prog in grep ggrep; do
4351    for ac_exec_ext in '' $ac_executable_extensions; do
4352      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4353      as_fn_executable_p "$ac_path_GREP" || continue
4354# Check for GNU ac_path_GREP and select it if it is found.
4355  # Check for GNU $ac_path_GREP
4356case `"$ac_path_GREP" --version 2>&1` in
4357*GNU*)
4358  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4359*)
4360  ac_count=0
4361  $as_echo_n 0123456789 >"conftest.in"
4362  while :
4363  do
4364    cat "conftest.in" "conftest.in" >"conftest.tmp"
4365    mv "conftest.tmp" "conftest.in"
4366    cp "conftest.in" "conftest.nl"
4367    $as_echo 'GREP' >> "conftest.nl"
4368    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4369    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4370    as_fn_arith $ac_count + 1 && ac_count=$as_val
4371    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4372      # Best one so far, save it but keep looking for a better one
4373      ac_cv_path_GREP="$ac_path_GREP"
4374      ac_path_GREP_max=$ac_count
4375    fi
4376    # 10*(2^10) chars as input seems more than enough
4377    test $ac_count -gt 10 && break
4378  done
4379  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4380esac
4381
4382      $ac_path_GREP_found && break 3
4383    done
4384  done
4385  done
4386IFS=$as_save_IFS
4387  if test -z "$ac_cv_path_GREP"; then
4388    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4389  fi
4390else
4391  ac_cv_path_GREP=$GREP
4392fi
4393
4394fi
4395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4396$as_echo "$ac_cv_path_GREP" >&6; }
4397 GREP="$ac_cv_path_GREP"
4398
4399
4400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4401$as_echo_n "checking for egrep... " >&6; }
4402if ${ac_cv_path_EGREP+:} false; then :
4403  $as_echo_n "(cached) " >&6
4404else
4405  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4406   then ac_cv_path_EGREP="$GREP -E"
4407   else
4408     if test -z "$EGREP"; then
4409  ac_path_EGREP_found=false
4410  # Loop through the user's path and test for each of PROGNAME-LIST
4411  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4413do
4414  IFS=$as_save_IFS
4415  test -z "$as_dir" && as_dir=.
4416    for ac_prog in egrep; do
4417    for ac_exec_ext in '' $ac_executable_extensions; do
4418      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4419      as_fn_executable_p "$ac_path_EGREP" || continue
4420# Check for GNU ac_path_EGREP and select it if it is found.
4421  # Check for GNU $ac_path_EGREP
4422case `"$ac_path_EGREP" --version 2>&1` in
4423*GNU*)
4424  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4425*)
4426  ac_count=0
4427  $as_echo_n 0123456789 >"conftest.in"
4428  while :
4429  do
4430    cat "conftest.in" "conftest.in" >"conftest.tmp"
4431    mv "conftest.tmp" "conftest.in"
4432    cp "conftest.in" "conftest.nl"
4433    $as_echo 'EGREP' >> "conftest.nl"
4434    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4435    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4436    as_fn_arith $ac_count + 1 && ac_count=$as_val
4437    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4438      # Best one so far, save it but keep looking for a better one
4439      ac_cv_path_EGREP="$ac_path_EGREP"
4440      ac_path_EGREP_max=$ac_count
4441    fi
4442    # 10*(2^10) chars as input seems more than enough
4443    test $ac_count -gt 10 && break
4444  done
4445  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4446esac
4447
4448      $ac_path_EGREP_found && break 3
4449    done
4450  done
4451  done
4452IFS=$as_save_IFS
4453  if test -z "$ac_cv_path_EGREP"; then
4454    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4455  fi
4456else
4457  ac_cv_path_EGREP=$EGREP
4458fi
4459
4460   fi
4461fi
4462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4463$as_echo "$ac_cv_path_EGREP" >&6; }
4464 EGREP="$ac_cv_path_EGREP"
4465
4466
4467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4468$as_echo_n "checking for fgrep... " >&6; }
4469if ${ac_cv_path_FGREP+:} false; then :
4470  $as_echo_n "(cached) " >&6
4471else
4472  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4473   then ac_cv_path_FGREP="$GREP -F"
4474   else
4475     if test -z "$FGREP"; then
4476  ac_path_FGREP_found=false
4477  # Loop through the user's path and test for each of PROGNAME-LIST
4478  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4480do
4481  IFS=$as_save_IFS
4482  test -z "$as_dir" && as_dir=.
4483    for ac_prog in fgrep; do
4484    for ac_exec_ext in '' $ac_executable_extensions; do
4485      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4486      as_fn_executable_p "$ac_path_FGREP" || continue
4487# Check for GNU ac_path_FGREP and select it if it is found.
4488  # Check for GNU $ac_path_FGREP
4489case `"$ac_path_FGREP" --version 2>&1` in
4490*GNU*)
4491  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4492*)
4493  ac_count=0
4494  $as_echo_n 0123456789 >"conftest.in"
4495  while :
4496  do
4497    cat "conftest.in" "conftest.in" >"conftest.tmp"
4498    mv "conftest.tmp" "conftest.in"
4499    cp "conftest.in" "conftest.nl"
4500    $as_echo 'FGREP' >> "conftest.nl"
4501    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4502    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4503    as_fn_arith $ac_count + 1 && ac_count=$as_val
4504    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4505      # Best one so far, save it but keep looking for a better one
4506      ac_cv_path_FGREP="$ac_path_FGREP"
4507      ac_path_FGREP_max=$ac_count
4508    fi
4509    # 10*(2^10) chars as input seems more than enough
4510    test $ac_count -gt 10 && break
4511  done
4512  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4513esac
4514
4515      $ac_path_FGREP_found && break 3
4516    done
4517  done
4518  done
4519IFS=$as_save_IFS
4520  if test -z "$ac_cv_path_FGREP"; then
4521    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4522  fi
4523else
4524  ac_cv_path_FGREP=$FGREP
4525fi
4526
4527   fi
4528fi
4529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4530$as_echo "$ac_cv_path_FGREP" >&6; }
4531 FGREP="$ac_cv_path_FGREP"
4532
4533
4534test -z "$GREP" && GREP=grep
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554# Check whether --with-gnu-ld was given.
4555if test "${with_gnu_ld+set}" = set; then :
4556  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4557else
4558  with_gnu_ld=no
4559fi
4560
4561ac_prog=ld
4562if test yes = "$GCC"; then
4563  # Check if gcc -print-prog-name=ld gives a path.
4564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4565$as_echo_n "checking for ld used by $CC... " >&6; }
4566  case $host in
4567  *-*-mingw*)
4568    # gcc leaves a trailing carriage return, which upsets mingw
4569    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4570  *)
4571    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4572  esac
4573  case $ac_prog in
4574    # Accept absolute paths.
4575    [\\/]* | ?:[\\/]*)
4576      re_direlt='/[^/][^/]*/\.\./'
4577      # Canonicalize the pathname of ld
4578      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4579      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4580	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4581      done
4582      test -z "$LD" && LD=$ac_prog
4583      ;;
4584  "")
4585    # If it fails, then pretend we aren't using GCC.
4586    ac_prog=ld
4587    ;;
4588  *)
4589    # If it is relative, then search for the first ld in PATH.
4590    with_gnu_ld=unknown
4591    ;;
4592  esac
4593elif test yes = "$with_gnu_ld"; then
4594  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4595$as_echo_n "checking for GNU ld... " >&6; }
4596else
4597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4598$as_echo_n "checking for non-GNU ld... " >&6; }
4599fi
4600if ${lt_cv_path_LD+:} false; then :
4601  $as_echo_n "(cached) " >&6
4602else
4603  if test -z "$LD"; then
4604  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4605  for ac_dir in $PATH; do
4606    IFS=$lt_save_ifs
4607    test -z "$ac_dir" && ac_dir=.
4608    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4609      lt_cv_path_LD=$ac_dir/$ac_prog
4610      # Check to see if the program is GNU ld.  I'd rather use --version,
4611      # but apparently some variants of GNU ld only accept -v.
4612      # Break only if it was the GNU/non-GNU ld that we prefer.
4613      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4614      *GNU* | *'with BFD'*)
4615	test no != "$with_gnu_ld" && break
4616	;;
4617      *)
4618	test yes != "$with_gnu_ld" && break
4619	;;
4620      esac
4621    fi
4622  done
4623  IFS=$lt_save_ifs
4624else
4625  lt_cv_path_LD=$LD # Let the user override the test with a path.
4626fi
4627fi
4628
4629LD=$lt_cv_path_LD
4630if test -n "$LD"; then
4631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4632$as_echo "$LD" >&6; }
4633else
4634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635$as_echo "no" >&6; }
4636fi
4637test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4639$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4640if ${lt_cv_prog_gnu_ld+:} false; then :
4641  $as_echo_n "(cached) " >&6
4642else
4643  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4644case `$LD -v 2>&1 </dev/null` in
4645*GNU* | *'with BFD'*)
4646  lt_cv_prog_gnu_ld=yes
4647  ;;
4648*)
4649  lt_cv_prog_gnu_ld=no
4650  ;;
4651esac
4652fi
4653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4654$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4655with_gnu_ld=$lt_cv_prog_gnu_ld
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4666$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4667if ${lt_cv_path_NM+:} false; then :
4668  $as_echo_n "(cached) " >&6
4669else
4670  if test -n "$NM"; then
4671  # Let the user override the test.
4672  lt_cv_path_NM=$NM
4673else
4674  lt_nm_to_check=${ac_tool_prefix}nm
4675  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4676    lt_nm_to_check="$lt_nm_to_check nm"
4677  fi
4678  for lt_tmp_nm in $lt_nm_to_check; do
4679    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4680    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4681      IFS=$lt_save_ifs
4682      test -z "$ac_dir" && ac_dir=.
4683      tmp_nm=$ac_dir/$lt_tmp_nm
4684      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4685	# Check to see if the nm accepts a BSD-compat flag.
4686	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4687	#   nm: unknown option "B" ignored
4688	# Tru64's nm complains that /dev/null is an invalid object file
4689	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4690	case $build_os in
4691	mingw*) lt_bad_file=conftest.nm/nofile ;;
4692	*) lt_bad_file=/dev/null ;;
4693	esac
4694	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4695	*$lt_bad_file* | *'Invalid file or object type'*)
4696	  lt_cv_path_NM="$tmp_nm -B"
4697	  break 2
4698	  ;;
4699	*)
4700	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4701	  */dev/null*)
4702	    lt_cv_path_NM="$tmp_nm -p"
4703	    break 2
4704	    ;;
4705	  *)
4706	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4707	    continue # so that we can try to find one that supports BSD flags
4708	    ;;
4709	  esac
4710	  ;;
4711	esac
4712      fi
4713    done
4714    IFS=$lt_save_ifs
4715  done
4716  : ${lt_cv_path_NM=no}
4717fi
4718fi
4719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4720$as_echo "$lt_cv_path_NM" >&6; }
4721if test no != "$lt_cv_path_NM"; then
4722  NM=$lt_cv_path_NM
4723else
4724  # Didn't find any BSD compatible name lister, look for dumpbin.
4725  if test -n "$DUMPBIN"; then :
4726    # Let the user override the test.
4727  else
4728    if test -n "$ac_tool_prefix"; then
4729  for ac_prog in dumpbin "link -dump"
4730  do
4731    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4732set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4734$as_echo_n "checking for $ac_word... " >&6; }
4735if ${ac_cv_prog_DUMPBIN+:} false; then :
4736  $as_echo_n "(cached) " >&6
4737else
4738  if test -n "$DUMPBIN"; then
4739  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4740else
4741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742for as_dir in $PATH
4743do
4744  IFS=$as_save_IFS
4745  test -z "$as_dir" && as_dir=.
4746    for ac_exec_ext in '' $ac_executable_extensions; do
4747  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4748    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4749    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4750    break 2
4751  fi
4752done
4753  done
4754IFS=$as_save_IFS
4755
4756fi
4757fi
4758DUMPBIN=$ac_cv_prog_DUMPBIN
4759if test -n "$DUMPBIN"; then
4760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4761$as_echo "$DUMPBIN" >&6; }
4762else
4763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764$as_echo "no" >&6; }
4765fi
4766
4767
4768    test -n "$DUMPBIN" && break
4769  done
4770fi
4771if test -z "$DUMPBIN"; then
4772  ac_ct_DUMPBIN=$DUMPBIN
4773  for ac_prog in dumpbin "link -dump"
4774do
4775  # Extract the first word of "$ac_prog", so it can be a program name with args.
4776set dummy $ac_prog; ac_word=$2
4777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778$as_echo_n "checking for $ac_word... " >&6; }
4779if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4780  $as_echo_n "(cached) " >&6
4781else
4782  if test -n "$ac_ct_DUMPBIN"; then
4783  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4784else
4785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786for as_dir in $PATH
4787do
4788  IFS=$as_save_IFS
4789  test -z "$as_dir" && as_dir=.
4790    for ac_exec_ext in '' $ac_executable_extensions; do
4791  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4792    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4793    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794    break 2
4795  fi
4796done
4797  done
4798IFS=$as_save_IFS
4799
4800fi
4801fi
4802ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4803if test -n "$ac_ct_DUMPBIN"; then
4804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4805$as_echo "$ac_ct_DUMPBIN" >&6; }
4806else
4807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808$as_echo "no" >&6; }
4809fi
4810
4811
4812  test -n "$ac_ct_DUMPBIN" && break
4813done
4814
4815  if test "x$ac_ct_DUMPBIN" = x; then
4816    DUMPBIN=":"
4817  else
4818    case $cross_compiling:$ac_tool_warned in
4819yes:)
4820{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4821$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4822ac_tool_warned=yes ;;
4823esac
4824    DUMPBIN=$ac_ct_DUMPBIN
4825  fi
4826fi
4827
4828    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4829    *COFF*)
4830      DUMPBIN="$DUMPBIN -symbols -headers"
4831      ;;
4832    *)
4833      DUMPBIN=:
4834      ;;
4835    esac
4836  fi
4837
4838  if test : != "$DUMPBIN"; then
4839    NM=$DUMPBIN
4840  fi
4841fi
4842test -z "$NM" && NM=nm
4843
4844
4845
4846
4847
4848
4849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4850$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4851if ${lt_cv_nm_interface+:} false; then :
4852  $as_echo_n "(cached) " >&6
4853else
4854  lt_cv_nm_interface="BSD nm"
4855  echo "int some_variable = 0;" > conftest.$ac_ext
4856  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4857  (eval "$ac_compile" 2>conftest.err)
4858  cat conftest.err >&5
4859  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4860  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4861  cat conftest.err >&5
4862  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4863  cat conftest.out >&5
4864  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4865    lt_cv_nm_interface="MS dumpbin"
4866  fi
4867  rm -f conftest*
4868fi
4869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4870$as_echo "$lt_cv_nm_interface" >&6; }
4871
4872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4873$as_echo_n "checking whether ln -s works... " >&6; }
4874LN_S=$as_ln_s
4875if test "$LN_S" = "ln -s"; then
4876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4877$as_echo "yes" >&6; }
4878else
4879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4880$as_echo "no, using $LN_S" >&6; }
4881fi
4882
4883# find the maximum length of command line arguments
4884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4885$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4886if ${lt_cv_sys_max_cmd_len+:} false; then :
4887  $as_echo_n "(cached) " >&6
4888else
4889    i=0
4890  teststring=ABCD
4891
4892  case $build_os in
4893  msdosdjgpp*)
4894    # On DJGPP, this test can blow up pretty badly due to problems in libc
4895    # (any single argument exceeding 2000 bytes causes a buffer overrun
4896    # during glob expansion).  Even if it were fixed, the result of this
4897    # check would be larger than it should be.
4898    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4899    ;;
4900
4901  gnu*)
4902    # Under GNU Hurd, this test is not required because there is
4903    # no limit to the length of command line arguments.
4904    # Libtool will interpret -1 as no limit whatsoever
4905    lt_cv_sys_max_cmd_len=-1;
4906    ;;
4907
4908  cygwin* | mingw* | cegcc*)
4909    # On Win9x/ME, this test blows up -- it succeeds, but takes
4910    # about 5 minutes as the teststring grows exponentially.
4911    # Worse, since 9x/ME are not pre-emptively multitasking,
4912    # you end up with a "frozen" computer, even though with patience
4913    # the test eventually succeeds (with a max line length of 256k).
4914    # Instead, let's just punt: use the minimum linelength reported by
4915    # all of the supported platforms: 8192 (on NT/2K/XP).
4916    lt_cv_sys_max_cmd_len=8192;
4917    ;;
4918
4919  mint*)
4920    # On MiNT this can take a long time and run out of memory.
4921    lt_cv_sys_max_cmd_len=8192;
4922    ;;
4923
4924  amigaos*)
4925    # On AmigaOS with pdksh, this test takes hours, literally.
4926    # So we just punt and use a minimum line length of 8192.
4927    lt_cv_sys_max_cmd_len=8192;
4928    ;;
4929
4930  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4931    # This has been around since 386BSD, at least.  Likely further.
4932    if test -x /sbin/sysctl; then
4933      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4934    elif test -x /usr/sbin/sysctl; then
4935      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4936    else
4937      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4938    fi
4939    # And add a safety zone
4940    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4941    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4942    ;;
4943
4944  interix*)
4945    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4946    lt_cv_sys_max_cmd_len=196608
4947    ;;
4948
4949  os2*)
4950    # The test takes a long time on OS/2.
4951    lt_cv_sys_max_cmd_len=8192
4952    ;;
4953
4954  osf*)
4955    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4956    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4957    # nice to cause kernel panics so lets avoid the loop below.
4958    # First set a reasonable default.
4959    lt_cv_sys_max_cmd_len=16384
4960    #
4961    if test -x /sbin/sysconfig; then
4962      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4963        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4964      esac
4965    fi
4966    ;;
4967  sco3.2v5*)
4968    lt_cv_sys_max_cmd_len=102400
4969    ;;
4970  sysv5* | sco5v6* | sysv4.2uw2*)
4971    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4972    if test -n "$kargmax"; then
4973      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4974    else
4975      lt_cv_sys_max_cmd_len=32768
4976    fi
4977    ;;
4978  *)
4979    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4980    if test -n "$lt_cv_sys_max_cmd_len" && \
4981       test undefined != "$lt_cv_sys_max_cmd_len"; then
4982      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4983      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4984    else
4985      # Make teststring a little bigger before we do anything with it.
4986      # a 1K string should be a reasonable start.
4987      for i in 1 2 3 4 5 6 7 8; do
4988        teststring=$teststring$teststring
4989      done
4990      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4991      # If test is not a shell built-in, we'll probably end up computing a
4992      # maximum length that is only half of the actual maximum length, but
4993      # we can't tell.
4994      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4995	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4996	      test 17 != "$i" # 1/2 MB should be enough
4997      do
4998        i=`expr $i + 1`
4999        teststring=$teststring$teststring
5000      done
5001      # Only check the string length outside the loop.
5002      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5003      teststring=
5004      # Add a significant safety factor because C++ compilers can tack on
5005      # massive amounts of additional arguments before passing them to the
5006      # linker.  It appears as though 1/2 is a usable value.
5007      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5008    fi
5009    ;;
5010  esac
5011
5012fi
5013
5014if test -n "$lt_cv_sys_max_cmd_len"; then
5015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5016$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5017else
5018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5019$as_echo "none" >&6; }
5020fi
5021max_cmd_len=$lt_cv_sys_max_cmd_len
5022
5023
5024
5025
5026
5027
5028: ${CP="cp -f"}
5029: ${MV="mv -f"}
5030: ${RM="rm -f"}
5031
5032if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5033  lt_unset=unset
5034else
5035  lt_unset=false
5036fi
5037
5038
5039
5040
5041
5042# test EBCDIC or ASCII
5043case `echo X|tr X '\101'` in
5044 A) # ASCII based system
5045    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5046  lt_SP2NL='tr \040 \012'
5047  lt_NL2SP='tr \015\012 \040\040'
5048  ;;
5049 *) # EBCDIC based system
5050  lt_SP2NL='tr \100 \n'
5051  lt_NL2SP='tr \r\n \100\100'
5052  ;;
5053esac
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5064$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5065if ${lt_cv_to_host_file_cmd+:} false; then :
5066  $as_echo_n "(cached) " >&6
5067else
5068  case $host in
5069  *-*-mingw* )
5070    case $build in
5071      *-*-mingw* ) # actually msys
5072        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5073        ;;
5074      *-*-cygwin* )
5075        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5076        ;;
5077      * ) # otherwise, assume *nix
5078        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5079        ;;
5080    esac
5081    ;;
5082  *-*-cygwin* )
5083    case $build in
5084      *-*-mingw* ) # actually msys
5085        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5086        ;;
5087      *-*-cygwin* )
5088        lt_cv_to_host_file_cmd=func_convert_file_noop
5089        ;;
5090      * ) # otherwise, assume *nix
5091        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5092        ;;
5093    esac
5094    ;;
5095  * ) # unhandled hosts (and "normal" native builds)
5096    lt_cv_to_host_file_cmd=func_convert_file_noop
5097    ;;
5098esac
5099
5100fi
5101
5102to_host_file_cmd=$lt_cv_to_host_file_cmd
5103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5104$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5105
5106
5107
5108
5109
5110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5111$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5112if ${lt_cv_to_tool_file_cmd+:} false; then :
5113  $as_echo_n "(cached) " >&6
5114else
5115  #assume ordinary cross tools, or native build.
5116lt_cv_to_tool_file_cmd=func_convert_file_noop
5117case $host in
5118  *-*-mingw* )
5119    case $build in
5120      *-*-mingw* ) # actually msys
5121        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5122        ;;
5123    esac
5124    ;;
5125esac
5126
5127fi
5128
5129to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5131$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5132
5133
5134
5135
5136
5137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5138$as_echo_n "checking for $LD option to reload object files... " >&6; }
5139if ${lt_cv_ld_reload_flag+:} false; then :
5140  $as_echo_n "(cached) " >&6
5141else
5142  lt_cv_ld_reload_flag='-r'
5143fi
5144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5145$as_echo "$lt_cv_ld_reload_flag" >&6; }
5146reload_flag=$lt_cv_ld_reload_flag
5147case $reload_flag in
5148"" | " "*) ;;
5149*) reload_flag=" $reload_flag" ;;
5150esac
5151reload_cmds='$LD$reload_flag -o $output$reload_objs'
5152case $host_os in
5153  cygwin* | mingw* | pw32* | cegcc*)
5154    if test yes != "$GCC"; then
5155      reload_cmds=false
5156    fi
5157    ;;
5158  darwin*)
5159    if test yes = "$GCC"; then
5160      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5161    else
5162      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5163    fi
5164    ;;
5165esac
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175if test -n "$ac_tool_prefix"; then
5176  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5177set dummy ${ac_tool_prefix}objdump; ac_word=$2
5178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179$as_echo_n "checking for $ac_word... " >&6; }
5180if ${ac_cv_prog_OBJDUMP+:} false; then :
5181  $as_echo_n "(cached) " >&6
5182else
5183  if test -n "$OBJDUMP"; then
5184  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5185else
5186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187for as_dir in $PATH
5188do
5189  IFS=$as_save_IFS
5190  test -z "$as_dir" && as_dir=.
5191    for ac_exec_ext in '' $ac_executable_extensions; do
5192  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5193    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5194    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195    break 2
5196  fi
5197done
5198  done
5199IFS=$as_save_IFS
5200
5201fi
5202fi
5203OBJDUMP=$ac_cv_prog_OBJDUMP
5204if test -n "$OBJDUMP"; then
5205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5206$as_echo "$OBJDUMP" >&6; }
5207else
5208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209$as_echo "no" >&6; }
5210fi
5211
5212
5213fi
5214if test -z "$ac_cv_prog_OBJDUMP"; then
5215  ac_ct_OBJDUMP=$OBJDUMP
5216  # Extract the first word of "objdump", so it can be a program name with args.
5217set dummy objdump; ac_word=$2
5218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219$as_echo_n "checking for $ac_word... " >&6; }
5220if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5221  $as_echo_n "(cached) " >&6
5222else
5223  if test -n "$ac_ct_OBJDUMP"; then
5224  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5225else
5226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227for as_dir in $PATH
5228do
5229  IFS=$as_save_IFS
5230  test -z "$as_dir" && as_dir=.
5231    for ac_exec_ext in '' $ac_executable_extensions; do
5232  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5234    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235    break 2
5236  fi
5237done
5238  done
5239IFS=$as_save_IFS
5240
5241fi
5242fi
5243ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5244if test -n "$ac_ct_OBJDUMP"; then
5245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5246$as_echo "$ac_ct_OBJDUMP" >&6; }
5247else
5248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249$as_echo "no" >&6; }
5250fi
5251
5252  if test "x$ac_ct_OBJDUMP" = x; then
5253    OBJDUMP="false"
5254  else
5255    case $cross_compiling:$ac_tool_warned in
5256yes:)
5257{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5258$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5259ac_tool_warned=yes ;;
5260esac
5261    OBJDUMP=$ac_ct_OBJDUMP
5262  fi
5263else
5264  OBJDUMP="$ac_cv_prog_OBJDUMP"
5265fi
5266
5267test -z "$OBJDUMP" && OBJDUMP=objdump
5268
5269
5270
5271
5272
5273
5274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5275$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5276if ${lt_cv_deplibs_check_method+:} false; then :
5277  $as_echo_n "(cached) " >&6
5278else
5279  lt_cv_file_magic_cmd='$MAGIC_CMD'
5280lt_cv_file_magic_test_file=
5281lt_cv_deplibs_check_method='unknown'
5282# Need to set the preceding variable on all platforms that support
5283# interlibrary dependencies.
5284# 'none' -- dependencies not supported.
5285# 'unknown' -- same as none, but documents that we really don't know.
5286# 'pass_all' -- all dependencies passed with no checks.
5287# 'test_compile' -- check by making test program.
5288# 'file_magic [[regex]]' -- check by looking for files in library path
5289# that responds to the $file_magic_cmd with a given extended regex.
5290# If you have 'file' or equivalent on your system and you're not sure
5291# whether 'pass_all' will *always* work, you probably want this one.
5292
5293case $host_os in
5294aix[4-9]*)
5295  lt_cv_deplibs_check_method=pass_all
5296  ;;
5297
5298beos*)
5299  lt_cv_deplibs_check_method=pass_all
5300  ;;
5301
5302bsdi[45]*)
5303  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5304  lt_cv_file_magic_cmd='/usr/bin/file -L'
5305  lt_cv_file_magic_test_file=/shlib/libc.so
5306  ;;
5307
5308cygwin*)
5309  # func_win32_libid is a shell function defined in ltmain.sh
5310  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5311  lt_cv_file_magic_cmd='func_win32_libid'
5312  ;;
5313
5314mingw* | pw32*)
5315  # Base MSYS/MinGW do not provide the 'file' command needed by
5316  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5317  # unless we find 'file', for example because we are cross-compiling.
5318  if ( file / ) >/dev/null 2>&1; then
5319    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5320    lt_cv_file_magic_cmd='func_win32_libid'
5321  else
5322    # Keep this pattern in sync with the one in func_win32_libid.
5323    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5324    lt_cv_file_magic_cmd='$OBJDUMP -f'
5325  fi
5326  ;;
5327
5328cegcc*)
5329  # use the weaker test based on 'objdump'. See mingw*.
5330  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5331  lt_cv_file_magic_cmd='$OBJDUMP -f'
5332  ;;
5333
5334darwin* | rhapsody*)
5335  lt_cv_deplibs_check_method=pass_all
5336  ;;
5337
5338freebsd* | dragonfly*)
5339  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5340    case $host_cpu in
5341    i*86 )
5342      # Not sure whether the presence of OpenBSD here was a mistake.
5343      # Let's accept both of them until this is cleared up.
5344      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5345      lt_cv_file_magic_cmd=/usr/bin/file
5346      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5347      ;;
5348    esac
5349  else
5350    lt_cv_deplibs_check_method=pass_all
5351  fi
5352  ;;
5353
5354haiku*)
5355  lt_cv_deplibs_check_method=pass_all
5356  ;;
5357
5358hpux10.20* | hpux11*)
5359  lt_cv_file_magic_cmd=/usr/bin/file
5360  case $host_cpu in
5361  ia64*)
5362    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5363    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5364    ;;
5365  hppa*64*)
5366    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]'
5367    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5368    ;;
5369  *)
5370    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5371    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5372    ;;
5373  esac
5374  ;;
5375
5376interix[3-9]*)
5377  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5378  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5379  ;;
5380
5381irix5* | irix6* | nonstopux*)
5382  case $LD in
5383  *-32|*"-32 ") libmagic=32-bit;;
5384  *-n32|*"-n32 ") libmagic=N32;;
5385  *-64|*"-64 ") libmagic=64-bit;;
5386  *) libmagic=never-match;;
5387  esac
5388  lt_cv_deplibs_check_method=pass_all
5389  ;;
5390
5391# This must be glibc/ELF.
5392linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5393  lt_cv_deplibs_check_method=pass_all
5394  ;;
5395
5396netbsd*)
5397  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5398    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5399  else
5400    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5401  fi
5402  ;;
5403
5404newos6*)
5405  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5406  lt_cv_file_magic_cmd=/usr/bin/file
5407  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5408  ;;
5409
5410*nto* | *qnx*)
5411  lt_cv_deplibs_check_method=pass_all
5412  ;;
5413
5414openbsd* | bitrig*)
5415  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5416    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5417  else
5418    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5419  fi
5420  ;;
5421
5422osf3* | osf4* | osf5*)
5423  lt_cv_deplibs_check_method=pass_all
5424  ;;
5425
5426rdos*)
5427  lt_cv_deplibs_check_method=pass_all
5428  ;;
5429
5430solaris*)
5431  lt_cv_deplibs_check_method=pass_all
5432  ;;
5433
5434sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5435  lt_cv_deplibs_check_method=pass_all
5436  ;;
5437
5438sysv4 | sysv4.3*)
5439  case $host_vendor in
5440  motorola)
5441    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]'
5442    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5443    ;;
5444  ncr)
5445    lt_cv_deplibs_check_method=pass_all
5446    ;;
5447  sequent)
5448    lt_cv_file_magic_cmd='/bin/file'
5449    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5450    ;;
5451  sni)
5452    lt_cv_file_magic_cmd='/bin/file'
5453    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5454    lt_cv_file_magic_test_file=/lib/libc.so
5455    ;;
5456  siemens)
5457    lt_cv_deplibs_check_method=pass_all
5458    ;;
5459  pc)
5460    lt_cv_deplibs_check_method=pass_all
5461    ;;
5462  esac
5463  ;;
5464
5465tpf*)
5466  lt_cv_deplibs_check_method=pass_all
5467  ;;
5468os2*)
5469  lt_cv_deplibs_check_method=pass_all
5470  ;;
5471esac
5472
5473fi
5474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5475$as_echo "$lt_cv_deplibs_check_method" >&6; }
5476
5477file_magic_glob=
5478want_nocaseglob=no
5479if test "$build" = "$host"; then
5480  case $host_os in
5481  mingw* | pw32*)
5482    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5483      want_nocaseglob=yes
5484    else
5485      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5486    fi
5487    ;;
5488  esac
5489fi
5490
5491file_magic_cmd=$lt_cv_file_magic_cmd
5492deplibs_check_method=$lt_cv_deplibs_check_method
5493test -z "$deplibs_check_method" && deplibs_check_method=unknown
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516if test -n "$ac_tool_prefix"; then
5517  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5518set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520$as_echo_n "checking for $ac_word... " >&6; }
5521if ${ac_cv_prog_DLLTOOL+:} false; then :
5522  $as_echo_n "(cached) " >&6
5523else
5524  if test -n "$DLLTOOL"; then
5525  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5526else
5527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528for as_dir in $PATH
5529do
5530  IFS=$as_save_IFS
5531  test -z "$as_dir" && as_dir=.
5532    for ac_exec_ext in '' $ac_executable_extensions; do
5533  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536    break 2
5537  fi
5538done
5539  done
5540IFS=$as_save_IFS
5541
5542fi
5543fi
5544DLLTOOL=$ac_cv_prog_DLLTOOL
5545if test -n "$DLLTOOL"; then
5546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5547$as_echo "$DLLTOOL" >&6; }
5548else
5549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550$as_echo "no" >&6; }
5551fi
5552
5553
5554fi
5555if test -z "$ac_cv_prog_DLLTOOL"; then
5556  ac_ct_DLLTOOL=$DLLTOOL
5557  # Extract the first word of "dlltool", so it can be a program name with args.
5558set dummy dlltool; ac_word=$2
5559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560$as_echo_n "checking for $ac_word... " >&6; }
5561if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5562  $as_echo_n "(cached) " >&6
5563else
5564  if test -n "$ac_ct_DLLTOOL"; then
5565  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5566else
5567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568for as_dir in $PATH
5569do
5570  IFS=$as_save_IFS
5571  test -z "$as_dir" && as_dir=.
5572    for ac_exec_ext in '' $ac_executable_extensions; do
5573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576    break 2
5577  fi
5578done
5579  done
5580IFS=$as_save_IFS
5581
5582fi
5583fi
5584ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5585if test -n "$ac_ct_DLLTOOL"; then
5586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5587$as_echo "$ac_ct_DLLTOOL" >&6; }
5588else
5589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590$as_echo "no" >&6; }
5591fi
5592
5593  if test "x$ac_ct_DLLTOOL" = x; then
5594    DLLTOOL="false"
5595  else
5596    case $cross_compiling:$ac_tool_warned in
5597yes:)
5598{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5599$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5600ac_tool_warned=yes ;;
5601esac
5602    DLLTOOL=$ac_ct_DLLTOOL
5603  fi
5604else
5605  DLLTOOL="$ac_cv_prog_DLLTOOL"
5606fi
5607
5608test -z "$DLLTOOL" && DLLTOOL=dlltool
5609
5610
5611
5612
5613
5614
5615
5616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5617$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5618if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5619  $as_echo_n "(cached) " >&6
5620else
5621  lt_cv_sharedlib_from_linklib_cmd='unknown'
5622
5623case $host_os in
5624cygwin* | mingw* | pw32* | cegcc*)
5625  # two different shell functions defined in ltmain.sh;
5626  # decide which one to use based on capabilities of $DLLTOOL
5627  case `$DLLTOOL --help 2>&1` in
5628  *--identify-strict*)
5629    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5630    ;;
5631  *)
5632    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5633    ;;
5634  esac
5635  ;;
5636*)
5637  # fallback: assume linklib IS sharedlib
5638  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5639  ;;
5640esac
5641
5642fi
5643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5644$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5645sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5646test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5647
5648
5649
5650
5651
5652
5653
5654if test -n "$ac_tool_prefix"; then
5655  for ac_prog in ar
5656  do
5657    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5658set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660$as_echo_n "checking for $ac_word... " >&6; }
5661if ${ac_cv_prog_AR+:} false; then :
5662  $as_echo_n "(cached) " >&6
5663else
5664  if test -n "$AR"; then
5665  ac_cv_prog_AR="$AR" # Let the user override the test.
5666else
5667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668for as_dir in $PATH
5669do
5670  IFS=$as_save_IFS
5671  test -z "$as_dir" && as_dir=.
5672    for ac_exec_ext in '' $ac_executable_extensions; do
5673  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5675    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676    break 2
5677  fi
5678done
5679  done
5680IFS=$as_save_IFS
5681
5682fi
5683fi
5684AR=$ac_cv_prog_AR
5685if test -n "$AR"; then
5686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5687$as_echo "$AR" >&6; }
5688else
5689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690$as_echo "no" >&6; }
5691fi
5692
5693
5694    test -n "$AR" && break
5695  done
5696fi
5697if test -z "$AR"; then
5698  ac_ct_AR=$AR
5699  for ac_prog in ar
5700do
5701  # Extract the first word of "$ac_prog", so it can be a program name with args.
5702set dummy $ac_prog; ac_word=$2
5703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704$as_echo_n "checking for $ac_word... " >&6; }
5705if ${ac_cv_prog_ac_ct_AR+:} false; then :
5706  $as_echo_n "(cached) " >&6
5707else
5708  if test -n "$ac_ct_AR"; then
5709  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5710else
5711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712for as_dir in $PATH
5713do
5714  IFS=$as_save_IFS
5715  test -z "$as_dir" && as_dir=.
5716    for ac_exec_ext in '' $ac_executable_extensions; do
5717  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718    ac_cv_prog_ac_ct_AR="$ac_prog"
5719    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720    break 2
5721  fi
5722done
5723  done
5724IFS=$as_save_IFS
5725
5726fi
5727fi
5728ac_ct_AR=$ac_cv_prog_ac_ct_AR
5729if test -n "$ac_ct_AR"; then
5730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5731$as_echo "$ac_ct_AR" >&6; }
5732else
5733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734$as_echo "no" >&6; }
5735fi
5736
5737
5738  test -n "$ac_ct_AR" && break
5739done
5740
5741  if test "x$ac_ct_AR" = x; then
5742    AR="false"
5743  else
5744    case $cross_compiling:$ac_tool_warned in
5745yes:)
5746{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5747$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5748ac_tool_warned=yes ;;
5749esac
5750    AR=$ac_ct_AR
5751  fi
5752fi
5753
5754: ${AR=ar}
5755: ${AR_FLAGS=cru}
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5768$as_echo_n "checking for archiver @FILE support... " >&6; }
5769if ${lt_cv_ar_at_file+:} false; then :
5770  $as_echo_n "(cached) " >&6
5771else
5772  lt_cv_ar_at_file=no
5773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5774/* end confdefs.h.  */
5775
5776int
5777main ()
5778{
5779
5780  ;
5781  return 0;
5782}
5783_ACEOF
5784if ac_fn_c_try_compile "$LINENO"; then :
5785  echo conftest.$ac_objext > conftest.lst
5786      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5787      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5788  (eval $lt_ar_try) 2>&5
5789  ac_status=$?
5790  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5791  test $ac_status = 0; }
5792      if test 0 -eq "$ac_status"; then
5793	# Ensure the archiver fails upon bogus file names.
5794	rm -f conftest.$ac_objext libconftest.a
5795	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5796  (eval $lt_ar_try) 2>&5
5797  ac_status=$?
5798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5799  test $ac_status = 0; }
5800	if test 0 -ne "$ac_status"; then
5801          lt_cv_ar_at_file=@
5802        fi
5803      fi
5804      rm -f conftest.* libconftest.a
5805
5806fi
5807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5808
5809fi
5810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5811$as_echo "$lt_cv_ar_at_file" >&6; }
5812
5813if test no = "$lt_cv_ar_at_file"; then
5814  archiver_list_spec=
5815else
5816  archiver_list_spec=$lt_cv_ar_at_file
5817fi
5818
5819
5820
5821
5822
5823
5824
5825if test -n "$ac_tool_prefix"; then
5826  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5827set dummy ${ac_tool_prefix}strip; ac_word=$2
5828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829$as_echo_n "checking for $ac_word... " >&6; }
5830if ${ac_cv_prog_STRIP+:} false; then :
5831  $as_echo_n "(cached) " >&6
5832else
5833  if test -n "$STRIP"; then
5834  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5835else
5836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837for as_dir in $PATH
5838do
5839  IFS=$as_save_IFS
5840  test -z "$as_dir" && as_dir=.
5841    for ac_exec_ext in '' $ac_executable_extensions; do
5842  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5844    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845    break 2
5846  fi
5847done
5848  done
5849IFS=$as_save_IFS
5850
5851fi
5852fi
5853STRIP=$ac_cv_prog_STRIP
5854if test -n "$STRIP"; then
5855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5856$as_echo "$STRIP" >&6; }
5857else
5858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859$as_echo "no" >&6; }
5860fi
5861
5862
5863fi
5864if test -z "$ac_cv_prog_STRIP"; then
5865  ac_ct_STRIP=$STRIP
5866  # Extract the first word of "strip", so it can be a program name with args.
5867set dummy strip; ac_word=$2
5868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869$as_echo_n "checking for $ac_word... " >&6; }
5870if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5871  $as_echo_n "(cached) " >&6
5872else
5873  if test -n "$ac_ct_STRIP"; then
5874  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5875else
5876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877for as_dir in $PATH
5878do
5879  IFS=$as_save_IFS
5880  test -z "$as_dir" && as_dir=.
5881    for ac_exec_ext in '' $ac_executable_extensions; do
5882  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883    ac_cv_prog_ac_ct_STRIP="strip"
5884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885    break 2
5886  fi
5887done
5888  done
5889IFS=$as_save_IFS
5890
5891fi
5892fi
5893ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5894if test -n "$ac_ct_STRIP"; then
5895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5896$as_echo "$ac_ct_STRIP" >&6; }
5897else
5898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899$as_echo "no" >&6; }
5900fi
5901
5902  if test "x$ac_ct_STRIP" = x; then
5903    STRIP=":"
5904  else
5905    case $cross_compiling:$ac_tool_warned in
5906yes:)
5907{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5908$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5909ac_tool_warned=yes ;;
5910esac
5911    STRIP=$ac_ct_STRIP
5912  fi
5913else
5914  STRIP="$ac_cv_prog_STRIP"
5915fi
5916
5917test -z "$STRIP" && STRIP=:
5918
5919
5920
5921
5922
5923
5924if test -n "$ac_tool_prefix"; then
5925  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5926set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928$as_echo_n "checking for $ac_word... " >&6; }
5929if ${ac_cv_prog_RANLIB+:} false; then :
5930  $as_echo_n "(cached) " >&6
5931else
5932  if test -n "$RANLIB"; then
5933  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5934else
5935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936for as_dir in $PATH
5937do
5938  IFS=$as_save_IFS
5939  test -z "$as_dir" && as_dir=.
5940    for ac_exec_ext in '' $ac_executable_extensions; do
5941  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5942    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944    break 2
5945  fi
5946done
5947  done
5948IFS=$as_save_IFS
5949
5950fi
5951fi
5952RANLIB=$ac_cv_prog_RANLIB
5953if test -n "$RANLIB"; then
5954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5955$as_echo "$RANLIB" >&6; }
5956else
5957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958$as_echo "no" >&6; }
5959fi
5960
5961
5962fi
5963if test -z "$ac_cv_prog_RANLIB"; then
5964  ac_ct_RANLIB=$RANLIB
5965  # Extract the first word of "ranlib", so it can be a program name with args.
5966set dummy ranlib; ac_word=$2
5967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5968$as_echo_n "checking for $ac_word... " >&6; }
5969if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5970  $as_echo_n "(cached) " >&6
5971else
5972  if test -n "$ac_ct_RANLIB"; then
5973  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5974else
5975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976for as_dir in $PATH
5977do
5978  IFS=$as_save_IFS
5979  test -z "$as_dir" && as_dir=.
5980    for ac_exec_ext in '' $ac_executable_extensions; do
5981  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5982    ac_cv_prog_ac_ct_RANLIB="ranlib"
5983    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5984    break 2
5985  fi
5986done
5987  done
5988IFS=$as_save_IFS
5989
5990fi
5991fi
5992ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5993if test -n "$ac_ct_RANLIB"; then
5994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5995$as_echo "$ac_ct_RANLIB" >&6; }
5996else
5997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998$as_echo "no" >&6; }
5999fi
6000
6001  if test "x$ac_ct_RANLIB" = x; then
6002    RANLIB=":"
6003  else
6004    case $cross_compiling:$ac_tool_warned in
6005yes:)
6006{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6007$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6008ac_tool_warned=yes ;;
6009esac
6010    RANLIB=$ac_ct_RANLIB
6011  fi
6012else
6013  RANLIB="$ac_cv_prog_RANLIB"
6014fi
6015
6016test -z "$RANLIB" && RANLIB=:
6017
6018
6019
6020
6021
6022
6023# Determine commands to create old-style static archives.
6024old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6025old_postinstall_cmds='chmod 644 $oldlib'
6026old_postuninstall_cmds=
6027
6028if test -n "$RANLIB"; then
6029  case $host_os in
6030  bitrig* | openbsd*)
6031    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6032    ;;
6033  *)
6034    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6035    ;;
6036  esac
6037  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6038fi
6039
6040case $host_os in
6041  darwin*)
6042    lock_old_archive_extraction=yes ;;
6043  *)
6044    lock_old_archive_extraction=no ;;
6045esac
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085# If no C compiler was specified, use CC.
6086LTCC=${LTCC-"$CC"}
6087
6088# If no C compiler flags were specified, use CFLAGS.
6089LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6090
6091# Allow CC to be a program name with arguments.
6092compiler=$CC
6093
6094
6095# Check for command to grab the raw symbol name followed by C symbol from nm.
6096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6097$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6098if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6099  $as_echo_n "(cached) " >&6
6100else
6101
6102# These are sane defaults that work on at least a few old systems.
6103# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6104
6105# Character class describing NM global symbol codes.
6106symcode='[BCDEGRST]'
6107
6108# Regexp to match symbols that can be accessed directly from C.
6109sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6110
6111# Define system-specific variables.
6112case $host_os in
6113aix*)
6114  symcode='[BCDT]'
6115  ;;
6116cygwin* | mingw* | pw32* | cegcc*)
6117  symcode='[ABCDGISTW]'
6118  ;;
6119hpux*)
6120  if test ia64 = "$host_cpu"; then
6121    symcode='[ABCDEGRST]'
6122  fi
6123  ;;
6124irix* | nonstopux*)
6125  symcode='[BCDEGRST]'
6126  ;;
6127osf*)
6128  symcode='[BCDEGQRST]'
6129  ;;
6130solaris*)
6131  symcode='[BDRT]'
6132  ;;
6133sco3.2v5*)
6134  symcode='[DT]'
6135  ;;
6136sysv4.2uw2*)
6137  symcode='[DT]'
6138  ;;
6139sysv5* | sco5v6* | unixware* | OpenUNIX*)
6140  symcode='[ABDT]'
6141  ;;
6142sysv4)
6143  symcode='[DFNSTU]'
6144  ;;
6145esac
6146
6147# If we're using GNU nm, then use its standard symbol codes.
6148case `$NM -V 2>&1` in
6149*GNU* | *'with BFD'*)
6150  symcode='[ABCDGIRSTW]' ;;
6151esac
6152
6153if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6154  # Gets list of data symbols to import.
6155  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6156  # Adjust the below global symbol transforms to fixup imported variables.
6157  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6158  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6159  lt_c_name_lib_hook="\
6160  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6161  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6162else
6163  # Disable hooks by default.
6164  lt_cv_sys_global_symbol_to_import=
6165  lt_cdecl_hook=
6166  lt_c_name_hook=
6167  lt_c_name_lib_hook=
6168fi
6169
6170# Transform an extracted symbol line into a proper C declaration.
6171# Some systems (esp. on ia64) link data and code symbols differently,
6172# so use this general approach.
6173lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6174$lt_cdecl_hook\
6175" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6176" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6177
6178# Transform an extracted symbol line into symbol name and symbol address
6179lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6180$lt_c_name_hook\
6181" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6182" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6183
6184# Transform an extracted symbol line into symbol name with lib prefix and
6185# symbol address.
6186lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6187$lt_c_name_lib_hook\
6188" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6189" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6190" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6191
6192# Handle CRLF in mingw tool chain
6193opt_cr=
6194case $build_os in
6195mingw*)
6196  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6197  ;;
6198esac
6199
6200# Try without a prefix underscore, then with it.
6201for ac_symprfx in "" "_"; do
6202
6203  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6204  symxfrm="\\1 $ac_symprfx\\2 \\2"
6205
6206  # Write the raw and C identifiers.
6207  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6208    # Fake it for dumpbin and say T for any non-static function,
6209    # D for any global variable and I for any imported variable.
6210    # Also find C++ and __fastcall symbols from MSVC++,
6211    # which start with @ or ?.
6212    lt_cv_sys_global_symbol_pipe="$AWK '"\
6213"     {last_section=section; section=\$ 3};"\
6214"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6215"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6216"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6217"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6218"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6219"     \$ 0!~/External *\|/{next};"\
6220"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6221"     {if(hide[section]) next};"\
6222"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6223"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6224"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6225"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6226"     ' prfx=^$ac_symprfx"
6227  else
6228    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6229  fi
6230  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6231
6232  # Check to see that the pipe works correctly.
6233  pipe_works=no
6234
6235  rm -f conftest*
6236  cat > conftest.$ac_ext <<_LT_EOF
6237#ifdef __cplusplus
6238extern "C" {
6239#endif
6240char nm_test_var;
6241void nm_test_func(void);
6242void nm_test_func(void){}
6243#ifdef __cplusplus
6244}
6245#endif
6246int main(){nm_test_var='a';nm_test_func();return(0);}
6247_LT_EOF
6248
6249  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6250  (eval $ac_compile) 2>&5
6251  ac_status=$?
6252  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6253  test $ac_status = 0; }; then
6254    # Now try to grab the symbols.
6255    nlist=conftest.nm
6256    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6257  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6258  ac_status=$?
6259  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6260  test $ac_status = 0; } && test -s "$nlist"; then
6261      # Try sorting and uniquifying the output.
6262      if sort "$nlist" | uniq > "$nlist"T; then
6263	mv -f "$nlist"T "$nlist"
6264      else
6265	rm -f "$nlist"T
6266      fi
6267
6268      # Make sure that we snagged all the symbols we need.
6269      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6270	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6271	  cat <<_LT_EOF > conftest.$ac_ext
6272/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6273#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6274/* DATA imports from DLLs on WIN32 can't be const, because runtime
6275   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6276# define LT_DLSYM_CONST
6277#elif defined __osf__
6278/* This system does not cope well with relocations in const data.  */
6279# define LT_DLSYM_CONST
6280#else
6281# define LT_DLSYM_CONST const
6282#endif
6283
6284#ifdef __cplusplus
6285extern "C" {
6286#endif
6287
6288_LT_EOF
6289	  # Now generate the symbol file.
6290	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6291
6292	  cat <<_LT_EOF >> conftest.$ac_ext
6293
6294/* The mapping between symbol names and symbols.  */
6295LT_DLSYM_CONST struct {
6296  const char *name;
6297  void       *address;
6298}
6299lt__PROGRAM__LTX_preloaded_symbols[] =
6300{
6301  { "@PROGRAM@", (void *) 0 },
6302_LT_EOF
6303	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6304	  cat <<\_LT_EOF >> conftest.$ac_ext
6305  {0, (void *) 0}
6306};
6307
6308/* This works around a problem in FreeBSD linker */
6309#ifdef FREEBSD_WORKAROUND
6310static const void *lt_preloaded_setup() {
6311  return lt__PROGRAM__LTX_preloaded_symbols;
6312}
6313#endif
6314
6315#ifdef __cplusplus
6316}
6317#endif
6318_LT_EOF
6319	  # Now try linking the two files.
6320	  mv conftest.$ac_objext conftstm.$ac_objext
6321	  lt_globsym_save_LIBS=$LIBS
6322	  lt_globsym_save_CFLAGS=$CFLAGS
6323	  LIBS=conftstm.$ac_objext
6324	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6325	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6326  (eval $ac_link) 2>&5
6327  ac_status=$?
6328  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6329  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6330	    pipe_works=yes
6331	  fi
6332	  LIBS=$lt_globsym_save_LIBS
6333	  CFLAGS=$lt_globsym_save_CFLAGS
6334	else
6335	  echo "cannot find nm_test_func in $nlist" >&5
6336	fi
6337      else
6338	echo "cannot find nm_test_var in $nlist" >&5
6339      fi
6340    else
6341      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6342    fi
6343  else
6344    echo "$progname: failed program was:" >&5
6345    cat conftest.$ac_ext >&5
6346  fi
6347  rm -rf conftest* conftst*
6348
6349  # Do not use the global_symbol_pipe unless it works.
6350  if test yes = "$pipe_works"; then
6351    break
6352  else
6353    lt_cv_sys_global_symbol_pipe=
6354  fi
6355done
6356
6357fi
6358
6359if test -z "$lt_cv_sys_global_symbol_pipe"; then
6360  lt_cv_sys_global_symbol_to_cdecl=
6361fi
6362if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6364$as_echo "failed" >&6; }
6365else
6366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6367$as_echo "ok" >&6; }
6368fi
6369
6370# Response file support.
6371if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6372  nm_file_list_spec='@'
6373elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6374  nm_file_list_spec='@'
6375fi
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6414$as_echo_n "checking for sysroot... " >&6; }
6415
6416# Check whether --with-sysroot was given.
6417if test "${with_sysroot+set}" = set; then :
6418  withval=$with_sysroot;
6419else
6420  with_sysroot=no
6421fi
6422
6423
6424lt_sysroot=
6425case $with_sysroot in #(
6426 yes)
6427   if test yes = "$GCC"; then
6428     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6429   fi
6430   ;; #(
6431 /*)
6432   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6433   ;; #(
6434 no|'')
6435   ;; #(
6436 *)
6437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6438$as_echo "$with_sysroot" >&6; }
6439   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6440   ;;
6441esac
6442
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6444$as_echo "${lt_sysroot:-no}" >&6; }
6445
6446
6447
6448
6449
6450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6451$as_echo_n "checking for a working dd... " >&6; }
6452if ${ac_cv_path_lt_DD+:} false; then :
6453  $as_echo_n "(cached) " >&6
6454else
6455  printf 0123456789abcdef0123456789abcdef >conftest.i
6456cat conftest.i conftest.i >conftest2.i
6457: ${lt_DD:=$DD}
6458if test -z "$lt_DD"; then
6459  ac_path_lt_DD_found=false
6460  # Loop through the user's path and test for each of PROGNAME-LIST
6461  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462for as_dir in $PATH
6463do
6464  IFS=$as_save_IFS
6465  test -z "$as_dir" && as_dir=.
6466    for ac_prog in dd; do
6467    for ac_exec_ext in '' $ac_executable_extensions; do
6468      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6469      as_fn_executable_p "$ac_path_lt_DD" || continue
6470if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6471  cmp -s conftest.i conftest.out \
6472  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6473fi
6474      $ac_path_lt_DD_found && break 3
6475    done
6476  done
6477  done
6478IFS=$as_save_IFS
6479  if test -z "$ac_cv_path_lt_DD"; then
6480    :
6481  fi
6482else
6483  ac_cv_path_lt_DD=$lt_DD
6484fi
6485
6486rm -f conftest.i conftest2.i conftest.out
6487fi
6488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6489$as_echo "$ac_cv_path_lt_DD" >&6; }
6490
6491
6492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6493$as_echo_n "checking how to truncate binary pipes... " >&6; }
6494if ${lt_cv_truncate_bin+:} false; then :
6495  $as_echo_n "(cached) " >&6
6496else
6497  printf 0123456789abcdef0123456789abcdef >conftest.i
6498cat conftest.i conftest.i >conftest2.i
6499lt_cv_truncate_bin=
6500if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6501  cmp -s conftest.i conftest.out \
6502  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6503fi
6504rm -f conftest.i conftest2.i conftest.out
6505test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6506fi
6507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6508$as_echo "$lt_cv_truncate_bin" >&6; }
6509
6510
6511
6512
6513
6514
6515
6516# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6517func_cc_basename ()
6518{
6519    for cc_temp in $*""; do
6520      case $cc_temp in
6521        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6522        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6523        \-*) ;;
6524        *) break;;
6525      esac
6526    done
6527    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6528}
6529
6530# Check whether --enable-libtool-lock was given.
6531if test "${enable_libtool_lock+set}" = set; then :
6532  enableval=$enable_libtool_lock;
6533fi
6534
6535test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6536
6537# Some flags need to be propagated to the compiler or linker for good
6538# libtool support.
6539case $host in
6540ia64-*-hpux*)
6541  # Find out what ABI is being produced by ac_compile, and set mode
6542  # options accordingly.
6543  echo 'int i;' > conftest.$ac_ext
6544  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6545  (eval $ac_compile) 2>&5
6546  ac_status=$?
6547  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6548  test $ac_status = 0; }; then
6549    case `/usr/bin/file conftest.$ac_objext` in
6550      *ELF-32*)
6551	HPUX_IA64_MODE=32
6552	;;
6553      *ELF-64*)
6554	HPUX_IA64_MODE=64
6555	;;
6556    esac
6557  fi
6558  rm -rf conftest*
6559  ;;
6560*-*-irix6*)
6561  # Find out what ABI is being produced by ac_compile, and set linker
6562  # options accordingly.
6563  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6564  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6565  (eval $ac_compile) 2>&5
6566  ac_status=$?
6567  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6568  test $ac_status = 0; }; then
6569    if test yes = "$lt_cv_prog_gnu_ld"; then
6570      case `/usr/bin/file conftest.$ac_objext` in
6571	*32-bit*)
6572	  LD="${LD-ld} -melf32bsmip"
6573	  ;;
6574	*N32*)
6575	  LD="${LD-ld} -melf32bmipn32"
6576	  ;;
6577	*64-bit*)
6578	  LD="${LD-ld} -melf64bmip"
6579	;;
6580      esac
6581    else
6582      case `/usr/bin/file conftest.$ac_objext` in
6583	*32-bit*)
6584	  LD="${LD-ld} -32"
6585	  ;;
6586	*N32*)
6587	  LD="${LD-ld} -n32"
6588	  ;;
6589	*64-bit*)
6590	  LD="${LD-ld} -64"
6591	  ;;
6592      esac
6593    fi
6594  fi
6595  rm -rf conftest*
6596  ;;
6597
6598mips64*-*linux*)
6599  # Find out what ABI is being produced by ac_compile, and set linker
6600  # options accordingly.
6601  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6602  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6603  (eval $ac_compile) 2>&5
6604  ac_status=$?
6605  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6606  test $ac_status = 0; }; then
6607    emul=elf
6608    case `/usr/bin/file conftest.$ac_objext` in
6609      *32-bit*)
6610	emul="${emul}32"
6611	;;
6612      *64-bit*)
6613	emul="${emul}64"
6614	;;
6615    esac
6616    case `/usr/bin/file conftest.$ac_objext` in
6617      *MSB*)
6618	emul="${emul}btsmip"
6619	;;
6620      *LSB*)
6621	emul="${emul}ltsmip"
6622	;;
6623    esac
6624    case `/usr/bin/file conftest.$ac_objext` in
6625      *N32*)
6626	emul="${emul}n32"
6627	;;
6628    esac
6629    LD="${LD-ld} -m $emul"
6630  fi
6631  rm -rf conftest*
6632  ;;
6633
6634x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6635s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6636  # Find out what ABI is being produced by ac_compile, and set linker
6637  # options accordingly.  Note that the listed cases only cover the
6638  # situations where additional linker options are needed (such as when
6639  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6640  # vice versa); the common cases where no linker options are needed do
6641  # not appear in the list.
6642  echo 'int i;' > conftest.$ac_ext
6643  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6644  (eval $ac_compile) 2>&5
6645  ac_status=$?
6646  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6647  test $ac_status = 0; }; then
6648    case `/usr/bin/file conftest.o` in
6649      *32-bit*)
6650	case $host in
6651	  x86_64-*kfreebsd*-gnu)
6652	    LD="${LD-ld} -m elf_i386_fbsd"
6653	    ;;
6654	  x86_64-*linux*)
6655	    case `/usr/bin/file conftest.o` in
6656	      *x86-64*)
6657		LD="${LD-ld} -m elf32_x86_64"
6658		;;
6659	      *)
6660		LD="${LD-ld} -m elf_i386"
6661		;;
6662	    esac
6663	    ;;
6664	  powerpc64le-*linux*)
6665	    LD="${LD-ld} -m elf32lppclinux"
6666	    ;;
6667	  powerpc64-*linux*)
6668	    LD="${LD-ld} -m elf32ppclinux"
6669	    ;;
6670	  s390x-*linux*)
6671	    LD="${LD-ld} -m elf_s390"
6672	    ;;
6673	  sparc64-*linux*)
6674	    LD="${LD-ld} -m elf32_sparc"
6675	    ;;
6676	esac
6677	;;
6678      *64-bit*)
6679	case $host in
6680	  x86_64-*kfreebsd*-gnu)
6681	    LD="${LD-ld} -m elf_x86_64_fbsd"
6682	    ;;
6683	  x86_64-*linux*)
6684	    LD="${LD-ld} -m elf_x86_64"
6685	    ;;
6686	  powerpcle-*linux*)
6687	    LD="${LD-ld} -m elf64lppc"
6688	    ;;
6689	  powerpc-*linux*)
6690	    LD="${LD-ld} -m elf64ppc"
6691	    ;;
6692	  s390*-*linux*|s390*-*tpf*)
6693	    LD="${LD-ld} -m elf64_s390"
6694	    ;;
6695	  sparc*-*linux*)
6696	    LD="${LD-ld} -m elf64_sparc"
6697	    ;;
6698	esac
6699	;;
6700    esac
6701  fi
6702  rm -rf conftest*
6703  ;;
6704
6705*-*-sco3.2v5*)
6706  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6707  SAVE_CFLAGS=$CFLAGS
6708  CFLAGS="$CFLAGS -belf"
6709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6710$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6711if ${lt_cv_cc_needs_belf+:} false; then :
6712  $as_echo_n "(cached) " >&6
6713else
6714  ac_ext=c
6715ac_cpp='$CPP $CPPFLAGS'
6716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6718ac_compiler_gnu=$ac_cv_c_compiler_gnu
6719
6720     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721/* end confdefs.h.  */
6722
6723int
6724main ()
6725{
6726
6727  ;
6728  return 0;
6729}
6730_ACEOF
6731if ac_fn_c_try_link "$LINENO"; then :
6732  lt_cv_cc_needs_belf=yes
6733else
6734  lt_cv_cc_needs_belf=no
6735fi
6736rm -f core conftest.err conftest.$ac_objext \
6737    conftest$ac_exeext conftest.$ac_ext
6738     ac_ext=c
6739ac_cpp='$CPP $CPPFLAGS'
6740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6742ac_compiler_gnu=$ac_cv_c_compiler_gnu
6743
6744fi
6745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6746$as_echo "$lt_cv_cc_needs_belf" >&6; }
6747  if test yes != "$lt_cv_cc_needs_belf"; then
6748    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6749    CFLAGS=$SAVE_CFLAGS
6750  fi
6751  ;;
6752*-*solaris*)
6753  # Find out what ABI is being produced by ac_compile, and set linker
6754  # options accordingly.
6755  echo 'int i;' > conftest.$ac_ext
6756  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6757  (eval $ac_compile) 2>&5
6758  ac_status=$?
6759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6760  test $ac_status = 0; }; then
6761    case `/usr/bin/file conftest.o` in
6762    *64-bit*)
6763      case $lt_cv_prog_gnu_ld in
6764      yes*)
6765        case $host in
6766        i?86-*-solaris*|x86_64-*-solaris*)
6767          LD="${LD-ld} -m elf_x86_64"
6768          ;;
6769        sparc*-*-solaris*)
6770          LD="${LD-ld} -m elf64_sparc"
6771          ;;
6772        esac
6773        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6774        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6775          LD=${LD-ld}_sol2
6776        fi
6777        ;;
6778      *)
6779	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6780	  LD="${LD-ld} -64"
6781	fi
6782	;;
6783      esac
6784      ;;
6785    esac
6786  fi
6787  rm -rf conftest*
6788  ;;
6789esac
6790
6791need_locks=$enable_libtool_lock
6792
6793if test -n "$ac_tool_prefix"; then
6794  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6795set dummy ${ac_tool_prefix}mt; ac_word=$2
6796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797$as_echo_n "checking for $ac_word... " >&6; }
6798if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6799  $as_echo_n "(cached) " >&6
6800else
6801  if test -n "$MANIFEST_TOOL"; then
6802  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6803else
6804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805for as_dir in $PATH
6806do
6807  IFS=$as_save_IFS
6808  test -z "$as_dir" && as_dir=.
6809    for ac_exec_ext in '' $ac_executable_extensions; do
6810  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6811    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6812    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813    break 2
6814  fi
6815done
6816  done
6817IFS=$as_save_IFS
6818
6819fi
6820fi
6821MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6822if test -n "$MANIFEST_TOOL"; then
6823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6824$as_echo "$MANIFEST_TOOL" >&6; }
6825else
6826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827$as_echo "no" >&6; }
6828fi
6829
6830
6831fi
6832if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6833  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6834  # Extract the first word of "mt", so it can be a program name with args.
6835set dummy mt; ac_word=$2
6836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837$as_echo_n "checking for $ac_word... " >&6; }
6838if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6839  $as_echo_n "(cached) " >&6
6840else
6841  if test -n "$ac_ct_MANIFEST_TOOL"; then
6842  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6843else
6844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845for as_dir in $PATH
6846do
6847  IFS=$as_save_IFS
6848  test -z "$as_dir" && as_dir=.
6849    for ac_exec_ext in '' $ac_executable_extensions; do
6850  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6851    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6852    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6853    break 2
6854  fi
6855done
6856  done
6857IFS=$as_save_IFS
6858
6859fi
6860fi
6861ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6862if test -n "$ac_ct_MANIFEST_TOOL"; then
6863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6864$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6865else
6866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867$as_echo "no" >&6; }
6868fi
6869
6870  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6871    MANIFEST_TOOL=":"
6872  else
6873    case $cross_compiling:$ac_tool_warned in
6874yes:)
6875{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877ac_tool_warned=yes ;;
6878esac
6879    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6880  fi
6881else
6882  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6883fi
6884
6885test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6887$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6888if ${lt_cv_path_mainfest_tool+:} false; then :
6889  $as_echo_n "(cached) " >&6
6890else
6891  lt_cv_path_mainfest_tool=no
6892  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6893  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6894  cat conftest.err >&5
6895  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6896    lt_cv_path_mainfest_tool=yes
6897  fi
6898  rm -f conftest*
6899fi
6900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6901$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6902if test yes != "$lt_cv_path_mainfest_tool"; then
6903  MANIFEST_TOOL=:
6904fi
6905
6906
6907
6908
6909
6910
6911  case $host_os in
6912    rhapsody* | darwin*)
6913    if test -n "$ac_tool_prefix"; then
6914  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6915set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6917$as_echo_n "checking for $ac_word... " >&6; }
6918if ${ac_cv_prog_DSYMUTIL+:} false; then :
6919  $as_echo_n "(cached) " >&6
6920else
6921  if test -n "$DSYMUTIL"; then
6922  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6923else
6924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925for as_dir in $PATH
6926do
6927  IFS=$as_save_IFS
6928  test -z "$as_dir" && as_dir=.
6929    for ac_exec_ext in '' $ac_executable_extensions; do
6930  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6931    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6932    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933    break 2
6934  fi
6935done
6936  done
6937IFS=$as_save_IFS
6938
6939fi
6940fi
6941DSYMUTIL=$ac_cv_prog_DSYMUTIL
6942if test -n "$DSYMUTIL"; then
6943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6944$as_echo "$DSYMUTIL" >&6; }
6945else
6946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6947$as_echo "no" >&6; }
6948fi
6949
6950
6951fi
6952if test -z "$ac_cv_prog_DSYMUTIL"; then
6953  ac_ct_DSYMUTIL=$DSYMUTIL
6954  # Extract the first word of "dsymutil", so it can be a program name with args.
6955set dummy dsymutil; ac_word=$2
6956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6957$as_echo_n "checking for $ac_word... " >&6; }
6958if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6959  $as_echo_n "(cached) " >&6
6960else
6961  if test -n "$ac_ct_DSYMUTIL"; then
6962  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6963else
6964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965for as_dir in $PATH
6966do
6967  IFS=$as_save_IFS
6968  test -z "$as_dir" && as_dir=.
6969    for ac_exec_ext in '' $ac_executable_extensions; do
6970  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6971    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6972    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973    break 2
6974  fi
6975done
6976  done
6977IFS=$as_save_IFS
6978
6979fi
6980fi
6981ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6982if test -n "$ac_ct_DSYMUTIL"; then
6983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6984$as_echo "$ac_ct_DSYMUTIL" >&6; }
6985else
6986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987$as_echo "no" >&6; }
6988fi
6989
6990  if test "x$ac_ct_DSYMUTIL" = x; then
6991    DSYMUTIL=":"
6992  else
6993    case $cross_compiling:$ac_tool_warned in
6994yes:)
6995{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6996$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6997ac_tool_warned=yes ;;
6998esac
6999    DSYMUTIL=$ac_ct_DSYMUTIL
7000  fi
7001else
7002  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7003fi
7004
7005    if test -n "$ac_tool_prefix"; then
7006  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7007set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7009$as_echo_n "checking for $ac_word... " >&6; }
7010if ${ac_cv_prog_NMEDIT+:} false; then :
7011  $as_echo_n "(cached) " >&6
7012else
7013  if test -n "$NMEDIT"; then
7014  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7015else
7016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017for as_dir in $PATH
7018do
7019  IFS=$as_save_IFS
7020  test -z "$as_dir" && as_dir=.
7021    for ac_exec_ext in '' $ac_executable_extensions; do
7022  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7023    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7024    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025    break 2
7026  fi
7027done
7028  done
7029IFS=$as_save_IFS
7030
7031fi
7032fi
7033NMEDIT=$ac_cv_prog_NMEDIT
7034if test -n "$NMEDIT"; then
7035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7036$as_echo "$NMEDIT" >&6; }
7037else
7038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7039$as_echo "no" >&6; }
7040fi
7041
7042
7043fi
7044if test -z "$ac_cv_prog_NMEDIT"; then
7045  ac_ct_NMEDIT=$NMEDIT
7046  # Extract the first word of "nmedit", so it can be a program name with args.
7047set dummy nmedit; ac_word=$2
7048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7049$as_echo_n "checking for $ac_word... " >&6; }
7050if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7051  $as_echo_n "(cached) " >&6
7052else
7053  if test -n "$ac_ct_NMEDIT"; then
7054  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7055else
7056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057for as_dir in $PATH
7058do
7059  IFS=$as_save_IFS
7060  test -z "$as_dir" && as_dir=.
7061    for ac_exec_ext in '' $ac_executable_extensions; do
7062  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7063    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7064    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7065    break 2
7066  fi
7067done
7068  done
7069IFS=$as_save_IFS
7070
7071fi
7072fi
7073ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7074if test -n "$ac_ct_NMEDIT"; then
7075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7076$as_echo "$ac_ct_NMEDIT" >&6; }
7077else
7078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079$as_echo "no" >&6; }
7080fi
7081
7082  if test "x$ac_ct_NMEDIT" = x; then
7083    NMEDIT=":"
7084  else
7085    case $cross_compiling:$ac_tool_warned in
7086yes:)
7087{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7088$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7089ac_tool_warned=yes ;;
7090esac
7091    NMEDIT=$ac_ct_NMEDIT
7092  fi
7093else
7094  NMEDIT="$ac_cv_prog_NMEDIT"
7095fi
7096
7097    if test -n "$ac_tool_prefix"; then
7098  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7099set dummy ${ac_tool_prefix}lipo; ac_word=$2
7100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7101$as_echo_n "checking for $ac_word... " >&6; }
7102if ${ac_cv_prog_LIPO+:} false; then :
7103  $as_echo_n "(cached) " >&6
7104else
7105  if test -n "$LIPO"; then
7106  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7107else
7108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109for as_dir in $PATH
7110do
7111  IFS=$as_save_IFS
7112  test -z "$as_dir" && as_dir=.
7113    for ac_exec_ext in '' $ac_executable_extensions; do
7114  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7115    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7116    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117    break 2
7118  fi
7119done
7120  done
7121IFS=$as_save_IFS
7122
7123fi
7124fi
7125LIPO=$ac_cv_prog_LIPO
7126if test -n "$LIPO"; then
7127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7128$as_echo "$LIPO" >&6; }
7129else
7130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131$as_echo "no" >&6; }
7132fi
7133
7134
7135fi
7136if test -z "$ac_cv_prog_LIPO"; then
7137  ac_ct_LIPO=$LIPO
7138  # Extract the first word of "lipo", so it can be a program name with args.
7139set dummy lipo; ac_word=$2
7140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141$as_echo_n "checking for $ac_word... " >&6; }
7142if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7143  $as_echo_n "(cached) " >&6
7144else
7145  if test -n "$ac_ct_LIPO"; then
7146  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7147else
7148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149for as_dir in $PATH
7150do
7151  IFS=$as_save_IFS
7152  test -z "$as_dir" && as_dir=.
7153    for ac_exec_ext in '' $ac_executable_extensions; do
7154  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7155    ac_cv_prog_ac_ct_LIPO="lipo"
7156    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7157    break 2
7158  fi
7159done
7160  done
7161IFS=$as_save_IFS
7162
7163fi
7164fi
7165ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7166if test -n "$ac_ct_LIPO"; then
7167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7168$as_echo "$ac_ct_LIPO" >&6; }
7169else
7170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171$as_echo "no" >&6; }
7172fi
7173
7174  if test "x$ac_ct_LIPO" = x; then
7175    LIPO=":"
7176  else
7177    case $cross_compiling:$ac_tool_warned in
7178yes:)
7179{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7180$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7181ac_tool_warned=yes ;;
7182esac
7183    LIPO=$ac_ct_LIPO
7184  fi
7185else
7186  LIPO="$ac_cv_prog_LIPO"
7187fi
7188
7189    if test -n "$ac_tool_prefix"; then
7190  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7191set dummy ${ac_tool_prefix}otool; ac_word=$2
7192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193$as_echo_n "checking for $ac_word... " >&6; }
7194if ${ac_cv_prog_OTOOL+:} false; then :
7195  $as_echo_n "(cached) " >&6
7196else
7197  if test -n "$OTOOL"; then
7198  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7199else
7200as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201for as_dir in $PATH
7202do
7203  IFS=$as_save_IFS
7204  test -z "$as_dir" && as_dir=.
7205    for ac_exec_ext in '' $ac_executable_extensions; do
7206  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7208    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209    break 2
7210  fi
7211done
7212  done
7213IFS=$as_save_IFS
7214
7215fi
7216fi
7217OTOOL=$ac_cv_prog_OTOOL
7218if test -n "$OTOOL"; then
7219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7220$as_echo "$OTOOL" >&6; }
7221else
7222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223$as_echo "no" >&6; }
7224fi
7225
7226
7227fi
7228if test -z "$ac_cv_prog_OTOOL"; then
7229  ac_ct_OTOOL=$OTOOL
7230  # Extract the first word of "otool", so it can be a program name with args.
7231set dummy otool; ac_word=$2
7232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233$as_echo_n "checking for $ac_word... " >&6; }
7234if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7235  $as_echo_n "(cached) " >&6
7236else
7237  if test -n "$ac_ct_OTOOL"; then
7238  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7239else
7240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241for as_dir in $PATH
7242do
7243  IFS=$as_save_IFS
7244  test -z "$as_dir" && as_dir=.
7245    for ac_exec_ext in '' $ac_executable_extensions; do
7246  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7247    ac_cv_prog_ac_ct_OTOOL="otool"
7248    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249    break 2
7250  fi
7251done
7252  done
7253IFS=$as_save_IFS
7254
7255fi
7256fi
7257ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7258if test -n "$ac_ct_OTOOL"; then
7259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7260$as_echo "$ac_ct_OTOOL" >&6; }
7261else
7262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263$as_echo "no" >&6; }
7264fi
7265
7266  if test "x$ac_ct_OTOOL" = x; then
7267    OTOOL=":"
7268  else
7269    case $cross_compiling:$ac_tool_warned in
7270yes:)
7271{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7272$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7273ac_tool_warned=yes ;;
7274esac
7275    OTOOL=$ac_ct_OTOOL
7276  fi
7277else
7278  OTOOL="$ac_cv_prog_OTOOL"
7279fi
7280
7281    if test -n "$ac_tool_prefix"; then
7282  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7283set dummy ${ac_tool_prefix}otool64; ac_word=$2
7284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285$as_echo_n "checking for $ac_word... " >&6; }
7286if ${ac_cv_prog_OTOOL64+:} false; then :
7287  $as_echo_n "(cached) " >&6
7288else
7289  if test -n "$OTOOL64"; then
7290  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7291else
7292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293for as_dir in $PATH
7294do
7295  IFS=$as_save_IFS
7296  test -z "$as_dir" && as_dir=.
7297    for ac_exec_ext in '' $ac_executable_extensions; do
7298  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7300    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301    break 2
7302  fi
7303done
7304  done
7305IFS=$as_save_IFS
7306
7307fi
7308fi
7309OTOOL64=$ac_cv_prog_OTOOL64
7310if test -n "$OTOOL64"; then
7311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7312$as_echo "$OTOOL64" >&6; }
7313else
7314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315$as_echo "no" >&6; }
7316fi
7317
7318
7319fi
7320if test -z "$ac_cv_prog_OTOOL64"; then
7321  ac_ct_OTOOL64=$OTOOL64
7322  # Extract the first word of "otool64", so it can be a program name with args.
7323set dummy otool64; ac_word=$2
7324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325$as_echo_n "checking for $ac_word... " >&6; }
7326if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7327  $as_echo_n "(cached) " >&6
7328else
7329  if test -n "$ac_ct_OTOOL64"; then
7330  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7331else
7332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333for as_dir in $PATH
7334do
7335  IFS=$as_save_IFS
7336  test -z "$as_dir" && as_dir=.
7337    for ac_exec_ext in '' $ac_executable_extensions; do
7338  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339    ac_cv_prog_ac_ct_OTOOL64="otool64"
7340    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341    break 2
7342  fi
7343done
7344  done
7345IFS=$as_save_IFS
7346
7347fi
7348fi
7349ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7350if test -n "$ac_ct_OTOOL64"; then
7351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7352$as_echo "$ac_ct_OTOOL64" >&6; }
7353else
7354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355$as_echo "no" >&6; }
7356fi
7357
7358  if test "x$ac_ct_OTOOL64" = x; then
7359    OTOOL64=":"
7360  else
7361    case $cross_compiling:$ac_tool_warned in
7362yes:)
7363{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7364$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7365ac_tool_warned=yes ;;
7366esac
7367    OTOOL64=$ac_ct_OTOOL64
7368  fi
7369else
7370  OTOOL64="$ac_cv_prog_OTOOL64"
7371fi
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7400$as_echo_n "checking for -single_module linker flag... " >&6; }
7401if ${lt_cv_apple_cc_single_mod+:} false; then :
7402  $as_echo_n "(cached) " >&6
7403else
7404  lt_cv_apple_cc_single_mod=no
7405      if test -z "$LT_MULTI_MODULE"; then
7406	# By default we will add the -single_module flag. You can override
7407	# by either setting the environment variable LT_MULTI_MODULE
7408	# non-empty at configure time, or by adding -multi_module to the
7409	# link flags.
7410	rm -rf libconftest.dylib*
7411	echo "int foo(void){return 1;}" > conftest.c
7412	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7413-dynamiclib -Wl,-single_module conftest.c" >&5
7414	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7415	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7416        _lt_result=$?
7417	# If there is a non-empty error log, and "single_module"
7418	# appears in it, assume the flag caused a linker warning
7419        if test -s conftest.err && $GREP single_module conftest.err; then
7420	  cat conftest.err >&5
7421	# Otherwise, if the output was created with a 0 exit code from
7422	# the compiler, it worked.
7423	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7424	  lt_cv_apple_cc_single_mod=yes
7425	else
7426	  cat conftest.err >&5
7427	fi
7428	rm -rf libconftest.dylib*
7429	rm -f conftest.*
7430      fi
7431fi
7432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7433$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7434
7435    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7436$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7437if ${lt_cv_ld_exported_symbols_list+:} false; then :
7438  $as_echo_n "(cached) " >&6
7439else
7440  lt_cv_ld_exported_symbols_list=no
7441      save_LDFLAGS=$LDFLAGS
7442      echo "_main" > conftest.sym
7443      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7444      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445/* end confdefs.h.  */
7446
7447int
7448main ()
7449{
7450
7451  ;
7452  return 0;
7453}
7454_ACEOF
7455if ac_fn_c_try_link "$LINENO"; then :
7456  lt_cv_ld_exported_symbols_list=yes
7457else
7458  lt_cv_ld_exported_symbols_list=no
7459fi
7460rm -f core conftest.err conftest.$ac_objext \
7461    conftest$ac_exeext conftest.$ac_ext
7462	LDFLAGS=$save_LDFLAGS
7463
7464fi
7465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7466$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7467
7468    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7469$as_echo_n "checking for -force_load linker flag... " >&6; }
7470if ${lt_cv_ld_force_load+:} false; then :
7471  $as_echo_n "(cached) " >&6
7472else
7473  lt_cv_ld_force_load=no
7474      cat > conftest.c << _LT_EOF
7475int forced_loaded() { return 2;}
7476_LT_EOF
7477      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7478      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7479      echo "$AR cru libconftest.a conftest.o" >&5
7480      $AR cru libconftest.a conftest.o 2>&5
7481      echo "$RANLIB libconftest.a" >&5
7482      $RANLIB libconftest.a 2>&5
7483      cat > conftest.c << _LT_EOF
7484int main() { return 0;}
7485_LT_EOF
7486      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7487      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7488      _lt_result=$?
7489      if test -s conftest.err && $GREP force_load conftest.err; then
7490	cat conftest.err >&5
7491      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7492	lt_cv_ld_force_load=yes
7493      else
7494	cat conftest.err >&5
7495      fi
7496        rm -f conftest.err libconftest.a conftest conftest.c
7497        rm -rf conftest.dSYM
7498
7499fi
7500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7501$as_echo "$lt_cv_ld_force_load" >&6; }
7502    case $host_os in
7503    rhapsody* | darwin1.[012])
7504      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7505    darwin1.*)
7506      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7507    darwin*) # darwin 5.x on
7508      # if running on 10.5 or later, the deployment target defaults
7509      # to the OS version, if on x86, and 10.4, the deployment
7510      # target defaults to 10.4. Don't you love it?
7511      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7512	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7513	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7514	10.[012][,.]*)
7515	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7516	10.*)
7517	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7518      esac
7519    ;;
7520  esac
7521    if test yes = "$lt_cv_apple_cc_single_mod"; then
7522      _lt_dar_single_mod='$single_module'
7523    fi
7524    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7525      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7526    else
7527      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7528    fi
7529    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7530      _lt_dsymutil='~$DSYMUTIL $lib || :'
7531    else
7532      _lt_dsymutil=
7533    fi
7534    ;;
7535  esac
7536
7537# func_munge_path_list VARIABLE PATH
7538# -----------------------------------
7539# VARIABLE is name of variable containing _space_ separated list of
7540# directories to be munged by the contents of PATH, which is string
7541# having a format:
7542# "DIR[:DIR]:"
7543#       string "DIR[ DIR]" will be prepended to VARIABLE
7544# ":DIR[:DIR]"
7545#       string "DIR[ DIR]" will be appended to VARIABLE
7546# "DIRP[:DIRP]::[DIRA:]DIRA"
7547#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7548#       "DIRA[ DIRA]" will be appended to VARIABLE
7549# "DIR[:DIR]"
7550#       VARIABLE will be replaced by "DIR[ DIR]"
7551func_munge_path_list ()
7552{
7553    case x$2 in
7554    x)
7555        ;;
7556    *:)
7557        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7558        ;;
7559    x:*)
7560        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7561        ;;
7562    *::*)
7563        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7564        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7565        ;;
7566    *)
7567        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7568        ;;
7569    esac
7570}
7571
7572ac_ext=c
7573ac_cpp='$CPP $CPPFLAGS'
7574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7576ac_compiler_gnu=$ac_cv_c_compiler_gnu
7577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7578$as_echo_n "checking how to run the C preprocessor... " >&6; }
7579# On Suns, sometimes $CPP names a directory.
7580if test -n "$CPP" && test -d "$CPP"; then
7581  CPP=
7582fi
7583if test -z "$CPP"; then
7584  if ${ac_cv_prog_CPP+:} false; then :
7585  $as_echo_n "(cached) " >&6
7586else
7587      # Double quotes because CPP needs to be expanded
7588    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7589    do
7590      ac_preproc_ok=false
7591for ac_c_preproc_warn_flag in '' yes
7592do
7593  # Use a header file that comes with gcc, so configuring glibc
7594  # with a fresh cross-compiler works.
7595  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7596  # <limits.h> exists even on freestanding compilers.
7597  # On the NeXT, cc -E runs the code through the compiler's parser,
7598  # not just through cpp. "Syntax error" is here to catch this case.
7599  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600/* end confdefs.h.  */
7601#ifdef __STDC__
7602# include <limits.h>
7603#else
7604# include <assert.h>
7605#endif
7606		     Syntax error
7607_ACEOF
7608if ac_fn_c_try_cpp "$LINENO"; then :
7609
7610else
7611  # Broken: fails on valid input.
7612continue
7613fi
7614rm -f conftest.err conftest.i conftest.$ac_ext
7615
7616  # OK, works on sane cases.  Now check whether nonexistent headers
7617  # can be detected and how.
7618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619/* end confdefs.h.  */
7620#include <ac_nonexistent.h>
7621_ACEOF
7622if ac_fn_c_try_cpp "$LINENO"; then :
7623  # Broken: success on invalid input.
7624continue
7625else
7626  # Passes both tests.
7627ac_preproc_ok=:
7628break
7629fi
7630rm -f conftest.err conftest.i conftest.$ac_ext
7631
7632done
7633# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7634rm -f conftest.i conftest.err conftest.$ac_ext
7635if $ac_preproc_ok; then :
7636  break
7637fi
7638
7639    done
7640    ac_cv_prog_CPP=$CPP
7641
7642fi
7643  CPP=$ac_cv_prog_CPP
7644else
7645  ac_cv_prog_CPP=$CPP
7646fi
7647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7648$as_echo "$CPP" >&6; }
7649ac_preproc_ok=false
7650for ac_c_preproc_warn_flag in '' yes
7651do
7652  # Use a header file that comes with gcc, so configuring glibc
7653  # with a fresh cross-compiler works.
7654  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7655  # <limits.h> exists even on freestanding compilers.
7656  # On the NeXT, cc -E runs the code through the compiler's parser,
7657  # not just through cpp. "Syntax error" is here to catch this case.
7658  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7659/* end confdefs.h.  */
7660#ifdef __STDC__
7661# include <limits.h>
7662#else
7663# include <assert.h>
7664#endif
7665		     Syntax error
7666_ACEOF
7667if ac_fn_c_try_cpp "$LINENO"; then :
7668
7669else
7670  # Broken: fails on valid input.
7671continue
7672fi
7673rm -f conftest.err conftest.i conftest.$ac_ext
7674
7675  # OK, works on sane cases.  Now check whether nonexistent headers
7676  # can be detected and how.
7677  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678/* end confdefs.h.  */
7679#include <ac_nonexistent.h>
7680_ACEOF
7681if ac_fn_c_try_cpp "$LINENO"; then :
7682  # Broken: success on invalid input.
7683continue
7684else
7685  # Passes both tests.
7686ac_preproc_ok=:
7687break
7688fi
7689rm -f conftest.err conftest.i conftest.$ac_ext
7690
7691done
7692# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7693rm -f conftest.i conftest.err conftest.$ac_ext
7694if $ac_preproc_ok; then :
7695
7696else
7697  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7698$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7699as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7700See \`config.log' for more details" "$LINENO" 5; }
7701fi
7702
7703ac_ext=c
7704ac_cpp='$CPP $CPPFLAGS'
7705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7707ac_compiler_gnu=$ac_cv_c_compiler_gnu
7708
7709
7710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7711$as_echo_n "checking for ANSI C header files... " >&6; }
7712if ${ac_cv_header_stdc+:} false; then :
7713  $as_echo_n "(cached) " >&6
7714else
7715  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716/* end confdefs.h.  */
7717#include <stdlib.h>
7718#include <stdarg.h>
7719#include <string.h>
7720#include <float.h>
7721
7722int
7723main ()
7724{
7725
7726  ;
7727  return 0;
7728}
7729_ACEOF
7730if ac_fn_c_try_compile "$LINENO"; then :
7731  ac_cv_header_stdc=yes
7732else
7733  ac_cv_header_stdc=no
7734fi
7735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7736
7737if test $ac_cv_header_stdc = yes; then
7738  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7739  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7740/* end confdefs.h.  */
7741#include <string.h>
7742
7743_ACEOF
7744if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7745  $EGREP "memchr" >/dev/null 2>&1; then :
7746
7747else
7748  ac_cv_header_stdc=no
7749fi
7750rm -f conftest*
7751
7752fi
7753
7754if test $ac_cv_header_stdc = yes; then
7755  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7756  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757/* end confdefs.h.  */
7758#include <stdlib.h>
7759
7760_ACEOF
7761if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7762  $EGREP "free" >/dev/null 2>&1; then :
7763
7764else
7765  ac_cv_header_stdc=no
7766fi
7767rm -f conftest*
7768
7769fi
7770
7771if test $ac_cv_header_stdc = yes; then
7772  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7773  if test "$cross_compiling" = yes; then :
7774  :
7775else
7776  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7777/* end confdefs.h.  */
7778#include <ctype.h>
7779#include <stdlib.h>
7780#if ((' ' & 0x0FF) == 0x020)
7781# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7782# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7783#else
7784# define ISLOWER(c) \
7785		   (('a' <= (c) && (c) <= 'i') \
7786		     || ('j' <= (c) && (c) <= 'r') \
7787		     || ('s' <= (c) && (c) <= 'z'))
7788# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7789#endif
7790
7791#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7792int
7793main ()
7794{
7795  int i;
7796  for (i = 0; i < 256; i++)
7797    if (XOR (islower (i), ISLOWER (i))
7798	|| toupper (i) != TOUPPER (i))
7799      return 2;
7800  return 0;
7801}
7802_ACEOF
7803if ac_fn_c_try_run "$LINENO"; then :
7804
7805else
7806  ac_cv_header_stdc=no
7807fi
7808rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7809  conftest.$ac_objext conftest.beam conftest.$ac_ext
7810fi
7811
7812fi
7813fi
7814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7815$as_echo "$ac_cv_header_stdc" >&6; }
7816if test $ac_cv_header_stdc = yes; then
7817
7818$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7819
7820fi
7821
7822# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7823for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7824		  inttypes.h stdint.h unistd.h
7825do :
7826  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7827ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7828"
7829if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7830  cat >>confdefs.h <<_ACEOF
7831#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7832_ACEOF
7833
7834fi
7835
7836done
7837
7838
7839for ac_header in dlfcn.h
7840do :
7841  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7842"
7843if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7844  cat >>confdefs.h <<_ACEOF
7845#define HAVE_DLFCN_H 1
7846_ACEOF
7847
7848fi
7849
7850done
7851
7852
7853if test "`cd $srcdir && pwd`" != "`pwd`"; then
7854  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
7855  # is not polluted with repeated "-I."
7856  am__isrc=' -I$(srcdir)'
7857  # test to see if srcdir already configured
7858  if test -f $srcdir/config.status; then
7859    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
7860  fi
7861fi
7862
7863# test whether we have cygpath
7864if test -z "$CYGPATH_W"; then
7865  if (cygpath --version) >/dev/null 2>/dev/null; then
7866    CYGPATH_W='cygpath -w'
7867  else
7868    CYGPATH_W=echo
7869  fi
7870fi
7871
7872
7873# Define the identity of the package.
7874 PACKAGE='chktex--tex-live-'
7875 VERSION='1.7.4'
7876
7877
7878cat >>confdefs.h <<_ACEOF
7879#define PACKAGE "$PACKAGE"
7880_ACEOF
7881
7882
7883cat >>confdefs.h <<_ACEOF
7884#define VERSION "$VERSION"
7885_ACEOF
7886
7887# Some tools Automake needs.
7888
7889ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
7890
7891
7892AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
7893
7894
7895AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
7896
7897
7898AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
7899
7900
7901MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
7902
7903# For better backward compatibility.  To be removed once Automake 1.9.x
7904# dies out for good.  For more background, see:
7905# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
7906# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
7907mkdir_p='$(MKDIR_P)'
7908
7909# We need awk for the "check" target (and possibly the TAP driver).  The
7910# system "awk" is bad on some platforms.
7911# Always define AMTAR for backward compatibility.  Yes, it's still used
7912# in the wild :-(  We should find a proper way to deprecate it ...
7913AMTAR='$${TAR-tar}'
7914
7915
7916# We'll loop over all known methods to create a tar archive until one works.
7917_am_tools='gnutar  pax cpio none'
7918
7919am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
7920
7921
7922
7923
7924
7925
7926# POSIX will say in a future version that running "rm -f" with no argument
7927# is OK; and we want to be able to make that assumption in our Makefile
7928# recipes.  So use an aggressive probe to check that the usage we want is
7929# actually supported "in the wild" to an acceptable degree.
7930# See automake bug#10828.
7931# To make any issue more visible, cause the running configure to be aborted
7932# by default if the 'rm' program in use doesn't match our expectations; the
7933# user can still override this though.
7934if rm -f && rm -fr && rm -rf; then : OK; else
7935  cat >&2 <<'END'
7936Oops!
7937
7938Your 'rm' program seems unable to run without file operands specified
7939on the command line, even when the '-f' option is present.  This is contrary
7940to the behaviour of most rm programs out there, and not conforming with
7941the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
7942
7943Please tell bug-automake@gnu.org about your system, including the value
7944of your $PATH and any error possibly output before this message.  This
7945can help us improve future automake versions.
7946
7947END
7948  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
7949    echo 'Configuration will proceed anyway, since you have set the' >&2
7950    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
7951    echo >&2
7952  else
7953    cat >&2 <<'END'
7954Aborting the configuration process, to ensure you take notice of the issue.
7955
7956You can download and install GNU coreutils to get an 'rm' implementation
7957that behaves properly: <http://www.gnu.org/software/coreutils/>.
7958
7959If you want to complete the configuration process using your problematic
7960'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
7961to "yes", and re-run configure.
7962
7963END
7964    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
7965  fi
7966fi
7967
7968
7969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7970$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7971    # Check whether --enable-maintainer-mode was given.
7972if test "${enable_maintainer_mode+set}" = set; then :
7973  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
7974else
7975  USE_MAINTAINER_MODE=no
7976fi
7977
7978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7979$as_echo "$USE_MAINTAINER_MODE" >&6; }
7980   if test $USE_MAINTAINER_MODE = yes; then
7981  MAINTAINER_MODE_TRUE=
7982  MAINTAINER_MODE_FALSE='#'
7983else
7984  MAINTAINER_MODE_TRUE='#'
7985  MAINTAINER_MODE_FALSE=
7986fi
7987
7988  MAINT=$MAINTAINER_MODE_TRUE
7989
7990
7991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
7992$as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
7993if ${kb_cv_c_prototypes+:} false; then :
7994  $as_echo_n "(cached) " >&6
7995else
7996  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997/* end confdefs.h.  */
7998#include <stdarg.h>
7999int
8000main ()
8001{
8002extern void foo(int i,...);
8003  ;
8004  return 0;
8005}
8006_ACEOF
8007if ac_fn_c_try_link "$LINENO"; then :
8008  kb_cv_c_prototypes=yes
8009else
8010  kb_cv_c_prototypes=no
8011fi
8012rm -f core conftest.err conftest.$ac_objext \
8013    conftest$ac_exeext conftest.$ac_ext
8014fi
8015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
8016$as_echo "$kb_cv_c_prototypes" >&6; }
8017if test "x$kb_cv_c_prototypes" = xno; then
8018  as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
8019fi
8020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
8021$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
8022if ${kpse_cv_warning_cflags+:} false; then :
8023  $as_echo_n "(cached) " >&6
8024else
8025  if test "x$GCC" = xyes; then
8026  kpse_cv_warning_cflags=
8027if test "x$enable_compiler_warnings" != xno; then
8028  kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
8029  case `$CC -dumpversion` in #(
8030  3.4.* | 4.*) :
8031    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
8032  *) :
8033     ;;
8034esac
8035  case `$CC -dumpversion` in #(
8036  3.[234].* | 4.*) :
8037    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
8038  *) :
8039     ;;
8040esac
8041  if test "x$enable_compiler_warnings" != xmin; then
8042    kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
8043    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
8044    if test "x$enable_compiler_warnings" != xyes; then
8045      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
8046      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
8047      case `$CC -dumpversion` in #(
8048  3.4.* | 4.*) :
8049    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
8050  *) :
8051     ;;
8052esac
8053      if test "x$enable_compiler_warnings" != xmax; then
8054        kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
8055      fi
8056    fi
8057  fi
8058fi
8059elif test "x$enable_compiler_warnings" = xno; then
8060  kpse_cv_warning_cflags=
8061else
8062  kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
8063fi
8064fi
8065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
8066$as_echo "$kpse_cv_warning_cflags" >&6; }
8067WARNING_CFLAGS=$kpse_cv_warning_cflags
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080# Set options
8081enable_win32_dll=yes
8082
8083case $host in
8084*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8085  if test -n "$ac_tool_prefix"; then
8086  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8087set dummy ${ac_tool_prefix}as; ac_word=$2
8088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8089$as_echo_n "checking for $ac_word... " >&6; }
8090if ${ac_cv_prog_AS+:} false; then :
8091  $as_echo_n "(cached) " >&6
8092else
8093  if test -n "$AS"; then
8094  ac_cv_prog_AS="$AS" # Let the user override the test.
8095else
8096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8097for as_dir in $PATH
8098do
8099  IFS=$as_save_IFS
8100  test -z "$as_dir" && as_dir=.
8101    for ac_exec_ext in '' $ac_executable_extensions; do
8102  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8103    ac_cv_prog_AS="${ac_tool_prefix}as"
8104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8105    break 2
8106  fi
8107done
8108  done
8109IFS=$as_save_IFS
8110
8111fi
8112fi
8113AS=$ac_cv_prog_AS
8114if test -n "$AS"; then
8115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8116$as_echo "$AS" >&6; }
8117else
8118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8119$as_echo "no" >&6; }
8120fi
8121
8122
8123fi
8124if test -z "$ac_cv_prog_AS"; then
8125  ac_ct_AS=$AS
8126  # Extract the first word of "as", so it can be a program name with args.
8127set dummy as; ac_word=$2
8128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8129$as_echo_n "checking for $ac_word... " >&6; }
8130if ${ac_cv_prog_ac_ct_AS+:} false; then :
8131  $as_echo_n "(cached) " >&6
8132else
8133  if test -n "$ac_ct_AS"; then
8134  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8135else
8136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8137for as_dir in $PATH
8138do
8139  IFS=$as_save_IFS
8140  test -z "$as_dir" && as_dir=.
8141    for ac_exec_ext in '' $ac_executable_extensions; do
8142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8143    ac_cv_prog_ac_ct_AS="as"
8144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8145    break 2
8146  fi
8147done
8148  done
8149IFS=$as_save_IFS
8150
8151fi
8152fi
8153ac_ct_AS=$ac_cv_prog_ac_ct_AS
8154if test -n "$ac_ct_AS"; then
8155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8156$as_echo "$ac_ct_AS" >&6; }
8157else
8158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8159$as_echo "no" >&6; }
8160fi
8161
8162  if test "x$ac_ct_AS" = x; then
8163    AS="false"
8164  else
8165    case $cross_compiling:$ac_tool_warned in
8166yes:)
8167{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8168$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8169ac_tool_warned=yes ;;
8170esac
8171    AS=$ac_ct_AS
8172  fi
8173else
8174  AS="$ac_cv_prog_AS"
8175fi
8176
8177  if test -n "$ac_tool_prefix"; then
8178  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8179set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8181$as_echo_n "checking for $ac_word... " >&6; }
8182if ${ac_cv_prog_DLLTOOL+:} false; then :
8183  $as_echo_n "(cached) " >&6
8184else
8185  if test -n "$DLLTOOL"; then
8186  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8187else
8188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8189for as_dir in $PATH
8190do
8191  IFS=$as_save_IFS
8192  test -z "$as_dir" && as_dir=.
8193    for ac_exec_ext in '' $ac_executable_extensions; do
8194  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8195    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8196    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8197    break 2
8198  fi
8199done
8200  done
8201IFS=$as_save_IFS
8202
8203fi
8204fi
8205DLLTOOL=$ac_cv_prog_DLLTOOL
8206if test -n "$DLLTOOL"; then
8207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8208$as_echo "$DLLTOOL" >&6; }
8209else
8210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8211$as_echo "no" >&6; }
8212fi
8213
8214
8215fi
8216if test -z "$ac_cv_prog_DLLTOOL"; then
8217  ac_ct_DLLTOOL=$DLLTOOL
8218  # Extract the first word of "dlltool", so it can be a program name with args.
8219set dummy dlltool; ac_word=$2
8220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8221$as_echo_n "checking for $ac_word... " >&6; }
8222if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8223  $as_echo_n "(cached) " >&6
8224else
8225  if test -n "$ac_ct_DLLTOOL"; then
8226  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8227else
8228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8229for as_dir in $PATH
8230do
8231  IFS=$as_save_IFS
8232  test -z "$as_dir" && as_dir=.
8233    for ac_exec_ext in '' $ac_executable_extensions; do
8234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8235    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8236    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8237    break 2
8238  fi
8239done
8240  done
8241IFS=$as_save_IFS
8242
8243fi
8244fi
8245ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8246if test -n "$ac_ct_DLLTOOL"; then
8247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8248$as_echo "$ac_ct_DLLTOOL" >&6; }
8249else
8250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8251$as_echo "no" >&6; }
8252fi
8253
8254  if test "x$ac_ct_DLLTOOL" = x; then
8255    DLLTOOL="false"
8256  else
8257    case $cross_compiling:$ac_tool_warned in
8258yes:)
8259{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8260$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8261ac_tool_warned=yes ;;
8262esac
8263    DLLTOOL=$ac_ct_DLLTOOL
8264  fi
8265else
8266  DLLTOOL="$ac_cv_prog_DLLTOOL"
8267fi
8268
8269  if test -n "$ac_tool_prefix"; then
8270  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8271set dummy ${ac_tool_prefix}objdump; ac_word=$2
8272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8273$as_echo_n "checking for $ac_word... " >&6; }
8274if ${ac_cv_prog_OBJDUMP+:} false; then :
8275  $as_echo_n "(cached) " >&6
8276else
8277  if test -n "$OBJDUMP"; then
8278  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8279else
8280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281for as_dir in $PATH
8282do
8283  IFS=$as_save_IFS
8284  test -z "$as_dir" && as_dir=.
8285    for ac_exec_ext in '' $ac_executable_extensions; do
8286  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8287    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8288    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8289    break 2
8290  fi
8291done
8292  done
8293IFS=$as_save_IFS
8294
8295fi
8296fi
8297OBJDUMP=$ac_cv_prog_OBJDUMP
8298if test -n "$OBJDUMP"; then
8299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8300$as_echo "$OBJDUMP" >&6; }
8301else
8302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303$as_echo "no" >&6; }
8304fi
8305
8306
8307fi
8308if test -z "$ac_cv_prog_OBJDUMP"; then
8309  ac_ct_OBJDUMP=$OBJDUMP
8310  # Extract the first word of "objdump", so it can be a program name with args.
8311set dummy objdump; ac_word=$2
8312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8313$as_echo_n "checking for $ac_word... " >&6; }
8314if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8315  $as_echo_n "(cached) " >&6
8316else
8317  if test -n "$ac_ct_OBJDUMP"; then
8318  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8319else
8320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321for as_dir in $PATH
8322do
8323  IFS=$as_save_IFS
8324  test -z "$as_dir" && as_dir=.
8325    for ac_exec_ext in '' $ac_executable_extensions; do
8326  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8327    ac_cv_prog_ac_ct_OBJDUMP="objdump"
8328    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329    break 2
8330  fi
8331done
8332  done
8333IFS=$as_save_IFS
8334
8335fi
8336fi
8337ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8338if test -n "$ac_ct_OBJDUMP"; then
8339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8340$as_echo "$ac_ct_OBJDUMP" >&6; }
8341else
8342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343$as_echo "no" >&6; }
8344fi
8345
8346  if test "x$ac_ct_OBJDUMP" = x; then
8347    OBJDUMP="false"
8348  else
8349    case $cross_compiling:$ac_tool_warned in
8350yes:)
8351{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8352$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8353ac_tool_warned=yes ;;
8354esac
8355    OBJDUMP=$ac_ct_OBJDUMP
8356  fi
8357else
8358  OBJDUMP="$ac_cv_prog_OBJDUMP"
8359fi
8360
8361  ;;
8362esac
8363
8364test -z "$AS" && AS=as
8365
8366
8367
8368
8369
8370test -z "$DLLTOOL" && DLLTOOL=dlltool
8371
8372
8373
8374
8375
8376test -z "$OBJDUMP" && OBJDUMP=objdump
8377
8378
8379
8380
8381
8382
8383
8384        enable_dlopen=no
8385
8386
8387
8388            # Check whether --enable-shared was given.
8389if test "${enable_shared+set}" = set; then :
8390  enableval=$enable_shared; p=${PACKAGE-default}
8391    case $enableval in
8392    yes) enable_shared=yes ;;
8393    no) enable_shared=no ;;
8394    *)
8395      enable_shared=no
8396      # Look at the argument we got.  We use all the common list separators.
8397      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8398      for pkg in $enableval; do
8399	IFS=$lt_save_ifs
8400	if test "X$pkg" = "X$p"; then
8401	  enable_shared=yes
8402	fi
8403      done
8404      IFS=$lt_save_ifs
8405      ;;
8406    esac
8407else
8408  enable_shared=yes
8409fi
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419  # Check whether --enable-static was given.
8420if test "${enable_static+set}" = set; then :
8421  enableval=$enable_static; p=${PACKAGE-default}
8422    case $enableval in
8423    yes) enable_static=yes ;;
8424    no) enable_static=no ;;
8425    *)
8426     enable_static=no
8427      # Look at the argument we got.  We use all the common list separators.
8428      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8429      for pkg in $enableval; do
8430	IFS=$lt_save_ifs
8431	if test "X$pkg" = "X$p"; then
8432	  enable_static=yes
8433	fi
8434      done
8435      IFS=$lt_save_ifs
8436      ;;
8437    esac
8438else
8439  enable_static=yes
8440fi
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451# Check whether --with-pic was given.
8452if test "${with_pic+set}" = set; then :
8453  withval=$with_pic; lt_p=${PACKAGE-default}
8454    case $withval in
8455    yes|no) pic_mode=$withval ;;
8456    *)
8457      pic_mode=default
8458      # Look at the argument we got.  We use all the common list separators.
8459      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8460      for lt_pkg in $withval; do
8461	IFS=$lt_save_ifs
8462	if test "X$lt_pkg" = "X$lt_p"; then
8463	  pic_mode=yes
8464	fi
8465      done
8466      IFS=$lt_save_ifs
8467      ;;
8468    esac
8469else
8470  pic_mode=default
8471fi
8472
8473
8474
8475
8476
8477
8478
8479
8480  # Check whether --enable-fast-install was given.
8481if test "${enable_fast_install+set}" = set; then :
8482  enableval=$enable_fast_install; p=${PACKAGE-default}
8483    case $enableval in
8484    yes) enable_fast_install=yes ;;
8485    no) enable_fast_install=no ;;
8486    *)
8487      enable_fast_install=no
8488      # Look at the argument we got.  We use all the common list separators.
8489      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8490      for pkg in $enableval; do
8491	IFS=$lt_save_ifs
8492	if test "X$pkg" = "X$p"; then
8493	  enable_fast_install=yes
8494	fi
8495      done
8496      IFS=$lt_save_ifs
8497      ;;
8498    esac
8499else
8500  enable_fast_install=yes
8501fi
8502
8503
8504
8505
8506
8507
8508
8509
8510  shared_archive_member_spec=
8511case $host,$enable_shared in
8512power*-*-aix[5-9]*,yes)
8513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8514$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8515
8516# Check whether --with-aix-soname was given.
8517if test "${with_aix_soname+set}" = set; then :
8518  withval=$with_aix_soname; case $withval in
8519    aix|svr4|both)
8520      ;;
8521    *)
8522      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8523      ;;
8524    esac
8525    lt_cv_with_aix_soname=$with_aix_soname
8526else
8527  if ${lt_cv_with_aix_soname+:} false; then :
8528  $as_echo_n "(cached) " >&6
8529else
8530  lt_cv_with_aix_soname=aix
8531fi
8532
8533    with_aix_soname=$lt_cv_with_aix_soname
8534fi
8535
8536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8537$as_echo "$with_aix_soname" >&6; }
8538  if test aix != "$with_aix_soname"; then
8539    # For the AIX way of multilib, we name the shared archive member
8540    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8541    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8542    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8543    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8544    if test 64 = "${OBJECT_MODE-32}"; then
8545      shared_archive_member_spec=shr_64
8546    else
8547      shared_archive_member_spec=shr
8548    fi
8549  fi
8550  ;;
8551*)
8552  with_aix_soname=aix
8553  ;;
8554esac
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565# This can be used to rebuild libtool when needed
8566LIBTOOL_DEPS=$ltmain
8567
8568# Always use our own libtool.
8569LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600test -z "$LN_S" && LN_S="ln -s"
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615if test -n "${ZSH_VERSION+set}"; then
8616   setopt NO_GLOB_SUBST
8617fi
8618
8619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8620$as_echo_n "checking for objdir... " >&6; }
8621if ${lt_cv_objdir+:} false; then :
8622  $as_echo_n "(cached) " >&6
8623else
8624  rm -f .libs 2>/dev/null
8625mkdir .libs 2>/dev/null
8626if test -d .libs; then
8627  lt_cv_objdir=.libs
8628else
8629  # MS-DOS does not allow filenames that begin with a dot.
8630  lt_cv_objdir=_libs
8631fi
8632rmdir .libs 2>/dev/null
8633fi
8634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8635$as_echo "$lt_cv_objdir" >&6; }
8636objdir=$lt_cv_objdir
8637
8638
8639
8640
8641
8642cat >>confdefs.h <<_ACEOF
8643#define LT_OBJDIR "$lt_cv_objdir/"
8644_ACEOF
8645
8646
8647
8648
8649case $host_os in
8650aix3*)
8651  # AIX sometimes has problems with the GCC collect2 program.  For some
8652  # reason, if we set the COLLECT_NAMES environment variable, the problems
8653  # vanish in a puff of smoke.
8654  if test set != "${COLLECT_NAMES+set}"; then
8655    COLLECT_NAMES=
8656    export COLLECT_NAMES
8657  fi
8658  ;;
8659esac
8660
8661# Global variables:
8662ofile=libtool
8663can_build_shared=yes
8664
8665# All known linkers require a '.a' archive for static linking (except MSVC,
8666# which needs '.lib').
8667libext=a
8668
8669with_gnu_ld=$lt_cv_prog_gnu_ld
8670
8671old_CC=$CC
8672old_CFLAGS=$CFLAGS
8673
8674# Set sane defaults for various variables
8675test -z "$CC" && CC=cc
8676test -z "$LTCC" && LTCC=$CC
8677test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8678test -z "$LD" && LD=ld
8679test -z "$ac_objext" && ac_objext=o
8680
8681func_cc_basename $compiler
8682cc_basename=$func_cc_basename_result
8683
8684
8685# Only perform the check for file, if the check method requires it
8686test -z "$MAGIC_CMD" && MAGIC_CMD=file
8687case $deplibs_check_method in
8688file_magic*)
8689  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8690    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8691$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8692if ${lt_cv_path_MAGIC_CMD+:} false; then :
8693  $as_echo_n "(cached) " >&6
8694else
8695  case $MAGIC_CMD in
8696[\\/*] |  ?:[\\/]*)
8697  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8698  ;;
8699*)
8700  lt_save_MAGIC_CMD=$MAGIC_CMD
8701  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8702  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8703  for ac_dir in $ac_dummy; do
8704    IFS=$lt_save_ifs
8705    test -z "$ac_dir" && ac_dir=.
8706    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8707      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8708      if test -n "$file_magic_test_file"; then
8709	case $deplibs_check_method in
8710	"file_magic "*)
8711	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8712	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8713	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8714	    $EGREP "$file_magic_regex" > /dev/null; then
8715	    :
8716	  else
8717	    cat <<_LT_EOF 1>&2
8718
8719*** Warning: the command libtool uses to detect shared libraries,
8720*** $file_magic_cmd, produces output that libtool cannot recognize.
8721*** The result is that libtool may fail to recognize shared libraries
8722*** as such.  This will affect the creation of libtool libraries that
8723*** depend on shared libraries, but programs linked with such libtool
8724*** libraries will work regardless of this problem.  Nevertheless, you
8725*** may want to report the problem to your system manager and/or to
8726*** bug-libtool@gnu.org
8727
8728_LT_EOF
8729	  fi ;;
8730	esac
8731      fi
8732      break
8733    fi
8734  done
8735  IFS=$lt_save_ifs
8736  MAGIC_CMD=$lt_save_MAGIC_CMD
8737  ;;
8738esac
8739fi
8740
8741MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8742if test -n "$MAGIC_CMD"; then
8743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8744$as_echo "$MAGIC_CMD" >&6; }
8745else
8746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8747$as_echo "no" >&6; }
8748fi
8749
8750
8751
8752
8753
8754if test -z "$lt_cv_path_MAGIC_CMD"; then
8755  if test -n "$ac_tool_prefix"; then
8756    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8757$as_echo_n "checking for file... " >&6; }
8758if ${lt_cv_path_MAGIC_CMD+:} false; then :
8759  $as_echo_n "(cached) " >&6
8760else
8761  case $MAGIC_CMD in
8762[\\/*] |  ?:[\\/]*)
8763  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8764  ;;
8765*)
8766  lt_save_MAGIC_CMD=$MAGIC_CMD
8767  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8768  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8769  for ac_dir in $ac_dummy; do
8770    IFS=$lt_save_ifs
8771    test -z "$ac_dir" && ac_dir=.
8772    if test -f "$ac_dir/file"; then
8773      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8774      if test -n "$file_magic_test_file"; then
8775	case $deplibs_check_method in
8776	"file_magic "*)
8777	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8778	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8779	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8780	    $EGREP "$file_magic_regex" > /dev/null; then
8781	    :
8782	  else
8783	    cat <<_LT_EOF 1>&2
8784
8785*** Warning: the command libtool uses to detect shared libraries,
8786*** $file_magic_cmd, produces output that libtool cannot recognize.
8787*** The result is that libtool may fail to recognize shared libraries
8788*** as such.  This will affect the creation of libtool libraries that
8789*** depend on shared libraries, but programs linked with such libtool
8790*** libraries will work regardless of this problem.  Nevertheless, you
8791*** may want to report the problem to your system manager and/or to
8792*** bug-libtool@gnu.org
8793
8794_LT_EOF
8795	  fi ;;
8796	esac
8797      fi
8798      break
8799    fi
8800  done
8801  IFS=$lt_save_ifs
8802  MAGIC_CMD=$lt_save_MAGIC_CMD
8803  ;;
8804esac
8805fi
8806
8807MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8808if test -n "$MAGIC_CMD"; then
8809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8810$as_echo "$MAGIC_CMD" >&6; }
8811else
8812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8813$as_echo "no" >&6; }
8814fi
8815
8816
8817  else
8818    MAGIC_CMD=:
8819  fi
8820fi
8821
8822  fi
8823  ;;
8824esac
8825
8826# Use C for the default configuration in the libtool script
8827
8828lt_save_CC=$CC
8829ac_ext=c
8830ac_cpp='$CPP $CPPFLAGS'
8831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8832ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8833ac_compiler_gnu=$ac_cv_c_compiler_gnu
8834
8835
8836# Source file extension for C test sources.
8837ac_ext=c
8838
8839# Object file extension for compiled C test sources.
8840objext=o
8841objext=$objext
8842
8843# Code to be used in simple compile tests
8844lt_simple_compile_test_code="int some_variable = 0;"
8845
8846# Code to be used in simple link tests
8847lt_simple_link_test_code='int main(){return(0);}'
8848
8849
8850
8851
8852
8853
8854
8855# If no C compiler was specified, use CC.
8856LTCC=${LTCC-"$CC"}
8857
8858# If no C compiler flags were specified, use CFLAGS.
8859LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8860
8861# Allow CC to be a program name with arguments.
8862compiler=$CC
8863
8864# Save the default compiler, since it gets overwritten when the other
8865# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8866compiler_DEFAULT=$CC
8867
8868# save warnings/boilerplate of simple test code
8869ac_outfile=conftest.$ac_objext
8870echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8871eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8872_lt_compiler_boilerplate=`cat conftest.err`
8873$RM conftest*
8874
8875ac_outfile=conftest.$ac_objext
8876echo "$lt_simple_link_test_code" >conftest.$ac_ext
8877eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8878_lt_linker_boilerplate=`cat conftest.err`
8879$RM -r conftest*
8880
8881
8882## CAVEAT EMPTOR:
8883## There is no encapsulation within the following macros, do not change
8884## the running order or otherwise move them around unless you know exactly
8885## what you are doing...
8886if test -n "$compiler"; then
8887
8888lt_prog_compiler_no_builtin_flag=
8889
8890if test yes = "$GCC"; then
8891  case $cc_basename in
8892  nvcc*)
8893    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8894  *)
8895    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8896  esac
8897
8898  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8899$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8900if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8901  $as_echo_n "(cached) " >&6
8902else
8903  lt_cv_prog_compiler_rtti_exceptions=no
8904   ac_outfile=conftest.$ac_objext
8905   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8906   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8907   # Insert the option either (1) after the last *FLAGS variable, or
8908   # (2) before a word containing "conftest.", or (3) at the end.
8909   # Note that $ac_compile itself does not contain backslashes and begins
8910   # with a dollar sign (not a hyphen), so the echo should work correctly.
8911   # The option is referenced via a variable to avoid confusing sed.
8912   lt_compile=`echo "$ac_compile" | $SED \
8913   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8914   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8915   -e 's:$: $lt_compiler_flag:'`
8916   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8917   (eval "$lt_compile" 2>conftest.err)
8918   ac_status=$?
8919   cat conftest.err >&5
8920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921   if (exit $ac_status) && test -s "$ac_outfile"; then
8922     # The compiler can only warn and ignore the option if not recognized
8923     # So say no if there are warnings other than the usual output.
8924     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8925     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8926     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8927       lt_cv_prog_compiler_rtti_exceptions=yes
8928     fi
8929   fi
8930   $RM conftest*
8931
8932fi
8933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8934$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8935
8936if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8937    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8938else
8939    :
8940fi
8941
8942fi
8943
8944
8945
8946
8947
8948
8949  lt_prog_compiler_wl=
8950lt_prog_compiler_pic=
8951lt_prog_compiler_static=
8952
8953
8954  if test yes = "$GCC"; then
8955    lt_prog_compiler_wl='-Wl,'
8956    lt_prog_compiler_static='-static'
8957
8958    case $host_os in
8959      aix*)
8960      # All AIX code is PIC.
8961      if test ia64 = "$host_cpu"; then
8962	# AIX 5 now supports IA64 processor
8963	lt_prog_compiler_static='-Bstatic'
8964      fi
8965      lt_prog_compiler_pic='-fPIC'
8966      ;;
8967
8968    amigaos*)
8969      case $host_cpu in
8970      powerpc)
8971            # see comment about AmigaOS4 .so support
8972            lt_prog_compiler_pic='-fPIC'
8973        ;;
8974      m68k)
8975            # FIXME: we need at least 68020 code to build shared libraries, but
8976            # adding the '-m68020' flag to GCC prevents building anything better,
8977            # like '-m68040'.
8978            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8979        ;;
8980      esac
8981      ;;
8982
8983    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8984      # PIC is the default for these OSes.
8985      ;;
8986
8987    mingw* | cygwin* | pw32* | os2* | cegcc*)
8988      # This hack is so that the source file can tell whether it is being
8989      # built for inclusion in a dll (and should export symbols for example).
8990      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8991      # (--disable-auto-import) libraries
8992      lt_prog_compiler_pic='-DDLL_EXPORT'
8993      case $host_os in
8994      os2*)
8995	lt_prog_compiler_static='$wl-static'
8996	;;
8997      esac
8998      ;;
8999
9000    darwin* | rhapsody*)
9001      # PIC is the default on this platform
9002      # Common symbols not allowed in MH_DYLIB files
9003      lt_prog_compiler_pic='-fno-common'
9004      ;;
9005
9006    haiku*)
9007      # PIC is the default for Haiku.
9008      # The "-static" flag exists, but is broken.
9009      lt_prog_compiler_static=
9010      ;;
9011
9012    hpux*)
9013      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9014      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9015      # sets the default TLS model and affects inlining.
9016      case $host_cpu in
9017      hppa*64*)
9018	# +Z the default
9019	;;
9020      *)
9021	lt_prog_compiler_pic='-fPIC'
9022	;;
9023      esac
9024      ;;
9025
9026    interix[3-9]*)
9027      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9028      # Instead, we relocate shared libraries at runtime.
9029      ;;
9030
9031    msdosdjgpp*)
9032      # Just because we use GCC doesn't mean we suddenly get shared libraries
9033      # on systems that don't support them.
9034      lt_prog_compiler_can_build_shared=no
9035      enable_shared=no
9036      ;;
9037
9038    *nto* | *qnx*)
9039      # QNX uses GNU C++, but need to define -shared option too, otherwise
9040      # it will coredump.
9041      lt_prog_compiler_pic='-fPIC -shared'
9042      ;;
9043
9044    sysv4*MP*)
9045      if test -d /usr/nec; then
9046	lt_prog_compiler_pic=-Kconform_pic
9047      fi
9048      ;;
9049
9050    *)
9051      lt_prog_compiler_pic='-fPIC'
9052      ;;
9053    esac
9054
9055    case $cc_basename in
9056    nvcc*) # Cuda Compiler Driver 2.2
9057      lt_prog_compiler_wl='-Xlinker '
9058      if test -n "$lt_prog_compiler_pic"; then
9059        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9060      fi
9061      ;;
9062    esac
9063  else
9064    # PORTME Check for flag to pass linker flags through the system compiler.
9065    case $host_os in
9066    aix*)
9067      lt_prog_compiler_wl='-Wl,'
9068      if test ia64 = "$host_cpu"; then
9069	# AIX 5 now supports IA64 processor
9070	lt_prog_compiler_static='-Bstatic'
9071      else
9072	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9073      fi
9074      ;;
9075
9076    darwin* | rhapsody*)
9077      # PIC is the default on this platform
9078      # Common symbols not allowed in MH_DYLIB files
9079      lt_prog_compiler_pic='-fno-common'
9080      case $cc_basename in
9081      nagfor*)
9082        # NAG Fortran compiler
9083        lt_prog_compiler_wl='-Wl,-Wl,,'
9084        lt_prog_compiler_pic='-PIC'
9085        lt_prog_compiler_static='-Bstatic'
9086        ;;
9087      esac
9088      ;;
9089
9090    mingw* | cygwin* | pw32* | os2* | cegcc*)
9091      # This hack is so that the source file can tell whether it is being
9092      # built for inclusion in a dll (and should export symbols for example).
9093      lt_prog_compiler_pic='-DDLL_EXPORT'
9094      case $host_os in
9095      os2*)
9096	lt_prog_compiler_static='$wl-static'
9097	;;
9098      esac
9099      ;;
9100
9101    hpux9* | hpux10* | hpux11*)
9102      lt_prog_compiler_wl='-Wl,'
9103      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9104      # not for PA HP-UX.
9105      case $host_cpu in
9106      hppa*64*|ia64*)
9107	# +Z the default
9108	;;
9109      *)
9110	lt_prog_compiler_pic='+Z'
9111	;;
9112      esac
9113      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9114      lt_prog_compiler_static='$wl-a ${wl}archive'
9115      ;;
9116
9117    irix5* | irix6* | nonstopux*)
9118      lt_prog_compiler_wl='-Wl,'
9119      # PIC (with -KPIC) is the default.
9120      lt_prog_compiler_static='-non_shared'
9121      ;;
9122
9123    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9124      case $cc_basename in
9125      # old Intel for x86_64, which still supported -KPIC.
9126      ecc*)
9127	lt_prog_compiler_wl='-Wl,'
9128	lt_prog_compiler_pic='-KPIC'
9129	lt_prog_compiler_static='-static'
9130        ;;
9131      # icc used to be incompatible with GCC.
9132      # ICC 10 doesn't accept -KPIC any more.
9133      icc* | ifort*)
9134	lt_prog_compiler_wl='-Wl,'
9135	lt_prog_compiler_pic='-fPIC'
9136	lt_prog_compiler_static='-static'
9137        ;;
9138      # Lahey Fortran 8.1.
9139      lf95*)
9140	lt_prog_compiler_wl='-Wl,'
9141	lt_prog_compiler_pic='--shared'
9142	lt_prog_compiler_static='--static'
9143	;;
9144      nagfor*)
9145	# NAG Fortran compiler
9146	lt_prog_compiler_wl='-Wl,-Wl,,'
9147	lt_prog_compiler_pic='-PIC'
9148	lt_prog_compiler_static='-Bstatic'
9149	;;
9150      tcc*)
9151	# Fabrice Bellard et al's Tiny C Compiler
9152	lt_prog_compiler_wl='-Wl,'
9153	lt_prog_compiler_pic='-fPIC'
9154	lt_prog_compiler_static='-static'
9155	;;
9156      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9157        # Portland Group compilers (*not* the Pentium gcc compiler,
9158	# which looks to be a dead project)
9159	lt_prog_compiler_wl='-Wl,'
9160	lt_prog_compiler_pic='-fpic'
9161	lt_prog_compiler_static='-Bstatic'
9162        ;;
9163      ccc*)
9164        lt_prog_compiler_wl='-Wl,'
9165        # All Alpha code is PIC.
9166        lt_prog_compiler_static='-non_shared'
9167        ;;
9168      xl* | bgxl* | bgf* | mpixl*)
9169	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9170	lt_prog_compiler_wl='-Wl,'
9171	lt_prog_compiler_pic='-qpic'
9172	lt_prog_compiler_static='-qstaticlink'
9173	;;
9174      *)
9175	case `$CC -V 2>&1 | sed 5q` in
9176	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9177	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9178	  lt_prog_compiler_pic='-KPIC'
9179	  lt_prog_compiler_static='-Bstatic'
9180	  lt_prog_compiler_wl=''
9181	  ;;
9182	*Sun\ F* | *Sun*Fortran*)
9183	  lt_prog_compiler_pic='-KPIC'
9184	  lt_prog_compiler_static='-Bstatic'
9185	  lt_prog_compiler_wl='-Qoption ld '
9186	  ;;
9187	*Sun\ C*)
9188	  # Sun C 5.9
9189	  lt_prog_compiler_pic='-KPIC'
9190	  lt_prog_compiler_static='-Bstatic'
9191	  lt_prog_compiler_wl='-Wl,'
9192	  ;;
9193        *Intel*\ [CF]*Compiler*)
9194	  lt_prog_compiler_wl='-Wl,'
9195	  lt_prog_compiler_pic='-fPIC'
9196	  lt_prog_compiler_static='-static'
9197	  ;;
9198	*Portland\ Group*)
9199	  lt_prog_compiler_wl='-Wl,'
9200	  lt_prog_compiler_pic='-fpic'
9201	  lt_prog_compiler_static='-Bstatic'
9202	  ;;
9203	esac
9204	;;
9205      esac
9206      ;;
9207
9208    newsos6)
9209      lt_prog_compiler_pic='-KPIC'
9210      lt_prog_compiler_static='-Bstatic'
9211      ;;
9212
9213    *nto* | *qnx*)
9214      # QNX uses GNU C++, but need to define -shared option too, otherwise
9215      # it will coredump.
9216      lt_prog_compiler_pic='-fPIC -shared'
9217      ;;
9218
9219    osf3* | osf4* | osf5*)
9220      lt_prog_compiler_wl='-Wl,'
9221      # All OSF/1 code is PIC.
9222      lt_prog_compiler_static='-non_shared'
9223      ;;
9224
9225    rdos*)
9226      lt_prog_compiler_static='-non_shared'
9227      ;;
9228
9229    solaris*)
9230      lt_prog_compiler_pic='-KPIC'
9231      lt_prog_compiler_static='-Bstatic'
9232      case $cc_basename in
9233      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9234	lt_prog_compiler_wl='-Qoption ld ';;
9235      *)
9236	lt_prog_compiler_wl='-Wl,';;
9237      esac
9238      ;;
9239
9240    sunos4*)
9241      lt_prog_compiler_wl='-Qoption ld '
9242      lt_prog_compiler_pic='-PIC'
9243      lt_prog_compiler_static='-Bstatic'
9244      ;;
9245
9246    sysv4 | sysv4.2uw2* | sysv4.3*)
9247      lt_prog_compiler_wl='-Wl,'
9248      lt_prog_compiler_pic='-KPIC'
9249      lt_prog_compiler_static='-Bstatic'
9250      ;;
9251
9252    sysv4*MP*)
9253      if test -d /usr/nec; then
9254	lt_prog_compiler_pic='-Kconform_pic'
9255	lt_prog_compiler_static='-Bstatic'
9256      fi
9257      ;;
9258
9259    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9260      lt_prog_compiler_wl='-Wl,'
9261      lt_prog_compiler_pic='-KPIC'
9262      lt_prog_compiler_static='-Bstatic'
9263      ;;
9264
9265    unicos*)
9266      lt_prog_compiler_wl='-Wl,'
9267      lt_prog_compiler_can_build_shared=no
9268      ;;
9269
9270    uts4*)
9271      lt_prog_compiler_pic='-pic'
9272      lt_prog_compiler_static='-Bstatic'
9273      ;;
9274
9275    *)
9276      lt_prog_compiler_can_build_shared=no
9277      ;;
9278    esac
9279  fi
9280
9281case $host_os in
9282  # For platforms that do not support PIC, -DPIC is meaningless:
9283  *djgpp*)
9284    lt_prog_compiler_pic=
9285    ;;
9286  *)
9287    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9288    ;;
9289esac
9290
9291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9292$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9293if ${lt_cv_prog_compiler_pic+:} false; then :
9294  $as_echo_n "(cached) " >&6
9295else
9296  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9297fi
9298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9299$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9300lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9301
9302#
9303# Check to make sure the PIC flag actually works.
9304#
9305if test -n "$lt_prog_compiler_pic"; then
9306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9307$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9308if ${lt_cv_prog_compiler_pic_works+:} false; then :
9309  $as_echo_n "(cached) " >&6
9310else
9311  lt_cv_prog_compiler_pic_works=no
9312   ac_outfile=conftest.$ac_objext
9313   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9314   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9315   # Insert the option either (1) after the last *FLAGS variable, or
9316   # (2) before a word containing "conftest.", or (3) at the end.
9317   # Note that $ac_compile itself does not contain backslashes and begins
9318   # with a dollar sign (not a hyphen), so the echo should work correctly.
9319   # The option is referenced via a variable to avoid confusing sed.
9320   lt_compile=`echo "$ac_compile" | $SED \
9321   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9322   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9323   -e 's:$: $lt_compiler_flag:'`
9324   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9325   (eval "$lt_compile" 2>conftest.err)
9326   ac_status=$?
9327   cat conftest.err >&5
9328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329   if (exit $ac_status) && test -s "$ac_outfile"; then
9330     # The compiler can only warn and ignore the option if not recognized
9331     # So say no if there are warnings other than the usual output.
9332     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9333     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9334     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9335       lt_cv_prog_compiler_pic_works=yes
9336     fi
9337   fi
9338   $RM conftest*
9339
9340fi
9341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9342$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9343
9344if test yes = "$lt_cv_prog_compiler_pic_works"; then
9345    case $lt_prog_compiler_pic in
9346     "" | " "*) ;;
9347     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9348     esac
9349else
9350    lt_prog_compiler_pic=
9351     lt_prog_compiler_can_build_shared=no
9352fi
9353
9354fi
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366#
9367# Check to make sure the static flag actually works.
9368#
9369wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9371$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9372if ${lt_cv_prog_compiler_static_works+:} false; then :
9373  $as_echo_n "(cached) " >&6
9374else
9375  lt_cv_prog_compiler_static_works=no
9376   save_LDFLAGS=$LDFLAGS
9377   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9378   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9379   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9380     # The linker can only warn and ignore the option if not recognized
9381     # So say no if there are warnings
9382     if test -s conftest.err; then
9383       # Append any errors to the config.log.
9384       cat conftest.err 1>&5
9385       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9386       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9387       if diff conftest.exp conftest.er2 >/dev/null; then
9388         lt_cv_prog_compiler_static_works=yes
9389       fi
9390     else
9391       lt_cv_prog_compiler_static_works=yes
9392     fi
9393   fi
9394   $RM -r conftest*
9395   LDFLAGS=$save_LDFLAGS
9396
9397fi
9398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9399$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9400
9401if test yes = "$lt_cv_prog_compiler_static_works"; then
9402    :
9403else
9404    lt_prog_compiler_static=
9405fi
9406
9407
9408
9409
9410
9411
9412
9413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9414$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9415if ${lt_cv_prog_compiler_c_o+:} false; then :
9416  $as_echo_n "(cached) " >&6
9417else
9418  lt_cv_prog_compiler_c_o=no
9419   $RM -r conftest 2>/dev/null
9420   mkdir conftest
9421   cd conftest
9422   mkdir out
9423   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9424
9425   lt_compiler_flag="-o out/conftest2.$ac_objext"
9426   # Insert the option either (1) after the last *FLAGS variable, or
9427   # (2) before a word containing "conftest.", or (3) at the end.
9428   # Note that $ac_compile itself does not contain backslashes and begins
9429   # with a dollar sign (not a hyphen), so the echo should work correctly.
9430   lt_compile=`echo "$ac_compile" | $SED \
9431   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9432   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9433   -e 's:$: $lt_compiler_flag:'`
9434   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9435   (eval "$lt_compile" 2>out/conftest.err)
9436   ac_status=$?
9437   cat out/conftest.err >&5
9438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9440   then
9441     # The compiler can only warn and ignore the option if not recognized
9442     # So say no if there are warnings
9443     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9444     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9445     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9446       lt_cv_prog_compiler_c_o=yes
9447     fi
9448   fi
9449   chmod u+w . 2>&5
9450   $RM conftest*
9451   # SGI C++ compiler will create directory out/ii_files/ for
9452   # template instantiation
9453   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9454   $RM out/* && rmdir out
9455   cd ..
9456   $RM -r conftest
9457   $RM conftest*
9458
9459fi
9460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9461$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9462
9463
9464
9465
9466
9467
9468  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9469$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9470if ${lt_cv_prog_compiler_c_o+:} false; then :
9471  $as_echo_n "(cached) " >&6
9472else
9473  lt_cv_prog_compiler_c_o=no
9474   $RM -r conftest 2>/dev/null
9475   mkdir conftest
9476   cd conftest
9477   mkdir out
9478   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9479
9480   lt_compiler_flag="-o out/conftest2.$ac_objext"
9481   # Insert the option either (1) after the last *FLAGS variable, or
9482   # (2) before a word containing "conftest.", or (3) at the end.
9483   # Note that $ac_compile itself does not contain backslashes and begins
9484   # with a dollar sign (not a hyphen), so the echo should work correctly.
9485   lt_compile=`echo "$ac_compile" | $SED \
9486   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9487   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9488   -e 's:$: $lt_compiler_flag:'`
9489   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9490   (eval "$lt_compile" 2>out/conftest.err)
9491   ac_status=$?
9492   cat out/conftest.err >&5
9493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9495   then
9496     # The compiler can only warn and ignore the option if not recognized
9497     # So say no if there are warnings
9498     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9499     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9500     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9501       lt_cv_prog_compiler_c_o=yes
9502     fi
9503   fi
9504   chmod u+w . 2>&5
9505   $RM conftest*
9506   # SGI C++ compiler will create directory out/ii_files/ for
9507   # template instantiation
9508   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9509   $RM out/* && rmdir out
9510   cd ..
9511   $RM -r conftest
9512   $RM conftest*
9513
9514fi
9515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9516$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9517
9518
9519
9520
9521hard_links=nottested
9522if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9523  # do not overwrite the value of need_locks provided by the user
9524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9525$as_echo_n "checking if we can lock with hard links... " >&6; }
9526  hard_links=yes
9527  $RM conftest*
9528  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9529  touch conftest.a
9530  ln conftest.a conftest.b 2>&5 || hard_links=no
9531  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9533$as_echo "$hard_links" >&6; }
9534  if test no = "$hard_links"; then
9535    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9536$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9537    need_locks=warn
9538  fi
9539else
9540  need_locks=no
9541fi
9542
9543
9544
9545
9546
9547
9548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9549$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9550
9551  runpath_var=
9552  allow_undefined_flag=
9553  always_export_symbols=no
9554  archive_cmds=
9555  archive_expsym_cmds=
9556  compiler_needs_object=no
9557  enable_shared_with_static_runtimes=no
9558  export_dynamic_flag_spec=
9559  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9560  hardcode_automatic=no
9561  hardcode_direct=no
9562  hardcode_direct_absolute=no
9563  hardcode_libdir_flag_spec=
9564  hardcode_libdir_separator=
9565  hardcode_minus_L=no
9566  hardcode_shlibpath_var=unsupported
9567  inherit_rpath=no
9568  link_all_deplibs=unknown
9569  module_cmds=
9570  module_expsym_cmds=
9571  old_archive_from_new_cmds=
9572  old_archive_from_expsyms_cmds=
9573  thread_safe_flag_spec=
9574  whole_archive_flag_spec=
9575  # include_expsyms should be a list of space-separated symbols to be *always*
9576  # included in the symbol list
9577  include_expsyms=
9578  # exclude_expsyms can be an extended regexp of symbols to exclude
9579  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9580  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9581  # as well as any symbol that contains 'd'.
9582  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9583  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9584  # platforms (ab)use it in PIC code, but their linkers get confused if
9585  # the symbol is explicitly referenced.  Since portable code cannot
9586  # rely on this symbol name, it's probably fine to never include it in
9587  # preloaded symbol tables.
9588  # Exclude shared library initialization/finalization symbols.
9589  extract_expsyms_cmds=
9590
9591  case $host_os in
9592  cygwin* | mingw* | pw32* | cegcc*)
9593    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9594    # When not using gcc, we currently assume that we are using
9595    # Microsoft Visual C++.
9596    if test yes != "$GCC"; then
9597      with_gnu_ld=no
9598    fi
9599    ;;
9600  interix*)
9601    # we just hope/assume this is gcc and not c89 (= MSVC++)
9602    with_gnu_ld=yes
9603    ;;
9604  openbsd* | bitrig*)
9605    with_gnu_ld=no
9606    ;;
9607  esac
9608
9609  ld_shlibs=yes
9610
9611  # On some targets, GNU ld is compatible enough with the native linker
9612  # that we're better off using the native interface for both.
9613  lt_use_gnu_ld_interface=no
9614  if test yes = "$with_gnu_ld"; then
9615    case $host_os in
9616      aix*)
9617	# The AIX port of GNU ld has always aspired to compatibility
9618	# with the native linker.  However, as the warning in the GNU ld
9619	# block says, versions before 2.19.5* couldn't really create working
9620	# shared libraries, regardless of the interface used.
9621	case `$LD -v 2>&1` in
9622	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9623	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9624	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9625	  *)
9626	    lt_use_gnu_ld_interface=yes
9627	    ;;
9628	esac
9629	;;
9630      *)
9631	lt_use_gnu_ld_interface=yes
9632	;;
9633    esac
9634  fi
9635
9636  if test yes = "$lt_use_gnu_ld_interface"; then
9637    # If archive_cmds runs LD, not CC, wlarc should be empty
9638    wlarc='$wl'
9639
9640    # Set some defaults for GNU ld with shared library support. These
9641    # are reset later if shared libraries are not supported. Putting them
9642    # here allows them to be overridden if necessary.
9643    runpath_var=LD_RUN_PATH
9644    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9645    export_dynamic_flag_spec='$wl--export-dynamic'
9646    # ancient GNU ld didn't support --whole-archive et. al.
9647    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9648      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9649    else
9650      whole_archive_flag_spec=
9651    fi
9652    supports_anon_versioning=no
9653    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9654      *GNU\ gold*) supports_anon_versioning=yes ;;
9655      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9656      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9657      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9658      *\ 2.11.*) ;; # other 2.11 versions
9659      *) supports_anon_versioning=yes ;;
9660    esac
9661
9662    # See if GNU ld supports shared libraries.
9663    case $host_os in
9664    aix[3-9]*)
9665      # On AIX/PPC, the GNU linker is very broken
9666      if test ia64 != "$host_cpu"; then
9667	ld_shlibs=no
9668	cat <<_LT_EOF 1>&2
9669
9670*** Warning: the GNU linker, at least up to release 2.19, is reported
9671*** to be unable to reliably create shared libraries on AIX.
9672*** Therefore, libtool is disabling shared libraries support.  If you
9673*** really care for shared libraries, you may want to install binutils
9674*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9675*** You will then need to restart the configuration process.
9676
9677_LT_EOF
9678      fi
9679      ;;
9680
9681    amigaos*)
9682      case $host_cpu in
9683      powerpc)
9684            # see comment about AmigaOS4 .so support
9685            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9686            archive_expsym_cmds=''
9687        ;;
9688      m68k)
9689            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)'
9690            hardcode_libdir_flag_spec='-L$libdir'
9691            hardcode_minus_L=yes
9692        ;;
9693      esac
9694      ;;
9695
9696    beos*)
9697      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9698	allow_undefined_flag=unsupported
9699	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9700	# support --undefined.  This deserves some investigation.  FIXME
9701	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9702      else
9703	ld_shlibs=no
9704      fi
9705      ;;
9706
9707    cygwin* | mingw* | pw32* | cegcc*)
9708      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9709      # as there is no search path for DLLs.
9710      hardcode_libdir_flag_spec='-L$libdir'
9711      export_dynamic_flag_spec='$wl--export-all-symbols'
9712      allow_undefined_flag=unsupported
9713      always_export_symbols=no
9714      enable_shared_with_static_runtimes=yes
9715      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'
9716      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9717
9718      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9719        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9720	# If the export-symbols file already is a .def file, use it as
9721	# is; otherwise, prepend EXPORTS...
9722	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9723          cp $export_symbols $output_objdir/$soname.def;
9724        else
9725          echo EXPORTS > $output_objdir/$soname.def;
9726          cat $export_symbols >> $output_objdir/$soname.def;
9727        fi~
9728        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9729      else
9730	ld_shlibs=no
9731      fi
9732      ;;
9733
9734    haiku*)
9735      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9736      link_all_deplibs=yes
9737      ;;
9738
9739    os2*)
9740      hardcode_libdir_flag_spec='-L$libdir'
9741      hardcode_minus_L=yes
9742      allow_undefined_flag=unsupported
9743      shrext_cmds=.dll
9744      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9745	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9746	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9747	$ECHO EXPORTS >> $output_objdir/$libname.def~
9748	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9749	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9750	emximp -o $lib $output_objdir/$libname.def'
9751      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9752	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9753	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9754	$ECHO EXPORTS >> $output_objdir/$libname.def~
9755	prefix_cmds="$SED"~
9756	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9757	  prefix_cmds="$prefix_cmds -e 1d";
9758	fi~
9759	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9760	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9761	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9762	emximp -o $lib $output_objdir/$libname.def'
9763      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9764      enable_shared_with_static_runtimes=yes
9765      ;;
9766
9767    interix[3-9]*)
9768      hardcode_direct=no
9769      hardcode_shlibpath_var=no
9770      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9771      export_dynamic_flag_spec='$wl-E'
9772      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9773      # Instead, shared libraries are loaded at an image base (0x10000000 by
9774      # default) and relocated if they conflict, which is a slow very memory
9775      # consuming and fragmenting process.  To avoid this, we pick a random,
9776      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9777      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9778      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9779      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'
9780      ;;
9781
9782    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9783      tmp_diet=no
9784      if test linux-dietlibc = "$host_os"; then
9785	case $cc_basename in
9786	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9787	esac
9788      fi
9789      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9790	 && test no = "$tmp_diet"
9791      then
9792	tmp_addflag=' $pic_flag'
9793	tmp_sharedflag='-shared'
9794	case $cc_basename,$host_cpu in
9795        pgcc*)				# Portland Group C compiler
9796	  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'
9797	  tmp_addflag=' $pic_flag'
9798	  ;;
9799	pgf77* | pgf90* | pgf95* | pgfortran*)
9800					# Portland Group f77 and f90 compilers
9801	  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'
9802	  tmp_addflag=' $pic_flag -Mnomain' ;;
9803	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9804	  tmp_addflag=' -i_dynamic' ;;
9805	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9806	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9807	ifc* | ifort*)			# Intel Fortran compiler
9808	  tmp_addflag=' -nofor_main' ;;
9809	lf95*)				# Lahey Fortran 8.1
9810	  whole_archive_flag_spec=
9811	  tmp_sharedflag='--shared' ;;
9812        nagfor*)                        # NAGFOR 5.3
9813          tmp_sharedflag='-Wl,-shared' ;;
9814	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9815	  tmp_sharedflag='-qmkshrobj'
9816	  tmp_addflag= ;;
9817	nvcc*)	# Cuda Compiler Driver 2.2
9818	  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'
9819	  compiler_needs_object=yes
9820	  ;;
9821	esac
9822	case `$CC -V 2>&1 | sed 5q` in
9823	*Sun\ C*)			# Sun C 5.9
9824	  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'
9825	  compiler_needs_object=yes
9826	  tmp_sharedflag='-G' ;;
9827	*Sun\ F*)			# Sun Fortran 8.3
9828	  tmp_sharedflag='-G' ;;
9829	esac
9830	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9831
9832        if test yes = "$supports_anon_versioning"; then
9833          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9834            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9835            echo "local: *; };" >> $output_objdir/$libname.ver~
9836            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9837        fi
9838
9839	case $cc_basename in
9840	tcc*)
9841	  export_dynamic_flag_spec='-rdynamic'
9842	  ;;
9843	xlf* | bgf* | bgxlf* | mpixlf*)
9844	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9845	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9846	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9847	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9848	  if test yes = "$supports_anon_versioning"; then
9849	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9850              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9851              echo "local: *; };" >> $output_objdir/$libname.ver~
9852              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9853	  fi
9854	  ;;
9855	esac
9856      else
9857        ld_shlibs=no
9858      fi
9859      ;;
9860
9861    netbsd*)
9862      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9863	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9864	wlarc=
9865      else
9866	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9867	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9868      fi
9869      ;;
9870
9871    solaris*)
9872      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9873	ld_shlibs=no
9874	cat <<_LT_EOF 1>&2
9875
9876*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9877*** create shared libraries on Solaris systems.  Therefore, libtool
9878*** is disabling shared libraries support.  We urge you to upgrade GNU
9879*** binutils to release 2.9.1 or newer.  Another option is to modify
9880*** your PATH or compiler configuration so that the native linker is
9881*** used, and then restart.
9882
9883_LT_EOF
9884      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9885	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9886	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9887      else
9888	ld_shlibs=no
9889      fi
9890      ;;
9891
9892    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9893      case `$LD -v 2>&1` in
9894        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9895	ld_shlibs=no
9896	cat <<_LT_EOF 1>&2
9897
9898*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9899*** reliably create shared libraries on SCO systems.  Therefore, libtool
9900*** is disabling shared libraries support.  We urge you to upgrade GNU
9901*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9902*** your PATH or compiler configuration so that the native linker is
9903*** used, and then restart.
9904
9905_LT_EOF
9906	;;
9907	*)
9908	  # For security reasons, it is highly recommended that you always
9909	  # use absolute paths for naming shared libraries, and exclude the
9910	  # DT_RUNPATH tag from executables and libraries.  But doing so
9911	  # requires that you compile everything twice, which is a pain.
9912	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9913	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9914	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9915	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9916	  else
9917	    ld_shlibs=no
9918	  fi
9919	;;
9920      esac
9921      ;;
9922
9923    sunos4*)
9924      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9925      wlarc=
9926      hardcode_direct=yes
9927      hardcode_shlibpath_var=no
9928      ;;
9929
9930    *)
9931      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9932	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9933	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9934      else
9935	ld_shlibs=no
9936      fi
9937      ;;
9938    esac
9939
9940    if test no = "$ld_shlibs"; then
9941      runpath_var=
9942      hardcode_libdir_flag_spec=
9943      export_dynamic_flag_spec=
9944      whole_archive_flag_spec=
9945    fi
9946  else
9947    # PORTME fill in a description of your system's linker (not GNU ld)
9948    case $host_os in
9949    aix3*)
9950      allow_undefined_flag=unsupported
9951      always_export_symbols=yes
9952      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'
9953      # Note: this linker hardcodes the directories in LIBPATH if there
9954      # are no directories specified by -L.
9955      hardcode_minus_L=yes
9956      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9957	# Neither direct hardcoding nor static linking is supported with a
9958	# broken collect2.
9959	hardcode_direct=unsupported
9960      fi
9961      ;;
9962
9963    aix[4-9]*)
9964      if test ia64 = "$host_cpu"; then
9965	# On IA64, the linker does run time linking by default, so we don't
9966	# have to do anything special.
9967	aix_use_runtimelinking=no
9968	exp_sym_flag='-Bexport'
9969	no_entry_flag=
9970      else
9971	# If we're using GNU nm, then we don't want the "-C" option.
9972	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9973	# Without the "-l" option, or with the "-B" option, AIX nm treats
9974	# weak defined symbols like other global defined symbols, whereas
9975	# GNU nm marks them as "W".
9976	# While the 'weak' keyword is ignored in the Export File, we need
9977	# it in the Import File for the 'aix-soname' feature, so we have
9978	# to replace the "-B" option with "-P" for AIX nm.
9979	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9980	  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'
9981	else
9982	  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'
9983	fi
9984	aix_use_runtimelinking=no
9985
9986	# Test if we are trying to use run time linking or normal
9987	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9988	# have runtime linking enabled, and use it for executables.
9989	# For shared libraries, we enable/disable runtime linking
9990	# depending on the kind of the shared library created -
9991	# when "with_aix_soname,aix_use_runtimelinking" is:
9992	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9993	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9994	#            lib.a           static archive
9995	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9996	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9997	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9998	#            lib.a(lib.so.V) shared, rtl:no
9999	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10000	#            lib.a           static archive
10001	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10002	  for ld_flag in $LDFLAGS; do
10003	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10004	    aix_use_runtimelinking=yes
10005	    break
10006	  fi
10007	  done
10008	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10009	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10010	    # so we don't have lib.a shared libs to link our executables.
10011	    # We have to force runtime linking in this case.
10012	    aix_use_runtimelinking=yes
10013	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10014	  fi
10015	  ;;
10016	esac
10017
10018	exp_sym_flag='-bexport'
10019	no_entry_flag='-bnoentry'
10020      fi
10021
10022      # When large executables or shared objects are built, AIX ld can
10023      # have problems creating the table of contents.  If linking a library
10024      # or program results in "error TOC overflow" add -mminimal-toc to
10025      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10026      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10027
10028      archive_cmds=''
10029      hardcode_direct=yes
10030      hardcode_direct_absolute=yes
10031      hardcode_libdir_separator=':'
10032      link_all_deplibs=yes
10033      file_list_spec='$wl-f,'
10034      case $with_aix_soname,$aix_use_runtimelinking in
10035      aix,*) ;; # traditional, no import file
10036      svr4,* | *,yes) # use import file
10037	# The Import File defines what to hardcode.
10038	hardcode_direct=no
10039	hardcode_direct_absolute=no
10040	;;
10041      esac
10042
10043      if test yes = "$GCC"; then
10044	case $host_os in aix4.[012]|aix4.[012].*)
10045	# We only want to do this on AIX 4.2 and lower, the check
10046	# below for broken collect2 doesn't work under 4.3+
10047	  collect2name=`$CC -print-prog-name=collect2`
10048	  if test -f "$collect2name" &&
10049	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10050	  then
10051	  # We have reworked collect2
10052	  :
10053	  else
10054	  # We have old collect2
10055	  hardcode_direct=unsupported
10056	  # It fails to find uninstalled libraries when the uninstalled
10057	  # path is not listed in the libpath.  Setting hardcode_minus_L
10058	  # to unsupported forces relinking
10059	  hardcode_minus_L=yes
10060	  hardcode_libdir_flag_spec='-L$libdir'
10061	  hardcode_libdir_separator=
10062	  fi
10063	  ;;
10064	esac
10065	shared_flag='-shared'
10066	if test yes = "$aix_use_runtimelinking"; then
10067	  shared_flag="$shared_flag "'$wl-G'
10068	fi
10069	# Need to ensure runtime linking is disabled for the traditional
10070	# shared library, or the linker may eventually find shared libraries
10071	# /with/ Import File - we do not want to mix them.
10072	shared_flag_aix='-shared'
10073	shared_flag_svr4='-shared $wl-G'
10074      else
10075	# not using gcc
10076	if test ia64 = "$host_cpu"; then
10077	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10078	# chokes on -Wl,-G. The following line is correct:
10079	  shared_flag='-G'
10080	else
10081	  if test yes = "$aix_use_runtimelinking"; then
10082	    shared_flag='$wl-G'
10083	  else
10084	    shared_flag='$wl-bM:SRE'
10085	  fi
10086	  shared_flag_aix='$wl-bM:SRE'
10087	  shared_flag_svr4='$wl-G'
10088	fi
10089      fi
10090
10091      export_dynamic_flag_spec='$wl-bexpall'
10092      # It seems that -bexpall does not export symbols beginning with
10093      # underscore (_), so it is better to generate a list of symbols to export.
10094      always_export_symbols=yes
10095      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10096	# Warning - without using the other runtime loading flags (-brtl),
10097	# -berok will link without error, but may produce a broken library.
10098	allow_undefined_flag='-berok'
10099        # Determine the default libpath from the value encoded in an
10100        # empty executable.
10101        if test set = "${lt_cv_aix_libpath+set}"; then
10102  aix_libpath=$lt_cv_aix_libpath
10103else
10104  if ${lt_cv_aix_libpath_+:} false; then :
10105  $as_echo_n "(cached) " >&6
10106else
10107  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108/* end confdefs.h.  */
10109
10110int
10111main ()
10112{
10113
10114  ;
10115  return 0;
10116}
10117_ACEOF
10118if ac_fn_c_try_link "$LINENO"; then :
10119
10120  lt_aix_libpath_sed='
10121      /Import File Strings/,/^$/ {
10122	  /^0/ {
10123	      s/^0  *\([^ ]*\) *$/\1/
10124	      p
10125	  }
10126      }'
10127  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10128  # Check for a 64-bit object if we didn't find anything.
10129  if test -z "$lt_cv_aix_libpath_"; then
10130    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10131  fi
10132fi
10133rm -f core conftest.err conftest.$ac_objext \
10134    conftest$ac_exeext conftest.$ac_ext
10135  if test -z "$lt_cv_aix_libpath_"; then
10136    lt_cv_aix_libpath_=/usr/lib:/lib
10137  fi
10138
10139fi
10140
10141  aix_libpath=$lt_cv_aix_libpath_
10142fi
10143
10144        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10145        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
10146      else
10147	if test ia64 = "$host_cpu"; then
10148	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10149	  allow_undefined_flag="-z nodefs"
10150	  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"
10151	else
10152	 # Determine the default libpath from the value encoded in an
10153	 # empty executable.
10154	 if test set = "${lt_cv_aix_libpath+set}"; then
10155  aix_libpath=$lt_cv_aix_libpath
10156else
10157  if ${lt_cv_aix_libpath_+:} false; then :
10158  $as_echo_n "(cached) " >&6
10159else
10160  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161/* end confdefs.h.  */
10162
10163int
10164main ()
10165{
10166
10167  ;
10168  return 0;
10169}
10170_ACEOF
10171if ac_fn_c_try_link "$LINENO"; then :
10172
10173  lt_aix_libpath_sed='
10174      /Import File Strings/,/^$/ {
10175	  /^0/ {
10176	      s/^0  *\([^ ]*\) *$/\1/
10177	      p
10178	  }
10179      }'
10180  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10181  # Check for a 64-bit object if we didn't find anything.
10182  if test -z "$lt_cv_aix_libpath_"; then
10183    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10184  fi
10185fi
10186rm -f core conftest.err conftest.$ac_objext \
10187    conftest$ac_exeext conftest.$ac_ext
10188  if test -z "$lt_cv_aix_libpath_"; then
10189    lt_cv_aix_libpath_=/usr/lib:/lib
10190  fi
10191
10192fi
10193
10194  aix_libpath=$lt_cv_aix_libpath_
10195fi
10196
10197	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10198	  # Warning - without using the other run time loading flags,
10199	  # -berok will link without error, but may produce a broken library.
10200	  no_undefined_flag=' $wl-bernotok'
10201	  allow_undefined_flag=' $wl-berok'
10202	  if test yes = "$with_gnu_ld"; then
10203	    # We only use this code for GNU lds that support --whole-archive.
10204	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10205	  else
10206	    # Exported symbols can be pulled into shared objects from archives
10207	    whole_archive_flag_spec='$convenience'
10208	  fi
10209	  archive_cmds_need_lc=yes
10210	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10211	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10212	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10213	  if test svr4 != "$with_aix_soname"; then
10214	    # This is similar to how AIX traditionally builds its shared libraries.
10215	    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'
10216	  fi
10217	  if test aix != "$with_aix_soname"; then
10218	    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'
10219	  else
10220	    # used by -dlpreopen to get the symbols
10221	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10222	  fi
10223	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10224	fi
10225      fi
10226      ;;
10227
10228    amigaos*)
10229      case $host_cpu in
10230      powerpc)
10231            # see comment about AmigaOS4 .so support
10232            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10233            archive_expsym_cmds=''
10234        ;;
10235      m68k)
10236            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)'
10237            hardcode_libdir_flag_spec='-L$libdir'
10238            hardcode_minus_L=yes
10239        ;;
10240      esac
10241      ;;
10242
10243    bsdi[45]*)
10244      export_dynamic_flag_spec=-rdynamic
10245      ;;
10246
10247    cygwin* | mingw* | pw32* | cegcc*)
10248      # When not using gcc, we currently assume that we are using
10249      # Microsoft Visual C++.
10250      # hardcode_libdir_flag_spec is actually meaningless, as there is
10251      # no search path for DLLs.
10252      case $cc_basename in
10253      cl*)
10254	# Native MSVC
10255	hardcode_libdir_flag_spec=' '
10256	allow_undefined_flag=unsupported
10257	always_export_symbols=yes
10258	file_list_spec='@'
10259	# Tell ltmain to make .lib files, not .a files.
10260	libext=lib
10261	# Tell ltmain to make .dll files, not .so files.
10262	shrext_cmds=.dll
10263	# FIXME: Setting linknames here is a bad hack.
10264	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10265	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10266            cp "$export_symbols" "$output_objdir/$soname.def";
10267            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10268          else
10269            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10270          fi~
10271          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10272          linknames='
10273	# The linker will not automatically build a static lib if we build a DLL.
10274	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10275	enable_shared_with_static_runtimes=yes
10276	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10277	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10278	# Don't use ranlib
10279	old_postinstall_cmds='chmod 644 $oldlib'
10280	postlink_cmds='lt_outputfile="@OUTPUT@"~
10281          lt_tool_outputfile="@TOOL_OUTPUT@"~
10282          case $lt_outputfile in
10283            *.exe|*.EXE) ;;
10284            *)
10285              lt_outputfile=$lt_outputfile.exe
10286              lt_tool_outputfile=$lt_tool_outputfile.exe
10287              ;;
10288          esac~
10289          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10290            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10291            $RM "$lt_outputfile.manifest";
10292          fi'
10293	;;
10294      *)
10295	# Assume MSVC wrapper
10296	hardcode_libdir_flag_spec=' '
10297	allow_undefined_flag=unsupported
10298	# Tell ltmain to make .lib files, not .a files.
10299	libext=lib
10300	# Tell ltmain to make .dll files, not .so files.
10301	shrext_cmds=.dll
10302	# FIXME: Setting linknames here is a bad hack.
10303	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10304	# The linker will automatically build a .lib file if we build a DLL.
10305	old_archive_from_new_cmds='true'
10306	# FIXME: Should let the user specify the lib program.
10307	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10308	enable_shared_with_static_runtimes=yes
10309	;;
10310      esac
10311      ;;
10312
10313    darwin* | rhapsody*)
10314
10315
10316  archive_cmds_need_lc=no
10317  hardcode_direct=no
10318  hardcode_automatic=yes
10319  hardcode_shlibpath_var=unsupported
10320  if test yes = "$lt_cv_ld_force_load"; then
10321    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\"`'
10322
10323  else
10324    whole_archive_flag_spec=''
10325  fi
10326  link_all_deplibs=yes
10327  allow_undefined_flag=$_lt_dar_allow_undefined
10328  case $cc_basename in
10329     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10330     *) _lt_dar_can_shared=$GCC ;;
10331  esac
10332  if test yes = "$_lt_dar_can_shared"; then
10333    output_verbose_link_cmd=func_echo_all
10334    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10335    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10336    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"
10337    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"
10338
10339  else
10340  ld_shlibs=no
10341  fi
10342
10343      ;;
10344
10345    dgux*)
10346      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10347      hardcode_libdir_flag_spec='-L$libdir'
10348      hardcode_shlibpath_var=no
10349      ;;
10350
10351    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10352    # support.  Future versions do this automatically, but an explicit c++rt0.o
10353    # does not break anything, and helps significantly (at the cost of a little
10354    # extra space).
10355    freebsd2.2*)
10356      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10357      hardcode_libdir_flag_spec='-R$libdir'
10358      hardcode_direct=yes
10359      hardcode_shlibpath_var=no
10360      ;;
10361
10362    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10363    freebsd2.*)
10364      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10365      hardcode_direct=yes
10366      hardcode_minus_L=yes
10367      hardcode_shlibpath_var=no
10368      ;;
10369
10370    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10371    freebsd* | dragonfly*)
10372      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10373      hardcode_libdir_flag_spec='-R$libdir'
10374      hardcode_direct=yes
10375      hardcode_shlibpath_var=no
10376      ;;
10377
10378    hpux9*)
10379      if test yes = "$GCC"; then
10380	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'
10381      else
10382	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'
10383      fi
10384      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10385      hardcode_libdir_separator=:
10386      hardcode_direct=yes
10387
10388      # hardcode_minus_L: Not really in the search PATH,
10389      # but as the default location of the library.
10390      hardcode_minus_L=yes
10391      export_dynamic_flag_spec='$wl-E'
10392      ;;
10393
10394    hpux10*)
10395      if test yes,no = "$GCC,$with_gnu_ld"; then
10396	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10397      else
10398	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10399      fi
10400      if test no = "$with_gnu_ld"; then
10401	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10402	hardcode_libdir_separator=:
10403	hardcode_direct=yes
10404	hardcode_direct_absolute=yes
10405	export_dynamic_flag_spec='$wl-E'
10406	# hardcode_minus_L: Not really in the search PATH,
10407	# but as the default location of the library.
10408	hardcode_minus_L=yes
10409      fi
10410      ;;
10411
10412    hpux11*)
10413      if test yes,no = "$GCC,$with_gnu_ld"; then
10414	case $host_cpu in
10415	hppa*64*)
10416	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10417	  ;;
10418	ia64*)
10419	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10420	  ;;
10421	*)
10422	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10423	  ;;
10424	esac
10425      else
10426	case $host_cpu in
10427	hppa*64*)
10428	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10429	  ;;
10430	ia64*)
10431	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10432	  ;;
10433	*)
10434
10435	  # Older versions of the 11.00 compiler do not understand -b yet
10436	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10437	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10438$as_echo_n "checking if $CC understands -b... " >&6; }
10439if ${lt_cv_prog_compiler__b+:} false; then :
10440  $as_echo_n "(cached) " >&6
10441else
10442  lt_cv_prog_compiler__b=no
10443   save_LDFLAGS=$LDFLAGS
10444   LDFLAGS="$LDFLAGS -b"
10445   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10446   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10447     # The linker can only warn and ignore the option if not recognized
10448     # So say no if there are warnings
10449     if test -s conftest.err; then
10450       # Append any errors to the config.log.
10451       cat conftest.err 1>&5
10452       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10453       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10454       if diff conftest.exp conftest.er2 >/dev/null; then
10455         lt_cv_prog_compiler__b=yes
10456       fi
10457     else
10458       lt_cv_prog_compiler__b=yes
10459     fi
10460   fi
10461   $RM -r conftest*
10462   LDFLAGS=$save_LDFLAGS
10463
10464fi
10465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10466$as_echo "$lt_cv_prog_compiler__b" >&6; }
10467
10468if test yes = "$lt_cv_prog_compiler__b"; then
10469    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10470else
10471    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10472fi
10473
10474	  ;;
10475	esac
10476      fi
10477      if test no = "$with_gnu_ld"; then
10478	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10479	hardcode_libdir_separator=:
10480
10481	case $host_cpu in
10482	hppa*64*|ia64*)
10483	  hardcode_direct=no
10484	  hardcode_shlibpath_var=no
10485	  ;;
10486	*)
10487	  hardcode_direct=yes
10488	  hardcode_direct_absolute=yes
10489	  export_dynamic_flag_spec='$wl-E'
10490
10491	  # hardcode_minus_L: Not really in the search PATH,
10492	  # but as the default location of the library.
10493	  hardcode_minus_L=yes
10494	  ;;
10495	esac
10496      fi
10497      ;;
10498
10499    irix5* | irix6* | nonstopux*)
10500      if test yes = "$GCC"; then
10501	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'
10502	# Try to use the -exported_symbol ld option, if it does not
10503	# work, assume that -exports_file does not work either and
10504	# implicitly export all symbols.
10505	# This should be the same for all languages, so no per-tag cache variable.
10506	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10507$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10508if ${lt_cv_irix_exported_symbol+:} false; then :
10509  $as_echo_n "(cached) " >&6
10510else
10511  save_LDFLAGS=$LDFLAGS
10512	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10513	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514/* end confdefs.h.  */
10515int foo (void) { return 0; }
10516_ACEOF
10517if ac_fn_c_try_link "$LINENO"; then :
10518  lt_cv_irix_exported_symbol=yes
10519else
10520  lt_cv_irix_exported_symbol=no
10521fi
10522rm -f core conftest.err conftest.$ac_objext \
10523    conftest$ac_exeext conftest.$ac_ext
10524           LDFLAGS=$save_LDFLAGS
10525fi
10526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10527$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10528	if test yes = "$lt_cv_irix_exported_symbol"; then
10529          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'
10530	fi
10531      else
10532	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'
10533	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'
10534      fi
10535      archive_cmds_need_lc='no'
10536      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10537      hardcode_libdir_separator=:
10538      inherit_rpath=yes
10539      link_all_deplibs=yes
10540      ;;
10541
10542    linux*)
10543      case $cc_basename in
10544      tcc*)
10545	# Fabrice Bellard et al's Tiny C Compiler
10546	ld_shlibs=yes
10547	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10548	;;
10549      esac
10550      ;;
10551
10552    netbsd*)
10553      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10554	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10555      else
10556	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10557      fi
10558      hardcode_libdir_flag_spec='-R$libdir'
10559      hardcode_direct=yes
10560      hardcode_shlibpath_var=no
10561      ;;
10562
10563    newsos6)
10564      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10565      hardcode_direct=yes
10566      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10567      hardcode_libdir_separator=:
10568      hardcode_shlibpath_var=no
10569      ;;
10570
10571    *nto* | *qnx*)
10572      ;;
10573
10574    openbsd* | bitrig*)
10575      if test -f /usr/libexec/ld.so; then
10576	hardcode_direct=yes
10577	hardcode_shlibpath_var=no
10578	hardcode_direct_absolute=yes
10579	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10580	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10581	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10582	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10583	  export_dynamic_flag_spec='$wl-E'
10584	else
10585	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10586	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10587	fi
10588      else
10589	ld_shlibs=no
10590      fi
10591      ;;
10592
10593    os2*)
10594      hardcode_libdir_flag_spec='-L$libdir'
10595      hardcode_minus_L=yes
10596      allow_undefined_flag=unsupported
10597      shrext_cmds=.dll
10598      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10599	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10600	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10601	$ECHO EXPORTS >> $output_objdir/$libname.def~
10602	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10603	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10604	emximp -o $lib $output_objdir/$libname.def'
10605      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10606	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10607	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10608	$ECHO EXPORTS >> $output_objdir/$libname.def~
10609	prefix_cmds="$SED"~
10610	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10611	  prefix_cmds="$prefix_cmds -e 1d";
10612	fi~
10613	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10614	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10615	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10616	emximp -o $lib $output_objdir/$libname.def'
10617      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10618      enable_shared_with_static_runtimes=yes
10619      ;;
10620
10621    osf3*)
10622      if test yes = "$GCC"; then
10623	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10624	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'
10625      else
10626	allow_undefined_flag=' -expect_unresolved \*'
10627	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'
10628      fi
10629      archive_cmds_need_lc='no'
10630      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10631      hardcode_libdir_separator=:
10632      ;;
10633
10634    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10635      if test yes = "$GCC"; then
10636	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10637	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'
10638	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10639      else
10640	allow_undefined_flag=' -expect_unresolved \*'
10641	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'
10642	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~
10643          $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'
10644
10645	# Both c and cxx compiler support -rpath directly
10646	hardcode_libdir_flag_spec='-rpath $libdir'
10647      fi
10648      archive_cmds_need_lc='no'
10649      hardcode_libdir_separator=:
10650      ;;
10651
10652    solaris*)
10653      no_undefined_flag=' -z defs'
10654      if test yes = "$GCC"; then
10655	wlarc='$wl'
10656	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10657	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10658          $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'
10659      else
10660	case `$CC -V 2>&1` in
10661	*"Compilers 5.0"*)
10662	  wlarc=''
10663	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10664	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10665            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10666	  ;;
10667	*)
10668	  wlarc='$wl'
10669	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10670	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10671            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10672	  ;;
10673	esac
10674      fi
10675      hardcode_libdir_flag_spec='-R$libdir'
10676      hardcode_shlibpath_var=no
10677      case $host_os in
10678      solaris2.[0-5] | solaris2.[0-5].*) ;;
10679      *)
10680	# The compiler driver will combine and reorder linker options,
10681	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10682	# but is careful enough not to reorder.
10683	# Supported since Solaris 2.6 (maybe 2.5.1?)
10684	if test yes = "$GCC"; then
10685	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10686	else
10687	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10688	fi
10689	;;
10690      esac
10691      link_all_deplibs=yes
10692      ;;
10693
10694    sunos4*)
10695      if test sequent = "$host_vendor"; then
10696	# Use $CC to link under sequent, because it throws in some extra .o
10697	# files that make .init and .fini sections work.
10698	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10699      else
10700	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10701      fi
10702      hardcode_libdir_flag_spec='-L$libdir'
10703      hardcode_direct=yes
10704      hardcode_minus_L=yes
10705      hardcode_shlibpath_var=no
10706      ;;
10707
10708    sysv4)
10709      case $host_vendor in
10710	sni)
10711	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10712	  hardcode_direct=yes # is this really true???
10713	;;
10714	siemens)
10715	  ## LD is ld it makes a PLAMLIB
10716	  ## CC just makes a GrossModule.
10717	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10718	  reload_cmds='$CC -r -o $output$reload_objs'
10719	  hardcode_direct=no
10720        ;;
10721	motorola)
10722	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10723	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10724	;;
10725      esac
10726      runpath_var='LD_RUN_PATH'
10727      hardcode_shlibpath_var=no
10728      ;;
10729
10730    sysv4.3*)
10731      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10732      hardcode_shlibpath_var=no
10733      export_dynamic_flag_spec='-Bexport'
10734      ;;
10735
10736    sysv4*MP*)
10737      if test -d /usr/nec; then
10738	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10739	hardcode_shlibpath_var=no
10740	runpath_var=LD_RUN_PATH
10741	hardcode_runpath_var=yes
10742	ld_shlibs=yes
10743      fi
10744      ;;
10745
10746    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10747      no_undefined_flag='$wl-z,text'
10748      archive_cmds_need_lc=no
10749      hardcode_shlibpath_var=no
10750      runpath_var='LD_RUN_PATH'
10751
10752      if test yes = "$GCC"; then
10753	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10754	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10755      else
10756	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10757	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10758      fi
10759      ;;
10760
10761    sysv5* | sco3.2v5* | sco5v6*)
10762      # Note: We CANNOT use -z defs as we might desire, because we do not
10763      # link with -lc, and that would cause any symbols used from libc to
10764      # always be unresolved, which means just about no library would
10765      # ever link correctly.  If we're not using GNU ld we use -z text
10766      # though, which does catch some bad symbols but isn't as heavy-handed
10767      # as -z defs.
10768      no_undefined_flag='$wl-z,text'
10769      allow_undefined_flag='$wl-z,nodefs'
10770      archive_cmds_need_lc=no
10771      hardcode_shlibpath_var=no
10772      hardcode_libdir_flag_spec='$wl-R,$libdir'
10773      hardcode_libdir_separator=':'
10774      link_all_deplibs=yes
10775      export_dynamic_flag_spec='$wl-Bexport'
10776      runpath_var='LD_RUN_PATH'
10777
10778      if test yes = "$GCC"; then
10779	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10781      else
10782	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10783	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784      fi
10785      ;;
10786
10787    uts4*)
10788      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10789      hardcode_libdir_flag_spec='-L$libdir'
10790      hardcode_shlibpath_var=no
10791      ;;
10792
10793    *)
10794      ld_shlibs=no
10795      ;;
10796    esac
10797
10798    if test sni = "$host_vendor"; then
10799      case $host in
10800      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10801	export_dynamic_flag_spec='$wl-Blargedynsym'
10802	;;
10803      esac
10804    fi
10805  fi
10806
10807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10808$as_echo "$ld_shlibs" >&6; }
10809test no = "$ld_shlibs" && can_build_shared=no
10810
10811with_gnu_ld=$with_gnu_ld
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827#
10828# Do we need to explicitly link libc?
10829#
10830case "x$archive_cmds_need_lc" in
10831x|xyes)
10832  # Assume -lc should be added
10833  archive_cmds_need_lc=yes
10834
10835  if test yes,yes = "$GCC,$enable_shared"; then
10836    case $archive_cmds in
10837    *'~'*)
10838      # FIXME: we may have to deal with multi-command sequences.
10839      ;;
10840    '$CC '*)
10841      # Test whether the compiler implicitly links with -lc since on some
10842      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10843      # to ld, don't add -lc before -lgcc.
10844      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10845$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10846if ${lt_cv_archive_cmds_need_lc+:} false; then :
10847  $as_echo_n "(cached) " >&6
10848else
10849  $RM conftest*
10850	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10851
10852	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10853  (eval $ac_compile) 2>&5
10854  ac_status=$?
10855  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10856  test $ac_status = 0; } 2>conftest.err; then
10857	  soname=conftest
10858	  lib=conftest
10859	  libobjs=conftest.$ac_objext
10860	  deplibs=
10861	  wl=$lt_prog_compiler_wl
10862	  pic_flag=$lt_prog_compiler_pic
10863	  compiler_flags=-v
10864	  linker_flags=-v
10865	  verstring=
10866	  output_objdir=.
10867	  libname=conftest
10868	  lt_save_allow_undefined_flag=$allow_undefined_flag
10869	  allow_undefined_flag=
10870	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10871  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10872  ac_status=$?
10873  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10874  test $ac_status = 0; }
10875	  then
10876	    lt_cv_archive_cmds_need_lc=no
10877	  else
10878	    lt_cv_archive_cmds_need_lc=yes
10879	  fi
10880	  allow_undefined_flag=$lt_save_allow_undefined_flag
10881	else
10882	  cat conftest.err 1>&5
10883	fi
10884	$RM conftest*
10885
10886fi
10887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10888$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10889      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10890      ;;
10891    esac
10892  fi
10893  ;;
10894esac
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11048$as_echo_n "checking dynamic linker characteristics... " >&6; }
11049
11050if test yes = "$GCC"; then
11051  case $host_os in
11052    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11053    *) lt_awk_arg='/^libraries:/' ;;
11054  esac
11055  case $host_os in
11056    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11057    *) lt_sed_strip_eq='s|=/|/|g' ;;
11058  esac
11059  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11060  case $lt_search_path_spec in
11061  *\;*)
11062    # if the path contains ";" then we assume it to be the separator
11063    # otherwise default to the standard path separator (i.e. ":") - it is
11064    # assumed that no part of a normal pathname contains ";" but that should
11065    # okay in the real world where ";" in dirpaths is itself problematic.
11066    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11067    ;;
11068  *)
11069    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11070    ;;
11071  esac
11072  # Ok, now we have the path, separated by spaces, we can step through it
11073  # and add multilib dir if necessary...
11074  lt_tmp_lt_search_path_spec=
11075  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11076  # ...but if some path component already ends with the multilib dir we assume
11077  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11078  case "$lt_multi_os_dir; $lt_search_path_spec " in
11079  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11080    lt_multi_os_dir=
11081    ;;
11082  esac
11083  for lt_sys_path in $lt_search_path_spec; do
11084    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11085      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11086    elif test -n "$lt_multi_os_dir"; then
11087      test -d "$lt_sys_path" && \
11088	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11089    fi
11090  done
11091  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11092BEGIN {RS = " "; FS = "/|\n";} {
11093  lt_foo = "";
11094  lt_count = 0;
11095  for (lt_i = NF; lt_i > 0; lt_i--) {
11096    if ($lt_i != "" && $lt_i != ".") {
11097      if ($lt_i == "..") {
11098        lt_count++;
11099      } else {
11100        if (lt_count == 0) {
11101          lt_foo = "/" $lt_i lt_foo;
11102        } else {
11103          lt_count--;
11104        }
11105      }
11106    }
11107  }
11108  if (lt_foo != "") { lt_freq[lt_foo]++; }
11109  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11110}'`
11111  # AWK program above erroneously prepends '/' to C:/dos/paths
11112  # for these hosts.
11113  case $host_os in
11114    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11115      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11116  esac
11117  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11118else
11119  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11120fi
11121library_names_spec=
11122libname_spec='lib$name'
11123soname_spec=
11124shrext_cmds=.so
11125postinstall_cmds=
11126postuninstall_cmds=
11127finish_cmds=
11128finish_eval=
11129shlibpath_var=
11130shlibpath_overrides_runpath=unknown
11131version_type=none
11132dynamic_linker="$host_os ld.so"
11133sys_lib_dlsearch_path_spec="/lib /usr/lib"
11134need_lib_prefix=unknown
11135hardcode_into_libs=no
11136
11137# when you set need_version to no, make sure it does not cause -set_version
11138# flags to be left without arguments
11139need_version=unknown
11140
11141
11142
11143case $host_os in
11144aix3*)
11145  version_type=linux # correct to gnu/linux during the next big refactor
11146  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11147  shlibpath_var=LIBPATH
11148
11149  # AIX 3 has no versioning support, so we append a major version to the name.
11150  soname_spec='$libname$release$shared_ext$major'
11151  ;;
11152
11153aix[4-9]*)
11154  version_type=linux # correct to gnu/linux during the next big refactor
11155  need_lib_prefix=no
11156  need_version=no
11157  hardcode_into_libs=yes
11158  if test ia64 = "$host_cpu"; then
11159    # AIX 5 supports IA64
11160    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11161    shlibpath_var=LD_LIBRARY_PATH
11162  else
11163    # With GCC up to 2.95.x, collect2 would create an import file
11164    # for dependence libraries.  The import file would start with
11165    # the line '#! .'.  This would cause the generated library to
11166    # depend on '.', always an invalid library.  This was fixed in
11167    # development snapshots of GCC prior to 3.0.
11168    case $host_os in
11169      aix4 | aix4.[01] | aix4.[01].*)
11170      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11171	   echo ' yes '
11172	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11173	:
11174      else
11175	can_build_shared=no
11176      fi
11177      ;;
11178    esac
11179    # Using Import Files as archive members, it is possible to support
11180    # filename-based versioning of shared library archives on AIX. While
11181    # this would work for both with and without runtime linking, it will
11182    # prevent static linking of such archives. So we do filename-based
11183    # shared library versioning with .so extension only, which is used
11184    # when both runtime linking and shared linking is enabled.
11185    # Unfortunately, runtime linking may impact performance, so we do
11186    # not want this to be the default eventually. Also, we use the
11187    # versioned .so libs for executables only if there is the -brtl
11188    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11189    # To allow for filename-based versioning support, we need to create
11190    # libNAME.so.V as an archive file, containing:
11191    # *) an Import File, referring to the versioned filename of the
11192    #    archive as well as the shared archive member, telling the
11193    #    bitwidth (32 or 64) of that shared object, and providing the
11194    #    list of exported symbols of that shared object, eventually
11195    #    decorated with the 'weak' keyword
11196    # *) the shared object with the F_LOADONLY flag set, to really avoid
11197    #    it being seen by the linker.
11198    # At run time we better use the real file rather than another symlink,
11199    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11200
11201    case $with_aix_soname,$aix_use_runtimelinking in
11202    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11203    # soname into executable. Probably we can add versioning support to
11204    # collect2, so additional links can be useful in future.
11205    aix,yes) # traditional libtool
11206      dynamic_linker='AIX unversionable lib.so'
11207      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11208      # instead of lib<name>.a to let people know that these are not
11209      # typical AIX shared libraries.
11210      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11211      ;;
11212    aix,no) # traditional AIX only
11213      dynamic_linker='AIX lib.a(lib.so.V)'
11214      # We preserve .a as extension for shared libraries through AIX4.2
11215      # and later when we are not doing run time linking.
11216      library_names_spec='$libname$release.a $libname.a'
11217      soname_spec='$libname$release$shared_ext$major'
11218      ;;
11219    svr4,*) # full svr4 only
11220      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11221      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11222      # We do not specify a path in Import Files, so LIBPATH fires.
11223      shlibpath_overrides_runpath=yes
11224      ;;
11225    *,yes) # both, prefer svr4
11226      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11227      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11228      # unpreferred sharedlib libNAME.a needs extra handling
11229      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"'
11230      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"'
11231      # We do not specify a path in Import Files, so LIBPATH fires.
11232      shlibpath_overrides_runpath=yes
11233      ;;
11234    *,no) # both, prefer aix
11235      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11236      library_names_spec='$libname$release.a $libname.a'
11237      soname_spec='$libname$release$shared_ext$major'
11238      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11239      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)'
11240      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"'
11241      ;;
11242    esac
11243    shlibpath_var=LIBPATH
11244  fi
11245  ;;
11246
11247amigaos*)
11248  case $host_cpu in
11249  powerpc)
11250    # Since July 2007 AmigaOS4 officially supports .so libraries.
11251    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11252    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11253    ;;
11254  m68k)
11255    library_names_spec='$libname.ixlibrary $libname.a'
11256    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11257    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'
11258    ;;
11259  esac
11260  ;;
11261
11262beos*)
11263  library_names_spec='$libname$shared_ext'
11264  dynamic_linker="$host_os ld.so"
11265  shlibpath_var=LIBRARY_PATH
11266  ;;
11267
11268bsdi[45]*)
11269  version_type=linux # correct to gnu/linux during the next big refactor
11270  need_version=no
11271  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11272  soname_spec='$libname$release$shared_ext$major'
11273  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11274  shlibpath_var=LD_LIBRARY_PATH
11275  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11276  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11277  # the default ld.so.conf also contains /usr/contrib/lib and
11278  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11279  # libtool to hard-code these into programs
11280  ;;
11281
11282cygwin* | mingw* | pw32* | cegcc*)
11283  version_type=windows
11284  shrext_cmds=.dll
11285  need_version=no
11286  need_lib_prefix=no
11287
11288  case $GCC,$cc_basename in
11289  yes,*)
11290    # gcc
11291    library_names_spec='$libname.dll.a'
11292    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11293    postinstall_cmds='base_file=`basename \$file`~
11294      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11295      dldir=$destdir/`dirname \$dlpath`~
11296      test -d \$dldir || mkdir -p \$dldir~
11297      $install_prog $dir/$dlname \$dldir/$dlname~
11298      chmod a+x \$dldir/$dlname~
11299      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11300        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11301      fi'
11302    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11303      dlpath=$dir/\$dldll~
11304       $RM \$dlpath'
11305    shlibpath_overrides_runpath=yes
11306
11307    case $host_os in
11308    cygwin*)
11309      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11310      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11311
11312      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11313      ;;
11314    mingw* | cegcc*)
11315      # MinGW DLLs use traditional 'lib' prefix
11316      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11317      ;;
11318    pw32*)
11319      # pw32 DLLs use 'pw' prefix rather than 'lib'
11320      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11321      ;;
11322    esac
11323    dynamic_linker='Win32 ld.exe'
11324    ;;
11325
11326  *,cl*)
11327    # Native MSVC
11328    libname_spec='$name'
11329    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11330    library_names_spec='$libname.dll.lib'
11331
11332    case $build_os in
11333    mingw*)
11334      sys_lib_search_path_spec=
11335      lt_save_ifs=$IFS
11336      IFS=';'
11337      for lt_path in $LIB
11338      do
11339        IFS=$lt_save_ifs
11340        # Let DOS variable expansion print the short 8.3 style file name.
11341        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11342        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11343      done
11344      IFS=$lt_save_ifs
11345      # Convert to MSYS style.
11346      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11347      ;;
11348    cygwin*)
11349      # Convert to unix form, then to dos form, then back to unix form
11350      # but this time dos style (no spaces!) so that the unix form looks
11351      # like /cygdrive/c/PROGRA~1:/cygdr...
11352      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11353      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11354      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11355      ;;
11356    *)
11357      sys_lib_search_path_spec=$LIB
11358      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11359        # It is most probably a Windows format PATH.
11360        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11361      else
11362        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11363      fi
11364      # FIXME: find the short name or the path components, as spaces are
11365      # common. (e.g. "Program Files" -> "PROGRA~1")
11366      ;;
11367    esac
11368
11369    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11370    postinstall_cmds='base_file=`basename \$file`~
11371      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11372      dldir=$destdir/`dirname \$dlpath`~
11373      test -d \$dldir || mkdir -p \$dldir~
11374      $install_prog $dir/$dlname \$dldir/$dlname'
11375    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11376      dlpath=$dir/\$dldll~
11377       $RM \$dlpath'
11378    shlibpath_overrides_runpath=yes
11379    dynamic_linker='Win32 link.exe'
11380    ;;
11381
11382  *)
11383    # Assume MSVC wrapper
11384    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11385    dynamic_linker='Win32 ld.exe'
11386    ;;
11387  esac
11388  # FIXME: first we should search . and the directory the executable is in
11389  shlibpath_var=PATH
11390  ;;
11391
11392darwin* | rhapsody*)
11393  dynamic_linker="$host_os dyld"
11394  version_type=darwin
11395  need_lib_prefix=no
11396  need_version=no
11397  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11398  soname_spec='$libname$release$major$shared_ext'
11399  shlibpath_overrides_runpath=yes
11400  shlibpath_var=DYLD_LIBRARY_PATH
11401  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11402
11403  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11404  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11405  ;;
11406
11407dgux*)
11408  version_type=linux # correct to gnu/linux during the next big refactor
11409  need_lib_prefix=no
11410  need_version=no
11411  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11412  soname_spec='$libname$release$shared_ext$major'
11413  shlibpath_var=LD_LIBRARY_PATH
11414  ;;
11415
11416freebsd* | dragonfly*)
11417  # DragonFly does not have aout.  When/if they implement a new
11418  # versioning mechanism, adjust this.
11419  if test -x /usr/bin/objformat; then
11420    objformat=`/usr/bin/objformat`
11421  else
11422    case $host_os in
11423    freebsd[23].*) objformat=aout ;;
11424    *) objformat=elf ;;
11425    esac
11426  fi
11427  version_type=freebsd-$objformat
11428  case $version_type in
11429    freebsd-elf*)
11430      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11431      soname_spec='$libname$release$shared_ext$major'
11432      need_version=no
11433      need_lib_prefix=no
11434      ;;
11435    freebsd-*)
11436      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11437      need_version=yes
11438      ;;
11439  esac
11440  shlibpath_var=LD_LIBRARY_PATH
11441  case $host_os in
11442  freebsd2.*)
11443    shlibpath_overrides_runpath=yes
11444    ;;
11445  freebsd3.[01]* | freebsdelf3.[01]*)
11446    shlibpath_overrides_runpath=yes
11447    hardcode_into_libs=yes
11448    ;;
11449  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11450  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11451    shlibpath_overrides_runpath=no
11452    hardcode_into_libs=yes
11453    ;;
11454  *) # from 4.6 on, and DragonFly
11455    shlibpath_overrides_runpath=yes
11456    hardcode_into_libs=yes
11457    ;;
11458  esac
11459  ;;
11460
11461haiku*)
11462  version_type=linux # correct to gnu/linux during the next big refactor
11463  need_lib_prefix=no
11464  need_version=no
11465  dynamic_linker="$host_os runtime_loader"
11466  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11467  soname_spec='$libname$release$shared_ext$major'
11468  shlibpath_var=LIBRARY_PATH
11469  shlibpath_overrides_runpath=no
11470  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11471  hardcode_into_libs=yes
11472  ;;
11473
11474hpux9* | hpux10* | hpux11*)
11475  # Give a soname corresponding to the major version so that dld.sl refuses to
11476  # link against other versions.
11477  version_type=sunos
11478  need_lib_prefix=no
11479  need_version=no
11480  case $host_cpu in
11481  ia64*)
11482    shrext_cmds='.so'
11483    hardcode_into_libs=yes
11484    dynamic_linker="$host_os dld.so"
11485    shlibpath_var=LD_LIBRARY_PATH
11486    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11487    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11488    soname_spec='$libname$release$shared_ext$major'
11489    if test 32 = "$HPUX_IA64_MODE"; then
11490      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11491      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11492    else
11493      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11494      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11495    fi
11496    ;;
11497  hppa*64*)
11498    shrext_cmds='.sl'
11499    hardcode_into_libs=yes
11500    dynamic_linker="$host_os dld.sl"
11501    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11502    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11503    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11504    soname_spec='$libname$release$shared_ext$major'
11505    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11506    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11507    ;;
11508  *)
11509    shrext_cmds='.sl'
11510    dynamic_linker="$host_os dld.sl"
11511    shlibpath_var=SHLIB_PATH
11512    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11513    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11514    soname_spec='$libname$release$shared_ext$major'
11515    ;;
11516  esac
11517  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11518  postinstall_cmds='chmod 555 $lib'
11519  # or fails outright, so override atomically:
11520  install_override_mode=555
11521  ;;
11522
11523interix[3-9]*)
11524  version_type=linux # correct to gnu/linux during the next big refactor
11525  need_lib_prefix=no
11526  need_version=no
11527  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11528  soname_spec='$libname$release$shared_ext$major'
11529  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11530  shlibpath_var=LD_LIBRARY_PATH
11531  shlibpath_overrides_runpath=no
11532  hardcode_into_libs=yes
11533  ;;
11534
11535irix5* | irix6* | nonstopux*)
11536  case $host_os in
11537    nonstopux*) version_type=nonstopux ;;
11538    *)
11539	if test yes = "$lt_cv_prog_gnu_ld"; then
11540		version_type=linux # correct to gnu/linux during the next big refactor
11541	else
11542		version_type=irix
11543	fi ;;
11544  esac
11545  need_lib_prefix=no
11546  need_version=no
11547  soname_spec='$libname$release$shared_ext$major'
11548  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11549  case $host_os in
11550  irix5* | nonstopux*)
11551    libsuff= shlibsuff=
11552    ;;
11553  *)
11554    case $LD in # libtool.m4 will add one of these switches to LD
11555    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11556      libsuff= shlibsuff= libmagic=32-bit;;
11557    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11558      libsuff=32 shlibsuff=N32 libmagic=N32;;
11559    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11560      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11561    *) libsuff= shlibsuff= libmagic=never-match;;
11562    esac
11563    ;;
11564  esac
11565  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11566  shlibpath_overrides_runpath=no
11567  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11568  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11569  hardcode_into_libs=yes
11570  ;;
11571
11572# No shared lib support for Linux oldld, aout, or coff.
11573linux*oldld* | linux*aout* | linux*coff*)
11574  dynamic_linker=no
11575  ;;
11576
11577linux*android*)
11578  version_type=none # Android doesn't support versioned libraries.
11579  need_lib_prefix=no
11580  need_version=no
11581  library_names_spec='$libname$release$shared_ext'
11582  soname_spec='$libname$release$shared_ext'
11583  finish_cmds=
11584  shlibpath_var=LD_LIBRARY_PATH
11585  shlibpath_overrides_runpath=yes
11586
11587  # This implies no fast_install, which is unacceptable.
11588  # Some rework will be needed to allow for fast_install
11589  # before this can be enabled.
11590  hardcode_into_libs=yes
11591
11592  dynamic_linker='Android linker'
11593  # Don't embed -rpath directories since the linker doesn't support them.
11594  hardcode_libdir_flag_spec='-L$libdir'
11595  ;;
11596
11597# This must be glibc/ELF.
11598linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11599  version_type=linux # correct to gnu/linux during the next big refactor
11600  need_lib_prefix=no
11601  need_version=no
11602  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11603  soname_spec='$libname$release$shared_ext$major'
11604  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11605  shlibpath_var=LD_LIBRARY_PATH
11606  shlibpath_overrides_runpath=no
11607
11608  # Some binutils ld are patched to set DT_RUNPATH
11609  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11610  $as_echo_n "(cached) " >&6
11611else
11612  lt_cv_shlibpath_overrides_runpath=no
11613    save_LDFLAGS=$LDFLAGS
11614    save_libdir=$libdir
11615    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11616	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11617    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618/* end confdefs.h.  */
11619
11620int
11621main ()
11622{
11623
11624  ;
11625  return 0;
11626}
11627_ACEOF
11628if ac_fn_c_try_link "$LINENO"; then :
11629  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11630  lt_cv_shlibpath_overrides_runpath=yes
11631fi
11632fi
11633rm -f core conftest.err conftest.$ac_objext \
11634    conftest$ac_exeext conftest.$ac_ext
11635    LDFLAGS=$save_LDFLAGS
11636    libdir=$save_libdir
11637
11638fi
11639
11640  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11641
11642  # This implies no fast_install, which is unacceptable.
11643  # Some rework will be needed to allow for fast_install
11644  # before this can be enabled.
11645  hardcode_into_libs=yes
11646
11647  # Ideally, we could use ldconfig to report *all* directores which are
11648  # searched for libraries, however this is still not possible.  Aside from not
11649  # being certain /sbin/ldconfig is available, command
11650  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11651  # even though it is searched at run-time.  Try to do the best guess by
11652  # appending ld.so.conf contents (and includes) to the search path.
11653  if test -f /etc/ld.so.conf; then
11654    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' ' '`
11655    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11656  fi
11657
11658  # We used to test for /lib/ld.so.1 and disable shared libraries on
11659  # powerpc, because MkLinux only supported shared libraries with the
11660  # GNU dynamic linker.  Since this was broken with cross compilers,
11661  # most powerpc-linux boxes support dynamic linking these days and
11662  # people can always --disable-shared, the test was removed, and we
11663  # assume the GNU/Linux dynamic linker is in use.
11664  dynamic_linker='GNU/Linux ld.so'
11665  ;;
11666
11667netbsd*)
11668  version_type=sunos
11669  need_lib_prefix=no
11670  need_version=no
11671  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11672    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11673    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11674    dynamic_linker='NetBSD (a.out) ld.so'
11675  else
11676    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11677    soname_spec='$libname$release$shared_ext$major'
11678    dynamic_linker='NetBSD ld.elf_so'
11679  fi
11680  shlibpath_var=LD_LIBRARY_PATH
11681  shlibpath_overrides_runpath=yes
11682  hardcode_into_libs=yes
11683  ;;
11684
11685newsos6)
11686  version_type=linux # correct to gnu/linux during the next big refactor
11687  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11688  shlibpath_var=LD_LIBRARY_PATH
11689  shlibpath_overrides_runpath=yes
11690  ;;
11691
11692*nto* | *qnx*)
11693  version_type=qnx
11694  need_lib_prefix=no
11695  need_version=no
11696  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11697  soname_spec='$libname$release$shared_ext$major'
11698  shlibpath_var=LD_LIBRARY_PATH
11699  shlibpath_overrides_runpath=no
11700  hardcode_into_libs=yes
11701  dynamic_linker='ldqnx.so'
11702  ;;
11703
11704openbsd* | bitrig*)
11705  version_type=sunos
11706  sys_lib_dlsearch_path_spec=/usr/lib
11707  need_lib_prefix=no
11708  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11709    need_version=no
11710  else
11711    need_version=yes
11712  fi
11713  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11714  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11715  shlibpath_var=LD_LIBRARY_PATH
11716  shlibpath_overrides_runpath=yes
11717  ;;
11718
11719os2*)
11720  libname_spec='$name'
11721  version_type=windows
11722  shrext_cmds=.dll
11723  need_version=no
11724  need_lib_prefix=no
11725  # OS/2 can only load a DLL with a base name of 8 characters or less.
11726  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11727    v=$($ECHO $release$versuffix | tr -d .-);
11728    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11729    $ECHO $n$v`$shared_ext'
11730  library_names_spec='${libname}_dll.$libext'
11731  dynamic_linker='OS/2 ld.exe'
11732  shlibpath_var=BEGINLIBPATH
11733  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11734  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11735  postinstall_cmds='base_file=`basename \$file`~
11736    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11737    dldir=$destdir/`dirname \$dlpath`~
11738    test -d \$dldir || mkdir -p \$dldir~
11739    $install_prog $dir/$dlname \$dldir/$dlname~
11740    chmod a+x \$dldir/$dlname~
11741    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11742      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11743    fi'
11744  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11745    dlpath=$dir/\$dldll~
11746    $RM \$dlpath'
11747  ;;
11748
11749osf3* | osf4* | osf5*)
11750  version_type=osf
11751  need_lib_prefix=no
11752  need_version=no
11753  soname_spec='$libname$release$shared_ext$major'
11754  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11755  shlibpath_var=LD_LIBRARY_PATH
11756  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11757  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11758  ;;
11759
11760rdos*)
11761  dynamic_linker=no
11762  ;;
11763
11764solaris*)
11765  version_type=linux # correct to gnu/linux during the next big refactor
11766  need_lib_prefix=no
11767  need_version=no
11768  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11769  soname_spec='$libname$release$shared_ext$major'
11770  shlibpath_var=LD_LIBRARY_PATH
11771  shlibpath_overrides_runpath=yes
11772  hardcode_into_libs=yes
11773  # ldd complains unless libraries are executable
11774  postinstall_cmds='chmod +x $lib'
11775  ;;
11776
11777sunos4*)
11778  version_type=sunos
11779  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11780  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11781  shlibpath_var=LD_LIBRARY_PATH
11782  shlibpath_overrides_runpath=yes
11783  if test yes = "$with_gnu_ld"; then
11784    need_lib_prefix=no
11785  fi
11786  need_version=yes
11787  ;;
11788
11789sysv4 | sysv4.3*)
11790  version_type=linux # correct to gnu/linux during the next big refactor
11791  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11792  soname_spec='$libname$release$shared_ext$major'
11793  shlibpath_var=LD_LIBRARY_PATH
11794  case $host_vendor in
11795    sni)
11796      shlibpath_overrides_runpath=no
11797      need_lib_prefix=no
11798      runpath_var=LD_RUN_PATH
11799      ;;
11800    siemens)
11801      need_lib_prefix=no
11802      ;;
11803    motorola)
11804      need_lib_prefix=no
11805      need_version=no
11806      shlibpath_overrides_runpath=no
11807      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11808      ;;
11809  esac
11810  ;;
11811
11812sysv4*MP*)
11813  if test -d /usr/nec; then
11814    version_type=linux # correct to gnu/linux during the next big refactor
11815    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11816    soname_spec='$libname$shared_ext.$major'
11817    shlibpath_var=LD_LIBRARY_PATH
11818  fi
11819  ;;
11820
11821sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11822  version_type=sco
11823  need_lib_prefix=no
11824  need_version=no
11825  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11826  soname_spec='$libname$release$shared_ext$major'
11827  shlibpath_var=LD_LIBRARY_PATH
11828  shlibpath_overrides_runpath=yes
11829  hardcode_into_libs=yes
11830  if test yes = "$with_gnu_ld"; then
11831    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11832  else
11833    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11834    case $host_os in
11835      sco3.2v5*)
11836        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11837	;;
11838    esac
11839  fi
11840  sys_lib_dlsearch_path_spec='/usr/lib'
11841  ;;
11842
11843tpf*)
11844  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11845  version_type=linux # correct to gnu/linux during the next big refactor
11846  need_lib_prefix=no
11847  need_version=no
11848  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11849  shlibpath_var=LD_LIBRARY_PATH
11850  shlibpath_overrides_runpath=no
11851  hardcode_into_libs=yes
11852  ;;
11853
11854uts4*)
11855  version_type=linux # correct to gnu/linux during the next big refactor
11856  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11857  soname_spec='$libname$release$shared_ext$major'
11858  shlibpath_var=LD_LIBRARY_PATH
11859  ;;
11860
11861*)
11862  dynamic_linker=no
11863  ;;
11864esac
11865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11866$as_echo "$dynamic_linker" >&6; }
11867test no = "$dynamic_linker" && can_build_shared=no
11868
11869variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11870if test yes = "$GCC"; then
11871  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11872fi
11873
11874if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11875  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11876fi
11877
11878if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11879  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11880fi
11881
11882# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11883configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11884
11885# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11886func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11887
11888# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11889configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11988$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11989hardcode_action=
11990if test -n "$hardcode_libdir_flag_spec" ||
11991   test -n "$runpath_var" ||
11992   test yes = "$hardcode_automatic"; then
11993
11994  # We can hardcode non-existent directories.
11995  if test no != "$hardcode_direct" &&
11996     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11997     # have to relink, otherwise we might link with an installed library
11998     # when we should be linking with a yet-to-be-installed one
11999     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12000     test no != "$hardcode_minus_L"; then
12001    # Linking always hardcodes the temporary library directory.
12002    hardcode_action=relink
12003  else
12004    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12005    hardcode_action=immediate
12006  fi
12007else
12008  # We cannot hardcode anything, or else we can only hardcode existing
12009  # directories.
12010  hardcode_action=unsupported
12011fi
12012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12013$as_echo "$hardcode_action" >&6; }
12014
12015if test relink = "$hardcode_action" ||
12016   test yes = "$inherit_rpath"; then
12017  # Fast installation is not supported
12018  enable_fast_install=no
12019elif test yes = "$shlibpath_overrides_runpath" ||
12020     test no = "$enable_shared"; then
12021  # Fast installation is not necessary
12022  enable_fast_install=needless
12023fi
12024
12025
12026
12027
12028
12029
12030  if test yes != "$enable_dlopen"; then
12031  enable_dlopen=unknown
12032  enable_dlopen_self=unknown
12033  enable_dlopen_self_static=unknown
12034else
12035  lt_cv_dlopen=no
12036  lt_cv_dlopen_libs=
12037
12038  case $host_os in
12039  beos*)
12040    lt_cv_dlopen=load_add_on
12041    lt_cv_dlopen_libs=
12042    lt_cv_dlopen_self=yes
12043    ;;
12044
12045  mingw* | pw32* | cegcc*)
12046    lt_cv_dlopen=LoadLibrary
12047    lt_cv_dlopen_libs=
12048    ;;
12049
12050  cygwin*)
12051    lt_cv_dlopen=dlopen
12052    lt_cv_dlopen_libs=
12053    ;;
12054
12055  darwin*)
12056    # if libdl is installed we need to link against it
12057    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12058$as_echo_n "checking for dlopen in -ldl... " >&6; }
12059if ${ac_cv_lib_dl_dlopen+:} false; then :
12060  $as_echo_n "(cached) " >&6
12061else
12062  ac_check_lib_save_LIBS=$LIBS
12063LIBS="-ldl  $LIBS"
12064cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065/* end confdefs.h.  */
12066
12067/* Override any GCC internal prototype to avoid an error.
12068   Use char because int might match the return type of a GCC
12069   builtin and then its argument prototype would still apply.  */
12070#ifdef __cplusplus
12071extern "C"
12072#endif
12073char dlopen ();
12074int
12075main ()
12076{
12077return dlopen ();
12078  ;
12079  return 0;
12080}
12081_ACEOF
12082if ac_fn_c_try_link "$LINENO"; then :
12083  ac_cv_lib_dl_dlopen=yes
12084else
12085  ac_cv_lib_dl_dlopen=no
12086fi
12087rm -f core conftest.err conftest.$ac_objext \
12088    conftest$ac_exeext conftest.$ac_ext
12089LIBS=$ac_check_lib_save_LIBS
12090fi
12091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12092$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12093if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12094  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12095else
12096
12097    lt_cv_dlopen=dyld
12098    lt_cv_dlopen_libs=
12099    lt_cv_dlopen_self=yes
12100
12101fi
12102
12103    ;;
12104
12105  tpf*)
12106    # Don't try to run any link tests for TPF.  We know it's impossible
12107    # because TPF is a cross-compiler, and we know how we open DSOs.
12108    lt_cv_dlopen=dlopen
12109    lt_cv_dlopen_libs=
12110    lt_cv_dlopen_self=no
12111    ;;
12112
12113  *)
12114    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12115if test "x$ac_cv_func_shl_load" = xyes; then :
12116  lt_cv_dlopen=shl_load
12117else
12118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12119$as_echo_n "checking for shl_load in -ldld... " >&6; }
12120if ${ac_cv_lib_dld_shl_load+:} false; then :
12121  $as_echo_n "(cached) " >&6
12122else
12123  ac_check_lib_save_LIBS=$LIBS
12124LIBS="-ldld  $LIBS"
12125cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126/* end confdefs.h.  */
12127
12128/* Override any GCC internal prototype to avoid an error.
12129   Use char because int might match the return type of a GCC
12130   builtin and then its argument prototype would still apply.  */
12131#ifdef __cplusplus
12132extern "C"
12133#endif
12134char shl_load ();
12135int
12136main ()
12137{
12138return shl_load ();
12139  ;
12140  return 0;
12141}
12142_ACEOF
12143if ac_fn_c_try_link "$LINENO"; then :
12144  ac_cv_lib_dld_shl_load=yes
12145else
12146  ac_cv_lib_dld_shl_load=no
12147fi
12148rm -f core conftest.err conftest.$ac_objext \
12149    conftest$ac_exeext conftest.$ac_ext
12150LIBS=$ac_check_lib_save_LIBS
12151fi
12152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12153$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12154if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12155  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12156else
12157  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12158if test "x$ac_cv_func_dlopen" = xyes; then :
12159  lt_cv_dlopen=dlopen
12160else
12161  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12162$as_echo_n "checking for dlopen in -ldl... " >&6; }
12163if ${ac_cv_lib_dl_dlopen+:} false; then :
12164  $as_echo_n "(cached) " >&6
12165else
12166  ac_check_lib_save_LIBS=$LIBS
12167LIBS="-ldl  $LIBS"
12168cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169/* end confdefs.h.  */
12170
12171/* Override any GCC internal prototype to avoid an error.
12172   Use char because int might match the return type of a GCC
12173   builtin and then its argument prototype would still apply.  */
12174#ifdef __cplusplus
12175extern "C"
12176#endif
12177char dlopen ();
12178int
12179main ()
12180{
12181return dlopen ();
12182  ;
12183  return 0;
12184}
12185_ACEOF
12186if ac_fn_c_try_link "$LINENO"; then :
12187  ac_cv_lib_dl_dlopen=yes
12188else
12189  ac_cv_lib_dl_dlopen=no
12190fi
12191rm -f core conftest.err conftest.$ac_objext \
12192    conftest$ac_exeext conftest.$ac_ext
12193LIBS=$ac_check_lib_save_LIBS
12194fi
12195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12196$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12197if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12198  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12199else
12200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12201$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12202if ${ac_cv_lib_svld_dlopen+:} false; then :
12203  $as_echo_n "(cached) " >&6
12204else
12205  ac_check_lib_save_LIBS=$LIBS
12206LIBS="-lsvld  $LIBS"
12207cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208/* end confdefs.h.  */
12209
12210/* Override any GCC internal prototype to avoid an error.
12211   Use char because int might match the return type of a GCC
12212   builtin and then its argument prototype would still apply.  */
12213#ifdef __cplusplus
12214extern "C"
12215#endif
12216char dlopen ();
12217int
12218main ()
12219{
12220return dlopen ();
12221  ;
12222  return 0;
12223}
12224_ACEOF
12225if ac_fn_c_try_link "$LINENO"; then :
12226  ac_cv_lib_svld_dlopen=yes
12227else
12228  ac_cv_lib_svld_dlopen=no
12229fi
12230rm -f core conftest.err conftest.$ac_objext \
12231    conftest$ac_exeext conftest.$ac_ext
12232LIBS=$ac_check_lib_save_LIBS
12233fi
12234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12235$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12236if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12237  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12238else
12239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12240$as_echo_n "checking for dld_link in -ldld... " >&6; }
12241if ${ac_cv_lib_dld_dld_link+:} false; then :
12242  $as_echo_n "(cached) " >&6
12243else
12244  ac_check_lib_save_LIBS=$LIBS
12245LIBS="-ldld  $LIBS"
12246cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12247/* end confdefs.h.  */
12248
12249/* Override any GCC internal prototype to avoid an error.
12250   Use char because int might match the return type of a GCC
12251   builtin and then its argument prototype would still apply.  */
12252#ifdef __cplusplus
12253extern "C"
12254#endif
12255char dld_link ();
12256int
12257main ()
12258{
12259return dld_link ();
12260  ;
12261  return 0;
12262}
12263_ACEOF
12264if ac_fn_c_try_link "$LINENO"; then :
12265  ac_cv_lib_dld_dld_link=yes
12266else
12267  ac_cv_lib_dld_dld_link=no
12268fi
12269rm -f core conftest.err conftest.$ac_objext \
12270    conftest$ac_exeext conftest.$ac_ext
12271LIBS=$ac_check_lib_save_LIBS
12272fi
12273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12274$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12275if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12276  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12277fi
12278
12279
12280fi
12281
12282
12283fi
12284
12285
12286fi
12287
12288
12289fi
12290
12291
12292fi
12293
12294    ;;
12295  esac
12296
12297  if test no = "$lt_cv_dlopen"; then
12298    enable_dlopen=no
12299  else
12300    enable_dlopen=yes
12301  fi
12302
12303  case $lt_cv_dlopen in
12304  dlopen)
12305    save_CPPFLAGS=$CPPFLAGS
12306    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12307
12308    save_LDFLAGS=$LDFLAGS
12309    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12310
12311    save_LIBS=$LIBS
12312    LIBS="$lt_cv_dlopen_libs $LIBS"
12313
12314    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12315$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12316if ${lt_cv_dlopen_self+:} false; then :
12317  $as_echo_n "(cached) " >&6
12318else
12319  	  if test yes = "$cross_compiling"; then :
12320  lt_cv_dlopen_self=cross
12321else
12322  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12323  lt_status=$lt_dlunknown
12324  cat > conftest.$ac_ext <<_LT_EOF
12325#line $LINENO "configure"
12326#include "confdefs.h"
12327
12328#if HAVE_DLFCN_H
12329#include <dlfcn.h>
12330#endif
12331
12332#include <stdio.h>
12333
12334#ifdef RTLD_GLOBAL
12335#  define LT_DLGLOBAL		RTLD_GLOBAL
12336#else
12337#  ifdef DL_GLOBAL
12338#    define LT_DLGLOBAL		DL_GLOBAL
12339#  else
12340#    define LT_DLGLOBAL		0
12341#  endif
12342#endif
12343
12344/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12345   find out it does not work in some platform. */
12346#ifndef LT_DLLAZY_OR_NOW
12347#  ifdef RTLD_LAZY
12348#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12349#  else
12350#    ifdef DL_LAZY
12351#      define LT_DLLAZY_OR_NOW		DL_LAZY
12352#    else
12353#      ifdef RTLD_NOW
12354#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12355#      else
12356#        ifdef DL_NOW
12357#          define LT_DLLAZY_OR_NOW	DL_NOW
12358#        else
12359#          define LT_DLLAZY_OR_NOW	0
12360#        endif
12361#      endif
12362#    endif
12363#  endif
12364#endif
12365
12366/* When -fvisibility=hidden is used, assume the code has been annotated
12367   correspondingly for the symbols needed.  */
12368#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12369int fnord () __attribute__((visibility("default")));
12370#endif
12371
12372int fnord () { return 42; }
12373int main ()
12374{
12375  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12376  int status = $lt_dlunknown;
12377
12378  if (self)
12379    {
12380      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12381      else
12382        {
12383	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12384          else puts (dlerror ());
12385	}
12386      /* dlclose (self); */
12387    }
12388  else
12389    puts (dlerror ());
12390
12391  return status;
12392}
12393_LT_EOF
12394  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12395  (eval $ac_link) 2>&5
12396  ac_status=$?
12397  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12398  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12399    (./conftest; exit; ) >&5 2>/dev/null
12400    lt_status=$?
12401    case x$lt_status in
12402      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12403      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12404      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12405    esac
12406  else :
12407    # compilation failed
12408    lt_cv_dlopen_self=no
12409  fi
12410fi
12411rm -fr conftest*
12412
12413
12414fi
12415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12416$as_echo "$lt_cv_dlopen_self" >&6; }
12417
12418    if test yes = "$lt_cv_dlopen_self"; then
12419      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12420      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12421$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12422if ${lt_cv_dlopen_self_static+:} false; then :
12423  $as_echo_n "(cached) " >&6
12424else
12425  	  if test yes = "$cross_compiling"; then :
12426  lt_cv_dlopen_self_static=cross
12427else
12428  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12429  lt_status=$lt_dlunknown
12430  cat > conftest.$ac_ext <<_LT_EOF
12431#line $LINENO "configure"
12432#include "confdefs.h"
12433
12434#if HAVE_DLFCN_H
12435#include <dlfcn.h>
12436#endif
12437
12438#include <stdio.h>
12439
12440#ifdef RTLD_GLOBAL
12441#  define LT_DLGLOBAL		RTLD_GLOBAL
12442#else
12443#  ifdef DL_GLOBAL
12444#    define LT_DLGLOBAL		DL_GLOBAL
12445#  else
12446#    define LT_DLGLOBAL		0
12447#  endif
12448#endif
12449
12450/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12451   find out it does not work in some platform. */
12452#ifndef LT_DLLAZY_OR_NOW
12453#  ifdef RTLD_LAZY
12454#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12455#  else
12456#    ifdef DL_LAZY
12457#      define LT_DLLAZY_OR_NOW		DL_LAZY
12458#    else
12459#      ifdef RTLD_NOW
12460#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12461#      else
12462#        ifdef DL_NOW
12463#          define LT_DLLAZY_OR_NOW	DL_NOW
12464#        else
12465#          define LT_DLLAZY_OR_NOW	0
12466#        endif
12467#      endif
12468#    endif
12469#  endif
12470#endif
12471
12472/* When -fvisibility=hidden is used, assume the code has been annotated
12473   correspondingly for the symbols needed.  */
12474#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12475int fnord () __attribute__((visibility("default")));
12476#endif
12477
12478int fnord () { return 42; }
12479int main ()
12480{
12481  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12482  int status = $lt_dlunknown;
12483
12484  if (self)
12485    {
12486      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12487      else
12488        {
12489	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12490          else puts (dlerror ());
12491	}
12492      /* dlclose (self); */
12493    }
12494  else
12495    puts (dlerror ());
12496
12497  return status;
12498}
12499_LT_EOF
12500  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12501  (eval $ac_link) 2>&5
12502  ac_status=$?
12503  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12504  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12505    (./conftest; exit; ) >&5 2>/dev/null
12506    lt_status=$?
12507    case x$lt_status in
12508      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12509      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12510      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12511    esac
12512  else :
12513    # compilation failed
12514    lt_cv_dlopen_self_static=no
12515  fi
12516fi
12517rm -fr conftest*
12518
12519
12520fi
12521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12522$as_echo "$lt_cv_dlopen_self_static" >&6; }
12523    fi
12524
12525    CPPFLAGS=$save_CPPFLAGS
12526    LDFLAGS=$save_LDFLAGS
12527    LIBS=$save_LIBS
12528    ;;
12529  esac
12530
12531  case $lt_cv_dlopen_self in
12532  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12533  *) enable_dlopen_self=unknown ;;
12534  esac
12535
12536  case $lt_cv_dlopen_self_static in
12537  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12538  *) enable_dlopen_self_static=unknown ;;
12539  esac
12540fi
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558striplib=
12559old_striplib=
12560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12561$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12562if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12563  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12564  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12566$as_echo "yes" >&6; }
12567else
12568# FIXME - insert some real tests, host_os isn't really good enough
12569  case $host_os in
12570  darwin*)
12571    if test -n "$STRIP"; then
12572      striplib="$STRIP -x"
12573      old_striplib="$STRIP -S"
12574      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12575$as_echo "yes" >&6; }
12576    else
12577      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12578$as_echo "no" >&6; }
12579    fi
12580    ;;
12581  *)
12582    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583$as_echo "no" >&6; }
12584    ;;
12585  esac
12586fi
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599  # Report what library types will actually be built
12600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12601$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12603$as_echo "$can_build_shared" >&6; }
12604
12605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12606$as_echo_n "checking whether to build shared libraries... " >&6; }
12607  test no = "$can_build_shared" && enable_shared=no
12608
12609  # On AIX, shared libraries and static libraries use the same namespace, and
12610  # are all built from PIC.
12611  case $host_os in
12612  aix3*)
12613    test yes = "$enable_shared" && enable_static=no
12614    if test -n "$RANLIB"; then
12615      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12616      postinstall_cmds='$RANLIB $lib'
12617    fi
12618    ;;
12619
12620  aix[4-9]*)
12621    if test ia64 != "$host_cpu"; then
12622      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12623      yes,aix,yes) ;;			# shared object as lib.so file only
12624      yes,svr4,*) ;;			# shared object as lib.so archive member only
12625      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12626      esac
12627    fi
12628    ;;
12629  esac
12630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12631$as_echo "$enable_shared" >&6; }
12632
12633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12634$as_echo_n "checking whether to build static libraries... " >&6; }
12635  # Make sure either enable_shared or enable_static is yes.
12636  test yes = "$enable_shared" || enable_static=yes
12637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12638$as_echo "$enable_static" >&6; }
12639
12640
12641
12642
12643fi
12644ac_ext=c
12645ac_cpp='$CPP $CPPFLAGS'
12646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12648ac_compiler_gnu=$ac_cv_c_compiler_gnu
12649
12650CC=$lt_save_CC
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666        ac_config_commands="$ac_config_commands libtool"
12667
12668
12669
12670
12671# Only expand once:
12672
12673
12674# Check whether --enable-largefile was given.
12675if test "${enable_largefile+set}" = set; then :
12676  enableval=$enable_largefile;
12677fi
12678
12679if test "$enable_largefile" != no; then
12680
12681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12682$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12683if ${ac_cv_sys_largefile_CC+:} false; then :
12684  $as_echo_n "(cached) " >&6
12685else
12686  ac_cv_sys_largefile_CC=no
12687     if test "$GCC" != yes; then
12688       ac_save_CC=$CC
12689       while :; do
12690	 # IRIX 6.2 and later do not support large files by default,
12691	 # so use the C compiler's -n32 option if that helps.
12692	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12693/* end confdefs.h.  */
12694#include <sys/types.h>
12695 /* Check that off_t can represent 2**63 - 1 correctly.
12696    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12697    since some C++ compilers masquerading as C compilers
12698    incorrectly reject 9223372036854775807.  */
12699#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12700  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12701		       && LARGE_OFF_T % 2147483647 == 1)
12702		      ? 1 : -1];
12703int
12704main ()
12705{
12706
12707  ;
12708  return 0;
12709}
12710_ACEOF
12711	 if ac_fn_c_try_compile "$LINENO"; then :
12712  break
12713fi
12714rm -f core conftest.err conftest.$ac_objext
12715	 CC="$CC -n32"
12716	 if ac_fn_c_try_compile "$LINENO"; then :
12717  ac_cv_sys_largefile_CC=' -n32'; break
12718fi
12719rm -f core conftest.err conftest.$ac_objext
12720	 break
12721       done
12722       CC=$ac_save_CC
12723       rm -f conftest.$ac_ext
12724    fi
12725fi
12726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12727$as_echo "$ac_cv_sys_largefile_CC" >&6; }
12728  if test "$ac_cv_sys_largefile_CC" != no; then
12729    CC=$CC$ac_cv_sys_largefile_CC
12730  fi
12731
12732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12733$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12734if ${ac_cv_sys_file_offset_bits+:} false; then :
12735  $as_echo_n "(cached) " >&6
12736else
12737  while :; do
12738  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739/* end confdefs.h.  */
12740#include <sys/types.h>
12741 /* Check that off_t can represent 2**63 - 1 correctly.
12742    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12743    since some C++ compilers masquerading as C compilers
12744    incorrectly reject 9223372036854775807.  */
12745#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12746  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12747		       && LARGE_OFF_T % 2147483647 == 1)
12748		      ? 1 : -1];
12749int
12750main ()
12751{
12752
12753  ;
12754  return 0;
12755}
12756_ACEOF
12757if ac_fn_c_try_compile "$LINENO"; then :
12758  ac_cv_sys_file_offset_bits=no; break
12759fi
12760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762/* end confdefs.h.  */
12763#define _FILE_OFFSET_BITS 64
12764#include <sys/types.h>
12765 /* Check that off_t can represent 2**63 - 1 correctly.
12766    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12767    since some C++ compilers masquerading as C compilers
12768    incorrectly reject 9223372036854775807.  */
12769#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12770  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12771		       && LARGE_OFF_T % 2147483647 == 1)
12772		      ? 1 : -1];
12773int
12774main ()
12775{
12776
12777  ;
12778  return 0;
12779}
12780_ACEOF
12781if ac_fn_c_try_compile "$LINENO"; then :
12782  ac_cv_sys_file_offset_bits=64; break
12783fi
12784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12785  ac_cv_sys_file_offset_bits=unknown
12786  break
12787done
12788fi
12789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12790$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12791case $ac_cv_sys_file_offset_bits in #(
12792  no | unknown) ;;
12793  *)
12794cat >>confdefs.h <<_ACEOF
12795#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12796_ACEOF
12797;;
12798esac
12799rm -rf conftest*
12800  if test $ac_cv_sys_file_offset_bits = unknown; then
12801    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12802$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12803if ${ac_cv_sys_large_files+:} false; then :
12804  $as_echo_n "(cached) " >&6
12805else
12806  while :; do
12807  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808/* end confdefs.h.  */
12809#include <sys/types.h>
12810 /* Check that off_t can represent 2**63 - 1 correctly.
12811    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12812    since some C++ compilers masquerading as C compilers
12813    incorrectly reject 9223372036854775807.  */
12814#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12815  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12816		       && LARGE_OFF_T % 2147483647 == 1)
12817		      ? 1 : -1];
12818int
12819main ()
12820{
12821
12822  ;
12823  return 0;
12824}
12825_ACEOF
12826if ac_fn_c_try_compile "$LINENO"; then :
12827  ac_cv_sys_large_files=no; break
12828fi
12829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12830  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12831/* end confdefs.h.  */
12832#define _LARGE_FILES 1
12833#include <sys/types.h>
12834 /* Check that off_t can represent 2**63 - 1 correctly.
12835    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12836    since some C++ compilers masquerading as C compilers
12837    incorrectly reject 9223372036854775807.  */
12838#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12839  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12840		       && LARGE_OFF_T % 2147483647 == 1)
12841		      ? 1 : -1];
12842int
12843main ()
12844{
12845
12846  ;
12847  return 0;
12848}
12849_ACEOF
12850if ac_fn_c_try_compile "$LINENO"; then :
12851  ac_cv_sys_large_files=1; break
12852fi
12853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12854  ac_cv_sys_large_files=unknown
12855  break
12856done
12857fi
12858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12859$as_echo "$ac_cv_sys_large_files" >&6; }
12860case $ac_cv_sys_large_files in #(
12861  no | unknown) ;;
12862  *)
12863cat >>confdefs.h <<_ACEOF
12864#define _LARGE_FILES $ac_cv_sys_large_files
12865_ACEOF
12866;;
12867esac
12868rm -rf conftest*
12869  fi
12870
12871
12872fi
12873
12874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12875$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
12876if ${ac_cv_sys_largefile_source+:} false; then :
12877  $as_echo_n "(cached) " >&6
12878else
12879  while :; do
12880  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881/* end confdefs.h.  */
12882#include <sys/types.h> /* for off_t */
12883     #include <stdio.h>
12884int
12885main ()
12886{
12887int (*fp) (FILE *, off_t, int) = fseeko;
12888     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
12889  ;
12890  return 0;
12891}
12892_ACEOF
12893if ac_fn_c_try_link "$LINENO"; then :
12894  ac_cv_sys_largefile_source=no; break
12895fi
12896rm -f core conftest.err conftest.$ac_objext \
12897    conftest$ac_exeext conftest.$ac_ext
12898  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899/* end confdefs.h.  */
12900#define _LARGEFILE_SOURCE 1
12901#include <sys/types.h> /* for off_t */
12902     #include <stdio.h>
12903int
12904main ()
12905{
12906int (*fp) (FILE *, off_t, int) = fseeko;
12907     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
12908  ;
12909  return 0;
12910}
12911_ACEOF
12912if ac_fn_c_try_link "$LINENO"; then :
12913  ac_cv_sys_largefile_source=1; break
12914fi
12915rm -f core conftest.err conftest.$ac_objext \
12916    conftest$ac_exeext conftest.$ac_ext
12917  ac_cv_sys_largefile_source=unknown
12918  break
12919done
12920fi
12921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
12922$as_echo "$ac_cv_sys_largefile_source" >&6; }
12923case $ac_cv_sys_largefile_source in #(
12924  no | unknown) ;;
12925  *)
12926cat >>confdefs.h <<_ACEOF
12927#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
12928_ACEOF
12929;;
12930esac
12931rm -rf conftest*
12932
12933# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
12934# in glibc 2.1.3, but that breaks too many other things.
12935# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
12936if test $ac_cv_sys_largefile_source != unknown; then
12937
12938$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
12939
12940fi
12941
12942ac_header_dirent=no
12943for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12944  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12946$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12947if eval \${$as_ac_Header+:} false; then :
12948  $as_echo_n "(cached) " >&6
12949else
12950  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951/* end confdefs.h.  */
12952#include <sys/types.h>
12953#include <$ac_hdr>
12954
12955int
12956main ()
12957{
12958if ((DIR *) 0)
12959return 0;
12960  ;
12961  return 0;
12962}
12963_ACEOF
12964if ac_fn_c_try_compile "$LINENO"; then :
12965  eval "$as_ac_Header=yes"
12966else
12967  eval "$as_ac_Header=no"
12968fi
12969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12970fi
12971eval ac_res=\$$as_ac_Header
12972	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12973$as_echo "$ac_res" >&6; }
12974if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12975  cat >>confdefs.h <<_ACEOF
12976#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12977_ACEOF
12978
12979ac_header_dirent=$ac_hdr; break
12980fi
12981
12982done
12983# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12984if test $ac_header_dirent = dirent.h; then
12985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12986$as_echo_n "checking for library containing opendir... " >&6; }
12987if ${ac_cv_search_opendir+:} false; then :
12988  $as_echo_n "(cached) " >&6
12989else
12990  ac_func_search_save_LIBS=$LIBS
12991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992/* end confdefs.h.  */
12993
12994/* Override any GCC internal prototype to avoid an error.
12995   Use char because int might match the return type of a GCC
12996   builtin and then its argument prototype would still apply.  */
12997#ifdef __cplusplus
12998extern "C"
12999#endif
13000char opendir ();
13001int
13002main ()
13003{
13004return opendir ();
13005  ;
13006  return 0;
13007}
13008_ACEOF
13009for ac_lib in '' dir; do
13010  if test -z "$ac_lib"; then
13011    ac_res="none required"
13012  else
13013    ac_res=-l$ac_lib
13014    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13015  fi
13016  if ac_fn_c_try_link "$LINENO"; then :
13017  ac_cv_search_opendir=$ac_res
13018fi
13019rm -f core conftest.err conftest.$ac_objext \
13020    conftest$ac_exeext
13021  if ${ac_cv_search_opendir+:} false; then :
13022  break
13023fi
13024done
13025if ${ac_cv_search_opendir+:} false; then :
13026
13027else
13028  ac_cv_search_opendir=no
13029fi
13030rm conftest.$ac_ext
13031LIBS=$ac_func_search_save_LIBS
13032fi
13033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13034$as_echo "$ac_cv_search_opendir" >&6; }
13035ac_res=$ac_cv_search_opendir
13036if test "$ac_res" != no; then :
13037  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13038
13039fi
13040
13041else
13042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13043$as_echo_n "checking for library containing opendir... " >&6; }
13044if ${ac_cv_search_opendir+:} false; then :
13045  $as_echo_n "(cached) " >&6
13046else
13047  ac_func_search_save_LIBS=$LIBS
13048cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049/* end confdefs.h.  */
13050
13051/* Override any GCC internal prototype to avoid an error.
13052   Use char because int might match the return type of a GCC
13053   builtin and then its argument prototype would still apply.  */
13054#ifdef __cplusplus
13055extern "C"
13056#endif
13057char opendir ();
13058int
13059main ()
13060{
13061return opendir ();
13062  ;
13063  return 0;
13064}
13065_ACEOF
13066for ac_lib in '' x; do
13067  if test -z "$ac_lib"; then
13068    ac_res="none required"
13069  else
13070    ac_res=-l$ac_lib
13071    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13072  fi
13073  if ac_fn_c_try_link "$LINENO"; then :
13074  ac_cv_search_opendir=$ac_res
13075fi
13076rm -f core conftest.err conftest.$ac_objext \
13077    conftest$ac_exeext
13078  if ${ac_cv_search_opendir+:} false; then :
13079  break
13080fi
13081done
13082if ${ac_cv_search_opendir+:} false; then :
13083
13084else
13085  ac_cv_search_opendir=no
13086fi
13087rm conftest.$ac_ext
13088LIBS=$ac_func_search_save_LIBS
13089fi
13090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13091$as_echo "$ac_cv_search_opendir" >&6; }
13092ac_res=$ac_cv_search_opendir
13093if test "$ac_res" != no; then :
13094  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13095
13096fi
13097
13098fi
13099
13100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13101$as_echo_n "checking for ANSI C header files... " >&6; }
13102if ${ac_cv_header_stdc+:} false; then :
13103  $as_echo_n "(cached) " >&6
13104else
13105  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106/* end confdefs.h.  */
13107#include <stdlib.h>
13108#include <stdarg.h>
13109#include <string.h>
13110#include <float.h>
13111
13112int
13113main ()
13114{
13115
13116  ;
13117  return 0;
13118}
13119_ACEOF
13120if ac_fn_c_try_compile "$LINENO"; then :
13121  ac_cv_header_stdc=yes
13122else
13123  ac_cv_header_stdc=no
13124fi
13125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13126
13127if test $ac_cv_header_stdc = yes; then
13128  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13129  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130/* end confdefs.h.  */
13131#include <string.h>
13132
13133_ACEOF
13134if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13135  $EGREP "memchr" >/dev/null 2>&1; then :
13136
13137else
13138  ac_cv_header_stdc=no
13139fi
13140rm -f conftest*
13141
13142fi
13143
13144if test $ac_cv_header_stdc = yes; then
13145  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13146  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147/* end confdefs.h.  */
13148#include <stdlib.h>
13149
13150_ACEOF
13151if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13152  $EGREP "free" >/dev/null 2>&1; then :
13153
13154else
13155  ac_cv_header_stdc=no
13156fi
13157rm -f conftest*
13158
13159fi
13160
13161if test $ac_cv_header_stdc = yes; then
13162  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13163  if test "$cross_compiling" = yes; then :
13164  :
13165else
13166  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167/* end confdefs.h.  */
13168#include <ctype.h>
13169#include <stdlib.h>
13170#if ((' ' & 0x0FF) == 0x020)
13171# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13172# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13173#else
13174# define ISLOWER(c) \
13175		   (('a' <= (c) && (c) <= 'i') \
13176		     || ('j' <= (c) && (c) <= 'r') \
13177		     || ('s' <= (c) && (c) <= 'z'))
13178# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13179#endif
13180
13181#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13182int
13183main ()
13184{
13185  int i;
13186  for (i = 0; i < 256; i++)
13187    if (XOR (islower (i), ISLOWER (i))
13188	|| toupper (i) != TOUPPER (i))
13189      return 2;
13190  return 0;
13191}
13192_ACEOF
13193if ac_fn_c_try_run "$LINENO"; then :
13194
13195else
13196  ac_cv_header_stdc=no
13197fi
13198rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13199  conftest.$ac_objext conftest.beam conftest.$ac_ext
13200fi
13201
13202fi
13203fi
13204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13205$as_echo "$ac_cv_header_stdc" >&6; }
13206if test $ac_cv_header_stdc = yes; then
13207
13208$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13209
13210fi
13211
13212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
13213$as_echo_n "checking whether closedir returns void... " >&6; }
13214if ${ac_cv_func_closedir_void+:} false; then :
13215  $as_echo_n "(cached) " >&6
13216else
13217  if test "$cross_compiling" = yes; then :
13218  ac_cv_func_closedir_void=yes
13219else
13220  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221/* end confdefs.h.  */
13222$ac_includes_default
13223#include <$ac_header_dirent>
13224#ifndef __cplusplus
13225int closedir ();
13226#endif
13227
13228int
13229main ()
13230{
13231return closedir (opendir (".")) != 0;
13232  ;
13233  return 0;
13234}
13235_ACEOF
13236if ac_fn_c_try_run "$LINENO"; then :
13237  ac_cv_func_closedir_void=no
13238else
13239  ac_cv_func_closedir_void=yes
13240fi
13241rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13242  conftest.$ac_objext conftest.beam conftest.$ac_ext
13243fi
13244
13245fi
13246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
13247$as_echo "$ac_cv_func_closedir_void" >&6; }
13248if test $ac_cv_func_closedir_void = yes; then
13249
13250$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
13251
13252fi
13253
13254for ac_header in assert.h float.h limits.h pwd.h stdlib.h sys/param.h
13255do :
13256  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13257ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13258if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13259  cat >>confdefs.h <<_ACEOF
13260#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13261_ACEOF
13262
13263fi
13264
13265done
13266
13267for ac_func in putenv
13268do :
13269  ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
13270if test "x$ac_cv_func_putenv" = xyes; then :
13271  cat >>confdefs.h <<_ACEOF
13272#define HAVE_PUTENV 1
13273_ACEOF
13274
13275fi
13276done
13277
13278for ac_func in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr
13279do :
13280  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13281ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13282if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13283  cat >>confdefs.h <<_ACEOF
13284#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13285_ACEOF
13286
13287fi
13288done
13289
13290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13291$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13292if ${ac_cv_c_const+:} false; then :
13293  $as_echo_n "(cached) " >&6
13294else
13295  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296/* end confdefs.h.  */
13297
13298int
13299main ()
13300{
13301
13302#ifndef __cplusplus
13303  /* Ultrix mips cc rejects this sort of thing.  */
13304  typedef int charset[2];
13305  const charset cs = { 0, 0 };
13306  /* SunOS 4.1.1 cc rejects this.  */
13307  char const *const *pcpcc;
13308  char **ppc;
13309  /* NEC SVR4.0.2 mips cc rejects this.  */
13310  struct point {int x, y;};
13311  static struct point const zero = {0,0};
13312  /* AIX XL C 1.02.0.0 rejects this.
13313     It does not let you subtract one const X* pointer from another in
13314     an arm of an if-expression whose if-part is not a constant
13315     expression */
13316  const char *g = "string";
13317  pcpcc = &g + (g ? g-g : 0);
13318  /* HPUX 7.0 cc rejects these. */
13319  ++pcpcc;
13320  ppc = (char**) pcpcc;
13321  pcpcc = (char const *const *) ppc;
13322  { /* SCO 3.2v4 cc rejects this sort of thing.  */
13323    char tx;
13324    char *t = &tx;
13325    char const *s = 0 ? (char *) 0 : (char const *) 0;
13326
13327    *t++ = 0;
13328    if (s) return 0;
13329  }
13330  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13331    int x[] = {25, 17};
13332    const int *foo = &x[0];
13333    ++foo;
13334  }
13335  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13336    typedef const int *iptr;
13337    iptr p = 0;
13338    ++p;
13339  }
13340  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13341       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13342    struct s { int j; const int *ap[3]; } bx;
13343    struct s *b = &bx; b->j = 5;
13344  }
13345  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13346    const int foo = 10;
13347    if (!foo) return 0;
13348  }
13349  return !cs[0] && !zero.x;
13350#endif
13351
13352  ;
13353  return 0;
13354}
13355_ACEOF
13356if ac_fn_c_try_compile "$LINENO"; then :
13357  ac_cv_c_const=yes
13358else
13359  ac_cv_c_const=no
13360fi
13361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13362fi
13363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13364$as_echo "$ac_cv_c_const" >&6; }
13365if test $ac_cv_c_const = no; then
13366
13367$as_echo "#define const /**/" >>confdefs.h
13368
13369fi
13370
13371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13372$as_echo_n "checking for inline... " >&6; }
13373if ${ac_cv_c_inline+:} false; then :
13374  $as_echo_n "(cached) " >&6
13375else
13376  ac_cv_c_inline=no
13377for ac_kw in inline __inline__ __inline; do
13378  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379/* end confdefs.h.  */
13380#ifndef __cplusplus
13381typedef int foo_t;
13382static $ac_kw foo_t static_foo () {return 0; }
13383$ac_kw foo_t foo () {return 0; }
13384#endif
13385
13386_ACEOF
13387if ac_fn_c_try_compile "$LINENO"; then :
13388  ac_cv_c_inline=$ac_kw
13389fi
13390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13391  test "$ac_cv_c_inline" != no && break
13392done
13393
13394fi
13395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13396$as_echo "$ac_cv_c_inline" >&6; }
13397
13398case $ac_cv_c_inline in
13399  inline | yes) ;;
13400  *)
13401    case $ac_cv_c_inline in
13402      no) ac_val=;;
13403      *) ac_val=$ac_cv_c_inline;;
13404    esac
13405    cat >>confdefs.h <<_ACEOF
13406#ifndef __cplusplus
13407#define inline $ac_val
13408#endif
13409_ACEOF
13410    ;;
13411esac
13412
13413ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13414if test "x$ac_cv_type_size_t" = xyes; then :
13415
13416else
13417
13418cat >>confdefs.h <<_ACEOF
13419#define size_t unsigned int
13420_ACEOF
13421
13422fi
13423
13424ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
13425case $ac_cv_c_int64_t in #(
13426  no|yes) ;; #(
13427  *)
13428
13429cat >>confdefs.h <<_ACEOF
13430#define int64_t $ac_cv_c_int64_t
13431_ACEOF
13432;;
13433esac
13434
13435ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
13436case $ac_cv_c_uint64_t in #(
13437  no|yes) ;; #(
13438  *)
13439
13440$as_echo "#define _UINT64_T 1" >>confdefs.h
13441
13442
13443cat >>confdefs.h <<_ACEOF
13444#define uint64_t $ac_cv_c_uint64_t
13445_ACEOF
13446;;
13447  esac
13448
13449case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
13450  *':no:'*) :
13451    as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
13452  *) :
13453     ;;
13454esac
13455ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13456if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
13457
13458cat >>confdefs.h <<_ACEOF
13459#define HAVE_STRUCT_STAT_ST_MTIM 1
13460_ACEOF
13461
13462
13463fi
13464
13465
13466
13467
13468for ac_prog in latex elatex lambda
13469do
13470  # Extract the first word of "$ac_prog", so it can be a program name with args.
13471set dummy $ac_prog; ac_word=$2
13472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13473$as_echo_n "checking for $ac_word... " >&6; }
13474if ${ac_cv_prog_LATEX+:} false; then :
13475  $as_echo_n "(cached) " >&6
13476else
13477  if test -n "$LATEX"; then
13478  ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
13479else
13480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13481for as_dir in $PATH
13482do
13483  IFS=$as_save_IFS
13484  test -z "$as_dir" && as_dir=.
13485    for ac_exec_ext in '' $ac_executable_extensions; do
13486  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13487    ac_cv_prog_LATEX="$ac_prog"
13488    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13489    break 2
13490  fi
13491done
13492  done
13493IFS=$as_save_IFS
13494
13495fi
13496fi
13497LATEX=$ac_cv_prog_LATEX
13498if test -n "$LATEX"; then
13499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
13500$as_echo "$LATEX" >&6; }
13501else
13502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13503$as_echo "no" >&6; }
13504fi
13505
13506
13507  test -n "$LATEX" && break
13508done
13509test -n "$LATEX" || LATEX="no"
13510
13511for ac_prog in dvips
13512do
13513  # Extract the first word of "$ac_prog", so it can be a program name with args.
13514set dummy $ac_prog; ac_word=$2
13515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13516$as_echo_n "checking for $ac_word... " >&6; }
13517if ${ac_cv_prog_DVIPS+:} false; then :
13518  $as_echo_n "(cached) " >&6
13519else
13520  if test -n "$DVIPS"; then
13521  ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
13522else
13523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13524for as_dir in $PATH
13525do
13526  IFS=$as_save_IFS
13527  test -z "$as_dir" && as_dir=.
13528    for ac_exec_ext in '' $ac_executable_extensions; do
13529  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13530    ac_cv_prog_DVIPS="$ac_prog"
13531    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13532    break 2
13533  fi
13534done
13535  done
13536IFS=$as_save_IFS
13537
13538fi
13539fi
13540DVIPS=$ac_cv_prog_DVIPS
13541if test -n "$DVIPS"; then
13542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
13543$as_echo "$DVIPS" >&6; }
13544else
13545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13546$as_echo "no" >&6; }
13547fi
13548
13549
13550  test -n "$DVIPS" && break
13551done
13552test -n "$DVIPS" || DVIPS="no"
13553
13554for ac_prog in ps2pdf
13555do
13556  # Extract the first word of "$ac_prog", so it can be a program name with args.
13557set dummy $ac_prog; ac_word=$2
13558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13559$as_echo_n "checking for $ac_word... " >&6; }
13560if ${ac_cv_prog_PS2PDF+:} false; then :
13561  $as_echo_n "(cached) " >&6
13562else
13563  if test -n "$PS2PDF"; then
13564  ac_cv_prog_PS2PDF="$PS2PDF" # Let the user override the test.
13565else
13566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13567for as_dir in $PATH
13568do
13569  IFS=$as_save_IFS
13570  test -z "$as_dir" && as_dir=.
13571    for ac_exec_ext in '' $ac_executable_extensions; do
13572  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13573    ac_cv_prog_PS2PDF="$ac_prog"
13574    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13575    break 2
13576  fi
13577done
13578  done
13579IFS=$as_save_IFS
13580
13581fi
13582fi
13583PS2PDF=$ac_cv_prog_PS2PDF
13584if test -n "$PS2PDF"; then
13585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS2PDF" >&5
13586$as_echo "$PS2PDF" >&6; }
13587else
13588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13589$as_echo "no" >&6; }
13590fi
13591
13592
13593  test -n "$PS2PDF" && break
13594done
13595test -n "$PS2PDF" || PS2PDF="no"
13596
13597
13598for ac_header in stat.h stdarg.h sys/stat.h
13599do :
13600  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13601ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13602if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13603  cat >>confdefs.h <<_ACEOF
13604#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13605_ACEOF
13606
13607fi
13608
13609done
13610
13611
13612for ac_func in vprintf
13613do :
13614  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
13615if test "x$ac_cv_func_vprintf" = xyes; then :
13616  cat >>confdefs.h <<_ACEOF
13617#define HAVE_VPRINTF 1
13618_ACEOF
13619
13620ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
13621if test "x$ac_cv_func__doprnt" = xyes; then :
13622
13623$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
13624
13625fi
13626
13627fi
13628done
13629
13630
13631for ac_func in access closedir fileno isatty opendir readdir stat strcasecmp strdup strlwr
13632do :
13633  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13634ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13635if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13636  cat >>confdefs.h <<_ACEOF
13637#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13638_ACEOF
13639
13640fi
13641done
13642
13643
13644ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
13645if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
13646  ac_have_decl=1
13647else
13648  ac_have_decl=0
13649fi
13650
13651cat >>confdefs.h <<_ACEOF
13652#define HAVE_DECL_STPCPY $ac_have_decl
13653_ACEOF
13654
13655
13656ac_config_headers="$ac_config_headers config.h"
13657
13658
13659
13660$as_echo "#define TEX_LIVE 1" >>confdefs.h
13661
13662
13663$as_echo "#define HAVE_PCRE 0" >>confdefs.h
13664
13665
13666$as_echo "#define HAVE_POSIX_ERE 1" >>confdefs.h
13667
13668
13669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
13670$as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
13671if ${kpse_cv_have_win32+:} false; then :
13672  $as_echo_n "(cached) " >&6
13673else
13674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675/* end confdefs.h.  */
13676#ifndef WIN32
13677  choke me
13678#endif
13679int
13680main ()
13681{
13682
13683  ;
13684  return 0;
13685}
13686_ACEOF
13687if ac_fn_c_try_compile "$LINENO"; then :
13688  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689/* end confdefs.h.  */
13690#ifndef __MINGW32__
13691  choke me
13692#endif
13693int
13694main ()
13695{
13696
13697  ;
13698  return 0;
13699}
13700_ACEOF
13701if ac_fn_c_try_compile "$LINENO"; then :
13702  kpse_cv_have_win32=mingw32
13703else
13704  kpse_cv_have_win32=native
13705fi
13706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13707else
13708  kpse_cv_have_win32=no
13709fi
13710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13711fi
13712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
13713$as_echo "$kpse_cv_have_win32" >&6; }
13714
13715 if test "x$kpse_cv_have_win32" != xno; then
13716  WIN32_TRUE=
13717  WIN32_FALSE='#'
13718else
13719  WIN32_TRUE='#'
13720  WIN32_FALSE=
13721fi
13722
13723
13724 if test "x$kpse_cv_have_win32" = xmingw32; then
13725  MINGW32_TRUE=
13726  MINGW32_FALSE='#'
13727else
13728  MINGW32_TRUE='#'
13729  MINGW32_FALSE=
13730fi
13731
13732
13733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WIN64" >&5
13734$as_echo_n "checking for WIN64... " >&6; }
13735if ${kpse_cv_have_win64+:} false; then :
13736  $as_echo_n "(cached) " >&6
13737else
13738  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13739/* end confdefs.h.  */
13740#ifndef _WIN64
13741  choke me
13742#endif
13743int
13744main ()
13745{
13746
13747  ;
13748  return 0;
13749}
13750_ACEOF
13751if ac_fn_c_try_compile "$LINENO"; then :
13752  kpse_cv_have_win64=yes
13753else
13754  kpse_cv_have_win64=no
13755fi
13756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13757fi
13758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win64" >&5
13759$as_echo "$kpse_cv_have_win64" >&6; }
13760case $kpse_cv_have_win64 in #(
13761  yes) :
13762    WIN_WRAPPER=w64_wrapper ;; #(
13763  *) :
13764    WIN_WRAPPER=w32_wrapper ;;
13765esac
13766
13767 if test -r "$srcdir/../../texk/texlive/$WIN_WRAPPER/runscript.exe"; then
13768  WIN32_WRAP_TRUE=
13769  WIN32_WRAP_FALSE='#'
13770else
13771  WIN32_WRAP_TRUE='#'
13772  WIN32_WRAP_FALSE=
13773fi
13774
13775
13776
13777CHKTEX_TREE=chktex-1.7.4
13778
13779PERL5='/usr/bin/env perl'
13780
13781
13782kpse_save_CPPFLAGS=$CPPFLAGS
13783kpse_save_LIBS=$LIBS
13784
13785## _KPSE_INIT: Initialize TL infrastructure
13786kpse_BLD=`(cd "./../../." && pwd)`
13787kpse_SRC=`(cd "$srcdir/../../." && pwd)`
13788
13789## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests
13790: ${CONFIG_LT=./config.lt}
13791{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
13792$as_echo "$as_me: creating $CONFIG_LT" >&6;}
13793as_write_fail=0
13794cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
13795#! $SHELL
13796# Generated by $as_me.
13797# Run this file to recreate a libtool stub with the current configuration.
13798SHELL=\${CONFIG_SHELL-$SHELL}
13799export SHELL
13800_ASEOF
13801cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
13802## -------------------- ##
13803## M4sh Initialization. ##
13804## -------------------- ##
13805
13806# Be more Bourne compatible
13807DUALCASE=1; export DUALCASE # for MKS sh
13808if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13809  emulate sh
13810  NULLCMD=:
13811  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13812  # is contrary to our usage.  Disable this feature.
13813  alias -g '${1+"$@"}'='"$@"'
13814  setopt NO_GLOB_SUBST
13815else
13816  case `(set -o) 2>/dev/null` in #(
13817  *posix*) :
13818    set -o posix ;; #(
13819  *) :
13820     ;;
13821esac
13822fi
13823
13824
13825as_nl='
13826'
13827export as_nl
13828# Printing a long string crashes Solaris 7 /usr/bin/printf.
13829as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13830as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13831as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13832# Prefer a ksh shell builtin over an external printf program on Solaris,
13833# but without wasting forks for bash or zsh.
13834if test -z "$BASH_VERSION$ZSH_VERSION" \
13835    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13836  as_echo='print -r --'
13837  as_echo_n='print -rn --'
13838elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13839  as_echo='printf %s\n'
13840  as_echo_n='printf %s'
13841else
13842  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13843    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13844    as_echo_n='/usr/ucb/echo -n'
13845  else
13846    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13847    as_echo_n_body='eval
13848      arg=$1;
13849      case $arg in #(
13850      *"$as_nl"*)
13851	expr "X$arg" : "X\\(.*\\)$as_nl";
13852	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13853      esac;
13854      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13855    '
13856    export as_echo_n_body
13857    as_echo_n='sh -c $as_echo_n_body as_echo'
13858  fi
13859  export as_echo_body
13860  as_echo='sh -c $as_echo_body as_echo'
13861fi
13862
13863# The user is always right.
13864if test "${PATH_SEPARATOR+set}" != set; then
13865  PATH_SEPARATOR=:
13866  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13867    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13868      PATH_SEPARATOR=';'
13869  }
13870fi
13871
13872
13873# IFS
13874# We need space, tab and new line, in precisely that order.  Quoting is
13875# there to prevent editors from complaining about space-tab.
13876# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13877# splitting by setting IFS to empty value.)
13878IFS=" ""	$as_nl"
13879
13880# Find who we are.  Look in the path if we contain no directory separator.
13881as_myself=
13882case $0 in #((
13883  *[\\/]* ) as_myself=$0 ;;
13884  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13885for as_dir in $PATH
13886do
13887  IFS=$as_save_IFS
13888  test -z "$as_dir" && as_dir=.
13889    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13890  done
13891IFS=$as_save_IFS
13892
13893     ;;
13894esac
13895# We did not find ourselves, most probably we were run as `sh COMMAND'
13896# in which case we are not to be found in the path.
13897if test "x$as_myself" = x; then
13898  as_myself=$0
13899fi
13900if test ! -f "$as_myself"; then
13901  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13902  exit 1
13903fi
13904
13905# Unset variables that we do not need and which cause bugs (e.g. in
13906# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13907# suppresses any "Segmentation fault" message there.  '((' could
13908# trigger a bug in pdksh 5.2.14.
13909for as_var in BASH_ENV ENV MAIL MAILPATH
13910do eval test x\${$as_var+set} = xset \
13911  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13912done
13913PS1='$ '
13914PS2='> '
13915PS4='+ '
13916
13917# NLS nuisances.
13918LC_ALL=C
13919export LC_ALL
13920LANGUAGE=C
13921export LANGUAGE
13922
13923# CDPATH.
13924(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13925
13926
13927# as_fn_error STATUS ERROR [LINENO LOG_FD]
13928# ----------------------------------------
13929# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13930# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13931# script with STATUS, using 1 if that was 0.
13932as_fn_error ()
13933{
13934  as_status=$1; test $as_status -eq 0 && as_status=1
13935  if test "$4"; then
13936    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13937    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13938  fi
13939  $as_echo "$as_me: error: $2" >&2
13940  as_fn_exit $as_status
13941} # as_fn_error
13942
13943
13944# as_fn_set_status STATUS
13945# -----------------------
13946# Set $? to STATUS, without forking.
13947as_fn_set_status ()
13948{
13949  return $1
13950} # as_fn_set_status
13951
13952# as_fn_exit STATUS
13953# -----------------
13954# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13955as_fn_exit ()
13956{
13957  set +e
13958  as_fn_set_status $1
13959  exit $1
13960} # as_fn_exit
13961
13962# as_fn_unset VAR
13963# ---------------
13964# Portably unset VAR.
13965as_fn_unset ()
13966{
13967  { eval $1=; unset $1;}
13968}
13969as_unset=as_fn_unset
13970# as_fn_append VAR VALUE
13971# ----------------------
13972# Append the text in VALUE to the end of the definition contained in VAR. Take
13973# advantage of any shell optimizations that allow amortized linear growth over
13974# repeated appends, instead of the typical quadratic growth present in naive
13975# implementations.
13976if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13977  eval 'as_fn_append ()
13978  {
13979    eval $1+=\$2
13980  }'
13981else
13982  as_fn_append ()
13983  {
13984    eval $1=\$$1\$2
13985  }
13986fi # as_fn_append
13987
13988# as_fn_arith ARG...
13989# ------------------
13990# Perform arithmetic evaluation on the ARGs, and store the result in the
13991# global $as_val. Take advantage of shells that can avoid forks. The arguments
13992# must be portable across $(()) and expr.
13993if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13994  eval 'as_fn_arith ()
13995  {
13996    as_val=$(( $* ))
13997  }'
13998else
13999  as_fn_arith ()
14000  {
14001    as_val=`expr "$@" || test $? -eq 1`
14002  }
14003fi # as_fn_arith
14004
14005
14006if expr a : '\(a\)' >/dev/null 2>&1 &&
14007   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14008  as_expr=expr
14009else
14010  as_expr=false
14011fi
14012
14013if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14014  as_basename=basename
14015else
14016  as_basename=false
14017fi
14018
14019if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14020  as_dirname=dirname
14021else
14022  as_dirname=false
14023fi
14024
14025as_me=`$as_basename -- "$0" ||
14026$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14027	 X"$0" : 'X\(//\)$' \| \
14028	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14029$as_echo X/"$0" |
14030    sed '/^.*\/\([^/][^/]*\)\/*$/{
14031	    s//\1/
14032	    q
14033	  }
14034	  /^X\/\(\/\/\)$/{
14035	    s//\1/
14036	    q
14037	  }
14038	  /^X\/\(\/\).*/{
14039	    s//\1/
14040	    q
14041	  }
14042	  s/.*/./; q'`
14043
14044# Avoid depending upon Character Ranges.
14045as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14046as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14047as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14048as_cr_digits='0123456789'
14049as_cr_alnum=$as_cr_Letters$as_cr_digits
14050
14051ECHO_C= ECHO_N= ECHO_T=
14052case `echo -n x` in #(((((
14053-n*)
14054  case `echo 'xy\c'` in
14055  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14056  xy)  ECHO_C='\c';;
14057  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14058       ECHO_T='	';;
14059  esac;;
14060*)
14061  ECHO_N='-n';;
14062esac
14063
14064rm -f conf$$ conf$$.exe conf$$.file
14065if test -d conf$$.dir; then
14066  rm -f conf$$.dir/conf$$.file
14067else
14068  rm -f conf$$.dir
14069  mkdir conf$$.dir 2>/dev/null
14070fi
14071if (echo >conf$$.file) 2>/dev/null; then
14072  if ln -s conf$$.file conf$$ 2>/dev/null; then
14073    as_ln_s='ln -s'
14074    # ... but there are two gotchas:
14075    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14076    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14077    # In both cases, we have to default to `cp -pR'.
14078    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14079      as_ln_s='cp -pR'
14080  elif ln conf$$.file conf$$ 2>/dev/null; then
14081    as_ln_s=ln
14082  else
14083    as_ln_s='cp -pR'
14084  fi
14085else
14086  as_ln_s='cp -pR'
14087fi
14088rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14089rmdir conf$$.dir 2>/dev/null
14090
14091
14092# as_fn_mkdir_p
14093# -------------
14094# Create "$as_dir" as a directory, including parents if necessary.
14095as_fn_mkdir_p ()
14096{
14097
14098  case $as_dir in #(
14099  -*) as_dir=./$as_dir;;
14100  esac
14101  test -d "$as_dir" || eval $as_mkdir_p || {
14102    as_dirs=
14103    while :; do
14104      case $as_dir in #(
14105      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14106      *) as_qdir=$as_dir;;
14107      esac
14108      as_dirs="'$as_qdir' $as_dirs"
14109      as_dir=`$as_dirname -- "$as_dir" ||
14110$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14111	 X"$as_dir" : 'X\(//\)[^/]' \| \
14112	 X"$as_dir" : 'X\(//\)$' \| \
14113	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14114$as_echo X"$as_dir" |
14115    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14116	    s//\1/
14117	    q
14118	  }
14119	  /^X\(\/\/\)[^/].*/{
14120	    s//\1/
14121	    q
14122	  }
14123	  /^X\(\/\/\)$/{
14124	    s//\1/
14125	    q
14126	  }
14127	  /^X\(\/\).*/{
14128	    s//\1/
14129	    q
14130	  }
14131	  s/.*/./; q'`
14132      test -d "$as_dir" && break
14133    done
14134    test -z "$as_dirs" || eval "mkdir $as_dirs"
14135  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14136
14137
14138} # as_fn_mkdir_p
14139if mkdir -p . 2>/dev/null; then
14140  as_mkdir_p='mkdir -p "$as_dir"'
14141else
14142  test -d ./-p && rmdir ./-p
14143  as_mkdir_p=false
14144fi
14145
14146
14147# as_fn_executable_p FILE
14148# -----------------------
14149# Test if FILE is an executable regular file.
14150as_fn_executable_p ()
14151{
14152  test -f "$1" && test -x "$1"
14153} # as_fn_executable_p
14154as_test_x='test -x'
14155as_executable_p=as_fn_executable_p
14156
14157# Sed expression to map a string onto a valid CPP name.
14158as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14159
14160# Sed expression to map a string onto a valid variable name.
14161as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14162
14163
14164exec 6>&1
14165## --------------------------------- ##
14166## Main body of "$CONFIG_LT" script. ##
14167## --------------------------------- ##
14168_ASEOF
14169test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
14170
14171cat >>"$CONFIG_LT" <<\_LTEOF
14172lt_cl_silent=false
14173exec 5>>config.log
14174{
14175  echo
14176  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14177## Running $as_me. ##
14178_ASBOX
14179} >&5
14180
14181lt_cl_help="\
14182'$as_me' creates a local libtool stub from the current configuration,
14183for use in further configure time tests before the real libtool is
14184generated.
14185
14186Usage: $0 [OPTIONS]
14187
14188  -h, --help      print this help, then exit
14189  -V, --version   print version number, then exit
14190  -q, --quiet     do not print progress messages
14191  -d, --debug     don't remove temporary files
14192
14193Report bugs to <bug-libtool@gnu.org>."
14194
14195lt_cl_version="\
14196ChkTeX (TeX Live) config.lt 1.7.4
14197configured by $0, generated by GNU Autoconf 2.69.
14198
14199Copyright (C) 2011 Free Software Foundation, Inc.
14200This config.lt script is free software; the Free Software Foundation
14201gives unlimited permision to copy, distribute and modify it."
14202
14203while test 0 != $#
14204do
14205  case $1 in
14206    --version | --v* | -V )
14207      echo "$lt_cl_version"; exit 0 ;;
14208    --help | --h* | -h )
14209      echo "$lt_cl_help"; exit 0 ;;
14210    --debug | --d* | -d )
14211      debug=: ;;
14212    --quiet | --q* | --silent | --s* | -q )
14213      lt_cl_silent=: ;;
14214
14215    -*) as_fn_error $? "unrecognized option: $1
14216Try '$0 --help' for more information." "$LINENO" 5 ;;
14217
14218    *) as_fn_error $? "unrecognized argument: $1
14219Try '$0 --help' for more information." "$LINENO" 5 ;;
14220  esac
14221  shift
14222done
14223
14224if $lt_cl_silent; then
14225  exec 6>/dev/null
14226fi
14227_LTEOF
14228
14229cat >>"$CONFIG_LT" <<_LTEOF
14230
14231
14232# The HP-UX ksh and POSIX shell print the target directory to stdout
14233# if CDPATH is set.
14234(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14235
14236sed_quote_subst='$sed_quote_subst'
14237double_quote_subst='$double_quote_subst'
14238delay_variable_subst='$delay_variable_subst'
14239macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14240macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14241AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14242DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14243OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14244enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14245enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14246pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14247enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14248shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14249SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14250ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14251PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14252host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14253host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14254host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14255build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14256build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14257build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14258SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14259Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14260GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14261EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14262FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14263LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14264NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14265LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14266max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14267ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14268exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14269lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14270lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14271lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14272lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14273lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14274reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14275reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14276deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14277file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14278file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14279want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14280sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14281AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14282AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14283archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14284STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14285RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14286old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14287old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14288old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14289lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14290CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14291CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14292compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14293GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14294lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14295lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14296lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14297lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14298lt_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"`'
14299lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14300nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14301lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14302lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14303objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14304MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14305lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14306lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14307lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14308lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14309lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14310need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14311MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14312DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14313NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14314LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14315OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14316OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14317libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14318shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14319extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14320archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14321enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14322export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14323whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14324compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14325old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14326old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14327archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14328archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14329module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14330module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14331with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14332allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14333no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14334hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14335hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14336hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14337hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14338hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14339hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14340hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14341inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14342link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14343always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14344export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14345exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14346include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14347prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14348postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14349file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14350variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14351need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14352need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14353version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14354runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14355shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14356shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14357libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14358library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14359soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14360install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14361postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14362postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14363finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14364finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14365hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14366sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14367configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14368configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14369hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14370enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14371enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14372enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14373old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14374striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14375
14376LTCC='$LTCC'
14377LTCFLAGS='$LTCFLAGS'
14378compiler='$compiler_DEFAULT'
14379
14380# A function that is used when there is no print builtin or printf.
14381func_fallback_echo ()
14382{
14383  eval 'cat <<_LTECHO_EOF
14384\$1
14385_LTECHO_EOF'
14386}
14387
14388# Quote evaled strings.
14389for var in AS \
14390DLLTOOL \
14391OBJDUMP \
14392SHELL \
14393ECHO \
14394PATH_SEPARATOR \
14395SED \
14396GREP \
14397EGREP \
14398FGREP \
14399LD \
14400NM \
14401LN_S \
14402lt_SP2NL \
14403lt_NL2SP \
14404reload_flag \
14405deplibs_check_method \
14406file_magic_cmd \
14407file_magic_glob \
14408want_nocaseglob \
14409sharedlib_from_linklib_cmd \
14410AR \
14411AR_FLAGS \
14412archiver_list_spec \
14413STRIP \
14414RANLIB \
14415CC \
14416CFLAGS \
14417compiler \
14418lt_cv_sys_global_symbol_pipe \
14419lt_cv_sys_global_symbol_to_cdecl \
14420lt_cv_sys_global_symbol_to_import \
14421lt_cv_sys_global_symbol_to_c_name_address \
14422lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14423lt_cv_nm_interface \
14424nm_file_list_spec \
14425lt_cv_truncate_bin \
14426lt_prog_compiler_no_builtin_flag \
14427lt_prog_compiler_pic \
14428lt_prog_compiler_wl \
14429lt_prog_compiler_static \
14430lt_cv_prog_compiler_c_o \
14431need_locks \
14432MANIFEST_TOOL \
14433DSYMUTIL \
14434NMEDIT \
14435LIPO \
14436OTOOL \
14437OTOOL64 \
14438shrext_cmds \
14439export_dynamic_flag_spec \
14440whole_archive_flag_spec \
14441compiler_needs_object \
14442with_gnu_ld \
14443allow_undefined_flag \
14444no_undefined_flag \
14445hardcode_libdir_flag_spec \
14446hardcode_libdir_separator \
14447exclude_expsyms \
14448include_expsyms \
14449file_list_spec \
14450variables_saved_for_relink \
14451libname_spec \
14452library_names_spec \
14453soname_spec \
14454install_override_mode \
14455finish_eval \
14456old_striplib \
14457striplib; do
14458    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14459    *[\\\\\\\`\\"\\\$]*)
14460      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14461      ;;
14462    *)
14463      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14464      ;;
14465    esac
14466done
14467
14468# Double-quote double-evaled strings.
14469for var in reload_cmds \
14470old_postinstall_cmds \
14471old_postuninstall_cmds \
14472old_archive_cmds \
14473extract_expsyms_cmds \
14474old_archive_from_new_cmds \
14475old_archive_from_expsyms_cmds \
14476archive_cmds \
14477archive_expsym_cmds \
14478module_cmds \
14479module_expsym_cmds \
14480export_symbols_cmds \
14481prelink_cmds \
14482postlink_cmds \
14483postinstall_cmds \
14484postuninstall_cmds \
14485finish_cmds \
14486sys_lib_search_path_spec \
14487configure_time_dlsearch_path \
14488configure_time_lt_sys_library_path; do
14489    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14490    *[\\\\\\\`\\"\\\$]*)
14491      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14492      ;;
14493    *)
14494      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14495      ;;
14496    esac
14497done
14498
14499ac_aux_dir='$ac_aux_dir'
14500
14501# See if we are running on zsh, and set the options that allow our
14502# commands through without removal of \ escapes INIT.
14503if test -n "\${ZSH_VERSION+set}"; then
14504   setopt NO_GLOB_SUBST
14505fi
14506
14507
14508    PACKAGE='$PACKAGE'
14509    VERSION='$VERSION'
14510    RM='$RM'
14511    ofile='$ofile'
14512
14513
14514
14515_LTEOF
14516
14517cat >>"$CONFIG_LT" <<\_LTEOF
14518{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
14519$as_echo "$as_me: creating $ofile" >&6;}
14520
14521
14522    # See if we are running on zsh, and set the options that allow our
14523    # commands through without removal of \ escapes.
14524    if test -n "${ZSH_VERSION+set}"; then
14525      setopt NO_GLOB_SUBST
14526    fi
14527
14528    cfgfile=${ofile}T
14529    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14530    $RM "$cfgfile"
14531
14532    cat <<_LT_EOF >> "$cfgfile"
14533#! $SHELL
14534# Generated automatically by $as_me ($PACKAGE) $VERSION
14535# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14536# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14537
14538# Provide generalized library-building support services.
14539# Written by Gordon Matzigkeit, 1996
14540
14541# Copyright (C) 2014 Free Software Foundation, Inc.
14542# This is free software; see the source for copying conditions.  There is NO
14543# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14544
14545# GNU Libtool is free software; you can redistribute it and/or modify
14546# it under the terms of the GNU General Public License as published by
14547# the Free Software Foundation; either version 2 of of the License, or
14548# (at your option) any later version.
14549#
14550# As a special exception to the GNU General Public License, if you
14551# distribute this file as part of a program or library that is built
14552# using GNU Libtool, you may include this file under the  same
14553# distribution terms that you use for the rest of that program.
14554#
14555# GNU Libtool is distributed in the hope that it will be useful, but
14556# WITHOUT ANY WARRANTY; without even the implied warranty of
14557# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14558# GNU General Public License for more details.
14559#
14560# You should have received a copy of the GNU General Public License
14561# along with this program.  If not, see <http://www.gnu.org/licenses/>.
14562
14563
14564# The names of the tagged configurations supported by this script.
14565available_tags=''
14566
14567# Configured defaults for sys_lib_dlsearch_path munging.
14568: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14569
14570# ### BEGIN LIBTOOL CONFIG
14571
14572# Which release of libtool.m4 was used?
14573macro_version=$macro_version
14574macro_revision=$macro_revision
14575
14576# Assembler program.
14577AS=$lt_AS
14578
14579# DLL creation program.
14580DLLTOOL=$lt_DLLTOOL
14581
14582# Object dumper program.
14583OBJDUMP=$lt_OBJDUMP
14584
14585# Whether or not to build shared libraries.
14586build_libtool_libs=$enable_shared
14587
14588# Whether or not to build static libraries.
14589build_old_libs=$enable_static
14590
14591# What type of objects to build.
14592pic_mode=$pic_mode
14593
14594# Whether or not to optimize for fast installation.
14595fast_install=$enable_fast_install
14596
14597# Shared archive member basename,for filename based shared library versioning on AIX.
14598shared_archive_member_spec=$shared_archive_member_spec
14599
14600# Shell to use when invoking shell scripts.
14601SHELL=$lt_SHELL
14602
14603# An echo program that protects backslashes.
14604ECHO=$lt_ECHO
14605
14606# The PATH separator for the build system.
14607PATH_SEPARATOR=$lt_PATH_SEPARATOR
14608
14609# The host system.
14610host_alias=$host_alias
14611host=$host
14612host_os=$host_os
14613
14614# The build system.
14615build_alias=$build_alias
14616build=$build
14617build_os=$build_os
14618
14619# A sed program that does not truncate output.
14620SED=$lt_SED
14621
14622# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14623Xsed="\$SED -e 1s/^X//"
14624
14625# A grep program that handles long lines.
14626GREP=$lt_GREP
14627
14628# An ERE matcher.
14629EGREP=$lt_EGREP
14630
14631# A literal string matcher.
14632FGREP=$lt_FGREP
14633
14634# A BSD- or MS-compatible name lister.
14635NM=$lt_NM
14636
14637# Whether we need soft or hard links.
14638LN_S=$lt_LN_S
14639
14640# What is the maximum length of a command?
14641max_cmd_len=$max_cmd_len
14642
14643# Object file suffix (normally "o").
14644objext=$ac_objext
14645
14646# Executable file suffix (normally "").
14647exeext=$exeext
14648
14649# whether the shell understands "unset".
14650lt_unset=$lt_unset
14651
14652# turn spaces into newlines.
14653SP2NL=$lt_lt_SP2NL
14654
14655# turn newlines into spaces.
14656NL2SP=$lt_lt_NL2SP
14657
14658# convert \$build file names to \$host format.
14659to_host_file_cmd=$lt_cv_to_host_file_cmd
14660
14661# convert \$build files to toolchain format.
14662to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14663
14664# Method to check whether dependent libraries are shared objects.
14665deplibs_check_method=$lt_deplibs_check_method
14666
14667# Command to use when deplibs_check_method = "file_magic".
14668file_magic_cmd=$lt_file_magic_cmd
14669
14670# How to find potential files when deplibs_check_method = "file_magic".
14671file_magic_glob=$lt_file_magic_glob
14672
14673# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14674want_nocaseglob=$lt_want_nocaseglob
14675
14676# Command to associate shared and link libraries.
14677sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14678
14679# The archiver.
14680AR=$lt_AR
14681
14682# Flags to create an archive.
14683AR_FLAGS=$lt_AR_FLAGS
14684
14685# How to feed a file listing to the archiver.
14686archiver_list_spec=$lt_archiver_list_spec
14687
14688# A symbol stripping program.
14689STRIP=$lt_STRIP
14690
14691# Commands used to install an old-style archive.
14692RANLIB=$lt_RANLIB
14693old_postinstall_cmds=$lt_old_postinstall_cmds
14694old_postuninstall_cmds=$lt_old_postuninstall_cmds
14695
14696# Whether to use a lock for old archive extraction.
14697lock_old_archive_extraction=$lock_old_archive_extraction
14698
14699# A C compiler.
14700LTCC=$lt_CC
14701
14702# LTCC compiler flags.
14703LTCFLAGS=$lt_CFLAGS
14704
14705# Take the output of nm and produce a listing of raw symbols and C names.
14706global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14707
14708# Transform the output of nm in a proper C declaration.
14709global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14710
14711# Transform the output of nm into a list of symbols to manually relocate.
14712global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14713
14714# Transform the output of nm in a C name address pair.
14715global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14716
14717# Transform the output of nm in a C name address pair when lib prefix is needed.
14718global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14719
14720# The name lister interface.
14721nm_interface=$lt_lt_cv_nm_interface
14722
14723# Specify filename containing input files for \$NM.
14724nm_file_list_spec=$lt_nm_file_list_spec
14725
14726# The root where to search for dependent libraries,and where our libraries should be installed.
14727lt_sysroot=$lt_sysroot
14728
14729# Command to truncate a binary pipe.
14730lt_truncate_bin=$lt_lt_cv_truncate_bin
14731
14732# The name of the directory that contains temporary libtool files.
14733objdir=$objdir
14734
14735# Used to examine libraries when file_magic_cmd begins with "file".
14736MAGIC_CMD=$MAGIC_CMD
14737
14738# Must we lock files when doing compilation?
14739need_locks=$lt_need_locks
14740
14741# Manifest tool.
14742MANIFEST_TOOL=$lt_MANIFEST_TOOL
14743
14744# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14745DSYMUTIL=$lt_DSYMUTIL
14746
14747# Tool to change global to local symbols on Mac OS X.
14748NMEDIT=$lt_NMEDIT
14749
14750# Tool to manipulate fat objects and archives on Mac OS X.
14751LIPO=$lt_LIPO
14752
14753# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14754OTOOL=$lt_OTOOL
14755
14756# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14757OTOOL64=$lt_OTOOL64
14758
14759# Old archive suffix (normally "a").
14760libext=$libext
14761
14762# Shared library suffix (normally ".so").
14763shrext_cmds=$lt_shrext_cmds
14764
14765# The commands to extract the exported symbol list from a shared archive.
14766extract_expsyms_cmds=$lt_extract_expsyms_cmds
14767
14768# Variables whose values should be saved in libtool wrapper scripts and
14769# restored at link time.
14770variables_saved_for_relink=$lt_variables_saved_for_relink
14771
14772# Do we need the "lib" prefix for modules?
14773need_lib_prefix=$need_lib_prefix
14774
14775# Do we need a version for libraries?
14776need_version=$need_version
14777
14778# Library versioning type.
14779version_type=$version_type
14780
14781# Shared library runtime path variable.
14782runpath_var=$runpath_var
14783
14784# Shared library path variable.
14785shlibpath_var=$shlibpath_var
14786
14787# Is shlibpath searched before the hard-coded library search path?
14788shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14789
14790# Format of library name prefix.
14791libname_spec=$lt_libname_spec
14792
14793# List of archive names.  First name is the real one, the rest are links.
14794# The last name is the one that the linker finds with -lNAME
14795library_names_spec=$lt_library_names_spec
14796
14797# The coded name of the library, if different from the real name.
14798soname_spec=$lt_soname_spec
14799
14800# Permission mode override for installation of shared libraries.
14801install_override_mode=$lt_install_override_mode
14802
14803# Command to use after installation of a shared archive.
14804postinstall_cmds=$lt_postinstall_cmds
14805
14806# Command to use after uninstallation of a shared archive.
14807postuninstall_cmds=$lt_postuninstall_cmds
14808
14809# Commands used to finish a libtool library installation in a directory.
14810finish_cmds=$lt_finish_cmds
14811
14812# As "finish_cmds", except a single script fragment to be evaled but
14813# not shown.
14814finish_eval=$lt_finish_eval
14815
14816# Whether we should hardcode library paths into libraries.
14817hardcode_into_libs=$hardcode_into_libs
14818
14819# Compile-time system search path for libraries.
14820sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14821
14822# Detected run-time system search path for libraries.
14823sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14824
14825# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14826configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14827
14828# Whether dlopen is supported.
14829dlopen_support=$enable_dlopen
14830
14831# Whether dlopen of programs is supported.
14832dlopen_self=$enable_dlopen_self
14833
14834# Whether dlopen of statically linked programs is supported.
14835dlopen_self_static=$enable_dlopen_self_static
14836
14837# Commands to strip libraries.
14838old_striplib=$lt_old_striplib
14839striplib=$lt_striplib
14840
14841
14842# The linker used to build libraries.
14843LD=$lt_LD
14844
14845# How to create reloadable object files.
14846reload_flag=$lt_reload_flag
14847reload_cmds=$lt_reload_cmds
14848
14849# Commands used to build an old-style archive.
14850old_archive_cmds=$lt_old_archive_cmds
14851
14852# A language specific compiler.
14853CC=$lt_compiler
14854
14855# Is the compiler the GNU compiler?
14856with_gcc=$GCC
14857
14858# Compiler flag to turn off builtin functions.
14859no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14860
14861# Additional compiler flags for building library objects.
14862pic_flag=$lt_lt_prog_compiler_pic
14863
14864# How to pass a linker flag through the compiler.
14865wl=$lt_lt_prog_compiler_wl
14866
14867# Compiler flag to prevent dynamic linking.
14868link_static_flag=$lt_lt_prog_compiler_static
14869
14870# Does compiler simultaneously support -c and -o options?
14871compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14872
14873# Whether or not to add -lc for building shared libraries.
14874build_libtool_need_lc=$archive_cmds_need_lc
14875
14876# Whether or not to disallow shared libs when runtime libs are static.
14877allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14878
14879# Compiler flag to allow reflexive dlopens.
14880export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14881
14882# Compiler flag to generate shared objects directly from archives.
14883whole_archive_flag_spec=$lt_whole_archive_flag_spec
14884
14885# Whether the compiler copes with passing no objects directly.
14886compiler_needs_object=$lt_compiler_needs_object
14887
14888# Create an old-style archive from a shared archive.
14889old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14890
14891# Create a temporary old-style archive to link instead of a shared archive.
14892old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14893
14894# Commands used to build a shared archive.
14895archive_cmds=$lt_archive_cmds
14896archive_expsym_cmds=$lt_archive_expsym_cmds
14897
14898# Commands used to build a loadable module if different from building
14899# a shared archive.
14900module_cmds=$lt_module_cmds
14901module_expsym_cmds=$lt_module_expsym_cmds
14902
14903# Whether we are building with GNU ld or not.
14904with_gnu_ld=$lt_with_gnu_ld
14905
14906# Flag that allows shared libraries with undefined symbols to be built.
14907allow_undefined_flag=$lt_allow_undefined_flag
14908
14909# Flag that enforces no undefined symbols.
14910no_undefined_flag=$lt_no_undefined_flag
14911
14912# Flag to hardcode \$libdir into a binary during linking.
14913# This must work even if \$libdir does not exist
14914hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14915
14916# Whether we need a single "-rpath" flag with a separated argument.
14917hardcode_libdir_separator=$lt_hardcode_libdir_separator
14918
14919# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14920# DIR into the resulting binary.
14921hardcode_direct=$hardcode_direct
14922
14923# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14924# DIR into the resulting binary and the resulting library dependency is
14925# "absolute",i.e impossible to change by setting \$shlibpath_var if the
14926# library is relocated.
14927hardcode_direct_absolute=$hardcode_direct_absolute
14928
14929# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14930# into the resulting binary.
14931hardcode_minus_L=$hardcode_minus_L
14932
14933# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14934# into the resulting binary.
14935hardcode_shlibpath_var=$hardcode_shlibpath_var
14936
14937# Set to "yes" if building a shared library automatically hardcodes DIR
14938# into the library and all subsequent libraries and executables linked
14939# against it.
14940hardcode_automatic=$hardcode_automatic
14941
14942# Set to yes if linker adds runtime paths of dependent libraries
14943# to runtime path list.
14944inherit_rpath=$inherit_rpath
14945
14946# Whether libtool must link a program against all its dependency libraries.
14947link_all_deplibs=$link_all_deplibs
14948
14949# Set to "yes" if exported symbols are required.
14950always_export_symbols=$always_export_symbols
14951
14952# The commands to list exported symbols.
14953export_symbols_cmds=$lt_export_symbols_cmds
14954
14955# Symbols that should not be listed in the preloaded symbols.
14956exclude_expsyms=$lt_exclude_expsyms
14957
14958# Symbols that must always be exported.
14959include_expsyms=$lt_include_expsyms
14960
14961# Commands necessary for linking programs (against libraries) with templates.
14962prelink_cmds=$lt_prelink_cmds
14963
14964# Commands necessary for finishing linking programs.
14965postlink_cmds=$lt_postlink_cmds
14966
14967# Specify filename containing input files.
14968file_list_spec=$lt_file_list_spec
14969
14970# How to hardcode a shared library path into an executable.
14971hardcode_action=$hardcode_action
14972
14973# ### END LIBTOOL CONFIG
14974
14975_LT_EOF
14976
14977    cat <<'_LT_EOF' >> "$cfgfile"
14978
14979# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14980
14981# func_munge_path_list VARIABLE PATH
14982# -----------------------------------
14983# VARIABLE is name of variable containing _space_ separated list of
14984# directories to be munged by the contents of PATH, which is string
14985# having a format:
14986# "DIR[:DIR]:"
14987#       string "DIR[ DIR]" will be prepended to VARIABLE
14988# ":DIR[:DIR]"
14989#       string "DIR[ DIR]" will be appended to VARIABLE
14990# "DIRP[:DIRP]::[DIRA:]DIRA"
14991#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14992#       "DIRA[ DIRA]" will be appended to VARIABLE
14993# "DIR[:DIR]"
14994#       VARIABLE will be replaced by "DIR[ DIR]"
14995func_munge_path_list ()
14996{
14997    case x$2 in
14998    x)
14999        ;;
15000    *:)
15001        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15002        ;;
15003    x:*)
15004        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15005        ;;
15006    *::*)
15007        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15008        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15009        ;;
15010    *)
15011        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15012        ;;
15013    esac
15014}
15015
15016
15017# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
15018func_cc_basename ()
15019{
15020    for cc_temp in $*""; do
15021      case $cc_temp in
15022        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15023        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15024        \-*) ;;
15025        *) break;;
15026      esac
15027    done
15028    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15029}
15030
15031
15032# ### END FUNCTIONS SHARED WITH CONFIGURE
15033
15034_LT_EOF
15035
15036  case $host_os in
15037  aix3*)
15038    cat <<\_LT_EOF >> "$cfgfile"
15039# AIX sometimes has problems with the GCC collect2 program.  For some
15040# reason, if we set the COLLECT_NAMES environment variable, the problems
15041# vanish in a puff of smoke.
15042if test set != "${COLLECT_NAMES+set}"; then
15043  COLLECT_NAMES=
15044  export COLLECT_NAMES
15045fi
15046_LT_EOF
15047    ;;
15048  esac
15049
15050
15051ltmain=$ac_aux_dir/ltmain.sh
15052
15053
15054  # We use sed instead of cat because bash on DJGPP gets confused if
15055  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15056  # text mode, it properly converts lines to CR/LF.  This bash problem
15057  # is reportedly fixed, but why not run on old versions too?
15058  sed '$q' "$ltmain" >> "$cfgfile" \
15059     || (rm -f "$cfgfile"; exit 1)
15060
15061   mv -f "$cfgfile" "$ofile" ||
15062    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15063  chmod +x "$ofile"
15064
15065
15066as_fn_exit 0
15067_LTEOF
15068chmod +x "$CONFIG_LT"
15069
15070# configure is writing to config.log, but config.lt does its own redirection,
15071# appending to config.log, which fails on DOS, as config.log is still kept
15072# open by configure.  Here we exec the FD to /dev/null, effectively closing
15073# config.log, so it can be properly (re)opened and appended to by config.lt.
15074lt_cl_success=:
15075test yes = "$silent" &&
15076  lt_config_lt_args="$lt_config_lt_args --quiet"
15077exec 5>/dev/null
15078$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
15079exec 5>>config.log
15080$lt_cl_success || as_fn_exit 1
15081
15082ac_ext=c
15083ac_cpp='$CPP $CPPFLAGS'
15084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15086ac_compiler_gnu=$ac_cv_c_compiler_gnu
15087ac_link="./libtool --mode=link --tag=CC $ac_link"
15088
15089if test -n "$ac_tool_prefix"; then
15090  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15091set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15093$as_echo_n "checking for $ac_word... " >&6; }
15094if ${ac_cv_prog_PKG_CONFIG+:} false; then :
15095  $as_echo_n "(cached) " >&6
15096else
15097  if test -n "$PKG_CONFIG"; then
15098  ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
15099else
15100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15101for as_dir in $PATH
15102do
15103  IFS=$as_save_IFS
15104  test -z "$as_dir" && as_dir=.
15105    for ac_exec_ext in '' $ac_executable_extensions; do
15106  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15107    ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
15108    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15109    break 2
15110  fi
15111done
15112  done
15113IFS=$as_save_IFS
15114
15115fi
15116fi
15117PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
15118if test -n "$PKG_CONFIG"; then
15119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15120$as_echo "$PKG_CONFIG" >&6; }
15121else
15122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15123$as_echo "no" >&6; }
15124fi
15125
15126
15127fi
15128if test -z "$ac_cv_prog_PKG_CONFIG"; then
15129  ac_ct_PKG_CONFIG=$PKG_CONFIG
15130  # Extract the first word of "pkg-config", so it can be a program name with args.
15131set dummy pkg-config; ac_word=$2
15132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15133$as_echo_n "checking for $ac_word... " >&6; }
15134if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then :
15135  $as_echo_n "(cached) " >&6
15136else
15137  if test -n "$ac_ct_PKG_CONFIG"; then
15138  ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
15139else
15140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15141for as_dir in $PATH
15142do
15143  IFS=$as_save_IFS
15144  test -z "$as_dir" && as_dir=.
15145    for ac_exec_ext in '' $ac_executable_extensions; do
15146  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15147    ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
15148    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15149    break 2
15150  fi
15151done
15152  done
15153IFS=$as_save_IFS
15154
15155fi
15156fi
15157ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
15158if test -n "$ac_ct_PKG_CONFIG"; then
15159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
15160$as_echo "$ac_ct_PKG_CONFIG" >&6; }
15161else
15162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15163$as_echo "no" >&6; }
15164fi
15165
15166  if test "x$ac_ct_PKG_CONFIG" = x; then
15167    PKG_CONFIG="false"
15168  else
15169    case $cross_compiling:$ac_tool_warned in
15170yes:)
15171{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15172$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15173ac_tool_warned=yes ;;
15174esac
15175    PKG_CONFIG=$ac_ct_PKG_CONFIG
15176  fi
15177else
15178  PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
15179fi
15180
15181## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags
15182
15183# Check whether --with-system-kpathsea was given.
15184if test "${with_system_kpathsea+set}" = set; then :
15185  withval=$with_system_kpathsea;
15186fi
15187if test "x$with_system_kpathsea" = xyes; then
15188  if $PKG_CONFIG kpathsea; then
15189  KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
15190  KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
15191elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
15192  as_fn_error $? "did not find kpathsea" "$LINENO" 5
15193fi
15194else
15195  KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
15196  KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
15197  KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
15198  KPATHSEA_RULE='# Rebuild libkpathsea
15199$(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
15200	cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
15201${top_builddir}/../kpathsea/paths.h:
15202	cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
15203fi
15204
15205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
15206$as_echo_n "checking if libkpathsea supports debugging... " >&6; }
15207if ${kpse_cv_kpse_debug+:} false; then :
15208  $as_echo_n "(cached) " >&6
15209else
15210  eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
15211eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
15212
15213                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214/* end confdefs.h.  */
15215#include <kpathsea/kpathsea.h>
15216int
15217main ()
15218{
15219FILE *f = fopen("f", "r")
15220  ;
15221  return 0;
15222}
15223_ACEOF
15224if ac_fn_c_try_link "$LINENO"; then :
15225  kpse_cv_kpse_debug=yes
15226else
15227  kpse_cv_kpse_debug=no
15228fi
15229rm -f core conftest.err conftest.$ac_objext \
15230    conftest$ac_exeext conftest.$ac_ext
15231                CPPFLAGS=$kpse_save_CPPFLAGS
15232LIBS=$kpse_save_LIBS
15233
15234fi
15235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
15236$as_echo "$kpse_cv_kpse_debug" >&6; }
15237if test "x$kpse_cv_kpse_debug" != xyes; then :
15238  KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
15239fi
15240
15241
15242ac_config_files="$ac_config_files Makefile ChkTeX.t:chktex-1.7.4/ChkTeX.tex.in"
15243
15244ac_config_files="$ac_config_files deweb.pl:chktex-1.7.4/deweb.in"
15245
15246
15247cat >confcache <<\_ACEOF
15248# This file is a shell script that caches the results of configure
15249# tests run on this system so they can be shared between configure
15250# scripts and configure runs, see configure's option --config-cache.
15251# It is not useful on other systems.  If it contains results you don't
15252# want to keep, you may remove or edit it.
15253#
15254# config.status only pays attention to the cache file if you give it
15255# the --recheck option to rerun configure.
15256#
15257# `ac_cv_env_foo' variables (set or unset) will be overridden when
15258# loading this file, other *unset* `ac_cv_foo' will be assigned the
15259# following values.
15260
15261_ACEOF
15262
15263# The following way of writing the cache mishandles newlines in values,
15264# but we know of no workaround that is simple, portable, and efficient.
15265# So, we kill variables containing newlines.
15266# Ultrix sh set writes to stderr and can't be redirected directly,
15267# and sets the high bit in the cache file unless we assign to the vars.
15268(
15269  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15270    eval ac_val=\$$ac_var
15271    case $ac_val in #(
15272    *${as_nl}*)
15273      case $ac_var in #(
15274      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15275$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15276      esac
15277      case $ac_var in #(
15278      _ | IFS | as_nl) ;; #(
15279      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15280      *) { eval $ac_var=; unset $ac_var;} ;;
15281      esac ;;
15282    esac
15283  done
15284
15285  (set) 2>&1 |
15286    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15287    *${as_nl}ac_space=\ *)
15288      # `set' does not quote correctly, so add quotes: double-quote
15289      # substitution turns \\\\ into \\, and sed turns \\ into \.
15290      sed -n \
15291	"s/'/'\\\\''/g;
15292	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15293      ;; #(
15294    *)
15295      # `set' quotes correctly as required by POSIX, so do not add quotes.
15296      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15297      ;;
15298    esac |
15299    sort
15300) |
15301  sed '
15302     /^ac_cv_env_/b end
15303     t clear
15304     :clear
15305     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15306     t end
15307     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15308     :end' >>confcache
15309if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15310  if test -w "$cache_file"; then
15311    if test "x$cache_file" != "x/dev/null"; then
15312      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15313$as_echo "$as_me: updating cache $cache_file" >&6;}
15314      if test ! -f "$cache_file" || test -h "$cache_file"; then
15315	cat confcache >"$cache_file"
15316      else
15317        case $cache_file in #(
15318        */* | ?:*)
15319	  mv -f confcache "$cache_file"$$ &&
15320	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15321        *)
15322	  mv -f confcache "$cache_file" ;;
15323	esac
15324      fi
15325    fi
15326  else
15327    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15328$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15329  fi
15330fi
15331rm -f confcache
15332
15333test "x$prefix" = xNONE && prefix=$ac_default_prefix
15334# Let make expand exec_prefix.
15335test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15336
15337DEFS=-DHAVE_CONFIG_H
15338
15339ac_libobjs=
15340ac_ltlibobjs=
15341U=
15342for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15343  # 1. Remove the extension, and $U if already installed.
15344  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15345  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15346  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15347  #    will be set to the directory where LIBOBJS objects are built.
15348  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15349  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15350done
15351LIBOBJS=$ac_libobjs
15352
15353LTLIBOBJS=$ac_ltlibobjs
15354
15355
15356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15357$as_echo_n "checking that generated files are newer than configure... " >&6; }
15358   if test -n "$am_sleep_pid"; then
15359     # Hide warnings about reused PIDs.
15360     wait $am_sleep_pid 2>/dev/null
15361   fi
15362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15363$as_echo "done" >&6; }
15364 if test -n "$EXEEXT"; then
15365  am__EXEEXT_TRUE=
15366  am__EXEEXT_FALSE='#'
15367else
15368  am__EXEEXT_TRUE='#'
15369  am__EXEEXT_FALSE=
15370fi
15371
15372if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15373  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15374Usually this means the macro was only invoked conditionally." "$LINENO" 5
15375fi
15376if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15377  as_fn_error $? "conditional \"AMDEP\" was never defined.
15378Usually this means the macro was only invoked conditionally." "$LINENO" 5
15379fi
15380if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15381  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15382Usually this means the macro was only invoked conditionally." "$LINENO" 5
15383fi
15384if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
15385  as_fn_error $? "conditional \"WIN32\" was never defined.
15386Usually this means the macro was only invoked conditionally." "$LINENO" 5
15387fi
15388if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
15389  as_fn_error $? "conditional \"MINGW32\" was never defined.
15390Usually this means the macro was only invoked conditionally." "$LINENO" 5
15391fi
15392if test -z "${WIN32_WRAP_TRUE}" && test -z "${WIN32_WRAP_FALSE}"; then
15393  as_fn_error $? "conditional \"WIN32_WRAP\" was never defined.
15394Usually this means the macro was only invoked conditionally." "$LINENO" 5
15395fi
15396
15397: "${CONFIG_STATUS=./config.status}"
15398ac_write_fail=0
15399ac_clean_files_save=$ac_clean_files
15400ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15401{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15402$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15403as_write_fail=0
15404cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15405#! $SHELL
15406# Generated by $as_me.
15407# Run this file to recreate the current configuration.
15408# Compiler output produced by configure, useful for debugging
15409# configure, is in config.log if it exists.
15410
15411debug=false
15412ac_cs_recheck=false
15413ac_cs_silent=false
15414
15415SHELL=\${CONFIG_SHELL-$SHELL}
15416export SHELL
15417_ASEOF
15418cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15419## -------------------- ##
15420## M4sh Initialization. ##
15421## -------------------- ##
15422
15423# Be more Bourne compatible
15424DUALCASE=1; export DUALCASE # for MKS sh
15425if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15426  emulate sh
15427  NULLCMD=:
15428  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15429  # is contrary to our usage.  Disable this feature.
15430  alias -g '${1+"$@"}'='"$@"'
15431  setopt NO_GLOB_SUBST
15432else
15433  case `(set -o) 2>/dev/null` in #(
15434  *posix*) :
15435    set -o posix ;; #(
15436  *) :
15437     ;;
15438esac
15439fi
15440
15441
15442as_nl='
15443'
15444export as_nl
15445# Printing a long string crashes Solaris 7 /usr/bin/printf.
15446as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15447as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15448as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15449# Prefer a ksh shell builtin over an external printf program on Solaris,
15450# but without wasting forks for bash or zsh.
15451if test -z "$BASH_VERSION$ZSH_VERSION" \
15452    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15453  as_echo='print -r --'
15454  as_echo_n='print -rn --'
15455elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15456  as_echo='printf %s\n'
15457  as_echo_n='printf %s'
15458else
15459  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15460    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15461    as_echo_n='/usr/ucb/echo -n'
15462  else
15463    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15464    as_echo_n_body='eval
15465      arg=$1;
15466      case $arg in #(
15467      *"$as_nl"*)
15468	expr "X$arg" : "X\\(.*\\)$as_nl";
15469	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15470      esac;
15471      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15472    '
15473    export as_echo_n_body
15474    as_echo_n='sh -c $as_echo_n_body as_echo'
15475  fi
15476  export as_echo_body
15477  as_echo='sh -c $as_echo_body as_echo'
15478fi
15479
15480# The user is always right.
15481if test "${PATH_SEPARATOR+set}" != set; then
15482  PATH_SEPARATOR=:
15483  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15484    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15485      PATH_SEPARATOR=';'
15486  }
15487fi
15488
15489
15490# IFS
15491# We need space, tab and new line, in precisely that order.  Quoting is
15492# there to prevent editors from complaining about space-tab.
15493# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15494# splitting by setting IFS to empty value.)
15495IFS=" ""	$as_nl"
15496
15497# Find who we are.  Look in the path if we contain no directory separator.
15498as_myself=
15499case $0 in #((
15500  *[\\/]* ) as_myself=$0 ;;
15501  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15502for as_dir in $PATH
15503do
15504  IFS=$as_save_IFS
15505  test -z "$as_dir" && as_dir=.
15506    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15507  done
15508IFS=$as_save_IFS
15509
15510     ;;
15511esac
15512# We did not find ourselves, most probably we were run as `sh COMMAND'
15513# in which case we are not to be found in the path.
15514if test "x$as_myself" = x; then
15515  as_myself=$0
15516fi
15517if test ! -f "$as_myself"; then
15518  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15519  exit 1
15520fi
15521
15522# Unset variables that we do not need and which cause bugs (e.g. in
15523# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15524# suppresses any "Segmentation fault" message there.  '((' could
15525# trigger a bug in pdksh 5.2.14.
15526for as_var in BASH_ENV ENV MAIL MAILPATH
15527do eval test x\${$as_var+set} = xset \
15528  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15529done
15530PS1='$ '
15531PS2='> '
15532PS4='+ '
15533
15534# NLS nuisances.
15535LC_ALL=C
15536export LC_ALL
15537LANGUAGE=C
15538export LANGUAGE
15539
15540# CDPATH.
15541(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15542
15543
15544# as_fn_error STATUS ERROR [LINENO LOG_FD]
15545# ----------------------------------------
15546# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15547# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15548# script with STATUS, using 1 if that was 0.
15549as_fn_error ()
15550{
15551  as_status=$1; test $as_status -eq 0 && as_status=1
15552  if test "$4"; then
15553    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15554    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15555  fi
15556  $as_echo "$as_me: error: $2" >&2
15557  as_fn_exit $as_status
15558} # as_fn_error
15559
15560
15561# as_fn_set_status STATUS
15562# -----------------------
15563# Set $? to STATUS, without forking.
15564as_fn_set_status ()
15565{
15566  return $1
15567} # as_fn_set_status
15568
15569# as_fn_exit STATUS
15570# -----------------
15571# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15572as_fn_exit ()
15573{
15574  set +e
15575  as_fn_set_status $1
15576  exit $1
15577} # as_fn_exit
15578
15579# as_fn_unset VAR
15580# ---------------
15581# Portably unset VAR.
15582as_fn_unset ()
15583{
15584  { eval $1=; unset $1;}
15585}
15586as_unset=as_fn_unset
15587# as_fn_append VAR VALUE
15588# ----------------------
15589# Append the text in VALUE to the end of the definition contained in VAR. Take
15590# advantage of any shell optimizations that allow amortized linear growth over
15591# repeated appends, instead of the typical quadratic growth present in naive
15592# implementations.
15593if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15594  eval 'as_fn_append ()
15595  {
15596    eval $1+=\$2
15597  }'
15598else
15599  as_fn_append ()
15600  {
15601    eval $1=\$$1\$2
15602  }
15603fi # as_fn_append
15604
15605# as_fn_arith ARG...
15606# ------------------
15607# Perform arithmetic evaluation on the ARGs, and store the result in the
15608# global $as_val. Take advantage of shells that can avoid forks. The arguments
15609# must be portable across $(()) and expr.
15610if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15611  eval 'as_fn_arith ()
15612  {
15613    as_val=$(( $* ))
15614  }'
15615else
15616  as_fn_arith ()
15617  {
15618    as_val=`expr "$@" || test $? -eq 1`
15619  }
15620fi # as_fn_arith
15621
15622
15623if expr a : '\(a\)' >/dev/null 2>&1 &&
15624   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15625  as_expr=expr
15626else
15627  as_expr=false
15628fi
15629
15630if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15631  as_basename=basename
15632else
15633  as_basename=false
15634fi
15635
15636if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15637  as_dirname=dirname
15638else
15639  as_dirname=false
15640fi
15641
15642as_me=`$as_basename -- "$0" ||
15643$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15644	 X"$0" : 'X\(//\)$' \| \
15645	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15646$as_echo X/"$0" |
15647    sed '/^.*\/\([^/][^/]*\)\/*$/{
15648	    s//\1/
15649	    q
15650	  }
15651	  /^X\/\(\/\/\)$/{
15652	    s//\1/
15653	    q
15654	  }
15655	  /^X\/\(\/\).*/{
15656	    s//\1/
15657	    q
15658	  }
15659	  s/.*/./; q'`
15660
15661# Avoid depending upon Character Ranges.
15662as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15663as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15664as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15665as_cr_digits='0123456789'
15666as_cr_alnum=$as_cr_Letters$as_cr_digits
15667
15668ECHO_C= ECHO_N= ECHO_T=
15669case `echo -n x` in #(((((
15670-n*)
15671  case `echo 'xy\c'` in
15672  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15673  xy)  ECHO_C='\c';;
15674  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15675       ECHO_T='	';;
15676  esac;;
15677*)
15678  ECHO_N='-n';;
15679esac
15680
15681rm -f conf$$ conf$$.exe conf$$.file
15682if test -d conf$$.dir; then
15683  rm -f conf$$.dir/conf$$.file
15684else
15685  rm -f conf$$.dir
15686  mkdir conf$$.dir 2>/dev/null
15687fi
15688if (echo >conf$$.file) 2>/dev/null; then
15689  if ln -s conf$$.file conf$$ 2>/dev/null; then
15690    as_ln_s='ln -s'
15691    # ... but there are two gotchas:
15692    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15693    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15694    # In both cases, we have to default to `cp -pR'.
15695    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15696      as_ln_s='cp -pR'
15697  elif ln conf$$.file conf$$ 2>/dev/null; then
15698    as_ln_s=ln
15699  else
15700    as_ln_s='cp -pR'
15701  fi
15702else
15703  as_ln_s='cp -pR'
15704fi
15705rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15706rmdir conf$$.dir 2>/dev/null
15707
15708
15709# as_fn_mkdir_p
15710# -------------
15711# Create "$as_dir" as a directory, including parents if necessary.
15712as_fn_mkdir_p ()
15713{
15714
15715  case $as_dir in #(
15716  -*) as_dir=./$as_dir;;
15717  esac
15718  test -d "$as_dir" || eval $as_mkdir_p || {
15719    as_dirs=
15720    while :; do
15721      case $as_dir in #(
15722      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15723      *) as_qdir=$as_dir;;
15724      esac
15725      as_dirs="'$as_qdir' $as_dirs"
15726      as_dir=`$as_dirname -- "$as_dir" ||
15727$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15728	 X"$as_dir" : 'X\(//\)[^/]' \| \
15729	 X"$as_dir" : 'X\(//\)$' \| \
15730	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15731$as_echo X"$as_dir" |
15732    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15733	    s//\1/
15734	    q
15735	  }
15736	  /^X\(\/\/\)[^/].*/{
15737	    s//\1/
15738	    q
15739	  }
15740	  /^X\(\/\/\)$/{
15741	    s//\1/
15742	    q
15743	  }
15744	  /^X\(\/\).*/{
15745	    s//\1/
15746	    q
15747	  }
15748	  s/.*/./; q'`
15749      test -d "$as_dir" && break
15750    done
15751    test -z "$as_dirs" || eval "mkdir $as_dirs"
15752  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15753
15754
15755} # as_fn_mkdir_p
15756if mkdir -p . 2>/dev/null; then
15757  as_mkdir_p='mkdir -p "$as_dir"'
15758else
15759  test -d ./-p && rmdir ./-p
15760  as_mkdir_p=false
15761fi
15762
15763
15764# as_fn_executable_p FILE
15765# -----------------------
15766# Test if FILE is an executable regular file.
15767as_fn_executable_p ()
15768{
15769  test -f "$1" && test -x "$1"
15770} # as_fn_executable_p
15771as_test_x='test -x'
15772as_executable_p=as_fn_executable_p
15773
15774# Sed expression to map a string onto a valid CPP name.
15775as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15776
15777# Sed expression to map a string onto a valid variable name.
15778as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15779
15780
15781exec 6>&1
15782## ----------------------------------- ##
15783## Main body of $CONFIG_STATUS script. ##
15784## ----------------------------------- ##
15785_ASEOF
15786test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15787
15788cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15789# Save the log message, to keep $0 and so on meaningful, and to
15790# report actual input values of CONFIG_FILES etc. instead of their
15791# values after options handling.
15792ac_log="
15793This file was extended by ChkTeX (TeX Live) $as_me 1.7.4, which was
15794generated by GNU Autoconf 2.69.  Invocation command line was
15795
15796  CONFIG_FILES    = $CONFIG_FILES
15797  CONFIG_HEADERS  = $CONFIG_HEADERS
15798  CONFIG_LINKS    = $CONFIG_LINKS
15799  CONFIG_COMMANDS = $CONFIG_COMMANDS
15800  $ $0 $@
15801
15802on `(hostname || uname -n) 2>/dev/null | sed 1q`
15803"
15804
15805_ACEOF
15806
15807case $ac_config_files in *"
15808"*) set x $ac_config_files; shift; ac_config_files=$*;;
15809esac
15810
15811case $ac_config_headers in *"
15812"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15813esac
15814
15815
15816cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15817# Files that config.status was made for.
15818config_files="$ac_config_files"
15819config_headers="$ac_config_headers"
15820config_commands="$ac_config_commands"
15821
15822_ACEOF
15823
15824cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15825ac_cs_usage="\
15826\`$as_me' instantiates files and other configuration actions
15827from templates according to the current configuration.  Unless the files
15828and actions are specified as TAGs, all are instantiated by default.
15829
15830Usage: $0 [OPTION]... [TAG]...
15831
15832  -h, --help       print this help, then exit
15833  -V, --version    print version number and configuration settings, then exit
15834      --config     print configuration, then exit
15835  -q, --quiet, --silent
15836                   do not print progress messages
15837  -d, --debug      don't remove temporary files
15838      --recheck    update $as_me by reconfiguring in the same conditions
15839      --file=FILE[:TEMPLATE]
15840                   instantiate the configuration file FILE
15841      --header=FILE[:TEMPLATE]
15842                   instantiate the configuration header FILE
15843
15844Configuration files:
15845$config_files
15846
15847Configuration headers:
15848$config_headers
15849
15850Configuration commands:
15851$config_commands
15852
15853Report bugs to <tex-k@tug.org>."
15854
15855_ACEOF
15856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15857ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15858ac_cs_version="\\
15859ChkTeX (TeX Live) config.status 1.7.4
15860configured by $0, generated by GNU Autoconf 2.69,
15861  with options \\"\$ac_cs_config\\"
15862
15863Copyright (C) 2012 Free Software Foundation, Inc.
15864This config.status script is free software; the Free Software Foundation
15865gives unlimited permission to copy, distribute and modify it."
15866
15867ac_pwd='$ac_pwd'
15868srcdir='$srcdir'
15869INSTALL='$INSTALL'
15870MKDIR_P='$MKDIR_P'
15871AWK='$AWK'
15872test -n "\$AWK" || AWK=awk
15873_ACEOF
15874
15875cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15876# The default lists apply if the user does not specify any file.
15877ac_need_defaults=:
15878while test $# != 0
15879do
15880  case $1 in
15881  --*=?*)
15882    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15883    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15884    ac_shift=:
15885    ;;
15886  --*=)
15887    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15888    ac_optarg=
15889    ac_shift=:
15890    ;;
15891  *)
15892    ac_option=$1
15893    ac_optarg=$2
15894    ac_shift=shift
15895    ;;
15896  esac
15897
15898  case $ac_option in
15899  # Handling of the options.
15900  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15901    ac_cs_recheck=: ;;
15902  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15903    $as_echo "$ac_cs_version"; exit ;;
15904  --config | --confi | --conf | --con | --co | --c )
15905    $as_echo "$ac_cs_config"; exit ;;
15906  --debug | --debu | --deb | --de | --d | -d )
15907    debug=: ;;
15908  --file | --fil | --fi | --f )
15909    $ac_shift
15910    case $ac_optarg in
15911    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15912    '') as_fn_error $? "missing file argument" ;;
15913    esac
15914    as_fn_append CONFIG_FILES " '$ac_optarg'"
15915    ac_need_defaults=false;;
15916  --header | --heade | --head | --hea )
15917    $ac_shift
15918    case $ac_optarg in
15919    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15920    esac
15921    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15922    ac_need_defaults=false;;
15923  --he | --h)
15924    # Conflict between --help and --header
15925    as_fn_error $? "ambiguous option: \`$1'
15926Try \`$0 --help' for more information.";;
15927  --help | --hel | -h )
15928    $as_echo "$ac_cs_usage"; exit ;;
15929  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15930  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15931    ac_cs_silent=: ;;
15932
15933  # This is an error.
15934  -*) as_fn_error $? "unrecognized option: \`$1'
15935Try \`$0 --help' for more information." ;;
15936
15937  *) as_fn_append ac_config_targets " $1"
15938     ac_need_defaults=false ;;
15939
15940  esac
15941  shift
15942done
15943
15944ac_configure_extra_args=
15945
15946if $ac_cs_silent; then
15947  exec 6>/dev/null
15948  ac_configure_extra_args="$ac_configure_extra_args --silent"
15949fi
15950
15951_ACEOF
15952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15953if \$ac_cs_recheck; then
15954  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15955  shift
15956  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15957  CONFIG_SHELL='$SHELL'
15958  export CONFIG_SHELL
15959  exec "\$@"
15960fi
15961
15962_ACEOF
15963cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15964exec 5>>config.log
15965{
15966  echo
15967  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15968## Running $as_me. ##
15969_ASBOX
15970  $as_echo "$ac_log"
15971} >&5
15972
15973_ACEOF
15974cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15975#
15976# INIT-COMMANDS
15977#
15978AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15979
15980
15981# The HP-UX ksh and POSIX shell print the target directory to stdout
15982# if CDPATH is set.
15983(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15984
15985sed_quote_subst='$sed_quote_subst'
15986double_quote_subst='$double_quote_subst'
15987delay_variable_subst='$delay_variable_subst'
15988macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15989macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15990AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15991DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15992OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15993enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15994enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15995pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15996enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15997shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15998SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15999ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16000PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16001host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16002host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16003host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16004build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16005build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16006build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16007SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16008Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16009GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16010EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16011FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16012LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16013NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16014LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16015max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16016ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16017exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16018lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16019lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16020lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16021lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16022lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16023reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16024reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16025deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16026file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16027file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16028want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16029sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16030AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16031AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16032archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16033STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16034RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16035old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16036old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16037old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16038lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16039CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16040CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16041compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16042GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16043lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16044lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16045lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16046lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16047lt_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"`'
16048lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16049nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16050lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16051lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16052objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16053MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16054lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16055lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16056lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16057lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16058lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16059need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16060MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16061DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16062NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16063LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16064OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16065OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16066libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16067shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16068extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16069archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16070enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16071export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16072whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16073compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16074old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16075old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16076archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16077archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16078module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16079module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16080with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16081allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16082no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16083hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16084hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16085hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16086hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16087hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16088hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16089hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16090inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16091link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16092always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16093export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16094exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16095include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16096prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16097postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16098file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16099variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16100need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16101need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16102version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16103runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16104shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16105shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16106libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16107library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16108soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16109install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16110postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16111postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16112finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16113finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16114hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16115sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16116configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16117configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16118hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16119enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16120enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16121enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16122old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16123striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16124
16125LTCC='$LTCC'
16126LTCFLAGS='$LTCFLAGS'
16127compiler='$compiler_DEFAULT'
16128
16129# A function that is used when there is no print builtin or printf.
16130func_fallback_echo ()
16131{
16132  eval 'cat <<_LTECHO_EOF
16133\$1
16134_LTECHO_EOF'
16135}
16136
16137# Quote evaled strings.
16138for var in AS \
16139DLLTOOL \
16140OBJDUMP \
16141SHELL \
16142ECHO \
16143PATH_SEPARATOR \
16144SED \
16145GREP \
16146EGREP \
16147FGREP \
16148LD \
16149NM \
16150LN_S \
16151lt_SP2NL \
16152lt_NL2SP \
16153reload_flag \
16154deplibs_check_method \
16155file_magic_cmd \
16156file_magic_glob \
16157want_nocaseglob \
16158sharedlib_from_linklib_cmd \
16159AR \
16160AR_FLAGS \
16161archiver_list_spec \
16162STRIP \
16163RANLIB \
16164CC \
16165CFLAGS \
16166compiler \
16167lt_cv_sys_global_symbol_pipe \
16168lt_cv_sys_global_symbol_to_cdecl \
16169lt_cv_sys_global_symbol_to_import \
16170lt_cv_sys_global_symbol_to_c_name_address \
16171lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16172lt_cv_nm_interface \
16173nm_file_list_spec \
16174lt_cv_truncate_bin \
16175lt_prog_compiler_no_builtin_flag \
16176lt_prog_compiler_pic \
16177lt_prog_compiler_wl \
16178lt_prog_compiler_static \
16179lt_cv_prog_compiler_c_o \
16180need_locks \
16181MANIFEST_TOOL \
16182DSYMUTIL \
16183NMEDIT \
16184LIPO \
16185OTOOL \
16186OTOOL64 \
16187shrext_cmds \
16188export_dynamic_flag_spec \
16189whole_archive_flag_spec \
16190compiler_needs_object \
16191with_gnu_ld \
16192allow_undefined_flag \
16193no_undefined_flag \
16194hardcode_libdir_flag_spec \
16195hardcode_libdir_separator \
16196exclude_expsyms \
16197include_expsyms \
16198file_list_spec \
16199variables_saved_for_relink \
16200libname_spec \
16201library_names_spec \
16202soname_spec \
16203install_override_mode \
16204finish_eval \
16205old_striplib \
16206striplib; do
16207    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16208    *[\\\\\\\`\\"\\\$]*)
16209      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16210      ;;
16211    *)
16212      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16213      ;;
16214    esac
16215done
16216
16217# Double-quote double-evaled strings.
16218for var in reload_cmds \
16219old_postinstall_cmds \
16220old_postuninstall_cmds \
16221old_archive_cmds \
16222extract_expsyms_cmds \
16223old_archive_from_new_cmds \
16224old_archive_from_expsyms_cmds \
16225archive_cmds \
16226archive_expsym_cmds \
16227module_cmds \
16228module_expsym_cmds \
16229export_symbols_cmds \
16230prelink_cmds \
16231postlink_cmds \
16232postinstall_cmds \
16233postuninstall_cmds \
16234finish_cmds \
16235sys_lib_search_path_spec \
16236configure_time_dlsearch_path \
16237configure_time_lt_sys_library_path; do
16238    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16239    *[\\\\\\\`\\"\\\$]*)
16240      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16241      ;;
16242    *)
16243      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16244      ;;
16245    esac
16246done
16247
16248ac_aux_dir='$ac_aux_dir'
16249
16250# See if we are running on zsh, and set the options that allow our
16251# commands through without removal of \ escapes INIT.
16252if test -n "\${ZSH_VERSION+set}"; then
16253   setopt NO_GLOB_SUBST
16254fi
16255
16256
16257    PACKAGE='$PACKAGE'
16258    VERSION='$VERSION'
16259    RM='$RM'
16260    ofile='$ofile'
16261
16262ac_aux_dir='$ac_aux_dir'
16263
16264
16265
16266_ACEOF
16267
16268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16269
16270# Handling of arguments.
16271for ac_config_target in $ac_config_targets
16272do
16273  case $ac_config_target in
16274    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16275    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16276    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16277    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16278    "ChkTeX.t") CONFIG_FILES="$CONFIG_FILES ChkTeX.t:chktex-1.7.4/ChkTeX.tex.in" ;;
16279    "deweb.pl") CONFIG_FILES="$CONFIG_FILES deweb.pl:chktex-1.7.4/deweb.in" ;;
16280
16281  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16282  esac
16283done
16284
16285
16286# If the user did not use the arguments to specify the items to instantiate,
16287# then the envvar interface is used.  Set only those that are not.
16288# We use the long form for the default assignment because of an extremely
16289# bizarre bug on SunOS 4.1.3.
16290if $ac_need_defaults; then
16291  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16292  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16293  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16294fi
16295
16296# Have a temporary directory for convenience.  Make it in the build tree
16297# simply because there is no reason against having it here, and in addition,
16298# creating and moving files from /tmp can sometimes cause problems.
16299# Hook for its removal unless debugging.
16300# Note that there is a small window in which the directory will not be cleaned:
16301# after its creation but before its name has been assigned to `$tmp'.
16302$debug ||
16303{
16304  tmp= ac_tmp=
16305  trap 'exit_status=$?
16306  : "${ac_tmp:=$tmp}"
16307  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16308' 0
16309  trap 'as_fn_exit 1' 1 2 13 15
16310}
16311# Create a (secure) tmp directory for tmp files.
16312
16313{
16314  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16315  test -d "$tmp"
16316}  ||
16317{
16318  tmp=./conf$$-$RANDOM
16319  (umask 077 && mkdir "$tmp")
16320} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16321ac_tmp=$tmp
16322
16323# Set up the scripts for CONFIG_FILES section.
16324# No need to generate them if there are no CONFIG_FILES.
16325# This happens for instance with `./config.status config.h'.
16326if test -n "$CONFIG_FILES"; then
16327
16328
16329ac_cr=`echo X | tr X '\015'`
16330# On cygwin, bash can eat \r inside `` if the user requested igncr.
16331# But we know of no other shell where ac_cr would be empty at this
16332# point, so we can use a bashism as a fallback.
16333if test "x$ac_cr" = x; then
16334  eval ac_cr=\$\'\\r\'
16335fi
16336ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16337if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16338  ac_cs_awk_cr='\\r'
16339else
16340  ac_cs_awk_cr=$ac_cr
16341fi
16342
16343echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16344_ACEOF
16345
16346
16347{
16348  echo "cat >conf$$subs.awk <<_ACEOF" &&
16349  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16350  echo "_ACEOF"
16351} >conf$$subs.sh ||
16352  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16353ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16354ac_delim='%!_!# '
16355for ac_last_try in false false false false false :; do
16356  . ./conf$$subs.sh ||
16357    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16358
16359  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16360  if test $ac_delim_n = $ac_delim_num; then
16361    break
16362  elif $ac_last_try; then
16363    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16364  else
16365    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16366  fi
16367done
16368rm -f conf$$subs.sh
16369
16370cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16371cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16372_ACEOF
16373sed -n '
16374h
16375s/^/S["/; s/!.*/"]=/
16376p
16377g
16378s/^[^!]*!//
16379:repl
16380t repl
16381s/'"$ac_delim"'$//
16382t delim
16383:nl
16384h
16385s/\(.\{148\}\)..*/\1/
16386t more1
16387s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16388p
16389n
16390b repl
16391:more1
16392s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16393p
16394g
16395s/.\{148\}//
16396t nl
16397:delim
16398h
16399s/\(.\{148\}\)..*/\1/
16400t more2
16401s/["\\]/\\&/g; s/^/"/; s/$/"/
16402p
16403b
16404:more2
16405s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16406p
16407g
16408s/.\{148\}//
16409t delim
16410' <conf$$subs.awk | sed '
16411/^[^""]/{
16412  N
16413  s/\n//
16414}
16415' >>$CONFIG_STATUS || ac_write_fail=1
16416rm -f conf$$subs.awk
16417cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16418_ACAWK
16419cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16420  for (key in S) S_is_set[key] = 1
16421  FS = ""
16422
16423}
16424{
16425  line = $ 0
16426  nfields = split(line, field, "@")
16427  substed = 0
16428  len = length(field[1])
16429  for (i = 2; i < nfields; i++) {
16430    key = field[i]
16431    keylen = length(key)
16432    if (S_is_set[key]) {
16433      value = S[key]
16434      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16435      len += length(value) + length(field[++i])
16436      substed = 1
16437    } else
16438      len += 1 + keylen
16439  }
16440
16441  print line
16442}
16443
16444_ACAWK
16445_ACEOF
16446cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16447if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16448  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16449else
16450  cat
16451fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16452  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16453_ACEOF
16454
16455# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16456# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16457# trailing colons and then remove the whole line if VPATH becomes empty
16458# (actually we leave an empty line to preserve line numbers).
16459if test "x$srcdir" = x.; then
16460  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16461h
16462s///
16463s/^/:/
16464s/[	 ]*$/:/
16465s/:\$(srcdir):/:/g
16466s/:\${srcdir}:/:/g
16467s/:@srcdir@:/:/g
16468s/^:*//
16469s/:*$//
16470x
16471s/\(=[	 ]*\).*/\1/
16472G
16473s/\n//
16474s/^[^=]*=[	 ]*$//
16475}'
16476fi
16477
16478cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16479fi # test -n "$CONFIG_FILES"
16480
16481# Set up the scripts for CONFIG_HEADERS section.
16482# No need to generate them if there are no CONFIG_HEADERS.
16483# This happens for instance with `./config.status Makefile'.
16484if test -n "$CONFIG_HEADERS"; then
16485cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16486BEGIN {
16487_ACEOF
16488
16489# Transform confdefs.h into an awk script `defines.awk', embedded as
16490# here-document in config.status, that substitutes the proper values into
16491# config.h.in to produce config.h.
16492
16493# Create a delimiter string that does not exist in confdefs.h, to ease
16494# handling of long lines.
16495ac_delim='%!_!# '
16496for ac_last_try in false false :; do
16497  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16498  if test -z "$ac_tt"; then
16499    break
16500  elif $ac_last_try; then
16501    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16502  else
16503    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16504  fi
16505done
16506
16507# For the awk script, D is an array of macro values keyed by name,
16508# likewise P contains macro parameters if any.  Preserve backslash
16509# newline sequences.
16510
16511ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16512sed -n '
16513s/.\{148\}/&'"$ac_delim"'/g
16514t rset
16515:rset
16516s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16517t def
16518d
16519:def
16520s/\\$//
16521t bsnl
16522s/["\\]/\\&/g
16523s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16524D["\1"]=" \3"/p
16525s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16526d
16527:bsnl
16528s/["\\]/\\&/g
16529s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16530D["\1"]=" \3\\\\\\n"\\/p
16531t cont
16532s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16533t cont
16534d
16535:cont
16536n
16537s/.\{148\}/&'"$ac_delim"'/g
16538t clear
16539:clear
16540s/\\$//
16541t bsnlc
16542s/["\\]/\\&/g; s/^/"/; s/$/"/p
16543d
16544:bsnlc
16545s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16546b cont
16547' <confdefs.h | sed '
16548s/'"$ac_delim"'/"\\\
16549"/g' >>$CONFIG_STATUS || ac_write_fail=1
16550
16551cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16552  for (key in D) D_is_set[key] = 1
16553  FS = ""
16554}
16555/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16556  line = \$ 0
16557  split(line, arg, " ")
16558  if (arg[1] == "#") {
16559    defundef = arg[2]
16560    mac1 = arg[3]
16561  } else {
16562    defundef = substr(arg[1], 2)
16563    mac1 = arg[2]
16564  }
16565  split(mac1, mac2, "(") #)
16566  macro = mac2[1]
16567  prefix = substr(line, 1, index(line, defundef) - 1)
16568  if (D_is_set[macro]) {
16569    # Preserve the white space surrounding the "#".
16570    print prefix "define", macro P[macro] D[macro]
16571    next
16572  } else {
16573    # Replace #undef with comments.  This is necessary, for example,
16574    # in the case of _POSIX_SOURCE, which is predefined and required
16575    # on some systems where configure will not decide to define it.
16576    if (defundef == "undef") {
16577      print "/*", prefix defundef, macro, "*/"
16578      next
16579    }
16580  }
16581}
16582{ print }
16583_ACAWK
16584_ACEOF
16585cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16586  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16587fi # test -n "$CONFIG_HEADERS"
16588
16589
16590eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16591shift
16592for ac_tag
16593do
16594  case $ac_tag in
16595  :[FHLC]) ac_mode=$ac_tag; continue;;
16596  esac
16597  case $ac_mode$ac_tag in
16598  :[FHL]*:*);;
16599  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16600  :[FH]-) ac_tag=-:-;;
16601  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16602  esac
16603  ac_save_IFS=$IFS
16604  IFS=:
16605  set x $ac_tag
16606  IFS=$ac_save_IFS
16607  shift
16608  ac_file=$1
16609  shift
16610
16611  case $ac_mode in
16612  :L) ac_source=$1;;
16613  :[FH])
16614    ac_file_inputs=
16615    for ac_f
16616    do
16617      case $ac_f in
16618      -) ac_f="$ac_tmp/stdin";;
16619      *) # Look for the file first in the build tree, then in the source tree
16620	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16621	 # because $ac_f cannot contain `:'.
16622	 test -f "$ac_f" ||
16623	   case $ac_f in
16624	   [\\/$]*) false;;
16625	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16626	   esac ||
16627	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16628      esac
16629      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16630      as_fn_append ac_file_inputs " '$ac_f'"
16631    done
16632
16633    # Let's still pretend it is `configure' which instantiates (i.e., don't
16634    # use $as_me), people would be surprised to read:
16635    #    /* config.h.  Generated by config.status.  */
16636    configure_input='Generated from '`
16637	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16638	`' by configure.'
16639    if test x"$ac_file" != x-; then
16640      configure_input="$ac_file.  $configure_input"
16641      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16642$as_echo "$as_me: creating $ac_file" >&6;}
16643    fi
16644    # Neutralize special characters interpreted by sed in replacement strings.
16645    case $configure_input in #(
16646    *\&* | *\|* | *\\* )
16647       ac_sed_conf_input=`$as_echo "$configure_input" |
16648       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16649    *) ac_sed_conf_input=$configure_input;;
16650    esac
16651
16652    case $ac_tag in
16653    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16654      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16655    esac
16656    ;;
16657  esac
16658
16659  ac_dir=`$as_dirname -- "$ac_file" ||
16660$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16661	 X"$ac_file" : 'X\(//\)[^/]' \| \
16662	 X"$ac_file" : 'X\(//\)$' \| \
16663	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16664$as_echo X"$ac_file" |
16665    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16666	    s//\1/
16667	    q
16668	  }
16669	  /^X\(\/\/\)[^/].*/{
16670	    s//\1/
16671	    q
16672	  }
16673	  /^X\(\/\/\)$/{
16674	    s//\1/
16675	    q
16676	  }
16677	  /^X\(\/\).*/{
16678	    s//\1/
16679	    q
16680	  }
16681	  s/.*/./; q'`
16682  as_dir="$ac_dir"; as_fn_mkdir_p
16683  ac_builddir=.
16684
16685case "$ac_dir" in
16686.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16687*)
16688  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16689  # A ".." for each directory in $ac_dir_suffix.
16690  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16691  case $ac_top_builddir_sub in
16692  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16693  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16694  esac ;;
16695esac
16696ac_abs_top_builddir=$ac_pwd
16697ac_abs_builddir=$ac_pwd$ac_dir_suffix
16698# for backward compatibility:
16699ac_top_builddir=$ac_top_build_prefix
16700
16701case $srcdir in
16702  .)  # We are building in place.
16703    ac_srcdir=.
16704    ac_top_srcdir=$ac_top_builddir_sub
16705    ac_abs_top_srcdir=$ac_pwd ;;
16706  [\\/]* | ?:[\\/]* )  # Absolute name.
16707    ac_srcdir=$srcdir$ac_dir_suffix;
16708    ac_top_srcdir=$srcdir
16709    ac_abs_top_srcdir=$srcdir ;;
16710  *) # Relative name.
16711    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16712    ac_top_srcdir=$ac_top_build_prefix$srcdir
16713    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16714esac
16715ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16716
16717
16718  case $ac_mode in
16719  :F)
16720  #
16721  # CONFIG_FILE
16722  #
16723
16724  case $INSTALL in
16725  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16726  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16727  esac
16728  ac_MKDIR_P=$MKDIR_P
16729  case $MKDIR_P in
16730  [\\/$]* | ?:[\\/]* ) ;;
16731  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16732  esac
16733_ACEOF
16734
16735cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16736# If the template does not know about datarootdir, expand it.
16737# FIXME: This hack should be removed a few years after 2.60.
16738ac_datarootdir_hack=; ac_datarootdir_seen=
16739ac_sed_dataroot='
16740/datarootdir/ {
16741  p
16742  q
16743}
16744/@datadir@/p
16745/@docdir@/p
16746/@infodir@/p
16747/@localedir@/p
16748/@mandir@/p'
16749case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16750*datarootdir*) ac_datarootdir_seen=yes;;
16751*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16752  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16753$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16754_ACEOF
16755cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16756  ac_datarootdir_hack='
16757  s&@datadir@&$datadir&g
16758  s&@docdir@&$docdir&g
16759  s&@infodir@&$infodir&g
16760  s&@localedir@&$localedir&g
16761  s&@mandir@&$mandir&g
16762  s&\\\${datarootdir}&$datarootdir&g' ;;
16763esac
16764_ACEOF
16765
16766# Neutralize VPATH when `$srcdir' = `.'.
16767# Shell code in configure.ac might set extrasub.
16768# FIXME: do we really want to maintain this feature?
16769cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16770ac_sed_extra="$ac_vpsub
16771$extrasub
16772_ACEOF
16773cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16774:t
16775/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16776s|@configure_input@|$ac_sed_conf_input|;t t
16777s&@top_builddir@&$ac_top_builddir_sub&;t t
16778s&@top_build_prefix@&$ac_top_build_prefix&;t t
16779s&@srcdir@&$ac_srcdir&;t t
16780s&@abs_srcdir@&$ac_abs_srcdir&;t t
16781s&@top_srcdir@&$ac_top_srcdir&;t t
16782s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16783s&@builddir@&$ac_builddir&;t t
16784s&@abs_builddir@&$ac_abs_builddir&;t t
16785s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16786s&@INSTALL@&$ac_INSTALL&;t t
16787s&@MKDIR_P@&$ac_MKDIR_P&;t t
16788$ac_datarootdir_hack
16789"
16790eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16791  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16792
16793test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16794  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16795  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16796      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16797  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16798which seems to be undefined.  Please make sure it is defined" >&5
16799$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16800which seems to be undefined.  Please make sure it is defined" >&2;}
16801
16802  rm -f "$ac_tmp/stdin"
16803  case $ac_file in
16804  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16805  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16806  esac \
16807  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16808 ;;
16809  :H)
16810  #
16811  # CONFIG_HEADER
16812  #
16813  if test x"$ac_file" != x-; then
16814    {
16815      $as_echo "/* $configure_input  */" \
16816      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16817    } >"$ac_tmp/config.h" \
16818      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16819    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16820      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16821$as_echo "$as_me: $ac_file is unchanged" >&6;}
16822    else
16823      rm -f "$ac_file"
16824      mv "$ac_tmp/config.h" "$ac_file" \
16825	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16826    fi
16827  else
16828    $as_echo "/* $configure_input  */" \
16829      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16830      || as_fn_error $? "could not create -" "$LINENO" 5
16831  fi
16832# Compute "$ac_file"'s index in $config_headers.
16833_am_arg="$ac_file"
16834_am_stamp_count=1
16835for _am_header in $config_headers :; do
16836  case $_am_header in
16837    $_am_arg | $_am_arg:* )
16838      break ;;
16839    * )
16840      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16841  esac
16842done
16843echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16844$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16845	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16846	 X"$_am_arg" : 'X\(//\)$' \| \
16847	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16848$as_echo X"$_am_arg" |
16849    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16850	    s//\1/
16851	    q
16852	  }
16853	  /^X\(\/\/\)[^/].*/{
16854	    s//\1/
16855	    q
16856	  }
16857	  /^X\(\/\/\)$/{
16858	    s//\1/
16859	    q
16860	  }
16861	  /^X\(\/\).*/{
16862	    s//\1/
16863	    q
16864	  }
16865	  s/.*/./; q'`/stamp-h$_am_stamp_count
16866 ;;
16867
16868  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16869$as_echo "$as_me: executing $ac_file commands" >&6;}
16870 ;;
16871  esac
16872
16873
16874  case $ac_file$ac_mode in
16875    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16876  # Older Autoconf quotes --file arguments for eval, but not when files
16877  # are listed without --file.  Let's play safe and only enable the eval
16878  # if we detect the quoting.
16879  case $CONFIG_FILES in
16880  *\'*) eval set x "$CONFIG_FILES" ;;
16881  *)   set x $CONFIG_FILES ;;
16882  esac
16883  shift
16884  for mf
16885  do
16886    # Strip MF so we end up with the name of the file.
16887    mf=`echo "$mf" | sed -e 's/:.*$//'`
16888    # Check whether this is an Automake generated Makefile or not.
16889    # We used to match only the files named 'Makefile.in', but
16890    # some people rename them; so instead we look at the file content.
16891    # Grep'ing the first line is not enough: some people post-process
16892    # each Makefile.in and add a new line on top of each file to say so.
16893    # Grep'ing the whole file is not good either: AIX grep has a line
16894    # limit of 2048, but all sed's we know have understand at least 4000.
16895    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16896      dirpart=`$as_dirname -- "$mf" ||
16897$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16898	 X"$mf" : 'X\(//\)[^/]' \| \
16899	 X"$mf" : 'X\(//\)$' \| \
16900	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16901$as_echo X"$mf" |
16902    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16903	    s//\1/
16904	    q
16905	  }
16906	  /^X\(\/\/\)[^/].*/{
16907	    s//\1/
16908	    q
16909	  }
16910	  /^X\(\/\/\)$/{
16911	    s//\1/
16912	    q
16913	  }
16914	  /^X\(\/\).*/{
16915	    s//\1/
16916	    q
16917	  }
16918	  s/.*/./; q'`
16919    else
16920      continue
16921    fi
16922    # Extract the definition of DEPDIR, am__include, and am__quote
16923    # from the Makefile without running 'make'.
16924    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16925    test -z "$DEPDIR" && continue
16926    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16927    test -z "$am__include" && continue
16928    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16929    # Find all dependency output files, they are included files with
16930    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16931    # simplest approach to changing $(DEPDIR) to its actual value in the
16932    # expansion.
16933    for file in `sed -n "
16934      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16935	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16936      # Make sure the directory exists.
16937      test -f "$dirpart/$file" && continue
16938      fdir=`$as_dirname -- "$file" ||
16939$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16940	 X"$file" : 'X\(//\)[^/]' \| \
16941	 X"$file" : 'X\(//\)$' \| \
16942	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16943$as_echo X"$file" |
16944    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16945	    s//\1/
16946	    q
16947	  }
16948	  /^X\(\/\/\)[^/].*/{
16949	    s//\1/
16950	    q
16951	  }
16952	  /^X\(\/\/\)$/{
16953	    s//\1/
16954	    q
16955	  }
16956	  /^X\(\/\).*/{
16957	    s//\1/
16958	    q
16959	  }
16960	  s/.*/./; q'`
16961      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16962      # echo "creating $dirpart/$file"
16963      echo '# dummy' > "$dirpart/$file"
16964    done
16965  done
16966}
16967 ;;
16968    "libtool":C)
16969
16970    # See if we are running on zsh, and set the options that allow our
16971    # commands through without removal of \ escapes.
16972    if test -n "${ZSH_VERSION+set}"; then
16973      setopt NO_GLOB_SUBST
16974    fi
16975
16976    cfgfile=${ofile}T
16977    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16978    $RM "$cfgfile"
16979
16980    cat <<_LT_EOF >> "$cfgfile"
16981#! $SHELL
16982# Generated automatically by $as_me ($PACKAGE) $VERSION
16983# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16984# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16985
16986# Provide generalized library-building support services.
16987# Written by Gordon Matzigkeit, 1996
16988
16989# Copyright (C) 2014 Free Software Foundation, Inc.
16990# This is free software; see the source for copying conditions.  There is NO
16991# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16992
16993# GNU Libtool is free software; you can redistribute it and/or modify
16994# it under the terms of the GNU General Public License as published by
16995# the Free Software Foundation; either version 2 of of the License, or
16996# (at your option) any later version.
16997#
16998# As a special exception to the GNU General Public License, if you
16999# distribute this file as part of a program or library that is built
17000# using GNU Libtool, you may include this file under the  same
17001# distribution terms that you use for the rest of that program.
17002#
17003# GNU Libtool is distributed in the hope that it will be useful, but
17004# WITHOUT ANY WARRANTY; without even the implied warranty of
17005# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17006# GNU General Public License for more details.
17007#
17008# You should have received a copy of the GNU General Public License
17009# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17010
17011
17012# The names of the tagged configurations supported by this script.
17013available_tags=''
17014
17015# Configured defaults for sys_lib_dlsearch_path munging.
17016: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17017
17018# ### BEGIN LIBTOOL CONFIG
17019
17020# Which release of libtool.m4 was used?
17021macro_version=$macro_version
17022macro_revision=$macro_revision
17023
17024# Assembler program.
17025AS=$lt_AS
17026
17027# DLL creation program.
17028DLLTOOL=$lt_DLLTOOL
17029
17030# Object dumper program.
17031OBJDUMP=$lt_OBJDUMP
17032
17033# Whether or not to build shared libraries.
17034build_libtool_libs=$enable_shared
17035
17036# Whether or not to build static libraries.
17037build_old_libs=$enable_static
17038
17039# What type of objects to build.
17040pic_mode=$pic_mode
17041
17042# Whether or not to optimize for fast installation.
17043fast_install=$enable_fast_install
17044
17045# Shared archive member basename,for filename based shared library versioning on AIX.
17046shared_archive_member_spec=$shared_archive_member_spec
17047
17048# Shell to use when invoking shell scripts.
17049SHELL=$lt_SHELL
17050
17051# An echo program that protects backslashes.
17052ECHO=$lt_ECHO
17053
17054# The PATH separator for the build system.
17055PATH_SEPARATOR=$lt_PATH_SEPARATOR
17056
17057# The host system.
17058host_alias=$host_alias
17059host=$host
17060host_os=$host_os
17061
17062# The build system.
17063build_alias=$build_alias
17064build=$build
17065build_os=$build_os
17066
17067# A sed program that does not truncate output.
17068SED=$lt_SED
17069
17070# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17071Xsed="\$SED -e 1s/^X//"
17072
17073# A grep program that handles long lines.
17074GREP=$lt_GREP
17075
17076# An ERE matcher.
17077EGREP=$lt_EGREP
17078
17079# A literal string matcher.
17080FGREP=$lt_FGREP
17081
17082# A BSD- or MS-compatible name lister.
17083NM=$lt_NM
17084
17085# Whether we need soft or hard links.
17086LN_S=$lt_LN_S
17087
17088# What is the maximum length of a command?
17089max_cmd_len=$max_cmd_len
17090
17091# Object file suffix (normally "o").
17092objext=$ac_objext
17093
17094# Executable file suffix (normally "").
17095exeext=$exeext
17096
17097# whether the shell understands "unset".
17098lt_unset=$lt_unset
17099
17100# turn spaces into newlines.
17101SP2NL=$lt_lt_SP2NL
17102
17103# turn newlines into spaces.
17104NL2SP=$lt_lt_NL2SP
17105
17106# convert \$build file names to \$host format.
17107to_host_file_cmd=$lt_cv_to_host_file_cmd
17108
17109# convert \$build files to toolchain format.
17110to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17111
17112# Method to check whether dependent libraries are shared objects.
17113deplibs_check_method=$lt_deplibs_check_method
17114
17115# Command to use when deplibs_check_method = "file_magic".
17116file_magic_cmd=$lt_file_magic_cmd
17117
17118# How to find potential files when deplibs_check_method = "file_magic".
17119file_magic_glob=$lt_file_magic_glob
17120
17121# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17122want_nocaseglob=$lt_want_nocaseglob
17123
17124# Command to associate shared and link libraries.
17125sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17126
17127# The archiver.
17128AR=$lt_AR
17129
17130# Flags to create an archive.
17131AR_FLAGS=$lt_AR_FLAGS
17132
17133# How to feed a file listing to the archiver.
17134archiver_list_spec=$lt_archiver_list_spec
17135
17136# A symbol stripping program.
17137STRIP=$lt_STRIP
17138
17139# Commands used to install an old-style archive.
17140RANLIB=$lt_RANLIB
17141old_postinstall_cmds=$lt_old_postinstall_cmds
17142old_postuninstall_cmds=$lt_old_postuninstall_cmds
17143
17144# Whether to use a lock for old archive extraction.
17145lock_old_archive_extraction=$lock_old_archive_extraction
17146
17147# A C compiler.
17148LTCC=$lt_CC
17149
17150# LTCC compiler flags.
17151LTCFLAGS=$lt_CFLAGS
17152
17153# Take the output of nm and produce a listing of raw symbols and C names.
17154global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17155
17156# Transform the output of nm in a proper C declaration.
17157global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17158
17159# Transform the output of nm into a list of symbols to manually relocate.
17160global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17161
17162# Transform the output of nm in a C name address pair.
17163global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17164
17165# Transform the output of nm in a C name address pair when lib prefix is needed.
17166global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17167
17168# The name lister interface.
17169nm_interface=$lt_lt_cv_nm_interface
17170
17171# Specify filename containing input files for \$NM.
17172nm_file_list_spec=$lt_nm_file_list_spec
17173
17174# The root where to search for dependent libraries,and where our libraries should be installed.
17175lt_sysroot=$lt_sysroot
17176
17177# Command to truncate a binary pipe.
17178lt_truncate_bin=$lt_lt_cv_truncate_bin
17179
17180# The name of the directory that contains temporary libtool files.
17181objdir=$objdir
17182
17183# Used to examine libraries when file_magic_cmd begins with "file".
17184MAGIC_CMD=$MAGIC_CMD
17185
17186# Must we lock files when doing compilation?
17187need_locks=$lt_need_locks
17188
17189# Manifest tool.
17190MANIFEST_TOOL=$lt_MANIFEST_TOOL
17191
17192# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17193DSYMUTIL=$lt_DSYMUTIL
17194
17195# Tool to change global to local symbols on Mac OS X.
17196NMEDIT=$lt_NMEDIT
17197
17198# Tool to manipulate fat objects and archives on Mac OS X.
17199LIPO=$lt_LIPO
17200
17201# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17202OTOOL=$lt_OTOOL
17203
17204# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17205OTOOL64=$lt_OTOOL64
17206
17207# Old archive suffix (normally "a").
17208libext=$libext
17209
17210# Shared library suffix (normally ".so").
17211shrext_cmds=$lt_shrext_cmds
17212
17213# The commands to extract the exported symbol list from a shared archive.
17214extract_expsyms_cmds=$lt_extract_expsyms_cmds
17215
17216# Variables whose values should be saved in libtool wrapper scripts and
17217# restored at link time.
17218variables_saved_for_relink=$lt_variables_saved_for_relink
17219
17220# Do we need the "lib" prefix for modules?
17221need_lib_prefix=$need_lib_prefix
17222
17223# Do we need a version for libraries?
17224need_version=$need_version
17225
17226# Library versioning type.
17227version_type=$version_type
17228
17229# Shared library runtime path variable.
17230runpath_var=$runpath_var
17231
17232# Shared library path variable.
17233shlibpath_var=$shlibpath_var
17234
17235# Is shlibpath searched before the hard-coded library search path?
17236shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17237
17238# Format of library name prefix.
17239libname_spec=$lt_libname_spec
17240
17241# List of archive names.  First name is the real one, the rest are links.
17242# The last name is the one that the linker finds with -lNAME
17243library_names_spec=$lt_library_names_spec
17244
17245# The coded name of the library, if different from the real name.
17246soname_spec=$lt_soname_spec
17247
17248# Permission mode override for installation of shared libraries.
17249install_override_mode=$lt_install_override_mode
17250
17251# Command to use after installation of a shared archive.
17252postinstall_cmds=$lt_postinstall_cmds
17253
17254# Command to use after uninstallation of a shared archive.
17255postuninstall_cmds=$lt_postuninstall_cmds
17256
17257# Commands used to finish a libtool library installation in a directory.
17258finish_cmds=$lt_finish_cmds
17259
17260# As "finish_cmds", except a single script fragment to be evaled but
17261# not shown.
17262finish_eval=$lt_finish_eval
17263
17264# Whether we should hardcode library paths into libraries.
17265hardcode_into_libs=$hardcode_into_libs
17266
17267# Compile-time system search path for libraries.
17268sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17269
17270# Detected run-time system search path for libraries.
17271sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17272
17273# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17274configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17275
17276# Whether dlopen is supported.
17277dlopen_support=$enable_dlopen
17278
17279# Whether dlopen of programs is supported.
17280dlopen_self=$enable_dlopen_self
17281
17282# Whether dlopen of statically linked programs is supported.
17283dlopen_self_static=$enable_dlopen_self_static
17284
17285# Commands to strip libraries.
17286old_striplib=$lt_old_striplib
17287striplib=$lt_striplib
17288
17289
17290# The linker used to build libraries.
17291LD=$lt_LD
17292
17293# How to create reloadable object files.
17294reload_flag=$lt_reload_flag
17295reload_cmds=$lt_reload_cmds
17296
17297# Commands used to build an old-style archive.
17298old_archive_cmds=$lt_old_archive_cmds
17299
17300# A language specific compiler.
17301CC=$lt_compiler
17302
17303# Is the compiler the GNU compiler?
17304with_gcc=$GCC
17305
17306# Compiler flag to turn off builtin functions.
17307no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17308
17309# Additional compiler flags for building library objects.
17310pic_flag=$lt_lt_prog_compiler_pic
17311
17312# How to pass a linker flag through the compiler.
17313wl=$lt_lt_prog_compiler_wl
17314
17315# Compiler flag to prevent dynamic linking.
17316link_static_flag=$lt_lt_prog_compiler_static
17317
17318# Does compiler simultaneously support -c and -o options?
17319compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17320
17321# Whether or not to add -lc for building shared libraries.
17322build_libtool_need_lc=$archive_cmds_need_lc
17323
17324# Whether or not to disallow shared libs when runtime libs are static.
17325allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17326
17327# Compiler flag to allow reflexive dlopens.
17328export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17329
17330# Compiler flag to generate shared objects directly from archives.
17331whole_archive_flag_spec=$lt_whole_archive_flag_spec
17332
17333# Whether the compiler copes with passing no objects directly.
17334compiler_needs_object=$lt_compiler_needs_object
17335
17336# Create an old-style archive from a shared archive.
17337old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17338
17339# Create a temporary old-style archive to link instead of a shared archive.
17340old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17341
17342# Commands used to build a shared archive.
17343archive_cmds=$lt_archive_cmds
17344archive_expsym_cmds=$lt_archive_expsym_cmds
17345
17346# Commands used to build a loadable module if different from building
17347# a shared archive.
17348module_cmds=$lt_module_cmds
17349module_expsym_cmds=$lt_module_expsym_cmds
17350
17351# Whether we are building with GNU ld or not.
17352with_gnu_ld=$lt_with_gnu_ld
17353
17354# Flag that allows shared libraries with undefined symbols to be built.
17355allow_undefined_flag=$lt_allow_undefined_flag
17356
17357# Flag that enforces no undefined symbols.
17358no_undefined_flag=$lt_no_undefined_flag
17359
17360# Flag to hardcode \$libdir into a binary during linking.
17361# This must work even if \$libdir does not exist
17362hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17363
17364# Whether we need a single "-rpath" flag with a separated argument.
17365hardcode_libdir_separator=$lt_hardcode_libdir_separator
17366
17367# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17368# DIR into the resulting binary.
17369hardcode_direct=$hardcode_direct
17370
17371# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17372# DIR into the resulting binary and the resulting library dependency is
17373# "absolute",i.e impossible to change by setting \$shlibpath_var if the
17374# library is relocated.
17375hardcode_direct_absolute=$hardcode_direct_absolute
17376
17377# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17378# into the resulting binary.
17379hardcode_minus_L=$hardcode_minus_L
17380
17381# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17382# into the resulting binary.
17383hardcode_shlibpath_var=$hardcode_shlibpath_var
17384
17385# Set to "yes" if building a shared library automatically hardcodes DIR
17386# into the library and all subsequent libraries and executables linked
17387# against it.
17388hardcode_automatic=$hardcode_automatic
17389
17390# Set to yes if linker adds runtime paths of dependent libraries
17391# to runtime path list.
17392inherit_rpath=$inherit_rpath
17393
17394# Whether libtool must link a program against all its dependency libraries.
17395link_all_deplibs=$link_all_deplibs
17396
17397# Set to "yes" if exported symbols are required.
17398always_export_symbols=$always_export_symbols
17399
17400# The commands to list exported symbols.
17401export_symbols_cmds=$lt_export_symbols_cmds
17402
17403# Symbols that should not be listed in the preloaded symbols.
17404exclude_expsyms=$lt_exclude_expsyms
17405
17406# Symbols that must always be exported.
17407include_expsyms=$lt_include_expsyms
17408
17409# Commands necessary for linking programs (against libraries) with templates.
17410prelink_cmds=$lt_prelink_cmds
17411
17412# Commands necessary for finishing linking programs.
17413postlink_cmds=$lt_postlink_cmds
17414
17415# Specify filename containing input files.
17416file_list_spec=$lt_file_list_spec
17417
17418# How to hardcode a shared library path into an executable.
17419hardcode_action=$hardcode_action
17420
17421# ### END LIBTOOL CONFIG
17422
17423_LT_EOF
17424
17425    cat <<'_LT_EOF' >> "$cfgfile"
17426
17427# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17428
17429# func_munge_path_list VARIABLE PATH
17430# -----------------------------------
17431# VARIABLE is name of variable containing _space_ separated list of
17432# directories to be munged by the contents of PATH, which is string
17433# having a format:
17434# "DIR[:DIR]:"
17435#       string "DIR[ DIR]" will be prepended to VARIABLE
17436# ":DIR[:DIR]"
17437#       string "DIR[ DIR]" will be appended to VARIABLE
17438# "DIRP[:DIRP]::[DIRA:]DIRA"
17439#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17440#       "DIRA[ DIRA]" will be appended to VARIABLE
17441# "DIR[:DIR]"
17442#       VARIABLE will be replaced by "DIR[ DIR]"
17443func_munge_path_list ()
17444{
17445    case x$2 in
17446    x)
17447        ;;
17448    *:)
17449        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17450        ;;
17451    x:*)
17452        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17453        ;;
17454    *::*)
17455        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17456        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17457        ;;
17458    *)
17459        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17460        ;;
17461    esac
17462}
17463
17464
17465# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17466func_cc_basename ()
17467{
17468    for cc_temp in $*""; do
17469      case $cc_temp in
17470        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17471        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17472        \-*) ;;
17473        *) break;;
17474      esac
17475    done
17476    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17477}
17478
17479
17480# ### END FUNCTIONS SHARED WITH CONFIGURE
17481
17482_LT_EOF
17483
17484  case $host_os in
17485  aix3*)
17486    cat <<\_LT_EOF >> "$cfgfile"
17487# AIX sometimes has problems with the GCC collect2 program.  For some
17488# reason, if we set the COLLECT_NAMES environment variable, the problems
17489# vanish in a puff of smoke.
17490if test set != "${COLLECT_NAMES+set}"; then
17491  COLLECT_NAMES=
17492  export COLLECT_NAMES
17493fi
17494_LT_EOF
17495    ;;
17496  esac
17497
17498
17499ltmain=$ac_aux_dir/ltmain.sh
17500
17501
17502  # We use sed instead of cat because bash on DJGPP gets confused if
17503  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17504  # text mode, it properly converts lines to CR/LF.  This bash problem
17505  # is reportedly fixed, but why not run on old versions too?
17506  sed '$q' "$ltmain" >> "$cfgfile" \
17507     || (rm -f "$cfgfile"; exit 1)
17508
17509   mv -f "$cfgfile" "$ofile" ||
17510    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17511  chmod +x "$ofile"
17512
17513 ;;
17514    "deweb.pl":F) chmod +x deweb.pl ;;
17515
17516  esac
17517done # for ac_tag
17518
17519
17520as_fn_exit 0
17521_ACEOF
17522ac_clean_files=$ac_clean_files_save
17523
17524test $ac_write_fail = 0 ||
17525  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17526
17527
17528# configure is writing to config.log, and then calls config.status.
17529# config.status does its own redirection, appending to config.log.
17530# Unfortunately, on DOS this fails, as config.log is still kept open
17531# by configure, so config.status won't be able to write to it; its
17532# output is simply discarded.  So we exec the FD to /dev/null,
17533# effectively closing config.log, so it can be properly (re)opened and
17534# appended to by config.status.  When coming back to configure, we
17535# need to make the FD available again.
17536if test "$no_create" != yes; then
17537  ac_cs_success=:
17538  ac_config_status_args=
17539  test "$silent" = yes &&
17540    ac_config_status_args="$ac_config_status_args --quiet"
17541  exec 5>/dev/null
17542  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17543  exec 5>>config.log
17544  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17545  # would make configure fail if this is the last instruction.
17546  $ac_cs_success || as_fn_exit 1
17547fi
17548if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17549  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17550$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17551fi
17552
17553