Debian Codegraph @

texk/dviljk/configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72 for dviljk (TeX Live) 2.6p5.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed 'exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
178 fi
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
187
188 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
189 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
190 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
192 PATH=/empty FPATH=/empty; export PATH FPATH
193 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
194 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
195 test \$(( 1 + 1 )) = 2 || exit 1"
196 if (eval "$as_required") 2>/dev/null
197 then :
198 as_have_required=yes
199 else case e in #(
200 e) as_have_required=no ;;
201 esac
202 fi
203 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
204 then :
205
206 else case e in #(
207 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 case $as_dir in #(((
213 '') as_dir=./ ;;
214 */) ;;
215 *) as_dir=$as_dir/ ;;
216 esac
217 as_found=:
218 case $as_dir in #(
219 /*)
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
225 then :
226 CONFIG_SHELL=$as_shell as_have_required=yes
227 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
228 then :
229 break 2
230 fi
231 fi
232 done;;
233 esac
234 as_found=false
235 done
236 IFS=$as_save_IFS
237 if $as_found
238 then :
239
240 else case e in #(
241 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
243 then :
244 CONFIG_SHELL=$SHELL as_have_required=yes
245 fi ;;
246 esac
247 fi
248
249
250 if test "x$CONFIG_SHELL" != x
251 then :
252 export CONFIG_SHELL
253 # We cannot yet assume a decent shell, so we have to provide a
254 # neutralization value for shells without unset; and this also
255 # works around shells that cannot unset nonexistent variables.
256 # Preserve -v and -x to the replacement shell.
257 BASH_ENV=/dev/null
258 ENV=/dev/null
259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
260 case $- in # ((((
261 *v*x* | *x*v* ) as_opts=-vx ;;
262 *v* ) as_opts=-v ;;
263 *x* ) as_opts=-x ;;
264 * ) as_opts= ;;
265 esac
266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
267 # Admittedly, this is quite paranoid, since all the known shells bail
268 # out after a failed 'exec'.
269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
270 exit 255
271 fi
272
273 if test x$as_have_required = xno
274 then :
275 printf "%s\n" "$0: This script requires a shell more modern than all"
276 printf "%s\n" "$0: the shells that I found on your system."
277 if test ${ZSH_VERSION+y} ; then
278 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
279 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
280 else
281 printf "%s\n" "$0: Please tell [email protected] and [email protected]
282 $0: about your system, including any error possibly output
283 $0: before this message. Then install a modern shell, or
284 $0: manually run the script under such a shell if you do
285 $0: have one."
286 fi
287 exit 1
288 fi ;;
289 esac
290 fi
291 fi
292 SHELL=${CONFIG_SHELL-/bin/sh}
293 export SHELL
294 # Unset more variables known to interfere with behavior of common tools.
295 CLICOLOR_FORCE= GREP_OPTIONS=
296 unset CLICOLOR_FORCE GREP_OPTIONS
297
298 ## --------------------- ##
299 ## M4sh Shell Functions. ##
300 ## --------------------- ##
301 # as_fn_unset VAR
302 # ---------------
303 # Portably unset VAR.
304 as_fn_unset ()
305 {
306 { eval $1=; unset $1;}
307 }
308 as_unset=as_fn_unset
309
310
311 # as_fn_set_status STATUS
312 # -----------------------
313 # Set $? to STATUS, without forking.
314 as_fn_set_status ()
315 {
316 return $1
317 } # as_fn_set_status
318
319 # as_fn_exit STATUS
320 # -----------------
321 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 as_fn_exit ()
323 {
324 set +e
325 as_fn_set_status $1
326 exit $1
327 } # as_fn_exit
328
329 # as_fn_mkdir_p
330 # -------------
331 # Create "$as_dir" as a directory, including parents if necessary.
332 as_fn_mkdir_p ()
333 {
334
335 case $as_dir in #(
336 -*) as_dir=./$as_dir;;
337 esac
338 test -d "$as_dir" || eval $as_mkdir_p || {
339 as_dirs=
340 while :; do
341 case $as_dir in #(
342 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
343 *) as_qdir=$as_dir;;
344 esac
345 as_dirs="'$as_qdir' $as_dirs"
346 as_dir=`$as_dirname -- "$as_dir" ||
347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
348 X"$as_dir" : 'X\(//\)[^/]' \| \
349 X"$as_dir" : 'X\(//\)$' \| \
350 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
351 printf "%s\n" X"$as_dir" |
352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
353 s//\1/
354 q
355 }
356 /^X\(\/\/\)[^/].*/{
357 s//\1/
358 q
359 }
360 /^X\(\/\/\)$/{
361 s//\1/
362 q
363 }
364 /^X\(\/\).*/{
365 s//\1/
366 q
367 }
368 s/.*/./; q'`
369 test -d "$as_dir" && break
370 done
371 test -z "$as_dirs" || eval "mkdir $as_dirs"
372 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
373
374
375 } # as_fn_mkdir_p
376
377 # as_fn_executable_p FILE
378 # -----------------------
379 # Test if FILE is an executable regular file.
380 as_fn_executable_p ()
381 {
382 test -f "$1" && test -x "$1"
383 } # as_fn_executable_p
384 # as_fn_append VAR VALUE
385 # ----------------------
386 # Append the text in VALUE to the end of the definition contained in VAR. Take
387 # advantage of any shell optimizations that allow amortized linear growth over
388 # repeated appends, instead of the typical quadratic growth present in naive
389 # implementations.
390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
391 then :
392 eval 'as_fn_append ()
393 {
394 eval $1+=\$2
395 }'
396 else case e in #(
397 e) as_fn_append ()
398 {
399 eval $1=\$$1\$2
400 } ;;
401 esac
402 fi # as_fn_append
403
404 # as_fn_arith ARG...
405 # ------------------
406 # Perform arithmetic evaluation on the ARGs, and store the result in the
407 # global $as_val. Take advantage of shells that can avoid forks. The arguments
408 # must be portable across $(()) and expr.
409 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
410 then :
411 eval 'as_fn_arith ()
412 {
413 as_val=$(( $* ))
414 }'
415 else case e in #(
416 e) as_fn_arith ()
417 {
418 as_val=`expr "$@" || test $? -eq 1`
419 } ;;
420 esac
421 fi # as_fn_arith
422
423
424 # as_fn_error STATUS ERROR [LINENO LOG_FD]
425 # ----------------------------------------
426 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
427 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
428 # script with STATUS, using 1 if that was 0.
429 as_fn_error ()
430 {
431 as_status=$1; test $as_status -eq 0 && as_status=1
432 if test "$4"; then
433 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
435 fi
436 printf "%s\n" "$as_me: error: $2" >&2
437 as_fn_exit $as_status
438 } # as_fn_error
439
440 if expr a : '\(a\)' >/dev/null 2>&1 &&
441 test "X`expr 00001 : '.*\(...\)'`" = X001; then
442 as_expr=expr
443 else
444 as_expr=false
445 fi
446
447 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
448 as_basename=basename
449 else
450 as_basename=false
451 fi
452
453 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
454 as_dirname=dirname
455 else
456 as_dirname=false
457 fi
458
459 as_me=`$as_basename -- "$0" ||
460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
461 X"$0" : 'X\(//\)$' \| \
462 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
463 printf "%s\n" X/"$0" |
464 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 s//\1/
466 q
467 }
468 /^X\/\(\/\/\)$/{
469 s//\1/
470 q
471 }
472 /^X\/\(\/\).*/{
473 s//\1/
474 q
475 }
476 s/.*/./; q'`
477
478 # Avoid depending upon Character Ranges.
479 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
480 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
481 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
482 as_cr_digits='0123456789'
483 as_cr_alnum=$as_cr_Letters$as_cr_digits
484
485
486 as_lineno_1=$LINENO as_lineno_1a=$LINENO
487 as_lineno_2=$LINENO as_lineno_2a=$LINENO
488 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
489 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
490 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
491 sed -n '
492 p
493 /[$]LINENO/=
494 ' <$as_myself |
495 sed '
496 t clear
497 :clear
498 s/[$]LINENO.*/&-/
499 t lineno
500 b
501 :lineno
502 N
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
521 }
522
523
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
536 *)
537 ECHO_N='-n';;
538 esac
539
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
545
546 rm -f conf$$ conf$$.exe conf$$.file
547 if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
549 else
550 rm -f conf$$.dir
551 mkdir conf$$.dir 2>/dev/null
552 fi
553 if (echo >conf$$.file) 2>/dev/null; then
554 if ln -s conf$$.file conf$$ 2>/dev/null; then
555 as_ln_s='ln -s'
556 # ... but there are two gotchas:
557 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
559 # In both cases, we have to default to 'cp -pR'.
560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
561 as_ln_s='cp -pR'
562 elif ln conf$$.file conf$$ 2>/dev/null; then
563 as_ln_s=ln
564 else
565 as_ln_s='cp -pR'
566 fi
567 else
568 as_ln_s='cp -pR'
569 fi
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
572
573 if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
575 else
576 test -d ./-p && rmdir ./-p
577 as_mkdir_p=false
578 fi
579
580 as_test_x='test -x'
581 as_executable_p=as_fn_executable_p
582
583 # Sed expression to map a string onto a valid CPP name.
584 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
585 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
586
587 # Sed expression to map a string onto a valid variable name.
588 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
589 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
590
591 SHELL=${CONFIG_SHELL-/bin/sh}
592
593
594 test -n "$DJDIR" || exec 7<&0 </dev/null
595 exec 6>&1
596
597 # Name of the host.
598 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
599 # so uname gets run too.
600 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
601
602 #
603 # Initializations.
604 #
605 ac_default_prefix=/usr/local
606 ac_clean_files=
607 ac_config_libobj_dir=.
608 LIBOBJS=
609 cross_compiling=no
610 subdirs=
611 MFLAGS=
612 MAKEFLAGS=
613
614 # Identity of this package.
615 PACKAGE_NAME='dviljk (TeX Live)'
616 PACKAGE_TARNAME='dviljk--tex-live-'
617 PACKAGE_VERSION='2.6p5'
618 PACKAGE_STRING='dviljk (TeX Live) 2.6p5'
619 PACKAGE_BUGREPORT='[email protected]'
620 PACKAGE_URL=''
621
622 ac_unique_file="dvi2xx.c"
623 # Factoring default headers for most tests.
624 ac_includes_default="\
625 #include <stddef.h>
626 #ifdef HAVE_STDIO_H
627 # include <stdio.h>
628 #endif
629 #ifdef HAVE_STDLIB_H
630 # include <stdlib.h>
631 #endif
632 #ifdef HAVE_STRING_H
633 # include <string.h>
634 #endif
635 #ifdef HAVE_INTTYPES_H
636 # include <inttypes.h>
637 #endif
638 #ifdef HAVE_STDINT_H
639 # include <stdint.h>
640 #endif
641 #ifdef HAVE_STRINGS_H
642 # include <strings.h>
643 #endif
644 #ifdef HAVE_SYS_TYPES_H
645 # include <sys/types.h>
646 #endif
647 #ifdef HAVE_SYS_STAT_H
648 # include <sys/stat.h>
649 #endif
650 #ifdef HAVE_UNISTD_H
651 # include <unistd.h>
652 #endif"
653
654 ac_header_c_list=
655 enable_year2038=no
656 ac_subst_vars='am__EXEEXT_FALSE
657 am__EXEEXT_TRUE
658 LTLIBOBJS
659 LIBOBJS
660 WIN32_CALL_FALSE
661 WIN32_CALL_TRUE
662 WIN32_FALSE
663 WIN32_TRUE
664 KPATHSEA_RULE
665 KPATHSEA_DEPEND
666 KPATHSEA_LIBS
667 KPATHSEA_INCLUDES
668 PKG_CONFIG
669 LT_SYS_LIBRARY_PATH
670 OTOOL64
671 OTOOL
672 LIPO
673 NMEDIT
674 DSYMUTIL
675 MANIFEST_TOOL
676 RANLIB
677 FILECMD
678 LN_S
679 NM
680 ac_ct_DUMPBIN
681 DUMPBIN
682 LD
683 FGREP
684 EGREP
685 GREP
686 SED
687 host_os
688 host_vendor
689 host_cpu
690 host
691 build_os
692 build_vendor
693 build_cpu
694 build
695 LIBTOOL
696 OBJDUMP
697 DLLTOOL
698 AS
699 ac_ct_AR
700 AR
701 WARNING_CFLAGS
702 am__fastdepCC_FALSE
703 am__fastdepCC_TRUE
704 CCDEPMODE
705 am__nodep
706 AMDEPBACKSLASH
707 AMDEP_FALSE
708 AMDEP_TRUE
709 am__include
710 DEPDIR
711 OBJEXT
712 EXEEXT
713 ac_ct_CC
714 CPPFLAGS
715 LDFLAGS
716 CFLAGS
717 CC
718 MAINT
719 MAINTAINER_MODE_FALSE
720 MAINTAINER_MODE_TRUE
721 am__xargs_n
722 am__rm_f_notfound
723 AM_BACKSLASH
724 AM_DEFAULT_VERBOSITY
725 AM_DEFAULT_V
726 AM_V
727 CSCOPE
728 ETAGS
729 CTAGS
730 am__untar
731 am__tar
732 AMTAR
733 am__leading_dot
734 SET_MAKE
735 AWK
736 mkdir_p
737 MKDIR_P
738 INSTALL_STRIP_PROGRAM
739 STRIP
740 install_sh
741 MAKEINFO
742 AUTOHEADER
743 AUTOMAKE
744 AUTOCONF
745 ACLOCAL
746 VERSION
747 PACKAGE
748 CYGPATH_W
749 am__isrc
750 INSTALL_DATA
751 INSTALL_SCRIPT
752 INSTALL_PROGRAM
753 target_alias
754 host_alias
755 build_alias
756 LIBS
757 ECHO_T
758 ECHO_N
759 ECHO_C
760 DEFS
761 mandir
762 localedir
763 libdir
764 psdir
765 pdfdir
766 dvidir
767 htmldir
768 infodir
769 docdir
770 oldincludedir
771 includedir
772 runstatedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL
792 am__quote'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_silent_rules
797 enable_maintainer_mode
798 enable_dependency_tracking
799 enable_compiler_warnings
800 enable_shared
801 enable_static
802 enable_pic
803 with_pic
804 enable_fast_install
805 enable_aix_soname
806 with_aix_soname
807 with_gnu_ld
808 with_sysroot
809 enable_libtool_lock
810 enable_largefile
811 with_system_kpathsea
812 enable_year2038
813 '
814 ac_precious_vars='build_alias
815 host_alias
816 target_alias
817 CC
818 CFLAGS
819 LDFLAGS
820 LIBS
821 CPPFLAGS
822 LT_SYS_LIBRARY_PATH'
823
824
825 # Initialize some variables set by options.
826 ac_init_help=
827 ac_init_version=false
828 ac_unrecognized_opts=
829 ac_unrecognized_sep=
830 # The variables have the same names as the options, with
831 # dashes changed to underlines.
832 cache_file=/dev/null
833 exec_prefix=NONE
834 no_create=
835 no_recursion=
836 prefix=NONE
837 program_prefix=NONE
838 program_suffix=NONE
839 program_transform_name=s,x,x,
840 silent=
841 site=
842 srcdir=
843 verbose=
844 x_includes=NONE
845 x_libraries=NONE
846
847 # Installation directory options.
848 # These are left unexpanded so users can "make install exec_prefix=/foo"
849 # and all the variables that are supposed to be based on exec_prefix
850 # by default will actually change.
851 # Use braces instead of parens because sh, perl, etc. also accept them.
852 # (The list follows the same order as the GNU Coding Standards.)
853 bindir='${exec_prefix}/bin'
854 sbindir='${exec_prefix}/sbin'
855 libexecdir='${exec_prefix}/libexec'
856 datarootdir='${prefix}/share'
857 datadir='${datarootdir}'
858 sysconfdir='${prefix}/etc'
859 sharedstatedir='${prefix}/com'
860 localstatedir='${prefix}/var'
861 runstatedir='${localstatedir}/run'
862 includedir='${prefix}/include'
863 oldincludedir='/usr/include'
864 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
865 infodir='${datarootdir}/info'
866 htmldir='${docdir}'
867 dvidir='${docdir}'
868 pdfdir='${docdir}'
869 psdir='${docdir}'
870 libdir='${exec_prefix}/lib'
871 localedir='${datarootdir}/locale'
872 mandir='${datarootdir}/man'
873
874 ac_prev=
875 ac_dashdash=
876 for ac_option
877 do
878 # If the previous option needs an argument, assign it.
879 if test -n "$ac_prev"; then
880 eval $ac_prev=\$ac_option
881 ac_prev=
882 continue
883 fi
884
885 case $ac_option in
886 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
887 *=) ac_optarg= ;;
888 *) ac_optarg=yes ;;
889 esac
890
891 case $ac_dashdash$ac_option in
892 --)
893 ac_dashdash=yes ;;
894
895 -bindir | --bindir | --bindi | --bind | --bin | --bi)
896 ac_prev=bindir ;;
897 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
898 bindir=$ac_optarg ;;
899
900 -build | --build | --buil | --bui | --bu)
901 ac_prev=build_alias ;;
902 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
903 build_alias=$ac_optarg ;;
904
905 -cache-file | --cache-file | --cache-fil | --cache-fi \
906 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
907 ac_prev=cache_file ;;
908 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
909 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
910 cache_file=$ac_optarg ;;
911
912 --config-cache | -C)
913 cache_file=config.cache ;;
914
915 -datadir | --datadir | --datadi | --datad)
916 ac_prev=datadir ;;
917 -datadir=* | --datadir=* | --datadi=* | --datad=*)
918 datadir=$ac_optarg ;;
919
920 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
921 | --dataroo | --dataro | --datar)
922 ac_prev=datarootdir ;;
923 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
924 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
925 datarootdir=$ac_optarg ;;
926
927 -disable-* | --disable-*)
928 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
929 # Reject names that are not valid shell variable names.
930 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
931 as_fn_error $? "invalid feature name: '$ac_useropt'"
932 ac_useropt_orig=$ac_useropt
933 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
934 case $ac_user_opts in
935 *"
936 "enable_$ac_useropt"
937 "*) ;;
938 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
939 ac_unrecognized_sep=', ';;
940 esac
941 eval enable_$ac_useropt=no ;;
942
943 -docdir | --docdir | --docdi | --doc | --do)
944 ac_prev=docdir ;;
945 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
946 docdir=$ac_optarg ;;
947
948 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
949 ac_prev=dvidir ;;
950 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
951 dvidir=$ac_optarg ;;
952
953 -enable-* | --enable-*)
954 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957 as_fn_error $? "invalid feature name: '$ac_useropt'"
958 ac_useropt_orig=$ac_useropt
959 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
961 *"
962 "enable_$ac_useropt"
963 "*) ;;
964 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
965 ac_unrecognized_sep=', ';;
966 esac
967 eval enable_$ac_useropt=\$ac_optarg ;;
968
969 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
970 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
971 | --exec | --exe | --ex)
972 ac_prev=exec_prefix ;;
973 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
974 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
975 | --exec=* | --exe=* | --ex=*)
976 exec_prefix=$ac_optarg ;;
977
978 -gas | --gas | --ga | --g)
979 # Obsolete; use --with-gas.
980 with_gas=yes ;;
981
982 -help | --help | --hel | --he | -h)
983 ac_init_help=long ;;
984 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
985 ac_init_help=recursive ;;
986 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
987 ac_init_help=short ;;
988
989 -host | --host | --hos | --ho)
990 ac_prev=host_alias ;;
991 -host=* | --host=* | --hos=* | --ho=*)
992 host_alias=$ac_optarg ;;
993
994 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
995 ac_prev=htmldir ;;
996 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
997 | --ht=*)
998 htmldir=$ac_optarg ;;
999
1000 -includedir | --includedir | --includedi | --included | --include \
1001 | --includ | --inclu | --incl | --inc)
1002 ac_prev=includedir ;;
1003 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1004 | --includ=* | --inclu=* | --incl=* | --inc=*)
1005 includedir=$ac_optarg ;;
1006
1007 -infodir | --infodir | --infodi | --infod | --info | --inf)
1008 ac_prev=infodir ;;
1009 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1010 infodir=$ac_optarg ;;
1011
1012 -libdir | --libdir | --libdi | --libd)
1013 ac_prev=libdir ;;
1014 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1015 libdir=$ac_optarg ;;
1016
1017 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1018 | --libexe | --libex | --libe)
1019 ac_prev=libexecdir ;;
1020 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1021 | --libexe=* | --libex=* | --libe=*)
1022 libexecdir=$ac_optarg ;;
1023
1024 -localedir | --localedir | --localedi | --localed | --locale)
1025 ac_prev=localedir ;;
1026 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1027 localedir=$ac_optarg ;;
1028
1029 -localstatedir | --localstatedir | --localstatedi | --localstated \
1030 | --localstate | --localstat | --localsta | --localst | --locals)
1031 ac_prev=localstatedir ;;
1032 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1033 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1034 localstatedir=$ac_optarg ;;
1035
1036 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1037 ac_prev=mandir ;;
1038 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1039 mandir=$ac_optarg ;;
1040
1041 -nfp | --nfp | --nf)
1042 # Obsolete; use --without-fp.
1043 with_fp=no ;;
1044
1045 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1046 | --no-cr | --no-c | -n)
1047 no_create=yes ;;
1048
1049 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1050 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1051 no_recursion=yes ;;
1052
1053 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1054 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1055 | --oldin | --oldi | --old | --ol | --o)
1056 ac_prev=oldincludedir ;;
1057 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1058 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1059 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1060 oldincludedir=$ac_optarg ;;
1061
1062 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1063 ac_prev=prefix ;;
1064 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1065 prefix=$ac_optarg ;;
1066
1067 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1068 | --program-pre | --program-pr | --program-p)
1069 ac_prev=program_prefix ;;
1070 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1071 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1072 program_prefix=$ac_optarg ;;
1073
1074 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1075 | --program-suf | --program-su | --program-s)
1076 ac_prev=program_suffix ;;
1077 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1078 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1079 program_suffix=$ac_optarg ;;
1080
1081 -program-transform-name | --program-transform-name \
1082 | --program-transform-nam | --program-transform-na \
1083 | --program-transform-n | --program-transform- \
1084 | --program-transform | --program-transfor \
1085 | --program-transfo | --program-transf \
1086 | --program-trans | --program-tran \
1087 | --progr-tra | --program-tr | --program-t)
1088 ac_prev=program_transform_name ;;
1089 -program-transform-name=* | --program-transform-name=* \
1090 | --program-transform-nam=* | --program-transform-na=* \
1091 | --program-transform-n=* | --program-transform-=* \
1092 | --program-transform=* | --program-transfor=* \
1093 | --program-transfo=* | --program-transf=* \
1094 | --program-trans=* | --program-tran=* \
1095 | --progr-tra=* | --program-tr=* | --program-t=*)
1096 program_transform_name=$ac_optarg ;;
1097
1098 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1099 ac_prev=pdfdir ;;
1100 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1101 pdfdir=$ac_optarg ;;
1102
1103 -psdir | --psdir | --psdi | --psd | --ps)
1104 ac_prev=psdir ;;
1105 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1106 psdir=$ac_optarg ;;
1107
1108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1109 | -silent | --silent | --silen | --sile | --sil)
1110 silent=yes ;;
1111
1112 -runstatedir | --runstatedir | --runstatedi | --runstated \
1113 | --runstate | --runstat | --runsta | --runst | --runs \
1114 | --run | --ru | --r)
1115 ac_prev=runstatedir ;;
1116 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1117 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1118 | --run=* | --ru=* | --r=*)
1119 runstatedir=$ac_optarg ;;
1120
1121 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122 ac_prev=sbindir ;;
1123 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124 | --sbi=* | --sb=*)
1125 sbindir=$ac_optarg ;;
1126
1127 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1128 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1129 | --sharedst | --shareds | --shared | --share | --shar \
1130 | --sha | --sh)
1131 ac_prev=sharedstatedir ;;
1132 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1133 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1134 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135 | --sha=* | --sh=*)
1136 sharedstatedir=$ac_optarg ;;
1137
1138 -site | --site | --sit)
1139 ac_prev=site ;;
1140 -site=* | --site=* | --sit=*)
1141 site=$ac_optarg ;;
1142
1143 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144 ac_prev=srcdir ;;
1145 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1146 srcdir=$ac_optarg ;;
1147
1148 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1149 | --syscon | --sysco | --sysc | --sys | --sy)
1150 ac_prev=sysconfdir ;;
1151 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1152 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1153 sysconfdir=$ac_optarg ;;
1154
1155 -target | --target | --targe | --targ | --tar | --ta | --t)
1156 ac_prev=target_alias ;;
1157 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1158 target_alias=$ac_optarg ;;
1159
1160 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1161 verbose=yes ;;
1162
1163 -version | --version | --versio | --versi | --vers | -V)
1164 ac_init_version=: ;;
1165
1166 -with-* | --with-*)
1167 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 as_fn_error $? "invalid package name: '$ac_useropt'"
1171 ac_useropt_orig=$ac_useropt
1172 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1174 *"
1175 "with_$ac_useropt"
1176 "*) ;;
1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178 ac_unrecognized_sep=', ';;
1179 esac
1180 eval with_$ac_useropt=\$ac_optarg ;;
1181
1182 -without-* | --without-*)
1183 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186 as_fn_error $? "invalid package name: '$ac_useropt'"
1187 ac_useropt_orig=$ac_useropt
1188 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1190 *"
1191 "with_$ac_useropt"
1192 "*) ;;
1193 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194 ac_unrecognized_sep=', ';;
1195 esac
1196 eval with_$ac_useropt=no ;;
1197
1198 --x)
1199 # Obsolete; use --with-x.
1200 with_x=yes ;;
1201
1202 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1203 | --x-incl | --x-inc | --x-in | --x-i)
1204 ac_prev=x_includes ;;
1205 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1206 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1207 x_includes=$ac_optarg ;;
1208
1209 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1210 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1211 ac_prev=x_libraries ;;
1212 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1213 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214 x_libraries=$ac_optarg ;;
1215
1216 -*) as_fn_error $? "unrecognized option: '$ac_option'
1217 Try '$0 --help' for more information"
1218 ;;
1219
1220 *=*)
1221 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 case $ac_envvar in #(
1224 '' | [0-9]* | *[!_$as_cr_alnum]* )
1225 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1226 esac
1227 eval $ac_envvar=\$ac_optarg
1228 export $ac_envvar ;;
1229
1230 *)
1231 # FIXME: should be removed in autoconf 3.0.
1232 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1233 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236 ;;
1237
1238 esac
1239 done
1240
1241 if test -n "$ac_prev"; then
1242 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243 as_fn_error $? "missing argument to $ac_option"
1244 fi
1245
1246 if test -n "$ac_unrecognized_opts"; then
1247 case $enable_option_checking in
1248 no) ;;
1249 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251 esac
1252 fi
1253
1254 # Check all directory arguments for consistency.
1255 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir runstatedir
1259 do
1260 eval ac_val=\$$ac_var
1261 # Remove trailing slashes.
1262 case $ac_val in
1263 */ )
1264 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265 eval $ac_var=\$ac_val;;
1266 esac
1267 # Be sure to have absolute directory names.
1268 case $ac_val in
1269 [\\/$]* | ?:[\\/]* ) continue;;
1270 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271 esac
1272 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273 done
1274
1275 # There might be people who depend on the old broken behavior: '$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1278 build=$build_alias
1279 host=$host_alias
1280 target=$target_alias
1281
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x; then
1284 if test "x$build_alias" = x; then
1285 cross_compiling=maybe
1286 elif test "x$build_alias" != "x$host_alias"; then
1287 cross_compiling=yes
1288 fi
1289 fi
1290
1291 ac_tool_prefix=
1292 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1293
1294 test "$silent" = yes && exec 6>/dev/null
1295
1296
1297 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di=`ls -di .` &&
1299 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error $? "working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error $? "pwd does not report name of working directory"
1303
1304
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307 ac_srcdir_defaulted=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 printf "%s\n" X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316 s//\1/
1317 q
1318 }
1319 /^X\(\/\/\)[^/].*/{
1320 s//\1/
1321 q
1322 }
1323 /^X\(\/\/\)$/{
1324 s//\1/
1325 q
1326 }
1327 /^X\(\/\).*/{
1328 s//\1/
1329 q
1330 }
1331 s/.*/./; q'`
1332 srcdir=$ac_confdir
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1334 srcdir=..
1335 fi
1336 else
1337 ac_srcdir_defaulted=no
1338 fi
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1342 fi
1343 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1344 ac_abs_confdir=`(
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346 pwd)`
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1349 srcdir=.
1350 fi
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1354 case $srcdir in
1355 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1356 esac
1357 for ac_var in $ac_precious_vars; do
1358 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_${ac_var}_value=\$${ac_var}
1360 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1362 done
1363
1364 #
1365 # Report the --help message.
1366 #
1367 if test "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1370 cat <<_ACEOF
1371 'configure' configures dviljk (TeX Live) 2.6p5 to adapt to many kinds of systems.
1372
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1374
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1377
1378 Defaults for the options are specified in brackets.
1379
1380 Configuration:
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print 'checking ...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for '--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or '..']
1390
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1395 [PREFIX]
1396
1397 By default, 'make install' will install all the files in
1398 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than '$ac_default_prefix' using '--prefix',
1400 for instance '--prefix=\$HOME'.
1401
1402 For better control, use the options below.
1403
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1412 --libdir=DIR object code libraries [EPREFIX/lib]
1413 --includedir=DIR C header files [PREFIX/include]
1414 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1415 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1416 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1417 --infodir=DIR info documentation [DATAROOTDIR/info]
1418 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1419 --mandir=DIR man documentation [DATAROOTDIR/man]
1420 --docdir=DIR documentation root
1421 [DATAROOTDIR/doc/dviljk--tex-live-]
1422 --htmldir=DIR html documentation [DOCDIR]
1423 --dvidir=DIR dvi documentation [DOCDIR]
1424 --pdfdir=DIR pdf documentation [DOCDIR]
1425 --psdir=DIR ps documentation [DOCDIR]
1426 _ACEOF
1427
1428 cat <<\_ACEOF
1429
1430 Program names:
1431 --program-prefix=PREFIX prepend PREFIX to installed program names
1432 --program-suffix=SUFFIX append SUFFIX to installed program names
1433 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1434
1435 System types:
1436 --build=BUILD configure for building on BUILD [guessed]
1437 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1438 _ACEOF
1439 fi
1440
1441 if test -n "$ac_init_help"; then
1442 case $ac_init_help in
1443 short | recursive ) echo "Configuration of dviljk (TeX Live) 2.6p5:";;
1444 esac
1445 cat <<\_ACEOF
1446
1447 Optional Features:
1448 --disable-option-checking ignore unrecognized --enable/--with options
1449 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1450 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1451 --enable-silent-rules less verbose build output (undo: "make V=1")
1452 --disable-silent-rules verbose build output (undo: "make V=0")
1453 --enable-maintainer-mode
1454 enable make rules and dependencies not useful (and
1455 sometimes confusing) to the casual installer
1456 --enable-dependency-tracking
1457 do not reject slow dependency extractors
1458 --disable-dependency-tracking
1459 speeds up one-time build
1460 --enable-compiler-warnings=[no|min|yes|max|all]
1461 Turn on compiler warnings [default: yes if
1462 maintainer-mode, min otherwise]
1463 --enable-shared[=PKGS] build shared libraries [default=yes]
1464 --enable-static[=PKGS] build static libraries [default=yes]
1465 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1466 both]
1467 --enable-fast-install[=PKGS]
1468 optimize for fast installation [default=yes]
1469 --enable-aix-soname=aix|svr4|both
1470 shared library versioning (aka "SONAME") variant to
1471 provide on AIX, [default=aix].
1472 --disable-libtool-lock avoid locking (might break parallel builds)
1473 --disable-largefile omit support for large files
1474 --enable-year2038 support timestamps after 2038
1475
1476 Optional Packages:
1477 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1478 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1479 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1480 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1481 compiler's sysroot if not specified).
1482 --with-system-kpathsea use installed kpathsea headers and library (requires
1483 pkg-config)
1484
1485 Some influential environment variables:
1486 CC C compiler command
1487 CFLAGS C compiler flags
1488 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1489 nonstandard directory <lib dir>
1490 LIBS libraries to pass to the linker, e.g. -l<library>
1491 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492 you have headers in a nonstandard directory <include dir>
1493 LT_SYS_LIBRARY_PATH
1494 User-defined run-time library search path.
1495
1496 Use these variables to override the choices made by 'configure' or to help
1497 it to find libraries and programs with nonstandard names/locations.
1498
1499 Report bugs to <[email protected]>.
1500 _ACEOF
1501 ac_status=$?
1502 fi
1503
1504 if test "$ac_init_help" = "recursive"; then
1505 # If there are subdirs, report their specific --help.
1506 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1507 test -d "$ac_dir" ||
1508 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1509 continue
1510 ac_builddir=.
1511
1512 case "$ac_dir" in
1513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1514 *)
1515 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1516 # A ".." for each directory in $ac_dir_suffix.
1517 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1518 case $ac_top_builddir_sub in
1519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1521 esac ;;
1522 esac
1523 ac_abs_top_builddir=$ac_pwd
1524 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1525 # for backward compatibility:
1526 ac_top_builddir=$ac_top_build_prefix
1527
1528 case $srcdir in
1529 .) # We are building in place.
1530 ac_srcdir=.
1531 ac_top_srcdir=$ac_top_builddir_sub
1532 ac_abs_top_srcdir=$ac_pwd ;;
1533 [\\/]* | ?:[\\/]* ) # Absolute name.
1534 ac_srcdir=$srcdir$ac_dir_suffix;
1535 ac_top_srcdir=$srcdir
1536 ac_abs_top_srcdir=$srcdir ;;
1537 *) # Relative name.
1538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1539 ac_top_srcdir=$ac_top_build_prefix$srcdir
1540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1541 esac
1542 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1543
1544 cd "$ac_dir" || { ac_status=$?; continue; }
1545 # Check for configure.gnu first; this name is used for a wrapper for
1546 # Metaconfig's "Configure" on case-insensitive file systems.
1547 if test -f "$ac_srcdir/configure.gnu"; then
1548 echo &&
1549 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1550 elif test -f "$ac_srcdir/configure"; then
1551 echo &&
1552 $SHELL "$ac_srcdir/configure" --help=recursive
1553 else
1554 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1555 fi || ac_status=$?
1556 cd "$ac_pwd" || { ac_status=$?; break; }
1557 done
1558 fi
1559
1560 test -n "$ac_init_help" && exit $ac_status
1561 if $ac_init_version; then
1562 cat <<\_ACEOF
1563 dviljk (TeX Live) configure 2.6p5
1564 generated by GNU Autoconf 2.72
1565
1566 Copyright (C) 2023 Free Software Foundation, Inc.
1567 This configure script is free software; the Free Software Foundation
1568 gives unlimited permission to copy, distribute and modify it.
1569 _ACEOF
1570 exit
1571 fi
1572
1573 ## ------------------------ ##
1574 ## Autoconf initialization. ##
1575 ## ------------------------ ##
1576
1577 # ac_fn_c_try_compile LINENO
1578 # --------------------------
1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1580 ac_fn_c_try_compile ()
1581 {
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 rm -f conftest.$ac_objext conftest.beam
1584 if { { ac_try="$ac_compile"
1585 case "(($ac_try" in
1586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1588 esac
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 printf "%s\n" "$ac_try_echo"; } >&5
1591 (eval "$ac_compile") 2>conftest.err
1592 ac_status=$?
1593 if test -s conftest.err; then
1594 grep -v '^ *+' conftest.err >conftest.er1
1595 cat conftest.er1 >&5
1596 mv -f conftest.er1 conftest.err
1597 fi
1598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_c_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest.$ac_objext
1603 then :
1604 ac_retval=0
1605 else case e in #(
1606 e) printf "%s\n" "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1608
1609 ac_retval=1 ;;
1610 esac
1611 fi
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613 as_fn_set_status $ac_retval
1614
1615 } # ac_fn_c_try_compile
1616
1617 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1618 # -------------------------------------------------------
1619 # Tests whether HEADER exists and can be compiled using the include files in
1620 # INCLUDES, setting the cache variable VAR accordingly.
1621 ac_fn_c_check_header_compile ()
1622 {
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1625 printf %s "checking for $2... " >&6; }
1626 if eval test \${$3+y}
1627 then :
1628 printf %s "(cached) " >&6
1629 else case e in #(
1630 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1632 $4
1633 #include <$2>
1634 _ACEOF
1635 if ac_fn_c_try_compile "$LINENO"
1636 then :
1637 eval "$3=yes"
1638 else case e in #(
1639 e) eval "$3=no" ;;
1640 esac
1641 fi
1642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1643 esac
1644 fi
1645 eval ac_res=\$$3
1646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647 printf "%s\n" "$ac_res" >&6; }
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649
1650 } # ac_fn_c_check_header_compile
1651
1652 # ac_fn_c_try_link LINENO
1653 # -----------------------
1654 # Try to link conftest.$ac_ext, and return whether this succeeded.
1655 ac_fn_c_try_link ()
1656 {
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1659 if { { ac_try="$ac_link"
1660 case "(($ac_try" in
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1663 esac
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 printf "%s\n" "$ac_try_echo"; } >&5
1666 (eval "$ac_link") 2>conftest.err
1667 ac_status=$?
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1672 fi
1673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } && {
1675 test -z "$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1677 } && test -s conftest$ac_exeext && {
1678 test "$cross_compiling" = yes ||
1679 test -x conftest$ac_exeext
1680 }
1681 then :
1682 ac_retval=0
1683 else case e in #(
1684 e) printf "%s\n" "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1686
1687 ac_retval=1 ;;
1688 esac
1689 fi
1690 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1691 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1692 # interfere with the next link command; also delete a directory that is
1693 # left behind by Apple's compiler. We do this before executing the actions.
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1697
1698 } # ac_fn_c_try_link
1699
1700 # ac_fn_c_check_func LINENO FUNC VAR
1701 # ----------------------------------
1702 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1703 ac_fn_c_check_func ()
1704 {
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 printf %s "checking for $2... " >&6; }
1708 if eval test \${$3+y}
1709 then :
1710 printf %s "(cached) " >&6
1711 else case e in #(
1712 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1714 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1716 #define $2 innocuous_$2
1717
1718 /* System header to define __stub macros and hopefully few prototypes,
1719 which can conflict with char $2 (void); below. */
1720
1721 #include <limits.h>
1722 #undef $2
1723
1724 /* Override any GCC internal prototype to avoid an error.
1725 Use char because int might match the return type of a GCC
1726 builtin and then its argument prototype would still apply. */
1727 #ifdef __cplusplus
1728 extern "C"
1729 #endif
1730 char $2 (void);
1731 /* The GNU C library defines this for functions which it implements
1732 to always fail with ENOSYS. Some functions are actually named
1733 something starting with __ and the normal name is an alias. */
1734 #if defined __stub_$2 || defined __stub___$2
1735 choke me
1736 #endif
1737
1738 int
1739 main (void)
1740 {
1741 return $2 ();
1742 ;
1743 return 0;
1744 }
1745 _ACEOF
1746 if ac_fn_c_try_link "$LINENO"
1747 then :
1748 eval "$3=yes"
1749 else case e in #(
1750 e) eval "$3=no" ;;
1751 esac
1752 fi
1753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1754 conftest$ac_exeext conftest.$ac_ext ;;
1755 esac
1756 fi
1757 eval ac_res=\$$3
1758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 printf "%s\n" "$ac_res" >&6; }
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761
1762 } # ac_fn_c_check_func
1763
1764 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1765 # -------------------------------------------
1766 # Tests whether TYPE exists after having included INCLUDES, setting cache
1767 # variable VAR accordingly.
1768 ac_fn_c_check_type ()
1769 {
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 printf %s "checking for $2... " >&6; }
1773 if eval test \${$3+y}
1774 then :
1775 printf %s "(cached) " >&6
1776 else case e in #(
1777 e) eval "$3=no"
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1780 $4
1781 int
1782 main (void)
1783 {
1784 if (sizeof ($2))
1785 return 0;
1786 ;
1787 return 0;
1788 }
1789 _ACEOF
1790 if ac_fn_c_try_compile "$LINENO"
1791 then :
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1794 $4
1795 int
1796 main (void)
1797 {
1798 if (sizeof (($2)))
1799 return 0;
1800 ;
1801 return 0;
1802 }
1803 _ACEOF
1804 if ac_fn_c_try_compile "$LINENO"
1805 then :
1806
1807 else case e in #(
1808 e) eval "$3=yes" ;;
1809 esac
1810 fi
1811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1812 fi
1813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1814 esac
1815 fi
1816 eval ac_res=\$$3
1817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 printf "%s\n" "$ac_res" >&6; }
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820
1821 } # ac_fn_c_check_type
1822
1823 # ac_fn_c_find_intX_t LINENO BITS VAR
1824 # -----------------------------------
1825 # Finds a signed integer type with width BITS, setting cache variable VAR
1826 # accordingly.
1827 ac_fn_c_find_intX_t ()
1828 {
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1831 printf %s "checking for int$2_t... " >&6; }
1832 if eval test \${$3+y}
1833 then :
1834 printf %s "(cached) " >&6
1835 else case e in #(
1836 e) eval "$3=no"
1837 # Order is important - never check a type that is potentially smaller
1838 # than half of the expected target width.
1839 for ac_type in int$2_t 'int' 'long int' \
1840 'long long int' 'short int' 'signed char'; do
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1843 $ac_includes_default
1844 enum { N = $2 / 2 - 1 };
1845 int
1846 main (void)
1847 {
1848 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1849 test_array [0] = 0;
1850 return test_array [0];
1851
1852 ;
1853 return 0;
1854 }
1855 _ACEOF
1856 if ac_fn_c_try_compile "$LINENO"
1857 then :
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1860 $ac_includes_default
1861 enum { N = $2 / 2 - 1 };
1862 int
1863 main (void)
1864 {
1865 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1866 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1867 test_array [0] = 0;
1868 return test_array [0];
1869
1870 ;
1871 return 0;
1872 }
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"
1875 then :
1876
1877 else case e in #(
1878 e) case $ac_type in #(
1879 int$2_t) :
1880 eval "$3=yes" ;; #(
1881 *) :
1882 eval "$3=\$ac_type" ;;
1883 esac ;;
1884 esac
1885 fi
1886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1887 fi
1888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1889 if eval test \"x\$"$3"\" = x"no"
1890 then :
1891
1892 else case e in #(
1893 e) break ;;
1894 esac
1895 fi
1896 done ;;
1897 esac
1898 fi
1899 eval ac_res=\$$3
1900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 printf "%s\n" "$ac_res" >&6; }
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903
1904 } # ac_fn_c_find_intX_t
1905
1906 # ac_fn_c_find_uintX_t LINENO BITS VAR
1907 # ------------------------------------
1908 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1909 # accordingly.
1910 ac_fn_c_find_uintX_t ()
1911 {
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1914 printf %s "checking for uint$2_t... " >&6; }
1915 if eval test \${$3+y}
1916 then :
1917 printf %s "(cached) " >&6
1918 else case e in #(
1919 e) eval "$3=no"
1920 # Order is important - never check a type that is potentially smaller
1921 # than half of the expected target width.
1922 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1923 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1926 $ac_includes_default
1927 int
1928 main (void)
1929 {
1930 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1931 test_array [0] = 0;
1932 return test_array [0];
1933
1934 ;
1935 return 0;
1936 }
1937 _ACEOF
1938 if ac_fn_c_try_compile "$LINENO"
1939 then :
1940 case $ac_type in #(
1941 uint$2_t) :
1942 eval "$3=yes" ;; #(
1943 *) :
1944 eval "$3=\$ac_type" ;;
1945 esac
1946 fi
1947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1948 if eval test \"x\$"$3"\" = x"no"
1949 then :
1950
1951 else case e in #(
1952 e) break ;;
1953 esac
1954 fi
1955 done ;;
1956 esac
1957 fi
1958 eval ac_res=\$$3
1959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 printf "%s\n" "$ac_res" >&6; }
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962
1963 } # ac_fn_c_find_uintX_t
1964
1965 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1966 # ------------------------------------------------------------------
1967 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1968 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1969 ac_fn_check_decl ()
1970 {
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 as_decl_name=`echo $2|sed 's/ *(.*//'`
1973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1974 printf %s "checking whether $as_decl_name is declared... " >&6; }
1975 if eval test \${$3+y}
1976 then :
1977 printf %s "(cached) " >&6
1978 else case e in #(
1979 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1980 eval ac_save_FLAGS=\$$6
1981 as_fn_append $6 " $5"
1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1984 $4
1985 int
1986 main (void)
1987 {
1988 #ifndef $as_decl_name
1989 #ifdef __cplusplus
1990 (void) $as_decl_use;
1991 #else
1992 (void) $as_decl_name;
1993 #endif
1994 #endif
1995
1996 ;
1997 return 0;
1998 }
1999 _ACEOF
2000 if ac_fn_c_try_compile "$LINENO"
2001 then :
2002 eval "$3=yes"
2003 else case e in #(
2004 e) eval "$3=no" ;;
2005 esac
2006 fi
2007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2008 eval $6=\$ac_save_FLAGS
2009 ;;
2010 esac
2011 fi
2012 eval ac_res=\$$3
2013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2014 printf "%s\n" "$ac_res" >&6; }
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016
2017 } # ac_fn_check_decl
2018
2019 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2020 # ----------------------------------------------------
2021 # Tries to find if the field MEMBER exists in type AGGR, after including
2022 # INCLUDES, setting cache variable VAR accordingly.
2023 ac_fn_c_check_member ()
2024 {
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2027 printf %s "checking for $2.$3... " >&6; }
2028 if eval test \${$4+y}
2029 then :
2030 printf %s "(cached) " >&6
2031 else case e in #(
2032 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2034 $5
2035 int
2036 main (void)
2037 {
2038 static $2 ac_aggr;
2039 if (ac_aggr.$3)
2040 return 0;
2041 ;
2042 return 0;
2043 }
2044 _ACEOF
2045 if ac_fn_c_try_compile "$LINENO"
2046 then :
2047 eval "$4=yes"
2048 else case e in #(
2049 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2051 $5
2052 int
2053 main (void)
2054 {
2055 static $2 ac_aggr;
2056 if (sizeof ac_aggr.$3)
2057 return 0;
2058 ;
2059 return 0;
2060 }
2061 _ACEOF
2062 if ac_fn_c_try_compile "$LINENO"
2063 then :
2064 eval "$4=yes"
2065 else case e in #(
2066 e) eval "$4=no" ;;
2067 esac
2068 fi
2069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2070 esac
2071 fi
2072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2073 esac
2074 fi
2075 eval ac_res=\$$4
2076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 printf "%s\n" "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079
2080 } # ac_fn_c_check_member
2081
2082 # ac_fn_c_try_run LINENO
2083 # ----------------------
2084 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2085 # executables *can* be run.
2086 ac_fn_c_try_run ()
2087 {
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 if { { ac_try="$ac_link"
2090 case "(($ac_try" in
2091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2092 *) ac_try_echo=$ac_try;;
2093 esac
2094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2095 printf "%s\n" "$ac_try_echo"; } >&5
2096 (eval "$ac_link") 2>&5
2097 ac_status=$?
2098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2099 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2100 { { case "(($ac_try" in
2101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2102 *) ac_try_echo=$ac_try;;
2103 esac
2104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2105 printf "%s\n" "$ac_try_echo"; } >&5
2106 (eval "$ac_try") 2>&5
2107 ac_status=$?
2108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2109 test $ac_status = 0; }; }
2110 then :
2111 ac_retval=0
2112 else case e in #(
2113 e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2114 printf "%s\n" "$as_me: failed program was:" >&5
2115 sed 's/^/| /' conftest.$ac_ext >&5
2116
2117 ac_retval=$ac_status ;;
2118 esac
2119 fi
2120 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122 as_fn_set_status $ac_retval
2123
2124 } # ac_fn_c_try_run
2125
2126 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2127 # --------------------------------------------
2128 # Tries to find the compile-time value of EXPR in a program that includes
2129 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2130 # computed
2131 ac_fn_c_compute_int ()
2132 {
2133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2134 if test "$cross_compiling" = yes; then
2135 # Depending upon the size, compute the lo and hi bounds.
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2138 $4
2139 int
2140 main (void)
2141 {
2142 static int test_array [1 - 2 * !(($2) >= 0)];
2143 test_array [0] = 0;
2144 return test_array [0];
2145
2146 ;
2147 return 0;
2148 }
2149 _ACEOF
2150 if ac_fn_c_try_compile "$LINENO"
2151 then :
2152 ac_lo=0 ac_mid=0
2153 while :; do
2154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2156 $4
2157 int
2158 main (void)
2159 {
2160 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2161 test_array [0] = 0;
2162 return test_array [0];
2163
2164 ;
2165 return 0;
2166 }
2167 _ACEOF
2168 if ac_fn_c_try_compile "$LINENO"
2169 then :
2170 ac_hi=$ac_mid; break
2171 else case e in #(
2172 e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2173 if test $ac_lo -le $ac_mid; then
2174 ac_lo= ac_hi=
2175 break
2176 fi
2177 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;;
2178 esac
2179 fi
2180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2181 done
2182 else case e in #(
2183 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2185 $4
2186 int
2187 main (void)
2188 {
2189 static int test_array [1 - 2 * !(($2) < 0)];
2190 test_array [0] = 0;
2191 return test_array [0];
2192
2193 ;
2194 return 0;
2195 }
2196 _ACEOF
2197 if ac_fn_c_try_compile "$LINENO"
2198 then :
2199 ac_hi=-1 ac_mid=-1
2200 while :; do
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 $4
2204 int
2205 main (void)
2206 {
2207 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2208 test_array [0] = 0;
2209 return test_array [0];
2210
2211 ;
2212 return 0;
2213 }
2214 _ACEOF
2215 if ac_fn_c_try_compile "$LINENO"
2216 then :
2217 ac_lo=$ac_mid; break
2218 else case e in #(
2219 e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2220 if test $ac_mid -le $ac_hi; then
2221 ac_lo= ac_hi=
2222 break
2223 fi
2224 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;;
2225 esac
2226 fi
2227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2228 done
2229 else case e in #(
2230 e) ac_lo= ac_hi= ;;
2231 esac
2232 fi
2233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2234 esac
2235 fi
2236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2237 # Binary search between lo and hi bounds.
2238 while test "x$ac_lo" != "x$ac_hi"; do
2239 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2241 /* end confdefs.h. */
2242 $4
2243 int
2244 main (void)
2245 {
2246 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2247 test_array [0] = 0;
2248 return test_array [0];
2249
2250 ;
2251 return 0;
2252 }
2253 _ACEOF
2254 if ac_fn_c_try_compile "$LINENO"
2255 then :
2256 ac_hi=$ac_mid
2257 else case e in #(
2258 e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;;
2259 esac
2260 fi
2261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2262 done
2263 case $ac_lo in #((
2264 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2265 '') ac_retval=1 ;;
2266 esac
2267 else
2268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h. */
2270 $4
2271 static long int longval (void) { return $2; }
2272 static unsigned long int ulongval (void) { return $2; }
2273 #include <stdio.h>
2274 #include <stdlib.h>
2275 int
2276 main (void)
2277 {
2278
2279 FILE *f = fopen ("conftest.val", "w");
2280 if (! f)
2281 return 1;
2282 if (($2) < 0)
2283 {
2284 long int i = longval ();
2285 if (i != ($2))
2286 return 1;
2287 fprintf (f, "%ld", i);
2288 }
2289 else
2290 {
2291 unsigned long int i = ulongval ();
2292 if (i != ($2))
2293 return 1;
2294 fprintf (f, "%lu", i);
2295 }
2296 /* Do not output a trailing newline, as this causes \r\n confusion
2297 on some platforms. */
2298 return ferror (f) || fclose (f) != 0;
2299
2300 ;
2301 return 0;
2302 }
2303 _ACEOF
2304 if ac_fn_c_try_run "$LINENO"
2305 then :
2306 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2307 else case e in #(
2308 e) ac_retval=1 ;;
2309 esac
2310 fi
2311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2312 conftest.$ac_objext conftest.beam conftest.$ac_ext
2313 rm -f conftest.val
2314
2315 fi
2316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2317 as_fn_set_status $ac_retval
2318
2319 } # ac_fn_c_compute_int
2320 ac_configure_args_raw=
2321 for ac_arg
2322 do
2323 case $ac_arg in
2324 *\'*)
2325 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2326 esac
2327 as_fn_append ac_configure_args_raw " '$ac_arg'"
2328 done
2329
2330 case $ac_configure_args_raw in
2331 *$as_nl*)
2332 ac_safe_unquote= ;;
2333 *)
2334 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2335 ac_unsafe_a="$ac_unsafe_z#~"
2336 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2337 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2338 esac
2339
2340 cat >config.log <<_ACEOF
2341 This file contains any messages produced by compilers while
2342 running configure, to aid debugging if configure makes a mistake.
2343
2344 It was created by dviljk (TeX Live) $as_me 2.6p5, which was
2345 generated by GNU Autoconf 2.72. Invocation command line was
2346
2347 $ $0$ac_configure_args_raw
2348
2349 _ACEOF
2350 exec 5>>config.log
2351 {
2352 cat <<_ASUNAME
2353 ## --------- ##
2354 ## Platform. ##
2355 ## --------- ##
2356
2357 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2358 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2359 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2360 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2361 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2362
2363 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2364 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2365
2366 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2367 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2368 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2369 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2370 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2371 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2372 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2373
2374 _ASUNAME
2375
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 for as_dir in $PATH
2378 do
2379 IFS=$as_save_IFS
2380 case $as_dir in #(((
2381 '') as_dir=./ ;;
2382 */) ;;
2383 *) as_dir=$as_dir/ ;;
2384 esac
2385 printf "%s\n" "PATH: $as_dir"
2386 done
2387 IFS=$as_save_IFS
2388
2389 } >&5
2390
2391 cat >&5 <<_ACEOF
2392
2393
2394 ## ----------- ##
2395 ## Core tests. ##
2396 ## ----------- ##
2397
2398 _ACEOF
2399
2400
2401 # Keep a trace of the command line.
2402 # Strip out --no-create and --no-recursion so they do not pile up.
2403 # Strip out --silent because we don't want to record it for future runs.
2404 # Also quote any args containing shell meta-characters.
2405 # Make two passes to allow for proper duplicate-argument suppression.
2406 ac_configure_args=
2407 ac_configure_args0=
2408 ac_configure_args1=
2409 ac_must_keep_next=false
2410 for ac_pass in 1 2
2411 do
2412 for ac_arg
2413 do
2414 case $ac_arg in
2415 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2416 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2417 | -silent | --silent | --silen | --sile | --sil)
2418 continue ;;
2419 *\'*)
2420 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2421 esac
2422 case $ac_pass in
2423 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2424 2)
2425 as_fn_append ac_configure_args1 " '$ac_arg'"
2426 if test $ac_must_keep_next = true; then
2427 ac_must_keep_next=false # Got value, back to normal.
2428 else
2429 case $ac_arg in
2430 *=* | --config-cache | -C | -disable-* | --disable-* \
2431 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2432 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2433 | -with-* | --with-* | -without-* | --without-* | --x)
2434 case "$ac_configure_args0 " in
2435 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2436 esac
2437 ;;
2438 -* ) ac_must_keep_next=true ;;
2439 esac
2440 fi
2441 as_fn_append ac_configure_args " '$ac_arg'"
2442 ;;
2443 esac
2444 done
2445 done
2446 { ac_configure_args0=; unset ac_configure_args0;}
2447 { ac_configure_args1=; unset ac_configure_args1;}
2448
2449 # When interrupted or exit'd, cleanup temporary files, and complete
2450 # config.log. We remove comments because anyway the quotes in there
2451 # would cause problems or look ugly.
2452 # WARNING: Use '\'' to represent an apostrophe within the trap.
2453 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2454 trap 'exit_status=$?
2455 # Sanitize IFS.
2456 IFS=" "" $as_nl"
2457 # Save into config.log some information that might help in debugging.
2458 {
2459 echo
2460
2461 printf "%s\n" "## ---------------- ##
2462 ## Cache variables. ##
2463 ## ---------------- ##"
2464 echo
2465 # The following way of writing the cache mishandles newlines in values,
2466 (
2467 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2468 eval ac_val=\$$ac_var
2469 case $ac_val in #(
2470 *${as_nl}*)
2471 case $ac_var in #(
2472 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2473 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2474 esac
2475 case $ac_var in #(
2476 _ | IFS | as_nl) ;; #(
2477 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2478 *) { eval $ac_var=; unset $ac_var;} ;;
2479 esac ;;
2480 esac
2481 done
2482 (set) 2>&1 |
2483 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2484 *${as_nl}ac_space=\ *)
2485 sed -n \
2486 "s/'\''/'\''\\\\'\'''\''/g;
2487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2488 ;; #(
2489 *)
2490 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2491 ;;
2492 esac |
2493 sort
2494 )
2495 echo
2496
2497 printf "%s\n" "## ----------------- ##
2498 ## Output variables. ##
2499 ## ----------------- ##"
2500 echo
2501 for ac_var in $ac_subst_vars
2502 do
2503 eval ac_val=\$$ac_var
2504 case $ac_val in
2505 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2506 esac
2507 printf "%s\n" "$ac_var='\''$ac_val'\''"
2508 done | sort
2509 echo
2510
2511 if test -n "$ac_subst_files"; then
2512 printf "%s\n" "## ------------------- ##
2513 ## File substitutions. ##
2514 ## ------------------- ##"
2515 echo
2516 for ac_var in $ac_subst_files
2517 do
2518 eval ac_val=\$$ac_var
2519 case $ac_val in
2520 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2521 esac
2522 printf "%s\n" "$ac_var='\''$ac_val'\''"
2523 done | sort
2524 echo
2525 fi
2526
2527 if test -s confdefs.h; then
2528 printf "%s\n" "## ----------- ##
2529 ## confdefs.h. ##
2530 ## ----------- ##"
2531 echo
2532 cat confdefs.h
2533 echo
2534 fi
2535 test "$ac_signal" != 0 &&
2536 printf "%s\n" "$as_me: caught signal $ac_signal"
2537 printf "%s\n" "$as_me: exit $exit_status"
2538 } >&5
2539 rm -f core *.core core.conftest.* &&
2540 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2541 exit $exit_status
2542 ' 0
2543 for ac_signal in 1 2 13 15; do
2544 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2545 done
2546 ac_signal=0
2547
2548 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2549 rm -f -r conftest* confdefs.h
2550
2551 printf "%s\n" "/* confdefs.h */" > confdefs.h
2552
2553 # Predefined preprocessor variables.
2554
2555 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2556
2557 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2558
2559 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2560
2561 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2562
2563 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2564
2565 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2566
2567
2568 # Let the site file select an alternate cache file if it wants to.
2569 # Prefer an explicitly selected file to automatically selected ones.
2570 if test -n "$CONFIG_SITE"; then
2571 ac_site_files="$CONFIG_SITE"
2572 elif test "x$prefix" != xNONE; then
2573 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2574 else
2575 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2576 fi
2577
2578 for ac_site_file in $ac_site_files
2579 do
2580 case $ac_site_file in #(
2581 */*) :
2582 ;; #(
2583 *) :
2584 ac_site_file=./$ac_site_file ;;
2585 esac
2586 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2588 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2589 sed 's/^/| /' "$ac_site_file" >&5
2590 . "$ac_site_file" \
2591 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2592 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2593 as_fn_error $? "failed to load site script $ac_site_file
2594 See 'config.log' for more details" "$LINENO" 5; }
2595 fi
2596 done
2597
2598 if test -r "$cache_file"; then
2599 # Some versions of bash will fail to source /dev/null (special files
2600 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2601 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2603 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2604 case $cache_file in
2605 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2606 *) . "./$cache_file";;
2607 esac
2608 fi
2609 else
2610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2611 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2612 >$cache_file
2613 fi
2614
2615 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2616 # Test code for whether the C compiler supports C89 (global declarations)
2617 ac_c_conftest_c89_globals='
2618 /* Does the compiler advertise C89 conformance?
2619 Do not test the value of __STDC__, because some compilers set it to 0
2620 while being otherwise adequately conformant. */
2621 #if !defined __STDC__
2622 # error "Compiler does not advertise C89 conformance"
2623 #endif
2624
2625 #include <stddef.h>
2626 #include <stdarg.h>
2627 struct stat;
2628 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2629 struct buf { int x; };
2630 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2631 static char *e (char **p, int i)
2632 {
2633 return p[i];
2634 }
2635 static char *f (char * (*g) (char **, int), char **p, ...)
2636 {
2637 char *s;
2638 va_list v;
2639 va_start (v,p);
2640 s = g (p, va_arg (v,int));
2641 va_end (v);
2642 return s;
2643 }
2644
2645 /* C89 style stringification. */
2646 #define noexpand_stringify(a) #a
2647 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2648
2649 /* C89 style token pasting. Exercises some of the corner cases that
2650 e.g. old MSVC gets wrong, but not very hard. */
2651 #define noexpand_concat(a,b) a##b
2652 #define expand_concat(a,b) noexpand_concat(a,b)
2653 extern int vA;
2654 extern int vbee;
2655 #define aye A
2656 #define bee B
2657 int *pvA = &expand_concat(v,aye);
2658 int *pvbee = &noexpand_concat(v,bee);
2659
2660 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2661 function prototypes and stuff, but not \xHH hex character constants.
2662 These do not provoke an error unfortunately, instead are silently treated
2663 as an "x". The following induces an error, until -std is added to get
2664 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2665 array size at least. It is necessary to write \x00 == 0 to get something
2666 that is true only with -std. */
2667 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2668
2669 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2670 inside strings and character constants. */
2671 #define FOO(x) '\''x'\''
2672 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2673
2674 int test (int i, double x);
2675 struct s1 {int (*f) (int a);};
2676 struct s2 {int (*f) (double a);};
2677 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2678 int, int);'
2679
2680 # Test code for whether the C compiler supports C89 (body of main).
2681 ac_c_conftest_c89_main='
2682 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2683 '
2684
2685 # Test code for whether the C compiler supports C99 (global declarations)
2686 ac_c_conftest_c99_globals='
2687 /* Does the compiler advertise C99 conformance? */
2688 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2689 # error "Compiler does not advertise C99 conformance"
2690 #endif
2691
2692 // See if C++-style comments work.
2693
2694 #include <stdbool.h>
2695 extern int puts (const char *);
2696 extern int printf (const char *, ...);
2697 extern int dprintf (int, const char *, ...);
2698 extern void *malloc (size_t);
2699 extern void free (void *);
2700
2701 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2702 // dprintf is used instead of fprintf to avoid needing to declare
2703 // FILE and stderr.
2704 #define debug(...) dprintf (2, __VA_ARGS__)
2705 #define showlist(...) puts (#__VA_ARGS__)
2706 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2707 static void
2708 test_varargs_macros (void)
2709 {
2710 int x = 1234;
2711 int y = 5678;
2712 debug ("Flag");
2713 debug ("X = %d\n", x);
2714 showlist (The first, second, and third items.);
2715 report (x>y, "x is %d but y is %d", x, y);
2716 }
2717
2718 // Check long long types.
2719 #define BIG64 18446744073709551615ull
2720 #define BIG32 4294967295ul
2721 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2722 #if !BIG_OK
2723 #error "your preprocessor is broken"
2724 #endif
2725 #if BIG_OK
2726 #else
2727 #error "your preprocessor is broken"
2728 #endif
2729 static long long int bignum = -9223372036854775807LL;
2730 static unsigned long long int ubignum = BIG64;
2731
2732 struct incomplete_array
2733 {
2734 int datasize;
2735 double data[];
2736 };
2737
2738 struct named_init {
2739 int number;
2740 const wchar_t *name;
2741 double average;
2742 };
2743
2744 typedef const char *ccp;
2745
2746 static inline int
2747 test_restrict (ccp restrict text)
2748 {
2749 // Iterate through items via the restricted pointer.
2750 // Also check for declarations in for loops.
2751 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2752 continue;
2753 return 0;
2754 }
2755
2756 // Check varargs and va_copy.
2757 static bool
2758 test_varargs (const char *format, ...)
2759 {
2760 va_list args;
2761 va_start (args, format);
2762 va_list args_copy;
2763 va_copy (args_copy, args);
2764
2765 const char *str = "";
2766 int number = 0;
2767 float fnumber = 0;
2768
2769 while (*format)
2770 {
2771 switch (*format++)
2772 {
2773 case '\''s'\'': // string
2774 str = va_arg (args_copy, const char *);
2775 break;
2776 case '\''d'\'': // int
2777 number = va_arg (args_copy, int);
2778 break;
2779 case '\''f'\'': // float
2780 fnumber = va_arg (args_copy, double);
2781 break;
2782 default:
2783 break;
2784 }
2785 }
2786 va_end (args_copy);
2787 va_end (args);
2788
2789 return *str && number && fnumber;
2790 }
2791 '
2792
2793 # Test code for whether the C compiler supports C99 (body of main).
2794 ac_c_conftest_c99_main='
2795 // Check bool.
2796 _Bool success = false;
2797 success |= (argc != 0);
2798
2799 // Check restrict.
2800 if (test_restrict ("String literal") == 0)
2801 success = true;
2802 char *restrict newvar = "Another string";
2803
2804 // Check varargs.
2805 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2806 test_varargs_macros ();
2807
2808 // Check flexible array members.
2809 struct incomplete_array *ia =
2810 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2811 ia->datasize = 10;
2812 for (int i = 0; i < ia->datasize; ++i)
2813 ia->data[i] = i * 1.234;
2814 // Work around memory leak warnings.
2815 free (ia);
2816
2817 // Check named initializers.
2818 struct named_init ni = {
2819 .number = 34,
2820 .name = L"Test wide string",
2821 .average = 543.34343,
2822 };
2823
2824 ni.number = 58;
2825
2826 int dynamic_array[ni.number];
2827 dynamic_array[0] = argv[0][0];
2828 dynamic_array[ni.number - 1] = 543;
2829
2830 // work around unused variable warnings
2831 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2832 || dynamic_array[ni.number - 1] != 543);
2833 '
2834
2835 # Test code for whether the C compiler supports C11 (global declarations)
2836 ac_c_conftest_c11_globals='
2837 /* Does the compiler advertise C11 conformance? */
2838 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2839 # error "Compiler does not advertise C11 conformance"
2840 #endif
2841
2842 // Check _Alignas.
2843 char _Alignas (double) aligned_as_double;
2844 char _Alignas (0) no_special_alignment;
2845 extern char aligned_as_int;
2846 char _Alignas (0) _Alignas (int) aligned_as_int;
2847
2848 // Check _Alignof.
2849 enum
2850 {
2851 int_alignment = _Alignof (int),
2852 int_array_alignment = _Alignof (int[100]),
2853 char_alignment = _Alignof (char)
2854 };
2855 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2856
2857 // Check _Noreturn.
2858 int _Noreturn does_not_return (void) { for (;;) continue; }
2859
2860 // Check _Static_assert.
2861 struct test_static_assert
2862 {
2863 int x;
2864 _Static_assert (sizeof (int) <= sizeof (long int),
2865 "_Static_assert does not work in struct");
2866 long int y;
2867 };
2868
2869 // Check UTF-8 literals.
2870 #define u8 syntax error!
2871 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2872
2873 // Check duplicate typedefs.
2874 typedef long *long_ptr;
2875 typedef long int *long_ptr;
2876 typedef long_ptr long_ptr;
2877
2878 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2879 struct anonymous
2880 {
2881 union {
2882 struct { int i; int j; };
2883 struct { int k; long int l; } w;
2884 };
2885 int m;
2886 } v1;
2887 '
2888
2889 # Test code for whether the C compiler supports C11 (body of main).
2890 ac_c_conftest_c11_main='
2891 _Static_assert ((offsetof (struct anonymous, i)
2892 == offsetof (struct anonymous, w.k)),
2893 "Anonymous union alignment botch");
2894 v1.i = 2;
2895 v1.w.k = 5;
2896 ok |= v1.i != 5;
2897 '
2898
2899 # Test code for whether the C compiler supports C11 (complete).
2900 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2901 ${ac_c_conftest_c99_globals}
2902 ${ac_c_conftest_c11_globals}
2903
2904 int
2905 main (int argc, char **argv)
2906 {
2907 int ok = 0;
2908 ${ac_c_conftest_c89_main}
2909 ${ac_c_conftest_c99_main}
2910 ${ac_c_conftest_c11_main}
2911 return ok;
2912 }
2913 "
2914
2915 # Test code for whether the C compiler supports C99 (complete).
2916 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2917 ${ac_c_conftest_c99_globals}
2918
2919 int
2920 main (int argc, char **argv)
2921 {
2922 int ok = 0;
2923 ${ac_c_conftest_c89_main}
2924 ${ac_c_conftest_c99_main}
2925 return ok;
2926 }
2927 "
2928
2929 # Test code for whether the C compiler supports C89 (complete).
2930 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2931
2932 int
2933 main (int argc, char **argv)
2934 {
2935 int ok = 0;
2936 ${ac_c_conftest_c89_main}
2937 return ok;
2938 }
2939 "
2940
2941 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2942 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2943 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2944 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2945 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2946 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2947 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2948 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2949 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2950 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2951
2952 # Auxiliary files required by this configure script.
2953 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2954
2955 # Locations in which to look for auxiliary files.
2956 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2957
2958 # Search for a directory containing all of the required auxiliary files,
2959 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2960 # If we don't find one directory that contains all the files we need,
2961 # we report the set of missing files from the *first* directory in
2962 # $ac_aux_dir_candidates and give up.
2963 ac_missing_aux_files=""
2964 ac_first_candidate=:
2965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 as_found=false
2968 for as_dir in $ac_aux_dir_candidates
2969 do
2970 IFS=$as_save_IFS
2971 case $as_dir in #(((
2972 '') as_dir=./ ;;
2973 */) ;;
2974 *) as_dir=$as_dir/ ;;
2975 esac
2976 as_found=:
2977
2978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2979 ac_aux_dir_found=yes
2980 ac_install_sh=
2981 for ac_aux in $ac_aux_files
2982 do
2983 # As a special case, if "install-sh" is required, that requirement
2984 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2985 # and $ac_install_sh is set appropriately for whichever one is found.
2986 if test x"$ac_aux" = x"install-sh"
2987 then
2988 if test -f "${as_dir}install-sh"; then
2989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2990 ac_install_sh="${as_dir}install-sh -c"
2991 elif test -f "${as_dir}install.sh"; then
2992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2993 ac_install_sh="${as_dir}install.sh -c"
2994 elif test -f "${as_dir}shtool"; then
2995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2996 ac_install_sh="${as_dir}shtool install -c"
2997 else
2998 ac_aux_dir_found=no
2999 if $ac_first_candidate; then
3000 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3001 else
3002 break
3003 fi
3004 fi
3005 else
3006 if test -f "${as_dir}${ac_aux}"; then
3007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3008 else
3009 ac_aux_dir_found=no
3010 if $ac_first_candidate; then
3011 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3012 else
3013 break
3014 fi
3015 fi
3016 fi
3017 done
3018 if test "$ac_aux_dir_found" = yes; then
3019 ac_aux_dir="$as_dir"
3020 break
3021 fi
3022 ac_first_candidate=false
3023
3024 as_found=false
3025 done
3026 IFS=$as_save_IFS
3027 if $as_found
3028 then :
3029
3030 else case e in #(
3031 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
3032 esac
3033 fi
3034
3035
3036 # These three variables are undocumented and unsupported,
3037 # and are intended to be withdrawn in a future Autoconf release.
3038 # They can cause serious problems if a builder's source tree is in a directory
3039 # whose full name contains unusual characters.
3040 if test -f "${ac_aux_dir}config.guess"; then
3041 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3042 fi
3043 if test -f "${ac_aux_dir}config.sub"; then
3044 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3045 fi
3046 if test -f "$ac_aux_dir/configure"; then
3047 ac_configure="$SHELL ${ac_aux_dir}configure"
3048 fi
3049
3050 # Check that the precious variables saved in the cache have kept the same
3051 # value.
3052 ac_cache_corrupted=false
3053 for ac_var in $ac_precious_vars; do
3054 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3055 eval ac_new_set=\$ac_env_${ac_var}_set
3056 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3057 eval ac_new_val=\$ac_env_${ac_var}_value
3058 case $ac_old_set,$ac_new_set in
3059 set,)
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
3061 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
3062 ac_cache_corrupted=: ;;
3063 ,set)
3064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
3065 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
3066 ac_cache_corrupted=: ;;
3067 ,);;
3068 *)
3069 if test "x$ac_old_val" != "x$ac_new_val"; then
3070 # differences in whitespace do not lead to failure.
3071 ac_old_val_w=`echo x $ac_old_val`
3072 ac_new_val_w=`echo x $ac_new_val`
3073 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
3075 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
3076 ac_cache_corrupted=:
3077 else
3078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
3079 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
3080 eval $ac_var=\$ac_old_val
3081 fi
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
3083 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
3085 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
3086 fi;;
3087 esac
3088 # Pass precious variables to config.status.
3089 if test "$ac_new_set" = set; then
3090 case $ac_new_val in
3091 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3092 *) ac_arg=$ac_var=$ac_new_val ;;
3093 esac
3094 case " $ac_configure_args " in
3095 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3096 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3097 esac
3098 fi
3099 done
3100 if $ac_cache_corrupted; then
3101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3102 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3104 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3105 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
3106 and start over" "$LINENO" 5
3107 fi
3108 ## -------------------- ##
3109 ## Main body of script. ##
3110 ## -------------------- ##
3111
3112 ac_ext=c
3113 ac_cpp='$CPP $CPPFLAGS'
3114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3117
3118
3119
3120
3121
3122
3123
3124 am__api_version='1.18'
3125
3126
3127
3128 # Find a good install program. We prefer a C program (faster),
3129 # so one script is as good as another. But avoid the broken or
3130 # incompatible versions:
3131 # SysV /etc/install, /usr/sbin/install
3132 # SunOS /usr/etc/install
3133 # IRIX /sbin/install
3134 # AIX /bin/install
3135 # AmigaOS /C/install, which installs bootblocks on floppy discs
3136 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3137 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3138 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3139 # OS/2's system install, which has a completely different semantic
3140 # ./install, which can be erroneously created by make from ./install.sh.
3141 # Reject install programs that cannot install multiple files.
3142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3143 printf %s "checking for a BSD-compatible install... " >&6; }
3144 if test -z "$INSTALL"; then
3145 if test ${ac_cv_path_install+y}
3146 then :
3147 printf %s "(cached) " >&6
3148 else case e in #(
3149 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 for as_dir in $PATH
3151 do
3152 IFS=$as_save_IFS
3153 case $as_dir in #(((
3154 '') as_dir=./ ;;
3155 */) ;;
3156 *) as_dir=$as_dir/ ;;
3157 esac
3158 # Account for fact that we put trailing slashes in our PATH walk.
3159 case $as_dir in #((
3160 ./ | /[cC]/* | \
3161 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3162 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3163 /usr/ucb/* ) ;;
3164 *)
3165 # OSF1 and SCO ODT 3.0 have their own names for install.
3166 # Don't use installbsd from OSF since it installs stuff as root
3167 # by default.
3168 for ac_prog in ginstall scoinst install; do
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3171 if test $ac_prog = install &&
3172 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3173 # AIX install. It has an incompatible calling convention.
3174 :
3175 elif test $ac_prog = install &&
3176 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3177 # program-specific install script used by HP pwplus--don't use.
3178 :
3179 else
3180 rm -rf conftest.one conftest.two conftest.dir
3181 echo one > conftest.one
3182 echo two > conftest.two
3183 mkdir conftest.dir
3184 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3185 test -s conftest.one && test -s conftest.two &&
3186 test -s conftest.dir/conftest.one &&
3187 test -s conftest.dir/conftest.two
3188 then
3189 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3190 break 3
3191 fi
3192 fi
3193 fi
3194 done
3195 done
3196 ;;
3197 esac
3198
3199 done
3200 IFS=$as_save_IFS
3201
3202 rm -rf conftest.one conftest.two conftest.dir
3203 ;;
3204 esac
3205 fi
3206 if test ${ac_cv_path_install+y}; then
3207 INSTALL=$ac_cv_path_install
3208 else
3209 # As a last resort, use the slow shell script. Don't cache a
3210 # value for INSTALL within a source directory, because that will
3211 # break other packages using the cache if that directory is
3212 # removed, or if the value is a relative name.
3213 INSTALL=$ac_install_sh
3214 fi
3215 fi
3216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3217 printf "%s\n" "$INSTALL" >&6; }
3218
3219 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3220 # It thinks the first close brace ends the variable substitution.
3221 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3222
3223 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3224
3225 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3226
3227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
3228 printf %s "checking whether sleep supports fractional seconds... " >&6; }
3229 if test ${am_cv_sleep_fractional_seconds+y}
3230 then :
3231 printf %s "(cached) " >&6
3232 else case e in #(
3233 e) if sleep 0.001 2>/dev/null
3234 then :
3235 am_cv_sleep_fractional_seconds=yes
3236 else case e in #(
3237 e) am_cv_sleep_fractional_seconds=no ;;
3238 esac
3239 fi
3240 ;;
3241 esac
3242 fi
3243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3244 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3245
3246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3247 printf %s "checking filesystem timestamp resolution... " >&6; }
3248 if test ${am_cv_filesystem_timestamp_resolution+y}
3249 then :
3250 printf %s "(cached) " >&6
3251 else case e in #(
3252 e) # Default to the worst case.
3253 am_cv_filesystem_timestamp_resolution=2
3254
3255 # Only try to go finer than 1 sec if sleep can do it.
3256 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3257 # - 1 sec is not much of a win compared to 2 sec, and
3258 # - it takes 2 seconds to perform the test whether 1 sec works.
3259 #
3260 # Instead, just use the default 2s on platforms that have 1s resolution,
3261 # accept the extra 1s delay when using $sleep in the Automake tests, in
3262 # exchange for not incurring the 2s delay for running the test for all
3263 # packages.
3264 #
3265 am_try_resolutions=
3266 if test "$am_cv_sleep_fractional_seconds" = yes; then
3267 # Even a millisecond often causes a bunch of false positives,
3268 # so just try a hundredth of a second. The time saved between .001 and
3269 # .01 is not terribly consequential.
3270 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3271 fi
3272
3273 # In order to catch current-generation FAT out, we must *modify* files
3274 # that already exist; the *creation* timestamp is finer. Use names
3275 # that make ls -t sort them differently when they have equal
3276 # timestamps than when they have distinct timestamps, keeping
3277 # in mind that ls -t prints the *newest* file first.
3278 rm -f conftest.ts?
3279 : > conftest.ts1
3280 : > conftest.ts2
3281 : > conftest.ts3
3282
3283 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3284 # clobber the current shell's arguments. (Outer-level square brackets
3285 # are removed by m4; they're present so that m4 does not expand
3286 # <dollar><star>; be careful, easy to get confused.)
3287 if (
3288 set X `ls -t conftest.ts[12]` &&
3289 {
3290 test "$*" != "X conftest.ts1 conftest.ts2" ||
3291 test "$*" != "X conftest.ts2 conftest.ts1";
3292 }
3293 ); then :; else
3294 # If neither matched, then we have a broken ls. This can happen
3295 # if, for instance, CONFIG_SHELL is bash and it inherits a
3296 # broken ls alias from the environment. This has actually
3297 # happened. Such a system could not be considered "sane".
3298 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3299 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3300 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3301 as_fn_error $? "ls -t produces unexpected output.
3302 Make sure there is not a broken ls alias in your environment.
3303 See 'config.log' for more details" "$LINENO" 5; }
3304 fi
3305
3306 for am_try_res in $am_try_resolutions; do
3307 # Any one fine-grained sleep might happen to cross the boundary
3308 # between two values of a coarser actual resolution, but if we do
3309 # two fine-grained sleeps in a row, at least one of them will fall
3310 # entirely within a coarse interval.
3311 echo alpha > conftest.ts1
3312 sleep $am_try_res
3313 echo beta > conftest.ts2
3314 sleep $am_try_res
3315 echo gamma > conftest.ts3
3316
3317 # We assume that 'ls -t' will make use of high-resolution
3318 # timestamps if the operating system supports them at all.
3319 if (set X `ls -t conftest.ts?` &&
3320 test "$2" = conftest.ts3 &&
3321 test "$3" = conftest.ts2 &&
3322 test "$4" = conftest.ts1); then
3323 #
3324 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3325 # because we don't need to test make.
3326 make_ok=true
3327 if test $am_try_res != 1; then
3328 # But if we've succeeded so far with a subsecond resolution, we
3329 # have one more thing to check: make. It can happen that
3330 # everything else supports the subsecond mtimes, but make doesn't;
3331 # notably on macOS, which ships make 3.81 from 2006 (the last one
3332 # released under GPLv2). https://bugs.gnu.org/68808
3333 #
3334 # We test $MAKE if it is defined in the environment, else "make".
3335 # It might get overridden later, but our hope is that in practice
3336 # it does not matter: it is the system "make" which is (by far)
3337 # the most likely to be broken, whereas if the user overrides it,
3338 # probably they did so with a better, or at least not worse, make.
3339 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3340 #
3341 # Create a Makefile (real tab character here):
3342 rm -f conftest.mk
3343 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3344 echo ' touch conftest.ts2' >>conftest.mk
3345 #
3346 # Now, running
3347 # touch conftest.ts1; touch conftest.ts2; make
3348 # should touch ts1 because ts2 is newer. This could happen by luck,
3349 # but most often, it will fail if make's support is insufficient. So
3350 # test for several consecutive successes.
3351 #
3352 # (We reuse conftest.ts[12] because we still want to modify existing
3353 # files, not create new ones, per above.)
3354 n=0
3355 make=${MAKE-make}
3356 until test $n -eq 3; do
3357 echo one > conftest.ts1
3358 sleep $am_try_res
3359 echo two > conftest.ts2 # ts2 should now be newer than ts1
3360 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3361 make_ok=false
3362 break # out of $n loop
3363 fi
3364 n=`expr $n + 1`
3365 done
3366 fi
3367 #
3368 if $make_ok; then
3369 # Everything we know to check worked out, so call this resolution good.
3370 am_cv_filesystem_timestamp_resolution=$am_try_res
3371 break # out of $am_try_res loop
3372 fi
3373 # Otherwise, we'll go on to check the next resolution.
3374 fi
3375 done
3376 rm -f conftest.ts?
3377 # (end _am_filesystem_timestamp_resolution)
3378 ;;
3379 esac
3380 fi
3381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3382 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3383
3384 # This check should not be cached, as it may vary across builds of
3385 # different projects.
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3387 printf %s "checking whether build environment is sane... " >&6; }
3388 # Reject unsafe characters in $srcdir or the absolute working directory
3389 # name. Accept space and tab only in the latter.
3390 am_lf='
3391 '
3392 case `pwd` in
3393 *[\\\"\#\$\&\'\`$am_lf]*)
3394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 printf "%s\n" "no" >&6; }
3396 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3397 esac
3398 case $srcdir in
3399 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401 printf "%s\n" "no" >&6; }
3402 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3403 esac
3404
3405 # Do 'set' in a subshell so we don't clobber the current shell's
3406 # arguments. Must try -L first in case configure is actually a
3407 # symlink; some systems play weird games with the mod time of symlinks
3408 # (eg FreeBSD returns the mod time of the symlink's containing
3409 # directory).
3410 am_build_env_is_sane=no
3411 am_has_slept=no
3412 rm -f conftest.file
3413 for am_try in 1 2; do
3414 echo "timestamp, slept: $am_has_slept" > conftest.file
3415 if (
3416 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3417 if test "$*" = "X"; then
3418 # -L didn't work.
3419 set X `ls -t "$srcdir/configure" conftest.file`
3420 fi
3421 test "$2" = conftest.file
3422 ); then
3423 am_build_env_is_sane=yes
3424 break
3425 fi
3426 # Just in case.
3427 sleep "$am_cv_filesystem_timestamp_resolution"
3428 am_has_slept=yes
3429 done
3430
3431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3432 printf "%s\n" "$am_build_env_is_sane" >&6; }
3433 if test "$am_build_env_is_sane" = no; then
3434 as_fn_error $? "newly created file is older than distributed files!
3435 Check your system clock" "$LINENO" 5
3436 fi
3437
3438 # If we didn't sleep, we still need to ensure time stamps of config.status and
3439 # generated files are strictly newer.
3440 am_sleep_pid=
3441 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3442 then :
3443
3444 else case e in #(
3445 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3446 am_sleep_pid=$!
3447 ;;
3448 esac
3449 fi
3450
3451 rm -f conftest.file
3452
3453 test "$program_prefix" != NONE &&
3454 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3455 # Use a double $ so make ignores it.
3456 test "$program_suffix" != NONE &&
3457 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3458 # Double any \ or $.
3459 # By default was 's,x,x', remove it if useless.
3460 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3461 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3462
3463
3464 # Expand $ac_aux_dir to an absolute path.
3465 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3466
3467
3468 if test x"${MISSING+set}" != xset; then
3469 MISSING="\${SHELL} '$am_aux_dir/missing'"
3470 fi
3471 # Use eval to expand $SHELL
3472 if eval "$MISSING --is-lightweight"; then
3473 am_missing_run="$MISSING "
3474 else
3475 am_missing_run=
3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3477 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3478 fi
3479
3480 if test x"${install_sh+set}" != xset; then
3481 case $am_aux_dir in
3482 *\ * | *\ *)
3483 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3484 *)
3485 install_sh="\${SHELL} $am_aux_dir/install-sh"
3486 esac
3487 fi
3488
3489 # Installed binaries are usually stripped using 'strip' when the user
3490 # run "make install-strip". However 'strip' might not be the right
3491 # tool to use in cross-compilation environments, therefore Automake
3492 # will honor the 'STRIP' environment variable to overrule this program.
3493 if test "$cross_compiling" != no; then
3494 if test -n "$ac_tool_prefix"; then
3495 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3496 set dummy ${ac_tool_prefix}strip; ac_word=$2
3497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 printf %s "checking for $ac_word... " >&6; }
3499 if test ${ac_cv_prog_STRIP+y}
3500 then :
3501 printf %s "(cached) " >&6
3502 else case e in #(
3503 e) if test -n "$STRIP"; then
3504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3508 do
3509 IFS=$as_save_IFS
3510 case $as_dir in #(((
3511 '') as_dir=./ ;;
3512 */) ;;
3513 *) as_dir=$as_dir/ ;;
3514 esac
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3517 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3519 break 2
3520 fi
3521 done
3522 done
3523 IFS=$as_save_IFS
3524
3525 fi ;;
3526 esac
3527 fi
3528 STRIP=$ac_cv_prog_STRIP
3529 if test -n "$STRIP"; then
3530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3531 printf "%s\n" "$STRIP" >&6; }
3532 else
3533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3534 printf "%s\n" "no" >&6; }
3535 fi
3536
3537
3538 fi
3539 if test -z "$ac_cv_prog_STRIP"; then
3540 ac_ct_STRIP=$STRIP
3541 # Extract the first word of "strip", so it can be a program name with args.
3542 set dummy strip; ac_word=$2
3543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544 printf %s "checking for $ac_word... " >&6; }
3545 if test ${ac_cv_prog_ac_ct_STRIP+y}
3546 then :
3547 printf %s "(cached) " >&6
3548 else case e in #(
3549 e) if test -n "$ac_ct_STRIP"; then
3550 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3554 do
3555 IFS=$as_save_IFS
3556 case $as_dir in #(((
3557 '') as_dir=./ ;;
3558 */) ;;
3559 *) as_dir=$as_dir/ ;;
3560 esac
3561 for ac_exec_ext in '' $ac_executable_extensions; do
3562 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3563 ac_cv_prog_ac_ct_STRIP="strip"
3564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3565 break 2
3566 fi
3567 done
3568 done
3569 IFS=$as_save_IFS
3570
3571 fi ;;
3572 esac
3573 fi
3574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3575 if test -n "$ac_ct_STRIP"; then
3576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3577 printf "%s\n" "$ac_ct_STRIP" >&6; }
3578 else
3579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 printf "%s\n" "no" >&6; }
3581 fi
3582
3583 if test "x$ac_ct_STRIP" = x; then
3584 STRIP=":"
3585 else
3586 case $cross_compiling:$ac_tool_warned in
3587 yes:)
3588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3589 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3590 ac_tool_warned=yes ;;
3591 esac
3592 STRIP=$ac_ct_STRIP
3593 fi
3594 else
3595 STRIP="$ac_cv_prog_STRIP"
3596 fi
3597
3598 fi
3599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3600
3601
3602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3603 printf %s "checking for a race-free mkdir -p... " >&6; }
3604 if test -z "$MKDIR_P"; then
3605 if test ${ac_cv_path_mkdir+y}
3606 then :
3607 printf %s "(cached) " >&6
3608 else case e in #(
3609 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3611 do
3612 IFS=$as_save_IFS
3613 case $as_dir in #(((
3614 '') as_dir=./ ;;
3615 */) ;;
3616 *) as_dir=$as_dir/ ;;
3617 esac
3618 for ac_prog in mkdir gmkdir; do
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3621 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3622 'mkdir ('*'coreutils) '* | \
3623 *'BusyBox '* | \
3624 'mkdir (fileutils) '4.1*)
3625 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3626 break 3;;
3627 esac
3628 done
3629 done
3630 done
3631 IFS=$as_save_IFS
3632 ;;
3633 esac
3634 fi
3635
3636 test -d ./--version && rmdir ./--version
3637 if test ${ac_cv_path_mkdir+y}; then
3638 MKDIR_P="$ac_cv_path_mkdir -p"
3639 else
3640 # As a last resort, use plain mkdir -p,
3641 # in the hope it doesn't have the bugs of ancient mkdir.
3642 MKDIR_P='mkdir -p'
3643 fi
3644 fi
3645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3646 printf "%s\n" "$MKDIR_P" >&6; }
3647
3648 for ac_prog in gawk mawk nawk awk
3649 do
3650 # Extract the first word of "$ac_prog", so it can be a program name with args.
3651 set dummy $ac_prog; ac_word=$2
3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 printf %s "checking for $ac_word... " >&6; }
3654 if test ${ac_cv_prog_AWK+y}
3655 then :
3656 printf %s "(cached) " >&6
3657 else case e in #(
3658 e) if test -n "$AWK"; then
3659 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3660 else
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3663 do
3664 IFS=$as_save_IFS
3665 case $as_dir in #(((
3666 '') as_dir=./ ;;
3667 */) ;;
3668 *) as_dir=$as_dir/ ;;
3669 esac
3670 for ac_exec_ext in '' $ac_executable_extensions; do
3671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3672 ac_cv_prog_AWK="$ac_prog"
3673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3674 break 2
3675 fi
3676 done
3677 done
3678 IFS=$as_save_IFS
3679
3680 fi ;;
3681 esac
3682 fi
3683 AWK=$ac_cv_prog_AWK
3684 if test -n "$AWK"; then
3685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3686 printf "%s\n" "$AWK" >&6; }
3687 else
3688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 printf "%s\n" "no" >&6; }
3690 fi
3691
3692
3693 test -n "$AWK" && break
3694 done
3695
3696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3697 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3698 set x ${MAKE-make}
3699 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3700 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3701 then :
3702 printf %s "(cached) " >&6
3703 else case e in #(
3704 e) cat >conftest.make <<\_ACEOF
3705 SHELL = /bin/sh
3706 all:
3707 @echo '@@@%%%=$(MAKE)=@@@%%%'
3708 _ACEOF
3709 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3710 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3711 *@@@%%%=?*=@@@%%%*)
3712 eval ac_cv_prog_make_${ac_make}_set=yes;;
3713 *)
3714 eval ac_cv_prog_make_${ac_make}_set=no;;
3715 esac
3716 rm -f conftest.make ;;
3717 esac
3718 fi
3719 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3721 printf "%s\n" "yes" >&6; }
3722 SET_MAKE=
3723 else
3724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 printf "%s\n" "no" >&6; }
3726 SET_MAKE="MAKE=${MAKE-make}"
3727 fi
3728
3729 rm -rf .tst 2>/dev/null
3730 mkdir .tst 2>/dev/null
3731 if test -d .tst; then
3732 am__leading_dot=.
3733 else
3734 am__leading_dot=_
3735 fi
3736 rmdir .tst 2>/dev/null
3737
3738 AM_DEFAULT_VERBOSITY=1
3739 # Check whether --enable-silent-rules was given.
3740 if test ${enable_silent_rules+y}
3741 then :
3742 enableval=$enable_silent_rules;
3743 fi
3744
3745 am_make=${MAKE-make}
3746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3747 printf %s "checking whether $am_make supports nested variables... " >&6; }
3748 if test ${am_cv_make_support_nested_variables+y}
3749 then :
3750 printf %s "(cached) " >&6
3751 else case e in #(
3752 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3753 BAR0=false
3754 BAR1=true
3755 V=1
3756 am__doit:
3757 @$(TRUE)
3758 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3759 am_cv_make_support_nested_variables=yes
3760 else
3761 am_cv_make_support_nested_variables=no
3762 fi ;;
3763 esac
3764 fi
3765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3766 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3767 AM_BACKSLASH='\'
3768
3769 am__rm_f_notfound=
3770 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3771 then :
3772
3773 else case e in #(
3774 e) am__rm_f_notfound='""' ;;
3775 esac
3776 fi
3777
3778
3779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3780 printf %s "checking xargs -n works... " >&6; }
3781 if test ${am_cv_xargs_n_works+y}
3782 then :
3783 printf %s "(cached) " >&6
3784 else case e in #(
3785 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3786 3"
3787 then :
3788 am_cv_xargs_n_works=yes
3789 else case e in #(
3790 e) am_cv_xargs_n_works=no ;;
3791 esac
3792 fi ;;
3793 esac
3794 fi
3795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3796 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3797 if test "$am_cv_xargs_n_works" = yes
3798 then :
3799 am__xargs_n='xargs -n'
3800 else case e in #(
3801 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3802 ;;
3803 esac
3804 fi
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815 DEPDIR="${am__leading_dot}deps"
3816
3817 ac_config_commands="$ac_config_commands depfiles"
3818
3819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3820 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3821 cat > confinc.mk << 'END'
3822 am__doit:
3823 @echo this is the am__doit target >confinc.out
3824 .PHONY: am__doit
3825 END
3826 am__include="#"
3827 am__quote=
3828 # BSD make does it like this.
3829 echo '.include "confinc.mk" # ignored' > confmf.BSD
3830 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3831 echo 'include confinc.mk # ignored' > confmf.GNU
3832 _am_result=no
3833 for s in GNU BSD; do
3834 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3835 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3836 ac_status=$?
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }
3839 case $?:`cat confinc.out 2>/dev/null` in #(
3840 '0:this is the am__doit target') :
3841 case $s in #(
3842 BSD) :
3843 am__include='.include' am__quote='"' ;; #(
3844 *) :
3845 am__include='include' am__quote='' ;;
3846 esac ;; #(
3847 *) :
3848 ;;
3849 esac
3850 if test "$am__include" != "#"; then
3851 _am_result="yes ($s style)"
3852 break
3853 fi
3854 done
3855 rm -f confinc.* confmf.*
3856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3857 printf "%s\n" "${_am_result}" >&6; }
3858
3859 # Check whether --enable-dependency-tracking was given.
3860 if test ${enable_dependency_tracking+y}
3861 then :
3862 enableval=$enable_dependency_tracking;
3863 fi
3864
3865 if test "x$enable_dependency_tracking" != xno; then
3866 am_depcomp="$ac_aux_dir/depcomp"
3867 AMDEPBACKSLASH='\'
3868 am__nodep='_no'
3869 fi
3870 if test "x$enable_dependency_tracking" != xno; then
3871 AMDEP_TRUE=
3872 AMDEP_FALSE='#'
3873 else
3874 AMDEP_TRUE='#'
3875 AMDEP_FALSE=
3876 fi
3877
3878
3879 ac_ext=c
3880 ac_cpp='$CPP $CPPFLAGS'
3881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3884 if test -n "$ac_tool_prefix"; then
3885 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3886 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888 printf %s "checking for $ac_word... " >&6; }
3889 if test ${ac_cv_prog_CC+y}
3890 then :
3891 printf %s "(cached) " >&6
3892 else case e in #(
3893 e) if test -n "$CC"; then
3894 ac_cv_prog_CC="$CC" # Let the user override the test.
3895 else
3896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 for as_dir in $PATH
3898 do
3899 IFS=$as_save_IFS
3900 case $as_dir in #(((
3901 '') as_dir=./ ;;
3902 */) ;;
3903 *) as_dir=$as_dir/ ;;
3904 esac
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3909 break 2
3910 fi
3911 done
3912 done
3913 IFS=$as_save_IFS
3914
3915 fi ;;
3916 esac
3917 fi
3918 CC=$ac_cv_prog_CC
3919 if test -n "$CC"; then
3920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3921 printf "%s\n" "$CC" >&6; }
3922 else
3923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 printf "%s\n" "no" >&6; }
3925 fi
3926
3927
3928 fi
3929 if test -z "$ac_cv_prog_CC"; then
3930 ac_ct_CC=$CC
3931 # Extract the first word of "gcc", so it can be a program name with args.
3932 set dummy gcc; ac_word=$2
3933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 printf %s "checking for $ac_word... " >&6; }
3935 if test ${ac_cv_prog_ac_ct_CC+y}
3936 then :
3937 printf %s "(cached) " >&6
3938 else case e in #(
3939 e) if test -n "$ac_ct_CC"; then
3940 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3941 else
3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943 for as_dir in $PATH
3944 do
3945 IFS=$as_save_IFS
3946 case $as_dir in #(((
3947 '') as_dir=./ ;;
3948 */) ;;
3949 *) as_dir=$as_dir/ ;;
3950 esac
3951 for ac_exec_ext in '' $ac_executable_extensions; do
3952 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3953 ac_cv_prog_ac_ct_CC="gcc"
3954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3955 break 2
3956 fi
3957 done
3958 done
3959 IFS=$as_save_IFS
3960
3961 fi ;;
3962 esac
3963 fi
3964 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3965 if test -n "$ac_ct_CC"; then
3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3967 printf "%s\n" "$ac_ct_CC" >&6; }
3968 else
3969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 printf "%s\n" "no" >&6; }
3971 fi
3972
3973 if test "x$ac_ct_CC" = x; then
3974 CC=""
3975 else
3976 case $cross_compiling:$ac_tool_warned in
3977 yes:)
3978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3979 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3980 ac_tool_warned=yes ;;
3981 esac
3982 CC=$ac_ct_CC
3983 fi
3984 else
3985 CC="$ac_cv_prog_CC"
3986 fi
3987
3988 if test -z "$CC"; then
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3991 set dummy ${ac_tool_prefix}cc; ac_word=$2
3992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 printf %s "checking for $ac_word... " >&6; }
3994 if test ${ac_cv_prog_CC+y}
3995 then :
3996 printf %s "(cached) " >&6
3997 else case e in #(
3998 e) if test -n "$CC"; then
3999 ac_cv_prog_CC="$CC" # Let the user override the test.
4000 else
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002 for as_dir in $PATH
4003 do
4004 IFS=$as_save_IFS
4005 case $as_dir in #(((
4006 '') as_dir=./ ;;
4007 */) ;;
4008 *) as_dir=$as_dir/ ;;
4009 esac
4010 for ac_exec_ext in '' $ac_executable_extensions; do
4011 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4012 ac_cv_prog_CC="${ac_tool_prefix}cc"
4013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4014 break 2
4015 fi
4016 done
4017 done
4018 IFS=$as_save_IFS
4019
4020 fi ;;
4021 esac
4022 fi
4023 CC=$ac_cv_prog_CC
4024 if test -n "$CC"; then
4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4026 printf "%s\n" "$CC" >&6; }
4027 else
4028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4029 printf "%s\n" "no" >&6; }
4030 fi
4031
4032
4033 fi
4034 fi
4035 if test -z "$CC"; then
4036 # Extract the first word of "cc", so it can be a program name with args.
4037 set dummy cc; ac_word=$2
4038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039 printf %s "checking for $ac_word... " >&6; }
4040 if test ${ac_cv_prog_CC+y}
4041 then :
4042 printf %s "(cached) " >&6
4043 else case e in #(
4044 e) if test -n "$CC"; then
4045 ac_cv_prog_CC="$CC" # Let the user override the test.
4046 else
4047 ac_prog_rejected=no
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049 for as_dir in $PATH
4050 do
4051 IFS=$as_save_IFS
4052 case $as_dir in #(((
4053 '') as_dir=./ ;;
4054 */) ;;
4055 *) as_dir=$as_dir/ ;;
4056 esac
4057 for ac_exec_ext in '' $ac_executable_extensions; do
4058 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4059 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4060 ac_prog_rejected=yes
4061 continue
4062 fi
4063 ac_cv_prog_CC="cc"
4064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4065 break 2
4066 fi
4067 done
4068 done
4069 IFS=$as_save_IFS
4070
4071 if test $ac_prog_rejected = yes; then
4072 # We found a bogon in the path, so make sure we never use it.
4073 set dummy $ac_cv_prog_CC
4074 shift
4075 if test $# != 0; then
4076 # We chose a different compiler from the bogus one.
4077 # However, it has the same basename, so the bogon will be chosen
4078 # first if we set CC to just the basename; use the full file name.
4079 shift
4080 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4081 fi
4082 fi
4083 fi ;;
4084 esac
4085 fi
4086 CC=$ac_cv_prog_CC
4087 if test -n "$CC"; then
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4089 printf "%s\n" "$CC" >&6; }
4090 else
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092 printf "%s\n" "no" >&6; }
4093 fi
4094
4095
4096 fi
4097 if test -z "$CC"; then
4098 if test -n "$ac_tool_prefix"; then
4099 for ac_prog in cl.exe
4100 do
4101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 printf %s "checking for $ac_word... " >&6; }
4105 if test ${ac_cv_prog_CC+y}
4106 then :
4107 printf %s "(cached) " >&6
4108 else case e in #(
4109 e) if test -n "$CC"; then
4110 ac_cv_prog_CC="$CC" # Let the user override the test.
4111 else
4112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 for as_dir in $PATH
4114 do
4115 IFS=$as_save_IFS
4116 case $as_dir in #(((
4117 '') as_dir=./ ;;
4118 */) ;;
4119 *) as_dir=$as_dir/ ;;
4120 esac
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4125 break 2
4126 fi
4127 done
4128 done
4129 IFS=$as_save_IFS
4130
4131 fi ;;
4132 esac
4133 fi
4134 CC=$ac_cv_prog_CC
4135 if test -n "$CC"; then
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4137 printf "%s\n" "$CC" >&6; }
4138 else
4139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 printf "%s\n" "no" >&6; }
4141 fi
4142
4143
4144 test -n "$CC" && break
4145 done
4146 fi
4147 if test -z "$CC"; then
4148 ac_ct_CC=$CC
4149 for ac_prog in cl.exe
4150 do
4151 # Extract the first word of "$ac_prog", so it can be a program name with args.
4152 set dummy $ac_prog; ac_word=$2
4153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 printf %s "checking for $ac_word... " >&6; }
4155 if test ${ac_cv_prog_ac_ct_CC+y}
4156 then :
4157 printf %s "(cached) " >&6
4158 else case e in #(
4159 e) if test -n "$ac_ct_CC"; then
4160 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4161 else
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 for as_dir in $PATH
4164 do
4165 IFS=$as_save_IFS
4166 case $as_dir in #(((
4167 '') as_dir=./ ;;
4168 */) ;;
4169 *) as_dir=$as_dir/ ;;
4170 esac
4171 for ac_exec_ext in '' $ac_executable_extensions; do
4172 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4173 ac_cv_prog_ac_ct_CC="$ac_prog"
4174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4175 break 2
4176 fi
4177 done
4178 done
4179 IFS=$as_save_IFS
4180
4181 fi ;;
4182 esac
4183 fi
4184 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4185 if test -n "$ac_ct_CC"; then
4186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4187 printf "%s\n" "$ac_ct_CC" >&6; }
4188 else
4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 printf "%s\n" "no" >&6; }
4191 fi
4192
4193
4194 test -n "$ac_ct_CC" && break
4195 done
4196
4197 if test "x$ac_ct_CC" = x; then
4198 CC=""
4199 else
4200 case $cross_compiling:$ac_tool_warned in
4201 yes:)
4202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4203 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4204 ac_tool_warned=yes ;;
4205 esac
4206 CC=$ac_ct_CC
4207 fi
4208 fi
4209
4210 fi
4211 if test -z "$CC"; then
4212 if test -n "$ac_tool_prefix"; then
4213 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4214 set dummy ${ac_tool_prefix}clang; ac_word=$2
4215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216 printf %s "checking for $ac_word... " >&6; }
4217 if test ${ac_cv_prog_CC+y}
4218 then :
4219 printf %s "(cached) " >&6
4220 else case e in #(
4221 e) if test -n "$CC"; then
4222 ac_cv_prog_CC="$CC" # Let the user override the test.
4223 else
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225 for as_dir in $PATH
4226 do
4227 IFS=$as_save_IFS
4228 case $as_dir in #(((
4229 '') as_dir=./ ;;
4230 */) ;;
4231 *) as_dir=$as_dir/ ;;
4232 esac
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_CC="${ac_tool_prefix}clang"
4236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4237 break 2
4238 fi
4239 done
4240 done
4241 IFS=$as_save_IFS
4242
4243 fi ;;
4244 esac
4245 fi
4246 CC=$ac_cv_prog_CC
4247 if test -n "$CC"; then
4248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4249 printf "%s\n" "$CC" >&6; }
4250 else
4251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 printf "%s\n" "no" >&6; }
4253 fi
4254
4255
4256 fi
4257 if test -z "$ac_cv_prog_CC"; then
4258 ac_ct_CC=$CC
4259 # Extract the first word of "clang", so it can be a program name with args.
4260 set dummy clang; ac_word=$2
4261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262 printf %s "checking for $ac_word... " >&6; }
4263 if test ${ac_cv_prog_ac_ct_CC+y}
4264 then :
4265 printf %s "(cached) " >&6
4266 else case e in #(
4267 e) if test -n "$ac_ct_CC"; then
4268 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4269 else
4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271 for as_dir in $PATH
4272 do
4273 IFS=$as_save_IFS
4274 case $as_dir in #(((
4275 '') as_dir=./ ;;
4276 */) ;;
4277 *) as_dir=$as_dir/ ;;
4278 esac
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4281 ac_cv_prog_ac_ct_CC="clang"
4282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4283 break 2
4284 fi
4285 done
4286 done
4287 IFS=$as_save_IFS
4288
4289 fi ;;
4290 esac
4291 fi
4292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4293 if test -n "$ac_ct_CC"; then
4294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4295 printf "%s\n" "$ac_ct_CC" >&6; }
4296 else
4297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 printf "%s\n" "no" >&6; }
4299 fi
4300
4301 if test "x$ac_ct_CC" = x; then
4302 CC=""
4303 else
4304 case $cross_compiling:$ac_tool_warned in
4305 yes:)
4306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4307 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4308 ac_tool_warned=yes ;;
4309 esac
4310 CC=$ac_ct_CC
4311 fi
4312 else
4313 CC="$ac_cv_prog_CC"
4314 fi
4315
4316 fi
4317
4318
4319 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4320 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4321 as_fn_error $? "no acceptable C compiler found in \$PATH
4322 See 'config.log' for more details" "$LINENO" 5; }
4323
4324 # Provide some information about the compiler.
4325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4326 set X $ac_compile
4327 ac_compiler=$2
4328 for ac_option in --version -v -V -qversion -version; do
4329 { { ac_try="$ac_compiler $ac_option >&5"
4330 case "(($ac_try" in
4331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4332 *) ac_try_echo=$ac_try;;
4333 esac
4334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4335 printf "%s\n" "$ac_try_echo"; } >&5
4336 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4337 ac_status=$?
4338 if test -s conftest.err; then
4339 sed '10a\
4340 ... rest of stderr output deleted ...
4341 10q' conftest.err >conftest.er1
4342 cat conftest.er1 >&5
4343 fi
4344 rm -f conftest.er1 conftest.err
4345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }
4347 done
4348
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4351
4352 int
4353 main (void)
4354 {
4355
4356 ;
4357 return 0;
4358 }
4359 _ACEOF
4360 ac_clean_files_save=$ac_clean_files
4361 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4362 # Try to create an executable without -o first, disregard a.out.
4363 # It will help us diagnose broken compilers, and finding out an intuition
4364 # of exeext.
4365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4366 printf %s "checking whether the C compiler works... " >&6; }
4367 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4368
4369 # The possible output files:
4370 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4371
4372 ac_rmfiles=
4373 for ac_file in $ac_files
4374 do
4375 case $ac_file in
4376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4377 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4378 esac
4379 done
4380 rm -f $ac_rmfiles
4381
4382 if { { ac_try="$ac_link_default"
4383 case "(($ac_try" in
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4386 esac
4387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4388 printf "%s\n" "$ac_try_echo"; } >&5
4389 (eval "$ac_link_default") 2>&5
4390 ac_status=$?
4391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4392 test $ac_status = 0; }
4393 then :
4394 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4395 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4396 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4397 # so that the user can short-circuit this test for compilers unknown to
4398 # Autoconf.
4399 for ac_file in $ac_files ''
4400 do
4401 test -f "$ac_file" || continue
4402 case $ac_file in
4403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4404 ;;
4405 [ab].out )
4406 # We found the default executable, but exeext='' is most
4407 # certainly right.
4408 break;;
4409 *.* )
4410 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4411 then :; else
4412 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4413 fi
4414 # We set ac_cv_exeext here because the later test for it is not
4415 # safe: cross compilers may not add the suffix if given an '-o'
4416 # argument, so we may need to know it at that point already.
4417 # Even if this section looks crufty: it has the advantage of
4418 # actually working.
4419 break;;
4420 * )
4421 break;;
4422 esac
4423 done
4424 test "$ac_cv_exeext" = no && ac_cv_exeext=
4425
4426 else case e in #(
4427 e) ac_file='' ;;
4428 esac
4429 fi
4430 if test -z "$ac_file"
4431 then :
4432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 printf "%s\n" "no" >&6; }
4434 printf "%s\n" "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4436
4437 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4438 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4439 as_fn_error 77 "C compiler cannot create executables
4440 See 'config.log' for more details" "$LINENO" 5; }
4441 else case e in #(
4442 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4443 printf "%s\n" "yes" >&6; } ;;
4444 esac
4445 fi
4446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4447 printf %s "checking for C compiler default output file name... " >&6; }
4448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4449 printf "%s\n" "$ac_file" >&6; }
4450 ac_exeext=$ac_cv_exeext
4451
4452 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4453 ac_clean_files=$ac_clean_files_save
4454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4455 printf %s "checking for suffix of executables... " >&6; }
4456 if { { ac_try="$ac_link"
4457 case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 printf "%s\n" "$ac_try_echo"; } >&5
4463 (eval "$ac_link") 2>&5
4464 ac_status=$?
4465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4467 then :
4468 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4469 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4470 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4471 # 'rm'.
4472 for ac_file in conftest.exe conftest conftest.*; do
4473 test -f "$ac_file" || continue
4474 case $ac_file in
4475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4476 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4477 break;;
4478 * ) break;;
4479 esac
4480 done
4481 else case e in #(
4482 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4483 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4484 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4485 See 'config.log' for more details" "$LINENO" 5; } ;;
4486 esac
4487 fi
4488 rm -f conftest conftest$ac_cv_exeext
4489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4490 printf "%s\n" "$ac_cv_exeext" >&6; }
4491
4492 rm -f conftest.$ac_ext
4493 EXEEXT=$ac_cv_exeext
4494 ac_exeext=$EXEEXT
4495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4497 #include <stdio.h>
4498 int
4499 main (void)
4500 {
4501 FILE *f = fopen ("conftest.out", "w");
4502 if (!f)
4503 return 1;
4504 return ferror (f) || fclose (f) != 0;
4505
4506 ;
4507 return 0;
4508 }
4509 _ACEOF
4510 ac_clean_files="$ac_clean_files conftest.out"
4511 # Check that the compiler produces executables we can run. If not, either
4512 # the compiler is broken, or we cross compile.
4513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4514 printf %s "checking whether we are cross compiling... " >&6; }
4515 if test "$cross_compiling" != yes; then
4516 { { ac_try="$ac_link"
4517 case "(($ac_try" in
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4520 esac
4521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4522 printf "%s\n" "$ac_try_echo"; } >&5
4523 (eval "$ac_link") 2>&5
4524 ac_status=$?
4525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4526 test $ac_status = 0; }
4527 if { ac_try='./conftest$ac_cv_exeext'
4528 { { case "(($ac_try" in
4529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4530 *) ac_try_echo=$ac_try;;
4531 esac
4532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4533 printf "%s\n" "$ac_try_echo"; } >&5
4534 (eval "$ac_try") 2>&5
4535 ac_status=$?
4536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4537 test $ac_status = 0; }; }; then
4538 cross_compiling=no
4539 else
4540 if test "$cross_compiling" = maybe; then
4541 cross_compiling=yes
4542 else
4543 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4544 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4545 as_fn_error 77 "cannot run C compiled programs.
4546 If you meant to cross compile, use '--host'.
4547 See 'config.log' for more details" "$LINENO" 5; }
4548 fi
4549 fi
4550 fi
4551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4552 printf "%s\n" "$cross_compiling" >&6; }
4553
4554 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4555 conftest.o conftest.obj conftest.out
4556 ac_clean_files=$ac_clean_files_save
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4558 printf %s "checking for suffix of object files... " >&6; }
4559 if test ${ac_cv_objext+y}
4560 then :
4561 printf %s "(cached) " >&6
4562 else case e in #(
4563 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4565
4566 int
4567 main (void)
4568 {
4569
4570 ;
4571 return 0;
4572 }
4573 _ACEOF
4574 rm -f conftest.o conftest.obj
4575 if { { ac_try="$ac_compile"
4576 case "(($ac_try" in
4577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4579 esac
4580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4581 printf "%s\n" "$ac_try_echo"; } >&5
4582 (eval "$ac_compile") 2>&5
4583 ac_status=$?
4584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4585 test $ac_status = 0; }
4586 then :
4587 for ac_file in conftest.o conftest.obj conftest.*; do
4588 test -f "$ac_file" || continue;
4589 case $ac_file in
4590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4592 break;;
4593 esac
4594 done
4595 else case e in #(
4596 e) printf "%s\n" "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.$ac_ext >&5
4598
4599 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4600 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4601 as_fn_error $? "cannot compute suffix of object files: cannot compile
4602 See 'config.log' for more details" "$LINENO" 5; } ;;
4603 esac
4604 fi
4605 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4606 esac
4607 fi
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4609 printf "%s\n" "$ac_cv_objext" >&6; }
4610 OBJEXT=$ac_cv_objext
4611 ac_objext=$OBJEXT
4612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4613 printf %s "checking whether the compiler supports GNU C... " >&6; }
4614 if test ${ac_cv_c_compiler_gnu+y}
4615 then :
4616 printf %s "(cached) " >&6
4617 else case e in #(
4618 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4620
4621 int
4622 main (void)
4623 {
4624 #ifndef __GNUC__
4625 choke me
4626 #endif
4627
4628 ;
4629 return 0;
4630 }
4631 _ACEOF
4632 if ac_fn_c_try_compile "$LINENO"
4633 then :
4634 ac_compiler_gnu=yes
4635 else case e in #(
4636 e) ac_compiler_gnu=no ;;
4637 esac
4638 fi
4639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4640 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4641 ;;
4642 esac
4643 fi
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4645 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4647
4648 if test $ac_compiler_gnu = yes; then
4649 GCC=yes
4650 else
4651 GCC=
4652 fi
4653 ac_test_CFLAGS=${CFLAGS+y}
4654 ac_save_CFLAGS=$CFLAGS
4655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4656 printf %s "checking whether $CC accepts -g... " >&6; }
4657 if test ${ac_cv_prog_cc_g+y}
4658 then :
4659 printf %s "(cached) " >&6
4660 else case e in #(
4661 e) ac_save_c_werror_flag=$ac_c_werror_flag
4662 ac_c_werror_flag=yes
4663 ac_cv_prog_cc_g=no
4664 CFLAGS="-g"
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4667
4668 int
4669 main (void)
4670 {
4671
4672 ;
4673 return 0;
4674 }
4675 _ACEOF
4676 if ac_fn_c_try_compile "$LINENO"
4677 then :
4678 ac_cv_prog_cc_g=yes
4679 else case e in #(
4680 e) CFLAGS=""
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4683
4684 int
4685 main (void)
4686 {
4687
4688 ;
4689 return 0;
4690 }
4691 _ACEOF
4692 if ac_fn_c_try_compile "$LINENO"
4693 then :
4694
4695 else case e in #(
4696 e) ac_c_werror_flag=$ac_save_c_werror_flag
4697 CFLAGS="-g"
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700
4701 int
4702 main (void)
4703 {
4704
4705 ;
4706 return 0;
4707 }
4708 _ACEOF
4709 if ac_fn_c_try_compile "$LINENO"
4710 then :
4711 ac_cv_prog_cc_g=yes
4712 fi
4713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4714 esac
4715 fi
4716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4717 esac
4718 fi
4719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4720 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4721 esac
4722 fi
4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4724 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4725 if test $ac_test_CFLAGS; then
4726 CFLAGS=$ac_save_CFLAGS
4727 elif test $ac_cv_prog_cc_g = yes; then
4728 if test "$GCC" = yes; then
4729 CFLAGS="-g -O2"
4730 else
4731 CFLAGS="-g"
4732 fi
4733 else
4734 if test "$GCC" = yes; then
4735 CFLAGS="-O2"
4736 else
4737 CFLAGS=
4738 fi
4739 fi
4740 ac_prog_cc_stdc=no
4741 if test x$ac_prog_cc_stdc = xno
4742 then :
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4744 printf %s "checking for $CC option to enable C11 features... " >&6; }
4745 if test ${ac_cv_prog_cc_c11+y}
4746 then :
4747 printf %s "(cached) " >&6
4748 else case e in #(
4749 e) ac_cv_prog_cc_c11=no
4750 ac_save_CC=$CC
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4753 $ac_c_conftest_c11_program
4754 _ACEOF
4755 for ac_arg in '' -std=gnu11
4756 do
4757 CC="$ac_save_CC $ac_arg"
4758 if ac_fn_c_try_compile "$LINENO"
4759 then :
4760 ac_cv_prog_cc_c11=$ac_arg
4761 fi
4762 rm -f core conftest.err conftest.$ac_objext conftest.beam
4763 test "x$ac_cv_prog_cc_c11" != "xno" && break
4764 done
4765 rm -f conftest.$ac_ext
4766 CC=$ac_save_CC ;;
4767 esac
4768 fi
4769
4770 if test "x$ac_cv_prog_cc_c11" = xno
4771 then :
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4773 printf "%s\n" "unsupported" >&6; }
4774 else case e in #(
4775 e) if test "x$ac_cv_prog_cc_c11" = x
4776 then :
4777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4778 printf "%s\n" "none needed" >&6; }
4779 else case e in #(
4780 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4781 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4782 CC="$CC $ac_cv_prog_cc_c11" ;;
4783 esac
4784 fi
4785 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4786 ac_prog_cc_stdc=c11 ;;
4787 esac
4788 fi
4789 fi
4790 if test x$ac_prog_cc_stdc = xno
4791 then :
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4793 printf %s "checking for $CC option to enable C99 features... " >&6; }
4794 if test ${ac_cv_prog_cc_c99+y}
4795 then :
4796 printf %s "(cached) " >&6
4797 else case e in #(
4798 e) ac_cv_prog_cc_c99=no
4799 ac_save_CC=$CC
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 $ac_c_conftest_c99_program
4803 _ACEOF
4804 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4805 do
4806 CC="$ac_save_CC $ac_arg"
4807 if ac_fn_c_try_compile "$LINENO"
4808 then :
4809 ac_cv_prog_cc_c99=$ac_arg
4810 fi
4811 rm -f core conftest.err conftest.$ac_objext conftest.beam
4812 test "x$ac_cv_prog_cc_c99" != "xno" && break
4813 done
4814 rm -f conftest.$ac_ext
4815 CC=$ac_save_CC ;;
4816 esac
4817 fi
4818
4819 if test "x$ac_cv_prog_cc_c99" = xno
4820 then :
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4822 printf "%s\n" "unsupported" >&6; }
4823 else case e in #(
4824 e) if test "x$ac_cv_prog_cc_c99" = x
4825 then :
4826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4827 printf "%s\n" "none needed" >&6; }
4828 else case e in #(
4829 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4830 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4831 CC="$CC $ac_cv_prog_cc_c99" ;;
4832 esac
4833 fi
4834 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4835 ac_prog_cc_stdc=c99 ;;
4836 esac
4837 fi
4838 fi
4839 if test x$ac_prog_cc_stdc = xno
4840 then :
4841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4842 printf %s "checking for $CC option to enable C89 features... " >&6; }
4843 if test ${ac_cv_prog_cc_c89+y}
4844 then :
4845 printf %s "(cached) " >&6
4846 else case e in #(
4847 e) ac_cv_prog_cc_c89=no
4848 ac_save_CC=$CC
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4851 $ac_c_conftest_c89_program
4852 _ACEOF
4853 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4854 do
4855 CC="$ac_save_CC $ac_arg"
4856 if ac_fn_c_try_compile "$LINENO"
4857 then :
4858 ac_cv_prog_cc_c89=$ac_arg
4859 fi
4860 rm -f core conftest.err conftest.$ac_objext conftest.beam
4861 test "x$ac_cv_prog_cc_c89" != "xno" && break
4862 done
4863 rm -f conftest.$ac_ext
4864 CC=$ac_save_CC ;;
4865 esac
4866 fi
4867
4868 if test "x$ac_cv_prog_cc_c89" = xno
4869 then :
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4871 printf "%s\n" "unsupported" >&6; }
4872 else case e in #(
4873 e) if test "x$ac_cv_prog_cc_c89" = x
4874 then :
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4876 printf "%s\n" "none needed" >&6; }
4877 else case e in #(
4878 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4879 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4880 CC="$CC $ac_cv_prog_cc_c89" ;;
4881 esac
4882 fi
4883 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4884 ac_prog_cc_stdc=c89 ;;
4885 esac
4886 fi
4887 fi
4888
4889 ac_ext=c
4890 ac_cpp='$CPP $CPPFLAGS'
4891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4894
4895
4896 ac_ext=c
4897 ac_cpp='$CPP $CPPFLAGS'
4898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4902 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4903 if test ${am_cv_prog_cc_c_o+y}
4904 then :
4905 printf %s "(cached) " >&6
4906 else case e in #(
4907 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4909
4910 int
4911 main (void)
4912 {
4913
4914 ;
4915 return 0;
4916 }
4917 _ACEOF
4918 # Make sure it works both with $CC and with simple cc.
4919 # Following AC_PROG_CC_C_O, we do the test twice because some
4920 # compilers refuse to overwrite an existing .o file with -o,
4921 # though they will create one.
4922 am_cv_prog_cc_c_o=yes
4923 for am_i in 1 2; do
4924 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4925 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4926 ac_status=$?
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); } \
4929 && test -f conftest2.$ac_objext; then
4930 : OK
4931 else
4932 am_cv_prog_cc_c_o=no
4933 break
4934 fi
4935 done
4936 # aligned with autoconf, so not including core; see bug#72225.
4937 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4938 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4939 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4940 unset am_i ;;
4941 esac
4942 fi
4943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4944 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4945 if test "$am_cv_prog_cc_c_o" != yes; then
4946 # Losing compiler, so override with the script.
4947 # FIXME: It is wrong to rewrite CC.
4948 # But if we don't then we get into trouble of one sort or another.
4949 # A longer-term fix would be to have automake use am__CC in this case,
4950 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4951 CC="$am_aux_dir/compile $CC"
4952 fi
4953 ac_ext=c
4954 ac_cpp='$CPP $CPPFLAGS'
4955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4958
4959
4960 depcc="$CC" am_compiler_list=
4961
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4963 printf %s "checking dependency style of $depcc... " >&6; }
4964 if test ${am_cv_CC_dependencies_compiler_type+y}
4965 then :
4966 printf %s "(cached) " >&6
4967 else case e in #(
4968 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4969 # We make a subdir and do the tests there. Otherwise we can end up
4970 # making bogus files that we don't know about and never remove. For
4971 # instance it was reported that on HP-UX the gcc test will end up
4972 # making a dummy file named 'D' -- because '-MD' means "put the output
4973 # in D".
4974 rm -rf conftest.dir
4975 mkdir conftest.dir
4976 # Copy depcomp to subdir because otherwise we won't find it if we're
4977 # using a relative directory.
4978 cp "$am_depcomp" conftest.dir
4979 cd conftest.dir
4980 # We will build objects and dependencies in a subdirectory because
4981 # it helps to detect inapplicable dependency modes. For instance
4982 # both Tru64's cc and ICC support -MD to output dependencies as a
4983 # side effect of compilation, but ICC will put the dependencies in
4984 # the current directory while Tru64 will put them in the object
4985 # directory.
4986 mkdir sub
4987
4988 am_cv_CC_dependencies_compiler_type=none
4989 if test "$am_compiler_list" = ""; then
4990 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4991 fi
4992 am__universal=false
4993 case " $depcc " in #(
4994 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4995 esac
4996
4997 for depmode in $am_compiler_list; do
4998 # Setup a source with many dependencies, because some compilers
4999 # like to wrap large dependency lists on column 80 (with \), and
5000 # we should not choose a depcomp mode which is confused by this.
5001 #
5002 # We need to recreate these files for each test, as the compiler may
5003 # overwrite some of them when testing with obscure command lines.
5004 # This happens at least with the AIX C compiler.
5005 : > sub/conftest.c
5006 for i in 1 2 3 4 5 6; do
5007 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5008 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5009 # Solaris 10 /bin/sh.
5010 echo '/* dummy */' > sub/conftst$i.h
5011 done
5012 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5013
5014 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5015 # mode. It turns out that the SunPro C++ compiler does not properly
5016 # handle '-M -o', and we need to detect this. Also, some Intel
5017 # versions had trouble with output in subdirs.
5018 am__obj=sub/conftest.${OBJEXT-o}
5019 am__minus_obj="-o $am__obj"
5020 case $depmode in
5021 gcc)
5022 # This depmode causes a compiler race in universal mode.
5023 test "$am__universal" = false || continue
5024 ;;
5025 nosideeffect)
5026 # After this tag, mechanisms are not by side-effect, so they'll
5027 # only be used when explicitly requested.
5028 if test "x$enable_dependency_tracking" = xyes; then
5029 continue
5030 else
5031 break
5032 fi
5033 ;;
5034 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5035 # This compiler won't grok '-c -o', but also, the minuso test has
5036 # not run yet. These depmodes are late enough in the game, and
5037 # so weak that their functioning should not be impacted.
5038 am__obj=conftest.${OBJEXT-o}
5039 am__minus_obj=
5040 ;;
5041 none) break ;;
5042 esac
5043 if depmode=$depmode \
5044 source=sub/conftest.c object=$am__obj \
5045 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5046 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5047 >/dev/null 2>conftest.err &&
5048 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5049 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5050 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5051 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5052 # icc doesn't choke on unknown options, it will just issue warnings
5053 # or remarks (even with -Werror). So we grep stderr for any message
5054 # that says an option was ignored or not supported.
5055 # When given -MP, icc 7.0 and 7.1 complain thus:
5056 # icc: Command line warning: ignoring option '-M'; no argument required
5057 # The diagnosis changed in icc 8.0:
5058 # icc: Command line remark: option '-MP' not supported
5059 if (grep 'ignoring option' conftest.err ||
5060 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5061 am_cv_CC_dependencies_compiler_type=$depmode
5062 break
5063 fi
5064 fi
5065 done
5066
5067 cd ..
5068 rm -rf conftest.dir
5069 else
5070 am_cv_CC_dependencies_compiler_type=none
5071 fi
5072 ;;
5073 esac
5074 fi
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5076 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5077 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5078
5079 if
5080 test "x$enable_dependency_tracking" != xno \
5081 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5082 am__fastdepCC_TRUE=
5083 am__fastdepCC_FALSE='#'
5084 else
5085 am__fastdepCC_TRUE='#'
5086 am__fastdepCC_FALSE=
5087 fi
5088
5089
5090
5091 ac_header= ac_cache=
5092 for ac_item in $ac_header_c_list
5093 do
5094 if test $ac_cache; then
5095 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
5096 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5097 printf "%s\n" "#define $ac_item 1" >> confdefs.h
5098 fi
5099 ac_header= ac_cache=
5100 elif test $ac_header; then
5101 ac_cache=$ac_item
5102 else
5103 ac_header=$ac_item
5104 fi
5105 done
5106
5107
5108
5109
5110
5111
5112
5113
5114 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
5115 then :
5116
5117 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
5118
5119 fi
5120
5121
5122
5123
5124
5125
5126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5127 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5128 if test ${ac_cv_safe_to_define___extensions__+y}
5129 then :
5130 printf %s "(cached) " >&6
5131 else case e in #(
5132 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5134
5135 # define __EXTENSIONS__ 1
5136 $ac_includes_default
5137 int
5138 main (void)
5139 {
5140
5141 ;
5142 return 0;
5143 }
5144 _ACEOF
5145 if ac_fn_c_try_compile "$LINENO"
5146 then :
5147 ac_cv_safe_to_define___extensions__=yes
5148 else case e in #(
5149 e) ac_cv_safe_to_define___extensions__=no ;;
5150 esac
5151 fi
5152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5153 esac
5154 fi
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5156 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
5157
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5159 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5160 if test ${ac_cv_should_define__xopen_source+y}
5161 then :
5162 printf %s "(cached) " >&6
5163 else case e in #(
5164 e) ac_cv_should_define__xopen_source=no
5165 if test $ac_cv_header_wchar_h = yes
5166 then :
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5169
5170 #include <wchar.h>
5171 mbstate_t x;
5172 int
5173 main (void)
5174 {
5175
5176 ;
5177 return 0;
5178 }
5179 _ACEOF
5180 if ac_fn_c_try_compile "$LINENO"
5181 then :
5182
5183 else case e in #(
5184 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185 /* end confdefs.h. */
5186
5187 #define _XOPEN_SOURCE 500
5188 #include <wchar.h>
5189 mbstate_t x;
5190 int
5191 main (void)
5192 {
5193
5194 ;
5195 return 0;
5196 }
5197 _ACEOF
5198 if ac_fn_c_try_compile "$LINENO"
5199 then :
5200 ac_cv_should_define__xopen_source=yes
5201 fi
5202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5203 esac
5204 fi
5205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5206 fi ;;
5207 esac
5208 fi
5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5210 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5211
5212 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5213
5214 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5215
5216 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5217
5218 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5219
5220 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5221
5222 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5223
5224 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5225
5226 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5227
5228 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5229
5230 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5231
5232 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
5233
5234 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5235
5236 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5237
5238 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5239
5240 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5241
5242 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5243
5244 if test $ac_cv_header_minix_config_h = yes
5245 then :
5246 MINIX=yes
5247 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5248
5249 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5250
5251 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5252
5253 else case e in #(
5254 e) MINIX= ;;
5255 esac
5256 fi
5257 if test $ac_cv_safe_to_define___extensions__ = yes
5258 then :
5259 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5260
5261 fi
5262 if test $ac_cv_should_define__xopen_source = yes
5263 then :
5264 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5265
5266 fi
5267
5268 # Check whether --enable-compiler-warnings was given.
5269 if test ${enable_compiler_warnings+y}
5270 then :
5271 enableval=$enable_compiler_warnings;
5272 fi
5273 case $enable_compiler_warnings in #(
5274 no | min | yes | max | all) :
5275 ;; #(
5276 *) :
5277 if test "x$enable_maintainer_mode" = xyes
5278 then :
5279 enable_compiler_warnings=yes
5280 else case e in #(
5281 e) enable_compiler_warnings=min ;;
5282 esac
5283 fi ;;
5284 esac
5285
5286 case `pwd` in
5287 *\ * | *\ *)
5288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5289 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5290 esac
5291
5292
5293
5294 macro_version='2.5.4'
5295 macro_revision='2.5.4'
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310 ltmain=$ac_aux_dir/ltmain.sh
5311
5312
5313
5314 # Make sure we can run config.sub.
5315 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5316 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5317
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5319 printf %s "checking build system type... " >&6; }
5320 if test ${ac_cv_build+y}
5321 then :
5322 printf %s "(cached) " >&6
5323 else case e in #(
5324 e) ac_build_alias=$build_alias
5325 test "x$ac_build_alias" = x &&
5326 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5327 test "x$ac_build_alias" = x &&
5328 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5329 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5330 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5331 ;;
5332 esac
5333 fi
5334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5335 printf "%s\n" "$ac_cv_build" >&6; }
5336 case $ac_cv_build in
5337 *-*-*) ;;
5338 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5339 esac
5340 build=$ac_cv_build
5341 ac_save_IFS=$IFS; IFS='-'
5342 set x $ac_cv_build
5343 shift
5344 build_cpu=$1
5345 build_vendor=$2
5346 shift; shift
5347 # Remember, the first character of IFS is used to create $*,
5348 # except with old shells:
5349 build_os=$*
5350 IFS=$ac_save_IFS
5351 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5352
5353
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5355 printf %s "checking host system type... " >&6; }
5356 if test ${ac_cv_host+y}
5357 then :
5358 printf %s "(cached) " >&6
5359 else case e in #(
5360 e) if test "x$host_alias" = x; then
5361 ac_cv_host=$ac_cv_build
5362 else
5363 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5364 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5365 fi
5366 ;;
5367 esac
5368 fi
5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5370 printf "%s\n" "$ac_cv_host" >&6; }
5371 case $ac_cv_host in
5372 *-*-*) ;;
5373 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5374 esac
5375 host=$ac_cv_host
5376 ac_save_IFS=$IFS; IFS='-'
5377 set x $ac_cv_host
5378 shift
5379 host_cpu=$1
5380 host_vendor=$2
5381 shift; shift
5382 # Remember, the first character of IFS is used to create $*,
5383 # except with old shells:
5384 host_os=$*
5385 IFS=$ac_save_IFS
5386 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5387
5388
5389 # Backslashify metacharacters that are still active within
5390 # double-quoted strings.
5391 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5392
5393 # Same as above, but do not quote variable references.
5394 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5395
5396 # Sed substitution to delay expansion of an escaped shell variable in a
5397 # double_quote_subst'ed string.
5398 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5399
5400 # Sed substitution to delay expansion of an escaped single quote.
5401 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5402
5403 # Sed substitution to avoid accidental globbing in evaled expressions
5404 no_glob_subst='s/\*/\\\*/g'
5405
5406 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5407 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5408 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5409
5410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5411 printf %s "checking how to print strings... " >&6; }
5412 # Test print first, because it will be a builtin if present.
5413 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5414 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5415 ECHO='print -r --'
5416 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5417 ECHO='printf %s\n'
5418 else
5419 # Use this function as a fallback that always works.
5420 func_fallback_echo ()
5421 {
5422 eval 'cat <<_LTECHO_EOF
5423 $1
5424 _LTECHO_EOF'
5425 }
5426 ECHO='func_fallback_echo'
5427 fi
5428
5429 # func_echo_all arg...
5430 # Invoke $ECHO with all args, space-separated.
5431 func_echo_all ()
5432 {
5433 $ECHO ""
5434 }
5435
5436 case $ECHO in
5437 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5438 printf "%s\n" "printf" >&6; } ;;
5439 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5440 printf "%s\n" "print -r" >&6; } ;;
5441 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5442 printf "%s\n" "cat" >&6; } ;;
5443 esac
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5459 printf %s "checking for a sed that does not truncate output... " >&6; }
5460 if test ${ac_cv_path_SED+y}
5461 then :
5462 printf %s "(cached) " >&6
5463 else case e in #(
5464 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5465 for ac_i in 1 2 3 4 5 6 7; do
5466 ac_script="$ac_script$as_nl$ac_script"
5467 done
5468 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5469 { ac_script=; unset ac_script;}
5470 if test -z "$SED"; then
5471 ac_path_SED_found=false
5472 # Loop through the user's path and test for each of PROGNAME-LIST
5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474 for as_dir in $PATH
5475 do
5476 IFS=$as_save_IFS
5477 case $as_dir in #(((
5478 '') as_dir=./ ;;
5479 */) ;;
5480 *) as_dir=$as_dir/ ;;
5481 esac
5482 for ac_prog in sed gsed
5483 do
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5486 as_fn_executable_p "$ac_path_SED" || continue
5487 # Check for GNU ac_path_SED and select it if it is found.
5488 # Check for GNU $ac_path_SED
5489 case `"$ac_path_SED" --version 2>&1` in #(
5490 *GNU*)
5491 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5492 #(
5493 *)
5494 ac_count=0
5495 printf %s 0123456789 >"conftest.in"
5496 while :
5497 do
5498 cat "conftest.in" "conftest.in" >"conftest.tmp"
5499 mv "conftest.tmp" "conftest.in"
5500 cp "conftest.in" "conftest.nl"
5501 printf "%s\n" '' >> "conftest.nl"
5502 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5504 as_fn_arith $ac_count + 1 && ac_count=$as_val
5505 if test $ac_count -gt ${ac_path_SED_max-0}; then
5506 # Best one so far, save it but keep looking for a better one
5507 ac_cv_path_SED="$ac_path_SED"
5508 ac_path_SED_max=$ac_count
5509 fi
5510 # 10*(2^10) chars as input seems more than enough
5511 test $ac_count -gt 10 && break
5512 done
5513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5514 esac
5515
5516 $ac_path_SED_found && break 3
5517 done
5518 done
5519 done
5520 IFS=$as_save_IFS
5521 if test -z "$ac_cv_path_SED"; then
5522 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5523 fi
5524 else
5525 ac_cv_path_SED=$SED
5526 fi
5527 ;;
5528 esac
5529 fi
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5531 printf "%s\n" "$ac_cv_path_SED" >&6; }
5532 SED="$ac_cv_path_SED"
5533 rm -f conftest.sed
5534
5535 test -z "$SED" && SED=sed
5536 Xsed="$SED -e 1s/^X//"
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5549 printf %s "checking for grep that handles long lines and -e... " >&6; }
5550 if test ${ac_cv_path_GREP+y}
5551 then :
5552 printf %s "(cached) " >&6
5553 else case e in #(
5554 e) if test -z "$GREP"; then
5555 ac_path_GREP_found=false
5556 # Loop through the user's path and test for each of PROGNAME-LIST
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5559 do
5560 IFS=$as_save_IFS
5561 case $as_dir in #(((
5562 '') as_dir=./ ;;
5563 */) ;;
5564 *) as_dir=$as_dir/ ;;
5565 esac
5566 for ac_prog in grep ggrep
5567 do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5570 as_fn_executable_p "$ac_path_GREP" || continue
5571 # Check for GNU ac_path_GREP and select it if it is found.
5572 # Check for GNU $ac_path_GREP
5573 case `"$ac_path_GREP" --version 2>&1` in #(
5574 *GNU*)
5575 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5576 #(
5577 *)
5578 ac_count=0
5579 printf %s 0123456789 >"conftest.in"
5580 while :
5581 do
5582 cat "conftest.in" "conftest.in" >"conftest.tmp"
5583 mv "conftest.tmp" "conftest.in"
5584 cp "conftest.in" "conftest.nl"
5585 printf "%s\n" 'GREP' >> "conftest.nl"
5586 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5587 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5588 as_fn_arith $ac_count + 1 && ac_count=$as_val
5589 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5590 # Best one so far, save it but keep looking for a better one
5591 ac_cv_path_GREP="$ac_path_GREP"
5592 ac_path_GREP_max=$ac_count
5593 fi
5594 # 10*(2^10) chars as input seems more than enough
5595 test $ac_count -gt 10 && break
5596 done
5597 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5598 esac
5599
5600 $ac_path_GREP_found && break 3
5601 done
5602 done
5603 done
5604 IFS=$as_save_IFS
5605 if test -z "$ac_cv_path_GREP"; then
5606 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 fi
5608 else
5609 ac_cv_path_GREP=$GREP
5610 fi
5611 ;;
5612 esac
5613 fi
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5615 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5616 GREP="$ac_cv_path_GREP"
5617
5618
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5620 printf %s "checking for egrep... " >&6; }
5621 if test ${ac_cv_path_EGREP+y}
5622 then :
5623 printf %s "(cached) " >&6
5624 else case e in #(
5625 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5626 then ac_cv_path_EGREP="$GREP -E"
5627 else
5628 if test -z "$EGREP"; then
5629 ac_path_EGREP_found=false
5630 # Loop through the user's path and test for each of PROGNAME-LIST
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 do
5634 IFS=$as_save_IFS
5635 case $as_dir in #(((
5636 '') as_dir=./ ;;
5637 */) ;;
5638 *) as_dir=$as_dir/ ;;
5639 esac
5640 for ac_prog in egrep
5641 do
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5644 as_fn_executable_p "$ac_path_EGREP" || continue
5645 # Check for GNU ac_path_EGREP and select it if it is found.
5646 # Check for GNU $ac_path_EGREP
5647 case `"$ac_path_EGREP" --version 2>&1` in #(
5648 *GNU*)
5649 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5650 #(
5651 *)
5652 ac_count=0
5653 printf %s 0123456789 >"conftest.in"
5654 while :
5655 do
5656 cat "conftest.in" "conftest.in" >"conftest.tmp"
5657 mv "conftest.tmp" "conftest.in"
5658 cp "conftest.in" "conftest.nl"
5659 printf "%s\n" 'EGREP' >> "conftest.nl"
5660 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5661 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5662 as_fn_arith $ac_count + 1 && ac_count=$as_val
5663 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5664 # Best one so far, save it but keep looking for a better one
5665 ac_cv_path_EGREP="$ac_path_EGREP"
5666 ac_path_EGREP_max=$ac_count
5667 fi
5668 # 10*(2^10) chars as input seems more than enough
5669 test $ac_count -gt 10 && break
5670 done
5671 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5672 esac
5673
5674 $ac_path_EGREP_found && break 3
5675 done
5676 done
5677 done
5678 IFS=$as_save_IFS
5679 if test -z "$ac_cv_path_EGREP"; then
5680 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5681 fi
5682 else
5683 ac_cv_path_EGREP=$EGREP
5684 fi
5685
5686 fi ;;
5687 esac
5688 fi
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5690 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5691 EGREP="$ac_cv_path_EGREP"
5692
5693 EGREP_TRADITIONAL=$EGREP
5694 ac_cv_path_EGREP_TRADITIONAL=$EGREP
5695
5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5697 printf %s "checking for fgrep... " >&6; }
5698 if test ${ac_cv_path_FGREP+y}
5699 then :
5700 printf %s "(cached) " >&6
5701 else case e in #(
5702 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5703 then ac_cv_path_FGREP="$GREP -F"
5704 else
5705 if test -z "$FGREP"; then
5706 ac_path_FGREP_found=false
5707 # Loop through the user's path and test for each of PROGNAME-LIST
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5710 do
5711 IFS=$as_save_IFS
5712 case $as_dir in #(((
5713 '') as_dir=./ ;;
5714 */) ;;
5715 *) as_dir=$as_dir/ ;;
5716 esac
5717 for ac_prog in fgrep
5718 do
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5721 as_fn_executable_p "$ac_path_FGREP" || continue
5722 # Check for GNU ac_path_FGREP and select it if it is found.
5723 # Check for GNU $ac_path_FGREP
5724 case `"$ac_path_FGREP" --version 2>&1` in #(
5725 *GNU*)
5726 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5727 #(
5728 *)
5729 ac_count=0
5730 printf %s 0123456789 >"conftest.in"
5731 while :
5732 do
5733 cat "conftest.in" "conftest.in" >"conftest.tmp"
5734 mv "conftest.tmp" "conftest.in"
5735 cp "conftest.in" "conftest.nl"
5736 printf "%s\n" 'FGREP' >> "conftest.nl"
5737 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5738 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5739 as_fn_arith $ac_count + 1 && ac_count=$as_val
5740 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5741 # Best one so far, save it but keep looking for a better one
5742 ac_cv_path_FGREP="$ac_path_FGREP"
5743 ac_path_FGREP_max=$ac_count
5744 fi
5745 # 10*(2^10) chars as input seems more than enough
5746 test $ac_count -gt 10 && break
5747 done
5748 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5749 esac
5750
5751 $ac_path_FGREP_found && break 3
5752 done
5753 done
5754 done
5755 IFS=$as_save_IFS
5756 if test -z "$ac_cv_path_FGREP"; then
5757 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5758 fi
5759 else
5760 ac_cv_path_FGREP=$FGREP
5761 fi
5762
5763 fi ;;
5764 esac
5765 fi
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5767 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5768 FGREP="$ac_cv_path_FGREP"
5769
5770
5771 test -z "$GREP" && GREP=grep
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791 # Check whether --with-gnu-ld was given.
5792 if test ${with_gnu_ld+y}
5793 then :
5794 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5795 else case e in #(
5796 e) with_gnu_ld=no ;;
5797 esac
5798 fi
5799
5800 ac_prog=ld
5801 if test yes = "$GCC"; then
5802 # Check if gcc -print-prog-name=ld gives a path.
5803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5804 printf %s "checking for ld used by $CC... " >&6; }
5805 case $host in
5806 *-*-mingw* | *-*-windows*)
5807 # gcc leaves a trailing carriage return, which upsets mingw
5808 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5809 *)
5810 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5811 esac
5812 case $ac_prog in
5813 # Accept absolute paths.
5814 [\\/]* | ?:[\\/]*)
5815 re_direlt='/[^/][^/]*/\.\./'
5816 # Canonicalize the pathname of ld
5817 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5818 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5819 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5820 done
5821 test -z "$LD" && LD=$ac_prog
5822 ;;
5823 "")
5824 # If it fails, then pretend we aren't using GCC.
5825 ac_prog=ld
5826 ;;
5827 *)
5828 # If it is relative, then search for the first ld in PATH.
5829 with_gnu_ld=unknown
5830 ;;
5831 esac
5832 elif test yes = "$with_gnu_ld"; then
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5834 printf %s "checking for GNU ld... " >&6; }
5835 else
5836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5837 printf %s "checking for non-GNU ld... " >&6; }
5838 fi
5839 if test ${lt_cv_path_LD+y}
5840 then :
5841 printf %s "(cached) " >&6
5842 else case e in #(
5843 e) if test -z "$LD"; then
5844 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5845 for ac_dir in $PATH; do
5846 IFS=$lt_save_ifs
5847 test -z "$ac_dir" && ac_dir=.
5848 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5849 lt_cv_path_LD=$ac_dir/$ac_prog
5850 # Check to see if the program is GNU ld. I'd rather use --version,
5851 # but apparently some variants of GNU ld only accept -v.
5852 # Break only if it was the GNU/non-GNU ld that we prefer.
5853 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5854 *GNU* | *'with BFD'*)
5855 test no != "$with_gnu_ld" && break
5856 ;;
5857 *)
5858 test yes != "$with_gnu_ld" && break
5859 ;;
5860 esac
5861 fi
5862 done
5863 IFS=$lt_save_ifs
5864 else
5865 lt_cv_path_LD=$LD # Let the user override the test with a path.
5866 fi ;;
5867 esac
5868 fi
5869
5870 LD=$lt_cv_path_LD
5871 if test -n "$LD"; then
5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5873 printf "%s\n" "$LD" >&6; }
5874 else
5875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 printf "%s\n" "no" >&6; }
5877 fi
5878 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5880 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5881 if test ${lt_cv_prog_gnu_ld+y}
5882 then :
5883 printf %s "(cached) " >&6
5884 else case e in #(
5885 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
5886 case `$LD -v 2>&1 </dev/null` in
5887 *GNU* | *'with BFD'*)
5888 lt_cv_prog_gnu_ld=yes
5889 ;;
5890 *)
5891 lt_cv_prog_gnu_ld=no
5892 ;;
5893 esac ;;
5894 esac
5895 fi
5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5897 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5898 with_gnu_ld=$lt_cv_prog_gnu_ld
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5909 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5910 if test ${lt_cv_path_NM+y}
5911 then :
5912 printf %s "(cached) " >&6
5913 else case e in #(
5914 e) if test -n "$NM"; then
5915 # Let the user override the test.
5916 lt_cv_path_NM=$NM
5917 else
5918 lt_nm_to_check=${ac_tool_prefix}nm
5919 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5920 lt_nm_to_check="$lt_nm_to_check nm"
5921 fi
5922 for lt_tmp_nm in $lt_nm_to_check; do
5923 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5924 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5925 IFS=$lt_save_ifs
5926 test -z "$ac_dir" && ac_dir=.
5927 tmp_nm=$ac_dir/$lt_tmp_nm
5928 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5929 # Check to see if the nm accepts a BSD-compat flag.
5930 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5931 # nm: unknown option "B" ignored
5932 # Tru64's nm complains that /dev/null is an invalid object file
5933 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5934 case $build_os in
5935 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
5936 *) lt_bad_file=/dev/null ;;
5937 esac
5938 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5939 *$lt_bad_file* | *'Invalid file or object type'*)
5940 lt_cv_path_NM="$tmp_nm -B"
5941 break 2
5942 ;;
5943 *)
5944 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5945 */dev/null*)
5946 lt_cv_path_NM="$tmp_nm -p"
5947 break 2
5948 ;;
5949 *)
5950 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5951 continue # so that we can try to find one that supports BSD flags
5952 ;;
5953 esac
5954 ;;
5955 esac
5956 fi
5957 done
5958 IFS=$lt_save_ifs
5959 done
5960 : ${lt_cv_path_NM=no}
5961 fi ;;
5962 esac
5963 fi
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5965 printf "%s\n" "$lt_cv_path_NM" >&6; }
5966 if test no != "$lt_cv_path_NM"; then
5967 NM=$lt_cv_path_NM
5968 else
5969 # Didn't find any BSD compatible name lister, look for dumpbin.
5970 if test -n "$DUMPBIN"; then :
5971 # Let the user override the test.
5972 else
5973 if test -n "$ac_tool_prefix"; then
5974 for ac_prog in dumpbin "link -dump"
5975 do
5976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 printf %s "checking for $ac_word... " >&6; }
5980 if test ${ac_cv_prog_DUMPBIN+y}
5981 then :
5982 printf %s "(cached) " >&6
5983 else case e in #(
5984 e) if test -n "$DUMPBIN"; then
5985 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5986 else
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988 for as_dir in $PATH
5989 do
5990 IFS=$as_save_IFS
5991 case $as_dir in #(((
5992 '') as_dir=./ ;;
5993 */) ;;
5994 *) as_dir=$as_dir/ ;;
5995 esac
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5998 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6000 break 2
6001 fi
6002 done
6003 done
6004 IFS=$as_save_IFS
6005
6006 fi ;;
6007 esac
6008 fi
6009 DUMPBIN=$ac_cv_prog_DUMPBIN
6010 if test -n "$DUMPBIN"; then
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6012 printf "%s\n" "$DUMPBIN" >&6; }
6013 else
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 printf "%s\n" "no" >&6; }
6016 fi
6017
6018
6019 test -n "$DUMPBIN" && break
6020 done
6021 fi
6022 if test -z "$DUMPBIN"; then
6023 ac_ct_DUMPBIN=$DUMPBIN
6024 for ac_prog in dumpbin "link -dump"
6025 do
6026 # Extract the first word of "$ac_prog", so it can be a program name with args.
6027 set dummy $ac_prog; ac_word=$2
6028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6029 printf %s "checking for $ac_word... " >&6; }
6030 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
6031 then :
6032 printf %s "(cached) " >&6
6033 else case e in #(
6034 e) if test -n "$ac_ct_DUMPBIN"; then
6035 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6036 else
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 for as_dir in $PATH
6039 do
6040 IFS=$as_save_IFS
6041 case $as_dir in #(((
6042 '') as_dir=./ ;;
6043 */) ;;
6044 *) as_dir=$as_dir/ ;;
6045 esac
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6048 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6050 break 2
6051 fi
6052 done
6053 done
6054 IFS=$as_save_IFS
6055
6056 fi ;;
6057 esac
6058 fi
6059 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6060 if test -n "$ac_ct_DUMPBIN"; then
6061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6062 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
6063 else
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6065 printf "%s\n" "no" >&6; }
6066 fi
6067
6068
6069 test -n "$ac_ct_DUMPBIN" && break
6070 done
6071
6072 if test "x$ac_ct_DUMPBIN" = x; then
6073 DUMPBIN=":"
6074 else
6075 case $cross_compiling:$ac_tool_warned in
6076 yes:)
6077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6078 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6079 ac_tool_warned=yes ;;
6080 esac
6081 DUMPBIN=$ac_ct_DUMPBIN
6082 fi
6083 fi
6084
6085 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
6086 *COFF*)
6087 DUMPBIN="$DUMPBIN -symbols -headers"
6088 ;;
6089 *)
6090 DUMPBIN=:
6091 ;;
6092 esac
6093 fi
6094
6095 if test : != "$DUMPBIN"; then
6096 NM=$DUMPBIN
6097 fi
6098 fi
6099 test -z "$NM" && NM=nm
6100
6101
6102
6103
6104
6105
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6107 printf %s "checking the name lister ($NM) interface... " >&6; }
6108 if test ${lt_cv_nm_interface+y}
6109 then :
6110 printf %s "(cached) " >&6
6111 else case e in #(
6112 e) lt_cv_nm_interface="BSD nm"
6113 echo "int some_variable = 0;" > conftest.$ac_ext
6114 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6115 (eval "$ac_compile" 2>conftest.err)
6116 cat conftest.err >&5
6117 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6118 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6119 cat conftest.err >&5
6120 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6121 cat conftest.out >&5
6122 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6123 lt_cv_nm_interface="MS dumpbin"
6124 fi
6125 rm -f conftest* ;;
6126 esac
6127 fi
6128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6129 printf "%s\n" "$lt_cv_nm_interface" >&6; }
6130
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6132 printf %s "checking whether ln -s works... " >&6; }
6133 LN_S=$as_ln_s
6134 if test "$LN_S" = "ln -s"; then
6135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6136 printf "%s\n" "yes" >&6; }
6137 else
6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6139 printf "%s\n" "no, using $LN_S" >&6; }
6140 fi
6141
6142 # find the maximum length of command line arguments
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6144 printf %s "checking the maximum length of command line arguments... " >&6; }
6145 if test ${lt_cv_sys_max_cmd_len+y}
6146 then :
6147 printf %s "(cached) " >&6
6148 else case e in #(
6149 e) i=0
6150 teststring=ABCD
6151
6152 case $build_os in
6153 msdosdjgpp*)
6154 # On DJGPP, this test can blow up pretty badly due to problems in libc
6155 # (any single argument exceeding 2000 bytes causes a buffer overrun
6156 # during glob expansion). Even if it were fixed, the result of this
6157 # check would be larger than it should be.
6158 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6159 ;;
6160
6161 gnu* | ironclad*)
6162 # Under GNU Hurd and Ironclad, this test is not required because there
6163 # is no limit to the length of command line arguments.
6164 # Libtool will interpret -1 as no limit whatsoever
6165 lt_cv_sys_max_cmd_len=-1;
6166 ;;
6167
6168 cygwin* | mingw* | windows* | cegcc*)
6169 # On Win9x/ME, this test blows up -- it succeeds, but takes
6170 # about 5 minutes as the teststring grows exponentially.
6171 # Worse, since 9x/ME are not pre-emptively multitasking,
6172 # you end up with a "frozen" computer, even though with patience
6173 # the test eventually succeeds (with a max line length of 256k).
6174 # Instead, let's just punt: use the minimum linelength reported by
6175 # all of the supported platforms: 8192 (on NT/2K/XP).
6176 lt_cv_sys_max_cmd_len=8192;
6177 ;;
6178
6179 mint*)
6180 # On MiNT this can take a long time and run out of memory.
6181 lt_cv_sys_max_cmd_len=8192;
6182 ;;
6183
6184 amigaos*)
6185 # On AmigaOS with pdksh, this test takes hours, literally.
6186 # So we just punt and use a minimum line length of 8192.
6187 lt_cv_sys_max_cmd_len=8192;
6188 ;;
6189
6190 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
6191 # This has been around since 386BSD, at least. Likely further.
6192 if test -x /sbin/sysctl; then
6193 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6194 elif test -x /usr/sbin/sysctl; then
6195 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6196 else
6197 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6198 fi
6199 # And add a safety zone
6200 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6201 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6202 ;;
6203
6204 interix*)
6205 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6206 lt_cv_sys_max_cmd_len=196608
6207 ;;
6208
6209 os2*)
6210 # The test takes a long time on OS/2.
6211 lt_cv_sys_max_cmd_len=8192
6212 ;;
6213
6214 osf*)
6215 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6216 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6217 # nice to cause kernel panics so lets avoid the loop below.
6218 # First set a reasonable default.
6219 lt_cv_sys_max_cmd_len=16384
6220 #
6221 if test -x /sbin/sysconfig; then
6222 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6223 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6224 esac
6225 fi
6226 ;;
6227 sco3.2v5*)
6228 lt_cv_sys_max_cmd_len=102400
6229 ;;
6230 sysv5* | sco5v6* | sysv4.2uw2*)
6231 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6232 if test -n "$kargmax"; then
6233 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
6234 else
6235 lt_cv_sys_max_cmd_len=32768
6236 fi
6237 ;;
6238 *)
6239 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6240 if test -n "$lt_cv_sys_max_cmd_len" && \
6241 test undefined != "$lt_cv_sys_max_cmd_len"; then
6242 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6243 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6244 else
6245 # Make teststring a little bigger before we do anything with it.
6246 # a 1K string should be a reasonable start.
6247 for i in 1 2 3 4 5 6 7 8; do
6248 teststring=$teststring$teststring
6249 done
6250 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6251 # If test is not a shell built-in, we'll probably end up computing a
6252 # maximum length that is only half of the actual maximum length, but
6253 # we can't tell.
6254 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6255 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6256 test 17 != "$i" # 1/2 MB should be enough
6257 do
6258 i=`expr $i + 1`
6259 teststring=$teststring$teststring
6260 done
6261 # Only check the string length outside the loop.
6262 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6263 teststring=
6264 # Add a significant safety factor because C++ compilers can tack on
6265 # massive amounts of additional arguments before passing them to the
6266 # linker. It appears as though 1/2 is a usable value.
6267 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6268 fi
6269 ;;
6270 esac
6271 ;;
6272 esac
6273 fi
6274
6275 if test -n "$lt_cv_sys_max_cmd_len"; then
6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6277 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6278 else
6279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6280 printf "%s\n" "none" >&6; }
6281 fi
6282 max_cmd_len=$lt_cv_sys_max_cmd_len
6283
6284
6285
6286
6287
6288
6289 : ${CP="cp -f"}
6290 : ${MV="mv -f"}
6291 : ${RM="rm -f"}
6292
6293 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6294 lt_unset=unset
6295 else
6296 lt_unset=false
6297 fi
6298
6299
6300
6301
6302
6303 # test EBCDIC or ASCII
6304 case `echo X|tr X '\101'` in
6305 A) # ASCII based system
6306 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6307 lt_SP2NL='tr \040 \012'
6308 lt_NL2SP='tr \015\012 \040\040'
6309 ;;
6310 *) # EBCDIC based system
6311 lt_SP2NL='tr \100 \n'
6312 lt_NL2SP='tr \r\n \100\100'
6313 ;;
6314 esac
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6325 printf %s "checking how to convert $build file names to $host format... " >&6; }
6326 if test ${lt_cv_to_host_file_cmd+y}
6327 then :
6328 printf %s "(cached) " >&6
6329 else case e in #(
6330 e) case $host in
6331 *-*-mingw* )
6332 case $build in
6333 *-*-mingw* | *-*-windows* ) # actually msys
6334 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6335 ;;
6336 *-*-cygwin* )
6337 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6338 ;;
6339 * ) # otherwise, assume *nix
6340 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6341 ;;
6342 esac
6343 ;;
6344 *-*-cygwin* )
6345 case $build in
6346 *-*-mingw* | *-*-windows* ) # actually msys
6347 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6348 ;;
6349 *-*-cygwin* )
6350 lt_cv_to_host_file_cmd=func_convert_file_noop
6351 ;;
6352 * ) # otherwise, assume *nix
6353 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6354 ;;
6355 esac
6356 ;;
6357 * ) # unhandled hosts (and "normal" native builds)
6358 lt_cv_to_host_file_cmd=func_convert_file_noop
6359 ;;
6360 esac
6361 ;;
6362 esac
6363 fi
6364
6365 to_host_file_cmd=$lt_cv_to_host_file_cmd
6366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6367 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6368
6369
6370
6371
6372
6373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6374 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6375 if test ${lt_cv_to_tool_file_cmd+y}
6376 then :
6377 printf %s "(cached) " >&6
6378 else case e in #(
6379 e) #assume ordinary cross tools, or native build.
6380 lt_cv_to_tool_file_cmd=func_convert_file_noop
6381 case $host in
6382 *-*-mingw* | *-*-windows* )
6383 case $build in
6384 *-*-mingw* | *-*-windows* ) # actually msys
6385 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6386 ;;
6387 esac
6388 ;;
6389 esac
6390 ;;
6391 esac
6392 fi
6393
6394 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6396 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6397
6398
6399
6400
6401
6402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6403 printf %s "checking for $LD option to reload object files... " >&6; }
6404 if test ${lt_cv_ld_reload_flag+y}
6405 then :
6406 printf %s "(cached) " >&6
6407 else case e in #(
6408 e) lt_cv_ld_reload_flag='-r' ;;
6409 esac
6410 fi
6411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6412 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6413 reload_flag=$lt_cv_ld_reload_flag
6414 case $reload_flag in
6415 "" | " "*) ;;
6416 *) reload_flag=" $reload_flag" ;;
6417 esac
6418 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6419 case $host_os in
6420 cygwin* | mingw* | windows* | pw32* | cegcc*)
6421 if test yes != "$GCC"; then
6422 reload_cmds=false
6423 fi
6424 ;;
6425 darwin*)
6426 if test yes = "$GCC"; then
6427 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6428 else
6429 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6430 fi
6431 ;;
6432 esac
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442 # Extract the first word of "file", so it can be a program name with args.
6443 set dummy file; ac_word=$2
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 printf %s "checking for $ac_word... " >&6; }
6446 if test ${ac_cv_prog_FILECMD+y}
6447 then :
6448 printf %s "(cached) " >&6
6449 else case e in #(
6450 e) if test -n "$FILECMD"; then
6451 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6452 else
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 for as_dir in $PATH
6455 do
6456 IFS=$as_save_IFS
6457 case $as_dir in #(((
6458 '') as_dir=./ ;;
6459 */) ;;
6460 *) as_dir=$as_dir/ ;;
6461 esac
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6464 ac_cv_prog_FILECMD="file"
6465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6466 break 2
6467 fi
6468 done
6469 done
6470 IFS=$as_save_IFS
6471
6472 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
6473 fi ;;
6474 esac
6475 fi
6476 FILECMD=$ac_cv_prog_FILECMD
6477 if test -n "$FILECMD"; then
6478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6479 printf "%s\n" "$FILECMD" >&6; }
6480 else
6481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 printf "%s\n" "no" >&6; }
6483 fi
6484
6485
6486
6487
6488
6489
6490
6491
6492 if test -n "$ac_tool_prefix"; then
6493 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6494 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 printf %s "checking for $ac_word... " >&6; }
6497 if test ${ac_cv_prog_OBJDUMP+y}
6498 then :
6499 printf %s "(cached) " >&6
6500 else case e in #(
6501 e) if test -n "$OBJDUMP"; then
6502 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6503 else
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505 for as_dir in $PATH
6506 do
6507 IFS=$as_save_IFS
6508 case $as_dir in #(((
6509 '') as_dir=./ ;;
6510 */) ;;
6511 *) as_dir=$as_dir/ ;;
6512 esac
6513 for ac_exec_ext in '' $ac_executable_extensions; do
6514 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6515 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6517 break 2
6518 fi
6519 done
6520 done
6521 IFS=$as_save_IFS
6522
6523 fi ;;
6524 esac
6525 fi
6526 OBJDUMP=$ac_cv_prog_OBJDUMP
6527 if test -n "$OBJDUMP"; then
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6529 printf "%s\n" "$OBJDUMP" >&6; }
6530 else
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 printf "%s\n" "no" >&6; }
6533 fi
6534
6535
6536 fi
6537 if test -z "$ac_cv_prog_OBJDUMP"; then
6538 ac_ct_OBJDUMP=$OBJDUMP
6539 # Extract the first word of "objdump", so it can be a program name with args.
6540 set dummy objdump; ac_word=$2
6541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 printf %s "checking for $ac_word... " >&6; }
6543 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6544 then :
6545 printf %s "(cached) " >&6
6546 else case e in #(
6547 e) if test -n "$ac_ct_OBJDUMP"; then
6548 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6552 do
6553 IFS=$as_save_IFS
6554 case $as_dir in #(((
6555 '') as_dir=./ ;;
6556 */) ;;
6557 *) as_dir=$as_dir/ ;;
6558 esac
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6563 break 2
6564 fi
6565 done
6566 done
6567 IFS=$as_save_IFS
6568
6569 fi ;;
6570 esac
6571 fi
6572 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6573 if test -n "$ac_ct_OBJDUMP"; then
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6575 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6576 else
6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 printf "%s\n" "no" >&6; }
6579 fi
6580
6581 if test "x$ac_ct_OBJDUMP" = x; then
6582 OBJDUMP="false"
6583 else
6584 case $cross_compiling:$ac_tool_warned in
6585 yes:)
6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6587 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6588 ac_tool_warned=yes ;;
6589 esac
6590 OBJDUMP=$ac_ct_OBJDUMP
6591 fi
6592 else
6593 OBJDUMP="$ac_cv_prog_OBJDUMP"
6594 fi
6595
6596 test -z "$OBJDUMP" && OBJDUMP=objdump
6597
6598
6599
6600
6601
6602
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6604 printf %s "checking how to recognize dependent libraries... " >&6; }
6605 if test ${lt_cv_deplibs_check_method+y}
6606 then :
6607 printf %s "(cached) " >&6
6608 else case e in #(
6609 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
6610 lt_cv_file_magic_test_file=
6611 lt_cv_deplibs_check_method='unknown'
6612 # Need to set the preceding variable on all platforms that support
6613 # interlibrary dependencies.
6614 # 'none' -- dependencies not supported.
6615 # 'unknown' -- same as none, but documents that we really don't know.
6616 # 'pass_all' -- all dependencies passed with no checks.
6617 # 'file_magic [[regex]]' -- check by looking for files in library path
6618 # that responds to the $file_magic_cmd with a given extended regex.
6619 # If you have 'file' or equivalent on your system and you're not sure
6620 # whether 'pass_all' will *always* work, you probably want this one.
6621
6622 case $host_os in
6623 aix[4-9]*)
6624 lt_cv_deplibs_check_method=pass_all
6625 ;;
6626
6627 beos*)
6628 lt_cv_deplibs_check_method=pass_all
6629 ;;
6630
6631 bsdi[45]*)
6632 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6633 lt_cv_file_magic_cmd='$FILECMD -L'
6634 lt_cv_file_magic_test_file=/shlib/libc.so
6635 ;;
6636
6637 cygwin*)
6638 # func_win32_libid is a shell function defined in ltmain.sh
6639 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6640 lt_cv_file_magic_cmd='func_win32_libid'
6641 ;;
6642
6643 mingw* | windows* | pw32*)
6644 # Base MSYS/MinGW do not provide the 'file' command needed by
6645 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6646 # unless we find 'file', for example because we are cross-compiling.
6647 if ( file / ) >/dev/null 2>&1; then
6648 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6649 lt_cv_file_magic_cmd='func_win32_libid'
6650 else
6651 # Keep this pattern in sync with the one in func_win32_libid.
6652 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
6653 lt_cv_file_magic_cmd='$OBJDUMP -f'
6654 fi
6655 ;;
6656
6657 cegcc*)
6658 # use the weaker test based on 'objdump'. See mingw*.
6659 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6660 lt_cv_file_magic_cmd='$OBJDUMP -f'
6661 ;;
6662
6663 darwin* | rhapsody*)
6664 lt_cv_deplibs_check_method=pass_all
6665 ;;
6666
6667 freebsd* | dragonfly* | midnightbsd*)
6668 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6669 case $host_cpu in
6670 i*86 )
6671 # Not sure whether the presence of OpenBSD here was a mistake.
6672 # Let's accept both of them until this is cleared up.
6673 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6674 lt_cv_file_magic_cmd=$FILECMD
6675 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6676 ;;
6677 esac
6678 else
6679 lt_cv_deplibs_check_method=pass_all
6680 fi
6681 ;;
6682
6683 haiku*)
6684 lt_cv_deplibs_check_method=pass_all
6685 ;;
6686
6687 hpux10.20* | hpux11*)
6688 lt_cv_file_magic_cmd=$FILECMD
6689 case $host_cpu in
6690 ia64*)
6691 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6692 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6693 ;;
6694 hppa*64*)
6695 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]'
6696 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6697 ;;
6698 *)
6699 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6700 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6701 ;;
6702 esac
6703 ;;
6704
6705 interix[3-9]*)
6706 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6707 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6708 ;;
6709
6710 irix5* | irix6* | nonstopux*)
6711 case $LD in
6712 *-32|*"-32 ") libmagic=32-bit;;
6713 *-n32|*"-n32 ") libmagic=N32;;
6714 *-64|*"-64 ") libmagic=64-bit;;
6715 *) libmagic=never-match;;
6716 esac
6717 lt_cv_deplibs_check_method=pass_all
6718 ;;
6719
6720 # This must be glibc/ELF.
6721 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6722 lt_cv_deplibs_check_method=pass_all
6723 ;;
6724
6725 *-mlibc)
6726 lt_cv_deplibs_check_method=pass_all
6727 ;;
6728
6729 netbsd* | netbsdelf*-gnu)
6730 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6731 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6732 else
6733 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6734 fi
6735 ;;
6736
6737 newos6*)
6738 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6739 lt_cv_file_magic_cmd=$FILECMD
6740 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6741 ;;
6742
6743 *nto* | *qnx*)
6744 lt_cv_deplibs_check_method=pass_all
6745 ;;
6746
6747 openbsd*)
6748 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6749 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6750 else
6751 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6752 fi
6753 ;;
6754
6755 osf3* | osf4* | osf5*)
6756 lt_cv_deplibs_check_method=pass_all
6757 ;;
6758
6759 rdos*)
6760 lt_cv_deplibs_check_method=pass_all
6761 ;;
6762
6763 serenity*)
6764 lt_cv_deplibs_check_method=pass_all
6765 ;;
6766
6767 solaris*)
6768 lt_cv_deplibs_check_method=pass_all
6769 ;;
6770
6771 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6772 lt_cv_deplibs_check_method=pass_all
6773 ;;
6774
6775 sysv4 | sysv4.3*)
6776 case $host_vendor in
6777 motorola)
6778 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]'
6779 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6780 ;;
6781 ncr)
6782 lt_cv_deplibs_check_method=pass_all
6783 ;;
6784 sequent)
6785 lt_cv_file_magic_cmd='/bin/file'
6786 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6787 ;;
6788 sni)
6789 lt_cv_file_magic_cmd='/bin/file'
6790 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6791 lt_cv_file_magic_test_file=/lib/libc.so
6792 ;;
6793 siemens)
6794 lt_cv_deplibs_check_method=pass_all
6795 ;;
6796 pc)
6797 lt_cv_deplibs_check_method=pass_all
6798 ;;
6799 esac
6800 ;;
6801
6802 tpf*)
6803 lt_cv_deplibs_check_method=pass_all
6804 ;;
6805 os2*)
6806 lt_cv_deplibs_check_method=pass_all
6807 ;;
6808 esac
6809 ;;
6810 esac
6811 fi
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6813 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6814
6815 file_magic_glob=
6816 want_nocaseglob=no
6817 if test "$build" = "$host"; then
6818 case $host_os in
6819 mingw* | windows* | pw32*)
6820 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6821 want_nocaseglob=yes
6822 else
6823 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6824 fi
6825 ;;
6826 esac
6827 fi
6828
6829 file_magic_cmd=$lt_cv_file_magic_cmd
6830 deplibs_check_method=$lt_cv_deplibs_check_method
6831 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854 if test -n "$ac_tool_prefix"; then
6855 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6856 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858 printf %s "checking for $ac_word... " >&6; }
6859 if test ${ac_cv_prog_DLLTOOL+y}
6860 then :
6861 printf %s "(cached) " >&6
6862 else case e in #(
6863 e) if test -n "$DLLTOOL"; then
6864 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6865 else
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 for as_dir in $PATH
6868 do
6869 IFS=$as_save_IFS
6870 case $as_dir in #(((
6871 '') as_dir=./ ;;
6872 */) ;;
6873 *) as_dir=$as_dir/ ;;
6874 esac
6875 for ac_exec_ext in '' $ac_executable_extensions; do
6876 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6877 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6879 break 2
6880 fi
6881 done
6882 done
6883 IFS=$as_save_IFS
6884
6885 fi ;;
6886 esac
6887 fi
6888 DLLTOOL=$ac_cv_prog_DLLTOOL
6889 if test -n "$DLLTOOL"; then
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6891 printf "%s\n" "$DLLTOOL" >&6; }
6892 else
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 printf "%s\n" "no" >&6; }
6895 fi
6896
6897
6898 fi
6899 if test -z "$ac_cv_prog_DLLTOOL"; then
6900 ac_ct_DLLTOOL=$DLLTOOL
6901 # Extract the first word of "dlltool", so it can be a program name with args.
6902 set dummy dlltool; ac_word=$2
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6904 printf %s "checking for $ac_word... " >&6; }
6905 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6906 then :
6907 printf %s "(cached) " >&6
6908 else case e in #(
6909 e) if test -n "$ac_ct_DLLTOOL"; then
6910 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6911 else
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 for as_dir in $PATH
6914 do
6915 IFS=$as_save_IFS
6916 case $as_dir in #(((
6917 '') as_dir=./ ;;
6918 */) ;;
6919 *) as_dir=$as_dir/ ;;
6920 esac
6921 for ac_exec_ext in '' $ac_executable_extensions; do
6922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6923 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6925 break 2
6926 fi
6927 done
6928 done
6929 IFS=$as_save_IFS
6930
6931 fi ;;
6932 esac
6933 fi
6934 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6935 if test -n "$ac_ct_DLLTOOL"; then
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6937 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6938 else
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 printf "%s\n" "no" >&6; }
6941 fi
6942
6943 if test "x$ac_ct_DLLTOOL" = x; then
6944 DLLTOOL="false"
6945 else
6946 case $cross_compiling:$ac_tool_warned in
6947 yes:)
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6949 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6950 ac_tool_warned=yes ;;
6951 esac
6952 DLLTOOL=$ac_ct_DLLTOOL
6953 fi
6954 else
6955 DLLTOOL="$ac_cv_prog_DLLTOOL"
6956 fi
6957
6958 test -z "$DLLTOOL" && DLLTOOL=dlltool
6959
6960
6961
6962
6963
6964
6965
6966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6967 printf %s "checking how to associate runtime and link libraries... " >&6; }
6968 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6969 then :
6970 printf %s "(cached) " >&6
6971 else case e in #(
6972 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
6973
6974 case $host_os in
6975 cygwin* | mingw* | windows* | pw32* | cegcc*)
6976 # two different shell functions defined in ltmain.sh;
6977 # decide which one to use based on capabilities of $DLLTOOL
6978 case `$DLLTOOL --help 2>&1` in
6979 *--identify-strict*)
6980 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6981 ;;
6982 *)
6983 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6984 ;;
6985 esac
6986 ;;
6987 *)
6988 # fallback: assume linklib IS sharedlib
6989 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6990 ;;
6991 esac
6992 ;;
6993 esac
6994 fi
6995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6996 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6997 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6998 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6999
7000
7001
7002
7003
7004
7005
7006 if test -n "$ac_tool_prefix"; then
7007 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7008 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 printf %s "checking for $ac_word... " >&6; }
7011 if test ${ac_cv_prog_RANLIB+y}
7012 then :
7013 printf %s "(cached) " >&6
7014 else case e in #(
7015 e) if test -n "$RANLIB"; then
7016 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7017 else
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019 for as_dir in $PATH
7020 do
7021 IFS=$as_save_IFS
7022 case $as_dir in #(((
7023 '') as_dir=./ ;;
7024 */) ;;
7025 *) as_dir=$as_dir/ ;;
7026 esac
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7031 break 2
7032 fi
7033 done
7034 done
7035 IFS=$as_save_IFS
7036
7037 fi ;;
7038 esac
7039 fi
7040 RANLIB=$ac_cv_prog_RANLIB
7041 if test -n "$RANLIB"; then
7042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7043 printf "%s\n" "$RANLIB" >&6; }
7044 else
7045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7046 printf "%s\n" "no" >&6; }
7047 fi
7048
7049
7050 fi
7051 if test -z "$ac_cv_prog_RANLIB"; then
7052 ac_ct_RANLIB=$RANLIB
7053 # Extract the first word of "ranlib", so it can be a program name with args.
7054 set dummy ranlib; ac_word=$2
7055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7056 printf %s "checking for $ac_word... " >&6; }
7057 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7058 then :
7059 printf %s "(cached) " >&6
7060 else case e in #(
7061 e) if test -n "$ac_ct_RANLIB"; then
7062 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7063 else
7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 for as_dir in $PATH
7066 do
7067 IFS=$as_save_IFS
7068 case $as_dir in #(((
7069 '') as_dir=./ ;;
7070 */) ;;
7071 *) as_dir=$as_dir/ ;;
7072 esac
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7075 ac_cv_prog_ac_ct_RANLIB="ranlib"
7076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7077 break 2
7078 fi
7079 done
7080 done
7081 IFS=$as_save_IFS
7082
7083 fi ;;
7084 esac
7085 fi
7086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7087 if test -n "$ac_ct_RANLIB"; then
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7089 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7090 else
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 printf "%s\n" "no" >&6; }
7093 fi
7094
7095 if test "x$ac_ct_RANLIB" = x; then
7096 RANLIB=":"
7097 else
7098 case $cross_compiling:$ac_tool_warned in
7099 yes:)
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7101 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7102 ac_tool_warned=yes ;;
7103 esac
7104 RANLIB=$ac_ct_RANLIB
7105 fi
7106 else
7107 RANLIB="$ac_cv_prog_RANLIB"
7108 fi
7109
7110 if test -n "$ac_tool_prefix"; then
7111 for ac_prog in ar
7112 do
7113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 printf %s "checking for $ac_word... " >&6; }
7117 if test ${ac_cv_prog_AR+y}
7118 then :
7119 printf %s "(cached) " >&6
7120 else case e in #(
7121 e) if test -n "$AR"; then
7122 ac_cv_prog_AR="$AR" # Let the user override the test.
7123 else
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 for as_dir in $PATH
7126 do
7127 IFS=$as_save_IFS
7128 case $as_dir in #(((
7129 '') as_dir=./ ;;
7130 */) ;;
7131 *) as_dir=$as_dir/ ;;
7132 esac
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7137 break 2
7138 fi
7139 done
7140 done
7141 IFS=$as_save_IFS
7142
7143 fi ;;
7144 esac
7145 fi
7146 AR=$ac_cv_prog_AR
7147 if test -n "$AR"; then
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7149 printf "%s\n" "$AR" >&6; }
7150 else
7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 printf "%s\n" "no" >&6; }
7153 fi
7154
7155
7156 test -n "$AR" && break
7157 done
7158 fi
7159 if test -z "$AR"; then
7160 ac_ct_AR=$AR
7161 for ac_prog in ar
7162 do
7163 # Extract the first word of "$ac_prog", so it can be a program name with args.
7164 set dummy $ac_prog; ac_word=$2
7165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 printf %s "checking for $ac_word... " >&6; }
7167 if test ${ac_cv_prog_ac_ct_AR+y}
7168 then :
7169 printf %s "(cached) " >&6
7170 else case e in #(
7171 e) if test -n "$ac_ct_AR"; then
7172 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7173 else
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 for as_dir in $PATH
7176 do
7177 IFS=$as_save_IFS
7178 case $as_dir in #(((
7179 '') as_dir=./ ;;
7180 */) ;;
7181 *) as_dir=$as_dir/ ;;
7182 esac
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_ac_ct_AR="$ac_prog"
7186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7187 break 2
7188 fi
7189 done
7190 done
7191 IFS=$as_save_IFS
7192
7193 fi ;;
7194 esac
7195 fi
7196 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7197 if test -n "$ac_ct_AR"; then
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7199 printf "%s\n" "$ac_ct_AR" >&6; }
7200 else
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 printf "%s\n" "no" >&6; }
7203 fi
7204
7205
7206 test -n "$ac_ct_AR" && break
7207 done
7208
7209 if test "x$ac_ct_AR" = x; then
7210 AR="false"
7211 else
7212 case $cross_compiling:$ac_tool_warned in
7213 yes:)
7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7216 ac_tool_warned=yes ;;
7217 esac
7218 AR=$ac_ct_AR
7219 fi
7220 fi
7221
7222 : ${AR=ar}
7223
7224
7225
7226
7227
7228
7229 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
7230 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7231 # higher priority because that's what people were doing historically (setting
7232 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
7233 # variable obsoleted/removed.
7234
7235 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7236 lt_ar_flags=$AR_FLAGS
7237
7238
7239
7240
7241
7242
7243 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7244 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7245
7246
7247
7248
7249
7250
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7252 printf %s "checking for archiver @FILE support... " >&6; }
7253 if test ${lt_cv_ar_at_file+y}
7254 then :
7255 printf %s "(cached) " >&6
7256 else case e in #(
7257 e) lt_cv_ar_at_file=no
7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7260
7261 int
7262 main (void)
7263 {
7264
7265 ;
7266 return 0;
7267 }
7268 _ACEOF
7269 if ac_fn_c_try_compile "$LINENO"
7270 then :
7271 echo conftest.$ac_objext > conftest.lst
7272 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7273 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7274 (eval $lt_ar_try) 2>&5
7275 ac_status=$?
7276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7277 test $ac_status = 0; }
7278 if test 0 -eq "$ac_status"; then
7279 # Ensure the archiver fails upon bogus file names.
7280 rm -f conftest.$ac_objext libconftest.a
7281 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7282 (eval $lt_ar_try) 2>&5
7283 ac_status=$?
7284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7285 test $ac_status = 0; }
7286 if test 0 -ne "$ac_status"; then
7287 lt_cv_ar_at_file=@
7288 fi
7289 fi
7290 rm -f conftest.* libconftest.a
7291
7292 fi
7293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7294 ;;
7295 esac
7296 fi
7297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7298 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7299
7300 if test no = "$lt_cv_ar_at_file"; then
7301 archiver_list_spec=
7302 else
7303 archiver_list_spec=$lt_cv_ar_at_file
7304 fi
7305
7306
7307
7308
7309
7310
7311
7312 if test -n "$ac_tool_prefix"; then
7313 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7314 set dummy ${ac_tool_prefix}strip; ac_word=$2
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 printf %s "checking for $ac_word... " >&6; }
7317 if test ${ac_cv_prog_STRIP+y}
7318 then :
7319 printf %s "(cached) " >&6
7320 else case e in #(
7321 e) if test -n "$STRIP"; then
7322 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7323 else
7324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7325 for as_dir in $PATH
7326 do
7327 IFS=$as_save_IFS
7328 case $as_dir in #(((
7329 '') as_dir=./ ;;
7330 */) ;;
7331 *) as_dir=$as_dir/ ;;
7332 esac
7333 for ac_exec_ext in '' $ac_executable_extensions; do
7334 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7335 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7337 break 2
7338 fi
7339 done
7340 done
7341 IFS=$as_save_IFS
7342
7343 fi ;;
7344 esac
7345 fi
7346 STRIP=$ac_cv_prog_STRIP
7347 if test -n "$STRIP"; then
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7349 printf "%s\n" "$STRIP" >&6; }
7350 else
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352 printf "%s\n" "no" >&6; }
7353 fi
7354
7355
7356 fi
7357 if test -z "$ac_cv_prog_STRIP"; then
7358 ac_ct_STRIP=$STRIP
7359 # Extract the first word of "strip", so it can be a program name with args.
7360 set dummy strip; ac_word=$2
7361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362 printf %s "checking for $ac_word... " >&6; }
7363 if test ${ac_cv_prog_ac_ct_STRIP+y}
7364 then :
7365 printf %s "(cached) " >&6
7366 else case e in #(
7367 e) if test -n "$ac_ct_STRIP"; then
7368 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7372 do
7373 IFS=$as_save_IFS
7374 case $as_dir in #(((
7375 '') as_dir=./ ;;
7376 */) ;;
7377 *) as_dir=$as_dir/ ;;
7378 esac
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_ac_ct_STRIP="strip"
7382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7383 break 2
7384 fi
7385 done
7386 done
7387 IFS=$as_save_IFS
7388
7389 fi ;;
7390 esac
7391 fi
7392 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7393 if test -n "$ac_ct_STRIP"; then
7394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7395 printf "%s\n" "$ac_ct_STRIP" >&6; }
7396 else
7397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 printf "%s\n" "no" >&6; }
7399 fi
7400
7401 if test "x$ac_ct_STRIP" = x; then
7402 STRIP=":"
7403 else
7404 case $cross_compiling:$ac_tool_warned in
7405 yes:)
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7407 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7408 ac_tool_warned=yes ;;
7409 esac
7410 STRIP=$ac_ct_STRIP
7411 fi
7412 else
7413 STRIP="$ac_cv_prog_STRIP"
7414 fi
7415
7416 test -z "$STRIP" && STRIP=:
7417
7418
7419
7420
7421
7422
7423
7424 test -z "$RANLIB" && RANLIB=:
7425
7426
7427
7428
7429
7430
7431 # Determine commands to create old-style static archives.
7432 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7433 old_postinstall_cmds='chmod 644 $oldlib'
7434 old_postuninstall_cmds=
7435
7436 if test -n "$RANLIB"; then
7437 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7438 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7439 fi
7440
7441 case $host_os in
7442 darwin*)
7443 lock_old_archive_extraction=yes ;;
7444 *)
7445 lock_old_archive_extraction=no ;;
7446 esac
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486 # If no C compiler was specified, use CC.
7487 LTCC=${LTCC-"$CC"}
7488
7489 # If no C compiler flags were specified, use CFLAGS.
7490 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7491
7492 # Allow CC to be a program name with arguments.
7493 compiler=$CC
7494
7495
7496 # Check for command to grab the raw symbol name followed by C symbol from nm.
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7498 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7499 if test ${lt_cv_sys_global_symbol_pipe+y}
7500 then :
7501 printf %s "(cached) " >&6
7502 else case e in #(
7503 e)
7504 # These are sane defaults that work on at least a few old systems.
7505 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7506
7507 # Character class describing NM global symbol codes.
7508 symcode='[BCDEGRST]'
7509
7510 # Regexp to match symbols that can be accessed directly from C.
7511 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7512
7513 # Define system-specific variables.
7514 case $host_os in
7515 aix*)
7516 symcode='[BCDT]'
7517 ;;
7518 cygwin* | mingw* | windows* | pw32* | cegcc*)
7519 symcode='[ABCDGISTW]'
7520 ;;
7521 hpux*)
7522 if test ia64 = "$host_cpu"; then
7523 symcode='[ABCDEGRST]'
7524 fi
7525 ;;
7526 irix* | nonstopux*)
7527 symcode='[BCDEGRST]'
7528 ;;
7529 osf*)
7530 symcode='[BCDEGQRST]'
7531 ;;
7532 solaris*)
7533 symcode='[BCDRT]'
7534 ;;
7535 sco3.2v5*)
7536 symcode='[DT]'
7537 ;;
7538 sysv4.2uw2*)
7539 symcode='[DT]'
7540 ;;
7541 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7542 symcode='[ABDT]'
7543 ;;
7544 sysv4)
7545 symcode='[DFNSTU]'
7546 ;;
7547 esac
7548
7549 # If we're using GNU nm, then use its standard symbol codes.
7550 case `$NM -V 2>&1` in
7551 *GNU* | *'with BFD'*)
7552 symcode='[ABCDGIRSTW]' ;;
7553 esac
7554
7555 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7556 # Gets list of data symbols to import.
7557 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7558 # Adjust the below global symbol transforms to fixup imported variables.
7559 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7560 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7561 lt_c_name_lib_hook="\
7562 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7563 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7564 else
7565 # Disable hooks by default.
7566 lt_cv_sys_global_symbol_to_import=
7567 lt_cdecl_hook=
7568 lt_c_name_hook=
7569 lt_c_name_lib_hook=
7570 fi
7571
7572 # Transform an extracted symbol line into a proper C declaration.
7573 # Some systems (esp. on ia64) link data and code symbols differently,
7574 # so use this general approach.
7575 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7576 $lt_cdecl_hook\
7577 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7578 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7579
7580 # Transform an extracted symbol line into symbol name and symbol address
7581 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7582 $lt_c_name_hook\
7583 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7584 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7585
7586 # Transform an extracted symbol line into symbol name with lib prefix and
7587 # symbol address.
7588 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7589 $lt_c_name_lib_hook\
7590 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7591 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7592 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7593
7594 # Handle CRLF in mingw tool chain
7595 opt_cr=
7596 case $build_os in
7597 mingw* | windows*)
7598 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7599 ;;
7600 esac
7601
7602 # Try without a prefix underscore, then with it.
7603 for ac_symprfx in "" "_"; do
7604
7605 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7606 symxfrm="\\1 $ac_symprfx\\2 \\2"
7607
7608 # Write the raw and C identifiers.
7609 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7610 # Fake it for dumpbin and say T for any non-static function,
7611 # D for any global variable and I for any imported variable.
7612 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7613 # which start with @ or ?.
7614 lt_cv_sys_global_symbol_pipe="$AWK '"\
7615 " {last_section=section; section=\$ 3};"\
7616 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7617 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7618 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7619 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7620 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7621 " \$ 0!~/External *\|/{next};"\
7622 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7623 " {if(hide[section]) next};"\
7624 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7625 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7626 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7627 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7628 " ' prfx=^$ac_symprfx"
7629 else
7630 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7631 fi
7632 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7633
7634 # Check to see that the pipe works correctly.
7635 pipe_works=no
7636
7637 rm -f conftest*
7638 cat > conftest.$ac_ext <<_LT_EOF
7639 #ifdef __cplusplus
7640 extern "C" {
7641 #endif
7642 char nm_test_var;
7643 void nm_test_func(void);
7644 void nm_test_func(void){}
7645 #ifdef __cplusplus
7646 }
7647 #endif
7648 int main(void){nm_test_var='a';nm_test_func();return(0);}
7649 _LT_EOF
7650
7651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7652 (eval $ac_compile) 2>&5
7653 ac_status=$?
7654 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7655 test $ac_status = 0; }; then
7656 # Now try to grab the symbols.
7657 nlist=conftest.nm
7658 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7659 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7660 # Try sorting and uniquifying the output.
7661 if sort "$nlist" | uniq > "$nlist"T; then
7662 mv -f "$nlist"T "$nlist"
7663 else
7664 rm -f "$nlist"T
7665 fi
7666
7667 # Make sure that we snagged all the symbols we need.
7668 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7669 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7670 cat <<_LT_EOF > conftest.$ac_ext
7671 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7672 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7673 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7674 relocations are performed -- see ld's documentation on pseudo-relocs. */
7675 # define LT_DLSYM_CONST
7676 #elif defined __osf__
7677 /* This system does not cope well with relocations in const data. */
7678 # define LT_DLSYM_CONST
7679 #else
7680 # define LT_DLSYM_CONST const
7681 #endif
7682
7683 #ifdef __cplusplus
7684 extern "C" {
7685 #endif
7686
7687 _LT_EOF
7688 # Now generate the symbol file.
7689 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7690
7691 cat <<_LT_EOF >> conftest.$ac_ext
7692
7693 /* The mapping between symbol names and symbols. */
7694 LT_DLSYM_CONST struct {
7695 const char *name;
7696 void *address;
7697 }
7698 lt__PROGRAM__LTX_preloaded_symbols[] =
7699 {
7700 { "@PROGRAM@", (void *) 0 },
7701 _LT_EOF
7702 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7703 cat <<\_LT_EOF >> conftest.$ac_ext
7704 {0, (void *) 0}
7705 };
7706
7707 /* This works around a problem in FreeBSD linker */
7708 #ifdef FREEBSD_WORKAROUND
7709 static const void *lt_preloaded_setup() {
7710 return lt__PROGRAM__LTX_preloaded_symbols;
7711 }
7712 #endif
7713
7714 #ifdef __cplusplus
7715 }
7716 #endif
7717 _LT_EOF
7718 # Now try linking the two files.
7719 mv conftest.$ac_objext conftstm.$ac_objext
7720 lt_globsym_save_LIBS=$LIBS
7721 lt_globsym_save_CFLAGS=$CFLAGS
7722 LIBS=conftstm.$ac_objext
7723 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7725 (eval $ac_link) 2>&5
7726 ac_status=$?
7727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7728 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7729 pipe_works=yes
7730 fi
7731 LIBS=$lt_globsym_save_LIBS
7732 CFLAGS=$lt_globsym_save_CFLAGS
7733 else
7734 echo "cannot find nm_test_func in $nlist" >&5
7735 fi
7736 else
7737 echo "cannot find nm_test_var in $nlist" >&5
7738 fi
7739 else
7740 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7741 fi
7742 else
7743 echo "$progname: failed program was:" >&5
7744 cat conftest.$ac_ext >&5
7745 fi
7746 rm -rf conftest* conftst*
7747
7748 # Do not use the global_symbol_pipe unless it works.
7749 if test yes = "$pipe_works"; then
7750 break
7751 else
7752 lt_cv_sys_global_symbol_pipe=
7753 fi
7754 done
7755 ;;
7756 esac
7757 fi
7758
7759 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7760 lt_cv_sys_global_symbol_to_cdecl=
7761 fi
7762 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7764 printf "%s\n" "failed" >&6; }
7765 else
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7767 printf "%s\n" "ok" >&6; }
7768 fi
7769
7770 # Response file support.
7771 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7772 nm_file_list_spec='@'
7773 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7774 nm_file_list_spec='@'
7775 fi
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7814 printf %s "checking for sysroot... " >&6; }
7815
7816 # Check whether --with-sysroot was given.
7817 if test ${with_sysroot+y}
7818 then :
7819 withval=$with_sysroot;
7820 else case e in #(
7821 e) with_sysroot=no ;;
7822 esac
7823 fi
7824
7825
7826 lt_sysroot=
7827 case $with_sysroot in #(
7828 yes)
7829 if test yes = "$GCC"; then
7830 # Trim trailing / since we'll always append absolute paths and we want
7831 # to avoid //, if only for less confusing output for the user.
7832 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
7833 fi
7834 ;; #(
7835 /*)
7836 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7837 ;; #(
7838 no|'')
7839 ;; #(
7840 *)
7841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7842 printf "%s\n" "$with_sysroot" >&6; }
7843 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7844 ;;
7845 esac
7846
7847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7848 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7849
7850
7851
7852
7853
7854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7855 printf %s "checking for a working dd... " >&6; }
7856 if test ${ac_cv_path_lt_DD+y}
7857 then :
7858 printf %s "(cached) " >&6
7859 else case e in #(
7860 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7861 cat conftest.i conftest.i >conftest2.i
7862 : ${lt_DD:=$DD}
7863 if test -z "$lt_DD"; then
7864 ac_path_lt_DD_found=false
7865 # Loop through the user's path and test for each of PROGNAME-LIST
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 for as_dir in $PATH
7868 do
7869 IFS=$as_save_IFS
7870 case $as_dir in #(((
7871 '') as_dir=./ ;;
7872 */) ;;
7873 *) as_dir=$as_dir/ ;;
7874 esac
7875 for ac_prog in dd
7876 do
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7879 as_fn_executable_p "$ac_path_lt_DD" || continue
7880 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7881 cmp -s conftest.i conftest.out \
7882 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7883 fi
7884 $ac_path_lt_DD_found && break 3
7885 done
7886 done
7887 done
7888 IFS=$as_save_IFS
7889 if test -z "$ac_cv_path_lt_DD"; then
7890 :
7891 fi
7892 else
7893 ac_cv_path_lt_DD=$lt_DD
7894 fi
7895
7896 rm -f conftest.i conftest2.i conftest.out ;;
7897 esac
7898 fi
7899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7900 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7901
7902
7903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7904 printf %s "checking how to truncate binary pipes... " >&6; }
7905 if test ${lt_cv_truncate_bin+y}
7906 then :
7907 printf %s "(cached) " >&6
7908 else case e in #(
7909 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7910 cat conftest.i conftest.i >conftest2.i
7911 lt_cv_truncate_bin=
7912 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7913 cmp -s conftest.i conftest.out \
7914 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7915 fi
7916 rm -f conftest.i conftest2.i conftest.out
7917 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
7918 esac
7919 fi
7920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7921 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7922
7923
7924
7925
7926
7927
7928
7929 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7930 func_cc_basename ()
7931 {
7932 for cc_temp in $*""; do
7933 case $cc_temp in
7934 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7935 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7936 \-*) ;;
7937 *) break;;
7938 esac
7939 done
7940 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7941 }
7942
7943 # Check whether --enable-libtool-lock was given.
7944 if test ${enable_libtool_lock+y}
7945 then :
7946 enableval=$enable_libtool_lock;
7947 fi
7948
7949 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7950
7951 # Some flags need to be propagated to the compiler or linker for good
7952 # libtool support.
7953 case $host in
7954 ia64-*-hpux*)
7955 # Find out what ABI is being produced by ac_compile, and set mode
7956 # options accordingly.
7957 echo 'int i;' > conftest.$ac_ext
7958 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7959 (eval $ac_compile) 2>&5
7960 ac_status=$?
7961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7962 test $ac_status = 0; }; then
7963 case `$FILECMD conftest.$ac_objext` in
7964 *ELF-32*)
7965 HPUX_IA64_MODE=32
7966 ;;
7967 *ELF-64*)
7968 HPUX_IA64_MODE=64
7969 ;;
7970 esac
7971 fi
7972 rm -rf conftest*
7973 ;;
7974 *-*-irix6*)
7975 # Find out what ABI is being produced by ac_compile, and set linker
7976 # options accordingly.
7977 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7978 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7979 (eval $ac_compile) 2>&5
7980 ac_status=$?
7981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7982 test $ac_status = 0; }; then
7983 if test yes = "$lt_cv_prog_gnu_ld"; then
7984 case `$FILECMD conftest.$ac_objext` in
7985 *32-bit*)
7986 LD="${LD-ld} -melf32bsmip"
7987 ;;
7988 *N32*)
7989 LD="${LD-ld} -melf32bmipn32"
7990 ;;
7991 *64-bit*)
7992 LD="${LD-ld} -melf64bmip"
7993 ;;
7994 esac
7995 else
7996 case `$FILECMD conftest.$ac_objext` in
7997 *32-bit*)
7998 LD="${LD-ld} -32"
7999 ;;
8000 *N32*)
8001 LD="${LD-ld} -n32"
8002 ;;
8003 *64-bit*)
8004 LD="${LD-ld} -64"
8005 ;;
8006 esac
8007 fi
8008 fi
8009 rm -rf conftest*
8010 ;;
8011
8012 mips64*-*linux*)
8013 # Find out what ABI is being produced by ac_compile, and set linker
8014 # options accordingly.
8015 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8017 (eval $ac_compile) 2>&5
8018 ac_status=$?
8019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8020 test $ac_status = 0; }; then
8021 emul=elf
8022 case `$FILECMD conftest.$ac_objext` in
8023 *32-bit*)
8024 emul="${emul}32"
8025 ;;
8026 *64-bit*)
8027 emul="${emul}64"
8028 ;;
8029 esac
8030 case `$FILECMD conftest.$ac_objext` in
8031 *MSB*)
8032 emul="${emul}btsmip"
8033 ;;
8034 *LSB*)
8035 emul="${emul}ltsmip"
8036 ;;
8037 esac
8038 case `$FILECMD conftest.$ac_objext` in
8039 *N32*)
8040 emul="${emul}n32"
8041 ;;
8042 esac
8043 LD="${LD-ld} -m $emul"
8044 fi
8045 rm -rf conftest*
8046 ;;
8047
8048 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8049 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
8050 # Find out what ABI is being produced by ac_compile, and set linker
8051 # options accordingly. Note that the listed cases only cover the
8052 # situations where additional linker options are needed (such as when
8053 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8054 # vice versa); the common cases where no linker options are needed do
8055 # not appear in the list.
8056 echo 'int i;' > conftest.$ac_ext
8057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8058 (eval $ac_compile) 2>&5
8059 ac_status=$?
8060 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8061 test $ac_status = 0; }; then
8062 case `$FILECMD conftest.o` in
8063 *32-bit*)
8064 case $host in
8065 x86_64-*kfreebsd*-gnu)
8066 LD="${LD-ld} -m elf_i386_fbsd"
8067 ;;
8068 x86_64-*linux*|x86_64-gnu*)
8069 case `$FILECMD conftest.o` in
8070 *x86-64*)
8071 LD="${LD-ld} -m elf32_x86_64"
8072 ;;
8073 *)
8074 LD="${LD-ld} -m elf_i386"
8075 ;;
8076 esac
8077 ;;
8078 powerpc64le-*linux*)
8079 LD="${LD-ld} -m elf32lppclinux"
8080 ;;
8081 powerpc64-*linux*)
8082 LD="${LD-ld} -m elf32ppclinux"
8083 ;;
8084 s390x-*linux*)
8085 LD="${LD-ld} -m elf_s390"
8086 ;;
8087 sparc64-*linux*)
8088 LD="${LD-ld} -m elf32_sparc"
8089 ;;
8090 esac
8091 ;;
8092 *64-bit*)
8093 case $host in
8094 x86_64-*kfreebsd*-gnu)
8095 LD="${LD-ld} -m elf_x86_64_fbsd"
8096 ;;
8097 x86_64-*linux*|x86_64-gnu*)
8098 LD="${LD-ld} -m elf_x86_64"
8099 ;;
8100 powerpcle-*linux*)
8101 LD="${LD-ld} -m elf64lppc"
8102 ;;
8103 powerpc-*linux*)
8104 LD="${LD-ld} -m elf64ppc"
8105 ;;
8106 s390*-*linux*|s390*-*tpf*)
8107 LD="${LD-ld} -m elf64_s390"
8108 ;;
8109 sparc*-*linux*)
8110 LD="${LD-ld} -m elf64_sparc"
8111 ;;
8112 esac
8113 ;;
8114 esac
8115 fi
8116 rm -rf conftest*
8117 ;;
8118
8119 *-*-sco3.2v5*)
8120 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8121 SAVE_CFLAGS=$CFLAGS
8122 CFLAGS="$CFLAGS -belf"
8123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8124 printf %s "checking whether the C compiler needs -belf... " >&6; }
8125 if test ${lt_cv_cc_needs_belf+y}
8126 then :
8127 printf %s "(cached) " >&6
8128 else case e in #(
8129 e) ac_ext=c
8130 ac_cpp='$CPP $CPPFLAGS'
8131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8134
8135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8137
8138 int
8139 main (void)
8140 {
8141
8142 ;
8143 return 0;
8144 }
8145 _ACEOF
8146 if ac_fn_c_try_link "$LINENO"
8147 then :
8148 lt_cv_cc_needs_belf=yes
8149 else case e in #(
8150 e) lt_cv_cc_needs_belf=no ;;
8151 esac
8152 fi
8153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8154 conftest$ac_exeext conftest.$ac_ext
8155 ac_ext=c
8156 ac_cpp='$CPP $CPPFLAGS'
8157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8160 ;;
8161 esac
8162 fi
8163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8164 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
8165 if test yes != "$lt_cv_cc_needs_belf"; then
8166 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8167 CFLAGS=$SAVE_CFLAGS
8168 fi
8169 ;;
8170 *-*solaris*)
8171 # Find out what ABI is being produced by ac_compile, and set linker
8172 # options accordingly.
8173 echo 'int i;' > conftest.$ac_ext
8174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8175 (eval $ac_compile) 2>&5
8176 ac_status=$?
8177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8178 test $ac_status = 0; }; then
8179 case `$FILECMD conftest.o` in
8180 *64-bit*)
8181 case $lt_cv_prog_gnu_ld in
8182 yes*)
8183 case $host in
8184 i?86-*-solaris*|x86_64-*-solaris*)
8185 LD="${LD-ld} -m elf_x86_64"
8186 ;;
8187 sparc*-*-solaris*)
8188 LD="${LD-ld} -m elf64_sparc"
8189 ;;
8190 esac
8191 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8192 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8193 LD=${LD-ld}_sol2
8194 fi
8195 ;;
8196 *)
8197 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8198 LD="${LD-ld} -64"
8199 fi
8200 ;;
8201 esac
8202 ;;
8203 esac
8204 fi
8205 rm -rf conftest*
8206 ;;
8207 esac
8208
8209 need_locks=$enable_libtool_lock
8210
8211 if test -n "$ac_tool_prefix"; then
8212 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8213 set dummy ${ac_tool_prefix}mt; ac_word=$2
8214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8215 printf %s "checking for $ac_word... " >&6; }
8216 if test ${ac_cv_prog_MANIFEST_TOOL+y}
8217 then :
8218 printf %s "(cached) " >&6
8219 else case e in #(
8220 e) if test -n "$MANIFEST_TOOL"; then
8221 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8222 else
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 for as_dir in $PATH
8225 do
8226 IFS=$as_save_IFS
8227 case $as_dir in #(((
8228 '') as_dir=./ ;;
8229 */) ;;
8230 *) as_dir=$as_dir/ ;;
8231 esac
8232 for ac_exec_ext in '' $ac_executable_extensions; do
8233 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8234 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8236 break 2
8237 fi
8238 done
8239 done
8240 IFS=$as_save_IFS
8241
8242 fi ;;
8243 esac
8244 fi
8245 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8246 if test -n "$MANIFEST_TOOL"; then
8247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8248 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8249 else
8250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8251 printf "%s\n" "no" >&6; }
8252 fi
8253
8254
8255 fi
8256 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8257 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8258 # Extract the first word of "mt", so it can be a program name with args.
8259 set dummy mt; ac_word=$2
8260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8261 printf %s "checking for $ac_word... " >&6; }
8262 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8263 then :
8264 printf %s "(cached) " >&6
8265 else case e in #(
8266 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
8267 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8268 else
8269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8270 for as_dir in $PATH
8271 do
8272 IFS=$as_save_IFS
8273 case $as_dir in #(((
8274 '') as_dir=./ ;;
8275 */) ;;
8276 *) as_dir=$as_dir/ ;;
8277 esac
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8280 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8282 break 2
8283 fi
8284 done
8285 done
8286 IFS=$as_save_IFS
8287
8288 fi ;;
8289 esac
8290 fi
8291 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8292 if test -n "$ac_ct_MANIFEST_TOOL"; then
8293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8294 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8295 else
8296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297 printf "%s\n" "no" >&6; }
8298 fi
8299
8300 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8301 MANIFEST_TOOL=":"
8302 else
8303 case $cross_compiling:$ac_tool_warned in
8304 yes:)
8305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8306 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8307 ac_tool_warned=yes ;;
8308 esac
8309 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8310 fi
8311 else
8312 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8313 fi
8314
8315 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8317 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8318 if test ${lt_cv_path_manifest_tool+y}
8319 then :
8320 printf %s "(cached) " >&6
8321 else case e in #(
8322 e) lt_cv_path_manifest_tool=no
8323 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8324 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8325 cat conftest.err >&5
8326 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8327 lt_cv_path_manifest_tool=yes
8328 fi
8329 rm -f conftest* ;;
8330 esac
8331 fi
8332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
8333 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
8334 if test yes != "$lt_cv_path_manifest_tool"; then
8335 MANIFEST_TOOL=:
8336 fi
8337
8338
8339
8340
8341
8342
8343 case $host_os in
8344 rhapsody* | darwin*)
8345 if test -n "$ac_tool_prefix"; then
8346 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8347 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8349 printf %s "checking for $ac_word... " >&6; }
8350 if test ${ac_cv_prog_DSYMUTIL+y}
8351 then :
8352 printf %s "(cached) " >&6
8353 else case e in #(
8354 e) if test -n "$DSYMUTIL"; then
8355 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8356 else
8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8358 for as_dir in $PATH
8359 do
8360 IFS=$as_save_IFS
8361 case $as_dir in #(((
8362 '') as_dir=./ ;;
8363 */) ;;
8364 *) as_dir=$as_dir/ ;;
8365 esac
8366 for ac_exec_ext in '' $ac_executable_extensions; do
8367 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8368 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8370 break 2
8371 fi
8372 done
8373 done
8374 IFS=$as_save_IFS
8375
8376 fi ;;
8377 esac
8378 fi
8379 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8380 if test -n "$DSYMUTIL"; then
8381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8382 printf "%s\n" "$DSYMUTIL" >&6; }
8383 else
8384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385 printf "%s\n" "no" >&6; }
8386 fi
8387
8388
8389 fi
8390 if test -z "$ac_cv_prog_DSYMUTIL"; then
8391 ac_ct_DSYMUTIL=$DSYMUTIL
8392 # Extract the first word of "dsymutil", so it can be a program name with args.
8393 set dummy dsymutil; ac_word=$2
8394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8395 printf %s "checking for $ac_word... " >&6; }
8396 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8397 then :
8398 printf %s "(cached) " >&6
8399 else case e in #(
8400 e) if test -n "$ac_ct_DSYMUTIL"; then
8401 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8402 else
8403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8404 for as_dir in $PATH
8405 do
8406 IFS=$as_save_IFS
8407 case $as_dir in #(((
8408 '') as_dir=./ ;;
8409 */) ;;
8410 *) as_dir=$as_dir/ ;;
8411 esac
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8414 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8416 break 2
8417 fi
8418 done
8419 done
8420 IFS=$as_save_IFS
8421
8422 fi ;;
8423 esac
8424 fi
8425 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8426 if test -n "$ac_ct_DSYMUTIL"; then
8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8428 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8429 else
8430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8431 printf "%s\n" "no" >&6; }
8432 fi
8433
8434 if test "x$ac_ct_DSYMUTIL" = x; then
8435 DSYMUTIL=":"
8436 else
8437 case $cross_compiling:$ac_tool_warned in
8438 yes:)
8439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8440 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8441 ac_tool_warned=yes ;;
8442 esac
8443 DSYMUTIL=$ac_ct_DSYMUTIL
8444 fi
8445 else
8446 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8447 fi
8448
8449 if test -n "$ac_tool_prefix"; then
8450 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8451 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8453 printf %s "checking for $ac_word... " >&6; }
8454 if test ${ac_cv_prog_NMEDIT+y}
8455 then :
8456 printf %s "(cached) " >&6
8457 else case e in #(
8458 e) if test -n "$NMEDIT"; then
8459 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8460 else
8461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8462 for as_dir in $PATH
8463 do
8464 IFS=$as_save_IFS
8465 case $as_dir in #(((
8466 '') as_dir=./ ;;
8467 */) ;;
8468 *) as_dir=$as_dir/ ;;
8469 esac
8470 for ac_exec_ext in '' $ac_executable_extensions; do
8471 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8472 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8474 break 2
8475 fi
8476 done
8477 done
8478 IFS=$as_save_IFS
8479
8480 fi ;;
8481 esac
8482 fi
8483 NMEDIT=$ac_cv_prog_NMEDIT
8484 if test -n "$NMEDIT"; then
8485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8486 printf "%s\n" "$NMEDIT" >&6; }
8487 else
8488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8489 printf "%s\n" "no" >&6; }
8490 fi
8491
8492
8493 fi
8494 if test -z "$ac_cv_prog_NMEDIT"; then
8495 ac_ct_NMEDIT=$NMEDIT
8496 # Extract the first word of "nmedit", so it can be a program name with args.
8497 set dummy nmedit; ac_word=$2
8498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8499 printf %s "checking for $ac_word... " >&6; }
8500 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8501 then :
8502 printf %s "(cached) " >&6
8503 else case e in #(
8504 e) if test -n "$ac_ct_NMEDIT"; then
8505 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8506 else
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8508 for as_dir in $PATH
8509 do
8510 IFS=$as_save_IFS
8511 case $as_dir in #(((
8512 '') as_dir=./ ;;
8513 */) ;;
8514 *) as_dir=$as_dir/ ;;
8515 esac
8516 for ac_exec_ext in '' $ac_executable_extensions; do
8517 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8518 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8520 break 2
8521 fi
8522 done
8523 done
8524 IFS=$as_save_IFS
8525
8526 fi ;;
8527 esac
8528 fi
8529 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8530 if test -n "$ac_ct_NMEDIT"; then
8531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8532 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8533 else
8534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 printf "%s\n" "no" >&6; }
8536 fi
8537
8538 if test "x$ac_ct_NMEDIT" = x; then
8539 NMEDIT=":"
8540 else
8541 case $cross_compiling:$ac_tool_warned in
8542 yes:)
8543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8544 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8545 ac_tool_warned=yes ;;
8546 esac
8547 NMEDIT=$ac_ct_NMEDIT
8548 fi
8549 else
8550 NMEDIT="$ac_cv_prog_NMEDIT"
8551 fi
8552
8553 if test -n "$ac_tool_prefix"; then
8554 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8555 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8557 printf %s "checking for $ac_word... " >&6; }
8558 if test ${ac_cv_prog_LIPO+y}
8559 then :
8560 printf %s "(cached) " >&6
8561 else case e in #(
8562 e) if test -n "$LIPO"; then
8563 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8564 else
8565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 for as_dir in $PATH
8567 do
8568 IFS=$as_save_IFS
8569 case $as_dir in #(((
8570 '') as_dir=./ ;;
8571 */) ;;
8572 *) as_dir=$as_dir/ ;;
8573 esac
8574 for ac_exec_ext in '' $ac_executable_extensions; do
8575 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8576 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8578 break 2
8579 fi
8580 done
8581 done
8582 IFS=$as_save_IFS
8583
8584 fi ;;
8585 esac
8586 fi
8587 LIPO=$ac_cv_prog_LIPO
8588 if test -n "$LIPO"; then
8589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8590 printf "%s\n" "$LIPO" >&6; }
8591 else
8592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593 printf "%s\n" "no" >&6; }
8594 fi
8595
8596
8597 fi
8598 if test -z "$ac_cv_prog_LIPO"; then
8599 ac_ct_LIPO=$LIPO
8600 # Extract the first word of "lipo", so it can be a program name with args.
8601 set dummy lipo; ac_word=$2
8602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8603 printf %s "checking for $ac_word... " >&6; }
8604 if test ${ac_cv_prog_ac_ct_LIPO+y}
8605 then :
8606 printf %s "(cached) " >&6
8607 else case e in #(
8608 e) if test -n "$ac_ct_LIPO"; then
8609 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8610 else
8611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612 for as_dir in $PATH
8613 do
8614 IFS=$as_save_IFS
8615 case $as_dir in #(((
8616 '') as_dir=./ ;;
8617 */) ;;
8618 *) as_dir=$as_dir/ ;;
8619 esac
8620 for ac_exec_ext in '' $ac_executable_extensions; do
8621 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8622 ac_cv_prog_ac_ct_LIPO="lipo"
8623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8624 break 2
8625 fi
8626 done
8627 done
8628 IFS=$as_save_IFS
8629
8630 fi ;;
8631 esac
8632 fi
8633 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8634 if test -n "$ac_ct_LIPO"; then
8635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8636 printf "%s\n" "$ac_ct_LIPO" >&6; }
8637 else
8638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8639 printf "%s\n" "no" >&6; }
8640 fi
8641
8642 if test "x$ac_ct_LIPO" = x; then
8643 LIPO=":"
8644 else
8645 case $cross_compiling:$ac_tool_warned in
8646 yes:)
8647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8648 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8649 ac_tool_warned=yes ;;
8650 esac
8651 LIPO=$ac_ct_LIPO
8652 fi
8653 else
8654 LIPO="$ac_cv_prog_LIPO"
8655 fi
8656
8657 if test -n "$ac_tool_prefix"; then
8658 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8659 set dummy ${ac_tool_prefix}otool; ac_word=$2
8660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8661 printf %s "checking for $ac_word... " >&6; }
8662 if test ${ac_cv_prog_OTOOL+y}
8663 then :
8664 printf %s "(cached) " >&6
8665 else case e in #(
8666 e) if test -n "$OTOOL"; then
8667 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8668 else
8669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8670 for as_dir in $PATH
8671 do
8672 IFS=$as_save_IFS
8673 case $as_dir in #(((
8674 '') as_dir=./ ;;
8675 */) ;;
8676 *) as_dir=$as_dir/ ;;
8677 esac
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8680 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8682 break 2
8683 fi
8684 done
8685 done
8686 IFS=$as_save_IFS
8687
8688 fi ;;
8689 esac
8690 fi
8691 OTOOL=$ac_cv_prog_OTOOL
8692 if test -n "$OTOOL"; then
8693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8694 printf "%s\n" "$OTOOL" >&6; }
8695 else
8696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8697 printf "%s\n" "no" >&6; }
8698 fi
8699
8700
8701 fi
8702 if test -z "$ac_cv_prog_OTOOL"; then
8703 ac_ct_OTOOL=$OTOOL
8704 # Extract the first word of "otool", so it can be a program name with args.
8705 set dummy otool; ac_word=$2
8706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707 printf %s "checking for $ac_word... " >&6; }
8708 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8709 then :
8710 printf %s "(cached) " >&6
8711 else case e in #(
8712 e) if test -n "$ac_ct_OTOOL"; then
8713 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8714 else
8715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8716 for as_dir in $PATH
8717 do
8718 IFS=$as_save_IFS
8719 case $as_dir in #(((
8720 '') as_dir=./ ;;
8721 */) ;;
8722 *) as_dir=$as_dir/ ;;
8723 esac
8724 for ac_exec_ext in '' $ac_executable_extensions; do
8725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8726 ac_cv_prog_ac_ct_OTOOL="otool"
8727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8728 break 2
8729 fi
8730 done
8731 done
8732 IFS=$as_save_IFS
8733
8734 fi ;;
8735 esac
8736 fi
8737 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8738 if test -n "$ac_ct_OTOOL"; then
8739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8740 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8741 else
8742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8743 printf "%s\n" "no" >&6; }
8744 fi
8745
8746 if test "x$ac_ct_OTOOL" = x; then
8747 OTOOL=":"
8748 else
8749 case $cross_compiling:$ac_tool_warned in
8750 yes:)
8751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8753 ac_tool_warned=yes ;;
8754 esac
8755 OTOOL=$ac_ct_OTOOL
8756 fi
8757 else
8758 OTOOL="$ac_cv_prog_OTOOL"
8759 fi
8760
8761 if test -n "$ac_tool_prefix"; then
8762 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8763 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8765 printf %s "checking for $ac_word... " >&6; }
8766 if test ${ac_cv_prog_OTOOL64+y}
8767 then :
8768 printf %s "(cached) " >&6
8769 else case e in #(
8770 e) if test -n "$OTOOL64"; then
8771 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8772 else
8773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8774 for as_dir in $PATH
8775 do
8776 IFS=$as_save_IFS
8777 case $as_dir in #(((
8778 '') as_dir=./ ;;
8779 */) ;;
8780 *) as_dir=$as_dir/ ;;
8781 esac
8782 for ac_exec_ext in '' $ac_executable_extensions; do
8783 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8784 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8786 break 2
8787 fi
8788 done
8789 done
8790 IFS=$as_save_IFS
8791
8792 fi ;;
8793 esac
8794 fi
8795 OTOOL64=$ac_cv_prog_OTOOL64
8796 if test -n "$OTOOL64"; then
8797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8798 printf "%s\n" "$OTOOL64" >&6; }
8799 else
8800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8801 printf "%s\n" "no" >&6; }
8802 fi
8803
8804
8805 fi
8806 if test -z "$ac_cv_prog_OTOOL64"; then
8807 ac_ct_OTOOL64=$OTOOL64
8808 # Extract the first word of "otool64", so it can be a program name with args.
8809 set dummy otool64; ac_word=$2
8810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8811 printf %s "checking for $ac_word... " >&6; }
8812 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8813 then :
8814 printf %s "(cached) " >&6
8815 else case e in #(
8816 e) if test -n "$ac_ct_OTOOL64"; then
8817 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8818 else
8819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8820 for as_dir in $PATH
8821 do
8822 IFS=$as_save_IFS
8823 case $as_dir in #(((
8824 '') as_dir=./ ;;
8825 */) ;;
8826 *) as_dir=$as_dir/ ;;
8827 esac
8828 for ac_exec_ext in '' $ac_executable_extensions; do
8829 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8830 ac_cv_prog_ac_ct_OTOOL64="otool64"
8831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8832 break 2
8833 fi
8834 done
8835 done
8836 IFS=$as_save_IFS
8837
8838 fi ;;
8839 esac
8840 fi
8841 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8842 if test -n "$ac_ct_OTOOL64"; then
8843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8844 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8845 else
8846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 printf "%s\n" "no" >&6; }
8848 fi
8849
8850 if test "x$ac_ct_OTOOL64" = x; then
8851 OTOOL64=":"
8852 else
8853 case $cross_compiling:$ac_tool_warned in
8854 yes:)
8855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8856 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8857 ac_tool_warned=yes ;;
8858 esac
8859 OTOOL64=$ac_ct_OTOOL64
8860 fi
8861 else
8862 OTOOL64="$ac_cv_prog_OTOOL64"
8863 fi
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8892 printf %s "checking for -single_module linker flag... " >&6; }
8893 if test ${lt_cv_apple_cc_single_mod+y}
8894 then :
8895 printf %s "(cached) " >&6
8896 else case e in #(
8897 e) lt_cv_apple_cc_single_mod=no
8898 if test -z "$LT_MULTI_MODULE"; then
8899 # By default we will add the -single_module flag. You can override
8900 # by either setting the environment variable LT_MULTI_MODULE
8901 # non-empty at configure time, or by adding -multi_module to the
8902 # link flags.
8903 rm -rf libconftest.dylib*
8904 echo "int foo(void){return 1;}" > conftest.c
8905 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8906 -dynamiclib -Wl,-single_module conftest.c" >&5
8907 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8908 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8909 _lt_result=$?
8910 # If there is a non-empty error log, and "single_module"
8911 # appears in it, assume the flag caused a linker warning
8912 if test -s conftest.err && $GREP single_module conftest.err; then
8913 cat conftest.err >&5
8914 # Otherwise, if the output was created with a 0 exit code from
8915 # the compiler, it worked.
8916 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8917 lt_cv_apple_cc_single_mod=yes
8918 else
8919 cat conftest.err >&5
8920 fi
8921 rm -rf libconftest.dylib*
8922 rm -f conftest.*
8923 fi ;;
8924 esac
8925 fi
8926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8927 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8928
8929 # Feature test to disable chained fixups since it is not
8930 # compatible with '-undefined dynamic_lookup'
8931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
8932 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
8933 if test ${lt_cv_support_no_fixup_chains+y}
8934 then :
8935 printf %s "(cached) " >&6
8936 else case e in #(
8937 e) save_LDFLAGS=$LDFLAGS
8938 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
8939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8940 /* end confdefs.h. */
8941
8942 int
8943 main (void)
8944 {
8945
8946 ;
8947 return 0;
8948 }
8949 _ACEOF
8950 if ac_fn_c_try_link "$LINENO"
8951 then :
8952 lt_cv_support_no_fixup_chains=yes
8953 else case e in #(
8954 e) lt_cv_support_no_fixup_chains=no
8955 ;;
8956 esac
8957 fi
8958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8959 conftest$ac_exeext conftest.$ac_ext
8960 LDFLAGS=$save_LDFLAGS
8961
8962 ;;
8963 esac
8964 fi
8965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
8966 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
8967
8968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8969 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8970 if test ${lt_cv_ld_exported_symbols_list+y}
8971 then :
8972 printf %s "(cached) " >&6
8973 else case e in #(
8974 e) lt_cv_ld_exported_symbols_list=no
8975 save_LDFLAGS=$LDFLAGS
8976 echo "_main" > conftest.sym
8977 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8979 /* end confdefs.h. */
8980
8981 int
8982 main (void)
8983 {
8984
8985 ;
8986 return 0;
8987 }
8988 _ACEOF
8989 if ac_fn_c_try_link "$LINENO"
8990 then :
8991 lt_cv_ld_exported_symbols_list=yes
8992 else case e in #(
8993 e) lt_cv_ld_exported_symbols_list=no ;;
8994 esac
8995 fi
8996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8997 conftest$ac_exeext conftest.$ac_ext
8998 LDFLAGS=$save_LDFLAGS
8999 ;;
9000 esac
9001 fi
9002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9003 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
9004
9005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9006 printf %s "checking for -force_load linker flag... " >&6; }
9007 if test ${lt_cv_ld_force_load+y}
9008 then :
9009 printf %s "(cached) " >&6
9010 else case e in #(
9011 e) lt_cv_ld_force_load=no
9012 cat > conftest.c << _LT_EOF
9013 int forced_loaded() { return 2;}
9014 _LT_EOF
9015 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9016 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9017 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
9018 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
9019 echo "$RANLIB libconftest.a" >&5
9020 $RANLIB libconftest.a 2>&5
9021 cat > conftest.c << _LT_EOF
9022 int main(void) { return 0;}
9023 _LT_EOF
9024 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9025 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9026 _lt_result=$?
9027 if test -s conftest.err && $GREP force_load conftest.err; then
9028 cat conftest.err >&5
9029 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9030 lt_cv_ld_force_load=yes
9031 else
9032 cat conftest.err >&5
9033 fi
9034 rm -f conftest.err libconftest.a conftest conftest.c
9035 rm -rf conftest.dSYM
9036 ;;
9037 esac
9038 fi
9039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9040 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
9041 case $host_os in
9042 rhapsody* | darwin1.[012])
9043 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9044 darwin1.*)
9045 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9046 darwin*)
9047 case $MACOSX_DEPLOYMENT_TARGET,$host in
9048 10.[012],*|,*powerpc*-darwin[5-8]*)
9049 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9050 *)
9051 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
9052 if test yes = "$lt_cv_support_no_fixup_chains"; then
9053 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
9054 fi
9055 ;;
9056 esac
9057 ;;
9058 esac
9059 if test yes = "$lt_cv_apple_cc_single_mod"; then
9060 _lt_dar_single_mod='$single_module'
9061 fi
9062 _lt_dar_needs_single_mod=no
9063 case $host_os in
9064 rhapsody* | darwin1.*)
9065 _lt_dar_needs_single_mod=yes ;;
9066 darwin*)
9067 # When targeting Mac OS X 10.4 (darwin 8) or later,
9068 # -single_module is the default and -multi_module is unsupported.
9069 # The toolchain on macOS 10.14 (darwin 18) and later cannot
9070 # target any OS version that needs -single_module.
9071 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9072 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
9073 _lt_dar_needs_single_mod=yes ;;
9074 esac
9075 ;;
9076 esac
9077 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9078 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9079 else
9080 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9081 fi
9082 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9083 _lt_dsymutil='~$DSYMUTIL $lib || :'
9084 else
9085 _lt_dsymutil=
9086 fi
9087 ;;
9088 esac
9089
9090 # func_munge_path_list VARIABLE PATH
9091 # -----------------------------------
9092 # VARIABLE is name of variable containing _space_ separated list of
9093 # directories to be munged by the contents of PATH, which is string
9094 # having a format:
9095 # "DIR[:DIR]:"
9096 # string "DIR[ DIR]" will be prepended to VARIABLE
9097 # ":DIR[:DIR]"
9098 # string "DIR[ DIR]" will be appended to VARIABLE
9099 # "DIRP[:DIRP]::[DIRA:]DIRA"
9100 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9101 # "DIRA[ DIRA]" will be appended to VARIABLE
9102 # "DIR[:DIR]"
9103 # VARIABLE will be replaced by "DIR[ DIR]"
9104 func_munge_path_list ()
9105 {
9106 case x$2 in
9107 x)
9108 ;;
9109 *:)
9110 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9111 ;;
9112 x:*)
9113 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9114 ;;
9115 *::*)
9116 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9117 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9118 ;;
9119 *)
9120 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9121 ;;
9122 esac
9123 }
9124
9125 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9126 "
9127 if test "x$ac_cv_header_dlfcn_h" = xyes
9128 then :
9129 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
9130
9131 fi
9132
9133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
9134 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
9135 if test ${ac_cv_c_undeclared_builtin_options+y}
9136 then :
9137 printf %s "(cached) " >&6
9138 else case e in #(
9139 e) ac_save_CFLAGS=$CFLAGS
9140 ac_cv_c_undeclared_builtin_options='cannot detect'
9141 for ac_arg in '' -fno-builtin; do
9142 CFLAGS="$ac_save_CFLAGS $ac_arg"
9143 # This test program should *not* compile successfully.
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146
9147 int
9148 main (void)
9149 {
9150 (void) strchr;
9151 ;
9152 return 0;
9153 }
9154 _ACEOF
9155 if ac_fn_c_try_compile "$LINENO"
9156 then :
9157
9158 else case e in #(
9159 e) # This test program should compile successfully.
9160 # No library function is consistently available on
9161 # freestanding implementations, so test against a dummy
9162 # declaration. Include always-available headers on the
9163 # off chance that they somehow elicit warnings.
9164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9166 #include <float.h>
9167 #include <limits.h>
9168 #include <stdarg.h>
9169 #include <stddef.h>
9170 extern void ac_decl (int, char *);
9171
9172 int
9173 main (void)
9174 {
9175 (void) ac_decl (0, (char *) 0);
9176 (void) ac_decl;
9177
9178 ;
9179 return 0;
9180 }
9181 _ACEOF
9182 if ac_fn_c_try_compile "$LINENO"
9183 then :
9184 if test x"$ac_arg" = x
9185 then :
9186 ac_cv_c_undeclared_builtin_options='none needed'
9187 else case e in #(
9188 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
9189 esac
9190 fi
9191 break
9192 fi
9193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
9194 esac
9195 fi
9196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9197 done
9198 CFLAGS=$ac_save_CFLAGS
9199 ;;
9200 esac
9201 fi
9202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
9203 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
9204 case $ac_cv_c_undeclared_builtin_options in #(
9205 'cannot detect') :
9206 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
9207 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
9208 as_fn_error $? "cannot make $CC report undeclared builtins
9209 See 'config.log' for more details" "$LINENO" 5; } ;; #(
9210 'none needed') :
9211 ac_c_undeclared_builtin_options='' ;; #(
9212 *) :
9213 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
9214 esac
9215
9216 echo 'tldbg:KPSE_COMMON called (pkg=dviljk, amopt=no-define)' >&5
9217 echo 'tldbg:KPSE_BASIC called (pkg=dviljk, amopt=no-define)' >&5
9218
9219 #
9220 # am_init_automake
9221 if test "`cd $srcdir && pwd`" != "`pwd`"; then
9222 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9223 # is not polluted with repeated "-I."
9224 am__isrc=' -I$(srcdir)'
9225 # test to see if srcdir already configured
9226 if test -f $srcdir/config.status; then
9227 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
9228 fi
9229 fi
9230
9231 # test whether we have cygpath
9232 if test -z "$CYGPATH_W"; then
9233 if (cygpath --version) >/dev/null 2>/dev/null; then
9234 CYGPATH_W='cygpath -w'
9235 else
9236 CYGPATH_W=echo
9237 fi
9238 fi
9239
9240
9241 # Define the identity of the package.
9242 PACKAGE='dviljk--tex-live-'
9243 VERSION='2.6p5'
9244
9245
9246 # Some tools Automake needs.
9247
9248 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9249
9250
9251 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9252
9253
9254 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9255
9256
9257 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9258
9259
9260 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9261
9262 # For better backward compatibility. To be removed once Automake 1.9.x
9263 # dies out for good. For more background, see:
9264 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9265 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9266 mkdir_p='$(MKDIR_P)'
9267
9268 # We need awk for the "check" target (and possibly the TAP driver). The
9269 # system "awk" is bad on some platforms.
9270 # Always define AMTAR for backward compatibility. Yes, it's still used
9271 # in the wild :-( We should find a proper way to deprecate it ...
9272 AMTAR='$${TAR-tar}'
9273
9274
9275 # We'll loop over all known methods to create a tar archive until one works.
9276 _am_tools='gnutar plaintar pax cpio none'
9277
9278 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
9279 # There is notably a 21 bits limit for the UID and the GID. In fact,
9280 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
9281 # and bug#13588).
9282 am_max_uid=2097151 # 2^21 - 1
9283 am_max_gid=$am_max_uid
9284 # The $UID and $GID variables are not portable, so we need to resort
9285 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
9286 # below are definitely unexpected, so allow the users to see them
9287 # (that is, avoid stderr redirection).
9288 am_uid=`id -u || echo unknown`
9289 am_gid=`id -g || echo unknown`
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
9291 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
9292 if test x$am_uid = xunknown; then
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
9294 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
9295 elif test $am_uid -le $am_max_uid; then
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9297 printf "%s\n" "yes" >&6; }
9298 else
9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 printf "%s\n" "no" >&6; }
9301 _am_tools=none
9302 fi
9303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
9304 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
9305 if test x$gm_gid = xunknown; then
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
9307 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
9308 elif test $am_gid -le $am_max_gid; then
9309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9310 printf "%s\n" "yes" >&6; }
9311 else
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9313 printf "%s\n" "no" >&6; }
9314 _am_tools=none
9315 fi
9316
9317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
9318 printf %s "checking how to create a ustar tar archive... " >&6; }
9319
9320 # Go ahead even if we have the value already cached. We do so because we
9321 # need to set the values for the 'am__tar' and 'am__untar' variables.
9322 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
9323
9324 for _am_tool in $_am_tools; do
9325 case $_am_tool in
9326 gnutar)
9327 for _am_tar in tar gnutar gtar; do
9328 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9329 ($_am_tar --version) >&5 2>&5
9330 ac_status=$?
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } && break
9333 done
9334 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
9335 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
9336 am__untar="$_am_tar -xf -"
9337 ;;
9338 plaintar)
9339 # Must skip GNU tar: if it does not support --format= it doesn't create
9340 # ustar tarball either.
9341 (tar --version) >/dev/null 2>&1 && continue
9342 am__tar='tar chf - "$$tardir"'
9343 am__tar_='tar chf - "$tardir"'
9344 am__untar='tar xf -'
9345 ;;
9346 pax)
9347 am__tar='pax -L -x ustar -w "$$tardir"'
9348 am__tar_='pax -L -x ustar -w "$tardir"'
9349 am__untar='pax -r'
9350 ;;
9351 cpio)
9352 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
9353 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
9354 am__untar='cpio -i -H ustar -d'
9355 ;;
9356 none)
9357 am__tar=false
9358 am__tar_=false
9359 am__untar=false
9360 ;;
9361 esac
9362
9363 # If the value was cached, stop now. We just wanted to have am__tar
9364 # and am__untar set.
9365 test -n "${am_cv_prog_tar_ustar}" && break
9366
9367 # tar/untar a dummy directory, and stop if the command works.
9368 rm -rf conftest.dir
9369 mkdir conftest.dir
9370 echo GrepMe > conftest.dir/file
9371 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9372 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
9373 ac_status=$?
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); }
9376 rm -rf conftest.dir
9377 if test -s conftest.tar; then
9378 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9379 ($am__untar <conftest.tar) >&5 2>&5
9380 ac_status=$?
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); }
9383 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9384 (cat conftest.dir/file) >&5 2>&5
9385 ac_status=$?
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); }
9388 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9389 fi
9390 done
9391 rm -rf conftest.dir
9392
9393 if test ${am_cv_prog_tar_ustar+y}
9394 then :
9395 printf %s "(cached) " >&6
9396 else case e in #(
9397 e) am_cv_prog_tar_ustar=$_am_tool ;;
9398 esac
9399 fi
9400
9401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
9402 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
9403
9404
9405
9406
9407
9408 # Variables for tags utilities; see am/tags.am
9409 if test -z "$CTAGS"; then
9410 CTAGS=ctags
9411 fi
9412
9413 if test -z "$ETAGS"; then
9414 ETAGS=etags
9415 fi
9416
9417 if test -z "$CSCOPE"; then
9418 CSCOPE=cscope
9419 fi
9420
9421
9422
9423
9424
9425
9426
9427
9428 # am_maintainer_mode
9429
9430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9431 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9432 # Check whether --enable-maintainer-mode was given.
9433 if test ${enable_maintainer_mode+y}
9434 then :
9435 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9436 else case e in #(
9437 e) USE_MAINTAINER_MODE=no ;;
9438 esac
9439 fi
9440
9441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9442 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
9443 if test $USE_MAINTAINER_MODE = yes; then
9444 MAINTAINER_MODE_TRUE=
9445 MAINTAINER_MODE_FALSE='#'
9446 else
9447 MAINTAINER_MODE_TRUE='#'
9448 MAINTAINER_MODE_FALSE=
9449 fi
9450
9451 MAINT=$MAINTAINER_MODE_TRUE
9452
9453
9454
9455 # See comments in kpse-setup.m4 about system extensions.
9456
9457
9458 # Check whether prototypes work.
9459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9460 printf %s "checking whether the compiler accepts prototypes... " >&6; }
9461 if test ${kb_cv_c_prototypes+y}
9462 then :
9463 printf %s "(cached) " >&6
9464 else case e in #(
9465 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9467 #include <stdarg.h>
9468 int
9469 main (void)
9470 {
9471 extern void foo(int i,...);
9472 ;
9473 return 0;
9474 }
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"
9477 then :
9478 kb_cv_c_prototypes=yes
9479 else case e in #(
9480 e) kb_cv_c_prototypes=no ;;
9481 esac
9482 fi
9483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9484 conftest$ac_exeext conftest.$ac_ext ;;
9485 esac
9486 fi
9487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9488 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
9489 if test "x$kb_cv_c_prototypes" = xno; then
9490 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
9491 fi
9492
9493 # kpse_compiler_warnings options.
9494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9495 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
9496 if test ${kpse_cv_warning_cflags+y}
9497 then :
9498 printf %s "(cached) " >&6
9499 else case e in #(
9500 e) if test "x$GCC" = xyes; then
9501 kpse_cv_warning_cflags=
9502 if test "x$enable_compiler_warnings" != xno; then
9503 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
9504 case `$CC -dumpversion` in #(
9505 3.4.* | 4.* | 5.*) :
9506 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9507 *) :
9508 ;;
9509 esac
9510 case `$CC -dumpversion` in #(
9511 3.[234].* | 4.* | 5.*) :
9512 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9513 *) :
9514 ;;
9515 esac
9516 if test "x$enable_compiler_warnings" != xmin; then
9517 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
9518 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9519 if test "x$enable_compiler_warnings" != xyes; then
9520 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9521 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9522 case `$CC -dumpversion` in #(
9523 3.4.* | 4.* | 5.*) :
9524 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9525 *) :
9526 ;;
9527 esac
9528 if test "x$enable_compiler_warnings" != xmax; then
9529 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
9530 fi
9531 fi
9532 fi
9533 fi
9534 elif test "x$enable_compiler_warnings" = xno; then
9535 kpse_cv_warning_cflags=
9536 else
9537 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
9538 fi ;;
9539 esac
9540 fi
9541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9542 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
9543 WARNING_CFLAGS=$kpse_cv_warning_cflags
9544
9545
9546
9547
9548
9549
9550
9551 # end of kpse_basic macro.
9552 echo 'tldbg:KPSE_BASIC done (pkg=dviljk, amopt=no-define)' >&5
9553
9554 # am_prog_ar must be called before lt_init.
9555
9556 if test -n "$ac_tool_prefix"; then
9557 for ac_prog in ar lib "link -lib"
9558 do
9559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9560 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9562 printf %s "checking for $ac_word... " >&6; }
9563 if test ${ac_cv_prog_AR+y}
9564 then :
9565 printf %s "(cached) " >&6
9566 else case e in #(
9567 e) if test -n "$AR"; then
9568 ac_cv_prog_AR="$AR" # Let the user override the test.
9569 else
9570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9571 for as_dir in $PATH
9572 do
9573 IFS=$as_save_IFS
9574 case $as_dir in #(((
9575 '') as_dir=./ ;;
9576 */) ;;
9577 *) as_dir=$as_dir/ ;;
9578 esac
9579 for ac_exec_ext in '' $ac_executable_extensions; do
9580 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9581 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9583 break 2
9584 fi
9585 done
9586 done
9587 IFS=$as_save_IFS
9588
9589 fi ;;
9590 esac
9591 fi
9592 AR=$ac_cv_prog_AR
9593 if test -n "$AR"; then
9594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9595 printf "%s\n" "$AR" >&6; }
9596 else
9597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9598 printf "%s\n" "no" >&6; }
9599 fi
9600
9601
9602 test -n "$AR" && break
9603 done
9604 fi
9605 if test -z "$AR"; then
9606 ac_ct_AR=$AR
9607 for ac_prog in ar lib "link -lib"
9608 do
9609 # Extract the first word of "$ac_prog", so it can be a program name with args.
9610 set dummy $ac_prog; ac_word=$2
9611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9612 printf %s "checking for $ac_word... " >&6; }
9613 if test ${ac_cv_prog_ac_ct_AR+y}
9614 then :
9615 printf %s "(cached) " >&6
9616 else case e in #(
9617 e) if test -n "$ac_ct_AR"; then
9618 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9619 else
9620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9621 for as_dir in $PATH
9622 do
9623 IFS=$as_save_IFS
9624 case $as_dir in #(((
9625 '') as_dir=./ ;;
9626 */) ;;
9627 *) as_dir=$as_dir/ ;;
9628 esac
9629 for ac_exec_ext in '' $ac_executable_extensions; do
9630 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9631 ac_cv_prog_ac_ct_AR="$ac_prog"
9632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9633 break 2
9634 fi
9635 done
9636 done
9637 IFS=$as_save_IFS
9638
9639 fi ;;
9640 esac
9641 fi
9642 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9643 if test -n "$ac_ct_AR"; then
9644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9645 printf "%s\n" "$ac_ct_AR" >&6; }
9646 else
9647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9648 printf "%s\n" "no" >&6; }
9649 fi
9650
9651
9652 test -n "$ac_ct_AR" && break
9653 done
9654
9655 if test "x$ac_ct_AR" = x; then
9656 AR="false"
9657 else
9658 case $cross_compiling:$ac_tool_warned in
9659 yes:)
9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9661 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9662 ac_tool_warned=yes ;;
9663 esac
9664 AR=$ac_ct_AR
9665 fi
9666 fi
9667
9668 : ${AR=ar}
9669 : ${ARFLAGS=cr}
9670
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
9672 printf %s "checking the archiver ($AR) interface... " >&6; }
9673 if test ${am_cv_ar_interface+y}
9674 then :
9675 printf %s "(cached) " >&6
9676 else case e in #(
9677 e) ac_ext=c
9678 ac_cpp='$CPP $CPPFLAGS'
9679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9682
9683 am_cv_ar_interface=ar
9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9686 int some_variable = 0;
9687 _ACEOF
9688 if ac_fn_c_try_compile "$LINENO"
9689 then :
9690 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
9691 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9692 (eval $am_ar_try) 2>&5
9693 ac_status=$?
9694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9695 test $ac_status = 0; }
9696 if test "$ac_status" -eq 0; then
9697 am_cv_ar_interface=ar
9698 else
9699 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
9700 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9701 (eval $am_ar_try) 2>&5
9702 ac_status=$?
9703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9704 test $ac_status = 0; }
9705 if test "$ac_status" -eq 0; then
9706 am_cv_ar_interface=lib
9707 else
9708 am_cv_ar_interface=unknown
9709 fi
9710 fi
9711 rm -f conftest.lib libconftest.a
9712
9713 fi
9714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9715 ac_ext=c
9716 ac_cpp='$CPP $CPPFLAGS'
9717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9720 ;;
9721 esac
9722 fi
9723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
9724 printf "%s\n" "$am_cv_ar_interface" >&6; }
9725
9726 case $am_cv_ar_interface in
9727 ar)
9728 ;;
9729 lib)
9730 # Microsoft lib, so override with the ar-lib wrapper script.
9731 # FIXME: It is wrong to rewrite AR.
9732 # But if we don't then we get into trouble of one sort or another.
9733 # A longer-term fix would be to have automake use am__AR in this case,
9734 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9735 # similar.
9736 AR="$am_aux_dir/ar-lib $AR"
9737 ;;
9738 unknown)
9739 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
9740 ;;
9741 esac
9742
9743 # (end am_prog_ar)
9744 # starting lt_prereq + lt_init.
9745
9746
9747
9748
9749
9750 # Set options
9751 enable_win32_dll=yes
9752
9753 case $host in
9754 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
9755 if test -n "$ac_tool_prefix"; then
9756 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9757 set dummy ${ac_tool_prefix}as; ac_word=$2
9758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9759 printf %s "checking for $ac_word... " >&6; }
9760 if test ${ac_cv_prog_AS+y}
9761 then :
9762 printf %s "(cached) " >&6
9763 else case e in #(
9764 e) if test -n "$AS"; then
9765 ac_cv_prog_AS="$AS" # Let the user override the test.
9766 else
9767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9768 for as_dir in $PATH
9769 do
9770 IFS=$as_save_IFS
9771 case $as_dir in #(((
9772 '') as_dir=./ ;;
9773 */) ;;
9774 *) as_dir=$as_dir/ ;;
9775 esac
9776 for ac_exec_ext in '' $ac_executable_extensions; do
9777 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9778 ac_cv_prog_AS="${ac_tool_prefix}as"
9779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9780 break 2
9781 fi
9782 done
9783 done
9784 IFS=$as_save_IFS
9785
9786 fi ;;
9787 esac
9788 fi
9789 AS=$ac_cv_prog_AS
9790 if test -n "$AS"; then
9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9792 printf "%s\n" "$AS" >&6; }
9793 else
9794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9795 printf "%s\n" "no" >&6; }
9796 fi
9797
9798
9799 fi
9800 if test -z "$ac_cv_prog_AS"; then
9801 ac_ct_AS=$AS
9802 # Extract the first word of "as", so it can be a program name with args.
9803 set dummy as; ac_word=$2
9804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9805 printf %s "checking for $ac_word... " >&6; }
9806 if test ${ac_cv_prog_ac_ct_AS+y}
9807 then :
9808 printf %s "(cached) " >&6
9809 else case e in #(
9810 e) if test -n "$ac_ct_AS"; then
9811 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9812 else
9813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9814 for as_dir in $PATH
9815 do
9816 IFS=$as_save_IFS
9817 case $as_dir in #(((
9818 '') as_dir=./ ;;
9819 */) ;;
9820 *) as_dir=$as_dir/ ;;
9821 esac
9822 for ac_exec_ext in '' $ac_executable_extensions; do
9823 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9824 ac_cv_prog_ac_ct_AS="as"
9825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9826 break 2
9827 fi
9828 done
9829 done
9830 IFS=$as_save_IFS
9831
9832 fi ;;
9833 esac
9834 fi
9835 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9836 if test -n "$ac_ct_AS"; then
9837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9838 printf "%s\n" "$ac_ct_AS" >&6; }
9839 else
9840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9841 printf "%s\n" "no" >&6; }
9842 fi
9843
9844 if test "x$ac_ct_AS" = x; then
9845 AS="false"
9846 else
9847 case $cross_compiling:$ac_tool_warned in
9848 yes:)
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9850 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9851 ac_tool_warned=yes ;;
9852 esac
9853 AS=$ac_ct_AS
9854 fi
9855 else
9856 AS="$ac_cv_prog_AS"
9857 fi
9858
9859 if test -n "$ac_tool_prefix"; then
9860 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9861 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9863 printf %s "checking for $ac_word... " >&6; }
9864 if test ${ac_cv_prog_DLLTOOL+y}
9865 then :
9866 printf %s "(cached) " >&6
9867 else case e in #(
9868 e) if test -n "$DLLTOOL"; then
9869 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9870 else
9871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9872 for as_dir in $PATH
9873 do
9874 IFS=$as_save_IFS
9875 case $as_dir in #(((
9876 '') as_dir=./ ;;
9877 */) ;;
9878 *) as_dir=$as_dir/ ;;
9879 esac
9880 for ac_exec_ext in '' $ac_executable_extensions; do
9881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9882 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9884 break 2
9885 fi
9886 done
9887 done
9888 IFS=$as_save_IFS
9889
9890 fi ;;
9891 esac
9892 fi
9893 DLLTOOL=$ac_cv_prog_DLLTOOL
9894 if test -n "$DLLTOOL"; then
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9896 printf "%s\n" "$DLLTOOL" >&6; }
9897 else
9898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9899 printf "%s\n" "no" >&6; }
9900 fi
9901
9902
9903 fi
9904 if test -z "$ac_cv_prog_DLLTOOL"; then
9905 ac_ct_DLLTOOL=$DLLTOOL
9906 # Extract the first word of "dlltool", so it can be a program name with args.
9907 set dummy dlltool; ac_word=$2
9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9909 printf %s "checking for $ac_word... " >&6; }
9910 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9911 then :
9912 printf %s "(cached) " >&6
9913 else case e in #(
9914 e) if test -n "$ac_ct_DLLTOOL"; then
9915 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9916 else
9917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9918 for as_dir in $PATH
9919 do
9920 IFS=$as_save_IFS
9921 case $as_dir in #(((
9922 '') as_dir=./ ;;
9923 */) ;;
9924 *) as_dir=$as_dir/ ;;
9925 esac
9926 for ac_exec_ext in '' $ac_executable_extensions; do
9927 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9928 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9930 break 2
9931 fi
9932 done
9933 done
9934 IFS=$as_save_IFS
9935
9936 fi ;;
9937 esac
9938 fi
9939 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9940 if test -n "$ac_ct_DLLTOOL"; then
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9942 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9943 else
9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9945 printf "%s\n" "no" >&6; }
9946 fi
9947
9948 if test "x$ac_ct_DLLTOOL" = x; then
9949 DLLTOOL="false"
9950 else
9951 case $cross_compiling:$ac_tool_warned in
9952 yes:)
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9954 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9955 ac_tool_warned=yes ;;
9956 esac
9957 DLLTOOL=$ac_ct_DLLTOOL
9958 fi
9959 else
9960 DLLTOOL="$ac_cv_prog_DLLTOOL"
9961 fi
9962
9963 if test -n "$ac_tool_prefix"; then
9964 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9965 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9967 printf %s "checking for $ac_word... " >&6; }
9968 if test ${ac_cv_prog_OBJDUMP+y}
9969 then :
9970 printf %s "(cached) " >&6
9971 else case e in #(
9972 e) if test -n "$OBJDUMP"; then
9973 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9974 else
9975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9976 for as_dir in $PATH
9977 do
9978 IFS=$as_save_IFS
9979 case $as_dir in #(((
9980 '') as_dir=./ ;;
9981 */) ;;
9982 *) as_dir=$as_dir/ ;;
9983 esac
9984 for ac_exec_ext in '' $ac_executable_extensions; do
9985 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9986 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9988 break 2
9989 fi
9990 done
9991 done
9992 IFS=$as_save_IFS
9993
9994 fi ;;
9995 esac
9996 fi
9997 OBJDUMP=$ac_cv_prog_OBJDUMP
9998 if test -n "$OBJDUMP"; then
9999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
10000 printf "%s\n" "$OBJDUMP" >&6; }
10001 else
10002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10003 printf "%s\n" "no" >&6; }
10004 fi
10005
10006
10007 fi
10008 if test -z "$ac_cv_prog_OBJDUMP"; then
10009 ac_ct_OBJDUMP=$OBJDUMP
10010 # Extract the first word of "objdump", so it can be a program name with args.
10011 set dummy objdump; ac_word=$2
10012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10013 printf %s "checking for $ac_word... " >&6; }
10014 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
10015 then :
10016 printf %s "(cached) " >&6
10017 else case e in #(
10018 e) if test -n "$ac_ct_OBJDUMP"; then
10019 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
10020 else
10021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10022 for as_dir in $PATH
10023 do
10024 IFS=$as_save_IFS
10025 case $as_dir in #(((
10026 '') as_dir=./ ;;
10027 */) ;;
10028 *) as_dir=$as_dir/ ;;
10029 esac
10030 for ac_exec_ext in '' $ac_executable_extensions; do
10031 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10032 ac_cv_prog_ac_ct_OBJDUMP="objdump"
10033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10034 break 2
10035 fi
10036 done
10037 done
10038 IFS=$as_save_IFS
10039
10040 fi ;;
10041 esac
10042 fi
10043 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
10044 if test -n "$ac_ct_OBJDUMP"; then
10045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
10046 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
10047 else
10048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10049 printf "%s\n" "no" >&6; }
10050 fi
10051
10052 if test "x$ac_ct_OBJDUMP" = x; then
10053 OBJDUMP="false"
10054 else
10055 case $cross_compiling:$ac_tool_warned in
10056 yes:)
10057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10058 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10059 ac_tool_warned=yes ;;
10060 esac
10061 OBJDUMP=$ac_ct_OBJDUMP
10062 fi
10063 else
10064 OBJDUMP="$ac_cv_prog_OBJDUMP"
10065 fi
10066
10067 ;;
10068 esac
10069
10070 test -z "$AS" && AS=as
10071
10072
10073
10074
10075
10076 test -z "$DLLTOOL" && DLLTOOL=dlltool
10077
10078
10079
10080
10081
10082 test -z "$OBJDUMP" && OBJDUMP=objdump
10083
10084
10085
10086
10087
10088
10089
10090 enable_dlopen=no
10091
10092
10093
10094 # Check whether --enable-shared was given.
10095 if test ${enable_shared+y}
10096 then :
10097 enableval=$enable_shared; p=${PACKAGE-default}
10098 case $enableval in
10099 yes) enable_shared=yes ;;
10100 no) enable_shared=no ;;
10101 *)
10102 enable_shared=no
10103 # Look at the argument we got. We use all the common list separators.
10104 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10105 for pkg in $enableval; do
10106 IFS=$lt_save_ifs
10107 if test "X$pkg" = "X$p"; then
10108 enable_shared=yes
10109 fi
10110 done
10111 IFS=$lt_save_ifs
10112 ;;
10113 esac
10114 else case e in #(
10115 e) enable_shared=yes ;;
10116 esac
10117 fi
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127 # Check whether --enable-static was given.
10128 if test ${enable_static+y}
10129 then :
10130 enableval=$enable_static; p=${PACKAGE-default}
10131 case $enableval in
10132 yes) enable_static=yes ;;
10133 no) enable_static=no ;;
10134 *)
10135 enable_static=no
10136 # Look at the argument we got. We use all the common list separators.
10137 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10138 for pkg in $enableval; do
10139 IFS=$lt_save_ifs
10140 if test "X$pkg" = "X$p"; then
10141 enable_static=yes
10142 fi
10143 done
10144 IFS=$lt_save_ifs
10145 ;;
10146 esac
10147 else case e in #(
10148 e) enable_static=yes ;;
10149 esac
10150 fi
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160 # Check whether --enable-pic was given.
10161 if test ${enable_pic+y}
10162 then :
10163 enableval=$enable_pic; lt_p=${PACKAGE-default}
10164 case $enableval in
10165 yes|no) pic_mode=$enableval ;;
10166 *)
10167 pic_mode=default
10168 # Look at the argument we got. We use all the common list separators.
10169 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10170 for lt_pkg in $enableval; do
10171 IFS=$lt_save_ifs
10172 if test "X$lt_pkg" = "X$lt_p"; then
10173 pic_mode=yes
10174 fi
10175 done
10176 IFS=$lt_save_ifs
10177 ;;
10178 esac
10179 else case e in #(
10180 e) # Check whether --with-pic was given.
10181 if test ${with_pic+y}
10182 then :
10183 withval=$with_pic; lt_p=${PACKAGE-default}
10184 case $withval in
10185 yes|no) pic_mode=$withval ;;
10186 *)
10187 pic_mode=default
10188 # Look at the argument we got. We use all the common list separators.
10189 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10190 for lt_pkg in $withval; do
10191 IFS=$lt_save_ifs
10192 if test "X$lt_pkg" = "X$lt_p"; then
10193 pic_mode=yes
10194 fi
10195 done
10196 IFS=$lt_save_ifs
10197 ;;
10198 esac
10199 else case e in #(
10200 e) pic_mode=default ;;
10201 esac
10202 fi
10203
10204 ;;
10205 esac
10206 fi
10207
10208
10209
10210
10211
10212
10213
10214
10215 # Check whether --enable-fast-install was given.
10216 if test ${enable_fast_install+y}
10217 then :
10218 enableval=$enable_fast_install; p=${PACKAGE-default}
10219 case $enableval in
10220 yes) enable_fast_install=yes ;;
10221 no) enable_fast_install=no ;;
10222 *)
10223 enable_fast_install=no
10224 # Look at the argument we got. We use all the common list separators.
10225 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10226 for pkg in $enableval; do
10227 IFS=$lt_save_ifs
10228 if test "X$pkg" = "X$p"; then
10229 enable_fast_install=yes
10230 fi
10231 done
10232 IFS=$lt_save_ifs
10233 ;;
10234 esac
10235 else case e in #(
10236 e) enable_fast_install=yes ;;
10237 esac
10238 fi
10239
10240
10241
10242
10243
10244
10245
10246
10247 shared_archive_member_spec=
10248 case $host,$enable_shared in
10249 power*-*-aix[5-9]*,yes)
10250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10251 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10252 # Check whether --enable-aix-soname was given.
10253 if test ${enable_aix_soname+y}
10254 then :
10255 enableval=$enable_aix_soname; case $enableval in
10256 aix|svr4|both)
10257 ;;
10258 *)
10259 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10260 ;;
10261 esac
10262 lt_cv_with_aix_soname=$enable_aix_soname
10263 else case e in #(
10264 e) # Check whether --with-aix-soname was given.
10265 if test ${with_aix_soname+y}
10266 then :
10267 withval=$with_aix_soname; case $withval in
10268 aix|svr4|both)
10269 ;;
10270 *)
10271 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10272 ;;
10273 esac
10274 lt_cv_with_aix_soname=$with_aix_soname
10275 else case e in #(
10276 e) if test ${lt_cv_with_aix_soname+y}
10277 then :
10278 printf %s "(cached) " >&6
10279 else case e in #(
10280 e) lt_cv_with_aix_soname=aix ;;
10281 esac
10282 fi
10283 ;;
10284 esac
10285 fi
10286
10287 enable_aix_soname=$lt_cv_with_aix_soname ;;
10288 esac
10289 fi
10290
10291 with_aix_soname=$enable_aix_soname
10292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10293 printf "%s\n" "$with_aix_soname" >&6; }
10294 if test aix != "$with_aix_soname"; then
10295 # For the AIX way of multilib, we name the shared archive member
10296 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10297 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10298 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10299 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10300 if test 64 = "${OBJECT_MODE-32}"; then
10301 shared_archive_member_spec=shr_64
10302 else
10303 shared_archive_member_spec=shr
10304 fi
10305 fi
10306 ;;
10307 *)
10308 with_aix_soname=aix
10309 ;;
10310 esac
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321 # This can be used to rebuild libtool when needed
10322 LIBTOOL_DEPS=$ltmain
10323
10324 # Always use our own libtool.
10325 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356 test -z "$LN_S" && LN_S="ln -s"
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371 if test -n "${ZSH_VERSION+set}"; then
10372 setopt NO_GLOB_SUBST
10373 fi
10374
10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10376 printf %s "checking for objdir... " >&6; }
10377 if test ${lt_cv_objdir+y}
10378 then :
10379 printf %s "(cached) " >&6
10380 else case e in #(
10381 e) rm -f .libs 2>/dev/null
10382 mkdir .libs 2>/dev/null
10383 if test -d .libs; then
10384 lt_cv_objdir=.libs
10385 else
10386 # MS-DOS does not allow filenames that begin with a dot.
10387 lt_cv_objdir=_libs
10388 fi
10389 rmdir .libs 2>/dev/null ;;
10390 esac
10391 fi
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10393 printf "%s\n" "$lt_cv_objdir" >&6; }
10394 objdir=$lt_cv_objdir
10395
10396
10397
10398
10399
10400 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10401
10402
10403
10404
10405 case $host_os in
10406 aix3*)
10407 # AIX sometimes has problems with the GCC collect2 program. For some
10408 # reason, if we set the COLLECT_NAMES environment variable, the problems
10409 # vanish in a puff of smoke.
10410 if test set != "${COLLECT_NAMES+set}"; then
10411 COLLECT_NAMES=
10412 export COLLECT_NAMES
10413 fi
10414 ;;
10415 esac
10416
10417 # Global variables:
10418 ofile=libtool
10419 can_build_shared=yes
10420
10421 # All known linkers require a '.a' archive for static linking (except MSVC and
10422 # ICC, which need '.lib').
10423 libext=a
10424
10425 with_gnu_ld=$lt_cv_prog_gnu_ld
10426
10427 old_CC=$CC
10428 old_CFLAGS=$CFLAGS
10429
10430 # Set sane defaults for various variables
10431 test -z "$CC" && CC=cc
10432 test -z "$LTCC" && LTCC=$CC
10433 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10434 test -z "$LD" && LD=ld
10435 test -z "$ac_objext" && ac_objext=o
10436
10437 func_cc_basename $compiler
10438 cc_basename=$func_cc_basename_result
10439
10440
10441 # Only perform the check for file, if the check method requires it
10442 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10443 case $deplibs_check_method in
10444 file_magic*)
10445 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10447 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10448 if test ${lt_cv_path_MAGIC_CMD+y}
10449 then :
10450 printf %s "(cached) " >&6
10451 else case e in #(
10452 e) case $MAGIC_CMD in
10453 [\\/*] | ?:[\\/]*)
10454 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10455 ;;
10456 *)
10457 lt_save_MAGIC_CMD=$MAGIC_CMD
10458 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10459 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10460 for ac_dir in $ac_dummy; do
10461 IFS=$lt_save_ifs
10462 test -z "$ac_dir" && ac_dir=.
10463 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10464 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10465 if test -n "$file_magic_test_file"; then
10466 case $deplibs_check_method in
10467 "file_magic "*)
10468 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10469 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10470 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10471 $EGREP "$file_magic_regex" > /dev/null; then
10472 :
10473 else
10474 cat <<_LT_EOF 1>&2
10475
10476 *** Warning: the command libtool uses to detect shared libraries,
10477 *** $file_magic_cmd, produces output that libtool cannot recognize.
10478 *** The result is that libtool may fail to recognize shared libraries
10479 *** as such. This will affect the creation of libtool libraries that
10480 *** depend on shared libraries, but programs linked with such libtool
10481 *** libraries will work regardless of this problem. Nevertheless, you
10482 *** may want to report the problem to your system manager and/or to
10483 *** [email protected]
10484
10485 _LT_EOF
10486 fi ;;
10487 esac
10488 fi
10489 break
10490 fi
10491 done
10492 IFS=$lt_save_ifs
10493 MAGIC_CMD=$lt_save_MAGIC_CMD
10494 ;;
10495 esac ;;
10496 esac
10497 fi
10498
10499 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10500 if test -n "$MAGIC_CMD"; then
10501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10502 printf "%s\n" "$MAGIC_CMD" >&6; }
10503 else
10504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10505 printf "%s\n" "no" >&6; }
10506 fi
10507
10508
10509
10510
10511
10512 if test -z "$lt_cv_path_MAGIC_CMD"; then
10513 if test -n "$ac_tool_prefix"; then
10514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10515 printf %s "checking for file... " >&6; }
10516 if test ${lt_cv_path_MAGIC_CMD+y}
10517 then :
10518 printf %s "(cached) " >&6
10519 else case e in #(
10520 e) case $MAGIC_CMD in
10521 [\\/*] | ?:[\\/]*)
10522 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10523 ;;
10524 *)
10525 lt_save_MAGIC_CMD=$MAGIC_CMD
10526 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10527 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10528 for ac_dir in $ac_dummy; do
10529 IFS=$lt_save_ifs
10530 test -z "$ac_dir" && ac_dir=.
10531 if test -f "$ac_dir/file"; then
10532 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10533 if test -n "$file_magic_test_file"; then
10534 case $deplibs_check_method in
10535 "file_magic "*)
10536 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10537 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10538 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10539 $EGREP "$file_magic_regex" > /dev/null; then
10540 :
10541 else
10542 cat <<_LT_EOF 1>&2
10543
10544 *** Warning: the command libtool uses to detect shared libraries,
10545 *** $file_magic_cmd, produces output that libtool cannot recognize.
10546 *** The result is that libtool may fail to recognize shared libraries
10547 *** as such. This will affect the creation of libtool libraries that
10548 *** depend on shared libraries, but programs linked with such libtool
10549 *** libraries will work regardless of this problem. Nevertheless, you
10550 *** may want to report the problem to your system manager and/or to
10551 *** [email protected]
10552
10553 _LT_EOF
10554 fi ;;
10555 esac
10556 fi
10557 break
10558 fi
10559 done
10560 IFS=$lt_save_ifs
10561 MAGIC_CMD=$lt_save_MAGIC_CMD
10562 ;;
10563 esac ;;
10564 esac
10565 fi
10566
10567 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10568 if test -n "$MAGIC_CMD"; then
10569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10570 printf "%s\n" "$MAGIC_CMD" >&6; }
10571 else
10572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10573 printf "%s\n" "no" >&6; }
10574 fi
10575
10576
10577 else
10578 MAGIC_CMD=:
10579 fi
10580 fi
10581
10582 fi
10583 ;;
10584 esac
10585
10586 # Use C for the default configuration in the libtool script
10587
10588 lt_save_CC=$CC
10589 ac_ext=c
10590 ac_cpp='$CPP $CPPFLAGS'
10591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10594
10595
10596 # Source file extension for C test sources.
10597 ac_ext=c
10598
10599 # Object file extension for compiled C test sources.
10600 objext=o
10601 objext=$objext
10602
10603 # Code to be used in simple compile tests
10604 lt_simple_compile_test_code="int some_variable = 0;"
10605
10606 # Code to be used in simple link tests
10607 lt_simple_link_test_code='int main(void){return(0);}'
10608
10609
10610
10611
10612
10613
10614
10615 # If no C compiler was specified, use CC.
10616 LTCC=${LTCC-"$CC"}
10617
10618 # If no C compiler flags were specified, use CFLAGS.
10619 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10620
10621 # Allow CC to be a program name with arguments.
10622 compiler=$CC
10623
10624 # Save the default compiler, since it gets overwritten when the other
10625 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10626 compiler_DEFAULT=$CC
10627
10628 # save warnings/boilerplate of simple test code
10629 ac_outfile=conftest.$ac_objext
10630 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10631 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10632 _lt_compiler_boilerplate=`cat conftest.err`
10633 $RM conftest*
10634
10635 ac_outfile=conftest.$ac_objext
10636 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10637 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10638 _lt_linker_boilerplate=`cat conftest.err`
10639 $RM -r conftest*
10640
10641
10642 ## CAVEAT EMPTOR:
10643 ## There is no encapsulation within the following macros, do not change
10644 ## the running order or otherwise move them around unless you know exactly
10645 ## what you are doing...
10646 if test -n "$compiler"; then
10647
10648 lt_prog_compiler_no_builtin_flag=
10649
10650 if test yes = "$GCC"; then
10651 case $cc_basename in
10652 nvcc*)
10653 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10654 *)
10655 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10656 esac
10657
10658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10659 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10660 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10661 then :
10662 printf %s "(cached) " >&6
10663 else case e in #(
10664 e) lt_cv_prog_compiler_rtti_exceptions=no
10665 ac_outfile=conftest.$ac_objext
10666 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10667 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10668 # Insert the option either (1) after the last *FLAGS variable, or
10669 # (2) before a word containing "conftest.", or (3) at the end.
10670 # Note that $ac_compile itself does not contain backslashes and begins
10671 # with a dollar sign (not a hyphen), so the echo should work correctly.
10672 # The option is referenced via a variable to avoid confusing sed.
10673 lt_compile=`echo "$ac_compile" | $SED \
10674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10676 -e 's:$: $lt_compiler_flag:'`
10677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10678 (eval "$lt_compile" 2>conftest.err)
10679 ac_status=$?
10680 cat conftest.err >&5
10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 if (exit $ac_status) && test -s "$ac_outfile"; then
10683 # The compiler can only warn and ignore the option if not recognized
10684 # So say no if there are warnings other than the usual output.
10685 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10686 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10687 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10688 lt_cv_prog_compiler_rtti_exceptions=yes
10689 fi
10690 fi
10691 $RM conftest*
10692 ;;
10693 esac
10694 fi
10695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10696 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10697
10698 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10699 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10700 else
10701 :
10702 fi
10703
10704 fi
10705
10706
10707
10708
10709
10710
10711 lt_prog_compiler_wl=
10712 lt_prog_compiler_pic=
10713 lt_prog_compiler_static=
10714
10715
10716 if test yes = "$GCC"; then
10717 lt_prog_compiler_wl='-Wl,'
10718 lt_prog_compiler_static='-static'
10719
10720 case $host_os in
10721 aix*)
10722 # All AIX code is PIC.
10723 if test ia64 = "$host_cpu"; then
10724 # AIX 5 now supports IA64 processor
10725 lt_prog_compiler_static='-Bstatic'
10726 fi
10727 lt_prog_compiler_pic='-fPIC'
10728 ;;
10729
10730 amigaos*)
10731 case $host_cpu in
10732 powerpc)
10733 # see comment about AmigaOS4 .so support
10734 lt_prog_compiler_pic='-fPIC'
10735 ;;
10736 m68k)
10737 # FIXME: we need at least 68020 code to build shared libraries, but
10738 # adding the '-m68020' flag to GCC prevents building anything better,
10739 # like '-m68040'.
10740 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10741 ;;
10742 esac
10743 ;;
10744
10745 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10746 # PIC is the default for these OSes.
10747 ;;
10748
10749 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10750 # This hack is so that the source file can tell whether it is being
10751 # built for inclusion in a dll (and should export symbols for example).
10752 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10753 # (--disable-auto-import) libraries
10754 lt_prog_compiler_pic='-DDLL_EXPORT'
10755 case $host_os in
10756 os2*)
10757 lt_prog_compiler_static='$wl-static'
10758 ;;
10759 esac
10760 ;;
10761
10762 darwin* | rhapsody*)
10763 # PIC is the default on this platform
10764 # Common symbols not allowed in MH_DYLIB files
10765 lt_prog_compiler_pic='-fno-common'
10766 ;;
10767
10768 haiku*)
10769 # PIC is the default for Haiku.
10770 # The "-static" flag exists, but is broken.
10771 lt_prog_compiler_static=
10772 ;;
10773
10774 hpux*)
10775 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10776 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10777 # sets the default TLS model and affects inlining.
10778 case $host_cpu in
10779 hppa*64*)
10780 # +Z the default
10781 ;;
10782 *)
10783 lt_prog_compiler_pic='-fPIC'
10784 ;;
10785 esac
10786 ;;
10787
10788 interix[3-9]*)
10789 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10790 # Instead, we relocate shared libraries at runtime.
10791 ;;
10792
10793 msdosdjgpp*)
10794 # Just because we use GCC doesn't mean we suddenly get shared libraries
10795 # on systems that don't support them.
10796 lt_prog_compiler_can_build_shared=no
10797 enable_shared=no
10798 ;;
10799
10800 *nto* | *qnx*)
10801 # QNX uses GNU C++, but need to define -shared option too, otherwise
10802 # it will coredump.
10803 lt_prog_compiler_pic='-fPIC -shared'
10804 ;;
10805
10806 sysv4*MP*)
10807 if test -d /usr/nec; then
10808 lt_prog_compiler_pic=-Kconform_pic
10809 fi
10810 ;;
10811
10812 *)
10813 lt_prog_compiler_pic='-fPIC'
10814 ;;
10815 esac
10816
10817 case $cc_basename in
10818 nvcc*) # Cuda Compiler Driver 2.2
10819 lt_prog_compiler_wl='-Xlinker '
10820 if test -n "$lt_prog_compiler_pic"; then
10821 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10822 fi
10823 ;;
10824 esac
10825 else
10826 # PORTME Check for flag to pass linker flags through the system compiler.
10827 case $host_os in
10828 aix*)
10829 lt_prog_compiler_wl='-Wl,'
10830 if test ia64 = "$host_cpu"; then
10831 # AIX 5 now supports IA64 processor
10832 lt_prog_compiler_static='-Bstatic'
10833 else
10834 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10835 fi
10836 ;;
10837
10838 darwin* | rhapsody*)
10839 # PIC is the default on this platform
10840 # Common symbols not allowed in MH_DYLIB files
10841 lt_prog_compiler_pic='-fno-common'
10842 case $cc_basename in
10843 nagfor*)
10844 # NAG Fortran compiler
10845 lt_prog_compiler_wl='-Wl,-Wl,,'
10846 lt_prog_compiler_pic='-PIC'
10847 lt_prog_compiler_static='-Bstatic'
10848 ;;
10849 esac
10850 ;;
10851
10852 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10853 # This hack is so that the source file can tell whether it is being
10854 # built for inclusion in a dll (and should export symbols for example).
10855 lt_prog_compiler_pic='-DDLL_EXPORT'
10856 case $host_os in
10857 os2*)
10858 lt_prog_compiler_static='$wl-static'
10859 ;;
10860 esac
10861 ;;
10862
10863 hpux9* | hpux10* | hpux11*)
10864 lt_prog_compiler_wl='-Wl,'
10865 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10866 # not for PA HP-UX.
10867 case $host_cpu in
10868 hppa*64*|ia64*)
10869 # +Z the default
10870 ;;
10871 *)
10872 lt_prog_compiler_pic='+Z'
10873 ;;
10874 esac
10875 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10876 lt_prog_compiler_static='$wl-a ${wl}archive'
10877 ;;
10878
10879 irix5* | irix6* | nonstopux*)
10880 lt_prog_compiler_wl='-Wl,'
10881 # PIC (with -KPIC) is the default.
10882 lt_prog_compiler_static='-non_shared'
10883 ;;
10884
10885 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10886 case $cc_basename in
10887 # old Intel for x86_64, which still supported -KPIC.
10888 ecc*)
10889 lt_prog_compiler_wl='-Wl,'
10890 lt_prog_compiler_pic='-KPIC'
10891 lt_prog_compiler_static='-static'
10892 ;;
10893 *flang* | ftn | f18* | f95*)
10894 # Flang compiler.
10895 lt_prog_compiler_wl='-Wl,'
10896 lt_prog_compiler_pic='-fPIC'
10897 lt_prog_compiler_static='-static'
10898 ;;
10899 # icc used to be incompatible with GCC.
10900 # ICC 10 doesn't accept -KPIC any more.
10901 icc* | ifort*)
10902 lt_prog_compiler_wl='-Wl,'
10903 lt_prog_compiler_pic='-fPIC'
10904 lt_prog_compiler_static='-static'
10905 ;;
10906 # Lahey Fortran 8.1.
10907 lf95*)
10908 lt_prog_compiler_wl='-Wl,'
10909 lt_prog_compiler_pic='--shared'
10910 lt_prog_compiler_static='--static'
10911 ;;
10912 nagfor*)
10913 # NAG Fortran compiler
10914 lt_prog_compiler_wl='-Wl,-Wl,,'
10915 lt_prog_compiler_pic='-PIC'
10916 lt_prog_compiler_static='-Bstatic'
10917 ;;
10918 tcc*)
10919 # Fabrice Bellard et al's Tiny C Compiler
10920 lt_prog_compiler_wl='-Wl,'
10921 lt_prog_compiler_pic='-fPIC'
10922 lt_prog_compiler_static='-static'
10923 ;;
10924 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10925 # Portland Group compilers (*not* the Pentium gcc compiler,
10926 # which looks to be a dead project)
10927 lt_prog_compiler_wl='-Wl,'
10928 lt_prog_compiler_pic='-fpic'
10929 lt_prog_compiler_static='-Bstatic'
10930 ;;
10931 ccc*)
10932 lt_prog_compiler_wl='-Wl,'
10933 # All Alpha code is PIC.
10934 lt_prog_compiler_static='-non_shared'
10935 ;;
10936 xl* | bgxl* | bgf* | mpixl*)
10937 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10938 lt_prog_compiler_wl='-Wl,'
10939 lt_prog_compiler_pic='-qpic'
10940 lt_prog_compiler_static='-qstaticlink'
10941 ;;
10942 *)
10943 case `$CC -V 2>&1 | $SED 5q` in
10944 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10945 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10946 lt_prog_compiler_pic='-KPIC'
10947 lt_prog_compiler_static='-Bstatic'
10948 lt_prog_compiler_wl=''
10949 ;;
10950 *Sun\ F* | *Sun*Fortran*)
10951 lt_prog_compiler_pic='-KPIC'
10952 lt_prog_compiler_static='-Bstatic'
10953 lt_prog_compiler_wl='-Qoption ld '
10954 ;;
10955 *Sun\ C*)
10956 # Sun C 5.9
10957 lt_prog_compiler_pic='-KPIC'
10958 lt_prog_compiler_static='-Bstatic'
10959 lt_prog_compiler_wl='-Wl,'
10960 ;;
10961 *Intel*\ [CF]*Compiler*)
10962 lt_prog_compiler_wl='-Wl,'
10963 lt_prog_compiler_pic='-fPIC'
10964 lt_prog_compiler_static='-static'
10965 ;;
10966 *Portland\ Group*)
10967 lt_prog_compiler_wl='-Wl,'
10968 lt_prog_compiler_pic='-fpic'
10969 lt_prog_compiler_static='-Bstatic'
10970 ;;
10971 esac
10972 ;;
10973 esac
10974 ;;
10975
10976 newsos6)
10977 lt_prog_compiler_pic='-KPIC'
10978 lt_prog_compiler_static='-Bstatic'
10979 ;;
10980
10981 *-mlibc)
10982 lt_prog_compiler_wl='-Wl,'
10983 lt_prog_compiler_pic='-fPIC'
10984 lt_prog_compiler_static='-static'
10985 ;;
10986
10987 *nto* | *qnx*)
10988 # QNX uses GNU C++, but need to define -shared option too, otherwise
10989 # it will coredump.
10990 lt_prog_compiler_pic='-fPIC -shared'
10991 ;;
10992
10993 osf3* | osf4* | osf5*)
10994 lt_prog_compiler_wl='-Wl,'
10995 # All OSF/1 code is PIC.
10996 lt_prog_compiler_static='-non_shared'
10997 ;;
10998
10999 rdos*)
11000 lt_prog_compiler_static='-non_shared'
11001 ;;
11002
11003 serenity*)
11004 ;;
11005
11006 solaris*)
11007 lt_prog_compiler_pic='-KPIC'
11008 lt_prog_compiler_static='-Bstatic'
11009 case $cc_basename in
11010 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11011 lt_prog_compiler_wl='-Qoption ld ';;
11012 *)
11013 lt_prog_compiler_wl='-Wl,';;
11014 esac
11015 ;;
11016
11017 sunos4*)
11018 lt_prog_compiler_wl='-Qoption ld '
11019 lt_prog_compiler_pic='-PIC'
11020 lt_prog_compiler_static='-Bstatic'
11021 ;;
11022
11023 sysv4 | sysv4.2uw2* | sysv4.3*)
11024 lt_prog_compiler_wl='-Wl,'
11025 lt_prog_compiler_pic='-KPIC'
11026 lt_prog_compiler_static='-Bstatic'
11027 ;;
11028
11029 sysv4*MP*)
11030 if test -d /usr/nec; then
11031 lt_prog_compiler_pic='-Kconform_pic'
11032 lt_prog_compiler_static='-Bstatic'
11033 fi
11034 ;;
11035
11036 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11037 lt_prog_compiler_wl='-Wl,'
11038 lt_prog_compiler_pic='-KPIC'
11039 lt_prog_compiler_static='-Bstatic'
11040 ;;
11041
11042 unicos*)
11043 lt_prog_compiler_wl='-Wl,'
11044 lt_prog_compiler_can_build_shared=no
11045 ;;
11046
11047 uts4*)
11048 lt_prog_compiler_pic='-pic'
11049 lt_prog_compiler_static='-Bstatic'
11050 ;;
11051
11052 *)
11053 lt_prog_compiler_can_build_shared=no
11054 ;;
11055 esac
11056 fi
11057
11058 case $host_os in
11059 # For platforms that do not support PIC, -DPIC is meaningless:
11060 *djgpp*)
11061 lt_prog_compiler_pic=
11062 ;;
11063 *)
11064 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11065 ;;
11066 esac
11067
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11069 printf %s "checking for $compiler option to produce PIC... " >&6; }
11070 if test ${lt_cv_prog_compiler_pic+y}
11071 then :
11072 printf %s "(cached) " >&6
11073 else case e in #(
11074 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
11075 esac
11076 fi
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11078 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
11079 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11080
11081 #
11082 # Check to make sure the PIC flag actually works.
11083 #
11084 if test -n "$lt_prog_compiler_pic"; then
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11086 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11087 if test ${lt_cv_prog_compiler_pic_works+y}
11088 then :
11089 printf %s "(cached) " >&6
11090 else case e in #(
11091 e) lt_cv_prog_compiler_pic_works=no
11092 ac_outfile=conftest.$ac_objext
11093 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11094 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11095 # Insert the option either (1) after the last *FLAGS variable, or
11096 # (2) before a word containing "conftest.", or (3) at the end.
11097 # Note that $ac_compile itself does not contain backslashes and begins
11098 # with a dollar sign (not a hyphen), so the echo should work correctly.
11099 # The option is referenced via a variable to avoid confusing sed.
11100 lt_compile=`echo "$ac_compile" | $SED \
11101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11103 -e 's:$: $lt_compiler_flag:'`
11104 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11105 (eval "$lt_compile" 2>conftest.err)
11106 ac_status=$?
11107 cat conftest.err >&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 if (exit $ac_status) && test -s "$ac_outfile"; then
11110 # The compiler can only warn and ignore the option if not recognized
11111 # So say no if there are warnings other than the usual output.
11112 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11113 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11114 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11115 lt_cv_prog_compiler_pic_works=yes
11116 fi
11117 fi
11118 $RM conftest*
11119 ;;
11120 esac
11121 fi
11122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11123 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
11124
11125 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11126 case $lt_prog_compiler_pic in
11127 "" | " "*) ;;
11128 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11129 esac
11130 else
11131 lt_prog_compiler_pic=
11132 lt_prog_compiler_can_build_shared=no
11133 fi
11134
11135 fi
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147 #
11148 # Check to make sure the static flag actually works.
11149 #
11150 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11152 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11153 if test ${lt_cv_prog_compiler_static_works+y}
11154 then :
11155 printf %s "(cached) " >&6
11156 else case e in #(
11157 e) lt_cv_prog_compiler_static_works=no
11158 save_LDFLAGS=$LDFLAGS
11159 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11160 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11161 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11162 # The linker can only warn and ignore the option if not recognized
11163 # So say no if there are warnings
11164 if test -s conftest.err; then
11165 # Append any errors to the config.log.
11166 cat conftest.err 1>&5
11167 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11168 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11169 if diff conftest.exp conftest.er2 >/dev/null; then
11170 lt_cv_prog_compiler_static_works=yes
11171 fi
11172 else
11173 lt_cv_prog_compiler_static_works=yes
11174 fi
11175 fi
11176 $RM -r conftest*
11177 LDFLAGS=$save_LDFLAGS
11178 ;;
11179 esac
11180 fi
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11182 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
11183
11184 if test yes = "$lt_cv_prog_compiler_static_works"; then
11185 :
11186 else
11187 lt_prog_compiler_static=
11188 fi
11189
11190
11191
11192
11193
11194
11195
11196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11197 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11198 if test ${lt_cv_prog_compiler_c_o+y}
11199 then :
11200 printf %s "(cached) " >&6
11201 else case e in #(
11202 e) lt_cv_prog_compiler_c_o=no
11203 $RM -r conftest 2>/dev/null
11204 mkdir conftest
11205 cd conftest
11206 mkdir out
11207 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11208
11209 lt_compiler_flag="-o out/conftest2.$ac_objext"
11210 # Insert the option either (1) after the last *FLAGS variable, or
11211 # (2) before a word containing "conftest.", or (3) at the end.
11212 # Note that $ac_compile itself does not contain backslashes and begins
11213 # with a dollar sign (not a hyphen), so the echo should work correctly.
11214 lt_compile=`echo "$ac_compile" | $SED \
11215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11217 -e 's:$: $lt_compiler_flag:'`
11218 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11219 (eval "$lt_compile" 2>out/conftest.err)
11220 ac_status=$?
11221 cat out/conftest.err >&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11224 then
11225 # The compiler can only warn and ignore the option if not recognized
11226 # So say no if there are warnings
11227 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11228 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11229 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11230 lt_cv_prog_compiler_c_o=yes
11231 fi
11232 fi
11233 chmod u+w . 2>&5
11234 $RM conftest*
11235 # SGI C++ compiler will create directory out/ii_files/ for
11236 # template instantiation
11237 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11238 $RM out/* && rmdir out
11239 cd ..
11240 $RM -r conftest
11241 $RM conftest*
11242 ;;
11243 esac
11244 fi
11245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11246 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11247
11248
11249
11250
11251
11252
11253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11254 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11255 if test ${lt_cv_prog_compiler_c_o+y}
11256 then :
11257 printf %s "(cached) " >&6
11258 else case e in #(
11259 e) lt_cv_prog_compiler_c_o=no
11260 $RM -r conftest 2>/dev/null
11261 mkdir conftest
11262 cd conftest
11263 mkdir out
11264 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11265
11266 lt_compiler_flag="-o out/conftest2.$ac_objext"
11267 # Insert the option either (1) after the last *FLAGS variable, or
11268 # (2) before a word containing "conftest.", or (3) at the end.
11269 # Note that $ac_compile itself does not contain backslashes and begins
11270 # with a dollar sign (not a hyphen), so the echo should work correctly.
11271 lt_compile=`echo "$ac_compile" | $SED \
11272 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11273 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11274 -e 's:$: $lt_compiler_flag:'`
11275 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11276 (eval "$lt_compile" 2>out/conftest.err)
11277 ac_status=$?
11278 cat out/conftest.err >&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11281 then
11282 # The compiler can only warn and ignore the option if not recognized
11283 # So say no if there are warnings
11284 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11285 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11286 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11287 lt_cv_prog_compiler_c_o=yes
11288 fi
11289 fi
11290 chmod u+w . 2>&5
11291 $RM conftest*
11292 # SGI C++ compiler will create directory out/ii_files/ for
11293 # template instantiation
11294 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11295 $RM out/* && rmdir out
11296 cd ..
11297 $RM -r conftest
11298 $RM conftest*
11299 ;;
11300 esac
11301 fi
11302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11303 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11304
11305
11306
11307
11308 hard_links=nottested
11309 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11310 # do not overwrite the value of need_locks provided by the user
11311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11312 printf %s "checking if we can lock with hard links... " >&6; }
11313 hard_links=yes
11314 $RM conftest*
11315 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11316 touch conftest.a
11317 ln conftest.a conftest.b 2>&5 || hard_links=no
11318 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11320 printf "%s\n" "$hard_links" >&6; }
11321 if test no = "$hard_links"; then
11322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11323 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11324 need_locks=warn
11325 fi
11326 else
11327 need_locks=no
11328 fi
11329
11330
11331
11332
11333
11334
11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11336 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11337
11338 runpath_var=
11339 allow_undefined_flag=
11340 always_export_symbols=no
11341 archive_cmds=
11342 archive_expsym_cmds=
11343 compiler_needs_object=no
11344 enable_shared_with_static_runtimes=no
11345 export_dynamic_flag_spec=
11346 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11347 hardcode_automatic=no
11348 hardcode_direct=no
11349 hardcode_direct_absolute=no
11350 hardcode_libdir_flag_spec=
11351 hardcode_libdir_separator=
11352 hardcode_minus_L=no
11353 hardcode_shlibpath_var=unsupported
11354 inherit_rpath=no
11355 link_all_deplibs=unknown
11356 module_cmds=
11357 module_expsym_cmds=
11358 old_archive_from_new_cmds=
11359 old_archive_from_expsyms_cmds=
11360 thread_safe_flag_spec=
11361 whole_archive_flag_spec=
11362 # include_expsyms should be a list of space-separated symbols to be *always*
11363 # included in the symbol list
11364 include_expsyms=
11365 # exclude_expsyms can be an extended regexp of symbols to exclude
11366 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11367 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11368 # as well as any symbol that contains 'd'.
11369 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11370 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11371 # platforms (ab)use it in PIC code, but their linkers get confused if
11372 # the symbol is explicitly referenced. Since portable code cannot
11373 # rely on this symbol name, it's probably fine to never include it in
11374 # preloaded symbol tables.
11375 # Exclude shared library initialization/finalization symbols.
11376 extract_expsyms_cmds=
11377
11378 case $host_os in
11379 cygwin* | mingw* | windows* | pw32* | cegcc*)
11380 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11381 # When not using gcc, we currently assume that we are using
11382 # Microsoft Visual C++ or Intel C++ Compiler.
11383 if test yes != "$GCC"; then
11384 with_gnu_ld=no
11385 fi
11386 ;;
11387 interix*)
11388 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11389 with_gnu_ld=yes
11390 ;;
11391 esac
11392
11393 ld_shlibs=yes
11394
11395 # On some targets, GNU ld is compatible enough with the native linker
11396 # that we're better off using the native interface for both.
11397 lt_use_gnu_ld_interface=no
11398 if test yes = "$with_gnu_ld"; then
11399 case $host_os in
11400 aix*)
11401 # The AIX port of GNU ld has always aspired to compatibility
11402 # with the native linker. However, as the warning in the GNU ld
11403 # block says, versions before 2.19.5* couldn't really create working
11404 # shared libraries, regardless of the interface used.
11405 case `$LD -v 2>&1` in
11406 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11407 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11408 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11409 *)
11410 lt_use_gnu_ld_interface=yes
11411 ;;
11412 esac
11413 ;;
11414 *)
11415 lt_use_gnu_ld_interface=yes
11416 ;;
11417 esac
11418 fi
11419
11420 if test yes = "$lt_use_gnu_ld_interface"; then
11421 # If archive_cmds runs LD, not CC, wlarc should be empty
11422 wlarc='$wl'
11423
11424 # Set some defaults for GNU ld with shared library support. These
11425 # are reset later if shared libraries are not supported. Putting them
11426 # here allows them to be overridden if necessary.
11427 runpath_var=LD_RUN_PATH
11428 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11429 export_dynamic_flag_spec='$wl--export-dynamic'
11430 # ancient GNU ld didn't support --whole-archive et. al.
11431 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11432 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11433 else
11434 whole_archive_flag_spec=
11435 fi
11436 supports_anon_versioning=no
11437 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11438 *GNU\ gold*) supports_anon_versioning=yes ;;
11439 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11440 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11441 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11442 *\ 2.11.*) ;; # other 2.11 versions
11443 *) supports_anon_versioning=yes ;;
11444 esac
11445
11446 # See if GNU ld supports shared libraries.
11447 case $host_os in
11448 aix[3-9]*)
11449 # On AIX/PPC, the GNU linker is very broken
11450 if test ia64 != "$host_cpu"; then
11451 ld_shlibs=no
11452 cat <<_LT_EOF 1>&2
11453
11454 *** Warning: the GNU linker, at least up to release 2.19, is reported
11455 *** to be unable to reliably create shared libraries on AIX.
11456 *** Therefore, libtool is disabling shared libraries support. If you
11457 *** really care for shared libraries, you may want to install binutils
11458 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11459 *** You will then need to restart the configuration process.
11460
11461 _LT_EOF
11462 fi
11463 ;;
11464
11465 amigaos*)
11466 case $host_cpu in
11467 powerpc)
11468 # see comment about AmigaOS4 .so support
11469 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11470 archive_expsym_cmds=''
11471 ;;
11472 m68k)
11473 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)'
11474 hardcode_libdir_flag_spec='-L$libdir'
11475 hardcode_minus_L=yes
11476 ;;
11477 esac
11478 ;;
11479
11480 beos*)
11481 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11482 allow_undefined_flag=unsupported
11483 # Joseph Beckenbach <[email protected]> says some releases of gcc
11484 # support --undefined. This deserves some investigation. FIXME
11485 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11486 else
11487 ld_shlibs=no
11488 fi
11489 ;;
11490
11491 cygwin* | mingw* | windows* | pw32* | cegcc*)
11492 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11493 # as there is no search path for DLLs.
11494 hardcode_libdir_flag_spec='-L$libdir'
11495 export_dynamic_flag_spec='$wl--export-all-symbols'
11496 allow_undefined_flag=unsupported
11497 always_export_symbols=no
11498 enable_shared_with_static_runtimes=yes
11499 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'
11500 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11501 file_list_spec='@'
11502
11503 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11504 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11505 # If the export-symbols file already is a .def file, use it as
11506 # is; otherwise, prepend EXPORTS...
11507 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11508 cp $export_symbols $output_objdir/$soname.def;
11509 else
11510 echo EXPORTS > $output_objdir/$soname.def;
11511 cat $export_symbols >> $output_objdir/$soname.def;
11512 fi~
11513 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11514 else
11515 ld_shlibs=no
11516 fi
11517 ;;
11518
11519 haiku*)
11520 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11521 link_all_deplibs=no
11522 ;;
11523
11524 os2*)
11525 hardcode_libdir_flag_spec='-L$libdir'
11526 hardcode_minus_L=yes
11527 allow_undefined_flag=unsupported
11528 shrext_cmds=.dll
11529 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11530 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11531 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11532 $ECHO EXPORTS >> $output_objdir/$libname.def~
11533 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11534 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11535 emximp -o $lib $output_objdir/$libname.def'
11536 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11537 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11538 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11539 $ECHO EXPORTS >> $output_objdir/$libname.def~
11540 prefix_cmds="$SED"~
11541 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11542 prefix_cmds="$prefix_cmds -e 1d";
11543 fi~
11544 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11545 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11546 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11547 emximp -o $lib $output_objdir/$libname.def'
11548 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11549 enable_shared_with_static_runtimes=yes
11550 file_list_spec='@'
11551 ;;
11552
11553 interix[3-9]*)
11554 hardcode_direct=no
11555 hardcode_shlibpath_var=no
11556 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11557 export_dynamic_flag_spec='$wl-E'
11558 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11559 # Instead, shared libraries are loaded at an image base (0x10000000 by
11560 # default) and relocated if they conflict, which is a slow very memory
11561 # consuming and fragmenting process. To avoid this, we pick a random,
11562 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11563 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11564 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11565 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'
11566 ;;
11567
11568 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11569 tmp_diet=no
11570 if test linux-dietlibc = "$host_os"; then
11571 case $cc_basename in
11572 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11573 esac
11574 fi
11575 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11576 && test no = "$tmp_diet"
11577 then
11578 tmp_addflag=' $pic_flag'
11579 tmp_sharedflag='-shared'
11580 case $cc_basename,$host_cpu in
11581 pgcc*) # Portland Group C compiler
11582 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'
11583 tmp_addflag=' $pic_flag'
11584 ;;
11585 pgf77* | pgf90* | pgf95* | pgfortran*)
11586 # Portland Group f77 and f90 compilers
11587 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'
11588 tmp_addflag=' $pic_flag -Mnomain' ;;
11589 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11590 tmp_addflag=' -i_dynamic' ;;
11591 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11592 tmp_addflag=' -i_dynamic -nofor_main' ;;
11593 ifc* | ifort*) # Intel Fortran compiler
11594 tmp_addflag=' -nofor_main' ;;
11595 lf95*) # Lahey Fortran 8.1
11596 whole_archive_flag_spec=
11597 tmp_sharedflag='--shared' ;;
11598 nagfor*) # NAGFOR 5.3
11599 tmp_sharedflag='-Wl,-shared' ;;
11600 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11601 tmp_sharedflag='-qmkshrobj'
11602 tmp_addflag= ;;
11603 nvcc*) # Cuda Compiler Driver 2.2
11604 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'
11605 compiler_needs_object=yes
11606 ;;
11607 esac
11608 case `$CC -V 2>&1 | $SED 5q` in
11609 *Sun\ C*) # Sun C 5.9
11610 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'
11611 compiler_needs_object=yes
11612 tmp_sharedflag='-G' ;;
11613 *Sun\ F*) # Sun Fortran 8.3
11614 tmp_sharedflag='-G' ;;
11615 esac
11616 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11617
11618 if test yes = "$supports_anon_versioning"; then
11619 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11620 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11621 echo "local: *; };" >> $output_objdir/$libname.ver~
11622 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11623 fi
11624
11625 case $cc_basename in
11626 tcc*)
11627 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11628 export_dynamic_flag_spec='-rdynamic'
11629 ;;
11630 xlf* | bgf* | bgxlf* | mpixlf*)
11631 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11632 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11633 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11634 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11635 if test yes = "$supports_anon_versioning"; then
11636 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11637 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11638 echo "local: *; };" >> $output_objdir/$libname.ver~
11639 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11640 fi
11641 ;;
11642 esac
11643 else
11644 ld_shlibs=no
11645 fi
11646 ;;
11647
11648 *-mlibc)
11649 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11650 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11651 ;;
11652
11653 netbsd* | netbsdelf*-gnu)
11654 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11655 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11656 wlarc=
11657 else
11658 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11659 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11660 fi
11661 ;;
11662
11663 solaris*)
11664 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11665 ld_shlibs=no
11666 cat <<_LT_EOF 1>&2
11667
11668 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11669 *** create shared libraries on Solaris systems. Therefore, libtool
11670 *** is disabling shared libraries support. We urge you to upgrade GNU
11671 *** binutils to release 2.9.1 or newer. Another option is to modify
11672 *** your PATH or compiler configuration so that the native linker is
11673 *** used, and then restart.
11674
11675 _LT_EOF
11676 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11677 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11678 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11679 else
11680 ld_shlibs=no
11681 fi
11682 ;;
11683
11684 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11685 case `$LD -v 2>&1` in
11686 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11687 ld_shlibs=no
11688 cat <<_LT_EOF 1>&2
11689
11690 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11691 *** reliably create shared libraries on SCO systems. Therefore, libtool
11692 *** is disabling shared libraries support. We urge you to upgrade GNU
11693 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11694 *** your PATH or compiler configuration so that the native linker is
11695 *** used, and then restart.
11696
11697 _LT_EOF
11698 ;;
11699 *)
11700 # For security reasons, it is highly recommended that you always
11701 # use absolute paths for naming shared libraries, and exclude the
11702 # DT_RUNPATH tag from executables and libraries. But doing so
11703 # requires that you compile everything twice, which is a pain.
11704 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11705 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11706 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11707 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11708 else
11709 ld_shlibs=no
11710 fi
11711 ;;
11712 esac
11713 ;;
11714
11715 sunos4*)
11716 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11717 wlarc=
11718 hardcode_direct=yes
11719 hardcode_shlibpath_var=no
11720 ;;
11721
11722 *)
11723 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11724 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11725 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11726 else
11727 ld_shlibs=no
11728 fi
11729 ;;
11730 esac
11731
11732 if test no = "$ld_shlibs"; then
11733 runpath_var=
11734 hardcode_libdir_flag_spec=
11735 export_dynamic_flag_spec=
11736 whole_archive_flag_spec=
11737 fi
11738 else
11739 # PORTME fill in a description of your system's linker (not GNU ld)
11740 case $host_os in
11741 aix3*)
11742 allow_undefined_flag=unsupported
11743 always_export_symbols=yes
11744 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'
11745 # Note: this linker hardcodes the directories in LIBPATH if there
11746 # are no directories specified by -L.
11747 hardcode_minus_L=yes
11748 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11749 # Neither direct hardcoding nor static linking is supported with a
11750 # broken collect2.
11751 hardcode_direct=unsupported
11752 fi
11753 ;;
11754
11755 aix[4-9]*)
11756 if test ia64 = "$host_cpu"; then
11757 # On IA64, the linker does run time linking by default, so we don't
11758 # have to do anything special.
11759 aix_use_runtimelinking=no
11760 exp_sym_flag='-Bexport'
11761 no_entry_flag=
11762 else
11763 # If we're using GNU nm, then we don't want the "-C" option.
11764 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11765 # Without the "-l" option, or with the "-B" option, AIX nm treats
11766 # weak defined symbols like other global defined symbols, whereas
11767 # GNU nm marks them as "W".
11768 # While the 'weak' keyword is ignored in the Export File, we need
11769 # it in the Import File for the 'aix-soname' feature, so we have
11770 # to replace the "-B" option with "-P" for AIX nm.
11771 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11772 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11773 else
11774 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11775 fi
11776 aix_use_runtimelinking=no
11777
11778 # Test if we are trying to use run time linking or normal
11779 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11780 # have runtime linking enabled, and use it for executables.
11781 # For shared libraries, we enable/disable runtime linking
11782 # depending on the kind of the shared library created -
11783 # when "with_aix_soname,aix_use_runtimelinking" is:
11784 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11785 # "aix,yes" lib.so shared, rtl:yes, for executables
11786 # lib.a static archive
11787 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11788 # lib.a(lib.so.V) shared, rtl:no, for executables
11789 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11790 # lib.a(lib.so.V) shared, rtl:no
11791 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11792 # lib.a static archive
11793 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11794 for ld_flag in $LDFLAGS; do
11795 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11796 aix_use_runtimelinking=yes
11797 break
11798 fi
11799 done
11800 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11801 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11802 # so we don't have lib.a shared libs to link our executables.
11803 # We have to force runtime linking in this case.
11804 aix_use_runtimelinking=yes
11805 LDFLAGS="$LDFLAGS -Wl,-brtl"
11806 fi
11807 ;;
11808 esac
11809
11810 exp_sym_flag='-bexport'
11811 no_entry_flag='-bnoentry'
11812 fi
11813
11814 # When large executables or shared objects are built, AIX ld can
11815 # have problems creating the table of contents. If linking a library
11816 # or program results in "error TOC overflow" add -mminimal-toc to
11817 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11818 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11819
11820 archive_cmds=''
11821 hardcode_direct=yes
11822 hardcode_direct_absolute=yes
11823 hardcode_libdir_separator=':'
11824 link_all_deplibs=yes
11825 file_list_spec='$wl-f,'
11826 case $with_aix_soname,$aix_use_runtimelinking in
11827 aix,*) ;; # traditional, no import file
11828 svr4,* | *,yes) # use import file
11829 # The Import File defines what to hardcode.
11830 hardcode_direct=no
11831 hardcode_direct_absolute=no
11832 ;;
11833 esac
11834
11835 if test yes = "$GCC"; then
11836 case $host_os in aix4.[012]|aix4.[012].*)
11837 # We only want to do this on AIX 4.2 and lower, the check
11838 # below for broken collect2 doesn't work under 4.3+
11839 collect2name=`$CC -print-prog-name=collect2`
11840 if test -f "$collect2name" &&
11841 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11842 then
11843 # We have reworked collect2
11844 :
11845 else
11846 # We have old collect2
11847 hardcode_direct=unsupported
11848 # It fails to find uninstalled libraries when the uninstalled
11849 # path is not listed in the libpath. Setting hardcode_minus_L
11850 # to unsupported forces relinking
11851 hardcode_minus_L=yes
11852 hardcode_libdir_flag_spec='-L$libdir'
11853 hardcode_libdir_separator=
11854 fi
11855 ;;
11856 esac
11857 shared_flag='-shared'
11858 if test yes = "$aix_use_runtimelinking"; then
11859 shared_flag="$shared_flag "'$wl-G'
11860 fi
11861 # Need to ensure runtime linking is disabled for the traditional
11862 # shared library, or the linker may eventually find shared libraries
11863 # /with/ Import File - we do not want to mix them.
11864 shared_flag_aix='-shared'
11865 shared_flag_svr4='-shared $wl-G'
11866 else
11867 # not using gcc
11868 if test ia64 = "$host_cpu"; then
11869 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11870 # chokes on -Wl,-G. The following line is correct:
11871 shared_flag='-G'
11872 else
11873 if test yes = "$aix_use_runtimelinking"; then
11874 shared_flag='$wl-G'
11875 else
11876 shared_flag='$wl-bM:SRE'
11877 fi
11878 shared_flag_aix='$wl-bM:SRE'
11879 shared_flag_svr4='$wl-G'
11880 fi
11881 fi
11882
11883 export_dynamic_flag_spec='$wl-bexpall'
11884 # It seems that -bexpall does not export symbols beginning with
11885 # underscore (_), so it is better to generate a list of symbols to export.
11886 always_export_symbols=yes
11887 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11888 # Warning - without using the other runtime loading flags (-brtl),
11889 # -berok will link without error, but may produce a broken library.
11890 allow_undefined_flag='-berok'
11891 # Determine the default libpath from the value encoded in an
11892 # empty executable.
11893 if test set = "${lt_cv_aix_libpath+set}"; then
11894 aix_libpath=$lt_cv_aix_libpath
11895 else
11896 if test ${lt_cv_aix_libpath_+y}
11897 then :
11898 printf %s "(cached) " >&6
11899 else case e in #(
11900 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11902
11903 int
11904 main (void)
11905 {
11906
11907 ;
11908 return 0;
11909 }
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"
11912 then :
11913
11914 lt_aix_libpath_sed='
11915 /Import File Strings/,/^$/ {
11916 /^0/ {
11917 s/^0 *\([^ ]*\) *$/\1/
11918 p
11919 }
11920 }'
11921 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11922 # Check for a 64-bit object if we didn't find anything.
11923 if test -z "$lt_cv_aix_libpath_"; then
11924 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11925 fi
11926 fi
11927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11928 conftest$ac_exeext conftest.$ac_ext
11929 if test -z "$lt_cv_aix_libpath_"; then
11930 lt_cv_aix_libpath_=/usr/lib:/lib
11931 fi
11932 ;;
11933 esac
11934 fi
11935
11936 aix_libpath=$lt_cv_aix_libpath_
11937 fi
11938
11939 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11940 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11941 else
11942 if test ia64 = "$host_cpu"; then
11943 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11944 allow_undefined_flag="-z nodefs"
11945 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"
11946 else
11947 # Determine the default libpath from the value encoded in an
11948 # empty executable.
11949 if test set = "${lt_cv_aix_libpath+set}"; then
11950 aix_libpath=$lt_cv_aix_libpath
11951 else
11952 if test ${lt_cv_aix_libpath_+y}
11953 then :
11954 printf %s "(cached) " >&6
11955 else case e in #(
11956 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11958
11959 int
11960 main (void)
11961 {
11962
11963 ;
11964 return 0;
11965 }
11966 _ACEOF
11967 if ac_fn_c_try_link "$LINENO"
11968 then :
11969
11970 lt_aix_libpath_sed='
11971 /Import File Strings/,/^$/ {
11972 /^0/ {
11973 s/^0 *\([^ ]*\) *$/\1/
11974 p
11975 }
11976 }'
11977 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11978 # Check for a 64-bit object if we didn't find anything.
11979 if test -z "$lt_cv_aix_libpath_"; then
11980 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11981 fi
11982 fi
11983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11984 conftest$ac_exeext conftest.$ac_ext
11985 if test -z "$lt_cv_aix_libpath_"; then
11986 lt_cv_aix_libpath_=/usr/lib:/lib
11987 fi
11988 ;;
11989 esac
11990 fi
11991
11992 aix_libpath=$lt_cv_aix_libpath_
11993 fi
11994
11995 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11996 # Warning - without using the other run time loading flags,
11997 # -berok will link without error, but may produce a broken library.
11998 no_undefined_flag=' $wl-bernotok'
11999 allow_undefined_flag=' $wl-berok'
12000 if test yes = "$with_gnu_ld"; then
12001 # We only use this code for GNU lds that support --whole-archive.
12002 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12003 else
12004 # Exported symbols can be pulled into shared objects from archives
12005 whole_archive_flag_spec='$convenience'
12006 fi
12007 archive_cmds_need_lc=yes
12008 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12009 # -brtl affects multiple linker settings, -berok does not and is overridden later
12010 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12011 if test svr4 != "$with_aix_soname"; then
12012 # This is similar to how AIX traditionally builds its shared libraries.
12013 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
12014 fi
12015 if test aix != "$with_aix_soname"; then
12016 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
12017 else
12018 # used by -dlpreopen to get the symbols
12019 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12020 fi
12021 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12022 fi
12023 fi
12024 ;;
12025
12026 amigaos*)
12027 case $host_cpu in
12028 powerpc)
12029 # see comment about AmigaOS4 .so support
12030 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12031 archive_expsym_cmds=''
12032 ;;
12033 m68k)
12034 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)'
12035 hardcode_libdir_flag_spec='-L$libdir'
12036 hardcode_minus_L=yes
12037 ;;
12038 esac
12039 ;;
12040
12041 bsdi[45]*)
12042 export_dynamic_flag_spec=-rdynamic
12043 ;;
12044
12045 cygwin* | mingw* | windows* | pw32* | cegcc*)
12046 # When not using gcc, we currently assume that we are using
12047 # Microsoft Visual C++ or Intel C++ Compiler.
12048 # hardcode_libdir_flag_spec is actually meaningless, as there is
12049 # no search path for DLLs.
12050 case $cc_basename in
12051 cl* | icl*)
12052 # Native MSVC or ICC
12053 hardcode_libdir_flag_spec=' '
12054 allow_undefined_flag=unsupported
12055 always_export_symbols=yes
12056 file_list_spec='@'
12057 # Tell ltmain to make .lib files, not .a files.
12058 libext=lib
12059 # Tell ltmain to make .dll files, not .so files.
12060 shrext_cmds=.dll
12061 # FIXME: Setting linknames here is a bad hack.
12062 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12063 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12064 cp "$export_symbols" "$output_objdir/$soname.def";
12065 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12066 else
12067 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12068 fi~
12069 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12070 linknames='
12071 # The linker will not automatically build a static lib if we build a DLL.
12072 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12073 enable_shared_with_static_runtimes=yes
12074 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12075 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12076 # Don't use ranlib
12077 old_postinstall_cmds='chmod 644 $oldlib'
12078 postlink_cmds='lt_outputfile="@OUTPUT@"~
12079 lt_tool_outputfile="@TOOL_OUTPUT@"~
12080 case $lt_outputfile in
12081 *.exe|*.EXE) ;;
12082 *)
12083 lt_outputfile=$lt_outputfile.exe
12084 lt_tool_outputfile=$lt_tool_outputfile.exe
12085 ;;
12086 esac~
12087 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12088 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12089 $RM "$lt_outputfile.manifest";
12090 fi'
12091 ;;
12092 *)
12093 # Assume MSVC and ICC wrapper
12094 hardcode_libdir_flag_spec=' '
12095 allow_undefined_flag=unsupported
12096 # Tell ltmain to make .lib files, not .a files.
12097 libext=lib
12098 # Tell ltmain to make .dll files, not .so files.
12099 shrext_cmds=.dll
12100 # FIXME: Setting linknames here is a bad hack.
12101 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12102 # The linker will automatically build a .lib file if we build a DLL.
12103 old_archive_from_new_cmds='true'
12104 # FIXME: Should let the user specify the lib program.
12105 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12106 enable_shared_with_static_runtimes=yes
12107 ;;
12108 esac
12109 ;;
12110
12111 darwin* | rhapsody*)
12112
12113
12114 archive_cmds_need_lc=no
12115 hardcode_direct=no
12116 hardcode_automatic=yes
12117 hardcode_shlibpath_var=unsupported
12118 if test yes = "$lt_cv_ld_force_load"; then
12119 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\"`'
12120
12121 else
12122 whole_archive_flag_spec=''
12123 fi
12124 link_all_deplibs=yes
12125 allow_undefined_flag=$_lt_dar_allow_undefined
12126 case $cc_basename in
12127 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12128 *) _lt_dar_can_shared=$GCC ;;
12129 esac
12130 if test yes = "$_lt_dar_can_shared"; then
12131 output_verbose_link_cmd=func_echo_all
12132 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12133 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12134 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"
12135 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"
12136
12137 else
12138 ld_shlibs=no
12139 fi
12140
12141 ;;
12142
12143 dgux*)
12144 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12145 hardcode_libdir_flag_spec='-L$libdir'
12146 hardcode_shlibpath_var=no
12147 ;;
12148
12149 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12150 # support. Future versions do this automatically, but an explicit c++rt0.o
12151 # does not break anything, and helps significantly (at the cost of a little
12152 # extra space).
12153 freebsd2.2*)
12154 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12155 hardcode_libdir_flag_spec='-R$libdir'
12156 hardcode_direct=yes
12157 hardcode_shlibpath_var=no
12158 ;;
12159
12160 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12161 freebsd2.*)
12162 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12163 hardcode_direct=yes
12164 hardcode_minus_L=yes
12165 hardcode_shlibpath_var=no
12166 ;;
12167
12168 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12169 freebsd* | dragonfly* | midnightbsd*)
12170 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12171 hardcode_libdir_flag_spec='-R$libdir'
12172 hardcode_direct=yes
12173 hardcode_shlibpath_var=no
12174 ;;
12175
12176 hpux9*)
12177 if test yes = "$GCC"; then
12178 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12179 else
12180 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12181 fi
12182 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12183 hardcode_libdir_separator=:
12184 hardcode_direct=yes
12185
12186 # hardcode_minus_L: Not really in the search PATH,
12187 # but as the default location of the library.
12188 hardcode_minus_L=yes
12189 export_dynamic_flag_spec='$wl-E'
12190 ;;
12191
12192 hpux10*)
12193 if test yes,no = "$GCC,$with_gnu_ld"; then
12194 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12195 else
12196 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12197 fi
12198 if test no = "$with_gnu_ld"; then
12199 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12200 hardcode_libdir_separator=:
12201 hardcode_direct=yes
12202 hardcode_direct_absolute=yes
12203 export_dynamic_flag_spec='$wl-E'
12204 # hardcode_minus_L: Not really in the search PATH,
12205 # but as the default location of the library.
12206 hardcode_minus_L=yes
12207 fi
12208 ;;
12209
12210 hpux11*)
12211 if test yes,no = "$GCC,$with_gnu_ld"; then
12212 case $host_cpu in
12213 hppa*64*)
12214 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12215 ;;
12216 ia64*)
12217 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12218 ;;
12219 *)
12220 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12221 ;;
12222 esac
12223 else
12224 case $host_cpu in
12225 hppa*64*)
12226 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12227 ;;
12228 ia64*)
12229 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12230 ;;
12231 *)
12232
12233 # Older versions of the 11.00 compiler do not understand -b yet
12234 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12236 printf %s "checking if $CC understands -b... " >&6; }
12237 if test ${lt_cv_prog_compiler__b+y}
12238 then :
12239 printf %s "(cached) " >&6
12240 else case e in #(
12241 e) lt_cv_prog_compiler__b=no
12242 save_LDFLAGS=$LDFLAGS
12243 LDFLAGS="$LDFLAGS -b"
12244 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12245 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12246 # The linker can only warn and ignore the option if not recognized
12247 # So say no if there are warnings
12248 if test -s conftest.err; then
12249 # Append any errors to the config.log.
12250 cat conftest.err 1>&5
12251 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12252 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12253 if diff conftest.exp conftest.er2 >/dev/null; then
12254 lt_cv_prog_compiler__b=yes
12255 fi
12256 else
12257 lt_cv_prog_compiler__b=yes
12258 fi
12259 fi
12260 $RM -r conftest*
12261 LDFLAGS=$save_LDFLAGS
12262 ;;
12263 esac
12264 fi
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12266 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12267
12268 if test yes = "$lt_cv_prog_compiler__b"; then
12269 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12270 else
12271 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12272 fi
12273
12274 ;;
12275 esac
12276 fi
12277 if test no = "$with_gnu_ld"; then
12278 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12279 hardcode_libdir_separator=:
12280
12281 case $host_cpu in
12282 hppa*64*|ia64*)
12283 hardcode_direct=no
12284 hardcode_shlibpath_var=no
12285 ;;
12286 *)
12287 hardcode_direct=yes
12288 hardcode_direct_absolute=yes
12289 export_dynamic_flag_spec='$wl-E'
12290
12291 # hardcode_minus_L: Not really in the search PATH,
12292 # but as the default location of the library.
12293 hardcode_minus_L=yes
12294 ;;
12295 esac
12296 fi
12297 ;;
12298
12299 irix5* | irix6* | nonstopux*)
12300 if test yes = "$GCC"; then
12301 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'
12302 # Try to use the -exported_symbol ld option, if it does not
12303 # work, assume that -exports_file does not work either and
12304 # implicitly export all symbols.
12305 # This should be the same for all languages, so no per-tag cache variable.
12306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12307 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12308 if test ${lt_cv_irix_exported_symbol+y}
12309 then :
12310 printf %s "(cached) " >&6
12311 else case e in #(
12312 e) save_LDFLAGS=$LDFLAGS
12313 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12316 int foo (void) { return 0; }
12317 _ACEOF
12318 if ac_fn_c_try_link "$LINENO"
12319 then :
12320 lt_cv_irix_exported_symbol=yes
12321 else case e in #(
12322 e) lt_cv_irix_exported_symbol=no ;;
12323 esac
12324 fi
12325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12326 conftest$ac_exeext conftest.$ac_ext
12327 LDFLAGS=$save_LDFLAGS ;;
12328 esac
12329 fi
12330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12331 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12332 if test yes = "$lt_cv_irix_exported_symbol"; then
12333 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'
12334 fi
12335 else
12336 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'
12337 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'
12338 fi
12339 archive_cmds_need_lc='no'
12340 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12341 hardcode_libdir_separator=:
12342 inherit_rpath=yes
12343 link_all_deplibs=yes
12344 ;;
12345
12346 linux*)
12347 case $cc_basename in
12348 tcc*)
12349 # Fabrice Bellard et al's Tiny C Compiler
12350 ld_shlibs=yes
12351 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12352 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12353 ;;
12354 esac
12355 ;;
12356
12357 *-mlibc)
12358 ;;
12359
12360 netbsd* | netbsdelf*-gnu)
12361 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12362 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12363 else
12364 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12365 fi
12366 hardcode_libdir_flag_spec='-R$libdir'
12367 hardcode_direct=yes
12368 hardcode_shlibpath_var=no
12369 ;;
12370
12371 newsos6)
12372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12373 hardcode_direct=yes
12374 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12375 hardcode_libdir_separator=:
12376 hardcode_shlibpath_var=no
12377 ;;
12378
12379 *nto* | *qnx*)
12380 ;;
12381
12382 openbsd*)
12383 if test -f /usr/libexec/ld.so; then
12384 hardcode_direct=yes
12385 hardcode_shlibpath_var=no
12386 hardcode_direct_absolute=yes
12387 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12388 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12389 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12390 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12391 export_dynamic_flag_spec='$wl-E'
12392 else
12393 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12394 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12395 fi
12396 else
12397 ld_shlibs=no
12398 fi
12399 ;;
12400
12401 os2*)
12402 hardcode_libdir_flag_spec='-L$libdir'
12403 hardcode_minus_L=yes
12404 allow_undefined_flag=unsupported
12405 shrext_cmds=.dll
12406 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12407 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12408 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12409 $ECHO EXPORTS >> $output_objdir/$libname.def~
12410 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12411 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12412 emximp -o $lib $output_objdir/$libname.def'
12413 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12414 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12415 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12416 $ECHO EXPORTS >> $output_objdir/$libname.def~
12417 prefix_cmds="$SED"~
12418 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12419 prefix_cmds="$prefix_cmds -e 1d";
12420 fi~
12421 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12422 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12423 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12424 emximp -o $lib $output_objdir/$libname.def'
12425 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12426 enable_shared_with_static_runtimes=yes
12427 file_list_spec='@'
12428 ;;
12429
12430 osf3*)
12431 if test yes = "$GCC"; then
12432 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12433 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'
12434 else
12435 allow_undefined_flag=' -expect_unresolved \*'
12436 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'
12437 fi
12438 archive_cmds_need_lc='no'
12439 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12440 hardcode_libdir_separator=:
12441 ;;
12442
12443 osf4* | osf5*) # as osf3* with the addition of -msym flag
12444 if test yes = "$GCC"; then
12445 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12446 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'
12447 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12448 else
12449 allow_undefined_flag=' -expect_unresolved \*'
12450 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'
12451 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~
12452 $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'
12453
12454 # Both c and cxx compiler support -rpath directly
12455 hardcode_libdir_flag_spec='-rpath $libdir'
12456 fi
12457 archive_cmds_need_lc='no'
12458 hardcode_libdir_separator=:
12459 ;;
12460
12461 serenity*)
12462 ;;
12463
12464 solaris*)
12465 no_undefined_flag=' -z defs'
12466 if test yes = "$GCC"; then
12467 wlarc='$wl'
12468 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12469 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12470 $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'
12471 else
12472 case `$CC -V 2>&1` in
12473 *"Compilers 5.0"*)
12474 wlarc=''
12475 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12476 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12477 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12478 ;;
12479 *)
12480 wlarc='$wl'
12481 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12482 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12483 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12484 ;;
12485 esac
12486 fi
12487 hardcode_libdir_flag_spec='-R$libdir'
12488 hardcode_shlibpath_var=no
12489 case $host_os in
12490 solaris2.[0-5] | solaris2.[0-5].*) ;;
12491 *)
12492 # The compiler driver will combine and reorder linker options,
12493 # but understands '-z linker_flag'. GCC discards it without '$wl',
12494 # but is careful enough not to reorder.
12495 # Supported since Solaris 2.6 (maybe 2.5.1?)
12496 if test yes = "$GCC"; then
12497 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12498 else
12499 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12500 fi
12501 ;;
12502 esac
12503 link_all_deplibs=yes
12504 ;;
12505
12506 sunos4*)
12507 if test sequent = "$host_vendor"; then
12508 # Use $CC to link under sequent, because it throws in some extra .o
12509 # files that make .init and .fini sections work.
12510 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12511 else
12512 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12513 fi
12514 hardcode_libdir_flag_spec='-L$libdir'
12515 hardcode_direct=yes
12516 hardcode_minus_L=yes
12517 hardcode_shlibpath_var=no
12518 ;;
12519
12520 sysv4)
12521 case $host_vendor in
12522 sni)
12523 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12524 hardcode_direct=yes # is this really true???
12525 ;;
12526 siemens)
12527 ## LD is ld it makes a PLAMLIB
12528 ## CC just makes a GrossModule.
12529 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12530 reload_cmds='$CC -r -o $output$reload_objs'
12531 hardcode_direct=no
12532 ;;
12533 motorola)
12534 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12535 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12536 ;;
12537 esac
12538 runpath_var='LD_RUN_PATH'
12539 hardcode_shlibpath_var=no
12540 ;;
12541
12542 sysv4.3*)
12543 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12544 hardcode_shlibpath_var=no
12545 export_dynamic_flag_spec='-Bexport'
12546 ;;
12547
12548 sysv4*MP*)
12549 if test -d /usr/nec; then
12550 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12551 hardcode_shlibpath_var=no
12552 runpath_var=LD_RUN_PATH
12553 hardcode_runpath_var=yes
12554 ld_shlibs=yes
12555 fi
12556 ;;
12557
12558 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12559 no_undefined_flag='$wl-z,text'
12560 archive_cmds_need_lc=no
12561 hardcode_shlibpath_var=no
12562 runpath_var='LD_RUN_PATH'
12563
12564 if test yes = "$GCC"; then
12565 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12566 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12567 else
12568 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12569 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12570 fi
12571 ;;
12572
12573 sysv5* | sco3.2v5* | sco5v6*)
12574 # Note: We CANNOT use -z defs as we might desire, because we do not
12575 # link with -lc, and that would cause any symbols used from libc to
12576 # always be unresolved, which means just about no library would
12577 # ever link correctly. If we're not using GNU ld we use -z text
12578 # though, which does catch some bad symbols but isn't as heavy-handed
12579 # as -z defs.
12580 no_undefined_flag='$wl-z,text'
12581 allow_undefined_flag='$wl-z,nodefs'
12582 archive_cmds_need_lc=no
12583 hardcode_shlibpath_var=no
12584 hardcode_libdir_flag_spec='$wl-R,$libdir'
12585 hardcode_libdir_separator=':'
12586 link_all_deplibs=yes
12587 export_dynamic_flag_spec='$wl-Bexport'
12588 runpath_var='LD_RUN_PATH'
12589
12590 if test yes = "$GCC"; then
12591 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12592 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12593 else
12594 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12595 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12596 fi
12597 ;;
12598
12599 uts4*)
12600 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12601 hardcode_libdir_flag_spec='-L$libdir'
12602 hardcode_shlibpath_var=no
12603 ;;
12604
12605 *)
12606 ld_shlibs=no
12607 ;;
12608 esac
12609
12610 if test sni = "$host_vendor"; then
12611 case $host in
12612 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12613 export_dynamic_flag_spec='$wl-Blargedynsym'
12614 ;;
12615 esac
12616 fi
12617 fi
12618
12619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12620 printf "%s\n" "$ld_shlibs" >&6; }
12621 test no = "$ld_shlibs" && can_build_shared=no
12622
12623 with_gnu_ld=$with_gnu_ld
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639 #
12640 # Do we need to explicitly link libc?
12641 #
12642 case "x$archive_cmds_need_lc" in
12643 x|xyes)
12644 # Assume -lc should be added
12645 archive_cmds_need_lc=yes
12646
12647 if test yes,yes = "$GCC,$enable_shared"; then
12648 case $archive_cmds in
12649 *'~'*)
12650 # FIXME: we may have to deal with multi-command sequences.
12651 ;;
12652 '$CC '*)
12653 # Test whether the compiler implicitly links with -lc since on some
12654 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12655 # to ld, don't add -lc before -lgcc.
12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12657 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12658 if test ${lt_cv_archive_cmds_need_lc+y}
12659 then :
12660 printf %s "(cached) " >&6
12661 else case e in #(
12662 e) $RM conftest*
12663 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12664
12665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12666 (eval $ac_compile) 2>&5
12667 ac_status=$?
12668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12669 test $ac_status = 0; } 2>conftest.err; then
12670 soname=conftest
12671 lib=conftest
12672 libobjs=conftest.$ac_objext
12673 deplibs=
12674 wl=$lt_prog_compiler_wl
12675 pic_flag=$lt_prog_compiler_pic
12676 compiler_flags=-v
12677 linker_flags=-v
12678 verstring=
12679 output_objdir=.
12680 libname=conftest
12681 lt_save_allow_undefined_flag=$allow_undefined_flag
12682 allow_undefined_flag=
12683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12684 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12685 ac_status=$?
12686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12687 test $ac_status = 0; }
12688 then
12689 lt_cv_archive_cmds_need_lc=no
12690 else
12691 lt_cv_archive_cmds_need_lc=yes
12692 fi
12693 allow_undefined_flag=$lt_save_allow_undefined_flag
12694 else
12695 cat conftest.err 1>&5
12696 fi
12697 $RM conftest*
12698 ;;
12699 esac
12700 fi
12701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12702 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12703 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12704 ;;
12705 esac
12706 fi
12707 ;;
12708 esac
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12862 printf %s "checking dynamic linker characteristics... " >&6; }
12863
12864 if test yes = "$GCC"; then
12865 case $host_os in
12866 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12867 *) lt_awk_arg='/^libraries:/' ;;
12868 esac
12869 case $host_os in
12870 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12871 *) lt_sed_strip_eq='s|=/|/|g' ;;
12872 esac
12873 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12874 case $lt_search_path_spec in
12875 *\;*)
12876 # if the path contains ";" then we assume it to be the separator
12877 # otherwise default to the standard path separator (i.e. ":") - it is
12878 # assumed that no part of a normal pathname contains ";" but that should
12879 # okay in the real world where ";" in dirpaths is itself problematic.
12880 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12881 ;;
12882 *)
12883 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12884 ;;
12885 esac
12886 # Ok, now we have the path, separated by spaces, we can step through it
12887 # and add multilib dir if necessary...
12888 lt_tmp_lt_search_path_spec=
12889 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12890 # ...but if some path component already ends with the multilib dir we assume
12891 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12892 case "$lt_multi_os_dir; $lt_search_path_spec " in
12893 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12894 lt_multi_os_dir=
12895 ;;
12896 esac
12897 for lt_sys_path in $lt_search_path_spec; do
12898 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12899 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12900 elif test -n "$lt_multi_os_dir"; then
12901 test -d "$lt_sys_path" && \
12902 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12903 fi
12904 done
12905 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12906 BEGIN {RS = " "; FS = "/|\n";} {
12907 lt_foo = "";
12908 lt_count = 0;
12909 for (lt_i = NF; lt_i > 0; lt_i--) {
12910 if ($lt_i != "" && $lt_i != ".") {
12911 if ($lt_i == "..") {
12912 lt_count++;
12913 } else {
12914 if (lt_count == 0) {
12915 lt_foo = "/" $lt_i lt_foo;
12916 } else {
12917 lt_count--;
12918 }
12919 }
12920 }
12921 }
12922 if (lt_foo != "") { lt_freq[lt_foo]++; }
12923 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12924 }'`
12925 # AWK program above erroneously prepends '/' to C:/dos/paths
12926 # for these hosts.
12927 case $host_os in
12928 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12929 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12930 esac
12931 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12932 else
12933 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12934 fi
12935 library_names_spec=
12936 libname_spec='lib$name'
12937 soname_spec=
12938 shrext_cmds=.so
12939 postinstall_cmds=
12940 postuninstall_cmds=
12941 finish_cmds=
12942 finish_eval=
12943 shlibpath_var=
12944 shlibpath_overrides_runpath=unknown
12945 version_type=none
12946 dynamic_linker="$host_os ld.so"
12947 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12948 need_lib_prefix=unknown
12949 hardcode_into_libs=no
12950
12951 # when you set need_version to no, make sure it does not cause -set_version
12952 # flags to be left without arguments
12953 need_version=unknown
12954
12955
12956
12957 case $host_os in
12958 aix3*)
12959 version_type=linux # correct to gnu/linux during the next big refactor
12960 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12961 shlibpath_var=LIBPATH
12962
12963 # AIX 3 has no versioning support, so we append a major version to the name.
12964 soname_spec='$libname$release$shared_ext$major'
12965 ;;
12966
12967 aix[4-9]*)
12968 version_type=linux # correct to gnu/linux during the next big refactor
12969 need_lib_prefix=no
12970 need_version=no
12971 hardcode_into_libs=yes
12972 if test ia64 = "$host_cpu"; then
12973 # AIX 5 supports IA64
12974 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12975 shlibpath_var=LD_LIBRARY_PATH
12976 else
12977 # With GCC up to 2.95.x, collect2 would create an import file
12978 # for dependence libraries. The import file would start with
12979 # the line '#! .'. This would cause the generated library to
12980 # depend on '.', always an invalid library. This was fixed in
12981 # development snapshots of GCC prior to 3.0.
12982 case $host_os in
12983 aix4 | aix4.[01] | aix4.[01].*)
12984 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12985 echo ' yes '
12986 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12987 :
12988 else
12989 can_build_shared=no
12990 fi
12991 ;;
12992 esac
12993 # Using Import Files as archive members, it is possible to support
12994 # filename-based versioning of shared library archives on AIX. While
12995 # this would work for both with and without runtime linking, it will
12996 # prevent static linking of such archives. So we do filename-based
12997 # shared library versioning with .so extension only, which is used
12998 # when both runtime linking and shared linking is enabled.
12999 # Unfortunately, runtime linking may impact performance, so we do
13000 # not want this to be the default eventually. Also, we use the
13001 # versioned .so libs for executables only if there is the -brtl
13002 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
13003 # To allow for filename-based versioning support, we need to create
13004 # libNAME.so.V as an archive file, containing:
13005 # *) an Import File, referring to the versioned filename of the
13006 # archive as well as the shared archive member, telling the
13007 # bitwidth (32 or 64) of that shared object, and providing the
13008 # list of exported symbols of that shared object, eventually
13009 # decorated with the 'weak' keyword
13010 # *) the shared object with the F_LOADONLY flag set, to really avoid
13011 # it being seen by the linker.
13012 # At run time we better use the real file rather than another symlink,
13013 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13014
13015 case $with_aix_soname,$aix_use_runtimelinking in
13016 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13017 # soname into executable. Probably we can add versioning support to
13018 # collect2, so additional links can be useful in future.
13019 aix,yes) # traditional libtool
13020 dynamic_linker='AIX unversionable lib.so'
13021 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13022 # instead of lib<name>.a to let people know that these are not
13023 # typical AIX shared libraries.
13024 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13025 ;;
13026 aix,no) # traditional AIX only
13027 dynamic_linker='AIX lib.a(lib.so.V)'
13028 # We preserve .a as extension for shared libraries through AIX4.2
13029 # and later when we are not doing run time linking.
13030 library_names_spec='$libname$release.a $libname.a'
13031 soname_spec='$libname$release$shared_ext$major'
13032 ;;
13033 svr4,*) # full svr4 only
13034 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13035 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13036 # We do not specify a path in Import Files, so LIBPATH fires.
13037 shlibpath_overrides_runpath=yes
13038 ;;
13039 *,yes) # both, prefer svr4
13040 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13041 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13042 # unpreferred sharedlib libNAME.a needs extra handling
13043 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
13044 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
13045 # We do not specify a path in Import Files, so LIBPATH fires.
13046 shlibpath_overrides_runpath=yes
13047 ;;
13048 *,no) # both, prefer aix
13049 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13050 library_names_spec='$libname$release.a $libname.a'
13051 soname_spec='$libname$release$shared_ext$major'
13052 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13053 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
13054 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
13055 ;;
13056 esac
13057 shlibpath_var=LIBPATH
13058 fi
13059 ;;
13060
13061 amigaos*)
13062 case $host_cpu in
13063 powerpc)
13064 # Since July 2007 AmigaOS4 officially supports .so libraries.
13065 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13066 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13067 ;;
13068 m68k)
13069 library_names_spec='$libname.ixlibrary $libname.a'
13070 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13071 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13072 ;;
13073 esac
13074 ;;
13075
13076 beos*)
13077 library_names_spec='$libname$shared_ext'
13078 dynamic_linker="$host_os ld.so"
13079 shlibpath_var=LIBRARY_PATH
13080 ;;
13081
13082 bsdi[45]*)
13083 version_type=linux # correct to gnu/linux during the next big refactor
13084 need_version=no
13085 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13086 soname_spec='$libname$release$shared_ext$major'
13087 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13088 shlibpath_var=LD_LIBRARY_PATH
13089 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13090 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13091 # the default ld.so.conf also contains /usr/contrib/lib and
13092 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13093 # libtool to hard-code these into programs
13094 ;;
13095
13096 cygwin* | mingw* | windows* | pw32* | cegcc*)
13097 version_type=windows
13098 shrext_cmds=.dll
13099 need_version=no
13100 need_lib_prefix=no
13101
13102 case $GCC,$cc_basename in
13103 yes,*)
13104 # gcc
13105 library_names_spec='$libname.dll.a'
13106 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13107 # If user builds GCC with multilib enabled,
13108 # it should just install on $(libdir)
13109 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
13110 if test xyes = x"$multilib"; then
13111 postinstall_cmds='base_file=`basename \$file`~
13112 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13113 dldir=$destdir/`dirname \$dlpath`~
13114 $install_prog $dir/$dlname $destdir/$dlname~
13115 chmod a+x $destdir/$dlname~
13116 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13117 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
13118 fi'
13119 else
13120 postinstall_cmds='base_file=`basename \$file`~
13121 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13122 dldir=$destdir/`dirname \$dlpath`~
13123 test -d \$dldir || mkdir -p \$dldir~
13124 $install_prog $dir/$dlname \$dldir/$dlname~
13125 chmod a+x \$dldir/$dlname~
13126 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13127 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13128 fi'
13129 fi
13130 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13131 dlpath=$dir/\$dldll~
13132 $RM \$dlpath'
13133 shlibpath_overrides_runpath=yes
13134
13135 case $host_os in
13136 cygwin*)
13137 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13138 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13139
13140 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13141 ;;
13142 mingw* | windows* | cegcc*)
13143 # MinGW DLLs use traditional 'lib' prefix
13144 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13145 ;;
13146 pw32*)
13147 # pw32 DLLs use 'pw' prefix rather than 'lib'
13148 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13149 ;;
13150 esac
13151 dynamic_linker='Win32 ld.exe'
13152 ;;
13153
13154 *,cl* | *,icl*)
13155 # Native MSVC or ICC
13156 libname_spec='$name'
13157 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13158 library_names_spec='$libname.dll.lib'
13159
13160 case $build_os in
13161 mingw* | windows*)
13162 sys_lib_search_path_spec=
13163 lt_save_ifs=$IFS
13164 IFS=';'
13165 for lt_path in $LIB
13166 do
13167 IFS=$lt_save_ifs
13168 # Let DOS variable expansion print the short 8.3 style file name.
13169 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13170 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13171 done
13172 IFS=$lt_save_ifs
13173 # Convert to MSYS style.
13174 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13175 ;;
13176 cygwin*)
13177 # Convert to unix form, then to dos form, then back to unix form
13178 # but this time dos style (no spaces!) so that the unix form looks
13179 # like /cygdrive/c/PROGRA~1:/cygdr...
13180 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13181 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13182 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13183 ;;
13184 *)
13185 sys_lib_search_path_spec=$LIB
13186 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13187 # It is most probably a Windows format PATH.
13188 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13189 else
13190 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13191 fi
13192 # FIXME: find the short name or the path components, as spaces are
13193 # common. (e.g. "Program Files" -> "PROGRA~1")
13194 ;;
13195 esac
13196
13197 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13198 postinstall_cmds='base_file=`basename \$file`~
13199 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13200 dldir=$destdir/`dirname \$dlpath`~
13201 test -d \$dldir || mkdir -p \$dldir~
13202 $install_prog $dir/$dlname \$dldir/$dlname'
13203 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13204 dlpath=$dir/\$dldll~
13205 $RM \$dlpath'
13206 shlibpath_overrides_runpath=yes
13207 dynamic_linker='Win32 link.exe'
13208 ;;
13209
13210 *)
13211 # Assume MSVC and ICC wrapper
13212 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13213 dynamic_linker='Win32 ld.exe'
13214 ;;
13215 esac
13216 # FIXME: first we should search . and the directory the executable is in
13217 shlibpath_var=PATH
13218 ;;
13219
13220 darwin* | rhapsody*)
13221 dynamic_linker="$host_os dyld"
13222 version_type=darwin
13223 need_lib_prefix=no
13224 need_version=no
13225 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13226 soname_spec='$libname$release$major$shared_ext'
13227 shlibpath_overrides_runpath=yes
13228 shlibpath_var=DYLD_LIBRARY_PATH
13229 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13230
13231 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13232 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13233 ;;
13234
13235 dgux*)
13236 version_type=linux # correct to gnu/linux during the next big refactor
13237 need_lib_prefix=no
13238 need_version=no
13239 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13240 soname_spec='$libname$release$shared_ext$major'
13241 shlibpath_var=LD_LIBRARY_PATH
13242 ;;
13243
13244 freebsd* | dragonfly* | midnightbsd*)
13245 # DragonFly does not have aout. When/if they implement a new
13246 # versioning mechanism, adjust this.
13247 if test -x /usr/bin/objformat; then
13248 objformat=`/usr/bin/objformat`
13249 else
13250 case $host_os in
13251 freebsd[23].*) objformat=aout ;;
13252 *) objformat=elf ;;
13253 esac
13254 fi
13255 version_type=freebsd-$objformat
13256 case $version_type in
13257 freebsd-elf*)
13258 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13259 soname_spec='$libname$release$shared_ext$major'
13260 need_version=no
13261 need_lib_prefix=no
13262 ;;
13263 freebsd-*)
13264 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13265 need_version=yes
13266 ;;
13267 esac
13268 case $host_cpu in
13269 powerpc64)
13270 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13271 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13274 int test_pointer_size[sizeof (void *) - 5];
13275
13276 _ACEOF
13277 if ac_fn_c_try_compile "$LINENO"
13278 then :
13279 shlibpath_var=LD_LIBRARY_PATH
13280 else case e in #(
13281 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13282 esac
13283 fi
13284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13285 ;;
13286 *)
13287 shlibpath_var=LD_LIBRARY_PATH
13288 ;;
13289 esac
13290 case $host_os in
13291 freebsd2.*)
13292 shlibpath_overrides_runpath=yes
13293 ;;
13294 freebsd3.[01]* | freebsdelf3.[01]*)
13295 shlibpath_overrides_runpath=yes
13296 hardcode_into_libs=yes
13297 ;;
13298 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13299 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13300 shlibpath_overrides_runpath=no
13301 hardcode_into_libs=yes
13302 ;;
13303 *) # from 4.6 on, and DragonFly
13304 shlibpath_overrides_runpath=yes
13305 hardcode_into_libs=yes
13306 ;;
13307 esac
13308 ;;
13309
13310 haiku*)
13311 version_type=linux # correct to gnu/linux during the next big refactor
13312 need_lib_prefix=no
13313 need_version=no
13314 dynamic_linker="$host_os runtime_loader"
13315 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13316 soname_spec='$libname$release$shared_ext$major'
13317 shlibpath_var=LIBRARY_PATH
13318 shlibpath_overrides_runpath=no
13319 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13320 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13321 hardcode_into_libs=no
13322 ;;
13323
13324 hpux9* | hpux10* | hpux11*)
13325 # Give a soname corresponding to the major version so that dld.sl refuses to
13326 # link against other versions.
13327 version_type=sunos
13328 need_lib_prefix=no
13329 need_version=no
13330 case $host_cpu in
13331 ia64*)
13332 shrext_cmds='.so'
13333 hardcode_into_libs=yes
13334 dynamic_linker="$host_os dld.so"
13335 shlibpath_var=LD_LIBRARY_PATH
13336 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13337 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13338 soname_spec='$libname$release$shared_ext$major'
13339 if test 32 = "$HPUX_IA64_MODE"; then
13340 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13341 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13342 else
13343 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13344 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13345 fi
13346 ;;
13347 hppa*64*)
13348 shrext_cmds='.sl'
13349 hardcode_into_libs=yes
13350 dynamic_linker="$host_os dld.sl"
13351 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13352 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13353 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13354 soname_spec='$libname$release$shared_ext$major'
13355 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13356 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13357 ;;
13358 *)
13359 shrext_cmds='.sl'
13360 dynamic_linker="$host_os dld.sl"
13361 shlibpath_var=SHLIB_PATH
13362 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13363 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13364 soname_spec='$libname$release$shared_ext$major'
13365 ;;
13366 esac
13367 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13368 postinstall_cmds='chmod 555 $lib'
13369 # or fails outright, so override atomically:
13370 install_override_mode=555
13371 ;;
13372
13373 interix[3-9]*)
13374 version_type=linux # correct to gnu/linux during the next big refactor
13375 need_lib_prefix=no
13376 need_version=no
13377 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13378 soname_spec='$libname$release$shared_ext$major'
13379 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13380 shlibpath_var=LD_LIBRARY_PATH
13381 shlibpath_overrides_runpath=no
13382 hardcode_into_libs=yes
13383 ;;
13384
13385 irix5* | irix6* | nonstopux*)
13386 case $host_os in
13387 nonstopux*) version_type=nonstopux ;;
13388 *)
13389 if test yes = "$lt_cv_prog_gnu_ld"; then
13390 version_type=linux # correct to gnu/linux during the next big refactor
13391 else
13392 version_type=irix
13393 fi ;;
13394 esac
13395 need_lib_prefix=no
13396 need_version=no
13397 soname_spec='$libname$release$shared_ext$major'
13398 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13399 case $host_os in
13400 irix5* | nonstopux*)
13401 libsuff= shlibsuff=
13402 ;;
13403 *)
13404 case $LD in # libtool.m4 will add one of these switches to LD
13405 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13406 libsuff= shlibsuff= libmagic=32-bit;;
13407 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13408 libsuff=32 shlibsuff=N32 libmagic=N32;;
13409 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13410 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13411 *) libsuff= shlibsuff= libmagic=never-match;;
13412 esac
13413 ;;
13414 esac
13415 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13416 shlibpath_overrides_runpath=no
13417 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13418 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13419 hardcode_into_libs=yes
13420 ;;
13421
13422 # No shared lib support for Linux oldld, aout, or coff.
13423 linux*oldld* | linux*aout* | linux*coff*)
13424 dynamic_linker=no
13425 ;;
13426
13427 linux*android*)
13428 version_type=none # Android doesn't support versioned libraries.
13429 need_lib_prefix=no
13430 need_version=no
13431 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13432 soname_spec='$libname$release$shared_ext'
13433 finish_cmds=
13434 shlibpath_var=LD_LIBRARY_PATH
13435 shlibpath_overrides_runpath=yes
13436
13437 # This implies no fast_install, which is unacceptable.
13438 # Some rework will be needed to allow for fast_install
13439 # before this can be enabled.
13440 hardcode_into_libs=yes
13441
13442 dynamic_linker='Android linker'
13443 # -rpath works at least for libraries that are not overridden by
13444 # libraries installed in system locations.
13445 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13446 ;;
13447
13448 # This must be glibc/ELF.
13449 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13450 version_type=linux # correct to gnu/linux during the next big refactor
13451 need_lib_prefix=no
13452 need_version=no
13453 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13454 soname_spec='$libname$release$shared_ext$major'
13455 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13456 shlibpath_var=LD_LIBRARY_PATH
13457 shlibpath_overrides_runpath=no
13458
13459 # Some binutils ld are patched to set DT_RUNPATH
13460 if test ${lt_cv_shlibpath_overrides_runpath+y}
13461 then :
13462 printf %s "(cached) " >&6
13463 else case e in #(
13464 e) lt_cv_shlibpath_overrides_runpath=no
13465 save_LDFLAGS=$LDFLAGS
13466 save_libdir=$libdir
13467 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13468 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13471
13472 int
13473 main (void)
13474 {
13475
13476 ;
13477 return 0;
13478 }
13479 _ACEOF
13480 if ac_fn_c_try_link "$LINENO"
13481 then :
13482 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13483 then :
13484 lt_cv_shlibpath_overrides_runpath=yes
13485 fi
13486 fi
13487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13488 conftest$ac_exeext conftest.$ac_ext
13489 LDFLAGS=$save_LDFLAGS
13490 libdir=$save_libdir
13491 ;;
13492 esac
13493 fi
13494
13495 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13496
13497 # This implies no fast_install, which is unacceptable.
13498 # Some rework will be needed to allow for fast_install
13499 # before this can be enabled.
13500 hardcode_into_libs=yes
13501
13502 # Ideally, we could use ldconfig to report *all* directories which are
13503 # searched for libraries, however this is still not possible. Aside from not
13504 # being certain /sbin/ldconfig is available, command
13505 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13506 # even though it is searched at run-time. Try to do the best guess by
13507 # appending ld.so.conf contents (and includes) to the search path.
13508 if test -f /etc/ld.so.conf; then
13509 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' ' '`
13510 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13511 fi
13512
13513 # We used to test for /lib/ld.so.1 and disable shared libraries on
13514 # powerpc, because MkLinux only supported shared libraries with the
13515 # GNU dynamic linker. Since this was broken with cross compilers,
13516 # most powerpc-linux boxes support dynamic linking these days and
13517 # people can always --disable-shared, the test was removed, and we
13518 # assume the GNU/Linux dynamic linker is in use.
13519 dynamic_linker='GNU/Linux ld.so'
13520 ;;
13521
13522 netbsdelf*-gnu)
13523 version_type=linux
13524 need_lib_prefix=no
13525 need_version=no
13526 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13527 soname_spec='$libname$release$shared_ext$major'
13528 shlibpath_var=LD_LIBRARY_PATH
13529 shlibpath_overrides_runpath=no
13530 hardcode_into_libs=yes
13531 dynamic_linker='NetBSD ld.elf_so'
13532 ;;
13533
13534 netbsd*)
13535 version_type=sunos
13536 need_lib_prefix=no
13537 need_version=no
13538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13539 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13541 dynamic_linker='NetBSD (a.out) ld.so'
13542 else
13543 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13544 soname_spec='$libname$release$shared_ext$major'
13545 dynamic_linker='NetBSD ld.elf_so'
13546 fi
13547 shlibpath_var=LD_LIBRARY_PATH
13548 shlibpath_overrides_runpath=yes
13549 hardcode_into_libs=yes
13550 ;;
13551
13552 *-mlibc)
13553 version_type=linux # correct to gnu/linux during the next big refactor
13554 need_lib_prefix=no
13555 need_version=no
13556 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13557 soname_spec='$libname$release$shared_ext$major'
13558 dynamic_linker='mlibc ld.so'
13559 shlibpath_var=LD_LIBRARY_PATH
13560 shlibpath_overrides_runpath=no
13561 hardcode_into_libs=yes
13562 ;;
13563
13564 newsos6)
13565 version_type=linux # correct to gnu/linux during the next big refactor
13566 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13567 shlibpath_var=LD_LIBRARY_PATH
13568 shlibpath_overrides_runpath=yes
13569 ;;
13570
13571 *nto* | *qnx*)
13572 version_type=qnx
13573 need_lib_prefix=no
13574 need_version=no
13575 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13576 soname_spec='$libname$release$shared_ext$major'
13577 shlibpath_var=LD_LIBRARY_PATH
13578 shlibpath_overrides_runpath=no
13579 hardcode_into_libs=yes
13580 dynamic_linker='ldqnx.so'
13581 ;;
13582
13583 openbsd*)
13584 version_type=sunos
13585 sys_lib_dlsearch_path_spec=/usr/lib
13586 need_lib_prefix=no
13587 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13588 need_version=no
13589 else
13590 need_version=yes
13591 fi
13592 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13593 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13594 shlibpath_var=LD_LIBRARY_PATH
13595 shlibpath_overrides_runpath=yes
13596 ;;
13597
13598 os2*)
13599 libname_spec='$name'
13600 version_type=windows
13601 shrext_cmds=.dll
13602 need_version=no
13603 need_lib_prefix=no
13604 # OS/2 can only load a DLL with a base name of 8 characters or less.
13605 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13606 v=$($ECHO $release$versuffix | tr -d .-);
13607 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13608 $ECHO $n$v`$shared_ext'
13609 library_names_spec='${libname}_dll.$libext'
13610 dynamic_linker='OS/2 ld.exe'
13611 shlibpath_var=BEGINLIBPATH
13612 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13613 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13614 postinstall_cmds='base_file=`basename \$file`~
13615 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13616 dldir=$destdir/`dirname \$dlpath`~
13617 test -d \$dldir || mkdir -p \$dldir~
13618 $install_prog $dir/$dlname \$dldir/$dlname~
13619 chmod a+x \$dldir/$dlname~
13620 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13621 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13622 fi'
13623 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13624 dlpath=$dir/\$dldll~
13625 $RM \$dlpath'
13626 ;;
13627
13628 osf3* | osf4* | osf5*)
13629 version_type=osf
13630 need_lib_prefix=no
13631 need_version=no
13632 soname_spec='$libname$release$shared_ext$major'
13633 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13634 shlibpath_var=LD_LIBRARY_PATH
13635 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13636 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13637 ;;
13638
13639 rdos*)
13640 dynamic_linker=no
13641 ;;
13642
13643 serenity*)
13644 version_type=linux # correct to gnu/linux during the next big refactor
13645 need_lib_prefix=no
13646 need_version=no
13647 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13648 soname_spec='$libname$release$shared_ext$major'
13649 shlibpath_var=LD_LIBRARY_PATH
13650 shlibpath_overrides_runpath=no
13651 dynamic_linker='SerenityOS LibELF'
13652 ;;
13653
13654 solaris*)
13655 version_type=linux # correct to gnu/linux during the next big refactor
13656 need_lib_prefix=no
13657 need_version=no
13658 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13659 soname_spec='$libname$release$shared_ext$major'
13660 shlibpath_var=LD_LIBRARY_PATH
13661 shlibpath_overrides_runpath=yes
13662 hardcode_into_libs=yes
13663 # ldd complains unless libraries are executable
13664 postinstall_cmds='chmod +x $lib'
13665 ;;
13666
13667 sunos4*)
13668 version_type=sunos
13669 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13670 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13671 shlibpath_var=LD_LIBRARY_PATH
13672 shlibpath_overrides_runpath=yes
13673 if test yes = "$with_gnu_ld"; then
13674 need_lib_prefix=no
13675 fi
13676 need_version=yes
13677 ;;
13678
13679 sysv4 | sysv4.3*)
13680 version_type=linux # correct to gnu/linux during the next big refactor
13681 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13682 soname_spec='$libname$release$shared_ext$major'
13683 shlibpath_var=LD_LIBRARY_PATH
13684 case $host_vendor in
13685 sni)
13686 shlibpath_overrides_runpath=no
13687 need_lib_prefix=no
13688 runpath_var=LD_RUN_PATH
13689 ;;
13690 siemens)
13691 need_lib_prefix=no
13692 ;;
13693 motorola)
13694 need_lib_prefix=no
13695 need_version=no
13696 shlibpath_overrides_runpath=no
13697 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13698 ;;
13699 esac
13700 ;;
13701
13702 sysv4*MP*)
13703 if test -d /usr/nec; then
13704 version_type=linux # correct to gnu/linux during the next big refactor
13705 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13706 soname_spec='$libname$shared_ext.$major'
13707 shlibpath_var=LD_LIBRARY_PATH
13708 fi
13709 ;;
13710
13711 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13712 version_type=sco
13713 need_lib_prefix=no
13714 need_version=no
13715 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13716 soname_spec='$libname$release$shared_ext$major'
13717 shlibpath_var=LD_LIBRARY_PATH
13718 shlibpath_overrides_runpath=yes
13719 hardcode_into_libs=yes
13720 if test yes = "$with_gnu_ld"; then
13721 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13722 else
13723 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13724 case $host_os in
13725 sco3.2v5*)
13726 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13727 ;;
13728 esac
13729 fi
13730 sys_lib_dlsearch_path_spec='/usr/lib'
13731 ;;
13732
13733 tpf*)
13734 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13735 version_type=linux # correct to gnu/linux during the next big refactor
13736 need_lib_prefix=no
13737 need_version=no
13738 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13739 shlibpath_var=LD_LIBRARY_PATH
13740 shlibpath_overrides_runpath=no
13741 hardcode_into_libs=yes
13742 ;;
13743
13744 uts4*)
13745 version_type=linux # correct to gnu/linux during the next big refactor
13746 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13747 soname_spec='$libname$release$shared_ext$major'
13748 shlibpath_var=LD_LIBRARY_PATH
13749 ;;
13750
13751 emscripten*)
13752 version_type=none
13753 need_lib_prefix=no
13754 need_version=no
13755 library_names_spec='$libname$release$shared_ext'
13756 soname_spec='$libname$release$shared_ext'
13757 finish_cmds=
13758 dynamic_linker="Emscripten linker"
13759 lt_prog_compiler_wl=
13760 lt_prog_compiler_pic=
13761 lt_prog_compiler_static=
13762
13763
13764 if test yes = "$GCC"; then
13765 lt_prog_compiler_wl='-Wl,'
13766 lt_prog_compiler_static='-static'
13767
13768 case $host_os in
13769 aix*)
13770 # All AIX code is PIC.
13771 if test ia64 = "$host_cpu"; then
13772 # AIX 5 now supports IA64 processor
13773 lt_prog_compiler_static='-Bstatic'
13774 fi
13775 lt_prog_compiler_pic='-fPIC'
13776 ;;
13777
13778 amigaos*)
13779 case $host_cpu in
13780 powerpc)
13781 # see comment about AmigaOS4 .so support
13782 lt_prog_compiler_pic='-fPIC'
13783 ;;
13784 m68k)
13785 # FIXME: we need at least 68020 code to build shared libraries, but
13786 # adding the '-m68020' flag to GCC prevents building anything better,
13787 # like '-m68040'.
13788 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13789 ;;
13790 esac
13791 ;;
13792
13793 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13794 # PIC is the default for these OSes.
13795 ;;
13796
13797 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13798 # This hack is so that the source file can tell whether it is being
13799 # built for inclusion in a dll (and should export symbols for example).
13800 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13801 # (--disable-auto-import) libraries
13802 lt_prog_compiler_pic='-DDLL_EXPORT'
13803 case $host_os in
13804 os2*)
13805 lt_prog_compiler_static='$wl-static'
13806 ;;
13807 esac
13808 ;;
13809
13810 darwin* | rhapsody*)
13811 # PIC is the default on this platform
13812 # Common symbols not allowed in MH_DYLIB files
13813 lt_prog_compiler_pic='-fno-common'
13814 ;;
13815
13816 haiku*)
13817 # PIC is the default for Haiku.
13818 # The "-static" flag exists, but is broken.
13819 lt_prog_compiler_static=
13820 ;;
13821
13822 hpux*)
13823 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13824 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13825 # sets the default TLS model and affects inlining.
13826 case $host_cpu in
13827 hppa*64*)
13828 # +Z the default
13829 ;;
13830 *)
13831 lt_prog_compiler_pic='-fPIC'
13832 ;;
13833 esac
13834 ;;
13835
13836 interix[3-9]*)
13837 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13838 # Instead, we relocate shared libraries at runtime.
13839 ;;
13840
13841 msdosdjgpp*)
13842 # Just because we use GCC doesn't mean we suddenly get shared libraries
13843 # on systems that don't support them.
13844 lt_prog_compiler_can_build_shared=no
13845 enable_shared=no
13846 ;;
13847
13848 *nto* | *qnx*)
13849 # QNX uses GNU C++, but need to define -shared option too, otherwise
13850 # it will coredump.
13851 lt_prog_compiler_pic='-fPIC -shared'
13852 ;;
13853
13854 sysv4*MP*)
13855 if test -d /usr/nec; then
13856 lt_prog_compiler_pic=-Kconform_pic
13857 fi
13858 ;;
13859
13860 *)
13861 lt_prog_compiler_pic='-fPIC'
13862 ;;
13863 esac
13864
13865 case $cc_basename in
13866 nvcc*) # Cuda Compiler Driver 2.2
13867 lt_prog_compiler_wl='-Xlinker '
13868 if test -n "$lt_prog_compiler_pic"; then
13869 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13870 fi
13871 ;;
13872 esac
13873 else
13874 # PORTME Check for flag to pass linker flags through the system compiler.
13875 case $host_os in
13876 aix*)
13877 lt_prog_compiler_wl='-Wl,'
13878 if test ia64 = "$host_cpu"; then
13879 # AIX 5 now supports IA64 processor
13880 lt_prog_compiler_static='-Bstatic'
13881 else
13882 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13883 fi
13884 ;;
13885
13886 darwin* | rhapsody*)
13887 # PIC is the default on this platform
13888 # Common symbols not allowed in MH_DYLIB files
13889 lt_prog_compiler_pic='-fno-common'
13890 case $cc_basename in
13891 nagfor*)
13892 # NAG Fortran compiler
13893 lt_prog_compiler_wl='-Wl,-Wl,,'
13894 lt_prog_compiler_pic='-PIC'
13895 lt_prog_compiler_static='-Bstatic'
13896 ;;
13897 esac
13898 ;;
13899
13900 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13901 # This hack is so that the source file can tell whether it is being
13902 # built for inclusion in a dll (and should export symbols for example).
13903 lt_prog_compiler_pic='-DDLL_EXPORT'
13904 case $host_os in
13905 os2*)
13906 lt_prog_compiler_static='$wl-static'
13907 ;;
13908 esac
13909 ;;
13910
13911 hpux9* | hpux10* | hpux11*)
13912 lt_prog_compiler_wl='-Wl,'
13913 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13914 # not for PA HP-UX.
13915 case $host_cpu in
13916 hppa*64*|ia64*)
13917 # +Z the default
13918 ;;
13919 *)
13920 lt_prog_compiler_pic='+Z'
13921 ;;
13922 esac
13923 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13924 lt_prog_compiler_static='$wl-a ${wl}archive'
13925 ;;
13926
13927 irix5* | irix6* | nonstopux*)
13928 lt_prog_compiler_wl='-Wl,'
13929 # PIC (with -KPIC) is the default.
13930 lt_prog_compiler_static='-non_shared'
13931 ;;
13932
13933 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13934 case $cc_basename in
13935 # old Intel for x86_64, which still supported -KPIC.
13936 ecc*)
13937 lt_prog_compiler_wl='-Wl,'
13938 lt_prog_compiler_pic='-KPIC'
13939 lt_prog_compiler_static='-static'
13940 ;;
13941 *flang* | ftn | f18* | f95*)
13942 # Flang compiler.
13943 lt_prog_compiler_wl='-Wl,'
13944 lt_prog_compiler_pic='-fPIC'
13945 lt_prog_compiler_static='-static'
13946 ;;
13947 # icc used to be incompatible with GCC.
13948 # ICC 10 doesn't accept -KPIC any more.
13949 icc* | ifort*)
13950 lt_prog_compiler_wl='-Wl,'
13951 lt_prog_compiler_pic='-fPIC'
13952 lt_prog_compiler_static='-static'
13953 ;;
13954 # Lahey Fortran 8.1.
13955 lf95*)
13956 lt_prog_compiler_wl='-Wl,'
13957 lt_prog_compiler_pic='--shared'
13958 lt_prog_compiler_static='--static'
13959 ;;
13960 nagfor*)
13961 # NAG Fortran compiler
13962 lt_prog_compiler_wl='-Wl,-Wl,,'
13963 lt_prog_compiler_pic='-PIC'
13964 lt_prog_compiler_static='-Bstatic'
13965 ;;
13966 tcc*)
13967 # Fabrice Bellard et al's Tiny C Compiler
13968 lt_prog_compiler_wl='-Wl,'
13969 lt_prog_compiler_pic='-fPIC'
13970 lt_prog_compiler_static='-static'
13971 ;;
13972 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13973 # Portland Group compilers (*not* the Pentium gcc compiler,
13974 # which looks to be a dead project)
13975 lt_prog_compiler_wl='-Wl,'
13976 lt_prog_compiler_pic='-fpic'
13977 lt_prog_compiler_static='-Bstatic'
13978 ;;
13979 ccc*)
13980 lt_prog_compiler_wl='-Wl,'
13981 # All Alpha code is PIC.
13982 lt_prog_compiler_static='-non_shared'
13983 ;;
13984 xl* | bgxl* | bgf* | mpixl*)
13985 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13986 lt_prog_compiler_wl='-Wl,'
13987 lt_prog_compiler_pic='-qpic'
13988 lt_prog_compiler_static='-qstaticlink'
13989 ;;
13990 *)
13991 case `$CC -V 2>&1 | $SED 5q` in
13992 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13993 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13994 lt_prog_compiler_pic='-KPIC'
13995 lt_prog_compiler_static='-Bstatic'
13996 lt_prog_compiler_wl=''
13997 ;;
13998 *Sun\ F* | *Sun*Fortran*)
13999 lt_prog_compiler_pic='-KPIC'
14000 lt_prog_compiler_static='-Bstatic'
14001 lt_prog_compiler_wl='-Qoption ld '
14002 ;;
14003 *Sun\ C*)
14004 # Sun C 5.9
14005 lt_prog_compiler_pic='-KPIC'
14006 lt_prog_compiler_static='-Bstatic'
14007 lt_prog_compiler_wl='-Wl,'
14008 ;;
14009 *Intel*\ [CF]*Compiler*)
14010 lt_prog_compiler_wl='-Wl,'
14011 lt_prog_compiler_pic='-fPIC'
14012 lt_prog_compiler_static='-static'
14013 ;;
14014 *Portland\ Group*)
14015 lt_prog_compiler_wl='-Wl,'
14016 lt_prog_compiler_pic='-fpic'
14017 lt_prog_compiler_static='-Bstatic'
14018 ;;
14019 esac
14020 ;;
14021 esac
14022 ;;
14023
14024 newsos6)
14025 lt_prog_compiler_pic='-KPIC'
14026 lt_prog_compiler_static='-Bstatic'
14027 ;;
14028
14029 *-mlibc)
14030 lt_prog_compiler_wl='-Wl,'
14031 lt_prog_compiler_pic='-fPIC'
14032 lt_prog_compiler_static='-static'
14033 ;;
14034
14035 *nto* | *qnx*)
14036 # QNX uses GNU C++, but need to define -shared option too, otherwise
14037 # it will coredump.
14038 lt_prog_compiler_pic='-fPIC -shared'
14039 ;;
14040
14041 osf3* | osf4* | osf5*)
14042 lt_prog_compiler_wl='-Wl,'
14043 # All OSF/1 code is PIC.
14044 lt_prog_compiler_static='-non_shared'
14045 ;;
14046
14047 rdos*)
14048 lt_prog_compiler_static='-non_shared'
14049 ;;
14050
14051 serenity*)
14052 ;;
14053
14054 solaris*)
14055 lt_prog_compiler_pic='-KPIC'
14056 lt_prog_compiler_static='-Bstatic'
14057 case $cc_basename in
14058 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
14059 lt_prog_compiler_wl='-Qoption ld ';;
14060 *)
14061 lt_prog_compiler_wl='-Wl,';;
14062 esac
14063 ;;
14064
14065 sunos4*)
14066 lt_prog_compiler_wl='-Qoption ld '
14067 lt_prog_compiler_pic='-PIC'
14068 lt_prog_compiler_static='-Bstatic'
14069 ;;
14070
14071 sysv4 | sysv4.2uw2* | sysv4.3*)
14072 lt_prog_compiler_wl='-Wl,'
14073 lt_prog_compiler_pic='-KPIC'
14074 lt_prog_compiler_static='-Bstatic'
14075 ;;
14076
14077 sysv4*MP*)
14078 if test -d /usr/nec; then
14079 lt_prog_compiler_pic='-Kconform_pic'
14080 lt_prog_compiler_static='-Bstatic'
14081 fi
14082 ;;
14083
14084 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14085 lt_prog_compiler_wl='-Wl,'
14086 lt_prog_compiler_pic='-KPIC'
14087 lt_prog_compiler_static='-Bstatic'
14088 ;;
14089
14090 unicos*)
14091 lt_prog_compiler_wl='-Wl,'
14092 lt_prog_compiler_can_build_shared=no
14093 ;;
14094
14095 uts4*)
14096 lt_prog_compiler_pic='-pic'
14097 lt_prog_compiler_static='-Bstatic'
14098 ;;
14099
14100 *)
14101 lt_prog_compiler_can_build_shared=no
14102 ;;
14103 esac
14104 fi
14105
14106 case $host_os in
14107 # For platforms that do not support PIC, -DPIC is meaningless:
14108 *djgpp*)
14109 lt_prog_compiler_pic=
14110 ;;
14111 *)
14112 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14113 ;;
14114 esac
14115
14116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14117 printf %s "checking for $compiler option to produce PIC... " >&6; }
14118 if test ${lt_cv_prog_compiler_pic+y}
14119 then :
14120 printf %s "(cached) " >&6
14121 else case e in #(
14122 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
14123 esac
14124 fi
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
14126 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
14127 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
14128
14129 #
14130 # Check to make sure the PIC flag actually works.
14131 #
14132 if test -n "$lt_prog_compiler_pic"; then
14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14134 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
14135 if test ${lt_cv_prog_compiler_pic_works+y}
14136 then :
14137 printf %s "(cached) " >&6
14138 else case e in #(
14139 e) lt_cv_prog_compiler_pic_works=no
14140 ac_outfile=conftest.$ac_objext
14141 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14142 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
14143 # Insert the option either (1) after the last *FLAGS variable, or
14144 # (2) before a word containing "conftest.", or (3) at the end.
14145 # Note that $ac_compile itself does not contain backslashes and begins
14146 # with a dollar sign (not a hyphen), so the echo should work correctly.
14147 # The option is referenced via a variable to avoid confusing sed.
14148 lt_compile=`echo "$ac_compile" | $SED \
14149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14151 -e 's:$: $lt_compiler_flag:'`
14152 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14153 (eval "$lt_compile" 2>conftest.err)
14154 ac_status=$?
14155 cat conftest.err >&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 if (exit $ac_status) && test -s "$ac_outfile"; then
14158 # The compiler can only warn and ignore the option if not recognized
14159 # So say no if there are warnings other than the usual output.
14160 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14161 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14162 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14163 lt_cv_prog_compiler_pic_works=yes
14164 fi
14165 fi
14166 $RM conftest*
14167 ;;
14168 esac
14169 fi
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
14171 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
14172
14173 if test yes = "$lt_cv_prog_compiler_pic_works"; then
14174 case $lt_prog_compiler_pic in
14175 "" | " "*) ;;
14176 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14177 esac
14178 else
14179 lt_prog_compiler_pic=
14180 lt_prog_compiler_can_build_shared=no
14181 fi
14182
14183 fi
14184
14185
14186
14187
14188
14189 #
14190 # Check to make sure the static flag actually works.
14191 #
14192 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14194 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14195 if test ${lt_cv_prog_compiler_static_works+y}
14196 then :
14197 printf %s "(cached) " >&6
14198 else case e in #(
14199 e) lt_cv_prog_compiler_static_works=no
14200 save_LDFLAGS=$LDFLAGS
14201 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14202 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14203 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14204 # The linker can only warn and ignore the option if not recognized
14205 # So say no if there are warnings
14206 if test -s conftest.err; then
14207 # Append any errors to the config.log.
14208 cat conftest.err 1>&5
14209 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14210 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14211 if diff conftest.exp conftest.er2 >/dev/null; then
14212 lt_cv_prog_compiler_static_works=yes
14213 fi
14214 else
14215 lt_cv_prog_compiler_static_works=yes
14216 fi
14217 fi
14218 $RM -r conftest*
14219 LDFLAGS=$save_LDFLAGS
14220 ;;
14221 esac
14222 fi
14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14224 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
14225
14226 if test yes = "$lt_cv_prog_compiler_static_works"; then
14227 :
14228 else
14229 lt_prog_compiler_static=
14230 fi
14231
14232
14233
14234 ='-fPIC'
14235 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
14236 archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
14237 archive_cmds_need_lc=no
14238 no_undefined_flag=
14239 ;;
14240
14241 *)
14242 dynamic_linker=no
14243 ;;
14244 esac
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14246 printf "%s\n" "$dynamic_linker" >&6; }
14247 test no = "$dynamic_linker" && can_build_shared=no
14248
14249 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14250 if test yes = "$GCC"; then
14251 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14252 fi
14253
14254 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14255 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14256 fi
14257
14258 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14259 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14260 fi
14261
14262 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14263 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14264
14265 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14266 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14267
14268 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14269 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14368 printf %s "checking how to hardcode library paths into programs... " >&6; }
14369 hardcode_action=
14370 if test -n "$hardcode_libdir_flag_spec" ||
14371 test -n "$runpath_var" ||
14372 test yes = "$hardcode_automatic"; then
14373
14374 # We can hardcode non-existent directories.
14375 if test no != "$hardcode_direct" &&
14376 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14377 # have to relink, otherwise we might link with an installed library
14378 # when we should be linking with a yet-to-be-installed one
14379 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14380 test no != "$hardcode_minus_L"; then
14381 # Linking always hardcodes the temporary library directory.
14382 hardcode_action=relink
14383 else
14384 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14385 hardcode_action=immediate
14386 fi
14387 else
14388 # We cannot hardcode anything, or else we can only hardcode existing
14389 # directories.
14390 hardcode_action=unsupported
14391 fi
14392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14393 printf "%s\n" "$hardcode_action" >&6; }
14394
14395 if test relink = "$hardcode_action" ||
14396 test yes = "$inherit_rpath"; then
14397 # Fast installation is not supported
14398 enable_fast_install=no
14399 elif test yes = "$shlibpath_overrides_runpath" ||
14400 test no = "$enable_shared"; then
14401 # Fast installation is not necessary
14402 enable_fast_install=needless
14403 fi
14404
14405
14406
14407
14408
14409
14410 if test yes != "$enable_dlopen"; then
14411 enable_dlopen=unknown
14412 enable_dlopen_self=unknown
14413 enable_dlopen_self_static=unknown
14414 else
14415 lt_cv_dlopen=no
14416 lt_cv_dlopen_libs=
14417
14418 case $host_os in
14419 beos*)
14420 lt_cv_dlopen=load_add_on
14421 lt_cv_dlopen_libs=
14422 lt_cv_dlopen_self=yes
14423 ;;
14424
14425 mingw* | windows* | pw32* | cegcc*)
14426 lt_cv_dlopen=LoadLibrary
14427 lt_cv_dlopen_libs=
14428 ;;
14429
14430 cygwin*)
14431 lt_cv_dlopen=dlopen
14432 lt_cv_dlopen_libs=
14433 ;;
14434
14435 darwin*)
14436 # if libdl is installed we need to link against it
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14438 printf %s "checking for dlopen in -ldl... " >&6; }
14439 if test ${ac_cv_lib_dl_dlopen+y}
14440 then :
14441 printf %s "(cached) " >&6
14442 else case e in #(
14443 e) ac_check_lib_save_LIBS=$LIBS
14444 LIBS="-ldl $LIBS"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply.
14451 The 'extern "C"' is for builds by C++ compilers;
14452 although this is not generally supported in C code supporting it here
14453 has little cost and some practical benefit (sr 110532). */
14454 #ifdef __cplusplus
14455 extern "C"
14456 #endif
14457 char dlopen (void);
14458 int
14459 main (void)
14460 {
14461 return dlopen ();
14462 ;
14463 return 0;
14464 }
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"
14467 then :
14468 ac_cv_lib_dl_dlopen=yes
14469 else case e in #(
14470 e) ac_cv_lib_dl_dlopen=no ;;
14471 esac
14472 fi
14473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14474 conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_lib_save_LIBS ;;
14476 esac
14477 fi
14478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14479 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14480 if test "x$ac_cv_lib_dl_dlopen" = xyes
14481 then :
14482 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14483 else case e in #(
14484 e)
14485 lt_cv_dlopen=dyld
14486 lt_cv_dlopen_libs=
14487 lt_cv_dlopen_self=yes
14488 ;;
14489 esac
14490 fi
14491
14492 ;;
14493
14494 tpf*)
14495 # Don't try to run any link tests for TPF. We know it's impossible
14496 # because TPF is a cross-compiler, and we know how we open DSOs.
14497 lt_cv_dlopen=dlopen
14498 lt_cv_dlopen_libs=
14499 lt_cv_dlopen_self=no
14500 ;;
14501
14502 *)
14503 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14504 if test "x$ac_cv_func_shl_load" = xyes
14505 then :
14506 lt_cv_dlopen=shl_load
14507 else case e in #(
14508 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14509 printf %s "checking for shl_load in -ldld... " >&6; }
14510 if test ${ac_cv_lib_dld_shl_load+y}
14511 then :
14512 printf %s "(cached) " >&6
14513 else case e in #(
14514 e) ac_check_lib_save_LIBS=$LIBS
14515 LIBS="-ldld $LIBS"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518
14519 /* Override any GCC internal prototype to avoid an error.
14520 Use char because int might match the return type of a GCC
14521 builtin and then its argument prototype would still apply.
14522 The 'extern "C"' is for builds by C++ compilers;
14523 although this is not generally supported in C code supporting it here
14524 has little cost and some practical benefit (sr 110532). */
14525 #ifdef __cplusplus
14526 extern "C"
14527 #endif
14528 char shl_load (void);
14529 int
14530 main (void)
14531 {
14532 return shl_load ();
14533 ;
14534 return 0;
14535 }
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"
14538 then :
14539 ac_cv_lib_dld_shl_load=yes
14540 else case e in #(
14541 e) ac_cv_lib_dld_shl_load=no ;;
14542 esac
14543 fi
14544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LIBS=$ac_check_lib_save_LIBS ;;
14547 esac
14548 fi
14549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14550 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14551 if test "x$ac_cv_lib_dld_shl_load" = xyes
14552 then :
14553 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14554 else case e in #(
14555 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14556 if test "x$ac_cv_func_dlopen" = xyes
14557 then :
14558 lt_cv_dlopen=dlopen
14559 else case e in #(
14560 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14561 printf %s "checking for dlopen in -ldl... " >&6; }
14562 if test ${ac_cv_lib_dl_dlopen+y}
14563 then :
14564 printf %s "(cached) " >&6
14565 else case e in #(
14566 e) ac_check_lib_save_LIBS=$LIBS
14567 LIBS="-ldl $LIBS"
14568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h. */
14570
14571 /* Override any GCC internal prototype to avoid an error.
14572 Use char because int might match the return type of a GCC
14573 builtin and then its argument prototype would still apply.
14574 The 'extern "C"' is for builds by C++ compilers;
14575 although this is not generally supported in C code supporting it here
14576 has little cost and some practical benefit (sr 110532). */
14577 #ifdef __cplusplus
14578 extern "C"
14579 #endif
14580 char dlopen (void);
14581 int
14582 main (void)
14583 {
14584 return dlopen ();
14585 ;
14586 return 0;
14587 }
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"
14590 then :
14591 ac_cv_lib_dl_dlopen=yes
14592 else case e in #(
14593 e) ac_cv_lib_dl_dlopen=no ;;
14594 esac
14595 fi
14596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14597 conftest$ac_exeext conftest.$ac_ext
14598 LIBS=$ac_check_lib_save_LIBS ;;
14599 esac
14600 fi
14601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14602 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14603 if test "x$ac_cv_lib_dl_dlopen" = xyes
14604 then :
14605 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14606 else case e in #(
14607 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14608 printf %s "checking for dlopen in -lsvld... " >&6; }
14609 if test ${ac_cv_lib_svld_dlopen+y}
14610 then :
14611 printf %s "(cached) " >&6
14612 else case e in #(
14613 e) ac_check_lib_save_LIBS=$LIBS
14614 LIBS="-lsvld $LIBS"
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617
14618 /* Override any GCC internal prototype to avoid an error.
14619 Use char because int might match the return type of a GCC
14620 builtin and then its argument prototype would still apply.
14621 The 'extern "C"' is for builds by C++ compilers;
14622 although this is not generally supported in C code supporting it here
14623 has little cost and some practical benefit (sr 110532). */
14624 #ifdef __cplusplus
14625 extern "C"
14626 #endif
14627 char dlopen (void);
14628 int
14629 main (void)
14630 {
14631 return dlopen ();
14632 ;
14633 return 0;
14634 }
14635 _ACEOF
14636 if ac_fn_c_try_link "$LINENO"
14637 then :
14638 ac_cv_lib_svld_dlopen=yes
14639 else case e in #(
14640 e) ac_cv_lib_svld_dlopen=no ;;
14641 esac
14642 fi
14643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14644 conftest$ac_exeext conftest.$ac_ext
14645 LIBS=$ac_check_lib_save_LIBS ;;
14646 esac
14647 fi
14648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14649 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14650 if test "x$ac_cv_lib_svld_dlopen" = xyes
14651 then :
14652 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14653 else case e in #(
14654 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14655 printf %s "checking for dld_link in -ldld... " >&6; }
14656 if test ${ac_cv_lib_dld_dld_link+y}
14657 then :
14658 printf %s "(cached) " >&6
14659 else case e in #(
14660 e) ac_check_lib_save_LIBS=$LIBS
14661 LIBS="-ldld $LIBS"
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664
14665 /* Override any GCC internal prototype to avoid an error.
14666 Use char because int might match the return type of a GCC
14667 builtin and then its argument prototype would still apply.
14668 The 'extern "C"' is for builds by C++ compilers;
14669 although this is not generally supported in C code supporting it here
14670 has little cost and some practical benefit (sr 110532). */
14671 #ifdef __cplusplus
14672 extern "C"
14673 #endif
14674 char dld_link (void);
14675 int
14676 main (void)
14677 {
14678 return dld_link ();
14679 ;
14680 return 0;
14681 }
14682 _ACEOF
14683 if ac_fn_c_try_link "$LINENO"
14684 then :
14685 ac_cv_lib_dld_dld_link=yes
14686 else case e in #(
14687 e) ac_cv_lib_dld_dld_link=no ;;
14688 esac
14689 fi
14690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14691 conftest$ac_exeext conftest.$ac_ext
14692 LIBS=$ac_check_lib_save_LIBS ;;
14693 esac
14694 fi
14695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14696 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14697 if test "x$ac_cv_lib_dld_dld_link" = xyes
14698 then :
14699 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14700 fi
14701
14702 ;;
14703 esac
14704 fi
14705
14706 ;;
14707 esac
14708 fi
14709
14710 ;;
14711 esac
14712 fi
14713
14714 ;;
14715 esac
14716 fi
14717
14718 ;;
14719 esac
14720 fi
14721
14722 ;;
14723 esac
14724
14725 if test no = "$lt_cv_dlopen"; then
14726 enable_dlopen=no
14727 else
14728 enable_dlopen=yes
14729 fi
14730
14731 case $lt_cv_dlopen in
14732 dlopen)
14733 save_CPPFLAGS=$CPPFLAGS
14734 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14735
14736 save_LDFLAGS=$LDFLAGS
14737 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14738
14739 save_LIBS=$LIBS
14740 LIBS="$lt_cv_dlopen_libs $LIBS"
14741
14742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14743 printf %s "checking whether a program can dlopen itself... " >&6; }
14744 if test ${lt_cv_dlopen_self+y}
14745 then :
14746 printf %s "(cached) " >&6
14747 else case e in #(
14748 e) if test yes = "$cross_compiling"; then :
14749 lt_cv_dlopen_self=cross
14750 else
14751 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14752 lt_status=$lt_dlunknown
14753 cat > conftest.$ac_ext <<_LT_EOF
14754 #line $LINENO "configure"
14755 #include "confdefs.h"
14756
14757 #if HAVE_DLFCN_H
14758 #include <dlfcn.h>
14759 #endif
14760
14761 #include <stdio.h>
14762
14763 #ifdef RTLD_GLOBAL
14764 # define LT_DLGLOBAL RTLD_GLOBAL
14765 #else
14766 # ifdef DL_GLOBAL
14767 # define LT_DLGLOBAL DL_GLOBAL
14768 # else
14769 # define LT_DLGLOBAL 0
14770 # endif
14771 #endif
14772
14773 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14774 find out it does not work in some platform. */
14775 #ifndef LT_DLLAZY_OR_NOW
14776 # ifdef RTLD_LAZY
14777 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14778 # else
14779 # ifdef DL_LAZY
14780 # define LT_DLLAZY_OR_NOW DL_LAZY
14781 # else
14782 # ifdef RTLD_NOW
14783 # define LT_DLLAZY_OR_NOW RTLD_NOW
14784 # else
14785 # ifdef DL_NOW
14786 # define LT_DLLAZY_OR_NOW DL_NOW
14787 # else
14788 # define LT_DLLAZY_OR_NOW 0
14789 # endif
14790 # endif
14791 # endif
14792 # endif
14793 #endif
14794
14795 /* When -fvisibility=hidden is used, assume the code has been annotated
14796 correspondingly for the symbols needed. */
14797 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14798 int fnord (void) __attribute__((visibility("default")));
14799 #endif
14800
14801 int fnord (void) { return 42; }
14802 int main (void)
14803 {
14804 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14805 int status = $lt_dlunknown;
14806
14807 if (self)
14808 {
14809 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14810 else
14811 {
14812 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14813 else puts (dlerror ());
14814 }
14815 /* dlclose (self); */
14816 }
14817 else
14818 puts (dlerror ());
14819
14820 return status;
14821 }
14822 _LT_EOF
14823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14824 (eval $ac_link) 2>&5
14825 ac_status=$?
14826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14827 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14828 (./conftest; exit; ) >&5 2>/dev/null
14829 lt_status=$?
14830 case x$lt_status in
14831 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14832 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14833 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14834 esac
14835 else :
14836 # compilation failed
14837 lt_cv_dlopen_self=no
14838 fi
14839 fi
14840 rm -fr conftest*
14841
14842 ;;
14843 esac
14844 fi
14845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14846 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14847
14848 if test yes = "$lt_cv_dlopen_self"; then
14849 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14851 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14852 if test ${lt_cv_dlopen_self_static+y}
14853 then :
14854 printf %s "(cached) " >&6
14855 else case e in #(
14856 e) if test yes = "$cross_compiling"; then :
14857 lt_cv_dlopen_self_static=cross
14858 else
14859 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14860 lt_status=$lt_dlunknown
14861 cat > conftest.$ac_ext <<_LT_EOF
14862 #line $LINENO "configure"
14863 #include "confdefs.h"
14864
14865 #if HAVE_DLFCN_H
14866 #include <dlfcn.h>
14867 #endif
14868
14869 #include <stdio.h>
14870
14871 #ifdef RTLD_GLOBAL
14872 # define LT_DLGLOBAL RTLD_GLOBAL
14873 #else
14874 # ifdef DL_GLOBAL
14875 # define LT_DLGLOBAL DL_GLOBAL
14876 # else
14877 # define LT_DLGLOBAL 0
14878 # endif
14879 #endif
14880
14881 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14882 find out it does not work in some platform. */
14883 #ifndef LT_DLLAZY_OR_NOW
14884 # ifdef RTLD_LAZY
14885 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14886 # else
14887 # ifdef DL_LAZY
14888 # define LT_DLLAZY_OR_NOW DL_LAZY
14889 # else
14890 # ifdef RTLD_NOW
14891 # define LT_DLLAZY_OR_NOW RTLD_NOW
14892 # else
14893 # ifdef DL_NOW
14894 # define LT_DLLAZY_OR_NOW DL_NOW
14895 # else
14896 # define LT_DLLAZY_OR_NOW 0
14897 # endif
14898 # endif
14899 # endif
14900 # endif
14901 #endif
14902
14903 /* When -fvisibility=hidden is used, assume the code has been annotated
14904 correspondingly for the symbols needed. */
14905 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14906 int fnord (void) __attribute__((visibility("default")));
14907 #endif
14908
14909 int fnord (void) { return 42; }
14910 int main (void)
14911 {
14912 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14913 int status = $lt_dlunknown;
14914
14915 if (self)
14916 {
14917 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14918 else
14919 {
14920 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14921 else puts (dlerror ());
14922 }
14923 /* dlclose (self); */
14924 }
14925 else
14926 puts (dlerror ());
14927
14928 return status;
14929 }
14930 _LT_EOF
14931 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14932 (eval $ac_link) 2>&5
14933 ac_status=$?
14934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14935 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14936 (./conftest; exit; ) >&5 2>/dev/null
14937 lt_status=$?
14938 case x$lt_status in
14939 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14940 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14941 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14942 esac
14943 else :
14944 # compilation failed
14945 lt_cv_dlopen_self_static=no
14946 fi
14947 fi
14948 rm -fr conftest*
14949
14950 ;;
14951 esac
14952 fi
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14954 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14955 fi
14956
14957 CPPFLAGS=$save_CPPFLAGS
14958 LDFLAGS=$save_LDFLAGS
14959 LIBS=$save_LIBS
14960 ;;
14961 esac
14962
14963 case $lt_cv_dlopen_self in
14964 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14965 *) enable_dlopen_self=unknown ;;
14966 esac
14967
14968 case $lt_cv_dlopen_self_static in
14969 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14970 *) enable_dlopen_self_static=unknown ;;
14971 esac
14972 fi
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990 striplib=
14991 old_striplib=
14992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14993 printf %s "checking whether stripping libraries is possible... " >&6; }
14994 if test -z "$STRIP"; then
14995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14996 printf "%s\n" "no" >&6; }
14997 else
14998 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14999 old_striplib="$STRIP --strip-debug"
15000 striplib="$STRIP --strip-unneeded"
15001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15002 printf "%s\n" "yes" >&6; }
15003 else
15004 case $host_os in
15005 darwin*)
15006 # FIXME - insert some real tests, host_os isn't really good enough
15007 striplib="$STRIP -x"
15008 old_striplib="$STRIP -S"
15009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15010 printf "%s\n" "yes" >&6; }
15011 ;;
15012 freebsd*)
15013 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
15014 old_striplib="$STRIP --strip-debug"
15015 striplib="$STRIP --strip-unneeded"
15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15017 printf "%s\n" "yes" >&6; }
15018 else
15019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15020 printf "%s\n" "no" >&6; }
15021 fi
15022 ;;
15023 *)
15024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15025 printf "%s\n" "no" >&6; }
15026 ;;
15027 esac
15028 fi
15029 fi
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042 # Report what library types will actually be built
15043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15044 printf %s "checking if libtool supports shared libraries... " >&6; }
15045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15046 printf "%s\n" "$can_build_shared" >&6; }
15047
15048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15049 printf %s "checking whether to build shared libraries... " >&6; }
15050 test no = "$can_build_shared" && enable_shared=no
15051
15052 # On AIX, shared libraries and static libraries use the same namespace, and
15053 # are all built from PIC.
15054 case $host_os in
15055 aix3*)
15056 test yes = "$enable_shared" && enable_static=no
15057 if test -n "$RANLIB"; then
15058 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15059 postinstall_cmds='$RANLIB $lib'
15060 fi
15061 ;;
15062
15063 aix[4-9]*)
15064 if test ia64 != "$host_cpu"; then
15065 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15066 yes,aix,yes) ;; # shared object as lib.so file only
15067 yes,svr4,*) ;; # shared object as lib.so archive member only
15068 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15069 esac
15070 fi
15071 ;;
15072 esac
15073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15074 printf "%s\n" "$enable_shared" >&6; }
15075
15076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15077 printf %s "checking whether to build static libraries... " >&6; }
15078 # Make sure either enable_shared or enable_static is yes.
15079 test yes = "$enable_shared" || enable_static=yes
15080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15081 printf "%s\n" "$enable_static" >&6; }
15082
15083
15084
15085
15086 fi
15087 ac_ext=c
15088 ac_cpp='$CPP $CPPFLAGS'
15089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15092
15093 CC=$lt_save_CC
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109 ac_config_commands="$ac_config_commands libtool"
15110
15111
15112
15113
15114 # Only expand once:
15115
15116
15117 # (end lt_init)
15118 # Check whether --enable-largefile was given.
15119 if test ${enable_largefile+y}
15120 then :
15121 enableval=$enable_largefile;
15122 fi
15123 if test "$enable_largefile,$enable_year2038" != no,no
15124 then :
15125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
15126 printf %s "checking for $CC option to enable large file support... " >&6; }
15127 if test ${ac_cv_sys_largefile_opts+y}
15128 then :
15129 printf %s "(cached) " >&6
15130 else case e in #(
15131 e) ac_save_CC="$CC"
15132 ac_opt_found=no
15133 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
15134 if test x"$ac_opt" != x"none needed"
15135 then :
15136 CC="$ac_save_CC $ac_opt"
15137 fi
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15140 #include <sys/types.h>
15141 #ifndef FTYPE
15142 # define FTYPE off_t
15143 #endif
15144 /* Check that FTYPE can represent 2**63 - 1 correctly.
15145 We can't simply define LARGE_FTYPE to be 9223372036854775807,
15146 since some C++ compilers masquerading as C compilers
15147 incorrectly reject 9223372036854775807. */
15148 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
15149 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
15150 && LARGE_FTYPE % 2147483647 == 1)
15151 ? 1 : -1];
15152 int
15153 main (void)
15154 {
15155
15156 ;
15157 return 0;
15158 }
15159 _ACEOF
15160 if ac_fn_c_try_compile "$LINENO"
15161 then :
15162 if test x"$ac_opt" = x"none needed"
15163 then :
15164 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
15165 CC="$CC -DFTYPE=ino_t"
15166 if ac_fn_c_try_compile "$LINENO"
15167 then :
15168
15169 else case e in #(
15170 e) CC="$CC -D_FILE_OFFSET_BITS=64"
15171 if ac_fn_c_try_compile "$LINENO"
15172 then :
15173 ac_opt='-D_FILE_OFFSET_BITS=64'
15174 fi
15175 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
15176 esac
15177 fi
15178 rm -f core conftest.err conftest.$ac_objext conftest.beam
15179 fi
15180 ac_cv_sys_largefile_opts=$ac_opt
15181 ac_opt_found=yes
15182 fi
15183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15184 test $ac_opt_found = no || break
15185 done
15186 CC="$ac_save_CC"
15187
15188 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
15189 esac
15190 fi
15191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
15192 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
15193
15194 ac_have_largefile=yes
15195 case $ac_cv_sys_largefile_opts in #(
15196 "none needed") :
15197 ;; #(
15198 "supported through gnulib") :
15199 ;; #(
15200 "support not detected") :
15201 ac_have_largefile=no ;; #(
15202 "-D_FILE_OFFSET_BITS=64") :
15203
15204 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
15205 ;; #(
15206 "-D_LARGE_FILES=1") :
15207
15208 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
15209 ;; #(
15210 "-n32") :
15211 CC="$CC -n32" ;; #(
15212 *) :
15213 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
15214 esac
15215
15216 if test "$enable_year2038" != no
15217 then :
15218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
15219 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
15220 if test ${ac_cv_sys_year2038_opts+y}
15221 then :
15222 printf %s "(cached) " >&6
15223 else case e in #(
15224 e) ac_save_CPPFLAGS="$CPPFLAGS"
15225 ac_opt_found=no
15226 for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
15227 if test x"$ac_opt" != x"none needed"
15228 then :
15229 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
15230 fi
15231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15233
15234 #include <time.h>
15235 /* Check that time_t can represent 2**32 - 1 correctly. */
15236 #define LARGE_TIME_T \\
15237 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
15238 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
15239 && LARGE_TIME_T % 65537 == 0)
15240 ? 1 : -1];
15241
15242 int
15243 main (void)
15244 {
15245
15246 ;
15247 return 0;
15248 }
15249 _ACEOF
15250 if ac_fn_c_try_compile "$LINENO"
15251 then :
15252 ac_cv_sys_year2038_opts="$ac_opt"
15253 ac_opt_found=yes
15254 fi
15255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15256 test $ac_opt_found = no || break
15257 done
15258 CPPFLAGS="$ac_save_CPPFLAGS"
15259 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
15260 esac
15261 fi
15262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
15263 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
15264
15265 ac_have_year2038=yes
15266 case $ac_cv_sys_year2038_opts in #(
15267 "none needed") :
15268 ;; #(
15269 "support not detected") :
15270 ac_have_year2038=no ;; #(
15271 "-D_TIME_BITS=64") :
15272
15273 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
15274 ;; #(
15275 "-D__MINGW_USE_VC2005_COMPAT") :
15276
15277 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
15278 ;; #(
15279 "-U_USE_32_BIT_TIME_T"*) :
15280 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15281 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15282 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
15283 will stop working after mid-January 2038. Remove
15284 _USE_32BIT_TIME_T from the compiler flags.
15285 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15286 *) :
15287 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
15288 esac
15289
15290 fi
15291
15292 fi
15293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
15294 printf %s "checking for declarations of fseeko and ftello... " >&6; }
15295 if test ${ac_cv_func_fseeko_ftello+y}
15296 then :
15297 printf %s "(cached) " >&6
15298 else case e in #(
15299 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15301
15302 #if defined __hpux && !defined _LARGEFILE_SOURCE
15303 # include <limits.h>
15304 # if LONG_MAX >> 31 == 0
15305 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15306 # endif
15307 #endif
15308 #include <sys/types.h> /* for off_t */
15309 #include <stdio.h>
15310
15311 int
15312 main (void)
15313 {
15314
15315 int (*fp1) (FILE *, off_t, int) = fseeko;
15316 off_t (*fp2) (FILE *) = ftello;
15317 return fseeko (stdin, 0, 0)
15318 && fp1 (stdin, 0, 0)
15319 && ftello (stdin) >= 0
15320 && fp2 (stdin) >= 0;
15321
15322 ;
15323 return 0;
15324 }
15325 _ACEOF
15326 if ac_fn_c_try_compile "$LINENO"
15327 then :
15328 ac_cv_func_fseeko_ftello=yes
15329 else case e in #(
15330 e) ac_save_CPPFLAGS="$CPPFLAGS"
15331 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15334
15335 #if defined __hpux && !defined _LARGEFILE_SOURCE
15336 # include <limits.h>
15337 # if LONG_MAX >> 31 == 0
15338 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15339 # endif
15340 #endif
15341 #include <sys/types.h> /* for off_t */
15342 #include <stdio.h>
15343
15344 int
15345 main (void)
15346 {
15347
15348 int (*fp1) (FILE *, off_t, int) = fseeko;
15349 off_t (*fp2) (FILE *) = ftello;
15350 return fseeko (stdin, 0, 0)
15351 && fp1 (stdin, 0, 0)
15352 && ftello (stdin) >= 0
15353 && fp2 (stdin) >= 0;
15354
15355 ;
15356 return 0;
15357 }
15358 _ACEOF
15359 if ac_fn_c_try_compile "$LINENO"
15360 then :
15361 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
15362 else case e in #(
15363 e) ac_cv_func_fseeko_ftello=no ;;
15364 esac
15365 fi
15366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15367 esac
15368 fi
15369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15370 esac
15371 fi
15372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
15373 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
15374 if test "$ac_cv_func_fseeko_ftello" != no
15375 then :
15376
15377 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
15378
15379 fi
15380 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
15381 then :
15382
15383 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
15384
15385 fi
15386
15387 ac_header_dirent=no
15388 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15389 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
15390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15391 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
15392 if eval test \${$as_ac_Header+y}
15393 then :
15394 printf %s "(cached) " >&6
15395 else case e in #(
15396 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15398 #include <sys/types.h>
15399 #include <$ac_hdr>
15400
15401 int
15402 main (void)
15403 {
15404 if ((DIR *) 0)
15405 return 0;
15406 ;
15407 return 0;
15408 }
15409 _ACEOF
15410 if ac_fn_c_try_compile "$LINENO"
15411 then :
15412 eval "$as_ac_Header=yes"
15413 else case e in #(
15414 e) eval "$as_ac_Header=no" ;;
15415 esac
15416 fi
15417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15418 esac
15419 fi
15420 eval ac_res=\$$as_ac_Header
15421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15422 printf "%s\n" "$ac_res" >&6; }
15423 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15424 then :
15425 cat >>confdefs.h <<_ACEOF
15426 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
15427 _ACEOF
15428
15429 ac_header_dirent=$ac_hdr; break
15430 fi
15431
15432 done
15433 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15434 if test $ac_header_dirent = dirent.h; then
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15436 printf %s "checking for library containing opendir... " >&6; }
15437 if test ${ac_cv_search_opendir+y}
15438 then :
15439 printf %s "(cached) " >&6
15440 else case e in #(
15441 e) ac_func_search_save_LIBS=$LIBS
15442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15443 /* end confdefs.h. */
15444
15445 /* Override any GCC internal prototype to avoid an error.
15446 Use char because int might match the return type of a GCC
15447 builtin and then its argument prototype would still apply.
15448 The 'extern "C"' is for builds by C++ compilers;
15449 although this is not generally supported in C code supporting it here
15450 has little cost and some practical benefit (sr 110532). */
15451 #ifdef __cplusplus
15452 extern "C"
15453 #endif
15454 char opendir (void);
15455 int
15456 main (void)
15457 {
15458 return opendir ();
15459 ;
15460 return 0;
15461 }
15462 _ACEOF
15463 for ac_lib in '' dir
15464 do
15465 if test -z "$ac_lib"; then
15466 ac_res="none required"
15467 else
15468 ac_res=-l$ac_lib
15469 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15470 fi
15471 if ac_fn_c_try_link "$LINENO"
15472 then :
15473 ac_cv_search_opendir=$ac_res
15474 fi
15475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15476 conftest$ac_exeext
15477 if test ${ac_cv_search_opendir+y}
15478 then :
15479 break
15480 fi
15481 done
15482 if test ${ac_cv_search_opendir+y}
15483 then :
15484
15485 else case e in #(
15486 e) ac_cv_search_opendir=no ;;
15487 esac
15488 fi
15489 rm conftest.$ac_ext
15490 LIBS=$ac_func_search_save_LIBS ;;
15491 esac
15492 fi
15493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15494 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15495 ac_res=$ac_cv_search_opendir
15496 if test "$ac_res" != no
15497 then :
15498 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15499
15500 fi
15501
15502 else
15503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15504 printf %s "checking for library containing opendir... " >&6; }
15505 if test ${ac_cv_search_opendir+y}
15506 then :
15507 printf %s "(cached) " >&6
15508 else case e in #(
15509 e) ac_func_search_save_LIBS=$LIBS
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15512
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply.
15516 The 'extern "C"' is for builds by C++ compilers;
15517 although this is not generally supported in C code supporting it here
15518 has little cost and some practical benefit (sr 110532). */
15519 #ifdef __cplusplus
15520 extern "C"
15521 #endif
15522 char opendir (void);
15523 int
15524 main (void)
15525 {
15526 return opendir ();
15527 ;
15528 return 0;
15529 }
15530 _ACEOF
15531 for ac_lib in '' x
15532 do
15533 if test -z "$ac_lib"; then
15534 ac_res="none required"
15535 else
15536 ac_res=-l$ac_lib
15537 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15538 fi
15539 if ac_fn_c_try_link "$LINENO"
15540 then :
15541 ac_cv_search_opendir=$ac_res
15542 fi
15543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15544 conftest$ac_exeext
15545 if test ${ac_cv_search_opendir+y}
15546 then :
15547 break
15548 fi
15549 done
15550 if test ${ac_cv_search_opendir+y}
15551 then :
15552
15553 else case e in #(
15554 e) ac_cv_search_opendir=no ;;
15555 esac
15556 fi
15557 rm conftest.$ac_ext
15558 LIBS=$ac_func_search_save_LIBS ;;
15559 esac
15560 fi
15561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15562 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15563 ac_res=$ac_cv_search_opendir
15564 if test "$ac_res" != no
15565 then :
15566 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15567
15568 fi
15569
15570 fi
15571
15572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
15573 printf %s "checking whether closedir returns void... " >&6; }
15574 if test ${ac_cv_func_closedir_void+y}
15575 then :
15576 printf %s "(cached) " >&6
15577 else case e in #(
15578 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 /* end confdefs.h. */
15580
15581 #include <$ac_header_dirent>
15582
15583 int
15584 main (void)
15585 {
15586
15587 return closedir(0);
15588
15589 ;
15590 return 0;
15591 }
15592 _ACEOF
15593 if ac_fn_c_try_compile "$LINENO"
15594 then :
15595 ac_cv_func_closedir_void=no
15596 else case e in #(
15597 e) ac_cv_func_closedir_void=yes ;;
15598 esac
15599 fi
15600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15601 esac
15602 fi
15603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
15604 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
15605 if test $ac_cv_func_closedir_void = yes; then
15606
15607 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
15608
15609 fi
15610
15611 ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
15612 if test "x$ac_cv_header_assert_h" = xyes
15613 then :
15614 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
15615
15616 fi
15617 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
15618 if test "x$ac_cv_header_float_h" = xyes
15619 then :
15620 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
15621
15622 fi
15623 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15624 if test "x$ac_cv_header_limits_h" = xyes
15625 then :
15626 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15627
15628 fi
15629 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
15630 if test "x$ac_cv_header_pwd_h" = xyes
15631 then :
15632 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
15633
15634 fi
15635 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15636 if test "x$ac_cv_header_stdlib_h" = xyes
15637 then :
15638 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15639
15640 fi
15641 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15642 if test "x$ac_cv_header_sys_param_h" = xyes
15643 then :
15644 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
15645
15646 fi
15647
15648 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
15649 if test "x$ac_cv_func_putenv" = xyes
15650 then :
15651 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
15652
15653 fi
15654
15655 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
15656 if test "x$ac_cv_func_getcwd" = xyes
15657 then :
15658 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
15659
15660 fi
15661 ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp"
15662 if test "x$ac_cv_func_memcmp" = xyes
15663 then :
15664 printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h
15665
15666 fi
15667 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
15668 if test "x$ac_cv_func_memcpy" = xyes
15669 then :
15670 printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
15671
15672 fi
15673 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
15674 if test "x$ac_cv_func_mkstemp" = xyes
15675 then :
15676 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15677
15678 fi
15679 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15680 if test "x$ac_cv_func_mktemp" = xyes
15681 then :
15682 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15683
15684 fi
15685 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
15686 if test "x$ac_cv_func_strchr" = xyes
15687 then :
15688 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
15689
15690 fi
15691 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
15692 if test "x$ac_cv_func_strrchr" = xyes
15693 then :
15694 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
15695
15696 fi
15697
15698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15699 printf %s "checking for an ANSI C-conforming const... " >&6; }
15700 if test ${ac_cv_c_const+y}
15701 then :
15702 printf %s "(cached) " >&6
15703 else case e in #(
15704 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15706
15707 int
15708 main (void)
15709 {
15710
15711 #ifndef __cplusplus
15712 /* Ultrix mips cc rejects this sort of thing. */
15713 typedef int charset[2];
15714 const charset cs = { 0, 0 };
15715 /* SunOS 4.1.1 cc rejects this. */
15716 char const *const *pcpcc;
15717 char **ppc;
15718 /* NEC SVR4.0.2 mips cc rejects this. */
15719 struct point {int x, y;};
15720 static struct point const zero = {0,0};
15721 /* IBM XL C 1.02.0.0 rejects this.
15722 It does not let you subtract one const X* pointer from another in
15723 an arm of an if-expression whose if-part is not a constant
15724 expression */
15725 const char *g = "string";
15726 pcpcc = &g + (g ? g-g : 0);
15727 /* HPUX 7.0 cc rejects these. */
15728 ++pcpcc;
15729 ppc = (char**) pcpcc;
15730 pcpcc = (char const *const *) ppc;
15731 { /* SCO 3.2v4 cc rejects this sort of thing. */
15732 char tx;
15733 char *t = &tx;
15734 char const *s = 0 ? (char *) 0 : (char const *) 0;
15735
15736 *t++ = 0;
15737 if (s) return 0;
15738 }
15739 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15740 int x[] = {25, 17};
15741 const int *foo = &x[0];
15742 ++foo;
15743 }
15744 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15745 typedef const int *iptr;
15746 iptr p = 0;
15747 ++p;
15748 }
15749 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
15750 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15751 struct s { int j; const int *ap[3]; } bx;
15752 struct s *b = &bx; b->j = 5;
15753 }
15754 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15755 const int foo = 10;
15756 if (!foo) return 0;
15757 }
15758 return !cs[0] && !zero.x;
15759 #endif
15760
15761 ;
15762 return 0;
15763 }
15764 _ACEOF
15765 if ac_fn_c_try_compile "$LINENO"
15766 then :
15767 ac_cv_c_const=yes
15768 else case e in #(
15769 e) ac_cv_c_const=no ;;
15770 esac
15771 fi
15772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15773 esac
15774 fi
15775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15776 printf "%s\n" "$ac_cv_c_const" >&6; }
15777 if test $ac_cv_c_const = no; then
15778
15779 printf "%s\n" "#define const /**/" >>confdefs.h
15780
15781 fi
15782
15783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15784 printf %s "checking for inline... " >&6; }
15785 if test ${ac_cv_c_inline+y}
15786 then :
15787 printf %s "(cached) " >&6
15788 else case e in #(
15789 e) ac_cv_c_inline=no
15790 for ac_kw in inline __inline__ __inline; do
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15793 #ifndef __cplusplus
15794 typedef int foo_t;
15795 static $ac_kw foo_t static_foo (void) {return 0; }
15796 $ac_kw foo_t foo (void) {return 0; }
15797 #endif
15798
15799 _ACEOF
15800 if ac_fn_c_try_compile "$LINENO"
15801 then :
15802 ac_cv_c_inline=$ac_kw
15803 fi
15804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15805 test "$ac_cv_c_inline" != no && break
15806 done
15807 ;;
15808 esac
15809 fi
15810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15811 printf "%s\n" "$ac_cv_c_inline" >&6; }
15812
15813 case $ac_cv_c_inline in
15814 inline | yes) ;;
15815 *)
15816 case $ac_cv_c_inline in
15817 no) ac_val=;;
15818 *) ac_val=$ac_cv_c_inline;;
15819 esac
15820 cat >>confdefs.h <<_ACEOF
15821 #ifndef __cplusplus
15822 #define inline $ac_val
15823 #endif
15824 _ACEOF
15825 ;;
15826 esac
15827
15828 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15829 if test "x$ac_cv_type_size_t" = xyes
15830 then :
15831
15832 else case e in #(
15833 e)
15834 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
15835 ;;
15836 esac
15837 fi
15838
15839 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
15840 case $ac_cv_c_int64_t in #(
15841 no|yes) ;; #(
15842 *)
15843
15844 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
15845 ;;
15846 esac
15847
15848 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
15849 case $ac_cv_c_uint64_t in #(
15850 no|yes) ;; #(
15851 *)
15852
15853 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
15854
15855
15856 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
15857 ;;
15858 esac
15859
15860 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
15861 *':no:'*) :
15862 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
15863 *) :
15864 ;;
15865 esac
15866 ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
15867 " "$ac_c_undeclared_builtin_options" "CFLAGS"
15868 if test "x$ac_cv_have_decl_isascii" = xyes
15869 then :
15870 ac_have_decl=1
15871 else case e in #(
15872 e) ac_have_decl=0 ;;
15873 esac
15874 fi
15875 printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h
15876
15877 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15878 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
15879 then :
15880
15881 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
15882
15883
15884 fi
15885
15886
15887
15888 ac_config_headers="$ac_config_headers c-auto.h:c-auto.in"
15889
15890
15891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
15892 printf %s "checking whether char is unsigned... " >&6; }
15893 if test ${ac_cv_c_char_unsigned+y}
15894 then :
15895 printf %s "(cached) " >&6
15896 else case e in #(
15897 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 $ac_includes_default
15900 int
15901 main (void)
15902 {
15903 static int test_array [1 - 2 * !(((char) -1) < 0)];
15904 test_array [0] = 0;
15905 return test_array [0];
15906
15907 ;
15908 return 0;
15909 }
15910 _ACEOF
15911 if ac_fn_c_try_compile "$LINENO"
15912 then :
15913 ac_cv_c_char_unsigned=no
15914 else case e in #(
15915 e) ac_cv_c_char_unsigned=yes ;;
15916 esac
15917 fi
15918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15919 esac
15920 fi
15921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
15922 printf "%s\n" "$ac_cv_c_char_unsigned" >&6; }
15923 if test $ac_cv_c_char_unsigned = yes; then
15924 printf "%s\n" "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
15925
15926 fi
15927
15928 # The cast to long int works around a bug in the HP C Compiler
15929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15930 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
15931 # This bug is HP SR number 8606223364.
15932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15933 printf %s "checking size of long... " >&6; }
15934 if test ${ac_cv_sizeof_long+y}
15935 then :
15936 printf %s "(cached) " >&6
15937 else case e in #(
15938 e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"
15939 then :
15940
15941 else case e in #(
15942 e) if test "$ac_cv_type_long" = yes; then
15943 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15944 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15945 as_fn_error 77 "cannot compute sizeof (long)
15946 See 'config.log' for more details" "$LINENO" 5; }
15947 else
15948 ac_cv_sizeof_long=0
15949 fi ;;
15950 esac
15951 fi
15952 ;;
15953 esac
15954 fi
15955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15956 printf "%s\n" "$ac_cv_sizeof_long" >&6; }
15957
15958
15959
15960 printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
15961
15962
15963 ac_fn_c_check_func "$LINENO" "rmdir" "ac_cv_func_rmdir"
15964 if test "x$ac_cv_func_rmdir" = xyes
15965 then :
15966 printf "%s\n" "#define HAVE_RMDIR 1" >>confdefs.h
15967
15968 fi
15969 ac_fn_c_check_func "$LINENO" "unlink" "ac_cv_func_unlink"
15970 if test "x$ac_cv_func_unlink" = xyes
15971 then :
15972 printf "%s\n" "#define HAVE_UNLINK 1" >>confdefs.h
15973
15974 fi
15975 ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
15976 if test "x$ac_cv_func_mkdtemp" = xyes
15977 then :
15978 printf "%s\n" "#define HAVE_MKDTEMP 1" >>confdefs.h
15979
15980 fi
15981 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15982 if test "x$ac_cv_func_mktemp" = xyes
15983 then :
15984 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15985
15986 fi
15987
15988
15989 kpse_save_CPPFLAGS=$CPPFLAGS
15990 kpse_save_LIBS=$LIBS
15991
15992 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
15993 kpse_BLD=`(cd "./../../." && pwd)`
15994 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
15995
15996 echo 'tldbg:_KPSE_USE_LIBTOOL called, libtool package version: 2.5.4' >&5
15997 : ${CONFIG_LT=./config.lt}
15998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
15999 printf "%s\n" "$as_me: creating $CONFIG_LT" >&6;}
16000 as_write_fail=0
16001 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
16002 #! $SHELL
16003 # Generated by $as_me.
16004 # Run this file to recreate a libtool stub with the current configuration.
16005 SHELL=\${CONFIG_SHELL-$SHELL}
16006 export SHELL
16007 _ASEOF
16008 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
16009 ## -------------------- ##
16010 ## M4sh Initialization. ##
16011 ## -------------------- ##
16012
16013 # Be more Bourne compatible
16014 DUALCASE=1; export DUALCASE # for MKS sh
16015 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
16016 then :
16017 emulate sh
16018 NULLCMD=:
16019 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16020 # is contrary to our usage. Disable this feature.
16021 alias -g '${1+"$@"}'='"$@"'
16022 setopt NO_GLOB_SUBST
16023 else case e in #(
16024 e) case `(set -o) 2>/dev/null` in #(
16025 *posix*) :
16026 set -o posix ;; #(
16027 *) :
16028 ;;
16029 esac ;;
16030 esac
16031 fi
16032
16033
16034
16035 # Reset variables that may have inherited troublesome values from
16036 # the environment.
16037
16038 # IFS needs to be set, to space, tab, and newline, in precisely that order.
16039 # (If _AS_PATH_WALK were called with IFS unset, it would have the
16040 # side effect of setting IFS to empty, thus disabling word splitting.)
16041 # Quoting is to prevent editors from complaining about space-tab.
16042 as_nl='
16043 '
16044 export as_nl
16045 IFS=" "" $as_nl"
16046
16047 PS1='$ '
16048 PS2='> '
16049 PS4='+ '
16050
16051 # Ensure predictable behavior from utilities with locale-dependent output.
16052 LC_ALL=C
16053 export LC_ALL
16054 LANGUAGE=C
16055 export LANGUAGE
16056
16057 # We cannot yet rely on "unset" to work, but we need these variables
16058 # to be unset--not just set to an empty or harmless value--now, to
16059 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
16060 # also avoids known problems related to "unset" and subshell syntax
16061 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
16062 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
16063 do eval test \${$as_var+y} \
16064 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16065 done
16066
16067 # Ensure that fds 0, 1, and 2 are open.
16068 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
16069 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
16070 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
16071
16072 # The user is always right.
16073 if ${PATH_SEPARATOR+false} :; then
16074 PATH_SEPARATOR=:
16075 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16076 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16077 PATH_SEPARATOR=';'
16078 }
16079 fi
16080
16081
16082 # Find who we are. Look in the path if we contain no directory separator.
16083 as_myself=
16084 case $0 in #((
16085 *[\\/]* ) as_myself=$0 ;;
16086 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16087 for as_dir in $PATH
16088 do
16089 IFS=$as_save_IFS
16090 case $as_dir in #(((
16091 '') as_dir=./ ;;
16092 */) ;;
16093 *) as_dir=$as_dir/ ;;
16094 esac
16095 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
16096 done
16097 IFS=$as_save_IFS
16098
16099 ;;
16100 esac
16101 # We did not find ourselves, most probably we were run as 'sh COMMAND'
16102 # in which case we are not to be found in the path.
16103 if test "x$as_myself" = x; then
16104 as_myself=$0
16105 fi
16106 if test ! -f "$as_myself"; then
16107 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16108 exit 1
16109 fi
16110
16111
16112
16113 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16114 # ----------------------------------------
16115 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16116 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16117 # script with STATUS, using 1 if that was 0.
16118 as_fn_error ()
16119 {
16120 as_status=$1; test $as_status -eq 0 && as_status=1
16121 if test "$4"; then
16122 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16124 fi
16125 printf "%s\n" "$as_me: error: $2" >&2
16126 as_fn_exit $as_status
16127 } # as_fn_error
16128
16129
16130 # as_fn_set_status STATUS
16131 # -----------------------
16132 # Set $? to STATUS, without forking.
16133 as_fn_set_status ()
16134 {
16135 return $1
16136 } # as_fn_set_status
16137
16138 # as_fn_exit STATUS
16139 # -----------------
16140 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16141 as_fn_exit ()
16142 {
16143 set +e
16144 as_fn_set_status $1
16145 exit $1
16146 } # as_fn_exit
16147
16148 # as_fn_unset VAR
16149 # ---------------
16150 # Portably unset VAR.
16151 as_fn_unset ()
16152 {
16153 { eval $1=; unset $1;}
16154 }
16155 as_unset=as_fn_unset
16156
16157 # as_fn_append VAR VALUE
16158 # ----------------------
16159 # Append the text in VALUE to the end of the definition contained in VAR. Take
16160 # advantage of any shell optimizations that allow amortized linear growth over
16161 # repeated appends, instead of the typical quadratic growth present in naive
16162 # implementations.
16163 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
16164 then :
16165 eval 'as_fn_append ()
16166 {
16167 eval $1+=\$2
16168 }'
16169 else case e in #(
16170 e) as_fn_append ()
16171 {
16172 eval $1=\$$1\$2
16173 } ;;
16174 esac
16175 fi # as_fn_append
16176
16177 # as_fn_arith ARG...
16178 # ------------------
16179 # Perform arithmetic evaluation on the ARGs, and store the result in the
16180 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16181 # must be portable across $(()) and expr.
16182 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
16183 then :
16184 eval 'as_fn_arith ()
16185 {
16186 as_val=$(( $* ))
16187 }'
16188 else case e in #(
16189 e) as_fn_arith ()
16190 {
16191 as_val=`expr "$@" || test $? -eq 1`
16192 } ;;
16193 esac
16194 fi # as_fn_arith
16195
16196
16197 if expr a : '\(a\)' >/dev/null 2>&1 &&
16198 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16199 as_expr=expr
16200 else
16201 as_expr=false
16202 fi
16203
16204 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16205 as_basename=basename
16206 else
16207 as_basename=false
16208 fi
16209
16210 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16211 as_dirname=dirname
16212 else
16213 as_dirname=false
16214 fi
16215
16216 as_me=`$as_basename -- "$0" ||
16217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16218 X"$0" : 'X\(//\)$' \| \
16219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16220 printf "%s\n" X/"$0" |
16221 sed '/^.*\/\([^/][^/]*\)\/*$/{
16222 s//\1/
16223 q
16224 }
16225 /^X\/\(\/\/\)$/{
16226 s//\1/
16227 q
16228 }
16229 /^X\/\(\/\).*/{
16230 s//\1/
16231 q
16232 }
16233 s/.*/./; q'`
16234
16235 # Avoid depending upon Character Ranges.
16236 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16237 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16238 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16239 as_cr_digits='0123456789'
16240 as_cr_alnum=$as_cr_Letters$as_cr_digits
16241
16242
16243 # Determine whether it's possible to make 'echo' print without a newline.
16244 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
16245 # for compatibility with existing Makefiles.
16246 ECHO_C= ECHO_N= ECHO_T=
16247 case `echo -n x` in #(((((
16248 -n*)
16249 case `echo 'xy\c'` in
16250 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16251 xy) ECHO_C='\c';;
16252 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16253 ECHO_T=' ';;
16254 esac;;
16255 *)
16256 ECHO_N='-n';;
16257 esac
16258
16259 # For backward compatibility with old third-party macros, we provide
16260 # the shell variables $as_echo and $as_echo_n. New code should use
16261 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16262 as_echo='printf %s\n'
16263 as_echo_n='printf %s'
16264
16265 rm -f conf$$ conf$$.exe conf$$.file
16266 if test -d conf$$.dir; then
16267 rm -f conf$$.dir/conf$$.file
16268 else
16269 rm -f conf$$.dir
16270 mkdir conf$$.dir 2>/dev/null
16271 fi
16272 if (echo >conf$$.file) 2>/dev/null; then
16273 if ln -s conf$$.file conf$$ 2>/dev/null; then
16274 as_ln_s='ln -s'
16275 # ... but there are two gotchas:
16276 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
16277 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
16278 # In both cases, we have to default to 'cp -pR'.
16279 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16280 as_ln_s='cp -pR'
16281 elif ln conf$$.file conf$$ 2>/dev/null; then
16282 as_ln_s=ln
16283 else
16284 as_ln_s='cp -pR'
16285 fi
16286 else
16287 as_ln_s='cp -pR'
16288 fi
16289 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16290 rmdir conf$$.dir 2>/dev/null
16291
16292
16293 # as_fn_mkdir_p
16294 # -------------
16295 # Create "$as_dir" as a directory, including parents if necessary.
16296 as_fn_mkdir_p ()
16297 {
16298
16299 case $as_dir in #(
16300 -*) as_dir=./$as_dir;;
16301 esac
16302 test -d "$as_dir" || eval $as_mkdir_p || {
16303 as_dirs=
16304 while :; do
16305 case $as_dir in #(
16306 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16307 *) as_qdir=$as_dir;;
16308 esac
16309 as_dirs="'$as_qdir' $as_dirs"
16310 as_dir=`$as_dirname -- "$as_dir" ||
16311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16312 X"$as_dir" : 'X\(//\)[^/]' \| \
16313 X"$as_dir" : 'X\(//\)$' \| \
16314 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16315 printf "%s\n" X"$as_dir" |
16316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16317 s//\1/
16318 q
16319 }
16320 /^X\(\/\/\)[^/].*/{
16321 s//\1/
16322 q
16323 }
16324 /^X\(\/\/\)$/{
16325 s//\1/
16326 q
16327 }
16328 /^X\(\/\).*/{
16329 s//\1/
16330 q
16331 }
16332 s/.*/./; q'`
16333 test -d "$as_dir" && break
16334 done
16335 test -z "$as_dirs" || eval "mkdir $as_dirs"
16336 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16337
16338
16339 } # as_fn_mkdir_p
16340 if mkdir -p . 2>/dev/null; then
16341 as_mkdir_p='mkdir -p "$as_dir"'
16342 else
16343 test -d ./-p && rmdir ./-p
16344 as_mkdir_p=false
16345 fi
16346
16347
16348 # as_fn_executable_p FILE
16349 # -----------------------
16350 # Test if FILE is an executable regular file.
16351 as_fn_executable_p ()
16352 {
16353 test -f "$1" && test -x "$1"
16354 } # as_fn_executable_p
16355 as_test_x='test -x'
16356 as_executable_p=as_fn_executable_p
16357
16358 # Sed expression to map a string onto a valid CPP name.
16359 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16360 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
16361
16362 # Sed expression to map a string onto a valid variable name.
16363 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16364 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
16365
16366
16367 exec 6>&1
16368 ## --------------------------------- ##
16369 ## Main body of "$CONFIG_LT" script. ##
16370 ## --------------------------------- ##
16371 _ASEOF
16372 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16373
16374 cat >>"$CONFIG_LT" <<\_LTEOF
16375 lt_cl_silent=false
16376 exec 5>>config.log
16377 {
16378 echo
16379 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16380 ## Running $as_me. ##
16381 _ASBOX
16382 } >&5
16383
16384 lt_cl_help="\
16385 '$as_me' creates a local libtool stub from the current configuration,
16386 for use in further configure time tests before the real libtool is
16387 generated.
16388
16389 Usage: $0 [OPTIONS]
16390
16391 -h, --help print this help, then exit
16392 -V, --version print version number, then exit
16393 -q, --quiet do not print progress messages
16394 -d, --debug don't remove temporary files
16395
16396 Report bugs to <[email protected]>."
16397
16398 lt_cl_version="\
16399 dviljk (TeX Live) config.lt 2.6p5
16400 configured by $0, generated by GNU Autoconf 2.72.
16401
16402 Copyright (C) 2024 Free Software Foundation, Inc.
16403 This config.lt script is free software; the Free Software Foundation
16404 gives unlimited permission to copy, distribute and modify it."
16405
16406 while test 0 != $#
16407 do
16408 case $1 in
16409 --version | --v* | -V )
16410 echo "$lt_cl_version"; exit 0 ;;
16411 --help | --h* | -h )
16412 echo "$lt_cl_help"; exit 0 ;;
16413 --debug | --d* | -d )
16414 debug=: ;;
16415 --quiet | --q* | --silent | --s* | -q )
16416 lt_cl_silent=: ;;
16417
16418 -*) as_fn_error $? "unrecognized option: $1
16419 Try '$0 --help' for more information." "$LINENO" 5 ;;
16420
16421 *) as_fn_error $? "unrecognized argument: $1
16422 Try '$0 --help' for more information." "$LINENO" 5 ;;
16423 esac
16424 shift
16425 done
16426
16427 if $lt_cl_silent; then
16428 exec 6>/dev/null
16429 fi
16430 _LTEOF
16431
16432 cat >>"$CONFIG_LT" <<_LTEOF
16433
16434
16435 # The HP-UX ksh and POSIX shell print the target directory to stdout
16436 # if CDPATH is set.
16437 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16438
16439 sed_quote_subst='$sed_quote_subst'
16440 double_quote_subst='$double_quote_subst'
16441 delay_variable_subst='$delay_variable_subst'
16442 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16443 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16444 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16445 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16446 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16447 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16448 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16449 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16450 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16451 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16452 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16453 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16454 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16455 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16456 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16457 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16458 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16459 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16460 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16461 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16462 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16463 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16464 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16465 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16466 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16467 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16468 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16469 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16470 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16471 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16472 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16473 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16474 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16475 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16476 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16477 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16478 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16479 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16480 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16481 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16482 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16483 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16484 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16485 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16486 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16487 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16488 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16489 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16490 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16491 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16492 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16493 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16494 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16495 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16496 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16497 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16498 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16499 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16500 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16501 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16502 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16503 lt_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"`'
16504 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16505 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16506 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16507 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16508 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16509 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16510 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16511 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16512 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16513 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16514 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16515 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16516 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16517 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16518 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16519 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16520 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16521 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16522 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16523 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16524 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16525 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16526 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16527 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16528 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16529 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16530 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16531 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16532 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16533 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16534 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16535 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16536 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16537 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16538 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16539 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16540 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16541 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16542 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16543 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16544 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16545 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16546 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16547 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16548 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16549 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16550 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16551 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16552 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16553 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16554 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16555 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16556 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16557 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16558 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16559 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16560 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16561 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16562 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16563 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16564 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16565 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16566 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16567 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16568 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16569 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16570 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16571 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16572 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16573 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16574 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16575 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16576 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16577 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16578 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16579 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16580
16581 LTCC='$LTCC'
16582 LTCFLAGS='$LTCFLAGS'
16583 compiler='$compiler_DEFAULT'
16584
16585 # A function that is used when there is no print builtin or printf.
16586 func_fallback_echo ()
16587 {
16588 eval 'cat <<_LTECHO_EOF
16589 \$1
16590 _LTECHO_EOF'
16591 }
16592
16593 # Quote evaled strings.
16594 for var in AS \
16595 DLLTOOL \
16596 OBJDUMP \
16597 SHELL \
16598 ECHO \
16599 PATH_SEPARATOR \
16600 SED \
16601 GREP \
16602 EGREP \
16603 FGREP \
16604 LD \
16605 NM \
16606 LN_S \
16607 lt_SP2NL \
16608 lt_NL2SP \
16609 reload_flag \
16610 FILECMD \
16611 deplibs_check_method \
16612 file_magic_cmd \
16613 file_magic_glob \
16614 want_nocaseglob \
16615 sharedlib_from_linklib_cmd \
16616 AR \
16617 archiver_list_spec \
16618 STRIP \
16619 RANLIB \
16620 CC \
16621 CFLAGS \
16622 compiler \
16623 lt_cv_sys_global_symbol_pipe \
16624 lt_cv_sys_global_symbol_to_cdecl \
16625 lt_cv_sys_global_symbol_to_import \
16626 lt_cv_sys_global_symbol_to_c_name_address \
16627 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16628 lt_cv_nm_interface \
16629 nm_file_list_spec \
16630 lt_cv_truncate_bin \
16631 lt_prog_compiler_no_builtin_flag \
16632 lt_prog_compiler_pic \
16633 lt_prog_compiler_wl \
16634 lt_prog_compiler_static \
16635 lt_cv_prog_compiler_c_o \
16636 need_locks \
16637 MANIFEST_TOOL \
16638 DSYMUTIL \
16639 NMEDIT \
16640 LIPO \
16641 OTOOL \
16642 OTOOL64 \
16643 shrext_cmds \
16644 export_dynamic_flag_spec \
16645 whole_archive_flag_spec \
16646 compiler_needs_object \
16647 with_gnu_ld \
16648 allow_undefined_flag \
16649 no_undefined_flag \
16650 hardcode_libdir_flag_spec \
16651 hardcode_libdir_separator \
16652 exclude_expsyms \
16653 include_expsyms \
16654 file_list_spec \
16655 variables_saved_for_relink \
16656 libname_spec \
16657 library_names_spec \
16658 soname_spec \
16659 install_override_mode \
16660 finish_eval \
16661 old_striplib \
16662 striplib; do
16663 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16664 *[\\\\\\\`\\"\\\$]*)
16665 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16666 ;;
16667 *)
16668 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16669 ;;
16670 esac
16671 done
16672
16673 # Double-quote double-evaled strings.
16674 for var in reload_cmds \
16675 old_postinstall_cmds \
16676 old_postuninstall_cmds \
16677 old_archive_cmds \
16678 extract_expsyms_cmds \
16679 old_archive_from_new_cmds \
16680 old_archive_from_expsyms_cmds \
16681 archive_cmds \
16682 archive_expsym_cmds \
16683 module_cmds \
16684 module_expsym_cmds \
16685 export_symbols_cmds \
16686 prelink_cmds \
16687 postlink_cmds \
16688 postinstall_cmds \
16689 postuninstall_cmds \
16690 finish_cmds \
16691 sys_lib_search_path_spec \
16692 configure_time_dlsearch_path \
16693 configure_time_lt_sys_library_path; do
16694 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16695 *[\\\\\\\`\\"\\\$]*)
16696 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16697 ;;
16698 *)
16699 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16700 ;;
16701 esac
16702 done
16703
16704 ac_aux_dir='$ac_aux_dir'
16705
16706 # See if we are running on zsh, and set the options that allow our
16707 # commands through without removal of \ escapes INIT.
16708 if test -n "\${ZSH_VERSION+set}"; then
16709 setopt NO_GLOB_SUBST
16710 fi
16711
16712
16713 PACKAGE='$PACKAGE'
16714 VERSION='$VERSION'
16715 RM='$RM'
16716 ofile='$ofile'
16717
16718
16719
16720 _LTEOF
16721
16722 cat >>"$CONFIG_LT" <<\_LTEOF
16723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
16724 printf "%s\n" "$as_me: creating $ofile" >&6;}
16725
16726
16727 # See if we are running on zsh, and set the options that allow our
16728 # commands through without removal of \ escapes.
16729 if test -n "${ZSH_VERSION+set}"; then
16730 setopt NO_GLOB_SUBST
16731 fi
16732
16733 cfgfile=${ofile}T
16734 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16735 $RM "$cfgfile"
16736
16737 cat <<_LT_EOF >> "$cfgfile"
16738 #! $SHELL
16739 # Generated automatically by $as_me ($PACKAGE) $VERSION
16740 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16741
16742 # Provide generalized library-building support services.
16743 # Written by Gordon Matzigkeit, 1996
16744
16745 # Copyright (C) 2024 Free Software Foundation, Inc.
16746 # This is free software; see the source for copying conditions. There is NO
16747 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16748
16749 # GNU Libtool is free software; you can redistribute it and/or modify
16750 # it under the terms of the GNU General Public License as published by
16751 # the Free Software Foundation; either version 2 of the License, or
16752 # (at your option) any later version.
16753 #
16754 # As a special exception to the GNU General Public License, if you
16755 # distribute this file as part of a program or library that is built
16756 # using GNU Libtool, you may include this file under the same
16757 # distribution terms that you use for the rest of that program.
16758 #
16759 # GNU Libtool is distributed in the hope that it will be useful, but
16760 # WITHOUT ANY WARRANTY; without even the implied warranty of
16761 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16762 # GNU General Public License for more details.
16763 #
16764 # You should have received a copy of the GNU General Public License
16765 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16766
16767
16768 # The names of the tagged configurations supported by this script.
16769 available_tags=''
16770
16771 # Configured defaults for sys_lib_dlsearch_path munging.
16772 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16773
16774 # ### BEGIN LIBTOOL CONFIG
16775
16776 # Which release of libtool.m4 was used?
16777 macro_version=$macro_version
16778 macro_revision=$macro_revision
16779
16780 # Assembler program.
16781 AS=$lt_AS
16782
16783 # DLL creation program.
16784 DLLTOOL=$lt_DLLTOOL
16785
16786 # Object dumper program.
16787 OBJDUMP=$lt_OBJDUMP
16788
16789 # Whether or not to build shared libraries.
16790 build_libtool_libs=$enable_shared
16791
16792 # Whether or not to build static libraries.
16793 build_old_libs=$enable_static
16794
16795 # What type of objects to build.
16796 pic_mode=$pic_mode
16797
16798 # Whether or not to optimize for fast installation.
16799 fast_install=$enable_fast_install
16800
16801 # Shared archive member basename,for filename based shared library versioning on AIX.
16802 shared_archive_member_spec=$shared_archive_member_spec
16803
16804 # Shell to use when invoking shell scripts.
16805 SHELL=$lt_SHELL
16806
16807 # An echo program that protects backslashes.
16808 ECHO=$lt_ECHO
16809
16810 # The PATH separator for the build system.
16811 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16812
16813 # The host system.
16814 host_alias=$host_alias
16815 host=$host
16816 host_os=$host_os
16817
16818 # The build system.
16819 build_alias=$build_alias
16820 build=$build
16821 build_os=$build_os
16822
16823 # A sed program that does not truncate output.
16824 SED=$lt_SED
16825
16826 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16827 Xsed="\$SED -e 1s/^X//"
16828
16829 # A grep program that handles long lines.
16830 GREP=$lt_GREP
16831
16832 # An ERE matcher.
16833 EGREP=$lt_EGREP
16834
16835 # A literal string matcher.
16836 FGREP=$lt_FGREP
16837
16838 # A BSD- or MS-compatible name lister.
16839 NM=$lt_NM
16840
16841 # Whether we need soft or hard links.
16842 LN_S=$lt_LN_S
16843
16844 # What is the maximum length of a command?
16845 max_cmd_len=$max_cmd_len
16846
16847 # Object file suffix (normally "o").
16848 objext=$ac_objext
16849
16850 # Executable file suffix (normally "").
16851 exeext=$exeext
16852
16853 # whether the shell understands "unset".
16854 lt_unset=$lt_unset
16855
16856 # turn spaces into newlines.
16857 SP2NL=$lt_lt_SP2NL
16858
16859 # turn newlines into spaces.
16860 NL2SP=$lt_lt_NL2SP
16861
16862 # convert \$build file names to \$host format.
16863 to_host_file_cmd=$lt_cv_to_host_file_cmd
16864
16865 # convert \$build files to toolchain format.
16866 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16867
16868 # A file(cmd) program that detects file types.
16869 FILECMD=$lt_FILECMD
16870
16871 # Method to check whether dependent libraries are shared objects.
16872 deplibs_check_method=$lt_deplibs_check_method
16873
16874 # Command to use when deplibs_check_method = "file_magic".
16875 file_magic_cmd=$lt_file_magic_cmd
16876
16877 # How to find potential files when deplibs_check_method = "file_magic".
16878 file_magic_glob=$lt_file_magic_glob
16879
16880 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16881 want_nocaseglob=$lt_want_nocaseglob
16882
16883 # Command to associate shared and link libraries.
16884 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16885
16886 # The archiver.
16887 AR=$lt_AR
16888
16889 # Flags to create an archive (by configure).
16890 lt_ar_flags=$lt_ar_flags
16891
16892 # Flags to create an archive.
16893 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16894
16895 # How to feed a file listing to the archiver.
16896 archiver_list_spec=$lt_archiver_list_spec
16897
16898 # A symbol stripping program.
16899 STRIP=$lt_STRIP
16900
16901 # Commands used to install an old-style archive.
16902 RANLIB=$lt_RANLIB
16903 old_postinstall_cmds=$lt_old_postinstall_cmds
16904 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16905
16906 # Whether to use a lock for old archive extraction.
16907 lock_old_archive_extraction=$lock_old_archive_extraction
16908
16909 # A C compiler.
16910 LTCC=$lt_CC
16911
16912 # LTCC compiler flags.
16913 LTCFLAGS=$lt_CFLAGS
16914
16915 # Take the output of nm and produce a listing of raw symbols and C names.
16916 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16917
16918 # Transform the output of nm in a proper C declaration.
16919 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16920
16921 # Transform the output of nm into a list of symbols to manually relocate.
16922 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16923
16924 # Transform the output of nm in a C name address pair.
16925 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16926
16927 # Transform the output of nm in a C name address pair when lib prefix is needed.
16928 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16929
16930 # The name lister interface.
16931 nm_interface=$lt_lt_cv_nm_interface
16932
16933 # Specify filename containing input files for \$NM.
16934 nm_file_list_spec=$lt_nm_file_list_spec
16935
16936 # The root where to search for dependent libraries,and where our libraries should be installed.
16937 lt_sysroot=$lt_sysroot
16938
16939 # Command to truncate a binary pipe.
16940 lt_truncate_bin=$lt_lt_cv_truncate_bin
16941
16942 # The name of the directory that contains temporary libtool files.
16943 objdir=$objdir
16944
16945 # Used to examine libraries when file_magic_cmd begins with "file".
16946 MAGIC_CMD=$MAGIC_CMD
16947
16948 # Must we lock files when doing compilation?
16949 need_locks=$lt_need_locks
16950
16951 # Manifest tool.
16952 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16953
16954 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16955 DSYMUTIL=$lt_DSYMUTIL
16956
16957 # Tool to change global to local symbols on Mac OS X.
16958 NMEDIT=$lt_NMEDIT
16959
16960 # Tool to manipulate fat objects and archives on Mac OS X.
16961 LIPO=$lt_LIPO
16962
16963 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16964 OTOOL=$lt_OTOOL
16965
16966 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16967 OTOOL64=$lt_OTOOL64
16968
16969 # Old archive suffix (normally "a").
16970 libext=$libext
16971
16972 # Shared library suffix (normally ".so").
16973 shrext_cmds=$lt_shrext_cmds
16974
16975 # The commands to extract the exported symbol list from a shared archive.
16976 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16977
16978 # Variables whose values should be saved in libtool wrapper scripts and
16979 # restored at link time.
16980 variables_saved_for_relink=$lt_variables_saved_for_relink
16981
16982 # Do we need the "lib" prefix for modules?
16983 need_lib_prefix=$need_lib_prefix
16984
16985 # Do we need a version for libraries?
16986 need_version=$need_version
16987
16988 # Library versioning type.
16989 version_type=$version_type
16990
16991 # Shared library runtime path variable.
16992 runpath_var=$runpath_var
16993
16994 # Shared library path variable.
16995 shlibpath_var=$shlibpath_var
16996
16997 # Is shlibpath searched before the hard-coded library search path?
16998 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16999
17000 # Format of library name prefix.
17001 libname_spec=$lt_libname_spec
17002
17003 # List of archive names. First name is the real one, the rest are links.
17004 # The last name is the one that the linker finds with -lNAME
17005 library_names_spec=$lt_library_names_spec
17006
17007 # The coded name of the library, if different from the real name.
17008 soname_spec=$lt_soname_spec
17009
17010 # Permission mode override for installation of shared libraries.
17011 install_override_mode=$lt_install_override_mode
17012
17013 # Command to use after installation of a shared archive.
17014 postinstall_cmds=$lt_postinstall_cmds
17015
17016 # Command to use after uninstallation of a shared archive.
17017 postuninstall_cmds=$lt_postuninstall_cmds
17018
17019 # Commands used to finish a libtool library installation in a directory.
17020 finish_cmds=$lt_finish_cmds
17021
17022 # As "finish_cmds", except a single script fragment to be evaled but
17023 # not shown.
17024 finish_eval=$lt_finish_eval
17025
17026 # Whether we should hardcode library paths into libraries.
17027 hardcode_into_libs=$hardcode_into_libs
17028
17029 # Compile-time system search path for libraries.
17030 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17031
17032 # Detected run-time system search path for libraries.
17033 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17034
17035 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17036 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17037
17038 # Whether dlopen is supported.
17039 dlopen_support=$enable_dlopen
17040
17041 # Whether dlopen of programs is supported.
17042 dlopen_self=$enable_dlopen_self
17043
17044 # Whether dlopen of statically linked programs is supported.
17045 dlopen_self_static=$enable_dlopen_self_static
17046
17047 # Commands to strip libraries.
17048 old_striplib=$lt_old_striplib
17049 striplib=$lt_striplib
17050
17051
17052 # The linker used to build libraries.
17053 LD=$lt_LD
17054
17055 # How to create reloadable object files.
17056 reload_flag=$lt_reload_flag
17057 reload_cmds=$lt_reload_cmds
17058
17059 # Commands used to build an old-style archive.
17060 old_archive_cmds=$lt_old_archive_cmds
17061
17062 # A language specific compiler.
17063 CC=$lt_compiler
17064
17065 # Is the compiler the GNU compiler?
17066 with_gcc=$GCC
17067
17068 # Compiler flag to turn off builtin functions.
17069 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17070
17071 # Additional compiler flags for building library objects.
17072 pic_flag=$lt_lt_prog_compiler_pic
17073
17074 # How to pass a linker flag through the compiler.
17075 wl=$lt_lt_prog_compiler_wl
17076
17077 # Compiler flag to prevent dynamic linking.
17078 link_static_flag=$lt_lt_prog_compiler_static
17079
17080 # Does compiler simultaneously support -c and -o options?
17081 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17082
17083 # Whether or not to add -lc for building shared libraries.
17084 build_libtool_need_lc=$archive_cmds_need_lc
17085
17086 # Whether or not to disallow shared libs when runtime libs are static.
17087 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17088
17089 # Compiler flag to allow reflexive dlopens.
17090 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17091
17092 # Compiler flag to generate shared objects directly from archives.
17093 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17094
17095 # Whether the compiler copes with passing no objects directly.
17096 compiler_needs_object=$lt_compiler_needs_object
17097
17098 # Create an old-style archive from a shared archive.
17099 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17100
17101 # Create a temporary old-style archive to link instead of a shared archive.
17102 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17103
17104 # Commands used to build a shared archive.
17105 archive_cmds=$lt_archive_cmds
17106 archive_expsym_cmds=$lt_archive_expsym_cmds
17107
17108 # Commands used to build a loadable module if different from building
17109 # a shared archive.
17110 module_cmds=$lt_module_cmds
17111 module_expsym_cmds=$lt_module_expsym_cmds
17112
17113 # Whether we are building with GNU ld or not.
17114 with_gnu_ld=$lt_with_gnu_ld
17115
17116 # Flag that allows shared libraries with undefined symbols to be built.
17117 allow_undefined_flag=$lt_allow_undefined_flag
17118
17119 # Flag that enforces no undefined symbols.
17120 no_undefined_flag=$lt_no_undefined_flag
17121
17122 # Flag to hardcode \$libdir into a binary during linking.
17123 # This must work even if \$libdir does not exist
17124 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17125
17126 # Whether we need a single "-rpath" flag with a separated argument.
17127 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17128
17129 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17130 # DIR into the resulting binary.
17131 hardcode_direct=$hardcode_direct
17132
17133 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17134 # DIR into the resulting binary and the resulting library dependency is
17135 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
17136 # library is relocated.
17137 hardcode_direct_absolute=$hardcode_direct_absolute
17138
17139 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17140 # into the resulting binary.
17141 hardcode_minus_L=$hardcode_minus_L
17142
17143 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17144 # into the resulting binary.
17145 hardcode_shlibpath_var=$hardcode_shlibpath_var
17146
17147 # Set to "yes" if building a shared library automatically hardcodes DIR
17148 # into the library and all subsequent libraries and executables linked
17149 # against it.
17150 hardcode_automatic=$hardcode_automatic
17151
17152 # Set to yes if linker adds runtime paths of dependent libraries
17153 # to runtime path list.
17154 inherit_rpath=$inherit_rpath
17155
17156 # Whether libtool must link a program against all its dependency libraries.
17157 link_all_deplibs=$link_all_deplibs
17158
17159 # Set to "yes" if exported symbols are required.
17160 always_export_symbols=$always_export_symbols
17161
17162 # The commands to list exported symbols.
17163 export_symbols_cmds=$lt_export_symbols_cmds
17164
17165 # Symbols that should not be listed in the preloaded symbols.
17166 exclude_expsyms=$lt_exclude_expsyms
17167
17168 # Symbols that must always be exported.
17169 include_expsyms=$lt_include_expsyms
17170
17171 # Commands necessary for linking programs (against libraries) with templates.
17172 prelink_cmds=$lt_prelink_cmds
17173
17174 # Commands necessary for finishing linking programs.
17175 postlink_cmds=$lt_postlink_cmds
17176
17177 # Specify filename containing input files.
17178 file_list_spec=$lt_file_list_spec
17179
17180 # How to hardcode a shared library path into an executable.
17181 hardcode_action=$hardcode_action
17182
17183 # ### END LIBTOOL CONFIG
17184
17185 _LT_EOF
17186
17187 cat <<'_LT_EOF' >> "$cfgfile"
17188
17189 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17190
17191 # func_munge_path_list VARIABLE PATH
17192 # -----------------------------------
17193 # VARIABLE is name of variable containing _space_ separated list of
17194 # directories to be munged by the contents of PATH, which is string
17195 # having a format:
17196 # "DIR[:DIR]:"
17197 # string "DIR[ DIR]" will be prepended to VARIABLE
17198 # ":DIR[:DIR]"
17199 # string "DIR[ DIR]" will be appended to VARIABLE
17200 # "DIRP[:DIRP]::[DIRA:]DIRA"
17201 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17202 # "DIRA[ DIRA]" will be appended to VARIABLE
17203 # "DIR[:DIR]"
17204 # VARIABLE will be replaced by "DIR[ DIR]"
17205 func_munge_path_list ()
17206 {
17207 case x$2 in
17208 x)
17209 ;;
17210 *:)
17211 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17212 ;;
17213 x:*)
17214 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17215 ;;
17216 *::*)
17217 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17218 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17219 ;;
17220 *)
17221 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17222 ;;
17223 esac
17224 }
17225
17226
17227 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17228 func_cc_basename ()
17229 {
17230 for cc_temp in $*""; do
17231 case $cc_temp in
17232 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17233 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17234 \-*) ;;
17235 *) break;;
17236 esac
17237 done
17238 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17239 }
17240
17241
17242 # ### END FUNCTIONS SHARED WITH CONFIGURE
17243
17244 _LT_EOF
17245
17246 case $host_os in
17247 aix3*)
17248 cat <<\_LT_EOF >> "$cfgfile"
17249 # AIX sometimes has problems with the GCC collect2 program. For some
17250 # reason, if we set the COLLECT_NAMES environment variable, the problems
17251 # vanish in a puff of smoke.
17252 if test set != "${COLLECT_NAMES+set}"; then
17253 COLLECT_NAMES=
17254 export COLLECT_NAMES
17255 fi
17256 _LT_EOF
17257 ;;
17258 esac
17259
17260
17261
17262 ltmain=$ac_aux_dir/ltmain.sh
17263
17264
17265 # We use sed instead of cat because bash on DJGPP gets confused if
17266 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17267 # text mode, it properly converts lines to CR/LF. This bash problem
17268 # is reportedly fixed, but why not run on old versions too?
17269 $SED '$q' "$ltmain" >> "$cfgfile" \
17270 || (rm -f "$cfgfile"; exit 1)
17271
17272 mv -f "$cfgfile" "$ofile" ||
17273 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17274 chmod +x "$ofile"
17275
17276
17277 as_fn_exit 0
17278 _LTEOF
17279 chmod +x "$CONFIG_LT"
17280
17281 # configure is writing to config.log, but config.lt does its own redirection,
17282 # appending to config.log, which fails on DOS, as config.log is still kept
17283 # open by configure. Here we exec the FD to /dev/null, effectively closing
17284 # config.log, so it can be properly (re)opened and appended to by config.lt.
17285 lt_cl_success=:
17286 test yes = "$silent" &&
17287 lt_config_lt_args="$lt_config_lt_args --quiet"
17288 exec 5>/dev/null
17289 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17290 exec 5>>config.log
17291 $lt_cl_success || as_fn_exit 1
17292
17293 #
17294 #
17295 ac_ext=c
17296 ac_cpp='$CPP $CPPFLAGS'
17297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17300 ac_link="./libtool --mode=link --tag=CC $ac_link"
17301
17302 if test -n "$ac_tool_prefix"; then
17303 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17304 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17306 printf %s "checking for $ac_word... " >&6; }
17307 if test ${ac_cv_prog_PKG_CONFIG+y}
17308 then :
17309 printf %s "(cached) " >&6
17310 else case e in #(
17311 e) if test -n "$PKG_CONFIG"; then
17312 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
17313 else
17314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17315 for as_dir in $PATH
17316 do
17317 IFS=$as_save_IFS
17318 case $as_dir in #(((
17319 '') as_dir=./ ;;
17320 */) ;;
17321 *) as_dir=$as_dir/ ;;
17322 esac
17323 for ac_exec_ext in '' $ac_executable_extensions; do
17324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17325 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17327 break 2
17328 fi
17329 done
17330 done
17331 IFS=$as_save_IFS
17332
17333 fi ;;
17334 esac
17335 fi
17336 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17337 if test -n "$PKG_CONFIG"; then
17338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17339 printf "%s\n" "$PKG_CONFIG" >&6; }
17340 else
17341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17342 printf "%s\n" "no" >&6; }
17343 fi
17344
17345
17346 fi
17347 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17348 ac_ct_PKG_CONFIG=$PKG_CONFIG
17349 # Extract the first word of "pkg-config", so it can be a program name with args.
17350 set dummy pkg-config; ac_word=$2
17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17352 printf %s "checking for $ac_word... " >&6; }
17353 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17354 then :
17355 printf %s "(cached) " >&6
17356 else case e in #(
17357 e) if test -n "$ac_ct_PKG_CONFIG"; then
17358 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17359 else
17360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17361 for as_dir in $PATH
17362 do
17363 IFS=$as_save_IFS
17364 case $as_dir in #(((
17365 '') as_dir=./ ;;
17366 */) ;;
17367 *) as_dir=$as_dir/ ;;
17368 esac
17369 for ac_exec_ext in '' $ac_executable_extensions; do
17370 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17371 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17373 break 2
17374 fi
17375 done
17376 done
17377 IFS=$as_save_IFS
17378
17379 fi ;;
17380 esac
17381 fi
17382 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17383 if test -n "$ac_ct_PKG_CONFIG"; then
17384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17385 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17386 else
17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17388 printf "%s\n" "no" >&6; }
17389 fi
17390
17391 if test "x$ac_ct_PKG_CONFIG" = x; then
17392 PKG_CONFIG="false"
17393 else
17394 case $cross_compiling:$ac_tool_warned in
17395 yes:)
17396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17397 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17398 ac_tool_warned=yes ;;
17399 esac
17400 PKG_CONFIG=$ac_ct_PKG_CONFIG
17401 fi
17402 else
17403 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17404 fi
17405
17406 ##tldbg _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags.
17407 echo 'tldbg:_KPSE_LIB_FLAGS called: libdir=kpathsea, libname=kpathsea, options=lt, tlincl=-IBLD/texk -ISRC/texk, tllib=BLD/texk/kpathsea/libkpathsea.la, tlextra=, rebuildsrcdeps=${top_srcdir}/../kpathsea/*.[ch], rebuildblddeps=${top_builddir}/../kpathsea/paths.h.' >&5
17408 ##tldbg _KPSE_LIB_FLAGS_TL: kpathsea (kpathsea) lt.
17409
17410 # Check whether --with-system-kpathsea was given.
17411 if test ${with_system_kpathsea+y}
17412 then :
17413 withval=$with_system_kpathsea;
17414 fi
17415 if test "x$with_system_kpathsea" = xyes; then
17416 if $PKG_CONFIG kpathsea; then
17417 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
17418 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
17419 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17420 as_fn_error $? "did not find kpathsea" "$LINENO" 5
17421 fi
17422 else
17423 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
17424 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
17425 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
17426 KPATHSEA_RULE='# Rebuild libkpathsea
17427 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
17428 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
17429 ${top_builddir}/../kpathsea/paths.h:
17430 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17431 fi
17432
17433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
17434 printf %s "checking if libkpathsea supports debugging... " >&6; }
17435 if test ${kpse_cv_kpse_debug+y}
17436 then :
17437 printf %s "(cached) " >&6
17438 else case e in #(
17439 e) eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17440 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17441
17442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17443 /* end confdefs.h. */
17444 #include <kpathsea/kpathsea.h>
17445 int
17446 main (void)
17447 {
17448 FILE *f = fopen("f", "r")
17449 ;
17450 return 0;
17451 }
17452 _ACEOF
17453 if ac_fn_c_try_link "$LINENO"
17454 then :
17455 kpse_cv_kpse_debug=yes
17456 else case e in #(
17457 e) kpse_cv_kpse_debug=no ;;
17458 esac
17459 fi
17460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17461 conftest$ac_exeext conftest.$ac_ext
17462 CPPFLAGS=$kpse_save_CPPFLAGS
17463 LIBS=$kpse_save_LIBS
17464 ;;
17465 esac
17466 fi
17467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
17468 printf "%s\n" "$kpse_cv_kpse_debug" >&6; }
17469 if test "x$kpse_cv_kpse_debug" != xyes
17470 then :
17471 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
17472 fi
17473
17474
17475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
17476 printf %s "checking for native WIN32 or MINGW32... " >&6; }
17477 if test ${kpse_cv_have_win32+y}
17478 then :
17479 printf %s "(cached) " >&6
17480 else case e in #(
17481 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483 #ifndef WIN32
17484 choke me
17485 #endif
17486 int
17487 main (void)
17488 {
17489
17490 ;
17491 return 0;
17492 }
17493 _ACEOF
17494 if ac_fn_c_try_compile "$LINENO"
17495 then :
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 #ifndef __MINGW32__
17499 choke me
17500 #endif
17501 int
17502 main (void)
17503 {
17504
17505 ;
17506 return 0;
17507 }
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"
17510 then :
17511 kpse_cv_have_win32=mingw32
17512 else case e in #(
17513 e) kpse_cv_have_win32=native ;;
17514 esac
17515 fi
17516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17517 else case e in #(
17518 e) kpse_cv_have_win32=no ;;
17519 esac
17520 fi
17521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
17522 esac
17523 fi
17524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
17525 printf "%s\n" "$kpse_cv_have_win32" >&6; }
17526
17527 if test "x$kpse_cv_have_win32" != xno; then
17528 WIN32_TRUE=
17529 WIN32_FALSE='#'
17530 else
17531 WIN32_TRUE='#'
17532 WIN32_FALSE=
17533 fi
17534
17535
17536 if test -r "$srcdir/../texlive/windows_wrapper/callexe.c"; then
17537 WIN32_CALL_TRUE=
17538 WIN32_CALL_FALSE='#'
17539 else
17540 WIN32_CALL_TRUE='#'
17541 WIN32_CALL_FALSE=
17542 fi
17543
17544 if test -z "$WIN32_TRUE"; then :
17545 ac_config_links="$ac_config_links callexe.c:../texlive/windows_wrapper/callexe.c"
17546
17547 fi
17548
17549
17550 ac_config_files="$ac_config_files Makefile win32/Makefile"
17551
17552
17553 cat >confcache <<\_ACEOF
17554 # This file is a shell script that caches the results of configure
17555 # tests run on this system so they can be shared between configure
17556 # scripts and configure runs, see configure's option --config-cache.
17557 # It is not useful on other systems. If it contains results you don't
17558 # want to keep, you may remove or edit it.
17559 #
17560 # config.status only pays attention to the cache file if you give it
17561 # the --recheck option to rerun configure.
17562 #
17563 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
17564 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
17565 # following values.
17566
17567 _ACEOF
17568
17569 # The following way of writing the cache mishandles newlines in values,
17570 # but we know of no workaround that is simple, portable, and efficient.
17571 # So, we kill variables containing newlines.
17572 # Ultrix sh set writes to stderr and can't be redirected directly,
17573 # and sets the high bit in the cache file unless we assign to the vars.
17574 (
17575 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17576 eval ac_val=\$$ac_var
17577 case $ac_val in #(
17578 *${as_nl}*)
17579 case $ac_var in #(
17580 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17581 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17582 esac
17583 case $ac_var in #(
17584 _ | IFS | as_nl) ;; #(
17585 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17586 *) { eval $ac_var=; unset $ac_var;} ;;
17587 esac ;;
17588 esac
17589 done
17590
17591 (set) 2>&1 |
17592 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17593 *${as_nl}ac_space=\ *)
17594 # 'set' does not quote correctly, so add quotes: double-quote
17595 # substitution turns \\\\ into \\, and sed turns \\ into \.
17596 sed -n \
17597 "s/'/'\\\\''/g;
17598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17599 ;; #(
17600 *)
17601 # 'set' quotes correctly as required by POSIX, so do not add quotes.
17602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17603 ;;
17604 esac |
17605 sort
17606 ) |
17607 sed '
17608 /^ac_cv_env_/b end
17609 t clear
17610 :clear
17611 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
17612 t end
17613 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17614 :end' >>confcache
17615 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17616 if test -w "$cache_file"; then
17617 if test "x$cache_file" != "x/dev/null"; then
17618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17619 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
17620 if test ! -f "$cache_file" || test -h "$cache_file"; then
17621 cat confcache >"$cache_file"
17622 else
17623 case $cache_file in #(
17624 */* | ?:*)
17625 mv -f confcache "$cache_file"$$ &&
17626 mv -f "$cache_file"$$ "$cache_file" ;; #(
17627 *)
17628 mv -f confcache "$cache_file" ;;
17629 esac
17630 fi
17631 fi
17632 else
17633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17634 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
17635 fi
17636 fi
17637 rm -f confcache
17638
17639 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17640 # Let make expand exec_prefix.
17641 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17642
17643 DEFS=-DHAVE_CONFIG_H
17644
17645 ac_libobjs=
17646 ac_ltlibobjs=
17647 U=
17648 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17649 # 1. Remove the extension, and $U if already installed.
17650 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17651 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
17652 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17653 # will be set to the directory where LIBOBJS objects are built.
17654 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17655 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17656 done
17657 LIBOBJS=$ac_libobjs
17658
17659 LTLIBOBJS=$ac_ltlibobjs
17660
17661
17662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17663 printf %s "checking that generated files are newer than configure... " >&6; }
17664 if test -n "$am_sleep_pid"; then
17665 # Hide warnings about reused PIDs.
17666 wait $am_sleep_pid 2>/dev/null
17667 fi
17668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
17669 printf "%s\n" "done" >&6; }
17670 case $enable_silent_rules in # (((
17671 yes) AM_DEFAULT_VERBOSITY=0;;
17672 no) AM_DEFAULT_VERBOSITY=1;;
17673 esac
17674 if test $am_cv_make_support_nested_variables = yes; then
17675 AM_V='$(V)'
17676 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17677 else
17678 AM_V=$AM_DEFAULT_VERBOSITY
17679 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17680 fi
17681
17682 if test -n "$EXEEXT"; then
17683 am__EXEEXT_TRUE=
17684 am__EXEEXT_FALSE='#'
17685 else
17686 am__EXEEXT_TRUE='#'
17687 am__EXEEXT_FALSE=
17688 fi
17689
17690 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17691 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17693 fi
17694 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17695 as_fn_error $? "conditional \"AMDEP\" was never defined.
17696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17697 fi
17698 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17699 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17701 fi
17702 # Check whether --enable-year2038 was given.
17703 if test ${enable_year2038+y}
17704 then :
17705 enableval=$enable_year2038;
17706 fi
17707
17708 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
17709 as_fn_error $? "conditional \"WIN32\" was never defined.
17710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17711 fi
17712 if test -z "${WIN32_CALL_TRUE}" && test -z "${WIN32_CALL_FALSE}"; then
17713 as_fn_error $? "conditional \"WIN32_CALL\" was never defined.
17714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17715 fi
17716
17717 : "${CONFIG_STATUS=./config.status}"
17718 ac_write_fail=0
17719 ac_clean_files_save=$ac_clean_files
17720 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17722 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17723 as_write_fail=0
17724 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17725 #! $SHELL
17726 # Generated by $as_me.
17727 # Run this file to recreate the current configuration.
17728 # Compiler output produced by configure, useful for debugging
17729 # configure, is in config.log if it exists.
17730
17731 debug=false
17732 ac_cs_recheck=false
17733 ac_cs_silent=false
17734
17735 SHELL=\${CONFIG_SHELL-$SHELL}
17736 export SHELL
17737 _ASEOF
17738 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17739 ## -------------------- ##
17740 ## M4sh Initialization. ##
17741 ## -------------------- ##
17742
17743 # Be more Bourne compatible
17744 DUALCASE=1; export DUALCASE # for MKS sh
17745 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17746 then :
17747 emulate sh
17748 NULLCMD=:
17749 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17750 # is contrary to our usage. Disable this feature.
17751 alias -g '${1+"$@"}'='"$@"'
17752 setopt NO_GLOB_SUBST
17753 else case e in #(
17754 e) case `(set -o) 2>/dev/null` in #(
17755 *posix*) :
17756 set -o posix ;; #(
17757 *) :
17758 ;;
17759 esac ;;
17760 esac
17761 fi
17762
17763
17764
17765 # Reset variables that may have inherited troublesome values from
17766 # the environment.
17767
17768 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17769 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17770 # side effect of setting IFS to empty, thus disabling word splitting.)
17771 # Quoting is to prevent editors from complaining about space-tab.
17772 as_nl='
17773 '
17774 export as_nl
17775 IFS=" "" $as_nl"
17776
17777 PS1='$ '
17778 PS2='> '
17779 PS4='+ '
17780
17781 # Ensure predictable behavior from utilities with locale-dependent output.
17782 LC_ALL=C
17783 export LC_ALL
17784 LANGUAGE=C
17785 export LANGUAGE
17786
17787 # We cannot yet rely on "unset" to work, but we need these variables
17788 # to be unset--not just set to an empty or harmless value--now, to
17789 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17790 # also avoids known problems related to "unset" and subshell syntax
17791 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17792 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17793 do eval test \${$as_var+y} \
17794 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17795 done
17796
17797 # Ensure that fds 0, 1, and 2 are open.
17798 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17799 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17800 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17801
17802 # The user is always right.
17803 if ${PATH_SEPARATOR+false} :; then
17804 PATH_SEPARATOR=:
17805 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17806 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17807 PATH_SEPARATOR=';'
17808 }
17809 fi
17810
17811
17812 # Find who we are. Look in the path if we contain no directory separator.
17813 as_myself=
17814 case $0 in #((
17815 *[\\/]* ) as_myself=$0 ;;
17816 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17817 for as_dir in $PATH
17818 do
17819 IFS=$as_save_IFS
17820 case $as_dir in #(((
17821 '') as_dir=./ ;;
17822 */) ;;
17823 *) as_dir=$as_dir/ ;;
17824 esac
17825 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17826 done
17827 IFS=$as_save_IFS
17828
17829 ;;
17830 esac
17831 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17832 # in which case we are not to be found in the path.
17833 if test "x$as_myself" = x; then
17834 as_myself=$0
17835 fi
17836 if test ! -f "$as_myself"; then
17837 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17838 exit 1
17839 fi
17840
17841
17842
17843 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17844 # ----------------------------------------
17845 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17846 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17847 # script with STATUS, using 1 if that was 0.
17848 as_fn_error ()
17849 {
17850 as_status=$1; test $as_status -eq 0 && as_status=1
17851 if test "$4"; then
17852 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17854 fi
17855 printf "%s\n" "$as_me: error: $2" >&2
17856 as_fn_exit $as_status
17857 } # as_fn_error
17858
17859
17860 # as_fn_set_status STATUS
17861 # -----------------------
17862 # Set $? to STATUS, without forking.
17863 as_fn_set_status ()
17864 {
17865 return $1
17866 } # as_fn_set_status
17867
17868 # as_fn_exit STATUS
17869 # -----------------
17870 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17871 as_fn_exit ()
17872 {
17873 set +e
17874 as_fn_set_status $1
17875 exit $1
17876 } # as_fn_exit
17877
17878 # as_fn_unset VAR
17879 # ---------------
17880 # Portably unset VAR.
17881 as_fn_unset ()
17882 {
17883 { eval $1=; unset $1;}
17884 }
17885 as_unset=as_fn_unset
17886
17887 # as_fn_append VAR VALUE
17888 # ----------------------
17889 # Append the text in VALUE to the end of the definition contained in VAR. Take
17890 # advantage of any shell optimizations that allow amortized linear growth over
17891 # repeated appends, instead of the typical quadratic growth present in naive
17892 # implementations.
17893 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17894 then :
17895 eval 'as_fn_append ()
17896 {
17897 eval $1+=\$2
17898 }'
17899 else case e in #(
17900 e) as_fn_append ()
17901 {
17902 eval $1=\$$1\$2
17903 } ;;
17904 esac
17905 fi # as_fn_append
17906
17907 # as_fn_arith ARG...
17908 # ------------------
17909 # Perform arithmetic evaluation on the ARGs, and store the result in the
17910 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17911 # must be portable across $(()) and expr.
17912 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17913 then :
17914 eval 'as_fn_arith ()
17915 {
17916 as_val=$(( $* ))
17917 }'
17918 else case e in #(
17919 e) as_fn_arith ()
17920 {
17921 as_val=`expr "$@" || test $? -eq 1`
17922 } ;;
17923 esac
17924 fi # as_fn_arith
17925
17926
17927 if expr a : '\(a\)' >/dev/null 2>&1 &&
17928 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17929 as_expr=expr
17930 else
17931 as_expr=false
17932 fi
17933
17934 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17935 as_basename=basename
17936 else
17937 as_basename=false
17938 fi
17939
17940 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17941 as_dirname=dirname
17942 else
17943 as_dirname=false
17944 fi
17945
17946 as_me=`$as_basename -- "$0" ||
17947 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17948 X"$0" : 'X\(//\)$' \| \
17949 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17950 printf "%s\n" X/"$0" |
17951 sed '/^.*\/\([^/][^/]*\)\/*$/{
17952 s//\1/
17953 q
17954 }
17955 /^X\/\(\/\/\)$/{
17956 s//\1/
17957 q
17958 }
17959 /^X\/\(\/\).*/{
17960 s//\1/
17961 q
17962 }
17963 s/.*/./; q'`
17964
17965 # Avoid depending upon Character Ranges.
17966 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17967 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17968 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17969 as_cr_digits='0123456789'
17970 as_cr_alnum=$as_cr_Letters$as_cr_digits
17971
17972
17973 # Determine whether it's possible to make 'echo' print without a newline.
17974 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17975 # for compatibility with existing Makefiles.
17976 ECHO_C= ECHO_N= ECHO_T=
17977 case `echo -n x` in #(((((
17978 -n*)
17979 case `echo 'xy\c'` in
17980 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17981 xy) ECHO_C='\c';;
17982 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17983 ECHO_T=' ';;
17984 esac;;
17985 *)
17986 ECHO_N='-n';;
17987 esac
17988
17989 # For backward compatibility with old third-party macros, we provide
17990 # the shell variables $as_echo and $as_echo_n. New code should use
17991 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
17992 as_echo='printf %s\n'
17993 as_echo_n='printf %s'
17994
17995 rm -f conf$$ conf$$.exe conf$$.file
17996 if test -d conf$$.dir; then
17997 rm -f conf$$.dir/conf$$.file
17998 else
17999 rm -f conf$$.dir
18000 mkdir conf$$.dir 2>/dev/null
18001 fi
18002 if (echo >conf$$.file) 2>/dev/null; then
18003 if ln -s conf$$.file conf$$ 2>/dev/null; then
18004 as_ln_s='ln -s'
18005 # ... but there are two gotchas:
18006 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
18007 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
18008 # In both cases, we have to default to 'cp -pR'.
18009 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18010 as_ln_s='cp -pR'
18011 elif ln conf$$.file conf$$ 2>/dev/null; then
18012 as_ln_s=ln
18013 else
18014 as_ln_s='cp -pR'
18015 fi
18016 else
18017 as_ln_s='cp -pR'
18018 fi
18019 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18020 rmdir conf$$.dir 2>/dev/null
18021
18022
18023 # as_fn_mkdir_p
18024 # -------------
18025 # Create "$as_dir" as a directory, including parents if necessary.
18026 as_fn_mkdir_p ()
18027 {
18028
18029 case $as_dir in #(
18030 -*) as_dir=./$as_dir;;
18031 esac
18032 test -d "$as_dir" || eval $as_mkdir_p || {
18033 as_dirs=
18034 while :; do
18035 case $as_dir in #(
18036 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18037 *) as_qdir=$as_dir;;
18038 esac
18039 as_dirs="'$as_qdir' $as_dirs"
18040 as_dir=`$as_dirname -- "$as_dir" ||
18041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18042 X"$as_dir" : 'X\(//\)[^/]' \| \
18043 X"$as_dir" : 'X\(//\)$' \| \
18044 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18045 printf "%s\n" X"$as_dir" |
18046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18047 s//\1/
18048 q
18049 }
18050 /^X\(\/\/\)[^/].*/{
18051 s//\1/
18052 q
18053 }
18054 /^X\(\/\/\)$/{
18055 s//\1/
18056 q
18057 }
18058 /^X\(\/\).*/{
18059 s//\1/
18060 q
18061 }
18062 s/.*/./; q'`
18063 test -d "$as_dir" && break
18064 done
18065 test -z "$as_dirs" || eval "mkdir $as_dirs"
18066 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18067
18068
18069 } # as_fn_mkdir_p
18070 if mkdir -p . 2>/dev/null; then
18071 as_mkdir_p='mkdir -p "$as_dir"'
18072 else
18073 test -d ./-p && rmdir ./-p
18074 as_mkdir_p=false
18075 fi
18076
18077
18078 # as_fn_executable_p FILE
18079 # -----------------------
18080 # Test if FILE is an executable regular file.
18081 as_fn_executable_p ()
18082 {
18083 test -f "$1" && test -x "$1"
18084 } # as_fn_executable_p
18085 as_test_x='test -x'
18086 as_executable_p=as_fn_executable_p
18087
18088 # Sed expression to map a string onto a valid CPP name.
18089 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
18090 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
18091
18092 # Sed expression to map a string onto a valid variable name.
18093 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
18094 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
18095
18096
18097 exec 6>&1
18098 ## ----------------------------------- ##
18099 ## Main body of $CONFIG_STATUS script. ##
18100 ## ----------------------------------- ##
18101 _ASEOF
18102 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18103
18104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18105 # Save the log message, to keep $0 and so on meaningful, and to
18106 # report actual input values of CONFIG_FILES etc. instead of their
18107 # values after options handling.
18108 ac_log="
18109 This file was extended by dviljk (TeX Live) $as_me 2.6p5, which was
18110 generated by GNU Autoconf 2.72. Invocation command line was
18111
18112 CONFIG_FILES = $CONFIG_FILES
18113 CONFIG_HEADERS = $CONFIG_HEADERS
18114 CONFIG_LINKS = $CONFIG_LINKS
18115 CONFIG_COMMANDS = $CONFIG_COMMANDS
18116 $ $0 $@
18117
18118 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18119 "
18120
18121 _ACEOF
18122
18123 case $ac_config_files in *"
18124 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18125 esac
18126
18127 case $ac_config_headers in *"
18128 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18129 esac
18130
18131
18132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18133 # Files that config.status was made for.
18134 config_files="$ac_config_files"
18135 config_headers="$ac_config_headers"
18136 config_links="$ac_config_links"
18137 config_commands="$ac_config_commands"
18138
18139 _ACEOF
18140
18141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18142 ac_cs_usage="\
18143 '$as_me' instantiates files and other configuration actions
18144 from templates according to the current configuration. Unless the files
18145 and actions are specified as TAGs, all are instantiated by default.
18146
18147 Usage: $0 [OPTION]... [TAG]...
18148
18149 -h, --help print this help, then exit
18150 -V, --version print version number and configuration settings, then exit
18151 --config print configuration, then exit
18152 -q, --quiet, --silent
18153 do not print progress messages
18154 -d, --debug don't remove temporary files
18155 --recheck update $as_me by reconfiguring in the same conditions
18156 --file=FILE[:TEMPLATE]
18157 instantiate the configuration file FILE
18158 --header=FILE[:TEMPLATE]
18159 instantiate the configuration header FILE
18160
18161 Configuration files:
18162 $config_files
18163
18164 Configuration headers:
18165 $config_headers
18166
18167 Configuration links:
18168 $config_links
18169
18170 Configuration commands:
18171 $config_commands
18172
18173 Report bugs to <[email protected]>."
18174
18175 _ACEOF
18176 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
18177 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
18178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18179 ac_cs_config='$ac_cs_config_escaped'
18180 ac_cs_version="\\
18181 dviljk (TeX Live) config.status 2.6p5
18182 configured by $0, generated by GNU Autoconf 2.72,
18183 with options \\"\$ac_cs_config\\"
18184
18185 Copyright (C) 2023 Free Software Foundation, Inc.
18186 This config.status script is free software; the Free Software Foundation
18187 gives unlimited permission to copy, distribute and modify it."
18188
18189 ac_pwd='$ac_pwd'
18190 srcdir='$srcdir'
18191 INSTALL='$INSTALL'
18192 MKDIR_P='$MKDIR_P'
18193 AWK='$AWK'
18194 test -n "\$AWK" || AWK=awk
18195 _ACEOF
18196
18197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18198 # The default lists apply if the user does not specify any file.
18199 ac_need_defaults=:
18200 while test $# != 0
18201 do
18202 case $1 in
18203 --*=?*)
18204 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18205 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18206 ac_shift=:
18207 ;;
18208 --*=)
18209 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18210 ac_optarg=
18211 ac_shift=:
18212 ;;
18213 *)
18214 ac_option=$1
18215 ac_optarg=$2
18216 ac_shift=shift
18217 ;;
18218 esac
18219
18220 case $ac_option in
18221 # Handling of the options.
18222 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18223 ac_cs_recheck=: ;;
18224 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18225 printf "%s\n" "$ac_cs_version"; exit ;;
18226 --config | --confi | --conf | --con | --co | --c )
18227 printf "%s\n" "$ac_cs_config"; exit ;;
18228 --debug | --debu | --deb | --de | --d | -d )
18229 debug=: ;;
18230 --file | --fil | --fi | --f )
18231 $ac_shift
18232 case $ac_optarg in
18233 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18234 '') as_fn_error $? "missing file argument" ;;
18235 esac
18236 as_fn_append CONFIG_FILES " '$ac_optarg'"
18237 ac_need_defaults=false;;
18238 --header | --heade | --head | --hea )
18239 $ac_shift
18240 case $ac_optarg in
18241 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18242 esac
18243 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18244 ac_need_defaults=false;;
18245 --he | --h)
18246 # Conflict between --help and --header
18247 as_fn_error $? "ambiguous option: '$1'
18248 Try '$0 --help' for more information.";;
18249 --help | --hel | -h )
18250 printf "%s\n" "$ac_cs_usage"; exit ;;
18251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18252 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18253 ac_cs_silent=: ;;
18254
18255 # This is an error.
18256 -*) as_fn_error $? "unrecognized option: '$1'
18257 Try '$0 --help' for more information." ;;
18258
18259 *) as_fn_append ac_config_targets " $1"
18260 ac_need_defaults=false ;;
18261
18262 esac
18263 shift
18264 done
18265
18266 ac_configure_extra_args=
18267
18268 if $ac_cs_silent; then
18269 exec 6>/dev/null
18270 ac_configure_extra_args="$ac_configure_extra_args --silent"
18271 fi
18272
18273 _ACEOF
18274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18275 if \$ac_cs_recheck; then
18276 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18277 shift
18278 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
18279 CONFIG_SHELL='$SHELL'
18280 export CONFIG_SHELL
18281 exec "\$@"
18282 fi
18283
18284 _ACEOF
18285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18286 exec 5>>config.log
18287 {
18288 echo
18289 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18290 ## Running $as_me. ##
18291 _ASBOX
18292 printf "%s\n" "$ac_log"
18293 } >&5
18294
18295 _ACEOF
18296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18297 #
18298 # INIT-COMMANDS
18299 #
18300 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18301
18302
18303 # The HP-UX ksh and POSIX shell print the target directory to stdout
18304 # if CDPATH is set.
18305 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18306
18307 sed_quote_subst='$sed_quote_subst'
18308 double_quote_subst='$double_quote_subst'
18309 delay_variable_subst='$delay_variable_subst'
18310 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18311 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18312 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18313 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18314 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18315 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18316 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18317 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18318 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18319 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18320 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18321 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18322 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18323 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18324 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18325 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18326 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18327 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18328 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18329 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18330 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18331 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18332 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18333 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18334 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18335 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18336 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18337 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18338 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18339 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18340 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18341 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18342 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18343 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18344 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18345 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18346 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18347 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
18348 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18349 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18350 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18351 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18352 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18353 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18354 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18355 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18356 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18357 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18358 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18359 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18360 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18361 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18362 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18363 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18364 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18365 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18366 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18367 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18368 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18369 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18370 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18371 lt_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"`'
18372 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18373 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18374 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18375 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18376 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18377 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18378 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18379 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18380 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18381 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18382 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18383 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18384 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18385 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18386 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18387 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18388 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18389 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18390 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18391 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18392 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18393 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18394 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18395 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18396 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18397 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18398 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18399 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18400 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18401 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18402 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18403 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18404 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18405 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18406 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18407 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18408 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18409 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18410 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18411 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18412 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18413 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18414 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18415 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18416 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18417 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18418 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18419 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18420 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18421 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18422 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18423 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18424 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18425 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18426 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18427 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18428 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18429 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18430 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18431 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18432 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18433 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18434 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18435 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18436 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18437 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18438 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18439 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18440 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18441 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18442 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18443 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18444 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18445 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18446 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18447 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18448
18449 LTCC='$LTCC'
18450 LTCFLAGS='$LTCFLAGS'
18451 compiler='$compiler_DEFAULT'
18452
18453 # A function that is used when there is no print builtin or printf.
18454 func_fallback_echo ()
18455 {
18456 eval 'cat <<_LTECHO_EOF
18457 \$1
18458 _LTECHO_EOF'
18459 }
18460
18461 # Quote evaled strings.
18462 for var in AS \
18463 DLLTOOL \
18464 OBJDUMP \
18465 SHELL \
18466 ECHO \
18467 PATH_SEPARATOR \
18468 SED \
18469 GREP \
18470 EGREP \
18471 FGREP \
18472 LD \
18473 NM \
18474 LN_S \
18475 lt_SP2NL \
18476 lt_NL2SP \
18477 reload_flag \
18478 FILECMD \
18479 deplibs_check_method \
18480 file_magic_cmd \
18481 file_magic_glob \
18482 want_nocaseglob \
18483 sharedlib_from_linklib_cmd \
18484 AR \
18485 archiver_list_spec \
18486 STRIP \
18487 RANLIB \
18488 CC \
18489 CFLAGS \
18490 compiler \
18491 lt_cv_sys_global_symbol_pipe \
18492 lt_cv_sys_global_symbol_to_cdecl \
18493 lt_cv_sys_global_symbol_to_import \
18494 lt_cv_sys_global_symbol_to_c_name_address \
18495 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18496 lt_cv_nm_interface \
18497 nm_file_list_spec \
18498 lt_cv_truncate_bin \
18499 lt_prog_compiler_no_builtin_flag \
18500 lt_prog_compiler_pic \
18501 lt_prog_compiler_wl \
18502 lt_prog_compiler_static \
18503 lt_cv_prog_compiler_c_o \
18504 need_locks \
18505 MANIFEST_TOOL \
18506 DSYMUTIL \
18507 NMEDIT \
18508 LIPO \
18509 OTOOL \
18510 OTOOL64 \
18511 shrext_cmds \
18512 export_dynamic_flag_spec \
18513 whole_archive_flag_spec \
18514 compiler_needs_object \
18515 with_gnu_ld \
18516 allow_undefined_flag \
18517 no_undefined_flag \
18518 hardcode_libdir_flag_spec \
18519 hardcode_libdir_separator \
18520 exclude_expsyms \
18521 include_expsyms \
18522 file_list_spec \
18523 variables_saved_for_relink \
18524 libname_spec \
18525 library_names_spec \
18526 soname_spec \
18527 install_override_mode \
18528 finish_eval \
18529 old_striplib \
18530 striplib; do
18531 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18532 *[\\\\\\\`\\"\\\$]*)
18533 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18534 ;;
18535 *)
18536 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18537 ;;
18538 esac
18539 done
18540
18541 # Double-quote double-evaled strings.
18542 for var in reload_cmds \
18543 old_postinstall_cmds \
18544 old_postuninstall_cmds \
18545 old_archive_cmds \
18546 extract_expsyms_cmds \
18547 old_archive_from_new_cmds \
18548 old_archive_from_expsyms_cmds \
18549 archive_cmds \
18550 archive_expsym_cmds \
18551 module_cmds \
18552 module_expsym_cmds \
18553 export_symbols_cmds \
18554 prelink_cmds \
18555 postlink_cmds \
18556 postinstall_cmds \
18557 postuninstall_cmds \
18558 finish_cmds \
18559 sys_lib_search_path_spec \
18560 configure_time_dlsearch_path \
18561 configure_time_lt_sys_library_path; do
18562 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18563 *[\\\\\\\`\\"\\\$]*)
18564 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18565 ;;
18566 *)
18567 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18568 ;;
18569 esac
18570 done
18571
18572 ac_aux_dir='$ac_aux_dir'
18573
18574 # See if we are running on zsh, and set the options that allow our
18575 # commands through without removal of \ escapes INIT.
18576 if test -n "\${ZSH_VERSION+set}"; then
18577 setopt NO_GLOB_SUBST
18578 fi
18579
18580
18581 PACKAGE='$PACKAGE'
18582 VERSION='$VERSION'
18583 RM='$RM'
18584 ofile='$ofile'
18585
18586 ac_aux_dir='$ac_aux_dir'
18587
18588
18589
18590 _ACEOF
18591
18592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18593
18594 # Handling of arguments.
18595 for ac_config_target in $ac_config_targets
18596 do
18597 case $ac_config_target in
18598 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18599 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18600 "c-auto.h") CONFIG_HEADERS="$CONFIG_HEADERS c-auto.h:c-auto.in" ;;
18601 "callexe.c") CONFIG_LINKS="$CONFIG_LINKS callexe.c:../texlive/windows_wrapper/callexe.c" ;;
18602 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18603 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
18604
18605 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
18606 esac
18607 done
18608
18609
18610 # If the user did not use the arguments to specify the items to instantiate,
18611 # then the envvar interface is used. Set only those that are not.
18612 # We use the long form for the default assignment because of an extremely
18613 # bizarre bug on SunOS 4.1.3.
18614 if $ac_need_defaults; then
18615 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18616 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18617 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
18618 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18619 fi
18620
18621 # Have a temporary directory for convenience. Make it in the build tree
18622 # simply because there is no reason against having it here, and in addition,
18623 # creating and moving files from /tmp can sometimes cause problems.
18624 # Hook for its removal unless debugging.
18625 # Note that there is a small window in which the directory will not be cleaned:
18626 # after its creation but before its name has been assigned to '$tmp'.
18627 $debug ||
18628 {
18629 tmp= ac_tmp=
18630 trap 'exit_status=$?
18631 : "${ac_tmp:=$tmp}"
18632 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18633 ' 0
18634 trap 'as_fn_exit 1' 1 2 13 15
18635 }
18636 # Create a (secure) tmp directory for tmp files.
18637
18638 {
18639 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18640 test -d "$tmp"
18641 } ||
18642 {
18643 tmp=./conf$$-$RANDOM
18644 (umask 077 && mkdir "$tmp")
18645 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18646 ac_tmp=$tmp
18647
18648 # Set up the scripts for CONFIG_FILES section.
18649 # No need to generate them if there are no CONFIG_FILES.
18650 # This happens for instance with './config.status config.h'.
18651 if test -n "$CONFIG_FILES"; then
18652
18653
18654 ac_cr=`echo X | tr X '\015'`
18655 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18656 # But we know of no other shell where ac_cr would be empty at this
18657 # point, so we can use a bashism as a fallback.
18658 if test "x$ac_cr" = x; then
18659 eval ac_cr=\$\'\\r\'
18660 fi
18661 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18662 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18663 ac_cs_awk_cr='\\r'
18664 else
18665 ac_cs_awk_cr=$ac_cr
18666 fi
18667
18668 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18669 _ACEOF
18670
18671
18672 {
18673 echo "cat >conf$$subs.awk <<_ACEOF" &&
18674 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18675 echo "_ACEOF"
18676 } >conf$$subs.sh ||
18677 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18678 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18679 ac_delim='%!_!# '
18680 for ac_last_try in false false false false false :; do
18681 . ./conf$$subs.sh ||
18682 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18683
18684 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18685 if test $ac_delim_n = $ac_delim_num; then
18686 break
18687 elif $ac_last_try; then
18688 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18689 else
18690 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18691 fi
18692 done
18693 rm -f conf$$subs.sh
18694
18695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18696 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18697 _ACEOF
18698 sed -n '
18699 h
18700 s/^/S["/; s/!.*/"]=/
18701 p
18702 g
18703 s/^[^!]*!//
18704 :repl
18705 t repl
18706 s/'"$ac_delim"'$//
18707 t delim
18708 :nl
18709 h
18710 s/\(.\{148\}\)..*/\1/
18711 t more1
18712 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18713 p
18714 n
18715 b repl
18716 :more1
18717 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18718 p
18719 g
18720 s/.\{148\}//
18721 t nl
18722 :delim
18723 h
18724 s/\(.\{148\}\)..*/\1/
18725 t more2
18726 s/["\\]/\\&/g; s/^/"/; s/$/"/
18727 p
18728 b
18729 :more2
18730 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18731 p
18732 g
18733 s/.\{148\}//
18734 t delim
18735 ' <conf$$subs.awk | sed '
18736 /^[^""]/{
18737 N
18738 s/\n//
18739 }
18740 ' >>$CONFIG_STATUS || ac_write_fail=1
18741 rm -f conf$$subs.awk
18742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18743 _ACAWK
18744 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18745 for (key in S) S_is_set[key] = 1
18746 FS = ""
18747
18748 }
18749 {
18750 line = $ 0
18751 nfields = split(line, field, "@")
18752 substed = 0
18753 len = length(field[1])
18754 for (i = 2; i < nfields; i++) {
18755 key = field[i]
18756 keylen = length(key)
18757 if (S_is_set[key]) {
18758 value = S[key]
18759 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18760 len += length(value) + length(field[++i])
18761 substed = 1
18762 } else
18763 len += 1 + keylen
18764 }
18765
18766 print line
18767 }
18768
18769 _ACAWK
18770 _ACEOF
18771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18772 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18773 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18774 else
18775 cat
18776 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18777 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18778 _ACEOF
18779
18780 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18781 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18782 # trailing colons and then remove the whole line if VPATH becomes empty
18783 # (actually we leave an empty line to preserve line numbers).
18784 if test "x$srcdir" = x.; then
18785 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18786 h
18787 s///
18788 s/^/:/
18789 s/[ ]*$/:/
18790 s/:\$(srcdir):/:/g
18791 s/:\${srcdir}:/:/g
18792 s/:@srcdir@:/:/g
18793 s/^:*//
18794 s/:*$//
18795 x
18796 s/\(=[ ]*\).*/\1/
18797 G
18798 s/\n//
18799 s/^[^=]*=[ ]*$//
18800 }'
18801 fi
18802
18803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18804 fi # test -n "$CONFIG_FILES"
18805
18806 # Set up the scripts for CONFIG_HEADERS section.
18807 # No need to generate them if there are no CONFIG_HEADERS.
18808 # This happens for instance with './config.status Makefile'.
18809 if test -n "$CONFIG_HEADERS"; then
18810 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18811 BEGIN {
18812 _ACEOF
18813
18814 # Transform confdefs.h into an awk script 'defines.awk', embedded as
18815 # here-document in config.status, that substitutes the proper values into
18816 # config.h.in to produce config.h.
18817
18818 # Create a delimiter string that does not exist in confdefs.h, to ease
18819 # handling of long lines.
18820 ac_delim='%!_!# '
18821 for ac_last_try in false false :; do
18822 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18823 if test -z "$ac_tt"; then
18824 break
18825 elif $ac_last_try; then
18826 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18827 else
18828 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18829 fi
18830 done
18831
18832 # For the awk script, D is an array of macro values keyed by name,
18833 # likewise P contains macro parameters if any. Preserve backslash
18834 # newline sequences.
18835
18836 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18837 sed -n '
18838 s/.\{148\}/&'"$ac_delim"'/g
18839 t rset
18840 :rset
18841 s/^[ ]*#[ ]*define[ ][ ]*/ /
18842 t def
18843 d
18844 :def
18845 s/\\$//
18846 t bsnl
18847 s/["\\]/\\&/g
18848 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18849 D["\1"]=" \3"/p
18850 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18851 d
18852 :bsnl
18853 s/["\\]/\\&/g
18854 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18855 D["\1"]=" \3\\\\\\n"\\/p
18856 t cont
18857 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18858 t cont
18859 d
18860 :cont
18861 n
18862 s/.\{148\}/&'"$ac_delim"'/g
18863 t clear
18864 :clear
18865 s/\\$//
18866 t bsnlc
18867 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18868 d
18869 :bsnlc
18870 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18871 b cont
18872 ' <confdefs.h | sed '
18873 s/'"$ac_delim"'/"\\\
18874 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18875
18876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18877 for (key in D) D_is_set[key] = 1
18878 FS = ""
18879 }
18880 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18881 line = \$ 0
18882 split(line, arg, " ")
18883 if (arg[1] == "#") {
18884 defundef = arg[2]
18885 mac1 = arg[3]
18886 } else {
18887 defundef = substr(arg[1], 2)
18888 mac1 = arg[2]
18889 }
18890 split(mac1, mac2, "(") #)
18891 macro = mac2[1]
18892 prefix = substr(line, 1, index(line, defundef) - 1)
18893 if (D_is_set[macro]) {
18894 # Preserve the white space surrounding the "#".
18895 print prefix "define", macro P[macro] D[macro]
18896 next
18897 } else {
18898 # Replace #undef with comments. This is necessary, for example,
18899 # in the case of _POSIX_SOURCE, which is predefined and required
18900 # on some systems where configure will not decide to define it.
18901 if (defundef == "undef") {
18902 print "/*", prefix defundef, macro, "*/"
18903 next
18904 }
18905 }
18906 }
18907 { print }
18908 _ACAWK
18909 _ACEOF
18910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18911 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18912 fi # test -n "$CONFIG_HEADERS"
18913
18914
18915 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18916 shift
18917 for ac_tag
18918 do
18919 case $ac_tag in
18920 :[FHLC]) ac_mode=$ac_tag; continue;;
18921 esac
18922 case $ac_mode$ac_tag in
18923 :[FHL]*:*);;
18924 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
18925 :[FH]-) ac_tag=-:-;;
18926 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18927 esac
18928 ac_save_IFS=$IFS
18929 IFS=:
18930 set x $ac_tag
18931 IFS=$ac_save_IFS
18932 shift
18933 ac_file=$1
18934 shift
18935
18936 case $ac_mode in
18937 :L) ac_source=$1;;
18938 :[FH])
18939 ac_file_inputs=
18940 for ac_f
18941 do
18942 case $ac_f in
18943 -) ac_f="$ac_tmp/stdin";;
18944 *) # Look for the file first in the build tree, then in the source tree
18945 # (if the path is not absolute). The absolute path cannot be DOS-style,
18946 # because $ac_f cannot contain ':'.
18947 test -f "$ac_f" ||
18948 case $ac_f in
18949 [\\/$]*) false;;
18950 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18951 esac ||
18952 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
18953 esac
18954 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18955 as_fn_append ac_file_inputs " '$ac_f'"
18956 done
18957
18958 # Let's still pretend it is 'configure' which instantiates (i.e., don't
18959 # use $as_me), people would be surprised to read:
18960 # /* config.h. Generated by config.status. */
18961 configure_input='Generated from '`
18962 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18963 `' by configure.'
18964 if test x"$ac_file" != x-; then
18965 configure_input="$ac_file. $configure_input"
18966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18967 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18968 fi
18969 # Neutralize special characters interpreted by sed in replacement strings.
18970 case $configure_input in #(
18971 *\&* | *\|* | *\\* )
18972 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18973 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18974 *) ac_sed_conf_input=$configure_input;;
18975 esac
18976
18977 case $ac_tag in
18978 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18979 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18980 esac
18981 ;;
18982 esac
18983
18984 ac_dir=`$as_dirname -- "$ac_file" ||
18985 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18986 X"$ac_file" : 'X\(//\)[^/]' \| \
18987 X"$ac_file" : 'X\(//\)$' \| \
18988 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18989 printf "%s\n" X"$ac_file" |
18990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18991 s//\1/
18992 q
18993 }
18994 /^X\(\/\/\)[^/].*/{
18995 s//\1/
18996 q
18997 }
18998 /^X\(\/\/\)$/{
18999 s//\1/
19000 q
19001 }
19002 /^X\(\/\).*/{
19003 s//\1/
19004 q
19005 }
19006 s/.*/./; q'`
19007 as_dir="$ac_dir"; as_fn_mkdir_p
19008 ac_builddir=.
19009
19010 case "$ac_dir" in
19011 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19012 *)
19013 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
19014 # A ".." for each directory in $ac_dir_suffix.
19015 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19016 case $ac_top_builddir_sub in
19017 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19018 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19019 esac ;;
19020 esac
19021 ac_abs_top_builddir=$ac_pwd
19022 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19023 # for backward compatibility:
19024 ac_top_builddir=$ac_top_build_prefix
19025
19026 case $srcdir in
19027 .) # We are building in place.
19028 ac_srcdir=.
19029 ac_top_srcdir=$ac_top_builddir_sub
19030 ac_abs_top_srcdir=$ac_pwd ;;
19031 [\\/]* | ?:[\\/]* ) # Absolute name.
19032 ac_srcdir=$srcdir$ac_dir_suffix;
19033 ac_top_srcdir=$srcdir
19034 ac_abs_top_srcdir=$srcdir ;;
19035 *) # Relative name.
19036 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19037 ac_top_srcdir=$ac_top_build_prefix$srcdir
19038 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19039 esac
19040 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19041
19042
19043 case $ac_mode in
19044 :F)
19045 #
19046 # CONFIG_FILE
19047 #
19048
19049 case $INSTALL in
19050 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19051 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19052 esac
19053 ac_MKDIR_P=$MKDIR_P
19054 case $MKDIR_P in
19055 [\\/$]* | ?:[\\/]* ) ;;
19056 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19057 esac
19058 _ACEOF
19059
19060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19061 # If the template does not know about datarootdir, expand it.
19062 # FIXME: This hack should be removed a few years after 2.60.
19063 ac_datarootdir_hack=; ac_datarootdir_seen=
19064 ac_sed_dataroot='
19065 /datarootdir/ {
19066 p
19067 q
19068 }
19069 /@datadir@/p
19070 /@docdir@/p
19071 /@infodir@/p
19072 /@localedir@/p
19073 /@mandir@/p'
19074 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19075 *datarootdir*) ac_datarootdir_seen=yes;;
19076 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19078 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19079 _ACEOF
19080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19081 ac_datarootdir_hack='
19082 s&@datadir@&$datadir&g
19083 s&@docdir@&$docdir&g
19084 s&@infodir@&$infodir&g
19085 s&@localedir@&$localedir&g
19086 s&@mandir@&$mandir&g
19087 s&\\\${datarootdir}&$datarootdir&g' ;;
19088 esac
19089 _ACEOF
19090
19091 # Neutralize VPATH when '$srcdir' = '.'.
19092 # Shell code in configure.ac might set extrasub.
19093 # FIXME: do we really want to maintain this feature?
19094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19095 ac_sed_extra="$ac_vpsub
19096 $extrasub
19097 _ACEOF
19098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19099 :t
19100 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19101 s|@configure_input@|$ac_sed_conf_input|;t t
19102 s&@top_builddir@&$ac_top_builddir_sub&;t t
19103 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19104 s&@srcdir@&$ac_srcdir&;t t
19105 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19106 s&@top_srcdir@&$ac_top_srcdir&;t t
19107 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19108 s&@builddir@&$ac_builddir&;t t
19109 s&@abs_builddir@&$ac_abs_builddir&;t t
19110 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19111 s&@INSTALL@&$ac_INSTALL&;t t
19112 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19113 $ac_datarootdir_hack
19114 "
19115 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19116 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19117
19118 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19119 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19120 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19121 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19123 which seems to be undefined. Please make sure it is defined" >&5
19124 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19125 which seems to be undefined. Please make sure it is defined" >&2;}
19126
19127 rm -f "$ac_tmp/stdin"
19128 case $ac_file in
19129 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19130 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19131 esac \
19132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19133 ;;
19134 :H)
19135 #
19136 # CONFIG_HEADER
19137 #
19138 if test x"$ac_file" != x-; then
19139 {
19140 printf "%s\n" "/* $configure_input */" >&1 \
19141 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19142 } >"$ac_tmp/config.h" \
19143 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19144 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19146 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
19147 else
19148 rm -f "$ac_file"
19149 mv "$ac_tmp/config.h" "$ac_file" \
19150 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19151 fi
19152 else
19153 printf "%s\n" "/* $configure_input */" >&1 \
19154 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19155 || as_fn_error $? "could not create -" "$LINENO" 5
19156 fi
19157 # Compute "$ac_file"'s index in $config_headers.
19158 _am_arg="$ac_file"
19159 _am_stamp_count=1
19160 for _am_header in $config_headers :; do
19161 case $_am_header in
19162 $_am_arg | $_am_arg:* )
19163 break ;;
19164 * )
19165 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19166 esac
19167 done
19168 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19169 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19170 X"$_am_arg" : 'X\(//\)[^/]' \| \
19171 X"$_am_arg" : 'X\(//\)$' \| \
19172 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19173 printf "%s\n" X"$_am_arg" |
19174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19175 s//\1/
19176 q
19177 }
19178 /^X\(\/\/\)[^/].*/{
19179 s//\1/
19180 q
19181 }
19182 /^X\(\/\/\)$/{
19183 s//\1/
19184 q
19185 }
19186 /^X\(\/\).*/{
19187 s//\1/
19188 q
19189 }
19190 s/.*/./; q'`/stamp-h$_am_stamp_count
19191 ;;
19192 :L)
19193 #
19194 # CONFIG_LINK
19195 #
19196
19197 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19198 :
19199 else
19200 # Prefer the file from the source tree if names are identical.
19201 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19202 ac_source=$srcdir/$ac_source
19203 fi
19204
19205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19206 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
19207
19208 if test ! -r "$ac_source"; then
19209 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19210 fi
19211 rm -f "$ac_file"
19212
19213 # Try a relative symlink, then a hard link, then a copy.
19214 case $ac_source in
19215 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19216 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19217 esac
19218 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19219 ln "$ac_source" "$ac_file" 2>/dev/null ||
19220 cp -p "$ac_source" "$ac_file" ||
19221 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19222 fi
19223 ;;
19224 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19225 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
19226 ;;
19227 esac
19228
19229
19230 case $ac_file$ac_mode in
19231 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19232 # Older Autoconf quotes --file arguments for eval, but not when files
19233 # are listed without --file. Let's play safe and only enable the eval
19234 # if we detect the quoting.
19235 # TODO: see whether this extra hack can be removed once we start
19236 # requiring Autoconf 2.70 or later.
19237 case $CONFIG_FILES in #(
19238 *\'*) :
19239 eval set x "$CONFIG_FILES" ;; #(
19240 *) :
19241 set x $CONFIG_FILES ;; #(
19242 *) :
19243 ;;
19244 esac
19245 shift
19246 # Used to flag and report bootstrapping failures.
19247 am_rc=0
19248 for am_mf
19249 do
19250 # Strip MF so we end up with the name of the file.
19251 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
19252 # Check whether this is an Automake generated Makefile which includes
19253 # dependency-tracking related rules and includes.
19254 # Grep'ing the whole file directly is not great: AIX grep has a line
19255 # limit of 2048, but all sed's we know have understand at least 4000.
19256 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19257 || continue
19258 am_dirpart=`$as_dirname -- "$am_mf" ||
19259 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19260 X"$am_mf" : 'X\(//\)[^/]' \| \
19261 X"$am_mf" : 'X\(//\)$' \| \
19262 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19263 printf "%s\n" X"$am_mf" |
19264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19265 s//\1/
19266 q
19267 }
19268 /^X\(\/\/\)[^/].*/{
19269 s//\1/
19270 q
19271 }
19272 /^X\(\/\/\)$/{
19273 s//\1/
19274 q
19275 }
19276 /^X\(\/\).*/{
19277 s//\1/
19278 q
19279 }
19280 s/.*/./; q'`
19281 am_filepart=`$as_basename -- "$am_mf" ||
19282 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19283 X"$am_mf" : 'X\(//\)$' \| \
19284 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19285 printf "%s\n" X/"$am_mf" |
19286 sed '/^.*\/\([^/][^/]*\)\/*$/{
19287 s//\1/
19288 q
19289 }
19290 /^X\/\(\/\/\)$/{
19291 s//\1/
19292 q
19293 }
19294 /^X\/\(\/\).*/{
19295 s//\1/
19296 q
19297 }
19298 s/.*/./; q'`
19299 { echo "$as_me:$LINENO: cd "$am_dirpart" \
19300 && sed -e '/# am--include-marker/d' "$am_filepart" \
19301 | $MAKE -f - am--depfiles" >&5
19302 (cd "$am_dirpart" \
19303 && sed -e '/# am--include-marker/d' "$am_filepart" \
19304 | $MAKE -f - am--depfiles) >&5 2>&5
19305 ac_status=$?
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } || am_rc=$?
19308 done
19309 if test $am_rc -ne 0; then
19310 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
19311 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
19312 as_fn_error $? "Something went wrong bootstrapping makefile fragments
19313 for automatic dependency tracking. If GNU make was not used, consider
19314 re-running the configure script with MAKE=\"gmake\" (or whatever is
19315 necessary). You can also try re-running configure with the
19316 '--disable-dependency-tracking' option to at least be able to build
19317 the package (albeit without support for automatic dependency tracking).
19318 See 'config.log' for more details" "$LINENO" 5; }
19319 fi
19320 { am_dirpart=; unset am_dirpart;}
19321 { am_filepart=; unset am_filepart;}
19322 { am_mf=; unset am_mf;}
19323 { am_rc=; unset am_rc;}
19324 rm -f conftest-deps.mk
19325 }
19326 ;;
19327 "libtool":C)
19328
19329 # See if we are running on zsh, and set the options that allow our
19330 # commands through without removal of \ escapes.
19331 if test -n "${ZSH_VERSION+set}"; then
19332 setopt NO_GLOB_SUBST
19333 fi
19334
19335 cfgfile=${ofile}T
19336 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19337 $RM "$cfgfile"
19338
19339 cat <<_LT_EOF >> "$cfgfile"
19340 #! $SHELL
19341 # Generated automatically by $as_me ($PACKAGE) $VERSION
19342 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19343
19344 # Provide generalized library-building support services.
19345 # Written by Gordon Matzigkeit, 1996
19346
19347 # Copyright (C) 2024 Free Software Foundation, Inc.
19348 # This is free software; see the source for copying conditions. There is NO
19349 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19350
19351 # GNU Libtool is free software; you can redistribute it and/or modify
19352 # it under the terms of the GNU General Public License as published by
19353 # the Free Software Foundation; either version 2 of the License, or
19354 # (at your option) any later version.
19355 #
19356 # As a special exception to the GNU General Public License, if you
19357 # distribute this file as part of a program or library that is built
19358 # using GNU Libtool, you may include this file under the same
19359 # distribution terms that you use for the rest of that program.
19360 #
19361 # GNU Libtool is distributed in the hope that it will be useful, but
19362 # WITHOUT ANY WARRANTY; without even the implied warranty of
19363 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19364 # GNU General Public License for more details.
19365 #
19366 # You should have received a copy of the GNU General Public License
19367 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19368
19369
19370 # The names of the tagged configurations supported by this script.
19371 available_tags=''
19372
19373 # Configured defaults for sys_lib_dlsearch_path munging.
19374 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19375
19376 # ### BEGIN LIBTOOL CONFIG
19377
19378 # Which release of libtool.m4 was used?
19379 macro_version=$macro_version
19380 macro_revision=$macro_revision
19381
19382 # Assembler program.
19383 AS=$lt_AS
19384
19385 # DLL creation program.
19386 DLLTOOL=$lt_DLLTOOL
19387
19388 # Object dumper program.
19389 OBJDUMP=$lt_OBJDUMP
19390
19391 # Whether or not to build shared libraries.
19392 build_libtool_libs=$enable_shared
19393
19394 # Whether or not to build static libraries.
19395 build_old_libs=$enable_static
19396
19397 # What type of objects to build.
19398 pic_mode=$pic_mode
19399
19400 # Whether or not to optimize for fast installation.
19401 fast_install=$enable_fast_install
19402
19403 # Shared archive member basename,for filename based shared library versioning on AIX.
19404 shared_archive_member_spec=$shared_archive_member_spec
19405
19406 # Shell to use when invoking shell scripts.
19407 SHELL=$lt_SHELL
19408
19409 # An echo program that protects backslashes.
19410 ECHO=$lt_ECHO
19411
19412 # The PATH separator for the build system.
19413 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19414
19415 # The host system.
19416 host_alias=$host_alias
19417 host=$host
19418 host_os=$host_os
19419
19420 # The build system.
19421 build_alias=$build_alias
19422 build=$build
19423 build_os=$build_os
19424
19425 # A sed program that does not truncate output.
19426 SED=$lt_SED
19427
19428 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19429 Xsed="\$SED -e 1s/^X//"
19430
19431 # A grep program that handles long lines.
19432 GREP=$lt_GREP
19433
19434 # An ERE matcher.
19435 EGREP=$lt_EGREP
19436
19437 # A literal string matcher.
19438 FGREP=$lt_FGREP
19439
19440 # A BSD- or MS-compatible name lister.
19441 NM=$lt_NM
19442
19443 # Whether we need soft or hard links.
19444 LN_S=$lt_LN_S
19445
19446 # What is the maximum length of a command?
19447 max_cmd_len=$max_cmd_len
19448
19449 # Object file suffix (normally "o").
19450 objext=$ac_objext
19451
19452 # Executable file suffix (normally "").
19453 exeext=$exeext
19454
19455 # whether the shell understands "unset".
19456 lt_unset=$lt_unset
19457
19458 # turn spaces into newlines.
19459 SP2NL=$lt_lt_SP2NL
19460
19461 # turn newlines into spaces.
19462 NL2SP=$lt_lt_NL2SP
19463
19464 # convert \$build file names to \$host format.
19465 to_host_file_cmd=$lt_cv_to_host_file_cmd
19466
19467 # convert \$build files to toolchain format.
19468 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19469
19470 # A file(cmd) program that detects file types.
19471 FILECMD=$lt_FILECMD
19472
19473 # Method to check whether dependent libraries are shared objects.
19474 deplibs_check_method=$lt_deplibs_check_method
19475
19476 # Command to use when deplibs_check_method = "file_magic".
19477 file_magic_cmd=$lt_file_magic_cmd
19478
19479 # How to find potential files when deplibs_check_method = "file_magic".
19480 file_magic_glob=$lt_file_magic_glob
19481
19482 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19483 want_nocaseglob=$lt_want_nocaseglob
19484
19485 # Command to associate shared and link libraries.
19486 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19487
19488 # The archiver.
19489 AR=$lt_AR
19490
19491 # Flags to create an archive (by configure).
19492 lt_ar_flags=$lt_ar_flags
19493
19494 # Flags to create an archive.
19495 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19496
19497 # How to feed a file listing to the archiver.
19498 archiver_list_spec=$lt_archiver_list_spec
19499
19500 # A symbol stripping program.
19501 STRIP=$lt_STRIP
19502
19503 # Commands used to install an old-style archive.
19504 RANLIB=$lt_RANLIB
19505 old_postinstall_cmds=$lt_old_postinstall_cmds
19506 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19507
19508 # Whether to use a lock for old archive extraction.
19509 lock_old_archive_extraction=$lock_old_archive_extraction
19510
19511 # A C compiler.
19512 LTCC=$lt_CC
19513
19514 # LTCC compiler flags.
19515 LTCFLAGS=$lt_CFLAGS
19516
19517 # Take the output of nm and produce a listing of raw symbols and C names.
19518 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19519
19520 # Transform the output of nm in a proper C declaration.
19521 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19522
19523 # Transform the output of nm into a list of symbols to manually relocate.
19524 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19525
19526 # Transform the output of nm in a C name address pair.
19527 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19528
19529 # Transform the output of nm in a C name address pair when lib prefix is needed.
19530 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19531
19532 # The name lister interface.
19533 nm_interface=$lt_lt_cv_nm_interface
19534
19535 # Specify filename containing input files for \$NM.
19536 nm_file_list_spec=$lt_nm_file_list_spec
19537
19538 # The root where to search for dependent libraries,and where our libraries should be installed.
19539 lt_sysroot=$lt_sysroot
19540
19541 # Command to truncate a binary pipe.
19542 lt_truncate_bin=$lt_lt_cv_truncate_bin
19543
19544 # The name of the directory that contains temporary libtool files.
19545 objdir=$objdir
19546
19547 # Used to examine libraries when file_magic_cmd begins with "file".
19548 MAGIC_CMD=$MAGIC_CMD
19549
19550 # Must we lock files when doing compilation?
19551 need_locks=$lt_need_locks
19552
19553 # Manifest tool.
19554 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19555
19556 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19557 DSYMUTIL=$lt_DSYMUTIL
19558
19559 # Tool to change global to local symbols on Mac OS X.
19560 NMEDIT=$lt_NMEDIT
19561
19562 # Tool to manipulate fat objects and archives on Mac OS X.
19563 LIPO=$lt_LIPO
19564
19565 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19566 OTOOL=$lt_OTOOL
19567
19568 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19569 OTOOL64=$lt_OTOOL64
19570
19571 # Old archive suffix (normally "a").
19572 libext=$libext
19573
19574 # Shared library suffix (normally ".so").
19575 shrext_cmds=$lt_shrext_cmds
19576
19577 # The commands to extract the exported symbol list from a shared archive.
19578 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19579
19580 # Variables whose values should be saved in libtool wrapper scripts and
19581 # restored at link time.
19582 variables_saved_for_relink=$lt_variables_saved_for_relink
19583
19584 # Do we need the "lib" prefix for modules?
19585 need_lib_prefix=$need_lib_prefix
19586
19587 # Do we need a version for libraries?
19588 need_version=$need_version
19589
19590 # Library versioning type.
19591 version_type=$version_type
19592
19593 # Shared library runtime path variable.
19594 runpath_var=$runpath_var
19595
19596 # Shared library path variable.
19597 shlibpath_var=$shlibpath_var
19598
19599 # Is shlibpath searched before the hard-coded library search path?
19600 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19601
19602 # Format of library name prefix.
19603 libname_spec=$lt_libname_spec
19604
19605 # List of archive names. First name is the real one, the rest are links.
19606 # The last name is the one that the linker finds with -lNAME
19607 library_names_spec=$lt_library_names_spec
19608
19609 # The coded name of the library, if different from the real name.
19610 soname_spec=$lt_soname_spec
19611
19612 # Permission mode override for installation of shared libraries.
19613 install_override_mode=$lt_install_override_mode
19614
19615 # Command to use after installation of a shared archive.
19616 postinstall_cmds=$lt_postinstall_cmds
19617
19618 # Command to use after uninstallation of a shared archive.
19619 postuninstall_cmds=$lt_postuninstall_cmds
19620
19621 # Commands used to finish a libtool library installation in a directory.
19622 finish_cmds=$lt_finish_cmds
19623
19624 # As "finish_cmds", except a single script fragment to be evaled but
19625 # not shown.
19626 finish_eval=$lt_finish_eval
19627
19628 # Whether we should hardcode library paths into libraries.
19629 hardcode_into_libs=$hardcode_into_libs
19630
19631 # Compile-time system search path for libraries.
19632 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19633
19634 # Detected run-time system search path for libraries.
19635 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19636
19637 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19638 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19639
19640 # Whether dlopen is supported.
19641 dlopen_support=$enable_dlopen
19642
19643 # Whether dlopen of programs is supported.
19644 dlopen_self=$enable_dlopen_self
19645
19646 # Whether dlopen of statically linked programs is supported.
19647 dlopen_self_static=$enable_dlopen_self_static
19648
19649 # Commands to strip libraries.
19650 old_striplib=$lt_old_striplib
19651 striplib=$lt_striplib
19652
19653
19654 # The linker used to build libraries.
19655 LD=$lt_LD
19656
19657 # How to create reloadable object files.
19658 reload_flag=$lt_reload_flag
19659 reload_cmds=$lt_reload_cmds
19660
19661 # Commands used to build an old-style archive.
19662 old_archive_cmds=$lt_old_archive_cmds
19663
19664 # A language specific compiler.
19665 CC=$lt_compiler
19666
19667 # Is the compiler the GNU compiler?
19668 with_gcc=$GCC
19669
19670 # Compiler flag to turn off builtin functions.
19671 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19672
19673 # Additional compiler flags for building library objects.
19674 pic_flag=$lt_lt_prog_compiler_pic
19675
19676 # How to pass a linker flag through the compiler.
19677 wl=$lt_lt_prog_compiler_wl
19678
19679 # Compiler flag to prevent dynamic linking.
19680 link_static_flag=$lt_lt_prog_compiler_static
19681
19682 # Does compiler simultaneously support -c and -o options?
19683 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19684
19685 # Whether or not to add -lc for building shared libraries.
19686 build_libtool_need_lc=$archive_cmds_need_lc
19687
19688 # Whether or not to disallow shared libs when runtime libs are static.
19689 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19690
19691 # Compiler flag to allow reflexive dlopens.
19692 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19693
19694 # Compiler flag to generate shared objects directly from archives.
19695 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19696
19697 # Whether the compiler copes with passing no objects directly.
19698 compiler_needs_object=$lt_compiler_needs_object
19699
19700 # Create an old-style archive from a shared archive.
19701 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19702
19703 # Create a temporary old-style archive to link instead of a shared archive.
19704 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19705
19706 # Commands used to build a shared archive.
19707 archive_cmds=$lt_archive_cmds
19708 archive_expsym_cmds=$lt_archive_expsym_cmds
19709
19710 # Commands used to build a loadable module if different from building
19711 # a shared archive.
19712 module_cmds=$lt_module_cmds
19713 module_expsym_cmds=$lt_module_expsym_cmds
19714
19715 # Whether we are building with GNU ld or not.
19716 with_gnu_ld=$lt_with_gnu_ld
19717
19718 # Flag that allows shared libraries with undefined symbols to be built.
19719 allow_undefined_flag=$lt_allow_undefined_flag
19720
19721 # Flag that enforces no undefined symbols.
19722 no_undefined_flag=$lt_no_undefined_flag
19723
19724 # Flag to hardcode \$libdir into a binary during linking.
19725 # This must work even if \$libdir does not exist
19726 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19727
19728 # Whether we need a single "-rpath" flag with a separated argument.
19729 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19730
19731 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19732 # DIR into the resulting binary.
19733 hardcode_direct=$hardcode_direct
19734
19735 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19736 # DIR into the resulting binary and the resulting library dependency is
19737 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
19738 # library is relocated.
19739 hardcode_direct_absolute=$hardcode_direct_absolute
19740
19741 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19742 # into the resulting binary.
19743 hardcode_minus_L=$hardcode_minus_L
19744
19745 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19746 # into the resulting binary.
19747 hardcode_shlibpath_var=$hardcode_shlibpath_var
19748
19749 # Set to "yes" if building a shared library automatically hardcodes DIR
19750 # into the library and all subsequent libraries and executables linked
19751 # against it.
19752 hardcode_automatic=$hardcode_automatic
19753
19754 # Set to yes if linker adds runtime paths of dependent libraries
19755 # to runtime path list.
19756 inherit_rpath=$inherit_rpath
19757
19758 # Whether libtool must link a program against all its dependency libraries.
19759 link_all_deplibs=$link_all_deplibs
19760
19761 # Set to "yes" if exported symbols are required.
19762 always_export_symbols=$always_export_symbols
19763
19764 # The commands to list exported symbols.
19765 export_symbols_cmds=$lt_export_symbols_cmds
19766
19767 # Symbols that should not be listed in the preloaded symbols.
19768 exclude_expsyms=$lt_exclude_expsyms
19769
19770 # Symbols that must always be exported.
19771 include_expsyms=$lt_include_expsyms
19772
19773 # Commands necessary for linking programs (against libraries) with templates.
19774 prelink_cmds=$lt_prelink_cmds
19775
19776 # Commands necessary for finishing linking programs.
19777 postlink_cmds=$lt_postlink_cmds
19778
19779 # Specify filename containing input files.
19780 file_list_spec=$lt_file_list_spec
19781
19782 # How to hardcode a shared library path into an executable.
19783 hardcode_action=$hardcode_action
19784
19785 # ### END LIBTOOL CONFIG
19786
19787 _LT_EOF
19788
19789 cat <<'_LT_EOF' >> "$cfgfile"
19790
19791 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19792
19793 # func_munge_path_list VARIABLE PATH
19794 # -----------------------------------
19795 # VARIABLE is name of variable containing _space_ separated list of
19796 # directories to be munged by the contents of PATH, which is string
19797 # having a format:
19798 # "DIR[:DIR]:"
19799 # string "DIR[ DIR]" will be prepended to VARIABLE
19800 # ":DIR[:DIR]"
19801 # string "DIR[ DIR]" will be appended to VARIABLE
19802 # "DIRP[:DIRP]::[DIRA:]DIRA"
19803 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19804 # "DIRA[ DIRA]" will be appended to VARIABLE
19805 # "DIR[:DIR]"
19806 # VARIABLE will be replaced by "DIR[ DIR]"
19807 func_munge_path_list ()
19808 {
19809 case x$2 in
19810 x)
19811 ;;
19812 *:)
19813 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19814 ;;
19815 x:*)
19816 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19817 ;;
19818 *::*)
19819 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19820 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19821 ;;
19822 *)
19823 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19824 ;;
19825 esac
19826 }
19827
19828
19829 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19830 func_cc_basename ()
19831 {
19832 for cc_temp in $*""; do
19833 case $cc_temp in
19834 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19835 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19836 \-*) ;;
19837 *) break;;
19838 esac
19839 done
19840 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19841 }
19842
19843
19844 # ### END FUNCTIONS SHARED WITH CONFIGURE
19845
19846 _LT_EOF
19847
19848 case $host_os in
19849 aix3*)
19850 cat <<\_LT_EOF >> "$cfgfile"
19851 # AIX sometimes has problems with the GCC collect2 program. For some
19852 # reason, if we set the COLLECT_NAMES environment variable, the problems
19853 # vanish in a puff of smoke.
19854 if test set != "${COLLECT_NAMES+set}"; then
19855 COLLECT_NAMES=
19856 export COLLECT_NAMES
19857 fi
19858 _LT_EOF
19859 ;;
19860 esac
19861
19862
19863
19864 ltmain=$ac_aux_dir/ltmain.sh
19865
19866
19867 # We use sed instead of cat because bash on DJGPP gets confused if
19868 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19869 # text mode, it properly converts lines to CR/LF. This bash problem
19870 # is reportedly fixed, but why not run on old versions too?
19871 $SED '$q' "$ltmain" >> "$cfgfile" \
19872 || (rm -f "$cfgfile"; exit 1)
19873
19874 mv -f "$cfgfile" "$ofile" ||
19875 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19876 chmod +x "$ofile"
19877
19878 ;;
19879
19880 esac
19881 done # for ac_tag
19882
19883
19884 as_fn_exit 0
19885 _ACEOF
19886 ac_clean_files=$ac_clean_files_save
19887
19888 test $ac_write_fail = 0 ||
19889 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19890
19891
19892 # configure is writing to config.log, and then calls config.status.
19893 # config.status does its own redirection, appending to config.log.
19894 # Unfortunately, on DOS this fails, as config.log is still kept open
19895 # by configure, so config.status won't be able to write to it; its
19896 # output is simply discarded. So we exec the FD to /dev/null,
19897 # effectively closing config.log, so it can be properly (re)opened and
19898 # appended to by config.status. When coming back to configure, we
19899 # need to make the FD available again.
19900 if test "$no_create" != yes; then
19901 ac_cs_success=:
19902 ac_config_status_args=
19903 test "$silent" = yes &&
19904 ac_config_status_args="$ac_config_status_args --quiet"
19905 exec 5>/dev/null
19906 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19907 exec 5>>config.log
19908 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19909 # would make configure fail if this is the last instruction.
19910 $ac_cs_success || as_fn_exit 1
19911 fi
19912 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19914 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19915 fi
19916
19917