Debian Codegraph @

texk/gsftopk/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 gsftopk (TeX Live) 1.19.2.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed 'exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
178 fi
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
187
188 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
189 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
190 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
192 PATH=/empty FPATH=/empty; export PATH FPATH
193 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
194 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
195 test \$(( 1 + 1 )) = 2 || exit 1"
196 if (eval "$as_required") 2>/dev/null
197 then :
198 as_have_required=yes
199 else case e in #(
200 e) as_have_required=no ;;
201 esac
202 fi
203 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
204 then :
205
206 else case e in #(
207 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 case $as_dir in #(((
213 '') as_dir=./ ;;
214 */) ;;
215 *) as_dir=$as_dir/ ;;
216 esac
217 as_found=:
218 case $as_dir in #(
219 /*)
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
225 then :
226 CONFIG_SHELL=$as_shell as_have_required=yes
227 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
228 then :
229 break 2
230 fi
231 fi
232 done;;
233 esac
234 as_found=false
235 done
236 IFS=$as_save_IFS
237 if $as_found
238 then :
239
240 else case e in #(
241 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
243 then :
244 CONFIG_SHELL=$SHELL as_have_required=yes
245 fi ;;
246 esac
247 fi
248
249
250 if test "x$CONFIG_SHELL" != x
251 then :
252 export CONFIG_SHELL
253 # We cannot yet assume a decent shell, so we have to provide a
254 # neutralization value for shells without unset; and this also
255 # works around shells that cannot unset nonexistent variables.
256 # Preserve -v and -x to the replacement shell.
257 BASH_ENV=/dev/null
258 ENV=/dev/null
259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
260 case $- in # ((((
261 *v*x* | *x*v* ) as_opts=-vx ;;
262 *v* ) as_opts=-v ;;
263 *x* ) as_opts=-x ;;
264 * ) as_opts= ;;
265 esac
266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
267 # Admittedly, this is quite paranoid, since all the known shells bail
268 # out after a failed 'exec'.
269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
270 exit 255
271 fi
272
273 if test x$as_have_required = xno
274 then :
275 printf "%s\n" "$0: This script requires a shell more modern than all"
276 printf "%s\n" "$0: the shells that I found on your system."
277 if test ${ZSH_VERSION+y} ; then
278 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
279 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
280 else
281 printf "%s\n" "$0: Please tell [email protected] and [email protected]
282 $0: about your system, including any error possibly output
283 $0: before this message. Then install a modern shell, or
284 $0: manually run the script under such a shell if you do
285 $0: have one."
286 fi
287 exit 1
288 fi ;;
289 esac
290 fi
291 fi
292 SHELL=${CONFIG_SHELL-/bin/sh}
293 export SHELL
294 # Unset more variables known to interfere with behavior of common tools.
295 CLICOLOR_FORCE= GREP_OPTIONS=
296 unset CLICOLOR_FORCE GREP_OPTIONS
297
298 ## --------------------- ##
299 ## M4sh Shell Functions. ##
300 ## --------------------- ##
301 # as_fn_unset VAR
302 # ---------------
303 # Portably unset VAR.
304 as_fn_unset ()
305 {
306 { eval $1=; unset $1;}
307 }
308 as_unset=as_fn_unset
309
310
311 # as_fn_set_status STATUS
312 # -----------------------
313 # Set $? to STATUS, without forking.
314 as_fn_set_status ()
315 {
316 return $1
317 } # as_fn_set_status
318
319 # as_fn_exit STATUS
320 # -----------------
321 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 as_fn_exit ()
323 {
324 set +e
325 as_fn_set_status $1
326 exit $1
327 } # as_fn_exit
328
329 # as_fn_mkdir_p
330 # -------------
331 # Create "$as_dir" as a directory, including parents if necessary.
332 as_fn_mkdir_p ()
333 {
334
335 case $as_dir in #(
336 -*) as_dir=./$as_dir;;
337 esac
338 test -d "$as_dir" || eval $as_mkdir_p || {
339 as_dirs=
340 while :; do
341 case $as_dir in #(
342 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
343 *) as_qdir=$as_dir;;
344 esac
345 as_dirs="'$as_qdir' $as_dirs"
346 as_dir=`$as_dirname -- "$as_dir" ||
347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
348 X"$as_dir" : 'X\(//\)[^/]' \| \
349 X"$as_dir" : 'X\(//\)$' \| \
350 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
351 printf "%s\n" X"$as_dir" |
352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
353 s//\1/
354 q
355 }
356 /^X\(\/\/\)[^/].*/{
357 s//\1/
358 q
359 }
360 /^X\(\/\/\)$/{
361 s//\1/
362 q
363 }
364 /^X\(\/\).*/{
365 s//\1/
366 q
367 }
368 s/.*/./; q'`
369 test -d "$as_dir" && break
370 done
371 test -z "$as_dirs" || eval "mkdir $as_dirs"
372 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
373
374
375 } # as_fn_mkdir_p
376
377 # as_fn_executable_p FILE
378 # -----------------------
379 # Test if FILE is an executable regular file.
380 as_fn_executable_p ()
381 {
382 test -f "$1" && test -x "$1"
383 } # as_fn_executable_p
384 # as_fn_append VAR VALUE
385 # ----------------------
386 # Append the text in VALUE to the end of the definition contained in VAR. Take
387 # advantage of any shell optimizations that allow amortized linear growth over
388 # repeated appends, instead of the typical quadratic growth present in naive
389 # implementations.
390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
391 then :
392 eval 'as_fn_append ()
393 {
394 eval $1+=\$2
395 }'
396 else case e in #(
397 e) as_fn_append ()
398 {
399 eval $1=\$$1\$2
400 } ;;
401 esac
402 fi # as_fn_append
403
404 # as_fn_arith ARG...
405 # ------------------
406 # Perform arithmetic evaluation on the ARGs, and store the result in the
407 # global $as_val. Take advantage of shells that can avoid forks. The arguments
408 # must be portable across $(()) and expr.
409 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
410 then :
411 eval 'as_fn_arith ()
412 {
413 as_val=$(( $* ))
414 }'
415 else case e in #(
416 e) as_fn_arith ()
417 {
418 as_val=`expr "$@" || test $? -eq 1`
419 } ;;
420 esac
421 fi # as_fn_arith
422
423
424 # as_fn_error STATUS ERROR [LINENO LOG_FD]
425 # ----------------------------------------
426 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
427 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
428 # script with STATUS, using 1 if that was 0.
429 as_fn_error ()
430 {
431 as_status=$1; test $as_status -eq 0 && as_status=1
432 if test "$4"; then
433 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
435 fi
436 printf "%s\n" "$as_me: error: $2" >&2
437 as_fn_exit $as_status
438 } # as_fn_error
439
440 if expr a : '\(a\)' >/dev/null 2>&1 &&
441 test "X`expr 00001 : '.*\(...\)'`" = X001; then
442 as_expr=expr
443 else
444 as_expr=false
445 fi
446
447 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
448 as_basename=basename
449 else
450 as_basename=false
451 fi
452
453 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
454 as_dirname=dirname
455 else
456 as_dirname=false
457 fi
458
459 as_me=`$as_basename -- "$0" ||
460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
461 X"$0" : 'X\(//\)$' \| \
462 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
463 printf "%s\n" X/"$0" |
464 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 s//\1/
466 q
467 }
468 /^X\/\(\/\/\)$/{
469 s//\1/
470 q
471 }
472 /^X\/\(\/\).*/{
473 s//\1/
474 q
475 }
476 s/.*/./; q'`
477
478 # Avoid depending upon Character Ranges.
479 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
480 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
481 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
482 as_cr_digits='0123456789'
483 as_cr_alnum=$as_cr_Letters$as_cr_digits
484
485
486 as_lineno_1=$LINENO as_lineno_1a=$LINENO
487 as_lineno_2=$LINENO as_lineno_2a=$LINENO
488 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
489 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
490 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
491 sed -n '
492 p
493 /[$]LINENO/=
494 ' <$as_myself |
495 sed '
496 t clear
497 :clear
498 s/[$]LINENO.*/&-/
499 t lineno
500 b
501 :lineno
502 N
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
521 }
522
523
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
536 *)
537 ECHO_N='-n';;
538 esac
539
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
545
546 rm -f conf$$ conf$$.exe conf$$.file
547 if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
549 else
550 rm -f conf$$.dir
551 mkdir conf$$.dir 2>/dev/null
552 fi
553 if (echo >conf$$.file) 2>/dev/null; then
554 if ln -s conf$$.file conf$$ 2>/dev/null; then
555 as_ln_s='ln -s'
556 # ... but there are two gotchas:
557 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
559 # In both cases, we have to default to 'cp -pR'.
560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
561 as_ln_s='cp -pR'
562 elif ln conf$$.file conf$$ 2>/dev/null; then
563 as_ln_s=ln
564 else
565 as_ln_s='cp -pR'
566 fi
567 else
568 as_ln_s='cp -pR'
569 fi
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
572
573 if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
575 else
576 test -d ./-p && rmdir ./-p
577 as_mkdir_p=false
578 fi
579
580 as_test_x='test -x'
581 as_executable_p=as_fn_executable_p
582
583 # Sed expression to map a string onto a valid CPP name.
584 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
585 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
586
587 # Sed expression to map a string onto a valid variable name.
588 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
589 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
590
591 SHELL=${CONFIG_SHELL-/bin/sh}
592
593
594 test -n "$DJDIR" || exec 7<&0 </dev/null
595 exec 6>&1
596
597 # Name of the host.
598 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
599 # so uname gets run too.
600 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
601
602 #
603 # Initializations.
604 #
605 ac_default_prefix=/usr/local
606 ac_clean_files=
607 ac_config_libobj_dir=.
608 LIBOBJS=
609 cross_compiling=no
610 subdirs=
611 MFLAGS=
612 MAKEFLAGS=
613
614 # Identity of this package.
615 PACKAGE_NAME='gsftopk (TeX Live)'
616 PACKAGE_TARNAME='gsftopk--tex-live-'
617 PACKAGE_VERSION='1.19.2'
618 PACKAGE_STRING='gsftopk (TeX Live) 1.19.2'
619 PACKAGE_BUGREPORT='[email protected]'
620 PACKAGE_URL=''
621
622 ac_unique_file="gsftopk.c"
623 # Factoring default headers for most tests.
624 ac_includes_default="\
625 #include <stddef.h>
626 #ifdef HAVE_STDIO_H
627 # include <stdio.h>
628 #endif
629 #ifdef HAVE_STDLIB_H
630 # include <stdlib.h>
631 #endif
632 #ifdef HAVE_STRING_H
633 # include <string.h>
634 #endif
635 #ifdef HAVE_INTTYPES_H
636 # include <inttypes.h>
637 #endif
638 #ifdef HAVE_STDINT_H
639 # include <stdint.h>
640 #endif
641 #ifdef HAVE_STRINGS_H
642 # include <strings.h>
643 #endif
644 #ifdef HAVE_SYS_TYPES_H
645 # include <sys/types.h>
646 #endif
647 #ifdef HAVE_SYS_STAT_H
648 # include <sys/stat.h>
649 #endif
650 #ifdef HAVE_UNISTD_H
651 # include <unistd.h>
652 #endif"
653
654 ac_header_c_list=
655 ac_func_c_list=
656 enable_year2038=no
657 ac_subst_vars='am__EXEEXT_FALSE
658 am__EXEEXT_TRUE
659 LTLIBOBJS
660 LIBOBJS
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 enable_year2038
810 '
811 ac_precious_vars='build_alias
812 host_alias
813 target_alias
814 CC
815 CFLAGS
816 LDFLAGS
817 LIBS
818 CPPFLAGS
819 LT_SYS_LIBRARY_PATH'
820
821
822 # Initialize some variables set by options.
823 ac_init_help=
824 ac_init_version=false
825 ac_unrecognized_opts=
826 ac_unrecognized_sep=
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
829 cache_file=/dev/null
830 exec_prefix=NONE
831 no_create=
832 no_recursion=
833 prefix=NONE
834 program_prefix=NONE
835 program_suffix=NONE
836 program_transform_name=s,x,x,
837 silent=
838 site=
839 srcdir=
840 verbose=
841 x_includes=NONE
842 x_libraries=NONE
843
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir='${exec_prefix}/bin'
851 sbindir='${exec_prefix}/sbin'
852 libexecdir='${exec_prefix}/libexec'
853 datarootdir='${prefix}/share'
854 datadir='${datarootdir}'
855 sysconfdir='${prefix}/etc'
856 sharedstatedir='${prefix}/com'
857 localstatedir='${prefix}/var'
858 runstatedir='${localstatedir}/run'
859 includedir='${prefix}/include'
860 oldincludedir='/usr/include'
861 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
862 infodir='${datarootdir}/info'
863 htmldir='${docdir}'
864 dvidir='${docdir}'
865 pdfdir='${docdir}'
866 psdir='${docdir}'
867 libdir='${exec_prefix}/lib'
868 localedir='${datarootdir}/locale'
869 mandir='${datarootdir}/man'
870
871 ac_prev=
872 ac_dashdash=
873 for ac_option
874 do
875 # If the previous option needs an argument, assign it.
876 if test -n "$ac_prev"; then
877 eval $ac_prev=\$ac_option
878 ac_prev=
879 continue
880 fi
881
882 case $ac_option in
883 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 *=) ac_optarg= ;;
885 *) ac_optarg=yes ;;
886 esac
887
888 case $ac_dashdash$ac_option in
889 --)
890 ac_dashdash=yes ;;
891
892 -bindir | --bindir | --bindi | --bind | --bin | --bi)
893 ac_prev=bindir ;;
894 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
895 bindir=$ac_optarg ;;
896
897 -build | --build | --buil | --bui | --bu)
898 ac_prev=build_alias ;;
899 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
900 build_alias=$ac_optarg ;;
901
902 -cache-file | --cache-file | --cache-fil | --cache-fi \
903 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
904 ac_prev=cache_file ;;
905 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
906 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
907 cache_file=$ac_optarg ;;
908
909 --config-cache | -C)
910 cache_file=config.cache ;;
911
912 -datadir | --datadir | --datadi | --datad)
913 ac_prev=datadir ;;
914 -datadir=* | --datadir=* | --datadi=* | --datad=*)
915 datadir=$ac_optarg ;;
916
917 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
918 | --dataroo | --dataro | --datar)
919 ac_prev=datarootdir ;;
920 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
921 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
922 datarootdir=$ac_optarg ;;
923
924 -disable-* | --disable-*)
925 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928 as_fn_error $? "invalid feature name: '$ac_useropt'"
929 ac_useropt_orig=$ac_useropt
930 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
932 *"
933 "enable_$ac_useropt"
934 "*) ;;
935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
936 ac_unrecognized_sep=', ';;
937 esac
938 eval enable_$ac_useropt=no ;;
939
940 -docdir | --docdir | --docdi | --doc | --do)
941 ac_prev=docdir ;;
942 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
943 docdir=$ac_optarg ;;
944
945 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
946 ac_prev=dvidir ;;
947 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
948 dvidir=$ac_optarg ;;
949
950 -enable-* | --enable-*)
951 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
954 as_fn_error $? "invalid feature name: '$ac_useropt'"
955 ac_useropt_orig=$ac_useropt
956 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
958 *"
959 "enable_$ac_useropt"
960 "*) ;;
961 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
962 ac_unrecognized_sep=', ';;
963 esac
964 eval enable_$ac_useropt=\$ac_optarg ;;
965
966 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
967 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
968 | --exec | --exe | --ex)
969 ac_prev=exec_prefix ;;
970 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
971 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
972 | --exec=* | --exe=* | --ex=*)
973 exec_prefix=$ac_optarg ;;
974
975 -gas | --gas | --ga | --g)
976 # Obsolete; use --with-gas.
977 with_gas=yes ;;
978
979 -help | --help | --hel | --he | -h)
980 ac_init_help=long ;;
981 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
982 ac_init_help=recursive ;;
983 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
984 ac_init_help=short ;;
985
986 -host | --host | --hos | --ho)
987 ac_prev=host_alias ;;
988 -host=* | --host=* | --hos=* | --ho=*)
989 host_alias=$ac_optarg ;;
990
991 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
992 ac_prev=htmldir ;;
993 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
994 | --ht=*)
995 htmldir=$ac_optarg ;;
996
997 -includedir | --includedir | --includedi | --included | --include \
998 | --includ | --inclu | --incl | --inc)
999 ac_prev=includedir ;;
1000 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1001 | --includ=* | --inclu=* | --incl=* | --inc=*)
1002 includedir=$ac_optarg ;;
1003
1004 -infodir | --infodir | --infodi | --infod | --info | --inf)
1005 ac_prev=infodir ;;
1006 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1007 infodir=$ac_optarg ;;
1008
1009 -libdir | --libdir | --libdi | --libd)
1010 ac_prev=libdir ;;
1011 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1012 libdir=$ac_optarg ;;
1013
1014 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1015 | --libexe | --libex | --libe)
1016 ac_prev=libexecdir ;;
1017 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1018 | --libexe=* | --libex=* | --libe=*)
1019 libexecdir=$ac_optarg ;;
1020
1021 -localedir | --localedir | --localedi | --localed | --locale)
1022 ac_prev=localedir ;;
1023 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1024 localedir=$ac_optarg ;;
1025
1026 -localstatedir | --localstatedir | --localstatedi | --localstated \
1027 | --localstate | --localstat | --localsta | --localst | --locals)
1028 ac_prev=localstatedir ;;
1029 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1030 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1031 localstatedir=$ac_optarg ;;
1032
1033 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1034 ac_prev=mandir ;;
1035 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1036 mandir=$ac_optarg ;;
1037
1038 -nfp | --nfp | --nf)
1039 # Obsolete; use --without-fp.
1040 with_fp=no ;;
1041
1042 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1043 | --no-cr | --no-c | -n)
1044 no_create=yes ;;
1045
1046 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1047 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1048 no_recursion=yes ;;
1049
1050 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1051 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1052 | --oldin | --oldi | --old | --ol | --o)
1053 ac_prev=oldincludedir ;;
1054 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1055 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1056 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1057 oldincludedir=$ac_optarg ;;
1058
1059 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1060 ac_prev=prefix ;;
1061 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1062 prefix=$ac_optarg ;;
1063
1064 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1065 | --program-pre | --program-pr | --program-p)
1066 ac_prev=program_prefix ;;
1067 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1068 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1069 program_prefix=$ac_optarg ;;
1070
1071 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1072 | --program-suf | --program-su | --program-s)
1073 ac_prev=program_suffix ;;
1074 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1075 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1076 program_suffix=$ac_optarg ;;
1077
1078 -program-transform-name | --program-transform-name \
1079 | --program-transform-nam | --program-transform-na \
1080 | --program-transform-n | --program-transform- \
1081 | --program-transform | --program-transfor \
1082 | --program-transfo | --program-transf \
1083 | --program-trans | --program-tran \
1084 | --progr-tra | --program-tr | --program-t)
1085 ac_prev=program_transform_name ;;
1086 -program-transform-name=* | --program-transform-name=* \
1087 | --program-transform-nam=* | --program-transform-na=* \
1088 | --program-transform-n=* | --program-transform-=* \
1089 | --program-transform=* | --program-transfor=* \
1090 | --program-transfo=* | --program-transf=* \
1091 | --program-trans=* | --program-tran=* \
1092 | --progr-tra=* | --program-tr=* | --program-t=*)
1093 program_transform_name=$ac_optarg ;;
1094
1095 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1096 ac_prev=pdfdir ;;
1097 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1098 pdfdir=$ac_optarg ;;
1099
1100 -psdir | --psdir | --psdi | --psd | --ps)
1101 ac_prev=psdir ;;
1102 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1103 psdir=$ac_optarg ;;
1104
1105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1106 | -silent | --silent | --silen | --sile | --sil)
1107 silent=yes ;;
1108
1109 -runstatedir | --runstatedir | --runstatedi | --runstated \
1110 | --runstate | --runstat | --runsta | --runst | --runs \
1111 | --run | --ru | --r)
1112 ac_prev=runstatedir ;;
1113 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1114 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1115 | --run=* | --ru=* | --r=*)
1116 runstatedir=$ac_optarg ;;
1117
1118 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1119 ac_prev=sbindir ;;
1120 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1121 | --sbi=* | --sb=*)
1122 sbindir=$ac_optarg ;;
1123
1124 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1125 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1126 | --sharedst | --shareds | --shared | --share | --shar \
1127 | --sha | --sh)
1128 ac_prev=sharedstatedir ;;
1129 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1130 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1131 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1132 | --sha=* | --sh=*)
1133 sharedstatedir=$ac_optarg ;;
1134
1135 -site | --site | --sit)
1136 ac_prev=site ;;
1137 -site=* | --site=* | --sit=*)
1138 site=$ac_optarg ;;
1139
1140 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1141 ac_prev=srcdir ;;
1142 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1143 srcdir=$ac_optarg ;;
1144
1145 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1146 | --syscon | --sysco | --sysc | --sys | --sy)
1147 ac_prev=sysconfdir ;;
1148 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1149 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1150 sysconfdir=$ac_optarg ;;
1151
1152 -target | --target | --targe | --targ | --tar | --ta | --t)
1153 ac_prev=target_alias ;;
1154 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1155 target_alias=$ac_optarg ;;
1156
1157 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1158 verbose=yes ;;
1159
1160 -version | --version | --versio | --versi | --vers | -V)
1161 ac_init_version=: ;;
1162
1163 -with-* | --with-*)
1164 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167 as_fn_error $? "invalid package name: '$ac_useropt'"
1168 ac_useropt_orig=$ac_useropt
1169 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1171 *"
1172 "with_$ac_useropt"
1173 "*) ;;
1174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1175 ac_unrecognized_sep=', ';;
1176 esac
1177 eval with_$ac_useropt=\$ac_optarg ;;
1178
1179 -without-* | --without-*)
1180 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183 as_fn_error $? "invalid package name: '$ac_useropt'"
1184 ac_useropt_orig=$ac_useropt
1185 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1187 *"
1188 "with_$ac_useropt"
1189 "*) ;;
1190 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1191 ac_unrecognized_sep=', ';;
1192 esac
1193 eval with_$ac_useropt=no ;;
1194
1195 --x)
1196 # Obsolete; use --with-x.
1197 with_x=yes ;;
1198
1199 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1200 | --x-incl | --x-inc | --x-in | --x-i)
1201 ac_prev=x_includes ;;
1202 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1203 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1204 x_includes=$ac_optarg ;;
1205
1206 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1207 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1208 ac_prev=x_libraries ;;
1209 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1210 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1211 x_libraries=$ac_optarg ;;
1212
1213 -*) as_fn_error $? "unrecognized option: '$ac_option'
1214 Try '$0 --help' for more information"
1215 ;;
1216
1217 *=*)
1218 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1219 # Reject names that are not valid shell variable names.
1220 case $ac_envvar in #(
1221 '' | [0-9]* | *[!_$as_cr_alnum]* )
1222 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1223 esac
1224 eval $ac_envvar=\$ac_optarg
1225 export $ac_envvar ;;
1226
1227 *)
1228 # FIXME: should be removed in autoconf 3.0.
1229 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1230 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1231 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1232 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1233 ;;
1234
1235 esac
1236 done
1237
1238 if test -n "$ac_prev"; then
1239 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1240 as_fn_error $? "missing argument to $ac_option"
1241 fi
1242
1243 if test -n "$ac_unrecognized_opts"; then
1244 case $enable_option_checking in
1245 no) ;;
1246 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1247 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1248 esac
1249 fi
1250
1251 # Check all directory arguments for consistency.
1252 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1253 datadir sysconfdir sharedstatedir localstatedir includedir \
1254 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1255 libdir localedir mandir runstatedir
1256 do
1257 eval ac_val=\$$ac_var
1258 # Remove trailing slashes.
1259 case $ac_val in
1260 */ )
1261 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1262 eval $ac_var=\$ac_val;;
1263 esac
1264 # Be sure to have absolute directory names.
1265 case $ac_val in
1266 [\\/$]* | ?:[\\/]* ) continue;;
1267 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1268 esac
1269 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1270 done
1271
1272 # There might be people who depend on the old broken behavior: '$host'
1273 # used to hold the argument of --host etc.
1274 # FIXME: To remove some day.
1275 build=$build_alias
1276 host=$host_alias
1277 target=$target_alias
1278
1279 # FIXME: To remove some day.
1280 if test "x$host_alias" != x; then
1281 if test "x$build_alias" = x; then
1282 cross_compiling=maybe
1283 elif test "x$build_alias" != "x$host_alias"; then
1284 cross_compiling=yes
1285 fi
1286 fi
1287
1288 ac_tool_prefix=
1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1290
1291 test "$silent" = yes && exec 6>/dev/null
1292
1293
1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1295 ac_ls_di=`ls -di .` &&
1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1297 as_fn_error $? "working directory cannot be determined"
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299 as_fn_error $? "pwd does not report name of working directory"
1300
1301
1302 # Find the source files, if location was not specified.
1303 if test -z "$srcdir"; then
1304 ac_srcdir_defaulted=yes
1305 # Try the directory containing this script, then the parent directory.
1306 ac_confdir=`$as_dirname -- "$as_myself" ||
1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308 X"$as_myself" : 'X\(//\)[^/]' \| \
1309 X"$as_myself" : 'X\(//\)$' \| \
1310 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1311 printf "%s\n" X"$as_myself" |
1312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1313 s//\1/
1314 q
1315 }
1316 /^X\(\/\/\)[^/].*/{
1317 s//\1/
1318 q
1319 }
1320 /^X\(\/\/\)$/{
1321 s//\1/
1322 q
1323 }
1324 /^X\(\/\).*/{
1325 s//\1/
1326 q
1327 }
1328 s/.*/./; q'`
1329 srcdir=$ac_confdir
1330 if test ! -r "$srcdir/$ac_unique_file"; then
1331 srcdir=..
1332 fi
1333 else
1334 ac_srcdir_defaulted=no
1335 fi
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1337 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1338 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1339 fi
1340 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1341 ac_abs_confdir=`(
1342 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1343 pwd)`
1344 # When building in place, set srcdir=.
1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 srcdir=.
1347 fi
1348 # Remove unnecessary trailing slashes from srcdir.
1349 # Double slashes in file names in object file debugging info
1350 # mess up M-x gdb in Emacs.
1351 case $srcdir in
1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1353 esac
1354 for ac_var in $ac_precious_vars; do
1355 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1356 eval ac_env_${ac_var}_value=\$${ac_var}
1357 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1358 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1359 done
1360
1361 #
1362 # Report the --help message.
1363 #
1364 if test "$ac_init_help" = "long"; then
1365 # Omit some internal or obsolete options to make the list less imposing.
1366 # This message is too long to be a string in the A/UX 3.1 sh.
1367 cat <<_ACEOF
1368 'configure' configures gsftopk (TeX Live) 1.19.2 to adapt to many kinds of systems.
1369
1370 Usage: $0 [OPTION]... [VAR=VALUE]...
1371
1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1373 VAR=VALUE. See below for descriptions of some of the useful variables.
1374
1375 Defaults for the options are specified in brackets.
1376
1377 Configuration:
1378 -h, --help display this help and exit
1379 --help=short display options specific to this package
1380 --help=recursive display the short help of all the included packages
1381 -V, --version display version information and exit
1382 -q, --quiet, --silent do not print 'checking ...' messages
1383 --cache-file=FILE cache test results in FILE [disabled]
1384 -C, --config-cache alias for '--cache-file=config.cache'
1385 -n, --no-create do not create output files
1386 --srcdir=DIR find the sources in DIR [configure dir or '..']
1387
1388 Installation directories:
1389 --prefix=PREFIX install architecture-independent files in PREFIX
1390 [$ac_default_prefix]
1391 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392 [PREFIX]
1393
1394 By default, 'make install' will install all the files in
1395 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1396 an installation prefix other than '$ac_default_prefix' using '--prefix',
1397 for instance '--prefix=\$HOME'.
1398
1399 For better control, use the options below.
1400
1401 Fine tuning of the installation directories:
1402 --bindir=DIR user executables [EPREFIX/bin]
1403 --sbindir=DIR system admin executables [EPREFIX/sbin]
1404 --libexecdir=DIR program executables [EPREFIX/libexec]
1405 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1406 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1407 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1408 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1409 --libdir=DIR object code libraries [EPREFIX/lib]
1410 --includedir=DIR C header files [PREFIX/include]
1411 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1412 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1413 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1414 --infodir=DIR info documentation [DATAROOTDIR/info]
1415 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1416 --mandir=DIR man documentation [DATAROOTDIR/man]
1417 --docdir=DIR documentation root
1418 [DATAROOTDIR/doc/gsftopk--tex-live-]
1419 --htmldir=DIR html documentation [DOCDIR]
1420 --dvidir=DIR dvi documentation [DOCDIR]
1421 --pdfdir=DIR pdf documentation [DOCDIR]
1422 --psdir=DIR ps documentation [DOCDIR]
1423 _ACEOF
1424
1425 cat <<\_ACEOF
1426
1427 Program names:
1428 --program-prefix=PREFIX prepend PREFIX to installed program names
1429 --program-suffix=SUFFIX append SUFFIX to installed program names
1430 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1431
1432 System types:
1433 --build=BUILD configure for building on BUILD [guessed]
1434 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1435 _ACEOF
1436 fi
1437
1438 if test -n "$ac_init_help"; then
1439 case $ac_init_help in
1440 short | recursive ) echo "Configuration of gsftopk (TeX Live) 1.19.2:";;
1441 esac
1442 cat <<\_ACEOF
1443
1444 Optional Features:
1445 --disable-option-checking ignore unrecognized --enable/--with options
1446 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1447 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1448 --enable-silent-rules less verbose build output (undo: "make V=1")
1449 --disable-silent-rules verbose build output (undo: "make V=0")
1450 --enable-maintainer-mode
1451 enable make rules and dependencies not useful (and
1452 sometimes confusing) to the casual installer
1453 --enable-dependency-tracking
1454 do not reject slow dependency extractors
1455 --disable-dependency-tracking
1456 speeds up one-time build
1457 --enable-compiler-warnings=[no|min|yes|max|all]
1458 Turn on compiler warnings [default: yes if
1459 maintainer-mode, min otherwise]
1460 --enable-shared[=PKGS] build shared libraries [default=yes]
1461 --enable-static[=PKGS] build static libraries [default=yes]
1462 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1463 both]
1464 --enable-fast-install[=PKGS]
1465 optimize for fast installation [default=yes]
1466 --enable-aix-soname=aix|svr4|both
1467 shared library versioning (aka "SONAME") variant to
1468 provide on AIX, [default=aix].
1469 --disable-libtool-lock avoid locking (might break parallel builds)
1470 --disable-largefile omit support for large files
1471 --enable-year2038 support timestamps after 2038
1472
1473 Optional Packages:
1474 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1475 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1476 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1477 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1478 compiler's sysroot if not specified).
1479 --with-system-kpathsea use installed kpathsea headers and library (requires
1480 pkg-config)
1481
1482 Some influential environment variables:
1483 CC C compiler command
1484 CFLAGS C compiler flags
1485 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1486 nonstandard directory <lib dir>
1487 LIBS libraries to pass to the linker, e.g. -l<library>
1488 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1489 you have headers in a nonstandard directory <include dir>
1490 LT_SYS_LIBRARY_PATH
1491 User-defined run-time library search path.
1492
1493 Use these variables to override the choices made by 'configure' or to help
1494 it to find libraries and programs with nonstandard names/locations.
1495
1496 Report bugs to <[email protected]>.
1497 _ACEOF
1498 ac_status=$?
1499 fi
1500
1501 if test "$ac_init_help" = "recursive"; then
1502 # If there are subdirs, report their specific --help.
1503 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1504 test -d "$ac_dir" ||
1505 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1506 continue
1507 ac_builddir=.
1508
1509 case "$ac_dir" in
1510 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 *)
1512 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1513 # A ".." for each directory in $ac_dir_suffix.
1514 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1515 case $ac_top_builddir_sub in
1516 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1518 esac ;;
1519 esac
1520 ac_abs_top_builddir=$ac_pwd
1521 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1522 # for backward compatibility:
1523 ac_top_builddir=$ac_top_build_prefix
1524
1525 case $srcdir in
1526 .) # We are building in place.
1527 ac_srcdir=.
1528 ac_top_srcdir=$ac_top_builddir_sub
1529 ac_abs_top_srcdir=$ac_pwd ;;
1530 [\\/]* | ?:[\\/]* ) # Absolute name.
1531 ac_srcdir=$srcdir$ac_dir_suffix;
1532 ac_top_srcdir=$srcdir
1533 ac_abs_top_srcdir=$srcdir ;;
1534 *) # Relative name.
1535 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1536 ac_top_srcdir=$ac_top_build_prefix$srcdir
1537 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1538 esac
1539 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1540
1541 cd "$ac_dir" || { ac_status=$?; continue; }
1542 # Check for configure.gnu first; this name is used for a wrapper for
1543 # Metaconfig's "Configure" on case-insensitive file systems.
1544 if test -f "$ac_srcdir/configure.gnu"; then
1545 echo &&
1546 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1547 elif test -f "$ac_srcdir/configure"; then
1548 echo &&
1549 $SHELL "$ac_srcdir/configure" --help=recursive
1550 else
1551 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1552 fi || ac_status=$?
1553 cd "$ac_pwd" || { ac_status=$?; break; }
1554 done
1555 fi
1556
1557 test -n "$ac_init_help" && exit $ac_status
1558 if $ac_init_version; then
1559 cat <<\_ACEOF
1560 gsftopk (TeX Live) configure 1.19.2
1561 generated by GNU Autoconf 2.72
1562
1563 Copyright (C) 2023 Free Software Foundation, Inc.
1564 This configure script is free software; the Free Software Foundation
1565 gives unlimited permission to copy, distribute and modify it.
1566 _ACEOF
1567 exit
1568 fi
1569
1570 ## ------------------------ ##
1571 ## Autoconf initialization. ##
1572 ## ------------------------ ##
1573
1574 # ac_fn_c_try_compile LINENO
1575 # --------------------------
1576 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1577 ac_fn_c_try_compile ()
1578 {
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 rm -f conftest.$ac_objext conftest.beam
1581 if { { ac_try="$ac_compile"
1582 case "(($ac_try" in
1583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584 *) ac_try_echo=$ac_try;;
1585 esac
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 printf "%s\n" "$ac_try_echo"; } >&5
1588 (eval "$ac_compile") 2>conftest.err
1589 ac_status=$?
1590 if test -s conftest.err; then
1591 grep -v '^ *+' conftest.err >conftest.er1
1592 cat conftest.er1 >&5
1593 mv -f conftest.er1 conftest.err
1594 fi
1595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596 test $ac_status = 0; } && {
1597 test -z "$ac_c_werror_flag" ||
1598 test ! -s conftest.err
1599 } && test -s conftest.$ac_objext
1600 then :
1601 ac_retval=0
1602 else case e in #(
1603 e) printf "%s\n" "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.$ac_ext >&5
1605
1606 ac_retval=1 ;;
1607 esac
1608 fi
1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610 as_fn_set_status $ac_retval
1611
1612 } # ac_fn_c_try_compile
1613
1614 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1615 # -------------------------------------------------------
1616 # Tests whether HEADER exists and can be compiled using the include files in
1617 # INCLUDES, setting the cache variable VAR accordingly.
1618 ac_fn_c_check_header_compile ()
1619 {
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1622 printf %s "checking for $2... " >&6; }
1623 if eval test \${$3+y}
1624 then :
1625 printf %s "(cached) " >&6
1626 else case e in #(
1627 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628 /* end confdefs.h. */
1629 $4
1630 #include <$2>
1631 _ACEOF
1632 if ac_fn_c_try_compile "$LINENO"
1633 then :
1634 eval "$3=yes"
1635 else case e in #(
1636 e) eval "$3=no" ;;
1637 esac
1638 fi
1639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1640 esac
1641 fi
1642 eval ac_res=\$$3
1643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 printf "%s\n" "$ac_res" >&6; }
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646
1647 } # ac_fn_c_check_header_compile
1648
1649 # ac_fn_c_try_link LINENO
1650 # -----------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_c_try_link ()
1653 {
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1656 if { { ac_try="$ac_link"
1657 case "(($ac_try" in
1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1660 esac
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 printf "%s\n" "$ac_try_echo"; } >&5
1663 (eval "$ac_link") 2>conftest.err
1664 ac_status=$?
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1669 fi
1670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest$ac_exeext && {
1675 test "$cross_compiling" = yes ||
1676 test -x conftest$ac_exeext
1677 }
1678 then :
1679 ac_retval=0
1680 else case e in #(
1681 e) printf "%s\n" "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1683
1684 ac_retval=1 ;;
1685 esac
1686 fi
1687 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1688 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1689 # interfere with the next link command; also delete a directory that is
1690 # left behind by Apple's compiler. We do this before executing the actions.
1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 as_fn_set_status $ac_retval
1694
1695 } # ac_fn_c_try_link
1696
1697 # ac_fn_c_check_func LINENO FUNC VAR
1698 # ----------------------------------
1699 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1700 ac_fn_c_check_func ()
1701 {
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 printf %s "checking for $2... " >&6; }
1705 if eval test \${$3+y}
1706 then :
1707 printf %s "(cached) " >&6
1708 else case e in #(
1709 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1711 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1713 #define $2 innocuous_$2
1714
1715 /* System header to define __stub macros and hopefully few prototypes,
1716 which can conflict with char $2 (void); below. */
1717
1718 #include <limits.h>
1719 #undef $2
1720
1721 /* Override any GCC internal prototype to avoid an error.
1722 Use char because int might match the return type of a GCC
1723 builtin and then its argument prototype would still apply. */
1724 #ifdef __cplusplus
1725 extern "C"
1726 #endif
1727 char $2 (void);
1728 /* The GNU C library defines this for functions which it implements
1729 to always fail with ENOSYS. Some functions are actually named
1730 something starting with __ and the normal name is an alias. */
1731 #if defined __stub_$2 || defined __stub___$2
1732 choke me
1733 #endif
1734
1735 int
1736 main (void)
1737 {
1738 return $2 ();
1739 ;
1740 return 0;
1741 }
1742 _ACEOF
1743 if ac_fn_c_try_link "$LINENO"
1744 then :
1745 eval "$3=yes"
1746 else case e in #(
1747 e) eval "$3=no" ;;
1748 esac
1749 fi
1750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1751 conftest$ac_exeext conftest.$ac_ext ;;
1752 esac
1753 fi
1754 eval ac_res=\$$3
1755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 printf "%s\n" "$ac_res" >&6; }
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758
1759 } # ac_fn_c_check_func
1760
1761 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1762 # -------------------------------------------
1763 # Tests whether TYPE exists after having included INCLUDES, setting cache
1764 # variable VAR accordingly.
1765 ac_fn_c_check_type ()
1766 {
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 printf %s "checking for $2... " >&6; }
1770 if eval test \${$3+y}
1771 then :
1772 printf %s "(cached) " >&6
1773 else case e in #(
1774 e) eval "$3=no"
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1777 $4
1778 int
1779 main (void)
1780 {
1781 if (sizeof ($2))
1782 return 0;
1783 ;
1784 return 0;
1785 }
1786 _ACEOF
1787 if ac_fn_c_try_compile "$LINENO"
1788 then :
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1791 $4
1792 int
1793 main (void)
1794 {
1795 if (sizeof (($2)))
1796 return 0;
1797 ;
1798 return 0;
1799 }
1800 _ACEOF
1801 if ac_fn_c_try_compile "$LINENO"
1802 then :
1803
1804 else case e in #(
1805 e) eval "$3=yes" ;;
1806 esac
1807 fi
1808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1809 fi
1810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1811 esac
1812 fi
1813 eval ac_res=\$$3
1814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 printf "%s\n" "$ac_res" >&6; }
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817
1818 } # ac_fn_c_check_type
1819
1820 # ac_fn_c_find_intX_t LINENO BITS VAR
1821 # -----------------------------------
1822 # Finds a signed integer type with width BITS, setting cache variable VAR
1823 # accordingly.
1824 ac_fn_c_find_intX_t ()
1825 {
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1828 printf %s "checking for int$2_t... " >&6; }
1829 if eval test \${$3+y}
1830 then :
1831 printf %s "(cached) " >&6
1832 else case e in #(
1833 e) eval "$3=no"
1834 # Order is important - never check a type that is potentially smaller
1835 # than half of the expected target width.
1836 for ac_type in int$2_t 'int' 'long int' \
1837 'long long int' 'short int' 'signed char'; do
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1840 $ac_includes_default
1841 enum { N = $2 / 2 - 1 };
1842 int
1843 main (void)
1844 {
1845 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1846 test_array [0] = 0;
1847 return test_array [0];
1848
1849 ;
1850 return 0;
1851 }
1852 _ACEOF
1853 if ac_fn_c_try_compile "$LINENO"
1854 then :
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 $ac_includes_default
1858 enum { N = $2 / 2 - 1 };
1859 int
1860 main (void)
1861 {
1862 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1863 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1864 test_array [0] = 0;
1865 return test_array [0];
1866
1867 ;
1868 return 0;
1869 }
1870 _ACEOF
1871 if ac_fn_c_try_compile "$LINENO"
1872 then :
1873
1874 else case e in #(
1875 e) case $ac_type in #(
1876 int$2_t) :
1877 eval "$3=yes" ;; #(
1878 *) :
1879 eval "$3=\$ac_type" ;;
1880 esac ;;
1881 esac
1882 fi
1883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1884 fi
1885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1886 if eval test \"x\$"$3"\" = x"no"
1887 then :
1888
1889 else case e in #(
1890 e) break ;;
1891 esac
1892 fi
1893 done ;;
1894 esac
1895 fi
1896 eval ac_res=\$$3
1897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 printf "%s\n" "$ac_res" >&6; }
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900
1901 } # ac_fn_c_find_intX_t
1902
1903 # ac_fn_c_find_uintX_t LINENO BITS VAR
1904 # ------------------------------------
1905 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1906 # accordingly.
1907 ac_fn_c_find_uintX_t ()
1908 {
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1911 printf %s "checking for uint$2_t... " >&6; }
1912 if eval test \${$3+y}
1913 then :
1914 printf %s "(cached) " >&6
1915 else case e in #(
1916 e) eval "$3=no"
1917 # Order is important - never check a type that is potentially smaller
1918 # than half of the expected target width.
1919 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1920 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1923 $ac_includes_default
1924 int
1925 main (void)
1926 {
1927 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1928 test_array [0] = 0;
1929 return test_array [0];
1930
1931 ;
1932 return 0;
1933 }
1934 _ACEOF
1935 if ac_fn_c_try_compile "$LINENO"
1936 then :
1937 case $ac_type in #(
1938 uint$2_t) :
1939 eval "$3=yes" ;; #(
1940 *) :
1941 eval "$3=\$ac_type" ;;
1942 esac
1943 fi
1944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1945 if eval test \"x\$"$3"\" = x"no"
1946 then :
1947
1948 else case e in #(
1949 e) break ;;
1950 esac
1951 fi
1952 done ;;
1953 esac
1954 fi
1955 eval ac_res=\$$3
1956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 printf "%s\n" "$ac_res" >&6; }
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959
1960 } # ac_fn_c_find_uintX_t
1961
1962 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1963 # ------------------------------------------------------------------
1964 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1965 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1966 ac_fn_check_decl ()
1967 {
1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 as_decl_name=`echo $2|sed 's/ *(.*//'`
1970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1971 printf %s "checking whether $as_decl_name is declared... " >&6; }
1972 if eval test \${$3+y}
1973 then :
1974 printf %s "(cached) " >&6
1975 else case e in #(
1976 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1977 eval ac_save_FLAGS=\$$6
1978 as_fn_append $6 " $5"
1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1981 $4
1982 int
1983 main (void)
1984 {
1985 #ifndef $as_decl_name
1986 #ifdef __cplusplus
1987 (void) $as_decl_use;
1988 #else
1989 (void) $as_decl_name;
1990 #endif
1991 #endif
1992
1993 ;
1994 return 0;
1995 }
1996 _ACEOF
1997 if ac_fn_c_try_compile "$LINENO"
1998 then :
1999 eval "$3=yes"
2000 else case e in #(
2001 e) eval "$3=no" ;;
2002 esac
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2005 eval $6=\$ac_save_FLAGS
2006 ;;
2007 esac
2008 fi
2009 eval ac_res=\$$3
2010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 printf "%s\n" "$ac_res" >&6; }
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013
2014 } # ac_fn_check_decl
2015
2016 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2017 # ----------------------------------------------------
2018 # Tries to find if the field MEMBER exists in type AGGR, after including
2019 # INCLUDES, setting cache variable VAR accordingly.
2020 ac_fn_c_check_member ()
2021 {
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2024 printf %s "checking for $2.$3... " >&6; }
2025 if eval test \${$4+y}
2026 then :
2027 printf %s "(cached) " >&6
2028 else case e in #(
2029 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2031 $5
2032 int
2033 main (void)
2034 {
2035 static $2 ac_aggr;
2036 if (ac_aggr.$3)
2037 return 0;
2038 ;
2039 return 0;
2040 }
2041 _ACEOF
2042 if ac_fn_c_try_compile "$LINENO"
2043 then :
2044 eval "$4=yes"
2045 else case e in #(
2046 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2048 $5
2049 int
2050 main (void)
2051 {
2052 static $2 ac_aggr;
2053 if (sizeof ac_aggr.$3)
2054 return 0;
2055 ;
2056 return 0;
2057 }
2058 _ACEOF
2059 if ac_fn_c_try_compile "$LINENO"
2060 then :
2061 eval "$4=yes"
2062 else case e in #(
2063 e) eval "$4=no" ;;
2064 esac
2065 fi
2066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2067 esac
2068 fi
2069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2070 esac
2071 fi
2072 eval ac_res=\$$4
2073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 printf "%s\n" "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076
2077 } # ac_fn_c_check_member
2078
2079 # ac_fn_c_try_run LINENO
2080 # ----------------------
2081 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2082 # executables *can* be run.
2083 ac_fn_c_try_run ()
2084 {
2085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086 if { { ac_try="$ac_link"
2087 case "(($ac_try" in
2088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2089 *) ac_try_echo=$ac_try;;
2090 esac
2091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2092 printf "%s\n" "$ac_try_echo"; } >&5
2093 (eval "$ac_link") 2>&5
2094 ac_status=$?
2095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2096 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2097 { { case "(($ac_try" in
2098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2099 *) ac_try_echo=$ac_try;;
2100 esac
2101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2102 printf "%s\n" "$ac_try_echo"; } >&5
2103 (eval "$ac_try") 2>&5
2104 ac_status=$?
2105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2106 test $ac_status = 0; }; }
2107 then :
2108 ac_retval=0
2109 else case e in #(
2110 e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2111 printf "%s\n" "$as_me: failed program was:" >&5
2112 sed 's/^/| /' conftest.$ac_ext >&5
2113
2114 ac_retval=$ac_status ;;
2115 esac
2116 fi
2117 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2118 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2119 as_fn_set_status $ac_retval
2120
2121 } # ac_fn_c_try_run
2122 ac_configure_args_raw=
2123 for ac_arg
2124 do
2125 case $ac_arg in
2126 *\'*)
2127 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2128 esac
2129 as_fn_append ac_configure_args_raw " '$ac_arg'"
2130 done
2131
2132 case $ac_configure_args_raw in
2133 *$as_nl*)
2134 ac_safe_unquote= ;;
2135 *)
2136 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2137 ac_unsafe_a="$ac_unsafe_z#~"
2138 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2139 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2140 esac
2141
2142 cat >config.log <<_ACEOF
2143 This file contains any messages produced by compilers while
2144 running configure, to aid debugging if configure makes a mistake.
2145
2146 It was created by gsftopk (TeX Live) $as_me 1.19.2, which was
2147 generated by GNU Autoconf 2.72. Invocation command line was
2148
2149 $ $0$ac_configure_args_raw
2150
2151 _ACEOF
2152 exec 5>>config.log
2153 {
2154 cat <<_ASUNAME
2155 ## --------- ##
2156 ## Platform. ##
2157 ## --------- ##
2158
2159 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2160 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2161 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2162 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2163 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2164
2165 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2166 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2167
2168 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2169 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2170 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2171 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2172 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2173 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2174 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2175
2176 _ASUNAME
2177
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2180 do
2181 IFS=$as_save_IFS
2182 case $as_dir in #(((
2183 '') as_dir=./ ;;
2184 */) ;;
2185 *) as_dir=$as_dir/ ;;
2186 esac
2187 printf "%s\n" "PATH: $as_dir"
2188 done
2189 IFS=$as_save_IFS
2190
2191 } >&5
2192
2193 cat >&5 <<_ACEOF
2194
2195
2196 ## ----------- ##
2197 ## Core tests. ##
2198 ## ----------- ##
2199
2200 _ACEOF
2201
2202
2203 # Keep a trace of the command line.
2204 # Strip out --no-create and --no-recursion so they do not pile up.
2205 # Strip out --silent because we don't want to record it for future runs.
2206 # Also quote any args containing shell meta-characters.
2207 # Make two passes to allow for proper duplicate-argument suppression.
2208 ac_configure_args=
2209 ac_configure_args0=
2210 ac_configure_args1=
2211 ac_must_keep_next=false
2212 for ac_pass in 1 2
2213 do
2214 for ac_arg
2215 do
2216 case $ac_arg in
2217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2219 | -silent | --silent | --silen | --sile | --sil)
2220 continue ;;
2221 *\'*)
2222 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2223 esac
2224 case $ac_pass in
2225 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2226 2)
2227 as_fn_append ac_configure_args1 " '$ac_arg'"
2228 if test $ac_must_keep_next = true; then
2229 ac_must_keep_next=false # Got value, back to normal.
2230 else
2231 case $ac_arg in
2232 *=* | --config-cache | -C | -disable-* | --disable-* \
2233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2235 | -with-* | --with-* | -without-* | --without-* | --x)
2236 case "$ac_configure_args0 " in
2237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2238 esac
2239 ;;
2240 -* ) ac_must_keep_next=true ;;
2241 esac
2242 fi
2243 as_fn_append ac_configure_args " '$ac_arg'"
2244 ;;
2245 esac
2246 done
2247 done
2248 { ac_configure_args0=; unset ac_configure_args0;}
2249 { ac_configure_args1=; unset ac_configure_args1;}
2250
2251 # When interrupted or exit'd, cleanup temporary files, and complete
2252 # config.log. We remove comments because anyway the quotes in there
2253 # would cause problems or look ugly.
2254 # WARNING: Use '\'' to represent an apostrophe within the trap.
2255 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2256 trap 'exit_status=$?
2257 # Sanitize IFS.
2258 IFS=" "" $as_nl"
2259 # Save into config.log some information that might help in debugging.
2260 {
2261 echo
2262
2263 printf "%s\n" "## ---------------- ##
2264 ## Cache variables. ##
2265 ## ---------------- ##"
2266 echo
2267 # The following way of writing the cache mishandles newlines in values,
2268 (
2269 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2270 eval ac_val=\$$ac_var
2271 case $ac_val in #(
2272 *${as_nl}*)
2273 case $ac_var in #(
2274 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2275 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2276 esac
2277 case $ac_var in #(
2278 _ | IFS | as_nl) ;; #(
2279 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2280 *) { eval $ac_var=; unset $ac_var;} ;;
2281 esac ;;
2282 esac
2283 done
2284 (set) 2>&1 |
2285 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2286 *${as_nl}ac_space=\ *)
2287 sed -n \
2288 "s/'\''/'\''\\\\'\'''\''/g;
2289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2290 ;; #(
2291 *)
2292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2293 ;;
2294 esac |
2295 sort
2296 )
2297 echo
2298
2299 printf "%s\n" "## ----------------- ##
2300 ## Output variables. ##
2301 ## ----------------- ##"
2302 echo
2303 for ac_var in $ac_subst_vars
2304 do
2305 eval ac_val=\$$ac_var
2306 case $ac_val in
2307 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2308 esac
2309 printf "%s\n" "$ac_var='\''$ac_val'\''"
2310 done | sort
2311 echo
2312
2313 if test -n "$ac_subst_files"; then
2314 printf "%s\n" "## ------------------- ##
2315 ## File substitutions. ##
2316 ## ------------------- ##"
2317 echo
2318 for ac_var in $ac_subst_files
2319 do
2320 eval ac_val=\$$ac_var
2321 case $ac_val in
2322 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2323 esac
2324 printf "%s\n" "$ac_var='\''$ac_val'\''"
2325 done | sort
2326 echo
2327 fi
2328
2329 if test -s confdefs.h; then
2330 printf "%s\n" "## ----------- ##
2331 ## confdefs.h. ##
2332 ## ----------- ##"
2333 echo
2334 cat confdefs.h
2335 echo
2336 fi
2337 test "$ac_signal" != 0 &&
2338 printf "%s\n" "$as_me: caught signal $ac_signal"
2339 printf "%s\n" "$as_me: exit $exit_status"
2340 } >&5
2341 rm -f core *.core core.conftest.* &&
2342 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2343 exit $exit_status
2344 ' 0
2345 for ac_signal in 1 2 13 15; do
2346 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2347 done
2348 ac_signal=0
2349
2350 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2351 rm -f -r conftest* confdefs.h
2352
2353 printf "%s\n" "/* confdefs.h */" > confdefs.h
2354
2355 # Predefined preprocessor variables.
2356
2357 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2358
2359 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2360
2361 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2362
2363 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2364
2365 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2366
2367 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2368
2369
2370 # Let the site file select an alternate cache file if it wants to.
2371 # Prefer an explicitly selected file to automatically selected ones.
2372 if test -n "$CONFIG_SITE"; then
2373 ac_site_files="$CONFIG_SITE"
2374 elif test "x$prefix" != xNONE; then
2375 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2376 else
2377 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2378 fi
2379
2380 for ac_site_file in $ac_site_files
2381 do
2382 case $ac_site_file in #(
2383 */*) :
2384 ;; #(
2385 *) :
2386 ac_site_file=./$ac_site_file ;;
2387 esac
2388 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2390 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2391 sed 's/^/| /' "$ac_site_file" >&5
2392 . "$ac_site_file" \
2393 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2394 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2395 as_fn_error $? "failed to load site script $ac_site_file
2396 See 'config.log' for more details" "$LINENO" 5; }
2397 fi
2398 done
2399
2400 if test -r "$cache_file"; then
2401 # Some versions of bash will fail to source /dev/null (special files
2402 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2403 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2405 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2406 case $cache_file in
2407 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2408 *) . "./$cache_file";;
2409 esac
2410 fi
2411 else
2412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2413 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2414 >$cache_file
2415 fi
2416
2417 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2418 # Test code for whether the C compiler supports C89 (global declarations)
2419 ac_c_conftest_c89_globals='
2420 /* Does the compiler advertise C89 conformance?
2421 Do not test the value of __STDC__, because some compilers set it to 0
2422 while being otherwise adequately conformant. */
2423 #if !defined __STDC__
2424 # error "Compiler does not advertise C89 conformance"
2425 #endif
2426
2427 #include <stddef.h>
2428 #include <stdarg.h>
2429 struct stat;
2430 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2431 struct buf { int x; };
2432 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2433 static char *e (char **p, int i)
2434 {
2435 return p[i];
2436 }
2437 static char *f (char * (*g) (char **, int), char **p, ...)
2438 {
2439 char *s;
2440 va_list v;
2441 va_start (v,p);
2442 s = g (p, va_arg (v,int));
2443 va_end (v);
2444 return s;
2445 }
2446
2447 /* C89 style stringification. */
2448 #define noexpand_stringify(a) #a
2449 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2450
2451 /* C89 style token pasting. Exercises some of the corner cases that
2452 e.g. old MSVC gets wrong, but not very hard. */
2453 #define noexpand_concat(a,b) a##b
2454 #define expand_concat(a,b) noexpand_concat(a,b)
2455 extern int vA;
2456 extern int vbee;
2457 #define aye A
2458 #define bee B
2459 int *pvA = &expand_concat(v,aye);
2460 int *pvbee = &noexpand_concat(v,bee);
2461
2462 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2463 function prototypes and stuff, but not \xHH hex character constants.
2464 These do not provoke an error unfortunately, instead are silently treated
2465 as an "x". The following induces an error, until -std is added to get
2466 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2467 array size at least. It is necessary to write \x00 == 0 to get something
2468 that is true only with -std. */
2469 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2470
2471 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2472 inside strings and character constants. */
2473 #define FOO(x) '\''x'\''
2474 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2475
2476 int test (int i, double x);
2477 struct s1 {int (*f) (int a);};
2478 struct s2 {int (*f) (double a);};
2479 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2480 int, int);'
2481
2482 # Test code for whether the C compiler supports C89 (body of main).
2483 ac_c_conftest_c89_main='
2484 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2485 '
2486
2487 # Test code for whether the C compiler supports C99 (global declarations)
2488 ac_c_conftest_c99_globals='
2489 /* Does the compiler advertise C99 conformance? */
2490 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2491 # error "Compiler does not advertise C99 conformance"
2492 #endif
2493
2494 // See if C++-style comments work.
2495
2496 #include <stdbool.h>
2497 extern int puts (const char *);
2498 extern int printf (const char *, ...);
2499 extern int dprintf (int, const char *, ...);
2500 extern void *malloc (size_t);
2501 extern void free (void *);
2502
2503 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2504 // dprintf is used instead of fprintf to avoid needing to declare
2505 // FILE and stderr.
2506 #define debug(...) dprintf (2, __VA_ARGS__)
2507 #define showlist(...) puts (#__VA_ARGS__)
2508 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2509 static void
2510 test_varargs_macros (void)
2511 {
2512 int x = 1234;
2513 int y = 5678;
2514 debug ("Flag");
2515 debug ("X = %d\n", x);
2516 showlist (The first, second, and third items.);
2517 report (x>y, "x is %d but y is %d", x, y);
2518 }
2519
2520 // Check long long types.
2521 #define BIG64 18446744073709551615ull
2522 #define BIG32 4294967295ul
2523 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2524 #if !BIG_OK
2525 #error "your preprocessor is broken"
2526 #endif
2527 #if BIG_OK
2528 #else
2529 #error "your preprocessor is broken"
2530 #endif
2531 static long long int bignum = -9223372036854775807LL;
2532 static unsigned long long int ubignum = BIG64;
2533
2534 struct incomplete_array
2535 {
2536 int datasize;
2537 double data[];
2538 };
2539
2540 struct named_init {
2541 int number;
2542 const wchar_t *name;
2543 double average;
2544 };
2545
2546 typedef const char *ccp;
2547
2548 static inline int
2549 test_restrict (ccp restrict text)
2550 {
2551 // Iterate through items via the restricted pointer.
2552 // Also check for declarations in for loops.
2553 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2554 continue;
2555 return 0;
2556 }
2557
2558 // Check varargs and va_copy.
2559 static bool
2560 test_varargs (const char *format, ...)
2561 {
2562 va_list args;
2563 va_start (args, format);
2564 va_list args_copy;
2565 va_copy (args_copy, args);
2566
2567 const char *str = "";
2568 int number = 0;
2569 float fnumber = 0;
2570
2571 while (*format)
2572 {
2573 switch (*format++)
2574 {
2575 case '\''s'\'': // string
2576 str = va_arg (args_copy, const char *);
2577 break;
2578 case '\''d'\'': // int
2579 number = va_arg (args_copy, int);
2580 break;
2581 case '\''f'\'': // float
2582 fnumber = va_arg (args_copy, double);
2583 break;
2584 default:
2585 break;
2586 }
2587 }
2588 va_end (args_copy);
2589 va_end (args);
2590
2591 return *str && number && fnumber;
2592 }
2593 '
2594
2595 # Test code for whether the C compiler supports C99 (body of main).
2596 ac_c_conftest_c99_main='
2597 // Check bool.
2598 _Bool success = false;
2599 success |= (argc != 0);
2600
2601 // Check restrict.
2602 if (test_restrict ("String literal") == 0)
2603 success = true;
2604 char *restrict newvar = "Another string";
2605
2606 // Check varargs.
2607 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2608 test_varargs_macros ();
2609
2610 // Check flexible array members.
2611 struct incomplete_array *ia =
2612 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2613 ia->datasize = 10;
2614 for (int i = 0; i < ia->datasize; ++i)
2615 ia->data[i] = i * 1.234;
2616 // Work around memory leak warnings.
2617 free (ia);
2618
2619 // Check named initializers.
2620 struct named_init ni = {
2621 .number = 34,
2622 .name = L"Test wide string",
2623 .average = 543.34343,
2624 };
2625
2626 ni.number = 58;
2627
2628 int dynamic_array[ni.number];
2629 dynamic_array[0] = argv[0][0];
2630 dynamic_array[ni.number - 1] = 543;
2631
2632 // work around unused variable warnings
2633 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2634 || dynamic_array[ni.number - 1] != 543);
2635 '
2636
2637 # Test code for whether the C compiler supports C11 (global declarations)
2638 ac_c_conftest_c11_globals='
2639 /* Does the compiler advertise C11 conformance? */
2640 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2641 # error "Compiler does not advertise C11 conformance"
2642 #endif
2643
2644 // Check _Alignas.
2645 char _Alignas (double) aligned_as_double;
2646 char _Alignas (0) no_special_alignment;
2647 extern char aligned_as_int;
2648 char _Alignas (0) _Alignas (int) aligned_as_int;
2649
2650 // Check _Alignof.
2651 enum
2652 {
2653 int_alignment = _Alignof (int),
2654 int_array_alignment = _Alignof (int[100]),
2655 char_alignment = _Alignof (char)
2656 };
2657 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2658
2659 // Check _Noreturn.
2660 int _Noreturn does_not_return (void) { for (;;) continue; }
2661
2662 // Check _Static_assert.
2663 struct test_static_assert
2664 {
2665 int x;
2666 _Static_assert (sizeof (int) <= sizeof (long int),
2667 "_Static_assert does not work in struct");
2668 long int y;
2669 };
2670
2671 // Check UTF-8 literals.
2672 #define u8 syntax error!
2673 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2674
2675 // Check duplicate typedefs.
2676 typedef long *long_ptr;
2677 typedef long int *long_ptr;
2678 typedef long_ptr long_ptr;
2679
2680 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2681 struct anonymous
2682 {
2683 union {
2684 struct { int i; int j; };
2685 struct { int k; long int l; } w;
2686 };
2687 int m;
2688 } v1;
2689 '
2690
2691 # Test code for whether the C compiler supports C11 (body of main).
2692 ac_c_conftest_c11_main='
2693 _Static_assert ((offsetof (struct anonymous, i)
2694 == offsetof (struct anonymous, w.k)),
2695 "Anonymous union alignment botch");
2696 v1.i = 2;
2697 v1.w.k = 5;
2698 ok |= v1.i != 5;
2699 '
2700
2701 # Test code for whether the C compiler supports C11 (complete).
2702 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2703 ${ac_c_conftest_c99_globals}
2704 ${ac_c_conftest_c11_globals}
2705
2706 int
2707 main (int argc, char **argv)
2708 {
2709 int ok = 0;
2710 ${ac_c_conftest_c89_main}
2711 ${ac_c_conftest_c99_main}
2712 ${ac_c_conftest_c11_main}
2713 return ok;
2714 }
2715 "
2716
2717 # Test code for whether the C compiler supports C99 (complete).
2718 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2719 ${ac_c_conftest_c99_globals}
2720
2721 int
2722 main (int argc, char **argv)
2723 {
2724 int ok = 0;
2725 ${ac_c_conftest_c89_main}
2726 ${ac_c_conftest_c99_main}
2727 return ok;
2728 }
2729 "
2730
2731 # Test code for whether the C compiler supports C89 (complete).
2732 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2733
2734 int
2735 main (int argc, char **argv)
2736 {
2737 int ok = 0;
2738 ${ac_c_conftest_c89_main}
2739 return ok;
2740 }
2741 "
2742
2743 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2744 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2745 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2746 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2747 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2748 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2749 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2750 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2751 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2752 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2753 as_fn_append ac_header_c_list " vfork.h vfork_h HAVE_VFORK_H"
2754 as_fn_append ac_func_c_list " fork HAVE_FORK"
2755 as_fn_append ac_func_c_list " vfork HAVE_VFORK"
2756
2757 # Auxiliary files required by this configure script.
2758 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2759
2760 # Locations in which to look for auxiliary files.
2761 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2762
2763 # Search for a directory containing all of the required auxiliary files,
2764 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2765 # If we don't find one directory that contains all the files we need,
2766 # we report the set of missing files from the *first* directory in
2767 # $ac_aux_dir_candidates and give up.
2768 ac_missing_aux_files=""
2769 ac_first_candidate=:
2770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 as_found=false
2773 for as_dir in $ac_aux_dir_candidates
2774 do
2775 IFS=$as_save_IFS
2776 case $as_dir in #(((
2777 '') as_dir=./ ;;
2778 */) ;;
2779 *) as_dir=$as_dir/ ;;
2780 esac
2781 as_found=:
2782
2783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2784 ac_aux_dir_found=yes
2785 ac_install_sh=
2786 for ac_aux in $ac_aux_files
2787 do
2788 # As a special case, if "install-sh" is required, that requirement
2789 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2790 # and $ac_install_sh is set appropriately for whichever one is found.
2791 if test x"$ac_aux" = x"install-sh"
2792 then
2793 if test -f "${as_dir}install-sh"; then
2794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2795 ac_install_sh="${as_dir}install-sh -c"
2796 elif test -f "${as_dir}install.sh"; then
2797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2798 ac_install_sh="${as_dir}install.sh -c"
2799 elif test -f "${as_dir}shtool"; then
2800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2801 ac_install_sh="${as_dir}shtool install -c"
2802 else
2803 ac_aux_dir_found=no
2804 if $ac_first_candidate; then
2805 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2806 else
2807 break
2808 fi
2809 fi
2810 else
2811 if test -f "${as_dir}${ac_aux}"; then
2812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2813 else
2814 ac_aux_dir_found=no
2815 if $ac_first_candidate; then
2816 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2817 else
2818 break
2819 fi
2820 fi
2821 fi
2822 done
2823 if test "$ac_aux_dir_found" = yes; then
2824 ac_aux_dir="$as_dir"
2825 break
2826 fi
2827 ac_first_candidate=false
2828
2829 as_found=false
2830 done
2831 IFS=$as_save_IFS
2832 if $as_found
2833 then :
2834
2835 else case e in #(
2836 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2837 esac
2838 fi
2839
2840
2841 # These three variables are undocumented and unsupported,
2842 # and are intended to be withdrawn in a future Autoconf release.
2843 # They can cause serious problems if a builder's source tree is in a directory
2844 # whose full name contains unusual characters.
2845 if test -f "${ac_aux_dir}config.guess"; then
2846 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2847 fi
2848 if test -f "${ac_aux_dir}config.sub"; then
2849 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2850 fi
2851 if test -f "$ac_aux_dir/configure"; then
2852 ac_configure="$SHELL ${ac_aux_dir}configure"
2853 fi
2854
2855 # Check that the precious variables saved in the cache have kept the same
2856 # value.
2857 ac_cache_corrupted=false
2858 for ac_var in $ac_precious_vars; do
2859 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2860 eval ac_new_set=\$ac_env_${ac_var}_set
2861 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2862 eval ac_new_val=\$ac_env_${ac_var}_value
2863 case $ac_old_set,$ac_new_set in
2864 set,)
2865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2866 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2867 ac_cache_corrupted=: ;;
2868 ,set)
2869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2870 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2871 ac_cache_corrupted=: ;;
2872 ,);;
2873 *)
2874 if test "x$ac_old_val" != "x$ac_new_val"; then
2875 # differences in whitespace do not lead to failure.
2876 ac_old_val_w=`echo x $ac_old_val`
2877 ac_new_val_w=`echo x $ac_new_val`
2878 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2880 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2881 ac_cache_corrupted=:
2882 else
2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2884 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2885 eval $ac_var=\$ac_old_val
2886 fi
2887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2888 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2890 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2891 fi;;
2892 esac
2893 # Pass precious variables to config.status.
2894 if test "$ac_new_set" = set; then
2895 case $ac_new_val in
2896 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2897 *) ac_arg=$ac_var=$ac_new_val ;;
2898 esac
2899 case " $ac_configure_args " in
2900 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2901 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2902 esac
2903 fi
2904 done
2905 if $ac_cache_corrupted; then
2906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2907 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2909 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2910 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2911 and start over" "$LINENO" 5
2912 fi
2913 ## -------------------- ##
2914 ## Main body of script. ##
2915 ## -------------------- ##
2916
2917 ac_ext=c
2918 ac_cpp='$CPP $CPPFLAGS'
2919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922
2923
2924
2925
2926
2927
2928
2929 am__api_version='1.18'
2930
2931
2932
2933 # Find a good install program. We prefer a C program (faster),
2934 # so one script is as good as another. But avoid the broken or
2935 # incompatible versions:
2936 # SysV /etc/install, /usr/sbin/install
2937 # SunOS /usr/etc/install
2938 # IRIX /sbin/install
2939 # AIX /bin/install
2940 # AmigaOS /C/install, which installs bootblocks on floppy discs
2941 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2942 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2943 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2944 # OS/2's system install, which has a completely different semantic
2945 # ./install, which can be erroneously created by make from ./install.sh.
2946 # Reject install programs that cannot install multiple files.
2947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2948 printf %s "checking for a BSD-compatible install... " >&6; }
2949 if test -z "$INSTALL"; then
2950 if test ${ac_cv_path_install+y}
2951 then :
2952 printf %s "(cached) " >&6
2953 else case e in #(
2954 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 for as_dir in $PATH
2956 do
2957 IFS=$as_save_IFS
2958 case $as_dir in #(((
2959 '') as_dir=./ ;;
2960 */) ;;
2961 *) as_dir=$as_dir/ ;;
2962 esac
2963 # Account for fact that we put trailing slashes in our PATH walk.
2964 case $as_dir in #((
2965 ./ | /[cC]/* | \
2966 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2967 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2968 /usr/ucb/* ) ;;
2969 *)
2970 # OSF1 and SCO ODT 3.0 have their own names for install.
2971 # Don't use installbsd from OSF since it installs stuff as root
2972 # by default.
2973 for ac_prog in ginstall scoinst install; do
2974 for ac_exec_ext in '' $ac_executable_extensions; do
2975 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2976 if test $ac_prog = install &&
2977 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2978 # AIX install. It has an incompatible calling convention.
2979 :
2980 elif test $ac_prog = install &&
2981 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2982 # program-specific install script used by HP pwplus--don't use.
2983 :
2984 else
2985 rm -rf conftest.one conftest.two conftest.dir
2986 echo one > conftest.one
2987 echo two > conftest.two
2988 mkdir conftest.dir
2989 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2990 test -s conftest.one && test -s conftest.two &&
2991 test -s conftest.dir/conftest.one &&
2992 test -s conftest.dir/conftest.two
2993 then
2994 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2995 break 3
2996 fi
2997 fi
2998 fi
2999 done
3000 done
3001 ;;
3002 esac
3003
3004 done
3005 IFS=$as_save_IFS
3006
3007 rm -rf conftest.one conftest.two conftest.dir
3008 ;;
3009 esac
3010 fi
3011 if test ${ac_cv_path_install+y}; then
3012 INSTALL=$ac_cv_path_install
3013 else
3014 # As a last resort, use the slow shell script. Don't cache a
3015 # value for INSTALL within a source directory, because that will
3016 # break other packages using the cache if that directory is
3017 # removed, or if the value is a relative name.
3018 INSTALL=$ac_install_sh
3019 fi
3020 fi
3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3022 printf "%s\n" "$INSTALL" >&6; }
3023
3024 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3025 # It thinks the first close brace ends the variable substitution.
3026 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3027
3028 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3029
3030 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3031
3032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
3033 printf %s "checking whether sleep supports fractional seconds... " >&6; }
3034 if test ${am_cv_sleep_fractional_seconds+y}
3035 then :
3036 printf %s "(cached) " >&6
3037 else case e in #(
3038 e) if sleep 0.001 2>/dev/null
3039 then :
3040 am_cv_sleep_fractional_seconds=yes
3041 else case e in #(
3042 e) am_cv_sleep_fractional_seconds=no ;;
3043 esac
3044 fi
3045 ;;
3046 esac
3047 fi
3048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3049 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3050
3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3052 printf %s "checking filesystem timestamp resolution... " >&6; }
3053 if test ${am_cv_filesystem_timestamp_resolution+y}
3054 then :
3055 printf %s "(cached) " >&6
3056 else case e in #(
3057 e) # Default to the worst case.
3058 am_cv_filesystem_timestamp_resolution=2
3059
3060 # Only try to go finer than 1 sec if sleep can do it.
3061 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3062 # - 1 sec is not much of a win compared to 2 sec, and
3063 # - it takes 2 seconds to perform the test whether 1 sec works.
3064 #
3065 # Instead, just use the default 2s on platforms that have 1s resolution,
3066 # accept the extra 1s delay when using $sleep in the Automake tests, in
3067 # exchange for not incurring the 2s delay for running the test for all
3068 # packages.
3069 #
3070 am_try_resolutions=
3071 if test "$am_cv_sleep_fractional_seconds" = yes; then
3072 # Even a millisecond often causes a bunch of false positives,
3073 # so just try a hundredth of a second. The time saved between .001 and
3074 # .01 is not terribly consequential.
3075 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3076 fi
3077
3078 # In order to catch current-generation FAT out, we must *modify* files
3079 # that already exist; the *creation* timestamp is finer. Use names
3080 # that make ls -t sort them differently when they have equal
3081 # timestamps than when they have distinct timestamps, keeping
3082 # in mind that ls -t prints the *newest* file first.
3083 rm -f conftest.ts?
3084 : > conftest.ts1
3085 : > conftest.ts2
3086 : > conftest.ts3
3087
3088 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3089 # clobber the current shell's arguments. (Outer-level square brackets
3090 # are removed by m4; they're present so that m4 does not expand
3091 # <dollar><star>; be careful, easy to get confused.)
3092 if (
3093 set X `ls -t conftest.ts[12]` &&
3094 {
3095 test "$*" != "X conftest.ts1 conftest.ts2" ||
3096 test "$*" != "X conftest.ts2 conftest.ts1";
3097 }
3098 ); then :; else
3099 # If neither matched, then we have a broken ls. This can happen
3100 # if, for instance, CONFIG_SHELL is bash and it inherits a
3101 # broken ls alias from the environment. This has actually
3102 # happened. Such a system could not be considered "sane".
3103 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3104 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3105 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3106 as_fn_error $? "ls -t produces unexpected output.
3107 Make sure there is not a broken ls alias in your environment.
3108 See 'config.log' for more details" "$LINENO" 5; }
3109 fi
3110
3111 for am_try_res in $am_try_resolutions; do
3112 # Any one fine-grained sleep might happen to cross the boundary
3113 # between two values of a coarser actual resolution, but if we do
3114 # two fine-grained sleeps in a row, at least one of them will fall
3115 # entirely within a coarse interval.
3116 echo alpha > conftest.ts1
3117 sleep $am_try_res
3118 echo beta > conftest.ts2
3119 sleep $am_try_res
3120 echo gamma > conftest.ts3
3121
3122 # We assume that 'ls -t' will make use of high-resolution
3123 # timestamps if the operating system supports them at all.
3124 if (set X `ls -t conftest.ts?` &&
3125 test "$2" = conftest.ts3 &&
3126 test "$3" = conftest.ts2 &&
3127 test "$4" = conftest.ts1); then
3128 #
3129 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3130 # because we don't need to test make.
3131 make_ok=true
3132 if test $am_try_res != 1; then
3133 # But if we've succeeded so far with a subsecond resolution, we
3134 # have one more thing to check: make. It can happen that
3135 # everything else supports the subsecond mtimes, but make doesn't;
3136 # notably on macOS, which ships make 3.81 from 2006 (the last one
3137 # released under GPLv2). https://bugs.gnu.org/68808
3138 #
3139 # We test $MAKE if it is defined in the environment, else "make".
3140 # It might get overridden later, but our hope is that in practice
3141 # it does not matter: it is the system "make" which is (by far)
3142 # the most likely to be broken, whereas if the user overrides it,
3143 # probably they did so with a better, or at least not worse, make.
3144 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3145 #
3146 # Create a Makefile (real tab character here):
3147 rm -f conftest.mk
3148 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3149 echo ' touch conftest.ts2' >>conftest.mk
3150 #
3151 # Now, running
3152 # touch conftest.ts1; touch conftest.ts2; make
3153 # should touch ts1 because ts2 is newer. This could happen by luck,
3154 # but most often, it will fail if make's support is insufficient. So
3155 # test for several consecutive successes.
3156 #
3157 # (We reuse conftest.ts[12] because we still want to modify existing
3158 # files, not create new ones, per above.)
3159 n=0
3160 make=${MAKE-make}
3161 until test $n -eq 3; do
3162 echo one > conftest.ts1
3163 sleep $am_try_res
3164 echo two > conftest.ts2 # ts2 should now be newer than ts1
3165 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3166 make_ok=false
3167 break # out of $n loop
3168 fi
3169 n=`expr $n + 1`
3170 done
3171 fi
3172 #
3173 if $make_ok; then
3174 # Everything we know to check worked out, so call this resolution good.
3175 am_cv_filesystem_timestamp_resolution=$am_try_res
3176 break # out of $am_try_res loop
3177 fi
3178 # Otherwise, we'll go on to check the next resolution.
3179 fi
3180 done
3181 rm -f conftest.ts?
3182 # (end _am_filesystem_timestamp_resolution)
3183 ;;
3184 esac
3185 fi
3186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3187 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3188
3189 # This check should not be cached, as it may vary across builds of
3190 # different projects.
3191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3192 printf %s "checking whether build environment is sane... " >&6; }
3193 # Reject unsafe characters in $srcdir or the absolute working directory
3194 # name. Accept space and tab only in the latter.
3195 am_lf='
3196 '
3197 case `pwd` in
3198 *[\\\"\#\$\&\'\`$am_lf]*)
3199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 printf "%s\n" "no" >&6; }
3201 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3202 esac
3203 case $srcdir in
3204 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 printf "%s\n" "no" >&6; }
3207 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3208 esac
3209
3210 # Do 'set' in a subshell so we don't clobber the current shell's
3211 # arguments. Must try -L first in case configure is actually a
3212 # symlink; some systems play weird games with the mod time of symlinks
3213 # (eg FreeBSD returns the mod time of the symlink's containing
3214 # directory).
3215 am_build_env_is_sane=no
3216 am_has_slept=no
3217 rm -f conftest.file
3218 for am_try in 1 2; do
3219 echo "timestamp, slept: $am_has_slept" > conftest.file
3220 if (
3221 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3222 if test "$*" = "X"; then
3223 # -L didn't work.
3224 set X `ls -t "$srcdir/configure" conftest.file`
3225 fi
3226 test "$2" = conftest.file
3227 ); then
3228 am_build_env_is_sane=yes
3229 break
3230 fi
3231 # Just in case.
3232 sleep "$am_cv_filesystem_timestamp_resolution"
3233 am_has_slept=yes
3234 done
3235
3236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3237 printf "%s\n" "$am_build_env_is_sane" >&6; }
3238 if test "$am_build_env_is_sane" = no; then
3239 as_fn_error $? "newly created file is older than distributed files!
3240 Check your system clock" "$LINENO" 5
3241 fi
3242
3243 # If we didn't sleep, we still need to ensure time stamps of config.status and
3244 # generated files are strictly newer.
3245 am_sleep_pid=
3246 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3247 then :
3248
3249 else case e in #(
3250 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3251 am_sleep_pid=$!
3252 ;;
3253 esac
3254 fi
3255
3256 rm -f conftest.file
3257
3258 test "$program_prefix" != NONE &&
3259 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3260 # Use a double $ so make ignores it.
3261 test "$program_suffix" != NONE &&
3262 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3263 # Double any \ or $.
3264 # By default was 's,x,x', remove it if useless.
3265 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3266 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3267
3268
3269 # Expand $ac_aux_dir to an absolute path.
3270 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3271
3272
3273 if test x"${MISSING+set}" != xset; then
3274 MISSING="\${SHELL} '$am_aux_dir/missing'"
3275 fi
3276 # Use eval to expand $SHELL
3277 if eval "$MISSING --is-lightweight"; then
3278 am_missing_run="$MISSING "
3279 else
3280 am_missing_run=
3281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3282 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3283 fi
3284
3285 if test x"${install_sh+set}" != xset; then
3286 case $am_aux_dir in
3287 *\ * | *\ *)
3288 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3289 *)
3290 install_sh="\${SHELL} $am_aux_dir/install-sh"
3291 esac
3292 fi
3293
3294 # Installed binaries are usually stripped using 'strip' when the user
3295 # run "make install-strip". However 'strip' might not be the right
3296 # tool to use in cross-compilation environments, therefore Automake
3297 # will honor the 'STRIP' environment variable to overrule this program.
3298 if test "$cross_compiling" != no; then
3299 if test -n "$ac_tool_prefix"; then
3300 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3301 set dummy ${ac_tool_prefix}strip; ac_word=$2
3302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303 printf %s "checking for $ac_word... " >&6; }
3304 if test ${ac_cv_prog_STRIP+y}
3305 then :
3306 printf %s "(cached) " >&6
3307 else case e in #(
3308 e) if test -n "$STRIP"; then
3309 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3310 else
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 for as_dir in $PATH
3313 do
3314 IFS=$as_save_IFS
3315 case $as_dir in #(((
3316 '') as_dir=./ ;;
3317 */) ;;
3318 *) as_dir=$as_dir/ ;;
3319 esac
3320 for ac_exec_ext in '' $ac_executable_extensions; do
3321 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3322 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3324 break 2
3325 fi
3326 done
3327 done
3328 IFS=$as_save_IFS
3329
3330 fi ;;
3331 esac
3332 fi
3333 STRIP=$ac_cv_prog_STRIP
3334 if test -n "$STRIP"; then
3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3336 printf "%s\n" "$STRIP" >&6; }
3337 else
3338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 printf "%s\n" "no" >&6; }
3340 fi
3341
3342
3343 fi
3344 if test -z "$ac_cv_prog_STRIP"; then
3345 ac_ct_STRIP=$STRIP
3346 # Extract the first word of "strip", so it can be a program name with args.
3347 set dummy strip; ac_word=$2
3348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3349 printf %s "checking for $ac_word... " >&6; }
3350 if test ${ac_cv_prog_ac_ct_STRIP+y}
3351 then :
3352 printf %s "(cached) " >&6
3353 else case e in #(
3354 e) if test -n "$ac_ct_STRIP"; then
3355 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3359 do
3360 IFS=$as_save_IFS
3361 case $as_dir in #(((
3362 '') as_dir=./ ;;
3363 */) ;;
3364 *) as_dir=$as_dir/ ;;
3365 esac
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3368 ac_cv_prog_ac_ct_STRIP="strip"
3369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3370 break 2
3371 fi
3372 done
3373 done
3374 IFS=$as_save_IFS
3375
3376 fi ;;
3377 esac
3378 fi
3379 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3380 if test -n "$ac_ct_STRIP"; then
3381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3382 printf "%s\n" "$ac_ct_STRIP" >&6; }
3383 else
3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 printf "%s\n" "no" >&6; }
3386 fi
3387
3388 if test "x$ac_ct_STRIP" = x; then
3389 STRIP=":"
3390 else
3391 case $cross_compiling:$ac_tool_warned in
3392 yes:)
3393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3394 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3395 ac_tool_warned=yes ;;
3396 esac
3397 STRIP=$ac_ct_STRIP
3398 fi
3399 else
3400 STRIP="$ac_cv_prog_STRIP"
3401 fi
3402
3403 fi
3404 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3405
3406
3407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3408 printf %s "checking for a race-free mkdir -p... " >&6; }
3409 if test -z "$MKDIR_P"; then
3410 if test ${ac_cv_path_mkdir+y}
3411 then :
3412 printf %s "(cached) " >&6
3413 else case e in #(
3414 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3416 do
3417 IFS=$as_save_IFS
3418 case $as_dir in #(((
3419 '') as_dir=./ ;;
3420 */) ;;
3421 *) as_dir=$as_dir/ ;;
3422 esac
3423 for ac_prog in mkdir gmkdir; do
3424 for ac_exec_ext in '' $ac_executable_extensions; do
3425 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3426 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3427 'mkdir ('*'coreutils) '* | \
3428 *'BusyBox '* | \
3429 'mkdir (fileutils) '4.1*)
3430 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3431 break 3;;
3432 esac
3433 done
3434 done
3435 done
3436 IFS=$as_save_IFS
3437 ;;
3438 esac
3439 fi
3440
3441 test -d ./--version && rmdir ./--version
3442 if test ${ac_cv_path_mkdir+y}; then
3443 MKDIR_P="$ac_cv_path_mkdir -p"
3444 else
3445 # As a last resort, use plain mkdir -p,
3446 # in the hope it doesn't have the bugs of ancient mkdir.
3447 MKDIR_P='mkdir -p'
3448 fi
3449 fi
3450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3451 printf "%s\n" "$MKDIR_P" >&6; }
3452
3453 for ac_prog in gawk mawk nawk awk
3454 do
3455 # Extract the first word of "$ac_prog", so it can be a program name with args.
3456 set dummy $ac_prog; ac_word=$2
3457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 printf %s "checking for $ac_word... " >&6; }
3459 if test ${ac_cv_prog_AWK+y}
3460 then :
3461 printf %s "(cached) " >&6
3462 else case e in #(
3463 e) if test -n "$AWK"; then
3464 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3465 else
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 for as_dir in $PATH
3468 do
3469 IFS=$as_save_IFS
3470 case $as_dir in #(((
3471 '') as_dir=./ ;;
3472 */) ;;
3473 *) as_dir=$as_dir/ ;;
3474 esac
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3477 ac_cv_prog_AWK="$ac_prog"
3478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3479 break 2
3480 fi
3481 done
3482 done
3483 IFS=$as_save_IFS
3484
3485 fi ;;
3486 esac
3487 fi
3488 AWK=$ac_cv_prog_AWK
3489 if test -n "$AWK"; then
3490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3491 printf "%s\n" "$AWK" >&6; }
3492 else
3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 printf "%s\n" "no" >&6; }
3495 fi
3496
3497
3498 test -n "$AWK" && break
3499 done
3500
3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3502 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3503 set x ${MAKE-make}
3504 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3505 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3506 then :
3507 printf %s "(cached) " >&6
3508 else case e in #(
3509 e) cat >conftest.make <<\_ACEOF
3510 SHELL = /bin/sh
3511 all:
3512 @echo '@@@%%%=$(MAKE)=@@@%%%'
3513 _ACEOF
3514 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3515 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3516 *@@@%%%=?*=@@@%%%*)
3517 eval ac_cv_prog_make_${ac_make}_set=yes;;
3518 *)
3519 eval ac_cv_prog_make_${ac_make}_set=no;;
3520 esac
3521 rm -f conftest.make ;;
3522 esac
3523 fi
3524 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3526 printf "%s\n" "yes" >&6; }
3527 SET_MAKE=
3528 else
3529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 printf "%s\n" "no" >&6; }
3531 SET_MAKE="MAKE=${MAKE-make}"
3532 fi
3533
3534 rm -rf .tst 2>/dev/null
3535 mkdir .tst 2>/dev/null
3536 if test -d .tst; then
3537 am__leading_dot=.
3538 else
3539 am__leading_dot=_
3540 fi
3541 rmdir .tst 2>/dev/null
3542
3543 AM_DEFAULT_VERBOSITY=1
3544 # Check whether --enable-silent-rules was given.
3545 if test ${enable_silent_rules+y}
3546 then :
3547 enableval=$enable_silent_rules;
3548 fi
3549
3550 am_make=${MAKE-make}
3551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3552 printf %s "checking whether $am_make supports nested variables... " >&6; }
3553 if test ${am_cv_make_support_nested_variables+y}
3554 then :
3555 printf %s "(cached) " >&6
3556 else case e in #(
3557 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3558 BAR0=false
3559 BAR1=true
3560 V=1
3561 am__doit:
3562 @$(TRUE)
3563 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3564 am_cv_make_support_nested_variables=yes
3565 else
3566 am_cv_make_support_nested_variables=no
3567 fi ;;
3568 esac
3569 fi
3570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3571 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3572 AM_BACKSLASH='\'
3573
3574 am__rm_f_notfound=
3575 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3576 then :
3577
3578 else case e in #(
3579 e) am__rm_f_notfound='""' ;;
3580 esac
3581 fi
3582
3583
3584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3585 printf %s "checking xargs -n works... " >&6; }
3586 if test ${am_cv_xargs_n_works+y}
3587 then :
3588 printf %s "(cached) " >&6
3589 else case e in #(
3590 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3591 3"
3592 then :
3593 am_cv_xargs_n_works=yes
3594 else case e in #(
3595 e) am_cv_xargs_n_works=no ;;
3596 esac
3597 fi ;;
3598 esac
3599 fi
3600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3601 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3602 if test "$am_cv_xargs_n_works" = yes
3603 then :
3604 am__xargs_n='xargs -n'
3605 else case e in #(
3606 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3607 ;;
3608 esac
3609 fi
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620 DEPDIR="${am__leading_dot}deps"
3621
3622 ac_config_commands="$ac_config_commands depfiles"
3623
3624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3625 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3626 cat > confinc.mk << 'END'
3627 am__doit:
3628 @echo this is the am__doit target >confinc.out
3629 .PHONY: am__doit
3630 END
3631 am__include="#"
3632 am__quote=
3633 # BSD make does it like this.
3634 echo '.include "confinc.mk" # ignored' > confmf.BSD
3635 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3636 echo 'include confinc.mk # ignored' > confmf.GNU
3637 _am_result=no
3638 for s in GNU BSD; do
3639 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3640 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3641 ac_status=$?
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); }
3644 case $?:`cat confinc.out 2>/dev/null` in #(
3645 '0:this is the am__doit target') :
3646 case $s in #(
3647 BSD) :
3648 am__include='.include' am__quote='"' ;; #(
3649 *) :
3650 am__include='include' am__quote='' ;;
3651 esac ;; #(
3652 *) :
3653 ;;
3654 esac
3655 if test "$am__include" != "#"; then
3656 _am_result="yes ($s style)"
3657 break
3658 fi
3659 done
3660 rm -f confinc.* confmf.*
3661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3662 printf "%s\n" "${_am_result}" >&6; }
3663
3664 # Check whether --enable-dependency-tracking was given.
3665 if test ${enable_dependency_tracking+y}
3666 then :
3667 enableval=$enable_dependency_tracking;
3668 fi
3669
3670 if test "x$enable_dependency_tracking" != xno; then
3671 am_depcomp="$ac_aux_dir/depcomp"
3672 AMDEPBACKSLASH='\'
3673 am__nodep='_no'
3674 fi
3675 if test "x$enable_dependency_tracking" != xno; then
3676 AMDEP_TRUE=
3677 AMDEP_FALSE='#'
3678 else
3679 AMDEP_TRUE='#'
3680 AMDEP_FALSE=
3681 fi
3682
3683
3684 ac_ext=c
3685 ac_cpp='$CPP $CPPFLAGS'
3686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3689 if test -n "$ac_tool_prefix"; then
3690 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3691 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 printf %s "checking for $ac_word... " >&6; }
3694 if test ${ac_cv_prog_CC+y}
3695 then :
3696 printf %s "(cached) " >&6
3697 else case e in #(
3698 e) if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704 IFS=$as_save_IFS
3705 case $as_dir in #(((
3706 '') as_dir=./ ;;
3707 */) ;;
3708 *) as_dir=$as_dir/ ;;
3709 esac
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3712 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3714 break 2
3715 fi
3716 done
3717 done
3718 IFS=$as_save_IFS
3719
3720 fi ;;
3721 esac
3722 fi
3723 CC=$ac_cv_prog_CC
3724 if test -n "$CC"; then
3725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 printf "%s\n" "$CC" >&6; }
3727 else
3728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 printf "%s\n" "no" >&6; }
3730 fi
3731
3732
3733 fi
3734 if test -z "$ac_cv_prog_CC"; then
3735 ac_ct_CC=$CC
3736 # Extract the first word of "gcc", so it can be a program name with args.
3737 set dummy gcc; ac_word=$2
3738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 printf %s "checking for $ac_word... " >&6; }
3740 if test ${ac_cv_prog_ac_ct_CC+y}
3741 then :
3742 printf %s "(cached) " >&6
3743 else case e in #(
3744 e) if test -n "$ac_ct_CC"; then
3745 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3749 do
3750 IFS=$as_save_IFS
3751 case $as_dir in #(((
3752 '') as_dir=./ ;;
3753 */) ;;
3754 *) as_dir=$as_dir/ ;;
3755 esac
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3758 ac_cv_prog_ac_ct_CC="gcc"
3759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3760 break 2
3761 fi
3762 done
3763 done
3764 IFS=$as_save_IFS
3765
3766 fi ;;
3767 esac
3768 fi
3769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3770 if test -n "$ac_ct_CC"; then
3771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3772 printf "%s\n" "$ac_ct_CC" >&6; }
3773 else
3774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 printf "%s\n" "no" >&6; }
3776 fi
3777
3778 if test "x$ac_ct_CC" = x; then
3779 CC=""
3780 else
3781 case $cross_compiling:$ac_tool_warned in
3782 yes:)
3783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3784 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3785 ac_tool_warned=yes ;;
3786 esac
3787 CC=$ac_ct_CC
3788 fi
3789 else
3790 CC="$ac_cv_prog_CC"
3791 fi
3792
3793 if test -z "$CC"; then
3794 if test -n "$ac_tool_prefix"; then
3795 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3796 set dummy ${ac_tool_prefix}cc; ac_word=$2
3797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 printf %s "checking for $ac_word... " >&6; }
3799 if test ${ac_cv_prog_CC+y}
3800 then :
3801 printf %s "(cached) " >&6
3802 else case e in #(
3803 e) if test -n "$CC"; then
3804 ac_cv_prog_CC="$CC" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3808 do
3809 IFS=$as_save_IFS
3810 case $as_dir in #(((
3811 '') as_dir=./ ;;
3812 */) ;;
3813 *) as_dir=$as_dir/ ;;
3814 esac
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_CC="${ac_tool_prefix}cc"
3818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3819 break 2
3820 fi
3821 done
3822 done
3823 IFS=$as_save_IFS
3824
3825 fi ;;
3826 esac
3827 fi
3828 CC=$ac_cv_prog_CC
3829 if test -n "$CC"; then
3830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3831 printf "%s\n" "$CC" >&6; }
3832 else
3833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 printf "%s\n" "no" >&6; }
3835 fi
3836
3837
3838 fi
3839 fi
3840 if test -z "$CC"; then
3841 # Extract the first word of "cc", so it can be a program name with args.
3842 set dummy cc; ac_word=$2
3843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 printf %s "checking for $ac_word... " >&6; }
3845 if test ${ac_cv_prog_CC+y}
3846 then :
3847 printf %s "(cached) " >&6
3848 else case e in #(
3849 e) if test -n "$CC"; then
3850 ac_cv_prog_CC="$CC" # Let the user override the test.
3851 else
3852 ac_prog_rejected=no
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH
3855 do
3856 IFS=$as_save_IFS
3857 case $as_dir in #(((
3858 '') as_dir=./ ;;
3859 */) ;;
3860 *) as_dir=$as_dir/ ;;
3861 esac
3862 for ac_exec_ext in '' $ac_executable_extensions; do
3863 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3864 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3865 ac_prog_rejected=yes
3866 continue
3867 fi
3868 ac_cv_prog_CC="cc"
3869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3870 break 2
3871 fi
3872 done
3873 done
3874 IFS=$as_save_IFS
3875
3876 if test $ac_prog_rejected = yes; then
3877 # We found a bogon in the path, so make sure we never use it.
3878 set dummy $ac_cv_prog_CC
3879 shift
3880 if test $# != 0; then
3881 # We chose a different compiler from the bogus one.
3882 # However, it has the same basename, so the bogon will be chosen
3883 # first if we set CC to just the basename; use the full file name.
3884 shift
3885 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3886 fi
3887 fi
3888 fi ;;
3889 esac
3890 fi
3891 CC=$ac_cv_prog_CC
3892 if test -n "$CC"; then
3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3894 printf "%s\n" "$CC" >&6; }
3895 else
3896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 printf "%s\n" "no" >&6; }
3898 fi
3899
3900
3901 fi
3902 if test -z "$CC"; then
3903 if test -n "$ac_tool_prefix"; then
3904 for ac_prog in cl.exe
3905 do
3906 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3907 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 printf %s "checking for $ac_word... " >&6; }
3910 if test ${ac_cv_prog_CC+y}
3911 then :
3912 printf %s "(cached) " >&6
3913 else case e in #(
3914 e) if test -n "$CC"; then
3915 ac_cv_prog_CC="$CC" # Let the user override the test.
3916 else
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH
3919 do
3920 IFS=$as_save_IFS
3921 case $as_dir in #(((
3922 '') as_dir=./ ;;
3923 */) ;;
3924 *) as_dir=$as_dir/ ;;
3925 esac
3926 for ac_exec_ext in '' $ac_executable_extensions; do
3927 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3928 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3930 break 2
3931 fi
3932 done
3933 done
3934 IFS=$as_save_IFS
3935
3936 fi ;;
3937 esac
3938 fi
3939 CC=$ac_cv_prog_CC
3940 if test -n "$CC"; then
3941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3942 printf "%s\n" "$CC" >&6; }
3943 else
3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 printf "%s\n" "no" >&6; }
3946 fi
3947
3948
3949 test -n "$CC" && break
3950 done
3951 fi
3952 if test -z "$CC"; then
3953 ac_ct_CC=$CC
3954 for ac_prog in cl.exe
3955 do
3956 # Extract the first word of "$ac_prog", so it can be a program name with args.
3957 set dummy $ac_prog; ac_word=$2
3958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3959 printf %s "checking for $ac_word... " >&6; }
3960 if test ${ac_cv_prog_ac_ct_CC+y}
3961 then :
3962 printf %s "(cached) " >&6
3963 else case e in #(
3964 e) if test -n "$ac_ct_CC"; then
3965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3966 else
3967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968 for as_dir in $PATH
3969 do
3970 IFS=$as_save_IFS
3971 case $as_dir in #(((
3972 '') as_dir=./ ;;
3973 */) ;;
3974 *) as_dir=$as_dir/ ;;
3975 esac
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_ac_ct_CC="$ac_prog"
3979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3980 break 2
3981 fi
3982 done
3983 done
3984 IFS=$as_save_IFS
3985
3986 fi ;;
3987 esac
3988 fi
3989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3990 if test -n "$ac_ct_CC"; then
3991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3992 printf "%s\n" "$ac_ct_CC" >&6; }
3993 else
3994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 printf "%s\n" "no" >&6; }
3996 fi
3997
3998
3999 test -n "$ac_ct_CC" && break
4000 done
4001
4002 if test "x$ac_ct_CC" = x; then
4003 CC=""
4004 else
4005 case $cross_compiling:$ac_tool_warned in
4006 yes:)
4007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4008 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4009 ac_tool_warned=yes ;;
4010 esac
4011 CC=$ac_ct_CC
4012 fi
4013 fi
4014
4015 fi
4016 if test -z "$CC"; then
4017 if test -n "$ac_tool_prefix"; then
4018 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4019 set dummy ${ac_tool_prefix}clang; ac_word=$2
4020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 printf %s "checking for $ac_word... " >&6; }
4022 if test ${ac_cv_prog_CC+y}
4023 then :
4024 printf %s "(cached) " >&6
4025 else case e in #(
4026 e) if test -n "$CC"; then
4027 ac_cv_prog_CC="$CC" # Let the user override the test.
4028 else
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 for as_dir in $PATH
4031 do
4032 IFS=$as_save_IFS
4033 case $as_dir in #(((
4034 '') as_dir=./ ;;
4035 */) ;;
4036 *) as_dir=$as_dir/ ;;
4037 esac
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_CC="${ac_tool_prefix}clang"
4041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4042 break 2
4043 fi
4044 done
4045 done
4046 IFS=$as_save_IFS
4047
4048 fi ;;
4049 esac
4050 fi
4051 CC=$ac_cv_prog_CC
4052 if test -n "$CC"; then
4053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4054 printf "%s\n" "$CC" >&6; }
4055 else
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 printf "%s\n" "no" >&6; }
4058 fi
4059
4060
4061 fi
4062 if test -z "$ac_cv_prog_CC"; then
4063 ac_ct_CC=$CC
4064 # Extract the first word of "clang", so it can be a program name with args.
4065 set dummy clang; ac_word=$2
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4067 printf %s "checking for $ac_word... " >&6; }
4068 if test ${ac_cv_prog_ac_ct_CC+y}
4069 then :
4070 printf %s "(cached) " >&6
4071 else case e in #(
4072 e) if test -n "$ac_ct_CC"; then
4073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4074 else
4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 for as_dir in $PATH
4077 do
4078 IFS=$as_save_IFS
4079 case $as_dir in #(((
4080 '') as_dir=./ ;;
4081 */) ;;
4082 *) as_dir=$as_dir/ ;;
4083 esac
4084 for ac_exec_ext in '' $ac_executable_extensions; do
4085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4086 ac_cv_prog_ac_ct_CC="clang"
4087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4088 break 2
4089 fi
4090 done
4091 done
4092 IFS=$as_save_IFS
4093
4094 fi ;;
4095 esac
4096 fi
4097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4098 if test -n "$ac_ct_CC"; then
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4100 printf "%s\n" "$ac_ct_CC" >&6; }
4101 else
4102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 printf "%s\n" "no" >&6; }
4104 fi
4105
4106 if test "x$ac_ct_CC" = x; then
4107 CC=""
4108 else
4109 case $cross_compiling:$ac_tool_warned in
4110 yes:)
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4112 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4113 ac_tool_warned=yes ;;
4114 esac
4115 CC=$ac_ct_CC
4116 fi
4117 else
4118 CC="$ac_cv_prog_CC"
4119 fi
4120
4121 fi
4122
4123
4124 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4125 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4126 as_fn_error $? "no acceptable C compiler found in \$PATH
4127 See 'config.log' for more details" "$LINENO" 5; }
4128
4129 # Provide some information about the compiler.
4130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4131 set X $ac_compile
4132 ac_compiler=$2
4133 for ac_option in --version -v -V -qversion -version; do
4134 { { ac_try="$ac_compiler $ac_option >&5"
4135 case "(($ac_try" in
4136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137 *) ac_try_echo=$ac_try;;
4138 esac
4139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4140 printf "%s\n" "$ac_try_echo"; } >&5
4141 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4142 ac_status=$?
4143 if test -s conftest.err; then
4144 sed '10a\
4145 ... rest of stderr output deleted ...
4146 10q' conftest.err >conftest.er1
4147 cat conftest.er1 >&5
4148 fi
4149 rm -f conftest.er1 conftest.err
4150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151 test $ac_status = 0; }
4152 done
4153
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4156
4157 int
4158 main (void)
4159 {
4160
4161 ;
4162 return 0;
4163 }
4164 _ACEOF
4165 ac_clean_files_save=$ac_clean_files
4166 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4167 # Try to create an executable without -o first, disregard a.out.
4168 # It will help us diagnose broken compilers, and finding out an intuition
4169 # of exeext.
4170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4171 printf %s "checking whether the C compiler works... " >&6; }
4172 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4173
4174 # The possible output files:
4175 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4176
4177 ac_rmfiles=
4178 for ac_file in $ac_files
4179 do
4180 case $ac_file in
4181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4182 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4183 esac
4184 done
4185 rm -f $ac_rmfiles
4186
4187 if { { ac_try="$ac_link_default"
4188 case "(($ac_try" in
4189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190 *) ac_try_echo=$ac_try;;
4191 esac
4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193 printf "%s\n" "$ac_try_echo"; } >&5
4194 (eval "$ac_link_default") 2>&5
4195 ac_status=$?
4196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }
4198 then :
4199 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4200 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4201 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4202 # so that the user can short-circuit this test for compilers unknown to
4203 # Autoconf.
4204 for ac_file in $ac_files ''
4205 do
4206 test -f "$ac_file" || continue
4207 case $ac_file in
4208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4209 ;;
4210 [ab].out )
4211 # We found the default executable, but exeext='' is most
4212 # certainly right.
4213 break;;
4214 *.* )
4215 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4216 then :; else
4217 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4218 fi
4219 # We set ac_cv_exeext here because the later test for it is not
4220 # safe: cross compilers may not add the suffix if given an '-o'
4221 # argument, so we may need to know it at that point already.
4222 # Even if this section looks crufty: it has the advantage of
4223 # actually working.
4224 break;;
4225 * )
4226 break;;
4227 esac
4228 done
4229 test "$ac_cv_exeext" = no && ac_cv_exeext=
4230
4231 else case e in #(
4232 e) ac_file='' ;;
4233 esac
4234 fi
4235 if test -z "$ac_file"
4236 then :
4237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 printf "%s\n" "no" >&6; }
4239 printf "%s\n" "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4241
4242 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4243 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4244 as_fn_error 77 "C compiler cannot create executables
4245 See 'config.log' for more details" "$LINENO" 5; }
4246 else case e in #(
4247 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4248 printf "%s\n" "yes" >&6; } ;;
4249 esac
4250 fi
4251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4252 printf %s "checking for C compiler default output file name... " >&6; }
4253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4254 printf "%s\n" "$ac_file" >&6; }
4255 ac_exeext=$ac_cv_exeext
4256
4257 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4258 ac_clean_files=$ac_clean_files_save
4259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4260 printf %s "checking for suffix of executables... " >&6; }
4261 if { { ac_try="$ac_link"
4262 case "(($ac_try" in
4263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4264 *) ac_try_echo=$ac_try;;
4265 esac
4266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4267 printf "%s\n" "$ac_try_echo"; } >&5
4268 (eval "$ac_link") 2>&5
4269 ac_status=$?
4270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4271 test $ac_status = 0; }
4272 then :
4273 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4274 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4275 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4276 # 'rm'.
4277 for ac_file in conftest.exe conftest conftest.*; do
4278 test -f "$ac_file" || continue
4279 case $ac_file in
4280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4281 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4282 break;;
4283 * ) break;;
4284 esac
4285 done
4286 else case e in #(
4287 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4288 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4289 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4290 See 'config.log' for more details" "$LINENO" 5; } ;;
4291 esac
4292 fi
4293 rm -f conftest conftest$ac_cv_exeext
4294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4295 printf "%s\n" "$ac_cv_exeext" >&6; }
4296
4297 rm -f conftest.$ac_ext
4298 EXEEXT=$ac_cv_exeext
4299 ac_exeext=$EXEEXT
4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4302 #include <stdio.h>
4303 int
4304 main (void)
4305 {
4306 FILE *f = fopen ("conftest.out", "w");
4307 if (!f)
4308 return 1;
4309 return ferror (f) || fclose (f) != 0;
4310
4311 ;
4312 return 0;
4313 }
4314 _ACEOF
4315 ac_clean_files="$ac_clean_files conftest.out"
4316 # Check that the compiler produces executables we can run. If not, either
4317 # the compiler is broken, or we cross compile.
4318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4319 printf %s "checking whether we are cross compiling... " >&6; }
4320 if test "$cross_compiling" != yes; then
4321 { { ac_try="$ac_link"
4322 case "(($ac_try" in
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4325 esac
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 printf "%s\n" "$ac_try_echo"; } >&5
4328 (eval "$ac_link") 2>&5
4329 ac_status=$?
4330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }
4332 if { ac_try='./conftest$ac_cv_exeext'
4333 { { case "(($ac_try" in
4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335 *) ac_try_echo=$ac_try;;
4336 esac
4337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4338 printf "%s\n" "$ac_try_echo"; } >&5
4339 (eval "$ac_try") 2>&5
4340 ac_status=$?
4341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; }; }; then
4343 cross_compiling=no
4344 else
4345 if test "$cross_compiling" = maybe; then
4346 cross_compiling=yes
4347 else
4348 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4349 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4350 as_fn_error 77 "cannot run C compiled programs.
4351 If you meant to cross compile, use '--host'.
4352 See 'config.log' for more details" "$LINENO" 5; }
4353 fi
4354 fi
4355 fi
4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4357 printf "%s\n" "$cross_compiling" >&6; }
4358
4359 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4360 conftest.o conftest.obj conftest.out
4361 ac_clean_files=$ac_clean_files_save
4362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4363 printf %s "checking for suffix of object files... " >&6; }
4364 if test ${ac_cv_objext+y}
4365 then :
4366 printf %s "(cached) " >&6
4367 else case e in #(
4368 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4370
4371 int
4372 main (void)
4373 {
4374
4375 ;
4376 return 0;
4377 }
4378 _ACEOF
4379 rm -f conftest.o conftest.obj
4380 if { { ac_try="$ac_compile"
4381 case "(($ac_try" in
4382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4383 *) ac_try_echo=$ac_try;;
4384 esac
4385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4386 printf "%s\n" "$ac_try_echo"; } >&5
4387 (eval "$ac_compile") 2>&5
4388 ac_status=$?
4389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4390 test $ac_status = 0; }
4391 then :
4392 for ac_file in conftest.o conftest.obj conftest.*; do
4393 test -f "$ac_file" || continue;
4394 case $ac_file in
4395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4396 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4397 break;;
4398 esac
4399 done
4400 else case e in #(
4401 e) printf "%s\n" "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.$ac_ext >&5
4403
4404 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4405 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4406 as_fn_error $? "cannot compute suffix of object files: cannot compile
4407 See 'config.log' for more details" "$LINENO" 5; } ;;
4408 esac
4409 fi
4410 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4411 esac
4412 fi
4413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4414 printf "%s\n" "$ac_cv_objext" >&6; }
4415 OBJEXT=$ac_cv_objext
4416 ac_objext=$OBJEXT
4417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4418 printf %s "checking whether the compiler supports GNU C... " >&6; }
4419 if test ${ac_cv_c_compiler_gnu+y}
4420 then :
4421 printf %s "(cached) " >&6
4422 else case e in #(
4423 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4425
4426 int
4427 main (void)
4428 {
4429 #ifndef __GNUC__
4430 choke me
4431 #endif
4432
4433 ;
4434 return 0;
4435 }
4436 _ACEOF
4437 if ac_fn_c_try_compile "$LINENO"
4438 then :
4439 ac_compiler_gnu=yes
4440 else case e in #(
4441 e) ac_compiler_gnu=no ;;
4442 esac
4443 fi
4444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4445 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4446 ;;
4447 esac
4448 fi
4449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4450 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4452
4453 if test $ac_compiler_gnu = yes; then
4454 GCC=yes
4455 else
4456 GCC=
4457 fi
4458 ac_test_CFLAGS=${CFLAGS+y}
4459 ac_save_CFLAGS=$CFLAGS
4460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4461 printf %s "checking whether $CC accepts -g... " >&6; }
4462 if test ${ac_cv_prog_cc_g+y}
4463 then :
4464 printf %s "(cached) " >&6
4465 else case e in #(
4466 e) ac_save_c_werror_flag=$ac_c_werror_flag
4467 ac_c_werror_flag=yes
4468 ac_cv_prog_cc_g=no
4469 CFLAGS="-g"
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4472
4473 int
4474 main (void)
4475 {
4476
4477 ;
4478 return 0;
4479 }
4480 _ACEOF
4481 if ac_fn_c_try_compile "$LINENO"
4482 then :
4483 ac_cv_prog_cc_g=yes
4484 else case e in #(
4485 e) CFLAGS=""
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4488
4489 int
4490 main (void)
4491 {
4492
4493 ;
4494 return 0;
4495 }
4496 _ACEOF
4497 if ac_fn_c_try_compile "$LINENO"
4498 then :
4499
4500 else case e in #(
4501 e) ac_c_werror_flag=$ac_save_c_werror_flag
4502 CFLAGS="-g"
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4505
4506 int
4507 main (void)
4508 {
4509
4510 ;
4511 return 0;
4512 }
4513 _ACEOF
4514 if ac_fn_c_try_compile "$LINENO"
4515 then :
4516 ac_cv_prog_cc_g=yes
4517 fi
4518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4519 esac
4520 fi
4521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4522 esac
4523 fi
4524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4525 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4526 esac
4527 fi
4528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4529 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4530 if test $ac_test_CFLAGS; then
4531 CFLAGS=$ac_save_CFLAGS
4532 elif test $ac_cv_prog_cc_g = yes; then
4533 if test "$GCC" = yes; then
4534 CFLAGS="-g -O2"
4535 else
4536 CFLAGS="-g"
4537 fi
4538 else
4539 if test "$GCC" = yes; then
4540 CFLAGS="-O2"
4541 else
4542 CFLAGS=
4543 fi
4544 fi
4545 ac_prog_cc_stdc=no
4546 if test x$ac_prog_cc_stdc = xno
4547 then :
4548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4549 printf %s "checking for $CC option to enable C11 features... " >&6; }
4550 if test ${ac_cv_prog_cc_c11+y}
4551 then :
4552 printf %s "(cached) " >&6
4553 else case e in #(
4554 e) ac_cv_prog_cc_c11=no
4555 ac_save_CC=$CC
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4558 $ac_c_conftest_c11_program
4559 _ACEOF
4560 for ac_arg in '' -std=gnu11
4561 do
4562 CC="$ac_save_CC $ac_arg"
4563 if ac_fn_c_try_compile "$LINENO"
4564 then :
4565 ac_cv_prog_cc_c11=$ac_arg
4566 fi
4567 rm -f core conftest.err conftest.$ac_objext conftest.beam
4568 test "x$ac_cv_prog_cc_c11" != "xno" && break
4569 done
4570 rm -f conftest.$ac_ext
4571 CC=$ac_save_CC ;;
4572 esac
4573 fi
4574
4575 if test "x$ac_cv_prog_cc_c11" = xno
4576 then :
4577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4578 printf "%s\n" "unsupported" >&6; }
4579 else case e in #(
4580 e) if test "x$ac_cv_prog_cc_c11" = x
4581 then :
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4583 printf "%s\n" "none needed" >&6; }
4584 else case e in #(
4585 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4586 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4587 CC="$CC $ac_cv_prog_cc_c11" ;;
4588 esac
4589 fi
4590 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4591 ac_prog_cc_stdc=c11 ;;
4592 esac
4593 fi
4594 fi
4595 if test x$ac_prog_cc_stdc = xno
4596 then :
4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4598 printf %s "checking for $CC option to enable C99 features... " >&6; }
4599 if test ${ac_cv_prog_cc_c99+y}
4600 then :
4601 printf %s "(cached) " >&6
4602 else case e in #(
4603 e) ac_cv_prog_cc_c99=no
4604 ac_save_CC=$CC
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4607 $ac_c_conftest_c99_program
4608 _ACEOF
4609 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4610 do
4611 CC="$ac_save_CC $ac_arg"
4612 if ac_fn_c_try_compile "$LINENO"
4613 then :
4614 ac_cv_prog_cc_c99=$ac_arg
4615 fi
4616 rm -f core conftest.err conftest.$ac_objext conftest.beam
4617 test "x$ac_cv_prog_cc_c99" != "xno" && break
4618 done
4619 rm -f conftest.$ac_ext
4620 CC=$ac_save_CC ;;
4621 esac
4622 fi
4623
4624 if test "x$ac_cv_prog_cc_c99" = xno
4625 then :
4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4627 printf "%s\n" "unsupported" >&6; }
4628 else case e in #(
4629 e) if test "x$ac_cv_prog_cc_c99" = x
4630 then :
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4632 printf "%s\n" "none needed" >&6; }
4633 else case e in #(
4634 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4635 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4636 CC="$CC $ac_cv_prog_cc_c99" ;;
4637 esac
4638 fi
4639 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4640 ac_prog_cc_stdc=c99 ;;
4641 esac
4642 fi
4643 fi
4644 if test x$ac_prog_cc_stdc = xno
4645 then :
4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4647 printf %s "checking for $CC option to enable C89 features... " >&6; }
4648 if test ${ac_cv_prog_cc_c89+y}
4649 then :
4650 printf %s "(cached) " >&6
4651 else case e in #(
4652 e) ac_cv_prog_cc_c89=no
4653 ac_save_CC=$CC
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4656 $ac_c_conftest_c89_program
4657 _ACEOF
4658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4659 do
4660 CC="$ac_save_CC $ac_arg"
4661 if ac_fn_c_try_compile "$LINENO"
4662 then :
4663 ac_cv_prog_cc_c89=$ac_arg
4664 fi
4665 rm -f core conftest.err conftest.$ac_objext conftest.beam
4666 test "x$ac_cv_prog_cc_c89" != "xno" && break
4667 done
4668 rm -f conftest.$ac_ext
4669 CC=$ac_save_CC ;;
4670 esac
4671 fi
4672
4673 if test "x$ac_cv_prog_cc_c89" = xno
4674 then :
4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4676 printf "%s\n" "unsupported" >&6; }
4677 else case e in #(
4678 e) if test "x$ac_cv_prog_cc_c89" = x
4679 then :
4680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4681 printf "%s\n" "none needed" >&6; }
4682 else case e in #(
4683 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4684 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4685 CC="$CC $ac_cv_prog_cc_c89" ;;
4686 esac
4687 fi
4688 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4689 ac_prog_cc_stdc=c89 ;;
4690 esac
4691 fi
4692 fi
4693
4694 ac_ext=c
4695 ac_cpp='$CPP $CPPFLAGS'
4696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4699
4700
4701 ac_ext=c
4702 ac_cpp='$CPP $CPPFLAGS'
4703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4707 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4708 if test ${am_cv_prog_cc_c_o+y}
4709 then :
4710 printf %s "(cached) " >&6
4711 else case e in #(
4712 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714
4715 int
4716 main (void)
4717 {
4718
4719 ;
4720 return 0;
4721 }
4722 _ACEOF
4723 # Make sure it works both with $CC and with simple cc.
4724 # Following AC_PROG_CC_C_O, we do the test twice because some
4725 # compilers refuse to overwrite an existing .o file with -o,
4726 # though they will create one.
4727 am_cv_prog_cc_c_o=yes
4728 for am_i in 1 2; do
4729 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4730 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4731 ac_status=$?
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } \
4734 && test -f conftest2.$ac_objext; then
4735 : OK
4736 else
4737 am_cv_prog_cc_c_o=no
4738 break
4739 fi
4740 done
4741 # aligned with autoconf, so not including core; see bug#72225.
4742 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4743 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4744 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4745 unset am_i ;;
4746 esac
4747 fi
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4749 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4750 if test "$am_cv_prog_cc_c_o" != yes; then
4751 # Losing compiler, so override with the script.
4752 # FIXME: It is wrong to rewrite CC.
4753 # But if we don't then we get into trouble of one sort or another.
4754 # A longer-term fix would be to have automake use am__CC in this case,
4755 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4756 CC="$am_aux_dir/compile $CC"
4757 fi
4758 ac_ext=c
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763
4764
4765 depcc="$CC" am_compiler_list=
4766
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4768 printf %s "checking dependency style of $depcc... " >&6; }
4769 if test ${am_cv_CC_dependencies_compiler_type+y}
4770 then :
4771 printf %s "(cached) " >&6
4772 else case e in #(
4773 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4774 # We make a subdir and do the tests there. Otherwise we can end up
4775 # making bogus files that we don't know about and never remove. For
4776 # instance it was reported that on HP-UX the gcc test will end up
4777 # making a dummy file named 'D' -- because '-MD' means "put the output
4778 # in D".
4779 rm -rf conftest.dir
4780 mkdir conftest.dir
4781 # Copy depcomp to subdir because otherwise we won't find it if we're
4782 # using a relative directory.
4783 cp "$am_depcomp" conftest.dir
4784 cd conftest.dir
4785 # We will build objects and dependencies in a subdirectory because
4786 # it helps to detect inapplicable dependency modes. For instance
4787 # both Tru64's cc and ICC support -MD to output dependencies as a
4788 # side effect of compilation, but ICC will put the dependencies in
4789 # the current directory while Tru64 will put them in the object
4790 # directory.
4791 mkdir sub
4792
4793 am_cv_CC_dependencies_compiler_type=none
4794 if test "$am_compiler_list" = ""; then
4795 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4796 fi
4797 am__universal=false
4798 case " $depcc " in #(
4799 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4800 esac
4801
4802 for depmode in $am_compiler_list; do
4803 # Setup a source with many dependencies, because some compilers
4804 # like to wrap large dependency lists on column 80 (with \), and
4805 # we should not choose a depcomp mode which is confused by this.
4806 #
4807 # We need to recreate these files for each test, as the compiler may
4808 # overwrite some of them when testing with obscure command lines.
4809 # This happens at least with the AIX C compiler.
4810 : > sub/conftest.c
4811 for i in 1 2 3 4 5 6; do
4812 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4813 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4814 # Solaris 10 /bin/sh.
4815 echo '/* dummy */' > sub/conftst$i.h
4816 done
4817 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4818
4819 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4820 # mode. It turns out that the SunPro C++ compiler does not properly
4821 # handle '-M -o', and we need to detect this. Also, some Intel
4822 # versions had trouble with output in subdirs.
4823 am__obj=sub/conftest.${OBJEXT-o}
4824 am__minus_obj="-o $am__obj"
4825 case $depmode in
4826 gcc)
4827 # This depmode causes a compiler race in universal mode.
4828 test "$am__universal" = false || continue
4829 ;;
4830 nosideeffect)
4831 # After this tag, mechanisms are not by side-effect, so they'll
4832 # only be used when explicitly requested.
4833 if test "x$enable_dependency_tracking" = xyes; then
4834 continue
4835 else
4836 break
4837 fi
4838 ;;
4839 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4840 # This compiler won't grok '-c -o', but also, the minuso test has
4841 # not run yet. These depmodes are late enough in the game, and
4842 # so weak that their functioning should not be impacted.
4843 am__obj=conftest.${OBJEXT-o}
4844 am__minus_obj=
4845 ;;
4846 none) break ;;
4847 esac
4848 if depmode=$depmode \
4849 source=sub/conftest.c object=$am__obj \
4850 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4851 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4852 >/dev/null 2>conftest.err &&
4853 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4854 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4855 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4856 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4857 # icc doesn't choke on unknown options, it will just issue warnings
4858 # or remarks (even with -Werror). So we grep stderr for any message
4859 # that says an option was ignored or not supported.
4860 # When given -MP, icc 7.0 and 7.1 complain thus:
4861 # icc: Command line warning: ignoring option '-M'; no argument required
4862 # The diagnosis changed in icc 8.0:
4863 # icc: Command line remark: option '-MP' not supported
4864 if (grep 'ignoring option' conftest.err ||
4865 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4866 am_cv_CC_dependencies_compiler_type=$depmode
4867 break
4868 fi
4869 fi
4870 done
4871
4872 cd ..
4873 rm -rf conftest.dir
4874 else
4875 am_cv_CC_dependencies_compiler_type=none
4876 fi
4877 ;;
4878 esac
4879 fi
4880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4881 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4882 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4883
4884 if
4885 test "x$enable_dependency_tracking" != xno \
4886 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4887 am__fastdepCC_TRUE=
4888 am__fastdepCC_FALSE='#'
4889 else
4890 am__fastdepCC_TRUE='#'
4891 am__fastdepCC_FALSE=
4892 fi
4893
4894
4895
4896 ac_header= ac_cache=
4897 for ac_item in $ac_header_c_list
4898 do
4899 if test $ac_cache; then
4900 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4901 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4902 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4903 fi
4904 ac_header= ac_cache=
4905 elif test $ac_header; then
4906 ac_cache=$ac_item
4907 else
4908 ac_header=$ac_item
4909 fi
4910 done
4911
4912
4913
4914
4915
4916
4917
4918
4919 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4920 then :
4921
4922 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4923
4924 fi
4925
4926
4927
4928
4929
4930
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4932 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4933 if test ${ac_cv_safe_to_define___extensions__+y}
4934 then :
4935 printf %s "(cached) " >&6
4936 else case e in #(
4937 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4939
4940 # define __EXTENSIONS__ 1
4941 $ac_includes_default
4942 int
4943 main (void)
4944 {
4945
4946 ;
4947 return 0;
4948 }
4949 _ACEOF
4950 if ac_fn_c_try_compile "$LINENO"
4951 then :
4952 ac_cv_safe_to_define___extensions__=yes
4953 else case e in #(
4954 e) ac_cv_safe_to_define___extensions__=no ;;
4955 esac
4956 fi
4957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4958 esac
4959 fi
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4961 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4962
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4964 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4965 if test ${ac_cv_should_define__xopen_source+y}
4966 then :
4967 printf %s "(cached) " >&6
4968 else case e in #(
4969 e) ac_cv_should_define__xopen_source=no
4970 if test $ac_cv_header_wchar_h = yes
4971 then :
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4974
4975 #include <wchar.h>
4976 mbstate_t x;
4977 int
4978 main (void)
4979 {
4980
4981 ;
4982 return 0;
4983 }
4984 _ACEOF
4985 if ac_fn_c_try_compile "$LINENO"
4986 then :
4987
4988 else case e in #(
4989 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4991
4992 #define _XOPEN_SOURCE 500
4993 #include <wchar.h>
4994 mbstate_t x;
4995 int
4996 main (void)
4997 {
4998
4999 ;
5000 return 0;
5001 }
5002 _ACEOF
5003 if ac_fn_c_try_compile "$LINENO"
5004 then :
5005 ac_cv_should_define__xopen_source=yes
5006 fi
5007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5008 esac
5009 fi
5010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5011 fi ;;
5012 esac
5013 fi
5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5015 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5016
5017 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5018
5019 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5020
5021 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5022
5023 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5024
5025 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5026
5027 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5028
5029 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5030
5031 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5032
5033 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5034
5035 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5036
5037 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
5038
5039 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5040
5041 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5042
5043 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5044
5045 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5046
5047 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5048
5049 if test $ac_cv_header_minix_config_h = yes
5050 then :
5051 MINIX=yes
5052 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5053
5054 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5055
5056 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5057
5058 else case e in #(
5059 e) MINIX= ;;
5060 esac
5061 fi
5062 if test $ac_cv_safe_to_define___extensions__ = yes
5063 then :
5064 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5065
5066 fi
5067 if test $ac_cv_should_define__xopen_source = yes
5068 then :
5069 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5070
5071 fi
5072
5073 # Check whether --enable-compiler-warnings was given.
5074 if test ${enable_compiler_warnings+y}
5075 then :
5076 enableval=$enable_compiler_warnings;
5077 fi
5078 case $enable_compiler_warnings in #(
5079 no | min | yes | max | all) :
5080 ;; #(
5081 *) :
5082 if test "x$enable_maintainer_mode" = xyes
5083 then :
5084 enable_compiler_warnings=yes
5085 else case e in #(
5086 e) enable_compiler_warnings=min ;;
5087 esac
5088 fi ;;
5089 esac
5090
5091 case `pwd` in
5092 *\ * | *\ *)
5093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5094 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5095 esac
5096
5097
5098
5099 macro_version='2.5.4'
5100 macro_revision='2.5.4'
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115 ltmain=$ac_aux_dir/ltmain.sh
5116
5117
5118
5119 # Make sure we can run config.sub.
5120 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5121 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5122
5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5124 printf %s "checking build system type... " >&6; }
5125 if test ${ac_cv_build+y}
5126 then :
5127 printf %s "(cached) " >&6
5128 else case e in #(
5129 e) ac_build_alias=$build_alias
5130 test "x$ac_build_alias" = x &&
5131 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5132 test "x$ac_build_alias" = x &&
5133 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5134 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5135 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5136 ;;
5137 esac
5138 fi
5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5140 printf "%s\n" "$ac_cv_build" >&6; }
5141 case $ac_cv_build in
5142 *-*-*) ;;
5143 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5144 esac
5145 build=$ac_cv_build
5146 ac_save_IFS=$IFS; IFS='-'
5147 set x $ac_cv_build
5148 shift
5149 build_cpu=$1
5150 build_vendor=$2
5151 shift; shift
5152 # Remember, the first character of IFS is used to create $*,
5153 # except with old shells:
5154 build_os=$*
5155 IFS=$ac_save_IFS
5156 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5157
5158
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5160 printf %s "checking host system type... " >&6; }
5161 if test ${ac_cv_host+y}
5162 then :
5163 printf %s "(cached) " >&6
5164 else case e in #(
5165 e) if test "x$host_alias" = x; then
5166 ac_cv_host=$ac_cv_build
5167 else
5168 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5169 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5170 fi
5171 ;;
5172 esac
5173 fi
5174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5175 printf "%s\n" "$ac_cv_host" >&6; }
5176 case $ac_cv_host in
5177 *-*-*) ;;
5178 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5179 esac
5180 host=$ac_cv_host
5181 ac_save_IFS=$IFS; IFS='-'
5182 set x $ac_cv_host
5183 shift
5184 host_cpu=$1
5185 host_vendor=$2
5186 shift; shift
5187 # Remember, the first character of IFS is used to create $*,
5188 # except with old shells:
5189 host_os=$*
5190 IFS=$ac_save_IFS
5191 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5192
5193
5194 # Backslashify metacharacters that are still active within
5195 # double-quoted strings.
5196 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5197
5198 # Same as above, but do not quote variable references.
5199 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5200
5201 # Sed substitution to delay expansion of an escaped shell variable in a
5202 # double_quote_subst'ed string.
5203 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5204
5205 # Sed substitution to delay expansion of an escaped single quote.
5206 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5207
5208 # Sed substitution to avoid accidental globbing in evaled expressions
5209 no_glob_subst='s/\*/\\\*/g'
5210
5211 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5212 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5213 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5214
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5216 printf %s "checking how to print strings... " >&6; }
5217 # Test print first, because it will be a builtin if present.
5218 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5219 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5220 ECHO='print -r --'
5221 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5222 ECHO='printf %s\n'
5223 else
5224 # Use this function as a fallback that always works.
5225 func_fallback_echo ()
5226 {
5227 eval 'cat <<_LTECHO_EOF
5228 $1
5229 _LTECHO_EOF'
5230 }
5231 ECHO='func_fallback_echo'
5232 fi
5233
5234 # func_echo_all arg...
5235 # Invoke $ECHO with all args, space-separated.
5236 func_echo_all ()
5237 {
5238 $ECHO ""
5239 }
5240
5241 case $ECHO in
5242 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5243 printf "%s\n" "printf" >&6; } ;;
5244 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5245 printf "%s\n" "print -r" >&6; } ;;
5246 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5247 printf "%s\n" "cat" >&6; } ;;
5248 esac
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5264 printf %s "checking for a sed that does not truncate output... " >&6; }
5265 if test ${ac_cv_path_SED+y}
5266 then :
5267 printf %s "(cached) " >&6
5268 else case e in #(
5269 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5270 for ac_i in 1 2 3 4 5 6 7; do
5271 ac_script="$ac_script$as_nl$ac_script"
5272 done
5273 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5274 { ac_script=; unset ac_script;}
5275 if test -z "$SED"; then
5276 ac_path_SED_found=false
5277 # Loop through the user's path and test for each of PROGNAME-LIST
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5280 do
5281 IFS=$as_save_IFS
5282 case $as_dir in #(((
5283 '') as_dir=./ ;;
5284 */) ;;
5285 *) as_dir=$as_dir/ ;;
5286 esac
5287 for ac_prog in sed gsed
5288 do
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5291 as_fn_executable_p "$ac_path_SED" || continue
5292 # Check for GNU ac_path_SED and select it if it is found.
5293 # Check for GNU $ac_path_SED
5294 case `"$ac_path_SED" --version 2>&1` in #(
5295 *GNU*)
5296 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5297 #(
5298 *)
5299 ac_count=0
5300 printf %s 0123456789 >"conftest.in"
5301 while :
5302 do
5303 cat "conftest.in" "conftest.in" >"conftest.tmp"
5304 mv "conftest.tmp" "conftest.in"
5305 cp "conftest.in" "conftest.nl"
5306 printf "%s\n" '' >> "conftest.nl"
5307 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5308 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5309 as_fn_arith $ac_count + 1 && ac_count=$as_val
5310 if test $ac_count -gt ${ac_path_SED_max-0}; then
5311 # Best one so far, save it but keep looking for a better one
5312 ac_cv_path_SED="$ac_path_SED"
5313 ac_path_SED_max=$ac_count
5314 fi
5315 # 10*(2^10) chars as input seems more than enough
5316 test $ac_count -gt 10 && break
5317 done
5318 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5319 esac
5320
5321 $ac_path_SED_found && break 3
5322 done
5323 done
5324 done
5325 IFS=$as_save_IFS
5326 if test -z "$ac_cv_path_SED"; then
5327 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5328 fi
5329 else
5330 ac_cv_path_SED=$SED
5331 fi
5332 ;;
5333 esac
5334 fi
5335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5336 printf "%s\n" "$ac_cv_path_SED" >&6; }
5337 SED="$ac_cv_path_SED"
5338 rm -f conftest.sed
5339
5340 test -z "$SED" && SED=sed
5341 Xsed="$SED -e 1s/^X//"
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5354 printf %s "checking for grep that handles long lines and -e... " >&6; }
5355 if test ${ac_cv_path_GREP+y}
5356 then :
5357 printf %s "(cached) " >&6
5358 else case e in #(
5359 e) if test -z "$GREP"; then
5360 ac_path_GREP_found=false
5361 # Loop through the user's path and test for each of PROGNAME-LIST
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5364 do
5365 IFS=$as_save_IFS
5366 case $as_dir in #(((
5367 '') as_dir=./ ;;
5368 */) ;;
5369 *) as_dir=$as_dir/ ;;
5370 esac
5371 for ac_prog in grep ggrep
5372 do
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5375 as_fn_executable_p "$ac_path_GREP" || continue
5376 # Check for GNU ac_path_GREP and select it if it is found.
5377 # Check for GNU $ac_path_GREP
5378 case `"$ac_path_GREP" --version 2>&1` in #(
5379 *GNU*)
5380 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5381 #(
5382 *)
5383 ac_count=0
5384 printf %s 0123456789 >"conftest.in"
5385 while :
5386 do
5387 cat "conftest.in" "conftest.in" >"conftest.tmp"
5388 mv "conftest.tmp" "conftest.in"
5389 cp "conftest.in" "conftest.nl"
5390 printf "%s\n" 'GREP' >> "conftest.nl"
5391 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5393 as_fn_arith $ac_count + 1 && ac_count=$as_val
5394 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5395 # Best one so far, save it but keep looking for a better one
5396 ac_cv_path_GREP="$ac_path_GREP"
5397 ac_path_GREP_max=$ac_count
5398 fi
5399 # 10*(2^10) chars as input seems more than enough
5400 test $ac_count -gt 10 && break
5401 done
5402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5403 esac
5404
5405 $ac_path_GREP_found && break 3
5406 done
5407 done
5408 done
5409 IFS=$as_save_IFS
5410 if test -z "$ac_cv_path_GREP"; then
5411 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5412 fi
5413 else
5414 ac_cv_path_GREP=$GREP
5415 fi
5416 ;;
5417 esac
5418 fi
5419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5420 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5421 GREP="$ac_cv_path_GREP"
5422
5423
5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5425 printf %s "checking for egrep... " >&6; }
5426 if test ${ac_cv_path_EGREP+y}
5427 then :
5428 printf %s "(cached) " >&6
5429 else case e in #(
5430 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5431 then ac_cv_path_EGREP="$GREP -E"
5432 else
5433 if test -z "$EGREP"; then
5434 ac_path_EGREP_found=false
5435 # Loop through the user's path and test for each of PROGNAME-LIST
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5438 do
5439 IFS=$as_save_IFS
5440 case $as_dir in #(((
5441 '') as_dir=./ ;;
5442 */) ;;
5443 *) as_dir=$as_dir/ ;;
5444 esac
5445 for ac_prog in egrep
5446 do
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5449 as_fn_executable_p "$ac_path_EGREP" || continue
5450 # Check for GNU ac_path_EGREP and select it if it is found.
5451 # Check for GNU $ac_path_EGREP
5452 case `"$ac_path_EGREP" --version 2>&1` in #(
5453 *GNU*)
5454 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5455 #(
5456 *)
5457 ac_count=0
5458 printf %s 0123456789 >"conftest.in"
5459 while :
5460 do
5461 cat "conftest.in" "conftest.in" >"conftest.tmp"
5462 mv "conftest.tmp" "conftest.in"
5463 cp "conftest.in" "conftest.nl"
5464 printf "%s\n" 'EGREP' >> "conftest.nl"
5465 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5466 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5467 as_fn_arith $ac_count + 1 && ac_count=$as_val
5468 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5469 # Best one so far, save it but keep looking for a better one
5470 ac_cv_path_EGREP="$ac_path_EGREP"
5471 ac_path_EGREP_max=$ac_count
5472 fi
5473 # 10*(2^10) chars as input seems more than enough
5474 test $ac_count -gt 10 && break
5475 done
5476 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5477 esac
5478
5479 $ac_path_EGREP_found && break 3
5480 done
5481 done
5482 done
5483 IFS=$as_save_IFS
5484 if test -z "$ac_cv_path_EGREP"; then
5485 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5486 fi
5487 else
5488 ac_cv_path_EGREP=$EGREP
5489 fi
5490
5491 fi ;;
5492 esac
5493 fi
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5495 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5496 EGREP="$ac_cv_path_EGREP"
5497
5498 EGREP_TRADITIONAL=$EGREP
5499 ac_cv_path_EGREP_TRADITIONAL=$EGREP
5500
5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5502 printf %s "checking for fgrep... " >&6; }
5503 if test ${ac_cv_path_FGREP+y}
5504 then :
5505 printf %s "(cached) " >&6
5506 else case e in #(
5507 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5508 then ac_cv_path_FGREP="$GREP -F"
5509 else
5510 if test -z "$FGREP"; then
5511 ac_path_FGREP_found=false
5512 # Loop through the user's path and test for each of PROGNAME-LIST
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5515 do
5516 IFS=$as_save_IFS
5517 case $as_dir in #(((
5518 '') as_dir=./ ;;
5519 */) ;;
5520 *) as_dir=$as_dir/ ;;
5521 esac
5522 for ac_prog in fgrep
5523 do
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5526 as_fn_executable_p "$ac_path_FGREP" || continue
5527 # Check for GNU ac_path_FGREP and select it if it is found.
5528 # Check for GNU $ac_path_FGREP
5529 case `"$ac_path_FGREP" --version 2>&1` in #(
5530 *GNU*)
5531 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5532 #(
5533 *)
5534 ac_count=0
5535 printf %s 0123456789 >"conftest.in"
5536 while :
5537 do
5538 cat "conftest.in" "conftest.in" >"conftest.tmp"
5539 mv "conftest.tmp" "conftest.in"
5540 cp "conftest.in" "conftest.nl"
5541 printf "%s\n" 'FGREP' >> "conftest.nl"
5542 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5543 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5544 as_fn_arith $ac_count + 1 && ac_count=$as_val
5545 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5546 # Best one so far, save it but keep looking for a better one
5547 ac_cv_path_FGREP="$ac_path_FGREP"
5548 ac_path_FGREP_max=$ac_count
5549 fi
5550 # 10*(2^10) chars as input seems more than enough
5551 test $ac_count -gt 10 && break
5552 done
5553 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5554 esac
5555
5556 $ac_path_FGREP_found && break 3
5557 done
5558 done
5559 done
5560 IFS=$as_save_IFS
5561 if test -z "$ac_cv_path_FGREP"; then
5562 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5563 fi
5564 else
5565 ac_cv_path_FGREP=$FGREP
5566 fi
5567
5568 fi ;;
5569 esac
5570 fi
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5572 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5573 FGREP="$ac_cv_path_FGREP"
5574
5575
5576 test -z "$GREP" && GREP=grep
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596 # Check whether --with-gnu-ld was given.
5597 if test ${with_gnu_ld+y}
5598 then :
5599 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5600 else case e in #(
5601 e) with_gnu_ld=no ;;
5602 esac
5603 fi
5604
5605 ac_prog=ld
5606 if test yes = "$GCC"; then
5607 # Check if gcc -print-prog-name=ld gives a path.
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5609 printf %s "checking for ld used by $CC... " >&6; }
5610 case $host in
5611 *-*-mingw* | *-*-windows*)
5612 # gcc leaves a trailing carriage return, which upsets mingw
5613 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5614 *)
5615 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5616 esac
5617 case $ac_prog in
5618 # Accept absolute paths.
5619 [\\/]* | ?:[\\/]*)
5620 re_direlt='/[^/][^/]*/\.\./'
5621 # Canonicalize the pathname of ld
5622 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5623 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5624 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5625 done
5626 test -z "$LD" && LD=$ac_prog
5627 ;;
5628 "")
5629 # If it fails, then pretend we aren't using GCC.
5630 ac_prog=ld
5631 ;;
5632 *)
5633 # If it is relative, then search for the first ld in PATH.
5634 with_gnu_ld=unknown
5635 ;;
5636 esac
5637 elif test yes = "$with_gnu_ld"; then
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5639 printf %s "checking for GNU ld... " >&6; }
5640 else
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5642 printf %s "checking for non-GNU ld... " >&6; }
5643 fi
5644 if test ${lt_cv_path_LD+y}
5645 then :
5646 printf %s "(cached) " >&6
5647 else case e in #(
5648 e) if test -z "$LD"; then
5649 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5650 for ac_dir in $PATH; do
5651 IFS=$lt_save_ifs
5652 test -z "$ac_dir" && ac_dir=.
5653 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5654 lt_cv_path_LD=$ac_dir/$ac_prog
5655 # Check to see if the program is GNU ld. I'd rather use --version,
5656 # but apparently some variants of GNU ld only accept -v.
5657 # Break only if it was the GNU/non-GNU ld that we prefer.
5658 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5659 *GNU* | *'with BFD'*)
5660 test no != "$with_gnu_ld" && break
5661 ;;
5662 *)
5663 test yes != "$with_gnu_ld" && break
5664 ;;
5665 esac
5666 fi
5667 done
5668 IFS=$lt_save_ifs
5669 else
5670 lt_cv_path_LD=$LD # Let the user override the test with a path.
5671 fi ;;
5672 esac
5673 fi
5674
5675 LD=$lt_cv_path_LD
5676 if test -n "$LD"; then
5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5678 printf "%s\n" "$LD" >&6; }
5679 else
5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5681 printf "%s\n" "no" >&6; }
5682 fi
5683 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5685 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5686 if test ${lt_cv_prog_gnu_ld+y}
5687 then :
5688 printf %s "(cached) " >&6
5689 else case e in #(
5690 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
5691 case `$LD -v 2>&1 </dev/null` in
5692 *GNU* | *'with BFD'*)
5693 lt_cv_prog_gnu_ld=yes
5694 ;;
5695 *)
5696 lt_cv_prog_gnu_ld=no
5697 ;;
5698 esac ;;
5699 esac
5700 fi
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5702 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5703 with_gnu_ld=$lt_cv_prog_gnu_ld
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5714 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5715 if test ${lt_cv_path_NM+y}
5716 then :
5717 printf %s "(cached) " >&6
5718 else case e in #(
5719 e) if test -n "$NM"; then
5720 # Let the user override the test.
5721 lt_cv_path_NM=$NM
5722 else
5723 lt_nm_to_check=${ac_tool_prefix}nm
5724 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5725 lt_nm_to_check="$lt_nm_to_check nm"
5726 fi
5727 for lt_tmp_nm in $lt_nm_to_check; do
5728 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5729 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5730 IFS=$lt_save_ifs
5731 test -z "$ac_dir" && ac_dir=.
5732 tmp_nm=$ac_dir/$lt_tmp_nm
5733 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5734 # Check to see if the nm accepts a BSD-compat flag.
5735 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5736 # nm: unknown option "B" ignored
5737 # Tru64's nm complains that /dev/null is an invalid object file
5738 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5739 case $build_os in
5740 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
5741 *) lt_bad_file=/dev/null ;;
5742 esac
5743 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5744 *$lt_bad_file* | *'Invalid file or object type'*)
5745 lt_cv_path_NM="$tmp_nm -B"
5746 break 2
5747 ;;
5748 *)
5749 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5750 */dev/null*)
5751 lt_cv_path_NM="$tmp_nm -p"
5752 break 2
5753 ;;
5754 *)
5755 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5756 continue # so that we can try to find one that supports BSD flags
5757 ;;
5758 esac
5759 ;;
5760 esac
5761 fi
5762 done
5763 IFS=$lt_save_ifs
5764 done
5765 : ${lt_cv_path_NM=no}
5766 fi ;;
5767 esac
5768 fi
5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5770 printf "%s\n" "$lt_cv_path_NM" >&6; }
5771 if test no != "$lt_cv_path_NM"; then
5772 NM=$lt_cv_path_NM
5773 else
5774 # Didn't find any BSD compatible name lister, look for dumpbin.
5775 if test -n "$DUMPBIN"; then :
5776 # Let the user override the test.
5777 else
5778 if test -n "$ac_tool_prefix"; then
5779 for ac_prog in dumpbin "link -dump"
5780 do
5781 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5782 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 printf %s "checking for $ac_word... " >&6; }
5785 if test ${ac_cv_prog_DUMPBIN+y}
5786 then :
5787 printf %s "(cached) " >&6
5788 else case e in #(
5789 e) if test -n "$DUMPBIN"; then
5790 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5791 else
5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5793 for as_dir in $PATH
5794 do
5795 IFS=$as_save_IFS
5796 case $as_dir in #(((
5797 '') as_dir=./ ;;
5798 */) ;;
5799 *) as_dir=$as_dir/ ;;
5800 esac
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5805 break 2
5806 fi
5807 done
5808 done
5809 IFS=$as_save_IFS
5810
5811 fi ;;
5812 esac
5813 fi
5814 DUMPBIN=$ac_cv_prog_DUMPBIN
5815 if test -n "$DUMPBIN"; then
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5817 printf "%s\n" "$DUMPBIN" >&6; }
5818 else
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 printf "%s\n" "no" >&6; }
5821 fi
5822
5823
5824 test -n "$DUMPBIN" && break
5825 done
5826 fi
5827 if test -z "$DUMPBIN"; then
5828 ac_ct_DUMPBIN=$DUMPBIN
5829 for ac_prog in dumpbin "link -dump"
5830 do
5831 # Extract the first word of "$ac_prog", so it can be a program name with args.
5832 set dummy $ac_prog; ac_word=$2
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 printf %s "checking for $ac_word... " >&6; }
5835 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5836 then :
5837 printf %s "(cached) " >&6
5838 else case e in #(
5839 e) if test -n "$ac_ct_DUMPBIN"; then
5840 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5841 else
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 for as_dir in $PATH
5844 do
5845 IFS=$as_save_IFS
5846 case $as_dir in #(((
5847 '') as_dir=./ ;;
5848 */) ;;
5849 *) as_dir=$as_dir/ ;;
5850 esac
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5855 break 2
5856 fi
5857 done
5858 done
5859 IFS=$as_save_IFS
5860
5861 fi ;;
5862 esac
5863 fi
5864 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5865 if test -n "$ac_ct_DUMPBIN"; then
5866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5867 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5868 else
5869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 printf "%s\n" "no" >&6; }
5871 fi
5872
5873
5874 test -n "$ac_ct_DUMPBIN" && break
5875 done
5876
5877 if test "x$ac_ct_DUMPBIN" = x; then
5878 DUMPBIN=":"
5879 else
5880 case $cross_compiling:$ac_tool_warned in
5881 yes:)
5882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5883 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5884 ac_tool_warned=yes ;;
5885 esac
5886 DUMPBIN=$ac_ct_DUMPBIN
5887 fi
5888 fi
5889
5890 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5891 *COFF*)
5892 DUMPBIN="$DUMPBIN -symbols -headers"
5893 ;;
5894 *)
5895 DUMPBIN=:
5896 ;;
5897 esac
5898 fi
5899
5900 if test : != "$DUMPBIN"; then
5901 NM=$DUMPBIN
5902 fi
5903 fi
5904 test -z "$NM" && NM=nm
5905
5906
5907
5908
5909
5910
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5912 printf %s "checking the name lister ($NM) interface... " >&6; }
5913 if test ${lt_cv_nm_interface+y}
5914 then :
5915 printf %s "(cached) " >&6
5916 else case e in #(
5917 e) lt_cv_nm_interface="BSD nm"
5918 echo "int some_variable = 0;" > conftest.$ac_ext
5919 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5920 (eval "$ac_compile" 2>conftest.err)
5921 cat conftest.err >&5
5922 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5923 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5924 cat conftest.err >&5
5925 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5926 cat conftest.out >&5
5927 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5928 lt_cv_nm_interface="MS dumpbin"
5929 fi
5930 rm -f conftest* ;;
5931 esac
5932 fi
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5934 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5935
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5937 printf %s "checking whether ln -s works... " >&6; }
5938 LN_S=$as_ln_s
5939 if test "$LN_S" = "ln -s"; then
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5941 printf "%s\n" "yes" >&6; }
5942 else
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5944 printf "%s\n" "no, using $LN_S" >&6; }
5945 fi
5946
5947 # find the maximum length of command line arguments
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5949 printf %s "checking the maximum length of command line arguments... " >&6; }
5950 if test ${lt_cv_sys_max_cmd_len+y}
5951 then :
5952 printf %s "(cached) " >&6
5953 else case e in #(
5954 e) i=0
5955 teststring=ABCD
5956
5957 case $build_os in
5958 msdosdjgpp*)
5959 # On DJGPP, this test can blow up pretty badly due to problems in libc
5960 # (any single argument exceeding 2000 bytes causes a buffer overrun
5961 # during glob expansion). Even if it were fixed, the result of this
5962 # check would be larger than it should be.
5963 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5964 ;;
5965
5966 gnu* | ironclad*)
5967 # Under GNU Hurd and Ironclad, this test is not required because there
5968 # is no limit to the length of command line arguments.
5969 # Libtool will interpret -1 as no limit whatsoever
5970 lt_cv_sys_max_cmd_len=-1;
5971 ;;
5972
5973 cygwin* | mingw* | windows* | cegcc*)
5974 # On Win9x/ME, this test blows up -- it succeeds, but takes
5975 # about 5 minutes as the teststring grows exponentially.
5976 # Worse, since 9x/ME are not pre-emptively multitasking,
5977 # you end up with a "frozen" computer, even though with patience
5978 # the test eventually succeeds (with a max line length of 256k).
5979 # Instead, let's just punt: use the minimum linelength reported by
5980 # all of the supported platforms: 8192 (on NT/2K/XP).
5981 lt_cv_sys_max_cmd_len=8192;
5982 ;;
5983
5984 mint*)
5985 # On MiNT this can take a long time and run out of memory.
5986 lt_cv_sys_max_cmd_len=8192;
5987 ;;
5988
5989 amigaos*)
5990 # On AmigaOS with pdksh, this test takes hours, literally.
5991 # So we just punt and use a minimum line length of 8192.
5992 lt_cv_sys_max_cmd_len=8192;
5993 ;;
5994
5995 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
5996 # This has been around since 386BSD, at least. Likely further.
5997 if test -x /sbin/sysctl; then
5998 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5999 elif test -x /usr/sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6001 else
6002 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6003 fi
6004 # And add a safety zone
6005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6007 ;;
6008
6009 interix*)
6010 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6011 lt_cv_sys_max_cmd_len=196608
6012 ;;
6013
6014 os2*)
6015 # The test takes a long time on OS/2.
6016 lt_cv_sys_max_cmd_len=8192
6017 ;;
6018
6019 osf*)
6020 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6021 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6022 # nice to cause kernel panics so lets avoid the loop below.
6023 # First set a reasonable default.
6024 lt_cv_sys_max_cmd_len=16384
6025 #
6026 if test -x /sbin/sysconfig; then
6027 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6028 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6029 esac
6030 fi
6031 ;;
6032 sco3.2v5*)
6033 lt_cv_sys_max_cmd_len=102400
6034 ;;
6035 sysv5* | sco5v6* | sysv4.2uw2*)
6036 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6037 if test -n "$kargmax"; then
6038 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
6039 else
6040 lt_cv_sys_max_cmd_len=32768
6041 fi
6042 ;;
6043 *)
6044 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6045 if test -n "$lt_cv_sys_max_cmd_len" && \
6046 test undefined != "$lt_cv_sys_max_cmd_len"; then
6047 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6048 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6049 else
6050 # Make teststring a little bigger before we do anything with it.
6051 # a 1K string should be a reasonable start.
6052 for i in 1 2 3 4 5 6 7 8; do
6053 teststring=$teststring$teststring
6054 done
6055 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6056 # If test is not a shell built-in, we'll probably end up computing a
6057 # maximum length that is only half of the actual maximum length, but
6058 # we can't tell.
6059 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6060 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6061 test 17 != "$i" # 1/2 MB should be enough
6062 do
6063 i=`expr $i + 1`
6064 teststring=$teststring$teststring
6065 done
6066 # Only check the string length outside the loop.
6067 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6068 teststring=
6069 # Add a significant safety factor because C++ compilers can tack on
6070 # massive amounts of additional arguments before passing them to the
6071 # linker. It appears as though 1/2 is a usable value.
6072 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6073 fi
6074 ;;
6075 esac
6076 ;;
6077 esac
6078 fi
6079
6080 if test -n "$lt_cv_sys_max_cmd_len"; then
6081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6082 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6083 else
6084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6085 printf "%s\n" "none" >&6; }
6086 fi
6087 max_cmd_len=$lt_cv_sys_max_cmd_len
6088
6089
6090
6091
6092
6093
6094 : ${CP="cp -f"}
6095 : ${MV="mv -f"}
6096 : ${RM="rm -f"}
6097
6098 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6099 lt_unset=unset
6100 else
6101 lt_unset=false
6102 fi
6103
6104
6105
6106
6107
6108 # test EBCDIC or ASCII
6109 case `echo X|tr X '\101'` in
6110 A) # ASCII based system
6111 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6112 lt_SP2NL='tr \040 \012'
6113 lt_NL2SP='tr \015\012 \040\040'
6114 ;;
6115 *) # EBCDIC based system
6116 lt_SP2NL='tr \100 \n'
6117 lt_NL2SP='tr \r\n \100\100'
6118 ;;
6119 esac
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6130 printf %s "checking how to convert $build file names to $host format... " >&6; }
6131 if test ${lt_cv_to_host_file_cmd+y}
6132 then :
6133 printf %s "(cached) " >&6
6134 else case e in #(
6135 e) case $host in
6136 *-*-mingw* )
6137 case $build in
6138 *-*-mingw* | *-*-windows* ) # actually msys
6139 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6140 ;;
6141 *-*-cygwin* )
6142 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6143 ;;
6144 * ) # otherwise, assume *nix
6145 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6146 ;;
6147 esac
6148 ;;
6149 *-*-cygwin* )
6150 case $build in
6151 *-*-mingw* | *-*-windows* ) # actually msys
6152 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6153 ;;
6154 *-*-cygwin* )
6155 lt_cv_to_host_file_cmd=func_convert_file_noop
6156 ;;
6157 * ) # otherwise, assume *nix
6158 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6159 ;;
6160 esac
6161 ;;
6162 * ) # unhandled hosts (and "normal" native builds)
6163 lt_cv_to_host_file_cmd=func_convert_file_noop
6164 ;;
6165 esac
6166 ;;
6167 esac
6168 fi
6169
6170 to_host_file_cmd=$lt_cv_to_host_file_cmd
6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6172 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6173
6174
6175
6176
6177
6178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6179 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6180 if test ${lt_cv_to_tool_file_cmd+y}
6181 then :
6182 printf %s "(cached) " >&6
6183 else case e in #(
6184 e) #assume ordinary cross tools, or native build.
6185 lt_cv_to_tool_file_cmd=func_convert_file_noop
6186 case $host in
6187 *-*-mingw* | *-*-windows* )
6188 case $build in
6189 *-*-mingw* | *-*-windows* ) # actually msys
6190 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6191 ;;
6192 esac
6193 ;;
6194 esac
6195 ;;
6196 esac
6197 fi
6198
6199 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6201 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6202
6203
6204
6205
6206
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6208 printf %s "checking for $LD option to reload object files... " >&6; }
6209 if test ${lt_cv_ld_reload_flag+y}
6210 then :
6211 printf %s "(cached) " >&6
6212 else case e in #(
6213 e) lt_cv_ld_reload_flag='-r' ;;
6214 esac
6215 fi
6216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6217 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6218 reload_flag=$lt_cv_ld_reload_flag
6219 case $reload_flag in
6220 "" | " "*) ;;
6221 *) reload_flag=" $reload_flag" ;;
6222 esac
6223 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6224 case $host_os in
6225 cygwin* | mingw* | windows* | pw32* | cegcc*)
6226 if test yes != "$GCC"; then
6227 reload_cmds=false
6228 fi
6229 ;;
6230 darwin*)
6231 if test yes = "$GCC"; then
6232 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6233 else
6234 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6235 fi
6236 ;;
6237 esac
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247 # Extract the first word of "file", so it can be a program name with args.
6248 set dummy file; ac_word=$2
6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250 printf %s "checking for $ac_word... " >&6; }
6251 if test ${ac_cv_prog_FILECMD+y}
6252 then :
6253 printf %s "(cached) " >&6
6254 else case e in #(
6255 e) if test -n "$FILECMD"; then
6256 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6257 else
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 for as_dir in $PATH
6260 do
6261 IFS=$as_save_IFS
6262 case $as_dir in #(((
6263 '') as_dir=./ ;;
6264 */) ;;
6265 *) as_dir=$as_dir/ ;;
6266 esac
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6269 ac_cv_prog_FILECMD="file"
6270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6271 break 2
6272 fi
6273 done
6274 done
6275 IFS=$as_save_IFS
6276
6277 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
6278 fi ;;
6279 esac
6280 fi
6281 FILECMD=$ac_cv_prog_FILECMD
6282 if test -n "$FILECMD"; then
6283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6284 printf "%s\n" "$FILECMD" >&6; }
6285 else
6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 printf "%s\n" "no" >&6; }
6288 fi
6289
6290
6291
6292
6293
6294
6295
6296
6297 if test -n "$ac_tool_prefix"; then
6298 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6299 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 printf %s "checking for $ac_word... " >&6; }
6302 if test ${ac_cv_prog_OBJDUMP+y}
6303 then :
6304 printf %s "(cached) " >&6
6305 else case e in #(
6306 e) if test -n "$OBJDUMP"; then
6307 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6308 else
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH
6311 do
6312 IFS=$as_save_IFS
6313 case $as_dir in #(((
6314 '') as_dir=./ ;;
6315 */) ;;
6316 *) as_dir=$as_dir/ ;;
6317 esac
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6320 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6322 break 2
6323 fi
6324 done
6325 done
6326 IFS=$as_save_IFS
6327
6328 fi ;;
6329 esac
6330 fi
6331 OBJDUMP=$ac_cv_prog_OBJDUMP
6332 if test -n "$OBJDUMP"; then
6333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6334 printf "%s\n" "$OBJDUMP" >&6; }
6335 else
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337 printf "%s\n" "no" >&6; }
6338 fi
6339
6340
6341 fi
6342 if test -z "$ac_cv_prog_OBJDUMP"; then
6343 ac_ct_OBJDUMP=$OBJDUMP
6344 # Extract the first word of "objdump", so it can be a program name with args.
6345 set dummy objdump; ac_word=$2
6346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6347 printf %s "checking for $ac_word... " >&6; }
6348 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6349 then :
6350 printf %s "(cached) " >&6
6351 else case e in #(
6352 e) if test -n "$ac_ct_OBJDUMP"; then
6353 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6354 else
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 for as_dir in $PATH
6357 do
6358 IFS=$as_save_IFS
6359 case $as_dir in #(((
6360 '') as_dir=./ ;;
6361 */) ;;
6362 *) as_dir=$as_dir/ ;;
6363 esac
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6366 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6368 break 2
6369 fi
6370 done
6371 done
6372 IFS=$as_save_IFS
6373
6374 fi ;;
6375 esac
6376 fi
6377 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6378 if test -n "$ac_ct_OBJDUMP"; then
6379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6380 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6381 else
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6383 printf "%s\n" "no" >&6; }
6384 fi
6385
6386 if test "x$ac_ct_OBJDUMP" = x; then
6387 OBJDUMP="false"
6388 else
6389 case $cross_compiling:$ac_tool_warned in
6390 yes:)
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6392 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6393 ac_tool_warned=yes ;;
6394 esac
6395 OBJDUMP=$ac_ct_OBJDUMP
6396 fi
6397 else
6398 OBJDUMP="$ac_cv_prog_OBJDUMP"
6399 fi
6400
6401 test -z "$OBJDUMP" && OBJDUMP=objdump
6402
6403
6404
6405
6406
6407
6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6409 printf %s "checking how to recognize dependent libraries... " >&6; }
6410 if test ${lt_cv_deplibs_check_method+y}
6411 then :
6412 printf %s "(cached) " >&6
6413 else case e in #(
6414 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
6415 lt_cv_file_magic_test_file=
6416 lt_cv_deplibs_check_method='unknown'
6417 # Need to set the preceding variable on all platforms that support
6418 # interlibrary dependencies.
6419 # 'none' -- dependencies not supported.
6420 # 'unknown' -- same as none, but documents that we really don't know.
6421 # 'pass_all' -- all dependencies passed with no checks.
6422 # 'file_magic [[regex]]' -- check by looking for files in library path
6423 # that responds to the $file_magic_cmd with a given extended regex.
6424 # If you have 'file' or equivalent on your system and you're not sure
6425 # whether 'pass_all' will *always* work, you probably want this one.
6426
6427 case $host_os in
6428 aix[4-9]*)
6429 lt_cv_deplibs_check_method=pass_all
6430 ;;
6431
6432 beos*)
6433 lt_cv_deplibs_check_method=pass_all
6434 ;;
6435
6436 bsdi[45]*)
6437 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6438 lt_cv_file_magic_cmd='$FILECMD -L'
6439 lt_cv_file_magic_test_file=/shlib/libc.so
6440 ;;
6441
6442 cygwin*)
6443 # func_win32_libid is a shell function defined in ltmain.sh
6444 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6445 lt_cv_file_magic_cmd='func_win32_libid'
6446 ;;
6447
6448 mingw* | windows* | pw32*)
6449 # Base MSYS/MinGW do not provide the 'file' command needed by
6450 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6451 # unless we find 'file', for example because we are cross-compiling.
6452 if ( file / ) >/dev/null 2>&1; then
6453 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6454 lt_cv_file_magic_cmd='func_win32_libid'
6455 else
6456 # Keep this pattern in sync with the one in func_win32_libid.
6457 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
6458 lt_cv_file_magic_cmd='$OBJDUMP -f'
6459 fi
6460 ;;
6461
6462 cegcc*)
6463 # use the weaker test based on 'objdump'. See mingw*.
6464 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6465 lt_cv_file_magic_cmd='$OBJDUMP -f'
6466 ;;
6467
6468 darwin* | rhapsody*)
6469 lt_cv_deplibs_check_method=pass_all
6470 ;;
6471
6472 freebsd* | dragonfly* | midnightbsd*)
6473 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6474 case $host_cpu in
6475 i*86 )
6476 # Not sure whether the presence of OpenBSD here was a mistake.
6477 # Let's accept both of them until this is cleared up.
6478 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6479 lt_cv_file_magic_cmd=$FILECMD
6480 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6481 ;;
6482 esac
6483 else
6484 lt_cv_deplibs_check_method=pass_all
6485 fi
6486 ;;
6487
6488 haiku*)
6489 lt_cv_deplibs_check_method=pass_all
6490 ;;
6491
6492 hpux10.20* | hpux11*)
6493 lt_cv_file_magic_cmd=$FILECMD
6494 case $host_cpu in
6495 ia64*)
6496 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6497 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6498 ;;
6499 hppa*64*)
6500 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]'
6501 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6502 ;;
6503 *)
6504 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6505 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6506 ;;
6507 esac
6508 ;;
6509
6510 interix[3-9]*)
6511 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6512 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6513 ;;
6514
6515 irix5* | irix6* | nonstopux*)
6516 case $LD in
6517 *-32|*"-32 ") libmagic=32-bit;;
6518 *-n32|*"-n32 ") libmagic=N32;;
6519 *-64|*"-64 ") libmagic=64-bit;;
6520 *) libmagic=never-match;;
6521 esac
6522 lt_cv_deplibs_check_method=pass_all
6523 ;;
6524
6525 # This must be glibc/ELF.
6526 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6527 lt_cv_deplibs_check_method=pass_all
6528 ;;
6529
6530 *-mlibc)
6531 lt_cv_deplibs_check_method=pass_all
6532 ;;
6533
6534 netbsd* | netbsdelf*-gnu)
6535 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6536 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6537 else
6538 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6539 fi
6540 ;;
6541
6542 newos6*)
6543 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6544 lt_cv_file_magic_cmd=$FILECMD
6545 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6546 ;;
6547
6548 *nto* | *qnx*)
6549 lt_cv_deplibs_check_method=pass_all
6550 ;;
6551
6552 openbsd*)
6553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6554 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6555 else
6556 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6557 fi
6558 ;;
6559
6560 osf3* | osf4* | osf5*)
6561 lt_cv_deplibs_check_method=pass_all
6562 ;;
6563
6564 rdos*)
6565 lt_cv_deplibs_check_method=pass_all
6566 ;;
6567
6568 serenity*)
6569 lt_cv_deplibs_check_method=pass_all
6570 ;;
6571
6572 solaris*)
6573 lt_cv_deplibs_check_method=pass_all
6574 ;;
6575
6576 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6577 lt_cv_deplibs_check_method=pass_all
6578 ;;
6579
6580 sysv4 | sysv4.3*)
6581 case $host_vendor in
6582 motorola)
6583 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]'
6584 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6585 ;;
6586 ncr)
6587 lt_cv_deplibs_check_method=pass_all
6588 ;;
6589 sequent)
6590 lt_cv_file_magic_cmd='/bin/file'
6591 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6592 ;;
6593 sni)
6594 lt_cv_file_magic_cmd='/bin/file'
6595 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6596 lt_cv_file_magic_test_file=/lib/libc.so
6597 ;;
6598 siemens)
6599 lt_cv_deplibs_check_method=pass_all
6600 ;;
6601 pc)
6602 lt_cv_deplibs_check_method=pass_all
6603 ;;
6604 esac
6605 ;;
6606
6607 tpf*)
6608 lt_cv_deplibs_check_method=pass_all
6609 ;;
6610 os2*)
6611 lt_cv_deplibs_check_method=pass_all
6612 ;;
6613 esac
6614 ;;
6615 esac
6616 fi
6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6618 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6619
6620 file_magic_glob=
6621 want_nocaseglob=no
6622 if test "$build" = "$host"; then
6623 case $host_os in
6624 mingw* | windows* | pw32*)
6625 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6626 want_nocaseglob=yes
6627 else
6628 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6629 fi
6630 ;;
6631 esac
6632 fi
6633
6634 file_magic_cmd=$lt_cv_file_magic_cmd
6635 deplibs_check_method=$lt_cv_deplibs_check_method
6636 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659 if test -n "$ac_tool_prefix"; then
6660 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6661 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 printf %s "checking for $ac_word... " >&6; }
6664 if test ${ac_cv_prog_DLLTOOL+y}
6665 then :
6666 printf %s "(cached) " >&6
6667 else case e in #(
6668 e) if test -n "$DLLTOOL"; then
6669 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6673 do
6674 IFS=$as_save_IFS
6675 case $as_dir in #(((
6676 '') as_dir=./ ;;
6677 */) ;;
6678 *) as_dir=$as_dir/ ;;
6679 esac
6680 for ac_exec_ext in '' $ac_executable_extensions; do
6681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6682 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6684 break 2
6685 fi
6686 done
6687 done
6688 IFS=$as_save_IFS
6689
6690 fi ;;
6691 esac
6692 fi
6693 DLLTOOL=$ac_cv_prog_DLLTOOL
6694 if test -n "$DLLTOOL"; then
6695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6696 printf "%s\n" "$DLLTOOL" >&6; }
6697 else
6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 printf "%s\n" "no" >&6; }
6700 fi
6701
6702
6703 fi
6704 if test -z "$ac_cv_prog_DLLTOOL"; then
6705 ac_ct_DLLTOOL=$DLLTOOL
6706 # Extract the first word of "dlltool", so it can be a program name with args.
6707 set dummy dlltool; ac_word=$2
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 printf %s "checking for $ac_word... " >&6; }
6710 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6711 then :
6712 printf %s "(cached) " >&6
6713 else case e in #(
6714 e) if test -n "$ac_ct_DLLTOOL"; then
6715 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6716 else
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 for as_dir in $PATH
6719 do
6720 IFS=$as_save_IFS
6721 case $as_dir in #(((
6722 '') as_dir=./ ;;
6723 */) ;;
6724 *) as_dir=$as_dir/ ;;
6725 esac
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6728 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6730 break 2
6731 fi
6732 done
6733 done
6734 IFS=$as_save_IFS
6735
6736 fi ;;
6737 esac
6738 fi
6739 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6740 if test -n "$ac_ct_DLLTOOL"; then
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6742 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6743 else
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 printf "%s\n" "no" >&6; }
6746 fi
6747
6748 if test "x$ac_ct_DLLTOOL" = x; then
6749 DLLTOOL="false"
6750 else
6751 case $cross_compiling:$ac_tool_warned in
6752 yes:)
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6755 ac_tool_warned=yes ;;
6756 esac
6757 DLLTOOL=$ac_ct_DLLTOOL
6758 fi
6759 else
6760 DLLTOOL="$ac_cv_prog_DLLTOOL"
6761 fi
6762
6763 test -z "$DLLTOOL" && DLLTOOL=dlltool
6764
6765
6766
6767
6768
6769
6770
6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6772 printf %s "checking how to associate runtime and link libraries... " >&6; }
6773 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6774 then :
6775 printf %s "(cached) " >&6
6776 else case e in #(
6777 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
6778
6779 case $host_os in
6780 cygwin* | mingw* | windows* | pw32* | cegcc*)
6781 # two different shell functions defined in ltmain.sh;
6782 # decide which one to use based on capabilities of $DLLTOOL
6783 case `$DLLTOOL --help 2>&1` in
6784 *--identify-strict*)
6785 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6786 ;;
6787 *)
6788 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6789 ;;
6790 esac
6791 ;;
6792 *)
6793 # fallback: assume linklib IS sharedlib
6794 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6795 ;;
6796 esac
6797 ;;
6798 esac
6799 fi
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6801 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6802 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6803 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6804
6805
6806
6807
6808
6809
6810
6811 if test -n "$ac_tool_prefix"; then
6812 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6813 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815 printf %s "checking for $ac_word... " >&6; }
6816 if test ${ac_cv_prog_RANLIB+y}
6817 then :
6818 printf %s "(cached) " >&6
6819 else case e in #(
6820 e) if test -n "$RANLIB"; then
6821 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6822 else
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 for as_dir in $PATH
6825 do
6826 IFS=$as_save_IFS
6827 case $as_dir in #(((
6828 '') as_dir=./ ;;
6829 */) ;;
6830 *) as_dir=$as_dir/ ;;
6831 esac
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6836 break 2
6837 fi
6838 done
6839 done
6840 IFS=$as_save_IFS
6841
6842 fi ;;
6843 esac
6844 fi
6845 RANLIB=$ac_cv_prog_RANLIB
6846 if test -n "$RANLIB"; then
6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6848 printf "%s\n" "$RANLIB" >&6; }
6849 else
6850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851 printf "%s\n" "no" >&6; }
6852 fi
6853
6854
6855 fi
6856 if test -z "$ac_cv_prog_RANLIB"; then
6857 ac_ct_RANLIB=$RANLIB
6858 # Extract the first word of "ranlib", so it can be a program name with args.
6859 set dummy ranlib; ac_word=$2
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6861 printf %s "checking for $ac_word... " >&6; }
6862 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6863 then :
6864 printf %s "(cached) " >&6
6865 else case e in #(
6866 e) if test -n "$ac_ct_RANLIB"; then
6867 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6868 else
6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 for as_dir in $PATH
6871 do
6872 IFS=$as_save_IFS
6873 case $as_dir in #(((
6874 '') as_dir=./ ;;
6875 */) ;;
6876 *) as_dir=$as_dir/ ;;
6877 esac
6878 for ac_exec_ext in '' $ac_executable_extensions; do
6879 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6880 ac_cv_prog_ac_ct_RANLIB="ranlib"
6881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6882 break 2
6883 fi
6884 done
6885 done
6886 IFS=$as_save_IFS
6887
6888 fi ;;
6889 esac
6890 fi
6891 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6892 if test -n "$ac_ct_RANLIB"; then
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6894 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6895 else
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6897 printf "%s\n" "no" >&6; }
6898 fi
6899
6900 if test "x$ac_ct_RANLIB" = x; then
6901 RANLIB=":"
6902 else
6903 case $cross_compiling:$ac_tool_warned in
6904 yes:)
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6906 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6907 ac_tool_warned=yes ;;
6908 esac
6909 RANLIB=$ac_ct_RANLIB
6910 fi
6911 else
6912 RANLIB="$ac_cv_prog_RANLIB"
6913 fi
6914
6915 if test -n "$ac_tool_prefix"; then
6916 for ac_prog in ar
6917 do
6918 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6919 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 printf %s "checking for $ac_word... " >&6; }
6922 if test ${ac_cv_prog_AR+y}
6923 then :
6924 printf %s "(cached) " >&6
6925 else case e in #(
6926 e) if test -n "$AR"; then
6927 ac_cv_prog_AR="$AR" # Let the user override the test.
6928 else
6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6930 for as_dir in $PATH
6931 do
6932 IFS=$as_save_IFS
6933 case $as_dir in #(((
6934 '') as_dir=./ ;;
6935 */) ;;
6936 *) as_dir=$as_dir/ ;;
6937 esac
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6940 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6942 break 2
6943 fi
6944 done
6945 done
6946 IFS=$as_save_IFS
6947
6948 fi ;;
6949 esac
6950 fi
6951 AR=$ac_cv_prog_AR
6952 if test -n "$AR"; then
6953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6954 printf "%s\n" "$AR" >&6; }
6955 else
6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6957 printf "%s\n" "no" >&6; }
6958 fi
6959
6960
6961 test -n "$AR" && break
6962 done
6963 fi
6964 if test -z "$AR"; then
6965 ac_ct_AR=$AR
6966 for ac_prog in ar
6967 do
6968 # Extract the first word of "$ac_prog", so it can be a program name with args.
6969 set dummy $ac_prog; ac_word=$2
6970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6971 printf %s "checking for $ac_word... " >&6; }
6972 if test ${ac_cv_prog_ac_ct_AR+y}
6973 then :
6974 printf %s "(cached) " >&6
6975 else case e in #(
6976 e) if test -n "$ac_ct_AR"; then
6977 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6978 else
6979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 for as_dir in $PATH
6981 do
6982 IFS=$as_save_IFS
6983 case $as_dir in #(((
6984 '') as_dir=./ ;;
6985 */) ;;
6986 *) as_dir=$as_dir/ ;;
6987 esac
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6990 ac_cv_prog_ac_ct_AR="$ac_prog"
6991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6992 break 2
6993 fi
6994 done
6995 done
6996 IFS=$as_save_IFS
6997
6998 fi ;;
6999 esac
7000 fi
7001 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7002 if test -n "$ac_ct_AR"; then
7003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7004 printf "%s\n" "$ac_ct_AR" >&6; }
7005 else
7006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007 printf "%s\n" "no" >&6; }
7008 fi
7009
7010
7011 test -n "$ac_ct_AR" && break
7012 done
7013
7014 if test "x$ac_ct_AR" = x; then
7015 AR="false"
7016 else
7017 case $cross_compiling:$ac_tool_warned in
7018 yes:)
7019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7020 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7021 ac_tool_warned=yes ;;
7022 esac
7023 AR=$ac_ct_AR
7024 fi
7025 fi
7026
7027 : ${AR=ar}
7028
7029
7030
7031
7032
7033
7034 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
7035 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7036 # higher priority because that's what people were doing historically (setting
7037 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
7038 # variable obsoleted/removed.
7039
7040 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7041 lt_ar_flags=$AR_FLAGS
7042
7043
7044
7045
7046
7047
7048 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7049 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7050
7051
7052
7053
7054
7055
7056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7057 printf %s "checking for archiver @FILE support... " >&6; }
7058 if test ${lt_cv_ar_at_file+y}
7059 then :
7060 printf %s "(cached) " >&6
7061 else case e in #(
7062 e) lt_cv_ar_at_file=no
7063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7064 /* end confdefs.h. */
7065
7066 int
7067 main (void)
7068 {
7069
7070 ;
7071 return 0;
7072 }
7073 _ACEOF
7074 if ac_fn_c_try_compile "$LINENO"
7075 then :
7076 echo conftest.$ac_objext > conftest.lst
7077 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7078 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7079 (eval $lt_ar_try) 2>&5
7080 ac_status=$?
7081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7082 test $ac_status = 0; }
7083 if test 0 -eq "$ac_status"; then
7084 # Ensure the archiver fails upon bogus file names.
7085 rm -f conftest.$ac_objext libconftest.a
7086 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7087 (eval $lt_ar_try) 2>&5
7088 ac_status=$?
7089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7090 test $ac_status = 0; }
7091 if test 0 -ne "$ac_status"; then
7092 lt_cv_ar_at_file=@
7093 fi
7094 fi
7095 rm -f conftest.* libconftest.a
7096
7097 fi
7098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7099 ;;
7100 esac
7101 fi
7102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7103 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7104
7105 if test no = "$lt_cv_ar_at_file"; then
7106 archiver_list_spec=
7107 else
7108 archiver_list_spec=$lt_cv_ar_at_file
7109 fi
7110
7111
7112
7113
7114
7115
7116
7117 if test -n "$ac_tool_prefix"; then
7118 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7119 set dummy ${ac_tool_prefix}strip; ac_word=$2
7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 printf %s "checking for $ac_word... " >&6; }
7122 if test ${ac_cv_prog_STRIP+y}
7123 then :
7124 printf %s "(cached) " >&6
7125 else case e in #(
7126 e) if test -n "$STRIP"; then
7127 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7128 else
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 for as_dir in $PATH
7131 do
7132 IFS=$as_save_IFS
7133 case $as_dir in #(((
7134 '') as_dir=./ ;;
7135 */) ;;
7136 *) as_dir=$as_dir/ ;;
7137 esac
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7142 break 2
7143 fi
7144 done
7145 done
7146 IFS=$as_save_IFS
7147
7148 fi ;;
7149 esac
7150 fi
7151 STRIP=$ac_cv_prog_STRIP
7152 if test -n "$STRIP"; then
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7154 printf "%s\n" "$STRIP" >&6; }
7155 else
7156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 printf "%s\n" "no" >&6; }
7158 fi
7159
7160
7161 fi
7162 if test -z "$ac_cv_prog_STRIP"; then
7163 ac_ct_STRIP=$STRIP
7164 # Extract the first word of "strip", so it can be a program name with args.
7165 set dummy strip; ac_word=$2
7166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 printf %s "checking for $ac_word... " >&6; }
7168 if test ${ac_cv_prog_ac_ct_STRIP+y}
7169 then :
7170 printf %s "(cached) " >&6
7171 else case e in #(
7172 e) if test -n "$ac_ct_STRIP"; then
7173 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7174 else
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 for as_dir in $PATH
7177 do
7178 IFS=$as_save_IFS
7179 case $as_dir in #(((
7180 '') as_dir=./ ;;
7181 */) ;;
7182 *) as_dir=$as_dir/ ;;
7183 esac
7184 for ac_exec_ext in '' $ac_executable_extensions; do
7185 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7186 ac_cv_prog_ac_ct_STRIP="strip"
7187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7188 break 2
7189 fi
7190 done
7191 done
7192 IFS=$as_save_IFS
7193
7194 fi ;;
7195 esac
7196 fi
7197 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7198 if test -n "$ac_ct_STRIP"; then
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7200 printf "%s\n" "$ac_ct_STRIP" >&6; }
7201 else
7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 printf "%s\n" "no" >&6; }
7204 fi
7205
7206 if test "x$ac_ct_STRIP" = x; then
7207 STRIP=":"
7208 else
7209 case $cross_compiling:$ac_tool_warned in
7210 yes:)
7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7212 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7213 ac_tool_warned=yes ;;
7214 esac
7215 STRIP=$ac_ct_STRIP
7216 fi
7217 else
7218 STRIP="$ac_cv_prog_STRIP"
7219 fi
7220
7221 test -z "$STRIP" && STRIP=:
7222
7223
7224
7225
7226
7227
7228
7229 test -z "$RANLIB" && RANLIB=:
7230
7231
7232
7233
7234
7235
7236 # Determine commands to create old-style static archives.
7237 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7238 old_postinstall_cmds='chmod 644 $oldlib'
7239 old_postuninstall_cmds=
7240
7241 if test -n "$RANLIB"; then
7242 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7243 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7244 fi
7245
7246 case $host_os in
7247 darwin*)
7248 lock_old_archive_extraction=yes ;;
7249 *)
7250 lock_old_archive_extraction=no ;;
7251 esac
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291 # If no C compiler was specified, use CC.
7292 LTCC=${LTCC-"$CC"}
7293
7294 # If no C compiler flags were specified, use CFLAGS.
7295 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7296
7297 # Allow CC to be a program name with arguments.
7298 compiler=$CC
7299
7300
7301 # Check for command to grab the raw symbol name followed by C symbol from nm.
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7303 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7304 if test ${lt_cv_sys_global_symbol_pipe+y}
7305 then :
7306 printf %s "(cached) " >&6
7307 else case e in #(
7308 e)
7309 # These are sane defaults that work on at least a few old systems.
7310 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7311
7312 # Character class describing NM global symbol codes.
7313 symcode='[BCDEGRST]'
7314
7315 # Regexp to match symbols that can be accessed directly from C.
7316 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7317
7318 # Define system-specific variables.
7319 case $host_os in
7320 aix*)
7321 symcode='[BCDT]'
7322 ;;
7323 cygwin* | mingw* | windows* | pw32* | cegcc*)
7324 symcode='[ABCDGISTW]'
7325 ;;
7326 hpux*)
7327 if test ia64 = "$host_cpu"; then
7328 symcode='[ABCDEGRST]'
7329 fi
7330 ;;
7331 irix* | nonstopux*)
7332 symcode='[BCDEGRST]'
7333 ;;
7334 osf*)
7335 symcode='[BCDEGQRST]'
7336 ;;
7337 solaris*)
7338 symcode='[BCDRT]'
7339 ;;
7340 sco3.2v5*)
7341 symcode='[DT]'
7342 ;;
7343 sysv4.2uw2*)
7344 symcode='[DT]'
7345 ;;
7346 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7347 symcode='[ABDT]'
7348 ;;
7349 sysv4)
7350 symcode='[DFNSTU]'
7351 ;;
7352 esac
7353
7354 # If we're using GNU nm, then use its standard symbol codes.
7355 case `$NM -V 2>&1` in
7356 *GNU* | *'with BFD'*)
7357 symcode='[ABCDGIRSTW]' ;;
7358 esac
7359
7360 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7361 # Gets list of data symbols to import.
7362 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7363 # Adjust the below global symbol transforms to fixup imported variables.
7364 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7365 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7366 lt_c_name_lib_hook="\
7367 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7368 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7369 else
7370 # Disable hooks by default.
7371 lt_cv_sys_global_symbol_to_import=
7372 lt_cdecl_hook=
7373 lt_c_name_hook=
7374 lt_c_name_lib_hook=
7375 fi
7376
7377 # Transform an extracted symbol line into a proper C declaration.
7378 # Some systems (esp. on ia64) link data and code symbols differently,
7379 # so use this general approach.
7380 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7381 $lt_cdecl_hook\
7382 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7383 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7384
7385 # Transform an extracted symbol line into symbol name and symbol address
7386 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7387 $lt_c_name_hook\
7388 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7389 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7390
7391 # Transform an extracted symbol line into symbol name with lib prefix and
7392 # symbol address.
7393 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7394 $lt_c_name_lib_hook\
7395 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7396 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7397 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7398
7399 # Handle CRLF in mingw tool chain
7400 opt_cr=
7401 case $build_os in
7402 mingw* | windows*)
7403 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7404 ;;
7405 esac
7406
7407 # Try without a prefix underscore, then with it.
7408 for ac_symprfx in "" "_"; do
7409
7410 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7411 symxfrm="\\1 $ac_symprfx\\2 \\2"
7412
7413 # Write the raw and C identifiers.
7414 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7415 # Fake it for dumpbin and say T for any non-static function,
7416 # D for any global variable and I for any imported variable.
7417 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7418 # which start with @ or ?.
7419 lt_cv_sys_global_symbol_pipe="$AWK '"\
7420 " {last_section=section; section=\$ 3};"\
7421 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7422 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7423 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7424 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7425 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7426 " \$ 0!~/External *\|/{next};"\
7427 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7428 " {if(hide[section]) next};"\
7429 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7430 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7431 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7432 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7433 " ' prfx=^$ac_symprfx"
7434 else
7435 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7436 fi
7437 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7438
7439 # Check to see that the pipe works correctly.
7440 pipe_works=no
7441
7442 rm -f conftest*
7443 cat > conftest.$ac_ext <<_LT_EOF
7444 #ifdef __cplusplus
7445 extern "C" {
7446 #endif
7447 char nm_test_var;
7448 void nm_test_func(void);
7449 void nm_test_func(void){}
7450 #ifdef __cplusplus
7451 }
7452 #endif
7453 int main(void){nm_test_var='a';nm_test_func();return(0);}
7454 _LT_EOF
7455
7456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7457 (eval $ac_compile) 2>&5
7458 ac_status=$?
7459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7460 test $ac_status = 0; }; then
7461 # Now try to grab the symbols.
7462 nlist=conftest.nm
7463 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7464 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7465 # Try sorting and uniquifying the output.
7466 if sort "$nlist" | uniq > "$nlist"T; then
7467 mv -f "$nlist"T "$nlist"
7468 else
7469 rm -f "$nlist"T
7470 fi
7471
7472 # Make sure that we snagged all the symbols we need.
7473 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7474 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7475 cat <<_LT_EOF > conftest.$ac_ext
7476 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7477 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7478 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7479 relocations are performed -- see ld's documentation on pseudo-relocs. */
7480 # define LT_DLSYM_CONST
7481 #elif defined __osf__
7482 /* This system does not cope well with relocations in const data. */
7483 # define LT_DLSYM_CONST
7484 #else
7485 # define LT_DLSYM_CONST const
7486 #endif
7487
7488 #ifdef __cplusplus
7489 extern "C" {
7490 #endif
7491
7492 _LT_EOF
7493 # Now generate the symbol file.
7494 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7495
7496 cat <<_LT_EOF >> conftest.$ac_ext
7497
7498 /* The mapping between symbol names and symbols. */
7499 LT_DLSYM_CONST struct {
7500 const char *name;
7501 void *address;
7502 }
7503 lt__PROGRAM__LTX_preloaded_symbols[] =
7504 {
7505 { "@PROGRAM@", (void *) 0 },
7506 _LT_EOF
7507 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7508 cat <<\_LT_EOF >> conftest.$ac_ext
7509 {0, (void *) 0}
7510 };
7511
7512 /* This works around a problem in FreeBSD linker */
7513 #ifdef FREEBSD_WORKAROUND
7514 static const void *lt_preloaded_setup() {
7515 return lt__PROGRAM__LTX_preloaded_symbols;
7516 }
7517 #endif
7518
7519 #ifdef __cplusplus
7520 }
7521 #endif
7522 _LT_EOF
7523 # Now try linking the two files.
7524 mv conftest.$ac_objext conftstm.$ac_objext
7525 lt_globsym_save_LIBS=$LIBS
7526 lt_globsym_save_CFLAGS=$CFLAGS
7527 LIBS=conftstm.$ac_objext
7528 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7530 (eval $ac_link) 2>&5
7531 ac_status=$?
7532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7533 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7534 pipe_works=yes
7535 fi
7536 LIBS=$lt_globsym_save_LIBS
7537 CFLAGS=$lt_globsym_save_CFLAGS
7538 else
7539 echo "cannot find nm_test_func in $nlist" >&5
7540 fi
7541 else
7542 echo "cannot find nm_test_var in $nlist" >&5
7543 fi
7544 else
7545 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7546 fi
7547 else
7548 echo "$progname: failed program was:" >&5
7549 cat conftest.$ac_ext >&5
7550 fi
7551 rm -rf conftest* conftst*
7552
7553 # Do not use the global_symbol_pipe unless it works.
7554 if test yes = "$pipe_works"; then
7555 break
7556 else
7557 lt_cv_sys_global_symbol_pipe=
7558 fi
7559 done
7560 ;;
7561 esac
7562 fi
7563
7564 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7565 lt_cv_sys_global_symbol_to_cdecl=
7566 fi
7567 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7569 printf "%s\n" "failed" >&6; }
7570 else
7571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7572 printf "%s\n" "ok" >&6; }
7573 fi
7574
7575 # Response file support.
7576 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7577 nm_file_list_spec='@'
7578 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7579 nm_file_list_spec='@'
7580 fi
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7619 printf %s "checking for sysroot... " >&6; }
7620
7621 # Check whether --with-sysroot was given.
7622 if test ${with_sysroot+y}
7623 then :
7624 withval=$with_sysroot;
7625 else case e in #(
7626 e) with_sysroot=no ;;
7627 esac
7628 fi
7629
7630
7631 lt_sysroot=
7632 case $with_sysroot in #(
7633 yes)
7634 if test yes = "$GCC"; then
7635 # Trim trailing / since we'll always append absolute paths and we want
7636 # to avoid //, if only for less confusing output for the user.
7637 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
7638 fi
7639 ;; #(
7640 /*)
7641 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7642 ;; #(
7643 no|'')
7644 ;; #(
7645 *)
7646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7647 printf "%s\n" "$with_sysroot" >&6; }
7648 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7649 ;;
7650 esac
7651
7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7653 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7654
7655
7656
7657
7658
7659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7660 printf %s "checking for a working dd... " >&6; }
7661 if test ${ac_cv_path_lt_DD+y}
7662 then :
7663 printf %s "(cached) " >&6
7664 else case e in #(
7665 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7666 cat conftest.i conftest.i >conftest2.i
7667 : ${lt_DD:=$DD}
7668 if test -z "$lt_DD"; then
7669 ac_path_lt_DD_found=false
7670 # Loop through the user's path and test for each of PROGNAME-LIST
7671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7672 for as_dir in $PATH
7673 do
7674 IFS=$as_save_IFS
7675 case $as_dir in #(((
7676 '') as_dir=./ ;;
7677 */) ;;
7678 *) as_dir=$as_dir/ ;;
7679 esac
7680 for ac_prog in dd
7681 do
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7684 as_fn_executable_p "$ac_path_lt_DD" || continue
7685 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7686 cmp -s conftest.i conftest.out \
7687 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7688 fi
7689 $ac_path_lt_DD_found && break 3
7690 done
7691 done
7692 done
7693 IFS=$as_save_IFS
7694 if test -z "$ac_cv_path_lt_DD"; then
7695 :
7696 fi
7697 else
7698 ac_cv_path_lt_DD=$lt_DD
7699 fi
7700
7701 rm -f conftest.i conftest2.i conftest.out ;;
7702 esac
7703 fi
7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7705 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7706
7707
7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7709 printf %s "checking how to truncate binary pipes... " >&6; }
7710 if test ${lt_cv_truncate_bin+y}
7711 then :
7712 printf %s "(cached) " >&6
7713 else case e in #(
7714 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7715 cat conftest.i conftest.i >conftest2.i
7716 lt_cv_truncate_bin=
7717 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7718 cmp -s conftest.i conftest.out \
7719 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7720 fi
7721 rm -f conftest.i conftest2.i conftest.out
7722 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
7723 esac
7724 fi
7725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7726 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7727
7728
7729
7730
7731
7732
7733
7734 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7735 func_cc_basename ()
7736 {
7737 for cc_temp in $*""; do
7738 case $cc_temp in
7739 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7740 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7741 \-*) ;;
7742 *) break;;
7743 esac
7744 done
7745 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7746 }
7747
7748 # Check whether --enable-libtool-lock was given.
7749 if test ${enable_libtool_lock+y}
7750 then :
7751 enableval=$enable_libtool_lock;
7752 fi
7753
7754 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7755
7756 # Some flags need to be propagated to the compiler or linker for good
7757 # libtool support.
7758 case $host in
7759 ia64-*-hpux*)
7760 # Find out what ABI is being produced by ac_compile, and set mode
7761 # options accordingly.
7762 echo 'int i;' > conftest.$ac_ext
7763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7764 (eval $ac_compile) 2>&5
7765 ac_status=$?
7766 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7767 test $ac_status = 0; }; then
7768 case `$FILECMD conftest.$ac_objext` in
7769 *ELF-32*)
7770 HPUX_IA64_MODE=32
7771 ;;
7772 *ELF-64*)
7773 HPUX_IA64_MODE=64
7774 ;;
7775 esac
7776 fi
7777 rm -rf conftest*
7778 ;;
7779 *-*-irix6*)
7780 # Find out what ABI is being produced by ac_compile, and set linker
7781 # options accordingly.
7782 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7784 (eval $ac_compile) 2>&5
7785 ac_status=$?
7786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7787 test $ac_status = 0; }; then
7788 if test yes = "$lt_cv_prog_gnu_ld"; then
7789 case `$FILECMD conftest.$ac_objext` in
7790 *32-bit*)
7791 LD="${LD-ld} -melf32bsmip"
7792 ;;
7793 *N32*)
7794 LD="${LD-ld} -melf32bmipn32"
7795 ;;
7796 *64-bit*)
7797 LD="${LD-ld} -melf64bmip"
7798 ;;
7799 esac
7800 else
7801 case `$FILECMD conftest.$ac_objext` in
7802 *32-bit*)
7803 LD="${LD-ld} -32"
7804 ;;
7805 *N32*)
7806 LD="${LD-ld} -n32"
7807 ;;
7808 *64-bit*)
7809 LD="${LD-ld} -64"
7810 ;;
7811 esac
7812 fi
7813 fi
7814 rm -rf conftest*
7815 ;;
7816
7817 mips64*-*linux*)
7818 # Find out what ABI is being produced by ac_compile, and set linker
7819 # options accordingly.
7820 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7822 (eval $ac_compile) 2>&5
7823 ac_status=$?
7824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7825 test $ac_status = 0; }; then
7826 emul=elf
7827 case `$FILECMD conftest.$ac_objext` in
7828 *32-bit*)
7829 emul="${emul}32"
7830 ;;
7831 *64-bit*)
7832 emul="${emul}64"
7833 ;;
7834 esac
7835 case `$FILECMD conftest.$ac_objext` in
7836 *MSB*)
7837 emul="${emul}btsmip"
7838 ;;
7839 *LSB*)
7840 emul="${emul}ltsmip"
7841 ;;
7842 esac
7843 case `$FILECMD conftest.$ac_objext` in
7844 *N32*)
7845 emul="${emul}n32"
7846 ;;
7847 esac
7848 LD="${LD-ld} -m $emul"
7849 fi
7850 rm -rf conftest*
7851 ;;
7852
7853 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7854 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
7855 # Find out what ABI is being produced by ac_compile, and set linker
7856 # options accordingly. Note that the listed cases only cover the
7857 # situations where additional linker options are needed (such as when
7858 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7859 # vice versa); the common cases where no linker options are needed do
7860 # not appear in the list.
7861 echo 'int i;' > conftest.$ac_ext
7862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7863 (eval $ac_compile) 2>&5
7864 ac_status=$?
7865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7866 test $ac_status = 0; }; then
7867 case `$FILECMD conftest.o` in
7868 *32-bit*)
7869 case $host in
7870 x86_64-*kfreebsd*-gnu)
7871 LD="${LD-ld} -m elf_i386_fbsd"
7872 ;;
7873 x86_64-*linux*|x86_64-gnu*)
7874 case `$FILECMD conftest.o` in
7875 *x86-64*)
7876 LD="${LD-ld} -m elf32_x86_64"
7877 ;;
7878 *)
7879 LD="${LD-ld} -m elf_i386"
7880 ;;
7881 esac
7882 ;;
7883 powerpc64le-*linux*)
7884 LD="${LD-ld} -m elf32lppclinux"
7885 ;;
7886 powerpc64-*linux*)
7887 LD="${LD-ld} -m elf32ppclinux"
7888 ;;
7889 s390x-*linux*)
7890 LD="${LD-ld} -m elf_s390"
7891 ;;
7892 sparc64-*linux*)
7893 LD="${LD-ld} -m elf32_sparc"
7894 ;;
7895 esac
7896 ;;
7897 *64-bit*)
7898 case $host in
7899 x86_64-*kfreebsd*-gnu)
7900 LD="${LD-ld} -m elf_x86_64_fbsd"
7901 ;;
7902 x86_64-*linux*|x86_64-gnu*)
7903 LD="${LD-ld} -m elf_x86_64"
7904 ;;
7905 powerpcle-*linux*)
7906 LD="${LD-ld} -m elf64lppc"
7907 ;;
7908 powerpc-*linux*)
7909 LD="${LD-ld} -m elf64ppc"
7910 ;;
7911 s390*-*linux*|s390*-*tpf*)
7912 LD="${LD-ld} -m elf64_s390"
7913 ;;
7914 sparc*-*linux*)
7915 LD="${LD-ld} -m elf64_sparc"
7916 ;;
7917 esac
7918 ;;
7919 esac
7920 fi
7921 rm -rf conftest*
7922 ;;
7923
7924 *-*-sco3.2v5*)
7925 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7926 SAVE_CFLAGS=$CFLAGS
7927 CFLAGS="$CFLAGS -belf"
7928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7929 printf %s "checking whether the C compiler needs -belf... " >&6; }
7930 if test ${lt_cv_cc_needs_belf+y}
7931 then :
7932 printf %s "(cached) " >&6
7933 else case e in #(
7934 e) ac_ext=c
7935 ac_cpp='$CPP $CPPFLAGS'
7936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7939
7940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7941 /* end confdefs.h. */
7942
7943 int
7944 main (void)
7945 {
7946
7947 ;
7948 return 0;
7949 }
7950 _ACEOF
7951 if ac_fn_c_try_link "$LINENO"
7952 then :
7953 lt_cv_cc_needs_belf=yes
7954 else case e in #(
7955 e) lt_cv_cc_needs_belf=no ;;
7956 esac
7957 fi
7958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7959 conftest$ac_exeext conftest.$ac_ext
7960 ac_ext=c
7961 ac_cpp='$CPP $CPPFLAGS'
7962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7965 ;;
7966 esac
7967 fi
7968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7969 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7970 if test yes != "$lt_cv_cc_needs_belf"; then
7971 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7972 CFLAGS=$SAVE_CFLAGS
7973 fi
7974 ;;
7975 *-*solaris*)
7976 # Find out what ABI is being produced by ac_compile, and set linker
7977 # options accordingly.
7978 echo 'int i;' > conftest.$ac_ext
7979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7980 (eval $ac_compile) 2>&5
7981 ac_status=$?
7982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7983 test $ac_status = 0; }; then
7984 case `$FILECMD conftest.o` in
7985 *64-bit*)
7986 case $lt_cv_prog_gnu_ld in
7987 yes*)
7988 case $host in
7989 i?86-*-solaris*|x86_64-*-solaris*)
7990 LD="${LD-ld} -m elf_x86_64"
7991 ;;
7992 sparc*-*-solaris*)
7993 LD="${LD-ld} -m elf64_sparc"
7994 ;;
7995 esac
7996 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7997 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7998 LD=${LD-ld}_sol2
7999 fi
8000 ;;
8001 *)
8002 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8003 LD="${LD-ld} -64"
8004 fi
8005 ;;
8006 esac
8007 ;;
8008 esac
8009 fi
8010 rm -rf conftest*
8011 ;;
8012 esac
8013
8014 need_locks=$enable_libtool_lock
8015
8016 if test -n "$ac_tool_prefix"; then
8017 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8018 set dummy ${ac_tool_prefix}mt; ac_word=$2
8019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8020 printf %s "checking for $ac_word... " >&6; }
8021 if test ${ac_cv_prog_MANIFEST_TOOL+y}
8022 then :
8023 printf %s "(cached) " >&6
8024 else case e in #(
8025 e) if test -n "$MANIFEST_TOOL"; then
8026 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8027 else
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 for as_dir in $PATH
8030 do
8031 IFS=$as_save_IFS
8032 case $as_dir in #(((
8033 '') as_dir=./ ;;
8034 */) ;;
8035 *) as_dir=$as_dir/ ;;
8036 esac
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8041 break 2
8042 fi
8043 done
8044 done
8045 IFS=$as_save_IFS
8046
8047 fi ;;
8048 esac
8049 fi
8050 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8051 if test -n "$MANIFEST_TOOL"; then
8052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8053 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8054 else
8055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 printf "%s\n" "no" >&6; }
8057 fi
8058
8059
8060 fi
8061 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8062 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8063 # Extract the first word of "mt", so it can be a program name with args.
8064 set dummy mt; ac_word=$2
8065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8066 printf %s "checking for $ac_word... " >&6; }
8067 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8068 then :
8069 printf %s "(cached) " >&6
8070 else case e in #(
8071 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
8072 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8073 else
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8075 for as_dir in $PATH
8076 do
8077 IFS=$as_save_IFS
8078 case $as_dir in #(((
8079 '') as_dir=./ ;;
8080 */) ;;
8081 *) as_dir=$as_dir/ ;;
8082 esac
8083 for ac_exec_ext in '' $ac_executable_extensions; do
8084 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8085 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8087 break 2
8088 fi
8089 done
8090 done
8091 IFS=$as_save_IFS
8092
8093 fi ;;
8094 esac
8095 fi
8096 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8097 if test -n "$ac_ct_MANIFEST_TOOL"; then
8098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8099 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8100 else
8101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 printf "%s\n" "no" >&6; }
8103 fi
8104
8105 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8106 MANIFEST_TOOL=":"
8107 else
8108 case $cross_compiling:$ac_tool_warned in
8109 yes:)
8110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8113 esac
8114 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8115 fi
8116 else
8117 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8118 fi
8119
8120 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8122 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8123 if test ${lt_cv_path_manifest_tool+y}
8124 then :
8125 printf %s "(cached) " >&6
8126 else case e in #(
8127 e) lt_cv_path_manifest_tool=no
8128 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8129 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8130 cat conftest.err >&5
8131 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8132 lt_cv_path_manifest_tool=yes
8133 fi
8134 rm -f conftest* ;;
8135 esac
8136 fi
8137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
8138 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
8139 if test yes != "$lt_cv_path_manifest_tool"; then
8140 MANIFEST_TOOL=:
8141 fi
8142
8143
8144
8145
8146
8147
8148 case $host_os in
8149 rhapsody* | darwin*)
8150 if test -n "$ac_tool_prefix"; then
8151 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8152 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 printf %s "checking for $ac_word... " >&6; }
8155 if test ${ac_cv_prog_DSYMUTIL+y}
8156 then :
8157 printf %s "(cached) " >&6
8158 else case e in #(
8159 e) if test -n "$DSYMUTIL"; then
8160 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8161 else
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH
8164 do
8165 IFS=$as_save_IFS
8166 case $as_dir in #(((
8167 '') as_dir=./ ;;
8168 */) ;;
8169 *) as_dir=$as_dir/ ;;
8170 esac
8171 for ac_exec_ext in '' $ac_executable_extensions; do
8172 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8173 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8175 break 2
8176 fi
8177 done
8178 done
8179 IFS=$as_save_IFS
8180
8181 fi ;;
8182 esac
8183 fi
8184 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8185 if test -n "$DSYMUTIL"; then
8186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8187 printf "%s\n" "$DSYMUTIL" >&6; }
8188 else
8189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8190 printf "%s\n" "no" >&6; }
8191 fi
8192
8193
8194 fi
8195 if test -z "$ac_cv_prog_DSYMUTIL"; then
8196 ac_ct_DSYMUTIL=$DSYMUTIL
8197 # Extract the first word of "dsymutil", so it can be a program name with args.
8198 set dummy dsymutil; ac_word=$2
8199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8200 printf %s "checking for $ac_word... " >&6; }
8201 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8202 then :
8203 printf %s "(cached) " >&6
8204 else case e in #(
8205 e) if test -n "$ac_ct_DSYMUTIL"; then
8206 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8207 else
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 for as_dir in $PATH
8210 do
8211 IFS=$as_save_IFS
8212 case $as_dir in #(((
8213 '') as_dir=./ ;;
8214 */) ;;
8215 *) as_dir=$as_dir/ ;;
8216 esac
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8221 break 2
8222 fi
8223 done
8224 done
8225 IFS=$as_save_IFS
8226
8227 fi ;;
8228 esac
8229 fi
8230 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8231 if test -n "$ac_ct_DSYMUTIL"; then
8232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8233 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8234 else
8235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 printf "%s\n" "no" >&6; }
8237 fi
8238
8239 if test "x$ac_ct_DSYMUTIL" = x; then
8240 DSYMUTIL=":"
8241 else
8242 case $cross_compiling:$ac_tool_warned in
8243 yes:)
8244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8245 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8246 ac_tool_warned=yes ;;
8247 esac
8248 DSYMUTIL=$ac_ct_DSYMUTIL
8249 fi
8250 else
8251 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8252 fi
8253
8254 if test -n "$ac_tool_prefix"; then
8255 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8256 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8258 printf %s "checking for $ac_word... " >&6; }
8259 if test ${ac_cv_prog_NMEDIT+y}
8260 then :
8261 printf %s "(cached) " >&6
8262 else case e in #(
8263 e) if test -n "$NMEDIT"; then
8264 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8265 else
8266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 for as_dir in $PATH
8268 do
8269 IFS=$as_save_IFS
8270 case $as_dir in #(((
8271 '') as_dir=./ ;;
8272 */) ;;
8273 *) as_dir=$as_dir/ ;;
8274 esac
8275 for ac_exec_ext in '' $ac_executable_extensions; do
8276 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8277 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8279 break 2
8280 fi
8281 done
8282 done
8283 IFS=$as_save_IFS
8284
8285 fi ;;
8286 esac
8287 fi
8288 NMEDIT=$ac_cv_prog_NMEDIT
8289 if test -n "$NMEDIT"; then
8290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8291 printf "%s\n" "$NMEDIT" >&6; }
8292 else
8293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 printf "%s\n" "no" >&6; }
8295 fi
8296
8297
8298 fi
8299 if test -z "$ac_cv_prog_NMEDIT"; then
8300 ac_ct_NMEDIT=$NMEDIT
8301 # Extract the first word of "nmedit", so it can be a program name with args.
8302 set dummy nmedit; ac_word=$2
8303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304 printf %s "checking for $ac_word... " >&6; }
8305 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8306 then :
8307 printf %s "(cached) " >&6
8308 else case e in #(
8309 e) if test -n "$ac_ct_NMEDIT"; then
8310 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8311 else
8312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8313 for as_dir in $PATH
8314 do
8315 IFS=$as_save_IFS
8316 case $as_dir in #(((
8317 '') as_dir=./ ;;
8318 */) ;;
8319 *) as_dir=$as_dir/ ;;
8320 esac
8321 for ac_exec_ext in '' $ac_executable_extensions; do
8322 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8323 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8325 break 2
8326 fi
8327 done
8328 done
8329 IFS=$as_save_IFS
8330
8331 fi ;;
8332 esac
8333 fi
8334 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8335 if test -n "$ac_ct_NMEDIT"; then
8336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8337 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8338 else
8339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 printf "%s\n" "no" >&6; }
8341 fi
8342
8343 if test "x$ac_ct_NMEDIT" = x; then
8344 NMEDIT=":"
8345 else
8346 case $cross_compiling:$ac_tool_warned in
8347 yes:)
8348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8349 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8350 ac_tool_warned=yes ;;
8351 esac
8352 NMEDIT=$ac_ct_NMEDIT
8353 fi
8354 else
8355 NMEDIT="$ac_cv_prog_NMEDIT"
8356 fi
8357
8358 if test -n "$ac_tool_prefix"; then
8359 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8360 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8362 printf %s "checking for $ac_word... " >&6; }
8363 if test ${ac_cv_prog_LIPO+y}
8364 then :
8365 printf %s "(cached) " >&6
8366 else case e in #(
8367 e) if test -n "$LIPO"; then
8368 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8369 else
8370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371 for as_dir in $PATH
8372 do
8373 IFS=$as_save_IFS
8374 case $as_dir in #(((
8375 '') as_dir=./ ;;
8376 */) ;;
8377 *) as_dir=$as_dir/ ;;
8378 esac
8379 for ac_exec_ext in '' $ac_executable_extensions; do
8380 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8381 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8383 break 2
8384 fi
8385 done
8386 done
8387 IFS=$as_save_IFS
8388
8389 fi ;;
8390 esac
8391 fi
8392 LIPO=$ac_cv_prog_LIPO
8393 if test -n "$LIPO"; then
8394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8395 printf "%s\n" "$LIPO" >&6; }
8396 else
8397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 printf "%s\n" "no" >&6; }
8399 fi
8400
8401
8402 fi
8403 if test -z "$ac_cv_prog_LIPO"; then
8404 ac_ct_LIPO=$LIPO
8405 # Extract the first word of "lipo", so it can be a program name with args.
8406 set dummy lipo; ac_word=$2
8407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8408 printf %s "checking for $ac_word... " >&6; }
8409 if test ${ac_cv_prog_ac_ct_LIPO+y}
8410 then :
8411 printf %s "(cached) " >&6
8412 else case e in #(
8413 e) if test -n "$ac_ct_LIPO"; then
8414 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8415 else
8416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8417 for as_dir in $PATH
8418 do
8419 IFS=$as_save_IFS
8420 case $as_dir in #(((
8421 '') as_dir=./ ;;
8422 */) ;;
8423 *) as_dir=$as_dir/ ;;
8424 esac
8425 for ac_exec_ext in '' $ac_executable_extensions; do
8426 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8427 ac_cv_prog_ac_ct_LIPO="lipo"
8428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8429 break 2
8430 fi
8431 done
8432 done
8433 IFS=$as_save_IFS
8434
8435 fi ;;
8436 esac
8437 fi
8438 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8439 if test -n "$ac_ct_LIPO"; then
8440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8441 printf "%s\n" "$ac_ct_LIPO" >&6; }
8442 else
8443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 printf "%s\n" "no" >&6; }
8445 fi
8446
8447 if test "x$ac_ct_LIPO" = x; then
8448 LIPO=":"
8449 else
8450 case $cross_compiling:$ac_tool_warned in
8451 yes:)
8452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8453 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8454 ac_tool_warned=yes ;;
8455 esac
8456 LIPO=$ac_ct_LIPO
8457 fi
8458 else
8459 LIPO="$ac_cv_prog_LIPO"
8460 fi
8461
8462 if test -n "$ac_tool_prefix"; then
8463 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8464 set dummy ${ac_tool_prefix}otool; ac_word=$2
8465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8466 printf %s "checking for $ac_word... " >&6; }
8467 if test ${ac_cv_prog_OTOOL+y}
8468 then :
8469 printf %s "(cached) " >&6
8470 else case e in #(
8471 e) if test -n "$OTOOL"; then
8472 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8473 else
8474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8475 for as_dir in $PATH
8476 do
8477 IFS=$as_save_IFS
8478 case $as_dir in #(((
8479 '') as_dir=./ ;;
8480 */) ;;
8481 *) as_dir=$as_dir/ ;;
8482 esac
8483 for ac_exec_ext in '' $ac_executable_extensions; do
8484 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8485 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8487 break 2
8488 fi
8489 done
8490 done
8491 IFS=$as_save_IFS
8492
8493 fi ;;
8494 esac
8495 fi
8496 OTOOL=$ac_cv_prog_OTOOL
8497 if test -n "$OTOOL"; then
8498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8499 printf "%s\n" "$OTOOL" >&6; }
8500 else
8501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 printf "%s\n" "no" >&6; }
8503 fi
8504
8505
8506 fi
8507 if test -z "$ac_cv_prog_OTOOL"; then
8508 ac_ct_OTOOL=$OTOOL
8509 # Extract the first word of "otool", so it can be a program name with args.
8510 set dummy otool; ac_word=$2
8511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8512 printf %s "checking for $ac_word... " >&6; }
8513 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8514 then :
8515 printf %s "(cached) " >&6
8516 else case e in #(
8517 e) if test -n "$ac_ct_OTOOL"; then
8518 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8519 else
8520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8521 for as_dir in $PATH
8522 do
8523 IFS=$as_save_IFS
8524 case $as_dir in #(((
8525 '') as_dir=./ ;;
8526 */) ;;
8527 *) as_dir=$as_dir/ ;;
8528 esac
8529 for ac_exec_ext in '' $ac_executable_extensions; do
8530 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8531 ac_cv_prog_ac_ct_OTOOL="otool"
8532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8533 break 2
8534 fi
8535 done
8536 done
8537 IFS=$as_save_IFS
8538
8539 fi ;;
8540 esac
8541 fi
8542 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8543 if test -n "$ac_ct_OTOOL"; then
8544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8545 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8546 else
8547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 printf "%s\n" "no" >&6; }
8549 fi
8550
8551 if test "x$ac_ct_OTOOL" = x; then
8552 OTOOL=":"
8553 else
8554 case $cross_compiling:$ac_tool_warned in
8555 yes:)
8556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8557 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8558 ac_tool_warned=yes ;;
8559 esac
8560 OTOOL=$ac_ct_OTOOL
8561 fi
8562 else
8563 OTOOL="$ac_cv_prog_OTOOL"
8564 fi
8565
8566 if test -n "$ac_tool_prefix"; then
8567 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8568 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8570 printf %s "checking for $ac_word... " >&6; }
8571 if test ${ac_cv_prog_OTOOL64+y}
8572 then :
8573 printf %s "(cached) " >&6
8574 else case e in #(
8575 e) if test -n "$OTOOL64"; then
8576 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8577 else
8578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8579 for as_dir in $PATH
8580 do
8581 IFS=$as_save_IFS
8582 case $as_dir in #(((
8583 '') as_dir=./ ;;
8584 */) ;;
8585 *) as_dir=$as_dir/ ;;
8586 esac
8587 for ac_exec_ext in '' $ac_executable_extensions; do
8588 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8589 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8591 break 2
8592 fi
8593 done
8594 done
8595 IFS=$as_save_IFS
8596
8597 fi ;;
8598 esac
8599 fi
8600 OTOOL64=$ac_cv_prog_OTOOL64
8601 if test -n "$OTOOL64"; then
8602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8603 printf "%s\n" "$OTOOL64" >&6; }
8604 else
8605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8606 printf "%s\n" "no" >&6; }
8607 fi
8608
8609
8610 fi
8611 if test -z "$ac_cv_prog_OTOOL64"; then
8612 ac_ct_OTOOL64=$OTOOL64
8613 # Extract the first word of "otool64", so it can be a program name with args.
8614 set dummy otool64; ac_word=$2
8615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8616 printf %s "checking for $ac_word... " >&6; }
8617 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8618 then :
8619 printf %s "(cached) " >&6
8620 else case e in #(
8621 e) if test -n "$ac_ct_OTOOL64"; then
8622 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8623 else
8624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8625 for as_dir in $PATH
8626 do
8627 IFS=$as_save_IFS
8628 case $as_dir in #(((
8629 '') as_dir=./ ;;
8630 */) ;;
8631 *) as_dir=$as_dir/ ;;
8632 esac
8633 for ac_exec_ext in '' $ac_executable_extensions; do
8634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8635 ac_cv_prog_ac_ct_OTOOL64="otool64"
8636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8637 break 2
8638 fi
8639 done
8640 done
8641 IFS=$as_save_IFS
8642
8643 fi ;;
8644 esac
8645 fi
8646 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8647 if test -n "$ac_ct_OTOOL64"; then
8648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8649 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8650 else
8651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8652 printf "%s\n" "no" >&6; }
8653 fi
8654
8655 if test "x$ac_ct_OTOOL64" = x; then
8656 OTOOL64=":"
8657 else
8658 case $cross_compiling:$ac_tool_warned in
8659 yes:)
8660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8661 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8662 ac_tool_warned=yes ;;
8663 esac
8664 OTOOL64=$ac_ct_OTOOL64
8665 fi
8666 else
8667 OTOOL64="$ac_cv_prog_OTOOL64"
8668 fi
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8697 printf %s "checking for -single_module linker flag... " >&6; }
8698 if test ${lt_cv_apple_cc_single_mod+y}
8699 then :
8700 printf %s "(cached) " >&6
8701 else case e in #(
8702 e) lt_cv_apple_cc_single_mod=no
8703 if test -z "$LT_MULTI_MODULE"; then
8704 # By default we will add the -single_module flag. You can override
8705 # by either setting the environment variable LT_MULTI_MODULE
8706 # non-empty at configure time, or by adding -multi_module to the
8707 # link flags.
8708 rm -rf libconftest.dylib*
8709 echo "int foo(void){return 1;}" > conftest.c
8710 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8711 -dynamiclib -Wl,-single_module conftest.c" >&5
8712 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8713 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8714 _lt_result=$?
8715 # If there is a non-empty error log, and "single_module"
8716 # appears in it, assume the flag caused a linker warning
8717 if test -s conftest.err && $GREP single_module conftest.err; then
8718 cat conftest.err >&5
8719 # Otherwise, if the output was created with a 0 exit code from
8720 # the compiler, it worked.
8721 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8722 lt_cv_apple_cc_single_mod=yes
8723 else
8724 cat conftest.err >&5
8725 fi
8726 rm -rf libconftest.dylib*
8727 rm -f conftest.*
8728 fi ;;
8729 esac
8730 fi
8731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8732 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8733
8734 # Feature test to disable chained fixups since it is not
8735 # compatible with '-undefined dynamic_lookup'
8736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
8737 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
8738 if test ${lt_cv_support_no_fixup_chains+y}
8739 then :
8740 printf %s "(cached) " >&6
8741 else case e in #(
8742 e) save_LDFLAGS=$LDFLAGS
8743 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746
8747 int
8748 main (void)
8749 {
8750
8751 ;
8752 return 0;
8753 }
8754 _ACEOF
8755 if ac_fn_c_try_link "$LINENO"
8756 then :
8757 lt_cv_support_no_fixup_chains=yes
8758 else case e in #(
8759 e) lt_cv_support_no_fixup_chains=no
8760 ;;
8761 esac
8762 fi
8763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8764 conftest$ac_exeext conftest.$ac_ext
8765 LDFLAGS=$save_LDFLAGS
8766
8767 ;;
8768 esac
8769 fi
8770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
8771 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
8772
8773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8774 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8775 if test ${lt_cv_ld_exported_symbols_list+y}
8776 then :
8777 printf %s "(cached) " >&6
8778 else case e in #(
8779 e) lt_cv_ld_exported_symbols_list=no
8780 save_LDFLAGS=$LDFLAGS
8781 echo "_main" > conftest.sym
8782 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8785
8786 int
8787 main (void)
8788 {
8789
8790 ;
8791 return 0;
8792 }
8793 _ACEOF
8794 if ac_fn_c_try_link "$LINENO"
8795 then :
8796 lt_cv_ld_exported_symbols_list=yes
8797 else case e in #(
8798 e) lt_cv_ld_exported_symbols_list=no ;;
8799 esac
8800 fi
8801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8802 conftest$ac_exeext conftest.$ac_ext
8803 LDFLAGS=$save_LDFLAGS
8804 ;;
8805 esac
8806 fi
8807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8808 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8809
8810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8811 printf %s "checking for -force_load linker flag... " >&6; }
8812 if test ${lt_cv_ld_force_load+y}
8813 then :
8814 printf %s "(cached) " >&6
8815 else case e in #(
8816 e) lt_cv_ld_force_load=no
8817 cat > conftest.c << _LT_EOF
8818 int forced_loaded() { return 2;}
8819 _LT_EOF
8820 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8821 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8822 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8823 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8824 echo "$RANLIB libconftest.a" >&5
8825 $RANLIB libconftest.a 2>&5
8826 cat > conftest.c << _LT_EOF
8827 int main(void) { return 0;}
8828 _LT_EOF
8829 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8830 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8831 _lt_result=$?
8832 if test -s conftest.err && $GREP force_load conftest.err; then
8833 cat conftest.err >&5
8834 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8835 lt_cv_ld_force_load=yes
8836 else
8837 cat conftest.err >&5
8838 fi
8839 rm -f conftest.err libconftest.a conftest conftest.c
8840 rm -rf conftest.dSYM
8841 ;;
8842 esac
8843 fi
8844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8845 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8846 case $host_os in
8847 rhapsody* | darwin1.[012])
8848 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8849 darwin1.*)
8850 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8851 darwin*)
8852 case $MACOSX_DEPLOYMENT_TARGET,$host in
8853 10.[012],*|,*powerpc*-darwin[5-8]*)
8854 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8855 *)
8856 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
8857 if test yes = "$lt_cv_support_no_fixup_chains"; then
8858 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
8859 fi
8860 ;;
8861 esac
8862 ;;
8863 esac
8864 if test yes = "$lt_cv_apple_cc_single_mod"; then
8865 _lt_dar_single_mod='$single_module'
8866 fi
8867 _lt_dar_needs_single_mod=no
8868 case $host_os in
8869 rhapsody* | darwin1.*)
8870 _lt_dar_needs_single_mod=yes ;;
8871 darwin*)
8872 # When targeting Mac OS X 10.4 (darwin 8) or later,
8873 # -single_module is the default and -multi_module is unsupported.
8874 # The toolchain on macOS 10.14 (darwin 18) and later cannot
8875 # target any OS version that needs -single_module.
8876 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8877 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
8878 _lt_dar_needs_single_mod=yes ;;
8879 esac
8880 ;;
8881 esac
8882 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8883 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8884 else
8885 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8886 fi
8887 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8888 _lt_dsymutil='~$DSYMUTIL $lib || :'
8889 else
8890 _lt_dsymutil=
8891 fi
8892 ;;
8893 esac
8894
8895 # func_munge_path_list VARIABLE PATH
8896 # -----------------------------------
8897 # VARIABLE is name of variable containing _space_ separated list of
8898 # directories to be munged by the contents of PATH, which is string
8899 # having a format:
8900 # "DIR[:DIR]:"
8901 # string "DIR[ DIR]" will be prepended to VARIABLE
8902 # ":DIR[:DIR]"
8903 # string "DIR[ DIR]" will be appended to VARIABLE
8904 # "DIRP[:DIRP]::[DIRA:]DIRA"
8905 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8906 # "DIRA[ DIRA]" will be appended to VARIABLE
8907 # "DIR[:DIR]"
8908 # VARIABLE will be replaced by "DIR[ DIR]"
8909 func_munge_path_list ()
8910 {
8911 case x$2 in
8912 x)
8913 ;;
8914 *:)
8915 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8916 ;;
8917 x:*)
8918 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8919 ;;
8920 *::*)
8921 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8922 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8923 ;;
8924 *)
8925 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8926 ;;
8927 esac
8928 }
8929
8930 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8931 "
8932 if test "x$ac_cv_header_dlfcn_h" = xyes
8933 then :
8934 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8935
8936 fi
8937
8938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
8939 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
8940 if test ${ac_cv_c_undeclared_builtin_options+y}
8941 then :
8942 printf %s "(cached) " >&6
8943 else case e in #(
8944 e) ac_save_CFLAGS=$CFLAGS
8945 ac_cv_c_undeclared_builtin_options='cannot detect'
8946 for ac_arg in '' -fno-builtin; do
8947 CFLAGS="$ac_save_CFLAGS $ac_arg"
8948 # This test program should *not* compile successfully.
8949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8950 /* end confdefs.h. */
8951
8952 int
8953 main (void)
8954 {
8955 (void) strchr;
8956 ;
8957 return 0;
8958 }
8959 _ACEOF
8960 if ac_fn_c_try_compile "$LINENO"
8961 then :
8962
8963 else case e in #(
8964 e) # This test program should compile successfully.
8965 # No library function is consistently available on
8966 # freestanding implementations, so test against a dummy
8967 # declaration. Include always-available headers on the
8968 # off chance that they somehow elicit warnings.
8969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8970 /* end confdefs.h. */
8971 #include <float.h>
8972 #include <limits.h>
8973 #include <stdarg.h>
8974 #include <stddef.h>
8975 extern void ac_decl (int, char *);
8976
8977 int
8978 main (void)
8979 {
8980 (void) ac_decl (0, (char *) 0);
8981 (void) ac_decl;
8982
8983 ;
8984 return 0;
8985 }
8986 _ACEOF
8987 if ac_fn_c_try_compile "$LINENO"
8988 then :
8989 if test x"$ac_arg" = x
8990 then :
8991 ac_cv_c_undeclared_builtin_options='none needed'
8992 else case e in #(
8993 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
8994 esac
8995 fi
8996 break
8997 fi
8998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
8999 esac
9000 fi
9001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9002 done
9003 CFLAGS=$ac_save_CFLAGS
9004 ;;
9005 esac
9006 fi
9007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
9008 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
9009 case $ac_cv_c_undeclared_builtin_options in #(
9010 'cannot detect') :
9011 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
9012 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
9013 as_fn_error $? "cannot make $CC report undeclared builtins
9014 See 'config.log' for more details" "$LINENO" 5; } ;; #(
9015 'none needed') :
9016 ac_c_undeclared_builtin_options='' ;; #(
9017 *) :
9018 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
9019 esac
9020
9021 echo 'tldbg:KPSE_COMMON called (pkg=gsftopk, amopt=)' >&5
9022 echo 'tldbg:KPSE_BASIC called (pkg=gsftopk, amopt=)' >&5
9023
9024 #
9025 # am_init_automake
9026 if test "`cd $srcdir && pwd`" != "`pwd`"; then
9027 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9028 # is not polluted with repeated "-I."
9029 am__isrc=' -I$(srcdir)'
9030 # test to see if srcdir already configured
9031 if test -f $srcdir/config.status; then
9032 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
9033 fi
9034 fi
9035
9036 # test whether we have cygpath
9037 if test -z "$CYGPATH_W"; then
9038 if (cygpath --version) >/dev/null 2>/dev/null; then
9039 CYGPATH_W='cygpath -w'
9040 else
9041 CYGPATH_W=echo
9042 fi
9043 fi
9044
9045
9046 # Define the identity of the package.
9047 PACKAGE='gsftopk--tex-live-'
9048 VERSION='1.19.2'
9049
9050
9051 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
9052
9053
9054 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
9055
9056 # Some tools Automake needs.
9057
9058 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9059
9060
9061 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9062
9063
9064 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9065
9066
9067 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9068
9069
9070 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9071
9072 # For better backward compatibility. To be removed once Automake 1.9.x
9073 # dies out for good. For more background, see:
9074 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9075 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9076 mkdir_p='$(MKDIR_P)'
9077
9078 # We need awk for the "check" target (and possibly the TAP driver). The
9079 # system "awk" is bad on some platforms.
9080 # Always define AMTAR for backward compatibility. Yes, it's still used
9081 # in the wild :-( We should find a proper way to deprecate it ...
9082 AMTAR='$${TAR-tar}'
9083
9084
9085 # We'll loop over all known methods to create a tar archive until one works.
9086 _am_tools='gnutar plaintar pax cpio none'
9087
9088 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
9089 # There is notably a 21 bits limit for the UID and the GID. In fact,
9090 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
9091 # and bug#13588).
9092 am_max_uid=2097151 # 2^21 - 1
9093 am_max_gid=$am_max_uid
9094 # The $UID and $GID variables are not portable, so we need to resort
9095 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
9096 # below are definitely unexpected, so allow the users to see them
9097 # (that is, avoid stderr redirection).
9098 am_uid=`id -u || echo unknown`
9099 am_gid=`id -g || echo unknown`
9100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
9101 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
9102 if test x$am_uid = xunknown; then
9103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
9104 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
9105 elif test $am_uid -le $am_max_uid; then
9106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9107 printf "%s\n" "yes" >&6; }
9108 else
9109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9110 printf "%s\n" "no" >&6; }
9111 _am_tools=none
9112 fi
9113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
9114 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
9115 if test x$gm_gid = xunknown; then
9116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
9117 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
9118 elif test $am_gid -le $am_max_gid; then
9119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9120 printf "%s\n" "yes" >&6; }
9121 else
9122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9123 printf "%s\n" "no" >&6; }
9124 _am_tools=none
9125 fi
9126
9127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
9128 printf %s "checking how to create a ustar tar archive... " >&6; }
9129
9130 # Go ahead even if we have the value already cached. We do so because we
9131 # need to set the values for the 'am__tar' and 'am__untar' variables.
9132 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
9133
9134 for _am_tool in $_am_tools; do
9135 case $_am_tool in
9136 gnutar)
9137 for _am_tar in tar gnutar gtar; do
9138 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9139 ($_am_tar --version) >&5 2>&5
9140 ac_status=$?
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } && break
9143 done
9144 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
9145 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
9146 am__untar="$_am_tar -xf -"
9147 ;;
9148 plaintar)
9149 # Must skip GNU tar: if it does not support --format= it doesn't create
9150 # ustar tarball either.
9151 (tar --version) >/dev/null 2>&1 && continue
9152 am__tar='tar chf - "$$tardir"'
9153 am__tar_='tar chf - "$tardir"'
9154 am__untar='tar xf -'
9155 ;;
9156 pax)
9157 am__tar='pax -L -x ustar -w "$$tardir"'
9158 am__tar_='pax -L -x ustar -w "$tardir"'
9159 am__untar='pax -r'
9160 ;;
9161 cpio)
9162 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
9163 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
9164 am__untar='cpio -i -H ustar -d'
9165 ;;
9166 none)
9167 am__tar=false
9168 am__tar_=false
9169 am__untar=false
9170 ;;
9171 esac
9172
9173 # If the value was cached, stop now. We just wanted to have am__tar
9174 # and am__untar set.
9175 test -n "${am_cv_prog_tar_ustar}" && break
9176
9177 # tar/untar a dummy directory, and stop if the command works.
9178 rm -rf conftest.dir
9179 mkdir conftest.dir
9180 echo GrepMe > conftest.dir/file
9181 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9182 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
9183 ac_status=$?
9184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185 (exit $ac_status); }
9186 rm -rf conftest.dir
9187 if test -s conftest.tar; then
9188 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9189 ($am__untar <conftest.tar) >&5 2>&5
9190 ac_status=$?
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }
9193 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9194 (cat conftest.dir/file) >&5 2>&5
9195 ac_status=$?
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); }
9198 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9199 fi
9200 done
9201 rm -rf conftest.dir
9202
9203 if test ${am_cv_prog_tar_ustar+y}
9204 then :
9205 printf %s "(cached) " >&6
9206 else case e in #(
9207 e) am_cv_prog_tar_ustar=$_am_tool ;;
9208 esac
9209 fi
9210
9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
9212 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
9213
9214
9215
9216
9217
9218 # Variables for tags utilities; see am/tags.am
9219 if test -z "$CTAGS"; then
9220 CTAGS=ctags
9221 fi
9222
9223 if test -z "$ETAGS"; then
9224 ETAGS=etags
9225 fi
9226
9227 if test -z "$CSCOPE"; then
9228 CSCOPE=cscope
9229 fi
9230
9231
9232
9233
9234
9235
9236
9237
9238 # am_maintainer_mode
9239
9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9241 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9242 # Check whether --enable-maintainer-mode was given.
9243 if test ${enable_maintainer_mode+y}
9244 then :
9245 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9246 else case e in #(
9247 e) USE_MAINTAINER_MODE=no ;;
9248 esac
9249 fi
9250
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9252 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
9253 if test $USE_MAINTAINER_MODE = yes; then
9254 MAINTAINER_MODE_TRUE=
9255 MAINTAINER_MODE_FALSE='#'
9256 else
9257 MAINTAINER_MODE_TRUE='#'
9258 MAINTAINER_MODE_FALSE=
9259 fi
9260
9261 MAINT=$MAINTAINER_MODE_TRUE
9262
9263
9264
9265 # See comments in kpse-setup.m4 about system extensions.
9266
9267
9268 # Check whether prototypes work.
9269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9270 printf %s "checking whether the compiler accepts prototypes... " >&6; }
9271 if test ${kb_cv_c_prototypes+y}
9272 then :
9273 printf %s "(cached) " >&6
9274 else case e in #(
9275 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9276 /* end confdefs.h. */
9277 #include <stdarg.h>
9278 int
9279 main (void)
9280 {
9281 extern void foo(int i,...);
9282 ;
9283 return 0;
9284 }
9285 _ACEOF
9286 if ac_fn_c_try_link "$LINENO"
9287 then :
9288 kb_cv_c_prototypes=yes
9289 else case e in #(
9290 e) kb_cv_c_prototypes=no ;;
9291 esac
9292 fi
9293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9294 conftest$ac_exeext conftest.$ac_ext ;;
9295 esac
9296 fi
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9298 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
9299 if test "x$kb_cv_c_prototypes" = xno; then
9300 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
9301 fi
9302
9303 # kpse_compiler_warnings options.
9304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9305 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
9306 if test ${kpse_cv_warning_cflags+y}
9307 then :
9308 printf %s "(cached) " >&6
9309 else case e in #(
9310 e) if test "x$GCC" = xyes; then
9311 kpse_cv_warning_cflags=
9312 if test "x$enable_compiler_warnings" != xno; then
9313 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
9314 case `$CC -dumpversion` in #(
9315 3.4.* | 4.* | 5.*) :
9316 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9317 *) :
9318 ;;
9319 esac
9320 case `$CC -dumpversion` in #(
9321 3.[234].* | 4.* | 5.*) :
9322 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9323 *) :
9324 ;;
9325 esac
9326 if test "x$enable_compiler_warnings" != xmin; then
9327 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
9328 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9329 if test "x$enable_compiler_warnings" != xyes; then
9330 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9331 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9332 case `$CC -dumpversion` in #(
9333 3.4.* | 4.* | 5.*) :
9334 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9335 *) :
9336 ;;
9337 esac
9338 if test "x$enable_compiler_warnings" != xmax; then
9339 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
9340 fi
9341 fi
9342 fi
9343 fi
9344 elif test "x$enable_compiler_warnings" = xno; then
9345 kpse_cv_warning_cflags=
9346 else
9347 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
9348 fi ;;
9349 esac
9350 fi
9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9352 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
9353 WARNING_CFLAGS=$kpse_cv_warning_cflags
9354
9355
9356
9357
9358
9359
9360
9361 # end of kpse_basic macro.
9362 echo 'tldbg:KPSE_BASIC done (pkg=gsftopk, amopt=)' >&5
9363
9364 # am_prog_ar must be called before lt_init.
9365
9366 if test -n "$ac_tool_prefix"; then
9367 for ac_prog in ar lib "link -lib"
9368 do
9369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9372 printf %s "checking for $ac_word... " >&6; }
9373 if test ${ac_cv_prog_AR+y}
9374 then :
9375 printf %s "(cached) " >&6
9376 else case e in #(
9377 e) if test -n "$AR"; then
9378 ac_cv_prog_AR="$AR" # Let the user override the test.
9379 else
9380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9381 for as_dir in $PATH
9382 do
9383 IFS=$as_save_IFS
9384 case $as_dir in #(((
9385 '') as_dir=./ ;;
9386 */) ;;
9387 *) as_dir=$as_dir/ ;;
9388 esac
9389 for ac_exec_ext in '' $ac_executable_extensions; do
9390 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9391 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9393 break 2
9394 fi
9395 done
9396 done
9397 IFS=$as_save_IFS
9398
9399 fi ;;
9400 esac
9401 fi
9402 AR=$ac_cv_prog_AR
9403 if test -n "$AR"; then
9404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9405 printf "%s\n" "$AR" >&6; }
9406 else
9407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9408 printf "%s\n" "no" >&6; }
9409 fi
9410
9411
9412 test -n "$AR" && break
9413 done
9414 fi
9415 if test -z "$AR"; then
9416 ac_ct_AR=$AR
9417 for ac_prog in ar lib "link -lib"
9418 do
9419 # Extract the first word of "$ac_prog", so it can be a program name with args.
9420 set dummy $ac_prog; ac_word=$2
9421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9422 printf %s "checking for $ac_word... " >&6; }
9423 if test ${ac_cv_prog_ac_ct_AR+y}
9424 then :
9425 printf %s "(cached) " >&6
9426 else case e in #(
9427 e) if test -n "$ac_ct_AR"; then
9428 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9429 else
9430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9431 for as_dir in $PATH
9432 do
9433 IFS=$as_save_IFS
9434 case $as_dir in #(((
9435 '') as_dir=./ ;;
9436 */) ;;
9437 *) as_dir=$as_dir/ ;;
9438 esac
9439 for ac_exec_ext in '' $ac_executable_extensions; do
9440 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9441 ac_cv_prog_ac_ct_AR="$ac_prog"
9442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9443 break 2
9444 fi
9445 done
9446 done
9447 IFS=$as_save_IFS
9448
9449 fi ;;
9450 esac
9451 fi
9452 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9453 if test -n "$ac_ct_AR"; then
9454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9455 printf "%s\n" "$ac_ct_AR" >&6; }
9456 else
9457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9458 printf "%s\n" "no" >&6; }
9459 fi
9460
9461
9462 test -n "$ac_ct_AR" && break
9463 done
9464
9465 if test "x$ac_ct_AR" = x; then
9466 AR="false"
9467 else
9468 case $cross_compiling:$ac_tool_warned in
9469 yes:)
9470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9471 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9472 ac_tool_warned=yes ;;
9473 esac
9474 AR=$ac_ct_AR
9475 fi
9476 fi
9477
9478 : ${AR=ar}
9479 : ${ARFLAGS=cr}
9480
9481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
9482 printf %s "checking the archiver ($AR) interface... " >&6; }
9483 if test ${am_cv_ar_interface+y}
9484 then :
9485 printf %s "(cached) " >&6
9486 else case e in #(
9487 e) ac_ext=c
9488 ac_cpp='$CPP $CPPFLAGS'
9489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9492
9493 am_cv_ar_interface=ar
9494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9496 int some_variable = 0;
9497 _ACEOF
9498 if ac_fn_c_try_compile "$LINENO"
9499 then :
9500 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
9501 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9502 (eval $am_ar_try) 2>&5
9503 ac_status=$?
9504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9505 test $ac_status = 0; }
9506 if test "$ac_status" -eq 0; then
9507 am_cv_ar_interface=ar
9508 else
9509 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
9510 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9511 (eval $am_ar_try) 2>&5
9512 ac_status=$?
9513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9514 test $ac_status = 0; }
9515 if test "$ac_status" -eq 0; then
9516 am_cv_ar_interface=lib
9517 else
9518 am_cv_ar_interface=unknown
9519 fi
9520 fi
9521 rm -f conftest.lib libconftest.a
9522
9523 fi
9524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9525 ac_ext=c
9526 ac_cpp='$CPP $CPPFLAGS'
9527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9530 ;;
9531 esac
9532 fi
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
9534 printf "%s\n" "$am_cv_ar_interface" >&6; }
9535
9536 case $am_cv_ar_interface in
9537 ar)
9538 ;;
9539 lib)
9540 # Microsoft lib, so override with the ar-lib wrapper script.
9541 # FIXME: It is wrong to rewrite AR.
9542 # But if we don't then we get into trouble of one sort or another.
9543 # A longer-term fix would be to have automake use am__AR in this case,
9544 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9545 # similar.
9546 AR="$am_aux_dir/ar-lib $AR"
9547 ;;
9548 unknown)
9549 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
9550 ;;
9551 esac
9552
9553 # (end am_prog_ar)
9554 # starting lt_prereq + lt_init.
9555
9556
9557
9558
9559
9560 # Set options
9561 enable_win32_dll=yes
9562
9563 case $host in
9564 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
9565 if test -n "$ac_tool_prefix"; then
9566 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9567 set dummy ${ac_tool_prefix}as; ac_word=$2
9568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9569 printf %s "checking for $ac_word... " >&6; }
9570 if test ${ac_cv_prog_AS+y}
9571 then :
9572 printf %s "(cached) " >&6
9573 else case e in #(
9574 e) if test -n "$AS"; then
9575 ac_cv_prog_AS="$AS" # Let the user override the test.
9576 else
9577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9578 for as_dir in $PATH
9579 do
9580 IFS=$as_save_IFS
9581 case $as_dir in #(((
9582 '') as_dir=./ ;;
9583 */) ;;
9584 *) as_dir=$as_dir/ ;;
9585 esac
9586 for ac_exec_ext in '' $ac_executable_extensions; do
9587 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9588 ac_cv_prog_AS="${ac_tool_prefix}as"
9589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9590 break 2
9591 fi
9592 done
9593 done
9594 IFS=$as_save_IFS
9595
9596 fi ;;
9597 esac
9598 fi
9599 AS=$ac_cv_prog_AS
9600 if test -n "$AS"; then
9601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9602 printf "%s\n" "$AS" >&6; }
9603 else
9604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9605 printf "%s\n" "no" >&6; }
9606 fi
9607
9608
9609 fi
9610 if test -z "$ac_cv_prog_AS"; then
9611 ac_ct_AS=$AS
9612 # Extract the first word of "as", so it can be a program name with args.
9613 set dummy as; ac_word=$2
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9615 printf %s "checking for $ac_word... " >&6; }
9616 if test ${ac_cv_prog_ac_ct_AS+y}
9617 then :
9618 printf %s "(cached) " >&6
9619 else case e in #(
9620 e) if test -n "$ac_ct_AS"; then
9621 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9622 else
9623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9624 for as_dir in $PATH
9625 do
9626 IFS=$as_save_IFS
9627 case $as_dir in #(((
9628 '') as_dir=./ ;;
9629 */) ;;
9630 *) as_dir=$as_dir/ ;;
9631 esac
9632 for ac_exec_ext in '' $ac_executable_extensions; do
9633 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9634 ac_cv_prog_ac_ct_AS="as"
9635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9636 break 2
9637 fi
9638 done
9639 done
9640 IFS=$as_save_IFS
9641
9642 fi ;;
9643 esac
9644 fi
9645 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9646 if test -n "$ac_ct_AS"; then
9647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9648 printf "%s\n" "$ac_ct_AS" >&6; }
9649 else
9650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9651 printf "%s\n" "no" >&6; }
9652 fi
9653
9654 if test "x$ac_ct_AS" = x; then
9655 AS="false"
9656 else
9657 case $cross_compiling:$ac_tool_warned in
9658 yes:)
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9660 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9661 ac_tool_warned=yes ;;
9662 esac
9663 AS=$ac_ct_AS
9664 fi
9665 else
9666 AS="$ac_cv_prog_AS"
9667 fi
9668
9669 if test -n "$ac_tool_prefix"; then
9670 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9671 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9673 printf %s "checking for $ac_word... " >&6; }
9674 if test ${ac_cv_prog_DLLTOOL+y}
9675 then :
9676 printf %s "(cached) " >&6
9677 else case e in #(
9678 e) if test -n "$DLLTOOL"; then
9679 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9680 else
9681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9682 for as_dir in $PATH
9683 do
9684 IFS=$as_save_IFS
9685 case $as_dir in #(((
9686 '') as_dir=./ ;;
9687 */) ;;
9688 *) as_dir=$as_dir/ ;;
9689 esac
9690 for ac_exec_ext in '' $ac_executable_extensions; do
9691 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9692 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9694 break 2
9695 fi
9696 done
9697 done
9698 IFS=$as_save_IFS
9699
9700 fi ;;
9701 esac
9702 fi
9703 DLLTOOL=$ac_cv_prog_DLLTOOL
9704 if test -n "$DLLTOOL"; then
9705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9706 printf "%s\n" "$DLLTOOL" >&6; }
9707 else
9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9709 printf "%s\n" "no" >&6; }
9710 fi
9711
9712
9713 fi
9714 if test -z "$ac_cv_prog_DLLTOOL"; then
9715 ac_ct_DLLTOOL=$DLLTOOL
9716 # Extract the first word of "dlltool", so it can be a program name with args.
9717 set dummy dlltool; ac_word=$2
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9719 printf %s "checking for $ac_word... " >&6; }
9720 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9721 then :
9722 printf %s "(cached) " >&6
9723 else case e in #(
9724 e) if test -n "$ac_ct_DLLTOOL"; then
9725 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9726 else
9727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9728 for as_dir in $PATH
9729 do
9730 IFS=$as_save_IFS
9731 case $as_dir in #(((
9732 '') as_dir=./ ;;
9733 */) ;;
9734 *) as_dir=$as_dir/ ;;
9735 esac
9736 for ac_exec_ext in '' $ac_executable_extensions; do
9737 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9738 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9740 break 2
9741 fi
9742 done
9743 done
9744 IFS=$as_save_IFS
9745
9746 fi ;;
9747 esac
9748 fi
9749 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9750 if test -n "$ac_ct_DLLTOOL"; then
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9752 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9753 else
9754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9755 printf "%s\n" "no" >&6; }
9756 fi
9757
9758 if test "x$ac_ct_DLLTOOL" = x; then
9759 DLLTOOL="false"
9760 else
9761 case $cross_compiling:$ac_tool_warned in
9762 yes:)
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9764 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9765 ac_tool_warned=yes ;;
9766 esac
9767 DLLTOOL=$ac_ct_DLLTOOL
9768 fi
9769 else
9770 DLLTOOL="$ac_cv_prog_DLLTOOL"
9771 fi
9772
9773 if test -n "$ac_tool_prefix"; then
9774 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9775 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9777 printf %s "checking for $ac_word... " >&6; }
9778 if test ${ac_cv_prog_OBJDUMP+y}
9779 then :
9780 printf %s "(cached) " >&6
9781 else case e in #(
9782 e) if test -n "$OBJDUMP"; then
9783 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9784 else
9785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9786 for as_dir in $PATH
9787 do
9788 IFS=$as_save_IFS
9789 case $as_dir in #(((
9790 '') as_dir=./ ;;
9791 */) ;;
9792 *) as_dir=$as_dir/ ;;
9793 esac
9794 for ac_exec_ext in '' $ac_executable_extensions; do
9795 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9796 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9798 break 2
9799 fi
9800 done
9801 done
9802 IFS=$as_save_IFS
9803
9804 fi ;;
9805 esac
9806 fi
9807 OBJDUMP=$ac_cv_prog_OBJDUMP
9808 if test -n "$OBJDUMP"; then
9809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9810 printf "%s\n" "$OBJDUMP" >&6; }
9811 else
9812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9813 printf "%s\n" "no" >&6; }
9814 fi
9815
9816
9817 fi
9818 if test -z "$ac_cv_prog_OBJDUMP"; then
9819 ac_ct_OBJDUMP=$OBJDUMP
9820 # Extract the first word of "objdump", so it can be a program name with args.
9821 set dummy objdump; ac_word=$2
9822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9823 printf %s "checking for $ac_word... " >&6; }
9824 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9825 then :
9826 printf %s "(cached) " >&6
9827 else case e in #(
9828 e) if test -n "$ac_ct_OBJDUMP"; then
9829 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9830 else
9831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9832 for as_dir in $PATH
9833 do
9834 IFS=$as_save_IFS
9835 case $as_dir in #(((
9836 '') as_dir=./ ;;
9837 */) ;;
9838 *) as_dir=$as_dir/ ;;
9839 esac
9840 for ac_exec_ext in '' $ac_executable_extensions; do
9841 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9842 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9844 break 2
9845 fi
9846 done
9847 done
9848 IFS=$as_save_IFS
9849
9850 fi ;;
9851 esac
9852 fi
9853 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9854 if test -n "$ac_ct_OBJDUMP"; then
9855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9856 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
9857 else
9858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9859 printf "%s\n" "no" >&6; }
9860 fi
9861
9862 if test "x$ac_ct_OBJDUMP" = x; then
9863 OBJDUMP="false"
9864 else
9865 case $cross_compiling:$ac_tool_warned in
9866 yes:)
9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9868 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9869 ac_tool_warned=yes ;;
9870 esac
9871 OBJDUMP=$ac_ct_OBJDUMP
9872 fi
9873 else
9874 OBJDUMP="$ac_cv_prog_OBJDUMP"
9875 fi
9876
9877 ;;
9878 esac
9879
9880 test -z "$AS" && AS=as
9881
9882
9883
9884
9885
9886 test -z "$DLLTOOL" && DLLTOOL=dlltool
9887
9888
9889
9890
9891
9892 test -z "$OBJDUMP" && OBJDUMP=objdump
9893
9894
9895
9896
9897
9898
9899
9900 enable_dlopen=no
9901
9902
9903
9904 # Check whether --enable-shared was given.
9905 if test ${enable_shared+y}
9906 then :
9907 enableval=$enable_shared; p=${PACKAGE-default}
9908 case $enableval in
9909 yes) enable_shared=yes ;;
9910 no) enable_shared=no ;;
9911 *)
9912 enable_shared=no
9913 # Look at the argument we got. We use all the common list separators.
9914 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9915 for pkg in $enableval; do
9916 IFS=$lt_save_ifs
9917 if test "X$pkg" = "X$p"; then
9918 enable_shared=yes
9919 fi
9920 done
9921 IFS=$lt_save_ifs
9922 ;;
9923 esac
9924 else case e in #(
9925 e) enable_shared=yes ;;
9926 esac
9927 fi
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937 # Check whether --enable-static was given.
9938 if test ${enable_static+y}
9939 then :
9940 enableval=$enable_static; p=${PACKAGE-default}
9941 case $enableval in
9942 yes) enable_static=yes ;;
9943 no) enable_static=no ;;
9944 *)
9945 enable_static=no
9946 # Look at the argument we got. We use all the common list separators.
9947 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9948 for pkg in $enableval; do
9949 IFS=$lt_save_ifs
9950 if test "X$pkg" = "X$p"; then
9951 enable_static=yes
9952 fi
9953 done
9954 IFS=$lt_save_ifs
9955 ;;
9956 esac
9957 else case e in #(
9958 e) enable_static=yes ;;
9959 esac
9960 fi
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970 # Check whether --enable-pic was given.
9971 if test ${enable_pic+y}
9972 then :
9973 enableval=$enable_pic; lt_p=${PACKAGE-default}
9974 case $enableval in
9975 yes|no) pic_mode=$enableval ;;
9976 *)
9977 pic_mode=default
9978 # Look at the argument we got. We use all the common list separators.
9979 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9980 for lt_pkg in $enableval; do
9981 IFS=$lt_save_ifs
9982 if test "X$lt_pkg" = "X$lt_p"; then
9983 pic_mode=yes
9984 fi
9985 done
9986 IFS=$lt_save_ifs
9987 ;;
9988 esac
9989 else case e in #(
9990 e) # Check whether --with-pic was given.
9991 if test ${with_pic+y}
9992 then :
9993 withval=$with_pic; lt_p=${PACKAGE-default}
9994 case $withval in
9995 yes|no) pic_mode=$withval ;;
9996 *)
9997 pic_mode=default
9998 # Look at the argument we got. We use all the common list separators.
9999 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10000 for lt_pkg in $withval; do
10001 IFS=$lt_save_ifs
10002 if test "X$lt_pkg" = "X$lt_p"; then
10003 pic_mode=yes
10004 fi
10005 done
10006 IFS=$lt_save_ifs
10007 ;;
10008 esac
10009 else case e in #(
10010 e) pic_mode=default ;;
10011 esac
10012 fi
10013
10014 ;;
10015 esac
10016 fi
10017
10018
10019
10020
10021
10022
10023
10024
10025 # Check whether --enable-fast-install was given.
10026 if test ${enable_fast_install+y}
10027 then :
10028 enableval=$enable_fast_install; p=${PACKAGE-default}
10029 case $enableval in
10030 yes) enable_fast_install=yes ;;
10031 no) enable_fast_install=no ;;
10032 *)
10033 enable_fast_install=no
10034 # Look at the argument we got. We use all the common list separators.
10035 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10036 for pkg in $enableval; do
10037 IFS=$lt_save_ifs
10038 if test "X$pkg" = "X$p"; then
10039 enable_fast_install=yes
10040 fi
10041 done
10042 IFS=$lt_save_ifs
10043 ;;
10044 esac
10045 else case e in #(
10046 e) enable_fast_install=yes ;;
10047 esac
10048 fi
10049
10050
10051
10052
10053
10054
10055
10056
10057 shared_archive_member_spec=
10058 case $host,$enable_shared in
10059 power*-*-aix[5-9]*,yes)
10060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10061 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10062 # Check whether --enable-aix-soname was given.
10063 if test ${enable_aix_soname+y}
10064 then :
10065 enableval=$enable_aix_soname; case $enableval in
10066 aix|svr4|both)
10067 ;;
10068 *)
10069 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10070 ;;
10071 esac
10072 lt_cv_with_aix_soname=$enable_aix_soname
10073 else case e in #(
10074 e) # Check whether --with-aix-soname was given.
10075 if test ${with_aix_soname+y}
10076 then :
10077 withval=$with_aix_soname; case $withval in
10078 aix|svr4|both)
10079 ;;
10080 *)
10081 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10082 ;;
10083 esac
10084 lt_cv_with_aix_soname=$with_aix_soname
10085 else case e in #(
10086 e) if test ${lt_cv_with_aix_soname+y}
10087 then :
10088 printf %s "(cached) " >&6
10089 else case e in #(
10090 e) lt_cv_with_aix_soname=aix ;;
10091 esac
10092 fi
10093 ;;
10094 esac
10095 fi
10096
10097 enable_aix_soname=$lt_cv_with_aix_soname ;;
10098 esac
10099 fi
10100
10101 with_aix_soname=$enable_aix_soname
10102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10103 printf "%s\n" "$with_aix_soname" >&6; }
10104 if test aix != "$with_aix_soname"; then
10105 # For the AIX way of multilib, we name the shared archive member
10106 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10107 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10108 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10109 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10110 if test 64 = "${OBJECT_MODE-32}"; then
10111 shared_archive_member_spec=shr_64
10112 else
10113 shared_archive_member_spec=shr
10114 fi
10115 fi
10116 ;;
10117 *)
10118 with_aix_soname=aix
10119 ;;
10120 esac
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131 # This can be used to rebuild libtool when needed
10132 LIBTOOL_DEPS=$ltmain
10133
10134 # Always use our own libtool.
10135 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166 test -z "$LN_S" && LN_S="ln -s"
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181 if test -n "${ZSH_VERSION+set}"; then
10182 setopt NO_GLOB_SUBST
10183 fi
10184
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10186 printf %s "checking for objdir... " >&6; }
10187 if test ${lt_cv_objdir+y}
10188 then :
10189 printf %s "(cached) " >&6
10190 else case e in #(
10191 e) rm -f .libs 2>/dev/null
10192 mkdir .libs 2>/dev/null
10193 if test -d .libs; then
10194 lt_cv_objdir=.libs
10195 else
10196 # MS-DOS does not allow filenames that begin with a dot.
10197 lt_cv_objdir=_libs
10198 fi
10199 rmdir .libs 2>/dev/null ;;
10200 esac
10201 fi
10202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10203 printf "%s\n" "$lt_cv_objdir" >&6; }
10204 objdir=$lt_cv_objdir
10205
10206
10207
10208
10209
10210 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10211
10212
10213
10214
10215 case $host_os in
10216 aix3*)
10217 # AIX sometimes has problems with the GCC collect2 program. For some
10218 # reason, if we set the COLLECT_NAMES environment variable, the problems
10219 # vanish in a puff of smoke.
10220 if test set != "${COLLECT_NAMES+set}"; then
10221 COLLECT_NAMES=
10222 export COLLECT_NAMES
10223 fi
10224 ;;
10225 esac
10226
10227 # Global variables:
10228 ofile=libtool
10229 can_build_shared=yes
10230
10231 # All known linkers require a '.a' archive for static linking (except MSVC and
10232 # ICC, which need '.lib').
10233 libext=a
10234
10235 with_gnu_ld=$lt_cv_prog_gnu_ld
10236
10237 old_CC=$CC
10238 old_CFLAGS=$CFLAGS
10239
10240 # Set sane defaults for various variables
10241 test -z "$CC" && CC=cc
10242 test -z "$LTCC" && LTCC=$CC
10243 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10244 test -z "$LD" && LD=ld
10245 test -z "$ac_objext" && ac_objext=o
10246
10247 func_cc_basename $compiler
10248 cc_basename=$func_cc_basename_result
10249
10250
10251 # Only perform the check for file, if the check method requires it
10252 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10253 case $deplibs_check_method in
10254 file_magic*)
10255 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10257 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10258 if test ${lt_cv_path_MAGIC_CMD+y}
10259 then :
10260 printf %s "(cached) " >&6
10261 else case e in #(
10262 e) case $MAGIC_CMD in
10263 [\\/*] | ?:[\\/]*)
10264 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10265 ;;
10266 *)
10267 lt_save_MAGIC_CMD=$MAGIC_CMD
10268 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10269 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10270 for ac_dir in $ac_dummy; do
10271 IFS=$lt_save_ifs
10272 test -z "$ac_dir" && ac_dir=.
10273 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10274 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10275 if test -n "$file_magic_test_file"; then
10276 case $deplibs_check_method in
10277 "file_magic "*)
10278 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10279 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10280 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10281 $EGREP "$file_magic_regex" > /dev/null; then
10282 :
10283 else
10284 cat <<_LT_EOF 1>&2
10285
10286 *** Warning: the command libtool uses to detect shared libraries,
10287 *** $file_magic_cmd, produces output that libtool cannot recognize.
10288 *** The result is that libtool may fail to recognize shared libraries
10289 *** as such. This will affect the creation of libtool libraries that
10290 *** depend on shared libraries, but programs linked with such libtool
10291 *** libraries will work regardless of this problem. Nevertheless, you
10292 *** may want to report the problem to your system manager and/or to
10293 *** [email protected]
10294
10295 _LT_EOF
10296 fi ;;
10297 esac
10298 fi
10299 break
10300 fi
10301 done
10302 IFS=$lt_save_ifs
10303 MAGIC_CMD=$lt_save_MAGIC_CMD
10304 ;;
10305 esac ;;
10306 esac
10307 fi
10308
10309 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10310 if test -n "$MAGIC_CMD"; then
10311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10312 printf "%s\n" "$MAGIC_CMD" >&6; }
10313 else
10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10315 printf "%s\n" "no" >&6; }
10316 fi
10317
10318
10319
10320
10321
10322 if test -z "$lt_cv_path_MAGIC_CMD"; then
10323 if test -n "$ac_tool_prefix"; then
10324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10325 printf %s "checking for file... " >&6; }
10326 if test ${lt_cv_path_MAGIC_CMD+y}
10327 then :
10328 printf %s "(cached) " >&6
10329 else case e in #(
10330 e) case $MAGIC_CMD in
10331 [\\/*] | ?:[\\/]*)
10332 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10333 ;;
10334 *)
10335 lt_save_MAGIC_CMD=$MAGIC_CMD
10336 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10337 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10338 for ac_dir in $ac_dummy; do
10339 IFS=$lt_save_ifs
10340 test -z "$ac_dir" && ac_dir=.
10341 if test -f "$ac_dir/file"; then
10342 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10343 if test -n "$file_magic_test_file"; then
10344 case $deplibs_check_method in
10345 "file_magic "*)
10346 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10347 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10348 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10349 $EGREP "$file_magic_regex" > /dev/null; then
10350 :
10351 else
10352 cat <<_LT_EOF 1>&2
10353
10354 *** Warning: the command libtool uses to detect shared libraries,
10355 *** $file_magic_cmd, produces output that libtool cannot recognize.
10356 *** The result is that libtool may fail to recognize shared libraries
10357 *** as such. This will affect the creation of libtool libraries that
10358 *** depend on shared libraries, but programs linked with such libtool
10359 *** libraries will work regardless of this problem. Nevertheless, you
10360 *** may want to report the problem to your system manager and/or to
10361 *** [email protected]
10362
10363 _LT_EOF
10364 fi ;;
10365 esac
10366 fi
10367 break
10368 fi
10369 done
10370 IFS=$lt_save_ifs
10371 MAGIC_CMD=$lt_save_MAGIC_CMD
10372 ;;
10373 esac ;;
10374 esac
10375 fi
10376
10377 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10378 if test -n "$MAGIC_CMD"; then
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10380 printf "%s\n" "$MAGIC_CMD" >&6; }
10381 else
10382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10383 printf "%s\n" "no" >&6; }
10384 fi
10385
10386
10387 else
10388 MAGIC_CMD=:
10389 fi
10390 fi
10391
10392 fi
10393 ;;
10394 esac
10395
10396 # Use C for the default configuration in the libtool script
10397
10398 lt_save_CC=$CC
10399 ac_ext=c
10400 ac_cpp='$CPP $CPPFLAGS'
10401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10404
10405
10406 # Source file extension for C test sources.
10407 ac_ext=c
10408
10409 # Object file extension for compiled C test sources.
10410 objext=o
10411 objext=$objext
10412
10413 # Code to be used in simple compile tests
10414 lt_simple_compile_test_code="int some_variable = 0;"
10415
10416 # Code to be used in simple link tests
10417 lt_simple_link_test_code='int main(void){return(0);}'
10418
10419
10420
10421
10422
10423
10424
10425 # If no C compiler was specified, use CC.
10426 LTCC=${LTCC-"$CC"}
10427
10428 # If no C compiler flags were specified, use CFLAGS.
10429 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10430
10431 # Allow CC to be a program name with arguments.
10432 compiler=$CC
10433
10434 # Save the default compiler, since it gets overwritten when the other
10435 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10436 compiler_DEFAULT=$CC
10437
10438 # save warnings/boilerplate of simple test code
10439 ac_outfile=conftest.$ac_objext
10440 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10441 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10442 _lt_compiler_boilerplate=`cat conftest.err`
10443 $RM conftest*
10444
10445 ac_outfile=conftest.$ac_objext
10446 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10447 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10448 _lt_linker_boilerplate=`cat conftest.err`
10449 $RM -r conftest*
10450
10451
10452 ## CAVEAT EMPTOR:
10453 ## There is no encapsulation within the following macros, do not change
10454 ## the running order or otherwise move them around unless you know exactly
10455 ## what you are doing...
10456 if test -n "$compiler"; then
10457
10458 lt_prog_compiler_no_builtin_flag=
10459
10460 if test yes = "$GCC"; then
10461 case $cc_basename in
10462 nvcc*)
10463 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10464 *)
10465 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10466 esac
10467
10468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10469 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10470 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10471 then :
10472 printf %s "(cached) " >&6
10473 else case e in #(
10474 e) lt_cv_prog_compiler_rtti_exceptions=no
10475 ac_outfile=conftest.$ac_objext
10476 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10477 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10478 # Insert the option either (1) after the last *FLAGS variable, or
10479 # (2) before a word containing "conftest.", or (3) at the end.
10480 # Note that $ac_compile itself does not contain backslashes and begins
10481 # with a dollar sign (not a hyphen), so the echo should work correctly.
10482 # The option is referenced via a variable to avoid confusing sed.
10483 lt_compile=`echo "$ac_compile" | $SED \
10484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10486 -e 's:$: $lt_compiler_flag:'`
10487 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10488 (eval "$lt_compile" 2>conftest.err)
10489 ac_status=$?
10490 cat conftest.err >&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 if (exit $ac_status) && test -s "$ac_outfile"; then
10493 # The compiler can only warn and ignore the option if not recognized
10494 # So say no if there are warnings other than the usual output.
10495 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10496 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10497 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10498 lt_cv_prog_compiler_rtti_exceptions=yes
10499 fi
10500 fi
10501 $RM conftest*
10502 ;;
10503 esac
10504 fi
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10506 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10507
10508 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10509 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10510 else
10511 :
10512 fi
10513
10514 fi
10515
10516
10517
10518
10519
10520
10521 lt_prog_compiler_wl=
10522 lt_prog_compiler_pic=
10523 lt_prog_compiler_static=
10524
10525
10526 if test yes = "$GCC"; then
10527 lt_prog_compiler_wl='-Wl,'
10528 lt_prog_compiler_static='-static'
10529
10530 case $host_os in
10531 aix*)
10532 # All AIX code is PIC.
10533 if test ia64 = "$host_cpu"; then
10534 # AIX 5 now supports IA64 processor
10535 lt_prog_compiler_static='-Bstatic'
10536 fi
10537 lt_prog_compiler_pic='-fPIC'
10538 ;;
10539
10540 amigaos*)
10541 case $host_cpu in
10542 powerpc)
10543 # see comment about AmigaOS4 .so support
10544 lt_prog_compiler_pic='-fPIC'
10545 ;;
10546 m68k)
10547 # FIXME: we need at least 68020 code to build shared libraries, but
10548 # adding the '-m68020' flag to GCC prevents building anything better,
10549 # like '-m68040'.
10550 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10551 ;;
10552 esac
10553 ;;
10554
10555 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10556 # PIC is the default for these OSes.
10557 ;;
10558
10559 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10560 # This hack is so that the source file can tell whether it is being
10561 # built for inclusion in a dll (and should export symbols for example).
10562 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10563 # (--disable-auto-import) libraries
10564 lt_prog_compiler_pic='-DDLL_EXPORT'
10565 case $host_os in
10566 os2*)
10567 lt_prog_compiler_static='$wl-static'
10568 ;;
10569 esac
10570 ;;
10571
10572 darwin* | rhapsody*)
10573 # PIC is the default on this platform
10574 # Common symbols not allowed in MH_DYLIB files
10575 lt_prog_compiler_pic='-fno-common'
10576 ;;
10577
10578 haiku*)
10579 # PIC is the default for Haiku.
10580 # The "-static" flag exists, but is broken.
10581 lt_prog_compiler_static=
10582 ;;
10583
10584 hpux*)
10585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10587 # sets the default TLS model and affects inlining.
10588 case $host_cpu in
10589 hppa*64*)
10590 # +Z the default
10591 ;;
10592 *)
10593 lt_prog_compiler_pic='-fPIC'
10594 ;;
10595 esac
10596 ;;
10597
10598 interix[3-9]*)
10599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10600 # Instead, we relocate shared libraries at runtime.
10601 ;;
10602
10603 msdosdjgpp*)
10604 # Just because we use GCC doesn't mean we suddenly get shared libraries
10605 # on systems that don't support them.
10606 lt_prog_compiler_can_build_shared=no
10607 enable_shared=no
10608 ;;
10609
10610 *nto* | *qnx*)
10611 # QNX uses GNU C++, but need to define -shared option too, otherwise
10612 # it will coredump.
10613 lt_prog_compiler_pic='-fPIC -shared'
10614 ;;
10615
10616 sysv4*MP*)
10617 if test -d /usr/nec; then
10618 lt_prog_compiler_pic=-Kconform_pic
10619 fi
10620 ;;
10621
10622 *)
10623 lt_prog_compiler_pic='-fPIC'
10624 ;;
10625 esac
10626
10627 case $cc_basename in
10628 nvcc*) # Cuda Compiler Driver 2.2
10629 lt_prog_compiler_wl='-Xlinker '
10630 if test -n "$lt_prog_compiler_pic"; then
10631 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10632 fi
10633 ;;
10634 esac
10635 else
10636 # PORTME Check for flag to pass linker flags through the system compiler.
10637 case $host_os in
10638 aix*)
10639 lt_prog_compiler_wl='-Wl,'
10640 if test ia64 = "$host_cpu"; then
10641 # AIX 5 now supports IA64 processor
10642 lt_prog_compiler_static='-Bstatic'
10643 else
10644 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10645 fi
10646 ;;
10647
10648 darwin* | rhapsody*)
10649 # PIC is the default on this platform
10650 # Common symbols not allowed in MH_DYLIB files
10651 lt_prog_compiler_pic='-fno-common'
10652 case $cc_basename in
10653 nagfor*)
10654 # NAG Fortran compiler
10655 lt_prog_compiler_wl='-Wl,-Wl,,'
10656 lt_prog_compiler_pic='-PIC'
10657 lt_prog_compiler_static='-Bstatic'
10658 ;;
10659 esac
10660 ;;
10661
10662 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10663 # This hack is so that the source file can tell whether it is being
10664 # built for inclusion in a dll (and should export symbols for example).
10665 lt_prog_compiler_pic='-DDLL_EXPORT'
10666 case $host_os in
10667 os2*)
10668 lt_prog_compiler_static='$wl-static'
10669 ;;
10670 esac
10671 ;;
10672
10673 hpux9* | hpux10* | hpux11*)
10674 lt_prog_compiler_wl='-Wl,'
10675 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10676 # not for PA HP-UX.
10677 case $host_cpu in
10678 hppa*64*|ia64*)
10679 # +Z the default
10680 ;;
10681 *)
10682 lt_prog_compiler_pic='+Z'
10683 ;;
10684 esac
10685 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10686 lt_prog_compiler_static='$wl-a ${wl}archive'
10687 ;;
10688
10689 irix5* | irix6* | nonstopux*)
10690 lt_prog_compiler_wl='-Wl,'
10691 # PIC (with -KPIC) is the default.
10692 lt_prog_compiler_static='-non_shared'
10693 ;;
10694
10695 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10696 case $cc_basename in
10697 # old Intel for x86_64, which still supported -KPIC.
10698 ecc*)
10699 lt_prog_compiler_wl='-Wl,'
10700 lt_prog_compiler_pic='-KPIC'
10701 lt_prog_compiler_static='-static'
10702 ;;
10703 *flang* | ftn | f18* | f95*)
10704 # Flang compiler.
10705 lt_prog_compiler_wl='-Wl,'
10706 lt_prog_compiler_pic='-fPIC'
10707 lt_prog_compiler_static='-static'
10708 ;;
10709 # icc used to be incompatible with GCC.
10710 # ICC 10 doesn't accept -KPIC any more.
10711 icc* | ifort*)
10712 lt_prog_compiler_wl='-Wl,'
10713 lt_prog_compiler_pic='-fPIC'
10714 lt_prog_compiler_static='-static'
10715 ;;
10716 # Lahey Fortran 8.1.
10717 lf95*)
10718 lt_prog_compiler_wl='-Wl,'
10719 lt_prog_compiler_pic='--shared'
10720 lt_prog_compiler_static='--static'
10721 ;;
10722 nagfor*)
10723 # NAG Fortran compiler
10724 lt_prog_compiler_wl='-Wl,-Wl,,'
10725 lt_prog_compiler_pic='-PIC'
10726 lt_prog_compiler_static='-Bstatic'
10727 ;;
10728 tcc*)
10729 # Fabrice Bellard et al's Tiny C Compiler
10730 lt_prog_compiler_wl='-Wl,'
10731 lt_prog_compiler_pic='-fPIC'
10732 lt_prog_compiler_static='-static'
10733 ;;
10734 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10735 # Portland Group compilers (*not* the Pentium gcc compiler,
10736 # which looks to be a dead project)
10737 lt_prog_compiler_wl='-Wl,'
10738 lt_prog_compiler_pic='-fpic'
10739 lt_prog_compiler_static='-Bstatic'
10740 ;;
10741 ccc*)
10742 lt_prog_compiler_wl='-Wl,'
10743 # All Alpha code is PIC.
10744 lt_prog_compiler_static='-non_shared'
10745 ;;
10746 xl* | bgxl* | bgf* | mpixl*)
10747 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10748 lt_prog_compiler_wl='-Wl,'
10749 lt_prog_compiler_pic='-qpic'
10750 lt_prog_compiler_static='-qstaticlink'
10751 ;;
10752 *)
10753 case `$CC -V 2>&1 | $SED 5q` in
10754 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10755 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10756 lt_prog_compiler_pic='-KPIC'
10757 lt_prog_compiler_static='-Bstatic'
10758 lt_prog_compiler_wl=''
10759 ;;
10760 *Sun\ F* | *Sun*Fortran*)
10761 lt_prog_compiler_pic='-KPIC'
10762 lt_prog_compiler_static='-Bstatic'
10763 lt_prog_compiler_wl='-Qoption ld '
10764 ;;
10765 *Sun\ C*)
10766 # Sun C 5.9
10767 lt_prog_compiler_pic='-KPIC'
10768 lt_prog_compiler_static='-Bstatic'
10769 lt_prog_compiler_wl='-Wl,'
10770 ;;
10771 *Intel*\ [CF]*Compiler*)
10772 lt_prog_compiler_wl='-Wl,'
10773 lt_prog_compiler_pic='-fPIC'
10774 lt_prog_compiler_static='-static'
10775 ;;
10776 *Portland\ Group*)
10777 lt_prog_compiler_wl='-Wl,'
10778 lt_prog_compiler_pic='-fpic'
10779 lt_prog_compiler_static='-Bstatic'
10780 ;;
10781 esac
10782 ;;
10783 esac
10784 ;;
10785
10786 newsos6)
10787 lt_prog_compiler_pic='-KPIC'
10788 lt_prog_compiler_static='-Bstatic'
10789 ;;
10790
10791 *-mlibc)
10792 lt_prog_compiler_wl='-Wl,'
10793 lt_prog_compiler_pic='-fPIC'
10794 lt_prog_compiler_static='-static'
10795 ;;
10796
10797 *nto* | *qnx*)
10798 # QNX uses GNU C++, but need to define -shared option too, otherwise
10799 # it will coredump.
10800 lt_prog_compiler_pic='-fPIC -shared'
10801 ;;
10802
10803 osf3* | osf4* | osf5*)
10804 lt_prog_compiler_wl='-Wl,'
10805 # All OSF/1 code is PIC.
10806 lt_prog_compiler_static='-non_shared'
10807 ;;
10808
10809 rdos*)
10810 lt_prog_compiler_static='-non_shared'
10811 ;;
10812
10813 serenity*)
10814 ;;
10815
10816 solaris*)
10817 lt_prog_compiler_pic='-KPIC'
10818 lt_prog_compiler_static='-Bstatic'
10819 case $cc_basename in
10820 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10821 lt_prog_compiler_wl='-Qoption ld ';;
10822 *)
10823 lt_prog_compiler_wl='-Wl,';;
10824 esac
10825 ;;
10826
10827 sunos4*)
10828 lt_prog_compiler_wl='-Qoption ld '
10829 lt_prog_compiler_pic='-PIC'
10830 lt_prog_compiler_static='-Bstatic'
10831 ;;
10832
10833 sysv4 | sysv4.2uw2* | sysv4.3*)
10834 lt_prog_compiler_wl='-Wl,'
10835 lt_prog_compiler_pic='-KPIC'
10836 lt_prog_compiler_static='-Bstatic'
10837 ;;
10838
10839 sysv4*MP*)
10840 if test -d /usr/nec; then
10841 lt_prog_compiler_pic='-Kconform_pic'
10842 lt_prog_compiler_static='-Bstatic'
10843 fi
10844 ;;
10845
10846 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10847 lt_prog_compiler_wl='-Wl,'
10848 lt_prog_compiler_pic='-KPIC'
10849 lt_prog_compiler_static='-Bstatic'
10850 ;;
10851
10852 unicos*)
10853 lt_prog_compiler_wl='-Wl,'
10854 lt_prog_compiler_can_build_shared=no
10855 ;;
10856
10857 uts4*)
10858 lt_prog_compiler_pic='-pic'
10859 lt_prog_compiler_static='-Bstatic'
10860 ;;
10861
10862 *)
10863 lt_prog_compiler_can_build_shared=no
10864 ;;
10865 esac
10866 fi
10867
10868 case $host_os in
10869 # For platforms that do not support PIC, -DPIC is meaningless:
10870 *djgpp*)
10871 lt_prog_compiler_pic=
10872 ;;
10873 *)
10874 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10875 ;;
10876 esac
10877
10878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10879 printf %s "checking for $compiler option to produce PIC... " >&6; }
10880 if test ${lt_cv_prog_compiler_pic+y}
10881 then :
10882 printf %s "(cached) " >&6
10883 else case e in #(
10884 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
10885 esac
10886 fi
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10888 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
10889 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10890
10891 #
10892 # Check to make sure the PIC flag actually works.
10893 #
10894 if test -n "$lt_prog_compiler_pic"; then
10895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10896 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10897 if test ${lt_cv_prog_compiler_pic_works+y}
10898 then :
10899 printf %s "(cached) " >&6
10900 else case e in #(
10901 e) lt_cv_prog_compiler_pic_works=no
10902 ac_outfile=conftest.$ac_objext
10903 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10904 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10905 # Insert the option either (1) after the last *FLAGS variable, or
10906 # (2) before a word containing "conftest.", or (3) at the end.
10907 # Note that $ac_compile itself does not contain backslashes and begins
10908 # with a dollar sign (not a hyphen), so the echo should work correctly.
10909 # The option is referenced via a variable to avoid confusing sed.
10910 lt_compile=`echo "$ac_compile" | $SED \
10911 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10912 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10913 -e 's:$: $lt_compiler_flag:'`
10914 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10915 (eval "$lt_compile" 2>conftest.err)
10916 ac_status=$?
10917 cat conftest.err >&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 if (exit $ac_status) && test -s "$ac_outfile"; then
10920 # The compiler can only warn and ignore the option if not recognized
10921 # So say no if there are warnings other than the usual output.
10922 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10923 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10924 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10925 lt_cv_prog_compiler_pic_works=yes
10926 fi
10927 fi
10928 $RM conftest*
10929 ;;
10930 esac
10931 fi
10932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10933 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
10934
10935 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10936 case $lt_prog_compiler_pic in
10937 "" | " "*) ;;
10938 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10939 esac
10940 else
10941 lt_prog_compiler_pic=
10942 lt_prog_compiler_can_build_shared=no
10943 fi
10944
10945 fi
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957 #
10958 # Check to make sure the static flag actually works.
10959 #
10960 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10962 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10963 if test ${lt_cv_prog_compiler_static_works+y}
10964 then :
10965 printf %s "(cached) " >&6
10966 else case e in #(
10967 e) lt_cv_prog_compiler_static_works=no
10968 save_LDFLAGS=$LDFLAGS
10969 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10970 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10971 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10972 # The linker can only warn and ignore the option if not recognized
10973 # So say no if there are warnings
10974 if test -s conftest.err; then
10975 # Append any errors to the config.log.
10976 cat conftest.err 1>&5
10977 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10978 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10979 if diff conftest.exp conftest.er2 >/dev/null; then
10980 lt_cv_prog_compiler_static_works=yes
10981 fi
10982 else
10983 lt_cv_prog_compiler_static_works=yes
10984 fi
10985 fi
10986 $RM -r conftest*
10987 LDFLAGS=$save_LDFLAGS
10988 ;;
10989 esac
10990 fi
10991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10992 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
10993
10994 if test yes = "$lt_cv_prog_compiler_static_works"; then
10995 :
10996 else
10997 lt_prog_compiler_static=
10998 fi
10999
11000
11001
11002
11003
11004
11005
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11007 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11008 if test ${lt_cv_prog_compiler_c_o+y}
11009 then :
11010 printf %s "(cached) " >&6
11011 else case e in #(
11012 e) lt_cv_prog_compiler_c_o=no
11013 $RM -r conftest 2>/dev/null
11014 mkdir conftest
11015 cd conftest
11016 mkdir out
11017 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11018
11019 lt_compiler_flag="-o out/conftest2.$ac_objext"
11020 # Insert the option either (1) after the last *FLAGS variable, or
11021 # (2) before a word containing "conftest.", or (3) at the end.
11022 # Note that $ac_compile itself does not contain backslashes and begins
11023 # with a dollar sign (not a hyphen), so the echo should work correctly.
11024 lt_compile=`echo "$ac_compile" | $SED \
11025 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11027 -e 's:$: $lt_compiler_flag:'`
11028 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11029 (eval "$lt_compile" 2>out/conftest.err)
11030 ac_status=$?
11031 cat out/conftest.err >&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11034 then
11035 # The compiler can only warn and ignore the option if not recognized
11036 # So say no if there are warnings
11037 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11038 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11039 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11040 lt_cv_prog_compiler_c_o=yes
11041 fi
11042 fi
11043 chmod u+w . 2>&5
11044 $RM conftest*
11045 # SGI C++ compiler will create directory out/ii_files/ for
11046 # template instantiation
11047 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11048 $RM out/* && rmdir out
11049 cd ..
11050 $RM -r conftest
11051 $RM conftest*
11052 ;;
11053 esac
11054 fi
11055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11056 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11057
11058
11059
11060
11061
11062
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11064 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11065 if test ${lt_cv_prog_compiler_c_o+y}
11066 then :
11067 printf %s "(cached) " >&6
11068 else case e in #(
11069 e) lt_cv_prog_compiler_c_o=no
11070 $RM -r conftest 2>/dev/null
11071 mkdir conftest
11072 cd conftest
11073 mkdir out
11074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11075
11076 lt_compiler_flag="-o out/conftest2.$ac_objext"
11077 # Insert the option either (1) after the last *FLAGS variable, or
11078 # (2) before a word containing "conftest.", or (3) at the end.
11079 # Note that $ac_compile itself does not contain backslashes and begins
11080 # with a dollar sign (not a hyphen), so the echo should work correctly.
11081 lt_compile=`echo "$ac_compile" | $SED \
11082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11084 -e 's:$: $lt_compiler_flag:'`
11085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11086 (eval "$lt_compile" 2>out/conftest.err)
11087 ac_status=$?
11088 cat out/conftest.err >&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11091 then
11092 # The compiler can only warn and ignore the option if not recognized
11093 # So say no if there are warnings
11094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11095 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11096 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11097 lt_cv_prog_compiler_c_o=yes
11098 fi
11099 fi
11100 chmod u+w . 2>&5
11101 $RM conftest*
11102 # SGI C++ compiler will create directory out/ii_files/ for
11103 # template instantiation
11104 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11105 $RM out/* && rmdir out
11106 cd ..
11107 $RM -r conftest
11108 $RM conftest*
11109 ;;
11110 esac
11111 fi
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11113 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11114
11115
11116
11117
11118 hard_links=nottested
11119 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11120 # do not overwrite the value of need_locks provided by the user
11121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11122 printf %s "checking if we can lock with hard links... " >&6; }
11123 hard_links=yes
11124 $RM conftest*
11125 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11126 touch conftest.a
11127 ln conftest.a conftest.b 2>&5 || hard_links=no
11128 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11130 printf "%s\n" "$hard_links" >&6; }
11131 if test no = "$hard_links"; then
11132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11133 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11134 need_locks=warn
11135 fi
11136 else
11137 need_locks=no
11138 fi
11139
11140
11141
11142
11143
11144
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11146 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11147
11148 runpath_var=
11149 allow_undefined_flag=
11150 always_export_symbols=no
11151 archive_cmds=
11152 archive_expsym_cmds=
11153 compiler_needs_object=no
11154 enable_shared_with_static_runtimes=no
11155 export_dynamic_flag_spec=
11156 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11157 hardcode_automatic=no
11158 hardcode_direct=no
11159 hardcode_direct_absolute=no
11160 hardcode_libdir_flag_spec=
11161 hardcode_libdir_separator=
11162 hardcode_minus_L=no
11163 hardcode_shlibpath_var=unsupported
11164 inherit_rpath=no
11165 link_all_deplibs=unknown
11166 module_cmds=
11167 module_expsym_cmds=
11168 old_archive_from_new_cmds=
11169 old_archive_from_expsyms_cmds=
11170 thread_safe_flag_spec=
11171 whole_archive_flag_spec=
11172 # include_expsyms should be a list of space-separated symbols to be *always*
11173 # included in the symbol list
11174 include_expsyms=
11175 # exclude_expsyms can be an extended regexp of symbols to exclude
11176 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11177 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11178 # as well as any symbol that contains 'd'.
11179 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11181 # platforms (ab)use it in PIC code, but their linkers get confused if
11182 # the symbol is explicitly referenced. Since portable code cannot
11183 # rely on this symbol name, it's probably fine to never include it in
11184 # preloaded symbol tables.
11185 # Exclude shared library initialization/finalization symbols.
11186 extract_expsyms_cmds=
11187
11188 case $host_os in
11189 cygwin* | mingw* | windows* | pw32* | cegcc*)
11190 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11191 # When not using gcc, we currently assume that we are using
11192 # Microsoft Visual C++ or Intel C++ Compiler.
11193 if test yes != "$GCC"; then
11194 with_gnu_ld=no
11195 fi
11196 ;;
11197 interix*)
11198 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11199 with_gnu_ld=yes
11200 ;;
11201 esac
11202
11203 ld_shlibs=yes
11204
11205 # On some targets, GNU ld is compatible enough with the native linker
11206 # that we're better off using the native interface for both.
11207 lt_use_gnu_ld_interface=no
11208 if test yes = "$with_gnu_ld"; then
11209 case $host_os in
11210 aix*)
11211 # The AIX port of GNU ld has always aspired to compatibility
11212 # with the native linker. However, as the warning in the GNU ld
11213 # block says, versions before 2.19.5* couldn't really create working
11214 # shared libraries, regardless of the interface used.
11215 case `$LD -v 2>&1` in
11216 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11217 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11218 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11219 *)
11220 lt_use_gnu_ld_interface=yes
11221 ;;
11222 esac
11223 ;;
11224 *)
11225 lt_use_gnu_ld_interface=yes
11226 ;;
11227 esac
11228 fi
11229
11230 if test yes = "$lt_use_gnu_ld_interface"; then
11231 # If archive_cmds runs LD, not CC, wlarc should be empty
11232 wlarc='$wl'
11233
11234 # Set some defaults for GNU ld with shared library support. These
11235 # are reset later if shared libraries are not supported. Putting them
11236 # here allows them to be overridden if necessary.
11237 runpath_var=LD_RUN_PATH
11238 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11239 export_dynamic_flag_spec='$wl--export-dynamic'
11240 # ancient GNU ld didn't support --whole-archive et. al.
11241 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11242 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11243 else
11244 whole_archive_flag_spec=
11245 fi
11246 supports_anon_versioning=no
11247 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11248 *GNU\ gold*) supports_anon_versioning=yes ;;
11249 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11250 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11251 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11252 *\ 2.11.*) ;; # other 2.11 versions
11253 *) supports_anon_versioning=yes ;;
11254 esac
11255
11256 # See if GNU ld supports shared libraries.
11257 case $host_os in
11258 aix[3-9]*)
11259 # On AIX/PPC, the GNU linker is very broken
11260 if test ia64 != "$host_cpu"; then
11261 ld_shlibs=no
11262 cat <<_LT_EOF 1>&2
11263
11264 *** Warning: the GNU linker, at least up to release 2.19, is reported
11265 *** to be unable to reliably create shared libraries on AIX.
11266 *** Therefore, libtool is disabling shared libraries support. If you
11267 *** really care for shared libraries, you may want to install binutils
11268 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11269 *** You will then need to restart the configuration process.
11270
11271 _LT_EOF
11272 fi
11273 ;;
11274
11275 amigaos*)
11276 case $host_cpu in
11277 powerpc)
11278 # see comment about AmigaOS4 .so support
11279 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11280 archive_expsym_cmds=''
11281 ;;
11282 m68k)
11283 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)'
11284 hardcode_libdir_flag_spec='-L$libdir'
11285 hardcode_minus_L=yes
11286 ;;
11287 esac
11288 ;;
11289
11290 beos*)
11291 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11292 allow_undefined_flag=unsupported
11293 # Joseph Beckenbach <[email protected]> says some releases of gcc
11294 # support --undefined. This deserves some investigation. FIXME
11295 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11296 else
11297 ld_shlibs=no
11298 fi
11299 ;;
11300
11301 cygwin* | mingw* | windows* | pw32* | cegcc*)
11302 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11303 # as there is no search path for DLLs.
11304 hardcode_libdir_flag_spec='-L$libdir'
11305 export_dynamic_flag_spec='$wl--export-all-symbols'
11306 allow_undefined_flag=unsupported
11307 always_export_symbols=no
11308 enable_shared_with_static_runtimes=yes
11309 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'
11310 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11311 file_list_spec='@'
11312
11313 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11314 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11315 # If the export-symbols file already is a .def file, use it as
11316 # is; otherwise, prepend EXPORTS...
11317 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11318 cp $export_symbols $output_objdir/$soname.def;
11319 else
11320 echo EXPORTS > $output_objdir/$soname.def;
11321 cat $export_symbols >> $output_objdir/$soname.def;
11322 fi~
11323 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11324 else
11325 ld_shlibs=no
11326 fi
11327 ;;
11328
11329 haiku*)
11330 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11331 link_all_deplibs=no
11332 ;;
11333
11334 os2*)
11335 hardcode_libdir_flag_spec='-L$libdir'
11336 hardcode_minus_L=yes
11337 allow_undefined_flag=unsupported
11338 shrext_cmds=.dll
11339 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11340 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11341 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11342 $ECHO EXPORTS >> $output_objdir/$libname.def~
11343 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11344 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11345 emximp -o $lib $output_objdir/$libname.def'
11346 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11347 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11348 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11349 $ECHO EXPORTS >> $output_objdir/$libname.def~
11350 prefix_cmds="$SED"~
11351 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11352 prefix_cmds="$prefix_cmds -e 1d";
11353 fi~
11354 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11355 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11356 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11357 emximp -o $lib $output_objdir/$libname.def'
11358 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11359 enable_shared_with_static_runtimes=yes
11360 file_list_spec='@'
11361 ;;
11362
11363 interix[3-9]*)
11364 hardcode_direct=no
11365 hardcode_shlibpath_var=no
11366 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11367 export_dynamic_flag_spec='$wl-E'
11368 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11369 # Instead, shared libraries are loaded at an image base (0x10000000 by
11370 # default) and relocated if they conflict, which is a slow very memory
11371 # consuming and fragmenting process. To avoid this, we pick a random,
11372 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11373 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11374 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11375 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'
11376 ;;
11377
11378 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11379 tmp_diet=no
11380 if test linux-dietlibc = "$host_os"; then
11381 case $cc_basename in
11382 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11383 esac
11384 fi
11385 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11386 && test no = "$tmp_diet"
11387 then
11388 tmp_addflag=' $pic_flag'
11389 tmp_sharedflag='-shared'
11390 case $cc_basename,$host_cpu in
11391 pgcc*) # Portland Group C compiler
11392 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'
11393 tmp_addflag=' $pic_flag'
11394 ;;
11395 pgf77* | pgf90* | pgf95* | pgfortran*)
11396 # Portland Group f77 and f90 compilers
11397 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'
11398 tmp_addflag=' $pic_flag -Mnomain' ;;
11399 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11400 tmp_addflag=' -i_dynamic' ;;
11401 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11402 tmp_addflag=' -i_dynamic -nofor_main' ;;
11403 ifc* | ifort*) # Intel Fortran compiler
11404 tmp_addflag=' -nofor_main' ;;
11405 lf95*) # Lahey Fortran 8.1
11406 whole_archive_flag_spec=
11407 tmp_sharedflag='--shared' ;;
11408 nagfor*) # NAGFOR 5.3
11409 tmp_sharedflag='-Wl,-shared' ;;
11410 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11411 tmp_sharedflag='-qmkshrobj'
11412 tmp_addflag= ;;
11413 nvcc*) # Cuda Compiler Driver 2.2
11414 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'
11415 compiler_needs_object=yes
11416 ;;
11417 esac
11418 case `$CC -V 2>&1 | $SED 5q` in
11419 *Sun\ C*) # Sun C 5.9
11420 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'
11421 compiler_needs_object=yes
11422 tmp_sharedflag='-G' ;;
11423 *Sun\ F*) # Sun Fortran 8.3
11424 tmp_sharedflag='-G' ;;
11425 esac
11426 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11427
11428 if test yes = "$supports_anon_versioning"; then
11429 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11430 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11431 echo "local: *; };" >> $output_objdir/$libname.ver~
11432 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11433 fi
11434
11435 case $cc_basename in
11436 tcc*)
11437 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11438 export_dynamic_flag_spec='-rdynamic'
11439 ;;
11440 xlf* | bgf* | bgxlf* | mpixlf*)
11441 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11442 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11443 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11444 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11445 if test yes = "$supports_anon_versioning"; then
11446 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11447 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11448 echo "local: *; };" >> $output_objdir/$libname.ver~
11449 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11450 fi
11451 ;;
11452 esac
11453 else
11454 ld_shlibs=no
11455 fi
11456 ;;
11457
11458 *-mlibc)
11459 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11460 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11461 ;;
11462
11463 netbsd* | netbsdelf*-gnu)
11464 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11465 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11466 wlarc=
11467 else
11468 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11469 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11470 fi
11471 ;;
11472
11473 solaris*)
11474 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11475 ld_shlibs=no
11476 cat <<_LT_EOF 1>&2
11477
11478 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11479 *** create shared libraries on Solaris systems. Therefore, libtool
11480 *** is disabling shared libraries support. We urge you to upgrade GNU
11481 *** binutils to release 2.9.1 or newer. Another option is to modify
11482 *** your PATH or compiler configuration so that the native linker is
11483 *** used, and then restart.
11484
11485 _LT_EOF
11486 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11487 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11488 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11489 else
11490 ld_shlibs=no
11491 fi
11492 ;;
11493
11494 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11495 case `$LD -v 2>&1` in
11496 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11497 ld_shlibs=no
11498 cat <<_LT_EOF 1>&2
11499
11500 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11501 *** reliably create shared libraries on SCO systems. Therefore, libtool
11502 *** is disabling shared libraries support. We urge you to upgrade GNU
11503 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11504 *** your PATH or compiler configuration so that the native linker is
11505 *** used, and then restart.
11506
11507 _LT_EOF
11508 ;;
11509 *)
11510 # For security reasons, it is highly recommended that you always
11511 # use absolute paths for naming shared libraries, and exclude the
11512 # DT_RUNPATH tag from executables and libraries. But doing so
11513 # requires that you compile everything twice, which is a pain.
11514 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11515 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11516 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11517 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11518 else
11519 ld_shlibs=no
11520 fi
11521 ;;
11522 esac
11523 ;;
11524
11525 sunos4*)
11526 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11527 wlarc=
11528 hardcode_direct=yes
11529 hardcode_shlibpath_var=no
11530 ;;
11531
11532 *)
11533 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11534 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11535 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11536 else
11537 ld_shlibs=no
11538 fi
11539 ;;
11540 esac
11541
11542 if test no = "$ld_shlibs"; then
11543 runpath_var=
11544 hardcode_libdir_flag_spec=
11545 export_dynamic_flag_spec=
11546 whole_archive_flag_spec=
11547 fi
11548 else
11549 # PORTME fill in a description of your system's linker (not GNU ld)
11550 case $host_os in
11551 aix3*)
11552 allow_undefined_flag=unsupported
11553 always_export_symbols=yes
11554 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'
11555 # Note: this linker hardcodes the directories in LIBPATH if there
11556 # are no directories specified by -L.
11557 hardcode_minus_L=yes
11558 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11559 # Neither direct hardcoding nor static linking is supported with a
11560 # broken collect2.
11561 hardcode_direct=unsupported
11562 fi
11563 ;;
11564
11565 aix[4-9]*)
11566 if test ia64 = "$host_cpu"; then
11567 # On IA64, the linker does run time linking by default, so we don't
11568 # have to do anything special.
11569 aix_use_runtimelinking=no
11570 exp_sym_flag='-Bexport'
11571 no_entry_flag=
11572 else
11573 # If we're using GNU nm, then we don't want the "-C" option.
11574 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11575 # Without the "-l" option, or with the "-B" option, AIX nm treats
11576 # weak defined symbols like other global defined symbols, whereas
11577 # GNU nm marks them as "W".
11578 # While the 'weak' keyword is ignored in the Export File, we need
11579 # it in the Import File for the 'aix-soname' feature, so we have
11580 # to replace the "-B" option with "-P" for AIX nm.
11581 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11582 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'
11583 else
11584 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'
11585 fi
11586 aix_use_runtimelinking=no
11587
11588 # Test if we are trying to use run time linking or normal
11589 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11590 # have runtime linking enabled, and use it for executables.
11591 # For shared libraries, we enable/disable runtime linking
11592 # depending on the kind of the shared library created -
11593 # when "with_aix_soname,aix_use_runtimelinking" is:
11594 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11595 # "aix,yes" lib.so shared, rtl:yes, for executables
11596 # lib.a static archive
11597 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11598 # lib.a(lib.so.V) shared, rtl:no, for executables
11599 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11600 # lib.a(lib.so.V) shared, rtl:no
11601 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11602 # lib.a static archive
11603 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11604 for ld_flag in $LDFLAGS; do
11605 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11606 aix_use_runtimelinking=yes
11607 break
11608 fi
11609 done
11610 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11611 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11612 # so we don't have lib.a shared libs to link our executables.
11613 # We have to force runtime linking in this case.
11614 aix_use_runtimelinking=yes
11615 LDFLAGS="$LDFLAGS -Wl,-brtl"
11616 fi
11617 ;;
11618 esac
11619
11620 exp_sym_flag='-bexport'
11621 no_entry_flag='-bnoentry'
11622 fi
11623
11624 # When large executables or shared objects are built, AIX ld can
11625 # have problems creating the table of contents. If linking a library
11626 # or program results in "error TOC overflow" add -mminimal-toc to
11627 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11628 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11629
11630 archive_cmds=''
11631 hardcode_direct=yes
11632 hardcode_direct_absolute=yes
11633 hardcode_libdir_separator=':'
11634 link_all_deplibs=yes
11635 file_list_spec='$wl-f,'
11636 case $with_aix_soname,$aix_use_runtimelinking in
11637 aix,*) ;; # traditional, no import file
11638 svr4,* | *,yes) # use import file
11639 # The Import File defines what to hardcode.
11640 hardcode_direct=no
11641 hardcode_direct_absolute=no
11642 ;;
11643 esac
11644
11645 if test yes = "$GCC"; then
11646 case $host_os in aix4.[012]|aix4.[012].*)
11647 # We only want to do this on AIX 4.2 and lower, the check
11648 # below for broken collect2 doesn't work under 4.3+
11649 collect2name=`$CC -print-prog-name=collect2`
11650 if test -f "$collect2name" &&
11651 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11652 then
11653 # We have reworked collect2
11654 :
11655 else
11656 # We have old collect2
11657 hardcode_direct=unsupported
11658 # It fails to find uninstalled libraries when the uninstalled
11659 # path is not listed in the libpath. Setting hardcode_minus_L
11660 # to unsupported forces relinking
11661 hardcode_minus_L=yes
11662 hardcode_libdir_flag_spec='-L$libdir'
11663 hardcode_libdir_separator=
11664 fi
11665 ;;
11666 esac
11667 shared_flag='-shared'
11668 if test yes = "$aix_use_runtimelinking"; then
11669 shared_flag="$shared_flag "'$wl-G'
11670 fi
11671 # Need to ensure runtime linking is disabled for the traditional
11672 # shared library, or the linker may eventually find shared libraries
11673 # /with/ Import File - we do not want to mix them.
11674 shared_flag_aix='-shared'
11675 shared_flag_svr4='-shared $wl-G'
11676 else
11677 # not using gcc
11678 if test ia64 = "$host_cpu"; then
11679 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11680 # chokes on -Wl,-G. The following line is correct:
11681 shared_flag='-G'
11682 else
11683 if test yes = "$aix_use_runtimelinking"; then
11684 shared_flag='$wl-G'
11685 else
11686 shared_flag='$wl-bM:SRE'
11687 fi
11688 shared_flag_aix='$wl-bM:SRE'
11689 shared_flag_svr4='$wl-G'
11690 fi
11691 fi
11692
11693 export_dynamic_flag_spec='$wl-bexpall'
11694 # It seems that -bexpall does not export symbols beginning with
11695 # underscore (_), so it is better to generate a list of symbols to export.
11696 always_export_symbols=yes
11697 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11698 # Warning - without using the other runtime loading flags (-brtl),
11699 # -berok will link without error, but may produce a broken library.
11700 allow_undefined_flag='-berok'
11701 # Determine the default libpath from the value encoded in an
11702 # empty executable.
11703 if test set = "${lt_cv_aix_libpath+set}"; then
11704 aix_libpath=$lt_cv_aix_libpath
11705 else
11706 if test ${lt_cv_aix_libpath_+y}
11707 then :
11708 printf %s "(cached) " >&6
11709 else case e in #(
11710 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11712
11713 int
11714 main (void)
11715 {
11716
11717 ;
11718 return 0;
11719 }
11720 _ACEOF
11721 if ac_fn_c_try_link "$LINENO"
11722 then :
11723
11724 lt_aix_libpath_sed='
11725 /Import File Strings/,/^$/ {
11726 /^0/ {
11727 s/^0 *\([^ ]*\) *$/\1/
11728 p
11729 }
11730 }'
11731 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11732 # Check for a 64-bit object if we didn't find anything.
11733 if test -z "$lt_cv_aix_libpath_"; then
11734 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11735 fi
11736 fi
11737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11738 conftest$ac_exeext conftest.$ac_ext
11739 if test -z "$lt_cv_aix_libpath_"; then
11740 lt_cv_aix_libpath_=/usr/lib:/lib
11741 fi
11742 ;;
11743 esac
11744 fi
11745
11746 aix_libpath=$lt_cv_aix_libpath_
11747 fi
11748
11749 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11750 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
11751 else
11752 if test ia64 = "$host_cpu"; then
11753 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11754 allow_undefined_flag="-z nodefs"
11755 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"
11756 else
11757 # Determine the default libpath from the value encoded in an
11758 # empty executable.
11759 if test set = "${lt_cv_aix_libpath+set}"; then
11760 aix_libpath=$lt_cv_aix_libpath
11761 else
11762 if test ${lt_cv_aix_libpath_+y}
11763 then :
11764 printf %s "(cached) " >&6
11765 else case e in #(
11766 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11768
11769 int
11770 main (void)
11771 {
11772
11773 ;
11774 return 0;
11775 }
11776 _ACEOF
11777 if ac_fn_c_try_link "$LINENO"
11778 then :
11779
11780 lt_aix_libpath_sed='
11781 /Import File Strings/,/^$/ {
11782 /^0/ {
11783 s/^0 *\([^ ]*\) *$/\1/
11784 p
11785 }
11786 }'
11787 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11788 # Check for a 64-bit object if we didn't find anything.
11789 if test -z "$lt_cv_aix_libpath_"; then
11790 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11791 fi
11792 fi
11793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11794 conftest$ac_exeext conftest.$ac_ext
11795 if test -z "$lt_cv_aix_libpath_"; then
11796 lt_cv_aix_libpath_=/usr/lib:/lib
11797 fi
11798 ;;
11799 esac
11800 fi
11801
11802 aix_libpath=$lt_cv_aix_libpath_
11803 fi
11804
11805 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11806 # Warning - without using the other run time loading flags,
11807 # -berok will link without error, but may produce a broken library.
11808 no_undefined_flag=' $wl-bernotok'
11809 allow_undefined_flag=' $wl-berok'
11810 if test yes = "$with_gnu_ld"; then
11811 # We only use this code for GNU lds that support --whole-archive.
11812 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11813 else
11814 # Exported symbols can be pulled into shared objects from archives
11815 whole_archive_flag_spec='$convenience'
11816 fi
11817 archive_cmds_need_lc=yes
11818 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11819 # -brtl affects multiple linker settings, -berok does not and is overridden later
11820 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11821 if test svr4 != "$with_aix_soname"; then
11822 # This is similar to how AIX traditionally builds its shared libraries.
11823 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'
11824 fi
11825 if test aix != "$with_aix_soname"; then
11826 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'
11827 else
11828 # used by -dlpreopen to get the symbols
11829 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11830 fi
11831 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11832 fi
11833 fi
11834 ;;
11835
11836 amigaos*)
11837 case $host_cpu in
11838 powerpc)
11839 # see comment about AmigaOS4 .so support
11840 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11841 archive_expsym_cmds=''
11842 ;;
11843 m68k)
11844 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)'
11845 hardcode_libdir_flag_spec='-L$libdir'
11846 hardcode_minus_L=yes
11847 ;;
11848 esac
11849 ;;
11850
11851 bsdi[45]*)
11852 export_dynamic_flag_spec=-rdynamic
11853 ;;
11854
11855 cygwin* | mingw* | windows* | pw32* | cegcc*)
11856 # When not using gcc, we currently assume that we are using
11857 # Microsoft Visual C++ or Intel C++ Compiler.
11858 # hardcode_libdir_flag_spec is actually meaningless, as there is
11859 # no search path for DLLs.
11860 case $cc_basename in
11861 cl* | icl*)
11862 # Native MSVC or ICC
11863 hardcode_libdir_flag_spec=' '
11864 allow_undefined_flag=unsupported
11865 always_export_symbols=yes
11866 file_list_spec='@'
11867 # Tell ltmain to make .lib files, not .a files.
11868 libext=lib
11869 # Tell ltmain to make .dll files, not .so files.
11870 shrext_cmds=.dll
11871 # FIXME: Setting linknames here is a bad hack.
11872 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11873 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11874 cp "$export_symbols" "$output_objdir/$soname.def";
11875 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11876 else
11877 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11878 fi~
11879 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11880 linknames='
11881 # The linker will not automatically build a static lib if we build a DLL.
11882 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11883 enable_shared_with_static_runtimes=yes
11884 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11885 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11886 # Don't use ranlib
11887 old_postinstall_cmds='chmod 644 $oldlib'
11888 postlink_cmds='lt_outputfile="@OUTPUT@"~
11889 lt_tool_outputfile="@TOOL_OUTPUT@"~
11890 case $lt_outputfile in
11891 *.exe|*.EXE) ;;
11892 *)
11893 lt_outputfile=$lt_outputfile.exe
11894 lt_tool_outputfile=$lt_tool_outputfile.exe
11895 ;;
11896 esac~
11897 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11898 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11899 $RM "$lt_outputfile.manifest";
11900 fi'
11901 ;;
11902 *)
11903 # Assume MSVC and ICC wrapper
11904 hardcode_libdir_flag_spec=' '
11905 allow_undefined_flag=unsupported
11906 # Tell ltmain to make .lib files, not .a files.
11907 libext=lib
11908 # Tell ltmain to make .dll files, not .so files.
11909 shrext_cmds=.dll
11910 # FIXME: Setting linknames here is a bad hack.
11911 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11912 # The linker will automatically build a .lib file if we build a DLL.
11913 old_archive_from_new_cmds='true'
11914 # FIXME: Should let the user specify the lib program.
11915 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11916 enable_shared_with_static_runtimes=yes
11917 ;;
11918 esac
11919 ;;
11920
11921 darwin* | rhapsody*)
11922
11923
11924 archive_cmds_need_lc=no
11925 hardcode_direct=no
11926 hardcode_automatic=yes
11927 hardcode_shlibpath_var=unsupported
11928 if test yes = "$lt_cv_ld_force_load"; then
11929 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\"`'
11930
11931 else
11932 whole_archive_flag_spec=''
11933 fi
11934 link_all_deplibs=yes
11935 allow_undefined_flag=$_lt_dar_allow_undefined
11936 case $cc_basename in
11937 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11938 *) _lt_dar_can_shared=$GCC ;;
11939 esac
11940 if test yes = "$_lt_dar_can_shared"; then
11941 output_verbose_link_cmd=func_echo_all
11942 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11943 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11944 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"
11945 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"
11946
11947 else
11948 ld_shlibs=no
11949 fi
11950
11951 ;;
11952
11953 dgux*)
11954 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11955 hardcode_libdir_flag_spec='-L$libdir'
11956 hardcode_shlibpath_var=no
11957 ;;
11958
11959 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11960 # support. Future versions do this automatically, but an explicit c++rt0.o
11961 # does not break anything, and helps significantly (at the cost of a little
11962 # extra space).
11963 freebsd2.2*)
11964 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11965 hardcode_libdir_flag_spec='-R$libdir'
11966 hardcode_direct=yes
11967 hardcode_shlibpath_var=no
11968 ;;
11969
11970 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11971 freebsd2.*)
11972 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11973 hardcode_direct=yes
11974 hardcode_minus_L=yes
11975 hardcode_shlibpath_var=no
11976 ;;
11977
11978 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11979 freebsd* | dragonfly* | midnightbsd*)
11980 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11981 hardcode_libdir_flag_spec='-R$libdir'
11982 hardcode_direct=yes
11983 hardcode_shlibpath_var=no
11984 ;;
11985
11986 hpux9*)
11987 if test yes = "$GCC"; then
11988 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'
11989 else
11990 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'
11991 fi
11992 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11993 hardcode_libdir_separator=:
11994 hardcode_direct=yes
11995
11996 # hardcode_minus_L: Not really in the search PATH,
11997 # but as the default location of the library.
11998 hardcode_minus_L=yes
11999 export_dynamic_flag_spec='$wl-E'
12000 ;;
12001
12002 hpux10*)
12003 if test yes,no = "$GCC,$with_gnu_ld"; then
12004 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12005 else
12006 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12007 fi
12008 if test no = "$with_gnu_ld"; then
12009 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12010 hardcode_libdir_separator=:
12011 hardcode_direct=yes
12012 hardcode_direct_absolute=yes
12013 export_dynamic_flag_spec='$wl-E'
12014 # hardcode_minus_L: Not really in the search PATH,
12015 # but as the default location of the library.
12016 hardcode_minus_L=yes
12017 fi
12018 ;;
12019
12020 hpux11*)
12021 if test yes,no = "$GCC,$with_gnu_ld"; then
12022 case $host_cpu in
12023 hppa*64*)
12024 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12025 ;;
12026 ia64*)
12027 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12028 ;;
12029 *)
12030 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12031 ;;
12032 esac
12033 else
12034 case $host_cpu in
12035 hppa*64*)
12036 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12037 ;;
12038 ia64*)
12039 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12040 ;;
12041 *)
12042
12043 # Older versions of the 11.00 compiler do not understand -b yet
12044 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12046 printf %s "checking if $CC understands -b... " >&6; }
12047 if test ${lt_cv_prog_compiler__b+y}
12048 then :
12049 printf %s "(cached) " >&6
12050 else case e in #(
12051 e) lt_cv_prog_compiler__b=no
12052 save_LDFLAGS=$LDFLAGS
12053 LDFLAGS="$LDFLAGS -b"
12054 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12055 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12056 # The linker can only warn and ignore the option if not recognized
12057 # So say no if there are warnings
12058 if test -s conftest.err; then
12059 # Append any errors to the config.log.
12060 cat conftest.err 1>&5
12061 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12062 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12063 if diff conftest.exp conftest.er2 >/dev/null; then
12064 lt_cv_prog_compiler__b=yes
12065 fi
12066 else
12067 lt_cv_prog_compiler__b=yes
12068 fi
12069 fi
12070 $RM -r conftest*
12071 LDFLAGS=$save_LDFLAGS
12072 ;;
12073 esac
12074 fi
12075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12076 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12077
12078 if test yes = "$lt_cv_prog_compiler__b"; then
12079 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12080 else
12081 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12082 fi
12083
12084 ;;
12085 esac
12086 fi
12087 if test no = "$with_gnu_ld"; then
12088 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12089 hardcode_libdir_separator=:
12090
12091 case $host_cpu in
12092 hppa*64*|ia64*)
12093 hardcode_direct=no
12094 hardcode_shlibpath_var=no
12095 ;;
12096 *)
12097 hardcode_direct=yes
12098 hardcode_direct_absolute=yes
12099 export_dynamic_flag_spec='$wl-E'
12100
12101 # hardcode_minus_L: Not really in the search PATH,
12102 # but as the default location of the library.
12103 hardcode_minus_L=yes
12104 ;;
12105 esac
12106 fi
12107 ;;
12108
12109 irix5* | irix6* | nonstopux*)
12110 if test yes = "$GCC"; then
12111 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'
12112 # Try to use the -exported_symbol ld option, if it does not
12113 # work, assume that -exports_file does not work either and
12114 # implicitly export all symbols.
12115 # This should be the same for all languages, so no per-tag cache variable.
12116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12117 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12118 if test ${lt_cv_irix_exported_symbol+y}
12119 then :
12120 printf %s "(cached) " >&6
12121 else case e in #(
12122 e) save_LDFLAGS=$LDFLAGS
12123 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12126 int foo (void) { return 0; }
12127 _ACEOF
12128 if ac_fn_c_try_link "$LINENO"
12129 then :
12130 lt_cv_irix_exported_symbol=yes
12131 else case e in #(
12132 e) lt_cv_irix_exported_symbol=no ;;
12133 esac
12134 fi
12135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12136 conftest$ac_exeext conftest.$ac_ext
12137 LDFLAGS=$save_LDFLAGS ;;
12138 esac
12139 fi
12140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12141 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12142 if test yes = "$lt_cv_irix_exported_symbol"; then
12143 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'
12144 fi
12145 else
12146 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'
12147 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'
12148 fi
12149 archive_cmds_need_lc='no'
12150 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12151 hardcode_libdir_separator=:
12152 inherit_rpath=yes
12153 link_all_deplibs=yes
12154 ;;
12155
12156 linux*)
12157 case $cc_basename in
12158 tcc*)
12159 # Fabrice Bellard et al's Tiny C Compiler
12160 ld_shlibs=yes
12161 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12162 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12163 ;;
12164 esac
12165 ;;
12166
12167 *-mlibc)
12168 ;;
12169
12170 netbsd* | netbsdelf*-gnu)
12171 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12172 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12173 else
12174 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12175 fi
12176 hardcode_libdir_flag_spec='-R$libdir'
12177 hardcode_direct=yes
12178 hardcode_shlibpath_var=no
12179 ;;
12180
12181 newsos6)
12182 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12183 hardcode_direct=yes
12184 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12185 hardcode_libdir_separator=:
12186 hardcode_shlibpath_var=no
12187 ;;
12188
12189 *nto* | *qnx*)
12190 ;;
12191
12192 openbsd*)
12193 if test -f /usr/libexec/ld.so; then
12194 hardcode_direct=yes
12195 hardcode_shlibpath_var=no
12196 hardcode_direct_absolute=yes
12197 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12198 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12199 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12200 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12201 export_dynamic_flag_spec='$wl-E'
12202 else
12203 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12204 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12205 fi
12206 else
12207 ld_shlibs=no
12208 fi
12209 ;;
12210
12211 os2*)
12212 hardcode_libdir_flag_spec='-L$libdir'
12213 hardcode_minus_L=yes
12214 allow_undefined_flag=unsupported
12215 shrext_cmds=.dll
12216 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12217 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12218 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12219 $ECHO EXPORTS >> $output_objdir/$libname.def~
12220 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12221 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12222 emximp -o $lib $output_objdir/$libname.def'
12223 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12224 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12225 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12226 $ECHO EXPORTS >> $output_objdir/$libname.def~
12227 prefix_cmds="$SED"~
12228 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12229 prefix_cmds="$prefix_cmds -e 1d";
12230 fi~
12231 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12232 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12233 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12234 emximp -o $lib $output_objdir/$libname.def'
12235 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12236 enable_shared_with_static_runtimes=yes
12237 file_list_spec='@'
12238 ;;
12239
12240 osf3*)
12241 if test yes = "$GCC"; then
12242 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12243 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'
12244 else
12245 allow_undefined_flag=' -expect_unresolved \*'
12246 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'
12247 fi
12248 archive_cmds_need_lc='no'
12249 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12250 hardcode_libdir_separator=:
12251 ;;
12252
12253 osf4* | osf5*) # as osf3* with the addition of -msym flag
12254 if test yes = "$GCC"; then
12255 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12256 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'
12257 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12258 else
12259 allow_undefined_flag=' -expect_unresolved \*'
12260 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'
12261 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~
12262 $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'
12263
12264 # Both c and cxx compiler support -rpath directly
12265 hardcode_libdir_flag_spec='-rpath $libdir'
12266 fi
12267 archive_cmds_need_lc='no'
12268 hardcode_libdir_separator=:
12269 ;;
12270
12271 serenity*)
12272 ;;
12273
12274 solaris*)
12275 no_undefined_flag=' -z defs'
12276 if test yes = "$GCC"; then
12277 wlarc='$wl'
12278 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12279 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12280 $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'
12281 else
12282 case `$CC -V 2>&1` in
12283 *"Compilers 5.0"*)
12284 wlarc=''
12285 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12286 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12287 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12288 ;;
12289 *)
12290 wlarc='$wl'
12291 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12292 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12293 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12294 ;;
12295 esac
12296 fi
12297 hardcode_libdir_flag_spec='-R$libdir'
12298 hardcode_shlibpath_var=no
12299 case $host_os in
12300 solaris2.[0-5] | solaris2.[0-5].*) ;;
12301 *)
12302 # The compiler driver will combine and reorder linker options,
12303 # but understands '-z linker_flag'. GCC discards it without '$wl',
12304 # but is careful enough not to reorder.
12305 # Supported since Solaris 2.6 (maybe 2.5.1?)
12306 if test yes = "$GCC"; then
12307 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12308 else
12309 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12310 fi
12311 ;;
12312 esac
12313 link_all_deplibs=yes
12314 ;;
12315
12316 sunos4*)
12317 if test sequent = "$host_vendor"; then
12318 # Use $CC to link under sequent, because it throws in some extra .o
12319 # files that make .init and .fini sections work.
12320 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12321 else
12322 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12323 fi
12324 hardcode_libdir_flag_spec='-L$libdir'
12325 hardcode_direct=yes
12326 hardcode_minus_L=yes
12327 hardcode_shlibpath_var=no
12328 ;;
12329
12330 sysv4)
12331 case $host_vendor in
12332 sni)
12333 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12334 hardcode_direct=yes # is this really true???
12335 ;;
12336 siemens)
12337 ## LD is ld it makes a PLAMLIB
12338 ## CC just makes a GrossModule.
12339 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12340 reload_cmds='$CC -r -o $output$reload_objs'
12341 hardcode_direct=no
12342 ;;
12343 motorola)
12344 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12345 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12346 ;;
12347 esac
12348 runpath_var='LD_RUN_PATH'
12349 hardcode_shlibpath_var=no
12350 ;;
12351
12352 sysv4.3*)
12353 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12354 hardcode_shlibpath_var=no
12355 export_dynamic_flag_spec='-Bexport'
12356 ;;
12357
12358 sysv4*MP*)
12359 if test -d /usr/nec; then
12360 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12361 hardcode_shlibpath_var=no
12362 runpath_var=LD_RUN_PATH
12363 hardcode_runpath_var=yes
12364 ld_shlibs=yes
12365 fi
12366 ;;
12367
12368 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12369 no_undefined_flag='$wl-z,text'
12370 archive_cmds_need_lc=no
12371 hardcode_shlibpath_var=no
12372 runpath_var='LD_RUN_PATH'
12373
12374 if test yes = "$GCC"; then
12375 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12376 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12377 else
12378 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12379 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12380 fi
12381 ;;
12382
12383 sysv5* | sco3.2v5* | sco5v6*)
12384 # Note: We CANNOT use -z defs as we might desire, because we do not
12385 # link with -lc, and that would cause any symbols used from libc to
12386 # always be unresolved, which means just about no library would
12387 # ever link correctly. If we're not using GNU ld we use -z text
12388 # though, which does catch some bad symbols but isn't as heavy-handed
12389 # as -z defs.
12390 no_undefined_flag='$wl-z,text'
12391 allow_undefined_flag='$wl-z,nodefs'
12392 archive_cmds_need_lc=no
12393 hardcode_shlibpath_var=no
12394 hardcode_libdir_flag_spec='$wl-R,$libdir'
12395 hardcode_libdir_separator=':'
12396 link_all_deplibs=yes
12397 export_dynamic_flag_spec='$wl-Bexport'
12398 runpath_var='LD_RUN_PATH'
12399
12400 if test yes = "$GCC"; then
12401 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12402 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12403 else
12404 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12405 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12406 fi
12407 ;;
12408
12409 uts4*)
12410 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12411 hardcode_libdir_flag_spec='-L$libdir'
12412 hardcode_shlibpath_var=no
12413 ;;
12414
12415 *)
12416 ld_shlibs=no
12417 ;;
12418 esac
12419
12420 if test sni = "$host_vendor"; then
12421 case $host in
12422 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12423 export_dynamic_flag_spec='$wl-Blargedynsym'
12424 ;;
12425 esac
12426 fi
12427 fi
12428
12429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12430 printf "%s\n" "$ld_shlibs" >&6; }
12431 test no = "$ld_shlibs" && can_build_shared=no
12432
12433 with_gnu_ld=$with_gnu_ld
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449 #
12450 # Do we need to explicitly link libc?
12451 #
12452 case "x$archive_cmds_need_lc" in
12453 x|xyes)
12454 # Assume -lc should be added
12455 archive_cmds_need_lc=yes
12456
12457 if test yes,yes = "$GCC,$enable_shared"; then
12458 case $archive_cmds in
12459 *'~'*)
12460 # FIXME: we may have to deal with multi-command sequences.
12461 ;;
12462 '$CC '*)
12463 # Test whether the compiler implicitly links with -lc since on some
12464 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12465 # to ld, don't add -lc before -lgcc.
12466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12467 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12468 if test ${lt_cv_archive_cmds_need_lc+y}
12469 then :
12470 printf %s "(cached) " >&6
12471 else case e in #(
12472 e) $RM conftest*
12473 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12474
12475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12476 (eval $ac_compile) 2>&5
12477 ac_status=$?
12478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12479 test $ac_status = 0; } 2>conftest.err; then
12480 soname=conftest
12481 lib=conftest
12482 libobjs=conftest.$ac_objext
12483 deplibs=
12484 wl=$lt_prog_compiler_wl
12485 pic_flag=$lt_prog_compiler_pic
12486 compiler_flags=-v
12487 linker_flags=-v
12488 verstring=
12489 output_objdir=.
12490 libname=conftest
12491 lt_save_allow_undefined_flag=$allow_undefined_flag
12492 allow_undefined_flag=
12493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12494 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12495 ac_status=$?
12496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12497 test $ac_status = 0; }
12498 then
12499 lt_cv_archive_cmds_need_lc=no
12500 else
12501 lt_cv_archive_cmds_need_lc=yes
12502 fi
12503 allow_undefined_flag=$lt_save_allow_undefined_flag
12504 else
12505 cat conftest.err 1>&5
12506 fi
12507 $RM conftest*
12508 ;;
12509 esac
12510 fi
12511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12512 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12513 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12514 ;;
12515 esac
12516 fi
12517 ;;
12518 esac
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
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12672 printf %s "checking dynamic linker characteristics... " >&6; }
12673
12674 if test yes = "$GCC"; then
12675 case $host_os in
12676 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12677 *) lt_awk_arg='/^libraries:/' ;;
12678 esac
12679 case $host_os in
12680 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12681 *) lt_sed_strip_eq='s|=/|/|g' ;;
12682 esac
12683 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12684 case $lt_search_path_spec in
12685 *\;*)
12686 # if the path contains ";" then we assume it to be the separator
12687 # otherwise default to the standard path separator (i.e. ":") - it is
12688 # assumed that no part of a normal pathname contains ";" but that should
12689 # okay in the real world where ";" in dirpaths is itself problematic.
12690 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12691 ;;
12692 *)
12693 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12694 ;;
12695 esac
12696 # Ok, now we have the path, separated by spaces, we can step through it
12697 # and add multilib dir if necessary...
12698 lt_tmp_lt_search_path_spec=
12699 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12700 # ...but if some path component already ends with the multilib dir we assume
12701 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12702 case "$lt_multi_os_dir; $lt_search_path_spec " in
12703 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12704 lt_multi_os_dir=
12705 ;;
12706 esac
12707 for lt_sys_path in $lt_search_path_spec; do
12708 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12709 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12710 elif test -n "$lt_multi_os_dir"; then
12711 test -d "$lt_sys_path" && \
12712 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12713 fi
12714 done
12715 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12716 BEGIN {RS = " "; FS = "/|\n";} {
12717 lt_foo = "";
12718 lt_count = 0;
12719 for (lt_i = NF; lt_i > 0; lt_i--) {
12720 if ($lt_i != "" && $lt_i != ".") {
12721 if ($lt_i == "..") {
12722 lt_count++;
12723 } else {
12724 if (lt_count == 0) {
12725 lt_foo = "/" $lt_i lt_foo;
12726 } else {
12727 lt_count--;
12728 }
12729 }
12730 }
12731 }
12732 if (lt_foo != "") { lt_freq[lt_foo]++; }
12733 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12734 }'`
12735 # AWK program above erroneously prepends '/' to C:/dos/paths
12736 # for these hosts.
12737 case $host_os in
12738 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12739 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12740 esac
12741 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12742 else
12743 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12744 fi
12745 library_names_spec=
12746 libname_spec='lib$name'
12747 soname_spec=
12748 shrext_cmds=.so
12749 postinstall_cmds=
12750 postuninstall_cmds=
12751 finish_cmds=
12752 finish_eval=
12753 shlibpath_var=
12754 shlibpath_overrides_runpath=unknown
12755 version_type=none
12756 dynamic_linker="$host_os ld.so"
12757 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12758 need_lib_prefix=unknown
12759 hardcode_into_libs=no
12760
12761 # when you set need_version to no, make sure it does not cause -set_version
12762 # flags to be left without arguments
12763 need_version=unknown
12764
12765
12766
12767 case $host_os in
12768 aix3*)
12769 version_type=linux # correct to gnu/linux during the next big refactor
12770 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12771 shlibpath_var=LIBPATH
12772
12773 # AIX 3 has no versioning support, so we append a major version to the name.
12774 soname_spec='$libname$release$shared_ext$major'
12775 ;;
12776
12777 aix[4-9]*)
12778 version_type=linux # correct to gnu/linux during the next big refactor
12779 need_lib_prefix=no
12780 need_version=no
12781 hardcode_into_libs=yes
12782 if test ia64 = "$host_cpu"; then
12783 # AIX 5 supports IA64
12784 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12785 shlibpath_var=LD_LIBRARY_PATH
12786 else
12787 # With GCC up to 2.95.x, collect2 would create an import file
12788 # for dependence libraries. The import file would start with
12789 # the line '#! .'. This would cause the generated library to
12790 # depend on '.', always an invalid library. This was fixed in
12791 # development snapshots of GCC prior to 3.0.
12792 case $host_os in
12793 aix4 | aix4.[01] | aix4.[01].*)
12794 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12795 echo ' yes '
12796 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12797 :
12798 else
12799 can_build_shared=no
12800 fi
12801 ;;
12802 esac
12803 # Using Import Files as archive members, it is possible to support
12804 # filename-based versioning of shared library archives on AIX. While
12805 # this would work for both with and without runtime linking, it will
12806 # prevent static linking of such archives. So we do filename-based
12807 # shared library versioning with .so extension only, which is used
12808 # when both runtime linking and shared linking is enabled.
12809 # Unfortunately, runtime linking may impact performance, so we do
12810 # not want this to be the default eventually. Also, we use the
12811 # versioned .so libs for executables only if there is the -brtl
12812 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
12813 # To allow for filename-based versioning support, we need to create
12814 # libNAME.so.V as an archive file, containing:
12815 # *) an Import File, referring to the versioned filename of the
12816 # archive as well as the shared archive member, telling the
12817 # bitwidth (32 or 64) of that shared object, and providing the
12818 # list of exported symbols of that shared object, eventually
12819 # decorated with the 'weak' keyword
12820 # *) the shared object with the F_LOADONLY flag set, to really avoid
12821 # it being seen by the linker.
12822 # At run time we better use the real file rather than another symlink,
12823 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12824
12825 case $with_aix_soname,$aix_use_runtimelinking in
12826 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12827 # soname into executable. Probably we can add versioning support to
12828 # collect2, so additional links can be useful in future.
12829 aix,yes) # traditional libtool
12830 dynamic_linker='AIX unversionable lib.so'
12831 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12832 # instead of lib<name>.a to let people know that these are not
12833 # typical AIX shared libraries.
12834 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12835 ;;
12836 aix,no) # traditional AIX only
12837 dynamic_linker='AIX lib.a(lib.so.V)'
12838 # We preserve .a as extension for shared libraries through AIX4.2
12839 # and later when we are not doing run time linking.
12840 library_names_spec='$libname$release.a $libname.a'
12841 soname_spec='$libname$release$shared_ext$major'
12842 ;;
12843 svr4,*) # full svr4 only
12844 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12845 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12846 # We do not specify a path in Import Files, so LIBPATH fires.
12847 shlibpath_overrides_runpath=yes
12848 ;;
12849 *,yes) # both, prefer svr4
12850 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12851 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12852 # unpreferred sharedlib libNAME.a needs extra handling
12853 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"'
12854 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"'
12855 # We do not specify a path in Import Files, so LIBPATH fires.
12856 shlibpath_overrides_runpath=yes
12857 ;;
12858 *,no) # both, prefer aix
12859 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12860 library_names_spec='$libname$release.a $libname.a'
12861 soname_spec='$libname$release$shared_ext$major'
12862 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12863 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)'
12864 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"'
12865 ;;
12866 esac
12867 shlibpath_var=LIBPATH
12868 fi
12869 ;;
12870
12871 amigaos*)
12872 case $host_cpu in
12873 powerpc)
12874 # Since July 2007 AmigaOS4 officially supports .so libraries.
12875 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12876 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12877 ;;
12878 m68k)
12879 library_names_spec='$libname.ixlibrary $libname.a'
12880 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12881 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'
12882 ;;
12883 esac
12884 ;;
12885
12886 beos*)
12887 library_names_spec='$libname$shared_ext'
12888 dynamic_linker="$host_os ld.so"
12889 shlibpath_var=LIBRARY_PATH
12890 ;;
12891
12892 bsdi[45]*)
12893 version_type=linux # correct to gnu/linux during the next big refactor
12894 need_version=no
12895 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12896 soname_spec='$libname$release$shared_ext$major'
12897 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12898 shlibpath_var=LD_LIBRARY_PATH
12899 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12900 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12901 # the default ld.so.conf also contains /usr/contrib/lib and
12902 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12903 # libtool to hard-code these into programs
12904 ;;
12905
12906 cygwin* | mingw* | windows* | pw32* | cegcc*)
12907 version_type=windows
12908 shrext_cmds=.dll
12909 need_version=no
12910 need_lib_prefix=no
12911
12912 case $GCC,$cc_basename in
12913 yes,*)
12914 # gcc
12915 library_names_spec='$libname.dll.a'
12916 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12917 # If user builds GCC with multilib enabled,
12918 # it should just install on $(libdir)
12919 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
12920 if test xyes = x"$multilib"; then
12921 postinstall_cmds='base_file=`basename \$file`~
12922 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12923 dldir=$destdir/`dirname \$dlpath`~
12924 $install_prog $dir/$dlname $destdir/$dlname~
12925 chmod a+x $destdir/$dlname~
12926 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12927 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
12928 fi'
12929 else
12930 postinstall_cmds='base_file=`basename \$file`~
12931 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12932 dldir=$destdir/`dirname \$dlpath`~
12933 test -d \$dldir || mkdir -p \$dldir~
12934 $install_prog $dir/$dlname \$dldir/$dlname~
12935 chmod a+x \$dldir/$dlname~
12936 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12937 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12938 fi'
12939 fi
12940 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12941 dlpath=$dir/\$dldll~
12942 $RM \$dlpath'
12943 shlibpath_overrides_runpath=yes
12944
12945 case $host_os in
12946 cygwin*)
12947 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12948 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12949
12950 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12951 ;;
12952 mingw* | windows* | cegcc*)
12953 # MinGW DLLs use traditional 'lib' prefix
12954 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12955 ;;
12956 pw32*)
12957 # pw32 DLLs use 'pw' prefix rather than 'lib'
12958 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12959 ;;
12960 esac
12961 dynamic_linker='Win32 ld.exe'
12962 ;;
12963
12964 *,cl* | *,icl*)
12965 # Native MSVC or ICC
12966 libname_spec='$name'
12967 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12968 library_names_spec='$libname.dll.lib'
12969
12970 case $build_os in
12971 mingw* | windows*)
12972 sys_lib_search_path_spec=
12973 lt_save_ifs=$IFS
12974 IFS=';'
12975 for lt_path in $LIB
12976 do
12977 IFS=$lt_save_ifs
12978 # Let DOS variable expansion print the short 8.3 style file name.
12979 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12980 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12981 done
12982 IFS=$lt_save_ifs
12983 # Convert to MSYS style.
12984 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12985 ;;
12986 cygwin*)
12987 # Convert to unix form, then to dos form, then back to unix form
12988 # but this time dos style (no spaces!) so that the unix form looks
12989 # like /cygdrive/c/PROGRA~1:/cygdr...
12990 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12991 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12992 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12993 ;;
12994 *)
12995 sys_lib_search_path_spec=$LIB
12996 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12997 # It is most probably a Windows format PATH.
12998 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12999 else
13000 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13001 fi
13002 # FIXME: find the short name or the path components, as spaces are
13003 # common. (e.g. "Program Files" -> "PROGRA~1")
13004 ;;
13005 esac
13006
13007 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13008 postinstall_cmds='base_file=`basename \$file`~
13009 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13010 dldir=$destdir/`dirname \$dlpath`~
13011 test -d \$dldir || mkdir -p \$dldir~
13012 $install_prog $dir/$dlname \$dldir/$dlname'
13013 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13014 dlpath=$dir/\$dldll~
13015 $RM \$dlpath'
13016 shlibpath_overrides_runpath=yes
13017 dynamic_linker='Win32 link.exe'
13018 ;;
13019
13020 *)
13021 # Assume MSVC and ICC wrapper
13022 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13023 dynamic_linker='Win32 ld.exe'
13024 ;;
13025 esac
13026 # FIXME: first we should search . and the directory the executable is in
13027 shlibpath_var=PATH
13028 ;;
13029
13030 darwin* | rhapsody*)
13031 dynamic_linker="$host_os dyld"
13032 version_type=darwin
13033 need_lib_prefix=no
13034 need_version=no
13035 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13036 soname_spec='$libname$release$major$shared_ext'
13037 shlibpath_overrides_runpath=yes
13038 shlibpath_var=DYLD_LIBRARY_PATH
13039 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13040
13041 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13042 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13043 ;;
13044
13045 dgux*)
13046 version_type=linux # correct to gnu/linux during the next big refactor
13047 need_lib_prefix=no
13048 need_version=no
13049 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13050 soname_spec='$libname$release$shared_ext$major'
13051 shlibpath_var=LD_LIBRARY_PATH
13052 ;;
13053
13054 freebsd* | dragonfly* | midnightbsd*)
13055 # DragonFly does not have aout. When/if they implement a new
13056 # versioning mechanism, adjust this.
13057 if test -x /usr/bin/objformat; then
13058 objformat=`/usr/bin/objformat`
13059 else
13060 case $host_os in
13061 freebsd[23].*) objformat=aout ;;
13062 *) objformat=elf ;;
13063 esac
13064 fi
13065 version_type=freebsd-$objformat
13066 case $version_type in
13067 freebsd-elf*)
13068 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13069 soname_spec='$libname$release$shared_ext$major'
13070 need_version=no
13071 need_lib_prefix=no
13072 ;;
13073 freebsd-*)
13074 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13075 need_version=yes
13076 ;;
13077 esac
13078 case $host_cpu in
13079 powerpc64)
13080 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13081 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13084 int test_pointer_size[sizeof (void *) - 5];
13085
13086 _ACEOF
13087 if ac_fn_c_try_compile "$LINENO"
13088 then :
13089 shlibpath_var=LD_LIBRARY_PATH
13090 else case e in #(
13091 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13092 esac
13093 fi
13094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13095 ;;
13096 *)
13097 shlibpath_var=LD_LIBRARY_PATH
13098 ;;
13099 esac
13100 case $host_os in
13101 freebsd2.*)
13102 shlibpath_overrides_runpath=yes
13103 ;;
13104 freebsd3.[01]* | freebsdelf3.[01]*)
13105 shlibpath_overrides_runpath=yes
13106 hardcode_into_libs=yes
13107 ;;
13108 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13109 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13110 shlibpath_overrides_runpath=no
13111 hardcode_into_libs=yes
13112 ;;
13113 *) # from 4.6 on, and DragonFly
13114 shlibpath_overrides_runpath=yes
13115 hardcode_into_libs=yes
13116 ;;
13117 esac
13118 ;;
13119
13120 haiku*)
13121 version_type=linux # correct to gnu/linux during the next big refactor
13122 need_lib_prefix=no
13123 need_version=no
13124 dynamic_linker="$host_os runtime_loader"
13125 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13126 soname_spec='$libname$release$shared_ext$major'
13127 shlibpath_var=LIBRARY_PATH
13128 shlibpath_overrides_runpath=no
13129 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13130 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13131 hardcode_into_libs=no
13132 ;;
13133
13134 hpux9* | hpux10* | hpux11*)
13135 # Give a soname corresponding to the major version so that dld.sl refuses to
13136 # link against other versions.
13137 version_type=sunos
13138 need_lib_prefix=no
13139 need_version=no
13140 case $host_cpu in
13141 ia64*)
13142 shrext_cmds='.so'
13143 hardcode_into_libs=yes
13144 dynamic_linker="$host_os dld.so"
13145 shlibpath_var=LD_LIBRARY_PATH
13146 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13147 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13148 soname_spec='$libname$release$shared_ext$major'
13149 if test 32 = "$HPUX_IA64_MODE"; then
13150 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13151 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13152 else
13153 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13154 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13155 fi
13156 ;;
13157 hppa*64*)
13158 shrext_cmds='.sl'
13159 hardcode_into_libs=yes
13160 dynamic_linker="$host_os dld.sl"
13161 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13162 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13163 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13164 soname_spec='$libname$release$shared_ext$major'
13165 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13166 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13167 ;;
13168 *)
13169 shrext_cmds='.sl'
13170 dynamic_linker="$host_os dld.sl"
13171 shlibpath_var=SHLIB_PATH
13172 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13173 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13174 soname_spec='$libname$release$shared_ext$major'
13175 ;;
13176 esac
13177 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13178 postinstall_cmds='chmod 555 $lib'
13179 # or fails outright, so override atomically:
13180 install_override_mode=555
13181 ;;
13182
13183 interix[3-9]*)
13184 version_type=linux # correct to gnu/linux during the next big refactor
13185 need_lib_prefix=no
13186 need_version=no
13187 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13188 soname_spec='$libname$release$shared_ext$major'
13189 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13190 shlibpath_var=LD_LIBRARY_PATH
13191 shlibpath_overrides_runpath=no
13192 hardcode_into_libs=yes
13193 ;;
13194
13195 irix5* | irix6* | nonstopux*)
13196 case $host_os in
13197 nonstopux*) version_type=nonstopux ;;
13198 *)
13199 if test yes = "$lt_cv_prog_gnu_ld"; then
13200 version_type=linux # correct to gnu/linux during the next big refactor
13201 else
13202 version_type=irix
13203 fi ;;
13204 esac
13205 need_lib_prefix=no
13206 need_version=no
13207 soname_spec='$libname$release$shared_ext$major'
13208 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13209 case $host_os in
13210 irix5* | nonstopux*)
13211 libsuff= shlibsuff=
13212 ;;
13213 *)
13214 case $LD in # libtool.m4 will add one of these switches to LD
13215 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13216 libsuff= shlibsuff= libmagic=32-bit;;
13217 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13218 libsuff=32 shlibsuff=N32 libmagic=N32;;
13219 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13220 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13221 *) libsuff= shlibsuff= libmagic=never-match;;
13222 esac
13223 ;;
13224 esac
13225 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13226 shlibpath_overrides_runpath=no
13227 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13228 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13229 hardcode_into_libs=yes
13230 ;;
13231
13232 # No shared lib support for Linux oldld, aout, or coff.
13233 linux*oldld* | linux*aout* | linux*coff*)
13234 dynamic_linker=no
13235 ;;
13236
13237 linux*android*)
13238 version_type=none # Android doesn't support versioned libraries.
13239 need_lib_prefix=no
13240 need_version=no
13241 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13242 soname_spec='$libname$release$shared_ext'
13243 finish_cmds=
13244 shlibpath_var=LD_LIBRARY_PATH
13245 shlibpath_overrides_runpath=yes
13246
13247 # This implies no fast_install, which is unacceptable.
13248 # Some rework will be needed to allow for fast_install
13249 # before this can be enabled.
13250 hardcode_into_libs=yes
13251
13252 dynamic_linker='Android linker'
13253 # -rpath works at least for libraries that are not overridden by
13254 # libraries installed in system locations.
13255 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13256 ;;
13257
13258 # This must be glibc/ELF.
13259 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13260 version_type=linux # correct to gnu/linux during the next big refactor
13261 need_lib_prefix=no
13262 need_version=no
13263 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13264 soname_spec='$libname$release$shared_ext$major'
13265 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13266 shlibpath_var=LD_LIBRARY_PATH
13267 shlibpath_overrides_runpath=no
13268
13269 # Some binutils ld are patched to set DT_RUNPATH
13270 if test ${lt_cv_shlibpath_overrides_runpath+y}
13271 then :
13272 printf %s "(cached) " >&6
13273 else case e in #(
13274 e) lt_cv_shlibpath_overrides_runpath=no
13275 save_LDFLAGS=$LDFLAGS
13276 save_libdir=$libdir
13277 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13278 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13280 /* end confdefs.h. */
13281
13282 int
13283 main (void)
13284 {
13285
13286 ;
13287 return 0;
13288 }
13289 _ACEOF
13290 if ac_fn_c_try_link "$LINENO"
13291 then :
13292 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13293 then :
13294 lt_cv_shlibpath_overrides_runpath=yes
13295 fi
13296 fi
13297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13298 conftest$ac_exeext conftest.$ac_ext
13299 LDFLAGS=$save_LDFLAGS
13300 libdir=$save_libdir
13301 ;;
13302 esac
13303 fi
13304
13305 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13306
13307 # This implies no fast_install, which is unacceptable.
13308 # Some rework will be needed to allow for fast_install
13309 # before this can be enabled.
13310 hardcode_into_libs=yes
13311
13312 # Ideally, we could use ldconfig to report *all* directories which are
13313 # searched for libraries, however this is still not possible. Aside from not
13314 # being certain /sbin/ldconfig is available, command
13315 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13316 # even though it is searched at run-time. Try to do the best guess by
13317 # appending ld.so.conf contents (and includes) to the search path.
13318 if test -f /etc/ld.so.conf; then
13319 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' ' '`
13320 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13321 fi
13322
13323 # We used to test for /lib/ld.so.1 and disable shared libraries on
13324 # powerpc, because MkLinux only supported shared libraries with the
13325 # GNU dynamic linker. Since this was broken with cross compilers,
13326 # most powerpc-linux boxes support dynamic linking these days and
13327 # people can always --disable-shared, the test was removed, and we
13328 # assume the GNU/Linux dynamic linker is in use.
13329 dynamic_linker='GNU/Linux ld.so'
13330 ;;
13331
13332 netbsdelf*-gnu)
13333 version_type=linux
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='NetBSD ld.elf_so'
13342 ;;
13343
13344 netbsd*)
13345 version_type=sunos
13346 need_lib_prefix=no
13347 need_version=no
13348 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13349 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13350 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13351 dynamic_linker='NetBSD (a.out) ld.so'
13352 else
13353 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13354 soname_spec='$libname$release$shared_ext$major'
13355 dynamic_linker='NetBSD ld.elf_so'
13356 fi
13357 shlibpath_var=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath=yes
13359 hardcode_into_libs=yes
13360 ;;
13361
13362 *-mlibc)
13363 version_type=linux # correct to gnu/linux during the next big refactor
13364 need_lib_prefix=no
13365 need_version=no
13366 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13367 soname_spec='$libname$release$shared_ext$major'
13368 dynamic_linker='mlibc ld.so'
13369 shlibpath_var=LD_LIBRARY_PATH
13370 shlibpath_overrides_runpath=no
13371 hardcode_into_libs=yes
13372 ;;
13373
13374 newsos6)
13375 version_type=linux # correct to gnu/linux during the next big refactor
13376 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13377 shlibpath_var=LD_LIBRARY_PATH
13378 shlibpath_overrides_runpath=yes
13379 ;;
13380
13381 *nto* | *qnx*)
13382 version_type=qnx
13383 need_lib_prefix=no
13384 need_version=no
13385 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13386 soname_spec='$libname$release$shared_ext$major'
13387 shlibpath_var=LD_LIBRARY_PATH
13388 shlibpath_overrides_runpath=no
13389 hardcode_into_libs=yes
13390 dynamic_linker='ldqnx.so'
13391 ;;
13392
13393 openbsd*)
13394 version_type=sunos
13395 sys_lib_dlsearch_path_spec=/usr/lib
13396 need_lib_prefix=no
13397 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13398 need_version=no
13399 else
13400 need_version=yes
13401 fi
13402 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13403 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13404 shlibpath_var=LD_LIBRARY_PATH
13405 shlibpath_overrides_runpath=yes
13406 ;;
13407
13408 os2*)
13409 libname_spec='$name'
13410 version_type=windows
13411 shrext_cmds=.dll
13412 need_version=no
13413 need_lib_prefix=no
13414 # OS/2 can only load a DLL with a base name of 8 characters or less.
13415 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13416 v=$($ECHO $release$versuffix | tr -d .-);
13417 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13418 $ECHO $n$v`$shared_ext'
13419 library_names_spec='${libname}_dll.$libext'
13420 dynamic_linker='OS/2 ld.exe'
13421 shlibpath_var=BEGINLIBPATH
13422 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13424 postinstall_cmds='base_file=`basename \$file`~
13425 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13426 dldir=$destdir/`dirname \$dlpath`~
13427 test -d \$dldir || mkdir -p \$dldir~
13428 $install_prog $dir/$dlname \$dldir/$dlname~
13429 chmod a+x \$dldir/$dlname~
13430 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13431 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13432 fi'
13433 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13434 dlpath=$dir/\$dldll~
13435 $RM \$dlpath'
13436 ;;
13437
13438 osf3* | osf4* | osf5*)
13439 version_type=osf
13440 need_lib_prefix=no
13441 need_version=no
13442 soname_spec='$libname$release$shared_ext$major'
13443 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13444 shlibpath_var=LD_LIBRARY_PATH
13445 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13446 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13447 ;;
13448
13449 rdos*)
13450 dynamic_linker=no
13451 ;;
13452
13453 serenity*)
13454 version_type=linux # correct to gnu/linux during the next big refactor
13455 need_lib_prefix=no
13456 need_version=no
13457 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13458 soname_spec='$libname$release$shared_ext$major'
13459 shlibpath_var=LD_LIBRARY_PATH
13460 shlibpath_overrides_runpath=no
13461 dynamic_linker='SerenityOS LibELF'
13462 ;;
13463
13464 solaris*)
13465 version_type=linux # correct to gnu/linux during the next big refactor
13466 need_lib_prefix=no
13467 need_version=no
13468 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13469 soname_spec='$libname$release$shared_ext$major'
13470 shlibpath_var=LD_LIBRARY_PATH
13471 shlibpath_overrides_runpath=yes
13472 hardcode_into_libs=yes
13473 # ldd complains unless libraries are executable
13474 postinstall_cmds='chmod +x $lib'
13475 ;;
13476
13477 sunos4*)
13478 version_type=sunos
13479 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13480 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13481 shlibpath_var=LD_LIBRARY_PATH
13482 shlibpath_overrides_runpath=yes
13483 if test yes = "$with_gnu_ld"; then
13484 need_lib_prefix=no
13485 fi
13486 need_version=yes
13487 ;;
13488
13489 sysv4 | sysv4.3*)
13490 version_type=linux # correct to gnu/linux during the next big refactor
13491 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13492 soname_spec='$libname$release$shared_ext$major'
13493 shlibpath_var=LD_LIBRARY_PATH
13494 case $host_vendor in
13495 sni)
13496 shlibpath_overrides_runpath=no
13497 need_lib_prefix=no
13498 runpath_var=LD_RUN_PATH
13499 ;;
13500 siemens)
13501 need_lib_prefix=no
13502 ;;
13503 motorola)
13504 need_lib_prefix=no
13505 need_version=no
13506 shlibpath_overrides_runpath=no
13507 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13508 ;;
13509 esac
13510 ;;
13511
13512 sysv4*MP*)
13513 if test -d /usr/nec; then
13514 version_type=linux # correct to gnu/linux during the next big refactor
13515 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13516 soname_spec='$libname$shared_ext.$major'
13517 shlibpath_var=LD_LIBRARY_PATH
13518 fi
13519 ;;
13520
13521 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13522 version_type=sco
13523 need_lib_prefix=no
13524 need_version=no
13525 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13526 soname_spec='$libname$release$shared_ext$major'
13527 shlibpath_var=LD_LIBRARY_PATH
13528 shlibpath_overrides_runpath=yes
13529 hardcode_into_libs=yes
13530 if test yes = "$with_gnu_ld"; then
13531 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13532 else
13533 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13534 case $host_os in
13535 sco3.2v5*)
13536 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13537 ;;
13538 esac
13539 fi
13540 sys_lib_dlsearch_path_spec='/usr/lib'
13541 ;;
13542
13543 tpf*)
13544 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13545 version_type=linux # correct to gnu/linux during the next big refactor
13546 need_lib_prefix=no
13547 need_version=no
13548 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13549 shlibpath_var=LD_LIBRARY_PATH
13550 shlibpath_overrides_runpath=no
13551 hardcode_into_libs=yes
13552 ;;
13553
13554 uts4*)
13555 version_type=linux # correct to gnu/linux during the next big refactor
13556 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13557 soname_spec='$libname$release$shared_ext$major'
13558 shlibpath_var=LD_LIBRARY_PATH
13559 ;;
13560
13561 emscripten*)
13562 version_type=none
13563 need_lib_prefix=no
13564 need_version=no
13565 library_names_spec='$libname$release$shared_ext'
13566 soname_spec='$libname$release$shared_ext'
13567 finish_cmds=
13568 dynamic_linker="Emscripten linker"
13569 lt_prog_compiler_wl=
13570 lt_prog_compiler_pic=
13571 lt_prog_compiler_static=
13572
13573
13574 if test yes = "$GCC"; then
13575 lt_prog_compiler_wl='-Wl,'
13576 lt_prog_compiler_static='-static'
13577
13578 case $host_os in
13579 aix*)
13580 # All AIX code is PIC.
13581 if test ia64 = "$host_cpu"; then
13582 # AIX 5 now supports IA64 processor
13583 lt_prog_compiler_static='-Bstatic'
13584 fi
13585 lt_prog_compiler_pic='-fPIC'
13586 ;;
13587
13588 amigaos*)
13589 case $host_cpu in
13590 powerpc)
13591 # see comment about AmigaOS4 .so support
13592 lt_prog_compiler_pic='-fPIC'
13593 ;;
13594 m68k)
13595 # FIXME: we need at least 68020 code to build shared libraries, but
13596 # adding the '-m68020' flag to GCC prevents building anything better,
13597 # like '-m68040'.
13598 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13599 ;;
13600 esac
13601 ;;
13602
13603 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13604 # PIC is the default for these OSes.
13605 ;;
13606
13607 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13608 # This hack is so that the source file can tell whether it is being
13609 # built for inclusion in a dll (and should export symbols for example).
13610 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13611 # (--disable-auto-import) libraries
13612 lt_prog_compiler_pic='-DDLL_EXPORT'
13613 case $host_os in
13614 os2*)
13615 lt_prog_compiler_static='$wl-static'
13616 ;;
13617 esac
13618 ;;
13619
13620 darwin* | rhapsody*)
13621 # PIC is the default on this platform
13622 # Common symbols not allowed in MH_DYLIB files
13623 lt_prog_compiler_pic='-fno-common'
13624 ;;
13625
13626 haiku*)
13627 # PIC is the default for Haiku.
13628 # The "-static" flag exists, but is broken.
13629 lt_prog_compiler_static=
13630 ;;
13631
13632 hpux*)
13633 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13634 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13635 # sets the default TLS model and affects inlining.
13636 case $host_cpu in
13637 hppa*64*)
13638 # +Z the default
13639 ;;
13640 *)
13641 lt_prog_compiler_pic='-fPIC'
13642 ;;
13643 esac
13644 ;;
13645
13646 interix[3-9]*)
13647 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13648 # Instead, we relocate shared libraries at runtime.
13649 ;;
13650
13651 msdosdjgpp*)
13652 # Just because we use GCC doesn't mean we suddenly get shared libraries
13653 # on systems that don't support them.
13654 lt_prog_compiler_can_build_shared=no
13655 enable_shared=no
13656 ;;
13657
13658 *nto* | *qnx*)
13659 # QNX uses GNU C++, but need to define -shared option too, otherwise
13660 # it will coredump.
13661 lt_prog_compiler_pic='-fPIC -shared'
13662 ;;
13663
13664 sysv4*MP*)
13665 if test -d /usr/nec; then
13666 lt_prog_compiler_pic=-Kconform_pic
13667 fi
13668 ;;
13669
13670 *)
13671 lt_prog_compiler_pic='-fPIC'
13672 ;;
13673 esac
13674
13675 case $cc_basename in
13676 nvcc*) # Cuda Compiler Driver 2.2
13677 lt_prog_compiler_wl='-Xlinker '
13678 if test -n "$lt_prog_compiler_pic"; then
13679 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13680 fi
13681 ;;
13682 esac
13683 else
13684 # PORTME Check for flag to pass linker flags through the system compiler.
13685 case $host_os in
13686 aix*)
13687 lt_prog_compiler_wl='-Wl,'
13688 if test ia64 = "$host_cpu"; then
13689 # AIX 5 now supports IA64 processor
13690 lt_prog_compiler_static='-Bstatic'
13691 else
13692 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13693 fi
13694 ;;
13695
13696 darwin* | rhapsody*)
13697 # PIC is the default on this platform
13698 # Common symbols not allowed in MH_DYLIB files
13699 lt_prog_compiler_pic='-fno-common'
13700 case $cc_basename in
13701 nagfor*)
13702 # NAG Fortran compiler
13703 lt_prog_compiler_wl='-Wl,-Wl,,'
13704 lt_prog_compiler_pic='-PIC'
13705 lt_prog_compiler_static='-Bstatic'
13706 ;;
13707 esac
13708 ;;
13709
13710 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13711 # This hack is so that the source file can tell whether it is being
13712 # built for inclusion in a dll (and should export symbols for example).
13713 lt_prog_compiler_pic='-DDLL_EXPORT'
13714 case $host_os in
13715 os2*)
13716 lt_prog_compiler_static='$wl-static'
13717 ;;
13718 esac
13719 ;;
13720
13721 hpux9* | hpux10* | hpux11*)
13722 lt_prog_compiler_wl='-Wl,'
13723 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13724 # not for PA HP-UX.
13725 case $host_cpu in
13726 hppa*64*|ia64*)
13727 # +Z the default
13728 ;;
13729 *)
13730 lt_prog_compiler_pic='+Z'
13731 ;;
13732 esac
13733 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13734 lt_prog_compiler_static='$wl-a ${wl}archive'
13735 ;;
13736
13737 irix5* | irix6* | nonstopux*)
13738 lt_prog_compiler_wl='-Wl,'
13739 # PIC (with -KPIC) is the default.
13740 lt_prog_compiler_static='-non_shared'
13741 ;;
13742
13743 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13744 case $cc_basename in
13745 # old Intel for x86_64, which still supported -KPIC.
13746 ecc*)
13747 lt_prog_compiler_wl='-Wl,'
13748 lt_prog_compiler_pic='-KPIC'
13749 lt_prog_compiler_static='-static'
13750 ;;
13751 *flang* | ftn | f18* | f95*)
13752 # Flang compiler.
13753 lt_prog_compiler_wl='-Wl,'
13754 lt_prog_compiler_pic='-fPIC'
13755 lt_prog_compiler_static='-static'
13756 ;;
13757 # icc used to be incompatible with GCC.
13758 # ICC 10 doesn't accept -KPIC any more.
13759 icc* | ifort*)
13760 lt_prog_compiler_wl='-Wl,'
13761 lt_prog_compiler_pic='-fPIC'
13762 lt_prog_compiler_static='-static'
13763 ;;
13764 # Lahey Fortran 8.1.
13765 lf95*)
13766 lt_prog_compiler_wl='-Wl,'
13767 lt_prog_compiler_pic='--shared'
13768 lt_prog_compiler_static='--static'
13769 ;;
13770 nagfor*)
13771 # NAG Fortran compiler
13772 lt_prog_compiler_wl='-Wl,-Wl,,'
13773 lt_prog_compiler_pic='-PIC'
13774 lt_prog_compiler_static='-Bstatic'
13775 ;;
13776 tcc*)
13777 # Fabrice Bellard et al's Tiny C Compiler
13778 lt_prog_compiler_wl='-Wl,'
13779 lt_prog_compiler_pic='-fPIC'
13780 lt_prog_compiler_static='-static'
13781 ;;
13782 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13783 # Portland Group compilers (*not* the Pentium gcc compiler,
13784 # which looks to be a dead project)
13785 lt_prog_compiler_wl='-Wl,'
13786 lt_prog_compiler_pic='-fpic'
13787 lt_prog_compiler_static='-Bstatic'
13788 ;;
13789 ccc*)
13790 lt_prog_compiler_wl='-Wl,'
13791 # All Alpha code is PIC.
13792 lt_prog_compiler_static='-non_shared'
13793 ;;
13794 xl* | bgxl* | bgf* | mpixl*)
13795 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13796 lt_prog_compiler_wl='-Wl,'
13797 lt_prog_compiler_pic='-qpic'
13798 lt_prog_compiler_static='-qstaticlink'
13799 ;;
13800 *)
13801 case `$CC -V 2>&1 | $SED 5q` in
13802 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13803 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13804 lt_prog_compiler_pic='-KPIC'
13805 lt_prog_compiler_static='-Bstatic'
13806 lt_prog_compiler_wl=''
13807 ;;
13808 *Sun\ F* | *Sun*Fortran*)
13809 lt_prog_compiler_pic='-KPIC'
13810 lt_prog_compiler_static='-Bstatic'
13811 lt_prog_compiler_wl='-Qoption ld '
13812 ;;
13813 *Sun\ C*)
13814 # Sun C 5.9
13815 lt_prog_compiler_pic='-KPIC'
13816 lt_prog_compiler_static='-Bstatic'
13817 lt_prog_compiler_wl='-Wl,'
13818 ;;
13819 *Intel*\ [CF]*Compiler*)
13820 lt_prog_compiler_wl='-Wl,'
13821 lt_prog_compiler_pic='-fPIC'
13822 lt_prog_compiler_static='-static'
13823 ;;
13824 *Portland\ Group*)
13825 lt_prog_compiler_wl='-Wl,'
13826 lt_prog_compiler_pic='-fpic'
13827 lt_prog_compiler_static='-Bstatic'
13828 ;;
13829 esac
13830 ;;
13831 esac
13832 ;;
13833
13834 newsos6)
13835 lt_prog_compiler_pic='-KPIC'
13836 lt_prog_compiler_static='-Bstatic'
13837 ;;
13838
13839 *-mlibc)
13840 lt_prog_compiler_wl='-Wl,'
13841 lt_prog_compiler_pic='-fPIC'
13842 lt_prog_compiler_static='-static'
13843 ;;
13844
13845 *nto* | *qnx*)
13846 # QNX uses GNU C++, but need to define -shared option too, otherwise
13847 # it will coredump.
13848 lt_prog_compiler_pic='-fPIC -shared'
13849 ;;
13850
13851 osf3* | osf4* | osf5*)
13852 lt_prog_compiler_wl='-Wl,'
13853 # All OSF/1 code is PIC.
13854 lt_prog_compiler_static='-non_shared'
13855 ;;
13856
13857 rdos*)
13858 lt_prog_compiler_static='-non_shared'
13859 ;;
13860
13861 serenity*)
13862 ;;
13863
13864 solaris*)
13865 lt_prog_compiler_pic='-KPIC'
13866 lt_prog_compiler_static='-Bstatic'
13867 case $cc_basename in
13868 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
13869 lt_prog_compiler_wl='-Qoption ld ';;
13870 *)
13871 lt_prog_compiler_wl='-Wl,';;
13872 esac
13873 ;;
13874
13875 sunos4*)
13876 lt_prog_compiler_wl='-Qoption ld '
13877 lt_prog_compiler_pic='-PIC'
13878 lt_prog_compiler_static='-Bstatic'
13879 ;;
13880
13881 sysv4 | sysv4.2uw2* | sysv4.3*)
13882 lt_prog_compiler_wl='-Wl,'
13883 lt_prog_compiler_pic='-KPIC'
13884 lt_prog_compiler_static='-Bstatic'
13885 ;;
13886
13887 sysv4*MP*)
13888 if test -d /usr/nec; then
13889 lt_prog_compiler_pic='-Kconform_pic'
13890 lt_prog_compiler_static='-Bstatic'
13891 fi
13892 ;;
13893
13894 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13895 lt_prog_compiler_wl='-Wl,'
13896 lt_prog_compiler_pic='-KPIC'
13897 lt_prog_compiler_static='-Bstatic'
13898 ;;
13899
13900 unicos*)
13901 lt_prog_compiler_wl='-Wl,'
13902 lt_prog_compiler_can_build_shared=no
13903 ;;
13904
13905 uts4*)
13906 lt_prog_compiler_pic='-pic'
13907 lt_prog_compiler_static='-Bstatic'
13908 ;;
13909
13910 *)
13911 lt_prog_compiler_can_build_shared=no
13912 ;;
13913 esac
13914 fi
13915
13916 case $host_os in
13917 # For platforms that do not support PIC, -DPIC is meaningless:
13918 *djgpp*)
13919 lt_prog_compiler_pic=
13920 ;;
13921 *)
13922 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13923 ;;
13924 esac
13925
13926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13927 printf %s "checking for $compiler option to produce PIC... " >&6; }
13928 if test ${lt_cv_prog_compiler_pic+y}
13929 then :
13930 printf %s "(cached) " >&6
13931 else case e in #(
13932 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
13933 esac
13934 fi
13935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13936 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
13937 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13938
13939 #
13940 # Check to make sure the PIC flag actually works.
13941 #
13942 if test -n "$lt_prog_compiler_pic"; then
13943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13944 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
13945 if test ${lt_cv_prog_compiler_pic_works+y}
13946 then :
13947 printf %s "(cached) " >&6
13948 else case e in #(
13949 e) lt_cv_prog_compiler_pic_works=no
13950 ac_outfile=conftest.$ac_objext
13951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13952 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13953 # Insert the option either (1) after the last *FLAGS variable, or
13954 # (2) before a word containing "conftest.", or (3) at the end.
13955 # Note that $ac_compile itself does not contain backslashes and begins
13956 # with a dollar sign (not a hyphen), so the echo should work correctly.
13957 # The option is referenced via a variable to avoid confusing sed.
13958 lt_compile=`echo "$ac_compile" | $SED \
13959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13961 -e 's:$: $lt_compiler_flag:'`
13962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13963 (eval "$lt_compile" 2>conftest.err)
13964 ac_status=$?
13965 cat conftest.err >&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 if (exit $ac_status) && test -s "$ac_outfile"; then
13968 # The compiler can only warn and ignore the option if not recognized
13969 # So say no if there are warnings other than the usual output.
13970 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13971 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13972 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13973 lt_cv_prog_compiler_pic_works=yes
13974 fi
13975 fi
13976 $RM conftest*
13977 ;;
13978 esac
13979 fi
13980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13981 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
13982
13983 if test yes = "$lt_cv_prog_compiler_pic_works"; then
13984 case $lt_prog_compiler_pic in
13985 "" | " "*) ;;
13986 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13987 esac
13988 else
13989 lt_prog_compiler_pic=
13990 lt_prog_compiler_can_build_shared=no
13991 fi
13992
13993 fi
13994
13995
13996
13997
13998
13999 #
14000 # Check to make sure the static flag actually works.
14001 #
14002 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14004 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14005 if test ${lt_cv_prog_compiler_static_works+y}
14006 then :
14007 printf %s "(cached) " >&6
14008 else case e in #(
14009 e) lt_cv_prog_compiler_static_works=no
14010 save_LDFLAGS=$LDFLAGS
14011 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14012 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14013 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14014 # The linker can only warn and ignore the option if not recognized
14015 # So say no if there are warnings
14016 if test -s conftest.err; then
14017 # Append any errors to the config.log.
14018 cat conftest.err 1>&5
14019 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14020 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14021 if diff conftest.exp conftest.er2 >/dev/null; then
14022 lt_cv_prog_compiler_static_works=yes
14023 fi
14024 else
14025 lt_cv_prog_compiler_static_works=yes
14026 fi
14027 fi
14028 $RM -r conftest*
14029 LDFLAGS=$save_LDFLAGS
14030 ;;
14031 esac
14032 fi
14033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14034 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
14035
14036 if test yes = "$lt_cv_prog_compiler_static_works"; then
14037 :
14038 else
14039 lt_prog_compiler_static=
14040 fi
14041
14042
14043
14044 ='-fPIC'
14045 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
14046 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'
14047 archive_cmds_need_lc=no
14048 no_undefined_flag=
14049 ;;
14050
14051 *)
14052 dynamic_linker=no
14053 ;;
14054 esac
14055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14056 printf "%s\n" "$dynamic_linker" >&6; }
14057 test no = "$dynamic_linker" && can_build_shared=no
14058
14059 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14060 if test yes = "$GCC"; then
14061 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14062 fi
14063
14064 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14065 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14066 fi
14067
14068 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14069 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14070 fi
14071
14072 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14073 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14074
14075 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14076 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14077
14078 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14079 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14178 printf %s "checking how to hardcode library paths into programs... " >&6; }
14179 hardcode_action=
14180 if test -n "$hardcode_libdir_flag_spec" ||
14181 test -n "$runpath_var" ||
14182 test yes = "$hardcode_automatic"; then
14183
14184 # We can hardcode non-existent directories.
14185 if test no != "$hardcode_direct" &&
14186 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14187 # have to relink, otherwise we might link with an installed library
14188 # when we should be linking with a yet-to-be-installed one
14189 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14190 test no != "$hardcode_minus_L"; then
14191 # Linking always hardcodes the temporary library directory.
14192 hardcode_action=relink
14193 else
14194 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14195 hardcode_action=immediate
14196 fi
14197 else
14198 # We cannot hardcode anything, or else we can only hardcode existing
14199 # directories.
14200 hardcode_action=unsupported
14201 fi
14202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14203 printf "%s\n" "$hardcode_action" >&6; }
14204
14205 if test relink = "$hardcode_action" ||
14206 test yes = "$inherit_rpath"; then
14207 # Fast installation is not supported
14208 enable_fast_install=no
14209 elif test yes = "$shlibpath_overrides_runpath" ||
14210 test no = "$enable_shared"; then
14211 # Fast installation is not necessary
14212 enable_fast_install=needless
14213 fi
14214
14215
14216
14217
14218
14219
14220 if test yes != "$enable_dlopen"; then
14221 enable_dlopen=unknown
14222 enable_dlopen_self=unknown
14223 enable_dlopen_self_static=unknown
14224 else
14225 lt_cv_dlopen=no
14226 lt_cv_dlopen_libs=
14227
14228 case $host_os in
14229 beos*)
14230 lt_cv_dlopen=load_add_on
14231 lt_cv_dlopen_libs=
14232 lt_cv_dlopen_self=yes
14233 ;;
14234
14235 mingw* | windows* | pw32* | cegcc*)
14236 lt_cv_dlopen=LoadLibrary
14237 lt_cv_dlopen_libs=
14238 ;;
14239
14240 cygwin*)
14241 lt_cv_dlopen=dlopen
14242 lt_cv_dlopen_libs=
14243 ;;
14244
14245 darwin*)
14246 # if libdl is installed we need to link against it
14247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14248 printf %s "checking for dlopen in -ldl... " >&6; }
14249 if test ${ac_cv_lib_dl_dlopen+y}
14250 then :
14251 printf %s "(cached) " >&6
14252 else case e in #(
14253 e) ac_check_lib_save_LIBS=$LIBS
14254 LIBS="-ldl $LIBS"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14257
14258 /* Override any GCC internal prototype to avoid an error.
14259 Use char because int might match the return type of a GCC
14260 builtin and then its argument prototype would still apply.
14261 The 'extern "C"' is for builds by C++ compilers;
14262 although this is not generally supported in C code supporting it here
14263 has little cost and some practical benefit (sr 110532). */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char dlopen (void);
14268 int
14269 main (void)
14270 {
14271 return dlopen ();
14272 ;
14273 return 0;
14274 }
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"
14277 then :
14278 ac_cv_lib_dl_dlopen=yes
14279 else case e in #(
14280 e) ac_cv_lib_dl_dlopen=no ;;
14281 esac
14282 fi
14283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_lib_save_LIBS ;;
14286 esac
14287 fi
14288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14289 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14290 if test "x$ac_cv_lib_dl_dlopen" = xyes
14291 then :
14292 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14293 else case e in #(
14294 e)
14295 lt_cv_dlopen=dyld
14296 lt_cv_dlopen_libs=
14297 lt_cv_dlopen_self=yes
14298 ;;
14299 esac
14300 fi
14301
14302 ;;
14303
14304 tpf*)
14305 # Don't try to run any link tests for TPF. We know it's impossible
14306 # because TPF is a cross-compiler, and we know how we open DSOs.
14307 lt_cv_dlopen=dlopen
14308 lt_cv_dlopen_libs=
14309 lt_cv_dlopen_self=no
14310 ;;
14311
14312 *)
14313 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14314 if test "x$ac_cv_func_shl_load" = xyes
14315 then :
14316 lt_cv_dlopen=shl_load
14317 else case e in #(
14318 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14319 printf %s "checking for shl_load in -ldld... " >&6; }
14320 if test ${ac_cv_lib_dld_shl_load+y}
14321 then :
14322 printf %s "(cached) " >&6
14323 else case e in #(
14324 e) ac_check_lib_save_LIBS=$LIBS
14325 LIBS="-ldld $LIBS"
14326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14328
14329 /* Override any GCC internal prototype to avoid an error.
14330 Use char because int might match the return type of a GCC
14331 builtin and then its argument prototype would still apply.
14332 The 'extern "C"' is for builds by C++ compilers;
14333 although this is not generally supported in C code supporting it here
14334 has little cost and some practical benefit (sr 110532). */
14335 #ifdef __cplusplus
14336 extern "C"
14337 #endif
14338 char shl_load (void);
14339 int
14340 main (void)
14341 {
14342 return shl_load ();
14343 ;
14344 return 0;
14345 }
14346 _ACEOF
14347 if ac_fn_c_try_link "$LINENO"
14348 then :
14349 ac_cv_lib_dld_shl_load=yes
14350 else case e in #(
14351 e) ac_cv_lib_dld_shl_load=no ;;
14352 esac
14353 fi
14354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14355 conftest$ac_exeext conftest.$ac_ext
14356 LIBS=$ac_check_lib_save_LIBS ;;
14357 esac
14358 fi
14359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14360 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14361 if test "x$ac_cv_lib_dld_shl_load" = xyes
14362 then :
14363 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14364 else case e in #(
14365 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14366 if test "x$ac_cv_func_dlopen" = xyes
14367 then :
14368 lt_cv_dlopen=dlopen
14369 else case e in #(
14370 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14371 printf %s "checking for dlopen in -ldl... " >&6; }
14372 if test ${ac_cv_lib_dl_dlopen+y}
14373 then :
14374 printf %s "(cached) " >&6
14375 else case e in #(
14376 e) ac_check_lib_save_LIBS=$LIBS
14377 LIBS="-ldl $LIBS"
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply.
14384 The 'extern "C"' is for builds by C++ compilers;
14385 although this is not generally supported in C code supporting it here
14386 has little cost and some practical benefit (sr 110532). */
14387 #ifdef __cplusplus
14388 extern "C"
14389 #endif
14390 char dlopen (void);
14391 int
14392 main (void)
14393 {
14394 return dlopen ();
14395 ;
14396 return 0;
14397 }
14398 _ACEOF
14399 if ac_fn_c_try_link "$LINENO"
14400 then :
14401 ac_cv_lib_dl_dlopen=yes
14402 else case e in #(
14403 e) ac_cv_lib_dl_dlopen=no ;;
14404 esac
14405 fi
14406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14407 conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_check_lib_save_LIBS ;;
14409 esac
14410 fi
14411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14412 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14413 if test "x$ac_cv_lib_dl_dlopen" = xyes
14414 then :
14415 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14416 else case e in #(
14417 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14418 printf %s "checking for dlopen in -lsvld... " >&6; }
14419 if test ${ac_cv_lib_svld_dlopen+y}
14420 then :
14421 printf %s "(cached) " >&6
14422 else case e in #(
14423 e) ac_check_lib_save_LIBS=$LIBS
14424 LIBS="-lsvld $LIBS"
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427
14428 /* Override any GCC internal prototype to avoid an error.
14429 Use char because int might match the return type of a GCC
14430 builtin and then its argument prototype would still apply.
14431 The 'extern "C"' is for builds by C++ compilers;
14432 although this is not generally supported in C code supporting it here
14433 has little cost and some practical benefit (sr 110532). */
14434 #ifdef __cplusplus
14435 extern "C"
14436 #endif
14437 char dlopen (void);
14438 int
14439 main (void)
14440 {
14441 return dlopen ();
14442 ;
14443 return 0;
14444 }
14445 _ACEOF
14446 if ac_fn_c_try_link "$LINENO"
14447 then :
14448 ac_cv_lib_svld_dlopen=yes
14449 else case e in #(
14450 e) ac_cv_lib_svld_dlopen=no ;;
14451 esac
14452 fi
14453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14454 conftest$ac_exeext conftest.$ac_ext
14455 LIBS=$ac_check_lib_save_LIBS ;;
14456 esac
14457 fi
14458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14459 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14460 if test "x$ac_cv_lib_svld_dlopen" = xyes
14461 then :
14462 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14463 else case e in #(
14464 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14465 printf %s "checking for dld_link in -ldld... " >&6; }
14466 if test ${ac_cv_lib_dld_dld_link+y}
14467 then :
14468 printf %s "(cached) " >&6
14469 else case e in #(
14470 e) ac_check_lib_save_LIBS=$LIBS
14471 LIBS="-ldld $LIBS"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14474
14475 /* Override any GCC internal prototype to avoid an error.
14476 Use char because int might match the return type of a GCC
14477 builtin and then its argument prototype would still apply.
14478 The 'extern "C"' is for builds by C++ compilers;
14479 although this is not generally supported in C code supporting it here
14480 has little cost and some practical benefit (sr 110532). */
14481 #ifdef __cplusplus
14482 extern "C"
14483 #endif
14484 char dld_link (void);
14485 int
14486 main (void)
14487 {
14488 return dld_link ();
14489 ;
14490 return 0;
14491 }
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"
14494 then :
14495 ac_cv_lib_dld_dld_link=yes
14496 else case e in #(
14497 e) ac_cv_lib_dld_dld_link=no ;;
14498 esac
14499 fi
14500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_lib_save_LIBS ;;
14503 esac
14504 fi
14505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14506 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14507 if test "x$ac_cv_lib_dld_dld_link" = xyes
14508 then :
14509 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14510 fi
14511
14512 ;;
14513 esac
14514 fi
14515
14516 ;;
14517 esac
14518 fi
14519
14520 ;;
14521 esac
14522 fi
14523
14524 ;;
14525 esac
14526 fi
14527
14528 ;;
14529 esac
14530 fi
14531
14532 ;;
14533 esac
14534
14535 if test no = "$lt_cv_dlopen"; then
14536 enable_dlopen=no
14537 else
14538 enable_dlopen=yes
14539 fi
14540
14541 case $lt_cv_dlopen in
14542 dlopen)
14543 save_CPPFLAGS=$CPPFLAGS
14544 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14545
14546 save_LDFLAGS=$LDFLAGS
14547 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14548
14549 save_LIBS=$LIBS
14550 LIBS="$lt_cv_dlopen_libs $LIBS"
14551
14552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14553 printf %s "checking whether a program can dlopen itself... " >&6; }
14554 if test ${lt_cv_dlopen_self+y}
14555 then :
14556 printf %s "(cached) " >&6
14557 else case e in #(
14558 e) if test yes = "$cross_compiling"; then :
14559 lt_cv_dlopen_self=cross
14560 else
14561 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14562 lt_status=$lt_dlunknown
14563 cat > conftest.$ac_ext <<_LT_EOF
14564 #line $LINENO "configure"
14565 #include "confdefs.h"
14566
14567 #if HAVE_DLFCN_H
14568 #include <dlfcn.h>
14569 #endif
14570
14571 #include <stdio.h>
14572
14573 #ifdef RTLD_GLOBAL
14574 # define LT_DLGLOBAL RTLD_GLOBAL
14575 #else
14576 # ifdef DL_GLOBAL
14577 # define LT_DLGLOBAL DL_GLOBAL
14578 # else
14579 # define LT_DLGLOBAL 0
14580 # endif
14581 #endif
14582
14583 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14584 find out it does not work in some platform. */
14585 #ifndef LT_DLLAZY_OR_NOW
14586 # ifdef RTLD_LAZY
14587 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14588 # else
14589 # ifdef DL_LAZY
14590 # define LT_DLLAZY_OR_NOW DL_LAZY
14591 # else
14592 # ifdef RTLD_NOW
14593 # define LT_DLLAZY_OR_NOW RTLD_NOW
14594 # else
14595 # ifdef DL_NOW
14596 # define LT_DLLAZY_OR_NOW DL_NOW
14597 # else
14598 # define LT_DLLAZY_OR_NOW 0
14599 # endif
14600 # endif
14601 # endif
14602 # endif
14603 #endif
14604
14605 /* When -fvisibility=hidden is used, assume the code has been annotated
14606 correspondingly for the symbols needed. */
14607 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14608 int fnord (void) __attribute__((visibility("default")));
14609 #endif
14610
14611 int fnord (void) { return 42; }
14612 int main (void)
14613 {
14614 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14615 int status = $lt_dlunknown;
14616
14617 if (self)
14618 {
14619 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14620 else
14621 {
14622 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14623 else puts (dlerror ());
14624 }
14625 /* dlclose (self); */
14626 }
14627 else
14628 puts (dlerror ());
14629
14630 return status;
14631 }
14632 _LT_EOF
14633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14634 (eval $ac_link) 2>&5
14635 ac_status=$?
14636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14637 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14638 (./conftest; exit; ) >&5 2>/dev/null
14639 lt_status=$?
14640 case x$lt_status in
14641 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14642 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14643 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14644 esac
14645 else :
14646 # compilation failed
14647 lt_cv_dlopen_self=no
14648 fi
14649 fi
14650 rm -fr conftest*
14651
14652 ;;
14653 esac
14654 fi
14655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14656 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14657
14658 if test yes = "$lt_cv_dlopen_self"; then
14659 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14661 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14662 if test ${lt_cv_dlopen_self_static+y}
14663 then :
14664 printf %s "(cached) " >&6
14665 else case e in #(
14666 e) if test yes = "$cross_compiling"; then :
14667 lt_cv_dlopen_self_static=cross
14668 else
14669 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14670 lt_status=$lt_dlunknown
14671 cat > conftest.$ac_ext <<_LT_EOF
14672 #line $LINENO "configure"
14673 #include "confdefs.h"
14674
14675 #if HAVE_DLFCN_H
14676 #include <dlfcn.h>
14677 #endif
14678
14679 #include <stdio.h>
14680
14681 #ifdef RTLD_GLOBAL
14682 # define LT_DLGLOBAL RTLD_GLOBAL
14683 #else
14684 # ifdef DL_GLOBAL
14685 # define LT_DLGLOBAL DL_GLOBAL
14686 # else
14687 # define LT_DLGLOBAL 0
14688 # endif
14689 #endif
14690
14691 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14692 find out it does not work in some platform. */
14693 #ifndef LT_DLLAZY_OR_NOW
14694 # ifdef RTLD_LAZY
14695 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14696 # else
14697 # ifdef DL_LAZY
14698 # define LT_DLLAZY_OR_NOW DL_LAZY
14699 # else
14700 # ifdef RTLD_NOW
14701 # define LT_DLLAZY_OR_NOW RTLD_NOW
14702 # else
14703 # ifdef DL_NOW
14704 # define LT_DLLAZY_OR_NOW DL_NOW
14705 # else
14706 # define LT_DLLAZY_OR_NOW 0
14707 # endif
14708 # endif
14709 # endif
14710 # endif
14711 #endif
14712
14713 /* When -fvisibility=hidden is used, assume the code has been annotated
14714 correspondingly for the symbols needed. */
14715 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14716 int fnord (void) __attribute__((visibility("default")));
14717 #endif
14718
14719 int fnord (void) { return 42; }
14720 int main (void)
14721 {
14722 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14723 int status = $lt_dlunknown;
14724
14725 if (self)
14726 {
14727 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14728 else
14729 {
14730 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14731 else puts (dlerror ());
14732 }
14733 /* dlclose (self); */
14734 }
14735 else
14736 puts (dlerror ());
14737
14738 return status;
14739 }
14740 _LT_EOF
14741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14742 (eval $ac_link) 2>&5
14743 ac_status=$?
14744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14745 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14746 (./conftest; exit; ) >&5 2>/dev/null
14747 lt_status=$?
14748 case x$lt_status in
14749 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14750 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14751 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14752 esac
14753 else :
14754 # compilation failed
14755 lt_cv_dlopen_self_static=no
14756 fi
14757 fi
14758 rm -fr conftest*
14759
14760 ;;
14761 esac
14762 fi
14763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14764 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14765 fi
14766
14767 CPPFLAGS=$save_CPPFLAGS
14768 LDFLAGS=$save_LDFLAGS
14769 LIBS=$save_LIBS
14770 ;;
14771 esac
14772
14773 case $lt_cv_dlopen_self in
14774 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14775 *) enable_dlopen_self=unknown ;;
14776 esac
14777
14778 case $lt_cv_dlopen_self_static in
14779 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14780 *) enable_dlopen_self_static=unknown ;;
14781 esac
14782 fi
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800 striplib=
14801 old_striplib=
14802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14803 printf %s "checking whether stripping libraries is possible... " >&6; }
14804 if test -z "$STRIP"; then
14805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14806 printf "%s\n" "no" >&6; }
14807 else
14808 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14809 old_striplib="$STRIP --strip-debug"
14810 striplib="$STRIP --strip-unneeded"
14811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14812 printf "%s\n" "yes" >&6; }
14813 else
14814 case $host_os in
14815 darwin*)
14816 # FIXME - insert some real tests, host_os isn't really good enough
14817 striplib="$STRIP -x"
14818 old_striplib="$STRIP -S"
14819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14820 printf "%s\n" "yes" >&6; }
14821 ;;
14822 freebsd*)
14823 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
14824 old_striplib="$STRIP --strip-debug"
14825 striplib="$STRIP --strip-unneeded"
14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14827 printf "%s\n" "yes" >&6; }
14828 else
14829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14830 printf "%s\n" "no" >&6; }
14831 fi
14832 ;;
14833 *)
14834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14835 printf "%s\n" "no" >&6; }
14836 ;;
14837 esac
14838 fi
14839 fi
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852 # Report what library types will actually be built
14853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14854 printf %s "checking if libtool supports shared libraries... " >&6; }
14855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14856 printf "%s\n" "$can_build_shared" >&6; }
14857
14858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14859 printf %s "checking whether to build shared libraries... " >&6; }
14860 test no = "$can_build_shared" && enable_shared=no
14861
14862 # On AIX, shared libraries and static libraries use the same namespace, and
14863 # are all built from PIC.
14864 case $host_os in
14865 aix3*)
14866 test yes = "$enable_shared" && enable_static=no
14867 if test -n "$RANLIB"; then
14868 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14869 postinstall_cmds='$RANLIB $lib'
14870 fi
14871 ;;
14872
14873 aix[4-9]*)
14874 if test ia64 != "$host_cpu"; then
14875 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14876 yes,aix,yes) ;; # shared object as lib.so file only
14877 yes,svr4,*) ;; # shared object as lib.so archive member only
14878 yes,*) enable_static=no ;; # shared object in lib.a archive as well
14879 esac
14880 fi
14881 ;;
14882 esac
14883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14884 printf "%s\n" "$enable_shared" >&6; }
14885
14886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14887 printf %s "checking whether to build static libraries... " >&6; }
14888 # Make sure either enable_shared or enable_static is yes.
14889 test yes = "$enable_shared" || enable_static=yes
14890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14891 printf "%s\n" "$enable_static" >&6; }
14892
14893
14894
14895
14896 fi
14897 ac_ext=c
14898 ac_cpp='$CPP $CPPFLAGS'
14899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14902
14903 CC=$lt_save_CC
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919 ac_config_commands="$ac_config_commands libtool"
14920
14921
14922
14923
14924 # Only expand once:
14925
14926
14927 # (end lt_init)
14928 # Check whether --enable-largefile was given.
14929 if test ${enable_largefile+y}
14930 then :
14931 enableval=$enable_largefile;
14932 fi
14933 if test "$enable_largefile,$enable_year2038" != no,no
14934 then :
14935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
14936 printf %s "checking for $CC option to enable large file support... " >&6; }
14937 if test ${ac_cv_sys_largefile_opts+y}
14938 then :
14939 printf %s "(cached) " >&6
14940 else case e in #(
14941 e) ac_save_CC="$CC"
14942 ac_opt_found=no
14943 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
14944 if test x"$ac_opt" != x"none needed"
14945 then :
14946 CC="$ac_save_CC $ac_opt"
14947 fi
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14950 #include <sys/types.h>
14951 #ifndef FTYPE
14952 # define FTYPE off_t
14953 #endif
14954 /* Check that FTYPE can represent 2**63 - 1 correctly.
14955 We can't simply define LARGE_FTYPE to be 9223372036854775807,
14956 since some C++ compilers masquerading as C compilers
14957 incorrectly reject 9223372036854775807. */
14958 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
14959 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
14960 && LARGE_FTYPE % 2147483647 == 1)
14961 ? 1 : -1];
14962 int
14963 main (void)
14964 {
14965
14966 ;
14967 return 0;
14968 }
14969 _ACEOF
14970 if ac_fn_c_try_compile "$LINENO"
14971 then :
14972 if test x"$ac_opt" = x"none needed"
14973 then :
14974 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
14975 CC="$CC -DFTYPE=ino_t"
14976 if ac_fn_c_try_compile "$LINENO"
14977 then :
14978
14979 else case e in #(
14980 e) CC="$CC -D_FILE_OFFSET_BITS=64"
14981 if ac_fn_c_try_compile "$LINENO"
14982 then :
14983 ac_opt='-D_FILE_OFFSET_BITS=64'
14984 fi
14985 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
14986 esac
14987 fi
14988 rm -f core conftest.err conftest.$ac_objext conftest.beam
14989 fi
14990 ac_cv_sys_largefile_opts=$ac_opt
14991 ac_opt_found=yes
14992 fi
14993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14994 test $ac_opt_found = no || break
14995 done
14996 CC="$ac_save_CC"
14997
14998 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
14999 esac
15000 fi
15001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
15002 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
15003
15004 ac_have_largefile=yes
15005 case $ac_cv_sys_largefile_opts in #(
15006 "none needed") :
15007 ;; #(
15008 "supported through gnulib") :
15009 ;; #(
15010 "support not detected") :
15011 ac_have_largefile=no ;; #(
15012 "-D_FILE_OFFSET_BITS=64") :
15013
15014 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
15015 ;; #(
15016 "-D_LARGE_FILES=1") :
15017
15018 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
15019 ;; #(
15020 "-n32") :
15021 CC="$CC -n32" ;; #(
15022 *) :
15023 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
15024 esac
15025
15026 if test "$enable_year2038" != no
15027 then :
15028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
15029 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
15030 if test ${ac_cv_sys_year2038_opts+y}
15031 then :
15032 printf %s "(cached) " >&6
15033 else case e in #(
15034 e) ac_save_CPPFLAGS="$CPPFLAGS"
15035 ac_opt_found=no
15036 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
15037 if test x"$ac_opt" != x"none needed"
15038 then :
15039 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
15040 fi
15041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15043
15044 #include <time.h>
15045 /* Check that time_t can represent 2**32 - 1 correctly. */
15046 #define LARGE_TIME_T \\
15047 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
15048 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
15049 && LARGE_TIME_T % 65537 == 0)
15050 ? 1 : -1];
15051
15052 int
15053 main (void)
15054 {
15055
15056 ;
15057 return 0;
15058 }
15059 _ACEOF
15060 if ac_fn_c_try_compile "$LINENO"
15061 then :
15062 ac_cv_sys_year2038_opts="$ac_opt"
15063 ac_opt_found=yes
15064 fi
15065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15066 test $ac_opt_found = no || break
15067 done
15068 CPPFLAGS="$ac_save_CPPFLAGS"
15069 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
15070 esac
15071 fi
15072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
15073 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
15074
15075 ac_have_year2038=yes
15076 case $ac_cv_sys_year2038_opts in #(
15077 "none needed") :
15078 ;; #(
15079 "support not detected") :
15080 ac_have_year2038=no ;; #(
15081 "-D_TIME_BITS=64") :
15082
15083 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
15084 ;; #(
15085 "-D__MINGW_USE_VC2005_COMPAT") :
15086
15087 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
15088 ;; #(
15089 "-U_USE_32_BIT_TIME_T"*) :
15090 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15091 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15092 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
15093 will stop working after mid-January 2038. Remove
15094 _USE_32BIT_TIME_T from the compiler flags.
15095 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15096 *) :
15097 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
15098 esac
15099
15100 fi
15101
15102 fi
15103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
15104 printf %s "checking for declarations of fseeko and ftello... " >&6; }
15105 if test ${ac_cv_func_fseeko_ftello+y}
15106 then :
15107 printf %s "(cached) " >&6
15108 else case e in #(
15109 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111
15112 #if defined __hpux && !defined _LARGEFILE_SOURCE
15113 # include <limits.h>
15114 # if LONG_MAX >> 31 == 0
15115 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15116 # endif
15117 #endif
15118 #include <sys/types.h> /* for off_t */
15119 #include <stdio.h>
15120
15121 int
15122 main (void)
15123 {
15124
15125 int (*fp1) (FILE *, off_t, int) = fseeko;
15126 off_t (*fp2) (FILE *) = ftello;
15127 return fseeko (stdin, 0, 0)
15128 && fp1 (stdin, 0, 0)
15129 && ftello (stdin) >= 0
15130 && fp2 (stdin) >= 0;
15131
15132 ;
15133 return 0;
15134 }
15135 _ACEOF
15136 if ac_fn_c_try_compile "$LINENO"
15137 then :
15138 ac_cv_func_fseeko_ftello=yes
15139 else case e in #(
15140 e) ac_save_CPPFLAGS="$CPPFLAGS"
15141 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15144
15145 #if defined __hpux && !defined _LARGEFILE_SOURCE
15146 # include <limits.h>
15147 # if LONG_MAX >> 31 == 0
15148 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15149 # endif
15150 #endif
15151 #include <sys/types.h> /* for off_t */
15152 #include <stdio.h>
15153
15154 int
15155 main (void)
15156 {
15157
15158 int (*fp1) (FILE *, off_t, int) = fseeko;
15159 off_t (*fp2) (FILE *) = ftello;
15160 return fseeko (stdin, 0, 0)
15161 && fp1 (stdin, 0, 0)
15162 && ftello (stdin) >= 0
15163 && fp2 (stdin) >= 0;
15164
15165 ;
15166 return 0;
15167 }
15168 _ACEOF
15169 if ac_fn_c_try_compile "$LINENO"
15170 then :
15171 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
15172 else case e in #(
15173 e) ac_cv_func_fseeko_ftello=no ;;
15174 esac
15175 fi
15176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15177 esac
15178 fi
15179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15180 esac
15181 fi
15182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
15183 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
15184 if test "$ac_cv_func_fseeko_ftello" != no
15185 then :
15186
15187 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
15188
15189 fi
15190 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
15191 then :
15192
15193 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
15194
15195 fi
15196
15197 ac_header_dirent=no
15198 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15199 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
15200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15201 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
15202 if eval test \${$as_ac_Header+y}
15203 then :
15204 printf %s "(cached) " >&6
15205 else case e in #(
15206 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15208 #include <sys/types.h>
15209 #include <$ac_hdr>
15210
15211 int
15212 main (void)
15213 {
15214 if ((DIR *) 0)
15215 return 0;
15216 ;
15217 return 0;
15218 }
15219 _ACEOF
15220 if ac_fn_c_try_compile "$LINENO"
15221 then :
15222 eval "$as_ac_Header=yes"
15223 else case e in #(
15224 e) eval "$as_ac_Header=no" ;;
15225 esac
15226 fi
15227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15228 esac
15229 fi
15230 eval ac_res=\$$as_ac_Header
15231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15232 printf "%s\n" "$ac_res" >&6; }
15233 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15234 then :
15235 cat >>confdefs.h <<_ACEOF
15236 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
15237 _ACEOF
15238
15239 ac_header_dirent=$ac_hdr; break
15240 fi
15241
15242 done
15243 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15244 if test $ac_header_dirent = dirent.h; then
15245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15246 printf %s "checking for library containing opendir... " >&6; }
15247 if test ${ac_cv_search_opendir+y}
15248 then :
15249 printf %s "(cached) " >&6
15250 else case e in #(
15251 e) ac_func_search_save_LIBS=$LIBS
15252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15253 /* end confdefs.h. */
15254
15255 /* Override any GCC internal prototype to avoid an error.
15256 Use char because int might match the return type of a GCC
15257 builtin and then its argument prototype would still apply.
15258 The 'extern "C"' is for builds by C++ compilers;
15259 although this is not generally supported in C code supporting it here
15260 has little cost and some practical benefit (sr 110532). */
15261 #ifdef __cplusplus
15262 extern "C"
15263 #endif
15264 char opendir (void);
15265 int
15266 main (void)
15267 {
15268 return opendir ();
15269 ;
15270 return 0;
15271 }
15272 _ACEOF
15273 for ac_lib in '' dir
15274 do
15275 if test -z "$ac_lib"; then
15276 ac_res="none required"
15277 else
15278 ac_res=-l$ac_lib
15279 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15280 fi
15281 if ac_fn_c_try_link "$LINENO"
15282 then :
15283 ac_cv_search_opendir=$ac_res
15284 fi
15285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15286 conftest$ac_exeext
15287 if test ${ac_cv_search_opendir+y}
15288 then :
15289 break
15290 fi
15291 done
15292 if test ${ac_cv_search_opendir+y}
15293 then :
15294
15295 else case e in #(
15296 e) ac_cv_search_opendir=no ;;
15297 esac
15298 fi
15299 rm conftest.$ac_ext
15300 LIBS=$ac_func_search_save_LIBS ;;
15301 esac
15302 fi
15303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15304 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15305 ac_res=$ac_cv_search_opendir
15306 if test "$ac_res" != no
15307 then :
15308 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15309
15310 fi
15311
15312 else
15313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15314 printf %s "checking for library containing opendir... " >&6; }
15315 if test ${ac_cv_search_opendir+y}
15316 then :
15317 printf %s "(cached) " >&6
15318 else case e in #(
15319 e) ac_func_search_save_LIBS=$LIBS
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15322
15323 /* Override any GCC internal prototype to avoid an error.
15324 Use char because int might match the return type of a GCC
15325 builtin and then its argument prototype would still apply.
15326 The 'extern "C"' is for builds by C++ compilers;
15327 although this is not generally supported in C code supporting it here
15328 has little cost and some practical benefit (sr 110532). */
15329 #ifdef __cplusplus
15330 extern "C"
15331 #endif
15332 char opendir (void);
15333 int
15334 main (void)
15335 {
15336 return opendir ();
15337 ;
15338 return 0;
15339 }
15340 _ACEOF
15341 for ac_lib in '' x
15342 do
15343 if test -z "$ac_lib"; then
15344 ac_res="none required"
15345 else
15346 ac_res=-l$ac_lib
15347 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15348 fi
15349 if ac_fn_c_try_link "$LINENO"
15350 then :
15351 ac_cv_search_opendir=$ac_res
15352 fi
15353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15354 conftest$ac_exeext
15355 if test ${ac_cv_search_opendir+y}
15356 then :
15357 break
15358 fi
15359 done
15360 if test ${ac_cv_search_opendir+y}
15361 then :
15362
15363 else case e in #(
15364 e) ac_cv_search_opendir=no ;;
15365 esac
15366 fi
15367 rm conftest.$ac_ext
15368 LIBS=$ac_func_search_save_LIBS ;;
15369 esac
15370 fi
15371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15372 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15373 ac_res=$ac_cv_search_opendir
15374 if test "$ac_res" != no
15375 then :
15376 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15377
15378 fi
15379
15380 fi
15381
15382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
15383 printf %s "checking whether closedir returns void... " >&6; }
15384 if test ${ac_cv_func_closedir_void+y}
15385 then :
15386 printf %s "(cached) " >&6
15387 else case e in #(
15388 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 /* end confdefs.h. */
15390
15391 #include <$ac_header_dirent>
15392
15393 int
15394 main (void)
15395 {
15396
15397 return closedir(0);
15398
15399 ;
15400 return 0;
15401 }
15402 _ACEOF
15403 if ac_fn_c_try_compile "$LINENO"
15404 then :
15405 ac_cv_func_closedir_void=no
15406 else case e in #(
15407 e) ac_cv_func_closedir_void=yes ;;
15408 esac
15409 fi
15410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15411 esac
15412 fi
15413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
15414 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
15415 if test $ac_cv_func_closedir_void = yes; then
15416
15417 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
15418
15419 fi
15420
15421 ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
15422 if test "x$ac_cv_header_assert_h" = xyes
15423 then :
15424 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
15425
15426 fi
15427 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
15428 if test "x$ac_cv_header_float_h" = xyes
15429 then :
15430 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
15431
15432 fi
15433 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15434 if test "x$ac_cv_header_limits_h" = xyes
15435 then :
15436 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15437
15438 fi
15439 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
15440 if test "x$ac_cv_header_pwd_h" = xyes
15441 then :
15442 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
15443
15444 fi
15445 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15446 if test "x$ac_cv_header_stdlib_h" = xyes
15447 then :
15448 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15449
15450 fi
15451 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15452 if test "x$ac_cv_header_sys_param_h" = xyes
15453 then :
15454 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
15455
15456 fi
15457
15458 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
15459 if test "x$ac_cv_func_putenv" = xyes
15460 then :
15461 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
15462
15463 fi
15464
15465 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
15466 if test "x$ac_cv_func_getcwd" = xyes
15467 then :
15468 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
15469
15470 fi
15471 ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp"
15472 if test "x$ac_cv_func_memcmp" = xyes
15473 then :
15474 printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h
15475
15476 fi
15477 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
15478 if test "x$ac_cv_func_memcpy" = xyes
15479 then :
15480 printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
15481
15482 fi
15483 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
15484 if test "x$ac_cv_func_mkstemp" = xyes
15485 then :
15486 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15487
15488 fi
15489 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15490 if test "x$ac_cv_func_mktemp" = xyes
15491 then :
15492 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15493
15494 fi
15495 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
15496 if test "x$ac_cv_func_strchr" = xyes
15497 then :
15498 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
15499
15500 fi
15501 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
15502 if test "x$ac_cv_func_strrchr" = xyes
15503 then :
15504 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
15505
15506 fi
15507
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15509 printf %s "checking for an ANSI C-conforming const... " >&6; }
15510 if test ${ac_cv_c_const+y}
15511 then :
15512 printf %s "(cached) " >&6
15513 else case e in #(
15514 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15516
15517 int
15518 main (void)
15519 {
15520
15521 #ifndef __cplusplus
15522 /* Ultrix mips cc rejects this sort of thing. */
15523 typedef int charset[2];
15524 const charset cs = { 0, 0 };
15525 /* SunOS 4.1.1 cc rejects this. */
15526 char const *const *pcpcc;
15527 char **ppc;
15528 /* NEC SVR4.0.2 mips cc rejects this. */
15529 struct point {int x, y;};
15530 static struct point const zero = {0,0};
15531 /* IBM XL C 1.02.0.0 rejects this.
15532 It does not let you subtract one const X* pointer from another in
15533 an arm of an if-expression whose if-part is not a constant
15534 expression */
15535 const char *g = "string";
15536 pcpcc = &g + (g ? g-g : 0);
15537 /* HPUX 7.0 cc rejects these. */
15538 ++pcpcc;
15539 ppc = (char**) pcpcc;
15540 pcpcc = (char const *const *) ppc;
15541 { /* SCO 3.2v4 cc rejects this sort of thing. */
15542 char tx;
15543 char *t = &tx;
15544 char const *s = 0 ? (char *) 0 : (char const *) 0;
15545
15546 *t++ = 0;
15547 if (s) return 0;
15548 }
15549 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15550 int x[] = {25, 17};
15551 const int *foo = &x[0];
15552 ++foo;
15553 }
15554 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15555 typedef const int *iptr;
15556 iptr p = 0;
15557 ++p;
15558 }
15559 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
15560 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15561 struct s { int j; const int *ap[3]; } bx;
15562 struct s *b = &bx; b->j = 5;
15563 }
15564 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15565 const int foo = 10;
15566 if (!foo) return 0;
15567 }
15568 return !cs[0] && !zero.x;
15569 #endif
15570
15571 ;
15572 return 0;
15573 }
15574 _ACEOF
15575 if ac_fn_c_try_compile "$LINENO"
15576 then :
15577 ac_cv_c_const=yes
15578 else case e in #(
15579 e) ac_cv_c_const=no ;;
15580 esac
15581 fi
15582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15583 esac
15584 fi
15585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15586 printf "%s\n" "$ac_cv_c_const" >&6; }
15587 if test $ac_cv_c_const = no; then
15588
15589 printf "%s\n" "#define const /**/" >>confdefs.h
15590
15591 fi
15592
15593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15594 printf %s "checking for inline... " >&6; }
15595 if test ${ac_cv_c_inline+y}
15596 then :
15597 printf %s "(cached) " >&6
15598 else case e in #(
15599 e) ac_cv_c_inline=no
15600 for ac_kw in inline __inline__ __inline; do
15601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15602 /* end confdefs.h. */
15603 #ifndef __cplusplus
15604 typedef int foo_t;
15605 static $ac_kw foo_t static_foo (void) {return 0; }
15606 $ac_kw foo_t foo (void) {return 0; }
15607 #endif
15608
15609 _ACEOF
15610 if ac_fn_c_try_compile "$LINENO"
15611 then :
15612 ac_cv_c_inline=$ac_kw
15613 fi
15614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15615 test "$ac_cv_c_inline" != no && break
15616 done
15617 ;;
15618 esac
15619 fi
15620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15621 printf "%s\n" "$ac_cv_c_inline" >&6; }
15622
15623 case $ac_cv_c_inline in
15624 inline | yes) ;;
15625 *)
15626 case $ac_cv_c_inline in
15627 no) ac_val=;;
15628 *) ac_val=$ac_cv_c_inline;;
15629 esac
15630 cat >>confdefs.h <<_ACEOF
15631 #ifndef __cplusplus
15632 #define inline $ac_val
15633 #endif
15634 _ACEOF
15635 ;;
15636 esac
15637
15638 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15639 if test "x$ac_cv_type_size_t" = xyes
15640 then :
15641
15642 else case e in #(
15643 e)
15644 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
15645 ;;
15646 esac
15647 fi
15648
15649 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
15650 case $ac_cv_c_int64_t in #(
15651 no|yes) ;; #(
15652 *)
15653
15654 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
15655 ;;
15656 esac
15657
15658 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
15659 case $ac_cv_c_uint64_t in #(
15660 no|yes) ;; #(
15661 *)
15662
15663 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
15664
15665
15666 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
15667 ;;
15668 esac
15669
15670 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
15671 *':no:'*) :
15672 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
15673 *) :
15674 ;;
15675 esac
15676 ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
15677 " "$ac_c_undeclared_builtin_options" "CFLAGS"
15678 if test "x$ac_cv_have_decl_isascii" = xyes
15679 then :
15680 ac_have_decl=1
15681 else case e in #(
15682 e) ac_have_decl=0 ;;
15683 esac
15684 fi
15685 printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h
15686
15687 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15688 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
15689 then :
15690
15691 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
15692
15693
15694 fi
15695
15696
15697
15698 ac_config_headers="$ac_config_headers c-auto.h:c-auto.in"
15699
15700
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
15702 printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
15703 if test ${ac_cv_header_sys_wait_h+y}
15704 then :
15705 printf %s "(cached) " >&6
15706 else case e in #(
15707 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15708 /* end confdefs.h. */
15709 #include <sys/types.h>
15710 #include <sys/wait.h>
15711 #ifndef WEXITSTATUS
15712 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
15713 #endif
15714 #ifndef WIFEXITED
15715 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15716 #endif
15717
15718 int
15719 main (void)
15720 {
15721 int s;
15722 wait (&s);
15723 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15724 ;
15725 return 0;
15726 }
15727 _ACEOF
15728 if ac_fn_c_try_compile "$LINENO"
15729 then :
15730 ac_cv_header_sys_wait_h=yes
15731 else case e in #(
15732 e) ac_cv_header_sys_wait_h=no ;;
15733 esac
15734 fi
15735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15736 esac
15737 fi
15738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
15739 printf "%s\n" "$ac_cv_header_sys_wait_h" >&6; }
15740 if test $ac_cv_header_sys_wait_h = yes; then
15741
15742 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
15743
15744 fi
15745
15746 ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
15747 if test "x$ac_cv_header_poll_h" = xyes
15748 then :
15749 printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h
15750
15751 fi
15752 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
15753 if test "x$ac_cv_header_sys_time_h" = xyes
15754 then :
15755 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
15756
15757 fi
15758
15759
15760
15761 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
15762 "
15763 if test "x$ac_cv_type_pid_t" = xyes
15764 then :
15765
15766 else case e in #(
15767 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15769
15770 #if defined _WIN64 && !defined __CYGWIN__
15771 LLP64
15772 #endif
15773
15774 int
15775 main (void)
15776 {
15777
15778 ;
15779 return 0;
15780 }
15781
15782 _ACEOF
15783 if ac_fn_c_try_compile "$LINENO"
15784 then :
15785 ac_pid_type='int'
15786 else case e in #(
15787 e) ac_pid_type='__int64' ;;
15788 esac
15789 fi
15790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15791
15792 printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
15793
15794 ;;
15795 esac
15796 fi
15797
15798
15799
15800 ac_func=
15801 for ac_item in $ac_func_c_list
15802 do
15803 if test $ac_func; then
15804 ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
15805 if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
15806 echo "#define $ac_item 1" >> confdefs.h
15807 fi
15808 ac_func=
15809 else
15810 ac_func=$ac_item
15811 fi
15812 done
15813
15814
15815
15816 if test "x$ac_cv_func_fork" = xyes; then
15817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
15818 printf %s "checking for working fork... " >&6; }
15819 if test ${ac_cv_func_fork_works+y}
15820 then :
15821 printf %s "(cached) " >&6
15822 else case e in #(
15823 e) if test "$cross_compiling" = yes
15824 then :
15825 ac_cv_func_fork_works=cross
15826 else case e in #(
15827 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15829 $ac_includes_default
15830 int
15831 main (void)
15832 {
15833
15834 /* By R. Kuhlmann. */
15835 return fork () < 0;
15836
15837 ;
15838 return 0;
15839 }
15840 _ACEOF
15841 if ac_fn_c_try_run "$LINENO"
15842 then :
15843 ac_cv_func_fork_works=yes
15844 else case e in #(
15845 e) ac_cv_func_fork_works=no ;;
15846 esac
15847 fi
15848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15849 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15850 esac
15851 fi
15852 ;;
15853 esac
15854 fi
15855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
15856 printf "%s\n" "$ac_cv_func_fork_works" >&6; }
15857
15858 else
15859 ac_cv_func_fork_works=$ac_cv_func_fork
15860 fi
15861 if test "x$ac_cv_func_fork_works" = xcross; then
15862 case $host in
15863 *-*-amigaos* | *-*-msdosdjgpp*)
15864 # Override, as these systems have only a dummy fork() stub
15865 ac_cv_func_fork_works=no
15866 ;;
15867 *)
15868 ac_cv_func_fork_works=yes
15869 ;;
15870 esac
15871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
15872 printf "%s\n" "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
15873 fi
15874 ac_cv_func_vfork_works=$ac_cv_func_vfork
15875 if test "x$ac_cv_func_vfork" = xyes; then
15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
15877 printf %s "checking for working vfork... " >&6; }
15878 if test ${ac_cv_func_vfork_works+y}
15879 then :
15880 printf %s "(cached) " >&6
15881 else case e in #(
15882 e) if test "$cross_compiling" = yes
15883 then :
15884 ac_cv_func_vfork_works=cross
15885 else case e in #(
15886 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15887 /* end confdefs.h. */
15888 /* Thanks to Paul Eggert for this test. */
15889 $ac_includes_default
15890 #include <signal.h>
15891 #include <sys/wait.h>
15892 #ifdef HAVE_VFORK_H
15893 # include <vfork.h>
15894 #endif
15895
15896 static void
15897 do_nothing (int sig)
15898 {
15899 (void) sig;
15900 }
15901
15902 /* On some sparc systems, changes by the child to local and incoming
15903 argument registers are propagated back to the parent. The compiler
15904 is told about this with #include <vfork.h>, but some compilers
15905 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
15906 static variable whose address is put into a register that is
15907 clobbered by the vfork. */
15908 static void
15909 sparc_address_test (int arg)
15910 {
15911 static pid_t child;
15912 if (!child) {
15913 child = vfork ();
15914 if (child < 0) {
15915 perror ("vfork");
15916 _exit(2);
15917 }
15918 if (!child) {
15919 arg = getpid();
15920 write(-1, "", 0);
15921 _exit (arg);
15922 }
15923 }
15924 }
15925
15926 int
15927 main (void)
15928 {
15929 pid_t parent = getpid ();
15930 pid_t child;
15931
15932 sparc_address_test (0);
15933
15934 /* On Solaris 2.4, changes by the child to the signal handler
15935 also munge signal handlers in the parent. To detect this,
15936 start by putting the parent's handler in a known state. */
15937 signal (SIGTERM, SIG_DFL);
15938
15939 child = vfork ();
15940
15941 if (child == 0) {
15942 /* Here is another test for sparc vfork register problems. This
15943 test uses lots of local variables, at least as many local
15944 variables as main has allocated so far including compiler
15945 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
15946 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
15947 reuse the register of parent for one of the local variables,
15948 since it will think that parent can't possibly be used any more
15949 in this routine. Assigning to the local variable will thus
15950 munge parent in the parent process. */
15951 pid_t
15952 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
15953 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
15954 /* Convince the compiler that p..p7 are live; otherwise, it might
15955 use the same hardware register for all 8 local variables. */
15956 if (p != p1 || p != p2 || p != p3 || p != p4
15957 || p != p5 || p != p6 || p != p7)
15958 _exit(1);
15959
15960 /* Alter the child's signal handler. */
15961 if (signal (SIGTERM, do_nothing) != SIG_DFL)
15962 _exit(1);
15963
15964 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
15965 from child file descriptors. If the child closes a descriptor
15966 before it execs or exits, this munges the parent's descriptor
15967 as well. Test for this by closing stdout in the child. */
15968 _exit(close(fileno(stdout)) != 0);
15969 } else {
15970 int status;
15971 struct stat st;
15972
15973 while (wait(&status) != child)
15974 ;
15975 return (
15976 /* Was there some problem with vforking? */
15977 child < 0
15978
15979 /* Did the child munge the parent's signal handler? */
15980 || signal (SIGTERM, SIG_DFL) != SIG_DFL
15981
15982 /* Did the child fail? (This shouldn't happen.) */
15983 || status
15984
15985 /* Did the vfork/compiler bug occur? */
15986 || parent != getpid()
15987
15988 /* Did the file descriptor bug occur? */
15989 || fstat(fileno(stdout), &st) != 0
15990 );
15991 }
15992 }
15993 _ACEOF
15994 if ac_fn_c_try_run "$LINENO"
15995 then :
15996 ac_cv_func_vfork_works=yes
15997 else case e in #(
15998 e) ac_cv_func_vfork_works=no ;;
15999 esac
16000 fi
16001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16002 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
16003 esac
16004 fi
16005 ;;
16006 esac
16007 fi
16008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
16009 printf "%s\n" "$ac_cv_func_vfork_works" >&6; }
16010
16011 fi;
16012 if test "x$ac_cv_func_fork_works" = xcross; then
16013 ac_cv_func_vfork_works=$ac_cv_func_vfork
16014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16015 printf "%s\n" "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16016 fi
16017
16018 if test "x$ac_cv_func_vfork_works" = xyes; then
16019
16020 printf "%s\n" "#define HAVE_WORKING_VFORK 1" >>confdefs.h
16021
16022 else
16023
16024 printf "%s\n" "#define vfork fork" >>confdefs.h
16025
16026 fi
16027 if test "x$ac_cv_func_fork_works" = xyes; then
16028
16029 printf "%s\n" "#define HAVE_WORKING_FORK 1" >>confdefs.h
16030
16031 fi
16032
16033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
16034 printf %s "checking return type of signal handlers... " >&6; }
16035 if test ${ac_cv_type_signal+y}
16036 then :
16037 printf %s "(cached) " >&6
16038 else case e in #(
16039 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16040 /* end confdefs.h. */
16041 #include <sys/types.h>
16042 #include <signal.h>
16043
16044 int
16045 main (void)
16046 {
16047 return *(signal (0, 0)) (0) == 1;
16048 ;
16049 return 0;
16050 }
16051 _ACEOF
16052 if ac_fn_c_try_compile "$LINENO"
16053 then :
16054 ac_cv_type_signal=int
16055 else case e in #(
16056 e) ac_cv_type_signal=void ;;
16057 esac
16058 fi
16059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
16060 esac
16061 fi
16062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
16063 printf "%s\n" "$ac_cv_type_signal" >&6; }
16064
16065 printf "%s\n" "#define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h
16066
16067
16068 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
16069 if test "x$ac_cv_func_poll" = xyes
16070 then :
16071 printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h
16072
16073 fi
16074 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
16075 if test "x$ac_cv_func_sigaction" = xyes
16076 then :
16077 printf "%s\n" "#define HAVE_SIGACTION 1" >>confdefs.h
16078
16079 fi
16080
16081
16082 if test "$ac_cv_header_poll_h" = no || test "$ac_cv_func_poll" = no; then
16083 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
16084 if test "x$ac_cv_header_sys_select_h" = xyes
16085 then :
16086 printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
16087
16088 fi
16089 ac_fn_c_check_header_compile "$LINENO" "select.h" "ac_cv_header_select_h" "$ac_includes_default"
16090 if test "x$ac_cv_header_select_h" = xyes
16091 then :
16092 printf "%s\n" "#define HAVE_SELECT_H 1" >>confdefs.h
16093
16094 fi
16095
16096 fi
16097
16098 kpse_save_CPPFLAGS=$CPPFLAGS
16099 kpse_save_LIBS=$LIBS
16100
16101 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
16102 kpse_BLD=`(cd "./../../." && pwd)`
16103 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
16104
16105 echo 'tldbg:_KPSE_USE_LIBTOOL called, libtool package version: 2.5.4' >&5
16106 : ${CONFIG_LT=./config.lt}
16107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
16108 printf "%s\n" "$as_me: creating $CONFIG_LT" >&6;}
16109 as_write_fail=0
16110 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
16111 #! $SHELL
16112 # Generated by $as_me.
16113 # Run this file to recreate a libtool stub with the current configuration.
16114 SHELL=\${CONFIG_SHELL-$SHELL}
16115 export SHELL
16116 _ASEOF
16117 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
16118 ## -------------------- ##
16119 ## M4sh Initialization. ##
16120 ## -------------------- ##
16121
16122 # Be more Bourne compatible
16123 DUALCASE=1; export DUALCASE # for MKS sh
16124 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
16125 then :
16126 emulate sh
16127 NULLCMD=:
16128 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16129 # is contrary to our usage. Disable this feature.
16130 alias -g '${1+"$@"}'='"$@"'
16131 setopt NO_GLOB_SUBST
16132 else case e in #(
16133 e) case `(set -o) 2>/dev/null` in #(
16134 *posix*) :
16135 set -o posix ;; #(
16136 *) :
16137 ;;
16138 esac ;;
16139 esac
16140 fi
16141
16142
16143
16144 # Reset variables that may have inherited troublesome values from
16145 # the environment.
16146
16147 # IFS needs to be set, to space, tab, and newline, in precisely that order.
16148 # (If _AS_PATH_WALK were called with IFS unset, it would have the
16149 # side effect of setting IFS to empty, thus disabling word splitting.)
16150 # Quoting is to prevent editors from complaining about space-tab.
16151 as_nl='
16152 '
16153 export as_nl
16154 IFS=" "" $as_nl"
16155
16156 PS1='$ '
16157 PS2='> '
16158 PS4='+ '
16159
16160 # Ensure predictable behavior from utilities with locale-dependent output.
16161 LC_ALL=C
16162 export LC_ALL
16163 LANGUAGE=C
16164 export LANGUAGE
16165
16166 # We cannot yet rely on "unset" to work, but we need these variables
16167 # to be unset--not just set to an empty or harmless value--now, to
16168 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
16169 # also avoids known problems related to "unset" and subshell syntax
16170 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
16171 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
16172 do eval test \${$as_var+y} \
16173 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16174 done
16175
16176 # Ensure that fds 0, 1, and 2 are open.
16177 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
16178 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
16179 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
16180
16181 # The user is always right.
16182 if ${PATH_SEPARATOR+false} :; then
16183 PATH_SEPARATOR=:
16184 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16185 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16186 PATH_SEPARATOR=';'
16187 }
16188 fi
16189
16190
16191 # Find who we are. Look in the path if we contain no directory separator.
16192 as_myself=
16193 case $0 in #((
16194 *[\\/]* ) as_myself=$0 ;;
16195 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16196 for as_dir in $PATH
16197 do
16198 IFS=$as_save_IFS
16199 case $as_dir in #(((
16200 '') as_dir=./ ;;
16201 */) ;;
16202 *) as_dir=$as_dir/ ;;
16203 esac
16204 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
16205 done
16206 IFS=$as_save_IFS
16207
16208 ;;
16209 esac
16210 # We did not find ourselves, most probably we were run as 'sh COMMAND'
16211 # in which case we are not to be found in the path.
16212 if test "x$as_myself" = x; then
16213 as_myself=$0
16214 fi
16215 if test ! -f "$as_myself"; then
16216 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16217 exit 1
16218 fi
16219
16220
16221
16222 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16223 # ----------------------------------------
16224 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16225 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16226 # script with STATUS, using 1 if that was 0.
16227 as_fn_error ()
16228 {
16229 as_status=$1; test $as_status -eq 0 && as_status=1
16230 if test "$4"; then
16231 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16233 fi
16234 printf "%s\n" "$as_me: error: $2" >&2
16235 as_fn_exit $as_status
16236 } # as_fn_error
16237
16238
16239 # as_fn_set_status STATUS
16240 # -----------------------
16241 # Set $? to STATUS, without forking.
16242 as_fn_set_status ()
16243 {
16244 return $1
16245 } # as_fn_set_status
16246
16247 # as_fn_exit STATUS
16248 # -----------------
16249 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16250 as_fn_exit ()
16251 {
16252 set +e
16253 as_fn_set_status $1
16254 exit $1
16255 } # as_fn_exit
16256
16257 # as_fn_unset VAR
16258 # ---------------
16259 # Portably unset VAR.
16260 as_fn_unset ()
16261 {
16262 { eval $1=; unset $1;}
16263 }
16264 as_unset=as_fn_unset
16265
16266 # as_fn_append VAR VALUE
16267 # ----------------------
16268 # Append the text in VALUE to the end of the definition contained in VAR. Take
16269 # advantage of any shell optimizations that allow amortized linear growth over
16270 # repeated appends, instead of the typical quadratic growth present in naive
16271 # implementations.
16272 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
16273 then :
16274 eval 'as_fn_append ()
16275 {
16276 eval $1+=\$2
16277 }'
16278 else case e in #(
16279 e) as_fn_append ()
16280 {
16281 eval $1=\$$1\$2
16282 } ;;
16283 esac
16284 fi # as_fn_append
16285
16286 # as_fn_arith ARG...
16287 # ------------------
16288 # Perform arithmetic evaluation on the ARGs, and store the result in the
16289 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16290 # must be portable across $(()) and expr.
16291 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
16292 then :
16293 eval 'as_fn_arith ()
16294 {
16295 as_val=$(( $* ))
16296 }'
16297 else case e in #(
16298 e) as_fn_arith ()
16299 {
16300 as_val=`expr "$@" || test $? -eq 1`
16301 } ;;
16302 esac
16303 fi # as_fn_arith
16304
16305
16306 if expr a : '\(a\)' >/dev/null 2>&1 &&
16307 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16308 as_expr=expr
16309 else
16310 as_expr=false
16311 fi
16312
16313 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16314 as_basename=basename
16315 else
16316 as_basename=false
16317 fi
16318
16319 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16320 as_dirname=dirname
16321 else
16322 as_dirname=false
16323 fi
16324
16325 as_me=`$as_basename -- "$0" ||
16326 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16327 X"$0" : 'X\(//\)$' \| \
16328 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16329 printf "%s\n" X/"$0" |
16330 sed '/^.*\/\([^/][^/]*\)\/*$/{
16331 s//\1/
16332 q
16333 }
16334 /^X\/\(\/\/\)$/{
16335 s//\1/
16336 q
16337 }
16338 /^X\/\(\/\).*/{
16339 s//\1/
16340 q
16341 }
16342 s/.*/./; q'`
16343
16344 # Avoid depending upon Character Ranges.
16345 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16346 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16347 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16348 as_cr_digits='0123456789'
16349 as_cr_alnum=$as_cr_Letters$as_cr_digits
16350
16351
16352 # Determine whether it's possible to make 'echo' print without a newline.
16353 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
16354 # for compatibility with existing Makefiles.
16355 ECHO_C= ECHO_N= ECHO_T=
16356 case `echo -n x` in #(((((
16357 -n*)
16358 case `echo 'xy\c'` in
16359 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16360 xy) ECHO_C='\c';;
16361 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16362 ECHO_T=' ';;
16363 esac;;
16364 *)
16365 ECHO_N='-n';;
16366 esac
16367
16368 # For backward compatibility with old third-party macros, we provide
16369 # the shell variables $as_echo and $as_echo_n. New code should use
16370 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16371 as_echo='printf %s\n'
16372 as_echo_n='printf %s'
16373
16374 rm -f conf$$ conf$$.exe conf$$.file
16375 if test -d conf$$.dir; then
16376 rm -f conf$$.dir/conf$$.file
16377 else
16378 rm -f conf$$.dir
16379 mkdir conf$$.dir 2>/dev/null
16380 fi
16381 if (echo >conf$$.file) 2>/dev/null; then
16382 if ln -s conf$$.file conf$$ 2>/dev/null; then
16383 as_ln_s='ln -s'
16384 # ... but there are two gotchas:
16385 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
16386 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
16387 # In both cases, we have to default to 'cp -pR'.
16388 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16389 as_ln_s='cp -pR'
16390 elif ln conf$$.file conf$$ 2>/dev/null; then
16391 as_ln_s=ln
16392 else
16393 as_ln_s='cp -pR'
16394 fi
16395 else
16396 as_ln_s='cp -pR'
16397 fi
16398 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16399 rmdir conf$$.dir 2>/dev/null
16400
16401
16402 # as_fn_mkdir_p
16403 # -------------
16404 # Create "$as_dir" as a directory, including parents if necessary.
16405 as_fn_mkdir_p ()
16406 {
16407
16408 case $as_dir in #(
16409 -*) as_dir=./$as_dir;;
16410 esac
16411 test -d "$as_dir" || eval $as_mkdir_p || {
16412 as_dirs=
16413 while :; do
16414 case $as_dir in #(
16415 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16416 *) as_qdir=$as_dir;;
16417 esac
16418 as_dirs="'$as_qdir' $as_dirs"
16419 as_dir=`$as_dirname -- "$as_dir" ||
16420 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16421 X"$as_dir" : 'X\(//\)[^/]' \| \
16422 X"$as_dir" : 'X\(//\)$' \| \
16423 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16424 printf "%s\n" X"$as_dir" |
16425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16426 s//\1/
16427 q
16428 }
16429 /^X\(\/\/\)[^/].*/{
16430 s//\1/
16431 q
16432 }
16433 /^X\(\/\/\)$/{
16434 s//\1/
16435 q
16436 }
16437 /^X\(\/\).*/{
16438 s//\1/
16439 q
16440 }
16441 s/.*/./; q'`
16442 test -d "$as_dir" && break
16443 done
16444 test -z "$as_dirs" || eval "mkdir $as_dirs"
16445 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16446
16447
16448 } # as_fn_mkdir_p
16449 if mkdir -p . 2>/dev/null; then
16450 as_mkdir_p='mkdir -p "$as_dir"'
16451 else
16452 test -d ./-p && rmdir ./-p
16453 as_mkdir_p=false
16454 fi
16455
16456
16457 # as_fn_executable_p FILE
16458 # -----------------------
16459 # Test if FILE is an executable regular file.
16460 as_fn_executable_p ()
16461 {
16462 test -f "$1" && test -x "$1"
16463 } # as_fn_executable_p
16464 as_test_x='test -x'
16465 as_executable_p=as_fn_executable_p
16466
16467 # Sed expression to map a string onto a valid CPP name.
16468 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16469 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
16470
16471 # Sed expression to map a string onto a valid variable name.
16472 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16473 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
16474
16475
16476 exec 6>&1
16477 ## --------------------------------- ##
16478 ## Main body of "$CONFIG_LT" script. ##
16479 ## --------------------------------- ##
16480 _ASEOF
16481 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16482
16483 cat >>"$CONFIG_LT" <<\_LTEOF
16484 lt_cl_silent=false
16485 exec 5>>config.log
16486 {
16487 echo
16488 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16489 ## Running $as_me. ##
16490 _ASBOX
16491 } >&5
16492
16493 lt_cl_help="\
16494 '$as_me' creates a local libtool stub from the current configuration,
16495 for use in further configure time tests before the real libtool is
16496 generated.
16497
16498 Usage: $0 [OPTIONS]
16499
16500 -h, --help print this help, then exit
16501 -V, --version print version number, then exit
16502 -q, --quiet do not print progress messages
16503 -d, --debug don't remove temporary files
16504
16505 Report bugs to <[email protected]>."
16506
16507 lt_cl_version="\
16508 gsftopk (TeX Live) config.lt 1.19.2
16509 configured by $0, generated by GNU Autoconf 2.72.
16510
16511 Copyright (C) 2024 Free Software Foundation, Inc.
16512 This config.lt script is free software; the Free Software Foundation
16513 gives unlimited permission to copy, distribute and modify it."
16514
16515 while test 0 != $#
16516 do
16517 case $1 in
16518 --version | --v* | -V )
16519 echo "$lt_cl_version"; exit 0 ;;
16520 --help | --h* | -h )
16521 echo "$lt_cl_help"; exit 0 ;;
16522 --debug | --d* | -d )
16523 debug=: ;;
16524 --quiet | --q* | --silent | --s* | -q )
16525 lt_cl_silent=: ;;
16526
16527 -*) as_fn_error $? "unrecognized option: $1
16528 Try '$0 --help' for more information." "$LINENO" 5 ;;
16529
16530 *) as_fn_error $? "unrecognized argument: $1
16531 Try '$0 --help' for more information." "$LINENO" 5 ;;
16532 esac
16533 shift
16534 done
16535
16536 if $lt_cl_silent; then
16537 exec 6>/dev/null
16538 fi
16539 _LTEOF
16540
16541 cat >>"$CONFIG_LT" <<_LTEOF
16542
16543
16544 # The HP-UX ksh and POSIX shell print the target directory to stdout
16545 # if CDPATH is set.
16546 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16547
16548 sed_quote_subst='$sed_quote_subst'
16549 double_quote_subst='$double_quote_subst'
16550 delay_variable_subst='$delay_variable_subst'
16551 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16552 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16553 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16554 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16555 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16556 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16557 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16558 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16559 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16560 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16561 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16562 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16563 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16564 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16565 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16566 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16567 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16568 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16569 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16570 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16571 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16572 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16573 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16574 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16575 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16576 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16577 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16578 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16579 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16580 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16581 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16582 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16583 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16584 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16585 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16586 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16587 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16588 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16589 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16590 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16591 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16592 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16593 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16594 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16595 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16596 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16597 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16598 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16599 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16600 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16601 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16602 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16603 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16604 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16605 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16606 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16607 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16608 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16609 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16610 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16611 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16612 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"`'
16613 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16614 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16615 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16616 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16617 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16618 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16619 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16620 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16621 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16622 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16623 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16624 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16625 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16626 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16627 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16628 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16629 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16630 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16631 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16632 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16633 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16634 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16635 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16636 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16637 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16638 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16639 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16640 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16641 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16642 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16643 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16644 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16645 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16646 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16647 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16648 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16649 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16650 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16651 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16652 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16653 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16654 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16655 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16656 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16657 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16658 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16659 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16660 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16661 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16662 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16663 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16664 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16665 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16666 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16667 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16668 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16669 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16670 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16671 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16672 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16673 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16674 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16675 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16676 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16677 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16678 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16679 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16680 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16681 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16682 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16683 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16684 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16685 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16686 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16687 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16688 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16689
16690 LTCC='$LTCC'
16691 LTCFLAGS='$LTCFLAGS'
16692 compiler='$compiler_DEFAULT'
16693
16694 # A function that is used when there is no print builtin or printf.
16695 func_fallback_echo ()
16696 {
16697 eval 'cat <<_LTECHO_EOF
16698 \$1
16699 _LTECHO_EOF'
16700 }
16701
16702 # Quote evaled strings.
16703 for var in AS \
16704 DLLTOOL \
16705 OBJDUMP \
16706 SHELL \
16707 ECHO \
16708 PATH_SEPARATOR \
16709 SED \
16710 GREP \
16711 EGREP \
16712 FGREP \
16713 LD \
16714 NM \
16715 LN_S \
16716 lt_SP2NL \
16717 lt_NL2SP \
16718 reload_flag \
16719 FILECMD \
16720 deplibs_check_method \
16721 file_magic_cmd \
16722 file_magic_glob \
16723 want_nocaseglob \
16724 sharedlib_from_linklib_cmd \
16725 AR \
16726 archiver_list_spec \
16727 STRIP \
16728 RANLIB \
16729 CC \
16730 CFLAGS \
16731 compiler \
16732 lt_cv_sys_global_symbol_pipe \
16733 lt_cv_sys_global_symbol_to_cdecl \
16734 lt_cv_sys_global_symbol_to_import \
16735 lt_cv_sys_global_symbol_to_c_name_address \
16736 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16737 lt_cv_nm_interface \
16738 nm_file_list_spec \
16739 lt_cv_truncate_bin \
16740 lt_prog_compiler_no_builtin_flag \
16741 lt_prog_compiler_pic \
16742 lt_prog_compiler_wl \
16743 lt_prog_compiler_static \
16744 lt_cv_prog_compiler_c_o \
16745 need_locks \
16746 MANIFEST_TOOL \
16747 DSYMUTIL \
16748 NMEDIT \
16749 LIPO \
16750 OTOOL \
16751 OTOOL64 \
16752 shrext_cmds \
16753 export_dynamic_flag_spec \
16754 whole_archive_flag_spec \
16755 compiler_needs_object \
16756 with_gnu_ld \
16757 allow_undefined_flag \
16758 no_undefined_flag \
16759 hardcode_libdir_flag_spec \
16760 hardcode_libdir_separator \
16761 exclude_expsyms \
16762 include_expsyms \
16763 file_list_spec \
16764 variables_saved_for_relink \
16765 libname_spec \
16766 library_names_spec \
16767 soname_spec \
16768 install_override_mode \
16769 finish_eval \
16770 old_striplib \
16771 striplib; do
16772 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16773 *[\\\\\\\`\\"\\\$]*)
16774 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16775 ;;
16776 *)
16777 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16778 ;;
16779 esac
16780 done
16781
16782 # Double-quote double-evaled strings.
16783 for var in reload_cmds \
16784 old_postinstall_cmds \
16785 old_postuninstall_cmds \
16786 old_archive_cmds \
16787 extract_expsyms_cmds \
16788 old_archive_from_new_cmds \
16789 old_archive_from_expsyms_cmds \
16790 archive_cmds \
16791 archive_expsym_cmds \
16792 module_cmds \
16793 module_expsym_cmds \
16794 export_symbols_cmds \
16795 prelink_cmds \
16796 postlink_cmds \
16797 postinstall_cmds \
16798 postuninstall_cmds \
16799 finish_cmds \
16800 sys_lib_search_path_spec \
16801 configure_time_dlsearch_path \
16802 configure_time_lt_sys_library_path; do
16803 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16804 *[\\\\\\\`\\"\\\$]*)
16805 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16806 ;;
16807 *)
16808 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16809 ;;
16810 esac
16811 done
16812
16813 ac_aux_dir='$ac_aux_dir'
16814
16815 # See if we are running on zsh, and set the options that allow our
16816 # commands through without removal of \ escapes INIT.
16817 if test -n "\${ZSH_VERSION+set}"; then
16818 setopt NO_GLOB_SUBST
16819 fi
16820
16821
16822 PACKAGE='$PACKAGE'
16823 VERSION='$VERSION'
16824 RM='$RM'
16825 ofile='$ofile'
16826
16827
16828
16829 _LTEOF
16830
16831 cat >>"$CONFIG_LT" <<\_LTEOF
16832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
16833 printf "%s\n" "$as_me: creating $ofile" >&6;}
16834
16835
16836 # See if we are running on zsh, and set the options that allow our
16837 # commands through without removal of \ escapes.
16838 if test -n "${ZSH_VERSION+set}"; then
16839 setopt NO_GLOB_SUBST
16840 fi
16841
16842 cfgfile=${ofile}T
16843 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16844 $RM "$cfgfile"
16845
16846 cat <<_LT_EOF >> "$cfgfile"
16847 #! $SHELL
16848 # Generated automatically by $as_me ($PACKAGE) $VERSION
16849 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16850
16851 # Provide generalized library-building support services.
16852 # Written by Gordon Matzigkeit, 1996
16853
16854 # Copyright (C) 2024 Free Software Foundation, Inc.
16855 # This is free software; see the source for copying conditions. There is NO
16856 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16857
16858 # GNU Libtool is free software; you can redistribute it and/or modify
16859 # it under the terms of the GNU General Public License as published by
16860 # the Free Software Foundation; either version 2 of the License, or
16861 # (at your option) any later version.
16862 #
16863 # As a special exception to the GNU General Public License, if you
16864 # distribute this file as part of a program or library that is built
16865 # using GNU Libtool, you may include this file under the same
16866 # distribution terms that you use for the rest of that program.
16867 #
16868 # GNU Libtool is distributed in the hope that it will be useful, but
16869 # WITHOUT ANY WARRANTY; without even the implied warranty of
16870 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16871 # GNU General Public License for more details.
16872 #
16873 # You should have received a copy of the GNU General Public License
16874 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16875
16876
16877 # The names of the tagged configurations supported by this script.
16878 available_tags=''
16879
16880 # Configured defaults for sys_lib_dlsearch_path munging.
16881 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16882
16883 # ### BEGIN LIBTOOL CONFIG
16884
16885 # Which release of libtool.m4 was used?
16886 macro_version=$macro_version
16887 macro_revision=$macro_revision
16888
16889 # Assembler program.
16890 AS=$lt_AS
16891
16892 # DLL creation program.
16893 DLLTOOL=$lt_DLLTOOL
16894
16895 # Object dumper program.
16896 OBJDUMP=$lt_OBJDUMP
16897
16898 # Whether or not to build shared libraries.
16899 build_libtool_libs=$enable_shared
16900
16901 # Whether or not to build static libraries.
16902 build_old_libs=$enable_static
16903
16904 # What type of objects to build.
16905 pic_mode=$pic_mode
16906
16907 # Whether or not to optimize for fast installation.
16908 fast_install=$enable_fast_install
16909
16910 # Shared archive member basename,for filename based shared library versioning on AIX.
16911 shared_archive_member_spec=$shared_archive_member_spec
16912
16913 # Shell to use when invoking shell scripts.
16914 SHELL=$lt_SHELL
16915
16916 # An echo program that protects backslashes.
16917 ECHO=$lt_ECHO
16918
16919 # The PATH separator for the build system.
16920 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16921
16922 # The host system.
16923 host_alias=$host_alias
16924 host=$host
16925 host_os=$host_os
16926
16927 # The build system.
16928 build_alias=$build_alias
16929 build=$build
16930 build_os=$build_os
16931
16932 # A sed program that does not truncate output.
16933 SED=$lt_SED
16934
16935 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16936 Xsed="\$SED -e 1s/^X//"
16937
16938 # A grep program that handles long lines.
16939 GREP=$lt_GREP
16940
16941 # An ERE matcher.
16942 EGREP=$lt_EGREP
16943
16944 # A literal string matcher.
16945 FGREP=$lt_FGREP
16946
16947 # A BSD- or MS-compatible name lister.
16948 NM=$lt_NM
16949
16950 # Whether we need soft or hard links.
16951 LN_S=$lt_LN_S
16952
16953 # What is the maximum length of a command?
16954 max_cmd_len=$max_cmd_len
16955
16956 # Object file suffix (normally "o").
16957 objext=$ac_objext
16958
16959 # Executable file suffix (normally "").
16960 exeext=$exeext
16961
16962 # whether the shell understands "unset".
16963 lt_unset=$lt_unset
16964
16965 # turn spaces into newlines.
16966 SP2NL=$lt_lt_SP2NL
16967
16968 # turn newlines into spaces.
16969 NL2SP=$lt_lt_NL2SP
16970
16971 # convert \$build file names to \$host format.
16972 to_host_file_cmd=$lt_cv_to_host_file_cmd
16973
16974 # convert \$build files to toolchain format.
16975 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16976
16977 # A file(cmd) program that detects file types.
16978 FILECMD=$lt_FILECMD
16979
16980 # Method to check whether dependent libraries are shared objects.
16981 deplibs_check_method=$lt_deplibs_check_method
16982
16983 # Command to use when deplibs_check_method = "file_magic".
16984 file_magic_cmd=$lt_file_magic_cmd
16985
16986 # How to find potential files when deplibs_check_method = "file_magic".
16987 file_magic_glob=$lt_file_magic_glob
16988
16989 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16990 want_nocaseglob=$lt_want_nocaseglob
16991
16992 # Command to associate shared and link libraries.
16993 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16994
16995 # The archiver.
16996 AR=$lt_AR
16997
16998 # Flags to create an archive (by configure).
16999 lt_ar_flags=$lt_ar_flags
17000
17001 # Flags to create an archive.
17002 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
17003
17004 # How to feed a file listing to the archiver.
17005 archiver_list_spec=$lt_archiver_list_spec
17006
17007 # A symbol stripping program.
17008 STRIP=$lt_STRIP
17009
17010 # Commands used to install an old-style archive.
17011 RANLIB=$lt_RANLIB
17012 old_postinstall_cmds=$lt_old_postinstall_cmds
17013 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17014
17015 # Whether to use a lock for old archive extraction.
17016 lock_old_archive_extraction=$lock_old_archive_extraction
17017
17018 # A C compiler.
17019 LTCC=$lt_CC
17020
17021 # LTCC compiler flags.
17022 LTCFLAGS=$lt_CFLAGS
17023
17024 # Take the output of nm and produce a listing of raw symbols and C names.
17025 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17026
17027 # Transform the output of nm in a proper C declaration.
17028 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17029
17030 # Transform the output of nm into a list of symbols to manually relocate.
17031 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17032
17033 # Transform the output of nm in a C name address pair.
17034 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17035
17036 # Transform the output of nm in a C name address pair when lib prefix is needed.
17037 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17038
17039 # The name lister interface.
17040 nm_interface=$lt_lt_cv_nm_interface
17041
17042 # Specify filename containing input files for \$NM.
17043 nm_file_list_spec=$lt_nm_file_list_spec
17044
17045 # The root where to search for dependent libraries,and where our libraries should be installed.
17046 lt_sysroot=$lt_sysroot
17047
17048 # Command to truncate a binary pipe.
17049 lt_truncate_bin=$lt_lt_cv_truncate_bin
17050
17051 # The name of the directory that contains temporary libtool files.
17052 objdir=$objdir
17053
17054 # Used to examine libraries when file_magic_cmd begins with "file".
17055 MAGIC_CMD=$MAGIC_CMD
17056
17057 # Must we lock files when doing compilation?
17058 need_locks=$lt_need_locks
17059
17060 # Manifest tool.
17061 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17062
17063 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17064 DSYMUTIL=$lt_DSYMUTIL
17065
17066 # Tool to change global to local symbols on Mac OS X.
17067 NMEDIT=$lt_NMEDIT
17068
17069 # Tool to manipulate fat objects and archives on Mac OS X.
17070 LIPO=$lt_LIPO
17071
17072 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17073 OTOOL=$lt_OTOOL
17074
17075 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17076 OTOOL64=$lt_OTOOL64
17077
17078 # Old archive suffix (normally "a").
17079 libext=$libext
17080
17081 # Shared library suffix (normally ".so").
17082 shrext_cmds=$lt_shrext_cmds
17083
17084 # The commands to extract the exported symbol list from a shared archive.
17085 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17086
17087 # Variables whose values should be saved in libtool wrapper scripts and
17088 # restored at link time.
17089 variables_saved_for_relink=$lt_variables_saved_for_relink
17090
17091 # Do we need the "lib" prefix for modules?
17092 need_lib_prefix=$need_lib_prefix
17093
17094 # Do we need a version for libraries?
17095 need_version=$need_version
17096
17097 # Library versioning type.
17098 version_type=$version_type
17099
17100 # Shared library runtime path variable.
17101 runpath_var=$runpath_var
17102
17103 # Shared library path variable.
17104 shlibpath_var=$shlibpath_var
17105
17106 # Is shlibpath searched before the hard-coded library search path?
17107 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17108
17109 # Format of library name prefix.
17110 libname_spec=$lt_libname_spec
17111
17112 # List of archive names. First name is the real one, the rest are links.
17113 # The last name is the one that the linker finds with -lNAME
17114 library_names_spec=$lt_library_names_spec
17115
17116 # The coded name of the library, if different from the real name.
17117 soname_spec=$lt_soname_spec
17118
17119 # Permission mode override for installation of shared libraries.
17120 install_override_mode=$lt_install_override_mode
17121
17122 # Command to use after installation of a shared archive.
17123 postinstall_cmds=$lt_postinstall_cmds
17124
17125 # Command to use after uninstallation of a shared archive.
17126 postuninstall_cmds=$lt_postuninstall_cmds
17127
17128 # Commands used to finish a libtool library installation in a directory.
17129 finish_cmds=$lt_finish_cmds
17130
17131 # As "finish_cmds", except a single script fragment to be evaled but
17132 # not shown.
17133 finish_eval=$lt_finish_eval
17134
17135 # Whether we should hardcode library paths into libraries.
17136 hardcode_into_libs=$hardcode_into_libs
17137
17138 # Compile-time system search path for libraries.
17139 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17140
17141 # Detected run-time system search path for libraries.
17142 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17143
17144 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17145 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17146
17147 # Whether dlopen is supported.
17148 dlopen_support=$enable_dlopen
17149
17150 # Whether dlopen of programs is supported.
17151 dlopen_self=$enable_dlopen_self
17152
17153 # Whether dlopen of statically linked programs is supported.
17154 dlopen_self_static=$enable_dlopen_self_static
17155
17156 # Commands to strip libraries.
17157 old_striplib=$lt_old_striplib
17158 striplib=$lt_striplib
17159
17160
17161 # The linker used to build libraries.
17162 LD=$lt_LD
17163
17164 # How to create reloadable object files.
17165 reload_flag=$lt_reload_flag
17166 reload_cmds=$lt_reload_cmds
17167
17168 # Commands used to build an old-style archive.
17169 old_archive_cmds=$lt_old_archive_cmds
17170
17171 # A language specific compiler.
17172 CC=$lt_compiler
17173
17174 # Is the compiler the GNU compiler?
17175 with_gcc=$GCC
17176
17177 # Compiler flag to turn off builtin functions.
17178 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17179
17180 # Additional compiler flags for building library objects.
17181 pic_flag=$lt_lt_prog_compiler_pic
17182
17183 # How to pass a linker flag through the compiler.
17184 wl=$lt_lt_prog_compiler_wl
17185
17186 # Compiler flag to prevent dynamic linking.
17187 link_static_flag=$lt_lt_prog_compiler_static
17188
17189 # Does compiler simultaneously support -c and -o options?
17190 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17191
17192 # Whether or not to add -lc for building shared libraries.
17193 build_libtool_need_lc=$archive_cmds_need_lc
17194
17195 # Whether or not to disallow shared libs when runtime libs are static.
17196 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17197
17198 # Compiler flag to allow reflexive dlopens.
17199 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17200
17201 # Compiler flag to generate shared objects directly from archives.
17202 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17203
17204 # Whether the compiler copes with passing no objects directly.
17205 compiler_needs_object=$lt_compiler_needs_object
17206
17207 # Create an old-style archive from a shared archive.
17208 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17209
17210 # Create a temporary old-style archive to link instead of a shared archive.
17211 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17212
17213 # Commands used to build a shared archive.
17214 archive_cmds=$lt_archive_cmds
17215 archive_expsym_cmds=$lt_archive_expsym_cmds
17216
17217 # Commands used to build a loadable module if different from building
17218 # a shared archive.
17219 module_cmds=$lt_module_cmds
17220 module_expsym_cmds=$lt_module_expsym_cmds
17221
17222 # Whether we are building with GNU ld or not.
17223 with_gnu_ld=$lt_with_gnu_ld
17224
17225 # Flag that allows shared libraries with undefined symbols to be built.
17226 allow_undefined_flag=$lt_allow_undefined_flag
17227
17228 # Flag that enforces no undefined symbols.
17229 no_undefined_flag=$lt_no_undefined_flag
17230
17231 # Flag to hardcode \$libdir into a binary during linking.
17232 # This must work even if \$libdir does not exist
17233 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17234
17235 # Whether we need a single "-rpath" flag with a separated argument.
17236 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17237
17238 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17239 # DIR into the resulting binary.
17240 hardcode_direct=$hardcode_direct
17241
17242 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17243 # DIR into the resulting binary and the resulting library dependency is
17244 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
17245 # library is relocated.
17246 hardcode_direct_absolute=$hardcode_direct_absolute
17247
17248 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17249 # into the resulting binary.
17250 hardcode_minus_L=$hardcode_minus_L
17251
17252 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17253 # into the resulting binary.
17254 hardcode_shlibpath_var=$hardcode_shlibpath_var
17255
17256 # Set to "yes" if building a shared library automatically hardcodes DIR
17257 # into the library and all subsequent libraries and executables linked
17258 # against it.
17259 hardcode_automatic=$hardcode_automatic
17260
17261 # Set to yes if linker adds runtime paths of dependent libraries
17262 # to runtime path list.
17263 inherit_rpath=$inherit_rpath
17264
17265 # Whether libtool must link a program against all its dependency libraries.
17266 link_all_deplibs=$link_all_deplibs
17267
17268 # Set to "yes" if exported symbols are required.
17269 always_export_symbols=$always_export_symbols
17270
17271 # The commands to list exported symbols.
17272 export_symbols_cmds=$lt_export_symbols_cmds
17273
17274 # Symbols that should not be listed in the preloaded symbols.
17275 exclude_expsyms=$lt_exclude_expsyms
17276
17277 # Symbols that must always be exported.
17278 include_expsyms=$lt_include_expsyms
17279
17280 # Commands necessary for linking programs (against libraries) with templates.
17281 prelink_cmds=$lt_prelink_cmds
17282
17283 # Commands necessary for finishing linking programs.
17284 postlink_cmds=$lt_postlink_cmds
17285
17286 # Specify filename containing input files.
17287 file_list_spec=$lt_file_list_spec
17288
17289 # How to hardcode a shared library path into an executable.
17290 hardcode_action=$hardcode_action
17291
17292 # ### END LIBTOOL CONFIG
17293
17294 _LT_EOF
17295
17296 cat <<'_LT_EOF' >> "$cfgfile"
17297
17298 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17299
17300 # func_munge_path_list VARIABLE PATH
17301 # -----------------------------------
17302 # VARIABLE is name of variable containing _space_ separated list of
17303 # directories to be munged by the contents of PATH, which is string
17304 # having a format:
17305 # "DIR[:DIR]:"
17306 # string "DIR[ DIR]" will be prepended to VARIABLE
17307 # ":DIR[:DIR]"
17308 # string "DIR[ DIR]" will be appended to VARIABLE
17309 # "DIRP[:DIRP]::[DIRA:]DIRA"
17310 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17311 # "DIRA[ DIRA]" will be appended to VARIABLE
17312 # "DIR[:DIR]"
17313 # VARIABLE will be replaced by "DIR[ DIR]"
17314 func_munge_path_list ()
17315 {
17316 case x$2 in
17317 x)
17318 ;;
17319 *:)
17320 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17321 ;;
17322 x:*)
17323 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17324 ;;
17325 *::*)
17326 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17327 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17328 ;;
17329 *)
17330 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17331 ;;
17332 esac
17333 }
17334
17335
17336 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17337 func_cc_basename ()
17338 {
17339 for cc_temp in $*""; do
17340 case $cc_temp in
17341 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17342 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17343 \-*) ;;
17344 *) break;;
17345 esac
17346 done
17347 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17348 }
17349
17350
17351 # ### END FUNCTIONS SHARED WITH CONFIGURE
17352
17353 _LT_EOF
17354
17355 case $host_os in
17356 aix3*)
17357 cat <<\_LT_EOF >> "$cfgfile"
17358 # AIX sometimes has problems with the GCC collect2 program. For some
17359 # reason, if we set the COLLECT_NAMES environment variable, the problems
17360 # vanish in a puff of smoke.
17361 if test set != "${COLLECT_NAMES+set}"; then
17362 COLLECT_NAMES=
17363 export COLLECT_NAMES
17364 fi
17365 _LT_EOF
17366 ;;
17367 esac
17368
17369
17370
17371 ltmain=$ac_aux_dir/ltmain.sh
17372
17373
17374 # We use sed instead of cat because bash on DJGPP gets confused if
17375 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17376 # text mode, it properly converts lines to CR/LF. This bash problem
17377 # is reportedly fixed, but why not run on old versions too?
17378 $SED '$q' "$ltmain" >> "$cfgfile" \
17379 || (rm -f "$cfgfile"; exit 1)
17380
17381 mv -f "$cfgfile" "$ofile" ||
17382 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17383 chmod +x "$ofile"
17384
17385
17386 as_fn_exit 0
17387 _LTEOF
17388 chmod +x "$CONFIG_LT"
17389
17390 # configure is writing to config.log, but config.lt does its own redirection,
17391 # appending to config.log, which fails on DOS, as config.log is still kept
17392 # open by configure. Here we exec the FD to /dev/null, effectively closing
17393 # config.log, so it can be properly (re)opened and appended to by config.lt.
17394 lt_cl_success=:
17395 test yes = "$silent" &&
17396 lt_config_lt_args="$lt_config_lt_args --quiet"
17397 exec 5>/dev/null
17398 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17399 exec 5>>config.log
17400 $lt_cl_success || as_fn_exit 1
17401
17402 #
17403 #
17404 ac_ext=c
17405 ac_cpp='$CPP $CPPFLAGS'
17406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17409 ac_link="./libtool --mode=link --tag=CC $ac_link"
17410
17411 if test -n "$ac_tool_prefix"; then
17412 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17413 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17415 printf %s "checking for $ac_word... " >&6; }
17416 if test ${ac_cv_prog_PKG_CONFIG+y}
17417 then :
17418 printf %s "(cached) " >&6
17419 else case e in #(
17420 e) if test -n "$PKG_CONFIG"; then
17421 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
17422 else
17423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17424 for as_dir in $PATH
17425 do
17426 IFS=$as_save_IFS
17427 case $as_dir in #(((
17428 '') as_dir=./ ;;
17429 */) ;;
17430 *) as_dir=$as_dir/ ;;
17431 esac
17432 for ac_exec_ext in '' $ac_executable_extensions; do
17433 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17434 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17436 break 2
17437 fi
17438 done
17439 done
17440 IFS=$as_save_IFS
17441
17442 fi ;;
17443 esac
17444 fi
17445 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17446 if test -n "$PKG_CONFIG"; then
17447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17448 printf "%s\n" "$PKG_CONFIG" >&6; }
17449 else
17450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17451 printf "%s\n" "no" >&6; }
17452 fi
17453
17454
17455 fi
17456 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17457 ac_ct_PKG_CONFIG=$PKG_CONFIG
17458 # Extract the first word of "pkg-config", so it can be a program name with args.
17459 set dummy pkg-config; ac_word=$2
17460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17461 printf %s "checking for $ac_word... " >&6; }
17462 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17463 then :
17464 printf %s "(cached) " >&6
17465 else case e in #(
17466 e) if test -n "$ac_ct_PKG_CONFIG"; then
17467 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17468 else
17469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17470 for as_dir in $PATH
17471 do
17472 IFS=$as_save_IFS
17473 case $as_dir in #(((
17474 '') as_dir=./ ;;
17475 */) ;;
17476 *) as_dir=$as_dir/ ;;
17477 esac
17478 for ac_exec_ext in '' $ac_executable_extensions; do
17479 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17480 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17482 break 2
17483 fi
17484 done
17485 done
17486 IFS=$as_save_IFS
17487
17488 fi ;;
17489 esac
17490 fi
17491 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17492 if test -n "$ac_ct_PKG_CONFIG"; then
17493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17494 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17495 else
17496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17497 printf "%s\n" "no" >&6; }
17498 fi
17499
17500 if test "x$ac_ct_PKG_CONFIG" = x; then
17501 PKG_CONFIG="false"
17502 else
17503 case $cross_compiling:$ac_tool_warned in
17504 yes:)
17505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17506 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17507 ac_tool_warned=yes ;;
17508 esac
17509 PKG_CONFIG=$ac_ct_PKG_CONFIG
17510 fi
17511 else
17512 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17513 fi
17514
17515 ##tldbg _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags.
17516 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
17517 ##tldbg _KPSE_LIB_FLAGS_TL: kpathsea (kpathsea) lt.
17518
17519 # Check whether --with-system-kpathsea was given.
17520 if test ${with_system_kpathsea+y}
17521 then :
17522 withval=$with_system_kpathsea;
17523 fi
17524 if test "x$with_system_kpathsea" = xyes; then
17525 if $PKG_CONFIG kpathsea; then
17526 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
17527 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
17528 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17529 as_fn_error $? "did not find kpathsea" "$LINENO" 5
17530 fi
17531 else
17532 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
17533 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
17534 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
17535 KPATHSEA_RULE='# Rebuild libkpathsea
17536 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
17537 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
17538 ${top_builddir}/../kpathsea/paths.h:
17539 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17540 fi
17541
17542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
17543 printf %s "checking if libkpathsea supports debugging... " >&6; }
17544 if test ${kpse_cv_kpse_debug+y}
17545 then :
17546 printf %s "(cached) " >&6
17547 else case e in #(
17548 e) eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17549 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17550
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17553 #include <kpathsea/kpathsea.h>
17554 int
17555 main (void)
17556 {
17557 FILE *f = fopen("f", "r")
17558 ;
17559 return 0;
17560 }
17561 _ACEOF
17562 if ac_fn_c_try_link "$LINENO"
17563 then :
17564 kpse_cv_kpse_debug=yes
17565 else case e in #(
17566 e) kpse_cv_kpse_debug=no ;;
17567 esac
17568 fi
17569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17570 conftest$ac_exeext conftest.$ac_ext
17571 CPPFLAGS=$kpse_save_CPPFLAGS
17572 LIBS=$kpse_save_LIBS
17573 ;;
17574 esac
17575 fi
17576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
17577 printf "%s\n" "$kpse_cv_kpse_debug" >&6; }
17578 if test "x$kpse_cv_kpse_debug" != xyes
17579 then :
17580 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
17581 fi
17582
17583
17584 if test "x$enable_build" != xno || test -f config.force; then
17585
17586 eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17587 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17588
17589 ac_fn_c_check_header_compile "$LINENO" "kpathsea/version.h" "ac_cv_header_kpathsea_version_h" "$ac_includes_default"
17590 if test "x$ac_cv_header_kpathsea_version_h" = xyes
17591 then :
17592
17593 else case e in #(
17594 e) as_fn_error $? "Sorry, kpathsea too old" "$LINENO" 5 ;;
17595 esac
17596 fi
17597
17598 CPPFLAGS=$kpse_save_CPPFLAGS
17599 LIBS=$kpse_save_LIBS
17600
17601
17602 echo timestamp >config.force
17603 fi
17604
17605 ac_config_files="$ac_config_files Makefile"
17606
17607
17608 cat >confcache <<\_ACEOF
17609 # This file is a shell script that caches the results of configure
17610 # tests run on this system so they can be shared between configure
17611 # scripts and configure runs, see configure's option --config-cache.
17612 # It is not useful on other systems. If it contains results you don't
17613 # want to keep, you may remove or edit it.
17614 #
17615 # config.status only pays attention to the cache file if you give it
17616 # the --recheck option to rerun configure.
17617 #
17618 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
17619 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
17620 # following values.
17621
17622 _ACEOF
17623
17624 # The following way of writing the cache mishandles newlines in values,
17625 # but we know of no workaround that is simple, portable, and efficient.
17626 # So, we kill variables containing newlines.
17627 # Ultrix sh set writes to stderr and can't be redirected directly,
17628 # and sets the high bit in the cache file unless we assign to the vars.
17629 (
17630 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17631 eval ac_val=\$$ac_var
17632 case $ac_val in #(
17633 *${as_nl}*)
17634 case $ac_var in #(
17635 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17636 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17637 esac
17638 case $ac_var in #(
17639 _ | IFS | as_nl) ;; #(
17640 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17641 *) { eval $ac_var=; unset $ac_var;} ;;
17642 esac ;;
17643 esac
17644 done
17645
17646 (set) 2>&1 |
17647 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17648 *${as_nl}ac_space=\ *)
17649 # 'set' does not quote correctly, so add quotes: double-quote
17650 # substitution turns \\\\ into \\, and sed turns \\ into \.
17651 sed -n \
17652 "s/'/'\\\\''/g;
17653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17654 ;; #(
17655 *)
17656 # 'set' quotes correctly as required by POSIX, so do not add quotes.
17657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17658 ;;
17659 esac |
17660 sort
17661 ) |
17662 sed '
17663 /^ac_cv_env_/b end
17664 t clear
17665 :clear
17666 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
17667 t end
17668 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17669 :end' >>confcache
17670 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17671 if test -w "$cache_file"; then
17672 if test "x$cache_file" != "x/dev/null"; then
17673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17674 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
17675 if test ! -f "$cache_file" || test -h "$cache_file"; then
17676 cat confcache >"$cache_file"
17677 else
17678 case $cache_file in #(
17679 */* | ?:*)
17680 mv -f confcache "$cache_file"$$ &&
17681 mv -f "$cache_file"$$ "$cache_file" ;; #(
17682 *)
17683 mv -f confcache "$cache_file" ;;
17684 esac
17685 fi
17686 fi
17687 else
17688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17689 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
17690 fi
17691 fi
17692 rm -f confcache
17693
17694 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17695 # Let make expand exec_prefix.
17696 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17697
17698 DEFS=-DHAVE_CONFIG_H
17699
17700 ac_libobjs=
17701 ac_ltlibobjs=
17702 U=
17703 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17704 # 1. Remove the extension, and $U if already installed.
17705 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17706 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
17707 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17708 # will be set to the directory where LIBOBJS objects are built.
17709 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17710 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17711 done
17712 LIBOBJS=$ac_libobjs
17713
17714 LTLIBOBJS=$ac_ltlibobjs
17715
17716
17717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17718 printf %s "checking that generated files are newer than configure... " >&6; }
17719 if test -n "$am_sleep_pid"; then
17720 # Hide warnings about reused PIDs.
17721 wait $am_sleep_pid 2>/dev/null
17722 fi
17723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
17724 printf "%s\n" "done" >&6; }
17725 case $enable_silent_rules in # (((
17726 yes) AM_DEFAULT_VERBOSITY=0;;
17727 no) AM_DEFAULT_VERBOSITY=1;;
17728 esac
17729 if test $am_cv_make_support_nested_variables = yes; then
17730 AM_V='$(V)'
17731 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17732 else
17733 AM_V=$AM_DEFAULT_VERBOSITY
17734 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17735 fi
17736
17737 if test -n "$EXEEXT"; then
17738 am__EXEEXT_TRUE=
17739 am__EXEEXT_FALSE='#'
17740 else
17741 am__EXEEXT_TRUE='#'
17742 am__EXEEXT_FALSE=
17743 fi
17744
17745 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17746 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17748 fi
17749 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17750 as_fn_error $? "conditional \"AMDEP\" was never defined.
17751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17752 fi
17753 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17754 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17756 fi
17757 # Check whether --enable-year2038 was given.
17758 if test ${enable_year2038+y}
17759 then :
17760 enableval=$enable_year2038;
17761 fi
17762
17763
17764 : "${CONFIG_STATUS=./config.status}"
17765 ac_write_fail=0
17766 ac_clean_files_save=$ac_clean_files
17767 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17769 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17770 as_write_fail=0
17771 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17772 #! $SHELL
17773 # Generated by $as_me.
17774 # Run this file to recreate the current configuration.
17775 # Compiler output produced by configure, useful for debugging
17776 # configure, is in config.log if it exists.
17777
17778 debug=false
17779 ac_cs_recheck=false
17780 ac_cs_silent=false
17781
17782 SHELL=\${CONFIG_SHELL-$SHELL}
17783 export SHELL
17784 _ASEOF
17785 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17786 ## -------------------- ##
17787 ## M4sh Initialization. ##
17788 ## -------------------- ##
17789
17790 # Be more Bourne compatible
17791 DUALCASE=1; export DUALCASE # for MKS sh
17792 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17793 then :
17794 emulate sh
17795 NULLCMD=:
17796 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17797 # is contrary to our usage. Disable this feature.
17798 alias -g '${1+"$@"}'='"$@"'
17799 setopt NO_GLOB_SUBST
17800 else case e in #(
17801 e) case `(set -o) 2>/dev/null` in #(
17802 *posix*) :
17803 set -o posix ;; #(
17804 *) :
17805 ;;
17806 esac ;;
17807 esac
17808 fi
17809
17810
17811
17812 # Reset variables that may have inherited troublesome values from
17813 # the environment.
17814
17815 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17816 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17817 # side effect of setting IFS to empty, thus disabling word splitting.)
17818 # Quoting is to prevent editors from complaining about space-tab.
17819 as_nl='
17820 '
17821 export as_nl
17822 IFS=" "" $as_nl"
17823
17824 PS1='$ '
17825 PS2='> '
17826 PS4='+ '
17827
17828 # Ensure predictable behavior from utilities with locale-dependent output.
17829 LC_ALL=C
17830 export LC_ALL
17831 LANGUAGE=C
17832 export LANGUAGE
17833
17834 # We cannot yet rely on "unset" to work, but we need these variables
17835 # to be unset--not just set to an empty or harmless value--now, to
17836 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17837 # also avoids known problems related to "unset" and subshell syntax
17838 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17839 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17840 do eval test \${$as_var+y} \
17841 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17842 done
17843
17844 # Ensure that fds 0, 1, and 2 are open.
17845 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17846 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17847 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17848
17849 # The user is always right.
17850 if ${PATH_SEPARATOR+false} :; then
17851 PATH_SEPARATOR=:
17852 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17853 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17854 PATH_SEPARATOR=';'
17855 }
17856 fi
17857
17858
17859 # Find who we are. Look in the path if we contain no directory separator.
17860 as_myself=
17861 case $0 in #((
17862 *[\\/]* ) as_myself=$0 ;;
17863 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17864 for as_dir in $PATH
17865 do
17866 IFS=$as_save_IFS
17867 case $as_dir in #(((
17868 '') as_dir=./ ;;
17869 */) ;;
17870 *) as_dir=$as_dir/ ;;
17871 esac
17872 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17873 done
17874 IFS=$as_save_IFS
17875
17876 ;;
17877 esac
17878 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17879 # in which case we are not to be found in the path.
17880 if test "x$as_myself" = x; then
17881 as_myself=$0
17882 fi
17883 if test ! -f "$as_myself"; then
17884 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17885 exit 1
17886 fi
17887
17888
17889
17890 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17891 # ----------------------------------------
17892 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17893 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17894 # script with STATUS, using 1 if that was 0.
17895 as_fn_error ()
17896 {
17897 as_status=$1; test $as_status -eq 0 && as_status=1
17898 if test "$4"; then
17899 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17901 fi
17902 printf "%s\n" "$as_me: error: $2" >&2
17903 as_fn_exit $as_status
17904 } # as_fn_error
17905
17906
17907 # as_fn_set_status STATUS
17908 # -----------------------
17909 # Set $? to STATUS, without forking.
17910 as_fn_set_status ()
17911 {
17912 return $1
17913 } # as_fn_set_status
17914
17915 # as_fn_exit STATUS
17916 # -----------------
17917 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17918 as_fn_exit ()
17919 {
17920 set +e
17921 as_fn_set_status $1
17922 exit $1
17923 } # as_fn_exit
17924
17925 # as_fn_unset VAR
17926 # ---------------
17927 # Portably unset VAR.
17928 as_fn_unset ()
17929 {
17930 { eval $1=; unset $1;}
17931 }
17932 as_unset=as_fn_unset
17933
17934 # as_fn_append VAR VALUE
17935 # ----------------------
17936 # Append the text in VALUE to the end of the definition contained in VAR. Take
17937 # advantage of any shell optimizations that allow amortized linear growth over
17938 # repeated appends, instead of the typical quadratic growth present in naive
17939 # implementations.
17940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17941 then :
17942 eval 'as_fn_append ()
17943 {
17944 eval $1+=\$2
17945 }'
17946 else case e in #(
17947 e) as_fn_append ()
17948 {
17949 eval $1=\$$1\$2
17950 } ;;
17951 esac
17952 fi # as_fn_append
17953
17954 # as_fn_arith ARG...
17955 # ------------------
17956 # Perform arithmetic evaluation on the ARGs, and store the result in the
17957 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17958 # must be portable across $(()) and expr.
17959 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17960 then :
17961 eval 'as_fn_arith ()
17962 {
17963 as_val=$(( $* ))
17964 }'
17965 else case e in #(
17966 e) as_fn_arith ()
17967 {
17968 as_val=`expr "$@" || test $? -eq 1`
17969 } ;;
17970 esac
17971 fi # as_fn_arith
17972
17973
17974 if expr a : '\(a\)' >/dev/null 2>&1 &&
17975 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17976 as_expr=expr
17977 else
17978 as_expr=false
17979 fi
17980
17981 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17982 as_basename=basename
17983 else
17984 as_basename=false
17985 fi
17986
17987 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17988 as_dirname=dirname
17989 else
17990 as_dirname=false
17991 fi
17992
17993 as_me=`$as_basename -- "$0" ||
17994 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17995 X"$0" : 'X\(//\)$' \| \
17996 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17997 printf "%s\n" X/"$0" |
17998 sed '/^.*\/\([^/][^/]*\)\/*$/{
17999 s//\1/
18000 q
18001 }
18002 /^X\/\(\/\/\)$/{
18003 s//\1/
18004 q
18005 }
18006 /^X\/\(\/\).*/{
18007 s//\1/
18008 q
18009 }
18010 s/.*/./; q'`
18011
18012 # Avoid depending upon Character Ranges.
18013 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18014 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18015 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18016 as_cr_digits='0123456789'
18017 as_cr_alnum=$as_cr_Letters$as_cr_digits
18018
18019
18020 # Determine whether it's possible to make 'echo' print without a newline.
18021 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
18022 # for compatibility with existing Makefiles.
18023 ECHO_C= ECHO_N= ECHO_T=
18024 case `echo -n x` in #(((((
18025 -n*)
18026 case `echo 'xy\c'` in
18027 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18028 xy) ECHO_C='\c';;
18029 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18030 ECHO_T=' ';;
18031 esac;;
18032 *)
18033 ECHO_N='-n';;
18034 esac
18035
18036 # For backward compatibility with old third-party macros, we provide
18037 # the shell variables $as_echo and $as_echo_n. New code should use
18038 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
18039 as_echo='printf %s\n'
18040 as_echo_n='printf %s'
18041
18042 rm -f conf$$ conf$$.exe conf$$.file
18043 if test -d conf$$.dir; then
18044 rm -f conf$$.dir/conf$$.file
18045 else
18046 rm -f conf$$.dir
18047 mkdir conf$$.dir 2>/dev/null
18048 fi
18049 if (echo >conf$$.file) 2>/dev/null; then
18050 if ln -s conf$$.file conf$$ 2>/dev/null; then
18051 as_ln_s='ln -s'
18052 # ... but there are two gotchas:
18053 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
18054 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
18055 # In both cases, we have to default to 'cp -pR'.
18056 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18057 as_ln_s='cp -pR'
18058 elif ln conf$$.file conf$$ 2>/dev/null; then
18059 as_ln_s=ln
18060 else
18061 as_ln_s='cp -pR'
18062 fi
18063 else
18064 as_ln_s='cp -pR'
18065 fi
18066 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18067 rmdir conf$$.dir 2>/dev/null
18068
18069
18070 # as_fn_mkdir_p
18071 # -------------
18072 # Create "$as_dir" as a directory, including parents if necessary.
18073 as_fn_mkdir_p ()
18074 {
18075
18076 case $as_dir in #(
18077 -*) as_dir=./$as_dir;;
18078 esac
18079 test -d "$as_dir" || eval $as_mkdir_p || {
18080 as_dirs=
18081 while :; do
18082 case $as_dir in #(
18083 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18084 *) as_qdir=$as_dir;;
18085 esac
18086 as_dirs="'$as_qdir' $as_dirs"
18087 as_dir=`$as_dirname -- "$as_dir" ||
18088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18089 X"$as_dir" : 'X\(//\)[^/]' \| \
18090 X"$as_dir" : 'X\(//\)$' \| \
18091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18092 printf "%s\n" X"$as_dir" |
18093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18094 s//\1/
18095 q
18096 }
18097 /^X\(\/\/\)[^/].*/{
18098 s//\1/
18099 q
18100 }
18101 /^X\(\/\/\)$/{
18102 s//\1/
18103 q
18104 }
18105 /^X\(\/\).*/{
18106 s//\1/
18107 q
18108 }
18109 s/.*/./; q'`
18110 test -d "$as_dir" && break
18111 done
18112 test -z "$as_dirs" || eval "mkdir $as_dirs"
18113 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18114
18115
18116 } # as_fn_mkdir_p
18117 if mkdir -p . 2>/dev/null; then
18118 as_mkdir_p='mkdir -p "$as_dir"'
18119 else
18120 test -d ./-p && rmdir ./-p
18121 as_mkdir_p=false
18122 fi
18123
18124
18125 # as_fn_executable_p FILE
18126 # -----------------------
18127 # Test if FILE is an executable regular file.
18128 as_fn_executable_p ()
18129 {
18130 test -f "$1" && test -x "$1"
18131 } # as_fn_executable_p
18132 as_test_x='test -x'
18133 as_executable_p=as_fn_executable_p
18134
18135 # Sed expression to map a string onto a valid CPP name.
18136 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
18137 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
18138
18139 # Sed expression to map a string onto a valid variable name.
18140 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
18141 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
18142
18143
18144 exec 6>&1
18145 ## ----------------------------------- ##
18146 ## Main body of $CONFIG_STATUS script. ##
18147 ## ----------------------------------- ##
18148 _ASEOF
18149 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18150
18151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18152 # Save the log message, to keep $0 and so on meaningful, and to
18153 # report actual input values of CONFIG_FILES etc. instead of their
18154 # values after options handling.
18155 ac_log="
18156 This file was extended by gsftopk (TeX Live) $as_me 1.19.2, which was
18157 generated by GNU Autoconf 2.72. Invocation command line was
18158
18159 CONFIG_FILES = $CONFIG_FILES
18160 CONFIG_HEADERS = $CONFIG_HEADERS
18161 CONFIG_LINKS = $CONFIG_LINKS
18162 CONFIG_COMMANDS = $CONFIG_COMMANDS
18163 $ $0 $@
18164
18165 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18166 "
18167
18168 _ACEOF
18169
18170 case $ac_config_files in *"
18171 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18172 esac
18173
18174 case $ac_config_headers in *"
18175 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18176 esac
18177
18178
18179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18180 # Files that config.status was made for.
18181 config_files="$ac_config_files"
18182 config_headers="$ac_config_headers"
18183 config_commands="$ac_config_commands"
18184
18185 _ACEOF
18186
18187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18188 ac_cs_usage="\
18189 '$as_me' instantiates files and other configuration actions
18190 from templates according to the current configuration. Unless the files
18191 and actions are specified as TAGs, all are instantiated by default.
18192
18193 Usage: $0 [OPTION]... [TAG]...
18194
18195 -h, --help print this help, then exit
18196 -V, --version print version number and configuration settings, then exit
18197 --config print configuration, then exit
18198 -q, --quiet, --silent
18199 do not print progress messages
18200 -d, --debug don't remove temporary files
18201 --recheck update $as_me by reconfiguring in the same conditions
18202 --file=FILE[:TEMPLATE]
18203 instantiate the configuration file FILE
18204 --header=FILE[:TEMPLATE]
18205 instantiate the configuration header FILE
18206
18207 Configuration files:
18208 $config_files
18209
18210 Configuration headers:
18211 $config_headers
18212
18213 Configuration commands:
18214 $config_commands
18215
18216 Report bugs to <[email protected]>."
18217
18218 _ACEOF
18219 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
18220 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
18221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18222 ac_cs_config='$ac_cs_config_escaped'
18223 ac_cs_version="\\
18224 gsftopk (TeX Live) config.status 1.19.2
18225 configured by $0, generated by GNU Autoconf 2.72,
18226 with options \\"\$ac_cs_config\\"
18227
18228 Copyright (C) 2023 Free Software Foundation, Inc.
18229 This config.status script is free software; the Free Software Foundation
18230 gives unlimited permission to copy, distribute and modify it."
18231
18232 ac_pwd='$ac_pwd'
18233 srcdir='$srcdir'
18234 INSTALL='$INSTALL'
18235 MKDIR_P='$MKDIR_P'
18236 AWK='$AWK'
18237 test -n "\$AWK" || AWK=awk
18238 _ACEOF
18239
18240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18241 # The default lists apply if the user does not specify any file.
18242 ac_need_defaults=:
18243 while test $# != 0
18244 do
18245 case $1 in
18246 --*=?*)
18247 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18248 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18249 ac_shift=:
18250 ;;
18251 --*=)
18252 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18253 ac_optarg=
18254 ac_shift=:
18255 ;;
18256 *)
18257 ac_option=$1
18258 ac_optarg=$2
18259 ac_shift=shift
18260 ;;
18261 esac
18262
18263 case $ac_option in
18264 # Handling of the options.
18265 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18266 ac_cs_recheck=: ;;
18267 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18268 printf "%s\n" "$ac_cs_version"; exit ;;
18269 --config | --confi | --conf | --con | --co | --c )
18270 printf "%s\n" "$ac_cs_config"; exit ;;
18271 --debug | --debu | --deb | --de | --d | -d )
18272 debug=: ;;
18273 --file | --fil | --fi | --f )
18274 $ac_shift
18275 case $ac_optarg in
18276 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18277 '') as_fn_error $? "missing file argument" ;;
18278 esac
18279 as_fn_append CONFIG_FILES " '$ac_optarg'"
18280 ac_need_defaults=false;;
18281 --header | --heade | --head | --hea )
18282 $ac_shift
18283 case $ac_optarg in
18284 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18285 esac
18286 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18287 ac_need_defaults=false;;
18288 --he | --h)
18289 # Conflict between --help and --header
18290 as_fn_error $? "ambiguous option: '$1'
18291 Try '$0 --help' for more information.";;
18292 --help | --hel | -h )
18293 printf "%s\n" "$ac_cs_usage"; exit ;;
18294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18295 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18296 ac_cs_silent=: ;;
18297
18298 # This is an error.
18299 -*) as_fn_error $? "unrecognized option: '$1'
18300 Try '$0 --help' for more information." ;;
18301
18302 *) as_fn_append ac_config_targets " $1"
18303 ac_need_defaults=false ;;
18304
18305 esac
18306 shift
18307 done
18308
18309 ac_configure_extra_args=
18310
18311 if $ac_cs_silent; then
18312 exec 6>/dev/null
18313 ac_configure_extra_args="$ac_configure_extra_args --silent"
18314 fi
18315
18316 _ACEOF
18317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18318 if \$ac_cs_recheck; then
18319 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18320 shift
18321 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
18322 CONFIG_SHELL='$SHELL'
18323 export CONFIG_SHELL
18324 exec "\$@"
18325 fi
18326
18327 _ACEOF
18328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18329 exec 5>>config.log
18330 {
18331 echo
18332 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18333 ## Running $as_me. ##
18334 _ASBOX
18335 printf "%s\n" "$ac_log"
18336 } >&5
18337
18338 _ACEOF
18339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18340 #
18341 # INIT-COMMANDS
18342 #
18343 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18344
18345
18346 # The HP-UX ksh and POSIX shell print the target directory to stdout
18347 # if CDPATH is set.
18348 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18349
18350 sed_quote_subst='$sed_quote_subst'
18351 double_quote_subst='$double_quote_subst'
18352 delay_variable_subst='$delay_variable_subst'
18353 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18354 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18355 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18356 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18357 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18358 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18359 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18360 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18361 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18362 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18363 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18364 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18365 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18366 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18367 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18368 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18369 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18370 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18371 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18372 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18373 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18374 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18375 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18376 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18377 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18378 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18379 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18380 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18381 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18382 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18383 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18384 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18385 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18386 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18387 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18388 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18389 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18390 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
18391 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18392 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18393 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18394 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18395 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18396 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18397 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18398 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18399 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18400 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18401 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18402 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18403 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18404 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18405 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18406 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18407 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18408 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18409 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18410 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18411 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18412 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18413 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18414 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"`'
18415 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18416 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18417 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18418 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18419 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18420 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18421 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18422 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18423 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18424 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18425 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18426 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18427 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18428 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18429 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18430 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18431 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18432 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18433 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18434 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18435 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18436 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18437 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18438 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18439 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18440 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18441 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18442 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18443 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18444 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18445 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18446 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18447 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18448 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18449 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18450 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18451 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18452 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18453 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18454 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18455 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18456 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18457 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18458 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18459 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18460 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18461 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18462 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18463 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18464 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18465 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18466 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18467 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18468 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18469 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18470 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18471 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18472 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18473 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18474 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18475 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18476 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18477 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18478 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18479 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18480 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18481 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18482 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18483 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18484 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18485 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18486 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18487 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18488 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18489 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18490 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18491
18492 LTCC='$LTCC'
18493 LTCFLAGS='$LTCFLAGS'
18494 compiler='$compiler_DEFAULT'
18495
18496 # A function that is used when there is no print builtin or printf.
18497 func_fallback_echo ()
18498 {
18499 eval 'cat <<_LTECHO_EOF
18500 \$1
18501 _LTECHO_EOF'
18502 }
18503
18504 # Quote evaled strings.
18505 for var in AS \
18506 DLLTOOL \
18507 OBJDUMP \
18508 SHELL \
18509 ECHO \
18510 PATH_SEPARATOR \
18511 SED \
18512 GREP \
18513 EGREP \
18514 FGREP \
18515 LD \
18516 NM \
18517 LN_S \
18518 lt_SP2NL \
18519 lt_NL2SP \
18520 reload_flag \
18521 FILECMD \
18522 deplibs_check_method \
18523 file_magic_cmd \
18524 file_magic_glob \
18525 want_nocaseglob \
18526 sharedlib_from_linklib_cmd \
18527 AR \
18528 archiver_list_spec \
18529 STRIP \
18530 RANLIB \
18531 CC \
18532 CFLAGS \
18533 compiler \
18534 lt_cv_sys_global_symbol_pipe \
18535 lt_cv_sys_global_symbol_to_cdecl \
18536 lt_cv_sys_global_symbol_to_import \
18537 lt_cv_sys_global_symbol_to_c_name_address \
18538 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18539 lt_cv_nm_interface \
18540 nm_file_list_spec \
18541 lt_cv_truncate_bin \
18542 lt_prog_compiler_no_builtin_flag \
18543 lt_prog_compiler_pic \
18544 lt_prog_compiler_wl \
18545 lt_prog_compiler_static \
18546 lt_cv_prog_compiler_c_o \
18547 need_locks \
18548 MANIFEST_TOOL \
18549 DSYMUTIL \
18550 NMEDIT \
18551 LIPO \
18552 OTOOL \
18553 OTOOL64 \
18554 shrext_cmds \
18555 export_dynamic_flag_spec \
18556 whole_archive_flag_spec \
18557 compiler_needs_object \
18558 with_gnu_ld \
18559 allow_undefined_flag \
18560 no_undefined_flag \
18561 hardcode_libdir_flag_spec \
18562 hardcode_libdir_separator \
18563 exclude_expsyms \
18564 include_expsyms \
18565 file_list_spec \
18566 variables_saved_for_relink \
18567 libname_spec \
18568 library_names_spec \
18569 soname_spec \
18570 install_override_mode \
18571 finish_eval \
18572 old_striplib \
18573 striplib; do
18574 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18575 *[\\\\\\\`\\"\\\$]*)
18576 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18577 ;;
18578 *)
18579 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18580 ;;
18581 esac
18582 done
18583
18584 # Double-quote double-evaled strings.
18585 for var in reload_cmds \
18586 old_postinstall_cmds \
18587 old_postuninstall_cmds \
18588 old_archive_cmds \
18589 extract_expsyms_cmds \
18590 old_archive_from_new_cmds \
18591 old_archive_from_expsyms_cmds \
18592 archive_cmds \
18593 archive_expsym_cmds \
18594 module_cmds \
18595 module_expsym_cmds \
18596 export_symbols_cmds \
18597 prelink_cmds \
18598 postlink_cmds \
18599 postinstall_cmds \
18600 postuninstall_cmds \
18601 finish_cmds \
18602 sys_lib_search_path_spec \
18603 configure_time_dlsearch_path \
18604 configure_time_lt_sys_library_path; do
18605 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18606 *[\\\\\\\`\\"\\\$]*)
18607 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18608 ;;
18609 *)
18610 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18611 ;;
18612 esac
18613 done
18614
18615 ac_aux_dir='$ac_aux_dir'
18616
18617 # See if we are running on zsh, and set the options that allow our
18618 # commands through without removal of \ escapes INIT.
18619 if test -n "\${ZSH_VERSION+set}"; then
18620 setopt NO_GLOB_SUBST
18621 fi
18622
18623
18624 PACKAGE='$PACKAGE'
18625 VERSION='$VERSION'
18626 RM='$RM'
18627 ofile='$ofile'
18628
18629 ac_aux_dir='$ac_aux_dir'
18630
18631
18632
18633 _ACEOF
18634
18635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18636
18637 # Handling of arguments.
18638 for ac_config_target in $ac_config_targets
18639 do
18640 case $ac_config_target in
18641 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18642 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18643 "c-auto.h") CONFIG_HEADERS="$CONFIG_HEADERS c-auto.h:c-auto.in" ;;
18644 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18645
18646 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
18647 esac
18648 done
18649
18650
18651 # If the user did not use the arguments to specify the items to instantiate,
18652 # then the envvar interface is used. Set only those that are not.
18653 # We use the long form for the default assignment because of an extremely
18654 # bizarre bug on SunOS 4.1.3.
18655 if $ac_need_defaults; then
18656 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18657 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18658 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18659 fi
18660
18661 # Have a temporary directory for convenience. Make it in the build tree
18662 # simply because there is no reason against having it here, and in addition,
18663 # creating and moving files from /tmp can sometimes cause problems.
18664 # Hook for its removal unless debugging.
18665 # Note that there is a small window in which the directory will not be cleaned:
18666 # after its creation but before its name has been assigned to '$tmp'.
18667 $debug ||
18668 {
18669 tmp= ac_tmp=
18670 trap 'exit_status=$?
18671 : "${ac_tmp:=$tmp}"
18672 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18673 ' 0
18674 trap 'as_fn_exit 1' 1 2 13 15
18675 }
18676 # Create a (secure) tmp directory for tmp files.
18677
18678 {
18679 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18680 test -d "$tmp"
18681 } ||
18682 {
18683 tmp=./conf$$-$RANDOM
18684 (umask 077 && mkdir "$tmp")
18685 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18686 ac_tmp=$tmp
18687
18688 # Set up the scripts for CONFIG_FILES section.
18689 # No need to generate them if there are no CONFIG_FILES.
18690 # This happens for instance with './config.status config.h'.
18691 if test -n "$CONFIG_FILES"; then
18692
18693
18694 ac_cr=`echo X | tr X '\015'`
18695 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18696 # But we know of no other shell where ac_cr would be empty at this
18697 # point, so we can use a bashism as a fallback.
18698 if test "x$ac_cr" = x; then
18699 eval ac_cr=\$\'\\r\'
18700 fi
18701 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18702 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18703 ac_cs_awk_cr='\\r'
18704 else
18705 ac_cs_awk_cr=$ac_cr
18706 fi
18707
18708 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18709 _ACEOF
18710
18711
18712 {
18713 echo "cat >conf$$subs.awk <<_ACEOF" &&
18714 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18715 echo "_ACEOF"
18716 } >conf$$subs.sh ||
18717 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18718 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18719 ac_delim='%!_!# '
18720 for ac_last_try in false false false false false :; do
18721 . ./conf$$subs.sh ||
18722 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18723
18724 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18725 if test $ac_delim_n = $ac_delim_num; then
18726 break
18727 elif $ac_last_try; then
18728 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18729 else
18730 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18731 fi
18732 done
18733 rm -f conf$$subs.sh
18734
18735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18736 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18737 _ACEOF
18738 sed -n '
18739 h
18740 s/^/S["/; s/!.*/"]=/
18741 p
18742 g
18743 s/^[^!]*!//
18744 :repl
18745 t repl
18746 s/'"$ac_delim"'$//
18747 t delim
18748 :nl
18749 h
18750 s/\(.\{148\}\)..*/\1/
18751 t more1
18752 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18753 p
18754 n
18755 b repl
18756 :more1
18757 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18758 p
18759 g
18760 s/.\{148\}//
18761 t nl
18762 :delim
18763 h
18764 s/\(.\{148\}\)..*/\1/
18765 t more2
18766 s/["\\]/\\&/g; s/^/"/; s/$/"/
18767 p
18768 b
18769 :more2
18770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18771 p
18772 g
18773 s/.\{148\}//
18774 t delim
18775 ' <conf$$subs.awk | sed '
18776 /^[^""]/{
18777 N
18778 s/\n//
18779 }
18780 ' >>$CONFIG_STATUS || ac_write_fail=1
18781 rm -f conf$$subs.awk
18782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18783 _ACAWK
18784 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18785 for (key in S) S_is_set[key] = 1
18786 FS = ""
18787
18788 }
18789 {
18790 line = $ 0
18791 nfields = split(line, field, "@")
18792 substed = 0
18793 len = length(field[1])
18794 for (i = 2; i < nfields; i++) {
18795 key = field[i]
18796 keylen = length(key)
18797 if (S_is_set[key]) {
18798 value = S[key]
18799 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18800 len += length(value) + length(field[++i])
18801 substed = 1
18802 } else
18803 len += 1 + keylen
18804 }
18805
18806 print line
18807 }
18808
18809 _ACAWK
18810 _ACEOF
18811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18812 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18813 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18814 else
18815 cat
18816 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18817 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18818 _ACEOF
18819
18820 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18821 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18822 # trailing colons and then remove the whole line if VPATH becomes empty
18823 # (actually we leave an empty line to preserve line numbers).
18824 if test "x$srcdir" = x.; then
18825 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18826 h
18827 s///
18828 s/^/:/
18829 s/[ ]*$/:/
18830 s/:\$(srcdir):/:/g
18831 s/:\${srcdir}:/:/g
18832 s/:@srcdir@:/:/g
18833 s/^:*//
18834 s/:*$//
18835 x
18836 s/\(=[ ]*\).*/\1/
18837 G
18838 s/\n//
18839 s/^[^=]*=[ ]*$//
18840 }'
18841 fi
18842
18843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18844 fi # test -n "$CONFIG_FILES"
18845
18846 # Set up the scripts for CONFIG_HEADERS section.
18847 # No need to generate them if there are no CONFIG_HEADERS.
18848 # This happens for instance with './config.status Makefile'.
18849 if test -n "$CONFIG_HEADERS"; then
18850 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18851 BEGIN {
18852 _ACEOF
18853
18854 # Transform confdefs.h into an awk script 'defines.awk', embedded as
18855 # here-document in config.status, that substitutes the proper values into
18856 # config.h.in to produce config.h.
18857
18858 # Create a delimiter string that does not exist in confdefs.h, to ease
18859 # handling of long lines.
18860 ac_delim='%!_!# '
18861 for ac_last_try in false false :; do
18862 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18863 if test -z "$ac_tt"; then
18864 break
18865 elif $ac_last_try; then
18866 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18867 else
18868 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18869 fi
18870 done
18871
18872 # For the awk script, D is an array of macro values keyed by name,
18873 # likewise P contains macro parameters if any. Preserve backslash
18874 # newline sequences.
18875
18876 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18877 sed -n '
18878 s/.\{148\}/&'"$ac_delim"'/g
18879 t rset
18880 :rset
18881 s/^[ ]*#[ ]*define[ ][ ]*/ /
18882 t def
18883 d
18884 :def
18885 s/\\$//
18886 t bsnl
18887 s/["\\]/\\&/g
18888 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18889 D["\1"]=" \3"/p
18890 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18891 d
18892 :bsnl
18893 s/["\\]/\\&/g
18894 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18895 D["\1"]=" \3\\\\\\n"\\/p
18896 t cont
18897 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18898 t cont
18899 d
18900 :cont
18901 n
18902 s/.\{148\}/&'"$ac_delim"'/g
18903 t clear
18904 :clear
18905 s/\\$//
18906 t bsnlc
18907 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18908 d
18909 :bsnlc
18910 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18911 b cont
18912 ' <confdefs.h | sed '
18913 s/'"$ac_delim"'/"\\\
18914 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18915
18916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18917 for (key in D) D_is_set[key] = 1
18918 FS = ""
18919 }
18920 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18921 line = \$ 0
18922 split(line, arg, " ")
18923 if (arg[1] == "#") {
18924 defundef = arg[2]
18925 mac1 = arg[3]
18926 } else {
18927 defundef = substr(arg[1], 2)
18928 mac1 = arg[2]
18929 }
18930 split(mac1, mac2, "(") #)
18931 macro = mac2[1]
18932 prefix = substr(line, 1, index(line, defundef) - 1)
18933 if (D_is_set[macro]) {
18934 # Preserve the white space surrounding the "#".
18935 print prefix "define", macro P[macro] D[macro]
18936 next
18937 } else {
18938 # Replace #undef with comments. This is necessary, for example,
18939 # in the case of _POSIX_SOURCE, which is predefined and required
18940 # on some systems where configure will not decide to define it.
18941 if (defundef == "undef") {
18942 print "/*", prefix defundef, macro, "*/"
18943 next
18944 }
18945 }
18946 }
18947 { print }
18948 _ACAWK
18949 _ACEOF
18950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18951 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18952 fi # test -n "$CONFIG_HEADERS"
18953
18954
18955 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18956 shift
18957 for ac_tag
18958 do
18959 case $ac_tag in
18960 :[FHLC]) ac_mode=$ac_tag; continue;;
18961 esac
18962 case $ac_mode$ac_tag in
18963 :[FHL]*:*);;
18964 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
18965 :[FH]-) ac_tag=-:-;;
18966 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18967 esac
18968 ac_save_IFS=$IFS
18969 IFS=:
18970 set x $ac_tag
18971 IFS=$ac_save_IFS
18972 shift
18973 ac_file=$1
18974 shift
18975
18976 case $ac_mode in
18977 :L) ac_source=$1;;
18978 :[FH])
18979 ac_file_inputs=
18980 for ac_f
18981 do
18982 case $ac_f in
18983 -) ac_f="$ac_tmp/stdin";;
18984 *) # Look for the file first in the build tree, then in the source tree
18985 # (if the path is not absolute). The absolute path cannot be DOS-style,
18986 # because $ac_f cannot contain ':'.
18987 test -f "$ac_f" ||
18988 case $ac_f in
18989 [\\/$]*) false;;
18990 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18991 esac ||
18992 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
18993 esac
18994 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18995 as_fn_append ac_file_inputs " '$ac_f'"
18996 done
18997
18998 # Let's still pretend it is 'configure' which instantiates (i.e., don't
18999 # use $as_me), people would be surprised to read:
19000 # /* config.h. Generated by config.status. */
19001 configure_input='Generated from '`
19002 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19003 `' by configure.'
19004 if test x"$ac_file" != x-; then
19005 configure_input="$ac_file. $configure_input"
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19007 printf "%s\n" "$as_me: creating $ac_file" >&6;}
19008 fi
19009 # Neutralize special characters interpreted by sed in replacement strings.
19010 case $configure_input in #(
19011 *\&* | *\|* | *\\* )
19012 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
19013 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19014 *) ac_sed_conf_input=$configure_input;;
19015 esac
19016
19017 case $ac_tag in
19018 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19019 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19020 esac
19021 ;;
19022 esac
19023
19024 ac_dir=`$as_dirname -- "$ac_file" ||
19025 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19026 X"$ac_file" : 'X\(//\)[^/]' \| \
19027 X"$ac_file" : 'X\(//\)$' \| \
19028 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19029 printf "%s\n" X"$ac_file" |
19030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19031 s//\1/
19032 q
19033 }
19034 /^X\(\/\/\)[^/].*/{
19035 s//\1/
19036 q
19037 }
19038 /^X\(\/\/\)$/{
19039 s//\1/
19040 q
19041 }
19042 /^X\(\/\).*/{
19043 s//\1/
19044 q
19045 }
19046 s/.*/./; q'`
19047 as_dir="$ac_dir"; as_fn_mkdir_p
19048 ac_builddir=.
19049
19050 case "$ac_dir" in
19051 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19052 *)
19053 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
19054 # A ".." for each directory in $ac_dir_suffix.
19055 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19056 case $ac_top_builddir_sub in
19057 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19058 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19059 esac ;;
19060 esac
19061 ac_abs_top_builddir=$ac_pwd
19062 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19063 # for backward compatibility:
19064 ac_top_builddir=$ac_top_build_prefix
19065
19066 case $srcdir in
19067 .) # We are building in place.
19068 ac_srcdir=.
19069 ac_top_srcdir=$ac_top_builddir_sub
19070 ac_abs_top_srcdir=$ac_pwd ;;
19071 [\\/]* | ?:[\\/]* ) # Absolute name.
19072 ac_srcdir=$srcdir$ac_dir_suffix;
19073 ac_top_srcdir=$srcdir
19074 ac_abs_top_srcdir=$srcdir ;;
19075 *) # Relative name.
19076 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19077 ac_top_srcdir=$ac_top_build_prefix$srcdir
19078 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19079 esac
19080 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19081
19082
19083 case $ac_mode in
19084 :F)
19085 #
19086 # CONFIG_FILE
19087 #
19088
19089 case $INSTALL in
19090 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19091 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19092 esac
19093 ac_MKDIR_P=$MKDIR_P
19094 case $MKDIR_P in
19095 [\\/$]* | ?:[\\/]* ) ;;
19096 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19097 esac
19098 _ACEOF
19099
19100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19101 # If the template does not know about datarootdir, expand it.
19102 # FIXME: This hack should be removed a few years after 2.60.
19103 ac_datarootdir_hack=; ac_datarootdir_seen=
19104 ac_sed_dataroot='
19105 /datarootdir/ {
19106 p
19107 q
19108 }
19109 /@datadir@/p
19110 /@docdir@/p
19111 /@infodir@/p
19112 /@localedir@/p
19113 /@mandir@/p'
19114 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19115 *datarootdir*) ac_datarootdir_seen=yes;;
19116 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19118 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19119 _ACEOF
19120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19121 ac_datarootdir_hack='
19122 s&@datadir@&$datadir&g
19123 s&@docdir@&$docdir&g
19124 s&@infodir@&$infodir&g
19125 s&@localedir@&$localedir&g
19126 s&@mandir@&$mandir&g
19127 s&\\\${datarootdir}&$datarootdir&g' ;;
19128 esac
19129 _ACEOF
19130
19131 # Neutralize VPATH when '$srcdir' = '.'.
19132 # Shell code in configure.ac might set extrasub.
19133 # FIXME: do we really want to maintain this feature?
19134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19135 ac_sed_extra="$ac_vpsub
19136 $extrasub
19137 _ACEOF
19138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19139 :t
19140 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19141 s|@configure_input@|$ac_sed_conf_input|;t t
19142 s&@top_builddir@&$ac_top_builddir_sub&;t t
19143 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19144 s&@srcdir@&$ac_srcdir&;t t
19145 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19146 s&@top_srcdir@&$ac_top_srcdir&;t t
19147 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19148 s&@builddir@&$ac_builddir&;t t
19149 s&@abs_builddir@&$ac_abs_builddir&;t t
19150 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19151 s&@INSTALL@&$ac_INSTALL&;t t
19152 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19153 $ac_datarootdir_hack
19154 "
19155 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19156 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19157
19158 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19159 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19160 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19161 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19163 which seems to be undefined. Please make sure it is defined" >&5
19164 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19165 which seems to be undefined. Please make sure it is defined" >&2;}
19166
19167 rm -f "$ac_tmp/stdin"
19168 case $ac_file in
19169 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19170 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19171 esac \
19172 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19173 ;;
19174 :H)
19175 #
19176 # CONFIG_HEADER
19177 #
19178 if test x"$ac_file" != x-; then
19179 {
19180 printf "%s\n" "/* $configure_input */" >&1 \
19181 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19182 } >"$ac_tmp/config.h" \
19183 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19184 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19186 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
19187 else
19188 rm -f "$ac_file"
19189 mv "$ac_tmp/config.h" "$ac_file" \
19190 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19191 fi
19192 else
19193 printf "%s\n" "/* $configure_input */" >&1 \
19194 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19195 || as_fn_error $? "could not create -" "$LINENO" 5
19196 fi
19197 # Compute "$ac_file"'s index in $config_headers.
19198 _am_arg="$ac_file"
19199 _am_stamp_count=1
19200 for _am_header in $config_headers :; do
19201 case $_am_header in
19202 $_am_arg | $_am_arg:* )
19203 break ;;
19204 * )
19205 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19206 esac
19207 done
19208 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19209 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19210 X"$_am_arg" : 'X\(//\)[^/]' \| \
19211 X"$_am_arg" : 'X\(//\)$' \| \
19212 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19213 printf "%s\n" X"$_am_arg" |
19214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19215 s//\1/
19216 q
19217 }
19218 /^X\(\/\/\)[^/].*/{
19219 s//\1/
19220 q
19221 }
19222 /^X\(\/\/\)$/{
19223 s//\1/
19224 q
19225 }
19226 /^X\(\/\).*/{
19227 s//\1/
19228 q
19229 }
19230 s/.*/./; q'`/stamp-h$_am_stamp_count
19231 ;;
19232
19233 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19234 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
19235 ;;
19236 esac
19237
19238
19239 case $ac_file$ac_mode in
19240 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19241 # Older Autoconf quotes --file arguments for eval, but not when files
19242 # are listed without --file. Let's play safe and only enable the eval
19243 # if we detect the quoting.
19244 # TODO: see whether this extra hack can be removed once we start
19245 # requiring Autoconf 2.70 or later.
19246 case $CONFIG_FILES in #(
19247 *\'*) :
19248 eval set x "$CONFIG_FILES" ;; #(
19249 *) :
19250 set x $CONFIG_FILES ;; #(
19251 *) :
19252 ;;
19253 esac
19254 shift
19255 # Used to flag and report bootstrapping failures.
19256 am_rc=0
19257 for am_mf
19258 do
19259 # Strip MF so we end up with the name of the file.
19260 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
19261 # Check whether this is an Automake generated Makefile which includes
19262 # dependency-tracking related rules and includes.
19263 # Grep'ing the whole file directly is not great: AIX grep has a line
19264 # limit of 2048, but all sed's we know have understand at least 4000.
19265 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19266 || continue
19267 am_dirpart=`$as_dirname -- "$am_mf" ||
19268 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19269 X"$am_mf" : 'X\(//\)[^/]' \| \
19270 X"$am_mf" : 'X\(//\)$' \| \
19271 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19272 printf "%s\n" X"$am_mf" |
19273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19274 s//\1/
19275 q
19276 }
19277 /^X\(\/\/\)[^/].*/{
19278 s//\1/
19279 q
19280 }
19281 /^X\(\/\/\)$/{
19282 s//\1/
19283 q
19284 }
19285 /^X\(\/\).*/{
19286 s//\1/
19287 q
19288 }
19289 s/.*/./; q'`
19290 am_filepart=`$as_basename -- "$am_mf" ||
19291 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19292 X"$am_mf" : 'X\(//\)$' \| \
19293 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19294 printf "%s\n" X/"$am_mf" |
19295 sed '/^.*\/\([^/][^/]*\)\/*$/{
19296 s//\1/
19297 q
19298 }
19299 /^X\/\(\/\/\)$/{
19300 s//\1/
19301 q
19302 }
19303 /^X\/\(\/\).*/{
19304 s//\1/
19305 q
19306 }
19307 s/.*/./; q'`
19308 { echo "$as_me:$LINENO: cd "$am_dirpart" \
19309 && sed -e '/# am--include-marker/d' "$am_filepart" \
19310 | $MAKE -f - am--depfiles" >&5
19311 (cd "$am_dirpart" \
19312 && sed -e '/# am--include-marker/d' "$am_filepart" \
19313 | $MAKE -f - am--depfiles) >&5 2>&5
19314 ac_status=$?
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } || am_rc=$?
19317 done
19318 if test $am_rc -ne 0; then
19319 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
19320 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
19321 as_fn_error $? "Something went wrong bootstrapping makefile fragments
19322 for automatic dependency tracking. If GNU make was not used, consider
19323 re-running the configure script with MAKE=\"gmake\" (or whatever is
19324 necessary). You can also try re-running configure with the
19325 '--disable-dependency-tracking' option to at least be able to build
19326 the package (albeit without support for automatic dependency tracking).
19327 See 'config.log' for more details" "$LINENO" 5; }
19328 fi
19329 { am_dirpart=; unset am_dirpart;}
19330 { am_filepart=; unset am_filepart;}
19331 { am_mf=; unset am_mf;}
19332 { am_rc=; unset am_rc;}
19333 rm -f conftest-deps.mk
19334 }
19335 ;;
19336 "libtool":C)
19337
19338 # See if we are running on zsh, and set the options that allow our
19339 # commands through without removal of \ escapes.
19340 if test -n "${ZSH_VERSION+set}"; then
19341 setopt NO_GLOB_SUBST
19342 fi
19343
19344 cfgfile=${ofile}T
19345 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19346 $RM "$cfgfile"
19347
19348 cat <<_LT_EOF >> "$cfgfile"
19349 #! $SHELL
19350 # Generated automatically by $as_me ($PACKAGE) $VERSION
19351 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19352
19353 # Provide generalized library-building support services.
19354 # Written by Gordon Matzigkeit, 1996
19355
19356 # Copyright (C) 2024 Free Software Foundation, Inc.
19357 # This is free software; see the source for copying conditions. There is NO
19358 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19359
19360 # GNU Libtool is free software; you can redistribute it and/or modify
19361 # it under the terms of the GNU General Public License as published by
19362 # the Free Software Foundation; either version 2 of the License, or
19363 # (at your option) any later version.
19364 #
19365 # As a special exception to the GNU General Public License, if you
19366 # distribute this file as part of a program or library that is built
19367 # using GNU Libtool, you may include this file under the same
19368 # distribution terms that you use for the rest of that program.
19369 #
19370 # GNU Libtool is distributed in the hope that it will be useful, but
19371 # WITHOUT ANY WARRANTY; without even the implied warranty of
19372 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19373 # GNU General Public License for more details.
19374 #
19375 # You should have received a copy of the GNU General Public License
19376 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19377
19378
19379 # The names of the tagged configurations supported by this script.
19380 available_tags=''
19381
19382 # Configured defaults for sys_lib_dlsearch_path munging.
19383 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19384
19385 # ### BEGIN LIBTOOL CONFIG
19386
19387 # Which release of libtool.m4 was used?
19388 macro_version=$macro_version
19389 macro_revision=$macro_revision
19390
19391 # Assembler program.
19392 AS=$lt_AS
19393
19394 # DLL creation program.
19395 DLLTOOL=$lt_DLLTOOL
19396
19397 # Object dumper program.
19398 OBJDUMP=$lt_OBJDUMP
19399
19400 # Whether or not to build shared libraries.
19401 build_libtool_libs=$enable_shared
19402
19403 # Whether or not to build static libraries.
19404 build_old_libs=$enable_static
19405
19406 # What type of objects to build.
19407 pic_mode=$pic_mode
19408
19409 # Whether or not to optimize for fast installation.
19410 fast_install=$enable_fast_install
19411
19412 # Shared archive member basename,for filename based shared library versioning on AIX.
19413 shared_archive_member_spec=$shared_archive_member_spec
19414
19415 # Shell to use when invoking shell scripts.
19416 SHELL=$lt_SHELL
19417
19418 # An echo program that protects backslashes.
19419 ECHO=$lt_ECHO
19420
19421 # The PATH separator for the build system.
19422 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19423
19424 # The host system.
19425 host_alias=$host_alias
19426 host=$host
19427 host_os=$host_os
19428
19429 # The build system.
19430 build_alias=$build_alias
19431 build=$build
19432 build_os=$build_os
19433
19434 # A sed program that does not truncate output.
19435 SED=$lt_SED
19436
19437 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19438 Xsed="\$SED -e 1s/^X//"
19439
19440 # A grep program that handles long lines.
19441 GREP=$lt_GREP
19442
19443 # An ERE matcher.
19444 EGREP=$lt_EGREP
19445
19446 # A literal string matcher.
19447 FGREP=$lt_FGREP
19448
19449 # A BSD- or MS-compatible name lister.
19450 NM=$lt_NM
19451
19452 # Whether we need soft or hard links.
19453 LN_S=$lt_LN_S
19454
19455 # What is the maximum length of a command?
19456 max_cmd_len=$max_cmd_len
19457
19458 # Object file suffix (normally "o").
19459 objext=$ac_objext
19460
19461 # Executable file suffix (normally "").
19462 exeext=$exeext
19463
19464 # whether the shell understands "unset".
19465 lt_unset=$lt_unset
19466
19467 # turn spaces into newlines.
19468 SP2NL=$lt_lt_SP2NL
19469
19470 # turn newlines into spaces.
19471 NL2SP=$lt_lt_NL2SP
19472
19473 # convert \$build file names to \$host format.
19474 to_host_file_cmd=$lt_cv_to_host_file_cmd
19475
19476 # convert \$build files to toolchain format.
19477 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19478
19479 # A file(cmd) program that detects file types.
19480 FILECMD=$lt_FILECMD
19481
19482 # Method to check whether dependent libraries are shared objects.
19483 deplibs_check_method=$lt_deplibs_check_method
19484
19485 # Command to use when deplibs_check_method = "file_magic".
19486 file_magic_cmd=$lt_file_magic_cmd
19487
19488 # How to find potential files when deplibs_check_method = "file_magic".
19489 file_magic_glob=$lt_file_magic_glob
19490
19491 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19492 want_nocaseglob=$lt_want_nocaseglob
19493
19494 # Command to associate shared and link libraries.
19495 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19496
19497 # The archiver.
19498 AR=$lt_AR
19499
19500 # Flags to create an archive (by configure).
19501 lt_ar_flags=$lt_ar_flags
19502
19503 # Flags to create an archive.
19504 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19505
19506 # How to feed a file listing to the archiver.
19507 archiver_list_spec=$lt_archiver_list_spec
19508
19509 # A symbol stripping program.
19510 STRIP=$lt_STRIP
19511
19512 # Commands used to install an old-style archive.
19513 RANLIB=$lt_RANLIB
19514 old_postinstall_cmds=$lt_old_postinstall_cmds
19515 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19516
19517 # Whether to use a lock for old archive extraction.
19518 lock_old_archive_extraction=$lock_old_archive_extraction
19519
19520 # A C compiler.
19521 LTCC=$lt_CC
19522
19523 # LTCC compiler flags.
19524 LTCFLAGS=$lt_CFLAGS
19525
19526 # Take the output of nm and produce a listing of raw symbols and C names.
19527 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19528
19529 # Transform the output of nm in a proper C declaration.
19530 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19531
19532 # Transform the output of nm into a list of symbols to manually relocate.
19533 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19534
19535 # Transform the output of nm in a C name address pair.
19536 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19537
19538 # Transform the output of nm in a C name address pair when lib prefix is needed.
19539 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19540
19541 # The name lister interface.
19542 nm_interface=$lt_lt_cv_nm_interface
19543
19544 # Specify filename containing input files for \$NM.
19545 nm_file_list_spec=$lt_nm_file_list_spec
19546
19547 # The root where to search for dependent libraries,and where our libraries should be installed.
19548 lt_sysroot=$lt_sysroot
19549
19550 # Command to truncate a binary pipe.
19551 lt_truncate_bin=$lt_lt_cv_truncate_bin
19552
19553 # The name of the directory that contains temporary libtool files.
19554 objdir=$objdir
19555
19556 # Used to examine libraries when file_magic_cmd begins with "file".
19557 MAGIC_CMD=$MAGIC_CMD
19558
19559 # Must we lock files when doing compilation?
19560 need_locks=$lt_need_locks
19561
19562 # Manifest tool.
19563 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19564
19565 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19566 DSYMUTIL=$lt_DSYMUTIL
19567
19568 # Tool to change global to local symbols on Mac OS X.
19569 NMEDIT=$lt_NMEDIT
19570
19571 # Tool to manipulate fat objects and archives on Mac OS X.
19572 LIPO=$lt_LIPO
19573
19574 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19575 OTOOL=$lt_OTOOL
19576
19577 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19578 OTOOL64=$lt_OTOOL64
19579
19580 # Old archive suffix (normally "a").
19581 libext=$libext
19582
19583 # Shared library suffix (normally ".so").
19584 shrext_cmds=$lt_shrext_cmds
19585
19586 # The commands to extract the exported symbol list from a shared archive.
19587 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19588
19589 # Variables whose values should be saved in libtool wrapper scripts and
19590 # restored at link time.
19591 variables_saved_for_relink=$lt_variables_saved_for_relink
19592
19593 # Do we need the "lib" prefix for modules?
19594 need_lib_prefix=$need_lib_prefix
19595
19596 # Do we need a version for libraries?
19597 need_version=$need_version
19598
19599 # Library versioning type.
19600 version_type=$version_type
19601
19602 # Shared library runtime path variable.
19603 runpath_var=$runpath_var
19604
19605 # Shared library path variable.
19606 shlibpath_var=$shlibpath_var
19607
19608 # Is shlibpath searched before the hard-coded library search path?
19609 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19610
19611 # Format of library name prefix.
19612 libname_spec=$lt_libname_spec
19613
19614 # List of archive names. First name is the real one, the rest are links.
19615 # The last name is the one that the linker finds with -lNAME
19616 library_names_spec=$lt_library_names_spec
19617
19618 # The coded name of the library, if different from the real name.
19619 soname_spec=$lt_soname_spec
19620
19621 # Permission mode override for installation of shared libraries.
19622 install_override_mode=$lt_install_override_mode
19623
19624 # Command to use after installation of a shared archive.
19625 postinstall_cmds=$lt_postinstall_cmds
19626
19627 # Command to use after uninstallation of a shared archive.
19628 postuninstall_cmds=$lt_postuninstall_cmds
19629
19630 # Commands used to finish a libtool library installation in a directory.
19631 finish_cmds=$lt_finish_cmds
19632
19633 # As "finish_cmds", except a single script fragment to be evaled but
19634 # not shown.
19635 finish_eval=$lt_finish_eval
19636
19637 # Whether we should hardcode library paths into libraries.
19638 hardcode_into_libs=$hardcode_into_libs
19639
19640 # Compile-time system search path for libraries.
19641 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19642
19643 # Detected run-time system search path for libraries.
19644 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19645
19646 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19647 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19648
19649 # Whether dlopen is supported.
19650 dlopen_support=$enable_dlopen
19651
19652 # Whether dlopen of programs is supported.
19653 dlopen_self=$enable_dlopen_self
19654
19655 # Whether dlopen of statically linked programs is supported.
19656 dlopen_self_static=$enable_dlopen_self_static
19657
19658 # Commands to strip libraries.
19659 old_striplib=$lt_old_striplib
19660 striplib=$lt_striplib
19661
19662
19663 # The linker used to build libraries.
19664 LD=$lt_LD
19665
19666 # How to create reloadable object files.
19667 reload_flag=$lt_reload_flag
19668 reload_cmds=$lt_reload_cmds
19669
19670 # Commands used to build an old-style archive.
19671 old_archive_cmds=$lt_old_archive_cmds
19672
19673 # A language specific compiler.
19674 CC=$lt_compiler
19675
19676 # Is the compiler the GNU compiler?
19677 with_gcc=$GCC
19678
19679 # Compiler flag to turn off builtin functions.
19680 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19681
19682 # Additional compiler flags for building library objects.
19683 pic_flag=$lt_lt_prog_compiler_pic
19684
19685 # How to pass a linker flag through the compiler.
19686 wl=$lt_lt_prog_compiler_wl
19687
19688 # Compiler flag to prevent dynamic linking.
19689 link_static_flag=$lt_lt_prog_compiler_static
19690
19691 # Does compiler simultaneously support -c and -o options?
19692 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19693
19694 # Whether or not to add -lc for building shared libraries.
19695 build_libtool_need_lc=$archive_cmds_need_lc
19696
19697 # Whether or not to disallow shared libs when runtime libs are static.
19698 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19699
19700 # Compiler flag to allow reflexive dlopens.
19701 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19702
19703 # Compiler flag to generate shared objects directly from archives.
19704 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19705
19706 # Whether the compiler copes with passing no objects directly.
19707 compiler_needs_object=$lt_compiler_needs_object
19708
19709 # Create an old-style archive from a shared archive.
19710 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19711
19712 # Create a temporary old-style archive to link instead of a shared archive.
19713 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19714
19715 # Commands used to build a shared archive.
19716 archive_cmds=$lt_archive_cmds
19717 archive_expsym_cmds=$lt_archive_expsym_cmds
19718
19719 # Commands used to build a loadable module if different from building
19720 # a shared archive.
19721 module_cmds=$lt_module_cmds
19722 module_expsym_cmds=$lt_module_expsym_cmds
19723
19724 # Whether we are building with GNU ld or not.
19725 with_gnu_ld=$lt_with_gnu_ld
19726
19727 # Flag that allows shared libraries with undefined symbols to be built.
19728 allow_undefined_flag=$lt_allow_undefined_flag
19729
19730 # Flag that enforces no undefined symbols.
19731 no_undefined_flag=$lt_no_undefined_flag
19732
19733 # Flag to hardcode \$libdir into a binary during linking.
19734 # This must work even if \$libdir does not exist
19735 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19736
19737 # Whether we need a single "-rpath" flag with a separated argument.
19738 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19739
19740 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19741 # DIR into the resulting binary.
19742 hardcode_direct=$hardcode_direct
19743
19744 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19745 # DIR into the resulting binary and the resulting library dependency is
19746 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
19747 # library is relocated.
19748 hardcode_direct_absolute=$hardcode_direct_absolute
19749
19750 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19751 # into the resulting binary.
19752 hardcode_minus_L=$hardcode_minus_L
19753
19754 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19755 # into the resulting binary.
19756 hardcode_shlibpath_var=$hardcode_shlibpath_var
19757
19758 # Set to "yes" if building a shared library automatically hardcodes DIR
19759 # into the library and all subsequent libraries and executables linked
19760 # against it.
19761 hardcode_automatic=$hardcode_automatic
19762
19763 # Set to yes if linker adds runtime paths of dependent libraries
19764 # to runtime path list.
19765 inherit_rpath=$inherit_rpath
19766
19767 # Whether libtool must link a program against all its dependency libraries.
19768 link_all_deplibs=$link_all_deplibs
19769
19770 # Set to "yes" if exported symbols are required.
19771 always_export_symbols=$always_export_symbols
19772
19773 # The commands to list exported symbols.
19774 export_symbols_cmds=$lt_export_symbols_cmds
19775
19776 # Symbols that should not be listed in the preloaded symbols.
19777 exclude_expsyms=$lt_exclude_expsyms
19778
19779 # Symbols that must always be exported.
19780 include_expsyms=$lt_include_expsyms
19781
19782 # Commands necessary for linking programs (against libraries) with templates.
19783 prelink_cmds=$lt_prelink_cmds
19784
19785 # Commands necessary for finishing linking programs.
19786 postlink_cmds=$lt_postlink_cmds
19787
19788 # Specify filename containing input files.
19789 file_list_spec=$lt_file_list_spec
19790
19791 # How to hardcode a shared library path into an executable.
19792 hardcode_action=$hardcode_action
19793
19794 # ### END LIBTOOL CONFIG
19795
19796 _LT_EOF
19797
19798 cat <<'_LT_EOF' >> "$cfgfile"
19799
19800 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19801
19802 # func_munge_path_list VARIABLE PATH
19803 # -----------------------------------
19804 # VARIABLE is name of variable containing _space_ separated list of
19805 # directories to be munged by the contents of PATH, which is string
19806 # having a format:
19807 # "DIR[:DIR]:"
19808 # string "DIR[ DIR]" will be prepended to VARIABLE
19809 # ":DIR[:DIR]"
19810 # string "DIR[ DIR]" will be appended to VARIABLE
19811 # "DIRP[:DIRP]::[DIRA:]DIRA"
19812 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19813 # "DIRA[ DIRA]" will be appended to VARIABLE
19814 # "DIR[:DIR]"
19815 # VARIABLE will be replaced by "DIR[ DIR]"
19816 func_munge_path_list ()
19817 {
19818 case x$2 in
19819 x)
19820 ;;
19821 *:)
19822 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19823 ;;
19824 x:*)
19825 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19826 ;;
19827 *::*)
19828 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19829 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19830 ;;
19831 *)
19832 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19833 ;;
19834 esac
19835 }
19836
19837
19838 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19839 func_cc_basename ()
19840 {
19841 for cc_temp in $*""; do
19842 case $cc_temp in
19843 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19844 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19845 \-*) ;;
19846 *) break;;
19847 esac
19848 done
19849 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19850 }
19851
19852
19853 # ### END FUNCTIONS SHARED WITH CONFIGURE
19854
19855 _LT_EOF
19856
19857 case $host_os in
19858 aix3*)
19859 cat <<\_LT_EOF >> "$cfgfile"
19860 # AIX sometimes has problems with the GCC collect2 program. For some
19861 # reason, if we set the COLLECT_NAMES environment variable, the problems
19862 # vanish in a puff of smoke.
19863 if test set != "${COLLECT_NAMES+set}"; then
19864 COLLECT_NAMES=
19865 export COLLECT_NAMES
19866 fi
19867 _LT_EOF
19868 ;;
19869 esac
19870
19871
19872
19873 ltmain=$ac_aux_dir/ltmain.sh
19874
19875
19876 # We use sed instead of cat because bash on DJGPP gets confused if
19877 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19878 # text mode, it properly converts lines to CR/LF. This bash problem
19879 # is reportedly fixed, but why not run on old versions too?
19880 $SED '$q' "$ltmain" >> "$cfgfile" \
19881 || (rm -f "$cfgfile"; exit 1)
19882
19883 mv -f "$cfgfile" "$ofile" ||
19884 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19885 chmod +x "$ofile"
19886
19887 ;;
19888
19889 esac
19890 done # for ac_tag
19891
19892
19893 as_fn_exit 0
19894 _ACEOF
19895 ac_clean_files=$ac_clean_files_save
19896
19897 test $ac_write_fail = 0 ||
19898 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19899
19900
19901 # configure is writing to config.log, and then calls config.status.
19902 # config.status does its own redirection, appending to config.log.
19903 # Unfortunately, on DOS this fails, as config.log is still kept open
19904 # by configure, so config.status won't be able to write to it; its
19905 # output is simply discarded. So we exec the FD to /dev/null,
19906 # effectively closing config.log, so it can be properly (re)opened and
19907 # appended to by config.status. When coming back to configure, we
19908 # need to make the FD available again.
19909 if test "$no_create" != yes; then
19910 ac_cs_success=:
19911 ac_config_status_args=
19912 test "$silent" = yes &&
19913 ac_config_status_args="$ac_config_status_args --quiet"
19914 exec 5>/dev/null
19915 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19916 exec 5>>config.log
19917 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19918 # would make configure fail if this is the last instruction.
19919 $ac_cs_success || as_fn_exit 1
19920 fi
19921 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19923 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19924 fi
19925
19926