blob: b558bec224dbc5c6954660228be2c95414f5d07f [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for vlibapi 1.0.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order. Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" "" $as_nl"
88
89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100IFS=$as_save_IFS
101
102 ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107 as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there. '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174esac
175fi
176"
177 as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191 exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210else
211 as_have_required=no
212fi
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
224 /*)
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
233fi
234fi
235 done;;
236 esac
237 as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279 fi
280 exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298 { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307 return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315 set +e
316 as_fn_set_status $1
317 exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373 test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386else
387 as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
400 {
401 as_val=$(( $* ))
402 }'
403else
404 as_fn_arith ()
405 {
406 as_val=`expr "$@" || test $? -eq 1`
407 }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422 fi
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430else
431 as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436else
437 as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442else
443 as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\/\)$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\).*/{
460 s//\1/
461 q
462 }
463 s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
479 p
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
485 b
486 :lineno
487 N
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
517*)
518 ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
541 fi
542else
543 as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='vlibapi'
589PACKAGE_TARNAME='vlibapi'
590PACKAGE_VERSION='1.0'
591PACKAGE_STRING='vlibapi 1.0'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595# Factoring default headers for most tests.
596ac_includes_default="\
597#include <stdio.h>
598#ifdef HAVE_SYS_TYPES_H
599# include <sys/types.h>
600#endif
601#ifdef HAVE_SYS_STAT_H
602# include <sys/stat.h>
603#endif
604#ifdef STDC_HEADERS
605# include <stdlib.h>
606# include <stddef.h>
607#else
608# ifdef HAVE_STDLIB_H
609# include <stdlib.h>
610# endif
611#endif
612#ifdef HAVE_STRING_H
613# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614# include <memory.h>
615# endif
616# include <string.h>
617#endif
618#ifdef HAVE_STRINGS_H
619# include <strings.h>
620#endif
621#ifdef HAVE_INTTYPES_H
622# include <inttypes.h>
623#endif
624#ifdef HAVE_STDINT_H
625# include <stdint.h>
626#endif
627#ifdef HAVE_UNISTD_H
628# include <unistd.h>
629#endif"
630
631ac_subst_vars='am__EXEEXT_FALSE
632am__EXEEXT_TRUE
633LTLIBOBJS
634LIBOBJS
635CPP
636OTOOL64
637OTOOL
638LIPO
639NMEDIT
640DSYMUTIL
641MANIFEST_TOOL
642RANLIB
643ac_ct_AR
644AR
645DLLTOOL
646OBJDUMP
647LN_S
648NM
649ac_ct_DUMPBIN
650DUMPBIN
651LD
652FGREP
653EGREP
654GREP
655SED
656host_os
657host_vendor
658host_cpu
659host
660build_os
661build_vendor
662build_cpu
663build
664LIBTOOL
665am__fastdepCC_FALSE
666am__fastdepCC_TRUE
667CCDEPMODE
668am__nodep
669AMDEPBACKSLASH
670AMDEP_FALSE
671AMDEP_TRUE
672am__quote
673am__include
674DEPDIR
675OBJEXT
676EXEEXT
677ac_ct_CC
678CPPFLAGS
679LDFLAGS
680CFLAGS
681CC
682AM_BACKSLASH
683AM_DEFAULT_VERBOSITY
684AM_DEFAULT_V
685AM_V
686am__untar
687am__tar
688AMTAR
689am__leading_dot
690SET_MAKE
691AWK
692mkdir_p
693MKDIR_P
694INSTALL_STRIP_PROGRAM
695STRIP
696install_sh
697MAKEINFO
698AUTOHEADER
699AUTOMAKE
700AUTOCONF
701ACLOCAL
702VERSION
703PACKAGE
704CYGPATH_W
705am__isrc
706INSTALL_DATA
707INSTALL_SCRIPT
708INSTALL_PROGRAM
709target_alias
710host_alias
711build_alias
712LIBS
713ECHO_T
714ECHO_N
715ECHO_C
716DEFS
717mandir
718localedir
719libdir
720psdir
721pdfdir
722dvidir
723htmldir
724infodir
725docdir
726oldincludedir
727includedir
728localstatedir
729sharedstatedir
730sysconfdir
731datadir
732datarootdir
733libexecdir
734sbindir
735bindir
736program_transform_name
737prefix
738exec_prefix
739PACKAGE_URL
740PACKAGE_BUGREPORT
741PACKAGE_STRING
742PACKAGE_VERSION
743PACKAGE_TARNAME
744PACKAGE_NAME
745PATH_SEPARATOR
746SHELL'
747ac_subst_files=''
748ac_user_opts='
749enable_option_checking
750enable_silent_rules
751enable_dependency_tracking
752enable_shared
753enable_static
754with_pic
755enable_fast_install
756with_gnu_ld
757with_sysroot
758enable_libtool_lock
759'
760 ac_precious_vars='build_alias
761host_alias
762target_alias
763CC
764CFLAGS
765LDFLAGS
766LIBS
767CPPFLAGS
768CPP'
769
770
771# Initialize some variables set by options.
772ac_init_help=
773ac_init_version=false
774ac_unrecognized_opts=
775ac_unrecognized_sep=
776# The variables have the same names as the options, with
777# dashes changed to underlines.
778cache_file=/dev/null
779exec_prefix=NONE
780no_create=
781no_recursion=
782prefix=NONE
783program_prefix=NONE
784program_suffix=NONE
785program_transform_name=s,x,x,
786silent=
787site=
788srcdir=
789verbose=
790x_includes=NONE
791x_libraries=NONE
792
793# Installation directory options.
794# These are left unexpanded so users can "make install exec_prefix=/foo"
795# and all the variables that are supposed to be based on exec_prefix
796# by default will actually change.
797# Use braces instead of parens because sh, perl, etc. also accept them.
798# (The list follows the same order as the GNU Coding Standards.)
799bindir='${exec_prefix}/bin'
800sbindir='${exec_prefix}/sbin'
801libexecdir='${exec_prefix}/libexec'
802datarootdir='${prefix}/share'
803datadir='${datarootdir}'
804sysconfdir='${prefix}/etc'
805sharedstatedir='${prefix}/com'
806localstatedir='${prefix}/var'
807includedir='${prefix}/include'
808oldincludedir='/usr/include'
809docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810infodir='${datarootdir}/info'
811htmldir='${docdir}'
812dvidir='${docdir}'
813pdfdir='${docdir}'
814psdir='${docdir}'
815libdir='${exec_prefix}/lib'
816localedir='${datarootdir}/locale'
817mandir='${datarootdir}/man'
818
819ac_prev=
820ac_dashdash=
821for ac_option
822do
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\$ac_option
826 ac_prev=
827 continue
828 fi
829
830 case $ac_option in
831 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 *=) ac_optarg= ;;
833 *) ac_optarg=yes ;;
834 esac
835
836 # Accept the important Cygnus configure options, so we can diagnose typos.
837
838 case $ac_dashdash$ac_option in
839 --)
840 ac_dashdash=yes ;;
841
842 -bindir | --bindir | --bindi | --bind | --bin | --bi)
843 ac_prev=bindir ;;
844 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
845 bindir=$ac_optarg ;;
846
847 -build | --build | --buil | --bui | --bu)
848 ac_prev=build_alias ;;
849 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
850 build_alias=$ac_optarg ;;
851
852 -cache-file | --cache-file | --cache-fil | --cache-fi \
853 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
854 ac_prev=cache_file ;;
855 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
856 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
857 cache_file=$ac_optarg ;;
858
859 --config-cache | -C)
860 cache_file=config.cache ;;
861
862 -datadir | --datadir | --datadi | --datad)
863 ac_prev=datadir ;;
864 -datadir=* | --datadir=* | --datadi=* | --datad=*)
865 datadir=$ac_optarg ;;
866
867 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
868 | --dataroo | --dataro | --datar)
869 ac_prev=datarootdir ;;
870 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
871 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
872 datarootdir=$ac_optarg ;;
873
874 -disable-* | --disable-*)
875 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 as_fn_error $? "invalid feature name: $ac_useropt"
879 ac_useropt_orig=$ac_useropt
880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
882 *"
883"enable_$ac_useropt"
884"*) ;;
885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 ac_unrecognized_sep=', ';;
887 esac
888 eval enable_$ac_useropt=no ;;
889
890 -docdir | --docdir | --docdi | --doc | --do)
891 ac_prev=docdir ;;
892 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
893 docdir=$ac_optarg ;;
894
895 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
896 ac_prev=dvidir ;;
897 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
898 dvidir=$ac_optarg ;;
899
900 -enable-* | --enable-*)
901 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904 as_fn_error $? "invalid feature name: $ac_useropt"
905 ac_useropt_orig=$ac_useropt
906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
908 *"
909"enable_$ac_useropt"
910"*) ;;
911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912 ac_unrecognized_sep=', ';;
913 esac
914 eval enable_$ac_useropt=\$ac_optarg ;;
915
916 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
917 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
918 | --exec | --exe | --ex)
919 ac_prev=exec_prefix ;;
920 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
921 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
922 | --exec=* | --exe=* | --ex=*)
923 exec_prefix=$ac_optarg ;;
924
925 -gas | --gas | --ga | --g)
926 # Obsolete; use --with-gas.
927 with_gas=yes ;;
928
929 -help | --help | --hel | --he | -h)
930 ac_init_help=long ;;
931 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
932 ac_init_help=recursive ;;
933 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
934 ac_init_help=short ;;
935
936 -host | --host | --hos | --ho)
937 ac_prev=host_alias ;;
938 -host=* | --host=* | --hos=* | --ho=*)
939 host_alias=$ac_optarg ;;
940
941 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
942 ac_prev=htmldir ;;
943 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
944 | --ht=*)
945 htmldir=$ac_optarg ;;
946
947 -includedir | --includedir | --includedi | --included | --include \
948 | --includ | --inclu | --incl | --inc)
949 ac_prev=includedir ;;
950 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
951 | --includ=* | --inclu=* | --incl=* | --inc=*)
952 includedir=$ac_optarg ;;
953
954 -infodir | --infodir | --infodi | --infod | --info | --inf)
955 ac_prev=infodir ;;
956 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
957 infodir=$ac_optarg ;;
958
959 -libdir | --libdir | --libdi | --libd)
960 ac_prev=libdir ;;
961 -libdir=* | --libdir=* | --libdi=* | --libd=*)
962 libdir=$ac_optarg ;;
963
964 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
965 | --libexe | --libex | --libe)
966 ac_prev=libexecdir ;;
967 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
968 | --libexe=* | --libex=* | --libe=*)
969 libexecdir=$ac_optarg ;;
970
971 -localedir | --localedir | --localedi | --localed | --locale)
972 ac_prev=localedir ;;
973 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
974 localedir=$ac_optarg ;;
975
976 -localstatedir | --localstatedir | --localstatedi | --localstated \
977 | --localstate | --localstat | --localsta | --localst | --locals)
978 ac_prev=localstatedir ;;
979 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
980 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
981 localstatedir=$ac_optarg ;;
982
983 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
984 ac_prev=mandir ;;
985 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
986 mandir=$ac_optarg ;;
987
988 -nfp | --nfp | --nf)
989 # Obsolete; use --without-fp.
990 with_fp=no ;;
991
992 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
993 | --no-cr | --no-c | -n)
994 no_create=yes ;;
995
996 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
997 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
998 no_recursion=yes ;;
999
1000 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1001 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1002 | --oldin | --oldi | --old | --ol | --o)
1003 ac_prev=oldincludedir ;;
1004 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1005 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1006 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1007 oldincludedir=$ac_optarg ;;
1008
1009 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1010 ac_prev=prefix ;;
1011 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1012 prefix=$ac_optarg ;;
1013
1014 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1015 | --program-pre | --program-pr | --program-p)
1016 ac_prev=program_prefix ;;
1017 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1018 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1019 program_prefix=$ac_optarg ;;
1020
1021 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1022 | --program-suf | --program-su | --program-s)
1023 ac_prev=program_suffix ;;
1024 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1025 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1026 program_suffix=$ac_optarg ;;
1027
1028 -program-transform-name | --program-transform-name \
1029 | --program-transform-nam | --program-transform-na \
1030 | --program-transform-n | --program-transform- \
1031 | --program-transform | --program-transfor \
1032 | --program-transfo | --program-transf \
1033 | --program-trans | --program-tran \
1034 | --progr-tra | --program-tr | --program-t)
1035 ac_prev=program_transform_name ;;
1036 -program-transform-name=* | --program-transform-name=* \
1037 | --program-transform-nam=* | --program-transform-na=* \
1038 | --program-transform-n=* | --program-transform-=* \
1039 | --program-transform=* | --program-transfor=* \
1040 | --program-transfo=* | --program-transf=* \
1041 | --program-trans=* | --program-tran=* \
1042 | --progr-tra=* | --program-tr=* | --program-t=*)
1043 program_transform_name=$ac_optarg ;;
1044
1045 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1046 ac_prev=pdfdir ;;
1047 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1048 pdfdir=$ac_optarg ;;
1049
1050 -psdir | --psdir | --psdi | --psd | --ps)
1051 ac_prev=psdir ;;
1052 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1053 psdir=$ac_optarg ;;
1054
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1057 silent=yes ;;
1058
1059 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1060 ac_prev=sbindir ;;
1061 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062 | --sbi=* | --sb=*)
1063 sbindir=$ac_optarg ;;
1064
1065 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1066 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1067 | --sharedst | --shareds | --shared | --share | --shar \
1068 | --sha | --sh)
1069 ac_prev=sharedstatedir ;;
1070 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1071 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1072 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1073 | --sha=* | --sh=*)
1074 sharedstatedir=$ac_optarg ;;
1075
1076 -site | --site | --sit)
1077 ac_prev=site ;;
1078 -site=* | --site=* | --sit=*)
1079 site=$ac_optarg ;;
1080
1081 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1082 ac_prev=srcdir ;;
1083 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1084 srcdir=$ac_optarg ;;
1085
1086 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1087 | --syscon | --sysco | --sysc | --sys | --sy)
1088 ac_prev=sysconfdir ;;
1089 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1090 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1091 sysconfdir=$ac_optarg ;;
1092
1093 -target | --target | --targe | --targ | --tar | --ta | --t)
1094 ac_prev=target_alias ;;
1095 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1096 target_alias=$ac_optarg ;;
1097
1098 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1099 verbose=yes ;;
1100
1101 -version | --version | --versio | --versi | --vers | -V)
1102 ac_init_version=: ;;
1103
1104 -with-* | --with-*)
1105 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108 as_fn_error $? "invalid package name: $ac_useropt"
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1112 *"
1113"with_$ac_useropt"
1114"*) ;;
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1117 esac
1118 eval with_$ac_useropt=\$ac_optarg ;;
1119
1120 -without-* | --without-*)
1121 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124 as_fn_error $? "invalid package name: $ac_useropt"
1125 ac_useropt_orig=$ac_useropt
1126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1128 *"
1129"with_$ac_useropt"
1130"*) ;;
1131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 ac_unrecognized_sep=', ';;
1133 esac
1134 eval with_$ac_useropt=no ;;
1135
1136 --x)
1137 # Obsolete; use --with-x.
1138 with_x=yes ;;
1139
1140 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1141 | --x-incl | --x-inc | --x-in | --x-i)
1142 ac_prev=x_includes ;;
1143 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1144 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1145 x_includes=$ac_optarg ;;
1146
1147 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1148 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1149 ac_prev=x_libraries ;;
1150 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1151 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1152 x_libraries=$ac_optarg ;;
1153
1154 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1155Try \`$0 --help' for more information"
1156 ;;
1157
1158 *=*)
1159 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 case $ac_envvar in #(
1162 '' | [0-9]* | *[!_$as_cr_alnum]* )
1163 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1164 esac
1165 eval $ac_envvar=\$ac_optarg
1166 export $ac_envvar ;;
1167
1168 *)
1169 # FIXME: should be removed in autoconf 3.0.
1170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1174 ;;
1175
1176 esac
1177done
1178
1179if test -n "$ac_prev"; then
1180 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1181 as_fn_error $? "missing argument to $ac_option"
1182fi
1183
1184if test -n "$ac_unrecognized_opts"; then
1185 case $enable_option_checking in
1186 no) ;;
1187 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189 esac
1190fi
1191
1192# Check all directory arguments for consistency.
1193for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir
1197do
1198 eval ac_val=\$$ac_var
1199 # Remove trailing slashes.
1200 case $ac_val in
1201 */ )
1202 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203 eval $ac_var=\$ac_val;;
1204 esac
1205 # Be sure to have absolute directory names.
1206 case $ac_val in
1207 [\\/$]* | ?:[\\/]* ) continue;;
1208 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1209 esac
1210 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1211done
1212
1213# There might be people who depend on the old broken behavior: `$host'
1214# used to hold the argument of --host etc.
1215# FIXME: To remove some day.
1216build=$build_alias
1217host=$host_alias
1218target=$target_alias
1219
1220# FIXME: To remove some day.
1221if test "x$host_alias" != x; then
1222 if test "x$build_alias" = x; then
1223 cross_compiling=maybe
1224 elif test "x$build_alias" != "x$host_alias"; then
1225 cross_compiling=yes
1226 fi
1227fi
1228
1229ac_tool_prefix=
1230test -n "$host_alias" && ac_tool_prefix=$host_alias-
1231
1232test "$silent" = yes && exec 6>/dev/null
1233
1234
1235ac_pwd=`pwd` && test -n "$ac_pwd" &&
1236ac_ls_di=`ls -di .` &&
1237ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1238 as_fn_error $? "working directory cannot be determined"
1239test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1240 as_fn_error $? "pwd does not report name of working directory"
1241
1242
1243# Find the source files, if location was not specified.
1244if test -z "$srcdir"; then
1245 ac_srcdir_defaulted=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir=`$as_dirname -- "$as_myself" ||
1248$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252$as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 s//\1/
1255 q
1256 }
1257 /^X\(\/\/\)[^/].*/{
1258 s//\1/
1259 q
1260 }
1261 /^X\(\/\/\)$/{
1262 s//\1/
1263 q
1264 }
1265 /^X\(\/\).*/{
1266 s//\1/
1267 q
1268 }
1269 s/.*/./; q'`
1270 srcdir=$ac_confdir
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1272 srcdir=..
1273 fi
1274else
1275 ac_srcdir_defaulted=no
1276fi
1277if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1279 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1280fi
1281ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1282ac_abs_confdir=`(
1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1284 pwd)`
1285# When building in place, set srcdir=.
1286if test "$ac_abs_confdir" = "$ac_pwd"; then
1287 srcdir=.
1288fi
1289# Remove unnecessary trailing slashes from srcdir.
1290# Double slashes in file names in object file debugging info
1291# mess up M-x gdb in Emacs.
1292case $srcdir in
1293*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1294esac
1295for ac_var in $ac_precious_vars; do
1296 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1297 eval ac_env_${ac_var}_value=\$${ac_var}
1298 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1300done
1301
1302#
1303# Report the --help message.
1304#
1305if test "$ac_init_help" = "long"; then
1306 # Omit some internal or obsolete options to make the list less imposing.
1307 # This message is too long to be a string in the A/UX 3.1 sh.
1308 cat <<_ACEOF
1309\`configure' configures vlibapi 1.0 to adapt to many kinds of systems.
1310
1311Usage: $0 [OPTION]... [VAR=VALUE]...
1312
1313To assign environment variables (e.g., CC, CFLAGS...), specify them as
1314VAR=VALUE. See below for descriptions of some of the useful variables.
1315
1316Defaults for the options are specified in brackets.
1317
1318Configuration:
1319 -h, --help display this help and exit
1320 --help=short display options specific to this package
1321 --help=recursive display the short help of all the included packages
1322 -V, --version display version information and exit
1323 -q, --quiet, --silent do not print \`checking ...' messages
1324 --cache-file=FILE cache test results in FILE [disabled]
1325 -C, --config-cache alias for \`--cache-file=config.cache'
1326 -n, --no-create do not create output files
1327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1328
1329Installation directories:
1330 --prefix=PREFIX install architecture-independent files in PREFIX
1331 [$ac_default_prefix]
1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1333 [PREFIX]
1334
1335By default, \`make install' will install all the files in
1336\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1337an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338for instance \`--prefix=\$HOME'.
1339
1340For better control, use the options below.
1341
1342Fine tuning of the installation directories:
1343 --bindir=DIR user executables [EPREFIX/bin]
1344 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354 --infodir=DIR info documentation [DATAROOTDIR/info]
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356 --mandir=DIR man documentation [DATAROOTDIR/man]
1357 --docdir=DIR documentation root [DATAROOTDIR/doc/vlibapi]
1358 --htmldir=DIR html documentation [DOCDIR]
1359 --dvidir=DIR dvi documentation [DOCDIR]
1360 --pdfdir=DIR pdf documentation [DOCDIR]
1361 --psdir=DIR ps documentation [DOCDIR]
1362_ACEOF
1363
1364 cat <<\_ACEOF
1365
1366Program names:
1367 --program-prefix=PREFIX prepend PREFIX to installed program names
1368 --program-suffix=SUFFIX append SUFFIX to installed program names
1369 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1370
1371System types:
1372 --build=BUILD configure for building on BUILD [guessed]
1373 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1374_ACEOF
1375fi
1376
1377if test -n "$ac_init_help"; then
1378 case $ac_init_help in
1379 short | recursive ) echo "Configuration of vlibapi 1.0:";;
1380 esac
1381 cat <<\_ACEOF
1382
1383Optional Features:
1384 --disable-option-checking ignore unrecognized --enable/--with options
1385 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1386 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1387 --enable-silent-rules less verbose build output (undo: "make V=1")
1388 --disable-silent-rules verbose build output (undo: "make V=0")
1389 --enable-dependency-tracking
1390 do not reject slow dependency extractors
1391 --disable-dependency-tracking
1392 speeds up one-time build
1393 --enable-shared[=PKGS] build shared libraries [default=yes]
1394 --enable-static[=PKGS] build static libraries [default=yes]
1395 --enable-fast-install[=PKGS]
1396 optimize for fast installation [default=yes]
1397 --disable-libtool-lock avoid locking (might break parallel builds)
1398
1399Optional Packages:
1400 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1401 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1402 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1403 both]
1404 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1405 --with-sysroot=DIR Search for dependent libraries within DIR
1406 (or the compiler's sysroot if not specified).
1407
1408Some influential environment variables:
1409 CC C compiler command
1410 CFLAGS C compiler flags
1411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1412 nonstandard directory <lib dir>
1413 LIBS libraries to pass to the linker, e.g. -l<library>
1414 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1415 you have headers in a nonstandard directory <include dir>
1416 CPP C preprocessor
1417
1418Use these variables to override the choices made by `configure' or to help
1419it to find libraries and programs with nonstandard names/locations.
1420
1421Report bugs to the package provider.
1422_ACEOF
1423ac_status=$?
1424fi
1425
1426if test "$ac_init_help" = "recursive"; then
1427 # If there are subdirs, report their specific --help.
1428 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1429 test -d "$ac_dir" ||
1430 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1431 continue
1432 ac_builddir=.
1433
1434case "$ac_dir" in
1435.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436*)
1437 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1438 # A ".." for each directory in $ac_dir_suffix.
1439 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1440 case $ac_top_builddir_sub in
1441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1443 esac ;;
1444esac
1445ac_abs_top_builddir=$ac_pwd
1446ac_abs_builddir=$ac_pwd$ac_dir_suffix
1447# for backward compatibility:
1448ac_top_builddir=$ac_top_build_prefix
1449
1450case $srcdir in
1451 .) # We are building in place.
1452 ac_srcdir=.
1453 ac_top_srcdir=$ac_top_builddir_sub
1454 ac_abs_top_srcdir=$ac_pwd ;;
1455 [\\/]* | ?:[\\/]* ) # Absolute name.
1456 ac_srcdir=$srcdir$ac_dir_suffix;
1457 ac_top_srcdir=$srcdir
1458 ac_abs_top_srcdir=$srcdir ;;
1459 *) # Relative name.
1460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1461 ac_top_srcdir=$ac_top_build_prefix$srcdir
1462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1463esac
1464ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1465
1466 cd "$ac_dir" || { ac_status=$?; continue; }
1467 # Check for guested configure.
1468 if test -f "$ac_srcdir/configure.gnu"; then
1469 echo &&
1470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1471 elif test -f "$ac_srcdir/configure"; then
1472 echo &&
1473 $SHELL "$ac_srcdir/configure" --help=recursive
1474 else
1475 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1476 fi || ac_status=$?
1477 cd "$ac_pwd" || { ac_status=$?; break; }
1478 done
1479fi
1480
1481test -n "$ac_init_help" && exit $ac_status
1482if $ac_init_version; then
1483 cat <<\_ACEOF
1484vlibapi configure 1.0
1485generated by GNU Autoconf 2.69
1486
1487Copyright (C) 2012 Free Software Foundation, Inc.
1488This configure script is free software; the Free Software Foundation
1489gives unlimited permission to copy, distribute and modify it.
1490_ACEOF
1491 exit
1492fi
1493
1494## ------------------------ ##
1495## Autoconf initialization. ##
1496## ------------------------ ##
1497
1498# ac_fn_c_try_compile LINENO
1499# --------------------------
1500# Try to compile conftest.$ac_ext, and return whether this succeeded.
1501ac_fn_c_try_compile ()
1502{
1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504 rm -f conftest.$ac_objext
1505 if { { ac_try="$ac_compile"
1506case "(($ac_try" in
1507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1508 *) ac_try_echo=$ac_try;;
1509esac
1510eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511$as_echo "$ac_try_echo"; } >&5
1512 (eval "$ac_compile") 2>conftest.err
1513 ac_status=$?
1514 if test -s conftest.err; then
1515 grep -v '^ *+' conftest.err >conftest.er1
1516 cat conftest.er1 >&5
1517 mv -f conftest.er1 conftest.err
1518 fi
1519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1520 test $ac_status = 0; } && {
1521 test -z "$ac_c_werror_flag" ||
1522 test ! -s conftest.err
1523 } && test -s conftest.$ac_objext; then :
1524 ac_retval=0
1525else
1526 $as_echo "$as_me: failed program was:" >&5
1527sed 's/^/| /' conftest.$ac_ext >&5
1528
1529 ac_retval=1
1530fi
1531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1532 as_fn_set_status $ac_retval
1533
1534} # ac_fn_c_try_compile
1535
1536# ac_fn_c_try_link LINENO
1537# -----------------------
1538# Try to link conftest.$ac_ext, and return whether this succeeded.
1539ac_fn_c_try_link ()
1540{
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 rm -f conftest.$ac_objext conftest$ac_exeext
1543 if { { ac_try="$ac_link"
1544case "(($ac_try" in
1545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1546 *) ac_try_echo=$ac_try;;
1547esac
1548eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549$as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_link") 2>conftest.err
1551 ac_status=$?
1552 if test -s conftest.err; then
1553 grep -v '^ *+' conftest.err >conftest.er1
1554 cat conftest.er1 >&5
1555 mv -f conftest.er1 conftest.err
1556 fi
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && {
1559 test -z "$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1561 } && test -s conftest$ac_exeext && {
1562 test "$cross_compiling" = yes ||
1563 test -x conftest$ac_exeext
1564 }; then :
1565 ac_retval=0
1566else
1567 $as_echo "$as_me: failed program was:" >&5
1568sed 's/^/| /' conftest.$ac_ext >&5
1569
1570 ac_retval=1
1571fi
1572 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1573 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1574 # interfere with the next link command; also delete a directory that is
1575 # left behind by Apple's compiler. We do this before executing the actions.
1576 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status $ac_retval
1579
1580} # ac_fn_c_try_link
1581
1582# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1583# -------------------------------------------------------
1584# Tests whether HEADER exists and can be compiled using the include files in
1585# INCLUDES, setting the cache variable VAR accordingly.
1586ac_fn_c_check_header_compile ()
1587{
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1590$as_echo_n "checking for $2... " >&6; }
1591if eval \${$3+:} false; then :
1592 $as_echo_n "(cached) " >&6
1593else
1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1595/* end confdefs.h. */
1596$4
1597#include <$2>
1598_ACEOF
1599if ac_fn_c_try_compile "$LINENO"; then :
1600 eval "$3=yes"
1601else
1602 eval "$3=no"
1603fi
1604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1605fi
1606eval ac_res=\$$3
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1608$as_echo "$ac_res" >&6; }
1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610
1611} # ac_fn_c_check_header_compile
1612
1613# ac_fn_c_try_cpp LINENO
1614# ----------------------
1615# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1616ac_fn_c_try_cpp ()
1617{
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 if { { ac_try="$ac_cpp conftest.$ac_ext"
1620case "(($ac_try" in
1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622 *) ac_try_echo=$ac_try;;
1623esac
1624eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625$as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1627 ac_status=$?
1628 if test -s conftest.err; then
1629 grep -v '^ *+' conftest.err >conftest.er1
1630 cat conftest.er1 >&5
1631 mv -f conftest.er1 conftest.err
1632 fi
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } > conftest.i && {
1635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1636 test ! -s conftest.err
1637 }; then :
1638 ac_retval=0
1639else
1640 $as_echo "$as_me: failed program was:" >&5
1641sed 's/^/| /' conftest.$ac_ext >&5
1642
1643 ac_retval=1
1644fi
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status $ac_retval
1647
1648} # ac_fn_c_try_cpp
1649
1650# ac_fn_c_try_run LINENO
1651# ----------------------
1652# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1653# that executables *can* be run.
1654ac_fn_c_try_run ()
1655{
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 if { { ac_try="$ac_link"
1658case "(($ac_try" in
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1661esac
1662eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663$as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_link") 2>&5
1665 ac_status=$?
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1668 { { case "(($ac_try" in
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1671esac
1672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673$as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_try") 2>&5
1675 ac_status=$?
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; }; }; then :
1678 ac_retval=0
1679else
1680 $as_echo "$as_me: program exited with status $ac_status" >&5
1681 $as_echo "$as_me: failed program was:" >&5
1682sed 's/^/| /' conftest.$ac_ext >&5
1683
1684 ac_retval=$ac_status
1685fi
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1689
1690} # ac_fn_c_try_run
1691
1692# ac_fn_c_check_func LINENO FUNC VAR
1693# ----------------------------------
1694# Tests whether FUNC exists, setting the cache variable VAR accordingly
1695ac_fn_c_check_func ()
1696{
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699$as_echo_n "checking for $2... " >&6; }
1700if eval \${$3+:} false; then :
1701 $as_echo_n "(cached) " >&6
1702else
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704/* end confdefs.h. */
1705/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1707#define $2 innocuous_$2
1708
1709/* System header to define __stub macros and hopefully few prototypes,
1710 which can conflict with char $2 (); below.
1711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1712 <limits.h> exists even on freestanding compilers. */
1713
1714#ifdef __STDC__
1715# include <limits.h>
1716#else
1717# include <assert.h>
1718#endif
1719
1720#undef $2
1721
1722/* Override any GCC internal prototype to avoid an error.
1723 Use char because int might match the return type of a GCC
1724 builtin and then its argument prototype would still apply. */
1725#ifdef __cplusplus
1726extern "C"
1727#endif
1728char $2 ();
1729/* The GNU C library defines this for functions which it implements
1730 to always fail with ENOSYS. Some functions are actually named
1731 something starting with __ and the normal name is an alias. */
1732#if defined __stub_$2 || defined __stub___$2
1733choke me
1734#endif
1735
1736int
1737main ()
1738{
1739return $2 ();
1740 ;
1741 return 0;
1742}
1743_ACEOF
1744if ac_fn_c_try_link "$LINENO"; then :
1745 eval "$3=yes"
1746else
1747 eval "$3=no"
1748fi
1749rm -f core conftest.err conftest.$ac_objext \
1750 conftest$ac_exeext conftest.$ac_ext
1751fi
1752eval ac_res=\$$3
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754$as_echo "$ac_res" >&6; }
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756
1757} # ac_fn_c_check_func
1758cat >config.log <<_ACEOF
1759This file contains any messages produced by compilers while
1760running configure, to aid debugging if configure makes a mistake.
1761
1762It was created by vlibapi $as_me 1.0, which was
1763generated by GNU Autoconf 2.69. Invocation command line was
1764
1765 $ $0 $@
1766
1767_ACEOF
1768exec 5>>config.log
1769{
1770cat <<_ASUNAME
1771## --------- ##
1772## Platform. ##
1773## --------- ##
1774
1775hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1776uname -m = `(uname -m) 2>/dev/null || echo unknown`
1777uname -r = `(uname -r) 2>/dev/null || echo unknown`
1778uname -s = `(uname -s) 2>/dev/null || echo unknown`
1779uname -v = `(uname -v) 2>/dev/null || echo unknown`
1780
1781/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1782/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1783
1784/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1785/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1786/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1787/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1788/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1789/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1790/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1791
1792_ASUNAME
1793
1794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795for as_dir in $PATH
1796do
1797 IFS=$as_save_IFS
1798 test -z "$as_dir" && as_dir=.
1799 $as_echo "PATH: $as_dir"
1800 done
1801IFS=$as_save_IFS
1802
1803} >&5
1804
1805cat >&5 <<_ACEOF
1806
1807
1808## ----------- ##
1809## Core tests. ##
1810## ----------- ##
1811
1812_ACEOF
1813
1814
1815# Keep a trace of the command line.
1816# Strip out --no-create and --no-recursion so they do not pile up.
1817# Strip out --silent because we don't want to record it for future runs.
1818# Also quote any args containing shell meta-characters.
1819# Make two passes to allow for proper duplicate-argument suppression.
1820ac_configure_args=
1821ac_configure_args0=
1822ac_configure_args1=
1823ac_must_keep_next=false
1824for ac_pass in 1 2
1825do
1826 for ac_arg
1827 do
1828 case $ac_arg in
1829 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1830 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1831 | -silent | --silent | --silen | --sile | --sil)
1832 continue ;;
1833 *\'*)
1834 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1835 esac
1836 case $ac_pass in
1837 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1838 2)
1839 as_fn_append ac_configure_args1 " '$ac_arg'"
1840 if test $ac_must_keep_next = true; then
1841 ac_must_keep_next=false # Got value, back to normal.
1842 else
1843 case $ac_arg in
1844 *=* | --config-cache | -C | -disable-* | --disable-* \
1845 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1846 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1847 | -with-* | --with-* | -without-* | --without-* | --x)
1848 case "$ac_configure_args0 " in
1849 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1850 esac
1851 ;;
1852 -* ) ac_must_keep_next=true ;;
1853 esac
1854 fi
1855 as_fn_append ac_configure_args " '$ac_arg'"
1856 ;;
1857 esac
1858 done
1859done
1860{ ac_configure_args0=; unset ac_configure_args0;}
1861{ ac_configure_args1=; unset ac_configure_args1;}
1862
1863# When interrupted or exit'd, cleanup temporary files, and complete
1864# config.log. We remove comments because anyway the quotes in there
1865# would cause problems or look ugly.
1866# WARNING: Use '\'' to represent an apostrophe within the trap.
1867# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1868trap 'exit_status=$?
1869 # Save into config.log some information that might help in debugging.
1870 {
1871 echo
1872
1873 $as_echo "## ---------------- ##
1874## Cache variables. ##
1875## ---------------- ##"
1876 echo
1877 # The following way of writing the cache mishandles newlines in values,
1878(
1879 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1880 eval ac_val=\$$ac_var
1881 case $ac_val in #(
1882 *${as_nl}*)
1883 case $ac_var in #(
1884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1885$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1886 esac
1887 case $ac_var in #(
1888 _ | IFS | as_nl) ;; #(
1889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1890 *) { eval $ac_var=; unset $ac_var;} ;;
1891 esac ;;
1892 esac
1893 done
1894 (set) 2>&1 |
1895 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1896 *${as_nl}ac_space=\ *)
1897 sed -n \
1898 "s/'\''/'\''\\\\'\'''\''/g;
1899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1900 ;; #(
1901 *)
1902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1903 ;;
1904 esac |
1905 sort
1906)
1907 echo
1908
1909 $as_echo "## ----------------- ##
1910## Output variables. ##
1911## ----------------- ##"
1912 echo
1913 for ac_var in $ac_subst_vars
1914 do
1915 eval ac_val=\$$ac_var
1916 case $ac_val in
1917 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1918 esac
1919 $as_echo "$ac_var='\''$ac_val'\''"
1920 done | sort
1921 echo
1922
1923 if test -n "$ac_subst_files"; then
1924 $as_echo "## ------------------- ##
1925## File substitutions. ##
1926## ------------------- ##"
1927 echo
1928 for ac_var in $ac_subst_files
1929 do
1930 eval ac_val=\$$ac_var
1931 case $ac_val in
1932 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1933 esac
1934 $as_echo "$ac_var='\''$ac_val'\''"
1935 done | sort
1936 echo
1937 fi
1938
1939 if test -s confdefs.h; then
1940 $as_echo "## ----------- ##
1941## confdefs.h. ##
1942## ----------- ##"
1943 echo
1944 cat confdefs.h
1945 echo
1946 fi
1947 test "$ac_signal" != 0 &&
1948 $as_echo "$as_me: caught signal $ac_signal"
1949 $as_echo "$as_me: exit $exit_status"
1950 } >&5
1951 rm -f core *.core core.conftest.* &&
1952 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1953 exit $exit_status
1954' 0
1955for ac_signal in 1 2 13 15; do
1956 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1957done
1958ac_signal=0
1959
1960# confdefs.h avoids OS command line length limits that DEFS can exceed.
1961rm -f -r conftest* confdefs.h
1962
1963$as_echo "/* confdefs.h */" > confdefs.h
1964
1965# Predefined preprocessor variables.
1966
1967cat >>confdefs.h <<_ACEOF
1968#define PACKAGE_NAME "$PACKAGE_NAME"
1969_ACEOF
1970
1971cat >>confdefs.h <<_ACEOF
1972#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1973_ACEOF
1974
1975cat >>confdefs.h <<_ACEOF
1976#define PACKAGE_VERSION "$PACKAGE_VERSION"
1977_ACEOF
1978
1979cat >>confdefs.h <<_ACEOF
1980#define PACKAGE_STRING "$PACKAGE_STRING"
1981_ACEOF
1982
1983cat >>confdefs.h <<_ACEOF
1984#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1985_ACEOF
1986
1987cat >>confdefs.h <<_ACEOF
1988#define PACKAGE_URL "$PACKAGE_URL"
1989_ACEOF
1990
1991
1992# Let the site file select an alternate cache file if it wants to.
1993# Prefer an explicitly selected file to automatically selected ones.
1994ac_site_file1=NONE
1995ac_site_file2=NONE
1996if test -n "$CONFIG_SITE"; then
1997 # We do not want a PATH search for config.site.
1998 case $CONFIG_SITE in #((
1999 -*) ac_site_file1=./$CONFIG_SITE;;
2000 */*) ac_site_file1=$CONFIG_SITE;;
2001 *) ac_site_file1=./$CONFIG_SITE;;
2002 esac
2003elif test "x$prefix" != xNONE; then
2004 ac_site_file1=$prefix/share/config.site
2005 ac_site_file2=$prefix/etc/config.site
2006else
2007 ac_site_file1=$ac_default_prefix/share/config.site
2008 ac_site_file2=$ac_default_prefix/etc/config.site
2009fi
2010for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2011do
2012 test "x$ac_site_file" = xNONE && continue
2013 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2015$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2016 sed 's/^/| /' "$ac_site_file" >&5
2017 . "$ac_site_file" \
2018 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2019$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2020as_fn_error $? "failed to load site script $ac_site_file
2021See \`config.log' for more details" "$LINENO" 5; }
2022 fi
2023done
2024
2025if test -r "$cache_file"; then
2026 # Some versions of bash will fail to source /dev/null (special files
2027 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2028 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2030$as_echo "$as_me: loading cache $cache_file" >&6;}
2031 case $cache_file in
2032 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2033 *) . "./$cache_file";;
2034 esac
2035 fi
2036else
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2038$as_echo "$as_me: creating cache $cache_file" >&6;}
2039 >$cache_file
2040fi
2041
2042# Check that the precious variables saved in the cache have kept the same
2043# value.
2044ac_cache_corrupted=false
2045for ac_var in $ac_precious_vars; do
2046 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2047 eval ac_new_set=\$ac_env_${ac_var}_set
2048 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2049 eval ac_new_val=\$ac_env_${ac_var}_value
2050 case $ac_old_set,$ac_new_set in
2051 set,)
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2053$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2054 ac_cache_corrupted=: ;;
2055 ,set)
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2057$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2058 ac_cache_corrupted=: ;;
2059 ,);;
2060 *)
2061 if test "x$ac_old_val" != "x$ac_new_val"; then
2062 # differences in whitespace do not lead to failure.
2063 ac_old_val_w=`echo x $ac_old_val`
2064 ac_new_val_w=`echo x $ac_new_val`
2065 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2067$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2068 ac_cache_corrupted=:
2069 else
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2071$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2072 eval $ac_var=\$ac_old_val
2073 fi
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2075$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2077$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2078 fi;;
2079 esac
2080 # Pass precious variables to config.status.
2081 if test "$ac_new_set" = set; then
2082 case $ac_new_val in
2083 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 *) ac_arg=$ac_var=$ac_new_val ;;
2085 esac
2086 case " $ac_configure_args " in
2087 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2088 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2089 esac
2090 fi
2091done
2092if $ac_cache_corrupted; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2096$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2097 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2098fi
2099## -------------------- ##
2100## Main body of script. ##
2101## -------------------- ##
2102
2103ac_ext=c
2104ac_cpp='$CPP $CPPFLAGS'
2105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2107ac_compiler_gnu=$ac_cv_c_compiler_gnu
2108
2109
2110am__api_version='1.14'
2111
2112ac_aux_dir=
2113for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2114 if test -f "$ac_dir/install-sh"; then
2115 ac_aux_dir=$ac_dir
2116 ac_install_sh="$ac_aux_dir/install-sh -c"
2117 break
2118 elif test -f "$ac_dir/install.sh"; then
2119 ac_aux_dir=$ac_dir
2120 ac_install_sh="$ac_aux_dir/install.sh -c"
2121 break
2122 elif test -f "$ac_dir/shtool"; then
2123 ac_aux_dir=$ac_dir
2124 ac_install_sh="$ac_aux_dir/shtool install -c"
2125 break
2126 fi
2127done
2128if test -z "$ac_aux_dir"; then
2129 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2130fi
2131
2132# These three variables are undocumented and unsupported,
2133# and are intended to be withdrawn in a future Autoconf release.
2134# They can cause serious problems if a builder's source tree is in a directory
2135# whose full name contains unusual characters.
2136ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2137ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2138ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2139
2140
2141# Find a good install program. We prefer a C program (faster),
2142# so one script is as good as another. But avoid the broken or
2143# incompatible versions:
2144# SysV /etc/install, /usr/sbin/install
2145# SunOS /usr/etc/install
2146# IRIX /sbin/install
2147# AIX /bin/install
2148# AmigaOS /C/install, which installs bootblocks on floppy discs
2149# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2150# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2151# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2152# OS/2's system install, which has a completely different semantic
2153# ./install, which can be erroneously created by make from ./install.sh.
2154# Reject install programs that cannot install multiple files.
2155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2156$as_echo_n "checking for a BSD-compatible install... " >&6; }
2157if test -z "$INSTALL"; then
2158if ${ac_cv_path_install+:} false; then :
2159 $as_echo_n "(cached) " >&6
2160else
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162for as_dir in $PATH
2163do
2164 IFS=$as_save_IFS
2165 test -z "$as_dir" && as_dir=.
2166 # Account for people who put trailing slashes in PATH elements.
2167case $as_dir/ in #((
2168 ./ | .// | /[cC]/* | \
2169 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2170 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2171 /usr/ucb/* ) ;;
2172 *)
2173 # OSF1 and SCO ODT 3.0 have their own names for install.
2174 # Don't use installbsd from OSF since it installs stuff as root
2175 # by default.
2176 for ac_prog in ginstall scoinst install; do
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2179 if test $ac_prog = install &&
2180 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2181 # AIX install. It has an incompatible calling convention.
2182 :
2183 elif test $ac_prog = install &&
2184 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2185 # program-specific install script used by HP pwplus--don't use.
2186 :
2187 else
2188 rm -rf conftest.one conftest.two conftest.dir
2189 echo one > conftest.one
2190 echo two > conftest.two
2191 mkdir conftest.dir
2192 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2193 test -s conftest.one && test -s conftest.two &&
2194 test -s conftest.dir/conftest.one &&
2195 test -s conftest.dir/conftest.two
2196 then
2197 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2198 break 3
2199 fi
2200 fi
2201 fi
2202 done
2203 done
2204 ;;
2205esac
2206
2207 done
2208IFS=$as_save_IFS
2209
2210rm -rf conftest.one conftest.two conftest.dir
2211
2212fi
2213 if test "${ac_cv_path_install+set}" = set; then
2214 INSTALL=$ac_cv_path_install
2215 else
2216 # As a last resort, use the slow shell script. Don't cache a
2217 # value for INSTALL within a source directory, because that will
2218 # break other packages using the cache if that directory is
2219 # removed, or if the value is a relative name.
2220 INSTALL=$ac_install_sh
2221 fi
2222fi
2223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2224$as_echo "$INSTALL" >&6; }
2225
2226# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2227# It thinks the first close brace ends the variable substitution.
2228test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2229
2230test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2231
2232test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2233
2234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2235$as_echo_n "checking whether build environment is sane... " >&6; }
2236# Reject unsafe characters in $srcdir or the absolute working directory
2237# name. Accept space and tab only in the latter.
2238am_lf='
2239'
2240case `pwd` in
2241 *[\\\"\#\$\&\'\`$am_lf]*)
2242 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2243esac
2244case $srcdir in
2245 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2246 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2247esac
2248
2249# Do 'set' in a subshell so we don't clobber the current shell's
2250# arguments. Must try -L first in case configure is actually a
2251# symlink; some systems play weird games with the mod time of symlinks
2252# (eg FreeBSD returns the mod time of the symlink's containing
2253# directory).
2254if (
2255 am_has_slept=no
2256 for am_try in 1 2; do
2257 echo "timestamp, slept: $am_has_slept" > conftest.file
2258 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2259 if test "$*" = "X"; then
2260 # -L didn't work.
2261 set X `ls -t "$srcdir/configure" conftest.file`
2262 fi
2263 if test "$*" != "X $srcdir/configure conftest.file" \
2264 && test "$*" != "X conftest.file $srcdir/configure"; then
2265
2266 # If neither matched, then we have a broken ls. This can happen
2267 # if, for instance, CONFIG_SHELL is bash and it inherits a
2268 # broken ls alias from the environment. This has actually
2269 # happened. Such a system could not be considered "sane".
2270 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2271 alias in your environment" "$LINENO" 5
2272 fi
2273 if test "$2" = conftest.file || test $am_try -eq 2; then
2274 break
2275 fi
2276 # Just in case.
2277 sleep 1
2278 am_has_slept=yes
2279 done
2280 test "$2" = conftest.file
2281 )
2282then
2283 # Ok.
2284 :
2285else
2286 as_fn_error $? "newly created file is older than distributed files!
2287Check your system clock" "$LINENO" 5
2288fi
2289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2290$as_echo "yes" >&6; }
2291# If we didn't sleep, we still need to ensure time stamps of config.status and
2292# generated files are strictly newer.
2293am_sleep_pid=
2294if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2295 ( sleep 1 ) &
2296 am_sleep_pid=$!
2297fi
2298
2299rm -f conftest.file
2300
2301test "$program_prefix" != NONE &&
2302 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2303# Use a double $ so make ignores it.
2304test "$program_suffix" != NONE &&
2305 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2306# Double any \ or $.
2307# By default was `s,x,x', remove it if useless.
2308ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2309program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2310
2311# expand $ac_aux_dir to an absolute path
2312am_aux_dir=`cd $ac_aux_dir && pwd`
2313
2314if test x"${MISSING+set}" != xset; then
2315 case $am_aux_dir in
2316 *\ * | *\ *)
2317 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2318 *)
2319 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2320 esac
2321fi
2322# Use eval to expand $SHELL
2323if eval "$MISSING --is-lightweight"; then
2324 am_missing_run="$MISSING "
2325else
2326 am_missing_run=
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2328$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2329fi
2330
2331if test x"${install_sh}" != xset; then
2332 case $am_aux_dir in
2333 *\ * | *\ *)
2334 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2335 *)
2336 install_sh="\${SHELL} $am_aux_dir/install-sh"
2337 esac
2338fi
2339
2340# Installed binaries are usually stripped using 'strip' when the user
2341# run "make install-strip". However 'strip' might not be the right
2342# tool to use in cross-compilation environments, therefore Automake
2343# will honor the 'STRIP' environment variable to overrule this program.
2344if test "$cross_compiling" != no; then
2345 if test -n "$ac_tool_prefix"; then
2346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2347set dummy ${ac_tool_prefix}strip; ac_word=$2
2348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2349$as_echo_n "checking for $ac_word... " >&6; }
2350if ${ac_cv_prog_STRIP+:} false; then :
2351 $as_echo_n "(cached) " >&6
2352else
2353 if test -n "$STRIP"; then
2354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2355else
2356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357for as_dir in $PATH
2358do
2359 IFS=$as_save_IFS
2360 test -z "$as_dir" && as_dir=.
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2363 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 break 2
2366 fi
2367done
2368 done
2369IFS=$as_save_IFS
2370
2371fi
2372fi
2373STRIP=$ac_cv_prog_STRIP
2374if test -n "$STRIP"; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2376$as_echo "$STRIP" >&6; }
2377else
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2379$as_echo "no" >&6; }
2380fi
2381
2382
2383fi
2384if test -z "$ac_cv_prog_STRIP"; then
2385 ac_ct_STRIP=$STRIP
2386 # Extract the first word of "strip", so it can be a program name with args.
2387set dummy strip; ac_word=$2
2388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2389$as_echo_n "checking for $ac_word... " >&6; }
2390if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2391 $as_echo_n "(cached) " >&6
2392else
2393 if test -n "$ac_ct_STRIP"; then
2394 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2395else
2396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397for as_dir in $PATH
2398do
2399 IFS=$as_save_IFS
2400 test -z "$as_dir" && as_dir=.
2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2403 ac_cv_prog_ac_ct_STRIP="strip"
2404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2405 break 2
2406 fi
2407done
2408 done
2409IFS=$as_save_IFS
2410
2411fi
2412fi
2413ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2414if test -n "$ac_ct_STRIP"; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2416$as_echo "$ac_ct_STRIP" >&6; }
2417else
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2419$as_echo "no" >&6; }
2420fi
2421
2422 if test "x$ac_ct_STRIP" = x; then
2423 STRIP=":"
2424 else
2425 case $cross_compiling:$ac_tool_warned in
2426yes:)
2427{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2428$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2429ac_tool_warned=yes ;;
2430esac
2431 STRIP=$ac_ct_STRIP
2432 fi
2433else
2434 STRIP="$ac_cv_prog_STRIP"
2435fi
2436
2437fi
2438INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2439
2440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2441$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2442if test -z "$MKDIR_P"; then
2443 if ${ac_cv_path_mkdir+:} false; then :
2444 $as_echo_n "(cached) " >&6
2445else
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2448do
2449 IFS=$as_save_IFS
2450 test -z "$as_dir" && as_dir=.
2451 for ac_prog in mkdir gmkdir; do
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2454 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2455 'mkdir (GNU coreutils) '* | \
2456 'mkdir (coreutils) '* | \
2457 'mkdir (fileutils) '4.1*)
2458 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2459 break 3;;
2460 esac
2461 done
2462 done
2463 done
2464IFS=$as_save_IFS
2465
2466fi
2467
2468 test -d ./--version && rmdir ./--version
2469 if test "${ac_cv_path_mkdir+set}" = set; then
2470 MKDIR_P="$ac_cv_path_mkdir -p"
2471 else
2472 # As a last resort, use the slow shell script. Don't cache a
2473 # value for MKDIR_P within a source directory, because that will
2474 # break other packages using the cache if that directory is
2475 # removed, or if the value is a relative name.
2476 MKDIR_P="$ac_install_sh -d"
2477 fi
2478fi
2479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2480$as_echo "$MKDIR_P" >&6; }
2481
2482for ac_prog in gawk mawk nawk awk
2483do
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485set dummy $ac_prog; ac_word=$2
2486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2487$as_echo_n "checking for $ac_word... " >&6; }
2488if ${ac_cv_prog_AWK+:} false; then :
2489 $as_echo_n "(cached) " >&6
2490else
2491 if test -n "$AWK"; then
2492 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2493else
2494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495for as_dir in $PATH
2496do
2497 IFS=$as_save_IFS
2498 test -z "$as_dir" && as_dir=.
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_AWK="$ac_prog"
2502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 break 2
2504 fi
2505done
2506 done
2507IFS=$as_save_IFS
2508
2509fi
2510fi
2511AWK=$ac_cv_prog_AWK
2512if test -n "$AWK"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2514$as_echo "$AWK" >&6; }
2515else
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2517$as_echo "no" >&6; }
2518fi
2519
2520
2521 test -n "$AWK" && break
2522done
2523
2524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2525$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2526set x ${MAKE-make}
2527ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2528if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2529 $as_echo_n "(cached) " >&6
2530else
2531 cat >conftest.make <<\_ACEOF
2532SHELL = /bin/sh
2533all:
2534 @echo '@@@%%%=$(MAKE)=@@@%%%'
2535_ACEOF
2536# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2537case `${MAKE-make} -f conftest.make 2>/dev/null` in
2538 *@@@%%%=?*=@@@%%%*)
2539 eval ac_cv_prog_make_${ac_make}_set=yes;;
2540 *)
2541 eval ac_cv_prog_make_${ac_make}_set=no;;
2542esac
2543rm -f conftest.make
2544fi
2545if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2547$as_echo "yes" >&6; }
2548 SET_MAKE=
2549else
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551$as_echo "no" >&6; }
2552 SET_MAKE="MAKE=${MAKE-make}"
2553fi
2554
2555rm -rf .tst 2>/dev/null
2556mkdir .tst 2>/dev/null
2557if test -d .tst; then
2558 am__leading_dot=.
2559else
2560 am__leading_dot=_
2561fi
2562rmdir .tst 2>/dev/null
2563
2564# Check whether --enable-silent-rules was given.
2565if test "${enable_silent_rules+set}" = set; then :
2566 enableval=$enable_silent_rules;
2567fi
2568
2569case $enable_silent_rules in # (((
2570 yes) AM_DEFAULT_VERBOSITY=0;;
2571 no) AM_DEFAULT_VERBOSITY=1;;
2572 *) AM_DEFAULT_VERBOSITY=1;;
2573esac
2574am_make=${MAKE-make}
2575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2576$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2577if ${am_cv_make_support_nested_variables+:} false; then :
2578 $as_echo_n "(cached) " >&6
2579else
2580 if $as_echo 'TRUE=$(BAR$(V))
2581BAR0=false
2582BAR1=true
2583V=1
2584am__doit:
2585 @$(TRUE)
2586.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2587 am_cv_make_support_nested_variables=yes
2588else
2589 am_cv_make_support_nested_variables=no
2590fi
2591fi
2592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2593$as_echo "$am_cv_make_support_nested_variables" >&6; }
2594if test $am_cv_make_support_nested_variables = yes; then
2595 AM_V='$(V)'
2596 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2597else
2598 AM_V=$AM_DEFAULT_VERBOSITY
2599 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2600fi
2601AM_BACKSLASH='\'
2602
2603if test "`cd $srcdir && pwd`" != "`pwd`"; then
2604 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2605 # is not polluted with repeated "-I."
2606 am__isrc=' -I$(srcdir)'
2607 # test to see if srcdir already configured
2608 if test -f $srcdir/config.status; then
2609 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2610 fi
2611fi
2612
2613# test whether we have cygpath
2614if test -z "$CYGPATH_W"; then
2615 if (cygpath --version) >/dev/null 2>/dev/null; then
2616 CYGPATH_W='cygpath -w'
2617 else
2618 CYGPATH_W=echo
2619 fi
2620fi
2621
2622
2623# Define the identity of the package.
2624 PACKAGE='vlibapi'
2625 VERSION='1.0'
2626
2627
2628cat >>confdefs.h <<_ACEOF
2629#define PACKAGE "$PACKAGE"
2630_ACEOF
2631
2632
2633cat >>confdefs.h <<_ACEOF
2634#define VERSION "$VERSION"
2635_ACEOF
2636
2637# Some tools Automake needs.
2638
2639ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2640
2641
2642AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2643
2644
2645AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2646
2647
2648AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2649
2650
2651MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2652
2653# For better backward compatibility. To be removed once Automake 1.9.x
2654# dies out for good. For more background, see:
2655# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2656# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2657mkdir_p='$(MKDIR_P)'
2658
2659# We need awk for the "check" target. The system "awk" is bad on
2660# some platforms.
2661# Always define AMTAR for backward compatibility. Yes, it's still used
2662# in the wild :-( We should find a proper way to deprecate it ...
2663AMTAR='$${TAR-tar}'
2664
2665
2666# We'll loop over all known methods to create a tar archive until one works.
2667_am_tools='gnutar pax cpio none'
2668
2669am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2670
2671
2672
2673
2674
2675
2676# POSIX will say in a future version that running "rm -f" with no argument
2677# is OK; and we want to be able to make that assumption in our Makefile
2678# recipes. So use an aggressive probe to check that the usage we want is
2679# actually supported "in the wild" to an acceptable degree.
2680# See automake bug#10828.
2681# To make any issue more visible, cause the running configure to be aborted
2682# by default if the 'rm' program in use doesn't match our expectations; the
2683# user can still override this though.
2684if rm -f && rm -fr && rm -rf; then : OK; else
2685 cat >&2 <<'END'
2686Oops!
2687
2688Your 'rm' program seems unable to run without file operands specified
2689on the command line, even when the '-f' option is present. This is contrary
2690to the behaviour of most rm programs out there, and not conforming with
2691the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2692
2693Please tell bug-automake@gnu.org about your system, including the value
2694of your $PATH and any error possibly output before this message. This
2695can help us improve future automake versions.
2696
2697END
2698 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2699 echo 'Configuration will proceed anyway, since you have set the' >&2
2700 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2701 echo >&2
2702 else
2703 cat >&2 <<'END'
2704Aborting the configuration process, to ensure you take notice of the issue.
2705
2706You can download and install GNU coreutils to get an 'rm' implementation
2707that behaves properly: <http://www.gnu.org/software/coreutils/>.
2708
2709If you want to complete the configuration process using your problematic
2710'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2711to "yes", and re-run configure.
2712
2713END
2714 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2715 fi
2716fi
2717
2718# Check whether --enable-silent-rules was given.
2719if test "${enable_silent_rules+set}" = set; then :
2720 enableval=$enable_silent_rules;
2721fi
2722
2723case $enable_silent_rules in # (((
2724 yes) AM_DEFAULT_VERBOSITY=0;;
2725 no) AM_DEFAULT_VERBOSITY=1;;
2726 *) AM_DEFAULT_VERBOSITY=1;;
2727esac
2728am_make=${MAKE-make}
2729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2730$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2731if ${am_cv_make_support_nested_variables+:} false; then :
2732 $as_echo_n "(cached) " >&6
2733else
2734 if $as_echo 'TRUE=$(BAR$(V))
2735BAR0=false
2736BAR1=true
2737V=1
2738am__doit:
2739 @$(TRUE)
2740.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2741 am_cv_make_support_nested_variables=yes
2742else
2743 am_cv_make_support_nested_variables=no
2744fi
2745fi
2746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2747$as_echo "$am_cv_make_support_nested_variables" >&6; }
2748if test $am_cv_make_support_nested_variables = yes; then
2749 AM_V='$(V)'
2750 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2751else
2752 AM_V=$AM_DEFAULT_VERBOSITY
2753 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2754fi
2755AM_BACKSLASH='\'
2756
2757
2758ac_ext=c
2759ac_cpp='$CPP $CPPFLAGS'
2760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2762ac_compiler_gnu=$ac_cv_c_compiler_gnu
2763if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2765set dummy ${ac_tool_prefix}gcc; ac_word=$2
2766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767$as_echo_n "checking for $ac_word... " >&6; }
2768if ${ac_cv_prog_CC+:} false; then :
2769 $as_echo_n "(cached) " >&6
2770else
2771 if test -n "$CC"; then
2772 ac_cv_prog_CC="$CC" # Let the user override the test.
2773else
2774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775for as_dir in $PATH
2776do
2777 IFS=$as_save_IFS
2778 test -z "$as_dir" && as_dir=.
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2783 break 2
2784 fi
2785done
2786 done
2787IFS=$as_save_IFS
2788
2789fi
2790fi
2791CC=$ac_cv_prog_CC
2792if test -n "$CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794$as_echo "$CC" >&6; }
2795else
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797$as_echo "no" >&6; }
2798fi
2799
2800
2801fi
2802if test -z "$ac_cv_prog_CC"; then
2803 ac_ct_CC=$CC
2804 # Extract the first word of "gcc", so it can be a program name with args.
2805set dummy gcc; ac_word=$2
2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807$as_echo_n "checking for $ac_word... " >&6; }
2808if ${ac_cv_prog_ac_ct_CC+:} false; then :
2809 $as_echo_n "(cached) " >&6
2810else
2811 if test -n "$ac_ct_CC"; then
2812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2813else
2814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815for as_dir in $PATH
2816do
2817 IFS=$as_save_IFS
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_ac_ct_CC="gcc"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 break 2
2824 fi
2825done
2826 done
2827IFS=$as_save_IFS
2828
2829fi
2830fi
2831ac_ct_CC=$ac_cv_prog_ac_ct_CC
2832if test -n "$ac_ct_CC"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2834$as_echo "$ac_ct_CC" >&6; }
2835else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837$as_echo "no" >&6; }
2838fi
2839
2840 if test "x$ac_ct_CC" = x; then
2841 CC=""
2842 else
2843 case $cross_compiling:$ac_tool_warned in
2844yes:)
2845{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847ac_tool_warned=yes ;;
2848esac
2849 CC=$ac_ct_CC
2850 fi
2851else
2852 CC="$ac_cv_prog_CC"
2853fi
2854
2855if test -z "$CC"; then
2856 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2858set dummy ${ac_tool_prefix}cc; ac_word=$2
2859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860$as_echo_n "checking for $ac_word... " >&6; }
2861if ${ac_cv_prog_CC+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863else
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC="$CC" # Let the user override the test.
2866else
2867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868for as_dir in $PATH
2869do
2870 IFS=$as_save_IFS
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2874 ac_cv_prog_CC="${ac_tool_prefix}cc"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 break 2
2877 fi
2878done
2879 done
2880IFS=$as_save_IFS
2881
2882fi
2883fi
2884CC=$ac_cv_prog_CC
2885if test -n "$CC"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2887$as_echo "$CC" >&6; }
2888else
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890$as_echo "no" >&6; }
2891fi
2892
2893
2894 fi
2895fi
2896if test -z "$CC"; then
2897 # Extract the first word of "cc", so it can be a program name with args.
2898set dummy cc; ac_word=$2
2899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900$as_echo_n "checking for $ac_word... " >&6; }
2901if ${ac_cv_prog_CC+:} false; then :
2902 $as_echo_n "(cached) " >&6
2903else
2904 if test -n "$CC"; then
2905 ac_cv_prog_CC="$CC" # Let the user override the test.
2906else
2907 ac_prog_rejected=no
2908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909for as_dir in $PATH
2910do
2911 IFS=$as_save_IFS
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2916 ac_prog_rejected=yes
2917 continue
2918 fi
2919 ac_cv_prog_CC="cc"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 break 2
2922 fi
2923done
2924 done
2925IFS=$as_save_IFS
2926
2927if test $ac_prog_rejected = yes; then
2928 # We found a bogon in the path, so make sure we never use it.
2929 set dummy $ac_cv_prog_CC
2930 shift
2931 if test $# != 0; then
2932 # We chose a different compiler from the bogus one.
2933 # However, it has the same basename, so the bogon will be chosen
2934 # first if we set CC to just the basename; use the full file name.
2935 shift
2936 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2937 fi
2938fi
2939fi
2940fi
2941CC=$ac_cv_prog_CC
2942if test -n "$CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2944$as_echo "$CC" >&6; }
2945else
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947$as_echo "no" >&6; }
2948fi
2949
2950
2951fi
2952if test -z "$CC"; then
2953 if test -n "$ac_tool_prefix"; then
2954 for ac_prog in cl.exe
2955 do
2956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2957set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959$as_echo_n "checking for $ac_word... " >&6; }
2960if ${ac_cv_prog_CC+:} false; then :
2961 $as_echo_n "(cached) " >&6
2962else
2963 if test -n "$CC"; then
2964 ac_cv_prog_CC="$CC" # Let the user override the test.
2965else
2966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967for as_dir in $PATH
2968do
2969 IFS=$as_save_IFS
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 break 2
2976 fi
2977done
2978 done
2979IFS=$as_save_IFS
2980
2981fi
2982fi
2983CC=$ac_cv_prog_CC
2984if test -n "$CC"; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2986$as_echo "$CC" >&6; }
2987else
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989$as_echo "no" >&6; }
2990fi
2991
2992
2993 test -n "$CC" && break
2994 done
2995fi
2996if test -z "$CC"; then
2997 ac_ct_CC=$CC
2998 for ac_prog in cl.exe
2999do
3000 # Extract the first word of "$ac_prog", so it can be a program name with args.
3001set dummy $ac_prog; ac_word=$2
3002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003$as_echo_n "checking for $ac_word... " >&6; }
3004if ${ac_cv_prog_ac_ct_CC+:} false; then :
3005 $as_echo_n "(cached) " >&6
3006else
3007 if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3009else
3010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011for as_dir in $PATH
3012do
3013 IFS=$as_save_IFS
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_ac_ct_CC="$ac_prog"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 break 2
3020 fi
3021done
3022 done
3023IFS=$as_save_IFS
3024
3025fi
3026fi
3027ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028if test -n "$ac_ct_CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030$as_echo "$ac_ct_CC" >&6; }
3031else
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033$as_echo "no" >&6; }
3034fi
3035
3036
3037 test -n "$ac_ct_CC" && break
3038done
3039
3040 if test "x$ac_ct_CC" = x; then
3041 CC=""
3042 else
3043 case $cross_compiling:$ac_tool_warned in
3044yes:)
3045{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047ac_tool_warned=yes ;;
3048esac
3049 CC=$ac_ct_CC
3050 fi
3051fi
3052
3053fi
3054
3055
3056test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058as_fn_error $? "no acceptable C compiler found in \$PATH
3059See \`config.log' for more details" "$LINENO" 5; }
3060
3061# Provide some information about the compiler.
3062$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3063set X $ac_compile
3064ac_compiler=$2
3065for ac_option in --version -v -V -qversion; do
3066 { { ac_try="$ac_compiler $ac_option >&5"
3067case "(($ac_try" in
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3070esac
3071eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3072$as_echo "$ac_try_echo"; } >&5
3073 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3074 ac_status=$?
3075 if test -s conftest.err; then
3076 sed '10a\
3077... rest of stderr output deleted ...
3078 10q' conftest.err >conftest.er1
3079 cat conftest.er1 >&5
3080 fi
3081 rm -f conftest.er1 conftest.err
3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3083 test $ac_status = 0; }
3084done
3085
3086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087/* end confdefs.h. */
3088
3089int
3090main ()
3091{
3092
3093 ;
3094 return 0;
3095}
3096_ACEOF
3097ac_clean_files_save=$ac_clean_files
3098ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3099# Try to create an executable without -o first, disregard a.out.
3100# It will help us diagnose broken compilers, and finding out an intuition
3101# of exeext.
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3103$as_echo_n "checking whether the C compiler works... " >&6; }
3104ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3105
3106# The possible output files:
3107ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3108
3109ac_rmfiles=
3110for ac_file in $ac_files
3111do
3112 case $ac_file in
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3114 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3115 esac
3116done
3117rm -f $ac_rmfiles
3118
3119if { { ac_try="$ac_link_default"
3120case "(($ac_try" in
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3123esac
3124eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125$as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_link_default") 2>&5
3127 ac_status=$?
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; }; then :
3130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3131# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3132# in a Makefile. We should not override ac_cv_exeext if it was cached,
3133# so that the user can short-circuit this test for compilers unknown to
3134# Autoconf.
3135for ac_file in $ac_files ''
3136do
3137 test -f "$ac_file" || continue
3138 case $ac_file in
3139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3140 ;;
3141 [ab].out )
3142 # We found the default executable, but exeext='' is most
3143 # certainly right.
3144 break;;
3145 *.* )
3146 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3147 then :; else
3148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3149 fi
3150 # We set ac_cv_exeext here because the later test for it is not
3151 # safe: cross compilers may not add the suffix if given an `-o'
3152 # argument, so we may need to know it at that point already.
3153 # Even if this section looks crufty: it has the advantage of
3154 # actually working.
3155 break;;
3156 * )
3157 break;;
3158 esac
3159done
3160test "$ac_cv_exeext" = no && ac_cv_exeext=
3161
3162else
3163 ac_file=''
3164fi
3165if test -z "$ac_file"; then :
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167$as_echo "no" >&6; }
3168$as_echo "$as_me: failed program was:" >&5
3169sed 's/^/| /' conftest.$ac_ext >&5
3170
3171{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173as_fn_error 77 "C compiler cannot create executables
3174See \`config.log' for more details" "$LINENO" 5; }
3175else
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3177$as_echo "yes" >&6; }
3178fi
3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3180$as_echo_n "checking for C compiler default output file name... " >&6; }
3181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3182$as_echo "$ac_file" >&6; }
3183ac_exeext=$ac_cv_exeext
3184
3185rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3186ac_clean_files=$ac_clean_files_save
3187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3188$as_echo_n "checking for suffix of executables... " >&6; }
3189if { { ac_try="$ac_link"
3190case "(($ac_try" in
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3193esac
3194eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3195$as_echo "$ac_try_echo"; } >&5
3196 (eval "$ac_link") 2>&5
3197 ac_status=$?
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }; then :
3200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3201# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3202# work properly (i.e., refer to `conftest.exe'), while it won't with
3203# `rm'.
3204for ac_file in conftest.exe conftest conftest.*; do
3205 test -f "$ac_file" || continue
3206 case $ac_file in
3207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3208 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3209 break;;
3210 * ) break;;
3211 esac
3212done
3213else
3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3217See \`config.log' for more details" "$LINENO" 5; }
3218fi
3219rm -f conftest conftest$ac_cv_exeext
3220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3221$as_echo "$ac_cv_exeext" >&6; }
3222
3223rm -f conftest.$ac_ext
3224EXEEXT=$ac_cv_exeext
3225ac_exeext=$EXEEXT
3226cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227/* end confdefs.h. */
3228#include <stdio.h>
3229int
3230main ()
3231{
3232FILE *f = fopen ("conftest.out", "w");
3233 return ferror (f) || fclose (f) != 0;
3234
3235 ;
3236 return 0;
3237}
3238_ACEOF
3239ac_clean_files="$ac_clean_files conftest.out"
3240# Check that the compiler produces executables we can run. If not, either
3241# the compiler is broken, or we cross compile.
3242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3243$as_echo_n "checking whether we are cross compiling... " >&6; }
3244if test "$cross_compiling" != yes; then
3245 { { ac_try="$ac_link"
3246case "(($ac_try" in
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3249esac
3250eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251$as_echo "$ac_try_echo"; } >&5
3252 (eval "$ac_link") 2>&5
3253 ac_status=$?
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3256 if { ac_try='./conftest$ac_cv_exeext'
3257 { { case "(($ac_try" in
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3260esac
3261eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262$as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_try") 2>&5
3264 ac_status=$?
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; }; then
3267 cross_compiling=no
3268 else
3269 if test "$cross_compiling" = maybe; then
3270 cross_compiling=yes
3271 else
3272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274as_fn_error $? "cannot run C compiled programs.
3275If you meant to cross compile, use \`--host'.
3276See \`config.log' for more details" "$LINENO" 5; }
3277 fi
3278 fi
3279fi
3280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3281$as_echo "$cross_compiling" >&6; }
3282
3283rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3284ac_clean_files=$ac_clean_files_save
3285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3286$as_echo_n "checking for suffix of object files... " >&6; }
3287if ${ac_cv_objext+:} false; then :
3288 $as_echo_n "(cached) " >&6
3289else
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291/* end confdefs.h. */
3292
3293int
3294main ()
3295{
3296
3297 ;
3298 return 0;
3299}
3300_ACEOF
3301rm -f conftest.o conftest.obj
3302if { { ac_try="$ac_compile"
3303case "(($ac_try" in
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3306esac
3307eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3308$as_echo "$ac_try_echo"; } >&5
3309 (eval "$ac_compile") 2>&5
3310 ac_status=$?
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 test $ac_status = 0; }; then :
3313 for ac_file in conftest.o conftest.obj conftest.*; do
3314 test -f "$ac_file" || continue;
3315 case $ac_file in
3316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3317 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3318 break;;
3319 esac
3320done
3321else
3322 $as_echo "$as_me: failed program was:" >&5
3323sed 's/^/| /' conftest.$ac_ext >&5
3324
3325{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327as_fn_error $? "cannot compute suffix of object files: cannot compile
3328See \`config.log' for more details" "$LINENO" 5; }
3329fi
3330rm -f conftest.$ac_cv_objext conftest.$ac_ext
3331fi
3332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3333$as_echo "$ac_cv_objext" >&6; }
3334OBJEXT=$ac_cv_objext
3335ac_objext=$OBJEXT
3336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3337$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3338if ${ac_cv_c_compiler_gnu+:} false; then :
3339 $as_echo_n "(cached) " >&6
3340else
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342/* end confdefs.h. */
3343
3344int
3345main ()
3346{
3347#ifndef __GNUC__
3348 choke me
3349#endif
3350
3351 ;
3352 return 0;
3353}
3354_ACEOF
3355if ac_fn_c_try_compile "$LINENO"; then :
3356 ac_compiler_gnu=yes
3357else
3358 ac_compiler_gnu=no
3359fi
3360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361ac_cv_c_compiler_gnu=$ac_compiler_gnu
3362
3363fi
3364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3365$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3366if test $ac_compiler_gnu = yes; then
3367 GCC=yes
3368else
3369 GCC=
3370fi
3371ac_test_CFLAGS=${CFLAGS+set}
3372ac_save_CFLAGS=$CFLAGS
3373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3374$as_echo_n "checking whether $CC accepts -g... " >&6; }
3375if ${ac_cv_prog_cc_g+:} false; then :
3376 $as_echo_n "(cached) " >&6
3377else
3378 ac_save_c_werror_flag=$ac_c_werror_flag
3379 ac_c_werror_flag=yes
3380 ac_cv_prog_cc_g=no
3381 CFLAGS="-g"
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383/* end confdefs.h. */
3384
3385int
3386main ()
3387{
3388
3389 ;
3390 return 0;
3391}
3392_ACEOF
3393if ac_fn_c_try_compile "$LINENO"; then :
3394 ac_cv_prog_cc_g=yes
3395else
3396 CFLAGS=""
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398/* end confdefs.h. */
3399
3400int
3401main ()
3402{
3403
3404 ;
3405 return 0;
3406}
3407_ACEOF
3408if ac_fn_c_try_compile "$LINENO"; then :
3409
3410else
3411 ac_c_werror_flag=$ac_save_c_werror_flag
3412 CFLAGS="-g"
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414/* end confdefs.h. */
3415
3416int
3417main ()
3418{
3419
3420 ;
3421 return 0;
3422}
3423_ACEOF
3424if ac_fn_c_try_compile "$LINENO"; then :
3425 ac_cv_prog_cc_g=yes
3426fi
3427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428fi
3429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430fi
3431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 ac_c_werror_flag=$ac_save_c_werror_flag
3433fi
3434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3435$as_echo "$ac_cv_prog_cc_g" >&6; }
3436if test "$ac_test_CFLAGS" = set; then
3437 CFLAGS=$ac_save_CFLAGS
3438elif test $ac_cv_prog_cc_g = yes; then
3439 if test "$GCC" = yes; then
3440 CFLAGS="-g -O2"
3441 else
3442 CFLAGS="-g"
3443 fi
3444else
3445 if test "$GCC" = yes; then
3446 CFLAGS="-O2"
3447 else
3448 CFLAGS=
3449 fi
3450fi
3451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3452$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3453if ${ac_cv_prog_cc_c89+:} false; then :
3454 $as_echo_n "(cached) " >&6
3455else
3456 ac_cv_prog_cc_c89=no
3457ac_save_CC=$CC
3458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459/* end confdefs.h. */
3460#include <stdarg.h>
3461#include <stdio.h>
3462struct stat;
3463/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3464struct buf { int x; };
3465FILE * (*rcsopen) (struct buf *, struct stat *, int);
3466static char *e (p, i)
3467 char **p;
3468 int i;
3469{
3470 return p[i];
3471}
3472static char *f (char * (*g) (char **, int), char **p, ...)
3473{
3474 char *s;
3475 va_list v;
3476 va_start (v,p);
3477 s = g (p, va_arg (v,int));
3478 va_end (v);
3479 return s;
3480}
3481
3482/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3483 function prototypes and stuff, but not '\xHH' hex character constants.
3484 These don't provoke an error unfortunately, instead are silently treated
3485 as 'x'. The following induces an error, until -std is added to get
3486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3487 array size at least. It's necessary to write '\x00'==0 to get something
3488 that's true only with -std. */
3489int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3490
3491/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3492 inside strings and character constants. */
3493#define FOO(x) 'x'
3494int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3495
3496int test (int i, double x);
3497struct s1 {int (*f) (int a);};
3498struct s2 {int (*f) (double a);};
3499int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3500int argc;
3501char **argv;
3502int
3503main ()
3504{
3505return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3506 ;
3507 return 0;
3508}
3509_ACEOF
3510for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3511 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3512do
3513 CC="$ac_save_CC $ac_arg"
3514 if ac_fn_c_try_compile "$LINENO"; then :
3515 ac_cv_prog_cc_c89=$ac_arg
3516fi
3517rm -f core conftest.err conftest.$ac_objext
3518 test "x$ac_cv_prog_cc_c89" != "xno" && break
3519done
3520rm -f conftest.$ac_ext
3521CC=$ac_save_CC
3522
3523fi
3524# AC_CACHE_VAL
3525case "x$ac_cv_prog_cc_c89" in
3526 x)
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3528$as_echo "none needed" >&6; } ;;
3529 xno)
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3531$as_echo "unsupported" >&6; } ;;
3532 *)
3533 CC="$CC $ac_cv_prog_cc_c89"
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3535$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3536esac
3537if test "x$ac_cv_prog_cc_c89" != xno; then :
3538
3539fi
3540
3541ac_ext=c
3542ac_cpp='$CPP $CPPFLAGS'
3543ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545ac_compiler_gnu=$ac_cv_c_compiler_gnu
3546
3547ac_ext=c
3548ac_cpp='$CPP $CPPFLAGS'
3549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551ac_compiler_gnu=$ac_cv_c_compiler_gnu
3552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3553$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3554if ${am_cv_prog_cc_c_o+:} false; then :
3555 $as_echo_n "(cached) " >&6
3556else
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558/* end confdefs.h. */
3559
3560int
3561main ()
3562{
3563
3564 ;
3565 return 0;
3566}
3567_ACEOF
3568 # Make sure it works both with $CC and with simple cc.
3569 # Following AC_PROG_CC_C_O, we do the test twice because some
3570 # compilers refuse to overwrite an existing .o file with -o,
3571 # though they will create one.
3572 am_cv_prog_cc_c_o=yes
3573 for am_i in 1 2; do
3574 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3575 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3576 ac_status=$?
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } \
3579 && test -f conftest2.$ac_objext; then
3580 : OK
3581 else
3582 am_cv_prog_cc_c_o=no
3583 break
3584 fi
3585 done
3586 rm -f core conftest*
3587 unset am_i
3588fi
3589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3590$as_echo "$am_cv_prog_cc_c_o" >&6; }
3591if test "$am_cv_prog_cc_c_o" != yes; then
3592 # Losing compiler, so override with the script.
3593 # FIXME: It is wrong to rewrite CC.
3594 # But if we don't then we get into trouble of one sort or another.
3595 # A longer-term fix would be to have automake use am__CC in this case,
3596 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3597 CC="$am_aux_dir/compile $CC"
3598fi
3599ac_ext=c
3600ac_cpp='$CPP $CPPFLAGS'
3601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603ac_compiler_gnu=$ac_cv_c_compiler_gnu
3604
3605DEPDIR="${am__leading_dot}deps"
3606
3607ac_config_commands="$ac_config_commands depfiles"
3608
3609
3610am_make=${MAKE-make}
3611cat > confinc << 'END'
3612am__doit:
3613 @echo this is the am__doit target
3614.PHONY: am__doit
3615END
3616# If we don't find an include directive, just comment out the code.
3617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3618$as_echo_n "checking for style of include used by $am_make... " >&6; }
3619am__include="#"
3620am__quote=
3621_am_result=none
3622# First try GNU make style include.
3623echo "include confinc" > confmf
3624# Ignore all kinds of additional output from 'make'.
3625case `$am_make -s -f confmf 2> /dev/null` in #(
3626*the\ am__doit\ target*)
3627 am__include=include
3628 am__quote=
3629 _am_result=GNU
3630 ;;
3631esac
3632# Now try BSD make style include.
3633if test "$am__include" = "#"; then
3634 echo '.include "confinc"' > confmf
3635 case `$am_make -s -f confmf 2> /dev/null` in #(
3636 *the\ am__doit\ target*)
3637 am__include=.include
3638 am__quote="\""
3639 _am_result=BSD
3640 ;;
3641 esac
3642fi
3643
3644
3645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3646$as_echo "$_am_result" >&6; }
3647rm -f confinc confmf
3648
3649# Check whether --enable-dependency-tracking was given.
3650if test "${enable_dependency_tracking+set}" = set; then :
3651 enableval=$enable_dependency_tracking;
3652fi
3653
3654if test "x$enable_dependency_tracking" != xno; then
3655 am_depcomp="$ac_aux_dir/depcomp"
3656 AMDEPBACKSLASH='\'
3657 am__nodep='_no'
3658fi
3659 if test "x$enable_dependency_tracking" != xno; then
3660 AMDEP_TRUE=
3661 AMDEP_FALSE='#'
3662else
3663 AMDEP_TRUE='#'
3664 AMDEP_FALSE=
3665fi
3666
3667
3668
3669depcc="$CC" am_compiler_list=
3670
3671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3672$as_echo_n "checking dependency style of $depcc... " >&6; }
3673if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3674 $as_echo_n "(cached) " >&6
3675else
3676 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3677 # We make a subdir and do the tests there. Otherwise we can end up
3678 # making bogus files that we don't know about and never remove. For
3679 # instance it was reported that on HP-UX the gcc test will end up
3680 # making a dummy file named 'D' -- because '-MD' means "put the output
3681 # in D".
3682 rm -rf conftest.dir
3683 mkdir conftest.dir
3684 # Copy depcomp to subdir because otherwise we won't find it if we're
3685 # using a relative directory.
3686 cp "$am_depcomp" conftest.dir
3687 cd conftest.dir
3688 # We will build objects and dependencies in a subdirectory because
3689 # it helps to detect inapplicable dependency modes. For instance
3690 # both Tru64's cc and ICC support -MD to output dependencies as a
3691 # side effect of compilation, but ICC will put the dependencies in
3692 # the current directory while Tru64 will put them in the object
3693 # directory.
3694 mkdir sub
3695
3696 am_cv_CC_dependencies_compiler_type=none
3697 if test "$am_compiler_list" = ""; then
3698 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3699 fi
3700 am__universal=false
3701 case " $depcc " in #(
3702 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3703 esac
3704
3705 for depmode in $am_compiler_list; do
3706 # Setup a source with many dependencies, because some compilers
3707 # like to wrap large dependency lists on column 80 (with \), and
3708 # we should not choose a depcomp mode which is confused by this.
3709 #
3710 # We need to recreate these files for each test, as the compiler may
3711 # overwrite some of them when testing with obscure command lines.
3712 # This happens at least with the AIX C compiler.
3713 : > sub/conftest.c
3714 for i in 1 2 3 4 5 6; do
3715 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3716 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3717 # Solaris 10 /bin/sh.
3718 echo '/* dummy */' > sub/conftst$i.h
3719 done
3720 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3721
3722 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3723 # mode. It turns out that the SunPro C++ compiler does not properly
3724 # handle '-M -o', and we need to detect this. Also, some Intel
3725 # versions had trouble with output in subdirs.
3726 am__obj=sub/conftest.${OBJEXT-o}
3727 am__minus_obj="-o $am__obj"
3728 case $depmode in
3729 gcc)
3730 # This depmode causes a compiler race in universal mode.
3731 test "$am__universal" = false || continue
3732 ;;
3733 nosideeffect)
3734 # After this tag, mechanisms are not by side-effect, so they'll
3735 # only be used when explicitly requested.
3736 if test "x$enable_dependency_tracking" = xyes; then
3737 continue
3738 else
3739 break
3740 fi
3741 ;;
3742 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3743 # This compiler won't grok '-c -o', but also, the minuso test has
3744 # not run yet. These depmodes are late enough in the game, and
3745 # so weak that their functioning should not be impacted.
3746 am__obj=conftest.${OBJEXT-o}
3747 am__minus_obj=
3748 ;;
3749 none) break ;;
3750 esac
3751 if depmode=$depmode \
3752 source=sub/conftest.c object=$am__obj \
3753 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3754 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3755 >/dev/null 2>conftest.err &&
3756 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3757 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3758 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3759 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3760 # icc doesn't choke on unknown options, it will just issue warnings
3761 # or remarks (even with -Werror). So we grep stderr for any message
3762 # that says an option was ignored or not supported.
3763 # When given -MP, icc 7.0 and 7.1 complain thusly:
3764 # icc: Command line warning: ignoring option '-M'; no argument required
3765 # The diagnosis changed in icc 8.0:
3766 # icc: Command line remark: option '-MP' not supported
3767 if (grep 'ignoring option' conftest.err ||
3768 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3769 am_cv_CC_dependencies_compiler_type=$depmode
3770 break
3771 fi
3772 fi
3773 done
3774
3775 cd ..
3776 rm -rf conftest.dir
3777else
3778 am_cv_CC_dependencies_compiler_type=none
3779fi
3780
3781fi
3782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3783$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3784CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3785
3786 if
3787 test "x$enable_dependency_tracking" != xno \
3788 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3789 am__fastdepCC_TRUE=
3790 am__fastdepCC_FALSE='#'
3791else
3792 am__fastdepCC_TRUE='#'
3793 am__fastdepCC_FALSE=
3794fi
3795
3796
3797
3798case `pwd` in
3799 *\ * | *\ *)
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3801$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3802esac
3803
3804
3805
3806macro_version='2.4.2'
3807macro_revision='1.3337'
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821ltmain="$ac_aux_dir/ltmain.sh"
3822
3823# Make sure we can run config.sub.
3824$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3825 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3826
3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3828$as_echo_n "checking build system type... " >&6; }
3829if ${ac_cv_build+:} false; then :
3830 $as_echo_n "(cached) " >&6
3831else
3832 ac_build_alias=$build_alias
3833test "x$ac_build_alias" = x &&
3834 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3835test "x$ac_build_alias" = x &&
3836 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3837ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3838 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3839
3840fi
3841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3842$as_echo "$ac_cv_build" >&6; }
3843case $ac_cv_build in
3844*-*-*) ;;
3845*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3846esac
3847build=$ac_cv_build
3848ac_save_IFS=$IFS; IFS='-'
3849set x $ac_cv_build
3850shift
3851build_cpu=$1
3852build_vendor=$2
3853shift; shift
3854# Remember, the first character of IFS is used to create $*,
3855# except with old shells:
3856build_os=$*
3857IFS=$ac_save_IFS
3858case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3859
3860
3861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3862$as_echo_n "checking host system type... " >&6; }
3863if ${ac_cv_host+:} false; then :
3864 $as_echo_n "(cached) " >&6
3865else
3866 if test "x$host_alias" = x; then
3867 ac_cv_host=$ac_cv_build
3868else
3869 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3870 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3871fi
3872
3873fi
3874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3875$as_echo "$ac_cv_host" >&6; }
3876case $ac_cv_host in
3877*-*-*) ;;
3878*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3879esac
3880host=$ac_cv_host
3881ac_save_IFS=$IFS; IFS='-'
3882set x $ac_cv_host
3883shift
3884host_cpu=$1
3885host_vendor=$2
3886shift; shift
3887# Remember, the first character of IFS is used to create $*,
3888# except with old shells:
3889host_os=$*
3890IFS=$ac_save_IFS
3891case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3892
3893
3894# Backslashify metacharacters that are still active within
3895# double-quoted strings.
3896sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3897
3898# Same as above, but do not quote variable references.
3899double_quote_subst='s/\(["`\\]\)/\\\1/g'
3900
3901# Sed substitution to delay expansion of an escaped shell variable in a
3902# double_quote_subst'ed string.
3903delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3904
3905# Sed substitution to delay expansion of an escaped single quote.
3906delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3907
3908# Sed substitution to avoid accidental globbing in evaled expressions
3909no_glob_subst='s/\*/\\\*/g'
3910
3911ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3912ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3913ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3914
3915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3916$as_echo_n "checking how to print strings... " >&6; }
3917# Test print first, because it will be a builtin if present.
3918if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3919 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3920 ECHO='print -r --'
3921elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3922 ECHO='printf %s\n'
3923else
3924 # Use this function as a fallback that always works.
3925 func_fallback_echo ()
3926 {
3927 eval 'cat <<_LTECHO_EOF
3928$1
3929_LTECHO_EOF'
3930 }
3931 ECHO='func_fallback_echo'
3932fi
3933
3934# func_echo_all arg...
3935# Invoke $ECHO with all args, space-separated.
3936func_echo_all ()
3937{
3938 $ECHO ""
3939}
3940
3941case "$ECHO" in
3942 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3943$as_echo "printf" >&6; } ;;
3944 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3945$as_echo "print -r" >&6; } ;;
3946 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3947$as_echo "cat" >&6; } ;;
3948esac
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3964$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3965if ${ac_cv_path_SED+:} false; then :
3966 $as_echo_n "(cached) " >&6
3967else
3968 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3969 for ac_i in 1 2 3 4 5 6 7; do
3970 ac_script="$ac_script$as_nl$ac_script"
3971 done
3972 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3973 { ac_script=; unset ac_script;}
3974 if test -z "$SED"; then
3975 ac_path_SED_found=false
3976 # Loop through the user's path and test for each of PROGNAME-LIST
3977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978for as_dir in $PATH
3979do
3980 IFS=$as_save_IFS
3981 test -z "$as_dir" && as_dir=.
3982 for ac_prog in sed gsed; do
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3985 as_fn_executable_p "$ac_path_SED" || continue
3986# Check for GNU ac_path_SED and select it if it is found.
3987 # Check for GNU $ac_path_SED
3988case `"$ac_path_SED" --version 2>&1` in
3989*GNU*)
3990 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3991*)
3992 ac_count=0
3993 $as_echo_n 0123456789 >"conftest.in"
3994 while :
3995 do
3996 cat "conftest.in" "conftest.in" >"conftest.tmp"
3997 mv "conftest.tmp" "conftest.in"
3998 cp "conftest.in" "conftest.nl"
3999 $as_echo '' >> "conftest.nl"
4000 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4001 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4002 as_fn_arith $ac_count + 1 && ac_count=$as_val
4003 if test $ac_count -gt ${ac_path_SED_max-0}; then
4004 # Best one so far, save it but keep looking for a better one
4005 ac_cv_path_SED="$ac_path_SED"
4006 ac_path_SED_max=$ac_count
4007 fi
4008 # 10*(2^10) chars as input seems more than enough
4009 test $ac_count -gt 10 && break
4010 done
4011 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4012esac
4013
4014 $ac_path_SED_found && break 3
4015 done
4016 done
4017 done
4018IFS=$as_save_IFS
4019 if test -z "$ac_cv_path_SED"; then
4020 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4021 fi
4022else
4023 ac_cv_path_SED=$SED
4024fi
4025
4026fi
4027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4028$as_echo "$ac_cv_path_SED" >&6; }
4029 SED="$ac_cv_path_SED"
4030 rm -f conftest.sed
4031
4032test -z "$SED" && SED=sed
4033Xsed="$SED -e 1s/^X//"
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4046$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4047if ${ac_cv_path_GREP+:} false; then :
4048 $as_echo_n "(cached) " >&6
4049else
4050 if test -z "$GREP"; then
4051 ac_path_GREP_found=false
4052 # Loop through the user's path and test for each of PROGNAME-LIST
4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4054for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4055do
4056 IFS=$as_save_IFS
4057 test -z "$as_dir" && as_dir=.
4058 for ac_prog in grep ggrep; do
4059 for ac_exec_ext in '' $ac_executable_extensions; do
4060 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4061 as_fn_executable_p "$ac_path_GREP" || continue
4062# Check for GNU ac_path_GREP and select it if it is found.
4063 # Check for GNU $ac_path_GREP
4064case `"$ac_path_GREP" --version 2>&1` in
4065*GNU*)
4066 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4067*)
4068 ac_count=0
4069 $as_echo_n 0123456789 >"conftest.in"
4070 while :
4071 do
4072 cat "conftest.in" "conftest.in" >"conftest.tmp"
4073 mv "conftest.tmp" "conftest.in"
4074 cp "conftest.in" "conftest.nl"
4075 $as_echo 'GREP' >> "conftest.nl"
4076 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4077 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4078 as_fn_arith $ac_count + 1 && ac_count=$as_val
4079 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4080 # Best one so far, save it but keep looking for a better one
4081 ac_cv_path_GREP="$ac_path_GREP"
4082 ac_path_GREP_max=$ac_count
4083 fi
4084 # 10*(2^10) chars as input seems more than enough
4085 test $ac_count -gt 10 && break
4086 done
4087 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4088esac
4089
4090 $ac_path_GREP_found && break 3
4091 done
4092 done
4093 done
4094IFS=$as_save_IFS
4095 if test -z "$ac_cv_path_GREP"; then
4096 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4097 fi
4098else
4099 ac_cv_path_GREP=$GREP
4100fi
4101
4102fi
4103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4104$as_echo "$ac_cv_path_GREP" >&6; }
4105 GREP="$ac_cv_path_GREP"
4106
4107
4108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4109$as_echo_n "checking for egrep... " >&6; }
4110if ${ac_cv_path_EGREP+:} false; then :
4111 $as_echo_n "(cached) " >&6
4112else
4113 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4114 then ac_cv_path_EGREP="$GREP -E"
4115 else
4116 if test -z "$EGREP"; then
4117 ac_path_EGREP_found=false
4118 # Loop through the user's path and test for each of PROGNAME-LIST
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4121do
4122 IFS=$as_save_IFS
4123 test -z "$as_dir" && as_dir=.
4124 for ac_prog in egrep; do
4125 for ac_exec_ext in '' $ac_executable_extensions; do
4126 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4127 as_fn_executable_p "$ac_path_EGREP" || continue
4128# Check for GNU ac_path_EGREP and select it if it is found.
4129 # Check for GNU $ac_path_EGREP
4130case `"$ac_path_EGREP" --version 2>&1` in
4131*GNU*)
4132 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4133*)
4134 ac_count=0
4135 $as_echo_n 0123456789 >"conftest.in"
4136 while :
4137 do
4138 cat "conftest.in" "conftest.in" >"conftest.tmp"
4139 mv "conftest.tmp" "conftest.in"
4140 cp "conftest.in" "conftest.nl"
4141 $as_echo 'EGREP' >> "conftest.nl"
4142 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4143 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4144 as_fn_arith $ac_count + 1 && ac_count=$as_val
4145 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4146 # Best one so far, save it but keep looking for a better one
4147 ac_cv_path_EGREP="$ac_path_EGREP"
4148 ac_path_EGREP_max=$ac_count
4149 fi
4150 # 10*(2^10) chars as input seems more than enough
4151 test $ac_count -gt 10 && break
4152 done
4153 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4154esac
4155
4156 $ac_path_EGREP_found && break 3
4157 done
4158 done
4159 done
4160IFS=$as_save_IFS
4161 if test -z "$ac_cv_path_EGREP"; then
4162 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4163 fi
4164else
4165 ac_cv_path_EGREP=$EGREP
4166fi
4167
4168 fi
4169fi
4170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4171$as_echo "$ac_cv_path_EGREP" >&6; }
4172 EGREP="$ac_cv_path_EGREP"
4173
4174
4175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4176$as_echo_n "checking for fgrep... " >&6; }
4177if ${ac_cv_path_FGREP+:} false; then :
4178 $as_echo_n "(cached) " >&6
4179else
4180 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4181 then ac_cv_path_FGREP="$GREP -F"
4182 else
4183 if test -z "$FGREP"; then
4184 ac_path_FGREP_found=false
4185 # Loop through the user's path and test for each of PROGNAME-LIST
4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4187for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4188do
4189 IFS=$as_save_IFS
4190 test -z "$as_dir" && as_dir=.
4191 for ac_prog in fgrep; do
4192 for ac_exec_ext in '' $ac_executable_extensions; do
4193 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4194 as_fn_executable_p "$ac_path_FGREP" || continue
4195# Check for GNU ac_path_FGREP and select it if it is found.
4196 # Check for GNU $ac_path_FGREP
4197case `"$ac_path_FGREP" --version 2>&1` in
4198*GNU*)
4199 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4200*)
4201 ac_count=0
4202 $as_echo_n 0123456789 >"conftest.in"
4203 while :
4204 do
4205 cat "conftest.in" "conftest.in" >"conftest.tmp"
4206 mv "conftest.tmp" "conftest.in"
4207 cp "conftest.in" "conftest.nl"
4208 $as_echo 'FGREP' >> "conftest.nl"
4209 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4210 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4211 as_fn_arith $ac_count + 1 && ac_count=$as_val
4212 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4213 # Best one so far, save it but keep looking for a better one
4214 ac_cv_path_FGREP="$ac_path_FGREP"
4215 ac_path_FGREP_max=$ac_count
4216 fi
4217 # 10*(2^10) chars as input seems more than enough
4218 test $ac_count -gt 10 && break
4219 done
4220 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4221esac
4222
4223 $ac_path_FGREP_found && break 3
4224 done
4225 done
4226 done
4227IFS=$as_save_IFS
4228 if test -z "$ac_cv_path_FGREP"; then
4229 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4230 fi
4231else
4232 ac_cv_path_FGREP=$FGREP
4233fi
4234
4235 fi
4236fi
4237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4238$as_echo "$ac_cv_path_FGREP" >&6; }
4239 FGREP="$ac_cv_path_FGREP"
4240
4241
4242test -z "$GREP" && GREP=grep
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262# Check whether --with-gnu-ld was given.
4263if test "${with_gnu_ld+set}" = set; then :
4264 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4265else
4266 with_gnu_ld=no
4267fi
4268
4269ac_prog=ld
4270if test "$GCC" = yes; then
4271 # Check if gcc -print-prog-name=ld gives a path.
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4273$as_echo_n "checking for ld used by $CC... " >&6; }
4274 case $host in
4275 *-*-mingw*)
4276 # gcc leaves a trailing carriage return which upsets mingw
4277 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4278 *)
4279 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4280 esac
4281 case $ac_prog in
4282 # Accept absolute paths.
4283 [\\/]* | ?:[\\/]*)
4284 re_direlt='/[^/][^/]*/\.\./'
4285 # Canonicalize the pathname of ld
4286 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4287 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4288 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4289 done
4290 test -z "$LD" && LD="$ac_prog"
4291 ;;
4292 "")
4293 # If it fails, then pretend we aren't using GCC.
4294 ac_prog=ld
4295 ;;
4296 *)
4297 # If it is relative, then search for the first ld in PATH.
4298 with_gnu_ld=unknown
4299 ;;
4300 esac
4301elif test "$with_gnu_ld" = yes; then
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4303$as_echo_n "checking for GNU ld... " >&6; }
4304else
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4306$as_echo_n "checking for non-GNU ld... " >&6; }
4307fi
4308if ${lt_cv_path_LD+:} false; then :
4309 $as_echo_n "(cached) " >&6
4310else
4311 if test -z "$LD"; then
4312 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4313 for ac_dir in $PATH; do
4314 IFS="$lt_save_ifs"
4315 test -z "$ac_dir" && ac_dir=.
4316 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4317 lt_cv_path_LD="$ac_dir/$ac_prog"
4318 # Check to see if the program is GNU ld. I'd rather use --version,
4319 # but apparently some variants of GNU ld only accept -v.
4320 # Break only if it was the GNU/non-GNU ld that we prefer.
4321 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4322 *GNU* | *'with BFD'*)
4323 test "$with_gnu_ld" != no && break
4324 ;;
4325 *)
4326 test "$with_gnu_ld" != yes && break
4327 ;;
4328 esac
4329 fi
4330 done
4331 IFS="$lt_save_ifs"
4332else
4333 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4334fi
4335fi
4336
4337LD="$lt_cv_path_LD"
4338if test -n "$LD"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4340$as_echo "$LD" >&6; }
4341else
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343$as_echo "no" >&6; }
4344fi
4345test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4347$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4348if ${lt_cv_prog_gnu_ld+:} false; then :
4349 $as_echo_n "(cached) " >&6
4350else
4351 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4352case `$LD -v 2>&1 </dev/null` in
4353*GNU* | *'with BFD'*)
4354 lt_cv_prog_gnu_ld=yes
4355 ;;
4356*)
4357 lt_cv_prog_gnu_ld=no
4358 ;;
4359esac
4360fi
4361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4362$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4363with_gnu_ld=$lt_cv_prog_gnu_ld
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4374$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4375if ${lt_cv_path_NM+:} false; then :
4376 $as_echo_n "(cached) " >&6
4377else
4378 if test -n "$NM"; then
4379 # Let the user override the test.
4380 lt_cv_path_NM="$NM"
4381else
4382 lt_nm_to_check="${ac_tool_prefix}nm"
4383 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4384 lt_nm_to_check="$lt_nm_to_check nm"
4385 fi
4386 for lt_tmp_nm in $lt_nm_to_check; do
4387 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4388 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4389 IFS="$lt_save_ifs"
4390 test -z "$ac_dir" && ac_dir=.
4391 tmp_nm="$ac_dir/$lt_tmp_nm"
4392 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4393 # Check to see if the nm accepts a BSD-compat flag.
4394 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4395 # nm: unknown option "B" ignored
4396 # Tru64's nm complains that /dev/null is an invalid object file
4397 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4398 */dev/null* | *'Invalid file or object type'*)
4399 lt_cv_path_NM="$tmp_nm -B"
4400 break
4401 ;;
4402 *)
4403 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4404 */dev/null*)
4405 lt_cv_path_NM="$tmp_nm -p"
4406 break
4407 ;;
4408 *)
4409 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4410 continue # so that we can try to find one that supports BSD flags
4411 ;;
4412 esac
4413 ;;
4414 esac
4415 fi
4416 done
4417 IFS="$lt_save_ifs"
4418 done
4419 : ${lt_cv_path_NM=no}
4420fi
4421fi
4422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4423$as_echo "$lt_cv_path_NM" >&6; }
4424if test "$lt_cv_path_NM" != "no"; then
4425 NM="$lt_cv_path_NM"
4426else
4427 # Didn't find any BSD compatible name lister, look for dumpbin.
4428 if test -n "$DUMPBIN"; then :
4429 # Let the user override the test.
4430 else
4431 if test -n "$ac_tool_prefix"; then
4432 for ac_prog in dumpbin "link -dump"
4433 do
4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4435set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437$as_echo_n "checking for $ac_word... " >&6; }
4438if ${ac_cv_prog_DUMPBIN+:} false; then :
4439 $as_echo_n "(cached) " >&6
4440else
4441 if test -n "$DUMPBIN"; then
4442 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4443else
4444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445for as_dir in $PATH
4446do
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 break 2
4454 fi
4455done
4456 done
4457IFS=$as_save_IFS
4458
4459fi
4460fi
4461DUMPBIN=$ac_cv_prog_DUMPBIN
4462if test -n "$DUMPBIN"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4464$as_echo "$DUMPBIN" >&6; }
4465else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467$as_echo "no" >&6; }
4468fi
4469
4470
4471 test -n "$DUMPBIN" && break
4472 done
4473fi
4474if test -z "$DUMPBIN"; then
4475 ac_ct_DUMPBIN=$DUMPBIN
4476 for ac_prog in dumpbin "link -dump"
4477do
4478 # Extract the first word of "$ac_prog", so it can be a program name with args.
4479set dummy $ac_prog; ac_word=$2
4480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481$as_echo_n "checking for $ac_word... " >&6; }
4482if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484else
4485 if test -n "$ac_ct_DUMPBIN"; then
4486 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4487else
4488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489for as_dir in $PATH
4490do
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4498 fi
4499done
4500 done
4501IFS=$as_save_IFS
4502
4503fi
4504fi
4505ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4506if test -n "$ac_ct_DUMPBIN"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4508$as_echo "$ac_ct_DUMPBIN" >&6; }
4509else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511$as_echo "no" >&6; }
4512fi
4513
4514
4515 test -n "$ac_ct_DUMPBIN" && break
4516done
4517
4518 if test "x$ac_ct_DUMPBIN" = x; then
4519 DUMPBIN=":"
4520 else
4521 case $cross_compiling:$ac_tool_warned in
4522yes:)
4523{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525ac_tool_warned=yes ;;
4526esac
4527 DUMPBIN=$ac_ct_DUMPBIN
4528 fi
4529fi
4530
4531 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4532 *COFF*)
4533 DUMPBIN="$DUMPBIN -symbols"
4534 ;;
4535 *)
4536 DUMPBIN=:
4537 ;;
4538 esac
4539 fi
4540
4541 if test "$DUMPBIN" != ":"; then
4542 NM="$DUMPBIN"
4543 fi
4544fi
4545test -z "$NM" && NM=nm
4546
4547
4548
4549
4550
4551
4552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4553$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4554if ${lt_cv_nm_interface+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556else
4557 lt_cv_nm_interface="BSD nm"
4558 echo "int some_variable = 0;" > conftest.$ac_ext
4559 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4560 (eval "$ac_compile" 2>conftest.err)
4561 cat conftest.err >&5
4562 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4563 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4564 cat conftest.err >&5
4565 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4566 cat conftest.out >&5
4567 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4568 lt_cv_nm_interface="MS dumpbin"
4569 fi
4570 rm -f conftest*
4571fi
4572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4573$as_echo "$lt_cv_nm_interface" >&6; }
4574
4575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4576$as_echo_n "checking whether ln -s works... " >&6; }
4577LN_S=$as_ln_s
4578if test "$LN_S" = "ln -s"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4580$as_echo "yes" >&6; }
4581else
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4583$as_echo "no, using $LN_S" >&6; }
4584fi
4585
4586# find the maximum length of command line arguments
4587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4588$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4589if ${lt_cv_sys_max_cmd_len+:} false; then :
4590 $as_echo_n "(cached) " >&6
4591else
4592 i=0
4593 teststring="ABCD"
4594
4595 case $build_os in
4596 msdosdjgpp*)
4597 # On DJGPP, this test can blow up pretty badly due to problems in libc
4598 # (any single argument exceeding 2000 bytes causes a buffer overrun
4599 # during glob expansion). Even if it were fixed, the result of this
4600 # check would be larger than it should be.
4601 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4602 ;;
4603
4604 gnu*)
4605 # Under GNU Hurd, this test is not required because there is
4606 # no limit to the length of command line arguments.
4607 # Libtool will interpret -1 as no limit whatsoever
4608 lt_cv_sys_max_cmd_len=-1;
4609 ;;
4610
4611 cygwin* | mingw* | cegcc*)
4612 # On Win9x/ME, this test blows up -- it succeeds, but takes
4613 # about 5 minutes as the teststring grows exponentially.
4614 # Worse, since 9x/ME are not pre-emptively multitasking,
4615 # you end up with a "frozen" computer, even though with patience
4616 # the test eventually succeeds (with a max line length of 256k).
4617 # Instead, let's just punt: use the minimum linelength reported by
4618 # all of the supported platforms: 8192 (on NT/2K/XP).
4619 lt_cv_sys_max_cmd_len=8192;
4620 ;;
4621
4622 mint*)
4623 # On MiNT this can take a long time and run out of memory.
4624 lt_cv_sys_max_cmd_len=8192;
4625 ;;
4626
4627 amigaos*)
4628 # On AmigaOS with pdksh, this test takes hours, literally.
4629 # So we just punt and use a minimum line length of 8192.
4630 lt_cv_sys_max_cmd_len=8192;
4631 ;;
4632
4633 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4634 # This has been around since 386BSD, at least. Likely further.
4635 if test -x /sbin/sysctl; then
4636 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4637 elif test -x /usr/sbin/sysctl; then
4638 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4639 else
4640 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4641 fi
4642 # And add a safety zone
4643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4644 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4645 ;;
4646
4647 interix*)
4648 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4649 lt_cv_sys_max_cmd_len=196608
4650 ;;
4651
4652 os2*)
4653 # The test takes a long time on OS/2.
4654 lt_cv_sys_max_cmd_len=8192
4655 ;;
4656
4657 osf*)
4658 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4659 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4660 # nice to cause kernel panics so lets avoid the loop below.
4661 # First set a reasonable default.
4662 lt_cv_sys_max_cmd_len=16384
4663 #
4664 if test -x /sbin/sysconfig; then
4665 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4666 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4667 esac
4668 fi
4669 ;;
4670 sco3.2v5*)
4671 lt_cv_sys_max_cmd_len=102400
4672 ;;
4673 sysv5* | sco5v6* | sysv4.2uw2*)
4674 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4675 if test -n "$kargmax"; then
4676 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4677 else
4678 lt_cv_sys_max_cmd_len=32768
4679 fi
4680 ;;
4681 *)
4682 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4683 if test -n "$lt_cv_sys_max_cmd_len" && \
4684 test undefined != "$lt_cv_sys_max_cmd_len"; then
4685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4687 else
4688 # Make teststring a little bigger before we do anything with it.
4689 # a 1K string should be a reasonable start.
4690 for i in 1 2 3 4 5 6 7 8 ; do
4691 teststring=$teststring$teststring
4692 done
4693 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4694 # If test is not a shell built-in, we'll probably end up computing a
4695 # maximum length that is only half of the actual maximum length, but
4696 # we can't tell.
4697 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4698 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4699 test $i != 17 # 1/2 MB should be enough
4700 do
4701 i=`expr $i + 1`
4702 teststring=$teststring$teststring
4703 done
4704 # Only check the string length outside the loop.
4705 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4706 teststring=
4707 # Add a significant safety factor because C++ compilers can tack on
4708 # massive amounts of additional arguments before passing them to the
4709 # linker. It appears as though 1/2 is a usable value.
4710 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4711 fi
4712 ;;
4713 esac
4714
4715fi
4716
4717if test -n $lt_cv_sys_max_cmd_len ; then
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4719$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4720else
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4722$as_echo "none" >&6; }
4723fi
4724max_cmd_len=$lt_cv_sys_max_cmd_len
4725
4726
4727
4728
4729
4730
4731: ${CP="cp -f"}
4732: ${MV="mv -f"}
4733: ${RM="rm -f"}
4734
4735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4736$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4737# Try some XSI features
4738xsi_shell=no
4739( _lt_dummy="a/b/c"
4740 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4741 = c,a/b,b/c, \
4742 && eval 'test $(( 1 + 1 )) -eq 2 \
4743 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4744 && xsi_shell=yes
4745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4746$as_echo "$xsi_shell" >&6; }
4747
4748
4749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4750$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4751lt_shell_append=no
4752( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4753 >/dev/null 2>&1 \
4754 && lt_shell_append=yes
4755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4756$as_echo "$lt_shell_append" >&6; }
4757
4758
4759if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4760 lt_unset=unset
4761else
4762 lt_unset=false
4763fi
4764
4765
4766
4767
4768
4769# test EBCDIC or ASCII
4770case `echo X|tr X '\101'` in
4771 A) # ASCII based system
4772 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4773 lt_SP2NL='tr \040 \012'
4774 lt_NL2SP='tr \015\012 \040\040'
4775 ;;
4776 *) # EBCDIC based system
4777 lt_SP2NL='tr \100 \n'
4778 lt_NL2SP='tr \r\n \100\100'
4779 ;;
4780esac
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4791$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4792if ${lt_cv_to_host_file_cmd+:} false; then :
4793 $as_echo_n "(cached) " >&6
4794else
4795 case $host in
4796 *-*-mingw* )
4797 case $build in
4798 *-*-mingw* ) # actually msys
4799 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4800 ;;
4801 *-*-cygwin* )
4802 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4803 ;;
4804 * ) # otherwise, assume *nix
4805 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4806 ;;
4807 esac
4808 ;;
4809 *-*-cygwin* )
4810 case $build in
4811 *-*-mingw* ) # actually msys
4812 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4813 ;;
4814 *-*-cygwin* )
4815 lt_cv_to_host_file_cmd=func_convert_file_noop
4816 ;;
4817 * ) # otherwise, assume *nix
4818 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4819 ;;
4820 esac
4821 ;;
4822 * ) # unhandled hosts (and "normal" native builds)
4823 lt_cv_to_host_file_cmd=func_convert_file_noop
4824 ;;
4825esac
4826
4827fi
4828
4829to_host_file_cmd=$lt_cv_to_host_file_cmd
4830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4831$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4832
4833
4834
4835
4836
4837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4838$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4839if ${lt_cv_to_tool_file_cmd+:} false; then :
4840 $as_echo_n "(cached) " >&6
4841else
4842 #assume ordinary cross tools, or native build.
4843lt_cv_to_tool_file_cmd=func_convert_file_noop
4844case $host in
4845 *-*-mingw* )
4846 case $build in
4847 *-*-mingw* ) # actually msys
4848 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4849 ;;
4850 esac
4851 ;;
4852esac
4853
4854fi
4855
4856to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4858$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4859
4860
4861
4862
4863
4864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4865$as_echo_n "checking for $LD option to reload object files... " >&6; }
4866if ${lt_cv_ld_reload_flag+:} false; then :
4867 $as_echo_n "(cached) " >&6
4868else
4869 lt_cv_ld_reload_flag='-r'
4870fi
4871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4872$as_echo "$lt_cv_ld_reload_flag" >&6; }
4873reload_flag=$lt_cv_ld_reload_flag
4874case $reload_flag in
4875"" | " "*) ;;
4876*) reload_flag=" $reload_flag" ;;
4877esac
4878reload_cmds='$LD$reload_flag -o $output$reload_objs'
4879case $host_os in
4880 cygwin* | mingw* | pw32* | cegcc*)
4881 if test "$GCC" != yes; then
4882 reload_cmds=false
4883 fi
4884 ;;
4885 darwin*)
4886 if test "$GCC" = yes; then
4887 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4888 else
4889 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4890 fi
4891 ;;
4892esac
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902if test -n "$ac_tool_prefix"; then
4903 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4904set dummy ${ac_tool_prefix}objdump; ac_word=$2
4905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906$as_echo_n "checking for $ac_word... " >&6; }
4907if ${ac_cv_prog_OBJDUMP+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909else
4910 if test -n "$OBJDUMP"; then
4911 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4912else
4913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914for as_dir in $PATH
4915do
4916 IFS=$as_save_IFS
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 break 2
4923 fi
4924done
4925 done
4926IFS=$as_save_IFS
4927
4928fi
4929fi
4930OBJDUMP=$ac_cv_prog_OBJDUMP
4931if test -n "$OBJDUMP"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4933$as_echo "$OBJDUMP" >&6; }
4934else
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936$as_echo "no" >&6; }
4937fi
4938
4939
4940fi
4941if test -z "$ac_cv_prog_OBJDUMP"; then
4942 ac_ct_OBJDUMP=$OBJDUMP
4943 # Extract the first word of "objdump", so it can be a program name with args.
4944set dummy objdump; ac_word=$2
4945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946$as_echo_n "checking for $ac_word... " >&6; }
4947if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949else
4950 if test -n "$ac_ct_OBJDUMP"; then
4951 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4952else
4953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954for as_dir in $PATH
4955do
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4963 fi
4964done
4965 done
4966IFS=$as_save_IFS
4967
4968fi
4969fi
4970ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4971if test -n "$ac_ct_OBJDUMP"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4973$as_echo "$ac_ct_OBJDUMP" >&6; }
4974else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976$as_echo "no" >&6; }
4977fi
4978
4979 if test "x$ac_ct_OBJDUMP" = x; then
4980 OBJDUMP="false"
4981 else
4982 case $cross_compiling:$ac_tool_warned in
4983yes:)
4984{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4985$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4986ac_tool_warned=yes ;;
4987esac
4988 OBJDUMP=$ac_ct_OBJDUMP
4989 fi
4990else
4991 OBJDUMP="$ac_cv_prog_OBJDUMP"
4992fi
4993
4994test -z "$OBJDUMP" && OBJDUMP=objdump
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5005$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5006if ${lt_cv_deplibs_check_method+:} false; then :
5007 $as_echo_n "(cached) " >&6
5008else
5009 lt_cv_file_magic_cmd='$MAGIC_CMD'
5010lt_cv_file_magic_test_file=
5011lt_cv_deplibs_check_method='unknown'
5012# Need to set the preceding variable on all platforms that support
5013# interlibrary dependencies.
5014# 'none' -- dependencies not supported.
5015# `unknown' -- same as none, but documents that we really don't know.
5016# 'pass_all' -- all dependencies passed with no checks.
5017# 'test_compile' -- check by making test program.
5018# 'file_magic [[regex]]' -- check by looking for files in library path
5019# which responds to the $file_magic_cmd with a given extended regex.
5020# If you have `file' or equivalent on your system and you're not sure
5021# whether `pass_all' will *always* work, you probably want this one.
5022
5023case $host_os in
5024aix[4-9]*)
5025 lt_cv_deplibs_check_method=pass_all
5026 ;;
5027
5028beos*)
5029 lt_cv_deplibs_check_method=pass_all
5030 ;;
5031
5032bsdi[45]*)
5033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5034 lt_cv_file_magic_cmd='/usr/bin/file -L'
5035 lt_cv_file_magic_test_file=/shlib/libc.so
5036 ;;
5037
5038cygwin*)
5039 # func_win32_libid is a shell function defined in ltmain.sh
5040 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5041 lt_cv_file_magic_cmd='func_win32_libid'
5042 ;;
5043
5044mingw* | pw32*)
5045 # Base MSYS/MinGW do not provide the 'file' command needed by
5046 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5047 # unless we find 'file', for example because we are cross-compiling.
5048 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5049 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5050 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5051 lt_cv_file_magic_cmd='func_win32_libid'
5052 else
5053 # Keep this pattern in sync with the one in func_win32_libid.
5054 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5055 lt_cv_file_magic_cmd='$OBJDUMP -f'
5056 fi
5057 ;;
5058
5059cegcc*)
5060 # use the weaker test based on 'objdump'. See mingw*.
5061 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5062 lt_cv_file_magic_cmd='$OBJDUMP -f'
5063 ;;
5064
5065darwin* | rhapsody*)
5066 lt_cv_deplibs_check_method=pass_all
5067 ;;
5068
5069freebsd* | dragonfly*)
5070 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5071 case $host_cpu in
5072 i*86 )
5073 # Not sure whether the presence of OpenBSD here was a mistake.
5074 # Let's accept both of them until this is cleared up.
5075 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5076 lt_cv_file_magic_cmd=/usr/bin/file
5077 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5078 ;;
5079 esac
5080 else
5081 lt_cv_deplibs_check_method=pass_all
5082 fi
5083 ;;
5084
5085haiku*)
5086 lt_cv_deplibs_check_method=pass_all
5087 ;;
5088
5089hpux10.20* | hpux11*)
5090 lt_cv_file_magic_cmd=/usr/bin/file
5091 case $host_cpu in
5092 ia64*)
5093 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5094 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5095 ;;
5096 hppa*64*)
5097 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]'
5098 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5099 ;;
5100 *)
5101 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5102 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5103 ;;
5104 esac
5105 ;;
5106
5107interix[3-9]*)
5108 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5109 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5110 ;;
5111
5112irix5* | irix6* | nonstopux*)
5113 case $LD in
5114 *-32|*"-32 ") libmagic=32-bit;;
5115 *-n32|*"-n32 ") libmagic=N32;;
5116 *-64|*"-64 ") libmagic=64-bit;;
5117 *) libmagic=never-match;;
5118 esac
5119 lt_cv_deplibs_check_method=pass_all
5120 ;;
5121
5122# This must be glibc/ELF.
5123linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5124 lt_cv_deplibs_check_method=pass_all
5125 ;;
5126
5127netbsd* | netbsdelf*-gnu)
5128 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5129 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5130 else
5131 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5132 fi
5133 ;;
5134
5135newos6*)
5136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5137 lt_cv_file_magic_cmd=/usr/bin/file
5138 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5139 ;;
5140
5141*nto* | *qnx*)
5142 lt_cv_deplibs_check_method=pass_all
5143 ;;
5144
5145openbsd*)
5146 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5147 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5148 else
5149 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5150 fi
5151 ;;
5152
5153osf3* | osf4* | osf5*)
5154 lt_cv_deplibs_check_method=pass_all
5155 ;;
5156
5157rdos*)
5158 lt_cv_deplibs_check_method=pass_all
5159 ;;
5160
5161solaris*)
5162 lt_cv_deplibs_check_method=pass_all
5163 ;;
5164
5165sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5166 lt_cv_deplibs_check_method=pass_all
5167 ;;
5168
5169sysv4 | sysv4.3*)
5170 case $host_vendor in
5171 motorola)
5172 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]'
5173 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5174 ;;
5175 ncr)
5176 lt_cv_deplibs_check_method=pass_all
5177 ;;
5178 sequent)
5179 lt_cv_file_magic_cmd='/bin/file'
5180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5181 ;;
5182 sni)
5183 lt_cv_file_magic_cmd='/bin/file'
5184 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5185 lt_cv_file_magic_test_file=/lib/libc.so
5186 ;;
5187 siemens)
5188 lt_cv_deplibs_check_method=pass_all
5189 ;;
5190 pc)
5191 lt_cv_deplibs_check_method=pass_all
5192 ;;
5193 esac
5194 ;;
5195
5196tpf*)
5197 lt_cv_deplibs_check_method=pass_all
5198 ;;
5199esac
5200
5201fi
5202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5203$as_echo "$lt_cv_deplibs_check_method" >&6; }
5204
5205file_magic_glob=
5206want_nocaseglob=no
5207if test "$build" = "$host"; then
5208 case $host_os in
5209 mingw* | pw32*)
5210 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5211 want_nocaseglob=yes
5212 else
5213 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5214 fi
5215 ;;
5216 esac
5217fi
5218
5219file_magic_cmd=$lt_cv_file_magic_cmd
5220deplibs_check_method=$lt_cv_deplibs_check_method
5221test -z "$deplibs_check_method" && deplibs_check_method=unknown
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244if test -n "$ac_tool_prefix"; then
5245 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5246set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248$as_echo_n "checking for $ac_word... " >&6; }
5249if ${ac_cv_prog_DLLTOOL+:} false; then :
5250 $as_echo_n "(cached) " >&6
5251else
5252 if test -n "$DLLTOOL"; then
5253 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5254else
5255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256for as_dir in $PATH
5257do
5258 IFS=$as_save_IFS
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 break 2
5265 fi
5266done
5267 done
5268IFS=$as_save_IFS
5269
5270fi
5271fi
5272DLLTOOL=$ac_cv_prog_DLLTOOL
5273if test -n "$DLLTOOL"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5275$as_echo "$DLLTOOL" >&6; }
5276else
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278$as_echo "no" >&6; }
5279fi
5280
5281
5282fi
5283if test -z "$ac_cv_prog_DLLTOOL"; then
5284 ac_ct_DLLTOOL=$DLLTOOL
5285 # Extract the first word of "dlltool", so it can be a program name with args.
5286set dummy dlltool; ac_word=$2
5287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288$as_echo_n "checking for $ac_word... " >&6; }
5289if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5290 $as_echo_n "(cached) " >&6
5291else
5292 if test -n "$ac_ct_DLLTOOL"; then
5293 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5294else
5295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5296for as_dir in $PATH
5297do
5298 IFS=$as_save_IFS
5299 test -z "$as_dir" && as_dir=.
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5302 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 break 2
5305 fi
5306done
5307 done
5308IFS=$as_save_IFS
5309
5310fi
5311fi
5312ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5313if test -n "$ac_ct_DLLTOOL"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5315$as_echo "$ac_ct_DLLTOOL" >&6; }
5316else
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318$as_echo "no" >&6; }
5319fi
5320
5321 if test "x$ac_ct_DLLTOOL" = x; then
5322 DLLTOOL="false"
5323 else
5324 case $cross_compiling:$ac_tool_warned in
5325yes:)
5326{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5327$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5328ac_tool_warned=yes ;;
5329esac
5330 DLLTOOL=$ac_ct_DLLTOOL
5331 fi
5332else
5333 DLLTOOL="$ac_cv_prog_DLLTOOL"
5334fi
5335
5336test -z "$DLLTOOL" && DLLTOOL=dlltool
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5348$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5349if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5350 $as_echo_n "(cached) " >&6
5351else
5352 lt_cv_sharedlib_from_linklib_cmd='unknown'
5353
5354case $host_os in
5355cygwin* | mingw* | pw32* | cegcc*)
5356 # two different shell functions defined in ltmain.sh
5357 # decide which to use based on capabilities of $DLLTOOL
5358 case `$DLLTOOL --help 2>&1` in
5359 *--identify-strict*)
5360 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5361 ;;
5362 *)
5363 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5364 ;;
5365 esac
5366 ;;
5367*)
5368 # fallback: assume linklib IS sharedlib
5369 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5370 ;;
5371esac
5372
5373fi
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5375$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5376sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5377test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5378
5379
5380
5381
5382
5383
5384
5385
5386if test -n "$ac_tool_prefix"; then
5387 for ac_prog in ar
5388 do
5389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5390set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392$as_echo_n "checking for $ac_word... " >&6; }
5393if ${ac_cv_prog_AR+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395else
5396 if test -n "$AR"; then
5397 ac_cv_prog_AR="$AR" # Let the user override the test.
5398else
5399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400for as_dir in $PATH
5401do
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5409 fi
5410done
5411 done
5412IFS=$as_save_IFS
5413
5414fi
5415fi
5416AR=$ac_cv_prog_AR
5417if test -n "$AR"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5419$as_echo "$AR" >&6; }
5420else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422$as_echo "no" >&6; }
5423fi
5424
5425
5426 test -n "$AR" && break
5427 done
5428fi
5429if test -z "$AR"; then
5430 ac_ct_AR=$AR
5431 for ac_prog in ar
5432do
5433 # Extract the first word of "$ac_prog", so it can be a program name with args.
5434set dummy $ac_prog; ac_word=$2
5435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436$as_echo_n "checking for $ac_word... " >&6; }
5437if ${ac_cv_prog_ac_ct_AR+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439else
5440 if test -n "$ac_ct_AR"; then
5441 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5442else
5443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444for as_dir in $PATH
5445do
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_ac_ct_AR="$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5453 fi
5454done
5455 done
5456IFS=$as_save_IFS
5457
5458fi
5459fi
5460ac_ct_AR=$ac_cv_prog_ac_ct_AR
5461if test -n "$ac_ct_AR"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5463$as_echo "$ac_ct_AR" >&6; }
5464else
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466$as_echo "no" >&6; }
5467fi
5468
5469
5470 test -n "$ac_ct_AR" && break
5471done
5472
5473 if test "x$ac_ct_AR" = x; then
5474 AR="false"
5475 else
5476 case $cross_compiling:$ac_tool_warned in
5477yes:)
5478{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480ac_tool_warned=yes ;;
5481esac
5482 AR=$ac_ct_AR
5483 fi
5484fi
5485
5486: ${AR=ar}
5487: ${AR_FLAGS=cru}
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5500$as_echo_n "checking for archiver @FILE support... " >&6; }
5501if ${lt_cv_ar_at_file+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503else
5504 lt_cv_ar_at_file=no
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506/* end confdefs.h. */
5507
5508int
5509main ()
5510{
5511
5512 ;
5513 return 0;
5514}
5515_ACEOF
5516if ac_fn_c_try_compile "$LINENO"; then :
5517 echo conftest.$ac_objext > conftest.lst
5518 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5519 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5520 (eval $lt_ar_try) 2>&5
5521 ac_status=$?
5522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5523 test $ac_status = 0; }
5524 if test "$ac_status" -eq 0; then
5525 # Ensure the archiver fails upon bogus file names.
5526 rm -f conftest.$ac_objext libconftest.a
5527 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5528 (eval $lt_ar_try) 2>&5
5529 ac_status=$?
5530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5531 test $ac_status = 0; }
5532 if test "$ac_status" -ne 0; then
5533 lt_cv_ar_at_file=@
5534 fi
5535 fi
5536 rm -f conftest.* libconftest.a
5537
5538fi
5539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5540
5541fi
5542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5543$as_echo "$lt_cv_ar_at_file" >&6; }
5544
5545if test "x$lt_cv_ar_at_file" = xno; then
5546 archiver_list_spec=
5547else
5548 archiver_list_spec=$lt_cv_ar_at_file
5549fi
5550
5551
5552
5553
5554
5555
5556
5557if test -n "$ac_tool_prefix"; then
5558 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5559set dummy ${ac_tool_prefix}strip; ac_word=$2
5560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561$as_echo_n "checking for $ac_word... " >&6; }
5562if ${ac_cv_prog_STRIP+:} false; then :
5563 $as_echo_n "(cached) " >&6
5564else
5565 if test -n "$STRIP"; then
5566 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5567else
5568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569for as_dir in $PATH
5570do
5571 IFS=$as_save_IFS
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 break 2
5578 fi
5579done
5580 done
5581IFS=$as_save_IFS
5582
5583fi
5584fi
5585STRIP=$ac_cv_prog_STRIP
5586if test -n "$STRIP"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5588$as_echo "$STRIP" >&6; }
5589else
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591$as_echo "no" >&6; }
5592fi
5593
5594
5595fi
5596if test -z "$ac_cv_prog_STRIP"; then
5597 ac_ct_STRIP=$STRIP
5598 # Extract the first word of "strip", so it can be a program name with args.
5599set dummy strip; ac_word=$2
5600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601$as_echo_n "checking for $ac_word... " >&6; }
5602if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5603 $as_echo_n "(cached) " >&6
5604else
5605 if test -n "$ac_ct_STRIP"; then
5606 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5607else
5608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609for as_dir in $PATH
5610do
5611 IFS=$as_save_IFS
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_ac_ct_STRIP="strip"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 break 2
5618 fi
5619done
5620 done
5621IFS=$as_save_IFS
5622
5623fi
5624fi
5625ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5626if test -n "$ac_ct_STRIP"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5628$as_echo "$ac_ct_STRIP" >&6; }
5629else
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631$as_echo "no" >&6; }
5632fi
5633
5634 if test "x$ac_ct_STRIP" = x; then
5635 STRIP=":"
5636 else
5637 case $cross_compiling:$ac_tool_warned in
5638yes:)
5639{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5640$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5641ac_tool_warned=yes ;;
5642esac
5643 STRIP=$ac_ct_STRIP
5644 fi
5645else
5646 STRIP="$ac_cv_prog_STRIP"
5647fi
5648
5649test -z "$STRIP" && STRIP=:
5650
5651
5652
5653
5654
5655
5656if test -n "$ac_tool_prefix"; then
5657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5658set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663else
5664 if test -n "$RANLIB"; then
5665 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
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
5684RANLIB=$ac_cv_prog_RANLIB
5685if test -n "$RANLIB"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5687$as_echo "$RANLIB" >&6; }
5688else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690$as_echo "no" >&6; }
5691fi
5692
5693
5694fi
5695if test -z "$ac_cv_prog_RANLIB"; then
5696 ac_ct_RANLIB=$RANLIB
5697 # Extract the first word of "ranlib", so it can be a program name with args.
5698set dummy ranlib; ac_word=$2
5699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700$as_echo_n "checking for $ac_word... " >&6; }
5701if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703else
5704 if test -n "$ac_ct_RANLIB"; then
5705 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5706else
5707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5708for as_dir in $PATH
5709do
5710 IFS=$as_save_IFS
5711 test -z "$as_dir" && as_dir=.
5712 for ac_exec_ext in '' $ac_executable_extensions; do
5713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_ac_ct_RANLIB="ranlib"
5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 break 2
5717 fi
5718done
5719 done
5720IFS=$as_save_IFS
5721
5722fi
5723fi
5724ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5725if test -n "$ac_ct_RANLIB"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5727$as_echo "$ac_ct_RANLIB" >&6; }
5728else
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730$as_echo "no" >&6; }
5731fi
5732
5733 if test "x$ac_ct_RANLIB" = x; then
5734 RANLIB=":"
5735 else
5736 case $cross_compiling:$ac_tool_warned in
5737yes:)
5738{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5739$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5740ac_tool_warned=yes ;;
5741esac
5742 RANLIB=$ac_ct_RANLIB
5743 fi
5744else
5745 RANLIB="$ac_cv_prog_RANLIB"
5746fi
5747
5748test -z "$RANLIB" && RANLIB=:
5749
5750
5751
5752
5753
5754
5755# Determine commands to create old-style static archives.
5756old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5757old_postinstall_cmds='chmod 644 $oldlib'
5758old_postuninstall_cmds=
5759
5760if test -n "$RANLIB"; then
5761 case $host_os in
5762 openbsd*)
5763 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5764 ;;
5765 *)
5766 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5767 ;;
5768 esac
5769 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5770fi
5771
5772case $host_os in
5773 darwin*)
5774 lock_old_archive_extraction=yes ;;
5775 *)
5776 lock_old_archive_extraction=no ;;
5777esac
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817# If no C compiler was specified, use CC.
5818LTCC=${LTCC-"$CC"}
5819
5820# If no C compiler flags were specified, use CFLAGS.
5821LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5822
5823# Allow CC to be a program name with arguments.
5824compiler=$CC
5825
5826
5827# Check for command to grab the raw symbol name followed by C symbol from nm.
5828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5829$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5830if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5831 $as_echo_n "(cached) " >&6
5832else
5833
5834# These are sane defaults that work on at least a few old systems.
5835# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5836
5837# Character class describing NM global symbol codes.
5838symcode='[BCDEGRST]'
5839
5840# Regexp to match symbols that can be accessed directly from C.
5841sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5842
5843# Define system-specific variables.
5844case $host_os in
5845aix*)
5846 symcode='[BCDT]'
5847 ;;
5848cygwin* | mingw* | pw32* | cegcc*)
5849 symcode='[ABCDGISTW]'
5850 ;;
5851hpux*)
5852 if test "$host_cpu" = ia64; then
5853 symcode='[ABCDEGRST]'
5854 fi
5855 ;;
5856irix* | nonstopux*)
5857 symcode='[BCDEGRST]'
5858 ;;
5859osf*)
5860 symcode='[BCDEGQRST]'
5861 ;;
5862solaris*)
5863 symcode='[BDRT]'
5864 ;;
5865sco3.2v5*)
5866 symcode='[DT]'
5867 ;;
5868sysv4.2uw2*)
5869 symcode='[DT]'
5870 ;;
5871sysv5* | sco5v6* | unixware* | OpenUNIX*)
5872 symcode='[ABDT]'
5873 ;;
5874sysv4)
5875 symcode='[DFNSTU]'
5876 ;;
5877esac
5878
5879# If we're using GNU nm, then use its standard symbol codes.
5880case `$NM -V 2>&1` in
5881*GNU* | *'with BFD'*)
5882 symcode='[ABCDGIRSTW]' ;;
5883esac
5884
5885# Transform an extracted symbol line into a proper C declaration.
5886# Some systems (esp. on ia64) link data and code symbols differently,
5887# so use this general approach.
5888lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5889
5890# Transform an extracted symbol line into symbol name and symbol address
5891lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5892lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5893
5894# Handle CRLF in mingw tool chain
5895opt_cr=
5896case $build_os in
5897mingw*)
5898 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5899 ;;
5900esac
5901
5902# Try without a prefix underscore, then with it.
5903for ac_symprfx in "" "_"; do
5904
5905 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5906 symxfrm="\\1 $ac_symprfx\\2 \\2"
5907
5908 # Write the raw and C identifiers.
5909 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5910 # Fake it for dumpbin and say T for any non-static function
5911 # and D for any global variable.
5912 # Also find C++ and __fastcall symbols from MSVC++,
5913 # which start with @ or ?.
5914 lt_cv_sys_global_symbol_pipe="$AWK '"\
5915" {last_section=section; section=\$ 3};"\
5916" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5917" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5918" \$ 0!~/External *\|/{next};"\
5919" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5920" {if(hide[section]) next};"\
5921" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5922" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5923" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5924" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5925" ' prfx=^$ac_symprfx"
5926 else
5927 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5928 fi
5929 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5930
5931 # Check to see that the pipe works correctly.
5932 pipe_works=no
5933
5934 rm -f conftest*
5935 cat > conftest.$ac_ext <<_LT_EOF
5936#ifdef __cplusplus
5937extern "C" {
5938#endif
5939char nm_test_var;
5940void nm_test_func(void);
5941void nm_test_func(void){}
5942#ifdef __cplusplus
5943}
5944#endif
5945int main(){nm_test_var='a';nm_test_func();return(0);}
5946_LT_EOF
5947
5948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5949 (eval $ac_compile) 2>&5
5950 ac_status=$?
5951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5952 test $ac_status = 0; }; then
5953 # Now try to grab the symbols.
5954 nlist=conftest.nm
5955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5956 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5957 ac_status=$?
5958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5959 test $ac_status = 0; } && test -s "$nlist"; then
5960 # Try sorting and uniquifying the output.
5961 if sort "$nlist" | uniq > "$nlist"T; then
5962 mv -f "$nlist"T "$nlist"
5963 else
5964 rm -f "$nlist"T
5965 fi
5966
5967 # Make sure that we snagged all the symbols we need.
5968 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5969 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5970 cat <<_LT_EOF > conftest.$ac_ext
5971/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5972#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5973/* DATA imports from DLLs on WIN32 con't be const, because runtime
5974 relocations are performed -- see ld's documentation on pseudo-relocs. */
5975# define LT_DLSYM_CONST
5976#elif defined(__osf__)
5977/* This system does not cope well with relocations in const data. */
5978# define LT_DLSYM_CONST
5979#else
5980# define LT_DLSYM_CONST const
5981#endif
5982
5983#ifdef __cplusplus
5984extern "C" {
5985#endif
5986
5987_LT_EOF
5988 # Now generate the symbol file.
5989 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5990
5991 cat <<_LT_EOF >> conftest.$ac_ext
5992
5993/* The mapping between symbol names and symbols. */
5994LT_DLSYM_CONST struct {
5995 const char *name;
5996 void *address;
5997}
5998lt__PROGRAM__LTX_preloaded_symbols[] =
5999{
6000 { "@PROGRAM@", (void *) 0 },
6001_LT_EOF
6002 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6003 cat <<\_LT_EOF >> conftest.$ac_ext
6004 {0, (void *) 0}
6005};
6006
6007/* This works around a problem in FreeBSD linker */
6008#ifdef FREEBSD_WORKAROUND
6009static const void *lt_preloaded_setup() {
6010 return lt__PROGRAM__LTX_preloaded_symbols;
6011}
6012#endif
6013
6014#ifdef __cplusplus
6015}
6016#endif
6017_LT_EOF
6018 # Now try linking the two files.
6019 mv conftest.$ac_objext conftstm.$ac_objext
6020 lt_globsym_save_LIBS=$LIBS
6021 lt_globsym_save_CFLAGS=$CFLAGS
6022 LIBS="conftstm.$ac_objext"
6023 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6025 (eval $ac_link) 2>&5
6026 ac_status=$?
6027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6028 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6029 pipe_works=yes
6030 fi
6031 LIBS=$lt_globsym_save_LIBS
6032 CFLAGS=$lt_globsym_save_CFLAGS
6033 else
6034 echo "cannot find nm_test_func in $nlist" >&5
6035 fi
6036 else
6037 echo "cannot find nm_test_var in $nlist" >&5
6038 fi
6039 else
6040 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6041 fi
6042 else
6043 echo "$progname: failed program was:" >&5
6044 cat conftest.$ac_ext >&5
6045 fi
6046 rm -rf conftest* conftst*
6047
6048 # Do not use the global_symbol_pipe unless it works.
6049 if test "$pipe_works" = yes; then
6050 break
6051 else
6052 lt_cv_sys_global_symbol_pipe=
6053 fi
6054done
6055
6056fi
6057
6058if test -z "$lt_cv_sys_global_symbol_pipe"; then
6059 lt_cv_sys_global_symbol_to_cdecl=
6060fi
6061if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6063$as_echo "failed" >&6; }
6064else
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6066$as_echo "ok" >&6; }
6067fi
6068
6069# Response file support.
6070if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6071 nm_file_list_spec='@'
6072elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6073 nm_file_list_spec='@'
6074fi
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6103$as_echo_n "checking for sysroot... " >&6; }
6104
6105# Check whether --with-sysroot was given.
6106if test "${with_sysroot+set}" = set; then :
6107 withval=$with_sysroot;
6108else
6109 with_sysroot=no
6110fi
6111
6112
6113lt_sysroot=
6114case ${with_sysroot} in #(
6115 yes)
6116 if test "$GCC" = yes; then
6117 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6118 fi
6119 ;; #(
6120 /*)
6121 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6122 ;; #(
6123 no|'')
6124 ;; #(
6125 *)
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6127$as_echo "${with_sysroot}" >&6; }
6128 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6129 ;;
6130esac
6131
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6133$as_echo "${lt_sysroot:-no}" >&6; }
6134
6135
6136
6137
6138
6139# Check whether --enable-libtool-lock was given.
6140if test "${enable_libtool_lock+set}" = set; then :
6141 enableval=$enable_libtool_lock;
6142fi
6143
6144test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6145
6146# Some flags need to be propagated to the compiler or linker for good
6147# libtool support.
6148case $host in
6149ia64-*-hpux*)
6150 # Find out which ABI we are using.
6151 echo 'int i;' > conftest.$ac_ext
6152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6153 (eval $ac_compile) 2>&5
6154 ac_status=$?
6155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6156 test $ac_status = 0; }; then
6157 case `/usr/bin/file conftest.$ac_objext` in
6158 *ELF-32*)
6159 HPUX_IA64_MODE="32"
6160 ;;
6161 *ELF-64*)
6162 HPUX_IA64_MODE="64"
6163 ;;
6164 esac
6165 fi
6166 rm -rf conftest*
6167 ;;
6168*-*-irix6*)
6169 # Find out which ABI we are using.
6170 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6172 (eval $ac_compile) 2>&5
6173 ac_status=$?
6174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6175 test $ac_status = 0; }; then
6176 if test "$lt_cv_prog_gnu_ld" = yes; then
6177 case `/usr/bin/file conftest.$ac_objext` in
6178 *32-bit*)
6179 LD="${LD-ld} -melf32bsmip"
6180 ;;
6181 *N32*)
6182 LD="${LD-ld} -melf32bmipn32"
6183 ;;
6184 *64-bit*)
6185 LD="${LD-ld} -melf64bmip"
6186 ;;
6187 esac
6188 else
6189 case `/usr/bin/file conftest.$ac_objext` in
6190 *32-bit*)
6191 LD="${LD-ld} -32"
6192 ;;
6193 *N32*)
6194 LD="${LD-ld} -n32"
6195 ;;
6196 *64-bit*)
6197 LD="${LD-ld} -64"
6198 ;;
6199 esac
6200 fi
6201 fi
6202 rm -rf conftest*
6203 ;;
6204
6205x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6206s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6207 # Find out which ABI we are using.
6208 echo 'int i;' > conftest.$ac_ext
6209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6210 (eval $ac_compile) 2>&5
6211 ac_status=$?
6212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6213 test $ac_status = 0; }; then
6214 case `/usr/bin/file conftest.o` in
6215 *32-bit*)
6216 case $host in
6217 x86_64-*kfreebsd*-gnu)
6218 LD="${LD-ld} -m elf_i386_fbsd"
6219 ;;
6220 x86_64-*linux*)
6221 case `/usr/bin/file conftest.o` in
6222 *x86-64*)
6223 LD="${LD-ld} -m elf32_x86_64"
6224 ;;
6225 *)
6226 LD="${LD-ld} -m elf_i386"
6227 ;;
6228 esac
6229 ;;
6230 powerpc64le-*)
6231 LD="${LD-ld} -m elf32lppclinux"
6232 ;;
6233 powerpc64-*)
6234 LD="${LD-ld} -m elf32ppclinux"
6235 ;;
6236 s390x-*linux*)
6237 LD="${LD-ld} -m elf_s390"
6238 ;;
6239 sparc64-*linux*)
6240 LD="${LD-ld} -m elf32_sparc"
6241 ;;
6242 esac
6243 ;;
6244 *64-bit*)
6245 case $host in
6246 x86_64-*kfreebsd*-gnu)
6247 LD="${LD-ld} -m elf_x86_64_fbsd"
6248 ;;
6249 x86_64-*linux*)
6250 LD="${LD-ld} -m elf_x86_64"
6251 ;;
6252 powerpcle-*)
6253 LD="${LD-ld} -m elf64lppc"
6254 ;;
6255 powerpc-*)
6256 LD="${LD-ld} -m elf64ppc"
6257 ;;
6258 s390*-*linux*|s390*-*tpf*)
6259 LD="${LD-ld} -m elf64_s390"
6260 ;;
6261 sparc*-*linux*)
6262 LD="${LD-ld} -m elf64_sparc"
6263 ;;
6264 esac
6265 ;;
6266 esac
6267 fi
6268 rm -rf conftest*
6269 ;;
6270
6271*-*-sco3.2v5*)
6272 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6273 SAVE_CFLAGS="$CFLAGS"
6274 CFLAGS="$CFLAGS -belf"
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6276$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6277if ${lt_cv_cc_needs_belf+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279else
6280 ac_ext=c
6281ac_cpp='$CPP $CPPFLAGS'
6282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6284ac_compiler_gnu=$ac_cv_c_compiler_gnu
6285
6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6287/* end confdefs.h. */
6288
6289int
6290main ()
6291{
6292
6293 ;
6294 return 0;
6295}
6296_ACEOF
6297if ac_fn_c_try_link "$LINENO"; then :
6298 lt_cv_cc_needs_belf=yes
6299else
6300 lt_cv_cc_needs_belf=no
6301fi
6302rm -f core conftest.err conftest.$ac_objext \
6303 conftest$ac_exeext conftest.$ac_ext
6304 ac_ext=c
6305ac_cpp='$CPP $CPPFLAGS'
6306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6308ac_compiler_gnu=$ac_cv_c_compiler_gnu
6309
6310fi
6311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6312$as_echo "$lt_cv_cc_needs_belf" >&6; }
6313 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6315 CFLAGS="$SAVE_CFLAGS"
6316 fi
6317 ;;
6318*-*solaris*)
6319 # Find out which ABI we are using.
6320 echo 'int i;' > conftest.$ac_ext
6321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6322 (eval $ac_compile) 2>&5
6323 ac_status=$?
6324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6325 test $ac_status = 0; }; then
6326 case `/usr/bin/file conftest.o` in
6327 *64-bit*)
6328 case $lt_cv_prog_gnu_ld in
6329 yes*)
6330 case $host in
6331 i?86-*-solaris*)
6332 LD="${LD-ld} -m elf_x86_64"
6333 ;;
6334 sparc*-*-solaris*)
6335 LD="${LD-ld} -m elf64_sparc"
6336 ;;
6337 esac
6338 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6339 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6340 LD="${LD-ld}_sol2"
6341 fi
6342 ;;
6343 *)
6344 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6345 LD="${LD-ld} -64"
6346 fi
6347 ;;
6348 esac
6349 ;;
6350 esac
6351 fi
6352 rm -rf conftest*
6353 ;;
6354esac
6355
6356need_locks="$enable_libtool_lock"
6357
6358if test -n "$ac_tool_prefix"; then
6359 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6360set dummy ${ac_tool_prefix}mt; ac_word=$2
6361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362$as_echo_n "checking for $ac_word... " >&6; }
6363if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6364 $as_echo_n "(cached) " >&6
6365else
6366 if test -n "$MANIFEST_TOOL"; then
6367 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6368else
6369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370for as_dir in $PATH
6371do
6372 IFS=$as_save_IFS
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6376 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6378 break 2
6379 fi
6380done
6381 done
6382IFS=$as_save_IFS
6383
6384fi
6385fi
6386MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6387if test -n "$MANIFEST_TOOL"; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6389$as_echo "$MANIFEST_TOOL" >&6; }
6390else
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392$as_echo "no" >&6; }
6393fi
6394
6395
6396fi
6397if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6398 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6399 # Extract the first word of "mt", so it can be a program name with args.
6400set dummy mt; ac_word=$2
6401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6402$as_echo_n "checking for $ac_word... " >&6; }
6403if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6404 $as_echo_n "(cached) " >&6
6405else
6406 if test -n "$ac_ct_MANIFEST_TOOL"; then
6407 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6408else
6409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6410for as_dir in $PATH
6411do
6412 IFS=$as_save_IFS
6413 test -z "$as_dir" && as_dir=.
6414 for ac_exec_ext in '' $ac_executable_extensions; do
6415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6416 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6418 break 2
6419 fi
6420done
6421 done
6422IFS=$as_save_IFS
6423
6424fi
6425fi
6426ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6427if test -n "$ac_ct_MANIFEST_TOOL"; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6429$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6430else
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432$as_echo "no" >&6; }
6433fi
6434
6435 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6436 MANIFEST_TOOL=":"
6437 else
6438 case $cross_compiling:$ac_tool_warned in
6439yes:)
6440{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6441$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6442ac_tool_warned=yes ;;
6443esac
6444 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6445 fi
6446else
6447 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6448fi
6449
6450test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6452$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6453if ${lt_cv_path_mainfest_tool+:} false; then :
6454 $as_echo_n "(cached) " >&6
6455else
6456 lt_cv_path_mainfest_tool=no
6457 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6458 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6459 cat conftest.err >&5
6460 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6461 lt_cv_path_mainfest_tool=yes
6462 fi
6463 rm -f conftest*
6464fi
6465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6466$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6467if test "x$lt_cv_path_mainfest_tool" != xyes; then
6468 MANIFEST_TOOL=:
6469fi
6470
6471
6472
6473
6474
6475
6476 case $host_os in
6477 rhapsody* | darwin*)
6478 if test -n "$ac_tool_prefix"; then
6479 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6480set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482$as_echo_n "checking for $ac_word... " >&6; }
6483if ${ac_cv_prog_DSYMUTIL+:} false; then :
6484 $as_echo_n "(cached) " >&6
6485else
6486 if test -n "$DSYMUTIL"; then
6487 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6488else
6489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490for as_dir in $PATH
6491do
6492 IFS=$as_save_IFS
6493 test -z "$as_dir" && as_dir=.
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 break 2
6499 fi
6500done
6501 done
6502IFS=$as_save_IFS
6503
6504fi
6505fi
6506DSYMUTIL=$ac_cv_prog_DSYMUTIL
6507if test -n "$DSYMUTIL"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6509$as_echo "$DSYMUTIL" >&6; }
6510else
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512$as_echo "no" >&6; }
6513fi
6514
6515
6516fi
6517if test -z "$ac_cv_prog_DSYMUTIL"; then
6518 ac_ct_DSYMUTIL=$DSYMUTIL
6519 # Extract the first word of "dsymutil", so it can be a program name with args.
6520set dummy dsymutil; ac_word=$2
6521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6522$as_echo_n "checking for $ac_word... " >&6; }
6523if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6524 $as_echo_n "(cached) " >&6
6525else
6526 if test -n "$ac_ct_DSYMUTIL"; then
6527 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6528else
6529as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530for as_dir in $PATH
6531do
6532 IFS=$as_save_IFS
6533 test -z "$as_dir" && as_dir=.
6534 for ac_exec_ext in '' $ac_executable_extensions; do
6535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6536 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 break 2
6539 fi
6540done
6541 done
6542IFS=$as_save_IFS
6543
6544fi
6545fi
6546ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6547if test -n "$ac_ct_DSYMUTIL"; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6549$as_echo "$ac_ct_DSYMUTIL" >&6; }
6550else
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6552$as_echo "no" >&6; }
6553fi
6554
6555 if test "x$ac_ct_DSYMUTIL" = x; then
6556 DSYMUTIL=":"
6557 else
6558 case $cross_compiling:$ac_tool_warned in
6559yes:)
6560{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6561$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6562ac_tool_warned=yes ;;
6563esac
6564 DSYMUTIL=$ac_ct_DSYMUTIL
6565 fi
6566else
6567 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6568fi
6569
6570 if test -n "$ac_tool_prefix"; then
6571 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6572set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574$as_echo_n "checking for $ac_word... " >&6; }
6575if ${ac_cv_prog_NMEDIT+:} false; then :
6576 $as_echo_n "(cached) " >&6
6577else
6578 if test -n "$NMEDIT"; then
6579 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6580else
6581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582for as_dir in $PATH
6583do
6584 IFS=$as_save_IFS
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 break 2
6591 fi
6592done
6593 done
6594IFS=$as_save_IFS
6595
6596fi
6597fi
6598NMEDIT=$ac_cv_prog_NMEDIT
6599if test -n "$NMEDIT"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6601$as_echo "$NMEDIT" >&6; }
6602else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604$as_echo "no" >&6; }
6605fi
6606
6607
6608fi
6609if test -z "$ac_cv_prog_NMEDIT"; then
6610 ac_ct_NMEDIT=$NMEDIT
6611 # Extract the first word of "nmedit", so it can be a program name with args.
6612set dummy nmedit; ac_word=$2
6613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614$as_echo_n "checking for $ac_word... " >&6; }
6615if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6616 $as_echo_n "(cached) " >&6
6617else
6618 if test -n "$ac_ct_NMEDIT"; then
6619 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6620else
6621as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622for as_dir in $PATH
6623do
6624 IFS=$as_save_IFS
6625 test -z "$as_dir" && as_dir=.
6626 for ac_exec_ext in '' $ac_executable_extensions; do
6627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6628 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 break 2
6631 fi
6632done
6633 done
6634IFS=$as_save_IFS
6635
6636fi
6637fi
6638ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6639if test -n "$ac_ct_NMEDIT"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6641$as_echo "$ac_ct_NMEDIT" >&6; }
6642else
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644$as_echo "no" >&6; }
6645fi
6646
6647 if test "x$ac_ct_NMEDIT" = x; then
6648 NMEDIT=":"
6649 else
6650 case $cross_compiling:$ac_tool_warned in
6651yes:)
6652{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6653$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6654ac_tool_warned=yes ;;
6655esac
6656 NMEDIT=$ac_ct_NMEDIT
6657 fi
6658else
6659 NMEDIT="$ac_cv_prog_NMEDIT"
6660fi
6661
6662 if test -n "$ac_tool_prefix"; then
6663 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6664set dummy ${ac_tool_prefix}lipo; ac_word=$2
6665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666$as_echo_n "checking for $ac_word... " >&6; }
6667if ${ac_cv_prog_LIPO+:} false; then :
6668 $as_echo_n "(cached) " >&6
6669else
6670 if test -n "$LIPO"; then
6671 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6672else
6673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674for as_dir in $PATH
6675do
6676 IFS=$as_save_IFS
6677 test -z "$as_dir" && as_dir=.
6678 for ac_exec_ext in '' $ac_executable_extensions; do
6679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6680 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 break 2
6683 fi
6684done
6685 done
6686IFS=$as_save_IFS
6687
6688fi
6689fi
6690LIPO=$ac_cv_prog_LIPO
6691if test -n "$LIPO"; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6693$as_echo "$LIPO" >&6; }
6694else
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696$as_echo "no" >&6; }
6697fi
6698
6699
6700fi
6701if test -z "$ac_cv_prog_LIPO"; then
6702 ac_ct_LIPO=$LIPO
6703 # Extract the first word of "lipo", so it can be a program name with args.
6704set dummy lipo; ac_word=$2
6705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706$as_echo_n "checking for $ac_word... " >&6; }
6707if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6708 $as_echo_n "(cached) " >&6
6709else
6710 if test -n "$ac_ct_LIPO"; then
6711 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6712else
6713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714for as_dir in $PATH
6715do
6716 IFS=$as_save_IFS
6717 test -z "$as_dir" && as_dir=.
6718 for ac_exec_ext in '' $ac_executable_extensions; do
6719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6720 ac_cv_prog_ac_ct_LIPO="lipo"
6721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722 break 2
6723 fi
6724done
6725 done
6726IFS=$as_save_IFS
6727
6728fi
6729fi
6730ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6731if test -n "$ac_ct_LIPO"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6733$as_echo "$ac_ct_LIPO" >&6; }
6734else
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736$as_echo "no" >&6; }
6737fi
6738
6739 if test "x$ac_ct_LIPO" = x; then
6740 LIPO=":"
6741 else
6742 case $cross_compiling:$ac_tool_warned in
6743yes:)
6744{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6745$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6746ac_tool_warned=yes ;;
6747esac
6748 LIPO=$ac_ct_LIPO
6749 fi
6750else
6751 LIPO="$ac_cv_prog_LIPO"
6752fi
6753
6754 if test -n "$ac_tool_prefix"; then
6755 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6756set dummy ${ac_tool_prefix}otool; ac_word=$2
6757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758$as_echo_n "checking for $ac_word... " >&6; }
6759if ${ac_cv_prog_OTOOL+:} false; then :
6760 $as_echo_n "(cached) " >&6
6761else
6762 if test -n "$OTOOL"; then
6763 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6764else
6765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766for as_dir in $PATH
6767do
6768 IFS=$as_save_IFS
6769 test -z "$as_dir" && as_dir=.
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 break 2
6775 fi
6776done
6777 done
6778IFS=$as_save_IFS
6779
6780fi
6781fi
6782OTOOL=$ac_cv_prog_OTOOL
6783if test -n "$OTOOL"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6785$as_echo "$OTOOL" >&6; }
6786else
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788$as_echo "no" >&6; }
6789fi
6790
6791
6792fi
6793if test -z "$ac_cv_prog_OTOOL"; then
6794 ac_ct_OTOOL=$OTOOL
6795 # Extract the first word of "otool", so it can be a program name with args.
6796set dummy otool; ac_word=$2
6797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798$as_echo_n "checking for $ac_word... " >&6; }
6799if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6800 $as_echo_n "(cached) " >&6
6801else
6802 if test -n "$ac_ct_OTOOL"; then
6803 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6804else
6805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806for as_dir in $PATH
6807do
6808 IFS=$as_save_IFS
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6812 ac_cv_prog_ac_ct_OTOOL="otool"
6813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 break 2
6815 fi
6816done
6817 done
6818IFS=$as_save_IFS
6819
6820fi
6821fi
6822ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6823if test -n "$ac_ct_OTOOL"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6825$as_echo "$ac_ct_OTOOL" >&6; }
6826else
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828$as_echo "no" >&6; }
6829fi
6830
6831 if test "x$ac_ct_OTOOL" = x; then
6832 OTOOL=":"
6833 else
6834 case $cross_compiling:$ac_tool_warned in
6835yes:)
6836{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6837$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6838ac_tool_warned=yes ;;
6839esac
6840 OTOOL=$ac_ct_OTOOL
6841 fi
6842else
6843 OTOOL="$ac_cv_prog_OTOOL"
6844fi
6845
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6848set dummy ${ac_tool_prefix}otool64; ac_word=$2
6849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850$as_echo_n "checking for $ac_word... " >&6; }
6851if ${ac_cv_prog_OTOOL64+:} false; then :
6852 $as_echo_n "(cached) " >&6
6853else
6854 if test -n "$OTOOL64"; then
6855 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6856else
6857as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858for as_dir in $PATH
6859do
6860 IFS=$as_save_IFS
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 break 2
6867 fi
6868done
6869 done
6870IFS=$as_save_IFS
6871
6872fi
6873fi
6874OTOOL64=$ac_cv_prog_OTOOL64
6875if test -n "$OTOOL64"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6877$as_echo "$OTOOL64" >&6; }
6878else
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880$as_echo "no" >&6; }
6881fi
6882
6883
6884fi
6885if test -z "$ac_cv_prog_OTOOL64"; then
6886 ac_ct_OTOOL64=$OTOOL64
6887 # Extract the first word of "otool64", so it can be a program name with args.
6888set dummy otool64; ac_word=$2
6889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890$as_echo_n "checking for $ac_word... " >&6; }
6891if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6892 $as_echo_n "(cached) " >&6
6893else
6894 if test -n "$ac_ct_OTOOL64"; then
6895 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6896else
6897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898for as_dir in $PATH
6899do
6900 IFS=$as_save_IFS
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_ac_ct_OTOOL64="otool64"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6906 break 2
6907 fi
6908done
6909 done
6910IFS=$as_save_IFS
6911
6912fi
6913fi
6914ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6915if test -n "$ac_ct_OTOOL64"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6917$as_echo "$ac_ct_OTOOL64" >&6; }
6918else
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920$as_echo "no" >&6; }
6921fi
6922
6923 if test "x$ac_ct_OTOOL64" = x; then
6924 OTOOL64=":"
6925 else
6926 case $cross_compiling:$ac_tool_warned in
6927yes:)
6928{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930ac_tool_warned=yes ;;
6931esac
6932 OTOOL64=$ac_ct_OTOOL64
6933 fi
6934else
6935 OTOOL64="$ac_cv_prog_OTOOL64"
6936fi
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6965$as_echo_n "checking for -single_module linker flag... " >&6; }
6966if ${lt_cv_apple_cc_single_mod+:} false; then :
6967 $as_echo_n "(cached) " >&6
6968else
6969 lt_cv_apple_cc_single_mod=no
6970 if test -z "${LT_MULTI_MODULE}"; then
6971 # By default we will add the -single_module flag. You can override
6972 # by either setting the environment variable LT_MULTI_MODULE
6973 # non-empty at configure time, or by adding -multi_module to the
6974 # link flags.
6975 rm -rf libconftest.dylib*
6976 echo "int foo(void){return 1;}" > conftest.c
6977 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6978-dynamiclib -Wl,-single_module conftest.c" >&5
6979 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6980 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6981 _lt_result=$?
6982 # If there is a non-empty error log, and "single_module"
6983 # appears in it, assume the flag caused a linker warning
6984 if test -s conftest.err && $GREP single_module conftest.err; then
6985 cat conftest.err >&5
6986 # Otherwise, if the output was created with a 0 exit code from
6987 # the compiler, it worked.
6988 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6989 lt_cv_apple_cc_single_mod=yes
6990 else
6991 cat conftest.err >&5
6992 fi
6993 rm -rf libconftest.dylib*
6994 rm -f conftest.*
6995 fi
6996fi
6997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6998$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6999
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7001$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7002if ${lt_cv_ld_exported_symbols_list+:} false; then :
7003 $as_echo_n "(cached) " >&6
7004else
7005 lt_cv_ld_exported_symbols_list=no
7006 save_LDFLAGS=$LDFLAGS
7007 echo "_main" > conftest.sym
7008 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010/* end confdefs.h. */
7011
7012int
7013main ()
7014{
7015
7016 ;
7017 return 0;
7018}
7019_ACEOF
7020if ac_fn_c_try_link "$LINENO"; then :
7021 lt_cv_ld_exported_symbols_list=yes
7022else
7023 lt_cv_ld_exported_symbols_list=no
7024fi
7025rm -f core conftest.err conftest.$ac_objext \
7026 conftest$ac_exeext conftest.$ac_ext
7027 LDFLAGS="$save_LDFLAGS"
7028
7029fi
7030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7031$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7032
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7034$as_echo_n "checking for -force_load linker flag... " >&6; }
7035if ${lt_cv_ld_force_load+:} false; then :
7036 $as_echo_n "(cached) " >&6
7037else
7038 lt_cv_ld_force_load=no
7039 cat > conftest.c << _LT_EOF
7040int forced_loaded() { return 2;}
7041_LT_EOF
7042 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7043 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7044 echo "$AR cru libconftest.a conftest.o" >&5
7045 $AR cru libconftest.a conftest.o 2>&5
7046 echo "$RANLIB libconftest.a" >&5
7047 $RANLIB libconftest.a 2>&5
7048 cat > conftest.c << _LT_EOF
7049int main() { return 0;}
7050_LT_EOF
7051 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7052 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7053 _lt_result=$?
7054 if test -s conftest.err && $GREP force_load conftest.err; then
7055 cat conftest.err >&5
7056 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7057 lt_cv_ld_force_load=yes
7058 else
7059 cat conftest.err >&5
7060 fi
7061 rm -f conftest.err libconftest.a conftest conftest.c
7062 rm -rf conftest.dSYM
7063
7064fi
7065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7066$as_echo "$lt_cv_ld_force_load" >&6; }
7067 case $host_os in
7068 rhapsody* | darwin1.[012])
7069 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7070 darwin1.*)
7071 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7072 darwin*) # darwin 5.x on
7073 # if running on 10.5 or later, the deployment target defaults
7074 # to the OS version, if on x86, and 10.4, the deployment
7075 # target defaults to 10.4. Don't you love it?
7076 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7077 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7078 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7079 10.[012]*)
7080 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7081 10.*)
7082 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7083 esac
7084 ;;
7085 esac
7086 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7087 _lt_dar_single_mod='$single_module'
7088 fi
7089 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7090 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7091 else
7092 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7093 fi
7094 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7095 _lt_dsymutil='~$DSYMUTIL $lib || :'
7096 else
7097 _lt_dsymutil=
7098 fi
7099 ;;
7100 esac
7101
7102ac_ext=c
7103ac_cpp='$CPP $CPPFLAGS'
7104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7106ac_compiler_gnu=$ac_cv_c_compiler_gnu
7107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7108$as_echo_n "checking how to run the C preprocessor... " >&6; }
7109# On Suns, sometimes $CPP names a directory.
7110if test -n "$CPP" && test -d "$CPP"; then
7111 CPP=
7112fi
7113if test -z "$CPP"; then
7114 if ${ac_cv_prog_CPP+:} false; then :
7115 $as_echo_n "(cached) " >&6
7116else
7117 # Double quotes because CPP needs to be expanded
7118 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7119 do
7120 ac_preproc_ok=false
7121for ac_c_preproc_warn_flag in '' yes
7122do
7123 # Use a header file that comes with gcc, so configuring glibc
7124 # with a fresh cross-compiler works.
7125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7126 # <limits.h> exists even on freestanding compilers.
7127 # On the NeXT, cc -E runs the code through the compiler's parser,
7128 # not just through cpp. "Syntax error" is here to catch this case.
7129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7130/* end confdefs.h. */
7131#ifdef __STDC__
7132# include <limits.h>
7133#else
7134# include <assert.h>
7135#endif
7136 Syntax error
7137_ACEOF
7138if ac_fn_c_try_cpp "$LINENO"; then :
7139
7140else
7141 # Broken: fails on valid input.
7142continue
7143fi
7144rm -f conftest.err conftest.i conftest.$ac_ext
7145
7146 # OK, works on sane cases. Now check whether nonexistent headers
7147 # can be detected and how.
7148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149/* end confdefs.h. */
7150#include <ac_nonexistent.h>
7151_ACEOF
7152if ac_fn_c_try_cpp "$LINENO"; then :
7153 # Broken: success on invalid input.
7154continue
7155else
7156 # Passes both tests.
7157ac_preproc_ok=:
7158break
7159fi
7160rm -f conftest.err conftest.i conftest.$ac_ext
7161
7162done
7163# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7164rm -f conftest.i conftest.err conftest.$ac_ext
7165if $ac_preproc_ok; then :
7166 break
7167fi
7168
7169 done
7170 ac_cv_prog_CPP=$CPP
7171
7172fi
7173 CPP=$ac_cv_prog_CPP
7174else
7175 ac_cv_prog_CPP=$CPP
7176fi
7177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7178$as_echo "$CPP" >&6; }
7179ac_preproc_ok=false
7180for ac_c_preproc_warn_flag in '' yes
7181do
7182 # Use a header file that comes with gcc, so configuring glibc
7183 # with a fresh cross-compiler works.
7184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7185 # <limits.h> exists even on freestanding compilers.
7186 # On the NeXT, cc -E runs the code through the compiler's parser,
7187 # not just through cpp. "Syntax error" is here to catch this case.
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189/* end confdefs.h. */
7190#ifdef __STDC__
7191# include <limits.h>
7192#else
7193# include <assert.h>
7194#endif
7195 Syntax error
7196_ACEOF
7197if ac_fn_c_try_cpp "$LINENO"; then :
7198
7199else
7200 # Broken: fails on valid input.
7201continue
7202fi
7203rm -f conftest.err conftest.i conftest.$ac_ext
7204
7205 # OK, works on sane cases. Now check whether nonexistent headers
7206 # can be detected and how.
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208/* end confdefs.h. */
7209#include <ac_nonexistent.h>
7210_ACEOF
7211if ac_fn_c_try_cpp "$LINENO"; then :
7212 # Broken: success on invalid input.
7213continue
7214else
7215 # Passes both tests.
7216ac_preproc_ok=:
7217break
7218fi
7219rm -f conftest.err conftest.i conftest.$ac_ext
7220
7221done
7222# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7223rm -f conftest.i conftest.err conftest.$ac_ext
7224if $ac_preproc_ok; then :
7225
7226else
7227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7228$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7229as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7230See \`config.log' for more details" "$LINENO" 5; }
7231fi
7232
7233ac_ext=c
7234ac_cpp='$CPP $CPPFLAGS'
7235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7237ac_compiler_gnu=$ac_cv_c_compiler_gnu
7238
7239
7240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7241$as_echo_n "checking for ANSI C header files... " >&6; }
7242if ${ac_cv_header_stdc+:} false; then :
7243 $as_echo_n "(cached) " >&6
7244else
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246/* end confdefs.h. */
7247#include <stdlib.h>
7248#include <stdarg.h>
7249#include <string.h>
7250#include <float.h>
7251
7252int
7253main ()
7254{
7255
7256 ;
7257 return 0;
7258}
7259_ACEOF
7260if ac_fn_c_try_compile "$LINENO"; then :
7261 ac_cv_header_stdc=yes
7262else
7263 ac_cv_header_stdc=no
7264fi
7265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7266
7267if test $ac_cv_header_stdc = yes; then
7268 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270/* end confdefs.h. */
7271#include <string.h>
7272
7273_ACEOF
7274if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7275 $EGREP "memchr" >/dev/null 2>&1; then :
7276
7277else
7278 ac_cv_header_stdc=no
7279fi
7280rm -f conftest*
7281
7282fi
7283
7284if test $ac_cv_header_stdc = yes; then
7285 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287/* end confdefs.h. */
7288#include <stdlib.h>
7289
7290_ACEOF
7291if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7292 $EGREP "free" >/dev/null 2>&1; then :
7293
7294else
7295 ac_cv_header_stdc=no
7296fi
7297rm -f conftest*
7298
7299fi
7300
7301if test $ac_cv_header_stdc = yes; then
7302 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7303 if test "$cross_compiling" = yes; then :
7304 :
7305else
7306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7307/* end confdefs.h. */
7308#include <ctype.h>
7309#include <stdlib.h>
7310#if ((' ' & 0x0FF) == 0x020)
7311# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7312# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7313#else
7314# define ISLOWER(c) \
7315 (('a' <= (c) && (c) <= 'i') \
7316 || ('j' <= (c) && (c) <= 'r') \
7317 || ('s' <= (c) && (c) <= 'z'))
7318# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7319#endif
7320
7321#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7322int
7323main ()
7324{
7325 int i;
7326 for (i = 0; i < 256; i++)
7327 if (XOR (islower (i), ISLOWER (i))
7328 || toupper (i) != TOUPPER (i))
7329 return 2;
7330 return 0;
7331}
7332_ACEOF
7333if ac_fn_c_try_run "$LINENO"; then :
7334
7335else
7336 ac_cv_header_stdc=no
7337fi
7338rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7339 conftest.$ac_objext conftest.beam conftest.$ac_ext
7340fi
7341
7342fi
7343fi
7344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7345$as_echo "$ac_cv_header_stdc" >&6; }
7346if test $ac_cv_header_stdc = yes; then
7347
7348$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7349
7350fi
7351
7352# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7353for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7354 inttypes.h stdint.h unistd.h
7355do :
7356 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7357ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7358"
7359if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7360 cat >>confdefs.h <<_ACEOF
7361#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7362_ACEOF
7363
7364fi
7365
7366done
7367
7368
7369for ac_header in dlfcn.h
7370do :
7371 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7372"
7373if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7374 cat >>confdefs.h <<_ACEOF
7375#define HAVE_DLFCN_H 1
7376_ACEOF
7377
7378fi
7379
7380done
7381
7382
7383
7384
7385
7386# Set options
7387
7388
7389
7390 enable_dlopen=no
7391
7392
7393 enable_win32_dll=no
7394
7395
7396 # Check whether --enable-shared was given.
7397if test "${enable_shared+set}" = set; then :
7398 enableval=$enable_shared; p=${PACKAGE-default}
7399 case $enableval in
7400 yes) enable_shared=yes ;;
7401 no) enable_shared=no ;;
7402 *)
7403 enable_shared=no
7404 # Look at the argument we got. We use all the common list separators.
7405 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7406 for pkg in $enableval; do
7407 IFS="$lt_save_ifs"
7408 if test "X$pkg" = "X$p"; then
7409 enable_shared=yes
7410 fi
7411 done
7412 IFS="$lt_save_ifs"
7413 ;;
7414 esac
7415else
7416 enable_shared=yes
7417fi
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427 # Check whether --enable-static was given.
7428if test "${enable_static+set}" = set; then :
7429 enableval=$enable_static; p=${PACKAGE-default}
7430 case $enableval in
7431 yes) enable_static=yes ;;
7432 no) enable_static=no ;;
7433 *)
7434 enable_static=no
7435 # Look at the argument we got. We use all the common list separators.
7436 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7437 for pkg in $enableval; do
7438 IFS="$lt_save_ifs"
7439 if test "X$pkg" = "X$p"; then
7440 enable_static=yes
7441 fi
7442 done
7443 IFS="$lt_save_ifs"
7444 ;;
7445 esac
7446else
7447 enable_static=yes
7448fi
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459# Check whether --with-pic was given.
7460if test "${with_pic+set}" = set; then :
7461 withval=$with_pic; lt_p=${PACKAGE-default}
7462 case $withval in
7463 yes|no) pic_mode=$withval ;;
7464 *)
7465 pic_mode=default
7466 # Look at the argument we got. We use all the common list separators.
7467 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7468 for lt_pkg in $withval; do
7469 IFS="$lt_save_ifs"
7470 if test "X$lt_pkg" = "X$lt_p"; then
7471 pic_mode=yes
7472 fi
7473 done
7474 IFS="$lt_save_ifs"
7475 ;;
7476 esac
7477else
7478 pic_mode=default
7479fi
7480
7481
7482test -z "$pic_mode" && pic_mode=default
7483
7484
7485
7486
7487
7488
7489
7490 # Check whether --enable-fast-install was given.
7491if test "${enable_fast_install+set}" = set; then :
7492 enableval=$enable_fast_install; p=${PACKAGE-default}
7493 case $enableval in
7494 yes) enable_fast_install=yes ;;
7495 no) enable_fast_install=no ;;
7496 *)
7497 enable_fast_install=no
7498 # Look at the argument we got. We use all the common list separators.
7499 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7500 for pkg in $enableval; do
7501 IFS="$lt_save_ifs"
7502 if test "X$pkg" = "X$p"; then
7503 enable_fast_install=yes
7504 fi
7505 done
7506 IFS="$lt_save_ifs"
7507 ;;
7508 esac
7509else
7510 enable_fast_install=yes
7511fi
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523# This can be used to rebuild libtool when needed
7524LIBTOOL_DEPS="$ltmain"
7525
7526# Always use our own libtool.
7527LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558test -z "$LN_S" && LN_S="ln -s"
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573if test -n "${ZSH_VERSION+set}" ; then
7574 setopt NO_GLOB_SUBST
7575fi
7576
7577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7578$as_echo_n "checking for objdir... " >&6; }
7579if ${lt_cv_objdir+:} false; then :
7580 $as_echo_n "(cached) " >&6
7581else
7582 rm -f .libs 2>/dev/null
7583mkdir .libs 2>/dev/null
7584if test -d .libs; then
7585 lt_cv_objdir=.libs
7586else
7587 # MS-DOS does not allow filenames that begin with a dot.
7588 lt_cv_objdir=_libs
7589fi
7590rmdir .libs 2>/dev/null
7591fi
7592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7593$as_echo "$lt_cv_objdir" >&6; }
7594objdir=$lt_cv_objdir
7595
7596
7597
7598
7599
7600cat >>confdefs.h <<_ACEOF
7601#define LT_OBJDIR "$lt_cv_objdir/"
7602_ACEOF
7603
7604
7605
7606
7607case $host_os in
7608aix3*)
7609 # AIX sometimes has problems with the GCC collect2 program. For some
7610 # reason, if we set the COLLECT_NAMES environment variable, the problems
7611 # vanish in a puff of smoke.
7612 if test "X${COLLECT_NAMES+set}" != Xset; then
7613 COLLECT_NAMES=
7614 export COLLECT_NAMES
7615 fi
7616 ;;
7617esac
7618
7619# Global variables:
7620ofile=libtool
7621can_build_shared=yes
7622
7623# All known linkers require a `.a' archive for static linking (except MSVC,
7624# which needs '.lib').
7625libext=a
7626
7627with_gnu_ld="$lt_cv_prog_gnu_ld"
7628
7629old_CC="$CC"
7630old_CFLAGS="$CFLAGS"
7631
7632# Set sane defaults for various variables
7633test -z "$CC" && CC=cc
7634test -z "$LTCC" && LTCC=$CC
7635test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7636test -z "$LD" && LD=ld
7637test -z "$ac_objext" && ac_objext=o
7638
7639for cc_temp in $compiler""; do
7640 case $cc_temp in
7641 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7642 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7643 \-*) ;;
7644 *) break;;
7645 esac
7646done
7647cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7648
7649
7650# Only perform the check for file, if the check method requires it
7651test -z "$MAGIC_CMD" && MAGIC_CMD=file
7652case $deplibs_check_method in
7653file_magic*)
7654 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7656$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7657if ${lt_cv_path_MAGIC_CMD+:} false; then :
7658 $as_echo_n "(cached) " >&6
7659else
7660 case $MAGIC_CMD in
7661[\\/*] | ?:[\\/]*)
7662 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7663 ;;
7664*)
7665 lt_save_MAGIC_CMD="$MAGIC_CMD"
7666 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7667 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7668 for ac_dir in $ac_dummy; do
7669 IFS="$lt_save_ifs"
7670 test -z "$ac_dir" && ac_dir=.
7671 if test -f $ac_dir/${ac_tool_prefix}file; then
7672 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7673 if test -n "$file_magic_test_file"; then
7674 case $deplibs_check_method in
7675 "file_magic "*)
7676 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7677 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7678 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7679 $EGREP "$file_magic_regex" > /dev/null; then
7680 :
7681 else
7682 cat <<_LT_EOF 1>&2
7683
7684*** Warning: the command libtool uses to detect shared libraries,
7685*** $file_magic_cmd, produces output that libtool cannot recognize.
7686*** The result is that libtool may fail to recognize shared libraries
7687*** as such. This will affect the creation of libtool libraries that
7688*** depend on shared libraries, but programs linked with such libtool
7689*** libraries will work regardless of this problem. Nevertheless, you
7690*** may want to report the problem to your system manager and/or to
7691*** bug-libtool@gnu.org
7692
7693_LT_EOF
7694 fi ;;
7695 esac
7696 fi
7697 break
7698 fi
7699 done
7700 IFS="$lt_save_ifs"
7701 MAGIC_CMD="$lt_save_MAGIC_CMD"
7702 ;;
7703esac
7704fi
7705
7706MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7707if test -n "$MAGIC_CMD"; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7709$as_echo "$MAGIC_CMD" >&6; }
7710else
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7712$as_echo "no" >&6; }
7713fi
7714
7715
7716
7717
7718
7719if test -z "$lt_cv_path_MAGIC_CMD"; then
7720 if test -n "$ac_tool_prefix"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7722$as_echo_n "checking for file... " >&6; }
7723if ${lt_cv_path_MAGIC_CMD+:} false; then :
7724 $as_echo_n "(cached) " >&6
7725else
7726 case $MAGIC_CMD in
7727[\\/*] | ?:[\\/]*)
7728 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7729 ;;
7730*)
7731 lt_save_MAGIC_CMD="$MAGIC_CMD"
7732 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7733 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7734 for ac_dir in $ac_dummy; do
7735 IFS="$lt_save_ifs"
7736 test -z "$ac_dir" && ac_dir=.
7737 if test -f $ac_dir/file; then
7738 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7739 if test -n "$file_magic_test_file"; then
7740 case $deplibs_check_method in
7741 "file_magic "*)
7742 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7743 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7744 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7745 $EGREP "$file_magic_regex" > /dev/null; then
7746 :
7747 else
7748 cat <<_LT_EOF 1>&2
7749
7750*** Warning: the command libtool uses to detect shared libraries,
7751*** $file_magic_cmd, produces output that libtool cannot recognize.
7752*** The result is that libtool may fail to recognize shared libraries
7753*** as such. This will affect the creation of libtool libraries that
7754*** depend on shared libraries, but programs linked with such libtool
7755*** libraries will work regardless of this problem. Nevertheless, you
7756*** may want to report the problem to your system manager and/or to
7757*** bug-libtool@gnu.org
7758
7759_LT_EOF
7760 fi ;;
7761 esac
7762 fi
7763 break
7764 fi
7765 done
7766 IFS="$lt_save_ifs"
7767 MAGIC_CMD="$lt_save_MAGIC_CMD"
7768 ;;
7769esac
7770fi
7771
7772MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7773if test -n "$MAGIC_CMD"; then
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7775$as_echo "$MAGIC_CMD" >&6; }
7776else
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778$as_echo "no" >&6; }
7779fi
7780
7781
7782 else
7783 MAGIC_CMD=:
7784 fi
7785fi
7786
7787 fi
7788 ;;
7789esac
7790
7791# Use C for the default configuration in the libtool script
7792
7793lt_save_CC="$CC"
7794ac_ext=c
7795ac_cpp='$CPP $CPPFLAGS'
7796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7798ac_compiler_gnu=$ac_cv_c_compiler_gnu
7799
7800
7801# Source file extension for C test sources.
7802ac_ext=c
7803
7804# Object file extension for compiled C test sources.
7805objext=o
7806objext=$objext
7807
7808# Code to be used in simple compile tests
7809lt_simple_compile_test_code="int some_variable = 0;"
7810
7811# Code to be used in simple link tests
7812lt_simple_link_test_code='int main(){return(0);}'
7813
7814
7815
7816
7817
7818
7819
7820# If no C compiler was specified, use CC.
7821LTCC=${LTCC-"$CC"}
7822
7823# If no C compiler flags were specified, use CFLAGS.
7824LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7825
7826# Allow CC to be a program name with arguments.
7827compiler=$CC
7828
7829# Save the default compiler, since it gets overwritten when the other
7830# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7831compiler_DEFAULT=$CC
7832
7833# save warnings/boilerplate of simple test code
7834ac_outfile=conftest.$ac_objext
7835echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7836eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7837_lt_compiler_boilerplate=`cat conftest.err`
7838$RM conftest*
7839
7840ac_outfile=conftest.$ac_objext
7841echo "$lt_simple_link_test_code" >conftest.$ac_ext
7842eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7843_lt_linker_boilerplate=`cat conftest.err`
7844$RM -r conftest*
7845
7846
7847if test -n "$compiler"; then
7848
7849lt_prog_compiler_no_builtin_flag=
7850
7851if test "$GCC" = yes; then
7852 case $cc_basename in
7853 nvcc*)
7854 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7855 *)
7856 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7857 esac
7858
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7860$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7861if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7862 $as_echo_n "(cached) " >&6
7863else
7864 lt_cv_prog_compiler_rtti_exceptions=no
7865 ac_outfile=conftest.$ac_objext
7866 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7867 lt_compiler_flag="-fno-rtti -fno-exceptions"
7868 # Insert the option either (1) after the last *FLAGS variable, or
7869 # (2) before a word containing "conftest.", or (3) at the end.
7870 # Note that $ac_compile itself does not contain backslashes and begins
7871 # with a dollar sign (not a hyphen), so the echo should work correctly.
7872 # The option is referenced via a variable to avoid confusing sed.
7873 lt_compile=`echo "$ac_compile" | $SED \
7874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7876 -e 's:$: $lt_compiler_flag:'`
7877 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7878 (eval "$lt_compile" 2>conftest.err)
7879 ac_status=$?
7880 cat conftest.err >&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 if (exit $ac_status) && test -s "$ac_outfile"; then
7883 # The compiler can only warn and ignore the option if not recognized
7884 # So say no if there are warnings other than the usual output.
7885 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7886 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7887 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7888 lt_cv_prog_compiler_rtti_exceptions=yes
7889 fi
7890 fi
7891 $RM conftest*
7892
7893fi
7894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7895$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7896
7897if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7898 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7899else
7900 :
7901fi
7902
7903fi
7904
7905
7906
7907
7908
7909
7910 lt_prog_compiler_wl=
7911lt_prog_compiler_pic=
7912lt_prog_compiler_static=
7913
7914
7915 if test "$GCC" = yes; then
7916 lt_prog_compiler_wl='-Wl,'
7917 lt_prog_compiler_static='-static'
7918
7919 case $host_os in
7920 aix*)
7921 # All AIX code is PIC.
7922 if test "$host_cpu" = ia64; then
7923 # AIX 5 now supports IA64 processor
7924 lt_prog_compiler_static='-Bstatic'
7925 fi
7926 ;;
7927
7928 amigaos*)
7929 case $host_cpu in
7930 powerpc)
7931 # see comment about AmigaOS4 .so support
7932 lt_prog_compiler_pic='-fPIC'
7933 ;;
7934 m68k)
7935 # FIXME: we need at least 68020 code to build shared libraries, but
7936 # adding the `-m68020' flag to GCC prevents building anything better,
7937 # like `-m68040'.
7938 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7939 ;;
7940 esac
7941 ;;
7942
7943 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7944 # PIC is the default for these OSes.
7945 ;;
7946
7947 mingw* | cygwin* | pw32* | os2* | cegcc*)
7948 # This hack is so that the source file can tell whether it is being
7949 # built for inclusion in a dll (and should export symbols for example).
7950 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7951 # (--disable-auto-import) libraries
7952 lt_prog_compiler_pic='-DDLL_EXPORT'
7953 ;;
7954
7955 darwin* | rhapsody*)
7956 # PIC is the default on this platform
7957 # Common symbols not allowed in MH_DYLIB files
7958 lt_prog_compiler_pic='-fno-common'
7959 ;;
7960
7961 haiku*)
7962 # PIC is the default for Haiku.
7963 # The "-static" flag exists, but is broken.
7964 lt_prog_compiler_static=
7965 ;;
7966
7967 hpux*)
7968 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7969 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7970 # sets the default TLS model and affects inlining.
7971 case $host_cpu in
7972 hppa*64*)
7973 # +Z the default
7974 ;;
7975 *)
7976 lt_prog_compiler_pic='-fPIC'
7977 ;;
7978 esac
7979 ;;
7980
7981 interix[3-9]*)
7982 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7983 # Instead, we relocate shared libraries at runtime.
7984 ;;
7985
7986 msdosdjgpp*)
7987 # Just because we use GCC doesn't mean we suddenly get shared libraries
7988 # on systems that don't support them.
7989 lt_prog_compiler_can_build_shared=no
7990 enable_shared=no
7991 ;;
7992
7993 *nto* | *qnx*)
7994 # QNX uses GNU C++, but need to define -shared option too, otherwise
7995 # it will coredump.
7996 lt_prog_compiler_pic='-fPIC -shared'
7997 ;;
7998
7999 sysv4*MP*)
8000 if test -d /usr/nec; then
8001 lt_prog_compiler_pic=-Kconform_pic
8002 fi
8003 ;;
8004
8005 *)
8006 lt_prog_compiler_pic='-fPIC'
8007 ;;
8008 esac
8009
8010 case $cc_basename in
8011 nvcc*) # Cuda Compiler Driver 2.2
8012 lt_prog_compiler_wl='-Xlinker '
8013 if test -n "$lt_prog_compiler_pic"; then
8014 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8015 fi
8016 ;;
8017 esac
8018 else
8019 # PORTME Check for flag to pass linker flags through the system compiler.
8020 case $host_os in
8021 aix*)
8022 lt_prog_compiler_wl='-Wl,'
8023 if test "$host_cpu" = ia64; then
8024 # AIX 5 now supports IA64 processor
8025 lt_prog_compiler_static='-Bstatic'
8026 else
8027 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8028 fi
8029 ;;
8030
8031 mingw* | cygwin* | pw32* | os2* | cegcc*)
8032 # This hack is so that the source file can tell whether it is being
8033 # built for inclusion in a dll (and should export symbols for example).
8034 lt_prog_compiler_pic='-DDLL_EXPORT'
8035 ;;
8036
8037 hpux9* | hpux10* | hpux11*)
8038 lt_prog_compiler_wl='-Wl,'
8039 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8040 # not for PA HP-UX.
8041 case $host_cpu in
8042 hppa*64*|ia64*)
8043 # +Z the default
8044 ;;
8045 *)
8046 lt_prog_compiler_pic='+Z'
8047 ;;
8048 esac
8049 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8050 lt_prog_compiler_static='${wl}-a ${wl}archive'
8051 ;;
8052
8053 irix5* | irix6* | nonstopux*)
8054 lt_prog_compiler_wl='-Wl,'
8055 # PIC (with -KPIC) is the default.
8056 lt_prog_compiler_static='-non_shared'
8057 ;;
8058
8059 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8060 case $cc_basename in
8061 # old Intel for x86_64 which still supported -KPIC.
8062 ecc*)
8063 lt_prog_compiler_wl='-Wl,'
8064 lt_prog_compiler_pic='-KPIC'
8065 lt_prog_compiler_static='-static'
8066 ;;
8067 # icc used to be incompatible with GCC.
8068 # ICC 10 doesn't accept -KPIC any more.
8069 icc* | ifort*)
8070 lt_prog_compiler_wl='-Wl,'
8071 lt_prog_compiler_pic='-fPIC'
8072 lt_prog_compiler_static='-static'
8073 ;;
8074 # Lahey Fortran 8.1.
8075 lf95*)
8076 lt_prog_compiler_wl='-Wl,'
8077 lt_prog_compiler_pic='--shared'
8078 lt_prog_compiler_static='--static'
8079 ;;
8080 nagfor*)
8081 # NAG Fortran compiler
8082 lt_prog_compiler_wl='-Wl,-Wl,,'
8083 lt_prog_compiler_pic='-PIC'
8084 lt_prog_compiler_static='-Bstatic'
8085 ;;
8086 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8087 # Portland Group compilers (*not* the Pentium gcc compiler,
8088 # which looks to be a dead project)
8089 lt_prog_compiler_wl='-Wl,'
8090 lt_prog_compiler_pic='-fpic'
8091 lt_prog_compiler_static='-Bstatic'
8092 ;;
8093 ccc*)
8094 lt_prog_compiler_wl='-Wl,'
8095 # All Alpha code is PIC.
8096 lt_prog_compiler_static='-non_shared'
8097 ;;
8098 xl* | bgxl* | bgf* | mpixl*)
8099 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8100 lt_prog_compiler_wl='-Wl,'
8101 lt_prog_compiler_pic='-qpic'
8102 lt_prog_compiler_static='-qstaticlink'
8103 ;;
8104 *)
8105 case `$CC -V 2>&1 | sed 5q` in
8106 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8107 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8108 lt_prog_compiler_pic='-KPIC'
8109 lt_prog_compiler_static='-Bstatic'
8110 lt_prog_compiler_wl=''
8111 ;;
8112 *Sun\ F* | *Sun*Fortran*)
8113 lt_prog_compiler_pic='-KPIC'
8114 lt_prog_compiler_static='-Bstatic'
8115 lt_prog_compiler_wl='-Qoption ld '
8116 ;;
8117 *Sun\ C*)
8118 # Sun C 5.9
8119 lt_prog_compiler_pic='-KPIC'
8120 lt_prog_compiler_static='-Bstatic'
8121 lt_prog_compiler_wl='-Wl,'
8122 ;;
8123 *Intel*\ [CF]*Compiler*)
8124 lt_prog_compiler_wl='-Wl,'
8125 lt_prog_compiler_pic='-fPIC'
8126 lt_prog_compiler_static='-static'
8127 ;;
8128 *Portland\ Group*)
8129 lt_prog_compiler_wl='-Wl,'
8130 lt_prog_compiler_pic='-fpic'
8131 lt_prog_compiler_static='-Bstatic'
8132 ;;
8133 esac
8134 ;;
8135 esac
8136 ;;
8137
8138 newsos6)
8139 lt_prog_compiler_pic='-KPIC'
8140 lt_prog_compiler_static='-Bstatic'
8141 ;;
8142
8143 *nto* | *qnx*)
8144 # QNX uses GNU C++, but need to define -shared option too, otherwise
8145 # it will coredump.
8146 lt_prog_compiler_pic='-fPIC -shared'
8147 ;;
8148
8149 osf3* | osf4* | osf5*)
8150 lt_prog_compiler_wl='-Wl,'
8151 # All OSF/1 code is PIC.
8152 lt_prog_compiler_static='-non_shared'
8153 ;;
8154
8155 rdos*)
8156 lt_prog_compiler_static='-non_shared'
8157 ;;
8158
8159 solaris*)
8160 lt_prog_compiler_pic='-KPIC'
8161 lt_prog_compiler_static='-Bstatic'
8162 case $cc_basename in
8163 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8164 lt_prog_compiler_wl='-Qoption ld ';;
8165 *)
8166 lt_prog_compiler_wl='-Wl,';;
8167 esac
8168 ;;
8169
8170 sunos4*)
8171 lt_prog_compiler_wl='-Qoption ld '
8172 lt_prog_compiler_pic='-PIC'
8173 lt_prog_compiler_static='-Bstatic'
8174 ;;
8175
8176 sysv4 | sysv4.2uw2* | sysv4.3*)
8177 lt_prog_compiler_wl='-Wl,'
8178 lt_prog_compiler_pic='-KPIC'
8179 lt_prog_compiler_static='-Bstatic'
8180 ;;
8181
8182 sysv4*MP*)
8183 if test -d /usr/nec ;then
8184 lt_prog_compiler_pic='-Kconform_pic'
8185 lt_prog_compiler_static='-Bstatic'
8186 fi
8187 ;;
8188
8189 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8190 lt_prog_compiler_wl='-Wl,'
8191 lt_prog_compiler_pic='-KPIC'
8192 lt_prog_compiler_static='-Bstatic'
8193 ;;
8194
8195 unicos*)
8196 lt_prog_compiler_wl='-Wl,'
8197 lt_prog_compiler_can_build_shared=no
8198 ;;
8199
8200 uts4*)
8201 lt_prog_compiler_pic='-pic'
8202 lt_prog_compiler_static='-Bstatic'
8203 ;;
8204
8205 *)
8206 lt_prog_compiler_can_build_shared=no
8207 ;;
8208 esac
8209 fi
8210
8211case $host_os in
8212 # For platforms which do not support PIC, -DPIC is meaningless:
8213 *djgpp*)
8214 lt_prog_compiler_pic=
8215 ;;
8216 *)
8217 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8218 ;;
8219esac
8220
8221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8222$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8223if ${lt_cv_prog_compiler_pic+:} false; then :
8224 $as_echo_n "(cached) " >&6
8225else
8226 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8227fi
8228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8229$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8230lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8231
8232#
8233# Check to make sure the PIC flag actually works.
8234#
8235if test -n "$lt_prog_compiler_pic"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8237$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8238if ${lt_cv_prog_compiler_pic_works+:} false; then :
8239 $as_echo_n "(cached) " >&6
8240else
8241 lt_cv_prog_compiler_pic_works=no
8242 ac_outfile=conftest.$ac_objext
8243 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8244 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8245 # Insert the option either (1) after the last *FLAGS variable, or
8246 # (2) before a word containing "conftest.", or (3) at the end.
8247 # Note that $ac_compile itself does not contain backslashes and begins
8248 # with a dollar sign (not a hyphen), so the echo should work correctly.
8249 # The option is referenced via a variable to avoid confusing sed.
8250 lt_compile=`echo "$ac_compile" | $SED \
8251 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8252 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8253 -e 's:$: $lt_compiler_flag:'`
8254 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8255 (eval "$lt_compile" 2>conftest.err)
8256 ac_status=$?
8257 cat conftest.err >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 if (exit $ac_status) && test -s "$ac_outfile"; then
8260 # The compiler can only warn and ignore the option if not recognized
8261 # So say no if there are warnings other than the usual output.
8262 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8263 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8264 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8265 lt_cv_prog_compiler_pic_works=yes
8266 fi
8267 fi
8268 $RM conftest*
8269
8270fi
8271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8272$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8273
8274if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8275 case $lt_prog_compiler_pic in
8276 "" | " "*) ;;
8277 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8278 esac
8279else
8280 lt_prog_compiler_pic=
8281 lt_prog_compiler_can_build_shared=no
8282fi
8283
8284fi
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296#
8297# Check to make sure the static flag actually works.
8298#
8299wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8301$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8302if ${lt_cv_prog_compiler_static_works+:} false; then :
8303 $as_echo_n "(cached) " >&6
8304else
8305 lt_cv_prog_compiler_static_works=no
8306 save_LDFLAGS="$LDFLAGS"
8307 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8308 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8309 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8310 # The linker can only warn and ignore the option if not recognized
8311 # So say no if there are warnings
8312 if test -s conftest.err; then
8313 # Append any errors to the config.log.
8314 cat conftest.err 1>&5
8315 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8316 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8317 if diff conftest.exp conftest.er2 >/dev/null; then
8318 lt_cv_prog_compiler_static_works=yes
8319 fi
8320 else
8321 lt_cv_prog_compiler_static_works=yes
8322 fi
8323 fi
8324 $RM -r conftest*
8325 LDFLAGS="$save_LDFLAGS"
8326
8327fi
8328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8329$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8330
8331if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8332 :
8333else
8334 lt_prog_compiler_static=
8335fi
8336
8337
8338
8339
8340
8341
8342
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8344$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8345if ${lt_cv_prog_compiler_c_o+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347else
8348 lt_cv_prog_compiler_c_o=no
8349 $RM -r conftest 2>/dev/null
8350 mkdir conftest
8351 cd conftest
8352 mkdir out
8353 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8354
8355 lt_compiler_flag="-o out/conftest2.$ac_objext"
8356 # Insert the option either (1) after the last *FLAGS variable, or
8357 # (2) before a word containing "conftest.", or (3) at the end.
8358 # Note that $ac_compile itself does not contain backslashes and begins
8359 # with a dollar sign (not a hyphen), so the echo should work correctly.
8360 lt_compile=`echo "$ac_compile" | $SED \
8361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8363 -e 's:$: $lt_compiler_flag:'`
8364 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8365 (eval "$lt_compile" 2>out/conftest.err)
8366 ac_status=$?
8367 cat out/conftest.err >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8370 then
8371 # The compiler can only warn and ignore the option if not recognized
8372 # So say no if there are warnings
8373 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8374 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8375 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8376 lt_cv_prog_compiler_c_o=yes
8377 fi
8378 fi
8379 chmod u+w . 2>&5
8380 $RM conftest*
8381 # SGI C++ compiler will create directory out/ii_files/ for
8382 # template instantiation
8383 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8384 $RM out/* && rmdir out
8385 cd ..
8386 $RM -r conftest
8387 $RM conftest*
8388
8389fi
8390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8391$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8392
8393
8394
8395
8396
8397
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8399$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8400if ${lt_cv_prog_compiler_c_o+:} false; then :
8401 $as_echo_n "(cached) " >&6
8402else
8403 lt_cv_prog_compiler_c_o=no
8404 $RM -r conftest 2>/dev/null
8405 mkdir conftest
8406 cd conftest
8407 mkdir out
8408 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8409
8410 lt_compiler_flag="-o out/conftest2.$ac_objext"
8411 # Insert the option either (1) after the last *FLAGS variable, or
8412 # (2) before a word containing "conftest.", or (3) at the end.
8413 # Note that $ac_compile itself does not contain backslashes and begins
8414 # with a dollar sign (not a hyphen), so the echo should work correctly.
8415 lt_compile=`echo "$ac_compile" | $SED \
8416 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8417 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8418 -e 's:$: $lt_compiler_flag:'`
8419 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8420 (eval "$lt_compile" 2>out/conftest.err)
8421 ac_status=$?
8422 cat out/conftest.err >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8425 then
8426 # The compiler can only warn and ignore the option if not recognized
8427 # So say no if there are warnings
8428 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8429 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8430 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8431 lt_cv_prog_compiler_c_o=yes
8432 fi
8433 fi
8434 chmod u+w . 2>&5
8435 $RM conftest*
8436 # SGI C++ compiler will create directory out/ii_files/ for
8437 # template instantiation
8438 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8439 $RM out/* && rmdir out
8440 cd ..
8441 $RM -r conftest
8442 $RM conftest*
8443
8444fi
8445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8446$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8447
8448
8449
8450
8451hard_links="nottested"
8452if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8453 # do not overwrite the value of need_locks provided by the user
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8455$as_echo_n "checking if we can lock with hard links... " >&6; }
8456 hard_links=yes
8457 $RM conftest*
8458 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8459 touch conftest.a
8460 ln conftest.a conftest.b 2>&5 || hard_links=no
8461 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8463$as_echo "$hard_links" >&6; }
8464 if test "$hard_links" = no; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8466$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8467 need_locks=warn
8468 fi
8469else
8470 need_locks=no
8471fi
8472
8473
8474
8475
8476
8477
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8479$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8480
8481 runpath_var=
8482 allow_undefined_flag=
8483 always_export_symbols=no
8484 archive_cmds=
8485 archive_expsym_cmds=
8486 compiler_needs_object=no
8487 enable_shared_with_static_runtimes=no
8488 export_dynamic_flag_spec=
8489 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8490 hardcode_automatic=no
8491 hardcode_direct=no
8492 hardcode_direct_absolute=no
8493 hardcode_libdir_flag_spec=
8494 hardcode_libdir_separator=
8495 hardcode_minus_L=no
8496 hardcode_shlibpath_var=unsupported
8497 inherit_rpath=no
8498 link_all_deplibs=unknown
8499 module_cmds=
8500 module_expsym_cmds=
8501 old_archive_from_new_cmds=
8502 old_archive_from_expsyms_cmds=
8503 thread_safe_flag_spec=
8504 whole_archive_flag_spec=
8505 # include_expsyms should be a list of space-separated symbols to be *always*
8506 # included in the symbol list
8507 include_expsyms=
8508 # exclude_expsyms can be an extended regexp of symbols to exclude
8509 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8510 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8511 # as well as any symbol that contains `d'.
8512 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8513 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8514 # platforms (ab)use it in PIC code, but their linkers get confused if
8515 # the symbol is explicitly referenced. Since portable code cannot
8516 # rely on this symbol name, it's probably fine to never include it in
8517 # preloaded symbol tables.
8518 # Exclude shared library initialization/finalization symbols.
8519 extract_expsyms_cmds=
8520
8521 case $host_os in
8522 cygwin* | mingw* | pw32* | cegcc*)
8523 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8524 # When not using gcc, we currently assume that we are using
8525 # Microsoft Visual C++.
8526 if test "$GCC" != yes; then
8527 with_gnu_ld=no
8528 fi
8529 ;;
8530 interix*)
8531 # we just hope/assume this is gcc and not c89 (= MSVC++)
8532 with_gnu_ld=yes
8533 ;;
8534 openbsd*)
8535 with_gnu_ld=no
8536 ;;
8537 linux* | k*bsd*-gnu | gnu*)
8538 link_all_deplibs=no
8539 ;;
8540 esac
8541
8542 ld_shlibs=yes
8543
8544 # On some targets, GNU ld is compatible enough with the native linker
8545 # that we're better off using the native interface for both.
8546 lt_use_gnu_ld_interface=no
8547 if test "$with_gnu_ld" = yes; then
8548 case $host_os in
8549 aix*)
8550 # The AIX port of GNU ld has always aspired to compatibility
8551 # with the native linker. However, as the warning in the GNU ld
8552 # block says, versions before 2.19.5* couldn't really create working
8553 # shared libraries, regardless of the interface used.
8554 case `$LD -v 2>&1` in
8555 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8556 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8557 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8558 *)
8559 lt_use_gnu_ld_interface=yes
8560 ;;
8561 esac
8562 ;;
8563 *)
8564 lt_use_gnu_ld_interface=yes
8565 ;;
8566 esac
8567 fi
8568
8569 if test "$lt_use_gnu_ld_interface" = yes; then
8570 # If archive_cmds runs LD, not CC, wlarc should be empty
8571 wlarc='${wl}'
8572
8573 # Set some defaults for GNU ld with shared library support. These
8574 # are reset later if shared libraries are not supported. Putting them
8575 # here allows them to be overridden if necessary.
8576 runpath_var=LD_RUN_PATH
8577 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8578 export_dynamic_flag_spec='${wl}--export-dynamic'
8579 # ancient GNU ld didn't support --whole-archive et. al.
8580 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8581 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8582 else
8583 whole_archive_flag_spec=
8584 fi
8585 supports_anon_versioning=no
8586 case `$LD -v 2>&1` in
8587 *GNU\ gold*) supports_anon_versioning=yes ;;
8588 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8589 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8590 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8591 *\ 2.11.*) ;; # other 2.11 versions
8592 *) supports_anon_versioning=yes ;;
8593 esac
8594
8595 # See if GNU ld supports shared libraries.
8596 case $host_os in
8597 aix[3-9]*)
8598 # On AIX/PPC, the GNU linker is very broken
8599 if test "$host_cpu" != ia64; then
8600 ld_shlibs=no
8601 cat <<_LT_EOF 1>&2
8602
8603*** Warning: the GNU linker, at least up to release 2.19, is reported
8604*** to be unable to reliably create shared libraries on AIX.
8605*** Therefore, libtool is disabling shared libraries support. If you
8606*** really care for shared libraries, you may want to install binutils
8607*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8608*** You will then need to restart the configuration process.
8609
8610_LT_EOF
8611 fi
8612 ;;
8613
8614 amigaos*)
8615 case $host_cpu in
8616 powerpc)
8617 # see comment about AmigaOS4 .so support
8618 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8619 archive_expsym_cmds=''
8620 ;;
8621 m68k)
8622 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)'
8623 hardcode_libdir_flag_spec='-L$libdir'
8624 hardcode_minus_L=yes
8625 ;;
8626 esac
8627 ;;
8628
8629 beos*)
8630 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8631 allow_undefined_flag=unsupported
8632 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8633 # support --undefined. This deserves some investigation. FIXME
8634 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8635 else
8636 ld_shlibs=no
8637 fi
8638 ;;
8639
8640 cygwin* | mingw* | pw32* | cegcc*)
8641 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8642 # as there is no search path for DLLs.
8643 hardcode_libdir_flag_spec='-L$libdir'
8644 export_dynamic_flag_spec='${wl}--export-all-symbols'
8645 allow_undefined_flag=unsupported
8646 always_export_symbols=no
8647 enable_shared_with_static_runtimes=yes
8648 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'
8649 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8650
8651 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8652 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8653 # If the export-symbols file already is a .def file (1st line
8654 # is EXPORTS), use it as is; otherwise, prepend...
8655 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8656 cp $export_symbols $output_objdir/$soname.def;
8657 else
8658 echo EXPORTS > $output_objdir/$soname.def;
8659 cat $export_symbols >> $output_objdir/$soname.def;
8660 fi~
8661 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8662 else
8663 ld_shlibs=no
8664 fi
8665 ;;
8666
8667 haiku*)
8668 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8669 link_all_deplibs=yes
8670 ;;
8671
8672 interix[3-9]*)
8673 hardcode_direct=no
8674 hardcode_shlibpath_var=no
8675 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8676 export_dynamic_flag_spec='${wl}-E'
8677 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8678 # Instead, shared libraries are loaded at an image base (0x10000000 by
8679 # default) and relocated if they conflict, which is a slow very memory
8680 # consuming and fragmenting process. To avoid this, we pick a random,
8681 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8682 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8683 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8684 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'
8685 ;;
8686
8687 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8688 tmp_diet=no
8689 if test "$host_os" = linux-dietlibc; then
8690 case $cc_basename in
8691 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8692 esac
8693 fi
8694 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8695 && test "$tmp_diet" = no
8696 then
8697 tmp_addflag=' $pic_flag'
8698 tmp_sharedflag='-shared'
8699 case $cc_basename,$host_cpu in
8700 pgcc*) # Portland Group C compiler
8701 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'
8702 tmp_addflag=' $pic_flag'
8703 ;;
8704 pgf77* | pgf90* | pgf95* | pgfortran*)
8705 # Portland Group f77 and f90 compilers
8706 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'
8707 tmp_addflag=' $pic_flag -Mnomain' ;;
8708 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8709 tmp_addflag=' -i_dynamic' ;;
8710 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8711 tmp_addflag=' -i_dynamic -nofor_main' ;;
8712 ifc* | ifort*) # Intel Fortran compiler
8713 tmp_addflag=' -nofor_main' ;;
8714 lf95*) # Lahey Fortran 8.1
8715 whole_archive_flag_spec=
8716 tmp_sharedflag='--shared' ;;
8717 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8718 tmp_sharedflag='-qmkshrobj'
8719 tmp_addflag= ;;
8720 nvcc*) # Cuda Compiler Driver 2.2
8721 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'
8722 compiler_needs_object=yes
8723 ;;
8724 esac
8725 case `$CC -V 2>&1 | sed 5q` in
8726 *Sun\ C*) # Sun C 5.9
8727 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'
8728 compiler_needs_object=yes
8729 tmp_sharedflag='-G' ;;
8730 *Sun\ F*) # Sun Fortran 8.3
8731 tmp_sharedflag='-G' ;;
8732 esac
8733 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734
8735 if test "x$supports_anon_versioning" = xyes; then
8736 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8737 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8738 echo "local: *; };" >> $output_objdir/$libname.ver~
8739 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8740 fi
8741
8742 case $cc_basename in
8743 xlf* | bgf* | bgxlf* | mpixlf*)
8744 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8745 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8746 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8747 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8748 if test "x$supports_anon_versioning" = xyes; then
8749 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8750 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8751 echo "local: *; };" >> $output_objdir/$libname.ver~
8752 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8753 fi
8754 ;;
8755 esac
8756 else
8757 ld_shlibs=no
8758 fi
8759 ;;
8760
8761 netbsd* | netbsdelf*-gnu)
8762 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8763 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8764 wlarc=
8765 else
8766 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8767 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8768 fi
8769 ;;
8770
8771 solaris*)
8772 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8773 ld_shlibs=no
8774 cat <<_LT_EOF 1>&2
8775
8776*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8777*** create shared libraries on Solaris systems. Therefore, libtool
8778*** is disabling shared libraries support. We urge you to upgrade GNU
8779*** binutils to release 2.9.1 or newer. Another option is to modify
8780*** your PATH or compiler configuration so that the native linker is
8781*** used, and then restart.
8782
8783_LT_EOF
8784 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8785 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8786 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8787 else
8788 ld_shlibs=no
8789 fi
8790 ;;
8791
8792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8793 case `$LD -v 2>&1` in
8794 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8795 ld_shlibs=no
8796 cat <<_LT_EOF 1>&2
8797
8798*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8799*** reliably create shared libraries on SCO systems. Therefore, libtool
8800*** is disabling shared libraries support. We urge you to upgrade GNU
8801*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8802*** your PATH or compiler configuration so that the native linker is
8803*** used, and then restart.
8804
8805_LT_EOF
8806 ;;
8807 *)
8808 # For security reasons, it is highly recommended that you always
8809 # use absolute paths for naming shared libraries, and exclude the
8810 # DT_RUNPATH tag from executables and libraries. But doing so
8811 # requires that you compile everything twice, which is a pain.
8812 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8813 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8814 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8815 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8816 else
8817 ld_shlibs=no
8818 fi
8819 ;;
8820 esac
8821 ;;
8822
8823 sunos4*)
8824 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8825 wlarc=
8826 hardcode_direct=yes
8827 hardcode_shlibpath_var=no
8828 ;;
8829
8830 *)
8831 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8832 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8833 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8834 else
8835 ld_shlibs=no
8836 fi
8837 ;;
8838 esac
8839
8840 if test "$ld_shlibs" = no; then
8841 runpath_var=
8842 hardcode_libdir_flag_spec=
8843 export_dynamic_flag_spec=
8844 whole_archive_flag_spec=
8845 fi
8846 else
8847 # PORTME fill in a description of your system's linker (not GNU ld)
8848 case $host_os in
8849 aix3*)
8850 allow_undefined_flag=unsupported
8851 always_export_symbols=yes
8852 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'
8853 # Note: this linker hardcodes the directories in LIBPATH if there
8854 # are no directories specified by -L.
8855 hardcode_minus_L=yes
8856 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8857 # Neither direct hardcoding nor static linking is supported with a
8858 # broken collect2.
8859 hardcode_direct=unsupported
8860 fi
8861 ;;
8862
8863 aix[4-9]*)
8864 if test "$host_cpu" = ia64; then
8865 # On IA64, the linker does run time linking by default, so we don't
8866 # have to do anything special.
8867 aix_use_runtimelinking=no
8868 exp_sym_flag='-Bexport'
8869 no_entry_flag=""
8870 else
8871 # If we're using GNU nm, then we don't want the "-C" option.
8872 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8873 # Also, AIX nm treats weak defined symbols like other global
8874 # defined symbols, whereas GNU nm marks them as "W".
8875 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8876 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8877 else
8878 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8879 fi
8880 aix_use_runtimelinking=no
8881
8882 # Test if we are trying to use run time linking or normal
8883 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8884 # need to do runtime linking.
8885 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8886 for ld_flag in $LDFLAGS; do
8887 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8888 aix_use_runtimelinking=yes
8889 break
8890 fi
8891 done
8892 ;;
8893 esac
8894
8895 exp_sym_flag='-bexport'
8896 no_entry_flag='-bnoentry'
8897 fi
8898
8899 # When large executables or shared objects are built, AIX ld can
8900 # have problems creating the table of contents. If linking a library
8901 # or program results in "error TOC overflow" add -mminimal-toc to
8902 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8903 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8904
8905 archive_cmds=''
8906 hardcode_direct=yes
8907 hardcode_direct_absolute=yes
8908 hardcode_libdir_separator=':'
8909 link_all_deplibs=yes
8910 file_list_spec='${wl}-f,'
8911
8912 if test "$GCC" = yes; then
8913 case $host_os in aix4.[012]|aix4.[012].*)
8914 # We only want to do this on AIX 4.2 and lower, the check
8915 # below for broken collect2 doesn't work under 4.3+
8916 collect2name=`${CC} -print-prog-name=collect2`
8917 if test -f "$collect2name" &&
8918 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8919 then
8920 # We have reworked collect2
8921 :
8922 else
8923 # We have old collect2
8924 hardcode_direct=unsupported
8925 # It fails to find uninstalled libraries when the uninstalled
8926 # path is not listed in the libpath. Setting hardcode_minus_L
8927 # to unsupported forces relinking
8928 hardcode_minus_L=yes
8929 hardcode_libdir_flag_spec='-L$libdir'
8930 hardcode_libdir_separator=
8931 fi
8932 ;;
8933 esac
8934 shared_flag='-shared'
8935 if test "$aix_use_runtimelinking" = yes; then
8936 shared_flag="$shared_flag "'${wl}-G'
8937 fi
8938 link_all_deplibs=no
8939 else
8940 # not using gcc
8941 if test "$host_cpu" = ia64; then
8942 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8943 # chokes on -Wl,-G. The following line is correct:
8944 shared_flag='-G'
8945 else
8946 if test "$aix_use_runtimelinking" = yes; then
8947 shared_flag='${wl}-G'
8948 else
8949 shared_flag='${wl}-bM:SRE'
8950 fi
8951 fi
8952 fi
8953
8954 export_dynamic_flag_spec='${wl}-bexpall'
8955 # It seems that -bexpall does not export symbols beginning with
8956 # underscore (_), so it is better to generate a list of symbols to export.
8957 always_export_symbols=yes
8958 if test "$aix_use_runtimelinking" = yes; then
8959 # Warning - without using the other runtime loading flags (-brtl),
8960 # -berok will link without error, but may produce a broken library.
8961 allow_undefined_flag='-berok'
8962 # Determine the default libpath from the value encoded in an
8963 # empty executable.
8964 if test "${lt_cv_aix_libpath+set}" = set; then
8965 aix_libpath=$lt_cv_aix_libpath
8966else
8967 if ${lt_cv_aix_libpath_+:} false; then :
8968 $as_echo_n "(cached) " >&6
8969else
8970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8971/* end confdefs.h. */
8972
8973int
8974main ()
8975{
8976
8977 ;
8978 return 0;
8979}
8980_ACEOF
8981if ac_fn_c_try_link "$LINENO"; then :
8982
8983 lt_aix_libpath_sed='
8984 /Import File Strings/,/^$/ {
8985 /^0/ {
8986 s/^0 *\([^ ]*\) *$/\1/
8987 p
8988 }
8989 }'
8990 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8991 # Check for a 64-bit object if we didn't find anything.
8992 if test -z "$lt_cv_aix_libpath_"; then
8993 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8994 fi
8995fi
8996rm -f core conftest.err conftest.$ac_objext \
8997 conftest$ac_exeext conftest.$ac_ext
8998 if test -z "$lt_cv_aix_libpath_"; then
8999 lt_cv_aix_libpath_="/usr/lib:/lib"
9000 fi
9001
9002fi
9003
9004 aix_libpath=$lt_cv_aix_libpath_
9005fi
9006
9007 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9008 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9009 else
9010 if test "$host_cpu" = ia64; then
9011 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9012 allow_undefined_flag="-z nodefs"
9013 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"
9014 else
9015 # Determine the default libpath from the value encoded in an
9016 # empty executable.
9017 if test "${lt_cv_aix_libpath+set}" = set; then
9018 aix_libpath=$lt_cv_aix_libpath
9019else
9020 if ${lt_cv_aix_libpath_+:} false; then :
9021 $as_echo_n "(cached) " >&6
9022else
9023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024/* end confdefs.h. */
9025
9026int
9027main ()
9028{
9029
9030 ;
9031 return 0;
9032}
9033_ACEOF
9034if ac_fn_c_try_link "$LINENO"; then :
9035
9036 lt_aix_libpath_sed='
9037 /Import File Strings/,/^$/ {
9038 /^0/ {
9039 s/^0 *\([^ ]*\) *$/\1/
9040 p
9041 }
9042 }'
9043 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9044 # Check for a 64-bit object if we didn't find anything.
9045 if test -z "$lt_cv_aix_libpath_"; then
9046 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9047 fi
9048fi
9049rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 if test -z "$lt_cv_aix_libpath_"; then
9052 lt_cv_aix_libpath_="/usr/lib:/lib"
9053 fi
9054
9055fi
9056
9057 aix_libpath=$lt_cv_aix_libpath_
9058fi
9059
9060 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9061 # Warning - without using the other run time loading flags,
9062 # -berok will link without error, but may produce a broken library.
9063 no_undefined_flag=' ${wl}-bernotok'
9064 allow_undefined_flag=' ${wl}-berok'
9065 if test "$with_gnu_ld" = yes; then
9066 # We only use this code for GNU lds that support --whole-archive.
9067 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9068 else
9069 # Exported symbols can be pulled into shared objects from archives
9070 whole_archive_flag_spec='$convenience'
9071 fi
9072 archive_cmds_need_lc=yes
9073 # This is similar to how AIX traditionally builds its shared libraries.
9074 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9075 fi
9076 fi
9077 ;;
9078
9079 amigaos*)
9080 case $host_cpu in
9081 powerpc)
9082 # see comment about AmigaOS4 .so support
9083 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9084 archive_expsym_cmds=''
9085 ;;
9086 m68k)
9087 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)'
9088 hardcode_libdir_flag_spec='-L$libdir'
9089 hardcode_minus_L=yes
9090 ;;
9091 esac
9092 ;;
9093
9094 bsdi[45]*)
9095 export_dynamic_flag_spec=-rdynamic
9096 ;;
9097
9098 cygwin* | mingw* | pw32* | cegcc*)
9099 # When not using gcc, we currently assume that we are using
9100 # Microsoft Visual C++.
9101 # hardcode_libdir_flag_spec is actually meaningless, as there is
9102 # no search path for DLLs.
9103 case $cc_basename in
9104 cl*)
9105 # Native MSVC
9106 hardcode_libdir_flag_spec=' '
9107 allow_undefined_flag=unsupported
9108 always_export_symbols=yes
9109 file_list_spec='@'
9110 # Tell ltmain to make .lib files, not .a files.
9111 libext=lib
9112 # Tell ltmain to make .dll files, not .so files.
9113 shrext_cmds=".dll"
9114 # FIXME: Setting linknames here is a bad hack.
9115 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9116 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9117 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9118 else
9119 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9120 fi~
9121 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9122 linknames='
9123 # The linker will not automatically build a static lib if we build a DLL.
9124 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9125 enable_shared_with_static_runtimes=yes
9126 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9127 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9128 # Don't use ranlib
9129 old_postinstall_cmds='chmod 644 $oldlib'
9130 postlink_cmds='lt_outputfile="@OUTPUT@"~
9131 lt_tool_outputfile="@TOOL_OUTPUT@"~
9132 case $lt_outputfile in
9133 *.exe|*.EXE) ;;
9134 *)
9135 lt_outputfile="$lt_outputfile.exe"
9136 lt_tool_outputfile="$lt_tool_outputfile.exe"
9137 ;;
9138 esac~
9139 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9140 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9141 $RM "$lt_outputfile.manifest";
9142 fi'
9143 ;;
9144 *)
9145 # Assume MSVC wrapper
9146 hardcode_libdir_flag_spec=' '
9147 allow_undefined_flag=unsupported
9148 # Tell ltmain to make .lib files, not .a files.
9149 libext=lib
9150 # Tell ltmain to make .dll files, not .so files.
9151 shrext_cmds=".dll"
9152 # FIXME: Setting linknames here is a bad hack.
9153 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9154 # The linker will automatically build a .lib file if we build a DLL.
9155 old_archive_from_new_cmds='true'
9156 # FIXME: Should let the user specify the lib program.
9157 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9158 enable_shared_with_static_runtimes=yes
9159 ;;
9160 esac
9161 ;;
9162
9163 darwin* | rhapsody*)
9164
9165
9166 archive_cmds_need_lc=no
9167 hardcode_direct=no
9168 hardcode_automatic=yes
9169 hardcode_shlibpath_var=unsupported
9170 if test "$lt_cv_ld_force_load" = "yes"; then
9171 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\"`'
9172
9173 else
9174 whole_archive_flag_spec=''
9175 fi
9176 link_all_deplibs=yes
9177 allow_undefined_flag="$_lt_dar_allow_undefined"
9178 case $cc_basename in
9179 ifort*) _lt_dar_can_shared=yes ;;
9180 *) _lt_dar_can_shared=$GCC ;;
9181 esac
9182 if test "$_lt_dar_can_shared" = "yes"; then
9183 output_verbose_link_cmd=func_echo_all
9184 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9185 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9186 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}"
9187 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}"
9188
9189 else
9190 ld_shlibs=no
9191 fi
9192
9193 ;;
9194
9195 dgux*)
9196 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9197 hardcode_libdir_flag_spec='-L$libdir'
9198 hardcode_shlibpath_var=no
9199 ;;
9200
9201 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9202 # support. Future versions do this automatically, but an explicit c++rt0.o
9203 # does not break anything, and helps significantly (at the cost of a little
9204 # extra space).
9205 freebsd2.2*)
9206 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9207 hardcode_libdir_flag_spec='-R$libdir'
9208 hardcode_direct=yes
9209 hardcode_shlibpath_var=no
9210 ;;
9211
9212 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9213 freebsd2.*)
9214 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9215 hardcode_direct=yes
9216 hardcode_minus_L=yes
9217 hardcode_shlibpath_var=no
9218 ;;
9219
9220 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9221 freebsd* | dragonfly*)
9222 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9223 hardcode_libdir_flag_spec='-R$libdir'
9224 hardcode_direct=yes
9225 hardcode_shlibpath_var=no
9226 ;;
9227
9228 hpux9*)
9229 if test "$GCC" = yes; then
9230 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9231 else
9232 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9233 fi
9234 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9235 hardcode_libdir_separator=:
9236 hardcode_direct=yes
9237
9238 # hardcode_minus_L: Not really in the search PATH,
9239 # but as the default location of the library.
9240 hardcode_minus_L=yes
9241 export_dynamic_flag_spec='${wl}-E'
9242 ;;
9243
9244 hpux10*)
9245 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9246 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9247 else
9248 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9249 fi
9250 if test "$with_gnu_ld" = no; then
9251 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9252 hardcode_libdir_separator=:
9253 hardcode_direct=yes
9254 hardcode_direct_absolute=yes
9255 export_dynamic_flag_spec='${wl}-E'
9256 # hardcode_minus_L: Not really in the search PATH,
9257 # but as the default location of the library.
9258 hardcode_minus_L=yes
9259 fi
9260 ;;
9261
9262 hpux11*)
9263 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9264 case $host_cpu in
9265 hppa*64*)
9266 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9267 ;;
9268 ia64*)
9269 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9270 ;;
9271 *)
9272 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9273 ;;
9274 esac
9275 else
9276 case $host_cpu in
9277 hppa*64*)
9278 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9279 ;;
9280 ia64*)
9281 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9282 ;;
9283 *)
9284
9285 # Older versions of the 11.00 compiler do not understand -b yet
9286 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9288$as_echo_n "checking if $CC understands -b... " >&6; }
9289if ${lt_cv_prog_compiler__b+:} false; then :
9290 $as_echo_n "(cached) " >&6
9291else
9292 lt_cv_prog_compiler__b=no
9293 save_LDFLAGS="$LDFLAGS"
9294 LDFLAGS="$LDFLAGS -b"
9295 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9296 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9297 # The linker can only warn and ignore the option if not recognized
9298 # So say no if there are warnings
9299 if test -s conftest.err; then
9300 # Append any errors to the config.log.
9301 cat conftest.err 1>&5
9302 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9303 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9304 if diff conftest.exp conftest.er2 >/dev/null; then
9305 lt_cv_prog_compiler__b=yes
9306 fi
9307 else
9308 lt_cv_prog_compiler__b=yes
9309 fi
9310 fi
9311 $RM -r conftest*
9312 LDFLAGS="$save_LDFLAGS"
9313
9314fi
9315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9316$as_echo "$lt_cv_prog_compiler__b" >&6; }
9317
9318if test x"$lt_cv_prog_compiler__b" = xyes; then
9319 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9320else
9321 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9322fi
9323
9324 ;;
9325 esac
9326 fi
9327 if test "$with_gnu_ld" = no; then
9328 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9329 hardcode_libdir_separator=:
9330
9331 case $host_cpu in
9332 hppa*64*|ia64*)
9333 hardcode_direct=no
9334 hardcode_shlibpath_var=no
9335 ;;
9336 *)
9337 hardcode_direct=yes
9338 hardcode_direct_absolute=yes
9339 export_dynamic_flag_spec='${wl}-E'
9340
9341 # hardcode_minus_L: Not really in the search PATH,
9342 # but as the default location of the library.
9343 hardcode_minus_L=yes
9344 ;;
9345 esac
9346 fi
9347 ;;
9348
9349 irix5* | irix6* | nonstopux*)
9350 if test "$GCC" = yes; then
9351 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'
9352 # Try to use the -exported_symbol ld option, if it does not
9353 # work, assume that -exports_file does not work either and
9354 # implicitly export all symbols.
9355 # This should be the same for all languages, so no per-tag cache variable.
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9357$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9358if ${lt_cv_irix_exported_symbol+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360else
9361 save_LDFLAGS="$LDFLAGS"
9362 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364/* end confdefs.h. */
9365int foo (void) { return 0; }
9366_ACEOF
9367if ac_fn_c_try_link "$LINENO"; then :
9368 lt_cv_irix_exported_symbol=yes
9369else
9370 lt_cv_irix_exported_symbol=no
9371fi
9372rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 LDFLAGS="$save_LDFLAGS"
9375fi
9376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9377$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9378 if test "$lt_cv_irix_exported_symbol" = yes; then
9379 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'
9380 fi
9381 else
9382 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'
9383 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'
9384 fi
9385 archive_cmds_need_lc='no'
9386 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9387 hardcode_libdir_separator=:
9388 inherit_rpath=yes
9389 link_all_deplibs=yes
9390 ;;
9391
9392 netbsd* | netbsdelf*-gnu)
9393 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9394 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9395 else
9396 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9397 fi
9398 hardcode_libdir_flag_spec='-R$libdir'
9399 hardcode_direct=yes
9400 hardcode_shlibpath_var=no
9401 ;;
9402
9403 newsos6)
9404 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405 hardcode_direct=yes
9406 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9407 hardcode_libdir_separator=:
9408 hardcode_shlibpath_var=no
9409 ;;
9410
9411 *nto* | *qnx*)
9412 ;;
9413
9414 openbsd*)
9415 if test -f /usr/libexec/ld.so; then
9416 hardcode_direct=yes
9417 hardcode_shlibpath_var=no
9418 hardcode_direct_absolute=yes
9419 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9420 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9421 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9422 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9423 export_dynamic_flag_spec='${wl}-E'
9424 else
9425 case $host_os in
9426 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9427 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9428 hardcode_libdir_flag_spec='-R$libdir'
9429 ;;
9430 *)
9431 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9432 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9433 ;;
9434 esac
9435 fi
9436 else
9437 ld_shlibs=no
9438 fi
9439 ;;
9440
9441 os2*)
9442 hardcode_libdir_flag_spec='-L$libdir'
9443 hardcode_minus_L=yes
9444 allow_undefined_flag=unsupported
9445 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9446 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9447 ;;
9448
9449 osf3*)
9450 if test "$GCC" = yes; then
9451 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9452 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'
9453 else
9454 allow_undefined_flag=' -expect_unresolved \*'
9455 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'
9456 fi
9457 archive_cmds_need_lc='no'
9458 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9459 hardcode_libdir_separator=:
9460 ;;
9461
9462 osf4* | osf5*) # as osf3* with the addition of -msym flag
9463 if test "$GCC" = yes; then
9464 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9465 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'
9466 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9467 else
9468 allow_undefined_flag=' -expect_unresolved \*'
9469 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'
9470 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~
9471 $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'
9472
9473 # Both c and cxx compiler support -rpath directly
9474 hardcode_libdir_flag_spec='-rpath $libdir'
9475 fi
9476 archive_cmds_need_lc='no'
9477 hardcode_libdir_separator=:
9478 ;;
9479
9480 solaris*)
9481 no_undefined_flag=' -z defs'
9482 if test "$GCC" = yes; then
9483 wlarc='${wl}'
9484 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9485 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9486 $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'
9487 else
9488 case `$CC -V 2>&1` in
9489 *"Compilers 5.0"*)
9490 wlarc=''
9491 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9492 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9493 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9494 ;;
9495 *)
9496 wlarc='${wl}'
9497 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9498 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9499 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9500 ;;
9501 esac
9502 fi
9503 hardcode_libdir_flag_spec='-R$libdir'
9504 hardcode_shlibpath_var=no
9505 case $host_os in
9506 solaris2.[0-5] | solaris2.[0-5].*) ;;
9507 *)
9508 # The compiler driver will combine and reorder linker options,
9509 # but understands `-z linker_flag'. GCC discards it without `$wl',
9510 # but is careful enough not to reorder.
9511 # Supported since Solaris 2.6 (maybe 2.5.1?)
9512 if test "$GCC" = yes; then
9513 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9514 else
9515 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9516 fi
9517 ;;
9518 esac
9519 link_all_deplibs=yes
9520 ;;
9521
9522 sunos4*)
9523 if test "x$host_vendor" = xsequent; then
9524 # Use $CC to link under sequent, because it throws in some extra .o
9525 # files that make .init and .fini sections work.
9526 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9527 else
9528 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9529 fi
9530 hardcode_libdir_flag_spec='-L$libdir'
9531 hardcode_direct=yes
9532 hardcode_minus_L=yes
9533 hardcode_shlibpath_var=no
9534 ;;
9535
9536 sysv4)
9537 case $host_vendor in
9538 sni)
9539 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9540 hardcode_direct=yes # is this really true???
9541 ;;
9542 siemens)
9543 ## LD is ld it makes a PLAMLIB
9544 ## CC just makes a GrossModule.
9545 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9546 reload_cmds='$CC -r -o $output$reload_objs'
9547 hardcode_direct=no
9548 ;;
9549 motorola)
9550 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9551 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9552 ;;
9553 esac
9554 runpath_var='LD_RUN_PATH'
9555 hardcode_shlibpath_var=no
9556 ;;
9557
9558 sysv4.3*)
9559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9560 hardcode_shlibpath_var=no
9561 export_dynamic_flag_spec='-Bexport'
9562 ;;
9563
9564 sysv4*MP*)
9565 if test -d /usr/nec; then
9566 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9567 hardcode_shlibpath_var=no
9568 runpath_var=LD_RUN_PATH
9569 hardcode_runpath_var=yes
9570 ld_shlibs=yes
9571 fi
9572 ;;
9573
9574 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9575 no_undefined_flag='${wl}-z,text'
9576 archive_cmds_need_lc=no
9577 hardcode_shlibpath_var=no
9578 runpath_var='LD_RUN_PATH'
9579
9580 if test "$GCC" = yes; then
9581 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9582 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9583 else
9584 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9585 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9586 fi
9587 ;;
9588
9589 sysv5* | sco3.2v5* | sco5v6*)
9590 # Note: We can NOT use -z defs as we might desire, because we do not
9591 # link with -lc, and that would cause any symbols used from libc to
9592 # always be unresolved, which means just about no library would
9593 # ever link correctly. If we're not using GNU ld we use -z text
9594 # though, which does catch some bad symbols but isn't as heavy-handed
9595 # as -z defs.
9596 no_undefined_flag='${wl}-z,text'
9597 allow_undefined_flag='${wl}-z,nodefs'
9598 archive_cmds_need_lc=no
9599 hardcode_shlibpath_var=no
9600 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9601 hardcode_libdir_separator=':'
9602 link_all_deplibs=yes
9603 export_dynamic_flag_spec='${wl}-Bexport'
9604 runpath_var='LD_RUN_PATH'
9605
9606 if test "$GCC" = yes; then
9607 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9608 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9609 else
9610 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9612 fi
9613 ;;
9614
9615 uts4*)
9616 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9617 hardcode_libdir_flag_spec='-L$libdir'
9618 hardcode_shlibpath_var=no
9619 ;;
9620
9621 *)
9622 ld_shlibs=no
9623 ;;
9624 esac
9625
9626 if test x$host_vendor = xsni; then
9627 case $host in
9628 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9629 export_dynamic_flag_spec='${wl}-Blargedynsym'
9630 ;;
9631 esac
9632 fi
9633 fi
9634
9635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9636$as_echo "$ld_shlibs" >&6; }
9637test "$ld_shlibs" = no && can_build_shared=no
9638
9639with_gnu_ld=$with_gnu_ld
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655#
9656# Do we need to explicitly link libc?
9657#
9658case "x$archive_cmds_need_lc" in
9659x|xyes)
9660 # Assume -lc should be added
9661 archive_cmds_need_lc=yes
9662
9663 if test "$enable_shared" = yes && test "$GCC" = yes; then
9664 case $archive_cmds in
9665 *'~'*)
9666 # FIXME: we may have to deal with multi-command sequences.
9667 ;;
9668 '$CC '*)
9669 # Test whether the compiler implicitly links with -lc since on some
9670 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9671 # to ld, don't add -lc before -lgcc.
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9673$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9674if ${lt_cv_archive_cmds_need_lc+:} false; then :
9675 $as_echo_n "(cached) " >&6
9676else
9677 $RM conftest*
9678 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9679
9680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9681 (eval $ac_compile) 2>&5
9682 ac_status=$?
9683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9684 test $ac_status = 0; } 2>conftest.err; then
9685 soname=conftest
9686 lib=conftest
9687 libobjs=conftest.$ac_objext
9688 deplibs=
9689 wl=$lt_prog_compiler_wl
9690 pic_flag=$lt_prog_compiler_pic
9691 compiler_flags=-v
9692 linker_flags=-v
9693 verstring=
9694 output_objdir=.
9695 libname=conftest
9696 lt_save_allow_undefined_flag=$allow_undefined_flag
9697 allow_undefined_flag=
9698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9699 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9700 ac_status=$?
9701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9702 test $ac_status = 0; }
9703 then
9704 lt_cv_archive_cmds_need_lc=no
9705 else
9706 lt_cv_archive_cmds_need_lc=yes
9707 fi
9708 allow_undefined_flag=$lt_save_allow_undefined_flag
9709 else
9710 cat conftest.err 1>&5
9711 fi
9712 $RM conftest*
9713
9714fi
9715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9716$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9717 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9718 ;;
9719 esac
9720 fi
9721 ;;
9722esac
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9876$as_echo_n "checking dynamic linker characteristics... " >&6; }
9877
9878if test "$GCC" = yes; then
9879 case $host_os in
9880 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9881 *) lt_awk_arg="/^libraries:/" ;;
9882 esac
9883 case $host_os in
9884 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9885 *) lt_sed_strip_eq="s,=/,/,g" ;;
9886 esac
9887 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9888 case $lt_search_path_spec in
9889 *\;*)
9890 # if the path contains ";" then we assume it to be the separator
9891 # otherwise default to the standard path separator (i.e. ":") - it is
9892 # assumed that no part of a normal pathname contains ";" but that should
9893 # okay in the real world where ";" in dirpaths is itself problematic.
9894 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9895 ;;
9896 *)
9897 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9898 ;;
9899 esac
9900 # Ok, now we have the path, separated by spaces, we can step through it
9901 # and add multilib dir if necessary.
9902 lt_tmp_lt_search_path_spec=
9903 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9904 for lt_sys_path in $lt_search_path_spec; do
9905 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9906 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9907 else
9908 test -d "$lt_sys_path" && \
9909 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9910 fi
9911 done
9912 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9913BEGIN {RS=" "; FS="/|\n";} {
9914 lt_foo="";
9915 lt_count=0;
9916 for (lt_i = NF; lt_i > 0; lt_i--) {
9917 if ($lt_i != "" && $lt_i != ".") {
9918 if ($lt_i == "..") {
9919 lt_count++;
9920 } else {
9921 if (lt_count == 0) {
9922 lt_foo="/" $lt_i lt_foo;
9923 } else {
9924 lt_count--;
9925 }
9926 }
9927 }
9928 }
9929 if (lt_foo != "") { lt_freq[lt_foo]++; }
9930 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9931}'`
9932 # AWK program above erroneously prepends '/' to C:/dos/paths
9933 # for these hosts.
9934 case $host_os in
9935 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9936 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9937 esac
9938 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9939else
9940 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9941fi
9942library_names_spec=
9943libname_spec='lib$name'
9944soname_spec=
9945shrext_cmds=".so"
9946postinstall_cmds=
9947postuninstall_cmds=
9948finish_cmds=
9949finish_eval=
9950shlibpath_var=
9951shlibpath_overrides_runpath=unknown
9952version_type=none
9953dynamic_linker="$host_os ld.so"
9954sys_lib_dlsearch_path_spec="/lib /usr/lib"
9955need_lib_prefix=unknown
9956hardcode_into_libs=no
9957
9958# when you set need_version to no, make sure it does not cause -set_version
9959# flags to be left without arguments
9960need_version=unknown
9961
9962case $host_os in
9963aix3*)
9964 version_type=linux # correct to gnu/linux during the next big refactor
9965 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9966 shlibpath_var=LIBPATH
9967
9968 # AIX 3 has no versioning support, so we append a major version to the name.
9969 soname_spec='${libname}${release}${shared_ext}$major'
9970 ;;
9971
9972aix[4-9]*)
9973 version_type=linux # correct to gnu/linux during the next big refactor
9974 need_lib_prefix=no
9975 need_version=no
9976 hardcode_into_libs=yes
9977 if test "$host_cpu" = ia64; then
9978 # AIX 5 supports IA64
9979 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9980 shlibpath_var=LD_LIBRARY_PATH
9981 else
9982 # With GCC up to 2.95.x, collect2 would create an import file
9983 # for dependence libraries. The import file would start with
9984 # the line `#! .'. This would cause the generated library to
9985 # depend on `.', always an invalid library. This was fixed in
9986 # development snapshots of GCC prior to 3.0.
9987 case $host_os in
9988 aix4 | aix4.[01] | aix4.[01].*)
9989 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9990 echo ' yes '
9991 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9992 :
9993 else
9994 can_build_shared=no
9995 fi
9996 ;;
9997 esac
9998 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9999 # soname into executable. Probably we can add versioning support to
10000 # collect2, so additional links can be useful in future.
10001 if test "$aix_use_runtimelinking" = yes; then
10002 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10003 # instead of lib<name>.a to let people know that these are not
10004 # typical AIX shared libraries.
10005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10006 else
10007 # We preserve .a as extension for shared libraries through AIX4.2
10008 # and later when we are not doing run time linking.
10009 library_names_spec='${libname}${release}.a $libname.a'
10010 soname_spec='${libname}${release}${shared_ext}$major'
10011 fi
10012 shlibpath_var=LIBPATH
10013 fi
10014 ;;
10015
10016amigaos*)
10017 case $host_cpu in
10018 powerpc)
10019 # Since July 2007 AmigaOS4 officially supports .so libraries.
10020 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10022 ;;
10023 m68k)
10024 library_names_spec='$libname.ixlibrary $libname.a'
10025 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10026 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
10027 ;;
10028 esac
10029 ;;
10030
10031beos*)
10032 library_names_spec='${libname}${shared_ext}'
10033 dynamic_linker="$host_os ld.so"
10034 shlibpath_var=LIBRARY_PATH
10035 ;;
10036
10037bsdi[45]*)
10038 version_type=linux # correct to gnu/linux during the next big refactor
10039 need_version=no
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10041 soname_spec='${libname}${release}${shared_ext}$major'
10042 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10043 shlibpath_var=LD_LIBRARY_PATH
10044 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10045 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10046 # the default ld.so.conf also contains /usr/contrib/lib and
10047 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10048 # libtool to hard-code these into programs
10049 ;;
10050
10051cygwin* | mingw* | pw32* | cegcc*)
10052 version_type=windows
10053 shrext_cmds=".dll"
10054 need_version=no
10055 need_lib_prefix=no
10056
10057 case $GCC,$cc_basename in
10058 yes,*)
10059 # gcc
10060 library_names_spec='$libname.dll.a'
10061 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10062 postinstall_cmds='base_file=`basename \${file}`~
10063 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10064 dldir=$destdir/`dirname \$dlpath`~
10065 test -d \$dldir || mkdir -p \$dldir~
10066 $install_prog $dir/$dlname \$dldir/$dlname~
10067 chmod a+x \$dldir/$dlname~
10068 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10069 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10070 fi'
10071 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10072 dlpath=$dir/\$dldll~
10073 $RM \$dlpath'
10074 shlibpath_overrides_runpath=yes
10075
10076 case $host_os in
10077 cygwin*)
10078 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10079 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10080
10081 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10082 ;;
10083 mingw* | cegcc*)
10084 # MinGW DLLs use traditional 'lib' prefix
10085 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10086 ;;
10087 pw32*)
10088 # pw32 DLLs use 'pw' prefix rather than 'lib'
10089 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10090 ;;
10091 esac
10092 dynamic_linker='Win32 ld.exe'
10093 ;;
10094
10095 *,cl*)
10096 # Native MSVC
10097 libname_spec='$name'
10098 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10099 library_names_spec='${libname}.dll.lib'
10100
10101 case $build_os in
10102 mingw*)
10103 sys_lib_search_path_spec=
10104 lt_save_ifs=$IFS
10105 IFS=';'
10106 for lt_path in $LIB
10107 do
10108 IFS=$lt_save_ifs
10109 # Let DOS variable expansion print the short 8.3 style file name.
10110 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10111 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10112 done
10113 IFS=$lt_save_ifs
10114 # Convert to MSYS style.
10115 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10116 ;;
10117 cygwin*)
10118 # Convert to unix form, then to dos form, then back to unix form
10119 # but this time dos style (no spaces!) so that the unix form looks
10120 # like /cygdrive/c/PROGRA~1:/cygdr...
10121 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10122 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10123 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10124 ;;
10125 *)
10126 sys_lib_search_path_spec="$LIB"
10127 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10128 # It is most probably a Windows format PATH.
10129 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10130 else
10131 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10132 fi
10133 # FIXME: find the short name or the path components, as spaces are
10134 # common. (e.g. "Program Files" -> "PROGRA~1")
10135 ;;
10136 esac
10137
10138 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10139 postinstall_cmds='base_file=`basename \${file}`~
10140 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10141 dldir=$destdir/`dirname \$dlpath`~
10142 test -d \$dldir || mkdir -p \$dldir~
10143 $install_prog $dir/$dlname \$dldir/$dlname'
10144 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10145 dlpath=$dir/\$dldll~
10146 $RM \$dlpath'
10147 shlibpath_overrides_runpath=yes
10148 dynamic_linker='Win32 link.exe'
10149 ;;
10150
10151 *)
10152 # Assume MSVC wrapper
10153 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10154 dynamic_linker='Win32 ld.exe'
10155 ;;
10156 esac
10157 # FIXME: first we should search . and the directory the executable is in
10158 shlibpath_var=PATH
10159 ;;
10160
10161darwin* | rhapsody*)
10162 dynamic_linker="$host_os dyld"
10163 version_type=darwin
10164 need_lib_prefix=no
10165 need_version=no
10166 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10167 soname_spec='${libname}${release}${major}$shared_ext'
10168 shlibpath_overrides_runpath=yes
10169 shlibpath_var=DYLD_LIBRARY_PATH
10170 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10171
10172 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10173 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10174 ;;
10175
10176dgux*)
10177 version_type=linux # correct to gnu/linux during the next big refactor
10178 need_lib_prefix=no
10179 need_version=no
10180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10181 soname_spec='${libname}${release}${shared_ext}$major'
10182 shlibpath_var=LD_LIBRARY_PATH
10183 ;;
10184
10185freebsd* | dragonfly*)
10186 # DragonFly does not have aout. When/if they implement a new
10187 # versioning mechanism, adjust this.
10188 if test -x /usr/bin/objformat; then
10189 objformat=`/usr/bin/objformat`
10190 else
10191 case $host_os in
10192 freebsd[23].*) objformat=aout ;;
10193 *) objformat=elf ;;
10194 esac
10195 fi
10196 version_type=freebsd-$objformat
10197 case $version_type in
10198 freebsd-elf*)
10199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10200 need_version=no
10201 need_lib_prefix=no
10202 ;;
10203 freebsd-*)
10204 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10205 need_version=yes
10206 ;;
10207 esac
10208 shlibpath_var=LD_LIBRARY_PATH
10209 case $host_os in
10210 freebsd2.*)
10211 shlibpath_overrides_runpath=yes
10212 ;;
10213 freebsd3.[01]* | freebsdelf3.[01]*)
10214 shlibpath_overrides_runpath=yes
10215 hardcode_into_libs=yes
10216 ;;
10217 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10218 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10219 shlibpath_overrides_runpath=no
10220 hardcode_into_libs=yes
10221 ;;
10222 *) # from 4.6 on, and DragonFly
10223 shlibpath_overrides_runpath=yes
10224 hardcode_into_libs=yes
10225 ;;
10226 esac
10227 ;;
10228
10229haiku*)
10230 version_type=linux # correct to gnu/linux during the next big refactor
10231 need_lib_prefix=no
10232 need_version=no
10233 dynamic_linker="$host_os runtime_loader"
10234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10235 soname_spec='${libname}${release}${shared_ext}$major'
10236 shlibpath_var=LIBRARY_PATH
10237 shlibpath_overrides_runpath=yes
10238 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10239 hardcode_into_libs=yes
10240 ;;
10241
10242hpux9* | hpux10* | hpux11*)
10243 # Give a soname corresponding to the major version so that dld.sl refuses to
10244 # link against other versions.
10245 version_type=sunos
10246 need_lib_prefix=no
10247 need_version=no
10248 case $host_cpu in
10249 ia64*)
10250 shrext_cmds='.so'
10251 hardcode_into_libs=yes
10252 dynamic_linker="$host_os dld.so"
10253 shlibpath_var=LD_LIBRARY_PATH
10254 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10256 soname_spec='${libname}${release}${shared_ext}$major'
10257 if test "X$HPUX_IA64_MODE" = X32; then
10258 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10259 else
10260 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10261 fi
10262 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10263 ;;
10264 hppa*64*)
10265 shrext_cmds='.sl'
10266 hardcode_into_libs=yes
10267 dynamic_linker="$host_os dld.sl"
10268 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10269 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10271 soname_spec='${libname}${release}${shared_ext}$major'
10272 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10273 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10274 ;;
10275 *)
10276 shrext_cmds='.sl'
10277 dynamic_linker="$host_os dld.sl"
10278 shlibpath_var=SHLIB_PATH
10279 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10281 soname_spec='${libname}${release}${shared_ext}$major'
10282 ;;
10283 esac
10284 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10285 postinstall_cmds='chmod 555 $lib'
10286 # or fails outright, so override atomically:
10287 install_override_mode=555
10288 ;;
10289
10290interix[3-9]*)
10291 version_type=linux # correct to gnu/linux during the next big refactor
10292 need_lib_prefix=no
10293 need_version=no
10294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10295 soname_spec='${libname}${release}${shared_ext}$major'
10296 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10297 shlibpath_var=LD_LIBRARY_PATH
10298 shlibpath_overrides_runpath=no
10299 hardcode_into_libs=yes
10300 ;;
10301
10302irix5* | irix6* | nonstopux*)
10303 case $host_os in
10304 nonstopux*) version_type=nonstopux ;;
10305 *)
10306 if test "$lt_cv_prog_gnu_ld" = yes; then
10307 version_type=linux # correct to gnu/linux during the next big refactor
10308 else
10309 version_type=irix
10310 fi ;;
10311 esac
10312 need_lib_prefix=no
10313 need_version=no
10314 soname_spec='${libname}${release}${shared_ext}$major'
10315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10316 case $host_os in
10317 irix5* | nonstopux*)
10318 libsuff= shlibsuff=
10319 ;;
10320 *)
10321 case $LD in # libtool.m4 will add one of these switches to LD
10322 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10323 libsuff= shlibsuff= libmagic=32-bit;;
10324 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10325 libsuff=32 shlibsuff=N32 libmagic=N32;;
10326 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10327 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10328 *) libsuff= shlibsuff= libmagic=never-match;;
10329 esac
10330 ;;
10331 esac
10332 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10333 shlibpath_overrides_runpath=no
10334 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10335 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10336 hardcode_into_libs=yes
10337 ;;
10338
10339# No shared lib support for Linux oldld, aout, or coff.
10340linux*oldld* | linux*aout* | linux*coff*)
10341 dynamic_linker=no
10342 ;;
10343
10344# This must be glibc/ELF.
10345linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10346 version_type=linux # correct to gnu/linux during the next big refactor
10347 need_lib_prefix=no
10348 need_version=no
10349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10350 soname_spec='${libname}${release}${shared_ext}$major'
10351 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10352 shlibpath_var=LD_LIBRARY_PATH
10353 shlibpath_overrides_runpath=no
10354
10355 # Some binutils ld are patched to set DT_RUNPATH
10356 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10357 $as_echo_n "(cached) " >&6
10358else
10359 lt_cv_shlibpath_overrides_runpath=no
10360 save_LDFLAGS=$LDFLAGS
10361 save_libdir=$libdir
10362 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10363 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365/* end confdefs.h. */
10366
10367int
10368main ()
10369{
10370
10371 ;
10372 return 0;
10373}
10374_ACEOF
10375if ac_fn_c_try_link "$LINENO"; then :
10376 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10377 lt_cv_shlibpath_overrides_runpath=yes
10378fi
10379fi
10380rm -f core conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10382 LDFLAGS=$save_LDFLAGS
10383 libdir=$save_libdir
10384
10385fi
10386
10387 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10388
10389 # This implies no fast_install, which is unacceptable.
10390 # Some rework will be needed to allow for fast_install
10391 # before this can be enabled.
10392 hardcode_into_libs=yes
10393
10394 # Append ld.so.conf contents to the search path
10395 if test -f /etc/ld.so.conf; then
10396 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' ' '`
10397 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10398 fi
10399
10400 # We used to test for /lib/ld.so.1 and disable shared libraries on
10401 # powerpc, because MkLinux only supported shared libraries with the
10402 # GNU dynamic linker. Since this was broken with cross compilers,
10403 # most powerpc-linux boxes support dynamic linking these days and
10404 # people can always --disable-shared, the test was removed, and we
10405 # assume the GNU/Linux dynamic linker is in use.
10406 dynamic_linker='GNU/Linux ld.so'
10407 ;;
10408
10409netbsdelf*-gnu)
10410 version_type=linux
10411 need_lib_prefix=no
10412 need_version=no
10413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10414 soname_spec='${libname}${release}${shared_ext}$major'
10415 shlibpath_var=LD_LIBRARY_PATH
10416 shlibpath_overrides_runpath=no
10417 hardcode_into_libs=yes
10418 dynamic_linker='NetBSD ld.elf_so'
10419 ;;
10420
10421netbsd*)
10422 version_type=sunos
10423 need_lib_prefix=no
10424 need_version=no
10425 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10427 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10428 dynamic_linker='NetBSD (a.out) ld.so'
10429 else
10430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10431 soname_spec='${libname}${release}${shared_ext}$major'
10432 dynamic_linker='NetBSD ld.elf_so'
10433 fi
10434 shlibpath_var=LD_LIBRARY_PATH
10435 shlibpath_overrides_runpath=yes
10436 hardcode_into_libs=yes
10437 ;;
10438
10439newsos6)
10440 version_type=linux # correct to gnu/linux during the next big refactor
10441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442 shlibpath_var=LD_LIBRARY_PATH
10443 shlibpath_overrides_runpath=yes
10444 ;;
10445
10446*nto* | *qnx*)
10447 version_type=qnx
10448 need_lib_prefix=no
10449 need_version=no
10450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10451 soname_spec='${libname}${release}${shared_ext}$major'
10452 shlibpath_var=LD_LIBRARY_PATH
10453 shlibpath_overrides_runpath=no
10454 hardcode_into_libs=yes
10455 dynamic_linker='ldqnx.so'
10456 ;;
10457
10458openbsd*)
10459 version_type=sunos
10460 sys_lib_dlsearch_path_spec="/usr/lib"
10461 need_lib_prefix=no
10462 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10463 case $host_os in
10464 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10465 *) need_version=no ;;
10466 esac
10467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10468 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10469 shlibpath_var=LD_LIBRARY_PATH
10470 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10471 case $host_os in
10472 openbsd2.[89] | openbsd2.[89].*)
10473 shlibpath_overrides_runpath=no
10474 ;;
10475 *)
10476 shlibpath_overrides_runpath=yes
10477 ;;
10478 esac
10479 else
10480 shlibpath_overrides_runpath=yes
10481 fi
10482 ;;
10483
10484os2*)
10485 libname_spec='$name'
10486 shrext_cmds=".dll"
10487 need_lib_prefix=no
10488 library_names_spec='$libname${shared_ext} $libname.a'
10489 dynamic_linker='OS/2 ld.exe'
10490 shlibpath_var=LIBPATH
10491 ;;
10492
10493osf3* | osf4* | osf5*)
10494 version_type=osf
10495 need_lib_prefix=no
10496 need_version=no
10497 soname_spec='${libname}${release}${shared_ext}$major'
10498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10499 shlibpath_var=LD_LIBRARY_PATH
10500 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10501 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10502 ;;
10503
10504rdos*)
10505 dynamic_linker=no
10506 ;;
10507
10508solaris*)
10509 version_type=linux # correct to gnu/linux during the next big refactor
10510 need_lib_prefix=no
10511 need_version=no
10512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 soname_spec='${libname}${release}${shared_ext}$major'
10514 shlibpath_var=LD_LIBRARY_PATH
10515 shlibpath_overrides_runpath=yes
10516 hardcode_into_libs=yes
10517 # ldd complains unless libraries are executable
10518 postinstall_cmds='chmod +x $lib'
10519 ;;
10520
10521sunos4*)
10522 version_type=sunos
10523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10524 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10525 shlibpath_var=LD_LIBRARY_PATH
10526 shlibpath_overrides_runpath=yes
10527 if test "$with_gnu_ld" = yes; then
10528 need_lib_prefix=no
10529 fi
10530 need_version=yes
10531 ;;
10532
10533sysv4 | sysv4.3*)
10534 version_type=linux # correct to gnu/linux during the next big refactor
10535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10537 shlibpath_var=LD_LIBRARY_PATH
10538 case $host_vendor in
10539 sni)
10540 shlibpath_overrides_runpath=no
10541 need_lib_prefix=no
10542 runpath_var=LD_RUN_PATH
10543 ;;
10544 siemens)
10545 need_lib_prefix=no
10546 ;;
10547 motorola)
10548 need_lib_prefix=no
10549 need_version=no
10550 shlibpath_overrides_runpath=no
10551 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10552 ;;
10553 esac
10554 ;;
10555
10556sysv4*MP*)
10557 if test -d /usr/nec ;then
10558 version_type=linux # correct to gnu/linux during the next big refactor
10559 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10560 soname_spec='$libname${shared_ext}.$major'
10561 shlibpath_var=LD_LIBRARY_PATH
10562 fi
10563 ;;
10564
10565sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10566 version_type=freebsd-elf
10567 need_lib_prefix=no
10568 need_version=no
10569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10570 soname_spec='${libname}${release}${shared_ext}$major'
10571 shlibpath_var=LD_LIBRARY_PATH
10572 shlibpath_overrides_runpath=yes
10573 hardcode_into_libs=yes
10574 if test "$with_gnu_ld" = yes; then
10575 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10576 else
10577 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10578 case $host_os in
10579 sco3.2v5*)
10580 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10581 ;;
10582 esac
10583 fi
10584 sys_lib_dlsearch_path_spec='/usr/lib'
10585 ;;
10586
10587tpf*)
10588 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10589 version_type=linux # correct to gnu/linux during the next big refactor
10590 need_lib_prefix=no
10591 need_version=no
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593 shlibpath_var=LD_LIBRARY_PATH
10594 shlibpath_overrides_runpath=no
10595 hardcode_into_libs=yes
10596 ;;
10597
10598uts4*)
10599 version_type=linux # correct to gnu/linux during the next big refactor
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601 soname_spec='${libname}${release}${shared_ext}$major'
10602 shlibpath_var=LD_LIBRARY_PATH
10603 ;;
10604
10605*)
10606 dynamic_linker=no
10607 ;;
10608esac
10609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10610$as_echo "$dynamic_linker" >&6; }
10611test "$dynamic_linker" = no && can_build_shared=no
10612
10613variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10614if test "$GCC" = yes; then
10615 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10616fi
10617
10618if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10619 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10620fi
10621if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10622 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10623fi
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10717$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10718hardcode_action=
10719if test -n "$hardcode_libdir_flag_spec" ||
10720 test -n "$runpath_var" ||
10721 test "X$hardcode_automatic" = "Xyes" ; then
10722
10723 # We can hardcode non-existent directories.
10724 if test "$hardcode_direct" != no &&
10725 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10726 # have to relink, otherwise we might link with an installed library
10727 # when we should be linking with a yet-to-be-installed one
10728 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10729 test "$hardcode_minus_L" != no; then
10730 # Linking always hardcodes the temporary library directory.
10731 hardcode_action=relink
10732 else
10733 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10734 hardcode_action=immediate
10735 fi
10736else
10737 # We cannot hardcode anything, or else we can only hardcode existing
10738 # directories.
10739 hardcode_action=unsupported
10740fi
10741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10742$as_echo "$hardcode_action" >&6; }
10743
10744if test "$hardcode_action" = relink ||
10745 test "$inherit_rpath" = yes; then
10746 # Fast installation is not supported
10747 enable_fast_install=no
10748elif test "$shlibpath_overrides_runpath" = yes ||
10749 test "$enable_shared" = no; then
10750 # Fast installation is not necessary
10751 enable_fast_install=needless
10752fi
10753
10754
10755
10756
10757
10758
10759 if test "x$enable_dlopen" != xyes; then
10760 enable_dlopen=unknown
10761 enable_dlopen_self=unknown
10762 enable_dlopen_self_static=unknown
10763else
10764 lt_cv_dlopen=no
10765 lt_cv_dlopen_libs=
10766
10767 case $host_os in
10768 beos*)
10769 lt_cv_dlopen="load_add_on"
10770 lt_cv_dlopen_libs=
10771 lt_cv_dlopen_self=yes
10772 ;;
10773
10774 mingw* | pw32* | cegcc*)
10775 lt_cv_dlopen="LoadLibrary"
10776 lt_cv_dlopen_libs=
10777 ;;
10778
10779 cygwin*)
10780 lt_cv_dlopen="dlopen"
10781 lt_cv_dlopen_libs=
10782 ;;
10783
10784 darwin*)
10785 # if libdl is installed we need to link against it
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10787$as_echo_n "checking for dlopen in -ldl... " >&6; }
10788if ${ac_cv_lib_dl_dlopen+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790else
10791 ac_check_lib_save_LIBS=$LIBS
10792LIBS="-ldl $LIBS"
10793cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794/* end confdefs.h. */
10795
10796/* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799#ifdef __cplusplus
10800extern "C"
10801#endif
10802char dlopen ();
10803int
10804main ()
10805{
10806return dlopen ();
10807 ;
10808 return 0;
10809}
10810_ACEOF
10811if ac_fn_c_try_link "$LINENO"; then :
10812 ac_cv_lib_dl_dlopen=yes
10813else
10814 ac_cv_lib_dl_dlopen=no
10815fi
10816rm -f core conftest.err conftest.$ac_objext \
10817 conftest$ac_exeext conftest.$ac_ext
10818LIBS=$ac_check_lib_save_LIBS
10819fi
10820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10821$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10822if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10823 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10824else
10825
10826 lt_cv_dlopen="dyld"
10827 lt_cv_dlopen_libs=
10828 lt_cv_dlopen_self=yes
10829
10830fi
10831
10832 ;;
10833
10834 *)
10835 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10836if test "x$ac_cv_func_shl_load" = xyes; then :
10837 lt_cv_dlopen="shl_load"
10838else
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10840$as_echo_n "checking for shl_load in -ldld... " >&6; }
10841if ${ac_cv_lib_dld_shl_load+:} false; then :
10842 $as_echo_n "(cached) " >&6
10843else
10844 ac_check_lib_save_LIBS=$LIBS
10845LIBS="-ldld $LIBS"
10846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847/* end confdefs.h. */
10848
10849/* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10852#ifdef __cplusplus
10853extern "C"
10854#endif
10855char shl_load ();
10856int
10857main ()
10858{
10859return shl_load ();
10860 ;
10861 return 0;
10862}
10863_ACEOF
10864if ac_fn_c_try_link "$LINENO"; then :
10865 ac_cv_lib_dld_shl_load=yes
10866else
10867 ac_cv_lib_dld_shl_load=no
10868fi
10869rm -f core conftest.err conftest.$ac_objext \
10870 conftest$ac_exeext conftest.$ac_ext
10871LIBS=$ac_check_lib_save_LIBS
10872fi
10873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10874$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10875if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10876 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10877else
10878 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10879if test "x$ac_cv_func_dlopen" = xyes; then :
10880 lt_cv_dlopen="dlopen"
10881else
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10883$as_echo_n "checking for dlopen in -ldl... " >&6; }
10884if ${ac_cv_lib_dl_dlopen+:} false; then :
10885 $as_echo_n "(cached) " >&6
10886else
10887 ac_check_lib_save_LIBS=$LIBS
10888LIBS="-ldl $LIBS"
10889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890/* end confdefs.h. */
10891
10892/* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10895#ifdef __cplusplus
10896extern "C"
10897#endif
10898char dlopen ();
10899int
10900main ()
10901{
10902return dlopen ();
10903 ;
10904 return 0;
10905}
10906_ACEOF
10907if ac_fn_c_try_link "$LINENO"; then :
10908 ac_cv_lib_dl_dlopen=yes
10909else
10910 ac_cv_lib_dl_dlopen=no
10911fi
10912rm -f core conftest.err conftest.$ac_objext \
10913 conftest$ac_exeext conftest.$ac_ext
10914LIBS=$ac_check_lib_save_LIBS
10915fi
10916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10917$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10918if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10919 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10920else
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10922$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10923if ${ac_cv_lib_svld_dlopen+:} false; then :
10924 $as_echo_n "(cached) " >&6
10925else
10926 ac_check_lib_save_LIBS=$LIBS
10927LIBS="-lsvld $LIBS"
10928cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929/* end confdefs.h. */
10930
10931/* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10934#ifdef __cplusplus
10935extern "C"
10936#endif
10937char dlopen ();
10938int
10939main ()
10940{
10941return dlopen ();
10942 ;
10943 return 0;
10944}
10945_ACEOF
10946if ac_fn_c_try_link "$LINENO"; then :
10947 ac_cv_lib_svld_dlopen=yes
10948else
10949 ac_cv_lib_svld_dlopen=no
10950fi
10951rm -f core conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10953LIBS=$ac_check_lib_save_LIBS
10954fi
10955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10956$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10957if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10958 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10959else
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10961$as_echo_n "checking for dld_link in -ldld... " >&6; }
10962if ${ac_cv_lib_dld_dld_link+:} false; then :
10963 $as_echo_n "(cached) " >&6
10964else
10965 ac_check_lib_save_LIBS=$LIBS
10966LIBS="-ldld $LIBS"
10967cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968/* end confdefs.h. */
10969
10970/* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973#ifdef __cplusplus
10974extern "C"
10975#endif
10976char dld_link ();
10977int
10978main ()
10979{
10980return dld_link ();
10981 ;
10982 return 0;
10983}
10984_ACEOF
10985if ac_fn_c_try_link "$LINENO"; then :
10986 ac_cv_lib_dld_dld_link=yes
10987else
10988 ac_cv_lib_dld_dld_link=no
10989fi
10990rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992LIBS=$ac_check_lib_save_LIBS
10993fi
10994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10995$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10996if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10997 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10998fi
10999
11000
11001fi
11002
11003
11004fi
11005
11006
11007fi
11008
11009
11010fi
11011
11012
11013fi
11014
11015 ;;
11016 esac
11017
11018 if test "x$lt_cv_dlopen" != xno; then
11019 enable_dlopen=yes
11020 else
11021 enable_dlopen=no
11022 fi
11023
11024 case $lt_cv_dlopen in
11025 dlopen)
11026 save_CPPFLAGS="$CPPFLAGS"
11027 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11028
11029 save_LDFLAGS="$LDFLAGS"
11030 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11031
11032 save_LIBS="$LIBS"
11033 LIBS="$lt_cv_dlopen_libs $LIBS"
11034
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11036$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11037if ${lt_cv_dlopen_self+:} false; then :
11038 $as_echo_n "(cached) " >&6
11039else
11040 if test "$cross_compiling" = yes; then :
11041 lt_cv_dlopen_self=cross
11042else
11043 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11044 lt_status=$lt_dlunknown
11045 cat > conftest.$ac_ext <<_LT_EOF
11046#line $LINENO "configure"
11047#include "confdefs.h"
11048
11049#if HAVE_DLFCN_H
11050#include <dlfcn.h>
11051#endif
11052
11053#include <stdio.h>
11054
11055#ifdef RTLD_GLOBAL
11056# define LT_DLGLOBAL RTLD_GLOBAL
11057#else
11058# ifdef DL_GLOBAL
11059# define LT_DLGLOBAL DL_GLOBAL
11060# else
11061# define LT_DLGLOBAL 0
11062# endif
11063#endif
11064
11065/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11066 find out it does not work in some platform. */
11067#ifndef LT_DLLAZY_OR_NOW
11068# ifdef RTLD_LAZY
11069# define LT_DLLAZY_OR_NOW RTLD_LAZY
11070# else
11071# ifdef DL_LAZY
11072# define LT_DLLAZY_OR_NOW DL_LAZY
11073# else
11074# ifdef RTLD_NOW
11075# define LT_DLLAZY_OR_NOW RTLD_NOW
11076# else
11077# ifdef DL_NOW
11078# define LT_DLLAZY_OR_NOW DL_NOW
11079# else
11080# define LT_DLLAZY_OR_NOW 0
11081# endif
11082# endif
11083# endif
11084# endif
11085#endif
11086
11087/* When -fvisbility=hidden is used, assume the code has been annotated
11088 correspondingly for the symbols needed. */
11089#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11090int fnord () __attribute__((visibility("default")));
11091#endif
11092
11093int fnord () { return 42; }
11094int main ()
11095{
11096 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11097 int status = $lt_dlunknown;
11098
11099 if (self)
11100 {
11101 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11102 else
11103 {
11104 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11105 else puts (dlerror ());
11106 }
11107 /* dlclose (self); */
11108 }
11109 else
11110 puts (dlerror ());
11111
11112 return status;
11113}
11114_LT_EOF
11115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11116 (eval $ac_link) 2>&5
11117 ac_status=$?
11118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11119 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11120 (./conftest; exit; ) >&5 2>/dev/null
11121 lt_status=$?
11122 case x$lt_status in
11123 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11124 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11125 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11126 esac
11127 else :
11128 # compilation failed
11129 lt_cv_dlopen_self=no
11130 fi
11131fi
11132rm -fr conftest*
11133
11134
11135fi
11136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11137$as_echo "$lt_cv_dlopen_self" >&6; }
11138
11139 if test "x$lt_cv_dlopen_self" = xyes; then
11140 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11142$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11143if ${lt_cv_dlopen_self_static+:} false; then :
11144 $as_echo_n "(cached) " >&6
11145else
11146 if test "$cross_compiling" = yes; then :
11147 lt_cv_dlopen_self_static=cross
11148else
11149 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11150 lt_status=$lt_dlunknown
11151 cat > conftest.$ac_ext <<_LT_EOF
11152#line $LINENO "configure"
11153#include "confdefs.h"
11154
11155#if HAVE_DLFCN_H
11156#include <dlfcn.h>
11157#endif
11158
11159#include <stdio.h>
11160
11161#ifdef RTLD_GLOBAL
11162# define LT_DLGLOBAL RTLD_GLOBAL
11163#else
11164# ifdef DL_GLOBAL
11165# define LT_DLGLOBAL DL_GLOBAL
11166# else
11167# define LT_DLGLOBAL 0
11168# endif
11169#endif
11170
11171/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11172 find out it does not work in some platform. */
11173#ifndef LT_DLLAZY_OR_NOW
11174# ifdef RTLD_LAZY
11175# define LT_DLLAZY_OR_NOW RTLD_LAZY
11176# else
11177# ifdef DL_LAZY
11178# define LT_DLLAZY_OR_NOW DL_LAZY
11179# else
11180# ifdef RTLD_NOW
11181# define LT_DLLAZY_OR_NOW RTLD_NOW
11182# else
11183# ifdef DL_NOW
11184# define LT_DLLAZY_OR_NOW DL_NOW
11185# else
11186# define LT_DLLAZY_OR_NOW 0
11187# endif
11188# endif
11189# endif
11190# endif
11191#endif
11192
11193/* When -fvisbility=hidden is used, assume the code has been annotated
11194 correspondingly for the symbols needed. */
11195#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11196int fnord () __attribute__((visibility("default")));
11197#endif
11198
11199int fnord () { return 42; }
11200int main ()
11201{
11202 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11203 int status = $lt_dlunknown;
11204
11205 if (self)
11206 {
11207 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11208 else
11209 {
11210 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11211 else puts (dlerror ());
11212 }
11213 /* dlclose (self); */
11214 }
11215 else
11216 puts (dlerror ());
11217
11218 return status;
11219}
11220_LT_EOF
11221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11222 (eval $ac_link) 2>&5
11223 ac_status=$?
11224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11225 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11226 (./conftest; exit; ) >&5 2>/dev/null
11227 lt_status=$?
11228 case x$lt_status in
11229 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11230 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11231 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11232 esac
11233 else :
11234 # compilation failed
11235 lt_cv_dlopen_self_static=no
11236 fi
11237fi
11238rm -fr conftest*
11239
11240
11241fi
11242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11243$as_echo "$lt_cv_dlopen_self_static" >&6; }
11244 fi
11245
11246 CPPFLAGS="$save_CPPFLAGS"
11247 LDFLAGS="$save_LDFLAGS"
11248 LIBS="$save_LIBS"
11249 ;;
11250 esac
11251
11252 case $lt_cv_dlopen_self in
11253 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11254 *) enable_dlopen_self=unknown ;;
11255 esac
11256
11257 case $lt_cv_dlopen_self_static in
11258 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11259 *) enable_dlopen_self_static=unknown ;;
11260 esac
11261fi
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279striplib=
11280old_striplib=
11281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11282$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11283if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11284 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11285 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11287$as_echo "yes" >&6; }
11288else
11289# FIXME - insert some real tests, host_os isn't really good enough
11290 case $host_os in
11291 darwin*)
11292 if test -n "$STRIP" ; then
11293 striplib="$STRIP -x"
11294 old_striplib="$STRIP -S"
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11296$as_echo "yes" >&6; }
11297 else
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11299$as_echo "no" >&6; }
11300 fi
11301 ;;
11302 *)
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11304$as_echo "no" >&6; }
11305 ;;
11306 esac
11307fi
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320 # Report which library types will actually be built
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11322$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11324$as_echo "$can_build_shared" >&6; }
11325
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11327$as_echo_n "checking whether to build shared libraries... " >&6; }
11328 test "$can_build_shared" = "no" && enable_shared=no
11329
11330 # On AIX, shared libraries and static libraries use the same namespace, and
11331 # are all built from PIC.
11332 case $host_os in
11333 aix3*)
11334 test "$enable_shared" = yes && enable_static=no
11335 if test -n "$RANLIB"; then
11336 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11337 postinstall_cmds='$RANLIB $lib'
11338 fi
11339 ;;
11340
11341 aix[4-9]*)
11342 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11343 test "$enable_shared" = yes && enable_static=no
11344 fi
11345 ;;
11346 esac
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11348$as_echo "$enable_shared" >&6; }
11349
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11351$as_echo_n "checking whether to build static libraries... " >&6; }
11352 # Make sure either enable_shared or enable_static is yes.
11353 test "$enable_shared" = yes || enable_static=yes
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11355$as_echo "$enable_static" >&6; }
11356
11357
11358
11359
11360fi
11361ac_ext=c
11362ac_cpp='$CPP $CPPFLAGS'
11363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11365ac_compiler_gnu=$ac_cv_c_compiler_gnu
11366
11367CC="$lt_save_CC"
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383 ac_config_commands="$ac_config_commands libtool"
11384
11385
11386
11387
11388# Only expand once:
11389
11390
11391
11392ac_config_files="$ac_config_files Makefile"
11393
11394cat >confcache <<\_ACEOF
11395# This file is a shell script that caches the results of configure
11396# tests run on this system so they can be shared between configure
11397# scripts and configure runs, see configure's option --config-cache.
11398# It is not useful on other systems. If it contains results you don't
11399# want to keep, you may remove or edit it.
11400#
11401# config.status only pays attention to the cache file if you give it
11402# the --recheck option to rerun configure.
11403#
11404# `ac_cv_env_foo' variables (set or unset) will be overridden when
11405# loading this file, other *unset* `ac_cv_foo' will be assigned the
11406# following values.
11407
11408_ACEOF
11409
11410# The following way of writing the cache mishandles newlines in values,
11411# but we know of no workaround that is simple, portable, and efficient.
11412# So, we kill variables containing newlines.
11413# Ultrix sh set writes to stderr and can't be redirected directly,
11414# and sets the high bit in the cache file unless we assign to the vars.
11415(
11416 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11417 eval ac_val=\$$ac_var
11418 case $ac_val in #(
11419 *${as_nl}*)
11420 case $ac_var in #(
11421 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11422$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11423 esac
11424 case $ac_var in #(
11425 _ | IFS | as_nl) ;; #(
11426 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11427 *) { eval $ac_var=; unset $ac_var;} ;;
11428 esac ;;
11429 esac
11430 done
11431
11432 (set) 2>&1 |
11433 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11434 *${as_nl}ac_space=\ *)
11435 # `set' does not quote correctly, so add quotes: double-quote
11436 # substitution turns \\\\ into \\, and sed turns \\ into \.
11437 sed -n \
11438 "s/'/'\\\\''/g;
11439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11440 ;; #(
11441 *)
11442 # `set' quotes correctly as required by POSIX, so do not add quotes.
11443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11444 ;;
11445 esac |
11446 sort
11447) |
11448 sed '
11449 /^ac_cv_env_/b end
11450 t clear
11451 :clear
11452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11453 t end
11454 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11455 :end' >>confcache
11456if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11457 if test -w "$cache_file"; then
11458 if test "x$cache_file" != "x/dev/null"; then
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11460$as_echo "$as_me: updating cache $cache_file" >&6;}
11461 if test ! -f "$cache_file" || test -h "$cache_file"; then
11462 cat confcache >"$cache_file"
11463 else
11464 case $cache_file in #(
11465 */* | ?:*)
11466 mv -f confcache "$cache_file"$$ &&
11467 mv -f "$cache_file"$$ "$cache_file" ;; #(
11468 *)
11469 mv -f confcache "$cache_file" ;;
11470 esac
11471 fi
11472 fi
11473 else
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11475$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11476 fi
11477fi
11478rm -f confcache
11479
11480test "x$prefix" = xNONE && prefix=$ac_default_prefix
11481# Let make expand exec_prefix.
11482test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11483
11484# Transform confdefs.h into DEFS.
11485# Protect against shell expansion while executing Makefile rules.
11486# Protect against Makefile macro expansion.
11487#
11488# If the first sed substitution is executed (which looks for macros that
11489# take arguments), then branch to the quote section. Otherwise,
11490# look for a macro that doesn't take arguments.
11491ac_script='
11492:mline
11493/\\$/{
11494 N
11495 s,\\\n,,
11496 b mline
11497}
11498t clear
11499:clear
11500s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11501t quote
11502s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11503t quote
11504b any
11505:quote
11506s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11507s/\[/\\&/g
11508s/\]/\\&/g
11509s/\$/$$/g
11510H
11511:any
11512${
11513 g
11514 s/^\n//
11515 s/\n/ /g
11516 p
11517}
11518'
11519DEFS=`sed -n "$ac_script" confdefs.h`
11520
11521
11522ac_libobjs=
11523ac_ltlibobjs=
11524U=
11525for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11526 # 1. Remove the extension, and $U if already installed.
11527 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11528 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11529 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11530 # will be set to the directory where LIBOBJS objects are built.
11531 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11532 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11533done
11534LIBOBJS=$ac_libobjs
11535
11536LTLIBOBJS=$ac_ltlibobjs
11537
11538
11539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11540$as_echo_n "checking that generated files are newer than configure... " >&6; }
11541 if test -n "$am_sleep_pid"; then
11542 # Hide warnings about reused PIDs.
11543 wait $am_sleep_pid 2>/dev/null
11544 fi
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11546$as_echo "done" >&6; }
11547 if test -n "$EXEEXT"; then
11548 am__EXEEXT_TRUE=
11549 am__EXEEXT_FALSE='#'
11550else
11551 am__EXEEXT_TRUE='#'
11552 am__EXEEXT_FALSE=
11553fi
11554
11555if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11556 as_fn_error $? "conditional \"AMDEP\" was never defined.
11557Usually this means the macro was only invoked conditionally." "$LINENO" 5
11558fi
11559if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11560 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11561Usually this means the macro was only invoked conditionally." "$LINENO" 5
11562fi
11563
11564: "${CONFIG_STATUS=./config.status}"
11565ac_write_fail=0
11566ac_clean_files_save=$ac_clean_files
11567ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11568{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11569$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11570as_write_fail=0
11571cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11572#! $SHELL
11573# Generated by $as_me.
11574# Run this file to recreate the current configuration.
11575# Compiler output produced by configure, useful for debugging
11576# configure, is in config.log if it exists.
11577
11578debug=false
11579ac_cs_recheck=false
11580ac_cs_silent=false
11581
11582SHELL=\${CONFIG_SHELL-$SHELL}
11583export SHELL
11584_ASEOF
11585cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11586## -------------------- ##
11587## M4sh Initialization. ##
11588## -------------------- ##
11589
11590# Be more Bourne compatible
11591DUALCASE=1; export DUALCASE # for MKS sh
11592if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11593 emulate sh
11594 NULLCMD=:
11595 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11596 # is contrary to our usage. Disable this feature.
11597 alias -g '${1+"$@"}'='"$@"'
11598 setopt NO_GLOB_SUBST
11599else
11600 case `(set -o) 2>/dev/null` in #(
11601 *posix*) :
11602 set -o posix ;; #(
11603 *) :
11604 ;;
11605esac
11606fi
11607
11608
11609as_nl='
11610'
11611export as_nl
11612# Printing a long string crashes Solaris 7 /usr/bin/printf.
11613as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11614as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11615as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11616# Prefer a ksh shell builtin over an external printf program on Solaris,
11617# but without wasting forks for bash or zsh.
11618if test -z "$BASH_VERSION$ZSH_VERSION" \
11619 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11620 as_echo='print -r --'
11621 as_echo_n='print -rn --'
11622elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11623 as_echo='printf %s\n'
11624 as_echo_n='printf %s'
11625else
11626 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11627 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11628 as_echo_n='/usr/ucb/echo -n'
11629 else
11630 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11631 as_echo_n_body='eval
11632 arg=$1;
11633 case $arg in #(
11634 *"$as_nl"*)
11635 expr "X$arg" : "X\\(.*\\)$as_nl";
11636 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11637 esac;
11638 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11639 '
11640 export as_echo_n_body
11641 as_echo_n='sh -c $as_echo_n_body as_echo'
11642 fi
11643 export as_echo_body
11644 as_echo='sh -c $as_echo_body as_echo'
11645fi
11646
11647# The user is always right.
11648if test "${PATH_SEPARATOR+set}" != set; then
11649 PATH_SEPARATOR=:
11650 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11651 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11652 PATH_SEPARATOR=';'
11653 }
11654fi
11655
11656
11657# IFS
11658# We need space, tab and new line, in precisely that order. Quoting is
11659# there to prevent editors from complaining about space-tab.
11660# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11661# splitting by setting IFS to empty value.)
11662IFS=" "" $as_nl"
11663
11664# Find who we are. Look in the path if we contain no directory separator.
11665as_myself=
11666case $0 in #((
11667 *[\\/]* ) as_myself=$0 ;;
11668 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11669for as_dir in $PATH
11670do
11671 IFS=$as_save_IFS
11672 test -z "$as_dir" && as_dir=.
11673 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11674 done
11675IFS=$as_save_IFS
11676
11677 ;;
11678esac
11679# We did not find ourselves, most probably we were run as `sh COMMAND'
11680# in which case we are not to be found in the path.
11681if test "x$as_myself" = x; then
11682 as_myself=$0
11683fi
11684if test ! -f "$as_myself"; then
11685 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11686 exit 1
11687fi
11688
11689# Unset variables that we do not need and which cause bugs (e.g. in
11690# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11691# suppresses any "Segmentation fault" message there. '((' could
11692# trigger a bug in pdksh 5.2.14.
11693for as_var in BASH_ENV ENV MAIL MAILPATH
11694do eval test x\${$as_var+set} = xset \
11695 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11696done
11697PS1='$ '
11698PS2='> '
11699PS4='+ '
11700
11701# NLS nuisances.
11702LC_ALL=C
11703export LC_ALL
11704LANGUAGE=C
11705export LANGUAGE
11706
11707# CDPATH.
11708(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11709
11710
11711# as_fn_error STATUS ERROR [LINENO LOG_FD]
11712# ----------------------------------------
11713# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11714# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11715# script with STATUS, using 1 if that was 0.
11716as_fn_error ()
11717{
11718 as_status=$1; test $as_status -eq 0 && as_status=1
11719 if test "$4"; then
11720 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11721 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11722 fi
11723 $as_echo "$as_me: error: $2" >&2
11724 as_fn_exit $as_status
11725} # as_fn_error
11726
11727
11728# as_fn_set_status STATUS
11729# -----------------------
11730# Set $? to STATUS, without forking.
11731as_fn_set_status ()
11732{
11733 return $1
11734} # as_fn_set_status
11735
11736# as_fn_exit STATUS
11737# -----------------
11738# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11739as_fn_exit ()
11740{
11741 set +e
11742 as_fn_set_status $1
11743 exit $1
11744} # as_fn_exit
11745
11746# as_fn_unset VAR
11747# ---------------
11748# Portably unset VAR.
11749as_fn_unset ()
11750{
11751 { eval $1=; unset $1;}
11752}
11753as_unset=as_fn_unset
11754# as_fn_append VAR VALUE
11755# ----------------------
11756# Append the text in VALUE to the end of the definition contained in VAR. Take
11757# advantage of any shell optimizations that allow amortized linear growth over
11758# repeated appends, instead of the typical quadratic growth present in naive
11759# implementations.
11760if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11761 eval 'as_fn_append ()
11762 {
11763 eval $1+=\$2
11764 }'
11765else
11766 as_fn_append ()
11767 {
11768 eval $1=\$$1\$2
11769 }
11770fi # as_fn_append
11771
11772# as_fn_arith ARG...
11773# ------------------
11774# Perform arithmetic evaluation on the ARGs, and store the result in the
11775# global $as_val. Take advantage of shells that can avoid forks. The arguments
11776# must be portable across $(()) and expr.
11777if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11778 eval 'as_fn_arith ()
11779 {
11780 as_val=$(( $* ))
11781 }'
11782else
11783 as_fn_arith ()
11784 {
11785 as_val=`expr "$@" || test $? -eq 1`
11786 }
11787fi # as_fn_arith
11788
11789
11790if expr a : '\(a\)' >/dev/null 2>&1 &&
11791 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11792 as_expr=expr
11793else
11794 as_expr=false
11795fi
11796
11797if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11798 as_basename=basename
11799else
11800 as_basename=false
11801fi
11802
11803if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11804 as_dirname=dirname
11805else
11806 as_dirname=false
11807fi
11808
11809as_me=`$as_basename -- "$0" ||
11810$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11811 X"$0" : 'X\(//\)$' \| \
11812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11813$as_echo X/"$0" |
11814 sed '/^.*\/\([^/][^/]*\)\/*$/{
11815 s//\1/
11816 q
11817 }
11818 /^X\/\(\/\/\)$/{
11819 s//\1/
11820 q
11821 }
11822 /^X\/\(\/\).*/{
11823 s//\1/
11824 q
11825 }
11826 s/.*/./; q'`
11827
11828# Avoid depending upon Character Ranges.
11829as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11830as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11831as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11832as_cr_digits='0123456789'
11833as_cr_alnum=$as_cr_Letters$as_cr_digits
11834
11835ECHO_C= ECHO_N= ECHO_T=
11836case `echo -n x` in #(((((
11837-n*)
11838 case `echo 'xy\c'` in
11839 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11840 xy) ECHO_C='\c';;
11841 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11842 ECHO_T=' ';;
11843 esac;;
11844*)
11845 ECHO_N='-n';;
11846esac
11847
11848rm -f conf$$ conf$$.exe conf$$.file
11849if test -d conf$$.dir; then
11850 rm -f conf$$.dir/conf$$.file
11851else
11852 rm -f conf$$.dir
11853 mkdir conf$$.dir 2>/dev/null
11854fi
11855if (echo >conf$$.file) 2>/dev/null; then
11856 if ln -s conf$$.file conf$$ 2>/dev/null; then
11857 as_ln_s='ln -s'
11858 # ... but there are two gotchas:
11859 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11860 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11861 # In both cases, we have to default to `cp -pR'.
11862 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11863 as_ln_s='cp -pR'
11864 elif ln conf$$.file conf$$ 2>/dev/null; then
11865 as_ln_s=ln
11866 else
11867 as_ln_s='cp -pR'
11868 fi
11869else
11870 as_ln_s='cp -pR'
11871fi
11872rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11873rmdir conf$$.dir 2>/dev/null
11874
11875
11876# as_fn_mkdir_p
11877# -------------
11878# Create "$as_dir" as a directory, including parents if necessary.
11879as_fn_mkdir_p ()
11880{
11881
11882 case $as_dir in #(
11883 -*) as_dir=./$as_dir;;
11884 esac
11885 test -d "$as_dir" || eval $as_mkdir_p || {
11886 as_dirs=
11887 while :; do
11888 case $as_dir in #(
11889 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11890 *) as_qdir=$as_dir;;
11891 esac
11892 as_dirs="'$as_qdir' $as_dirs"
11893 as_dir=`$as_dirname -- "$as_dir" ||
11894$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11895 X"$as_dir" : 'X\(//\)[^/]' \| \
11896 X"$as_dir" : 'X\(//\)$' \| \
11897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11898$as_echo X"$as_dir" |
11899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11900 s//\1/
11901 q
11902 }
11903 /^X\(\/\/\)[^/].*/{
11904 s//\1/
11905 q
11906 }
11907 /^X\(\/\/\)$/{
11908 s//\1/
11909 q
11910 }
11911 /^X\(\/\).*/{
11912 s//\1/
11913 q
11914 }
11915 s/.*/./; q'`
11916 test -d "$as_dir" && break
11917 done
11918 test -z "$as_dirs" || eval "mkdir $as_dirs"
11919 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11920
11921
11922} # as_fn_mkdir_p
11923if mkdir -p . 2>/dev/null; then
11924 as_mkdir_p='mkdir -p "$as_dir"'
11925else
11926 test -d ./-p && rmdir ./-p
11927 as_mkdir_p=false
11928fi
11929
11930
11931# as_fn_executable_p FILE
11932# -----------------------
11933# Test if FILE is an executable regular file.
11934as_fn_executable_p ()
11935{
11936 test -f "$1" && test -x "$1"
11937} # as_fn_executable_p
11938as_test_x='test -x'
11939as_executable_p=as_fn_executable_p
11940
11941# Sed expression to map a string onto a valid CPP name.
11942as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11943
11944# Sed expression to map a string onto a valid variable name.
11945as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11946
11947
11948exec 6>&1
11949## ----------------------------------- ##
11950## Main body of $CONFIG_STATUS script. ##
11951## ----------------------------------- ##
11952_ASEOF
11953test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11954
11955cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11956# Save the log message, to keep $0 and so on meaningful, and to
11957# report actual input values of CONFIG_FILES etc. instead of their
11958# values after options handling.
11959ac_log="
11960This file was extended by vlibapi $as_me 1.0, which was
11961generated by GNU Autoconf 2.69. Invocation command line was
11962
11963 CONFIG_FILES = $CONFIG_FILES
11964 CONFIG_HEADERS = $CONFIG_HEADERS
11965 CONFIG_LINKS = $CONFIG_LINKS
11966 CONFIG_COMMANDS = $CONFIG_COMMANDS
11967 $ $0 $@
11968
11969on `(hostname || uname -n) 2>/dev/null | sed 1q`
11970"
11971
11972_ACEOF
11973
11974case $ac_config_files in *"
11975"*) set x $ac_config_files; shift; ac_config_files=$*;;
11976esac
11977
11978
11979
11980cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11981# Files that config.status was made for.
11982config_files="$ac_config_files"
11983config_commands="$ac_config_commands"
11984
11985_ACEOF
11986
11987cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11988ac_cs_usage="\
11989\`$as_me' instantiates files and other configuration actions
11990from templates according to the current configuration. Unless the files
11991and actions are specified as TAGs, all are instantiated by default.
11992
11993Usage: $0 [OPTION]... [TAG]...
11994
11995 -h, --help print this help, then exit
11996 -V, --version print version number and configuration settings, then exit
11997 --config print configuration, then exit
11998 -q, --quiet, --silent
11999 do not print progress messages
12000 -d, --debug don't remove temporary files
12001 --recheck update $as_me by reconfiguring in the same conditions
12002 --file=FILE[:TEMPLATE]
12003 instantiate the configuration file FILE
12004
12005Configuration files:
12006$config_files
12007
12008Configuration commands:
12009$config_commands
12010
12011Report bugs to the package provider."
12012
12013_ACEOF
12014cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12015ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12016ac_cs_version="\\
12017vlibapi config.status 1.0
12018configured by $0, generated by GNU Autoconf 2.69,
12019 with options \\"\$ac_cs_config\\"
12020
12021Copyright (C) 2012 Free Software Foundation, Inc.
12022This config.status script is free software; the Free Software Foundation
12023gives unlimited permission to copy, distribute and modify it."
12024
12025ac_pwd='$ac_pwd'
12026srcdir='$srcdir'
12027INSTALL='$INSTALL'
12028MKDIR_P='$MKDIR_P'
12029AWK='$AWK'
12030test -n "\$AWK" || AWK=awk
12031_ACEOF
12032
12033cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12034# The default lists apply if the user does not specify any file.
12035ac_need_defaults=:
12036while test $# != 0
12037do
12038 case $1 in
12039 --*=?*)
12040 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12041 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12042 ac_shift=:
12043 ;;
12044 --*=)
12045 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12046 ac_optarg=
12047 ac_shift=:
12048 ;;
12049 *)
12050 ac_option=$1
12051 ac_optarg=$2
12052 ac_shift=shift
12053 ;;
12054 esac
12055
12056 case $ac_option in
12057 # Handling of the options.
12058 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12059 ac_cs_recheck=: ;;
12060 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12061 $as_echo "$ac_cs_version"; exit ;;
12062 --config | --confi | --conf | --con | --co | --c )
12063 $as_echo "$ac_cs_config"; exit ;;
12064 --debug | --debu | --deb | --de | --d | -d )
12065 debug=: ;;
12066 --file | --fil | --fi | --f )
12067 $ac_shift
12068 case $ac_optarg in
12069 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12070 '') as_fn_error $? "missing file argument" ;;
12071 esac
12072 as_fn_append CONFIG_FILES " '$ac_optarg'"
12073 ac_need_defaults=false;;
12074 --he | --h | --help | --hel | -h )
12075 $as_echo "$ac_cs_usage"; exit ;;
12076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12077 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12078 ac_cs_silent=: ;;
12079
12080 # This is an error.
12081 -*) as_fn_error $? "unrecognized option: \`$1'
12082Try \`$0 --help' for more information." ;;
12083
12084 *) as_fn_append ac_config_targets " $1"
12085 ac_need_defaults=false ;;
12086
12087 esac
12088 shift
12089done
12090
12091ac_configure_extra_args=
12092
12093if $ac_cs_silent; then
12094 exec 6>/dev/null
12095 ac_configure_extra_args="$ac_configure_extra_args --silent"
12096fi
12097
12098_ACEOF
12099cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12100if \$ac_cs_recheck; then
12101 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12102 shift
12103 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12104 CONFIG_SHELL='$SHELL'
12105 export CONFIG_SHELL
12106 exec "\$@"
12107fi
12108
12109_ACEOF
12110cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12111exec 5>>config.log
12112{
12113 echo
12114 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12115## Running $as_me. ##
12116_ASBOX
12117 $as_echo "$ac_log"
12118} >&5
12119
12120_ACEOF
12121cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12122#
12123# INIT-COMMANDS
12124#
12125AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12126
12127
12128# The HP-UX ksh and POSIX shell print the target directory to stdout
12129# if CDPATH is set.
12130(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12131
12132sed_quote_subst='$sed_quote_subst'
12133double_quote_subst='$double_quote_subst'
12134delay_variable_subst='$delay_variable_subst'
12135macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12136macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12137enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12138enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12139pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12140enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12141SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12142ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12143PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12144host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12145host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12146host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12147build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12148build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12149build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12150SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12151Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12152GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12153EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12154FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12155LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12156NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12157LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12158max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12159ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12160exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12161lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12162lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12163lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12164lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12165lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12166reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12167reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12168OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12169deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12170file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12171file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12172want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12173DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12174sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12175AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12176AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12177archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12178STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12179RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12180old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12181old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12182old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12183lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12184CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12185CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12186compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12187GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12188lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12189lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12190lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12191lt_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"`'
12192nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12193lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12194objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12195MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12196lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12197lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12198lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12199lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12200lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12201need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12202MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12203DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12204NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12205LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12206OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12207OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12208libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12209shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12210extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12211archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12212enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12213export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12214whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12215compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12216old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12217old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12218archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12219archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12220module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12221module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12222with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12223allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12224no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12225hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12226hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12227hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12228hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12229hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12230hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12231hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12232inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12233link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12234always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12235export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12236exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12237include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12238prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12239postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12240file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12241variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12242need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12243need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12244version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12245runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12246shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12247shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12248libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12249library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12250soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12251install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12252postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12253postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12254finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12255finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12256hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12257sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12258sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12259hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12260enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12261enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12262enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12263old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12264striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12265
12266LTCC='$LTCC'
12267LTCFLAGS='$LTCFLAGS'
12268compiler='$compiler_DEFAULT'
12269
12270# A function that is used when there is no print builtin or printf.
12271func_fallback_echo ()
12272{
12273 eval 'cat <<_LTECHO_EOF
12274\$1
12275_LTECHO_EOF'
12276}
12277
12278# Quote evaled strings.
12279for var in SHELL \
12280ECHO \
12281PATH_SEPARATOR \
12282SED \
12283GREP \
12284EGREP \
12285FGREP \
12286LD \
12287NM \
12288LN_S \
12289lt_SP2NL \
12290lt_NL2SP \
12291reload_flag \
12292OBJDUMP \
12293deplibs_check_method \
12294file_magic_cmd \
12295file_magic_glob \
12296want_nocaseglob \
12297DLLTOOL \
12298sharedlib_from_linklib_cmd \
12299AR \
12300AR_FLAGS \
12301archiver_list_spec \
12302STRIP \
12303RANLIB \
12304CC \
12305CFLAGS \
12306compiler \
12307lt_cv_sys_global_symbol_pipe \
12308lt_cv_sys_global_symbol_to_cdecl \
12309lt_cv_sys_global_symbol_to_c_name_address \
12310lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12311nm_file_list_spec \
12312lt_prog_compiler_no_builtin_flag \
12313lt_prog_compiler_pic \
12314lt_prog_compiler_wl \
12315lt_prog_compiler_static \
12316lt_cv_prog_compiler_c_o \
12317need_locks \
12318MANIFEST_TOOL \
12319DSYMUTIL \
12320NMEDIT \
12321LIPO \
12322OTOOL \
12323OTOOL64 \
12324shrext_cmds \
12325export_dynamic_flag_spec \
12326whole_archive_flag_spec \
12327compiler_needs_object \
12328with_gnu_ld \
12329allow_undefined_flag \
12330no_undefined_flag \
12331hardcode_libdir_flag_spec \
12332hardcode_libdir_separator \
12333exclude_expsyms \
12334include_expsyms \
12335file_list_spec \
12336variables_saved_for_relink \
12337libname_spec \
12338library_names_spec \
12339soname_spec \
12340install_override_mode \
12341finish_eval \
12342old_striplib \
12343striplib; do
12344 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12345 *[\\\\\\\`\\"\\\$]*)
12346 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12347 ;;
12348 *)
12349 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12350 ;;
12351 esac
12352done
12353
12354# Double-quote double-evaled strings.
12355for var in reload_cmds \
12356old_postinstall_cmds \
12357old_postuninstall_cmds \
12358old_archive_cmds \
12359extract_expsyms_cmds \
12360old_archive_from_new_cmds \
12361old_archive_from_expsyms_cmds \
12362archive_cmds \
12363archive_expsym_cmds \
12364module_cmds \
12365module_expsym_cmds \
12366export_symbols_cmds \
12367prelink_cmds \
12368postlink_cmds \
12369postinstall_cmds \
12370postuninstall_cmds \
12371finish_cmds \
12372sys_lib_search_path_spec \
12373sys_lib_dlsearch_path_spec; do
12374 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12375 *[\\\\\\\`\\"\\\$]*)
12376 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12377 ;;
12378 *)
12379 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12380 ;;
12381 esac
12382done
12383
12384ac_aux_dir='$ac_aux_dir'
12385xsi_shell='$xsi_shell'
12386lt_shell_append='$lt_shell_append'
12387
12388# See if we are running on zsh, and set the options which allow our
12389# commands through without removal of \ escapes INIT.
12390if test -n "\${ZSH_VERSION+set}" ; then
12391 setopt NO_GLOB_SUBST
12392fi
12393
12394
12395 PACKAGE='$PACKAGE'
12396 VERSION='$VERSION'
12397 TIMESTAMP='$TIMESTAMP'
12398 RM='$RM'
12399 ofile='$ofile'
12400
12401
12402
12403
12404_ACEOF
12405
12406cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12407
12408# Handling of arguments.
12409for ac_config_target in $ac_config_targets
12410do
12411 case $ac_config_target in
12412 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12413 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12414 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12415
12416 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12417 esac
12418done
12419
12420
12421# If the user did not use the arguments to specify the items to instantiate,
12422# then the envvar interface is used. Set only those that are not.
12423# We use the long form for the default assignment because of an extremely
12424# bizarre bug on SunOS 4.1.3.
12425if $ac_need_defaults; then
12426 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12427 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12428fi
12429
12430# Have a temporary directory for convenience. Make it in the build tree
12431# simply because there is no reason against having it here, and in addition,
12432# creating and moving files from /tmp can sometimes cause problems.
12433# Hook for its removal unless debugging.
12434# Note that there is a small window in which the directory will not be cleaned:
12435# after its creation but before its name has been assigned to `$tmp'.
12436$debug ||
12437{
12438 tmp= ac_tmp=
12439 trap 'exit_status=$?
12440 : "${ac_tmp:=$tmp}"
12441 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12442' 0
12443 trap 'as_fn_exit 1' 1 2 13 15
12444}
12445# Create a (secure) tmp directory for tmp files.
12446
12447{
12448 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12449 test -d "$tmp"
12450} ||
12451{
12452 tmp=./conf$$-$RANDOM
12453 (umask 077 && mkdir "$tmp")
12454} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12455ac_tmp=$tmp
12456
12457# Set up the scripts for CONFIG_FILES section.
12458# No need to generate them if there are no CONFIG_FILES.
12459# This happens for instance with `./config.status config.h'.
12460if test -n "$CONFIG_FILES"; then
12461
12462
12463ac_cr=`echo X | tr X '\015'`
12464# On cygwin, bash can eat \r inside `` if the user requested igncr.
12465# But we know of no other shell where ac_cr would be empty at this
12466# point, so we can use a bashism as a fallback.
12467if test "x$ac_cr" = x; then
12468 eval ac_cr=\$\'\\r\'
12469fi
12470ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12471if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12472 ac_cs_awk_cr='\\r'
12473else
12474 ac_cs_awk_cr=$ac_cr
12475fi
12476
12477echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12478_ACEOF
12479
12480
12481{
12482 echo "cat >conf$$subs.awk <<_ACEOF" &&
12483 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12484 echo "_ACEOF"
12485} >conf$$subs.sh ||
12486 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12487ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12488ac_delim='%!_!# '
12489for ac_last_try in false false false false false :; do
12490 . ./conf$$subs.sh ||
12491 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12492
12493 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12494 if test $ac_delim_n = $ac_delim_num; then
12495 break
12496 elif $ac_last_try; then
12497 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12498 else
12499 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12500 fi
12501done
12502rm -f conf$$subs.sh
12503
12504cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12505cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12506_ACEOF
12507sed -n '
12508h
12509s/^/S["/; s/!.*/"]=/
12510p
12511g
12512s/^[^!]*!//
12513:repl
12514t repl
12515s/'"$ac_delim"'$//
12516t delim
12517:nl
12518h
12519s/\(.\{148\}\)..*/\1/
12520t more1
12521s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12522p
12523n
12524b repl
12525:more1
12526s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12527p
12528g
12529s/.\{148\}//
12530t nl
12531:delim
12532h
12533s/\(.\{148\}\)..*/\1/
12534t more2
12535s/["\\]/\\&/g; s/^/"/; s/$/"/
12536p
12537b
12538:more2
12539s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12540p
12541g
12542s/.\{148\}//
12543t delim
12544' <conf$$subs.awk | sed '
12545/^[^""]/{
12546 N
12547 s/\n//
12548}
12549' >>$CONFIG_STATUS || ac_write_fail=1
12550rm -f conf$$subs.awk
12551cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12552_ACAWK
12553cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12554 for (key in S) S_is_set[key] = 1
12555 FS = ""
12556
12557}
12558{
12559 line = $ 0
12560 nfields = split(line, field, "@")
12561 substed = 0
12562 len = length(field[1])
12563 for (i = 2; i < nfields; i++) {
12564 key = field[i]
12565 keylen = length(key)
12566 if (S_is_set[key]) {
12567 value = S[key]
12568 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12569 len += length(value) + length(field[++i])
12570 substed = 1
12571 } else
12572 len += 1 + keylen
12573 }
12574
12575 print line
12576}
12577
12578_ACAWK
12579_ACEOF
12580cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12581if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12582 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12583else
12584 cat
12585fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12586 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12587_ACEOF
12588
12589# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12590# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12591# trailing colons and then remove the whole line if VPATH becomes empty
12592# (actually we leave an empty line to preserve line numbers).
12593if test "x$srcdir" = x.; then
12594 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12595h
12596s///
12597s/^/:/
12598s/[ ]*$/:/
12599s/:\$(srcdir):/:/g
12600s/:\${srcdir}:/:/g
12601s/:@srcdir@:/:/g
12602s/^:*//
12603s/:*$//
12604x
12605s/\(=[ ]*\).*/\1/
12606G
12607s/\n//
12608s/^[^=]*=[ ]*$//
12609}'
12610fi
12611
12612cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12613fi # test -n "$CONFIG_FILES"
12614
12615
12616eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
12617shift
12618for ac_tag
12619do
12620 case $ac_tag in
12621 :[FHLC]) ac_mode=$ac_tag; continue;;
12622 esac
12623 case $ac_mode$ac_tag in
12624 :[FHL]*:*);;
12625 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12626 :[FH]-) ac_tag=-:-;;
12627 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12628 esac
12629 ac_save_IFS=$IFS
12630 IFS=:
12631 set x $ac_tag
12632 IFS=$ac_save_IFS
12633 shift
12634 ac_file=$1
12635 shift
12636
12637 case $ac_mode in
12638 :L) ac_source=$1;;
12639 :[FH])
12640 ac_file_inputs=
12641 for ac_f
12642 do
12643 case $ac_f in
12644 -) ac_f="$ac_tmp/stdin";;
12645 *) # Look for the file first in the build tree, then in the source tree
12646 # (if the path is not absolute). The absolute path cannot be DOS-style,
12647 # because $ac_f cannot contain `:'.
12648 test -f "$ac_f" ||
12649 case $ac_f in
12650 [\\/$]*) false;;
12651 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12652 esac ||
12653 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12654 esac
12655 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12656 as_fn_append ac_file_inputs " '$ac_f'"
12657 done
12658
12659 # Let's still pretend it is `configure' which instantiates (i.e., don't
12660 # use $as_me), people would be surprised to read:
12661 # /* config.h. Generated by config.status. */
12662 configure_input='Generated from '`
12663 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12664 `' by configure.'
12665 if test x"$ac_file" != x-; then
12666 configure_input="$ac_file. $configure_input"
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12668$as_echo "$as_me: creating $ac_file" >&6;}
12669 fi
12670 # Neutralize special characters interpreted by sed in replacement strings.
12671 case $configure_input in #(
12672 *\&* | *\|* | *\\* )
12673 ac_sed_conf_input=`$as_echo "$configure_input" |
12674 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12675 *) ac_sed_conf_input=$configure_input;;
12676 esac
12677
12678 case $ac_tag in
12679 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12681 esac
12682 ;;
12683 esac
12684
12685 ac_dir=`$as_dirname -- "$ac_file" ||
12686$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12687 X"$ac_file" : 'X\(//\)[^/]' \| \
12688 X"$ac_file" : 'X\(//\)$' \| \
12689 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12690$as_echo X"$ac_file" |
12691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12692 s//\1/
12693 q
12694 }
12695 /^X\(\/\/\)[^/].*/{
12696 s//\1/
12697 q
12698 }
12699 /^X\(\/\/\)$/{
12700 s//\1/
12701 q
12702 }
12703 /^X\(\/\).*/{
12704 s//\1/
12705 q
12706 }
12707 s/.*/./; q'`
12708 as_dir="$ac_dir"; as_fn_mkdir_p
12709 ac_builddir=.
12710
12711case "$ac_dir" in
12712.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12713*)
12714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12715 # A ".." for each directory in $ac_dir_suffix.
12716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12717 case $ac_top_builddir_sub in
12718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12720 esac ;;
12721esac
12722ac_abs_top_builddir=$ac_pwd
12723ac_abs_builddir=$ac_pwd$ac_dir_suffix
12724# for backward compatibility:
12725ac_top_builddir=$ac_top_build_prefix
12726
12727case $srcdir in
12728 .) # We are building in place.
12729 ac_srcdir=.
12730 ac_top_srcdir=$ac_top_builddir_sub
12731 ac_abs_top_srcdir=$ac_pwd ;;
12732 [\\/]* | ?:[\\/]* ) # Absolute name.
12733 ac_srcdir=$srcdir$ac_dir_suffix;
12734 ac_top_srcdir=$srcdir
12735 ac_abs_top_srcdir=$srcdir ;;
12736 *) # Relative name.
12737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12738 ac_top_srcdir=$ac_top_build_prefix$srcdir
12739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12740esac
12741ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12742
12743
12744 case $ac_mode in
12745 :F)
12746 #
12747 # CONFIG_FILE
12748 #
12749
12750 case $INSTALL in
12751 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12752 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12753 esac
12754 ac_MKDIR_P=$MKDIR_P
12755 case $MKDIR_P in
12756 [\\/$]* | ?:[\\/]* ) ;;
12757 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12758 esac
12759_ACEOF
12760
12761cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12762# If the template does not know about datarootdir, expand it.
12763# FIXME: This hack should be removed a few years after 2.60.
12764ac_datarootdir_hack=; ac_datarootdir_seen=
12765ac_sed_dataroot='
12766/datarootdir/ {
12767 p
12768 q
12769}
12770/@datadir@/p
12771/@docdir@/p
12772/@infodir@/p
12773/@localedir@/p
12774/@mandir@/p'
12775case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12776*datarootdir*) ac_datarootdir_seen=yes;;
12777*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12779$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12780_ACEOF
12781cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12782 ac_datarootdir_hack='
12783 s&@datadir@&$datadir&g
12784 s&@docdir@&$docdir&g
12785 s&@infodir@&$infodir&g
12786 s&@localedir@&$localedir&g
12787 s&@mandir@&$mandir&g
12788 s&\\\${datarootdir}&$datarootdir&g' ;;
12789esac
12790_ACEOF
12791
12792# Neutralize VPATH when `$srcdir' = `.'.
12793# Shell code in configure.ac might set extrasub.
12794# FIXME: do we really want to maintain this feature?
12795cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12796ac_sed_extra="$ac_vpsub
12797$extrasub
12798_ACEOF
12799cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12800:t
12801/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12802s|@configure_input@|$ac_sed_conf_input|;t t
12803s&@top_builddir@&$ac_top_builddir_sub&;t t
12804s&@top_build_prefix@&$ac_top_build_prefix&;t t
12805s&@srcdir@&$ac_srcdir&;t t
12806s&@abs_srcdir@&$ac_abs_srcdir&;t t
12807s&@top_srcdir@&$ac_top_srcdir&;t t
12808s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12809s&@builddir@&$ac_builddir&;t t
12810s&@abs_builddir@&$ac_abs_builddir&;t t
12811s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12812s&@INSTALL@&$ac_INSTALL&;t t
12813s&@MKDIR_P@&$ac_MKDIR_P&;t t
12814$ac_datarootdir_hack
12815"
12816eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12817 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12818
12819test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12820 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12821 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12822 "$ac_tmp/out"`; test -z "$ac_out"; } &&
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12824which seems to be undefined. Please make sure it is defined" >&5
12825$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12826which seems to be undefined. Please make sure it is defined" >&2;}
12827
12828 rm -f "$ac_tmp/stdin"
12829 case $ac_file in
12830 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12831 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12832 esac \
12833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12834 ;;
12835
12836
12837 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12838$as_echo "$as_me: executing $ac_file commands" >&6;}
12839 ;;
12840 esac
12841
12842
12843 case $ac_file$ac_mode in
12844 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12845 # Older Autoconf quotes --file arguments for eval, but not when files
12846 # are listed without --file. Let's play safe and only enable the eval
12847 # if we detect the quoting.
12848 case $CONFIG_FILES in
12849 *\'*) eval set x "$CONFIG_FILES" ;;
12850 *) set x $CONFIG_FILES ;;
12851 esac
12852 shift
12853 for mf
12854 do
12855 # Strip MF so we end up with the name of the file.
12856 mf=`echo "$mf" | sed -e 's/:.*$//'`
12857 # Check whether this is an Automake generated Makefile or not.
12858 # We used to match only the files named 'Makefile.in', but
12859 # some people rename them; so instead we look at the file content.
12860 # Grep'ing the first line is not enough: some people post-process
12861 # each Makefile.in and add a new line on top of each file to say so.
12862 # Grep'ing the whole file is not good either: AIX grep has a line
12863 # limit of 2048, but all sed's we know have understand at least 4000.
12864 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12865 dirpart=`$as_dirname -- "$mf" ||
12866$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12867 X"$mf" : 'X\(//\)[^/]' \| \
12868 X"$mf" : 'X\(//\)$' \| \
12869 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12870$as_echo X"$mf" |
12871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12872 s//\1/
12873 q
12874 }
12875 /^X\(\/\/\)[^/].*/{
12876 s//\1/
12877 q
12878 }
12879 /^X\(\/\/\)$/{
12880 s//\1/
12881 q
12882 }
12883 /^X\(\/\).*/{
12884 s//\1/
12885 q
12886 }
12887 s/.*/./; q'`
12888 else
12889 continue
12890 fi
12891 # Extract the definition of DEPDIR, am__include, and am__quote
12892 # from the Makefile without running 'make'.
12893 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12894 test -z "$DEPDIR" && continue
12895 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12896 test -z "$am__include" && continue
12897 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12898 # Find all dependency output files, they are included files with
12899 # $(DEPDIR) in their names. We invoke sed twice because it is the
12900 # simplest approach to changing $(DEPDIR) to its actual value in the
12901 # expansion.
12902 for file in `sed -n "
12903 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12904 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
12905 # Make sure the directory exists.
12906 test -f "$dirpart/$file" && continue
12907 fdir=`$as_dirname -- "$file" ||
12908$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12909 X"$file" : 'X\(//\)[^/]' \| \
12910 X"$file" : 'X\(//\)$' \| \
12911 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12912$as_echo X"$file" |
12913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12914 s//\1/
12915 q
12916 }
12917 /^X\(\/\/\)[^/].*/{
12918 s//\1/
12919 q
12920 }
12921 /^X\(\/\/\)$/{
12922 s//\1/
12923 q
12924 }
12925 /^X\(\/\).*/{
12926 s//\1/
12927 q
12928 }
12929 s/.*/./; q'`
12930 as_dir=$dirpart/$fdir; as_fn_mkdir_p
12931 # echo "creating $dirpart/$file"
12932 echo '# dummy' > "$dirpart/$file"
12933 done
12934 done
12935}
12936 ;;
12937 "libtool":C)
12938
12939 # See if we are running on zsh, and set the options which allow our
12940 # commands through without removal of \ escapes.
12941 if test -n "${ZSH_VERSION+set}" ; then
12942 setopt NO_GLOB_SUBST
12943 fi
12944
12945 cfgfile="${ofile}T"
12946 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12947 $RM "$cfgfile"
12948
12949 cat <<_LT_EOF >> "$cfgfile"
12950#! $SHELL
12951
12952# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12953# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12954# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12955# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12956#
12957# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12958# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
12959# Foundation, Inc.
12960# Written by Gordon Matzigkeit, 1996
12961#
12962# This file is part of GNU Libtool.
12963#
12964# GNU Libtool is free software; you can redistribute it and/or
12965# modify it under the terms of the GNU General Public License as
12966# published by the Free Software Foundation; either version 2 of
12967# the License, or (at your option) any later version.
12968#
12969# As a special exception to the GNU General Public License,
12970# if you distribute this file as part of a program or library that
12971# is built using GNU Libtool, you may include this file under the
12972# same distribution terms that you use for the rest of that program.
12973#
12974# GNU Libtool is distributed in the hope that it will be useful,
12975# but WITHOUT ANY WARRANTY; without even the implied warranty of
12976# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12977# GNU General Public License for more details.
12978#
12979# You should have received a copy of the GNU General Public License
12980# along with GNU Libtool; see the file COPYING. If not, a copy
12981# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12982# obtained by writing to the Free Software Foundation, Inc.,
12983# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12984
12985
12986# The names of the tagged configurations supported by this script.
12987available_tags=""
12988
12989# ### BEGIN LIBTOOL CONFIG
12990
12991# Which release of libtool.m4 was used?
12992macro_version=$macro_version
12993macro_revision=$macro_revision
12994
12995# Whether or not to build shared libraries.
12996build_libtool_libs=$enable_shared
12997
12998# Whether or not to build static libraries.
12999build_old_libs=$enable_static
13000
13001# What type of objects to build.
13002pic_mode=$pic_mode
13003
13004# Whether or not to optimize for fast installation.
13005fast_install=$enable_fast_install
13006
13007# Shell to use when invoking shell scripts.
13008SHELL=$lt_SHELL
13009
13010# An echo program that protects backslashes.
13011ECHO=$lt_ECHO
13012
13013# The PATH separator for the build system.
13014PATH_SEPARATOR=$lt_PATH_SEPARATOR
13015
13016# The host system.
13017host_alias=$host_alias
13018host=$host
13019host_os=$host_os
13020
13021# The build system.
13022build_alias=$build_alias
13023build=$build
13024build_os=$build_os
13025
13026# A sed program that does not truncate output.
13027SED=$lt_SED
13028
13029# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13030Xsed="\$SED -e 1s/^X//"
13031
13032# A grep program that handles long lines.
13033GREP=$lt_GREP
13034
13035# An ERE matcher.
13036EGREP=$lt_EGREP
13037
13038# A literal string matcher.
13039FGREP=$lt_FGREP
13040
13041# A BSD- or MS-compatible name lister.
13042NM=$lt_NM
13043
13044# Whether we need soft or hard links.
13045LN_S=$lt_LN_S
13046
13047# What is the maximum length of a command?
13048max_cmd_len=$max_cmd_len
13049
13050# Object file suffix (normally "o").
13051objext=$ac_objext
13052
13053# Executable file suffix (normally "").
13054exeext=$exeext
13055
13056# whether the shell understands "unset".
13057lt_unset=$lt_unset
13058
13059# turn spaces into newlines.
13060SP2NL=$lt_lt_SP2NL
13061
13062# turn newlines into spaces.
13063NL2SP=$lt_lt_NL2SP
13064
13065# convert \$build file names to \$host format.
13066to_host_file_cmd=$lt_cv_to_host_file_cmd
13067
13068# convert \$build files to toolchain format.
13069to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13070
13071# An object symbol dumper.
13072OBJDUMP=$lt_OBJDUMP
13073
13074# Method to check whether dependent libraries are shared objects.
13075deplibs_check_method=$lt_deplibs_check_method
13076
13077# Command to use when deplibs_check_method = "file_magic".
13078file_magic_cmd=$lt_file_magic_cmd
13079
13080# How to find potential files when deplibs_check_method = "file_magic".
13081file_magic_glob=$lt_file_magic_glob
13082
13083# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13084want_nocaseglob=$lt_want_nocaseglob
13085
13086# DLL creation program.
13087DLLTOOL=$lt_DLLTOOL
13088
13089# Command to associate shared and link libraries.
13090sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13091
13092# The archiver.
13093AR=$lt_AR
13094
13095# Flags to create an archive.
13096AR_FLAGS=$lt_AR_FLAGS
13097
13098# How to feed a file listing to the archiver.
13099archiver_list_spec=$lt_archiver_list_spec
13100
13101# A symbol stripping program.
13102STRIP=$lt_STRIP
13103
13104# Commands used to install an old-style archive.
13105RANLIB=$lt_RANLIB
13106old_postinstall_cmds=$lt_old_postinstall_cmds
13107old_postuninstall_cmds=$lt_old_postuninstall_cmds
13108
13109# Whether to use a lock for old archive extraction.
13110lock_old_archive_extraction=$lock_old_archive_extraction
13111
13112# A C compiler.
13113LTCC=$lt_CC
13114
13115# LTCC compiler flags.
13116LTCFLAGS=$lt_CFLAGS
13117
13118# Take the output of nm and produce a listing of raw symbols and C names.
13119global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13120
13121# Transform the output of nm in a proper C declaration.
13122global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13123
13124# Transform the output of nm in a C name address pair.
13125global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13126
13127# Transform the output of nm in a C name address pair when lib prefix is needed.
13128global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13129
13130# Specify filename containing input files for \$NM.
13131nm_file_list_spec=$lt_nm_file_list_spec
13132
13133# The root where to search for dependent libraries,and in which our libraries should be installed.
13134lt_sysroot=$lt_sysroot
13135
13136# The name of the directory that contains temporary libtool files.
13137objdir=$objdir
13138
13139# Used to examine libraries when file_magic_cmd begins with "file".
13140MAGIC_CMD=$MAGIC_CMD
13141
13142# Must we lock files when doing compilation?
13143need_locks=$lt_need_locks
13144
13145# Manifest tool.
13146MANIFEST_TOOL=$lt_MANIFEST_TOOL
13147
13148# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13149DSYMUTIL=$lt_DSYMUTIL
13150
13151# Tool to change global to local symbols on Mac OS X.
13152NMEDIT=$lt_NMEDIT
13153
13154# Tool to manipulate fat objects and archives on Mac OS X.
13155LIPO=$lt_LIPO
13156
13157# ldd/readelf like tool for Mach-O binaries on Mac OS X.
13158OTOOL=$lt_OTOOL
13159
13160# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13161OTOOL64=$lt_OTOOL64
13162
13163# Old archive suffix (normally "a").
13164libext=$libext
13165
13166# Shared library suffix (normally ".so").
13167shrext_cmds=$lt_shrext_cmds
13168
13169# The commands to extract the exported symbol list from a shared archive.
13170extract_expsyms_cmds=$lt_extract_expsyms_cmds
13171
13172# Variables whose values should be saved in libtool wrapper scripts and
13173# restored at link time.
13174variables_saved_for_relink=$lt_variables_saved_for_relink
13175
13176# Do we need the "lib" prefix for modules?
13177need_lib_prefix=$need_lib_prefix
13178
13179# Do we need a version for libraries?
13180need_version=$need_version
13181
13182# Library versioning type.
13183version_type=$version_type
13184
13185# Shared library runtime path variable.
13186runpath_var=$runpath_var
13187
13188# Shared library path variable.
13189shlibpath_var=$shlibpath_var
13190
13191# Is shlibpath searched before the hard-coded library search path?
13192shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13193
13194# Format of library name prefix.
13195libname_spec=$lt_libname_spec
13196
13197# List of archive names. First name is the real one, the rest are links.
13198# The last name is the one that the linker finds with -lNAME
13199library_names_spec=$lt_library_names_spec
13200
13201# The coded name of the library, if different from the real name.
13202soname_spec=$lt_soname_spec
13203
13204# Permission mode override for installation of shared libraries.
13205install_override_mode=$lt_install_override_mode
13206
13207# Command to use after installation of a shared archive.
13208postinstall_cmds=$lt_postinstall_cmds
13209
13210# Command to use after uninstallation of a shared archive.
13211postuninstall_cmds=$lt_postuninstall_cmds
13212
13213# Commands used to finish a libtool library installation in a directory.
13214finish_cmds=$lt_finish_cmds
13215
13216# As "finish_cmds", except a single script fragment to be evaled but
13217# not shown.
13218finish_eval=$lt_finish_eval
13219
13220# Whether we should hardcode library paths into libraries.
13221hardcode_into_libs=$hardcode_into_libs
13222
13223# Compile-time system search path for libraries.
13224sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13225
13226# Run-time system search path for libraries.
13227sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13228
13229# Whether dlopen is supported.
13230dlopen_support=$enable_dlopen
13231
13232# Whether dlopen of programs is supported.
13233dlopen_self=$enable_dlopen_self
13234
13235# Whether dlopen of statically linked programs is supported.
13236dlopen_self_static=$enable_dlopen_self_static
13237
13238# Commands to strip libraries.
13239old_striplib=$lt_old_striplib
13240striplib=$lt_striplib
13241
13242
13243# The linker used to build libraries.
13244LD=$lt_LD
13245
13246# How to create reloadable object files.
13247reload_flag=$lt_reload_flag
13248reload_cmds=$lt_reload_cmds
13249
13250# Commands used to build an old-style archive.
13251old_archive_cmds=$lt_old_archive_cmds
13252
13253# A language specific compiler.
13254CC=$lt_compiler
13255
13256# Is the compiler the GNU compiler?
13257with_gcc=$GCC
13258
13259# Compiler flag to turn off builtin functions.
13260no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13261
13262# Additional compiler flags for building library objects.
13263pic_flag=$lt_lt_prog_compiler_pic
13264
13265# How to pass a linker flag through the compiler.
13266wl=$lt_lt_prog_compiler_wl
13267
13268# Compiler flag to prevent dynamic linking.
13269link_static_flag=$lt_lt_prog_compiler_static
13270
13271# Does compiler simultaneously support -c and -o options?
13272compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13273
13274# Whether or not to add -lc for building shared libraries.
13275build_libtool_need_lc=$archive_cmds_need_lc
13276
13277# Whether or not to disallow shared libs when runtime libs are static.
13278allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13279
13280# Compiler flag to allow reflexive dlopens.
13281export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13282
13283# Compiler flag to generate shared objects directly from archives.
13284whole_archive_flag_spec=$lt_whole_archive_flag_spec
13285
13286# Whether the compiler copes with passing no objects directly.
13287compiler_needs_object=$lt_compiler_needs_object
13288
13289# Create an old-style archive from a shared archive.
13290old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13291
13292# Create a temporary old-style archive to link instead of a shared archive.
13293old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13294
13295# Commands used to build a shared archive.
13296archive_cmds=$lt_archive_cmds
13297archive_expsym_cmds=$lt_archive_expsym_cmds
13298
13299# Commands used to build a loadable module if different from building
13300# a shared archive.
13301module_cmds=$lt_module_cmds
13302module_expsym_cmds=$lt_module_expsym_cmds
13303
13304# Whether we are building with GNU ld or not.
13305with_gnu_ld=$lt_with_gnu_ld
13306
13307# Flag that allows shared libraries with undefined symbols to be built.
13308allow_undefined_flag=$lt_allow_undefined_flag
13309
13310# Flag that enforces no undefined symbols.
13311no_undefined_flag=$lt_no_undefined_flag
13312
13313# Flag to hardcode \$libdir into a binary during linking.
13314# This must work even if \$libdir does not exist
13315hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13316
13317# Whether we need a single "-rpath" flag with a separated argument.
13318hardcode_libdir_separator=$lt_hardcode_libdir_separator
13319
13320# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13321# DIR into the resulting binary.
13322hardcode_direct=$hardcode_direct
13323
13324# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13325# DIR into the resulting binary and the resulting library dependency is
13326# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13327# library is relocated.
13328hardcode_direct_absolute=$hardcode_direct_absolute
13329
13330# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13331# into the resulting binary.
13332hardcode_minus_L=$hardcode_minus_L
13333
13334# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13335# into the resulting binary.
13336hardcode_shlibpath_var=$hardcode_shlibpath_var
13337
13338# Set to "yes" if building a shared library automatically hardcodes DIR
13339# into the library and all subsequent libraries and executables linked
13340# against it.
13341hardcode_automatic=$hardcode_automatic
13342
13343# Set to yes if linker adds runtime paths of dependent libraries
13344# to runtime path list.
13345inherit_rpath=$inherit_rpath
13346
13347# Whether libtool must link a program against all its dependency libraries.
13348link_all_deplibs=$link_all_deplibs
13349
13350# Set to "yes" if exported symbols are required.
13351always_export_symbols=$always_export_symbols
13352
13353# The commands to list exported symbols.
13354export_symbols_cmds=$lt_export_symbols_cmds
13355
13356# Symbols that should not be listed in the preloaded symbols.
13357exclude_expsyms=$lt_exclude_expsyms
13358
13359# Symbols that must always be exported.
13360include_expsyms=$lt_include_expsyms
13361
13362# Commands necessary for linking programs (against libraries) with templates.
13363prelink_cmds=$lt_prelink_cmds
13364
13365# Commands necessary for finishing linking programs.
13366postlink_cmds=$lt_postlink_cmds
13367
13368# Specify filename containing input files.
13369file_list_spec=$lt_file_list_spec
13370
13371# How to hardcode a shared library path into an executable.
13372hardcode_action=$hardcode_action
13373
13374# ### END LIBTOOL CONFIG
13375
13376_LT_EOF
13377
13378 case $host_os in
13379 aix3*)
13380 cat <<\_LT_EOF >> "$cfgfile"
13381# AIX sometimes has problems with the GCC collect2 program. For some
13382# reason, if we set the COLLECT_NAMES environment variable, the problems
13383# vanish in a puff of smoke.
13384if test "X${COLLECT_NAMES+set}" != Xset; then
13385 COLLECT_NAMES=
13386 export COLLECT_NAMES
13387fi
13388_LT_EOF
13389 ;;
13390 esac
13391
13392
13393ltmain="$ac_aux_dir/ltmain.sh"
13394
13395
13396 # We use sed instead of cat because bash on DJGPP gets confused if
13397 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13398 # text mode, it properly converts lines to CR/LF. This bash problem
13399 # is reportedly fixed, but why not run on old versions too?
13400 sed '$q' "$ltmain" >> "$cfgfile" \
13401 || (rm -f "$cfgfile"; exit 1)
13402
13403 if test x"$xsi_shell" = xyes; then
13404 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13405func_dirname ()\
13406{\
13407\ case ${1} in\
13408\ */*) func_dirname_result="${1%/*}${2}" ;;\
13409\ * ) func_dirname_result="${3}" ;;\
13410\ esac\
13411} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13412 && mv -f "$cfgfile.tmp" "$cfgfile" \
13413 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13414test 0 -eq $? || _lt_function_replace_fail=:
13415
13416
13417 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13418func_basename ()\
13419{\
13420\ func_basename_result="${1##*/}"\
13421} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13422 && mv -f "$cfgfile.tmp" "$cfgfile" \
13423 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13424test 0 -eq $? || _lt_function_replace_fail=:
13425
13426
13427 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13428func_dirname_and_basename ()\
13429{\
13430\ case ${1} in\
13431\ */*) func_dirname_result="${1%/*}${2}" ;;\
13432\ * ) func_dirname_result="${3}" ;;\
13433\ esac\
13434\ func_basename_result="${1##*/}"\
13435} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13436 && mv -f "$cfgfile.tmp" "$cfgfile" \
13437 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13438test 0 -eq $? || _lt_function_replace_fail=:
13439
13440
13441 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13442func_stripname ()\
13443{\
13444\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13445\ # positional parameters, so assign one to ordinary parameter first.\
13446\ func_stripname_result=${3}\
13447\ func_stripname_result=${func_stripname_result#"${1}"}\
13448\ func_stripname_result=${func_stripname_result%"${2}"}\
13449} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13450 && mv -f "$cfgfile.tmp" "$cfgfile" \
13451 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13452test 0 -eq $? || _lt_function_replace_fail=:
13453
13454
13455 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13456func_split_long_opt ()\
13457{\
13458\ func_split_long_opt_name=${1%%=*}\
13459\ func_split_long_opt_arg=${1#*=}\
13460} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13461 && mv -f "$cfgfile.tmp" "$cfgfile" \
13462 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13463test 0 -eq $? || _lt_function_replace_fail=:
13464
13465
13466 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13467func_split_short_opt ()\
13468{\
13469\ func_split_short_opt_arg=${1#??}\
13470\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13471} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13472 && mv -f "$cfgfile.tmp" "$cfgfile" \
13473 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13474test 0 -eq $? || _lt_function_replace_fail=:
13475
13476
13477 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13478func_lo2o ()\
13479{\
13480\ case ${1} in\
13481\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13482\ *) func_lo2o_result=${1} ;;\
13483\ esac\
13484} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13485 && mv -f "$cfgfile.tmp" "$cfgfile" \
13486 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13487test 0 -eq $? || _lt_function_replace_fail=:
13488
13489
13490 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13491func_xform ()\
13492{\
13493 func_xform_result=${1%.*}.lo\
13494} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13495 && mv -f "$cfgfile.tmp" "$cfgfile" \
13496 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13497test 0 -eq $? || _lt_function_replace_fail=:
13498
13499
13500 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13501func_arith ()\
13502{\
13503 func_arith_result=$(( $* ))\
13504} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13505 && mv -f "$cfgfile.tmp" "$cfgfile" \
13506 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13507test 0 -eq $? || _lt_function_replace_fail=:
13508
13509
13510 sed -e '/^func_len ()$/,/^} # func_len /c\
13511func_len ()\
13512{\
13513 func_len_result=${#1}\
13514} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13515 && mv -f "$cfgfile.tmp" "$cfgfile" \
13516 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13517test 0 -eq $? || _lt_function_replace_fail=:
13518
13519fi
13520
13521if test x"$lt_shell_append" = xyes; then
13522 sed -e '/^func_append ()$/,/^} # func_append /c\
13523func_append ()\
13524{\
13525 eval "${1}+=\\${2}"\
13526} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13527 && mv -f "$cfgfile.tmp" "$cfgfile" \
13528 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13529test 0 -eq $? || _lt_function_replace_fail=:
13530
13531
13532 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13533func_append_quoted ()\
13534{\
13535\ func_quote_for_eval "${2}"\
13536\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13537} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13538 && mv -f "$cfgfile.tmp" "$cfgfile" \
13539 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13540test 0 -eq $? || _lt_function_replace_fail=:
13541
13542
13543 # Save a `func_append' function call where possible by direct use of '+='
13544 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13545 && mv -f "$cfgfile.tmp" "$cfgfile" \
13546 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13547 test 0 -eq $? || _lt_function_replace_fail=:
13548else
13549 # Save a `func_append' function call even when '+=' is not available
13550 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13551 && mv -f "$cfgfile.tmp" "$cfgfile" \
13552 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13553 test 0 -eq $? || _lt_function_replace_fail=:
13554fi
13555
13556if test x"$_lt_function_replace_fail" = x":"; then
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13558$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13559fi
13560
13561
13562 mv -f "$cfgfile" "$ofile" ||
13563 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13564 chmod +x "$ofile"
13565
13566 ;;
13567
13568 esac
13569done # for ac_tag
13570
13571
13572as_fn_exit 0
13573_ACEOF
13574ac_clean_files=$ac_clean_files_save
13575
13576test $ac_write_fail = 0 ||
13577 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13578
13579
13580# configure is writing to config.log, and then calls config.status.
13581# config.status does its own redirection, appending to config.log.
13582# Unfortunately, on DOS this fails, as config.log is still kept open
13583# by configure, so config.status won't be able to write to it; its
13584# output is simply discarded. So we exec the FD to /dev/null,
13585# effectively closing config.log, so it can be properly (re)opened and
13586# appended to by config.status. When coming back to configure, we
13587# need to make the FD available again.
13588if test "$no_create" != yes; then
13589 ac_cs_success=:
13590 ac_config_status_args=
13591 test "$silent" = yes &&
13592 ac_config_status_args="$ac_config_status_args --quiet"
13593 exec 5>/dev/null
13594 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13595 exec 5>>config.log
13596 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13597 # would make configure fail if this is the last instruction.
13598 $ac_cs_success || as_fn_exit 1
13599fi
13600if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13602$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13603fi
13604