Debian Codegraph @

texk/makejvf/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 makejvf (TeX Live) 20251226.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
7 # Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
19 then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else case e in #(
27 e) case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac ;;
33 esac
34 fi
35
36
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
46 '
47 export as_nl
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
74
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
91 do
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as 'sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed 'exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
142 then :
143 emulate sh
144 NULLCMD=:
145 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
146 # is contrary to our usage. Disable this feature.
147 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 setopt NO_GLOB_SUBST
149 else case e in #(
150 e) case \`(set -o) 2>/dev/null\` in #(
151 *posix*) :
152 set -o posix ;; #(
153 *) :
154 ;;
155 esac ;;
156 esac
157 fi
158 "
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
164
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else case e in #(
174 e) exitcode=1; echo positional parameters were not saved. ;;
175 esac
176 fi
177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
180 test -x / || exit 1"
181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
183 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
184 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
185
186 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
187 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
188 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
189 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190 PATH=/empty FPATH=/empty; export PATH FPATH
191 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
192 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
193 test \$(( 1 + 1 )) = 2 || exit 1"
194 if (eval "$as_required") 2>/dev/null
195 then :
196 as_have_required=yes
197 else case e in #(
198 e) as_have_required=no ;;
199 esac
200 fi
201 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
202 then :
203
204 else case e in #(
205 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206 as_found=false
207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
208 do
209 IFS=$as_save_IFS
210 case $as_dir in #(((
211 '') as_dir=./ ;;
212 */) ;;
213 *) as_dir=$as_dir/ ;;
214 esac
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
223 then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
226 then :
227 break 2
228 fi
229 fi
230 done;;
231 esac
232 as_found=false
233 done
234 IFS=$as_save_IFS
235 if $as_found
236 then :
237
238 else case e in #(
239 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
241 then :
242 CONFIG_SHELL=$SHELL as_have_required=yes
243 fi ;;
244 esac
245 fi
246
247
248 if test "x$CONFIG_SHELL" != x
249 then :
250 export CONFIG_SHELL
251 # We cannot yet assume a decent shell, so we have to provide a
252 # neutralization value for shells without unset; and this also
253 # works around shells that cannot unset nonexistent variables.
254 # Preserve -v and -x to the replacement shell.
255 BASH_ENV=/dev/null
256 ENV=/dev/null
257 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 case $- in # ((((
259 *v*x* | *x*v* ) as_opts=-vx ;;
260 *v* ) as_opts=-v ;;
261 *x* ) as_opts=-x ;;
262 * ) as_opts= ;;
263 esac
264 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed 'exec'.
267 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
268 exit 255
269 fi
270
271 if test x$as_have_required = xno
272 then :
273 printf "%s\n" "$0: This script requires a shell more modern than all"
274 printf "%s\n" "$0: the shells that I found on your system."
275 if test ${ZSH_VERSION+y} ; then
276 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
278 else
279 printf "%s\n" "$0: Please tell [email protected] about your system,
280 $0: including any error possibly output before this
281 $0: message. Then install a modern shell, or manually run
282 $0: the script under such a shell if you do have one."
283 fi
284 exit 1
285 fi ;;
286 esac
287 fi
288 fi
289 SHELL=${CONFIG_SHELL-/bin/sh}
290 export SHELL
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE= GREP_OPTIONS=
293 unset CLICOLOR_FORCE GREP_OPTIONS
294
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
298 # as_fn_unset VAR
299 # ---------------
300 # Portably unset VAR.
301 as_fn_unset ()
302 {
303 { eval $1=; unset $1;}
304 }
305 as_unset=as_fn_unset
306
307
308 # as_fn_set_status STATUS
309 # -----------------------
310 # Set $? to STATUS, without forking.
311 as_fn_set_status ()
312 {
313 return $1
314 } # as_fn_set_status
315
316 # as_fn_exit STATUS
317 # -----------------
318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
319 as_fn_exit ()
320 {
321 set +e
322 as_fn_set_status $1
323 exit $1
324 } # as_fn_exit
325
326 # as_fn_mkdir_p
327 # -------------
328 # Create "$as_dir" as a directory, including parents if necessary.
329 as_fn_mkdir_p ()
330 {
331
332 case $as_dir in #(
333 -*) as_dir=./$as_dir;;
334 esac
335 test -d "$as_dir" || eval $as_mkdir_p || {
336 as_dirs=
337 while :; do
338 case $as_dir in #(
339 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 *) as_qdir=$as_dir;;
341 esac
342 as_dirs="'$as_qdir' $as_dirs"
343 as_dir=`$as_dirname -- "$as_dir" ||
344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345 X"$as_dir" : 'X\(//\)[^/]' \| \
346 X"$as_dir" : 'X\(//\)$' \| \
347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
348 printf "%s\n" X"$as_dir" |
349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350 s//\1/
351 q
352 }
353 /^X\(\/\/\)[^/].*/{
354 s//\1/
355 q
356 }
357 /^X\(\/\/\)$/{
358 s//\1/
359 q
360 }
361 /^X\(\/\).*/{
362 s//\1/
363 q
364 }
365 s/.*/./; q'`
366 test -d "$as_dir" && break
367 done
368 test -z "$as_dirs" || eval "mkdir $as_dirs"
369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370
371
372 } # as_fn_mkdir_p
373
374 # as_fn_executable_p FILE
375 # -----------------------
376 # Test if FILE is an executable regular file.
377 as_fn_executable_p ()
378 {
379 test -f "$1" && test -x "$1"
380 } # as_fn_executable_p
381 # as_fn_append VAR VALUE
382 # ----------------------
383 # Append the text in VALUE to the end of the definition contained in VAR. Take
384 # advantage of any shell optimizations that allow amortized linear growth over
385 # repeated appends, instead of the typical quadratic growth present in naive
386 # implementations.
387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
388 then :
389 eval 'as_fn_append ()
390 {
391 eval $1+=\$2
392 }'
393 else case e in #(
394 e) as_fn_append ()
395 {
396 eval $1=\$$1\$2
397 } ;;
398 esac
399 fi # as_fn_append
400
401 # as_fn_arith ARG...
402 # ------------------
403 # Perform arithmetic evaluation on the ARGs, and store the result in the
404 # global $as_val. Take advantage of shells that can avoid forks. The arguments
405 # must be portable across $(()) and expr.
406 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
407 then :
408 eval 'as_fn_arith ()
409 {
410 as_val=$(( $* ))
411 }'
412 else case e in #(
413 e) as_fn_arith ()
414 {
415 as_val=`expr "$@" || test $? -eq 1`
416 } ;;
417 esac
418 fi # as_fn_arith
419
420
421 # as_fn_error STATUS ERROR [LINENO LOG_FD]
422 # ----------------------------------------
423 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
424 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
425 # script with STATUS, using 1 if that was 0.
426 as_fn_error ()
427 {
428 as_status=$1; test $as_status -eq 0 && as_status=1
429 if test "$4"; then
430 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
432 fi
433 printf "%s\n" "$as_me: error: $2" >&2
434 as_fn_exit $as_status
435 } # as_fn_error
436
437 if expr a : '\(a\)' >/dev/null 2>&1 &&
438 test "X`expr 00001 : '.*\(...\)'`" = X001; then
439 as_expr=expr
440 else
441 as_expr=false
442 fi
443
444 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 as_basename=basename
446 else
447 as_basename=false
448 fi
449
450 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
451 as_dirname=dirname
452 else
453 as_dirname=false
454 fi
455
456 as_me=`$as_basename -- "$0" ||
457 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
458 X"$0" : 'X\(//\)$' \| \
459 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
460 printf "%s\n" X/"$0" |
461 sed '/^.*\/\([^/][^/]*\)\/*$/{
462 s//\1/
463 q
464 }
465 /^X\/\(\/\/\)$/{
466 s//\1/
467 q
468 }
469 /^X\/\(\/\).*/{
470 s//\1/
471 q
472 }
473 s/.*/./; q'`
474
475 # Avoid depending upon Character Ranges.
476 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
477 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
478 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
479 as_cr_digits='0123456789'
480 as_cr_alnum=$as_cr_Letters$as_cr_digits
481
482
483 as_lineno_1=$LINENO as_lineno_1a=$LINENO
484 as_lineno_2=$LINENO as_lineno_2a=$LINENO
485 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
486 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
487 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
488 sed -n '
489 p
490 /[$]LINENO/=
491 ' <$as_myself |
492 sed '
493 t clear
494 :clear
495 s/[$]LINENO.*/&-/
496 t lineno
497 b
498 :lineno
499 N
500 :loop
501 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
502 t loop
503 s/-\n.*//
504 ' >$as_me.lineno &&
505 chmod +x "$as_me.lineno" ||
506 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
507
508 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
509 # already done that, so ensure we don't try to do so again and fall
510 # in an infinite loop. This has already happened in practice.
511 _as_can_reexec=no; export _as_can_reexec
512 # Don't try to exec as it changes $[0], causing all sort of problems
513 # (the dirname of $[0] is not the place where we might find the
514 # original and so on. Autoconf is especially sensitive to this).
515 . "./$as_me.lineno"
516 # Exit status is that of the last command.
517 exit
518 }
519
520
521 # Determine whether it's possible to make 'echo' print without a newline.
522 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
523 # for compatibility with existing Makefiles.
524 ECHO_C= ECHO_N= ECHO_T=
525 case `echo -n x` in #(((((
526 -n*)
527 case `echo 'xy\c'` in
528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
529 xy) ECHO_C='\c';;
530 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
531 ECHO_T=' ';;
532 esac;;
533 *)
534 ECHO_N='-n';;
535 esac
536
537 # For backward compatibility with old third-party macros, we provide
538 # the shell variables $as_echo and $as_echo_n. New code should use
539 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
540 as_echo='printf %s\n'
541 as_echo_n='printf %s'
542
543 rm -f conf$$ conf$$.exe conf$$.file
544 if test -d conf$$.dir; then
545 rm -f conf$$.dir/conf$$.file
546 else
547 rm -f conf$$.dir
548 mkdir conf$$.dir 2>/dev/null
549 fi
550 if (echo >conf$$.file) 2>/dev/null; then
551 if ln -s conf$$.file conf$$ 2>/dev/null; then
552 as_ln_s='ln -s'
553 # ... but there are two gotchas:
554 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
555 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
556 # In both cases, we have to default to 'cp -pR'.
557 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
558 as_ln_s='cp -pR'
559 elif ln conf$$.file conf$$ 2>/dev/null; then
560 as_ln_s=ln
561 else
562 as_ln_s='cp -pR'
563 fi
564 else
565 as_ln_s='cp -pR'
566 fi
567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
568 rmdir conf$$.dir 2>/dev/null
569
570 if mkdir -p . 2>/dev/null; then
571 as_mkdir_p='mkdir -p "$as_dir"'
572 else
573 test -d ./-p && rmdir ./-p
574 as_mkdir_p=false
575 fi
576
577 as_test_x='test -x'
578 as_executable_p=as_fn_executable_p
579
580 # Sed expression to map a string onto a valid CPP name.
581 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
582 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
583
584 # Sed expression to map a string onto a valid variable name.
585 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
586 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
587
588 SHELL=${CONFIG_SHELL-/bin/sh}
589
590
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
593
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
598
599 #
600 # Initializations.
601 #
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
610
611 # Identity of this package.
612 PACKAGE_NAME='makejvf (TeX Live)'
613 PACKAGE_TARNAME='makejvf--tex-live-'
614 PACKAGE_VERSION='20251226'
615 PACKAGE_STRING='makejvf (TeX Live) 20251226'
616 PACKAGE_BUGREPORT=''
617 PACKAGE_URL=''
618
619 ac_unique_file="main.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
650
651 ac_header_c_list=
652 enable_year2038=no
653 ac_subst_vars='am__EXEEXT_FALSE
654 am__EXEEXT_TRUE
655 LTLIBOBJS
656 LIBOBJS
657 PTEXENC_RULE
658 PTEXENC_DEPEND
659 PTEXENC_LIBS
660 PTEXENC_INCLUDES
661 KPATHSEA_RULE
662 KPATHSEA_DEPEND
663 KPATHSEA_LIBS
664 KPATHSEA_INCLUDES
665 PKG_CONFIG
666 LT_SYS_LIBRARY_PATH
667 OTOOL64
668 OTOOL
669 LIPO
670 NMEDIT
671 DSYMUTIL
672 MANIFEST_TOOL
673 RANLIB
674 FILECMD
675 LN_S
676 NM
677 ac_ct_DUMPBIN
678 DUMPBIN
679 LD
680 FGREP
681 EGREP
682 GREP
683 SED
684 host_os
685 host_vendor
686 host_cpu
687 host
688 build_os
689 build_vendor
690 build_cpu
691 build
692 LIBTOOL
693 OBJDUMP
694 DLLTOOL
695 AS
696 ac_ct_AR
697 AR
698 WARNING_CFLAGS
699 am__fastdepCC_FALSE
700 am__fastdepCC_TRUE
701 CCDEPMODE
702 am__nodep
703 AMDEPBACKSLASH
704 AMDEP_FALSE
705 AMDEP_TRUE
706 am__include
707 DEPDIR
708 OBJEXT
709 EXEEXT
710 ac_ct_CC
711 CPPFLAGS
712 LDFLAGS
713 CFLAGS
714 CC
715 MAINT
716 MAINTAINER_MODE_FALSE
717 MAINTAINER_MODE_TRUE
718 am__xargs_n
719 am__rm_f_notfound
720 AM_BACKSLASH
721 AM_DEFAULT_VERBOSITY
722 AM_DEFAULT_V
723 AM_V
724 CSCOPE
725 ETAGS
726 CTAGS
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_alias
751 host_alias
752 build_alias
753 LIBS
754 ECHO_T
755 ECHO_N
756 ECHO_C
757 DEFS
758 mandir
759 localedir
760 libdir
761 psdir
762 pdfdir
763 dvidir
764 htmldir
765 infodir
766 docdir
767 oldincludedir
768 includedir
769 runstatedir
770 localstatedir
771 sharedstatedir
772 sysconfdir
773 datadir
774 datarootdir
775 libexecdir
776 sbindir
777 bindir
778 program_transform_name
779 prefix
780 exec_prefix
781 PACKAGE_URL
782 PACKAGE_BUGREPORT
783 PACKAGE_STRING
784 PACKAGE_VERSION
785 PACKAGE_TARNAME
786 PACKAGE_NAME
787 PATH_SEPARATOR
788 SHELL
789 am__quote'
790 ac_subst_files=''
791 ac_user_opts='
792 enable_option_checking
793 enable_silent_rules
794 enable_maintainer_mode
795 enable_dependency_tracking
796 enable_compiler_warnings
797 enable_shared
798 enable_static
799 enable_pic
800 with_pic
801 enable_fast_install
802 enable_aix_soname
803 with_aix_soname
804 with_gnu_ld
805 with_sysroot
806 enable_libtool_lock
807 enable_largefile
808 with_system_kpathsea
809 with_system_ptexenc
810 enable_year2038
811 '
812 ac_precious_vars='build_alias
813 host_alias
814 target_alias
815 CC
816 CFLAGS
817 LDFLAGS
818 LIBS
819 CPPFLAGS
820 LT_SYS_LIBRARY_PATH'
821
822
823 # Initialize some variables set by options.
824 ac_init_help=
825 ac_init_version=false
826 ac_unrecognized_opts=
827 ac_unrecognized_sep=
828 # The variables have the same names as the options, with
829 # dashes changed to underlines.
830 cache_file=/dev/null
831 exec_prefix=NONE
832 no_create=
833 no_recursion=
834 prefix=NONE
835 program_prefix=NONE
836 program_suffix=NONE
837 program_transform_name=s,x,x,
838 silent=
839 site=
840 srcdir=
841 verbose=
842 x_includes=NONE
843 x_libraries=NONE
844
845 # Installation directory options.
846 # These are left unexpanded so users can "make install exec_prefix=/foo"
847 # and all the variables that are supposed to be based on exec_prefix
848 # by default will actually change.
849 # Use braces instead of parens because sh, perl, etc. also accept them.
850 # (The list follows the same order as the GNU Coding Standards.)
851 bindir='${exec_prefix}/bin'
852 sbindir='${exec_prefix}/sbin'
853 libexecdir='${exec_prefix}/libexec'
854 datarootdir='${prefix}/share'
855 datadir='${datarootdir}'
856 sysconfdir='${prefix}/etc'
857 sharedstatedir='${prefix}/com'
858 localstatedir='${prefix}/var'
859 runstatedir='${localstatedir}/run'
860 includedir='${prefix}/include'
861 oldincludedir='/usr/include'
862 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
863 infodir='${datarootdir}/info'
864 htmldir='${docdir}'
865 dvidir='${docdir}'
866 pdfdir='${docdir}'
867 psdir='${docdir}'
868 libdir='${exec_prefix}/lib'
869 localedir='${datarootdir}/locale'
870 mandir='${datarootdir}/man'
871
872 ac_prev=
873 ac_dashdash=
874 for ac_option
875 do
876 # If the previous option needs an argument, assign it.
877 if test -n "$ac_prev"; then
878 eval $ac_prev=\$ac_option
879 ac_prev=
880 continue
881 fi
882
883 case $ac_option in
884 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
885 *=) ac_optarg= ;;
886 *) ac_optarg=yes ;;
887 esac
888
889 case $ac_dashdash$ac_option in
890 --)
891 ac_dashdash=yes ;;
892
893 -bindir | --bindir | --bindi | --bind | --bin | --bi)
894 ac_prev=bindir ;;
895 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
896 bindir=$ac_optarg ;;
897
898 -build | --build | --buil | --bui | --bu)
899 ac_prev=build_alias ;;
900 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
901 build_alias=$ac_optarg ;;
902
903 -cache-file | --cache-file | --cache-fil | --cache-fi \
904 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
905 ac_prev=cache_file ;;
906 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
907 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
908 cache_file=$ac_optarg ;;
909
910 --config-cache | -C)
911 cache_file=config.cache ;;
912
913 -datadir | --datadir | --datadi | --datad)
914 ac_prev=datadir ;;
915 -datadir=* | --datadir=* | --datadi=* | --datad=*)
916 datadir=$ac_optarg ;;
917
918 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
919 | --dataroo | --dataro | --datar)
920 ac_prev=datarootdir ;;
921 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
922 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
923 datarootdir=$ac_optarg ;;
924
925 -disable-* | --disable-*)
926 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
927 # Reject names that are not valid shell variable names.
928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
929 as_fn_error $? "invalid feature name: '$ac_useropt'"
930 ac_useropt_orig=$ac_useropt
931 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
932 case $ac_user_opts in
933 *"
934 "enable_$ac_useropt"
935 "*) ;;
936 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
937 ac_unrecognized_sep=', ';;
938 esac
939 eval enable_$ac_useropt=no ;;
940
941 -docdir | --docdir | --docdi | --doc | --do)
942 ac_prev=docdir ;;
943 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
944 docdir=$ac_optarg ;;
945
946 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
947 ac_prev=dvidir ;;
948 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
949 dvidir=$ac_optarg ;;
950
951 -enable-* | --enable-*)
952 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955 as_fn_error $? "invalid feature name: '$ac_useropt'"
956 ac_useropt_orig=$ac_useropt
957 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
959 *"
960 "enable_$ac_useropt"
961 "*) ;;
962 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
963 ac_unrecognized_sep=', ';;
964 esac
965 eval enable_$ac_useropt=\$ac_optarg ;;
966
967 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
968 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
969 | --exec | --exe | --ex)
970 ac_prev=exec_prefix ;;
971 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
972 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
973 | --exec=* | --exe=* | --ex=*)
974 exec_prefix=$ac_optarg ;;
975
976 -gas | --gas | --ga | --g)
977 # Obsolete; use --with-gas.
978 with_gas=yes ;;
979
980 -help | --help | --hel | --he | -h)
981 ac_init_help=long ;;
982 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
983 ac_init_help=recursive ;;
984 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
985 ac_init_help=short ;;
986
987 -host | --host | --hos | --ho)
988 ac_prev=host_alias ;;
989 -host=* | --host=* | --hos=* | --ho=*)
990 host_alias=$ac_optarg ;;
991
992 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
993 ac_prev=htmldir ;;
994 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
995 | --ht=*)
996 htmldir=$ac_optarg ;;
997
998 -includedir | --includedir | --includedi | --included | --include \
999 | --includ | --inclu | --incl | --inc)
1000 ac_prev=includedir ;;
1001 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1002 | --includ=* | --inclu=* | --incl=* | --inc=*)
1003 includedir=$ac_optarg ;;
1004
1005 -infodir | --infodir | --infodi | --infod | --info | --inf)
1006 ac_prev=infodir ;;
1007 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1008 infodir=$ac_optarg ;;
1009
1010 -libdir | --libdir | --libdi | --libd)
1011 ac_prev=libdir ;;
1012 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1013 libdir=$ac_optarg ;;
1014
1015 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1016 | --libexe | --libex | --libe)
1017 ac_prev=libexecdir ;;
1018 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1019 | --libexe=* | --libex=* | --libe=*)
1020 libexecdir=$ac_optarg ;;
1021
1022 -localedir | --localedir | --localedi | --localed | --locale)
1023 ac_prev=localedir ;;
1024 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1025 localedir=$ac_optarg ;;
1026
1027 -localstatedir | --localstatedir | --localstatedi | --localstated \
1028 | --localstate | --localstat | --localsta | --localst | --locals)
1029 ac_prev=localstatedir ;;
1030 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1031 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1032 localstatedir=$ac_optarg ;;
1033
1034 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1035 ac_prev=mandir ;;
1036 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1037 mandir=$ac_optarg ;;
1038
1039 -nfp | --nfp | --nf)
1040 # Obsolete; use --without-fp.
1041 with_fp=no ;;
1042
1043 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1044 | --no-cr | --no-c | -n)
1045 no_create=yes ;;
1046
1047 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1048 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1049 no_recursion=yes ;;
1050
1051 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1052 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1053 | --oldin | --oldi | --old | --ol | --o)
1054 ac_prev=oldincludedir ;;
1055 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1056 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1057 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1058 oldincludedir=$ac_optarg ;;
1059
1060 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1061 ac_prev=prefix ;;
1062 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1063 prefix=$ac_optarg ;;
1064
1065 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1066 | --program-pre | --program-pr | --program-p)
1067 ac_prev=program_prefix ;;
1068 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1069 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1070 program_prefix=$ac_optarg ;;
1071
1072 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1073 | --program-suf | --program-su | --program-s)
1074 ac_prev=program_suffix ;;
1075 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1076 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1077 program_suffix=$ac_optarg ;;
1078
1079 -program-transform-name | --program-transform-name \
1080 | --program-transform-nam | --program-transform-na \
1081 | --program-transform-n | --program-transform- \
1082 | --program-transform | --program-transfor \
1083 | --program-transfo | --program-transf \
1084 | --program-trans | --program-tran \
1085 | --progr-tra | --program-tr | --program-t)
1086 ac_prev=program_transform_name ;;
1087 -program-transform-name=* | --program-transform-name=* \
1088 | --program-transform-nam=* | --program-transform-na=* \
1089 | --program-transform-n=* | --program-transform-=* \
1090 | --program-transform=* | --program-transfor=* \
1091 | --program-transfo=* | --program-transf=* \
1092 | --program-trans=* | --program-tran=* \
1093 | --progr-tra=* | --program-tr=* | --program-t=*)
1094 program_transform_name=$ac_optarg ;;
1095
1096 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1097 ac_prev=pdfdir ;;
1098 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1099 pdfdir=$ac_optarg ;;
1100
1101 -psdir | --psdir | --psdi | --psd | --ps)
1102 ac_prev=psdir ;;
1103 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1104 psdir=$ac_optarg ;;
1105
1106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1107 | -silent | --silent | --silen | --sile | --sil)
1108 silent=yes ;;
1109
1110 -runstatedir | --runstatedir | --runstatedi | --runstated \
1111 | --runstate | --runstat | --runsta | --runst | --runs \
1112 | --run | --ru | --r)
1113 ac_prev=runstatedir ;;
1114 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1115 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1116 | --run=* | --ru=* | --r=*)
1117 runstatedir=$ac_optarg ;;
1118
1119 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1120 ac_prev=sbindir ;;
1121 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1122 | --sbi=* | --sb=*)
1123 sbindir=$ac_optarg ;;
1124
1125 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1126 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1127 | --sharedst | --shareds | --shared | --share | --shar \
1128 | --sha | --sh)
1129 ac_prev=sharedstatedir ;;
1130 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1131 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1132 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1133 | --sha=* | --sh=*)
1134 sharedstatedir=$ac_optarg ;;
1135
1136 -site | --site | --sit)
1137 ac_prev=site ;;
1138 -site=* | --site=* | --sit=*)
1139 site=$ac_optarg ;;
1140
1141 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1142 ac_prev=srcdir ;;
1143 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1144 srcdir=$ac_optarg ;;
1145
1146 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1147 | --syscon | --sysco | --sysc | --sys | --sy)
1148 ac_prev=sysconfdir ;;
1149 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1150 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1151 sysconfdir=$ac_optarg ;;
1152
1153 -target | --target | --targe | --targ | --tar | --ta | --t)
1154 ac_prev=target_alias ;;
1155 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1156 target_alias=$ac_optarg ;;
1157
1158 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1159 verbose=yes ;;
1160
1161 -version | --version | --versio | --versi | --vers | -V)
1162 ac_init_version=: ;;
1163
1164 -with-* | --with-*)
1165 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 as_fn_error $? "invalid package name: '$ac_useropt'"
1169 ac_useropt_orig=$ac_useropt
1170 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1172 *"
1173 "with_$ac_useropt"
1174 "*) ;;
1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1176 ac_unrecognized_sep=', ';;
1177 esac
1178 eval with_$ac_useropt=\$ac_optarg ;;
1179
1180 -without-* | --without-*)
1181 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 as_fn_error $? "invalid package name: '$ac_useropt'"
1185 ac_useropt_orig=$ac_useropt
1186 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1188 *"
1189 "with_$ac_useropt"
1190 "*) ;;
1191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1192 ac_unrecognized_sep=', ';;
1193 esac
1194 eval with_$ac_useropt=no ;;
1195
1196 --x)
1197 # Obsolete; use --with-x.
1198 with_x=yes ;;
1199
1200 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1201 | --x-incl | --x-inc | --x-in | --x-i)
1202 ac_prev=x_includes ;;
1203 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1204 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1205 x_includes=$ac_optarg ;;
1206
1207 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1208 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1209 ac_prev=x_libraries ;;
1210 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1211 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212 x_libraries=$ac_optarg ;;
1213
1214 -*) as_fn_error $? "unrecognized option: '$ac_option'
1215 Try '$0 --help' for more information"
1216 ;;
1217
1218 *=*)
1219 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1220 # Reject names that are not valid shell variable names.
1221 case $ac_envvar in #(
1222 '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1224 esac
1225 eval $ac_envvar=\$ac_optarg
1226 export $ac_envvar ;;
1227
1228 *)
1229 # FIXME: should be removed in autoconf 3.0.
1230 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1231 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234 ;;
1235
1236 esac
1237 done
1238
1239 if test -n "$ac_prev"; then
1240 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 as_fn_error $? "missing argument to $ac_option"
1242 fi
1243
1244 if test -n "$ac_unrecognized_opts"; then
1245 case $enable_option_checking in
1246 no) ;;
1247 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249 esac
1250 fi
1251
1252 # Check all directory arguments for consistency.
1253 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1254 datadir sysconfdir sharedstatedir localstatedir includedir \
1255 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1256 libdir localedir mandir runstatedir
1257 do
1258 eval ac_val=\$$ac_var
1259 # Remove trailing slashes.
1260 case $ac_val in
1261 */ )
1262 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1263 eval $ac_var=\$ac_val;;
1264 esac
1265 # Be sure to have absolute directory names.
1266 case $ac_val in
1267 [\\/$]* | ?:[\\/]* ) continue;;
1268 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269 esac
1270 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271 done
1272
1273 # There might be people who depend on the old broken behavior: '$host'
1274 # used to hold the argument of --host etc.
1275 # FIXME: To remove some day.
1276 build=$build_alias
1277 host=$host_alias
1278 target=$target_alias
1279
1280 # FIXME: To remove some day.
1281 if test "x$host_alias" != x; then
1282 if test "x$build_alias" = x; then
1283 cross_compiling=maybe
1284 elif test "x$build_alias" != "x$host_alias"; then
1285 cross_compiling=yes
1286 fi
1287 fi
1288
1289 ac_tool_prefix=
1290 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1291
1292 test "$silent" = yes && exec 6>/dev/null
1293
1294
1295 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296 ac_ls_di=`ls -di .` &&
1297 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 as_fn_error $? "working directory cannot be determined"
1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 as_fn_error $? "pwd does not report name of working directory"
1301
1302
1303 # Find the source files, if location was not specified.
1304 if test -z "$srcdir"; then
1305 ac_srcdir_defaulted=yes
1306 # Try the directory containing this script, then the parent directory.
1307 ac_confdir=`$as_dirname -- "$as_myself" ||
1308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309 X"$as_myself" : 'X\(//\)[^/]' \| \
1310 X"$as_myself" : 'X\(//\)$' \| \
1311 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1312 printf "%s\n" X"$as_myself" |
1313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1314 s//\1/
1315 q
1316 }
1317 /^X\(\/\/\)[^/].*/{
1318 s//\1/
1319 q
1320 }
1321 /^X\(\/\/\)$/{
1322 s//\1/
1323 q
1324 }
1325 /^X\(\/\).*/{
1326 s//\1/
1327 q
1328 }
1329 s/.*/./; q'`
1330 srcdir=$ac_confdir
1331 if test ! -r "$srcdir/$ac_unique_file"; then
1332 srcdir=..
1333 fi
1334 else
1335 ac_srcdir_defaulted=no
1336 fi
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340 fi
1341 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1342 ac_abs_confdir=`(
1343 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344 pwd)`
1345 # When building in place, set srcdir=.
1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
1347 srcdir=.
1348 fi
1349 # Remove unnecessary trailing slashes from srcdir.
1350 # Double slashes in file names in object file debugging info
1351 # mess up M-x gdb in Emacs.
1352 case $srcdir in
1353 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1354 esac
1355 for ac_var in $ac_precious_vars; do
1356 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1357 eval ac_env_${ac_var}_value=\$${ac_var}
1358 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1359 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1360 done
1361
1362 #
1363 # Report the --help message.
1364 #
1365 if test "$ac_init_help" = "long"; then
1366 # Omit some internal or obsolete options to make the list less imposing.
1367 # This message is too long to be a string in the A/UX 3.1 sh.
1368 cat <<_ACEOF
1369 'configure' configures makejvf (TeX Live) 20251226 to adapt to many kinds of systems.
1370
1371 Usage: $0 [OPTION]... [VAR=VALUE]...
1372
1373 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1374 VAR=VALUE. See below for descriptions of some of the useful variables.
1375
1376 Defaults for the options are specified in brackets.
1377
1378 Configuration:
1379 -h, --help display this help and exit
1380 --help=short display options specific to this package
1381 --help=recursive display the short help of all the included packages
1382 -V, --version display version information and exit
1383 -q, --quiet, --silent do not print 'checking ...' messages
1384 --cache-file=FILE cache test results in FILE [disabled]
1385 -C, --config-cache alias for '--cache-file=config.cache'
1386 -n, --no-create do not create output files
1387 --srcdir=DIR find the sources in DIR [configure dir or '..']
1388
1389 Installation directories:
1390 --prefix=PREFIX install architecture-independent files in PREFIX
1391 [$ac_default_prefix]
1392 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1393 [PREFIX]
1394
1395 By default, 'make install' will install all the files in
1396 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1397 an installation prefix other than '$ac_default_prefix' using '--prefix',
1398 for instance '--prefix=\$HOME'.
1399
1400 For better control, use the options below.
1401
1402 Fine tuning of the installation directories:
1403 --bindir=DIR user executables [EPREFIX/bin]
1404 --sbindir=DIR system admin executables [EPREFIX/sbin]
1405 --libexecdir=DIR program executables [EPREFIX/libexec]
1406 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1407 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1408 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1409 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1410 --libdir=DIR object code libraries [EPREFIX/lib]
1411 --includedir=DIR C header files [PREFIX/include]
1412 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1413 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1414 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1415 --infodir=DIR info documentation [DATAROOTDIR/info]
1416 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1417 --mandir=DIR man documentation [DATAROOTDIR/man]
1418 --docdir=DIR documentation root
1419 [DATAROOTDIR/doc/makejvf--tex-live-]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1424 _ACEOF
1425
1426 cat <<\_ACEOF
1427
1428 Program names:
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1432
1433 System types:
1434 --build=BUILD configure for building on BUILD [guessed]
1435 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1436 _ACEOF
1437 fi
1438
1439 if test -n "$ac_init_help"; then
1440 case $ac_init_help in
1441 short | recursive ) echo "Configuration of makejvf (TeX Live) 20251226:";;
1442 esac
1443 cat <<\_ACEOF
1444
1445 Optional Features:
1446 --disable-option-checking ignore unrecognized --enable/--with options
1447 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1448 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1449 --enable-silent-rules less verbose build output (undo: "make V=1")
1450 --disable-silent-rules verbose build output (undo: "make V=0")
1451 --enable-maintainer-mode
1452 enable make rules and dependencies not useful (and
1453 sometimes confusing) to the casual installer
1454 --enable-dependency-tracking
1455 do not reject slow dependency extractors
1456 --disable-dependency-tracking
1457 speeds up one-time build
1458 --enable-compiler-warnings=[no|min|yes|max|all]
1459 Turn on compiler warnings [default: yes if
1460 maintainer-mode, min otherwise]
1461 --enable-shared[=PKGS] build shared libraries [default=yes]
1462 --enable-static[=PKGS] build static libraries [default=yes]
1463 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1464 both]
1465 --enable-fast-install[=PKGS]
1466 optimize for fast installation [default=yes]
1467 --enable-aix-soname=aix|svr4|both
1468 shared library versioning (aka "SONAME") variant to
1469 provide on AIX, [default=aix].
1470 --disable-libtool-lock avoid locking (might break parallel builds)
1471 --disable-largefile omit support for large files
1472 --enable-year2038 support timestamps after 2038
1473
1474 Optional Packages:
1475 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1476 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1477 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1478 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1479 compiler's sysroot if not specified).
1480 --with-system-kpathsea use installed kpathsea headers and library (requires
1481 pkg-config)
1482 --with-system-ptexenc use installed ptexenc headers and library (requires
1483 pkg-config)
1484
1485 Some influential environment variables:
1486 CC C compiler command
1487 CFLAGS C compiler flags
1488 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1489 nonstandard directory <lib dir>
1490 LIBS libraries to pass to the linker, e.g. -l<library>
1491 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492 you have headers in a nonstandard directory <include dir>
1493 LT_SYS_LIBRARY_PATH
1494 User-defined run-time library search path.
1495
1496 Use these variables to override the choices made by 'configure' or to help
1497 it to find libraries and programs with nonstandard names/locations.
1498
1499 Report bugs to the package provider.
1500 _ACEOF
1501 ac_status=$?
1502 fi
1503
1504 if test "$ac_init_help" = "recursive"; then
1505 # If there are subdirs, report their specific --help.
1506 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1507 test -d "$ac_dir" ||
1508 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1509 continue
1510 ac_builddir=.
1511
1512 case "$ac_dir" in
1513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1514 *)
1515 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1516 # A ".." for each directory in $ac_dir_suffix.
1517 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1518 case $ac_top_builddir_sub in
1519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1521 esac ;;
1522 esac
1523 ac_abs_top_builddir=$ac_pwd
1524 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1525 # for backward compatibility:
1526 ac_top_builddir=$ac_top_build_prefix
1527
1528 case $srcdir in
1529 .) # We are building in place.
1530 ac_srcdir=.
1531 ac_top_srcdir=$ac_top_builddir_sub
1532 ac_abs_top_srcdir=$ac_pwd ;;
1533 [\\/]* | ?:[\\/]* ) # Absolute name.
1534 ac_srcdir=$srcdir$ac_dir_suffix;
1535 ac_top_srcdir=$srcdir
1536 ac_abs_top_srcdir=$srcdir ;;
1537 *) # Relative name.
1538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1539 ac_top_srcdir=$ac_top_build_prefix$srcdir
1540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1541 esac
1542 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1543
1544 cd "$ac_dir" || { ac_status=$?; continue; }
1545 # Check for configure.gnu first; this name is used for a wrapper for
1546 # Metaconfig's "Configure" on case-insensitive file systems.
1547 if test -f "$ac_srcdir/configure.gnu"; then
1548 echo &&
1549 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1550 elif test -f "$ac_srcdir/configure"; then
1551 echo &&
1552 $SHELL "$ac_srcdir/configure" --help=recursive
1553 else
1554 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1555 fi || ac_status=$?
1556 cd "$ac_pwd" || { ac_status=$?; break; }
1557 done
1558 fi
1559
1560 test -n "$ac_init_help" && exit $ac_status
1561 if $ac_init_version; then
1562 cat <<\_ACEOF
1563 makejvf (TeX Live) configure 20251226
1564 generated by GNU Autoconf 2.72
1565
1566 Copyright (C) 2023 Free Software Foundation, Inc.
1567 This configure script is free software; the Free Software Foundation
1568 gives unlimited permission to copy, distribute and modify it.
1569 _ACEOF
1570 exit
1571 fi
1572
1573 ## ------------------------ ##
1574 ## Autoconf initialization. ##
1575 ## ------------------------ ##
1576
1577 # ac_fn_c_try_compile LINENO
1578 # --------------------------
1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1580 ac_fn_c_try_compile ()
1581 {
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 rm -f conftest.$ac_objext conftest.beam
1584 if { { ac_try="$ac_compile"
1585 case "(($ac_try" in
1586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1588 esac
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 printf "%s\n" "$ac_try_echo"; } >&5
1591 (eval "$ac_compile") 2>conftest.err
1592 ac_status=$?
1593 if test -s conftest.err; then
1594 grep -v '^ *+' conftest.err >conftest.er1
1595 cat conftest.er1 >&5
1596 mv -f conftest.er1 conftest.err
1597 fi
1598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_c_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest.$ac_objext
1603 then :
1604 ac_retval=0
1605 else case e in #(
1606 e) printf "%s\n" "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1608
1609 ac_retval=1 ;;
1610 esac
1611 fi
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613 as_fn_set_status $ac_retval
1614
1615 } # ac_fn_c_try_compile
1616
1617 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1618 # -------------------------------------------------------
1619 # Tests whether HEADER exists and can be compiled using the include files in
1620 # INCLUDES, setting the cache variable VAR accordingly.
1621 ac_fn_c_check_header_compile ()
1622 {
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1625 printf %s "checking for $2... " >&6; }
1626 if eval test \${$3+y}
1627 then :
1628 printf %s "(cached) " >&6
1629 else case e in #(
1630 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1632 $4
1633 #include <$2>
1634 _ACEOF
1635 if ac_fn_c_try_compile "$LINENO"
1636 then :
1637 eval "$3=yes"
1638 else case e in #(
1639 e) eval "$3=no" ;;
1640 esac
1641 fi
1642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1643 esac
1644 fi
1645 eval ac_res=\$$3
1646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647 printf "%s\n" "$ac_res" >&6; }
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649
1650 } # ac_fn_c_check_header_compile
1651
1652 # ac_fn_c_try_link LINENO
1653 # -----------------------
1654 # Try to link conftest.$ac_ext, and return whether this succeeded.
1655 ac_fn_c_try_link ()
1656 {
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1659 if { { ac_try="$ac_link"
1660 case "(($ac_try" in
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1663 esac
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 printf "%s\n" "$ac_try_echo"; } >&5
1666 (eval "$ac_link") 2>conftest.err
1667 ac_status=$?
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1672 fi
1673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } && {
1675 test -z "$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1677 } && test -s conftest$ac_exeext && {
1678 test "$cross_compiling" = yes ||
1679 test -x conftest$ac_exeext
1680 }
1681 then :
1682 ac_retval=0
1683 else case e in #(
1684 e) printf "%s\n" "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1686
1687 ac_retval=1 ;;
1688 esac
1689 fi
1690 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1691 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1692 # interfere with the next link command; also delete a directory that is
1693 # left behind by Apple's compiler. We do this before executing the actions.
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1697
1698 } # ac_fn_c_try_link
1699
1700 # ac_fn_c_check_func LINENO FUNC VAR
1701 # ----------------------------------
1702 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1703 ac_fn_c_check_func ()
1704 {
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 printf %s "checking for $2... " >&6; }
1708 if eval test \${$3+y}
1709 then :
1710 printf %s "(cached) " >&6
1711 else case e in #(
1712 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1714 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1716 #define $2 innocuous_$2
1717
1718 /* System header to define __stub macros and hopefully few prototypes,
1719 which can conflict with char $2 (void); below. */
1720
1721 #include <limits.h>
1722 #undef $2
1723
1724 /* Override any GCC internal prototype to avoid an error.
1725 Use char because int might match the return type of a GCC
1726 builtin and then its argument prototype would still apply. */
1727 #ifdef __cplusplus
1728 extern "C"
1729 #endif
1730 char $2 (void);
1731 /* The GNU C library defines this for functions which it implements
1732 to always fail with ENOSYS. Some functions are actually named
1733 something starting with __ and the normal name is an alias. */
1734 #if defined __stub_$2 || defined __stub___$2
1735 choke me
1736 #endif
1737
1738 int
1739 main (void)
1740 {
1741 return $2 ();
1742 ;
1743 return 0;
1744 }
1745 _ACEOF
1746 if ac_fn_c_try_link "$LINENO"
1747 then :
1748 eval "$3=yes"
1749 else case e in #(
1750 e) eval "$3=no" ;;
1751 esac
1752 fi
1753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1754 conftest$ac_exeext conftest.$ac_ext ;;
1755 esac
1756 fi
1757 eval ac_res=\$$3
1758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 printf "%s\n" "$ac_res" >&6; }
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761
1762 } # ac_fn_c_check_func
1763
1764 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1765 # -------------------------------------------
1766 # Tests whether TYPE exists after having included INCLUDES, setting cache
1767 # variable VAR accordingly.
1768 ac_fn_c_check_type ()
1769 {
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 printf %s "checking for $2... " >&6; }
1773 if eval test \${$3+y}
1774 then :
1775 printf %s "(cached) " >&6
1776 else case e in #(
1777 e) eval "$3=no"
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1780 $4
1781 int
1782 main (void)
1783 {
1784 if (sizeof ($2))
1785 return 0;
1786 ;
1787 return 0;
1788 }
1789 _ACEOF
1790 if ac_fn_c_try_compile "$LINENO"
1791 then :
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1794 $4
1795 int
1796 main (void)
1797 {
1798 if (sizeof (($2)))
1799 return 0;
1800 ;
1801 return 0;
1802 }
1803 _ACEOF
1804 if ac_fn_c_try_compile "$LINENO"
1805 then :
1806
1807 else case e in #(
1808 e) eval "$3=yes" ;;
1809 esac
1810 fi
1811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1812 fi
1813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1814 esac
1815 fi
1816 eval ac_res=\$$3
1817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 printf "%s\n" "$ac_res" >&6; }
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820
1821 } # ac_fn_c_check_type
1822
1823 # ac_fn_c_find_intX_t LINENO BITS VAR
1824 # -----------------------------------
1825 # Finds a signed integer type with width BITS, setting cache variable VAR
1826 # accordingly.
1827 ac_fn_c_find_intX_t ()
1828 {
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1831 printf %s "checking for int$2_t... " >&6; }
1832 if eval test \${$3+y}
1833 then :
1834 printf %s "(cached) " >&6
1835 else case e in #(
1836 e) eval "$3=no"
1837 # Order is important - never check a type that is potentially smaller
1838 # than half of the expected target width.
1839 for ac_type in int$2_t 'int' 'long int' \
1840 'long long int' 'short int' 'signed char'; do
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1843 $ac_includes_default
1844 enum { N = $2 / 2 - 1 };
1845 int
1846 main (void)
1847 {
1848 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1849 test_array [0] = 0;
1850 return test_array [0];
1851
1852 ;
1853 return 0;
1854 }
1855 _ACEOF
1856 if ac_fn_c_try_compile "$LINENO"
1857 then :
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1860 $ac_includes_default
1861 enum { N = $2 / 2 - 1 };
1862 int
1863 main (void)
1864 {
1865 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1866 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1867 test_array [0] = 0;
1868 return test_array [0];
1869
1870 ;
1871 return 0;
1872 }
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"
1875 then :
1876
1877 else case e in #(
1878 e) case $ac_type in #(
1879 int$2_t) :
1880 eval "$3=yes" ;; #(
1881 *) :
1882 eval "$3=\$ac_type" ;;
1883 esac ;;
1884 esac
1885 fi
1886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1887 fi
1888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1889 if eval test \"x\$"$3"\" = x"no"
1890 then :
1891
1892 else case e in #(
1893 e) break ;;
1894 esac
1895 fi
1896 done ;;
1897 esac
1898 fi
1899 eval ac_res=\$$3
1900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 printf "%s\n" "$ac_res" >&6; }
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903
1904 } # ac_fn_c_find_intX_t
1905
1906 # ac_fn_c_find_uintX_t LINENO BITS VAR
1907 # ------------------------------------
1908 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1909 # accordingly.
1910 ac_fn_c_find_uintX_t ()
1911 {
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1914 printf %s "checking for uint$2_t... " >&6; }
1915 if eval test \${$3+y}
1916 then :
1917 printf %s "(cached) " >&6
1918 else case e in #(
1919 e) eval "$3=no"
1920 # Order is important - never check a type that is potentially smaller
1921 # than half of the expected target width.
1922 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1923 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1926 $ac_includes_default
1927 int
1928 main (void)
1929 {
1930 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1931 test_array [0] = 0;
1932 return test_array [0];
1933
1934 ;
1935 return 0;
1936 }
1937 _ACEOF
1938 if ac_fn_c_try_compile "$LINENO"
1939 then :
1940 case $ac_type in #(
1941 uint$2_t) :
1942 eval "$3=yes" ;; #(
1943 *) :
1944 eval "$3=\$ac_type" ;;
1945 esac
1946 fi
1947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1948 if eval test \"x\$"$3"\" = x"no"
1949 then :
1950
1951 else case e in #(
1952 e) break ;;
1953 esac
1954 fi
1955 done ;;
1956 esac
1957 fi
1958 eval ac_res=\$$3
1959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 printf "%s\n" "$ac_res" >&6; }
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962
1963 } # ac_fn_c_find_uintX_t
1964
1965 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1966 # ------------------------------------------------------------------
1967 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1968 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1969 ac_fn_check_decl ()
1970 {
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 as_decl_name=`echo $2|sed 's/ *(.*//'`
1973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1974 printf %s "checking whether $as_decl_name is declared... " >&6; }
1975 if eval test \${$3+y}
1976 then :
1977 printf %s "(cached) " >&6
1978 else case e in #(
1979 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1980 eval ac_save_FLAGS=\$$6
1981 as_fn_append $6 " $5"
1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1984 $4
1985 int
1986 main (void)
1987 {
1988 #ifndef $as_decl_name
1989 #ifdef __cplusplus
1990 (void) $as_decl_use;
1991 #else
1992 (void) $as_decl_name;
1993 #endif
1994 #endif
1995
1996 ;
1997 return 0;
1998 }
1999 _ACEOF
2000 if ac_fn_c_try_compile "$LINENO"
2001 then :
2002 eval "$3=yes"
2003 else case e in #(
2004 e) eval "$3=no" ;;
2005 esac
2006 fi
2007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2008 eval $6=\$ac_save_FLAGS
2009 ;;
2010 esac
2011 fi
2012 eval ac_res=\$$3
2013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2014 printf "%s\n" "$ac_res" >&6; }
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016
2017 } # ac_fn_check_decl
2018
2019 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2020 # ----------------------------------------------------
2021 # Tries to find if the field MEMBER exists in type AGGR, after including
2022 # INCLUDES, setting cache variable VAR accordingly.
2023 ac_fn_c_check_member ()
2024 {
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2027 printf %s "checking for $2.$3... " >&6; }
2028 if eval test \${$4+y}
2029 then :
2030 printf %s "(cached) " >&6
2031 else case e in #(
2032 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2034 $5
2035 int
2036 main (void)
2037 {
2038 static $2 ac_aggr;
2039 if (ac_aggr.$3)
2040 return 0;
2041 ;
2042 return 0;
2043 }
2044 _ACEOF
2045 if ac_fn_c_try_compile "$LINENO"
2046 then :
2047 eval "$4=yes"
2048 else case e in #(
2049 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2051 $5
2052 int
2053 main (void)
2054 {
2055 static $2 ac_aggr;
2056 if (sizeof ac_aggr.$3)
2057 return 0;
2058 ;
2059 return 0;
2060 }
2061 _ACEOF
2062 if ac_fn_c_try_compile "$LINENO"
2063 then :
2064 eval "$4=yes"
2065 else case e in #(
2066 e) eval "$4=no" ;;
2067 esac
2068 fi
2069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2070 esac
2071 fi
2072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2073 esac
2074 fi
2075 eval ac_res=\$$4
2076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 printf "%s\n" "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079
2080 } # ac_fn_c_check_member
2081 ac_configure_args_raw=
2082 for ac_arg
2083 do
2084 case $ac_arg in
2085 *\'*)
2086 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2087 esac
2088 as_fn_append ac_configure_args_raw " '$ac_arg'"
2089 done
2090
2091 case $ac_configure_args_raw in
2092 *$as_nl*)
2093 ac_safe_unquote= ;;
2094 *)
2095 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2096 ac_unsafe_a="$ac_unsafe_z#~"
2097 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2098 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2099 esac
2100
2101 cat >config.log <<_ACEOF
2102 This file contains any messages produced by compilers while
2103 running configure, to aid debugging if configure makes a mistake.
2104
2105 It was created by makejvf (TeX Live) $as_me 20251226, which was
2106 generated by GNU Autoconf 2.72. Invocation command line was
2107
2108 $ $0$ac_configure_args_raw
2109
2110 _ACEOF
2111 exec 5>>config.log
2112 {
2113 cat <<_ASUNAME
2114 ## --------- ##
2115 ## Platform. ##
2116 ## --------- ##
2117
2118 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2119 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2120 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2121 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2122 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2123
2124 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2125 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2126
2127 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2128 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2129 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2130 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2131 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2132 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2133 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2134
2135 _ASUNAME
2136
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2139 do
2140 IFS=$as_save_IFS
2141 case $as_dir in #(((
2142 '') as_dir=./ ;;
2143 */) ;;
2144 *) as_dir=$as_dir/ ;;
2145 esac
2146 printf "%s\n" "PATH: $as_dir"
2147 done
2148 IFS=$as_save_IFS
2149
2150 } >&5
2151
2152 cat >&5 <<_ACEOF
2153
2154
2155 ## ----------- ##
2156 ## Core tests. ##
2157 ## ----------- ##
2158
2159 _ACEOF
2160
2161
2162 # Keep a trace of the command line.
2163 # Strip out --no-create and --no-recursion so they do not pile up.
2164 # Strip out --silent because we don't want to record it for future runs.
2165 # Also quote any args containing shell meta-characters.
2166 # Make two passes to allow for proper duplicate-argument suppression.
2167 ac_configure_args=
2168 ac_configure_args0=
2169 ac_configure_args1=
2170 ac_must_keep_next=false
2171 for ac_pass in 1 2
2172 do
2173 for ac_arg
2174 do
2175 case $ac_arg in
2176 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2178 | -silent | --silent | --silen | --sile | --sil)
2179 continue ;;
2180 *\'*)
2181 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2182 esac
2183 case $ac_pass in
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2185 2)
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
2187 if test $ac_must_keep_next = true; then
2188 ac_must_keep_next=false # Got value, back to normal.
2189 else
2190 case $ac_arg in
2191 *=* | --config-cache | -C | -disable-* | --disable-* \
2192 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2193 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2194 | -with-* | --with-* | -without-* | --without-* | --x)
2195 case "$ac_configure_args0 " in
2196 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2197 esac
2198 ;;
2199 -* ) ac_must_keep_next=true ;;
2200 esac
2201 fi
2202 as_fn_append ac_configure_args " '$ac_arg'"
2203 ;;
2204 esac
2205 done
2206 done
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
2209
2210 # When interrupted or exit'd, cleanup temporary files, and complete
2211 # config.log. We remove comments because anyway the quotes in there
2212 # would cause problems or look ugly.
2213 # WARNING: Use '\'' to represent an apostrophe within the trap.
2214 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2215 trap 'exit_status=$?
2216 # Sanitize IFS.
2217 IFS=" "" $as_nl"
2218 # Save into config.log some information that might help in debugging.
2219 {
2220 echo
2221
2222 printf "%s\n" "## ---------------- ##
2223 ## Cache variables. ##
2224 ## ---------------- ##"
2225 echo
2226 # The following way of writing the cache mishandles newlines in values,
2227 (
2228 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2229 eval ac_val=\$$ac_var
2230 case $ac_val in #(
2231 *${as_nl}*)
2232 case $ac_var in #(
2233 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2234 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2235 esac
2236 case $ac_var in #(
2237 _ | IFS | as_nl) ;; #(
2238 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2239 *) { eval $ac_var=; unset $ac_var;} ;;
2240 esac ;;
2241 esac
2242 done
2243 (set) 2>&1 |
2244 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2245 *${as_nl}ac_space=\ *)
2246 sed -n \
2247 "s/'\''/'\''\\\\'\'''\''/g;
2248 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2249 ;; #(
2250 *)
2251 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2252 ;;
2253 esac |
2254 sort
2255 )
2256 echo
2257
2258 printf "%s\n" "## ----------------- ##
2259 ## Output variables. ##
2260 ## ----------------- ##"
2261 echo
2262 for ac_var in $ac_subst_vars
2263 do
2264 eval ac_val=\$$ac_var
2265 case $ac_val in
2266 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2267 esac
2268 printf "%s\n" "$ac_var='\''$ac_val'\''"
2269 done | sort
2270 echo
2271
2272 if test -n "$ac_subst_files"; then
2273 printf "%s\n" "## ------------------- ##
2274 ## File substitutions. ##
2275 ## ------------------- ##"
2276 echo
2277 for ac_var in $ac_subst_files
2278 do
2279 eval ac_val=\$$ac_var
2280 case $ac_val in
2281 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282 esac
2283 printf "%s\n" "$ac_var='\''$ac_val'\''"
2284 done | sort
2285 echo
2286 fi
2287
2288 if test -s confdefs.h; then
2289 printf "%s\n" "## ----------- ##
2290 ## confdefs.h. ##
2291 ## ----------- ##"
2292 echo
2293 cat confdefs.h
2294 echo
2295 fi
2296 test "$ac_signal" != 0 &&
2297 printf "%s\n" "$as_me: caught signal $ac_signal"
2298 printf "%s\n" "$as_me: exit $exit_status"
2299 } >&5
2300 rm -f core *.core core.conftest.* &&
2301 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2302 exit $exit_status
2303 ' 0
2304 for ac_signal in 1 2 13 15; do
2305 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2306 done
2307 ac_signal=0
2308
2309 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2310 rm -f -r conftest* confdefs.h
2311
2312 printf "%s\n" "/* confdefs.h */" > confdefs.h
2313
2314 # Predefined preprocessor variables.
2315
2316 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2317
2318 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2319
2320 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2321
2322 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2323
2324 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2325
2326 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2327
2328
2329 # Let the site file select an alternate cache file if it wants to.
2330 # Prefer an explicitly selected file to automatically selected ones.
2331 if test -n "$CONFIG_SITE"; then
2332 ac_site_files="$CONFIG_SITE"
2333 elif test "x$prefix" != xNONE; then
2334 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2335 else
2336 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2337 fi
2338
2339 for ac_site_file in $ac_site_files
2340 do
2341 case $ac_site_file in #(
2342 */*) :
2343 ;; #(
2344 *) :
2345 ac_site_file=./$ac_site_file ;;
2346 esac
2347 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2349 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2350 sed 's/^/| /' "$ac_site_file" >&5
2351 . "$ac_site_file" \
2352 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2353 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2354 as_fn_error $? "failed to load site script $ac_site_file
2355 See 'config.log' for more details" "$LINENO" 5; }
2356 fi
2357 done
2358
2359 if test -r "$cache_file"; then
2360 # Some versions of bash will fail to source /dev/null (special files
2361 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2362 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2364 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2365 case $cache_file in
2366 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2367 *) . "./$cache_file";;
2368 esac
2369 fi
2370 else
2371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2372 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2373 >$cache_file
2374 fi
2375
2376 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2377 # Test code for whether the C compiler supports C89 (global declarations)
2378 ac_c_conftest_c89_globals='
2379 /* Does the compiler advertise C89 conformance?
2380 Do not test the value of __STDC__, because some compilers set it to 0
2381 while being otherwise adequately conformant. */
2382 #if !defined __STDC__
2383 # error "Compiler does not advertise C89 conformance"
2384 #endif
2385
2386 #include <stddef.h>
2387 #include <stdarg.h>
2388 struct stat;
2389 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2390 struct buf { int x; };
2391 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2392 static char *e (char **p, int i)
2393 {
2394 return p[i];
2395 }
2396 static char *f (char * (*g) (char **, int), char **p, ...)
2397 {
2398 char *s;
2399 va_list v;
2400 va_start (v,p);
2401 s = g (p, va_arg (v,int));
2402 va_end (v);
2403 return s;
2404 }
2405
2406 /* C89 style stringification. */
2407 #define noexpand_stringify(a) #a
2408 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2409
2410 /* C89 style token pasting. Exercises some of the corner cases that
2411 e.g. old MSVC gets wrong, but not very hard. */
2412 #define noexpand_concat(a,b) a##b
2413 #define expand_concat(a,b) noexpand_concat(a,b)
2414 extern int vA;
2415 extern int vbee;
2416 #define aye A
2417 #define bee B
2418 int *pvA = &expand_concat(v,aye);
2419 int *pvbee = &noexpand_concat(v,bee);
2420
2421 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2422 function prototypes and stuff, but not \xHH hex character constants.
2423 These do not provoke an error unfortunately, instead are silently treated
2424 as an "x". The following induces an error, until -std is added to get
2425 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2426 array size at least. It is necessary to write \x00 == 0 to get something
2427 that is true only with -std. */
2428 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2429
2430 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2431 inside strings and character constants. */
2432 #define FOO(x) '\''x'\''
2433 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2434
2435 int test (int i, double x);
2436 struct s1 {int (*f) (int a);};
2437 struct s2 {int (*f) (double a);};
2438 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2439 int, int);'
2440
2441 # Test code for whether the C compiler supports C89 (body of main).
2442 ac_c_conftest_c89_main='
2443 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2444 '
2445
2446 # Test code for whether the C compiler supports C99 (global declarations)
2447 ac_c_conftest_c99_globals='
2448 /* Does the compiler advertise C99 conformance? */
2449 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2450 # error "Compiler does not advertise C99 conformance"
2451 #endif
2452
2453 // See if C++-style comments work.
2454
2455 #include <stdbool.h>
2456 extern int puts (const char *);
2457 extern int printf (const char *, ...);
2458 extern int dprintf (int, const char *, ...);
2459 extern void *malloc (size_t);
2460 extern void free (void *);
2461
2462 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2463 // dprintf is used instead of fprintf to avoid needing to declare
2464 // FILE and stderr.
2465 #define debug(...) dprintf (2, __VA_ARGS__)
2466 #define showlist(...) puts (#__VA_ARGS__)
2467 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2468 static void
2469 test_varargs_macros (void)
2470 {
2471 int x = 1234;
2472 int y = 5678;
2473 debug ("Flag");
2474 debug ("X = %d\n", x);
2475 showlist (The first, second, and third items.);
2476 report (x>y, "x is %d but y is %d", x, y);
2477 }
2478
2479 // Check long long types.
2480 #define BIG64 18446744073709551615ull
2481 #define BIG32 4294967295ul
2482 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2483 #if !BIG_OK
2484 #error "your preprocessor is broken"
2485 #endif
2486 #if BIG_OK
2487 #else
2488 #error "your preprocessor is broken"
2489 #endif
2490 static long long int bignum = -9223372036854775807LL;
2491 static unsigned long long int ubignum = BIG64;
2492
2493 struct incomplete_array
2494 {
2495 int datasize;
2496 double data[];
2497 };
2498
2499 struct named_init {
2500 int number;
2501 const wchar_t *name;
2502 double average;
2503 };
2504
2505 typedef const char *ccp;
2506
2507 static inline int
2508 test_restrict (ccp restrict text)
2509 {
2510 // Iterate through items via the restricted pointer.
2511 // Also check for declarations in for loops.
2512 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2513 continue;
2514 return 0;
2515 }
2516
2517 // Check varargs and va_copy.
2518 static bool
2519 test_varargs (const char *format, ...)
2520 {
2521 va_list args;
2522 va_start (args, format);
2523 va_list args_copy;
2524 va_copy (args_copy, args);
2525
2526 const char *str = "";
2527 int number = 0;
2528 float fnumber = 0;
2529
2530 while (*format)
2531 {
2532 switch (*format++)
2533 {
2534 case '\''s'\'': // string
2535 str = va_arg (args_copy, const char *);
2536 break;
2537 case '\''d'\'': // int
2538 number = va_arg (args_copy, int);
2539 break;
2540 case '\''f'\'': // float
2541 fnumber = va_arg (args_copy, double);
2542 break;
2543 default:
2544 break;
2545 }
2546 }
2547 va_end (args_copy);
2548 va_end (args);
2549
2550 return *str && number && fnumber;
2551 }
2552 '
2553
2554 # Test code for whether the C compiler supports C99 (body of main).
2555 ac_c_conftest_c99_main='
2556 // Check bool.
2557 _Bool success = false;
2558 success |= (argc != 0);
2559
2560 // Check restrict.
2561 if (test_restrict ("String literal") == 0)
2562 success = true;
2563 char *restrict newvar = "Another string";
2564
2565 // Check varargs.
2566 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2567 test_varargs_macros ();
2568
2569 // Check flexible array members.
2570 struct incomplete_array *ia =
2571 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2572 ia->datasize = 10;
2573 for (int i = 0; i < ia->datasize; ++i)
2574 ia->data[i] = i * 1.234;
2575 // Work around memory leak warnings.
2576 free (ia);
2577
2578 // Check named initializers.
2579 struct named_init ni = {
2580 .number = 34,
2581 .name = L"Test wide string",
2582 .average = 543.34343,
2583 };
2584
2585 ni.number = 58;
2586
2587 int dynamic_array[ni.number];
2588 dynamic_array[0] = argv[0][0];
2589 dynamic_array[ni.number - 1] = 543;
2590
2591 // work around unused variable warnings
2592 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2593 || dynamic_array[ni.number - 1] != 543);
2594 '
2595
2596 # Test code for whether the C compiler supports C11 (global declarations)
2597 ac_c_conftest_c11_globals='
2598 /* Does the compiler advertise C11 conformance? */
2599 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2600 # error "Compiler does not advertise C11 conformance"
2601 #endif
2602
2603 // Check _Alignas.
2604 char _Alignas (double) aligned_as_double;
2605 char _Alignas (0) no_special_alignment;
2606 extern char aligned_as_int;
2607 char _Alignas (0) _Alignas (int) aligned_as_int;
2608
2609 // Check _Alignof.
2610 enum
2611 {
2612 int_alignment = _Alignof (int),
2613 int_array_alignment = _Alignof (int[100]),
2614 char_alignment = _Alignof (char)
2615 };
2616 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2617
2618 // Check _Noreturn.
2619 int _Noreturn does_not_return (void) { for (;;) continue; }
2620
2621 // Check _Static_assert.
2622 struct test_static_assert
2623 {
2624 int x;
2625 _Static_assert (sizeof (int) <= sizeof (long int),
2626 "_Static_assert does not work in struct");
2627 long int y;
2628 };
2629
2630 // Check UTF-8 literals.
2631 #define u8 syntax error!
2632 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2633
2634 // Check duplicate typedefs.
2635 typedef long *long_ptr;
2636 typedef long int *long_ptr;
2637 typedef long_ptr long_ptr;
2638
2639 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2640 struct anonymous
2641 {
2642 union {
2643 struct { int i; int j; };
2644 struct { int k; long int l; } w;
2645 };
2646 int m;
2647 } v1;
2648 '
2649
2650 # Test code for whether the C compiler supports C11 (body of main).
2651 ac_c_conftest_c11_main='
2652 _Static_assert ((offsetof (struct anonymous, i)
2653 == offsetof (struct anonymous, w.k)),
2654 "Anonymous union alignment botch");
2655 v1.i = 2;
2656 v1.w.k = 5;
2657 ok |= v1.i != 5;
2658 '
2659
2660 # Test code for whether the C compiler supports C11 (complete).
2661 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2662 ${ac_c_conftest_c99_globals}
2663 ${ac_c_conftest_c11_globals}
2664
2665 int
2666 main (int argc, char **argv)
2667 {
2668 int ok = 0;
2669 ${ac_c_conftest_c89_main}
2670 ${ac_c_conftest_c99_main}
2671 ${ac_c_conftest_c11_main}
2672 return ok;
2673 }
2674 "
2675
2676 # Test code for whether the C compiler supports C99 (complete).
2677 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2678 ${ac_c_conftest_c99_globals}
2679
2680 int
2681 main (int argc, char **argv)
2682 {
2683 int ok = 0;
2684 ${ac_c_conftest_c89_main}
2685 ${ac_c_conftest_c99_main}
2686 return ok;
2687 }
2688 "
2689
2690 # Test code for whether the C compiler supports C89 (complete).
2691 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2692
2693 int
2694 main (int argc, char **argv)
2695 {
2696 int ok = 0;
2697 ${ac_c_conftest_c89_main}
2698 return ok;
2699 }
2700 "
2701
2702 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2703 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2704 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2705 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2706 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2707 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2708 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2709 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2710 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2711 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2712
2713 # Auxiliary files required by this configure script.
2714 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2715
2716 # Locations in which to look for auxiliary files.
2717 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2718
2719 # Search for a directory containing all of the required auxiliary files,
2720 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2721 # If we don't find one directory that contains all the files we need,
2722 # we report the set of missing files from the *first* directory in
2723 # $ac_aux_dir_candidates and give up.
2724 ac_missing_aux_files=""
2725 ac_first_candidate=:
2726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 as_found=false
2729 for as_dir in $ac_aux_dir_candidates
2730 do
2731 IFS=$as_save_IFS
2732 case $as_dir in #(((
2733 '') as_dir=./ ;;
2734 */) ;;
2735 *) as_dir=$as_dir/ ;;
2736 esac
2737 as_found=:
2738
2739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2740 ac_aux_dir_found=yes
2741 ac_install_sh=
2742 for ac_aux in $ac_aux_files
2743 do
2744 # As a special case, if "install-sh" is required, that requirement
2745 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2746 # and $ac_install_sh is set appropriately for whichever one is found.
2747 if test x"$ac_aux" = x"install-sh"
2748 then
2749 if test -f "${as_dir}install-sh"; then
2750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2751 ac_install_sh="${as_dir}install-sh -c"
2752 elif test -f "${as_dir}install.sh"; then
2753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2754 ac_install_sh="${as_dir}install.sh -c"
2755 elif test -f "${as_dir}shtool"; then
2756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2757 ac_install_sh="${as_dir}shtool install -c"
2758 else
2759 ac_aux_dir_found=no
2760 if $ac_first_candidate; then
2761 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2762 else
2763 break
2764 fi
2765 fi
2766 else
2767 if test -f "${as_dir}${ac_aux}"; then
2768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2769 else
2770 ac_aux_dir_found=no
2771 if $ac_first_candidate; then
2772 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2773 else
2774 break
2775 fi
2776 fi
2777 fi
2778 done
2779 if test "$ac_aux_dir_found" = yes; then
2780 ac_aux_dir="$as_dir"
2781 break
2782 fi
2783 ac_first_candidate=false
2784
2785 as_found=false
2786 done
2787 IFS=$as_save_IFS
2788 if $as_found
2789 then :
2790
2791 else case e in #(
2792 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2793 esac
2794 fi
2795
2796
2797 # These three variables are undocumented and unsupported,
2798 # and are intended to be withdrawn in a future Autoconf release.
2799 # They can cause serious problems if a builder's source tree is in a directory
2800 # whose full name contains unusual characters.
2801 if test -f "${ac_aux_dir}config.guess"; then
2802 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2803 fi
2804 if test -f "${ac_aux_dir}config.sub"; then
2805 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2806 fi
2807 if test -f "$ac_aux_dir/configure"; then
2808 ac_configure="$SHELL ${ac_aux_dir}configure"
2809 fi
2810
2811 # Check that the precious variables saved in the cache have kept the same
2812 # value.
2813 ac_cache_corrupted=false
2814 for ac_var in $ac_precious_vars; do
2815 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2816 eval ac_new_set=\$ac_env_${ac_var}_set
2817 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2818 eval ac_new_val=\$ac_env_${ac_var}_value
2819 case $ac_old_set,$ac_new_set in
2820 set,)
2821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2822 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2823 ac_cache_corrupted=: ;;
2824 ,set)
2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2826 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2827 ac_cache_corrupted=: ;;
2828 ,);;
2829 *)
2830 if test "x$ac_old_val" != "x$ac_new_val"; then
2831 # differences in whitespace do not lead to failure.
2832 ac_old_val_w=`echo x $ac_old_val`
2833 ac_new_val_w=`echo x $ac_new_val`
2834 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2836 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2837 ac_cache_corrupted=:
2838 else
2839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2840 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2841 eval $ac_var=\$ac_old_val
2842 fi
2843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2844 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2846 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2847 fi;;
2848 esac
2849 # Pass precious variables to config.status.
2850 if test "$ac_new_set" = set; then
2851 case $ac_new_val in
2852 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2853 *) ac_arg=$ac_var=$ac_new_val ;;
2854 esac
2855 case " $ac_configure_args " in
2856 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2857 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2858 esac
2859 fi
2860 done
2861 if $ac_cache_corrupted; then
2862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2863 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2865 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2866 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2867 and start over" "$LINENO" 5
2868 fi
2869 ## -------------------- ##
2870 ## Main body of script. ##
2871 ## -------------------- ##
2872
2873 ac_ext=c
2874 ac_cpp='$CPP $CPPFLAGS'
2875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2878
2879
2880
2881
2882
2883
2884
2885 am__api_version='1.18'
2886
2887
2888
2889 # Find a good install program. We prefer a C program (faster),
2890 # so one script is as good as another. But avoid the broken or
2891 # incompatible versions:
2892 # SysV /etc/install, /usr/sbin/install
2893 # SunOS /usr/etc/install
2894 # IRIX /sbin/install
2895 # AIX /bin/install
2896 # AmigaOS /C/install, which installs bootblocks on floppy discs
2897 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2898 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2899 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2900 # OS/2's system install, which has a completely different semantic
2901 # ./install, which can be erroneously created by make from ./install.sh.
2902 # Reject install programs that cannot install multiple files.
2903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2904 printf %s "checking for a BSD-compatible install... " >&6; }
2905 if test -z "$INSTALL"; then
2906 if test ${ac_cv_path_install+y}
2907 then :
2908 printf %s "(cached) " >&6
2909 else case e in #(
2910 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 for as_dir in $PATH
2912 do
2913 IFS=$as_save_IFS
2914 case $as_dir in #(((
2915 '') as_dir=./ ;;
2916 */) ;;
2917 *) as_dir=$as_dir/ ;;
2918 esac
2919 # Account for fact that we put trailing slashes in our PATH walk.
2920 case $as_dir in #((
2921 ./ | /[cC]/* | \
2922 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2923 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2924 /usr/ucb/* ) ;;
2925 *)
2926 # OSF1 and SCO ODT 3.0 have their own names for install.
2927 # Don't use installbsd from OSF since it installs stuff as root
2928 # by default.
2929 for ac_prog in ginstall scoinst install; do
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2932 if test $ac_prog = install &&
2933 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2934 # AIX install. It has an incompatible calling convention.
2935 :
2936 elif test $ac_prog = install &&
2937 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2938 # program-specific install script used by HP pwplus--don't use.
2939 :
2940 else
2941 rm -rf conftest.one conftest.two conftest.dir
2942 echo one > conftest.one
2943 echo two > conftest.two
2944 mkdir conftest.dir
2945 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2946 test -s conftest.one && test -s conftest.two &&
2947 test -s conftest.dir/conftest.one &&
2948 test -s conftest.dir/conftest.two
2949 then
2950 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2951 break 3
2952 fi
2953 fi
2954 fi
2955 done
2956 done
2957 ;;
2958 esac
2959
2960 done
2961 IFS=$as_save_IFS
2962
2963 rm -rf conftest.one conftest.two conftest.dir
2964 ;;
2965 esac
2966 fi
2967 if test ${ac_cv_path_install+y}; then
2968 INSTALL=$ac_cv_path_install
2969 else
2970 # As a last resort, use the slow shell script. Don't cache a
2971 # value for INSTALL within a source directory, because that will
2972 # break other packages using the cache if that directory is
2973 # removed, or if the value is a relative name.
2974 INSTALL=$ac_install_sh
2975 fi
2976 fi
2977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2978 printf "%s\n" "$INSTALL" >&6; }
2979
2980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2981 # It thinks the first close brace ends the variable substitution.
2982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2983
2984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2985
2986 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2987
2988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
2989 printf %s "checking whether sleep supports fractional seconds... " >&6; }
2990 if test ${am_cv_sleep_fractional_seconds+y}
2991 then :
2992 printf %s "(cached) " >&6
2993 else case e in #(
2994 e) if sleep 0.001 2>/dev/null
2995 then :
2996 am_cv_sleep_fractional_seconds=yes
2997 else case e in #(
2998 e) am_cv_sleep_fractional_seconds=no ;;
2999 esac
3000 fi
3001 ;;
3002 esac
3003 fi
3004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3005 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3006
3007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3008 printf %s "checking filesystem timestamp resolution... " >&6; }
3009 if test ${am_cv_filesystem_timestamp_resolution+y}
3010 then :
3011 printf %s "(cached) " >&6
3012 else case e in #(
3013 e) # Default to the worst case.
3014 am_cv_filesystem_timestamp_resolution=2
3015
3016 # Only try to go finer than 1 sec if sleep can do it.
3017 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3018 # - 1 sec is not much of a win compared to 2 sec, and
3019 # - it takes 2 seconds to perform the test whether 1 sec works.
3020 #
3021 # Instead, just use the default 2s on platforms that have 1s resolution,
3022 # accept the extra 1s delay when using $sleep in the Automake tests, in
3023 # exchange for not incurring the 2s delay for running the test for all
3024 # packages.
3025 #
3026 am_try_resolutions=
3027 if test "$am_cv_sleep_fractional_seconds" = yes; then
3028 # Even a millisecond often causes a bunch of false positives,
3029 # so just try a hundredth of a second. The time saved between .001 and
3030 # .01 is not terribly consequential.
3031 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3032 fi
3033
3034 # In order to catch current-generation FAT out, we must *modify* files
3035 # that already exist; the *creation* timestamp is finer. Use names
3036 # that make ls -t sort them differently when they have equal
3037 # timestamps than when they have distinct timestamps, keeping
3038 # in mind that ls -t prints the *newest* file first.
3039 rm -f conftest.ts?
3040 : > conftest.ts1
3041 : > conftest.ts2
3042 : > conftest.ts3
3043
3044 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3045 # clobber the current shell's arguments. (Outer-level square brackets
3046 # are removed by m4; they're present so that m4 does not expand
3047 # <dollar><star>; be careful, easy to get confused.)
3048 if (
3049 set X `ls -t conftest.ts[12]` &&
3050 {
3051 test "$*" != "X conftest.ts1 conftest.ts2" ||
3052 test "$*" != "X conftest.ts2 conftest.ts1";
3053 }
3054 ); then :; else
3055 # If neither matched, then we have a broken ls. This can happen
3056 # if, for instance, CONFIG_SHELL is bash and it inherits a
3057 # broken ls alias from the environment. This has actually
3058 # happened. Such a system could not be considered "sane".
3059 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3060 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3061 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3062 as_fn_error $? "ls -t produces unexpected output.
3063 Make sure there is not a broken ls alias in your environment.
3064 See 'config.log' for more details" "$LINENO" 5; }
3065 fi
3066
3067 for am_try_res in $am_try_resolutions; do
3068 # Any one fine-grained sleep might happen to cross the boundary
3069 # between two values of a coarser actual resolution, but if we do
3070 # two fine-grained sleeps in a row, at least one of them will fall
3071 # entirely within a coarse interval.
3072 echo alpha > conftest.ts1
3073 sleep $am_try_res
3074 echo beta > conftest.ts2
3075 sleep $am_try_res
3076 echo gamma > conftest.ts3
3077
3078 # We assume that 'ls -t' will make use of high-resolution
3079 # timestamps if the operating system supports them at all.
3080 if (set X `ls -t conftest.ts?` &&
3081 test "$2" = conftest.ts3 &&
3082 test "$3" = conftest.ts2 &&
3083 test "$4" = conftest.ts1); then
3084 #
3085 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3086 # because we don't need to test make.
3087 make_ok=true
3088 if test $am_try_res != 1; then
3089 # But if we've succeeded so far with a subsecond resolution, we
3090 # have one more thing to check: make. It can happen that
3091 # everything else supports the subsecond mtimes, but make doesn't;
3092 # notably on macOS, which ships make 3.81 from 2006 (the last one
3093 # released under GPLv2). https://bugs.gnu.org/68808
3094 #
3095 # We test $MAKE if it is defined in the environment, else "make".
3096 # It might get overridden later, but our hope is that in practice
3097 # it does not matter: it is the system "make" which is (by far)
3098 # the most likely to be broken, whereas if the user overrides it,
3099 # probably they did so with a better, or at least not worse, make.
3100 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3101 #
3102 # Create a Makefile (real tab character here):
3103 rm -f conftest.mk
3104 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3105 echo ' touch conftest.ts2' >>conftest.mk
3106 #
3107 # Now, running
3108 # touch conftest.ts1; touch conftest.ts2; make
3109 # should touch ts1 because ts2 is newer. This could happen by luck,
3110 # but most often, it will fail if make's support is insufficient. So
3111 # test for several consecutive successes.
3112 #
3113 # (We reuse conftest.ts[12] because we still want to modify existing
3114 # files, not create new ones, per above.)
3115 n=0
3116 make=${MAKE-make}
3117 until test $n -eq 3; do
3118 echo one > conftest.ts1
3119 sleep $am_try_res
3120 echo two > conftest.ts2 # ts2 should now be newer than ts1
3121 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3122 make_ok=false
3123 break # out of $n loop
3124 fi
3125 n=`expr $n + 1`
3126 done
3127 fi
3128 #
3129 if $make_ok; then
3130 # Everything we know to check worked out, so call this resolution good.
3131 am_cv_filesystem_timestamp_resolution=$am_try_res
3132 break # out of $am_try_res loop
3133 fi
3134 # Otherwise, we'll go on to check the next resolution.
3135 fi
3136 done
3137 rm -f conftest.ts?
3138 # (end _am_filesystem_timestamp_resolution)
3139 ;;
3140 esac
3141 fi
3142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3143 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3144
3145 # This check should not be cached, as it may vary across builds of
3146 # different projects.
3147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3148 printf %s "checking whether build environment is sane... " >&6; }
3149 # Reject unsafe characters in $srcdir or the absolute working directory
3150 # name. Accept space and tab only in the latter.
3151 am_lf='
3152 '
3153 case `pwd` in
3154 *[\\\"\#\$\&\'\`$am_lf]*)
3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156 printf "%s\n" "no" >&6; }
3157 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3158 esac
3159 case $srcdir in
3160 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 printf "%s\n" "no" >&6; }
3163 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3164 esac
3165
3166 # Do 'set' in a subshell so we don't clobber the current shell's
3167 # arguments. Must try -L first in case configure is actually a
3168 # symlink; some systems play weird games with the mod time of symlinks
3169 # (eg FreeBSD returns the mod time of the symlink's containing
3170 # directory).
3171 am_build_env_is_sane=no
3172 am_has_slept=no
3173 rm -f conftest.file
3174 for am_try in 1 2; do
3175 echo "timestamp, slept: $am_has_slept" > conftest.file
3176 if (
3177 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3178 if test "$*" = "X"; then
3179 # -L didn't work.
3180 set X `ls -t "$srcdir/configure" conftest.file`
3181 fi
3182 test "$2" = conftest.file
3183 ); then
3184 am_build_env_is_sane=yes
3185 break
3186 fi
3187 # Just in case.
3188 sleep "$am_cv_filesystem_timestamp_resolution"
3189 am_has_slept=yes
3190 done
3191
3192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3193 printf "%s\n" "$am_build_env_is_sane" >&6; }
3194 if test "$am_build_env_is_sane" = no; then
3195 as_fn_error $? "newly created file is older than distributed files!
3196 Check your system clock" "$LINENO" 5
3197 fi
3198
3199 # If we didn't sleep, we still need to ensure time stamps of config.status and
3200 # generated files are strictly newer.
3201 am_sleep_pid=
3202 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3203 then :
3204
3205 else case e in #(
3206 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3207 am_sleep_pid=$!
3208 ;;
3209 esac
3210 fi
3211
3212 rm -f conftest.file
3213
3214 test "$program_prefix" != NONE &&
3215 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3216 # Use a double $ so make ignores it.
3217 test "$program_suffix" != NONE &&
3218 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3219 # Double any \ or $.
3220 # By default was 's,x,x', remove it if useless.
3221 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3222 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3223
3224
3225 # Expand $ac_aux_dir to an absolute path.
3226 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3227
3228
3229 if test x"${MISSING+set}" != xset; then
3230 MISSING="\${SHELL} '$am_aux_dir/missing'"
3231 fi
3232 # Use eval to expand $SHELL
3233 if eval "$MISSING --is-lightweight"; then
3234 am_missing_run="$MISSING "
3235 else
3236 am_missing_run=
3237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3238 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3239 fi
3240
3241 if test x"${install_sh+set}" != xset; then
3242 case $am_aux_dir in
3243 *\ * | *\ *)
3244 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3245 *)
3246 install_sh="\${SHELL} $am_aux_dir/install-sh"
3247 esac
3248 fi
3249
3250 # Installed binaries are usually stripped using 'strip' when the user
3251 # run "make install-strip". However 'strip' might not be the right
3252 # tool to use in cross-compilation environments, therefore Automake
3253 # will honor the 'STRIP' environment variable to overrule this program.
3254 if test "$cross_compiling" != no; then
3255 if test -n "$ac_tool_prefix"; then
3256 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3257 set dummy ${ac_tool_prefix}strip; ac_word=$2
3258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 printf %s "checking for $ac_word... " >&6; }
3260 if test ${ac_cv_prog_STRIP+y}
3261 then :
3262 printf %s "(cached) " >&6
3263 else case e in #(
3264 e) if test -n "$STRIP"; then
3265 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3266 else
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 for as_dir in $PATH
3269 do
3270 IFS=$as_save_IFS
3271 case $as_dir in #(((
3272 '') as_dir=./ ;;
3273 */) ;;
3274 *) as_dir=$as_dir/ ;;
3275 esac
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3280 break 2
3281 fi
3282 done
3283 done
3284 IFS=$as_save_IFS
3285
3286 fi ;;
3287 esac
3288 fi
3289 STRIP=$ac_cv_prog_STRIP
3290 if test -n "$STRIP"; then
3291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3292 printf "%s\n" "$STRIP" >&6; }
3293 else
3294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 printf "%s\n" "no" >&6; }
3296 fi
3297
3298
3299 fi
3300 if test -z "$ac_cv_prog_STRIP"; then
3301 ac_ct_STRIP=$STRIP
3302 # Extract the first word of "strip", so it can be a program name with args.
3303 set dummy strip; ac_word=$2
3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 printf %s "checking for $ac_word... " >&6; }
3306 if test ${ac_cv_prog_ac_ct_STRIP+y}
3307 then :
3308 printf %s "(cached) " >&6
3309 else case e in #(
3310 e) if test -n "$ac_ct_STRIP"; then
3311 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3312 else
3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 for as_dir in $PATH
3315 do
3316 IFS=$as_save_IFS
3317 case $as_dir in #(((
3318 '') as_dir=./ ;;
3319 */) ;;
3320 *) as_dir=$as_dir/ ;;
3321 esac
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3324 ac_cv_prog_ac_ct_STRIP="strip"
3325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3326 break 2
3327 fi
3328 done
3329 done
3330 IFS=$as_save_IFS
3331
3332 fi ;;
3333 esac
3334 fi
3335 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3336 if test -n "$ac_ct_STRIP"; then
3337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3338 printf "%s\n" "$ac_ct_STRIP" >&6; }
3339 else
3340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341 printf "%s\n" "no" >&6; }
3342 fi
3343
3344 if test "x$ac_ct_STRIP" = x; then
3345 STRIP=":"
3346 else
3347 case $cross_compiling:$ac_tool_warned in
3348 yes:)
3349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3350 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3351 ac_tool_warned=yes ;;
3352 esac
3353 STRIP=$ac_ct_STRIP
3354 fi
3355 else
3356 STRIP="$ac_cv_prog_STRIP"
3357 fi
3358
3359 fi
3360 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3361
3362
3363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3364 printf %s "checking for a race-free mkdir -p... " >&6; }
3365 if test -z "$MKDIR_P"; then
3366 if test ${ac_cv_path_mkdir+y}
3367 then :
3368 printf %s "(cached) " >&6
3369 else case e in #(
3370 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3372 do
3373 IFS=$as_save_IFS
3374 case $as_dir in #(((
3375 '') as_dir=./ ;;
3376 */) ;;
3377 *) as_dir=$as_dir/ ;;
3378 esac
3379 for ac_prog in mkdir gmkdir; do
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3382 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3383 'mkdir ('*'coreutils) '* | \
3384 *'BusyBox '* | \
3385 'mkdir (fileutils) '4.1*)
3386 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3387 break 3;;
3388 esac
3389 done
3390 done
3391 done
3392 IFS=$as_save_IFS
3393 ;;
3394 esac
3395 fi
3396
3397 test -d ./--version && rmdir ./--version
3398 if test ${ac_cv_path_mkdir+y}; then
3399 MKDIR_P="$ac_cv_path_mkdir -p"
3400 else
3401 # As a last resort, use plain mkdir -p,
3402 # in the hope it doesn't have the bugs of ancient mkdir.
3403 MKDIR_P='mkdir -p'
3404 fi
3405 fi
3406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 printf "%s\n" "$MKDIR_P" >&6; }
3408
3409 for ac_prog in gawk mawk nawk awk
3410 do
3411 # Extract the first word of "$ac_prog", so it can be a program name with args.
3412 set dummy $ac_prog; ac_word=$2
3413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 printf %s "checking for $ac_word... " >&6; }
3415 if test ${ac_cv_prog_AWK+y}
3416 then :
3417 printf %s "(cached) " >&6
3418 else case e in #(
3419 e) if test -n "$AWK"; then
3420 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3421 else
3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423 for as_dir in $PATH
3424 do
3425 IFS=$as_save_IFS
3426 case $as_dir in #(((
3427 '') as_dir=./ ;;
3428 */) ;;
3429 *) as_dir=$as_dir/ ;;
3430 esac
3431 for ac_exec_ext in '' $ac_executable_extensions; do
3432 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3433 ac_cv_prog_AWK="$ac_prog"
3434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3435 break 2
3436 fi
3437 done
3438 done
3439 IFS=$as_save_IFS
3440
3441 fi ;;
3442 esac
3443 fi
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 printf "%s\n" "$AWK" >&6; }
3448 else
3449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 printf "%s\n" "no" >&6; }
3451 fi
3452
3453
3454 test -n "$AWK" && break
3455 done
3456
3457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3462 then :
3463 printf %s "(cached) " >&6
3464 else case e in #(
3465 e) cat >conftest.make <<\_ACEOF
3466 SHELL = /bin/sh
3467 all:
3468 @echo '@@@%%%=$(MAKE)=@@@%%%'
3469 _ACEOF
3470 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3471 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3472 *@@@%%%=?*=@@@%%%*)
3473 eval ac_cv_prog_make_${ac_make}_set=yes;;
3474 *)
3475 eval ac_cv_prog_make_${ac_make}_set=no;;
3476 esac
3477 rm -f conftest.make ;;
3478 esac
3479 fi
3480 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3482 printf "%s\n" "yes" >&6; }
3483 SET_MAKE=
3484 else
3485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 printf "%s\n" "no" >&6; }
3487 SET_MAKE="MAKE=${MAKE-make}"
3488 fi
3489
3490 rm -rf .tst 2>/dev/null
3491 mkdir .tst 2>/dev/null
3492 if test -d .tst; then
3493 am__leading_dot=.
3494 else
3495 am__leading_dot=_
3496 fi
3497 rmdir .tst 2>/dev/null
3498
3499 AM_DEFAULT_VERBOSITY=1
3500 # Check whether --enable-silent-rules was given.
3501 if test ${enable_silent_rules+y}
3502 then :
3503 enableval=$enable_silent_rules;
3504 fi
3505
3506 am_make=${MAKE-make}
3507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3508 printf %s "checking whether $am_make supports nested variables... " >&6; }
3509 if test ${am_cv_make_support_nested_variables+y}
3510 then :
3511 printf %s "(cached) " >&6
3512 else case e in #(
3513 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3514 BAR0=false
3515 BAR1=true
3516 V=1
3517 am__doit:
3518 @$(TRUE)
3519 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3520 am_cv_make_support_nested_variables=yes
3521 else
3522 am_cv_make_support_nested_variables=no
3523 fi ;;
3524 esac
3525 fi
3526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3527 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3528 AM_BACKSLASH='\'
3529
3530 am__rm_f_notfound=
3531 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3532 then :
3533
3534 else case e in #(
3535 e) am__rm_f_notfound='""' ;;
3536 esac
3537 fi
3538
3539
3540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3541 printf %s "checking xargs -n works... " >&6; }
3542 if test ${am_cv_xargs_n_works+y}
3543 then :
3544 printf %s "(cached) " >&6
3545 else case e in #(
3546 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3547 3"
3548 then :
3549 am_cv_xargs_n_works=yes
3550 else case e in #(
3551 e) am_cv_xargs_n_works=no ;;
3552 esac
3553 fi ;;
3554 esac
3555 fi
3556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3557 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3558 if test "$am_cv_xargs_n_works" = yes
3559 then :
3560 am__xargs_n='xargs -n'
3561 else case e in #(
3562 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3563 ;;
3564 esac
3565 fi
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576 DEPDIR="${am__leading_dot}deps"
3577
3578 ac_config_commands="$ac_config_commands depfiles"
3579
3580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3581 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3582 cat > confinc.mk << 'END'
3583 am__doit:
3584 @echo this is the am__doit target >confinc.out
3585 .PHONY: am__doit
3586 END
3587 am__include="#"
3588 am__quote=
3589 # BSD make does it like this.
3590 echo '.include "confinc.mk" # ignored' > confmf.BSD
3591 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3592 echo 'include confinc.mk # ignored' > confmf.GNU
3593 _am_result=no
3594 for s in GNU BSD; do
3595 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3596 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3597 ac_status=$?
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }
3600 case $?:`cat confinc.out 2>/dev/null` in #(
3601 '0:this is the am__doit target') :
3602 case $s in #(
3603 BSD) :
3604 am__include='.include' am__quote='"' ;; #(
3605 *) :
3606 am__include='include' am__quote='' ;;
3607 esac ;; #(
3608 *) :
3609 ;;
3610 esac
3611 if test "$am__include" != "#"; then
3612 _am_result="yes ($s style)"
3613 break
3614 fi
3615 done
3616 rm -f confinc.* confmf.*
3617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3618 printf "%s\n" "${_am_result}" >&6; }
3619
3620 # Check whether --enable-dependency-tracking was given.
3621 if test ${enable_dependency_tracking+y}
3622 then :
3623 enableval=$enable_dependency_tracking;
3624 fi
3625
3626 if test "x$enable_dependency_tracking" != xno; then
3627 am_depcomp="$ac_aux_dir/depcomp"
3628 AMDEPBACKSLASH='\'
3629 am__nodep='_no'
3630 fi
3631 if test "x$enable_dependency_tracking" != xno; then
3632 AMDEP_TRUE=
3633 AMDEP_FALSE='#'
3634 else
3635 AMDEP_TRUE='#'
3636 AMDEP_FALSE=
3637 fi
3638
3639
3640 ac_ext=c
3641 ac_cpp='$CPP $CPPFLAGS'
3642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 printf %s "checking for $ac_word... " >&6; }
3650 if test ${ac_cv_prog_CC+y}
3651 then :
3652 printf %s "(cached) " >&6
3653 else case e in #(
3654 e) if test -n "$CC"; then
3655 ac_cv_prog_CC="$CC" # Let the user override the test.
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3659 do
3660 IFS=$as_save_IFS
3661 case $as_dir in #(((
3662 '') as_dir=./ ;;
3663 */) ;;
3664 *) as_dir=$as_dir/ ;;
3665 esac
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3670 break 2
3671 fi
3672 done
3673 done
3674 IFS=$as_save_IFS
3675
3676 fi ;;
3677 esac
3678 fi
3679 CC=$ac_cv_prog_CC
3680 if test -n "$CC"; then
3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682 printf "%s\n" "$CC" >&6; }
3683 else
3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 printf "%s\n" "no" >&6; }
3686 fi
3687
3688
3689 fi
3690 if test -z "$ac_cv_prog_CC"; then
3691 ac_ct_CC=$CC
3692 # Extract the first word of "gcc", so it can be a program name with args.
3693 set dummy gcc; ac_word=$2
3694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 printf %s "checking for $ac_word... " >&6; }
3696 if test ${ac_cv_prog_ac_ct_CC+y}
3697 then :
3698 printf %s "(cached) " >&6
3699 else case e in #(
3700 e) if test -n "$ac_ct_CC"; then
3701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3702 else
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3705 do
3706 IFS=$as_save_IFS
3707 case $as_dir in #(((
3708 '') as_dir=./ ;;
3709 */) ;;
3710 *) as_dir=$as_dir/ ;;
3711 esac
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3714 ac_cv_prog_ac_ct_CC="gcc"
3715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3716 break 2
3717 fi
3718 done
3719 done
3720 IFS=$as_save_IFS
3721
3722 fi ;;
3723 esac
3724 fi
3725 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3726 if test -n "$ac_ct_CC"; then
3727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3728 printf "%s\n" "$ac_ct_CC" >&6; }
3729 else
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 printf "%s\n" "no" >&6; }
3732 fi
3733
3734 if test "x$ac_ct_CC" = x; then
3735 CC=""
3736 else
3737 case $cross_compiling:$ac_tool_warned in
3738 yes:)
3739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3740 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3741 ac_tool_warned=yes ;;
3742 esac
3743 CC=$ac_ct_CC
3744 fi
3745 else
3746 CC="$ac_cv_prog_CC"
3747 fi
3748
3749 if test -z "$CC"; then
3750 if test -n "$ac_tool_prefix"; then
3751 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3752 set dummy ${ac_tool_prefix}cc; ac_word=$2
3753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 printf %s "checking for $ac_word... " >&6; }
3755 if test ${ac_cv_prog_CC+y}
3756 then :
3757 printf %s "(cached) " >&6
3758 else case e in #(
3759 e) if test -n "$CC"; then
3760 ac_cv_prog_CC="$CC" # Let the user override the test.
3761 else
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH
3764 do
3765 IFS=$as_save_IFS
3766 case $as_dir in #(((
3767 '') as_dir=./ ;;
3768 */) ;;
3769 *) as_dir=$as_dir/ ;;
3770 esac
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_CC="${ac_tool_prefix}cc"
3774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3775 break 2
3776 fi
3777 done
3778 done
3779 IFS=$as_save_IFS
3780
3781 fi ;;
3782 esac
3783 fi
3784 CC=$ac_cv_prog_CC
3785 if test -n "$CC"; then
3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3787 printf "%s\n" "$CC" >&6; }
3788 else
3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 printf "%s\n" "no" >&6; }
3791 fi
3792
3793
3794 fi
3795 fi
3796 if test -z "$CC"; then
3797 # Extract the first word of "cc", so it can be a program name with args.
3798 set dummy cc; ac_word=$2
3799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 printf %s "checking for $ac_word... " >&6; }
3801 if test ${ac_cv_prog_CC+y}
3802 then :
3803 printf %s "(cached) " >&6
3804 else case e in #(
3805 e) if test -n "$CC"; then
3806 ac_cv_prog_CC="$CC" # Let the user override the test.
3807 else
3808 ac_prog_rejected=no
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810 for as_dir in $PATH
3811 do
3812 IFS=$as_save_IFS
3813 case $as_dir in #(((
3814 '') as_dir=./ ;;
3815 */) ;;
3816 *) as_dir=$as_dir/ ;;
3817 esac
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3820 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3821 ac_prog_rejected=yes
3822 continue
3823 fi
3824 ac_cv_prog_CC="cc"
3825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3826 break 2
3827 fi
3828 done
3829 done
3830 IFS=$as_save_IFS
3831
3832 if test $ac_prog_rejected = yes; then
3833 # We found a bogon in the path, so make sure we never use it.
3834 set dummy $ac_cv_prog_CC
3835 shift
3836 if test $# != 0; then
3837 # We chose a different compiler from the bogus one.
3838 # However, it has the same basename, so the bogon will be chosen
3839 # first if we set CC to just the basename; use the full file name.
3840 shift
3841 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3842 fi
3843 fi
3844 fi ;;
3845 esac
3846 fi
3847 CC=$ac_cv_prog_CC
3848 if test -n "$CC"; then
3849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3850 printf "%s\n" "$CC" >&6; }
3851 else
3852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3853 printf "%s\n" "no" >&6; }
3854 fi
3855
3856
3857 fi
3858 if test -z "$CC"; then
3859 if test -n "$ac_tool_prefix"; then
3860 for ac_prog in cl.exe
3861 do
3862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3865 printf %s "checking for $ac_word... " >&6; }
3866 if test ${ac_cv_prog_CC+y}
3867 then :
3868 printf %s "(cached) " >&6
3869 else case e in #(
3870 e) if test -n "$CC"; then
3871 ac_cv_prog_CC="$CC" # Let the user override the test.
3872 else
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3875 do
3876 IFS=$as_save_IFS
3877 case $as_dir in #(((
3878 '') as_dir=./ ;;
3879 */) ;;
3880 *) as_dir=$as_dir/ ;;
3881 esac
3882 for ac_exec_ext in '' $ac_executable_extensions; do
3883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3884 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3886 break 2
3887 fi
3888 done
3889 done
3890 IFS=$as_save_IFS
3891
3892 fi ;;
3893 esac
3894 fi
3895 CC=$ac_cv_prog_CC
3896 if test -n "$CC"; then
3897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3898 printf "%s\n" "$CC" >&6; }
3899 else
3900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 printf "%s\n" "no" >&6; }
3902 fi
3903
3904
3905 test -n "$CC" && break
3906 done
3907 fi
3908 if test -z "$CC"; then
3909 ac_ct_CC=$CC
3910 for ac_prog in cl.exe
3911 do
3912 # Extract the first word of "$ac_prog", so it can be a program name with args.
3913 set dummy $ac_prog; ac_word=$2
3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 printf %s "checking for $ac_word... " >&6; }
3916 if test ${ac_cv_prog_ac_ct_CC+y}
3917 then :
3918 printf %s "(cached) " >&6
3919 else case e in #(
3920 e) if test -n "$ac_ct_CC"; then
3921 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3922 else
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924 for as_dir in $PATH
3925 do
3926 IFS=$as_save_IFS
3927 case $as_dir in #(((
3928 '') as_dir=./ ;;
3929 */) ;;
3930 *) as_dir=$as_dir/ ;;
3931 esac
3932 for ac_exec_ext in '' $ac_executable_extensions; do
3933 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3934 ac_cv_prog_ac_ct_CC="$ac_prog"
3935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3936 break 2
3937 fi
3938 done
3939 done
3940 IFS=$as_save_IFS
3941
3942 fi ;;
3943 esac
3944 fi
3945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3946 if test -n "$ac_ct_CC"; then
3947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3948 printf "%s\n" "$ac_ct_CC" >&6; }
3949 else
3950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 printf "%s\n" "no" >&6; }
3952 fi
3953
3954
3955 test -n "$ac_ct_CC" && break
3956 done
3957
3958 if test "x$ac_ct_CC" = x; then
3959 CC=""
3960 else
3961 case $cross_compiling:$ac_tool_warned in
3962 yes:)
3963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3964 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3965 ac_tool_warned=yes ;;
3966 esac
3967 CC=$ac_ct_CC
3968 fi
3969 fi
3970
3971 fi
3972 if test -z "$CC"; then
3973 if test -n "$ac_tool_prefix"; then
3974 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3975 set dummy ${ac_tool_prefix}clang; ac_word=$2
3976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 printf %s "checking for $ac_word... " >&6; }
3978 if test ${ac_cv_prog_CC+y}
3979 then :
3980 printf %s "(cached) " >&6
3981 else case e in #(
3982 e) if test -n "$CC"; then
3983 ac_cv_prog_CC="$CC" # Let the user override the test.
3984 else
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 for as_dir in $PATH
3987 do
3988 IFS=$as_save_IFS
3989 case $as_dir in #(((
3990 '') as_dir=./ ;;
3991 */) ;;
3992 *) as_dir=$as_dir/ ;;
3993 esac
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_CC="${ac_tool_prefix}clang"
3997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3998 break 2
3999 fi
4000 done
4001 done
4002 IFS=$as_save_IFS
4003
4004 fi ;;
4005 esac
4006 fi
4007 CC=$ac_cv_prog_CC
4008 if test -n "$CC"; then
4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4010 printf "%s\n" "$CC" >&6; }
4011 else
4012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 printf "%s\n" "no" >&6; }
4014 fi
4015
4016
4017 fi
4018 if test -z "$ac_cv_prog_CC"; then
4019 ac_ct_CC=$CC
4020 # Extract the first word of "clang", so it can be a program name with args.
4021 set dummy clang; ac_word=$2
4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 printf %s "checking for $ac_word... " >&6; }
4024 if test ${ac_cv_prog_ac_ct_CC+y}
4025 then :
4026 printf %s "(cached) " >&6
4027 else case e in #(
4028 e) if test -n "$ac_ct_CC"; then
4029 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4030 else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4033 do
4034 IFS=$as_save_IFS
4035 case $as_dir in #(((
4036 '') as_dir=./ ;;
4037 */) ;;
4038 *) as_dir=$as_dir/ ;;
4039 esac
4040 for ac_exec_ext in '' $ac_executable_extensions; do
4041 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4042 ac_cv_prog_ac_ct_CC="clang"
4043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4044 break 2
4045 fi
4046 done
4047 done
4048 IFS=$as_save_IFS
4049
4050 fi ;;
4051 esac
4052 fi
4053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4054 if test -n "$ac_ct_CC"; then
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4056 printf "%s\n" "$ac_ct_CC" >&6; }
4057 else
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 printf "%s\n" "no" >&6; }
4060 fi
4061
4062 if test "x$ac_ct_CC" = x; then
4063 CC=""
4064 else
4065 case $cross_compiling:$ac_tool_warned in
4066 yes:)
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4068 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4069 ac_tool_warned=yes ;;
4070 esac
4071 CC=$ac_ct_CC
4072 fi
4073 else
4074 CC="$ac_cv_prog_CC"
4075 fi
4076
4077 fi
4078
4079
4080 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4081 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4082 as_fn_error $? "no acceptable C compiler found in \$PATH
4083 See 'config.log' for more details" "$LINENO" 5; }
4084
4085 # Provide some information about the compiler.
4086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4087 set X $ac_compile
4088 ac_compiler=$2
4089 for ac_option in --version -v -V -qversion -version; do
4090 { { ac_try="$ac_compiler $ac_option >&5"
4091 case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4094 esac
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 printf "%s\n" "$ac_try_echo"; } >&5
4097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4098 ac_status=$?
4099 if test -s conftest.err; then
4100 sed '10a\
4101 ... rest of stderr output deleted ...
4102 10q' conftest.err >conftest.er1
4103 cat conftest.er1 >&5
4104 fi
4105 rm -f conftest.er1 conftest.err
4106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }
4108 done
4109
4110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4112
4113 int
4114 main (void)
4115 {
4116
4117 ;
4118 return 0;
4119 }
4120 _ACEOF
4121 ac_clean_files_save=$ac_clean_files
4122 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4123 # Try to create an executable without -o first, disregard a.out.
4124 # It will help us diagnose broken compilers, and finding out an intuition
4125 # of exeext.
4126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4127 printf %s "checking whether the C compiler works... " >&6; }
4128 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4129
4130 # The possible output files:
4131 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4132
4133 ac_rmfiles=
4134 for ac_file in $ac_files
4135 do
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4139 esac
4140 done
4141 rm -f $ac_rmfiles
4142
4143 if { { ac_try="$ac_link_default"
4144 case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147 esac
4148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149 printf "%s\n" "$ac_try_echo"; } >&5
4150 (eval "$ac_link_default") 2>&5
4151 ac_status=$?
4152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }
4154 then :
4155 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4156 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4157 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4158 # so that the user can short-circuit this test for compilers unknown to
4159 # Autoconf.
4160 for ac_file in $ac_files ''
4161 do
4162 test -f "$ac_file" || continue
4163 case $ac_file in
4164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4165 ;;
4166 [ab].out )
4167 # We found the default executable, but exeext='' is most
4168 # certainly right.
4169 break;;
4170 *.* )
4171 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4172 then :; else
4173 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4174 fi
4175 # We set ac_cv_exeext here because the later test for it is not
4176 # safe: cross compilers may not add the suffix if given an '-o'
4177 # argument, so we may need to know it at that point already.
4178 # Even if this section looks crufty: it has the advantage of
4179 # actually working.
4180 break;;
4181 * )
4182 break;;
4183 esac
4184 done
4185 test "$ac_cv_exeext" = no && ac_cv_exeext=
4186
4187 else case e in #(
4188 e) ac_file='' ;;
4189 esac
4190 fi
4191 if test -z "$ac_file"
4192 then :
4193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194 printf "%s\n" "no" >&6; }
4195 printf "%s\n" "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.$ac_ext >&5
4197
4198 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4199 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4200 as_fn_error 77 "C compiler cannot create executables
4201 See 'config.log' for more details" "$LINENO" 5; }
4202 else case e in #(
4203 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4204 printf "%s\n" "yes" >&6; } ;;
4205 esac
4206 fi
4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4208 printf %s "checking for C compiler default output file name... " >&6; }
4209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4210 printf "%s\n" "$ac_file" >&6; }
4211 ac_exeext=$ac_cv_exeext
4212
4213 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4214 ac_clean_files=$ac_clean_files_save
4215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4216 printf %s "checking for suffix of executables... " >&6; }
4217 if { { ac_try="$ac_link"
4218 case "(($ac_try" in
4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4221 esac
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 printf "%s\n" "$ac_try_echo"; } >&5
4224 (eval "$ac_link") 2>&5
4225 ac_status=$?
4226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4227 test $ac_status = 0; }
4228 then :
4229 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4230 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4231 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4232 # 'rm'.
4233 for ac_file in conftest.exe conftest conftest.*; do
4234 test -f "$ac_file" || continue
4235 case $ac_file in
4236 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4237 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4238 break;;
4239 * ) break;;
4240 esac
4241 done
4242 else case e in #(
4243 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4244 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4245 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4246 See 'config.log' for more details" "$LINENO" 5; } ;;
4247 esac
4248 fi
4249 rm -f conftest conftest$ac_cv_exeext
4250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4251 printf "%s\n" "$ac_cv_exeext" >&6; }
4252
4253 rm -f conftest.$ac_ext
4254 EXEEXT=$ac_cv_exeext
4255 ac_exeext=$EXEEXT
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4258 #include <stdio.h>
4259 int
4260 main (void)
4261 {
4262 FILE *f = fopen ("conftest.out", "w");
4263 if (!f)
4264 return 1;
4265 return ferror (f) || fclose (f) != 0;
4266
4267 ;
4268 return 0;
4269 }
4270 _ACEOF
4271 ac_clean_files="$ac_clean_files conftest.out"
4272 # Check that the compiler produces executables we can run. If not, either
4273 # the compiler is broken, or we cross compile.
4274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4275 printf %s "checking whether we are cross compiling... " >&6; }
4276 if test "$cross_compiling" != yes; then
4277 { { ac_try="$ac_link"
4278 case "(($ac_try" in
4279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4280 *) ac_try_echo=$ac_try;;
4281 esac
4282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4283 printf "%s\n" "$ac_try_echo"; } >&5
4284 (eval "$ac_link") 2>&5
4285 ac_status=$?
4286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4287 test $ac_status = 0; }
4288 if { ac_try='./conftest$ac_cv_exeext'
4289 { { case "(($ac_try" in
4290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4291 *) ac_try_echo=$ac_try;;
4292 esac
4293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4294 printf "%s\n" "$ac_try_echo"; } >&5
4295 (eval "$ac_try") 2>&5
4296 ac_status=$?
4297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4298 test $ac_status = 0; }; }; then
4299 cross_compiling=no
4300 else
4301 if test "$cross_compiling" = maybe; then
4302 cross_compiling=yes
4303 else
4304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4305 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4306 as_fn_error 77 "cannot run C compiled programs.
4307 If you meant to cross compile, use '--host'.
4308 See 'config.log' for more details" "$LINENO" 5; }
4309 fi
4310 fi
4311 fi
4312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4313 printf "%s\n" "$cross_compiling" >&6; }
4314
4315 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4316 conftest.o conftest.obj conftest.out
4317 ac_clean_files=$ac_clean_files_save
4318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4319 printf %s "checking for suffix of object files... " >&6; }
4320 if test ${ac_cv_objext+y}
4321 then :
4322 printf %s "(cached) " >&6
4323 else case e in #(
4324 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4326
4327 int
4328 main (void)
4329 {
4330
4331 ;
4332 return 0;
4333 }
4334 _ACEOF
4335 rm -f conftest.o conftest.obj
4336 if { { ac_try="$ac_compile"
4337 case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4340 esac
4341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4342 printf "%s\n" "$ac_try_echo"; } >&5
4343 (eval "$ac_compile") 2>&5
4344 ac_status=$?
4345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }
4347 then :
4348 for ac_file in conftest.o conftest.obj conftest.*; do
4349 test -f "$ac_file" || continue;
4350 case $ac_file in
4351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4353 break;;
4354 esac
4355 done
4356 else case e in #(
4357 e) printf "%s\n" "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.$ac_ext >&5
4359
4360 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4361 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4362 as_fn_error $? "cannot compute suffix of object files: cannot compile
4363 See 'config.log' for more details" "$LINENO" 5; } ;;
4364 esac
4365 fi
4366 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4367 esac
4368 fi
4369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4370 printf "%s\n" "$ac_cv_objext" >&6; }
4371 OBJEXT=$ac_cv_objext
4372 ac_objext=$OBJEXT
4373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4374 printf %s "checking whether the compiler supports GNU C... " >&6; }
4375 if test ${ac_cv_c_compiler_gnu+y}
4376 then :
4377 printf %s "(cached) " >&6
4378 else case e in #(
4379 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4381
4382 int
4383 main (void)
4384 {
4385 #ifndef __GNUC__
4386 choke me
4387 #endif
4388
4389 ;
4390 return 0;
4391 }
4392 _ACEOF
4393 if ac_fn_c_try_compile "$LINENO"
4394 then :
4395 ac_compiler_gnu=yes
4396 else case e in #(
4397 e) ac_compiler_gnu=no ;;
4398 esac
4399 fi
4400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4402 ;;
4403 esac
4404 fi
4405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4406 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4408
4409 if test $ac_compiler_gnu = yes; then
4410 GCC=yes
4411 else
4412 GCC=
4413 fi
4414 ac_test_CFLAGS=${CFLAGS+y}
4415 ac_save_CFLAGS=$CFLAGS
4416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4417 printf %s "checking whether $CC accepts -g... " >&6; }
4418 if test ${ac_cv_prog_cc_g+y}
4419 then :
4420 printf %s "(cached) " >&6
4421 else case e in #(
4422 e) ac_save_c_werror_flag=$ac_c_werror_flag
4423 ac_c_werror_flag=yes
4424 ac_cv_prog_cc_g=no
4425 CFLAGS="-g"
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4428
4429 int
4430 main (void)
4431 {
4432
4433 ;
4434 return 0;
4435 }
4436 _ACEOF
4437 if ac_fn_c_try_compile "$LINENO"
4438 then :
4439 ac_cv_prog_cc_g=yes
4440 else case e in #(
4441 e) CFLAGS=""
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4444
4445 int
4446 main (void)
4447 {
4448
4449 ;
4450 return 0;
4451 }
4452 _ACEOF
4453 if ac_fn_c_try_compile "$LINENO"
4454 then :
4455
4456 else case e in #(
4457 e) ac_c_werror_flag=$ac_save_c_werror_flag
4458 CFLAGS="-g"
4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4461
4462 int
4463 main (void)
4464 {
4465
4466 ;
4467 return 0;
4468 }
4469 _ACEOF
4470 if ac_fn_c_try_compile "$LINENO"
4471 then :
4472 ac_cv_prog_cc_g=yes
4473 fi
4474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4475 esac
4476 fi
4477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4478 esac
4479 fi
4480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4481 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4482 esac
4483 fi
4484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4485 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4486 if test $ac_test_CFLAGS; then
4487 CFLAGS=$ac_save_CFLAGS
4488 elif test $ac_cv_prog_cc_g = yes; then
4489 if test "$GCC" = yes; then
4490 CFLAGS="-g -O2"
4491 else
4492 CFLAGS="-g"
4493 fi
4494 else
4495 if test "$GCC" = yes; then
4496 CFLAGS="-O2"
4497 else
4498 CFLAGS=
4499 fi
4500 fi
4501 ac_prog_cc_stdc=no
4502 if test x$ac_prog_cc_stdc = xno
4503 then :
4504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4505 printf %s "checking for $CC option to enable C11 features... " >&6; }
4506 if test ${ac_cv_prog_cc_c11+y}
4507 then :
4508 printf %s "(cached) " >&6
4509 else case e in #(
4510 e) ac_cv_prog_cc_c11=no
4511 ac_save_CC=$CC
4512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4513 /* end confdefs.h. */
4514 $ac_c_conftest_c11_program
4515 _ACEOF
4516 for ac_arg in '' -std=gnu11
4517 do
4518 CC="$ac_save_CC $ac_arg"
4519 if ac_fn_c_try_compile "$LINENO"
4520 then :
4521 ac_cv_prog_cc_c11=$ac_arg
4522 fi
4523 rm -f core conftest.err conftest.$ac_objext conftest.beam
4524 test "x$ac_cv_prog_cc_c11" != "xno" && break
4525 done
4526 rm -f conftest.$ac_ext
4527 CC=$ac_save_CC ;;
4528 esac
4529 fi
4530
4531 if test "x$ac_cv_prog_cc_c11" = xno
4532 then :
4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4534 printf "%s\n" "unsupported" >&6; }
4535 else case e in #(
4536 e) if test "x$ac_cv_prog_cc_c11" = x
4537 then :
4538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4539 printf "%s\n" "none needed" >&6; }
4540 else case e in #(
4541 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4542 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4543 CC="$CC $ac_cv_prog_cc_c11" ;;
4544 esac
4545 fi
4546 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4547 ac_prog_cc_stdc=c11 ;;
4548 esac
4549 fi
4550 fi
4551 if test x$ac_prog_cc_stdc = xno
4552 then :
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4554 printf %s "checking for $CC option to enable C99 features... " >&6; }
4555 if test ${ac_cv_prog_cc_c99+y}
4556 then :
4557 printf %s "(cached) " >&6
4558 else case e in #(
4559 e) ac_cv_prog_cc_c99=no
4560 ac_save_CC=$CC
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563 $ac_c_conftest_c99_program
4564 _ACEOF
4565 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4566 do
4567 CC="$ac_save_CC $ac_arg"
4568 if ac_fn_c_try_compile "$LINENO"
4569 then :
4570 ac_cv_prog_cc_c99=$ac_arg
4571 fi
4572 rm -f core conftest.err conftest.$ac_objext conftest.beam
4573 test "x$ac_cv_prog_cc_c99" != "xno" && break
4574 done
4575 rm -f conftest.$ac_ext
4576 CC=$ac_save_CC ;;
4577 esac
4578 fi
4579
4580 if test "x$ac_cv_prog_cc_c99" = xno
4581 then :
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4583 printf "%s\n" "unsupported" >&6; }
4584 else case e in #(
4585 e) if test "x$ac_cv_prog_cc_c99" = x
4586 then :
4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4588 printf "%s\n" "none needed" >&6; }
4589 else case e in #(
4590 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4591 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4592 CC="$CC $ac_cv_prog_cc_c99" ;;
4593 esac
4594 fi
4595 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4596 ac_prog_cc_stdc=c99 ;;
4597 esac
4598 fi
4599 fi
4600 if test x$ac_prog_cc_stdc = xno
4601 then :
4602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4603 printf %s "checking for $CC option to enable C89 features... " >&6; }
4604 if test ${ac_cv_prog_cc_c89+y}
4605 then :
4606 printf %s "(cached) " >&6
4607 else case e in #(
4608 e) ac_cv_prog_cc_c89=no
4609 ac_save_CC=$CC
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4612 $ac_c_conftest_c89_program
4613 _ACEOF
4614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4615 do
4616 CC="$ac_save_CC $ac_arg"
4617 if ac_fn_c_try_compile "$LINENO"
4618 then :
4619 ac_cv_prog_cc_c89=$ac_arg
4620 fi
4621 rm -f core conftest.err conftest.$ac_objext conftest.beam
4622 test "x$ac_cv_prog_cc_c89" != "xno" && break
4623 done
4624 rm -f conftest.$ac_ext
4625 CC=$ac_save_CC ;;
4626 esac
4627 fi
4628
4629 if test "x$ac_cv_prog_cc_c89" = xno
4630 then :
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4632 printf "%s\n" "unsupported" >&6; }
4633 else case e in #(
4634 e) if test "x$ac_cv_prog_cc_c89" = x
4635 then :
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4637 printf "%s\n" "none needed" >&6; }
4638 else case e in #(
4639 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4640 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4641 CC="$CC $ac_cv_prog_cc_c89" ;;
4642 esac
4643 fi
4644 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4645 ac_prog_cc_stdc=c89 ;;
4646 esac
4647 fi
4648 fi
4649
4650 ac_ext=c
4651 ac_cpp='$CPP $CPPFLAGS'
4652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4655
4656
4657 ac_ext=c
4658 ac_cpp='$CPP $CPPFLAGS'
4659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4663 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4664 if test ${am_cv_prog_cc_c_o+y}
4665 then :
4666 printf %s "(cached) " >&6
4667 else case e in #(
4668 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4670
4671 int
4672 main (void)
4673 {
4674
4675 ;
4676 return 0;
4677 }
4678 _ACEOF
4679 # Make sure it works both with $CC and with simple cc.
4680 # Following AC_PROG_CC_C_O, we do the test twice because some
4681 # compilers refuse to overwrite an existing .o file with -o,
4682 # though they will create one.
4683 am_cv_prog_cc_c_o=yes
4684 for am_i in 1 2; do
4685 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4686 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4687 ac_status=$?
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); } \
4690 && test -f conftest2.$ac_objext; then
4691 : OK
4692 else
4693 am_cv_prog_cc_c_o=no
4694 break
4695 fi
4696 done
4697 # aligned with autoconf, so not including core; see bug#72225.
4698 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4699 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4700 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4701 unset am_i ;;
4702 esac
4703 fi
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4705 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4706 if test "$am_cv_prog_cc_c_o" != yes; then
4707 # Losing compiler, so override with the script.
4708 # FIXME: It is wrong to rewrite CC.
4709 # But if we don't then we get into trouble of one sort or another.
4710 # A longer-term fix would be to have automake use am__CC in this case,
4711 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4712 CC="$am_aux_dir/compile $CC"
4713 fi
4714 ac_ext=c
4715 ac_cpp='$CPP $CPPFLAGS'
4716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4719
4720
4721 depcc="$CC" am_compiler_list=
4722
4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4724 printf %s "checking dependency style of $depcc... " >&6; }
4725 if test ${am_cv_CC_dependencies_compiler_type+y}
4726 then :
4727 printf %s "(cached) " >&6
4728 else case e in #(
4729 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4730 # We make a subdir and do the tests there. Otherwise we can end up
4731 # making bogus files that we don't know about and never remove. For
4732 # instance it was reported that on HP-UX the gcc test will end up
4733 # making a dummy file named 'D' -- because '-MD' means "put the output
4734 # in D".
4735 rm -rf conftest.dir
4736 mkdir conftest.dir
4737 # Copy depcomp to subdir because otherwise we won't find it if we're
4738 # using a relative directory.
4739 cp "$am_depcomp" conftest.dir
4740 cd conftest.dir
4741 # We will build objects and dependencies in a subdirectory because
4742 # it helps to detect inapplicable dependency modes. For instance
4743 # both Tru64's cc and ICC support -MD to output dependencies as a
4744 # side effect of compilation, but ICC will put the dependencies in
4745 # the current directory while Tru64 will put them in the object
4746 # directory.
4747 mkdir sub
4748
4749 am_cv_CC_dependencies_compiler_type=none
4750 if test "$am_compiler_list" = ""; then
4751 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4752 fi
4753 am__universal=false
4754 case " $depcc " in #(
4755 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4756 esac
4757
4758 for depmode in $am_compiler_list; do
4759 # Setup a source with many dependencies, because some compilers
4760 # like to wrap large dependency lists on column 80 (with \), and
4761 # we should not choose a depcomp mode which is confused by this.
4762 #
4763 # We need to recreate these files for each test, as the compiler may
4764 # overwrite some of them when testing with obscure command lines.
4765 # This happens at least with the AIX C compiler.
4766 : > sub/conftest.c
4767 for i in 1 2 3 4 5 6; do
4768 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4769 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4770 # Solaris 10 /bin/sh.
4771 echo '/* dummy */' > sub/conftst$i.h
4772 done
4773 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4774
4775 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4776 # mode. It turns out that the SunPro C++ compiler does not properly
4777 # handle '-M -o', and we need to detect this. Also, some Intel
4778 # versions had trouble with output in subdirs.
4779 am__obj=sub/conftest.${OBJEXT-o}
4780 am__minus_obj="-o $am__obj"
4781 case $depmode in
4782 gcc)
4783 # This depmode causes a compiler race in universal mode.
4784 test "$am__universal" = false || continue
4785 ;;
4786 nosideeffect)
4787 # After this tag, mechanisms are not by side-effect, so they'll
4788 # only be used when explicitly requested.
4789 if test "x$enable_dependency_tracking" = xyes; then
4790 continue
4791 else
4792 break
4793 fi
4794 ;;
4795 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4796 # This compiler won't grok '-c -o', but also, the minuso test has
4797 # not run yet. These depmodes are late enough in the game, and
4798 # so weak that their functioning should not be impacted.
4799 am__obj=conftest.${OBJEXT-o}
4800 am__minus_obj=
4801 ;;
4802 none) break ;;
4803 esac
4804 if depmode=$depmode \
4805 source=sub/conftest.c object=$am__obj \
4806 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4807 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4808 >/dev/null 2>conftest.err &&
4809 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4810 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4811 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4812 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4813 # icc doesn't choke on unknown options, it will just issue warnings
4814 # or remarks (even with -Werror). So we grep stderr for any message
4815 # that says an option was ignored or not supported.
4816 # When given -MP, icc 7.0 and 7.1 complain thus:
4817 # icc: Command line warning: ignoring option '-M'; no argument required
4818 # The diagnosis changed in icc 8.0:
4819 # icc: Command line remark: option '-MP' not supported
4820 if (grep 'ignoring option' conftest.err ||
4821 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4822 am_cv_CC_dependencies_compiler_type=$depmode
4823 break
4824 fi
4825 fi
4826 done
4827
4828 cd ..
4829 rm -rf conftest.dir
4830 else
4831 am_cv_CC_dependencies_compiler_type=none
4832 fi
4833 ;;
4834 esac
4835 fi
4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4837 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4838 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4839
4840 if
4841 test "x$enable_dependency_tracking" != xno \
4842 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4843 am__fastdepCC_TRUE=
4844 am__fastdepCC_FALSE='#'
4845 else
4846 am__fastdepCC_TRUE='#'
4847 am__fastdepCC_FALSE=
4848 fi
4849
4850
4851
4852 ac_header= ac_cache=
4853 for ac_item in $ac_header_c_list
4854 do
4855 if test $ac_cache; then
4856 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4857 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4858 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4859 fi
4860 ac_header= ac_cache=
4861 elif test $ac_header; then
4862 ac_cache=$ac_item
4863 else
4864 ac_header=$ac_item
4865 fi
4866 done
4867
4868
4869
4870
4871
4872
4873
4874
4875 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4876 then :
4877
4878 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4879
4880 fi
4881
4882
4883
4884
4885
4886
4887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4888 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4889 if test ${ac_cv_safe_to_define___extensions__+y}
4890 then :
4891 printf %s "(cached) " >&6
4892 else case e in #(
4893 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4895
4896 # define __EXTENSIONS__ 1
4897 $ac_includes_default
4898 int
4899 main (void)
4900 {
4901
4902 ;
4903 return 0;
4904 }
4905 _ACEOF
4906 if ac_fn_c_try_compile "$LINENO"
4907 then :
4908 ac_cv_safe_to_define___extensions__=yes
4909 else case e in #(
4910 e) ac_cv_safe_to_define___extensions__=no ;;
4911 esac
4912 fi
4913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4914 esac
4915 fi
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4917 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4918
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4920 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4921 if test ${ac_cv_should_define__xopen_source+y}
4922 then :
4923 printf %s "(cached) " >&6
4924 else case e in #(
4925 e) ac_cv_should_define__xopen_source=no
4926 if test $ac_cv_header_wchar_h = yes
4927 then :
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4930
4931 #include <wchar.h>
4932 mbstate_t x;
4933 int
4934 main (void)
4935 {
4936
4937 ;
4938 return 0;
4939 }
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"
4942 then :
4943
4944 else case e in #(
4945 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4946 /* end confdefs.h. */
4947
4948 #define _XOPEN_SOURCE 500
4949 #include <wchar.h>
4950 mbstate_t x;
4951 int
4952 main (void)
4953 {
4954
4955 ;
4956 return 0;
4957 }
4958 _ACEOF
4959 if ac_fn_c_try_compile "$LINENO"
4960 then :
4961 ac_cv_should_define__xopen_source=yes
4962 fi
4963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4964 esac
4965 fi
4966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4967 fi ;;
4968 esac
4969 fi
4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4971 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4972
4973 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4974
4975 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4976
4977 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4978
4979 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4980
4981 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4982
4983 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4984
4985 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4986
4987 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4988
4989 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4990
4991 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4992
4993 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4994
4995 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4996
4997 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4998
4999 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5000
5001 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5002
5003 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5004
5005 if test $ac_cv_header_minix_config_h = yes
5006 then :
5007 MINIX=yes
5008 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5009
5010 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5011
5012 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5013
5014 else case e in #(
5015 e) MINIX= ;;
5016 esac
5017 fi
5018 if test $ac_cv_safe_to_define___extensions__ = yes
5019 then :
5020 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5021
5022 fi
5023 if test $ac_cv_should_define__xopen_source = yes
5024 then :
5025 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5026
5027 fi
5028
5029 # Check whether --enable-compiler-warnings was given.
5030 if test ${enable_compiler_warnings+y}
5031 then :
5032 enableval=$enable_compiler_warnings;
5033 fi
5034 case $enable_compiler_warnings in #(
5035 no | min | yes | max | all) :
5036 ;; #(
5037 *) :
5038 if test "x$enable_maintainer_mode" = xyes
5039 then :
5040 enable_compiler_warnings=yes
5041 else case e in #(
5042 e) enable_compiler_warnings=min ;;
5043 esac
5044 fi ;;
5045 esac
5046
5047 case `pwd` in
5048 *\ * | *\ *)
5049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5050 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5051 esac
5052
5053
5054
5055 macro_version='2.5.4'
5056 macro_revision='2.5.4'
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071 ltmain=$ac_aux_dir/ltmain.sh
5072
5073
5074
5075 # Make sure we can run config.sub.
5076 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5077 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5078
5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5080 printf %s "checking build system type... " >&6; }
5081 if test ${ac_cv_build+y}
5082 then :
5083 printf %s "(cached) " >&6
5084 else case e in #(
5085 e) ac_build_alias=$build_alias
5086 test "x$ac_build_alias" = x &&
5087 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5088 test "x$ac_build_alias" = x &&
5089 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5090 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5091 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5092 ;;
5093 esac
5094 fi
5095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5096 printf "%s\n" "$ac_cv_build" >&6; }
5097 case $ac_cv_build in
5098 *-*-*) ;;
5099 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5100 esac
5101 build=$ac_cv_build
5102 ac_save_IFS=$IFS; IFS='-'
5103 set x $ac_cv_build
5104 shift
5105 build_cpu=$1
5106 build_vendor=$2
5107 shift; shift
5108 # Remember, the first character of IFS is used to create $*,
5109 # except with old shells:
5110 build_os=$*
5111 IFS=$ac_save_IFS
5112 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5113
5114
5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5116 printf %s "checking host system type... " >&6; }
5117 if test ${ac_cv_host+y}
5118 then :
5119 printf %s "(cached) " >&6
5120 else case e in #(
5121 e) if test "x$host_alias" = x; then
5122 ac_cv_host=$ac_cv_build
5123 else
5124 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5125 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5126 fi
5127 ;;
5128 esac
5129 fi
5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5131 printf "%s\n" "$ac_cv_host" >&6; }
5132 case $ac_cv_host in
5133 *-*-*) ;;
5134 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5135 esac
5136 host=$ac_cv_host
5137 ac_save_IFS=$IFS; IFS='-'
5138 set x $ac_cv_host
5139 shift
5140 host_cpu=$1
5141 host_vendor=$2
5142 shift; shift
5143 # Remember, the first character of IFS is used to create $*,
5144 # except with old shells:
5145 host_os=$*
5146 IFS=$ac_save_IFS
5147 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5148
5149
5150 # Backslashify metacharacters that are still active within
5151 # double-quoted strings.
5152 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5153
5154 # Same as above, but do not quote variable references.
5155 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5156
5157 # Sed substitution to delay expansion of an escaped shell variable in a
5158 # double_quote_subst'ed string.
5159 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5160
5161 # Sed substitution to delay expansion of an escaped single quote.
5162 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5163
5164 # Sed substitution to avoid accidental globbing in evaled expressions
5165 no_glob_subst='s/\*/\\\*/g'
5166
5167 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5168 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5169 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5170
5171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5172 printf %s "checking how to print strings... " >&6; }
5173 # Test print first, because it will be a builtin if present.
5174 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5175 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5176 ECHO='print -r --'
5177 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5178 ECHO='printf %s\n'
5179 else
5180 # Use this function as a fallback that always works.
5181 func_fallback_echo ()
5182 {
5183 eval 'cat <<_LTECHO_EOF
5184 $1
5185 _LTECHO_EOF'
5186 }
5187 ECHO='func_fallback_echo'
5188 fi
5189
5190 # func_echo_all arg...
5191 # Invoke $ECHO with all args, space-separated.
5192 func_echo_all ()
5193 {
5194 $ECHO ""
5195 }
5196
5197 case $ECHO in
5198 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5199 printf "%s\n" "printf" >&6; } ;;
5200 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5201 printf "%s\n" "print -r" >&6; } ;;
5202 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5203 printf "%s\n" "cat" >&6; } ;;
5204 esac
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5220 printf %s "checking for a sed that does not truncate output... " >&6; }
5221 if test ${ac_cv_path_SED+y}
5222 then :
5223 printf %s "(cached) " >&6
5224 else case e in #(
5225 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5226 for ac_i in 1 2 3 4 5 6 7; do
5227 ac_script="$ac_script$as_nl$ac_script"
5228 done
5229 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5230 { ac_script=; unset ac_script;}
5231 if test -z "$SED"; then
5232 ac_path_SED_found=false
5233 # Loop through the user's path and test for each of PROGNAME-LIST
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5236 do
5237 IFS=$as_save_IFS
5238 case $as_dir in #(((
5239 '') as_dir=./ ;;
5240 */) ;;
5241 *) as_dir=$as_dir/ ;;
5242 esac
5243 for ac_prog in sed gsed
5244 do
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5247 as_fn_executable_p "$ac_path_SED" || continue
5248 # Check for GNU ac_path_SED and select it if it is found.
5249 # Check for GNU $ac_path_SED
5250 case `"$ac_path_SED" --version 2>&1` in #(
5251 *GNU*)
5252 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5253 #(
5254 *)
5255 ac_count=0
5256 printf %s 0123456789 >"conftest.in"
5257 while :
5258 do
5259 cat "conftest.in" "conftest.in" >"conftest.tmp"
5260 mv "conftest.tmp" "conftest.in"
5261 cp "conftest.in" "conftest.nl"
5262 printf "%s\n" '' >> "conftest.nl"
5263 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5264 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5265 as_fn_arith $ac_count + 1 && ac_count=$as_val
5266 if test $ac_count -gt ${ac_path_SED_max-0}; then
5267 # Best one so far, save it but keep looking for a better one
5268 ac_cv_path_SED="$ac_path_SED"
5269 ac_path_SED_max=$ac_count
5270 fi
5271 # 10*(2^10) chars as input seems more than enough
5272 test $ac_count -gt 10 && break
5273 done
5274 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5275 esac
5276
5277 $ac_path_SED_found && break 3
5278 done
5279 done
5280 done
5281 IFS=$as_save_IFS
5282 if test -z "$ac_cv_path_SED"; then
5283 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5284 fi
5285 else
5286 ac_cv_path_SED=$SED
5287 fi
5288 ;;
5289 esac
5290 fi
5291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5292 printf "%s\n" "$ac_cv_path_SED" >&6; }
5293 SED="$ac_cv_path_SED"
5294 rm -f conftest.sed
5295
5296 test -z "$SED" && SED=sed
5297 Xsed="$SED -e 1s/^X//"
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5310 printf %s "checking for grep that handles long lines and -e... " >&6; }
5311 if test ${ac_cv_path_GREP+y}
5312 then :
5313 printf %s "(cached) " >&6
5314 else case e in #(
5315 e) if test -z "$GREP"; then
5316 ac_path_GREP_found=false
5317 # Loop through the user's path and test for each of PROGNAME-LIST
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5320 do
5321 IFS=$as_save_IFS
5322 case $as_dir in #(((
5323 '') as_dir=./ ;;
5324 */) ;;
5325 *) as_dir=$as_dir/ ;;
5326 esac
5327 for ac_prog in grep ggrep
5328 do
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5331 as_fn_executable_p "$ac_path_GREP" || continue
5332 # Check for GNU ac_path_GREP and select it if it is found.
5333 # Check for GNU $ac_path_GREP
5334 case `"$ac_path_GREP" --version 2>&1` in #(
5335 *GNU*)
5336 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5337 #(
5338 *)
5339 ac_count=0
5340 printf %s 0123456789 >"conftest.in"
5341 while :
5342 do
5343 cat "conftest.in" "conftest.in" >"conftest.tmp"
5344 mv "conftest.tmp" "conftest.in"
5345 cp "conftest.in" "conftest.nl"
5346 printf "%s\n" 'GREP' >> "conftest.nl"
5347 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5348 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5349 as_fn_arith $ac_count + 1 && ac_count=$as_val
5350 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5351 # Best one so far, save it but keep looking for a better one
5352 ac_cv_path_GREP="$ac_path_GREP"
5353 ac_path_GREP_max=$ac_count
5354 fi
5355 # 10*(2^10) chars as input seems more than enough
5356 test $ac_count -gt 10 && break
5357 done
5358 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5359 esac
5360
5361 $ac_path_GREP_found && break 3
5362 done
5363 done
5364 done
5365 IFS=$as_save_IFS
5366 if test -z "$ac_cv_path_GREP"; then
5367 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5368 fi
5369 else
5370 ac_cv_path_GREP=$GREP
5371 fi
5372 ;;
5373 esac
5374 fi
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5376 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5377 GREP="$ac_cv_path_GREP"
5378
5379
5380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5381 printf %s "checking for egrep... " >&6; }
5382 if test ${ac_cv_path_EGREP+y}
5383 then :
5384 printf %s "(cached) " >&6
5385 else case e in #(
5386 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5387 then ac_cv_path_EGREP="$GREP -E"
5388 else
5389 if test -z "$EGREP"; then
5390 ac_path_EGREP_found=false
5391 # Loop through the user's path and test for each of PROGNAME-LIST
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5394 do
5395 IFS=$as_save_IFS
5396 case $as_dir in #(((
5397 '') as_dir=./ ;;
5398 */) ;;
5399 *) as_dir=$as_dir/ ;;
5400 esac
5401 for ac_prog in egrep
5402 do
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5405 as_fn_executable_p "$ac_path_EGREP" || continue
5406 # Check for GNU ac_path_EGREP and select it if it is found.
5407 # Check for GNU $ac_path_EGREP
5408 case `"$ac_path_EGREP" --version 2>&1` in #(
5409 *GNU*)
5410 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5411 #(
5412 *)
5413 ac_count=0
5414 printf %s 0123456789 >"conftest.in"
5415 while :
5416 do
5417 cat "conftest.in" "conftest.in" >"conftest.tmp"
5418 mv "conftest.tmp" "conftest.in"
5419 cp "conftest.in" "conftest.nl"
5420 printf "%s\n" 'EGREP' >> "conftest.nl"
5421 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5422 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5423 as_fn_arith $ac_count + 1 && ac_count=$as_val
5424 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5425 # Best one so far, save it but keep looking for a better one
5426 ac_cv_path_EGREP="$ac_path_EGREP"
5427 ac_path_EGREP_max=$ac_count
5428 fi
5429 # 10*(2^10) chars as input seems more than enough
5430 test $ac_count -gt 10 && break
5431 done
5432 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5433 esac
5434
5435 $ac_path_EGREP_found && break 3
5436 done
5437 done
5438 done
5439 IFS=$as_save_IFS
5440 if test -z "$ac_cv_path_EGREP"; then
5441 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5442 fi
5443 else
5444 ac_cv_path_EGREP=$EGREP
5445 fi
5446
5447 fi ;;
5448 esac
5449 fi
5450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5451 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5452 EGREP="$ac_cv_path_EGREP"
5453
5454 EGREP_TRADITIONAL=$EGREP
5455 ac_cv_path_EGREP_TRADITIONAL=$EGREP
5456
5457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5458 printf %s "checking for fgrep... " >&6; }
5459 if test ${ac_cv_path_FGREP+y}
5460 then :
5461 printf %s "(cached) " >&6
5462 else case e in #(
5463 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5464 then ac_cv_path_FGREP="$GREP -F"
5465 else
5466 if test -z "$FGREP"; then
5467 ac_path_FGREP_found=false
5468 # Loop through the user's path and test for each of PROGNAME-LIST
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5471 do
5472 IFS=$as_save_IFS
5473 case $as_dir in #(((
5474 '') as_dir=./ ;;
5475 */) ;;
5476 *) as_dir=$as_dir/ ;;
5477 esac
5478 for ac_prog in fgrep
5479 do
5480 for ac_exec_ext in '' $ac_executable_extensions; do
5481 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5482 as_fn_executable_p "$ac_path_FGREP" || continue
5483 # Check for GNU ac_path_FGREP and select it if it is found.
5484 # Check for GNU $ac_path_FGREP
5485 case `"$ac_path_FGREP" --version 2>&1` in #(
5486 *GNU*)
5487 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5488 #(
5489 *)
5490 ac_count=0
5491 printf %s 0123456789 >"conftest.in"
5492 while :
5493 do
5494 cat "conftest.in" "conftest.in" >"conftest.tmp"
5495 mv "conftest.tmp" "conftest.in"
5496 cp "conftest.in" "conftest.nl"
5497 printf "%s\n" 'FGREP' >> "conftest.nl"
5498 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5499 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5500 as_fn_arith $ac_count + 1 && ac_count=$as_val
5501 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5502 # Best one so far, save it but keep looking for a better one
5503 ac_cv_path_FGREP="$ac_path_FGREP"
5504 ac_path_FGREP_max=$ac_count
5505 fi
5506 # 10*(2^10) chars as input seems more than enough
5507 test $ac_count -gt 10 && break
5508 done
5509 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5510 esac
5511
5512 $ac_path_FGREP_found && break 3
5513 done
5514 done
5515 done
5516 IFS=$as_save_IFS
5517 if test -z "$ac_cv_path_FGREP"; then
5518 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5519 fi
5520 else
5521 ac_cv_path_FGREP=$FGREP
5522 fi
5523
5524 fi ;;
5525 esac
5526 fi
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5528 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5529 FGREP="$ac_cv_path_FGREP"
5530
5531
5532 test -z "$GREP" && GREP=grep
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552 # Check whether --with-gnu-ld was given.
5553 if test ${with_gnu_ld+y}
5554 then :
5555 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5556 else case e in #(
5557 e) with_gnu_ld=no ;;
5558 esac
5559 fi
5560
5561 ac_prog=ld
5562 if test yes = "$GCC"; then
5563 # Check if gcc -print-prog-name=ld gives a path.
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5565 printf %s "checking for ld used by $CC... " >&6; }
5566 case $host in
5567 *-*-mingw* | *-*-windows*)
5568 # gcc leaves a trailing carriage return, which upsets mingw
5569 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5570 *)
5571 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5572 esac
5573 case $ac_prog in
5574 # Accept absolute paths.
5575 [\\/]* | ?:[\\/]*)
5576 re_direlt='/[^/][^/]*/\.\./'
5577 # Canonicalize the pathname of ld
5578 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5579 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5580 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5581 done
5582 test -z "$LD" && LD=$ac_prog
5583 ;;
5584 "")
5585 # If it fails, then pretend we aren't using GCC.
5586 ac_prog=ld
5587 ;;
5588 *)
5589 # If it is relative, then search for the first ld in PATH.
5590 with_gnu_ld=unknown
5591 ;;
5592 esac
5593 elif test yes = "$with_gnu_ld"; then
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5595 printf %s "checking for GNU ld... " >&6; }
5596 else
5597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5598 printf %s "checking for non-GNU ld... " >&6; }
5599 fi
5600 if test ${lt_cv_path_LD+y}
5601 then :
5602 printf %s "(cached) " >&6
5603 else case e in #(
5604 e) if test -z "$LD"; then
5605 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5606 for ac_dir in $PATH; do
5607 IFS=$lt_save_ifs
5608 test -z "$ac_dir" && ac_dir=.
5609 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5610 lt_cv_path_LD=$ac_dir/$ac_prog
5611 # Check to see if the program is GNU ld. I'd rather use --version,
5612 # but apparently some variants of GNU ld only accept -v.
5613 # Break only if it was the GNU/non-GNU ld that we prefer.
5614 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5615 *GNU* | *'with BFD'*)
5616 test no != "$with_gnu_ld" && break
5617 ;;
5618 *)
5619 test yes != "$with_gnu_ld" && break
5620 ;;
5621 esac
5622 fi
5623 done
5624 IFS=$lt_save_ifs
5625 else
5626 lt_cv_path_LD=$LD # Let the user override the test with a path.
5627 fi ;;
5628 esac
5629 fi
5630
5631 LD=$lt_cv_path_LD
5632 if test -n "$LD"; then
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5634 printf "%s\n" "$LD" >&6; }
5635 else
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 printf "%s\n" "no" >&6; }
5638 fi
5639 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5641 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5642 if test ${lt_cv_prog_gnu_ld+y}
5643 then :
5644 printf %s "(cached) " >&6
5645 else case e in #(
5646 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
5647 case `$LD -v 2>&1 </dev/null` in
5648 *GNU* | *'with BFD'*)
5649 lt_cv_prog_gnu_ld=yes
5650 ;;
5651 *)
5652 lt_cv_prog_gnu_ld=no
5653 ;;
5654 esac ;;
5655 esac
5656 fi
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5658 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5659 with_gnu_ld=$lt_cv_prog_gnu_ld
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5670 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5671 if test ${lt_cv_path_NM+y}
5672 then :
5673 printf %s "(cached) " >&6
5674 else case e in #(
5675 e) if test -n "$NM"; then
5676 # Let the user override the test.
5677 lt_cv_path_NM=$NM
5678 else
5679 lt_nm_to_check=${ac_tool_prefix}nm
5680 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5681 lt_nm_to_check="$lt_nm_to_check nm"
5682 fi
5683 for lt_tmp_nm in $lt_nm_to_check; do
5684 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5685 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5686 IFS=$lt_save_ifs
5687 test -z "$ac_dir" && ac_dir=.
5688 tmp_nm=$ac_dir/$lt_tmp_nm
5689 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5690 # Check to see if the nm accepts a BSD-compat flag.
5691 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5692 # nm: unknown option "B" ignored
5693 # Tru64's nm complains that /dev/null is an invalid object file
5694 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5695 case $build_os in
5696 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
5697 *) lt_bad_file=/dev/null ;;
5698 esac
5699 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5700 *$lt_bad_file* | *'Invalid file or object type'*)
5701 lt_cv_path_NM="$tmp_nm -B"
5702 break 2
5703 ;;
5704 *)
5705 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5706 */dev/null*)
5707 lt_cv_path_NM="$tmp_nm -p"
5708 break 2
5709 ;;
5710 *)
5711 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5712 continue # so that we can try to find one that supports BSD flags
5713 ;;
5714 esac
5715 ;;
5716 esac
5717 fi
5718 done
5719 IFS=$lt_save_ifs
5720 done
5721 : ${lt_cv_path_NM=no}
5722 fi ;;
5723 esac
5724 fi
5725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5726 printf "%s\n" "$lt_cv_path_NM" >&6; }
5727 if test no != "$lt_cv_path_NM"; then
5728 NM=$lt_cv_path_NM
5729 else
5730 # Didn't find any BSD compatible name lister, look for dumpbin.
5731 if test -n "$DUMPBIN"; then :
5732 # Let the user override the test.
5733 else
5734 if test -n "$ac_tool_prefix"; then
5735 for ac_prog in dumpbin "link -dump"
5736 do
5737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5740 printf %s "checking for $ac_word... " >&6; }
5741 if test ${ac_cv_prog_DUMPBIN+y}
5742 then :
5743 printf %s "(cached) " >&6
5744 else case e in #(
5745 e) if test -n "$DUMPBIN"; then
5746 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5747 else
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 for as_dir in $PATH
5750 do
5751 IFS=$as_save_IFS
5752 case $as_dir in #(((
5753 '') as_dir=./ ;;
5754 */) ;;
5755 *) as_dir=$as_dir/ ;;
5756 esac
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5761 break 2
5762 fi
5763 done
5764 done
5765 IFS=$as_save_IFS
5766
5767 fi ;;
5768 esac
5769 fi
5770 DUMPBIN=$ac_cv_prog_DUMPBIN
5771 if test -n "$DUMPBIN"; then
5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5773 printf "%s\n" "$DUMPBIN" >&6; }
5774 else
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 printf "%s\n" "no" >&6; }
5777 fi
5778
5779
5780 test -n "$DUMPBIN" && break
5781 done
5782 fi
5783 if test -z "$DUMPBIN"; then
5784 ac_ct_DUMPBIN=$DUMPBIN
5785 for ac_prog in dumpbin "link -dump"
5786 do
5787 # Extract the first word of "$ac_prog", so it can be a program name with args.
5788 set dummy $ac_prog; ac_word=$2
5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790 printf %s "checking for $ac_word... " >&6; }
5791 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5792 then :
5793 printf %s "(cached) " >&6
5794 else case e in #(
5795 e) if test -n "$ac_ct_DUMPBIN"; then
5796 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5797 else
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in $PATH
5800 do
5801 IFS=$as_save_IFS
5802 case $as_dir in #(((
5803 '') as_dir=./ ;;
5804 */) ;;
5805 *) as_dir=$as_dir/ ;;
5806 esac
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5811 break 2
5812 fi
5813 done
5814 done
5815 IFS=$as_save_IFS
5816
5817 fi ;;
5818 esac
5819 fi
5820 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5821 if test -n "$ac_ct_DUMPBIN"; then
5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5823 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5824 else
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 printf "%s\n" "no" >&6; }
5827 fi
5828
5829
5830 test -n "$ac_ct_DUMPBIN" && break
5831 done
5832
5833 if test "x$ac_ct_DUMPBIN" = x; then
5834 DUMPBIN=":"
5835 else
5836 case $cross_compiling:$ac_tool_warned in
5837 yes:)
5838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5839 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5840 ac_tool_warned=yes ;;
5841 esac
5842 DUMPBIN=$ac_ct_DUMPBIN
5843 fi
5844 fi
5845
5846 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5847 *COFF*)
5848 DUMPBIN="$DUMPBIN -symbols -headers"
5849 ;;
5850 *)
5851 DUMPBIN=:
5852 ;;
5853 esac
5854 fi
5855
5856 if test : != "$DUMPBIN"; then
5857 NM=$DUMPBIN
5858 fi
5859 fi
5860 test -z "$NM" && NM=nm
5861
5862
5863
5864
5865
5866
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5868 printf %s "checking the name lister ($NM) interface... " >&6; }
5869 if test ${lt_cv_nm_interface+y}
5870 then :
5871 printf %s "(cached) " >&6
5872 else case e in #(
5873 e) lt_cv_nm_interface="BSD nm"
5874 echo "int some_variable = 0;" > conftest.$ac_ext
5875 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5876 (eval "$ac_compile" 2>conftest.err)
5877 cat conftest.err >&5
5878 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5879 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5880 cat conftest.err >&5
5881 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5882 cat conftest.out >&5
5883 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5884 lt_cv_nm_interface="MS dumpbin"
5885 fi
5886 rm -f conftest* ;;
5887 esac
5888 fi
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5890 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5891
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5893 printf %s "checking whether ln -s works... " >&6; }
5894 LN_S=$as_ln_s
5895 if test "$LN_S" = "ln -s"; then
5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5897 printf "%s\n" "yes" >&6; }
5898 else
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5900 printf "%s\n" "no, using $LN_S" >&6; }
5901 fi
5902
5903 # find the maximum length of command line arguments
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5905 printf %s "checking the maximum length of command line arguments... " >&6; }
5906 if test ${lt_cv_sys_max_cmd_len+y}
5907 then :
5908 printf %s "(cached) " >&6
5909 else case e in #(
5910 e) i=0
5911 teststring=ABCD
5912
5913 case $build_os in
5914 msdosdjgpp*)
5915 # On DJGPP, this test can blow up pretty badly due to problems in libc
5916 # (any single argument exceeding 2000 bytes causes a buffer overrun
5917 # during glob expansion). Even if it were fixed, the result of this
5918 # check would be larger than it should be.
5919 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5920 ;;
5921
5922 gnu* | ironclad*)
5923 # Under GNU Hurd and Ironclad, this test is not required because there
5924 # is no limit to the length of command line arguments.
5925 # Libtool will interpret -1 as no limit whatsoever
5926 lt_cv_sys_max_cmd_len=-1;
5927 ;;
5928
5929 cygwin* | mingw* | windows* | cegcc*)
5930 # On Win9x/ME, this test blows up -- it succeeds, but takes
5931 # about 5 minutes as the teststring grows exponentially.
5932 # Worse, since 9x/ME are not pre-emptively multitasking,
5933 # you end up with a "frozen" computer, even though with patience
5934 # the test eventually succeeds (with a max line length of 256k).
5935 # Instead, let's just punt: use the minimum linelength reported by
5936 # all of the supported platforms: 8192 (on NT/2K/XP).
5937 lt_cv_sys_max_cmd_len=8192;
5938 ;;
5939
5940 mint*)
5941 # On MiNT this can take a long time and run out of memory.
5942 lt_cv_sys_max_cmd_len=8192;
5943 ;;
5944
5945 amigaos*)
5946 # On AmigaOS with pdksh, this test takes hours, literally.
5947 # So we just punt and use a minimum line length of 8192.
5948 lt_cv_sys_max_cmd_len=8192;
5949 ;;
5950
5951 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
5952 # This has been around since 386BSD, at least. Likely further.
5953 if test -x /sbin/sysctl; then
5954 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5955 elif test -x /usr/sbin/sysctl; then
5956 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5957 else
5958 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5959 fi
5960 # And add a safety zone
5961 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5962 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5963 ;;
5964
5965 interix*)
5966 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5967 lt_cv_sys_max_cmd_len=196608
5968 ;;
5969
5970 os2*)
5971 # The test takes a long time on OS/2.
5972 lt_cv_sys_max_cmd_len=8192
5973 ;;
5974
5975 osf*)
5976 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5977 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5978 # nice to cause kernel panics so lets avoid the loop below.
5979 # First set a reasonable default.
5980 lt_cv_sys_max_cmd_len=16384
5981 #
5982 if test -x /sbin/sysconfig; then
5983 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5984 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5985 esac
5986 fi
5987 ;;
5988 sco3.2v5*)
5989 lt_cv_sys_max_cmd_len=102400
5990 ;;
5991 sysv5* | sco5v6* | sysv4.2uw2*)
5992 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5993 if test -n "$kargmax"; then
5994 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
5995 else
5996 lt_cv_sys_max_cmd_len=32768
5997 fi
5998 ;;
5999 *)
6000 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6001 if test -n "$lt_cv_sys_max_cmd_len" && \
6002 test undefined != "$lt_cv_sys_max_cmd_len"; then
6003 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6004 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6005 else
6006 # Make teststring a little bigger before we do anything with it.
6007 # a 1K string should be a reasonable start.
6008 for i in 1 2 3 4 5 6 7 8; do
6009 teststring=$teststring$teststring
6010 done
6011 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6012 # If test is not a shell built-in, we'll probably end up computing a
6013 # maximum length that is only half of the actual maximum length, but
6014 # we can't tell.
6015 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6016 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6017 test 17 != "$i" # 1/2 MB should be enough
6018 do
6019 i=`expr $i + 1`
6020 teststring=$teststring$teststring
6021 done
6022 # Only check the string length outside the loop.
6023 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6024 teststring=
6025 # Add a significant safety factor because C++ compilers can tack on
6026 # massive amounts of additional arguments before passing them to the
6027 # linker. It appears as though 1/2 is a usable value.
6028 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6029 fi
6030 ;;
6031 esac
6032 ;;
6033 esac
6034 fi
6035
6036 if test -n "$lt_cv_sys_max_cmd_len"; then
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6038 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6039 else
6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6041 printf "%s\n" "none" >&6; }
6042 fi
6043 max_cmd_len=$lt_cv_sys_max_cmd_len
6044
6045
6046
6047
6048
6049
6050 : ${CP="cp -f"}
6051 : ${MV="mv -f"}
6052 : ${RM="rm -f"}
6053
6054 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6055 lt_unset=unset
6056 else
6057 lt_unset=false
6058 fi
6059
6060
6061
6062
6063
6064 # test EBCDIC or ASCII
6065 case `echo X|tr X '\101'` in
6066 A) # ASCII based system
6067 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6068 lt_SP2NL='tr \040 \012'
6069 lt_NL2SP='tr \015\012 \040\040'
6070 ;;
6071 *) # EBCDIC based system
6072 lt_SP2NL='tr \100 \n'
6073 lt_NL2SP='tr \r\n \100\100'
6074 ;;
6075 esac
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6086 printf %s "checking how to convert $build file names to $host format... " >&6; }
6087 if test ${lt_cv_to_host_file_cmd+y}
6088 then :
6089 printf %s "(cached) " >&6
6090 else case e in #(
6091 e) case $host in
6092 *-*-mingw* )
6093 case $build in
6094 *-*-mingw* | *-*-windows* ) # actually msys
6095 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6096 ;;
6097 *-*-cygwin* )
6098 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6099 ;;
6100 * ) # otherwise, assume *nix
6101 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6102 ;;
6103 esac
6104 ;;
6105 *-*-cygwin* )
6106 case $build in
6107 *-*-mingw* | *-*-windows* ) # actually msys
6108 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6109 ;;
6110 *-*-cygwin* )
6111 lt_cv_to_host_file_cmd=func_convert_file_noop
6112 ;;
6113 * ) # otherwise, assume *nix
6114 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6115 ;;
6116 esac
6117 ;;
6118 * ) # unhandled hosts (and "normal" native builds)
6119 lt_cv_to_host_file_cmd=func_convert_file_noop
6120 ;;
6121 esac
6122 ;;
6123 esac
6124 fi
6125
6126 to_host_file_cmd=$lt_cv_to_host_file_cmd
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6128 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6129
6130
6131
6132
6133
6134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6135 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6136 if test ${lt_cv_to_tool_file_cmd+y}
6137 then :
6138 printf %s "(cached) " >&6
6139 else case e in #(
6140 e) #assume ordinary cross tools, or native build.
6141 lt_cv_to_tool_file_cmd=func_convert_file_noop
6142 case $host in
6143 *-*-mingw* | *-*-windows* )
6144 case $build in
6145 *-*-mingw* | *-*-windows* ) # actually msys
6146 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6147 ;;
6148 esac
6149 ;;
6150 esac
6151 ;;
6152 esac
6153 fi
6154
6155 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6157 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6158
6159
6160
6161
6162
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6164 printf %s "checking for $LD option to reload object files... " >&6; }
6165 if test ${lt_cv_ld_reload_flag+y}
6166 then :
6167 printf %s "(cached) " >&6
6168 else case e in #(
6169 e) lt_cv_ld_reload_flag='-r' ;;
6170 esac
6171 fi
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6173 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6174 reload_flag=$lt_cv_ld_reload_flag
6175 case $reload_flag in
6176 "" | " "*) ;;
6177 *) reload_flag=" $reload_flag" ;;
6178 esac
6179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6180 case $host_os in
6181 cygwin* | mingw* | windows* | pw32* | cegcc*)
6182 if test yes != "$GCC"; then
6183 reload_cmds=false
6184 fi
6185 ;;
6186 darwin*)
6187 if test yes = "$GCC"; then
6188 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6189 else
6190 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6191 fi
6192 ;;
6193 esac
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203 # Extract the first word of "file", so it can be a program name with args.
6204 set dummy file; ac_word=$2
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 printf %s "checking for $ac_word... " >&6; }
6207 if test ${ac_cv_prog_FILECMD+y}
6208 then :
6209 printf %s "(cached) " >&6
6210 else case e in #(
6211 e) if test -n "$FILECMD"; then
6212 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6213 else
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 for as_dir in $PATH
6216 do
6217 IFS=$as_save_IFS
6218 case $as_dir in #(((
6219 '') as_dir=./ ;;
6220 */) ;;
6221 *) as_dir=$as_dir/ ;;
6222 esac
6223 for ac_exec_ext in '' $ac_executable_extensions; do
6224 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6225 ac_cv_prog_FILECMD="file"
6226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6227 break 2
6228 fi
6229 done
6230 done
6231 IFS=$as_save_IFS
6232
6233 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
6234 fi ;;
6235 esac
6236 fi
6237 FILECMD=$ac_cv_prog_FILECMD
6238 if test -n "$FILECMD"; then
6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6240 printf "%s\n" "$FILECMD" >&6; }
6241 else
6242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 printf "%s\n" "no" >&6; }
6244 fi
6245
6246
6247
6248
6249
6250
6251
6252
6253 if test -n "$ac_tool_prefix"; then
6254 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6255 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 printf %s "checking for $ac_word... " >&6; }
6258 if test ${ac_cv_prog_OBJDUMP+y}
6259 then :
6260 printf %s "(cached) " >&6
6261 else case e in #(
6262 e) if test -n "$OBJDUMP"; then
6263 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6264 else
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 for as_dir in $PATH
6267 do
6268 IFS=$as_save_IFS
6269 case $as_dir in #(((
6270 '') as_dir=./ ;;
6271 */) ;;
6272 *) as_dir=$as_dir/ ;;
6273 esac
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6276 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6278 break 2
6279 fi
6280 done
6281 done
6282 IFS=$as_save_IFS
6283
6284 fi ;;
6285 esac
6286 fi
6287 OBJDUMP=$ac_cv_prog_OBJDUMP
6288 if test -n "$OBJDUMP"; then
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6290 printf "%s\n" "$OBJDUMP" >&6; }
6291 else
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 printf "%s\n" "no" >&6; }
6294 fi
6295
6296
6297 fi
6298 if test -z "$ac_cv_prog_OBJDUMP"; then
6299 ac_ct_OBJDUMP=$OBJDUMP
6300 # Extract the first word of "objdump", so it can be a program name with args.
6301 set dummy objdump; ac_word=$2
6302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 printf %s "checking for $ac_word... " >&6; }
6304 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6305 then :
6306 printf %s "(cached) " >&6
6307 else case e in #(
6308 e) if test -n "$ac_ct_OBJDUMP"; then
6309 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6310 else
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 for as_dir in $PATH
6313 do
6314 IFS=$as_save_IFS
6315 case $as_dir in #(((
6316 '') as_dir=./ ;;
6317 */) ;;
6318 *) as_dir=$as_dir/ ;;
6319 esac
6320 for ac_exec_ext in '' $ac_executable_extensions; do
6321 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6322 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6324 break 2
6325 fi
6326 done
6327 done
6328 IFS=$as_save_IFS
6329
6330 fi ;;
6331 esac
6332 fi
6333 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6334 if test -n "$ac_ct_OBJDUMP"; then
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6336 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6337 else
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339 printf "%s\n" "no" >&6; }
6340 fi
6341
6342 if test "x$ac_ct_OBJDUMP" = x; then
6343 OBJDUMP="false"
6344 else
6345 case $cross_compiling:$ac_tool_warned in
6346 yes:)
6347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6348 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6349 ac_tool_warned=yes ;;
6350 esac
6351 OBJDUMP=$ac_ct_OBJDUMP
6352 fi
6353 else
6354 OBJDUMP="$ac_cv_prog_OBJDUMP"
6355 fi
6356
6357 test -z "$OBJDUMP" && OBJDUMP=objdump
6358
6359
6360
6361
6362
6363
6364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6365 printf %s "checking how to recognize dependent libraries... " >&6; }
6366 if test ${lt_cv_deplibs_check_method+y}
6367 then :
6368 printf %s "(cached) " >&6
6369 else case e in #(
6370 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
6371 lt_cv_file_magic_test_file=
6372 lt_cv_deplibs_check_method='unknown'
6373 # Need to set the preceding variable on all platforms that support
6374 # interlibrary dependencies.
6375 # 'none' -- dependencies not supported.
6376 # 'unknown' -- same as none, but documents that we really don't know.
6377 # 'pass_all' -- all dependencies passed with no checks.
6378 # 'file_magic [[regex]]' -- check by looking for files in library path
6379 # that responds to the $file_magic_cmd with a given extended regex.
6380 # If you have 'file' or equivalent on your system and you're not sure
6381 # whether 'pass_all' will *always* work, you probably want this one.
6382
6383 case $host_os in
6384 aix[4-9]*)
6385 lt_cv_deplibs_check_method=pass_all
6386 ;;
6387
6388 beos*)
6389 lt_cv_deplibs_check_method=pass_all
6390 ;;
6391
6392 bsdi[45]*)
6393 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6394 lt_cv_file_magic_cmd='$FILECMD -L'
6395 lt_cv_file_magic_test_file=/shlib/libc.so
6396 ;;
6397
6398 cygwin*)
6399 # func_win32_libid is a shell function defined in ltmain.sh
6400 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6401 lt_cv_file_magic_cmd='func_win32_libid'
6402 ;;
6403
6404 mingw* | windows* | pw32*)
6405 # Base MSYS/MinGW do not provide the 'file' command needed by
6406 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6407 # unless we find 'file', for example because we are cross-compiling.
6408 if ( file / ) >/dev/null 2>&1; then
6409 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6410 lt_cv_file_magic_cmd='func_win32_libid'
6411 else
6412 # Keep this pattern in sync with the one in func_win32_libid.
6413 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
6414 lt_cv_file_magic_cmd='$OBJDUMP -f'
6415 fi
6416 ;;
6417
6418 cegcc*)
6419 # use the weaker test based on 'objdump'. See mingw*.
6420 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6421 lt_cv_file_magic_cmd='$OBJDUMP -f'
6422 ;;
6423
6424 darwin* | rhapsody*)
6425 lt_cv_deplibs_check_method=pass_all
6426 ;;
6427
6428 freebsd* | dragonfly* | midnightbsd*)
6429 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6430 case $host_cpu in
6431 i*86 )
6432 # Not sure whether the presence of OpenBSD here was a mistake.
6433 # Let's accept both of them until this is cleared up.
6434 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6435 lt_cv_file_magic_cmd=$FILECMD
6436 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6437 ;;
6438 esac
6439 else
6440 lt_cv_deplibs_check_method=pass_all
6441 fi
6442 ;;
6443
6444 haiku*)
6445 lt_cv_deplibs_check_method=pass_all
6446 ;;
6447
6448 hpux10.20* | hpux11*)
6449 lt_cv_file_magic_cmd=$FILECMD
6450 case $host_cpu in
6451 ia64*)
6452 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6453 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6454 ;;
6455 hppa*64*)
6456 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]'
6457 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6458 ;;
6459 *)
6460 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6461 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6462 ;;
6463 esac
6464 ;;
6465
6466 interix[3-9]*)
6467 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6468 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6469 ;;
6470
6471 irix5* | irix6* | nonstopux*)
6472 case $LD in
6473 *-32|*"-32 ") libmagic=32-bit;;
6474 *-n32|*"-n32 ") libmagic=N32;;
6475 *-64|*"-64 ") libmagic=64-bit;;
6476 *) libmagic=never-match;;
6477 esac
6478 lt_cv_deplibs_check_method=pass_all
6479 ;;
6480
6481 # This must be glibc/ELF.
6482 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6483 lt_cv_deplibs_check_method=pass_all
6484 ;;
6485
6486 *-mlibc)
6487 lt_cv_deplibs_check_method=pass_all
6488 ;;
6489
6490 netbsd* | netbsdelf*-gnu)
6491 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6492 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6493 else
6494 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6495 fi
6496 ;;
6497
6498 newos6*)
6499 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6500 lt_cv_file_magic_cmd=$FILECMD
6501 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6502 ;;
6503
6504 *nto* | *qnx*)
6505 lt_cv_deplibs_check_method=pass_all
6506 ;;
6507
6508 openbsd*)
6509 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6510 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6511 else
6512 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6513 fi
6514 ;;
6515
6516 osf3* | osf4* | osf5*)
6517 lt_cv_deplibs_check_method=pass_all
6518 ;;
6519
6520 rdos*)
6521 lt_cv_deplibs_check_method=pass_all
6522 ;;
6523
6524 serenity*)
6525 lt_cv_deplibs_check_method=pass_all
6526 ;;
6527
6528 solaris*)
6529 lt_cv_deplibs_check_method=pass_all
6530 ;;
6531
6532 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6533 lt_cv_deplibs_check_method=pass_all
6534 ;;
6535
6536 sysv4 | sysv4.3*)
6537 case $host_vendor in
6538 motorola)
6539 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]'
6540 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6541 ;;
6542 ncr)
6543 lt_cv_deplibs_check_method=pass_all
6544 ;;
6545 sequent)
6546 lt_cv_file_magic_cmd='/bin/file'
6547 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6548 ;;
6549 sni)
6550 lt_cv_file_magic_cmd='/bin/file'
6551 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6552 lt_cv_file_magic_test_file=/lib/libc.so
6553 ;;
6554 siemens)
6555 lt_cv_deplibs_check_method=pass_all
6556 ;;
6557 pc)
6558 lt_cv_deplibs_check_method=pass_all
6559 ;;
6560 esac
6561 ;;
6562
6563 tpf*)
6564 lt_cv_deplibs_check_method=pass_all
6565 ;;
6566 os2*)
6567 lt_cv_deplibs_check_method=pass_all
6568 ;;
6569 esac
6570 ;;
6571 esac
6572 fi
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6574 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6575
6576 file_magic_glob=
6577 want_nocaseglob=no
6578 if test "$build" = "$host"; then
6579 case $host_os in
6580 mingw* | windows* | pw32*)
6581 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6582 want_nocaseglob=yes
6583 else
6584 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6585 fi
6586 ;;
6587 esac
6588 fi
6589
6590 file_magic_cmd=$lt_cv_file_magic_cmd
6591 deplibs_check_method=$lt_cv_deplibs_check_method
6592 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 printf %s "checking for $ac_word... " >&6; }
6620 if test ${ac_cv_prog_DLLTOOL+y}
6621 then :
6622 printf %s "(cached) " >&6
6623 else case e in #(
6624 e) if test -n "$DLLTOOL"; then
6625 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6626 else
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 for as_dir in $PATH
6629 do
6630 IFS=$as_save_IFS
6631 case $as_dir in #(((
6632 '') as_dir=./ ;;
6633 */) ;;
6634 *) as_dir=$as_dir/ ;;
6635 esac
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6640 break 2
6641 fi
6642 done
6643 done
6644 IFS=$as_save_IFS
6645
6646 fi ;;
6647 esac
6648 fi
6649 DLLTOOL=$ac_cv_prog_DLLTOOL
6650 if test -n "$DLLTOOL"; then
6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6652 printf "%s\n" "$DLLTOOL" >&6; }
6653 else
6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 printf "%s\n" "no" >&6; }
6656 fi
6657
6658
6659 fi
6660 if test -z "$ac_cv_prog_DLLTOOL"; then
6661 ac_ct_DLLTOOL=$DLLTOOL
6662 # Extract the first word of "dlltool", so it can be a program name with args.
6663 set dummy dlltool; ac_word=$2
6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 printf %s "checking for $ac_word... " >&6; }
6666 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6667 then :
6668 printf %s "(cached) " >&6
6669 else case e in #(
6670 e) if test -n "$ac_ct_DLLTOOL"; then
6671 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6672 else
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 for as_dir in $PATH
6675 do
6676 IFS=$as_save_IFS
6677 case $as_dir in #(((
6678 '') as_dir=./ ;;
6679 */) ;;
6680 *) as_dir=$as_dir/ ;;
6681 esac
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6686 break 2
6687 fi
6688 done
6689 done
6690 IFS=$as_save_IFS
6691
6692 fi ;;
6693 esac
6694 fi
6695 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6696 if test -n "$ac_ct_DLLTOOL"; then
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6698 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6699 else
6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 printf "%s\n" "no" >&6; }
6702 fi
6703
6704 if test "x$ac_ct_DLLTOOL" = x; then
6705 DLLTOOL="false"
6706 else
6707 case $cross_compiling:$ac_tool_warned in
6708 yes:)
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6710 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6711 ac_tool_warned=yes ;;
6712 esac
6713 DLLTOOL=$ac_ct_DLLTOOL
6714 fi
6715 else
6716 DLLTOOL="$ac_cv_prog_DLLTOOL"
6717 fi
6718
6719 test -z "$DLLTOOL" && DLLTOOL=dlltool
6720
6721
6722
6723
6724
6725
6726
6727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6728 printf %s "checking how to associate runtime and link libraries... " >&6; }
6729 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6730 then :
6731 printf %s "(cached) " >&6
6732 else case e in #(
6733 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
6734
6735 case $host_os in
6736 cygwin* | mingw* | windows* | pw32* | cegcc*)
6737 # two different shell functions defined in ltmain.sh;
6738 # decide which one to use based on capabilities of $DLLTOOL
6739 case `$DLLTOOL --help 2>&1` in
6740 *--identify-strict*)
6741 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6742 ;;
6743 *)
6744 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6745 ;;
6746 esac
6747 ;;
6748 *)
6749 # fallback: assume linklib IS sharedlib
6750 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6751 ;;
6752 esac
6753 ;;
6754 esac
6755 fi
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6757 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6758 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6759 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6760
6761
6762
6763
6764
6765
6766
6767 if test -n "$ac_tool_prefix"; then
6768 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 printf %s "checking for $ac_word... " >&6; }
6772 if test ${ac_cv_prog_RANLIB+y}
6773 then :
6774 printf %s "(cached) " >&6
6775 else case e in #(
6776 e) if test -n "$RANLIB"; then
6777 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6778 else
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 for as_dir in $PATH
6781 do
6782 IFS=$as_save_IFS
6783 case $as_dir in #(((
6784 '') as_dir=./ ;;
6785 */) ;;
6786 *) as_dir=$as_dir/ ;;
6787 esac
6788 for ac_exec_ext in '' $ac_executable_extensions; do
6789 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6790 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6792 break 2
6793 fi
6794 done
6795 done
6796 IFS=$as_save_IFS
6797
6798 fi ;;
6799 esac
6800 fi
6801 RANLIB=$ac_cv_prog_RANLIB
6802 if test -n "$RANLIB"; then
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6804 printf "%s\n" "$RANLIB" >&6; }
6805 else
6806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 printf "%s\n" "no" >&6; }
6808 fi
6809
6810
6811 fi
6812 if test -z "$ac_cv_prog_RANLIB"; then
6813 ac_ct_RANLIB=$RANLIB
6814 # Extract the first word of "ranlib", so it can be a program name with args.
6815 set dummy ranlib; ac_word=$2
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 printf %s "checking for $ac_word... " >&6; }
6818 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6819 then :
6820 printf %s "(cached) " >&6
6821 else case e in #(
6822 e) if test -n "$ac_ct_RANLIB"; then
6823 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6824 else
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6826 for as_dir in $PATH
6827 do
6828 IFS=$as_save_IFS
6829 case $as_dir in #(((
6830 '') as_dir=./ ;;
6831 */) ;;
6832 *) as_dir=$as_dir/ ;;
6833 esac
6834 for ac_exec_ext in '' $ac_executable_extensions; do
6835 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6836 ac_cv_prog_ac_ct_RANLIB="ranlib"
6837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6838 break 2
6839 fi
6840 done
6841 done
6842 IFS=$as_save_IFS
6843
6844 fi ;;
6845 esac
6846 fi
6847 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6848 if test -n "$ac_ct_RANLIB"; then
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6850 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6851 else
6852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853 printf "%s\n" "no" >&6; }
6854 fi
6855
6856 if test "x$ac_ct_RANLIB" = x; then
6857 RANLIB=":"
6858 else
6859 case $cross_compiling:$ac_tool_warned in
6860 yes:)
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863 ac_tool_warned=yes ;;
6864 esac
6865 RANLIB=$ac_ct_RANLIB
6866 fi
6867 else
6868 RANLIB="$ac_cv_prog_RANLIB"
6869 fi
6870
6871 if test -n "$ac_tool_prefix"; then
6872 for ac_prog in ar
6873 do
6874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6877 printf %s "checking for $ac_word... " >&6; }
6878 if test ${ac_cv_prog_AR+y}
6879 then :
6880 printf %s "(cached) " >&6
6881 else case e in #(
6882 e) if test -n "$AR"; then
6883 ac_cv_prog_AR="$AR" # Let the user override the test.
6884 else
6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886 for as_dir in $PATH
6887 do
6888 IFS=$as_save_IFS
6889 case $as_dir in #(((
6890 '') as_dir=./ ;;
6891 */) ;;
6892 *) as_dir=$as_dir/ ;;
6893 esac
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6896 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6898 break 2
6899 fi
6900 done
6901 done
6902 IFS=$as_save_IFS
6903
6904 fi ;;
6905 esac
6906 fi
6907 AR=$ac_cv_prog_AR
6908 if test -n "$AR"; then
6909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6910 printf "%s\n" "$AR" >&6; }
6911 else
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6913 printf "%s\n" "no" >&6; }
6914 fi
6915
6916
6917 test -n "$AR" && break
6918 done
6919 fi
6920 if test -z "$AR"; then
6921 ac_ct_AR=$AR
6922 for ac_prog in ar
6923 do
6924 # Extract the first word of "$ac_prog", so it can be a program name with args.
6925 set dummy $ac_prog; ac_word=$2
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6927 printf %s "checking for $ac_word... " >&6; }
6928 if test ${ac_cv_prog_ac_ct_AR+y}
6929 then :
6930 printf %s "(cached) " >&6
6931 else case e in #(
6932 e) if test -n "$ac_ct_AR"; then
6933 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6934 else
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936 for as_dir in $PATH
6937 do
6938 IFS=$as_save_IFS
6939 case $as_dir in #(((
6940 '') as_dir=./ ;;
6941 */) ;;
6942 *) as_dir=$as_dir/ ;;
6943 esac
6944 for ac_exec_ext in '' $ac_executable_extensions; do
6945 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6946 ac_cv_prog_ac_ct_AR="$ac_prog"
6947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6948 break 2
6949 fi
6950 done
6951 done
6952 IFS=$as_save_IFS
6953
6954 fi ;;
6955 esac
6956 fi
6957 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6958 if test -n "$ac_ct_AR"; then
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6960 printf "%s\n" "$ac_ct_AR" >&6; }
6961 else
6962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963 printf "%s\n" "no" >&6; }
6964 fi
6965
6966
6967 test -n "$ac_ct_AR" && break
6968 done
6969
6970 if test "x$ac_ct_AR" = x; then
6971 AR="false"
6972 else
6973 case $cross_compiling:$ac_tool_warned in
6974 yes:)
6975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6977 ac_tool_warned=yes ;;
6978 esac
6979 AR=$ac_ct_AR
6980 fi
6981 fi
6982
6983 : ${AR=ar}
6984
6985
6986
6987
6988
6989
6990 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
6991 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6992 # higher priority because that's what people were doing historically (setting
6993 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
6994 # variable obsoleted/removed.
6995
6996 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6997 lt_ar_flags=$AR_FLAGS
6998
6999
7000
7001
7002
7003
7004 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7005 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7006
7007
7008
7009
7010
7011
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7013 printf %s "checking for archiver @FILE support... " >&6; }
7014 if test ${lt_cv_ar_at_file+y}
7015 then :
7016 printf %s "(cached) " >&6
7017 else case e in #(
7018 e) lt_cv_ar_at_file=no
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7021
7022 int
7023 main (void)
7024 {
7025
7026 ;
7027 return 0;
7028 }
7029 _ACEOF
7030 if ac_fn_c_try_compile "$LINENO"
7031 then :
7032 echo conftest.$ac_objext > conftest.lst
7033 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7034 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7035 (eval $lt_ar_try) 2>&5
7036 ac_status=$?
7037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7038 test $ac_status = 0; }
7039 if test 0 -eq "$ac_status"; then
7040 # Ensure the archiver fails upon bogus file names.
7041 rm -f conftest.$ac_objext libconftest.a
7042 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7043 (eval $lt_ar_try) 2>&5
7044 ac_status=$?
7045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7046 test $ac_status = 0; }
7047 if test 0 -ne "$ac_status"; then
7048 lt_cv_ar_at_file=@
7049 fi
7050 fi
7051 rm -f conftest.* libconftest.a
7052
7053 fi
7054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7055 ;;
7056 esac
7057 fi
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7059 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7060
7061 if test no = "$lt_cv_ar_at_file"; then
7062 archiver_list_spec=
7063 else
7064 archiver_list_spec=$lt_cv_ar_at_file
7065 fi
7066
7067
7068
7069
7070
7071
7072
7073 if test -n "$ac_tool_prefix"; then
7074 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7075 set dummy ${ac_tool_prefix}strip; ac_word=$2
7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077 printf %s "checking for $ac_word... " >&6; }
7078 if test ${ac_cv_prog_STRIP+y}
7079 then :
7080 printf %s "(cached) " >&6
7081 else case e in #(
7082 e) if test -n "$STRIP"; then
7083 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7084 else
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 for as_dir in $PATH
7087 do
7088 IFS=$as_save_IFS
7089 case $as_dir in #(((
7090 '') as_dir=./ ;;
7091 */) ;;
7092 *) as_dir=$as_dir/ ;;
7093 esac
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7098 break 2
7099 fi
7100 done
7101 done
7102 IFS=$as_save_IFS
7103
7104 fi ;;
7105 esac
7106 fi
7107 STRIP=$ac_cv_prog_STRIP
7108 if test -n "$STRIP"; then
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7110 printf "%s\n" "$STRIP" >&6; }
7111 else
7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 printf "%s\n" "no" >&6; }
7114 fi
7115
7116
7117 fi
7118 if test -z "$ac_cv_prog_STRIP"; then
7119 ac_ct_STRIP=$STRIP
7120 # Extract the first word of "strip", so it can be a program name with args.
7121 set dummy strip; ac_word=$2
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 printf %s "checking for $ac_word... " >&6; }
7124 if test ${ac_cv_prog_ac_ct_STRIP+y}
7125 then :
7126 printf %s "(cached) " >&6
7127 else case e in #(
7128 e) if test -n "$ac_ct_STRIP"; then
7129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7130 else
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 for as_dir in $PATH
7133 do
7134 IFS=$as_save_IFS
7135 case $as_dir in #(((
7136 '') as_dir=./ ;;
7137 */) ;;
7138 *) as_dir=$as_dir/ ;;
7139 esac
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_ac_ct_STRIP="strip"
7143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7144 break 2
7145 fi
7146 done
7147 done
7148 IFS=$as_save_IFS
7149
7150 fi ;;
7151 esac
7152 fi
7153 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7154 if test -n "$ac_ct_STRIP"; then
7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7156 printf "%s\n" "$ac_ct_STRIP" >&6; }
7157 else
7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 printf "%s\n" "no" >&6; }
7160 fi
7161
7162 if test "x$ac_ct_STRIP" = x; then
7163 STRIP=":"
7164 else
7165 case $cross_compiling:$ac_tool_warned in
7166 yes:)
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7168 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7169 ac_tool_warned=yes ;;
7170 esac
7171 STRIP=$ac_ct_STRIP
7172 fi
7173 else
7174 STRIP="$ac_cv_prog_STRIP"
7175 fi
7176
7177 test -z "$STRIP" && STRIP=:
7178
7179
7180
7181
7182
7183
7184
7185 test -z "$RANLIB" && RANLIB=:
7186
7187
7188
7189
7190
7191
7192 # Determine commands to create old-style static archives.
7193 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7194 old_postinstall_cmds='chmod 644 $oldlib'
7195 old_postuninstall_cmds=
7196
7197 if test -n "$RANLIB"; then
7198 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7199 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7200 fi
7201
7202 case $host_os in
7203 darwin*)
7204 lock_old_archive_extraction=yes ;;
7205 *)
7206 lock_old_archive_extraction=no ;;
7207 esac
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247 # If no C compiler was specified, use CC.
7248 LTCC=${LTCC-"$CC"}
7249
7250 # If no C compiler flags were specified, use CFLAGS.
7251 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7252
7253 # Allow CC to be a program name with arguments.
7254 compiler=$CC
7255
7256
7257 # Check for command to grab the raw symbol name followed by C symbol from nm.
7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7259 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7260 if test ${lt_cv_sys_global_symbol_pipe+y}
7261 then :
7262 printf %s "(cached) " >&6
7263 else case e in #(
7264 e)
7265 # These are sane defaults that work on at least a few old systems.
7266 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7267
7268 # Character class describing NM global symbol codes.
7269 symcode='[BCDEGRST]'
7270
7271 # Regexp to match symbols that can be accessed directly from C.
7272 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7273
7274 # Define system-specific variables.
7275 case $host_os in
7276 aix*)
7277 symcode='[BCDT]'
7278 ;;
7279 cygwin* | mingw* | windows* | pw32* | cegcc*)
7280 symcode='[ABCDGISTW]'
7281 ;;
7282 hpux*)
7283 if test ia64 = "$host_cpu"; then
7284 symcode='[ABCDEGRST]'
7285 fi
7286 ;;
7287 irix* | nonstopux*)
7288 symcode='[BCDEGRST]'
7289 ;;
7290 osf*)
7291 symcode='[BCDEGQRST]'
7292 ;;
7293 solaris*)
7294 symcode='[BCDRT]'
7295 ;;
7296 sco3.2v5*)
7297 symcode='[DT]'
7298 ;;
7299 sysv4.2uw2*)
7300 symcode='[DT]'
7301 ;;
7302 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7303 symcode='[ABDT]'
7304 ;;
7305 sysv4)
7306 symcode='[DFNSTU]'
7307 ;;
7308 esac
7309
7310 # If we're using GNU nm, then use its standard symbol codes.
7311 case `$NM -V 2>&1` in
7312 *GNU* | *'with BFD'*)
7313 symcode='[ABCDGIRSTW]' ;;
7314 esac
7315
7316 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7317 # Gets list of data symbols to import.
7318 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7319 # Adjust the below global symbol transforms to fixup imported variables.
7320 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7321 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7322 lt_c_name_lib_hook="\
7323 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7324 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7325 else
7326 # Disable hooks by default.
7327 lt_cv_sys_global_symbol_to_import=
7328 lt_cdecl_hook=
7329 lt_c_name_hook=
7330 lt_c_name_lib_hook=
7331 fi
7332
7333 # Transform an extracted symbol line into a proper C declaration.
7334 # Some systems (esp. on ia64) link data and code symbols differently,
7335 # so use this general approach.
7336 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7337 $lt_cdecl_hook\
7338 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7339 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7340
7341 # Transform an extracted symbol line into symbol name and symbol address
7342 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7343 $lt_c_name_hook\
7344 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7345 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7346
7347 # Transform an extracted symbol line into symbol name with lib prefix and
7348 # symbol address.
7349 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7350 $lt_c_name_lib_hook\
7351 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7352 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7353 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7354
7355 # Handle CRLF in mingw tool chain
7356 opt_cr=
7357 case $build_os in
7358 mingw* | windows*)
7359 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7360 ;;
7361 esac
7362
7363 # Try without a prefix underscore, then with it.
7364 for ac_symprfx in "" "_"; do
7365
7366 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7367 symxfrm="\\1 $ac_symprfx\\2 \\2"
7368
7369 # Write the raw and C identifiers.
7370 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7371 # Fake it for dumpbin and say T for any non-static function,
7372 # D for any global variable and I for any imported variable.
7373 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7374 # which start with @ or ?.
7375 lt_cv_sys_global_symbol_pipe="$AWK '"\
7376 " {last_section=section; section=\$ 3};"\
7377 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7378 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7379 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7380 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7381 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7382 " \$ 0!~/External *\|/{next};"\
7383 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7384 " {if(hide[section]) next};"\
7385 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7386 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7387 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7388 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7389 " ' prfx=^$ac_symprfx"
7390 else
7391 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7392 fi
7393 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7394
7395 # Check to see that the pipe works correctly.
7396 pipe_works=no
7397
7398 rm -f conftest*
7399 cat > conftest.$ac_ext <<_LT_EOF
7400 #ifdef __cplusplus
7401 extern "C" {
7402 #endif
7403 char nm_test_var;
7404 void nm_test_func(void);
7405 void nm_test_func(void){}
7406 #ifdef __cplusplus
7407 }
7408 #endif
7409 int main(void){nm_test_var='a';nm_test_func();return(0);}
7410 _LT_EOF
7411
7412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7413 (eval $ac_compile) 2>&5
7414 ac_status=$?
7415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7416 test $ac_status = 0; }; then
7417 # Now try to grab the symbols.
7418 nlist=conftest.nm
7419 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7420 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7421 # Try sorting and uniquifying the output.
7422 if sort "$nlist" | uniq > "$nlist"T; then
7423 mv -f "$nlist"T "$nlist"
7424 else
7425 rm -f "$nlist"T
7426 fi
7427
7428 # Make sure that we snagged all the symbols we need.
7429 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7430 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7431 cat <<_LT_EOF > conftest.$ac_ext
7432 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7433 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7434 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7435 relocations are performed -- see ld's documentation on pseudo-relocs. */
7436 # define LT_DLSYM_CONST
7437 #elif defined __osf__
7438 /* This system does not cope well with relocations in const data. */
7439 # define LT_DLSYM_CONST
7440 #else
7441 # define LT_DLSYM_CONST const
7442 #endif
7443
7444 #ifdef __cplusplus
7445 extern "C" {
7446 #endif
7447
7448 _LT_EOF
7449 # Now generate the symbol file.
7450 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7451
7452 cat <<_LT_EOF >> conftest.$ac_ext
7453
7454 /* The mapping between symbol names and symbols. */
7455 LT_DLSYM_CONST struct {
7456 const char *name;
7457 void *address;
7458 }
7459 lt__PROGRAM__LTX_preloaded_symbols[] =
7460 {
7461 { "@PROGRAM@", (void *) 0 },
7462 _LT_EOF
7463 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7464 cat <<\_LT_EOF >> conftest.$ac_ext
7465 {0, (void *) 0}
7466 };
7467
7468 /* This works around a problem in FreeBSD linker */
7469 #ifdef FREEBSD_WORKAROUND
7470 static const void *lt_preloaded_setup() {
7471 return lt__PROGRAM__LTX_preloaded_symbols;
7472 }
7473 #endif
7474
7475 #ifdef __cplusplus
7476 }
7477 #endif
7478 _LT_EOF
7479 # Now try linking the two files.
7480 mv conftest.$ac_objext conftstm.$ac_objext
7481 lt_globsym_save_LIBS=$LIBS
7482 lt_globsym_save_CFLAGS=$CFLAGS
7483 LIBS=conftstm.$ac_objext
7484 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7486 (eval $ac_link) 2>&5
7487 ac_status=$?
7488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7489 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7490 pipe_works=yes
7491 fi
7492 LIBS=$lt_globsym_save_LIBS
7493 CFLAGS=$lt_globsym_save_CFLAGS
7494 else
7495 echo "cannot find nm_test_func in $nlist" >&5
7496 fi
7497 else
7498 echo "cannot find nm_test_var in $nlist" >&5
7499 fi
7500 else
7501 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7502 fi
7503 else
7504 echo "$progname: failed program was:" >&5
7505 cat conftest.$ac_ext >&5
7506 fi
7507 rm -rf conftest* conftst*
7508
7509 # Do not use the global_symbol_pipe unless it works.
7510 if test yes = "$pipe_works"; then
7511 break
7512 else
7513 lt_cv_sys_global_symbol_pipe=
7514 fi
7515 done
7516 ;;
7517 esac
7518 fi
7519
7520 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7521 lt_cv_sys_global_symbol_to_cdecl=
7522 fi
7523 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7525 printf "%s\n" "failed" >&6; }
7526 else
7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7528 printf "%s\n" "ok" >&6; }
7529 fi
7530
7531 # Response file support.
7532 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7533 nm_file_list_spec='@'
7534 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7535 nm_file_list_spec='@'
7536 fi
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7575 printf %s "checking for sysroot... " >&6; }
7576
7577 # Check whether --with-sysroot was given.
7578 if test ${with_sysroot+y}
7579 then :
7580 withval=$with_sysroot;
7581 else case e in #(
7582 e) with_sysroot=no ;;
7583 esac
7584 fi
7585
7586
7587 lt_sysroot=
7588 case $with_sysroot in #(
7589 yes)
7590 if test yes = "$GCC"; then
7591 # Trim trailing / since we'll always append absolute paths and we want
7592 # to avoid //, if only for less confusing output for the user.
7593 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
7594 fi
7595 ;; #(
7596 /*)
7597 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7598 ;; #(
7599 no|'')
7600 ;; #(
7601 *)
7602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7603 printf "%s\n" "$with_sysroot" >&6; }
7604 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7605 ;;
7606 esac
7607
7608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7609 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7610
7611
7612
7613
7614
7615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7616 printf %s "checking for a working dd... " >&6; }
7617 if test ${ac_cv_path_lt_DD+y}
7618 then :
7619 printf %s "(cached) " >&6
7620 else case e in #(
7621 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7622 cat conftest.i conftest.i >conftest2.i
7623 : ${lt_DD:=$DD}
7624 if test -z "$lt_DD"; then
7625 ac_path_lt_DD_found=false
7626 # Loop through the user's path and test for each of PROGNAME-LIST
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 for as_dir in $PATH
7629 do
7630 IFS=$as_save_IFS
7631 case $as_dir in #(((
7632 '') as_dir=./ ;;
7633 */) ;;
7634 *) as_dir=$as_dir/ ;;
7635 esac
7636 for ac_prog in dd
7637 do
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7640 as_fn_executable_p "$ac_path_lt_DD" || continue
7641 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7642 cmp -s conftest.i conftest.out \
7643 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7644 fi
7645 $ac_path_lt_DD_found && break 3
7646 done
7647 done
7648 done
7649 IFS=$as_save_IFS
7650 if test -z "$ac_cv_path_lt_DD"; then
7651 :
7652 fi
7653 else
7654 ac_cv_path_lt_DD=$lt_DD
7655 fi
7656
7657 rm -f conftest.i conftest2.i conftest.out ;;
7658 esac
7659 fi
7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7661 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7662
7663
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7665 printf %s "checking how to truncate binary pipes... " >&6; }
7666 if test ${lt_cv_truncate_bin+y}
7667 then :
7668 printf %s "(cached) " >&6
7669 else case e in #(
7670 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7671 cat conftest.i conftest.i >conftest2.i
7672 lt_cv_truncate_bin=
7673 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7674 cmp -s conftest.i conftest.out \
7675 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7676 fi
7677 rm -f conftest.i conftest2.i conftest.out
7678 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
7679 esac
7680 fi
7681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7682 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7683
7684
7685
7686
7687
7688
7689
7690 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7691 func_cc_basename ()
7692 {
7693 for cc_temp in $*""; do
7694 case $cc_temp in
7695 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7696 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7697 \-*) ;;
7698 *) break;;
7699 esac
7700 done
7701 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7702 }
7703
7704 # Check whether --enable-libtool-lock was given.
7705 if test ${enable_libtool_lock+y}
7706 then :
7707 enableval=$enable_libtool_lock;
7708 fi
7709
7710 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7711
7712 # Some flags need to be propagated to the compiler or linker for good
7713 # libtool support.
7714 case $host in
7715 ia64-*-hpux*)
7716 # Find out what ABI is being produced by ac_compile, and set mode
7717 # options accordingly.
7718 echo 'int i;' > conftest.$ac_ext
7719 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7720 (eval $ac_compile) 2>&5
7721 ac_status=$?
7722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7723 test $ac_status = 0; }; then
7724 case `$FILECMD conftest.$ac_objext` in
7725 *ELF-32*)
7726 HPUX_IA64_MODE=32
7727 ;;
7728 *ELF-64*)
7729 HPUX_IA64_MODE=64
7730 ;;
7731 esac
7732 fi
7733 rm -rf conftest*
7734 ;;
7735 *-*-irix6*)
7736 # Find out what ABI is being produced by ac_compile, and set linker
7737 # options accordingly.
7738 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7739 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7740 (eval $ac_compile) 2>&5
7741 ac_status=$?
7742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7743 test $ac_status = 0; }; then
7744 if test yes = "$lt_cv_prog_gnu_ld"; then
7745 case `$FILECMD conftest.$ac_objext` in
7746 *32-bit*)
7747 LD="${LD-ld} -melf32bsmip"
7748 ;;
7749 *N32*)
7750 LD="${LD-ld} -melf32bmipn32"
7751 ;;
7752 *64-bit*)
7753 LD="${LD-ld} -melf64bmip"
7754 ;;
7755 esac
7756 else
7757 case `$FILECMD conftest.$ac_objext` in
7758 *32-bit*)
7759 LD="${LD-ld} -32"
7760 ;;
7761 *N32*)
7762 LD="${LD-ld} -n32"
7763 ;;
7764 *64-bit*)
7765 LD="${LD-ld} -64"
7766 ;;
7767 esac
7768 fi
7769 fi
7770 rm -rf conftest*
7771 ;;
7772
7773 mips64*-*linux*)
7774 # Find out what ABI is being produced by ac_compile, and set linker
7775 # options accordingly.
7776 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7778 (eval $ac_compile) 2>&5
7779 ac_status=$?
7780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7781 test $ac_status = 0; }; then
7782 emul=elf
7783 case `$FILECMD conftest.$ac_objext` in
7784 *32-bit*)
7785 emul="${emul}32"
7786 ;;
7787 *64-bit*)
7788 emul="${emul}64"
7789 ;;
7790 esac
7791 case `$FILECMD conftest.$ac_objext` in
7792 *MSB*)
7793 emul="${emul}btsmip"
7794 ;;
7795 *LSB*)
7796 emul="${emul}ltsmip"
7797 ;;
7798 esac
7799 case `$FILECMD conftest.$ac_objext` in
7800 *N32*)
7801 emul="${emul}n32"
7802 ;;
7803 esac
7804 LD="${LD-ld} -m $emul"
7805 fi
7806 rm -rf conftest*
7807 ;;
7808
7809 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7810 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
7811 # Find out what ABI is being produced by ac_compile, and set linker
7812 # options accordingly. Note that the listed cases only cover the
7813 # situations where additional linker options are needed (such as when
7814 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7815 # vice versa); the common cases where no linker options are needed do
7816 # not appear in the list.
7817 echo 'int i;' > conftest.$ac_ext
7818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7819 (eval $ac_compile) 2>&5
7820 ac_status=$?
7821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7822 test $ac_status = 0; }; then
7823 case `$FILECMD conftest.o` in
7824 *32-bit*)
7825 case $host in
7826 x86_64-*kfreebsd*-gnu)
7827 LD="${LD-ld} -m elf_i386_fbsd"
7828 ;;
7829 x86_64-*linux*|x86_64-gnu*)
7830 case `$FILECMD conftest.o` in
7831 *x86-64*)
7832 LD="${LD-ld} -m elf32_x86_64"
7833 ;;
7834 *)
7835 LD="${LD-ld} -m elf_i386"
7836 ;;
7837 esac
7838 ;;
7839 powerpc64le-*linux*)
7840 LD="${LD-ld} -m elf32lppclinux"
7841 ;;
7842 powerpc64-*linux*)
7843 LD="${LD-ld} -m elf32ppclinux"
7844 ;;
7845 s390x-*linux*)
7846 LD="${LD-ld} -m elf_s390"
7847 ;;
7848 sparc64-*linux*)
7849 LD="${LD-ld} -m elf32_sparc"
7850 ;;
7851 esac
7852 ;;
7853 *64-bit*)
7854 case $host in
7855 x86_64-*kfreebsd*-gnu)
7856 LD="${LD-ld} -m elf_x86_64_fbsd"
7857 ;;
7858 x86_64-*linux*|x86_64-gnu*)
7859 LD="${LD-ld} -m elf_x86_64"
7860 ;;
7861 powerpcle-*linux*)
7862 LD="${LD-ld} -m elf64lppc"
7863 ;;
7864 powerpc-*linux*)
7865 LD="${LD-ld} -m elf64ppc"
7866 ;;
7867 s390*-*linux*|s390*-*tpf*)
7868 LD="${LD-ld} -m elf64_s390"
7869 ;;
7870 sparc*-*linux*)
7871 LD="${LD-ld} -m elf64_sparc"
7872 ;;
7873 esac
7874 ;;
7875 esac
7876 fi
7877 rm -rf conftest*
7878 ;;
7879
7880 *-*-sco3.2v5*)
7881 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7882 SAVE_CFLAGS=$CFLAGS
7883 CFLAGS="$CFLAGS -belf"
7884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7885 printf %s "checking whether the C compiler needs -belf... " >&6; }
7886 if test ${lt_cv_cc_needs_belf+y}
7887 then :
7888 printf %s "(cached) " >&6
7889 else case e in #(
7890 e) ac_ext=c
7891 ac_cpp='$CPP $CPPFLAGS'
7892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7895
7896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7897 /* end confdefs.h. */
7898
7899 int
7900 main (void)
7901 {
7902
7903 ;
7904 return 0;
7905 }
7906 _ACEOF
7907 if ac_fn_c_try_link "$LINENO"
7908 then :
7909 lt_cv_cc_needs_belf=yes
7910 else case e in #(
7911 e) lt_cv_cc_needs_belf=no ;;
7912 esac
7913 fi
7914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7915 conftest$ac_exeext conftest.$ac_ext
7916 ac_ext=c
7917 ac_cpp='$CPP $CPPFLAGS'
7918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7921 ;;
7922 esac
7923 fi
7924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7925 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7926 if test yes != "$lt_cv_cc_needs_belf"; then
7927 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7928 CFLAGS=$SAVE_CFLAGS
7929 fi
7930 ;;
7931 *-*solaris*)
7932 # Find out what ABI is being produced by ac_compile, and set linker
7933 # options accordingly.
7934 echo 'int i;' > conftest.$ac_ext
7935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7936 (eval $ac_compile) 2>&5
7937 ac_status=$?
7938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7939 test $ac_status = 0; }; then
7940 case `$FILECMD conftest.o` in
7941 *64-bit*)
7942 case $lt_cv_prog_gnu_ld in
7943 yes*)
7944 case $host in
7945 i?86-*-solaris*|x86_64-*-solaris*)
7946 LD="${LD-ld} -m elf_x86_64"
7947 ;;
7948 sparc*-*-solaris*)
7949 LD="${LD-ld} -m elf64_sparc"
7950 ;;
7951 esac
7952 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7953 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7954 LD=${LD-ld}_sol2
7955 fi
7956 ;;
7957 *)
7958 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7959 LD="${LD-ld} -64"
7960 fi
7961 ;;
7962 esac
7963 ;;
7964 esac
7965 fi
7966 rm -rf conftest*
7967 ;;
7968 esac
7969
7970 need_locks=$enable_libtool_lock
7971
7972 if test -n "$ac_tool_prefix"; then
7973 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7974 set dummy ${ac_tool_prefix}mt; ac_word=$2
7975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7976 printf %s "checking for $ac_word... " >&6; }
7977 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7978 then :
7979 printf %s "(cached) " >&6
7980 else case e in #(
7981 e) if test -n "$MANIFEST_TOOL"; then
7982 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7983 else
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7985 for as_dir in $PATH
7986 do
7987 IFS=$as_save_IFS
7988 case $as_dir in #(((
7989 '') as_dir=./ ;;
7990 */) ;;
7991 *) as_dir=$as_dir/ ;;
7992 esac
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7995 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7997 break 2
7998 fi
7999 done
8000 done
8001 IFS=$as_save_IFS
8002
8003 fi ;;
8004 esac
8005 fi
8006 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8007 if test -n "$MANIFEST_TOOL"; then
8008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8009 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8010 else
8011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 printf "%s\n" "no" >&6; }
8013 fi
8014
8015
8016 fi
8017 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8018 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8019 # Extract the first word of "mt", so it can be a program name with args.
8020 set dummy mt; ac_word=$2
8021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 printf %s "checking for $ac_word... " >&6; }
8023 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8024 then :
8025 printf %s "(cached) " >&6
8026 else case e in #(
8027 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
8028 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8029 else
8030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031 for as_dir in $PATH
8032 do
8033 IFS=$as_save_IFS
8034 case $as_dir in #(((
8035 '') as_dir=./ ;;
8036 */) ;;
8037 *) as_dir=$as_dir/ ;;
8038 esac
8039 for ac_exec_ext in '' $ac_executable_extensions; do
8040 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8041 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8043 break 2
8044 fi
8045 done
8046 done
8047 IFS=$as_save_IFS
8048
8049 fi ;;
8050 esac
8051 fi
8052 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8053 if test -n "$ac_ct_MANIFEST_TOOL"; then
8054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8055 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8056 else
8057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 printf "%s\n" "no" >&6; }
8059 fi
8060
8061 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8062 MANIFEST_TOOL=":"
8063 else
8064 case $cross_compiling:$ac_tool_warned in
8065 yes:)
8066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8067 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8068 ac_tool_warned=yes ;;
8069 esac
8070 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8071 fi
8072 else
8073 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8074 fi
8075
8076 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8078 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8079 if test ${lt_cv_path_manifest_tool+y}
8080 then :
8081 printf %s "(cached) " >&6
8082 else case e in #(
8083 e) lt_cv_path_manifest_tool=no
8084 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8085 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8086 cat conftest.err >&5
8087 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8088 lt_cv_path_manifest_tool=yes
8089 fi
8090 rm -f conftest* ;;
8091 esac
8092 fi
8093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
8094 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
8095 if test yes != "$lt_cv_path_manifest_tool"; then
8096 MANIFEST_TOOL=:
8097 fi
8098
8099
8100
8101
8102
8103
8104 case $host_os in
8105 rhapsody* | darwin*)
8106 if test -n "$ac_tool_prefix"; then
8107 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8108 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 printf %s "checking for $ac_word... " >&6; }
8111 if test ${ac_cv_prog_DSYMUTIL+y}
8112 then :
8113 printf %s "(cached) " >&6
8114 else case e in #(
8115 e) if test -n "$DSYMUTIL"; then
8116 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8117 else
8118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119 for as_dir in $PATH
8120 do
8121 IFS=$as_save_IFS
8122 case $as_dir in #(((
8123 '') as_dir=./ ;;
8124 */) ;;
8125 *) as_dir=$as_dir/ ;;
8126 esac
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8129 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8131 break 2
8132 fi
8133 done
8134 done
8135 IFS=$as_save_IFS
8136
8137 fi ;;
8138 esac
8139 fi
8140 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8141 if test -n "$DSYMUTIL"; then
8142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8143 printf "%s\n" "$DSYMUTIL" >&6; }
8144 else
8145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146 printf "%s\n" "no" >&6; }
8147 fi
8148
8149
8150 fi
8151 if test -z "$ac_cv_prog_DSYMUTIL"; then
8152 ac_ct_DSYMUTIL=$DSYMUTIL
8153 # Extract the first word of "dsymutil", so it can be a program name with args.
8154 set dummy dsymutil; ac_word=$2
8155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8156 printf %s "checking for $ac_word... " >&6; }
8157 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8158 then :
8159 printf %s "(cached) " >&6
8160 else case e in #(
8161 e) if test -n "$ac_ct_DSYMUTIL"; then
8162 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8163 else
8164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8165 for as_dir in $PATH
8166 do
8167 IFS=$as_save_IFS
8168 case $as_dir in #(((
8169 '') as_dir=./ ;;
8170 */) ;;
8171 *) as_dir=$as_dir/ ;;
8172 esac
8173 for ac_exec_ext in '' $ac_executable_extensions; do
8174 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8175 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8177 break 2
8178 fi
8179 done
8180 done
8181 IFS=$as_save_IFS
8182
8183 fi ;;
8184 esac
8185 fi
8186 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8187 if test -n "$ac_ct_DSYMUTIL"; then
8188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8189 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8190 else
8191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8192 printf "%s\n" "no" >&6; }
8193 fi
8194
8195 if test "x$ac_ct_DSYMUTIL" = x; then
8196 DSYMUTIL=":"
8197 else
8198 case $cross_compiling:$ac_tool_warned in
8199 yes:)
8200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8201 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8202 ac_tool_warned=yes ;;
8203 esac
8204 DSYMUTIL=$ac_ct_DSYMUTIL
8205 fi
8206 else
8207 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8208 fi
8209
8210 if test -n "$ac_tool_prefix"; then
8211 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8212 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8214 printf %s "checking for $ac_word... " >&6; }
8215 if test ${ac_cv_prog_NMEDIT+y}
8216 then :
8217 printf %s "(cached) " >&6
8218 else case e in #(
8219 e) if test -n "$NMEDIT"; then
8220 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8221 else
8222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8223 for as_dir in $PATH
8224 do
8225 IFS=$as_save_IFS
8226 case $as_dir in #(((
8227 '') as_dir=./ ;;
8228 */) ;;
8229 *) as_dir=$as_dir/ ;;
8230 esac
8231 for ac_exec_ext in '' $ac_executable_extensions; do
8232 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8233 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8235 break 2
8236 fi
8237 done
8238 done
8239 IFS=$as_save_IFS
8240
8241 fi ;;
8242 esac
8243 fi
8244 NMEDIT=$ac_cv_prog_NMEDIT
8245 if test -n "$NMEDIT"; then
8246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8247 printf "%s\n" "$NMEDIT" >&6; }
8248 else
8249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8250 printf "%s\n" "no" >&6; }
8251 fi
8252
8253
8254 fi
8255 if test -z "$ac_cv_prog_NMEDIT"; then
8256 ac_ct_NMEDIT=$NMEDIT
8257 # Extract the first word of "nmedit", so it can be a program name with args.
8258 set dummy nmedit; ac_word=$2
8259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8260 printf %s "checking for $ac_word... " >&6; }
8261 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8262 then :
8263 printf %s "(cached) " >&6
8264 else case e in #(
8265 e) if test -n "$ac_ct_NMEDIT"; then
8266 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8267 else
8268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8269 for as_dir in $PATH
8270 do
8271 IFS=$as_save_IFS
8272 case $as_dir in #(((
8273 '') as_dir=./ ;;
8274 */) ;;
8275 *) as_dir=$as_dir/ ;;
8276 esac
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8279 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8281 break 2
8282 fi
8283 done
8284 done
8285 IFS=$as_save_IFS
8286
8287 fi ;;
8288 esac
8289 fi
8290 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8291 if test -n "$ac_ct_NMEDIT"; then
8292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8293 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8294 else
8295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 printf "%s\n" "no" >&6; }
8297 fi
8298
8299 if test "x$ac_ct_NMEDIT" = x; then
8300 NMEDIT=":"
8301 else
8302 case $cross_compiling:$ac_tool_warned in
8303 yes:)
8304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8305 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8306 ac_tool_warned=yes ;;
8307 esac
8308 NMEDIT=$ac_ct_NMEDIT
8309 fi
8310 else
8311 NMEDIT="$ac_cv_prog_NMEDIT"
8312 fi
8313
8314 if test -n "$ac_tool_prefix"; then
8315 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8316 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8318 printf %s "checking for $ac_word... " >&6; }
8319 if test ${ac_cv_prog_LIPO+y}
8320 then :
8321 printf %s "(cached) " >&6
8322 else case e in #(
8323 e) if test -n "$LIPO"; then
8324 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8325 else
8326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327 for as_dir in $PATH
8328 do
8329 IFS=$as_save_IFS
8330 case $as_dir in #(((
8331 '') as_dir=./ ;;
8332 */) ;;
8333 *) as_dir=$as_dir/ ;;
8334 esac
8335 for ac_exec_ext in '' $ac_executable_extensions; do
8336 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8337 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8339 break 2
8340 fi
8341 done
8342 done
8343 IFS=$as_save_IFS
8344
8345 fi ;;
8346 esac
8347 fi
8348 LIPO=$ac_cv_prog_LIPO
8349 if test -n "$LIPO"; then
8350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8351 printf "%s\n" "$LIPO" >&6; }
8352 else
8353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8354 printf "%s\n" "no" >&6; }
8355 fi
8356
8357
8358 fi
8359 if test -z "$ac_cv_prog_LIPO"; then
8360 ac_ct_LIPO=$LIPO
8361 # Extract the first word of "lipo", so it can be a program name with args.
8362 set dummy lipo; ac_word=$2
8363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8364 printf %s "checking for $ac_word... " >&6; }
8365 if test ${ac_cv_prog_ac_ct_LIPO+y}
8366 then :
8367 printf %s "(cached) " >&6
8368 else case e in #(
8369 e) if test -n "$ac_ct_LIPO"; then
8370 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8371 else
8372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8373 for as_dir in $PATH
8374 do
8375 IFS=$as_save_IFS
8376 case $as_dir in #(((
8377 '') as_dir=./ ;;
8378 */) ;;
8379 *) as_dir=$as_dir/ ;;
8380 esac
8381 for ac_exec_ext in '' $ac_executable_extensions; do
8382 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8383 ac_cv_prog_ac_ct_LIPO="lipo"
8384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8385 break 2
8386 fi
8387 done
8388 done
8389 IFS=$as_save_IFS
8390
8391 fi ;;
8392 esac
8393 fi
8394 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8395 if test -n "$ac_ct_LIPO"; then
8396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8397 printf "%s\n" "$ac_ct_LIPO" >&6; }
8398 else
8399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8400 printf "%s\n" "no" >&6; }
8401 fi
8402
8403 if test "x$ac_ct_LIPO" = x; then
8404 LIPO=":"
8405 else
8406 case $cross_compiling:$ac_tool_warned in
8407 yes:)
8408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8409 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8410 ac_tool_warned=yes ;;
8411 esac
8412 LIPO=$ac_ct_LIPO
8413 fi
8414 else
8415 LIPO="$ac_cv_prog_LIPO"
8416 fi
8417
8418 if test -n "$ac_tool_prefix"; then
8419 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8420 set dummy ${ac_tool_prefix}otool; ac_word=$2
8421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8422 printf %s "checking for $ac_word... " >&6; }
8423 if test ${ac_cv_prog_OTOOL+y}
8424 then :
8425 printf %s "(cached) " >&6
8426 else case e in #(
8427 e) if test -n "$OTOOL"; then
8428 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8429 else
8430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8431 for as_dir in $PATH
8432 do
8433 IFS=$as_save_IFS
8434 case $as_dir in #(((
8435 '') as_dir=./ ;;
8436 */) ;;
8437 *) as_dir=$as_dir/ ;;
8438 esac
8439 for ac_exec_ext in '' $ac_executable_extensions; do
8440 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8441 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8443 break 2
8444 fi
8445 done
8446 done
8447 IFS=$as_save_IFS
8448
8449 fi ;;
8450 esac
8451 fi
8452 OTOOL=$ac_cv_prog_OTOOL
8453 if test -n "$OTOOL"; then
8454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8455 printf "%s\n" "$OTOOL" >&6; }
8456 else
8457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 printf "%s\n" "no" >&6; }
8459 fi
8460
8461
8462 fi
8463 if test -z "$ac_cv_prog_OTOOL"; then
8464 ac_ct_OTOOL=$OTOOL
8465 # Extract the first word of "otool", so it can be a program name with args.
8466 set dummy otool; ac_word=$2
8467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8468 printf %s "checking for $ac_word... " >&6; }
8469 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8470 then :
8471 printf %s "(cached) " >&6
8472 else case e in #(
8473 e) if test -n "$ac_ct_OTOOL"; then
8474 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8475 else
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8477 for as_dir in $PATH
8478 do
8479 IFS=$as_save_IFS
8480 case $as_dir in #(((
8481 '') as_dir=./ ;;
8482 */) ;;
8483 *) as_dir=$as_dir/ ;;
8484 esac
8485 for ac_exec_ext in '' $ac_executable_extensions; do
8486 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8487 ac_cv_prog_ac_ct_OTOOL="otool"
8488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8489 break 2
8490 fi
8491 done
8492 done
8493 IFS=$as_save_IFS
8494
8495 fi ;;
8496 esac
8497 fi
8498 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8499 if test -n "$ac_ct_OTOOL"; then
8500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8501 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8502 else
8503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8504 printf "%s\n" "no" >&6; }
8505 fi
8506
8507 if test "x$ac_ct_OTOOL" = x; then
8508 OTOOL=":"
8509 else
8510 case $cross_compiling:$ac_tool_warned in
8511 yes:)
8512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8513 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8514 ac_tool_warned=yes ;;
8515 esac
8516 OTOOL=$ac_ct_OTOOL
8517 fi
8518 else
8519 OTOOL="$ac_cv_prog_OTOOL"
8520 fi
8521
8522 if test -n "$ac_tool_prefix"; then
8523 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8524 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8526 printf %s "checking for $ac_word... " >&6; }
8527 if test ${ac_cv_prog_OTOOL64+y}
8528 then :
8529 printf %s "(cached) " >&6
8530 else case e in #(
8531 e) if test -n "$OTOOL64"; then
8532 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8533 else
8534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8535 for as_dir in $PATH
8536 do
8537 IFS=$as_save_IFS
8538 case $as_dir in #(((
8539 '') as_dir=./ ;;
8540 */) ;;
8541 *) as_dir=$as_dir/ ;;
8542 esac
8543 for ac_exec_ext in '' $ac_executable_extensions; do
8544 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8545 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8547 break 2
8548 fi
8549 done
8550 done
8551 IFS=$as_save_IFS
8552
8553 fi ;;
8554 esac
8555 fi
8556 OTOOL64=$ac_cv_prog_OTOOL64
8557 if test -n "$OTOOL64"; then
8558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8559 printf "%s\n" "$OTOOL64" >&6; }
8560 else
8561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 printf "%s\n" "no" >&6; }
8563 fi
8564
8565
8566 fi
8567 if test -z "$ac_cv_prog_OTOOL64"; then
8568 ac_ct_OTOOL64=$OTOOL64
8569 # Extract the first word of "otool64", so it can be a program name with args.
8570 set dummy otool64; ac_word=$2
8571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8572 printf %s "checking for $ac_word... " >&6; }
8573 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8574 then :
8575 printf %s "(cached) " >&6
8576 else case e in #(
8577 e) if test -n "$ac_ct_OTOOL64"; then
8578 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8579 else
8580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8581 for as_dir in $PATH
8582 do
8583 IFS=$as_save_IFS
8584 case $as_dir in #(((
8585 '') as_dir=./ ;;
8586 */) ;;
8587 *) as_dir=$as_dir/ ;;
8588 esac
8589 for ac_exec_ext in '' $ac_executable_extensions; do
8590 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8591 ac_cv_prog_ac_ct_OTOOL64="otool64"
8592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8593 break 2
8594 fi
8595 done
8596 done
8597 IFS=$as_save_IFS
8598
8599 fi ;;
8600 esac
8601 fi
8602 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8603 if test -n "$ac_ct_OTOOL64"; then
8604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8605 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8606 else
8607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8608 printf "%s\n" "no" >&6; }
8609 fi
8610
8611 if test "x$ac_ct_OTOOL64" = x; then
8612 OTOOL64=":"
8613 else
8614 case $cross_compiling:$ac_tool_warned in
8615 yes:)
8616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8617 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8618 ac_tool_warned=yes ;;
8619 esac
8620 OTOOL64=$ac_ct_OTOOL64
8621 fi
8622 else
8623 OTOOL64="$ac_cv_prog_OTOOL64"
8624 fi
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8653 printf %s "checking for -single_module linker flag... " >&6; }
8654 if test ${lt_cv_apple_cc_single_mod+y}
8655 then :
8656 printf %s "(cached) " >&6
8657 else case e in #(
8658 e) lt_cv_apple_cc_single_mod=no
8659 if test -z "$LT_MULTI_MODULE"; then
8660 # By default we will add the -single_module flag. You can override
8661 # by either setting the environment variable LT_MULTI_MODULE
8662 # non-empty at configure time, or by adding -multi_module to the
8663 # link flags.
8664 rm -rf libconftest.dylib*
8665 echo "int foo(void){return 1;}" > conftest.c
8666 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8667 -dynamiclib -Wl,-single_module conftest.c" >&5
8668 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8669 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8670 _lt_result=$?
8671 # If there is a non-empty error log, and "single_module"
8672 # appears in it, assume the flag caused a linker warning
8673 if test -s conftest.err && $GREP single_module conftest.err; then
8674 cat conftest.err >&5
8675 # Otherwise, if the output was created with a 0 exit code from
8676 # the compiler, it worked.
8677 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8678 lt_cv_apple_cc_single_mod=yes
8679 else
8680 cat conftest.err >&5
8681 fi
8682 rm -rf libconftest.dylib*
8683 rm -f conftest.*
8684 fi ;;
8685 esac
8686 fi
8687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8688 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8689
8690 # Feature test to disable chained fixups since it is not
8691 # compatible with '-undefined dynamic_lookup'
8692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
8693 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
8694 if test ${lt_cv_support_no_fixup_chains+y}
8695 then :
8696 printf %s "(cached) " >&6
8697 else case e in #(
8698 e) save_LDFLAGS=$LDFLAGS
8699 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702
8703 int
8704 main (void)
8705 {
8706
8707 ;
8708 return 0;
8709 }
8710 _ACEOF
8711 if ac_fn_c_try_link "$LINENO"
8712 then :
8713 lt_cv_support_no_fixup_chains=yes
8714 else case e in #(
8715 e) lt_cv_support_no_fixup_chains=no
8716 ;;
8717 esac
8718 fi
8719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8720 conftest$ac_exeext conftest.$ac_ext
8721 LDFLAGS=$save_LDFLAGS
8722
8723 ;;
8724 esac
8725 fi
8726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
8727 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
8728
8729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8730 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8731 if test ${lt_cv_ld_exported_symbols_list+y}
8732 then :
8733 printf %s "(cached) " >&6
8734 else case e in #(
8735 e) lt_cv_ld_exported_symbols_list=no
8736 save_LDFLAGS=$LDFLAGS
8737 echo "_main" > conftest.sym
8738 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8741
8742 int
8743 main (void)
8744 {
8745
8746 ;
8747 return 0;
8748 }
8749 _ACEOF
8750 if ac_fn_c_try_link "$LINENO"
8751 then :
8752 lt_cv_ld_exported_symbols_list=yes
8753 else case e in #(
8754 e) lt_cv_ld_exported_symbols_list=no ;;
8755 esac
8756 fi
8757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8758 conftest$ac_exeext conftest.$ac_ext
8759 LDFLAGS=$save_LDFLAGS
8760 ;;
8761 esac
8762 fi
8763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8764 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8765
8766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8767 printf %s "checking for -force_load linker flag... " >&6; }
8768 if test ${lt_cv_ld_force_load+y}
8769 then :
8770 printf %s "(cached) " >&6
8771 else case e in #(
8772 e) lt_cv_ld_force_load=no
8773 cat > conftest.c << _LT_EOF
8774 int forced_loaded() { return 2;}
8775 _LT_EOF
8776 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8777 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8778 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8779 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8780 echo "$RANLIB libconftest.a" >&5
8781 $RANLIB libconftest.a 2>&5
8782 cat > conftest.c << _LT_EOF
8783 int main(void) { return 0;}
8784 _LT_EOF
8785 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8786 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8787 _lt_result=$?
8788 if test -s conftest.err && $GREP force_load conftest.err; then
8789 cat conftest.err >&5
8790 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8791 lt_cv_ld_force_load=yes
8792 else
8793 cat conftest.err >&5
8794 fi
8795 rm -f conftest.err libconftest.a conftest conftest.c
8796 rm -rf conftest.dSYM
8797 ;;
8798 esac
8799 fi
8800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8801 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8802 case $host_os in
8803 rhapsody* | darwin1.[012])
8804 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8805 darwin1.*)
8806 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8807 darwin*)
8808 case $MACOSX_DEPLOYMENT_TARGET,$host in
8809 10.[012],*|,*powerpc*-darwin[5-8]*)
8810 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8811 *)
8812 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
8813 if test yes = "$lt_cv_support_no_fixup_chains"; then
8814 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
8815 fi
8816 ;;
8817 esac
8818 ;;
8819 esac
8820 if test yes = "$lt_cv_apple_cc_single_mod"; then
8821 _lt_dar_single_mod='$single_module'
8822 fi
8823 _lt_dar_needs_single_mod=no
8824 case $host_os in
8825 rhapsody* | darwin1.*)
8826 _lt_dar_needs_single_mod=yes ;;
8827 darwin*)
8828 # When targeting Mac OS X 10.4 (darwin 8) or later,
8829 # -single_module is the default and -multi_module is unsupported.
8830 # The toolchain on macOS 10.14 (darwin 18) and later cannot
8831 # target any OS version that needs -single_module.
8832 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8833 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
8834 _lt_dar_needs_single_mod=yes ;;
8835 esac
8836 ;;
8837 esac
8838 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8839 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8840 else
8841 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8842 fi
8843 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8844 _lt_dsymutil='~$DSYMUTIL $lib || :'
8845 else
8846 _lt_dsymutil=
8847 fi
8848 ;;
8849 esac
8850
8851 # func_munge_path_list VARIABLE PATH
8852 # -----------------------------------
8853 # VARIABLE is name of variable containing _space_ separated list of
8854 # directories to be munged by the contents of PATH, which is string
8855 # having a format:
8856 # "DIR[:DIR]:"
8857 # string "DIR[ DIR]" will be prepended to VARIABLE
8858 # ":DIR[:DIR]"
8859 # string "DIR[ DIR]" will be appended to VARIABLE
8860 # "DIRP[:DIRP]::[DIRA:]DIRA"
8861 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8862 # "DIRA[ DIRA]" will be appended to VARIABLE
8863 # "DIR[:DIR]"
8864 # VARIABLE will be replaced by "DIR[ DIR]"
8865 func_munge_path_list ()
8866 {
8867 case x$2 in
8868 x)
8869 ;;
8870 *:)
8871 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8872 ;;
8873 x:*)
8874 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8875 ;;
8876 *::*)
8877 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8878 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8879 ;;
8880 *)
8881 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8882 ;;
8883 esac
8884 }
8885
8886 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8887 "
8888 if test "x$ac_cv_header_dlfcn_h" = xyes
8889 then :
8890 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8891
8892 fi
8893
8894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
8895 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
8896 if test ${ac_cv_c_undeclared_builtin_options+y}
8897 then :
8898 printf %s "(cached) " >&6
8899 else case e in #(
8900 e) ac_save_CFLAGS=$CFLAGS
8901 ac_cv_c_undeclared_builtin_options='cannot detect'
8902 for ac_arg in '' -fno-builtin; do
8903 CFLAGS="$ac_save_CFLAGS $ac_arg"
8904 # This test program should *not* compile successfully.
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8907
8908 int
8909 main (void)
8910 {
8911 (void) strchr;
8912 ;
8913 return 0;
8914 }
8915 _ACEOF
8916 if ac_fn_c_try_compile "$LINENO"
8917 then :
8918
8919 else case e in #(
8920 e) # This test program should compile successfully.
8921 # No library function is consistently available on
8922 # freestanding implementations, so test against a dummy
8923 # declaration. Include always-available headers on the
8924 # off chance that they somehow elicit warnings.
8925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8927 #include <float.h>
8928 #include <limits.h>
8929 #include <stdarg.h>
8930 #include <stddef.h>
8931 extern void ac_decl (int, char *);
8932
8933 int
8934 main (void)
8935 {
8936 (void) ac_decl (0, (char *) 0);
8937 (void) ac_decl;
8938
8939 ;
8940 return 0;
8941 }
8942 _ACEOF
8943 if ac_fn_c_try_compile "$LINENO"
8944 then :
8945 if test x"$ac_arg" = x
8946 then :
8947 ac_cv_c_undeclared_builtin_options='none needed'
8948 else case e in #(
8949 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
8950 esac
8951 fi
8952 break
8953 fi
8954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
8955 esac
8956 fi
8957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8958 done
8959 CFLAGS=$ac_save_CFLAGS
8960 ;;
8961 esac
8962 fi
8963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
8964 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
8965 case $ac_cv_c_undeclared_builtin_options in #(
8966 'cannot detect') :
8967 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
8968 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
8969 as_fn_error $? "cannot make $CC report undeclared builtins
8970 See 'config.log' for more details" "$LINENO" 5; } ;; #(
8971 'none needed') :
8972 ac_c_undeclared_builtin_options='' ;; #(
8973 *) :
8974 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
8975 esac
8976
8977 echo 'tldbg:KPSE_COMMON called (pkg=makejvfk, amopt=no-define)' >&5
8978 echo 'tldbg:KPSE_BASIC called (pkg=makejvfk, amopt=no-define)' >&5
8979
8980 #
8981 # am_init_automake
8982 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8983 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8984 # is not polluted with repeated "-I."
8985 am__isrc=' -I$(srcdir)'
8986 # test to see if srcdir already configured
8987 if test -f $srcdir/config.status; then
8988 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8989 fi
8990 fi
8991
8992 # test whether we have cygpath
8993 if test -z "$CYGPATH_W"; then
8994 if (cygpath --version) >/dev/null 2>/dev/null; then
8995 CYGPATH_W='cygpath -w'
8996 else
8997 CYGPATH_W=echo
8998 fi
8999 fi
9000
9001
9002 # Define the identity of the package.
9003 PACKAGE='makejvf--tex-live-'
9004 VERSION='20251226'
9005
9006
9007 # Some tools Automake needs.
9008
9009 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9010
9011
9012 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9013
9014
9015 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9016
9017
9018 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9019
9020
9021 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9022
9023 # For better backward compatibility. To be removed once Automake 1.9.x
9024 # dies out for good. For more background, see:
9025 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9026 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9027 mkdir_p='$(MKDIR_P)'
9028
9029 # We need awk for the "check" target (and possibly the TAP driver). The
9030 # system "awk" is bad on some platforms.
9031 # Always define AMTAR for backward compatibility. Yes, it's still used
9032 # in the wild :-( We should find a proper way to deprecate it ...
9033 AMTAR='$${TAR-tar}'
9034
9035
9036 # We'll loop over all known methods to create a tar archive until one works.
9037 _am_tools='gnutar plaintar pax cpio none'
9038
9039 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
9040 # There is notably a 21 bits limit for the UID and the GID. In fact,
9041 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
9042 # and bug#13588).
9043 am_max_uid=2097151 # 2^21 - 1
9044 am_max_gid=$am_max_uid
9045 # The $UID and $GID variables are not portable, so we need to resort
9046 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
9047 # below are definitely unexpected, so allow the users to see them
9048 # (that is, avoid stderr redirection).
9049 am_uid=`id -u || echo unknown`
9050 am_gid=`id -g || echo unknown`
9051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
9052 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
9053 if test x$am_uid = xunknown; then
9054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
9055 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
9056 elif test $am_uid -le $am_max_uid; then
9057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9058 printf "%s\n" "yes" >&6; }
9059 else
9060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 printf "%s\n" "no" >&6; }
9062 _am_tools=none
9063 fi
9064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
9065 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
9066 if test x$gm_gid = xunknown; then
9067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
9068 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
9069 elif test $am_gid -le $am_max_gid; then
9070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9071 printf "%s\n" "yes" >&6; }
9072 else
9073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9074 printf "%s\n" "no" >&6; }
9075 _am_tools=none
9076 fi
9077
9078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
9079 printf %s "checking how to create a ustar tar archive... " >&6; }
9080
9081 # Go ahead even if we have the value already cached. We do so because we
9082 # need to set the values for the 'am__tar' and 'am__untar' variables.
9083 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
9084
9085 for _am_tool in $_am_tools; do
9086 case $_am_tool in
9087 gnutar)
9088 for _am_tar in tar gnutar gtar; do
9089 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9090 ($_am_tar --version) >&5 2>&5
9091 ac_status=$?
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); } && break
9094 done
9095 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
9096 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
9097 am__untar="$_am_tar -xf -"
9098 ;;
9099 plaintar)
9100 # Must skip GNU tar: if it does not support --format= it doesn't create
9101 # ustar tarball either.
9102 (tar --version) >/dev/null 2>&1 && continue
9103 am__tar='tar chf - "$$tardir"'
9104 am__tar_='tar chf - "$tardir"'
9105 am__untar='tar xf -'
9106 ;;
9107 pax)
9108 am__tar='pax -L -x ustar -w "$$tardir"'
9109 am__tar_='pax -L -x ustar -w "$tardir"'
9110 am__untar='pax -r'
9111 ;;
9112 cpio)
9113 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
9114 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
9115 am__untar='cpio -i -H ustar -d'
9116 ;;
9117 none)
9118 am__tar=false
9119 am__tar_=false
9120 am__untar=false
9121 ;;
9122 esac
9123
9124 # If the value was cached, stop now. We just wanted to have am__tar
9125 # and am__untar set.
9126 test -n "${am_cv_prog_tar_ustar}" && break
9127
9128 # tar/untar a dummy directory, and stop if the command works.
9129 rm -rf conftest.dir
9130 mkdir conftest.dir
9131 echo GrepMe > conftest.dir/file
9132 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9133 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
9134 ac_status=$?
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }
9137 rm -rf conftest.dir
9138 if test -s conftest.tar; then
9139 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9140 ($am__untar <conftest.tar) >&5 2>&5
9141 ac_status=$?
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); }
9144 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9145 (cat conftest.dir/file) >&5 2>&5
9146 ac_status=$?
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); }
9149 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9150 fi
9151 done
9152 rm -rf conftest.dir
9153
9154 if test ${am_cv_prog_tar_ustar+y}
9155 then :
9156 printf %s "(cached) " >&6
9157 else case e in #(
9158 e) am_cv_prog_tar_ustar=$_am_tool ;;
9159 esac
9160 fi
9161
9162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
9163 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
9164
9165
9166
9167
9168
9169 # Variables for tags utilities; see am/tags.am
9170 if test -z "$CTAGS"; then
9171 CTAGS=ctags
9172 fi
9173
9174 if test -z "$ETAGS"; then
9175 ETAGS=etags
9176 fi
9177
9178 if test -z "$CSCOPE"; then
9179 CSCOPE=cscope
9180 fi
9181
9182
9183
9184
9185
9186
9187
9188
9189 # am_maintainer_mode
9190
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9192 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9193 # Check whether --enable-maintainer-mode was given.
9194 if test ${enable_maintainer_mode+y}
9195 then :
9196 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9197 else case e in #(
9198 e) USE_MAINTAINER_MODE=no ;;
9199 esac
9200 fi
9201
9202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9203 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
9204 if test $USE_MAINTAINER_MODE = yes; then
9205 MAINTAINER_MODE_TRUE=
9206 MAINTAINER_MODE_FALSE='#'
9207 else
9208 MAINTAINER_MODE_TRUE='#'
9209 MAINTAINER_MODE_FALSE=
9210 fi
9211
9212 MAINT=$MAINTAINER_MODE_TRUE
9213
9214
9215
9216 # See comments in kpse-setup.m4 about system extensions.
9217
9218
9219 # Check whether prototypes work.
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9221 printf %s "checking whether the compiler accepts prototypes... " >&6; }
9222 if test ${kb_cv_c_prototypes+y}
9223 then :
9224 printf %s "(cached) " >&6
9225 else case e in #(
9226 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9228 #include <stdarg.h>
9229 int
9230 main (void)
9231 {
9232 extern void foo(int i,...);
9233 ;
9234 return 0;
9235 }
9236 _ACEOF
9237 if ac_fn_c_try_link "$LINENO"
9238 then :
9239 kb_cv_c_prototypes=yes
9240 else case e in #(
9241 e) kb_cv_c_prototypes=no ;;
9242 esac
9243 fi
9244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9245 conftest$ac_exeext conftest.$ac_ext ;;
9246 esac
9247 fi
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9249 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
9250 if test "x$kb_cv_c_prototypes" = xno; then
9251 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
9252 fi
9253
9254 # kpse_compiler_warnings options.
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9256 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
9257 if test ${kpse_cv_warning_cflags+y}
9258 then :
9259 printf %s "(cached) " >&6
9260 else case e in #(
9261 e) if test "x$GCC" = xyes; then
9262 kpse_cv_warning_cflags=
9263 if test "x$enable_compiler_warnings" != xno; then
9264 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
9265 case `$CC -dumpversion` in #(
9266 3.4.* | 4.* | 5.*) :
9267 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9268 *) :
9269 ;;
9270 esac
9271 case `$CC -dumpversion` in #(
9272 3.[234].* | 4.* | 5.*) :
9273 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9274 *) :
9275 ;;
9276 esac
9277 if test "x$enable_compiler_warnings" != xmin; then
9278 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
9279 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9280 if test "x$enable_compiler_warnings" != xyes; then
9281 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9282 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9283 case `$CC -dumpversion` in #(
9284 3.4.* | 4.* | 5.*) :
9285 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9286 *) :
9287 ;;
9288 esac
9289 if test "x$enable_compiler_warnings" != xmax; then
9290 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
9291 fi
9292 fi
9293 fi
9294 fi
9295 elif test "x$enable_compiler_warnings" = xno; then
9296 kpse_cv_warning_cflags=
9297 else
9298 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
9299 fi ;;
9300 esac
9301 fi
9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9303 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
9304 WARNING_CFLAGS=$kpse_cv_warning_cflags
9305
9306
9307
9308
9309
9310
9311
9312 # end of kpse_basic macro.
9313 echo 'tldbg:KPSE_BASIC done (pkg=makejvfk, amopt=no-define)' >&5
9314
9315 # am_prog_ar must be called before lt_init.
9316
9317 if test -n "$ac_tool_prefix"; then
9318 for ac_prog in ar lib "link -lib"
9319 do
9320 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9321 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9323 printf %s "checking for $ac_word... " >&6; }
9324 if test ${ac_cv_prog_AR+y}
9325 then :
9326 printf %s "(cached) " >&6
9327 else case e in #(
9328 e) if test -n "$AR"; then
9329 ac_cv_prog_AR="$AR" # Let the user override the test.
9330 else
9331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9332 for as_dir in $PATH
9333 do
9334 IFS=$as_save_IFS
9335 case $as_dir in #(((
9336 '') as_dir=./ ;;
9337 */) ;;
9338 *) as_dir=$as_dir/ ;;
9339 esac
9340 for ac_exec_ext in '' $ac_executable_extensions; do
9341 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9342 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9344 break 2
9345 fi
9346 done
9347 done
9348 IFS=$as_save_IFS
9349
9350 fi ;;
9351 esac
9352 fi
9353 AR=$ac_cv_prog_AR
9354 if test -n "$AR"; then
9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9356 printf "%s\n" "$AR" >&6; }
9357 else
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359 printf "%s\n" "no" >&6; }
9360 fi
9361
9362
9363 test -n "$AR" && break
9364 done
9365 fi
9366 if test -z "$AR"; then
9367 ac_ct_AR=$AR
9368 for ac_prog in ar lib "link -lib"
9369 do
9370 # Extract the first word of "$ac_prog", so it can be a program name with args.
9371 set dummy $ac_prog; ac_word=$2
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9373 printf %s "checking for $ac_word... " >&6; }
9374 if test ${ac_cv_prog_ac_ct_AR+y}
9375 then :
9376 printf %s "(cached) " >&6
9377 else case e in #(
9378 e) if test -n "$ac_ct_AR"; then
9379 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9380 else
9381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9382 for as_dir in $PATH
9383 do
9384 IFS=$as_save_IFS
9385 case $as_dir in #(((
9386 '') as_dir=./ ;;
9387 */) ;;
9388 *) as_dir=$as_dir/ ;;
9389 esac
9390 for ac_exec_ext in '' $ac_executable_extensions; do
9391 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9392 ac_cv_prog_ac_ct_AR="$ac_prog"
9393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9394 break 2
9395 fi
9396 done
9397 done
9398 IFS=$as_save_IFS
9399
9400 fi ;;
9401 esac
9402 fi
9403 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9404 if test -n "$ac_ct_AR"; then
9405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9406 printf "%s\n" "$ac_ct_AR" >&6; }
9407 else
9408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9409 printf "%s\n" "no" >&6; }
9410 fi
9411
9412
9413 test -n "$ac_ct_AR" && break
9414 done
9415
9416 if test "x$ac_ct_AR" = x; then
9417 AR="false"
9418 else
9419 case $cross_compiling:$ac_tool_warned in
9420 yes:)
9421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9422 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9423 ac_tool_warned=yes ;;
9424 esac
9425 AR=$ac_ct_AR
9426 fi
9427 fi
9428
9429 : ${AR=ar}
9430 : ${ARFLAGS=cr}
9431
9432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
9433 printf %s "checking the archiver ($AR) interface... " >&6; }
9434 if test ${am_cv_ar_interface+y}
9435 then :
9436 printf %s "(cached) " >&6
9437 else case e in #(
9438 e) ac_ext=c
9439 ac_cpp='$CPP $CPPFLAGS'
9440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9443
9444 am_cv_ar_interface=ar
9445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9447 int some_variable = 0;
9448 _ACEOF
9449 if ac_fn_c_try_compile "$LINENO"
9450 then :
9451 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
9452 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9453 (eval $am_ar_try) 2>&5
9454 ac_status=$?
9455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9456 test $ac_status = 0; }
9457 if test "$ac_status" -eq 0; then
9458 am_cv_ar_interface=ar
9459 else
9460 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
9461 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9462 (eval $am_ar_try) 2>&5
9463 ac_status=$?
9464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9465 test $ac_status = 0; }
9466 if test "$ac_status" -eq 0; then
9467 am_cv_ar_interface=lib
9468 else
9469 am_cv_ar_interface=unknown
9470 fi
9471 fi
9472 rm -f conftest.lib libconftest.a
9473
9474 fi
9475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9476 ac_ext=c
9477 ac_cpp='$CPP $CPPFLAGS'
9478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9481 ;;
9482 esac
9483 fi
9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
9485 printf "%s\n" "$am_cv_ar_interface" >&6; }
9486
9487 case $am_cv_ar_interface in
9488 ar)
9489 ;;
9490 lib)
9491 # Microsoft lib, so override with the ar-lib wrapper script.
9492 # FIXME: It is wrong to rewrite AR.
9493 # But if we don't then we get into trouble of one sort or another.
9494 # A longer-term fix would be to have automake use am__AR in this case,
9495 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9496 # similar.
9497 AR="$am_aux_dir/ar-lib $AR"
9498 ;;
9499 unknown)
9500 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
9501 ;;
9502 esac
9503
9504 # (end am_prog_ar)
9505 # starting lt_prereq + lt_init.
9506
9507
9508
9509
9510
9511 # Set options
9512 enable_win32_dll=yes
9513
9514 case $host in
9515 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
9516 if test -n "$ac_tool_prefix"; then
9517 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9518 set dummy ${ac_tool_prefix}as; ac_word=$2
9519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9520 printf %s "checking for $ac_word... " >&6; }
9521 if test ${ac_cv_prog_AS+y}
9522 then :
9523 printf %s "(cached) " >&6
9524 else case e in #(
9525 e) if test -n "$AS"; then
9526 ac_cv_prog_AS="$AS" # Let the user override the test.
9527 else
9528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9529 for as_dir in $PATH
9530 do
9531 IFS=$as_save_IFS
9532 case $as_dir in #(((
9533 '') as_dir=./ ;;
9534 */) ;;
9535 *) as_dir=$as_dir/ ;;
9536 esac
9537 for ac_exec_ext in '' $ac_executable_extensions; do
9538 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9539 ac_cv_prog_AS="${ac_tool_prefix}as"
9540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9541 break 2
9542 fi
9543 done
9544 done
9545 IFS=$as_save_IFS
9546
9547 fi ;;
9548 esac
9549 fi
9550 AS=$ac_cv_prog_AS
9551 if test -n "$AS"; then
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9553 printf "%s\n" "$AS" >&6; }
9554 else
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 printf "%s\n" "no" >&6; }
9557 fi
9558
9559
9560 fi
9561 if test -z "$ac_cv_prog_AS"; then
9562 ac_ct_AS=$AS
9563 # Extract the first word of "as", so it can be a program name with args.
9564 set dummy as; ac_word=$2
9565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9566 printf %s "checking for $ac_word... " >&6; }
9567 if test ${ac_cv_prog_ac_ct_AS+y}
9568 then :
9569 printf %s "(cached) " >&6
9570 else case e in #(
9571 e) if test -n "$ac_ct_AS"; then
9572 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9573 else
9574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9575 for as_dir in $PATH
9576 do
9577 IFS=$as_save_IFS
9578 case $as_dir in #(((
9579 '') as_dir=./ ;;
9580 */) ;;
9581 *) as_dir=$as_dir/ ;;
9582 esac
9583 for ac_exec_ext in '' $ac_executable_extensions; do
9584 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9585 ac_cv_prog_ac_ct_AS="as"
9586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9587 break 2
9588 fi
9589 done
9590 done
9591 IFS=$as_save_IFS
9592
9593 fi ;;
9594 esac
9595 fi
9596 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9597 if test -n "$ac_ct_AS"; then
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9599 printf "%s\n" "$ac_ct_AS" >&6; }
9600 else
9601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9602 printf "%s\n" "no" >&6; }
9603 fi
9604
9605 if test "x$ac_ct_AS" = x; then
9606 AS="false"
9607 else
9608 case $cross_compiling:$ac_tool_warned in
9609 yes:)
9610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9611 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9612 ac_tool_warned=yes ;;
9613 esac
9614 AS=$ac_ct_AS
9615 fi
9616 else
9617 AS="$ac_cv_prog_AS"
9618 fi
9619
9620 if test -n "$ac_tool_prefix"; then
9621 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9622 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9624 printf %s "checking for $ac_word... " >&6; }
9625 if test ${ac_cv_prog_DLLTOOL+y}
9626 then :
9627 printf %s "(cached) " >&6
9628 else case e in #(
9629 e) if test -n "$DLLTOOL"; then
9630 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9631 else
9632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9633 for as_dir in $PATH
9634 do
9635 IFS=$as_save_IFS
9636 case $as_dir in #(((
9637 '') as_dir=./ ;;
9638 */) ;;
9639 *) as_dir=$as_dir/ ;;
9640 esac
9641 for ac_exec_ext in '' $ac_executable_extensions; do
9642 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9643 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9645 break 2
9646 fi
9647 done
9648 done
9649 IFS=$as_save_IFS
9650
9651 fi ;;
9652 esac
9653 fi
9654 DLLTOOL=$ac_cv_prog_DLLTOOL
9655 if test -n "$DLLTOOL"; then
9656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9657 printf "%s\n" "$DLLTOOL" >&6; }
9658 else
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9660 printf "%s\n" "no" >&6; }
9661 fi
9662
9663
9664 fi
9665 if test -z "$ac_cv_prog_DLLTOOL"; then
9666 ac_ct_DLLTOOL=$DLLTOOL
9667 # Extract the first word of "dlltool", so it can be a program name with args.
9668 set dummy dlltool; ac_word=$2
9669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9670 printf %s "checking for $ac_word... " >&6; }
9671 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9672 then :
9673 printf %s "(cached) " >&6
9674 else case e in #(
9675 e) if test -n "$ac_ct_DLLTOOL"; then
9676 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9677 else
9678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9679 for as_dir in $PATH
9680 do
9681 IFS=$as_save_IFS
9682 case $as_dir in #(((
9683 '') as_dir=./ ;;
9684 */) ;;
9685 *) as_dir=$as_dir/ ;;
9686 esac
9687 for ac_exec_ext in '' $ac_executable_extensions; do
9688 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9689 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9691 break 2
9692 fi
9693 done
9694 done
9695 IFS=$as_save_IFS
9696
9697 fi ;;
9698 esac
9699 fi
9700 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9701 if test -n "$ac_ct_DLLTOOL"; then
9702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9703 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9704 else
9705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9706 printf "%s\n" "no" >&6; }
9707 fi
9708
9709 if test "x$ac_ct_DLLTOOL" = x; then
9710 DLLTOOL="false"
9711 else
9712 case $cross_compiling:$ac_tool_warned in
9713 yes:)
9714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9715 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9716 ac_tool_warned=yes ;;
9717 esac
9718 DLLTOOL=$ac_ct_DLLTOOL
9719 fi
9720 else
9721 DLLTOOL="$ac_cv_prog_DLLTOOL"
9722 fi
9723
9724 if test -n "$ac_tool_prefix"; then
9725 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9726 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9728 printf %s "checking for $ac_word... " >&6; }
9729 if test ${ac_cv_prog_OBJDUMP+y}
9730 then :
9731 printf %s "(cached) " >&6
9732 else case e in #(
9733 e) if test -n "$OBJDUMP"; then
9734 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9735 else
9736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9737 for as_dir in $PATH
9738 do
9739 IFS=$as_save_IFS
9740 case $as_dir in #(((
9741 '') as_dir=./ ;;
9742 */) ;;
9743 *) as_dir=$as_dir/ ;;
9744 esac
9745 for ac_exec_ext in '' $ac_executable_extensions; do
9746 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9747 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9749 break 2
9750 fi
9751 done
9752 done
9753 IFS=$as_save_IFS
9754
9755 fi ;;
9756 esac
9757 fi
9758 OBJDUMP=$ac_cv_prog_OBJDUMP
9759 if test -n "$OBJDUMP"; then
9760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9761 printf "%s\n" "$OBJDUMP" >&6; }
9762 else
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9764 printf "%s\n" "no" >&6; }
9765 fi
9766
9767
9768 fi
9769 if test -z "$ac_cv_prog_OBJDUMP"; then
9770 ac_ct_OBJDUMP=$OBJDUMP
9771 # Extract the first word of "objdump", so it can be a program name with args.
9772 set dummy objdump; ac_word=$2
9773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9774 printf %s "checking for $ac_word... " >&6; }
9775 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9776 then :
9777 printf %s "(cached) " >&6
9778 else case e in #(
9779 e) if test -n "$ac_ct_OBJDUMP"; then
9780 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9781 else
9782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9783 for as_dir in $PATH
9784 do
9785 IFS=$as_save_IFS
9786 case $as_dir in #(((
9787 '') as_dir=./ ;;
9788 */) ;;
9789 *) as_dir=$as_dir/ ;;
9790 esac
9791 for ac_exec_ext in '' $ac_executable_extensions; do
9792 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9793 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9795 break 2
9796 fi
9797 done
9798 done
9799 IFS=$as_save_IFS
9800
9801 fi ;;
9802 esac
9803 fi
9804 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9805 if test -n "$ac_ct_OBJDUMP"; then
9806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9807 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
9808 else
9809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9810 printf "%s\n" "no" >&6; }
9811 fi
9812
9813 if test "x$ac_ct_OBJDUMP" = x; then
9814 OBJDUMP="false"
9815 else
9816 case $cross_compiling:$ac_tool_warned in
9817 yes:)
9818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9819 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9820 ac_tool_warned=yes ;;
9821 esac
9822 OBJDUMP=$ac_ct_OBJDUMP
9823 fi
9824 else
9825 OBJDUMP="$ac_cv_prog_OBJDUMP"
9826 fi
9827
9828 ;;
9829 esac
9830
9831 test -z "$AS" && AS=as
9832
9833
9834
9835
9836
9837 test -z "$DLLTOOL" && DLLTOOL=dlltool
9838
9839
9840
9841
9842
9843 test -z "$OBJDUMP" && OBJDUMP=objdump
9844
9845
9846
9847
9848
9849
9850
9851 enable_dlopen=no
9852
9853
9854
9855 # Check whether --enable-shared was given.
9856 if test ${enable_shared+y}
9857 then :
9858 enableval=$enable_shared; p=${PACKAGE-default}
9859 case $enableval in
9860 yes) enable_shared=yes ;;
9861 no) enable_shared=no ;;
9862 *)
9863 enable_shared=no
9864 # Look at the argument we got. We use all the common list separators.
9865 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9866 for pkg in $enableval; do
9867 IFS=$lt_save_ifs
9868 if test "X$pkg" = "X$p"; then
9869 enable_shared=yes
9870 fi
9871 done
9872 IFS=$lt_save_ifs
9873 ;;
9874 esac
9875 else case e in #(
9876 e) enable_shared=yes ;;
9877 esac
9878 fi
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888 # Check whether --enable-static was given.
9889 if test ${enable_static+y}
9890 then :
9891 enableval=$enable_static; p=${PACKAGE-default}
9892 case $enableval in
9893 yes) enable_static=yes ;;
9894 no) enable_static=no ;;
9895 *)
9896 enable_static=no
9897 # Look at the argument we got. We use all the common list separators.
9898 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9899 for pkg in $enableval; do
9900 IFS=$lt_save_ifs
9901 if test "X$pkg" = "X$p"; then
9902 enable_static=yes
9903 fi
9904 done
9905 IFS=$lt_save_ifs
9906 ;;
9907 esac
9908 else case e in #(
9909 e) enable_static=yes ;;
9910 esac
9911 fi
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921 # Check whether --enable-pic was given.
9922 if test ${enable_pic+y}
9923 then :
9924 enableval=$enable_pic; lt_p=${PACKAGE-default}
9925 case $enableval in
9926 yes|no) pic_mode=$enableval ;;
9927 *)
9928 pic_mode=default
9929 # Look at the argument we got. We use all the common list separators.
9930 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9931 for lt_pkg in $enableval; do
9932 IFS=$lt_save_ifs
9933 if test "X$lt_pkg" = "X$lt_p"; then
9934 pic_mode=yes
9935 fi
9936 done
9937 IFS=$lt_save_ifs
9938 ;;
9939 esac
9940 else case e in #(
9941 e) # Check whether --with-pic was given.
9942 if test ${with_pic+y}
9943 then :
9944 withval=$with_pic; lt_p=${PACKAGE-default}
9945 case $withval in
9946 yes|no) pic_mode=$withval ;;
9947 *)
9948 pic_mode=default
9949 # Look at the argument we got. We use all the common list separators.
9950 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9951 for lt_pkg in $withval; do
9952 IFS=$lt_save_ifs
9953 if test "X$lt_pkg" = "X$lt_p"; then
9954 pic_mode=yes
9955 fi
9956 done
9957 IFS=$lt_save_ifs
9958 ;;
9959 esac
9960 else case e in #(
9961 e) pic_mode=default ;;
9962 esac
9963 fi
9964
9965 ;;
9966 esac
9967 fi
9968
9969
9970
9971
9972
9973
9974
9975
9976 # Check whether --enable-fast-install was given.
9977 if test ${enable_fast_install+y}
9978 then :
9979 enableval=$enable_fast_install; p=${PACKAGE-default}
9980 case $enableval in
9981 yes) enable_fast_install=yes ;;
9982 no) enable_fast_install=no ;;
9983 *)
9984 enable_fast_install=no
9985 # Look at the argument we got. We use all the common list separators.
9986 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9987 for pkg in $enableval; do
9988 IFS=$lt_save_ifs
9989 if test "X$pkg" = "X$p"; then
9990 enable_fast_install=yes
9991 fi
9992 done
9993 IFS=$lt_save_ifs
9994 ;;
9995 esac
9996 else case e in #(
9997 e) enable_fast_install=yes ;;
9998 esac
9999 fi
10000
10001
10002
10003
10004
10005
10006
10007
10008 shared_archive_member_spec=
10009 case $host,$enable_shared in
10010 power*-*-aix[5-9]*,yes)
10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10012 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10013 # Check whether --enable-aix-soname was given.
10014 if test ${enable_aix_soname+y}
10015 then :
10016 enableval=$enable_aix_soname; case $enableval in
10017 aix|svr4|both)
10018 ;;
10019 *)
10020 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10021 ;;
10022 esac
10023 lt_cv_with_aix_soname=$enable_aix_soname
10024 else case e in #(
10025 e) # Check whether --with-aix-soname was given.
10026 if test ${with_aix_soname+y}
10027 then :
10028 withval=$with_aix_soname; case $withval in
10029 aix|svr4|both)
10030 ;;
10031 *)
10032 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10033 ;;
10034 esac
10035 lt_cv_with_aix_soname=$with_aix_soname
10036 else case e in #(
10037 e) if test ${lt_cv_with_aix_soname+y}
10038 then :
10039 printf %s "(cached) " >&6
10040 else case e in #(
10041 e) lt_cv_with_aix_soname=aix ;;
10042 esac
10043 fi
10044 ;;
10045 esac
10046 fi
10047
10048 enable_aix_soname=$lt_cv_with_aix_soname ;;
10049 esac
10050 fi
10051
10052 with_aix_soname=$enable_aix_soname
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10054 printf "%s\n" "$with_aix_soname" >&6; }
10055 if test aix != "$with_aix_soname"; then
10056 # For the AIX way of multilib, we name the shared archive member
10057 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10058 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10059 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10060 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10061 if test 64 = "${OBJECT_MODE-32}"; then
10062 shared_archive_member_spec=shr_64
10063 else
10064 shared_archive_member_spec=shr
10065 fi
10066 fi
10067 ;;
10068 *)
10069 with_aix_soname=aix
10070 ;;
10071 esac
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082 # This can be used to rebuild libtool when needed
10083 LIBTOOL_DEPS=$ltmain
10084
10085 # Always use our own libtool.
10086 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117 test -z "$LN_S" && LN_S="ln -s"
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132 if test -n "${ZSH_VERSION+set}"; then
10133 setopt NO_GLOB_SUBST
10134 fi
10135
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10137 printf %s "checking for objdir... " >&6; }
10138 if test ${lt_cv_objdir+y}
10139 then :
10140 printf %s "(cached) " >&6
10141 else case e in #(
10142 e) rm -f .libs 2>/dev/null
10143 mkdir .libs 2>/dev/null
10144 if test -d .libs; then
10145 lt_cv_objdir=.libs
10146 else
10147 # MS-DOS does not allow filenames that begin with a dot.
10148 lt_cv_objdir=_libs
10149 fi
10150 rmdir .libs 2>/dev/null ;;
10151 esac
10152 fi
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10154 printf "%s\n" "$lt_cv_objdir" >&6; }
10155 objdir=$lt_cv_objdir
10156
10157
10158
10159
10160
10161 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10162
10163
10164
10165
10166 case $host_os in
10167 aix3*)
10168 # AIX sometimes has problems with the GCC collect2 program. For some
10169 # reason, if we set the COLLECT_NAMES environment variable, the problems
10170 # vanish in a puff of smoke.
10171 if test set != "${COLLECT_NAMES+set}"; then
10172 COLLECT_NAMES=
10173 export COLLECT_NAMES
10174 fi
10175 ;;
10176 esac
10177
10178 # Global variables:
10179 ofile=libtool
10180 can_build_shared=yes
10181
10182 # All known linkers require a '.a' archive for static linking (except MSVC and
10183 # ICC, which need '.lib').
10184 libext=a
10185
10186 with_gnu_ld=$lt_cv_prog_gnu_ld
10187
10188 old_CC=$CC
10189 old_CFLAGS=$CFLAGS
10190
10191 # Set sane defaults for various variables
10192 test -z "$CC" && CC=cc
10193 test -z "$LTCC" && LTCC=$CC
10194 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10195 test -z "$LD" && LD=ld
10196 test -z "$ac_objext" && ac_objext=o
10197
10198 func_cc_basename $compiler
10199 cc_basename=$func_cc_basename_result
10200
10201
10202 # Only perform the check for file, if the check method requires it
10203 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10204 case $deplibs_check_method in
10205 file_magic*)
10206 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10208 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10209 if test ${lt_cv_path_MAGIC_CMD+y}
10210 then :
10211 printf %s "(cached) " >&6
10212 else case e in #(
10213 e) case $MAGIC_CMD in
10214 [\\/*] | ?:[\\/]*)
10215 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10216 ;;
10217 *)
10218 lt_save_MAGIC_CMD=$MAGIC_CMD
10219 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10220 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10221 for ac_dir in $ac_dummy; do
10222 IFS=$lt_save_ifs
10223 test -z "$ac_dir" && ac_dir=.
10224 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10225 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10226 if test -n "$file_magic_test_file"; then
10227 case $deplibs_check_method in
10228 "file_magic "*)
10229 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10230 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10231 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10232 $EGREP "$file_magic_regex" > /dev/null; then
10233 :
10234 else
10235 cat <<_LT_EOF 1>&2
10236
10237 *** Warning: the command libtool uses to detect shared libraries,
10238 *** $file_magic_cmd, produces output that libtool cannot recognize.
10239 *** The result is that libtool may fail to recognize shared libraries
10240 *** as such. This will affect the creation of libtool libraries that
10241 *** depend on shared libraries, but programs linked with such libtool
10242 *** libraries will work regardless of this problem. Nevertheless, you
10243 *** may want to report the problem to your system manager and/or to
10244 *** [email protected]
10245
10246 _LT_EOF
10247 fi ;;
10248 esac
10249 fi
10250 break
10251 fi
10252 done
10253 IFS=$lt_save_ifs
10254 MAGIC_CMD=$lt_save_MAGIC_CMD
10255 ;;
10256 esac ;;
10257 esac
10258 fi
10259
10260 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10261 if test -n "$MAGIC_CMD"; then
10262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10263 printf "%s\n" "$MAGIC_CMD" >&6; }
10264 else
10265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10266 printf "%s\n" "no" >&6; }
10267 fi
10268
10269
10270
10271
10272
10273 if test -z "$lt_cv_path_MAGIC_CMD"; then
10274 if test -n "$ac_tool_prefix"; then
10275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10276 printf %s "checking for file... " >&6; }
10277 if test ${lt_cv_path_MAGIC_CMD+y}
10278 then :
10279 printf %s "(cached) " >&6
10280 else case e in #(
10281 e) case $MAGIC_CMD in
10282 [\\/*] | ?:[\\/]*)
10283 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10284 ;;
10285 *)
10286 lt_save_MAGIC_CMD=$MAGIC_CMD
10287 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10288 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10289 for ac_dir in $ac_dummy; do
10290 IFS=$lt_save_ifs
10291 test -z "$ac_dir" && ac_dir=.
10292 if test -f "$ac_dir/file"; then
10293 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10294 if test -n "$file_magic_test_file"; then
10295 case $deplibs_check_method in
10296 "file_magic "*)
10297 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10298 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10299 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10300 $EGREP "$file_magic_regex" > /dev/null; then
10301 :
10302 else
10303 cat <<_LT_EOF 1>&2
10304
10305 *** Warning: the command libtool uses to detect shared libraries,
10306 *** $file_magic_cmd, produces output that libtool cannot recognize.
10307 *** The result is that libtool may fail to recognize shared libraries
10308 *** as such. This will affect the creation of libtool libraries that
10309 *** depend on shared libraries, but programs linked with such libtool
10310 *** libraries will work regardless of this problem. Nevertheless, you
10311 *** may want to report the problem to your system manager and/or to
10312 *** [email protected]
10313
10314 _LT_EOF
10315 fi ;;
10316 esac
10317 fi
10318 break
10319 fi
10320 done
10321 IFS=$lt_save_ifs
10322 MAGIC_CMD=$lt_save_MAGIC_CMD
10323 ;;
10324 esac ;;
10325 esac
10326 fi
10327
10328 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10329 if test -n "$MAGIC_CMD"; then
10330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10331 printf "%s\n" "$MAGIC_CMD" >&6; }
10332 else
10333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10334 printf "%s\n" "no" >&6; }
10335 fi
10336
10337
10338 else
10339 MAGIC_CMD=:
10340 fi
10341 fi
10342
10343 fi
10344 ;;
10345 esac
10346
10347 # Use C for the default configuration in the libtool script
10348
10349 lt_save_CC=$CC
10350 ac_ext=c
10351 ac_cpp='$CPP $CPPFLAGS'
10352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10355
10356
10357 # Source file extension for C test sources.
10358 ac_ext=c
10359
10360 # Object file extension for compiled C test sources.
10361 objext=o
10362 objext=$objext
10363
10364 # Code to be used in simple compile tests
10365 lt_simple_compile_test_code="int some_variable = 0;"
10366
10367 # Code to be used in simple link tests
10368 lt_simple_link_test_code='int main(void){return(0);}'
10369
10370
10371
10372
10373
10374
10375
10376 # If no C compiler was specified, use CC.
10377 LTCC=${LTCC-"$CC"}
10378
10379 # If no C compiler flags were specified, use CFLAGS.
10380 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10381
10382 # Allow CC to be a program name with arguments.
10383 compiler=$CC
10384
10385 # Save the default compiler, since it gets overwritten when the other
10386 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10387 compiler_DEFAULT=$CC
10388
10389 # save warnings/boilerplate of simple test code
10390 ac_outfile=conftest.$ac_objext
10391 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10392 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10393 _lt_compiler_boilerplate=`cat conftest.err`
10394 $RM conftest*
10395
10396 ac_outfile=conftest.$ac_objext
10397 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10398 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10399 _lt_linker_boilerplate=`cat conftest.err`
10400 $RM -r conftest*
10401
10402
10403 ## CAVEAT EMPTOR:
10404 ## There is no encapsulation within the following macros, do not change
10405 ## the running order or otherwise move them around unless you know exactly
10406 ## what you are doing...
10407 if test -n "$compiler"; then
10408
10409 lt_prog_compiler_no_builtin_flag=
10410
10411 if test yes = "$GCC"; then
10412 case $cc_basename in
10413 nvcc*)
10414 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10415 *)
10416 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10417 esac
10418
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10420 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10421 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10422 then :
10423 printf %s "(cached) " >&6
10424 else case e in #(
10425 e) lt_cv_prog_compiler_rtti_exceptions=no
10426 ac_outfile=conftest.$ac_objext
10427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10428 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10429 # Insert the option either (1) after the last *FLAGS variable, or
10430 # (2) before a word containing "conftest.", or (3) at the end.
10431 # Note that $ac_compile itself does not contain backslashes and begins
10432 # with a dollar sign (not a hyphen), so the echo should work correctly.
10433 # The option is referenced via a variable to avoid confusing sed.
10434 lt_compile=`echo "$ac_compile" | $SED \
10435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10437 -e 's:$: $lt_compiler_flag:'`
10438 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10439 (eval "$lt_compile" 2>conftest.err)
10440 ac_status=$?
10441 cat conftest.err >&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 if (exit $ac_status) && test -s "$ac_outfile"; then
10444 # The compiler can only warn and ignore the option if not recognized
10445 # So say no if there are warnings other than the usual output.
10446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10448 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10449 lt_cv_prog_compiler_rtti_exceptions=yes
10450 fi
10451 fi
10452 $RM conftest*
10453 ;;
10454 esac
10455 fi
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10457 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10458
10459 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10460 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10461 else
10462 :
10463 fi
10464
10465 fi
10466
10467
10468
10469
10470
10471
10472 lt_prog_compiler_wl=
10473 lt_prog_compiler_pic=
10474 lt_prog_compiler_static=
10475
10476
10477 if test yes = "$GCC"; then
10478 lt_prog_compiler_wl='-Wl,'
10479 lt_prog_compiler_static='-static'
10480
10481 case $host_os in
10482 aix*)
10483 # All AIX code is PIC.
10484 if test ia64 = "$host_cpu"; then
10485 # AIX 5 now supports IA64 processor
10486 lt_prog_compiler_static='-Bstatic'
10487 fi
10488 lt_prog_compiler_pic='-fPIC'
10489 ;;
10490
10491 amigaos*)
10492 case $host_cpu in
10493 powerpc)
10494 # see comment about AmigaOS4 .so support
10495 lt_prog_compiler_pic='-fPIC'
10496 ;;
10497 m68k)
10498 # FIXME: we need at least 68020 code to build shared libraries, but
10499 # adding the '-m68020' flag to GCC prevents building anything better,
10500 # like '-m68040'.
10501 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10502 ;;
10503 esac
10504 ;;
10505
10506 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10507 # PIC is the default for these OSes.
10508 ;;
10509
10510 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10511 # This hack is so that the source file can tell whether it is being
10512 # built for inclusion in a dll (and should export symbols for example).
10513 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10514 # (--disable-auto-import) libraries
10515 lt_prog_compiler_pic='-DDLL_EXPORT'
10516 case $host_os in
10517 os2*)
10518 lt_prog_compiler_static='$wl-static'
10519 ;;
10520 esac
10521 ;;
10522
10523 darwin* | rhapsody*)
10524 # PIC is the default on this platform
10525 # Common symbols not allowed in MH_DYLIB files
10526 lt_prog_compiler_pic='-fno-common'
10527 ;;
10528
10529 haiku*)
10530 # PIC is the default for Haiku.
10531 # The "-static" flag exists, but is broken.
10532 lt_prog_compiler_static=
10533 ;;
10534
10535 hpux*)
10536 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10537 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10538 # sets the default TLS model and affects inlining.
10539 case $host_cpu in
10540 hppa*64*)
10541 # +Z the default
10542 ;;
10543 *)
10544 lt_prog_compiler_pic='-fPIC'
10545 ;;
10546 esac
10547 ;;
10548
10549 interix[3-9]*)
10550 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10551 # Instead, we relocate shared libraries at runtime.
10552 ;;
10553
10554 msdosdjgpp*)
10555 # Just because we use GCC doesn't mean we suddenly get shared libraries
10556 # on systems that don't support them.
10557 lt_prog_compiler_can_build_shared=no
10558 enable_shared=no
10559 ;;
10560
10561 *nto* | *qnx*)
10562 # QNX uses GNU C++, but need to define -shared option too, otherwise
10563 # it will coredump.
10564 lt_prog_compiler_pic='-fPIC -shared'
10565 ;;
10566
10567 sysv4*MP*)
10568 if test -d /usr/nec; then
10569 lt_prog_compiler_pic=-Kconform_pic
10570 fi
10571 ;;
10572
10573 *)
10574 lt_prog_compiler_pic='-fPIC'
10575 ;;
10576 esac
10577
10578 case $cc_basename in
10579 nvcc*) # Cuda Compiler Driver 2.2
10580 lt_prog_compiler_wl='-Xlinker '
10581 if test -n "$lt_prog_compiler_pic"; then
10582 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10583 fi
10584 ;;
10585 esac
10586 else
10587 # PORTME Check for flag to pass linker flags through the system compiler.
10588 case $host_os in
10589 aix*)
10590 lt_prog_compiler_wl='-Wl,'
10591 if test ia64 = "$host_cpu"; then
10592 # AIX 5 now supports IA64 processor
10593 lt_prog_compiler_static='-Bstatic'
10594 else
10595 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10596 fi
10597 ;;
10598
10599 darwin* | rhapsody*)
10600 # PIC is the default on this platform
10601 # Common symbols not allowed in MH_DYLIB files
10602 lt_prog_compiler_pic='-fno-common'
10603 case $cc_basename in
10604 nagfor*)
10605 # NAG Fortran compiler
10606 lt_prog_compiler_wl='-Wl,-Wl,,'
10607 lt_prog_compiler_pic='-PIC'
10608 lt_prog_compiler_static='-Bstatic'
10609 ;;
10610 esac
10611 ;;
10612
10613 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10614 # This hack is so that the source file can tell whether it is being
10615 # built for inclusion in a dll (and should export symbols for example).
10616 lt_prog_compiler_pic='-DDLL_EXPORT'
10617 case $host_os in
10618 os2*)
10619 lt_prog_compiler_static='$wl-static'
10620 ;;
10621 esac
10622 ;;
10623
10624 hpux9* | hpux10* | hpux11*)
10625 lt_prog_compiler_wl='-Wl,'
10626 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10627 # not for PA HP-UX.
10628 case $host_cpu in
10629 hppa*64*|ia64*)
10630 # +Z the default
10631 ;;
10632 *)
10633 lt_prog_compiler_pic='+Z'
10634 ;;
10635 esac
10636 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10637 lt_prog_compiler_static='$wl-a ${wl}archive'
10638 ;;
10639
10640 irix5* | irix6* | nonstopux*)
10641 lt_prog_compiler_wl='-Wl,'
10642 # PIC (with -KPIC) is the default.
10643 lt_prog_compiler_static='-non_shared'
10644 ;;
10645
10646 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10647 case $cc_basename in
10648 # old Intel for x86_64, which still supported -KPIC.
10649 ecc*)
10650 lt_prog_compiler_wl='-Wl,'
10651 lt_prog_compiler_pic='-KPIC'
10652 lt_prog_compiler_static='-static'
10653 ;;
10654 *flang* | ftn | f18* | f95*)
10655 # Flang compiler.
10656 lt_prog_compiler_wl='-Wl,'
10657 lt_prog_compiler_pic='-fPIC'
10658 lt_prog_compiler_static='-static'
10659 ;;
10660 # icc used to be incompatible with GCC.
10661 # ICC 10 doesn't accept -KPIC any more.
10662 icc* | ifort*)
10663 lt_prog_compiler_wl='-Wl,'
10664 lt_prog_compiler_pic='-fPIC'
10665 lt_prog_compiler_static='-static'
10666 ;;
10667 # Lahey Fortran 8.1.
10668 lf95*)
10669 lt_prog_compiler_wl='-Wl,'
10670 lt_prog_compiler_pic='--shared'
10671 lt_prog_compiler_static='--static'
10672 ;;
10673 nagfor*)
10674 # NAG Fortran compiler
10675 lt_prog_compiler_wl='-Wl,-Wl,,'
10676 lt_prog_compiler_pic='-PIC'
10677 lt_prog_compiler_static='-Bstatic'
10678 ;;
10679 tcc*)
10680 # Fabrice Bellard et al's Tiny C Compiler
10681 lt_prog_compiler_wl='-Wl,'
10682 lt_prog_compiler_pic='-fPIC'
10683 lt_prog_compiler_static='-static'
10684 ;;
10685 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10686 # Portland Group compilers (*not* the Pentium gcc compiler,
10687 # which looks to be a dead project)
10688 lt_prog_compiler_wl='-Wl,'
10689 lt_prog_compiler_pic='-fpic'
10690 lt_prog_compiler_static='-Bstatic'
10691 ;;
10692 ccc*)
10693 lt_prog_compiler_wl='-Wl,'
10694 # All Alpha code is PIC.
10695 lt_prog_compiler_static='-non_shared'
10696 ;;
10697 xl* | bgxl* | bgf* | mpixl*)
10698 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10699 lt_prog_compiler_wl='-Wl,'
10700 lt_prog_compiler_pic='-qpic'
10701 lt_prog_compiler_static='-qstaticlink'
10702 ;;
10703 *)
10704 case `$CC -V 2>&1 | $SED 5q` in
10705 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10706 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10707 lt_prog_compiler_pic='-KPIC'
10708 lt_prog_compiler_static='-Bstatic'
10709 lt_prog_compiler_wl=''
10710 ;;
10711 *Sun\ F* | *Sun*Fortran*)
10712 lt_prog_compiler_pic='-KPIC'
10713 lt_prog_compiler_static='-Bstatic'
10714 lt_prog_compiler_wl='-Qoption ld '
10715 ;;
10716 *Sun\ C*)
10717 # Sun C 5.9
10718 lt_prog_compiler_pic='-KPIC'
10719 lt_prog_compiler_static='-Bstatic'
10720 lt_prog_compiler_wl='-Wl,'
10721 ;;
10722 *Intel*\ [CF]*Compiler*)
10723 lt_prog_compiler_wl='-Wl,'
10724 lt_prog_compiler_pic='-fPIC'
10725 lt_prog_compiler_static='-static'
10726 ;;
10727 *Portland\ Group*)
10728 lt_prog_compiler_wl='-Wl,'
10729 lt_prog_compiler_pic='-fpic'
10730 lt_prog_compiler_static='-Bstatic'
10731 ;;
10732 esac
10733 ;;
10734 esac
10735 ;;
10736
10737 newsos6)
10738 lt_prog_compiler_pic='-KPIC'
10739 lt_prog_compiler_static='-Bstatic'
10740 ;;
10741
10742 *-mlibc)
10743 lt_prog_compiler_wl='-Wl,'
10744 lt_prog_compiler_pic='-fPIC'
10745 lt_prog_compiler_static='-static'
10746 ;;
10747
10748 *nto* | *qnx*)
10749 # QNX uses GNU C++, but need to define -shared option too, otherwise
10750 # it will coredump.
10751 lt_prog_compiler_pic='-fPIC -shared'
10752 ;;
10753
10754 osf3* | osf4* | osf5*)
10755 lt_prog_compiler_wl='-Wl,'
10756 # All OSF/1 code is PIC.
10757 lt_prog_compiler_static='-non_shared'
10758 ;;
10759
10760 rdos*)
10761 lt_prog_compiler_static='-non_shared'
10762 ;;
10763
10764 serenity*)
10765 ;;
10766
10767 solaris*)
10768 lt_prog_compiler_pic='-KPIC'
10769 lt_prog_compiler_static='-Bstatic'
10770 case $cc_basename in
10771 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10772 lt_prog_compiler_wl='-Qoption ld ';;
10773 *)
10774 lt_prog_compiler_wl='-Wl,';;
10775 esac
10776 ;;
10777
10778 sunos4*)
10779 lt_prog_compiler_wl='-Qoption ld '
10780 lt_prog_compiler_pic='-PIC'
10781 lt_prog_compiler_static='-Bstatic'
10782 ;;
10783
10784 sysv4 | sysv4.2uw2* | sysv4.3*)
10785 lt_prog_compiler_wl='-Wl,'
10786 lt_prog_compiler_pic='-KPIC'
10787 lt_prog_compiler_static='-Bstatic'
10788 ;;
10789
10790 sysv4*MP*)
10791 if test -d /usr/nec; then
10792 lt_prog_compiler_pic='-Kconform_pic'
10793 lt_prog_compiler_static='-Bstatic'
10794 fi
10795 ;;
10796
10797 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10798 lt_prog_compiler_wl='-Wl,'
10799 lt_prog_compiler_pic='-KPIC'
10800 lt_prog_compiler_static='-Bstatic'
10801 ;;
10802
10803 unicos*)
10804 lt_prog_compiler_wl='-Wl,'
10805 lt_prog_compiler_can_build_shared=no
10806 ;;
10807
10808 uts4*)
10809 lt_prog_compiler_pic='-pic'
10810 lt_prog_compiler_static='-Bstatic'
10811 ;;
10812
10813 *)
10814 lt_prog_compiler_can_build_shared=no
10815 ;;
10816 esac
10817 fi
10818
10819 case $host_os in
10820 # For platforms that do not support PIC, -DPIC is meaningless:
10821 *djgpp*)
10822 lt_prog_compiler_pic=
10823 ;;
10824 *)
10825 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10826 ;;
10827 esac
10828
10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10830 printf %s "checking for $compiler option to produce PIC... " >&6; }
10831 if test ${lt_cv_prog_compiler_pic+y}
10832 then :
10833 printf %s "(cached) " >&6
10834 else case e in #(
10835 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
10836 esac
10837 fi
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10839 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
10840 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10841
10842 #
10843 # Check to make sure the PIC flag actually works.
10844 #
10845 if test -n "$lt_prog_compiler_pic"; then
10846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10847 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10848 if test ${lt_cv_prog_compiler_pic_works+y}
10849 then :
10850 printf %s "(cached) " >&6
10851 else case e in #(
10852 e) lt_cv_prog_compiler_pic_works=no
10853 ac_outfile=conftest.$ac_objext
10854 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10855 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10856 # Insert the option either (1) after the last *FLAGS variable, or
10857 # (2) before a word containing "conftest.", or (3) at the end.
10858 # Note that $ac_compile itself does not contain backslashes and begins
10859 # with a dollar sign (not a hyphen), so the echo should work correctly.
10860 # The option is referenced via a variable to avoid confusing sed.
10861 lt_compile=`echo "$ac_compile" | $SED \
10862 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10863 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10864 -e 's:$: $lt_compiler_flag:'`
10865 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10866 (eval "$lt_compile" 2>conftest.err)
10867 ac_status=$?
10868 cat conftest.err >&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 if (exit $ac_status) && test -s "$ac_outfile"; then
10871 # The compiler can only warn and ignore the option if not recognized
10872 # So say no if there are warnings other than the usual output.
10873 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10874 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10875 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10876 lt_cv_prog_compiler_pic_works=yes
10877 fi
10878 fi
10879 $RM conftest*
10880 ;;
10881 esac
10882 fi
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10884 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
10885
10886 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10887 case $lt_prog_compiler_pic in
10888 "" | " "*) ;;
10889 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10890 esac
10891 else
10892 lt_prog_compiler_pic=
10893 lt_prog_compiler_can_build_shared=no
10894 fi
10895
10896 fi
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908 #
10909 # Check to make sure the static flag actually works.
10910 #
10911 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10913 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10914 if test ${lt_cv_prog_compiler_static_works+y}
10915 then :
10916 printf %s "(cached) " >&6
10917 else case e in #(
10918 e) lt_cv_prog_compiler_static_works=no
10919 save_LDFLAGS=$LDFLAGS
10920 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10921 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10922 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10923 # The linker can only warn and ignore the option if not recognized
10924 # So say no if there are warnings
10925 if test -s conftest.err; then
10926 # Append any errors to the config.log.
10927 cat conftest.err 1>&5
10928 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10929 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10930 if diff conftest.exp conftest.er2 >/dev/null; then
10931 lt_cv_prog_compiler_static_works=yes
10932 fi
10933 else
10934 lt_cv_prog_compiler_static_works=yes
10935 fi
10936 fi
10937 $RM -r conftest*
10938 LDFLAGS=$save_LDFLAGS
10939 ;;
10940 esac
10941 fi
10942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10943 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
10944
10945 if test yes = "$lt_cv_prog_compiler_static_works"; then
10946 :
10947 else
10948 lt_prog_compiler_static=
10949 fi
10950
10951
10952
10953
10954
10955
10956
10957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10958 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10959 if test ${lt_cv_prog_compiler_c_o+y}
10960 then :
10961 printf %s "(cached) " >&6
10962 else case e in #(
10963 e) lt_cv_prog_compiler_c_o=no
10964 $RM -r conftest 2>/dev/null
10965 mkdir conftest
10966 cd conftest
10967 mkdir out
10968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10969
10970 lt_compiler_flag="-o out/conftest2.$ac_objext"
10971 # Insert the option either (1) after the last *FLAGS variable, or
10972 # (2) before a word containing "conftest.", or (3) at the end.
10973 # Note that $ac_compile itself does not contain backslashes and begins
10974 # with a dollar sign (not a hyphen), so the echo should work correctly.
10975 lt_compile=`echo "$ac_compile" | $SED \
10976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10978 -e 's:$: $lt_compiler_flag:'`
10979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10980 (eval "$lt_compile" 2>out/conftest.err)
10981 ac_status=$?
10982 cat out/conftest.err >&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10985 then
10986 # The compiler can only warn and ignore the option if not recognized
10987 # So say no if there are warnings
10988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10989 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10990 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10991 lt_cv_prog_compiler_c_o=yes
10992 fi
10993 fi
10994 chmod u+w . 2>&5
10995 $RM conftest*
10996 # SGI C++ compiler will create directory out/ii_files/ for
10997 # template instantiation
10998 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10999 $RM out/* && rmdir out
11000 cd ..
11001 $RM -r conftest
11002 $RM conftest*
11003 ;;
11004 esac
11005 fi
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11007 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11008
11009
11010
11011
11012
11013
11014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11015 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11016 if test ${lt_cv_prog_compiler_c_o+y}
11017 then :
11018 printf %s "(cached) " >&6
11019 else case e in #(
11020 e) lt_cv_prog_compiler_c_o=no
11021 $RM -r conftest 2>/dev/null
11022 mkdir conftest
11023 cd conftest
11024 mkdir out
11025 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11026
11027 lt_compiler_flag="-o out/conftest2.$ac_objext"
11028 # Insert the option either (1) after the last *FLAGS variable, or
11029 # (2) before a word containing "conftest.", or (3) at the end.
11030 # Note that $ac_compile itself does not contain backslashes and begins
11031 # with a dollar sign (not a hyphen), so the echo should work correctly.
11032 lt_compile=`echo "$ac_compile" | $SED \
11033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11035 -e 's:$: $lt_compiler_flag:'`
11036 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11037 (eval "$lt_compile" 2>out/conftest.err)
11038 ac_status=$?
11039 cat out/conftest.err >&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11042 then
11043 # The compiler can only warn and ignore the option if not recognized
11044 # So say no if there are warnings
11045 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11046 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11047 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11048 lt_cv_prog_compiler_c_o=yes
11049 fi
11050 fi
11051 chmod u+w . 2>&5
11052 $RM conftest*
11053 # SGI C++ compiler will create directory out/ii_files/ for
11054 # template instantiation
11055 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11056 $RM out/* && rmdir out
11057 cd ..
11058 $RM -r conftest
11059 $RM conftest*
11060 ;;
11061 esac
11062 fi
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11064 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11065
11066
11067
11068
11069 hard_links=nottested
11070 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11071 # do not overwrite the value of need_locks provided by the user
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11073 printf %s "checking if we can lock with hard links... " >&6; }
11074 hard_links=yes
11075 $RM conftest*
11076 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11077 touch conftest.a
11078 ln conftest.a conftest.b 2>&5 || hard_links=no
11079 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11081 printf "%s\n" "$hard_links" >&6; }
11082 if test no = "$hard_links"; then
11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11084 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11085 need_locks=warn
11086 fi
11087 else
11088 need_locks=no
11089 fi
11090
11091
11092
11093
11094
11095
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11097 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11098
11099 runpath_var=
11100 allow_undefined_flag=
11101 always_export_symbols=no
11102 archive_cmds=
11103 archive_expsym_cmds=
11104 compiler_needs_object=no
11105 enable_shared_with_static_runtimes=no
11106 export_dynamic_flag_spec=
11107 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11108 hardcode_automatic=no
11109 hardcode_direct=no
11110 hardcode_direct_absolute=no
11111 hardcode_libdir_flag_spec=
11112 hardcode_libdir_separator=
11113 hardcode_minus_L=no
11114 hardcode_shlibpath_var=unsupported
11115 inherit_rpath=no
11116 link_all_deplibs=unknown
11117 module_cmds=
11118 module_expsym_cmds=
11119 old_archive_from_new_cmds=
11120 old_archive_from_expsyms_cmds=
11121 thread_safe_flag_spec=
11122 whole_archive_flag_spec=
11123 # include_expsyms should be a list of space-separated symbols to be *always*
11124 # included in the symbol list
11125 include_expsyms=
11126 # exclude_expsyms can be an extended regexp of symbols to exclude
11127 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11128 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11129 # as well as any symbol that contains 'd'.
11130 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11131 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11132 # platforms (ab)use it in PIC code, but their linkers get confused if
11133 # the symbol is explicitly referenced. Since portable code cannot
11134 # rely on this symbol name, it's probably fine to never include it in
11135 # preloaded symbol tables.
11136 # Exclude shared library initialization/finalization symbols.
11137 extract_expsyms_cmds=
11138
11139 case $host_os in
11140 cygwin* | mingw* | windows* | pw32* | cegcc*)
11141 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11142 # When not using gcc, we currently assume that we are using
11143 # Microsoft Visual C++ or Intel C++ Compiler.
11144 if test yes != "$GCC"; then
11145 with_gnu_ld=no
11146 fi
11147 ;;
11148 interix*)
11149 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11150 with_gnu_ld=yes
11151 ;;
11152 esac
11153
11154 ld_shlibs=yes
11155
11156 # On some targets, GNU ld is compatible enough with the native linker
11157 # that we're better off using the native interface for both.
11158 lt_use_gnu_ld_interface=no
11159 if test yes = "$with_gnu_ld"; then
11160 case $host_os in
11161 aix*)
11162 # The AIX port of GNU ld has always aspired to compatibility
11163 # with the native linker. However, as the warning in the GNU ld
11164 # block says, versions before 2.19.5* couldn't really create working
11165 # shared libraries, regardless of the interface used.
11166 case `$LD -v 2>&1` in
11167 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11168 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11169 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11170 *)
11171 lt_use_gnu_ld_interface=yes
11172 ;;
11173 esac
11174 ;;
11175 *)
11176 lt_use_gnu_ld_interface=yes
11177 ;;
11178 esac
11179 fi
11180
11181 if test yes = "$lt_use_gnu_ld_interface"; then
11182 # If archive_cmds runs LD, not CC, wlarc should be empty
11183 wlarc='$wl'
11184
11185 # Set some defaults for GNU ld with shared library support. These
11186 # are reset later if shared libraries are not supported. Putting them
11187 # here allows them to be overridden if necessary.
11188 runpath_var=LD_RUN_PATH
11189 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11190 export_dynamic_flag_spec='$wl--export-dynamic'
11191 # ancient GNU ld didn't support --whole-archive et. al.
11192 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11193 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11194 else
11195 whole_archive_flag_spec=
11196 fi
11197 supports_anon_versioning=no
11198 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11199 *GNU\ gold*) supports_anon_versioning=yes ;;
11200 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11201 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11202 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11203 *\ 2.11.*) ;; # other 2.11 versions
11204 *) supports_anon_versioning=yes ;;
11205 esac
11206
11207 # See if GNU ld supports shared libraries.
11208 case $host_os in
11209 aix[3-9]*)
11210 # On AIX/PPC, the GNU linker is very broken
11211 if test ia64 != "$host_cpu"; then
11212 ld_shlibs=no
11213 cat <<_LT_EOF 1>&2
11214
11215 *** Warning: the GNU linker, at least up to release 2.19, is reported
11216 *** to be unable to reliably create shared libraries on AIX.
11217 *** Therefore, libtool is disabling shared libraries support. If you
11218 *** really care for shared libraries, you may want to install binutils
11219 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11220 *** You will then need to restart the configuration process.
11221
11222 _LT_EOF
11223 fi
11224 ;;
11225
11226 amigaos*)
11227 case $host_cpu in
11228 powerpc)
11229 # see comment about AmigaOS4 .so support
11230 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11231 archive_expsym_cmds=''
11232 ;;
11233 m68k)
11234 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)'
11235 hardcode_libdir_flag_spec='-L$libdir'
11236 hardcode_minus_L=yes
11237 ;;
11238 esac
11239 ;;
11240
11241 beos*)
11242 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11243 allow_undefined_flag=unsupported
11244 # Joseph Beckenbach <[email protected]> says some releases of gcc
11245 # support --undefined. This deserves some investigation. FIXME
11246 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11247 else
11248 ld_shlibs=no
11249 fi
11250 ;;
11251
11252 cygwin* | mingw* | windows* | pw32* | cegcc*)
11253 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11254 # as there is no search path for DLLs.
11255 hardcode_libdir_flag_spec='-L$libdir'
11256 export_dynamic_flag_spec='$wl--export-all-symbols'
11257 allow_undefined_flag=unsupported
11258 always_export_symbols=no
11259 enable_shared_with_static_runtimes=yes
11260 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'
11261 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11262 file_list_spec='@'
11263
11264 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11265 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11266 # If the export-symbols file already is a .def file, use it as
11267 # is; otherwise, prepend EXPORTS...
11268 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11269 cp $export_symbols $output_objdir/$soname.def;
11270 else
11271 echo EXPORTS > $output_objdir/$soname.def;
11272 cat $export_symbols >> $output_objdir/$soname.def;
11273 fi~
11274 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11275 else
11276 ld_shlibs=no
11277 fi
11278 ;;
11279
11280 haiku*)
11281 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11282 link_all_deplibs=no
11283 ;;
11284
11285 os2*)
11286 hardcode_libdir_flag_spec='-L$libdir'
11287 hardcode_minus_L=yes
11288 allow_undefined_flag=unsupported
11289 shrext_cmds=.dll
11290 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11291 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11292 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11293 $ECHO EXPORTS >> $output_objdir/$libname.def~
11294 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11295 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11296 emximp -o $lib $output_objdir/$libname.def'
11297 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11298 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11299 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11300 $ECHO EXPORTS >> $output_objdir/$libname.def~
11301 prefix_cmds="$SED"~
11302 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11303 prefix_cmds="$prefix_cmds -e 1d";
11304 fi~
11305 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11306 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11307 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11308 emximp -o $lib $output_objdir/$libname.def'
11309 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11310 enable_shared_with_static_runtimes=yes
11311 file_list_spec='@'
11312 ;;
11313
11314 interix[3-9]*)
11315 hardcode_direct=no
11316 hardcode_shlibpath_var=no
11317 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11318 export_dynamic_flag_spec='$wl-E'
11319 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11320 # Instead, shared libraries are loaded at an image base (0x10000000 by
11321 # default) and relocated if they conflict, which is a slow very memory
11322 # consuming and fragmenting process. To avoid this, we pick a random,
11323 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11324 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11325 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11326 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'
11327 ;;
11328
11329 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11330 tmp_diet=no
11331 if test linux-dietlibc = "$host_os"; then
11332 case $cc_basename in
11333 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11334 esac
11335 fi
11336 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11337 && test no = "$tmp_diet"
11338 then
11339 tmp_addflag=' $pic_flag'
11340 tmp_sharedflag='-shared'
11341 case $cc_basename,$host_cpu in
11342 pgcc*) # Portland Group C compiler
11343 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'
11344 tmp_addflag=' $pic_flag'
11345 ;;
11346 pgf77* | pgf90* | pgf95* | pgfortran*)
11347 # Portland Group f77 and f90 compilers
11348 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'
11349 tmp_addflag=' $pic_flag -Mnomain' ;;
11350 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11351 tmp_addflag=' -i_dynamic' ;;
11352 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11353 tmp_addflag=' -i_dynamic -nofor_main' ;;
11354 ifc* | ifort*) # Intel Fortran compiler
11355 tmp_addflag=' -nofor_main' ;;
11356 lf95*) # Lahey Fortran 8.1
11357 whole_archive_flag_spec=
11358 tmp_sharedflag='--shared' ;;
11359 nagfor*) # NAGFOR 5.3
11360 tmp_sharedflag='-Wl,-shared' ;;
11361 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11362 tmp_sharedflag='-qmkshrobj'
11363 tmp_addflag= ;;
11364 nvcc*) # Cuda Compiler Driver 2.2
11365 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'
11366 compiler_needs_object=yes
11367 ;;
11368 esac
11369 case `$CC -V 2>&1 | $SED 5q` in
11370 *Sun\ C*) # Sun C 5.9
11371 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'
11372 compiler_needs_object=yes
11373 tmp_sharedflag='-G' ;;
11374 *Sun\ F*) # Sun Fortran 8.3
11375 tmp_sharedflag='-G' ;;
11376 esac
11377 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11378
11379 if test yes = "$supports_anon_versioning"; then
11380 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11381 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11382 echo "local: *; };" >> $output_objdir/$libname.ver~
11383 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11384 fi
11385
11386 case $cc_basename in
11387 tcc*)
11388 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11389 export_dynamic_flag_spec='-rdynamic'
11390 ;;
11391 xlf* | bgf* | bgxlf* | mpixlf*)
11392 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11393 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11394 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11395 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11396 if test yes = "$supports_anon_versioning"; then
11397 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11398 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11399 echo "local: *; };" >> $output_objdir/$libname.ver~
11400 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11401 fi
11402 ;;
11403 esac
11404 else
11405 ld_shlibs=no
11406 fi
11407 ;;
11408
11409 *-mlibc)
11410 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11411 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11412 ;;
11413
11414 netbsd* | netbsdelf*-gnu)
11415 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11416 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11417 wlarc=
11418 else
11419 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11420 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11421 fi
11422 ;;
11423
11424 solaris*)
11425 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11426 ld_shlibs=no
11427 cat <<_LT_EOF 1>&2
11428
11429 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11430 *** create shared libraries on Solaris systems. Therefore, libtool
11431 *** is disabling shared libraries support. We urge you to upgrade GNU
11432 *** binutils to release 2.9.1 or newer. Another option is to modify
11433 *** your PATH or compiler configuration so that the native linker is
11434 *** used, and then restart.
11435
11436 _LT_EOF
11437 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11438 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11439 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11440 else
11441 ld_shlibs=no
11442 fi
11443 ;;
11444
11445 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11446 case `$LD -v 2>&1` in
11447 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11448 ld_shlibs=no
11449 cat <<_LT_EOF 1>&2
11450
11451 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11452 *** reliably create shared libraries on SCO systems. Therefore, libtool
11453 *** is disabling shared libraries support. We urge you to upgrade GNU
11454 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11455 *** your PATH or compiler configuration so that the native linker is
11456 *** used, and then restart.
11457
11458 _LT_EOF
11459 ;;
11460 *)
11461 # For security reasons, it is highly recommended that you always
11462 # use absolute paths for naming shared libraries, and exclude the
11463 # DT_RUNPATH tag from executables and libraries. But doing so
11464 # requires that you compile everything twice, which is a pain.
11465 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11466 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11467 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11468 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11469 else
11470 ld_shlibs=no
11471 fi
11472 ;;
11473 esac
11474 ;;
11475
11476 sunos4*)
11477 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11478 wlarc=
11479 hardcode_direct=yes
11480 hardcode_shlibpath_var=no
11481 ;;
11482
11483 *)
11484 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11485 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11486 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11487 else
11488 ld_shlibs=no
11489 fi
11490 ;;
11491 esac
11492
11493 if test no = "$ld_shlibs"; then
11494 runpath_var=
11495 hardcode_libdir_flag_spec=
11496 export_dynamic_flag_spec=
11497 whole_archive_flag_spec=
11498 fi
11499 else
11500 # PORTME fill in a description of your system's linker (not GNU ld)
11501 case $host_os in
11502 aix3*)
11503 allow_undefined_flag=unsupported
11504 always_export_symbols=yes
11505 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'
11506 # Note: this linker hardcodes the directories in LIBPATH if there
11507 # are no directories specified by -L.
11508 hardcode_minus_L=yes
11509 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11510 # Neither direct hardcoding nor static linking is supported with a
11511 # broken collect2.
11512 hardcode_direct=unsupported
11513 fi
11514 ;;
11515
11516 aix[4-9]*)
11517 if test ia64 = "$host_cpu"; then
11518 # On IA64, the linker does run time linking by default, so we don't
11519 # have to do anything special.
11520 aix_use_runtimelinking=no
11521 exp_sym_flag='-Bexport'
11522 no_entry_flag=
11523 else
11524 # If we're using GNU nm, then we don't want the "-C" option.
11525 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11526 # Without the "-l" option, or with the "-B" option, AIX nm treats
11527 # weak defined symbols like other global defined symbols, whereas
11528 # GNU nm marks them as "W".
11529 # While the 'weak' keyword is ignored in the Export File, we need
11530 # it in the Import File for the 'aix-soname' feature, so we have
11531 # to replace the "-B" option with "-P" for AIX nm.
11532 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11533 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'
11534 else
11535 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'
11536 fi
11537 aix_use_runtimelinking=no
11538
11539 # Test if we are trying to use run time linking or normal
11540 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11541 # have runtime linking enabled, and use it for executables.
11542 # For shared libraries, we enable/disable runtime linking
11543 # depending on the kind of the shared library created -
11544 # when "with_aix_soname,aix_use_runtimelinking" is:
11545 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11546 # "aix,yes" lib.so shared, rtl:yes, for executables
11547 # lib.a static archive
11548 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11549 # lib.a(lib.so.V) shared, rtl:no, for executables
11550 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11551 # lib.a(lib.so.V) shared, rtl:no
11552 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11553 # lib.a static archive
11554 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11555 for ld_flag in $LDFLAGS; do
11556 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11557 aix_use_runtimelinking=yes
11558 break
11559 fi
11560 done
11561 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11562 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11563 # so we don't have lib.a shared libs to link our executables.
11564 # We have to force runtime linking in this case.
11565 aix_use_runtimelinking=yes
11566 LDFLAGS="$LDFLAGS -Wl,-brtl"
11567 fi
11568 ;;
11569 esac
11570
11571 exp_sym_flag='-bexport'
11572 no_entry_flag='-bnoentry'
11573 fi
11574
11575 # When large executables or shared objects are built, AIX ld can
11576 # have problems creating the table of contents. If linking a library
11577 # or program results in "error TOC overflow" add -mminimal-toc to
11578 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11579 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11580
11581 archive_cmds=''
11582 hardcode_direct=yes
11583 hardcode_direct_absolute=yes
11584 hardcode_libdir_separator=':'
11585 link_all_deplibs=yes
11586 file_list_spec='$wl-f,'
11587 case $with_aix_soname,$aix_use_runtimelinking in
11588 aix,*) ;; # traditional, no import file
11589 svr4,* | *,yes) # use import file
11590 # The Import File defines what to hardcode.
11591 hardcode_direct=no
11592 hardcode_direct_absolute=no
11593 ;;
11594 esac
11595
11596 if test yes = "$GCC"; then
11597 case $host_os in aix4.[012]|aix4.[012].*)
11598 # We only want to do this on AIX 4.2 and lower, the check
11599 # below for broken collect2 doesn't work under 4.3+
11600 collect2name=`$CC -print-prog-name=collect2`
11601 if test -f "$collect2name" &&
11602 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11603 then
11604 # We have reworked collect2
11605 :
11606 else
11607 # We have old collect2
11608 hardcode_direct=unsupported
11609 # It fails to find uninstalled libraries when the uninstalled
11610 # path is not listed in the libpath. Setting hardcode_minus_L
11611 # to unsupported forces relinking
11612 hardcode_minus_L=yes
11613 hardcode_libdir_flag_spec='-L$libdir'
11614 hardcode_libdir_separator=
11615 fi
11616 ;;
11617 esac
11618 shared_flag='-shared'
11619 if test yes = "$aix_use_runtimelinking"; then
11620 shared_flag="$shared_flag "'$wl-G'
11621 fi
11622 # Need to ensure runtime linking is disabled for the traditional
11623 # shared library, or the linker may eventually find shared libraries
11624 # /with/ Import File - we do not want to mix them.
11625 shared_flag_aix='-shared'
11626 shared_flag_svr4='-shared $wl-G'
11627 else
11628 # not using gcc
11629 if test ia64 = "$host_cpu"; then
11630 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11631 # chokes on -Wl,-G. The following line is correct:
11632 shared_flag='-G'
11633 else
11634 if test yes = "$aix_use_runtimelinking"; then
11635 shared_flag='$wl-G'
11636 else
11637 shared_flag='$wl-bM:SRE'
11638 fi
11639 shared_flag_aix='$wl-bM:SRE'
11640 shared_flag_svr4='$wl-G'
11641 fi
11642 fi
11643
11644 export_dynamic_flag_spec='$wl-bexpall'
11645 # It seems that -bexpall does not export symbols beginning with
11646 # underscore (_), so it is better to generate a list of symbols to export.
11647 always_export_symbols=yes
11648 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11649 # Warning - without using the other runtime loading flags (-brtl),
11650 # -berok will link without error, but may produce a broken library.
11651 allow_undefined_flag='-berok'
11652 # Determine the default libpath from the value encoded in an
11653 # empty executable.
11654 if test set = "${lt_cv_aix_libpath+set}"; then
11655 aix_libpath=$lt_cv_aix_libpath
11656 else
11657 if test ${lt_cv_aix_libpath_+y}
11658 then :
11659 printf %s "(cached) " >&6
11660 else case e in #(
11661 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11663
11664 int
11665 main (void)
11666 {
11667
11668 ;
11669 return 0;
11670 }
11671 _ACEOF
11672 if ac_fn_c_try_link "$LINENO"
11673 then :
11674
11675 lt_aix_libpath_sed='
11676 /Import File Strings/,/^$/ {
11677 /^0/ {
11678 s/^0 *\([^ ]*\) *$/\1/
11679 p
11680 }
11681 }'
11682 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11683 # Check for a 64-bit object if we didn't find anything.
11684 if test -z "$lt_cv_aix_libpath_"; then
11685 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11686 fi
11687 fi
11688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11689 conftest$ac_exeext conftest.$ac_ext
11690 if test -z "$lt_cv_aix_libpath_"; then
11691 lt_cv_aix_libpath_=/usr/lib:/lib
11692 fi
11693 ;;
11694 esac
11695 fi
11696
11697 aix_libpath=$lt_cv_aix_libpath_
11698 fi
11699
11700 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11701 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
11702 else
11703 if test ia64 = "$host_cpu"; then
11704 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11705 allow_undefined_flag="-z nodefs"
11706 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"
11707 else
11708 # Determine the default libpath from the value encoded in an
11709 # empty executable.
11710 if test set = "${lt_cv_aix_libpath+set}"; then
11711 aix_libpath=$lt_cv_aix_libpath
11712 else
11713 if test ${lt_cv_aix_libpath_+y}
11714 then :
11715 printf %s "(cached) " >&6
11716 else case e in #(
11717 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11719
11720 int
11721 main (void)
11722 {
11723
11724 ;
11725 return 0;
11726 }
11727 _ACEOF
11728 if ac_fn_c_try_link "$LINENO"
11729 then :
11730
11731 lt_aix_libpath_sed='
11732 /Import File Strings/,/^$/ {
11733 /^0/ {
11734 s/^0 *\([^ ]*\) *$/\1/
11735 p
11736 }
11737 }'
11738 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11739 # Check for a 64-bit object if we didn't find anything.
11740 if test -z "$lt_cv_aix_libpath_"; then
11741 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11742 fi
11743 fi
11744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11745 conftest$ac_exeext conftest.$ac_ext
11746 if test -z "$lt_cv_aix_libpath_"; then
11747 lt_cv_aix_libpath_=/usr/lib:/lib
11748 fi
11749 ;;
11750 esac
11751 fi
11752
11753 aix_libpath=$lt_cv_aix_libpath_
11754 fi
11755
11756 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11757 # Warning - without using the other run time loading flags,
11758 # -berok will link without error, but may produce a broken library.
11759 no_undefined_flag=' $wl-bernotok'
11760 allow_undefined_flag=' $wl-berok'
11761 if test yes = "$with_gnu_ld"; then
11762 # We only use this code for GNU lds that support --whole-archive.
11763 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11764 else
11765 # Exported symbols can be pulled into shared objects from archives
11766 whole_archive_flag_spec='$convenience'
11767 fi
11768 archive_cmds_need_lc=yes
11769 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11770 # -brtl affects multiple linker settings, -berok does not and is overridden later
11771 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11772 if test svr4 != "$with_aix_soname"; then
11773 # This is similar to how AIX traditionally builds its shared libraries.
11774 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'
11775 fi
11776 if test aix != "$with_aix_soname"; then
11777 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'
11778 else
11779 # used by -dlpreopen to get the symbols
11780 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11781 fi
11782 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11783 fi
11784 fi
11785 ;;
11786
11787 amigaos*)
11788 case $host_cpu in
11789 powerpc)
11790 # see comment about AmigaOS4 .so support
11791 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11792 archive_expsym_cmds=''
11793 ;;
11794 m68k)
11795 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)'
11796 hardcode_libdir_flag_spec='-L$libdir'
11797 hardcode_minus_L=yes
11798 ;;
11799 esac
11800 ;;
11801
11802 bsdi[45]*)
11803 export_dynamic_flag_spec=-rdynamic
11804 ;;
11805
11806 cygwin* | mingw* | windows* | pw32* | cegcc*)
11807 # When not using gcc, we currently assume that we are using
11808 # Microsoft Visual C++ or Intel C++ Compiler.
11809 # hardcode_libdir_flag_spec is actually meaningless, as there is
11810 # no search path for DLLs.
11811 case $cc_basename in
11812 cl* | icl*)
11813 # Native MSVC or ICC
11814 hardcode_libdir_flag_spec=' '
11815 allow_undefined_flag=unsupported
11816 always_export_symbols=yes
11817 file_list_spec='@'
11818 # Tell ltmain to make .lib files, not .a files.
11819 libext=lib
11820 # Tell ltmain to make .dll files, not .so files.
11821 shrext_cmds=.dll
11822 # FIXME: Setting linknames here is a bad hack.
11823 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11824 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11825 cp "$export_symbols" "$output_objdir/$soname.def";
11826 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11827 else
11828 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11829 fi~
11830 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11831 linknames='
11832 # The linker will not automatically build a static lib if we build a DLL.
11833 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11834 enable_shared_with_static_runtimes=yes
11835 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11836 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11837 # Don't use ranlib
11838 old_postinstall_cmds='chmod 644 $oldlib'
11839 postlink_cmds='lt_outputfile="@OUTPUT@"~
11840 lt_tool_outputfile="@TOOL_OUTPUT@"~
11841 case $lt_outputfile in
11842 *.exe|*.EXE) ;;
11843 *)
11844 lt_outputfile=$lt_outputfile.exe
11845 lt_tool_outputfile=$lt_tool_outputfile.exe
11846 ;;
11847 esac~
11848 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11849 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11850 $RM "$lt_outputfile.manifest";
11851 fi'
11852 ;;
11853 *)
11854 # Assume MSVC and ICC wrapper
11855 hardcode_libdir_flag_spec=' '
11856 allow_undefined_flag=unsupported
11857 # Tell ltmain to make .lib files, not .a files.
11858 libext=lib
11859 # Tell ltmain to make .dll files, not .so files.
11860 shrext_cmds=.dll
11861 # FIXME: Setting linknames here is a bad hack.
11862 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11863 # The linker will automatically build a .lib file if we build a DLL.
11864 old_archive_from_new_cmds='true'
11865 # FIXME: Should let the user specify the lib program.
11866 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11867 enable_shared_with_static_runtimes=yes
11868 ;;
11869 esac
11870 ;;
11871
11872 darwin* | rhapsody*)
11873
11874
11875 archive_cmds_need_lc=no
11876 hardcode_direct=no
11877 hardcode_automatic=yes
11878 hardcode_shlibpath_var=unsupported
11879 if test yes = "$lt_cv_ld_force_load"; then
11880 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\"`'
11881
11882 else
11883 whole_archive_flag_spec=''
11884 fi
11885 link_all_deplibs=yes
11886 allow_undefined_flag=$_lt_dar_allow_undefined
11887 case $cc_basename in
11888 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11889 *) _lt_dar_can_shared=$GCC ;;
11890 esac
11891 if test yes = "$_lt_dar_can_shared"; then
11892 output_verbose_link_cmd=func_echo_all
11893 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11894 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11895 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"
11896 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"
11897
11898 else
11899 ld_shlibs=no
11900 fi
11901
11902 ;;
11903
11904 dgux*)
11905 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11906 hardcode_libdir_flag_spec='-L$libdir'
11907 hardcode_shlibpath_var=no
11908 ;;
11909
11910 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11911 # support. Future versions do this automatically, but an explicit c++rt0.o
11912 # does not break anything, and helps significantly (at the cost of a little
11913 # extra space).
11914 freebsd2.2*)
11915 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11916 hardcode_libdir_flag_spec='-R$libdir'
11917 hardcode_direct=yes
11918 hardcode_shlibpath_var=no
11919 ;;
11920
11921 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11922 freebsd2.*)
11923 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11924 hardcode_direct=yes
11925 hardcode_minus_L=yes
11926 hardcode_shlibpath_var=no
11927 ;;
11928
11929 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11930 freebsd* | dragonfly* | midnightbsd*)
11931 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11932 hardcode_libdir_flag_spec='-R$libdir'
11933 hardcode_direct=yes
11934 hardcode_shlibpath_var=no
11935 ;;
11936
11937 hpux9*)
11938 if test yes = "$GCC"; then
11939 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'
11940 else
11941 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'
11942 fi
11943 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11944 hardcode_libdir_separator=:
11945 hardcode_direct=yes
11946
11947 # hardcode_minus_L: Not really in the search PATH,
11948 # but as the default location of the library.
11949 hardcode_minus_L=yes
11950 export_dynamic_flag_spec='$wl-E'
11951 ;;
11952
11953 hpux10*)
11954 if test yes,no = "$GCC,$with_gnu_ld"; then
11955 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11956 else
11957 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11958 fi
11959 if test no = "$with_gnu_ld"; then
11960 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11961 hardcode_libdir_separator=:
11962 hardcode_direct=yes
11963 hardcode_direct_absolute=yes
11964 export_dynamic_flag_spec='$wl-E'
11965 # hardcode_minus_L: Not really in the search PATH,
11966 # but as the default location of the library.
11967 hardcode_minus_L=yes
11968 fi
11969 ;;
11970
11971 hpux11*)
11972 if test yes,no = "$GCC,$with_gnu_ld"; then
11973 case $host_cpu in
11974 hppa*64*)
11975 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11976 ;;
11977 ia64*)
11978 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11979 ;;
11980 *)
11981 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11982 ;;
11983 esac
11984 else
11985 case $host_cpu in
11986 hppa*64*)
11987 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11988 ;;
11989 ia64*)
11990 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11991 ;;
11992 *)
11993
11994 # Older versions of the 11.00 compiler do not understand -b yet
11995 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11997 printf %s "checking if $CC understands -b... " >&6; }
11998 if test ${lt_cv_prog_compiler__b+y}
11999 then :
12000 printf %s "(cached) " >&6
12001 else case e in #(
12002 e) lt_cv_prog_compiler__b=no
12003 save_LDFLAGS=$LDFLAGS
12004 LDFLAGS="$LDFLAGS -b"
12005 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12006 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12007 # The linker can only warn and ignore the option if not recognized
12008 # So say no if there are warnings
12009 if test -s conftest.err; then
12010 # Append any errors to the config.log.
12011 cat conftest.err 1>&5
12012 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12013 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12014 if diff conftest.exp conftest.er2 >/dev/null; then
12015 lt_cv_prog_compiler__b=yes
12016 fi
12017 else
12018 lt_cv_prog_compiler__b=yes
12019 fi
12020 fi
12021 $RM -r conftest*
12022 LDFLAGS=$save_LDFLAGS
12023 ;;
12024 esac
12025 fi
12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12027 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12028
12029 if test yes = "$lt_cv_prog_compiler__b"; then
12030 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12031 else
12032 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12033 fi
12034
12035 ;;
12036 esac
12037 fi
12038 if test no = "$with_gnu_ld"; then
12039 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12040 hardcode_libdir_separator=:
12041
12042 case $host_cpu in
12043 hppa*64*|ia64*)
12044 hardcode_direct=no
12045 hardcode_shlibpath_var=no
12046 ;;
12047 *)
12048 hardcode_direct=yes
12049 hardcode_direct_absolute=yes
12050 export_dynamic_flag_spec='$wl-E'
12051
12052 # hardcode_minus_L: Not really in the search PATH,
12053 # but as the default location of the library.
12054 hardcode_minus_L=yes
12055 ;;
12056 esac
12057 fi
12058 ;;
12059
12060 irix5* | irix6* | nonstopux*)
12061 if test yes = "$GCC"; then
12062 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'
12063 # Try to use the -exported_symbol ld option, if it does not
12064 # work, assume that -exports_file does not work either and
12065 # implicitly export all symbols.
12066 # This should be the same for all languages, so no per-tag cache variable.
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12068 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12069 if test ${lt_cv_irix_exported_symbol+y}
12070 then :
12071 printf %s "(cached) " >&6
12072 else case e in #(
12073 e) save_LDFLAGS=$LDFLAGS
12074 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12077 int foo (void) { return 0; }
12078 _ACEOF
12079 if ac_fn_c_try_link "$LINENO"
12080 then :
12081 lt_cv_irix_exported_symbol=yes
12082 else case e in #(
12083 e) lt_cv_irix_exported_symbol=no ;;
12084 esac
12085 fi
12086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12087 conftest$ac_exeext conftest.$ac_ext
12088 LDFLAGS=$save_LDFLAGS ;;
12089 esac
12090 fi
12091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12092 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12093 if test yes = "$lt_cv_irix_exported_symbol"; then
12094 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'
12095 fi
12096 else
12097 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'
12098 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'
12099 fi
12100 archive_cmds_need_lc='no'
12101 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12102 hardcode_libdir_separator=:
12103 inherit_rpath=yes
12104 link_all_deplibs=yes
12105 ;;
12106
12107 linux*)
12108 case $cc_basename in
12109 tcc*)
12110 # Fabrice Bellard et al's Tiny C Compiler
12111 ld_shlibs=yes
12112 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12113 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12114 ;;
12115 esac
12116 ;;
12117
12118 *-mlibc)
12119 ;;
12120
12121 netbsd* | netbsdelf*-gnu)
12122 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12123 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12124 else
12125 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12126 fi
12127 hardcode_libdir_flag_spec='-R$libdir'
12128 hardcode_direct=yes
12129 hardcode_shlibpath_var=no
12130 ;;
12131
12132 newsos6)
12133 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12134 hardcode_direct=yes
12135 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12136 hardcode_libdir_separator=:
12137 hardcode_shlibpath_var=no
12138 ;;
12139
12140 *nto* | *qnx*)
12141 ;;
12142
12143 openbsd*)
12144 if test -f /usr/libexec/ld.so; then
12145 hardcode_direct=yes
12146 hardcode_shlibpath_var=no
12147 hardcode_direct_absolute=yes
12148 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12149 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12150 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12151 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12152 export_dynamic_flag_spec='$wl-E'
12153 else
12154 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12155 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12156 fi
12157 else
12158 ld_shlibs=no
12159 fi
12160 ;;
12161
12162 os2*)
12163 hardcode_libdir_flag_spec='-L$libdir'
12164 hardcode_minus_L=yes
12165 allow_undefined_flag=unsupported
12166 shrext_cmds=.dll
12167 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12168 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12169 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12170 $ECHO EXPORTS >> $output_objdir/$libname.def~
12171 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12172 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12173 emximp -o $lib $output_objdir/$libname.def'
12174 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12175 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12176 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12177 $ECHO EXPORTS >> $output_objdir/$libname.def~
12178 prefix_cmds="$SED"~
12179 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12180 prefix_cmds="$prefix_cmds -e 1d";
12181 fi~
12182 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12183 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12184 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12185 emximp -o $lib $output_objdir/$libname.def'
12186 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12187 enable_shared_with_static_runtimes=yes
12188 file_list_spec='@'
12189 ;;
12190
12191 osf3*)
12192 if test yes = "$GCC"; then
12193 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12194 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'
12195 else
12196 allow_undefined_flag=' -expect_unresolved \*'
12197 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'
12198 fi
12199 archive_cmds_need_lc='no'
12200 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12201 hardcode_libdir_separator=:
12202 ;;
12203
12204 osf4* | osf5*) # as osf3* with the addition of -msym flag
12205 if test yes = "$GCC"; then
12206 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12207 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'
12208 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12209 else
12210 allow_undefined_flag=' -expect_unresolved \*'
12211 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'
12212 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~
12213 $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'
12214
12215 # Both c and cxx compiler support -rpath directly
12216 hardcode_libdir_flag_spec='-rpath $libdir'
12217 fi
12218 archive_cmds_need_lc='no'
12219 hardcode_libdir_separator=:
12220 ;;
12221
12222 serenity*)
12223 ;;
12224
12225 solaris*)
12226 no_undefined_flag=' -z defs'
12227 if test yes = "$GCC"; then
12228 wlarc='$wl'
12229 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12230 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12231 $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'
12232 else
12233 case `$CC -V 2>&1` in
12234 *"Compilers 5.0"*)
12235 wlarc=''
12236 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12237 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12238 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12239 ;;
12240 *)
12241 wlarc='$wl'
12242 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12243 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12244 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12245 ;;
12246 esac
12247 fi
12248 hardcode_libdir_flag_spec='-R$libdir'
12249 hardcode_shlibpath_var=no
12250 case $host_os in
12251 solaris2.[0-5] | solaris2.[0-5].*) ;;
12252 *)
12253 # The compiler driver will combine and reorder linker options,
12254 # but understands '-z linker_flag'. GCC discards it without '$wl',
12255 # but is careful enough not to reorder.
12256 # Supported since Solaris 2.6 (maybe 2.5.1?)
12257 if test yes = "$GCC"; then
12258 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12259 else
12260 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12261 fi
12262 ;;
12263 esac
12264 link_all_deplibs=yes
12265 ;;
12266
12267 sunos4*)
12268 if test sequent = "$host_vendor"; then
12269 # Use $CC to link under sequent, because it throws in some extra .o
12270 # files that make .init and .fini sections work.
12271 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12272 else
12273 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12274 fi
12275 hardcode_libdir_flag_spec='-L$libdir'
12276 hardcode_direct=yes
12277 hardcode_minus_L=yes
12278 hardcode_shlibpath_var=no
12279 ;;
12280
12281 sysv4)
12282 case $host_vendor in
12283 sni)
12284 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12285 hardcode_direct=yes # is this really true???
12286 ;;
12287 siemens)
12288 ## LD is ld it makes a PLAMLIB
12289 ## CC just makes a GrossModule.
12290 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12291 reload_cmds='$CC -r -o $output$reload_objs'
12292 hardcode_direct=no
12293 ;;
12294 motorola)
12295 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12296 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12297 ;;
12298 esac
12299 runpath_var='LD_RUN_PATH'
12300 hardcode_shlibpath_var=no
12301 ;;
12302
12303 sysv4.3*)
12304 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12305 hardcode_shlibpath_var=no
12306 export_dynamic_flag_spec='-Bexport'
12307 ;;
12308
12309 sysv4*MP*)
12310 if test -d /usr/nec; then
12311 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12312 hardcode_shlibpath_var=no
12313 runpath_var=LD_RUN_PATH
12314 hardcode_runpath_var=yes
12315 ld_shlibs=yes
12316 fi
12317 ;;
12318
12319 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12320 no_undefined_flag='$wl-z,text'
12321 archive_cmds_need_lc=no
12322 hardcode_shlibpath_var=no
12323 runpath_var='LD_RUN_PATH'
12324
12325 if test yes = "$GCC"; then
12326 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12327 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12328 else
12329 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12330 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12331 fi
12332 ;;
12333
12334 sysv5* | sco3.2v5* | sco5v6*)
12335 # Note: We CANNOT use -z defs as we might desire, because we do not
12336 # link with -lc, and that would cause any symbols used from libc to
12337 # always be unresolved, which means just about no library would
12338 # ever link correctly. If we're not using GNU ld we use -z text
12339 # though, which does catch some bad symbols but isn't as heavy-handed
12340 # as -z defs.
12341 no_undefined_flag='$wl-z,text'
12342 allow_undefined_flag='$wl-z,nodefs'
12343 archive_cmds_need_lc=no
12344 hardcode_shlibpath_var=no
12345 hardcode_libdir_flag_spec='$wl-R,$libdir'
12346 hardcode_libdir_separator=':'
12347 link_all_deplibs=yes
12348 export_dynamic_flag_spec='$wl-Bexport'
12349 runpath_var='LD_RUN_PATH'
12350
12351 if test yes = "$GCC"; then
12352 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12353 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12354 else
12355 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12356 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12357 fi
12358 ;;
12359
12360 uts4*)
12361 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12362 hardcode_libdir_flag_spec='-L$libdir'
12363 hardcode_shlibpath_var=no
12364 ;;
12365
12366 *)
12367 ld_shlibs=no
12368 ;;
12369 esac
12370
12371 if test sni = "$host_vendor"; then
12372 case $host in
12373 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12374 export_dynamic_flag_spec='$wl-Blargedynsym'
12375 ;;
12376 esac
12377 fi
12378 fi
12379
12380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12381 printf "%s\n" "$ld_shlibs" >&6; }
12382 test no = "$ld_shlibs" && can_build_shared=no
12383
12384 with_gnu_ld=$with_gnu_ld
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400 #
12401 # Do we need to explicitly link libc?
12402 #
12403 case "x$archive_cmds_need_lc" in
12404 x|xyes)
12405 # Assume -lc should be added
12406 archive_cmds_need_lc=yes
12407
12408 if test yes,yes = "$GCC,$enable_shared"; then
12409 case $archive_cmds in
12410 *'~'*)
12411 # FIXME: we may have to deal with multi-command sequences.
12412 ;;
12413 '$CC '*)
12414 # Test whether the compiler implicitly links with -lc since on some
12415 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12416 # to ld, don't add -lc before -lgcc.
12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12418 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12419 if test ${lt_cv_archive_cmds_need_lc+y}
12420 then :
12421 printf %s "(cached) " >&6
12422 else case e in #(
12423 e) $RM conftest*
12424 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12425
12426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12427 (eval $ac_compile) 2>&5
12428 ac_status=$?
12429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12430 test $ac_status = 0; } 2>conftest.err; then
12431 soname=conftest
12432 lib=conftest
12433 libobjs=conftest.$ac_objext
12434 deplibs=
12435 wl=$lt_prog_compiler_wl
12436 pic_flag=$lt_prog_compiler_pic
12437 compiler_flags=-v
12438 linker_flags=-v
12439 verstring=
12440 output_objdir=.
12441 libname=conftest
12442 lt_save_allow_undefined_flag=$allow_undefined_flag
12443 allow_undefined_flag=
12444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12445 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12446 ac_status=$?
12447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12448 test $ac_status = 0; }
12449 then
12450 lt_cv_archive_cmds_need_lc=no
12451 else
12452 lt_cv_archive_cmds_need_lc=yes
12453 fi
12454 allow_undefined_flag=$lt_save_allow_undefined_flag
12455 else
12456 cat conftest.err 1>&5
12457 fi
12458 $RM conftest*
12459 ;;
12460 esac
12461 fi
12462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12463 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12464 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12465 ;;
12466 esac
12467 fi
12468 ;;
12469 esac
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12623 printf %s "checking dynamic linker characteristics... " >&6; }
12624
12625 if test yes = "$GCC"; then
12626 case $host_os in
12627 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12628 *) lt_awk_arg='/^libraries:/' ;;
12629 esac
12630 case $host_os in
12631 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12632 *) lt_sed_strip_eq='s|=/|/|g' ;;
12633 esac
12634 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12635 case $lt_search_path_spec in
12636 *\;*)
12637 # if the path contains ";" then we assume it to be the separator
12638 # otherwise default to the standard path separator (i.e. ":") - it is
12639 # assumed that no part of a normal pathname contains ";" but that should
12640 # okay in the real world where ";" in dirpaths is itself problematic.
12641 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12642 ;;
12643 *)
12644 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12645 ;;
12646 esac
12647 # Ok, now we have the path, separated by spaces, we can step through it
12648 # and add multilib dir if necessary...
12649 lt_tmp_lt_search_path_spec=
12650 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12651 # ...but if some path component already ends with the multilib dir we assume
12652 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12653 case "$lt_multi_os_dir; $lt_search_path_spec " in
12654 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12655 lt_multi_os_dir=
12656 ;;
12657 esac
12658 for lt_sys_path in $lt_search_path_spec; do
12659 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12660 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12661 elif test -n "$lt_multi_os_dir"; then
12662 test -d "$lt_sys_path" && \
12663 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12664 fi
12665 done
12666 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12667 BEGIN {RS = " "; FS = "/|\n";} {
12668 lt_foo = "";
12669 lt_count = 0;
12670 for (lt_i = NF; lt_i > 0; lt_i--) {
12671 if ($lt_i != "" && $lt_i != ".") {
12672 if ($lt_i == "..") {
12673 lt_count++;
12674 } else {
12675 if (lt_count == 0) {
12676 lt_foo = "/" $lt_i lt_foo;
12677 } else {
12678 lt_count--;
12679 }
12680 }
12681 }
12682 }
12683 if (lt_foo != "") { lt_freq[lt_foo]++; }
12684 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12685 }'`
12686 # AWK program above erroneously prepends '/' to C:/dos/paths
12687 # for these hosts.
12688 case $host_os in
12689 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12690 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12691 esac
12692 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12693 else
12694 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12695 fi
12696 library_names_spec=
12697 libname_spec='lib$name'
12698 soname_spec=
12699 shrext_cmds=.so
12700 postinstall_cmds=
12701 postuninstall_cmds=
12702 finish_cmds=
12703 finish_eval=
12704 shlibpath_var=
12705 shlibpath_overrides_runpath=unknown
12706 version_type=none
12707 dynamic_linker="$host_os ld.so"
12708 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12709 need_lib_prefix=unknown
12710 hardcode_into_libs=no
12711
12712 # when you set need_version to no, make sure it does not cause -set_version
12713 # flags to be left without arguments
12714 need_version=unknown
12715
12716
12717
12718 case $host_os in
12719 aix3*)
12720 version_type=linux # correct to gnu/linux during the next big refactor
12721 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12722 shlibpath_var=LIBPATH
12723
12724 # AIX 3 has no versioning support, so we append a major version to the name.
12725 soname_spec='$libname$release$shared_ext$major'
12726 ;;
12727
12728 aix[4-9]*)
12729 version_type=linux # correct to gnu/linux during the next big refactor
12730 need_lib_prefix=no
12731 need_version=no
12732 hardcode_into_libs=yes
12733 if test ia64 = "$host_cpu"; then
12734 # AIX 5 supports IA64
12735 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12736 shlibpath_var=LD_LIBRARY_PATH
12737 else
12738 # With GCC up to 2.95.x, collect2 would create an import file
12739 # for dependence libraries. The import file would start with
12740 # the line '#! .'. This would cause the generated library to
12741 # depend on '.', always an invalid library. This was fixed in
12742 # development snapshots of GCC prior to 3.0.
12743 case $host_os in
12744 aix4 | aix4.[01] | aix4.[01].*)
12745 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12746 echo ' yes '
12747 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12748 :
12749 else
12750 can_build_shared=no
12751 fi
12752 ;;
12753 esac
12754 # Using Import Files as archive members, it is possible to support
12755 # filename-based versioning of shared library archives on AIX. While
12756 # this would work for both with and without runtime linking, it will
12757 # prevent static linking of such archives. So we do filename-based
12758 # shared library versioning with .so extension only, which is used
12759 # when both runtime linking and shared linking is enabled.
12760 # Unfortunately, runtime linking may impact performance, so we do
12761 # not want this to be the default eventually. Also, we use the
12762 # versioned .so libs for executables only if there is the -brtl
12763 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
12764 # To allow for filename-based versioning support, we need to create
12765 # libNAME.so.V as an archive file, containing:
12766 # *) an Import File, referring to the versioned filename of the
12767 # archive as well as the shared archive member, telling the
12768 # bitwidth (32 or 64) of that shared object, and providing the
12769 # list of exported symbols of that shared object, eventually
12770 # decorated with the 'weak' keyword
12771 # *) the shared object with the F_LOADONLY flag set, to really avoid
12772 # it being seen by the linker.
12773 # At run time we better use the real file rather than another symlink,
12774 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12775
12776 case $with_aix_soname,$aix_use_runtimelinking in
12777 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12778 # soname into executable. Probably we can add versioning support to
12779 # collect2, so additional links can be useful in future.
12780 aix,yes) # traditional libtool
12781 dynamic_linker='AIX unversionable lib.so'
12782 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12783 # instead of lib<name>.a to let people know that these are not
12784 # typical AIX shared libraries.
12785 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12786 ;;
12787 aix,no) # traditional AIX only
12788 dynamic_linker='AIX lib.a(lib.so.V)'
12789 # We preserve .a as extension for shared libraries through AIX4.2
12790 # and later when we are not doing run time linking.
12791 library_names_spec='$libname$release.a $libname.a'
12792 soname_spec='$libname$release$shared_ext$major'
12793 ;;
12794 svr4,*) # full svr4 only
12795 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12796 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12797 # We do not specify a path in Import Files, so LIBPATH fires.
12798 shlibpath_overrides_runpath=yes
12799 ;;
12800 *,yes) # both, prefer svr4
12801 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12802 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12803 # unpreferred sharedlib libNAME.a needs extra handling
12804 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"'
12805 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"'
12806 # We do not specify a path in Import Files, so LIBPATH fires.
12807 shlibpath_overrides_runpath=yes
12808 ;;
12809 *,no) # both, prefer aix
12810 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12811 library_names_spec='$libname$release.a $libname.a'
12812 soname_spec='$libname$release$shared_ext$major'
12813 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12814 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)'
12815 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"'
12816 ;;
12817 esac
12818 shlibpath_var=LIBPATH
12819 fi
12820 ;;
12821
12822 amigaos*)
12823 case $host_cpu in
12824 powerpc)
12825 # Since July 2007 AmigaOS4 officially supports .so libraries.
12826 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12827 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12828 ;;
12829 m68k)
12830 library_names_spec='$libname.ixlibrary $libname.a'
12831 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12832 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'
12833 ;;
12834 esac
12835 ;;
12836
12837 beos*)
12838 library_names_spec='$libname$shared_ext'
12839 dynamic_linker="$host_os ld.so"
12840 shlibpath_var=LIBRARY_PATH
12841 ;;
12842
12843 bsdi[45]*)
12844 version_type=linux # correct to gnu/linux during the next big refactor
12845 need_version=no
12846 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12847 soname_spec='$libname$release$shared_ext$major'
12848 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12849 shlibpath_var=LD_LIBRARY_PATH
12850 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12851 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12852 # the default ld.so.conf also contains /usr/contrib/lib and
12853 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12854 # libtool to hard-code these into programs
12855 ;;
12856
12857 cygwin* | mingw* | windows* | pw32* | cegcc*)
12858 version_type=windows
12859 shrext_cmds=.dll
12860 need_version=no
12861 need_lib_prefix=no
12862
12863 case $GCC,$cc_basename in
12864 yes,*)
12865 # gcc
12866 library_names_spec='$libname.dll.a'
12867 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12868 # If user builds GCC with multilib enabled,
12869 # it should just install on $(libdir)
12870 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
12871 if test xyes = x"$multilib"; then
12872 postinstall_cmds='base_file=`basename \$file`~
12873 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12874 dldir=$destdir/`dirname \$dlpath`~
12875 $install_prog $dir/$dlname $destdir/$dlname~
12876 chmod a+x $destdir/$dlname~
12877 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12878 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
12879 fi'
12880 else
12881 postinstall_cmds='base_file=`basename \$file`~
12882 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12883 dldir=$destdir/`dirname \$dlpath`~
12884 test -d \$dldir || mkdir -p \$dldir~
12885 $install_prog $dir/$dlname \$dldir/$dlname~
12886 chmod a+x \$dldir/$dlname~
12887 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12888 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12889 fi'
12890 fi
12891 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12892 dlpath=$dir/\$dldll~
12893 $RM \$dlpath'
12894 shlibpath_overrides_runpath=yes
12895
12896 case $host_os in
12897 cygwin*)
12898 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12899 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12900
12901 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12902 ;;
12903 mingw* | windows* | cegcc*)
12904 # MinGW DLLs use traditional 'lib' prefix
12905 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12906 ;;
12907 pw32*)
12908 # pw32 DLLs use 'pw' prefix rather than 'lib'
12909 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12910 ;;
12911 esac
12912 dynamic_linker='Win32 ld.exe'
12913 ;;
12914
12915 *,cl* | *,icl*)
12916 # Native MSVC or ICC
12917 libname_spec='$name'
12918 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12919 library_names_spec='$libname.dll.lib'
12920
12921 case $build_os in
12922 mingw* | windows*)
12923 sys_lib_search_path_spec=
12924 lt_save_ifs=$IFS
12925 IFS=';'
12926 for lt_path in $LIB
12927 do
12928 IFS=$lt_save_ifs
12929 # Let DOS variable expansion print the short 8.3 style file name.
12930 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12931 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12932 done
12933 IFS=$lt_save_ifs
12934 # Convert to MSYS style.
12935 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12936 ;;
12937 cygwin*)
12938 # Convert to unix form, then to dos form, then back to unix form
12939 # but this time dos style (no spaces!) so that the unix form looks
12940 # like /cygdrive/c/PROGRA~1:/cygdr...
12941 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12942 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12943 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12944 ;;
12945 *)
12946 sys_lib_search_path_spec=$LIB
12947 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12948 # It is most probably a Windows format PATH.
12949 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12950 else
12951 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12952 fi
12953 # FIXME: find the short name or the path components, as spaces are
12954 # common. (e.g. "Program Files" -> "PROGRA~1")
12955 ;;
12956 esac
12957
12958 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12959 postinstall_cmds='base_file=`basename \$file`~
12960 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12961 dldir=$destdir/`dirname \$dlpath`~
12962 test -d \$dldir || mkdir -p \$dldir~
12963 $install_prog $dir/$dlname \$dldir/$dlname'
12964 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12965 dlpath=$dir/\$dldll~
12966 $RM \$dlpath'
12967 shlibpath_overrides_runpath=yes
12968 dynamic_linker='Win32 link.exe'
12969 ;;
12970
12971 *)
12972 # Assume MSVC and ICC wrapper
12973 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12974 dynamic_linker='Win32 ld.exe'
12975 ;;
12976 esac
12977 # FIXME: first we should search . and the directory the executable is in
12978 shlibpath_var=PATH
12979 ;;
12980
12981 darwin* | rhapsody*)
12982 dynamic_linker="$host_os dyld"
12983 version_type=darwin
12984 need_lib_prefix=no
12985 need_version=no
12986 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12987 soname_spec='$libname$release$major$shared_ext'
12988 shlibpath_overrides_runpath=yes
12989 shlibpath_var=DYLD_LIBRARY_PATH
12990 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12991
12992 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12993 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12994 ;;
12995
12996 dgux*)
12997 version_type=linux # correct to gnu/linux during the next big refactor
12998 need_lib_prefix=no
12999 need_version=no
13000 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13001 soname_spec='$libname$release$shared_ext$major'
13002 shlibpath_var=LD_LIBRARY_PATH
13003 ;;
13004
13005 freebsd* | dragonfly* | midnightbsd*)
13006 # DragonFly does not have aout. When/if they implement a new
13007 # versioning mechanism, adjust this.
13008 if test -x /usr/bin/objformat; then
13009 objformat=`/usr/bin/objformat`
13010 else
13011 case $host_os in
13012 freebsd[23].*) objformat=aout ;;
13013 *) objformat=elf ;;
13014 esac
13015 fi
13016 version_type=freebsd-$objformat
13017 case $version_type in
13018 freebsd-elf*)
13019 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13020 soname_spec='$libname$release$shared_ext$major'
13021 need_version=no
13022 need_lib_prefix=no
13023 ;;
13024 freebsd-*)
13025 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13026 need_version=yes
13027 ;;
13028 esac
13029 case $host_cpu in
13030 powerpc64)
13031 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13032 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13034 /* end confdefs.h. */
13035 int test_pointer_size[sizeof (void *) - 5];
13036
13037 _ACEOF
13038 if ac_fn_c_try_compile "$LINENO"
13039 then :
13040 shlibpath_var=LD_LIBRARY_PATH
13041 else case e in #(
13042 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13043 esac
13044 fi
13045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13046 ;;
13047 *)
13048 shlibpath_var=LD_LIBRARY_PATH
13049 ;;
13050 esac
13051 case $host_os in
13052 freebsd2.*)
13053 shlibpath_overrides_runpath=yes
13054 ;;
13055 freebsd3.[01]* | freebsdelf3.[01]*)
13056 shlibpath_overrides_runpath=yes
13057 hardcode_into_libs=yes
13058 ;;
13059 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13060 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13061 shlibpath_overrides_runpath=no
13062 hardcode_into_libs=yes
13063 ;;
13064 *) # from 4.6 on, and DragonFly
13065 shlibpath_overrides_runpath=yes
13066 hardcode_into_libs=yes
13067 ;;
13068 esac
13069 ;;
13070
13071 haiku*)
13072 version_type=linux # correct to gnu/linux during the next big refactor
13073 need_lib_prefix=no
13074 need_version=no
13075 dynamic_linker="$host_os runtime_loader"
13076 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13077 soname_spec='$libname$release$shared_ext$major'
13078 shlibpath_var=LIBRARY_PATH
13079 shlibpath_overrides_runpath=no
13080 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13081 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13082 hardcode_into_libs=no
13083 ;;
13084
13085 hpux9* | hpux10* | hpux11*)
13086 # Give a soname corresponding to the major version so that dld.sl refuses to
13087 # link against other versions.
13088 version_type=sunos
13089 need_lib_prefix=no
13090 need_version=no
13091 case $host_cpu in
13092 ia64*)
13093 shrext_cmds='.so'
13094 hardcode_into_libs=yes
13095 dynamic_linker="$host_os dld.so"
13096 shlibpath_var=LD_LIBRARY_PATH
13097 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13098 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13099 soname_spec='$libname$release$shared_ext$major'
13100 if test 32 = "$HPUX_IA64_MODE"; then
13101 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13102 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13103 else
13104 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13105 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13106 fi
13107 ;;
13108 hppa*64*)
13109 shrext_cmds='.sl'
13110 hardcode_into_libs=yes
13111 dynamic_linker="$host_os dld.sl"
13112 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13113 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13114 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13115 soname_spec='$libname$release$shared_ext$major'
13116 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13117 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13118 ;;
13119 *)
13120 shrext_cmds='.sl'
13121 dynamic_linker="$host_os dld.sl"
13122 shlibpath_var=SHLIB_PATH
13123 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13124 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13125 soname_spec='$libname$release$shared_ext$major'
13126 ;;
13127 esac
13128 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13129 postinstall_cmds='chmod 555 $lib'
13130 # or fails outright, so override atomically:
13131 install_override_mode=555
13132 ;;
13133
13134 interix[3-9]*)
13135 version_type=linux # correct to gnu/linux during the next big refactor
13136 need_lib_prefix=no
13137 need_version=no
13138 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13139 soname_spec='$libname$release$shared_ext$major'
13140 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13141 shlibpath_var=LD_LIBRARY_PATH
13142 shlibpath_overrides_runpath=no
13143 hardcode_into_libs=yes
13144 ;;
13145
13146 irix5* | irix6* | nonstopux*)
13147 case $host_os in
13148 nonstopux*) version_type=nonstopux ;;
13149 *)
13150 if test yes = "$lt_cv_prog_gnu_ld"; then
13151 version_type=linux # correct to gnu/linux during the next big refactor
13152 else
13153 version_type=irix
13154 fi ;;
13155 esac
13156 need_lib_prefix=no
13157 need_version=no
13158 soname_spec='$libname$release$shared_ext$major'
13159 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13160 case $host_os in
13161 irix5* | nonstopux*)
13162 libsuff= shlibsuff=
13163 ;;
13164 *)
13165 case $LD in # libtool.m4 will add one of these switches to LD
13166 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13167 libsuff= shlibsuff= libmagic=32-bit;;
13168 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13169 libsuff=32 shlibsuff=N32 libmagic=N32;;
13170 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13171 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13172 *) libsuff= shlibsuff= libmagic=never-match;;
13173 esac
13174 ;;
13175 esac
13176 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13177 shlibpath_overrides_runpath=no
13178 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13179 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13180 hardcode_into_libs=yes
13181 ;;
13182
13183 # No shared lib support for Linux oldld, aout, or coff.
13184 linux*oldld* | linux*aout* | linux*coff*)
13185 dynamic_linker=no
13186 ;;
13187
13188 linux*android*)
13189 version_type=none # Android doesn't support versioned libraries.
13190 need_lib_prefix=no
13191 need_version=no
13192 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13193 soname_spec='$libname$release$shared_ext'
13194 finish_cmds=
13195 shlibpath_var=LD_LIBRARY_PATH
13196 shlibpath_overrides_runpath=yes
13197
13198 # This implies no fast_install, which is unacceptable.
13199 # Some rework will be needed to allow for fast_install
13200 # before this can be enabled.
13201 hardcode_into_libs=yes
13202
13203 dynamic_linker='Android linker'
13204 # -rpath works at least for libraries that are not overridden by
13205 # libraries installed in system locations.
13206 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13207 ;;
13208
13209 # This must be glibc/ELF.
13210 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13211 version_type=linux # correct to gnu/linux during the next big refactor
13212 need_lib_prefix=no
13213 need_version=no
13214 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13215 soname_spec='$libname$release$shared_ext$major'
13216 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13217 shlibpath_var=LD_LIBRARY_PATH
13218 shlibpath_overrides_runpath=no
13219
13220 # Some binutils ld are patched to set DT_RUNPATH
13221 if test ${lt_cv_shlibpath_overrides_runpath+y}
13222 then :
13223 printf %s "(cached) " >&6
13224 else case e in #(
13225 e) lt_cv_shlibpath_overrides_runpath=no
13226 save_LDFLAGS=$LDFLAGS
13227 save_libdir=$libdir
13228 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13229 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13232
13233 int
13234 main (void)
13235 {
13236
13237 ;
13238 return 0;
13239 }
13240 _ACEOF
13241 if ac_fn_c_try_link "$LINENO"
13242 then :
13243 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13244 then :
13245 lt_cv_shlibpath_overrides_runpath=yes
13246 fi
13247 fi
13248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13249 conftest$ac_exeext conftest.$ac_ext
13250 LDFLAGS=$save_LDFLAGS
13251 libdir=$save_libdir
13252 ;;
13253 esac
13254 fi
13255
13256 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13257
13258 # This implies no fast_install, which is unacceptable.
13259 # Some rework will be needed to allow for fast_install
13260 # before this can be enabled.
13261 hardcode_into_libs=yes
13262
13263 # Ideally, we could use ldconfig to report *all* directories which are
13264 # searched for libraries, however this is still not possible. Aside from not
13265 # being certain /sbin/ldconfig is available, command
13266 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13267 # even though it is searched at run-time. Try to do the best guess by
13268 # appending ld.so.conf contents (and includes) to the search path.
13269 if test -f /etc/ld.so.conf; then
13270 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' ' '`
13271 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13272 fi
13273
13274 # We used to test for /lib/ld.so.1 and disable shared libraries on
13275 # powerpc, because MkLinux only supported shared libraries with the
13276 # GNU dynamic linker. Since this was broken with cross compilers,
13277 # most powerpc-linux boxes support dynamic linking these days and
13278 # people can always --disable-shared, the test was removed, and we
13279 # assume the GNU/Linux dynamic linker is in use.
13280 dynamic_linker='GNU/Linux ld.so'
13281 ;;
13282
13283 netbsdelf*-gnu)
13284 version_type=linux
13285 need_lib_prefix=no
13286 need_version=no
13287 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13288 soname_spec='$libname$release$shared_ext$major'
13289 shlibpath_var=LD_LIBRARY_PATH
13290 shlibpath_overrides_runpath=no
13291 hardcode_into_libs=yes
13292 dynamic_linker='NetBSD ld.elf_so'
13293 ;;
13294
13295 netbsd*)
13296 version_type=sunos
13297 need_lib_prefix=no
13298 need_version=no
13299 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13300 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13301 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13302 dynamic_linker='NetBSD (a.out) ld.so'
13303 else
13304 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13305 soname_spec='$libname$release$shared_ext$major'
13306 dynamic_linker='NetBSD ld.elf_so'
13307 fi
13308 shlibpath_var=LD_LIBRARY_PATH
13309 shlibpath_overrides_runpath=yes
13310 hardcode_into_libs=yes
13311 ;;
13312
13313 *-mlibc)
13314 version_type=linux # correct to gnu/linux during the next big refactor
13315 need_lib_prefix=no
13316 need_version=no
13317 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13318 soname_spec='$libname$release$shared_ext$major'
13319 dynamic_linker='mlibc ld.so'
13320 shlibpath_var=LD_LIBRARY_PATH
13321 shlibpath_overrides_runpath=no
13322 hardcode_into_libs=yes
13323 ;;
13324
13325 newsos6)
13326 version_type=linux # correct to gnu/linux during the next big refactor
13327 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13328 shlibpath_var=LD_LIBRARY_PATH
13329 shlibpath_overrides_runpath=yes
13330 ;;
13331
13332 *nto* | *qnx*)
13333 version_type=qnx
13334 need_lib_prefix=no
13335 need_version=no
13336 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13337 soname_spec='$libname$release$shared_ext$major'
13338 shlibpath_var=LD_LIBRARY_PATH
13339 shlibpath_overrides_runpath=no
13340 hardcode_into_libs=yes
13341 dynamic_linker='ldqnx.so'
13342 ;;
13343
13344 openbsd*)
13345 version_type=sunos
13346 sys_lib_dlsearch_path_spec=/usr/lib
13347 need_lib_prefix=no
13348 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13349 need_version=no
13350 else
13351 need_version=yes
13352 fi
13353 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13354 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13355 shlibpath_var=LD_LIBRARY_PATH
13356 shlibpath_overrides_runpath=yes
13357 ;;
13358
13359 os2*)
13360 libname_spec='$name'
13361 version_type=windows
13362 shrext_cmds=.dll
13363 need_version=no
13364 need_lib_prefix=no
13365 # OS/2 can only load a DLL with a base name of 8 characters or less.
13366 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13367 v=$($ECHO $release$versuffix | tr -d .-);
13368 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13369 $ECHO $n$v`$shared_ext'
13370 library_names_spec='${libname}_dll.$libext'
13371 dynamic_linker='OS/2 ld.exe'
13372 shlibpath_var=BEGINLIBPATH
13373 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13374 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13375 postinstall_cmds='base_file=`basename \$file`~
13376 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13377 dldir=$destdir/`dirname \$dlpath`~
13378 test -d \$dldir || mkdir -p \$dldir~
13379 $install_prog $dir/$dlname \$dldir/$dlname~
13380 chmod a+x \$dldir/$dlname~
13381 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13382 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13383 fi'
13384 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13385 dlpath=$dir/\$dldll~
13386 $RM \$dlpath'
13387 ;;
13388
13389 osf3* | osf4* | osf5*)
13390 version_type=osf
13391 need_lib_prefix=no
13392 need_version=no
13393 soname_spec='$libname$release$shared_ext$major'
13394 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13395 shlibpath_var=LD_LIBRARY_PATH
13396 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13397 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13398 ;;
13399
13400 rdos*)
13401 dynamic_linker=no
13402 ;;
13403
13404 serenity*)
13405 version_type=linux # correct to gnu/linux during the next big refactor
13406 need_lib_prefix=no
13407 need_version=no
13408 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13409 soname_spec='$libname$release$shared_ext$major'
13410 shlibpath_var=LD_LIBRARY_PATH
13411 shlibpath_overrides_runpath=no
13412 dynamic_linker='SerenityOS LibELF'
13413 ;;
13414
13415 solaris*)
13416 version_type=linux # correct to gnu/linux during the next big refactor
13417 need_lib_prefix=no
13418 need_version=no
13419 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13420 soname_spec='$libname$release$shared_ext$major'
13421 shlibpath_var=LD_LIBRARY_PATH
13422 shlibpath_overrides_runpath=yes
13423 hardcode_into_libs=yes
13424 # ldd complains unless libraries are executable
13425 postinstall_cmds='chmod +x $lib'
13426 ;;
13427
13428 sunos4*)
13429 version_type=sunos
13430 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13431 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13432 shlibpath_var=LD_LIBRARY_PATH
13433 shlibpath_overrides_runpath=yes
13434 if test yes = "$with_gnu_ld"; then
13435 need_lib_prefix=no
13436 fi
13437 need_version=yes
13438 ;;
13439
13440 sysv4 | sysv4.3*)
13441 version_type=linux # correct to gnu/linux during the next big refactor
13442 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13443 soname_spec='$libname$release$shared_ext$major'
13444 shlibpath_var=LD_LIBRARY_PATH
13445 case $host_vendor in
13446 sni)
13447 shlibpath_overrides_runpath=no
13448 need_lib_prefix=no
13449 runpath_var=LD_RUN_PATH
13450 ;;
13451 siemens)
13452 need_lib_prefix=no
13453 ;;
13454 motorola)
13455 need_lib_prefix=no
13456 need_version=no
13457 shlibpath_overrides_runpath=no
13458 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13459 ;;
13460 esac
13461 ;;
13462
13463 sysv4*MP*)
13464 if test -d /usr/nec; then
13465 version_type=linux # correct to gnu/linux during the next big refactor
13466 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13467 soname_spec='$libname$shared_ext.$major'
13468 shlibpath_var=LD_LIBRARY_PATH
13469 fi
13470 ;;
13471
13472 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13473 version_type=sco
13474 need_lib_prefix=no
13475 need_version=no
13476 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13477 soname_spec='$libname$release$shared_ext$major'
13478 shlibpath_var=LD_LIBRARY_PATH
13479 shlibpath_overrides_runpath=yes
13480 hardcode_into_libs=yes
13481 if test yes = "$with_gnu_ld"; then
13482 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13483 else
13484 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13485 case $host_os in
13486 sco3.2v5*)
13487 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13488 ;;
13489 esac
13490 fi
13491 sys_lib_dlsearch_path_spec='/usr/lib'
13492 ;;
13493
13494 tpf*)
13495 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13496 version_type=linux # correct to gnu/linux during the next big refactor
13497 need_lib_prefix=no
13498 need_version=no
13499 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13500 shlibpath_var=LD_LIBRARY_PATH
13501 shlibpath_overrides_runpath=no
13502 hardcode_into_libs=yes
13503 ;;
13504
13505 uts4*)
13506 version_type=linux # correct to gnu/linux during the next big refactor
13507 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13508 soname_spec='$libname$release$shared_ext$major'
13509 shlibpath_var=LD_LIBRARY_PATH
13510 ;;
13511
13512 emscripten*)
13513 version_type=none
13514 need_lib_prefix=no
13515 need_version=no
13516 library_names_spec='$libname$release$shared_ext'
13517 soname_spec='$libname$release$shared_ext'
13518 finish_cmds=
13519 dynamic_linker="Emscripten linker"
13520 lt_prog_compiler_wl=
13521 lt_prog_compiler_pic=
13522 lt_prog_compiler_static=
13523
13524
13525 if test yes = "$GCC"; then
13526 lt_prog_compiler_wl='-Wl,'
13527 lt_prog_compiler_static='-static'
13528
13529 case $host_os in
13530 aix*)
13531 # All AIX code is PIC.
13532 if test ia64 = "$host_cpu"; then
13533 # AIX 5 now supports IA64 processor
13534 lt_prog_compiler_static='-Bstatic'
13535 fi
13536 lt_prog_compiler_pic='-fPIC'
13537 ;;
13538
13539 amigaos*)
13540 case $host_cpu in
13541 powerpc)
13542 # see comment about AmigaOS4 .so support
13543 lt_prog_compiler_pic='-fPIC'
13544 ;;
13545 m68k)
13546 # FIXME: we need at least 68020 code to build shared libraries, but
13547 # adding the '-m68020' flag to GCC prevents building anything better,
13548 # like '-m68040'.
13549 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13550 ;;
13551 esac
13552 ;;
13553
13554 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13555 # PIC is the default for these OSes.
13556 ;;
13557
13558 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13559 # This hack is so that the source file can tell whether it is being
13560 # built for inclusion in a dll (and should export symbols for example).
13561 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13562 # (--disable-auto-import) libraries
13563 lt_prog_compiler_pic='-DDLL_EXPORT'
13564 case $host_os in
13565 os2*)
13566 lt_prog_compiler_static='$wl-static'
13567 ;;
13568 esac
13569 ;;
13570
13571 darwin* | rhapsody*)
13572 # PIC is the default on this platform
13573 # Common symbols not allowed in MH_DYLIB files
13574 lt_prog_compiler_pic='-fno-common'
13575 ;;
13576
13577 haiku*)
13578 # PIC is the default for Haiku.
13579 # The "-static" flag exists, but is broken.
13580 lt_prog_compiler_static=
13581 ;;
13582
13583 hpux*)
13584 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13585 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13586 # sets the default TLS model and affects inlining.
13587 case $host_cpu in
13588 hppa*64*)
13589 # +Z the default
13590 ;;
13591 *)
13592 lt_prog_compiler_pic='-fPIC'
13593 ;;
13594 esac
13595 ;;
13596
13597 interix[3-9]*)
13598 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13599 # Instead, we relocate shared libraries at runtime.
13600 ;;
13601
13602 msdosdjgpp*)
13603 # Just because we use GCC doesn't mean we suddenly get shared libraries
13604 # on systems that don't support them.
13605 lt_prog_compiler_can_build_shared=no
13606 enable_shared=no
13607 ;;
13608
13609 *nto* | *qnx*)
13610 # QNX uses GNU C++, but need to define -shared option too, otherwise
13611 # it will coredump.
13612 lt_prog_compiler_pic='-fPIC -shared'
13613 ;;
13614
13615 sysv4*MP*)
13616 if test -d /usr/nec; then
13617 lt_prog_compiler_pic=-Kconform_pic
13618 fi
13619 ;;
13620
13621 *)
13622 lt_prog_compiler_pic='-fPIC'
13623 ;;
13624 esac
13625
13626 case $cc_basename in
13627 nvcc*) # Cuda Compiler Driver 2.2
13628 lt_prog_compiler_wl='-Xlinker '
13629 if test -n "$lt_prog_compiler_pic"; then
13630 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13631 fi
13632 ;;
13633 esac
13634 else
13635 # PORTME Check for flag to pass linker flags through the system compiler.
13636 case $host_os in
13637 aix*)
13638 lt_prog_compiler_wl='-Wl,'
13639 if test ia64 = "$host_cpu"; then
13640 # AIX 5 now supports IA64 processor
13641 lt_prog_compiler_static='-Bstatic'
13642 else
13643 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13644 fi
13645 ;;
13646
13647 darwin* | rhapsody*)
13648 # PIC is the default on this platform
13649 # Common symbols not allowed in MH_DYLIB files
13650 lt_prog_compiler_pic='-fno-common'
13651 case $cc_basename in
13652 nagfor*)
13653 # NAG Fortran compiler
13654 lt_prog_compiler_wl='-Wl,-Wl,,'
13655 lt_prog_compiler_pic='-PIC'
13656 lt_prog_compiler_static='-Bstatic'
13657 ;;
13658 esac
13659 ;;
13660
13661 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13662 # This hack is so that the source file can tell whether it is being
13663 # built for inclusion in a dll (and should export symbols for example).
13664 lt_prog_compiler_pic='-DDLL_EXPORT'
13665 case $host_os in
13666 os2*)
13667 lt_prog_compiler_static='$wl-static'
13668 ;;
13669 esac
13670 ;;
13671
13672 hpux9* | hpux10* | hpux11*)
13673 lt_prog_compiler_wl='-Wl,'
13674 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13675 # not for PA HP-UX.
13676 case $host_cpu in
13677 hppa*64*|ia64*)
13678 # +Z the default
13679 ;;
13680 *)
13681 lt_prog_compiler_pic='+Z'
13682 ;;
13683 esac
13684 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13685 lt_prog_compiler_static='$wl-a ${wl}archive'
13686 ;;
13687
13688 irix5* | irix6* | nonstopux*)
13689 lt_prog_compiler_wl='-Wl,'
13690 # PIC (with -KPIC) is the default.
13691 lt_prog_compiler_static='-non_shared'
13692 ;;
13693
13694 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13695 case $cc_basename in
13696 # old Intel for x86_64, which still supported -KPIC.
13697 ecc*)
13698 lt_prog_compiler_wl='-Wl,'
13699 lt_prog_compiler_pic='-KPIC'
13700 lt_prog_compiler_static='-static'
13701 ;;
13702 *flang* | ftn | f18* | f95*)
13703 # Flang compiler.
13704 lt_prog_compiler_wl='-Wl,'
13705 lt_prog_compiler_pic='-fPIC'
13706 lt_prog_compiler_static='-static'
13707 ;;
13708 # icc used to be incompatible with GCC.
13709 # ICC 10 doesn't accept -KPIC any more.
13710 icc* | ifort*)
13711 lt_prog_compiler_wl='-Wl,'
13712 lt_prog_compiler_pic='-fPIC'
13713 lt_prog_compiler_static='-static'
13714 ;;
13715 # Lahey Fortran 8.1.
13716 lf95*)
13717 lt_prog_compiler_wl='-Wl,'
13718 lt_prog_compiler_pic='--shared'
13719 lt_prog_compiler_static='--static'
13720 ;;
13721 nagfor*)
13722 # NAG Fortran compiler
13723 lt_prog_compiler_wl='-Wl,-Wl,,'
13724 lt_prog_compiler_pic='-PIC'
13725 lt_prog_compiler_static='-Bstatic'
13726 ;;
13727 tcc*)
13728 # Fabrice Bellard et al's Tiny C Compiler
13729 lt_prog_compiler_wl='-Wl,'
13730 lt_prog_compiler_pic='-fPIC'
13731 lt_prog_compiler_static='-static'
13732 ;;
13733 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13734 # Portland Group compilers (*not* the Pentium gcc compiler,
13735 # which looks to be a dead project)
13736 lt_prog_compiler_wl='-Wl,'
13737 lt_prog_compiler_pic='-fpic'
13738 lt_prog_compiler_static='-Bstatic'
13739 ;;
13740 ccc*)
13741 lt_prog_compiler_wl='-Wl,'
13742 # All Alpha code is PIC.
13743 lt_prog_compiler_static='-non_shared'
13744 ;;
13745 xl* | bgxl* | bgf* | mpixl*)
13746 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13747 lt_prog_compiler_wl='-Wl,'
13748 lt_prog_compiler_pic='-qpic'
13749 lt_prog_compiler_static='-qstaticlink'
13750 ;;
13751 *)
13752 case `$CC -V 2>&1 | $SED 5q` in
13753 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13754 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13755 lt_prog_compiler_pic='-KPIC'
13756 lt_prog_compiler_static='-Bstatic'
13757 lt_prog_compiler_wl=''
13758 ;;
13759 *Sun\ F* | *Sun*Fortran*)
13760 lt_prog_compiler_pic='-KPIC'
13761 lt_prog_compiler_static='-Bstatic'
13762 lt_prog_compiler_wl='-Qoption ld '
13763 ;;
13764 *Sun\ C*)
13765 # Sun C 5.9
13766 lt_prog_compiler_pic='-KPIC'
13767 lt_prog_compiler_static='-Bstatic'
13768 lt_prog_compiler_wl='-Wl,'
13769 ;;
13770 *Intel*\ [CF]*Compiler*)
13771 lt_prog_compiler_wl='-Wl,'
13772 lt_prog_compiler_pic='-fPIC'
13773 lt_prog_compiler_static='-static'
13774 ;;
13775 *Portland\ Group*)
13776 lt_prog_compiler_wl='-Wl,'
13777 lt_prog_compiler_pic='-fpic'
13778 lt_prog_compiler_static='-Bstatic'
13779 ;;
13780 esac
13781 ;;
13782 esac
13783 ;;
13784
13785 newsos6)
13786 lt_prog_compiler_pic='-KPIC'
13787 lt_prog_compiler_static='-Bstatic'
13788 ;;
13789
13790 *-mlibc)
13791 lt_prog_compiler_wl='-Wl,'
13792 lt_prog_compiler_pic='-fPIC'
13793 lt_prog_compiler_static='-static'
13794 ;;
13795
13796 *nto* | *qnx*)
13797 # QNX uses GNU C++, but need to define -shared option too, otherwise
13798 # it will coredump.
13799 lt_prog_compiler_pic='-fPIC -shared'
13800 ;;
13801
13802 osf3* | osf4* | osf5*)
13803 lt_prog_compiler_wl='-Wl,'
13804 # All OSF/1 code is PIC.
13805 lt_prog_compiler_static='-non_shared'
13806 ;;
13807
13808 rdos*)
13809 lt_prog_compiler_static='-non_shared'
13810 ;;
13811
13812 serenity*)
13813 ;;
13814
13815 solaris*)
13816 lt_prog_compiler_pic='-KPIC'
13817 lt_prog_compiler_static='-Bstatic'
13818 case $cc_basename in
13819 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
13820 lt_prog_compiler_wl='-Qoption ld ';;
13821 *)
13822 lt_prog_compiler_wl='-Wl,';;
13823 esac
13824 ;;
13825
13826 sunos4*)
13827 lt_prog_compiler_wl='-Qoption ld '
13828 lt_prog_compiler_pic='-PIC'
13829 lt_prog_compiler_static='-Bstatic'
13830 ;;
13831
13832 sysv4 | sysv4.2uw2* | sysv4.3*)
13833 lt_prog_compiler_wl='-Wl,'
13834 lt_prog_compiler_pic='-KPIC'
13835 lt_prog_compiler_static='-Bstatic'
13836 ;;
13837
13838 sysv4*MP*)
13839 if test -d /usr/nec; then
13840 lt_prog_compiler_pic='-Kconform_pic'
13841 lt_prog_compiler_static='-Bstatic'
13842 fi
13843 ;;
13844
13845 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13846 lt_prog_compiler_wl='-Wl,'
13847 lt_prog_compiler_pic='-KPIC'
13848 lt_prog_compiler_static='-Bstatic'
13849 ;;
13850
13851 unicos*)
13852 lt_prog_compiler_wl='-Wl,'
13853 lt_prog_compiler_can_build_shared=no
13854 ;;
13855
13856 uts4*)
13857 lt_prog_compiler_pic='-pic'
13858 lt_prog_compiler_static='-Bstatic'
13859 ;;
13860
13861 *)
13862 lt_prog_compiler_can_build_shared=no
13863 ;;
13864 esac
13865 fi
13866
13867 case $host_os in
13868 # For platforms that do not support PIC, -DPIC is meaningless:
13869 *djgpp*)
13870 lt_prog_compiler_pic=
13871 ;;
13872 *)
13873 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13874 ;;
13875 esac
13876
13877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13878 printf %s "checking for $compiler option to produce PIC... " >&6; }
13879 if test ${lt_cv_prog_compiler_pic+y}
13880 then :
13881 printf %s "(cached) " >&6
13882 else case e in #(
13883 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
13884 esac
13885 fi
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13887 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
13888 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13889
13890 #
13891 # Check to make sure the PIC flag actually works.
13892 #
13893 if test -n "$lt_prog_compiler_pic"; then
13894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13895 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
13896 if test ${lt_cv_prog_compiler_pic_works+y}
13897 then :
13898 printf %s "(cached) " >&6
13899 else case e in #(
13900 e) lt_cv_prog_compiler_pic_works=no
13901 ac_outfile=conftest.$ac_objext
13902 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13903 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13904 # Insert the option either (1) after the last *FLAGS variable, or
13905 # (2) before a word containing "conftest.", or (3) at the end.
13906 # Note that $ac_compile itself does not contain backslashes and begins
13907 # with a dollar sign (not a hyphen), so the echo should work correctly.
13908 # The option is referenced via a variable to avoid confusing sed.
13909 lt_compile=`echo "$ac_compile" | $SED \
13910 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13911 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13912 -e 's:$: $lt_compiler_flag:'`
13913 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13914 (eval "$lt_compile" 2>conftest.err)
13915 ac_status=$?
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 if (exit $ac_status) && test -s "$ac_outfile"; then
13919 # The compiler can only warn and ignore the option if not recognized
13920 # So say no if there are warnings other than the usual output.
13921 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13922 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13923 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13924 lt_cv_prog_compiler_pic_works=yes
13925 fi
13926 fi
13927 $RM conftest*
13928 ;;
13929 esac
13930 fi
13931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13932 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
13933
13934 if test yes = "$lt_cv_prog_compiler_pic_works"; then
13935 case $lt_prog_compiler_pic in
13936 "" | " "*) ;;
13937 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13938 esac
13939 else
13940 lt_prog_compiler_pic=
13941 lt_prog_compiler_can_build_shared=no
13942 fi
13943
13944 fi
13945
13946
13947
13948
13949
13950 #
13951 # Check to make sure the static flag actually works.
13952 #
13953 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
13954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13955 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13956 if test ${lt_cv_prog_compiler_static_works+y}
13957 then :
13958 printf %s "(cached) " >&6
13959 else case e in #(
13960 e) lt_cv_prog_compiler_static_works=no
13961 save_LDFLAGS=$LDFLAGS
13962 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13963 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13964 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13965 # The linker can only warn and ignore the option if not recognized
13966 # So say no if there are warnings
13967 if test -s conftest.err; then
13968 # Append any errors to the config.log.
13969 cat conftest.err 1>&5
13970 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13971 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13972 if diff conftest.exp conftest.er2 >/dev/null; then
13973 lt_cv_prog_compiler_static_works=yes
13974 fi
13975 else
13976 lt_cv_prog_compiler_static_works=yes
13977 fi
13978 fi
13979 $RM -r conftest*
13980 LDFLAGS=$save_LDFLAGS
13981 ;;
13982 esac
13983 fi
13984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
13985 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
13986
13987 if test yes = "$lt_cv_prog_compiler_static_works"; then
13988 :
13989 else
13990 lt_prog_compiler_static=
13991 fi
13992
13993
13994
13995 ='-fPIC'
13996 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
13997 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'
13998 archive_cmds_need_lc=no
13999 no_undefined_flag=
14000 ;;
14001
14002 *)
14003 dynamic_linker=no
14004 ;;
14005 esac
14006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14007 printf "%s\n" "$dynamic_linker" >&6; }
14008 test no = "$dynamic_linker" && can_build_shared=no
14009
14010 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14011 if test yes = "$GCC"; then
14012 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14013 fi
14014
14015 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14016 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14017 fi
14018
14019 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14020 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14021 fi
14022
14023 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14024 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14025
14026 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14027 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14028
14029 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14030 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14129 printf %s "checking how to hardcode library paths into programs... " >&6; }
14130 hardcode_action=
14131 if test -n "$hardcode_libdir_flag_spec" ||
14132 test -n "$runpath_var" ||
14133 test yes = "$hardcode_automatic"; then
14134
14135 # We can hardcode non-existent directories.
14136 if test no != "$hardcode_direct" &&
14137 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14138 # have to relink, otherwise we might link with an installed library
14139 # when we should be linking with a yet-to-be-installed one
14140 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14141 test no != "$hardcode_minus_L"; then
14142 # Linking always hardcodes the temporary library directory.
14143 hardcode_action=relink
14144 else
14145 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14146 hardcode_action=immediate
14147 fi
14148 else
14149 # We cannot hardcode anything, or else we can only hardcode existing
14150 # directories.
14151 hardcode_action=unsupported
14152 fi
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14154 printf "%s\n" "$hardcode_action" >&6; }
14155
14156 if test relink = "$hardcode_action" ||
14157 test yes = "$inherit_rpath"; then
14158 # Fast installation is not supported
14159 enable_fast_install=no
14160 elif test yes = "$shlibpath_overrides_runpath" ||
14161 test no = "$enable_shared"; then
14162 # Fast installation is not necessary
14163 enable_fast_install=needless
14164 fi
14165
14166
14167
14168
14169
14170
14171 if test yes != "$enable_dlopen"; then
14172 enable_dlopen=unknown
14173 enable_dlopen_self=unknown
14174 enable_dlopen_self_static=unknown
14175 else
14176 lt_cv_dlopen=no
14177 lt_cv_dlopen_libs=
14178
14179 case $host_os in
14180 beos*)
14181 lt_cv_dlopen=load_add_on
14182 lt_cv_dlopen_libs=
14183 lt_cv_dlopen_self=yes
14184 ;;
14185
14186 mingw* | windows* | pw32* | cegcc*)
14187 lt_cv_dlopen=LoadLibrary
14188 lt_cv_dlopen_libs=
14189 ;;
14190
14191 cygwin*)
14192 lt_cv_dlopen=dlopen
14193 lt_cv_dlopen_libs=
14194 ;;
14195
14196 darwin*)
14197 # if libdl is installed we need to link against it
14198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14199 printf %s "checking for dlopen in -ldl... " >&6; }
14200 if test ${ac_cv_lib_dl_dlopen+y}
14201 then :
14202 printf %s "(cached) " >&6
14203 else case e in #(
14204 e) ac_check_lib_save_LIBS=$LIBS
14205 LIBS="-ldl $LIBS"
14206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14208
14209 /* Override any GCC internal prototype to avoid an error.
14210 Use char because int might match the return type of a GCC
14211 builtin and then its argument prototype would still apply.
14212 The 'extern "C"' is for builds by C++ compilers;
14213 although this is not generally supported in C code supporting it here
14214 has little cost and some practical benefit (sr 110532). */
14215 #ifdef __cplusplus
14216 extern "C"
14217 #endif
14218 char dlopen (void);
14219 int
14220 main (void)
14221 {
14222 return dlopen ();
14223 ;
14224 return 0;
14225 }
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"
14228 then :
14229 ac_cv_lib_dl_dlopen=yes
14230 else case e in #(
14231 e) ac_cv_lib_dl_dlopen=no ;;
14232 esac
14233 fi
14234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14235 conftest$ac_exeext conftest.$ac_ext
14236 LIBS=$ac_check_lib_save_LIBS ;;
14237 esac
14238 fi
14239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14240 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14241 if test "x$ac_cv_lib_dl_dlopen" = xyes
14242 then :
14243 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14244 else case e in #(
14245 e)
14246 lt_cv_dlopen=dyld
14247 lt_cv_dlopen_libs=
14248 lt_cv_dlopen_self=yes
14249 ;;
14250 esac
14251 fi
14252
14253 ;;
14254
14255 tpf*)
14256 # Don't try to run any link tests for TPF. We know it's impossible
14257 # because TPF is a cross-compiler, and we know how we open DSOs.
14258 lt_cv_dlopen=dlopen
14259 lt_cv_dlopen_libs=
14260 lt_cv_dlopen_self=no
14261 ;;
14262
14263 *)
14264 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14265 if test "x$ac_cv_func_shl_load" = xyes
14266 then :
14267 lt_cv_dlopen=shl_load
14268 else case e in #(
14269 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14270 printf %s "checking for shl_load in -ldld... " >&6; }
14271 if test ${ac_cv_lib_dld_shl_load+y}
14272 then :
14273 printf %s "(cached) " >&6
14274 else case e in #(
14275 e) ac_check_lib_save_LIBS=$LIBS
14276 LIBS="-ldld $LIBS"
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14279
14280 /* Override any GCC internal prototype to avoid an error.
14281 Use char because int might match the return type of a GCC
14282 builtin and then its argument prototype would still apply.
14283 The 'extern "C"' is for builds by C++ compilers;
14284 although this is not generally supported in C code supporting it here
14285 has little cost and some practical benefit (sr 110532). */
14286 #ifdef __cplusplus
14287 extern "C"
14288 #endif
14289 char shl_load (void);
14290 int
14291 main (void)
14292 {
14293 return shl_load ();
14294 ;
14295 return 0;
14296 }
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"
14299 then :
14300 ac_cv_lib_dld_shl_load=yes
14301 else case e in #(
14302 e) ac_cv_lib_dld_shl_load=no ;;
14303 esac
14304 fi
14305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14306 conftest$ac_exeext conftest.$ac_ext
14307 LIBS=$ac_check_lib_save_LIBS ;;
14308 esac
14309 fi
14310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14311 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14312 if test "x$ac_cv_lib_dld_shl_load" = xyes
14313 then :
14314 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14315 else case e in #(
14316 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14317 if test "x$ac_cv_func_dlopen" = xyes
14318 then :
14319 lt_cv_dlopen=dlopen
14320 else case e in #(
14321 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14322 printf %s "checking for dlopen in -ldl... " >&6; }
14323 if test ${ac_cv_lib_dl_dlopen+y}
14324 then :
14325 printf %s "(cached) " >&6
14326 else case e in #(
14327 e) ac_check_lib_save_LIBS=$LIBS
14328 LIBS="-ldl $LIBS"
14329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14330 /* end confdefs.h. */
14331
14332 /* Override any GCC internal prototype to avoid an error.
14333 Use char because int might match the return type of a GCC
14334 builtin and then its argument prototype would still apply.
14335 The 'extern "C"' is for builds by C++ compilers;
14336 although this is not generally supported in C code supporting it here
14337 has little cost and some practical benefit (sr 110532). */
14338 #ifdef __cplusplus
14339 extern "C"
14340 #endif
14341 char dlopen (void);
14342 int
14343 main (void)
14344 {
14345 return dlopen ();
14346 ;
14347 return 0;
14348 }
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"
14351 then :
14352 ac_cv_lib_dl_dlopen=yes
14353 else case e in #(
14354 e) ac_cv_lib_dl_dlopen=no ;;
14355 esac
14356 fi
14357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14358 conftest$ac_exeext conftest.$ac_ext
14359 LIBS=$ac_check_lib_save_LIBS ;;
14360 esac
14361 fi
14362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14363 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14364 if test "x$ac_cv_lib_dl_dlopen" = xyes
14365 then :
14366 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14367 else case e in #(
14368 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14369 printf %s "checking for dlopen in -lsvld... " >&6; }
14370 if test ${ac_cv_lib_svld_dlopen+y}
14371 then :
14372 printf %s "(cached) " >&6
14373 else case e in #(
14374 e) ac_check_lib_save_LIBS=$LIBS
14375 LIBS="-lsvld $LIBS"
14376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14378
14379 /* Override any GCC internal prototype to avoid an error.
14380 Use char because int might match the return type of a GCC
14381 builtin and then its argument prototype would still apply.
14382 The 'extern "C"' is for builds by C++ compilers;
14383 although this is not generally supported in C code supporting it here
14384 has little cost and some practical benefit (sr 110532). */
14385 #ifdef __cplusplus
14386 extern "C"
14387 #endif
14388 char dlopen (void);
14389 int
14390 main (void)
14391 {
14392 return dlopen ();
14393 ;
14394 return 0;
14395 }
14396 _ACEOF
14397 if ac_fn_c_try_link "$LINENO"
14398 then :
14399 ac_cv_lib_svld_dlopen=yes
14400 else case e in #(
14401 e) ac_cv_lib_svld_dlopen=no ;;
14402 esac
14403 fi
14404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14405 conftest$ac_exeext conftest.$ac_ext
14406 LIBS=$ac_check_lib_save_LIBS ;;
14407 esac
14408 fi
14409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14410 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14411 if test "x$ac_cv_lib_svld_dlopen" = xyes
14412 then :
14413 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14414 else case e in #(
14415 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14416 printf %s "checking for dld_link in -ldld... " >&6; }
14417 if test ${ac_cv_lib_dld_dld_link+y}
14418 then :
14419 printf %s "(cached) " >&6
14420 else case e in #(
14421 e) ac_check_lib_save_LIBS=$LIBS
14422 LIBS="-ldld $LIBS"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14425
14426 /* Override any GCC internal prototype to avoid an error.
14427 Use char because int might match the return type of a GCC
14428 builtin and then its argument prototype would still apply.
14429 The 'extern "C"' is for builds by C++ compilers;
14430 although this is not generally supported in C code supporting it here
14431 has little cost and some practical benefit (sr 110532). */
14432 #ifdef __cplusplus
14433 extern "C"
14434 #endif
14435 char dld_link (void);
14436 int
14437 main (void)
14438 {
14439 return dld_link ();
14440 ;
14441 return 0;
14442 }
14443 _ACEOF
14444 if ac_fn_c_try_link "$LINENO"
14445 then :
14446 ac_cv_lib_dld_dld_link=yes
14447 else case e in #(
14448 e) ac_cv_lib_dld_dld_link=no ;;
14449 esac
14450 fi
14451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14452 conftest$ac_exeext conftest.$ac_ext
14453 LIBS=$ac_check_lib_save_LIBS ;;
14454 esac
14455 fi
14456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14457 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14458 if test "x$ac_cv_lib_dld_dld_link" = xyes
14459 then :
14460 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14461 fi
14462
14463 ;;
14464 esac
14465 fi
14466
14467 ;;
14468 esac
14469 fi
14470
14471 ;;
14472 esac
14473 fi
14474
14475 ;;
14476 esac
14477 fi
14478
14479 ;;
14480 esac
14481 fi
14482
14483 ;;
14484 esac
14485
14486 if test no = "$lt_cv_dlopen"; then
14487 enable_dlopen=no
14488 else
14489 enable_dlopen=yes
14490 fi
14491
14492 case $lt_cv_dlopen in
14493 dlopen)
14494 save_CPPFLAGS=$CPPFLAGS
14495 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14496
14497 save_LDFLAGS=$LDFLAGS
14498 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14499
14500 save_LIBS=$LIBS
14501 LIBS="$lt_cv_dlopen_libs $LIBS"
14502
14503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14504 printf %s "checking whether a program can dlopen itself... " >&6; }
14505 if test ${lt_cv_dlopen_self+y}
14506 then :
14507 printf %s "(cached) " >&6
14508 else case e in #(
14509 e) if test yes = "$cross_compiling"; then :
14510 lt_cv_dlopen_self=cross
14511 else
14512 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14513 lt_status=$lt_dlunknown
14514 cat > conftest.$ac_ext <<_LT_EOF
14515 #line $LINENO "configure"
14516 #include "confdefs.h"
14517
14518 #if HAVE_DLFCN_H
14519 #include <dlfcn.h>
14520 #endif
14521
14522 #include <stdio.h>
14523
14524 #ifdef RTLD_GLOBAL
14525 # define LT_DLGLOBAL RTLD_GLOBAL
14526 #else
14527 # ifdef DL_GLOBAL
14528 # define LT_DLGLOBAL DL_GLOBAL
14529 # else
14530 # define LT_DLGLOBAL 0
14531 # endif
14532 #endif
14533
14534 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14535 find out it does not work in some platform. */
14536 #ifndef LT_DLLAZY_OR_NOW
14537 # ifdef RTLD_LAZY
14538 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14539 # else
14540 # ifdef DL_LAZY
14541 # define LT_DLLAZY_OR_NOW DL_LAZY
14542 # else
14543 # ifdef RTLD_NOW
14544 # define LT_DLLAZY_OR_NOW RTLD_NOW
14545 # else
14546 # ifdef DL_NOW
14547 # define LT_DLLAZY_OR_NOW DL_NOW
14548 # else
14549 # define LT_DLLAZY_OR_NOW 0
14550 # endif
14551 # endif
14552 # endif
14553 # endif
14554 #endif
14555
14556 /* When -fvisibility=hidden is used, assume the code has been annotated
14557 correspondingly for the symbols needed. */
14558 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14559 int fnord (void) __attribute__((visibility("default")));
14560 #endif
14561
14562 int fnord (void) { return 42; }
14563 int main (void)
14564 {
14565 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14566 int status = $lt_dlunknown;
14567
14568 if (self)
14569 {
14570 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14571 else
14572 {
14573 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14574 else puts (dlerror ());
14575 }
14576 /* dlclose (self); */
14577 }
14578 else
14579 puts (dlerror ());
14580
14581 return status;
14582 }
14583 _LT_EOF
14584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14585 (eval $ac_link) 2>&5
14586 ac_status=$?
14587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14588 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14589 (./conftest; exit; ) >&5 2>/dev/null
14590 lt_status=$?
14591 case x$lt_status in
14592 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14593 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14594 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14595 esac
14596 else :
14597 # compilation failed
14598 lt_cv_dlopen_self=no
14599 fi
14600 fi
14601 rm -fr conftest*
14602
14603 ;;
14604 esac
14605 fi
14606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14607 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14608
14609 if test yes = "$lt_cv_dlopen_self"; then
14610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14612 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14613 if test ${lt_cv_dlopen_self_static+y}
14614 then :
14615 printf %s "(cached) " >&6
14616 else case e in #(
14617 e) if test yes = "$cross_compiling"; then :
14618 lt_cv_dlopen_self_static=cross
14619 else
14620 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14621 lt_status=$lt_dlunknown
14622 cat > conftest.$ac_ext <<_LT_EOF
14623 #line $LINENO "configure"
14624 #include "confdefs.h"
14625
14626 #if HAVE_DLFCN_H
14627 #include <dlfcn.h>
14628 #endif
14629
14630 #include <stdio.h>
14631
14632 #ifdef RTLD_GLOBAL
14633 # define LT_DLGLOBAL RTLD_GLOBAL
14634 #else
14635 # ifdef DL_GLOBAL
14636 # define LT_DLGLOBAL DL_GLOBAL
14637 # else
14638 # define LT_DLGLOBAL 0
14639 # endif
14640 #endif
14641
14642 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14643 find out it does not work in some platform. */
14644 #ifndef LT_DLLAZY_OR_NOW
14645 # ifdef RTLD_LAZY
14646 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14647 # else
14648 # ifdef DL_LAZY
14649 # define LT_DLLAZY_OR_NOW DL_LAZY
14650 # else
14651 # ifdef RTLD_NOW
14652 # define LT_DLLAZY_OR_NOW RTLD_NOW
14653 # else
14654 # ifdef DL_NOW
14655 # define LT_DLLAZY_OR_NOW DL_NOW
14656 # else
14657 # define LT_DLLAZY_OR_NOW 0
14658 # endif
14659 # endif
14660 # endif
14661 # endif
14662 #endif
14663
14664 /* When -fvisibility=hidden is used, assume the code has been annotated
14665 correspondingly for the symbols needed. */
14666 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14667 int fnord (void) __attribute__((visibility("default")));
14668 #endif
14669
14670 int fnord (void) { return 42; }
14671 int main (void)
14672 {
14673 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14674 int status = $lt_dlunknown;
14675
14676 if (self)
14677 {
14678 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14679 else
14680 {
14681 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14682 else puts (dlerror ());
14683 }
14684 /* dlclose (self); */
14685 }
14686 else
14687 puts (dlerror ());
14688
14689 return status;
14690 }
14691 _LT_EOF
14692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14693 (eval $ac_link) 2>&5
14694 ac_status=$?
14695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14696 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14697 (./conftest; exit; ) >&5 2>/dev/null
14698 lt_status=$?
14699 case x$lt_status in
14700 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14701 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14702 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14703 esac
14704 else :
14705 # compilation failed
14706 lt_cv_dlopen_self_static=no
14707 fi
14708 fi
14709 rm -fr conftest*
14710
14711 ;;
14712 esac
14713 fi
14714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14715 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14716 fi
14717
14718 CPPFLAGS=$save_CPPFLAGS
14719 LDFLAGS=$save_LDFLAGS
14720 LIBS=$save_LIBS
14721 ;;
14722 esac
14723
14724 case $lt_cv_dlopen_self in
14725 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14726 *) enable_dlopen_self=unknown ;;
14727 esac
14728
14729 case $lt_cv_dlopen_self_static in
14730 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14731 *) enable_dlopen_self_static=unknown ;;
14732 esac
14733 fi
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751 striplib=
14752 old_striplib=
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14754 printf %s "checking whether stripping libraries is possible... " >&6; }
14755 if test -z "$STRIP"; then
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14757 printf "%s\n" "no" >&6; }
14758 else
14759 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14760 old_striplib="$STRIP --strip-debug"
14761 striplib="$STRIP --strip-unneeded"
14762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14763 printf "%s\n" "yes" >&6; }
14764 else
14765 case $host_os in
14766 darwin*)
14767 # FIXME - insert some real tests, host_os isn't really good enough
14768 striplib="$STRIP -x"
14769 old_striplib="$STRIP -S"
14770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14771 printf "%s\n" "yes" >&6; }
14772 ;;
14773 freebsd*)
14774 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
14775 old_striplib="$STRIP --strip-debug"
14776 striplib="$STRIP --strip-unneeded"
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14778 printf "%s\n" "yes" >&6; }
14779 else
14780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14781 printf "%s\n" "no" >&6; }
14782 fi
14783 ;;
14784 *)
14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14786 printf "%s\n" "no" >&6; }
14787 ;;
14788 esac
14789 fi
14790 fi
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803 # Report what library types will actually be built
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14805 printf %s "checking if libtool supports shared libraries... " >&6; }
14806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14807 printf "%s\n" "$can_build_shared" >&6; }
14808
14809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14810 printf %s "checking whether to build shared libraries... " >&6; }
14811 test no = "$can_build_shared" && enable_shared=no
14812
14813 # On AIX, shared libraries and static libraries use the same namespace, and
14814 # are all built from PIC.
14815 case $host_os in
14816 aix3*)
14817 test yes = "$enable_shared" && enable_static=no
14818 if test -n "$RANLIB"; then
14819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14820 postinstall_cmds='$RANLIB $lib'
14821 fi
14822 ;;
14823
14824 aix[4-9]*)
14825 if test ia64 != "$host_cpu"; then
14826 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14827 yes,aix,yes) ;; # shared object as lib.so file only
14828 yes,svr4,*) ;; # shared object as lib.so archive member only
14829 yes,*) enable_static=no ;; # shared object in lib.a archive as well
14830 esac
14831 fi
14832 ;;
14833 esac
14834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14835 printf "%s\n" "$enable_shared" >&6; }
14836
14837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14838 printf %s "checking whether to build static libraries... " >&6; }
14839 # Make sure either enable_shared or enable_static is yes.
14840 test yes = "$enable_shared" || enable_static=yes
14841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14842 printf "%s\n" "$enable_static" >&6; }
14843
14844
14845
14846
14847 fi
14848 ac_ext=c
14849 ac_cpp='$CPP $CPPFLAGS'
14850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14853
14854 CC=$lt_save_CC
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870 ac_config_commands="$ac_config_commands libtool"
14871
14872
14873
14874
14875 # Only expand once:
14876
14877
14878 # (end lt_init)
14879 # Check whether --enable-largefile was given.
14880 if test ${enable_largefile+y}
14881 then :
14882 enableval=$enable_largefile;
14883 fi
14884 if test "$enable_largefile,$enable_year2038" != no,no
14885 then :
14886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
14887 printf %s "checking for $CC option to enable large file support... " >&6; }
14888 if test ${ac_cv_sys_largefile_opts+y}
14889 then :
14890 printf %s "(cached) " >&6
14891 else case e in #(
14892 e) ac_save_CC="$CC"
14893 ac_opt_found=no
14894 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
14895 if test x"$ac_opt" != x"none needed"
14896 then :
14897 CC="$ac_save_CC $ac_opt"
14898 fi
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14901 #include <sys/types.h>
14902 #ifndef FTYPE
14903 # define FTYPE off_t
14904 #endif
14905 /* Check that FTYPE can represent 2**63 - 1 correctly.
14906 We can't simply define LARGE_FTYPE to be 9223372036854775807,
14907 since some C++ compilers masquerading as C compilers
14908 incorrectly reject 9223372036854775807. */
14909 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
14910 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
14911 && LARGE_FTYPE % 2147483647 == 1)
14912 ? 1 : -1];
14913 int
14914 main (void)
14915 {
14916
14917 ;
14918 return 0;
14919 }
14920 _ACEOF
14921 if ac_fn_c_try_compile "$LINENO"
14922 then :
14923 if test x"$ac_opt" = x"none needed"
14924 then :
14925 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
14926 CC="$CC -DFTYPE=ino_t"
14927 if ac_fn_c_try_compile "$LINENO"
14928 then :
14929
14930 else case e in #(
14931 e) CC="$CC -D_FILE_OFFSET_BITS=64"
14932 if ac_fn_c_try_compile "$LINENO"
14933 then :
14934 ac_opt='-D_FILE_OFFSET_BITS=64'
14935 fi
14936 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
14937 esac
14938 fi
14939 rm -f core conftest.err conftest.$ac_objext conftest.beam
14940 fi
14941 ac_cv_sys_largefile_opts=$ac_opt
14942 ac_opt_found=yes
14943 fi
14944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14945 test $ac_opt_found = no || break
14946 done
14947 CC="$ac_save_CC"
14948
14949 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
14950 esac
14951 fi
14952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
14953 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
14954
14955 ac_have_largefile=yes
14956 case $ac_cv_sys_largefile_opts in #(
14957 "none needed") :
14958 ;; #(
14959 "supported through gnulib") :
14960 ;; #(
14961 "support not detected") :
14962 ac_have_largefile=no ;; #(
14963 "-D_FILE_OFFSET_BITS=64") :
14964
14965 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
14966 ;; #(
14967 "-D_LARGE_FILES=1") :
14968
14969 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
14970 ;; #(
14971 "-n32") :
14972 CC="$CC -n32" ;; #(
14973 *) :
14974 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
14975 esac
14976
14977 if test "$enable_year2038" != no
14978 then :
14979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
14980 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
14981 if test ${ac_cv_sys_year2038_opts+y}
14982 then :
14983 printf %s "(cached) " >&6
14984 else case e in #(
14985 e) ac_save_CPPFLAGS="$CPPFLAGS"
14986 ac_opt_found=no
14987 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
14988 if test x"$ac_opt" != x"none needed"
14989 then :
14990 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
14991 fi
14992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14994
14995 #include <time.h>
14996 /* Check that time_t can represent 2**32 - 1 correctly. */
14997 #define LARGE_TIME_T \\
14998 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
14999 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
15000 && LARGE_TIME_T % 65537 == 0)
15001 ? 1 : -1];
15002
15003 int
15004 main (void)
15005 {
15006
15007 ;
15008 return 0;
15009 }
15010 _ACEOF
15011 if ac_fn_c_try_compile "$LINENO"
15012 then :
15013 ac_cv_sys_year2038_opts="$ac_opt"
15014 ac_opt_found=yes
15015 fi
15016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15017 test $ac_opt_found = no || break
15018 done
15019 CPPFLAGS="$ac_save_CPPFLAGS"
15020 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
15021 esac
15022 fi
15023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
15024 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
15025
15026 ac_have_year2038=yes
15027 case $ac_cv_sys_year2038_opts in #(
15028 "none needed") :
15029 ;; #(
15030 "support not detected") :
15031 ac_have_year2038=no ;; #(
15032 "-D_TIME_BITS=64") :
15033
15034 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
15035 ;; #(
15036 "-D__MINGW_USE_VC2005_COMPAT") :
15037
15038 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
15039 ;; #(
15040 "-U_USE_32_BIT_TIME_T"*) :
15041 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15042 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15043 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
15044 will stop working after mid-January 2038. Remove
15045 _USE_32BIT_TIME_T from the compiler flags.
15046 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15047 *) :
15048 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
15049 esac
15050
15051 fi
15052
15053 fi
15054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
15055 printf %s "checking for declarations of fseeko and ftello... " >&6; }
15056 if test ${ac_cv_func_fseeko_ftello+y}
15057 then :
15058 printf %s "(cached) " >&6
15059 else case e in #(
15060 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15062
15063 #if defined __hpux && !defined _LARGEFILE_SOURCE
15064 # include <limits.h>
15065 # if LONG_MAX >> 31 == 0
15066 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15067 # endif
15068 #endif
15069 #include <sys/types.h> /* for off_t */
15070 #include <stdio.h>
15071
15072 int
15073 main (void)
15074 {
15075
15076 int (*fp1) (FILE *, off_t, int) = fseeko;
15077 off_t (*fp2) (FILE *) = ftello;
15078 return fseeko (stdin, 0, 0)
15079 && fp1 (stdin, 0, 0)
15080 && ftello (stdin) >= 0
15081 && fp2 (stdin) >= 0;
15082
15083 ;
15084 return 0;
15085 }
15086 _ACEOF
15087 if ac_fn_c_try_compile "$LINENO"
15088 then :
15089 ac_cv_func_fseeko_ftello=yes
15090 else case e in #(
15091 e) ac_save_CPPFLAGS="$CPPFLAGS"
15092 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15095
15096 #if defined __hpux && !defined _LARGEFILE_SOURCE
15097 # include <limits.h>
15098 # if LONG_MAX >> 31 == 0
15099 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15100 # endif
15101 #endif
15102 #include <sys/types.h> /* for off_t */
15103 #include <stdio.h>
15104
15105 int
15106 main (void)
15107 {
15108
15109 int (*fp1) (FILE *, off_t, int) = fseeko;
15110 off_t (*fp2) (FILE *) = ftello;
15111 return fseeko (stdin, 0, 0)
15112 && fp1 (stdin, 0, 0)
15113 && ftello (stdin) >= 0
15114 && fp2 (stdin) >= 0;
15115
15116 ;
15117 return 0;
15118 }
15119 _ACEOF
15120 if ac_fn_c_try_compile "$LINENO"
15121 then :
15122 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
15123 else case e in #(
15124 e) ac_cv_func_fseeko_ftello=no ;;
15125 esac
15126 fi
15127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15128 esac
15129 fi
15130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15131 esac
15132 fi
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
15134 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
15135 if test "$ac_cv_func_fseeko_ftello" != no
15136 then :
15137
15138 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
15139
15140 fi
15141 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
15142 then :
15143
15144 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
15145
15146 fi
15147
15148 ac_header_dirent=no
15149 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15150 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15152 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
15153 if eval test \${$as_ac_Header+y}
15154 then :
15155 printf %s "(cached) " >&6
15156 else case e in #(
15157 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15159 #include <sys/types.h>
15160 #include <$ac_hdr>
15161
15162 int
15163 main (void)
15164 {
15165 if ((DIR *) 0)
15166 return 0;
15167 ;
15168 return 0;
15169 }
15170 _ACEOF
15171 if ac_fn_c_try_compile "$LINENO"
15172 then :
15173 eval "$as_ac_Header=yes"
15174 else case e in #(
15175 e) eval "$as_ac_Header=no" ;;
15176 esac
15177 fi
15178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15179 esac
15180 fi
15181 eval ac_res=\$$as_ac_Header
15182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15183 printf "%s\n" "$ac_res" >&6; }
15184 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15185 then :
15186 cat >>confdefs.h <<_ACEOF
15187 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
15188 _ACEOF
15189
15190 ac_header_dirent=$ac_hdr; break
15191 fi
15192
15193 done
15194 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15195 if test $ac_header_dirent = dirent.h; then
15196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15197 printf %s "checking for library containing opendir... " >&6; }
15198 if test ${ac_cv_search_opendir+y}
15199 then :
15200 printf %s "(cached) " >&6
15201 else case e in #(
15202 e) ac_func_search_save_LIBS=$LIBS
15203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15204 /* end confdefs.h. */
15205
15206 /* Override any GCC internal prototype to avoid an error.
15207 Use char because int might match the return type of a GCC
15208 builtin and then its argument prototype would still apply.
15209 The 'extern "C"' is for builds by C++ compilers;
15210 although this is not generally supported in C code supporting it here
15211 has little cost and some practical benefit (sr 110532). */
15212 #ifdef __cplusplus
15213 extern "C"
15214 #endif
15215 char opendir (void);
15216 int
15217 main (void)
15218 {
15219 return opendir ();
15220 ;
15221 return 0;
15222 }
15223 _ACEOF
15224 for ac_lib in '' dir
15225 do
15226 if test -z "$ac_lib"; then
15227 ac_res="none required"
15228 else
15229 ac_res=-l$ac_lib
15230 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15231 fi
15232 if ac_fn_c_try_link "$LINENO"
15233 then :
15234 ac_cv_search_opendir=$ac_res
15235 fi
15236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15237 conftest$ac_exeext
15238 if test ${ac_cv_search_opendir+y}
15239 then :
15240 break
15241 fi
15242 done
15243 if test ${ac_cv_search_opendir+y}
15244 then :
15245
15246 else case e in #(
15247 e) ac_cv_search_opendir=no ;;
15248 esac
15249 fi
15250 rm conftest.$ac_ext
15251 LIBS=$ac_func_search_save_LIBS ;;
15252 esac
15253 fi
15254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15255 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15256 ac_res=$ac_cv_search_opendir
15257 if test "$ac_res" != no
15258 then :
15259 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15260
15261 fi
15262
15263 else
15264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15265 printf %s "checking for library containing opendir... " >&6; }
15266 if test ${ac_cv_search_opendir+y}
15267 then :
15268 printf %s "(cached) " >&6
15269 else case e in #(
15270 e) ac_func_search_save_LIBS=$LIBS
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273
15274 /* Override any GCC internal prototype to avoid an error.
15275 Use char because int might match the return type of a GCC
15276 builtin and then its argument prototype would still apply.
15277 The 'extern "C"' is for builds by C++ compilers;
15278 although this is not generally supported in C code supporting it here
15279 has little cost and some practical benefit (sr 110532). */
15280 #ifdef __cplusplus
15281 extern "C"
15282 #endif
15283 char opendir (void);
15284 int
15285 main (void)
15286 {
15287 return opendir ();
15288 ;
15289 return 0;
15290 }
15291 _ACEOF
15292 for ac_lib in '' x
15293 do
15294 if test -z "$ac_lib"; then
15295 ac_res="none required"
15296 else
15297 ac_res=-l$ac_lib
15298 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15299 fi
15300 if ac_fn_c_try_link "$LINENO"
15301 then :
15302 ac_cv_search_opendir=$ac_res
15303 fi
15304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15305 conftest$ac_exeext
15306 if test ${ac_cv_search_opendir+y}
15307 then :
15308 break
15309 fi
15310 done
15311 if test ${ac_cv_search_opendir+y}
15312 then :
15313
15314 else case e in #(
15315 e) ac_cv_search_opendir=no ;;
15316 esac
15317 fi
15318 rm conftest.$ac_ext
15319 LIBS=$ac_func_search_save_LIBS ;;
15320 esac
15321 fi
15322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15323 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15324 ac_res=$ac_cv_search_opendir
15325 if test "$ac_res" != no
15326 then :
15327 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15328
15329 fi
15330
15331 fi
15332
15333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
15334 printf %s "checking whether closedir returns void... " >&6; }
15335 if test ${ac_cv_func_closedir_void+y}
15336 then :
15337 printf %s "(cached) " >&6
15338 else case e in #(
15339 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15341
15342 #include <$ac_header_dirent>
15343
15344 int
15345 main (void)
15346 {
15347
15348 return closedir(0);
15349
15350 ;
15351 return 0;
15352 }
15353 _ACEOF
15354 if ac_fn_c_try_compile "$LINENO"
15355 then :
15356 ac_cv_func_closedir_void=no
15357 else case e in #(
15358 e) ac_cv_func_closedir_void=yes ;;
15359 esac
15360 fi
15361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15362 esac
15363 fi
15364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
15365 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
15366 if test $ac_cv_func_closedir_void = yes; then
15367
15368 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
15369
15370 fi
15371
15372 ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
15373 if test "x$ac_cv_header_assert_h" = xyes
15374 then :
15375 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
15376
15377 fi
15378 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
15379 if test "x$ac_cv_header_float_h" = xyes
15380 then :
15381 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
15382
15383 fi
15384 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15385 if test "x$ac_cv_header_limits_h" = xyes
15386 then :
15387 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15388
15389 fi
15390 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
15391 if test "x$ac_cv_header_pwd_h" = xyes
15392 then :
15393 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
15394
15395 fi
15396 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15397 if test "x$ac_cv_header_stdlib_h" = xyes
15398 then :
15399 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15400
15401 fi
15402 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15403 if test "x$ac_cv_header_sys_param_h" = xyes
15404 then :
15405 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
15406
15407 fi
15408
15409 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
15410 if test "x$ac_cv_func_putenv" = xyes
15411 then :
15412 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
15413
15414 fi
15415
15416 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
15417 if test "x$ac_cv_func_getcwd" = xyes
15418 then :
15419 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
15420
15421 fi
15422 ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp"
15423 if test "x$ac_cv_func_memcmp" = xyes
15424 then :
15425 printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h
15426
15427 fi
15428 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
15429 if test "x$ac_cv_func_memcpy" = xyes
15430 then :
15431 printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
15432
15433 fi
15434 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
15435 if test "x$ac_cv_func_mkstemp" = xyes
15436 then :
15437 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15438
15439 fi
15440 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15441 if test "x$ac_cv_func_mktemp" = xyes
15442 then :
15443 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15444
15445 fi
15446 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
15447 if test "x$ac_cv_func_strchr" = xyes
15448 then :
15449 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
15450
15451 fi
15452 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
15453 if test "x$ac_cv_func_strrchr" = xyes
15454 then :
15455 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
15456
15457 fi
15458
15459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15460 printf %s "checking for an ANSI C-conforming const... " >&6; }
15461 if test ${ac_cv_c_const+y}
15462 then :
15463 printf %s "(cached) " >&6
15464 else case e in #(
15465 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15467
15468 int
15469 main (void)
15470 {
15471
15472 #ifndef __cplusplus
15473 /* Ultrix mips cc rejects this sort of thing. */
15474 typedef int charset[2];
15475 const charset cs = { 0, 0 };
15476 /* SunOS 4.1.1 cc rejects this. */
15477 char const *const *pcpcc;
15478 char **ppc;
15479 /* NEC SVR4.0.2 mips cc rejects this. */
15480 struct point {int x, y;};
15481 static struct point const zero = {0,0};
15482 /* IBM XL C 1.02.0.0 rejects this.
15483 It does not let you subtract one const X* pointer from another in
15484 an arm of an if-expression whose if-part is not a constant
15485 expression */
15486 const char *g = "string";
15487 pcpcc = &g + (g ? g-g : 0);
15488 /* HPUX 7.0 cc rejects these. */
15489 ++pcpcc;
15490 ppc = (char**) pcpcc;
15491 pcpcc = (char const *const *) ppc;
15492 { /* SCO 3.2v4 cc rejects this sort of thing. */
15493 char tx;
15494 char *t = &tx;
15495 char const *s = 0 ? (char *) 0 : (char const *) 0;
15496
15497 *t++ = 0;
15498 if (s) return 0;
15499 }
15500 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15501 int x[] = {25, 17};
15502 const int *foo = &x[0];
15503 ++foo;
15504 }
15505 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15506 typedef const int *iptr;
15507 iptr p = 0;
15508 ++p;
15509 }
15510 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
15511 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15512 struct s { int j; const int *ap[3]; } bx;
15513 struct s *b = &bx; b->j = 5;
15514 }
15515 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15516 const int foo = 10;
15517 if (!foo) return 0;
15518 }
15519 return !cs[0] && !zero.x;
15520 #endif
15521
15522 ;
15523 return 0;
15524 }
15525 _ACEOF
15526 if ac_fn_c_try_compile "$LINENO"
15527 then :
15528 ac_cv_c_const=yes
15529 else case e in #(
15530 e) ac_cv_c_const=no ;;
15531 esac
15532 fi
15533 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15534 esac
15535 fi
15536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15537 printf "%s\n" "$ac_cv_c_const" >&6; }
15538 if test $ac_cv_c_const = no; then
15539
15540 printf "%s\n" "#define const /**/" >>confdefs.h
15541
15542 fi
15543
15544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15545 printf %s "checking for inline... " >&6; }
15546 if test ${ac_cv_c_inline+y}
15547 then :
15548 printf %s "(cached) " >&6
15549 else case e in #(
15550 e) ac_cv_c_inline=no
15551 for ac_kw in inline __inline__ __inline; do
15552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15553 /* end confdefs.h. */
15554 #ifndef __cplusplus
15555 typedef int foo_t;
15556 static $ac_kw foo_t static_foo (void) {return 0; }
15557 $ac_kw foo_t foo (void) {return 0; }
15558 #endif
15559
15560 _ACEOF
15561 if ac_fn_c_try_compile "$LINENO"
15562 then :
15563 ac_cv_c_inline=$ac_kw
15564 fi
15565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15566 test "$ac_cv_c_inline" != no && break
15567 done
15568 ;;
15569 esac
15570 fi
15571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15572 printf "%s\n" "$ac_cv_c_inline" >&6; }
15573
15574 case $ac_cv_c_inline in
15575 inline | yes) ;;
15576 *)
15577 case $ac_cv_c_inline in
15578 no) ac_val=;;
15579 *) ac_val=$ac_cv_c_inline;;
15580 esac
15581 cat >>confdefs.h <<_ACEOF
15582 #ifndef __cplusplus
15583 #define inline $ac_val
15584 #endif
15585 _ACEOF
15586 ;;
15587 esac
15588
15589 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15590 if test "x$ac_cv_type_size_t" = xyes
15591 then :
15592
15593 else case e in #(
15594 e)
15595 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
15596 ;;
15597 esac
15598 fi
15599
15600 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
15601 case $ac_cv_c_int64_t in #(
15602 no|yes) ;; #(
15603 *)
15604
15605 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
15606 ;;
15607 esac
15608
15609 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
15610 case $ac_cv_c_uint64_t in #(
15611 no|yes) ;; #(
15612 *)
15613
15614 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
15615
15616
15617 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
15618 ;;
15619 esac
15620
15621 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
15622 *':no:'*) :
15623 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
15624 *) :
15625 ;;
15626 esac
15627 ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
15628 " "$ac_c_undeclared_builtin_options" "CFLAGS"
15629 if test "x$ac_cv_have_decl_isascii" = xyes
15630 then :
15631 ac_have_decl=1
15632 else case e in #(
15633 e) ac_have_decl=0 ;;
15634 esac
15635 fi
15636 printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h
15637
15638 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15639 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
15640 then :
15641
15642 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
15643
15644
15645 fi
15646
15647
15648
15649 ac_config_headers="$ac_config_headers c-auto.h:c-auto.in"
15650
15651
15652 ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
15653 if test "x$ac_cv_header_strings_h" = xyes
15654 then :
15655 printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h
15656
15657 fi
15658
15659
15660 kpse_save_CPPFLAGS=$CPPFLAGS
15661 kpse_save_LIBS=$LIBS
15662
15663 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
15664 kpse_BLD=`(cd "./../../." && pwd)`
15665 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
15666
15667 echo 'tldbg:_KPSE_USE_LIBTOOL called, libtool package version: 2.5.4' >&5
15668 : ${CONFIG_LT=./config.lt}
15669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
15670 printf "%s\n" "$as_me: creating $CONFIG_LT" >&6;}
15671 as_write_fail=0
15672 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
15673 #! $SHELL
15674 # Generated by $as_me.
15675 # Run this file to recreate a libtool stub with the current configuration.
15676 SHELL=\${CONFIG_SHELL-$SHELL}
15677 export SHELL
15678 _ASEOF
15679 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
15680 ## -------------------- ##
15681 ## M4sh Initialization. ##
15682 ## -------------------- ##
15683
15684 # Be more Bourne compatible
15685 DUALCASE=1; export DUALCASE # for MKS sh
15686 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
15687 then :
15688 emulate sh
15689 NULLCMD=:
15690 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15691 # is contrary to our usage. Disable this feature.
15692 alias -g '${1+"$@"}'='"$@"'
15693 setopt NO_GLOB_SUBST
15694 else case e in #(
15695 e) case `(set -o) 2>/dev/null` in #(
15696 *posix*) :
15697 set -o posix ;; #(
15698 *) :
15699 ;;
15700 esac ;;
15701 esac
15702 fi
15703
15704
15705
15706 # Reset variables that may have inherited troublesome values from
15707 # the environment.
15708
15709 # IFS needs to be set, to space, tab, and newline, in precisely that order.
15710 # (If _AS_PATH_WALK were called with IFS unset, it would have the
15711 # side effect of setting IFS to empty, thus disabling word splitting.)
15712 # Quoting is to prevent editors from complaining about space-tab.
15713 as_nl='
15714 '
15715 export as_nl
15716 IFS=" "" $as_nl"
15717
15718 PS1='$ '
15719 PS2='> '
15720 PS4='+ '
15721
15722 # Ensure predictable behavior from utilities with locale-dependent output.
15723 LC_ALL=C
15724 export LC_ALL
15725 LANGUAGE=C
15726 export LANGUAGE
15727
15728 # We cannot yet rely on "unset" to work, but we need these variables
15729 # to be unset--not just set to an empty or harmless value--now, to
15730 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
15731 # also avoids known problems related to "unset" and subshell syntax
15732 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
15733 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
15734 do eval test \${$as_var+y} \
15735 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15736 done
15737
15738 # Ensure that fds 0, 1, and 2 are open.
15739 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
15740 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
15741 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
15742
15743 # The user is always right.
15744 if ${PATH_SEPARATOR+false} :; then
15745 PATH_SEPARATOR=:
15746 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15747 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15748 PATH_SEPARATOR=';'
15749 }
15750 fi
15751
15752
15753 # Find who we are. Look in the path if we contain no directory separator.
15754 as_myself=
15755 case $0 in #((
15756 *[\\/]* ) as_myself=$0 ;;
15757 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15758 for as_dir in $PATH
15759 do
15760 IFS=$as_save_IFS
15761 case $as_dir in #(((
15762 '') as_dir=./ ;;
15763 */) ;;
15764 *) as_dir=$as_dir/ ;;
15765 esac
15766 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
15767 done
15768 IFS=$as_save_IFS
15769
15770 ;;
15771 esac
15772 # We did not find ourselves, most probably we were run as 'sh COMMAND'
15773 # in which case we are not to be found in the path.
15774 if test "x$as_myself" = x; then
15775 as_myself=$0
15776 fi
15777 if test ! -f "$as_myself"; then
15778 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15779 exit 1
15780 fi
15781
15782
15783
15784 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15785 # ----------------------------------------
15786 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15787 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15788 # script with STATUS, using 1 if that was 0.
15789 as_fn_error ()
15790 {
15791 as_status=$1; test $as_status -eq 0 && as_status=1
15792 if test "$4"; then
15793 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15795 fi
15796 printf "%s\n" "$as_me: error: $2" >&2
15797 as_fn_exit $as_status
15798 } # as_fn_error
15799
15800
15801 # as_fn_set_status STATUS
15802 # -----------------------
15803 # Set $? to STATUS, without forking.
15804 as_fn_set_status ()
15805 {
15806 return $1
15807 } # as_fn_set_status
15808
15809 # as_fn_exit STATUS
15810 # -----------------
15811 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15812 as_fn_exit ()
15813 {
15814 set +e
15815 as_fn_set_status $1
15816 exit $1
15817 } # as_fn_exit
15818
15819 # as_fn_unset VAR
15820 # ---------------
15821 # Portably unset VAR.
15822 as_fn_unset ()
15823 {
15824 { eval $1=; unset $1;}
15825 }
15826 as_unset=as_fn_unset
15827
15828 # as_fn_append VAR VALUE
15829 # ----------------------
15830 # Append the text in VALUE to the end of the definition contained in VAR. Take
15831 # advantage of any shell optimizations that allow amortized linear growth over
15832 # repeated appends, instead of the typical quadratic growth present in naive
15833 # implementations.
15834 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
15835 then :
15836 eval 'as_fn_append ()
15837 {
15838 eval $1+=\$2
15839 }'
15840 else case e in #(
15841 e) as_fn_append ()
15842 {
15843 eval $1=\$$1\$2
15844 } ;;
15845 esac
15846 fi # as_fn_append
15847
15848 # as_fn_arith ARG...
15849 # ------------------
15850 # Perform arithmetic evaluation on the ARGs, and store the result in the
15851 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15852 # must be portable across $(()) and expr.
15853 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
15854 then :
15855 eval 'as_fn_arith ()
15856 {
15857 as_val=$(( $* ))
15858 }'
15859 else case e in #(
15860 e) as_fn_arith ()
15861 {
15862 as_val=`expr "$@" || test $? -eq 1`
15863 } ;;
15864 esac
15865 fi # as_fn_arith
15866
15867
15868 if expr a : '\(a\)' >/dev/null 2>&1 &&
15869 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15870 as_expr=expr
15871 else
15872 as_expr=false
15873 fi
15874
15875 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15876 as_basename=basename
15877 else
15878 as_basename=false
15879 fi
15880
15881 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15882 as_dirname=dirname
15883 else
15884 as_dirname=false
15885 fi
15886
15887 as_me=`$as_basename -- "$0" ||
15888 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15889 X"$0" : 'X\(//\)$' \| \
15890 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15891 printf "%s\n" X/"$0" |
15892 sed '/^.*\/\([^/][^/]*\)\/*$/{
15893 s//\1/
15894 q
15895 }
15896 /^X\/\(\/\/\)$/{
15897 s//\1/
15898 q
15899 }
15900 /^X\/\(\/\).*/{
15901 s//\1/
15902 q
15903 }
15904 s/.*/./; q'`
15905
15906 # Avoid depending upon Character Ranges.
15907 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15908 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15909 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15910 as_cr_digits='0123456789'
15911 as_cr_alnum=$as_cr_Letters$as_cr_digits
15912
15913
15914 # Determine whether it's possible to make 'echo' print without a newline.
15915 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
15916 # for compatibility with existing Makefiles.
15917 ECHO_C= ECHO_N= ECHO_T=
15918 case `echo -n x` in #(((((
15919 -n*)
15920 case `echo 'xy\c'` in
15921 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15922 xy) ECHO_C='\c';;
15923 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15924 ECHO_T=' ';;
15925 esac;;
15926 *)
15927 ECHO_N='-n';;
15928 esac
15929
15930 # For backward compatibility with old third-party macros, we provide
15931 # the shell variables $as_echo and $as_echo_n. New code should use
15932 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
15933 as_echo='printf %s\n'
15934 as_echo_n='printf %s'
15935
15936 rm -f conf$$ conf$$.exe conf$$.file
15937 if test -d conf$$.dir; then
15938 rm -f conf$$.dir/conf$$.file
15939 else
15940 rm -f conf$$.dir
15941 mkdir conf$$.dir 2>/dev/null
15942 fi
15943 if (echo >conf$$.file) 2>/dev/null; then
15944 if ln -s conf$$.file conf$$ 2>/dev/null; then
15945 as_ln_s='ln -s'
15946 # ... but there are two gotchas:
15947 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
15948 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
15949 # In both cases, we have to default to 'cp -pR'.
15950 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15951 as_ln_s='cp -pR'
15952 elif ln conf$$.file conf$$ 2>/dev/null; then
15953 as_ln_s=ln
15954 else
15955 as_ln_s='cp -pR'
15956 fi
15957 else
15958 as_ln_s='cp -pR'
15959 fi
15960 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15961 rmdir conf$$.dir 2>/dev/null
15962
15963
15964 # as_fn_mkdir_p
15965 # -------------
15966 # Create "$as_dir" as a directory, including parents if necessary.
15967 as_fn_mkdir_p ()
15968 {
15969
15970 case $as_dir in #(
15971 -*) as_dir=./$as_dir;;
15972 esac
15973 test -d "$as_dir" || eval $as_mkdir_p || {
15974 as_dirs=
15975 while :; do
15976 case $as_dir in #(
15977 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15978 *) as_qdir=$as_dir;;
15979 esac
15980 as_dirs="'$as_qdir' $as_dirs"
15981 as_dir=`$as_dirname -- "$as_dir" ||
15982 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15983 X"$as_dir" : 'X\(//\)[^/]' \| \
15984 X"$as_dir" : 'X\(//\)$' \| \
15985 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15986 printf "%s\n" X"$as_dir" |
15987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15988 s//\1/
15989 q
15990 }
15991 /^X\(\/\/\)[^/].*/{
15992 s//\1/
15993 q
15994 }
15995 /^X\(\/\/\)$/{
15996 s//\1/
15997 q
15998 }
15999 /^X\(\/\).*/{
16000 s//\1/
16001 q
16002 }
16003 s/.*/./; q'`
16004 test -d "$as_dir" && break
16005 done
16006 test -z "$as_dirs" || eval "mkdir $as_dirs"
16007 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16008
16009
16010 } # as_fn_mkdir_p
16011 if mkdir -p . 2>/dev/null; then
16012 as_mkdir_p='mkdir -p "$as_dir"'
16013 else
16014 test -d ./-p && rmdir ./-p
16015 as_mkdir_p=false
16016 fi
16017
16018
16019 # as_fn_executable_p FILE
16020 # -----------------------
16021 # Test if FILE is an executable regular file.
16022 as_fn_executable_p ()
16023 {
16024 test -f "$1" && test -x "$1"
16025 } # as_fn_executable_p
16026 as_test_x='test -x'
16027 as_executable_p=as_fn_executable_p
16028
16029 # Sed expression to map a string onto a valid CPP name.
16030 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16031 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
16032
16033 # Sed expression to map a string onto a valid variable name.
16034 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16035 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
16036
16037
16038 exec 6>&1
16039 ## --------------------------------- ##
16040 ## Main body of "$CONFIG_LT" script. ##
16041 ## --------------------------------- ##
16042 _ASEOF
16043 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16044
16045 cat >>"$CONFIG_LT" <<\_LTEOF
16046 lt_cl_silent=false
16047 exec 5>>config.log
16048 {
16049 echo
16050 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16051 ## Running $as_me. ##
16052 _ASBOX
16053 } >&5
16054
16055 lt_cl_help="\
16056 '$as_me' creates a local libtool stub from the current configuration,
16057 for use in further configure time tests before the real libtool is
16058 generated.
16059
16060 Usage: $0 [OPTIONS]
16061
16062 -h, --help print this help, then exit
16063 -V, --version print version number, then exit
16064 -q, --quiet do not print progress messages
16065 -d, --debug don't remove temporary files
16066
16067 Report bugs to <[email protected]>."
16068
16069 lt_cl_version="\
16070 makejvf (TeX Live) config.lt 20251226
16071 configured by $0, generated by GNU Autoconf 2.72.
16072
16073 Copyright (C) 2024 Free Software Foundation, Inc.
16074 This config.lt script is free software; the Free Software Foundation
16075 gives unlimited permission to copy, distribute and modify it."
16076
16077 while test 0 != $#
16078 do
16079 case $1 in
16080 --version | --v* | -V )
16081 echo "$lt_cl_version"; exit 0 ;;
16082 --help | --h* | -h )
16083 echo "$lt_cl_help"; exit 0 ;;
16084 --debug | --d* | -d )
16085 debug=: ;;
16086 --quiet | --q* | --silent | --s* | -q )
16087 lt_cl_silent=: ;;
16088
16089 -*) as_fn_error $? "unrecognized option: $1
16090 Try '$0 --help' for more information." "$LINENO" 5 ;;
16091
16092 *) as_fn_error $? "unrecognized argument: $1
16093 Try '$0 --help' for more information." "$LINENO" 5 ;;
16094 esac
16095 shift
16096 done
16097
16098 if $lt_cl_silent; then
16099 exec 6>/dev/null
16100 fi
16101 _LTEOF
16102
16103 cat >>"$CONFIG_LT" <<_LTEOF
16104
16105
16106 # The HP-UX ksh and POSIX shell print the target directory to stdout
16107 # if CDPATH is set.
16108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16109
16110 sed_quote_subst='$sed_quote_subst'
16111 double_quote_subst='$double_quote_subst'
16112 delay_variable_subst='$delay_variable_subst'
16113 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16114 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16115 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16116 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16117 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16118 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16119 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16120 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16121 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16122 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16123 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16124 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16125 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16126 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16127 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16128 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16129 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16130 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16131 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16132 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16133 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16134 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16135 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16136 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16137 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16138 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16139 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16140 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16141 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16142 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16143 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16144 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16145 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16146 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16147 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16148 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16149 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16150 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16151 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16152 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16153 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16154 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16155 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16156 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16157 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16158 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16159 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16160 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16161 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16162 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16163 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16164 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16165 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16166 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16167 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16168 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16169 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16170 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16171 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16172 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16173 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16174 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"`'
16175 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16176 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16177 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16178 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16179 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16180 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16181 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16182 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16183 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16184 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16185 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16186 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16187 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16188 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16189 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16190 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16191 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16192 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16193 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16194 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16195 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16196 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16197 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16198 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16199 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16200 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16201 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16202 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16203 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16204 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16205 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16206 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16207 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16208 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16209 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16210 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16211 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16212 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16213 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16214 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16215 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16216 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16217 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16218 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16219 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16220 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16221 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16222 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16223 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16224 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16225 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16226 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16227 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16228 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16229 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16230 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16231 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16232 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16233 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16234 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16235 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16236 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16237 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16238 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16239 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16240 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16241 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16242 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16243 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16244 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16245 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16246 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16247 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16248 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16249 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16250 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16251
16252 LTCC='$LTCC'
16253 LTCFLAGS='$LTCFLAGS'
16254 compiler='$compiler_DEFAULT'
16255
16256 # A function that is used when there is no print builtin or printf.
16257 func_fallback_echo ()
16258 {
16259 eval 'cat <<_LTECHO_EOF
16260 \$1
16261 _LTECHO_EOF'
16262 }
16263
16264 # Quote evaled strings.
16265 for var in AS \
16266 DLLTOOL \
16267 OBJDUMP \
16268 SHELL \
16269 ECHO \
16270 PATH_SEPARATOR \
16271 SED \
16272 GREP \
16273 EGREP \
16274 FGREP \
16275 LD \
16276 NM \
16277 LN_S \
16278 lt_SP2NL \
16279 lt_NL2SP \
16280 reload_flag \
16281 FILECMD \
16282 deplibs_check_method \
16283 file_magic_cmd \
16284 file_magic_glob \
16285 want_nocaseglob \
16286 sharedlib_from_linklib_cmd \
16287 AR \
16288 archiver_list_spec \
16289 STRIP \
16290 RANLIB \
16291 CC \
16292 CFLAGS \
16293 compiler \
16294 lt_cv_sys_global_symbol_pipe \
16295 lt_cv_sys_global_symbol_to_cdecl \
16296 lt_cv_sys_global_symbol_to_import \
16297 lt_cv_sys_global_symbol_to_c_name_address \
16298 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16299 lt_cv_nm_interface \
16300 nm_file_list_spec \
16301 lt_cv_truncate_bin \
16302 lt_prog_compiler_no_builtin_flag \
16303 lt_prog_compiler_pic \
16304 lt_prog_compiler_wl \
16305 lt_prog_compiler_static \
16306 lt_cv_prog_compiler_c_o \
16307 need_locks \
16308 MANIFEST_TOOL \
16309 DSYMUTIL \
16310 NMEDIT \
16311 LIPO \
16312 OTOOL \
16313 OTOOL64 \
16314 shrext_cmds \
16315 export_dynamic_flag_spec \
16316 whole_archive_flag_spec \
16317 compiler_needs_object \
16318 with_gnu_ld \
16319 allow_undefined_flag \
16320 no_undefined_flag \
16321 hardcode_libdir_flag_spec \
16322 hardcode_libdir_separator \
16323 exclude_expsyms \
16324 include_expsyms \
16325 file_list_spec \
16326 variables_saved_for_relink \
16327 libname_spec \
16328 library_names_spec \
16329 soname_spec \
16330 install_override_mode \
16331 finish_eval \
16332 old_striplib \
16333 striplib; do
16334 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16335 *[\\\\\\\`\\"\\\$]*)
16336 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16337 ;;
16338 *)
16339 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16340 ;;
16341 esac
16342 done
16343
16344 # Double-quote double-evaled strings.
16345 for var in reload_cmds \
16346 old_postinstall_cmds \
16347 old_postuninstall_cmds \
16348 old_archive_cmds \
16349 extract_expsyms_cmds \
16350 old_archive_from_new_cmds \
16351 old_archive_from_expsyms_cmds \
16352 archive_cmds \
16353 archive_expsym_cmds \
16354 module_cmds \
16355 module_expsym_cmds \
16356 export_symbols_cmds \
16357 prelink_cmds \
16358 postlink_cmds \
16359 postinstall_cmds \
16360 postuninstall_cmds \
16361 finish_cmds \
16362 sys_lib_search_path_spec \
16363 configure_time_dlsearch_path \
16364 configure_time_lt_sys_library_path; do
16365 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16366 *[\\\\\\\`\\"\\\$]*)
16367 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16368 ;;
16369 *)
16370 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16371 ;;
16372 esac
16373 done
16374
16375 ac_aux_dir='$ac_aux_dir'
16376
16377 # See if we are running on zsh, and set the options that allow our
16378 # commands through without removal of \ escapes INIT.
16379 if test -n "\${ZSH_VERSION+set}"; then
16380 setopt NO_GLOB_SUBST
16381 fi
16382
16383
16384 PACKAGE='$PACKAGE'
16385 VERSION='$VERSION'
16386 RM='$RM'
16387 ofile='$ofile'
16388
16389
16390
16391 _LTEOF
16392
16393 cat >>"$CONFIG_LT" <<\_LTEOF
16394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
16395 printf "%s\n" "$as_me: creating $ofile" >&6;}
16396
16397
16398 # See if we are running on zsh, and set the options that allow our
16399 # commands through without removal of \ escapes.
16400 if test -n "${ZSH_VERSION+set}"; then
16401 setopt NO_GLOB_SUBST
16402 fi
16403
16404 cfgfile=${ofile}T
16405 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16406 $RM "$cfgfile"
16407
16408 cat <<_LT_EOF >> "$cfgfile"
16409 #! $SHELL
16410 # Generated automatically by $as_me ($PACKAGE) $VERSION
16411 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16412
16413 # Provide generalized library-building support services.
16414 # Written by Gordon Matzigkeit, 1996
16415
16416 # Copyright (C) 2024 Free Software Foundation, Inc.
16417 # This is free software; see the source for copying conditions. There is NO
16418 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16419
16420 # GNU Libtool is free software; you can redistribute it and/or modify
16421 # it under the terms of the GNU General Public License as published by
16422 # the Free Software Foundation; either version 2 of the License, or
16423 # (at your option) any later version.
16424 #
16425 # As a special exception to the GNU General Public License, if you
16426 # distribute this file as part of a program or library that is built
16427 # using GNU Libtool, you may include this file under the same
16428 # distribution terms that you use for the rest of that program.
16429 #
16430 # GNU Libtool is distributed in the hope that it will be useful, but
16431 # WITHOUT ANY WARRANTY; without even the implied warranty of
16432 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16433 # GNU General Public License for more details.
16434 #
16435 # You should have received a copy of the GNU General Public License
16436 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16437
16438
16439 # The names of the tagged configurations supported by this script.
16440 available_tags=''
16441
16442 # Configured defaults for sys_lib_dlsearch_path munging.
16443 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16444
16445 # ### BEGIN LIBTOOL CONFIG
16446
16447 # Which release of libtool.m4 was used?
16448 macro_version=$macro_version
16449 macro_revision=$macro_revision
16450
16451 # Assembler program.
16452 AS=$lt_AS
16453
16454 # DLL creation program.
16455 DLLTOOL=$lt_DLLTOOL
16456
16457 # Object dumper program.
16458 OBJDUMP=$lt_OBJDUMP
16459
16460 # Whether or not to build shared libraries.
16461 build_libtool_libs=$enable_shared
16462
16463 # Whether or not to build static libraries.
16464 build_old_libs=$enable_static
16465
16466 # What type of objects to build.
16467 pic_mode=$pic_mode
16468
16469 # Whether or not to optimize for fast installation.
16470 fast_install=$enable_fast_install
16471
16472 # Shared archive member basename,for filename based shared library versioning on AIX.
16473 shared_archive_member_spec=$shared_archive_member_spec
16474
16475 # Shell to use when invoking shell scripts.
16476 SHELL=$lt_SHELL
16477
16478 # An echo program that protects backslashes.
16479 ECHO=$lt_ECHO
16480
16481 # The PATH separator for the build system.
16482 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16483
16484 # The host system.
16485 host_alias=$host_alias
16486 host=$host
16487 host_os=$host_os
16488
16489 # The build system.
16490 build_alias=$build_alias
16491 build=$build
16492 build_os=$build_os
16493
16494 # A sed program that does not truncate output.
16495 SED=$lt_SED
16496
16497 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16498 Xsed="\$SED -e 1s/^X//"
16499
16500 # A grep program that handles long lines.
16501 GREP=$lt_GREP
16502
16503 # An ERE matcher.
16504 EGREP=$lt_EGREP
16505
16506 # A literal string matcher.
16507 FGREP=$lt_FGREP
16508
16509 # A BSD- or MS-compatible name lister.
16510 NM=$lt_NM
16511
16512 # Whether we need soft or hard links.
16513 LN_S=$lt_LN_S
16514
16515 # What is the maximum length of a command?
16516 max_cmd_len=$max_cmd_len
16517
16518 # Object file suffix (normally "o").
16519 objext=$ac_objext
16520
16521 # Executable file suffix (normally "").
16522 exeext=$exeext
16523
16524 # whether the shell understands "unset".
16525 lt_unset=$lt_unset
16526
16527 # turn spaces into newlines.
16528 SP2NL=$lt_lt_SP2NL
16529
16530 # turn newlines into spaces.
16531 NL2SP=$lt_lt_NL2SP
16532
16533 # convert \$build file names to \$host format.
16534 to_host_file_cmd=$lt_cv_to_host_file_cmd
16535
16536 # convert \$build files to toolchain format.
16537 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16538
16539 # A file(cmd) program that detects file types.
16540 FILECMD=$lt_FILECMD
16541
16542 # Method to check whether dependent libraries are shared objects.
16543 deplibs_check_method=$lt_deplibs_check_method
16544
16545 # Command to use when deplibs_check_method = "file_magic".
16546 file_magic_cmd=$lt_file_magic_cmd
16547
16548 # How to find potential files when deplibs_check_method = "file_magic".
16549 file_magic_glob=$lt_file_magic_glob
16550
16551 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16552 want_nocaseglob=$lt_want_nocaseglob
16553
16554 # Command to associate shared and link libraries.
16555 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16556
16557 # The archiver.
16558 AR=$lt_AR
16559
16560 # Flags to create an archive (by configure).
16561 lt_ar_flags=$lt_ar_flags
16562
16563 # Flags to create an archive.
16564 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16565
16566 # How to feed a file listing to the archiver.
16567 archiver_list_spec=$lt_archiver_list_spec
16568
16569 # A symbol stripping program.
16570 STRIP=$lt_STRIP
16571
16572 # Commands used to install an old-style archive.
16573 RANLIB=$lt_RANLIB
16574 old_postinstall_cmds=$lt_old_postinstall_cmds
16575 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16576
16577 # Whether to use a lock for old archive extraction.
16578 lock_old_archive_extraction=$lock_old_archive_extraction
16579
16580 # A C compiler.
16581 LTCC=$lt_CC
16582
16583 # LTCC compiler flags.
16584 LTCFLAGS=$lt_CFLAGS
16585
16586 # Take the output of nm and produce a listing of raw symbols and C names.
16587 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16588
16589 # Transform the output of nm in a proper C declaration.
16590 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16591
16592 # Transform the output of nm into a list of symbols to manually relocate.
16593 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16594
16595 # Transform the output of nm in a C name address pair.
16596 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16597
16598 # Transform the output of nm in a C name address pair when lib prefix is needed.
16599 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16600
16601 # The name lister interface.
16602 nm_interface=$lt_lt_cv_nm_interface
16603
16604 # Specify filename containing input files for \$NM.
16605 nm_file_list_spec=$lt_nm_file_list_spec
16606
16607 # The root where to search for dependent libraries,and where our libraries should be installed.
16608 lt_sysroot=$lt_sysroot
16609
16610 # Command to truncate a binary pipe.
16611 lt_truncate_bin=$lt_lt_cv_truncate_bin
16612
16613 # The name of the directory that contains temporary libtool files.
16614 objdir=$objdir
16615
16616 # Used to examine libraries when file_magic_cmd begins with "file".
16617 MAGIC_CMD=$MAGIC_CMD
16618
16619 # Must we lock files when doing compilation?
16620 need_locks=$lt_need_locks
16621
16622 # Manifest tool.
16623 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16624
16625 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16626 DSYMUTIL=$lt_DSYMUTIL
16627
16628 # Tool to change global to local symbols on Mac OS X.
16629 NMEDIT=$lt_NMEDIT
16630
16631 # Tool to manipulate fat objects and archives on Mac OS X.
16632 LIPO=$lt_LIPO
16633
16634 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16635 OTOOL=$lt_OTOOL
16636
16637 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16638 OTOOL64=$lt_OTOOL64
16639
16640 # Old archive suffix (normally "a").
16641 libext=$libext
16642
16643 # Shared library suffix (normally ".so").
16644 shrext_cmds=$lt_shrext_cmds
16645
16646 # The commands to extract the exported symbol list from a shared archive.
16647 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16648
16649 # Variables whose values should be saved in libtool wrapper scripts and
16650 # restored at link time.
16651 variables_saved_for_relink=$lt_variables_saved_for_relink
16652
16653 # Do we need the "lib" prefix for modules?
16654 need_lib_prefix=$need_lib_prefix
16655
16656 # Do we need a version for libraries?
16657 need_version=$need_version
16658
16659 # Library versioning type.
16660 version_type=$version_type
16661
16662 # Shared library runtime path variable.
16663 runpath_var=$runpath_var
16664
16665 # Shared library path variable.
16666 shlibpath_var=$shlibpath_var
16667
16668 # Is shlibpath searched before the hard-coded library search path?
16669 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16670
16671 # Format of library name prefix.
16672 libname_spec=$lt_libname_spec
16673
16674 # List of archive names. First name is the real one, the rest are links.
16675 # The last name is the one that the linker finds with -lNAME
16676 library_names_spec=$lt_library_names_spec
16677
16678 # The coded name of the library, if different from the real name.
16679 soname_spec=$lt_soname_spec
16680
16681 # Permission mode override for installation of shared libraries.
16682 install_override_mode=$lt_install_override_mode
16683
16684 # Command to use after installation of a shared archive.
16685 postinstall_cmds=$lt_postinstall_cmds
16686
16687 # Command to use after uninstallation of a shared archive.
16688 postuninstall_cmds=$lt_postuninstall_cmds
16689
16690 # Commands used to finish a libtool library installation in a directory.
16691 finish_cmds=$lt_finish_cmds
16692
16693 # As "finish_cmds", except a single script fragment to be evaled but
16694 # not shown.
16695 finish_eval=$lt_finish_eval
16696
16697 # Whether we should hardcode library paths into libraries.
16698 hardcode_into_libs=$hardcode_into_libs
16699
16700 # Compile-time system search path for libraries.
16701 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16702
16703 # Detected run-time system search path for libraries.
16704 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16705
16706 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16707 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16708
16709 # Whether dlopen is supported.
16710 dlopen_support=$enable_dlopen
16711
16712 # Whether dlopen of programs is supported.
16713 dlopen_self=$enable_dlopen_self
16714
16715 # Whether dlopen of statically linked programs is supported.
16716 dlopen_self_static=$enable_dlopen_self_static
16717
16718 # Commands to strip libraries.
16719 old_striplib=$lt_old_striplib
16720 striplib=$lt_striplib
16721
16722
16723 # The linker used to build libraries.
16724 LD=$lt_LD
16725
16726 # How to create reloadable object files.
16727 reload_flag=$lt_reload_flag
16728 reload_cmds=$lt_reload_cmds
16729
16730 # Commands used to build an old-style archive.
16731 old_archive_cmds=$lt_old_archive_cmds
16732
16733 # A language specific compiler.
16734 CC=$lt_compiler
16735
16736 # Is the compiler the GNU compiler?
16737 with_gcc=$GCC
16738
16739 # Compiler flag to turn off builtin functions.
16740 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16741
16742 # Additional compiler flags for building library objects.
16743 pic_flag=$lt_lt_prog_compiler_pic
16744
16745 # How to pass a linker flag through the compiler.
16746 wl=$lt_lt_prog_compiler_wl
16747
16748 # Compiler flag to prevent dynamic linking.
16749 link_static_flag=$lt_lt_prog_compiler_static
16750
16751 # Does compiler simultaneously support -c and -o options?
16752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16753
16754 # Whether or not to add -lc for building shared libraries.
16755 build_libtool_need_lc=$archive_cmds_need_lc
16756
16757 # Whether or not to disallow shared libs when runtime libs are static.
16758 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16759
16760 # Compiler flag to allow reflexive dlopens.
16761 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16762
16763 # Compiler flag to generate shared objects directly from archives.
16764 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16765
16766 # Whether the compiler copes with passing no objects directly.
16767 compiler_needs_object=$lt_compiler_needs_object
16768
16769 # Create an old-style archive from a shared archive.
16770 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16771
16772 # Create a temporary old-style archive to link instead of a shared archive.
16773 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16774
16775 # Commands used to build a shared archive.
16776 archive_cmds=$lt_archive_cmds
16777 archive_expsym_cmds=$lt_archive_expsym_cmds
16778
16779 # Commands used to build a loadable module if different from building
16780 # a shared archive.
16781 module_cmds=$lt_module_cmds
16782 module_expsym_cmds=$lt_module_expsym_cmds
16783
16784 # Whether we are building with GNU ld or not.
16785 with_gnu_ld=$lt_with_gnu_ld
16786
16787 # Flag that allows shared libraries with undefined symbols to be built.
16788 allow_undefined_flag=$lt_allow_undefined_flag
16789
16790 # Flag that enforces no undefined symbols.
16791 no_undefined_flag=$lt_no_undefined_flag
16792
16793 # Flag to hardcode \$libdir into a binary during linking.
16794 # This must work even if \$libdir does not exist
16795 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16796
16797 # Whether we need a single "-rpath" flag with a separated argument.
16798 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16799
16800 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16801 # DIR into the resulting binary.
16802 hardcode_direct=$hardcode_direct
16803
16804 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16805 # DIR into the resulting binary and the resulting library dependency is
16806 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
16807 # library is relocated.
16808 hardcode_direct_absolute=$hardcode_direct_absolute
16809
16810 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16811 # into the resulting binary.
16812 hardcode_minus_L=$hardcode_minus_L
16813
16814 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16815 # into the resulting binary.
16816 hardcode_shlibpath_var=$hardcode_shlibpath_var
16817
16818 # Set to "yes" if building a shared library automatically hardcodes DIR
16819 # into the library and all subsequent libraries and executables linked
16820 # against it.
16821 hardcode_automatic=$hardcode_automatic
16822
16823 # Set to yes if linker adds runtime paths of dependent libraries
16824 # to runtime path list.
16825 inherit_rpath=$inherit_rpath
16826
16827 # Whether libtool must link a program against all its dependency libraries.
16828 link_all_deplibs=$link_all_deplibs
16829
16830 # Set to "yes" if exported symbols are required.
16831 always_export_symbols=$always_export_symbols
16832
16833 # The commands to list exported symbols.
16834 export_symbols_cmds=$lt_export_symbols_cmds
16835
16836 # Symbols that should not be listed in the preloaded symbols.
16837 exclude_expsyms=$lt_exclude_expsyms
16838
16839 # Symbols that must always be exported.
16840 include_expsyms=$lt_include_expsyms
16841
16842 # Commands necessary for linking programs (against libraries) with templates.
16843 prelink_cmds=$lt_prelink_cmds
16844
16845 # Commands necessary for finishing linking programs.
16846 postlink_cmds=$lt_postlink_cmds
16847
16848 # Specify filename containing input files.
16849 file_list_spec=$lt_file_list_spec
16850
16851 # How to hardcode a shared library path into an executable.
16852 hardcode_action=$hardcode_action
16853
16854 # ### END LIBTOOL CONFIG
16855
16856 _LT_EOF
16857
16858 cat <<'_LT_EOF' >> "$cfgfile"
16859
16860 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16861
16862 # func_munge_path_list VARIABLE PATH
16863 # -----------------------------------
16864 # VARIABLE is name of variable containing _space_ separated list of
16865 # directories to be munged by the contents of PATH, which is string
16866 # having a format:
16867 # "DIR[:DIR]:"
16868 # string "DIR[ DIR]" will be prepended to VARIABLE
16869 # ":DIR[:DIR]"
16870 # string "DIR[ DIR]" will be appended to VARIABLE
16871 # "DIRP[:DIRP]::[DIRA:]DIRA"
16872 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16873 # "DIRA[ DIRA]" will be appended to VARIABLE
16874 # "DIR[:DIR]"
16875 # VARIABLE will be replaced by "DIR[ DIR]"
16876 func_munge_path_list ()
16877 {
16878 case x$2 in
16879 x)
16880 ;;
16881 *:)
16882 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16883 ;;
16884 x:*)
16885 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16886 ;;
16887 *::*)
16888 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16889 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16890 ;;
16891 *)
16892 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16893 ;;
16894 esac
16895 }
16896
16897
16898 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16899 func_cc_basename ()
16900 {
16901 for cc_temp in $*""; do
16902 case $cc_temp in
16903 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16904 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16905 \-*) ;;
16906 *) break;;
16907 esac
16908 done
16909 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16910 }
16911
16912
16913 # ### END FUNCTIONS SHARED WITH CONFIGURE
16914
16915 _LT_EOF
16916
16917 case $host_os in
16918 aix3*)
16919 cat <<\_LT_EOF >> "$cfgfile"
16920 # AIX sometimes has problems with the GCC collect2 program. For some
16921 # reason, if we set the COLLECT_NAMES environment variable, the problems
16922 # vanish in a puff of smoke.
16923 if test set != "${COLLECT_NAMES+set}"; then
16924 COLLECT_NAMES=
16925 export COLLECT_NAMES
16926 fi
16927 _LT_EOF
16928 ;;
16929 esac
16930
16931
16932
16933 ltmain=$ac_aux_dir/ltmain.sh
16934
16935
16936 # We use sed instead of cat because bash on DJGPP gets confused if
16937 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16938 # text mode, it properly converts lines to CR/LF. This bash problem
16939 # is reportedly fixed, but why not run on old versions too?
16940 $SED '$q' "$ltmain" >> "$cfgfile" \
16941 || (rm -f "$cfgfile"; exit 1)
16942
16943 mv -f "$cfgfile" "$ofile" ||
16944 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16945 chmod +x "$ofile"
16946
16947
16948 as_fn_exit 0
16949 _LTEOF
16950 chmod +x "$CONFIG_LT"
16951
16952 # configure is writing to config.log, but config.lt does its own redirection,
16953 # appending to config.log, which fails on DOS, as config.log is still kept
16954 # open by configure. Here we exec the FD to /dev/null, effectively closing
16955 # config.log, so it can be properly (re)opened and appended to by config.lt.
16956 lt_cl_success=:
16957 test yes = "$silent" &&
16958 lt_config_lt_args="$lt_config_lt_args --quiet"
16959 exec 5>/dev/null
16960 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
16961 exec 5>>config.log
16962 $lt_cl_success || as_fn_exit 1
16963
16964 #
16965 #
16966 ac_ext=c
16967 ac_cpp='$CPP $CPPFLAGS'
16968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16971 ac_link="./libtool --mode=link --tag=CC $ac_link"
16972
16973 if test -n "$ac_tool_prefix"; then
16974 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16975 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16977 printf %s "checking for $ac_word... " >&6; }
16978 if test ${ac_cv_prog_PKG_CONFIG+y}
16979 then :
16980 printf %s "(cached) " >&6
16981 else case e in #(
16982 e) if test -n "$PKG_CONFIG"; then
16983 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
16984 else
16985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16986 for as_dir in $PATH
16987 do
16988 IFS=$as_save_IFS
16989 case $as_dir in #(((
16990 '') as_dir=./ ;;
16991 */) ;;
16992 *) as_dir=$as_dir/ ;;
16993 esac
16994 for ac_exec_ext in '' $ac_executable_extensions; do
16995 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16996 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
16997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16998 break 2
16999 fi
17000 done
17001 done
17002 IFS=$as_save_IFS
17003
17004 fi ;;
17005 esac
17006 fi
17007 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17008 if test -n "$PKG_CONFIG"; then
17009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17010 printf "%s\n" "$PKG_CONFIG" >&6; }
17011 else
17012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17013 printf "%s\n" "no" >&6; }
17014 fi
17015
17016
17017 fi
17018 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17019 ac_ct_PKG_CONFIG=$PKG_CONFIG
17020 # Extract the first word of "pkg-config", so it can be a program name with args.
17021 set dummy pkg-config; ac_word=$2
17022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17023 printf %s "checking for $ac_word... " >&6; }
17024 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17025 then :
17026 printf %s "(cached) " >&6
17027 else case e in #(
17028 e) if test -n "$ac_ct_PKG_CONFIG"; then
17029 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17030 else
17031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17032 for as_dir in $PATH
17033 do
17034 IFS=$as_save_IFS
17035 case $as_dir in #(((
17036 '') as_dir=./ ;;
17037 */) ;;
17038 *) as_dir=$as_dir/ ;;
17039 esac
17040 for ac_exec_ext in '' $ac_executable_extensions; do
17041 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17042 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17044 break 2
17045 fi
17046 done
17047 done
17048 IFS=$as_save_IFS
17049
17050 fi ;;
17051 esac
17052 fi
17053 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17054 if test -n "$ac_ct_PKG_CONFIG"; then
17055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17056 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17057 else
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17059 printf "%s\n" "no" >&6; }
17060 fi
17061
17062 if test "x$ac_ct_PKG_CONFIG" = x; then
17063 PKG_CONFIG="false"
17064 else
17065 case $cross_compiling:$ac_tool_warned in
17066 yes:)
17067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17068 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17069 ac_tool_warned=yes ;;
17070 esac
17071 PKG_CONFIG=$ac_ct_PKG_CONFIG
17072 fi
17073 else
17074 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17075 fi
17076
17077 ##tldbg _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags.
17078 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
17079 ##tldbg _KPSE_LIB_FLAGS_TL: kpathsea (kpathsea) lt.
17080
17081 # Check whether --with-system-kpathsea was given.
17082 if test ${with_system_kpathsea+y}
17083 then :
17084 withval=$with_system_kpathsea;
17085 fi
17086 if test "x$with_system_kpathsea" = xyes; then
17087 if $PKG_CONFIG kpathsea; then
17088 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
17089 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
17090 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17091 as_fn_error $? "did not find kpathsea" "$LINENO" 5
17092 fi
17093 else
17094 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
17095 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
17096 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
17097 KPATHSEA_RULE='# Rebuild libkpathsea
17098 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
17099 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
17100 ${top_builddir}/../kpathsea/paths.h:
17101 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17102 fi
17103
17104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
17105 printf %s "checking if libkpathsea supports debugging... " >&6; }
17106 if test ${kpse_cv_kpse_debug+y}
17107 then :
17108 printf %s "(cached) " >&6
17109 else case e in #(
17110 e) eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17111 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17112
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 #include <kpathsea/kpathsea.h>
17116 int
17117 main (void)
17118 {
17119 FILE *f = fopen("f", "r")
17120 ;
17121 return 0;
17122 }
17123 _ACEOF
17124 if ac_fn_c_try_link "$LINENO"
17125 then :
17126 kpse_cv_kpse_debug=yes
17127 else case e in #(
17128 e) kpse_cv_kpse_debug=no ;;
17129 esac
17130 fi
17131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17132 conftest$ac_exeext conftest.$ac_ext
17133 CPPFLAGS=$kpse_save_CPPFLAGS
17134 LIBS=$kpse_save_LIBS
17135 ;;
17136 esac
17137 fi
17138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
17139 printf "%s\n" "$kpse_cv_kpse_debug" >&6; }
17140 if test "x$kpse_cv_kpse_debug" != xyes
17141 then :
17142 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
17143 fi
17144
17145 ##tldbg _KPSE_LIB_FLAGS: Setup ptexenc (-lptexenc) flags.
17146 echo 'tldbg:_KPSE_LIB_FLAGS called: libdir=ptexenc, libname=ptexenc, options=lt, tlincl=-IBLD/texk/ptexenc -ISRC/texk/ptexenc, tllib=BLD/texk/ptexenc/libptexenc.la, tlextra=, rebuildsrcdeps=${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h, rebuildblddeps=.' >&5
17147 ##tldbg _KPSE_LIB_FLAGS_TL: ptexenc (ptexenc) lt.
17148
17149 # Check whether --with-system-ptexenc was given.
17150 if test ${with_system_ptexenc+y}
17151 then :
17152 withval=$with_system_ptexenc;
17153 fi
17154 if test "x$with_system_ptexenc" = xyes; then
17155 if $PKG_CONFIG ptexenc; then
17156 PTEXENC_INCLUDES=`$PKG_CONFIG ptexenc --cflags`
17157 PTEXENC_LIBS=`$PKG_CONFIG ptexenc --libs`
17158 elif test "x$need_ptexenc:$with_system_ptexenc" = xyes:yes; then
17159 as_fn_error $? "did not find ptexenc" "$LINENO" 5
17160 fi
17161 else
17162 PTEXENC_INCLUDES="-I$kpse_BLD/texk/ptexenc -I$kpse_SRC/texk/ptexenc"
17163 PTEXENC_LIBS="$kpse_BLD/texk/ptexenc/libptexenc.la"
17164 PTEXENC_DEPEND='${top_builddir}/../ptexenc/libptexenc.la'
17165 PTEXENC_RULE='# Rebuild libptexenc
17166 $(PTEXENC_DEPEND): ${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h
17167 cd ${top_builddir}/../ptexenc && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17168 fi
17169
17170
17171 ac_config_files="$ac_config_files Makefile"
17172
17173
17174 cat >confcache <<\_ACEOF
17175 # This file is a shell script that caches the results of configure
17176 # tests run on this system so they can be shared between configure
17177 # scripts and configure runs, see configure's option --config-cache.
17178 # It is not useful on other systems. If it contains results you don't
17179 # want to keep, you may remove or edit it.
17180 #
17181 # config.status only pays attention to the cache file if you give it
17182 # the --recheck option to rerun configure.
17183 #
17184 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
17185 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
17186 # following values.
17187
17188 _ACEOF
17189
17190 # The following way of writing the cache mishandles newlines in values,
17191 # but we know of no workaround that is simple, portable, and efficient.
17192 # So, we kill variables containing newlines.
17193 # Ultrix sh set writes to stderr and can't be redirected directly,
17194 # and sets the high bit in the cache file unless we assign to the vars.
17195 (
17196 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17197 eval ac_val=\$$ac_var
17198 case $ac_val in #(
17199 *${as_nl}*)
17200 case $ac_var in #(
17201 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17202 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17203 esac
17204 case $ac_var in #(
17205 _ | IFS | as_nl) ;; #(
17206 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17207 *) { eval $ac_var=; unset $ac_var;} ;;
17208 esac ;;
17209 esac
17210 done
17211
17212 (set) 2>&1 |
17213 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17214 *${as_nl}ac_space=\ *)
17215 # 'set' does not quote correctly, so add quotes: double-quote
17216 # substitution turns \\\\ into \\, and sed turns \\ into \.
17217 sed -n \
17218 "s/'/'\\\\''/g;
17219 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17220 ;; #(
17221 *)
17222 # 'set' quotes correctly as required by POSIX, so do not add quotes.
17223 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17224 ;;
17225 esac |
17226 sort
17227 ) |
17228 sed '
17229 /^ac_cv_env_/b end
17230 t clear
17231 :clear
17232 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
17233 t end
17234 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17235 :end' >>confcache
17236 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17237 if test -w "$cache_file"; then
17238 if test "x$cache_file" != "x/dev/null"; then
17239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17240 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
17241 if test ! -f "$cache_file" || test -h "$cache_file"; then
17242 cat confcache >"$cache_file"
17243 else
17244 case $cache_file in #(
17245 */* | ?:*)
17246 mv -f confcache "$cache_file"$$ &&
17247 mv -f "$cache_file"$$ "$cache_file" ;; #(
17248 *)
17249 mv -f confcache "$cache_file" ;;
17250 esac
17251 fi
17252 fi
17253 else
17254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17255 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
17256 fi
17257 fi
17258 rm -f confcache
17259
17260 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17261 # Let make expand exec_prefix.
17262 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17263
17264 DEFS=-DHAVE_CONFIG_H
17265
17266 ac_libobjs=
17267 ac_ltlibobjs=
17268 U=
17269 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17270 # 1. Remove the extension, and $U if already installed.
17271 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17272 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
17273 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17274 # will be set to the directory where LIBOBJS objects are built.
17275 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17276 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17277 done
17278 LIBOBJS=$ac_libobjs
17279
17280 LTLIBOBJS=$ac_ltlibobjs
17281
17282
17283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17284 printf %s "checking that generated files are newer than configure... " >&6; }
17285 if test -n "$am_sleep_pid"; then
17286 # Hide warnings about reused PIDs.
17287 wait $am_sleep_pid 2>/dev/null
17288 fi
17289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
17290 printf "%s\n" "done" >&6; }
17291 case $enable_silent_rules in # (((
17292 yes) AM_DEFAULT_VERBOSITY=0;;
17293 no) AM_DEFAULT_VERBOSITY=1;;
17294 esac
17295 if test $am_cv_make_support_nested_variables = yes; then
17296 AM_V='$(V)'
17297 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17298 else
17299 AM_V=$AM_DEFAULT_VERBOSITY
17300 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17301 fi
17302
17303 if test -n "$EXEEXT"; then
17304 am__EXEEXT_TRUE=
17305 am__EXEEXT_FALSE='#'
17306 else
17307 am__EXEEXT_TRUE='#'
17308 am__EXEEXT_FALSE=
17309 fi
17310
17311 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17312 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17314 fi
17315 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17316 as_fn_error $? "conditional \"AMDEP\" was never defined.
17317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17318 fi
17319 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17320 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17322 fi
17323 # Check whether --enable-year2038 was given.
17324 if test ${enable_year2038+y}
17325 then :
17326 enableval=$enable_year2038;
17327 fi
17328
17329
17330 : "${CONFIG_STATUS=./config.status}"
17331 ac_write_fail=0
17332 ac_clean_files_save=$ac_clean_files
17333 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17335 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17336 as_write_fail=0
17337 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17338 #! $SHELL
17339 # Generated by $as_me.
17340 # Run this file to recreate the current configuration.
17341 # Compiler output produced by configure, useful for debugging
17342 # configure, is in config.log if it exists.
17343
17344 debug=false
17345 ac_cs_recheck=false
17346 ac_cs_silent=false
17347
17348 SHELL=\${CONFIG_SHELL-$SHELL}
17349 export SHELL
17350 _ASEOF
17351 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17352 ## -------------------- ##
17353 ## M4sh Initialization. ##
17354 ## -------------------- ##
17355
17356 # Be more Bourne compatible
17357 DUALCASE=1; export DUALCASE # for MKS sh
17358 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17359 then :
17360 emulate sh
17361 NULLCMD=:
17362 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17363 # is contrary to our usage. Disable this feature.
17364 alias -g '${1+"$@"}'='"$@"'
17365 setopt NO_GLOB_SUBST
17366 else case e in #(
17367 e) case `(set -o) 2>/dev/null` in #(
17368 *posix*) :
17369 set -o posix ;; #(
17370 *) :
17371 ;;
17372 esac ;;
17373 esac
17374 fi
17375
17376
17377
17378 # Reset variables that may have inherited troublesome values from
17379 # the environment.
17380
17381 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17382 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17383 # side effect of setting IFS to empty, thus disabling word splitting.)
17384 # Quoting is to prevent editors from complaining about space-tab.
17385 as_nl='
17386 '
17387 export as_nl
17388 IFS=" "" $as_nl"
17389
17390 PS1='$ '
17391 PS2='> '
17392 PS4='+ '
17393
17394 # Ensure predictable behavior from utilities with locale-dependent output.
17395 LC_ALL=C
17396 export LC_ALL
17397 LANGUAGE=C
17398 export LANGUAGE
17399
17400 # We cannot yet rely on "unset" to work, but we need these variables
17401 # to be unset--not just set to an empty or harmless value--now, to
17402 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17403 # also avoids known problems related to "unset" and subshell syntax
17404 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17405 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17406 do eval test \${$as_var+y} \
17407 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17408 done
17409
17410 # Ensure that fds 0, 1, and 2 are open.
17411 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17412 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17413 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17414
17415 # The user is always right.
17416 if ${PATH_SEPARATOR+false} :; then
17417 PATH_SEPARATOR=:
17418 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17419 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17420 PATH_SEPARATOR=';'
17421 }
17422 fi
17423
17424
17425 # Find who we are. Look in the path if we contain no directory separator.
17426 as_myself=
17427 case $0 in #((
17428 *[\\/]* ) as_myself=$0 ;;
17429 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17430 for as_dir in $PATH
17431 do
17432 IFS=$as_save_IFS
17433 case $as_dir in #(((
17434 '') as_dir=./ ;;
17435 */) ;;
17436 *) as_dir=$as_dir/ ;;
17437 esac
17438 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17439 done
17440 IFS=$as_save_IFS
17441
17442 ;;
17443 esac
17444 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17445 # in which case we are not to be found in the path.
17446 if test "x$as_myself" = x; then
17447 as_myself=$0
17448 fi
17449 if test ! -f "$as_myself"; then
17450 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17451 exit 1
17452 fi
17453
17454
17455
17456 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17457 # ----------------------------------------
17458 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17459 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17460 # script with STATUS, using 1 if that was 0.
17461 as_fn_error ()
17462 {
17463 as_status=$1; test $as_status -eq 0 && as_status=1
17464 if test "$4"; then
17465 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17467 fi
17468 printf "%s\n" "$as_me: error: $2" >&2
17469 as_fn_exit $as_status
17470 } # as_fn_error
17471
17472
17473 # as_fn_set_status STATUS
17474 # -----------------------
17475 # Set $? to STATUS, without forking.
17476 as_fn_set_status ()
17477 {
17478 return $1
17479 } # as_fn_set_status
17480
17481 # as_fn_exit STATUS
17482 # -----------------
17483 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17484 as_fn_exit ()
17485 {
17486 set +e
17487 as_fn_set_status $1
17488 exit $1
17489 } # as_fn_exit
17490
17491 # as_fn_unset VAR
17492 # ---------------
17493 # Portably unset VAR.
17494 as_fn_unset ()
17495 {
17496 { eval $1=; unset $1;}
17497 }
17498 as_unset=as_fn_unset
17499
17500 # as_fn_append VAR VALUE
17501 # ----------------------
17502 # Append the text in VALUE to the end of the definition contained in VAR. Take
17503 # advantage of any shell optimizations that allow amortized linear growth over
17504 # repeated appends, instead of the typical quadratic growth present in naive
17505 # implementations.
17506 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17507 then :
17508 eval 'as_fn_append ()
17509 {
17510 eval $1+=\$2
17511 }'
17512 else case e in #(
17513 e) as_fn_append ()
17514 {
17515 eval $1=\$$1\$2
17516 } ;;
17517 esac
17518 fi # as_fn_append
17519
17520 # as_fn_arith ARG...
17521 # ------------------
17522 # Perform arithmetic evaluation on the ARGs, and store the result in the
17523 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17524 # must be portable across $(()) and expr.
17525 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17526 then :
17527 eval 'as_fn_arith ()
17528 {
17529 as_val=$(( $* ))
17530 }'
17531 else case e in #(
17532 e) as_fn_arith ()
17533 {
17534 as_val=`expr "$@" || test $? -eq 1`
17535 } ;;
17536 esac
17537 fi # as_fn_arith
17538
17539
17540 if expr a : '\(a\)' >/dev/null 2>&1 &&
17541 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17542 as_expr=expr
17543 else
17544 as_expr=false
17545 fi
17546
17547 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17548 as_basename=basename
17549 else
17550 as_basename=false
17551 fi
17552
17553 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17554 as_dirname=dirname
17555 else
17556 as_dirname=false
17557 fi
17558
17559 as_me=`$as_basename -- "$0" ||
17560 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17561 X"$0" : 'X\(//\)$' \| \
17562 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17563 printf "%s\n" X/"$0" |
17564 sed '/^.*\/\([^/][^/]*\)\/*$/{
17565 s//\1/
17566 q
17567 }
17568 /^X\/\(\/\/\)$/{
17569 s//\1/
17570 q
17571 }
17572 /^X\/\(\/\).*/{
17573 s//\1/
17574 q
17575 }
17576 s/.*/./; q'`
17577
17578 # Avoid depending upon Character Ranges.
17579 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17580 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17581 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17582 as_cr_digits='0123456789'
17583 as_cr_alnum=$as_cr_Letters$as_cr_digits
17584
17585
17586 # Determine whether it's possible to make 'echo' print without a newline.
17587 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17588 # for compatibility with existing Makefiles.
17589 ECHO_C= ECHO_N= ECHO_T=
17590 case `echo -n x` in #(((((
17591 -n*)
17592 case `echo 'xy\c'` in
17593 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17594 xy) ECHO_C='\c';;
17595 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17596 ECHO_T=' ';;
17597 esac;;
17598 *)
17599 ECHO_N='-n';;
17600 esac
17601
17602 # For backward compatibility with old third-party macros, we provide
17603 # the shell variables $as_echo and $as_echo_n. New code should use
17604 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
17605 as_echo='printf %s\n'
17606 as_echo_n='printf %s'
17607
17608 rm -f conf$$ conf$$.exe conf$$.file
17609 if test -d conf$$.dir; then
17610 rm -f conf$$.dir/conf$$.file
17611 else
17612 rm -f conf$$.dir
17613 mkdir conf$$.dir 2>/dev/null
17614 fi
17615 if (echo >conf$$.file) 2>/dev/null; then
17616 if ln -s conf$$.file conf$$ 2>/dev/null; then
17617 as_ln_s='ln -s'
17618 # ... but there are two gotchas:
17619 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
17620 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
17621 # In both cases, we have to default to 'cp -pR'.
17622 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17623 as_ln_s='cp -pR'
17624 elif ln conf$$.file conf$$ 2>/dev/null; then
17625 as_ln_s=ln
17626 else
17627 as_ln_s='cp -pR'
17628 fi
17629 else
17630 as_ln_s='cp -pR'
17631 fi
17632 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17633 rmdir conf$$.dir 2>/dev/null
17634
17635
17636 # as_fn_mkdir_p
17637 # -------------
17638 # Create "$as_dir" as a directory, including parents if necessary.
17639 as_fn_mkdir_p ()
17640 {
17641
17642 case $as_dir in #(
17643 -*) as_dir=./$as_dir;;
17644 esac
17645 test -d "$as_dir" || eval $as_mkdir_p || {
17646 as_dirs=
17647 while :; do
17648 case $as_dir in #(
17649 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17650 *) as_qdir=$as_dir;;
17651 esac
17652 as_dirs="'$as_qdir' $as_dirs"
17653 as_dir=`$as_dirname -- "$as_dir" ||
17654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17655 X"$as_dir" : 'X\(//\)[^/]' \| \
17656 X"$as_dir" : 'X\(//\)$' \| \
17657 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17658 printf "%s\n" X"$as_dir" |
17659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17660 s//\1/
17661 q
17662 }
17663 /^X\(\/\/\)[^/].*/{
17664 s//\1/
17665 q
17666 }
17667 /^X\(\/\/\)$/{
17668 s//\1/
17669 q
17670 }
17671 /^X\(\/\).*/{
17672 s//\1/
17673 q
17674 }
17675 s/.*/./; q'`
17676 test -d "$as_dir" && break
17677 done
17678 test -z "$as_dirs" || eval "mkdir $as_dirs"
17679 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17680
17681
17682 } # as_fn_mkdir_p
17683 if mkdir -p . 2>/dev/null; then
17684 as_mkdir_p='mkdir -p "$as_dir"'
17685 else
17686 test -d ./-p && rmdir ./-p
17687 as_mkdir_p=false
17688 fi
17689
17690
17691 # as_fn_executable_p FILE
17692 # -----------------------
17693 # Test if FILE is an executable regular file.
17694 as_fn_executable_p ()
17695 {
17696 test -f "$1" && test -x "$1"
17697 } # as_fn_executable_p
17698 as_test_x='test -x'
17699 as_executable_p=as_fn_executable_p
17700
17701 # Sed expression to map a string onto a valid CPP name.
17702 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
17703 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
17704
17705 # Sed expression to map a string onto a valid variable name.
17706 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
17707 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
17708
17709
17710 exec 6>&1
17711 ## ----------------------------------- ##
17712 ## Main body of $CONFIG_STATUS script. ##
17713 ## ----------------------------------- ##
17714 _ASEOF
17715 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17716
17717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17718 # Save the log message, to keep $0 and so on meaningful, and to
17719 # report actual input values of CONFIG_FILES etc. instead of their
17720 # values after options handling.
17721 ac_log="
17722 This file was extended by makejvf (TeX Live) $as_me 20251226, which was
17723 generated by GNU Autoconf 2.72. Invocation command line was
17724
17725 CONFIG_FILES = $CONFIG_FILES
17726 CONFIG_HEADERS = $CONFIG_HEADERS
17727 CONFIG_LINKS = $CONFIG_LINKS
17728 CONFIG_COMMANDS = $CONFIG_COMMANDS
17729 $ $0 $@
17730
17731 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17732 "
17733
17734 _ACEOF
17735
17736 case $ac_config_files in *"
17737 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17738 esac
17739
17740 case $ac_config_headers in *"
17741 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17742 esac
17743
17744
17745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17746 # Files that config.status was made for.
17747 config_files="$ac_config_files"
17748 config_headers="$ac_config_headers"
17749 config_commands="$ac_config_commands"
17750
17751 _ACEOF
17752
17753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17754 ac_cs_usage="\
17755 '$as_me' instantiates files and other configuration actions
17756 from templates according to the current configuration. Unless the files
17757 and actions are specified as TAGs, all are instantiated by default.
17758
17759 Usage: $0 [OPTION]... [TAG]...
17760
17761 -h, --help print this help, then exit
17762 -V, --version print version number and configuration settings, then exit
17763 --config print configuration, then exit
17764 -q, --quiet, --silent
17765 do not print progress messages
17766 -d, --debug don't remove temporary files
17767 --recheck update $as_me by reconfiguring in the same conditions
17768 --file=FILE[:TEMPLATE]
17769 instantiate the configuration file FILE
17770 --header=FILE[:TEMPLATE]
17771 instantiate the configuration header FILE
17772
17773 Configuration files:
17774 $config_files
17775
17776 Configuration headers:
17777 $config_headers
17778
17779 Configuration commands:
17780 $config_commands
17781
17782 Report bugs to the package provider."
17783
17784 _ACEOF
17785 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
17786 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
17787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17788 ac_cs_config='$ac_cs_config_escaped'
17789 ac_cs_version="\\
17790 makejvf (TeX Live) config.status 20251226
17791 configured by $0, generated by GNU Autoconf 2.72,
17792 with options \\"\$ac_cs_config\\"
17793
17794 Copyright (C) 2023 Free Software Foundation, Inc.
17795 This config.status script is free software; the Free Software Foundation
17796 gives unlimited permission to copy, distribute and modify it."
17797
17798 ac_pwd='$ac_pwd'
17799 srcdir='$srcdir'
17800 INSTALL='$INSTALL'
17801 MKDIR_P='$MKDIR_P'
17802 AWK='$AWK'
17803 test -n "\$AWK" || AWK=awk
17804 _ACEOF
17805
17806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17807 # The default lists apply if the user does not specify any file.
17808 ac_need_defaults=:
17809 while test $# != 0
17810 do
17811 case $1 in
17812 --*=?*)
17813 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17814 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17815 ac_shift=:
17816 ;;
17817 --*=)
17818 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17819 ac_optarg=
17820 ac_shift=:
17821 ;;
17822 *)
17823 ac_option=$1
17824 ac_optarg=$2
17825 ac_shift=shift
17826 ;;
17827 esac
17828
17829 case $ac_option in
17830 # Handling of the options.
17831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17832 ac_cs_recheck=: ;;
17833 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17834 printf "%s\n" "$ac_cs_version"; exit ;;
17835 --config | --confi | --conf | --con | --co | --c )
17836 printf "%s\n" "$ac_cs_config"; exit ;;
17837 --debug | --debu | --deb | --de | --d | -d )
17838 debug=: ;;
17839 --file | --fil | --fi | --f )
17840 $ac_shift
17841 case $ac_optarg in
17842 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17843 '') as_fn_error $? "missing file argument" ;;
17844 esac
17845 as_fn_append CONFIG_FILES " '$ac_optarg'"
17846 ac_need_defaults=false;;
17847 --header | --heade | --head | --hea )
17848 $ac_shift
17849 case $ac_optarg in
17850 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17851 esac
17852 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17853 ac_need_defaults=false;;
17854 --he | --h)
17855 # Conflict between --help and --header
17856 as_fn_error $? "ambiguous option: '$1'
17857 Try '$0 --help' for more information.";;
17858 --help | --hel | -h )
17859 printf "%s\n" "$ac_cs_usage"; exit ;;
17860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17861 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17862 ac_cs_silent=: ;;
17863
17864 # This is an error.
17865 -*) as_fn_error $? "unrecognized option: '$1'
17866 Try '$0 --help' for more information." ;;
17867
17868 *) as_fn_append ac_config_targets " $1"
17869 ac_need_defaults=false ;;
17870
17871 esac
17872 shift
17873 done
17874
17875 ac_configure_extra_args=
17876
17877 if $ac_cs_silent; then
17878 exec 6>/dev/null
17879 ac_configure_extra_args="$ac_configure_extra_args --silent"
17880 fi
17881
17882 _ACEOF
17883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17884 if \$ac_cs_recheck; then
17885 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17886 shift
17887 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
17888 CONFIG_SHELL='$SHELL'
17889 export CONFIG_SHELL
17890 exec "\$@"
17891 fi
17892
17893 _ACEOF
17894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17895 exec 5>>config.log
17896 {
17897 echo
17898 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17899 ## Running $as_me. ##
17900 _ASBOX
17901 printf "%s\n" "$ac_log"
17902 } >&5
17903
17904 _ACEOF
17905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17906 #
17907 # INIT-COMMANDS
17908 #
17909 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17910
17911
17912 # The HP-UX ksh and POSIX shell print the target directory to stdout
17913 # if CDPATH is set.
17914 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17915
17916 sed_quote_subst='$sed_quote_subst'
17917 double_quote_subst='$double_quote_subst'
17918 delay_variable_subst='$delay_variable_subst'
17919 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17920 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17921 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17922 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17923 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17924 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17925 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17926 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17927 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17928 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17929 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17930 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17931 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17932 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17933 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17934 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17935 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17936 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17937 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17938 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17939 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17940 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17941 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17942 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17943 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17944 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17945 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17946 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17947 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17948 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17949 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17950 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17951 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17952 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17953 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17954 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17955 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17956 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
17957 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17958 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17959 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17960 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17961 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17962 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17963 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
17964 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17965 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17966 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17967 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17968 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17969 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17970 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17971 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17972 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17973 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17974 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17975 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17976 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17977 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17978 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17979 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17980 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"`'
17981 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17982 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17983 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17984 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17985 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17986 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17987 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17988 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17989 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17990 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17991 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17992 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17993 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17994 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17995 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17996 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17997 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17998 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17999 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18000 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18001 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18002 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18003 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18004 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18005 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18006 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18007 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18008 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18009 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18010 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18011 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18012 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18013 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18014 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18015 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18016 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18017 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18018 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18019 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18020 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18021 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18022 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18023 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18024 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18025 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18026 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18027 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18028 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18029 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18030 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18031 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18032 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18033 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18034 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18035 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18036 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18037 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18038 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18039 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18040 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18041 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18042 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18043 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18044 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18045 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18046 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18047 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18048 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18049 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18050 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18051 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18052 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18053 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18054 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18055 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18056 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18057
18058 LTCC='$LTCC'
18059 LTCFLAGS='$LTCFLAGS'
18060 compiler='$compiler_DEFAULT'
18061
18062 # A function that is used when there is no print builtin or printf.
18063 func_fallback_echo ()
18064 {
18065 eval 'cat <<_LTECHO_EOF
18066 \$1
18067 _LTECHO_EOF'
18068 }
18069
18070 # Quote evaled strings.
18071 for var in AS \
18072 DLLTOOL \
18073 OBJDUMP \
18074 SHELL \
18075 ECHO \
18076 PATH_SEPARATOR \
18077 SED \
18078 GREP \
18079 EGREP \
18080 FGREP \
18081 LD \
18082 NM \
18083 LN_S \
18084 lt_SP2NL \
18085 lt_NL2SP \
18086 reload_flag \
18087 FILECMD \
18088 deplibs_check_method \
18089 file_magic_cmd \
18090 file_magic_glob \
18091 want_nocaseglob \
18092 sharedlib_from_linklib_cmd \
18093 AR \
18094 archiver_list_spec \
18095 STRIP \
18096 RANLIB \
18097 CC \
18098 CFLAGS \
18099 compiler \
18100 lt_cv_sys_global_symbol_pipe \
18101 lt_cv_sys_global_symbol_to_cdecl \
18102 lt_cv_sys_global_symbol_to_import \
18103 lt_cv_sys_global_symbol_to_c_name_address \
18104 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18105 lt_cv_nm_interface \
18106 nm_file_list_spec \
18107 lt_cv_truncate_bin \
18108 lt_prog_compiler_no_builtin_flag \
18109 lt_prog_compiler_pic \
18110 lt_prog_compiler_wl \
18111 lt_prog_compiler_static \
18112 lt_cv_prog_compiler_c_o \
18113 need_locks \
18114 MANIFEST_TOOL \
18115 DSYMUTIL \
18116 NMEDIT \
18117 LIPO \
18118 OTOOL \
18119 OTOOL64 \
18120 shrext_cmds \
18121 export_dynamic_flag_spec \
18122 whole_archive_flag_spec \
18123 compiler_needs_object \
18124 with_gnu_ld \
18125 allow_undefined_flag \
18126 no_undefined_flag \
18127 hardcode_libdir_flag_spec \
18128 hardcode_libdir_separator \
18129 exclude_expsyms \
18130 include_expsyms \
18131 file_list_spec \
18132 variables_saved_for_relink \
18133 libname_spec \
18134 library_names_spec \
18135 soname_spec \
18136 install_override_mode \
18137 finish_eval \
18138 old_striplib \
18139 striplib; do
18140 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18141 *[\\\\\\\`\\"\\\$]*)
18142 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18143 ;;
18144 *)
18145 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18146 ;;
18147 esac
18148 done
18149
18150 # Double-quote double-evaled strings.
18151 for var in reload_cmds \
18152 old_postinstall_cmds \
18153 old_postuninstall_cmds \
18154 old_archive_cmds \
18155 extract_expsyms_cmds \
18156 old_archive_from_new_cmds \
18157 old_archive_from_expsyms_cmds \
18158 archive_cmds \
18159 archive_expsym_cmds \
18160 module_cmds \
18161 module_expsym_cmds \
18162 export_symbols_cmds \
18163 prelink_cmds \
18164 postlink_cmds \
18165 postinstall_cmds \
18166 postuninstall_cmds \
18167 finish_cmds \
18168 sys_lib_search_path_spec \
18169 configure_time_dlsearch_path \
18170 configure_time_lt_sys_library_path; do
18171 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18172 *[\\\\\\\`\\"\\\$]*)
18173 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18174 ;;
18175 *)
18176 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18177 ;;
18178 esac
18179 done
18180
18181 ac_aux_dir='$ac_aux_dir'
18182
18183 # See if we are running on zsh, and set the options that allow our
18184 # commands through without removal of \ escapes INIT.
18185 if test -n "\${ZSH_VERSION+set}"; then
18186 setopt NO_GLOB_SUBST
18187 fi
18188
18189
18190 PACKAGE='$PACKAGE'
18191 VERSION='$VERSION'
18192 RM='$RM'
18193 ofile='$ofile'
18194
18195 ac_aux_dir='$ac_aux_dir'
18196
18197
18198
18199 _ACEOF
18200
18201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18202
18203 # Handling of arguments.
18204 for ac_config_target in $ac_config_targets
18205 do
18206 case $ac_config_target in
18207 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18208 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18209 "c-auto.h") CONFIG_HEADERS="$CONFIG_HEADERS c-auto.h:c-auto.in" ;;
18210 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18211
18212 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
18213 esac
18214 done
18215
18216
18217 # If the user did not use the arguments to specify the items to instantiate,
18218 # then the envvar interface is used. Set only those that are not.
18219 # We use the long form for the default assignment because of an extremely
18220 # bizarre bug on SunOS 4.1.3.
18221 if $ac_need_defaults; then
18222 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18223 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18224 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18225 fi
18226
18227 # Have a temporary directory for convenience. Make it in the build tree
18228 # simply because there is no reason against having it here, and in addition,
18229 # creating and moving files from /tmp can sometimes cause problems.
18230 # Hook for its removal unless debugging.
18231 # Note that there is a small window in which the directory will not be cleaned:
18232 # after its creation but before its name has been assigned to '$tmp'.
18233 $debug ||
18234 {
18235 tmp= ac_tmp=
18236 trap 'exit_status=$?
18237 : "${ac_tmp:=$tmp}"
18238 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18239 ' 0
18240 trap 'as_fn_exit 1' 1 2 13 15
18241 }
18242 # Create a (secure) tmp directory for tmp files.
18243
18244 {
18245 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18246 test -d "$tmp"
18247 } ||
18248 {
18249 tmp=./conf$$-$RANDOM
18250 (umask 077 && mkdir "$tmp")
18251 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18252 ac_tmp=$tmp
18253
18254 # Set up the scripts for CONFIG_FILES section.
18255 # No need to generate them if there are no CONFIG_FILES.
18256 # This happens for instance with './config.status config.h'.
18257 if test -n "$CONFIG_FILES"; then
18258
18259
18260 ac_cr=`echo X | tr X '\015'`
18261 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18262 # But we know of no other shell where ac_cr would be empty at this
18263 # point, so we can use a bashism as a fallback.
18264 if test "x$ac_cr" = x; then
18265 eval ac_cr=\$\'\\r\'
18266 fi
18267 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18268 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18269 ac_cs_awk_cr='\\r'
18270 else
18271 ac_cs_awk_cr=$ac_cr
18272 fi
18273
18274 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18275 _ACEOF
18276
18277
18278 {
18279 echo "cat >conf$$subs.awk <<_ACEOF" &&
18280 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18281 echo "_ACEOF"
18282 } >conf$$subs.sh ||
18283 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18284 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18285 ac_delim='%!_!# '
18286 for ac_last_try in false false false false false :; do
18287 . ./conf$$subs.sh ||
18288 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18289
18290 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18291 if test $ac_delim_n = $ac_delim_num; then
18292 break
18293 elif $ac_last_try; then
18294 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18295 else
18296 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18297 fi
18298 done
18299 rm -f conf$$subs.sh
18300
18301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18302 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18303 _ACEOF
18304 sed -n '
18305 h
18306 s/^/S["/; s/!.*/"]=/
18307 p
18308 g
18309 s/^[^!]*!//
18310 :repl
18311 t repl
18312 s/'"$ac_delim"'$//
18313 t delim
18314 :nl
18315 h
18316 s/\(.\{148\}\)..*/\1/
18317 t more1
18318 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18319 p
18320 n
18321 b repl
18322 :more1
18323 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18324 p
18325 g
18326 s/.\{148\}//
18327 t nl
18328 :delim
18329 h
18330 s/\(.\{148\}\)..*/\1/
18331 t more2
18332 s/["\\]/\\&/g; s/^/"/; s/$/"/
18333 p
18334 b
18335 :more2
18336 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18337 p
18338 g
18339 s/.\{148\}//
18340 t delim
18341 ' <conf$$subs.awk | sed '
18342 /^[^""]/{
18343 N
18344 s/\n//
18345 }
18346 ' >>$CONFIG_STATUS || ac_write_fail=1
18347 rm -f conf$$subs.awk
18348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18349 _ACAWK
18350 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18351 for (key in S) S_is_set[key] = 1
18352 FS = ""
18353
18354 }
18355 {
18356 line = $ 0
18357 nfields = split(line, field, "@")
18358 substed = 0
18359 len = length(field[1])
18360 for (i = 2; i < nfields; i++) {
18361 key = field[i]
18362 keylen = length(key)
18363 if (S_is_set[key]) {
18364 value = S[key]
18365 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18366 len += length(value) + length(field[++i])
18367 substed = 1
18368 } else
18369 len += 1 + keylen
18370 }
18371
18372 print line
18373 }
18374
18375 _ACAWK
18376 _ACEOF
18377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18378 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18379 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18380 else
18381 cat
18382 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18383 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18384 _ACEOF
18385
18386 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18387 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18388 # trailing colons and then remove the whole line if VPATH becomes empty
18389 # (actually we leave an empty line to preserve line numbers).
18390 if test "x$srcdir" = x.; then
18391 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18392 h
18393 s///
18394 s/^/:/
18395 s/[ ]*$/:/
18396 s/:\$(srcdir):/:/g
18397 s/:\${srcdir}:/:/g
18398 s/:@srcdir@:/:/g
18399 s/^:*//
18400 s/:*$//
18401 x
18402 s/\(=[ ]*\).*/\1/
18403 G
18404 s/\n//
18405 s/^[^=]*=[ ]*$//
18406 }'
18407 fi
18408
18409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18410 fi # test -n "$CONFIG_FILES"
18411
18412 # Set up the scripts for CONFIG_HEADERS section.
18413 # No need to generate them if there are no CONFIG_HEADERS.
18414 # This happens for instance with './config.status Makefile'.
18415 if test -n "$CONFIG_HEADERS"; then
18416 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18417 BEGIN {
18418 _ACEOF
18419
18420 # Transform confdefs.h into an awk script 'defines.awk', embedded as
18421 # here-document in config.status, that substitutes the proper values into
18422 # config.h.in to produce config.h.
18423
18424 # Create a delimiter string that does not exist in confdefs.h, to ease
18425 # handling of long lines.
18426 ac_delim='%!_!# '
18427 for ac_last_try in false false :; do
18428 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18429 if test -z "$ac_tt"; then
18430 break
18431 elif $ac_last_try; then
18432 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18433 else
18434 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18435 fi
18436 done
18437
18438 # For the awk script, D is an array of macro values keyed by name,
18439 # likewise P contains macro parameters if any. Preserve backslash
18440 # newline sequences.
18441
18442 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18443 sed -n '
18444 s/.\{148\}/&'"$ac_delim"'/g
18445 t rset
18446 :rset
18447 s/^[ ]*#[ ]*define[ ][ ]*/ /
18448 t def
18449 d
18450 :def
18451 s/\\$//
18452 t bsnl
18453 s/["\\]/\\&/g
18454 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18455 D["\1"]=" \3"/p
18456 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18457 d
18458 :bsnl
18459 s/["\\]/\\&/g
18460 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18461 D["\1"]=" \3\\\\\\n"\\/p
18462 t cont
18463 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18464 t cont
18465 d
18466 :cont
18467 n
18468 s/.\{148\}/&'"$ac_delim"'/g
18469 t clear
18470 :clear
18471 s/\\$//
18472 t bsnlc
18473 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18474 d
18475 :bsnlc
18476 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18477 b cont
18478 ' <confdefs.h | sed '
18479 s/'"$ac_delim"'/"\\\
18480 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18481
18482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18483 for (key in D) D_is_set[key] = 1
18484 FS = ""
18485 }
18486 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18487 line = \$ 0
18488 split(line, arg, " ")
18489 if (arg[1] == "#") {
18490 defundef = arg[2]
18491 mac1 = arg[3]
18492 } else {
18493 defundef = substr(arg[1], 2)
18494 mac1 = arg[2]
18495 }
18496 split(mac1, mac2, "(") #)
18497 macro = mac2[1]
18498 prefix = substr(line, 1, index(line, defundef) - 1)
18499 if (D_is_set[macro]) {
18500 # Preserve the white space surrounding the "#".
18501 print prefix "define", macro P[macro] D[macro]
18502 next
18503 } else {
18504 # Replace #undef with comments. This is necessary, for example,
18505 # in the case of _POSIX_SOURCE, which is predefined and required
18506 # on some systems where configure will not decide to define it.
18507 if (defundef == "undef") {
18508 print "/*", prefix defundef, macro, "*/"
18509 next
18510 }
18511 }
18512 }
18513 { print }
18514 _ACAWK
18515 _ACEOF
18516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18517 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18518 fi # test -n "$CONFIG_HEADERS"
18519
18520
18521 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18522 shift
18523 for ac_tag
18524 do
18525 case $ac_tag in
18526 :[FHLC]) ac_mode=$ac_tag; continue;;
18527 esac
18528 case $ac_mode$ac_tag in
18529 :[FHL]*:*);;
18530 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
18531 :[FH]-) ac_tag=-:-;;
18532 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18533 esac
18534 ac_save_IFS=$IFS
18535 IFS=:
18536 set x $ac_tag
18537 IFS=$ac_save_IFS
18538 shift
18539 ac_file=$1
18540 shift
18541
18542 case $ac_mode in
18543 :L) ac_source=$1;;
18544 :[FH])
18545 ac_file_inputs=
18546 for ac_f
18547 do
18548 case $ac_f in
18549 -) ac_f="$ac_tmp/stdin";;
18550 *) # Look for the file first in the build tree, then in the source tree
18551 # (if the path is not absolute). The absolute path cannot be DOS-style,
18552 # because $ac_f cannot contain ':'.
18553 test -f "$ac_f" ||
18554 case $ac_f in
18555 [\\/$]*) false;;
18556 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18557 esac ||
18558 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
18559 esac
18560 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18561 as_fn_append ac_file_inputs " '$ac_f'"
18562 done
18563
18564 # Let's still pretend it is 'configure' which instantiates (i.e., don't
18565 # use $as_me), people would be surprised to read:
18566 # /* config.h. Generated by config.status. */
18567 configure_input='Generated from '`
18568 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18569 `' by configure.'
18570 if test x"$ac_file" != x-; then
18571 configure_input="$ac_file. $configure_input"
18572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18573 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18574 fi
18575 # Neutralize special characters interpreted by sed in replacement strings.
18576 case $configure_input in #(
18577 *\&* | *\|* | *\\* )
18578 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18579 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18580 *) ac_sed_conf_input=$configure_input;;
18581 esac
18582
18583 case $ac_tag in
18584 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18586 esac
18587 ;;
18588 esac
18589
18590 ac_dir=`$as_dirname -- "$ac_file" ||
18591 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18592 X"$ac_file" : 'X\(//\)[^/]' \| \
18593 X"$ac_file" : 'X\(//\)$' \| \
18594 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18595 printf "%s\n" X"$ac_file" |
18596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18597 s//\1/
18598 q
18599 }
18600 /^X\(\/\/\)[^/].*/{
18601 s//\1/
18602 q
18603 }
18604 /^X\(\/\/\)$/{
18605 s//\1/
18606 q
18607 }
18608 /^X\(\/\).*/{
18609 s//\1/
18610 q
18611 }
18612 s/.*/./; q'`
18613 as_dir="$ac_dir"; as_fn_mkdir_p
18614 ac_builddir=.
18615
18616 case "$ac_dir" in
18617 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18618 *)
18619 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
18620 # A ".." for each directory in $ac_dir_suffix.
18621 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18622 case $ac_top_builddir_sub in
18623 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18624 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18625 esac ;;
18626 esac
18627 ac_abs_top_builddir=$ac_pwd
18628 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18629 # for backward compatibility:
18630 ac_top_builddir=$ac_top_build_prefix
18631
18632 case $srcdir in
18633 .) # We are building in place.
18634 ac_srcdir=.
18635 ac_top_srcdir=$ac_top_builddir_sub
18636 ac_abs_top_srcdir=$ac_pwd ;;
18637 [\\/]* | ?:[\\/]* ) # Absolute name.
18638 ac_srcdir=$srcdir$ac_dir_suffix;
18639 ac_top_srcdir=$srcdir
18640 ac_abs_top_srcdir=$srcdir ;;
18641 *) # Relative name.
18642 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18643 ac_top_srcdir=$ac_top_build_prefix$srcdir
18644 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18645 esac
18646 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18647
18648
18649 case $ac_mode in
18650 :F)
18651 #
18652 # CONFIG_FILE
18653 #
18654
18655 case $INSTALL in
18656 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18657 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18658 esac
18659 ac_MKDIR_P=$MKDIR_P
18660 case $MKDIR_P in
18661 [\\/$]* | ?:[\\/]* ) ;;
18662 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18663 esac
18664 _ACEOF
18665
18666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18667 # If the template does not know about datarootdir, expand it.
18668 # FIXME: This hack should be removed a few years after 2.60.
18669 ac_datarootdir_hack=; ac_datarootdir_seen=
18670 ac_sed_dataroot='
18671 /datarootdir/ {
18672 p
18673 q
18674 }
18675 /@datadir@/p
18676 /@docdir@/p
18677 /@infodir@/p
18678 /@localedir@/p
18679 /@mandir@/p'
18680 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18681 *datarootdir*) ac_datarootdir_seen=yes;;
18682 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18684 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18685 _ACEOF
18686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18687 ac_datarootdir_hack='
18688 s&@datadir@&$datadir&g
18689 s&@docdir@&$docdir&g
18690 s&@infodir@&$infodir&g
18691 s&@localedir@&$localedir&g
18692 s&@mandir@&$mandir&g
18693 s&\\\${datarootdir}&$datarootdir&g' ;;
18694 esac
18695 _ACEOF
18696
18697 # Neutralize VPATH when '$srcdir' = '.'.
18698 # Shell code in configure.ac might set extrasub.
18699 # FIXME: do we really want to maintain this feature?
18700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18701 ac_sed_extra="$ac_vpsub
18702 $extrasub
18703 _ACEOF
18704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18705 :t
18706 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18707 s|@configure_input@|$ac_sed_conf_input|;t t
18708 s&@top_builddir@&$ac_top_builddir_sub&;t t
18709 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18710 s&@srcdir@&$ac_srcdir&;t t
18711 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18712 s&@top_srcdir@&$ac_top_srcdir&;t t
18713 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18714 s&@builddir@&$ac_builddir&;t t
18715 s&@abs_builddir@&$ac_abs_builddir&;t t
18716 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18717 s&@INSTALL@&$ac_INSTALL&;t t
18718 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18719 $ac_datarootdir_hack
18720 "
18721 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18722 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18723
18724 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18725 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18726 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18727 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18729 which seems to be undefined. Please make sure it is defined" >&5
18730 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18731 which seems to be undefined. Please make sure it is defined" >&2;}
18732
18733 rm -f "$ac_tmp/stdin"
18734 case $ac_file in
18735 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18736 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18737 esac \
18738 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18739 ;;
18740 :H)
18741 #
18742 # CONFIG_HEADER
18743 #
18744 if test x"$ac_file" != x-; then
18745 {
18746 printf "%s\n" "/* $configure_input */" >&1 \
18747 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18748 } >"$ac_tmp/config.h" \
18749 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18750 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18752 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
18753 else
18754 rm -f "$ac_file"
18755 mv "$ac_tmp/config.h" "$ac_file" \
18756 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18757 fi
18758 else
18759 printf "%s\n" "/* $configure_input */" >&1 \
18760 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18761 || as_fn_error $? "could not create -" "$LINENO" 5
18762 fi
18763 # Compute "$ac_file"'s index in $config_headers.
18764 _am_arg="$ac_file"
18765 _am_stamp_count=1
18766 for _am_header in $config_headers :; do
18767 case $_am_header in
18768 $_am_arg | $_am_arg:* )
18769 break ;;
18770 * )
18771 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18772 esac
18773 done
18774 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18775 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18776 X"$_am_arg" : 'X\(//\)[^/]' \| \
18777 X"$_am_arg" : 'X\(//\)$' \| \
18778 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18779 printf "%s\n" X"$_am_arg" |
18780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18781 s//\1/
18782 q
18783 }
18784 /^X\(\/\/\)[^/].*/{
18785 s//\1/
18786 q
18787 }
18788 /^X\(\/\/\)$/{
18789 s//\1/
18790 q
18791 }
18792 /^X\(\/\).*/{
18793 s//\1/
18794 q
18795 }
18796 s/.*/./; q'`/stamp-h$_am_stamp_count
18797 ;;
18798
18799 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18800 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
18801 ;;
18802 esac
18803
18804
18805 case $ac_file$ac_mode in
18806 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18807 # Older Autoconf quotes --file arguments for eval, but not when files
18808 # are listed without --file. Let's play safe and only enable the eval
18809 # if we detect the quoting.
18810 # TODO: see whether this extra hack can be removed once we start
18811 # requiring Autoconf 2.70 or later.
18812 case $CONFIG_FILES in #(
18813 *\'*) :
18814 eval set x "$CONFIG_FILES" ;; #(
18815 *) :
18816 set x $CONFIG_FILES ;; #(
18817 *) :
18818 ;;
18819 esac
18820 shift
18821 # Used to flag and report bootstrapping failures.
18822 am_rc=0
18823 for am_mf
18824 do
18825 # Strip MF so we end up with the name of the file.
18826 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
18827 # Check whether this is an Automake generated Makefile which includes
18828 # dependency-tracking related rules and includes.
18829 # Grep'ing the whole file directly is not great: AIX grep has a line
18830 # limit of 2048, but all sed's we know have understand at least 4000.
18831 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18832 || continue
18833 am_dirpart=`$as_dirname -- "$am_mf" ||
18834 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18835 X"$am_mf" : 'X\(//\)[^/]' \| \
18836 X"$am_mf" : 'X\(//\)$' \| \
18837 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18838 printf "%s\n" X"$am_mf" |
18839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18840 s//\1/
18841 q
18842 }
18843 /^X\(\/\/\)[^/].*/{
18844 s//\1/
18845 q
18846 }
18847 /^X\(\/\/\)$/{
18848 s//\1/
18849 q
18850 }
18851 /^X\(\/\).*/{
18852 s//\1/
18853 q
18854 }
18855 s/.*/./; q'`
18856 am_filepart=`$as_basename -- "$am_mf" ||
18857 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18858 X"$am_mf" : 'X\(//\)$' \| \
18859 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18860 printf "%s\n" X/"$am_mf" |
18861 sed '/^.*\/\([^/][^/]*\)\/*$/{
18862 s//\1/
18863 q
18864 }
18865 /^X\/\(\/\/\)$/{
18866 s//\1/
18867 q
18868 }
18869 /^X\/\(\/\).*/{
18870 s//\1/
18871 q
18872 }
18873 s/.*/./; q'`
18874 { echo "$as_me:$LINENO: cd "$am_dirpart" \
18875 && sed -e '/# am--include-marker/d' "$am_filepart" \
18876 | $MAKE -f - am--depfiles" >&5
18877 (cd "$am_dirpart" \
18878 && sed -e '/# am--include-marker/d' "$am_filepart" \
18879 | $MAKE -f - am--depfiles) >&5 2>&5
18880 ac_status=$?
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } || am_rc=$?
18883 done
18884 if test $am_rc -ne 0; then
18885 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
18886 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
18887 as_fn_error $? "Something went wrong bootstrapping makefile fragments
18888 for automatic dependency tracking. If GNU make was not used, consider
18889 re-running the configure script with MAKE=\"gmake\" (or whatever is
18890 necessary). You can also try re-running configure with the
18891 '--disable-dependency-tracking' option to at least be able to build
18892 the package (albeit without support for automatic dependency tracking).
18893 See 'config.log' for more details" "$LINENO" 5; }
18894 fi
18895 { am_dirpart=; unset am_dirpart;}
18896 { am_filepart=; unset am_filepart;}
18897 { am_mf=; unset am_mf;}
18898 { am_rc=; unset am_rc;}
18899 rm -f conftest-deps.mk
18900 }
18901 ;;
18902 "libtool":C)
18903
18904 # See if we are running on zsh, and set the options that allow our
18905 # commands through without removal of \ escapes.
18906 if test -n "${ZSH_VERSION+set}"; then
18907 setopt NO_GLOB_SUBST
18908 fi
18909
18910 cfgfile=${ofile}T
18911 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18912 $RM "$cfgfile"
18913
18914 cat <<_LT_EOF >> "$cfgfile"
18915 #! $SHELL
18916 # Generated automatically by $as_me ($PACKAGE) $VERSION
18917 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18918
18919 # Provide generalized library-building support services.
18920 # Written by Gordon Matzigkeit, 1996
18921
18922 # Copyright (C) 2024 Free Software Foundation, Inc.
18923 # This is free software; see the source for copying conditions. There is NO
18924 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18925
18926 # GNU Libtool is free software; you can redistribute it and/or modify
18927 # it under the terms of the GNU General Public License as published by
18928 # the Free Software Foundation; either version 2 of the License, or
18929 # (at your option) any later version.
18930 #
18931 # As a special exception to the GNU General Public License, if you
18932 # distribute this file as part of a program or library that is built
18933 # using GNU Libtool, you may include this file under the same
18934 # distribution terms that you use for the rest of that program.
18935 #
18936 # GNU Libtool is distributed in the hope that it will be useful, but
18937 # WITHOUT ANY WARRANTY; without even the implied warranty of
18938 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18939 # GNU General Public License for more details.
18940 #
18941 # You should have received a copy of the GNU General Public License
18942 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18943
18944
18945 # The names of the tagged configurations supported by this script.
18946 available_tags=''
18947
18948 # Configured defaults for sys_lib_dlsearch_path munging.
18949 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18950
18951 # ### BEGIN LIBTOOL CONFIG
18952
18953 # Which release of libtool.m4 was used?
18954 macro_version=$macro_version
18955 macro_revision=$macro_revision
18956
18957 # Assembler program.
18958 AS=$lt_AS
18959
18960 # DLL creation program.
18961 DLLTOOL=$lt_DLLTOOL
18962
18963 # Object dumper program.
18964 OBJDUMP=$lt_OBJDUMP
18965
18966 # Whether or not to build shared libraries.
18967 build_libtool_libs=$enable_shared
18968
18969 # Whether or not to build static libraries.
18970 build_old_libs=$enable_static
18971
18972 # What type of objects to build.
18973 pic_mode=$pic_mode
18974
18975 # Whether or not to optimize for fast installation.
18976 fast_install=$enable_fast_install
18977
18978 # Shared archive member basename,for filename based shared library versioning on AIX.
18979 shared_archive_member_spec=$shared_archive_member_spec
18980
18981 # Shell to use when invoking shell scripts.
18982 SHELL=$lt_SHELL
18983
18984 # An echo program that protects backslashes.
18985 ECHO=$lt_ECHO
18986
18987 # The PATH separator for the build system.
18988 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18989
18990 # The host system.
18991 host_alias=$host_alias
18992 host=$host
18993 host_os=$host_os
18994
18995 # The build system.
18996 build_alias=$build_alias
18997 build=$build
18998 build_os=$build_os
18999
19000 # A sed program that does not truncate output.
19001 SED=$lt_SED
19002
19003 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19004 Xsed="\$SED -e 1s/^X//"
19005
19006 # A grep program that handles long lines.
19007 GREP=$lt_GREP
19008
19009 # An ERE matcher.
19010 EGREP=$lt_EGREP
19011
19012 # A literal string matcher.
19013 FGREP=$lt_FGREP
19014
19015 # A BSD- or MS-compatible name lister.
19016 NM=$lt_NM
19017
19018 # Whether we need soft or hard links.
19019 LN_S=$lt_LN_S
19020
19021 # What is the maximum length of a command?
19022 max_cmd_len=$max_cmd_len
19023
19024 # Object file suffix (normally "o").
19025 objext=$ac_objext
19026
19027 # Executable file suffix (normally "").
19028 exeext=$exeext
19029
19030 # whether the shell understands "unset".
19031 lt_unset=$lt_unset
19032
19033 # turn spaces into newlines.
19034 SP2NL=$lt_lt_SP2NL
19035
19036 # turn newlines into spaces.
19037 NL2SP=$lt_lt_NL2SP
19038
19039 # convert \$build file names to \$host format.
19040 to_host_file_cmd=$lt_cv_to_host_file_cmd
19041
19042 # convert \$build files to toolchain format.
19043 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19044
19045 # A file(cmd) program that detects file types.
19046 FILECMD=$lt_FILECMD
19047
19048 # Method to check whether dependent libraries are shared objects.
19049 deplibs_check_method=$lt_deplibs_check_method
19050
19051 # Command to use when deplibs_check_method = "file_magic".
19052 file_magic_cmd=$lt_file_magic_cmd
19053
19054 # How to find potential files when deplibs_check_method = "file_magic".
19055 file_magic_glob=$lt_file_magic_glob
19056
19057 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19058 want_nocaseglob=$lt_want_nocaseglob
19059
19060 # Command to associate shared and link libraries.
19061 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19062
19063 # The archiver.
19064 AR=$lt_AR
19065
19066 # Flags to create an archive (by configure).
19067 lt_ar_flags=$lt_ar_flags
19068
19069 # Flags to create an archive.
19070 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19071
19072 # How to feed a file listing to the archiver.
19073 archiver_list_spec=$lt_archiver_list_spec
19074
19075 # A symbol stripping program.
19076 STRIP=$lt_STRIP
19077
19078 # Commands used to install an old-style archive.
19079 RANLIB=$lt_RANLIB
19080 old_postinstall_cmds=$lt_old_postinstall_cmds
19081 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19082
19083 # Whether to use a lock for old archive extraction.
19084 lock_old_archive_extraction=$lock_old_archive_extraction
19085
19086 # A C compiler.
19087 LTCC=$lt_CC
19088
19089 # LTCC compiler flags.
19090 LTCFLAGS=$lt_CFLAGS
19091
19092 # Take the output of nm and produce a listing of raw symbols and C names.
19093 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19094
19095 # Transform the output of nm in a proper C declaration.
19096 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19097
19098 # Transform the output of nm into a list of symbols to manually relocate.
19099 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19100
19101 # Transform the output of nm in a C name address pair.
19102 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19103
19104 # Transform the output of nm in a C name address pair when lib prefix is needed.
19105 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19106
19107 # The name lister interface.
19108 nm_interface=$lt_lt_cv_nm_interface
19109
19110 # Specify filename containing input files for \$NM.
19111 nm_file_list_spec=$lt_nm_file_list_spec
19112
19113 # The root where to search for dependent libraries,and where our libraries should be installed.
19114 lt_sysroot=$lt_sysroot
19115
19116 # Command to truncate a binary pipe.
19117 lt_truncate_bin=$lt_lt_cv_truncate_bin
19118
19119 # The name of the directory that contains temporary libtool files.
19120 objdir=$objdir
19121
19122 # Used to examine libraries when file_magic_cmd begins with "file".
19123 MAGIC_CMD=$MAGIC_CMD
19124
19125 # Must we lock files when doing compilation?
19126 need_locks=$lt_need_locks
19127
19128 # Manifest tool.
19129 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19130
19131 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19132 DSYMUTIL=$lt_DSYMUTIL
19133
19134 # Tool to change global to local symbols on Mac OS X.
19135 NMEDIT=$lt_NMEDIT
19136
19137 # Tool to manipulate fat objects and archives on Mac OS X.
19138 LIPO=$lt_LIPO
19139
19140 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19141 OTOOL=$lt_OTOOL
19142
19143 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19144 OTOOL64=$lt_OTOOL64
19145
19146 # Old archive suffix (normally "a").
19147 libext=$libext
19148
19149 # Shared library suffix (normally ".so").
19150 shrext_cmds=$lt_shrext_cmds
19151
19152 # The commands to extract the exported symbol list from a shared archive.
19153 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19154
19155 # Variables whose values should be saved in libtool wrapper scripts and
19156 # restored at link time.
19157 variables_saved_for_relink=$lt_variables_saved_for_relink
19158
19159 # Do we need the "lib" prefix for modules?
19160 need_lib_prefix=$need_lib_prefix
19161
19162 # Do we need a version for libraries?
19163 need_version=$need_version
19164
19165 # Library versioning type.
19166 version_type=$version_type
19167
19168 # Shared library runtime path variable.
19169 runpath_var=$runpath_var
19170
19171 # Shared library path variable.
19172 shlibpath_var=$shlibpath_var
19173
19174 # Is shlibpath searched before the hard-coded library search path?
19175 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19176
19177 # Format of library name prefix.
19178 libname_spec=$lt_libname_spec
19179
19180 # List of archive names. First name is the real one, the rest are links.
19181 # The last name is the one that the linker finds with -lNAME
19182 library_names_spec=$lt_library_names_spec
19183
19184 # The coded name of the library, if different from the real name.
19185 soname_spec=$lt_soname_spec
19186
19187 # Permission mode override for installation of shared libraries.
19188 install_override_mode=$lt_install_override_mode
19189
19190 # Command to use after installation of a shared archive.
19191 postinstall_cmds=$lt_postinstall_cmds
19192
19193 # Command to use after uninstallation of a shared archive.
19194 postuninstall_cmds=$lt_postuninstall_cmds
19195
19196 # Commands used to finish a libtool library installation in a directory.
19197 finish_cmds=$lt_finish_cmds
19198
19199 # As "finish_cmds", except a single script fragment to be evaled but
19200 # not shown.
19201 finish_eval=$lt_finish_eval
19202
19203 # Whether we should hardcode library paths into libraries.
19204 hardcode_into_libs=$hardcode_into_libs
19205
19206 # Compile-time system search path for libraries.
19207 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19208
19209 # Detected run-time system search path for libraries.
19210 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19211
19212 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19213 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19214
19215 # Whether dlopen is supported.
19216 dlopen_support=$enable_dlopen
19217
19218 # Whether dlopen of programs is supported.
19219 dlopen_self=$enable_dlopen_self
19220
19221 # Whether dlopen of statically linked programs is supported.
19222 dlopen_self_static=$enable_dlopen_self_static
19223
19224 # Commands to strip libraries.
19225 old_striplib=$lt_old_striplib
19226 striplib=$lt_striplib
19227
19228
19229 # The linker used to build libraries.
19230 LD=$lt_LD
19231
19232 # How to create reloadable object files.
19233 reload_flag=$lt_reload_flag
19234 reload_cmds=$lt_reload_cmds
19235
19236 # Commands used to build an old-style archive.
19237 old_archive_cmds=$lt_old_archive_cmds
19238
19239 # A language specific compiler.
19240 CC=$lt_compiler
19241
19242 # Is the compiler the GNU compiler?
19243 with_gcc=$GCC
19244
19245 # Compiler flag to turn off builtin functions.
19246 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19247
19248 # Additional compiler flags for building library objects.
19249 pic_flag=$lt_lt_prog_compiler_pic
19250
19251 # How to pass a linker flag through the compiler.
19252 wl=$lt_lt_prog_compiler_wl
19253
19254 # Compiler flag to prevent dynamic linking.
19255 link_static_flag=$lt_lt_prog_compiler_static
19256
19257 # Does compiler simultaneously support -c and -o options?
19258 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19259
19260 # Whether or not to add -lc for building shared libraries.
19261 build_libtool_need_lc=$archive_cmds_need_lc
19262
19263 # Whether or not to disallow shared libs when runtime libs are static.
19264 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19265
19266 # Compiler flag to allow reflexive dlopens.
19267 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19268
19269 # Compiler flag to generate shared objects directly from archives.
19270 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19271
19272 # Whether the compiler copes with passing no objects directly.
19273 compiler_needs_object=$lt_compiler_needs_object
19274
19275 # Create an old-style archive from a shared archive.
19276 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19277
19278 # Create a temporary old-style archive to link instead of a shared archive.
19279 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19280
19281 # Commands used to build a shared archive.
19282 archive_cmds=$lt_archive_cmds
19283 archive_expsym_cmds=$lt_archive_expsym_cmds
19284
19285 # Commands used to build a loadable module if different from building
19286 # a shared archive.
19287 module_cmds=$lt_module_cmds
19288 module_expsym_cmds=$lt_module_expsym_cmds
19289
19290 # Whether we are building with GNU ld or not.
19291 with_gnu_ld=$lt_with_gnu_ld
19292
19293 # Flag that allows shared libraries with undefined symbols to be built.
19294 allow_undefined_flag=$lt_allow_undefined_flag
19295
19296 # Flag that enforces no undefined symbols.
19297 no_undefined_flag=$lt_no_undefined_flag
19298
19299 # Flag to hardcode \$libdir into a binary during linking.
19300 # This must work even if \$libdir does not exist
19301 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19302
19303 # Whether we need a single "-rpath" flag with a separated argument.
19304 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19305
19306 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19307 # DIR into the resulting binary.
19308 hardcode_direct=$hardcode_direct
19309
19310 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19311 # DIR into the resulting binary and the resulting library dependency is
19312 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
19313 # library is relocated.
19314 hardcode_direct_absolute=$hardcode_direct_absolute
19315
19316 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19317 # into the resulting binary.
19318 hardcode_minus_L=$hardcode_minus_L
19319
19320 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19321 # into the resulting binary.
19322 hardcode_shlibpath_var=$hardcode_shlibpath_var
19323
19324 # Set to "yes" if building a shared library automatically hardcodes DIR
19325 # into the library and all subsequent libraries and executables linked
19326 # against it.
19327 hardcode_automatic=$hardcode_automatic
19328
19329 # Set to yes if linker adds runtime paths of dependent libraries
19330 # to runtime path list.
19331 inherit_rpath=$inherit_rpath
19332
19333 # Whether libtool must link a program against all its dependency libraries.
19334 link_all_deplibs=$link_all_deplibs
19335
19336 # Set to "yes" if exported symbols are required.
19337 always_export_symbols=$always_export_symbols
19338
19339 # The commands to list exported symbols.
19340 export_symbols_cmds=$lt_export_symbols_cmds
19341
19342 # Symbols that should not be listed in the preloaded symbols.
19343 exclude_expsyms=$lt_exclude_expsyms
19344
19345 # Symbols that must always be exported.
19346 include_expsyms=$lt_include_expsyms
19347
19348 # Commands necessary for linking programs (against libraries) with templates.
19349 prelink_cmds=$lt_prelink_cmds
19350
19351 # Commands necessary for finishing linking programs.
19352 postlink_cmds=$lt_postlink_cmds
19353
19354 # Specify filename containing input files.
19355 file_list_spec=$lt_file_list_spec
19356
19357 # How to hardcode a shared library path into an executable.
19358 hardcode_action=$hardcode_action
19359
19360 # ### END LIBTOOL CONFIG
19361
19362 _LT_EOF
19363
19364 cat <<'_LT_EOF' >> "$cfgfile"
19365
19366 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19367
19368 # func_munge_path_list VARIABLE PATH
19369 # -----------------------------------
19370 # VARIABLE is name of variable containing _space_ separated list of
19371 # directories to be munged by the contents of PATH, which is string
19372 # having a format:
19373 # "DIR[:DIR]:"
19374 # string "DIR[ DIR]" will be prepended to VARIABLE
19375 # ":DIR[:DIR]"
19376 # string "DIR[ DIR]" will be appended to VARIABLE
19377 # "DIRP[:DIRP]::[DIRA:]DIRA"
19378 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19379 # "DIRA[ DIRA]" will be appended to VARIABLE
19380 # "DIR[:DIR]"
19381 # VARIABLE will be replaced by "DIR[ DIR]"
19382 func_munge_path_list ()
19383 {
19384 case x$2 in
19385 x)
19386 ;;
19387 *:)
19388 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19389 ;;
19390 x:*)
19391 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19392 ;;
19393 *::*)
19394 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19395 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19396 ;;
19397 *)
19398 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19399 ;;
19400 esac
19401 }
19402
19403
19404 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19405 func_cc_basename ()
19406 {
19407 for cc_temp in $*""; do
19408 case $cc_temp in
19409 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19410 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19411 \-*) ;;
19412 *) break;;
19413 esac
19414 done
19415 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19416 }
19417
19418
19419 # ### END FUNCTIONS SHARED WITH CONFIGURE
19420
19421 _LT_EOF
19422
19423 case $host_os in
19424 aix3*)
19425 cat <<\_LT_EOF >> "$cfgfile"
19426 # AIX sometimes has problems with the GCC collect2 program. For some
19427 # reason, if we set the COLLECT_NAMES environment variable, the problems
19428 # vanish in a puff of smoke.
19429 if test set != "${COLLECT_NAMES+set}"; then
19430 COLLECT_NAMES=
19431 export COLLECT_NAMES
19432 fi
19433 _LT_EOF
19434 ;;
19435 esac
19436
19437
19438
19439 ltmain=$ac_aux_dir/ltmain.sh
19440
19441
19442 # We use sed instead of cat because bash on DJGPP gets confused if
19443 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19444 # text mode, it properly converts lines to CR/LF. This bash problem
19445 # is reportedly fixed, but why not run on old versions too?
19446 $SED '$q' "$ltmain" >> "$cfgfile" \
19447 || (rm -f "$cfgfile"; exit 1)
19448
19449 mv -f "$cfgfile" "$ofile" ||
19450 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19451 chmod +x "$ofile"
19452
19453 ;;
19454
19455 esac
19456 done # for ac_tag
19457
19458
19459 as_fn_exit 0
19460 _ACEOF
19461 ac_clean_files=$ac_clean_files_save
19462
19463 test $ac_write_fail = 0 ||
19464 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19465
19466
19467 # configure is writing to config.log, and then calls config.status.
19468 # config.status does its own redirection, appending to config.log.
19469 # Unfortunately, on DOS this fails, as config.log is still kept open
19470 # by configure, so config.status won't be able to write to it; its
19471 # output is simply discarded. So we exec the FD to /dev/null,
19472 # effectively closing config.log, so it can be properly (re)opened and
19473 # appended to by config.status. When coming back to configure, we
19474 # need to make the FD available again.
19475 if test "$no_create" != yes; then
19476 ac_cs_success=:
19477 ac_config_status_args=
19478 test "$silent" = yes &&
19479 ac_config_status_args="$ac_config_status_args --quiet"
19480 exec 5>/dev/null
19481 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19482 exec 5>>config.log
19483 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19484 # would make configure fail if this is the last instruction.
19485 $ac_cs_success || as_fn_exit 1
19486 fi
19487 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19489 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19490 fi
19491
19492