Debian Codegraph @

texk/ttf2pk2/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 ttf2pk2 (TeX Live) 2.0.
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='ttf2pk2 (TeX Live)'
616 PACKAGE_TARNAME='ttf2pk2--tex-live-'
617 PACKAGE_VERSION='2.0'
618 PACKAGE_STRING='ttf2pk2 (TeX Live) 2.0'
619 PACKAGE_BUGREPORT='[email protected]'
620 PACKAGE_URL=''
621
622 ac_unique_file="ttf2pk.c"
623 # Factoring default headers for most tests.
624 ac_includes_default="\
625 #include <stddef.h>
626 #ifdef HAVE_STDIO_H
627 # include <stdio.h>
628 #endif
629 #ifdef HAVE_STDLIB_H
630 # include <stdlib.h>
631 #endif
632 #ifdef HAVE_STRING_H
633 # include <string.h>
634 #endif
635 #ifdef HAVE_INTTYPES_H
636 # include <inttypes.h>
637 #endif
638 #ifdef HAVE_STDINT_H
639 # include <stdint.h>
640 #endif
641 #ifdef HAVE_STRINGS_H
642 # include <strings.h>
643 #endif
644 #ifdef HAVE_SYS_TYPES_H
645 # include <sys/types.h>
646 #endif
647 #ifdef HAVE_SYS_STAT_H
648 # include <sys/stat.h>
649 #endif
650 #ifdef HAVE_UNISTD_H
651 # include <unistd.h>
652 #endif"
653
654 ac_header_c_list=
655 enable_year2038=no
656 ac_subst_vars='am__EXEEXT_FALSE
657 am__EXEEXT_TRUE
658 LTLIBOBJS
659 LIBOBJS
660 FREETYPE2_RULE
661 FREETYPE2_DEPEND
662 FREETYPE2_LIBS
663 FREETYPE2_INCLUDES
664 FT2_CONFIG
665 ZLIB_RULE
666 ZLIB_DEPEND
667 ZLIB_LIBS
668 ZLIB_INCLUDES
669 KPATHSEA_RULE
670 KPATHSEA_DEPEND
671 KPATHSEA_LIBS
672 KPATHSEA_INCLUDES
673 PKG_CONFIG
674 LT_SYS_LIBRARY_PATH
675 OTOOL64
676 OTOOL
677 LIPO
678 NMEDIT
679 DSYMUTIL
680 MANIFEST_TOOL
681 RANLIB
682 FILECMD
683 LN_S
684 NM
685 ac_ct_DUMPBIN
686 DUMPBIN
687 LD
688 FGREP
689 EGREP
690 GREP
691 SED
692 host_os
693 host_vendor
694 host_cpu
695 host
696 build_os
697 build_vendor
698 build_cpu
699 build
700 LIBTOOL
701 OBJDUMP
702 DLLTOOL
703 AS
704 ac_ct_AR
705 AR
706 WARNING_CFLAGS
707 am__fastdepCC_FALSE
708 am__fastdepCC_TRUE
709 CCDEPMODE
710 am__nodep
711 AMDEPBACKSLASH
712 AMDEP_FALSE
713 AMDEP_TRUE
714 am__include
715 DEPDIR
716 OBJEXT
717 EXEEXT
718 ac_ct_CC
719 CPPFLAGS
720 LDFLAGS
721 CFLAGS
722 CC
723 MAINT
724 MAINTAINER_MODE_FALSE
725 MAINTAINER_MODE_TRUE
726 am__xargs_n
727 am__rm_f_notfound
728 AM_BACKSLASH
729 AM_DEFAULT_VERBOSITY
730 AM_DEFAULT_V
731 AM_V
732 CSCOPE
733 ETAGS
734 CTAGS
735 am__untar
736 am__tar
737 AMTAR
738 am__leading_dot
739 SET_MAKE
740 AWK
741 mkdir_p
742 MKDIR_P
743 INSTALL_STRIP_PROGRAM
744 STRIP
745 install_sh
746 MAKEINFO
747 AUTOHEADER
748 AUTOMAKE
749 AUTOCONF
750 ACLOCAL
751 VERSION
752 PACKAGE
753 CYGPATH_W
754 am__isrc
755 INSTALL_DATA
756 INSTALL_SCRIPT
757 INSTALL_PROGRAM
758 target_alias
759 host_alias
760 build_alias
761 LIBS
762 ECHO_T
763 ECHO_N
764 ECHO_C
765 DEFS
766 mandir
767 localedir
768 libdir
769 psdir
770 pdfdir
771 dvidir
772 htmldir
773 infodir
774 docdir
775 oldincludedir
776 includedir
777 runstatedir
778 localstatedir
779 sharedstatedir
780 sysconfdir
781 datadir
782 datarootdir
783 libexecdir
784 sbindir
785 bindir
786 program_transform_name
787 prefix
788 exec_prefix
789 PACKAGE_URL
790 PACKAGE_BUGREPORT
791 PACKAGE_STRING
792 PACKAGE_VERSION
793 PACKAGE_TARNAME
794 PACKAGE_NAME
795 PATH_SEPARATOR
796 SHELL
797 am__quote'
798 ac_subst_files=''
799 ac_user_opts='
800 enable_option_checking
801 enable_silent_rules
802 enable_maintainer_mode
803 enable_dependency_tracking
804 enable_compiler_warnings
805 enable_shared
806 enable_static
807 enable_pic
808 with_pic
809 enable_fast_install
810 enable_aix_soname
811 with_aix_soname
812 with_gnu_ld
813 with_sysroot
814 enable_libtool_lock
815 enable_largefile
816 with_system_kpathsea
817 with_system_zlib
818 with_zlib_includes
819 with_zlib_libdir
820 with_system_freetype2
821 enable_year2038
822 '
823 ac_precious_vars='build_alias
824 host_alias
825 target_alias
826 CC
827 CFLAGS
828 LDFLAGS
829 LIBS
830 CPPFLAGS
831 LT_SYS_LIBRARY_PATH'
832
833
834 # Initialize some variables set by options.
835 ac_init_help=
836 ac_init_version=false
837 ac_unrecognized_opts=
838 ac_unrecognized_sep=
839 # The variables have the same names as the options, with
840 # dashes changed to underlines.
841 cache_file=/dev/null
842 exec_prefix=NONE
843 no_create=
844 no_recursion=
845 prefix=NONE
846 program_prefix=NONE
847 program_suffix=NONE
848 program_transform_name=s,x,x,
849 silent=
850 site=
851 srcdir=
852 verbose=
853 x_includes=NONE
854 x_libraries=NONE
855
856 # Installation directory options.
857 # These are left unexpanded so users can "make install exec_prefix=/foo"
858 # and all the variables that are supposed to be based on exec_prefix
859 # by default will actually change.
860 # Use braces instead of parens because sh, perl, etc. also accept them.
861 # (The list follows the same order as the GNU Coding Standards.)
862 bindir='${exec_prefix}/bin'
863 sbindir='${exec_prefix}/sbin'
864 libexecdir='${exec_prefix}/libexec'
865 datarootdir='${prefix}/share'
866 datadir='${datarootdir}'
867 sysconfdir='${prefix}/etc'
868 sharedstatedir='${prefix}/com'
869 localstatedir='${prefix}/var'
870 runstatedir='${localstatedir}/run'
871 includedir='${prefix}/include'
872 oldincludedir='/usr/include'
873 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
874 infodir='${datarootdir}/info'
875 htmldir='${docdir}'
876 dvidir='${docdir}'
877 pdfdir='${docdir}'
878 psdir='${docdir}'
879 libdir='${exec_prefix}/lib'
880 localedir='${datarootdir}/locale'
881 mandir='${datarootdir}/man'
882
883 ac_prev=
884 ac_dashdash=
885 for ac_option
886 do
887 # If the previous option needs an argument, assign it.
888 if test -n "$ac_prev"; then
889 eval $ac_prev=\$ac_option
890 ac_prev=
891 continue
892 fi
893
894 case $ac_option in
895 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 *=) ac_optarg= ;;
897 *) ac_optarg=yes ;;
898 esac
899
900 case $ac_dashdash$ac_option in
901 --)
902 ac_dashdash=yes ;;
903
904 -bindir | --bindir | --bindi | --bind | --bin | --bi)
905 ac_prev=bindir ;;
906 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907 bindir=$ac_optarg ;;
908
909 -build | --build | --buil | --bui | --bu)
910 ac_prev=build_alias ;;
911 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912 build_alias=$ac_optarg ;;
913
914 -cache-file | --cache-file | --cache-fil | --cache-fi \
915 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916 ac_prev=cache_file ;;
917 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919 cache_file=$ac_optarg ;;
920
921 --config-cache | -C)
922 cache_file=config.cache ;;
923
924 -datadir | --datadir | --datadi | --datad)
925 ac_prev=datadir ;;
926 -datadir=* | --datadir=* | --datadi=* | --datad=*)
927 datadir=$ac_optarg ;;
928
929 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930 | --dataroo | --dataro | --datar)
931 ac_prev=datarootdir ;;
932 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934 datarootdir=$ac_optarg ;;
935
936 -disable-* | --disable-*)
937 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 as_fn_error $? "invalid feature name: '$ac_useropt'"
941 ac_useropt_orig=$ac_useropt
942 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
944 *"
945 "enable_$ac_useropt"
946 "*) ;;
947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep=', ';;
949 esac
950 eval enable_$ac_useropt=no ;;
951
952 -docdir | --docdir | --docdi | --doc | --do)
953 ac_prev=docdir ;;
954 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955 docdir=$ac_optarg ;;
956
957 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958 ac_prev=dvidir ;;
959 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960 dvidir=$ac_optarg ;;
961
962 -enable-* | --enable-*)
963 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 as_fn_error $? "invalid feature name: '$ac_useropt'"
967 ac_useropt_orig=$ac_useropt
968 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
970 *"
971 "enable_$ac_useropt"
972 "*) ;;
973 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep=', ';;
975 esac
976 eval enable_$ac_useropt=\$ac_optarg ;;
977
978 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980 | --exec | --exe | --ex)
981 ac_prev=exec_prefix ;;
982 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984 | --exec=* | --exe=* | --ex=*)
985 exec_prefix=$ac_optarg ;;
986
987 -gas | --gas | --ga | --g)
988 # Obsolete; use --with-gas.
989 with_gas=yes ;;
990
991 -help | --help | --hel | --he | -h)
992 ac_init_help=long ;;
993 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994 ac_init_help=recursive ;;
995 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996 ac_init_help=short ;;
997
998 -host | --host | --hos | --ho)
999 ac_prev=host_alias ;;
1000 -host=* | --host=* | --hos=* | --ho=*)
1001 host_alias=$ac_optarg ;;
1002
1003 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004 ac_prev=htmldir ;;
1005 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006 | --ht=*)
1007 htmldir=$ac_optarg ;;
1008
1009 -includedir | --includedir | --includedi | --included | --include \
1010 | --includ | --inclu | --incl | --inc)
1011 ac_prev=includedir ;;
1012 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013 | --includ=* | --inclu=* | --incl=* | --inc=*)
1014 includedir=$ac_optarg ;;
1015
1016 -infodir | --infodir | --infodi | --infod | --info | --inf)
1017 ac_prev=infodir ;;
1018 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019 infodir=$ac_optarg ;;
1020
1021 -libdir | --libdir | --libdi | --libd)
1022 ac_prev=libdir ;;
1023 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024 libdir=$ac_optarg ;;
1025
1026 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027 | --libexe | --libex | --libe)
1028 ac_prev=libexecdir ;;
1029 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030 | --libexe=* | --libex=* | --libe=*)
1031 libexecdir=$ac_optarg ;;
1032
1033 -localedir | --localedir | --localedi | --localed | --locale)
1034 ac_prev=localedir ;;
1035 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036 localedir=$ac_optarg ;;
1037
1038 -localstatedir | --localstatedir | --localstatedi | --localstated \
1039 | --localstate | --localstat | --localsta | --localst | --locals)
1040 ac_prev=localstatedir ;;
1041 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043 localstatedir=$ac_optarg ;;
1044
1045 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046 ac_prev=mandir ;;
1047 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048 mandir=$ac_optarg ;;
1049
1050 -nfp | --nfp | --nf)
1051 # Obsolete; use --without-fp.
1052 with_fp=no ;;
1053
1054 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055 | --no-cr | --no-c | -n)
1056 no_create=yes ;;
1057
1058 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060 no_recursion=yes ;;
1061
1062 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064 | --oldin | --oldi | --old | --ol | --o)
1065 ac_prev=oldincludedir ;;
1066 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069 oldincludedir=$ac_optarg ;;
1070
1071 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072 ac_prev=prefix ;;
1073 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074 prefix=$ac_optarg ;;
1075
1076 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077 | --program-pre | --program-pr | --program-p)
1078 ac_prev=program_prefix ;;
1079 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081 program_prefix=$ac_optarg ;;
1082
1083 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084 | --program-suf | --program-su | --program-s)
1085 ac_prev=program_suffix ;;
1086 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088 program_suffix=$ac_optarg ;;
1089
1090 -program-transform-name | --program-transform-name \
1091 | --program-transform-nam | --program-transform-na \
1092 | --program-transform-n | --program-transform- \
1093 | --program-transform | --program-transfor \
1094 | --program-transfo | --program-transf \
1095 | --program-trans | --program-tran \
1096 | --progr-tra | --program-tr | --program-t)
1097 ac_prev=program_transform_name ;;
1098 -program-transform-name=* | --program-transform-name=* \
1099 | --program-transform-nam=* | --program-transform-na=* \
1100 | --program-transform-n=* | --program-transform-=* \
1101 | --program-transform=* | --program-transfor=* \
1102 | --program-transfo=* | --program-transf=* \
1103 | --program-trans=* | --program-tran=* \
1104 | --progr-tra=* | --program-tr=* | --program-t=*)
1105 program_transform_name=$ac_optarg ;;
1106
1107 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108 ac_prev=pdfdir ;;
1109 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110 pdfdir=$ac_optarg ;;
1111
1112 -psdir | --psdir | --psdi | --psd | --ps)
1113 ac_prev=psdir ;;
1114 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115 psdir=$ac_optarg ;;
1116
1117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118 | -silent | --silent | --silen | --sile | --sil)
1119 silent=yes ;;
1120
1121 -runstatedir | --runstatedir | --runstatedi | --runstated \
1122 | --runstate | --runstat | --runsta | --runst | --runs \
1123 | --run | --ru | --r)
1124 ac_prev=runstatedir ;;
1125 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1126 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1127 | --run=* | --ru=* | --r=*)
1128 runstatedir=$ac_optarg ;;
1129
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 ac_prev=sbindir ;;
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 | --sbi=* | --sb=*)
1134 sbindir=$ac_optarg ;;
1135
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1139 | --sha | --sh)
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 | --sha=* | --sh=*)
1145 sharedstatedir=$ac_optarg ;;
1146
1147 -site | --site | --sit)
1148 ac_prev=site ;;
1149 -site=* | --site=* | --sit=*)
1150 site=$ac_optarg ;;
1151
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 ac_prev=srcdir ;;
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1156
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1163
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1168
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170 verbose=yes ;;
1171
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1174
1175 -with-* | --with-*)
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: '$ac_useropt'"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1183 *"
1184 "with_$ac_useropt"
1185 "*) ;;
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1188 esac
1189 eval with_$ac_useropt=\$ac_optarg ;;
1190
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: '$ac_useropt'"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1199 *"
1200 "with_$ac_useropt"
1201 "*) ;;
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1204 esac
1205 eval with_$ac_useropt=no ;;
1206
1207 --x)
1208 # Obsolete; use --with-x.
1209 with_x=yes ;;
1210
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1213 ac_prev=x_includes ;;
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216 x_includes=$ac_optarg ;;
1217
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220 ac_prev=x_libraries ;;
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223 x_libraries=$ac_optarg ;;
1224
1225 -*) as_fn_error $? "unrecognized option: '$ac_option'
1226 Try '$0 --help' for more information"
1227 ;;
1228
1229 *=*)
1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1234 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1235 esac
1236 eval $ac_envvar=\$ac_optarg
1237 export $ac_envvar ;;
1238
1239 *)
1240 # FIXME: should be removed in autoconf 3.0.
1241 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 ;;
1246
1247 esac
1248 done
1249
1250 if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $? "missing argument to $ac_option"
1253 fi
1254
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1257 no) ;;
1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 esac
1261 fi
1262
1263 # Check all directory arguments for consistency.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir runstatedir
1268 do
1269 eval ac_val=\$$ac_var
1270 # Remove trailing slashes.
1271 case $ac_val in
1272 */ )
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\$ac_val;;
1275 esac
1276 # Be sure to have absolute directory names.
1277 case $ac_val in
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 esac
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282 done
1283
1284 # There might be people who depend on the old broken behavior: '$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1287 build=$build_alias
1288 host=$host_alias
1289 target=$target_alias
1290
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x; then
1293 if test "x$build_alias" = x; then
1294 cross_compiling=maybe
1295 elif test "x$build_alias" != "x$host_alias"; then
1296 cross_compiling=yes
1297 fi
1298 fi
1299
1300 ac_tool_prefix=
1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302
1303 test "$silent" = yes && exec 6>/dev/null
1304
1305
1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di=`ls -di .` &&
1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $? "working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $? "pwd does not report name of working directory"
1312
1313
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 printf "%s\n" X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325 s//\1/
1326 q
1327 }
1328 /^X\(\/\/\)[^/].*/{
1329 s//\1/
1330 q
1331 }
1332 /^X\(\/\/\)$/{
1333 s//\1/
1334 q
1335 }
1336 /^X\(\/\).*/{
1337 s//\1/
1338 q
1339 }
1340 s/.*/./; q'`
1341 srcdir=$ac_confdir
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 srcdir=..
1344 fi
1345 else
1346 ac_srcdir_defaulted=no
1347 fi
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351 fi
1352 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1353 ac_abs_confdir=`(
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 pwd)`
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1358 srcdir=.
1359 fi
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1363 case $srcdir in
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 esac
1366 for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371 done
1372
1373 #
1374 # Report the --help message.
1375 #
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1379 cat <<_ACEOF
1380 'configure' configures ttf2pk2 (TeX Live) 2.0 to adapt to many kinds of systems.
1381
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1383
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1386
1387 Defaults for the options are specified in brackets.
1388
1389 Configuration:
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print 'checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for '--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or '..']
1399
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 [PREFIX]
1405
1406 By default, 'make install' will install all the files in
1407 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than '$ac_default_prefix' using '--prefix',
1409 for instance '--prefix=\$HOME'.
1410
1411 For better control, use the options below.
1412
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root
1430 [DATAROOTDIR/doc/ttf2pk2--tex-live-]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1435 _ACEOF
1436
1437 cat <<\_ACEOF
1438
1439 Program names:
1440 --program-prefix=PREFIX prepend PREFIX to installed program names
1441 --program-suffix=SUFFIX append SUFFIX to installed program names
1442 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1443
1444 System types:
1445 --build=BUILD configure for building on BUILD [guessed]
1446 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1447 _ACEOF
1448 fi
1449
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive ) echo "Configuration of ttf2pk2 (TeX Live) 2.0:";;
1453 esac
1454 cat <<\_ACEOF
1455
1456 Optional Features:
1457 --disable-option-checking ignore unrecognized --enable/--with options
1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1460 --enable-silent-rules less verbose build output (undo: "make V=1")
1461 --disable-silent-rules verbose build output (undo: "make V=0")
1462 --enable-maintainer-mode
1463 enable make rules and dependencies not useful (and
1464 sometimes confusing) to the casual installer
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1469 --enable-compiler-warnings=[no|min|yes|max|all]
1470 Turn on compiler warnings [default: yes if
1471 maintainer-mode, min otherwise]
1472 --enable-shared[=PKGS] build shared libraries [default=yes]
1473 --enable-static[=PKGS] build static libraries [default=yes]
1474 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1475 both]
1476 --enable-fast-install[=PKGS]
1477 optimize for fast installation [default=yes]
1478 --enable-aix-soname=aix|svr4|both
1479 shared library versioning (aka "SONAME") variant to
1480 provide on AIX, [default=aix].
1481 --disable-libtool-lock avoid locking (might break parallel builds)
1482 --disable-largefile omit support for large files
1483 --enable-year2038 support timestamps after 2038
1484
1485 Optional Packages:
1486 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1487 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1488 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1489 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1490 compiler's sysroot if not specified).
1491 --with-system-kpathsea use installed kpathsea headers and library (requires
1492 pkg-config)
1493 --with-system-zlib use installed zlib headers and library
1494 --with-zlib-includes=DIR
1495 zlib headers installed in DIR
1496 --with-zlib-libdir=DIR zlib library installed in DIR
1497 --with-system-freetype2 use installed freetype2 headers and library
1498 (requires freetype-config)
1499
1500 Some influential environment variables:
1501 CC C compiler command
1502 CFLAGS C compiler flags
1503 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1504 nonstandard directory <lib dir>
1505 LIBS libraries to pass to the linker, e.g. -l<library>
1506 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1507 you have headers in a nonstandard directory <include dir>
1508 LT_SYS_LIBRARY_PATH
1509 User-defined run-time library search path.
1510
1511 Use these variables to override the choices made by 'configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1513
1514 Report bugs to <[email protected]>.
1515 _ACEOF
1516 ac_status=$?
1517 fi
1518
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522 test -d "$ac_dir" ||
1523 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524 continue
1525 ac_builddir=.
1526
1527 case "$ac_dir" in
1528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 *)
1530 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1531 # A ".." for each directory in $ac_dir_suffix.
1532 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1533 case $ac_top_builddir_sub in
1534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1536 esac ;;
1537 esac
1538 ac_abs_top_builddir=$ac_pwd
1539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1540 # for backward compatibility:
1541 ac_top_builddir=$ac_top_build_prefix
1542
1543 case $srcdir in
1544 .) # We are building in place.
1545 ac_srcdir=.
1546 ac_top_srcdir=$ac_top_builddir_sub
1547 ac_abs_top_srcdir=$ac_pwd ;;
1548 [\\/]* | ?:[\\/]* ) # Absolute name.
1549 ac_srcdir=$srcdir$ac_dir_suffix;
1550 ac_top_srcdir=$srcdir
1551 ac_abs_top_srcdir=$srcdir ;;
1552 *) # Relative name.
1553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554 ac_top_srcdir=$ac_top_build_prefix$srcdir
1555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 esac
1557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558
1559 cd "$ac_dir" || { ac_status=$?; continue; }
1560 # Check for configure.gnu first; this name is used for a wrapper for
1561 # Metaconfig's "Configure" on case-insensitive file systems.
1562 if test -f "$ac_srcdir/configure.gnu"; then
1563 echo &&
1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565 elif test -f "$ac_srcdir/configure"; then
1566 echo &&
1567 $SHELL "$ac_srcdir/configure" --help=recursive
1568 else
1569 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 fi || ac_status=$?
1571 cd "$ac_pwd" || { ac_status=$?; break; }
1572 done
1573 fi
1574
1575 test -n "$ac_init_help" && exit $ac_status
1576 if $ac_init_version; then
1577 cat <<\_ACEOF
1578 ttf2pk2 (TeX Live) configure 2.0
1579 generated by GNU Autoconf 2.72
1580
1581 Copyright (C) 2023 Free Software Foundation, Inc.
1582 This configure script is free software; the Free Software Foundation
1583 gives unlimited permission to copy, distribute and modify it.
1584 _ACEOF
1585 exit
1586 fi
1587
1588 ## ------------------------ ##
1589 ## Autoconf initialization. ##
1590 ## ------------------------ ##
1591
1592 # ac_fn_c_try_compile LINENO
1593 # --------------------------
1594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1595 ac_fn_c_try_compile ()
1596 {
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 rm -f conftest.$ac_objext conftest.beam
1599 if { { ac_try="$ac_compile"
1600 case "(($ac_try" in
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1603 esac
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 printf "%s\n" "$ac_try_echo"; } >&5
1606 (eval "$ac_compile") 2>conftest.err
1607 ac_status=$?
1608 if test -s conftest.err; then
1609 grep -v '^ *+' conftest.err >conftest.er1
1610 cat conftest.er1 >&5
1611 mv -f conftest.er1 conftest.err
1612 fi
1613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && {
1615 test -z "$ac_c_werror_flag" ||
1616 test ! -s conftest.err
1617 } && test -s conftest.$ac_objext
1618 then :
1619 ac_retval=0
1620 else case e in #(
1621 e) printf "%s\n" "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1623
1624 ac_retval=1 ;;
1625 esac
1626 fi
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 as_fn_set_status $ac_retval
1629
1630 } # ac_fn_c_try_compile
1631
1632 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1633 # -------------------------------------------------------
1634 # Tests whether HEADER exists and can be compiled using the include files in
1635 # INCLUDES, setting the cache variable VAR accordingly.
1636 ac_fn_c_check_header_compile ()
1637 {
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640 printf %s "checking for $2... " >&6; }
1641 if eval test \${$3+y}
1642 then :
1643 printf %s "(cached) " >&6
1644 else case e in #(
1645 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1647 $4
1648 #include <$2>
1649 _ACEOF
1650 if ac_fn_c_try_compile "$LINENO"
1651 then :
1652 eval "$3=yes"
1653 else case e in #(
1654 e) eval "$3=no" ;;
1655 esac
1656 fi
1657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1658 esac
1659 fi
1660 eval ac_res=\$$3
1661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662 printf "%s\n" "$ac_res" >&6; }
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664
1665 } # ac_fn_c_check_header_compile
1666
1667 # ac_fn_c_try_link LINENO
1668 # -----------------------
1669 # Try to link conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_link ()
1671 {
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1674 if { { ac_try="$ac_link"
1675 case "(($ac_try" in
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1678 esac
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 printf "%s\n" "$ac_try_echo"; } >&5
1681 (eval "$ac_link") 2>conftest.err
1682 ac_status=$?
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1687 fi
1688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest$ac_exeext && {
1693 test "$cross_compiling" = yes ||
1694 test -x conftest$ac_exeext
1695 }
1696 then :
1697 ac_retval=0
1698 else case e in #(
1699 e) printf "%s\n" "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1701
1702 ac_retval=1 ;;
1703 esac
1704 fi
1705 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1706 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1707 # interfere with the next link command; also delete a directory that is
1708 # left behind by Apple's compiler. We do this before executing the actions.
1709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1712
1713 } # ac_fn_c_try_link
1714
1715 # ac_fn_c_check_func LINENO FUNC VAR
1716 # ----------------------------------
1717 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1718 ac_fn_c_check_func ()
1719 {
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 printf %s "checking for $2... " >&6; }
1723 if eval test \${$3+y}
1724 then :
1725 printf %s "(cached) " >&6
1726 else case e in #(
1727 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1729 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1731 #define $2 innocuous_$2
1732
1733 /* System header to define __stub macros and hopefully few prototypes,
1734 which can conflict with char $2 (void); below. */
1735
1736 #include <limits.h>
1737 #undef $2
1738
1739 /* Override any GCC internal prototype to avoid an error.
1740 Use char because int might match the return type of a GCC
1741 builtin and then its argument prototype would still apply. */
1742 #ifdef __cplusplus
1743 extern "C"
1744 #endif
1745 char $2 (void);
1746 /* The GNU C library defines this for functions which it implements
1747 to always fail with ENOSYS. Some functions are actually named
1748 something starting with __ and the normal name is an alias. */
1749 #if defined __stub_$2 || defined __stub___$2
1750 choke me
1751 #endif
1752
1753 int
1754 main (void)
1755 {
1756 return $2 ();
1757 ;
1758 return 0;
1759 }
1760 _ACEOF
1761 if ac_fn_c_try_link "$LINENO"
1762 then :
1763 eval "$3=yes"
1764 else case e in #(
1765 e) eval "$3=no" ;;
1766 esac
1767 fi
1768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1769 conftest$ac_exeext conftest.$ac_ext ;;
1770 esac
1771 fi
1772 eval ac_res=\$$3
1773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 printf "%s\n" "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776
1777 } # ac_fn_c_check_func
1778
1779 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1780 # -------------------------------------------
1781 # Tests whether TYPE exists after having included INCLUDES, setting cache
1782 # variable VAR accordingly.
1783 ac_fn_c_check_type ()
1784 {
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 printf %s "checking for $2... " >&6; }
1788 if eval test \${$3+y}
1789 then :
1790 printf %s "(cached) " >&6
1791 else case e in #(
1792 e) eval "$3=no"
1793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1795 $4
1796 int
1797 main (void)
1798 {
1799 if (sizeof ($2))
1800 return 0;
1801 ;
1802 return 0;
1803 }
1804 _ACEOF
1805 if ac_fn_c_try_compile "$LINENO"
1806 then :
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1809 $4
1810 int
1811 main (void)
1812 {
1813 if (sizeof (($2)))
1814 return 0;
1815 ;
1816 return 0;
1817 }
1818 _ACEOF
1819 if ac_fn_c_try_compile "$LINENO"
1820 then :
1821
1822 else case e in #(
1823 e) eval "$3=yes" ;;
1824 esac
1825 fi
1826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1827 fi
1828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1829 esac
1830 fi
1831 eval ac_res=\$$3
1832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 printf "%s\n" "$ac_res" >&6; }
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835
1836 } # ac_fn_c_check_type
1837
1838 # ac_fn_c_find_intX_t LINENO BITS VAR
1839 # -----------------------------------
1840 # Finds a signed integer type with width BITS, setting cache variable VAR
1841 # accordingly.
1842 ac_fn_c_find_intX_t ()
1843 {
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1846 printf %s "checking for int$2_t... " >&6; }
1847 if eval test \${$3+y}
1848 then :
1849 printf %s "(cached) " >&6
1850 else case e in #(
1851 e) eval "$3=no"
1852 # Order is important - never check a type that is potentially smaller
1853 # than half of the expected target width.
1854 for ac_type in int$2_t 'int' 'long int' \
1855 'long long int' 'short int' 'signed char'; do
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1858 $ac_includes_default
1859 enum { N = $2 / 2 - 1 };
1860 int
1861 main (void)
1862 {
1863 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1875 $ac_includes_default
1876 enum { N = $2 / 2 - 1 };
1877 int
1878 main (void)
1879 {
1880 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1881 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1882 test_array [0] = 0;
1883 return test_array [0];
1884
1885 ;
1886 return 0;
1887 }
1888 _ACEOF
1889 if ac_fn_c_try_compile "$LINENO"
1890 then :
1891
1892 else case e in #(
1893 e) case $ac_type in #(
1894 int$2_t) :
1895 eval "$3=yes" ;; #(
1896 *) :
1897 eval "$3=\$ac_type" ;;
1898 esac ;;
1899 esac
1900 fi
1901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1902 fi
1903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1904 if eval test \"x\$"$3"\" = x"no"
1905 then :
1906
1907 else case e in #(
1908 e) break ;;
1909 esac
1910 fi
1911 done ;;
1912 esac
1913 fi
1914 eval ac_res=\$$3
1915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 printf "%s\n" "$ac_res" >&6; }
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918
1919 } # ac_fn_c_find_intX_t
1920
1921 # ac_fn_c_find_uintX_t LINENO BITS VAR
1922 # ------------------------------------
1923 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1924 # accordingly.
1925 ac_fn_c_find_uintX_t ()
1926 {
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1929 printf %s "checking for uint$2_t... " >&6; }
1930 if eval test \${$3+y}
1931 then :
1932 printf %s "(cached) " >&6
1933 else case e in #(
1934 e) eval "$3=no"
1935 # Order is important - never check a type that is potentially smaller
1936 # than half of the expected target width.
1937 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1938 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1941 $ac_includes_default
1942 int
1943 main (void)
1944 {
1945 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1946 test_array [0] = 0;
1947 return test_array [0];
1948
1949 ;
1950 return 0;
1951 }
1952 _ACEOF
1953 if ac_fn_c_try_compile "$LINENO"
1954 then :
1955 case $ac_type in #(
1956 uint$2_t) :
1957 eval "$3=yes" ;; #(
1958 *) :
1959 eval "$3=\$ac_type" ;;
1960 esac
1961 fi
1962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1963 if eval test \"x\$"$3"\" = x"no"
1964 then :
1965
1966 else case e in #(
1967 e) break ;;
1968 esac
1969 fi
1970 done ;;
1971 esac
1972 fi
1973 eval ac_res=\$$3
1974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 printf "%s\n" "$ac_res" >&6; }
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977
1978 } # ac_fn_c_find_uintX_t
1979
1980 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1981 # ------------------------------------------------------------------
1982 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1983 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1984 ac_fn_check_decl ()
1985 {
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 as_decl_name=`echo $2|sed 's/ *(.*//'`
1988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1989 printf %s "checking whether $as_decl_name is declared... " >&6; }
1990 if eval test \${$3+y}
1991 then :
1992 printf %s "(cached) " >&6
1993 else case e in #(
1994 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1995 eval ac_save_FLAGS=\$$6
1996 as_fn_append $6 " $5"
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
1999 $4
2000 int
2001 main (void)
2002 {
2003 #ifndef $as_decl_name
2004 #ifdef __cplusplus
2005 (void) $as_decl_use;
2006 #else
2007 (void) $as_decl_name;
2008 #endif
2009 #endif
2010
2011 ;
2012 return 0;
2013 }
2014 _ACEOF
2015 if ac_fn_c_try_compile "$LINENO"
2016 then :
2017 eval "$3=yes"
2018 else case e in #(
2019 e) eval "$3=no" ;;
2020 esac
2021 fi
2022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2023 eval $6=\$ac_save_FLAGS
2024 ;;
2025 esac
2026 fi
2027 eval ac_res=\$$3
2028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029 printf "%s\n" "$ac_res" >&6; }
2030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031
2032 } # ac_fn_check_decl
2033
2034 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2035 # ----------------------------------------------------
2036 # Tries to find if the field MEMBER exists in type AGGR, after including
2037 # INCLUDES, setting cache variable VAR accordingly.
2038 ac_fn_c_check_member ()
2039 {
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2042 printf %s "checking for $2.$3... " >&6; }
2043 if eval test \${$4+y}
2044 then :
2045 printf %s "(cached) " >&6
2046 else case e in #(
2047 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2049 $5
2050 int
2051 main (void)
2052 {
2053 static $2 ac_aggr;
2054 if (ac_aggr.$3)
2055 return 0;
2056 ;
2057 return 0;
2058 }
2059 _ACEOF
2060 if ac_fn_c_try_compile "$LINENO"
2061 then :
2062 eval "$4=yes"
2063 else case e in #(
2064 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2066 $5
2067 int
2068 main (void)
2069 {
2070 static $2 ac_aggr;
2071 if (sizeof ac_aggr.$3)
2072 return 0;
2073 ;
2074 return 0;
2075 }
2076 _ACEOF
2077 if ac_fn_c_try_compile "$LINENO"
2078 then :
2079 eval "$4=yes"
2080 else case e in #(
2081 e) eval "$4=no" ;;
2082 esac
2083 fi
2084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2085 esac
2086 fi
2087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2088 esac
2089 fi
2090 eval ac_res=\$$4
2091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 printf "%s\n" "$ac_res" >&6; }
2093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2094
2095 } # ac_fn_c_check_member
2096 ac_configure_args_raw=
2097 for ac_arg
2098 do
2099 case $ac_arg in
2100 *\'*)
2101 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2102 esac
2103 as_fn_append ac_configure_args_raw " '$ac_arg'"
2104 done
2105
2106 case $ac_configure_args_raw in
2107 *$as_nl*)
2108 ac_safe_unquote= ;;
2109 *)
2110 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2111 ac_unsafe_a="$ac_unsafe_z#~"
2112 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2113 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2114 esac
2115
2116 cat >config.log <<_ACEOF
2117 This file contains any messages produced by compilers while
2118 running configure, to aid debugging if configure makes a mistake.
2119
2120 It was created by ttf2pk2 (TeX Live) $as_me 2.0, which was
2121 generated by GNU Autoconf 2.72. Invocation command line was
2122
2123 $ $0$ac_configure_args_raw
2124
2125 _ACEOF
2126 exec 5>>config.log
2127 {
2128 cat <<_ASUNAME
2129 ## --------- ##
2130 ## Platform. ##
2131 ## --------- ##
2132
2133 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2134 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2135 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2136 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2137 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2138
2139 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2140 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2141
2142 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2143 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2144 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2145 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2146 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2147 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2148 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2149
2150 _ASUNAME
2151
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2154 do
2155 IFS=$as_save_IFS
2156 case $as_dir in #(((
2157 '') as_dir=./ ;;
2158 */) ;;
2159 *) as_dir=$as_dir/ ;;
2160 esac
2161 printf "%s\n" "PATH: $as_dir"
2162 done
2163 IFS=$as_save_IFS
2164
2165 } >&5
2166
2167 cat >&5 <<_ACEOF
2168
2169
2170 ## ----------- ##
2171 ## Core tests. ##
2172 ## ----------- ##
2173
2174 _ACEOF
2175
2176
2177 # Keep a trace of the command line.
2178 # Strip out --no-create and --no-recursion so they do not pile up.
2179 # Strip out --silent because we don't want to record it for future runs.
2180 # Also quote any args containing shell meta-characters.
2181 # Make two passes to allow for proper duplicate-argument suppression.
2182 ac_configure_args=
2183 ac_configure_args0=
2184 ac_configure_args1=
2185 ac_must_keep_next=false
2186 for ac_pass in 1 2
2187 do
2188 for ac_arg
2189 do
2190 case $ac_arg in
2191 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2193 | -silent | --silent | --silen | --sile | --sil)
2194 continue ;;
2195 *\'*)
2196 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2197 esac
2198 case $ac_pass in
2199 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2200 2)
2201 as_fn_append ac_configure_args1 " '$ac_arg'"
2202 if test $ac_must_keep_next = true; then
2203 ac_must_keep_next=false # Got value, back to normal.
2204 else
2205 case $ac_arg in
2206 *=* | --config-cache | -C | -disable-* | --disable-* \
2207 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2208 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2209 | -with-* | --with-* | -without-* | --without-* | --x)
2210 case "$ac_configure_args0 " in
2211 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2212 esac
2213 ;;
2214 -* ) ac_must_keep_next=true ;;
2215 esac
2216 fi
2217 as_fn_append ac_configure_args " '$ac_arg'"
2218 ;;
2219 esac
2220 done
2221 done
2222 { ac_configure_args0=; unset ac_configure_args0;}
2223 { ac_configure_args1=; unset ac_configure_args1;}
2224
2225 # When interrupted or exit'd, cleanup temporary files, and complete
2226 # config.log. We remove comments because anyway the quotes in there
2227 # would cause problems or look ugly.
2228 # WARNING: Use '\'' to represent an apostrophe within the trap.
2229 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2230 trap 'exit_status=$?
2231 # Sanitize IFS.
2232 IFS=" "" $as_nl"
2233 # Save into config.log some information that might help in debugging.
2234 {
2235 echo
2236
2237 printf "%s\n" "## ---------------- ##
2238 ## Cache variables. ##
2239 ## ---------------- ##"
2240 echo
2241 # The following way of writing the cache mishandles newlines in values,
2242 (
2243 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2244 eval ac_val=\$$ac_var
2245 case $ac_val in #(
2246 *${as_nl}*)
2247 case $ac_var in #(
2248 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2249 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2250 esac
2251 case $ac_var in #(
2252 _ | IFS | as_nl) ;; #(
2253 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2254 *) { eval $ac_var=; unset $ac_var;} ;;
2255 esac ;;
2256 esac
2257 done
2258 (set) 2>&1 |
2259 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2260 *${as_nl}ac_space=\ *)
2261 sed -n \
2262 "s/'\''/'\''\\\\'\'''\''/g;
2263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2264 ;; #(
2265 *)
2266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2267 ;;
2268 esac |
2269 sort
2270 )
2271 echo
2272
2273 printf "%s\n" "## ----------------- ##
2274 ## Output variables. ##
2275 ## ----------------- ##"
2276 echo
2277 for ac_var in $ac_subst_vars
2278 do
2279 eval ac_val=\$$ac_var
2280 case $ac_val in
2281 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282 esac
2283 printf "%s\n" "$ac_var='\''$ac_val'\''"
2284 done | sort
2285 echo
2286
2287 if test -n "$ac_subst_files"; then
2288 printf "%s\n" "## ------------------- ##
2289 ## File substitutions. ##
2290 ## ------------------- ##"
2291 echo
2292 for ac_var in $ac_subst_files
2293 do
2294 eval ac_val=\$$ac_var
2295 case $ac_val in
2296 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2297 esac
2298 printf "%s\n" "$ac_var='\''$ac_val'\''"
2299 done | sort
2300 echo
2301 fi
2302
2303 if test -s confdefs.h; then
2304 printf "%s\n" "## ----------- ##
2305 ## confdefs.h. ##
2306 ## ----------- ##"
2307 echo
2308 cat confdefs.h
2309 echo
2310 fi
2311 test "$ac_signal" != 0 &&
2312 printf "%s\n" "$as_me: caught signal $ac_signal"
2313 printf "%s\n" "$as_me: exit $exit_status"
2314 } >&5
2315 rm -f core *.core core.conftest.* &&
2316 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2317 exit $exit_status
2318 ' 0
2319 for ac_signal in 1 2 13 15; do
2320 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2321 done
2322 ac_signal=0
2323
2324 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2325 rm -f -r conftest* confdefs.h
2326
2327 printf "%s\n" "/* confdefs.h */" > confdefs.h
2328
2329 # Predefined preprocessor variables.
2330
2331 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2332
2333 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2334
2335 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2336
2337 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2338
2339 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2340
2341 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2342
2343
2344 # Let the site file select an alternate cache file if it wants to.
2345 # Prefer an explicitly selected file to automatically selected ones.
2346 if test -n "$CONFIG_SITE"; then
2347 ac_site_files="$CONFIG_SITE"
2348 elif test "x$prefix" != xNONE; then
2349 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2350 else
2351 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2352 fi
2353
2354 for ac_site_file in $ac_site_files
2355 do
2356 case $ac_site_file in #(
2357 */*) :
2358 ;; #(
2359 *) :
2360 ac_site_file=./$ac_site_file ;;
2361 esac
2362 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2364 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2365 sed 's/^/| /' "$ac_site_file" >&5
2366 . "$ac_site_file" \
2367 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2368 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2369 as_fn_error $? "failed to load site script $ac_site_file
2370 See 'config.log' for more details" "$LINENO" 5; }
2371 fi
2372 done
2373
2374 if test -r "$cache_file"; then
2375 # Some versions of bash will fail to source /dev/null (special files
2376 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2377 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2379 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2380 case $cache_file in
2381 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2382 *) . "./$cache_file";;
2383 esac
2384 fi
2385 else
2386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2387 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2388 >$cache_file
2389 fi
2390
2391 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2392 # Test code for whether the C compiler supports C89 (global declarations)
2393 ac_c_conftest_c89_globals='
2394 /* Does the compiler advertise C89 conformance?
2395 Do not test the value of __STDC__, because some compilers set it to 0
2396 while being otherwise adequately conformant. */
2397 #if !defined __STDC__
2398 # error "Compiler does not advertise C89 conformance"
2399 #endif
2400
2401 #include <stddef.h>
2402 #include <stdarg.h>
2403 struct stat;
2404 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2405 struct buf { int x; };
2406 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2407 static char *e (char **p, int i)
2408 {
2409 return p[i];
2410 }
2411 static char *f (char * (*g) (char **, int), char **p, ...)
2412 {
2413 char *s;
2414 va_list v;
2415 va_start (v,p);
2416 s = g (p, va_arg (v,int));
2417 va_end (v);
2418 return s;
2419 }
2420
2421 /* C89 style stringification. */
2422 #define noexpand_stringify(a) #a
2423 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2424
2425 /* C89 style token pasting. Exercises some of the corner cases that
2426 e.g. old MSVC gets wrong, but not very hard. */
2427 #define noexpand_concat(a,b) a##b
2428 #define expand_concat(a,b) noexpand_concat(a,b)
2429 extern int vA;
2430 extern int vbee;
2431 #define aye A
2432 #define bee B
2433 int *pvA = &expand_concat(v,aye);
2434 int *pvbee = &noexpand_concat(v,bee);
2435
2436 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2437 function prototypes and stuff, but not \xHH hex character constants.
2438 These do not provoke an error unfortunately, instead are silently treated
2439 as an "x". The following induces an error, until -std is added to get
2440 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2441 array size at least. It is necessary to write \x00 == 0 to get something
2442 that is true only with -std. */
2443 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2444
2445 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2446 inside strings and character constants. */
2447 #define FOO(x) '\''x'\''
2448 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2449
2450 int test (int i, double x);
2451 struct s1 {int (*f) (int a);};
2452 struct s2 {int (*f) (double a);};
2453 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2454 int, int);'
2455
2456 # Test code for whether the C compiler supports C89 (body of main).
2457 ac_c_conftest_c89_main='
2458 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2459 '
2460
2461 # Test code for whether the C compiler supports C99 (global declarations)
2462 ac_c_conftest_c99_globals='
2463 /* Does the compiler advertise C99 conformance? */
2464 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2465 # error "Compiler does not advertise C99 conformance"
2466 #endif
2467
2468 // See if C++-style comments work.
2469
2470 #include <stdbool.h>
2471 extern int puts (const char *);
2472 extern int printf (const char *, ...);
2473 extern int dprintf (int, const char *, ...);
2474 extern void *malloc (size_t);
2475 extern void free (void *);
2476
2477 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2478 // dprintf is used instead of fprintf to avoid needing to declare
2479 // FILE and stderr.
2480 #define debug(...) dprintf (2, __VA_ARGS__)
2481 #define showlist(...) puts (#__VA_ARGS__)
2482 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2483 static void
2484 test_varargs_macros (void)
2485 {
2486 int x = 1234;
2487 int y = 5678;
2488 debug ("Flag");
2489 debug ("X = %d\n", x);
2490 showlist (The first, second, and third items.);
2491 report (x>y, "x is %d but y is %d", x, y);
2492 }
2493
2494 // Check long long types.
2495 #define BIG64 18446744073709551615ull
2496 #define BIG32 4294967295ul
2497 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2498 #if !BIG_OK
2499 #error "your preprocessor is broken"
2500 #endif
2501 #if BIG_OK
2502 #else
2503 #error "your preprocessor is broken"
2504 #endif
2505 static long long int bignum = -9223372036854775807LL;
2506 static unsigned long long int ubignum = BIG64;
2507
2508 struct incomplete_array
2509 {
2510 int datasize;
2511 double data[];
2512 };
2513
2514 struct named_init {
2515 int number;
2516 const wchar_t *name;
2517 double average;
2518 };
2519
2520 typedef const char *ccp;
2521
2522 static inline int
2523 test_restrict (ccp restrict text)
2524 {
2525 // Iterate through items via the restricted pointer.
2526 // Also check for declarations in for loops.
2527 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2528 continue;
2529 return 0;
2530 }
2531
2532 // Check varargs and va_copy.
2533 static bool
2534 test_varargs (const char *format, ...)
2535 {
2536 va_list args;
2537 va_start (args, format);
2538 va_list args_copy;
2539 va_copy (args_copy, args);
2540
2541 const char *str = "";
2542 int number = 0;
2543 float fnumber = 0;
2544
2545 while (*format)
2546 {
2547 switch (*format++)
2548 {
2549 case '\''s'\'': // string
2550 str = va_arg (args_copy, const char *);
2551 break;
2552 case '\''d'\'': // int
2553 number = va_arg (args_copy, int);
2554 break;
2555 case '\''f'\'': // float
2556 fnumber = va_arg (args_copy, double);
2557 break;
2558 default:
2559 break;
2560 }
2561 }
2562 va_end (args_copy);
2563 va_end (args);
2564
2565 return *str && number && fnumber;
2566 }
2567 '
2568
2569 # Test code for whether the C compiler supports C99 (body of main).
2570 ac_c_conftest_c99_main='
2571 // Check bool.
2572 _Bool success = false;
2573 success |= (argc != 0);
2574
2575 // Check restrict.
2576 if (test_restrict ("String literal") == 0)
2577 success = true;
2578 char *restrict newvar = "Another string";
2579
2580 // Check varargs.
2581 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2582 test_varargs_macros ();
2583
2584 // Check flexible array members.
2585 struct incomplete_array *ia =
2586 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2587 ia->datasize = 10;
2588 for (int i = 0; i < ia->datasize; ++i)
2589 ia->data[i] = i * 1.234;
2590 // Work around memory leak warnings.
2591 free (ia);
2592
2593 // Check named initializers.
2594 struct named_init ni = {
2595 .number = 34,
2596 .name = L"Test wide string",
2597 .average = 543.34343,
2598 };
2599
2600 ni.number = 58;
2601
2602 int dynamic_array[ni.number];
2603 dynamic_array[0] = argv[0][0];
2604 dynamic_array[ni.number - 1] = 543;
2605
2606 // work around unused variable warnings
2607 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2608 || dynamic_array[ni.number - 1] != 543);
2609 '
2610
2611 # Test code for whether the C compiler supports C11 (global declarations)
2612 ac_c_conftest_c11_globals='
2613 /* Does the compiler advertise C11 conformance? */
2614 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2615 # error "Compiler does not advertise C11 conformance"
2616 #endif
2617
2618 // Check _Alignas.
2619 char _Alignas (double) aligned_as_double;
2620 char _Alignas (0) no_special_alignment;
2621 extern char aligned_as_int;
2622 char _Alignas (0) _Alignas (int) aligned_as_int;
2623
2624 // Check _Alignof.
2625 enum
2626 {
2627 int_alignment = _Alignof (int),
2628 int_array_alignment = _Alignof (int[100]),
2629 char_alignment = _Alignof (char)
2630 };
2631 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2632
2633 // Check _Noreturn.
2634 int _Noreturn does_not_return (void) { for (;;) continue; }
2635
2636 // Check _Static_assert.
2637 struct test_static_assert
2638 {
2639 int x;
2640 _Static_assert (sizeof (int) <= sizeof (long int),
2641 "_Static_assert does not work in struct");
2642 long int y;
2643 };
2644
2645 // Check UTF-8 literals.
2646 #define u8 syntax error!
2647 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2648
2649 // Check duplicate typedefs.
2650 typedef long *long_ptr;
2651 typedef long int *long_ptr;
2652 typedef long_ptr long_ptr;
2653
2654 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2655 struct anonymous
2656 {
2657 union {
2658 struct { int i; int j; };
2659 struct { int k; long int l; } w;
2660 };
2661 int m;
2662 } v1;
2663 '
2664
2665 # Test code for whether the C compiler supports C11 (body of main).
2666 ac_c_conftest_c11_main='
2667 _Static_assert ((offsetof (struct anonymous, i)
2668 == offsetof (struct anonymous, w.k)),
2669 "Anonymous union alignment botch");
2670 v1.i = 2;
2671 v1.w.k = 5;
2672 ok |= v1.i != 5;
2673 '
2674
2675 # Test code for whether the C compiler supports C11 (complete).
2676 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2677 ${ac_c_conftest_c99_globals}
2678 ${ac_c_conftest_c11_globals}
2679
2680 int
2681 main (int argc, char **argv)
2682 {
2683 int ok = 0;
2684 ${ac_c_conftest_c89_main}
2685 ${ac_c_conftest_c99_main}
2686 ${ac_c_conftest_c11_main}
2687 return ok;
2688 }
2689 "
2690
2691 # Test code for whether the C compiler supports C99 (complete).
2692 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2693 ${ac_c_conftest_c99_globals}
2694
2695 int
2696 main (int argc, char **argv)
2697 {
2698 int ok = 0;
2699 ${ac_c_conftest_c89_main}
2700 ${ac_c_conftest_c99_main}
2701 return ok;
2702 }
2703 "
2704
2705 # Test code for whether the C compiler supports C89 (complete).
2706 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2707
2708 int
2709 main (int argc, char **argv)
2710 {
2711 int ok = 0;
2712 ${ac_c_conftest_c89_main}
2713 return ok;
2714 }
2715 "
2716
2717 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2718 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2719 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2720 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2721 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2722 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2723 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2724 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2725 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2726 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2727
2728 # Auxiliary files required by this configure script.
2729 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2730
2731 # Locations in which to look for auxiliary files.
2732 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2733
2734 # Search for a directory containing all of the required auxiliary files,
2735 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2736 # If we don't find one directory that contains all the files we need,
2737 # we report the set of missing files from the *first* directory in
2738 # $ac_aux_dir_candidates and give up.
2739 ac_missing_aux_files=""
2740 ac_first_candidate=:
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 as_found=false
2744 for as_dir in $ac_aux_dir_candidates
2745 do
2746 IFS=$as_save_IFS
2747 case $as_dir in #(((
2748 '') as_dir=./ ;;
2749 */) ;;
2750 *) as_dir=$as_dir/ ;;
2751 esac
2752 as_found=:
2753
2754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2755 ac_aux_dir_found=yes
2756 ac_install_sh=
2757 for ac_aux in $ac_aux_files
2758 do
2759 # As a special case, if "install-sh" is required, that requirement
2760 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2761 # and $ac_install_sh is set appropriately for whichever one is found.
2762 if test x"$ac_aux" = x"install-sh"
2763 then
2764 if test -f "${as_dir}install-sh"; then
2765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2766 ac_install_sh="${as_dir}install-sh -c"
2767 elif test -f "${as_dir}install.sh"; then
2768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2769 ac_install_sh="${as_dir}install.sh -c"
2770 elif test -f "${as_dir}shtool"; then
2771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2772 ac_install_sh="${as_dir}shtool install -c"
2773 else
2774 ac_aux_dir_found=no
2775 if $ac_first_candidate; then
2776 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2777 else
2778 break
2779 fi
2780 fi
2781 else
2782 if test -f "${as_dir}${ac_aux}"; then
2783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2784 else
2785 ac_aux_dir_found=no
2786 if $ac_first_candidate; then
2787 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2788 else
2789 break
2790 fi
2791 fi
2792 fi
2793 done
2794 if test "$ac_aux_dir_found" = yes; then
2795 ac_aux_dir="$as_dir"
2796 break
2797 fi
2798 ac_first_candidate=false
2799
2800 as_found=false
2801 done
2802 IFS=$as_save_IFS
2803 if $as_found
2804 then :
2805
2806 else case e in #(
2807 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2808 esac
2809 fi
2810
2811
2812 # These three variables are undocumented and unsupported,
2813 # and are intended to be withdrawn in a future Autoconf release.
2814 # They can cause serious problems if a builder's source tree is in a directory
2815 # whose full name contains unusual characters.
2816 if test -f "${ac_aux_dir}config.guess"; then
2817 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2818 fi
2819 if test -f "${ac_aux_dir}config.sub"; then
2820 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2821 fi
2822 if test -f "$ac_aux_dir/configure"; then
2823 ac_configure="$SHELL ${ac_aux_dir}configure"
2824 fi
2825
2826 # Check that the precious variables saved in the cache have kept the same
2827 # value.
2828 ac_cache_corrupted=false
2829 for ac_var in $ac_precious_vars; do
2830 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2831 eval ac_new_set=\$ac_env_${ac_var}_set
2832 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2833 eval ac_new_val=\$ac_env_${ac_var}_value
2834 case $ac_old_set,$ac_new_set in
2835 set,)
2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2837 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2838 ac_cache_corrupted=: ;;
2839 ,set)
2840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2841 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2842 ac_cache_corrupted=: ;;
2843 ,);;
2844 *)
2845 if test "x$ac_old_val" != "x$ac_new_val"; then
2846 # differences in whitespace do not lead to failure.
2847 ac_old_val_w=`echo x $ac_old_val`
2848 ac_new_val_w=`echo x $ac_new_val`
2849 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2851 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2852 ac_cache_corrupted=:
2853 else
2854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2855 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2856 eval $ac_var=\$ac_old_val
2857 fi
2858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2859 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2861 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2862 fi;;
2863 esac
2864 # Pass precious variables to config.status.
2865 if test "$ac_new_set" = set; then
2866 case $ac_new_val in
2867 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2868 *) ac_arg=$ac_var=$ac_new_val ;;
2869 esac
2870 case " $ac_configure_args " in
2871 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2872 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2873 esac
2874 fi
2875 done
2876 if $ac_cache_corrupted; then
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2878 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2880 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2881 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2882 and start over" "$LINENO" 5
2883 fi
2884 ## -------------------- ##
2885 ## Main body of script. ##
2886 ## -------------------- ##
2887
2888 ac_ext=c
2889 ac_cpp='$CPP $CPPFLAGS'
2890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2893
2894
2895
2896
2897
2898
2899
2900 am__api_version='1.18'
2901
2902
2903
2904 # Find a good install program. We prefer a C program (faster),
2905 # so one script is as good as another. But avoid the broken or
2906 # incompatible versions:
2907 # SysV /etc/install, /usr/sbin/install
2908 # SunOS /usr/etc/install
2909 # IRIX /sbin/install
2910 # AIX /bin/install
2911 # AmigaOS /C/install, which installs bootblocks on floppy discs
2912 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2913 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2914 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2915 # OS/2's system install, which has a completely different semantic
2916 # ./install, which can be erroneously created by make from ./install.sh.
2917 # Reject install programs that cannot install multiple files.
2918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2919 printf %s "checking for a BSD-compatible install... " >&6; }
2920 if test -z "$INSTALL"; then
2921 if test ${ac_cv_path_install+y}
2922 then :
2923 printf %s "(cached) " >&6
2924 else case e in #(
2925 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 for as_dir in $PATH
2927 do
2928 IFS=$as_save_IFS
2929 case $as_dir in #(((
2930 '') as_dir=./ ;;
2931 */) ;;
2932 *) as_dir=$as_dir/ ;;
2933 esac
2934 # Account for fact that we put trailing slashes in our PATH walk.
2935 case $as_dir in #((
2936 ./ | /[cC]/* | \
2937 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2938 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2939 /usr/ucb/* ) ;;
2940 *)
2941 # OSF1 and SCO ODT 3.0 have their own names for install.
2942 # Don't use installbsd from OSF since it installs stuff as root
2943 # by default.
2944 for ac_prog in ginstall scoinst install; do
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2947 if test $ac_prog = install &&
2948 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2949 # AIX install. It has an incompatible calling convention.
2950 :
2951 elif test $ac_prog = install &&
2952 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2953 # program-specific install script used by HP pwplus--don't use.
2954 :
2955 else
2956 rm -rf conftest.one conftest.two conftest.dir
2957 echo one > conftest.one
2958 echo two > conftest.two
2959 mkdir conftest.dir
2960 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2961 test -s conftest.one && test -s conftest.two &&
2962 test -s conftest.dir/conftest.one &&
2963 test -s conftest.dir/conftest.two
2964 then
2965 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2966 break 3
2967 fi
2968 fi
2969 fi
2970 done
2971 done
2972 ;;
2973 esac
2974
2975 done
2976 IFS=$as_save_IFS
2977
2978 rm -rf conftest.one conftest.two conftest.dir
2979 ;;
2980 esac
2981 fi
2982 if test ${ac_cv_path_install+y}; then
2983 INSTALL=$ac_cv_path_install
2984 else
2985 # As a last resort, use the slow shell script. Don't cache a
2986 # value for INSTALL within a source directory, because that will
2987 # break other packages using the cache if that directory is
2988 # removed, or if the value is a relative name.
2989 INSTALL=$ac_install_sh
2990 fi
2991 fi
2992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2993 printf "%s\n" "$INSTALL" >&6; }
2994
2995 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2996 # It thinks the first close brace ends the variable substitution.
2997 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2998
2999 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3000
3001 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3002
3003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
3004 printf %s "checking whether sleep supports fractional seconds... " >&6; }
3005 if test ${am_cv_sleep_fractional_seconds+y}
3006 then :
3007 printf %s "(cached) " >&6
3008 else case e in #(
3009 e) if sleep 0.001 2>/dev/null
3010 then :
3011 am_cv_sleep_fractional_seconds=yes
3012 else case e in #(
3013 e) am_cv_sleep_fractional_seconds=no ;;
3014 esac
3015 fi
3016 ;;
3017 esac
3018 fi
3019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3020 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3021
3022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3023 printf %s "checking filesystem timestamp resolution... " >&6; }
3024 if test ${am_cv_filesystem_timestamp_resolution+y}
3025 then :
3026 printf %s "(cached) " >&6
3027 else case e in #(
3028 e) # Default to the worst case.
3029 am_cv_filesystem_timestamp_resolution=2
3030
3031 # Only try to go finer than 1 sec if sleep can do it.
3032 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3033 # - 1 sec is not much of a win compared to 2 sec, and
3034 # - it takes 2 seconds to perform the test whether 1 sec works.
3035 #
3036 # Instead, just use the default 2s on platforms that have 1s resolution,
3037 # accept the extra 1s delay when using $sleep in the Automake tests, in
3038 # exchange for not incurring the 2s delay for running the test for all
3039 # packages.
3040 #
3041 am_try_resolutions=
3042 if test "$am_cv_sleep_fractional_seconds" = yes; then
3043 # Even a millisecond often causes a bunch of false positives,
3044 # so just try a hundredth of a second. The time saved between .001 and
3045 # .01 is not terribly consequential.
3046 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3047 fi
3048
3049 # In order to catch current-generation FAT out, we must *modify* files
3050 # that already exist; the *creation* timestamp is finer. Use names
3051 # that make ls -t sort them differently when they have equal
3052 # timestamps than when they have distinct timestamps, keeping
3053 # in mind that ls -t prints the *newest* file first.
3054 rm -f conftest.ts?
3055 : > conftest.ts1
3056 : > conftest.ts2
3057 : > conftest.ts3
3058
3059 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3060 # clobber the current shell's arguments. (Outer-level square brackets
3061 # are removed by m4; they're present so that m4 does not expand
3062 # <dollar><star>; be careful, easy to get confused.)
3063 if (
3064 set X `ls -t conftest.ts[12]` &&
3065 {
3066 test "$*" != "X conftest.ts1 conftest.ts2" ||
3067 test "$*" != "X conftest.ts2 conftest.ts1";
3068 }
3069 ); then :; else
3070 # If neither matched, then we have a broken ls. This can happen
3071 # if, for instance, CONFIG_SHELL is bash and it inherits a
3072 # broken ls alias from the environment. This has actually
3073 # happened. Such a system could not be considered "sane".
3074 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3075 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3076 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3077 as_fn_error $? "ls -t produces unexpected output.
3078 Make sure there is not a broken ls alias in your environment.
3079 See 'config.log' for more details" "$LINENO" 5; }
3080 fi
3081
3082 for am_try_res in $am_try_resolutions; do
3083 # Any one fine-grained sleep might happen to cross the boundary
3084 # between two values of a coarser actual resolution, but if we do
3085 # two fine-grained sleeps in a row, at least one of them will fall
3086 # entirely within a coarse interval.
3087 echo alpha > conftest.ts1
3088 sleep $am_try_res
3089 echo beta > conftest.ts2
3090 sleep $am_try_res
3091 echo gamma > conftest.ts3
3092
3093 # We assume that 'ls -t' will make use of high-resolution
3094 # timestamps if the operating system supports them at all.
3095 if (set X `ls -t conftest.ts?` &&
3096 test "$2" = conftest.ts3 &&
3097 test "$3" = conftest.ts2 &&
3098 test "$4" = conftest.ts1); then
3099 #
3100 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3101 # because we don't need to test make.
3102 make_ok=true
3103 if test $am_try_res != 1; then
3104 # But if we've succeeded so far with a subsecond resolution, we
3105 # have one more thing to check: make. It can happen that
3106 # everything else supports the subsecond mtimes, but make doesn't;
3107 # notably on macOS, which ships make 3.81 from 2006 (the last one
3108 # released under GPLv2). https://bugs.gnu.org/68808
3109 #
3110 # We test $MAKE if it is defined in the environment, else "make".
3111 # It might get overridden later, but our hope is that in practice
3112 # it does not matter: it is the system "make" which is (by far)
3113 # the most likely to be broken, whereas if the user overrides it,
3114 # probably they did so with a better, or at least not worse, make.
3115 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3116 #
3117 # Create a Makefile (real tab character here):
3118 rm -f conftest.mk
3119 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3120 echo ' touch conftest.ts2' >>conftest.mk
3121 #
3122 # Now, running
3123 # touch conftest.ts1; touch conftest.ts2; make
3124 # should touch ts1 because ts2 is newer. This could happen by luck,
3125 # but most often, it will fail if make's support is insufficient. So
3126 # test for several consecutive successes.
3127 #
3128 # (We reuse conftest.ts[12] because we still want to modify existing
3129 # files, not create new ones, per above.)
3130 n=0
3131 make=${MAKE-make}
3132 until test $n -eq 3; do
3133 echo one > conftest.ts1
3134 sleep $am_try_res
3135 echo two > conftest.ts2 # ts2 should now be newer than ts1
3136 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3137 make_ok=false
3138 break # out of $n loop
3139 fi
3140 n=`expr $n + 1`
3141 done
3142 fi
3143 #
3144 if $make_ok; then
3145 # Everything we know to check worked out, so call this resolution good.
3146 am_cv_filesystem_timestamp_resolution=$am_try_res
3147 break # out of $am_try_res loop
3148 fi
3149 # Otherwise, we'll go on to check the next resolution.
3150 fi
3151 done
3152 rm -f conftest.ts?
3153 # (end _am_filesystem_timestamp_resolution)
3154 ;;
3155 esac
3156 fi
3157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3158 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3159
3160 # This check should not be cached, as it may vary across builds of
3161 # different projects.
3162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3163 printf %s "checking whether build environment is sane... " >&6; }
3164 # Reject unsafe characters in $srcdir or the absolute working directory
3165 # name. Accept space and tab only in the latter.
3166 am_lf='
3167 '
3168 case `pwd` in
3169 *[\\\"\#\$\&\'\`$am_lf]*)
3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 printf "%s\n" "no" >&6; }
3172 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3173 esac
3174 case $srcdir in
3175 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 printf "%s\n" "no" >&6; }
3178 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3179 esac
3180
3181 # Do 'set' in a subshell so we don't clobber the current shell's
3182 # arguments. Must try -L first in case configure is actually a
3183 # symlink; some systems play weird games with the mod time of symlinks
3184 # (eg FreeBSD returns the mod time of the symlink's containing
3185 # directory).
3186 am_build_env_is_sane=no
3187 am_has_slept=no
3188 rm -f conftest.file
3189 for am_try in 1 2; do
3190 echo "timestamp, slept: $am_has_slept" > conftest.file
3191 if (
3192 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3193 if test "$*" = "X"; then
3194 # -L didn't work.
3195 set X `ls -t "$srcdir/configure" conftest.file`
3196 fi
3197 test "$2" = conftest.file
3198 ); then
3199 am_build_env_is_sane=yes
3200 break
3201 fi
3202 # Just in case.
3203 sleep "$am_cv_filesystem_timestamp_resolution"
3204 am_has_slept=yes
3205 done
3206
3207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3208 printf "%s\n" "$am_build_env_is_sane" >&6; }
3209 if test "$am_build_env_is_sane" = no; then
3210 as_fn_error $? "newly created file is older than distributed files!
3211 Check your system clock" "$LINENO" 5
3212 fi
3213
3214 # If we didn't sleep, we still need to ensure time stamps of config.status and
3215 # generated files are strictly newer.
3216 am_sleep_pid=
3217 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3218 then :
3219
3220 else case e in #(
3221 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3222 am_sleep_pid=$!
3223 ;;
3224 esac
3225 fi
3226
3227 rm -f conftest.file
3228
3229 test "$program_prefix" != NONE &&
3230 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3231 # Use a double $ so make ignores it.
3232 test "$program_suffix" != NONE &&
3233 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3234 # Double any \ or $.
3235 # By default was 's,x,x', remove it if useless.
3236 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3237 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3238
3239
3240 # Expand $ac_aux_dir to an absolute path.
3241 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3242
3243
3244 if test x"${MISSING+set}" != xset; then
3245 MISSING="\${SHELL} '$am_aux_dir/missing'"
3246 fi
3247 # Use eval to expand $SHELL
3248 if eval "$MISSING --is-lightweight"; then
3249 am_missing_run="$MISSING "
3250 else
3251 am_missing_run=
3252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3253 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3254 fi
3255
3256 if test x"${install_sh+set}" != xset; then
3257 case $am_aux_dir in
3258 *\ * | *\ *)
3259 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3260 *)
3261 install_sh="\${SHELL} $am_aux_dir/install-sh"
3262 esac
3263 fi
3264
3265 # Installed binaries are usually stripped using 'strip' when the user
3266 # run "make install-strip". However 'strip' might not be the right
3267 # tool to use in cross-compilation environments, therefore Automake
3268 # will honor the 'STRIP' environment variable to overrule this program.
3269 if test "$cross_compiling" != no; then
3270 if test -n "$ac_tool_prefix"; then
3271 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3272 set dummy ${ac_tool_prefix}strip; ac_word=$2
3273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 printf %s "checking for $ac_word... " >&6; }
3275 if test ${ac_cv_prog_STRIP+y}
3276 then :
3277 printf %s "(cached) " >&6
3278 else case e in #(
3279 e) if test -n "$STRIP"; then
3280 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3281 else
3282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283 for as_dir in $PATH
3284 do
3285 IFS=$as_save_IFS
3286 case $as_dir in #(((
3287 '') as_dir=./ ;;
3288 */) ;;
3289 *) as_dir=$as_dir/ ;;
3290 esac
3291 for ac_exec_ext in '' $ac_executable_extensions; do
3292 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3293 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3295 break 2
3296 fi
3297 done
3298 done
3299 IFS=$as_save_IFS
3300
3301 fi ;;
3302 esac
3303 fi
3304 STRIP=$ac_cv_prog_STRIP
3305 if test -n "$STRIP"; then
3306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3307 printf "%s\n" "$STRIP" >&6; }
3308 else
3309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 printf "%s\n" "no" >&6; }
3311 fi
3312
3313
3314 fi
3315 if test -z "$ac_cv_prog_STRIP"; then
3316 ac_ct_STRIP=$STRIP
3317 # Extract the first word of "strip", so it can be a program name with args.
3318 set dummy strip; ac_word=$2
3319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320 printf %s "checking for $ac_word... " >&6; }
3321 if test ${ac_cv_prog_ac_ct_STRIP+y}
3322 then :
3323 printf %s "(cached) " >&6
3324 else case e in #(
3325 e) if test -n "$ac_ct_STRIP"; then
3326 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3327 else
3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 for as_dir in $PATH
3330 do
3331 IFS=$as_save_IFS
3332 case $as_dir in #(((
3333 '') as_dir=./ ;;
3334 */) ;;
3335 *) as_dir=$as_dir/ ;;
3336 esac
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3339 ac_cv_prog_ac_ct_STRIP="strip"
3340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3341 break 2
3342 fi
3343 done
3344 done
3345 IFS=$as_save_IFS
3346
3347 fi ;;
3348 esac
3349 fi
3350 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3351 if test -n "$ac_ct_STRIP"; then
3352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3353 printf "%s\n" "$ac_ct_STRIP" >&6; }
3354 else
3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 printf "%s\n" "no" >&6; }
3357 fi
3358
3359 if test "x$ac_ct_STRIP" = x; then
3360 STRIP=":"
3361 else
3362 case $cross_compiling:$ac_tool_warned in
3363 yes:)
3364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3365 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3366 ac_tool_warned=yes ;;
3367 esac
3368 STRIP=$ac_ct_STRIP
3369 fi
3370 else
3371 STRIP="$ac_cv_prog_STRIP"
3372 fi
3373
3374 fi
3375 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3376
3377
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3379 printf %s "checking for a race-free mkdir -p... " >&6; }
3380 if test -z "$MKDIR_P"; then
3381 if test ${ac_cv_path_mkdir+y}
3382 then :
3383 printf %s "(cached) " >&6
3384 else case e in #(
3385 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3387 do
3388 IFS=$as_save_IFS
3389 case $as_dir in #(((
3390 '') as_dir=./ ;;
3391 */) ;;
3392 *) as_dir=$as_dir/ ;;
3393 esac
3394 for ac_prog in mkdir gmkdir; do
3395 for ac_exec_ext in '' $ac_executable_extensions; do
3396 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3397 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3398 'mkdir ('*'coreutils) '* | \
3399 *'BusyBox '* | \
3400 'mkdir (fileutils) '4.1*)
3401 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3402 break 3;;
3403 esac
3404 done
3405 done
3406 done
3407 IFS=$as_save_IFS
3408 ;;
3409 esac
3410 fi
3411
3412 test -d ./--version && rmdir ./--version
3413 if test ${ac_cv_path_mkdir+y}; then
3414 MKDIR_P="$ac_cv_path_mkdir -p"
3415 else
3416 # As a last resort, use plain mkdir -p,
3417 # in the hope it doesn't have the bugs of ancient mkdir.
3418 MKDIR_P='mkdir -p'
3419 fi
3420 fi
3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3422 printf "%s\n" "$MKDIR_P" >&6; }
3423
3424 for ac_prog in gawk mawk nawk awk
3425 do
3426 # Extract the first word of "$ac_prog", so it can be a program name with args.
3427 set dummy $ac_prog; ac_word=$2
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3429 printf %s "checking for $ac_word... " >&6; }
3430 if test ${ac_cv_prog_AWK+y}
3431 then :
3432 printf %s "(cached) " >&6
3433 else case e in #(
3434 e) if test -n "$AWK"; then
3435 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3436 else
3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438 for as_dir in $PATH
3439 do
3440 IFS=$as_save_IFS
3441 case $as_dir in #(((
3442 '') as_dir=./ ;;
3443 */) ;;
3444 *) as_dir=$as_dir/ ;;
3445 esac
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3448 ac_cv_prog_AWK="$ac_prog"
3449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3450 break 2
3451 fi
3452 done
3453 done
3454 IFS=$as_save_IFS
3455
3456 fi ;;
3457 esac
3458 fi
3459 AWK=$ac_cv_prog_AWK
3460 if test -n "$AWK"; then
3461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3462 printf "%s\n" "$AWK" >&6; }
3463 else
3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 printf "%s\n" "no" >&6; }
3466 fi
3467
3468
3469 test -n "$AWK" && break
3470 done
3471
3472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3473 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3474 set x ${MAKE-make}
3475 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3476 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3477 then :
3478 printf %s "(cached) " >&6
3479 else case e in #(
3480 e) cat >conftest.make <<\_ACEOF
3481 SHELL = /bin/sh
3482 all:
3483 @echo '@@@%%%=$(MAKE)=@@@%%%'
3484 _ACEOF
3485 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3486 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3487 *@@@%%%=?*=@@@%%%*)
3488 eval ac_cv_prog_make_${ac_make}_set=yes;;
3489 *)
3490 eval ac_cv_prog_make_${ac_make}_set=no;;
3491 esac
3492 rm -f conftest.make ;;
3493 esac
3494 fi
3495 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3497 printf "%s\n" "yes" >&6; }
3498 SET_MAKE=
3499 else
3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 printf "%s\n" "no" >&6; }
3502 SET_MAKE="MAKE=${MAKE-make}"
3503 fi
3504
3505 rm -rf .tst 2>/dev/null
3506 mkdir .tst 2>/dev/null
3507 if test -d .tst; then
3508 am__leading_dot=.
3509 else
3510 am__leading_dot=_
3511 fi
3512 rmdir .tst 2>/dev/null
3513
3514 AM_DEFAULT_VERBOSITY=1
3515 # Check whether --enable-silent-rules was given.
3516 if test ${enable_silent_rules+y}
3517 then :
3518 enableval=$enable_silent_rules;
3519 fi
3520
3521 am_make=${MAKE-make}
3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3523 printf %s "checking whether $am_make supports nested variables... " >&6; }
3524 if test ${am_cv_make_support_nested_variables+y}
3525 then :
3526 printf %s "(cached) " >&6
3527 else case e in #(
3528 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3529 BAR0=false
3530 BAR1=true
3531 V=1
3532 am__doit:
3533 @$(TRUE)
3534 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3535 am_cv_make_support_nested_variables=yes
3536 else
3537 am_cv_make_support_nested_variables=no
3538 fi ;;
3539 esac
3540 fi
3541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3542 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3543 AM_BACKSLASH='\'
3544
3545 am__rm_f_notfound=
3546 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3547 then :
3548
3549 else case e in #(
3550 e) am__rm_f_notfound='""' ;;
3551 esac
3552 fi
3553
3554
3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3556 printf %s "checking xargs -n works... " >&6; }
3557 if test ${am_cv_xargs_n_works+y}
3558 then :
3559 printf %s "(cached) " >&6
3560 else case e in #(
3561 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3562 3"
3563 then :
3564 am_cv_xargs_n_works=yes
3565 else case e in #(
3566 e) am_cv_xargs_n_works=no ;;
3567 esac
3568 fi ;;
3569 esac
3570 fi
3571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3572 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3573 if test "$am_cv_xargs_n_works" = yes
3574 then :
3575 am__xargs_n='xargs -n'
3576 else case e in #(
3577 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3578 ;;
3579 esac
3580 fi
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591 DEPDIR="${am__leading_dot}deps"
3592
3593 ac_config_commands="$ac_config_commands depfiles"
3594
3595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3596 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3597 cat > confinc.mk << 'END'
3598 am__doit:
3599 @echo this is the am__doit target >confinc.out
3600 .PHONY: am__doit
3601 END
3602 am__include="#"
3603 am__quote=
3604 # BSD make does it like this.
3605 echo '.include "confinc.mk" # ignored' > confmf.BSD
3606 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3607 echo 'include confinc.mk # ignored' > confmf.GNU
3608 _am_result=no
3609 for s in GNU BSD; do
3610 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3611 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3612 ac_status=$?
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }
3615 case $?:`cat confinc.out 2>/dev/null` in #(
3616 '0:this is the am__doit target') :
3617 case $s in #(
3618 BSD) :
3619 am__include='.include' am__quote='"' ;; #(
3620 *) :
3621 am__include='include' am__quote='' ;;
3622 esac ;; #(
3623 *) :
3624 ;;
3625 esac
3626 if test "$am__include" != "#"; then
3627 _am_result="yes ($s style)"
3628 break
3629 fi
3630 done
3631 rm -f confinc.* confmf.*
3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3633 printf "%s\n" "${_am_result}" >&6; }
3634
3635 # Check whether --enable-dependency-tracking was given.
3636 if test ${enable_dependency_tracking+y}
3637 then :
3638 enableval=$enable_dependency_tracking;
3639 fi
3640
3641 if test "x$enable_dependency_tracking" != xno; then
3642 am_depcomp="$ac_aux_dir/depcomp"
3643 AMDEPBACKSLASH='\'
3644 am__nodep='_no'
3645 fi
3646 if test "x$enable_dependency_tracking" != xno; then
3647 AMDEP_TRUE=
3648 AMDEP_FALSE='#'
3649 else
3650 AMDEP_TRUE='#'
3651 AMDEP_FALSE=
3652 fi
3653
3654
3655 ac_ext=c
3656 ac_cpp='$CPP $CPPFLAGS'
3657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3660 if test -n "$ac_tool_prefix"; then
3661 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3662 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 printf %s "checking for $ac_word... " >&6; }
3665 if test ${ac_cv_prog_CC+y}
3666 then :
3667 printf %s "(cached) " >&6
3668 else case e in #(
3669 e) if test -n "$CC"; then
3670 ac_cv_prog_CC="$CC" # Let the user override the test.
3671 else
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 for as_dir in $PATH
3674 do
3675 IFS=$as_save_IFS
3676 case $as_dir in #(((
3677 '') as_dir=./ ;;
3678 */) ;;
3679 *) as_dir=$as_dir/ ;;
3680 esac
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3683 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3685 break 2
3686 fi
3687 done
3688 done
3689 IFS=$as_save_IFS
3690
3691 fi ;;
3692 esac
3693 fi
3694 CC=$ac_cv_prog_CC
3695 if test -n "$CC"; then
3696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 printf "%s\n" "$CC" >&6; }
3698 else
3699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 printf "%s\n" "no" >&6; }
3701 fi
3702
3703
3704 fi
3705 if test -z "$ac_cv_prog_CC"; then
3706 ac_ct_CC=$CC
3707 # Extract the first word of "gcc", so it can be a program name with args.
3708 set dummy gcc; ac_word=$2
3709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 printf %s "checking for $ac_word... " >&6; }
3711 if test ${ac_cv_prog_ac_ct_CC+y}
3712 then :
3713 printf %s "(cached) " >&6
3714 else case e in #(
3715 e) if test -n "$ac_ct_CC"; then
3716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3720 do
3721 IFS=$as_save_IFS
3722 case $as_dir in #(((
3723 '') as_dir=./ ;;
3724 */) ;;
3725 *) as_dir=$as_dir/ ;;
3726 esac
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3729 ac_cv_prog_ac_ct_CC="gcc"
3730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3731 break 2
3732 fi
3733 done
3734 done
3735 IFS=$as_save_IFS
3736
3737 fi ;;
3738 esac
3739 fi
3740 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3741 if test -n "$ac_ct_CC"; then
3742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3743 printf "%s\n" "$ac_ct_CC" >&6; }
3744 else
3745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 printf "%s\n" "no" >&6; }
3747 fi
3748
3749 if test "x$ac_ct_CC" = x; then
3750 CC=""
3751 else
3752 case $cross_compiling:$ac_tool_warned in
3753 yes:)
3754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3756 ac_tool_warned=yes ;;
3757 esac
3758 CC=$ac_ct_CC
3759 fi
3760 else
3761 CC="$ac_cv_prog_CC"
3762 fi
3763
3764 if test -z "$CC"; then
3765 if test -n "$ac_tool_prefix"; then
3766 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3767 set dummy ${ac_tool_prefix}cc; ac_word=$2
3768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 printf %s "checking for $ac_word... " >&6; }
3770 if test ${ac_cv_prog_CC+y}
3771 then :
3772 printf %s "(cached) " >&6
3773 else case e in #(
3774 e) if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 for as_dir in $PATH
3779 do
3780 IFS=$as_save_IFS
3781 case $as_dir in #(((
3782 '') as_dir=./ ;;
3783 */) ;;
3784 *) as_dir=$as_dir/ ;;
3785 esac
3786 for ac_exec_ext in '' $ac_executable_extensions; do
3787 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3788 ac_cv_prog_CC="${ac_tool_prefix}cc"
3789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3790 break 2
3791 fi
3792 done
3793 done
3794 IFS=$as_save_IFS
3795
3796 fi ;;
3797 esac
3798 fi
3799 CC=$ac_cv_prog_CC
3800 if test -n "$CC"; then
3801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3802 printf "%s\n" "$CC" >&6; }
3803 else
3804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 printf "%s\n" "no" >&6; }
3806 fi
3807
3808
3809 fi
3810 fi
3811 if test -z "$CC"; then
3812 # Extract the first word of "cc", so it can be a program name with args.
3813 set dummy cc; ac_word=$2
3814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 printf %s "checking for $ac_word... " >&6; }
3816 if test ${ac_cv_prog_CC+y}
3817 then :
3818 printf %s "(cached) " >&6
3819 else case e in #(
3820 e) if test -n "$CC"; then
3821 ac_cv_prog_CC="$CC" # Let the user override the test.
3822 else
3823 ac_prog_rejected=no
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH
3826 do
3827 IFS=$as_save_IFS
3828 case $as_dir in #(((
3829 '') as_dir=./ ;;
3830 */) ;;
3831 *) as_dir=$as_dir/ ;;
3832 esac
3833 for ac_exec_ext in '' $ac_executable_extensions; do
3834 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3835 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3836 ac_prog_rejected=yes
3837 continue
3838 fi
3839 ac_cv_prog_CC="cc"
3840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3841 break 2
3842 fi
3843 done
3844 done
3845 IFS=$as_save_IFS
3846
3847 if test $ac_prog_rejected = yes; then
3848 # We found a bogon in the path, so make sure we never use it.
3849 set dummy $ac_cv_prog_CC
3850 shift
3851 if test $# != 0; then
3852 # We chose a different compiler from the bogus one.
3853 # However, it has the same basename, so the bogon will be chosen
3854 # first if we set CC to just the basename; use the full file name.
3855 shift
3856 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3857 fi
3858 fi
3859 fi ;;
3860 esac
3861 fi
3862 CC=$ac_cv_prog_CC
3863 if test -n "$CC"; then
3864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3865 printf "%s\n" "$CC" >&6; }
3866 else
3867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 printf "%s\n" "no" >&6; }
3869 fi
3870
3871
3872 fi
3873 if test -z "$CC"; then
3874 if test -n "$ac_tool_prefix"; then
3875 for ac_prog in cl.exe
3876 do
3877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3878 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 printf %s "checking for $ac_word... " >&6; }
3881 if test ${ac_cv_prog_CC+y}
3882 then :
3883 printf %s "(cached) " >&6
3884 else case e in #(
3885 e) if test -n "$CC"; then
3886 ac_cv_prog_CC="$CC" # Let the user override the test.
3887 else
3888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 for as_dir in $PATH
3890 do
3891 IFS=$as_save_IFS
3892 case $as_dir in #(((
3893 '') as_dir=./ ;;
3894 */) ;;
3895 *) as_dir=$as_dir/ ;;
3896 esac
3897 for ac_exec_ext in '' $ac_executable_extensions; do
3898 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3899 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3901 break 2
3902 fi
3903 done
3904 done
3905 IFS=$as_save_IFS
3906
3907 fi ;;
3908 esac
3909 fi
3910 CC=$ac_cv_prog_CC
3911 if test -n "$CC"; then
3912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3913 printf "%s\n" "$CC" >&6; }
3914 else
3915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 printf "%s\n" "no" >&6; }
3917 fi
3918
3919
3920 test -n "$CC" && break
3921 done
3922 fi
3923 if test -z "$CC"; then
3924 ac_ct_CC=$CC
3925 for ac_prog in cl.exe
3926 do
3927 # Extract the first word of "$ac_prog", so it can be a program name with args.
3928 set dummy $ac_prog; ac_word=$2
3929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 printf %s "checking for $ac_word... " >&6; }
3931 if test ${ac_cv_prog_ac_ct_CC+y}
3932 then :
3933 printf %s "(cached) " >&6
3934 else case e in #(
3935 e) if test -n "$ac_ct_CC"; then
3936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3937 else
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 for as_dir in $PATH
3940 do
3941 IFS=$as_save_IFS
3942 case $as_dir in #(((
3943 '') as_dir=./ ;;
3944 */) ;;
3945 *) as_dir=$as_dir/ ;;
3946 esac
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3949 ac_cv_prog_ac_ct_CC="$ac_prog"
3950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3951 break 2
3952 fi
3953 done
3954 done
3955 IFS=$as_save_IFS
3956
3957 fi ;;
3958 esac
3959 fi
3960 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3961 if test -n "$ac_ct_CC"; then
3962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3963 printf "%s\n" "$ac_ct_CC" >&6; }
3964 else
3965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 printf "%s\n" "no" >&6; }
3967 fi
3968
3969
3970 test -n "$ac_ct_CC" && break
3971 done
3972
3973 if test "x$ac_ct_CC" = x; then
3974 CC=""
3975 else
3976 case $cross_compiling:$ac_tool_warned in
3977 yes:)
3978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3979 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3980 ac_tool_warned=yes ;;
3981 esac
3982 CC=$ac_ct_CC
3983 fi
3984 fi
3985
3986 fi
3987 if test -z "$CC"; then
3988 if test -n "$ac_tool_prefix"; then
3989 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3990 set dummy ${ac_tool_prefix}clang; ac_word=$2
3991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992 printf %s "checking for $ac_word... " >&6; }
3993 if test ${ac_cv_prog_CC+y}
3994 then :
3995 printf %s "(cached) " >&6
3996 else case e in #(
3997 e) if test -n "$CC"; then
3998 ac_cv_prog_CC="$CC" # Let the user override the test.
3999 else
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 for as_dir in $PATH
4002 do
4003 IFS=$as_save_IFS
4004 case $as_dir in #(((
4005 '') as_dir=./ ;;
4006 */) ;;
4007 *) as_dir=$as_dir/ ;;
4008 esac
4009 for ac_exec_ext in '' $ac_executable_extensions; do
4010 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4011 ac_cv_prog_CC="${ac_tool_prefix}clang"
4012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4013 break 2
4014 fi
4015 done
4016 done
4017 IFS=$as_save_IFS
4018
4019 fi ;;
4020 esac
4021 fi
4022 CC=$ac_cv_prog_CC
4023 if test -n "$CC"; then
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4025 printf "%s\n" "$CC" >&6; }
4026 else
4027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 printf "%s\n" "no" >&6; }
4029 fi
4030
4031
4032 fi
4033 if test -z "$ac_cv_prog_CC"; then
4034 ac_ct_CC=$CC
4035 # Extract the first word of "clang", so it can be a program name with args.
4036 set dummy clang; ac_word=$2
4037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 printf %s "checking for $ac_word... " >&6; }
4039 if test ${ac_cv_prog_ac_ct_CC+y}
4040 then :
4041 printf %s "(cached) " >&6
4042 else case e in #(
4043 e) if test -n "$ac_ct_CC"; then
4044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4045 else
4046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 for as_dir in $PATH
4048 do
4049 IFS=$as_save_IFS
4050 case $as_dir in #(((
4051 '') as_dir=./ ;;
4052 */) ;;
4053 *) as_dir=$as_dir/ ;;
4054 esac
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4057 ac_cv_prog_ac_ct_CC="clang"
4058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4059 break 2
4060 fi
4061 done
4062 done
4063 IFS=$as_save_IFS
4064
4065 fi ;;
4066 esac
4067 fi
4068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4069 if test -n "$ac_ct_CC"; then
4070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4071 printf "%s\n" "$ac_ct_CC" >&6; }
4072 else
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 printf "%s\n" "no" >&6; }
4075 fi
4076
4077 if test "x$ac_ct_CC" = x; then
4078 CC=""
4079 else
4080 case $cross_compiling:$ac_tool_warned in
4081 yes:)
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4083 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4084 ac_tool_warned=yes ;;
4085 esac
4086 CC=$ac_ct_CC
4087 fi
4088 else
4089 CC="$ac_cv_prog_CC"
4090 fi
4091
4092 fi
4093
4094
4095 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4096 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4097 as_fn_error $? "no acceptable C compiler found in \$PATH
4098 See 'config.log' for more details" "$LINENO" 5; }
4099
4100 # Provide some information about the compiler.
4101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4102 set X $ac_compile
4103 ac_compiler=$2
4104 for ac_option in --version -v -V -qversion -version; do
4105 { { ac_try="$ac_compiler $ac_option >&5"
4106 case "(($ac_try" in
4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4109 esac
4110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4111 printf "%s\n" "$ac_try_echo"; } >&5
4112 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4113 ac_status=$?
4114 if test -s conftest.err; then
4115 sed '10a\
4116 ... rest of stderr output deleted ...
4117 10q' conftest.err >conftest.er1
4118 cat conftest.er1 >&5
4119 fi
4120 rm -f conftest.er1 conftest.err
4121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }
4123 done
4124
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4127
4128 int
4129 main (void)
4130 {
4131
4132 ;
4133 return 0;
4134 }
4135 _ACEOF
4136 ac_clean_files_save=$ac_clean_files
4137 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4138 # Try to create an executable without -o first, disregard a.out.
4139 # It will help us diagnose broken compilers, and finding out an intuition
4140 # of exeext.
4141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4142 printf %s "checking whether the C compiler works... " >&6; }
4143 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4144
4145 # The possible output files:
4146 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4147
4148 ac_rmfiles=
4149 for ac_file in $ac_files
4150 do
4151 case $ac_file in
4152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4153 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4154 esac
4155 done
4156 rm -f $ac_rmfiles
4157
4158 if { { ac_try="$ac_link_default"
4159 case "(($ac_try" in
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4162 esac
4163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4164 printf "%s\n" "$ac_try_echo"; } >&5
4165 (eval "$ac_link_default") 2>&5
4166 ac_status=$?
4167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4168 test $ac_status = 0; }
4169 then :
4170 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4171 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4172 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4173 # so that the user can short-circuit this test for compilers unknown to
4174 # Autoconf.
4175 for ac_file in $ac_files ''
4176 do
4177 test -f "$ac_file" || continue
4178 case $ac_file in
4179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4180 ;;
4181 [ab].out )
4182 # We found the default executable, but exeext='' is most
4183 # certainly right.
4184 break;;
4185 *.* )
4186 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4187 then :; else
4188 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4189 fi
4190 # We set ac_cv_exeext here because the later test for it is not
4191 # safe: cross compilers may not add the suffix if given an '-o'
4192 # argument, so we may need to know it at that point already.
4193 # Even if this section looks crufty: it has the advantage of
4194 # actually working.
4195 break;;
4196 * )
4197 break;;
4198 esac
4199 done
4200 test "$ac_cv_exeext" = no && ac_cv_exeext=
4201
4202 else case e in #(
4203 e) ac_file='' ;;
4204 esac
4205 fi
4206 if test -z "$ac_file"
4207 then :
4208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4209 printf "%s\n" "no" >&6; }
4210 printf "%s\n" "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.$ac_ext >&5
4212
4213 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4214 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4215 as_fn_error 77 "C compiler cannot create executables
4216 See 'config.log' for more details" "$LINENO" 5; }
4217 else case e in #(
4218 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4219 printf "%s\n" "yes" >&6; } ;;
4220 esac
4221 fi
4222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4223 printf %s "checking for C compiler default output file name... " >&6; }
4224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4225 printf "%s\n" "$ac_file" >&6; }
4226 ac_exeext=$ac_cv_exeext
4227
4228 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4229 ac_clean_files=$ac_clean_files_save
4230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4231 printf %s "checking for suffix of executables... " >&6; }
4232 if { { ac_try="$ac_link"
4233 case "(($ac_try" in
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4236 esac
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 printf "%s\n" "$ac_try_echo"; } >&5
4239 (eval "$ac_link") 2>&5
4240 ac_status=$?
4241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4242 test $ac_status = 0; }
4243 then :
4244 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4245 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4246 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4247 # 'rm'.
4248 for ac_file in conftest.exe conftest conftest.*; do
4249 test -f "$ac_file" || continue
4250 case $ac_file in
4251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4252 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4253 break;;
4254 * ) break;;
4255 esac
4256 done
4257 else case e in #(
4258 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4259 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4260 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4261 See 'config.log' for more details" "$LINENO" 5; } ;;
4262 esac
4263 fi
4264 rm -f conftest conftest$ac_cv_exeext
4265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4266 printf "%s\n" "$ac_cv_exeext" >&6; }
4267
4268 rm -f conftest.$ac_ext
4269 EXEEXT=$ac_cv_exeext
4270 ac_exeext=$EXEEXT
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4273 #include <stdio.h>
4274 int
4275 main (void)
4276 {
4277 FILE *f = fopen ("conftest.out", "w");
4278 if (!f)
4279 return 1;
4280 return ferror (f) || fclose (f) != 0;
4281
4282 ;
4283 return 0;
4284 }
4285 _ACEOF
4286 ac_clean_files="$ac_clean_files conftest.out"
4287 # Check that the compiler produces executables we can run. If not, either
4288 # the compiler is broken, or we cross compile.
4289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4290 printf %s "checking whether we are cross compiling... " >&6; }
4291 if test "$cross_compiling" != yes; then
4292 { { ac_try="$ac_link"
4293 case "(($ac_try" in
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4296 esac
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 printf "%s\n" "$ac_try_echo"; } >&5
4299 (eval "$ac_link") 2>&5
4300 ac_status=$?
4301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302 test $ac_status = 0; }
4303 if { ac_try='./conftest$ac_cv_exeext'
4304 { { case "(($ac_try" in
4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4307 esac
4308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4309 printf "%s\n" "$ac_try_echo"; } >&5
4310 (eval "$ac_try") 2>&5
4311 ac_status=$?
4312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4313 test $ac_status = 0; }; }; then
4314 cross_compiling=no
4315 else
4316 if test "$cross_compiling" = maybe; then
4317 cross_compiling=yes
4318 else
4319 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4320 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4321 as_fn_error 77 "cannot run C compiled programs.
4322 If you meant to cross compile, use '--host'.
4323 See 'config.log' for more details" "$LINENO" 5; }
4324 fi
4325 fi
4326 fi
4327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4328 printf "%s\n" "$cross_compiling" >&6; }
4329
4330 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4331 conftest.o conftest.obj conftest.out
4332 ac_clean_files=$ac_clean_files_save
4333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4334 printf %s "checking for suffix of object files... " >&6; }
4335 if test ${ac_cv_objext+y}
4336 then :
4337 printf %s "(cached) " >&6
4338 else case e in #(
4339 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4340 /* end confdefs.h. */
4341
4342 int
4343 main (void)
4344 {
4345
4346 ;
4347 return 0;
4348 }
4349 _ACEOF
4350 rm -f conftest.o conftest.obj
4351 if { { ac_try="$ac_compile"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4357 printf "%s\n" "$ac_try_echo"; } >&5
4358 (eval "$ac_compile") 2>&5
4359 ac_status=$?
4360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4361 test $ac_status = 0; }
4362 then :
4363 for ac_file in conftest.o conftest.obj conftest.*; do
4364 test -f "$ac_file" || continue;
4365 case $ac_file in
4366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4367 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4368 break;;
4369 esac
4370 done
4371 else case e in #(
4372 e) printf "%s\n" "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4374
4375 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4376 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4377 as_fn_error $? "cannot compute suffix of object files: cannot compile
4378 See 'config.log' for more details" "$LINENO" 5; } ;;
4379 esac
4380 fi
4381 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4382 esac
4383 fi
4384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4385 printf "%s\n" "$ac_cv_objext" >&6; }
4386 OBJEXT=$ac_cv_objext
4387 ac_objext=$OBJEXT
4388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4389 printf %s "checking whether the compiler supports GNU C... " >&6; }
4390 if test ${ac_cv_c_compiler_gnu+y}
4391 then :
4392 printf %s "(cached) " >&6
4393 else case e in #(
4394 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4396
4397 int
4398 main (void)
4399 {
4400 #ifndef __GNUC__
4401 choke me
4402 #endif
4403
4404 ;
4405 return 0;
4406 }
4407 _ACEOF
4408 if ac_fn_c_try_compile "$LINENO"
4409 then :
4410 ac_compiler_gnu=yes
4411 else case e in #(
4412 e) ac_compiler_gnu=no ;;
4413 esac
4414 fi
4415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4416 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4417 ;;
4418 esac
4419 fi
4420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4421 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4423
4424 if test $ac_compiler_gnu = yes; then
4425 GCC=yes
4426 else
4427 GCC=
4428 fi
4429 ac_test_CFLAGS=${CFLAGS+y}
4430 ac_save_CFLAGS=$CFLAGS
4431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4432 printf %s "checking whether $CC accepts -g... " >&6; }
4433 if test ${ac_cv_prog_cc_g+y}
4434 then :
4435 printf %s "(cached) " >&6
4436 else case e in #(
4437 e) ac_save_c_werror_flag=$ac_c_werror_flag
4438 ac_c_werror_flag=yes
4439 ac_cv_prog_cc_g=no
4440 CFLAGS="-g"
4441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4442 /* end confdefs.h. */
4443
4444 int
4445 main (void)
4446 {
4447
4448 ;
4449 return 0;
4450 }
4451 _ACEOF
4452 if ac_fn_c_try_compile "$LINENO"
4453 then :
4454 ac_cv_prog_cc_g=yes
4455 else case e in #(
4456 e) CFLAGS=""
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4459
4460 int
4461 main (void)
4462 {
4463
4464 ;
4465 return 0;
4466 }
4467 _ACEOF
4468 if ac_fn_c_try_compile "$LINENO"
4469 then :
4470
4471 else case e in #(
4472 e) ac_c_werror_flag=$ac_save_c_werror_flag
4473 CFLAGS="-g"
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4476
4477 int
4478 main (void)
4479 {
4480
4481 ;
4482 return 0;
4483 }
4484 _ACEOF
4485 if ac_fn_c_try_compile "$LINENO"
4486 then :
4487 ac_cv_prog_cc_g=yes
4488 fi
4489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4490 esac
4491 fi
4492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4493 esac
4494 fi
4495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4496 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4497 esac
4498 fi
4499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4500 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4501 if test $ac_test_CFLAGS; then
4502 CFLAGS=$ac_save_CFLAGS
4503 elif test $ac_cv_prog_cc_g = yes; then
4504 if test "$GCC" = yes; then
4505 CFLAGS="-g -O2"
4506 else
4507 CFLAGS="-g"
4508 fi
4509 else
4510 if test "$GCC" = yes; then
4511 CFLAGS="-O2"
4512 else
4513 CFLAGS=
4514 fi
4515 fi
4516 ac_prog_cc_stdc=no
4517 if test x$ac_prog_cc_stdc = xno
4518 then :
4519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4520 printf %s "checking for $CC option to enable C11 features... " >&6; }
4521 if test ${ac_cv_prog_cc_c11+y}
4522 then :
4523 printf %s "(cached) " >&6
4524 else case e in #(
4525 e) ac_cv_prog_cc_c11=no
4526 ac_save_CC=$CC
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4529 $ac_c_conftest_c11_program
4530 _ACEOF
4531 for ac_arg in '' -std=gnu11
4532 do
4533 CC="$ac_save_CC $ac_arg"
4534 if ac_fn_c_try_compile "$LINENO"
4535 then :
4536 ac_cv_prog_cc_c11=$ac_arg
4537 fi
4538 rm -f core conftest.err conftest.$ac_objext conftest.beam
4539 test "x$ac_cv_prog_cc_c11" != "xno" && break
4540 done
4541 rm -f conftest.$ac_ext
4542 CC=$ac_save_CC ;;
4543 esac
4544 fi
4545
4546 if test "x$ac_cv_prog_cc_c11" = xno
4547 then :
4548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4549 printf "%s\n" "unsupported" >&6; }
4550 else case e in #(
4551 e) if test "x$ac_cv_prog_cc_c11" = x
4552 then :
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4554 printf "%s\n" "none needed" >&6; }
4555 else case e in #(
4556 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4557 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4558 CC="$CC $ac_cv_prog_cc_c11" ;;
4559 esac
4560 fi
4561 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4562 ac_prog_cc_stdc=c11 ;;
4563 esac
4564 fi
4565 fi
4566 if test x$ac_prog_cc_stdc = xno
4567 then :
4568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4569 printf %s "checking for $CC option to enable C99 features... " >&6; }
4570 if test ${ac_cv_prog_cc_c99+y}
4571 then :
4572 printf %s "(cached) " >&6
4573 else case e in #(
4574 e) ac_cv_prog_cc_c99=no
4575 ac_save_CC=$CC
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4578 $ac_c_conftest_c99_program
4579 _ACEOF
4580 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4581 do
4582 CC="$ac_save_CC $ac_arg"
4583 if ac_fn_c_try_compile "$LINENO"
4584 then :
4585 ac_cv_prog_cc_c99=$ac_arg
4586 fi
4587 rm -f core conftest.err conftest.$ac_objext conftest.beam
4588 test "x$ac_cv_prog_cc_c99" != "xno" && break
4589 done
4590 rm -f conftest.$ac_ext
4591 CC=$ac_save_CC ;;
4592 esac
4593 fi
4594
4595 if test "x$ac_cv_prog_cc_c99" = xno
4596 then :
4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4598 printf "%s\n" "unsupported" >&6; }
4599 else case e in #(
4600 e) if test "x$ac_cv_prog_cc_c99" = x
4601 then :
4602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4603 printf "%s\n" "none needed" >&6; }
4604 else case e in #(
4605 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4606 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4607 CC="$CC $ac_cv_prog_cc_c99" ;;
4608 esac
4609 fi
4610 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4611 ac_prog_cc_stdc=c99 ;;
4612 esac
4613 fi
4614 fi
4615 if test x$ac_prog_cc_stdc = xno
4616 then :
4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4618 printf %s "checking for $CC option to enable C89 features... " >&6; }
4619 if test ${ac_cv_prog_cc_c89+y}
4620 then :
4621 printf %s "(cached) " >&6
4622 else case e in #(
4623 e) ac_cv_prog_cc_c89=no
4624 ac_save_CC=$CC
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4627 $ac_c_conftest_c89_program
4628 _ACEOF
4629 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4630 do
4631 CC="$ac_save_CC $ac_arg"
4632 if ac_fn_c_try_compile "$LINENO"
4633 then :
4634 ac_cv_prog_cc_c89=$ac_arg
4635 fi
4636 rm -f core conftest.err conftest.$ac_objext conftest.beam
4637 test "x$ac_cv_prog_cc_c89" != "xno" && break
4638 done
4639 rm -f conftest.$ac_ext
4640 CC=$ac_save_CC ;;
4641 esac
4642 fi
4643
4644 if test "x$ac_cv_prog_cc_c89" = xno
4645 then :
4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4647 printf "%s\n" "unsupported" >&6; }
4648 else case e in #(
4649 e) if test "x$ac_cv_prog_cc_c89" = x
4650 then :
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4652 printf "%s\n" "none needed" >&6; }
4653 else case e in #(
4654 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4655 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4656 CC="$CC $ac_cv_prog_cc_c89" ;;
4657 esac
4658 fi
4659 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4660 ac_prog_cc_stdc=c89 ;;
4661 esac
4662 fi
4663 fi
4664
4665 ac_ext=c
4666 ac_cpp='$CPP $CPPFLAGS'
4667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4670
4671
4672 ac_ext=c
4673 ac_cpp='$CPP $CPPFLAGS'
4674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4678 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4679 if test ${am_cv_prog_cc_c_o+y}
4680 then :
4681 printf %s "(cached) " >&6
4682 else case e in #(
4683 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4685
4686 int
4687 main (void)
4688 {
4689
4690 ;
4691 return 0;
4692 }
4693 _ACEOF
4694 # Make sure it works both with $CC and with simple cc.
4695 # Following AC_PROG_CC_C_O, we do the test twice because some
4696 # compilers refuse to overwrite an existing .o file with -o,
4697 # though they will create one.
4698 am_cv_prog_cc_c_o=yes
4699 for am_i in 1 2; do
4700 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4701 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4702 ac_status=$?
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } \
4705 && test -f conftest2.$ac_objext; then
4706 : OK
4707 else
4708 am_cv_prog_cc_c_o=no
4709 break
4710 fi
4711 done
4712 # aligned with autoconf, so not including core; see bug#72225.
4713 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4714 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4715 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4716 unset am_i ;;
4717 esac
4718 fi
4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4720 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4721 if test "$am_cv_prog_cc_c_o" != yes; then
4722 # Losing compiler, so override with the script.
4723 # FIXME: It is wrong to rewrite CC.
4724 # But if we don't then we get into trouble of one sort or another.
4725 # A longer-term fix would be to have automake use am__CC in this case,
4726 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4727 CC="$am_aux_dir/compile $CC"
4728 fi
4729 ac_ext=c
4730 ac_cpp='$CPP $CPPFLAGS'
4731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4734
4735
4736 depcc="$CC" am_compiler_list=
4737
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4739 printf %s "checking dependency style of $depcc... " >&6; }
4740 if test ${am_cv_CC_dependencies_compiler_type+y}
4741 then :
4742 printf %s "(cached) " >&6
4743 else case e in #(
4744 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4745 # We make a subdir and do the tests there. Otherwise we can end up
4746 # making bogus files that we don't know about and never remove. For
4747 # instance it was reported that on HP-UX the gcc test will end up
4748 # making a dummy file named 'D' -- because '-MD' means "put the output
4749 # in D".
4750 rm -rf conftest.dir
4751 mkdir conftest.dir
4752 # Copy depcomp to subdir because otherwise we won't find it if we're
4753 # using a relative directory.
4754 cp "$am_depcomp" conftest.dir
4755 cd conftest.dir
4756 # We will build objects and dependencies in a subdirectory because
4757 # it helps to detect inapplicable dependency modes. For instance
4758 # both Tru64's cc and ICC support -MD to output dependencies as a
4759 # side effect of compilation, but ICC will put the dependencies in
4760 # the current directory while Tru64 will put them in the object
4761 # directory.
4762 mkdir sub
4763
4764 am_cv_CC_dependencies_compiler_type=none
4765 if test "$am_compiler_list" = ""; then
4766 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4767 fi
4768 am__universal=false
4769 case " $depcc " in #(
4770 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4771 esac
4772
4773 for depmode in $am_compiler_list; do
4774 # Setup a source with many dependencies, because some compilers
4775 # like to wrap large dependency lists on column 80 (with \), and
4776 # we should not choose a depcomp mode which is confused by this.
4777 #
4778 # We need to recreate these files for each test, as the compiler may
4779 # overwrite some of them when testing with obscure command lines.
4780 # This happens at least with the AIX C compiler.
4781 : > sub/conftest.c
4782 for i in 1 2 3 4 5 6; do
4783 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4784 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4785 # Solaris 10 /bin/sh.
4786 echo '/* dummy */' > sub/conftst$i.h
4787 done
4788 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4789
4790 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4791 # mode. It turns out that the SunPro C++ compiler does not properly
4792 # handle '-M -o', and we need to detect this. Also, some Intel
4793 # versions had trouble with output in subdirs.
4794 am__obj=sub/conftest.${OBJEXT-o}
4795 am__minus_obj="-o $am__obj"
4796 case $depmode in
4797 gcc)
4798 # This depmode causes a compiler race in universal mode.
4799 test "$am__universal" = false || continue
4800 ;;
4801 nosideeffect)
4802 # After this tag, mechanisms are not by side-effect, so they'll
4803 # only be used when explicitly requested.
4804 if test "x$enable_dependency_tracking" = xyes; then
4805 continue
4806 else
4807 break
4808 fi
4809 ;;
4810 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4811 # This compiler won't grok '-c -o', but also, the minuso test has
4812 # not run yet. These depmodes are late enough in the game, and
4813 # so weak that their functioning should not be impacted.
4814 am__obj=conftest.${OBJEXT-o}
4815 am__minus_obj=
4816 ;;
4817 none) break ;;
4818 esac
4819 if depmode=$depmode \
4820 source=sub/conftest.c object=$am__obj \
4821 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4822 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4823 >/dev/null 2>conftest.err &&
4824 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4825 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4826 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4827 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4828 # icc doesn't choke on unknown options, it will just issue warnings
4829 # or remarks (even with -Werror). So we grep stderr for any message
4830 # that says an option was ignored or not supported.
4831 # When given -MP, icc 7.0 and 7.1 complain thus:
4832 # icc: Command line warning: ignoring option '-M'; no argument required
4833 # The diagnosis changed in icc 8.0:
4834 # icc: Command line remark: option '-MP' not supported
4835 if (grep 'ignoring option' conftest.err ||
4836 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4837 am_cv_CC_dependencies_compiler_type=$depmode
4838 break
4839 fi
4840 fi
4841 done
4842
4843 cd ..
4844 rm -rf conftest.dir
4845 else
4846 am_cv_CC_dependencies_compiler_type=none
4847 fi
4848 ;;
4849 esac
4850 fi
4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4852 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4853 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4854
4855 if
4856 test "x$enable_dependency_tracking" != xno \
4857 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4858 am__fastdepCC_TRUE=
4859 am__fastdepCC_FALSE='#'
4860 else
4861 am__fastdepCC_TRUE='#'
4862 am__fastdepCC_FALSE=
4863 fi
4864
4865
4866
4867 ac_header= ac_cache=
4868 for ac_item in $ac_header_c_list
4869 do
4870 if test $ac_cache; then
4871 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4872 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4873 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4874 fi
4875 ac_header= ac_cache=
4876 elif test $ac_header; then
4877 ac_cache=$ac_item
4878 else
4879 ac_header=$ac_item
4880 fi
4881 done
4882
4883
4884
4885
4886
4887
4888
4889
4890 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4891 then :
4892
4893 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4894
4895 fi
4896
4897
4898
4899
4900
4901
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4903 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4904 if test ${ac_cv_safe_to_define___extensions__+y}
4905 then :
4906 printf %s "(cached) " >&6
4907 else case e in #(
4908 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4910
4911 # define __EXTENSIONS__ 1
4912 $ac_includes_default
4913 int
4914 main (void)
4915 {
4916
4917 ;
4918 return 0;
4919 }
4920 _ACEOF
4921 if ac_fn_c_try_compile "$LINENO"
4922 then :
4923 ac_cv_safe_to_define___extensions__=yes
4924 else case e in #(
4925 e) ac_cv_safe_to_define___extensions__=no ;;
4926 esac
4927 fi
4928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4929 esac
4930 fi
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4932 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4933
4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4935 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4936 if test ${ac_cv_should_define__xopen_source+y}
4937 then :
4938 printf %s "(cached) " >&6
4939 else case e in #(
4940 e) ac_cv_should_define__xopen_source=no
4941 if test $ac_cv_header_wchar_h = yes
4942 then :
4943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4944 /* end confdefs.h. */
4945
4946 #include <wchar.h>
4947 mbstate_t x;
4948 int
4949 main (void)
4950 {
4951
4952 ;
4953 return 0;
4954 }
4955 _ACEOF
4956 if ac_fn_c_try_compile "$LINENO"
4957 then :
4958
4959 else case e in #(
4960 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4962
4963 #define _XOPEN_SOURCE 500
4964 #include <wchar.h>
4965 mbstate_t x;
4966 int
4967 main (void)
4968 {
4969
4970 ;
4971 return 0;
4972 }
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"
4975 then :
4976 ac_cv_should_define__xopen_source=yes
4977 fi
4978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4979 esac
4980 fi
4981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4982 fi ;;
4983 esac
4984 fi
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4986 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4987
4988 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4989
4990 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4991
4992 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4993
4994 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4995
4996 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4997
4998 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4999
5000 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5001
5002 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5003
5004 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5005
5006 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5007
5008 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
5009
5010 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5011
5012 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5013
5014 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5015
5016 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5017
5018 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5019
5020 if test $ac_cv_header_minix_config_h = yes
5021 then :
5022 MINIX=yes
5023 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5024
5025 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5026
5027 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5028
5029 else case e in #(
5030 e) MINIX= ;;
5031 esac
5032 fi
5033 if test $ac_cv_safe_to_define___extensions__ = yes
5034 then :
5035 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5036
5037 fi
5038 if test $ac_cv_should_define__xopen_source = yes
5039 then :
5040 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5041
5042 fi
5043
5044 # Check whether --enable-compiler-warnings was given.
5045 if test ${enable_compiler_warnings+y}
5046 then :
5047 enableval=$enable_compiler_warnings;
5048 fi
5049 case $enable_compiler_warnings in #(
5050 no | min | yes | max | all) :
5051 ;; #(
5052 *) :
5053 if test "x$enable_maintainer_mode" = xyes
5054 then :
5055 enable_compiler_warnings=yes
5056 else case e in #(
5057 e) enable_compiler_warnings=min ;;
5058 esac
5059 fi ;;
5060 esac
5061
5062 case `pwd` in
5063 *\ * | *\ *)
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5065 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5066 esac
5067
5068
5069
5070 macro_version='2.5.4'
5071 macro_revision='2.5.4'
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086 ltmain=$ac_aux_dir/ltmain.sh
5087
5088
5089
5090 # Make sure we can run config.sub.
5091 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5092 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5093
5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5095 printf %s "checking build system type... " >&6; }
5096 if test ${ac_cv_build+y}
5097 then :
5098 printf %s "(cached) " >&6
5099 else case e in #(
5100 e) ac_build_alias=$build_alias
5101 test "x$ac_build_alias" = x &&
5102 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5103 test "x$ac_build_alias" = x &&
5104 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5105 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5106 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5107 ;;
5108 esac
5109 fi
5110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5111 printf "%s\n" "$ac_cv_build" >&6; }
5112 case $ac_cv_build in
5113 *-*-*) ;;
5114 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5115 esac
5116 build=$ac_cv_build
5117 ac_save_IFS=$IFS; IFS='-'
5118 set x $ac_cv_build
5119 shift
5120 build_cpu=$1
5121 build_vendor=$2
5122 shift; shift
5123 # Remember, the first character of IFS is used to create $*,
5124 # except with old shells:
5125 build_os=$*
5126 IFS=$ac_save_IFS
5127 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5128
5129
5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5131 printf %s "checking host system type... " >&6; }
5132 if test ${ac_cv_host+y}
5133 then :
5134 printf %s "(cached) " >&6
5135 else case e in #(
5136 e) if test "x$host_alias" = x; then
5137 ac_cv_host=$ac_cv_build
5138 else
5139 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5140 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5141 fi
5142 ;;
5143 esac
5144 fi
5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5146 printf "%s\n" "$ac_cv_host" >&6; }
5147 case $ac_cv_host in
5148 *-*-*) ;;
5149 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5150 esac
5151 host=$ac_cv_host
5152 ac_save_IFS=$IFS; IFS='-'
5153 set x $ac_cv_host
5154 shift
5155 host_cpu=$1
5156 host_vendor=$2
5157 shift; shift
5158 # Remember, the first character of IFS is used to create $*,
5159 # except with old shells:
5160 host_os=$*
5161 IFS=$ac_save_IFS
5162 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5163
5164
5165 # Backslashify metacharacters that are still active within
5166 # double-quoted strings.
5167 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5168
5169 # Same as above, but do not quote variable references.
5170 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5171
5172 # Sed substitution to delay expansion of an escaped shell variable in a
5173 # double_quote_subst'ed string.
5174 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5175
5176 # Sed substitution to delay expansion of an escaped single quote.
5177 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5178
5179 # Sed substitution to avoid accidental globbing in evaled expressions
5180 no_glob_subst='s/\*/\\\*/g'
5181
5182 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5183 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5184 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5185
5186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5187 printf %s "checking how to print strings... " >&6; }
5188 # Test print first, because it will be a builtin if present.
5189 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5190 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5191 ECHO='print -r --'
5192 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5193 ECHO='printf %s\n'
5194 else
5195 # Use this function as a fallback that always works.
5196 func_fallback_echo ()
5197 {
5198 eval 'cat <<_LTECHO_EOF
5199 $1
5200 _LTECHO_EOF'
5201 }
5202 ECHO='func_fallback_echo'
5203 fi
5204
5205 # func_echo_all arg...
5206 # Invoke $ECHO with all args, space-separated.
5207 func_echo_all ()
5208 {
5209 $ECHO ""
5210 }
5211
5212 case $ECHO in
5213 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5214 printf "%s\n" "printf" >&6; } ;;
5215 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5216 printf "%s\n" "print -r" >&6; } ;;
5217 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5218 printf "%s\n" "cat" >&6; } ;;
5219 esac
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5235 printf %s "checking for a sed that does not truncate output... " >&6; }
5236 if test ${ac_cv_path_SED+y}
5237 then :
5238 printf %s "(cached) " >&6
5239 else case e in #(
5240 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5241 for ac_i in 1 2 3 4 5 6 7; do
5242 ac_script="$ac_script$as_nl$ac_script"
5243 done
5244 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5245 { ac_script=; unset ac_script;}
5246 if test -z "$SED"; then
5247 ac_path_SED_found=false
5248 # Loop through the user's path and test for each of PROGNAME-LIST
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5251 do
5252 IFS=$as_save_IFS
5253 case $as_dir in #(((
5254 '') as_dir=./ ;;
5255 */) ;;
5256 *) as_dir=$as_dir/ ;;
5257 esac
5258 for ac_prog in sed gsed
5259 do
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5262 as_fn_executable_p "$ac_path_SED" || continue
5263 # Check for GNU ac_path_SED and select it if it is found.
5264 # Check for GNU $ac_path_SED
5265 case `"$ac_path_SED" --version 2>&1` in #(
5266 *GNU*)
5267 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5268 #(
5269 *)
5270 ac_count=0
5271 printf %s 0123456789 >"conftest.in"
5272 while :
5273 do
5274 cat "conftest.in" "conftest.in" >"conftest.tmp"
5275 mv "conftest.tmp" "conftest.in"
5276 cp "conftest.in" "conftest.nl"
5277 printf "%s\n" '' >> "conftest.nl"
5278 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5279 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5280 as_fn_arith $ac_count + 1 && ac_count=$as_val
5281 if test $ac_count -gt ${ac_path_SED_max-0}; then
5282 # Best one so far, save it but keep looking for a better one
5283 ac_cv_path_SED="$ac_path_SED"
5284 ac_path_SED_max=$ac_count
5285 fi
5286 # 10*(2^10) chars as input seems more than enough
5287 test $ac_count -gt 10 && break
5288 done
5289 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5290 esac
5291
5292 $ac_path_SED_found && break 3
5293 done
5294 done
5295 done
5296 IFS=$as_save_IFS
5297 if test -z "$ac_cv_path_SED"; then
5298 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5299 fi
5300 else
5301 ac_cv_path_SED=$SED
5302 fi
5303 ;;
5304 esac
5305 fi
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5307 printf "%s\n" "$ac_cv_path_SED" >&6; }
5308 SED="$ac_cv_path_SED"
5309 rm -f conftest.sed
5310
5311 test -z "$SED" && SED=sed
5312 Xsed="$SED -e 1s/^X//"
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5325 printf %s "checking for grep that handles long lines and -e... " >&6; }
5326 if test ${ac_cv_path_GREP+y}
5327 then :
5328 printf %s "(cached) " >&6
5329 else case e in #(
5330 e) if test -z "$GREP"; then
5331 ac_path_GREP_found=false
5332 # Loop through the user's path and test for each of PROGNAME-LIST
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5335 do
5336 IFS=$as_save_IFS
5337 case $as_dir in #(((
5338 '') as_dir=./ ;;
5339 */) ;;
5340 *) as_dir=$as_dir/ ;;
5341 esac
5342 for ac_prog in grep ggrep
5343 do
5344 for ac_exec_ext in '' $ac_executable_extensions; do
5345 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5346 as_fn_executable_p "$ac_path_GREP" || continue
5347 # Check for GNU ac_path_GREP and select it if it is found.
5348 # Check for GNU $ac_path_GREP
5349 case `"$ac_path_GREP" --version 2>&1` in #(
5350 *GNU*)
5351 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5352 #(
5353 *)
5354 ac_count=0
5355 printf %s 0123456789 >"conftest.in"
5356 while :
5357 do
5358 cat "conftest.in" "conftest.in" >"conftest.tmp"
5359 mv "conftest.tmp" "conftest.in"
5360 cp "conftest.in" "conftest.nl"
5361 printf "%s\n" 'GREP' >> "conftest.nl"
5362 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5363 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5364 as_fn_arith $ac_count + 1 && ac_count=$as_val
5365 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5366 # Best one so far, save it but keep looking for a better one
5367 ac_cv_path_GREP="$ac_path_GREP"
5368 ac_path_GREP_max=$ac_count
5369 fi
5370 # 10*(2^10) chars as input seems more than enough
5371 test $ac_count -gt 10 && break
5372 done
5373 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5374 esac
5375
5376 $ac_path_GREP_found && break 3
5377 done
5378 done
5379 done
5380 IFS=$as_save_IFS
5381 if test -z "$ac_cv_path_GREP"; then
5382 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5383 fi
5384 else
5385 ac_cv_path_GREP=$GREP
5386 fi
5387 ;;
5388 esac
5389 fi
5390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5391 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5392 GREP="$ac_cv_path_GREP"
5393
5394
5395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5396 printf %s "checking for egrep... " >&6; }
5397 if test ${ac_cv_path_EGREP+y}
5398 then :
5399 printf %s "(cached) " >&6
5400 else case e in #(
5401 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5402 then ac_cv_path_EGREP="$GREP -E"
5403 else
5404 if test -z "$EGREP"; then
5405 ac_path_EGREP_found=false
5406 # Loop through the user's path and test for each of PROGNAME-LIST
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5409 do
5410 IFS=$as_save_IFS
5411 case $as_dir in #(((
5412 '') as_dir=./ ;;
5413 */) ;;
5414 *) as_dir=$as_dir/ ;;
5415 esac
5416 for ac_prog in egrep
5417 do
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5420 as_fn_executable_p "$ac_path_EGREP" || continue
5421 # Check for GNU ac_path_EGREP and select it if it is found.
5422 # Check for GNU $ac_path_EGREP
5423 case `"$ac_path_EGREP" --version 2>&1` in #(
5424 *GNU*)
5425 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5426 #(
5427 *)
5428 ac_count=0
5429 printf %s 0123456789 >"conftest.in"
5430 while :
5431 do
5432 cat "conftest.in" "conftest.in" >"conftest.tmp"
5433 mv "conftest.tmp" "conftest.in"
5434 cp "conftest.in" "conftest.nl"
5435 printf "%s\n" 'EGREP' >> "conftest.nl"
5436 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5438 as_fn_arith $ac_count + 1 && ac_count=$as_val
5439 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5440 # Best one so far, save it but keep looking for a better one
5441 ac_cv_path_EGREP="$ac_path_EGREP"
5442 ac_path_EGREP_max=$ac_count
5443 fi
5444 # 10*(2^10) chars as input seems more than enough
5445 test $ac_count -gt 10 && break
5446 done
5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5448 esac
5449
5450 $ac_path_EGREP_found && break 3
5451 done
5452 done
5453 done
5454 IFS=$as_save_IFS
5455 if test -z "$ac_cv_path_EGREP"; then
5456 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5457 fi
5458 else
5459 ac_cv_path_EGREP=$EGREP
5460 fi
5461
5462 fi ;;
5463 esac
5464 fi
5465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5466 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5467 EGREP="$ac_cv_path_EGREP"
5468
5469 EGREP_TRADITIONAL=$EGREP
5470 ac_cv_path_EGREP_TRADITIONAL=$EGREP
5471
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5473 printf %s "checking for fgrep... " >&6; }
5474 if test ${ac_cv_path_FGREP+y}
5475 then :
5476 printf %s "(cached) " >&6
5477 else case e in #(
5478 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5486 do
5487 IFS=$as_save_IFS
5488 case $as_dir in #(((
5489 '') as_dir=./ ;;
5490 */) ;;
5491 *) as_dir=$as_dir/ ;;
5492 esac
5493 for ac_prog in fgrep
5494 do
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5497 as_fn_executable_p "$ac_path_FGREP" || continue
5498 # Check for GNU ac_path_FGREP and select it if it is found.
5499 # Check for GNU $ac_path_FGREP
5500 case `"$ac_path_FGREP" --version 2>&1` in #(
5501 *GNU*)
5502 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5503 #(
5504 *)
5505 ac_count=0
5506 printf %s 0123456789 >"conftest.in"
5507 while :
5508 do
5509 cat "conftest.in" "conftest.in" >"conftest.tmp"
5510 mv "conftest.tmp" "conftest.in"
5511 cp "conftest.in" "conftest.nl"
5512 printf "%s\n" 'FGREP' >> "conftest.nl"
5513 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5514 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5515 as_fn_arith $ac_count + 1 && ac_count=$as_val
5516 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5517 # Best one so far, save it but keep looking for a better one
5518 ac_cv_path_FGREP="$ac_path_FGREP"
5519 ac_path_FGREP_max=$ac_count
5520 fi
5521 # 10*(2^10) chars as input seems more than enough
5522 test $ac_count -gt 10 && break
5523 done
5524 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5525 esac
5526
5527 $ac_path_FGREP_found && break 3
5528 done
5529 done
5530 done
5531 IFS=$as_save_IFS
5532 if test -z "$ac_cv_path_FGREP"; then
5533 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5534 fi
5535 else
5536 ac_cv_path_FGREP=$FGREP
5537 fi
5538
5539 fi ;;
5540 esac
5541 fi
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5544 FGREP="$ac_cv_path_FGREP"
5545
5546
5547 test -z "$GREP" && GREP=grep
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567 # Check whether --with-gnu-ld was given.
5568 if test ${with_gnu_ld+y}
5569 then :
5570 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5571 else case e in #(
5572 e) with_gnu_ld=no ;;
5573 esac
5574 fi
5575
5576 ac_prog=ld
5577 if test yes = "$GCC"; then
5578 # Check if gcc -print-prog-name=ld gives a path.
5579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5580 printf %s "checking for ld used by $CC... " >&6; }
5581 case $host in
5582 *-*-mingw* | *-*-windows*)
5583 # gcc leaves a trailing carriage return, which upsets mingw
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5585 *)
5586 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5587 esac
5588 case $ac_prog in
5589 # Accept absolute paths.
5590 [\\/]* | ?:[\\/]*)
5591 re_direlt='/[^/][^/]*/\.\./'
5592 # Canonicalize the pathname of ld
5593 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5594 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5595 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5596 done
5597 test -z "$LD" && LD=$ac_prog
5598 ;;
5599 "")
5600 # If it fails, then pretend we aren't using GCC.
5601 ac_prog=ld
5602 ;;
5603 *)
5604 # If it is relative, then search for the first ld in PATH.
5605 with_gnu_ld=unknown
5606 ;;
5607 esac
5608 elif test yes = "$with_gnu_ld"; then
5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5610 printf %s "checking for GNU ld... " >&6; }
5611 else
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5613 printf %s "checking for non-GNU ld... " >&6; }
5614 fi
5615 if test ${lt_cv_path_LD+y}
5616 then :
5617 printf %s "(cached) " >&6
5618 else case e in #(
5619 e) if test -z "$LD"; then
5620 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5621 for ac_dir in $PATH; do
5622 IFS=$lt_save_ifs
5623 test -z "$ac_dir" && ac_dir=.
5624 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5625 lt_cv_path_LD=$ac_dir/$ac_prog
5626 # Check to see if the program is GNU ld. I'd rather use --version,
5627 # but apparently some variants of GNU ld only accept -v.
5628 # Break only if it was the GNU/non-GNU ld that we prefer.
5629 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5630 *GNU* | *'with BFD'*)
5631 test no != "$with_gnu_ld" && break
5632 ;;
5633 *)
5634 test yes != "$with_gnu_ld" && break
5635 ;;
5636 esac
5637 fi
5638 done
5639 IFS=$lt_save_ifs
5640 else
5641 lt_cv_path_LD=$LD # Let the user override the test with a path.
5642 fi ;;
5643 esac
5644 fi
5645
5646 LD=$lt_cv_path_LD
5647 if test -n "$LD"; then
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5649 printf "%s\n" "$LD" >&6; }
5650 else
5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 printf "%s\n" "no" >&6; }
5653 fi
5654 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5656 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5657 if test ${lt_cv_prog_gnu_ld+y}
5658 then :
5659 printf %s "(cached) " >&6
5660 else case e in #(
5661 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
5662 case `$LD -v 2>&1 </dev/null` in
5663 *GNU* | *'with BFD'*)
5664 lt_cv_prog_gnu_ld=yes
5665 ;;
5666 *)
5667 lt_cv_prog_gnu_ld=no
5668 ;;
5669 esac ;;
5670 esac
5671 fi
5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5673 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5674 with_gnu_ld=$lt_cv_prog_gnu_ld
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5685 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5686 if test ${lt_cv_path_NM+y}
5687 then :
5688 printf %s "(cached) " >&6
5689 else case e in #(
5690 e) if test -n "$NM"; then
5691 # Let the user override the test.
5692 lt_cv_path_NM=$NM
5693 else
5694 lt_nm_to_check=${ac_tool_prefix}nm
5695 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5696 lt_nm_to_check="$lt_nm_to_check nm"
5697 fi
5698 for lt_tmp_nm in $lt_nm_to_check; do
5699 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5700 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5701 IFS=$lt_save_ifs
5702 test -z "$ac_dir" && ac_dir=.
5703 tmp_nm=$ac_dir/$lt_tmp_nm
5704 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5705 # Check to see if the nm accepts a BSD-compat flag.
5706 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5707 # nm: unknown option "B" ignored
5708 # Tru64's nm complains that /dev/null is an invalid object file
5709 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5710 case $build_os in
5711 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
5712 *) lt_bad_file=/dev/null ;;
5713 esac
5714 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5715 *$lt_bad_file* | *'Invalid file or object type'*)
5716 lt_cv_path_NM="$tmp_nm -B"
5717 break 2
5718 ;;
5719 *)
5720 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5721 */dev/null*)
5722 lt_cv_path_NM="$tmp_nm -p"
5723 break 2
5724 ;;
5725 *)
5726 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5727 continue # so that we can try to find one that supports BSD flags
5728 ;;
5729 esac
5730 ;;
5731 esac
5732 fi
5733 done
5734 IFS=$lt_save_ifs
5735 done
5736 : ${lt_cv_path_NM=no}
5737 fi ;;
5738 esac
5739 fi
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5741 printf "%s\n" "$lt_cv_path_NM" >&6; }
5742 if test no != "$lt_cv_path_NM"; then
5743 NM=$lt_cv_path_NM
5744 else
5745 # Didn't find any BSD compatible name lister, look for dumpbin.
5746 if test -n "$DUMPBIN"; then :
5747 # Let the user override the test.
5748 else
5749 if test -n "$ac_tool_prefix"; then
5750 for ac_prog in dumpbin "link -dump"
5751 do
5752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 printf %s "checking for $ac_word... " >&6; }
5756 if test ${ac_cv_prog_DUMPBIN+y}
5757 then :
5758 printf %s "(cached) " >&6
5759 else case e in #(
5760 e) if test -n "$DUMPBIN"; then
5761 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5765 do
5766 IFS=$as_save_IFS
5767 case $as_dir in #(((
5768 '') as_dir=./ ;;
5769 */) ;;
5770 *) as_dir=$as_dir/ ;;
5771 esac
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5774 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5776 break 2
5777 fi
5778 done
5779 done
5780 IFS=$as_save_IFS
5781
5782 fi ;;
5783 esac
5784 fi
5785 DUMPBIN=$ac_cv_prog_DUMPBIN
5786 if test -n "$DUMPBIN"; then
5787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5788 printf "%s\n" "$DUMPBIN" >&6; }
5789 else
5790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5791 printf "%s\n" "no" >&6; }
5792 fi
5793
5794
5795 test -n "$DUMPBIN" && break
5796 done
5797 fi
5798 if test -z "$DUMPBIN"; then
5799 ac_ct_DUMPBIN=$DUMPBIN
5800 for ac_prog in dumpbin "link -dump"
5801 do
5802 # Extract the first word of "$ac_prog", so it can be a program name with args.
5803 set dummy $ac_prog; ac_word=$2
5804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 printf %s "checking for $ac_word... " >&6; }
5806 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5807 then :
5808 printf %s "(cached) " >&6
5809 else case e in #(
5810 e) if test -n "$ac_ct_DUMPBIN"; then
5811 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5812 else
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 for as_dir in $PATH
5815 do
5816 IFS=$as_save_IFS
5817 case $as_dir in #(((
5818 '') as_dir=./ ;;
5819 */) ;;
5820 *) as_dir=$as_dir/ ;;
5821 esac
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5824 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5826 break 2
5827 fi
5828 done
5829 done
5830 IFS=$as_save_IFS
5831
5832 fi ;;
5833 esac
5834 fi
5835 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5836 if test -n "$ac_ct_DUMPBIN"; then
5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5838 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5839 else
5840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 printf "%s\n" "no" >&6; }
5842 fi
5843
5844
5845 test -n "$ac_ct_DUMPBIN" && break
5846 done
5847
5848 if test "x$ac_ct_DUMPBIN" = x; then
5849 DUMPBIN=":"
5850 else
5851 case $cross_compiling:$ac_tool_warned in
5852 yes:)
5853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5854 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5855 ac_tool_warned=yes ;;
5856 esac
5857 DUMPBIN=$ac_ct_DUMPBIN
5858 fi
5859 fi
5860
5861 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5862 *COFF*)
5863 DUMPBIN="$DUMPBIN -symbols -headers"
5864 ;;
5865 *)
5866 DUMPBIN=:
5867 ;;
5868 esac
5869 fi
5870
5871 if test : != "$DUMPBIN"; then
5872 NM=$DUMPBIN
5873 fi
5874 fi
5875 test -z "$NM" && NM=nm
5876
5877
5878
5879
5880
5881
5882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5883 printf %s "checking the name lister ($NM) interface... " >&6; }
5884 if test ${lt_cv_nm_interface+y}
5885 then :
5886 printf %s "(cached) " >&6
5887 else case e in #(
5888 e) lt_cv_nm_interface="BSD nm"
5889 echo "int some_variable = 0;" > conftest.$ac_ext
5890 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5891 (eval "$ac_compile" 2>conftest.err)
5892 cat conftest.err >&5
5893 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5894 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5895 cat conftest.err >&5
5896 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5897 cat conftest.out >&5
5898 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5899 lt_cv_nm_interface="MS dumpbin"
5900 fi
5901 rm -f conftest* ;;
5902 esac
5903 fi
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5905 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5906
5907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5908 printf %s "checking whether ln -s works... " >&6; }
5909 LN_S=$as_ln_s
5910 if test "$LN_S" = "ln -s"; then
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5912 printf "%s\n" "yes" >&6; }
5913 else
5914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5915 printf "%s\n" "no, using $LN_S" >&6; }
5916 fi
5917
5918 # find the maximum length of command line arguments
5919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5920 printf %s "checking the maximum length of command line arguments... " >&6; }
5921 if test ${lt_cv_sys_max_cmd_len+y}
5922 then :
5923 printf %s "(cached) " >&6
5924 else case e in #(
5925 e) i=0
5926 teststring=ABCD
5927
5928 case $build_os in
5929 msdosdjgpp*)
5930 # On DJGPP, this test can blow up pretty badly due to problems in libc
5931 # (any single argument exceeding 2000 bytes causes a buffer overrun
5932 # during glob expansion). Even if it were fixed, the result of this
5933 # check would be larger than it should be.
5934 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5935 ;;
5936
5937 gnu* | ironclad*)
5938 # Under GNU Hurd and Ironclad, this test is not required because there
5939 # is no limit to the length of command line arguments.
5940 # Libtool will interpret -1 as no limit whatsoever
5941 lt_cv_sys_max_cmd_len=-1;
5942 ;;
5943
5944 cygwin* | mingw* | windows* | cegcc*)
5945 # On Win9x/ME, this test blows up -- it succeeds, but takes
5946 # about 5 minutes as the teststring grows exponentially.
5947 # Worse, since 9x/ME are not pre-emptively multitasking,
5948 # you end up with a "frozen" computer, even though with patience
5949 # the test eventually succeeds (with a max line length of 256k).
5950 # Instead, let's just punt: use the minimum linelength reported by
5951 # all of the supported platforms: 8192 (on NT/2K/XP).
5952 lt_cv_sys_max_cmd_len=8192;
5953 ;;
5954
5955 mint*)
5956 # On MiNT this can take a long time and run out of memory.
5957 lt_cv_sys_max_cmd_len=8192;
5958 ;;
5959
5960 amigaos*)
5961 # On AmigaOS with pdksh, this test takes hours, literally.
5962 # So we just punt and use a minimum line length of 8192.
5963 lt_cv_sys_max_cmd_len=8192;
5964 ;;
5965
5966 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
5967 # This has been around since 386BSD, at least. Likely further.
5968 if test -x /sbin/sysctl; then
5969 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5970 elif test -x /usr/sbin/sysctl; then
5971 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5972 else
5973 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5974 fi
5975 # And add a safety zone
5976 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5977 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5978 ;;
5979
5980 interix*)
5981 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5982 lt_cv_sys_max_cmd_len=196608
5983 ;;
5984
5985 os2*)
5986 # The test takes a long time on OS/2.
5987 lt_cv_sys_max_cmd_len=8192
5988 ;;
5989
5990 osf*)
5991 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5992 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5993 # nice to cause kernel panics so lets avoid the loop below.
5994 # First set a reasonable default.
5995 lt_cv_sys_max_cmd_len=16384
5996 #
5997 if test -x /sbin/sysconfig; then
5998 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5999 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6000 esac
6001 fi
6002 ;;
6003 sco3.2v5*)
6004 lt_cv_sys_max_cmd_len=102400
6005 ;;
6006 sysv5* | sco5v6* | sysv4.2uw2*)
6007 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6008 if test -n "$kargmax"; then
6009 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
6010 else
6011 lt_cv_sys_max_cmd_len=32768
6012 fi
6013 ;;
6014 *)
6015 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6016 if test -n "$lt_cv_sys_max_cmd_len" && \
6017 test undefined != "$lt_cv_sys_max_cmd_len"; then
6018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6020 else
6021 # Make teststring a little bigger before we do anything with it.
6022 # a 1K string should be a reasonable start.
6023 for i in 1 2 3 4 5 6 7 8; do
6024 teststring=$teststring$teststring
6025 done
6026 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6027 # If test is not a shell built-in, we'll probably end up computing a
6028 # maximum length that is only half of the actual maximum length, but
6029 # we can't tell.
6030 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6031 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6032 test 17 != "$i" # 1/2 MB should be enough
6033 do
6034 i=`expr $i + 1`
6035 teststring=$teststring$teststring
6036 done
6037 # Only check the string length outside the loop.
6038 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6039 teststring=
6040 # Add a significant safety factor because C++ compilers can tack on
6041 # massive amounts of additional arguments before passing them to the
6042 # linker. It appears as though 1/2 is a usable value.
6043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6044 fi
6045 ;;
6046 esac
6047 ;;
6048 esac
6049 fi
6050
6051 if test -n "$lt_cv_sys_max_cmd_len"; then
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6053 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6054 else
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6056 printf "%s\n" "none" >&6; }
6057 fi
6058 max_cmd_len=$lt_cv_sys_max_cmd_len
6059
6060
6061
6062
6063
6064
6065 : ${CP="cp -f"}
6066 : ${MV="mv -f"}
6067 : ${RM="rm -f"}
6068
6069 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6070 lt_unset=unset
6071 else
6072 lt_unset=false
6073 fi
6074
6075
6076
6077
6078
6079 # test EBCDIC or ASCII
6080 case `echo X|tr X '\101'` in
6081 A) # ASCII based system
6082 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6083 lt_SP2NL='tr \040 \012'
6084 lt_NL2SP='tr \015\012 \040\040'
6085 ;;
6086 *) # EBCDIC based system
6087 lt_SP2NL='tr \100 \n'
6088 lt_NL2SP='tr \r\n \100\100'
6089 ;;
6090 esac
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6101 printf %s "checking how to convert $build file names to $host format... " >&6; }
6102 if test ${lt_cv_to_host_file_cmd+y}
6103 then :
6104 printf %s "(cached) " >&6
6105 else case e in #(
6106 e) case $host in
6107 *-*-mingw* )
6108 case $build in
6109 *-*-mingw* | *-*-windows* ) # actually msys
6110 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6111 ;;
6112 *-*-cygwin* )
6113 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6114 ;;
6115 * ) # otherwise, assume *nix
6116 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6117 ;;
6118 esac
6119 ;;
6120 *-*-cygwin* )
6121 case $build in
6122 *-*-mingw* | *-*-windows* ) # actually msys
6123 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6124 ;;
6125 *-*-cygwin* )
6126 lt_cv_to_host_file_cmd=func_convert_file_noop
6127 ;;
6128 * ) # otherwise, assume *nix
6129 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6130 ;;
6131 esac
6132 ;;
6133 * ) # unhandled hosts (and "normal" native builds)
6134 lt_cv_to_host_file_cmd=func_convert_file_noop
6135 ;;
6136 esac
6137 ;;
6138 esac
6139 fi
6140
6141 to_host_file_cmd=$lt_cv_to_host_file_cmd
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6143 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6144
6145
6146
6147
6148
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6150 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6151 if test ${lt_cv_to_tool_file_cmd+y}
6152 then :
6153 printf %s "(cached) " >&6
6154 else case e in #(
6155 e) #assume ordinary cross tools, or native build.
6156 lt_cv_to_tool_file_cmd=func_convert_file_noop
6157 case $host in
6158 *-*-mingw* | *-*-windows* )
6159 case $build in
6160 *-*-mingw* | *-*-windows* ) # actually msys
6161 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6162 ;;
6163 esac
6164 ;;
6165 esac
6166 ;;
6167 esac
6168 fi
6169
6170 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6172 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6173
6174
6175
6176
6177
6178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6179 printf %s "checking for $LD option to reload object files... " >&6; }
6180 if test ${lt_cv_ld_reload_flag+y}
6181 then :
6182 printf %s "(cached) " >&6
6183 else case e in #(
6184 e) lt_cv_ld_reload_flag='-r' ;;
6185 esac
6186 fi
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6188 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6189 reload_flag=$lt_cv_ld_reload_flag
6190 case $reload_flag in
6191 "" | " "*) ;;
6192 *) reload_flag=" $reload_flag" ;;
6193 esac
6194 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6195 case $host_os in
6196 cygwin* | mingw* | windows* | pw32* | cegcc*)
6197 if test yes != "$GCC"; then
6198 reload_cmds=false
6199 fi
6200 ;;
6201 darwin*)
6202 if test yes = "$GCC"; then
6203 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6204 else
6205 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6206 fi
6207 ;;
6208 esac
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218 # Extract the first word of "file", so it can be a program name with args.
6219 set dummy file; ac_word=$2
6220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221 printf %s "checking for $ac_word... " >&6; }
6222 if test ${ac_cv_prog_FILECMD+y}
6223 then :
6224 printf %s "(cached) " >&6
6225 else case e in #(
6226 e) if test -n "$FILECMD"; then
6227 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6228 else
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 for as_dir in $PATH
6231 do
6232 IFS=$as_save_IFS
6233 case $as_dir in #(((
6234 '') as_dir=./ ;;
6235 */) ;;
6236 *) as_dir=$as_dir/ ;;
6237 esac
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6240 ac_cv_prog_FILECMD="file"
6241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6242 break 2
6243 fi
6244 done
6245 done
6246 IFS=$as_save_IFS
6247
6248 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
6249 fi ;;
6250 esac
6251 fi
6252 FILECMD=$ac_cv_prog_FILECMD
6253 if test -n "$FILECMD"; then
6254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6255 printf "%s\n" "$FILECMD" >&6; }
6256 else
6257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6258 printf "%s\n" "no" >&6; }
6259 fi
6260
6261
6262
6263
6264
6265
6266
6267
6268 if test -n "$ac_tool_prefix"; then
6269 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6270 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272 printf %s "checking for $ac_word... " >&6; }
6273 if test ${ac_cv_prog_OBJDUMP+y}
6274 then :
6275 printf %s "(cached) " >&6
6276 else case e in #(
6277 e) if test -n "$OBJDUMP"; then
6278 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6279 else
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 for as_dir in $PATH
6282 do
6283 IFS=$as_save_IFS
6284 case $as_dir in #(((
6285 '') as_dir=./ ;;
6286 */) ;;
6287 *) as_dir=$as_dir/ ;;
6288 esac
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6293 break 2
6294 fi
6295 done
6296 done
6297 IFS=$as_save_IFS
6298
6299 fi ;;
6300 esac
6301 fi
6302 OBJDUMP=$ac_cv_prog_OBJDUMP
6303 if test -n "$OBJDUMP"; then
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6305 printf "%s\n" "$OBJDUMP" >&6; }
6306 else
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 printf "%s\n" "no" >&6; }
6309 fi
6310
6311
6312 fi
6313 if test -z "$ac_cv_prog_OBJDUMP"; then
6314 ac_ct_OBJDUMP=$OBJDUMP
6315 # Extract the first word of "objdump", so it can be a program name with args.
6316 set dummy objdump; ac_word=$2
6317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6318 printf %s "checking for $ac_word... " >&6; }
6319 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6320 then :
6321 printf %s "(cached) " >&6
6322 else case e in #(
6323 e) if test -n "$ac_ct_OBJDUMP"; then
6324 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6325 else
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH
6328 do
6329 IFS=$as_save_IFS
6330 case $as_dir in #(((
6331 '') as_dir=./ ;;
6332 */) ;;
6333 *) as_dir=$as_dir/ ;;
6334 esac
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6339 break 2
6340 fi
6341 done
6342 done
6343 IFS=$as_save_IFS
6344
6345 fi ;;
6346 esac
6347 fi
6348 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6349 if test -n "$ac_ct_OBJDUMP"; then
6350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6351 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6352 else
6353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354 printf "%s\n" "no" >&6; }
6355 fi
6356
6357 if test "x$ac_ct_OBJDUMP" = x; then
6358 OBJDUMP="false"
6359 else
6360 case $cross_compiling:$ac_tool_warned in
6361 yes:)
6362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6363 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6364 ac_tool_warned=yes ;;
6365 esac
6366 OBJDUMP=$ac_ct_OBJDUMP
6367 fi
6368 else
6369 OBJDUMP="$ac_cv_prog_OBJDUMP"
6370 fi
6371
6372 test -z "$OBJDUMP" && OBJDUMP=objdump
6373
6374
6375
6376
6377
6378
6379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6380 printf %s "checking how to recognize dependent libraries... " >&6; }
6381 if test ${lt_cv_deplibs_check_method+y}
6382 then :
6383 printf %s "(cached) " >&6
6384 else case e in #(
6385 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
6386 lt_cv_file_magic_test_file=
6387 lt_cv_deplibs_check_method='unknown'
6388 # Need to set the preceding variable on all platforms that support
6389 # interlibrary dependencies.
6390 # 'none' -- dependencies not supported.
6391 # 'unknown' -- same as none, but documents that we really don't know.
6392 # 'pass_all' -- all dependencies passed with no checks.
6393 # 'file_magic [[regex]]' -- check by looking for files in library path
6394 # that responds to the $file_magic_cmd with a given extended regex.
6395 # If you have 'file' or equivalent on your system and you're not sure
6396 # whether 'pass_all' will *always* work, you probably want this one.
6397
6398 case $host_os in
6399 aix[4-9]*)
6400 lt_cv_deplibs_check_method=pass_all
6401 ;;
6402
6403 beos*)
6404 lt_cv_deplibs_check_method=pass_all
6405 ;;
6406
6407 bsdi[45]*)
6408 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6409 lt_cv_file_magic_cmd='$FILECMD -L'
6410 lt_cv_file_magic_test_file=/shlib/libc.so
6411 ;;
6412
6413 cygwin*)
6414 # func_win32_libid is a shell function defined in ltmain.sh
6415 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6416 lt_cv_file_magic_cmd='func_win32_libid'
6417 ;;
6418
6419 mingw* | windows* | pw32*)
6420 # Base MSYS/MinGW do not provide the 'file' command needed by
6421 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6422 # unless we find 'file', for example because we are cross-compiling.
6423 if ( file / ) >/dev/null 2>&1; then
6424 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6425 lt_cv_file_magic_cmd='func_win32_libid'
6426 else
6427 # Keep this pattern in sync with the one in func_win32_libid.
6428 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
6429 lt_cv_file_magic_cmd='$OBJDUMP -f'
6430 fi
6431 ;;
6432
6433 cegcc*)
6434 # use the weaker test based on 'objdump'. See mingw*.
6435 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6436 lt_cv_file_magic_cmd='$OBJDUMP -f'
6437 ;;
6438
6439 darwin* | rhapsody*)
6440 lt_cv_deplibs_check_method=pass_all
6441 ;;
6442
6443 freebsd* | dragonfly* | midnightbsd*)
6444 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6445 case $host_cpu in
6446 i*86 )
6447 # Not sure whether the presence of OpenBSD here was a mistake.
6448 # Let's accept both of them until this is cleared up.
6449 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6450 lt_cv_file_magic_cmd=$FILECMD
6451 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6452 ;;
6453 esac
6454 else
6455 lt_cv_deplibs_check_method=pass_all
6456 fi
6457 ;;
6458
6459 haiku*)
6460 lt_cv_deplibs_check_method=pass_all
6461 ;;
6462
6463 hpux10.20* | hpux11*)
6464 lt_cv_file_magic_cmd=$FILECMD
6465 case $host_cpu in
6466 ia64*)
6467 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6468 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6469 ;;
6470 hppa*64*)
6471 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]'
6472 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6473 ;;
6474 *)
6475 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6476 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6477 ;;
6478 esac
6479 ;;
6480
6481 interix[3-9]*)
6482 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6483 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6484 ;;
6485
6486 irix5* | irix6* | nonstopux*)
6487 case $LD in
6488 *-32|*"-32 ") libmagic=32-bit;;
6489 *-n32|*"-n32 ") libmagic=N32;;
6490 *-64|*"-64 ") libmagic=64-bit;;
6491 *) libmagic=never-match;;
6492 esac
6493 lt_cv_deplibs_check_method=pass_all
6494 ;;
6495
6496 # This must be glibc/ELF.
6497 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6498 lt_cv_deplibs_check_method=pass_all
6499 ;;
6500
6501 *-mlibc)
6502 lt_cv_deplibs_check_method=pass_all
6503 ;;
6504
6505 netbsd* | netbsdelf*-gnu)
6506 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6507 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6508 else
6509 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6510 fi
6511 ;;
6512
6513 newos6*)
6514 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6515 lt_cv_file_magic_cmd=$FILECMD
6516 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6517 ;;
6518
6519 *nto* | *qnx*)
6520 lt_cv_deplibs_check_method=pass_all
6521 ;;
6522
6523 openbsd*)
6524 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6526 else
6527 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6528 fi
6529 ;;
6530
6531 osf3* | osf4* | osf5*)
6532 lt_cv_deplibs_check_method=pass_all
6533 ;;
6534
6535 rdos*)
6536 lt_cv_deplibs_check_method=pass_all
6537 ;;
6538
6539 serenity*)
6540 lt_cv_deplibs_check_method=pass_all
6541 ;;
6542
6543 solaris*)
6544 lt_cv_deplibs_check_method=pass_all
6545 ;;
6546
6547 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6548 lt_cv_deplibs_check_method=pass_all
6549 ;;
6550
6551 sysv4 | sysv4.3*)
6552 case $host_vendor in
6553 motorola)
6554 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]'
6555 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6556 ;;
6557 ncr)
6558 lt_cv_deplibs_check_method=pass_all
6559 ;;
6560 sequent)
6561 lt_cv_file_magic_cmd='/bin/file'
6562 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6563 ;;
6564 sni)
6565 lt_cv_file_magic_cmd='/bin/file'
6566 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6567 lt_cv_file_magic_test_file=/lib/libc.so
6568 ;;
6569 siemens)
6570 lt_cv_deplibs_check_method=pass_all
6571 ;;
6572 pc)
6573 lt_cv_deplibs_check_method=pass_all
6574 ;;
6575 esac
6576 ;;
6577
6578 tpf*)
6579 lt_cv_deplibs_check_method=pass_all
6580 ;;
6581 os2*)
6582 lt_cv_deplibs_check_method=pass_all
6583 ;;
6584 esac
6585 ;;
6586 esac
6587 fi
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6589 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6590
6591 file_magic_glob=
6592 want_nocaseglob=no
6593 if test "$build" = "$host"; then
6594 case $host_os in
6595 mingw* | windows* | pw32*)
6596 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6597 want_nocaseglob=yes
6598 else
6599 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6600 fi
6601 ;;
6602 esac
6603 fi
6604
6605 file_magic_cmd=$lt_cv_file_magic_cmd
6606 deplibs_check_method=$lt_cv_deplibs_check_method
6607 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630 if test -n "$ac_tool_prefix"; then
6631 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6632 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6634 printf %s "checking for $ac_word... " >&6; }
6635 if test ${ac_cv_prog_DLLTOOL+y}
6636 then :
6637 printf %s "(cached) " >&6
6638 else case e in #(
6639 e) if test -n "$DLLTOOL"; then
6640 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6641 else
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 for as_dir in $PATH
6644 do
6645 IFS=$as_save_IFS
6646 case $as_dir in #(((
6647 '') as_dir=./ ;;
6648 */) ;;
6649 *) as_dir=$as_dir/ ;;
6650 esac
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6653 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6654 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6655 break 2
6656 fi
6657 done
6658 done
6659 IFS=$as_save_IFS
6660
6661 fi ;;
6662 esac
6663 fi
6664 DLLTOOL=$ac_cv_prog_DLLTOOL
6665 if test -n "$DLLTOOL"; then
6666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6667 printf "%s\n" "$DLLTOOL" >&6; }
6668 else
6669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 printf "%s\n" "no" >&6; }
6671 fi
6672
6673
6674 fi
6675 if test -z "$ac_cv_prog_DLLTOOL"; then
6676 ac_ct_DLLTOOL=$DLLTOOL
6677 # Extract the first word of "dlltool", so it can be a program name with args.
6678 set dummy dlltool; ac_word=$2
6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 printf %s "checking for $ac_word... " >&6; }
6681 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6682 then :
6683 printf %s "(cached) " >&6
6684 else case e in #(
6685 e) if test -n "$ac_ct_DLLTOOL"; then
6686 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6687 else
6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 for as_dir in $PATH
6690 do
6691 IFS=$as_save_IFS
6692 case $as_dir in #(((
6693 '') as_dir=./ ;;
6694 */) ;;
6695 *) as_dir=$as_dir/ ;;
6696 esac
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6699 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6701 break 2
6702 fi
6703 done
6704 done
6705 IFS=$as_save_IFS
6706
6707 fi ;;
6708 esac
6709 fi
6710 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6711 if test -n "$ac_ct_DLLTOOL"; then
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6713 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6714 else
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 printf "%s\n" "no" >&6; }
6717 fi
6718
6719 if test "x$ac_ct_DLLTOOL" = x; then
6720 DLLTOOL="false"
6721 else
6722 case $cross_compiling:$ac_tool_warned in
6723 yes:)
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned=yes ;;
6727 esac
6728 DLLTOOL=$ac_ct_DLLTOOL
6729 fi
6730 else
6731 DLLTOOL="$ac_cv_prog_DLLTOOL"
6732 fi
6733
6734 test -z "$DLLTOOL" && DLLTOOL=dlltool
6735
6736
6737
6738
6739
6740
6741
6742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6743 printf %s "checking how to associate runtime and link libraries... " >&6; }
6744 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6745 then :
6746 printf %s "(cached) " >&6
6747 else case e in #(
6748 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
6749
6750 case $host_os in
6751 cygwin* | mingw* | windows* | pw32* | cegcc*)
6752 # two different shell functions defined in ltmain.sh;
6753 # decide which one to use based on capabilities of $DLLTOOL
6754 case `$DLLTOOL --help 2>&1` in
6755 *--identify-strict*)
6756 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6757 ;;
6758 *)
6759 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6760 ;;
6761 esac
6762 ;;
6763 *)
6764 # fallback: assume linklib IS sharedlib
6765 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6766 ;;
6767 esac
6768 ;;
6769 esac
6770 fi
6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6772 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6773 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6774 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6775
6776
6777
6778
6779
6780
6781
6782 if test -n "$ac_tool_prefix"; then
6783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 printf %s "checking for $ac_word... " >&6; }
6787 if test ${ac_cv_prog_RANLIB+y}
6788 then :
6789 printf %s "(cached) " >&6
6790 else case e in #(
6791 e) if test -n "$RANLIB"; then
6792 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6793 else
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 for as_dir in $PATH
6796 do
6797 IFS=$as_save_IFS
6798 case $as_dir in #(((
6799 '') as_dir=./ ;;
6800 */) ;;
6801 *) as_dir=$as_dir/ ;;
6802 esac
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6807 break 2
6808 fi
6809 done
6810 done
6811 IFS=$as_save_IFS
6812
6813 fi ;;
6814 esac
6815 fi
6816 RANLIB=$ac_cv_prog_RANLIB
6817 if test -n "$RANLIB"; then
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6819 printf "%s\n" "$RANLIB" >&6; }
6820 else
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 printf "%s\n" "no" >&6; }
6823 fi
6824
6825
6826 fi
6827 if test -z "$ac_cv_prog_RANLIB"; then
6828 ac_ct_RANLIB=$RANLIB
6829 # Extract the first word of "ranlib", so it can be a program name with args.
6830 set dummy ranlib; ac_word=$2
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 printf %s "checking for $ac_word... " >&6; }
6833 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6834 then :
6835 printf %s "(cached) " >&6
6836 else case e in #(
6837 e) if test -n "$ac_ct_RANLIB"; then
6838 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6839 else
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 for as_dir in $PATH
6842 do
6843 IFS=$as_save_IFS
6844 case $as_dir in #(((
6845 '') as_dir=./ ;;
6846 */) ;;
6847 *) as_dir=$as_dir/ ;;
6848 esac
6849 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_ac_ct_RANLIB="ranlib"
6852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6853 break 2
6854 fi
6855 done
6856 done
6857 IFS=$as_save_IFS
6858
6859 fi ;;
6860 esac
6861 fi
6862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6863 if test -n "$ac_ct_RANLIB"; then
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6865 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6866 else
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868 printf "%s\n" "no" >&6; }
6869 fi
6870
6871 if test "x$ac_ct_RANLIB" = x; then
6872 RANLIB=":"
6873 else
6874 case $cross_compiling:$ac_tool_warned in
6875 yes:)
6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6877 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6878 ac_tool_warned=yes ;;
6879 esac
6880 RANLIB=$ac_ct_RANLIB
6881 fi
6882 else
6883 RANLIB="$ac_cv_prog_RANLIB"
6884 fi
6885
6886 if test -n "$ac_tool_prefix"; then
6887 for ac_prog in ar
6888 do
6889 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6890 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892 printf %s "checking for $ac_word... " >&6; }
6893 if test ${ac_cv_prog_AR+y}
6894 then :
6895 printf %s "(cached) " >&6
6896 else case e in #(
6897 e) if test -n "$AR"; then
6898 ac_cv_prog_AR="$AR" # Let the user override the test.
6899 else
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 for as_dir in $PATH
6902 do
6903 IFS=$as_save_IFS
6904 case $as_dir in #(((
6905 '') as_dir=./ ;;
6906 */) ;;
6907 *) as_dir=$as_dir/ ;;
6908 esac
6909 for ac_exec_ext in '' $ac_executable_extensions; do
6910 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6911 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6912 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6913 break 2
6914 fi
6915 done
6916 done
6917 IFS=$as_save_IFS
6918
6919 fi ;;
6920 esac
6921 fi
6922 AR=$ac_cv_prog_AR
6923 if test -n "$AR"; then
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6925 printf "%s\n" "$AR" >&6; }
6926 else
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 printf "%s\n" "no" >&6; }
6929 fi
6930
6931
6932 test -n "$AR" && break
6933 done
6934 fi
6935 if test -z "$AR"; then
6936 ac_ct_AR=$AR
6937 for ac_prog in ar
6938 do
6939 # Extract the first word of "$ac_prog", so it can be a program name with args.
6940 set dummy $ac_prog; ac_word=$2
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942 printf %s "checking for $ac_word... " >&6; }
6943 if test ${ac_cv_prog_ac_ct_AR+y}
6944 then :
6945 printf %s "(cached) " >&6
6946 else case e in #(
6947 e) if test -n "$ac_ct_AR"; then
6948 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6949 else
6950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6951 for as_dir in $PATH
6952 do
6953 IFS=$as_save_IFS
6954 case $as_dir in #(((
6955 '') as_dir=./ ;;
6956 */) ;;
6957 *) as_dir=$as_dir/ ;;
6958 esac
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6961 ac_cv_prog_ac_ct_AR="$ac_prog"
6962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6963 break 2
6964 fi
6965 done
6966 done
6967 IFS=$as_save_IFS
6968
6969 fi ;;
6970 esac
6971 fi
6972 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6973 if test -n "$ac_ct_AR"; then
6974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6975 printf "%s\n" "$ac_ct_AR" >&6; }
6976 else
6977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 printf "%s\n" "no" >&6; }
6979 fi
6980
6981
6982 test -n "$ac_ct_AR" && break
6983 done
6984
6985 if test "x$ac_ct_AR" = x; then
6986 AR="false"
6987 else
6988 case $cross_compiling:$ac_tool_warned in
6989 yes:)
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6991 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6992 ac_tool_warned=yes ;;
6993 esac
6994 AR=$ac_ct_AR
6995 fi
6996 fi
6997
6998 : ${AR=ar}
6999
7000
7001
7002
7003
7004
7005 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
7006 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7007 # higher priority because that's what people were doing historically (setting
7008 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
7009 # variable obsoleted/removed.
7010
7011 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7012 lt_ar_flags=$AR_FLAGS
7013
7014
7015
7016
7017
7018
7019 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7020 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7021
7022
7023
7024
7025
7026
7027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7028 printf %s "checking for archiver @FILE support... " >&6; }
7029 if test ${lt_cv_ar_at_file+y}
7030 then :
7031 printf %s "(cached) " >&6
7032 else case e in #(
7033 e) lt_cv_ar_at_file=no
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036
7037 int
7038 main (void)
7039 {
7040
7041 ;
7042 return 0;
7043 }
7044 _ACEOF
7045 if ac_fn_c_try_compile "$LINENO"
7046 then :
7047 echo conftest.$ac_objext > conftest.lst
7048 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7049 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7050 (eval $lt_ar_try) 2>&5
7051 ac_status=$?
7052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7053 test $ac_status = 0; }
7054 if test 0 -eq "$ac_status"; then
7055 # Ensure the archiver fails upon bogus file names.
7056 rm -f conftest.$ac_objext libconftest.a
7057 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7058 (eval $lt_ar_try) 2>&5
7059 ac_status=$?
7060 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; }
7062 if test 0 -ne "$ac_status"; then
7063 lt_cv_ar_at_file=@
7064 fi
7065 fi
7066 rm -f conftest.* libconftest.a
7067
7068 fi
7069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7070 ;;
7071 esac
7072 fi
7073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7074 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7075
7076 if test no = "$lt_cv_ar_at_file"; then
7077 archiver_list_spec=
7078 else
7079 archiver_list_spec=$lt_cv_ar_at_file
7080 fi
7081
7082
7083
7084
7085
7086
7087
7088 if test -n "$ac_tool_prefix"; then
7089 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7090 set dummy ${ac_tool_prefix}strip; ac_word=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s "checking for $ac_word... " >&6; }
7093 if test ${ac_cv_prog_STRIP+y}
7094 then :
7095 printf %s "(cached) " >&6
7096 else case e in #(
7097 e) if test -n "$STRIP"; then
7098 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7099 else
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101 for as_dir in $PATH
7102 do
7103 IFS=$as_save_IFS
7104 case $as_dir in #(((
7105 '') as_dir=./ ;;
7106 */) ;;
7107 *) as_dir=$as_dir/ ;;
7108 esac
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7111 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7113 break 2
7114 fi
7115 done
7116 done
7117 IFS=$as_save_IFS
7118
7119 fi ;;
7120 esac
7121 fi
7122 STRIP=$ac_cv_prog_STRIP
7123 if test -n "$STRIP"; then
7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7125 printf "%s\n" "$STRIP" >&6; }
7126 else
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 printf "%s\n" "no" >&6; }
7129 fi
7130
7131
7132 fi
7133 if test -z "$ac_cv_prog_STRIP"; then
7134 ac_ct_STRIP=$STRIP
7135 # Extract the first word of "strip", so it can be a program name with args.
7136 set dummy strip; ac_word=$2
7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 printf %s "checking for $ac_word... " >&6; }
7139 if test ${ac_cv_prog_ac_ct_STRIP+y}
7140 then :
7141 printf %s "(cached) " >&6
7142 else case e in #(
7143 e) if test -n "$ac_ct_STRIP"; then
7144 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7145 else
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 for as_dir in $PATH
7148 do
7149 IFS=$as_save_IFS
7150 case $as_dir in #(((
7151 '') as_dir=./ ;;
7152 */) ;;
7153 *) as_dir=$as_dir/ ;;
7154 esac
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_ac_ct_STRIP="strip"
7158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7159 break 2
7160 fi
7161 done
7162 done
7163 IFS=$as_save_IFS
7164
7165 fi ;;
7166 esac
7167 fi
7168 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7169 if test -n "$ac_ct_STRIP"; then
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7171 printf "%s\n" "$ac_ct_STRIP" >&6; }
7172 else
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 printf "%s\n" "no" >&6; }
7175 fi
7176
7177 if test "x$ac_ct_STRIP" = x; then
7178 STRIP=":"
7179 else
7180 case $cross_compiling:$ac_tool_warned in
7181 yes:)
7182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184 ac_tool_warned=yes ;;
7185 esac
7186 STRIP=$ac_ct_STRIP
7187 fi
7188 else
7189 STRIP="$ac_cv_prog_STRIP"
7190 fi
7191
7192 test -z "$STRIP" && STRIP=:
7193
7194
7195
7196
7197
7198
7199
7200 test -z "$RANLIB" && RANLIB=:
7201
7202
7203
7204
7205
7206
7207 # Determine commands to create old-style static archives.
7208 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7209 old_postinstall_cmds='chmod 644 $oldlib'
7210 old_postuninstall_cmds=
7211
7212 if test -n "$RANLIB"; then
7213 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7214 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7215 fi
7216
7217 case $host_os in
7218 darwin*)
7219 lock_old_archive_extraction=yes ;;
7220 *)
7221 lock_old_archive_extraction=no ;;
7222 esac
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262 # If no C compiler was specified, use CC.
7263 LTCC=${LTCC-"$CC"}
7264
7265 # If no C compiler flags were specified, use CFLAGS.
7266 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7267
7268 # Allow CC to be a program name with arguments.
7269 compiler=$CC
7270
7271
7272 # Check for command to grab the raw symbol name followed by C symbol from nm.
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7274 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7275 if test ${lt_cv_sys_global_symbol_pipe+y}
7276 then :
7277 printf %s "(cached) " >&6
7278 else case e in #(
7279 e)
7280 # These are sane defaults that work on at least a few old systems.
7281 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7282
7283 # Character class describing NM global symbol codes.
7284 symcode='[BCDEGRST]'
7285
7286 # Regexp to match symbols that can be accessed directly from C.
7287 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7288
7289 # Define system-specific variables.
7290 case $host_os in
7291 aix*)
7292 symcode='[BCDT]'
7293 ;;
7294 cygwin* | mingw* | windows* | pw32* | cegcc*)
7295 symcode='[ABCDGISTW]'
7296 ;;
7297 hpux*)
7298 if test ia64 = "$host_cpu"; then
7299 symcode='[ABCDEGRST]'
7300 fi
7301 ;;
7302 irix* | nonstopux*)
7303 symcode='[BCDEGRST]'
7304 ;;
7305 osf*)
7306 symcode='[BCDEGQRST]'
7307 ;;
7308 solaris*)
7309 symcode='[BCDRT]'
7310 ;;
7311 sco3.2v5*)
7312 symcode='[DT]'
7313 ;;
7314 sysv4.2uw2*)
7315 symcode='[DT]'
7316 ;;
7317 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7318 symcode='[ABDT]'
7319 ;;
7320 sysv4)
7321 symcode='[DFNSTU]'
7322 ;;
7323 esac
7324
7325 # If we're using GNU nm, then use its standard symbol codes.
7326 case `$NM -V 2>&1` in
7327 *GNU* | *'with BFD'*)
7328 symcode='[ABCDGIRSTW]' ;;
7329 esac
7330
7331 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7332 # Gets list of data symbols to import.
7333 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7334 # Adjust the below global symbol transforms to fixup imported variables.
7335 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7336 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7337 lt_c_name_lib_hook="\
7338 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7339 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7340 else
7341 # Disable hooks by default.
7342 lt_cv_sys_global_symbol_to_import=
7343 lt_cdecl_hook=
7344 lt_c_name_hook=
7345 lt_c_name_lib_hook=
7346 fi
7347
7348 # Transform an extracted symbol line into a proper C declaration.
7349 # Some systems (esp. on ia64) link data and code symbols differently,
7350 # so use this general approach.
7351 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7352 $lt_cdecl_hook\
7353 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7354 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7355
7356 # Transform an extracted symbol line into symbol name and symbol address
7357 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7358 $lt_c_name_hook\
7359 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7360 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7361
7362 # Transform an extracted symbol line into symbol name with lib prefix and
7363 # symbol address.
7364 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7365 $lt_c_name_lib_hook\
7366 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7367 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7368 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7369
7370 # Handle CRLF in mingw tool chain
7371 opt_cr=
7372 case $build_os in
7373 mingw* | windows*)
7374 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7375 ;;
7376 esac
7377
7378 # Try without a prefix underscore, then with it.
7379 for ac_symprfx in "" "_"; do
7380
7381 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7382 symxfrm="\\1 $ac_symprfx\\2 \\2"
7383
7384 # Write the raw and C identifiers.
7385 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7386 # Fake it for dumpbin and say T for any non-static function,
7387 # D for any global variable and I for any imported variable.
7388 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7389 # which start with @ or ?.
7390 lt_cv_sys_global_symbol_pipe="$AWK '"\
7391 " {last_section=section; section=\$ 3};"\
7392 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7393 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7394 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7395 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7396 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7397 " \$ 0!~/External *\|/{next};"\
7398 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7399 " {if(hide[section]) next};"\
7400 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7401 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7402 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7403 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7404 " ' prfx=^$ac_symprfx"
7405 else
7406 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7407 fi
7408 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7409
7410 # Check to see that the pipe works correctly.
7411 pipe_works=no
7412
7413 rm -f conftest*
7414 cat > conftest.$ac_ext <<_LT_EOF
7415 #ifdef __cplusplus
7416 extern "C" {
7417 #endif
7418 char nm_test_var;
7419 void nm_test_func(void);
7420 void nm_test_func(void){}
7421 #ifdef __cplusplus
7422 }
7423 #endif
7424 int main(void){nm_test_var='a';nm_test_func();return(0);}
7425 _LT_EOF
7426
7427 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7428 (eval $ac_compile) 2>&5
7429 ac_status=$?
7430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7431 test $ac_status = 0; }; then
7432 # Now try to grab the symbols.
7433 nlist=conftest.nm
7434 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7435 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7436 # Try sorting and uniquifying the output.
7437 if sort "$nlist" | uniq > "$nlist"T; then
7438 mv -f "$nlist"T "$nlist"
7439 else
7440 rm -f "$nlist"T
7441 fi
7442
7443 # Make sure that we snagged all the symbols we need.
7444 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7445 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7446 cat <<_LT_EOF > conftest.$ac_ext
7447 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7448 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7449 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7450 relocations are performed -- see ld's documentation on pseudo-relocs. */
7451 # define LT_DLSYM_CONST
7452 #elif defined __osf__
7453 /* This system does not cope well with relocations in const data. */
7454 # define LT_DLSYM_CONST
7455 #else
7456 # define LT_DLSYM_CONST const
7457 #endif
7458
7459 #ifdef __cplusplus
7460 extern "C" {
7461 #endif
7462
7463 _LT_EOF
7464 # Now generate the symbol file.
7465 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7466
7467 cat <<_LT_EOF >> conftest.$ac_ext
7468
7469 /* The mapping between symbol names and symbols. */
7470 LT_DLSYM_CONST struct {
7471 const char *name;
7472 void *address;
7473 }
7474 lt__PROGRAM__LTX_preloaded_symbols[] =
7475 {
7476 { "@PROGRAM@", (void *) 0 },
7477 _LT_EOF
7478 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7479 cat <<\_LT_EOF >> conftest.$ac_ext
7480 {0, (void *) 0}
7481 };
7482
7483 /* This works around a problem in FreeBSD linker */
7484 #ifdef FREEBSD_WORKAROUND
7485 static const void *lt_preloaded_setup() {
7486 return lt__PROGRAM__LTX_preloaded_symbols;
7487 }
7488 #endif
7489
7490 #ifdef __cplusplus
7491 }
7492 #endif
7493 _LT_EOF
7494 # Now try linking the two files.
7495 mv conftest.$ac_objext conftstm.$ac_objext
7496 lt_globsym_save_LIBS=$LIBS
7497 lt_globsym_save_CFLAGS=$CFLAGS
7498 LIBS=conftstm.$ac_objext
7499 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7501 (eval $ac_link) 2>&5
7502 ac_status=$?
7503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7504 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7505 pipe_works=yes
7506 fi
7507 LIBS=$lt_globsym_save_LIBS
7508 CFLAGS=$lt_globsym_save_CFLAGS
7509 else
7510 echo "cannot find nm_test_func in $nlist" >&5
7511 fi
7512 else
7513 echo "cannot find nm_test_var in $nlist" >&5
7514 fi
7515 else
7516 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7517 fi
7518 else
7519 echo "$progname: failed program was:" >&5
7520 cat conftest.$ac_ext >&5
7521 fi
7522 rm -rf conftest* conftst*
7523
7524 # Do not use the global_symbol_pipe unless it works.
7525 if test yes = "$pipe_works"; then
7526 break
7527 else
7528 lt_cv_sys_global_symbol_pipe=
7529 fi
7530 done
7531 ;;
7532 esac
7533 fi
7534
7535 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7536 lt_cv_sys_global_symbol_to_cdecl=
7537 fi
7538 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7540 printf "%s\n" "failed" >&6; }
7541 else
7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7543 printf "%s\n" "ok" >&6; }
7544 fi
7545
7546 # Response file support.
7547 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7548 nm_file_list_spec='@'
7549 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7550 nm_file_list_spec='@'
7551 fi
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7590 printf %s "checking for sysroot... " >&6; }
7591
7592 # Check whether --with-sysroot was given.
7593 if test ${with_sysroot+y}
7594 then :
7595 withval=$with_sysroot;
7596 else case e in #(
7597 e) with_sysroot=no ;;
7598 esac
7599 fi
7600
7601
7602 lt_sysroot=
7603 case $with_sysroot in #(
7604 yes)
7605 if test yes = "$GCC"; then
7606 # Trim trailing / since we'll always append absolute paths and we want
7607 # to avoid //, if only for less confusing output for the user.
7608 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
7609 fi
7610 ;; #(
7611 /*)
7612 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7613 ;; #(
7614 no|'')
7615 ;; #(
7616 *)
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7618 printf "%s\n" "$with_sysroot" >&6; }
7619 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7620 ;;
7621 esac
7622
7623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7624 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7625
7626
7627
7628
7629
7630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7631 printf %s "checking for a working dd... " >&6; }
7632 if test ${ac_cv_path_lt_DD+y}
7633 then :
7634 printf %s "(cached) " >&6
7635 else case e in #(
7636 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7637 cat conftest.i conftest.i >conftest2.i
7638 : ${lt_DD:=$DD}
7639 if test -z "$lt_DD"; then
7640 ac_path_lt_DD_found=false
7641 # Loop through the user's path and test for each of PROGNAME-LIST
7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7643 for as_dir in $PATH
7644 do
7645 IFS=$as_save_IFS
7646 case $as_dir in #(((
7647 '') as_dir=./ ;;
7648 */) ;;
7649 *) as_dir=$as_dir/ ;;
7650 esac
7651 for ac_prog in dd
7652 do
7653 for ac_exec_ext in '' $ac_executable_extensions; do
7654 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7655 as_fn_executable_p "$ac_path_lt_DD" || continue
7656 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7657 cmp -s conftest.i conftest.out \
7658 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7659 fi
7660 $ac_path_lt_DD_found && break 3
7661 done
7662 done
7663 done
7664 IFS=$as_save_IFS
7665 if test -z "$ac_cv_path_lt_DD"; then
7666 :
7667 fi
7668 else
7669 ac_cv_path_lt_DD=$lt_DD
7670 fi
7671
7672 rm -f conftest.i conftest2.i conftest.out ;;
7673 esac
7674 fi
7675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7676 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7677
7678
7679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7680 printf %s "checking how to truncate binary pipes... " >&6; }
7681 if test ${lt_cv_truncate_bin+y}
7682 then :
7683 printf %s "(cached) " >&6
7684 else case e in #(
7685 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7686 cat conftest.i conftest.i >conftest2.i
7687 lt_cv_truncate_bin=
7688 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7689 cmp -s conftest.i conftest.out \
7690 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7691 fi
7692 rm -f conftest.i conftest2.i conftest.out
7693 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
7694 esac
7695 fi
7696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7697 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7698
7699
7700
7701
7702
7703
7704
7705 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7706 func_cc_basename ()
7707 {
7708 for cc_temp in $*""; do
7709 case $cc_temp in
7710 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7711 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7712 \-*) ;;
7713 *) break;;
7714 esac
7715 done
7716 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7717 }
7718
7719 # Check whether --enable-libtool-lock was given.
7720 if test ${enable_libtool_lock+y}
7721 then :
7722 enableval=$enable_libtool_lock;
7723 fi
7724
7725 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7726
7727 # Some flags need to be propagated to the compiler or linker for good
7728 # libtool support.
7729 case $host in
7730 ia64-*-hpux*)
7731 # Find out what ABI is being produced by ac_compile, and set mode
7732 # options accordingly.
7733 echo 'int i;' > conftest.$ac_ext
7734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7735 (eval $ac_compile) 2>&5
7736 ac_status=$?
7737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7738 test $ac_status = 0; }; then
7739 case `$FILECMD conftest.$ac_objext` in
7740 *ELF-32*)
7741 HPUX_IA64_MODE=32
7742 ;;
7743 *ELF-64*)
7744 HPUX_IA64_MODE=64
7745 ;;
7746 esac
7747 fi
7748 rm -rf conftest*
7749 ;;
7750 *-*-irix6*)
7751 # Find out what ABI is being produced by ac_compile, and set linker
7752 # options accordingly.
7753 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7755 (eval $ac_compile) 2>&5
7756 ac_status=$?
7757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7758 test $ac_status = 0; }; then
7759 if test yes = "$lt_cv_prog_gnu_ld"; then
7760 case `$FILECMD conftest.$ac_objext` in
7761 *32-bit*)
7762 LD="${LD-ld} -melf32bsmip"
7763 ;;
7764 *N32*)
7765 LD="${LD-ld} -melf32bmipn32"
7766 ;;
7767 *64-bit*)
7768 LD="${LD-ld} -melf64bmip"
7769 ;;
7770 esac
7771 else
7772 case `$FILECMD conftest.$ac_objext` in
7773 *32-bit*)
7774 LD="${LD-ld} -32"
7775 ;;
7776 *N32*)
7777 LD="${LD-ld} -n32"
7778 ;;
7779 *64-bit*)
7780 LD="${LD-ld} -64"
7781 ;;
7782 esac
7783 fi
7784 fi
7785 rm -rf conftest*
7786 ;;
7787
7788 mips64*-*linux*)
7789 # Find out what ABI is being produced by ac_compile, and set linker
7790 # options accordingly.
7791 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7793 (eval $ac_compile) 2>&5
7794 ac_status=$?
7795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7796 test $ac_status = 0; }; then
7797 emul=elf
7798 case `$FILECMD conftest.$ac_objext` in
7799 *32-bit*)
7800 emul="${emul}32"
7801 ;;
7802 *64-bit*)
7803 emul="${emul}64"
7804 ;;
7805 esac
7806 case `$FILECMD conftest.$ac_objext` in
7807 *MSB*)
7808 emul="${emul}btsmip"
7809 ;;
7810 *LSB*)
7811 emul="${emul}ltsmip"
7812 ;;
7813 esac
7814 case `$FILECMD conftest.$ac_objext` in
7815 *N32*)
7816 emul="${emul}n32"
7817 ;;
7818 esac
7819 LD="${LD-ld} -m $emul"
7820 fi
7821 rm -rf conftest*
7822 ;;
7823
7824 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7825 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
7826 # Find out what ABI is being produced by ac_compile, and set linker
7827 # options accordingly. Note that the listed cases only cover the
7828 # situations where additional linker options are needed (such as when
7829 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7830 # vice versa); the common cases where no linker options are needed do
7831 # not appear in the list.
7832 echo 'int i;' > conftest.$ac_ext
7833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7834 (eval $ac_compile) 2>&5
7835 ac_status=$?
7836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7837 test $ac_status = 0; }; then
7838 case `$FILECMD conftest.o` in
7839 *32-bit*)
7840 case $host in
7841 x86_64-*kfreebsd*-gnu)
7842 LD="${LD-ld} -m elf_i386_fbsd"
7843 ;;
7844 x86_64-*linux*|x86_64-gnu*)
7845 case `$FILECMD conftest.o` in
7846 *x86-64*)
7847 LD="${LD-ld} -m elf32_x86_64"
7848 ;;
7849 *)
7850 LD="${LD-ld} -m elf_i386"
7851 ;;
7852 esac
7853 ;;
7854 powerpc64le-*linux*)
7855 LD="${LD-ld} -m elf32lppclinux"
7856 ;;
7857 powerpc64-*linux*)
7858 LD="${LD-ld} -m elf32ppclinux"
7859 ;;
7860 s390x-*linux*)
7861 LD="${LD-ld} -m elf_s390"
7862 ;;
7863 sparc64-*linux*)
7864 LD="${LD-ld} -m elf32_sparc"
7865 ;;
7866 esac
7867 ;;
7868 *64-bit*)
7869 case $host in
7870 x86_64-*kfreebsd*-gnu)
7871 LD="${LD-ld} -m elf_x86_64_fbsd"
7872 ;;
7873 x86_64-*linux*|x86_64-gnu*)
7874 LD="${LD-ld} -m elf_x86_64"
7875 ;;
7876 powerpcle-*linux*)
7877 LD="${LD-ld} -m elf64lppc"
7878 ;;
7879 powerpc-*linux*)
7880 LD="${LD-ld} -m elf64ppc"
7881 ;;
7882 s390*-*linux*|s390*-*tpf*)
7883 LD="${LD-ld} -m elf64_s390"
7884 ;;
7885 sparc*-*linux*)
7886 LD="${LD-ld} -m elf64_sparc"
7887 ;;
7888 esac
7889 ;;
7890 esac
7891 fi
7892 rm -rf conftest*
7893 ;;
7894
7895 *-*-sco3.2v5*)
7896 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7897 SAVE_CFLAGS=$CFLAGS
7898 CFLAGS="$CFLAGS -belf"
7899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7900 printf %s "checking whether the C compiler needs -belf... " >&6; }
7901 if test ${lt_cv_cc_needs_belf+y}
7902 then :
7903 printf %s "(cached) " >&6
7904 else case e in #(
7905 e) ac_ext=c
7906 ac_cpp='$CPP $CPPFLAGS'
7907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7910
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913
7914 int
7915 main (void)
7916 {
7917
7918 ;
7919 return 0;
7920 }
7921 _ACEOF
7922 if ac_fn_c_try_link "$LINENO"
7923 then :
7924 lt_cv_cc_needs_belf=yes
7925 else case e in #(
7926 e) lt_cv_cc_needs_belf=no ;;
7927 esac
7928 fi
7929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7930 conftest$ac_exeext conftest.$ac_ext
7931 ac_ext=c
7932 ac_cpp='$CPP $CPPFLAGS'
7933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7936 ;;
7937 esac
7938 fi
7939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7940 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7941 if test yes != "$lt_cv_cc_needs_belf"; then
7942 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7943 CFLAGS=$SAVE_CFLAGS
7944 fi
7945 ;;
7946 *-*solaris*)
7947 # Find out what ABI is being produced by ac_compile, and set linker
7948 # options accordingly.
7949 echo 'int i;' > conftest.$ac_ext
7950 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7951 (eval $ac_compile) 2>&5
7952 ac_status=$?
7953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7954 test $ac_status = 0; }; then
7955 case `$FILECMD conftest.o` in
7956 *64-bit*)
7957 case $lt_cv_prog_gnu_ld in
7958 yes*)
7959 case $host in
7960 i?86-*-solaris*|x86_64-*-solaris*)
7961 LD="${LD-ld} -m elf_x86_64"
7962 ;;
7963 sparc*-*-solaris*)
7964 LD="${LD-ld} -m elf64_sparc"
7965 ;;
7966 esac
7967 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7968 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7969 LD=${LD-ld}_sol2
7970 fi
7971 ;;
7972 *)
7973 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7974 LD="${LD-ld} -64"
7975 fi
7976 ;;
7977 esac
7978 ;;
7979 esac
7980 fi
7981 rm -rf conftest*
7982 ;;
7983 esac
7984
7985 need_locks=$enable_libtool_lock
7986
7987 if test -n "$ac_tool_prefix"; then
7988 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7989 set dummy ${ac_tool_prefix}mt; ac_word=$2
7990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7991 printf %s "checking for $ac_word... " >&6; }
7992 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7993 then :
7994 printf %s "(cached) " >&6
7995 else case e in #(
7996 e) if test -n "$MANIFEST_TOOL"; then
7997 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7998 else
7999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8000 for as_dir in $PATH
8001 do
8002 IFS=$as_save_IFS
8003 case $as_dir in #(((
8004 '') as_dir=./ ;;
8005 */) ;;
8006 *) as_dir=$as_dir/ ;;
8007 esac
8008 for ac_exec_ext in '' $ac_executable_extensions; do
8009 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8010 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8012 break 2
8013 fi
8014 done
8015 done
8016 IFS=$as_save_IFS
8017
8018 fi ;;
8019 esac
8020 fi
8021 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8022 if test -n "$MANIFEST_TOOL"; then
8023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8024 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8025 else
8026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8027 printf "%s\n" "no" >&6; }
8028 fi
8029
8030
8031 fi
8032 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8033 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8034 # Extract the first word of "mt", so it can be a program name with args.
8035 set dummy mt; ac_word=$2
8036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8037 printf %s "checking for $ac_word... " >&6; }
8038 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8039 then :
8040 printf %s "(cached) " >&6
8041 else case e in #(
8042 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
8043 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8044 else
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 for as_dir in $PATH
8047 do
8048 IFS=$as_save_IFS
8049 case $as_dir in #(((
8050 '') as_dir=./ ;;
8051 */) ;;
8052 *) as_dir=$as_dir/ ;;
8053 esac
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8056 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8058 break 2
8059 fi
8060 done
8061 done
8062 IFS=$as_save_IFS
8063
8064 fi ;;
8065 esac
8066 fi
8067 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8068 if test -n "$ac_ct_MANIFEST_TOOL"; then
8069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8070 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8071 else
8072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8073 printf "%s\n" "no" >&6; }
8074 fi
8075
8076 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8077 MANIFEST_TOOL=":"
8078 else
8079 case $cross_compiling:$ac_tool_warned in
8080 yes:)
8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8083 ac_tool_warned=yes ;;
8084 esac
8085 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8086 fi
8087 else
8088 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8089 fi
8090
8091 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8093 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8094 if test ${lt_cv_path_manifest_tool+y}
8095 then :
8096 printf %s "(cached) " >&6
8097 else case e in #(
8098 e) lt_cv_path_manifest_tool=no
8099 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8100 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8101 cat conftest.err >&5
8102 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8103 lt_cv_path_manifest_tool=yes
8104 fi
8105 rm -f conftest* ;;
8106 esac
8107 fi
8108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
8109 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
8110 if test yes != "$lt_cv_path_manifest_tool"; then
8111 MANIFEST_TOOL=:
8112 fi
8113
8114
8115
8116
8117
8118
8119 case $host_os in
8120 rhapsody* | darwin*)
8121 if test -n "$ac_tool_prefix"; then
8122 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8123 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8125 printf %s "checking for $ac_word... " >&6; }
8126 if test ${ac_cv_prog_DSYMUTIL+y}
8127 then :
8128 printf %s "(cached) " >&6
8129 else case e in #(
8130 e) if test -n "$DSYMUTIL"; then
8131 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8132 else
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 for as_dir in $PATH
8135 do
8136 IFS=$as_save_IFS
8137 case $as_dir in #(((
8138 '') as_dir=./ ;;
8139 */) ;;
8140 *) as_dir=$as_dir/ ;;
8141 esac
8142 for ac_exec_ext in '' $ac_executable_extensions; do
8143 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8144 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8146 break 2
8147 fi
8148 done
8149 done
8150 IFS=$as_save_IFS
8151
8152 fi ;;
8153 esac
8154 fi
8155 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8156 if test -n "$DSYMUTIL"; then
8157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8158 printf "%s\n" "$DSYMUTIL" >&6; }
8159 else
8160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 printf "%s\n" "no" >&6; }
8162 fi
8163
8164
8165 fi
8166 if test -z "$ac_cv_prog_DSYMUTIL"; then
8167 ac_ct_DSYMUTIL=$DSYMUTIL
8168 # Extract the first word of "dsymutil", so it can be a program name with args.
8169 set dummy dsymutil; ac_word=$2
8170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8171 printf %s "checking for $ac_word... " >&6; }
8172 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8173 then :
8174 printf %s "(cached) " >&6
8175 else case e in #(
8176 e) if test -n "$ac_ct_DSYMUTIL"; then
8177 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8178 else
8179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8180 for as_dir in $PATH
8181 do
8182 IFS=$as_save_IFS
8183 case $as_dir in #(((
8184 '') as_dir=./ ;;
8185 */) ;;
8186 *) as_dir=$as_dir/ ;;
8187 esac
8188 for ac_exec_ext in '' $ac_executable_extensions; do
8189 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8190 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8192 break 2
8193 fi
8194 done
8195 done
8196 IFS=$as_save_IFS
8197
8198 fi ;;
8199 esac
8200 fi
8201 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8202 if test -n "$ac_ct_DSYMUTIL"; then
8203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8204 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8205 else
8206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8207 printf "%s\n" "no" >&6; }
8208 fi
8209
8210 if test "x$ac_ct_DSYMUTIL" = x; then
8211 DSYMUTIL=":"
8212 else
8213 case $cross_compiling:$ac_tool_warned in
8214 yes:)
8215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8216 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8217 ac_tool_warned=yes ;;
8218 esac
8219 DSYMUTIL=$ac_ct_DSYMUTIL
8220 fi
8221 else
8222 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8223 fi
8224
8225 if test -n "$ac_tool_prefix"; then
8226 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8227 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8229 printf %s "checking for $ac_word... " >&6; }
8230 if test ${ac_cv_prog_NMEDIT+y}
8231 then :
8232 printf %s "(cached) " >&6
8233 else case e in #(
8234 e) if test -n "$NMEDIT"; then
8235 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8236 else
8237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238 for as_dir in $PATH
8239 do
8240 IFS=$as_save_IFS
8241 case $as_dir in #(((
8242 '') as_dir=./ ;;
8243 */) ;;
8244 *) as_dir=$as_dir/ ;;
8245 esac
8246 for ac_exec_ext in '' $ac_executable_extensions; do
8247 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8248 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8250 break 2
8251 fi
8252 done
8253 done
8254 IFS=$as_save_IFS
8255
8256 fi ;;
8257 esac
8258 fi
8259 NMEDIT=$ac_cv_prog_NMEDIT
8260 if test -n "$NMEDIT"; then
8261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8262 printf "%s\n" "$NMEDIT" >&6; }
8263 else
8264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8265 printf "%s\n" "no" >&6; }
8266 fi
8267
8268
8269 fi
8270 if test -z "$ac_cv_prog_NMEDIT"; then
8271 ac_ct_NMEDIT=$NMEDIT
8272 # Extract the first word of "nmedit", so it can be a program name with args.
8273 set dummy nmedit; ac_word=$2
8274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8275 printf %s "checking for $ac_word... " >&6; }
8276 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8277 then :
8278 printf %s "(cached) " >&6
8279 else case e in #(
8280 e) if test -n "$ac_ct_NMEDIT"; then
8281 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8282 else
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 for as_dir in $PATH
8285 do
8286 IFS=$as_save_IFS
8287 case $as_dir in #(((
8288 '') as_dir=./ ;;
8289 */) ;;
8290 *) as_dir=$as_dir/ ;;
8291 esac
8292 for ac_exec_ext in '' $ac_executable_extensions; do
8293 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8294 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8296 break 2
8297 fi
8298 done
8299 done
8300 IFS=$as_save_IFS
8301
8302 fi ;;
8303 esac
8304 fi
8305 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8306 if test -n "$ac_ct_NMEDIT"; then
8307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8308 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8309 else
8310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8311 printf "%s\n" "no" >&6; }
8312 fi
8313
8314 if test "x$ac_ct_NMEDIT" = x; then
8315 NMEDIT=":"
8316 else
8317 case $cross_compiling:$ac_tool_warned in
8318 yes:)
8319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8320 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8321 ac_tool_warned=yes ;;
8322 esac
8323 NMEDIT=$ac_ct_NMEDIT
8324 fi
8325 else
8326 NMEDIT="$ac_cv_prog_NMEDIT"
8327 fi
8328
8329 if test -n "$ac_tool_prefix"; then
8330 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8331 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333 printf %s "checking for $ac_word... " >&6; }
8334 if test ${ac_cv_prog_LIPO+y}
8335 then :
8336 printf %s "(cached) " >&6
8337 else case e in #(
8338 e) if test -n "$LIPO"; then
8339 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8340 else
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 for as_dir in $PATH
8343 do
8344 IFS=$as_save_IFS
8345 case $as_dir in #(((
8346 '') as_dir=./ ;;
8347 */) ;;
8348 *) as_dir=$as_dir/ ;;
8349 esac
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8352 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8354 break 2
8355 fi
8356 done
8357 done
8358 IFS=$as_save_IFS
8359
8360 fi ;;
8361 esac
8362 fi
8363 LIPO=$ac_cv_prog_LIPO
8364 if test -n "$LIPO"; then
8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8366 printf "%s\n" "$LIPO" >&6; }
8367 else
8368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 printf "%s\n" "no" >&6; }
8370 fi
8371
8372
8373 fi
8374 if test -z "$ac_cv_prog_LIPO"; then
8375 ac_ct_LIPO=$LIPO
8376 # Extract the first word of "lipo", so it can be a program name with args.
8377 set dummy lipo; ac_word=$2
8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8379 printf %s "checking for $ac_word... " >&6; }
8380 if test ${ac_cv_prog_ac_ct_LIPO+y}
8381 then :
8382 printf %s "(cached) " >&6
8383 else case e in #(
8384 e) if test -n "$ac_ct_LIPO"; then
8385 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8386 else
8387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8388 for as_dir in $PATH
8389 do
8390 IFS=$as_save_IFS
8391 case $as_dir in #(((
8392 '') as_dir=./ ;;
8393 */) ;;
8394 *) as_dir=$as_dir/ ;;
8395 esac
8396 for ac_exec_ext in '' $ac_executable_extensions; do
8397 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8398 ac_cv_prog_ac_ct_LIPO="lipo"
8399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8400 break 2
8401 fi
8402 done
8403 done
8404 IFS=$as_save_IFS
8405
8406 fi ;;
8407 esac
8408 fi
8409 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8410 if test -n "$ac_ct_LIPO"; then
8411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8412 printf "%s\n" "$ac_ct_LIPO" >&6; }
8413 else
8414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415 printf "%s\n" "no" >&6; }
8416 fi
8417
8418 if test "x$ac_ct_LIPO" = x; then
8419 LIPO=":"
8420 else
8421 case $cross_compiling:$ac_tool_warned in
8422 yes:)
8423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8424 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8425 ac_tool_warned=yes ;;
8426 esac
8427 LIPO=$ac_ct_LIPO
8428 fi
8429 else
8430 LIPO="$ac_cv_prog_LIPO"
8431 fi
8432
8433 if test -n "$ac_tool_prefix"; then
8434 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8435 set dummy ${ac_tool_prefix}otool; ac_word=$2
8436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8437 printf %s "checking for $ac_word... " >&6; }
8438 if test ${ac_cv_prog_OTOOL+y}
8439 then :
8440 printf %s "(cached) " >&6
8441 else case e in #(
8442 e) if test -n "$OTOOL"; then
8443 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8444 else
8445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8446 for as_dir in $PATH
8447 do
8448 IFS=$as_save_IFS
8449 case $as_dir in #(((
8450 '') as_dir=./ ;;
8451 */) ;;
8452 *) as_dir=$as_dir/ ;;
8453 esac
8454 for ac_exec_ext in '' $ac_executable_extensions; do
8455 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8456 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8458 break 2
8459 fi
8460 done
8461 done
8462 IFS=$as_save_IFS
8463
8464 fi ;;
8465 esac
8466 fi
8467 OTOOL=$ac_cv_prog_OTOOL
8468 if test -n "$OTOOL"; then
8469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8470 printf "%s\n" "$OTOOL" >&6; }
8471 else
8472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473 printf "%s\n" "no" >&6; }
8474 fi
8475
8476
8477 fi
8478 if test -z "$ac_cv_prog_OTOOL"; then
8479 ac_ct_OTOOL=$OTOOL
8480 # Extract the first word of "otool", so it can be a program name with args.
8481 set dummy otool; ac_word=$2
8482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8483 printf %s "checking for $ac_word... " >&6; }
8484 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8485 then :
8486 printf %s "(cached) " >&6
8487 else case e in #(
8488 e) if test -n "$ac_ct_OTOOL"; then
8489 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8490 else
8491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8492 for as_dir in $PATH
8493 do
8494 IFS=$as_save_IFS
8495 case $as_dir in #(((
8496 '') as_dir=./ ;;
8497 */) ;;
8498 *) as_dir=$as_dir/ ;;
8499 esac
8500 for ac_exec_ext in '' $ac_executable_extensions; do
8501 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8502 ac_cv_prog_ac_ct_OTOOL="otool"
8503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8504 break 2
8505 fi
8506 done
8507 done
8508 IFS=$as_save_IFS
8509
8510 fi ;;
8511 esac
8512 fi
8513 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8514 if test -n "$ac_ct_OTOOL"; then
8515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8516 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8517 else
8518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8519 printf "%s\n" "no" >&6; }
8520 fi
8521
8522 if test "x$ac_ct_OTOOL" = x; then
8523 OTOOL=":"
8524 else
8525 case $cross_compiling:$ac_tool_warned in
8526 yes:)
8527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8528 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8529 ac_tool_warned=yes ;;
8530 esac
8531 OTOOL=$ac_ct_OTOOL
8532 fi
8533 else
8534 OTOOL="$ac_cv_prog_OTOOL"
8535 fi
8536
8537 if test -n "$ac_tool_prefix"; then
8538 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8539 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8541 printf %s "checking for $ac_word... " >&6; }
8542 if test ${ac_cv_prog_OTOOL64+y}
8543 then :
8544 printf %s "(cached) " >&6
8545 else case e in #(
8546 e) if test -n "$OTOOL64"; then
8547 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8548 else
8549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8550 for as_dir in $PATH
8551 do
8552 IFS=$as_save_IFS
8553 case $as_dir in #(((
8554 '') as_dir=./ ;;
8555 */) ;;
8556 *) as_dir=$as_dir/ ;;
8557 esac
8558 for ac_exec_ext in '' $ac_executable_extensions; do
8559 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8560 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8562 break 2
8563 fi
8564 done
8565 done
8566 IFS=$as_save_IFS
8567
8568 fi ;;
8569 esac
8570 fi
8571 OTOOL64=$ac_cv_prog_OTOOL64
8572 if test -n "$OTOOL64"; then
8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8574 printf "%s\n" "$OTOOL64" >&6; }
8575 else
8576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8577 printf "%s\n" "no" >&6; }
8578 fi
8579
8580
8581 fi
8582 if test -z "$ac_cv_prog_OTOOL64"; then
8583 ac_ct_OTOOL64=$OTOOL64
8584 # Extract the first word of "otool64", so it can be a program name with args.
8585 set dummy otool64; ac_word=$2
8586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8587 printf %s "checking for $ac_word... " >&6; }
8588 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8589 then :
8590 printf %s "(cached) " >&6
8591 else case e in #(
8592 e) if test -n "$ac_ct_OTOOL64"; then
8593 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8594 else
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8596 for as_dir in $PATH
8597 do
8598 IFS=$as_save_IFS
8599 case $as_dir in #(((
8600 '') as_dir=./ ;;
8601 */) ;;
8602 *) as_dir=$as_dir/ ;;
8603 esac
8604 for ac_exec_ext in '' $ac_executable_extensions; do
8605 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8606 ac_cv_prog_ac_ct_OTOOL64="otool64"
8607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8608 break 2
8609 fi
8610 done
8611 done
8612 IFS=$as_save_IFS
8613
8614 fi ;;
8615 esac
8616 fi
8617 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8618 if test -n "$ac_ct_OTOOL64"; then
8619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8620 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8621 else
8622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8623 printf "%s\n" "no" >&6; }
8624 fi
8625
8626 if test "x$ac_ct_OTOOL64" = x; then
8627 OTOOL64=":"
8628 else
8629 case $cross_compiling:$ac_tool_warned in
8630 yes:)
8631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8632 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8633 ac_tool_warned=yes ;;
8634 esac
8635 OTOOL64=$ac_ct_OTOOL64
8636 fi
8637 else
8638 OTOOL64="$ac_cv_prog_OTOOL64"
8639 fi
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8668 printf %s "checking for -single_module linker flag... " >&6; }
8669 if test ${lt_cv_apple_cc_single_mod+y}
8670 then :
8671 printf %s "(cached) " >&6
8672 else case e in #(
8673 e) lt_cv_apple_cc_single_mod=no
8674 if test -z "$LT_MULTI_MODULE"; then
8675 # By default we will add the -single_module flag. You can override
8676 # by either setting the environment variable LT_MULTI_MODULE
8677 # non-empty at configure time, or by adding -multi_module to the
8678 # link flags.
8679 rm -rf libconftest.dylib*
8680 echo "int foo(void){return 1;}" > conftest.c
8681 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8682 -dynamiclib -Wl,-single_module conftest.c" >&5
8683 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8684 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8685 _lt_result=$?
8686 # If there is a non-empty error log, and "single_module"
8687 # appears in it, assume the flag caused a linker warning
8688 if test -s conftest.err && $GREP single_module conftest.err; then
8689 cat conftest.err >&5
8690 # Otherwise, if the output was created with a 0 exit code from
8691 # the compiler, it worked.
8692 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8693 lt_cv_apple_cc_single_mod=yes
8694 else
8695 cat conftest.err >&5
8696 fi
8697 rm -rf libconftest.dylib*
8698 rm -f conftest.*
8699 fi ;;
8700 esac
8701 fi
8702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8703 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8704
8705 # Feature test to disable chained fixups since it is not
8706 # compatible with '-undefined dynamic_lookup'
8707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
8708 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
8709 if test ${lt_cv_support_no_fixup_chains+y}
8710 then :
8711 printf %s "(cached) " >&6
8712 else case e in #(
8713 e) save_LDFLAGS=$LDFLAGS
8714 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8717
8718 int
8719 main (void)
8720 {
8721
8722 ;
8723 return 0;
8724 }
8725 _ACEOF
8726 if ac_fn_c_try_link "$LINENO"
8727 then :
8728 lt_cv_support_no_fixup_chains=yes
8729 else case e in #(
8730 e) lt_cv_support_no_fixup_chains=no
8731 ;;
8732 esac
8733 fi
8734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8735 conftest$ac_exeext conftest.$ac_ext
8736 LDFLAGS=$save_LDFLAGS
8737
8738 ;;
8739 esac
8740 fi
8741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
8742 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
8743
8744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8745 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8746 if test ${lt_cv_ld_exported_symbols_list+y}
8747 then :
8748 printf %s "(cached) " >&6
8749 else case e in #(
8750 e) lt_cv_ld_exported_symbols_list=no
8751 save_LDFLAGS=$LDFLAGS
8752 echo "_main" > conftest.sym
8753 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756
8757 int
8758 main (void)
8759 {
8760
8761 ;
8762 return 0;
8763 }
8764 _ACEOF
8765 if ac_fn_c_try_link "$LINENO"
8766 then :
8767 lt_cv_ld_exported_symbols_list=yes
8768 else case e in #(
8769 e) lt_cv_ld_exported_symbols_list=no ;;
8770 esac
8771 fi
8772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8773 conftest$ac_exeext conftest.$ac_ext
8774 LDFLAGS=$save_LDFLAGS
8775 ;;
8776 esac
8777 fi
8778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8779 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8780
8781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8782 printf %s "checking for -force_load linker flag... " >&6; }
8783 if test ${lt_cv_ld_force_load+y}
8784 then :
8785 printf %s "(cached) " >&6
8786 else case e in #(
8787 e) lt_cv_ld_force_load=no
8788 cat > conftest.c << _LT_EOF
8789 int forced_loaded() { return 2;}
8790 _LT_EOF
8791 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8792 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8793 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8794 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8795 echo "$RANLIB libconftest.a" >&5
8796 $RANLIB libconftest.a 2>&5
8797 cat > conftest.c << _LT_EOF
8798 int main(void) { return 0;}
8799 _LT_EOF
8800 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8801 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8802 _lt_result=$?
8803 if test -s conftest.err && $GREP force_load conftest.err; then
8804 cat conftest.err >&5
8805 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8806 lt_cv_ld_force_load=yes
8807 else
8808 cat conftest.err >&5
8809 fi
8810 rm -f conftest.err libconftest.a conftest conftest.c
8811 rm -rf conftest.dSYM
8812 ;;
8813 esac
8814 fi
8815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8816 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8817 case $host_os in
8818 rhapsody* | darwin1.[012])
8819 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8820 darwin1.*)
8821 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8822 darwin*)
8823 case $MACOSX_DEPLOYMENT_TARGET,$host in
8824 10.[012],*|,*powerpc*-darwin[5-8]*)
8825 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8826 *)
8827 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
8828 if test yes = "$lt_cv_support_no_fixup_chains"; then
8829 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
8830 fi
8831 ;;
8832 esac
8833 ;;
8834 esac
8835 if test yes = "$lt_cv_apple_cc_single_mod"; then
8836 _lt_dar_single_mod='$single_module'
8837 fi
8838 _lt_dar_needs_single_mod=no
8839 case $host_os in
8840 rhapsody* | darwin1.*)
8841 _lt_dar_needs_single_mod=yes ;;
8842 darwin*)
8843 # When targeting Mac OS X 10.4 (darwin 8) or later,
8844 # -single_module is the default and -multi_module is unsupported.
8845 # The toolchain on macOS 10.14 (darwin 18) and later cannot
8846 # target any OS version that needs -single_module.
8847 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8848 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
8849 _lt_dar_needs_single_mod=yes ;;
8850 esac
8851 ;;
8852 esac
8853 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8854 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8855 else
8856 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8857 fi
8858 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8859 _lt_dsymutil='~$DSYMUTIL $lib || :'
8860 else
8861 _lt_dsymutil=
8862 fi
8863 ;;
8864 esac
8865
8866 # func_munge_path_list VARIABLE PATH
8867 # -----------------------------------
8868 # VARIABLE is name of variable containing _space_ separated list of
8869 # directories to be munged by the contents of PATH, which is string
8870 # having a format:
8871 # "DIR[:DIR]:"
8872 # string "DIR[ DIR]" will be prepended to VARIABLE
8873 # ":DIR[:DIR]"
8874 # string "DIR[ DIR]" will be appended to VARIABLE
8875 # "DIRP[:DIRP]::[DIRA:]DIRA"
8876 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8877 # "DIRA[ DIRA]" will be appended to VARIABLE
8878 # "DIR[:DIR]"
8879 # VARIABLE will be replaced by "DIR[ DIR]"
8880 func_munge_path_list ()
8881 {
8882 case x$2 in
8883 x)
8884 ;;
8885 *:)
8886 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8887 ;;
8888 x:*)
8889 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8890 ;;
8891 *::*)
8892 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8893 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8894 ;;
8895 *)
8896 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8897 ;;
8898 esac
8899 }
8900
8901 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8902 "
8903 if test "x$ac_cv_header_dlfcn_h" = xyes
8904 then :
8905 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8906
8907 fi
8908
8909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
8910 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
8911 if test ${ac_cv_c_undeclared_builtin_options+y}
8912 then :
8913 printf %s "(cached) " >&6
8914 else case e in #(
8915 e) ac_save_CFLAGS=$CFLAGS
8916 ac_cv_c_undeclared_builtin_options='cannot detect'
8917 for ac_arg in '' -fno-builtin; do
8918 CFLAGS="$ac_save_CFLAGS $ac_arg"
8919 # This test program should *not* compile successfully.
8920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8921 /* end confdefs.h. */
8922
8923 int
8924 main (void)
8925 {
8926 (void) strchr;
8927 ;
8928 return 0;
8929 }
8930 _ACEOF
8931 if ac_fn_c_try_compile "$LINENO"
8932 then :
8933
8934 else case e in #(
8935 e) # This test program should compile successfully.
8936 # No library function is consistently available on
8937 # freestanding implementations, so test against a dummy
8938 # declaration. Include always-available headers on the
8939 # off chance that they somehow elicit warnings.
8940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8941 /* end confdefs.h. */
8942 #include <float.h>
8943 #include <limits.h>
8944 #include <stdarg.h>
8945 #include <stddef.h>
8946 extern void ac_decl (int, char *);
8947
8948 int
8949 main (void)
8950 {
8951 (void) ac_decl (0, (char *) 0);
8952 (void) ac_decl;
8953
8954 ;
8955 return 0;
8956 }
8957 _ACEOF
8958 if ac_fn_c_try_compile "$LINENO"
8959 then :
8960 if test x"$ac_arg" = x
8961 then :
8962 ac_cv_c_undeclared_builtin_options='none needed'
8963 else case e in #(
8964 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
8965 esac
8966 fi
8967 break
8968 fi
8969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
8970 esac
8971 fi
8972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8973 done
8974 CFLAGS=$ac_save_CFLAGS
8975 ;;
8976 esac
8977 fi
8978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
8979 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
8980 case $ac_cv_c_undeclared_builtin_options in #(
8981 'cannot detect') :
8982 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
8983 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
8984 as_fn_error $? "cannot make $CC report undeclared builtins
8985 See 'config.log' for more details" "$LINENO" 5; } ;; #(
8986 'none needed') :
8987 ac_c_undeclared_builtin_options='' ;; #(
8988 *) :
8989 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
8990 esac
8991
8992 echo 'tldbg:KPSE_COMMON called (pkg=ttf2pk, amopt=no-define)' >&5
8993 echo 'tldbg:KPSE_BASIC called (pkg=ttf2pk, amopt=no-define)' >&5
8994
8995 #
8996 # am_init_automake
8997 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8998 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8999 # is not polluted with repeated "-I."
9000 am__isrc=' -I$(srcdir)'
9001 # test to see if srcdir already configured
9002 if test -f $srcdir/config.status; then
9003 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
9004 fi
9005 fi
9006
9007 # test whether we have cygpath
9008 if test -z "$CYGPATH_W"; then
9009 if (cygpath --version) >/dev/null 2>/dev/null; then
9010 CYGPATH_W='cygpath -w'
9011 else
9012 CYGPATH_W=echo
9013 fi
9014 fi
9015
9016
9017 # Define the identity of the package.
9018 PACKAGE='ttf2pk2--tex-live-'
9019 VERSION='2.0'
9020
9021
9022 # Some tools Automake needs.
9023
9024 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9025
9026
9027 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9028
9029
9030 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9031
9032
9033 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9034
9035
9036 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9037
9038 # For better backward compatibility. To be removed once Automake 1.9.x
9039 # dies out for good. For more background, see:
9040 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9041 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9042 mkdir_p='$(MKDIR_P)'
9043
9044 # We need awk for the "check" target (and possibly the TAP driver). The
9045 # system "awk" is bad on some platforms.
9046 # Always define AMTAR for backward compatibility. Yes, it's still used
9047 # in the wild :-( We should find a proper way to deprecate it ...
9048 AMTAR='$${TAR-tar}'
9049
9050
9051 # We'll loop over all known methods to create a tar archive until one works.
9052 _am_tools='gnutar plaintar pax cpio none'
9053
9054 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
9055 # There is notably a 21 bits limit for the UID and the GID. In fact,
9056 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
9057 # and bug#13588).
9058 am_max_uid=2097151 # 2^21 - 1
9059 am_max_gid=$am_max_uid
9060 # The $UID and $GID variables are not portable, so we need to resort
9061 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
9062 # below are definitely unexpected, so allow the users to see them
9063 # (that is, avoid stderr redirection).
9064 am_uid=`id -u || echo unknown`
9065 am_gid=`id -g || echo unknown`
9066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
9067 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
9068 if test x$am_uid = xunknown; then
9069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
9070 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
9071 elif test $am_uid -le $am_max_uid; then
9072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9073 printf "%s\n" "yes" >&6; }
9074 else
9075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9076 printf "%s\n" "no" >&6; }
9077 _am_tools=none
9078 fi
9079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
9080 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
9081 if test x$gm_gid = xunknown; then
9082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
9083 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
9084 elif test $am_gid -le $am_max_gid; then
9085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9086 printf "%s\n" "yes" >&6; }
9087 else
9088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 printf "%s\n" "no" >&6; }
9090 _am_tools=none
9091 fi
9092
9093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
9094 printf %s "checking how to create a ustar tar archive... " >&6; }
9095
9096 # Go ahead even if we have the value already cached. We do so because we
9097 # need to set the values for the 'am__tar' and 'am__untar' variables.
9098 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
9099
9100 for _am_tool in $_am_tools; do
9101 case $_am_tool in
9102 gnutar)
9103 for _am_tar in tar gnutar gtar; do
9104 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9105 ($_am_tar --version) >&5 2>&5
9106 ac_status=$?
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); } && break
9109 done
9110 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
9111 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
9112 am__untar="$_am_tar -xf -"
9113 ;;
9114 plaintar)
9115 # Must skip GNU tar: if it does not support --format= it doesn't create
9116 # ustar tarball either.
9117 (tar --version) >/dev/null 2>&1 && continue
9118 am__tar='tar chf - "$$tardir"'
9119 am__tar_='tar chf - "$tardir"'
9120 am__untar='tar xf -'
9121 ;;
9122 pax)
9123 am__tar='pax -L -x ustar -w "$$tardir"'
9124 am__tar_='pax -L -x ustar -w "$tardir"'
9125 am__untar='pax -r'
9126 ;;
9127 cpio)
9128 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
9129 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
9130 am__untar='cpio -i -H ustar -d'
9131 ;;
9132 none)
9133 am__tar=false
9134 am__tar_=false
9135 am__untar=false
9136 ;;
9137 esac
9138
9139 # If the value was cached, stop now. We just wanted to have am__tar
9140 # and am__untar set.
9141 test -n "${am_cv_prog_tar_ustar}" && break
9142
9143 # tar/untar a dummy directory, and stop if the command works.
9144 rm -rf conftest.dir
9145 mkdir conftest.dir
9146 echo GrepMe > conftest.dir/file
9147 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9148 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
9149 ac_status=$?
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }
9152 rm -rf conftest.dir
9153 if test -s conftest.tar; then
9154 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9155 ($am__untar <conftest.tar) >&5 2>&5
9156 ac_status=$?
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); }
9159 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9160 (cat conftest.dir/file) >&5 2>&5
9161 ac_status=$?
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); }
9164 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9165 fi
9166 done
9167 rm -rf conftest.dir
9168
9169 if test ${am_cv_prog_tar_ustar+y}
9170 then :
9171 printf %s "(cached) " >&6
9172 else case e in #(
9173 e) am_cv_prog_tar_ustar=$_am_tool ;;
9174 esac
9175 fi
9176
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
9178 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
9179
9180
9181
9182
9183
9184 # Variables for tags utilities; see am/tags.am
9185 if test -z "$CTAGS"; then
9186 CTAGS=ctags
9187 fi
9188
9189 if test -z "$ETAGS"; then
9190 ETAGS=etags
9191 fi
9192
9193 if test -z "$CSCOPE"; then
9194 CSCOPE=cscope
9195 fi
9196
9197
9198
9199
9200
9201
9202
9203
9204 # am_maintainer_mode
9205
9206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9207 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9208 # Check whether --enable-maintainer-mode was given.
9209 if test ${enable_maintainer_mode+y}
9210 then :
9211 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9212 else case e in #(
9213 e) USE_MAINTAINER_MODE=no ;;
9214 esac
9215 fi
9216
9217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9218 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
9219 if test $USE_MAINTAINER_MODE = yes; then
9220 MAINTAINER_MODE_TRUE=
9221 MAINTAINER_MODE_FALSE='#'
9222 else
9223 MAINTAINER_MODE_TRUE='#'
9224 MAINTAINER_MODE_FALSE=
9225 fi
9226
9227 MAINT=$MAINTAINER_MODE_TRUE
9228
9229
9230
9231 # See comments in kpse-setup.m4 about system extensions.
9232
9233
9234 # Check whether prototypes work.
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9236 printf %s "checking whether the compiler accepts prototypes... " >&6; }
9237 if test ${kb_cv_c_prototypes+y}
9238 then :
9239 printf %s "(cached) " >&6
9240 else case e in #(
9241 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9243 #include <stdarg.h>
9244 int
9245 main (void)
9246 {
9247 extern void foo(int i,...);
9248 ;
9249 return 0;
9250 }
9251 _ACEOF
9252 if ac_fn_c_try_link "$LINENO"
9253 then :
9254 kb_cv_c_prototypes=yes
9255 else case e in #(
9256 e) kb_cv_c_prototypes=no ;;
9257 esac
9258 fi
9259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9260 conftest$ac_exeext conftest.$ac_ext ;;
9261 esac
9262 fi
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9264 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
9265 if test "x$kb_cv_c_prototypes" = xno; then
9266 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
9267 fi
9268
9269 # kpse_compiler_warnings options.
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9271 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
9272 if test ${kpse_cv_warning_cflags+y}
9273 then :
9274 printf %s "(cached) " >&6
9275 else case e in #(
9276 e) if test "x$GCC" = xyes; then
9277 kpse_cv_warning_cflags=
9278 if test "x$enable_compiler_warnings" != xno; then
9279 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
9280 case `$CC -dumpversion` in #(
9281 3.4.* | 4.* | 5.*) :
9282 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9283 *) :
9284 ;;
9285 esac
9286 case `$CC -dumpversion` in #(
9287 3.[234].* | 4.* | 5.*) :
9288 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9289 *) :
9290 ;;
9291 esac
9292 if test "x$enable_compiler_warnings" != xmin; then
9293 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
9294 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9295 if test "x$enable_compiler_warnings" != xyes; then
9296 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9297 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9298 case `$CC -dumpversion` in #(
9299 3.4.* | 4.* | 5.*) :
9300 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9301 *) :
9302 ;;
9303 esac
9304 if test "x$enable_compiler_warnings" != xmax; then
9305 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
9306 fi
9307 fi
9308 fi
9309 fi
9310 elif test "x$enable_compiler_warnings" = xno; then
9311 kpse_cv_warning_cflags=
9312 else
9313 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
9314 fi ;;
9315 esac
9316 fi
9317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9318 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
9319 WARNING_CFLAGS=$kpse_cv_warning_cflags
9320
9321
9322
9323
9324
9325
9326
9327 # end of kpse_basic macro.
9328 echo 'tldbg:KPSE_BASIC done (pkg=ttf2pk, amopt=no-define)' >&5
9329
9330 # am_prog_ar must be called before lt_init.
9331
9332 if test -n "$ac_tool_prefix"; then
9333 for ac_prog in ar lib "link -lib"
9334 do
9335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9338 printf %s "checking for $ac_word... " >&6; }
9339 if test ${ac_cv_prog_AR+y}
9340 then :
9341 printf %s "(cached) " >&6
9342 else case e in #(
9343 e) if test -n "$AR"; then
9344 ac_cv_prog_AR="$AR" # Let the user override the test.
9345 else
9346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 for as_dir in $PATH
9348 do
9349 IFS=$as_save_IFS
9350 case $as_dir in #(((
9351 '') as_dir=./ ;;
9352 */) ;;
9353 *) as_dir=$as_dir/ ;;
9354 esac
9355 for ac_exec_ext in '' $ac_executable_extensions; do
9356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9357 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9359 break 2
9360 fi
9361 done
9362 done
9363 IFS=$as_save_IFS
9364
9365 fi ;;
9366 esac
9367 fi
9368 AR=$ac_cv_prog_AR
9369 if test -n "$AR"; then
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9371 printf "%s\n" "$AR" >&6; }
9372 else
9373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9374 printf "%s\n" "no" >&6; }
9375 fi
9376
9377
9378 test -n "$AR" && break
9379 done
9380 fi
9381 if test -z "$AR"; then
9382 ac_ct_AR=$AR
9383 for ac_prog in ar lib "link -lib"
9384 do
9385 # Extract the first word of "$ac_prog", so it can be a program name with args.
9386 set dummy $ac_prog; ac_word=$2
9387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9388 printf %s "checking for $ac_word... " >&6; }
9389 if test ${ac_cv_prog_ac_ct_AR+y}
9390 then :
9391 printf %s "(cached) " >&6
9392 else case e in #(
9393 e) if test -n "$ac_ct_AR"; then
9394 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9395 else
9396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9397 for as_dir in $PATH
9398 do
9399 IFS=$as_save_IFS
9400 case $as_dir in #(((
9401 '') as_dir=./ ;;
9402 */) ;;
9403 *) as_dir=$as_dir/ ;;
9404 esac
9405 for ac_exec_ext in '' $ac_executable_extensions; do
9406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9407 ac_cv_prog_ac_ct_AR="$ac_prog"
9408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9409 break 2
9410 fi
9411 done
9412 done
9413 IFS=$as_save_IFS
9414
9415 fi ;;
9416 esac
9417 fi
9418 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9419 if test -n "$ac_ct_AR"; then
9420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9421 printf "%s\n" "$ac_ct_AR" >&6; }
9422 else
9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9424 printf "%s\n" "no" >&6; }
9425 fi
9426
9427
9428 test -n "$ac_ct_AR" && break
9429 done
9430
9431 if test "x$ac_ct_AR" = x; then
9432 AR="false"
9433 else
9434 case $cross_compiling:$ac_tool_warned in
9435 yes:)
9436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9437 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9438 ac_tool_warned=yes ;;
9439 esac
9440 AR=$ac_ct_AR
9441 fi
9442 fi
9443
9444 : ${AR=ar}
9445 : ${ARFLAGS=cr}
9446
9447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
9448 printf %s "checking the archiver ($AR) interface... " >&6; }
9449 if test ${am_cv_ar_interface+y}
9450 then :
9451 printf %s "(cached) " >&6
9452 else case e in #(
9453 e) ac_ext=c
9454 ac_cpp='$CPP $CPPFLAGS'
9455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9458
9459 am_cv_ar_interface=ar
9460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9462 int some_variable = 0;
9463 _ACEOF
9464 if ac_fn_c_try_compile "$LINENO"
9465 then :
9466 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
9467 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9468 (eval $am_ar_try) 2>&5
9469 ac_status=$?
9470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9471 test $ac_status = 0; }
9472 if test "$ac_status" -eq 0; then
9473 am_cv_ar_interface=ar
9474 else
9475 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
9476 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9477 (eval $am_ar_try) 2>&5
9478 ac_status=$?
9479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9480 test $ac_status = 0; }
9481 if test "$ac_status" -eq 0; then
9482 am_cv_ar_interface=lib
9483 else
9484 am_cv_ar_interface=unknown
9485 fi
9486 fi
9487 rm -f conftest.lib libconftest.a
9488
9489 fi
9490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9491 ac_ext=c
9492 ac_cpp='$CPP $CPPFLAGS'
9493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9496 ;;
9497 esac
9498 fi
9499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
9500 printf "%s\n" "$am_cv_ar_interface" >&6; }
9501
9502 case $am_cv_ar_interface in
9503 ar)
9504 ;;
9505 lib)
9506 # Microsoft lib, so override with the ar-lib wrapper script.
9507 # FIXME: It is wrong to rewrite AR.
9508 # But if we don't then we get into trouble of one sort or another.
9509 # A longer-term fix would be to have automake use am__AR in this case,
9510 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9511 # similar.
9512 AR="$am_aux_dir/ar-lib $AR"
9513 ;;
9514 unknown)
9515 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
9516 ;;
9517 esac
9518
9519 # (end am_prog_ar)
9520 # starting lt_prereq + lt_init.
9521
9522
9523
9524
9525
9526 # Set options
9527 enable_win32_dll=yes
9528
9529 case $host in
9530 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
9531 if test -n "$ac_tool_prefix"; then
9532 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9533 set dummy ${ac_tool_prefix}as; ac_word=$2
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9535 printf %s "checking for $ac_word... " >&6; }
9536 if test ${ac_cv_prog_AS+y}
9537 then :
9538 printf %s "(cached) " >&6
9539 else case e in #(
9540 e) if test -n "$AS"; then
9541 ac_cv_prog_AS="$AS" # Let the user override the test.
9542 else
9543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544 for as_dir in $PATH
9545 do
9546 IFS=$as_save_IFS
9547 case $as_dir in #(((
9548 '') as_dir=./ ;;
9549 */) ;;
9550 *) as_dir=$as_dir/ ;;
9551 esac
9552 for ac_exec_ext in '' $ac_executable_extensions; do
9553 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9554 ac_cv_prog_AS="${ac_tool_prefix}as"
9555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9556 break 2
9557 fi
9558 done
9559 done
9560 IFS=$as_save_IFS
9561
9562 fi ;;
9563 esac
9564 fi
9565 AS=$ac_cv_prog_AS
9566 if test -n "$AS"; then
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9568 printf "%s\n" "$AS" >&6; }
9569 else
9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 printf "%s\n" "no" >&6; }
9572 fi
9573
9574
9575 fi
9576 if test -z "$ac_cv_prog_AS"; then
9577 ac_ct_AS=$AS
9578 # Extract the first word of "as", so it can be a program name with args.
9579 set dummy as; ac_word=$2
9580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 printf %s "checking for $ac_word... " >&6; }
9582 if test ${ac_cv_prog_ac_ct_AS+y}
9583 then :
9584 printf %s "(cached) " >&6
9585 else case e in #(
9586 e) if test -n "$ac_ct_AS"; then
9587 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9588 else
9589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9590 for as_dir in $PATH
9591 do
9592 IFS=$as_save_IFS
9593 case $as_dir in #(((
9594 '') as_dir=./ ;;
9595 */) ;;
9596 *) as_dir=$as_dir/ ;;
9597 esac
9598 for ac_exec_ext in '' $ac_executable_extensions; do
9599 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9600 ac_cv_prog_ac_ct_AS="as"
9601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9602 break 2
9603 fi
9604 done
9605 done
9606 IFS=$as_save_IFS
9607
9608 fi ;;
9609 esac
9610 fi
9611 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9612 if test -n "$ac_ct_AS"; then
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9614 printf "%s\n" "$ac_ct_AS" >&6; }
9615 else
9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9617 printf "%s\n" "no" >&6; }
9618 fi
9619
9620 if test "x$ac_ct_AS" = x; then
9621 AS="false"
9622 else
9623 case $cross_compiling:$ac_tool_warned in
9624 yes:)
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9626 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9627 ac_tool_warned=yes ;;
9628 esac
9629 AS=$ac_ct_AS
9630 fi
9631 else
9632 AS="$ac_cv_prog_AS"
9633 fi
9634
9635 if test -n "$ac_tool_prefix"; then
9636 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9637 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9639 printf %s "checking for $ac_word... " >&6; }
9640 if test ${ac_cv_prog_DLLTOOL+y}
9641 then :
9642 printf %s "(cached) " >&6
9643 else case e in #(
9644 e) if test -n "$DLLTOOL"; then
9645 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9646 else
9647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9648 for as_dir in $PATH
9649 do
9650 IFS=$as_save_IFS
9651 case $as_dir in #(((
9652 '') as_dir=./ ;;
9653 */) ;;
9654 *) as_dir=$as_dir/ ;;
9655 esac
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9658 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9660 break 2
9661 fi
9662 done
9663 done
9664 IFS=$as_save_IFS
9665
9666 fi ;;
9667 esac
9668 fi
9669 DLLTOOL=$ac_cv_prog_DLLTOOL
9670 if test -n "$DLLTOOL"; then
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9672 printf "%s\n" "$DLLTOOL" >&6; }
9673 else
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 printf "%s\n" "no" >&6; }
9676 fi
9677
9678
9679 fi
9680 if test -z "$ac_cv_prog_DLLTOOL"; then
9681 ac_ct_DLLTOOL=$DLLTOOL
9682 # Extract the first word of "dlltool", so it can be a program name with args.
9683 set dummy dlltool; ac_word=$2
9684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9685 printf %s "checking for $ac_word... " >&6; }
9686 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9687 then :
9688 printf %s "(cached) " >&6
9689 else case e in #(
9690 e) if test -n "$ac_ct_DLLTOOL"; then
9691 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9692 else
9693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9694 for as_dir in $PATH
9695 do
9696 IFS=$as_save_IFS
9697 case $as_dir in #(((
9698 '') as_dir=./ ;;
9699 */) ;;
9700 *) as_dir=$as_dir/ ;;
9701 esac
9702 for ac_exec_ext in '' $ac_executable_extensions; do
9703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9704 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9706 break 2
9707 fi
9708 done
9709 done
9710 IFS=$as_save_IFS
9711
9712 fi ;;
9713 esac
9714 fi
9715 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9716 if test -n "$ac_ct_DLLTOOL"; then
9717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9718 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9719 else
9720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9721 printf "%s\n" "no" >&6; }
9722 fi
9723
9724 if test "x$ac_ct_DLLTOOL" = x; then
9725 DLLTOOL="false"
9726 else
9727 case $cross_compiling:$ac_tool_warned in
9728 yes:)
9729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9730 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9731 ac_tool_warned=yes ;;
9732 esac
9733 DLLTOOL=$ac_ct_DLLTOOL
9734 fi
9735 else
9736 DLLTOOL="$ac_cv_prog_DLLTOOL"
9737 fi
9738
9739 if test -n "$ac_tool_prefix"; then
9740 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9741 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9743 printf %s "checking for $ac_word... " >&6; }
9744 if test ${ac_cv_prog_OBJDUMP+y}
9745 then :
9746 printf %s "(cached) " >&6
9747 else case e in #(
9748 e) if test -n "$OBJDUMP"; then
9749 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9750 else
9751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9752 for as_dir in $PATH
9753 do
9754 IFS=$as_save_IFS
9755 case $as_dir in #(((
9756 '') as_dir=./ ;;
9757 */) ;;
9758 *) as_dir=$as_dir/ ;;
9759 esac
9760 for ac_exec_ext in '' $ac_executable_extensions; do
9761 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9762 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9764 break 2
9765 fi
9766 done
9767 done
9768 IFS=$as_save_IFS
9769
9770 fi ;;
9771 esac
9772 fi
9773 OBJDUMP=$ac_cv_prog_OBJDUMP
9774 if test -n "$OBJDUMP"; then
9775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9776 printf "%s\n" "$OBJDUMP" >&6; }
9777 else
9778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9779 printf "%s\n" "no" >&6; }
9780 fi
9781
9782
9783 fi
9784 if test -z "$ac_cv_prog_OBJDUMP"; then
9785 ac_ct_OBJDUMP=$OBJDUMP
9786 # Extract the first word of "objdump", so it can be a program name with args.
9787 set dummy objdump; ac_word=$2
9788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9789 printf %s "checking for $ac_word... " >&6; }
9790 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9791 then :
9792 printf %s "(cached) " >&6
9793 else case e in #(
9794 e) if test -n "$ac_ct_OBJDUMP"; then
9795 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9796 else
9797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9798 for as_dir in $PATH
9799 do
9800 IFS=$as_save_IFS
9801 case $as_dir in #(((
9802 '') as_dir=./ ;;
9803 */) ;;
9804 *) as_dir=$as_dir/ ;;
9805 esac
9806 for ac_exec_ext in '' $ac_executable_extensions; do
9807 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9808 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9810 break 2
9811 fi
9812 done
9813 done
9814 IFS=$as_save_IFS
9815
9816 fi ;;
9817 esac
9818 fi
9819 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9820 if test -n "$ac_ct_OBJDUMP"; then
9821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9822 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
9823 else
9824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9825 printf "%s\n" "no" >&6; }
9826 fi
9827
9828 if test "x$ac_ct_OBJDUMP" = x; then
9829 OBJDUMP="false"
9830 else
9831 case $cross_compiling:$ac_tool_warned in
9832 yes:)
9833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9834 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9835 ac_tool_warned=yes ;;
9836 esac
9837 OBJDUMP=$ac_ct_OBJDUMP
9838 fi
9839 else
9840 OBJDUMP="$ac_cv_prog_OBJDUMP"
9841 fi
9842
9843 ;;
9844 esac
9845
9846 test -z "$AS" && AS=as
9847
9848
9849
9850
9851
9852 test -z "$DLLTOOL" && DLLTOOL=dlltool
9853
9854
9855
9856
9857
9858 test -z "$OBJDUMP" && OBJDUMP=objdump
9859
9860
9861
9862
9863
9864
9865
9866 enable_dlopen=no
9867
9868
9869
9870 # Check whether --enable-shared was given.
9871 if test ${enable_shared+y}
9872 then :
9873 enableval=$enable_shared; p=${PACKAGE-default}
9874 case $enableval in
9875 yes) enable_shared=yes ;;
9876 no) enable_shared=no ;;
9877 *)
9878 enable_shared=no
9879 # Look at the argument we got. We use all the common list separators.
9880 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9881 for pkg in $enableval; do
9882 IFS=$lt_save_ifs
9883 if test "X$pkg" = "X$p"; then
9884 enable_shared=yes
9885 fi
9886 done
9887 IFS=$lt_save_ifs
9888 ;;
9889 esac
9890 else case e in #(
9891 e) enable_shared=yes ;;
9892 esac
9893 fi
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903 # Check whether --enable-static was given.
9904 if test ${enable_static+y}
9905 then :
9906 enableval=$enable_static; p=${PACKAGE-default}
9907 case $enableval in
9908 yes) enable_static=yes ;;
9909 no) enable_static=no ;;
9910 *)
9911 enable_static=no
9912 # Look at the argument we got. We use all the common list separators.
9913 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9914 for pkg in $enableval; do
9915 IFS=$lt_save_ifs
9916 if test "X$pkg" = "X$p"; then
9917 enable_static=yes
9918 fi
9919 done
9920 IFS=$lt_save_ifs
9921 ;;
9922 esac
9923 else case e in #(
9924 e) enable_static=yes ;;
9925 esac
9926 fi
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936 # Check whether --enable-pic was given.
9937 if test ${enable_pic+y}
9938 then :
9939 enableval=$enable_pic; lt_p=${PACKAGE-default}
9940 case $enableval in
9941 yes|no) pic_mode=$enableval ;;
9942 *)
9943 pic_mode=default
9944 # Look at the argument we got. We use all the common list separators.
9945 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9946 for lt_pkg in $enableval; do
9947 IFS=$lt_save_ifs
9948 if test "X$lt_pkg" = "X$lt_p"; then
9949 pic_mode=yes
9950 fi
9951 done
9952 IFS=$lt_save_ifs
9953 ;;
9954 esac
9955 else case e in #(
9956 e) # Check whether --with-pic was given.
9957 if test ${with_pic+y}
9958 then :
9959 withval=$with_pic; lt_p=${PACKAGE-default}
9960 case $withval in
9961 yes|no) pic_mode=$withval ;;
9962 *)
9963 pic_mode=default
9964 # Look at the argument we got. We use all the common list separators.
9965 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9966 for lt_pkg in $withval; do
9967 IFS=$lt_save_ifs
9968 if test "X$lt_pkg" = "X$lt_p"; then
9969 pic_mode=yes
9970 fi
9971 done
9972 IFS=$lt_save_ifs
9973 ;;
9974 esac
9975 else case e in #(
9976 e) pic_mode=default ;;
9977 esac
9978 fi
9979
9980 ;;
9981 esac
9982 fi
9983
9984
9985
9986
9987
9988
9989
9990
9991 # Check whether --enable-fast-install was given.
9992 if test ${enable_fast_install+y}
9993 then :
9994 enableval=$enable_fast_install; p=${PACKAGE-default}
9995 case $enableval in
9996 yes) enable_fast_install=yes ;;
9997 no) enable_fast_install=no ;;
9998 *)
9999 enable_fast_install=no
10000 # Look at the argument we got. We use all the common list separators.
10001 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10002 for pkg in $enableval; do
10003 IFS=$lt_save_ifs
10004 if test "X$pkg" = "X$p"; then
10005 enable_fast_install=yes
10006 fi
10007 done
10008 IFS=$lt_save_ifs
10009 ;;
10010 esac
10011 else case e in #(
10012 e) enable_fast_install=yes ;;
10013 esac
10014 fi
10015
10016
10017
10018
10019
10020
10021
10022
10023 shared_archive_member_spec=
10024 case $host,$enable_shared in
10025 power*-*-aix[5-9]*,yes)
10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10027 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10028 # Check whether --enable-aix-soname was given.
10029 if test ${enable_aix_soname+y}
10030 then :
10031 enableval=$enable_aix_soname; case $enableval in
10032 aix|svr4|both)
10033 ;;
10034 *)
10035 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10036 ;;
10037 esac
10038 lt_cv_with_aix_soname=$enable_aix_soname
10039 else case e in #(
10040 e) # Check whether --with-aix-soname was given.
10041 if test ${with_aix_soname+y}
10042 then :
10043 withval=$with_aix_soname; case $withval in
10044 aix|svr4|both)
10045 ;;
10046 *)
10047 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10048 ;;
10049 esac
10050 lt_cv_with_aix_soname=$with_aix_soname
10051 else case e in #(
10052 e) if test ${lt_cv_with_aix_soname+y}
10053 then :
10054 printf %s "(cached) " >&6
10055 else case e in #(
10056 e) lt_cv_with_aix_soname=aix ;;
10057 esac
10058 fi
10059 ;;
10060 esac
10061 fi
10062
10063 enable_aix_soname=$lt_cv_with_aix_soname ;;
10064 esac
10065 fi
10066
10067 with_aix_soname=$enable_aix_soname
10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10069 printf "%s\n" "$with_aix_soname" >&6; }
10070 if test aix != "$with_aix_soname"; then
10071 # For the AIX way of multilib, we name the shared archive member
10072 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10073 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10074 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10075 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10076 if test 64 = "${OBJECT_MODE-32}"; then
10077 shared_archive_member_spec=shr_64
10078 else
10079 shared_archive_member_spec=shr
10080 fi
10081 fi
10082 ;;
10083 *)
10084 with_aix_soname=aix
10085 ;;
10086 esac
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097 # This can be used to rebuild libtool when needed
10098 LIBTOOL_DEPS=$ltmain
10099
10100 # Always use our own libtool.
10101 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132 test -z "$LN_S" && LN_S="ln -s"
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147 if test -n "${ZSH_VERSION+set}"; then
10148 setopt NO_GLOB_SUBST
10149 fi
10150
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10152 printf %s "checking for objdir... " >&6; }
10153 if test ${lt_cv_objdir+y}
10154 then :
10155 printf %s "(cached) " >&6
10156 else case e in #(
10157 e) rm -f .libs 2>/dev/null
10158 mkdir .libs 2>/dev/null
10159 if test -d .libs; then
10160 lt_cv_objdir=.libs
10161 else
10162 # MS-DOS does not allow filenames that begin with a dot.
10163 lt_cv_objdir=_libs
10164 fi
10165 rmdir .libs 2>/dev/null ;;
10166 esac
10167 fi
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10169 printf "%s\n" "$lt_cv_objdir" >&6; }
10170 objdir=$lt_cv_objdir
10171
10172
10173
10174
10175
10176 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10177
10178
10179
10180
10181 case $host_os in
10182 aix3*)
10183 # AIX sometimes has problems with the GCC collect2 program. For some
10184 # reason, if we set the COLLECT_NAMES environment variable, the problems
10185 # vanish in a puff of smoke.
10186 if test set != "${COLLECT_NAMES+set}"; then
10187 COLLECT_NAMES=
10188 export COLLECT_NAMES
10189 fi
10190 ;;
10191 esac
10192
10193 # Global variables:
10194 ofile=libtool
10195 can_build_shared=yes
10196
10197 # All known linkers require a '.a' archive for static linking (except MSVC and
10198 # ICC, which need '.lib').
10199 libext=a
10200
10201 with_gnu_ld=$lt_cv_prog_gnu_ld
10202
10203 old_CC=$CC
10204 old_CFLAGS=$CFLAGS
10205
10206 # Set sane defaults for various variables
10207 test -z "$CC" && CC=cc
10208 test -z "$LTCC" && LTCC=$CC
10209 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10210 test -z "$LD" && LD=ld
10211 test -z "$ac_objext" && ac_objext=o
10212
10213 func_cc_basename $compiler
10214 cc_basename=$func_cc_basename_result
10215
10216
10217 # Only perform the check for file, if the check method requires it
10218 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10219 case $deplibs_check_method in
10220 file_magic*)
10221 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10223 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10224 if test ${lt_cv_path_MAGIC_CMD+y}
10225 then :
10226 printf %s "(cached) " >&6
10227 else case e in #(
10228 e) case $MAGIC_CMD in
10229 [\\/*] | ?:[\\/]*)
10230 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10231 ;;
10232 *)
10233 lt_save_MAGIC_CMD=$MAGIC_CMD
10234 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10235 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10236 for ac_dir in $ac_dummy; do
10237 IFS=$lt_save_ifs
10238 test -z "$ac_dir" && ac_dir=.
10239 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10240 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10241 if test -n "$file_magic_test_file"; then
10242 case $deplibs_check_method in
10243 "file_magic "*)
10244 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10245 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10246 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10247 $EGREP "$file_magic_regex" > /dev/null; then
10248 :
10249 else
10250 cat <<_LT_EOF 1>&2
10251
10252 *** Warning: the command libtool uses to detect shared libraries,
10253 *** $file_magic_cmd, produces output that libtool cannot recognize.
10254 *** The result is that libtool may fail to recognize shared libraries
10255 *** as such. This will affect the creation of libtool libraries that
10256 *** depend on shared libraries, but programs linked with such libtool
10257 *** libraries will work regardless of this problem. Nevertheless, you
10258 *** may want to report the problem to your system manager and/or to
10259 *** [email protected]
10260
10261 _LT_EOF
10262 fi ;;
10263 esac
10264 fi
10265 break
10266 fi
10267 done
10268 IFS=$lt_save_ifs
10269 MAGIC_CMD=$lt_save_MAGIC_CMD
10270 ;;
10271 esac ;;
10272 esac
10273 fi
10274
10275 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10276 if test -n "$MAGIC_CMD"; then
10277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10278 printf "%s\n" "$MAGIC_CMD" >&6; }
10279 else
10280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10281 printf "%s\n" "no" >&6; }
10282 fi
10283
10284
10285
10286
10287
10288 if test -z "$lt_cv_path_MAGIC_CMD"; then
10289 if test -n "$ac_tool_prefix"; then
10290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10291 printf %s "checking for file... " >&6; }
10292 if test ${lt_cv_path_MAGIC_CMD+y}
10293 then :
10294 printf %s "(cached) " >&6
10295 else case e in #(
10296 e) case $MAGIC_CMD in
10297 [\\/*] | ?:[\\/]*)
10298 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10299 ;;
10300 *)
10301 lt_save_MAGIC_CMD=$MAGIC_CMD
10302 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10303 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10304 for ac_dir in $ac_dummy; do
10305 IFS=$lt_save_ifs
10306 test -z "$ac_dir" && ac_dir=.
10307 if test -f "$ac_dir/file"; then
10308 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10309 if test -n "$file_magic_test_file"; then
10310 case $deplibs_check_method in
10311 "file_magic "*)
10312 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10313 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10314 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10315 $EGREP "$file_magic_regex" > /dev/null; then
10316 :
10317 else
10318 cat <<_LT_EOF 1>&2
10319
10320 *** Warning: the command libtool uses to detect shared libraries,
10321 *** $file_magic_cmd, produces output that libtool cannot recognize.
10322 *** The result is that libtool may fail to recognize shared libraries
10323 *** as such. This will affect the creation of libtool libraries that
10324 *** depend on shared libraries, but programs linked with such libtool
10325 *** libraries will work regardless of this problem. Nevertheless, you
10326 *** may want to report the problem to your system manager and/or to
10327 *** [email protected]
10328
10329 _LT_EOF
10330 fi ;;
10331 esac
10332 fi
10333 break
10334 fi
10335 done
10336 IFS=$lt_save_ifs
10337 MAGIC_CMD=$lt_save_MAGIC_CMD
10338 ;;
10339 esac ;;
10340 esac
10341 fi
10342
10343 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10344 if test -n "$MAGIC_CMD"; then
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10346 printf "%s\n" "$MAGIC_CMD" >&6; }
10347 else
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10349 printf "%s\n" "no" >&6; }
10350 fi
10351
10352
10353 else
10354 MAGIC_CMD=:
10355 fi
10356 fi
10357
10358 fi
10359 ;;
10360 esac
10361
10362 # Use C for the default configuration in the libtool script
10363
10364 lt_save_CC=$CC
10365 ac_ext=c
10366 ac_cpp='$CPP $CPPFLAGS'
10367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10370
10371
10372 # Source file extension for C test sources.
10373 ac_ext=c
10374
10375 # Object file extension for compiled C test sources.
10376 objext=o
10377 objext=$objext
10378
10379 # Code to be used in simple compile tests
10380 lt_simple_compile_test_code="int some_variable = 0;"
10381
10382 # Code to be used in simple link tests
10383 lt_simple_link_test_code='int main(void){return(0);}'
10384
10385
10386
10387
10388
10389
10390
10391 # If no C compiler was specified, use CC.
10392 LTCC=${LTCC-"$CC"}
10393
10394 # If no C compiler flags were specified, use CFLAGS.
10395 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10396
10397 # Allow CC to be a program name with arguments.
10398 compiler=$CC
10399
10400 # Save the default compiler, since it gets overwritten when the other
10401 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10402 compiler_DEFAULT=$CC
10403
10404 # save warnings/boilerplate of simple test code
10405 ac_outfile=conftest.$ac_objext
10406 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10407 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10408 _lt_compiler_boilerplate=`cat conftest.err`
10409 $RM conftest*
10410
10411 ac_outfile=conftest.$ac_objext
10412 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10413 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10414 _lt_linker_boilerplate=`cat conftest.err`
10415 $RM -r conftest*
10416
10417
10418 ## CAVEAT EMPTOR:
10419 ## There is no encapsulation within the following macros, do not change
10420 ## the running order or otherwise move them around unless you know exactly
10421 ## what you are doing...
10422 if test -n "$compiler"; then
10423
10424 lt_prog_compiler_no_builtin_flag=
10425
10426 if test yes = "$GCC"; then
10427 case $cc_basename in
10428 nvcc*)
10429 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10430 *)
10431 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10432 esac
10433
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10435 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10436 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10437 then :
10438 printf %s "(cached) " >&6
10439 else case e in #(
10440 e) lt_cv_prog_compiler_rtti_exceptions=no
10441 ac_outfile=conftest.$ac_objext
10442 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10443 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10444 # Insert the option either (1) after the last *FLAGS variable, or
10445 # (2) before a word containing "conftest.", or (3) at the end.
10446 # Note that $ac_compile itself does not contain backslashes and begins
10447 # with a dollar sign (not a hyphen), so the echo should work correctly.
10448 # The option is referenced via a variable to avoid confusing sed.
10449 lt_compile=`echo "$ac_compile" | $SED \
10450 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10452 -e 's:$: $lt_compiler_flag:'`
10453 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10454 (eval "$lt_compile" 2>conftest.err)
10455 ac_status=$?
10456 cat conftest.err >&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 if (exit $ac_status) && test -s "$ac_outfile"; then
10459 # The compiler can only warn and ignore the option if not recognized
10460 # So say no if there are warnings other than the usual output.
10461 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10462 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10463 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10464 lt_cv_prog_compiler_rtti_exceptions=yes
10465 fi
10466 fi
10467 $RM conftest*
10468 ;;
10469 esac
10470 fi
10471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10472 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10473
10474 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10475 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10476 else
10477 :
10478 fi
10479
10480 fi
10481
10482
10483
10484
10485
10486
10487 lt_prog_compiler_wl=
10488 lt_prog_compiler_pic=
10489 lt_prog_compiler_static=
10490
10491
10492 if test yes = "$GCC"; then
10493 lt_prog_compiler_wl='-Wl,'
10494 lt_prog_compiler_static='-static'
10495
10496 case $host_os in
10497 aix*)
10498 # All AIX code is PIC.
10499 if test ia64 = "$host_cpu"; then
10500 # AIX 5 now supports IA64 processor
10501 lt_prog_compiler_static='-Bstatic'
10502 fi
10503 lt_prog_compiler_pic='-fPIC'
10504 ;;
10505
10506 amigaos*)
10507 case $host_cpu in
10508 powerpc)
10509 # see comment about AmigaOS4 .so support
10510 lt_prog_compiler_pic='-fPIC'
10511 ;;
10512 m68k)
10513 # FIXME: we need at least 68020 code to build shared libraries, but
10514 # adding the '-m68020' flag to GCC prevents building anything better,
10515 # like '-m68040'.
10516 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10517 ;;
10518 esac
10519 ;;
10520
10521 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10522 # PIC is the default for these OSes.
10523 ;;
10524
10525 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10526 # This hack is so that the source file can tell whether it is being
10527 # built for inclusion in a dll (and should export symbols for example).
10528 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10529 # (--disable-auto-import) libraries
10530 lt_prog_compiler_pic='-DDLL_EXPORT'
10531 case $host_os in
10532 os2*)
10533 lt_prog_compiler_static='$wl-static'
10534 ;;
10535 esac
10536 ;;
10537
10538 darwin* | rhapsody*)
10539 # PIC is the default on this platform
10540 # Common symbols not allowed in MH_DYLIB files
10541 lt_prog_compiler_pic='-fno-common'
10542 ;;
10543
10544 haiku*)
10545 # PIC is the default for Haiku.
10546 # The "-static" flag exists, but is broken.
10547 lt_prog_compiler_static=
10548 ;;
10549
10550 hpux*)
10551 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10552 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10553 # sets the default TLS model and affects inlining.
10554 case $host_cpu in
10555 hppa*64*)
10556 # +Z the default
10557 ;;
10558 *)
10559 lt_prog_compiler_pic='-fPIC'
10560 ;;
10561 esac
10562 ;;
10563
10564 interix[3-9]*)
10565 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10566 # Instead, we relocate shared libraries at runtime.
10567 ;;
10568
10569 msdosdjgpp*)
10570 # Just because we use GCC doesn't mean we suddenly get shared libraries
10571 # on systems that don't support them.
10572 lt_prog_compiler_can_build_shared=no
10573 enable_shared=no
10574 ;;
10575
10576 *nto* | *qnx*)
10577 # QNX uses GNU C++, but need to define -shared option too, otherwise
10578 # it will coredump.
10579 lt_prog_compiler_pic='-fPIC -shared'
10580 ;;
10581
10582 sysv4*MP*)
10583 if test -d /usr/nec; then
10584 lt_prog_compiler_pic=-Kconform_pic
10585 fi
10586 ;;
10587
10588 *)
10589 lt_prog_compiler_pic='-fPIC'
10590 ;;
10591 esac
10592
10593 case $cc_basename in
10594 nvcc*) # Cuda Compiler Driver 2.2
10595 lt_prog_compiler_wl='-Xlinker '
10596 if test -n "$lt_prog_compiler_pic"; then
10597 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10598 fi
10599 ;;
10600 esac
10601 else
10602 # PORTME Check for flag to pass linker flags through the system compiler.
10603 case $host_os in
10604 aix*)
10605 lt_prog_compiler_wl='-Wl,'
10606 if test ia64 = "$host_cpu"; then
10607 # AIX 5 now supports IA64 processor
10608 lt_prog_compiler_static='-Bstatic'
10609 else
10610 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10611 fi
10612 ;;
10613
10614 darwin* | rhapsody*)
10615 # PIC is the default on this platform
10616 # Common symbols not allowed in MH_DYLIB files
10617 lt_prog_compiler_pic='-fno-common'
10618 case $cc_basename in
10619 nagfor*)
10620 # NAG Fortran compiler
10621 lt_prog_compiler_wl='-Wl,-Wl,,'
10622 lt_prog_compiler_pic='-PIC'
10623 lt_prog_compiler_static='-Bstatic'
10624 ;;
10625 esac
10626 ;;
10627
10628 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10629 # This hack is so that the source file can tell whether it is being
10630 # built for inclusion in a dll (and should export symbols for example).
10631 lt_prog_compiler_pic='-DDLL_EXPORT'
10632 case $host_os in
10633 os2*)
10634 lt_prog_compiler_static='$wl-static'
10635 ;;
10636 esac
10637 ;;
10638
10639 hpux9* | hpux10* | hpux11*)
10640 lt_prog_compiler_wl='-Wl,'
10641 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10642 # not for PA HP-UX.
10643 case $host_cpu in
10644 hppa*64*|ia64*)
10645 # +Z the default
10646 ;;
10647 *)
10648 lt_prog_compiler_pic='+Z'
10649 ;;
10650 esac
10651 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10652 lt_prog_compiler_static='$wl-a ${wl}archive'
10653 ;;
10654
10655 irix5* | irix6* | nonstopux*)
10656 lt_prog_compiler_wl='-Wl,'
10657 # PIC (with -KPIC) is the default.
10658 lt_prog_compiler_static='-non_shared'
10659 ;;
10660
10661 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10662 case $cc_basename in
10663 # old Intel for x86_64, which still supported -KPIC.
10664 ecc*)
10665 lt_prog_compiler_wl='-Wl,'
10666 lt_prog_compiler_pic='-KPIC'
10667 lt_prog_compiler_static='-static'
10668 ;;
10669 *flang* | ftn | f18* | f95*)
10670 # Flang compiler.
10671 lt_prog_compiler_wl='-Wl,'
10672 lt_prog_compiler_pic='-fPIC'
10673 lt_prog_compiler_static='-static'
10674 ;;
10675 # icc used to be incompatible with GCC.
10676 # ICC 10 doesn't accept -KPIC any more.
10677 icc* | ifort*)
10678 lt_prog_compiler_wl='-Wl,'
10679 lt_prog_compiler_pic='-fPIC'
10680 lt_prog_compiler_static='-static'
10681 ;;
10682 # Lahey Fortran 8.1.
10683 lf95*)
10684 lt_prog_compiler_wl='-Wl,'
10685 lt_prog_compiler_pic='--shared'
10686 lt_prog_compiler_static='--static'
10687 ;;
10688 nagfor*)
10689 # NAG Fortran compiler
10690 lt_prog_compiler_wl='-Wl,-Wl,,'
10691 lt_prog_compiler_pic='-PIC'
10692 lt_prog_compiler_static='-Bstatic'
10693 ;;
10694 tcc*)
10695 # Fabrice Bellard et al's Tiny C Compiler
10696 lt_prog_compiler_wl='-Wl,'
10697 lt_prog_compiler_pic='-fPIC'
10698 lt_prog_compiler_static='-static'
10699 ;;
10700 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10701 # Portland Group compilers (*not* the Pentium gcc compiler,
10702 # which looks to be a dead project)
10703 lt_prog_compiler_wl='-Wl,'
10704 lt_prog_compiler_pic='-fpic'
10705 lt_prog_compiler_static='-Bstatic'
10706 ;;
10707 ccc*)
10708 lt_prog_compiler_wl='-Wl,'
10709 # All Alpha code is PIC.
10710 lt_prog_compiler_static='-non_shared'
10711 ;;
10712 xl* | bgxl* | bgf* | mpixl*)
10713 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10714 lt_prog_compiler_wl='-Wl,'
10715 lt_prog_compiler_pic='-qpic'
10716 lt_prog_compiler_static='-qstaticlink'
10717 ;;
10718 *)
10719 case `$CC -V 2>&1 | $SED 5q` in
10720 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10721 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10722 lt_prog_compiler_pic='-KPIC'
10723 lt_prog_compiler_static='-Bstatic'
10724 lt_prog_compiler_wl=''
10725 ;;
10726 *Sun\ F* | *Sun*Fortran*)
10727 lt_prog_compiler_pic='-KPIC'
10728 lt_prog_compiler_static='-Bstatic'
10729 lt_prog_compiler_wl='-Qoption ld '
10730 ;;
10731 *Sun\ C*)
10732 # Sun C 5.9
10733 lt_prog_compiler_pic='-KPIC'
10734 lt_prog_compiler_static='-Bstatic'
10735 lt_prog_compiler_wl='-Wl,'
10736 ;;
10737 *Intel*\ [CF]*Compiler*)
10738 lt_prog_compiler_wl='-Wl,'
10739 lt_prog_compiler_pic='-fPIC'
10740 lt_prog_compiler_static='-static'
10741 ;;
10742 *Portland\ Group*)
10743 lt_prog_compiler_wl='-Wl,'
10744 lt_prog_compiler_pic='-fpic'
10745 lt_prog_compiler_static='-Bstatic'
10746 ;;
10747 esac
10748 ;;
10749 esac
10750 ;;
10751
10752 newsos6)
10753 lt_prog_compiler_pic='-KPIC'
10754 lt_prog_compiler_static='-Bstatic'
10755 ;;
10756
10757 *-mlibc)
10758 lt_prog_compiler_wl='-Wl,'
10759 lt_prog_compiler_pic='-fPIC'
10760 lt_prog_compiler_static='-static'
10761 ;;
10762
10763 *nto* | *qnx*)
10764 # QNX uses GNU C++, but need to define -shared option too, otherwise
10765 # it will coredump.
10766 lt_prog_compiler_pic='-fPIC -shared'
10767 ;;
10768
10769 osf3* | osf4* | osf5*)
10770 lt_prog_compiler_wl='-Wl,'
10771 # All OSF/1 code is PIC.
10772 lt_prog_compiler_static='-non_shared'
10773 ;;
10774
10775 rdos*)
10776 lt_prog_compiler_static='-non_shared'
10777 ;;
10778
10779 serenity*)
10780 ;;
10781
10782 solaris*)
10783 lt_prog_compiler_pic='-KPIC'
10784 lt_prog_compiler_static='-Bstatic'
10785 case $cc_basename in
10786 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10787 lt_prog_compiler_wl='-Qoption ld ';;
10788 *)
10789 lt_prog_compiler_wl='-Wl,';;
10790 esac
10791 ;;
10792
10793 sunos4*)
10794 lt_prog_compiler_wl='-Qoption ld '
10795 lt_prog_compiler_pic='-PIC'
10796 lt_prog_compiler_static='-Bstatic'
10797 ;;
10798
10799 sysv4 | sysv4.2uw2* | sysv4.3*)
10800 lt_prog_compiler_wl='-Wl,'
10801 lt_prog_compiler_pic='-KPIC'
10802 lt_prog_compiler_static='-Bstatic'
10803 ;;
10804
10805 sysv4*MP*)
10806 if test -d /usr/nec; then
10807 lt_prog_compiler_pic='-Kconform_pic'
10808 lt_prog_compiler_static='-Bstatic'
10809 fi
10810 ;;
10811
10812 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10813 lt_prog_compiler_wl='-Wl,'
10814 lt_prog_compiler_pic='-KPIC'
10815 lt_prog_compiler_static='-Bstatic'
10816 ;;
10817
10818 unicos*)
10819 lt_prog_compiler_wl='-Wl,'
10820 lt_prog_compiler_can_build_shared=no
10821 ;;
10822
10823 uts4*)
10824 lt_prog_compiler_pic='-pic'
10825 lt_prog_compiler_static='-Bstatic'
10826 ;;
10827
10828 *)
10829 lt_prog_compiler_can_build_shared=no
10830 ;;
10831 esac
10832 fi
10833
10834 case $host_os in
10835 # For platforms that do not support PIC, -DPIC is meaningless:
10836 *djgpp*)
10837 lt_prog_compiler_pic=
10838 ;;
10839 *)
10840 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10841 ;;
10842 esac
10843
10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10845 printf %s "checking for $compiler option to produce PIC... " >&6; }
10846 if test ${lt_cv_prog_compiler_pic+y}
10847 then :
10848 printf %s "(cached) " >&6
10849 else case e in #(
10850 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
10851 esac
10852 fi
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10854 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
10855 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10856
10857 #
10858 # Check to make sure the PIC flag actually works.
10859 #
10860 if test -n "$lt_prog_compiler_pic"; then
10861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10862 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10863 if test ${lt_cv_prog_compiler_pic_works+y}
10864 then :
10865 printf %s "(cached) " >&6
10866 else case e in #(
10867 e) lt_cv_prog_compiler_pic_works=no
10868 ac_outfile=conftest.$ac_objext
10869 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10870 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10871 # Insert the option either (1) after the last *FLAGS variable, or
10872 # (2) before a word containing "conftest.", or (3) at the end.
10873 # Note that $ac_compile itself does not contain backslashes and begins
10874 # with a dollar sign (not a hyphen), so the echo should work correctly.
10875 # The option is referenced via a variable to avoid confusing sed.
10876 lt_compile=`echo "$ac_compile" | $SED \
10877 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10878 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10879 -e 's:$: $lt_compiler_flag:'`
10880 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10881 (eval "$lt_compile" 2>conftest.err)
10882 ac_status=$?
10883 cat conftest.err >&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 if (exit $ac_status) && test -s "$ac_outfile"; then
10886 # The compiler can only warn and ignore the option if not recognized
10887 # So say no if there are warnings other than the usual output.
10888 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10889 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10890 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10891 lt_cv_prog_compiler_pic_works=yes
10892 fi
10893 fi
10894 $RM conftest*
10895 ;;
10896 esac
10897 fi
10898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10899 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
10900
10901 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10902 case $lt_prog_compiler_pic in
10903 "" | " "*) ;;
10904 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10905 esac
10906 else
10907 lt_prog_compiler_pic=
10908 lt_prog_compiler_can_build_shared=no
10909 fi
10910
10911 fi
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923 #
10924 # Check to make sure the static flag actually works.
10925 #
10926 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10928 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10929 if test ${lt_cv_prog_compiler_static_works+y}
10930 then :
10931 printf %s "(cached) " >&6
10932 else case e in #(
10933 e) lt_cv_prog_compiler_static_works=no
10934 save_LDFLAGS=$LDFLAGS
10935 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10936 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10937 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10938 # The linker can only warn and ignore the option if not recognized
10939 # So say no if there are warnings
10940 if test -s conftest.err; then
10941 # Append any errors to the config.log.
10942 cat conftest.err 1>&5
10943 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10944 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10945 if diff conftest.exp conftest.er2 >/dev/null; then
10946 lt_cv_prog_compiler_static_works=yes
10947 fi
10948 else
10949 lt_cv_prog_compiler_static_works=yes
10950 fi
10951 fi
10952 $RM -r conftest*
10953 LDFLAGS=$save_LDFLAGS
10954 ;;
10955 esac
10956 fi
10957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10958 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
10959
10960 if test yes = "$lt_cv_prog_compiler_static_works"; then
10961 :
10962 else
10963 lt_prog_compiler_static=
10964 fi
10965
10966
10967
10968
10969
10970
10971
10972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10973 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10974 if test ${lt_cv_prog_compiler_c_o+y}
10975 then :
10976 printf %s "(cached) " >&6
10977 else case e in #(
10978 e) lt_cv_prog_compiler_c_o=no
10979 $RM -r conftest 2>/dev/null
10980 mkdir conftest
10981 cd conftest
10982 mkdir out
10983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10984
10985 lt_compiler_flag="-o out/conftest2.$ac_objext"
10986 # Insert the option either (1) after the last *FLAGS variable, or
10987 # (2) before a word containing "conftest.", or (3) at the end.
10988 # Note that $ac_compile itself does not contain backslashes and begins
10989 # with a dollar sign (not a hyphen), so the echo should work correctly.
10990 lt_compile=`echo "$ac_compile" | $SED \
10991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10993 -e 's:$: $lt_compiler_flag:'`
10994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10995 (eval "$lt_compile" 2>out/conftest.err)
10996 ac_status=$?
10997 cat out/conftest.err >&5
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11000 then
11001 # The compiler can only warn and ignore the option if not recognized
11002 # So say no if there are warnings
11003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11006 lt_cv_prog_compiler_c_o=yes
11007 fi
11008 fi
11009 chmod u+w . 2>&5
11010 $RM conftest*
11011 # SGI C++ compiler will create directory out/ii_files/ for
11012 # template instantiation
11013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11014 $RM out/* && rmdir out
11015 cd ..
11016 $RM -r conftest
11017 $RM conftest*
11018 ;;
11019 esac
11020 fi
11021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11022 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11023
11024
11025
11026
11027
11028
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11030 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11031 if test ${lt_cv_prog_compiler_c_o+y}
11032 then :
11033 printf %s "(cached) " >&6
11034 else case e in #(
11035 e) lt_cv_prog_compiler_c_o=no
11036 $RM -r conftest 2>/dev/null
11037 mkdir conftest
11038 cd conftest
11039 mkdir out
11040 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11041
11042 lt_compiler_flag="-o out/conftest2.$ac_objext"
11043 # Insert the option either (1) after the last *FLAGS variable, or
11044 # (2) before a word containing "conftest.", or (3) at the end.
11045 # Note that $ac_compile itself does not contain backslashes and begins
11046 # with a dollar sign (not a hyphen), so the echo should work correctly.
11047 lt_compile=`echo "$ac_compile" | $SED \
11048 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11050 -e 's:$: $lt_compiler_flag:'`
11051 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11052 (eval "$lt_compile" 2>out/conftest.err)
11053 ac_status=$?
11054 cat out/conftest.err >&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11057 then
11058 # The compiler can only warn and ignore the option if not recognized
11059 # So say no if there are warnings
11060 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11061 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11062 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11063 lt_cv_prog_compiler_c_o=yes
11064 fi
11065 fi
11066 chmod u+w . 2>&5
11067 $RM conftest*
11068 # SGI C++ compiler will create directory out/ii_files/ for
11069 # template instantiation
11070 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11071 $RM out/* && rmdir out
11072 cd ..
11073 $RM -r conftest
11074 $RM conftest*
11075 ;;
11076 esac
11077 fi
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11079 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11080
11081
11082
11083
11084 hard_links=nottested
11085 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11086 # do not overwrite the value of need_locks provided by the user
11087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11088 printf %s "checking if we can lock with hard links... " >&6; }
11089 hard_links=yes
11090 $RM conftest*
11091 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11092 touch conftest.a
11093 ln conftest.a conftest.b 2>&5 || hard_links=no
11094 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11096 printf "%s\n" "$hard_links" >&6; }
11097 if test no = "$hard_links"; then
11098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11099 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11100 need_locks=warn
11101 fi
11102 else
11103 need_locks=no
11104 fi
11105
11106
11107
11108
11109
11110
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11112 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11113
11114 runpath_var=
11115 allow_undefined_flag=
11116 always_export_symbols=no
11117 archive_cmds=
11118 archive_expsym_cmds=
11119 compiler_needs_object=no
11120 enable_shared_with_static_runtimes=no
11121 export_dynamic_flag_spec=
11122 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11123 hardcode_automatic=no
11124 hardcode_direct=no
11125 hardcode_direct_absolute=no
11126 hardcode_libdir_flag_spec=
11127 hardcode_libdir_separator=
11128 hardcode_minus_L=no
11129 hardcode_shlibpath_var=unsupported
11130 inherit_rpath=no
11131 link_all_deplibs=unknown
11132 module_cmds=
11133 module_expsym_cmds=
11134 old_archive_from_new_cmds=
11135 old_archive_from_expsyms_cmds=
11136 thread_safe_flag_spec=
11137 whole_archive_flag_spec=
11138 # include_expsyms should be a list of space-separated symbols to be *always*
11139 # included in the symbol list
11140 include_expsyms=
11141 # exclude_expsyms can be an extended regexp of symbols to exclude
11142 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11143 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11144 # as well as any symbol that contains 'd'.
11145 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11146 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11147 # platforms (ab)use it in PIC code, but their linkers get confused if
11148 # the symbol is explicitly referenced. Since portable code cannot
11149 # rely on this symbol name, it's probably fine to never include it in
11150 # preloaded symbol tables.
11151 # Exclude shared library initialization/finalization symbols.
11152 extract_expsyms_cmds=
11153
11154 case $host_os in
11155 cygwin* | mingw* | windows* | pw32* | cegcc*)
11156 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11157 # When not using gcc, we currently assume that we are using
11158 # Microsoft Visual C++ or Intel C++ Compiler.
11159 if test yes != "$GCC"; then
11160 with_gnu_ld=no
11161 fi
11162 ;;
11163 interix*)
11164 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11165 with_gnu_ld=yes
11166 ;;
11167 esac
11168
11169 ld_shlibs=yes
11170
11171 # On some targets, GNU ld is compatible enough with the native linker
11172 # that we're better off using the native interface for both.
11173 lt_use_gnu_ld_interface=no
11174 if test yes = "$with_gnu_ld"; then
11175 case $host_os in
11176 aix*)
11177 # The AIX port of GNU ld has always aspired to compatibility
11178 # with the native linker. However, as the warning in the GNU ld
11179 # block says, versions before 2.19.5* couldn't really create working
11180 # shared libraries, regardless of the interface used.
11181 case `$LD -v 2>&1` in
11182 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11183 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11184 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11185 *)
11186 lt_use_gnu_ld_interface=yes
11187 ;;
11188 esac
11189 ;;
11190 *)
11191 lt_use_gnu_ld_interface=yes
11192 ;;
11193 esac
11194 fi
11195
11196 if test yes = "$lt_use_gnu_ld_interface"; then
11197 # If archive_cmds runs LD, not CC, wlarc should be empty
11198 wlarc='$wl'
11199
11200 # Set some defaults for GNU ld with shared library support. These
11201 # are reset later if shared libraries are not supported. Putting them
11202 # here allows them to be overridden if necessary.
11203 runpath_var=LD_RUN_PATH
11204 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11205 export_dynamic_flag_spec='$wl--export-dynamic'
11206 # ancient GNU ld didn't support --whole-archive et. al.
11207 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11208 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11209 else
11210 whole_archive_flag_spec=
11211 fi
11212 supports_anon_versioning=no
11213 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11214 *GNU\ gold*) supports_anon_versioning=yes ;;
11215 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11216 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11217 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11218 *\ 2.11.*) ;; # other 2.11 versions
11219 *) supports_anon_versioning=yes ;;
11220 esac
11221
11222 # See if GNU ld supports shared libraries.
11223 case $host_os in
11224 aix[3-9]*)
11225 # On AIX/PPC, the GNU linker is very broken
11226 if test ia64 != "$host_cpu"; then
11227 ld_shlibs=no
11228 cat <<_LT_EOF 1>&2
11229
11230 *** Warning: the GNU linker, at least up to release 2.19, is reported
11231 *** to be unable to reliably create shared libraries on AIX.
11232 *** Therefore, libtool is disabling shared libraries support. If you
11233 *** really care for shared libraries, you may want to install binutils
11234 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11235 *** You will then need to restart the configuration process.
11236
11237 _LT_EOF
11238 fi
11239 ;;
11240
11241 amigaos*)
11242 case $host_cpu in
11243 powerpc)
11244 # see comment about AmigaOS4 .so support
11245 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11246 archive_expsym_cmds=''
11247 ;;
11248 m68k)
11249 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)'
11250 hardcode_libdir_flag_spec='-L$libdir'
11251 hardcode_minus_L=yes
11252 ;;
11253 esac
11254 ;;
11255
11256 beos*)
11257 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11258 allow_undefined_flag=unsupported
11259 # Joseph Beckenbach <[email protected]> says some releases of gcc
11260 # support --undefined. This deserves some investigation. FIXME
11261 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11262 else
11263 ld_shlibs=no
11264 fi
11265 ;;
11266
11267 cygwin* | mingw* | windows* | pw32* | cegcc*)
11268 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11269 # as there is no search path for DLLs.
11270 hardcode_libdir_flag_spec='-L$libdir'
11271 export_dynamic_flag_spec='$wl--export-all-symbols'
11272 allow_undefined_flag=unsupported
11273 always_export_symbols=no
11274 enable_shared_with_static_runtimes=yes
11275 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'
11276 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11277 file_list_spec='@'
11278
11279 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11280 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11281 # If the export-symbols file already is a .def file, use it as
11282 # is; otherwise, prepend EXPORTS...
11283 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11284 cp $export_symbols $output_objdir/$soname.def;
11285 else
11286 echo EXPORTS > $output_objdir/$soname.def;
11287 cat $export_symbols >> $output_objdir/$soname.def;
11288 fi~
11289 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11290 else
11291 ld_shlibs=no
11292 fi
11293 ;;
11294
11295 haiku*)
11296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11297 link_all_deplibs=no
11298 ;;
11299
11300 os2*)
11301 hardcode_libdir_flag_spec='-L$libdir'
11302 hardcode_minus_L=yes
11303 allow_undefined_flag=unsupported
11304 shrext_cmds=.dll
11305 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11306 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11307 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11308 $ECHO EXPORTS >> $output_objdir/$libname.def~
11309 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11310 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11311 emximp -o $lib $output_objdir/$libname.def'
11312 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11313 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11314 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11315 $ECHO EXPORTS >> $output_objdir/$libname.def~
11316 prefix_cmds="$SED"~
11317 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11318 prefix_cmds="$prefix_cmds -e 1d";
11319 fi~
11320 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11321 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11322 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11323 emximp -o $lib $output_objdir/$libname.def'
11324 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11325 enable_shared_with_static_runtimes=yes
11326 file_list_spec='@'
11327 ;;
11328
11329 interix[3-9]*)
11330 hardcode_direct=no
11331 hardcode_shlibpath_var=no
11332 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11333 export_dynamic_flag_spec='$wl-E'
11334 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11335 # Instead, shared libraries are loaded at an image base (0x10000000 by
11336 # default) and relocated if they conflict, which is a slow very memory
11337 # consuming and fragmenting process. To avoid this, we pick a random,
11338 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11339 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11340 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11341 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'
11342 ;;
11343
11344 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11345 tmp_diet=no
11346 if test linux-dietlibc = "$host_os"; then
11347 case $cc_basename in
11348 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11349 esac
11350 fi
11351 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11352 && test no = "$tmp_diet"
11353 then
11354 tmp_addflag=' $pic_flag'
11355 tmp_sharedflag='-shared'
11356 case $cc_basename,$host_cpu in
11357 pgcc*) # Portland Group C compiler
11358 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'
11359 tmp_addflag=' $pic_flag'
11360 ;;
11361 pgf77* | pgf90* | pgf95* | pgfortran*)
11362 # Portland Group f77 and f90 compilers
11363 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'
11364 tmp_addflag=' $pic_flag -Mnomain' ;;
11365 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11366 tmp_addflag=' -i_dynamic' ;;
11367 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11368 tmp_addflag=' -i_dynamic -nofor_main' ;;
11369 ifc* | ifort*) # Intel Fortran compiler
11370 tmp_addflag=' -nofor_main' ;;
11371 lf95*) # Lahey Fortran 8.1
11372 whole_archive_flag_spec=
11373 tmp_sharedflag='--shared' ;;
11374 nagfor*) # NAGFOR 5.3
11375 tmp_sharedflag='-Wl,-shared' ;;
11376 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11377 tmp_sharedflag='-qmkshrobj'
11378 tmp_addflag= ;;
11379 nvcc*) # Cuda Compiler Driver 2.2
11380 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'
11381 compiler_needs_object=yes
11382 ;;
11383 esac
11384 case `$CC -V 2>&1 | $SED 5q` in
11385 *Sun\ C*) # Sun C 5.9
11386 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'
11387 compiler_needs_object=yes
11388 tmp_sharedflag='-G' ;;
11389 *Sun\ F*) # Sun Fortran 8.3
11390 tmp_sharedflag='-G' ;;
11391 esac
11392 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11393
11394 if test yes = "$supports_anon_versioning"; then
11395 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11396 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11397 echo "local: *; };" >> $output_objdir/$libname.ver~
11398 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11399 fi
11400
11401 case $cc_basename in
11402 tcc*)
11403 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11404 export_dynamic_flag_spec='-rdynamic'
11405 ;;
11406 xlf* | bgf* | bgxlf* | mpixlf*)
11407 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11408 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11409 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11410 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11411 if test yes = "$supports_anon_versioning"; then
11412 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11413 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11414 echo "local: *; };" >> $output_objdir/$libname.ver~
11415 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11416 fi
11417 ;;
11418 esac
11419 else
11420 ld_shlibs=no
11421 fi
11422 ;;
11423
11424 *-mlibc)
11425 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11426 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11427 ;;
11428
11429 netbsd* | netbsdelf*-gnu)
11430 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11431 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11432 wlarc=
11433 else
11434 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11435 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11436 fi
11437 ;;
11438
11439 solaris*)
11440 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11441 ld_shlibs=no
11442 cat <<_LT_EOF 1>&2
11443
11444 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11445 *** create shared libraries on Solaris systems. Therefore, libtool
11446 *** is disabling shared libraries support. We urge you to upgrade GNU
11447 *** binutils to release 2.9.1 or newer. Another option is to modify
11448 *** your PATH or compiler configuration so that the native linker is
11449 *** used, and then restart.
11450
11451 _LT_EOF
11452 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11453 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11454 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11455 else
11456 ld_shlibs=no
11457 fi
11458 ;;
11459
11460 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11461 case `$LD -v 2>&1` in
11462 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11463 ld_shlibs=no
11464 cat <<_LT_EOF 1>&2
11465
11466 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11467 *** reliably create shared libraries on SCO systems. Therefore, libtool
11468 *** is disabling shared libraries support. We urge you to upgrade GNU
11469 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11470 *** your PATH or compiler configuration so that the native linker is
11471 *** used, and then restart.
11472
11473 _LT_EOF
11474 ;;
11475 *)
11476 # For security reasons, it is highly recommended that you always
11477 # use absolute paths for naming shared libraries, and exclude the
11478 # DT_RUNPATH tag from executables and libraries. But doing so
11479 # requires that you compile everything twice, which is a pain.
11480 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11481 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11482 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11483 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11484 else
11485 ld_shlibs=no
11486 fi
11487 ;;
11488 esac
11489 ;;
11490
11491 sunos4*)
11492 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11493 wlarc=
11494 hardcode_direct=yes
11495 hardcode_shlibpath_var=no
11496 ;;
11497
11498 *)
11499 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11500 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11501 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11502 else
11503 ld_shlibs=no
11504 fi
11505 ;;
11506 esac
11507
11508 if test no = "$ld_shlibs"; then
11509 runpath_var=
11510 hardcode_libdir_flag_spec=
11511 export_dynamic_flag_spec=
11512 whole_archive_flag_spec=
11513 fi
11514 else
11515 # PORTME fill in a description of your system's linker (not GNU ld)
11516 case $host_os in
11517 aix3*)
11518 allow_undefined_flag=unsupported
11519 always_export_symbols=yes
11520 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'
11521 # Note: this linker hardcodes the directories in LIBPATH if there
11522 # are no directories specified by -L.
11523 hardcode_minus_L=yes
11524 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11525 # Neither direct hardcoding nor static linking is supported with a
11526 # broken collect2.
11527 hardcode_direct=unsupported
11528 fi
11529 ;;
11530
11531 aix[4-9]*)
11532 if test ia64 = "$host_cpu"; then
11533 # On IA64, the linker does run time linking by default, so we don't
11534 # have to do anything special.
11535 aix_use_runtimelinking=no
11536 exp_sym_flag='-Bexport'
11537 no_entry_flag=
11538 else
11539 # If we're using GNU nm, then we don't want the "-C" option.
11540 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11541 # Without the "-l" option, or with the "-B" option, AIX nm treats
11542 # weak defined symbols like other global defined symbols, whereas
11543 # GNU nm marks them as "W".
11544 # While the 'weak' keyword is ignored in the Export File, we need
11545 # it in the Import File for the 'aix-soname' feature, so we have
11546 # to replace the "-B" option with "-P" for AIX nm.
11547 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11548 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'
11549 else
11550 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'
11551 fi
11552 aix_use_runtimelinking=no
11553
11554 # Test if we are trying to use run time linking or normal
11555 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11556 # have runtime linking enabled, and use it for executables.
11557 # For shared libraries, we enable/disable runtime linking
11558 # depending on the kind of the shared library created -
11559 # when "with_aix_soname,aix_use_runtimelinking" is:
11560 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11561 # "aix,yes" lib.so shared, rtl:yes, for executables
11562 # lib.a static archive
11563 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11564 # lib.a(lib.so.V) shared, rtl:no, for executables
11565 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11566 # lib.a(lib.so.V) shared, rtl:no
11567 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11568 # lib.a static archive
11569 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11570 for ld_flag in $LDFLAGS; do
11571 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11572 aix_use_runtimelinking=yes
11573 break
11574 fi
11575 done
11576 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11577 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11578 # so we don't have lib.a shared libs to link our executables.
11579 # We have to force runtime linking in this case.
11580 aix_use_runtimelinking=yes
11581 LDFLAGS="$LDFLAGS -Wl,-brtl"
11582 fi
11583 ;;
11584 esac
11585
11586 exp_sym_flag='-bexport'
11587 no_entry_flag='-bnoentry'
11588 fi
11589
11590 # When large executables or shared objects are built, AIX ld can
11591 # have problems creating the table of contents. If linking a library
11592 # or program results in "error TOC overflow" add -mminimal-toc to
11593 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11594 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11595
11596 archive_cmds=''
11597 hardcode_direct=yes
11598 hardcode_direct_absolute=yes
11599 hardcode_libdir_separator=':'
11600 link_all_deplibs=yes
11601 file_list_spec='$wl-f,'
11602 case $with_aix_soname,$aix_use_runtimelinking in
11603 aix,*) ;; # traditional, no import file
11604 svr4,* | *,yes) # use import file
11605 # The Import File defines what to hardcode.
11606 hardcode_direct=no
11607 hardcode_direct_absolute=no
11608 ;;
11609 esac
11610
11611 if test yes = "$GCC"; then
11612 case $host_os in aix4.[012]|aix4.[012].*)
11613 # We only want to do this on AIX 4.2 and lower, the check
11614 # below for broken collect2 doesn't work under 4.3+
11615 collect2name=`$CC -print-prog-name=collect2`
11616 if test -f "$collect2name" &&
11617 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11618 then
11619 # We have reworked collect2
11620 :
11621 else
11622 # We have old collect2
11623 hardcode_direct=unsupported
11624 # It fails to find uninstalled libraries when the uninstalled
11625 # path is not listed in the libpath. Setting hardcode_minus_L
11626 # to unsupported forces relinking
11627 hardcode_minus_L=yes
11628 hardcode_libdir_flag_spec='-L$libdir'
11629 hardcode_libdir_separator=
11630 fi
11631 ;;
11632 esac
11633 shared_flag='-shared'
11634 if test yes = "$aix_use_runtimelinking"; then
11635 shared_flag="$shared_flag "'$wl-G'
11636 fi
11637 # Need to ensure runtime linking is disabled for the traditional
11638 # shared library, or the linker may eventually find shared libraries
11639 # /with/ Import File - we do not want to mix them.
11640 shared_flag_aix='-shared'
11641 shared_flag_svr4='-shared $wl-G'
11642 else
11643 # not using gcc
11644 if test ia64 = "$host_cpu"; then
11645 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11646 # chokes on -Wl,-G. The following line is correct:
11647 shared_flag='-G'
11648 else
11649 if test yes = "$aix_use_runtimelinking"; then
11650 shared_flag='$wl-G'
11651 else
11652 shared_flag='$wl-bM:SRE'
11653 fi
11654 shared_flag_aix='$wl-bM:SRE'
11655 shared_flag_svr4='$wl-G'
11656 fi
11657 fi
11658
11659 export_dynamic_flag_spec='$wl-bexpall'
11660 # It seems that -bexpall does not export symbols beginning with
11661 # underscore (_), so it is better to generate a list of symbols to export.
11662 always_export_symbols=yes
11663 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11664 # Warning - without using the other runtime loading flags (-brtl),
11665 # -berok will link without error, but may produce a broken library.
11666 allow_undefined_flag='-berok'
11667 # Determine the default libpath from the value encoded in an
11668 # empty executable.
11669 if test set = "${lt_cv_aix_libpath+set}"; then
11670 aix_libpath=$lt_cv_aix_libpath
11671 else
11672 if test ${lt_cv_aix_libpath_+y}
11673 then :
11674 printf %s "(cached) " >&6
11675 else case e in #(
11676 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11678
11679 int
11680 main (void)
11681 {
11682
11683 ;
11684 return 0;
11685 }
11686 _ACEOF
11687 if ac_fn_c_try_link "$LINENO"
11688 then :
11689
11690 lt_aix_libpath_sed='
11691 /Import File Strings/,/^$/ {
11692 /^0/ {
11693 s/^0 *\([^ ]*\) *$/\1/
11694 p
11695 }
11696 }'
11697 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11698 # Check for a 64-bit object if we didn't find anything.
11699 if test -z "$lt_cv_aix_libpath_"; then
11700 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11701 fi
11702 fi
11703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11704 conftest$ac_exeext conftest.$ac_ext
11705 if test -z "$lt_cv_aix_libpath_"; then
11706 lt_cv_aix_libpath_=/usr/lib:/lib
11707 fi
11708 ;;
11709 esac
11710 fi
11711
11712 aix_libpath=$lt_cv_aix_libpath_
11713 fi
11714
11715 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11716 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
11717 else
11718 if test ia64 = "$host_cpu"; then
11719 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11720 allow_undefined_flag="-z nodefs"
11721 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"
11722 else
11723 # Determine the default libpath from the value encoded in an
11724 # empty executable.
11725 if test set = "${lt_cv_aix_libpath+set}"; then
11726 aix_libpath=$lt_cv_aix_libpath
11727 else
11728 if test ${lt_cv_aix_libpath_+y}
11729 then :
11730 printf %s "(cached) " >&6
11731 else case e in #(
11732 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11734
11735 int
11736 main (void)
11737 {
11738
11739 ;
11740 return 0;
11741 }
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"
11744 then :
11745
11746 lt_aix_libpath_sed='
11747 /Import File Strings/,/^$/ {
11748 /^0/ {
11749 s/^0 *\([^ ]*\) *$/\1/
11750 p
11751 }
11752 }'
11753 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11754 # Check for a 64-bit object if we didn't find anything.
11755 if test -z "$lt_cv_aix_libpath_"; then
11756 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11757 fi
11758 fi
11759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11760 conftest$ac_exeext conftest.$ac_ext
11761 if test -z "$lt_cv_aix_libpath_"; then
11762 lt_cv_aix_libpath_=/usr/lib:/lib
11763 fi
11764 ;;
11765 esac
11766 fi
11767
11768 aix_libpath=$lt_cv_aix_libpath_
11769 fi
11770
11771 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11772 # Warning - without using the other run time loading flags,
11773 # -berok will link without error, but may produce a broken library.
11774 no_undefined_flag=' $wl-bernotok'
11775 allow_undefined_flag=' $wl-berok'
11776 if test yes = "$with_gnu_ld"; then
11777 # We only use this code for GNU lds that support --whole-archive.
11778 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11779 else
11780 # Exported symbols can be pulled into shared objects from archives
11781 whole_archive_flag_spec='$convenience'
11782 fi
11783 archive_cmds_need_lc=yes
11784 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11785 # -brtl affects multiple linker settings, -berok does not and is overridden later
11786 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11787 if test svr4 != "$with_aix_soname"; then
11788 # This is similar to how AIX traditionally builds its shared libraries.
11789 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'
11790 fi
11791 if test aix != "$with_aix_soname"; then
11792 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'
11793 else
11794 # used by -dlpreopen to get the symbols
11795 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11796 fi
11797 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11798 fi
11799 fi
11800 ;;
11801
11802 amigaos*)
11803 case $host_cpu in
11804 powerpc)
11805 # see comment about AmigaOS4 .so support
11806 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11807 archive_expsym_cmds=''
11808 ;;
11809 m68k)
11810 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)'
11811 hardcode_libdir_flag_spec='-L$libdir'
11812 hardcode_minus_L=yes
11813 ;;
11814 esac
11815 ;;
11816
11817 bsdi[45]*)
11818 export_dynamic_flag_spec=-rdynamic
11819 ;;
11820
11821 cygwin* | mingw* | windows* | pw32* | cegcc*)
11822 # When not using gcc, we currently assume that we are using
11823 # Microsoft Visual C++ or Intel C++ Compiler.
11824 # hardcode_libdir_flag_spec is actually meaningless, as there is
11825 # no search path for DLLs.
11826 case $cc_basename in
11827 cl* | icl*)
11828 # Native MSVC or ICC
11829 hardcode_libdir_flag_spec=' '
11830 allow_undefined_flag=unsupported
11831 always_export_symbols=yes
11832 file_list_spec='@'
11833 # Tell ltmain to make .lib files, not .a files.
11834 libext=lib
11835 # Tell ltmain to make .dll files, not .so files.
11836 shrext_cmds=.dll
11837 # FIXME: Setting linknames here is a bad hack.
11838 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11839 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11840 cp "$export_symbols" "$output_objdir/$soname.def";
11841 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11842 else
11843 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11844 fi~
11845 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11846 linknames='
11847 # The linker will not automatically build a static lib if we build a DLL.
11848 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11849 enable_shared_with_static_runtimes=yes
11850 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11851 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11852 # Don't use ranlib
11853 old_postinstall_cmds='chmod 644 $oldlib'
11854 postlink_cmds='lt_outputfile="@OUTPUT@"~
11855 lt_tool_outputfile="@TOOL_OUTPUT@"~
11856 case $lt_outputfile in
11857 *.exe|*.EXE) ;;
11858 *)
11859 lt_outputfile=$lt_outputfile.exe
11860 lt_tool_outputfile=$lt_tool_outputfile.exe
11861 ;;
11862 esac~
11863 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11864 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11865 $RM "$lt_outputfile.manifest";
11866 fi'
11867 ;;
11868 *)
11869 # Assume MSVC and ICC wrapper
11870 hardcode_libdir_flag_spec=' '
11871 allow_undefined_flag=unsupported
11872 # Tell ltmain to make .lib files, not .a files.
11873 libext=lib
11874 # Tell ltmain to make .dll files, not .so files.
11875 shrext_cmds=.dll
11876 # FIXME: Setting linknames here is a bad hack.
11877 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11878 # The linker will automatically build a .lib file if we build a DLL.
11879 old_archive_from_new_cmds='true'
11880 # FIXME: Should let the user specify the lib program.
11881 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11882 enable_shared_with_static_runtimes=yes
11883 ;;
11884 esac
11885 ;;
11886
11887 darwin* | rhapsody*)
11888
11889
11890 archive_cmds_need_lc=no
11891 hardcode_direct=no
11892 hardcode_automatic=yes
11893 hardcode_shlibpath_var=unsupported
11894 if test yes = "$lt_cv_ld_force_load"; then
11895 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\"`'
11896
11897 else
11898 whole_archive_flag_spec=''
11899 fi
11900 link_all_deplibs=yes
11901 allow_undefined_flag=$_lt_dar_allow_undefined
11902 case $cc_basename in
11903 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11904 *) _lt_dar_can_shared=$GCC ;;
11905 esac
11906 if test yes = "$_lt_dar_can_shared"; then
11907 output_verbose_link_cmd=func_echo_all
11908 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11909 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11910 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"
11911 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"
11912
11913 else
11914 ld_shlibs=no
11915 fi
11916
11917 ;;
11918
11919 dgux*)
11920 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11921 hardcode_libdir_flag_spec='-L$libdir'
11922 hardcode_shlibpath_var=no
11923 ;;
11924
11925 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11926 # support. Future versions do this automatically, but an explicit c++rt0.o
11927 # does not break anything, and helps significantly (at the cost of a little
11928 # extra space).
11929 freebsd2.2*)
11930 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11931 hardcode_libdir_flag_spec='-R$libdir'
11932 hardcode_direct=yes
11933 hardcode_shlibpath_var=no
11934 ;;
11935
11936 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11937 freebsd2.*)
11938 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11939 hardcode_direct=yes
11940 hardcode_minus_L=yes
11941 hardcode_shlibpath_var=no
11942 ;;
11943
11944 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11945 freebsd* | dragonfly* | midnightbsd*)
11946 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11947 hardcode_libdir_flag_spec='-R$libdir'
11948 hardcode_direct=yes
11949 hardcode_shlibpath_var=no
11950 ;;
11951
11952 hpux9*)
11953 if test yes = "$GCC"; then
11954 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'
11955 else
11956 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'
11957 fi
11958 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11959 hardcode_libdir_separator=:
11960 hardcode_direct=yes
11961
11962 # hardcode_minus_L: Not really in the search PATH,
11963 # but as the default location of the library.
11964 hardcode_minus_L=yes
11965 export_dynamic_flag_spec='$wl-E'
11966 ;;
11967
11968 hpux10*)
11969 if test yes,no = "$GCC,$with_gnu_ld"; then
11970 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11971 else
11972 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11973 fi
11974 if test no = "$with_gnu_ld"; then
11975 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11976 hardcode_libdir_separator=:
11977 hardcode_direct=yes
11978 hardcode_direct_absolute=yes
11979 export_dynamic_flag_spec='$wl-E'
11980 # hardcode_minus_L: Not really in the search PATH,
11981 # but as the default location of the library.
11982 hardcode_minus_L=yes
11983 fi
11984 ;;
11985
11986 hpux11*)
11987 if test yes,no = "$GCC,$with_gnu_ld"; then
11988 case $host_cpu in
11989 hppa*64*)
11990 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11991 ;;
11992 ia64*)
11993 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11994 ;;
11995 *)
11996 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11997 ;;
11998 esac
11999 else
12000 case $host_cpu in
12001 hppa*64*)
12002 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12003 ;;
12004 ia64*)
12005 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12006 ;;
12007 *)
12008
12009 # Older versions of the 11.00 compiler do not understand -b yet
12010 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12012 printf %s "checking if $CC understands -b... " >&6; }
12013 if test ${lt_cv_prog_compiler__b+y}
12014 then :
12015 printf %s "(cached) " >&6
12016 else case e in #(
12017 e) lt_cv_prog_compiler__b=no
12018 save_LDFLAGS=$LDFLAGS
12019 LDFLAGS="$LDFLAGS -b"
12020 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12021 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12022 # The linker can only warn and ignore the option if not recognized
12023 # So say no if there are warnings
12024 if test -s conftest.err; then
12025 # Append any errors to the config.log.
12026 cat conftest.err 1>&5
12027 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12028 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12029 if diff conftest.exp conftest.er2 >/dev/null; then
12030 lt_cv_prog_compiler__b=yes
12031 fi
12032 else
12033 lt_cv_prog_compiler__b=yes
12034 fi
12035 fi
12036 $RM -r conftest*
12037 LDFLAGS=$save_LDFLAGS
12038 ;;
12039 esac
12040 fi
12041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12042 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12043
12044 if test yes = "$lt_cv_prog_compiler__b"; then
12045 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12046 else
12047 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12048 fi
12049
12050 ;;
12051 esac
12052 fi
12053 if test no = "$with_gnu_ld"; then
12054 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12055 hardcode_libdir_separator=:
12056
12057 case $host_cpu in
12058 hppa*64*|ia64*)
12059 hardcode_direct=no
12060 hardcode_shlibpath_var=no
12061 ;;
12062 *)
12063 hardcode_direct=yes
12064 hardcode_direct_absolute=yes
12065 export_dynamic_flag_spec='$wl-E'
12066
12067 # hardcode_minus_L: Not really in the search PATH,
12068 # but as the default location of the library.
12069 hardcode_minus_L=yes
12070 ;;
12071 esac
12072 fi
12073 ;;
12074
12075 irix5* | irix6* | nonstopux*)
12076 if test yes = "$GCC"; then
12077 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'
12078 # Try to use the -exported_symbol ld option, if it does not
12079 # work, assume that -exports_file does not work either and
12080 # implicitly export all symbols.
12081 # This should be the same for all languages, so no per-tag cache variable.
12082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12083 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12084 if test ${lt_cv_irix_exported_symbol+y}
12085 then :
12086 printf %s "(cached) " >&6
12087 else case e in #(
12088 e) save_LDFLAGS=$LDFLAGS
12089 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12091 /* end confdefs.h. */
12092 int foo (void) { return 0; }
12093 _ACEOF
12094 if ac_fn_c_try_link "$LINENO"
12095 then :
12096 lt_cv_irix_exported_symbol=yes
12097 else case e in #(
12098 e) lt_cv_irix_exported_symbol=no ;;
12099 esac
12100 fi
12101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LDFLAGS=$save_LDFLAGS ;;
12104 esac
12105 fi
12106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12107 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12108 if test yes = "$lt_cv_irix_exported_symbol"; then
12109 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'
12110 fi
12111 else
12112 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'
12113 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'
12114 fi
12115 archive_cmds_need_lc='no'
12116 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12117 hardcode_libdir_separator=:
12118 inherit_rpath=yes
12119 link_all_deplibs=yes
12120 ;;
12121
12122 linux*)
12123 case $cc_basename in
12124 tcc*)
12125 # Fabrice Bellard et al's Tiny C Compiler
12126 ld_shlibs=yes
12127 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12128 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12129 ;;
12130 esac
12131 ;;
12132
12133 *-mlibc)
12134 ;;
12135
12136 netbsd* | netbsdelf*-gnu)
12137 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12138 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12139 else
12140 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12141 fi
12142 hardcode_libdir_flag_spec='-R$libdir'
12143 hardcode_direct=yes
12144 hardcode_shlibpath_var=no
12145 ;;
12146
12147 newsos6)
12148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12149 hardcode_direct=yes
12150 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12151 hardcode_libdir_separator=:
12152 hardcode_shlibpath_var=no
12153 ;;
12154
12155 *nto* | *qnx*)
12156 ;;
12157
12158 openbsd*)
12159 if test -f /usr/libexec/ld.so; then
12160 hardcode_direct=yes
12161 hardcode_shlibpath_var=no
12162 hardcode_direct_absolute=yes
12163 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12164 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12165 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12166 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12167 export_dynamic_flag_spec='$wl-E'
12168 else
12169 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12170 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12171 fi
12172 else
12173 ld_shlibs=no
12174 fi
12175 ;;
12176
12177 os2*)
12178 hardcode_libdir_flag_spec='-L$libdir'
12179 hardcode_minus_L=yes
12180 allow_undefined_flag=unsupported
12181 shrext_cmds=.dll
12182 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12183 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12184 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12185 $ECHO EXPORTS >> $output_objdir/$libname.def~
12186 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12187 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12188 emximp -o $lib $output_objdir/$libname.def'
12189 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12190 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12191 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12192 $ECHO EXPORTS >> $output_objdir/$libname.def~
12193 prefix_cmds="$SED"~
12194 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12195 prefix_cmds="$prefix_cmds -e 1d";
12196 fi~
12197 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12198 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12199 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12200 emximp -o $lib $output_objdir/$libname.def'
12201 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12202 enable_shared_with_static_runtimes=yes
12203 file_list_spec='@'
12204 ;;
12205
12206 osf3*)
12207 if test yes = "$GCC"; then
12208 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12209 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'
12210 else
12211 allow_undefined_flag=' -expect_unresolved \*'
12212 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'
12213 fi
12214 archive_cmds_need_lc='no'
12215 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12216 hardcode_libdir_separator=:
12217 ;;
12218
12219 osf4* | osf5*) # as osf3* with the addition of -msym flag
12220 if test yes = "$GCC"; then
12221 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12222 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'
12223 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12224 else
12225 allow_undefined_flag=' -expect_unresolved \*'
12226 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'
12227 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~
12228 $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'
12229
12230 # Both c and cxx compiler support -rpath directly
12231 hardcode_libdir_flag_spec='-rpath $libdir'
12232 fi
12233 archive_cmds_need_lc='no'
12234 hardcode_libdir_separator=:
12235 ;;
12236
12237 serenity*)
12238 ;;
12239
12240 solaris*)
12241 no_undefined_flag=' -z defs'
12242 if test yes = "$GCC"; then
12243 wlarc='$wl'
12244 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12245 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12246 $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'
12247 else
12248 case `$CC -V 2>&1` in
12249 *"Compilers 5.0"*)
12250 wlarc=''
12251 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12252 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12253 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12254 ;;
12255 *)
12256 wlarc='$wl'
12257 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12258 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12259 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12260 ;;
12261 esac
12262 fi
12263 hardcode_libdir_flag_spec='-R$libdir'
12264 hardcode_shlibpath_var=no
12265 case $host_os in
12266 solaris2.[0-5] | solaris2.[0-5].*) ;;
12267 *)
12268 # The compiler driver will combine and reorder linker options,
12269 # but understands '-z linker_flag'. GCC discards it without '$wl',
12270 # but is careful enough not to reorder.
12271 # Supported since Solaris 2.6 (maybe 2.5.1?)
12272 if test yes = "$GCC"; then
12273 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12274 else
12275 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12276 fi
12277 ;;
12278 esac
12279 link_all_deplibs=yes
12280 ;;
12281
12282 sunos4*)
12283 if test sequent = "$host_vendor"; then
12284 # Use $CC to link under sequent, because it throws in some extra .o
12285 # files that make .init and .fini sections work.
12286 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12287 else
12288 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12289 fi
12290 hardcode_libdir_flag_spec='-L$libdir'
12291 hardcode_direct=yes
12292 hardcode_minus_L=yes
12293 hardcode_shlibpath_var=no
12294 ;;
12295
12296 sysv4)
12297 case $host_vendor in
12298 sni)
12299 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12300 hardcode_direct=yes # is this really true???
12301 ;;
12302 siemens)
12303 ## LD is ld it makes a PLAMLIB
12304 ## CC just makes a GrossModule.
12305 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12306 reload_cmds='$CC -r -o $output$reload_objs'
12307 hardcode_direct=no
12308 ;;
12309 motorola)
12310 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12311 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12312 ;;
12313 esac
12314 runpath_var='LD_RUN_PATH'
12315 hardcode_shlibpath_var=no
12316 ;;
12317
12318 sysv4.3*)
12319 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12320 hardcode_shlibpath_var=no
12321 export_dynamic_flag_spec='-Bexport'
12322 ;;
12323
12324 sysv4*MP*)
12325 if test -d /usr/nec; then
12326 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12327 hardcode_shlibpath_var=no
12328 runpath_var=LD_RUN_PATH
12329 hardcode_runpath_var=yes
12330 ld_shlibs=yes
12331 fi
12332 ;;
12333
12334 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12335 no_undefined_flag='$wl-z,text'
12336 archive_cmds_need_lc=no
12337 hardcode_shlibpath_var=no
12338 runpath_var='LD_RUN_PATH'
12339
12340 if test yes = "$GCC"; then
12341 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12342 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12343 else
12344 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12345 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12346 fi
12347 ;;
12348
12349 sysv5* | sco3.2v5* | sco5v6*)
12350 # Note: We CANNOT use -z defs as we might desire, because we do not
12351 # link with -lc, and that would cause any symbols used from libc to
12352 # always be unresolved, which means just about no library would
12353 # ever link correctly. If we're not using GNU ld we use -z text
12354 # though, which does catch some bad symbols but isn't as heavy-handed
12355 # as -z defs.
12356 no_undefined_flag='$wl-z,text'
12357 allow_undefined_flag='$wl-z,nodefs'
12358 archive_cmds_need_lc=no
12359 hardcode_shlibpath_var=no
12360 hardcode_libdir_flag_spec='$wl-R,$libdir'
12361 hardcode_libdir_separator=':'
12362 link_all_deplibs=yes
12363 export_dynamic_flag_spec='$wl-Bexport'
12364 runpath_var='LD_RUN_PATH'
12365
12366 if test yes = "$GCC"; then
12367 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12368 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12369 else
12370 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12371 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12372 fi
12373 ;;
12374
12375 uts4*)
12376 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12377 hardcode_libdir_flag_spec='-L$libdir'
12378 hardcode_shlibpath_var=no
12379 ;;
12380
12381 *)
12382 ld_shlibs=no
12383 ;;
12384 esac
12385
12386 if test sni = "$host_vendor"; then
12387 case $host in
12388 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12389 export_dynamic_flag_spec='$wl-Blargedynsym'
12390 ;;
12391 esac
12392 fi
12393 fi
12394
12395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12396 printf "%s\n" "$ld_shlibs" >&6; }
12397 test no = "$ld_shlibs" && can_build_shared=no
12398
12399 with_gnu_ld=$with_gnu_ld
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415 #
12416 # Do we need to explicitly link libc?
12417 #
12418 case "x$archive_cmds_need_lc" in
12419 x|xyes)
12420 # Assume -lc should be added
12421 archive_cmds_need_lc=yes
12422
12423 if test yes,yes = "$GCC,$enable_shared"; then
12424 case $archive_cmds in
12425 *'~'*)
12426 # FIXME: we may have to deal with multi-command sequences.
12427 ;;
12428 '$CC '*)
12429 # Test whether the compiler implicitly links with -lc since on some
12430 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12431 # to ld, don't add -lc before -lgcc.
12432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12433 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12434 if test ${lt_cv_archive_cmds_need_lc+y}
12435 then :
12436 printf %s "(cached) " >&6
12437 else case e in #(
12438 e) $RM conftest*
12439 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12440
12441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12442 (eval $ac_compile) 2>&5
12443 ac_status=$?
12444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12445 test $ac_status = 0; } 2>conftest.err; then
12446 soname=conftest
12447 lib=conftest
12448 libobjs=conftest.$ac_objext
12449 deplibs=
12450 wl=$lt_prog_compiler_wl
12451 pic_flag=$lt_prog_compiler_pic
12452 compiler_flags=-v
12453 linker_flags=-v
12454 verstring=
12455 output_objdir=.
12456 libname=conftest
12457 lt_save_allow_undefined_flag=$allow_undefined_flag
12458 allow_undefined_flag=
12459 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12460 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12461 ac_status=$?
12462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12463 test $ac_status = 0; }
12464 then
12465 lt_cv_archive_cmds_need_lc=no
12466 else
12467 lt_cv_archive_cmds_need_lc=yes
12468 fi
12469 allow_undefined_flag=$lt_save_allow_undefined_flag
12470 else
12471 cat conftest.err 1>&5
12472 fi
12473 $RM conftest*
12474 ;;
12475 esac
12476 fi
12477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12478 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12479 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12480 ;;
12481 esac
12482 fi
12483 ;;
12484 esac
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12638 printf %s "checking dynamic linker characteristics... " >&6; }
12639
12640 if test yes = "$GCC"; then
12641 case $host_os in
12642 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12643 *) lt_awk_arg='/^libraries:/' ;;
12644 esac
12645 case $host_os in
12646 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12647 *) lt_sed_strip_eq='s|=/|/|g' ;;
12648 esac
12649 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12650 case $lt_search_path_spec in
12651 *\;*)
12652 # if the path contains ";" then we assume it to be the separator
12653 # otherwise default to the standard path separator (i.e. ":") - it is
12654 # assumed that no part of a normal pathname contains ";" but that should
12655 # okay in the real world where ";" in dirpaths is itself problematic.
12656 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12657 ;;
12658 *)
12659 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12660 ;;
12661 esac
12662 # Ok, now we have the path, separated by spaces, we can step through it
12663 # and add multilib dir if necessary...
12664 lt_tmp_lt_search_path_spec=
12665 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12666 # ...but if some path component already ends with the multilib dir we assume
12667 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12668 case "$lt_multi_os_dir; $lt_search_path_spec " in
12669 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12670 lt_multi_os_dir=
12671 ;;
12672 esac
12673 for lt_sys_path in $lt_search_path_spec; do
12674 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12675 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12676 elif test -n "$lt_multi_os_dir"; then
12677 test -d "$lt_sys_path" && \
12678 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12679 fi
12680 done
12681 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12682 BEGIN {RS = " "; FS = "/|\n";} {
12683 lt_foo = "";
12684 lt_count = 0;
12685 for (lt_i = NF; lt_i > 0; lt_i--) {
12686 if ($lt_i != "" && $lt_i != ".") {
12687 if ($lt_i == "..") {
12688 lt_count++;
12689 } else {
12690 if (lt_count == 0) {
12691 lt_foo = "/" $lt_i lt_foo;
12692 } else {
12693 lt_count--;
12694 }
12695 }
12696 }
12697 }
12698 if (lt_foo != "") { lt_freq[lt_foo]++; }
12699 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12700 }'`
12701 # AWK program above erroneously prepends '/' to C:/dos/paths
12702 # for these hosts.
12703 case $host_os in
12704 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12705 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12706 esac
12707 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12708 else
12709 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12710 fi
12711 library_names_spec=
12712 libname_spec='lib$name'
12713 soname_spec=
12714 shrext_cmds=.so
12715 postinstall_cmds=
12716 postuninstall_cmds=
12717 finish_cmds=
12718 finish_eval=
12719 shlibpath_var=
12720 shlibpath_overrides_runpath=unknown
12721 version_type=none
12722 dynamic_linker="$host_os ld.so"
12723 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12724 need_lib_prefix=unknown
12725 hardcode_into_libs=no
12726
12727 # when you set need_version to no, make sure it does not cause -set_version
12728 # flags to be left without arguments
12729 need_version=unknown
12730
12731
12732
12733 case $host_os in
12734 aix3*)
12735 version_type=linux # correct to gnu/linux during the next big refactor
12736 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12737 shlibpath_var=LIBPATH
12738
12739 # AIX 3 has no versioning support, so we append a major version to the name.
12740 soname_spec='$libname$release$shared_ext$major'
12741 ;;
12742
12743 aix[4-9]*)
12744 version_type=linux # correct to gnu/linux during the next big refactor
12745 need_lib_prefix=no
12746 need_version=no
12747 hardcode_into_libs=yes
12748 if test ia64 = "$host_cpu"; then
12749 # AIX 5 supports IA64
12750 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12751 shlibpath_var=LD_LIBRARY_PATH
12752 else
12753 # With GCC up to 2.95.x, collect2 would create an import file
12754 # for dependence libraries. The import file would start with
12755 # the line '#! .'. This would cause the generated library to
12756 # depend on '.', always an invalid library. This was fixed in
12757 # development snapshots of GCC prior to 3.0.
12758 case $host_os in
12759 aix4 | aix4.[01] | aix4.[01].*)
12760 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12761 echo ' yes '
12762 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12763 :
12764 else
12765 can_build_shared=no
12766 fi
12767 ;;
12768 esac
12769 # Using Import Files as archive members, it is possible to support
12770 # filename-based versioning of shared library archives on AIX. While
12771 # this would work for both with and without runtime linking, it will
12772 # prevent static linking of such archives. So we do filename-based
12773 # shared library versioning with .so extension only, which is used
12774 # when both runtime linking and shared linking is enabled.
12775 # Unfortunately, runtime linking may impact performance, so we do
12776 # not want this to be the default eventually. Also, we use the
12777 # versioned .so libs for executables only if there is the -brtl
12778 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
12779 # To allow for filename-based versioning support, we need to create
12780 # libNAME.so.V as an archive file, containing:
12781 # *) an Import File, referring to the versioned filename of the
12782 # archive as well as the shared archive member, telling the
12783 # bitwidth (32 or 64) of that shared object, and providing the
12784 # list of exported symbols of that shared object, eventually
12785 # decorated with the 'weak' keyword
12786 # *) the shared object with the F_LOADONLY flag set, to really avoid
12787 # it being seen by the linker.
12788 # At run time we better use the real file rather than another symlink,
12789 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12790
12791 case $with_aix_soname,$aix_use_runtimelinking in
12792 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12793 # soname into executable. Probably we can add versioning support to
12794 # collect2, so additional links can be useful in future.
12795 aix,yes) # traditional libtool
12796 dynamic_linker='AIX unversionable lib.so'
12797 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12798 # instead of lib<name>.a to let people know that these are not
12799 # typical AIX shared libraries.
12800 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12801 ;;
12802 aix,no) # traditional AIX only
12803 dynamic_linker='AIX lib.a(lib.so.V)'
12804 # We preserve .a as extension for shared libraries through AIX4.2
12805 # and later when we are not doing run time linking.
12806 library_names_spec='$libname$release.a $libname.a'
12807 soname_spec='$libname$release$shared_ext$major'
12808 ;;
12809 svr4,*) # full svr4 only
12810 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12811 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12812 # We do not specify a path in Import Files, so LIBPATH fires.
12813 shlibpath_overrides_runpath=yes
12814 ;;
12815 *,yes) # both, prefer svr4
12816 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12817 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12818 # unpreferred sharedlib libNAME.a needs extra handling
12819 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"'
12820 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"'
12821 # We do not specify a path in Import Files, so LIBPATH fires.
12822 shlibpath_overrides_runpath=yes
12823 ;;
12824 *,no) # both, prefer aix
12825 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12826 library_names_spec='$libname$release.a $libname.a'
12827 soname_spec='$libname$release$shared_ext$major'
12828 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12829 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)'
12830 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"'
12831 ;;
12832 esac
12833 shlibpath_var=LIBPATH
12834 fi
12835 ;;
12836
12837 amigaos*)
12838 case $host_cpu in
12839 powerpc)
12840 # Since July 2007 AmigaOS4 officially supports .so libraries.
12841 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12842 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12843 ;;
12844 m68k)
12845 library_names_spec='$libname.ixlibrary $libname.a'
12846 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12847 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'
12848 ;;
12849 esac
12850 ;;
12851
12852 beos*)
12853 library_names_spec='$libname$shared_ext'
12854 dynamic_linker="$host_os ld.so"
12855 shlibpath_var=LIBRARY_PATH
12856 ;;
12857
12858 bsdi[45]*)
12859 version_type=linux # correct to gnu/linux during the next big refactor
12860 need_version=no
12861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12862 soname_spec='$libname$release$shared_ext$major'
12863 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12864 shlibpath_var=LD_LIBRARY_PATH
12865 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12866 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12867 # the default ld.so.conf also contains /usr/contrib/lib and
12868 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12869 # libtool to hard-code these into programs
12870 ;;
12871
12872 cygwin* | mingw* | windows* | pw32* | cegcc*)
12873 version_type=windows
12874 shrext_cmds=.dll
12875 need_version=no
12876 need_lib_prefix=no
12877
12878 case $GCC,$cc_basename in
12879 yes,*)
12880 # gcc
12881 library_names_spec='$libname.dll.a'
12882 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12883 # If user builds GCC with multilib enabled,
12884 # it should just install on $(libdir)
12885 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
12886 if test xyes = x"$multilib"; then
12887 postinstall_cmds='base_file=`basename \$file`~
12888 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12889 dldir=$destdir/`dirname \$dlpath`~
12890 $install_prog $dir/$dlname $destdir/$dlname~
12891 chmod a+x $destdir/$dlname~
12892 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12893 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
12894 fi'
12895 else
12896 postinstall_cmds='base_file=`basename \$file`~
12897 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12898 dldir=$destdir/`dirname \$dlpath`~
12899 test -d \$dldir || mkdir -p \$dldir~
12900 $install_prog $dir/$dlname \$dldir/$dlname~
12901 chmod a+x \$dldir/$dlname~
12902 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12903 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12904 fi'
12905 fi
12906 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12907 dlpath=$dir/\$dldll~
12908 $RM \$dlpath'
12909 shlibpath_overrides_runpath=yes
12910
12911 case $host_os in
12912 cygwin*)
12913 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12914 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12915
12916 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12917 ;;
12918 mingw* | windows* | cegcc*)
12919 # MinGW DLLs use traditional 'lib' prefix
12920 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12921 ;;
12922 pw32*)
12923 # pw32 DLLs use 'pw' prefix rather than 'lib'
12924 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12925 ;;
12926 esac
12927 dynamic_linker='Win32 ld.exe'
12928 ;;
12929
12930 *,cl* | *,icl*)
12931 # Native MSVC or ICC
12932 libname_spec='$name'
12933 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12934 library_names_spec='$libname.dll.lib'
12935
12936 case $build_os in
12937 mingw* | windows*)
12938 sys_lib_search_path_spec=
12939 lt_save_ifs=$IFS
12940 IFS=';'
12941 for lt_path in $LIB
12942 do
12943 IFS=$lt_save_ifs
12944 # Let DOS variable expansion print the short 8.3 style file name.
12945 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12946 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12947 done
12948 IFS=$lt_save_ifs
12949 # Convert to MSYS style.
12950 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12951 ;;
12952 cygwin*)
12953 # Convert to unix form, then to dos form, then back to unix form
12954 # but this time dos style (no spaces!) so that the unix form looks
12955 # like /cygdrive/c/PROGRA~1:/cygdr...
12956 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12957 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12958 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12959 ;;
12960 *)
12961 sys_lib_search_path_spec=$LIB
12962 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12963 # It is most probably a Windows format PATH.
12964 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12965 else
12966 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12967 fi
12968 # FIXME: find the short name or the path components, as spaces are
12969 # common. (e.g. "Program Files" -> "PROGRA~1")
12970 ;;
12971 esac
12972
12973 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12974 postinstall_cmds='base_file=`basename \$file`~
12975 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12976 dldir=$destdir/`dirname \$dlpath`~
12977 test -d \$dldir || mkdir -p \$dldir~
12978 $install_prog $dir/$dlname \$dldir/$dlname'
12979 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12980 dlpath=$dir/\$dldll~
12981 $RM \$dlpath'
12982 shlibpath_overrides_runpath=yes
12983 dynamic_linker='Win32 link.exe'
12984 ;;
12985
12986 *)
12987 # Assume MSVC and ICC wrapper
12988 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12989 dynamic_linker='Win32 ld.exe'
12990 ;;
12991 esac
12992 # FIXME: first we should search . and the directory the executable is in
12993 shlibpath_var=PATH
12994 ;;
12995
12996 darwin* | rhapsody*)
12997 dynamic_linker="$host_os dyld"
12998 version_type=darwin
12999 need_lib_prefix=no
13000 need_version=no
13001 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13002 soname_spec='$libname$release$major$shared_ext'
13003 shlibpath_overrides_runpath=yes
13004 shlibpath_var=DYLD_LIBRARY_PATH
13005 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13006
13007 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13008 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13009 ;;
13010
13011 dgux*)
13012 version_type=linux # correct to gnu/linux during the next big refactor
13013 need_lib_prefix=no
13014 need_version=no
13015 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13016 soname_spec='$libname$release$shared_ext$major'
13017 shlibpath_var=LD_LIBRARY_PATH
13018 ;;
13019
13020 freebsd* | dragonfly* | midnightbsd*)
13021 # DragonFly does not have aout. When/if they implement a new
13022 # versioning mechanism, adjust this.
13023 if test -x /usr/bin/objformat; then
13024 objformat=`/usr/bin/objformat`
13025 else
13026 case $host_os in
13027 freebsd[23].*) objformat=aout ;;
13028 *) objformat=elf ;;
13029 esac
13030 fi
13031 version_type=freebsd-$objformat
13032 case $version_type in
13033 freebsd-elf*)
13034 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13035 soname_spec='$libname$release$shared_ext$major'
13036 need_version=no
13037 need_lib_prefix=no
13038 ;;
13039 freebsd-*)
13040 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13041 need_version=yes
13042 ;;
13043 esac
13044 case $host_cpu in
13045 powerpc64)
13046 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13047 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13050 int test_pointer_size[sizeof (void *) - 5];
13051
13052 _ACEOF
13053 if ac_fn_c_try_compile "$LINENO"
13054 then :
13055 shlibpath_var=LD_LIBRARY_PATH
13056 else case e in #(
13057 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13058 esac
13059 fi
13060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13061 ;;
13062 *)
13063 shlibpath_var=LD_LIBRARY_PATH
13064 ;;
13065 esac
13066 case $host_os in
13067 freebsd2.*)
13068 shlibpath_overrides_runpath=yes
13069 ;;
13070 freebsd3.[01]* | freebsdelf3.[01]*)
13071 shlibpath_overrides_runpath=yes
13072 hardcode_into_libs=yes
13073 ;;
13074 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13075 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13076 shlibpath_overrides_runpath=no
13077 hardcode_into_libs=yes
13078 ;;
13079 *) # from 4.6 on, and DragonFly
13080 shlibpath_overrides_runpath=yes
13081 hardcode_into_libs=yes
13082 ;;
13083 esac
13084 ;;
13085
13086 haiku*)
13087 version_type=linux # correct to gnu/linux during the next big refactor
13088 need_lib_prefix=no
13089 need_version=no
13090 dynamic_linker="$host_os runtime_loader"
13091 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13092 soname_spec='$libname$release$shared_ext$major'
13093 shlibpath_var=LIBRARY_PATH
13094 shlibpath_overrides_runpath=no
13095 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13096 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13097 hardcode_into_libs=no
13098 ;;
13099
13100 hpux9* | hpux10* | hpux11*)
13101 # Give a soname corresponding to the major version so that dld.sl refuses to
13102 # link against other versions.
13103 version_type=sunos
13104 need_lib_prefix=no
13105 need_version=no
13106 case $host_cpu in
13107 ia64*)
13108 shrext_cmds='.so'
13109 hardcode_into_libs=yes
13110 dynamic_linker="$host_os dld.so"
13111 shlibpath_var=LD_LIBRARY_PATH
13112 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13113 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13114 soname_spec='$libname$release$shared_ext$major'
13115 if test 32 = "$HPUX_IA64_MODE"; then
13116 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13117 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13118 else
13119 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13120 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13121 fi
13122 ;;
13123 hppa*64*)
13124 shrext_cmds='.sl'
13125 hardcode_into_libs=yes
13126 dynamic_linker="$host_os dld.sl"
13127 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13128 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13129 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13130 soname_spec='$libname$release$shared_ext$major'
13131 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13132 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13133 ;;
13134 *)
13135 shrext_cmds='.sl'
13136 dynamic_linker="$host_os dld.sl"
13137 shlibpath_var=SHLIB_PATH
13138 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13139 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13140 soname_spec='$libname$release$shared_ext$major'
13141 ;;
13142 esac
13143 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13144 postinstall_cmds='chmod 555 $lib'
13145 # or fails outright, so override atomically:
13146 install_override_mode=555
13147 ;;
13148
13149 interix[3-9]*)
13150 version_type=linux # correct to gnu/linux during the next big refactor
13151 need_lib_prefix=no
13152 need_version=no
13153 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13154 soname_spec='$libname$release$shared_ext$major'
13155 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13156 shlibpath_var=LD_LIBRARY_PATH
13157 shlibpath_overrides_runpath=no
13158 hardcode_into_libs=yes
13159 ;;
13160
13161 irix5* | irix6* | nonstopux*)
13162 case $host_os in
13163 nonstopux*) version_type=nonstopux ;;
13164 *)
13165 if test yes = "$lt_cv_prog_gnu_ld"; then
13166 version_type=linux # correct to gnu/linux during the next big refactor
13167 else
13168 version_type=irix
13169 fi ;;
13170 esac
13171 need_lib_prefix=no
13172 need_version=no
13173 soname_spec='$libname$release$shared_ext$major'
13174 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13175 case $host_os in
13176 irix5* | nonstopux*)
13177 libsuff= shlibsuff=
13178 ;;
13179 *)
13180 case $LD in # libtool.m4 will add one of these switches to LD
13181 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13182 libsuff= shlibsuff= libmagic=32-bit;;
13183 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13184 libsuff=32 shlibsuff=N32 libmagic=N32;;
13185 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13186 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13187 *) libsuff= shlibsuff= libmagic=never-match;;
13188 esac
13189 ;;
13190 esac
13191 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13192 shlibpath_overrides_runpath=no
13193 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13194 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13195 hardcode_into_libs=yes
13196 ;;
13197
13198 # No shared lib support for Linux oldld, aout, or coff.
13199 linux*oldld* | linux*aout* | linux*coff*)
13200 dynamic_linker=no
13201 ;;
13202
13203 linux*android*)
13204 version_type=none # Android doesn't support versioned libraries.
13205 need_lib_prefix=no
13206 need_version=no
13207 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13208 soname_spec='$libname$release$shared_ext'
13209 finish_cmds=
13210 shlibpath_var=LD_LIBRARY_PATH
13211 shlibpath_overrides_runpath=yes
13212
13213 # This implies no fast_install, which is unacceptable.
13214 # Some rework will be needed to allow for fast_install
13215 # before this can be enabled.
13216 hardcode_into_libs=yes
13217
13218 dynamic_linker='Android linker'
13219 # -rpath works at least for libraries that are not overridden by
13220 # libraries installed in system locations.
13221 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13222 ;;
13223
13224 # This must be glibc/ELF.
13225 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13226 version_type=linux # correct to gnu/linux during the next big refactor
13227 need_lib_prefix=no
13228 need_version=no
13229 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13230 soname_spec='$libname$release$shared_ext$major'
13231 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13232 shlibpath_var=LD_LIBRARY_PATH
13233 shlibpath_overrides_runpath=no
13234
13235 # Some binutils ld are patched to set DT_RUNPATH
13236 if test ${lt_cv_shlibpath_overrides_runpath+y}
13237 then :
13238 printf %s "(cached) " >&6
13239 else case e in #(
13240 e) lt_cv_shlibpath_overrides_runpath=no
13241 save_LDFLAGS=$LDFLAGS
13242 save_libdir=$libdir
13243 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13244 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13247
13248 int
13249 main (void)
13250 {
13251
13252 ;
13253 return 0;
13254 }
13255 _ACEOF
13256 if ac_fn_c_try_link "$LINENO"
13257 then :
13258 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13259 then :
13260 lt_cv_shlibpath_overrides_runpath=yes
13261 fi
13262 fi
13263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13264 conftest$ac_exeext conftest.$ac_ext
13265 LDFLAGS=$save_LDFLAGS
13266 libdir=$save_libdir
13267 ;;
13268 esac
13269 fi
13270
13271 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13272
13273 # This implies no fast_install, which is unacceptable.
13274 # Some rework will be needed to allow for fast_install
13275 # before this can be enabled.
13276 hardcode_into_libs=yes
13277
13278 # Ideally, we could use ldconfig to report *all* directories which are
13279 # searched for libraries, however this is still not possible. Aside from not
13280 # being certain /sbin/ldconfig is available, command
13281 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13282 # even though it is searched at run-time. Try to do the best guess by
13283 # appending ld.so.conf contents (and includes) to the search path.
13284 if test -f /etc/ld.so.conf; then
13285 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' ' '`
13286 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13287 fi
13288
13289 # We used to test for /lib/ld.so.1 and disable shared libraries on
13290 # powerpc, because MkLinux only supported shared libraries with the
13291 # GNU dynamic linker. Since this was broken with cross compilers,
13292 # most powerpc-linux boxes support dynamic linking these days and
13293 # people can always --disable-shared, the test was removed, and we
13294 # assume the GNU/Linux dynamic linker is in use.
13295 dynamic_linker='GNU/Linux ld.so'
13296 ;;
13297
13298 netbsdelf*-gnu)
13299 version_type=linux
13300 need_lib_prefix=no
13301 need_version=no
13302 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13303 soname_spec='$libname$release$shared_ext$major'
13304 shlibpath_var=LD_LIBRARY_PATH
13305 shlibpath_overrides_runpath=no
13306 hardcode_into_libs=yes
13307 dynamic_linker='NetBSD ld.elf_so'
13308 ;;
13309
13310 netbsd*)
13311 version_type=sunos
13312 need_lib_prefix=no
13313 need_version=no
13314 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13315 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13316 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13317 dynamic_linker='NetBSD (a.out) ld.so'
13318 else
13319 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13320 soname_spec='$libname$release$shared_ext$major'
13321 dynamic_linker='NetBSD ld.elf_so'
13322 fi
13323 shlibpath_var=LD_LIBRARY_PATH
13324 shlibpath_overrides_runpath=yes
13325 hardcode_into_libs=yes
13326 ;;
13327
13328 *-mlibc)
13329 version_type=linux # correct to gnu/linux during the next big refactor
13330 need_lib_prefix=no
13331 need_version=no
13332 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13333 soname_spec='$libname$release$shared_ext$major'
13334 dynamic_linker='mlibc ld.so'
13335 shlibpath_var=LD_LIBRARY_PATH
13336 shlibpath_overrides_runpath=no
13337 hardcode_into_libs=yes
13338 ;;
13339
13340 newsos6)
13341 version_type=linux # correct to gnu/linux during the next big refactor
13342 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13343 shlibpath_var=LD_LIBRARY_PATH
13344 shlibpath_overrides_runpath=yes
13345 ;;
13346
13347 *nto* | *qnx*)
13348 version_type=qnx
13349 need_lib_prefix=no
13350 need_version=no
13351 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13352 soname_spec='$libname$release$shared_ext$major'
13353 shlibpath_var=LD_LIBRARY_PATH
13354 shlibpath_overrides_runpath=no
13355 hardcode_into_libs=yes
13356 dynamic_linker='ldqnx.so'
13357 ;;
13358
13359 openbsd*)
13360 version_type=sunos
13361 sys_lib_dlsearch_path_spec=/usr/lib
13362 need_lib_prefix=no
13363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13364 need_version=no
13365 else
13366 need_version=yes
13367 fi
13368 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13369 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13370 shlibpath_var=LD_LIBRARY_PATH
13371 shlibpath_overrides_runpath=yes
13372 ;;
13373
13374 os2*)
13375 libname_spec='$name'
13376 version_type=windows
13377 shrext_cmds=.dll
13378 need_version=no
13379 need_lib_prefix=no
13380 # OS/2 can only load a DLL with a base name of 8 characters or less.
13381 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13382 v=$($ECHO $release$versuffix | tr -d .-);
13383 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13384 $ECHO $n$v`$shared_ext'
13385 library_names_spec='${libname}_dll.$libext'
13386 dynamic_linker='OS/2 ld.exe'
13387 shlibpath_var=BEGINLIBPATH
13388 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13389 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13390 postinstall_cmds='base_file=`basename \$file`~
13391 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13392 dldir=$destdir/`dirname \$dlpath`~
13393 test -d \$dldir || mkdir -p \$dldir~
13394 $install_prog $dir/$dlname \$dldir/$dlname~
13395 chmod a+x \$dldir/$dlname~
13396 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13397 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13398 fi'
13399 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13400 dlpath=$dir/\$dldll~
13401 $RM \$dlpath'
13402 ;;
13403
13404 osf3* | osf4* | osf5*)
13405 version_type=osf
13406 need_lib_prefix=no
13407 need_version=no
13408 soname_spec='$libname$release$shared_ext$major'
13409 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13410 shlibpath_var=LD_LIBRARY_PATH
13411 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13412 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13413 ;;
13414
13415 rdos*)
13416 dynamic_linker=no
13417 ;;
13418
13419 serenity*)
13420 version_type=linux # correct to gnu/linux during the next big refactor
13421 need_lib_prefix=no
13422 need_version=no
13423 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13424 soname_spec='$libname$release$shared_ext$major'
13425 shlibpath_var=LD_LIBRARY_PATH
13426 shlibpath_overrides_runpath=no
13427 dynamic_linker='SerenityOS LibELF'
13428 ;;
13429
13430 solaris*)
13431 version_type=linux # correct to gnu/linux during the next big refactor
13432 need_lib_prefix=no
13433 need_version=no
13434 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13435 soname_spec='$libname$release$shared_ext$major'
13436 shlibpath_var=LD_LIBRARY_PATH
13437 shlibpath_overrides_runpath=yes
13438 hardcode_into_libs=yes
13439 # ldd complains unless libraries are executable
13440 postinstall_cmds='chmod +x $lib'
13441 ;;
13442
13443 sunos4*)
13444 version_type=sunos
13445 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13446 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13447 shlibpath_var=LD_LIBRARY_PATH
13448 shlibpath_overrides_runpath=yes
13449 if test yes = "$with_gnu_ld"; then
13450 need_lib_prefix=no
13451 fi
13452 need_version=yes
13453 ;;
13454
13455 sysv4 | sysv4.3*)
13456 version_type=linux # correct to gnu/linux during the next big refactor
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 case $host_vendor in
13461 sni)
13462 shlibpath_overrides_runpath=no
13463 need_lib_prefix=no
13464 runpath_var=LD_RUN_PATH
13465 ;;
13466 siemens)
13467 need_lib_prefix=no
13468 ;;
13469 motorola)
13470 need_lib_prefix=no
13471 need_version=no
13472 shlibpath_overrides_runpath=no
13473 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13474 ;;
13475 esac
13476 ;;
13477
13478 sysv4*MP*)
13479 if test -d /usr/nec; then
13480 version_type=linux # correct to gnu/linux during the next big refactor
13481 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13482 soname_spec='$libname$shared_ext.$major'
13483 shlibpath_var=LD_LIBRARY_PATH
13484 fi
13485 ;;
13486
13487 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13488 version_type=sco
13489 need_lib_prefix=no
13490 need_version=no
13491 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13492 soname_spec='$libname$release$shared_ext$major'
13493 shlibpath_var=LD_LIBRARY_PATH
13494 shlibpath_overrides_runpath=yes
13495 hardcode_into_libs=yes
13496 if test yes = "$with_gnu_ld"; then
13497 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13498 else
13499 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13500 case $host_os in
13501 sco3.2v5*)
13502 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13503 ;;
13504 esac
13505 fi
13506 sys_lib_dlsearch_path_spec='/usr/lib'
13507 ;;
13508
13509 tpf*)
13510 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13511 version_type=linux # correct to gnu/linux during the next big refactor
13512 need_lib_prefix=no
13513 need_version=no
13514 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13515 shlibpath_var=LD_LIBRARY_PATH
13516 shlibpath_overrides_runpath=no
13517 hardcode_into_libs=yes
13518 ;;
13519
13520 uts4*)
13521 version_type=linux # correct to gnu/linux during the next big refactor
13522 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13523 soname_spec='$libname$release$shared_ext$major'
13524 shlibpath_var=LD_LIBRARY_PATH
13525 ;;
13526
13527 emscripten*)
13528 version_type=none
13529 need_lib_prefix=no
13530 need_version=no
13531 library_names_spec='$libname$release$shared_ext'
13532 soname_spec='$libname$release$shared_ext'
13533 finish_cmds=
13534 dynamic_linker="Emscripten linker"
13535 lt_prog_compiler_wl=
13536 lt_prog_compiler_pic=
13537 lt_prog_compiler_static=
13538
13539
13540 if test yes = "$GCC"; then
13541 lt_prog_compiler_wl='-Wl,'
13542 lt_prog_compiler_static='-static'
13543
13544 case $host_os in
13545 aix*)
13546 # All AIX code is PIC.
13547 if test ia64 = "$host_cpu"; then
13548 # AIX 5 now supports IA64 processor
13549 lt_prog_compiler_static='-Bstatic'
13550 fi
13551 lt_prog_compiler_pic='-fPIC'
13552 ;;
13553
13554 amigaos*)
13555 case $host_cpu in
13556 powerpc)
13557 # see comment about AmigaOS4 .so support
13558 lt_prog_compiler_pic='-fPIC'
13559 ;;
13560 m68k)
13561 # FIXME: we need at least 68020 code to build shared libraries, but
13562 # adding the '-m68020' flag to GCC prevents building anything better,
13563 # like '-m68040'.
13564 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13565 ;;
13566 esac
13567 ;;
13568
13569 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13570 # PIC is the default for these OSes.
13571 ;;
13572
13573 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13574 # This hack is so that the source file can tell whether it is being
13575 # built for inclusion in a dll (and should export symbols for example).
13576 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13577 # (--disable-auto-import) libraries
13578 lt_prog_compiler_pic='-DDLL_EXPORT'
13579 case $host_os in
13580 os2*)
13581 lt_prog_compiler_static='$wl-static'
13582 ;;
13583 esac
13584 ;;
13585
13586 darwin* | rhapsody*)
13587 # PIC is the default on this platform
13588 # Common symbols not allowed in MH_DYLIB files
13589 lt_prog_compiler_pic='-fno-common'
13590 ;;
13591
13592 haiku*)
13593 # PIC is the default for Haiku.
13594 # The "-static" flag exists, but is broken.
13595 lt_prog_compiler_static=
13596 ;;
13597
13598 hpux*)
13599 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13600 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13601 # sets the default TLS model and affects inlining.
13602 case $host_cpu in
13603 hppa*64*)
13604 # +Z the default
13605 ;;
13606 *)
13607 lt_prog_compiler_pic='-fPIC'
13608 ;;
13609 esac
13610 ;;
13611
13612 interix[3-9]*)
13613 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13614 # Instead, we relocate shared libraries at runtime.
13615 ;;
13616
13617 msdosdjgpp*)
13618 # Just because we use GCC doesn't mean we suddenly get shared libraries
13619 # on systems that don't support them.
13620 lt_prog_compiler_can_build_shared=no
13621 enable_shared=no
13622 ;;
13623
13624 *nto* | *qnx*)
13625 # QNX uses GNU C++, but need to define -shared option too, otherwise
13626 # it will coredump.
13627 lt_prog_compiler_pic='-fPIC -shared'
13628 ;;
13629
13630 sysv4*MP*)
13631 if test -d /usr/nec; then
13632 lt_prog_compiler_pic=-Kconform_pic
13633 fi
13634 ;;
13635
13636 *)
13637 lt_prog_compiler_pic='-fPIC'
13638 ;;
13639 esac
13640
13641 case $cc_basename in
13642 nvcc*) # Cuda Compiler Driver 2.2
13643 lt_prog_compiler_wl='-Xlinker '
13644 if test -n "$lt_prog_compiler_pic"; then
13645 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13646 fi
13647 ;;
13648 esac
13649 else
13650 # PORTME Check for flag to pass linker flags through the system compiler.
13651 case $host_os in
13652 aix*)
13653 lt_prog_compiler_wl='-Wl,'
13654 if test ia64 = "$host_cpu"; then
13655 # AIX 5 now supports IA64 processor
13656 lt_prog_compiler_static='-Bstatic'
13657 else
13658 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13659 fi
13660 ;;
13661
13662 darwin* | rhapsody*)
13663 # PIC is the default on this platform
13664 # Common symbols not allowed in MH_DYLIB files
13665 lt_prog_compiler_pic='-fno-common'
13666 case $cc_basename in
13667 nagfor*)
13668 # NAG Fortran compiler
13669 lt_prog_compiler_wl='-Wl,-Wl,,'
13670 lt_prog_compiler_pic='-PIC'
13671 lt_prog_compiler_static='-Bstatic'
13672 ;;
13673 esac
13674 ;;
13675
13676 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13677 # This hack is so that the source file can tell whether it is being
13678 # built for inclusion in a dll (and should export symbols for example).
13679 lt_prog_compiler_pic='-DDLL_EXPORT'
13680 case $host_os in
13681 os2*)
13682 lt_prog_compiler_static='$wl-static'
13683 ;;
13684 esac
13685 ;;
13686
13687 hpux9* | hpux10* | hpux11*)
13688 lt_prog_compiler_wl='-Wl,'
13689 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13690 # not for PA HP-UX.
13691 case $host_cpu in
13692 hppa*64*|ia64*)
13693 # +Z the default
13694 ;;
13695 *)
13696 lt_prog_compiler_pic='+Z'
13697 ;;
13698 esac
13699 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13700 lt_prog_compiler_static='$wl-a ${wl}archive'
13701 ;;
13702
13703 irix5* | irix6* | nonstopux*)
13704 lt_prog_compiler_wl='-Wl,'
13705 # PIC (with -KPIC) is the default.
13706 lt_prog_compiler_static='-non_shared'
13707 ;;
13708
13709 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13710 case $cc_basename in
13711 # old Intel for x86_64, which still supported -KPIC.
13712 ecc*)
13713 lt_prog_compiler_wl='-Wl,'
13714 lt_prog_compiler_pic='-KPIC'
13715 lt_prog_compiler_static='-static'
13716 ;;
13717 *flang* | ftn | f18* | f95*)
13718 # Flang compiler.
13719 lt_prog_compiler_wl='-Wl,'
13720 lt_prog_compiler_pic='-fPIC'
13721 lt_prog_compiler_static='-static'
13722 ;;
13723 # icc used to be incompatible with GCC.
13724 # ICC 10 doesn't accept -KPIC any more.
13725 icc* | ifort*)
13726 lt_prog_compiler_wl='-Wl,'
13727 lt_prog_compiler_pic='-fPIC'
13728 lt_prog_compiler_static='-static'
13729 ;;
13730 # Lahey Fortran 8.1.
13731 lf95*)
13732 lt_prog_compiler_wl='-Wl,'
13733 lt_prog_compiler_pic='--shared'
13734 lt_prog_compiler_static='--static'
13735 ;;
13736 nagfor*)
13737 # NAG Fortran compiler
13738 lt_prog_compiler_wl='-Wl,-Wl,,'
13739 lt_prog_compiler_pic='-PIC'
13740 lt_prog_compiler_static='-Bstatic'
13741 ;;
13742 tcc*)
13743 # Fabrice Bellard et al's Tiny C Compiler
13744 lt_prog_compiler_wl='-Wl,'
13745 lt_prog_compiler_pic='-fPIC'
13746 lt_prog_compiler_static='-static'
13747 ;;
13748 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13749 # Portland Group compilers (*not* the Pentium gcc compiler,
13750 # which looks to be a dead project)
13751 lt_prog_compiler_wl='-Wl,'
13752 lt_prog_compiler_pic='-fpic'
13753 lt_prog_compiler_static='-Bstatic'
13754 ;;
13755 ccc*)
13756 lt_prog_compiler_wl='-Wl,'
13757 # All Alpha code is PIC.
13758 lt_prog_compiler_static='-non_shared'
13759 ;;
13760 xl* | bgxl* | bgf* | mpixl*)
13761 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13762 lt_prog_compiler_wl='-Wl,'
13763 lt_prog_compiler_pic='-qpic'
13764 lt_prog_compiler_static='-qstaticlink'
13765 ;;
13766 *)
13767 case `$CC -V 2>&1 | $SED 5q` in
13768 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13769 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13770 lt_prog_compiler_pic='-KPIC'
13771 lt_prog_compiler_static='-Bstatic'
13772 lt_prog_compiler_wl=''
13773 ;;
13774 *Sun\ F* | *Sun*Fortran*)
13775 lt_prog_compiler_pic='-KPIC'
13776 lt_prog_compiler_static='-Bstatic'
13777 lt_prog_compiler_wl='-Qoption ld '
13778 ;;
13779 *Sun\ C*)
13780 # Sun C 5.9
13781 lt_prog_compiler_pic='-KPIC'
13782 lt_prog_compiler_static='-Bstatic'
13783 lt_prog_compiler_wl='-Wl,'
13784 ;;
13785 *Intel*\ [CF]*Compiler*)
13786 lt_prog_compiler_wl='-Wl,'
13787 lt_prog_compiler_pic='-fPIC'
13788 lt_prog_compiler_static='-static'
13789 ;;
13790 *Portland\ Group*)
13791 lt_prog_compiler_wl='-Wl,'
13792 lt_prog_compiler_pic='-fpic'
13793 lt_prog_compiler_static='-Bstatic'
13794 ;;
13795 esac
13796 ;;
13797 esac
13798 ;;
13799
13800 newsos6)
13801 lt_prog_compiler_pic='-KPIC'
13802 lt_prog_compiler_static='-Bstatic'
13803 ;;
13804
13805 *-mlibc)
13806 lt_prog_compiler_wl='-Wl,'
13807 lt_prog_compiler_pic='-fPIC'
13808 lt_prog_compiler_static='-static'
13809 ;;
13810
13811 *nto* | *qnx*)
13812 # QNX uses GNU C++, but need to define -shared option too, otherwise
13813 # it will coredump.
13814 lt_prog_compiler_pic='-fPIC -shared'
13815 ;;
13816
13817 osf3* | osf4* | osf5*)
13818 lt_prog_compiler_wl='-Wl,'
13819 # All OSF/1 code is PIC.
13820 lt_prog_compiler_static='-non_shared'
13821 ;;
13822
13823 rdos*)
13824 lt_prog_compiler_static='-non_shared'
13825 ;;
13826
13827 serenity*)
13828 ;;
13829
13830 solaris*)
13831 lt_prog_compiler_pic='-KPIC'
13832 lt_prog_compiler_static='-Bstatic'
13833 case $cc_basename in
13834 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
13835 lt_prog_compiler_wl='-Qoption ld ';;
13836 *)
13837 lt_prog_compiler_wl='-Wl,';;
13838 esac
13839 ;;
13840
13841 sunos4*)
13842 lt_prog_compiler_wl='-Qoption ld '
13843 lt_prog_compiler_pic='-PIC'
13844 lt_prog_compiler_static='-Bstatic'
13845 ;;
13846
13847 sysv4 | sysv4.2uw2* | sysv4.3*)
13848 lt_prog_compiler_wl='-Wl,'
13849 lt_prog_compiler_pic='-KPIC'
13850 lt_prog_compiler_static='-Bstatic'
13851 ;;
13852
13853 sysv4*MP*)
13854 if test -d /usr/nec; then
13855 lt_prog_compiler_pic='-Kconform_pic'
13856 lt_prog_compiler_static='-Bstatic'
13857 fi
13858 ;;
13859
13860 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13861 lt_prog_compiler_wl='-Wl,'
13862 lt_prog_compiler_pic='-KPIC'
13863 lt_prog_compiler_static='-Bstatic'
13864 ;;
13865
13866 unicos*)
13867 lt_prog_compiler_wl='-Wl,'
13868 lt_prog_compiler_can_build_shared=no
13869 ;;
13870
13871 uts4*)
13872 lt_prog_compiler_pic='-pic'
13873 lt_prog_compiler_static='-Bstatic'
13874 ;;
13875
13876 *)
13877 lt_prog_compiler_can_build_shared=no
13878 ;;
13879 esac
13880 fi
13881
13882 case $host_os in
13883 # For platforms that do not support PIC, -DPIC is meaningless:
13884 *djgpp*)
13885 lt_prog_compiler_pic=
13886 ;;
13887 *)
13888 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13889 ;;
13890 esac
13891
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13893 printf %s "checking for $compiler option to produce PIC... " >&6; }
13894 if test ${lt_cv_prog_compiler_pic+y}
13895 then :
13896 printf %s "(cached) " >&6
13897 else case e in #(
13898 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
13899 esac
13900 fi
13901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13902 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
13903 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13904
13905 #
13906 # Check to make sure the PIC flag actually works.
13907 #
13908 if test -n "$lt_prog_compiler_pic"; then
13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13910 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
13911 if test ${lt_cv_prog_compiler_pic_works+y}
13912 then :
13913 printf %s "(cached) " >&6
13914 else case e in #(
13915 e) lt_cv_prog_compiler_pic_works=no
13916 ac_outfile=conftest.$ac_objext
13917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13918 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13919 # Insert the option either (1) after the last *FLAGS variable, or
13920 # (2) before a word containing "conftest.", or (3) at the end.
13921 # Note that $ac_compile itself does not contain backslashes and begins
13922 # with a dollar sign (not a hyphen), so the echo should work correctly.
13923 # The option is referenced via a variable to avoid confusing sed.
13924 lt_compile=`echo "$ac_compile" | $SED \
13925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13927 -e 's:$: $lt_compiler_flag:'`
13928 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13929 (eval "$lt_compile" 2>conftest.err)
13930 ac_status=$?
13931 cat conftest.err >&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 if (exit $ac_status) && test -s "$ac_outfile"; then
13934 # The compiler can only warn and ignore the option if not recognized
13935 # So say no if there are warnings other than the usual output.
13936 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13937 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13938 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13939 lt_cv_prog_compiler_pic_works=yes
13940 fi
13941 fi
13942 $RM conftest*
13943 ;;
13944 esac
13945 fi
13946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13947 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
13948
13949 if test yes = "$lt_cv_prog_compiler_pic_works"; then
13950 case $lt_prog_compiler_pic in
13951 "" | " "*) ;;
13952 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13953 esac
13954 else
13955 lt_prog_compiler_pic=
13956 lt_prog_compiler_can_build_shared=no
13957 fi
13958
13959 fi
13960
13961
13962
13963
13964
13965 #
13966 # Check to make sure the static flag actually works.
13967 #
13968 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13970 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13971 if test ${lt_cv_prog_compiler_static_works+y}
13972 then :
13973 printf %s "(cached) " >&6
13974 else case e in #(
13975 e) lt_cv_prog_compiler_static_works=no
13976 save_LDFLAGS=$LDFLAGS
13977 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13978 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13979 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13980 # The linker can only warn and ignore the option if not recognized
13981 # So say no if there are warnings
13982 if test -s conftest.err; then
13983 # Append any errors to the config.log.
13984 cat conftest.err 1>&5
13985 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13986 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13987 if diff conftest.exp conftest.er2 >/dev/null; then
13988 lt_cv_prog_compiler_static_works=yes
13989 fi
13990 else
13991 lt_cv_prog_compiler_static_works=yes
13992 fi
13993 fi
13994 $RM -r conftest*
13995 LDFLAGS=$save_LDFLAGS
13996 ;;
13997 esac
13998 fi
13999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14000 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
14001
14002 if test yes = "$lt_cv_prog_compiler_static_works"; then
14003 :
14004 else
14005 lt_prog_compiler_static=
14006 fi
14007
14008
14009
14010 ='-fPIC'
14011 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
14012 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'
14013 archive_cmds_need_lc=no
14014 no_undefined_flag=
14015 ;;
14016
14017 *)
14018 dynamic_linker=no
14019 ;;
14020 esac
14021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14022 printf "%s\n" "$dynamic_linker" >&6; }
14023 test no = "$dynamic_linker" && can_build_shared=no
14024
14025 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14026 if test yes = "$GCC"; then
14027 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14028 fi
14029
14030 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14031 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14032 fi
14033
14034 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14035 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14036 fi
14037
14038 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14039 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14040
14041 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14042 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14043
14044 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14045 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14144 printf %s "checking how to hardcode library paths into programs... " >&6; }
14145 hardcode_action=
14146 if test -n "$hardcode_libdir_flag_spec" ||
14147 test -n "$runpath_var" ||
14148 test yes = "$hardcode_automatic"; then
14149
14150 # We can hardcode non-existent directories.
14151 if test no != "$hardcode_direct" &&
14152 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14153 # have to relink, otherwise we might link with an installed library
14154 # when we should be linking with a yet-to-be-installed one
14155 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14156 test no != "$hardcode_minus_L"; then
14157 # Linking always hardcodes the temporary library directory.
14158 hardcode_action=relink
14159 else
14160 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14161 hardcode_action=immediate
14162 fi
14163 else
14164 # We cannot hardcode anything, or else we can only hardcode existing
14165 # directories.
14166 hardcode_action=unsupported
14167 fi
14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14169 printf "%s\n" "$hardcode_action" >&6; }
14170
14171 if test relink = "$hardcode_action" ||
14172 test yes = "$inherit_rpath"; then
14173 # Fast installation is not supported
14174 enable_fast_install=no
14175 elif test yes = "$shlibpath_overrides_runpath" ||
14176 test no = "$enable_shared"; then
14177 # Fast installation is not necessary
14178 enable_fast_install=needless
14179 fi
14180
14181
14182
14183
14184
14185
14186 if test yes != "$enable_dlopen"; then
14187 enable_dlopen=unknown
14188 enable_dlopen_self=unknown
14189 enable_dlopen_self_static=unknown
14190 else
14191 lt_cv_dlopen=no
14192 lt_cv_dlopen_libs=
14193
14194 case $host_os in
14195 beos*)
14196 lt_cv_dlopen=load_add_on
14197 lt_cv_dlopen_libs=
14198 lt_cv_dlopen_self=yes
14199 ;;
14200
14201 mingw* | windows* | pw32* | cegcc*)
14202 lt_cv_dlopen=LoadLibrary
14203 lt_cv_dlopen_libs=
14204 ;;
14205
14206 cygwin*)
14207 lt_cv_dlopen=dlopen
14208 lt_cv_dlopen_libs=
14209 ;;
14210
14211 darwin*)
14212 # if libdl is installed we need to link against it
14213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14214 printf %s "checking for dlopen in -ldl... " >&6; }
14215 if test ${ac_cv_lib_dl_dlopen+y}
14216 then :
14217 printf %s "(cached) " >&6
14218 else case e in #(
14219 e) ac_check_lib_save_LIBS=$LIBS
14220 LIBS="-ldl $LIBS"
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14223
14224 /* Override any GCC internal prototype to avoid an error.
14225 Use char because int might match the return type of a GCC
14226 builtin and then its argument prototype would still apply.
14227 The 'extern "C"' is for builds by C++ compilers;
14228 although this is not generally supported in C code supporting it here
14229 has little cost and some practical benefit (sr 110532). */
14230 #ifdef __cplusplus
14231 extern "C"
14232 #endif
14233 char dlopen (void);
14234 int
14235 main (void)
14236 {
14237 return dlopen ();
14238 ;
14239 return 0;
14240 }
14241 _ACEOF
14242 if ac_fn_c_try_link "$LINENO"
14243 then :
14244 ac_cv_lib_dl_dlopen=yes
14245 else case e in #(
14246 e) ac_cv_lib_dl_dlopen=no ;;
14247 esac
14248 fi
14249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14250 conftest$ac_exeext conftest.$ac_ext
14251 LIBS=$ac_check_lib_save_LIBS ;;
14252 esac
14253 fi
14254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14255 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14256 if test "x$ac_cv_lib_dl_dlopen" = xyes
14257 then :
14258 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14259 else case e in #(
14260 e)
14261 lt_cv_dlopen=dyld
14262 lt_cv_dlopen_libs=
14263 lt_cv_dlopen_self=yes
14264 ;;
14265 esac
14266 fi
14267
14268 ;;
14269
14270 tpf*)
14271 # Don't try to run any link tests for TPF. We know it's impossible
14272 # because TPF is a cross-compiler, and we know how we open DSOs.
14273 lt_cv_dlopen=dlopen
14274 lt_cv_dlopen_libs=
14275 lt_cv_dlopen_self=no
14276 ;;
14277
14278 *)
14279 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14280 if test "x$ac_cv_func_shl_load" = xyes
14281 then :
14282 lt_cv_dlopen=shl_load
14283 else case e in #(
14284 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14285 printf %s "checking for shl_load in -ldld... " >&6; }
14286 if test ${ac_cv_lib_dld_shl_load+y}
14287 then :
14288 printf %s "(cached) " >&6
14289 else case e in #(
14290 e) ac_check_lib_save_LIBS=$LIBS
14291 LIBS="-ldld $LIBS"
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294
14295 /* Override any GCC internal prototype to avoid an error.
14296 Use char because int might match the return type of a GCC
14297 builtin and then its argument prototype would still apply.
14298 The 'extern "C"' is for builds by C++ compilers;
14299 although this is not generally supported in C code supporting it here
14300 has little cost and some practical benefit (sr 110532). */
14301 #ifdef __cplusplus
14302 extern "C"
14303 #endif
14304 char shl_load (void);
14305 int
14306 main (void)
14307 {
14308 return shl_load ();
14309 ;
14310 return 0;
14311 }
14312 _ACEOF
14313 if ac_fn_c_try_link "$LINENO"
14314 then :
14315 ac_cv_lib_dld_shl_load=yes
14316 else case e in #(
14317 e) ac_cv_lib_dld_shl_load=no ;;
14318 esac
14319 fi
14320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14321 conftest$ac_exeext conftest.$ac_ext
14322 LIBS=$ac_check_lib_save_LIBS ;;
14323 esac
14324 fi
14325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14326 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14327 if test "x$ac_cv_lib_dld_shl_load" = xyes
14328 then :
14329 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14330 else case e in #(
14331 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14332 if test "x$ac_cv_func_dlopen" = xyes
14333 then :
14334 lt_cv_dlopen=dlopen
14335 else case e in #(
14336 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14337 printf %s "checking for dlopen in -ldl... " >&6; }
14338 if test ${ac_cv_lib_dl_dlopen+y}
14339 then :
14340 printf %s "(cached) " >&6
14341 else case e in #(
14342 e) ac_check_lib_save_LIBS=$LIBS
14343 LIBS="-ldl $LIBS"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14346
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply.
14350 The 'extern "C"' is for builds by C++ compilers;
14351 although this is not generally supported in C code supporting it here
14352 has little cost and some practical benefit (sr 110532). */
14353 #ifdef __cplusplus
14354 extern "C"
14355 #endif
14356 char dlopen (void);
14357 int
14358 main (void)
14359 {
14360 return dlopen ();
14361 ;
14362 return 0;
14363 }
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"
14366 then :
14367 ac_cv_lib_dl_dlopen=yes
14368 else case e in #(
14369 e) ac_cv_lib_dl_dlopen=no ;;
14370 esac
14371 fi
14372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14373 conftest$ac_exeext conftest.$ac_ext
14374 LIBS=$ac_check_lib_save_LIBS ;;
14375 esac
14376 fi
14377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14378 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14379 if test "x$ac_cv_lib_dl_dlopen" = xyes
14380 then :
14381 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14382 else case e in #(
14383 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14384 printf %s "checking for dlopen in -lsvld... " >&6; }
14385 if test ${ac_cv_lib_svld_dlopen+y}
14386 then :
14387 printf %s "(cached) " >&6
14388 else case e in #(
14389 e) ac_check_lib_save_LIBS=$LIBS
14390 LIBS="-lsvld $LIBS"
14391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14393
14394 /* Override any GCC internal prototype to avoid an error.
14395 Use char because int might match the return type of a GCC
14396 builtin and then its argument prototype would still apply.
14397 The 'extern "C"' is for builds by C++ compilers;
14398 although this is not generally supported in C code supporting it here
14399 has little cost and some practical benefit (sr 110532). */
14400 #ifdef __cplusplus
14401 extern "C"
14402 #endif
14403 char dlopen (void);
14404 int
14405 main (void)
14406 {
14407 return dlopen ();
14408 ;
14409 return 0;
14410 }
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"
14413 then :
14414 ac_cv_lib_svld_dlopen=yes
14415 else case e in #(
14416 e) ac_cv_lib_svld_dlopen=no ;;
14417 esac
14418 fi
14419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14420 conftest$ac_exeext conftest.$ac_ext
14421 LIBS=$ac_check_lib_save_LIBS ;;
14422 esac
14423 fi
14424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14425 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14426 if test "x$ac_cv_lib_svld_dlopen" = xyes
14427 then :
14428 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14429 else case e in #(
14430 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14431 printf %s "checking for dld_link in -ldld... " >&6; }
14432 if test ${ac_cv_lib_dld_dld_link+y}
14433 then :
14434 printf %s "(cached) " >&6
14435 else case e in #(
14436 e) ac_check_lib_save_LIBS=$LIBS
14437 LIBS="-ldld $LIBS"
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440
14441 /* Override any GCC internal prototype to avoid an error.
14442 Use char because int might match the return type of a GCC
14443 builtin and then its argument prototype would still apply.
14444 The 'extern "C"' is for builds by C++ compilers;
14445 although this is not generally supported in C code supporting it here
14446 has little cost and some practical benefit (sr 110532). */
14447 #ifdef __cplusplus
14448 extern "C"
14449 #endif
14450 char dld_link (void);
14451 int
14452 main (void)
14453 {
14454 return dld_link ();
14455 ;
14456 return 0;
14457 }
14458 _ACEOF
14459 if ac_fn_c_try_link "$LINENO"
14460 then :
14461 ac_cv_lib_dld_dld_link=yes
14462 else case e in #(
14463 e) ac_cv_lib_dld_dld_link=no ;;
14464 esac
14465 fi
14466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14467 conftest$ac_exeext conftest.$ac_ext
14468 LIBS=$ac_check_lib_save_LIBS ;;
14469 esac
14470 fi
14471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14472 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14473 if test "x$ac_cv_lib_dld_dld_link" = xyes
14474 then :
14475 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14476 fi
14477
14478 ;;
14479 esac
14480 fi
14481
14482 ;;
14483 esac
14484 fi
14485
14486 ;;
14487 esac
14488 fi
14489
14490 ;;
14491 esac
14492 fi
14493
14494 ;;
14495 esac
14496 fi
14497
14498 ;;
14499 esac
14500
14501 if test no = "$lt_cv_dlopen"; then
14502 enable_dlopen=no
14503 else
14504 enable_dlopen=yes
14505 fi
14506
14507 case $lt_cv_dlopen in
14508 dlopen)
14509 save_CPPFLAGS=$CPPFLAGS
14510 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14511
14512 save_LDFLAGS=$LDFLAGS
14513 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14514
14515 save_LIBS=$LIBS
14516 LIBS="$lt_cv_dlopen_libs $LIBS"
14517
14518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14519 printf %s "checking whether a program can dlopen itself... " >&6; }
14520 if test ${lt_cv_dlopen_self+y}
14521 then :
14522 printf %s "(cached) " >&6
14523 else case e in #(
14524 e) if test yes = "$cross_compiling"; then :
14525 lt_cv_dlopen_self=cross
14526 else
14527 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14528 lt_status=$lt_dlunknown
14529 cat > conftest.$ac_ext <<_LT_EOF
14530 #line $LINENO "configure"
14531 #include "confdefs.h"
14532
14533 #if HAVE_DLFCN_H
14534 #include <dlfcn.h>
14535 #endif
14536
14537 #include <stdio.h>
14538
14539 #ifdef RTLD_GLOBAL
14540 # define LT_DLGLOBAL RTLD_GLOBAL
14541 #else
14542 # ifdef DL_GLOBAL
14543 # define LT_DLGLOBAL DL_GLOBAL
14544 # else
14545 # define LT_DLGLOBAL 0
14546 # endif
14547 #endif
14548
14549 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14550 find out it does not work in some platform. */
14551 #ifndef LT_DLLAZY_OR_NOW
14552 # ifdef RTLD_LAZY
14553 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14554 # else
14555 # ifdef DL_LAZY
14556 # define LT_DLLAZY_OR_NOW DL_LAZY
14557 # else
14558 # ifdef RTLD_NOW
14559 # define LT_DLLAZY_OR_NOW RTLD_NOW
14560 # else
14561 # ifdef DL_NOW
14562 # define LT_DLLAZY_OR_NOW DL_NOW
14563 # else
14564 # define LT_DLLAZY_OR_NOW 0
14565 # endif
14566 # endif
14567 # endif
14568 # endif
14569 #endif
14570
14571 /* When -fvisibility=hidden is used, assume the code has been annotated
14572 correspondingly for the symbols needed. */
14573 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14574 int fnord (void) __attribute__((visibility("default")));
14575 #endif
14576
14577 int fnord (void) { return 42; }
14578 int main (void)
14579 {
14580 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14581 int status = $lt_dlunknown;
14582
14583 if (self)
14584 {
14585 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14586 else
14587 {
14588 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14589 else puts (dlerror ());
14590 }
14591 /* dlclose (self); */
14592 }
14593 else
14594 puts (dlerror ());
14595
14596 return status;
14597 }
14598 _LT_EOF
14599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14600 (eval $ac_link) 2>&5
14601 ac_status=$?
14602 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14603 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14604 (./conftest; exit; ) >&5 2>/dev/null
14605 lt_status=$?
14606 case x$lt_status in
14607 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14608 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14609 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14610 esac
14611 else :
14612 # compilation failed
14613 lt_cv_dlopen_self=no
14614 fi
14615 fi
14616 rm -fr conftest*
14617
14618 ;;
14619 esac
14620 fi
14621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14622 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14623
14624 if test yes = "$lt_cv_dlopen_self"; then
14625 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14627 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14628 if test ${lt_cv_dlopen_self_static+y}
14629 then :
14630 printf %s "(cached) " >&6
14631 else case e in #(
14632 e) if test yes = "$cross_compiling"; then :
14633 lt_cv_dlopen_self_static=cross
14634 else
14635 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14636 lt_status=$lt_dlunknown
14637 cat > conftest.$ac_ext <<_LT_EOF
14638 #line $LINENO "configure"
14639 #include "confdefs.h"
14640
14641 #if HAVE_DLFCN_H
14642 #include <dlfcn.h>
14643 #endif
14644
14645 #include <stdio.h>
14646
14647 #ifdef RTLD_GLOBAL
14648 # define LT_DLGLOBAL RTLD_GLOBAL
14649 #else
14650 # ifdef DL_GLOBAL
14651 # define LT_DLGLOBAL DL_GLOBAL
14652 # else
14653 # define LT_DLGLOBAL 0
14654 # endif
14655 #endif
14656
14657 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14658 find out it does not work in some platform. */
14659 #ifndef LT_DLLAZY_OR_NOW
14660 # ifdef RTLD_LAZY
14661 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14662 # else
14663 # ifdef DL_LAZY
14664 # define LT_DLLAZY_OR_NOW DL_LAZY
14665 # else
14666 # ifdef RTLD_NOW
14667 # define LT_DLLAZY_OR_NOW RTLD_NOW
14668 # else
14669 # ifdef DL_NOW
14670 # define LT_DLLAZY_OR_NOW DL_NOW
14671 # else
14672 # define LT_DLLAZY_OR_NOW 0
14673 # endif
14674 # endif
14675 # endif
14676 # endif
14677 #endif
14678
14679 /* When -fvisibility=hidden is used, assume the code has been annotated
14680 correspondingly for the symbols needed. */
14681 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14682 int fnord (void) __attribute__((visibility("default")));
14683 #endif
14684
14685 int fnord (void) { return 42; }
14686 int main (void)
14687 {
14688 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14689 int status = $lt_dlunknown;
14690
14691 if (self)
14692 {
14693 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14694 else
14695 {
14696 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14697 else puts (dlerror ());
14698 }
14699 /* dlclose (self); */
14700 }
14701 else
14702 puts (dlerror ());
14703
14704 return status;
14705 }
14706 _LT_EOF
14707 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14708 (eval $ac_link) 2>&5
14709 ac_status=$?
14710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14711 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14712 (./conftest; exit; ) >&5 2>/dev/null
14713 lt_status=$?
14714 case x$lt_status in
14715 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14716 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14717 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14718 esac
14719 else :
14720 # compilation failed
14721 lt_cv_dlopen_self_static=no
14722 fi
14723 fi
14724 rm -fr conftest*
14725
14726 ;;
14727 esac
14728 fi
14729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14730 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14731 fi
14732
14733 CPPFLAGS=$save_CPPFLAGS
14734 LDFLAGS=$save_LDFLAGS
14735 LIBS=$save_LIBS
14736 ;;
14737 esac
14738
14739 case $lt_cv_dlopen_self in
14740 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14741 *) enable_dlopen_self=unknown ;;
14742 esac
14743
14744 case $lt_cv_dlopen_self_static in
14745 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14746 *) enable_dlopen_self_static=unknown ;;
14747 esac
14748 fi
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766 striplib=
14767 old_striplib=
14768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14769 printf %s "checking whether stripping libraries is possible... " >&6; }
14770 if test -z "$STRIP"; then
14771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14772 printf "%s\n" "no" >&6; }
14773 else
14774 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14775 old_striplib="$STRIP --strip-debug"
14776 striplib="$STRIP --strip-unneeded"
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14778 printf "%s\n" "yes" >&6; }
14779 else
14780 case $host_os in
14781 darwin*)
14782 # FIXME - insert some real tests, host_os isn't really good enough
14783 striplib="$STRIP -x"
14784 old_striplib="$STRIP -S"
14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14786 printf "%s\n" "yes" >&6; }
14787 ;;
14788 freebsd*)
14789 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
14790 old_striplib="$STRIP --strip-debug"
14791 striplib="$STRIP --strip-unneeded"
14792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14793 printf "%s\n" "yes" >&6; }
14794 else
14795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14796 printf "%s\n" "no" >&6; }
14797 fi
14798 ;;
14799 *)
14800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14801 printf "%s\n" "no" >&6; }
14802 ;;
14803 esac
14804 fi
14805 fi
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818 # Report what library types will actually be built
14819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14820 printf %s "checking if libtool supports shared libraries... " >&6; }
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14822 printf "%s\n" "$can_build_shared" >&6; }
14823
14824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14825 printf %s "checking whether to build shared libraries... " >&6; }
14826 test no = "$can_build_shared" && enable_shared=no
14827
14828 # On AIX, shared libraries and static libraries use the same namespace, and
14829 # are all built from PIC.
14830 case $host_os in
14831 aix3*)
14832 test yes = "$enable_shared" && enable_static=no
14833 if test -n "$RANLIB"; then
14834 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14835 postinstall_cmds='$RANLIB $lib'
14836 fi
14837 ;;
14838
14839 aix[4-9]*)
14840 if test ia64 != "$host_cpu"; then
14841 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14842 yes,aix,yes) ;; # shared object as lib.so file only
14843 yes,svr4,*) ;; # shared object as lib.so archive member only
14844 yes,*) enable_static=no ;; # shared object in lib.a archive as well
14845 esac
14846 fi
14847 ;;
14848 esac
14849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14850 printf "%s\n" "$enable_shared" >&6; }
14851
14852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14853 printf %s "checking whether to build static libraries... " >&6; }
14854 # Make sure either enable_shared or enable_static is yes.
14855 test yes = "$enable_shared" || enable_static=yes
14856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14857 printf "%s\n" "$enable_static" >&6; }
14858
14859
14860
14861
14862 fi
14863 ac_ext=c
14864 ac_cpp='$CPP $CPPFLAGS'
14865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14868
14869 CC=$lt_save_CC
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885 ac_config_commands="$ac_config_commands libtool"
14886
14887
14888
14889
14890 # Only expand once:
14891
14892
14893 # (end lt_init)
14894 # Check whether --enable-largefile was given.
14895 if test ${enable_largefile+y}
14896 then :
14897 enableval=$enable_largefile;
14898 fi
14899 if test "$enable_largefile,$enable_year2038" != no,no
14900 then :
14901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
14902 printf %s "checking for $CC option to enable large file support... " >&6; }
14903 if test ${ac_cv_sys_largefile_opts+y}
14904 then :
14905 printf %s "(cached) " >&6
14906 else case e in #(
14907 e) ac_save_CC="$CC"
14908 ac_opt_found=no
14909 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
14910 if test x"$ac_opt" != x"none needed"
14911 then :
14912 CC="$ac_save_CC $ac_opt"
14913 fi
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 #include <sys/types.h>
14917 #ifndef FTYPE
14918 # define FTYPE off_t
14919 #endif
14920 /* Check that FTYPE can represent 2**63 - 1 correctly.
14921 We can't simply define LARGE_FTYPE to be 9223372036854775807,
14922 since some C++ compilers masquerading as C compilers
14923 incorrectly reject 9223372036854775807. */
14924 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
14925 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
14926 && LARGE_FTYPE % 2147483647 == 1)
14927 ? 1 : -1];
14928 int
14929 main (void)
14930 {
14931
14932 ;
14933 return 0;
14934 }
14935 _ACEOF
14936 if ac_fn_c_try_compile "$LINENO"
14937 then :
14938 if test x"$ac_opt" = x"none needed"
14939 then :
14940 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
14941 CC="$CC -DFTYPE=ino_t"
14942 if ac_fn_c_try_compile "$LINENO"
14943 then :
14944
14945 else case e in #(
14946 e) CC="$CC -D_FILE_OFFSET_BITS=64"
14947 if ac_fn_c_try_compile "$LINENO"
14948 then :
14949 ac_opt='-D_FILE_OFFSET_BITS=64'
14950 fi
14951 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
14952 esac
14953 fi
14954 rm -f core conftest.err conftest.$ac_objext conftest.beam
14955 fi
14956 ac_cv_sys_largefile_opts=$ac_opt
14957 ac_opt_found=yes
14958 fi
14959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14960 test $ac_opt_found = no || break
14961 done
14962 CC="$ac_save_CC"
14963
14964 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
14965 esac
14966 fi
14967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
14968 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
14969
14970 ac_have_largefile=yes
14971 case $ac_cv_sys_largefile_opts in #(
14972 "none needed") :
14973 ;; #(
14974 "supported through gnulib") :
14975 ;; #(
14976 "support not detected") :
14977 ac_have_largefile=no ;; #(
14978 "-D_FILE_OFFSET_BITS=64") :
14979
14980 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
14981 ;; #(
14982 "-D_LARGE_FILES=1") :
14983
14984 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
14985 ;; #(
14986 "-n32") :
14987 CC="$CC -n32" ;; #(
14988 *) :
14989 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
14990 esac
14991
14992 if test "$enable_year2038" != no
14993 then :
14994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
14995 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
14996 if test ${ac_cv_sys_year2038_opts+y}
14997 then :
14998 printf %s "(cached) " >&6
14999 else case e in #(
15000 e) ac_save_CPPFLAGS="$CPPFLAGS"
15001 ac_opt_found=no
15002 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
15003 if test x"$ac_opt" != x"none needed"
15004 then :
15005 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
15006 fi
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15009
15010 #include <time.h>
15011 /* Check that time_t can represent 2**32 - 1 correctly. */
15012 #define LARGE_TIME_T \\
15013 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
15014 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
15015 && LARGE_TIME_T % 65537 == 0)
15016 ? 1 : -1];
15017
15018 int
15019 main (void)
15020 {
15021
15022 ;
15023 return 0;
15024 }
15025 _ACEOF
15026 if ac_fn_c_try_compile "$LINENO"
15027 then :
15028 ac_cv_sys_year2038_opts="$ac_opt"
15029 ac_opt_found=yes
15030 fi
15031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15032 test $ac_opt_found = no || break
15033 done
15034 CPPFLAGS="$ac_save_CPPFLAGS"
15035 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
15036 esac
15037 fi
15038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
15039 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
15040
15041 ac_have_year2038=yes
15042 case $ac_cv_sys_year2038_opts in #(
15043 "none needed") :
15044 ;; #(
15045 "support not detected") :
15046 ac_have_year2038=no ;; #(
15047 "-D_TIME_BITS=64") :
15048
15049 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
15050 ;; #(
15051 "-D__MINGW_USE_VC2005_COMPAT") :
15052
15053 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
15054 ;; #(
15055 "-U_USE_32_BIT_TIME_T"*) :
15056 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15057 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15058 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
15059 will stop working after mid-January 2038. Remove
15060 _USE_32BIT_TIME_T from the compiler flags.
15061 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15062 *) :
15063 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
15064 esac
15065
15066 fi
15067
15068 fi
15069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
15070 printf %s "checking for declarations of fseeko and ftello... " >&6; }
15071 if test ${ac_cv_func_fseeko_ftello+y}
15072 then :
15073 printf %s "(cached) " >&6
15074 else case e in #(
15075 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15077
15078 #if defined __hpux && !defined _LARGEFILE_SOURCE
15079 # include <limits.h>
15080 # if LONG_MAX >> 31 == 0
15081 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15082 # endif
15083 #endif
15084 #include <sys/types.h> /* for off_t */
15085 #include <stdio.h>
15086
15087 int
15088 main (void)
15089 {
15090
15091 int (*fp1) (FILE *, off_t, int) = fseeko;
15092 off_t (*fp2) (FILE *) = ftello;
15093 return fseeko (stdin, 0, 0)
15094 && fp1 (stdin, 0, 0)
15095 && ftello (stdin) >= 0
15096 && fp2 (stdin) >= 0;
15097
15098 ;
15099 return 0;
15100 }
15101 _ACEOF
15102 if ac_fn_c_try_compile "$LINENO"
15103 then :
15104 ac_cv_func_fseeko_ftello=yes
15105 else case e in #(
15106 e) ac_save_CPPFLAGS="$CPPFLAGS"
15107 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15110
15111 #if defined __hpux && !defined _LARGEFILE_SOURCE
15112 # include <limits.h>
15113 # if LONG_MAX >> 31 == 0
15114 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15115 # endif
15116 #endif
15117 #include <sys/types.h> /* for off_t */
15118 #include <stdio.h>
15119
15120 int
15121 main (void)
15122 {
15123
15124 int (*fp1) (FILE *, off_t, int) = fseeko;
15125 off_t (*fp2) (FILE *) = ftello;
15126 return fseeko (stdin, 0, 0)
15127 && fp1 (stdin, 0, 0)
15128 && ftello (stdin) >= 0
15129 && fp2 (stdin) >= 0;
15130
15131 ;
15132 return 0;
15133 }
15134 _ACEOF
15135 if ac_fn_c_try_compile "$LINENO"
15136 then :
15137 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
15138 else case e in #(
15139 e) ac_cv_func_fseeko_ftello=no ;;
15140 esac
15141 fi
15142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15143 esac
15144 fi
15145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15146 esac
15147 fi
15148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
15149 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
15150 if test "$ac_cv_func_fseeko_ftello" != no
15151 then :
15152
15153 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
15154
15155 fi
15156 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
15157 then :
15158
15159 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
15160
15161 fi
15162
15163 ac_header_dirent=no
15164 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15165 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
15166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15167 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
15168 if eval test \${$as_ac_Header+y}
15169 then :
15170 printf %s "(cached) " >&6
15171 else case e in #(
15172 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15174 #include <sys/types.h>
15175 #include <$ac_hdr>
15176
15177 int
15178 main (void)
15179 {
15180 if ((DIR *) 0)
15181 return 0;
15182 ;
15183 return 0;
15184 }
15185 _ACEOF
15186 if ac_fn_c_try_compile "$LINENO"
15187 then :
15188 eval "$as_ac_Header=yes"
15189 else case e in #(
15190 e) eval "$as_ac_Header=no" ;;
15191 esac
15192 fi
15193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15194 esac
15195 fi
15196 eval ac_res=\$$as_ac_Header
15197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15198 printf "%s\n" "$ac_res" >&6; }
15199 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15200 then :
15201 cat >>confdefs.h <<_ACEOF
15202 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
15203 _ACEOF
15204
15205 ac_header_dirent=$ac_hdr; break
15206 fi
15207
15208 done
15209 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15210 if test $ac_header_dirent = dirent.h; then
15211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15212 printf %s "checking for library containing opendir... " >&6; }
15213 if test ${ac_cv_search_opendir+y}
15214 then :
15215 printf %s "(cached) " >&6
15216 else case e in #(
15217 e) ac_func_search_save_LIBS=$LIBS
15218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15219 /* end confdefs.h. */
15220
15221 /* Override any GCC internal prototype to avoid an error.
15222 Use char because int might match the return type of a GCC
15223 builtin and then its argument prototype would still apply.
15224 The 'extern "C"' is for builds by C++ compilers;
15225 although this is not generally supported in C code supporting it here
15226 has little cost and some practical benefit (sr 110532). */
15227 #ifdef __cplusplus
15228 extern "C"
15229 #endif
15230 char opendir (void);
15231 int
15232 main (void)
15233 {
15234 return opendir ();
15235 ;
15236 return 0;
15237 }
15238 _ACEOF
15239 for ac_lib in '' dir
15240 do
15241 if test -z "$ac_lib"; then
15242 ac_res="none required"
15243 else
15244 ac_res=-l$ac_lib
15245 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15246 fi
15247 if ac_fn_c_try_link "$LINENO"
15248 then :
15249 ac_cv_search_opendir=$ac_res
15250 fi
15251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15252 conftest$ac_exeext
15253 if test ${ac_cv_search_opendir+y}
15254 then :
15255 break
15256 fi
15257 done
15258 if test ${ac_cv_search_opendir+y}
15259 then :
15260
15261 else case e in #(
15262 e) ac_cv_search_opendir=no ;;
15263 esac
15264 fi
15265 rm conftest.$ac_ext
15266 LIBS=$ac_func_search_save_LIBS ;;
15267 esac
15268 fi
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15270 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15271 ac_res=$ac_cv_search_opendir
15272 if test "$ac_res" != no
15273 then :
15274 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15275
15276 fi
15277
15278 else
15279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15280 printf %s "checking for library containing opendir... " >&6; }
15281 if test ${ac_cv_search_opendir+y}
15282 then :
15283 printf %s "(cached) " >&6
15284 else case e in #(
15285 e) ac_func_search_save_LIBS=$LIBS
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15288
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply.
15292 The 'extern "C"' is for builds by C++ compilers;
15293 although this is not generally supported in C code supporting it here
15294 has little cost and some practical benefit (sr 110532). */
15295 #ifdef __cplusplus
15296 extern "C"
15297 #endif
15298 char opendir (void);
15299 int
15300 main (void)
15301 {
15302 return opendir ();
15303 ;
15304 return 0;
15305 }
15306 _ACEOF
15307 for ac_lib in '' x
15308 do
15309 if test -z "$ac_lib"; then
15310 ac_res="none required"
15311 else
15312 ac_res=-l$ac_lib
15313 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15314 fi
15315 if ac_fn_c_try_link "$LINENO"
15316 then :
15317 ac_cv_search_opendir=$ac_res
15318 fi
15319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15320 conftest$ac_exeext
15321 if test ${ac_cv_search_opendir+y}
15322 then :
15323 break
15324 fi
15325 done
15326 if test ${ac_cv_search_opendir+y}
15327 then :
15328
15329 else case e in #(
15330 e) ac_cv_search_opendir=no ;;
15331 esac
15332 fi
15333 rm conftest.$ac_ext
15334 LIBS=$ac_func_search_save_LIBS ;;
15335 esac
15336 fi
15337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15338 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15339 ac_res=$ac_cv_search_opendir
15340 if test "$ac_res" != no
15341 then :
15342 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15343
15344 fi
15345
15346 fi
15347
15348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
15349 printf %s "checking whether closedir returns void... " >&6; }
15350 if test ${ac_cv_func_closedir_void+y}
15351 then :
15352 printf %s "(cached) " >&6
15353 else case e in #(
15354 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15356
15357 #include <$ac_header_dirent>
15358
15359 int
15360 main (void)
15361 {
15362
15363 return closedir(0);
15364
15365 ;
15366 return 0;
15367 }
15368 _ACEOF
15369 if ac_fn_c_try_compile "$LINENO"
15370 then :
15371 ac_cv_func_closedir_void=no
15372 else case e in #(
15373 e) ac_cv_func_closedir_void=yes ;;
15374 esac
15375 fi
15376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15377 esac
15378 fi
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
15380 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
15381 if test $ac_cv_func_closedir_void = yes; then
15382
15383 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
15384
15385 fi
15386
15387 ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
15388 if test "x$ac_cv_header_assert_h" = xyes
15389 then :
15390 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
15391
15392 fi
15393 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
15394 if test "x$ac_cv_header_float_h" = xyes
15395 then :
15396 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
15397
15398 fi
15399 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15400 if test "x$ac_cv_header_limits_h" = xyes
15401 then :
15402 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15403
15404 fi
15405 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
15406 if test "x$ac_cv_header_pwd_h" = xyes
15407 then :
15408 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
15409
15410 fi
15411 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15412 if test "x$ac_cv_header_stdlib_h" = xyes
15413 then :
15414 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15415
15416 fi
15417 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15418 if test "x$ac_cv_header_sys_param_h" = xyes
15419 then :
15420 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
15421
15422 fi
15423
15424 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
15425 if test "x$ac_cv_func_putenv" = xyes
15426 then :
15427 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
15428
15429 fi
15430
15431 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
15432 if test "x$ac_cv_func_getcwd" = xyes
15433 then :
15434 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
15435
15436 fi
15437 ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp"
15438 if test "x$ac_cv_func_memcmp" = xyes
15439 then :
15440 printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h
15441
15442 fi
15443 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
15444 if test "x$ac_cv_func_memcpy" = xyes
15445 then :
15446 printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
15447
15448 fi
15449 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
15450 if test "x$ac_cv_func_mkstemp" = xyes
15451 then :
15452 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15453
15454 fi
15455 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15456 if test "x$ac_cv_func_mktemp" = xyes
15457 then :
15458 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15459
15460 fi
15461 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
15462 if test "x$ac_cv_func_strchr" = xyes
15463 then :
15464 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
15465
15466 fi
15467 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
15468 if test "x$ac_cv_func_strrchr" = xyes
15469 then :
15470 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
15471
15472 fi
15473
15474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15475 printf %s "checking for an ANSI C-conforming const... " >&6; }
15476 if test ${ac_cv_c_const+y}
15477 then :
15478 printf %s "(cached) " >&6
15479 else case e in #(
15480 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15482
15483 int
15484 main (void)
15485 {
15486
15487 #ifndef __cplusplus
15488 /* Ultrix mips cc rejects this sort of thing. */
15489 typedef int charset[2];
15490 const charset cs = { 0, 0 };
15491 /* SunOS 4.1.1 cc rejects this. */
15492 char const *const *pcpcc;
15493 char **ppc;
15494 /* NEC SVR4.0.2 mips cc rejects this. */
15495 struct point {int x, y;};
15496 static struct point const zero = {0,0};
15497 /* IBM XL C 1.02.0.0 rejects this.
15498 It does not let you subtract one const X* pointer from another in
15499 an arm of an if-expression whose if-part is not a constant
15500 expression */
15501 const char *g = "string";
15502 pcpcc = &g + (g ? g-g : 0);
15503 /* HPUX 7.0 cc rejects these. */
15504 ++pcpcc;
15505 ppc = (char**) pcpcc;
15506 pcpcc = (char const *const *) ppc;
15507 { /* SCO 3.2v4 cc rejects this sort of thing. */
15508 char tx;
15509 char *t = &tx;
15510 char const *s = 0 ? (char *) 0 : (char const *) 0;
15511
15512 *t++ = 0;
15513 if (s) return 0;
15514 }
15515 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15516 int x[] = {25, 17};
15517 const int *foo = &x[0];
15518 ++foo;
15519 }
15520 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15521 typedef const int *iptr;
15522 iptr p = 0;
15523 ++p;
15524 }
15525 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
15526 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15527 struct s { int j; const int *ap[3]; } bx;
15528 struct s *b = &bx; b->j = 5;
15529 }
15530 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15531 const int foo = 10;
15532 if (!foo) return 0;
15533 }
15534 return !cs[0] && !zero.x;
15535 #endif
15536
15537 ;
15538 return 0;
15539 }
15540 _ACEOF
15541 if ac_fn_c_try_compile "$LINENO"
15542 then :
15543 ac_cv_c_const=yes
15544 else case e in #(
15545 e) ac_cv_c_const=no ;;
15546 esac
15547 fi
15548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15549 esac
15550 fi
15551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15552 printf "%s\n" "$ac_cv_c_const" >&6; }
15553 if test $ac_cv_c_const = no; then
15554
15555 printf "%s\n" "#define const /**/" >>confdefs.h
15556
15557 fi
15558
15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15560 printf %s "checking for inline... " >&6; }
15561 if test ${ac_cv_c_inline+y}
15562 then :
15563 printf %s "(cached) " >&6
15564 else case e in #(
15565 e) ac_cv_c_inline=no
15566 for ac_kw in inline __inline__ __inline; do
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15569 #ifndef __cplusplus
15570 typedef int foo_t;
15571 static $ac_kw foo_t static_foo (void) {return 0; }
15572 $ac_kw foo_t foo (void) {return 0; }
15573 #endif
15574
15575 _ACEOF
15576 if ac_fn_c_try_compile "$LINENO"
15577 then :
15578 ac_cv_c_inline=$ac_kw
15579 fi
15580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15581 test "$ac_cv_c_inline" != no && break
15582 done
15583 ;;
15584 esac
15585 fi
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15587 printf "%s\n" "$ac_cv_c_inline" >&6; }
15588
15589 case $ac_cv_c_inline in
15590 inline | yes) ;;
15591 *)
15592 case $ac_cv_c_inline in
15593 no) ac_val=;;
15594 *) ac_val=$ac_cv_c_inline;;
15595 esac
15596 cat >>confdefs.h <<_ACEOF
15597 #ifndef __cplusplus
15598 #define inline $ac_val
15599 #endif
15600 _ACEOF
15601 ;;
15602 esac
15603
15604 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15605 if test "x$ac_cv_type_size_t" = xyes
15606 then :
15607
15608 else case e in #(
15609 e)
15610 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
15611 ;;
15612 esac
15613 fi
15614
15615 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
15616 case $ac_cv_c_int64_t in #(
15617 no|yes) ;; #(
15618 *)
15619
15620 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
15621 ;;
15622 esac
15623
15624 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
15625 case $ac_cv_c_uint64_t in #(
15626 no|yes) ;; #(
15627 *)
15628
15629 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
15630
15631
15632 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
15633 ;;
15634 esac
15635
15636 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
15637 *':no:'*) :
15638 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
15639 *) :
15640 ;;
15641 esac
15642 ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
15643 " "$ac_c_undeclared_builtin_options" "CFLAGS"
15644 if test "x$ac_cv_have_decl_isascii" = xyes
15645 then :
15646 ac_have_decl=1
15647 else case e in #(
15648 e) ac_have_decl=0 ;;
15649 esac
15650 fi
15651 printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h
15652
15653 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15654 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
15655 then :
15656
15657 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
15658
15659
15660 fi
15661
15662
15663
15664 ac_config_headers="$ac_config_headers config.h"
15665
15666
15667
15668
15669 printf "%s\n" "#define TL_VERSION \"TeX Live 2026\"" >>confdefs.h
15670
15671
15672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
15673 printf %s "checking for library containing floor... " >&6; }
15674 if test ${ac_cv_search_floor+y}
15675 then :
15676 printf %s "(cached) " >&6
15677 else case e in #(
15678 e) ac_func_search_save_LIBS=$LIBS
15679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15680 /* end confdefs.h. */
15681
15682 /* Override any GCC internal prototype to avoid an error.
15683 Use char because int might match the return type of a GCC
15684 builtin and then its argument prototype would still apply.
15685 The 'extern "C"' is for builds by C++ compilers;
15686 although this is not generally supported in C code supporting it here
15687 has little cost and some practical benefit (sr 110532). */
15688 #ifdef __cplusplus
15689 extern "C"
15690 #endif
15691 char floor (void);
15692 int
15693 main (void)
15694 {
15695 return floor ();
15696 ;
15697 return 0;
15698 }
15699 _ACEOF
15700 for ac_lib in '' m
15701 do
15702 if test -z "$ac_lib"; then
15703 ac_res="none required"
15704 else
15705 ac_res=-l$ac_lib
15706 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15707 fi
15708 if ac_fn_c_try_link "$LINENO"
15709 then :
15710 ac_cv_search_floor=$ac_res
15711 fi
15712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15713 conftest$ac_exeext
15714 if test ${ac_cv_search_floor+y}
15715 then :
15716 break
15717 fi
15718 done
15719 if test ${ac_cv_search_floor+y}
15720 then :
15721
15722 else case e in #(
15723 e) ac_cv_search_floor=no ;;
15724 esac
15725 fi
15726 rm conftest.$ac_ext
15727 LIBS=$ac_func_search_save_LIBS ;;
15728 esac
15729 fi
15730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
15731 printf "%s\n" "$ac_cv_search_floor" >&6; }
15732 ac_res=$ac_cv_search_floor
15733 if test "$ac_res" != no
15734 then :
15735 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15736
15737 fi
15738
15739
15740 kpse_save_CPPFLAGS=$CPPFLAGS
15741 kpse_save_LIBS=$LIBS
15742
15743 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
15744 kpse_BLD=`(cd "./../../." && pwd)`
15745 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
15746
15747 echo 'tldbg:_KPSE_USE_LIBTOOL called, libtool package version: 2.5.4' >&5
15748 : ${CONFIG_LT=./config.lt}
15749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
15750 printf "%s\n" "$as_me: creating $CONFIG_LT" >&6;}
15751 as_write_fail=0
15752 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
15753 #! $SHELL
15754 # Generated by $as_me.
15755 # Run this file to recreate a libtool stub with the current configuration.
15756 SHELL=\${CONFIG_SHELL-$SHELL}
15757 export SHELL
15758 _ASEOF
15759 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
15760 ## -------------------- ##
15761 ## M4sh Initialization. ##
15762 ## -------------------- ##
15763
15764 # Be more Bourne compatible
15765 DUALCASE=1; export DUALCASE # for MKS sh
15766 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
15767 then :
15768 emulate sh
15769 NULLCMD=:
15770 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15771 # is contrary to our usage. Disable this feature.
15772 alias -g '${1+"$@"}'='"$@"'
15773 setopt NO_GLOB_SUBST
15774 else case e in #(
15775 e) case `(set -o) 2>/dev/null` in #(
15776 *posix*) :
15777 set -o posix ;; #(
15778 *) :
15779 ;;
15780 esac ;;
15781 esac
15782 fi
15783
15784
15785
15786 # Reset variables that may have inherited troublesome values from
15787 # the environment.
15788
15789 # IFS needs to be set, to space, tab, and newline, in precisely that order.
15790 # (If _AS_PATH_WALK were called with IFS unset, it would have the
15791 # side effect of setting IFS to empty, thus disabling word splitting.)
15792 # Quoting is to prevent editors from complaining about space-tab.
15793 as_nl='
15794 '
15795 export as_nl
15796 IFS=" "" $as_nl"
15797
15798 PS1='$ '
15799 PS2='> '
15800 PS4='+ '
15801
15802 # Ensure predictable behavior from utilities with locale-dependent output.
15803 LC_ALL=C
15804 export LC_ALL
15805 LANGUAGE=C
15806 export LANGUAGE
15807
15808 # We cannot yet rely on "unset" to work, but we need these variables
15809 # to be unset--not just set to an empty or harmless value--now, to
15810 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
15811 # also avoids known problems related to "unset" and subshell syntax
15812 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
15813 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
15814 do eval test \${$as_var+y} \
15815 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15816 done
15817
15818 # Ensure that fds 0, 1, and 2 are open.
15819 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
15820 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
15821 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
15822
15823 # The user is always right.
15824 if ${PATH_SEPARATOR+false} :; then
15825 PATH_SEPARATOR=:
15826 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15827 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15828 PATH_SEPARATOR=';'
15829 }
15830 fi
15831
15832
15833 # Find who we are. Look in the path if we contain no directory separator.
15834 as_myself=
15835 case $0 in #((
15836 *[\\/]* ) as_myself=$0 ;;
15837 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15838 for as_dir in $PATH
15839 do
15840 IFS=$as_save_IFS
15841 case $as_dir in #(((
15842 '') as_dir=./ ;;
15843 */) ;;
15844 *) as_dir=$as_dir/ ;;
15845 esac
15846 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
15847 done
15848 IFS=$as_save_IFS
15849
15850 ;;
15851 esac
15852 # We did not find ourselves, most probably we were run as 'sh COMMAND'
15853 # in which case we are not to be found in the path.
15854 if test "x$as_myself" = x; then
15855 as_myself=$0
15856 fi
15857 if test ! -f "$as_myself"; then
15858 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15859 exit 1
15860 fi
15861
15862
15863
15864 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15865 # ----------------------------------------
15866 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15867 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15868 # script with STATUS, using 1 if that was 0.
15869 as_fn_error ()
15870 {
15871 as_status=$1; test $as_status -eq 0 && as_status=1
15872 if test "$4"; then
15873 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15875 fi
15876 printf "%s\n" "$as_me: error: $2" >&2
15877 as_fn_exit $as_status
15878 } # as_fn_error
15879
15880
15881 # as_fn_set_status STATUS
15882 # -----------------------
15883 # Set $? to STATUS, without forking.
15884 as_fn_set_status ()
15885 {
15886 return $1
15887 } # as_fn_set_status
15888
15889 # as_fn_exit STATUS
15890 # -----------------
15891 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15892 as_fn_exit ()
15893 {
15894 set +e
15895 as_fn_set_status $1
15896 exit $1
15897 } # as_fn_exit
15898
15899 # as_fn_unset VAR
15900 # ---------------
15901 # Portably unset VAR.
15902 as_fn_unset ()
15903 {
15904 { eval $1=; unset $1;}
15905 }
15906 as_unset=as_fn_unset
15907
15908 # as_fn_append VAR VALUE
15909 # ----------------------
15910 # Append the text in VALUE to the end of the definition contained in VAR. Take
15911 # advantage of any shell optimizations that allow amortized linear growth over
15912 # repeated appends, instead of the typical quadratic growth present in naive
15913 # implementations.
15914 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
15915 then :
15916 eval 'as_fn_append ()
15917 {
15918 eval $1+=\$2
15919 }'
15920 else case e in #(
15921 e) as_fn_append ()
15922 {
15923 eval $1=\$$1\$2
15924 } ;;
15925 esac
15926 fi # as_fn_append
15927
15928 # as_fn_arith ARG...
15929 # ------------------
15930 # Perform arithmetic evaluation on the ARGs, and store the result in the
15931 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15932 # must be portable across $(()) and expr.
15933 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
15934 then :
15935 eval 'as_fn_arith ()
15936 {
15937 as_val=$(( $* ))
15938 }'
15939 else case e in #(
15940 e) as_fn_arith ()
15941 {
15942 as_val=`expr "$@" || test $? -eq 1`
15943 } ;;
15944 esac
15945 fi # as_fn_arith
15946
15947
15948 if expr a : '\(a\)' >/dev/null 2>&1 &&
15949 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15950 as_expr=expr
15951 else
15952 as_expr=false
15953 fi
15954
15955 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15956 as_basename=basename
15957 else
15958 as_basename=false
15959 fi
15960
15961 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15962 as_dirname=dirname
15963 else
15964 as_dirname=false
15965 fi
15966
15967 as_me=`$as_basename -- "$0" ||
15968 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15969 X"$0" : 'X\(//\)$' \| \
15970 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15971 printf "%s\n" X/"$0" |
15972 sed '/^.*\/\([^/][^/]*\)\/*$/{
15973 s//\1/
15974 q
15975 }
15976 /^X\/\(\/\/\)$/{
15977 s//\1/
15978 q
15979 }
15980 /^X\/\(\/\).*/{
15981 s//\1/
15982 q
15983 }
15984 s/.*/./; q'`
15985
15986 # Avoid depending upon Character Ranges.
15987 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15988 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15989 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15990 as_cr_digits='0123456789'
15991 as_cr_alnum=$as_cr_Letters$as_cr_digits
15992
15993
15994 # Determine whether it's possible to make 'echo' print without a newline.
15995 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
15996 # for compatibility with existing Makefiles.
15997 ECHO_C= ECHO_N= ECHO_T=
15998 case `echo -n x` in #(((((
15999 -n*)
16000 case `echo 'xy\c'` in
16001 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16002 xy) ECHO_C='\c';;
16003 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16004 ECHO_T=' ';;
16005 esac;;
16006 *)
16007 ECHO_N='-n';;
16008 esac
16009
16010 # For backward compatibility with old third-party macros, we provide
16011 # the shell variables $as_echo and $as_echo_n. New code should use
16012 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16013 as_echo='printf %s\n'
16014 as_echo_n='printf %s'
16015
16016 rm -f conf$$ conf$$.exe conf$$.file
16017 if test -d conf$$.dir; then
16018 rm -f conf$$.dir/conf$$.file
16019 else
16020 rm -f conf$$.dir
16021 mkdir conf$$.dir 2>/dev/null
16022 fi
16023 if (echo >conf$$.file) 2>/dev/null; then
16024 if ln -s conf$$.file conf$$ 2>/dev/null; then
16025 as_ln_s='ln -s'
16026 # ... but there are two gotchas:
16027 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
16028 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
16029 # In both cases, we have to default to 'cp -pR'.
16030 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16031 as_ln_s='cp -pR'
16032 elif ln conf$$.file conf$$ 2>/dev/null; then
16033 as_ln_s=ln
16034 else
16035 as_ln_s='cp -pR'
16036 fi
16037 else
16038 as_ln_s='cp -pR'
16039 fi
16040 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16041 rmdir conf$$.dir 2>/dev/null
16042
16043
16044 # as_fn_mkdir_p
16045 # -------------
16046 # Create "$as_dir" as a directory, including parents if necessary.
16047 as_fn_mkdir_p ()
16048 {
16049
16050 case $as_dir in #(
16051 -*) as_dir=./$as_dir;;
16052 esac
16053 test -d "$as_dir" || eval $as_mkdir_p || {
16054 as_dirs=
16055 while :; do
16056 case $as_dir in #(
16057 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16058 *) as_qdir=$as_dir;;
16059 esac
16060 as_dirs="'$as_qdir' $as_dirs"
16061 as_dir=`$as_dirname -- "$as_dir" ||
16062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16063 X"$as_dir" : 'X\(//\)[^/]' \| \
16064 X"$as_dir" : 'X\(//\)$' \| \
16065 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16066 printf "%s\n" X"$as_dir" |
16067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16068 s//\1/
16069 q
16070 }
16071 /^X\(\/\/\)[^/].*/{
16072 s//\1/
16073 q
16074 }
16075 /^X\(\/\/\)$/{
16076 s//\1/
16077 q
16078 }
16079 /^X\(\/\).*/{
16080 s//\1/
16081 q
16082 }
16083 s/.*/./; q'`
16084 test -d "$as_dir" && break
16085 done
16086 test -z "$as_dirs" || eval "mkdir $as_dirs"
16087 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16088
16089
16090 } # as_fn_mkdir_p
16091 if mkdir -p . 2>/dev/null; then
16092 as_mkdir_p='mkdir -p "$as_dir"'
16093 else
16094 test -d ./-p && rmdir ./-p
16095 as_mkdir_p=false
16096 fi
16097
16098
16099 # as_fn_executable_p FILE
16100 # -----------------------
16101 # Test if FILE is an executable regular file.
16102 as_fn_executable_p ()
16103 {
16104 test -f "$1" && test -x "$1"
16105 } # as_fn_executable_p
16106 as_test_x='test -x'
16107 as_executable_p=as_fn_executable_p
16108
16109 # Sed expression to map a string onto a valid CPP name.
16110 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16111 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
16112
16113 # Sed expression to map a string onto a valid variable name.
16114 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16115 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
16116
16117
16118 exec 6>&1
16119 ## --------------------------------- ##
16120 ## Main body of "$CONFIG_LT" script. ##
16121 ## --------------------------------- ##
16122 _ASEOF
16123 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16124
16125 cat >>"$CONFIG_LT" <<\_LTEOF
16126 lt_cl_silent=false
16127 exec 5>>config.log
16128 {
16129 echo
16130 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16131 ## Running $as_me. ##
16132 _ASBOX
16133 } >&5
16134
16135 lt_cl_help="\
16136 '$as_me' creates a local libtool stub from the current configuration,
16137 for use in further configure time tests before the real libtool is
16138 generated.
16139
16140 Usage: $0 [OPTIONS]
16141
16142 -h, --help print this help, then exit
16143 -V, --version print version number, then exit
16144 -q, --quiet do not print progress messages
16145 -d, --debug don't remove temporary files
16146
16147 Report bugs to <[email protected]>."
16148
16149 lt_cl_version="\
16150 ttf2pk2 (TeX Live) config.lt 2.0
16151 configured by $0, generated by GNU Autoconf 2.72.
16152
16153 Copyright (C) 2024 Free Software Foundation, Inc.
16154 This config.lt script is free software; the Free Software Foundation
16155 gives unlimited permission to copy, distribute and modify it."
16156
16157 while test 0 != $#
16158 do
16159 case $1 in
16160 --version | --v* | -V )
16161 echo "$lt_cl_version"; exit 0 ;;
16162 --help | --h* | -h )
16163 echo "$lt_cl_help"; exit 0 ;;
16164 --debug | --d* | -d )
16165 debug=: ;;
16166 --quiet | --q* | --silent | --s* | -q )
16167 lt_cl_silent=: ;;
16168
16169 -*) as_fn_error $? "unrecognized option: $1
16170 Try '$0 --help' for more information." "$LINENO" 5 ;;
16171
16172 *) as_fn_error $? "unrecognized argument: $1
16173 Try '$0 --help' for more information." "$LINENO" 5 ;;
16174 esac
16175 shift
16176 done
16177
16178 if $lt_cl_silent; then
16179 exec 6>/dev/null
16180 fi
16181 _LTEOF
16182
16183 cat >>"$CONFIG_LT" <<_LTEOF
16184
16185
16186 # The HP-UX ksh and POSIX shell print the target directory to stdout
16187 # if CDPATH is set.
16188 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16189
16190 sed_quote_subst='$sed_quote_subst'
16191 double_quote_subst='$double_quote_subst'
16192 delay_variable_subst='$delay_variable_subst'
16193 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16194 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16195 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16196 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16197 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16198 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16199 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16200 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16201 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16202 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16203 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16204 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16205 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16206 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16207 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16208 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16209 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16210 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16211 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16212 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16213 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16214 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16215 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16216 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16217 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16218 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16219 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16220 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16221 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16222 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16223 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16224 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16225 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16226 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16227 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16228 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16229 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16230 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16231 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16232 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16233 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16234 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16235 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16236 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16237 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16238 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16239 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16240 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16241 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16242 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16243 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16244 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16245 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16246 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16247 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16248 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16249 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16250 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16251 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16252 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16253 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16254 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"`'
16255 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16256 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16257 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16258 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16259 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16260 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16261 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16262 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16263 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16264 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16265 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16266 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16267 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16268 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16269 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16270 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16271 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16272 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16273 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16274 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16275 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16276 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16277 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16278 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16279 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16280 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16281 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16282 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16283 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16284 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16285 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16286 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16287 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16288 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16289 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16290 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16291 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16292 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16293 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16294 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16295 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16296 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16297 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16298 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16299 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16300 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16301 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16302 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16303 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16304 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16305 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16306 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16307 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16308 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16309 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16310 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16311 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16312 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16313 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16314 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16315 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16316 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16317 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16318 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16319 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16320 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16321 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16322 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16323 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16324 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16325 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16326 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16327 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16328 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16329 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16330 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16331
16332 LTCC='$LTCC'
16333 LTCFLAGS='$LTCFLAGS'
16334 compiler='$compiler_DEFAULT'
16335
16336 # A function that is used when there is no print builtin or printf.
16337 func_fallback_echo ()
16338 {
16339 eval 'cat <<_LTECHO_EOF
16340 \$1
16341 _LTECHO_EOF'
16342 }
16343
16344 # Quote evaled strings.
16345 for var in AS \
16346 DLLTOOL \
16347 OBJDUMP \
16348 SHELL \
16349 ECHO \
16350 PATH_SEPARATOR \
16351 SED \
16352 GREP \
16353 EGREP \
16354 FGREP \
16355 LD \
16356 NM \
16357 LN_S \
16358 lt_SP2NL \
16359 lt_NL2SP \
16360 reload_flag \
16361 FILECMD \
16362 deplibs_check_method \
16363 file_magic_cmd \
16364 file_magic_glob \
16365 want_nocaseglob \
16366 sharedlib_from_linklib_cmd \
16367 AR \
16368 archiver_list_spec \
16369 STRIP \
16370 RANLIB \
16371 CC \
16372 CFLAGS \
16373 compiler \
16374 lt_cv_sys_global_symbol_pipe \
16375 lt_cv_sys_global_symbol_to_cdecl \
16376 lt_cv_sys_global_symbol_to_import \
16377 lt_cv_sys_global_symbol_to_c_name_address \
16378 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16379 lt_cv_nm_interface \
16380 nm_file_list_spec \
16381 lt_cv_truncate_bin \
16382 lt_prog_compiler_no_builtin_flag \
16383 lt_prog_compiler_pic \
16384 lt_prog_compiler_wl \
16385 lt_prog_compiler_static \
16386 lt_cv_prog_compiler_c_o \
16387 need_locks \
16388 MANIFEST_TOOL \
16389 DSYMUTIL \
16390 NMEDIT \
16391 LIPO \
16392 OTOOL \
16393 OTOOL64 \
16394 shrext_cmds \
16395 export_dynamic_flag_spec \
16396 whole_archive_flag_spec \
16397 compiler_needs_object \
16398 with_gnu_ld \
16399 allow_undefined_flag \
16400 no_undefined_flag \
16401 hardcode_libdir_flag_spec \
16402 hardcode_libdir_separator \
16403 exclude_expsyms \
16404 include_expsyms \
16405 file_list_spec \
16406 variables_saved_for_relink \
16407 libname_spec \
16408 library_names_spec \
16409 soname_spec \
16410 install_override_mode \
16411 finish_eval \
16412 old_striplib \
16413 striplib; do
16414 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16415 *[\\\\\\\`\\"\\\$]*)
16416 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16417 ;;
16418 *)
16419 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16420 ;;
16421 esac
16422 done
16423
16424 # Double-quote double-evaled strings.
16425 for var in reload_cmds \
16426 old_postinstall_cmds \
16427 old_postuninstall_cmds \
16428 old_archive_cmds \
16429 extract_expsyms_cmds \
16430 old_archive_from_new_cmds \
16431 old_archive_from_expsyms_cmds \
16432 archive_cmds \
16433 archive_expsym_cmds \
16434 module_cmds \
16435 module_expsym_cmds \
16436 export_symbols_cmds \
16437 prelink_cmds \
16438 postlink_cmds \
16439 postinstall_cmds \
16440 postuninstall_cmds \
16441 finish_cmds \
16442 sys_lib_search_path_spec \
16443 configure_time_dlsearch_path \
16444 configure_time_lt_sys_library_path; do
16445 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16446 *[\\\\\\\`\\"\\\$]*)
16447 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16448 ;;
16449 *)
16450 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16451 ;;
16452 esac
16453 done
16454
16455 ac_aux_dir='$ac_aux_dir'
16456
16457 # See if we are running on zsh, and set the options that allow our
16458 # commands through without removal of \ escapes INIT.
16459 if test -n "\${ZSH_VERSION+set}"; then
16460 setopt NO_GLOB_SUBST
16461 fi
16462
16463
16464 PACKAGE='$PACKAGE'
16465 VERSION='$VERSION'
16466 RM='$RM'
16467 ofile='$ofile'
16468
16469
16470
16471 _LTEOF
16472
16473 cat >>"$CONFIG_LT" <<\_LTEOF
16474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
16475 printf "%s\n" "$as_me: creating $ofile" >&6;}
16476
16477
16478 # See if we are running on zsh, and set the options that allow our
16479 # commands through without removal of \ escapes.
16480 if test -n "${ZSH_VERSION+set}"; then
16481 setopt NO_GLOB_SUBST
16482 fi
16483
16484 cfgfile=${ofile}T
16485 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16486 $RM "$cfgfile"
16487
16488 cat <<_LT_EOF >> "$cfgfile"
16489 #! $SHELL
16490 # Generated automatically by $as_me ($PACKAGE) $VERSION
16491 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16492
16493 # Provide generalized library-building support services.
16494 # Written by Gordon Matzigkeit, 1996
16495
16496 # Copyright (C) 2024 Free Software Foundation, Inc.
16497 # This is free software; see the source for copying conditions. There is NO
16498 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16499
16500 # GNU Libtool is free software; you can redistribute it and/or modify
16501 # it under the terms of the GNU General Public License as published by
16502 # the Free Software Foundation; either version 2 of the License, or
16503 # (at your option) any later version.
16504 #
16505 # As a special exception to the GNU General Public License, if you
16506 # distribute this file as part of a program or library that is built
16507 # using GNU Libtool, you may include this file under the same
16508 # distribution terms that you use for the rest of that program.
16509 #
16510 # GNU Libtool is distributed in the hope that it will be useful, but
16511 # WITHOUT ANY WARRANTY; without even the implied warranty of
16512 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16513 # GNU General Public License for more details.
16514 #
16515 # You should have received a copy of the GNU General Public License
16516 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16517
16518
16519 # The names of the tagged configurations supported by this script.
16520 available_tags=''
16521
16522 # Configured defaults for sys_lib_dlsearch_path munging.
16523 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16524
16525 # ### BEGIN LIBTOOL CONFIG
16526
16527 # Which release of libtool.m4 was used?
16528 macro_version=$macro_version
16529 macro_revision=$macro_revision
16530
16531 # Assembler program.
16532 AS=$lt_AS
16533
16534 # DLL creation program.
16535 DLLTOOL=$lt_DLLTOOL
16536
16537 # Object dumper program.
16538 OBJDUMP=$lt_OBJDUMP
16539
16540 # Whether or not to build shared libraries.
16541 build_libtool_libs=$enable_shared
16542
16543 # Whether or not to build static libraries.
16544 build_old_libs=$enable_static
16545
16546 # What type of objects to build.
16547 pic_mode=$pic_mode
16548
16549 # Whether or not to optimize for fast installation.
16550 fast_install=$enable_fast_install
16551
16552 # Shared archive member basename,for filename based shared library versioning on AIX.
16553 shared_archive_member_spec=$shared_archive_member_spec
16554
16555 # Shell to use when invoking shell scripts.
16556 SHELL=$lt_SHELL
16557
16558 # An echo program that protects backslashes.
16559 ECHO=$lt_ECHO
16560
16561 # The PATH separator for the build system.
16562 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16563
16564 # The host system.
16565 host_alias=$host_alias
16566 host=$host
16567 host_os=$host_os
16568
16569 # The build system.
16570 build_alias=$build_alias
16571 build=$build
16572 build_os=$build_os
16573
16574 # A sed program that does not truncate output.
16575 SED=$lt_SED
16576
16577 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16578 Xsed="\$SED -e 1s/^X//"
16579
16580 # A grep program that handles long lines.
16581 GREP=$lt_GREP
16582
16583 # An ERE matcher.
16584 EGREP=$lt_EGREP
16585
16586 # A literal string matcher.
16587 FGREP=$lt_FGREP
16588
16589 # A BSD- or MS-compatible name lister.
16590 NM=$lt_NM
16591
16592 # Whether we need soft or hard links.
16593 LN_S=$lt_LN_S
16594
16595 # What is the maximum length of a command?
16596 max_cmd_len=$max_cmd_len
16597
16598 # Object file suffix (normally "o").
16599 objext=$ac_objext
16600
16601 # Executable file suffix (normally "").
16602 exeext=$exeext
16603
16604 # whether the shell understands "unset".
16605 lt_unset=$lt_unset
16606
16607 # turn spaces into newlines.
16608 SP2NL=$lt_lt_SP2NL
16609
16610 # turn newlines into spaces.
16611 NL2SP=$lt_lt_NL2SP
16612
16613 # convert \$build file names to \$host format.
16614 to_host_file_cmd=$lt_cv_to_host_file_cmd
16615
16616 # convert \$build files to toolchain format.
16617 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16618
16619 # A file(cmd) program that detects file types.
16620 FILECMD=$lt_FILECMD
16621
16622 # Method to check whether dependent libraries are shared objects.
16623 deplibs_check_method=$lt_deplibs_check_method
16624
16625 # Command to use when deplibs_check_method = "file_magic".
16626 file_magic_cmd=$lt_file_magic_cmd
16627
16628 # How to find potential files when deplibs_check_method = "file_magic".
16629 file_magic_glob=$lt_file_magic_glob
16630
16631 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16632 want_nocaseglob=$lt_want_nocaseglob
16633
16634 # Command to associate shared and link libraries.
16635 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16636
16637 # The archiver.
16638 AR=$lt_AR
16639
16640 # Flags to create an archive (by configure).
16641 lt_ar_flags=$lt_ar_flags
16642
16643 # Flags to create an archive.
16644 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16645
16646 # How to feed a file listing to the archiver.
16647 archiver_list_spec=$lt_archiver_list_spec
16648
16649 # A symbol stripping program.
16650 STRIP=$lt_STRIP
16651
16652 # Commands used to install an old-style archive.
16653 RANLIB=$lt_RANLIB
16654 old_postinstall_cmds=$lt_old_postinstall_cmds
16655 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16656
16657 # Whether to use a lock for old archive extraction.
16658 lock_old_archive_extraction=$lock_old_archive_extraction
16659
16660 # A C compiler.
16661 LTCC=$lt_CC
16662
16663 # LTCC compiler flags.
16664 LTCFLAGS=$lt_CFLAGS
16665
16666 # Take the output of nm and produce a listing of raw symbols and C names.
16667 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16668
16669 # Transform the output of nm in a proper C declaration.
16670 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16671
16672 # Transform the output of nm into a list of symbols to manually relocate.
16673 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16674
16675 # Transform the output of nm in a C name address pair.
16676 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16677
16678 # Transform the output of nm in a C name address pair when lib prefix is needed.
16679 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16680
16681 # The name lister interface.
16682 nm_interface=$lt_lt_cv_nm_interface
16683
16684 # Specify filename containing input files for \$NM.
16685 nm_file_list_spec=$lt_nm_file_list_spec
16686
16687 # The root where to search for dependent libraries,and where our libraries should be installed.
16688 lt_sysroot=$lt_sysroot
16689
16690 # Command to truncate a binary pipe.
16691 lt_truncate_bin=$lt_lt_cv_truncate_bin
16692
16693 # The name of the directory that contains temporary libtool files.
16694 objdir=$objdir
16695
16696 # Used to examine libraries when file_magic_cmd begins with "file".
16697 MAGIC_CMD=$MAGIC_CMD
16698
16699 # Must we lock files when doing compilation?
16700 need_locks=$lt_need_locks
16701
16702 # Manifest tool.
16703 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16704
16705 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16706 DSYMUTIL=$lt_DSYMUTIL
16707
16708 # Tool to change global to local symbols on Mac OS X.
16709 NMEDIT=$lt_NMEDIT
16710
16711 # Tool to manipulate fat objects and archives on Mac OS X.
16712 LIPO=$lt_LIPO
16713
16714 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16715 OTOOL=$lt_OTOOL
16716
16717 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16718 OTOOL64=$lt_OTOOL64
16719
16720 # Old archive suffix (normally "a").
16721 libext=$libext
16722
16723 # Shared library suffix (normally ".so").
16724 shrext_cmds=$lt_shrext_cmds
16725
16726 # The commands to extract the exported symbol list from a shared archive.
16727 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16728
16729 # Variables whose values should be saved in libtool wrapper scripts and
16730 # restored at link time.
16731 variables_saved_for_relink=$lt_variables_saved_for_relink
16732
16733 # Do we need the "lib" prefix for modules?
16734 need_lib_prefix=$need_lib_prefix
16735
16736 # Do we need a version for libraries?
16737 need_version=$need_version
16738
16739 # Library versioning type.
16740 version_type=$version_type
16741
16742 # Shared library runtime path variable.
16743 runpath_var=$runpath_var
16744
16745 # Shared library path variable.
16746 shlibpath_var=$shlibpath_var
16747
16748 # Is shlibpath searched before the hard-coded library search path?
16749 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16750
16751 # Format of library name prefix.
16752 libname_spec=$lt_libname_spec
16753
16754 # List of archive names. First name is the real one, the rest are links.
16755 # The last name is the one that the linker finds with -lNAME
16756 library_names_spec=$lt_library_names_spec
16757
16758 # The coded name of the library, if different from the real name.
16759 soname_spec=$lt_soname_spec
16760
16761 # Permission mode override for installation of shared libraries.
16762 install_override_mode=$lt_install_override_mode
16763
16764 # Command to use after installation of a shared archive.
16765 postinstall_cmds=$lt_postinstall_cmds
16766
16767 # Command to use after uninstallation of a shared archive.
16768 postuninstall_cmds=$lt_postuninstall_cmds
16769
16770 # Commands used to finish a libtool library installation in a directory.
16771 finish_cmds=$lt_finish_cmds
16772
16773 # As "finish_cmds", except a single script fragment to be evaled but
16774 # not shown.
16775 finish_eval=$lt_finish_eval
16776
16777 # Whether we should hardcode library paths into libraries.
16778 hardcode_into_libs=$hardcode_into_libs
16779
16780 # Compile-time system search path for libraries.
16781 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16782
16783 # Detected run-time system search path for libraries.
16784 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16785
16786 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16787 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16788
16789 # Whether dlopen is supported.
16790 dlopen_support=$enable_dlopen
16791
16792 # Whether dlopen of programs is supported.
16793 dlopen_self=$enable_dlopen_self
16794
16795 # Whether dlopen of statically linked programs is supported.
16796 dlopen_self_static=$enable_dlopen_self_static
16797
16798 # Commands to strip libraries.
16799 old_striplib=$lt_old_striplib
16800 striplib=$lt_striplib
16801
16802
16803 # The linker used to build libraries.
16804 LD=$lt_LD
16805
16806 # How to create reloadable object files.
16807 reload_flag=$lt_reload_flag
16808 reload_cmds=$lt_reload_cmds
16809
16810 # Commands used to build an old-style archive.
16811 old_archive_cmds=$lt_old_archive_cmds
16812
16813 # A language specific compiler.
16814 CC=$lt_compiler
16815
16816 # Is the compiler the GNU compiler?
16817 with_gcc=$GCC
16818
16819 # Compiler flag to turn off builtin functions.
16820 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16821
16822 # Additional compiler flags for building library objects.
16823 pic_flag=$lt_lt_prog_compiler_pic
16824
16825 # How to pass a linker flag through the compiler.
16826 wl=$lt_lt_prog_compiler_wl
16827
16828 # Compiler flag to prevent dynamic linking.
16829 link_static_flag=$lt_lt_prog_compiler_static
16830
16831 # Does compiler simultaneously support -c and -o options?
16832 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16833
16834 # Whether or not to add -lc for building shared libraries.
16835 build_libtool_need_lc=$archive_cmds_need_lc
16836
16837 # Whether or not to disallow shared libs when runtime libs are static.
16838 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16839
16840 # Compiler flag to allow reflexive dlopens.
16841 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16842
16843 # Compiler flag to generate shared objects directly from archives.
16844 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16845
16846 # Whether the compiler copes with passing no objects directly.
16847 compiler_needs_object=$lt_compiler_needs_object
16848
16849 # Create an old-style archive from a shared archive.
16850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16851
16852 # Create a temporary old-style archive to link instead of a shared archive.
16853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16854
16855 # Commands used to build a shared archive.
16856 archive_cmds=$lt_archive_cmds
16857 archive_expsym_cmds=$lt_archive_expsym_cmds
16858
16859 # Commands used to build a loadable module if different from building
16860 # a shared archive.
16861 module_cmds=$lt_module_cmds
16862 module_expsym_cmds=$lt_module_expsym_cmds
16863
16864 # Whether we are building with GNU ld or not.
16865 with_gnu_ld=$lt_with_gnu_ld
16866
16867 # Flag that allows shared libraries with undefined symbols to be built.
16868 allow_undefined_flag=$lt_allow_undefined_flag
16869
16870 # Flag that enforces no undefined symbols.
16871 no_undefined_flag=$lt_no_undefined_flag
16872
16873 # Flag to hardcode \$libdir into a binary during linking.
16874 # This must work even if \$libdir does not exist
16875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16876
16877 # Whether we need a single "-rpath" flag with a separated argument.
16878 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16879
16880 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16881 # DIR into the resulting binary.
16882 hardcode_direct=$hardcode_direct
16883
16884 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16885 # DIR into the resulting binary and the resulting library dependency is
16886 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
16887 # library is relocated.
16888 hardcode_direct_absolute=$hardcode_direct_absolute
16889
16890 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16891 # into the resulting binary.
16892 hardcode_minus_L=$hardcode_minus_L
16893
16894 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16895 # into the resulting binary.
16896 hardcode_shlibpath_var=$hardcode_shlibpath_var
16897
16898 # Set to "yes" if building a shared library automatically hardcodes DIR
16899 # into the library and all subsequent libraries and executables linked
16900 # against it.
16901 hardcode_automatic=$hardcode_automatic
16902
16903 # Set to yes if linker adds runtime paths of dependent libraries
16904 # to runtime path list.
16905 inherit_rpath=$inherit_rpath
16906
16907 # Whether libtool must link a program against all its dependency libraries.
16908 link_all_deplibs=$link_all_deplibs
16909
16910 # Set to "yes" if exported symbols are required.
16911 always_export_symbols=$always_export_symbols
16912
16913 # The commands to list exported symbols.
16914 export_symbols_cmds=$lt_export_symbols_cmds
16915
16916 # Symbols that should not be listed in the preloaded symbols.
16917 exclude_expsyms=$lt_exclude_expsyms
16918
16919 # Symbols that must always be exported.
16920 include_expsyms=$lt_include_expsyms
16921
16922 # Commands necessary for linking programs (against libraries) with templates.
16923 prelink_cmds=$lt_prelink_cmds
16924
16925 # Commands necessary for finishing linking programs.
16926 postlink_cmds=$lt_postlink_cmds
16927
16928 # Specify filename containing input files.
16929 file_list_spec=$lt_file_list_spec
16930
16931 # How to hardcode a shared library path into an executable.
16932 hardcode_action=$hardcode_action
16933
16934 # ### END LIBTOOL CONFIG
16935
16936 _LT_EOF
16937
16938 cat <<'_LT_EOF' >> "$cfgfile"
16939
16940 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16941
16942 # func_munge_path_list VARIABLE PATH
16943 # -----------------------------------
16944 # VARIABLE is name of variable containing _space_ separated list of
16945 # directories to be munged by the contents of PATH, which is string
16946 # having a format:
16947 # "DIR[:DIR]:"
16948 # string "DIR[ DIR]" will be prepended to VARIABLE
16949 # ":DIR[:DIR]"
16950 # string "DIR[ DIR]" will be appended to VARIABLE
16951 # "DIRP[:DIRP]::[DIRA:]DIRA"
16952 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16953 # "DIRA[ DIRA]" will be appended to VARIABLE
16954 # "DIR[:DIR]"
16955 # VARIABLE will be replaced by "DIR[ DIR]"
16956 func_munge_path_list ()
16957 {
16958 case x$2 in
16959 x)
16960 ;;
16961 *:)
16962 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16963 ;;
16964 x:*)
16965 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16966 ;;
16967 *::*)
16968 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16969 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16970 ;;
16971 *)
16972 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16973 ;;
16974 esac
16975 }
16976
16977
16978 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16979 func_cc_basename ()
16980 {
16981 for cc_temp in $*""; do
16982 case $cc_temp in
16983 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16984 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16985 \-*) ;;
16986 *) break;;
16987 esac
16988 done
16989 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16990 }
16991
16992
16993 # ### END FUNCTIONS SHARED WITH CONFIGURE
16994
16995 _LT_EOF
16996
16997 case $host_os in
16998 aix3*)
16999 cat <<\_LT_EOF >> "$cfgfile"
17000 # AIX sometimes has problems with the GCC collect2 program. For some
17001 # reason, if we set the COLLECT_NAMES environment variable, the problems
17002 # vanish in a puff of smoke.
17003 if test set != "${COLLECT_NAMES+set}"; then
17004 COLLECT_NAMES=
17005 export COLLECT_NAMES
17006 fi
17007 _LT_EOF
17008 ;;
17009 esac
17010
17011
17012
17013 ltmain=$ac_aux_dir/ltmain.sh
17014
17015
17016 # We use sed instead of cat because bash on DJGPP gets confused if
17017 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17018 # text mode, it properly converts lines to CR/LF. This bash problem
17019 # is reportedly fixed, but why not run on old versions too?
17020 $SED '$q' "$ltmain" >> "$cfgfile" \
17021 || (rm -f "$cfgfile"; exit 1)
17022
17023 mv -f "$cfgfile" "$ofile" ||
17024 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17025 chmod +x "$ofile"
17026
17027
17028 as_fn_exit 0
17029 _LTEOF
17030 chmod +x "$CONFIG_LT"
17031
17032 # configure is writing to config.log, but config.lt does its own redirection,
17033 # appending to config.log, which fails on DOS, as config.log is still kept
17034 # open by configure. Here we exec the FD to /dev/null, effectively closing
17035 # config.log, so it can be properly (re)opened and appended to by config.lt.
17036 lt_cl_success=:
17037 test yes = "$silent" &&
17038 lt_config_lt_args="$lt_config_lt_args --quiet"
17039 exec 5>/dev/null
17040 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17041 exec 5>>config.log
17042 $lt_cl_success || as_fn_exit 1
17043
17044 #
17045 #
17046 ac_ext=c
17047 ac_cpp='$CPP $CPPFLAGS'
17048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17051 ac_link="./libtool --mode=link --tag=CC $ac_link"
17052
17053 if test -n "$ac_tool_prefix"; then
17054 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17055 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17057 printf %s "checking for $ac_word... " >&6; }
17058 if test ${ac_cv_prog_PKG_CONFIG+y}
17059 then :
17060 printf %s "(cached) " >&6
17061 else case e in #(
17062 e) if test -n "$PKG_CONFIG"; then
17063 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
17064 else
17065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17066 for as_dir in $PATH
17067 do
17068 IFS=$as_save_IFS
17069 case $as_dir in #(((
17070 '') as_dir=./ ;;
17071 */) ;;
17072 *) as_dir=$as_dir/ ;;
17073 esac
17074 for ac_exec_ext in '' $ac_executable_extensions; do
17075 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17076 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17078 break 2
17079 fi
17080 done
17081 done
17082 IFS=$as_save_IFS
17083
17084 fi ;;
17085 esac
17086 fi
17087 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17088 if test -n "$PKG_CONFIG"; then
17089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17090 printf "%s\n" "$PKG_CONFIG" >&6; }
17091 else
17092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17093 printf "%s\n" "no" >&6; }
17094 fi
17095
17096
17097 fi
17098 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17099 ac_ct_PKG_CONFIG=$PKG_CONFIG
17100 # Extract the first word of "pkg-config", so it can be a program name with args.
17101 set dummy pkg-config; ac_word=$2
17102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17103 printf %s "checking for $ac_word... " >&6; }
17104 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17105 then :
17106 printf %s "(cached) " >&6
17107 else case e in #(
17108 e) if test -n "$ac_ct_PKG_CONFIG"; then
17109 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17110 else
17111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17112 for as_dir in $PATH
17113 do
17114 IFS=$as_save_IFS
17115 case $as_dir in #(((
17116 '') as_dir=./ ;;
17117 */) ;;
17118 *) as_dir=$as_dir/ ;;
17119 esac
17120 for ac_exec_ext in '' $ac_executable_extensions; do
17121 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17122 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17124 break 2
17125 fi
17126 done
17127 done
17128 IFS=$as_save_IFS
17129
17130 fi ;;
17131 esac
17132 fi
17133 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17134 if test -n "$ac_ct_PKG_CONFIG"; then
17135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17136 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17137 else
17138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17139 printf "%s\n" "no" >&6; }
17140 fi
17141
17142 if test "x$ac_ct_PKG_CONFIG" = x; then
17143 PKG_CONFIG="false"
17144 else
17145 case $cross_compiling:$ac_tool_warned in
17146 yes:)
17147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17148 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17149 ac_tool_warned=yes ;;
17150 esac
17151 PKG_CONFIG=$ac_ct_PKG_CONFIG
17152 fi
17153 else
17154 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17155 fi
17156
17157 ##tldbg _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags.
17158 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
17159 ##tldbg _KPSE_LIB_FLAGS_TL: kpathsea (kpathsea) lt.
17160
17161 # Check whether --with-system-kpathsea was given.
17162 if test ${with_system_kpathsea+y}
17163 then :
17164 withval=$with_system_kpathsea;
17165 fi
17166 if test "x$with_system_kpathsea" = xyes; then
17167 if $PKG_CONFIG kpathsea; then
17168 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
17169 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
17170 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17171 as_fn_error $? "did not find kpathsea" "$LINENO" 5
17172 fi
17173 else
17174 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
17175 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
17176 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
17177 KPATHSEA_RULE='# Rebuild libkpathsea
17178 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
17179 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
17180 ${top_builddir}/../kpathsea/paths.h:
17181 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17182 fi
17183
17184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
17185 printf %s "checking if libkpathsea supports debugging... " >&6; }
17186 if test ${kpse_cv_kpse_debug+y}
17187 then :
17188 printf %s "(cached) " >&6
17189 else case e in #(
17190 e) eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17191 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17192
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17195 #include <kpathsea/kpathsea.h>
17196 int
17197 main (void)
17198 {
17199 FILE *f = fopen("f", "r")
17200 ;
17201 return 0;
17202 }
17203 _ACEOF
17204 if ac_fn_c_try_link "$LINENO"
17205 then :
17206 kpse_cv_kpse_debug=yes
17207 else case e in #(
17208 e) kpse_cv_kpse_debug=no ;;
17209 esac
17210 fi
17211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17212 conftest$ac_exeext conftest.$ac_ext
17213 CPPFLAGS=$kpse_save_CPPFLAGS
17214 LIBS=$kpse_save_LIBS
17215 ;;
17216 esac
17217 fi
17218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
17219 printf "%s\n" "$kpse_cv_kpse_debug" >&6; }
17220 if test "x$kpse_cv_kpse_debug" != xyes
17221 then :
17222 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
17223 fi
17224
17225 ##tldbg _KPSE_LIB_FLAGS: Setup zlib (-lz) flags.
17226 echo 'tldbg:_KPSE_LIB_FLAGS called: libdir=zlib, libname=z, options=, tlincl=-IBLD/libs/zlib/include, tllib=BLD/libs/zlib/libz.a, tlextra=, rebuildsrcdeps=, rebuildblddeps=${top_builddir}/../../libs/zlib/include/zconf.h.' >&5
17227 ##tldbg _KPSE_LIB_FLAGS_TL: zlib (z) .
17228
17229 # Check whether --with-system-zlib was given.
17230 if test ${with_system_zlib+y}
17231 then :
17232 withval=$with_system_zlib;
17233 fi
17234
17235 # Check whether --with-zlib-includes was given.
17236 if test ${with_zlib_includes+y}
17237 then :
17238 withval=$with_zlib_includes;
17239 fi
17240
17241 # Check whether --with-zlib-libdir was given.
17242 if test ${with_zlib_libdir+y}
17243 then :
17244 withval=$with_zlib_libdir;
17245 fi
17246 if test "x$with_system_zlib" = xyes; then
17247 ##tldbg _KPSE_LIB_FLAGS_SYSTEM: zlib (z).
17248 if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then
17249 ZLIB_INCLUDES="-I$with_zlib_includes"
17250 fi
17251 ZLIB_LIBS="-lz"
17252 if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then
17253 ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS"
17254 fi
17255 else
17256 ZLIB_INCLUDES="-I$kpse_BLD/libs/zlib/include"
17257 ZLIB_LIBS="$kpse_BLD/libs/zlib/libz.a"
17258 ZLIB_DEPEND='${top_builddir}/../../libs/zlib/libz.a'
17259 ZLIB_RULE='# Rebuild libz
17260 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
17261 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
17262 ${top_builddir}/../../libs/zlib/include/zconf.h:
17263 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17264 fi
17265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
17266 printf %s "checking if <zlib.h> defines 'z_const'... " >&6; }
17267 if test ${kpse_cv_have_decl_z_const+y}
17268 then :
17269 printf %s "(cached) " >&6
17270 else case e in #(
17271 e) eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\"
17272 eval LIBS=\"$ZLIB_LIBS \$LIBS\"
17273
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17276 #include <zlib.h>
17277 int
17278 main (void)
17279 {
17280 z_const char * foo();
17281 ;
17282 return 0;
17283 }
17284 _ACEOF
17285 if ac_fn_c_try_compile "$LINENO"
17286 then :
17287 kpse_cv_have_decl_z_const=yes
17288 else case e in #(
17289 e) kpse_cv_have_decl_z_const=no ;;
17290 esac
17291 fi
17292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17293 CPPFLAGS=$kpse_save_CPPFLAGS
17294 LIBS=$kpse_save_LIBS
17295 ;;
17296 esac
17297 fi
17298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
17299 printf "%s\n" "$kpse_cv_have_decl_z_const" >&6; }
17300 case $kpse_cv_have_decl_z_const in #(
17301 yes) :
17302
17303 printf "%s\n" "#define ZLIB_CONST 1" >>confdefs.h
17304 ;; #(
17305 *) :
17306
17307 printf "%s\n" "#define z_const /**/" >>confdefs.h
17308 ;;
17309 esac
17310
17311 ##tldbg _KPSE_LIB_FLAGS: Setup freetype2 (-lfreetype) flags.
17312 echo 'tldbg:_KPSE_LIB_FLAGS called: libdir=freetype2, libname=freetype, options=, tlincl=-IBLD/libs/freetype2/freetype2, tllib=BLD/libs/freetype2/libfreetype.a, tlextra=, rebuildsrcdeps=, rebuildblddeps=${top_builddir}/../../libs/freetype2/freetype2/ft2build.h.' >&5
17313 ##tldbg _KPSE_LIB_FLAGS_TL: freetype2 (freetype) .
17314
17315 # Check whether --with-system-freetype2 was given.
17316 if test ${with_system_freetype2+y}
17317 then :
17318 withval=$with_system_freetype2;
17319 fi
17320 if test "x$with_system_freetype2" = xyes; then
17321 if test -n "$ac_tool_prefix"; then
17322 # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args.
17323 set dummy ${ac_tool_prefix}freetype-config; ac_word=$2
17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17325 printf %s "checking for $ac_word... " >&6; }
17326 if test ${ac_cv_prog_FT2_CONFIG+y}
17327 then :
17328 printf %s "(cached) " >&6
17329 else case e in #(
17330 e) if test -n "$FT2_CONFIG"; then
17331 ac_cv_prog_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test.
17332 else
17333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17334 for as_dir in $PATH
17335 do
17336 IFS=$as_save_IFS
17337 case $as_dir in #(((
17338 '') as_dir=./ ;;
17339 */) ;;
17340 *) as_dir=$as_dir/ ;;
17341 esac
17342 for ac_exec_ext in '' $ac_executable_extensions; do
17343 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17344 ac_cv_prog_FT2_CONFIG="${ac_tool_prefix}freetype-config"
17345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17346 break 2
17347 fi
17348 done
17349 done
17350 IFS=$as_save_IFS
17351
17352 fi ;;
17353 esac
17354 fi
17355 FT2_CONFIG=$ac_cv_prog_FT2_CONFIG
17356 if test -n "$FT2_CONFIG"; then
17357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
17358 printf "%s\n" "$FT2_CONFIG" >&6; }
17359 else
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17361 printf "%s\n" "no" >&6; }
17362 fi
17363
17364
17365 fi
17366 if test -z "$ac_cv_prog_FT2_CONFIG"; then
17367 ac_ct_FT2_CONFIG=$FT2_CONFIG
17368 # Extract the first word of "freetype-config", so it can be a program name with args.
17369 set dummy freetype-config; ac_word=$2
17370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17371 printf %s "checking for $ac_word... " >&6; }
17372 if test ${ac_cv_prog_ac_ct_FT2_CONFIG+y}
17373 then :
17374 printf %s "(cached) " >&6
17375 else case e in #(
17376 e) if test -n "$ac_ct_FT2_CONFIG"; then
17377 ac_cv_prog_ac_ct_FT2_CONFIG="$ac_ct_FT2_CONFIG" # Let the user override the test.
17378 else
17379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17380 for as_dir in $PATH
17381 do
17382 IFS=$as_save_IFS
17383 case $as_dir in #(((
17384 '') as_dir=./ ;;
17385 */) ;;
17386 *) as_dir=$as_dir/ ;;
17387 esac
17388 for ac_exec_ext in '' $ac_executable_extensions; do
17389 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17390 ac_cv_prog_ac_ct_FT2_CONFIG="freetype-config"
17391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17392 break 2
17393 fi
17394 done
17395 done
17396 IFS=$as_save_IFS
17397
17398 fi ;;
17399 esac
17400 fi
17401 ac_ct_FT2_CONFIG=$ac_cv_prog_ac_ct_FT2_CONFIG
17402 if test -n "$ac_ct_FT2_CONFIG"; then
17403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FT2_CONFIG" >&5
17404 printf "%s\n" "$ac_ct_FT2_CONFIG" >&6; }
17405 else
17406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17407 printf "%s\n" "no" >&6; }
17408 fi
17409
17410 if test "x$ac_ct_FT2_CONFIG" = x; then
17411 FT2_CONFIG="false"
17412 else
17413 case $cross_compiling:$ac_tool_warned in
17414 yes:)
17415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17416 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17417 ac_tool_warned=yes ;;
17418 esac
17419 FT2_CONFIG=$ac_ct_FT2_CONFIG
17420 fi
17421 else
17422 FT2_CONFIG="$ac_cv_prog_FT2_CONFIG"
17423 fi
17424 if test -n "$ac_tool_prefix"; then
17425 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17426 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17428 printf %s "checking for $ac_word... " >&6; }
17429 if test ${ac_cv_prog_PKG_CONFIG+y}
17430 then :
17431 printf %s "(cached) " >&6
17432 else case e in #(
17433 e) if test -n "$PKG_CONFIG"; then
17434 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
17435 else
17436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17437 for as_dir in $PATH
17438 do
17439 IFS=$as_save_IFS
17440 case $as_dir in #(((
17441 '') as_dir=./ ;;
17442 */) ;;
17443 *) as_dir=$as_dir/ ;;
17444 esac
17445 for ac_exec_ext in '' $ac_executable_extensions; do
17446 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17447 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17449 break 2
17450 fi
17451 done
17452 done
17453 IFS=$as_save_IFS
17454
17455 fi ;;
17456 esac
17457 fi
17458 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17459 if test -n "$PKG_CONFIG"; then
17460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17461 printf "%s\n" "$PKG_CONFIG" >&6; }
17462 else
17463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17464 printf "%s\n" "no" >&6; }
17465 fi
17466
17467
17468 fi
17469 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17470 ac_ct_PKG_CONFIG=$PKG_CONFIG
17471 # Extract the first word of "pkg-config", so it can be a program name with args.
17472 set dummy pkg-config; ac_word=$2
17473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17474 printf %s "checking for $ac_word... " >&6; }
17475 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17476 then :
17477 printf %s "(cached) " >&6
17478 else case e in #(
17479 e) if test -n "$ac_ct_PKG_CONFIG"; then
17480 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17481 else
17482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17483 for as_dir in $PATH
17484 do
17485 IFS=$as_save_IFS
17486 case $as_dir in #(((
17487 '') as_dir=./ ;;
17488 */) ;;
17489 *) as_dir=$as_dir/ ;;
17490 esac
17491 for ac_exec_ext in '' $ac_executable_extensions; do
17492 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17493 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17495 break 2
17496 fi
17497 done
17498 done
17499 IFS=$as_save_IFS
17500
17501 fi ;;
17502 esac
17503 fi
17504 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17505 if test -n "$ac_ct_PKG_CONFIG"; then
17506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17507 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17508 else
17509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17510 printf "%s\n" "no" >&6; }
17511 fi
17512
17513 if test "x$ac_ct_PKG_CONFIG" = x; then
17514 PKG_CONFIG="false"
17515 else
17516 case $cross_compiling:$ac_tool_warned in
17517 yes:)
17518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17519 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17520 ac_tool_warned=yes ;;
17521 esac
17522 PKG_CONFIG=$ac_ct_PKG_CONFIG
17523 fi
17524 else
17525 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17526 fi
17527 if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
17528 FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
17529 FREETYPE2_LIBS=`$FT2_CONFIG --libs`
17530 elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
17531 FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2`
17532 FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
17533 elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
17534 as_fn_error $? "did not find freetype-config required for system freetype2 library" "$LINENO" 5
17535 fi
17536 else
17537 FREETYPE2_INCLUDES="-I$kpse_BLD/libs/freetype2/freetype2"
17538 FREETYPE2_LIBS="$kpse_BLD/libs/freetype2/libfreetype.a"
17539 FREETYPE2_DEPEND='${top_builddir}/../../libs/freetype2/libfreetype.a'
17540 FREETYPE2_RULE='# Rebuild libfreetype
17541 $(FREETYPE2_DEPEND): ${top_builddir}/../../libs/freetype2/freetype2/ft2build.h
17542 cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS) rebuild
17543 ${top_builddir}/../../libs/freetype2/freetype2/ft2build.h:
17544 cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17545 fi
17546
17547
17548 if test "x$enable_build" != xno || test -f config.force; then
17549
17550 eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17551 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17552
17553 ac_fn_c_check_header_compile "$LINENO" "kpathsea/version.h" "ac_cv_header_kpathsea_version_h" "$ac_includes_default"
17554 if test "x$ac_cv_header_kpathsea_version_h" = xyes
17555 then :
17556
17557 else case e in #(
17558 e) as_fn_error $? "Sorry, kpathsea too old" "$LINENO" 5 ;;
17559 esac
17560 fi
17561
17562 CPPFLAGS=$kpse_save_CPPFLAGS
17563 LIBS=$kpse_save_LIBS
17564
17565
17566 echo timestamp >config.force
17567 fi
17568
17569 ac_config_files="$ac_config_files Makefile"
17570
17571
17572 cat >confcache <<\_ACEOF
17573 # This file is a shell script that caches the results of configure
17574 # tests run on this system so they can be shared between configure
17575 # scripts and configure runs, see configure's option --config-cache.
17576 # It is not useful on other systems. If it contains results you don't
17577 # want to keep, you may remove or edit it.
17578 #
17579 # config.status only pays attention to the cache file if you give it
17580 # the --recheck option to rerun configure.
17581 #
17582 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
17583 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
17584 # following values.
17585
17586 _ACEOF
17587
17588 # The following way of writing the cache mishandles newlines in values,
17589 # but we know of no workaround that is simple, portable, and efficient.
17590 # So, we kill variables containing newlines.
17591 # Ultrix sh set writes to stderr and can't be redirected directly,
17592 # and sets the high bit in the cache file unless we assign to the vars.
17593 (
17594 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17595 eval ac_val=\$$ac_var
17596 case $ac_val in #(
17597 *${as_nl}*)
17598 case $ac_var in #(
17599 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17600 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17601 esac
17602 case $ac_var in #(
17603 _ | IFS | as_nl) ;; #(
17604 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17605 *) { eval $ac_var=; unset $ac_var;} ;;
17606 esac ;;
17607 esac
17608 done
17609
17610 (set) 2>&1 |
17611 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17612 *${as_nl}ac_space=\ *)
17613 # 'set' does not quote correctly, so add quotes: double-quote
17614 # substitution turns \\\\ into \\, and sed turns \\ into \.
17615 sed -n \
17616 "s/'/'\\\\''/g;
17617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17618 ;; #(
17619 *)
17620 # 'set' quotes correctly as required by POSIX, so do not add quotes.
17621 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17622 ;;
17623 esac |
17624 sort
17625 ) |
17626 sed '
17627 /^ac_cv_env_/b end
17628 t clear
17629 :clear
17630 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
17631 t end
17632 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17633 :end' >>confcache
17634 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17635 if test -w "$cache_file"; then
17636 if test "x$cache_file" != "x/dev/null"; then
17637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17638 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
17639 if test ! -f "$cache_file" || test -h "$cache_file"; then
17640 cat confcache >"$cache_file"
17641 else
17642 case $cache_file in #(
17643 */* | ?:*)
17644 mv -f confcache "$cache_file"$$ &&
17645 mv -f "$cache_file"$$ "$cache_file" ;; #(
17646 *)
17647 mv -f confcache "$cache_file" ;;
17648 esac
17649 fi
17650 fi
17651 else
17652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17653 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
17654 fi
17655 fi
17656 rm -f confcache
17657
17658 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17659 # Let make expand exec_prefix.
17660 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17661
17662 DEFS=-DHAVE_CONFIG_H
17663
17664 ac_libobjs=
17665 ac_ltlibobjs=
17666 U=
17667 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17668 # 1. Remove the extension, and $U if already installed.
17669 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17670 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
17671 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17672 # will be set to the directory where LIBOBJS objects are built.
17673 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17674 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17675 done
17676 LIBOBJS=$ac_libobjs
17677
17678 LTLIBOBJS=$ac_ltlibobjs
17679
17680
17681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17682 printf %s "checking that generated files are newer than configure... " >&6; }
17683 if test -n "$am_sleep_pid"; then
17684 # Hide warnings about reused PIDs.
17685 wait $am_sleep_pid 2>/dev/null
17686 fi
17687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
17688 printf "%s\n" "done" >&6; }
17689 case $enable_silent_rules in # (((
17690 yes) AM_DEFAULT_VERBOSITY=0;;
17691 no) AM_DEFAULT_VERBOSITY=1;;
17692 esac
17693 if test $am_cv_make_support_nested_variables = yes; then
17694 AM_V='$(V)'
17695 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17696 else
17697 AM_V=$AM_DEFAULT_VERBOSITY
17698 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17699 fi
17700
17701 if test -n "$EXEEXT"; then
17702 am__EXEEXT_TRUE=
17703 am__EXEEXT_FALSE='#'
17704 else
17705 am__EXEEXT_TRUE='#'
17706 am__EXEEXT_FALSE=
17707 fi
17708
17709 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17710 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17712 fi
17713 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17714 as_fn_error $? "conditional \"AMDEP\" was never defined.
17715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17716 fi
17717 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17718 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17720 fi
17721 # Check whether --enable-year2038 was given.
17722 if test ${enable_year2038+y}
17723 then :
17724 enableval=$enable_year2038;
17725 fi
17726
17727
17728 : "${CONFIG_STATUS=./config.status}"
17729 ac_write_fail=0
17730 ac_clean_files_save=$ac_clean_files
17731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17733 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17734 as_write_fail=0
17735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17736 #! $SHELL
17737 # Generated by $as_me.
17738 # Run this file to recreate the current configuration.
17739 # Compiler output produced by configure, useful for debugging
17740 # configure, is in config.log if it exists.
17741
17742 debug=false
17743 ac_cs_recheck=false
17744 ac_cs_silent=false
17745
17746 SHELL=\${CONFIG_SHELL-$SHELL}
17747 export SHELL
17748 _ASEOF
17749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17750 ## -------------------- ##
17751 ## M4sh Initialization. ##
17752 ## -------------------- ##
17753
17754 # Be more Bourne compatible
17755 DUALCASE=1; export DUALCASE # for MKS sh
17756 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17757 then :
17758 emulate sh
17759 NULLCMD=:
17760 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17761 # is contrary to our usage. Disable this feature.
17762 alias -g '${1+"$@"}'='"$@"'
17763 setopt NO_GLOB_SUBST
17764 else case e in #(
17765 e) case `(set -o) 2>/dev/null` in #(
17766 *posix*) :
17767 set -o posix ;; #(
17768 *) :
17769 ;;
17770 esac ;;
17771 esac
17772 fi
17773
17774
17775
17776 # Reset variables that may have inherited troublesome values from
17777 # the environment.
17778
17779 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17780 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17781 # side effect of setting IFS to empty, thus disabling word splitting.)
17782 # Quoting is to prevent editors from complaining about space-tab.
17783 as_nl='
17784 '
17785 export as_nl
17786 IFS=" "" $as_nl"
17787
17788 PS1='$ '
17789 PS2='> '
17790 PS4='+ '
17791
17792 # Ensure predictable behavior from utilities with locale-dependent output.
17793 LC_ALL=C
17794 export LC_ALL
17795 LANGUAGE=C
17796 export LANGUAGE
17797
17798 # We cannot yet rely on "unset" to work, but we need these variables
17799 # to be unset--not just set to an empty or harmless value--now, to
17800 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17801 # also avoids known problems related to "unset" and subshell syntax
17802 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17803 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17804 do eval test \${$as_var+y} \
17805 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17806 done
17807
17808 # Ensure that fds 0, 1, and 2 are open.
17809 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17810 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17811 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17812
17813 # The user is always right.
17814 if ${PATH_SEPARATOR+false} :; then
17815 PATH_SEPARATOR=:
17816 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17817 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17818 PATH_SEPARATOR=';'
17819 }
17820 fi
17821
17822
17823 # Find who we are. Look in the path if we contain no directory separator.
17824 as_myself=
17825 case $0 in #((
17826 *[\\/]* ) as_myself=$0 ;;
17827 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17828 for as_dir in $PATH
17829 do
17830 IFS=$as_save_IFS
17831 case $as_dir in #(((
17832 '') as_dir=./ ;;
17833 */) ;;
17834 *) as_dir=$as_dir/ ;;
17835 esac
17836 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17837 done
17838 IFS=$as_save_IFS
17839
17840 ;;
17841 esac
17842 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17843 # in which case we are not to be found in the path.
17844 if test "x$as_myself" = x; then
17845 as_myself=$0
17846 fi
17847 if test ! -f "$as_myself"; then
17848 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17849 exit 1
17850 fi
17851
17852
17853
17854 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17855 # ----------------------------------------
17856 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17857 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17858 # script with STATUS, using 1 if that was 0.
17859 as_fn_error ()
17860 {
17861 as_status=$1; test $as_status -eq 0 && as_status=1
17862 if test "$4"; then
17863 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17865 fi
17866 printf "%s\n" "$as_me: error: $2" >&2
17867 as_fn_exit $as_status
17868 } # as_fn_error
17869
17870
17871 # as_fn_set_status STATUS
17872 # -----------------------
17873 # Set $? to STATUS, without forking.
17874 as_fn_set_status ()
17875 {
17876 return $1
17877 } # as_fn_set_status
17878
17879 # as_fn_exit STATUS
17880 # -----------------
17881 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17882 as_fn_exit ()
17883 {
17884 set +e
17885 as_fn_set_status $1
17886 exit $1
17887 } # as_fn_exit
17888
17889 # as_fn_unset VAR
17890 # ---------------
17891 # Portably unset VAR.
17892 as_fn_unset ()
17893 {
17894 { eval $1=; unset $1;}
17895 }
17896 as_unset=as_fn_unset
17897
17898 # as_fn_append VAR VALUE
17899 # ----------------------
17900 # Append the text in VALUE to the end of the definition contained in VAR. Take
17901 # advantage of any shell optimizations that allow amortized linear growth over
17902 # repeated appends, instead of the typical quadratic growth present in naive
17903 # implementations.
17904 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17905 then :
17906 eval 'as_fn_append ()
17907 {
17908 eval $1+=\$2
17909 }'
17910 else case e in #(
17911 e) as_fn_append ()
17912 {
17913 eval $1=\$$1\$2
17914 } ;;
17915 esac
17916 fi # as_fn_append
17917
17918 # as_fn_arith ARG...
17919 # ------------------
17920 # Perform arithmetic evaluation on the ARGs, and store the result in the
17921 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17922 # must be portable across $(()) and expr.
17923 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17924 then :
17925 eval 'as_fn_arith ()
17926 {
17927 as_val=$(( $* ))
17928 }'
17929 else case e in #(
17930 e) as_fn_arith ()
17931 {
17932 as_val=`expr "$@" || test $? -eq 1`
17933 } ;;
17934 esac
17935 fi # as_fn_arith
17936
17937
17938 if expr a : '\(a\)' >/dev/null 2>&1 &&
17939 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17940 as_expr=expr
17941 else
17942 as_expr=false
17943 fi
17944
17945 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17946 as_basename=basename
17947 else
17948 as_basename=false
17949 fi
17950
17951 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17952 as_dirname=dirname
17953 else
17954 as_dirname=false
17955 fi
17956
17957 as_me=`$as_basename -- "$0" ||
17958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17959 X"$0" : 'X\(//\)$' \| \
17960 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17961 printf "%s\n" X/"$0" |
17962 sed '/^.*\/\([^/][^/]*\)\/*$/{
17963 s//\1/
17964 q
17965 }
17966 /^X\/\(\/\/\)$/{
17967 s//\1/
17968 q
17969 }
17970 /^X\/\(\/\).*/{
17971 s//\1/
17972 q
17973 }
17974 s/.*/./; q'`
17975
17976 # Avoid depending upon Character Ranges.
17977 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17978 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17979 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17980 as_cr_digits='0123456789'
17981 as_cr_alnum=$as_cr_Letters$as_cr_digits
17982
17983
17984 # Determine whether it's possible to make 'echo' print without a newline.
17985 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17986 # for compatibility with existing Makefiles.
17987 ECHO_C= ECHO_N= ECHO_T=
17988 case `echo -n x` in #(((((
17989 -n*)
17990 case `echo 'xy\c'` in
17991 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17992 xy) ECHO_C='\c';;
17993 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17994 ECHO_T=' ';;
17995 esac;;
17996 *)
17997 ECHO_N='-n';;
17998 esac
17999
18000 # For backward compatibility with old third-party macros, we provide
18001 # the shell variables $as_echo and $as_echo_n. New code should use
18002 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
18003 as_echo='printf %s\n'
18004 as_echo_n='printf %s'
18005
18006 rm -f conf$$ conf$$.exe conf$$.file
18007 if test -d conf$$.dir; then
18008 rm -f conf$$.dir/conf$$.file
18009 else
18010 rm -f conf$$.dir
18011 mkdir conf$$.dir 2>/dev/null
18012 fi
18013 if (echo >conf$$.file) 2>/dev/null; then
18014 if ln -s conf$$.file conf$$ 2>/dev/null; then
18015 as_ln_s='ln -s'
18016 # ... but there are two gotchas:
18017 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
18018 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
18019 # In both cases, we have to default to 'cp -pR'.
18020 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18021 as_ln_s='cp -pR'
18022 elif ln conf$$.file conf$$ 2>/dev/null; then
18023 as_ln_s=ln
18024 else
18025 as_ln_s='cp -pR'
18026 fi
18027 else
18028 as_ln_s='cp -pR'
18029 fi
18030 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18031 rmdir conf$$.dir 2>/dev/null
18032
18033
18034 # as_fn_mkdir_p
18035 # -------------
18036 # Create "$as_dir" as a directory, including parents if necessary.
18037 as_fn_mkdir_p ()
18038 {
18039
18040 case $as_dir in #(
18041 -*) as_dir=./$as_dir;;
18042 esac
18043 test -d "$as_dir" || eval $as_mkdir_p || {
18044 as_dirs=
18045 while :; do
18046 case $as_dir in #(
18047 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18048 *) as_qdir=$as_dir;;
18049 esac
18050 as_dirs="'$as_qdir' $as_dirs"
18051 as_dir=`$as_dirname -- "$as_dir" ||
18052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18053 X"$as_dir" : 'X\(//\)[^/]' \| \
18054 X"$as_dir" : 'X\(//\)$' \| \
18055 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18056 printf "%s\n" X"$as_dir" |
18057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18058 s//\1/
18059 q
18060 }
18061 /^X\(\/\/\)[^/].*/{
18062 s//\1/
18063 q
18064 }
18065 /^X\(\/\/\)$/{
18066 s//\1/
18067 q
18068 }
18069 /^X\(\/\).*/{
18070 s//\1/
18071 q
18072 }
18073 s/.*/./; q'`
18074 test -d "$as_dir" && break
18075 done
18076 test -z "$as_dirs" || eval "mkdir $as_dirs"
18077 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18078
18079
18080 } # as_fn_mkdir_p
18081 if mkdir -p . 2>/dev/null; then
18082 as_mkdir_p='mkdir -p "$as_dir"'
18083 else
18084 test -d ./-p && rmdir ./-p
18085 as_mkdir_p=false
18086 fi
18087
18088
18089 # as_fn_executable_p FILE
18090 # -----------------------
18091 # Test if FILE is an executable regular file.
18092 as_fn_executable_p ()
18093 {
18094 test -f "$1" && test -x "$1"
18095 } # as_fn_executable_p
18096 as_test_x='test -x'
18097 as_executable_p=as_fn_executable_p
18098
18099 # Sed expression to map a string onto a valid CPP name.
18100 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
18101 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
18102
18103 # Sed expression to map a string onto a valid variable name.
18104 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
18105 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
18106
18107
18108 exec 6>&1
18109 ## ----------------------------------- ##
18110 ## Main body of $CONFIG_STATUS script. ##
18111 ## ----------------------------------- ##
18112 _ASEOF
18113 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18114
18115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18116 # Save the log message, to keep $0 and so on meaningful, and to
18117 # report actual input values of CONFIG_FILES etc. instead of their
18118 # values after options handling.
18119 ac_log="
18120 This file was extended by ttf2pk2 (TeX Live) $as_me 2.0, which was
18121 generated by GNU Autoconf 2.72. Invocation command line was
18122
18123 CONFIG_FILES = $CONFIG_FILES
18124 CONFIG_HEADERS = $CONFIG_HEADERS
18125 CONFIG_LINKS = $CONFIG_LINKS
18126 CONFIG_COMMANDS = $CONFIG_COMMANDS
18127 $ $0 $@
18128
18129 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18130 "
18131
18132 _ACEOF
18133
18134 case $ac_config_files in *"
18135 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18136 esac
18137
18138 case $ac_config_headers in *"
18139 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18140 esac
18141
18142
18143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18144 # Files that config.status was made for.
18145 config_files="$ac_config_files"
18146 config_headers="$ac_config_headers"
18147 config_commands="$ac_config_commands"
18148
18149 _ACEOF
18150
18151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18152 ac_cs_usage="\
18153 '$as_me' instantiates files and other configuration actions
18154 from templates according to the current configuration. Unless the files
18155 and actions are specified as TAGs, all are instantiated by default.
18156
18157 Usage: $0 [OPTION]... [TAG]...
18158
18159 -h, --help print this help, then exit
18160 -V, --version print version number and configuration settings, then exit
18161 --config print configuration, then exit
18162 -q, --quiet, --silent
18163 do not print progress messages
18164 -d, --debug don't remove temporary files
18165 --recheck update $as_me by reconfiguring in the same conditions
18166 --file=FILE[:TEMPLATE]
18167 instantiate the configuration file FILE
18168 --header=FILE[:TEMPLATE]
18169 instantiate the configuration header FILE
18170
18171 Configuration files:
18172 $config_files
18173
18174 Configuration headers:
18175 $config_headers
18176
18177 Configuration commands:
18178 $config_commands
18179
18180 Report bugs to <[email protected]>."
18181
18182 _ACEOF
18183 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
18184 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
18185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18186 ac_cs_config='$ac_cs_config_escaped'
18187 ac_cs_version="\\
18188 ttf2pk2 (TeX Live) config.status 2.0
18189 configured by $0, generated by GNU Autoconf 2.72,
18190 with options \\"\$ac_cs_config\\"
18191
18192 Copyright (C) 2023 Free Software Foundation, Inc.
18193 This config.status script is free software; the Free Software Foundation
18194 gives unlimited permission to copy, distribute and modify it."
18195
18196 ac_pwd='$ac_pwd'
18197 srcdir='$srcdir'
18198 INSTALL='$INSTALL'
18199 MKDIR_P='$MKDIR_P'
18200 AWK='$AWK'
18201 test -n "\$AWK" || AWK=awk
18202 _ACEOF
18203
18204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18205 # The default lists apply if the user does not specify any file.
18206 ac_need_defaults=:
18207 while test $# != 0
18208 do
18209 case $1 in
18210 --*=?*)
18211 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18212 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18213 ac_shift=:
18214 ;;
18215 --*=)
18216 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18217 ac_optarg=
18218 ac_shift=:
18219 ;;
18220 *)
18221 ac_option=$1
18222 ac_optarg=$2
18223 ac_shift=shift
18224 ;;
18225 esac
18226
18227 case $ac_option in
18228 # Handling of the options.
18229 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18230 ac_cs_recheck=: ;;
18231 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18232 printf "%s\n" "$ac_cs_version"; exit ;;
18233 --config | --confi | --conf | --con | --co | --c )
18234 printf "%s\n" "$ac_cs_config"; exit ;;
18235 --debug | --debu | --deb | --de | --d | -d )
18236 debug=: ;;
18237 --file | --fil | --fi | --f )
18238 $ac_shift
18239 case $ac_optarg in
18240 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18241 '') as_fn_error $? "missing file argument" ;;
18242 esac
18243 as_fn_append CONFIG_FILES " '$ac_optarg'"
18244 ac_need_defaults=false;;
18245 --header | --heade | --head | --hea )
18246 $ac_shift
18247 case $ac_optarg in
18248 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18249 esac
18250 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18251 ac_need_defaults=false;;
18252 --he | --h)
18253 # Conflict between --help and --header
18254 as_fn_error $? "ambiguous option: '$1'
18255 Try '$0 --help' for more information.";;
18256 --help | --hel | -h )
18257 printf "%s\n" "$ac_cs_usage"; exit ;;
18258 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18259 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18260 ac_cs_silent=: ;;
18261
18262 # This is an error.
18263 -*) as_fn_error $? "unrecognized option: '$1'
18264 Try '$0 --help' for more information." ;;
18265
18266 *) as_fn_append ac_config_targets " $1"
18267 ac_need_defaults=false ;;
18268
18269 esac
18270 shift
18271 done
18272
18273 ac_configure_extra_args=
18274
18275 if $ac_cs_silent; then
18276 exec 6>/dev/null
18277 ac_configure_extra_args="$ac_configure_extra_args --silent"
18278 fi
18279
18280 _ACEOF
18281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18282 if \$ac_cs_recheck; then
18283 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18284 shift
18285 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
18286 CONFIG_SHELL='$SHELL'
18287 export CONFIG_SHELL
18288 exec "\$@"
18289 fi
18290
18291 _ACEOF
18292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18293 exec 5>>config.log
18294 {
18295 echo
18296 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18297 ## Running $as_me. ##
18298 _ASBOX
18299 printf "%s\n" "$ac_log"
18300 } >&5
18301
18302 _ACEOF
18303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18304 #
18305 # INIT-COMMANDS
18306 #
18307 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18308
18309
18310 # The HP-UX ksh and POSIX shell print the target directory to stdout
18311 # if CDPATH is set.
18312 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18313
18314 sed_quote_subst='$sed_quote_subst'
18315 double_quote_subst='$double_quote_subst'
18316 delay_variable_subst='$delay_variable_subst'
18317 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18318 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18319 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18320 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18321 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18322 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18323 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18324 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18325 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18326 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18327 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18328 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18329 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18330 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18331 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18332 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18333 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18334 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18335 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18336 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18337 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18338 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18339 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18340 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18341 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18342 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18343 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18344 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18345 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18346 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18347 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18348 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18349 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18350 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18351 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18352 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18353 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18354 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
18355 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18356 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18357 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18358 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18359 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18360 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18361 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18362 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18363 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18364 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18365 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18366 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18367 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18368 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18369 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18370 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18371 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18372 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18373 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18374 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18375 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18376 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18377 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18378 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"`'
18379 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18380 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18381 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18382 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18383 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18384 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18385 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18386 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18387 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18388 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18389 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18390 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18391 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18392 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18393 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18394 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18395 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18396 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18397 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18398 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18399 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18400 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18401 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18402 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18403 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18404 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18405 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18406 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18407 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18408 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18409 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18410 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18411 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18412 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18413 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18414 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18415 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18416 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18417 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18418 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18419 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18420 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18421 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18422 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18423 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18424 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18425 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18426 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18427 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18428 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18429 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18430 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18431 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18432 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18433 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18434 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18435 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18436 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18437 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18438 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18439 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18440 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18441 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18442 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18443 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18444 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18445 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18446 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18447 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18448 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18449 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18450 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18451 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18452 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18453 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18454 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18455
18456 LTCC='$LTCC'
18457 LTCFLAGS='$LTCFLAGS'
18458 compiler='$compiler_DEFAULT'
18459
18460 # A function that is used when there is no print builtin or printf.
18461 func_fallback_echo ()
18462 {
18463 eval 'cat <<_LTECHO_EOF
18464 \$1
18465 _LTECHO_EOF'
18466 }
18467
18468 # Quote evaled strings.
18469 for var in AS \
18470 DLLTOOL \
18471 OBJDUMP \
18472 SHELL \
18473 ECHO \
18474 PATH_SEPARATOR \
18475 SED \
18476 GREP \
18477 EGREP \
18478 FGREP \
18479 LD \
18480 NM \
18481 LN_S \
18482 lt_SP2NL \
18483 lt_NL2SP \
18484 reload_flag \
18485 FILECMD \
18486 deplibs_check_method \
18487 file_magic_cmd \
18488 file_magic_glob \
18489 want_nocaseglob \
18490 sharedlib_from_linklib_cmd \
18491 AR \
18492 archiver_list_spec \
18493 STRIP \
18494 RANLIB \
18495 CC \
18496 CFLAGS \
18497 compiler \
18498 lt_cv_sys_global_symbol_pipe \
18499 lt_cv_sys_global_symbol_to_cdecl \
18500 lt_cv_sys_global_symbol_to_import \
18501 lt_cv_sys_global_symbol_to_c_name_address \
18502 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18503 lt_cv_nm_interface \
18504 nm_file_list_spec \
18505 lt_cv_truncate_bin \
18506 lt_prog_compiler_no_builtin_flag \
18507 lt_prog_compiler_pic \
18508 lt_prog_compiler_wl \
18509 lt_prog_compiler_static \
18510 lt_cv_prog_compiler_c_o \
18511 need_locks \
18512 MANIFEST_TOOL \
18513 DSYMUTIL \
18514 NMEDIT \
18515 LIPO \
18516 OTOOL \
18517 OTOOL64 \
18518 shrext_cmds \
18519 export_dynamic_flag_spec \
18520 whole_archive_flag_spec \
18521 compiler_needs_object \
18522 with_gnu_ld \
18523 allow_undefined_flag \
18524 no_undefined_flag \
18525 hardcode_libdir_flag_spec \
18526 hardcode_libdir_separator \
18527 exclude_expsyms \
18528 include_expsyms \
18529 file_list_spec \
18530 variables_saved_for_relink \
18531 libname_spec \
18532 library_names_spec \
18533 soname_spec \
18534 install_override_mode \
18535 finish_eval \
18536 old_striplib \
18537 striplib; do
18538 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18539 *[\\\\\\\`\\"\\\$]*)
18540 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18541 ;;
18542 *)
18543 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18544 ;;
18545 esac
18546 done
18547
18548 # Double-quote double-evaled strings.
18549 for var in reload_cmds \
18550 old_postinstall_cmds \
18551 old_postuninstall_cmds \
18552 old_archive_cmds \
18553 extract_expsyms_cmds \
18554 old_archive_from_new_cmds \
18555 old_archive_from_expsyms_cmds \
18556 archive_cmds \
18557 archive_expsym_cmds \
18558 module_cmds \
18559 module_expsym_cmds \
18560 export_symbols_cmds \
18561 prelink_cmds \
18562 postlink_cmds \
18563 postinstall_cmds \
18564 postuninstall_cmds \
18565 finish_cmds \
18566 sys_lib_search_path_spec \
18567 configure_time_dlsearch_path \
18568 configure_time_lt_sys_library_path; do
18569 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18570 *[\\\\\\\`\\"\\\$]*)
18571 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18572 ;;
18573 *)
18574 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18575 ;;
18576 esac
18577 done
18578
18579 ac_aux_dir='$ac_aux_dir'
18580
18581 # See if we are running on zsh, and set the options that allow our
18582 # commands through without removal of \ escapes INIT.
18583 if test -n "\${ZSH_VERSION+set}"; then
18584 setopt NO_GLOB_SUBST
18585 fi
18586
18587
18588 PACKAGE='$PACKAGE'
18589 VERSION='$VERSION'
18590 RM='$RM'
18591 ofile='$ofile'
18592
18593 ac_aux_dir='$ac_aux_dir'
18594
18595
18596
18597 _ACEOF
18598
18599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18600
18601 # Handling of arguments.
18602 for ac_config_target in $ac_config_targets
18603 do
18604 case $ac_config_target in
18605 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18606 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18607 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18608 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18609
18610 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
18611 esac
18612 done
18613
18614
18615 # If the user did not use the arguments to specify the items to instantiate,
18616 # then the envvar interface is used. Set only those that are not.
18617 # We use the long form for the default assignment because of an extremely
18618 # bizarre bug on SunOS 4.1.3.
18619 if $ac_need_defaults; then
18620 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18621 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18622 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18623 fi
18624
18625 # Have a temporary directory for convenience. Make it in the build tree
18626 # simply because there is no reason against having it here, and in addition,
18627 # creating and moving files from /tmp can sometimes cause problems.
18628 # Hook for its removal unless debugging.
18629 # Note that there is a small window in which the directory will not be cleaned:
18630 # after its creation but before its name has been assigned to '$tmp'.
18631 $debug ||
18632 {
18633 tmp= ac_tmp=
18634 trap 'exit_status=$?
18635 : "${ac_tmp:=$tmp}"
18636 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18637 ' 0
18638 trap 'as_fn_exit 1' 1 2 13 15
18639 }
18640 # Create a (secure) tmp directory for tmp files.
18641
18642 {
18643 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18644 test -d "$tmp"
18645 } ||
18646 {
18647 tmp=./conf$$-$RANDOM
18648 (umask 077 && mkdir "$tmp")
18649 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18650 ac_tmp=$tmp
18651
18652 # Set up the scripts for CONFIG_FILES section.
18653 # No need to generate them if there are no CONFIG_FILES.
18654 # This happens for instance with './config.status config.h'.
18655 if test -n "$CONFIG_FILES"; then
18656
18657
18658 ac_cr=`echo X | tr X '\015'`
18659 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18660 # But we know of no other shell where ac_cr would be empty at this
18661 # point, so we can use a bashism as a fallback.
18662 if test "x$ac_cr" = x; then
18663 eval ac_cr=\$\'\\r\'
18664 fi
18665 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18666 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18667 ac_cs_awk_cr='\\r'
18668 else
18669 ac_cs_awk_cr=$ac_cr
18670 fi
18671
18672 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18673 _ACEOF
18674
18675
18676 {
18677 echo "cat >conf$$subs.awk <<_ACEOF" &&
18678 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18679 echo "_ACEOF"
18680 } >conf$$subs.sh ||
18681 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18682 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18683 ac_delim='%!_!# '
18684 for ac_last_try in false false false false false :; do
18685 . ./conf$$subs.sh ||
18686 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18687
18688 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18689 if test $ac_delim_n = $ac_delim_num; then
18690 break
18691 elif $ac_last_try; then
18692 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18693 else
18694 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18695 fi
18696 done
18697 rm -f conf$$subs.sh
18698
18699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18700 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18701 _ACEOF
18702 sed -n '
18703 h
18704 s/^/S["/; s/!.*/"]=/
18705 p
18706 g
18707 s/^[^!]*!//
18708 :repl
18709 t repl
18710 s/'"$ac_delim"'$//
18711 t delim
18712 :nl
18713 h
18714 s/\(.\{148\}\)..*/\1/
18715 t more1
18716 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18717 p
18718 n
18719 b repl
18720 :more1
18721 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18722 p
18723 g
18724 s/.\{148\}//
18725 t nl
18726 :delim
18727 h
18728 s/\(.\{148\}\)..*/\1/
18729 t more2
18730 s/["\\]/\\&/g; s/^/"/; s/$/"/
18731 p
18732 b
18733 :more2
18734 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18735 p
18736 g
18737 s/.\{148\}//
18738 t delim
18739 ' <conf$$subs.awk | sed '
18740 /^[^""]/{
18741 N
18742 s/\n//
18743 }
18744 ' >>$CONFIG_STATUS || ac_write_fail=1
18745 rm -f conf$$subs.awk
18746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18747 _ACAWK
18748 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18749 for (key in S) S_is_set[key] = 1
18750 FS = ""
18751
18752 }
18753 {
18754 line = $ 0
18755 nfields = split(line, field, "@")
18756 substed = 0
18757 len = length(field[1])
18758 for (i = 2; i < nfields; i++) {
18759 key = field[i]
18760 keylen = length(key)
18761 if (S_is_set[key]) {
18762 value = S[key]
18763 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18764 len += length(value) + length(field[++i])
18765 substed = 1
18766 } else
18767 len += 1 + keylen
18768 }
18769
18770 print line
18771 }
18772
18773 _ACAWK
18774 _ACEOF
18775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18776 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18777 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18778 else
18779 cat
18780 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18781 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18782 _ACEOF
18783
18784 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18785 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18786 # trailing colons and then remove the whole line if VPATH becomes empty
18787 # (actually we leave an empty line to preserve line numbers).
18788 if test "x$srcdir" = x.; then
18789 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18790 h
18791 s///
18792 s/^/:/
18793 s/[ ]*$/:/
18794 s/:\$(srcdir):/:/g
18795 s/:\${srcdir}:/:/g
18796 s/:@srcdir@:/:/g
18797 s/^:*//
18798 s/:*$//
18799 x
18800 s/\(=[ ]*\).*/\1/
18801 G
18802 s/\n//
18803 s/^[^=]*=[ ]*$//
18804 }'
18805 fi
18806
18807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18808 fi # test -n "$CONFIG_FILES"
18809
18810 # Set up the scripts for CONFIG_HEADERS section.
18811 # No need to generate them if there are no CONFIG_HEADERS.
18812 # This happens for instance with './config.status Makefile'.
18813 if test -n "$CONFIG_HEADERS"; then
18814 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18815 BEGIN {
18816 _ACEOF
18817
18818 # Transform confdefs.h into an awk script 'defines.awk', embedded as
18819 # here-document in config.status, that substitutes the proper values into
18820 # config.h.in to produce config.h.
18821
18822 # Create a delimiter string that does not exist in confdefs.h, to ease
18823 # handling of long lines.
18824 ac_delim='%!_!# '
18825 for ac_last_try in false false :; do
18826 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18827 if test -z "$ac_tt"; then
18828 break
18829 elif $ac_last_try; then
18830 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18831 else
18832 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18833 fi
18834 done
18835
18836 # For the awk script, D is an array of macro values keyed by name,
18837 # likewise P contains macro parameters if any. Preserve backslash
18838 # newline sequences.
18839
18840 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18841 sed -n '
18842 s/.\{148\}/&'"$ac_delim"'/g
18843 t rset
18844 :rset
18845 s/^[ ]*#[ ]*define[ ][ ]*/ /
18846 t def
18847 d
18848 :def
18849 s/\\$//
18850 t bsnl
18851 s/["\\]/\\&/g
18852 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18853 D["\1"]=" \3"/p
18854 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18855 d
18856 :bsnl
18857 s/["\\]/\\&/g
18858 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18859 D["\1"]=" \3\\\\\\n"\\/p
18860 t cont
18861 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18862 t cont
18863 d
18864 :cont
18865 n
18866 s/.\{148\}/&'"$ac_delim"'/g
18867 t clear
18868 :clear
18869 s/\\$//
18870 t bsnlc
18871 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18872 d
18873 :bsnlc
18874 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18875 b cont
18876 ' <confdefs.h | sed '
18877 s/'"$ac_delim"'/"\\\
18878 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18879
18880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18881 for (key in D) D_is_set[key] = 1
18882 FS = ""
18883 }
18884 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18885 line = \$ 0
18886 split(line, arg, " ")
18887 if (arg[1] == "#") {
18888 defundef = arg[2]
18889 mac1 = arg[3]
18890 } else {
18891 defundef = substr(arg[1], 2)
18892 mac1 = arg[2]
18893 }
18894 split(mac1, mac2, "(") #)
18895 macro = mac2[1]
18896 prefix = substr(line, 1, index(line, defundef) - 1)
18897 if (D_is_set[macro]) {
18898 # Preserve the white space surrounding the "#".
18899 print prefix "define", macro P[macro] D[macro]
18900 next
18901 } else {
18902 # Replace #undef with comments. This is necessary, for example,
18903 # in the case of _POSIX_SOURCE, which is predefined and required
18904 # on some systems where configure will not decide to define it.
18905 if (defundef == "undef") {
18906 print "/*", prefix defundef, macro, "*/"
18907 next
18908 }
18909 }
18910 }
18911 { print }
18912 _ACAWK
18913 _ACEOF
18914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18915 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18916 fi # test -n "$CONFIG_HEADERS"
18917
18918
18919 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18920 shift
18921 for ac_tag
18922 do
18923 case $ac_tag in
18924 :[FHLC]) ac_mode=$ac_tag; continue;;
18925 esac
18926 case $ac_mode$ac_tag in
18927 :[FHL]*:*);;
18928 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
18929 :[FH]-) ac_tag=-:-;;
18930 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18931 esac
18932 ac_save_IFS=$IFS
18933 IFS=:
18934 set x $ac_tag
18935 IFS=$ac_save_IFS
18936 shift
18937 ac_file=$1
18938 shift
18939
18940 case $ac_mode in
18941 :L) ac_source=$1;;
18942 :[FH])
18943 ac_file_inputs=
18944 for ac_f
18945 do
18946 case $ac_f in
18947 -) ac_f="$ac_tmp/stdin";;
18948 *) # Look for the file first in the build tree, then in the source tree
18949 # (if the path is not absolute). The absolute path cannot be DOS-style,
18950 # because $ac_f cannot contain ':'.
18951 test -f "$ac_f" ||
18952 case $ac_f in
18953 [\\/$]*) false;;
18954 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18955 esac ||
18956 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
18957 esac
18958 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18959 as_fn_append ac_file_inputs " '$ac_f'"
18960 done
18961
18962 # Let's still pretend it is 'configure' which instantiates (i.e., don't
18963 # use $as_me), people would be surprised to read:
18964 # /* config.h. Generated by config.status. */
18965 configure_input='Generated from '`
18966 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18967 `' by configure.'
18968 if test x"$ac_file" != x-; then
18969 configure_input="$ac_file. $configure_input"
18970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18971 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18972 fi
18973 # Neutralize special characters interpreted by sed in replacement strings.
18974 case $configure_input in #(
18975 *\&* | *\|* | *\\* )
18976 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18977 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18978 *) ac_sed_conf_input=$configure_input;;
18979 esac
18980
18981 case $ac_tag in
18982 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18984 esac
18985 ;;
18986 esac
18987
18988 ac_dir=`$as_dirname -- "$ac_file" ||
18989 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18990 X"$ac_file" : 'X\(//\)[^/]' \| \
18991 X"$ac_file" : 'X\(//\)$' \| \
18992 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18993 printf "%s\n" X"$ac_file" |
18994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18995 s//\1/
18996 q
18997 }
18998 /^X\(\/\/\)[^/].*/{
18999 s//\1/
19000 q
19001 }
19002 /^X\(\/\/\)$/{
19003 s//\1/
19004 q
19005 }
19006 /^X\(\/\).*/{
19007 s//\1/
19008 q
19009 }
19010 s/.*/./; q'`
19011 as_dir="$ac_dir"; as_fn_mkdir_p
19012 ac_builddir=.
19013
19014 case "$ac_dir" in
19015 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19016 *)
19017 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
19018 # A ".." for each directory in $ac_dir_suffix.
19019 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19020 case $ac_top_builddir_sub in
19021 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19022 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19023 esac ;;
19024 esac
19025 ac_abs_top_builddir=$ac_pwd
19026 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19027 # for backward compatibility:
19028 ac_top_builddir=$ac_top_build_prefix
19029
19030 case $srcdir in
19031 .) # We are building in place.
19032 ac_srcdir=.
19033 ac_top_srcdir=$ac_top_builddir_sub
19034 ac_abs_top_srcdir=$ac_pwd ;;
19035 [\\/]* | ?:[\\/]* ) # Absolute name.
19036 ac_srcdir=$srcdir$ac_dir_suffix;
19037 ac_top_srcdir=$srcdir
19038 ac_abs_top_srcdir=$srcdir ;;
19039 *) # Relative name.
19040 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19041 ac_top_srcdir=$ac_top_build_prefix$srcdir
19042 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19043 esac
19044 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19045
19046
19047 case $ac_mode in
19048 :F)
19049 #
19050 # CONFIG_FILE
19051 #
19052
19053 case $INSTALL in
19054 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19055 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19056 esac
19057 ac_MKDIR_P=$MKDIR_P
19058 case $MKDIR_P in
19059 [\\/$]* | ?:[\\/]* ) ;;
19060 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19061 esac
19062 _ACEOF
19063
19064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19065 # If the template does not know about datarootdir, expand it.
19066 # FIXME: This hack should be removed a few years after 2.60.
19067 ac_datarootdir_hack=; ac_datarootdir_seen=
19068 ac_sed_dataroot='
19069 /datarootdir/ {
19070 p
19071 q
19072 }
19073 /@datadir@/p
19074 /@docdir@/p
19075 /@infodir@/p
19076 /@localedir@/p
19077 /@mandir@/p'
19078 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19079 *datarootdir*) ac_datarootdir_seen=yes;;
19080 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19082 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19083 _ACEOF
19084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19085 ac_datarootdir_hack='
19086 s&@datadir@&$datadir&g
19087 s&@docdir@&$docdir&g
19088 s&@infodir@&$infodir&g
19089 s&@localedir@&$localedir&g
19090 s&@mandir@&$mandir&g
19091 s&\\\${datarootdir}&$datarootdir&g' ;;
19092 esac
19093 _ACEOF
19094
19095 # Neutralize VPATH when '$srcdir' = '.'.
19096 # Shell code in configure.ac might set extrasub.
19097 # FIXME: do we really want to maintain this feature?
19098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19099 ac_sed_extra="$ac_vpsub
19100 $extrasub
19101 _ACEOF
19102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19103 :t
19104 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19105 s|@configure_input@|$ac_sed_conf_input|;t t
19106 s&@top_builddir@&$ac_top_builddir_sub&;t t
19107 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19108 s&@srcdir@&$ac_srcdir&;t t
19109 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19110 s&@top_srcdir@&$ac_top_srcdir&;t t
19111 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19112 s&@builddir@&$ac_builddir&;t t
19113 s&@abs_builddir@&$ac_abs_builddir&;t t
19114 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19115 s&@INSTALL@&$ac_INSTALL&;t t
19116 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19117 $ac_datarootdir_hack
19118 "
19119 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19120 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19121
19122 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19123 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19124 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19125 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19127 which seems to be undefined. Please make sure it is defined" >&5
19128 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19129 which seems to be undefined. Please make sure it is defined" >&2;}
19130
19131 rm -f "$ac_tmp/stdin"
19132 case $ac_file in
19133 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19134 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19135 esac \
19136 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19137 ;;
19138 :H)
19139 #
19140 # CONFIG_HEADER
19141 #
19142 if test x"$ac_file" != x-; then
19143 {
19144 printf "%s\n" "/* $configure_input */" >&1 \
19145 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19146 } >"$ac_tmp/config.h" \
19147 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19148 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19150 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
19151 else
19152 rm -f "$ac_file"
19153 mv "$ac_tmp/config.h" "$ac_file" \
19154 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19155 fi
19156 else
19157 printf "%s\n" "/* $configure_input */" >&1 \
19158 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19159 || as_fn_error $? "could not create -" "$LINENO" 5
19160 fi
19161 # Compute "$ac_file"'s index in $config_headers.
19162 _am_arg="$ac_file"
19163 _am_stamp_count=1
19164 for _am_header in $config_headers :; do
19165 case $_am_header in
19166 $_am_arg | $_am_arg:* )
19167 break ;;
19168 * )
19169 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19170 esac
19171 done
19172 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19173 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19174 X"$_am_arg" : 'X\(//\)[^/]' \| \
19175 X"$_am_arg" : 'X\(//\)$' \| \
19176 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19177 printf "%s\n" X"$_am_arg" |
19178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19179 s//\1/
19180 q
19181 }
19182 /^X\(\/\/\)[^/].*/{
19183 s//\1/
19184 q
19185 }
19186 /^X\(\/\/\)$/{
19187 s//\1/
19188 q
19189 }
19190 /^X\(\/\).*/{
19191 s//\1/
19192 q
19193 }
19194 s/.*/./; q'`/stamp-h$_am_stamp_count
19195 ;;
19196
19197 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19198 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
19199 ;;
19200 esac
19201
19202
19203 case $ac_file$ac_mode in
19204 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19205 # Older Autoconf quotes --file arguments for eval, but not when files
19206 # are listed without --file. Let's play safe and only enable the eval
19207 # if we detect the quoting.
19208 # TODO: see whether this extra hack can be removed once we start
19209 # requiring Autoconf 2.70 or later.
19210 case $CONFIG_FILES in #(
19211 *\'*) :
19212 eval set x "$CONFIG_FILES" ;; #(
19213 *) :
19214 set x $CONFIG_FILES ;; #(
19215 *) :
19216 ;;
19217 esac
19218 shift
19219 # Used to flag and report bootstrapping failures.
19220 am_rc=0
19221 for am_mf
19222 do
19223 # Strip MF so we end up with the name of the file.
19224 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
19225 # Check whether this is an Automake generated Makefile which includes
19226 # dependency-tracking related rules and includes.
19227 # Grep'ing the whole file directly is not great: AIX grep has a line
19228 # limit of 2048, but all sed's we know have understand at least 4000.
19229 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19230 || continue
19231 am_dirpart=`$as_dirname -- "$am_mf" ||
19232 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19233 X"$am_mf" : 'X\(//\)[^/]' \| \
19234 X"$am_mf" : 'X\(//\)$' \| \
19235 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19236 printf "%s\n" X"$am_mf" |
19237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19238 s//\1/
19239 q
19240 }
19241 /^X\(\/\/\)[^/].*/{
19242 s//\1/
19243 q
19244 }
19245 /^X\(\/\/\)$/{
19246 s//\1/
19247 q
19248 }
19249 /^X\(\/\).*/{
19250 s//\1/
19251 q
19252 }
19253 s/.*/./; q'`
19254 am_filepart=`$as_basename -- "$am_mf" ||
19255 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19256 X"$am_mf" : 'X\(//\)$' \| \
19257 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19258 printf "%s\n" X/"$am_mf" |
19259 sed '/^.*\/\([^/][^/]*\)\/*$/{
19260 s//\1/
19261 q
19262 }
19263 /^X\/\(\/\/\)$/{
19264 s//\1/
19265 q
19266 }
19267 /^X\/\(\/\).*/{
19268 s//\1/
19269 q
19270 }
19271 s/.*/./; q'`
19272 { echo "$as_me:$LINENO: cd "$am_dirpart" \
19273 && sed -e '/# am--include-marker/d' "$am_filepart" \
19274 | $MAKE -f - am--depfiles" >&5
19275 (cd "$am_dirpart" \
19276 && sed -e '/# am--include-marker/d' "$am_filepart" \
19277 | $MAKE -f - am--depfiles) >&5 2>&5
19278 ac_status=$?
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); } || am_rc=$?
19281 done
19282 if test $am_rc -ne 0; then
19283 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
19284 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
19285 as_fn_error $? "Something went wrong bootstrapping makefile fragments
19286 for automatic dependency tracking. If GNU make was not used, consider
19287 re-running the configure script with MAKE=\"gmake\" (or whatever is
19288 necessary). You can also try re-running configure with the
19289 '--disable-dependency-tracking' option to at least be able to build
19290 the package (albeit without support for automatic dependency tracking).
19291 See 'config.log' for more details" "$LINENO" 5; }
19292 fi
19293 { am_dirpart=; unset am_dirpart;}
19294 { am_filepart=; unset am_filepart;}
19295 { am_mf=; unset am_mf;}
19296 { am_rc=; unset am_rc;}
19297 rm -f conftest-deps.mk
19298 }
19299 ;;
19300 "libtool":C)
19301
19302 # See if we are running on zsh, and set the options that allow our
19303 # commands through without removal of \ escapes.
19304 if test -n "${ZSH_VERSION+set}"; then
19305 setopt NO_GLOB_SUBST
19306 fi
19307
19308 cfgfile=${ofile}T
19309 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19310 $RM "$cfgfile"
19311
19312 cat <<_LT_EOF >> "$cfgfile"
19313 #! $SHELL
19314 # Generated automatically by $as_me ($PACKAGE) $VERSION
19315 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19316
19317 # Provide generalized library-building support services.
19318 # Written by Gordon Matzigkeit, 1996
19319
19320 # Copyright (C) 2024 Free Software Foundation, Inc.
19321 # This is free software; see the source for copying conditions. There is NO
19322 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19323
19324 # GNU Libtool is free software; you can redistribute it and/or modify
19325 # it under the terms of the GNU General Public License as published by
19326 # the Free Software Foundation; either version 2 of the License, or
19327 # (at your option) any later version.
19328 #
19329 # As a special exception to the GNU General Public License, if you
19330 # distribute this file as part of a program or library that is built
19331 # using GNU Libtool, you may include this file under the same
19332 # distribution terms that you use for the rest of that program.
19333 #
19334 # GNU Libtool is distributed in the hope that it will be useful, but
19335 # WITHOUT ANY WARRANTY; without even the implied warranty of
19336 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19337 # GNU General Public License for more details.
19338 #
19339 # You should have received a copy of the GNU General Public License
19340 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19341
19342
19343 # The names of the tagged configurations supported by this script.
19344 available_tags=''
19345
19346 # Configured defaults for sys_lib_dlsearch_path munging.
19347 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19348
19349 # ### BEGIN LIBTOOL CONFIG
19350
19351 # Which release of libtool.m4 was used?
19352 macro_version=$macro_version
19353 macro_revision=$macro_revision
19354
19355 # Assembler program.
19356 AS=$lt_AS
19357
19358 # DLL creation program.
19359 DLLTOOL=$lt_DLLTOOL
19360
19361 # Object dumper program.
19362 OBJDUMP=$lt_OBJDUMP
19363
19364 # Whether or not to build shared libraries.
19365 build_libtool_libs=$enable_shared
19366
19367 # Whether or not to build static libraries.
19368 build_old_libs=$enable_static
19369
19370 # What type of objects to build.
19371 pic_mode=$pic_mode
19372
19373 # Whether or not to optimize for fast installation.
19374 fast_install=$enable_fast_install
19375
19376 # Shared archive member basename,for filename based shared library versioning on AIX.
19377 shared_archive_member_spec=$shared_archive_member_spec
19378
19379 # Shell to use when invoking shell scripts.
19380 SHELL=$lt_SHELL
19381
19382 # An echo program that protects backslashes.
19383 ECHO=$lt_ECHO
19384
19385 # The PATH separator for the build system.
19386 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19387
19388 # The host system.
19389 host_alias=$host_alias
19390 host=$host
19391 host_os=$host_os
19392
19393 # The build system.
19394 build_alias=$build_alias
19395 build=$build
19396 build_os=$build_os
19397
19398 # A sed program that does not truncate output.
19399 SED=$lt_SED
19400
19401 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19402 Xsed="\$SED -e 1s/^X//"
19403
19404 # A grep program that handles long lines.
19405 GREP=$lt_GREP
19406
19407 # An ERE matcher.
19408 EGREP=$lt_EGREP
19409
19410 # A literal string matcher.
19411 FGREP=$lt_FGREP
19412
19413 # A BSD- or MS-compatible name lister.
19414 NM=$lt_NM
19415
19416 # Whether we need soft or hard links.
19417 LN_S=$lt_LN_S
19418
19419 # What is the maximum length of a command?
19420 max_cmd_len=$max_cmd_len
19421
19422 # Object file suffix (normally "o").
19423 objext=$ac_objext
19424
19425 # Executable file suffix (normally "").
19426 exeext=$exeext
19427
19428 # whether the shell understands "unset".
19429 lt_unset=$lt_unset
19430
19431 # turn spaces into newlines.
19432 SP2NL=$lt_lt_SP2NL
19433
19434 # turn newlines into spaces.
19435 NL2SP=$lt_lt_NL2SP
19436
19437 # convert \$build file names to \$host format.
19438 to_host_file_cmd=$lt_cv_to_host_file_cmd
19439
19440 # convert \$build files to toolchain format.
19441 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19442
19443 # A file(cmd) program that detects file types.
19444 FILECMD=$lt_FILECMD
19445
19446 # Method to check whether dependent libraries are shared objects.
19447 deplibs_check_method=$lt_deplibs_check_method
19448
19449 # Command to use when deplibs_check_method = "file_magic".
19450 file_magic_cmd=$lt_file_magic_cmd
19451
19452 # How to find potential files when deplibs_check_method = "file_magic".
19453 file_magic_glob=$lt_file_magic_glob
19454
19455 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19456 want_nocaseglob=$lt_want_nocaseglob
19457
19458 # Command to associate shared and link libraries.
19459 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19460
19461 # The archiver.
19462 AR=$lt_AR
19463
19464 # Flags to create an archive (by configure).
19465 lt_ar_flags=$lt_ar_flags
19466
19467 # Flags to create an archive.
19468 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19469
19470 # How to feed a file listing to the archiver.
19471 archiver_list_spec=$lt_archiver_list_spec
19472
19473 # A symbol stripping program.
19474 STRIP=$lt_STRIP
19475
19476 # Commands used to install an old-style archive.
19477 RANLIB=$lt_RANLIB
19478 old_postinstall_cmds=$lt_old_postinstall_cmds
19479 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19480
19481 # Whether to use a lock for old archive extraction.
19482 lock_old_archive_extraction=$lock_old_archive_extraction
19483
19484 # A C compiler.
19485 LTCC=$lt_CC
19486
19487 # LTCC compiler flags.
19488 LTCFLAGS=$lt_CFLAGS
19489
19490 # Take the output of nm and produce a listing of raw symbols and C names.
19491 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19492
19493 # Transform the output of nm in a proper C declaration.
19494 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19495
19496 # Transform the output of nm into a list of symbols to manually relocate.
19497 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19498
19499 # Transform the output of nm in a C name address pair.
19500 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19501
19502 # Transform the output of nm in a C name address pair when lib prefix is needed.
19503 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19504
19505 # The name lister interface.
19506 nm_interface=$lt_lt_cv_nm_interface
19507
19508 # Specify filename containing input files for \$NM.
19509 nm_file_list_spec=$lt_nm_file_list_spec
19510
19511 # The root where to search for dependent libraries,and where our libraries should be installed.
19512 lt_sysroot=$lt_sysroot
19513
19514 # Command to truncate a binary pipe.
19515 lt_truncate_bin=$lt_lt_cv_truncate_bin
19516
19517 # The name of the directory that contains temporary libtool files.
19518 objdir=$objdir
19519
19520 # Used to examine libraries when file_magic_cmd begins with "file".
19521 MAGIC_CMD=$MAGIC_CMD
19522
19523 # Must we lock files when doing compilation?
19524 need_locks=$lt_need_locks
19525
19526 # Manifest tool.
19527 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19528
19529 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19530 DSYMUTIL=$lt_DSYMUTIL
19531
19532 # Tool to change global to local symbols on Mac OS X.
19533 NMEDIT=$lt_NMEDIT
19534
19535 # Tool to manipulate fat objects and archives on Mac OS X.
19536 LIPO=$lt_LIPO
19537
19538 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19539 OTOOL=$lt_OTOOL
19540
19541 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19542 OTOOL64=$lt_OTOOL64
19543
19544 # Old archive suffix (normally "a").
19545 libext=$libext
19546
19547 # Shared library suffix (normally ".so").
19548 shrext_cmds=$lt_shrext_cmds
19549
19550 # The commands to extract the exported symbol list from a shared archive.
19551 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19552
19553 # Variables whose values should be saved in libtool wrapper scripts and
19554 # restored at link time.
19555 variables_saved_for_relink=$lt_variables_saved_for_relink
19556
19557 # Do we need the "lib" prefix for modules?
19558 need_lib_prefix=$need_lib_prefix
19559
19560 # Do we need a version for libraries?
19561 need_version=$need_version
19562
19563 # Library versioning type.
19564 version_type=$version_type
19565
19566 # Shared library runtime path variable.
19567 runpath_var=$runpath_var
19568
19569 # Shared library path variable.
19570 shlibpath_var=$shlibpath_var
19571
19572 # Is shlibpath searched before the hard-coded library search path?
19573 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19574
19575 # Format of library name prefix.
19576 libname_spec=$lt_libname_spec
19577
19578 # List of archive names. First name is the real one, the rest are links.
19579 # The last name is the one that the linker finds with -lNAME
19580 library_names_spec=$lt_library_names_spec
19581
19582 # The coded name of the library, if different from the real name.
19583 soname_spec=$lt_soname_spec
19584
19585 # Permission mode override for installation of shared libraries.
19586 install_override_mode=$lt_install_override_mode
19587
19588 # Command to use after installation of a shared archive.
19589 postinstall_cmds=$lt_postinstall_cmds
19590
19591 # Command to use after uninstallation of a shared archive.
19592 postuninstall_cmds=$lt_postuninstall_cmds
19593
19594 # Commands used to finish a libtool library installation in a directory.
19595 finish_cmds=$lt_finish_cmds
19596
19597 # As "finish_cmds", except a single script fragment to be evaled but
19598 # not shown.
19599 finish_eval=$lt_finish_eval
19600
19601 # Whether we should hardcode library paths into libraries.
19602 hardcode_into_libs=$hardcode_into_libs
19603
19604 # Compile-time system search path for libraries.
19605 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19606
19607 # Detected run-time system search path for libraries.
19608 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19609
19610 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19611 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19612
19613 # Whether dlopen is supported.
19614 dlopen_support=$enable_dlopen
19615
19616 # Whether dlopen of programs is supported.
19617 dlopen_self=$enable_dlopen_self
19618
19619 # Whether dlopen of statically linked programs is supported.
19620 dlopen_self_static=$enable_dlopen_self_static
19621
19622 # Commands to strip libraries.
19623 old_striplib=$lt_old_striplib
19624 striplib=$lt_striplib
19625
19626
19627 # The linker used to build libraries.
19628 LD=$lt_LD
19629
19630 # How to create reloadable object files.
19631 reload_flag=$lt_reload_flag
19632 reload_cmds=$lt_reload_cmds
19633
19634 # Commands used to build an old-style archive.
19635 old_archive_cmds=$lt_old_archive_cmds
19636
19637 # A language specific compiler.
19638 CC=$lt_compiler
19639
19640 # Is the compiler the GNU compiler?
19641 with_gcc=$GCC
19642
19643 # Compiler flag to turn off builtin functions.
19644 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19645
19646 # Additional compiler flags for building library objects.
19647 pic_flag=$lt_lt_prog_compiler_pic
19648
19649 # How to pass a linker flag through the compiler.
19650 wl=$lt_lt_prog_compiler_wl
19651
19652 # Compiler flag to prevent dynamic linking.
19653 link_static_flag=$lt_lt_prog_compiler_static
19654
19655 # Does compiler simultaneously support -c and -o options?
19656 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19657
19658 # Whether or not to add -lc for building shared libraries.
19659 build_libtool_need_lc=$archive_cmds_need_lc
19660
19661 # Whether or not to disallow shared libs when runtime libs are static.
19662 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19663
19664 # Compiler flag to allow reflexive dlopens.
19665 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19666
19667 # Compiler flag to generate shared objects directly from archives.
19668 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19669
19670 # Whether the compiler copes with passing no objects directly.
19671 compiler_needs_object=$lt_compiler_needs_object
19672
19673 # Create an old-style archive from a shared archive.
19674 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19675
19676 # Create a temporary old-style archive to link instead of a shared archive.
19677 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19678
19679 # Commands used to build a shared archive.
19680 archive_cmds=$lt_archive_cmds
19681 archive_expsym_cmds=$lt_archive_expsym_cmds
19682
19683 # Commands used to build a loadable module if different from building
19684 # a shared archive.
19685 module_cmds=$lt_module_cmds
19686 module_expsym_cmds=$lt_module_expsym_cmds
19687
19688 # Whether we are building with GNU ld or not.
19689 with_gnu_ld=$lt_with_gnu_ld
19690
19691 # Flag that allows shared libraries with undefined symbols to be built.
19692 allow_undefined_flag=$lt_allow_undefined_flag
19693
19694 # Flag that enforces no undefined symbols.
19695 no_undefined_flag=$lt_no_undefined_flag
19696
19697 # Flag to hardcode \$libdir into a binary during linking.
19698 # This must work even if \$libdir does not exist
19699 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19700
19701 # Whether we need a single "-rpath" flag with a separated argument.
19702 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19703
19704 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19705 # DIR into the resulting binary.
19706 hardcode_direct=$hardcode_direct
19707
19708 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19709 # DIR into the resulting binary and the resulting library dependency is
19710 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
19711 # library is relocated.
19712 hardcode_direct_absolute=$hardcode_direct_absolute
19713
19714 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19715 # into the resulting binary.
19716 hardcode_minus_L=$hardcode_minus_L
19717
19718 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19719 # into the resulting binary.
19720 hardcode_shlibpath_var=$hardcode_shlibpath_var
19721
19722 # Set to "yes" if building a shared library automatically hardcodes DIR
19723 # into the library and all subsequent libraries and executables linked
19724 # against it.
19725 hardcode_automatic=$hardcode_automatic
19726
19727 # Set to yes if linker adds runtime paths of dependent libraries
19728 # to runtime path list.
19729 inherit_rpath=$inherit_rpath
19730
19731 # Whether libtool must link a program against all its dependency libraries.
19732 link_all_deplibs=$link_all_deplibs
19733
19734 # Set to "yes" if exported symbols are required.
19735 always_export_symbols=$always_export_symbols
19736
19737 # The commands to list exported symbols.
19738 export_symbols_cmds=$lt_export_symbols_cmds
19739
19740 # Symbols that should not be listed in the preloaded symbols.
19741 exclude_expsyms=$lt_exclude_expsyms
19742
19743 # Symbols that must always be exported.
19744 include_expsyms=$lt_include_expsyms
19745
19746 # Commands necessary for linking programs (against libraries) with templates.
19747 prelink_cmds=$lt_prelink_cmds
19748
19749 # Commands necessary for finishing linking programs.
19750 postlink_cmds=$lt_postlink_cmds
19751
19752 # Specify filename containing input files.
19753 file_list_spec=$lt_file_list_spec
19754
19755 # How to hardcode a shared library path into an executable.
19756 hardcode_action=$hardcode_action
19757
19758 # ### END LIBTOOL CONFIG
19759
19760 _LT_EOF
19761
19762 cat <<'_LT_EOF' >> "$cfgfile"
19763
19764 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19765
19766 # func_munge_path_list VARIABLE PATH
19767 # -----------------------------------
19768 # VARIABLE is name of variable containing _space_ separated list of
19769 # directories to be munged by the contents of PATH, which is string
19770 # having a format:
19771 # "DIR[:DIR]:"
19772 # string "DIR[ DIR]" will be prepended to VARIABLE
19773 # ":DIR[:DIR]"
19774 # string "DIR[ DIR]" will be appended to VARIABLE
19775 # "DIRP[:DIRP]::[DIRA:]DIRA"
19776 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19777 # "DIRA[ DIRA]" will be appended to VARIABLE
19778 # "DIR[:DIR]"
19779 # VARIABLE will be replaced by "DIR[ DIR]"
19780 func_munge_path_list ()
19781 {
19782 case x$2 in
19783 x)
19784 ;;
19785 *:)
19786 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19787 ;;
19788 x:*)
19789 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19790 ;;
19791 *::*)
19792 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19793 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19794 ;;
19795 *)
19796 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19797 ;;
19798 esac
19799 }
19800
19801
19802 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19803 func_cc_basename ()
19804 {
19805 for cc_temp in $*""; do
19806 case $cc_temp in
19807 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19808 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19809 \-*) ;;
19810 *) break;;
19811 esac
19812 done
19813 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19814 }
19815
19816
19817 # ### END FUNCTIONS SHARED WITH CONFIGURE
19818
19819 _LT_EOF
19820
19821 case $host_os in
19822 aix3*)
19823 cat <<\_LT_EOF >> "$cfgfile"
19824 # AIX sometimes has problems with the GCC collect2 program. For some
19825 # reason, if we set the COLLECT_NAMES environment variable, the problems
19826 # vanish in a puff of smoke.
19827 if test set != "${COLLECT_NAMES+set}"; then
19828 COLLECT_NAMES=
19829 export COLLECT_NAMES
19830 fi
19831 _LT_EOF
19832 ;;
19833 esac
19834
19835
19836
19837 ltmain=$ac_aux_dir/ltmain.sh
19838
19839
19840 # We use sed instead of cat because bash on DJGPP gets confused if
19841 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19842 # text mode, it properly converts lines to CR/LF. This bash problem
19843 # is reportedly fixed, but why not run on old versions too?
19844 $SED '$q' "$ltmain" >> "$cfgfile" \
19845 || (rm -f "$cfgfile"; exit 1)
19846
19847 mv -f "$cfgfile" "$ofile" ||
19848 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19849 chmod +x "$ofile"
19850
19851 ;;
19852
19853 esac
19854 done # for ac_tag
19855
19856
19857 as_fn_exit 0
19858 _ACEOF
19859 ac_clean_files=$ac_clean_files_save
19860
19861 test $ac_write_fail = 0 ||
19862 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19863
19864
19865 # configure is writing to config.log, and then calls config.status.
19866 # config.status does its own redirection, appending to config.log.
19867 # Unfortunately, on DOS this fails, as config.log is still kept open
19868 # by configure, so config.status won't be able to write to it; its
19869 # output is simply discarded. So we exec the FD to /dev/null,
19870 # effectively closing config.log, so it can be properly (re)opened and
19871 # appended to by config.status. When coming back to configure, we
19872 # need to make the FD available again.
19873 if test "$no_create" != yes; then
19874 ac_cs_success=:
19875 ac_config_status_args=
19876 test "$silent" = yes &&
19877 ac_config_status_args="$ac_config_status_args --quiet"
19878 exec 5>/dev/null
19879 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19880 exec 5>>config.log
19881 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19882 # would make configure fail if this is the last instruction.
19883 $ac_cs_success || as_fn_exit 1
19884 fi
19885 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19887 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19888 fi
19889
19890