Debian Codegraph @

texk/dvipsk/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 dvipsk (TeX Live) 2026.1.
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='dvipsk (TeX Live)'
616 PACKAGE_TARNAME='dvipsk--tex-live-'
617 PACKAGE_VERSION='2026.1'
618 PACKAGE_STRING='dvipsk (TeX Live) 2026.1'
619 PACKAGE_BUGREPORT='[email protected]'
620 PACKAGE_URL=''
621
622 ac_unique_file="dvips.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_option_checking=no
656 enable_year2038=no
657 ac_subst_vars='am__EXEEXT_FALSE
658 am__EXEEXT_TRUE
659 LTLIBOBJS
660 LIBOBJS
661 subdirs
662 encdir
663 KPATHSEA_RULE
664 KPATHSEA_DEPEND
665 KPATHSEA_LIBS
666 KPATHSEA_INCLUDES
667 PKG_CONFIG
668 LT_SYS_LIBRARY_PATH
669 OTOOL64
670 OTOOL
671 LIPO
672 NMEDIT
673 DSYMUTIL
674 MANIFEST_TOOL
675 RANLIB
676 FILECMD
677 LN_S
678 NM
679 ac_ct_DUMPBIN
680 DUMPBIN
681 LD
682 FGREP
683 EGREP
684 GREP
685 SED
686 host_os
687 host_vendor
688 host_cpu
689 host
690 build_os
691 build_vendor
692 build_cpu
693 build
694 LIBTOOL
695 OBJDUMP
696 DLLTOOL
697 AS
698 ac_ct_AR
699 AR
700 WARNING_CFLAGS
701 am__fastdepCC_FALSE
702 am__fastdepCC_TRUE
703 CCDEPMODE
704 am__nodep
705 AMDEPBACKSLASH
706 AMDEP_FALSE
707 AMDEP_TRUE
708 am__include
709 DEPDIR
710 OBJEXT
711 EXEEXT
712 ac_ct_CC
713 CPPFLAGS
714 LDFLAGS
715 CFLAGS
716 CC
717 MAINT
718 MAINTAINER_MODE_FALSE
719 MAINTAINER_MODE_TRUE
720 am__xargs_n
721 am__rm_f_notfound
722 AM_BACKSLASH
723 AM_DEFAULT_VERBOSITY
724 AM_DEFAULT_V
725 AM_V
726 CSCOPE
727 ETAGS
728 CTAGS
729 am__untar
730 am__tar
731 AMTAR
732 am__leading_dot
733 SET_MAKE
734 AWK
735 mkdir_p
736 MKDIR_P
737 INSTALL_STRIP_PROGRAM
738 STRIP
739 install_sh
740 MAKEINFO
741 AUTOHEADER
742 AUTOMAKE
743 AUTOCONF
744 ACLOCAL
745 VERSION
746 PACKAGE
747 CYGPATH_W
748 am__isrc
749 INSTALL_DATA
750 INSTALL_SCRIPT
751 INSTALL_PROGRAM
752 target_alias
753 host_alias
754 build_alias
755 LIBS
756 ECHO_T
757 ECHO_N
758 ECHO_C
759 DEFS
760 mandir
761 localedir
762 libdir
763 psdir
764 pdfdir
765 dvidir
766 htmldir
767 infodir
768 docdir
769 oldincludedir
770 includedir
771 runstatedir
772 localstatedir
773 sharedstatedir
774 sysconfdir
775 datadir
776 datarootdir
777 libexecdir
778 sbindir
779 bindir
780 program_transform_name
781 prefix
782 exec_prefix
783 PACKAGE_URL
784 PACKAGE_BUGREPORT
785 PACKAGE_STRING
786 PACKAGE_VERSION
787 PACKAGE_TARNAME
788 PACKAGE_NAME
789 PATH_SEPARATOR
790 SHELL
791 am__quote'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_silent_rules
796 enable_maintainer_mode
797 enable_dependency_tracking
798 enable_compiler_warnings
799 enable_shared
800 enable_static
801 enable_pic
802 with_pic
803 enable_fast_install
804 enable_aix_soname
805 with_aix_soname
806 with_gnu_ld
807 with_sysroot
808 enable_libtool_lock
809 enable_largefile
810 with_system_kpathsea
811 enable_year2038
812 '
813 ac_precious_vars='build_alias
814 host_alias
815 target_alias
816 CC
817 CFLAGS
818 LDFLAGS
819 LIBS
820 CPPFLAGS
821 LT_SYS_LIBRARY_PATH'
822 ac_subdirs_all='squeeze'
823
824 # Initialize some variables set by options.
825 ac_init_help=
826 ac_init_version=false
827 ac_unrecognized_opts=
828 ac_unrecognized_sep=
829 # The variables have the same names as the options, with
830 # dashes changed to underlines.
831 cache_file=/dev/null
832 exec_prefix=NONE
833 no_create=
834 no_recursion=
835 prefix=NONE
836 program_prefix=NONE
837 program_suffix=NONE
838 program_transform_name=s,x,x,
839 silent=
840 site=
841 srcdir=
842 verbose=
843 x_includes=NONE
844 x_libraries=NONE
845
846 # Installation directory options.
847 # These are left unexpanded so users can "make install exec_prefix=/foo"
848 # and all the variables that are supposed to be based on exec_prefix
849 # by default will actually change.
850 # Use braces instead of parens because sh, perl, etc. also accept them.
851 # (The list follows the same order as the GNU Coding Standards.)
852 bindir='${exec_prefix}/bin'
853 sbindir='${exec_prefix}/sbin'
854 libexecdir='${exec_prefix}/libexec'
855 datarootdir='${prefix}/share'
856 datadir='${datarootdir}'
857 sysconfdir='${prefix}/etc'
858 sharedstatedir='${prefix}/com'
859 localstatedir='${prefix}/var'
860 runstatedir='${localstatedir}/run'
861 includedir='${prefix}/include'
862 oldincludedir='/usr/include'
863 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
864 infodir='${datarootdir}/info'
865 htmldir='${docdir}'
866 dvidir='${docdir}'
867 pdfdir='${docdir}'
868 psdir='${docdir}'
869 libdir='${exec_prefix}/lib'
870 localedir='${datarootdir}/locale'
871 mandir='${datarootdir}/man'
872
873 ac_prev=
874 ac_dashdash=
875 for ac_option
876 do
877 # If the previous option needs an argument, assign it.
878 if test -n "$ac_prev"; then
879 eval $ac_prev=\$ac_option
880 ac_prev=
881 continue
882 fi
883
884 case $ac_option in
885 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886 *=) ac_optarg= ;;
887 *) ac_optarg=yes ;;
888 esac
889
890 case $ac_dashdash$ac_option in
891 --)
892 ac_dashdash=yes ;;
893
894 -bindir | --bindir | --bindi | --bind | --bin | --bi)
895 ac_prev=bindir ;;
896 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
897 bindir=$ac_optarg ;;
898
899 -build | --build | --buil | --bui | --bu)
900 ac_prev=build_alias ;;
901 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
902 build_alias=$ac_optarg ;;
903
904 -cache-file | --cache-file | --cache-fil | --cache-fi \
905 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
906 ac_prev=cache_file ;;
907 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
908 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
909 cache_file=$ac_optarg ;;
910
911 --config-cache | -C)
912 cache_file=config.cache ;;
913
914 -datadir | --datadir | --datadi | --datad)
915 ac_prev=datadir ;;
916 -datadir=* | --datadir=* | --datadi=* | --datad=*)
917 datadir=$ac_optarg ;;
918
919 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
920 | --dataroo | --dataro | --datar)
921 ac_prev=datarootdir ;;
922 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
923 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
924 datarootdir=$ac_optarg ;;
925
926 -disable-* | --disable-*)
927 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930 as_fn_error $? "invalid feature name: '$ac_useropt'"
931 ac_useropt_orig=$ac_useropt
932 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
934 *"
935 "enable_$ac_useropt"
936 "*) ;;
937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
938 ac_unrecognized_sep=', ';;
939 esac
940 eval enable_$ac_useropt=no ;;
941
942 -docdir | --docdir | --docdi | --doc | --do)
943 ac_prev=docdir ;;
944 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
945 docdir=$ac_optarg ;;
946
947 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
948 ac_prev=dvidir ;;
949 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
950 dvidir=$ac_optarg ;;
951
952 -enable-* | --enable-*)
953 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
956 as_fn_error $? "invalid feature name: '$ac_useropt'"
957 ac_useropt_orig=$ac_useropt
958 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
959 case $ac_user_opts in
960 *"
961 "enable_$ac_useropt"
962 "*) ;;
963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
964 ac_unrecognized_sep=', ';;
965 esac
966 eval enable_$ac_useropt=\$ac_optarg ;;
967
968 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
969 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
970 | --exec | --exe | --ex)
971 ac_prev=exec_prefix ;;
972 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
973 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
974 | --exec=* | --exe=* | --ex=*)
975 exec_prefix=$ac_optarg ;;
976
977 -gas | --gas | --ga | --g)
978 # Obsolete; use --with-gas.
979 with_gas=yes ;;
980
981 -help | --help | --hel | --he | -h)
982 ac_init_help=long ;;
983 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
984 ac_init_help=recursive ;;
985 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
986 ac_init_help=short ;;
987
988 -host | --host | --hos | --ho)
989 ac_prev=host_alias ;;
990 -host=* | --host=* | --hos=* | --ho=*)
991 host_alias=$ac_optarg ;;
992
993 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
994 ac_prev=htmldir ;;
995 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
996 | --ht=*)
997 htmldir=$ac_optarg ;;
998
999 -includedir | --includedir | --includedi | --included | --include \
1000 | --includ | --inclu | --incl | --inc)
1001 ac_prev=includedir ;;
1002 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1003 | --includ=* | --inclu=* | --incl=* | --inc=*)
1004 includedir=$ac_optarg ;;
1005
1006 -infodir | --infodir | --infodi | --infod | --info | --inf)
1007 ac_prev=infodir ;;
1008 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1009 infodir=$ac_optarg ;;
1010
1011 -libdir | --libdir | --libdi | --libd)
1012 ac_prev=libdir ;;
1013 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1014 libdir=$ac_optarg ;;
1015
1016 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1017 | --libexe | --libex | --libe)
1018 ac_prev=libexecdir ;;
1019 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1020 | --libexe=* | --libex=* | --libe=*)
1021 libexecdir=$ac_optarg ;;
1022
1023 -localedir | --localedir | --localedi | --localed | --locale)
1024 ac_prev=localedir ;;
1025 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1026 localedir=$ac_optarg ;;
1027
1028 -localstatedir | --localstatedir | --localstatedi | --localstated \
1029 | --localstate | --localstat | --localsta | --localst | --locals)
1030 ac_prev=localstatedir ;;
1031 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1032 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1033 localstatedir=$ac_optarg ;;
1034
1035 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1036 ac_prev=mandir ;;
1037 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1038 mandir=$ac_optarg ;;
1039
1040 -nfp | --nfp | --nf)
1041 # Obsolete; use --without-fp.
1042 with_fp=no ;;
1043
1044 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1045 | --no-cr | --no-c | -n)
1046 no_create=yes ;;
1047
1048 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1049 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1050 no_recursion=yes ;;
1051
1052 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1053 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1054 | --oldin | --oldi | --old | --ol | --o)
1055 ac_prev=oldincludedir ;;
1056 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1057 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1058 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1059 oldincludedir=$ac_optarg ;;
1060
1061 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1062 ac_prev=prefix ;;
1063 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1064 prefix=$ac_optarg ;;
1065
1066 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1067 | --program-pre | --program-pr | --program-p)
1068 ac_prev=program_prefix ;;
1069 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1070 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1071 program_prefix=$ac_optarg ;;
1072
1073 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1074 | --program-suf | --program-su | --program-s)
1075 ac_prev=program_suffix ;;
1076 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1077 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1078 program_suffix=$ac_optarg ;;
1079
1080 -program-transform-name | --program-transform-name \
1081 | --program-transform-nam | --program-transform-na \
1082 | --program-transform-n | --program-transform- \
1083 | --program-transform | --program-transfor \
1084 | --program-transfo | --program-transf \
1085 | --program-trans | --program-tran \
1086 | --progr-tra | --program-tr | --program-t)
1087 ac_prev=program_transform_name ;;
1088 -program-transform-name=* | --program-transform-name=* \
1089 | --program-transform-nam=* | --program-transform-na=* \
1090 | --program-transform-n=* | --program-transform-=* \
1091 | --program-transform=* | --program-transfor=* \
1092 | --program-transfo=* | --program-transf=* \
1093 | --program-trans=* | --program-tran=* \
1094 | --progr-tra=* | --program-tr=* | --program-t=*)
1095 program_transform_name=$ac_optarg ;;
1096
1097 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1098 ac_prev=pdfdir ;;
1099 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1100 pdfdir=$ac_optarg ;;
1101
1102 -psdir | --psdir | --psdi | --psd | --ps)
1103 ac_prev=psdir ;;
1104 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1105 psdir=$ac_optarg ;;
1106
1107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1108 | -silent | --silent | --silen | --sile | --sil)
1109 silent=yes ;;
1110
1111 -runstatedir | --runstatedir | --runstatedi | --runstated \
1112 | --runstate | --runstat | --runsta | --runst | --runs \
1113 | --run | --ru | --r)
1114 ac_prev=runstatedir ;;
1115 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1116 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1117 | --run=* | --ru=* | --r=*)
1118 runstatedir=$ac_optarg ;;
1119
1120 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1121 ac_prev=sbindir ;;
1122 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1123 | --sbi=* | --sb=*)
1124 sbindir=$ac_optarg ;;
1125
1126 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1127 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1128 | --sharedst | --shareds | --shared | --share | --shar \
1129 | --sha | --sh)
1130 ac_prev=sharedstatedir ;;
1131 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1132 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1133 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1134 | --sha=* | --sh=*)
1135 sharedstatedir=$ac_optarg ;;
1136
1137 -site | --site | --sit)
1138 ac_prev=site ;;
1139 -site=* | --site=* | --sit=*)
1140 site=$ac_optarg ;;
1141
1142 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1143 ac_prev=srcdir ;;
1144 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145 srcdir=$ac_optarg ;;
1146
1147 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1148 | --syscon | --sysco | --sysc | --sys | --sy)
1149 ac_prev=sysconfdir ;;
1150 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1151 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1152 sysconfdir=$ac_optarg ;;
1153
1154 -target | --target | --targe | --targ | --tar | --ta | --t)
1155 ac_prev=target_alias ;;
1156 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1157 target_alias=$ac_optarg ;;
1158
1159 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1160 verbose=yes ;;
1161
1162 -version | --version | --versio | --versi | --vers | -V)
1163 ac_init_version=: ;;
1164
1165 -with-* | --with-*)
1166 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 as_fn_error $? "invalid package name: '$ac_useropt'"
1170 ac_useropt_orig=$ac_useropt
1171 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1173 *"
1174 "with_$ac_useropt"
1175 "*) ;;
1176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177 ac_unrecognized_sep=', ';;
1178 esac
1179 eval with_$ac_useropt=\$ac_optarg ;;
1180
1181 -without-* | --without-*)
1182 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 as_fn_error $? "invalid package name: '$ac_useropt'"
1186 ac_useropt_orig=$ac_useropt
1187 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1189 *"
1190 "with_$ac_useropt"
1191 "*) ;;
1192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep=', ';;
1194 esac
1195 eval with_$ac_useropt=no ;;
1196
1197 --x)
1198 # Obsolete; use --with-x.
1199 with_x=yes ;;
1200
1201 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1202 | --x-incl | --x-inc | --x-in | --x-i)
1203 ac_prev=x_includes ;;
1204 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1205 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1206 x_includes=$ac_optarg ;;
1207
1208 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1209 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1210 ac_prev=x_libraries ;;
1211 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1212 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213 x_libraries=$ac_optarg ;;
1214
1215 -*) as_fn_error $? "unrecognized option: '$ac_option'
1216 Try '$0 --help' for more information"
1217 ;;
1218
1219 *=*)
1220 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' | [0-9]* | *[!_$as_cr_alnum]* )
1224 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1225 esac
1226 eval $ac_envvar=\$ac_optarg
1227 export $ac_envvar ;;
1228
1229 *)
1230 # FIXME: should be removed in autoconf 3.0.
1231 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1235 ;;
1236
1237 esac
1238 done
1239
1240 if test -n "$ac_prev"; then
1241 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error $? "missing argument to $ac_option"
1243 fi
1244
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1247 no) ;;
1248 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250 esac
1251 fi
1252
1253 # Check all directory arguments for consistency.
1254 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir runstatedir
1258 do
1259 eval ac_val=\$$ac_var
1260 # Remove trailing slashes.
1261 case $ac_val in
1262 */ )
1263 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\$ac_val;;
1265 esac
1266 # Be sure to have absolute directory names.
1267 case $ac_val in
1268 [\\/$]* | ?:[\\/]* ) continue;;
1269 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270 esac
1271 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1272 done
1273
1274 # There might be people who depend on the old broken behavior: '$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1277 build=$build_alias
1278 host=$host_alias
1279 target=$target_alias
1280
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x; then
1283 if test "x$build_alias" = x; then
1284 cross_compiling=maybe
1285 elif test "x$build_alias" != "x$host_alias"; then
1286 cross_compiling=yes
1287 fi
1288 fi
1289
1290 ac_tool_prefix=
1291 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1292
1293 test "$silent" = yes && exec 6>/dev/null
1294
1295
1296 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di=`ls -di .` &&
1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1299 as_fn_error $? "working directory cannot be determined"
1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 as_fn_error $? "pwd does not report name of working directory"
1302
1303
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306 ac_srcdir_defaulted=yes
1307 # Try the directory containing this script, then the parent directory.
1308 ac_confdir=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310 X"$as_myself" : 'X\(//\)[^/]' \| \
1311 X"$as_myself" : 'X\(//\)$' \| \
1312 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 printf "%s\n" X"$as_myself" |
1314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1315 s//\1/
1316 q
1317 }
1318 /^X\(\/\/\)[^/].*/{
1319 s//\1/
1320 q
1321 }
1322 /^X\(\/\/\)$/{
1323 s//\1/
1324 q
1325 }
1326 /^X\(\/\).*/{
1327 s//\1/
1328 q
1329 }
1330 s/.*/./; q'`
1331 srcdir=$ac_confdir
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1333 srcdir=..
1334 fi
1335 else
1336 ac_srcdir_defaulted=no
1337 fi
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1340 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1341 fi
1342 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1343 ac_abs_confdir=`(
1344 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1345 pwd)`
1346 # When building in place, set srcdir=.
1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
1348 srcdir=.
1349 fi
1350 # Remove unnecessary trailing slashes from srcdir.
1351 # Double slashes in file names in object file debugging info
1352 # mess up M-x gdb in Emacs.
1353 case $srcdir in
1354 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1355 esac
1356 for ac_var in $ac_precious_vars; do
1357 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1358 eval ac_env_${ac_var}_value=\$${ac_var}
1359 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1360 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1361 done
1362
1363 #
1364 # Report the --help message.
1365 #
1366 if test "$ac_init_help" = "long"; then
1367 # Omit some internal or obsolete options to make the list less imposing.
1368 # This message is too long to be a string in the A/UX 3.1 sh.
1369 cat <<_ACEOF
1370 'configure' configures dvipsk (TeX Live) 2026.1 to adapt to many kinds of systems.
1371
1372 Usage: $0 [OPTION]... [VAR=VALUE]...
1373
1374 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1375 VAR=VALUE. See below for descriptions of some of the useful variables.
1376
1377 Defaults for the options are specified in brackets.
1378
1379 Configuration:
1380 -h, --help display this help and exit
1381 --help=short display options specific to this package
1382 --help=recursive display the short help of all the included packages
1383 -V, --version display version information and exit
1384 -q, --quiet, --silent do not print 'checking ...' messages
1385 --cache-file=FILE cache test results in FILE [disabled]
1386 -C, --config-cache alias for '--cache-file=config.cache'
1387 -n, --no-create do not create output files
1388 --srcdir=DIR find the sources in DIR [configure dir or '..']
1389
1390 Installation directories:
1391 --prefix=PREFIX install architecture-independent files in PREFIX
1392 [$ac_default_prefix]
1393 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1394 [PREFIX]
1395
1396 By default, 'make install' will install all the files in
1397 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1398 an installation prefix other than '$ac_default_prefix' using '--prefix',
1399 for instance '--prefix=\$HOME'.
1400
1401 For better control, use the options below.
1402
1403 Fine tuning of the installation directories:
1404 --bindir=DIR user executables [EPREFIX/bin]
1405 --sbindir=DIR system admin executables [EPREFIX/sbin]
1406 --libexecdir=DIR program executables [EPREFIX/libexec]
1407 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1408 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1409 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1410 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root
1420 [DATAROOTDIR/doc/dvipsk--tex-live-]
1421 --htmldir=DIR html documentation [DOCDIR]
1422 --dvidir=DIR dvi documentation [DOCDIR]
1423 --pdfdir=DIR pdf documentation [DOCDIR]
1424 --psdir=DIR ps documentation [DOCDIR]
1425 _ACEOF
1426
1427 cat <<\_ACEOF
1428
1429 Program names:
1430 --program-prefix=PREFIX prepend PREFIX to installed program names
1431 --program-suffix=SUFFIX append SUFFIX to installed program names
1432 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1433
1434 System types:
1435 --build=BUILD configure for building on BUILD [guessed]
1436 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1437 _ACEOF
1438 fi
1439
1440 if test -n "$ac_init_help"; then
1441 case $ac_init_help in
1442 short | recursive ) echo "Configuration of dvipsk (TeX Live) 2026.1:";;
1443 esac
1444 cat <<\_ACEOF
1445
1446 Optional Features:
1447 --disable-option-checking ignore unrecognized --enable/--with options
1448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1450 --enable-silent-rules less verbose build output (undo: "make V=1")
1451 --disable-silent-rules verbose build output (undo: "make V=0")
1452 --enable-maintainer-mode
1453 enable make rules and dependencies not useful (and
1454 sometimes confusing) to the casual installer
1455 --enable-dependency-tracking
1456 do not reject slow dependency extractors
1457 --disable-dependency-tracking
1458 speeds up one-time build
1459 --enable-compiler-warnings=[no|min|yes|max|all]
1460 Turn on compiler warnings [default: yes if
1461 maintainer-mode, min otherwise]
1462 --enable-shared[=PKGS] build shared libraries [default=yes]
1463 --enable-static[=PKGS] build static libraries [default=yes]
1464 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1465 both]
1466 --enable-fast-install[=PKGS]
1467 optimize for fast installation [default=yes]
1468 --enable-aix-soname=aix|svr4|both
1469 shared library versioning (aka "SONAME") variant to
1470 provide on AIX, [default=aix].
1471 --disable-libtool-lock avoid locking (might break parallel builds)
1472 --disable-largefile omit support for large files
1473 --enable-year2038 support timestamps after 2038
1474
1475 Optional Packages:
1476 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1477 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1478 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1479 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1480 compiler's sysroot if not specified).
1481 --with-system-kpathsea use installed kpathsea headers and library (requires
1482 pkg-config)
1483
1484 Some influential environment variables:
1485 CC C compiler command
1486 CFLAGS C compiler flags
1487 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1488 nonstandard directory <lib dir>
1489 LIBS libraries to pass to the linker, e.g. -l<library>
1490 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1491 you have headers in a nonstandard directory <include dir>
1492 LT_SYS_LIBRARY_PATH
1493 User-defined run-time library search path.
1494
1495 Use these variables to override the choices made by 'configure' or to help
1496 it to find libraries and programs with nonstandard names/locations.
1497
1498 Report bugs to <[email protected]>.
1499 _ACEOF
1500 ac_status=$?
1501 fi
1502
1503 if test "$ac_init_help" = "recursive"; then
1504 # If there are subdirs, report their specific --help.
1505 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1506 test -d "$ac_dir" ||
1507 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1508 continue
1509 ac_builddir=.
1510
1511 case "$ac_dir" in
1512 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1513 *)
1514 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1515 # A ".." for each directory in $ac_dir_suffix.
1516 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1517 case $ac_top_builddir_sub in
1518 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1520 esac ;;
1521 esac
1522 ac_abs_top_builddir=$ac_pwd
1523 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1524 # for backward compatibility:
1525 ac_top_builddir=$ac_top_build_prefix
1526
1527 case $srcdir in
1528 .) # We are building in place.
1529 ac_srcdir=.
1530 ac_top_srcdir=$ac_top_builddir_sub
1531 ac_abs_top_srcdir=$ac_pwd ;;
1532 [\\/]* | ?:[\\/]* ) # Absolute name.
1533 ac_srcdir=$srcdir$ac_dir_suffix;
1534 ac_top_srcdir=$srcdir
1535 ac_abs_top_srcdir=$srcdir ;;
1536 *) # Relative name.
1537 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1538 ac_top_srcdir=$ac_top_build_prefix$srcdir
1539 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1540 esac
1541 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1542
1543 cd "$ac_dir" || { ac_status=$?; continue; }
1544 # Check for configure.gnu first; this name is used for a wrapper for
1545 # Metaconfig's "Configure" on case-insensitive file systems.
1546 if test -f "$ac_srcdir/configure.gnu"; then
1547 echo &&
1548 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1549 elif test -f "$ac_srcdir/configure"; then
1550 echo &&
1551 $SHELL "$ac_srcdir/configure" --help=recursive
1552 else
1553 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1554 fi || ac_status=$?
1555 cd "$ac_pwd" || { ac_status=$?; break; }
1556 done
1557 fi
1558
1559 test -n "$ac_init_help" && exit $ac_status
1560 if $ac_init_version; then
1561 cat <<\_ACEOF
1562 dvipsk (TeX Live) configure 2026.1
1563 generated by GNU Autoconf 2.72
1564
1565 Copyright (C) 2023 Free Software Foundation, Inc.
1566 This configure script is free software; the Free Software Foundation
1567 gives unlimited permission to copy, distribute and modify it.
1568 _ACEOF
1569 exit
1570 fi
1571
1572 ## ------------------------ ##
1573 ## Autoconf initialization. ##
1574 ## ------------------------ ##
1575
1576 # ac_fn_c_try_compile LINENO
1577 # --------------------------
1578 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1579 ac_fn_c_try_compile ()
1580 {
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 rm -f conftest.$ac_objext conftest.beam
1583 if { { ac_try="$ac_compile"
1584 case "(($ac_try" in
1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1587 esac
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 printf "%s\n" "$ac_try_echo"; } >&5
1590 (eval "$ac_compile") 2>conftest.err
1591 ac_status=$?
1592 if test -s conftest.err; then
1593 grep -v '^ *+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1596 fi
1597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } && {
1599 test -z "$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1601 } && test -s conftest.$ac_objext
1602 then :
1603 ac_retval=0
1604 else case e in #(
1605 e) printf "%s\n" "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.$ac_ext >&5
1607
1608 ac_retval=1 ;;
1609 esac
1610 fi
1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612 as_fn_set_status $ac_retval
1613
1614 } # ac_fn_c_try_compile
1615
1616 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1617 # -------------------------------------------------------
1618 # Tests whether HEADER exists and can be compiled using the include files in
1619 # INCLUDES, setting the cache variable VAR accordingly.
1620 ac_fn_c_check_header_compile ()
1621 {
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 printf %s "checking for $2... " >&6; }
1625 if eval test \${$3+y}
1626 then :
1627 printf %s "(cached) " >&6
1628 else case e in #(
1629 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1630 /* end confdefs.h. */
1631 $4
1632 #include <$2>
1633 _ACEOF
1634 if ac_fn_c_try_compile "$LINENO"
1635 then :
1636 eval "$3=yes"
1637 else case e in #(
1638 e) eval "$3=no" ;;
1639 esac
1640 fi
1641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1642 esac
1643 fi
1644 eval ac_res=\$$3
1645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1646 printf "%s\n" "$ac_res" >&6; }
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648
1649 } # ac_fn_c_check_header_compile
1650
1651 # ac_fn_c_try_link LINENO
1652 # -----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_link ()
1655 {
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1658 if { { ac_try="$ac_link"
1659 case "(($ac_try" in
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1662 esac
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 printf "%s\n" "$ac_try_echo"; } >&5
1665 (eval "$ac_link") 2>conftest.err
1666 ac_status=$?
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1671 fi
1672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest$ac_exeext && {
1677 test "$cross_compiling" = yes ||
1678 test -x conftest$ac_exeext
1679 }
1680 then :
1681 ac_retval=0
1682 else case e in #(
1683 e) printf "%s\n" "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1685
1686 ac_retval=1 ;;
1687 esac
1688 fi
1689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1691 # interfere with the next link command; also delete a directory that is
1692 # left behind by Apple's compiler. We do this before executing the actions.
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status $ac_retval
1696
1697 } # ac_fn_c_try_link
1698
1699 # ac_fn_c_check_func LINENO FUNC VAR
1700 # ----------------------------------
1701 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1702 ac_fn_c_check_func ()
1703 {
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 printf %s "checking for $2... " >&6; }
1707 if eval test \${$3+y}
1708 then :
1709 printf %s "(cached) " >&6
1710 else case e in #(
1711 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1715 #define $2 innocuous_$2
1716
1717 /* System header to define __stub macros and hopefully few prototypes,
1718 which can conflict with char $2 (void); below. */
1719
1720 #include <limits.h>
1721 #undef $2
1722
1723 /* Override any GCC internal prototype to avoid an error.
1724 Use char because int might match the return type of a GCC
1725 builtin and then its argument prototype would still apply. */
1726 #ifdef __cplusplus
1727 extern "C"
1728 #endif
1729 char $2 (void);
1730 /* The GNU C library defines this for functions which it implements
1731 to always fail with ENOSYS. Some functions are actually named
1732 something starting with __ and the normal name is an alias. */
1733 #if defined __stub_$2 || defined __stub___$2
1734 choke me
1735 #endif
1736
1737 int
1738 main (void)
1739 {
1740 return $2 ();
1741 ;
1742 return 0;
1743 }
1744 _ACEOF
1745 if ac_fn_c_try_link "$LINENO"
1746 then :
1747 eval "$3=yes"
1748 else case e in #(
1749 e) eval "$3=no" ;;
1750 esac
1751 fi
1752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1753 conftest$ac_exeext conftest.$ac_ext ;;
1754 esac
1755 fi
1756 eval ac_res=\$$3
1757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 printf "%s\n" "$ac_res" >&6; }
1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760
1761 } # ac_fn_c_check_func
1762
1763 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1764 # -------------------------------------------
1765 # Tests whether TYPE exists after having included INCLUDES, setting cache
1766 # variable VAR accordingly.
1767 ac_fn_c_check_type ()
1768 {
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 printf %s "checking for $2... " >&6; }
1772 if eval test \${$3+y}
1773 then :
1774 printf %s "(cached) " >&6
1775 else case e in #(
1776 e) eval "$3=no"
1777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1779 $4
1780 int
1781 main (void)
1782 {
1783 if (sizeof ($2))
1784 return 0;
1785 ;
1786 return 0;
1787 }
1788 _ACEOF
1789 if ac_fn_c_try_compile "$LINENO"
1790 then :
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1793 $4
1794 int
1795 main (void)
1796 {
1797 if (sizeof (($2)))
1798 return 0;
1799 ;
1800 return 0;
1801 }
1802 _ACEOF
1803 if ac_fn_c_try_compile "$LINENO"
1804 then :
1805
1806 else case e in #(
1807 e) eval "$3=yes" ;;
1808 esac
1809 fi
1810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1811 fi
1812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1813 esac
1814 fi
1815 eval ac_res=\$$3
1816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 printf "%s\n" "$ac_res" >&6; }
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819
1820 } # ac_fn_c_check_type
1821
1822 # ac_fn_c_find_intX_t LINENO BITS VAR
1823 # -----------------------------------
1824 # Finds a signed integer type with width BITS, setting cache variable VAR
1825 # accordingly.
1826 ac_fn_c_find_intX_t ()
1827 {
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1830 printf %s "checking for int$2_t... " >&6; }
1831 if eval test \${$3+y}
1832 then :
1833 printf %s "(cached) " >&6
1834 else case e in #(
1835 e) eval "$3=no"
1836 # Order is important - never check a type that is potentially smaller
1837 # than half of the expected target width.
1838 for ac_type in int$2_t 'int' 'long int' \
1839 'long long int' 'short int' 'signed char'; do
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1842 $ac_includes_default
1843 enum { N = $2 / 2 - 1 };
1844 int
1845 main (void)
1846 {
1847 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1848 test_array [0] = 0;
1849 return test_array [0];
1850
1851 ;
1852 return 0;
1853 }
1854 _ACEOF
1855 if ac_fn_c_try_compile "$LINENO"
1856 then :
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1859 $ac_includes_default
1860 enum { N = $2 / 2 - 1 };
1861 int
1862 main (void)
1863 {
1864 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1865 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1866 test_array [0] = 0;
1867 return test_array [0];
1868
1869 ;
1870 return 0;
1871 }
1872 _ACEOF
1873 if ac_fn_c_try_compile "$LINENO"
1874 then :
1875
1876 else case e in #(
1877 e) case $ac_type in #(
1878 int$2_t) :
1879 eval "$3=yes" ;; #(
1880 *) :
1881 eval "$3=\$ac_type" ;;
1882 esac ;;
1883 esac
1884 fi
1885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1886 fi
1887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1888 if eval test \"x\$"$3"\" = x"no"
1889 then :
1890
1891 else case e in #(
1892 e) break ;;
1893 esac
1894 fi
1895 done ;;
1896 esac
1897 fi
1898 eval ac_res=\$$3
1899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 printf "%s\n" "$ac_res" >&6; }
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902
1903 } # ac_fn_c_find_intX_t
1904
1905 # ac_fn_c_find_uintX_t LINENO BITS VAR
1906 # ------------------------------------
1907 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1908 # accordingly.
1909 ac_fn_c_find_uintX_t ()
1910 {
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1913 printf %s "checking for uint$2_t... " >&6; }
1914 if eval test \${$3+y}
1915 then :
1916 printf %s "(cached) " >&6
1917 else case e in #(
1918 e) eval "$3=no"
1919 # Order is important - never check a type that is potentially smaller
1920 # than half of the expected target width.
1921 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1922 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1925 $ac_includes_default
1926 int
1927 main (void)
1928 {
1929 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1930 test_array [0] = 0;
1931 return test_array [0];
1932
1933 ;
1934 return 0;
1935 }
1936 _ACEOF
1937 if ac_fn_c_try_compile "$LINENO"
1938 then :
1939 case $ac_type in #(
1940 uint$2_t) :
1941 eval "$3=yes" ;; #(
1942 *) :
1943 eval "$3=\$ac_type" ;;
1944 esac
1945 fi
1946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1947 if eval test \"x\$"$3"\" = x"no"
1948 then :
1949
1950 else case e in #(
1951 e) break ;;
1952 esac
1953 fi
1954 done ;;
1955 esac
1956 fi
1957 eval ac_res=\$$3
1958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 printf "%s\n" "$ac_res" >&6; }
1960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961
1962 } # ac_fn_c_find_uintX_t
1963
1964 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1965 # ------------------------------------------------------------------
1966 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1967 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1968 ac_fn_check_decl ()
1969 {
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 as_decl_name=`echo $2|sed 's/ *(.*//'`
1972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1973 printf %s "checking whether $as_decl_name is declared... " >&6; }
1974 if eval test \${$3+y}
1975 then :
1976 printf %s "(cached) " >&6
1977 else case e in #(
1978 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1979 eval ac_save_FLAGS=\$$6
1980 as_fn_append $6 " $5"
1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1983 $4
1984 int
1985 main (void)
1986 {
1987 #ifndef $as_decl_name
1988 #ifdef __cplusplus
1989 (void) $as_decl_use;
1990 #else
1991 (void) $as_decl_name;
1992 #endif
1993 #endif
1994
1995 ;
1996 return 0;
1997 }
1998 _ACEOF
1999 if ac_fn_c_try_compile "$LINENO"
2000 then :
2001 eval "$3=yes"
2002 else case e in #(
2003 e) eval "$3=no" ;;
2004 esac
2005 fi
2006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2007 eval $6=\$ac_save_FLAGS
2008 ;;
2009 esac
2010 fi
2011 eval ac_res=\$$3
2012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 printf "%s\n" "$ac_res" >&6; }
2014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015
2016 } # ac_fn_check_decl
2017
2018 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2019 # ----------------------------------------------------
2020 # Tries to find if the field MEMBER exists in type AGGR, after including
2021 # INCLUDES, setting cache variable VAR accordingly.
2022 ac_fn_c_check_member ()
2023 {
2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2026 printf %s "checking for $2.$3... " >&6; }
2027 if eval test \${$4+y}
2028 then :
2029 printf %s "(cached) " >&6
2030 else case e in #(
2031 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2033 $5
2034 int
2035 main (void)
2036 {
2037 static $2 ac_aggr;
2038 if (ac_aggr.$3)
2039 return 0;
2040 ;
2041 return 0;
2042 }
2043 _ACEOF
2044 if ac_fn_c_try_compile "$LINENO"
2045 then :
2046 eval "$4=yes"
2047 else case e in #(
2048 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2050 $5
2051 int
2052 main (void)
2053 {
2054 static $2 ac_aggr;
2055 if (sizeof ac_aggr.$3)
2056 return 0;
2057 ;
2058 return 0;
2059 }
2060 _ACEOF
2061 if ac_fn_c_try_compile "$LINENO"
2062 then :
2063 eval "$4=yes"
2064 else case e in #(
2065 e) eval "$4=no" ;;
2066 esac
2067 fi
2068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2069 esac
2070 fi
2071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2072 esac
2073 fi
2074 eval ac_res=\$$4
2075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 printf "%s\n" "$ac_res" >&6; }
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078
2079 } # ac_fn_c_check_member
2080
2081 # ac_fn_c_try_run LINENO
2082 # ----------------------
2083 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2084 # executables *can* be run.
2085 ac_fn_c_try_run ()
2086 {
2087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088 if { { ac_try="$ac_link"
2089 case "(($ac_try" in
2090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2091 *) ac_try_echo=$ac_try;;
2092 esac
2093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2094 printf "%s\n" "$ac_try_echo"; } >&5
2095 (eval "$ac_link") 2>&5
2096 ac_status=$?
2097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2098 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2099 { { case "(($ac_try" in
2100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2101 *) ac_try_echo=$ac_try;;
2102 esac
2103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2104 printf "%s\n" "$ac_try_echo"; } >&5
2105 (eval "$ac_try") 2>&5
2106 ac_status=$?
2107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2108 test $ac_status = 0; }; }
2109 then :
2110 ac_retval=0
2111 else case e in #(
2112 e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2113 printf "%s\n" "$as_me: failed program was:" >&5
2114 sed 's/^/| /' conftest.$ac_ext >&5
2115
2116 ac_retval=$ac_status ;;
2117 esac
2118 fi
2119 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 as_fn_set_status $ac_retval
2122
2123 } # ac_fn_c_try_run
2124
2125 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2126 # --------------------------------------------
2127 # Tries to find the compile-time value of EXPR in a program that includes
2128 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2129 # computed
2130 ac_fn_c_compute_int ()
2131 {
2132 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2133 if test "$cross_compiling" = yes; then
2134 # Depending upon the size, compute the lo and hi bounds.
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 $4
2138 int
2139 main (void)
2140 {
2141 static int test_array [1 - 2 * !(($2) >= 0)];
2142 test_array [0] = 0;
2143 return test_array [0];
2144
2145 ;
2146 return 0;
2147 }
2148 _ACEOF
2149 if ac_fn_c_try_compile "$LINENO"
2150 then :
2151 ac_lo=0 ac_mid=0
2152 while :; do
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2155 $4
2156 int
2157 main (void)
2158 {
2159 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2160 test_array [0] = 0;
2161 return test_array [0];
2162
2163 ;
2164 return 0;
2165 }
2166 _ACEOF
2167 if ac_fn_c_try_compile "$LINENO"
2168 then :
2169 ac_hi=$ac_mid; break
2170 else case e in #(
2171 e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2172 if test $ac_lo -le $ac_mid; then
2173 ac_lo= ac_hi=
2174 break
2175 fi
2176 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;;
2177 esac
2178 fi
2179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2180 done
2181 else case e in #(
2182 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2184 $4
2185 int
2186 main (void)
2187 {
2188 static int test_array [1 - 2 * !(($2) < 0)];
2189 test_array [0] = 0;
2190 return test_array [0];
2191
2192 ;
2193 return 0;
2194 }
2195 _ACEOF
2196 if ac_fn_c_try_compile "$LINENO"
2197 then :
2198 ac_hi=-1 ac_mid=-1
2199 while :; do
2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2202 $4
2203 int
2204 main (void)
2205 {
2206 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2207 test_array [0] = 0;
2208 return test_array [0];
2209
2210 ;
2211 return 0;
2212 }
2213 _ACEOF
2214 if ac_fn_c_try_compile "$LINENO"
2215 then :
2216 ac_lo=$ac_mid; break
2217 else case e in #(
2218 e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2219 if test $ac_mid -le $ac_hi; then
2220 ac_lo= ac_hi=
2221 break
2222 fi
2223 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;;
2224 esac
2225 fi
2226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2227 done
2228 else case e in #(
2229 e) ac_lo= ac_hi= ;;
2230 esac
2231 fi
2232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2233 esac
2234 fi
2235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2236 # Binary search between lo and hi bounds.
2237 while test "x$ac_lo" != "x$ac_hi"; do
2238 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h. */
2241 $4
2242 int
2243 main (void)
2244 {
2245 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2246 test_array [0] = 0;
2247 return test_array [0];
2248
2249 ;
2250 return 0;
2251 }
2252 _ACEOF
2253 if ac_fn_c_try_compile "$LINENO"
2254 then :
2255 ac_hi=$ac_mid
2256 else case e in #(
2257 e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;;
2258 esac
2259 fi
2260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2261 done
2262 case $ac_lo in #((
2263 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2264 '') ac_retval=1 ;;
2265 esac
2266 else
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2269 $4
2270 static long int longval (void) { return $2; }
2271 static unsigned long int ulongval (void) { return $2; }
2272 #include <stdio.h>
2273 #include <stdlib.h>
2274 int
2275 main (void)
2276 {
2277
2278 FILE *f = fopen ("conftest.val", "w");
2279 if (! f)
2280 return 1;
2281 if (($2) < 0)
2282 {
2283 long int i = longval ();
2284 if (i != ($2))
2285 return 1;
2286 fprintf (f, "%ld", i);
2287 }
2288 else
2289 {
2290 unsigned long int i = ulongval ();
2291 if (i != ($2))
2292 return 1;
2293 fprintf (f, "%lu", i);
2294 }
2295 /* Do not output a trailing newline, as this causes \r\n confusion
2296 on some platforms. */
2297 return ferror (f) || fclose (f) != 0;
2298
2299 ;
2300 return 0;
2301 }
2302 _ACEOF
2303 if ac_fn_c_try_run "$LINENO"
2304 then :
2305 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2306 else case e in #(
2307 e) ac_retval=1 ;;
2308 esac
2309 fi
2310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2311 conftest.$ac_objext conftest.beam conftest.$ac_ext
2312 rm -f conftest.val
2313
2314 fi
2315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2316 as_fn_set_status $ac_retval
2317
2318 } # ac_fn_c_compute_int
2319 ac_configure_args_raw=
2320 for ac_arg
2321 do
2322 case $ac_arg in
2323 *\'*)
2324 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2325 esac
2326 as_fn_append ac_configure_args_raw " '$ac_arg'"
2327 done
2328
2329 case $ac_configure_args_raw in
2330 *$as_nl*)
2331 ac_safe_unquote= ;;
2332 *)
2333 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2334 ac_unsafe_a="$ac_unsafe_z#~"
2335 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2336 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2337 esac
2338
2339 cat >config.log <<_ACEOF
2340 This file contains any messages produced by compilers while
2341 running configure, to aid debugging if configure makes a mistake.
2342
2343 It was created by dvipsk (TeX Live) $as_me 2026.1, which was
2344 generated by GNU Autoconf 2.72. Invocation command line was
2345
2346 $ $0$ac_configure_args_raw
2347
2348 _ACEOF
2349 exec 5>>config.log
2350 {
2351 cat <<_ASUNAME
2352 ## --------- ##
2353 ## Platform. ##
2354 ## --------- ##
2355
2356 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2357 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2358 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2359 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2360 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2361
2362 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2363 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2364
2365 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2366 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2367 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2368 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2369 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2370 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2371 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2372
2373 _ASUNAME
2374
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 for as_dir in $PATH
2377 do
2378 IFS=$as_save_IFS
2379 case $as_dir in #(((
2380 '') as_dir=./ ;;
2381 */) ;;
2382 *) as_dir=$as_dir/ ;;
2383 esac
2384 printf "%s\n" "PATH: $as_dir"
2385 done
2386 IFS=$as_save_IFS
2387
2388 } >&5
2389
2390 cat >&5 <<_ACEOF
2391
2392
2393 ## ----------- ##
2394 ## Core tests. ##
2395 ## ----------- ##
2396
2397 _ACEOF
2398
2399
2400 # Keep a trace of the command line.
2401 # Strip out --no-create and --no-recursion so they do not pile up.
2402 # Strip out --silent because we don't want to record it for future runs.
2403 # Also quote any args containing shell meta-characters.
2404 # Make two passes to allow for proper duplicate-argument suppression.
2405 ac_configure_args=
2406 ac_configure_args0=
2407 ac_configure_args1=
2408 ac_must_keep_next=false
2409 for ac_pass in 1 2
2410 do
2411 for ac_arg
2412 do
2413 case $ac_arg in
2414 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2415 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2416 | -silent | --silent | --silen | --sile | --sil)
2417 continue ;;
2418 *\'*)
2419 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2420 esac
2421 case $ac_pass in
2422 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2423 2)
2424 as_fn_append ac_configure_args1 " '$ac_arg'"
2425 if test $ac_must_keep_next = true; then
2426 ac_must_keep_next=false # Got value, back to normal.
2427 else
2428 case $ac_arg in
2429 *=* | --config-cache | -C | -disable-* | --disable-* \
2430 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2431 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2432 | -with-* | --with-* | -without-* | --without-* | --x)
2433 case "$ac_configure_args0 " in
2434 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2435 esac
2436 ;;
2437 -* ) ac_must_keep_next=true ;;
2438 esac
2439 fi
2440 as_fn_append ac_configure_args " '$ac_arg'"
2441 ;;
2442 esac
2443 done
2444 done
2445 { ac_configure_args0=; unset ac_configure_args0;}
2446 { ac_configure_args1=; unset ac_configure_args1;}
2447
2448 # When interrupted or exit'd, cleanup temporary files, and complete
2449 # config.log. We remove comments because anyway the quotes in there
2450 # would cause problems or look ugly.
2451 # WARNING: Use '\'' to represent an apostrophe within the trap.
2452 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2453 trap 'exit_status=$?
2454 # Sanitize IFS.
2455 IFS=" "" $as_nl"
2456 # Save into config.log some information that might help in debugging.
2457 {
2458 echo
2459
2460 printf "%s\n" "## ---------------- ##
2461 ## Cache variables. ##
2462 ## ---------------- ##"
2463 echo
2464 # The following way of writing the cache mishandles newlines in values,
2465 (
2466 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2467 eval ac_val=\$$ac_var
2468 case $ac_val in #(
2469 *${as_nl}*)
2470 case $ac_var in #(
2471 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2472 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2473 esac
2474 case $ac_var in #(
2475 _ | IFS | as_nl) ;; #(
2476 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2477 *) { eval $ac_var=; unset $ac_var;} ;;
2478 esac ;;
2479 esac
2480 done
2481 (set) 2>&1 |
2482 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2483 *${as_nl}ac_space=\ *)
2484 sed -n \
2485 "s/'\''/'\''\\\\'\'''\''/g;
2486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2487 ;; #(
2488 *)
2489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2490 ;;
2491 esac |
2492 sort
2493 )
2494 echo
2495
2496 printf "%s\n" "## ----------------- ##
2497 ## Output variables. ##
2498 ## ----------------- ##"
2499 echo
2500 for ac_var in $ac_subst_vars
2501 do
2502 eval ac_val=\$$ac_var
2503 case $ac_val in
2504 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2505 esac
2506 printf "%s\n" "$ac_var='\''$ac_val'\''"
2507 done | sort
2508 echo
2509
2510 if test -n "$ac_subst_files"; then
2511 printf "%s\n" "## ------------------- ##
2512 ## File substitutions. ##
2513 ## ------------------- ##"
2514 echo
2515 for ac_var in $ac_subst_files
2516 do
2517 eval ac_val=\$$ac_var
2518 case $ac_val in
2519 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2520 esac
2521 printf "%s\n" "$ac_var='\''$ac_val'\''"
2522 done | sort
2523 echo
2524 fi
2525
2526 if test -s confdefs.h; then
2527 printf "%s\n" "## ----------- ##
2528 ## confdefs.h. ##
2529 ## ----------- ##"
2530 echo
2531 cat confdefs.h
2532 echo
2533 fi
2534 test "$ac_signal" != 0 &&
2535 printf "%s\n" "$as_me: caught signal $ac_signal"
2536 printf "%s\n" "$as_me: exit $exit_status"
2537 } >&5
2538 rm -f core *.core core.conftest.* &&
2539 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2540 exit $exit_status
2541 ' 0
2542 for ac_signal in 1 2 13 15; do
2543 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2544 done
2545 ac_signal=0
2546
2547 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2548 rm -f -r conftest* confdefs.h
2549
2550 printf "%s\n" "/* confdefs.h */" > confdefs.h
2551
2552 # Predefined preprocessor variables.
2553
2554 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2555
2556 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2557
2558 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2559
2560 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2561
2562 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2563
2564 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2565
2566
2567 # Let the site file select an alternate cache file if it wants to.
2568 # Prefer an explicitly selected file to automatically selected ones.
2569 if test -n "$CONFIG_SITE"; then
2570 ac_site_files="$CONFIG_SITE"
2571 elif test "x$prefix" != xNONE; then
2572 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2573 else
2574 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2575 fi
2576
2577 for ac_site_file in $ac_site_files
2578 do
2579 case $ac_site_file in #(
2580 */*) :
2581 ;; #(
2582 *) :
2583 ac_site_file=./$ac_site_file ;;
2584 esac
2585 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2587 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2588 sed 's/^/| /' "$ac_site_file" >&5
2589 . "$ac_site_file" \
2590 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2591 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2592 as_fn_error $? "failed to load site script $ac_site_file
2593 See 'config.log' for more details" "$LINENO" 5; }
2594 fi
2595 done
2596
2597 if test -r "$cache_file"; then
2598 # Some versions of bash will fail to source /dev/null (special files
2599 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2600 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2602 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2603 case $cache_file in
2604 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2605 *) . "./$cache_file";;
2606 esac
2607 fi
2608 else
2609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2610 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2611 >$cache_file
2612 fi
2613
2614 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2615 # Test code for whether the C compiler supports C89 (global declarations)
2616 ac_c_conftest_c89_globals='
2617 /* Does the compiler advertise C89 conformance?
2618 Do not test the value of __STDC__, because some compilers set it to 0
2619 while being otherwise adequately conformant. */
2620 #if !defined __STDC__
2621 # error "Compiler does not advertise C89 conformance"
2622 #endif
2623
2624 #include <stddef.h>
2625 #include <stdarg.h>
2626 struct stat;
2627 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2628 struct buf { int x; };
2629 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2630 static char *e (char **p, int i)
2631 {
2632 return p[i];
2633 }
2634 static char *f (char * (*g) (char **, int), char **p, ...)
2635 {
2636 char *s;
2637 va_list v;
2638 va_start (v,p);
2639 s = g (p, va_arg (v,int));
2640 va_end (v);
2641 return s;
2642 }
2643
2644 /* C89 style stringification. */
2645 #define noexpand_stringify(a) #a
2646 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2647
2648 /* C89 style token pasting. Exercises some of the corner cases that
2649 e.g. old MSVC gets wrong, but not very hard. */
2650 #define noexpand_concat(a,b) a##b
2651 #define expand_concat(a,b) noexpand_concat(a,b)
2652 extern int vA;
2653 extern int vbee;
2654 #define aye A
2655 #define bee B
2656 int *pvA = &expand_concat(v,aye);
2657 int *pvbee = &noexpand_concat(v,bee);
2658
2659 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2660 function prototypes and stuff, but not \xHH hex character constants.
2661 These do not provoke an error unfortunately, instead are silently treated
2662 as an "x". The following induces an error, until -std is added to get
2663 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2664 array size at least. It is necessary to write \x00 == 0 to get something
2665 that is true only with -std. */
2666 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2667
2668 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2669 inside strings and character constants. */
2670 #define FOO(x) '\''x'\''
2671 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2672
2673 int test (int i, double x);
2674 struct s1 {int (*f) (int a);};
2675 struct s2 {int (*f) (double a);};
2676 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2677 int, int);'
2678
2679 # Test code for whether the C compiler supports C89 (body of main).
2680 ac_c_conftest_c89_main='
2681 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2682 '
2683
2684 # Test code for whether the C compiler supports C99 (global declarations)
2685 ac_c_conftest_c99_globals='
2686 /* Does the compiler advertise C99 conformance? */
2687 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2688 # error "Compiler does not advertise C99 conformance"
2689 #endif
2690
2691 // See if C++-style comments work.
2692
2693 #include <stdbool.h>
2694 extern int puts (const char *);
2695 extern int printf (const char *, ...);
2696 extern int dprintf (int, const char *, ...);
2697 extern void *malloc (size_t);
2698 extern void free (void *);
2699
2700 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2701 // dprintf is used instead of fprintf to avoid needing to declare
2702 // FILE and stderr.
2703 #define debug(...) dprintf (2, __VA_ARGS__)
2704 #define showlist(...) puts (#__VA_ARGS__)
2705 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2706 static void
2707 test_varargs_macros (void)
2708 {
2709 int x = 1234;
2710 int y = 5678;
2711 debug ("Flag");
2712 debug ("X = %d\n", x);
2713 showlist (The first, second, and third items.);
2714 report (x>y, "x is %d but y is %d", x, y);
2715 }
2716
2717 // Check long long types.
2718 #define BIG64 18446744073709551615ull
2719 #define BIG32 4294967295ul
2720 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2721 #if !BIG_OK
2722 #error "your preprocessor is broken"
2723 #endif
2724 #if BIG_OK
2725 #else
2726 #error "your preprocessor is broken"
2727 #endif
2728 static long long int bignum = -9223372036854775807LL;
2729 static unsigned long long int ubignum = BIG64;
2730
2731 struct incomplete_array
2732 {
2733 int datasize;
2734 double data[];
2735 };
2736
2737 struct named_init {
2738 int number;
2739 const wchar_t *name;
2740 double average;
2741 };
2742
2743 typedef const char *ccp;
2744
2745 static inline int
2746 test_restrict (ccp restrict text)
2747 {
2748 // Iterate through items via the restricted pointer.
2749 // Also check for declarations in for loops.
2750 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2751 continue;
2752 return 0;
2753 }
2754
2755 // Check varargs and va_copy.
2756 static bool
2757 test_varargs (const char *format, ...)
2758 {
2759 va_list args;
2760 va_start (args, format);
2761 va_list args_copy;
2762 va_copy (args_copy, args);
2763
2764 const char *str = "";
2765 int number = 0;
2766 float fnumber = 0;
2767
2768 while (*format)
2769 {
2770 switch (*format++)
2771 {
2772 case '\''s'\'': // string
2773 str = va_arg (args_copy, const char *);
2774 break;
2775 case '\''d'\'': // int
2776 number = va_arg (args_copy, int);
2777 break;
2778 case '\''f'\'': // float
2779 fnumber = va_arg (args_copy, double);
2780 break;
2781 default:
2782 break;
2783 }
2784 }
2785 va_end (args_copy);
2786 va_end (args);
2787
2788 return *str && number && fnumber;
2789 }
2790 '
2791
2792 # Test code for whether the C compiler supports C99 (body of main).
2793 ac_c_conftest_c99_main='
2794 // Check bool.
2795 _Bool success = false;
2796 success |= (argc != 0);
2797
2798 // Check restrict.
2799 if (test_restrict ("String literal") == 0)
2800 success = true;
2801 char *restrict newvar = "Another string";
2802
2803 // Check varargs.
2804 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2805 test_varargs_macros ();
2806
2807 // Check flexible array members.
2808 struct incomplete_array *ia =
2809 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2810 ia->datasize = 10;
2811 for (int i = 0; i < ia->datasize; ++i)
2812 ia->data[i] = i * 1.234;
2813 // Work around memory leak warnings.
2814 free (ia);
2815
2816 // Check named initializers.
2817 struct named_init ni = {
2818 .number = 34,
2819 .name = L"Test wide string",
2820 .average = 543.34343,
2821 };
2822
2823 ni.number = 58;
2824
2825 int dynamic_array[ni.number];
2826 dynamic_array[0] = argv[0][0];
2827 dynamic_array[ni.number - 1] = 543;
2828
2829 // work around unused variable warnings
2830 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2831 || dynamic_array[ni.number - 1] != 543);
2832 '
2833
2834 # Test code for whether the C compiler supports C11 (global declarations)
2835 ac_c_conftest_c11_globals='
2836 /* Does the compiler advertise C11 conformance? */
2837 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2838 # error "Compiler does not advertise C11 conformance"
2839 #endif
2840
2841 // Check _Alignas.
2842 char _Alignas (double) aligned_as_double;
2843 char _Alignas (0) no_special_alignment;
2844 extern char aligned_as_int;
2845 char _Alignas (0) _Alignas (int) aligned_as_int;
2846
2847 // Check _Alignof.
2848 enum
2849 {
2850 int_alignment = _Alignof (int),
2851 int_array_alignment = _Alignof (int[100]),
2852 char_alignment = _Alignof (char)
2853 };
2854 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2855
2856 // Check _Noreturn.
2857 int _Noreturn does_not_return (void) { for (;;) continue; }
2858
2859 // Check _Static_assert.
2860 struct test_static_assert
2861 {
2862 int x;
2863 _Static_assert (sizeof (int) <= sizeof (long int),
2864 "_Static_assert does not work in struct");
2865 long int y;
2866 };
2867
2868 // Check UTF-8 literals.
2869 #define u8 syntax error!
2870 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2871
2872 // Check duplicate typedefs.
2873 typedef long *long_ptr;
2874 typedef long int *long_ptr;
2875 typedef long_ptr long_ptr;
2876
2877 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2878 struct anonymous
2879 {
2880 union {
2881 struct { int i; int j; };
2882 struct { int k; long int l; } w;
2883 };
2884 int m;
2885 } v1;
2886 '
2887
2888 # Test code for whether the C compiler supports C11 (body of main).
2889 ac_c_conftest_c11_main='
2890 _Static_assert ((offsetof (struct anonymous, i)
2891 == offsetof (struct anonymous, w.k)),
2892 "Anonymous union alignment botch");
2893 v1.i = 2;
2894 v1.w.k = 5;
2895 ok |= v1.i != 5;
2896 '
2897
2898 # Test code for whether the C compiler supports C11 (complete).
2899 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2900 ${ac_c_conftest_c99_globals}
2901 ${ac_c_conftest_c11_globals}
2902
2903 int
2904 main (int argc, char **argv)
2905 {
2906 int ok = 0;
2907 ${ac_c_conftest_c89_main}
2908 ${ac_c_conftest_c99_main}
2909 ${ac_c_conftest_c11_main}
2910 return ok;
2911 }
2912 "
2913
2914 # Test code for whether the C compiler supports C99 (complete).
2915 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2916 ${ac_c_conftest_c99_globals}
2917
2918 int
2919 main (int argc, char **argv)
2920 {
2921 int ok = 0;
2922 ${ac_c_conftest_c89_main}
2923 ${ac_c_conftest_c99_main}
2924 return ok;
2925 }
2926 "
2927
2928 # Test code for whether the C compiler supports C89 (complete).
2929 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2930
2931 int
2932 main (int argc, char **argv)
2933 {
2934 int ok = 0;
2935 ${ac_c_conftest_c89_main}
2936 return ok;
2937 }
2938 "
2939
2940 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2941 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2942 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2943 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2944 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2945 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2946 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2947 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2948 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2949 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2950
2951 # Auxiliary files required by this configure script.
2952 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2953
2954 # Locations in which to look for auxiliary files.
2955 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2956
2957 # Search for a directory containing all of the required auxiliary files,
2958 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2959 # If we don't find one directory that contains all the files we need,
2960 # we report the set of missing files from the *first* directory in
2961 # $ac_aux_dir_candidates and give up.
2962 ac_missing_aux_files=""
2963 ac_first_candidate=:
2964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 as_found=false
2967 for as_dir in $ac_aux_dir_candidates
2968 do
2969 IFS=$as_save_IFS
2970 case $as_dir in #(((
2971 '') as_dir=./ ;;
2972 */) ;;
2973 *) as_dir=$as_dir/ ;;
2974 esac
2975 as_found=:
2976
2977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2978 ac_aux_dir_found=yes
2979 ac_install_sh=
2980 for ac_aux in $ac_aux_files
2981 do
2982 # As a special case, if "install-sh" is required, that requirement
2983 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2984 # and $ac_install_sh is set appropriately for whichever one is found.
2985 if test x"$ac_aux" = x"install-sh"
2986 then
2987 if test -f "${as_dir}install-sh"; then
2988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2989 ac_install_sh="${as_dir}install-sh -c"
2990 elif test -f "${as_dir}install.sh"; then
2991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2992 ac_install_sh="${as_dir}install.sh -c"
2993 elif test -f "${as_dir}shtool"; then
2994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2995 ac_install_sh="${as_dir}shtool install -c"
2996 else
2997 ac_aux_dir_found=no
2998 if $ac_first_candidate; then
2999 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3000 else
3001 break
3002 fi
3003 fi
3004 else
3005 if test -f "${as_dir}${ac_aux}"; then
3006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3007 else
3008 ac_aux_dir_found=no
3009 if $ac_first_candidate; then
3010 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3011 else
3012 break
3013 fi
3014 fi
3015 fi
3016 done
3017 if test "$ac_aux_dir_found" = yes; then
3018 ac_aux_dir="$as_dir"
3019 break
3020 fi
3021 ac_first_candidate=false
3022
3023 as_found=false
3024 done
3025 IFS=$as_save_IFS
3026 if $as_found
3027 then :
3028
3029 else case e in #(
3030 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
3031 esac
3032 fi
3033
3034
3035 # These three variables are undocumented and unsupported,
3036 # and are intended to be withdrawn in a future Autoconf release.
3037 # They can cause serious problems if a builder's source tree is in a directory
3038 # whose full name contains unusual characters.
3039 if test -f "${ac_aux_dir}config.guess"; then
3040 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3041 fi
3042 if test -f "${ac_aux_dir}config.sub"; then
3043 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3044 fi
3045 if test -f "$ac_aux_dir/configure"; then
3046 ac_configure="$SHELL ${ac_aux_dir}configure"
3047 fi
3048
3049 # Check that the precious variables saved in the cache have kept the same
3050 # value.
3051 ac_cache_corrupted=false
3052 for ac_var in $ac_precious_vars; do
3053 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3054 eval ac_new_set=\$ac_env_${ac_var}_set
3055 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3056 eval ac_new_val=\$ac_env_${ac_var}_value
3057 case $ac_old_set,$ac_new_set in
3058 set,)
3059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
3060 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
3061 ac_cache_corrupted=: ;;
3062 ,set)
3063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
3064 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
3065 ac_cache_corrupted=: ;;
3066 ,);;
3067 *)
3068 if test "x$ac_old_val" != "x$ac_new_val"; then
3069 # differences in whitespace do not lead to failure.
3070 ac_old_val_w=`echo x $ac_old_val`
3071 ac_new_val_w=`echo x $ac_new_val`
3072 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
3074 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
3075 ac_cache_corrupted=:
3076 else
3077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
3078 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
3079 eval $ac_var=\$ac_old_val
3080 fi
3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
3082 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
3084 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
3085 fi;;
3086 esac
3087 # Pass precious variables to config.status.
3088 if test "$ac_new_set" = set; then
3089 case $ac_new_val in
3090 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3091 *) ac_arg=$ac_var=$ac_new_val ;;
3092 esac
3093 case " $ac_configure_args " in
3094 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3095 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3096 esac
3097 fi
3098 done
3099 if $ac_cache_corrupted; then
3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3101 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3103 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3104 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
3105 and start over" "$LINENO" 5
3106 fi
3107 ## -------------------- ##
3108 ## Main body of script. ##
3109 ## -------------------- ##
3110
3111 ac_ext=c
3112 ac_cpp='$CPP $CPPFLAGS'
3113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3116
3117
3118
3119
3120
3121
3122
3123 # Common code for all programs using libkpathsea.
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=dvipsk, amopt=)' >&5
9217 echo 'tldbg:KPSE_BASIC called (pkg=dvipsk, amopt=)' >&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='dvipsk--tex-live-'
9243 VERSION='2026.1'
9244
9245
9246 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
9247
9248
9249 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
9250
9251 # Some tools Automake needs.
9252
9253 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9254
9255
9256 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9257
9258
9259 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9260
9261
9262 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9263
9264
9265 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9266
9267 # For better backward compatibility. To be removed once Automake 1.9.x
9268 # dies out for good. For more background, see:
9269 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9270 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9271 mkdir_p='$(MKDIR_P)'
9272
9273 # We need awk for the "check" target (and possibly the TAP driver). The
9274 # system "awk" is bad on some platforms.
9275 # Always define AMTAR for backward compatibility. Yes, it's still used
9276 # in the wild :-( We should find a proper way to deprecate it ...
9277 AMTAR='$${TAR-tar}'
9278
9279
9280 # We'll loop over all known methods to create a tar archive until one works.
9281 _am_tools='gnutar plaintar pax cpio none'
9282
9283 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
9284 # There is notably a 21 bits limit for the UID and the GID. In fact,
9285 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
9286 # and bug#13588).
9287 am_max_uid=2097151 # 2^21 - 1
9288 am_max_gid=$am_max_uid
9289 # The $UID and $GID variables are not portable, so we need to resort
9290 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
9291 # below are definitely unexpected, so allow the users to see them
9292 # (that is, avoid stderr redirection).
9293 am_uid=`id -u || echo unknown`
9294 am_gid=`id -g || echo unknown`
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
9296 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
9297 if test x$am_uid = xunknown; then
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
9299 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
9300 elif test $am_uid -le $am_max_uid; then
9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9302 printf "%s\n" "yes" >&6; }
9303 else
9304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9305 printf "%s\n" "no" >&6; }
9306 _am_tools=none
9307 fi
9308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
9309 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
9310 if test x$gm_gid = xunknown; then
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
9312 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
9313 elif test $am_gid -le $am_max_gid; then
9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9315 printf "%s\n" "yes" >&6; }
9316 else
9317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9318 printf "%s\n" "no" >&6; }
9319 _am_tools=none
9320 fi
9321
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
9323 printf %s "checking how to create a ustar tar archive... " >&6; }
9324
9325 # Go ahead even if we have the value already cached. We do so because we
9326 # need to set the values for the 'am__tar' and 'am__untar' variables.
9327 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
9328
9329 for _am_tool in $_am_tools; do
9330 case $_am_tool in
9331 gnutar)
9332 for _am_tar in tar gnutar gtar; do
9333 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9334 ($_am_tar --version) >&5 2>&5
9335 ac_status=$?
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); } && break
9338 done
9339 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
9340 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
9341 am__untar="$_am_tar -xf -"
9342 ;;
9343 plaintar)
9344 # Must skip GNU tar: if it does not support --format= it doesn't create
9345 # ustar tarball either.
9346 (tar --version) >/dev/null 2>&1 && continue
9347 am__tar='tar chf - "$$tardir"'
9348 am__tar_='tar chf - "$tardir"'
9349 am__untar='tar xf -'
9350 ;;
9351 pax)
9352 am__tar='pax -L -x ustar -w "$$tardir"'
9353 am__tar_='pax -L -x ustar -w "$tardir"'
9354 am__untar='pax -r'
9355 ;;
9356 cpio)
9357 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
9358 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
9359 am__untar='cpio -i -H ustar -d'
9360 ;;
9361 none)
9362 am__tar=false
9363 am__tar_=false
9364 am__untar=false
9365 ;;
9366 esac
9367
9368 # If the value was cached, stop now. We just wanted to have am__tar
9369 # and am__untar set.
9370 test -n "${am_cv_prog_tar_ustar}" && break
9371
9372 # tar/untar a dummy directory, and stop if the command works.
9373 rm -rf conftest.dir
9374 mkdir conftest.dir
9375 echo GrepMe > conftest.dir/file
9376 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9377 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
9378 ac_status=$?
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); }
9381 rm -rf conftest.dir
9382 if test -s conftest.tar; then
9383 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9384 ($am__untar <conftest.tar) >&5 2>&5
9385 ac_status=$?
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); }
9388 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9389 (cat conftest.dir/file) >&5 2>&5
9390 ac_status=$?
9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392 (exit $ac_status); }
9393 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9394 fi
9395 done
9396 rm -rf conftest.dir
9397
9398 if test ${am_cv_prog_tar_ustar+y}
9399 then :
9400 printf %s "(cached) " >&6
9401 else case e in #(
9402 e) am_cv_prog_tar_ustar=$_am_tool ;;
9403 esac
9404 fi
9405
9406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
9407 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
9408
9409
9410
9411
9412
9413 # Variables for tags utilities; see am/tags.am
9414 if test -z "$CTAGS"; then
9415 CTAGS=ctags
9416 fi
9417
9418 if test -z "$ETAGS"; then
9419 ETAGS=etags
9420 fi
9421
9422 if test -z "$CSCOPE"; then
9423 CSCOPE=cscope
9424 fi
9425
9426
9427
9428
9429
9430
9431
9432
9433 # am_maintainer_mode
9434
9435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9436 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9437 # Check whether --enable-maintainer-mode was given.
9438 if test ${enable_maintainer_mode+y}
9439 then :
9440 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9441 else case e in #(
9442 e) USE_MAINTAINER_MODE=no ;;
9443 esac
9444 fi
9445
9446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9447 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
9448 if test $USE_MAINTAINER_MODE = yes; then
9449 MAINTAINER_MODE_TRUE=
9450 MAINTAINER_MODE_FALSE='#'
9451 else
9452 MAINTAINER_MODE_TRUE='#'
9453 MAINTAINER_MODE_FALSE=
9454 fi
9455
9456 MAINT=$MAINTAINER_MODE_TRUE
9457
9458
9459
9460 # See comments in kpse-setup.m4 about system extensions.
9461
9462
9463 # Check whether prototypes work.
9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9465 printf %s "checking whether the compiler accepts prototypes... " >&6; }
9466 if test ${kb_cv_c_prototypes+y}
9467 then :
9468 printf %s "(cached) " >&6
9469 else case e in #(
9470 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9472 #include <stdarg.h>
9473 int
9474 main (void)
9475 {
9476 extern void foo(int i,...);
9477 ;
9478 return 0;
9479 }
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"
9482 then :
9483 kb_cv_c_prototypes=yes
9484 else case e in #(
9485 e) kb_cv_c_prototypes=no ;;
9486 esac
9487 fi
9488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9489 conftest$ac_exeext conftest.$ac_ext ;;
9490 esac
9491 fi
9492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9493 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
9494 if test "x$kb_cv_c_prototypes" = xno; then
9495 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
9496 fi
9497
9498 # kpse_compiler_warnings options.
9499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9500 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
9501 if test ${kpse_cv_warning_cflags+y}
9502 then :
9503 printf %s "(cached) " >&6
9504 else case e in #(
9505 e) if test "x$GCC" = xyes; then
9506 kpse_cv_warning_cflags=
9507 if test "x$enable_compiler_warnings" != xno; then
9508 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
9509 case `$CC -dumpversion` in #(
9510 3.4.* | 4.* | 5.*) :
9511 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9512 *) :
9513 ;;
9514 esac
9515 case `$CC -dumpversion` in #(
9516 3.[234].* | 4.* | 5.*) :
9517 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9518 *) :
9519 ;;
9520 esac
9521 if test "x$enable_compiler_warnings" != xmin; then
9522 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
9523 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9524 if test "x$enable_compiler_warnings" != xyes; then
9525 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9526 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9527 case `$CC -dumpversion` in #(
9528 3.4.* | 4.* | 5.*) :
9529 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9530 *) :
9531 ;;
9532 esac
9533 if test "x$enable_compiler_warnings" != xmax; then
9534 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
9535 fi
9536 fi
9537 fi
9538 fi
9539 elif test "x$enable_compiler_warnings" = xno; then
9540 kpse_cv_warning_cflags=
9541 else
9542 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
9543 fi ;;
9544 esac
9545 fi
9546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9547 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
9548 WARNING_CFLAGS=$kpse_cv_warning_cflags
9549
9550
9551
9552
9553
9554
9555
9556 # end of kpse_basic macro.
9557 echo 'tldbg:KPSE_BASIC done (pkg=dvipsk, amopt=)' >&5
9558
9559 # am_prog_ar must be called before lt_init.
9560
9561 if test -n "$ac_tool_prefix"; then
9562 for ac_prog in ar lib "link -lib"
9563 do
9564 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9567 printf %s "checking for $ac_word... " >&6; }
9568 if test ${ac_cv_prog_AR+y}
9569 then :
9570 printf %s "(cached) " >&6
9571 else case e in #(
9572 e) if test -n "$AR"; then
9573 ac_cv_prog_AR="$AR" # Let the user override the test.
9574 else
9575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 for as_dir in $PATH
9577 do
9578 IFS=$as_save_IFS
9579 case $as_dir in #(((
9580 '') as_dir=./ ;;
9581 */) ;;
9582 *) as_dir=$as_dir/ ;;
9583 esac
9584 for ac_exec_ext in '' $ac_executable_extensions; do
9585 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9586 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9588 break 2
9589 fi
9590 done
9591 done
9592 IFS=$as_save_IFS
9593
9594 fi ;;
9595 esac
9596 fi
9597 AR=$ac_cv_prog_AR
9598 if test -n "$AR"; then
9599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9600 printf "%s\n" "$AR" >&6; }
9601 else
9602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9603 printf "%s\n" "no" >&6; }
9604 fi
9605
9606
9607 test -n "$AR" && break
9608 done
9609 fi
9610 if test -z "$AR"; then
9611 ac_ct_AR=$AR
9612 for ac_prog in ar lib "link -lib"
9613 do
9614 # Extract the first word of "$ac_prog", so it can be a program name with args.
9615 set dummy $ac_prog; ac_word=$2
9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9617 printf %s "checking for $ac_word... " >&6; }
9618 if test ${ac_cv_prog_ac_ct_AR+y}
9619 then :
9620 printf %s "(cached) " >&6
9621 else case e in #(
9622 e) if test -n "$ac_ct_AR"; then
9623 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9624 else
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9626 for as_dir in $PATH
9627 do
9628 IFS=$as_save_IFS
9629 case $as_dir in #(((
9630 '') as_dir=./ ;;
9631 */) ;;
9632 *) as_dir=$as_dir/ ;;
9633 esac
9634 for ac_exec_ext in '' $ac_executable_extensions; do
9635 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9636 ac_cv_prog_ac_ct_AR="$ac_prog"
9637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9638 break 2
9639 fi
9640 done
9641 done
9642 IFS=$as_save_IFS
9643
9644 fi ;;
9645 esac
9646 fi
9647 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9648 if test -n "$ac_ct_AR"; then
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9650 printf "%s\n" "$ac_ct_AR" >&6; }
9651 else
9652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9653 printf "%s\n" "no" >&6; }
9654 fi
9655
9656
9657 test -n "$ac_ct_AR" && break
9658 done
9659
9660 if test "x$ac_ct_AR" = x; then
9661 AR="false"
9662 else
9663 case $cross_compiling:$ac_tool_warned in
9664 yes:)
9665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9666 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9667 ac_tool_warned=yes ;;
9668 esac
9669 AR=$ac_ct_AR
9670 fi
9671 fi
9672
9673 : ${AR=ar}
9674 : ${ARFLAGS=cr}
9675
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
9677 printf %s "checking the archiver ($AR) interface... " >&6; }
9678 if test ${am_cv_ar_interface+y}
9679 then :
9680 printf %s "(cached) " >&6
9681 else case e in #(
9682 e) ac_ext=c
9683 ac_cpp='$CPP $CPPFLAGS'
9684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9687
9688 am_cv_ar_interface=ar
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h. */
9691 int some_variable = 0;
9692 _ACEOF
9693 if ac_fn_c_try_compile "$LINENO"
9694 then :
9695 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
9696 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9697 (eval $am_ar_try) 2>&5
9698 ac_status=$?
9699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9700 test $ac_status = 0; }
9701 if test "$ac_status" -eq 0; then
9702 am_cv_ar_interface=ar
9703 else
9704 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
9705 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9706 (eval $am_ar_try) 2>&5
9707 ac_status=$?
9708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9709 test $ac_status = 0; }
9710 if test "$ac_status" -eq 0; then
9711 am_cv_ar_interface=lib
9712 else
9713 am_cv_ar_interface=unknown
9714 fi
9715 fi
9716 rm -f conftest.lib libconftest.a
9717
9718 fi
9719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9720 ac_ext=c
9721 ac_cpp='$CPP $CPPFLAGS'
9722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9725 ;;
9726 esac
9727 fi
9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
9729 printf "%s\n" "$am_cv_ar_interface" >&6; }
9730
9731 case $am_cv_ar_interface in
9732 ar)
9733 ;;
9734 lib)
9735 # Microsoft lib, so override with the ar-lib wrapper script.
9736 # FIXME: It is wrong to rewrite AR.
9737 # But if we don't then we get into trouble of one sort or another.
9738 # A longer-term fix would be to have automake use am__AR in this case,
9739 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9740 # similar.
9741 AR="$am_aux_dir/ar-lib $AR"
9742 ;;
9743 unknown)
9744 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
9745 ;;
9746 esac
9747
9748 # (end am_prog_ar)
9749 # starting lt_prereq + lt_init.
9750
9751
9752
9753
9754
9755 # Set options
9756 enable_win32_dll=yes
9757
9758 case $host in
9759 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
9760 if test -n "$ac_tool_prefix"; then
9761 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9762 set dummy ${ac_tool_prefix}as; ac_word=$2
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9764 printf %s "checking for $ac_word... " >&6; }
9765 if test ${ac_cv_prog_AS+y}
9766 then :
9767 printf %s "(cached) " >&6
9768 else case e in #(
9769 e) if test -n "$AS"; then
9770 ac_cv_prog_AS="$AS" # Let the user override the test.
9771 else
9772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9773 for as_dir in $PATH
9774 do
9775 IFS=$as_save_IFS
9776 case $as_dir in #(((
9777 '') as_dir=./ ;;
9778 */) ;;
9779 *) as_dir=$as_dir/ ;;
9780 esac
9781 for ac_exec_ext in '' $ac_executable_extensions; do
9782 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9783 ac_cv_prog_AS="${ac_tool_prefix}as"
9784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9785 break 2
9786 fi
9787 done
9788 done
9789 IFS=$as_save_IFS
9790
9791 fi ;;
9792 esac
9793 fi
9794 AS=$ac_cv_prog_AS
9795 if test -n "$AS"; then
9796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9797 printf "%s\n" "$AS" >&6; }
9798 else
9799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9800 printf "%s\n" "no" >&6; }
9801 fi
9802
9803
9804 fi
9805 if test -z "$ac_cv_prog_AS"; then
9806 ac_ct_AS=$AS
9807 # Extract the first word of "as", so it can be a program name with args.
9808 set dummy as; ac_word=$2
9809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9810 printf %s "checking for $ac_word... " >&6; }
9811 if test ${ac_cv_prog_ac_ct_AS+y}
9812 then :
9813 printf %s "(cached) " >&6
9814 else case e in #(
9815 e) if test -n "$ac_ct_AS"; then
9816 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9817 else
9818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9819 for as_dir in $PATH
9820 do
9821 IFS=$as_save_IFS
9822 case $as_dir in #(((
9823 '') as_dir=./ ;;
9824 */) ;;
9825 *) as_dir=$as_dir/ ;;
9826 esac
9827 for ac_exec_ext in '' $ac_executable_extensions; do
9828 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9829 ac_cv_prog_ac_ct_AS="as"
9830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9831 break 2
9832 fi
9833 done
9834 done
9835 IFS=$as_save_IFS
9836
9837 fi ;;
9838 esac
9839 fi
9840 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9841 if test -n "$ac_ct_AS"; then
9842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9843 printf "%s\n" "$ac_ct_AS" >&6; }
9844 else
9845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9846 printf "%s\n" "no" >&6; }
9847 fi
9848
9849 if test "x$ac_ct_AS" = x; then
9850 AS="false"
9851 else
9852 case $cross_compiling:$ac_tool_warned in
9853 yes:)
9854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9855 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9856 ac_tool_warned=yes ;;
9857 esac
9858 AS=$ac_ct_AS
9859 fi
9860 else
9861 AS="$ac_cv_prog_AS"
9862 fi
9863
9864 if test -n "$ac_tool_prefix"; then
9865 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9866 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9868 printf %s "checking for $ac_word... " >&6; }
9869 if test ${ac_cv_prog_DLLTOOL+y}
9870 then :
9871 printf %s "(cached) " >&6
9872 else case e in #(
9873 e) if test -n "$DLLTOOL"; then
9874 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9875 else
9876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9877 for as_dir in $PATH
9878 do
9879 IFS=$as_save_IFS
9880 case $as_dir in #(((
9881 '') as_dir=./ ;;
9882 */) ;;
9883 *) as_dir=$as_dir/ ;;
9884 esac
9885 for ac_exec_ext in '' $ac_executable_extensions; do
9886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9887 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9889 break 2
9890 fi
9891 done
9892 done
9893 IFS=$as_save_IFS
9894
9895 fi ;;
9896 esac
9897 fi
9898 DLLTOOL=$ac_cv_prog_DLLTOOL
9899 if test -n "$DLLTOOL"; then
9900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9901 printf "%s\n" "$DLLTOOL" >&6; }
9902 else
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9904 printf "%s\n" "no" >&6; }
9905 fi
9906
9907
9908 fi
9909 if test -z "$ac_cv_prog_DLLTOOL"; then
9910 ac_ct_DLLTOOL=$DLLTOOL
9911 # Extract the first word of "dlltool", so it can be a program name with args.
9912 set dummy dlltool; ac_word=$2
9913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9914 printf %s "checking for $ac_word... " >&6; }
9915 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9916 then :
9917 printf %s "(cached) " >&6
9918 else case e in #(
9919 e) if test -n "$ac_ct_DLLTOOL"; then
9920 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9921 else
9922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9923 for as_dir in $PATH
9924 do
9925 IFS=$as_save_IFS
9926 case $as_dir in #(((
9927 '') as_dir=./ ;;
9928 */) ;;
9929 *) as_dir=$as_dir/ ;;
9930 esac
9931 for ac_exec_ext in '' $ac_executable_extensions; do
9932 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9933 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9935 break 2
9936 fi
9937 done
9938 done
9939 IFS=$as_save_IFS
9940
9941 fi ;;
9942 esac
9943 fi
9944 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9945 if test -n "$ac_ct_DLLTOOL"; then
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9947 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9948 else
9949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9950 printf "%s\n" "no" >&6; }
9951 fi
9952
9953 if test "x$ac_ct_DLLTOOL" = x; then
9954 DLLTOOL="false"
9955 else
9956 case $cross_compiling:$ac_tool_warned in
9957 yes:)
9958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9959 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9960 ac_tool_warned=yes ;;
9961 esac
9962 DLLTOOL=$ac_ct_DLLTOOL
9963 fi
9964 else
9965 DLLTOOL="$ac_cv_prog_DLLTOOL"
9966 fi
9967
9968 if test -n "$ac_tool_prefix"; then
9969 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9970 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9972 printf %s "checking for $ac_word... " >&6; }
9973 if test ${ac_cv_prog_OBJDUMP+y}
9974 then :
9975 printf %s "(cached) " >&6
9976 else case e in #(
9977 e) if test -n "$OBJDUMP"; then
9978 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9979 else
9980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9981 for as_dir in $PATH
9982 do
9983 IFS=$as_save_IFS
9984 case $as_dir in #(((
9985 '') as_dir=./ ;;
9986 */) ;;
9987 *) as_dir=$as_dir/ ;;
9988 esac
9989 for ac_exec_ext in '' $ac_executable_extensions; do
9990 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9991 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9993 break 2
9994 fi
9995 done
9996 done
9997 IFS=$as_save_IFS
9998
9999 fi ;;
10000 esac
10001 fi
10002 OBJDUMP=$ac_cv_prog_OBJDUMP
10003 if test -n "$OBJDUMP"; then
10004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
10005 printf "%s\n" "$OBJDUMP" >&6; }
10006 else
10007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10008 printf "%s\n" "no" >&6; }
10009 fi
10010
10011
10012 fi
10013 if test -z "$ac_cv_prog_OBJDUMP"; then
10014 ac_ct_OBJDUMP=$OBJDUMP
10015 # Extract the first word of "objdump", so it can be a program name with args.
10016 set dummy objdump; ac_word=$2
10017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10018 printf %s "checking for $ac_word... " >&6; }
10019 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
10020 then :
10021 printf %s "(cached) " >&6
10022 else case e in #(
10023 e) if test -n "$ac_ct_OBJDUMP"; then
10024 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
10025 else
10026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10027 for as_dir in $PATH
10028 do
10029 IFS=$as_save_IFS
10030 case $as_dir in #(((
10031 '') as_dir=./ ;;
10032 */) ;;
10033 *) as_dir=$as_dir/ ;;
10034 esac
10035 for ac_exec_ext in '' $ac_executable_extensions; do
10036 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10037 ac_cv_prog_ac_ct_OBJDUMP="objdump"
10038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10039 break 2
10040 fi
10041 done
10042 done
10043 IFS=$as_save_IFS
10044
10045 fi ;;
10046 esac
10047 fi
10048 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
10049 if test -n "$ac_ct_OBJDUMP"; then
10050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
10051 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
10052 else
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10054 printf "%s\n" "no" >&6; }
10055 fi
10056
10057 if test "x$ac_ct_OBJDUMP" = x; then
10058 OBJDUMP="false"
10059 else
10060 case $cross_compiling:$ac_tool_warned in
10061 yes:)
10062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10063 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10064 ac_tool_warned=yes ;;
10065 esac
10066 OBJDUMP=$ac_ct_OBJDUMP
10067 fi
10068 else
10069 OBJDUMP="$ac_cv_prog_OBJDUMP"
10070 fi
10071
10072 ;;
10073 esac
10074
10075 test -z "$AS" && AS=as
10076
10077
10078
10079
10080
10081 test -z "$DLLTOOL" && DLLTOOL=dlltool
10082
10083
10084
10085
10086
10087 test -z "$OBJDUMP" && OBJDUMP=objdump
10088
10089
10090
10091
10092
10093
10094
10095 enable_dlopen=no
10096
10097
10098
10099 # Check whether --enable-shared was given.
10100 if test ${enable_shared+y}
10101 then :
10102 enableval=$enable_shared; p=${PACKAGE-default}
10103 case $enableval in
10104 yes) enable_shared=yes ;;
10105 no) enable_shared=no ;;
10106 *)
10107 enable_shared=no
10108 # Look at the argument we got. We use all the common list separators.
10109 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10110 for pkg in $enableval; do
10111 IFS=$lt_save_ifs
10112 if test "X$pkg" = "X$p"; then
10113 enable_shared=yes
10114 fi
10115 done
10116 IFS=$lt_save_ifs
10117 ;;
10118 esac
10119 else case e in #(
10120 e) enable_shared=yes ;;
10121 esac
10122 fi
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132 # Check whether --enable-static was given.
10133 if test ${enable_static+y}
10134 then :
10135 enableval=$enable_static; p=${PACKAGE-default}
10136 case $enableval in
10137 yes) enable_static=yes ;;
10138 no) enable_static=no ;;
10139 *)
10140 enable_static=no
10141 # Look at the argument we got. We use all the common list separators.
10142 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10143 for pkg in $enableval; do
10144 IFS=$lt_save_ifs
10145 if test "X$pkg" = "X$p"; then
10146 enable_static=yes
10147 fi
10148 done
10149 IFS=$lt_save_ifs
10150 ;;
10151 esac
10152 else case e in #(
10153 e) enable_static=yes ;;
10154 esac
10155 fi
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165 # Check whether --enable-pic was given.
10166 if test ${enable_pic+y}
10167 then :
10168 enableval=$enable_pic; lt_p=${PACKAGE-default}
10169 case $enableval in
10170 yes|no) pic_mode=$enableval ;;
10171 *)
10172 pic_mode=default
10173 # Look at the argument we got. We use all the common list separators.
10174 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10175 for lt_pkg in $enableval; do
10176 IFS=$lt_save_ifs
10177 if test "X$lt_pkg" = "X$lt_p"; then
10178 pic_mode=yes
10179 fi
10180 done
10181 IFS=$lt_save_ifs
10182 ;;
10183 esac
10184 else case e in #(
10185 e) # Check whether --with-pic was given.
10186 if test ${with_pic+y}
10187 then :
10188 withval=$with_pic; lt_p=${PACKAGE-default}
10189 case $withval in
10190 yes|no) pic_mode=$withval ;;
10191 *)
10192 pic_mode=default
10193 # Look at the argument we got. We use all the common list separators.
10194 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10195 for lt_pkg in $withval; do
10196 IFS=$lt_save_ifs
10197 if test "X$lt_pkg" = "X$lt_p"; then
10198 pic_mode=yes
10199 fi
10200 done
10201 IFS=$lt_save_ifs
10202 ;;
10203 esac
10204 else case e in #(
10205 e) pic_mode=default ;;
10206 esac
10207 fi
10208
10209 ;;
10210 esac
10211 fi
10212
10213
10214
10215
10216
10217
10218
10219
10220 # Check whether --enable-fast-install was given.
10221 if test ${enable_fast_install+y}
10222 then :
10223 enableval=$enable_fast_install; p=${PACKAGE-default}
10224 case $enableval in
10225 yes) enable_fast_install=yes ;;
10226 no) enable_fast_install=no ;;
10227 *)
10228 enable_fast_install=no
10229 # Look at the argument we got. We use all the common list separators.
10230 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10231 for pkg in $enableval; do
10232 IFS=$lt_save_ifs
10233 if test "X$pkg" = "X$p"; then
10234 enable_fast_install=yes
10235 fi
10236 done
10237 IFS=$lt_save_ifs
10238 ;;
10239 esac
10240 else case e in #(
10241 e) enable_fast_install=yes ;;
10242 esac
10243 fi
10244
10245
10246
10247
10248
10249
10250
10251
10252 shared_archive_member_spec=
10253 case $host,$enable_shared in
10254 power*-*-aix[5-9]*,yes)
10255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10256 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10257 # Check whether --enable-aix-soname was given.
10258 if test ${enable_aix_soname+y}
10259 then :
10260 enableval=$enable_aix_soname; case $enableval in
10261 aix|svr4|both)
10262 ;;
10263 *)
10264 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10265 ;;
10266 esac
10267 lt_cv_with_aix_soname=$enable_aix_soname
10268 else case e in #(
10269 e) # Check whether --with-aix-soname was given.
10270 if test ${with_aix_soname+y}
10271 then :
10272 withval=$with_aix_soname; case $withval in
10273 aix|svr4|both)
10274 ;;
10275 *)
10276 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10277 ;;
10278 esac
10279 lt_cv_with_aix_soname=$with_aix_soname
10280 else case e in #(
10281 e) if test ${lt_cv_with_aix_soname+y}
10282 then :
10283 printf %s "(cached) " >&6
10284 else case e in #(
10285 e) lt_cv_with_aix_soname=aix ;;
10286 esac
10287 fi
10288 ;;
10289 esac
10290 fi
10291
10292 enable_aix_soname=$lt_cv_with_aix_soname ;;
10293 esac
10294 fi
10295
10296 with_aix_soname=$enable_aix_soname
10297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10298 printf "%s\n" "$with_aix_soname" >&6; }
10299 if test aix != "$with_aix_soname"; then
10300 # For the AIX way of multilib, we name the shared archive member
10301 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10302 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10303 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10304 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10305 if test 64 = "${OBJECT_MODE-32}"; then
10306 shared_archive_member_spec=shr_64
10307 else
10308 shared_archive_member_spec=shr
10309 fi
10310 fi
10311 ;;
10312 *)
10313 with_aix_soname=aix
10314 ;;
10315 esac
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326 # This can be used to rebuild libtool when needed
10327 LIBTOOL_DEPS=$ltmain
10328
10329 # Always use our own libtool.
10330 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361 test -z "$LN_S" && LN_S="ln -s"
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376 if test -n "${ZSH_VERSION+set}"; then
10377 setopt NO_GLOB_SUBST
10378 fi
10379
10380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10381 printf %s "checking for objdir... " >&6; }
10382 if test ${lt_cv_objdir+y}
10383 then :
10384 printf %s "(cached) " >&6
10385 else case e in #(
10386 e) rm -f .libs 2>/dev/null
10387 mkdir .libs 2>/dev/null
10388 if test -d .libs; then
10389 lt_cv_objdir=.libs
10390 else
10391 # MS-DOS does not allow filenames that begin with a dot.
10392 lt_cv_objdir=_libs
10393 fi
10394 rmdir .libs 2>/dev/null ;;
10395 esac
10396 fi
10397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10398 printf "%s\n" "$lt_cv_objdir" >&6; }
10399 objdir=$lt_cv_objdir
10400
10401
10402
10403
10404
10405 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10406
10407
10408
10409
10410 case $host_os in
10411 aix3*)
10412 # AIX sometimes has problems with the GCC collect2 program. For some
10413 # reason, if we set the COLLECT_NAMES environment variable, the problems
10414 # vanish in a puff of smoke.
10415 if test set != "${COLLECT_NAMES+set}"; then
10416 COLLECT_NAMES=
10417 export COLLECT_NAMES
10418 fi
10419 ;;
10420 esac
10421
10422 # Global variables:
10423 ofile=libtool
10424 can_build_shared=yes
10425
10426 # All known linkers require a '.a' archive for static linking (except MSVC and
10427 # ICC, which need '.lib').
10428 libext=a
10429
10430 with_gnu_ld=$lt_cv_prog_gnu_ld
10431
10432 old_CC=$CC
10433 old_CFLAGS=$CFLAGS
10434
10435 # Set sane defaults for various variables
10436 test -z "$CC" && CC=cc
10437 test -z "$LTCC" && LTCC=$CC
10438 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10439 test -z "$LD" && LD=ld
10440 test -z "$ac_objext" && ac_objext=o
10441
10442 func_cc_basename $compiler
10443 cc_basename=$func_cc_basename_result
10444
10445
10446 # Only perform the check for file, if the check method requires it
10447 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10448 case $deplibs_check_method in
10449 file_magic*)
10450 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10452 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10453 if test ${lt_cv_path_MAGIC_CMD+y}
10454 then :
10455 printf %s "(cached) " >&6
10456 else case e in #(
10457 e) case $MAGIC_CMD in
10458 [\\/*] | ?:[\\/]*)
10459 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10460 ;;
10461 *)
10462 lt_save_MAGIC_CMD=$MAGIC_CMD
10463 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10464 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10465 for ac_dir in $ac_dummy; do
10466 IFS=$lt_save_ifs
10467 test -z "$ac_dir" && ac_dir=.
10468 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10469 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10470 if test -n "$file_magic_test_file"; then
10471 case $deplibs_check_method in
10472 "file_magic "*)
10473 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10474 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10475 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10476 $EGREP "$file_magic_regex" > /dev/null; then
10477 :
10478 else
10479 cat <<_LT_EOF 1>&2
10480
10481 *** Warning: the command libtool uses to detect shared libraries,
10482 *** $file_magic_cmd, produces output that libtool cannot recognize.
10483 *** The result is that libtool may fail to recognize shared libraries
10484 *** as such. This will affect the creation of libtool libraries that
10485 *** depend on shared libraries, but programs linked with such libtool
10486 *** libraries will work regardless of this problem. Nevertheless, you
10487 *** may want to report the problem to your system manager and/or to
10488 *** [email protected]
10489
10490 _LT_EOF
10491 fi ;;
10492 esac
10493 fi
10494 break
10495 fi
10496 done
10497 IFS=$lt_save_ifs
10498 MAGIC_CMD=$lt_save_MAGIC_CMD
10499 ;;
10500 esac ;;
10501 esac
10502 fi
10503
10504 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10505 if test -n "$MAGIC_CMD"; then
10506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10507 printf "%s\n" "$MAGIC_CMD" >&6; }
10508 else
10509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10510 printf "%s\n" "no" >&6; }
10511 fi
10512
10513
10514
10515
10516
10517 if test -z "$lt_cv_path_MAGIC_CMD"; then
10518 if test -n "$ac_tool_prefix"; then
10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10520 printf %s "checking for file... " >&6; }
10521 if test ${lt_cv_path_MAGIC_CMD+y}
10522 then :
10523 printf %s "(cached) " >&6
10524 else case e in #(
10525 e) case $MAGIC_CMD in
10526 [\\/*] | ?:[\\/]*)
10527 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10528 ;;
10529 *)
10530 lt_save_MAGIC_CMD=$MAGIC_CMD
10531 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10532 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10533 for ac_dir in $ac_dummy; do
10534 IFS=$lt_save_ifs
10535 test -z "$ac_dir" && ac_dir=.
10536 if test -f "$ac_dir/file"; then
10537 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10538 if test -n "$file_magic_test_file"; then
10539 case $deplibs_check_method in
10540 "file_magic "*)
10541 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10542 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10543 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10544 $EGREP "$file_magic_regex" > /dev/null; then
10545 :
10546 else
10547 cat <<_LT_EOF 1>&2
10548
10549 *** Warning: the command libtool uses to detect shared libraries,
10550 *** $file_magic_cmd, produces output that libtool cannot recognize.
10551 *** The result is that libtool may fail to recognize shared libraries
10552 *** as such. This will affect the creation of libtool libraries that
10553 *** depend on shared libraries, but programs linked with such libtool
10554 *** libraries will work regardless of this problem. Nevertheless, you
10555 *** may want to report the problem to your system manager and/or to
10556 *** [email protected]
10557
10558 _LT_EOF
10559 fi ;;
10560 esac
10561 fi
10562 break
10563 fi
10564 done
10565 IFS=$lt_save_ifs
10566 MAGIC_CMD=$lt_save_MAGIC_CMD
10567 ;;
10568 esac ;;
10569 esac
10570 fi
10571
10572 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10573 if test -n "$MAGIC_CMD"; then
10574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10575 printf "%s\n" "$MAGIC_CMD" >&6; }
10576 else
10577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10578 printf "%s\n" "no" >&6; }
10579 fi
10580
10581
10582 else
10583 MAGIC_CMD=:
10584 fi
10585 fi
10586
10587 fi
10588 ;;
10589 esac
10590
10591 # Use C for the default configuration in the libtool script
10592
10593 lt_save_CC=$CC
10594 ac_ext=c
10595 ac_cpp='$CPP $CPPFLAGS'
10596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10599
10600
10601 # Source file extension for C test sources.
10602 ac_ext=c
10603
10604 # Object file extension for compiled C test sources.
10605 objext=o
10606 objext=$objext
10607
10608 # Code to be used in simple compile tests
10609 lt_simple_compile_test_code="int some_variable = 0;"
10610
10611 # Code to be used in simple link tests
10612 lt_simple_link_test_code='int main(void){return(0);}'
10613
10614
10615
10616
10617
10618
10619
10620 # If no C compiler was specified, use CC.
10621 LTCC=${LTCC-"$CC"}
10622
10623 # If no C compiler flags were specified, use CFLAGS.
10624 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10625
10626 # Allow CC to be a program name with arguments.
10627 compiler=$CC
10628
10629 # Save the default compiler, since it gets overwritten when the other
10630 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10631 compiler_DEFAULT=$CC
10632
10633 # save warnings/boilerplate of simple test code
10634 ac_outfile=conftest.$ac_objext
10635 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10636 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10637 _lt_compiler_boilerplate=`cat conftest.err`
10638 $RM conftest*
10639
10640 ac_outfile=conftest.$ac_objext
10641 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10642 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10643 _lt_linker_boilerplate=`cat conftest.err`
10644 $RM -r conftest*
10645
10646
10647 ## CAVEAT EMPTOR:
10648 ## There is no encapsulation within the following macros, do not change
10649 ## the running order or otherwise move them around unless you know exactly
10650 ## what you are doing...
10651 if test -n "$compiler"; then
10652
10653 lt_prog_compiler_no_builtin_flag=
10654
10655 if test yes = "$GCC"; then
10656 case $cc_basename in
10657 nvcc*)
10658 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10659 *)
10660 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10661 esac
10662
10663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10664 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10665 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10666 then :
10667 printf %s "(cached) " >&6
10668 else case e in #(
10669 e) lt_cv_prog_compiler_rtti_exceptions=no
10670 ac_outfile=conftest.$ac_objext
10671 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10672 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10673 # Insert the option either (1) after the last *FLAGS variable, or
10674 # (2) before a word containing "conftest.", or (3) at the end.
10675 # Note that $ac_compile itself does not contain backslashes and begins
10676 # with a dollar sign (not a hyphen), so the echo should work correctly.
10677 # The option is referenced via a variable to avoid confusing sed.
10678 lt_compile=`echo "$ac_compile" | $SED \
10679 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10681 -e 's:$: $lt_compiler_flag:'`
10682 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10683 (eval "$lt_compile" 2>conftest.err)
10684 ac_status=$?
10685 cat conftest.err >&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 if (exit $ac_status) && test -s "$ac_outfile"; then
10688 # The compiler can only warn and ignore the option if not recognized
10689 # So say no if there are warnings other than the usual output.
10690 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10691 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10692 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10693 lt_cv_prog_compiler_rtti_exceptions=yes
10694 fi
10695 fi
10696 $RM conftest*
10697 ;;
10698 esac
10699 fi
10700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10701 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10702
10703 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10704 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10705 else
10706 :
10707 fi
10708
10709 fi
10710
10711
10712
10713
10714
10715
10716 lt_prog_compiler_wl=
10717 lt_prog_compiler_pic=
10718 lt_prog_compiler_static=
10719
10720
10721 if test yes = "$GCC"; then
10722 lt_prog_compiler_wl='-Wl,'
10723 lt_prog_compiler_static='-static'
10724
10725 case $host_os in
10726 aix*)
10727 # All AIX code is PIC.
10728 if test ia64 = "$host_cpu"; then
10729 # AIX 5 now supports IA64 processor
10730 lt_prog_compiler_static='-Bstatic'
10731 fi
10732 lt_prog_compiler_pic='-fPIC'
10733 ;;
10734
10735 amigaos*)
10736 case $host_cpu in
10737 powerpc)
10738 # see comment about AmigaOS4 .so support
10739 lt_prog_compiler_pic='-fPIC'
10740 ;;
10741 m68k)
10742 # FIXME: we need at least 68020 code to build shared libraries, but
10743 # adding the '-m68020' flag to GCC prevents building anything better,
10744 # like '-m68040'.
10745 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10746 ;;
10747 esac
10748 ;;
10749
10750 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10751 # PIC is the default for these OSes.
10752 ;;
10753
10754 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10755 # This hack is so that the source file can tell whether it is being
10756 # built for inclusion in a dll (and should export symbols for example).
10757 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10758 # (--disable-auto-import) libraries
10759 lt_prog_compiler_pic='-DDLL_EXPORT'
10760 case $host_os in
10761 os2*)
10762 lt_prog_compiler_static='$wl-static'
10763 ;;
10764 esac
10765 ;;
10766
10767 darwin* | rhapsody*)
10768 # PIC is the default on this platform
10769 # Common symbols not allowed in MH_DYLIB files
10770 lt_prog_compiler_pic='-fno-common'
10771 ;;
10772
10773 haiku*)
10774 # PIC is the default for Haiku.
10775 # The "-static" flag exists, but is broken.
10776 lt_prog_compiler_static=
10777 ;;
10778
10779 hpux*)
10780 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10781 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10782 # sets the default TLS model and affects inlining.
10783 case $host_cpu in
10784 hppa*64*)
10785 # +Z the default
10786 ;;
10787 *)
10788 lt_prog_compiler_pic='-fPIC'
10789 ;;
10790 esac
10791 ;;
10792
10793 interix[3-9]*)
10794 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10795 # Instead, we relocate shared libraries at runtime.
10796 ;;
10797
10798 msdosdjgpp*)
10799 # Just because we use GCC doesn't mean we suddenly get shared libraries
10800 # on systems that don't support them.
10801 lt_prog_compiler_can_build_shared=no
10802 enable_shared=no
10803 ;;
10804
10805 *nto* | *qnx*)
10806 # QNX uses GNU C++, but need to define -shared option too, otherwise
10807 # it will coredump.
10808 lt_prog_compiler_pic='-fPIC -shared'
10809 ;;
10810
10811 sysv4*MP*)
10812 if test -d /usr/nec; then
10813 lt_prog_compiler_pic=-Kconform_pic
10814 fi
10815 ;;
10816
10817 *)
10818 lt_prog_compiler_pic='-fPIC'
10819 ;;
10820 esac
10821
10822 case $cc_basename in
10823 nvcc*) # Cuda Compiler Driver 2.2
10824 lt_prog_compiler_wl='-Xlinker '
10825 if test -n "$lt_prog_compiler_pic"; then
10826 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10827 fi
10828 ;;
10829 esac
10830 else
10831 # PORTME Check for flag to pass linker flags through the system compiler.
10832 case $host_os in
10833 aix*)
10834 lt_prog_compiler_wl='-Wl,'
10835 if test ia64 = "$host_cpu"; then
10836 # AIX 5 now supports IA64 processor
10837 lt_prog_compiler_static='-Bstatic'
10838 else
10839 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10840 fi
10841 ;;
10842
10843 darwin* | rhapsody*)
10844 # PIC is the default on this platform
10845 # Common symbols not allowed in MH_DYLIB files
10846 lt_prog_compiler_pic='-fno-common'
10847 case $cc_basename in
10848 nagfor*)
10849 # NAG Fortran compiler
10850 lt_prog_compiler_wl='-Wl,-Wl,,'
10851 lt_prog_compiler_pic='-PIC'
10852 lt_prog_compiler_static='-Bstatic'
10853 ;;
10854 esac
10855 ;;
10856
10857 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10858 # This hack is so that the source file can tell whether it is being
10859 # built for inclusion in a dll (and should export symbols for example).
10860 lt_prog_compiler_pic='-DDLL_EXPORT'
10861 case $host_os in
10862 os2*)
10863 lt_prog_compiler_static='$wl-static'
10864 ;;
10865 esac
10866 ;;
10867
10868 hpux9* | hpux10* | hpux11*)
10869 lt_prog_compiler_wl='-Wl,'
10870 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10871 # not for PA HP-UX.
10872 case $host_cpu in
10873 hppa*64*|ia64*)
10874 # +Z the default
10875 ;;
10876 *)
10877 lt_prog_compiler_pic='+Z'
10878 ;;
10879 esac
10880 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10881 lt_prog_compiler_static='$wl-a ${wl}archive'
10882 ;;
10883
10884 irix5* | irix6* | nonstopux*)
10885 lt_prog_compiler_wl='-Wl,'
10886 # PIC (with -KPIC) is the default.
10887 lt_prog_compiler_static='-non_shared'
10888 ;;
10889
10890 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10891 case $cc_basename in
10892 # old Intel for x86_64, which still supported -KPIC.
10893 ecc*)
10894 lt_prog_compiler_wl='-Wl,'
10895 lt_prog_compiler_pic='-KPIC'
10896 lt_prog_compiler_static='-static'
10897 ;;
10898 *flang* | ftn | f18* | f95*)
10899 # Flang compiler.
10900 lt_prog_compiler_wl='-Wl,'
10901 lt_prog_compiler_pic='-fPIC'
10902 lt_prog_compiler_static='-static'
10903 ;;
10904 # icc used to be incompatible with GCC.
10905 # ICC 10 doesn't accept -KPIC any more.
10906 icc* | ifort*)
10907 lt_prog_compiler_wl='-Wl,'
10908 lt_prog_compiler_pic='-fPIC'
10909 lt_prog_compiler_static='-static'
10910 ;;
10911 # Lahey Fortran 8.1.
10912 lf95*)
10913 lt_prog_compiler_wl='-Wl,'
10914 lt_prog_compiler_pic='--shared'
10915 lt_prog_compiler_static='--static'
10916 ;;
10917 nagfor*)
10918 # NAG Fortran compiler
10919 lt_prog_compiler_wl='-Wl,-Wl,,'
10920 lt_prog_compiler_pic='-PIC'
10921 lt_prog_compiler_static='-Bstatic'
10922 ;;
10923 tcc*)
10924 # Fabrice Bellard et al's Tiny C Compiler
10925 lt_prog_compiler_wl='-Wl,'
10926 lt_prog_compiler_pic='-fPIC'
10927 lt_prog_compiler_static='-static'
10928 ;;
10929 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10930 # Portland Group compilers (*not* the Pentium gcc compiler,
10931 # which looks to be a dead project)
10932 lt_prog_compiler_wl='-Wl,'
10933 lt_prog_compiler_pic='-fpic'
10934 lt_prog_compiler_static='-Bstatic'
10935 ;;
10936 ccc*)
10937 lt_prog_compiler_wl='-Wl,'
10938 # All Alpha code is PIC.
10939 lt_prog_compiler_static='-non_shared'
10940 ;;
10941 xl* | bgxl* | bgf* | mpixl*)
10942 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10943 lt_prog_compiler_wl='-Wl,'
10944 lt_prog_compiler_pic='-qpic'
10945 lt_prog_compiler_static='-qstaticlink'
10946 ;;
10947 *)
10948 case `$CC -V 2>&1 | $SED 5q` in
10949 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10950 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10951 lt_prog_compiler_pic='-KPIC'
10952 lt_prog_compiler_static='-Bstatic'
10953 lt_prog_compiler_wl=''
10954 ;;
10955 *Sun\ F* | *Sun*Fortran*)
10956 lt_prog_compiler_pic='-KPIC'
10957 lt_prog_compiler_static='-Bstatic'
10958 lt_prog_compiler_wl='-Qoption ld '
10959 ;;
10960 *Sun\ C*)
10961 # Sun C 5.9
10962 lt_prog_compiler_pic='-KPIC'
10963 lt_prog_compiler_static='-Bstatic'
10964 lt_prog_compiler_wl='-Wl,'
10965 ;;
10966 *Intel*\ [CF]*Compiler*)
10967 lt_prog_compiler_wl='-Wl,'
10968 lt_prog_compiler_pic='-fPIC'
10969 lt_prog_compiler_static='-static'
10970 ;;
10971 *Portland\ Group*)
10972 lt_prog_compiler_wl='-Wl,'
10973 lt_prog_compiler_pic='-fpic'
10974 lt_prog_compiler_static='-Bstatic'
10975 ;;
10976 esac
10977 ;;
10978 esac
10979 ;;
10980
10981 newsos6)
10982 lt_prog_compiler_pic='-KPIC'
10983 lt_prog_compiler_static='-Bstatic'
10984 ;;
10985
10986 *-mlibc)
10987 lt_prog_compiler_wl='-Wl,'
10988 lt_prog_compiler_pic='-fPIC'
10989 lt_prog_compiler_static='-static'
10990 ;;
10991
10992 *nto* | *qnx*)
10993 # QNX uses GNU C++, but need to define -shared option too, otherwise
10994 # it will coredump.
10995 lt_prog_compiler_pic='-fPIC -shared'
10996 ;;
10997
10998 osf3* | osf4* | osf5*)
10999 lt_prog_compiler_wl='-Wl,'
11000 # All OSF/1 code is PIC.
11001 lt_prog_compiler_static='-non_shared'
11002 ;;
11003
11004 rdos*)
11005 lt_prog_compiler_static='-non_shared'
11006 ;;
11007
11008 serenity*)
11009 ;;
11010
11011 solaris*)
11012 lt_prog_compiler_pic='-KPIC'
11013 lt_prog_compiler_static='-Bstatic'
11014 case $cc_basename in
11015 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11016 lt_prog_compiler_wl='-Qoption ld ';;
11017 *)
11018 lt_prog_compiler_wl='-Wl,';;
11019 esac
11020 ;;
11021
11022 sunos4*)
11023 lt_prog_compiler_wl='-Qoption ld '
11024 lt_prog_compiler_pic='-PIC'
11025 lt_prog_compiler_static='-Bstatic'
11026 ;;
11027
11028 sysv4 | sysv4.2uw2* | sysv4.3*)
11029 lt_prog_compiler_wl='-Wl,'
11030 lt_prog_compiler_pic='-KPIC'
11031 lt_prog_compiler_static='-Bstatic'
11032 ;;
11033
11034 sysv4*MP*)
11035 if test -d /usr/nec; then
11036 lt_prog_compiler_pic='-Kconform_pic'
11037 lt_prog_compiler_static='-Bstatic'
11038 fi
11039 ;;
11040
11041 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11042 lt_prog_compiler_wl='-Wl,'
11043 lt_prog_compiler_pic='-KPIC'
11044 lt_prog_compiler_static='-Bstatic'
11045 ;;
11046
11047 unicos*)
11048 lt_prog_compiler_wl='-Wl,'
11049 lt_prog_compiler_can_build_shared=no
11050 ;;
11051
11052 uts4*)
11053 lt_prog_compiler_pic='-pic'
11054 lt_prog_compiler_static='-Bstatic'
11055 ;;
11056
11057 *)
11058 lt_prog_compiler_can_build_shared=no
11059 ;;
11060 esac
11061 fi
11062
11063 case $host_os in
11064 # For platforms that do not support PIC, -DPIC is meaningless:
11065 *djgpp*)
11066 lt_prog_compiler_pic=
11067 ;;
11068 *)
11069 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11070 ;;
11071 esac
11072
11073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11074 printf %s "checking for $compiler option to produce PIC... " >&6; }
11075 if test ${lt_cv_prog_compiler_pic+y}
11076 then :
11077 printf %s "(cached) " >&6
11078 else case e in #(
11079 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
11080 esac
11081 fi
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11083 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
11084 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11085
11086 #
11087 # Check to make sure the PIC flag actually works.
11088 #
11089 if test -n "$lt_prog_compiler_pic"; then
11090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11091 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11092 if test ${lt_cv_prog_compiler_pic_works+y}
11093 then :
11094 printf %s "(cached) " >&6
11095 else case e in #(
11096 e) lt_cv_prog_compiler_pic_works=no
11097 ac_outfile=conftest.$ac_objext
11098 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11099 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11100 # Insert the option either (1) after the last *FLAGS variable, or
11101 # (2) before a word containing "conftest.", or (3) at the end.
11102 # Note that $ac_compile itself does not contain backslashes and begins
11103 # with a dollar sign (not a hyphen), so the echo should work correctly.
11104 # The option is referenced via a variable to avoid confusing sed.
11105 lt_compile=`echo "$ac_compile" | $SED \
11106 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11107 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11108 -e 's:$: $lt_compiler_flag:'`
11109 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11110 (eval "$lt_compile" 2>conftest.err)
11111 ac_status=$?
11112 cat conftest.err >&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 if (exit $ac_status) && test -s "$ac_outfile"; then
11115 # The compiler can only warn and ignore the option if not recognized
11116 # So say no if there are warnings other than the usual output.
11117 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11118 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11119 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11120 lt_cv_prog_compiler_pic_works=yes
11121 fi
11122 fi
11123 $RM conftest*
11124 ;;
11125 esac
11126 fi
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11128 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
11129
11130 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11131 case $lt_prog_compiler_pic in
11132 "" | " "*) ;;
11133 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11134 esac
11135 else
11136 lt_prog_compiler_pic=
11137 lt_prog_compiler_can_build_shared=no
11138 fi
11139
11140 fi
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152 #
11153 # Check to make sure the static flag actually works.
11154 #
11155 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11157 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11158 if test ${lt_cv_prog_compiler_static_works+y}
11159 then :
11160 printf %s "(cached) " >&6
11161 else case e in #(
11162 e) lt_cv_prog_compiler_static_works=no
11163 save_LDFLAGS=$LDFLAGS
11164 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11165 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11166 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11167 # The linker can only warn and ignore the option if not recognized
11168 # So say no if there are warnings
11169 if test -s conftest.err; then
11170 # Append any errors to the config.log.
11171 cat conftest.err 1>&5
11172 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11173 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11174 if diff conftest.exp conftest.er2 >/dev/null; then
11175 lt_cv_prog_compiler_static_works=yes
11176 fi
11177 else
11178 lt_cv_prog_compiler_static_works=yes
11179 fi
11180 fi
11181 $RM -r conftest*
11182 LDFLAGS=$save_LDFLAGS
11183 ;;
11184 esac
11185 fi
11186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11187 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
11188
11189 if test yes = "$lt_cv_prog_compiler_static_works"; then
11190 :
11191 else
11192 lt_prog_compiler_static=
11193 fi
11194
11195
11196
11197
11198
11199
11200
11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11202 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11203 if test ${lt_cv_prog_compiler_c_o+y}
11204 then :
11205 printf %s "(cached) " >&6
11206 else case e in #(
11207 e) lt_cv_prog_compiler_c_o=no
11208 $RM -r conftest 2>/dev/null
11209 mkdir conftest
11210 cd conftest
11211 mkdir out
11212 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11213
11214 lt_compiler_flag="-o out/conftest2.$ac_objext"
11215 # Insert the option either (1) after the last *FLAGS variable, or
11216 # (2) before a word containing "conftest.", or (3) at the end.
11217 # Note that $ac_compile itself does not contain backslashes and begins
11218 # with a dollar sign (not a hyphen), so the echo should work correctly.
11219 lt_compile=`echo "$ac_compile" | $SED \
11220 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11221 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11222 -e 's:$: $lt_compiler_flag:'`
11223 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11224 (eval "$lt_compile" 2>out/conftest.err)
11225 ac_status=$?
11226 cat out/conftest.err >&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11229 then
11230 # The compiler can only warn and ignore the option if not recognized
11231 # So say no if there are warnings
11232 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11233 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11234 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11235 lt_cv_prog_compiler_c_o=yes
11236 fi
11237 fi
11238 chmod u+w . 2>&5
11239 $RM conftest*
11240 # SGI C++ compiler will create directory out/ii_files/ for
11241 # template instantiation
11242 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11243 $RM out/* && rmdir out
11244 cd ..
11245 $RM -r conftest
11246 $RM conftest*
11247 ;;
11248 esac
11249 fi
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11251 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11252
11253
11254
11255
11256
11257
11258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11259 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11260 if test ${lt_cv_prog_compiler_c_o+y}
11261 then :
11262 printf %s "(cached) " >&6
11263 else case e in #(
11264 e) lt_cv_prog_compiler_c_o=no
11265 $RM -r conftest 2>/dev/null
11266 mkdir conftest
11267 cd conftest
11268 mkdir out
11269 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11270
11271 lt_compiler_flag="-o out/conftest2.$ac_objext"
11272 # Insert the option either (1) after the last *FLAGS variable, or
11273 # (2) before a word containing "conftest.", or (3) at the end.
11274 # Note that $ac_compile itself does not contain backslashes and begins
11275 # with a dollar sign (not a hyphen), so the echo should work correctly.
11276 lt_compile=`echo "$ac_compile" | $SED \
11277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11279 -e 's:$: $lt_compiler_flag:'`
11280 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11281 (eval "$lt_compile" 2>out/conftest.err)
11282 ac_status=$?
11283 cat out/conftest.err >&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11286 then
11287 # The compiler can only warn and ignore the option if not recognized
11288 # So say no if there are warnings
11289 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11290 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11291 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11292 lt_cv_prog_compiler_c_o=yes
11293 fi
11294 fi
11295 chmod u+w . 2>&5
11296 $RM conftest*
11297 # SGI C++ compiler will create directory out/ii_files/ for
11298 # template instantiation
11299 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11300 $RM out/* && rmdir out
11301 cd ..
11302 $RM -r conftest
11303 $RM conftest*
11304 ;;
11305 esac
11306 fi
11307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11308 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11309
11310
11311
11312
11313 hard_links=nottested
11314 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11315 # do not overwrite the value of need_locks provided by the user
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11317 printf %s "checking if we can lock with hard links... " >&6; }
11318 hard_links=yes
11319 $RM conftest*
11320 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11321 touch conftest.a
11322 ln conftest.a conftest.b 2>&5 || hard_links=no
11323 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11325 printf "%s\n" "$hard_links" >&6; }
11326 if test no = "$hard_links"; then
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11328 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11329 need_locks=warn
11330 fi
11331 else
11332 need_locks=no
11333 fi
11334
11335
11336
11337
11338
11339
11340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11341 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11342
11343 runpath_var=
11344 allow_undefined_flag=
11345 always_export_symbols=no
11346 archive_cmds=
11347 archive_expsym_cmds=
11348 compiler_needs_object=no
11349 enable_shared_with_static_runtimes=no
11350 export_dynamic_flag_spec=
11351 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11352 hardcode_automatic=no
11353 hardcode_direct=no
11354 hardcode_direct_absolute=no
11355 hardcode_libdir_flag_spec=
11356 hardcode_libdir_separator=
11357 hardcode_minus_L=no
11358 hardcode_shlibpath_var=unsupported
11359 inherit_rpath=no
11360 link_all_deplibs=unknown
11361 module_cmds=
11362 module_expsym_cmds=
11363 old_archive_from_new_cmds=
11364 old_archive_from_expsyms_cmds=
11365 thread_safe_flag_spec=
11366 whole_archive_flag_spec=
11367 # include_expsyms should be a list of space-separated symbols to be *always*
11368 # included in the symbol list
11369 include_expsyms=
11370 # exclude_expsyms can be an extended regexp of symbols to exclude
11371 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11372 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11373 # as well as any symbol that contains 'd'.
11374 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11375 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11376 # platforms (ab)use it in PIC code, but their linkers get confused if
11377 # the symbol is explicitly referenced. Since portable code cannot
11378 # rely on this symbol name, it's probably fine to never include it in
11379 # preloaded symbol tables.
11380 # Exclude shared library initialization/finalization symbols.
11381 extract_expsyms_cmds=
11382
11383 case $host_os in
11384 cygwin* | mingw* | windows* | pw32* | cegcc*)
11385 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11386 # When not using gcc, we currently assume that we are using
11387 # Microsoft Visual C++ or Intel C++ Compiler.
11388 if test yes != "$GCC"; then
11389 with_gnu_ld=no
11390 fi
11391 ;;
11392 interix*)
11393 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11394 with_gnu_ld=yes
11395 ;;
11396 esac
11397
11398 ld_shlibs=yes
11399
11400 # On some targets, GNU ld is compatible enough with the native linker
11401 # that we're better off using the native interface for both.
11402 lt_use_gnu_ld_interface=no
11403 if test yes = "$with_gnu_ld"; then
11404 case $host_os in
11405 aix*)
11406 # The AIX port of GNU ld has always aspired to compatibility
11407 # with the native linker. However, as the warning in the GNU ld
11408 # block says, versions before 2.19.5* couldn't really create working
11409 # shared libraries, regardless of the interface used.
11410 case `$LD -v 2>&1` in
11411 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11412 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11413 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11414 *)
11415 lt_use_gnu_ld_interface=yes
11416 ;;
11417 esac
11418 ;;
11419 *)
11420 lt_use_gnu_ld_interface=yes
11421 ;;
11422 esac
11423 fi
11424
11425 if test yes = "$lt_use_gnu_ld_interface"; then
11426 # If archive_cmds runs LD, not CC, wlarc should be empty
11427 wlarc='$wl'
11428
11429 # Set some defaults for GNU ld with shared library support. These
11430 # are reset later if shared libraries are not supported. Putting them
11431 # here allows them to be overridden if necessary.
11432 runpath_var=LD_RUN_PATH
11433 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11434 export_dynamic_flag_spec='$wl--export-dynamic'
11435 # ancient GNU ld didn't support --whole-archive et. al.
11436 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11437 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11438 else
11439 whole_archive_flag_spec=
11440 fi
11441 supports_anon_versioning=no
11442 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11443 *GNU\ gold*) supports_anon_versioning=yes ;;
11444 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11445 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11446 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11447 *\ 2.11.*) ;; # other 2.11 versions
11448 *) supports_anon_versioning=yes ;;
11449 esac
11450
11451 # See if GNU ld supports shared libraries.
11452 case $host_os in
11453 aix[3-9]*)
11454 # On AIX/PPC, the GNU linker is very broken
11455 if test ia64 != "$host_cpu"; then
11456 ld_shlibs=no
11457 cat <<_LT_EOF 1>&2
11458
11459 *** Warning: the GNU linker, at least up to release 2.19, is reported
11460 *** to be unable to reliably create shared libraries on AIX.
11461 *** Therefore, libtool is disabling shared libraries support. If you
11462 *** really care for shared libraries, you may want to install binutils
11463 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11464 *** You will then need to restart the configuration process.
11465
11466 _LT_EOF
11467 fi
11468 ;;
11469
11470 amigaos*)
11471 case $host_cpu in
11472 powerpc)
11473 # see comment about AmigaOS4 .so support
11474 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11475 archive_expsym_cmds=''
11476 ;;
11477 m68k)
11478 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)'
11479 hardcode_libdir_flag_spec='-L$libdir'
11480 hardcode_minus_L=yes
11481 ;;
11482 esac
11483 ;;
11484
11485 beos*)
11486 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11487 allow_undefined_flag=unsupported
11488 # Joseph Beckenbach <[email protected]> says some releases of gcc
11489 # support --undefined. This deserves some investigation. FIXME
11490 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11491 else
11492 ld_shlibs=no
11493 fi
11494 ;;
11495
11496 cygwin* | mingw* | windows* | pw32* | cegcc*)
11497 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11498 # as there is no search path for DLLs.
11499 hardcode_libdir_flag_spec='-L$libdir'
11500 export_dynamic_flag_spec='$wl--export-all-symbols'
11501 allow_undefined_flag=unsupported
11502 always_export_symbols=no
11503 enable_shared_with_static_runtimes=yes
11504 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'
11505 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11506 file_list_spec='@'
11507
11508 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11509 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11510 # If the export-symbols file already is a .def file, use it as
11511 # is; otherwise, prepend EXPORTS...
11512 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11513 cp $export_symbols $output_objdir/$soname.def;
11514 else
11515 echo EXPORTS > $output_objdir/$soname.def;
11516 cat $export_symbols >> $output_objdir/$soname.def;
11517 fi~
11518 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11519 else
11520 ld_shlibs=no
11521 fi
11522 ;;
11523
11524 haiku*)
11525 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11526 link_all_deplibs=no
11527 ;;
11528
11529 os2*)
11530 hardcode_libdir_flag_spec='-L$libdir'
11531 hardcode_minus_L=yes
11532 allow_undefined_flag=unsupported
11533 shrext_cmds=.dll
11534 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11535 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11536 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11537 $ECHO EXPORTS >> $output_objdir/$libname.def~
11538 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11539 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11540 emximp -o $lib $output_objdir/$libname.def'
11541 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11542 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11543 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11544 $ECHO EXPORTS >> $output_objdir/$libname.def~
11545 prefix_cmds="$SED"~
11546 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11547 prefix_cmds="$prefix_cmds -e 1d";
11548 fi~
11549 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11550 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11551 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11552 emximp -o $lib $output_objdir/$libname.def'
11553 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11554 enable_shared_with_static_runtimes=yes
11555 file_list_spec='@'
11556 ;;
11557
11558 interix[3-9]*)
11559 hardcode_direct=no
11560 hardcode_shlibpath_var=no
11561 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11562 export_dynamic_flag_spec='$wl-E'
11563 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11564 # Instead, shared libraries are loaded at an image base (0x10000000 by
11565 # default) and relocated if they conflict, which is a slow very memory
11566 # consuming and fragmenting process. To avoid this, we pick a random,
11567 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11568 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11569 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11570 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'
11571 ;;
11572
11573 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11574 tmp_diet=no
11575 if test linux-dietlibc = "$host_os"; then
11576 case $cc_basename in
11577 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11578 esac
11579 fi
11580 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11581 && test no = "$tmp_diet"
11582 then
11583 tmp_addflag=' $pic_flag'
11584 tmp_sharedflag='-shared'
11585 case $cc_basename,$host_cpu in
11586 pgcc*) # Portland Group C compiler
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'
11589 ;;
11590 pgf77* | pgf90* | pgf95* | pgfortran*)
11591 # Portland Group f77 and f90 compilers
11592 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'
11593 tmp_addflag=' $pic_flag -Mnomain' ;;
11594 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11595 tmp_addflag=' -i_dynamic' ;;
11596 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11597 tmp_addflag=' -i_dynamic -nofor_main' ;;
11598 ifc* | ifort*) # Intel Fortran compiler
11599 tmp_addflag=' -nofor_main' ;;
11600 lf95*) # Lahey Fortran 8.1
11601 whole_archive_flag_spec=
11602 tmp_sharedflag='--shared' ;;
11603 nagfor*) # NAGFOR 5.3
11604 tmp_sharedflag='-Wl,-shared' ;;
11605 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11606 tmp_sharedflag='-qmkshrobj'
11607 tmp_addflag= ;;
11608 nvcc*) # Cuda Compiler Driver 2.2
11609 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'
11610 compiler_needs_object=yes
11611 ;;
11612 esac
11613 case `$CC -V 2>&1 | $SED 5q` in
11614 *Sun\ C*) # Sun C 5.9
11615 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'
11616 compiler_needs_object=yes
11617 tmp_sharedflag='-G' ;;
11618 *Sun\ F*) # Sun Fortran 8.3
11619 tmp_sharedflag='-G' ;;
11620 esac
11621 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11622
11623 if test yes = "$supports_anon_versioning"; then
11624 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11625 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11626 echo "local: *; };" >> $output_objdir/$libname.ver~
11627 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11628 fi
11629
11630 case $cc_basename in
11631 tcc*)
11632 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11633 export_dynamic_flag_spec='-rdynamic'
11634 ;;
11635 xlf* | bgf* | bgxlf* | mpixlf*)
11636 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11637 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11638 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11639 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11640 if test yes = "$supports_anon_versioning"; then
11641 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11642 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11643 echo "local: *; };" >> $output_objdir/$libname.ver~
11644 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11645 fi
11646 ;;
11647 esac
11648 else
11649 ld_shlibs=no
11650 fi
11651 ;;
11652
11653 *-mlibc)
11654 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11655 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11656 ;;
11657
11658 netbsd* | netbsdelf*-gnu)
11659 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11660 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11661 wlarc=
11662 else
11663 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11664 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11665 fi
11666 ;;
11667
11668 solaris*)
11669 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11670 ld_shlibs=no
11671 cat <<_LT_EOF 1>&2
11672
11673 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11674 *** create shared libraries on Solaris systems. Therefore, libtool
11675 *** is disabling shared libraries support. We urge you to upgrade GNU
11676 *** binutils to release 2.9.1 or newer. Another option is to modify
11677 *** your PATH or compiler configuration so that the native linker is
11678 *** used, and then restart.
11679
11680 _LT_EOF
11681 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11682 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11683 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11684 else
11685 ld_shlibs=no
11686 fi
11687 ;;
11688
11689 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11690 case `$LD -v 2>&1` in
11691 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11692 ld_shlibs=no
11693 cat <<_LT_EOF 1>&2
11694
11695 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11696 *** reliably create shared libraries on SCO systems. Therefore, libtool
11697 *** is disabling shared libraries support. We urge you to upgrade GNU
11698 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11699 *** your PATH or compiler configuration so that the native linker is
11700 *** used, and then restart.
11701
11702 _LT_EOF
11703 ;;
11704 *)
11705 # For security reasons, it is highly recommended that you always
11706 # use absolute paths for naming shared libraries, and exclude the
11707 # DT_RUNPATH tag from executables and libraries. But doing so
11708 # requires that you compile everything twice, which is a pain.
11709 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11710 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11711 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11712 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11713 else
11714 ld_shlibs=no
11715 fi
11716 ;;
11717 esac
11718 ;;
11719
11720 sunos4*)
11721 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11722 wlarc=
11723 hardcode_direct=yes
11724 hardcode_shlibpath_var=no
11725 ;;
11726
11727 *)
11728 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11729 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11730 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11731 else
11732 ld_shlibs=no
11733 fi
11734 ;;
11735 esac
11736
11737 if test no = "$ld_shlibs"; then
11738 runpath_var=
11739 hardcode_libdir_flag_spec=
11740 export_dynamic_flag_spec=
11741 whole_archive_flag_spec=
11742 fi
11743 else
11744 # PORTME fill in a description of your system's linker (not GNU ld)
11745 case $host_os in
11746 aix3*)
11747 allow_undefined_flag=unsupported
11748 always_export_symbols=yes
11749 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'
11750 # Note: this linker hardcodes the directories in LIBPATH if there
11751 # are no directories specified by -L.
11752 hardcode_minus_L=yes
11753 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11754 # Neither direct hardcoding nor static linking is supported with a
11755 # broken collect2.
11756 hardcode_direct=unsupported
11757 fi
11758 ;;
11759
11760 aix[4-9]*)
11761 if test ia64 = "$host_cpu"; then
11762 # On IA64, the linker does run time linking by default, so we don't
11763 # have to do anything special.
11764 aix_use_runtimelinking=no
11765 exp_sym_flag='-Bexport'
11766 no_entry_flag=
11767 else
11768 # If we're using GNU nm, then we don't want the "-C" option.
11769 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11770 # Without the "-l" option, or with the "-B" option, AIX nm treats
11771 # weak defined symbols like other global defined symbols, whereas
11772 # GNU nm marks them as "W".
11773 # While the 'weak' keyword is ignored in the Export File, we need
11774 # it in the Import File for the 'aix-soname' feature, so we have
11775 # to replace the "-B" option with "-P" for AIX nm.
11776 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11777 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'
11778 else
11779 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'
11780 fi
11781 aix_use_runtimelinking=no
11782
11783 # Test if we are trying to use run time linking or normal
11784 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11785 # have runtime linking enabled, and use it for executables.
11786 # For shared libraries, we enable/disable runtime linking
11787 # depending on the kind of the shared library created -
11788 # when "with_aix_soname,aix_use_runtimelinking" is:
11789 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11790 # "aix,yes" lib.so shared, rtl:yes, for executables
11791 # lib.a static archive
11792 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11793 # lib.a(lib.so.V) shared, rtl:no, for executables
11794 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11795 # lib.a(lib.so.V) shared, rtl:no
11796 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11797 # lib.a static archive
11798 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11799 for ld_flag in $LDFLAGS; do
11800 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11801 aix_use_runtimelinking=yes
11802 break
11803 fi
11804 done
11805 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11806 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11807 # so we don't have lib.a shared libs to link our executables.
11808 # We have to force runtime linking in this case.
11809 aix_use_runtimelinking=yes
11810 LDFLAGS="$LDFLAGS -Wl,-brtl"
11811 fi
11812 ;;
11813 esac
11814
11815 exp_sym_flag='-bexport'
11816 no_entry_flag='-bnoentry'
11817 fi
11818
11819 # When large executables or shared objects are built, AIX ld can
11820 # have problems creating the table of contents. If linking a library
11821 # or program results in "error TOC overflow" add -mminimal-toc to
11822 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11823 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11824
11825 archive_cmds=''
11826 hardcode_direct=yes
11827 hardcode_direct_absolute=yes
11828 hardcode_libdir_separator=':'
11829 link_all_deplibs=yes
11830 file_list_spec='$wl-f,'
11831 case $with_aix_soname,$aix_use_runtimelinking in
11832 aix,*) ;; # traditional, no import file
11833 svr4,* | *,yes) # use import file
11834 # The Import File defines what to hardcode.
11835 hardcode_direct=no
11836 hardcode_direct_absolute=no
11837 ;;
11838 esac
11839
11840 if test yes = "$GCC"; then
11841 case $host_os in aix4.[012]|aix4.[012].*)
11842 # We only want to do this on AIX 4.2 and lower, the check
11843 # below for broken collect2 doesn't work under 4.3+
11844 collect2name=`$CC -print-prog-name=collect2`
11845 if test -f "$collect2name" &&
11846 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11847 then
11848 # We have reworked collect2
11849 :
11850 else
11851 # We have old collect2
11852 hardcode_direct=unsupported
11853 # It fails to find uninstalled libraries when the uninstalled
11854 # path is not listed in the libpath. Setting hardcode_minus_L
11855 # to unsupported forces relinking
11856 hardcode_minus_L=yes
11857 hardcode_libdir_flag_spec='-L$libdir'
11858 hardcode_libdir_separator=
11859 fi
11860 ;;
11861 esac
11862 shared_flag='-shared'
11863 if test yes = "$aix_use_runtimelinking"; then
11864 shared_flag="$shared_flag "'$wl-G'
11865 fi
11866 # Need to ensure runtime linking is disabled for the traditional
11867 # shared library, or the linker may eventually find shared libraries
11868 # /with/ Import File - we do not want to mix them.
11869 shared_flag_aix='-shared'
11870 shared_flag_svr4='-shared $wl-G'
11871 else
11872 # not using gcc
11873 if test ia64 = "$host_cpu"; then
11874 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11875 # chokes on -Wl,-G. The following line is correct:
11876 shared_flag='-G'
11877 else
11878 if test yes = "$aix_use_runtimelinking"; then
11879 shared_flag='$wl-G'
11880 else
11881 shared_flag='$wl-bM:SRE'
11882 fi
11883 shared_flag_aix='$wl-bM:SRE'
11884 shared_flag_svr4='$wl-G'
11885 fi
11886 fi
11887
11888 export_dynamic_flag_spec='$wl-bexpall'
11889 # It seems that -bexpall does not export symbols beginning with
11890 # underscore (_), so it is better to generate a list of symbols to export.
11891 always_export_symbols=yes
11892 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11893 # Warning - without using the other runtime loading flags (-brtl),
11894 # -berok will link without error, but may produce a broken library.
11895 allow_undefined_flag='-berok'
11896 # Determine the default libpath from the value encoded in an
11897 # empty executable.
11898 if test set = "${lt_cv_aix_libpath+set}"; then
11899 aix_libpath=$lt_cv_aix_libpath
11900 else
11901 if test ${lt_cv_aix_libpath_+y}
11902 then :
11903 printf %s "(cached) " >&6
11904 else case e in #(
11905 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11907
11908 int
11909 main (void)
11910 {
11911
11912 ;
11913 return 0;
11914 }
11915 _ACEOF
11916 if ac_fn_c_try_link "$LINENO"
11917 then :
11918
11919 lt_aix_libpath_sed='
11920 /Import File Strings/,/^$/ {
11921 /^0/ {
11922 s/^0 *\([^ ]*\) *$/\1/
11923 p
11924 }
11925 }'
11926 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11927 # Check for a 64-bit object if we didn't find anything.
11928 if test -z "$lt_cv_aix_libpath_"; then
11929 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11930 fi
11931 fi
11932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11933 conftest$ac_exeext conftest.$ac_ext
11934 if test -z "$lt_cv_aix_libpath_"; then
11935 lt_cv_aix_libpath_=/usr/lib:/lib
11936 fi
11937 ;;
11938 esac
11939 fi
11940
11941 aix_libpath=$lt_cv_aix_libpath_
11942 fi
11943
11944 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11945 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
11946 else
11947 if test ia64 = "$host_cpu"; then
11948 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11949 allow_undefined_flag="-z nodefs"
11950 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"
11951 else
11952 # Determine the default libpath from the value encoded in an
11953 # empty executable.
11954 if test set = "${lt_cv_aix_libpath+set}"; then
11955 aix_libpath=$lt_cv_aix_libpath
11956 else
11957 if test ${lt_cv_aix_libpath_+y}
11958 then :
11959 printf %s "(cached) " >&6
11960 else case e in #(
11961 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11963
11964 int
11965 main (void)
11966 {
11967
11968 ;
11969 return 0;
11970 }
11971 _ACEOF
11972 if ac_fn_c_try_link "$LINENO"
11973 then :
11974
11975 lt_aix_libpath_sed='
11976 /Import File Strings/,/^$/ {
11977 /^0/ {
11978 s/^0 *\([^ ]*\) *$/\1/
11979 p
11980 }
11981 }'
11982 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11983 # Check for a 64-bit object if we didn't find anything.
11984 if test -z "$lt_cv_aix_libpath_"; then
11985 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11986 fi
11987 fi
11988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11989 conftest$ac_exeext conftest.$ac_ext
11990 if test -z "$lt_cv_aix_libpath_"; then
11991 lt_cv_aix_libpath_=/usr/lib:/lib
11992 fi
11993 ;;
11994 esac
11995 fi
11996
11997 aix_libpath=$lt_cv_aix_libpath_
11998 fi
11999
12000 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12001 # Warning - without using the other run time loading flags,
12002 # -berok will link without error, but may produce a broken library.
12003 no_undefined_flag=' $wl-bernotok'
12004 allow_undefined_flag=' $wl-berok'
12005 if test yes = "$with_gnu_ld"; then
12006 # We only use this code for GNU lds that support --whole-archive.
12007 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12008 else
12009 # Exported symbols can be pulled into shared objects from archives
12010 whole_archive_flag_spec='$convenience'
12011 fi
12012 archive_cmds_need_lc=yes
12013 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12014 # -brtl affects multiple linker settings, -berok does not and is overridden later
12015 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12016 if test svr4 != "$with_aix_soname"; then
12017 # This is similar to how AIX traditionally builds its shared libraries.
12018 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'
12019 fi
12020 if test aix != "$with_aix_soname"; then
12021 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'
12022 else
12023 # used by -dlpreopen to get the symbols
12024 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12025 fi
12026 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12027 fi
12028 fi
12029 ;;
12030
12031 amigaos*)
12032 case $host_cpu in
12033 powerpc)
12034 # see comment about AmigaOS4 .so support
12035 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12036 archive_expsym_cmds=''
12037 ;;
12038 m68k)
12039 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)'
12040 hardcode_libdir_flag_spec='-L$libdir'
12041 hardcode_minus_L=yes
12042 ;;
12043 esac
12044 ;;
12045
12046 bsdi[45]*)
12047 export_dynamic_flag_spec=-rdynamic
12048 ;;
12049
12050 cygwin* | mingw* | windows* | pw32* | cegcc*)
12051 # When not using gcc, we currently assume that we are using
12052 # Microsoft Visual C++ or Intel C++ Compiler.
12053 # hardcode_libdir_flag_spec is actually meaningless, as there is
12054 # no search path for DLLs.
12055 case $cc_basename in
12056 cl* | icl*)
12057 # Native MSVC or ICC
12058 hardcode_libdir_flag_spec=' '
12059 allow_undefined_flag=unsupported
12060 always_export_symbols=yes
12061 file_list_spec='@'
12062 # Tell ltmain to make .lib files, not .a files.
12063 libext=lib
12064 # Tell ltmain to make .dll files, not .so files.
12065 shrext_cmds=.dll
12066 # FIXME: Setting linknames here is a bad hack.
12067 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12068 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12069 cp "$export_symbols" "$output_objdir/$soname.def";
12070 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12071 else
12072 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12073 fi~
12074 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12075 linknames='
12076 # The linker will not automatically build a static lib if we build a DLL.
12077 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12078 enable_shared_with_static_runtimes=yes
12079 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12080 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12081 # Don't use ranlib
12082 old_postinstall_cmds='chmod 644 $oldlib'
12083 postlink_cmds='lt_outputfile="@OUTPUT@"~
12084 lt_tool_outputfile="@TOOL_OUTPUT@"~
12085 case $lt_outputfile in
12086 *.exe|*.EXE) ;;
12087 *)
12088 lt_outputfile=$lt_outputfile.exe
12089 lt_tool_outputfile=$lt_tool_outputfile.exe
12090 ;;
12091 esac~
12092 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12093 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12094 $RM "$lt_outputfile.manifest";
12095 fi'
12096 ;;
12097 *)
12098 # Assume MSVC and ICC wrapper
12099 hardcode_libdir_flag_spec=' '
12100 allow_undefined_flag=unsupported
12101 # Tell ltmain to make .lib files, not .a files.
12102 libext=lib
12103 # Tell ltmain to make .dll files, not .so files.
12104 shrext_cmds=.dll
12105 # FIXME: Setting linknames here is a bad hack.
12106 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12107 # The linker will automatically build a .lib file if we build a DLL.
12108 old_archive_from_new_cmds='true'
12109 # FIXME: Should let the user specify the lib program.
12110 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12111 enable_shared_with_static_runtimes=yes
12112 ;;
12113 esac
12114 ;;
12115
12116 darwin* | rhapsody*)
12117
12118
12119 archive_cmds_need_lc=no
12120 hardcode_direct=no
12121 hardcode_automatic=yes
12122 hardcode_shlibpath_var=unsupported
12123 if test yes = "$lt_cv_ld_force_load"; then
12124 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\"`'
12125
12126 else
12127 whole_archive_flag_spec=''
12128 fi
12129 link_all_deplibs=yes
12130 allow_undefined_flag=$_lt_dar_allow_undefined
12131 case $cc_basename in
12132 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12133 *) _lt_dar_can_shared=$GCC ;;
12134 esac
12135 if test yes = "$_lt_dar_can_shared"; then
12136 output_verbose_link_cmd=func_echo_all
12137 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12138 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12139 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"
12140 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"
12141
12142 else
12143 ld_shlibs=no
12144 fi
12145
12146 ;;
12147
12148 dgux*)
12149 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12150 hardcode_libdir_flag_spec='-L$libdir'
12151 hardcode_shlibpath_var=no
12152 ;;
12153
12154 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12155 # support. Future versions do this automatically, but an explicit c++rt0.o
12156 # does not break anything, and helps significantly (at the cost of a little
12157 # extra space).
12158 freebsd2.2*)
12159 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12160 hardcode_libdir_flag_spec='-R$libdir'
12161 hardcode_direct=yes
12162 hardcode_shlibpath_var=no
12163 ;;
12164
12165 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12166 freebsd2.*)
12167 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12168 hardcode_direct=yes
12169 hardcode_minus_L=yes
12170 hardcode_shlibpath_var=no
12171 ;;
12172
12173 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12174 freebsd* | dragonfly* | midnightbsd*)
12175 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12176 hardcode_libdir_flag_spec='-R$libdir'
12177 hardcode_direct=yes
12178 hardcode_shlibpath_var=no
12179 ;;
12180
12181 hpux9*)
12182 if test yes = "$GCC"; then
12183 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'
12184 else
12185 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'
12186 fi
12187 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12188 hardcode_libdir_separator=:
12189 hardcode_direct=yes
12190
12191 # hardcode_minus_L: Not really in the search PATH,
12192 # but as the default location of the library.
12193 hardcode_minus_L=yes
12194 export_dynamic_flag_spec='$wl-E'
12195 ;;
12196
12197 hpux10*)
12198 if test yes,no = "$GCC,$with_gnu_ld"; then
12199 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12200 else
12201 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12202 fi
12203 if test no = "$with_gnu_ld"; then
12204 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12205 hardcode_libdir_separator=:
12206 hardcode_direct=yes
12207 hardcode_direct_absolute=yes
12208 export_dynamic_flag_spec='$wl-E'
12209 # hardcode_minus_L: Not really in the search PATH,
12210 # but as the default location of the library.
12211 hardcode_minus_L=yes
12212 fi
12213 ;;
12214
12215 hpux11*)
12216 if test yes,no = "$GCC,$with_gnu_ld"; then
12217 case $host_cpu in
12218 hppa*64*)
12219 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12220 ;;
12221 ia64*)
12222 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12223 ;;
12224 *)
12225 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12226 ;;
12227 esac
12228 else
12229 case $host_cpu in
12230 hppa*64*)
12231 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12232 ;;
12233 ia64*)
12234 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12235 ;;
12236 *)
12237
12238 # Older versions of the 11.00 compiler do not understand -b yet
12239 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12241 printf %s "checking if $CC understands -b... " >&6; }
12242 if test ${lt_cv_prog_compiler__b+y}
12243 then :
12244 printf %s "(cached) " >&6
12245 else case e in #(
12246 e) lt_cv_prog_compiler__b=no
12247 save_LDFLAGS=$LDFLAGS
12248 LDFLAGS="$LDFLAGS -b"
12249 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12250 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12251 # The linker can only warn and ignore the option if not recognized
12252 # So say no if there are warnings
12253 if test -s conftest.err; then
12254 # Append any errors to the config.log.
12255 cat conftest.err 1>&5
12256 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12257 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12258 if diff conftest.exp conftest.er2 >/dev/null; then
12259 lt_cv_prog_compiler__b=yes
12260 fi
12261 else
12262 lt_cv_prog_compiler__b=yes
12263 fi
12264 fi
12265 $RM -r conftest*
12266 LDFLAGS=$save_LDFLAGS
12267 ;;
12268 esac
12269 fi
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12271 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12272
12273 if test yes = "$lt_cv_prog_compiler__b"; then
12274 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12275 else
12276 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12277 fi
12278
12279 ;;
12280 esac
12281 fi
12282 if test no = "$with_gnu_ld"; then
12283 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12284 hardcode_libdir_separator=:
12285
12286 case $host_cpu in
12287 hppa*64*|ia64*)
12288 hardcode_direct=no
12289 hardcode_shlibpath_var=no
12290 ;;
12291 *)
12292 hardcode_direct=yes
12293 hardcode_direct_absolute=yes
12294 export_dynamic_flag_spec='$wl-E'
12295
12296 # hardcode_minus_L: Not really in the search PATH,
12297 # but as the default location of the library.
12298 hardcode_minus_L=yes
12299 ;;
12300 esac
12301 fi
12302 ;;
12303
12304 irix5* | irix6* | nonstopux*)
12305 if test yes = "$GCC"; then
12306 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'
12307 # Try to use the -exported_symbol ld option, if it does not
12308 # work, assume that -exports_file does not work either and
12309 # implicitly export all symbols.
12310 # This should be the same for all languages, so no per-tag cache variable.
12311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12312 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12313 if test ${lt_cv_irix_exported_symbol+y}
12314 then :
12315 printf %s "(cached) " >&6
12316 else case e in #(
12317 e) save_LDFLAGS=$LDFLAGS
12318 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12321 int foo (void) { return 0; }
12322 _ACEOF
12323 if ac_fn_c_try_link "$LINENO"
12324 then :
12325 lt_cv_irix_exported_symbol=yes
12326 else case e in #(
12327 e) lt_cv_irix_exported_symbol=no ;;
12328 esac
12329 fi
12330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12331 conftest$ac_exeext conftest.$ac_ext
12332 LDFLAGS=$save_LDFLAGS ;;
12333 esac
12334 fi
12335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12336 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12337 if test yes = "$lt_cv_irix_exported_symbol"; then
12338 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'
12339 fi
12340 else
12341 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'
12342 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'
12343 fi
12344 archive_cmds_need_lc='no'
12345 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12346 hardcode_libdir_separator=:
12347 inherit_rpath=yes
12348 link_all_deplibs=yes
12349 ;;
12350
12351 linux*)
12352 case $cc_basename in
12353 tcc*)
12354 # Fabrice Bellard et al's Tiny C Compiler
12355 ld_shlibs=yes
12356 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12357 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12358 ;;
12359 esac
12360 ;;
12361
12362 *-mlibc)
12363 ;;
12364
12365 netbsd* | netbsdelf*-gnu)
12366 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12367 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12368 else
12369 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12370 fi
12371 hardcode_libdir_flag_spec='-R$libdir'
12372 hardcode_direct=yes
12373 hardcode_shlibpath_var=no
12374 ;;
12375
12376 newsos6)
12377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12378 hardcode_direct=yes
12379 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12380 hardcode_libdir_separator=:
12381 hardcode_shlibpath_var=no
12382 ;;
12383
12384 *nto* | *qnx*)
12385 ;;
12386
12387 openbsd*)
12388 if test -f /usr/libexec/ld.so; then
12389 hardcode_direct=yes
12390 hardcode_shlibpath_var=no
12391 hardcode_direct_absolute=yes
12392 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12393 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12394 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12395 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12396 export_dynamic_flag_spec='$wl-E'
12397 else
12398 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12399 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12400 fi
12401 else
12402 ld_shlibs=no
12403 fi
12404 ;;
12405
12406 os2*)
12407 hardcode_libdir_flag_spec='-L$libdir'
12408 hardcode_minus_L=yes
12409 allow_undefined_flag=unsupported
12410 shrext_cmds=.dll
12411 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12412 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12413 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12414 $ECHO EXPORTS >> $output_objdir/$libname.def~
12415 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12416 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12417 emximp -o $lib $output_objdir/$libname.def'
12418 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12419 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12420 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12421 $ECHO EXPORTS >> $output_objdir/$libname.def~
12422 prefix_cmds="$SED"~
12423 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12424 prefix_cmds="$prefix_cmds -e 1d";
12425 fi~
12426 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12427 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12428 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12429 emximp -o $lib $output_objdir/$libname.def'
12430 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12431 enable_shared_with_static_runtimes=yes
12432 file_list_spec='@'
12433 ;;
12434
12435 osf3*)
12436 if test yes = "$GCC"; then
12437 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12438 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'
12439 else
12440 allow_undefined_flag=' -expect_unresolved \*'
12441 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'
12442 fi
12443 archive_cmds_need_lc='no'
12444 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12445 hardcode_libdir_separator=:
12446 ;;
12447
12448 osf4* | osf5*) # as osf3* with the addition of -msym flag
12449 if test yes = "$GCC"; then
12450 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12451 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'
12452 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12453 else
12454 allow_undefined_flag=' -expect_unresolved \*'
12455 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'
12456 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~
12457 $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'
12458
12459 # Both c and cxx compiler support -rpath directly
12460 hardcode_libdir_flag_spec='-rpath $libdir'
12461 fi
12462 archive_cmds_need_lc='no'
12463 hardcode_libdir_separator=:
12464 ;;
12465
12466 serenity*)
12467 ;;
12468
12469 solaris*)
12470 no_undefined_flag=' -z defs'
12471 if test yes = "$GCC"; then
12472 wlarc='$wl'
12473 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12474 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12475 $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'
12476 else
12477 case `$CC -V 2>&1` in
12478 *"Compilers 5.0"*)
12479 wlarc=''
12480 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12481 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12482 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12483 ;;
12484 *)
12485 wlarc='$wl'
12486 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12487 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12488 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12489 ;;
12490 esac
12491 fi
12492 hardcode_libdir_flag_spec='-R$libdir'
12493 hardcode_shlibpath_var=no
12494 case $host_os in
12495 solaris2.[0-5] | solaris2.[0-5].*) ;;
12496 *)
12497 # The compiler driver will combine and reorder linker options,
12498 # but understands '-z linker_flag'. GCC discards it without '$wl',
12499 # but is careful enough not to reorder.
12500 # Supported since Solaris 2.6 (maybe 2.5.1?)
12501 if test yes = "$GCC"; then
12502 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12503 else
12504 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12505 fi
12506 ;;
12507 esac
12508 link_all_deplibs=yes
12509 ;;
12510
12511 sunos4*)
12512 if test sequent = "$host_vendor"; then
12513 # Use $CC to link under sequent, because it throws in some extra .o
12514 # files that make .init and .fini sections work.
12515 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12516 else
12517 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12518 fi
12519 hardcode_libdir_flag_spec='-L$libdir'
12520 hardcode_direct=yes
12521 hardcode_minus_L=yes
12522 hardcode_shlibpath_var=no
12523 ;;
12524
12525 sysv4)
12526 case $host_vendor in
12527 sni)
12528 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12529 hardcode_direct=yes # is this really true???
12530 ;;
12531 siemens)
12532 ## LD is ld it makes a PLAMLIB
12533 ## CC just makes a GrossModule.
12534 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12535 reload_cmds='$CC -r -o $output$reload_objs'
12536 hardcode_direct=no
12537 ;;
12538 motorola)
12539 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12540 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12541 ;;
12542 esac
12543 runpath_var='LD_RUN_PATH'
12544 hardcode_shlibpath_var=no
12545 ;;
12546
12547 sysv4.3*)
12548 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12549 hardcode_shlibpath_var=no
12550 export_dynamic_flag_spec='-Bexport'
12551 ;;
12552
12553 sysv4*MP*)
12554 if test -d /usr/nec; then
12555 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12556 hardcode_shlibpath_var=no
12557 runpath_var=LD_RUN_PATH
12558 hardcode_runpath_var=yes
12559 ld_shlibs=yes
12560 fi
12561 ;;
12562
12563 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12564 no_undefined_flag='$wl-z,text'
12565 archive_cmds_need_lc=no
12566 hardcode_shlibpath_var=no
12567 runpath_var='LD_RUN_PATH'
12568
12569 if test yes = "$GCC"; then
12570 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12571 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12572 else
12573 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12574 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12575 fi
12576 ;;
12577
12578 sysv5* | sco3.2v5* | sco5v6*)
12579 # Note: We CANNOT use -z defs as we might desire, because we do not
12580 # link with -lc, and that would cause any symbols used from libc to
12581 # always be unresolved, which means just about no library would
12582 # ever link correctly. If we're not using GNU ld we use -z text
12583 # though, which does catch some bad symbols but isn't as heavy-handed
12584 # as -z defs.
12585 no_undefined_flag='$wl-z,text'
12586 allow_undefined_flag='$wl-z,nodefs'
12587 archive_cmds_need_lc=no
12588 hardcode_shlibpath_var=no
12589 hardcode_libdir_flag_spec='$wl-R,$libdir'
12590 hardcode_libdir_separator=':'
12591 link_all_deplibs=yes
12592 export_dynamic_flag_spec='$wl-Bexport'
12593 runpath_var='LD_RUN_PATH'
12594
12595 if test yes = "$GCC"; then
12596 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12597 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12598 else
12599 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12600 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12601 fi
12602 ;;
12603
12604 uts4*)
12605 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12606 hardcode_libdir_flag_spec='-L$libdir'
12607 hardcode_shlibpath_var=no
12608 ;;
12609
12610 *)
12611 ld_shlibs=no
12612 ;;
12613 esac
12614
12615 if test sni = "$host_vendor"; then
12616 case $host in
12617 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12618 export_dynamic_flag_spec='$wl-Blargedynsym'
12619 ;;
12620 esac
12621 fi
12622 fi
12623
12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12625 printf "%s\n" "$ld_shlibs" >&6; }
12626 test no = "$ld_shlibs" && can_build_shared=no
12627
12628 with_gnu_ld=$with_gnu_ld
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644 #
12645 # Do we need to explicitly link libc?
12646 #
12647 case "x$archive_cmds_need_lc" in
12648 x|xyes)
12649 # Assume -lc should be added
12650 archive_cmds_need_lc=yes
12651
12652 if test yes,yes = "$GCC,$enable_shared"; then
12653 case $archive_cmds in
12654 *'~'*)
12655 # FIXME: we may have to deal with multi-command sequences.
12656 ;;
12657 '$CC '*)
12658 # Test whether the compiler implicitly links with -lc since on some
12659 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12660 # to ld, don't add -lc before -lgcc.
12661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12662 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12663 if test ${lt_cv_archive_cmds_need_lc+y}
12664 then :
12665 printf %s "(cached) " >&6
12666 else case e in #(
12667 e) $RM conftest*
12668 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12669
12670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12671 (eval $ac_compile) 2>&5
12672 ac_status=$?
12673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12674 test $ac_status = 0; } 2>conftest.err; then
12675 soname=conftest
12676 lib=conftest
12677 libobjs=conftest.$ac_objext
12678 deplibs=
12679 wl=$lt_prog_compiler_wl
12680 pic_flag=$lt_prog_compiler_pic
12681 compiler_flags=-v
12682 linker_flags=-v
12683 verstring=
12684 output_objdir=.
12685 libname=conftest
12686 lt_save_allow_undefined_flag=$allow_undefined_flag
12687 allow_undefined_flag=
12688 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12689 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12690 ac_status=$?
12691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12692 test $ac_status = 0; }
12693 then
12694 lt_cv_archive_cmds_need_lc=no
12695 else
12696 lt_cv_archive_cmds_need_lc=yes
12697 fi
12698 allow_undefined_flag=$lt_save_allow_undefined_flag
12699 else
12700 cat conftest.err 1>&5
12701 fi
12702 $RM conftest*
12703 ;;
12704 esac
12705 fi
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12707 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12708 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12709 ;;
12710 esac
12711 fi
12712 ;;
12713 esac
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
12862
12863
12864
12865
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12867 printf %s "checking dynamic linker characteristics... " >&6; }
12868
12869 if test yes = "$GCC"; then
12870 case $host_os in
12871 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12872 *) lt_awk_arg='/^libraries:/' ;;
12873 esac
12874 case $host_os in
12875 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12876 *) lt_sed_strip_eq='s|=/|/|g' ;;
12877 esac
12878 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12879 case $lt_search_path_spec in
12880 *\;*)
12881 # if the path contains ";" then we assume it to be the separator
12882 # otherwise default to the standard path separator (i.e. ":") - it is
12883 # assumed that no part of a normal pathname contains ";" but that should
12884 # okay in the real world where ";" in dirpaths is itself problematic.
12885 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12886 ;;
12887 *)
12888 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12889 ;;
12890 esac
12891 # Ok, now we have the path, separated by spaces, we can step through it
12892 # and add multilib dir if necessary...
12893 lt_tmp_lt_search_path_spec=
12894 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12895 # ...but if some path component already ends with the multilib dir we assume
12896 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12897 case "$lt_multi_os_dir; $lt_search_path_spec " in
12898 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12899 lt_multi_os_dir=
12900 ;;
12901 esac
12902 for lt_sys_path in $lt_search_path_spec; do
12903 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12904 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12905 elif test -n "$lt_multi_os_dir"; then
12906 test -d "$lt_sys_path" && \
12907 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12908 fi
12909 done
12910 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12911 BEGIN {RS = " "; FS = "/|\n";} {
12912 lt_foo = "";
12913 lt_count = 0;
12914 for (lt_i = NF; lt_i > 0; lt_i--) {
12915 if ($lt_i != "" && $lt_i != ".") {
12916 if ($lt_i == "..") {
12917 lt_count++;
12918 } else {
12919 if (lt_count == 0) {
12920 lt_foo = "/" $lt_i lt_foo;
12921 } else {
12922 lt_count--;
12923 }
12924 }
12925 }
12926 }
12927 if (lt_foo != "") { lt_freq[lt_foo]++; }
12928 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12929 }'`
12930 # AWK program above erroneously prepends '/' to C:/dos/paths
12931 # for these hosts.
12932 case $host_os in
12933 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12934 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12935 esac
12936 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12937 else
12938 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12939 fi
12940 library_names_spec=
12941 libname_spec='lib$name'
12942 soname_spec=
12943 shrext_cmds=.so
12944 postinstall_cmds=
12945 postuninstall_cmds=
12946 finish_cmds=
12947 finish_eval=
12948 shlibpath_var=
12949 shlibpath_overrides_runpath=unknown
12950 version_type=none
12951 dynamic_linker="$host_os ld.so"
12952 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12953 need_lib_prefix=unknown
12954 hardcode_into_libs=no
12955
12956 # when you set need_version to no, make sure it does not cause -set_version
12957 # flags to be left without arguments
12958 need_version=unknown
12959
12960
12961
12962 case $host_os in
12963 aix3*)
12964 version_type=linux # correct to gnu/linux during the next big refactor
12965 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12966 shlibpath_var=LIBPATH
12967
12968 # AIX 3 has no versioning support, so we append a major version to the name.
12969 soname_spec='$libname$release$shared_ext$major'
12970 ;;
12971
12972 aix[4-9]*)
12973 version_type=linux # correct to gnu/linux during the next big refactor
12974 need_lib_prefix=no
12975 need_version=no
12976 hardcode_into_libs=yes
12977 if test ia64 = "$host_cpu"; then
12978 # AIX 5 supports IA64
12979 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12980 shlibpath_var=LD_LIBRARY_PATH
12981 else
12982 # With GCC up to 2.95.x, collect2 would create an import file
12983 # for dependence libraries. The import file would start with
12984 # the line '#! .'. This would cause the generated library to
12985 # depend on '.', always an invalid library. This was fixed in
12986 # development snapshots of GCC prior to 3.0.
12987 case $host_os in
12988 aix4 | aix4.[01] | aix4.[01].*)
12989 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12990 echo ' yes '
12991 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12992 :
12993 else
12994 can_build_shared=no
12995 fi
12996 ;;
12997 esac
12998 # Using Import Files as archive members, it is possible to support
12999 # filename-based versioning of shared library archives on AIX. While
13000 # this would work for both with and without runtime linking, it will
13001 # prevent static linking of such archives. So we do filename-based
13002 # shared library versioning with .so extension only, which is used
13003 # when both runtime linking and shared linking is enabled.
13004 # Unfortunately, runtime linking may impact performance, so we do
13005 # not want this to be the default eventually. Also, we use the
13006 # versioned .so libs for executables only if there is the -brtl
13007 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
13008 # To allow for filename-based versioning support, we need to create
13009 # libNAME.so.V as an archive file, containing:
13010 # *) an Import File, referring to the versioned filename of the
13011 # archive as well as the shared archive member, telling the
13012 # bitwidth (32 or 64) of that shared object, and providing the
13013 # list of exported symbols of that shared object, eventually
13014 # decorated with the 'weak' keyword
13015 # *) the shared object with the F_LOADONLY flag set, to really avoid
13016 # it being seen by the linker.
13017 # At run time we better use the real file rather than another symlink,
13018 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13019
13020 case $with_aix_soname,$aix_use_runtimelinking in
13021 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13022 # soname into executable. Probably we can add versioning support to
13023 # collect2, so additional links can be useful in future.
13024 aix,yes) # traditional libtool
13025 dynamic_linker='AIX unversionable lib.so'
13026 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13027 # instead of lib<name>.a to let people know that these are not
13028 # typical AIX shared libraries.
13029 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13030 ;;
13031 aix,no) # traditional AIX only
13032 dynamic_linker='AIX lib.a(lib.so.V)'
13033 # We preserve .a as extension for shared libraries through AIX4.2
13034 # and later when we are not doing run time linking.
13035 library_names_spec='$libname$release.a $libname.a'
13036 soname_spec='$libname$release$shared_ext$major'
13037 ;;
13038 svr4,*) # full svr4 only
13039 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13040 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13041 # We do not specify a path in Import Files, so LIBPATH fires.
13042 shlibpath_overrides_runpath=yes
13043 ;;
13044 *,yes) # both, prefer svr4
13045 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13046 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13047 # unpreferred sharedlib libNAME.a needs extra handling
13048 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"'
13049 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"'
13050 # We do not specify a path in Import Files, so LIBPATH fires.
13051 shlibpath_overrides_runpath=yes
13052 ;;
13053 *,no) # both, prefer aix
13054 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13055 library_names_spec='$libname$release.a $libname.a'
13056 soname_spec='$libname$release$shared_ext$major'
13057 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13058 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)'
13059 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"'
13060 ;;
13061 esac
13062 shlibpath_var=LIBPATH
13063 fi
13064 ;;
13065
13066 amigaos*)
13067 case $host_cpu in
13068 powerpc)
13069 # Since July 2007 AmigaOS4 officially supports .so libraries.
13070 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13071 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13072 ;;
13073 m68k)
13074 library_names_spec='$libname.ixlibrary $libname.a'
13075 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13076 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'
13077 ;;
13078 esac
13079 ;;
13080
13081 beos*)
13082 library_names_spec='$libname$shared_ext'
13083 dynamic_linker="$host_os ld.so"
13084 shlibpath_var=LIBRARY_PATH
13085 ;;
13086
13087 bsdi[45]*)
13088 version_type=linux # correct to gnu/linux during the next big refactor
13089 need_version=no
13090 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13091 soname_spec='$libname$release$shared_ext$major'
13092 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13093 shlibpath_var=LD_LIBRARY_PATH
13094 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13095 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13096 # the default ld.so.conf also contains /usr/contrib/lib and
13097 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13098 # libtool to hard-code these into programs
13099 ;;
13100
13101 cygwin* | mingw* | windows* | pw32* | cegcc*)
13102 version_type=windows
13103 shrext_cmds=.dll
13104 need_version=no
13105 need_lib_prefix=no
13106
13107 case $GCC,$cc_basename in
13108 yes,*)
13109 # gcc
13110 library_names_spec='$libname.dll.a'
13111 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13112 # If user builds GCC with multilib enabled,
13113 # it should just install on $(libdir)
13114 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
13115 if test xyes = x"$multilib"; then
13116 postinstall_cmds='base_file=`basename \$file`~
13117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13118 dldir=$destdir/`dirname \$dlpath`~
13119 $install_prog $dir/$dlname $destdir/$dlname~
13120 chmod a+x $destdir/$dlname~
13121 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13122 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
13123 fi'
13124 else
13125 postinstall_cmds='base_file=`basename \$file`~
13126 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13127 dldir=$destdir/`dirname \$dlpath`~
13128 test -d \$dldir || mkdir -p \$dldir~
13129 $install_prog $dir/$dlname \$dldir/$dlname~
13130 chmod a+x \$dldir/$dlname~
13131 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13132 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13133 fi'
13134 fi
13135 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13136 dlpath=$dir/\$dldll~
13137 $RM \$dlpath'
13138 shlibpath_overrides_runpath=yes
13139
13140 case $host_os in
13141 cygwin*)
13142 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13143 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13144
13145 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13146 ;;
13147 mingw* | windows* | cegcc*)
13148 # MinGW DLLs use traditional 'lib' prefix
13149 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13150 ;;
13151 pw32*)
13152 # pw32 DLLs use 'pw' prefix rather than 'lib'
13153 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13154 ;;
13155 esac
13156 dynamic_linker='Win32 ld.exe'
13157 ;;
13158
13159 *,cl* | *,icl*)
13160 # Native MSVC or ICC
13161 libname_spec='$name'
13162 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13163 library_names_spec='$libname.dll.lib'
13164
13165 case $build_os in
13166 mingw* | windows*)
13167 sys_lib_search_path_spec=
13168 lt_save_ifs=$IFS
13169 IFS=';'
13170 for lt_path in $LIB
13171 do
13172 IFS=$lt_save_ifs
13173 # Let DOS variable expansion print the short 8.3 style file name.
13174 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13175 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13176 done
13177 IFS=$lt_save_ifs
13178 # Convert to MSYS style.
13179 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13180 ;;
13181 cygwin*)
13182 # Convert to unix form, then to dos form, then back to unix form
13183 # but this time dos style (no spaces!) so that the unix form looks
13184 # like /cygdrive/c/PROGRA~1:/cygdr...
13185 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13186 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13187 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13188 ;;
13189 *)
13190 sys_lib_search_path_spec=$LIB
13191 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13192 # It is most probably a Windows format PATH.
13193 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13194 else
13195 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13196 fi
13197 # FIXME: find the short name or the path components, as spaces are
13198 # common. (e.g. "Program Files" -> "PROGRA~1")
13199 ;;
13200 esac
13201
13202 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13203 postinstall_cmds='base_file=`basename \$file`~
13204 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13205 dldir=$destdir/`dirname \$dlpath`~
13206 test -d \$dldir || mkdir -p \$dldir~
13207 $install_prog $dir/$dlname \$dldir/$dlname'
13208 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13209 dlpath=$dir/\$dldll~
13210 $RM \$dlpath'
13211 shlibpath_overrides_runpath=yes
13212 dynamic_linker='Win32 link.exe'
13213 ;;
13214
13215 *)
13216 # Assume MSVC and ICC wrapper
13217 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13218 dynamic_linker='Win32 ld.exe'
13219 ;;
13220 esac
13221 # FIXME: first we should search . and the directory the executable is in
13222 shlibpath_var=PATH
13223 ;;
13224
13225 darwin* | rhapsody*)
13226 dynamic_linker="$host_os dyld"
13227 version_type=darwin
13228 need_lib_prefix=no
13229 need_version=no
13230 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13231 soname_spec='$libname$release$major$shared_ext'
13232 shlibpath_overrides_runpath=yes
13233 shlibpath_var=DYLD_LIBRARY_PATH
13234 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13235
13236 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13237 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13238 ;;
13239
13240 dgux*)
13241 version_type=linux # correct to gnu/linux during the next big refactor
13242 need_lib_prefix=no
13243 need_version=no
13244 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13245 soname_spec='$libname$release$shared_ext$major'
13246 shlibpath_var=LD_LIBRARY_PATH
13247 ;;
13248
13249 freebsd* | dragonfly* | midnightbsd*)
13250 # DragonFly does not have aout. When/if they implement a new
13251 # versioning mechanism, adjust this.
13252 if test -x /usr/bin/objformat; then
13253 objformat=`/usr/bin/objformat`
13254 else
13255 case $host_os in
13256 freebsd[23].*) objformat=aout ;;
13257 *) objformat=elf ;;
13258 esac
13259 fi
13260 version_type=freebsd-$objformat
13261 case $version_type in
13262 freebsd-elf*)
13263 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13264 soname_spec='$libname$release$shared_ext$major'
13265 need_version=no
13266 need_lib_prefix=no
13267 ;;
13268 freebsd-*)
13269 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13270 need_version=yes
13271 ;;
13272 esac
13273 case $host_cpu in
13274 powerpc64)
13275 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13276 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13278 /* end confdefs.h. */
13279 int test_pointer_size[sizeof (void *) - 5];
13280
13281 _ACEOF
13282 if ac_fn_c_try_compile "$LINENO"
13283 then :
13284 shlibpath_var=LD_LIBRARY_PATH
13285 else case e in #(
13286 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13287 esac
13288 fi
13289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13290 ;;
13291 *)
13292 shlibpath_var=LD_LIBRARY_PATH
13293 ;;
13294 esac
13295 case $host_os in
13296 freebsd2.*)
13297 shlibpath_overrides_runpath=yes
13298 ;;
13299 freebsd3.[01]* | freebsdelf3.[01]*)
13300 shlibpath_overrides_runpath=yes
13301 hardcode_into_libs=yes
13302 ;;
13303 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13304 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13305 shlibpath_overrides_runpath=no
13306 hardcode_into_libs=yes
13307 ;;
13308 *) # from 4.6 on, and DragonFly
13309 shlibpath_overrides_runpath=yes
13310 hardcode_into_libs=yes
13311 ;;
13312 esac
13313 ;;
13314
13315 haiku*)
13316 version_type=linux # correct to gnu/linux during the next big refactor
13317 need_lib_prefix=no
13318 need_version=no
13319 dynamic_linker="$host_os runtime_loader"
13320 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13321 soname_spec='$libname$release$shared_ext$major'
13322 shlibpath_var=LIBRARY_PATH
13323 shlibpath_overrides_runpath=no
13324 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13325 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13326 hardcode_into_libs=no
13327 ;;
13328
13329 hpux9* | hpux10* | hpux11*)
13330 # Give a soname corresponding to the major version so that dld.sl refuses to
13331 # link against other versions.
13332 version_type=sunos
13333 need_lib_prefix=no
13334 need_version=no
13335 case $host_cpu in
13336 ia64*)
13337 shrext_cmds='.so'
13338 hardcode_into_libs=yes
13339 dynamic_linker="$host_os dld.so"
13340 shlibpath_var=LD_LIBRARY_PATH
13341 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13342 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13343 soname_spec='$libname$release$shared_ext$major'
13344 if test 32 = "$HPUX_IA64_MODE"; then
13345 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13346 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13347 else
13348 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13349 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13350 fi
13351 ;;
13352 hppa*64*)
13353 shrext_cmds='.sl'
13354 hardcode_into_libs=yes
13355 dynamic_linker="$host_os dld.sl"
13356 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13357 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13358 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13359 soname_spec='$libname$release$shared_ext$major'
13360 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13361 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13362 ;;
13363 *)
13364 shrext_cmds='.sl'
13365 dynamic_linker="$host_os dld.sl"
13366 shlibpath_var=SHLIB_PATH
13367 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13368 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13369 soname_spec='$libname$release$shared_ext$major'
13370 ;;
13371 esac
13372 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13373 postinstall_cmds='chmod 555 $lib'
13374 # or fails outright, so override atomically:
13375 install_override_mode=555
13376 ;;
13377
13378 interix[3-9]*)
13379 version_type=linux # correct to gnu/linux during the next big refactor
13380 need_lib_prefix=no
13381 need_version=no
13382 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13383 soname_spec='$libname$release$shared_ext$major'
13384 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13385 shlibpath_var=LD_LIBRARY_PATH
13386 shlibpath_overrides_runpath=no
13387 hardcode_into_libs=yes
13388 ;;
13389
13390 irix5* | irix6* | nonstopux*)
13391 case $host_os in
13392 nonstopux*) version_type=nonstopux ;;
13393 *)
13394 if test yes = "$lt_cv_prog_gnu_ld"; then
13395 version_type=linux # correct to gnu/linux during the next big refactor
13396 else
13397 version_type=irix
13398 fi ;;
13399 esac
13400 need_lib_prefix=no
13401 need_version=no
13402 soname_spec='$libname$release$shared_ext$major'
13403 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13404 case $host_os in
13405 irix5* | nonstopux*)
13406 libsuff= shlibsuff=
13407 ;;
13408 *)
13409 case $LD in # libtool.m4 will add one of these switches to LD
13410 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13411 libsuff= shlibsuff= libmagic=32-bit;;
13412 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13413 libsuff=32 shlibsuff=N32 libmagic=N32;;
13414 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13415 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13416 *) libsuff= shlibsuff= libmagic=never-match;;
13417 esac
13418 ;;
13419 esac
13420 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13421 shlibpath_overrides_runpath=no
13422 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13423 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13424 hardcode_into_libs=yes
13425 ;;
13426
13427 # No shared lib support for Linux oldld, aout, or coff.
13428 linux*oldld* | linux*aout* | linux*coff*)
13429 dynamic_linker=no
13430 ;;
13431
13432 linux*android*)
13433 version_type=none # Android doesn't support versioned libraries.
13434 need_lib_prefix=no
13435 need_version=no
13436 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13437 soname_spec='$libname$release$shared_ext'
13438 finish_cmds=
13439 shlibpath_var=LD_LIBRARY_PATH
13440 shlibpath_overrides_runpath=yes
13441
13442 # This implies no fast_install, which is unacceptable.
13443 # Some rework will be needed to allow for fast_install
13444 # before this can be enabled.
13445 hardcode_into_libs=yes
13446
13447 dynamic_linker='Android linker'
13448 # -rpath works at least for libraries that are not overridden by
13449 # libraries installed in system locations.
13450 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13451 ;;
13452
13453 # This must be glibc/ELF.
13454 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13455 version_type=linux # correct to gnu/linux during the next big refactor
13456 need_lib_prefix=no
13457 need_version=no
13458 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13459 soname_spec='$libname$release$shared_ext$major'
13460 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13461 shlibpath_var=LD_LIBRARY_PATH
13462 shlibpath_overrides_runpath=no
13463
13464 # Some binutils ld are patched to set DT_RUNPATH
13465 if test ${lt_cv_shlibpath_overrides_runpath+y}
13466 then :
13467 printf %s "(cached) " >&6
13468 else case e in #(
13469 e) lt_cv_shlibpath_overrides_runpath=no
13470 save_LDFLAGS=$LDFLAGS
13471 save_libdir=$libdir
13472 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13473 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476
13477 int
13478 main (void)
13479 {
13480
13481 ;
13482 return 0;
13483 }
13484 _ACEOF
13485 if ac_fn_c_try_link "$LINENO"
13486 then :
13487 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13488 then :
13489 lt_cv_shlibpath_overrides_runpath=yes
13490 fi
13491 fi
13492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13493 conftest$ac_exeext conftest.$ac_ext
13494 LDFLAGS=$save_LDFLAGS
13495 libdir=$save_libdir
13496 ;;
13497 esac
13498 fi
13499
13500 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13501
13502 # This implies no fast_install, which is unacceptable.
13503 # Some rework will be needed to allow for fast_install
13504 # before this can be enabled.
13505 hardcode_into_libs=yes
13506
13507 # Ideally, we could use ldconfig to report *all* directories which are
13508 # searched for libraries, however this is still not possible. Aside from not
13509 # being certain /sbin/ldconfig is available, command
13510 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13511 # even though it is searched at run-time. Try to do the best guess by
13512 # appending ld.so.conf contents (and includes) to the search path.
13513 if test -f /etc/ld.so.conf; then
13514 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' ' '`
13515 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13516 fi
13517
13518 # We used to test for /lib/ld.so.1 and disable shared libraries on
13519 # powerpc, because MkLinux only supported shared libraries with the
13520 # GNU dynamic linker. Since this was broken with cross compilers,
13521 # most powerpc-linux boxes support dynamic linking these days and
13522 # people can always --disable-shared, the test was removed, and we
13523 # assume the GNU/Linux dynamic linker is in use.
13524 dynamic_linker='GNU/Linux ld.so'
13525 ;;
13526
13527 netbsdelf*-gnu)
13528 version_type=linux
13529 need_lib_prefix=no
13530 need_version=no
13531 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13532 soname_spec='$libname$release$shared_ext$major'
13533 shlibpath_var=LD_LIBRARY_PATH
13534 shlibpath_overrides_runpath=no
13535 hardcode_into_libs=yes
13536 dynamic_linker='NetBSD ld.elf_so'
13537 ;;
13538
13539 netbsd*)
13540 version_type=sunos
13541 need_lib_prefix=no
13542 need_version=no
13543 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13544 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13545 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13546 dynamic_linker='NetBSD (a.out) ld.so'
13547 else
13548 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13549 soname_spec='$libname$release$shared_ext$major'
13550 dynamic_linker='NetBSD ld.elf_so'
13551 fi
13552 shlibpath_var=LD_LIBRARY_PATH
13553 shlibpath_overrides_runpath=yes
13554 hardcode_into_libs=yes
13555 ;;
13556
13557 *-mlibc)
13558 version_type=linux # correct to gnu/linux during the next big refactor
13559 need_lib_prefix=no
13560 need_version=no
13561 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13562 soname_spec='$libname$release$shared_ext$major'
13563 dynamic_linker='mlibc ld.so'
13564 shlibpath_var=LD_LIBRARY_PATH
13565 shlibpath_overrides_runpath=no
13566 hardcode_into_libs=yes
13567 ;;
13568
13569 newsos6)
13570 version_type=linux # correct to gnu/linux during the next big refactor
13571 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13572 shlibpath_var=LD_LIBRARY_PATH
13573 shlibpath_overrides_runpath=yes
13574 ;;
13575
13576 *nto* | *qnx*)
13577 version_type=qnx
13578 need_lib_prefix=no
13579 need_version=no
13580 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13581 soname_spec='$libname$release$shared_ext$major'
13582 shlibpath_var=LD_LIBRARY_PATH
13583 shlibpath_overrides_runpath=no
13584 hardcode_into_libs=yes
13585 dynamic_linker='ldqnx.so'
13586 ;;
13587
13588 openbsd*)
13589 version_type=sunos
13590 sys_lib_dlsearch_path_spec=/usr/lib
13591 need_lib_prefix=no
13592 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13593 need_version=no
13594 else
13595 need_version=yes
13596 fi
13597 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13598 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13599 shlibpath_var=LD_LIBRARY_PATH
13600 shlibpath_overrides_runpath=yes
13601 ;;
13602
13603 os2*)
13604 libname_spec='$name'
13605 version_type=windows
13606 shrext_cmds=.dll
13607 need_version=no
13608 need_lib_prefix=no
13609 # OS/2 can only load a DLL with a base name of 8 characters or less.
13610 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13611 v=$($ECHO $release$versuffix | tr -d .-);
13612 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13613 $ECHO $n$v`$shared_ext'
13614 library_names_spec='${libname}_dll.$libext'
13615 dynamic_linker='OS/2 ld.exe'
13616 shlibpath_var=BEGINLIBPATH
13617 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13618 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13619 postinstall_cmds='base_file=`basename \$file`~
13620 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13621 dldir=$destdir/`dirname \$dlpath`~
13622 test -d \$dldir || mkdir -p \$dldir~
13623 $install_prog $dir/$dlname \$dldir/$dlname~
13624 chmod a+x \$dldir/$dlname~
13625 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13626 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13627 fi'
13628 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13629 dlpath=$dir/\$dldll~
13630 $RM \$dlpath'
13631 ;;
13632
13633 osf3* | osf4* | osf5*)
13634 version_type=osf
13635 need_lib_prefix=no
13636 need_version=no
13637 soname_spec='$libname$release$shared_ext$major'
13638 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13639 shlibpath_var=LD_LIBRARY_PATH
13640 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13641 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13642 ;;
13643
13644 rdos*)
13645 dynamic_linker=no
13646 ;;
13647
13648 serenity*)
13649 version_type=linux # correct to gnu/linux during the next big refactor
13650 need_lib_prefix=no
13651 need_version=no
13652 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13653 soname_spec='$libname$release$shared_ext$major'
13654 shlibpath_var=LD_LIBRARY_PATH
13655 shlibpath_overrides_runpath=no
13656 dynamic_linker='SerenityOS LibELF'
13657 ;;
13658
13659 solaris*)
13660 version_type=linux # correct to gnu/linux during the next big refactor
13661 need_lib_prefix=no
13662 need_version=no
13663 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13664 soname_spec='$libname$release$shared_ext$major'
13665 shlibpath_var=LD_LIBRARY_PATH
13666 shlibpath_overrides_runpath=yes
13667 hardcode_into_libs=yes
13668 # ldd complains unless libraries are executable
13669 postinstall_cmds='chmod +x $lib'
13670 ;;
13671
13672 sunos4*)
13673 version_type=sunos
13674 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13675 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13676 shlibpath_var=LD_LIBRARY_PATH
13677 shlibpath_overrides_runpath=yes
13678 if test yes = "$with_gnu_ld"; then
13679 need_lib_prefix=no
13680 fi
13681 need_version=yes
13682 ;;
13683
13684 sysv4 | sysv4.3*)
13685 version_type=linux # correct to gnu/linux during the next big refactor
13686 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13687 soname_spec='$libname$release$shared_ext$major'
13688 shlibpath_var=LD_LIBRARY_PATH
13689 case $host_vendor in
13690 sni)
13691 shlibpath_overrides_runpath=no
13692 need_lib_prefix=no
13693 runpath_var=LD_RUN_PATH
13694 ;;
13695 siemens)
13696 need_lib_prefix=no
13697 ;;
13698 motorola)
13699 need_lib_prefix=no
13700 need_version=no
13701 shlibpath_overrides_runpath=no
13702 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13703 ;;
13704 esac
13705 ;;
13706
13707 sysv4*MP*)
13708 if test -d /usr/nec; then
13709 version_type=linux # correct to gnu/linux during the next big refactor
13710 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13711 soname_spec='$libname$shared_ext.$major'
13712 shlibpath_var=LD_LIBRARY_PATH
13713 fi
13714 ;;
13715
13716 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13717 version_type=sco
13718 need_lib_prefix=no
13719 need_version=no
13720 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13721 soname_spec='$libname$release$shared_ext$major'
13722 shlibpath_var=LD_LIBRARY_PATH
13723 shlibpath_overrides_runpath=yes
13724 hardcode_into_libs=yes
13725 if test yes = "$with_gnu_ld"; then
13726 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13727 else
13728 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13729 case $host_os in
13730 sco3.2v5*)
13731 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13732 ;;
13733 esac
13734 fi
13735 sys_lib_dlsearch_path_spec='/usr/lib'
13736 ;;
13737
13738 tpf*)
13739 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13740 version_type=linux # correct to gnu/linux during the next big refactor
13741 need_lib_prefix=no
13742 need_version=no
13743 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13744 shlibpath_var=LD_LIBRARY_PATH
13745 shlibpath_overrides_runpath=no
13746 hardcode_into_libs=yes
13747 ;;
13748
13749 uts4*)
13750 version_type=linux # correct to gnu/linux during the next big refactor
13751 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13752 soname_spec='$libname$release$shared_ext$major'
13753 shlibpath_var=LD_LIBRARY_PATH
13754 ;;
13755
13756 emscripten*)
13757 version_type=none
13758 need_lib_prefix=no
13759 need_version=no
13760 library_names_spec='$libname$release$shared_ext'
13761 soname_spec='$libname$release$shared_ext'
13762 finish_cmds=
13763 dynamic_linker="Emscripten linker"
13764 lt_prog_compiler_wl=
13765 lt_prog_compiler_pic=
13766 lt_prog_compiler_static=
13767
13768
13769 if test yes = "$GCC"; then
13770 lt_prog_compiler_wl='-Wl,'
13771 lt_prog_compiler_static='-static'
13772
13773 case $host_os in
13774 aix*)
13775 # All AIX code is PIC.
13776 if test ia64 = "$host_cpu"; then
13777 # AIX 5 now supports IA64 processor
13778 lt_prog_compiler_static='-Bstatic'
13779 fi
13780 lt_prog_compiler_pic='-fPIC'
13781 ;;
13782
13783 amigaos*)
13784 case $host_cpu in
13785 powerpc)
13786 # see comment about AmigaOS4 .so support
13787 lt_prog_compiler_pic='-fPIC'
13788 ;;
13789 m68k)
13790 # FIXME: we need at least 68020 code to build shared libraries, but
13791 # adding the '-m68020' flag to GCC prevents building anything better,
13792 # like '-m68040'.
13793 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13794 ;;
13795 esac
13796 ;;
13797
13798 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13799 # PIC is the default for these OSes.
13800 ;;
13801
13802 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13803 # This hack is so that the source file can tell whether it is being
13804 # built for inclusion in a dll (and should export symbols for example).
13805 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13806 # (--disable-auto-import) libraries
13807 lt_prog_compiler_pic='-DDLL_EXPORT'
13808 case $host_os in
13809 os2*)
13810 lt_prog_compiler_static='$wl-static'
13811 ;;
13812 esac
13813 ;;
13814
13815 darwin* | rhapsody*)
13816 # PIC is the default on this platform
13817 # Common symbols not allowed in MH_DYLIB files
13818 lt_prog_compiler_pic='-fno-common'
13819 ;;
13820
13821 haiku*)
13822 # PIC is the default for Haiku.
13823 # The "-static" flag exists, but is broken.
13824 lt_prog_compiler_static=
13825 ;;
13826
13827 hpux*)
13828 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13829 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13830 # sets the default TLS model and affects inlining.
13831 case $host_cpu in
13832 hppa*64*)
13833 # +Z the default
13834 ;;
13835 *)
13836 lt_prog_compiler_pic='-fPIC'
13837 ;;
13838 esac
13839 ;;
13840
13841 interix[3-9]*)
13842 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13843 # Instead, we relocate shared libraries at runtime.
13844 ;;
13845
13846 msdosdjgpp*)
13847 # Just because we use GCC doesn't mean we suddenly get shared libraries
13848 # on systems that don't support them.
13849 lt_prog_compiler_can_build_shared=no
13850 enable_shared=no
13851 ;;
13852
13853 *nto* | *qnx*)
13854 # QNX uses GNU C++, but need to define -shared option too, otherwise
13855 # it will coredump.
13856 lt_prog_compiler_pic='-fPIC -shared'
13857 ;;
13858
13859 sysv4*MP*)
13860 if test -d /usr/nec; then
13861 lt_prog_compiler_pic=-Kconform_pic
13862 fi
13863 ;;
13864
13865 *)
13866 lt_prog_compiler_pic='-fPIC'
13867 ;;
13868 esac
13869
13870 case $cc_basename in
13871 nvcc*) # Cuda Compiler Driver 2.2
13872 lt_prog_compiler_wl='-Xlinker '
13873 if test -n "$lt_prog_compiler_pic"; then
13874 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13875 fi
13876 ;;
13877 esac
13878 else
13879 # PORTME Check for flag to pass linker flags through the system compiler.
13880 case $host_os in
13881 aix*)
13882 lt_prog_compiler_wl='-Wl,'
13883 if test ia64 = "$host_cpu"; then
13884 # AIX 5 now supports IA64 processor
13885 lt_prog_compiler_static='-Bstatic'
13886 else
13887 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13888 fi
13889 ;;
13890
13891 darwin* | rhapsody*)
13892 # PIC is the default on this platform
13893 # Common symbols not allowed in MH_DYLIB files
13894 lt_prog_compiler_pic='-fno-common'
13895 case $cc_basename in
13896 nagfor*)
13897 # NAG Fortran compiler
13898 lt_prog_compiler_wl='-Wl,-Wl,,'
13899 lt_prog_compiler_pic='-PIC'
13900 lt_prog_compiler_static='-Bstatic'
13901 ;;
13902 esac
13903 ;;
13904
13905 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13906 # This hack is so that the source file can tell whether it is being
13907 # built for inclusion in a dll (and should export symbols for example).
13908 lt_prog_compiler_pic='-DDLL_EXPORT'
13909 case $host_os in
13910 os2*)
13911 lt_prog_compiler_static='$wl-static'
13912 ;;
13913 esac
13914 ;;
13915
13916 hpux9* | hpux10* | hpux11*)
13917 lt_prog_compiler_wl='-Wl,'
13918 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13919 # not for PA HP-UX.
13920 case $host_cpu in
13921 hppa*64*|ia64*)
13922 # +Z the default
13923 ;;
13924 *)
13925 lt_prog_compiler_pic='+Z'
13926 ;;
13927 esac
13928 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13929 lt_prog_compiler_static='$wl-a ${wl}archive'
13930 ;;
13931
13932 irix5* | irix6* | nonstopux*)
13933 lt_prog_compiler_wl='-Wl,'
13934 # PIC (with -KPIC) is the default.
13935 lt_prog_compiler_static='-non_shared'
13936 ;;
13937
13938 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13939 case $cc_basename in
13940 # old Intel for x86_64, which still supported -KPIC.
13941 ecc*)
13942 lt_prog_compiler_wl='-Wl,'
13943 lt_prog_compiler_pic='-KPIC'
13944 lt_prog_compiler_static='-static'
13945 ;;
13946 *flang* | ftn | f18* | f95*)
13947 # Flang compiler.
13948 lt_prog_compiler_wl='-Wl,'
13949 lt_prog_compiler_pic='-fPIC'
13950 lt_prog_compiler_static='-static'
13951 ;;
13952 # icc used to be incompatible with GCC.
13953 # ICC 10 doesn't accept -KPIC any more.
13954 icc* | ifort*)
13955 lt_prog_compiler_wl='-Wl,'
13956 lt_prog_compiler_pic='-fPIC'
13957 lt_prog_compiler_static='-static'
13958 ;;
13959 # Lahey Fortran 8.1.
13960 lf95*)
13961 lt_prog_compiler_wl='-Wl,'
13962 lt_prog_compiler_pic='--shared'
13963 lt_prog_compiler_static='--static'
13964 ;;
13965 nagfor*)
13966 # NAG Fortran compiler
13967 lt_prog_compiler_wl='-Wl,-Wl,,'
13968 lt_prog_compiler_pic='-PIC'
13969 lt_prog_compiler_static='-Bstatic'
13970 ;;
13971 tcc*)
13972 # Fabrice Bellard et al's Tiny C Compiler
13973 lt_prog_compiler_wl='-Wl,'
13974 lt_prog_compiler_pic='-fPIC'
13975 lt_prog_compiler_static='-static'
13976 ;;
13977 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13978 # Portland Group compilers (*not* the Pentium gcc compiler,
13979 # which looks to be a dead project)
13980 lt_prog_compiler_wl='-Wl,'
13981 lt_prog_compiler_pic='-fpic'
13982 lt_prog_compiler_static='-Bstatic'
13983 ;;
13984 ccc*)
13985 lt_prog_compiler_wl='-Wl,'
13986 # All Alpha code is PIC.
13987 lt_prog_compiler_static='-non_shared'
13988 ;;
13989 xl* | bgxl* | bgf* | mpixl*)
13990 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13991 lt_prog_compiler_wl='-Wl,'
13992 lt_prog_compiler_pic='-qpic'
13993 lt_prog_compiler_static='-qstaticlink'
13994 ;;
13995 *)
13996 case `$CC -V 2>&1 | $SED 5q` in
13997 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13998 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13999 lt_prog_compiler_pic='-KPIC'
14000 lt_prog_compiler_static='-Bstatic'
14001 lt_prog_compiler_wl=''
14002 ;;
14003 *Sun\ F* | *Sun*Fortran*)
14004 lt_prog_compiler_pic='-KPIC'
14005 lt_prog_compiler_static='-Bstatic'
14006 lt_prog_compiler_wl='-Qoption ld '
14007 ;;
14008 *Sun\ C*)
14009 # Sun C 5.9
14010 lt_prog_compiler_pic='-KPIC'
14011 lt_prog_compiler_static='-Bstatic'
14012 lt_prog_compiler_wl='-Wl,'
14013 ;;
14014 *Intel*\ [CF]*Compiler*)
14015 lt_prog_compiler_wl='-Wl,'
14016 lt_prog_compiler_pic='-fPIC'
14017 lt_prog_compiler_static='-static'
14018 ;;
14019 *Portland\ Group*)
14020 lt_prog_compiler_wl='-Wl,'
14021 lt_prog_compiler_pic='-fpic'
14022 lt_prog_compiler_static='-Bstatic'
14023 ;;
14024 esac
14025 ;;
14026 esac
14027 ;;
14028
14029 newsos6)
14030 lt_prog_compiler_pic='-KPIC'
14031 lt_prog_compiler_static='-Bstatic'
14032 ;;
14033
14034 *-mlibc)
14035 lt_prog_compiler_wl='-Wl,'
14036 lt_prog_compiler_pic='-fPIC'
14037 lt_prog_compiler_static='-static'
14038 ;;
14039
14040 *nto* | *qnx*)
14041 # QNX uses GNU C++, but need to define -shared option too, otherwise
14042 # it will coredump.
14043 lt_prog_compiler_pic='-fPIC -shared'
14044 ;;
14045
14046 osf3* | osf4* | osf5*)
14047 lt_prog_compiler_wl='-Wl,'
14048 # All OSF/1 code is PIC.
14049 lt_prog_compiler_static='-non_shared'
14050 ;;
14051
14052 rdos*)
14053 lt_prog_compiler_static='-non_shared'
14054 ;;
14055
14056 serenity*)
14057 ;;
14058
14059 solaris*)
14060 lt_prog_compiler_pic='-KPIC'
14061 lt_prog_compiler_static='-Bstatic'
14062 case $cc_basename in
14063 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
14064 lt_prog_compiler_wl='-Qoption ld ';;
14065 *)
14066 lt_prog_compiler_wl='-Wl,';;
14067 esac
14068 ;;
14069
14070 sunos4*)
14071 lt_prog_compiler_wl='-Qoption ld '
14072 lt_prog_compiler_pic='-PIC'
14073 lt_prog_compiler_static='-Bstatic'
14074 ;;
14075
14076 sysv4 | sysv4.2uw2* | sysv4.3*)
14077 lt_prog_compiler_wl='-Wl,'
14078 lt_prog_compiler_pic='-KPIC'
14079 lt_prog_compiler_static='-Bstatic'
14080 ;;
14081
14082 sysv4*MP*)
14083 if test -d /usr/nec; then
14084 lt_prog_compiler_pic='-Kconform_pic'
14085 lt_prog_compiler_static='-Bstatic'
14086 fi
14087 ;;
14088
14089 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14090 lt_prog_compiler_wl='-Wl,'
14091 lt_prog_compiler_pic='-KPIC'
14092 lt_prog_compiler_static='-Bstatic'
14093 ;;
14094
14095 unicos*)
14096 lt_prog_compiler_wl='-Wl,'
14097 lt_prog_compiler_can_build_shared=no
14098 ;;
14099
14100 uts4*)
14101 lt_prog_compiler_pic='-pic'
14102 lt_prog_compiler_static='-Bstatic'
14103 ;;
14104
14105 *)
14106 lt_prog_compiler_can_build_shared=no
14107 ;;
14108 esac
14109 fi
14110
14111 case $host_os in
14112 # For platforms that do not support PIC, -DPIC is meaningless:
14113 *djgpp*)
14114 lt_prog_compiler_pic=
14115 ;;
14116 *)
14117 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14118 ;;
14119 esac
14120
14121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14122 printf %s "checking for $compiler option to produce PIC... " >&6; }
14123 if test ${lt_cv_prog_compiler_pic+y}
14124 then :
14125 printf %s "(cached) " >&6
14126 else case e in #(
14127 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
14128 esac
14129 fi
14130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
14131 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
14132 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
14133
14134 #
14135 # Check to make sure the PIC flag actually works.
14136 #
14137 if test -n "$lt_prog_compiler_pic"; then
14138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14139 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
14140 if test ${lt_cv_prog_compiler_pic_works+y}
14141 then :
14142 printf %s "(cached) " >&6
14143 else case e in #(
14144 e) lt_cv_prog_compiler_pic_works=no
14145 ac_outfile=conftest.$ac_objext
14146 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14147 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
14148 # Insert the option either (1) after the last *FLAGS variable, or
14149 # (2) before a word containing "conftest.", or (3) at the end.
14150 # Note that $ac_compile itself does not contain backslashes and begins
14151 # with a dollar sign (not a hyphen), so the echo should work correctly.
14152 # The option is referenced via a variable to avoid confusing sed.
14153 lt_compile=`echo "$ac_compile" | $SED \
14154 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14155 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14156 -e 's:$: $lt_compiler_flag:'`
14157 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14158 (eval "$lt_compile" 2>conftest.err)
14159 ac_status=$?
14160 cat conftest.err >&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 if (exit $ac_status) && test -s "$ac_outfile"; then
14163 # The compiler can only warn and ignore the option if not recognized
14164 # So say no if there are warnings other than the usual output.
14165 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14166 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14167 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14168 lt_cv_prog_compiler_pic_works=yes
14169 fi
14170 fi
14171 $RM conftest*
14172 ;;
14173 esac
14174 fi
14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
14176 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
14177
14178 if test yes = "$lt_cv_prog_compiler_pic_works"; then
14179 case $lt_prog_compiler_pic in
14180 "" | " "*) ;;
14181 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14182 esac
14183 else
14184 lt_prog_compiler_pic=
14185 lt_prog_compiler_can_build_shared=no
14186 fi
14187
14188 fi
14189
14190
14191
14192
14193
14194 #
14195 # Check to make sure the static flag actually works.
14196 #
14197 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14199 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14200 if test ${lt_cv_prog_compiler_static_works+y}
14201 then :
14202 printf %s "(cached) " >&6
14203 else case e in #(
14204 e) lt_cv_prog_compiler_static_works=no
14205 save_LDFLAGS=$LDFLAGS
14206 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14207 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14208 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14209 # The linker can only warn and ignore the option if not recognized
14210 # So say no if there are warnings
14211 if test -s conftest.err; then
14212 # Append any errors to the config.log.
14213 cat conftest.err 1>&5
14214 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14215 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14216 if diff conftest.exp conftest.er2 >/dev/null; then
14217 lt_cv_prog_compiler_static_works=yes
14218 fi
14219 else
14220 lt_cv_prog_compiler_static_works=yes
14221 fi
14222 fi
14223 $RM -r conftest*
14224 LDFLAGS=$save_LDFLAGS
14225 ;;
14226 esac
14227 fi
14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14229 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
14230
14231 if test yes = "$lt_cv_prog_compiler_static_works"; then
14232 :
14233 else
14234 lt_prog_compiler_static=
14235 fi
14236
14237
14238
14239 ='-fPIC'
14240 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
14241 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'
14242 archive_cmds_need_lc=no
14243 no_undefined_flag=
14244 ;;
14245
14246 *)
14247 dynamic_linker=no
14248 ;;
14249 esac
14250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14251 printf "%s\n" "$dynamic_linker" >&6; }
14252 test no = "$dynamic_linker" && can_build_shared=no
14253
14254 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14255 if test yes = "$GCC"; then
14256 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14257 fi
14258
14259 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14260 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14261 fi
14262
14263 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14264 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14265 fi
14266
14267 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14268 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14269
14270 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14271 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14272
14273 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14274 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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
14368
14369
14370
14371
14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14373 printf %s "checking how to hardcode library paths into programs... " >&6; }
14374 hardcode_action=
14375 if test -n "$hardcode_libdir_flag_spec" ||
14376 test -n "$runpath_var" ||
14377 test yes = "$hardcode_automatic"; then
14378
14379 # We can hardcode non-existent directories.
14380 if test no != "$hardcode_direct" &&
14381 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14382 # have to relink, otherwise we might link with an installed library
14383 # when we should be linking with a yet-to-be-installed one
14384 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14385 test no != "$hardcode_minus_L"; then
14386 # Linking always hardcodes the temporary library directory.
14387 hardcode_action=relink
14388 else
14389 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14390 hardcode_action=immediate
14391 fi
14392 else
14393 # We cannot hardcode anything, or else we can only hardcode existing
14394 # directories.
14395 hardcode_action=unsupported
14396 fi
14397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14398 printf "%s\n" "$hardcode_action" >&6; }
14399
14400 if test relink = "$hardcode_action" ||
14401 test yes = "$inherit_rpath"; then
14402 # Fast installation is not supported
14403 enable_fast_install=no
14404 elif test yes = "$shlibpath_overrides_runpath" ||
14405 test no = "$enable_shared"; then
14406 # Fast installation is not necessary
14407 enable_fast_install=needless
14408 fi
14409
14410
14411
14412
14413
14414
14415 if test yes != "$enable_dlopen"; then
14416 enable_dlopen=unknown
14417 enable_dlopen_self=unknown
14418 enable_dlopen_self_static=unknown
14419 else
14420 lt_cv_dlopen=no
14421 lt_cv_dlopen_libs=
14422
14423 case $host_os in
14424 beos*)
14425 lt_cv_dlopen=load_add_on
14426 lt_cv_dlopen_libs=
14427 lt_cv_dlopen_self=yes
14428 ;;
14429
14430 mingw* | windows* | pw32* | cegcc*)
14431 lt_cv_dlopen=LoadLibrary
14432 lt_cv_dlopen_libs=
14433 ;;
14434
14435 cygwin*)
14436 lt_cv_dlopen=dlopen
14437 lt_cv_dlopen_libs=
14438 ;;
14439
14440 darwin*)
14441 # if libdl is installed we need to link against it
14442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14443 printf %s "checking for dlopen in -ldl... " >&6; }
14444 if test ${ac_cv_lib_dl_dlopen+y}
14445 then :
14446 printf %s "(cached) " >&6
14447 else case e in #(
14448 e) ac_check_lib_save_LIBS=$LIBS
14449 LIBS="-ldl $LIBS"
14450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14452
14453 /* Override any GCC internal prototype to avoid an error.
14454 Use char because int might match the return type of a GCC
14455 builtin and then its argument prototype would still apply.
14456 The 'extern "C"' is for builds by C++ compilers;
14457 although this is not generally supported in C code supporting it here
14458 has little cost and some practical benefit (sr 110532). */
14459 #ifdef __cplusplus
14460 extern "C"
14461 #endif
14462 char dlopen (void);
14463 int
14464 main (void)
14465 {
14466 return dlopen ();
14467 ;
14468 return 0;
14469 }
14470 _ACEOF
14471 if ac_fn_c_try_link "$LINENO"
14472 then :
14473 ac_cv_lib_dl_dlopen=yes
14474 else case e in #(
14475 e) ac_cv_lib_dl_dlopen=no ;;
14476 esac
14477 fi
14478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14479 conftest$ac_exeext conftest.$ac_ext
14480 LIBS=$ac_check_lib_save_LIBS ;;
14481 esac
14482 fi
14483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14484 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14485 if test "x$ac_cv_lib_dl_dlopen" = xyes
14486 then :
14487 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14488 else case e in #(
14489 e)
14490 lt_cv_dlopen=dyld
14491 lt_cv_dlopen_libs=
14492 lt_cv_dlopen_self=yes
14493 ;;
14494 esac
14495 fi
14496
14497 ;;
14498
14499 tpf*)
14500 # Don't try to run any link tests for TPF. We know it's impossible
14501 # because TPF is a cross-compiler, and we know how we open DSOs.
14502 lt_cv_dlopen=dlopen
14503 lt_cv_dlopen_libs=
14504 lt_cv_dlopen_self=no
14505 ;;
14506
14507 *)
14508 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14509 if test "x$ac_cv_func_shl_load" = xyes
14510 then :
14511 lt_cv_dlopen=shl_load
14512 else case e in #(
14513 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14514 printf %s "checking for shl_load in -ldld... " >&6; }
14515 if test ${ac_cv_lib_dld_shl_load+y}
14516 then :
14517 printf %s "(cached) " >&6
14518 else case e in #(
14519 e) ac_check_lib_save_LIBS=$LIBS
14520 LIBS="-ldld $LIBS"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523
14524 /* Override any GCC internal prototype to avoid an error.
14525 Use char because int might match the return type of a GCC
14526 builtin and then its argument prototype would still apply.
14527 The 'extern "C"' is for builds by C++ compilers;
14528 although this is not generally supported in C code supporting it here
14529 has little cost and some practical benefit (sr 110532). */
14530 #ifdef __cplusplus
14531 extern "C"
14532 #endif
14533 char shl_load (void);
14534 int
14535 main (void)
14536 {
14537 return shl_load ();
14538 ;
14539 return 0;
14540 }
14541 _ACEOF
14542 if ac_fn_c_try_link "$LINENO"
14543 then :
14544 ac_cv_lib_dld_shl_load=yes
14545 else case e in #(
14546 e) ac_cv_lib_dld_shl_load=no ;;
14547 esac
14548 fi
14549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14550 conftest$ac_exeext conftest.$ac_ext
14551 LIBS=$ac_check_lib_save_LIBS ;;
14552 esac
14553 fi
14554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14555 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14556 if test "x$ac_cv_lib_dld_shl_load" = xyes
14557 then :
14558 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14559 else case e in #(
14560 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14561 if test "x$ac_cv_func_dlopen" = xyes
14562 then :
14563 lt_cv_dlopen=dlopen
14564 else case e in #(
14565 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14566 printf %s "checking for dlopen in -ldl... " >&6; }
14567 if test ${ac_cv_lib_dl_dlopen+y}
14568 then :
14569 printf %s "(cached) " >&6
14570 else case e in #(
14571 e) ac_check_lib_save_LIBS=$LIBS
14572 LIBS="-ldl $LIBS"
14573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14575
14576 /* Override any GCC internal prototype to avoid an error.
14577 Use char because int might match the return type of a GCC
14578 builtin and then its argument prototype would still apply.
14579 The 'extern "C"' is for builds by C++ compilers;
14580 although this is not generally supported in C code supporting it here
14581 has little cost and some practical benefit (sr 110532). */
14582 #ifdef __cplusplus
14583 extern "C"
14584 #endif
14585 char dlopen (void);
14586 int
14587 main (void)
14588 {
14589 return dlopen ();
14590 ;
14591 return 0;
14592 }
14593 _ACEOF
14594 if ac_fn_c_try_link "$LINENO"
14595 then :
14596 ac_cv_lib_dl_dlopen=yes
14597 else case e in #(
14598 e) ac_cv_lib_dl_dlopen=no ;;
14599 esac
14600 fi
14601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14602 conftest$ac_exeext conftest.$ac_ext
14603 LIBS=$ac_check_lib_save_LIBS ;;
14604 esac
14605 fi
14606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14607 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14608 if test "x$ac_cv_lib_dl_dlopen" = xyes
14609 then :
14610 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14611 else case e in #(
14612 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14613 printf %s "checking for dlopen in -lsvld... " >&6; }
14614 if test ${ac_cv_lib_svld_dlopen+y}
14615 then :
14616 printf %s "(cached) " >&6
14617 else case e in #(
14618 e) ac_check_lib_save_LIBS=$LIBS
14619 LIBS="-lsvld $LIBS"
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622
14623 /* Override any GCC internal prototype to avoid an error.
14624 Use char because int might match the return type of a GCC
14625 builtin and then its argument prototype would still apply.
14626 The 'extern "C"' is for builds by C++ compilers;
14627 although this is not generally supported in C code supporting it here
14628 has little cost and some practical benefit (sr 110532). */
14629 #ifdef __cplusplus
14630 extern "C"
14631 #endif
14632 char dlopen (void);
14633 int
14634 main (void)
14635 {
14636 return dlopen ();
14637 ;
14638 return 0;
14639 }
14640 _ACEOF
14641 if ac_fn_c_try_link "$LINENO"
14642 then :
14643 ac_cv_lib_svld_dlopen=yes
14644 else case e in #(
14645 e) ac_cv_lib_svld_dlopen=no ;;
14646 esac
14647 fi
14648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14649 conftest$ac_exeext conftest.$ac_ext
14650 LIBS=$ac_check_lib_save_LIBS ;;
14651 esac
14652 fi
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14654 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14655 if test "x$ac_cv_lib_svld_dlopen" = xyes
14656 then :
14657 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14658 else case e in #(
14659 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14660 printf %s "checking for dld_link in -ldld... " >&6; }
14661 if test ${ac_cv_lib_dld_dld_link+y}
14662 then :
14663 printf %s "(cached) " >&6
14664 else case e in #(
14665 e) ac_check_lib_save_LIBS=$LIBS
14666 LIBS="-ldld $LIBS"
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14669
14670 /* Override any GCC internal prototype to avoid an error.
14671 Use char because int might match the return type of a GCC
14672 builtin and then its argument prototype would still apply.
14673 The 'extern "C"' is for builds by C++ compilers;
14674 although this is not generally supported in C code supporting it here
14675 has little cost and some practical benefit (sr 110532). */
14676 #ifdef __cplusplus
14677 extern "C"
14678 #endif
14679 char dld_link (void);
14680 int
14681 main (void)
14682 {
14683 return dld_link ();
14684 ;
14685 return 0;
14686 }
14687 _ACEOF
14688 if ac_fn_c_try_link "$LINENO"
14689 then :
14690 ac_cv_lib_dld_dld_link=yes
14691 else case e in #(
14692 e) ac_cv_lib_dld_dld_link=no ;;
14693 esac
14694 fi
14695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14696 conftest$ac_exeext conftest.$ac_ext
14697 LIBS=$ac_check_lib_save_LIBS ;;
14698 esac
14699 fi
14700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14701 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14702 if test "x$ac_cv_lib_dld_dld_link" = xyes
14703 then :
14704 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14705 fi
14706
14707 ;;
14708 esac
14709 fi
14710
14711 ;;
14712 esac
14713 fi
14714
14715 ;;
14716 esac
14717 fi
14718
14719 ;;
14720 esac
14721 fi
14722
14723 ;;
14724 esac
14725 fi
14726
14727 ;;
14728 esac
14729
14730 if test no = "$lt_cv_dlopen"; then
14731 enable_dlopen=no
14732 else
14733 enable_dlopen=yes
14734 fi
14735
14736 case $lt_cv_dlopen in
14737 dlopen)
14738 save_CPPFLAGS=$CPPFLAGS
14739 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14740
14741 save_LDFLAGS=$LDFLAGS
14742 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14743
14744 save_LIBS=$LIBS
14745 LIBS="$lt_cv_dlopen_libs $LIBS"
14746
14747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14748 printf %s "checking whether a program can dlopen itself... " >&6; }
14749 if test ${lt_cv_dlopen_self+y}
14750 then :
14751 printf %s "(cached) " >&6
14752 else case e in #(
14753 e) if test yes = "$cross_compiling"; then :
14754 lt_cv_dlopen_self=cross
14755 else
14756 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14757 lt_status=$lt_dlunknown
14758 cat > conftest.$ac_ext <<_LT_EOF
14759 #line $LINENO "configure"
14760 #include "confdefs.h"
14761
14762 #if HAVE_DLFCN_H
14763 #include <dlfcn.h>
14764 #endif
14765
14766 #include <stdio.h>
14767
14768 #ifdef RTLD_GLOBAL
14769 # define LT_DLGLOBAL RTLD_GLOBAL
14770 #else
14771 # ifdef DL_GLOBAL
14772 # define LT_DLGLOBAL DL_GLOBAL
14773 # else
14774 # define LT_DLGLOBAL 0
14775 # endif
14776 #endif
14777
14778 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14779 find out it does not work in some platform. */
14780 #ifndef LT_DLLAZY_OR_NOW
14781 # ifdef RTLD_LAZY
14782 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14783 # else
14784 # ifdef DL_LAZY
14785 # define LT_DLLAZY_OR_NOW DL_LAZY
14786 # else
14787 # ifdef RTLD_NOW
14788 # define LT_DLLAZY_OR_NOW RTLD_NOW
14789 # else
14790 # ifdef DL_NOW
14791 # define LT_DLLAZY_OR_NOW DL_NOW
14792 # else
14793 # define LT_DLLAZY_OR_NOW 0
14794 # endif
14795 # endif
14796 # endif
14797 # endif
14798 #endif
14799
14800 /* When -fvisibility=hidden is used, assume the code has been annotated
14801 correspondingly for the symbols needed. */
14802 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14803 int fnord (void) __attribute__((visibility("default")));
14804 #endif
14805
14806 int fnord (void) { return 42; }
14807 int main (void)
14808 {
14809 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14810 int status = $lt_dlunknown;
14811
14812 if (self)
14813 {
14814 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14815 else
14816 {
14817 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14818 else puts (dlerror ());
14819 }
14820 /* dlclose (self); */
14821 }
14822 else
14823 puts (dlerror ());
14824
14825 return status;
14826 }
14827 _LT_EOF
14828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14829 (eval $ac_link) 2>&5
14830 ac_status=$?
14831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14832 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14833 (./conftest; exit; ) >&5 2>/dev/null
14834 lt_status=$?
14835 case x$lt_status in
14836 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14837 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14838 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14839 esac
14840 else :
14841 # compilation failed
14842 lt_cv_dlopen_self=no
14843 fi
14844 fi
14845 rm -fr conftest*
14846
14847 ;;
14848 esac
14849 fi
14850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14851 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14852
14853 if test yes = "$lt_cv_dlopen_self"; then
14854 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14856 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14857 if test ${lt_cv_dlopen_self_static+y}
14858 then :
14859 printf %s "(cached) " >&6
14860 else case e in #(
14861 e) if test yes = "$cross_compiling"; then :
14862 lt_cv_dlopen_self_static=cross
14863 else
14864 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14865 lt_status=$lt_dlunknown
14866 cat > conftest.$ac_ext <<_LT_EOF
14867 #line $LINENO "configure"
14868 #include "confdefs.h"
14869
14870 #if HAVE_DLFCN_H
14871 #include <dlfcn.h>
14872 #endif
14873
14874 #include <stdio.h>
14875
14876 #ifdef RTLD_GLOBAL
14877 # define LT_DLGLOBAL RTLD_GLOBAL
14878 #else
14879 # ifdef DL_GLOBAL
14880 # define LT_DLGLOBAL DL_GLOBAL
14881 # else
14882 # define LT_DLGLOBAL 0
14883 # endif
14884 #endif
14885
14886 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14887 find out it does not work in some platform. */
14888 #ifndef LT_DLLAZY_OR_NOW
14889 # ifdef RTLD_LAZY
14890 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14891 # else
14892 # ifdef DL_LAZY
14893 # define LT_DLLAZY_OR_NOW DL_LAZY
14894 # else
14895 # ifdef RTLD_NOW
14896 # define LT_DLLAZY_OR_NOW RTLD_NOW
14897 # else
14898 # ifdef DL_NOW
14899 # define LT_DLLAZY_OR_NOW DL_NOW
14900 # else
14901 # define LT_DLLAZY_OR_NOW 0
14902 # endif
14903 # endif
14904 # endif
14905 # endif
14906 #endif
14907
14908 /* When -fvisibility=hidden is used, assume the code has been annotated
14909 correspondingly for the symbols needed. */
14910 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14911 int fnord (void) __attribute__((visibility("default")));
14912 #endif
14913
14914 int fnord (void) { return 42; }
14915 int main (void)
14916 {
14917 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14918 int status = $lt_dlunknown;
14919
14920 if (self)
14921 {
14922 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14923 else
14924 {
14925 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14926 else puts (dlerror ());
14927 }
14928 /* dlclose (self); */
14929 }
14930 else
14931 puts (dlerror ());
14932
14933 return status;
14934 }
14935 _LT_EOF
14936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14937 (eval $ac_link) 2>&5
14938 ac_status=$?
14939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14940 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14941 (./conftest; exit; ) >&5 2>/dev/null
14942 lt_status=$?
14943 case x$lt_status in
14944 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14945 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14946 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14947 esac
14948 else :
14949 # compilation failed
14950 lt_cv_dlopen_self_static=no
14951 fi
14952 fi
14953 rm -fr conftest*
14954
14955 ;;
14956 esac
14957 fi
14958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14959 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14960 fi
14961
14962 CPPFLAGS=$save_CPPFLAGS
14963 LDFLAGS=$save_LDFLAGS
14964 LIBS=$save_LIBS
14965 ;;
14966 esac
14967
14968 case $lt_cv_dlopen_self in
14969 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14970 *) enable_dlopen_self=unknown ;;
14971 esac
14972
14973 case $lt_cv_dlopen_self_static in
14974 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14975 *) enable_dlopen_self_static=unknown ;;
14976 esac
14977 fi
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995 striplib=
14996 old_striplib=
14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14998 printf %s "checking whether stripping libraries is possible... " >&6; }
14999 if test -z "$STRIP"; then
15000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001 printf "%s\n" "no" >&6; }
15002 else
15003 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15004 old_striplib="$STRIP --strip-debug"
15005 striplib="$STRIP --strip-unneeded"
15006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15007 printf "%s\n" "yes" >&6; }
15008 else
15009 case $host_os in
15010 darwin*)
15011 # FIXME - insert some real tests, host_os isn't really good enough
15012 striplib="$STRIP -x"
15013 old_striplib="$STRIP -S"
15014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15015 printf "%s\n" "yes" >&6; }
15016 ;;
15017 freebsd*)
15018 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
15019 old_striplib="$STRIP --strip-debug"
15020 striplib="$STRIP --strip-unneeded"
15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15022 printf "%s\n" "yes" >&6; }
15023 else
15024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15025 printf "%s\n" "no" >&6; }
15026 fi
15027 ;;
15028 *)
15029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15030 printf "%s\n" "no" >&6; }
15031 ;;
15032 esac
15033 fi
15034 fi
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047 # Report what library types will actually be built
15048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15049 printf %s "checking if libtool supports shared libraries... " >&6; }
15050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15051 printf "%s\n" "$can_build_shared" >&6; }
15052
15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15054 printf %s "checking whether to build shared libraries... " >&6; }
15055 test no = "$can_build_shared" && enable_shared=no
15056
15057 # On AIX, shared libraries and static libraries use the same namespace, and
15058 # are all built from PIC.
15059 case $host_os in
15060 aix3*)
15061 test yes = "$enable_shared" && enable_static=no
15062 if test -n "$RANLIB"; then
15063 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15064 postinstall_cmds='$RANLIB $lib'
15065 fi
15066 ;;
15067
15068 aix[4-9]*)
15069 if test ia64 != "$host_cpu"; then
15070 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15071 yes,aix,yes) ;; # shared object as lib.so file only
15072 yes,svr4,*) ;; # shared object as lib.so archive member only
15073 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15074 esac
15075 fi
15076 ;;
15077 esac
15078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15079 printf "%s\n" "$enable_shared" >&6; }
15080
15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15082 printf %s "checking whether to build static libraries... " >&6; }
15083 # Make sure either enable_shared or enable_static is yes.
15084 test yes = "$enable_shared" || enable_static=yes
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15086 printf "%s\n" "$enable_static" >&6; }
15087
15088
15089
15090
15091 fi
15092 ac_ext=c
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15097
15098 CC=$lt_save_CC
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114 ac_config_commands="$ac_config_commands libtool"
15115
15116
15117
15118
15119 # Only expand once:
15120
15121
15122 # (end lt_init)
15123 # Check whether --enable-largefile was given.
15124 if test ${enable_largefile+y}
15125 then :
15126 enableval=$enable_largefile;
15127 fi
15128 if test "$enable_largefile,$enable_year2038" != no,no
15129 then :
15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
15131 printf %s "checking for $CC option to enable large file support... " >&6; }
15132 if test ${ac_cv_sys_largefile_opts+y}
15133 then :
15134 printf %s "(cached) " >&6
15135 else case e in #(
15136 e) ac_save_CC="$CC"
15137 ac_opt_found=no
15138 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
15139 if test x"$ac_opt" != x"none needed"
15140 then :
15141 CC="$ac_save_CC $ac_opt"
15142 fi
15143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15144 /* end confdefs.h. */
15145 #include <sys/types.h>
15146 #ifndef FTYPE
15147 # define FTYPE off_t
15148 #endif
15149 /* Check that FTYPE can represent 2**63 - 1 correctly.
15150 We can't simply define LARGE_FTYPE to be 9223372036854775807,
15151 since some C++ compilers masquerading as C compilers
15152 incorrectly reject 9223372036854775807. */
15153 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
15154 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
15155 && LARGE_FTYPE % 2147483647 == 1)
15156 ? 1 : -1];
15157 int
15158 main (void)
15159 {
15160
15161 ;
15162 return 0;
15163 }
15164 _ACEOF
15165 if ac_fn_c_try_compile "$LINENO"
15166 then :
15167 if test x"$ac_opt" = x"none needed"
15168 then :
15169 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
15170 CC="$CC -DFTYPE=ino_t"
15171 if ac_fn_c_try_compile "$LINENO"
15172 then :
15173
15174 else case e in #(
15175 e) CC="$CC -D_FILE_OFFSET_BITS=64"
15176 if ac_fn_c_try_compile "$LINENO"
15177 then :
15178 ac_opt='-D_FILE_OFFSET_BITS=64'
15179 fi
15180 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
15181 esac
15182 fi
15183 rm -f core conftest.err conftest.$ac_objext conftest.beam
15184 fi
15185 ac_cv_sys_largefile_opts=$ac_opt
15186 ac_opt_found=yes
15187 fi
15188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15189 test $ac_opt_found = no || break
15190 done
15191 CC="$ac_save_CC"
15192
15193 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
15194 esac
15195 fi
15196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
15197 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
15198
15199 ac_have_largefile=yes
15200 case $ac_cv_sys_largefile_opts in #(
15201 "none needed") :
15202 ;; #(
15203 "supported through gnulib") :
15204 ;; #(
15205 "support not detected") :
15206 ac_have_largefile=no ;; #(
15207 "-D_FILE_OFFSET_BITS=64") :
15208
15209 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
15210 ;; #(
15211 "-D_LARGE_FILES=1") :
15212
15213 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
15214 ;; #(
15215 "-n32") :
15216 CC="$CC -n32" ;; #(
15217 *) :
15218 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
15219 esac
15220
15221 if test "$enable_year2038" != no
15222 then :
15223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
15224 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
15225 if test ${ac_cv_sys_year2038_opts+y}
15226 then :
15227 printf %s "(cached) " >&6
15228 else case e in #(
15229 e) ac_save_CPPFLAGS="$CPPFLAGS"
15230 ac_opt_found=no
15231 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
15232 if test x"$ac_opt" != x"none needed"
15233 then :
15234 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
15235 fi
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15238
15239 #include <time.h>
15240 /* Check that time_t can represent 2**32 - 1 correctly. */
15241 #define LARGE_TIME_T \\
15242 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
15243 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
15244 && LARGE_TIME_T % 65537 == 0)
15245 ? 1 : -1];
15246
15247 int
15248 main (void)
15249 {
15250
15251 ;
15252 return 0;
15253 }
15254 _ACEOF
15255 if ac_fn_c_try_compile "$LINENO"
15256 then :
15257 ac_cv_sys_year2038_opts="$ac_opt"
15258 ac_opt_found=yes
15259 fi
15260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15261 test $ac_opt_found = no || break
15262 done
15263 CPPFLAGS="$ac_save_CPPFLAGS"
15264 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
15265 esac
15266 fi
15267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
15268 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
15269
15270 ac_have_year2038=yes
15271 case $ac_cv_sys_year2038_opts in #(
15272 "none needed") :
15273 ;; #(
15274 "support not detected") :
15275 ac_have_year2038=no ;; #(
15276 "-D_TIME_BITS=64") :
15277
15278 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
15279 ;; #(
15280 "-D__MINGW_USE_VC2005_COMPAT") :
15281
15282 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
15283 ;; #(
15284 "-U_USE_32_BIT_TIME_T"*) :
15285 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15286 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15287 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
15288 will stop working after mid-January 2038. Remove
15289 _USE_32BIT_TIME_T from the compiler flags.
15290 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15291 *) :
15292 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
15293 esac
15294
15295 fi
15296
15297 fi
15298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
15299 printf %s "checking for declarations of fseeko and ftello... " >&6; }
15300 if test ${ac_cv_func_fseeko_ftello+y}
15301 then :
15302 printf %s "(cached) " >&6
15303 else case e in #(
15304 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306
15307 #if defined __hpux && !defined _LARGEFILE_SOURCE
15308 # include <limits.h>
15309 # if LONG_MAX >> 31 == 0
15310 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15311 # endif
15312 #endif
15313 #include <sys/types.h> /* for off_t */
15314 #include <stdio.h>
15315
15316 int
15317 main (void)
15318 {
15319
15320 int (*fp1) (FILE *, off_t, int) = fseeko;
15321 off_t (*fp2) (FILE *) = ftello;
15322 return fseeko (stdin, 0, 0)
15323 && fp1 (stdin, 0, 0)
15324 && ftello (stdin) >= 0
15325 && fp2 (stdin) >= 0;
15326
15327 ;
15328 return 0;
15329 }
15330 _ACEOF
15331 if ac_fn_c_try_compile "$LINENO"
15332 then :
15333 ac_cv_func_fseeko_ftello=yes
15334 else case e in #(
15335 e) ac_save_CPPFLAGS="$CPPFLAGS"
15336 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
15337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15339
15340 #if defined __hpux && !defined _LARGEFILE_SOURCE
15341 # include <limits.h>
15342 # if LONG_MAX >> 31 == 0
15343 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15344 # endif
15345 #endif
15346 #include <sys/types.h> /* for off_t */
15347 #include <stdio.h>
15348
15349 int
15350 main (void)
15351 {
15352
15353 int (*fp1) (FILE *, off_t, int) = fseeko;
15354 off_t (*fp2) (FILE *) = ftello;
15355 return fseeko (stdin, 0, 0)
15356 && fp1 (stdin, 0, 0)
15357 && ftello (stdin) >= 0
15358 && fp2 (stdin) >= 0;
15359
15360 ;
15361 return 0;
15362 }
15363 _ACEOF
15364 if ac_fn_c_try_compile "$LINENO"
15365 then :
15366 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
15367 else case e in #(
15368 e) ac_cv_func_fseeko_ftello=no ;;
15369 esac
15370 fi
15371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15372 esac
15373 fi
15374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15375 esac
15376 fi
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
15378 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
15379 if test "$ac_cv_func_fseeko_ftello" != no
15380 then :
15381
15382 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
15383
15384 fi
15385 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
15386 then :
15387
15388 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
15389
15390 fi
15391
15392 ac_header_dirent=no
15393 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15394 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
15395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15396 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
15397 if eval test \${$as_ac_Header+y}
15398 then :
15399 printf %s "(cached) " >&6
15400 else case e in #(
15401 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15403 #include <sys/types.h>
15404 #include <$ac_hdr>
15405
15406 int
15407 main (void)
15408 {
15409 if ((DIR *) 0)
15410 return 0;
15411 ;
15412 return 0;
15413 }
15414 _ACEOF
15415 if ac_fn_c_try_compile "$LINENO"
15416 then :
15417 eval "$as_ac_Header=yes"
15418 else case e in #(
15419 e) eval "$as_ac_Header=no" ;;
15420 esac
15421 fi
15422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15423 esac
15424 fi
15425 eval ac_res=\$$as_ac_Header
15426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15427 printf "%s\n" "$ac_res" >&6; }
15428 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15429 then :
15430 cat >>confdefs.h <<_ACEOF
15431 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
15432 _ACEOF
15433
15434 ac_header_dirent=$ac_hdr; break
15435 fi
15436
15437 done
15438 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15439 if test $ac_header_dirent = dirent.h; then
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15441 printf %s "checking for library containing opendir... " >&6; }
15442 if test ${ac_cv_search_opendir+y}
15443 then :
15444 printf %s "(cached) " >&6
15445 else case e in #(
15446 e) ac_func_search_save_LIBS=$LIBS
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15449
15450 /* Override any GCC internal prototype to avoid an error.
15451 Use char because int might match the return type of a GCC
15452 builtin and then its argument prototype would still apply.
15453 The 'extern "C"' is for builds by C++ compilers;
15454 although this is not generally supported in C code supporting it here
15455 has little cost and some practical benefit (sr 110532). */
15456 #ifdef __cplusplus
15457 extern "C"
15458 #endif
15459 char opendir (void);
15460 int
15461 main (void)
15462 {
15463 return opendir ();
15464 ;
15465 return 0;
15466 }
15467 _ACEOF
15468 for ac_lib in '' dir
15469 do
15470 if test -z "$ac_lib"; then
15471 ac_res="none required"
15472 else
15473 ac_res=-l$ac_lib
15474 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15475 fi
15476 if ac_fn_c_try_link "$LINENO"
15477 then :
15478 ac_cv_search_opendir=$ac_res
15479 fi
15480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15481 conftest$ac_exeext
15482 if test ${ac_cv_search_opendir+y}
15483 then :
15484 break
15485 fi
15486 done
15487 if test ${ac_cv_search_opendir+y}
15488 then :
15489
15490 else case e in #(
15491 e) ac_cv_search_opendir=no ;;
15492 esac
15493 fi
15494 rm conftest.$ac_ext
15495 LIBS=$ac_func_search_save_LIBS ;;
15496 esac
15497 fi
15498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15499 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15500 ac_res=$ac_cv_search_opendir
15501 if test "$ac_res" != no
15502 then :
15503 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15504
15505 fi
15506
15507 else
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15509 printf %s "checking for library containing opendir... " >&6; }
15510 if test ${ac_cv_search_opendir+y}
15511 then :
15512 printf %s "(cached) " >&6
15513 else case e in #(
15514 e) ac_func_search_save_LIBS=$LIBS
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15517
15518 /* Override any GCC internal prototype to avoid an error.
15519 Use char because int might match the return type of a GCC
15520 builtin and then its argument prototype would still apply.
15521 The 'extern "C"' is for builds by C++ compilers;
15522 although this is not generally supported in C code supporting it here
15523 has little cost and some practical benefit (sr 110532). */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 char opendir (void);
15528 int
15529 main (void)
15530 {
15531 return opendir ();
15532 ;
15533 return 0;
15534 }
15535 _ACEOF
15536 for ac_lib in '' x
15537 do
15538 if test -z "$ac_lib"; then
15539 ac_res="none required"
15540 else
15541 ac_res=-l$ac_lib
15542 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15543 fi
15544 if ac_fn_c_try_link "$LINENO"
15545 then :
15546 ac_cv_search_opendir=$ac_res
15547 fi
15548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15549 conftest$ac_exeext
15550 if test ${ac_cv_search_opendir+y}
15551 then :
15552 break
15553 fi
15554 done
15555 if test ${ac_cv_search_opendir+y}
15556 then :
15557
15558 else case e in #(
15559 e) ac_cv_search_opendir=no ;;
15560 esac
15561 fi
15562 rm conftest.$ac_ext
15563 LIBS=$ac_func_search_save_LIBS ;;
15564 esac
15565 fi
15566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15567 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15568 ac_res=$ac_cv_search_opendir
15569 if test "$ac_res" != no
15570 then :
15571 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15572
15573 fi
15574
15575 fi
15576
15577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
15578 printf %s "checking whether closedir returns void... " >&6; }
15579 if test ${ac_cv_func_closedir_void+y}
15580 then :
15581 printf %s "(cached) " >&6
15582 else case e in #(
15583 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15584 /* end confdefs.h. */
15585
15586 #include <$ac_header_dirent>
15587
15588 int
15589 main (void)
15590 {
15591
15592 return closedir(0);
15593
15594 ;
15595 return 0;
15596 }
15597 _ACEOF
15598 if ac_fn_c_try_compile "$LINENO"
15599 then :
15600 ac_cv_func_closedir_void=no
15601 else case e in #(
15602 e) ac_cv_func_closedir_void=yes ;;
15603 esac
15604 fi
15605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15606 esac
15607 fi
15608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
15609 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
15610 if test $ac_cv_func_closedir_void = yes; then
15611
15612 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
15613
15614 fi
15615
15616 ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
15617 if test "x$ac_cv_header_assert_h" = xyes
15618 then :
15619 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
15620
15621 fi
15622 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
15623 if test "x$ac_cv_header_float_h" = xyes
15624 then :
15625 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
15626
15627 fi
15628 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15629 if test "x$ac_cv_header_limits_h" = xyes
15630 then :
15631 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15632
15633 fi
15634 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
15635 if test "x$ac_cv_header_pwd_h" = xyes
15636 then :
15637 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
15638
15639 fi
15640 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15641 if test "x$ac_cv_header_stdlib_h" = xyes
15642 then :
15643 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15644
15645 fi
15646 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15647 if test "x$ac_cv_header_sys_param_h" = xyes
15648 then :
15649 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
15650
15651 fi
15652
15653 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
15654 if test "x$ac_cv_func_putenv" = xyes
15655 then :
15656 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
15657
15658 fi
15659
15660 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
15661 if test "x$ac_cv_func_getcwd" = xyes
15662 then :
15663 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
15664
15665 fi
15666 ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp"
15667 if test "x$ac_cv_func_memcmp" = xyes
15668 then :
15669 printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h
15670
15671 fi
15672 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
15673 if test "x$ac_cv_func_memcpy" = xyes
15674 then :
15675 printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
15676
15677 fi
15678 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
15679 if test "x$ac_cv_func_mkstemp" = xyes
15680 then :
15681 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15682
15683 fi
15684 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15685 if test "x$ac_cv_func_mktemp" = xyes
15686 then :
15687 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15688
15689 fi
15690 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
15691 if test "x$ac_cv_func_strchr" = xyes
15692 then :
15693 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
15694
15695 fi
15696 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
15697 if test "x$ac_cv_func_strrchr" = xyes
15698 then :
15699 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
15700
15701 fi
15702
15703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15704 printf %s "checking for an ANSI C-conforming const... " >&6; }
15705 if test ${ac_cv_c_const+y}
15706 then :
15707 printf %s "(cached) " >&6
15708 else case e in #(
15709 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15711
15712 int
15713 main (void)
15714 {
15715
15716 #ifndef __cplusplus
15717 /* Ultrix mips cc rejects this sort of thing. */
15718 typedef int charset[2];
15719 const charset cs = { 0, 0 };
15720 /* SunOS 4.1.1 cc rejects this. */
15721 char const *const *pcpcc;
15722 char **ppc;
15723 /* NEC SVR4.0.2 mips cc rejects this. */
15724 struct point {int x, y;};
15725 static struct point const zero = {0,0};
15726 /* IBM XL C 1.02.0.0 rejects this.
15727 It does not let you subtract one const X* pointer from another in
15728 an arm of an if-expression whose if-part is not a constant
15729 expression */
15730 const char *g = "string";
15731 pcpcc = &g + (g ? g-g : 0);
15732 /* HPUX 7.0 cc rejects these. */
15733 ++pcpcc;
15734 ppc = (char**) pcpcc;
15735 pcpcc = (char const *const *) ppc;
15736 { /* SCO 3.2v4 cc rejects this sort of thing. */
15737 char tx;
15738 char *t = &tx;
15739 char const *s = 0 ? (char *) 0 : (char const *) 0;
15740
15741 *t++ = 0;
15742 if (s) return 0;
15743 }
15744 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15745 int x[] = {25, 17};
15746 const int *foo = &x[0];
15747 ++foo;
15748 }
15749 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15750 typedef const int *iptr;
15751 iptr p = 0;
15752 ++p;
15753 }
15754 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
15755 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15756 struct s { int j; const int *ap[3]; } bx;
15757 struct s *b = &bx; b->j = 5;
15758 }
15759 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15760 const int foo = 10;
15761 if (!foo) return 0;
15762 }
15763 return !cs[0] && !zero.x;
15764 #endif
15765
15766 ;
15767 return 0;
15768 }
15769 _ACEOF
15770 if ac_fn_c_try_compile "$LINENO"
15771 then :
15772 ac_cv_c_const=yes
15773 else case e in #(
15774 e) ac_cv_c_const=no ;;
15775 esac
15776 fi
15777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15778 esac
15779 fi
15780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15781 printf "%s\n" "$ac_cv_c_const" >&6; }
15782 if test $ac_cv_c_const = no; then
15783
15784 printf "%s\n" "#define const /**/" >>confdefs.h
15785
15786 fi
15787
15788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15789 printf %s "checking for inline... " >&6; }
15790 if test ${ac_cv_c_inline+y}
15791 then :
15792 printf %s "(cached) " >&6
15793 else case e in #(
15794 e) ac_cv_c_inline=no
15795 for ac_kw in inline __inline__ __inline; do
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15798 #ifndef __cplusplus
15799 typedef int foo_t;
15800 static $ac_kw foo_t static_foo (void) {return 0; }
15801 $ac_kw foo_t foo (void) {return 0; }
15802 #endif
15803
15804 _ACEOF
15805 if ac_fn_c_try_compile "$LINENO"
15806 then :
15807 ac_cv_c_inline=$ac_kw
15808 fi
15809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15810 test "$ac_cv_c_inline" != no && break
15811 done
15812 ;;
15813 esac
15814 fi
15815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15816 printf "%s\n" "$ac_cv_c_inline" >&6; }
15817
15818 case $ac_cv_c_inline in
15819 inline | yes) ;;
15820 *)
15821 case $ac_cv_c_inline in
15822 no) ac_val=;;
15823 *) ac_val=$ac_cv_c_inline;;
15824 esac
15825 cat >>confdefs.h <<_ACEOF
15826 #ifndef __cplusplus
15827 #define inline $ac_val
15828 #endif
15829 _ACEOF
15830 ;;
15831 esac
15832
15833 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15834 if test "x$ac_cv_type_size_t" = xyes
15835 then :
15836
15837 else case e in #(
15838 e)
15839 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
15840 ;;
15841 esac
15842 fi
15843
15844 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
15845 case $ac_cv_c_int64_t in #(
15846 no|yes) ;; #(
15847 *)
15848
15849 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
15850 ;;
15851 esac
15852
15853 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
15854 case $ac_cv_c_uint64_t in #(
15855 no|yes) ;; #(
15856 *)
15857
15858 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
15859
15860
15861 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
15862 ;;
15863 esac
15864
15865 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
15866 *':no:'*) :
15867 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
15868 *) :
15869 ;;
15870 esac
15871 ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
15872 " "$ac_c_undeclared_builtin_options" "CFLAGS"
15873 if test "x$ac_cv_have_decl_isascii" = xyes
15874 then :
15875 ac_have_decl=1
15876 else case e in #(
15877 e) ac_have_decl=0 ;;
15878 esac
15879 fi
15880 printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h
15881
15882 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15883 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
15884 then :
15885
15886 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
15887
15888
15889 fi
15890
15891
15892 if test "x$host_alias" != x && test "x$build_alias" = x
15893 then :
15894 as_fn_error $? "when cross-compiling you must specify both --host and --build." "$LINENO" 5
15895 fi
15896 eval kpse_build_alias=\${build_alias-$build}
15897
15898
15899 ac_config_headers="$ac_config_headers c-auto.h:c-auto.in"
15900
15901
15902 # The cast to long int works around a bug in the HP C Compiler
15903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15904 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
15905 # This bug is HP SR number 8606223364.
15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15907 printf %s "checking size of int... " >&6; }
15908 if test ${ac_cv_sizeof_int+y}
15909 then :
15910 printf %s "(cached) " >&6
15911 else case e in #(
15912 e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"
15913 then :
15914
15915 else case e in #(
15916 e) if test "$ac_cv_type_int" = yes; then
15917 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15918 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15919 as_fn_error 77 "cannot compute sizeof (int)
15920 See 'config.log' for more details" "$LINENO" 5; }
15921 else
15922 ac_cv_sizeof_int=0
15923 fi ;;
15924 esac
15925 fi
15926 ;;
15927 esac
15928 fi
15929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15930 printf "%s\n" "$ac_cv_sizeof_int" >&6; }
15931
15932
15933
15934 printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
15935
15936
15937
15938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
15939 printf %s "checking for library containing pow... " >&6; }
15940 if test ${ac_cv_search_pow+y}
15941 then :
15942 printf %s "(cached) " >&6
15943 else case e in #(
15944 e) ac_func_search_save_LIBS=$LIBS
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15947
15948 /* Override any GCC internal prototype to avoid an error.
15949 Use char because int might match the return type of a GCC
15950 builtin and then its argument prototype would still apply.
15951 The 'extern "C"' is for builds by C++ compilers;
15952 although this is not generally supported in C code supporting it here
15953 has little cost and some practical benefit (sr 110532). */
15954 #ifdef __cplusplus
15955 extern "C"
15956 #endif
15957 char pow (void);
15958 int
15959 main (void)
15960 {
15961 return pow ();
15962 ;
15963 return 0;
15964 }
15965 _ACEOF
15966 for ac_lib in '' m
15967 do
15968 if test -z "$ac_lib"; then
15969 ac_res="none required"
15970 else
15971 ac_res=-l$ac_lib
15972 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15973 fi
15974 if ac_fn_c_try_link "$LINENO"
15975 then :
15976 ac_cv_search_pow=$ac_res
15977 fi
15978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15979 conftest$ac_exeext
15980 if test ${ac_cv_search_pow+y}
15981 then :
15982 break
15983 fi
15984 done
15985 if test ${ac_cv_search_pow+y}
15986 then :
15987
15988 else case e in #(
15989 e) ac_cv_search_pow=no ;;
15990 esac
15991 fi
15992 rm conftest.$ac_ext
15993 LIBS=$ac_func_search_save_LIBS ;;
15994 esac
15995 fi
15996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
15997 printf "%s\n" "$ac_cv_search_pow" >&6; }
15998 ac_res=$ac_cv_search_pow
15999 if test "$ac_res" != no
16000 then :
16001 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16002
16003 fi
16004
16005
16006
16007
16008 printf "%s\n" "#define TL_VERSION \"TeX Live 2026\"" >>confdefs.h
16009
16010
16011 kpse_save_CPPFLAGS=$CPPFLAGS
16012 kpse_save_LIBS=$LIBS
16013
16014 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
16015 kpse_BLD=`(cd "./../../." && pwd)`
16016 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
16017
16018 echo 'tldbg:_KPSE_USE_LIBTOOL called, libtool package version: 2.5.4' >&5
16019 : ${CONFIG_LT=./config.lt}
16020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
16021 printf "%s\n" "$as_me: creating $CONFIG_LT" >&6;}
16022 as_write_fail=0
16023 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
16024 #! $SHELL
16025 # Generated by $as_me.
16026 # Run this file to recreate a libtool stub with the current configuration.
16027 SHELL=\${CONFIG_SHELL-$SHELL}
16028 export SHELL
16029 _ASEOF
16030 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
16031 ## -------------------- ##
16032 ## M4sh Initialization. ##
16033 ## -------------------- ##
16034
16035 # Be more Bourne compatible
16036 DUALCASE=1; export DUALCASE # for MKS sh
16037 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
16038 then :
16039 emulate sh
16040 NULLCMD=:
16041 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16042 # is contrary to our usage. Disable this feature.
16043 alias -g '${1+"$@"}'='"$@"'
16044 setopt NO_GLOB_SUBST
16045 else case e in #(
16046 e) case `(set -o) 2>/dev/null` in #(
16047 *posix*) :
16048 set -o posix ;; #(
16049 *) :
16050 ;;
16051 esac ;;
16052 esac
16053 fi
16054
16055
16056
16057 # Reset variables that may have inherited troublesome values from
16058 # the environment.
16059
16060 # IFS needs to be set, to space, tab, and newline, in precisely that order.
16061 # (If _AS_PATH_WALK were called with IFS unset, it would have the
16062 # side effect of setting IFS to empty, thus disabling word splitting.)
16063 # Quoting is to prevent editors from complaining about space-tab.
16064 as_nl='
16065 '
16066 export as_nl
16067 IFS=" "" $as_nl"
16068
16069 PS1='$ '
16070 PS2='> '
16071 PS4='+ '
16072
16073 # Ensure predictable behavior from utilities with locale-dependent output.
16074 LC_ALL=C
16075 export LC_ALL
16076 LANGUAGE=C
16077 export LANGUAGE
16078
16079 # We cannot yet rely on "unset" to work, but we need these variables
16080 # to be unset--not just set to an empty or harmless value--now, to
16081 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
16082 # also avoids known problems related to "unset" and subshell syntax
16083 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
16084 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
16085 do eval test \${$as_var+y} \
16086 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16087 done
16088
16089 # Ensure that fds 0, 1, and 2 are open.
16090 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
16091 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
16092 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
16093
16094 # The user is always right.
16095 if ${PATH_SEPARATOR+false} :; then
16096 PATH_SEPARATOR=:
16097 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16098 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16099 PATH_SEPARATOR=';'
16100 }
16101 fi
16102
16103
16104 # Find who we are. Look in the path if we contain no directory separator.
16105 as_myself=
16106 case $0 in #((
16107 *[\\/]* ) as_myself=$0 ;;
16108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16109 for as_dir in $PATH
16110 do
16111 IFS=$as_save_IFS
16112 case $as_dir in #(((
16113 '') as_dir=./ ;;
16114 */) ;;
16115 *) as_dir=$as_dir/ ;;
16116 esac
16117 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
16118 done
16119 IFS=$as_save_IFS
16120
16121 ;;
16122 esac
16123 # We did not find ourselves, most probably we were run as 'sh COMMAND'
16124 # in which case we are not to be found in the path.
16125 if test "x$as_myself" = x; then
16126 as_myself=$0
16127 fi
16128 if test ! -f "$as_myself"; then
16129 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16130 exit 1
16131 fi
16132
16133
16134
16135 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16136 # ----------------------------------------
16137 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16138 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16139 # script with STATUS, using 1 if that was 0.
16140 as_fn_error ()
16141 {
16142 as_status=$1; test $as_status -eq 0 && as_status=1
16143 if test "$4"; then
16144 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16146 fi
16147 printf "%s\n" "$as_me: error: $2" >&2
16148 as_fn_exit $as_status
16149 } # as_fn_error
16150
16151
16152 # as_fn_set_status STATUS
16153 # -----------------------
16154 # Set $? to STATUS, without forking.
16155 as_fn_set_status ()
16156 {
16157 return $1
16158 } # as_fn_set_status
16159
16160 # as_fn_exit STATUS
16161 # -----------------
16162 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16163 as_fn_exit ()
16164 {
16165 set +e
16166 as_fn_set_status $1
16167 exit $1
16168 } # as_fn_exit
16169
16170 # as_fn_unset VAR
16171 # ---------------
16172 # Portably unset VAR.
16173 as_fn_unset ()
16174 {
16175 { eval $1=; unset $1;}
16176 }
16177 as_unset=as_fn_unset
16178
16179 # as_fn_append VAR VALUE
16180 # ----------------------
16181 # Append the text in VALUE to the end of the definition contained in VAR. Take
16182 # advantage of any shell optimizations that allow amortized linear growth over
16183 # repeated appends, instead of the typical quadratic growth present in naive
16184 # implementations.
16185 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
16186 then :
16187 eval 'as_fn_append ()
16188 {
16189 eval $1+=\$2
16190 }'
16191 else case e in #(
16192 e) as_fn_append ()
16193 {
16194 eval $1=\$$1\$2
16195 } ;;
16196 esac
16197 fi # as_fn_append
16198
16199 # as_fn_arith ARG...
16200 # ------------------
16201 # Perform arithmetic evaluation on the ARGs, and store the result in the
16202 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16203 # must be portable across $(()) and expr.
16204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
16205 then :
16206 eval 'as_fn_arith ()
16207 {
16208 as_val=$(( $* ))
16209 }'
16210 else case e in #(
16211 e) as_fn_arith ()
16212 {
16213 as_val=`expr "$@" || test $? -eq 1`
16214 } ;;
16215 esac
16216 fi # as_fn_arith
16217
16218
16219 if expr a : '\(a\)' >/dev/null 2>&1 &&
16220 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16221 as_expr=expr
16222 else
16223 as_expr=false
16224 fi
16225
16226 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16227 as_basename=basename
16228 else
16229 as_basename=false
16230 fi
16231
16232 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16233 as_dirname=dirname
16234 else
16235 as_dirname=false
16236 fi
16237
16238 as_me=`$as_basename -- "$0" ||
16239 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16240 X"$0" : 'X\(//\)$' \| \
16241 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16242 printf "%s\n" X/"$0" |
16243 sed '/^.*\/\([^/][^/]*\)\/*$/{
16244 s//\1/
16245 q
16246 }
16247 /^X\/\(\/\/\)$/{
16248 s//\1/
16249 q
16250 }
16251 /^X\/\(\/\).*/{
16252 s//\1/
16253 q
16254 }
16255 s/.*/./; q'`
16256
16257 # Avoid depending upon Character Ranges.
16258 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16259 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16260 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16261 as_cr_digits='0123456789'
16262 as_cr_alnum=$as_cr_Letters$as_cr_digits
16263
16264
16265 # Determine whether it's possible to make 'echo' print without a newline.
16266 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
16267 # for compatibility with existing Makefiles.
16268 ECHO_C= ECHO_N= ECHO_T=
16269 case `echo -n x` in #(((((
16270 -n*)
16271 case `echo 'xy\c'` in
16272 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16273 xy) ECHO_C='\c';;
16274 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16275 ECHO_T=' ';;
16276 esac;;
16277 *)
16278 ECHO_N='-n';;
16279 esac
16280
16281 # For backward compatibility with old third-party macros, we provide
16282 # the shell variables $as_echo and $as_echo_n. New code should use
16283 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16284 as_echo='printf %s\n'
16285 as_echo_n='printf %s'
16286
16287 rm -f conf$$ conf$$.exe conf$$.file
16288 if test -d conf$$.dir; then
16289 rm -f conf$$.dir/conf$$.file
16290 else
16291 rm -f conf$$.dir
16292 mkdir conf$$.dir 2>/dev/null
16293 fi
16294 if (echo >conf$$.file) 2>/dev/null; then
16295 if ln -s conf$$.file conf$$ 2>/dev/null; then
16296 as_ln_s='ln -s'
16297 # ... but there are two gotchas:
16298 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
16299 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
16300 # In both cases, we have to default to 'cp -pR'.
16301 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16302 as_ln_s='cp -pR'
16303 elif ln conf$$.file conf$$ 2>/dev/null; then
16304 as_ln_s=ln
16305 else
16306 as_ln_s='cp -pR'
16307 fi
16308 else
16309 as_ln_s='cp -pR'
16310 fi
16311 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16312 rmdir conf$$.dir 2>/dev/null
16313
16314
16315 # as_fn_mkdir_p
16316 # -------------
16317 # Create "$as_dir" as a directory, including parents if necessary.
16318 as_fn_mkdir_p ()
16319 {
16320
16321 case $as_dir in #(
16322 -*) as_dir=./$as_dir;;
16323 esac
16324 test -d "$as_dir" || eval $as_mkdir_p || {
16325 as_dirs=
16326 while :; do
16327 case $as_dir in #(
16328 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16329 *) as_qdir=$as_dir;;
16330 esac
16331 as_dirs="'$as_qdir' $as_dirs"
16332 as_dir=`$as_dirname -- "$as_dir" ||
16333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16334 X"$as_dir" : 'X\(//\)[^/]' \| \
16335 X"$as_dir" : 'X\(//\)$' \| \
16336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16337 printf "%s\n" X"$as_dir" |
16338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16339 s//\1/
16340 q
16341 }
16342 /^X\(\/\/\)[^/].*/{
16343 s//\1/
16344 q
16345 }
16346 /^X\(\/\/\)$/{
16347 s//\1/
16348 q
16349 }
16350 /^X\(\/\).*/{
16351 s//\1/
16352 q
16353 }
16354 s/.*/./; q'`
16355 test -d "$as_dir" && break
16356 done
16357 test -z "$as_dirs" || eval "mkdir $as_dirs"
16358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16359
16360
16361 } # as_fn_mkdir_p
16362 if mkdir -p . 2>/dev/null; then
16363 as_mkdir_p='mkdir -p "$as_dir"'
16364 else
16365 test -d ./-p && rmdir ./-p
16366 as_mkdir_p=false
16367 fi
16368
16369
16370 # as_fn_executable_p FILE
16371 # -----------------------
16372 # Test if FILE is an executable regular file.
16373 as_fn_executable_p ()
16374 {
16375 test -f "$1" && test -x "$1"
16376 } # as_fn_executable_p
16377 as_test_x='test -x'
16378 as_executable_p=as_fn_executable_p
16379
16380 # Sed expression to map a string onto a valid CPP name.
16381 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16382 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
16383
16384 # Sed expression to map a string onto a valid variable name.
16385 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16386 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
16387
16388
16389 exec 6>&1
16390 ## --------------------------------- ##
16391 ## Main body of "$CONFIG_LT" script. ##
16392 ## --------------------------------- ##
16393 _ASEOF
16394 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16395
16396 cat >>"$CONFIG_LT" <<\_LTEOF
16397 lt_cl_silent=false
16398 exec 5>>config.log
16399 {
16400 echo
16401 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16402 ## Running $as_me. ##
16403 _ASBOX
16404 } >&5
16405
16406 lt_cl_help="\
16407 '$as_me' creates a local libtool stub from the current configuration,
16408 for use in further configure time tests before the real libtool is
16409 generated.
16410
16411 Usage: $0 [OPTIONS]
16412
16413 -h, --help print this help, then exit
16414 -V, --version print version number, then exit
16415 -q, --quiet do not print progress messages
16416 -d, --debug don't remove temporary files
16417
16418 Report bugs to <[email protected]>."
16419
16420 lt_cl_version="\
16421 dvipsk (TeX Live) config.lt 2026.1
16422 configured by $0, generated by GNU Autoconf 2.72.
16423
16424 Copyright (C) 2024 Free Software Foundation, Inc.
16425 This config.lt script is free software; the Free Software Foundation
16426 gives unlimited permission to copy, distribute and modify it."
16427
16428 while test 0 != $#
16429 do
16430 case $1 in
16431 --version | --v* | -V )
16432 echo "$lt_cl_version"; exit 0 ;;
16433 --help | --h* | -h )
16434 echo "$lt_cl_help"; exit 0 ;;
16435 --debug | --d* | -d )
16436 debug=: ;;
16437 --quiet | --q* | --silent | --s* | -q )
16438 lt_cl_silent=: ;;
16439
16440 -*) as_fn_error $? "unrecognized option: $1
16441 Try '$0 --help' for more information." "$LINENO" 5 ;;
16442
16443 *) as_fn_error $? "unrecognized argument: $1
16444 Try '$0 --help' for more information." "$LINENO" 5 ;;
16445 esac
16446 shift
16447 done
16448
16449 if $lt_cl_silent; then
16450 exec 6>/dev/null
16451 fi
16452 _LTEOF
16453
16454 cat >>"$CONFIG_LT" <<_LTEOF
16455
16456
16457 # The HP-UX ksh and POSIX shell print the target directory to stdout
16458 # if CDPATH is set.
16459 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16460
16461 sed_quote_subst='$sed_quote_subst'
16462 double_quote_subst='$double_quote_subst'
16463 delay_variable_subst='$delay_variable_subst'
16464 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16465 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16466 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16467 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16468 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16469 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16470 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16471 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16472 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16473 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16474 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16475 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16476 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16477 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16478 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16479 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16480 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16481 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16482 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16483 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16484 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16485 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16486 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16487 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16488 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16489 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16490 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16491 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16492 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16493 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16494 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16495 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16496 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16497 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16498 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16499 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16500 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16501 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16502 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16503 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16504 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16505 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16506 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16507 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16508 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16509 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16510 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16511 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16512 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16513 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16514 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16515 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16516 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16517 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16518 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16519 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16520 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16521 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16522 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16523 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16524 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16525 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"`'
16526 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16527 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16528 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16529 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16530 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16531 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16532 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16533 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16534 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16535 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16536 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16537 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16538 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16539 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16540 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16541 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16542 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16543 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16544 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16545 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16546 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16547 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16548 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16549 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16550 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16551 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16552 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16553 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16554 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16555 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16556 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16557 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16558 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16559 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16560 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16561 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16562 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16563 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16564 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16565 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16566 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16567 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16568 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16569 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16570 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16571 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16572 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16573 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16574 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16575 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16576 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16577 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16578 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16579 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16580 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16581 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16582 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16583 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16584 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16585 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16586 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16587 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16588 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16589 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16590 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16591 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16592 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16593 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16594 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16595 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16596 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16597 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16598 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16599 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16600 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16601 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16602
16603 LTCC='$LTCC'
16604 LTCFLAGS='$LTCFLAGS'
16605 compiler='$compiler_DEFAULT'
16606
16607 # A function that is used when there is no print builtin or printf.
16608 func_fallback_echo ()
16609 {
16610 eval 'cat <<_LTECHO_EOF
16611 \$1
16612 _LTECHO_EOF'
16613 }
16614
16615 # Quote evaled strings.
16616 for var in AS \
16617 DLLTOOL \
16618 OBJDUMP \
16619 SHELL \
16620 ECHO \
16621 PATH_SEPARATOR \
16622 SED \
16623 GREP \
16624 EGREP \
16625 FGREP \
16626 LD \
16627 NM \
16628 LN_S \
16629 lt_SP2NL \
16630 lt_NL2SP \
16631 reload_flag \
16632 FILECMD \
16633 deplibs_check_method \
16634 file_magic_cmd \
16635 file_magic_glob \
16636 want_nocaseglob \
16637 sharedlib_from_linklib_cmd \
16638 AR \
16639 archiver_list_spec \
16640 STRIP \
16641 RANLIB \
16642 CC \
16643 CFLAGS \
16644 compiler \
16645 lt_cv_sys_global_symbol_pipe \
16646 lt_cv_sys_global_symbol_to_cdecl \
16647 lt_cv_sys_global_symbol_to_import \
16648 lt_cv_sys_global_symbol_to_c_name_address \
16649 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16650 lt_cv_nm_interface \
16651 nm_file_list_spec \
16652 lt_cv_truncate_bin \
16653 lt_prog_compiler_no_builtin_flag \
16654 lt_prog_compiler_pic \
16655 lt_prog_compiler_wl \
16656 lt_prog_compiler_static \
16657 lt_cv_prog_compiler_c_o \
16658 need_locks \
16659 MANIFEST_TOOL \
16660 DSYMUTIL \
16661 NMEDIT \
16662 LIPO \
16663 OTOOL \
16664 OTOOL64 \
16665 shrext_cmds \
16666 export_dynamic_flag_spec \
16667 whole_archive_flag_spec \
16668 compiler_needs_object \
16669 with_gnu_ld \
16670 allow_undefined_flag \
16671 no_undefined_flag \
16672 hardcode_libdir_flag_spec \
16673 hardcode_libdir_separator \
16674 exclude_expsyms \
16675 include_expsyms \
16676 file_list_spec \
16677 variables_saved_for_relink \
16678 libname_spec \
16679 library_names_spec \
16680 soname_spec \
16681 install_override_mode \
16682 finish_eval \
16683 old_striplib \
16684 striplib; do
16685 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16686 *[\\\\\\\`\\"\\\$]*)
16687 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16688 ;;
16689 *)
16690 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16691 ;;
16692 esac
16693 done
16694
16695 # Double-quote double-evaled strings.
16696 for var in reload_cmds \
16697 old_postinstall_cmds \
16698 old_postuninstall_cmds \
16699 old_archive_cmds \
16700 extract_expsyms_cmds \
16701 old_archive_from_new_cmds \
16702 old_archive_from_expsyms_cmds \
16703 archive_cmds \
16704 archive_expsym_cmds \
16705 module_cmds \
16706 module_expsym_cmds \
16707 export_symbols_cmds \
16708 prelink_cmds \
16709 postlink_cmds \
16710 postinstall_cmds \
16711 postuninstall_cmds \
16712 finish_cmds \
16713 sys_lib_search_path_spec \
16714 configure_time_dlsearch_path \
16715 configure_time_lt_sys_library_path; do
16716 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16717 *[\\\\\\\`\\"\\\$]*)
16718 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16719 ;;
16720 *)
16721 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16722 ;;
16723 esac
16724 done
16725
16726 ac_aux_dir='$ac_aux_dir'
16727
16728 # See if we are running on zsh, and set the options that allow our
16729 # commands through without removal of \ escapes INIT.
16730 if test -n "\${ZSH_VERSION+set}"; then
16731 setopt NO_GLOB_SUBST
16732 fi
16733
16734
16735 PACKAGE='$PACKAGE'
16736 VERSION='$VERSION'
16737 RM='$RM'
16738 ofile='$ofile'
16739
16740
16741
16742 _LTEOF
16743
16744 cat >>"$CONFIG_LT" <<\_LTEOF
16745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
16746 printf "%s\n" "$as_me: creating $ofile" >&6;}
16747
16748
16749 # See if we are running on zsh, and set the options that allow our
16750 # commands through without removal of \ escapes.
16751 if test -n "${ZSH_VERSION+set}"; then
16752 setopt NO_GLOB_SUBST
16753 fi
16754
16755 cfgfile=${ofile}T
16756 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16757 $RM "$cfgfile"
16758
16759 cat <<_LT_EOF >> "$cfgfile"
16760 #! $SHELL
16761 # Generated automatically by $as_me ($PACKAGE) $VERSION
16762 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16763
16764 # Provide generalized library-building support services.
16765 # Written by Gordon Matzigkeit, 1996
16766
16767 # Copyright (C) 2024 Free Software Foundation, Inc.
16768 # This is free software; see the source for copying conditions. There is NO
16769 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16770
16771 # GNU Libtool is free software; you can redistribute it and/or modify
16772 # it under the terms of the GNU General Public License as published by
16773 # the Free Software Foundation; either version 2 of the License, or
16774 # (at your option) any later version.
16775 #
16776 # As a special exception to the GNU General Public License, if you
16777 # distribute this file as part of a program or library that is built
16778 # using GNU Libtool, you may include this file under the same
16779 # distribution terms that you use for the rest of that program.
16780 #
16781 # GNU Libtool is distributed in the hope that it will be useful, but
16782 # WITHOUT ANY WARRANTY; without even the implied warranty of
16783 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16784 # GNU General Public License for more details.
16785 #
16786 # You should have received a copy of the GNU General Public License
16787 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16788
16789
16790 # The names of the tagged configurations supported by this script.
16791 available_tags=''
16792
16793 # Configured defaults for sys_lib_dlsearch_path munging.
16794 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16795
16796 # ### BEGIN LIBTOOL CONFIG
16797
16798 # Which release of libtool.m4 was used?
16799 macro_version=$macro_version
16800 macro_revision=$macro_revision
16801
16802 # Assembler program.
16803 AS=$lt_AS
16804
16805 # DLL creation program.
16806 DLLTOOL=$lt_DLLTOOL
16807
16808 # Object dumper program.
16809 OBJDUMP=$lt_OBJDUMP
16810
16811 # Whether or not to build shared libraries.
16812 build_libtool_libs=$enable_shared
16813
16814 # Whether or not to build static libraries.
16815 build_old_libs=$enable_static
16816
16817 # What type of objects to build.
16818 pic_mode=$pic_mode
16819
16820 # Whether or not to optimize for fast installation.
16821 fast_install=$enable_fast_install
16822
16823 # Shared archive member basename,for filename based shared library versioning on AIX.
16824 shared_archive_member_spec=$shared_archive_member_spec
16825
16826 # Shell to use when invoking shell scripts.
16827 SHELL=$lt_SHELL
16828
16829 # An echo program that protects backslashes.
16830 ECHO=$lt_ECHO
16831
16832 # The PATH separator for the build system.
16833 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16834
16835 # The host system.
16836 host_alias=$host_alias
16837 host=$host
16838 host_os=$host_os
16839
16840 # The build system.
16841 build_alias=$build_alias
16842 build=$build
16843 build_os=$build_os
16844
16845 # A sed program that does not truncate output.
16846 SED=$lt_SED
16847
16848 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16849 Xsed="\$SED -e 1s/^X//"
16850
16851 # A grep program that handles long lines.
16852 GREP=$lt_GREP
16853
16854 # An ERE matcher.
16855 EGREP=$lt_EGREP
16856
16857 # A literal string matcher.
16858 FGREP=$lt_FGREP
16859
16860 # A BSD- or MS-compatible name lister.
16861 NM=$lt_NM
16862
16863 # Whether we need soft or hard links.
16864 LN_S=$lt_LN_S
16865
16866 # What is the maximum length of a command?
16867 max_cmd_len=$max_cmd_len
16868
16869 # Object file suffix (normally "o").
16870 objext=$ac_objext
16871
16872 # Executable file suffix (normally "").
16873 exeext=$exeext
16874
16875 # whether the shell understands "unset".
16876 lt_unset=$lt_unset
16877
16878 # turn spaces into newlines.
16879 SP2NL=$lt_lt_SP2NL
16880
16881 # turn newlines into spaces.
16882 NL2SP=$lt_lt_NL2SP
16883
16884 # convert \$build file names to \$host format.
16885 to_host_file_cmd=$lt_cv_to_host_file_cmd
16886
16887 # convert \$build files to toolchain format.
16888 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16889
16890 # A file(cmd) program that detects file types.
16891 FILECMD=$lt_FILECMD
16892
16893 # Method to check whether dependent libraries are shared objects.
16894 deplibs_check_method=$lt_deplibs_check_method
16895
16896 # Command to use when deplibs_check_method = "file_magic".
16897 file_magic_cmd=$lt_file_magic_cmd
16898
16899 # How to find potential files when deplibs_check_method = "file_magic".
16900 file_magic_glob=$lt_file_magic_glob
16901
16902 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16903 want_nocaseglob=$lt_want_nocaseglob
16904
16905 # Command to associate shared and link libraries.
16906 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16907
16908 # The archiver.
16909 AR=$lt_AR
16910
16911 # Flags to create an archive (by configure).
16912 lt_ar_flags=$lt_ar_flags
16913
16914 # Flags to create an archive.
16915 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16916
16917 # How to feed a file listing to the archiver.
16918 archiver_list_spec=$lt_archiver_list_spec
16919
16920 # A symbol stripping program.
16921 STRIP=$lt_STRIP
16922
16923 # Commands used to install an old-style archive.
16924 RANLIB=$lt_RANLIB
16925 old_postinstall_cmds=$lt_old_postinstall_cmds
16926 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16927
16928 # Whether to use a lock for old archive extraction.
16929 lock_old_archive_extraction=$lock_old_archive_extraction
16930
16931 # A C compiler.
16932 LTCC=$lt_CC
16933
16934 # LTCC compiler flags.
16935 LTCFLAGS=$lt_CFLAGS
16936
16937 # Take the output of nm and produce a listing of raw symbols and C names.
16938 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16939
16940 # Transform the output of nm in a proper C declaration.
16941 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16942
16943 # Transform the output of nm into a list of symbols to manually relocate.
16944 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16945
16946 # Transform the output of nm in a C name address pair.
16947 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16948
16949 # Transform the output of nm in a C name address pair when lib prefix is needed.
16950 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16951
16952 # The name lister interface.
16953 nm_interface=$lt_lt_cv_nm_interface
16954
16955 # Specify filename containing input files for \$NM.
16956 nm_file_list_spec=$lt_nm_file_list_spec
16957
16958 # The root where to search for dependent libraries,and where our libraries should be installed.
16959 lt_sysroot=$lt_sysroot
16960
16961 # Command to truncate a binary pipe.
16962 lt_truncate_bin=$lt_lt_cv_truncate_bin
16963
16964 # The name of the directory that contains temporary libtool files.
16965 objdir=$objdir
16966
16967 # Used to examine libraries when file_magic_cmd begins with "file".
16968 MAGIC_CMD=$MAGIC_CMD
16969
16970 # Must we lock files when doing compilation?
16971 need_locks=$lt_need_locks
16972
16973 # Manifest tool.
16974 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16975
16976 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16977 DSYMUTIL=$lt_DSYMUTIL
16978
16979 # Tool to change global to local symbols on Mac OS X.
16980 NMEDIT=$lt_NMEDIT
16981
16982 # Tool to manipulate fat objects and archives on Mac OS X.
16983 LIPO=$lt_LIPO
16984
16985 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16986 OTOOL=$lt_OTOOL
16987
16988 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16989 OTOOL64=$lt_OTOOL64
16990
16991 # Old archive suffix (normally "a").
16992 libext=$libext
16993
16994 # Shared library suffix (normally ".so").
16995 shrext_cmds=$lt_shrext_cmds
16996
16997 # The commands to extract the exported symbol list from a shared archive.
16998 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16999
17000 # Variables whose values should be saved in libtool wrapper scripts and
17001 # restored at link time.
17002 variables_saved_for_relink=$lt_variables_saved_for_relink
17003
17004 # Do we need the "lib" prefix for modules?
17005 need_lib_prefix=$need_lib_prefix
17006
17007 # Do we need a version for libraries?
17008 need_version=$need_version
17009
17010 # Library versioning type.
17011 version_type=$version_type
17012
17013 # Shared library runtime path variable.
17014 runpath_var=$runpath_var
17015
17016 # Shared library path variable.
17017 shlibpath_var=$shlibpath_var
17018
17019 # Is shlibpath searched before the hard-coded library search path?
17020 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17021
17022 # Format of library name prefix.
17023 libname_spec=$lt_libname_spec
17024
17025 # List of archive names. First name is the real one, the rest are links.
17026 # The last name is the one that the linker finds with -lNAME
17027 library_names_spec=$lt_library_names_spec
17028
17029 # The coded name of the library, if different from the real name.
17030 soname_spec=$lt_soname_spec
17031
17032 # Permission mode override for installation of shared libraries.
17033 install_override_mode=$lt_install_override_mode
17034
17035 # Command to use after installation of a shared archive.
17036 postinstall_cmds=$lt_postinstall_cmds
17037
17038 # Command to use after uninstallation of a shared archive.
17039 postuninstall_cmds=$lt_postuninstall_cmds
17040
17041 # Commands used to finish a libtool library installation in a directory.
17042 finish_cmds=$lt_finish_cmds
17043
17044 # As "finish_cmds", except a single script fragment to be evaled but
17045 # not shown.
17046 finish_eval=$lt_finish_eval
17047
17048 # Whether we should hardcode library paths into libraries.
17049 hardcode_into_libs=$hardcode_into_libs
17050
17051 # Compile-time system search path for libraries.
17052 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17053
17054 # Detected run-time system search path for libraries.
17055 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17056
17057 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17058 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17059
17060 # Whether dlopen is supported.
17061 dlopen_support=$enable_dlopen
17062
17063 # Whether dlopen of programs is supported.
17064 dlopen_self=$enable_dlopen_self
17065
17066 # Whether dlopen of statically linked programs is supported.
17067 dlopen_self_static=$enable_dlopen_self_static
17068
17069 # Commands to strip libraries.
17070 old_striplib=$lt_old_striplib
17071 striplib=$lt_striplib
17072
17073
17074 # The linker used to build libraries.
17075 LD=$lt_LD
17076
17077 # How to create reloadable object files.
17078 reload_flag=$lt_reload_flag
17079 reload_cmds=$lt_reload_cmds
17080
17081 # Commands used to build an old-style archive.
17082 old_archive_cmds=$lt_old_archive_cmds
17083
17084 # A language specific compiler.
17085 CC=$lt_compiler
17086
17087 # Is the compiler the GNU compiler?
17088 with_gcc=$GCC
17089
17090 # Compiler flag to turn off builtin functions.
17091 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17092
17093 # Additional compiler flags for building library objects.
17094 pic_flag=$lt_lt_prog_compiler_pic
17095
17096 # How to pass a linker flag through the compiler.
17097 wl=$lt_lt_prog_compiler_wl
17098
17099 # Compiler flag to prevent dynamic linking.
17100 link_static_flag=$lt_lt_prog_compiler_static
17101
17102 # Does compiler simultaneously support -c and -o options?
17103 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17104
17105 # Whether or not to add -lc for building shared libraries.
17106 build_libtool_need_lc=$archive_cmds_need_lc
17107
17108 # Whether or not to disallow shared libs when runtime libs are static.
17109 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17110
17111 # Compiler flag to allow reflexive dlopens.
17112 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17113
17114 # Compiler flag to generate shared objects directly from archives.
17115 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17116
17117 # Whether the compiler copes with passing no objects directly.
17118 compiler_needs_object=$lt_compiler_needs_object
17119
17120 # Create an old-style archive from a shared archive.
17121 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17122
17123 # Create a temporary old-style archive to link instead of a shared archive.
17124 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17125
17126 # Commands used to build a shared archive.
17127 archive_cmds=$lt_archive_cmds
17128 archive_expsym_cmds=$lt_archive_expsym_cmds
17129
17130 # Commands used to build a loadable module if different from building
17131 # a shared archive.
17132 module_cmds=$lt_module_cmds
17133 module_expsym_cmds=$lt_module_expsym_cmds
17134
17135 # Whether we are building with GNU ld or not.
17136 with_gnu_ld=$lt_with_gnu_ld
17137
17138 # Flag that allows shared libraries with undefined symbols to be built.
17139 allow_undefined_flag=$lt_allow_undefined_flag
17140
17141 # Flag that enforces no undefined symbols.
17142 no_undefined_flag=$lt_no_undefined_flag
17143
17144 # Flag to hardcode \$libdir into a binary during linking.
17145 # This must work even if \$libdir does not exist
17146 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17147
17148 # Whether we need a single "-rpath" flag with a separated argument.
17149 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17150
17151 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17152 # DIR into the resulting binary.
17153 hardcode_direct=$hardcode_direct
17154
17155 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17156 # DIR into the resulting binary and the resulting library dependency is
17157 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
17158 # library is relocated.
17159 hardcode_direct_absolute=$hardcode_direct_absolute
17160
17161 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17162 # into the resulting binary.
17163 hardcode_minus_L=$hardcode_minus_L
17164
17165 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17166 # into the resulting binary.
17167 hardcode_shlibpath_var=$hardcode_shlibpath_var
17168
17169 # Set to "yes" if building a shared library automatically hardcodes DIR
17170 # into the library and all subsequent libraries and executables linked
17171 # against it.
17172 hardcode_automatic=$hardcode_automatic
17173
17174 # Set to yes if linker adds runtime paths of dependent libraries
17175 # to runtime path list.
17176 inherit_rpath=$inherit_rpath
17177
17178 # Whether libtool must link a program against all its dependency libraries.
17179 link_all_deplibs=$link_all_deplibs
17180
17181 # Set to "yes" if exported symbols are required.
17182 always_export_symbols=$always_export_symbols
17183
17184 # The commands to list exported symbols.
17185 export_symbols_cmds=$lt_export_symbols_cmds
17186
17187 # Symbols that should not be listed in the preloaded symbols.
17188 exclude_expsyms=$lt_exclude_expsyms
17189
17190 # Symbols that must always be exported.
17191 include_expsyms=$lt_include_expsyms
17192
17193 # Commands necessary for linking programs (against libraries) with templates.
17194 prelink_cmds=$lt_prelink_cmds
17195
17196 # Commands necessary for finishing linking programs.
17197 postlink_cmds=$lt_postlink_cmds
17198
17199 # Specify filename containing input files.
17200 file_list_spec=$lt_file_list_spec
17201
17202 # How to hardcode a shared library path into an executable.
17203 hardcode_action=$hardcode_action
17204
17205 # ### END LIBTOOL CONFIG
17206
17207 _LT_EOF
17208
17209 cat <<'_LT_EOF' >> "$cfgfile"
17210
17211 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17212
17213 # func_munge_path_list VARIABLE PATH
17214 # -----------------------------------
17215 # VARIABLE is name of variable containing _space_ separated list of
17216 # directories to be munged by the contents of PATH, which is string
17217 # having a format:
17218 # "DIR[:DIR]:"
17219 # string "DIR[ DIR]" will be prepended to VARIABLE
17220 # ":DIR[:DIR]"
17221 # string "DIR[ DIR]" will be appended to VARIABLE
17222 # "DIRP[:DIRP]::[DIRA:]DIRA"
17223 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17224 # "DIRA[ DIRA]" will be appended to VARIABLE
17225 # "DIR[:DIR]"
17226 # VARIABLE will be replaced by "DIR[ DIR]"
17227 func_munge_path_list ()
17228 {
17229 case x$2 in
17230 x)
17231 ;;
17232 *:)
17233 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17234 ;;
17235 x:*)
17236 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17237 ;;
17238 *::*)
17239 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17240 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17241 ;;
17242 *)
17243 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17244 ;;
17245 esac
17246 }
17247
17248
17249 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17250 func_cc_basename ()
17251 {
17252 for cc_temp in $*""; do
17253 case $cc_temp in
17254 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17255 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17256 \-*) ;;
17257 *) break;;
17258 esac
17259 done
17260 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17261 }
17262
17263
17264 # ### END FUNCTIONS SHARED WITH CONFIGURE
17265
17266 _LT_EOF
17267
17268 case $host_os in
17269 aix3*)
17270 cat <<\_LT_EOF >> "$cfgfile"
17271 # AIX sometimes has problems with the GCC collect2 program. For some
17272 # reason, if we set the COLLECT_NAMES environment variable, the problems
17273 # vanish in a puff of smoke.
17274 if test set != "${COLLECT_NAMES+set}"; then
17275 COLLECT_NAMES=
17276 export COLLECT_NAMES
17277 fi
17278 _LT_EOF
17279 ;;
17280 esac
17281
17282
17283
17284 ltmain=$ac_aux_dir/ltmain.sh
17285
17286
17287 # We use sed instead of cat because bash on DJGPP gets confused if
17288 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17289 # text mode, it properly converts lines to CR/LF. This bash problem
17290 # is reportedly fixed, but why not run on old versions too?
17291 $SED '$q' "$ltmain" >> "$cfgfile" \
17292 || (rm -f "$cfgfile"; exit 1)
17293
17294 mv -f "$cfgfile" "$ofile" ||
17295 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17296 chmod +x "$ofile"
17297
17298
17299 as_fn_exit 0
17300 _LTEOF
17301 chmod +x "$CONFIG_LT"
17302
17303 # configure is writing to config.log, but config.lt does its own redirection,
17304 # appending to config.log, which fails on DOS, as config.log is still kept
17305 # open by configure. Here we exec the FD to /dev/null, effectively closing
17306 # config.log, so it can be properly (re)opened and appended to by config.lt.
17307 lt_cl_success=:
17308 test yes = "$silent" &&
17309 lt_config_lt_args="$lt_config_lt_args --quiet"
17310 exec 5>/dev/null
17311 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17312 exec 5>>config.log
17313 $lt_cl_success || as_fn_exit 1
17314
17315 #
17316 #
17317 ac_ext=c
17318 ac_cpp='$CPP $CPPFLAGS'
17319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17322 ac_link="./libtool --mode=link --tag=CC $ac_link"
17323
17324 if test -n "$ac_tool_prefix"; then
17325 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17326 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17328 printf %s "checking for $ac_word... " >&6; }
17329 if test ${ac_cv_prog_PKG_CONFIG+y}
17330 then :
17331 printf %s "(cached) " >&6
17332 else case e in #(
17333 e) if test -n "$PKG_CONFIG"; then
17334 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
17335 else
17336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17337 for as_dir in $PATH
17338 do
17339 IFS=$as_save_IFS
17340 case $as_dir in #(((
17341 '') as_dir=./ ;;
17342 */) ;;
17343 *) as_dir=$as_dir/ ;;
17344 esac
17345 for ac_exec_ext in '' $ac_executable_extensions; do
17346 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17347 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17349 break 2
17350 fi
17351 done
17352 done
17353 IFS=$as_save_IFS
17354
17355 fi ;;
17356 esac
17357 fi
17358 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17359 if test -n "$PKG_CONFIG"; then
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17361 printf "%s\n" "$PKG_CONFIG" >&6; }
17362 else
17363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17364 printf "%s\n" "no" >&6; }
17365 fi
17366
17367
17368 fi
17369 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17370 ac_ct_PKG_CONFIG=$PKG_CONFIG
17371 # Extract the first word of "pkg-config", so it can be a program name with args.
17372 set dummy pkg-config; ac_word=$2
17373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17374 printf %s "checking for $ac_word... " >&6; }
17375 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17376 then :
17377 printf %s "(cached) " >&6
17378 else case e in #(
17379 e) if test -n "$ac_ct_PKG_CONFIG"; then
17380 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17381 else
17382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17383 for as_dir in $PATH
17384 do
17385 IFS=$as_save_IFS
17386 case $as_dir in #(((
17387 '') as_dir=./ ;;
17388 */) ;;
17389 *) as_dir=$as_dir/ ;;
17390 esac
17391 for ac_exec_ext in '' $ac_executable_extensions; do
17392 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17393 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17395 break 2
17396 fi
17397 done
17398 done
17399 IFS=$as_save_IFS
17400
17401 fi ;;
17402 esac
17403 fi
17404 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17405 if test -n "$ac_ct_PKG_CONFIG"; then
17406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17407 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17408 else
17409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17410 printf "%s\n" "no" >&6; }
17411 fi
17412
17413 if test "x$ac_ct_PKG_CONFIG" = x; then
17414 PKG_CONFIG="false"
17415 else
17416 case $cross_compiling:$ac_tool_warned in
17417 yes:)
17418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17419 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17420 ac_tool_warned=yes ;;
17421 esac
17422 PKG_CONFIG=$ac_ct_PKG_CONFIG
17423 fi
17424 else
17425 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17426 fi
17427
17428 ##tldbg _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags.
17429 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
17430 ##tldbg _KPSE_LIB_FLAGS_TL: kpathsea (kpathsea) lt.
17431
17432 # Check whether --with-system-kpathsea was given.
17433 if test ${with_system_kpathsea+y}
17434 then :
17435 withval=$with_system_kpathsea;
17436 fi
17437 if test "x$with_system_kpathsea" = xyes; then
17438 if $PKG_CONFIG kpathsea; then
17439 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
17440 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
17441 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17442 as_fn_error $? "did not find kpathsea" "$LINENO" 5
17443 fi
17444 else
17445 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
17446 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
17447 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
17448 KPATHSEA_RULE='# Rebuild libkpathsea
17449 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
17450 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
17451 ${top_builddir}/../kpathsea/paths.h:
17452 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17453 fi
17454
17455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
17456 printf %s "checking if libkpathsea supports debugging... " >&6; }
17457 if test ${kpse_cv_kpse_debug+y}
17458 then :
17459 printf %s "(cached) " >&6
17460 else case e in #(
17461 e) eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17462 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17463
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 #include <kpathsea/kpathsea.h>
17467 int
17468 main (void)
17469 {
17470 FILE *f = fopen("f", "r")
17471 ;
17472 return 0;
17473 }
17474 _ACEOF
17475 if ac_fn_c_try_link "$LINENO"
17476 then :
17477 kpse_cv_kpse_debug=yes
17478 else case e in #(
17479 e) kpse_cv_kpse_debug=no ;;
17480 esac
17481 fi
17482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17483 conftest$ac_exeext conftest.$ac_ext
17484 CPPFLAGS=$kpse_save_CPPFLAGS
17485 LIBS=$kpse_save_LIBS
17486 ;;
17487 esac
17488 fi
17489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
17490 printf "%s\n" "$kpse_cv_kpse_debug" >&6; }
17491 if test "x$kpse_cv_kpse_debug" != xyes
17492 then :
17493 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
17494 fi
17495
17496
17497 # For dvips-all.enc.
17498 encdir='${datarootdir}/texmf-dist/fonts/enc/dvips/base'
17499
17500
17501 ac_config_files="$ac_config_files Makefile"
17502
17503
17504 # The subdirectory squeeze must be configured for the build system.
17505
17506
17507 subdirs="$subdirs squeeze"
17508
17509
17510
17511
17512 cat >confcache <<\_ACEOF
17513 # This file is a shell script that caches the results of configure
17514 # tests run on this system so they can be shared between configure
17515 # scripts and configure runs, see configure's option --config-cache.
17516 # It is not useful on other systems. If it contains results you don't
17517 # want to keep, you may remove or edit it.
17518 #
17519 # config.status only pays attention to the cache file if you give it
17520 # the --recheck option to rerun configure.
17521 #
17522 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
17523 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
17524 # following values.
17525
17526 _ACEOF
17527
17528 # The following way of writing the cache mishandles newlines in values,
17529 # but we know of no workaround that is simple, portable, and efficient.
17530 # So, we kill variables containing newlines.
17531 # Ultrix sh set writes to stderr and can't be redirected directly,
17532 # and sets the high bit in the cache file unless we assign to the vars.
17533 (
17534 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17535 eval ac_val=\$$ac_var
17536 case $ac_val in #(
17537 *${as_nl}*)
17538 case $ac_var in #(
17539 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17540 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17541 esac
17542 case $ac_var in #(
17543 _ | IFS | as_nl) ;; #(
17544 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17545 *) { eval $ac_var=; unset $ac_var;} ;;
17546 esac ;;
17547 esac
17548 done
17549
17550 (set) 2>&1 |
17551 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17552 *${as_nl}ac_space=\ *)
17553 # 'set' does not quote correctly, so add quotes: double-quote
17554 # substitution turns \\\\ into \\, and sed turns \\ into \.
17555 sed -n \
17556 "s/'/'\\\\''/g;
17557 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17558 ;; #(
17559 *)
17560 # 'set' quotes correctly as required by POSIX, so do not add quotes.
17561 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17562 ;;
17563 esac |
17564 sort
17565 ) |
17566 sed '
17567 /^ac_cv_env_/b end
17568 t clear
17569 :clear
17570 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
17571 t end
17572 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17573 :end' >>confcache
17574 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17575 if test -w "$cache_file"; then
17576 if test "x$cache_file" != "x/dev/null"; then
17577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17578 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
17579 if test ! -f "$cache_file" || test -h "$cache_file"; then
17580 cat confcache >"$cache_file"
17581 else
17582 case $cache_file in #(
17583 */* | ?:*)
17584 mv -f confcache "$cache_file"$$ &&
17585 mv -f "$cache_file"$$ "$cache_file" ;; #(
17586 *)
17587 mv -f confcache "$cache_file" ;;
17588 esac
17589 fi
17590 fi
17591 else
17592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17593 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
17594 fi
17595 fi
17596 rm -f confcache
17597
17598 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17599 # Let make expand exec_prefix.
17600 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17601
17602 DEFS=-DHAVE_CONFIG_H
17603
17604 ac_libobjs=
17605 ac_ltlibobjs=
17606 U=
17607 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17608 # 1. Remove the extension, and $U if already installed.
17609 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17610 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
17611 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17612 # will be set to the directory where LIBOBJS objects are built.
17613 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17614 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17615 done
17616 LIBOBJS=$ac_libobjs
17617
17618 LTLIBOBJS=$ac_ltlibobjs
17619
17620
17621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17622 printf %s "checking that generated files are newer than configure... " >&6; }
17623 if test -n "$am_sleep_pid"; then
17624 # Hide warnings about reused PIDs.
17625 wait $am_sleep_pid 2>/dev/null
17626 fi
17627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
17628 printf "%s\n" "done" >&6; }
17629 case $enable_silent_rules in # (((
17630 yes) AM_DEFAULT_VERBOSITY=0;;
17631 no) AM_DEFAULT_VERBOSITY=1;;
17632 esac
17633 if test $am_cv_make_support_nested_variables = yes; then
17634 AM_V='$(V)'
17635 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17636 else
17637 AM_V=$AM_DEFAULT_VERBOSITY
17638 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17639 fi
17640
17641 if test -n "$EXEEXT"; then
17642 am__EXEEXT_TRUE=
17643 am__EXEEXT_FALSE='#'
17644 else
17645 am__EXEEXT_TRUE='#'
17646 am__EXEEXT_FALSE=
17647 fi
17648
17649 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17650 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17652 fi
17653 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17654 as_fn_error $? "conditional \"AMDEP\" was never defined.
17655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17656 fi
17657 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17658 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17660 fi
17661 # Check whether --enable-year2038 was given.
17662 if test ${enable_year2038+y}
17663 then :
17664 enableval=$enable_year2038;
17665 fi
17666
17667
17668 : "${CONFIG_STATUS=./config.status}"
17669 ac_write_fail=0
17670 ac_clean_files_save=$ac_clean_files
17671 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17673 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17674 as_write_fail=0
17675 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17676 #! $SHELL
17677 # Generated by $as_me.
17678 # Run this file to recreate the current configuration.
17679 # Compiler output produced by configure, useful for debugging
17680 # configure, is in config.log if it exists.
17681
17682 debug=false
17683 ac_cs_recheck=false
17684 ac_cs_silent=false
17685
17686 SHELL=\${CONFIG_SHELL-$SHELL}
17687 export SHELL
17688 _ASEOF
17689 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17690 ## -------------------- ##
17691 ## M4sh Initialization. ##
17692 ## -------------------- ##
17693
17694 # Be more Bourne compatible
17695 DUALCASE=1; export DUALCASE # for MKS sh
17696 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17697 then :
17698 emulate sh
17699 NULLCMD=:
17700 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17701 # is contrary to our usage. Disable this feature.
17702 alias -g '${1+"$@"}'='"$@"'
17703 setopt NO_GLOB_SUBST
17704 else case e in #(
17705 e) case `(set -o) 2>/dev/null` in #(
17706 *posix*) :
17707 set -o posix ;; #(
17708 *) :
17709 ;;
17710 esac ;;
17711 esac
17712 fi
17713
17714
17715
17716 # Reset variables that may have inherited troublesome values from
17717 # the environment.
17718
17719 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17720 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17721 # side effect of setting IFS to empty, thus disabling word splitting.)
17722 # Quoting is to prevent editors from complaining about space-tab.
17723 as_nl='
17724 '
17725 export as_nl
17726 IFS=" "" $as_nl"
17727
17728 PS1='$ '
17729 PS2='> '
17730 PS4='+ '
17731
17732 # Ensure predictable behavior from utilities with locale-dependent output.
17733 LC_ALL=C
17734 export LC_ALL
17735 LANGUAGE=C
17736 export LANGUAGE
17737
17738 # We cannot yet rely on "unset" to work, but we need these variables
17739 # to be unset--not just set to an empty or harmless value--now, to
17740 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17741 # also avoids known problems related to "unset" and subshell syntax
17742 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17743 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17744 do eval test \${$as_var+y} \
17745 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17746 done
17747
17748 # Ensure that fds 0, 1, and 2 are open.
17749 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17750 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17751 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17752
17753 # The user is always right.
17754 if ${PATH_SEPARATOR+false} :; then
17755 PATH_SEPARATOR=:
17756 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17757 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17758 PATH_SEPARATOR=';'
17759 }
17760 fi
17761
17762
17763 # Find who we are. Look in the path if we contain no directory separator.
17764 as_myself=
17765 case $0 in #((
17766 *[\\/]* ) as_myself=$0 ;;
17767 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17768 for as_dir in $PATH
17769 do
17770 IFS=$as_save_IFS
17771 case $as_dir in #(((
17772 '') as_dir=./ ;;
17773 */) ;;
17774 *) as_dir=$as_dir/ ;;
17775 esac
17776 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17777 done
17778 IFS=$as_save_IFS
17779
17780 ;;
17781 esac
17782 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17783 # in which case we are not to be found in the path.
17784 if test "x$as_myself" = x; then
17785 as_myself=$0
17786 fi
17787 if test ! -f "$as_myself"; then
17788 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17789 exit 1
17790 fi
17791
17792
17793
17794 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17795 # ----------------------------------------
17796 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17797 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17798 # script with STATUS, using 1 if that was 0.
17799 as_fn_error ()
17800 {
17801 as_status=$1; test $as_status -eq 0 && as_status=1
17802 if test "$4"; then
17803 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17805 fi
17806 printf "%s\n" "$as_me: error: $2" >&2
17807 as_fn_exit $as_status
17808 } # as_fn_error
17809
17810
17811 # as_fn_set_status STATUS
17812 # -----------------------
17813 # Set $? to STATUS, without forking.
17814 as_fn_set_status ()
17815 {
17816 return $1
17817 } # as_fn_set_status
17818
17819 # as_fn_exit STATUS
17820 # -----------------
17821 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17822 as_fn_exit ()
17823 {
17824 set +e
17825 as_fn_set_status $1
17826 exit $1
17827 } # as_fn_exit
17828
17829 # as_fn_unset VAR
17830 # ---------------
17831 # Portably unset VAR.
17832 as_fn_unset ()
17833 {
17834 { eval $1=; unset $1;}
17835 }
17836 as_unset=as_fn_unset
17837
17838 # as_fn_append VAR VALUE
17839 # ----------------------
17840 # Append the text in VALUE to the end of the definition contained in VAR. Take
17841 # advantage of any shell optimizations that allow amortized linear growth over
17842 # repeated appends, instead of the typical quadratic growth present in naive
17843 # implementations.
17844 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17845 then :
17846 eval 'as_fn_append ()
17847 {
17848 eval $1+=\$2
17849 }'
17850 else case e in #(
17851 e) as_fn_append ()
17852 {
17853 eval $1=\$$1\$2
17854 } ;;
17855 esac
17856 fi # as_fn_append
17857
17858 # as_fn_arith ARG...
17859 # ------------------
17860 # Perform arithmetic evaluation on the ARGs, and store the result in the
17861 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17862 # must be portable across $(()) and expr.
17863 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17864 then :
17865 eval 'as_fn_arith ()
17866 {
17867 as_val=$(( $* ))
17868 }'
17869 else case e in #(
17870 e) as_fn_arith ()
17871 {
17872 as_val=`expr "$@" || test $? -eq 1`
17873 } ;;
17874 esac
17875 fi # as_fn_arith
17876
17877
17878 if expr a : '\(a\)' >/dev/null 2>&1 &&
17879 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17880 as_expr=expr
17881 else
17882 as_expr=false
17883 fi
17884
17885 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17886 as_basename=basename
17887 else
17888 as_basename=false
17889 fi
17890
17891 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17892 as_dirname=dirname
17893 else
17894 as_dirname=false
17895 fi
17896
17897 as_me=`$as_basename -- "$0" ||
17898 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17899 X"$0" : 'X\(//\)$' \| \
17900 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17901 printf "%s\n" X/"$0" |
17902 sed '/^.*\/\([^/][^/]*\)\/*$/{
17903 s//\1/
17904 q
17905 }
17906 /^X\/\(\/\/\)$/{
17907 s//\1/
17908 q
17909 }
17910 /^X\/\(\/\).*/{
17911 s//\1/
17912 q
17913 }
17914 s/.*/./; q'`
17915
17916 # Avoid depending upon Character Ranges.
17917 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17918 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17919 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17920 as_cr_digits='0123456789'
17921 as_cr_alnum=$as_cr_Letters$as_cr_digits
17922
17923
17924 # Determine whether it's possible to make 'echo' print without a newline.
17925 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17926 # for compatibility with existing Makefiles.
17927 ECHO_C= ECHO_N= ECHO_T=
17928 case `echo -n x` in #(((((
17929 -n*)
17930 case `echo 'xy\c'` in
17931 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17932 xy) ECHO_C='\c';;
17933 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17934 ECHO_T=' ';;
17935 esac;;
17936 *)
17937 ECHO_N='-n';;
17938 esac
17939
17940 # For backward compatibility with old third-party macros, we provide
17941 # the shell variables $as_echo and $as_echo_n. New code should use
17942 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
17943 as_echo='printf %s\n'
17944 as_echo_n='printf %s'
17945
17946 rm -f conf$$ conf$$.exe conf$$.file
17947 if test -d conf$$.dir; then
17948 rm -f conf$$.dir/conf$$.file
17949 else
17950 rm -f conf$$.dir
17951 mkdir conf$$.dir 2>/dev/null
17952 fi
17953 if (echo >conf$$.file) 2>/dev/null; then
17954 if ln -s conf$$.file conf$$ 2>/dev/null; then
17955 as_ln_s='ln -s'
17956 # ... but there are two gotchas:
17957 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
17958 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
17959 # In both cases, we have to default to 'cp -pR'.
17960 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17961 as_ln_s='cp -pR'
17962 elif ln conf$$.file conf$$ 2>/dev/null; then
17963 as_ln_s=ln
17964 else
17965 as_ln_s='cp -pR'
17966 fi
17967 else
17968 as_ln_s='cp -pR'
17969 fi
17970 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17971 rmdir conf$$.dir 2>/dev/null
17972
17973
17974 # as_fn_mkdir_p
17975 # -------------
17976 # Create "$as_dir" as a directory, including parents if necessary.
17977 as_fn_mkdir_p ()
17978 {
17979
17980 case $as_dir in #(
17981 -*) as_dir=./$as_dir;;
17982 esac
17983 test -d "$as_dir" || eval $as_mkdir_p || {
17984 as_dirs=
17985 while :; do
17986 case $as_dir in #(
17987 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17988 *) as_qdir=$as_dir;;
17989 esac
17990 as_dirs="'$as_qdir' $as_dirs"
17991 as_dir=`$as_dirname -- "$as_dir" ||
17992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17993 X"$as_dir" : 'X\(//\)[^/]' \| \
17994 X"$as_dir" : 'X\(//\)$' \| \
17995 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17996 printf "%s\n" X"$as_dir" |
17997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17998 s//\1/
17999 q
18000 }
18001 /^X\(\/\/\)[^/].*/{
18002 s//\1/
18003 q
18004 }
18005 /^X\(\/\/\)$/{
18006 s//\1/
18007 q
18008 }
18009 /^X\(\/\).*/{
18010 s//\1/
18011 q
18012 }
18013 s/.*/./; q'`
18014 test -d "$as_dir" && break
18015 done
18016 test -z "$as_dirs" || eval "mkdir $as_dirs"
18017 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18018
18019
18020 } # as_fn_mkdir_p
18021 if mkdir -p . 2>/dev/null; then
18022 as_mkdir_p='mkdir -p "$as_dir"'
18023 else
18024 test -d ./-p && rmdir ./-p
18025 as_mkdir_p=false
18026 fi
18027
18028
18029 # as_fn_executable_p FILE
18030 # -----------------------
18031 # Test if FILE is an executable regular file.
18032 as_fn_executable_p ()
18033 {
18034 test -f "$1" && test -x "$1"
18035 } # as_fn_executable_p
18036 as_test_x='test -x'
18037 as_executable_p=as_fn_executable_p
18038
18039 # Sed expression to map a string onto a valid CPP name.
18040 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
18041 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
18042
18043 # Sed expression to map a string onto a valid variable name.
18044 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
18045 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
18046
18047
18048 exec 6>&1
18049 ## ----------------------------------- ##
18050 ## Main body of $CONFIG_STATUS script. ##
18051 ## ----------------------------------- ##
18052 _ASEOF
18053 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18054
18055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18056 # Save the log message, to keep $0 and so on meaningful, and to
18057 # report actual input values of CONFIG_FILES etc. instead of their
18058 # values after options handling.
18059 ac_log="
18060 This file was extended by dvipsk (TeX Live) $as_me 2026.1, which was
18061 generated by GNU Autoconf 2.72. Invocation command line was
18062
18063 CONFIG_FILES = $CONFIG_FILES
18064 CONFIG_HEADERS = $CONFIG_HEADERS
18065 CONFIG_LINKS = $CONFIG_LINKS
18066 CONFIG_COMMANDS = $CONFIG_COMMANDS
18067 $ $0 $@
18068
18069 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18070 "
18071
18072 _ACEOF
18073
18074 case $ac_config_files in *"
18075 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18076 esac
18077
18078 case $ac_config_headers in *"
18079 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18080 esac
18081
18082
18083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18084 # Files that config.status was made for.
18085 config_files="$ac_config_files"
18086 config_headers="$ac_config_headers"
18087 config_commands="$ac_config_commands"
18088
18089 _ACEOF
18090
18091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18092 ac_cs_usage="\
18093 '$as_me' instantiates files and other configuration actions
18094 from templates according to the current configuration. Unless the files
18095 and actions are specified as TAGs, all are instantiated by default.
18096
18097 Usage: $0 [OPTION]... [TAG]...
18098
18099 -h, --help print this help, then exit
18100 -V, --version print version number and configuration settings, then exit
18101 --config print configuration, then exit
18102 -q, --quiet, --silent
18103 do not print progress messages
18104 -d, --debug don't remove temporary files
18105 --recheck update $as_me by reconfiguring in the same conditions
18106 --file=FILE[:TEMPLATE]
18107 instantiate the configuration file FILE
18108 --header=FILE[:TEMPLATE]
18109 instantiate the configuration header FILE
18110
18111 Configuration files:
18112 $config_files
18113
18114 Configuration headers:
18115 $config_headers
18116
18117 Configuration commands:
18118 $config_commands
18119
18120 Report bugs to <[email protected]>."
18121
18122 _ACEOF
18123 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
18124 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
18125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18126 ac_cs_config='$ac_cs_config_escaped'
18127 ac_cs_version="\\
18128 dvipsk (TeX Live) config.status 2026.1
18129 configured by $0, generated by GNU Autoconf 2.72,
18130 with options \\"\$ac_cs_config\\"
18131
18132 Copyright (C) 2023 Free Software Foundation, Inc.
18133 This config.status script is free software; the Free Software Foundation
18134 gives unlimited permission to copy, distribute and modify it."
18135
18136 ac_pwd='$ac_pwd'
18137 srcdir='$srcdir'
18138 INSTALL='$INSTALL'
18139 MKDIR_P='$MKDIR_P'
18140 AWK='$AWK'
18141 test -n "\$AWK" || AWK=awk
18142 _ACEOF
18143
18144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18145 # The default lists apply if the user does not specify any file.
18146 ac_need_defaults=:
18147 while test $# != 0
18148 do
18149 case $1 in
18150 --*=?*)
18151 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18152 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18153 ac_shift=:
18154 ;;
18155 --*=)
18156 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18157 ac_optarg=
18158 ac_shift=:
18159 ;;
18160 *)
18161 ac_option=$1
18162 ac_optarg=$2
18163 ac_shift=shift
18164 ;;
18165 esac
18166
18167 case $ac_option in
18168 # Handling of the options.
18169 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18170 ac_cs_recheck=: ;;
18171 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18172 printf "%s\n" "$ac_cs_version"; exit ;;
18173 --config | --confi | --conf | --con | --co | --c )
18174 printf "%s\n" "$ac_cs_config"; exit ;;
18175 --debug | --debu | --deb | --de | --d | -d )
18176 debug=: ;;
18177 --file | --fil | --fi | --f )
18178 $ac_shift
18179 case $ac_optarg in
18180 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18181 '') as_fn_error $? "missing file argument" ;;
18182 esac
18183 as_fn_append CONFIG_FILES " '$ac_optarg'"
18184 ac_need_defaults=false;;
18185 --header | --heade | --head | --hea )
18186 $ac_shift
18187 case $ac_optarg in
18188 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18189 esac
18190 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18191 ac_need_defaults=false;;
18192 --he | --h)
18193 # Conflict between --help and --header
18194 as_fn_error $? "ambiguous option: '$1'
18195 Try '$0 --help' for more information.";;
18196 --help | --hel | -h )
18197 printf "%s\n" "$ac_cs_usage"; exit ;;
18198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18199 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18200 ac_cs_silent=: ;;
18201
18202 # This is an error.
18203 -*) as_fn_error $? "unrecognized option: '$1'
18204 Try '$0 --help' for more information." ;;
18205
18206 *) as_fn_append ac_config_targets " $1"
18207 ac_need_defaults=false ;;
18208
18209 esac
18210 shift
18211 done
18212
18213 ac_configure_extra_args=
18214
18215 if $ac_cs_silent; then
18216 exec 6>/dev/null
18217 ac_configure_extra_args="$ac_configure_extra_args --silent"
18218 fi
18219
18220 _ACEOF
18221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18222 if \$ac_cs_recheck; then
18223 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18224 shift
18225 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
18226 CONFIG_SHELL='$SHELL'
18227 export CONFIG_SHELL
18228 exec "\$@"
18229 fi
18230
18231 _ACEOF
18232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18233 exec 5>>config.log
18234 {
18235 echo
18236 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18237 ## Running $as_me. ##
18238 _ASBOX
18239 printf "%s\n" "$ac_log"
18240 } >&5
18241
18242 _ACEOF
18243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18244 #
18245 # INIT-COMMANDS
18246 #
18247 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18248
18249
18250 # The HP-UX ksh and POSIX shell print the target directory to stdout
18251 # if CDPATH is set.
18252 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18253
18254 sed_quote_subst='$sed_quote_subst'
18255 double_quote_subst='$double_quote_subst'
18256 delay_variable_subst='$delay_variable_subst'
18257 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18258 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18259 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18260 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18261 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18262 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18263 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18264 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18265 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18266 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18267 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18268 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18269 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18270 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18271 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18272 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18273 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18274 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18275 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18276 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18277 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18278 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18279 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18280 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18281 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18282 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18283 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18284 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18285 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18286 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18287 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18288 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18289 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18290 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18291 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18292 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18293 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18294 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
18295 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18296 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18297 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18298 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18299 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18300 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18301 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18302 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18303 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18304 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18305 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18306 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18307 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18308 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18309 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18310 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18311 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18312 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18313 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18314 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18315 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18316 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18317 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18318 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"`'
18319 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18320 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18321 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18322 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18323 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18324 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18325 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18326 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18327 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18328 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18329 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18330 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18331 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18332 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18333 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18334 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18335 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18336 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18337 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18338 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18339 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18340 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18341 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18342 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18343 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18344 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18345 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18346 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18347 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18348 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18349 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18350 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18351 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18352 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18353 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18354 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18355 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18356 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18357 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18358 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18359 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18360 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18361 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18362 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18363 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18364 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18365 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18366 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18367 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18368 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18369 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18370 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18371 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18372 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18373 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18374 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18375 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18376 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18377 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18378 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18379 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18380 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18381 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18382 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18383 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18384 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18385 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18386 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18387 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18388 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18389 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18390 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18391 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18392 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18393 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18394 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18395
18396 LTCC='$LTCC'
18397 LTCFLAGS='$LTCFLAGS'
18398 compiler='$compiler_DEFAULT'
18399
18400 # A function that is used when there is no print builtin or printf.
18401 func_fallback_echo ()
18402 {
18403 eval 'cat <<_LTECHO_EOF
18404 \$1
18405 _LTECHO_EOF'
18406 }
18407
18408 # Quote evaled strings.
18409 for var in AS \
18410 DLLTOOL \
18411 OBJDUMP \
18412 SHELL \
18413 ECHO \
18414 PATH_SEPARATOR \
18415 SED \
18416 GREP \
18417 EGREP \
18418 FGREP \
18419 LD \
18420 NM \
18421 LN_S \
18422 lt_SP2NL \
18423 lt_NL2SP \
18424 reload_flag \
18425 FILECMD \
18426 deplibs_check_method \
18427 file_magic_cmd \
18428 file_magic_glob \
18429 want_nocaseglob \
18430 sharedlib_from_linklib_cmd \
18431 AR \
18432 archiver_list_spec \
18433 STRIP \
18434 RANLIB \
18435 CC \
18436 CFLAGS \
18437 compiler \
18438 lt_cv_sys_global_symbol_pipe \
18439 lt_cv_sys_global_symbol_to_cdecl \
18440 lt_cv_sys_global_symbol_to_import \
18441 lt_cv_sys_global_symbol_to_c_name_address \
18442 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18443 lt_cv_nm_interface \
18444 nm_file_list_spec \
18445 lt_cv_truncate_bin \
18446 lt_prog_compiler_no_builtin_flag \
18447 lt_prog_compiler_pic \
18448 lt_prog_compiler_wl \
18449 lt_prog_compiler_static \
18450 lt_cv_prog_compiler_c_o \
18451 need_locks \
18452 MANIFEST_TOOL \
18453 DSYMUTIL \
18454 NMEDIT \
18455 LIPO \
18456 OTOOL \
18457 OTOOL64 \
18458 shrext_cmds \
18459 export_dynamic_flag_spec \
18460 whole_archive_flag_spec \
18461 compiler_needs_object \
18462 with_gnu_ld \
18463 allow_undefined_flag \
18464 no_undefined_flag \
18465 hardcode_libdir_flag_spec \
18466 hardcode_libdir_separator \
18467 exclude_expsyms \
18468 include_expsyms \
18469 file_list_spec \
18470 variables_saved_for_relink \
18471 libname_spec \
18472 library_names_spec \
18473 soname_spec \
18474 install_override_mode \
18475 finish_eval \
18476 old_striplib \
18477 striplib; do
18478 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18479 *[\\\\\\\`\\"\\\$]*)
18480 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18481 ;;
18482 *)
18483 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18484 ;;
18485 esac
18486 done
18487
18488 # Double-quote double-evaled strings.
18489 for var in reload_cmds \
18490 old_postinstall_cmds \
18491 old_postuninstall_cmds \
18492 old_archive_cmds \
18493 extract_expsyms_cmds \
18494 old_archive_from_new_cmds \
18495 old_archive_from_expsyms_cmds \
18496 archive_cmds \
18497 archive_expsym_cmds \
18498 module_cmds \
18499 module_expsym_cmds \
18500 export_symbols_cmds \
18501 prelink_cmds \
18502 postlink_cmds \
18503 postinstall_cmds \
18504 postuninstall_cmds \
18505 finish_cmds \
18506 sys_lib_search_path_spec \
18507 configure_time_dlsearch_path \
18508 configure_time_lt_sys_library_path; do
18509 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18510 *[\\\\\\\`\\"\\\$]*)
18511 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18512 ;;
18513 *)
18514 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18515 ;;
18516 esac
18517 done
18518
18519 ac_aux_dir='$ac_aux_dir'
18520
18521 # See if we are running on zsh, and set the options that allow our
18522 # commands through without removal of \ escapes INIT.
18523 if test -n "\${ZSH_VERSION+set}"; then
18524 setopt NO_GLOB_SUBST
18525 fi
18526
18527
18528 PACKAGE='$PACKAGE'
18529 VERSION='$VERSION'
18530 RM='$RM'
18531 ofile='$ofile'
18532
18533 ac_aux_dir='$ac_aux_dir'
18534
18535
18536
18537 _ACEOF
18538
18539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18540
18541 # Handling of arguments.
18542 for ac_config_target in $ac_config_targets
18543 do
18544 case $ac_config_target in
18545 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18546 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18547 "c-auto.h") CONFIG_HEADERS="$CONFIG_HEADERS c-auto.h:c-auto.in" ;;
18548 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18549
18550 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
18551 esac
18552 done
18553
18554
18555 # If the user did not use the arguments to specify the items to instantiate,
18556 # then the envvar interface is used. Set only those that are not.
18557 # We use the long form for the default assignment because of an extremely
18558 # bizarre bug on SunOS 4.1.3.
18559 if $ac_need_defaults; then
18560 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18561 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18562 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18563 fi
18564
18565 # Have a temporary directory for convenience. Make it in the build tree
18566 # simply because there is no reason against having it here, and in addition,
18567 # creating and moving files from /tmp can sometimes cause problems.
18568 # Hook for its removal unless debugging.
18569 # Note that there is a small window in which the directory will not be cleaned:
18570 # after its creation but before its name has been assigned to '$tmp'.
18571 $debug ||
18572 {
18573 tmp= ac_tmp=
18574 trap 'exit_status=$?
18575 : "${ac_tmp:=$tmp}"
18576 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18577 ' 0
18578 trap 'as_fn_exit 1' 1 2 13 15
18579 }
18580 # Create a (secure) tmp directory for tmp files.
18581
18582 {
18583 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18584 test -d "$tmp"
18585 } ||
18586 {
18587 tmp=./conf$$-$RANDOM
18588 (umask 077 && mkdir "$tmp")
18589 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18590 ac_tmp=$tmp
18591
18592 # Set up the scripts for CONFIG_FILES section.
18593 # No need to generate them if there are no CONFIG_FILES.
18594 # This happens for instance with './config.status config.h'.
18595 if test -n "$CONFIG_FILES"; then
18596
18597
18598 ac_cr=`echo X | tr X '\015'`
18599 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18600 # But we know of no other shell where ac_cr would be empty at this
18601 # point, so we can use a bashism as a fallback.
18602 if test "x$ac_cr" = x; then
18603 eval ac_cr=\$\'\\r\'
18604 fi
18605 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18606 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18607 ac_cs_awk_cr='\\r'
18608 else
18609 ac_cs_awk_cr=$ac_cr
18610 fi
18611
18612 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18613 _ACEOF
18614
18615
18616 {
18617 echo "cat >conf$$subs.awk <<_ACEOF" &&
18618 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18619 echo "_ACEOF"
18620 } >conf$$subs.sh ||
18621 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18622 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18623 ac_delim='%!_!# '
18624 for ac_last_try in false false false false false :; do
18625 . ./conf$$subs.sh ||
18626 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18627
18628 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18629 if test $ac_delim_n = $ac_delim_num; then
18630 break
18631 elif $ac_last_try; then
18632 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18633 else
18634 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18635 fi
18636 done
18637 rm -f conf$$subs.sh
18638
18639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18640 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18641 _ACEOF
18642 sed -n '
18643 h
18644 s/^/S["/; s/!.*/"]=/
18645 p
18646 g
18647 s/^[^!]*!//
18648 :repl
18649 t repl
18650 s/'"$ac_delim"'$//
18651 t delim
18652 :nl
18653 h
18654 s/\(.\{148\}\)..*/\1/
18655 t more1
18656 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18657 p
18658 n
18659 b repl
18660 :more1
18661 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18662 p
18663 g
18664 s/.\{148\}//
18665 t nl
18666 :delim
18667 h
18668 s/\(.\{148\}\)..*/\1/
18669 t more2
18670 s/["\\]/\\&/g; s/^/"/; s/$/"/
18671 p
18672 b
18673 :more2
18674 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18675 p
18676 g
18677 s/.\{148\}//
18678 t delim
18679 ' <conf$$subs.awk | sed '
18680 /^[^""]/{
18681 N
18682 s/\n//
18683 }
18684 ' >>$CONFIG_STATUS || ac_write_fail=1
18685 rm -f conf$$subs.awk
18686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18687 _ACAWK
18688 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18689 for (key in S) S_is_set[key] = 1
18690 FS = ""
18691
18692 }
18693 {
18694 line = $ 0
18695 nfields = split(line, field, "@")
18696 substed = 0
18697 len = length(field[1])
18698 for (i = 2; i < nfields; i++) {
18699 key = field[i]
18700 keylen = length(key)
18701 if (S_is_set[key]) {
18702 value = S[key]
18703 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18704 len += length(value) + length(field[++i])
18705 substed = 1
18706 } else
18707 len += 1 + keylen
18708 }
18709
18710 print line
18711 }
18712
18713 _ACAWK
18714 _ACEOF
18715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18716 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18717 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18718 else
18719 cat
18720 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18721 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18722 _ACEOF
18723
18724 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18725 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18726 # trailing colons and then remove the whole line if VPATH becomes empty
18727 # (actually we leave an empty line to preserve line numbers).
18728 if test "x$srcdir" = x.; then
18729 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18730 h
18731 s///
18732 s/^/:/
18733 s/[ ]*$/:/
18734 s/:\$(srcdir):/:/g
18735 s/:\${srcdir}:/:/g
18736 s/:@srcdir@:/:/g
18737 s/^:*//
18738 s/:*$//
18739 x
18740 s/\(=[ ]*\).*/\1/
18741 G
18742 s/\n//
18743 s/^[^=]*=[ ]*$//
18744 }'
18745 fi
18746
18747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18748 fi # test -n "$CONFIG_FILES"
18749
18750 # Set up the scripts for CONFIG_HEADERS section.
18751 # No need to generate them if there are no CONFIG_HEADERS.
18752 # This happens for instance with './config.status Makefile'.
18753 if test -n "$CONFIG_HEADERS"; then
18754 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18755 BEGIN {
18756 _ACEOF
18757
18758 # Transform confdefs.h into an awk script 'defines.awk', embedded as
18759 # here-document in config.status, that substitutes the proper values into
18760 # config.h.in to produce config.h.
18761
18762 # Create a delimiter string that does not exist in confdefs.h, to ease
18763 # handling of long lines.
18764 ac_delim='%!_!# '
18765 for ac_last_try in false false :; do
18766 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18767 if test -z "$ac_tt"; then
18768 break
18769 elif $ac_last_try; then
18770 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18771 else
18772 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18773 fi
18774 done
18775
18776 # For the awk script, D is an array of macro values keyed by name,
18777 # likewise P contains macro parameters if any. Preserve backslash
18778 # newline sequences.
18779
18780 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18781 sed -n '
18782 s/.\{148\}/&'"$ac_delim"'/g
18783 t rset
18784 :rset
18785 s/^[ ]*#[ ]*define[ ][ ]*/ /
18786 t def
18787 d
18788 :def
18789 s/\\$//
18790 t bsnl
18791 s/["\\]/\\&/g
18792 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18793 D["\1"]=" \3"/p
18794 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18795 d
18796 :bsnl
18797 s/["\\]/\\&/g
18798 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18799 D["\1"]=" \3\\\\\\n"\\/p
18800 t cont
18801 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18802 t cont
18803 d
18804 :cont
18805 n
18806 s/.\{148\}/&'"$ac_delim"'/g
18807 t clear
18808 :clear
18809 s/\\$//
18810 t bsnlc
18811 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18812 d
18813 :bsnlc
18814 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18815 b cont
18816 ' <confdefs.h | sed '
18817 s/'"$ac_delim"'/"\\\
18818 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18819
18820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18821 for (key in D) D_is_set[key] = 1
18822 FS = ""
18823 }
18824 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18825 line = \$ 0
18826 split(line, arg, " ")
18827 if (arg[1] == "#") {
18828 defundef = arg[2]
18829 mac1 = arg[3]
18830 } else {
18831 defundef = substr(arg[1], 2)
18832 mac1 = arg[2]
18833 }
18834 split(mac1, mac2, "(") #)
18835 macro = mac2[1]
18836 prefix = substr(line, 1, index(line, defundef) - 1)
18837 if (D_is_set[macro]) {
18838 # Preserve the white space surrounding the "#".
18839 print prefix "define", macro P[macro] D[macro]
18840 next
18841 } else {
18842 # Replace #undef with comments. This is necessary, for example,
18843 # in the case of _POSIX_SOURCE, which is predefined and required
18844 # on some systems where configure will not decide to define it.
18845 if (defundef == "undef") {
18846 print "/*", prefix defundef, macro, "*/"
18847 next
18848 }
18849 }
18850 }
18851 { print }
18852 _ACAWK
18853 _ACEOF
18854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18855 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18856 fi # test -n "$CONFIG_HEADERS"
18857
18858
18859 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18860 shift
18861 for ac_tag
18862 do
18863 case $ac_tag in
18864 :[FHLC]) ac_mode=$ac_tag; continue;;
18865 esac
18866 case $ac_mode$ac_tag in
18867 :[FHL]*:*);;
18868 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
18869 :[FH]-) ac_tag=-:-;;
18870 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18871 esac
18872 ac_save_IFS=$IFS
18873 IFS=:
18874 set x $ac_tag
18875 IFS=$ac_save_IFS
18876 shift
18877 ac_file=$1
18878 shift
18879
18880 case $ac_mode in
18881 :L) ac_source=$1;;
18882 :[FH])
18883 ac_file_inputs=
18884 for ac_f
18885 do
18886 case $ac_f in
18887 -) ac_f="$ac_tmp/stdin";;
18888 *) # Look for the file first in the build tree, then in the source tree
18889 # (if the path is not absolute). The absolute path cannot be DOS-style,
18890 # because $ac_f cannot contain ':'.
18891 test -f "$ac_f" ||
18892 case $ac_f in
18893 [\\/$]*) false;;
18894 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18895 esac ||
18896 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
18897 esac
18898 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18899 as_fn_append ac_file_inputs " '$ac_f'"
18900 done
18901
18902 # Let's still pretend it is 'configure' which instantiates (i.e., don't
18903 # use $as_me), people would be surprised to read:
18904 # /* config.h. Generated by config.status. */
18905 configure_input='Generated from '`
18906 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18907 `' by configure.'
18908 if test x"$ac_file" != x-; then
18909 configure_input="$ac_file. $configure_input"
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18911 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18912 fi
18913 # Neutralize special characters interpreted by sed in replacement strings.
18914 case $configure_input in #(
18915 *\&* | *\|* | *\\* )
18916 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18917 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18918 *) ac_sed_conf_input=$configure_input;;
18919 esac
18920
18921 case $ac_tag in
18922 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18923 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18924 esac
18925 ;;
18926 esac
18927
18928 ac_dir=`$as_dirname -- "$ac_file" ||
18929 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18930 X"$ac_file" : 'X\(//\)[^/]' \| \
18931 X"$ac_file" : 'X\(//\)$' \| \
18932 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18933 printf "%s\n" X"$ac_file" |
18934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18935 s//\1/
18936 q
18937 }
18938 /^X\(\/\/\)[^/].*/{
18939 s//\1/
18940 q
18941 }
18942 /^X\(\/\/\)$/{
18943 s//\1/
18944 q
18945 }
18946 /^X\(\/\).*/{
18947 s//\1/
18948 q
18949 }
18950 s/.*/./; q'`
18951 as_dir="$ac_dir"; as_fn_mkdir_p
18952 ac_builddir=.
18953
18954 case "$ac_dir" in
18955 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18956 *)
18957 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
18958 # A ".." for each directory in $ac_dir_suffix.
18959 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18960 case $ac_top_builddir_sub in
18961 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18962 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18963 esac ;;
18964 esac
18965 ac_abs_top_builddir=$ac_pwd
18966 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18967 # for backward compatibility:
18968 ac_top_builddir=$ac_top_build_prefix
18969
18970 case $srcdir in
18971 .) # We are building in place.
18972 ac_srcdir=.
18973 ac_top_srcdir=$ac_top_builddir_sub
18974 ac_abs_top_srcdir=$ac_pwd ;;
18975 [\\/]* | ?:[\\/]* ) # Absolute name.
18976 ac_srcdir=$srcdir$ac_dir_suffix;
18977 ac_top_srcdir=$srcdir
18978 ac_abs_top_srcdir=$srcdir ;;
18979 *) # Relative name.
18980 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18981 ac_top_srcdir=$ac_top_build_prefix$srcdir
18982 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18983 esac
18984 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18985
18986
18987 case $ac_mode in
18988 :F)
18989 #
18990 # CONFIG_FILE
18991 #
18992
18993 case $INSTALL in
18994 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18995 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18996 esac
18997 ac_MKDIR_P=$MKDIR_P
18998 case $MKDIR_P in
18999 [\\/$]* | ?:[\\/]* ) ;;
19000 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19001 esac
19002 _ACEOF
19003
19004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19005 # If the template does not know about datarootdir, expand it.
19006 # FIXME: This hack should be removed a few years after 2.60.
19007 ac_datarootdir_hack=; ac_datarootdir_seen=
19008 ac_sed_dataroot='
19009 /datarootdir/ {
19010 p
19011 q
19012 }
19013 /@datadir@/p
19014 /@docdir@/p
19015 /@infodir@/p
19016 /@localedir@/p
19017 /@mandir@/p'
19018 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19019 *datarootdir*) ac_datarootdir_seen=yes;;
19020 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19022 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19023 _ACEOF
19024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19025 ac_datarootdir_hack='
19026 s&@datadir@&$datadir&g
19027 s&@docdir@&$docdir&g
19028 s&@infodir@&$infodir&g
19029 s&@localedir@&$localedir&g
19030 s&@mandir@&$mandir&g
19031 s&\\\${datarootdir}&$datarootdir&g' ;;
19032 esac
19033 _ACEOF
19034
19035 # Neutralize VPATH when '$srcdir' = '.'.
19036 # Shell code in configure.ac might set extrasub.
19037 # FIXME: do we really want to maintain this feature?
19038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19039 ac_sed_extra="$ac_vpsub
19040 $extrasub
19041 _ACEOF
19042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19043 :t
19044 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19045 s|@configure_input@|$ac_sed_conf_input|;t t
19046 s&@top_builddir@&$ac_top_builddir_sub&;t t
19047 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19048 s&@srcdir@&$ac_srcdir&;t t
19049 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19050 s&@top_srcdir@&$ac_top_srcdir&;t t
19051 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19052 s&@builddir@&$ac_builddir&;t t
19053 s&@abs_builddir@&$ac_abs_builddir&;t t
19054 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19055 s&@INSTALL@&$ac_INSTALL&;t t
19056 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19057 $ac_datarootdir_hack
19058 "
19059 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19060 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19061
19062 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19063 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19064 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19065 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19067 which seems to be undefined. Please make sure it is defined" >&5
19068 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19069 which seems to be undefined. Please make sure it is defined" >&2;}
19070
19071 rm -f "$ac_tmp/stdin"
19072 case $ac_file in
19073 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19074 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19075 esac \
19076 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19077 ;;
19078 :H)
19079 #
19080 # CONFIG_HEADER
19081 #
19082 if test x"$ac_file" != x-; then
19083 {
19084 printf "%s\n" "/* $configure_input */" >&1 \
19085 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19086 } >"$ac_tmp/config.h" \
19087 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19088 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19090 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
19091 else
19092 rm -f "$ac_file"
19093 mv "$ac_tmp/config.h" "$ac_file" \
19094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19095 fi
19096 else
19097 printf "%s\n" "/* $configure_input */" >&1 \
19098 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19099 || as_fn_error $? "could not create -" "$LINENO" 5
19100 fi
19101 # Compute "$ac_file"'s index in $config_headers.
19102 _am_arg="$ac_file"
19103 _am_stamp_count=1
19104 for _am_header in $config_headers :; do
19105 case $_am_header in
19106 $_am_arg | $_am_arg:* )
19107 break ;;
19108 * )
19109 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19110 esac
19111 done
19112 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19113 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19114 X"$_am_arg" : 'X\(//\)[^/]' \| \
19115 X"$_am_arg" : 'X\(//\)$' \| \
19116 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19117 printf "%s\n" X"$_am_arg" |
19118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19119 s//\1/
19120 q
19121 }
19122 /^X\(\/\/\)[^/].*/{
19123 s//\1/
19124 q
19125 }
19126 /^X\(\/\/\)$/{
19127 s//\1/
19128 q
19129 }
19130 /^X\(\/\).*/{
19131 s//\1/
19132 q
19133 }
19134 s/.*/./; q'`/stamp-h$_am_stamp_count
19135 ;;
19136
19137 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19138 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
19139 ;;
19140 esac
19141
19142
19143 case $ac_file$ac_mode in
19144 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19145 # Older Autoconf quotes --file arguments for eval, but not when files
19146 # are listed without --file. Let's play safe and only enable the eval
19147 # if we detect the quoting.
19148 # TODO: see whether this extra hack can be removed once we start
19149 # requiring Autoconf 2.70 or later.
19150 case $CONFIG_FILES in #(
19151 *\'*) :
19152 eval set x "$CONFIG_FILES" ;; #(
19153 *) :
19154 set x $CONFIG_FILES ;; #(
19155 *) :
19156 ;;
19157 esac
19158 shift
19159 # Used to flag and report bootstrapping failures.
19160 am_rc=0
19161 for am_mf
19162 do
19163 # Strip MF so we end up with the name of the file.
19164 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
19165 # Check whether this is an Automake generated Makefile which includes
19166 # dependency-tracking related rules and includes.
19167 # Grep'ing the whole file directly is not great: AIX grep has a line
19168 # limit of 2048, but all sed's we know have understand at least 4000.
19169 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19170 || continue
19171 am_dirpart=`$as_dirname -- "$am_mf" ||
19172 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19173 X"$am_mf" : 'X\(//\)[^/]' \| \
19174 X"$am_mf" : 'X\(//\)$' \| \
19175 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19176 printf "%s\n" X"$am_mf" |
19177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19178 s//\1/
19179 q
19180 }
19181 /^X\(\/\/\)[^/].*/{
19182 s//\1/
19183 q
19184 }
19185 /^X\(\/\/\)$/{
19186 s//\1/
19187 q
19188 }
19189 /^X\(\/\).*/{
19190 s//\1/
19191 q
19192 }
19193 s/.*/./; q'`
19194 am_filepart=`$as_basename -- "$am_mf" ||
19195 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19196 X"$am_mf" : 'X\(//\)$' \| \
19197 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19198 printf "%s\n" X/"$am_mf" |
19199 sed '/^.*\/\([^/][^/]*\)\/*$/{
19200 s//\1/
19201 q
19202 }
19203 /^X\/\(\/\/\)$/{
19204 s//\1/
19205 q
19206 }
19207 /^X\/\(\/\).*/{
19208 s//\1/
19209 q
19210 }
19211 s/.*/./; q'`
19212 { echo "$as_me:$LINENO: cd "$am_dirpart" \
19213 && sed -e '/# am--include-marker/d' "$am_filepart" \
19214 | $MAKE -f - am--depfiles" >&5
19215 (cd "$am_dirpart" \
19216 && sed -e '/# am--include-marker/d' "$am_filepart" \
19217 | $MAKE -f - am--depfiles) >&5 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); } || am_rc=$?
19221 done
19222 if test $am_rc -ne 0; then
19223 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
19224 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
19225 as_fn_error $? "Something went wrong bootstrapping makefile fragments
19226 for automatic dependency tracking. If GNU make was not used, consider
19227 re-running the configure script with MAKE=\"gmake\" (or whatever is
19228 necessary). You can also try re-running configure with the
19229 '--disable-dependency-tracking' option to at least be able to build
19230 the package (albeit without support for automatic dependency tracking).
19231 See 'config.log' for more details" "$LINENO" 5; }
19232 fi
19233 { am_dirpart=; unset am_dirpart;}
19234 { am_filepart=; unset am_filepart;}
19235 { am_mf=; unset am_mf;}
19236 { am_rc=; unset am_rc;}
19237 rm -f conftest-deps.mk
19238 }
19239 ;;
19240 "libtool":C)
19241
19242 # See if we are running on zsh, and set the options that allow our
19243 # commands through without removal of \ escapes.
19244 if test -n "${ZSH_VERSION+set}"; then
19245 setopt NO_GLOB_SUBST
19246 fi
19247
19248 cfgfile=${ofile}T
19249 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19250 $RM "$cfgfile"
19251
19252 cat <<_LT_EOF >> "$cfgfile"
19253 #! $SHELL
19254 # Generated automatically by $as_me ($PACKAGE) $VERSION
19255 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19256
19257 # Provide generalized library-building support services.
19258 # Written by Gordon Matzigkeit, 1996
19259
19260 # Copyright (C) 2024 Free Software Foundation, Inc.
19261 # This is free software; see the source for copying conditions. There is NO
19262 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19263
19264 # GNU Libtool is free software; you can redistribute it and/or modify
19265 # it under the terms of the GNU General Public License as published by
19266 # the Free Software Foundation; either version 2 of the License, or
19267 # (at your option) any later version.
19268 #
19269 # As a special exception to the GNU General Public License, if you
19270 # distribute this file as part of a program or library that is built
19271 # using GNU Libtool, you may include this file under the same
19272 # distribution terms that you use for the rest of that program.
19273 #
19274 # GNU Libtool is distributed in the hope that it will be useful, but
19275 # WITHOUT ANY WARRANTY; without even the implied warranty of
19276 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19277 # GNU General Public License for more details.
19278 #
19279 # You should have received a copy of the GNU General Public License
19280 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19281
19282
19283 # The names of the tagged configurations supported by this script.
19284 available_tags=''
19285
19286 # Configured defaults for sys_lib_dlsearch_path munging.
19287 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19288
19289 # ### BEGIN LIBTOOL CONFIG
19290
19291 # Which release of libtool.m4 was used?
19292 macro_version=$macro_version
19293 macro_revision=$macro_revision
19294
19295 # Assembler program.
19296 AS=$lt_AS
19297
19298 # DLL creation program.
19299 DLLTOOL=$lt_DLLTOOL
19300
19301 # Object dumper program.
19302 OBJDUMP=$lt_OBJDUMP
19303
19304 # Whether or not to build shared libraries.
19305 build_libtool_libs=$enable_shared
19306
19307 # Whether or not to build static libraries.
19308 build_old_libs=$enable_static
19309
19310 # What type of objects to build.
19311 pic_mode=$pic_mode
19312
19313 # Whether or not to optimize for fast installation.
19314 fast_install=$enable_fast_install
19315
19316 # Shared archive member basename,for filename based shared library versioning on AIX.
19317 shared_archive_member_spec=$shared_archive_member_spec
19318
19319 # Shell to use when invoking shell scripts.
19320 SHELL=$lt_SHELL
19321
19322 # An echo program that protects backslashes.
19323 ECHO=$lt_ECHO
19324
19325 # The PATH separator for the build system.
19326 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19327
19328 # The host system.
19329 host_alias=$host_alias
19330 host=$host
19331 host_os=$host_os
19332
19333 # The build system.
19334 build_alias=$build_alias
19335 build=$build
19336 build_os=$build_os
19337
19338 # A sed program that does not truncate output.
19339 SED=$lt_SED
19340
19341 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19342 Xsed="\$SED -e 1s/^X//"
19343
19344 # A grep program that handles long lines.
19345 GREP=$lt_GREP
19346
19347 # An ERE matcher.
19348 EGREP=$lt_EGREP
19349
19350 # A literal string matcher.
19351 FGREP=$lt_FGREP
19352
19353 # A BSD- or MS-compatible name lister.
19354 NM=$lt_NM
19355
19356 # Whether we need soft or hard links.
19357 LN_S=$lt_LN_S
19358
19359 # What is the maximum length of a command?
19360 max_cmd_len=$max_cmd_len
19361
19362 # Object file suffix (normally "o").
19363 objext=$ac_objext
19364
19365 # Executable file suffix (normally "").
19366 exeext=$exeext
19367
19368 # whether the shell understands "unset".
19369 lt_unset=$lt_unset
19370
19371 # turn spaces into newlines.
19372 SP2NL=$lt_lt_SP2NL
19373
19374 # turn newlines into spaces.
19375 NL2SP=$lt_lt_NL2SP
19376
19377 # convert \$build file names to \$host format.
19378 to_host_file_cmd=$lt_cv_to_host_file_cmd
19379
19380 # convert \$build files to toolchain format.
19381 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19382
19383 # A file(cmd) program that detects file types.
19384 FILECMD=$lt_FILECMD
19385
19386 # Method to check whether dependent libraries are shared objects.
19387 deplibs_check_method=$lt_deplibs_check_method
19388
19389 # Command to use when deplibs_check_method = "file_magic".
19390 file_magic_cmd=$lt_file_magic_cmd
19391
19392 # How to find potential files when deplibs_check_method = "file_magic".
19393 file_magic_glob=$lt_file_magic_glob
19394
19395 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19396 want_nocaseglob=$lt_want_nocaseglob
19397
19398 # Command to associate shared and link libraries.
19399 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19400
19401 # The archiver.
19402 AR=$lt_AR
19403
19404 # Flags to create an archive (by configure).
19405 lt_ar_flags=$lt_ar_flags
19406
19407 # Flags to create an archive.
19408 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19409
19410 # How to feed a file listing to the archiver.
19411 archiver_list_spec=$lt_archiver_list_spec
19412
19413 # A symbol stripping program.
19414 STRIP=$lt_STRIP
19415
19416 # Commands used to install an old-style archive.
19417 RANLIB=$lt_RANLIB
19418 old_postinstall_cmds=$lt_old_postinstall_cmds
19419 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19420
19421 # Whether to use a lock for old archive extraction.
19422 lock_old_archive_extraction=$lock_old_archive_extraction
19423
19424 # A C compiler.
19425 LTCC=$lt_CC
19426
19427 # LTCC compiler flags.
19428 LTCFLAGS=$lt_CFLAGS
19429
19430 # Take the output of nm and produce a listing of raw symbols and C names.
19431 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19432
19433 # Transform the output of nm in a proper C declaration.
19434 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19435
19436 # Transform the output of nm into a list of symbols to manually relocate.
19437 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19438
19439 # Transform the output of nm in a C name address pair.
19440 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19441
19442 # Transform the output of nm in a C name address pair when lib prefix is needed.
19443 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19444
19445 # The name lister interface.
19446 nm_interface=$lt_lt_cv_nm_interface
19447
19448 # Specify filename containing input files for \$NM.
19449 nm_file_list_spec=$lt_nm_file_list_spec
19450
19451 # The root where to search for dependent libraries,and where our libraries should be installed.
19452 lt_sysroot=$lt_sysroot
19453
19454 # Command to truncate a binary pipe.
19455 lt_truncate_bin=$lt_lt_cv_truncate_bin
19456
19457 # The name of the directory that contains temporary libtool files.
19458 objdir=$objdir
19459
19460 # Used to examine libraries when file_magic_cmd begins with "file".
19461 MAGIC_CMD=$MAGIC_CMD
19462
19463 # Must we lock files when doing compilation?
19464 need_locks=$lt_need_locks
19465
19466 # Manifest tool.
19467 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19468
19469 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19470 DSYMUTIL=$lt_DSYMUTIL
19471
19472 # Tool to change global to local symbols on Mac OS X.
19473 NMEDIT=$lt_NMEDIT
19474
19475 # Tool to manipulate fat objects and archives on Mac OS X.
19476 LIPO=$lt_LIPO
19477
19478 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19479 OTOOL=$lt_OTOOL
19480
19481 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19482 OTOOL64=$lt_OTOOL64
19483
19484 # Old archive suffix (normally "a").
19485 libext=$libext
19486
19487 # Shared library suffix (normally ".so").
19488 shrext_cmds=$lt_shrext_cmds
19489
19490 # The commands to extract the exported symbol list from a shared archive.
19491 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19492
19493 # Variables whose values should be saved in libtool wrapper scripts and
19494 # restored at link time.
19495 variables_saved_for_relink=$lt_variables_saved_for_relink
19496
19497 # Do we need the "lib" prefix for modules?
19498 need_lib_prefix=$need_lib_prefix
19499
19500 # Do we need a version for libraries?
19501 need_version=$need_version
19502
19503 # Library versioning type.
19504 version_type=$version_type
19505
19506 # Shared library runtime path variable.
19507 runpath_var=$runpath_var
19508
19509 # Shared library path variable.
19510 shlibpath_var=$shlibpath_var
19511
19512 # Is shlibpath searched before the hard-coded library search path?
19513 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19514
19515 # Format of library name prefix.
19516 libname_spec=$lt_libname_spec
19517
19518 # List of archive names. First name is the real one, the rest are links.
19519 # The last name is the one that the linker finds with -lNAME
19520 library_names_spec=$lt_library_names_spec
19521
19522 # The coded name of the library, if different from the real name.
19523 soname_spec=$lt_soname_spec
19524
19525 # Permission mode override for installation of shared libraries.
19526 install_override_mode=$lt_install_override_mode
19527
19528 # Command to use after installation of a shared archive.
19529 postinstall_cmds=$lt_postinstall_cmds
19530
19531 # Command to use after uninstallation of a shared archive.
19532 postuninstall_cmds=$lt_postuninstall_cmds
19533
19534 # Commands used to finish a libtool library installation in a directory.
19535 finish_cmds=$lt_finish_cmds
19536
19537 # As "finish_cmds", except a single script fragment to be evaled but
19538 # not shown.
19539 finish_eval=$lt_finish_eval
19540
19541 # Whether we should hardcode library paths into libraries.
19542 hardcode_into_libs=$hardcode_into_libs
19543
19544 # Compile-time system search path for libraries.
19545 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19546
19547 # Detected run-time system search path for libraries.
19548 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19549
19550 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19551 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19552
19553 # Whether dlopen is supported.
19554 dlopen_support=$enable_dlopen
19555
19556 # Whether dlopen of programs is supported.
19557 dlopen_self=$enable_dlopen_self
19558
19559 # Whether dlopen of statically linked programs is supported.
19560 dlopen_self_static=$enable_dlopen_self_static
19561
19562 # Commands to strip libraries.
19563 old_striplib=$lt_old_striplib
19564 striplib=$lt_striplib
19565
19566
19567 # The linker used to build libraries.
19568 LD=$lt_LD
19569
19570 # How to create reloadable object files.
19571 reload_flag=$lt_reload_flag
19572 reload_cmds=$lt_reload_cmds
19573
19574 # Commands used to build an old-style archive.
19575 old_archive_cmds=$lt_old_archive_cmds
19576
19577 # A language specific compiler.
19578 CC=$lt_compiler
19579
19580 # Is the compiler the GNU compiler?
19581 with_gcc=$GCC
19582
19583 # Compiler flag to turn off builtin functions.
19584 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19585
19586 # Additional compiler flags for building library objects.
19587 pic_flag=$lt_lt_prog_compiler_pic
19588
19589 # How to pass a linker flag through the compiler.
19590 wl=$lt_lt_prog_compiler_wl
19591
19592 # Compiler flag to prevent dynamic linking.
19593 link_static_flag=$lt_lt_prog_compiler_static
19594
19595 # Does compiler simultaneously support -c and -o options?
19596 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19597
19598 # Whether or not to add -lc for building shared libraries.
19599 build_libtool_need_lc=$archive_cmds_need_lc
19600
19601 # Whether or not to disallow shared libs when runtime libs are static.
19602 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19603
19604 # Compiler flag to allow reflexive dlopens.
19605 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19606
19607 # Compiler flag to generate shared objects directly from archives.
19608 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19609
19610 # Whether the compiler copes with passing no objects directly.
19611 compiler_needs_object=$lt_compiler_needs_object
19612
19613 # Create an old-style archive from a shared archive.
19614 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19615
19616 # Create a temporary old-style archive to link instead of a shared archive.
19617 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19618
19619 # Commands used to build a shared archive.
19620 archive_cmds=$lt_archive_cmds
19621 archive_expsym_cmds=$lt_archive_expsym_cmds
19622
19623 # Commands used to build a loadable module if different from building
19624 # a shared archive.
19625 module_cmds=$lt_module_cmds
19626 module_expsym_cmds=$lt_module_expsym_cmds
19627
19628 # Whether we are building with GNU ld or not.
19629 with_gnu_ld=$lt_with_gnu_ld
19630
19631 # Flag that allows shared libraries with undefined symbols to be built.
19632 allow_undefined_flag=$lt_allow_undefined_flag
19633
19634 # Flag that enforces no undefined symbols.
19635 no_undefined_flag=$lt_no_undefined_flag
19636
19637 # Flag to hardcode \$libdir into a binary during linking.
19638 # This must work even if \$libdir does not exist
19639 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19640
19641 # Whether we need a single "-rpath" flag with a separated argument.
19642 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19643
19644 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19645 # DIR into the resulting binary.
19646 hardcode_direct=$hardcode_direct
19647
19648 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19649 # DIR into the resulting binary and the resulting library dependency is
19650 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
19651 # library is relocated.
19652 hardcode_direct_absolute=$hardcode_direct_absolute
19653
19654 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19655 # into the resulting binary.
19656 hardcode_minus_L=$hardcode_minus_L
19657
19658 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19659 # into the resulting binary.
19660 hardcode_shlibpath_var=$hardcode_shlibpath_var
19661
19662 # Set to "yes" if building a shared library automatically hardcodes DIR
19663 # into the library and all subsequent libraries and executables linked
19664 # against it.
19665 hardcode_automatic=$hardcode_automatic
19666
19667 # Set to yes if linker adds runtime paths of dependent libraries
19668 # to runtime path list.
19669 inherit_rpath=$inherit_rpath
19670
19671 # Whether libtool must link a program against all its dependency libraries.
19672 link_all_deplibs=$link_all_deplibs
19673
19674 # Set to "yes" if exported symbols are required.
19675 always_export_symbols=$always_export_symbols
19676
19677 # The commands to list exported symbols.
19678 export_symbols_cmds=$lt_export_symbols_cmds
19679
19680 # Symbols that should not be listed in the preloaded symbols.
19681 exclude_expsyms=$lt_exclude_expsyms
19682
19683 # Symbols that must always be exported.
19684 include_expsyms=$lt_include_expsyms
19685
19686 # Commands necessary for linking programs (against libraries) with templates.
19687 prelink_cmds=$lt_prelink_cmds
19688
19689 # Commands necessary for finishing linking programs.
19690 postlink_cmds=$lt_postlink_cmds
19691
19692 # Specify filename containing input files.
19693 file_list_spec=$lt_file_list_spec
19694
19695 # How to hardcode a shared library path into an executable.
19696 hardcode_action=$hardcode_action
19697
19698 # ### END LIBTOOL CONFIG
19699
19700 _LT_EOF
19701
19702 cat <<'_LT_EOF' >> "$cfgfile"
19703
19704 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19705
19706 # func_munge_path_list VARIABLE PATH
19707 # -----------------------------------
19708 # VARIABLE is name of variable containing _space_ separated list of
19709 # directories to be munged by the contents of PATH, which is string
19710 # having a format:
19711 # "DIR[:DIR]:"
19712 # string "DIR[ DIR]" will be prepended to VARIABLE
19713 # ":DIR[:DIR]"
19714 # string "DIR[ DIR]" will be appended to VARIABLE
19715 # "DIRP[:DIRP]::[DIRA:]DIRA"
19716 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19717 # "DIRA[ DIRA]" will be appended to VARIABLE
19718 # "DIR[:DIR]"
19719 # VARIABLE will be replaced by "DIR[ DIR]"
19720 func_munge_path_list ()
19721 {
19722 case x$2 in
19723 x)
19724 ;;
19725 *:)
19726 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19727 ;;
19728 x:*)
19729 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19730 ;;
19731 *::*)
19732 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19733 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19734 ;;
19735 *)
19736 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19737 ;;
19738 esac
19739 }
19740
19741
19742 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19743 func_cc_basename ()
19744 {
19745 for cc_temp in $*""; do
19746 case $cc_temp in
19747 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19748 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19749 \-*) ;;
19750 *) break;;
19751 esac
19752 done
19753 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19754 }
19755
19756
19757 # ### END FUNCTIONS SHARED WITH CONFIGURE
19758
19759 _LT_EOF
19760
19761 case $host_os in
19762 aix3*)
19763 cat <<\_LT_EOF >> "$cfgfile"
19764 # AIX sometimes has problems with the GCC collect2 program. For some
19765 # reason, if we set the COLLECT_NAMES environment variable, the problems
19766 # vanish in a puff of smoke.
19767 if test set != "${COLLECT_NAMES+set}"; then
19768 COLLECT_NAMES=
19769 export COLLECT_NAMES
19770 fi
19771 _LT_EOF
19772 ;;
19773 esac
19774
19775
19776
19777 ltmain=$ac_aux_dir/ltmain.sh
19778
19779
19780 # We use sed instead of cat because bash on DJGPP gets confused if
19781 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19782 # text mode, it properly converts lines to CR/LF. This bash problem
19783 # is reportedly fixed, but why not run on old versions too?
19784 $SED '$q' "$ltmain" >> "$cfgfile" \
19785 || (rm -f "$cfgfile"; exit 1)
19786
19787 mv -f "$cfgfile" "$ofile" ||
19788 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19789 chmod +x "$ofile"
19790
19791 ;;
19792
19793 esac
19794 done # for ac_tag
19795
19796
19797 as_fn_exit 0
19798 _ACEOF
19799 ac_clean_files=$ac_clean_files_save
19800
19801 test $ac_write_fail = 0 ||
19802 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19803
19804 if test "x$cross_compiling" = xyes
19805 then :
19806 if test "x$cache_file" != x/dev/null
19807 then :
19808 cache_file=config.cache
19809 fi
19810 ac_configure_args="$ac_configure_args --host='$kpse_build_alias' \
19811 CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \
19812 CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'"
19813 fi
19814
19815 # configure is writing to config.log, and then calls config.status.
19816 # config.status does its own redirection, appending to config.log.
19817 # Unfortunately, on DOS this fails, as config.log is still kept open
19818 # by configure, so config.status won't be able to write to it; its
19819 # output is simply discarded. So we exec the FD to /dev/null,
19820 # effectively closing config.log, so it can be properly (re)opened and
19821 # appended to by config.status. When coming back to configure, we
19822 # need to make the FD available again.
19823 if test "$no_create" != yes; then
19824 ac_cs_success=:
19825 ac_config_status_args=
19826 test "$silent" = yes &&
19827 ac_config_status_args="$ac_config_status_args --quiet"
19828 exec 5>/dev/null
19829 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19830 exec 5>>config.log
19831 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19832 # would make configure fail if this is the last instruction.
19833 $ac_cs_success || as_fn_exit 1
19834 fi
19835
19836 #
19837 # CONFIG_SUBDIRS section.
19838 #
19839 if test "$no_recursion" != yes; then
19840
19841 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
19842 # so they do not pile up.
19843 ac_sub_configure_args=
19844 ac_prev=
19845 eval "set x $ac_configure_args"
19846 shift
19847 for ac_arg
19848 do
19849 if test -n "$ac_prev"; then
19850 ac_prev=
19851 continue
19852 fi
19853 case $ac_arg in
19854 -cache-file | --cache-file | --cache-fil | --cache-fi \
19855 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19856 ac_prev=cache_file ;;
19857 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19858 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
19859 | --c=*)
19860 ;;
19861 --config-cache | -C)
19862 ;;
19863 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19864 ac_prev=srcdir ;;
19865 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19866 ;;
19867 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
19868 ac_prev=prefix ;;
19869 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
19870 ;;
19871 --disable-option-checking)
19872 ;;
19873 *)
19874 case $ac_arg in
19875 *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19876 esac
19877 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
19878 esac
19879 done
19880
19881 # Always prepend --prefix to ensure using the same prefix
19882 # in subdir configurations.
19883 ac_arg="--prefix=$prefix"
19884 case $ac_arg in
19885 *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19886 esac
19887 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
19888
19889 # Pass --silent
19890 if test "$silent" = yes; then
19891 ac_sub_configure_args="--silent $ac_sub_configure_args"
19892 fi
19893
19894 # Always prepend --disable-option-checking to silence warnings, since
19895 # different subdirs can have different --enable and --with options.
19896 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
19897
19898 ac_popdir=`pwd`
19899 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
19900
19901 # Do not complain, so a configure script can configure whichever
19902 # parts of a large source tree are present.
19903 test -d "$srcdir/$ac_dir" || continue
19904
19905 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
19906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
19907 printf "%s\n" "$ac_msg" >&6
19908 as_dir="$ac_dir"; as_fn_mkdir_p
19909 ac_builddir=.
19910
19911 case "$ac_dir" in
19912 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19913 *)
19914 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
19915 # A ".." for each directory in $ac_dir_suffix.
19916 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19917 case $ac_top_builddir_sub in
19918 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19919 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19920 esac ;;
19921 esac
19922 ac_abs_top_builddir=$ac_pwd
19923 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19924 # for backward compatibility:
19925 ac_top_builddir=$ac_top_build_prefix
19926
19927 case $srcdir in
19928 .) # We are building in place.
19929 ac_srcdir=.
19930 ac_top_srcdir=$ac_top_builddir_sub
19931 ac_abs_top_srcdir=$ac_pwd ;;
19932 [\\/]* | ?:[\\/]* ) # Absolute name.
19933 ac_srcdir=$srcdir$ac_dir_suffix;
19934 ac_top_srcdir=$srcdir
19935 ac_abs_top_srcdir=$srcdir ;;
19936 *) # Relative name.
19937 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19938 ac_top_srcdir=$ac_top_build_prefix$srcdir
19939 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19940 esac
19941 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19942
19943
19944 cd "$ac_dir"
19945
19946 # Check for configure.gnu first; this name is used for a wrapper for
19947 # Metaconfig's "Configure" on case-insensitive file systems.
19948 if test -f "$ac_srcdir/configure.gnu"; then
19949 ac_sub_configure=$ac_srcdir/configure.gnu
19950 elif test -f "$ac_srcdir/configure"; then
19951 ac_sub_configure=$ac_srcdir/configure
19952 else
19953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
19954 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
19955 ac_sub_configure=
19956 fi
19957
19958 # The recursion is here.
19959 if test -n "$ac_sub_configure"; then
19960 # Make the cache file name correct relative to the subdirectory.
19961 case $cache_file in
19962 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
19963 *) # Relative name.
19964 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
19965 esac
19966
19967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
19968 printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
19969 # The eval makes quoting arguments work.
19970 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
19971 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
19972 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
19973 fi
19974
19975 cd "$ac_popdir"
19976 done
19977 fi
19978 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19980 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19981 fi
19982
19983