Debian Codegraph @

texk/ttfdump/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 ttfdump (TeX Live) 0.5.6.
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='ttfdump (TeX Live)'
616 PACKAGE_TARNAME='ttfdump--tex-live-'
617 PACKAGE_VERSION='0.5.6'
618 PACKAGE_STRING='ttfdump (TeX Live) 0.5.6'
619 PACKAGE_BUGREPORT='[email protected]'
620 PACKAGE_URL=''
621
622 ac_unique_file="include/ttf.h"
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 KPATHSEA_RULE
661 KPATHSEA_DEPEND
662 KPATHSEA_LIBS
663 KPATHSEA_INCLUDES
664 PKG_CONFIG
665 LT_SYS_LIBRARY_PATH
666 OTOOL64
667 OTOOL
668 LIPO
669 NMEDIT
670 DSYMUTIL
671 MANIFEST_TOOL
672 RANLIB
673 FILECMD
674 LN_S
675 NM
676 ac_ct_DUMPBIN
677 DUMPBIN
678 LD
679 FGREP
680 EGREP
681 GREP
682 SED
683 host_os
684 host_vendor
685 host_cpu
686 host
687 build_os
688 build_vendor
689 build_cpu
690 build
691 LIBTOOL
692 OBJDUMP
693 DLLTOOL
694 AS
695 ac_ct_AR
696 AR
697 WARNING_CFLAGS
698 am__fastdepCC_FALSE
699 am__fastdepCC_TRUE
700 CCDEPMODE
701 am__nodep
702 AMDEPBACKSLASH
703 AMDEP_FALSE
704 AMDEP_TRUE
705 am__include
706 DEPDIR
707 OBJEXT
708 EXEEXT
709 ac_ct_CC
710 CPPFLAGS
711 LDFLAGS
712 CFLAGS
713 CC
714 MAINT
715 MAINTAINER_MODE_FALSE
716 MAINTAINER_MODE_TRUE
717 am__xargs_n
718 am__rm_f_notfound
719 AM_BACKSLASH
720 AM_DEFAULT_VERBOSITY
721 AM_DEFAULT_V
722 AM_V
723 CSCOPE
724 ETAGS
725 CTAGS
726 am__untar
727 am__tar
728 AMTAR
729 am__leading_dot
730 SET_MAKE
731 AWK
732 mkdir_p
733 MKDIR_P
734 INSTALL_STRIP_PROGRAM
735 STRIP
736 install_sh
737 MAKEINFO
738 AUTOHEADER
739 AUTOMAKE
740 AUTOCONF
741 ACLOCAL
742 VERSION
743 PACKAGE
744 CYGPATH_W
745 am__isrc
746 INSTALL_DATA
747 INSTALL_SCRIPT
748 INSTALL_PROGRAM
749 target_alias
750 host_alias
751 build_alias
752 LIBS
753 ECHO_T
754 ECHO_N
755 ECHO_C
756 DEFS
757 mandir
758 localedir
759 libdir
760 psdir
761 pdfdir
762 dvidir
763 htmldir
764 infodir
765 docdir
766 oldincludedir
767 includedir
768 runstatedir
769 localstatedir
770 sharedstatedir
771 sysconfdir
772 datadir
773 datarootdir
774 libexecdir
775 sbindir
776 bindir
777 program_transform_name
778 prefix
779 exec_prefix
780 PACKAGE_URL
781 PACKAGE_BUGREPORT
782 PACKAGE_STRING
783 PACKAGE_VERSION
784 PACKAGE_TARNAME
785 PACKAGE_NAME
786 PATH_SEPARATOR
787 SHELL
788 am__quote'
789 ac_subst_files=''
790 ac_user_opts='
791 enable_option_checking
792 enable_silent_rules
793 enable_maintainer_mode
794 enable_dependency_tracking
795 enable_compiler_warnings
796 enable_shared
797 enable_static
798 enable_pic
799 with_pic
800 enable_fast_install
801 enable_aix_soname
802 with_aix_soname
803 with_gnu_ld
804 with_sysroot
805 enable_libtool_lock
806 enable_largefile
807 with_system_kpathsea
808 enable_year2038
809 '
810 ac_precious_vars='build_alias
811 host_alias
812 target_alias
813 CC
814 CFLAGS
815 LDFLAGS
816 LIBS
817 CPPFLAGS
818 LT_SYS_LIBRARY_PATH'
819
820
821 # Initialize some variables set by options.
822 ac_init_help=
823 ac_init_version=false
824 ac_unrecognized_opts=
825 ac_unrecognized_sep=
826 # The variables have the same names as the options, with
827 # dashes changed to underlines.
828 cache_file=/dev/null
829 exec_prefix=NONE
830 no_create=
831 no_recursion=
832 prefix=NONE
833 program_prefix=NONE
834 program_suffix=NONE
835 program_transform_name=s,x,x,
836 silent=
837 site=
838 srcdir=
839 verbose=
840 x_includes=NONE
841 x_libraries=NONE
842
843 # Installation directory options.
844 # These are left unexpanded so users can "make install exec_prefix=/foo"
845 # and all the variables that are supposed to be based on exec_prefix
846 # by default will actually change.
847 # Use braces instead of parens because sh, perl, etc. also accept them.
848 # (The list follows the same order as the GNU Coding Standards.)
849 bindir='${exec_prefix}/bin'
850 sbindir='${exec_prefix}/sbin'
851 libexecdir='${exec_prefix}/libexec'
852 datarootdir='${prefix}/share'
853 datadir='${datarootdir}'
854 sysconfdir='${prefix}/etc'
855 sharedstatedir='${prefix}/com'
856 localstatedir='${prefix}/var'
857 runstatedir='${localstatedir}/run'
858 includedir='${prefix}/include'
859 oldincludedir='/usr/include'
860 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
861 infodir='${datarootdir}/info'
862 htmldir='${docdir}'
863 dvidir='${docdir}'
864 pdfdir='${docdir}'
865 psdir='${docdir}'
866 libdir='${exec_prefix}/lib'
867 localedir='${datarootdir}/locale'
868 mandir='${datarootdir}/man'
869
870 ac_prev=
871 ac_dashdash=
872 for ac_option
873 do
874 # If the previous option needs an argument, assign it.
875 if test -n "$ac_prev"; then
876 eval $ac_prev=\$ac_option
877 ac_prev=
878 continue
879 fi
880
881 case $ac_option in
882 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
883 *=) ac_optarg= ;;
884 *) ac_optarg=yes ;;
885 esac
886
887 case $ac_dashdash$ac_option in
888 --)
889 ac_dashdash=yes ;;
890
891 -bindir | --bindir | --bindi | --bind | --bin | --bi)
892 ac_prev=bindir ;;
893 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
894 bindir=$ac_optarg ;;
895
896 -build | --build | --buil | --bui | --bu)
897 ac_prev=build_alias ;;
898 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
899 build_alias=$ac_optarg ;;
900
901 -cache-file | --cache-file | --cache-fil | --cache-fi \
902 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
903 ac_prev=cache_file ;;
904 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
905 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
906 cache_file=$ac_optarg ;;
907
908 --config-cache | -C)
909 cache_file=config.cache ;;
910
911 -datadir | --datadir | --datadi | --datad)
912 ac_prev=datadir ;;
913 -datadir=* | --datadir=* | --datadi=* | --datad=*)
914 datadir=$ac_optarg ;;
915
916 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
917 | --dataroo | --dataro | --datar)
918 ac_prev=datarootdir ;;
919 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
920 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
921 datarootdir=$ac_optarg ;;
922
923 -disable-* | --disable-*)
924 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927 as_fn_error $? "invalid feature name: '$ac_useropt'"
928 ac_useropt_orig=$ac_useropt
929 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
930 case $ac_user_opts in
931 *"
932 "enable_$ac_useropt"
933 "*) ;;
934 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
935 ac_unrecognized_sep=', ';;
936 esac
937 eval enable_$ac_useropt=no ;;
938
939 -docdir | --docdir | --docdi | --doc | --do)
940 ac_prev=docdir ;;
941 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
942 docdir=$ac_optarg ;;
943
944 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
945 ac_prev=dvidir ;;
946 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
947 dvidir=$ac_optarg ;;
948
949 -enable-* | --enable-*)
950 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 as_fn_error $? "invalid feature name: '$ac_useropt'"
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
957 *"
958 "enable_$ac_useropt"
959 "*) ;;
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
962 esac
963 eval enable_$ac_useropt=\$ac_optarg ;;
964
965 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
966 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
967 | --exec | --exe | --ex)
968 ac_prev=exec_prefix ;;
969 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
970 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
971 | --exec=* | --exe=* | --ex=*)
972 exec_prefix=$ac_optarg ;;
973
974 -gas | --gas | --ga | --g)
975 # Obsolete; use --with-gas.
976 with_gas=yes ;;
977
978 -help | --help | --hel | --he | -h)
979 ac_init_help=long ;;
980 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
981 ac_init_help=recursive ;;
982 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
983 ac_init_help=short ;;
984
985 -host | --host | --hos | --ho)
986 ac_prev=host_alias ;;
987 -host=* | --host=* | --hos=* | --ho=*)
988 host_alias=$ac_optarg ;;
989
990 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
991 ac_prev=htmldir ;;
992 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
993 | --ht=*)
994 htmldir=$ac_optarg ;;
995
996 -includedir | --includedir | --includedi | --included | --include \
997 | --includ | --inclu | --incl | --inc)
998 ac_prev=includedir ;;
999 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1000 | --includ=* | --inclu=* | --incl=* | --inc=*)
1001 includedir=$ac_optarg ;;
1002
1003 -infodir | --infodir | --infodi | --infod | --info | --inf)
1004 ac_prev=infodir ;;
1005 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1006 infodir=$ac_optarg ;;
1007
1008 -libdir | --libdir | --libdi | --libd)
1009 ac_prev=libdir ;;
1010 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1011 libdir=$ac_optarg ;;
1012
1013 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1014 | --libexe | --libex | --libe)
1015 ac_prev=libexecdir ;;
1016 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1017 | --libexe=* | --libex=* | --libe=*)
1018 libexecdir=$ac_optarg ;;
1019
1020 -localedir | --localedir | --localedi | --localed | --locale)
1021 ac_prev=localedir ;;
1022 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1023 localedir=$ac_optarg ;;
1024
1025 -localstatedir | --localstatedir | --localstatedi | --localstated \
1026 | --localstate | --localstat | --localsta | --localst | --locals)
1027 ac_prev=localstatedir ;;
1028 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1029 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1030 localstatedir=$ac_optarg ;;
1031
1032 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1033 ac_prev=mandir ;;
1034 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1035 mandir=$ac_optarg ;;
1036
1037 -nfp | --nfp | --nf)
1038 # Obsolete; use --without-fp.
1039 with_fp=no ;;
1040
1041 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1042 | --no-cr | --no-c | -n)
1043 no_create=yes ;;
1044
1045 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1046 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1047 no_recursion=yes ;;
1048
1049 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1050 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1051 | --oldin | --oldi | --old | --ol | --o)
1052 ac_prev=oldincludedir ;;
1053 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1054 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1055 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1056 oldincludedir=$ac_optarg ;;
1057
1058 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1059 ac_prev=prefix ;;
1060 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1061 prefix=$ac_optarg ;;
1062
1063 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1064 | --program-pre | --program-pr | --program-p)
1065 ac_prev=program_prefix ;;
1066 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1067 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1068 program_prefix=$ac_optarg ;;
1069
1070 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1071 | --program-suf | --program-su | --program-s)
1072 ac_prev=program_suffix ;;
1073 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1074 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1075 program_suffix=$ac_optarg ;;
1076
1077 -program-transform-name | --program-transform-name \
1078 | --program-transform-nam | --program-transform-na \
1079 | --program-transform-n | --program-transform- \
1080 | --program-transform | --program-transfor \
1081 | --program-transfo | --program-transf \
1082 | --program-trans | --program-tran \
1083 | --progr-tra | --program-tr | --program-t)
1084 ac_prev=program_transform_name ;;
1085 -program-transform-name=* | --program-transform-name=* \
1086 | --program-transform-nam=* | --program-transform-na=* \
1087 | --program-transform-n=* | --program-transform-=* \
1088 | --program-transform=* | --program-transfor=* \
1089 | --program-transfo=* | --program-transf=* \
1090 | --program-trans=* | --program-tran=* \
1091 | --progr-tra=* | --program-tr=* | --program-t=*)
1092 program_transform_name=$ac_optarg ;;
1093
1094 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1095 ac_prev=pdfdir ;;
1096 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1097 pdfdir=$ac_optarg ;;
1098
1099 -psdir | --psdir | --psdi | --psd | --ps)
1100 ac_prev=psdir ;;
1101 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1102 psdir=$ac_optarg ;;
1103
1104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105 | -silent | --silent | --silen | --sile | --sil)
1106 silent=yes ;;
1107
1108 -runstatedir | --runstatedir | --runstatedi | --runstated \
1109 | --runstate | --runstat | --runsta | --runst | --runs \
1110 | --run | --ru | --r)
1111 ac_prev=runstatedir ;;
1112 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1113 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1114 | --run=* | --ru=* | --r=*)
1115 runstatedir=$ac_optarg ;;
1116
1117 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1118 ac_prev=sbindir ;;
1119 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1120 | --sbi=* | --sb=*)
1121 sbindir=$ac_optarg ;;
1122
1123 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1124 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1125 | --sharedst | --shareds | --shared | --share | --shar \
1126 | --sha | --sh)
1127 ac_prev=sharedstatedir ;;
1128 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1129 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1130 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1131 | --sha=* | --sh=*)
1132 sharedstatedir=$ac_optarg ;;
1133
1134 -site | --site | --sit)
1135 ac_prev=site ;;
1136 -site=* | --site=* | --sit=*)
1137 site=$ac_optarg ;;
1138
1139 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1140 ac_prev=srcdir ;;
1141 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1142 srcdir=$ac_optarg ;;
1143
1144 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1145 | --syscon | --sysco | --sysc | --sys | --sy)
1146 ac_prev=sysconfdir ;;
1147 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1148 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1149 sysconfdir=$ac_optarg ;;
1150
1151 -target | --target | --targe | --targ | --tar | --ta | --t)
1152 ac_prev=target_alias ;;
1153 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1154 target_alias=$ac_optarg ;;
1155
1156 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1157 verbose=yes ;;
1158
1159 -version | --version | --versio | --versi | --vers | -V)
1160 ac_init_version=: ;;
1161
1162 -with-* | --with-*)
1163 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1166 as_fn_error $? "invalid package name: '$ac_useropt'"
1167 ac_useropt_orig=$ac_useropt
1168 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1170 *"
1171 "with_$ac_useropt"
1172 "*) ;;
1173 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1174 ac_unrecognized_sep=', ';;
1175 esac
1176 eval with_$ac_useropt=\$ac_optarg ;;
1177
1178 -without-* | --without-*)
1179 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1182 as_fn_error $? "invalid package name: '$ac_useropt'"
1183 ac_useropt_orig=$ac_useropt
1184 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1186 *"
1187 "with_$ac_useropt"
1188 "*) ;;
1189 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1190 ac_unrecognized_sep=', ';;
1191 esac
1192 eval with_$ac_useropt=no ;;
1193
1194 --x)
1195 # Obsolete; use --with-x.
1196 with_x=yes ;;
1197
1198 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1199 | --x-incl | --x-inc | --x-in | --x-i)
1200 ac_prev=x_includes ;;
1201 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1202 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1203 x_includes=$ac_optarg ;;
1204
1205 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1206 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1207 ac_prev=x_libraries ;;
1208 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1209 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1210 x_libraries=$ac_optarg ;;
1211
1212 -*) as_fn_error $? "unrecognized option: '$ac_option'
1213 Try '$0 --help' for more information"
1214 ;;
1215
1216 *=*)
1217 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1218 # Reject names that are not valid shell variable names.
1219 case $ac_envvar in #(
1220 '' | [0-9]* | *[!_$as_cr_alnum]* )
1221 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1222 esac
1223 eval $ac_envvar=\$ac_optarg
1224 export $ac_envvar ;;
1225
1226 *)
1227 # FIXME: should be removed in autoconf 3.0.
1228 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1229 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1230 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1231 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1232 ;;
1233
1234 esac
1235 done
1236
1237 if test -n "$ac_prev"; then
1238 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1239 as_fn_error $? "missing argument to $ac_option"
1240 fi
1241
1242 if test -n "$ac_unrecognized_opts"; then
1243 case $enable_option_checking in
1244 no) ;;
1245 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1246 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1247 esac
1248 fi
1249
1250 # Check all directory arguments for consistency.
1251 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1252 datadir sysconfdir sharedstatedir localstatedir includedir \
1253 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1254 libdir localedir mandir runstatedir
1255 do
1256 eval ac_val=\$$ac_var
1257 # Remove trailing slashes.
1258 case $ac_val in
1259 */ )
1260 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1261 eval $ac_var=\$ac_val;;
1262 esac
1263 # Be sure to have absolute directory names.
1264 case $ac_val in
1265 [\\/$]* | ?:[\\/]* ) continue;;
1266 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1267 esac
1268 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1269 done
1270
1271 # There might be people who depend on the old broken behavior: '$host'
1272 # used to hold the argument of --host etc.
1273 # FIXME: To remove some day.
1274 build=$build_alias
1275 host=$host_alias
1276 target=$target_alias
1277
1278 # FIXME: To remove some day.
1279 if test "x$host_alias" != x; then
1280 if test "x$build_alias" = x; then
1281 cross_compiling=maybe
1282 elif test "x$build_alias" != "x$host_alias"; then
1283 cross_compiling=yes
1284 fi
1285 fi
1286
1287 ac_tool_prefix=
1288 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1289
1290 test "$silent" = yes && exec 6>/dev/null
1291
1292
1293 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1294 ac_ls_di=`ls -di .` &&
1295 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1296 as_fn_error $? "working directory cannot be determined"
1297 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1298 as_fn_error $? "pwd does not report name of working directory"
1299
1300
1301 # Find the source files, if location was not specified.
1302 if test -z "$srcdir"; then
1303 ac_srcdir_defaulted=yes
1304 # Try the directory containing this script, then the parent directory.
1305 ac_confdir=`$as_dirname -- "$as_myself" ||
1306 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1307 X"$as_myself" : 'X\(//\)[^/]' \| \
1308 X"$as_myself" : 'X\(//\)$' \| \
1309 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1310 printf "%s\n" X"$as_myself" |
1311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1312 s//\1/
1313 q
1314 }
1315 /^X\(\/\/\)[^/].*/{
1316 s//\1/
1317 q
1318 }
1319 /^X\(\/\/\)$/{
1320 s//\1/
1321 q
1322 }
1323 /^X\(\/\).*/{
1324 s//\1/
1325 q
1326 }
1327 s/.*/./; q'`
1328 srcdir=$ac_confdir
1329 if test ! -r "$srcdir/$ac_unique_file"; then
1330 srcdir=..
1331 fi
1332 else
1333 ac_srcdir_defaulted=no
1334 fi
1335 if test ! -r "$srcdir/$ac_unique_file"; then
1336 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1337 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1338 fi
1339 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1340 ac_abs_confdir=`(
1341 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1342 pwd)`
1343 # When building in place, set srcdir=.
1344 if test "$ac_abs_confdir" = "$ac_pwd"; then
1345 srcdir=.
1346 fi
1347 # Remove unnecessary trailing slashes from srcdir.
1348 # Double slashes in file names in object file debugging info
1349 # mess up M-x gdb in Emacs.
1350 case $srcdir in
1351 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1352 esac
1353 for ac_var in $ac_precious_vars; do
1354 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1355 eval ac_env_${ac_var}_value=\$${ac_var}
1356 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1357 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1358 done
1359
1360 #
1361 # Report the --help message.
1362 #
1363 if test "$ac_init_help" = "long"; then
1364 # Omit some internal or obsolete options to make the list less imposing.
1365 # This message is too long to be a string in the A/UX 3.1 sh.
1366 cat <<_ACEOF
1367 'configure' configures ttfdump (TeX Live) 0.5.6 to adapt to many kinds of systems.
1368
1369 Usage: $0 [OPTION]... [VAR=VALUE]...
1370
1371 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1372 VAR=VALUE. See below for descriptions of some of the useful variables.
1373
1374 Defaults for the options are specified in brackets.
1375
1376 Configuration:
1377 -h, --help display this help and exit
1378 --help=short display options specific to this package
1379 --help=recursive display the short help of all the included packages
1380 -V, --version display version information and exit
1381 -q, --quiet, --silent do not print 'checking ...' messages
1382 --cache-file=FILE cache test results in FILE [disabled]
1383 -C, --config-cache alias for '--cache-file=config.cache'
1384 -n, --no-create do not create output files
1385 --srcdir=DIR find the sources in DIR [configure dir or '..']
1386
1387 Installation directories:
1388 --prefix=PREFIX install architecture-independent files in PREFIX
1389 [$ac_default_prefix]
1390 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1391 [PREFIX]
1392
1393 By default, 'make install' will install all the files in
1394 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1395 an installation prefix other than '$ac_default_prefix' using '--prefix',
1396 for instance '--prefix=\$HOME'.
1397
1398 For better control, use the options below.
1399
1400 Fine tuning of the installation directories:
1401 --bindir=DIR user executables [EPREFIX/bin]
1402 --sbindir=DIR system admin executables [EPREFIX/sbin]
1403 --libexecdir=DIR program executables [EPREFIX/libexec]
1404 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1405 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1406 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1407 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1408 --libdir=DIR object code libraries [EPREFIX/lib]
1409 --includedir=DIR C header files [PREFIX/include]
1410 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1411 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1412 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1413 --infodir=DIR info documentation [DATAROOTDIR/info]
1414 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1415 --mandir=DIR man documentation [DATAROOTDIR/man]
1416 --docdir=DIR documentation root
1417 [DATAROOTDIR/doc/ttfdump--tex-live-]
1418 --htmldir=DIR html documentation [DOCDIR]
1419 --dvidir=DIR dvi documentation [DOCDIR]
1420 --pdfdir=DIR pdf documentation [DOCDIR]
1421 --psdir=DIR ps documentation [DOCDIR]
1422 _ACEOF
1423
1424 cat <<\_ACEOF
1425
1426 Program names:
1427 --program-prefix=PREFIX prepend PREFIX to installed program names
1428 --program-suffix=SUFFIX append SUFFIX to installed program names
1429 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1430
1431 System types:
1432 --build=BUILD configure for building on BUILD [guessed]
1433 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1434 _ACEOF
1435 fi
1436
1437 if test -n "$ac_init_help"; then
1438 case $ac_init_help in
1439 short | recursive ) echo "Configuration of ttfdump (TeX Live) 0.5.6:";;
1440 esac
1441 cat <<\_ACEOF
1442
1443 Optional Features:
1444 --disable-option-checking ignore unrecognized --enable/--with options
1445 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1446 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1447 --enable-silent-rules less verbose build output (undo: "make V=1")
1448 --disable-silent-rules verbose build output (undo: "make V=0")
1449 --enable-maintainer-mode
1450 enable make rules and dependencies not useful (and
1451 sometimes confusing) to the casual installer
1452 --enable-dependency-tracking
1453 do not reject slow dependency extractors
1454 --disable-dependency-tracking
1455 speeds up one-time build
1456 --enable-compiler-warnings=[no|min|yes|max|all]
1457 Turn on compiler warnings [default: yes if
1458 maintainer-mode, min otherwise]
1459 --enable-shared[=PKGS] build shared libraries [default=yes]
1460 --enable-static[=PKGS] build static libraries [default=yes]
1461 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1462 both]
1463 --enable-fast-install[=PKGS]
1464 optimize for fast installation [default=yes]
1465 --enable-aix-soname=aix|svr4|both
1466 shared library versioning (aka "SONAME") variant to
1467 provide on AIX, [default=aix].
1468 --disable-libtool-lock avoid locking (might break parallel builds)
1469 --disable-largefile omit support for large files
1470 --enable-year2038 support timestamps after 2038
1471
1472 Optional Packages:
1473 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1474 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1475 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1476 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1477 compiler's sysroot if not specified).
1478 --with-system-kpathsea use installed kpathsea headers and library (requires
1479 pkg-config)
1480
1481 Some influential environment variables:
1482 CC C compiler command
1483 CFLAGS C compiler flags
1484 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1485 nonstandard directory <lib dir>
1486 LIBS libraries to pass to the linker, e.g. -l<library>
1487 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1488 you have headers in a nonstandard directory <include dir>
1489 LT_SYS_LIBRARY_PATH
1490 User-defined run-time library search path.
1491
1492 Use these variables to override the choices made by 'configure' or to help
1493 it to find libraries and programs with nonstandard names/locations.
1494
1495 Report bugs to <[email protected]>.
1496 _ACEOF
1497 ac_status=$?
1498 fi
1499
1500 if test "$ac_init_help" = "recursive"; then
1501 # If there are subdirs, report their specific --help.
1502 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1503 test -d "$ac_dir" ||
1504 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1505 continue
1506 ac_builddir=.
1507
1508 case "$ac_dir" in
1509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1510 *)
1511 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1512 # A ".." for each directory in $ac_dir_suffix.
1513 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1514 case $ac_top_builddir_sub in
1515 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1516 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1517 esac ;;
1518 esac
1519 ac_abs_top_builddir=$ac_pwd
1520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1521 # for backward compatibility:
1522 ac_top_builddir=$ac_top_build_prefix
1523
1524 case $srcdir in
1525 .) # We are building in place.
1526 ac_srcdir=.
1527 ac_top_srcdir=$ac_top_builddir_sub
1528 ac_abs_top_srcdir=$ac_pwd ;;
1529 [\\/]* | ?:[\\/]* ) # Absolute name.
1530 ac_srcdir=$srcdir$ac_dir_suffix;
1531 ac_top_srcdir=$srcdir
1532 ac_abs_top_srcdir=$srcdir ;;
1533 *) # Relative name.
1534 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1535 ac_top_srcdir=$ac_top_build_prefix$srcdir
1536 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1537 esac
1538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1539
1540 cd "$ac_dir" || { ac_status=$?; continue; }
1541 # Check for configure.gnu first; this name is used for a wrapper for
1542 # Metaconfig's "Configure" on case-insensitive file systems.
1543 if test -f "$ac_srcdir/configure.gnu"; then
1544 echo &&
1545 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1546 elif test -f "$ac_srcdir/configure"; then
1547 echo &&
1548 $SHELL "$ac_srcdir/configure" --help=recursive
1549 else
1550 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1551 fi || ac_status=$?
1552 cd "$ac_pwd" || { ac_status=$?; break; }
1553 done
1554 fi
1555
1556 test -n "$ac_init_help" && exit $ac_status
1557 if $ac_init_version; then
1558 cat <<\_ACEOF
1559 ttfdump (TeX Live) configure 0.5.6
1560 generated by GNU Autoconf 2.72
1561
1562 Copyright (C) 2023 Free Software Foundation, Inc.
1563 This configure script is free software; the Free Software Foundation
1564 gives unlimited permission to copy, distribute and modify it.
1565 _ACEOF
1566 exit
1567 fi
1568
1569 ## ------------------------ ##
1570 ## Autoconf initialization. ##
1571 ## ------------------------ ##
1572
1573 # ac_fn_c_try_compile LINENO
1574 # --------------------------
1575 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1576 ac_fn_c_try_compile ()
1577 {
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 rm -f conftest.$ac_objext conftest.beam
1580 if { { ac_try="$ac_compile"
1581 case "(($ac_try" in
1582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1584 esac
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 printf "%s\n" "$ac_try_echo"; } >&5
1587 (eval "$ac_compile") 2>conftest.err
1588 ac_status=$?
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1593 fi
1594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } && {
1596 test -z "$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1598 } && test -s conftest.$ac_objext
1599 then :
1600 ac_retval=0
1601 else case e in #(
1602 e) printf "%s\n" "$as_me: failed program was:" >&5
1603 sed 's/^/| /' conftest.$ac_ext >&5
1604
1605 ac_retval=1 ;;
1606 esac
1607 fi
1608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609 as_fn_set_status $ac_retval
1610
1611 } # ac_fn_c_try_compile
1612
1613 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1614 # -------------------------------------------------------
1615 # Tests whether HEADER exists and can be compiled using the include files in
1616 # INCLUDES, setting the cache variable VAR accordingly.
1617 ac_fn_c_check_header_compile ()
1618 {
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 printf %s "checking for $2... " >&6; }
1622 if eval test \${$3+y}
1623 then :
1624 printf %s "(cached) " >&6
1625 else case e in #(
1626 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1628 $4
1629 #include <$2>
1630 _ACEOF
1631 if ac_fn_c_try_compile "$LINENO"
1632 then :
1633 eval "$3=yes"
1634 else case e in #(
1635 e) eval "$3=no" ;;
1636 esac
1637 fi
1638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1639 esac
1640 fi
1641 eval ac_res=\$$3
1642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643 printf "%s\n" "$ac_res" >&6; }
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645
1646 } # ac_fn_c_check_header_compile
1647
1648 # ac_fn_c_try_link LINENO
1649 # -----------------------
1650 # Try to link conftest.$ac_ext, and return whether this succeeded.
1651 ac_fn_c_try_link ()
1652 {
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1655 if { { ac_try="$ac_link"
1656 case "(($ac_try" in
1657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1659 esac
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 printf "%s\n" "$ac_try_echo"; } >&5
1662 (eval "$ac_link") 2>conftest.err
1663 ac_status=$?
1664 if test -s conftest.err; then
1665 grep -v '^ *+' conftest.err >conftest.er1
1666 cat conftest.er1 >&5
1667 mv -f conftest.er1 conftest.err
1668 fi
1669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && {
1671 test -z "$ac_c_werror_flag" ||
1672 test ! -s conftest.err
1673 } && test -s conftest$ac_exeext && {
1674 test "$cross_compiling" = yes ||
1675 test -x conftest$ac_exeext
1676 }
1677 then :
1678 ac_retval=0
1679 else case e in #(
1680 e) printf "%s\n" "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1682
1683 ac_retval=1 ;;
1684 esac
1685 fi
1686 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1687 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1688 # interfere with the next link command; also delete a directory that is
1689 # left behind by Apple's compiler. We do this before executing the actions.
1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 as_fn_set_status $ac_retval
1693
1694 } # ac_fn_c_try_link
1695
1696 # ac_fn_c_check_func LINENO FUNC VAR
1697 # ----------------------------------
1698 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1699 ac_fn_c_check_func ()
1700 {
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 printf %s "checking for $2... " >&6; }
1704 if eval test \${$3+y}
1705 then :
1706 printf %s "(cached) " >&6
1707 else case e in #(
1708 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1710 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1712 #define $2 innocuous_$2
1713
1714 /* System header to define __stub macros and hopefully few prototypes,
1715 which can conflict with char $2 (void); below. */
1716
1717 #include <limits.h>
1718 #undef $2
1719
1720 /* Override any GCC internal prototype to avoid an error.
1721 Use char because int might match the return type of a GCC
1722 builtin and then its argument prototype would still apply. */
1723 #ifdef __cplusplus
1724 extern "C"
1725 #endif
1726 char $2 (void);
1727 /* The GNU C library defines this for functions which it implements
1728 to always fail with ENOSYS. Some functions are actually named
1729 something starting with __ and the normal name is an alias. */
1730 #if defined __stub_$2 || defined __stub___$2
1731 choke me
1732 #endif
1733
1734 int
1735 main (void)
1736 {
1737 return $2 ();
1738 ;
1739 return 0;
1740 }
1741 _ACEOF
1742 if ac_fn_c_try_link "$LINENO"
1743 then :
1744 eval "$3=yes"
1745 else case e in #(
1746 e) eval "$3=no" ;;
1747 esac
1748 fi
1749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1750 conftest$ac_exeext conftest.$ac_ext ;;
1751 esac
1752 fi
1753 eval ac_res=\$$3
1754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755 printf "%s\n" "$ac_res" >&6; }
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757
1758 } # ac_fn_c_check_func
1759
1760 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1761 # -------------------------------------------
1762 # Tests whether TYPE exists after having included INCLUDES, setting cache
1763 # variable VAR accordingly.
1764 ac_fn_c_check_type ()
1765 {
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 printf %s "checking for $2... " >&6; }
1769 if eval test \${$3+y}
1770 then :
1771 printf %s "(cached) " >&6
1772 else case e in #(
1773 e) eval "$3=no"
1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1776 $4
1777 int
1778 main (void)
1779 {
1780 if (sizeof ($2))
1781 return 0;
1782 ;
1783 return 0;
1784 }
1785 _ACEOF
1786 if ac_fn_c_try_compile "$LINENO"
1787 then :
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1790 $4
1791 int
1792 main (void)
1793 {
1794 if (sizeof (($2)))
1795 return 0;
1796 ;
1797 return 0;
1798 }
1799 _ACEOF
1800 if ac_fn_c_try_compile "$LINENO"
1801 then :
1802
1803 else case e in #(
1804 e) eval "$3=yes" ;;
1805 esac
1806 fi
1807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1808 fi
1809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1810 esac
1811 fi
1812 eval ac_res=\$$3
1813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 printf "%s\n" "$ac_res" >&6; }
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816
1817 } # ac_fn_c_check_type
1818
1819 # ac_fn_c_find_intX_t LINENO BITS VAR
1820 # -----------------------------------
1821 # Finds a signed integer type with width BITS, setting cache variable VAR
1822 # accordingly.
1823 ac_fn_c_find_intX_t ()
1824 {
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1827 printf %s "checking for int$2_t... " >&6; }
1828 if eval test \${$3+y}
1829 then :
1830 printf %s "(cached) " >&6
1831 else case e in #(
1832 e) eval "$3=no"
1833 # Order is important - never check a type that is potentially smaller
1834 # than half of the expected target width.
1835 for ac_type in int$2_t 'int' 'long int' \
1836 'long long int' 'short int' 'signed char'; do
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1839 $ac_includes_default
1840 enum { N = $2 / 2 - 1 };
1841 int
1842 main (void)
1843 {
1844 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1845 test_array [0] = 0;
1846 return test_array [0];
1847
1848 ;
1849 return 0;
1850 }
1851 _ACEOF
1852 if ac_fn_c_try_compile "$LINENO"
1853 then :
1854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1856 $ac_includes_default
1857 enum { N = $2 / 2 - 1 };
1858 int
1859 main (void)
1860 {
1861 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1862 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1863 test_array [0] = 0;
1864 return test_array [0];
1865
1866 ;
1867 return 0;
1868 }
1869 _ACEOF
1870 if ac_fn_c_try_compile "$LINENO"
1871 then :
1872
1873 else case e in #(
1874 e) case $ac_type in #(
1875 int$2_t) :
1876 eval "$3=yes" ;; #(
1877 *) :
1878 eval "$3=\$ac_type" ;;
1879 esac ;;
1880 esac
1881 fi
1882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1883 fi
1884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1885 if eval test \"x\$"$3"\" = x"no"
1886 then :
1887
1888 else case e in #(
1889 e) break ;;
1890 esac
1891 fi
1892 done ;;
1893 esac
1894 fi
1895 eval ac_res=\$$3
1896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 printf "%s\n" "$ac_res" >&6; }
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899
1900 } # ac_fn_c_find_intX_t
1901
1902 # ac_fn_c_find_uintX_t LINENO BITS VAR
1903 # ------------------------------------
1904 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1905 # accordingly.
1906 ac_fn_c_find_uintX_t ()
1907 {
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1910 printf %s "checking for uint$2_t... " >&6; }
1911 if eval test \${$3+y}
1912 then :
1913 printf %s "(cached) " >&6
1914 else case e in #(
1915 e) eval "$3=no"
1916 # Order is important - never check a type that is potentially smaller
1917 # than half of the expected target width.
1918 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1919 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 $ac_includes_default
1923 int
1924 main (void)
1925 {
1926 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1927 test_array [0] = 0;
1928 return test_array [0];
1929
1930 ;
1931 return 0;
1932 }
1933 _ACEOF
1934 if ac_fn_c_try_compile "$LINENO"
1935 then :
1936 case $ac_type in #(
1937 uint$2_t) :
1938 eval "$3=yes" ;; #(
1939 *) :
1940 eval "$3=\$ac_type" ;;
1941 esac
1942 fi
1943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1944 if eval test \"x\$"$3"\" = x"no"
1945 then :
1946
1947 else case e in #(
1948 e) break ;;
1949 esac
1950 fi
1951 done ;;
1952 esac
1953 fi
1954 eval ac_res=\$$3
1955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 printf "%s\n" "$ac_res" >&6; }
1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958
1959 } # ac_fn_c_find_uintX_t
1960
1961 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1962 # ------------------------------------------------------------------
1963 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1964 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1965 ac_fn_check_decl ()
1966 {
1967 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968 as_decl_name=`echo $2|sed 's/ *(.*//'`
1969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1970 printf %s "checking whether $as_decl_name is declared... " >&6; }
1971 if eval test \${$3+y}
1972 then :
1973 printf %s "(cached) " >&6
1974 else case e in #(
1975 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1976 eval ac_save_FLAGS=\$$6
1977 as_fn_append $6 " $5"
1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979 /* end confdefs.h. */
1980 $4
1981 int
1982 main (void)
1983 {
1984 #ifndef $as_decl_name
1985 #ifdef __cplusplus
1986 (void) $as_decl_use;
1987 #else
1988 (void) $as_decl_name;
1989 #endif
1990 #endif
1991
1992 ;
1993 return 0;
1994 }
1995 _ACEOF
1996 if ac_fn_c_try_compile "$LINENO"
1997 then :
1998 eval "$3=yes"
1999 else case e in #(
2000 e) eval "$3=no" ;;
2001 esac
2002 fi
2003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2004 eval $6=\$ac_save_FLAGS
2005 ;;
2006 esac
2007 fi
2008 eval ac_res=\$$3
2009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 printf "%s\n" "$ac_res" >&6; }
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012
2013 } # ac_fn_check_decl
2014
2015 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2016 # ----------------------------------------------------
2017 # Tries to find if the field MEMBER exists in type AGGR, after including
2018 # INCLUDES, setting cache variable VAR accordingly.
2019 ac_fn_c_check_member ()
2020 {
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2023 printf %s "checking for $2.$3... " >&6; }
2024 if eval test \${$4+y}
2025 then :
2026 printf %s "(cached) " >&6
2027 else case e in #(
2028 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2030 $5
2031 int
2032 main (void)
2033 {
2034 static $2 ac_aggr;
2035 if (ac_aggr.$3)
2036 return 0;
2037 ;
2038 return 0;
2039 }
2040 _ACEOF
2041 if ac_fn_c_try_compile "$LINENO"
2042 then :
2043 eval "$4=yes"
2044 else case e in #(
2045 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2047 $5
2048 int
2049 main (void)
2050 {
2051 static $2 ac_aggr;
2052 if (sizeof ac_aggr.$3)
2053 return 0;
2054 ;
2055 return 0;
2056 }
2057 _ACEOF
2058 if ac_fn_c_try_compile "$LINENO"
2059 then :
2060 eval "$4=yes"
2061 else case e in #(
2062 e) eval "$4=no" ;;
2063 esac
2064 fi
2065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2066 esac
2067 fi
2068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2069 esac
2070 fi
2071 eval ac_res=\$$4
2072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 printf "%s\n" "$ac_res" >&6; }
2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075
2076 } # ac_fn_c_check_member
2077
2078 # ac_fn_c_try_run LINENO
2079 # ----------------------
2080 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2081 # executables *can* be run.
2082 ac_fn_c_try_run ()
2083 {
2084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2085 if { { ac_try="$ac_link"
2086 case "(($ac_try" in
2087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2088 *) ac_try_echo=$ac_try;;
2089 esac
2090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091 printf "%s\n" "$ac_try_echo"; } >&5
2092 (eval "$ac_link") 2>&5
2093 ac_status=$?
2094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2095 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2096 { { case "(($ac_try" in
2097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2098 *) ac_try_echo=$ac_try;;
2099 esac
2100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2101 printf "%s\n" "$ac_try_echo"; } >&5
2102 (eval "$ac_try") 2>&5
2103 ac_status=$?
2104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2105 test $ac_status = 0; }; }
2106 then :
2107 ac_retval=0
2108 else case e in #(
2109 e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2110 printf "%s\n" "$as_me: failed program was:" >&5
2111 sed 's/^/| /' conftest.$ac_ext >&5
2112
2113 ac_retval=$ac_status ;;
2114 esac
2115 fi
2116 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2118 as_fn_set_status $ac_retval
2119
2120 } # ac_fn_c_try_run
2121
2122 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2123 # --------------------------------------------
2124 # Tries to find the compile-time value of EXPR in a program that includes
2125 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2126 # computed
2127 ac_fn_c_compute_int ()
2128 {
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 if test "$cross_compiling" = yes; then
2131 # Depending upon the size, compute the lo and hi bounds.
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2134 $4
2135 int
2136 main (void)
2137 {
2138 static int test_array [1 - 2 * !(($2) >= 0)];
2139 test_array [0] = 0;
2140 return test_array [0];
2141
2142 ;
2143 return 0;
2144 }
2145 _ACEOF
2146 if ac_fn_c_try_compile "$LINENO"
2147 then :
2148 ac_lo=0 ac_mid=0
2149 while :; do
2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2152 $4
2153 int
2154 main (void)
2155 {
2156 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2157 test_array [0] = 0;
2158 return test_array [0];
2159
2160 ;
2161 return 0;
2162 }
2163 _ACEOF
2164 if ac_fn_c_try_compile "$LINENO"
2165 then :
2166 ac_hi=$ac_mid; break
2167 else case e in #(
2168 e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2169 if test $ac_lo -le $ac_mid; then
2170 ac_lo= ac_hi=
2171 break
2172 fi
2173 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;;
2174 esac
2175 fi
2176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2177 done
2178 else case e in #(
2179 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2181 $4
2182 int
2183 main (void)
2184 {
2185 static int test_array [1 - 2 * !(($2) < 0)];
2186 test_array [0] = 0;
2187 return test_array [0];
2188
2189 ;
2190 return 0;
2191 }
2192 _ACEOF
2193 if ac_fn_c_try_compile "$LINENO"
2194 then :
2195 ac_hi=-1 ac_mid=-1
2196 while :; do
2197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h. */
2199 $4
2200 int
2201 main (void)
2202 {
2203 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2204 test_array [0] = 0;
2205 return test_array [0];
2206
2207 ;
2208 return 0;
2209 }
2210 _ACEOF
2211 if ac_fn_c_try_compile "$LINENO"
2212 then :
2213 ac_lo=$ac_mid; break
2214 else case e in #(
2215 e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2216 if test $ac_mid -le $ac_hi; then
2217 ac_lo= ac_hi=
2218 break
2219 fi
2220 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;;
2221 esac
2222 fi
2223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2224 done
2225 else case e in #(
2226 e) ac_lo= ac_hi= ;;
2227 esac
2228 fi
2229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2230 esac
2231 fi
2232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2233 # Binary search between lo and hi bounds.
2234 while test "x$ac_lo" != "x$ac_hi"; do
2235 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2237 /* end confdefs.h. */
2238 $4
2239 int
2240 main (void)
2241 {
2242 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2243 test_array [0] = 0;
2244 return test_array [0];
2245
2246 ;
2247 return 0;
2248 }
2249 _ACEOF
2250 if ac_fn_c_try_compile "$LINENO"
2251 then :
2252 ac_hi=$ac_mid
2253 else case e in #(
2254 e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;;
2255 esac
2256 fi
2257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2258 done
2259 case $ac_lo in #((
2260 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2261 '') ac_retval=1 ;;
2262 esac
2263 else
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2266 $4
2267 static long int longval (void) { return $2; }
2268 static unsigned long int ulongval (void) { return $2; }
2269 #include <stdio.h>
2270 #include <stdlib.h>
2271 int
2272 main (void)
2273 {
2274
2275 FILE *f = fopen ("conftest.val", "w");
2276 if (! f)
2277 return 1;
2278 if (($2) < 0)
2279 {
2280 long int i = longval ();
2281 if (i != ($2))
2282 return 1;
2283 fprintf (f, "%ld", i);
2284 }
2285 else
2286 {
2287 unsigned long int i = ulongval ();
2288 if (i != ($2))
2289 return 1;
2290 fprintf (f, "%lu", i);
2291 }
2292 /* Do not output a trailing newline, as this causes \r\n confusion
2293 on some platforms. */
2294 return ferror (f) || fclose (f) != 0;
2295
2296 ;
2297 return 0;
2298 }
2299 _ACEOF
2300 if ac_fn_c_try_run "$LINENO"
2301 then :
2302 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2303 else case e in #(
2304 e) ac_retval=1 ;;
2305 esac
2306 fi
2307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2308 conftest.$ac_objext conftest.beam conftest.$ac_ext
2309 rm -f conftest.val
2310
2311 fi
2312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2313 as_fn_set_status $ac_retval
2314
2315 } # ac_fn_c_compute_int
2316 ac_configure_args_raw=
2317 for ac_arg
2318 do
2319 case $ac_arg in
2320 *\'*)
2321 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2322 esac
2323 as_fn_append ac_configure_args_raw " '$ac_arg'"
2324 done
2325
2326 case $ac_configure_args_raw in
2327 *$as_nl*)
2328 ac_safe_unquote= ;;
2329 *)
2330 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2331 ac_unsafe_a="$ac_unsafe_z#~"
2332 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2333 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2334 esac
2335
2336 cat >config.log <<_ACEOF
2337 This file contains any messages produced by compilers while
2338 running configure, to aid debugging if configure makes a mistake.
2339
2340 It was created by ttfdump (TeX Live) $as_me 0.5.6, which was
2341 generated by GNU Autoconf 2.72. Invocation command line was
2342
2343 $ $0$ac_configure_args_raw
2344
2345 _ACEOF
2346 exec 5>>config.log
2347 {
2348 cat <<_ASUNAME
2349 ## --------- ##
2350 ## Platform. ##
2351 ## --------- ##
2352
2353 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2354 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2355 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2356 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2357 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2358
2359 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2360 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2361
2362 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2363 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2364 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2365 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2366 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2367 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2368 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2369
2370 _ASUNAME
2371
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 for as_dir in $PATH
2374 do
2375 IFS=$as_save_IFS
2376 case $as_dir in #(((
2377 '') as_dir=./ ;;
2378 */) ;;
2379 *) as_dir=$as_dir/ ;;
2380 esac
2381 printf "%s\n" "PATH: $as_dir"
2382 done
2383 IFS=$as_save_IFS
2384
2385 } >&5
2386
2387 cat >&5 <<_ACEOF
2388
2389
2390 ## ----------- ##
2391 ## Core tests. ##
2392 ## ----------- ##
2393
2394 _ACEOF
2395
2396
2397 # Keep a trace of the command line.
2398 # Strip out --no-create and --no-recursion so they do not pile up.
2399 # Strip out --silent because we don't want to record it for future runs.
2400 # Also quote any args containing shell meta-characters.
2401 # Make two passes to allow for proper duplicate-argument suppression.
2402 ac_configure_args=
2403 ac_configure_args0=
2404 ac_configure_args1=
2405 ac_must_keep_next=false
2406 for ac_pass in 1 2
2407 do
2408 for ac_arg
2409 do
2410 case $ac_arg in
2411 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2412 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2413 | -silent | --silent | --silen | --sile | --sil)
2414 continue ;;
2415 *\'*)
2416 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2417 esac
2418 case $ac_pass in
2419 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2420 2)
2421 as_fn_append ac_configure_args1 " '$ac_arg'"
2422 if test $ac_must_keep_next = true; then
2423 ac_must_keep_next=false # Got value, back to normal.
2424 else
2425 case $ac_arg in
2426 *=* | --config-cache | -C | -disable-* | --disable-* \
2427 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2428 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2429 | -with-* | --with-* | -without-* | --without-* | --x)
2430 case "$ac_configure_args0 " in
2431 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2432 esac
2433 ;;
2434 -* ) ac_must_keep_next=true ;;
2435 esac
2436 fi
2437 as_fn_append ac_configure_args " '$ac_arg'"
2438 ;;
2439 esac
2440 done
2441 done
2442 { ac_configure_args0=; unset ac_configure_args0;}
2443 { ac_configure_args1=; unset ac_configure_args1;}
2444
2445 # When interrupted or exit'd, cleanup temporary files, and complete
2446 # config.log. We remove comments because anyway the quotes in there
2447 # would cause problems or look ugly.
2448 # WARNING: Use '\'' to represent an apostrophe within the trap.
2449 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2450 trap 'exit_status=$?
2451 # Sanitize IFS.
2452 IFS=" "" $as_nl"
2453 # Save into config.log some information that might help in debugging.
2454 {
2455 echo
2456
2457 printf "%s\n" "## ---------------- ##
2458 ## Cache variables. ##
2459 ## ---------------- ##"
2460 echo
2461 # The following way of writing the cache mishandles newlines in values,
2462 (
2463 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2464 eval ac_val=\$$ac_var
2465 case $ac_val in #(
2466 *${as_nl}*)
2467 case $ac_var in #(
2468 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2469 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2470 esac
2471 case $ac_var in #(
2472 _ | IFS | as_nl) ;; #(
2473 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2474 *) { eval $ac_var=; unset $ac_var;} ;;
2475 esac ;;
2476 esac
2477 done
2478 (set) 2>&1 |
2479 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2480 *${as_nl}ac_space=\ *)
2481 sed -n \
2482 "s/'\''/'\''\\\\'\'''\''/g;
2483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2484 ;; #(
2485 *)
2486 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2487 ;;
2488 esac |
2489 sort
2490 )
2491 echo
2492
2493 printf "%s\n" "## ----------------- ##
2494 ## Output variables. ##
2495 ## ----------------- ##"
2496 echo
2497 for ac_var in $ac_subst_vars
2498 do
2499 eval ac_val=\$$ac_var
2500 case $ac_val in
2501 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2502 esac
2503 printf "%s\n" "$ac_var='\''$ac_val'\''"
2504 done | sort
2505 echo
2506
2507 if test -n "$ac_subst_files"; then
2508 printf "%s\n" "## ------------------- ##
2509 ## File substitutions. ##
2510 ## ------------------- ##"
2511 echo
2512 for ac_var in $ac_subst_files
2513 do
2514 eval ac_val=\$$ac_var
2515 case $ac_val in
2516 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2517 esac
2518 printf "%s\n" "$ac_var='\''$ac_val'\''"
2519 done | sort
2520 echo
2521 fi
2522
2523 if test -s confdefs.h; then
2524 printf "%s\n" "## ----------- ##
2525 ## confdefs.h. ##
2526 ## ----------- ##"
2527 echo
2528 cat confdefs.h
2529 echo
2530 fi
2531 test "$ac_signal" != 0 &&
2532 printf "%s\n" "$as_me: caught signal $ac_signal"
2533 printf "%s\n" "$as_me: exit $exit_status"
2534 } >&5
2535 rm -f core *.core core.conftest.* &&
2536 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2537 exit $exit_status
2538 ' 0
2539 for ac_signal in 1 2 13 15; do
2540 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2541 done
2542 ac_signal=0
2543
2544 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2545 rm -f -r conftest* confdefs.h
2546
2547 printf "%s\n" "/* confdefs.h */" > confdefs.h
2548
2549 # Predefined preprocessor variables.
2550
2551 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2552
2553 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2554
2555 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2556
2557 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2558
2559 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2560
2561 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2562
2563
2564 # Let the site file select an alternate cache file if it wants to.
2565 # Prefer an explicitly selected file to automatically selected ones.
2566 if test -n "$CONFIG_SITE"; then
2567 ac_site_files="$CONFIG_SITE"
2568 elif test "x$prefix" != xNONE; then
2569 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2570 else
2571 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2572 fi
2573
2574 for ac_site_file in $ac_site_files
2575 do
2576 case $ac_site_file in #(
2577 */*) :
2578 ;; #(
2579 *) :
2580 ac_site_file=./$ac_site_file ;;
2581 esac
2582 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2584 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2585 sed 's/^/| /' "$ac_site_file" >&5
2586 . "$ac_site_file" \
2587 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2588 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2589 as_fn_error $? "failed to load site script $ac_site_file
2590 See 'config.log' for more details" "$LINENO" 5; }
2591 fi
2592 done
2593
2594 if test -r "$cache_file"; then
2595 # Some versions of bash will fail to source /dev/null (special files
2596 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2597 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2599 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2600 case $cache_file in
2601 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2602 *) . "./$cache_file";;
2603 esac
2604 fi
2605 else
2606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2607 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2608 >$cache_file
2609 fi
2610
2611 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2612 # Test code for whether the C compiler supports C89 (global declarations)
2613 ac_c_conftest_c89_globals='
2614 /* Does the compiler advertise C89 conformance?
2615 Do not test the value of __STDC__, because some compilers set it to 0
2616 while being otherwise adequately conformant. */
2617 #if !defined __STDC__
2618 # error "Compiler does not advertise C89 conformance"
2619 #endif
2620
2621 #include <stddef.h>
2622 #include <stdarg.h>
2623 struct stat;
2624 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2625 struct buf { int x; };
2626 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2627 static char *e (char **p, int i)
2628 {
2629 return p[i];
2630 }
2631 static char *f (char * (*g) (char **, int), char **p, ...)
2632 {
2633 char *s;
2634 va_list v;
2635 va_start (v,p);
2636 s = g (p, va_arg (v,int));
2637 va_end (v);
2638 return s;
2639 }
2640
2641 /* C89 style stringification. */
2642 #define noexpand_stringify(a) #a
2643 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2644
2645 /* C89 style token pasting. Exercises some of the corner cases that
2646 e.g. old MSVC gets wrong, but not very hard. */
2647 #define noexpand_concat(a,b) a##b
2648 #define expand_concat(a,b) noexpand_concat(a,b)
2649 extern int vA;
2650 extern int vbee;
2651 #define aye A
2652 #define bee B
2653 int *pvA = &expand_concat(v,aye);
2654 int *pvbee = &noexpand_concat(v,bee);
2655
2656 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2657 function prototypes and stuff, but not \xHH hex character constants.
2658 These do not provoke an error unfortunately, instead are silently treated
2659 as an "x". The following induces an error, until -std is added to get
2660 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2661 array size at least. It is necessary to write \x00 == 0 to get something
2662 that is true only with -std. */
2663 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2664
2665 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2666 inside strings and character constants. */
2667 #define FOO(x) '\''x'\''
2668 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2669
2670 int test (int i, double x);
2671 struct s1 {int (*f) (int a);};
2672 struct s2 {int (*f) (double a);};
2673 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2674 int, int);'
2675
2676 # Test code for whether the C compiler supports C89 (body of main).
2677 ac_c_conftest_c89_main='
2678 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2679 '
2680
2681 # Test code for whether the C compiler supports C99 (global declarations)
2682 ac_c_conftest_c99_globals='
2683 /* Does the compiler advertise C99 conformance? */
2684 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2685 # error "Compiler does not advertise C99 conformance"
2686 #endif
2687
2688 // See if C++-style comments work.
2689
2690 #include <stdbool.h>
2691 extern int puts (const char *);
2692 extern int printf (const char *, ...);
2693 extern int dprintf (int, const char *, ...);
2694 extern void *malloc (size_t);
2695 extern void free (void *);
2696
2697 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2698 // dprintf is used instead of fprintf to avoid needing to declare
2699 // FILE and stderr.
2700 #define debug(...) dprintf (2, __VA_ARGS__)
2701 #define showlist(...) puts (#__VA_ARGS__)
2702 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2703 static void
2704 test_varargs_macros (void)
2705 {
2706 int x = 1234;
2707 int y = 5678;
2708 debug ("Flag");
2709 debug ("X = %d\n", x);
2710 showlist (The first, second, and third items.);
2711 report (x>y, "x is %d but y is %d", x, y);
2712 }
2713
2714 // Check long long types.
2715 #define BIG64 18446744073709551615ull
2716 #define BIG32 4294967295ul
2717 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2718 #if !BIG_OK
2719 #error "your preprocessor is broken"
2720 #endif
2721 #if BIG_OK
2722 #else
2723 #error "your preprocessor is broken"
2724 #endif
2725 static long long int bignum = -9223372036854775807LL;
2726 static unsigned long long int ubignum = BIG64;
2727
2728 struct incomplete_array
2729 {
2730 int datasize;
2731 double data[];
2732 };
2733
2734 struct named_init {
2735 int number;
2736 const wchar_t *name;
2737 double average;
2738 };
2739
2740 typedef const char *ccp;
2741
2742 static inline int
2743 test_restrict (ccp restrict text)
2744 {
2745 // Iterate through items via the restricted pointer.
2746 // Also check for declarations in for loops.
2747 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2748 continue;
2749 return 0;
2750 }
2751
2752 // Check varargs and va_copy.
2753 static bool
2754 test_varargs (const char *format, ...)
2755 {
2756 va_list args;
2757 va_start (args, format);
2758 va_list args_copy;
2759 va_copy (args_copy, args);
2760
2761 const char *str = "";
2762 int number = 0;
2763 float fnumber = 0;
2764
2765 while (*format)
2766 {
2767 switch (*format++)
2768 {
2769 case '\''s'\'': // string
2770 str = va_arg (args_copy, const char *);
2771 break;
2772 case '\''d'\'': // int
2773 number = va_arg (args_copy, int);
2774 break;
2775 case '\''f'\'': // float
2776 fnumber = va_arg (args_copy, double);
2777 break;
2778 default:
2779 break;
2780 }
2781 }
2782 va_end (args_copy);
2783 va_end (args);
2784
2785 return *str && number && fnumber;
2786 }
2787 '
2788
2789 # Test code for whether the C compiler supports C99 (body of main).
2790 ac_c_conftest_c99_main='
2791 // Check bool.
2792 _Bool success = false;
2793 success |= (argc != 0);
2794
2795 // Check restrict.
2796 if (test_restrict ("String literal") == 0)
2797 success = true;
2798 char *restrict newvar = "Another string";
2799
2800 // Check varargs.
2801 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2802 test_varargs_macros ();
2803
2804 // Check flexible array members.
2805 struct incomplete_array *ia =
2806 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2807 ia->datasize = 10;
2808 for (int i = 0; i < ia->datasize; ++i)
2809 ia->data[i] = i * 1.234;
2810 // Work around memory leak warnings.
2811 free (ia);
2812
2813 // Check named initializers.
2814 struct named_init ni = {
2815 .number = 34,
2816 .name = L"Test wide string",
2817 .average = 543.34343,
2818 };
2819
2820 ni.number = 58;
2821
2822 int dynamic_array[ni.number];
2823 dynamic_array[0] = argv[0][0];
2824 dynamic_array[ni.number - 1] = 543;
2825
2826 // work around unused variable warnings
2827 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2828 || dynamic_array[ni.number - 1] != 543);
2829 '
2830
2831 # Test code for whether the C compiler supports C11 (global declarations)
2832 ac_c_conftest_c11_globals='
2833 /* Does the compiler advertise C11 conformance? */
2834 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2835 # error "Compiler does not advertise C11 conformance"
2836 #endif
2837
2838 // Check _Alignas.
2839 char _Alignas (double) aligned_as_double;
2840 char _Alignas (0) no_special_alignment;
2841 extern char aligned_as_int;
2842 char _Alignas (0) _Alignas (int) aligned_as_int;
2843
2844 // Check _Alignof.
2845 enum
2846 {
2847 int_alignment = _Alignof (int),
2848 int_array_alignment = _Alignof (int[100]),
2849 char_alignment = _Alignof (char)
2850 };
2851 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2852
2853 // Check _Noreturn.
2854 int _Noreturn does_not_return (void) { for (;;) continue; }
2855
2856 // Check _Static_assert.
2857 struct test_static_assert
2858 {
2859 int x;
2860 _Static_assert (sizeof (int) <= sizeof (long int),
2861 "_Static_assert does not work in struct");
2862 long int y;
2863 };
2864
2865 // Check UTF-8 literals.
2866 #define u8 syntax error!
2867 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2868
2869 // Check duplicate typedefs.
2870 typedef long *long_ptr;
2871 typedef long int *long_ptr;
2872 typedef long_ptr long_ptr;
2873
2874 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2875 struct anonymous
2876 {
2877 union {
2878 struct { int i; int j; };
2879 struct { int k; long int l; } w;
2880 };
2881 int m;
2882 } v1;
2883 '
2884
2885 # Test code for whether the C compiler supports C11 (body of main).
2886 ac_c_conftest_c11_main='
2887 _Static_assert ((offsetof (struct anonymous, i)
2888 == offsetof (struct anonymous, w.k)),
2889 "Anonymous union alignment botch");
2890 v1.i = 2;
2891 v1.w.k = 5;
2892 ok |= v1.i != 5;
2893 '
2894
2895 # Test code for whether the C compiler supports C11 (complete).
2896 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2897 ${ac_c_conftest_c99_globals}
2898 ${ac_c_conftest_c11_globals}
2899
2900 int
2901 main (int argc, char **argv)
2902 {
2903 int ok = 0;
2904 ${ac_c_conftest_c89_main}
2905 ${ac_c_conftest_c99_main}
2906 ${ac_c_conftest_c11_main}
2907 return ok;
2908 }
2909 "
2910
2911 # Test code for whether the C compiler supports C99 (complete).
2912 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2913 ${ac_c_conftest_c99_globals}
2914
2915 int
2916 main (int argc, char **argv)
2917 {
2918 int ok = 0;
2919 ${ac_c_conftest_c89_main}
2920 ${ac_c_conftest_c99_main}
2921 return ok;
2922 }
2923 "
2924
2925 # Test code for whether the C compiler supports C89 (complete).
2926 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2927
2928 int
2929 main (int argc, char **argv)
2930 {
2931 int ok = 0;
2932 ${ac_c_conftest_c89_main}
2933 return ok;
2934 }
2935 "
2936
2937 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2938 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2939 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2940 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2941 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2942 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2943 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2944 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2945 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2946 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2947
2948 # Auxiliary files required by this configure script.
2949 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2950
2951 # Locations in which to look for auxiliary files.
2952 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2953
2954 # Search for a directory containing all of the required auxiliary files,
2955 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2956 # If we don't find one directory that contains all the files we need,
2957 # we report the set of missing files from the *first* directory in
2958 # $ac_aux_dir_candidates and give up.
2959 ac_missing_aux_files=""
2960 ac_first_candidate=:
2961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 as_found=false
2964 for as_dir in $ac_aux_dir_candidates
2965 do
2966 IFS=$as_save_IFS
2967 case $as_dir in #(((
2968 '') as_dir=./ ;;
2969 */) ;;
2970 *) as_dir=$as_dir/ ;;
2971 esac
2972 as_found=:
2973
2974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2975 ac_aux_dir_found=yes
2976 ac_install_sh=
2977 for ac_aux in $ac_aux_files
2978 do
2979 # As a special case, if "install-sh" is required, that requirement
2980 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2981 # and $ac_install_sh is set appropriately for whichever one is found.
2982 if test x"$ac_aux" = x"install-sh"
2983 then
2984 if test -f "${as_dir}install-sh"; then
2985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2986 ac_install_sh="${as_dir}install-sh -c"
2987 elif test -f "${as_dir}install.sh"; then
2988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2989 ac_install_sh="${as_dir}install.sh -c"
2990 elif test -f "${as_dir}shtool"; then
2991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2992 ac_install_sh="${as_dir}shtool install -c"
2993 else
2994 ac_aux_dir_found=no
2995 if $ac_first_candidate; then
2996 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2997 else
2998 break
2999 fi
3000 fi
3001 else
3002 if test -f "${as_dir}${ac_aux}"; then
3003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3004 else
3005 ac_aux_dir_found=no
3006 if $ac_first_candidate; then
3007 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3008 else
3009 break
3010 fi
3011 fi
3012 fi
3013 done
3014 if test "$ac_aux_dir_found" = yes; then
3015 ac_aux_dir="$as_dir"
3016 break
3017 fi
3018 ac_first_candidate=false
3019
3020 as_found=false
3021 done
3022 IFS=$as_save_IFS
3023 if $as_found
3024 then :
3025
3026 else case e in #(
3027 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
3028 esac
3029 fi
3030
3031
3032 # These three variables are undocumented and unsupported,
3033 # and are intended to be withdrawn in a future Autoconf release.
3034 # They can cause serious problems if a builder's source tree is in a directory
3035 # whose full name contains unusual characters.
3036 if test -f "${ac_aux_dir}config.guess"; then
3037 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3038 fi
3039 if test -f "${ac_aux_dir}config.sub"; then
3040 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3041 fi
3042 if test -f "$ac_aux_dir/configure"; then
3043 ac_configure="$SHELL ${ac_aux_dir}configure"
3044 fi
3045
3046 # Check that the precious variables saved in the cache have kept the same
3047 # value.
3048 ac_cache_corrupted=false
3049 for ac_var in $ac_precious_vars; do
3050 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3051 eval ac_new_set=\$ac_env_${ac_var}_set
3052 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3053 eval ac_new_val=\$ac_env_${ac_var}_value
3054 case $ac_old_set,$ac_new_set in
3055 set,)
3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
3057 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
3058 ac_cache_corrupted=: ;;
3059 ,set)
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
3061 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
3062 ac_cache_corrupted=: ;;
3063 ,);;
3064 *)
3065 if test "x$ac_old_val" != "x$ac_new_val"; then
3066 # differences in whitespace do not lead to failure.
3067 ac_old_val_w=`echo x $ac_old_val`
3068 ac_new_val_w=`echo x $ac_new_val`
3069 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
3071 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
3072 ac_cache_corrupted=:
3073 else
3074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
3075 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
3076 eval $ac_var=\$ac_old_val
3077 fi
3078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
3079 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
3080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
3081 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
3082 fi;;
3083 esac
3084 # Pass precious variables to config.status.
3085 if test "$ac_new_set" = set; then
3086 case $ac_new_val in
3087 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3088 *) ac_arg=$ac_var=$ac_new_val ;;
3089 esac
3090 case " $ac_configure_args " in
3091 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3092 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3093 esac
3094 fi
3095 done
3096 if $ac_cache_corrupted; then
3097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3098 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3100 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3101 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
3102 and start over" "$LINENO" 5
3103 fi
3104 ## -------------------- ##
3105 ## Main body of script. ##
3106 ## -------------------- ##
3107
3108 ac_ext=c
3109 ac_cpp='$CPP $CPPFLAGS'
3110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3113
3114
3115
3116
3117
3118
3119
3120 am__api_version='1.18'
3121
3122
3123
3124 # Find a good install program. We prefer a C program (faster),
3125 # so one script is as good as another. But avoid the broken or
3126 # incompatible versions:
3127 # SysV /etc/install, /usr/sbin/install
3128 # SunOS /usr/etc/install
3129 # IRIX /sbin/install
3130 # AIX /bin/install
3131 # AmigaOS /C/install, which installs bootblocks on floppy discs
3132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3135 # OS/2's system install, which has a completely different semantic
3136 # ./install, which can be erroneously created by make from ./install.sh.
3137 # Reject install programs that cannot install multiple files.
3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3139 printf %s "checking for a BSD-compatible install... " >&6; }
3140 if test -z "$INSTALL"; then
3141 if test ${ac_cv_path_install+y}
3142 then :
3143 printf %s "(cached) " >&6
3144 else case e in #(
3145 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 for as_dir in $PATH
3147 do
3148 IFS=$as_save_IFS
3149 case $as_dir in #(((
3150 '') as_dir=./ ;;
3151 */) ;;
3152 *) as_dir=$as_dir/ ;;
3153 esac
3154 # Account for fact that we put trailing slashes in our PATH walk.
3155 case $as_dir in #((
3156 ./ | /[cC]/* | \
3157 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3158 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3159 /usr/ucb/* ) ;;
3160 *)
3161 # OSF1 and SCO ODT 3.0 have their own names for install.
3162 # Don't use installbsd from OSF since it installs stuff as root
3163 # by default.
3164 for ac_prog in ginstall scoinst install; do
3165 for ac_exec_ext in '' $ac_executable_extensions; do
3166 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3167 if test $ac_prog = install &&
3168 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3169 # AIX install. It has an incompatible calling convention.
3170 :
3171 elif test $ac_prog = install &&
3172 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3173 # program-specific install script used by HP pwplus--don't use.
3174 :
3175 else
3176 rm -rf conftest.one conftest.two conftest.dir
3177 echo one > conftest.one
3178 echo two > conftest.two
3179 mkdir conftest.dir
3180 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3181 test -s conftest.one && test -s conftest.two &&
3182 test -s conftest.dir/conftest.one &&
3183 test -s conftest.dir/conftest.two
3184 then
3185 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3186 break 3
3187 fi
3188 fi
3189 fi
3190 done
3191 done
3192 ;;
3193 esac
3194
3195 done
3196 IFS=$as_save_IFS
3197
3198 rm -rf conftest.one conftest.two conftest.dir
3199 ;;
3200 esac
3201 fi
3202 if test ${ac_cv_path_install+y}; then
3203 INSTALL=$ac_cv_path_install
3204 else
3205 # As a last resort, use the slow shell script. Don't cache a
3206 # value for INSTALL within a source directory, because that will
3207 # break other packages using the cache if that directory is
3208 # removed, or if the value is a relative name.
3209 INSTALL=$ac_install_sh
3210 fi
3211 fi
3212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3213 printf "%s\n" "$INSTALL" >&6; }
3214
3215 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3216 # It thinks the first close brace ends the variable substitution.
3217 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3218
3219 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3220
3221 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3222
3223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
3224 printf %s "checking whether sleep supports fractional seconds... " >&6; }
3225 if test ${am_cv_sleep_fractional_seconds+y}
3226 then :
3227 printf %s "(cached) " >&6
3228 else case e in #(
3229 e) if sleep 0.001 2>/dev/null
3230 then :
3231 am_cv_sleep_fractional_seconds=yes
3232 else case e in #(
3233 e) am_cv_sleep_fractional_seconds=no ;;
3234 esac
3235 fi
3236 ;;
3237 esac
3238 fi
3239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3240 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3241
3242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3243 printf %s "checking filesystem timestamp resolution... " >&6; }
3244 if test ${am_cv_filesystem_timestamp_resolution+y}
3245 then :
3246 printf %s "(cached) " >&6
3247 else case e in #(
3248 e) # Default to the worst case.
3249 am_cv_filesystem_timestamp_resolution=2
3250
3251 # Only try to go finer than 1 sec if sleep can do it.
3252 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3253 # - 1 sec is not much of a win compared to 2 sec, and
3254 # - it takes 2 seconds to perform the test whether 1 sec works.
3255 #
3256 # Instead, just use the default 2s on platforms that have 1s resolution,
3257 # accept the extra 1s delay when using $sleep in the Automake tests, in
3258 # exchange for not incurring the 2s delay for running the test for all
3259 # packages.
3260 #
3261 am_try_resolutions=
3262 if test "$am_cv_sleep_fractional_seconds" = yes; then
3263 # Even a millisecond often causes a bunch of false positives,
3264 # so just try a hundredth of a second. The time saved between .001 and
3265 # .01 is not terribly consequential.
3266 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3267 fi
3268
3269 # In order to catch current-generation FAT out, we must *modify* files
3270 # that already exist; the *creation* timestamp is finer. Use names
3271 # that make ls -t sort them differently when they have equal
3272 # timestamps than when they have distinct timestamps, keeping
3273 # in mind that ls -t prints the *newest* file first.
3274 rm -f conftest.ts?
3275 : > conftest.ts1
3276 : > conftest.ts2
3277 : > conftest.ts3
3278
3279 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3280 # clobber the current shell's arguments. (Outer-level square brackets
3281 # are removed by m4; they're present so that m4 does not expand
3282 # <dollar><star>; be careful, easy to get confused.)
3283 if (
3284 set X `ls -t conftest.ts[12]` &&
3285 {
3286 test "$*" != "X conftest.ts1 conftest.ts2" ||
3287 test "$*" != "X conftest.ts2 conftest.ts1";
3288 }
3289 ); then :; else
3290 # If neither matched, then we have a broken ls. This can happen
3291 # if, for instance, CONFIG_SHELL is bash and it inherits a
3292 # broken ls alias from the environment. This has actually
3293 # happened. Such a system could not be considered "sane".
3294 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3295 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3296 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3297 as_fn_error $? "ls -t produces unexpected output.
3298 Make sure there is not a broken ls alias in your environment.
3299 See 'config.log' for more details" "$LINENO" 5; }
3300 fi
3301
3302 for am_try_res in $am_try_resolutions; do
3303 # Any one fine-grained sleep might happen to cross the boundary
3304 # between two values of a coarser actual resolution, but if we do
3305 # two fine-grained sleeps in a row, at least one of them will fall
3306 # entirely within a coarse interval.
3307 echo alpha > conftest.ts1
3308 sleep $am_try_res
3309 echo beta > conftest.ts2
3310 sleep $am_try_res
3311 echo gamma > conftest.ts3
3312
3313 # We assume that 'ls -t' will make use of high-resolution
3314 # timestamps if the operating system supports them at all.
3315 if (set X `ls -t conftest.ts?` &&
3316 test "$2" = conftest.ts3 &&
3317 test "$3" = conftest.ts2 &&
3318 test "$4" = conftest.ts1); then
3319 #
3320 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3321 # because we don't need to test make.
3322 make_ok=true
3323 if test $am_try_res != 1; then
3324 # But if we've succeeded so far with a subsecond resolution, we
3325 # have one more thing to check: make. It can happen that
3326 # everything else supports the subsecond mtimes, but make doesn't;
3327 # notably on macOS, which ships make 3.81 from 2006 (the last one
3328 # released under GPLv2). https://bugs.gnu.org/68808
3329 #
3330 # We test $MAKE if it is defined in the environment, else "make".
3331 # It might get overridden later, but our hope is that in practice
3332 # it does not matter: it is the system "make" which is (by far)
3333 # the most likely to be broken, whereas if the user overrides it,
3334 # probably they did so with a better, or at least not worse, make.
3335 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3336 #
3337 # Create a Makefile (real tab character here):
3338 rm -f conftest.mk
3339 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3340 echo ' touch conftest.ts2' >>conftest.mk
3341 #
3342 # Now, running
3343 # touch conftest.ts1; touch conftest.ts2; make
3344 # should touch ts1 because ts2 is newer. This could happen by luck,
3345 # but most often, it will fail if make's support is insufficient. So
3346 # test for several consecutive successes.
3347 #
3348 # (We reuse conftest.ts[12] because we still want to modify existing
3349 # files, not create new ones, per above.)
3350 n=0
3351 make=${MAKE-make}
3352 until test $n -eq 3; do
3353 echo one > conftest.ts1
3354 sleep $am_try_res
3355 echo two > conftest.ts2 # ts2 should now be newer than ts1
3356 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3357 make_ok=false
3358 break # out of $n loop
3359 fi
3360 n=`expr $n + 1`
3361 done
3362 fi
3363 #
3364 if $make_ok; then
3365 # Everything we know to check worked out, so call this resolution good.
3366 am_cv_filesystem_timestamp_resolution=$am_try_res
3367 break # out of $am_try_res loop
3368 fi
3369 # Otherwise, we'll go on to check the next resolution.
3370 fi
3371 done
3372 rm -f conftest.ts?
3373 # (end _am_filesystem_timestamp_resolution)
3374 ;;
3375 esac
3376 fi
3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3378 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3379
3380 # This check should not be cached, as it may vary across builds of
3381 # different projects.
3382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3383 printf %s "checking whether build environment is sane... " >&6; }
3384 # Reject unsafe characters in $srcdir or the absolute working directory
3385 # name. Accept space and tab only in the latter.
3386 am_lf='
3387 '
3388 case `pwd` in
3389 *[\\\"\#\$\&\'\`$am_lf]*)
3390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391 printf "%s\n" "no" >&6; }
3392 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3393 esac
3394 case $srcdir in
3395 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3397 printf "%s\n" "no" >&6; }
3398 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3399 esac
3400
3401 # Do 'set' in a subshell so we don't clobber the current shell's
3402 # arguments. Must try -L first in case configure is actually a
3403 # symlink; some systems play weird games with the mod time of symlinks
3404 # (eg FreeBSD returns the mod time of the symlink's containing
3405 # directory).
3406 am_build_env_is_sane=no
3407 am_has_slept=no
3408 rm -f conftest.file
3409 for am_try in 1 2; do
3410 echo "timestamp, slept: $am_has_slept" > conftest.file
3411 if (
3412 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3413 if test "$*" = "X"; then
3414 # -L didn't work.
3415 set X `ls -t "$srcdir/configure" conftest.file`
3416 fi
3417 test "$2" = conftest.file
3418 ); then
3419 am_build_env_is_sane=yes
3420 break
3421 fi
3422 # Just in case.
3423 sleep "$am_cv_filesystem_timestamp_resolution"
3424 am_has_slept=yes
3425 done
3426
3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3428 printf "%s\n" "$am_build_env_is_sane" >&6; }
3429 if test "$am_build_env_is_sane" = no; then
3430 as_fn_error $? "newly created file is older than distributed files!
3431 Check your system clock" "$LINENO" 5
3432 fi
3433
3434 # If we didn't sleep, we still need to ensure time stamps of config.status and
3435 # generated files are strictly newer.
3436 am_sleep_pid=
3437 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3438 then :
3439
3440 else case e in #(
3441 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3442 am_sleep_pid=$!
3443 ;;
3444 esac
3445 fi
3446
3447 rm -f conftest.file
3448
3449 test "$program_prefix" != NONE &&
3450 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3451 # Use a double $ so make ignores it.
3452 test "$program_suffix" != NONE &&
3453 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3454 # Double any \ or $.
3455 # By default was 's,x,x', remove it if useless.
3456 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3457 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3458
3459
3460 # Expand $ac_aux_dir to an absolute path.
3461 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3462
3463
3464 if test x"${MISSING+set}" != xset; then
3465 MISSING="\${SHELL} '$am_aux_dir/missing'"
3466 fi
3467 # Use eval to expand $SHELL
3468 if eval "$MISSING --is-lightweight"; then
3469 am_missing_run="$MISSING "
3470 else
3471 am_missing_run=
3472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3473 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3474 fi
3475
3476 if test x"${install_sh+set}" != xset; then
3477 case $am_aux_dir in
3478 *\ * | *\ *)
3479 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3480 *)
3481 install_sh="\${SHELL} $am_aux_dir/install-sh"
3482 esac
3483 fi
3484
3485 # Installed binaries are usually stripped using 'strip' when the user
3486 # run "make install-strip". However 'strip' might not be the right
3487 # tool to use in cross-compilation environments, therefore Automake
3488 # will honor the 'STRIP' environment variable to overrule this program.
3489 if test "$cross_compiling" != no; then
3490 if test -n "$ac_tool_prefix"; then
3491 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3492 set dummy ${ac_tool_prefix}strip; ac_word=$2
3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494 printf %s "checking for $ac_word... " >&6; }
3495 if test ${ac_cv_prog_STRIP+y}
3496 then :
3497 printf %s "(cached) " >&6
3498 else case e in #(
3499 e) if test -n "$STRIP"; then
3500 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3501 else
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 for as_dir in $PATH
3504 do
3505 IFS=$as_save_IFS
3506 case $as_dir in #(((
3507 '') as_dir=./ ;;
3508 */) ;;
3509 *) as_dir=$as_dir/ ;;
3510 esac
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3515 break 2
3516 fi
3517 done
3518 done
3519 IFS=$as_save_IFS
3520
3521 fi ;;
3522 esac
3523 fi
3524 STRIP=$ac_cv_prog_STRIP
3525 if test -n "$STRIP"; then
3526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3527 printf "%s\n" "$STRIP" >&6; }
3528 else
3529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 printf "%s\n" "no" >&6; }
3531 fi
3532
3533
3534 fi
3535 if test -z "$ac_cv_prog_STRIP"; then
3536 ac_ct_STRIP=$STRIP
3537 # Extract the first word of "strip", so it can be a program name with args.
3538 set dummy strip; ac_word=$2
3539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 printf %s "checking for $ac_word... " >&6; }
3541 if test ${ac_cv_prog_ac_ct_STRIP+y}
3542 then :
3543 printf %s "(cached) " >&6
3544 else case e in #(
3545 e) if test -n "$ac_ct_STRIP"; then
3546 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3547 else
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 for as_dir in $PATH
3550 do
3551 IFS=$as_save_IFS
3552 case $as_dir in #(((
3553 '') as_dir=./ ;;
3554 */) ;;
3555 *) as_dir=$as_dir/ ;;
3556 esac
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_ac_ct_STRIP="strip"
3560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3561 break 2
3562 fi
3563 done
3564 done
3565 IFS=$as_save_IFS
3566
3567 fi ;;
3568 esac
3569 fi
3570 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3571 if test -n "$ac_ct_STRIP"; then
3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3573 printf "%s\n" "$ac_ct_STRIP" >&6; }
3574 else
3575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 printf "%s\n" "no" >&6; }
3577 fi
3578
3579 if test "x$ac_ct_STRIP" = x; then
3580 STRIP=":"
3581 else
3582 case $cross_compiling:$ac_tool_warned in
3583 yes:)
3584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3585 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3586 ac_tool_warned=yes ;;
3587 esac
3588 STRIP=$ac_ct_STRIP
3589 fi
3590 else
3591 STRIP="$ac_cv_prog_STRIP"
3592 fi
3593
3594 fi
3595 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3596
3597
3598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3599 printf %s "checking for a race-free mkdir -p... " >&6; }
3600 if test -z "$MKDIR_P"; then
3601 if test ${ac_cv_path_mkdir+y}
3602 then :
3603 printf %s "(cached) " >&6
3604 else case e in #(
3605 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3607 do
3608 IFS=$as_save_IFS
3609 case $as_dir in #(((
3610 '') as_dir=./ ;;
3611 */) ;;
3612 *) as_dir=$as_dir/ ;;
3613 esac
3614 for ac_prog in mkdir gmkdir; do
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3617 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3618 'mkdir ('*'coreutils) '* | \
3619 *'BusyBox '* | \
3620 'mkdir (fileutils) '4.1*)
3621 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3622 break 3;;
3623 esac
3624 done
3625 done
3626 done
3627 IFS=$as_save_IFS
3628 ;;
3629 esac
3630 fi
3631
3632 test -d ./--version && rmdir ./--version
3633 if test ${ac_cv_path_mkdir+y}; then
3634 MKDIR_P="$ac_cv_path_mkdir -p"
3635 else
3636 # As a last resort, use plain mkdir -p,
3637 # in the hope it doesn't have the bugs of ancient mkdir.
3638 MKDIR_P='mkdir -p'
3639 fi
3640 fi
3641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3642 printf "%s\n" "$MKDIR_P" >&6; }
3643
3644 for ac_prog in gawk mawk nawk awk
3645 do
3646 # Extract the first word of "$ac_prog", so it can be a program name with args.
3647 set dummy $ac_prog; ac_word=$2
3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 printf %s "checking for $ac_word... " >&6; }
3650 if test ${ac_cv_prog_AWK+y}
3651 then :
3652 printf %s "(cached) " >&6
3653 else case e in #(
3654 e) if test -n "$AWK"; then
3655 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3659 do
3660 IFS=$as_save_IFS
3661 case $as_dir in #(((
3662 '') as_dir=./ ;;
3663 */) ;;
3664 *) as_dir=$as_dir/ ;;
3665 esac
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_AWK="$ac_prog"
3669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3670 break 2
3671 fi
3672 done
3673 done
3674 IFS=$as_save_IFS
3675
3676 fi ;;
3677 esac
3678 fi
3679 AWK=$ac_cv_prog_AWK
3680 if test -n "$AWK"; then
3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3682 printf "%s\n" "$AWK" >&6; }
3683 else
3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 printf "%s\n" "no" >&6; }
3686 fi
3687
3688
3689 test -n "$AWK" && break
3690 done
3691
3692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3693 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3694 set x ${MAKE-make}
3695 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3696 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3697 then :
3698 printf %s "(cached) " >&6
3699 else case e in #(
3700 e) cat >conftest.make <<\_ACEOF
3701 SHELL = /bin/sh
3702 all:
3703 @echo '@@@%%%=$(MAKE)=@@@%%%'
3704 _ACEOF
3705 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3706 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3707 *@@@%%%=?*=@@@%%%*)
3708 eval ac_cv_prog_make_${ac_make}_set=yes;;
3709 *)
3710 eval ac_cv_prog_make_${ac_make}_set=no;;
3711 esac
3712 rm -f conftest.make ;;
3713 esac
3714 fi
3715 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3717 printf "%s\n" "yes" >&6; }
3718 SET_MAKE=
3719 else
3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 printf "%s\n" "no" >&6; }
3722 SET_MAKE="MAKE=${MAKE-make}"
3723 fi
3724
3725 rm -rf .tst 2>/dev/null
3726 mkdir .tst 2>/dev/null
3727 if test -d .tst; then
3728 am__leading_dot=.
3729 else
3730 am__leading_dot=_
3731 fi
3732 rmdir .tst 2>/dev/null
3733
3734 AM_DEFAULT_VERBOSITY=1
3735 # Check whether --enable-silent-rules was given.
3736 if test ${enable_silent_rules+y}
3737 then :
3738 enableval=$enable_silent_rules;
3739 fi
3740
3741 am_make=${MAKE-make}
3742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3743 printf %s "checking whether $am_make supports nested variables... " >&6; }
3744 if test ${am_cv_make_support_nested_variables+y}
3745 then :
3746 printf %s "(cached) " >&6
3747 else case e in #(
3748 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3749 BAR0=false
3750 BAR1=true
3751 V=1
3752 am__doit:
3753 @$(TRUE)
3754 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3755 am_cv_make_support_nested_variables=yes
3756 else
3757 am_cv_make_support_nested_variables=no
3758 fi ;;
3759 esac
3760 fi
3761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3762 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3763 AM_BACKSLASH='\'
3764
3765 am__rm_f_notfound=
3766 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3767 then :
3768
3769 else case e in #(
3770 e) am__rm_f_notfound='""' ;;
3771 esac
3772 fi
3773
3774
3775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3776 printf %s "checking xargs -n works... " >&6; }
3777 if test ${am_cv_xargs_n_works+y}
3778 then :
3779 printf %s "(cached) " >&6
3780 else case e in #(
3781 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3782 3"
3783 then :
3784 am_cv_xargs_n_works=yes
3785 else case e in #(
3786 e) am_cv_xargs_n_works=no ;;
3787 esac
3788 fi ;;
3789 esac
3790 fi
3791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3792 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3793 if test "$am_cv_xargs_n_works" = yes
3794 then :
3795 am__xargs_n='xargs -n'
3796 else case e in #(
3797 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3798 ;;
3799 esac
3800 fi
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811 DEPDIR="${am__leading_dot}deps"
3812
3813 ac_config_commands="$ac_config_commands depfiles"
3814
3815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3816 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3817 cat > confinc.mk << 'END'
3818 am__doit:
3819 @echo this is the am__doit target >confinc.out
3820 .PHONY: am__doit
3821 END
3822 am__include="#"
3823 am__quote=
3824 # BSD make does it like this.
3825 echo '.include "confinc.mk" # ignored' > confmf.BSD
3826 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3827 echo 'include confinc.mk # ignored' > confmf.GNU
3828 _am_result=no
3829 for s in GNU BSD; do
3830 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3831 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3832 ac_status=$?
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); }
3835 case $?:`cat confinc.out 2>/dev/null` in #(
3836 '0:this is the am__doit target') :
3837 case $s in #(
3838 BSD) :
3839 am__include='.include' am__quote='"' ;; #(
3840 *) :
3841 am__include='include' am__quote='' ;;
3842 esac ;; #(
3843 *) :
3844 ;;
3845 esac
3846 if test "$am__include" != "#"; then
3847 _am_result="yes ($s style)"
3848 break
3849 fi
3850 done
3851 rm -f confinc.* confmf.*
3852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3853 printf "%s\n" "${_am_result}" >&6; }
3854
3855 # Check whether --enable-dependency-tracking was given.
3856 if test ${enable_dependency_tracking+y}
3857 then :
3858 enableval=$enable_dependency_tracking;
3859 fi
3860
3861 if test "x$enable_dependency_tracking" != xno; then
3862 am_depcomp="$ac_aux_dir/depcomp"
3863 AMDEPBACKSLASH='\'
3864 am__nodep='_no'
3865 fi
3866 if test "x$enable_dependency_tracking" != xno; then
3867 AMDEP_TRUE=
3868 AMDEP_FALSE='#'
3869 else
3870 AMDEP_TRUE='#'
3871 AMDEP_FALSE=
3872 fi
3873
3874
3875 ac_ext=c
3876 ac_cpp='$CPP $CPPFLAGS'
3877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3880 if test -n "$ac_tool_prefix"; then
3881 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3882 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 printf %s "checking for $ac_word... " >&6; }
3885 if test ${ac_cv_prog_CC+y}
3886 then :
3887 printf %s "(cached) " >&6
3888 else case e in #(
3889 e) if test -n "$CC"; then
3890 ac_cv_prog_CC="$CC" # Let the user override the test.
3891 else
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 for as_dir in $PATH
3894 do
3895 IFS=$as_save_IFS
3896 case $as_dir in #(((
3897 '') as_dir=./ ;;
3898 */) ;;
3899 *) as_dir=$as_dir/ ;;
3900 esac
3901 for ac_exec_ext in '' $ac_executable_extensions; do
3902 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3903 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3905 break 2
3906 fi
3907 done
3908 done
3909 IFS=$as_save_IFS
3910
3911 fi ;;
3912 esac
3913 fi
3914 CC=$ac_cv_prog_CC
3915 if test -n "$CC"; then
3916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917 printf "%s\n" "$CC" >&6; }
3918 else
3919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 printf "%s\n" "no" >&6; }
3921 fi
3922
3923
3924 fi
3925 if test -z "$ac_cv_prog_CC"; then
3926 ac_ct_CC=$CC
3927 # Extract the first word of "gcc", so it can be a program name with args.
3928 set dummy gcc; 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="gcc"
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 if test "x$ac_ct_CC" = x; then
3970 CC=""
3971 else
3972 case $cross_compiling:$ac_tool_warned in
3973 yes:)
3974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3975 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3976 ac_tool_warned=yes ;;
3977 esac
3978 CC=$ac_ct_CC
3979 fi
3980 else
3981 CC="$ac_cv_prog_CC"
3982 fi
3983
3984 if test -z "$CC"; then
3985 if test -n "$ac_tool_prefix"; then
3986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3987 set dummy ${ac_tool_prefix}cc; ac_word=$2
3988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3989 printf %s "checking for $ac_word... " >&6; }
3990 if test ${ac_cv_prog_CC+y}
3991 then :
3992 printf %s "(cached) " >&6
3993 else case e in #(
3994 e) if test -n "$CC"; then
3995 ac_cv_prog_CC="$CC" # Let the user override the test.
3996 else
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
3999 do
4000 IFS=$as_save_IFS
4001 case $as_dir in #(((
4002 '') as_dir=./ ;;
4003 */) ;;
4004 *) as_dir=$as_dir/ ;;
4005 esac
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4008 ac_cv_prog_CC="${ac_tool_prefix}cc"
4009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4010 break 2
4011 fi
4012 done
4013 done
4014 IFS=$as_save_IFS
4015
4016 fi ;;
4017 esac
4018 fi
4019 CC=$ac_cv_prog_CC
4020 if test -n "$CC"; then
4021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 printf "%s\n" "$CC" >&6; }
4023 else
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 printf "%s\n" "no" >&6; }
4026 fi
4027
4028
4029 fi
4030 fi
4031 if test -z "$CC"; then
4032 # Extract the first word of "cc", so it can be a program name with args.
4033 set dummy cc; ac_word=$2
4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 printf %s "checking for $ac_word... " >&6; }
4036 if test ${ac_cv_prog_CC+y}
4037 then :
4038 printf %s "(cached) " >&6
4039 else case e in #(
4040 e) if test -n "$CC"; then
4041 ac_cv_prog_CC="$CC" # Let the user override the test.
4042 else
4043 ac_prog_rejected=no
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 for as_dir in $PATH
4046 do
4047 IFS=$as_save_IFS
4048 case $as_dir in #(((
4049 '') as_dir=./ ;;
4050 */) ;;
4051 *) as_dir=$as_dir/ ;;
4052 esac
4053 for ac_exec_ext in '' $ac_executable_extensions; do
4054 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4055 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4056 ac_prog_rejected=yes
4057 continue
4058 fi
4059 ac_cv_prog_CC="cc"
4060 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4061 break 2
4062 fi
4063 done
4064 done
4065 IFS=$as_save_IFS
4066
4067 if test $ac_prog_rejected = yes; then
4068 # We found a bogon in the path, so make sure we never use it.
4069 set dummy $ac_cv_prog_CC
4070 shift
4071 if test $# != 0; then
4072 # We chose a different compiler from the bogus one.
4073 # However, it has the same basename, so the bogon will be chosen
4074 # first if we set CC to just the basename; use the full file name.
4075 shift
4076 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4077 fi
4078 fi
4079 fi ;;
4080 esac
4081 fi
4082 CC=$ac_cv_prog_CC
4083 if test -n "$CC"; then
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4085 printf "%s\n" "$CC" >&6; }
4086 else
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 printf "%s\n" "no" >&6; }
4089 fi
4090
4091
4092 fi
4093 if test -z "$CC"; then
4094 if test -n "$ac_tool_prefix"; then
4095 for ac_prog in cl.exe
4096 do
4097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4100 printf %s "checking for $ac_word... " >&6; }
4101 if test ${ac_cv_prog_CC+y}
4102 then :
4103 printf %s "(cached) " >&6
4104 else case e in #(
4105 e) if test -n "$CC"; then
4106 ac_cv_prog_CC="$CC" # Let the user override the test.
4107 else
4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 for as_dir in $PATH
4110 do
4111 IFS=$as_save_IFS
4112 case $as_dir in #(((
4113 '') as_dir=./ ;;
4114 */) ;;
4115 *) as_dir=$as_dir/ ;;
4116 esac
4117 for ac_exec_ext in '' $ac_executable_extensions; do
4118 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4119 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4121 break 2
4122 fi
4123 done
4124 done
4125 IFS=$as_save_IFS
4126
4127 fi ;;
4128 esac
4129 fi
4130 CC=$ac_cv_prog_CC
4131 if test -n "$CC"; then
4132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4133 printf "%s\n" "$CC" >&6; }
4134 else
4135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 printf "%s\n" "no" >&6; }
4137 fi
4138
4139
4140 test -n "$CC" && break
4141 done
4142 fi
4143 if test -z "$CC"; then
4144 ac_ct_CC=$CC
4145 for ac_prog in cl.exe
4146 do
4147 # Extract the first word of "$ac_prog", so it can be a program name with args.
4148 set dummy $ac_prog; ac_word=$2
4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4150 printf %s "checking for $ac_word... " >&6; }
4151 if test ${ac_cv_prog_ac_ct_CC+y}
4152 then :
4153 printf %s "(cached) " >&6
4154 else case e in #(
4155 e) if test -n "$ac_ct_CC"; then
4156 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4157 else
4158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4159 for as_dir in $PATH
4160 do
4161 IFS=$as_save_IFS
4162 case $as_dir in #(((
4163 '') as_dir=./ ;;
4164 */) ;;
4165 *) as_dir=$as_dir/ ;;
4166 esac
4167 for ac_exec_ext in '' $ac_executable_extensions; do
4168 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4169 ac_cv_prog_ac_ct_CC="$ac_prog"
4170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4171 break 2
4172 fi
4173 done
4174 done
4175 IFS=$as_save_IFS
4176
4177 fi ;;
4178 esac
4179 fi
4180 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4181 if test -n "$ac_ct_CC"; then
4182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4183 printf "%s\n" "$ac_ct_CC" >&6; }
4184 else
4185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186 printf "%s\n" "no" >&6; }
4187 fi
4188
4189
4190 test -n "$ac_ct_CC" && break
4191 done
4192
4193 if test "x$ac_ct_CC" = x; then
4194 CC=""
4195 else
4196 case $cross_compiling:$ac_tool_warned in
4197 yes:)
4198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4199 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4200 ac_tool_warned=yes ;;
4201 esac
4202 CC=$ac_ct_CC
4203 fi
4204 fi
4205
4206 fi
4207 if test -z "$CC"; then
4208 if test -n "$ac_tool_prefix"; then
4209 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4210 set dummy ${ac_tool_prefix}clang; ac_word=$2
4211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4212 printf %s "checking for $ac_word... " >&6; }
4213 if test ${ac_cv_prog_CC+y}
4214 then :
4215 printf %s "(cached) " >&6
4216 else case e in #(
4217 e) if test -n "$CC"; then
4218 ac_cv_prog_CC="$CC" # Let the user override the test.
4219 else
4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 for as_dir in $PATH
4222 do
4223 IFS=$as_save_IFS
4224 case $as_dir in #(((
4225 '') as_dir=./ ;;
4226 */) ;;
4227 *) as_dir=$as_dir/ ;;
4228 esac
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_CC="${ac_tool_prefix}clang"
4232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4233 break 2
4234 fi
4235 done
4236 done
4237 IFS=$as_save_IFS
4238
4239 fi ;;
4240 esac
4241 fi
4242 CC=$ac_cv_prog_CC
4243 if test -n "$CC"; then
4244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4245 printf "%s\n" "$CC" >&6; }
4246 else
4247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248 printf "%s\n" "no" >&6; }
4249 fi
4250
4251
4252 fi
4253 if test -z "$ac_cv_prog_CC"; then
4254 ac_ct_CC=$CC
4255 # Extract the first word of "clang", so it can be a program name with args.
4256 set dummy clang; ac_word=$2
4257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258 printf %s "checking for $ac_word... " >&6; }
4259 if test ${ac_cv_prog_ac_ct_CC+y}
4260 then :
4261 printf %s "(cached) " >&6
4262 else case e in #(
4263 e) if test -n "$ac_ct_CC"; then
4264 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4265 else
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267 for as_dir in $PATH
4268 do
4269 IFS=$as_save_IFS
4270 case $as_dir in #(((
4271 '') as_dir=./ ;;
4272 */) ;;
4273 *) as_dir=$as_dir/ ;;
4274 esac
4275 for ac_exec_ext in '' $ac_executable_extensions; do
4276 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4277 ac_cv_prog_ac_ct_CC="clang"
4278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4279 break 2
4280 fi
4281 done
4282 done
4283 IFS=$as_save_IFS
4284
4285 fi ;;
4286 esac
4287 fi
4288 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4289 if test -n "$ac_ct_CC"; then
4290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4291 printf "%s\n" "$ac_ct_CC" >&6; }
4292 else
4293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4294 printf "%s\n" "no" >&6; }
4295 fi
4296
4297 if test "x$ac_ct_CC" = x; then
4298 CC=""
4299 else
4300 case $cross_compiling:$ac_tool_warned in
4301 yes:)
4302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4303 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4304 ac_tool_warned=yes ;;
4305 esac
4306 CC=$ac_ct_CC
4307 fi
4308 else
4309 CC="$ac_cv_prog_CC"
4310 fi
4311
4312 fi
4313
4314
4315 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4316 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4317 as_fn_error $? "no acceptable C compiler found in \$PATH
4318 See 'config.log' for more details" "$LINENO" 5; }
4319
4320 # Provide some information about the compiler.
4321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4322 set X $ac_compile
4323 ac_compiler=$2
4324 for ac_option in --version -v -V -qversion -version; do
4325 { { ac_try="$ac_compiler $ac_option >&5"
4326 case "(($ac_try" in
4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4329 esac
4330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4331 printf "%s\n" "$ac_try_echo"; } >&5
4332 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4333 ac_status=$?
4334 if test -s conftest.err; then
4335 sed '10a\
4336 ... rest of stderr output deleted ...
4337 10q' conftest.err >conftest.er1
4338 cat conftest.er1 >&5
4339 fi
4340 rm -f conftest.er1 conftest.err
4341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; }
4343 done
4344
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4347
4348 int
4349 main (void)
4350 {
4351
4352 ;
4353 return 0;
4354 }
4355 _ACEOF
4356 ac_clean_files_save=$ac_clean_files
4357 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4358 # Try to create an executable without -o first, disregard a.out.
4359 # It will help us diagnose broken compilers, and finding out an intuition
4360 # of exeext.
4361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4362 printf %s "checking whether the C compiler works... " >&6; }
4363 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4364
4365 # The possible output files:
4366 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4367
4368 ac_rmfiles=
4369 for ac_file in $ac_files
4370 do
4371 case $ac_file in
4372 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4373 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4374 esac
4375 done
4376 rm -f $ac_rmfiles
4377
4378 if { { ac_try="$ac_link_default"
4379 case "(($ac_try" in
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4382 esac
4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4384 printf "%s\n" "$ac_try_echo"; } >&5
4385 (eval "$ac_link_default") 2>&5
4386 ac_status=$?
4387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }
4389 then :
4390 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4391 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4392 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4393 # so that the user can short-circuit this test for compilers unknown to
4394 # Autoconf.
4395 for ac_file in $ac_files ''
4396 do
4397 test -f "$ac_file" || continue
4398 case $ac_file in
4399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4400 ;;
4401 [ab].out )
4402 # We found the default executable, but exeext='' is most
4403 # certainly right.
4404 break;;
4405 *.* )
4406 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4407 then :; else
4408 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4409 fi
4410 # We set ac_cv_exeext here because the later test for it is not
4411 # safe: cross compilers may not add the suffix if given an '-o'
4412 # argument, so we may need to know it at that point already.
4413 # Even if this section looks crufty: it has the advantage of
4414 # actually working.
4415 break;;
4416 * )
4417 break;;
4418 esac
4419 done
4420 test "$ac_cv_exeext" = no && ac_cv_exeext=
4421
4422 else case e in #(
4423 e) ac_file='' ;;
4424 esac
4425 fi
4426 if test -z "$ac_file"
4427 then :
4428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 printf "%s\n" "no" >&6; }
4430 printf "%s\n" "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.$ac_ext >&5
4432
4433 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4434 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4435 as_fn_error 77 "C compiler cannot create executables
4436 See 'config.log' for more details" "$LINENO" 5; }
4437 else case e in #(
4438 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4439 printf "%s\n" "yes" >&6; } ;;
4440 esac
4441 fi
4442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4443 printf %s "checking for C compiler default output file name... " >&6; }
4444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4445 printf "%s\n" "$ac_file" >&6; }
4446 ac_exeext=$ac_cv_exeext
4447
4448 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4449 ac_clean_files=$ac_clean_files_save
4450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4451 printf %s "checking for suffix of executables... " >&6; }
4452 if { { ac_try="$ac_link"
4453 case "(($ac_try" in
4454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455 *) ac_try_echo=$ac_try;;
4456 esac
4457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4458 printf "%s\n" "$ac_try_echo"; } >&5
4459 (eval "$ac_link") 2>&5
4460 ac_status=$?
4461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462 test $ac_status = 0; }
4463 then :
4464 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4465 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4466 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4467 # 'rm'.
4468 for ac_file in conftest.exe conftest conftest.*; do
4469 test -f "$ac_file" || continue
4470 case $ac_file in
4471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4472 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4473 break;;
4474 * ) break;;
4475 esac
4476 done
4477 else case e in #(
4478 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4479 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4480 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4481 See 'config.log' for more details" "$LINENO" 5; } ;;
4482 esac
4483 fi
4484 rm -f conftest conftest$ac_cv_exeext
4485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4486 printf "%s\n" "$ac_cv_exeext" >&6; }
4487
4488 rm -f conftest.$ac_ext
4489 EXEEXT=$ac_cv_exeext
4490 ac_exeext=$EXEEXT
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4493 #include <stdio.h>
4494 int
4495 main (void)
4496 {
4497 FILE *f = fopen ("conftest.out", "w");
4498 if (!f)
4499 return 1;
4500 return ferror (f) || fclose (f) != 0;
4501
4502 ;
4503 return 0;
4504 }
4505 _ACEOF
4506 ac_clean_files="$ac_clean_files conftest.out"
4507 # Check that the compiler produces executables we can run. If not, either
4508 # the compiler is broken, or we cross compile.
4509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4510 printf %s "checking whether we are cross compiling... " >&6; }
4511 if test "$cross_compiling" != yes; then
4512 { { ac_try="$ac_link"
4513 case "(($ac_try" in
4514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515 *) ac_try_echo=$ac_try;;
4516 esac
4517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4518 printf "%s\n" "$ac_try_echo"; } >&5
4519 (eval "$ac_link") 2>&5
4520 ac_status=$?
4521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4522 test $ac_status = 0; }
4523 if { ac_try='./conftest$ac_cv_exeext'
4524 { { case "(($ac_try" in
4525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4526 *) ac_try_echo=$ac_try;;
4527 esac
4528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4529 printf "%s\n" "$ac_try_echo"; } >&5
4530 (eval "$ac_try") 2>&5
4531 ac_status=$?
4532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4533 test $ac_status = 0; }; }; then
4534 cross_compiling=no
4535 else
4536 if test "$cross_compiling" = maybe; then
4537 cross_compiling=yes
4538 else
4539 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4540 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4541 as_fn_error 77 "cannot run C compiled programs.
4542 If you meant to cross compile, use '--host'.
4543 See 'config.log' for more details" "$LINENO" 5; }
4544 fi
4545 fi
4546 fi
4547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4548 printf "%s\n" "$cross_compiling" >&6; }
4549
4550 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4551 conftest.o conftest.obj conftest.out
4552 ac_clean_files=$ac_clean_files_save
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4554 printf %s "checking for suffix of object files... " >&6; }
4555 if test ${ac_cv_objext+y}
4556 then :
4557 printf %s "(cached) " >&6
4558 else case e in #(
4559 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4561
4562 int
4563 main (void)
4564 {
4565
4566 ;
4567 return 0;
4568 }
4569 _ACEOF
4570 rm -f conftest.o conftest.obj
4571 if { { ac_try="$ac_compile"
4572 case "(($ac_try" in
4573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4574 *) ac_try_echo=$ac_try;;
4575 esac
4576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4577 printf "%s\n" "$ac_try_echo"; } >&5
4578 (eval "$ac_compile") 2>&5
4579 ac_status=$?
4580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4581 test $ac_status = 0; }
4582 then :
4583 for ac_file in conftest.o conftest.obj conftest.*; do
4584 test -f "$ac_file" || continue;
4585 case $ac_file in
4586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4587 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4588 break;;
4589 esac
4590 done
4591 else case e in #(
4592 e) printf "%s\n" "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4594
4595 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4596 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4597 as_fn_error $? "cannot compute suffix of object files: cannot compile
4598 See 'config.log' for more details" "$LINENO" 5; } ;;
4599 esac
4600 fi
4601 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4602 esac
4603 fi
4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4605 printf "%s\n" "$ac_cv_objext" >&6; }
4606 OBJEXT=$ac_cv_objext
4607 ac_objext=$OBJEXT
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4609 printf %s "checking whether the compiler supports GNU C... " >&6; }
4610 if test ${ac_cv_c_compiler_gnu+y}
4611 then :
4612 printf %s "(cached) " >&6
4613 else case e in #(
4614 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4616
4617 int
4618 main (void)
4619 {
4620 #ifndef __GNUC__
4621 choke me
4622 #endif
4623
4624 ;
4625 return 0;
4626 }
4627 _ACEOF
4628 if ac_fn_c_try_compile "$LINENO"
4629 then :
4630 ac_compiler_gnu=yes
4631 else case e in #(
4632 e) ac_compiler_gnu=no ;;
4633 esac
4634 fi
4635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4637 ;;
4638 esac
4639 fi
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4641 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4643
4644 if test $ac_compiler_gnu = yes; then
4645 GCC=yes
4646 else
4647 GCC=
4648 fi
4649 ac_test_CFLAGS=${CFLAGS+y}
4650 ac_save_CFLAGS=$CFLAGS
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4652 printf %s "checking whether $CC accepts -g... " >&6; }
4653 if test ${ac_cv_prog_cc_g+y}
4654 then :
4655 printf %s "(cached) " >&6
4656 else case e in #(
4657 e) ac_save_c_werror_flag=$ac_c_werror_flag
4658 ac_c_werror_flag=yes
4659 ac_cv_prog_cc_g=no
4660 CFLAGS="-g"
4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h. */
4663
4664 int
4665 main (void)
4666 {
4667
4668 ;
4669 return 0;
4670 }
4671 _ACEOF
4672 if ac_fn_c_try_compile "$LINENO"
4673 then :
4674 ac_cv_prog_cc_g=yes
4675 else case e in #(
4676 e) CFLAGS=""
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4679
4680 int
4681 main (void)
4682 {
4683
4684 ;
4685 return 0;
4686 }
4687 _ACEOF
4688 if ac_fn_c_try_compile "$LINENO"
4689 then :
4690
4691 else case e in #(
4692 e) ac_c_werror_flag=$ac_save_c_werror_flag
4693 CFLAGS="-g"
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4696
4697 int
4698 main (void)
4699 {
4700
4701 ;
4702 return 0;
4703 }
4704 _ACEOF
4705 if ac_fn_c_try_compile "$LINENO"
4706 then :
4707 ac_cv_prog_cc_g=yes
4708 fi
4709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4710 esac
4711 fi
4712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4713 esac
4714 fi
4715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4716 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4717 esac
4718 fi
4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4720 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4721 if test $ac_test_CFLAGS; then
4722 CFLAGS=$ac_save_CFLAGS
4723 elif test $ac_cv_prog_cc_g = yes; then
4724 if test "$GCC" = yes; then
4725 CFLAGS="-g -O2"
4726 else
4727 CFLAGS="-g"
4728 fi
4729 else
4730 if test "$GCC" = yes; then
4731 CFLAGS="-O2"
4732 else
4733 CFLAGS=
4734 fi
4735 fi
4736 ac_prog_cc_stdc=no
4737 if test x$ac_prog_cc_stdc = xno
4738 then :
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4740 printf %s "checking for $CC option to enable C11 features... " >&6; }
4741 if test ${ac_cv_prog_cc_c11+y}
4742 then :
4743 printf %s "(cached) " >&6
4744 else case e in #(
4745 e) ac_cv_prog_cc_c11=no
4746 ac_save_CC=$CC
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4749 $ac_c_conftest_c11_program
4750 _ACEOF
4751 for ac_arg in '' -std=gnu11
4752 do
4753 CC="$ac_save_CC $ac_arg"
4754 if ac_fn_c_try_compile "$LINENO"
4755 then :
4756 ac_cv_prog_cc_c11=$ac_arg
4757 fi
4758 rm -f core conftest.err conftest.$ac_objext conftest.beam
4759 test "x$ac_cv_prog_cc_c11" != "xno" && break
4760 done
4761 rm -f conftest.$ac_ext
4762 CC=$ac_save_CC ;;
4763 esac
4764 fi
4765
4766 if test "x$ac_cv_prog_cc_c11" = xno
4767 then :
4768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4769 printf "%s\n" "unsupported" >&6; }
4770 else case e in #(
4771 e) if test "x$ac_cv_prog_cc_c11" = x
4772 then :
4773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4774 printf "%s\n" "none needed" >&6; }
4775 else case e in #(
4776 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4777 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4778 CC="$CC $ac_cv_prog_cc_c11" ;;
4779 esac
4780 fi
4781 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4782 ac_prog_cc_stdc=c11 ;;
4783 esac
4784 fi
4785 fi
4786 if test x$ac_prog_cc_stdc = xno
4787 then :
4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4789 printf %s "checking for $CC option to enable C99 features... " >&6; }
4790 if test ${ac_cv_prog_cc_c99+y}
4791 then :
4792 printf %s "(cached) " >&6
4793 else case e in #(
4794 e) ac_cv_prog_cc_c99=no
4795 ac_save_CC=$CC
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4798 $ac_c_conftest_c99_program
4799 _ACEOF
4800 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4801 do
4802 CC="$ac_save_CC $ac_arg"
4803 if ac_fn_c_try_compile "$LINENO"
4804 then :
4805 ac_cv_prog_cc_c99=$ac_arg
4806 fi
4807 rm -f core conftest.err conftest.$ac_objext conftest.beam
4808 test "x$ac_cv_prog_cc_c99" != "xno" && break
4809 done
4810 rm -f conftest.$ac_ext
4811 CC=$ac_save_CC ;;
4812 esac
4813 fi
4814
4815 if test "x$ac_cv_prog_cc_c99" = xno
4816 then :
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4818 printf "%s\n" "unsupported" >&6; }
4819 else case e in #(
4820 e) if test "x$ac_cv_prog_cc_c99" = x
4821 then :
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4823 printf "%s\n" "none needed" >&6; }
4824 else case e in #(
4825 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4826 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4827 CC="$CC $ac_cv_prog_cc_c99" ;;
4828 esac
4829 fi
4830 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4831 ac_prog_cc_stdc=c99 ;;
4832 esac
4833 fi
4834 fi
4835 if test x$ac_prog_cc_stdc = xno
4836 then :
4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4838 printf %s "checking for $CC option to enable C89 features... " >&6; }
4839 if test ${ac_cv_prog_cc_c89+y}
4840 then :
4841 printf %s "(cached) " >&6
4842 else case e in #(
4843 e) ac_cv_prog_cc_c89=no
4844 ac_save_CC=$CC
4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4846 /* end confdefs.h. */
4847 $ac_c_conftest_c89_program
4848 _ACEOF
4849 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4850 do
4851 CC="$ac_save_CC $ac_arg"
4852 if ac_fn_c_try_compile "$LINENO"
4853 then :
4854 ac_cv_prog_cc_c89=$ac_arg
4855 fi
4856 rm -f core conftest.err conftest.$ac_objext conftest.beam
4857 test "x$ac_cv_prog_cc_c89" != "xno" && break
4858 done
4859 rm -f conftest.$ac_ext
4860 CC=$ac_save_CC ;;
4861 esac
4862 fi
4863
4864 if test "x$ac_cv_prog_cc_c89" = xno
4865 then :
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4867 printf "%s\n" "unsupported" >&6; }
4868 else case e in #(
4869 e) if test "x$ac_cv_prog_cc_c89" = x
4870 then :
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4872 printf "%s\n" "none needed" >&6; }
4873 else case e in #(
4874 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4875 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4876 CC="$CC $ac_cv_prog_cc_c89" ;;
4877 esac
4878 fi
4879 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4880 ac_prog_cc_stdc=c89 ;;
4881 esac
4882 fi
4883 fi
4884
4885 ac_ext=c
4886 ac_cpp='$CPP $CPPFLAGS'
4887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4890
4891
4892 ac_ext=c
4893 ac_cpp='$CPP $CPPFLAGS'
4894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4898 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4899 if test ${am_cv_prog_cc_c_o+y}
4900 then :
4901 printf %s "(cached) " >&6
4902 else case e in #(
4903 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4905
4906 int
4907 main (void)
4908 {
4909
4910 ;
4911 return 0;
4912 }
4913 _ACEOF
4914 # Make sure it works both with $CC and with simple cc.
4915 # Following AC_PROG_CC_C_O, we do the test twice because some
4916 # compilers refuse to overwrite an existing .o file with -o,
4917 # though they will create one.
4918 am_cv_prog_cc_c_o=yes
4919 for am_i in 1 2; do
4920 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4921 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4922 ac_status=$?
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } \
4925 && test -f conftest2.$ac_objext; then
4926 : OK
4927 else
4928 am_cv_prog_cc_c_o=no
4929 break
4930 fi
4931 done
4932 # aligned with autoconf, so not including core; see bug#72225.
4933 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4934 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4935 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4936 unset am_i ;;
4937 esac
4938 fi
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4940 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4941 if test "$am_cv_prog_cc_c_o" != yes; then
4942 # Losing compiler, so override with the script.
4943 # FIXME: It is wrong to rewrite CC.
4944 # But if we don't then we get into trouble of one sort or another.
4945 # A longer-term fix would be to have automake use am__CC in this case,
4946 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4947 CC="$am_aux_dir/compile $CC"
4948 fi
4949 ac_ext=c
4950 ac_cpp='$CPP $CPPFLAGS'
4951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4954
4955
4956 depcc="$CC" am_compiler_list=
4957
4958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4959 printf %s "checking dependency style of $depcc... " >&6; }
4960 if test ${am_cv_CC_dependencies_compiler_type+y}
4961 then :
4962 printf %s "(cached) " >&6
4963 else case e in #(
4964 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4965 # We make a subdir and do the tests there. Otherwise we can end up
4966 # making bogus files that we don't know about and never remove. For
4967 # instance it was reported that on HP-UX the gcc test will end up
4968 # making a dummy file named 'D' -- because '-MD' means "put the output
4969 # in D".
4970 rm -rf conftest.dir
4971 mkdir conftest.dir
4972 # Copy depcomp to subdir because otherwise we won't find it if we're
4973 # using a relative directory.
4974 cp "$am_depcomp" conftest.dir
4975 cd conftest.dir
4976 # We will build objects and dependencies in a subdirectory because
4977 # it helps to detect inapplicable dependency modes. For instance
4978 # both Tru64's cc and ICC support -MD to output dependencies as a
4979 # side effect of compilation, but ICC will put the dependencies in
4980 # the current directory while Tru64 will put them in the object
4981 # directory.
4982 mkdir sub
4983
4984 am_cv_CC_dependencies_compiler_type=none
4985 if test "$am_compiler_list" = ""; then
4986 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4987 fi
4988 am__universal=false
4989 case " $depcc " in #(
4990 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4991 esac
4992
4993 for depmode in $am_compiler_list; do
4994 # Setup a source with many dependencies, because some compilers
4995 # like to wrap large dependency lists on column 80 (with \), and
4996 # we should not choose a depcomp mode which is confused by this.
4997 #
4998 # We need to recreate these files for each test, as the compiler may
4999 # overwrite some of them when testing with obscure command lines.
5000 # This happens at least with the AIX C compiler.
5001 : > sub/conftest.c
5002 for i in 1 2 3 4 5 6; do
5003 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5004 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5005 # Solaris 10 /bin/sh.
5006 echo '/* dummy */' > sub/conftst$i.h
5007 done
5008 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5009
5010 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5011 # mode. It turns out that the SunPro C++ compiler does not properly
5012 # handle '-M -o', and we need to detect this. Also, some Intel
5013 # versions had trouble with output in subdirs.
5014 am__obj=sub/conftest.${OBJEXT-o}
5015 am__minus_obj="-o $am__obj"
5016 case $depmode in
5017 gcc)
5018 # This depmode causes a compiler race in universal mode.
5019 test "$am__universal" = false || continue
5020 ;;
5021 nosideeffect)
5022 # After this tag, mechanisms are not by side-effect, so they'll
5023 # only be used when explicitly requested.
5024 if test "x$enable_dependency_tracking" = xyes; then
5025 continue
5026 else
5027 break
5028 fi
5029 ;;
5030 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5031 # This compiler won't grok '-c -o', but also, the minuso test has
5032 # not run yet. These depmodes are late enough in the game, and
5033 # so weak that their functioning should not be impacted.
5034 am__obj=conftest.${OBJEXT-o}
5035 am__minus_obj=
5036 ;;
5037 none) break ;;
5038 esac
5039 if depmode=$depmode \
5040 source=sub/conftest.c object=$am__obj \
5041 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5042 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5043 >/dev/null 2>conftest.err &&
5044 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5045 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5046 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5047 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5048 # icc doesn't choke on unknown options, it will just issue warnings
5049 # or remarks (even with -Werror). So we grep stderr for any message
5050 # that says an option was ignored or not supported.
5051 # When given -MP, icc 7.0 and 7.1 complain thus:
5052 # icc: Command line warning: ignoring option '-M'; no argument required
5053 # The diagnosis changed in icc 8.0:
5054 # icc: Command line remark: option '-MP' not supported
5055 if (grep 'ignoring option' conftest.err ||
5056 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5057 am_cv_CC_dependencies_compiler_type=$depmode
5058 break
5059 fi
5060 fi
5061 done
5062
5063 cd ..
5064 rm -rf conftest.dir
5065 else
5066 am_cv_CC_dependencies_compiler_type=none
5067 fi
5068 ;;
5069 esac
5070 fi
5071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5072 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5073 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5074
5075 if
5076 test "x$enable_dependency_tracking" != xno \
5077 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5078 am__fastdepCC_TRUE=
5079 am__fastdepCC_FALSE='#'
5080 else
5081 am__fastdepCC_TRUE='#'
5082 am__fastdepCC_FALSE=
5083 fi
5084
5085
5086
5087 ac_header= ac_cache=
5088 for ac_item in $ac_header_c_list
5089 do
5090 if test $ac_cache; then
5091 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
5092 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5093 printf "%s\n" "#define $ac_item 1" >> confdefs.h
5094 fi
5095 ac_header= ac_cache=
5096 elif test $ac_header; then
5097 ac_cache=$ac_item
5098 else
5099 ac_header=$ac_item
5100 fi
5101 done
5102
5103
5104
5105
5106
5107
5108
5109
5110 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
5111 then :
5112
5113 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
5114
5115 fi
5116
5117
5118
5119
5120
5121
5122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5123 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5124 if test ${ac_cv_safe_to_define___extensions__+y}
5125 then :
5126 printf %s "(cached) " >&6
5127 else case e in #(
5128 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5130
5131 # define __EXTENSIONS__ 1
5132 $ac_includes_default
5133 int
5134 main (void)
5135 {
5136
5137 ;
5138 return 0;
5139 }
5140 _ACEOF
5141 if ac_fn_c_try_compile "$LINENO"
5142 then :
5143 ac_cv_safe_to_define___extensions__=yes
5144 else case e in #(
5145 e) ac_cv_safe_to_define___extensions__=no ;;
5146 esac
5147 fi
5148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5149 esac
5150 fi
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5152 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
5153
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5155 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5156 if test ${ac_cv_should_define__xopen_source+y}
5157 then :
5158 printf %s "(cached) " >&6
5159 else case e in #(
5160 e) ac_cv_should_define__xopen_source=no
5161 if test $ac_cv_header_wchar_h = yes
5162 then :
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5165
5166 #include <wchar.h>
5167 mbstate_t x;
5168 int
5169 main (void)
5170 {
5171
5172 ;
5173 return 0;
5174 }
5175 _ACEOF
5176 if ac_fn_c_try_compile "$LINENO"
5177 then :
5178
5179 else case e in #(
5180 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5182
5183 #define _XOPEN_SOURCE 500
5184 #include <wchar.h>
5185 mbstate_t x;
5186 int
5187 main (void)
5188 {
5189
5190 ;
5191 return 0;
5192 }
5193 _ACEOF
5194 if ac_fn_c_try_compile "$LINENO"
5195 then :
5196 ac_cv_should_define__xopen_source=yes
5197 fi
5198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5199 esac
5200 fi
5201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5202 fi ;;
5203 esac
5204 fi
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5206 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5207
5208 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5209
5210 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5211
5212 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5213
5214 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5215
5216 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5217
5218 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5219
5220 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5221
5222 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5223
5224 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5225
5226 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5227
5228 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
5229
5230 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5231
5232 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5233
5234 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5235
5236 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5237
5238 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5239
5240 if test $ac_cv_header_minix_config_h = yes
5241 then :
5242 MINIX=yes
5243 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5244
5245 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5246
5247 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5248
5249 else case e in #(
5250 e) MINIX= ;;
5251 esac
5252 fi
5253 if test $ac_cv_safe_to_define___extensions__ = yes
5254 then :
5255 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5256
5257 fi
5258 if test $ac_cv_should_define__xopen_source = yes
5259 then :
5260 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5261
5262 fi
5263
5264 # Check whether --enable-compiler-warnings was given.
5265 if test ${enable_compiler_warnings+y}
5266 then :
5267 enableval=$enable_compiler_warnings;
5268 fi
5269 case $enable_compiler_warnings in #(
5270 no | min | yes | max | all) :
5271 ;; #(
5272 *) :
5273 if test "x$enable_maintainer_mode" = xyes
5274 then :
5275 enable_compiler_warnings=yes
5276 else case e in #(
5277 e) enable_compiler_warnings=min ;;
5278 esac
5279 fi ;;
5280 esac
5281
5282 case `pwd` in
5283 *\ * | *\ *)
5284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5285 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5286 esac
5287
5288
5289
5290 macro_version='2.5.4'
5291 macro_revision='2.5.4'
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306 ltmain=$ac_aux_dir/ltmain.sh
5307
5308
5309
5310 # Make sure we can run config.sub.
5311 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5312 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5313
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5315 printf %s "checking build system type... " >&6; }
5316 if test ${ac_cv_build+y}
5317 then :
5318 printf %s "(cached) " >&6
5319 else case e in #(
5320 e) ac_build_alias=$build_alias
5321 test "x$ac_build_alias" = x &&
5322 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5323 test "x$ac_build_alias" = x &&
5324 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5325 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5326 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5327 ;;
5328 esac
5329 fi
5330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5331 printf "%s\n" "$ac_cv_build" >&6; }
5332 case $ac_cv_build in
5333 *-*-*) ;;
5334 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5335 esac
5336 build=$ac_cv_build
5337 ac_save_IFS=$IFS; IFS='-'
5338 set x $ac_cv_build
5339 shift
5340 build_cpu=$1
5341 build_vendor=$2
5342 shift; shift
5343 # Remember, the first character of IFS is used to create $*,
5344 # except with old shells:
5345 build_os=$*
5346 IFS=$ac_save_IFS
5347 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5348
5349
5350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5351 printf %s "checking host system type... " >&6; }
5352 if test ${ac_cv_host+y}
5353 then :
5354 printf %s "(cached) " >&6
5355 else case e in #(
5356 e) if test "x$host_alias" = x; then
5357 ac_cv_host=$ac_cv_build
5358 else
5359 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5360 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5361 fi
5362 ;;
5363 esac
5364 fi
5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5366 printf "%s\n" "$ac_cv_host" >&6; }
5367 case $ac_cv_host in
5368 *-*-*) ;;
5369 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5370 esac
5371 host=$ac_cv_host
5372 ac_save_IFS=$IFS; IFS='-'
5373 set x $ac_cv_host
5374 shift
5375 host_cpu=$1
5376 host_vendor=$2
5377 shift; shift
5378 # Remember, the first character of IFS is used to create $*,
5379 # except with old shells:
5380 host_os=$*
5381 IFS=$ac_save_IFS
5382 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5383
5384
5385 # Backslashify metacharacters that are still active within
5386 # double-quoted strings.
5387 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5388
5389 # Same as above, but do not quote variable references.
5390 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5391
5392 # Sed substitution to delay expansion of an escaped shell variable in a
5393 # double_quote_subst'ed string.
5394 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5395
5396 # Sed substitution to delay expansion of an escaped single quote.
5397 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5398
5399 # Sed substitution to avoid accidental globbing in evaled expressions
5400 no_glob_subst='s/\*/\\\*/g'
5401
5402 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5403 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5404 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5405
5406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5407 printf %s "checking how to print strings... " >&6; }
5408 # Test print first, because it will be a builtin if present.
5409 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5410 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5411 ECHO='print -r --'
5412 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5413 ECHO='printf %s\n'
5414 else
5415 # Use this function as a fallback that always works.
5416 func_fallback_echo ()
5417 {
5418 eval 'cat <<_LTECHO_EOF
5419 $1
5420 _LTECHO_EOF'
5421 }
5422 ECHO='func_fallback_echo'
5423 fi
5424
5425 # func_echo_all arg...
5426 # Invoke $ECHO with all args, space-separated.
5427 func_echo_all ()
5428 {
5429 $ECHO ""
5430 }
5431
5432 case $ECHO in
5433 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5434 printf "%s\n" "printf" >&6; } ;;
5435 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5436 printf "%s\n" "print -r" >&6; } ;;
5437 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5438 printf "%s\n" "cat" >&6; } ;;
5439 esac
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5455 printf %s "checking for a sed that does not truncate output... " >&6; }
5456 if test ${ac_cv_path_SED+y}
5457 then :
5458 printf %s "(cached) " >&6
5459 else case e in #(
5460 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5461 for ac_i in 1 2 3 4 5 6 7; do
5462 ac_script="$ac_script$as_nl$ac_script"
5463 done
5464 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5465 { ac_script=; unset ac_script;}
5466 if test -z "$SED"; then
5467 ac_path_SED_found=false
5468 # Loop through the user's path and test for each of PROGNAME-LIST
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5471 do
5472 IFS=$as_save_IFS
5473 case $as_dir in #(((
5474 '') as_dir=./ ;;
5475 */) ;;
5476 *) as_dir=$as_dir/ ;;
5477 esac
5478 for ac_prog in sed gsed
5479 do
5480 for ac_exec_ext in '' $ac_executable_extensions; do
5481 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5482 as_fn_executable_p "$ac_path_SED" || continue
5483 # Check for GNU ac_path_SED and select it if it is found.
5484 # Check for GNU $ac_path_SED
5485 case `"$ac_path_SED" --version 2>&1` in #(
5486 *GNU*)
5487 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5488 #(
5489 *)
5490 ac_count=0
5491 printf %s 0123456789 >"conftest.in"
5492 while :
5493 do
5494 cat "conftest.in" "conftest.in" >"conftest.tmp"
5495 mv "conftest.tmp" "conftest.in"
5496 cp "conftest.in" "conftest.nl"
5497 printf "%s\n" '' >> "conftest.nl"
5498 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5499 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5500 as_fn_arith $ac_count + 1 && ac_count=$as_val
5501 if test $ac_count -gt ${ac_path_SED_max-0}; then
5502 # Best one so far, save it but keep looking for a better one
5503 ac_cv_path_SED="$ac_path_SED"
5504 ac_path_SED_max=$ac_count
5505 fi
5506 # 10*(2^10) chars as input seems more than enough
5507 test $ac_count -gt 10 && break
5508 done
5509 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5510 esac
5511
5512 $ac_path_SED_found && break 3
5513 done
5514 done
5515 done
5516 IFS=$as_save_IFS
5517 if test -z "$ac_cv_path_SED"; then
5518 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5519 fi
5520 else
5521 ac_cv_path_SED=$SED
5522 fi
5523 ;;
5524 esac
5525 fi
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5527 printf "%s\n" "$ac_cv_path_SED" >&6; }
5528 SED="$ac_cv_path_SED"
5529 rm -f conftest.sed
5530
5531 test -z "$SED" && SED=sed
5532 Xsed="$SED -e 1s/^X//"
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5545 printf %s "checking for grep that handles long lines and -e... " >&6; }
5546 if test ${ac_cv_path_GREP+y}
5547 then :
5548 printf %s "(cached) " >&6
5549 else case e in #(
5550 e) if test -z "$GREP"; then
5551 ac_path_GREP_found=false
5552 # Loop through the user's path and test for each of PROGNAME-LIST
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5555 do
5556 IFS=$as_save_IFS
5557 case $as_dir in #(((
5558 '') as_dir=./ ;;
5559 */) ;;
5560 *) as_dir=$as_dir/ ;;
5561 esac
5562 for ac_prog in grep ggrep
5563 do
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5566 as_fn_executable_p "$ac_path_GREP" || continue
5567 # Check for GNU ac_path_GREP and select it if it is found.
5568 # Check for GNU $ac_path_GREP
5569 case `"$ac_path_GREP" --version 2>&1` in #(
5570 *GNU*)
5571 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5572 #(
5573 *)
5574 ac_count=0
5575 printf %s 0123456789 >"conftest.in"
5576 while :
5577 do
5578 cat "conftest.in" "conftest.in" >"conftest.tmp"
5579 mv "conftest.tmp" "conftest.in"
5580 cp "conftest.in" "conftest.nl"
5581 printf "%s\n" 'GREP' >> "conftest.nl"
5582 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5584 as_fn_arith $ac_count + 1 && ac_count=$as_val
5585 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5586 # Best one so far, save it but keep looking for a better one
5587 ac_cv_path_GREP="$ac_path_GREP"
5588 ac_path_GREP_max=$ac_count
5589 fi
5590 # 10*(2^10) chars as input seems more than enough
5591 test $ac_count -gt 10 && break
5592 done
5593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5594 esac
5595
5596 $ac_path_GREP_found && break 3
5597 done
5598 done
5599 done
5600 IFS=$as_save_IFS
5601 if test -z "$ac_cv_path_GREP"; then
5602 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5603 fi
5604 else
5605 ac_cv_path_GREP=$GREP
5606 fi
5607 ;;
5608 esac
5609 fi
5610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5611 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5612 GREP="$ac_cv_path_GREP"
5613
5614
5615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5616 printf %s "checking for egrep... " >&6; }
5617 if test ${ac_cv_path_EGREP+y}
5618 then :
5619 printf %s "(cached) " >&6
5620 else case e in #(
5621 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5622 then ac_cv_path_EGREP="$GREP -E"
5623 else
5624 if test -z "$EGREP"; then
5625 ac_path_EGREP_found=false
5626 # Loop through the user's path and test for each of PROGNAME-LIST
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5629 do
5630 IFS=$as_save_IFS
5631 case $as_dir in #(((
5632 '') as_dir=./ ;;
5633 */) ;;
5634 *) as_dir=$as_dir/ ;;
5635 esac
5636 for ac_prog in egrep
5637 do
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5640 as_fn_executable_p "$ac_path_EGREP" || continue
5641 # Check for GNU ac_path_EGREP and select it if it is found.
5642 # Check for GNU $ac_path_EGREP
5643 case `"$ac_path_EGREP" --version 2>&1` in #(
5644 *GNU*)
5645 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5646 #(
5647 *)
5648 ac_count=0
5649 printf %s 0123456789 >"conftest.in"
5650 while :
5651 do
5652 cat "conftest.in" "conftest.in" >"conftest.tmp"
5653 mv "conftest.tmp" "conftest.in"
5654 cp "conftest.in" "conftest.nl"
5655 printf "%s\n" 'EGREP' >> "conftest.nl"
5656 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5657 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5658 as_fn_arith $ac_count + 1 && ac_count=$as_val
5659 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5660 # Best one so far, save it but keep looking for a better one
5661 ac_cv_path_EGREP="$ac_path_EGREP"
5662 ac_path_EGREP_max=$ac_count
5663 fi
5664 # 10*(2^10) chars as input seems more than enough
5665 test $ac_count -gt 10 && break
5666 done
5667 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5668 esac
5669
5670 $ac_path_EGREP_found && break 3
5671 done
5672 done
5673 done
5674 IFS=$as_save_IFS
5675 if test -z "$ac_cv_path_EGREP"; then
5676 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5677 fi
5678 else
5679 ac_cv_path_EGREP=$EGREP
5680 fi
5681
5682 fi ;;
5683 esac
5684 fi
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5686 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5687 EGREP="$ac_cv_path_EGREP"
5688
5689 EGREP_TRADITIONAL=$EGREP
5690 ac_cv_path_EGREP_TRADITIONAL=$EGREP
5691
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5693 printf %s "checking for fgrep... " >&6; }
5694 if test ${ac_cv_path_FGREP+y}
5695 then :
5696 printf %s "(cached) " >&6
5697 else case e in #(
5698 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5699 then ac_cv_path_FGREP="$GREP -F"
5700 else
5701 if test -z "$FGREP"; then
5702 ac_path_FGREP_found=false
5703 # Loop through the user's path and test for each of PROGNAME-LIST
5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5706 do
5707 IFS=$as_save_IFS
5708 case $as_dir in #(((
5709 '') as_dir=./ ;;
5710 */) ;;
5711 *) as_dir=$as_dir/ ;;
5712 esac
5713 for ac_prog in fgrep
5714 do
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5717 as_fn_executable_p "$ac_path_FGREP" || continue
5718 # Check for GNU ac_path_FGREP and select it if it is found.
5719 # Check for GNU $ac_path_FGREP
5720 case `"$ac_path_FGREP" --version 2>&1` in #(
5721 *GNU*)
5722 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5723 #(
5724 *)
5725 ac_count=0
5726 printf %s 0123456789 >"conftest.in"
5727 while :
5728 do
5729 cat "conftest.in" "conftest.in" >"conftest.tmp"
5730 mv "conftest.tmp" "conftest.in"
5731 cp "conftest.in" "conftest.nl"
5732 printf "%s\n" 'FGREP' >> "conftest.nl"
5733 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5734 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5735 as_fn_arith $ac_count + 1 && ac_count=$as_val
5736 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5737 # Best one so far, save it but keep looking for a better one
5738 ac_cv_path_FGREP="$ac_path_FGREP"
5739 ac_path_FGREP_max=$ac_count
5740 fi
5741 # 10*(2^10) chars as input seems more than enough
5742 test $ac_count -gt 10 && break
5743 done
5744 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5745 esac
5746
5747 $ac_path_FGREP_found && break 3
5748 done
5749 done
5750 done
5751 IFS=$as_save_IFS
5752 if test -z "$ac_cv_path_FGREP"; then
5753 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5754 fi
5755 else
5756 ac_cv_path_FGREP=$FGREP
5757 fi
5758
5759 fi ;;
5760 esac
5761 fi
5762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5763 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5764 FGREP="$ac_cv_path_FGREP"
5765
5766
5767 test -z "$GREP" && GREP=grep
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787 # Check whether --with-gnu-ld was given.
5788 if test ${with_gnu_ld+y}
5789 then :
5790 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5791 else case e in #(
5792 e) with_gnu_ld=no ;;
5793 esac
5794 fi
5795
5796 ac_prog=ld
5797 if test yes = "$GCC"; then
5798 # Check if gcc -print-prog-name=ld gives a path.
5799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5800 printf %s "checking for ld used by $CC... " >&6; }
5801 case $host in
5802 *-*-mingw* | *-*-windows*)
5803 # gcc leaves a trailing carriage return, which upsets mingw
5804 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5805 *)
5806 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5807 esac
5808 case $ac_prog in
5809 # Accept absolute paths.
5810 [\\/]* | ?:[\\/]*)
5811 re_direlt='/[^/][^/]*/\.\./'
5812 # Canonicalize the pathname of ld
5813 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5814 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5815 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5816 done
5817 test -z "$LD" && LD=$ac_prog
5818 ;;
5819 "")
5820 # If it fails, then pretend we aren't using GCC.
5821 ac_prog=ld
5822 ;;
5823 *)
5824 # If it is relative, then search for the first ld in PATH.
5825 with_gnu_ld=unknown
5826 ;;
5827 esac
5828 elif test yes = "$with_gnu_ld"; then
5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5830 printf %s "checking for GNU ld... " >&6; }
5831 else
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5833 printf %s "checking for non-GNU ld... " >&6; }
5834 fi
5835 if test ${lt_cv_path_LD+y}
5836 then :
5837 printf %s "(cached) " >&6
5838 else case e in #(
5839 e) if test -z "$LD"; then
5840 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5841 for ac_dir in $PATH; do
5842 IFS=$lt_save_ifs
5843 test -z "$ac_dir" && ac_dir=.
5844 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5845 lt_cv_path_LD=$ac_dir/$ac_prog
5846 # Check to see if the program is GNU ld. I'd rather use --version,
5847 # but apparently some variants of GNU ld only accept -v.
5848 # Break only if it was the GNU/non-GNU ld that we prefer.
5849 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5850 *GNU* | *'with BFD'*)
5851 test no != "$with_gnu_ld" && break
5852 ;;
5853 *)
5854 test yes != "$with_gnu_ld" && break
5855 ;;
5856 esac
5857 fi
5858 done
5859 IFS=$lt_save_ifs
5860 else
5861 lt_cv_path_LD=$LD # Let the user override the test with a path.
5862 fi ;;
5863 esac
5864 fi
5865
5866 LD=$lt_cv_path_LD
5867 if test -n "$LD"; then
5868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5869 printf "%s\n" "$LD" >&6; }
5870 else
5871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 printf "%s\n" "no" >&6; }
5873 fi
5874 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5876 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5877 if test ${lt_cv_prog_gnu_ld+y}
5878 then :
5879 printf %s "(cached) " >&6
5880 else case e in #(
5881 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
5882 case `$LD -v 2>&1 </dev/null` in
5883 *GNU* | *'with BFD'*)
5884 lt_cv_prog_gnu_ld=yes
5885 ;;
5886 *)
5887 lt_cv_prog_gnu_ld=no
5888 ;;
5889 esac ;;
5890 esac
5891 fi
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5893 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5894 with_gnu_ld=$lt_cv_prog_gnu_ld
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5905 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5906 if test ${lt_cv_path_NM+y}
5907 then :
5908 printf %s "(cached) " >&6
5909 else case e in #(
5910 e) if test -n "$NM"; then
5911 # Let the user override the test.
5912 lt_cv_path_NM=$NM
5913 else
5914 lt_nm_to_check=${ac_tool_prefix}nm
5915 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5916 lt_nm_to_check="$lt_nm_to_check nm"
5917 fi
5918 for lt_tmp_nm in $lt_nm_to_check; do
5919 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5920 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5921 IFS=$lt_save_ifs
5922 test -z "$ac_dir" && ac_dir=.
5923 tmp_nm=$ac_dir/$lt_tmp_nm
5924 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5925 # Check to see if the nm accepts a BSD-compat flag.
5926 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5927 # nm: unknown option "B" ignored
5928 # Tru64's nm complains that /dev/null is an invalid object file
5929 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5930 case $build_os in
5931 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
5932 *) lt_bad_file=/dev/null ;;
5933 esac
5934 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5935 *$lt_bad_file* | *'Invalid file or object type'*)
5936 lt_cv_path_NM="$tmp_nm -B"
5937 break 2
5938 ;;
5939 *)
5940 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5941 */dev/null*)
5942 lt_cv_path_NM="$tmp_nm -p"
5943 break 2
5944 ;;
5945 *)
5946 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5947 continue # so that we can try to find one that supports BSD flags
5948 ;;
5949 esac
5950 ;;
5951 esac
5952 fi
5953 done
5954 IFS=$lt_save_ifs
5955 done
5956 : ${lt_cv_path_NM=no}
5957 fi ;;
5958 esac
5959 fi
5960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5961 printf "%s\n" "$lt_cv_path_NM" >&6; }
5962 if test no != "$lt_cv_path_NM"; then
5963 NM=$lt_cv_path_NM
5964 else
5965 # Didn't find any BSD compatible name lister, look for dumpbin.
5966 if test -n "$DUMPBIN"; then :
5967 # Let the user override the test.
5968 else
5969 if test -n "$ac_tool_prefix"; then
5970 for ac_prog in dumpbin "link -dump"
5971 do
5972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975 printf %s "checking for $ac_word... " >&6; }
5976 if test ${ac_cv_prog_DUMPBIN+y}
5977 then :
5978 printf %s "(cached) " >&6
5979 else case e in #(
5980 e) if test -n "$DUMPBIN"; then
5981 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5982 else
5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 for as_dir in $PATH
5985 do
5986 IFS=$as_save_IFS
5987 case $as_dir in #(((
5988 '') as_dir=./ ;;
5989 */) ;;
5990 *) as_dir=$as_dir/ ;;
5991 esac
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5996 break 2
5997 fi
5998 done
5999 done
6000 IFS=$as_save_IFS
6001
6002 fi ;;
6003 esac
6004 fi
6005 DUMPBIN=$ac_cv_prog_DUMPBIN
6006 if test -n "$DUMPBIN"; then
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6008 printf "%s\n" "$DUMPBIN" >&6; }
6009 else
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 printf "%s\n" "no" >&6; }
6012 fi
6013
6014
6015 test -n "$DUMPBIN" && break
6016 done
6017 fi
6018 if test -z "$DUMPBIN"; then
6019 ac_ct_DUMPBIN=$DUMPBIN
6020 for ac_prog in dumpbin "link -dump"
6021 do
6022 # Extract the first word of "$ac_prog", so it can be a program name with args.
6023 set dummy $ac_prog; ac_word=$2
6024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 printf %s "checking for $ac_word... " >&6; }
6026 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
6027 then :
6028 printf %s "(cached) " >&6
6029 else case e in #(
6030 e) if test -n "$ac_ct_DUMPBIN"; then
6031 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6032 else
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 for as_dir in $PATH
6035 do
6036 IFS=$as_save_IFS
6037 case $as_dir in #(((
6038 '') as_dir=./ ;;
6039 */) ;;
6040 *) as_dir=$as_dir/ ;;
6041 esac
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6044 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6046 break 2
6047 fi
6048 done
6049 done
6050 IFS=$as_save_IFS
6051
6052 fi ;;
6053 esac
6054 fi
6055 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6056 if test -n "$ac_ct_DUMPBIN"; then
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6058 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
6059 else
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 printf "%s\n" "no" >&6; }
6062 fi
6063
6064
6065 test -n "$ac_ct_DUMPBIN" && break
6066 done
6067
6068 if test "x$ac_ct_DUMPBIN" = x; then
6069 DUMPBIN=":"
6070 else
6071 case $cross_compiling:$ac_tool_warned in
6072 yes:)
6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6074 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6075 ac_tool_warned=yes ;;
6076 esac
6077 DUMPBIN=$ac_ct_DUMPBIN
6078 fi
6079 fi
6080
6081 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
6082 *COFF*)
6083 DUMPBIN="$DUMPBIN -symbols -headers"
6084 ;;
6085 *)
6086 DUMPBIN=:
6087 ;;
6088 esac
6089 fi
6090
6091 if test : != "$DUMPBIN"; then
6092 NM=$DUMPBIN
6093 fi
6094 fi
6095 test -z "$NM" && NM=nm
6096
6097
6098
6099
6100
6101
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6103 printf %s "checking the name lister ($NM) interface... " >&6; }
6104 if test ${lt_cv_nm_interface+y}
6105 then :
6106 printf %s "(cached) " >&6
6107 else case e in #(
6108 e) lt_cv_nm_interface="BSD nm"
6109 echo "int some_variable = 0;" > conftest.$ac_ext
6110 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6111 (eval "$ac_compile" 2>conftest.err)
6112 cat conftest.err >&5
6113 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6114 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6115 cat conftest.err >&5
6116 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6117 cat conftest.out >&5
6118 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6119 lt_cv_nm_interface="MS dumpbin"
6120 fi
6121 rm -f conftest* ;;
6122 esac
6123 fi
6124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6125 printf "%s\n" "$lt_cv_nm_interface" >&6; }
6126
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6128 printf %s "checking whether ln -s works... " >&6; }
6129 LN_S=$as_ln_s
6130 if test "$LN_S" = "ln -s"; then
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6132 printf "%s\n" "yes" >&6; }
6133 else
6134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6135 printf "%s\n" "no, using $LN_S" >&6; }
6136 fi
6137
6138 # find the maximum length of command line arguments
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6140 printf %s "checking the maximum length of command line arguments... " >&6; }
6141 if test ${lt_cv_sys_max_cmd_len+y}
6142 then :
6143 printf %s "(cached) " >&6
6144 else case e in #(
6145 e) i=0
6146 teststring=ABCD
6147
6148 case $build_os in
6149 msdosdjgpp*)
6150 # On DJGPP, this test can blow up pretty badly due to problems in libc
6151 # (any single argument exceeding 2000 bytes causes a buffer overrun
6152 # during glob expansion). Even if it were fixed, the result of this
6153 # check would be larger than it should be.
6154 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6155 ;;
6156
6157 gnu* | ironclad*)
6158 # Under GNU Hurd and Ironclad, this test is not required because there
6159 # is no limit to the length of command line arguments.
6160 # Libtool will interpret -1 as no limit whatsoever
6161 lt_cv_sys_max_cmd_len=-1;
6162 ;;
6163
6164 cygwin* | mingw* | windows* | cegcc*)
6165 # On Win9x/ME, this test blows up -- it succeeds, but takes
6166 # about 5 minutes as the teststring grows exponentially.
6167 # Worse, since 9x/ME are not pre-emptively multitasking,
6168 # you end up with a "frozen" computer, even though with patience
6169 # the test eventually succeeds (with a max line length of 256k).
6170 # Instead, let's just punt: use the minimum linelength reported by
6171 # all of the supported platforms: 8192 (on NT/2K/XP).
6172 lt_cv_sys_max_cmd_len=8192;
6173 ;;
6174
6175 mint*)
6176 # On MiNT this can take a long time and run out of memory.
6177 lt_cv_sys_max_cmd_len=8192;
6178 ;;
6179
6180 amigaos*)
6181 # On AmigaOS with pdksh, this test takes hours, literally.
6182 # So we just punt and use a minimum line length of 8192.
6183 lt_cv_sys_max_cmd_len=8192;
6184 ;;
6185
6186 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
6187 # This has been around since 386BSD, at least. Likely further.
6188 if test -x /sbin/sysctl; then
6189 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6190 elif test -x /usr/sbin/sysctl; then
6191 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6192 else
6193 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6194 fi
6195 # And add a safety zone
6196 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6197 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6198 ;;
6199
6200 interix*)
6201 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6202 lt_cv_sys_max_cmd_len=196608
6203 ;;
6204
6205 os2*)
6206 # The test takes a long time on OS/2.
6207 lt_cv_sys_max_cmd_len=8192
6208 ;;
6209
6210 osf*)
6211 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6212 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6213 # nice to cause kernel panics so lets avoid the loop below.
6214 # First set a reasonable default.
6215 lt_cv_sys_max_cmd_len=16384
6216 #
6217 if test -x /sbin/sysconfig; then
6218 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6219 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6220 esac
6221 fi
6222 ;;
6223 sco3.2v5*)
6224 lt_cv_sys_max_cmd_len=102400
6225 ;;
6226 sysv5* | sco5v6* | sysv4.2uw2*)
6227 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6228 if test -n "$kargmax"; then
6229 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
6230 else
6231 lt_cv_sys_max_cmd_len=32768
6232 fi
6233 ;;
6234 *)
6235 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6236 if test -n "$lt_cv_sys_max_cmd_len" && \
6237 test undefined != "$lt_cv_sys_max_cmd_len"; then
6238 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6239 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6240 else
6241 # Make teststring a little bigger before we do anything with it.
6242 # a 1K string should be a reasonable start.
6243 for i in 1 2 3 4 5 6 7 8; do
6244 teststring=$teststring$teststring
6245 done
6246 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6247 # If test is not a shell built-in, we'll probably end up computing a
6248 # maximum length that is only half of the actual maximum length, but
6249 # we can't tell.
6250 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6251 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6252 test 17 != "$i" # 1/2 MB should be enough
6253 do
6254 i=`expr $i + 1`
6255 teststring=$teststring$teststring
6256 done
6257 # Only check the string length outside the loop.
6258 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6259 teststring=
6260 # Add a significant safety factor because C++ compilers can tack on
6261 # massive amounts of additional arguments before passing them to the
6262 # linker. It appears as though 1/2 is a usable value.
6263 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6264 fi
6265 ;;
6266 esac
6267 ;;
6268 esac
6269 fi
6270
6271 if test -n "$lt_cv_sys_max_cmd_len"; then
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6273 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6274 else
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6276 printf "%s\n" "none" >&6; }
6277 fi
6278 max_cmd_len=$lt_cv_sys_max_cmd_len
6279
6280
6281
6282
6283
6284
6285 : ${CP="cp -f"}
6286 : ${MV="mv -f"}
6287 : ${RM="rm -f"}
6288
6289 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6290 lt_unset=unset
6291 else
6292 lt_unset=false
6293 fi
6294
6295
6296
6297
6298
6299 # test EBCDIC or ASCII
6300 case `echo X|tr X '\101'` in
6301 A) # ASCII based system
6302 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6303 lt_SP2NL='tr \040 \012'
6304 lt_NL2SP='tr \015\012 \040\040'
6305 ;;
6306 *) # EBCDIC based system
6307 lt_SP2NL='tr \100 \n'
6308 lt_NL2SP='tr \r\n \100\100'
6309 ;;
6310 esac
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6321 printf %s "checking how to convert $build file names to $host format... " >&6; }
6322 if test ${lt_cv_to_host_file_cmd+y}
6323 then :
6324 printf %s "(cached) " >&6
6325 else case e in #(
6326 e) case $host in
6327 *-*-mingw* )
6328 case $build in
6329 *-*-mingw* | *-*-windows* ) # actually msys
6330 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6331 ;;
6332 *-*-cygwin* )
6333 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6334 ;;
6335 * ) # otherwise, assume *nix
6336 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6337 ;;
6338 esac
6339 ;;
6340 *-*-cygwin* )
6341 case $build in
6342 *-*-mingw* | *-*-windows* ) # actually msys
6343 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6344 ;;
6345 *-*-cygwin* )
6346 lt_cv_to_host_file_cmd=func_convert_file_noop
6347 ;;
6348 * ) # otherwise, assume *nix
6349 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6350 ;;
6351 esac
6352 ;;
6353 * ) # unhandled hosts (and "normal" native builds)
6354 lt_cv_to_host_file_cmd=func_convert_file_noop
6355 ;;
6356 esac
6357 ;;
6358 esac
6359 fi
6360
6361 to_host_file_cmd=$lt_cv_to_host_file_cmd
6362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6363 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6364
6365
6366
6367
6368
6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6370 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6371 if test ${lt_cv_to_tool_file_cmd+y}
6372 then :
6373 printf %s "(cached) " >&6
6374 else case e in #(
6375 e) #assume ordinary cross tools, or native build.
6376 lt_cv_to_tool_file_cmd=func_convert_file_noop
6377 case $host in
6378 *-*-mingw* | *-*-windows* )
6379 case $build in
6380 *-*-mingw* | *-*-windows* ) # actually msys
6381 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6382 ;;
6383 esac
6384 ;;
6385 esac
6386 ;;
6387 esac
6388 fi
6389
6390 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6392 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6393
6394
6395
6396
6397
6398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6399 printf %s "checking for $LD option to reload object files... " >&6; }
6400 if test ${lt_cv_ld_reload_flag+y}
6401 then :
6402 printf %s "(cached) " >&6
6403 else case e in #(
6404 e) lt_cv_ld_reload_flag='-r' ;;
6405 esac
6406 fi
6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6408 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6409 reload_flag=$lt_cv_ld_reload_flag
6410 case $reload_flag in
6411 "" | " "*) ;;
6412 *) reload_flag=" $reload_flag" ;;
6413 esac
6414 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6415 case $host_os in
6416 cygwin* | mingw* | windows* | pw32* | cegcc*)
6417 if test yes != "$GCC"; then
6418 reload_cmds=false
6419 fi
6420 ;;
6421 darwin*)
6422 if test yes = "$GCC"; then
6423 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6424 else
6425 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6426 fi
6427 ;;
6428 esac
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438 # Extract the first word of "file", so it can be a program name with args.
6439 set dummy file; ac_word=$2
6440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 printf %s "checking for $ac_word... " >&6; }
6442 if test ${ac_cv_prog_FILECMD+y}
6443 then :
6444 printf %s "(cached) " >&6
6445 else case e in #(
6446 e) if test -n "$FILECMD"; then
6447 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6448 else
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 for as_dir in $PATH
6451 do
6452 IFS=$as_save_IFS
6453 case $as_dir in #(((
6454 '') as_dir=./ ;;
6455 */) ;;
6456 *) as_dir=$as_dir/ ;;
6457 esac
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6460 ac_cv_prog_FILECMD="file"
6461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6462 break 2
6463 fi
6464 done
6465 done
6466 IFS=$as_save_IFS
6467
6468 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
6469 fi ;;
6470 esac
6471 fi
6472 FILECMD=$ac_cv_prog_FILECMD
6473 if test -n "$FILECMD"; then
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6475 printf "%s\n" "$FILECMD" >&6; }
6476 else
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 printf "%s\n" "no" >&6; }
6479 fi
6480
6481
6482
6483
6484
6485
6486
6487
6488 if test -n "$ac_tool_prefix"; then
6489 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6490 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 printf %s "checking for $ac_word... " >&6; }
6493 if test ${ac_cv_prog_OBJDUMP+y}
6494 then :
6495 printf %s "(cached) " >&6
6496 else case e in #(
6497 e) if test -n "$OBJDUMP"; then
6498 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6499 else
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in $PATH
6502 do
6503 IFS=$as_save_IFS
6504 case $as_dir in #(((
6505 '') as_dir=./ ;;
6506 */) ;;
6507 *) as_dir=$as_dir/ ;;
6508 esac
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6513 break 2
6514 fi
6515 done
6516 done
6517 IFS=$as_save_IFS
6518
6519 fi ;;
6520 esac
6521 fi
6522 OBJDUMP=$ac_cv_prog_OBJDUMP
6523 if test -n "$OBJDUMP"; then
6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6525 printf "%s\n" "$OBJDUMP" >&6; }
6526 else
6527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6528 printf "%s\n" "no" >&6; }
6529 fi
6530
6531
6532 fi
6533 if test -z "$ac_cv_prog_OBJDUMP"; then
6534 ac_ct_OBJDUMP=$OBJDUMP
6535 # Extract the first word of "objdump", so it can be a program name with args.
6536 set dummy objdump; ac_word=$2
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 printf %s "checking for $ac_word... " >&6; }
6539 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6540 then :
6541 printf %s "(cached) " >&6
6542 else case e in #(
6543 e) if test -n "$ac_ct_OBJDUMP"; then
6544 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6545 else
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 for as_dir in $PATH
6548 do
6549 IFS=$as_save_IFS
6550 case $as_dir in #(((
6551 '') as_dir=./ ;;
6552 */) ;;
6553 *) as_dir=$as_dir/ ;;
6554 esac
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6557 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6559 break 2
6560 fi
6561 done
6562 done
6563 IFS=$as_save_IFS
6564
6565 fi ;;
6566 esac
6567 fi
6568 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6569 if test -n "$ac_ct_OBJDUMP"; then
6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6571 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6572 else
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 printf "%s\n" "no" >&6; }
6575 fi
6576
6577 if test "x$ac_ct_OBJDUMP" = x; then
6578 OBJDUMP="false"
6579 else
6580 case $cross_compiling:$ac_tool_warned in
6581 yes:)
6582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6583 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6584 ac_tool_warned=yes ;;
6585 esac
6586 OBJDUMP=$ac_ct_OBJDUMP
6587 fi
6588 else
6589 OBJDUMP="$ac_cv_prog_OBJDUMP"
6590 fi
6591
6592 test -z "$OBJDUMP" && OBJDUMP=objdump
6593
6594
6595
6596
6597
6598
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6600 printf %s "checking how to recognize dependent libraries... " >&6; }
6601 if test ${lt_cv_deplibs_check_method+y}
6602 then :
6603 printf %s "(cached) " >&6
6604 else case e in #(
6605 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
6606 lt_cv_file_magic_test_file=
6607 lt_cv_deplibs_check_method='unknown'
6608 # Need to set the preceding variable on all platforms that support
6609 # interlibrary dependencies.
6610 # 'none' -- dependencies not supported.
6611 # 'unknown' -- same as none, but documents that we really don't know.
6612 # 'pass_all' -- all dependencies passed with no checks.
6613 # 'file_magic [[regex]]' -- check by looking for files in library path
6614 # that responds to the $file_magic_cmd with a given extended regex.
6615 # If you have 'file' or equivalent on your system and you're not sure
6616 # whether 'pass_all' will *always* work, you probably want this one.
6617
6618 case $host_os in
6619 aix[4-9]*)
6620 lt_cv_deplibs_check_method=pass_all
6621 ;;
6622
6623 beos*)
6624 lt_cv_deplibs_check_method=pass_all
6625 ;;
6626
6627 bsdi[45]*)
6628 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6629 lt_cv_file_magic_cmd='$FILECMD -L'
6630 lt_cv_file_magic_test_file=/shlib/libc.so
6631 ;;
6632
6633 cygwin*)
6634 # func_win32_libid is a shell function defined in ltmain.sh
6635 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6636 lt_cv_file_magic_cmd='func_win32_libid'
6637 ;;
6638
6639 mingw* | windows* | pw32*)
6640 # Base MSYS/MinGW do not provide the 'file' command needed by
6641 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6642 # unless we find 'file', for example because we are cross-compiling.
6643 if ( file / ) >/dev/null 2>&1; then
6644 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6645 lt_cv_file_magic_cmd='func_win32_libid'
6646 else
6647 # Keep this pattern in sync with the one in func_win32_libid.
6648 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
6649 lt_cv_file_magic_cmd='$OBJDUMP -f'
6650 fi
6651 ;;
6652
6653 cegcc*)
6654 # use the weaker test based on 'objdump'. See mingw*.
6655 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6656 lt_cv_file_magic_cmd='$OBJDUMP -f'
6657 ;;
6658
6659 darwin* | rhapsody*)
6660 lt_cv_deplibs_check_method=pass_all
6661 ;;
6662
6663 freebsd* | dragonfly* | midnightbsd*)
6664 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6665 case $host_cpu in
6666 i*86 )
6667 # Not sure whether the presence of OpenBSD here was a mistake.
6668 # Let's accept both of them until this is cleared up.
6669 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6670 lt_cv_file_magic_cmd=$FILECMD
6671 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6672 ;;
6673 esac
6674 else
6675 lt_cv_deplibs_check_method=pass_all
6676 fi
6677 ;;
6678
6679 haiku*)
6680 lt_cv_deplibs_check_method=pass_all
6681 ;;
6682
6683 hpux10.20* | hpux11*)
6684 lt_cv_file_magic_cmd=$FILECMD
6685 case $host_cpu in
6686 ia64*)
6687 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6688 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6689 ;;
6690 hppa*64*)
6691 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]'
6692 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6693 ;;
6694 *)
6695 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6696 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6697 ;;
6698 esac
6699 ;;
6700
6701 interix[3-9]*)
6702 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6703 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6704 ;;
6705
6706 irix5* | irix6* | nonstopux*)
6707 case $LD in
6708 *-32|*"-32 ") libmagic=32-bit;;
6709 *-n32|*"-n32 ") libmagic=N32;;
6710 *-64|*"-64 ") libmagic=64-bit;;
6711 *) libmagic=never-match;;
6712 esac
6713 lt_cv_deplibs_check_method=pass_all
6714 ;;
6715
6716 # This must be glibc/ELF.
6717 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6718 lt_cv_deplibs_check_method=pass_all
6719 ;;
6720
6721 *-mlibc)
6722 lt_cv_deplibs_check_method=pass_all
6723 ;;
6724
6725 netbsd* | netbsdelf*-gnu)
6726 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6727 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6728 else
6729 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6730 fi
6731 ;;
6732
6733 newos6*)
6734 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6735 lt_cv_file_magic_cmd=$FILECMD
6736 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6737 ;;
6738
6739 *nto* | *qnx*)
6740 lt_cv_deplibs_check_method=pass_all
6741 ;;
6742
6743 openbsd*)
6744 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6745 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6746 else
6747 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6748 fi
6749 ;;
6750
6751 osf3* | osf4* | osf5*)
6752 lt_cv_deplibs_check_method=pass_all
6753 ;;
6754
6755 rdos*)
6756 lt_cv_deplibs_check_method=pass_all
6757 ;;
6758
6759 serenity*)
6760 lt_cv_deplibs_check_method=pass_all
6761 ;;
6762
6763 solaris*)
6764 lt_cv_deplibs_check_method=pass_all
6765 ;;
6766
6767 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6768 lt_cv_deplibs_check_method=pass_all
6769 ;;
6770
6771 sysv4 | sysv4.3*)
6772 case $host_vendor in
6773 motorola)
6774 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]'
6775 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6776 ;;
6777 ncr)
6778 lt_cv_deplibs_check_method=pass_all
6779 ;;
6780 sequent)
6781 lt_cv_file_magic_cmd='/bin/file'
6782 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6783 ;;
6784 sni)
6785 lt_cv_file_magic_cmd='/bin/file'
6786 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6787 lt_cv_file_magic_test_file=/lib/libc.so
6788 ;;
6789 siemens)
6790 lt_cv_deplibs_check_method=pass_all
6791 ;;
6792 pc)
6793 lt_cv_deplibs_check_method=pass_all
6794 ;;
6795 esac
6796 ;;
6797
6798 tpf*)
6799 lt_cv_deplibs_check_method=pass_all
6800 ;;
6801 os2*)
6802 lt_cv_deplibs_check_method=pass_all
6803 ;;
6804 esac
6805 ;;
6806 esac
6807 fi
6808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6809 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6810
6811 file_magic_glob=
6812 want_nocaseglob=no
6813 if test "$build" = "$host"; then
6814 case $host_os in
6815 mingw* | windows* | pw32*)
6816 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6817 want_nocaseglob=yes
6818 else
6819 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6820 fi
6821 ;;
6822 esac
6823 fi
6824
6825 file_magic_cmd=$lt_cv_file_magic_cmd
6826 deplibs_check_method=$lt_cv_deplibs_check_method
6827 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850 if test -n "$ac_tool_prefix"; then
6851 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6852 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6854 printf %s "checking for $ac_word... " >&6; }
6855 if test ${ac_cv_prog_DLLTOOL+y}
6856 then :
6857 printf %s "(cached) " >&6
6858 else case e in #(
6859 e) if test -n "$DLLTOOL"; then
6860 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6861 else
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 for as_dir in $PATH
6864 do
6865 IFS=$as_save_IFS
6866 case $as_dir in #(((
6867 '') as_dir=./ ;;
6868 */) ;;
6869 *) as_dir=$as_dir/ ;;
6870 esac
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6873 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6875 break 2
6876 fi
6877 done
6878 done
6879 IFS=$as_save_IFS
6880
6881 fi ;;
6882 esac
6883 fi
6884 DLLTOOL=$ac_cv_prog_DLLTOOL
6885 if test -n "$DLLTOOL"; then
6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6887 printf "%s\n" "$DLLTOOL" >&6; }
6888 else
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 printf "%s\n" "no" >&6; }
6891 fi
6892
6893
6894 fi
6895 if test -z "$ac_cv_prog_DLLTOOL"; then
6896 ac_ct_DLLTOOL=$DLLTOOL
6897 # Extract the first word of "dlltool", so it can be a program name with args.
6898 set dummy dlltool; ac_word=$2
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6900 printf %s "checking for $ac_word... " >&6; }
6901 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6902 then :
6903 printf %s "(cached) " >&6
6904 else case e in #(
6905 e) if test -n "$ac_ct_DLLTOOL"; then
6906 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6907 else
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 for as_dir in $PATH
6910 do
6911 IFS=$as_save_IFS
6912 case $as_dir in #(((
6913 '') as_dir=./ ;;
6914 */) ;;
6915 *) as_dir=$as_dir/ ;;
6916 esac
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6919 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6921 break 2
6922 fi
6923 done
6924 done
6925 IFS=$as_save_IFS
6926
6927 fi ;;
6928 esac
6929 fi
6930 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6931 if test -n "$ac_ct_DLLTOOL"; then
6932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6933 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6934 else
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6936 printf "%s\n" "no" >&6; }
6937 fi
6938
6939 if test "x$ac_ct_DLLTOOL" = x; then
6940 DLLTOOL="false"
6941 else
6942 case $cross_compiling:$ac_tool_warned in
6943 yes:)
6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6945 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6946 ac_tool_warned=yes ;;
6947 esac
6948 DLLTOOL=$ac_ct_DLLTOOL
6949 fi
6950 else
6951 DLLTOOL="$ac_cv_prog_DLLTOOL"
6952 fi
6953
6954 test -z "$DLLTOOL" && DLLTOOL=dlltool
6955
6956
6957
6958
6959
6960
6961
6962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6963 printf %s "checking how to associate runtime and link libraries... " >&6; }
6964 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6965 then :
6966 printf %s "(cached) " >&6
6967 else case e in #(
6968 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
6969
6970 case $host_os in
6971 cygwin* | mingw* | windows* | pw32* | cegcc*)
6972 # two different shell functions defined in ltmain.sh;
6973 # decide which one to use based on capabilities of $DLLTOOL
6974 case `$DLLTOOL --help 2>&1` in
6975 *--identify-strict*)
6976 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6977 ;;
6978 *)
6979 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6980 ;;
6981 esac
6982 ;;
6983 *)
6984 # fallback: assume linklib IS sharedlib
6985 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6986 ;;
6987 esac
6988 ;;
6989 esac
6990 fi
6991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6992 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6993 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6994 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6995
6996
6997
6998
6999
7000
7001
7002 if test -n "$ac_tool_prefix"; then
7003 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7004 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 printf %s "checking for $ac_word... " >&6; }
7007 if test ${ac_cv_prog_RANLIB+y}
7008 then :
7009 printf %s "(cached) " >&6
7010 else case e in #(
7011 e) if test -n "$RANLIB"; then
7012 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7013 else
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 for as_dir in $PATH
7016 do
7017 IFS=$as_save_IFS
7018 case $as_dir in #(((
7019 '') as_dir=./ ;;
7020 */) ;;
7021 *) as_dir=$as_dir/ ;;
7022 esac
7023 for ac_exec_ext in '' $ac_executable_extensions; do
7024 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7025 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7027 break 2
7028 fi
7029 done
7030 done
7031 IFS=$as_save_IFS
7032
7033 fi ;;
7034 esac
7035 fi
7036 RANLIB=$ac_cv_prog_RANLIB
7037 if test -n "$RANLIB"; then
7038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7039 printf "%s\n" "$RANLIB" >&6; }
7040 else
7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7042 printf "%s\n" "no" >&6; }
7043 fi
7044
7045
7046 fi
7047 if test -z "$ac_cv_prog_RANLIB"; then
7048 ac_ct_RANLIB=$RANLIB
7049 # Extract the first word of "ranlib", so it can be a program name with args.
7050 set dummy ranlib; ac_word=$2
7051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052 printf %s "checking for $ac_word... " >&6; }
7053 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7054 then :
7055 printf %s "(cached) " >&6
7056 else case e in #(
7057 e) if test -n "$ac_ct_RANLIB"; then
7058 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7059 else
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 for as_dir in $PATH
7062 do
7063 IFS=$as_save_IFS
7064 case $as_dir in #(((
7065 '') as_dir=./ ;;
7066 */) ;;
7067 *) as_dir=$as_dir/ ;;
7068 esac
7069 for ac_exec_ext in '' $ac_executable_extensions; do
7070 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7071 ac_cv_prog_ac_ct_RANLIB="ranlib"
7072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7073 break 2
7074 fi
7075 done
7076 done
7077 IFS=$as_save_IFS
7078
7079 fi ;;
7080 esac
7081 fi
7082 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7083 if test -n "$ac_ct_RANLIB"; then
7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7085 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7086 else
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 printf "%s\n" "no" >&6; }
7089 fi
7090
7091 if test "x$ac_ct_RANLIB" = x; then
7092 RANLIB=":"
7093 else
7094 case $cross_compiling:$ac_tool_warned in
7095 yes:)
7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7097 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7098 ac_tool_warned=yes ;;
7099 esac
7100 RANLIB=$ac_ct_RANLIB
7101 fi
7102 else
7103 RANLIB="$ac_cv_prog_RANLIB"
7104 fi
7105
7106 if test -n "$ac_tool_prefix"; then
7107 for ac_prog in ar
7108 do
7109 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7110 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112 printf %s "checking for $ac_word... " >&6; }
7113 if test ${ac_cv_prog_AR+y}
7114 then :
7115 printf %s "(cached) " >&6
7116 else case e in #(
7117 e) if test -n "$AR"; then
7118 ac_cv_prog_AR="$AR" # Let the user override the test.
7119 else
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121 for as_dir in $PATH
7122 do
7123 IFS=$as_save_IFS
7124 case $as_dir in #(((
7125 '') as_dir=./ ;;
7126 */) ;;
7127 *) as_dir=$as_dir/ ;;
7128 esac
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7131 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7133 break 2
7134 fi
7135 done
7136 done
7137 IFS=$as_save_IFS
7138
7139 fi ;;
7140 esac
7141 fi
7142 AR=$ac_cv_prog_AR
7143 if test -n "$AR"; then
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7145 printf "%s\n" "$AR" >&6; }
7146 else
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 printf "%s\n" "no" >&6; }
7149 fi
7150
7151
7152 test -n "$AR" && break
7153 done
7154 fi
7155 if test -z "$AR"; then
7156 ac_ct_AR=$AR
7157 for ac_prog in ar
7158 do
7159 # Extract the first word of "$ac_prog", so it can be a program name with args.
7160 set dummy $ac_prog; ac_word=$2
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 printf %s "checking for $ac_word... " >&6; }
7163 if test ${ac_cv_prog_ac_ct_AR+y}
7164 then :
7165 printf %s "(cached) " >&6
7166 else case e in #(
7167 e) if test -n "$ac_ct_AR"; then
7168 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7169 else
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 for as_dir in $PATH
7172 do
7173 IFS=$as_save_IFS
7174 case $as_dir in #(((
7175 '') as_dir=./ ;;
7176 */) ;;
7177 *) as_dir=$as_dir/ ;;
7178 esac
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_ac_ct_AR="$ac_prog"
7182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7183 break 2
7184 fi
7185 done
7186 done
7187 IFS=$as_save_IFS
7188
7189 fi ;;
7190 esac
7191 fi
7192 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7193 if test -n "$ac_ct_AR"; then
7194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7195 printf "%s\n" "$ac_ct_AR" >&6; }
7196 else
7197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 printf "%s\n" "no" >&6; }
7199 fi
7200
7201
7202 test -n "$ac_ct_AR" && break
7203 done
7204
7205 if test "x$ac_ct_AR" = x; then
7206 AR="false"
7207 else
7208 case $cross_compiling:$ac_tool_warned in
7209 yes:)
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7211 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7212 ac_tool_warned=yes ;;
7213 esac
7214 AR=$ac_ct_AR
7215 fi
7216 fi
7217
7218 : ${AR=ar}
7219
7220
7221
7222
7223
7224
7225 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
7226 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7227 # higher priority because that's what people were doing historically (setting
7228 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
7229 # variable obsoleted/removed.
7230
7231 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7232 lt_ar_flags=$AR_FLAGS
7233
7234
7235
7236
7237
7238
7239 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7240 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7241
7242
7243
7244
7245
7246
7247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7248 printf %s "checking for archiver @FILE support... " >&6; }
7249 if test ${lt_cv_ar_at_file+y}
7250 then :
7251 printf %s "(cached) " >&6
7252 else case e in #(
7253 e) lt_cv_ar_at_file=no
7254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7256
7257 int
7258 main (void)
7259 {
7260
7261 ;
7262 return 0;
7263 }
7264 _ACEOF
7265 if ac_fn_c_try_compile "$LINENO"
7266 then :
7267 echo conftest.$ac_objext > conftest.lst
7268 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7269 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7270 (eval $lt_ar_try) 2>&5
7271 ac_status=$?
7272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7273 test $ac_status = 0; }
7274 if test 0 -eq "$ac_status"; then
7275 # Ensure the archiver fails upon bogus file names.
7276 rm -f conftest.$ac_objext libconftest.a
7277 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7278 (eval $lt_ar_try) 2>&5
7279 ac_status=$?
7280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7281 test $ac_status = 0; }
7282 if test 0 -ne "$ac_status"; then
7283 lt_cv_ar_at_file=@
7284 fi
7285 fi
7286 rm -f conftest.* libconftest.a
7287
7288 fi
7289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7290 ;;
7291 esac
7292 fi
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7294 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7295
7296 if test no = "$lt_cv_ar_at_file"; then
7297 archiver_list_spec=
7298 else
7299 archiver_list_spec=$lt_cv_ar_at_file
7300 fi
7301
7302
7303
7304
7305
7306
7307
7308 if test -n "$ac_tool_prefix"; then
7309 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7310 set dummy ${ac_tool_prefix}strip; ac_word=$2
7311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 printf %s "checking for $ac_word... " >&6; }
7313 if test ${ac_cv_prog_STRIP+y}
7314 then :
7315 printf %s "(cached) " >&6
7316 else case e in #(
7317 e) if test -n "$STRIP"; then
7318 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7319 else
7320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7321 for as_dir in $PATH
7322 do
7323 IFS=$as_save_IFS
7324 case $as_dir in #(((
7325 '') as_dir=./ ;;
7326 */) ;;
7327 *) as_dir=$as_dir/ ;;
7328 esac
7329 for ac_exec_ext in '' $ac_executable_extensions; do
7330 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7331 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7333 break 2
7334 fi
7335 done
7336 done
7337 IFS=$as_save_IFS
7338
7339 fi ;;
7340 esac
7341 fi
7342 STRIP=$ac_cv_prog_STRIP
7343 if test -n "$STRIP"; then
7344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7345 printf "%s\n" "$STRIP" >&6; }
7346 else
7347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 printf "%s\n" "no" >&6; }
7349 fi
7350
7351
7352 fi
7353 if test -z "$ac_cv_prog_STRIP"; then
7354 ac_ct_STRIP=$STRIP
7355 # Extract the first word of "strip", so it can be a program name with args.
7356 set dummy strip; ac_word=$2
7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 printf %s "checking for $ac_word... " >&6; }
7359 if test ${ac_cv_prog_ac_ct_STRIP+y}
7360 then :
7361 printf %s "(cached) " >&6
7362 else case e in #(
7363 e) if test -n "$ac_ct_STRIP"; then
7364 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7365 else
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 for as_dir in $PATH
7368 do
7369 IFS=$as_save_IFS
7370 case $as_dir in #(((
7371 '') as_dir=./ ;;
7372 */) ;;
7373 *) as_dir=$as_dir/ ;;
7374 esac
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7377 ac_cv_prog_ac_ct_STRIP="strip"
7378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7379 break 2
7380 fi
7381 done
7382 done
7383 IFS=$as_save_IFS
7384
7385 fi ;;
7386 esac
7387 fi
7388 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7389 if test -n "$ac_ct_STRIP"; then
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7391 printf "%s\n" "$ac_ct_STRIP" >&6; }
7392 else
7393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 printf "%s\n" "no" >&6; }
7395 fi
7396
7397 if test "x$ac_ct_STRIP" = x; then
7398 STRIP=":"
7399 else
7400 case $cross_compiling:$ac_tool_warned in
7401 yes:)
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404 ac_tool_warned=yes ;;
7405 esac
7406 STRIP=$ac_ct_STRIP
7407 fi
7408 else
7409 STRIP="$ac_cv_prog_STRIP"
7410 fi
7411
7412 test -z "$STRIP" && STRIP=:
7413
7414
7415
7416
7417
7418
7419
7420 test -z "$RANLIB" && RANLIB=:
7421
7422
7423
7424
7425
7426
7427 # Determine commands to create old-style static archives.
7428 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7429 old_postinstall_cmds='chmod 644 $oldlib'
7430 old_postuninstall_cmds=
7431
7432 if test -n "$RANLIB"; then
7433 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7434 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7435 fi
7436
7437 case $host_os in
7438 darwin*)
7439 lock_old_archive_extraction=yes ;;
7440 *)
7441 lock_old_archive_extraction=no ;;
7442 esac
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482 # If no C compiler was specified, use CC.
7483 LTCC=${LTCC-"$CC"}
7484
7485 # If no C compiler flags were specified, use CFLAGS.
7486 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7487
7488 # Allow CC to be a program name with arguments.
7489 compiler=$CC
7490
7491
7492 # Check for command to grab the raw symbol name followed by C symbol from nm.
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7494 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7495 if test ${lt_cv_sys_global_symbol_pipe+y}
7496 then :
7497 printf %s "(cached) " >&6
7498 else case e in #(
7499 e)
7500 # These are sane defaults that work on at least a few old systems.
7501 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7502
7503 # Character class describing NM global symbol codes.
7504 symcode='[BCDEGRST]'
7505
7506 # Regexp to match symbols that can be accessed directly from C.
7507 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7508
7509 # Define system-specific variables.
7510 case $host_os in
7511 aix*)
7512 symcode='[BCDT]'
7513 ;;
7514 cygwin* | mingw* | windows* | pw32* | cegcc*)
7515 symcode='[ABCDGISTW]'
7516 ;;
7517 hpux*)
7518 if test ia64 = "$host_cpu"; then
7519 symcode='[ABCDEGRST]'
7520 fi
7521 ;;
7522 irix* | nonstopux*)
7523 symcode='[BCDEGRST]'
7524 ;;
7525 osf*)
7526 symcode='[BCDEGQRST]'
7527 ;;
7528 solaris*)
7529 symcode='[BCDRT]'
7530 ;;
7531 sco3.2v5*)
7532 symcode='[DT]'
7533 ;;
7534 sysv4.2uw2*)
7535 symcode='[DT]'
7536 ;;
7537 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7538 symcode='[ABDT]'
7539 ;;
7540 sysv4)
7541 symcode='[DFNSTU]'
7542 ;;
7543 esac
7544
7545 # If we're using GNU nm, then use its standard symbol codes.
7546 case `$NM -V 2>&1` in
7547 *GNU* | *'with BFD'*)
7548 symcode='[ABCDGIRSTW]' ;;
7549 esac
7550
7551 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7552 # Gets list of data symbols to import.
7553 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7554 # Adjust the below global symbol transforms to fixup imported variables.
7555 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7556 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7557 lt_c_name_lib_hook="\
7558 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7559 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7560 else
7561 # Disable hooks by default.
7562 lt_cv_sys_global_symbol_to_import=
7563 lt_cdecl_hook=
7564 lt_c_name_hook=
7565 lt_c_name_lib_hook=
7566 fi
7567
7568 # Transform an extracted symbol line into a proper C declaration.
7569 # Some systems (esp. on ia64) link data and code symbols differently,
7570 # so use this general approach.
7571 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7572 $lt_cdecl_hook\
7573 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7574 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7575
7576 # Transform an extracted symbol line into symbol name and symbol address
7577 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7578 $lt_c_name_hook\
7579 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7580 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7581
7582 # Transform an extracted symbol line into symbol name with lib prefix and
7583 # symbol address.
7584 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7585 $lt_c_name_lib_hook\
7586 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7587 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7588 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7589
7590 # Handle CRLF in mingw tool chain
7591 opt_cr=
7592 case $build_os in
7593 mingw* | windows*)
7594 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7595 ;;
7596 esac
7597
7598 # Try without a prefix underscore, then with it.
7599 for ac_symprfx in "" "_"; do
7600
7601 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7602 symxfrm="\\1 $ac_symprfx\\2 \\2"
7603
7604 # Write the raw and C identifiers.
7605 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7606 # Fake it for dumpbin and say T for any non-static function,
7607 # D for any global variable and I for any imported variable.
7608 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7609 # which start with @ or ?.
7610 lt_cv_sys_global_symbol_pipe="$AWK '"\
7611 " {last_section=section; section=\$ 3};"\
7612 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7613 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7614 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7615 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7616 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7617 " \$ 0!~/External *\|/{next};"\
7618 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7619 " {if(hide[section]) next};"\
7620 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7621 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7622 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7623 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7624 " ' prfx=^$ac_symprfx"
7625 else
7626 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7627 fi
7628 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7629
7630 # Check to see that the pipe works correctly.
7631 pipe_works=no
7632
7633 rm -f conftest*
7634 cat > conftest.$ac_ext <<_LT_EOF
7635 #ifdef __cplusplus
7636 extern "C" {
7637 #endif
7638 char nm_test_var;
7639 void nm_test_func(void);
7640 void nm_test_func(void){}
7641 #ifdef __cplusplus
7642 }
7643 #endif
7644 int main(void){nm_test_var='a';nm_test_func();return(0);}
7645 _LT_EOF
7646
7647 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7648 (eval $ac_compile) 2>&5
7649 ac_status=$?
7650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7651 test $ac_status = 0; }; then
7652 # Now try to grab the symbols.
7653 nlist=conftest.nm
7654 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7655 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7656 # Try sorting and uniquifying the output.
7657 if sort "$nlist" | uniq > "$nlist"T; then
7658 mv -f "$nlist"T "$nlist"
7659 else
7660 rm -f "$nlist"T
7661 fi
7662
7663 # Make sure that we snagged all the symbols we need.
7664 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7665 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7666 cat <<_LT_EOF > conftest.$ac_ext
7667 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7668 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7669 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7670 relocations are performed -- see ld's documentation on pseudo-relocs. */
7671 # define LT_DLSYM_CONST
7672 #elif defined __osf__
7673 /* This system does not cope well with relocations in const data. */
7674 # define LT_DLSYM_CONST
7675 #else
7676 # define LT_DLSYM_CONST const
7677 #endif
7678
7679 #ifdef __cplusplus
7680 extern "C" {
7681 #endif
7682
7683 _LT_EOF
7684 # Now generate the symbol file.
7685 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7686
7687 cat <<_LT_EOF >> conftest.$ac_ext
7688
7689 /* The mapping between symbol names and symbols. */
7690 LT_DLSYM_CONST struct {
7691 const char *name;
7692 void *address;
7693 }
7694 lt__PROGRAM__LTX_preloaded_symbols[] =
7695 {
7696 { "@PROGRAM@", (void *) 0 },
7697 _LT_EOF
7698 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7699 cat <<\_LT_EOF >> conftest.$ac_ext
7700 {0, (void *) 0}
7701 };
7702
7703 /* This works around a problem in FreeBSD linker */
7704 #ifdef FREEBSD_WORKAROUND
7705 static const void *lt_preloaded_setup() {
7706 return lt__PROGRAM__LTX_preloaded_symbols;
7707 }
7708 #endif
7709
7710 #ifdef __cplusplus
7711 }
7712 #endif
7713 _LT_EOF
7714 # Now try linking the two files.
7715 mv conftest.$ac_objext conftstm.$ac_objext
7716 lt_globsym_save_LIBS=$LIBS
7717 lt_globsym_save_CFLAGS=$CFLAGS
7718 LIBS=conftstm.$ac_objext
7719 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7721 (eval $ac_link) 2>&5
7722 ac_status=$?
7723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7724 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7725 pipe_works=yes
7726 fi
7727 LIBS=$lt_globsym_save_LIBS
7728 CFLAGS=$lt_globsym_save_CFLAGS
7729 else
7730 echo "cannot find nm_test_func in $nlist" >&5
7731 fi
7732 else
7733 echo "cannot find nm_test_var in $nlist" >&5
7734 fi
7735 else
7736 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7737 fi
7738 else
7739 echo "$progname: failed program was:" >&5
7740 cat conftest.$ac_ext >&5
7741 fi
7742 rm -rf conftest* conftst*
7743
7744 # Do not use the global_symbol_pipe unless it works.
7745 if test yes = "$pipe_works"; then
7746 break
7747 else
7748 lt_cv_sys_global_symbol_pipe=
7749 fi
7750 done
7751 ;;
7752 esac
7753 fi
7754
7755 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7756 lt_cv_sys_global_symbol_to_cdecl=
7757 fi
7758 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7760 printf "%s\n" "failed" >&6; }
7761 else
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7763 printf "%s\n" "ok" >&6; }
7764 fi
7765
7766 # Response file support.
7767 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7768 nm_file_list_spec='@'
7769 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7770 nm_file_list_spec='@'
7771 fi
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7810 printf %s "checking for sysroot... " >&6; }
7811
7812 # Check whether --with-sysroot was given.
7813 if test ${with_sysroot+y}
7814 then :
7815 withval=$with_sysroot;
7816 else case e in #(
7817 e) with_sysroot=no ;;
7818 esac
7819 fi
7820
7821
7822 lt_sysroot=
7823 case $with_sysroot in #(
7824 yes)
7825 if test yes = "$GCC"; then
7826 # Trim trailing / since we'll always append absolute paths and we want
7827 # to avoid //, if only for less confusing output for the user.
7828 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
7829 fi
7830 ;; #(
7831 /*)
7832 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7833 ;; #(
7834 no|'')
7835 ;; #(
7836 *)
7837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7838 printf "%s\n" "$with_sysroot" >&6; }
7839 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7840 ;;
7841 esac
7842
7843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7844 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7845
7846
7847
7848
7849
7850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7851 printf %s "checking for a working dd... " >&6; }
7852 if test ${ac_cv_path_lt_DD+y}
7853 then :
7854 printf %s "(cached) " >&6
7855 else case e in #(
7856 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7857 cat conftest.i conftest.i >conftest2.i
7858 : ${lt_DD:=$DD}
7859 if test -z "$lt_DD"; then
7860 ac_path_lt_DD_found=false
7861 # Loop through the user's path and test for each of PROGNAME-LIST
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 for as_dir in $PATH
7864 do
7865 IFS=$as_save_IFS
7866 case $as_dir in #(((
7867 '') as_dir=./ ;;
7868 */) ;;
7869 *) as_dir=$as_dir/ ;;
7870 esac
7871 for ac_prog in dd
7872 do
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7875 as_fn_executable_p "$ac_path_lt_DD" || continue
7876 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7877 cmp -s conftest.i conftest.out \
7878 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7879 fi
7880 $ac_path_lt_DD_found && break 3
7881 done
7882 done
7883 done
7884 IFS=$as_save_IFS
7885 if test -z "$ac_cv_path_lt_DD"; then
7886 :
7887 fi
7888 else
7889 ac_cv_path_lt_DD=$lt_DD
7890 fi
7891
7892 rm -f conftest.i conftest2.i conftest.out ;;
7893 esac
7894 fi
7895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7896 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7897
7898
7899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7900 printf %s "checking how to truncate binary pipes... " >&6; }
7901 if test ${lt_cv_truncate_bin+y}
7902 then :
7903 printf %s "(cached) " >&6
7904 else case e in #(
7905 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7906 cat conftest.i conftest.i >conftest2.i
7907 lt_cv_truncate_bin=
7908 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7909 cmp -s conftest.i conftest.out \
7910 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7911 fi
7912 rm -f conftest.i conftest2.i conftest.out
7913 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
7914 esac
7915 fi
7916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7917 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7918
7919
7920
7921
7922
7923
7924
7925 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7926 func_cc_basename ()
7927 {
7928 for cc_temp in $*""; do
7929 case $cc_temp in
7930 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7931 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7932 \-*) ;;
7933 *) break;;
7934 esac
7935 done
7936 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7937 }
7938
7939 # Check whether --enable-libtool-lock was given.
7940 if test ${enable_libtool_lock+y}
7941 then :
7942 enableval=$enable_libtool_lock;
7943 fi
7944
7945 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7946
7947 # Some flags need to be propagated to the compiler or linker for good
7948 # libtool support.
7949 case $host in
7950 ia64-*-hpux*)
7951 # Find out what ABI is being produced by ac_compile, and set mode
7952 # options accordingly.
7953 echo 'int i;' > conftest.$ac_ext
7954 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7955 (eval $ac_compile) 2>&5
7956 ac_status=$?
7957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7958 test $ac_status = 0; }; then
7959 case `$FILECMD conftest.$ac_objext` in
7960 *ELF-32*)
7961 HPUX_IA64_MODE=32
7962 ;;
7963 *ELF-64*)
7964 HPUX_IA64_MODE=64
7965 ;;
7966 esac
7967 fi
7968 rm -rf conftest*
7969 ;;
7970 *-*-irix6*)
7971 # Find out what ABI is being produced by ac_compile, and set linker
7972 # options accordingly.
7973 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7975 (eval $ac_compile) 2>&5
7976 ac_status=$?
7977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7978 test $ac_status = 0; }; then
7979 if test yes = "$lt_cv_prog_gnu_ld"; then
7980 case `$FILECMD conftest.$ac_objext` in
7981 *32-bit*)
7982 LD="${LD-ld} -melf32bsmip"
7983 ;;
7984 *N32*)
7985 LD="${LD-ld} -melf32bmipn32"
7986 ;;
7987 *64-bit*)
7988 LD="${LD-ld} -melf64bmip"
7989 ;;
7990 esac
7991 else
7992 case `$FILECMD conftest.$ac_objext` in
7993 *32-bit*)
7994 LD="${LD-ld} -32"
7995 ;;
7996 *N32*)
7997 LD="${LD-ld} -n32"
7998 ;;
7999 *64-bit*)
8000 LD="${LD-ld} -64"
8001 ;;
8002 esac
8003 fi
8004 fi
8005 rm -rf conftest*
8006 ;;
8007
8008 mips64*-*linux*)
8009 # Find out what ABI is being produced by ac_compile, and set linker
8010 # options accordingly.
8011 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8013 (eval $ac_compile) 2>&5
8014 ac_status=$?
8015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8016 test $ac_status = 0; }; then
8017 emul=elf
8018 case `$FILECMD conftest.$ac_objext` in
8019 *32-bit*)
8020 emul="${emul}32"
8021 ;;
8022 *64-bit*)
8023 emul="${emul}64"
8024 ;;
8025 esac
8026 case `$FILECMD conftest.$ac_objext` in
8027 *MSB*)
8028 emul="${emul}btsmip"
8029 ;;
8030 *LSB*)
8031 emul="${emul}ltsmip"
8032 ;;
8033 esac
8034 case `$FILECMD conftest.$ac_objext` in
8035 *N32*)
8036 emul="${emul}n32"
8037 ;;
8038 esac
8039 LD="${LD-ld} -m $emul"
8040 fi
8041 rm -rf conftest*
8042 ;;
8043
8044 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8045 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
8046 # Find out what ABI is being produced by ac_compile, and set linker
8047 # options accordingly. Note that the listed cases only cover the
8048 # situations where additional linker options are needed (such as when
8049 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8050 # vice versa); the common cases where no linker options are needed do
8051 # not appear in the list.
8052 echo 'int i;' > conftest.$ac_ext
8053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8054 (eval $ac_compile) 2>&5
8055 ac_status=$?
8056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8057 test $ac_status = 0; }; then
8058 case `$FILECMD conftest.o` in
8059 *32-bit*)
8060 case $host in
8061 x86_64-*kfreebsd*-gnu)
8062 LD="${LD-ld} -m elf_i386_fbsd"
8063 ;;
8064 x86_64-*linux*|x86_64-gnu*)
8065 case `$FILECMD conftest.o` in
8066 *x86-64*)
8067 LD="${LD-ld} -m elf32_x86_64"
8068 ;;
8069 *)
8070 LD="${LD-ld} -m elf_i386"
8071 ;;
8072 esac
8073 ;;
8074 powerpc64le-*linux*)
8075 LD="${LD-ld} -m elf32lppclinux"
8076 ;;
8077 powerpc64-*linux*)
8078 LD="${LD-ld} -m elf32ppclinux"
8079 ;;
8080 s390x-*linux*)
8081 LD="${LD-ld} -m elf_s390"
8082 ;;
8083 sparc64-*linux*)
8084 LD="${LD-ld} -m elf32_sparc"
8085 ;;
8086 esac
8087 ;;
8088 *64-bit*)
8089 case $host in
8090 x86_64-*kfreebsd*-gnu)
8091 LD="${LD-ld} -m elf_x86_64_fbsd"
8092 ;;
8093 x86_64-*linux*|x86_64-gnu*)
8094 LD="${LD-ld} -m elf_x86_64"
8095 ;;
8096 powerpcle-*linux*)
8097 LD="${LD-ld} -m elf64lppc"
8098 ;;
8099 powerpc-*linux*)
8100 LD="${LD-ld} -m elf64ppc"
8101 ;;
8102 s390*-*linux*|s390*-*tpf*)
8103 LD="${LD-ld} -m elf64_s390"
8104 ;;
8105 sparc*-*linux*)
8106 LD="${LD-ld} -m elf64_sparc"
8107 ;;
8108 esac
8109 ;;
8110 esac
8111 fi
8112 rm -rf conftest*
8113 ;;
8114
8115 *-*-sco3.2v5*)
8116 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8117 SAVE_CFLAGS=$CFLAGS
8118 CFLAGS="$CFLAGS -belf"
8119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8120 printf %s "checking whether the C compiler needs -belf... " >&6; }
8121 if test ${lt_cv_cc_needs_belf+y}
8122 then :
8123 printf %s "(cached) " >&6
8124 else case e in #(
8125 e) ac_ext=c
8126 ac_cpp='$CPP $CPPFLAGS'
8127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8130
8131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8133
8134 int
8135 main (void)
8136 {
8137
8138 ;
8139 return 0;
8140 }
8141 _ACEOF
8142 if ac_fn_c_try_link "$LINENO"
8143 then :
8144 lt_cv_cc_needs_belf=yes
8145 else case e in #(
8146 e) lt_cv_cc_needs_belf=no ;;
8147 esac
8148 fi
8149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8150 conftest$ac_exeext conftest.$ac_ext
8151 ac_ext=c
8152 ac_cpp='$CPP $CPPFLAGS'
8153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8156 ;;
8157 esac
8158 fi
8159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8160 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
8161 if test yes != "$lt_cv_cc_needs_belf"; then
8162 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8163 CFLAGS=$SAVE_CFLAGS
8164 fi
8165 ;;
8166 *-*solaris*)
8167 # Find out what ABI is being produced by ac_compile, and set linker
8168 # options accordingly.
8169 echo 'int i;' > conftest.$ac_ext
8170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8171 (eval $ac_compile) 2>&5
8172 ac_status=$?
8173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8174 test $ac_status = 0; }; then
8175 case `$FILECMD conftest.o` in
8176 *64-bit*)
8177 case $lt_cv_prog_gnu_ld in
8178 yes*)
8179 case $host in
8180 i?86-*-solaris*|x86_64-*-solaris*)
8181 LD="${LD-ld} -m elf_x86_64"
8182 ;;
8183 sparc*-*-solaris*)
8184 LD="${LD-ld} -m elf64_sparc"
8185 ;;
8186 esac
8187 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8188 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8189 LD=${LD-ld}_sol2
8190 fi
8191 ;;
8192 *)
8193 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8194 LD="${LD-ld} -64"
8195 fi
8196 ;;
8197 esac
8198 ;;
8199 esac
8200 fi
8201 rm -rf conftest*
8202 ;;
8203 esac
8204
8205 need_locks=$enable_libtool_lock
8206
8207 if test -n "$ac_tool_prefix"; then
8208 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8209 set dummy ${ac_tool_prefix}mt; ac_word=$2
8210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8211 printf %s "checking for $ac_word... " >&6; }
8212 if test ${ac_cv_prog_MANIFEST_TOOL+y}
8213 then :
8214 printf %s "(cached) " >&6
8215 else case e in #(
8216 e) if test -n "$MANIFEST_TOOL"; then
8217 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8218 else
8219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 for as_dir in $PATH
8221 do
8222 IFS=$as_save_IFS
8223 case $as_dir in #(((
8224 '') as_dir=./ ;;
8225 */) ;;
8226 *) as_dir=$as_dir/ ;;
8227 esac
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8232 break 2
8233 fi
8234 done
8235 done
8236 IFS=$as_save_IFS
8237
8238 fi ;;
8239 esac
8240 fi
8241 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8242 if test -n "$MANIFEST_TOOL"; then
8243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8244 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8245 else
8246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8247 printf "%s\n" "no" >&6; }
8248 fi
8249
8250
8251 fi
8252 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8253 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8254 # Extract the first word of "mt", so it can be a program name with args.
8255 set dummy mt; ac_word=$2
8256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8257 printf %s "checking for $ac_word... " >&6; }
8258 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8259 then :
8260 printf %s "(cached) " >&6
8261 else case e in #(
8262 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
8263 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8264 else
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8266 for as_dir in $PATH
8267 do
8268 IFS=$as_save_IFS
8269 case $as_dir in #(((
8270 '') as_dir=./ ;;
8271 */) ;;
8272 *) as_dir=$as_dir/ ;;
8273 esac
8274 for ac_exec_ext in '' $ac_executable_extensions; do
8275 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8276 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8278 break 2
8279 fi
8280 done
8281 done
8282 IFS=$as_save_IFS
8283
8284 fi ;;
8285 esac
8286 fi
8287 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8288 if test -n "$ac_ct_MANIFEST_TOOL"; then
8289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8290 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8291 else
8292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 printf "%s\n" "no" >&6; }
8294 fi
8295
8296 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8297 MANIFEST_TOOL=":"
8298 else
8299 case $cross_compiling:$ac_tool_warned in
8300 yes:)
8301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8302 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8303 ac_tool_warned=yes ;;
8304 esac
8305 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8306 fi
8307 else
8308 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8309 fi
8310
8311 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8313 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8314 if test ${lt_cv_path_manifest_tool+y}
8315 then :
8316 printf %s "(cached) " >&6
8317 else case e in #(
8318 e) lt_cv_path_manifest_tool=no
8319 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8320 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8321 cat conftest.err >&5
8322 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8323 lt_cv_path_manifest_tool=yes
8324 fi
8325 rm -f conftest* ;;
8326 esac
8327 fi
8328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
8329 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
8330 if test yes != "$lt_cv_path_manifest_tool"; then
8331 MANIFEST_TOOL=:
8332 fi
8333
8334
8335
8336
8337
8338
8339 case $host_os in
8340 rhapsody* | darwin*)
8341 if test -n "$ac_tool_prefix"; then
8342 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8343 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8345 printf %s "checking for $ac_word... " >&6; }
8346 if test ${ac_cv_prog_DSYMUTIL+y}
8347 then :
8348 printf %s "(cached) " >&6
8349 else case e in #(
8350 e) if test -n "$DSYMUTIL"; then
8351 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8352 else
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 for as_dir in $PATH
8355 do
8356 IFS=$as_save_IFS
8357 case $as_dir in #(((
8358 '') as_dir=./ ;;
8359 */) ;;
8360 *) as_dir=$as_dir/ ;;
8361 esac
8362 for ac_exec_ext in '' $ac_executable_extensions; do
8363 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8364 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8366 break 2
8367 fi
8368 done
8369 done
8370 IFS=$as_save_IFS
8371
8372 fi ;;
8373 esac
8374 fi
8375 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8376 if test -n "$DSYMUTIL"; then
8377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8378 printf "%s\n" "$DSYMUTIL" >&6; }
8379 else
8380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8381 printf "%s\n" "no" >&6; }
8382 fi
8383
8384
8385 fi
8386 if test -z "$ac_cv_prog_DSYMUTIL"; then
8387 ac_ct_DSYMUTIL=$DSYMUTIL
8388 # Extract the first word of "dsymutil", so it can be a program name with args.
8389 set dummy dsymutil; ac_word=$2
8390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8391 printf %s "checking for $ac_word... " >&6; }
8392 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8393 then :
8394 printf %s "(cached) " >&6
8395 else case e in #(
8396 e) if test -n "$ac_ct_DSYMUTIL"; then
8397 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8398 else
8399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 for as_dir in $PATH
8401 do
8402 IFS=$as_save_IFS
8403 case $as_dir in #(((
8404 '') as_dir=./ ;;
8405 */) ;;
8406 *) as_dir=$as_dir/ ;;
8407 esac
8408 for ac_exec_ext in '' $ac_executable_extensions; do
8409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8410 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8412 break 2
8413 fi
8414 done
8415 done
8416 IFS=$as_save_IFS
8417
8418 fi ;;
8419 esac
8420 fi
8421 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8422 if test -n "$ac_ct_DSYMUTIL"; then
8423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8424 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8425 else
8426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427 printf "%s\n" "no" >&6; }
8428 fi
8429
8430 if test "x$ac_ct_DSYMUTIL" = x; then
8431 DSYMUTIL=":"
8432 else
8433 case $cross_compiling:$ac_tool_warned in
8434 yes:)
8435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8436 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8437 ac_tool_warned=yes ;;
8438 esac
8439 DSYMUTIL=$ac_ct_DSYMUTIL
8440 fi
8441 else
8442 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8443 fi
8444
8445 if test -n "$ac_tool_prefix"; then
8446 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8447 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8449 printf %s "checking for $ac_word... " >&6; }
8450 if test ${ac_cv_prog_NMEDIT+y}
8451 then :
8452 printf %s "(cached) " >&6
8453 else case e in #(
8454 e) if test -n "$NMEDIT"; then
8455 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8456 else
8457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8458 for as_dir in $PATH
8459 do
8460 IFS=$as_save_IFS
8461 case $as_dir in #(((
8462 '') as_dir=./ ;;
8463 */) ;;
8464 *) as_dir=$as_dir/ ;;
8465 esac
8466 for ac_exec_ext in '' $ac_executable_extensions; do
8467 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8468 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8470 break 2
8471 fi
8472 done
8473 done
8474 IFS=$as_save_IFS
8475
8476 fi ;;
8477 esac
8478 fi
8479 NMEDIT=$ac_cv_prog_NMEDIT
8480 if test -n "$NMEDIT"; then
8481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8482 printf "%s\n" "$NMEDIT" >&6; }
8483 else
8484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8485 printf "%s\n" "no" >&6; }
8486 fi
8487
8488
8489 fi
8490 if test -z "$ac_cv_prog_NMEDIT"; then
8491 ac_ct_NMEDIT=$NMEDIT
8492 # Extract the first word of "nmedit", so it can be a program name with args.
8493 set dummy nmedit; ac_word=$2
8494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8495 printf %s "checking for $ac_word... " >&6; }
8496 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8497 then :
8498 printf %s "(cached) " >&6
8499 else case e in #(
8500 e) if test -n "$ac_ct_NMEDIT"; then
8501 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8502 else
8503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504 for as_dir in $PATH
8505 do
8506 IFS=$as_save_IFS
8507 case $as_dir in #(((
8508 '') as_dir=./ ;;
8509 */) ;;
8510 *) as_dir=$as_dir/ ;;
8511 esac
8512 for ac_exec_ext in '' $ac_executable_extensions; do
8513 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8514 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8516 break 2
8517 fi
8518 done
8519 done
8520 IFS=$as_save_IFS
8521
8522 fi ;;
8523 esac
8524 fi
8525 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8526 if test -n "$ac_ct_NMEDIT"; then
8527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8528 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8529 else
8530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8531 printf "%s\n" "no" >&6; }
8532 fi
8533
8534 if test "x$ac_ct_NMEDIT" = x; then
8535 NMEDIT=":"
8536 else
8537 case $cross_compiling:$ac_tool_warned in
8538 yes:)
8539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8540 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8541 ac_tool_warned=yes ;;
8542 esac
8543 NMEDIT=$ac_ct_NMEDIT
8544 fi
8545 else
8546 NMEDIT="$ac_cv_prog_NMEDIT"
8547 fi
8548
8549 if test -n "$ac_tool_prefix"; then
8550 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8551 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8553 printf %s "checking for $ac_word... " >&6; }
8554 if test ${ac_cv_prog_LIPO+y}
8555 then :
8556 printf %s "(cached) " >&6
8557 else case e in #(
8558 e) if test -n "$LIPO"; then
8559 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8560 else
8561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8562 for as_dir in $PATH
8563 do
8564 IFS=$as_save_IFS
8565 case $as_dir in #(((
8566 '') as_dir=./ ;;
8567 */) ;;
8568 *) as_dir=$as_dir/ ;;
8569 esac
8570 for ac_exec_ext in '' $ac_executable_extensions; do
8571 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8572 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8574 break 2
8575 fi
8576 done
8577 done
8578 IFS=$as_save_IFS
8579
8580 fi ;;
8581 esac
8582 fi
8583 LIPO=$ac_cv_prog_LIPO
8584 if test -n "$LIPO"; then
8585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8586 printf "%s\n" "$LIPO" >&6; }
8587 else
8588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8589 printf "%s\n" "no" >&6; }
8590 fi
8591
8592
8593 fi
8594 if test -z "$ac_cv_prog_LIPO"; then
8595 ac_ct_LIPO=$LIPO
8596 # Extract the first word of "lipo", so it can be a program name with args.
8597 set dummy lipo; ac_word=$2
8598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8599 printf %s "checking for $ac_word... " >&6; }
8600 if test ${ac_cv_prog_ac_ct_LIPO+y}
8601 then :
8602 printf %s "(cached) " >&6
8603 else case e in #(
8604 e) if test -n "$ac_ct_LIPO"; then
8605 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8606 else
8607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8608 for as_dir in $PATH
8609 do
8610 IFS=$as_save_IFS
8611 case $as_dir in #(((
8612 '') as_dir=./ ;;
8613 */) ;;
8614 *) as_dir=$as_dir/ ;;
8615 esac
8616 for ac_exec_ext in '' $ac_executable_extensions; do
8617 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8618 ac_cv_prog_ac_ct_LIPO="lipo"
8619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8620 break 2
8621 fi
8622 done
8623 done
8624 IFS=$as_save_IFS
8625
8626 fi ;;
8627 esac
8628 fi
8629 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8630 if test -n "$ac_ct_LIPO"; then
8631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8632 printf "%s\n" "$ac_ct_LIPO" >&6; }
8633 else
8634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8635 printf "%s\n" "no" >&6; }
8636 fi
8637
8638 if test "x$ac_ct_LIPO" = x; then
8639 LIPO=":"
8640 else
8641 case $cross_compiling:$ac_tool_warned in
8642 yes:)
8643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8644 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8645 ac_tool_warned=yes ;;
8646 esac
8647 LIPO=$ac_ct_LIPO
8648 fi
8649 else
8650 LIPO="$ac_cv_prog_LIPO"
8651 fi
8652
8653 if test -n "$ac_tool_prefix"; then
8654 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8655 set dummy ${ac_tool_prefix}otool; ac_word=$2
8656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8657 printf %s "checking for $ac_word... " >&6; }
8658 if test ${ac_cv_prog_OTOOL+y}
8659 then :
8660 printf %s "(cached) " >&6
8661 else case e in #(
8662 e) if test -n "$OTOOL"; then
8663 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8664 else
8665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8666 for as_dir in $PATH
8667 do
8668 IFS=$as_save_IFS
8669 case $as_dir in #(((
8670 '') as_dir=./ ;;
8671 */) ;;
8672 *) as_dir=$as_dir/ ;;
8673 esac
8674 for ac_exec_ext in '' $ac_executable_extensions; do
8675 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8676 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8678 break 2
8679 fi
8680 done
8681 done
8682 IFS=$as_save_IFS
8683
8684 fi ;;
8685 esac
8686 fi
8687 OTOOL=$ac_cv_prog_OTOOL
8688 if test -n "$OTOOL"; then
8689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8690 printf "%s\n" "$OTOOL" >&6; }
8691 else
8692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8693 printf "%s\n" "no" >&6; }
8694 fi
8695
8696
8697 fi
8698 if test -z "$ac_cv_prog_OTOOL"; then
8699 ac_ct_OTOOL=$OTOOL
8700 # Extract the first word of "otool", so it can be a program name with args.
8701 set dummy otool; ac_word=$2
8702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8703 printf %s "checking for $ac_word... " >&6; }
8704 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8705 then :
8706 printf %s "(cached) " >&6
8707 else case e in #(
8708 e) if test -n "$ac_ct_OTOOL"; then
8709 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8710 else
8711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8712 for as_dir in $PATH
8713 do
8714 IFS=$as_save_IFS
8715 case $as_dir in #(((
8716 '') as_dir=./ ;;
8717 */) ;;
8718 *) as_dir=$as_dir/ ;;
8719 esac
8720 for ac_exec_ext in '' $ac_executable_extensions; do
8721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8722 ac_cv_prog_ac_ct_OTOOL="otool"
8723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8724 break 2
8725 fi
8726 done
8727 done
8728 IFS=$as_save_IFS
8729
8730 fi ;;
8731 esac
8732 fi
8733 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8734 if test -n "$ac_ct_OTOOL"; then
8735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8736 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8737 else
8738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8739 printf "%s\n" "no" >&6; }
8740 fi
8741
8742 if test "x$ac_ct_OTOOL" = x; then
8743 OTOOL=":"
8744 else
8745 case $cross_compiling:$ac_tool_warned in
8746 yes:)
8747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8748 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8749 ac_tool_warned=yes ;;
8750 esac
8751 OTOOL=$ac_ct_OTOOL
8752 fi
8753 else
8754 OTOOL="$ac_cv_prog_OTOOL"
8755 fi
8756
8757 if test -n "$ac_tool_prefix"; then
8758 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8759 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8761 printf %s "checking for $ac_word... " >&6; }
8762 if test ${ac_cv_prog_OTOOL64+y}
8763 then :
8764 printf %s "(cached) " >&6
8765 else case e in #(
8766 e) if test -n "$OTOOL64"; then
8767 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8768 else
8769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8770 for as_dir in $PATH
8771 do
8772 IFS=$as_save_IFS
8773 case $as_dir in #(((
8774 '') as_dir=./ ;;
8775 */) ;;
8776 *) as_dir=$as_dir/ ;;
8777 esac
8778 for ac_exec_ext in '' $ac_executable_extensions; do
8779 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8780 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8782 break 2
8783 fi
8784 done
8785 done
8786 IFS=$as_save_IFS
8787
8788 fi ;;
8789 esac
8790 fi
8791 OTOOL64=$ac_cv_prog_OTOOL64
8792 if test -n "$OTOOL64"; then
8793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8794 printf "%s\n" "$OTOOL64" >&6; }
8795 else
8796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8797 printf "%s\n" "no" >&6; }
8798 fi
8799
8800
8801 fi
8802 if test -z "$ac_cv_prog_OTOOL64"; then
8803 ac_ct_OTOOL64=$OTOOL64
8804 # Extract the first word of "otool64", so it can be a program name with args.
8805 set dummy otool64; ac_word=$2
8806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8807 printf %s "checking for $ac_word... " >&6; }
8808 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8809 then :
8810 printf %s "(cached) " >&6
8811 else case e in #(
8812 e) if test -n "$ac_ct_OTOOL64"; then
8813 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8814 else
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 for as_dir in $PATH
8817 do
8818 IFS=$as_save_IFS
8819 case $as_dir in #(((
8820 '') as_dir=./ ;;
8821 */) ;;
8822 *) as_dir=$as_dir/ ;;
8823 esac
8824 for ac_exec_ext in '' $ac_executable_extensions; do
8825 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8826 ac_cv_prog_ac_ct_OTOOL64="otool64"
8827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8828 break 2
8829 fi
8830 done
8831 done
8832 IFS=$as_save_IFS
8833
8834 fi ;;
8835 esac
8836 fi
8837 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8838 if test -n "$ac_ct_OTOOL64"; then
8839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8840 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8841 else
8842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 printf "%s\n" "no" >&6; }
8844 fi
8845
8846 if test "x$ac_ct_OTOOL64" = x; then
8847 OTOOL64=":"
8848 else
8849 case $cross_compiling:$ac_tool_warned in
8850 yes:)
8851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8852 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8853 ac_tool_warned=yes ;;
8854 esac
8855 OTOOL64=$ac_ct_OTOOL64
8856 fi
8857 else
8858 OTOOL64="$ac_cv_prog_OTOOL64"
8859 fi
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8888 printf %s "checking for -single_module linker flag... " >&6; }
8889 if test ${lt_cv_apple_cc_single_mod+y}
8890 then :
8891 printf %s "(cached) " >&6
8892 else case e in #(
8893 e) lt_cv_apple_cc_single_mod=no
8894 if test -z "$LT_MULTI_MODULE"; then
8895 # By default we will add the -single_module flag. You can override
8896 # by either setting the environment variable LT_MULTI_MODULE
8897 # non-empty at configure time, or by adding -multi_module to the
8898 # link flags.
8899 rm -rf libconftest.dylib*
8900 echo "int foo(void){return 1;}" > conftest.c
8901 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8902 -dynamiclib -Wl,-single_module conftest.c" >&5
8903 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8904 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8905 _lt_result=$?
8906 # If there is a non-empty error log, and "single_module"
8907 # appears in it, assume the flag caused a linker warning
8908 if test -s conftest.err && $GREP single_module conftest.err; then
8909 cat conftest.err >&5
8910 # Otherwise, if the output was created with a 0 exit code from
8911 # the compiler, it worked.
8912 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8913 lt_cv_apple_cc_single_mod=yes
8914 else
8915 cat conftest.err >&5
8916 fi
8917 rm -rf libconftest.dylib*
8918 rm -f conftest.*
8919 fi ;;
8920 esac
8921 fi
8922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8923 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8924
8925 # Feature test to disable chained fixups since it is not
8926 # compatible with '-undefined dynamic_lookup'
8927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
8928 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
8929 if test ${lt_cv_support_no_fixup_chains+y}
8930 then :
8931 printf %s "(cached) " >&6
8932 else case e in #(
8933 e) save_LDFLAGS=$LDFLAGS
8934 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
8935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8936 /* end confdefs.h. */
8937
8938 int
8939 main (void)
8940 {
8941
8942 ;
8943 return 0;
8944 }
8945 _ACEOF
8946 if ac_fn_c_try_link "$LINENO"
8947 then :
8948 lt_cv_support_no_fixup_chains=yes
8949 else case e in #(
8950 e) lt_cv_support_no_fixup_chains=no
8951 ;;
8952 esac
8953 fi
8954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8955 conftest$ac_exeext conftest.$ac_ext
8956 LDFLAGS=$save_LDFLAGS
8957
8958 ;;
8959 esac
8960 fi
8961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
8962 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
8963
8964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8965 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8966 if test ${lt_cv_ld_exported_symbols_list+y}
8967 then :
8968 printf %s "(cached) " >&6
8969 else case e in #(
8970 e) lt_cv_ld_exported_symbols_list=no
8971 save_LDFLAGS=$LDFLAGS
8972 echo "_main" > conftest.sym
8973 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8975 /* end confdefs.h. */
8976
8977 int
8978 main (void)
8979 {
8980
8981 ;
8982 return 0;
8983 }
8984 _ACEOF
8985 if ac_fn_c_try_link "$LINENO"
8986 then :
8987 lt_cv_ld_exported_symbols_list=yes
8988 else case e in #(
8989 e) lt_cv_ld_exported_symbols_list=no ;;
8990 esac
8991 fi
8992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8993 conftest$ac_exeext conftest.$ac_ext
8994 LDFLAGS=$save_LDFLAGS
8995 ;;
8996 esac
8997 fi
8998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8999 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
9000
9001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9002 printf %s "checking for -force_load linker flag... " >&6; }
9003 if test ${lt_cv_ld_force_load+y}
9004 then :
9005 printf %s "(cached) " >&6
9006 else case e in #(
9007 e) lt_cv_ld_force_load=no
9008 cat > conftest.c << _LT_EOF
9009 int forced_loaded() { return 2;}
9010 _LT_EOF
9011 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9012 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9013 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
9014 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
9015 echo "$RANLIB libconftest.a" >&5
9016 $RANLIB libconftest.a 2>&5
9017 cat > conftest.c << _LT_EOF
9018 int main(void) { return 0;}
9019 _LT_EOF
9020 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9021 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9022 _lt_result=$?
9023 if test -s conftest.err && $GREP force_load conftest.err; then
9024 cat conftest.err >&5
9025 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9026 lt_cv_ld_force_load=yes
9027 else
9028 cat conftest.err >&5
9029 fi
9030 rm -f conftest.err libconftest.a conftest conftest.c
9031 rm -rf conftest.dSYM
9032 ;;
9033 esac
9034 fi
9035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9036 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
9037 case $host_os in
9038 rhapsody* | darwin1.[012])
9039 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9040 darwin1.*)
9041 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9042 darwin*)
9043 case $MACOSX_DEPLOYMENT_TARGET,$host in
9044 10.[012],*|,*powerpc*-darwin[5-8]*)
9045 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9046 *)
9047 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
9048 if test yes = "$lt_cv_support_no_fixup_chains"; then
9049 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
9050 fi
9051 ;;
9052 esac
9053 ;;
9054 esac
9055 if test yes = "$lt_cv_apple_cc_single_mod"; then
9056 _lt_dar_single_mod='$single_module'
9057 fi
9058 _lt_dar_needs_single_mod=no
9059 case $host_os in
9060 rhapsody* | darwin1.*)
9061 _lt_dar_needs_single_mod=yes ;;
9062 darwin*)
9063 # When targeting Mac OS X 10.4 (darwin 8) or later,
9064 # -single_module is the default and -multi_module is unsupported.
9065 # The toolchain on macOS 10.14 (darwin 18) and later cannot
9066 # target any OS version that needs -single_module.
9067 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9068 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
9069 _lt_dar_needs_single_mod=yes ;;
9070 esac
9071 ;;
9072 esac
9073 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9074 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9075 else
9076 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9077 fi
9078 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9079 _lt_dsymutil='~$DSYMUTIL $lib || :'
9080 else
9081 _lt_dsymutil=
9082 fi
9083 ;;
9084 esac
9085
9086 # func_munge_path_list VARIABLE PATH
9087 # -----------------------------------
9088 # VARIABLE is name of variable containing _space_ separated list of
9089 # directories to be munged by the contents of PATH, which is string
9090 # having a format:
9091 # "DIR[:DIR]:"
9092 # string "DIR[ DIR]" will be prepended to VARIABLE
9093 # ":DIR[:DIR]"
9094 # string "DIR[ DIR]" will be appended to VARIABLE
9095 # "DIRP[:DIRP]::[DIRA:]DIRA"
9096 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9097 # "DIRA[ DIRA]" will be appended to VARIABLE
9098 # "DIR[:DIR]"
9099 # VARIABLE will be replaced by "DIR[ DIR]"
9100 func_munge_path_list ()
9101 {
9102 case x$2 in
9103 x)
9104 ;;
9105 *:)
9106 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9107 ;;
9108 x:*)
9109 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9110 ;;
9111 *::*)
9112 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9113 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9114 ;;
9115 *)
9116 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9117 ;;
9118 esac
9119 }
9120
9121 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9122 "
9123 if test "x$ac_cv_header_dlfcn_h" = xyes
9124 then :
9125 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
9126
9127 fi
9128
9129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
9130 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
9131 if test ${ac_cv_c_undeclared_builtin_options+y}
9132 then :
9133 printf %s "(cached) " >&6
9134 else case e in #(
9135 e) ac_save_CFLAGS=$CFLAGS
9136 ac_cv_c_undeclared_builtin_options='cannot detect'
9137 for ac_arg in '' -fno-builtin; do
9138 CFLAGS="$ac_save_CFLAGS $ac_arg"
9139 # This test program should *not* compile successfully.
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9142
9143 int
9144 main (void)
9145 {
9146 (void) strchr;
9147 ;
9148 return 0;
9149 }
9150 _ACEOF
9151 if ac_fn_c_try_compile "$LINENO"
9152 then :
9153
9154 else case e in #(
9155 e) # This test program should compile successfully.
9156 # No library function is consistently available on
9157 # freestanding implementations, so test against a dummy
9158 # declaration. Include always-available headers on the
9159 # off chance that they somehow elicit warnings.
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9162 #include <float.h>
9163 #include <limits.h>
9164 #include <stdarg.h>
9165 #include <stddef.h>
9166 extern void ac_decl (int, char *);
9167
9168 int
9169 main (void)
9170 {
9171 (void) ac_decl (0, (char *) 0);
9172 (void) ac_decl;
9173
9174 ;
9175 return 0;
9176 }
9177 _ACEOF
9178 if ac_fn_c_try_compile "$LINENO"
9179 then :
9180 if test x"$ac_arg" = x
9181 then :
9182 ac_cv_c_undeclared_builtin_options='none needed'
9183 else case e in #(
9184 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
9185 esac
9186 fi
9187 break
9188 fi
9189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
9190 esac
9191 fi
9192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9193 done
9194 CFLAGS=$ac_save_CFLAGS
9195 ;;
9196 esac
9197 fi
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
9199 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
9200 case $ac_cv_c_undeclared_builtin_options in #(
9201 'cannot detect') :
9202 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
9203 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
9204 as_fn_error $? "cannot make $CC report undeclared builtins
9205 See 'config.log' for more details" "$LINENO" 5; } ;; #(
9206 'none needed') :
9207 ac_c_undeclared_builtin_options='' ;; #(
9208 *) :
9209 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
9210 esac
9211
9212 echo 'tldbg:KPSE_COMMON called (pkg=ttfdump, amopt=)' >&5
9213 echo 'tldbg:KPSE_BASIC called (pkg=ttfdump, amopt=)' >&5
9214
9215 #
9216 # am_init_automake
9217 if test "`cd $srcdir && pwd`" != "`pwd`"; then
9218 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9219 # is not polluted with repeated "-I."
9220 am__isrc=' -I$(srcdir)'
9221 # test to see if srcdir already configured
9222 if test -f $srcdir/config.status; then
9223 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
9224 fi
9225 fi
9226
9227 # test whether we have cygpath
9228 if test -z "$CYGPATH_W"; then
9229 if (cygpath --version) >/dev/null 2>/dev/null; then
9230 CYGPATH_W='cygpath -w'
9231 else
9232 CYGPATH_W=echo
9233 fi
9234 fi
9235
9236
9237 # Define the identity of the package.
9238 PACKAGE='ttfdump--tex-live-'
9239 VERSION='0.5.6'
9240
9241
9242 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
9243
9244
9245 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
9246
9247 # Some tools Automake needs.
9248
9249 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9250
9251
9252 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9253
9254
9255 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9256
9257
9258 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9259
9260
9261 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9262
9263 # For better backward compatibility. To be removed once Automake 1.9.x
9264 # dies out for good. For more background, see:
9265 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9266 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9267 mkdir_p='$(MKDIR_P)'
9268
9269 # We need awk for the "check" target (and possibly the TAP driver). The
9270 # system "awk" is bad on some platforms.
9271 # Always define AMTAR for backward compatibility. Yes, it's still used
9272 # in the wild :-( We should find a proper way to deprecate it ...
9273 AMTAR='$${TAR-tar}'
9274
9275
9276 # We'll loop over all known methods to create a tar archive until one works.
9277 _am_tools='gnutar plaintar pax cpio none'
9278
9279 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
9280 # There is notably a 21 bits limit for the UID and the GID. In fact,
9281 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
9282 # and bug#13588).
9283 am_max_uid=2097151 # 2^21 - 1
9284 am_max_gid=$am_max_uid
9285 # The $UID and $GID variables are not portable, so we need to resort
9286 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
9287 # below are definitely unexpected, so allow the users to see them
9288 # (that is, avoid stderr redirection).
9289 am_uid=`id -u || echo unknown`
9290 am_gid=`id -g || echo unknown`
9291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
9292 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
9293 if test x$am_uid = xunknown; then
9294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
9295 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
9296 elif test $am_uid -le $am_max_uid; then
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9298 printf "%s\n" "yes" >&6; }
9299 else
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9301 printf "%s\n" "no" >&6; }
9302 _am_tools=none
9303 fi
9304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
9305 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
9306 if test x$gm_gid = xunknown; then
9307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
9308 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
9309 elif test $am_gid -le $am_max_gid; then
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9311 printf "%s\n" "yes" >&6; }
9312 else
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9314 printf "%s\n" "no" >&6; }
9315 _am_tools=none
9316 fi
9317
9318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
9319 printf %s "checking how to create a ustar tar archive... " >&6; }
9320
9321 # Go ahead even if we have the value already cached. We do so because we
9322 # need to set the values for the 'am__tar' and 'am__untar' variables.
9323 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
9324
9325 for _am_tool in $_am_tools; do
9326 case $_am_tool in
9327 gnutar)
9328 for _am_tar in tar gnutar gtar; do
9329 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9330 ($_am_tar --version) >&5 2>&5
9331 ac_status=$?
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); } && break
9334 done
9335 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
9336 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
9337 am__untar="$_am_tar -xf -"
9338 ;;
9339 plaintar)
9340 # Must skip GNU tar: if it does not support --format= it doesn't create
9341 # ustar tarball either.
9342 (tar --version) >/dev/null 2>&1 && continue
9343 am__tar='tar chf - "$$tardir"'
9344 am__tar_='tar chf - "$tardir"'
9345 am__untar='tar xf -'
9346 ;;
9347 pax)
9348 am__tar='pax -L -x ustar -w "$$tardir"'
9349 am__tar_='pax -L -x ustar -w "$tardir"'
9350 am__untar='pax -r'
9351 ;;
9352 cpio)
9353 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
9354 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
9355 am__untar='cpio -i -H ustar -d'
9356 ;;
9357 none)
9358 am__tar=false
9359 am__tar_=false
9360 am__untar=false
9361 ;;
9362 esac
9363
9364 # If the value was cached, stop now. We just wanted to have am__tar
9365 # and am__untar set.
9366 test -n "${am_cv_prog_tar_ustar}" && break
9367
9368 # tar/untar a dummy directory, and stop if the command works.
9369 rm -rf conftest.dir
9370 mkdir conftest.dir
9371 echo GrepMe > conftest.dir/file
9372 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9373 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
9374 ac_status=$?
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); }
9377 rm -rf conftest.dir
9378 if test -s conftest.tar; then
9379 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9380 ($am__untar <conftest.tar) >&5 2>&5
9381 ac_status=$?
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); }
9384 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9385 (cat conftest.dir/file) >&5 2>&5
9386 ac_status=$?
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); }
9389 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9390 fi
9391 done
9392 rm -rf conftest.dir
9393
9394 if test ${am_cv_prog_tar_ustar+y}
9395 then :
9396 printf %s "(cached) " >&6
9397 else case e in #(
9398 e) am_cv_prog_tar_ustar=$_am_tool ;;
9399 esac
9400 fi
9401
9402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
9403 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
9404
9405
9406
9407
9408
9409 # Variables for tags utilities; see am/tags.am
9410 if test -z "$CTAGS"; then
9411 CTAGS=ctags
9412 fi
9413
9414 if test -z "$ETAGS"; then
9415 ETAGS=etags
9416 fi
9417
9418 if test -z "$CSCOPE"; then
9419 CSCOPE=cscope
9420 fi
9421
9422
9423
9424
9425
9426
9427
9428
9429 # am_maintainer_mode
9430
9431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9432 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9433 # Check whether --enable-maintainer-mode was given.
9434 if test ${enable_maintainer_mode+y}
9435 then :
9436 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9437 else case e in #(
9438 e) USE_MAINTAINER_MODE=no ;;
9439 esac
9440 fi
9441
9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9443 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
9444 if test $USE_MAINTAINER_MODE = yes; then
9445 MAINTAINER_MODE_TRUE=
9446 MAINTAINER_MODE_FALSE='#'
9447 else
9448 MAINTAINER_MODE_TRUE='#'
9449 MAINTAINER_MODE_FALSE=
9450 fi
9451
9452 MAINT=$MAINTAINER_MODE_TRUE
9453
9454
9455
9456 # See comments in kpse-setup.m4 about system extensions.
9457
9458
9459 # Check whether prototypes work.
9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9461 printf %s "checking whether the compiler accepts prototypes... " >&6; }
9462 if test ${kb_cv_c_prototypes+y}
9463 then :
9464 printf %s "(cached) " >&6
9465 else case e in #(
9466 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9468 #include <stdarg.h>
9469 int
9470 main (void)
9471 {
9472 extern void foo(int i,...);
9473 ;
9474 return 0;
9475 }
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"
9478 then :
9479 kb_cv_c_prototypes=yes
9480 else case e in #(
9481 e) kb_cv_c_prototypes=no ;;
9482 esac
9483 fi
9484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9485 conftest$ac_exeext conftest.$ac_ext ;;
9486 esac
9487 fi
9488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9489 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
9490 if test "x$kb_cv_c_prototypes" = xno; then
9491 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
9492 fi
9493
9494 # kpse_compiler_warnings options.
9495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9496 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
9497 if test ${kpse_cv_warning_cflags+y}
9498 then :
9499 printf %s "(cached) " >&6
9500 else case e in #(
9501 e) if test "x$GCC" = xyes; then
9502 kpse_cv_warning_cflags=
9503 if test "x$enable_compiler_warnings" != xno; then
9504 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
9505 case `$CC -dumpversion` in #(
9506 3.4.* | 4.* | 5.*) :
9507 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9508 *) :
9509 ;;
9510 esac
9511 case `$CC -dumpversion` in #(
9512 3.[234].* | 4.* | 5.*) :
9513 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9514 *) :
9515 ;;
9516 esac
9517 if test "x$enable_compiler_warnings" != xmin; then
9518 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
9519 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9520 if test "x$enable_compiler_warnings" != xyes; then
9521 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9522 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9523 case `$CC -dumpversion` in #(
9524 3.4.* | 4.* | 5.*) :
9525 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9526 *) :
9527 ;;
9528 esac
9529 if test "x$enable_compiler_warnings" != xmax; then
9530 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
9531 fi
9532 fi
9533 fi
9534 fi
9535 elif test "x$enable_compiler_warnings" = xno; then
9536 kpse_cv_warning_cflags=
9537 else
9538 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
9539 fi ;;
9540 esac
9541 fi
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9543 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
9544 WARNING_CFLAGS=$kpse_cv_warning_cflags
9545
9546
9547
9548
9549
9550
9551
9552 # end of kpse_basic macro.
9553 echo 'tldbg:KPSE_BASIC done (pkg=ttfdump, amopt=)' >&5
9554
9555 # am_prog_ar must be called before lt_init.
9556
9557 if test -n "$ac_tool_prefix"; then
9558 for ac_prog in ar lib "link -lib"
9559 do
9560 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9561 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9563 printf %s "checking for $ac_word... " >&6; }
9564 if test ${ac_cv_prog_AR+y}
9565 then :
9566 printf %s "(cached) " >&6
9567 else case e in #(
9568 e) if test -n "$AR"; then
9569 ac_cv_prog_AR="$AR" # Let the user override the test.
9570 else
9571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9572 for as_dir in $PATH
9573 do
9574 IFS=$as_save_IFS
9575 case $as_dir in #(((
9576 '') as_dir=./ ;;
9577 */) ;;
9578 *) as_dir=$as_dir/ ;;
9579 esac
9580 for ac_exec_ext in '' $ac_executable_extensions; do
9581 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9582 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9584 break 2
9585 fi
9586 done
9587 done
9588 IFS=$as_save_IFS
9589
9590 fi ;;
9591 esac
9592 fi
9593 AR=$ac_cv_prog_AR
9594 if test -n "$AR"; then
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9596 printf "%s\n" "$AR" >&6; }
9597 else
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9599 printf "%s\n" "no" >&6; }
9600 fi
9601
9602
9603 test -n "$AR" && break
9604 done
9605 fi
9606 if test -z "$AR"; then
9607 ac_ct_AR=$AR
9608 for ac_prog in ar lib "link -lib"
9609 do
9610 # Extract the first word of "$ac_prog", so it can be a program name with args.
9611 set dummy $ac_prog; ac_word=$2
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9613 printf %s "checking for $ac_word... " >&6; }
9614 if test ${ac_cv_prog_ac_ct_AR+y}
9615 then :
9616 printf %s "(cached) " >&6
9617 else case e in #(
9618 e) if test -n "$ac_ct_AR"; then
9619 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9620 else
9621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9622 for as_dir in $PATH
9623 do
9624 IFS=$as_save_IFS
9625 case $as_dir in #(((
9626 '') as_dir=./ ;;
9627 */) ;;
9628 *) as_dir=$as_dir/ ;;
9629 esac
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9632 ac_cv_prog_ac_ct_AR="$ac_prog"
9633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9634 break 2
9635 fi
9636 done
9637 done
9638 IFS=$as_save_IFS
9639
9640 fi ;;
9641 esac
9642 fi
9643 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9644 if test -n "$ac_ct_AR"; then
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9646 printf "%s\n" "$ac_ct_AR" >&6; }
9647 else
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9649 printf "%s\n" "no" >&6; }
9650 fi
9651
9652
9653 test -n "$ac_ct_AR" && break
9654 done
9655
9656 if test "x$ac_ct_AR" = x; then
9657 AR="false"
9658 else
9659 case $cross_compiling:$ac_tool_warned in
9660 yes:)
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9662 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9663 ac_tool_warned=yes ;;
9664 esac
9665 AR=$ac_ct_AR
9666 fi
9667 fi
9668
9669 : ${AR=ar}
9670 : ${ARFLAGS=cr}
9671
9672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
9673 printf %s "checking the archiver ($AR) interface... " >&6; }
9674 if test ${am_cv_ar_interface+y}
9675 then :
9676 printf %s "(cached) " >&6
9677 else case e in #(
9678 e) ac_ext=c
9679 ac_cpp='$CPP $CPPFLAGS'
9680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9683
9684 am_cv_ar_interface=ar
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9687 int some_variable = 0;
9688 _ACEOF
9689 if ac_fn_c_try_compile "$LINENO"
9690 then :
9691 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
9692 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9693 (eval $am_ar_try) 2>&5
9694 ac_status=$?
9695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9696 test $ac_status = 0; }
9697 if test "$ac_status" -eq 0; then
9698 am_cv_ar_interface=ar
9699 else
9700 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
9701 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9702 (eval $am_ar_try) 2>&5
9703 ac_status=$?
9704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9705 test $ac_status = 0; }
9706 if test "$ac_status" -eq 0; then
9707 am_cv_ar_interface=lib
9708 else
9709 am_cv_ar_interface=unknown
9710 fi
9711 fi
9712 rm -f conftest.lib libconftest.a
9713
9714 fi
9715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9716 ac_ext=c
9717 ac_cpp='$CPP $CPPFLAGS'
9718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9721 ;;
9722 esac
9723 fi
9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
9725 printf "%s\n" "$am_cv_ar_interface" >&6; }
9726
9727 case $am_cv_ar_interface in
9728 ar)
9729 ;;
9730 lib)
9731 # Microsoft lib, so override with the ar-lib wrapper script.
9732 # FIXME: It is wrong to rewrite AR.
9733 # But if we don't then we get into trouble of one sort or another.
9734 # A longer-term fix would be to have automake use am__AR in this case,
9735 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9736 # similar.
9737 AR="$am_aux_dir/ar-lib $AR"
9738 ;;
9739 unknown)
9740 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
9741 ;;
9742 esac
9743
9744 # (end am_prog_ar)
9745 # starting lt_prereq + lt_init.
9746
9747
9748
9749
9750
9751 # Set options
9752 enable_win32_dll=yes
9753
9754 case $host in
9755 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
9756 if test -n "$ac_tool_prefix"; then
9757 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9758 set dummy ${ac_tool_prefix}as; ac_word=$2
9759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9760 printf %s "checking for $ac_word... " >&6; }
9761 if test ${ac_cv_prog_AS+y}
9762 then :
9763 printf %s "(cached) " >&6
9764 else case e in #(
9765 e) if test -n "$AS"; then
9766 ac_cv_prog_AS="$AS" # Let the user override the test.
9767 else
9768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9769 for as_dir in $PATH
9770 do
9771 IFS=$as_save_IFS
9772 case $as_dir in #(((
9773 '') as_dir=./ ;;
9774 */) ;;
9775 *) as_dir=$as_dir/ ;;
9776 esac
9777 for ac_exec_ext in '' $ac_executable_extensions; do
9778 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9779 ac_cv_prog_AS="${ac_tool_prefix}as"
9780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9781 break 2
9782 fi
9783 done
9784 done
9785 IFS=$as_save_IFS
9786
9787 fi ;;
9788 esac
9789 fi
9790 AS=$ac_cv_prog_AS
9791 if test -n "$AS"; then
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9793 printf "%s\n" "$AS" >&6; }
9794 else
9795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9796 printf "%s\n" "no" >&6; }
9797 fi
9798
9799
9800 fi
9801 if test -z "$ac_cv_prog_AS"; then
9802 ac_ct_AS=$AS
9803 # Extract the first word of "as", so it can be a program name with args.
9804 set dummy as; ac_word=$2
9805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9806 printf %s "checking for $ac_word... " >&6; }
9807 if test ${ac_cv_prog_ac_ct_AS+y}
9808 then :
9809 printf %s "(cached) " >&6
9810 else case e in #(
9811 e) if test -n "$ac_ct_AS"; then
9812 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9813 else
9814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 for as_dir in $PATH
9816 do
9817 IFS=$as_save_IFS
9818 case $as_dir in #(((
9819 '') as_dir=./ ;;
9820 */) ;;
9821 *) as_dir=$as_dir/ ;;
9822 esac
9823 for ac_exec_ext in '' $ac_executable_extensions; do
9824 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9825 ac_cv_prog_ac_ct_AS="as"
9826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9827 break 2
9828 fi
9829 done
9830 done
9831 IFS=$as_save_IFS
9832
9833 fi ;;
9834 esac
9835 fi
9836 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9837 if test -n "$ac_ct_AS"; then
9838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9839 printf "%s\n" "$ac_ct_AS" >&6; }
9840 else
9841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9842 printf "%s\n" "no" >&6; }
9843 fi
9844
9845 if test "x$ac_ct_AS" = x; then
9846 AS="false"
9847 else
9848 case $cross_compiling:$ac_tool_warned in
9849 yes:)
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9851 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9852 ac_tool_warned=yes ;;
9853 esac
9854 AS=$ac_ct_AS
9855 fi
9856 else
9857 AS="$ac_cv_prog_AS"
9858 fi
9859
9860 if test -n "$ac_tool_prefix"; then
9861 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9862 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9864 printf %s "checking for $ac_word... " >&6; }
9865 if test ${ac_cv_prog_DLLTOOL+y}
9866 then :
9867 printf %s "(cached) " >&6
9868 else case e in #(
9869 e) if test -n "$DLLTOOL"; then
9870 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9871 else
9872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9873 for as_dir in $PATH
9874 do
9875 IFS=$as_save_IFS
9876 case $as_dir in #(((
9877 '') as_dir=./ ;;
9878 */) ;;
9879 *) as_dir=$as_dir/ ;;
9880 esac
9881 for ac_exec_ext in '' $ac_executable_extensions; do
9882 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9883 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9885 break 2
9886 fi
9887 done
9888 done
9889 IFS=$as_save_IFS
9890
9891 fi ;;
9892 esac
9893 fi
9894 DLLTOOL=$ac_cv_prog_DLLTOOL
9895 if test -n "$DLLTOOL"; then
9896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9897 printf "%s\n" "$DLLTOOL" >&6; }
9898 else
9899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9900 printf "%s\n" "no" >&6; }
9901 fi
9902
9903
9904 fi
9905 if test -z "$ac_cv_prog_DLLTOOL"; then
9906 ac_ct_DLLTOOL=$DLLTOOL
9907 # Extract the first word of "dlltool", so it can be a program name with args.
9908 set dummy dlltool; ac_word=$2
9909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9910 printf %s "checking for $ac_word... " >&6; }
9911 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9912 then :
9913 printf %s "(cached) " >&6
9914 else case e in #(
9915 e) if test -n "$ac_ct_DLLTOOL"; then
9916 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9917 else
9918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9919 for as_dir in $PATH
9920 do
9921 IFS=$as_save_IFS
9922 case $as_dir in #(((
9923 '') as_dir=./ ;;
9924 */) ;;
9925 *) as_dir=$as_dir/ ;;
9926 esac
9927 for ac_exec_ext in '' $ac_executable_extensions; do
9928 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9929 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9931 break 2
9932 fi
9933 done
9934 done
9935 IFS=$as_save_IFS
9936
9937 fi ;;
9938 esac
9939 fi
9940 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9941 if test -n "$ac_ct_DLLTOOL"; then
9942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9943 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9944 else
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9946 printf "%s\n" "no" >&6; }
9947 fi
9948
9949 if test "x$ac_ct_DLLTOOL" = x; then
9950 DLLTOOL="false"
9951 else
9952 case $cross_compiling:$ac_tool_warned in
9953 yes:)
9954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9955 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9956 ac_tool_warned=yes ;;
9957 esac
9958 DLLTOOL=$ac_ct_DLLTOOL
9959 fi
9960 else
9961 DLLTOOL="$ac_cv_prog_DLLTOOL"
9962 fi
9963
9964 if test -n "$ac_tool_prefix"; then
9965 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9966 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9968 printf %s "checking for $ac_word... " >&6; }
9969 if test ${ac_cv_prog_OBJDUMP+y}
9970 then :
9971 printf %s "(cached) " >&6
9972 else case e in #(
9973 e) if test -n "$OBJDUMP"; then
9974 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9975 else
9976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9977 for as_dir in $PATH
9978 do
9979 IFS=$as_save_IFS
9980 case $as_dir in #(((
9981 '') as_dir=./ ;;
9982 */) ;;
9983 *) as_dir=$as_dir/ ;;
9984 esac
9985 for ac_exec_ext in '' $ac_executable_extensions; do
9986 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9987 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9989 break 2
9990 fi
9991 done
9992 done
9993 IFS=$as_save_IFS
9994
9995 fi ;;
9996 esac
9997 fi
9998 OBJDUMP=$ac_cv_prog_OBJDUMP
9999 if test -n "$OBJDUMP"; then
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
10001 printf "%s\n" "$OBJDUMP" >&6; }
10002 else
10003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10004 printf "%s\n" "no" >&6; }
10005 fi
10006
10007
10008 fi
10009 if test -z "$ac_cv_prog_OBJDUMP"; then
10010 ac_ct_OBJDUMP=$OBJDUMP
10011 # Extract the first word of "objdump", so it can be a program name with args.
10012 set dummy objdump; ac_word=$2
10013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10014 printf %s "checking for $ac_word... " >&6; }
10015 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
10016 then :
10017 printf %s "(cached) " >&6
10018 else case e in #(
10019 e) if test -n "$ac_ct_OBJDUMP"; then
10020 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
10021 else
10022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10023 for as_dir in $PATH
10024 do
10025 IFS=$as_save_IFS
10026 case $as_dir in #(((
10027 '') as_dir=./ ;;
10028 */) ;;
10029 *) as_dir=$as_dir/ ;;
10030 esac
10031 for ac_exec_ext in '' $ac_executable_extensions; do
10032 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10033 ac_cv_prog_ac_ct_OBJDUMP="objdump"
10034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10035 break 2
10036 fi
10037 done
10038 done
10039 IFS=$as_save_IFS
10040
10041 fi ;;
10042 esac
10043 fi
10044 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
10045 if test -n "$ac_ct_OBJDUMP"; then
10046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
10047 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
10048 else
10049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10050 printf "%s\n" "no" >&6; }
10051 fi
10052
10053 if test "x$ac_ct_OBJDUMP" = x; then
10054 OBJDUMP="false"
10055 else
10056 case $cross_compiling:$ac_tool_warned in
10057 yes:)
10058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10059 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10060 ac_tool_warned=yes ;;
10061 esac
10062 OBJDUMP=$ac_ct_OBJDUMP
10063 fi
10064 else
10065 OBJDUMP="$ac_cv_prog_OBJDUMP"
10066 fi
10067
10068 ;;
10069 esac
10070
10071 test -z "$AS" && AS=as
10072
10073
10074
10075
10076
10077 test -z "$DLLTOOL" && DLLTOOL=dlltool
10078
10079
10080
10081
10082
10083 test -z "$OBJDUMP" && OBJDUMP=objdump
10084
10085
10086
10087
10088
10089
10090
10091 enable_dlopen=no
10092
10093
10094
10095 # Check whether --enable-shared was given.
10096 if test ${enable_shared+y}
10097 then :
10098 enableval=$enable_shared; p=${PACKAGE-default}
10099 case $enableval in
10100 yes) enable_shared=yes ;;
10101 no) enable_shared=no ;;
10102 *)
10103 enable_shared=no
10104 # Look at the argument we got. We use all the common list separators.
10105 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10106 for pkg in $enableval; do
10107 IFS=$lt_save_ifs
10108 if test "X$pkg" = "X$p"; then
10109 enable_shared=yes
10110 fi
10111 done
10112 IFS=$lt_save_ifs
10113 ;;
10114 esac
10115 else case e in #(
10116 e) enable_shared=yes ;;
10117 esac
10118 fi
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128 # Check whether --enable-static was given.
10129 if test ${enable_static+y}
10130 then :
10131 enableval=$enable_static; p=${PACKAGE-default}
10132 case $enableval in
10133 yes) enable_static=yes ;;
10134 no) enable_static=no ;;
10135 *)
10136 enable_static=no
10137 # Look at the argument we got. We use all the common list separators.
10138 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10139 for pkg in $enableval; do
10140 IFS=$lt_save_ifs
10141 if test "X$pkg" = "X$p"; then
10142 enable_static=yes
10143 fi
10144 done
10145 IFS=$lt_save_ifs
10146 ;;
10147 esac
10148 else case e in #(
10149 e) enable_static=yes ;;
10150 esac
10151 fi
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161 # Check whether --enable-pic was given.
10162 if test ${enable_pic+y}
10163 then :
10164 enableval=$enable_pic; lt_p=${PACKAGE-default}
10165 case $enableval in
10166 yes|no) pic_mode=$enableval ;;
10167 *)
10168 pic_mode=default
10169 # Look at the argument we got. We use all the common list separators.
10170 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10171 for lt_pkg in $enableval; do
10172 IFS=$lt_save_ifs
10173 if test "X$lt_pkg" = "X$lt_p"; then
10174 pic_mode=yes
10175 fi
10176 done
10177 IFS=$lt_save_ifs
10178 ;;
10179 esac
10180 else case e in #(
10181 e) # Check whether --with-pic was given.
10182 if test ${with_pic+y}
10183 then :
10184 withval=$with_pic; lt_p=${PACKAGE-default}
10185 case $withval in
10186 yes|no) pic_mode=$withval ;;
10187 *)
10188 pic_mode=default
10189 # Look at the argument we got. We use all the common list separators.
10190 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10191 for lt_pkg in $withval; do
10192 IFS=$lt_save_ifs
10193 if test "X$lt_pkg" = "X$lt_p"; then
10194 pic_mode=yes
10195 fi
10196 done
10197 IFS=$lt_save_ifs
10198 ;;
10199 esac
10200 else case e in #(
10201 e) pic_mode=default ;;
10202 esac
10203 fi
10204
10205 ;;
10206 esac
10207 fi
10208
10209
10210
10211
10212
10213
10214
10215
10216 # Check whether --enable-fast-install was given.
10217 if test ${enable_fast_install+y}
10218 then :
10219 enableval=$enable_fast_install; p=${PACKAGE-default}
10220 case $enableval in
10221 yes) enable_fast_install=yes ;;
10222 no) enable_fast_install=no ;;
10223 *)
10224 enable_fast_install=no
10225 # Look at the argument we got. We use all the common list separators.
10226 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10227 for pkg in $enableval; do
10228 IFS=$lt_save_ifs
10229 if test "X$pkg" = "X$p"; then
10230 enable_fast_install=yes
10231 fi
10232 done
10233 IFS=$lt_save_ifs
10234 ;;
10235 esac
10236 else case e in #(
10237 e) enable_fast_install=yes ;;
10238 esac
10239 fi
10240
10241
10242
10243
10244
10245
10246
10247
10248 shared_archive_member_spec=
10249 case $host,$enable_shared in
10250 power*-*-aix[5-9]*,yes)
10251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10252 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10253 # Check whether --enable-aix-soname was given.
10254 if test ${enable_aix_soname+y}
10255 then :
10256 enableval=$enable_aix_soname; case $enableval in
10257 aix|svr4|both)
10258 ;;
10259 *)
10260 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10261 ;;
10262 esac
10263 lt_cv_with_aix_soname=$enable_aix_soname
10264 else case e in #(
10265 e) # Check whether --with-aix-soname was given.
10266 if test ${with_aix_soname+y}
10267 then :
10268 withval=$with_aix_soname; case $withval in
10269 aix|svr4|both)
10270 ;;
10271 *)
10272 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10273 ;;
10274 esac
10275 lt_cv_with_aix_soname=$with_aix_soname
10276 else case e in #(
10277 e) if test ${lt_cv_with_aix_soname+y}
10278 then :
10279 printf %s "(cached) " >&6
10280 else case e in #(
10281 e) lt_cv_with_aix_soname=aix ;;
10282 esac
10283 fi
10284 ;;
10285 esac
10286 fi
10287
10288 enable_aix_soname=$lt_cv_with_aix_soname ;;
10289 esac
10290 fi
10291
10292 with_aix_soname=$enable_aix_soname
10293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10294 printf "%s\n" "$with_aix_soname" >&6; }
10295 if test aix != "$with_aix_soname"; then
10296 # For the AIX way of multilib, we name the shared archive member
10297 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10298 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10299 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10300 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10301 if test 64 = "${OBJECT_MODE-32}"; then
10302 shared_archive_member_spec=shr_64
10303 else
10304 shared_archive_member_spec=shr
10305 fi
10306 fi
10307 ;;
10308 *)
10309 with_aix_soname=aix
10310 ;;
10311 esac
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322 # This can be used to rebuild libtool when needed
10323 LIBTOOL_DEPS=$ltmain
10324
10325 # Always use our own libtool.
10326 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357 test -z "$LN_S" && LN_S="ln -s"
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372 if test -n "${ZSH_VERSION+set}"; then
10373 setopt NO_GLOB_SUBST
10374 fi
10375
10376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10377 printf %s "checking for objdir... " >&6; }
10378 if test ${lt_cv_objdir+y}
10379 then :
10380 printf %s "(cached) " >&6
10381 else case e in #(
10382 e) rm -f .libs 2>/dev/null
10383 mkdir .libs 2>/dev/null
10384 if test -d .libs; then
10385 lt_cv_objdir=.libs
10386 else
10387 # MS-DOS does not allow filenames that begin with a dot.
10388 lt_cv_objdir=_libs
10389 fi
10390 rmdir .libs 2>/dev/null ;;
10391 esac
10392 fi
10393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10394 printf "%s\n" "$lt_cv_objdir" >&6; }
10395 objdir=$lt_cv_objdir
10396
10397
10398
10399
10400
10401 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10402
10403
10404
10405
10406 case $host_os in
10407 aix3*)
10408 # AIX sometimes has problems with the GCC collect2 program. For some
10409 # reason, if we set the COLLECT_NAMES environment variable, the problems
10410 # vanish in a puff of smoke.
10411 if test set != "${COLLECT_NAMES+set}"; then
10412 COLLECT_NAMES=
10413 export COLLECT_NAMES
10414 fi
10415 ;;
10416 esac
10417
10418 # Global variables:
10419 ofile=libtool
10420 can_build_shared=yes
10421
10422 # All known linkers require a '.a' archive for static linking (except MSVC and
10423 # ICC, which need '.lib').
10424 libext=a
10425
10426 with_gnu_ld=$lt_cv_prog_gnu_ld
10427
10428 old_CC=$CC
10429 old_CFLAGS=$CFLAGS
10430
10431 # Set sane defaults for various variables
10432 test -z "$CC" && CC=cc
10433 test -z "$LTCC" && LTCC=$CC
10434 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10435 test -z "$LD" && LD=ld
10436 test -z "$ac_objext" && ac_objext=o
10437
10438 func_cc_basename $compiler
10439 cc_basename=$func_cc_basename_result
10440
10441
10442 # Only perform the check for file, if the check method requires it
10443 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10444 case $deplibs_check_method in
10445 file_magic*)
10446 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10448 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10449 if test ${lt_cv_path_MAGIC_CMD+y}
10450 then :
10451 printf %s "(cached) " >&6
10452 else case e in #(
10453 e) case $MAGIC_CMD in
10454 [\\/*] | ?:[\\/]*)
10455 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10456 ;;
10457 *)
10458 lt_save_MAGIC_CMD=$MAGIC_CMD
10459 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10460 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10461 for ac_dir in $ac_dummy; do
10462 IFS=$lt_save_ifs
10463 test -z "$ac_dir" && ac_dir=.
10464 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10465 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10466 if test -n "$file_magic_test_file"; then
10467 case $deplibs_check_method in
10468 "file_magic "*)
10469 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10470 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10471 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10472 $EGREP "$file_magic_regex" > /dev/null; then
10473 :
10474 else
10475 cat <<_LT_EOF 1>&2
10476
10477 *** Warning: the command libtool uses to detect shared libraries,
10478 *** $file_magic_cmd, produces output that libtool cannot recognize.
10479 *** The result is that libtool may fail to recognize shared libraries
10480 *** as such. This will affect the creation of libtool libraries that
10481 *** depend on shared libraries, but programs linked with such libtool
10482 *** libraries will work regardless of this problem. Nevertheless, you
10483 *** may want to report the problem to your system manager and/or to
10484 *** [email protected]
10485
10486 _LT_EOF
10487 fi ;;
10488 esac
10489 fi
10490 break
10491 fi
10492 done
10493 IFS=$lt_save_ifs
10494 MAGIC_CMD=$lt_save_MAGIC_CMD
10495 ;;
10496 esac ;;
10497 esac
10498 fi
10499
10500 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10501 if test -n "$MAGIC_CMD"; then
10502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10503 printf "%s\n" "$MAGIC_CMD" >&6; }
10504 else
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10506 printf "%s\n" "no" >&6; }
10507 fi
10508
10509
10510
10511
10512
10513 if test -z "$lt_cv_path_MAGIC_CMD"; then
10514 if test -n "$ac_tool_prefix"; then
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10516 printf %s "checking for file... " >&6; }
10517 if test ${lt_cv_path_MAGIC_CMD+y}
10518 then :
10519 printf %s "(cached) " >&6
10520 else case e in #(
10521 e) case $MAGIC_CMD in
10522 [\\/*] | ?:[\\/]*)
10523 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10524 ;;
10525 *)
10526 lt_save_MAGIC_CMD=$MAGIC_CMD
10527 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10528 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10529 for ac_dir in $ac_dummy; do
10530 IFS=$lt_save_ifs
10531 test -z "$ac_dir" && ac_dir=.
10532 if test -f "$ac_dir/file"; then
10533 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10534 if test -n "$file_magic_test_file"; then
10535 case $deplibs_check_method in
10536 "file_magic "*)
10537 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10538 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10539 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10540 $EGREP "$file_magic_regex" > /dev/null; then
10541 :
10542 else
10543 cat <<_LT_EOF 1>&2
10544
10545 *** Warning: the command libtool uses to detect shared libraries,
10546 *** $file_magic_cmd, produces output that libtool cannot recognize.
10547 *** The result is that libtool may fail to recognize shared libraries
10548 *** as such. This will affect the creation of libtool libraries that
10549 *** depend on shared libraries, but programs linked with such libtool
10550 *** libraries will work regardless of this problem. Nevertheless, you
10551 *** may want to report the problem to your system manager and/or to
10552 *** [email protected]
10553
10554 _LT_EOF
10555 fi ;;
10556 esac
10557 fi
10558 break
10559 fi
10560 done
10561 IFS=$lt_save_ifs
10562 MAGIC_CMD=$lt_save_MAGIC_CMD
10563 ;;
10564 esac ;;
10565 esac
10566 fi
10567
10568 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10569 if test -n "$MAGIC_CMD"; then
10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10571 printf "%s\n" "$MAGIC_CMD" >&6; }
10572 else
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10574 printf "%s\n" "no" >&6; }
10575 fi
10576
10577
10578 else
10579 MAGIC_CMD=:
10580 fi
10581 fi
10582
10583 fi
10584 ;;
10585 esac
10586
10587 # Use C for the default configuration in the libtool script
10588
10589 lt_save_CC=$CC
10590 ac_ext=c
10591 ac_cpp='$CPP $CPPFLAGS'
10592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10595
10596
10597 # Source file extension for C test sources.
10598 ac_ext=c
10599
10600 # Object file extension for compiled C test sources.
10601 objext=o
10602 objext=$objext
10603
10604 # Code to be used in simple compile tests
10605 lt_simple_compile_test_code="int some_variable = 0;"
10606
10607 # Code to be used in simple link tests
10608 lt_simple_link_test_code='int main(void){return(0);}'
10609
10610
10611
10612
10613
10614
10615
10616 # If no C compiler was specified, use CC.
10617 LTCC=${LTCC-"$CC"}
10618
10619 # If no C compiler flags were specified, use CFLAGS.
10620 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10621
10622 # Allow CC to be a program name with arguments.
10623 compiler=$CC
10624
10625 # Save the default compiler, since it gets overwritten when the other
10626 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10627 compiler_DEFAULT=$CC
10628
10629 # save warnings/boilerplate of simple test code
10630 ac_outfile=conftest.$ac_objext
10631 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10632 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10633 _lt_compiler_boilerplate=`cat conftest.err`
10634 $RM conftest*
10635
10636 ac_outfile=conftest.$ac_objext
10637 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10638 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10639 _lt_linker_boilerplate=`cat conftest.err`
10640 $RM -r conftest*
10641
10642
10643 ## CAVEAT EMPTOR:
10644 ## There is no encapsulation within the following macros, do not change
10645 ## the running order or otherwise move them around unless you know exactly
10646 ## what you are doing...
10647 if test -n "$compiler"; then
10648
10649 lt_prog_compiler_no_builtin_flag=
10650
10651 if test yes = "$GCC"; then
10652 case $cc_basename in
10653 nvcc*)
10654 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10655 *)
10656 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10657 esac
10658
10659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10660 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10661 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10662 then :
10663 printf %s "(cached) " >&6
10664 else case e in #(
10665 e) lt_cv_prog_compiler_rtti_exceptions=no
10666 ac_outfile=conftest.$ac_objext
10667 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10668 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10669 # Insert the option either (1) after the last *FLAGS variable, or
10670 # (2) before a word containing "conftest.", or (3) at the end.
10671 # Note that $ac_compile itself does not contain backslashes and begins
10672 # with a dollar sign (not a hyphen), so the echo should work correctly.
10673 # The option is referenced via a variable to avoid confusing sed.
10674 lt_compile=`echo "$ac_compile" | $SED \
10675 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10676 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10677 -e 's:$: $lt_compiler_flag:'`
10678 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10679 (eval "$lt_compile" 2>conftest.err)
10680 ac_status=$?
10681 cat conftest.err >&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 if (exit $ac_status) && test -s "$ac_outfile"; then
10684 # The compiler can only warn and ignore the option if not recognized
10685 # So say no if there are warnings other than the usual output.
10686 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10687 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10688 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10689 lt_cv_prog_compiler_rtti_exceptions=yes
10690 fi
10691 fi
10692 $RM conftest*
10693 ;;
10694 esac
10695 fi
10696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10697 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10698
10699 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10700 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10701 else
10702 :
10703 fi
10704
10705 fi
10706
10707
10708
10709
10710
10711
10712 lt_prog_compiler_wl=
10713 lt_prog_compiler_pic=
10714 lt_prog_compiler_static=
10715
10716
10717 if test yes = "$GCC"; then
10718 lt_prog_compiler_wl='-Wl,'
10719 lt_prog_compiler_static='-static'
10720
10721 case $host_os in
10722 aix*)
10723 # All AIX code is PIC.
10724 if test ia64 = "$host_cpu"; then
10725 # AIX 5 now supports IA64 processor
10726 lt_prog_compiler_static='-Bstatic'
10727 fi
10728 lt_prog_compiler_pic='-fPIC'
10729 ;;
10730
10731 amigaos*)
10732 case $host_cpu in
10733 powerpc)
10734 # see comment about AmigaOS4 .so support
10735 lt_prog_compiler_pic='-fPIC'
10736 ;;
10737 m68k)
10738 # FIXME: we need at least 68020 code to build shared libraries, but
10739 # adding the '-m68020' flag to GCC prevents building anything better,
10740 # like '-m68040'.
10741 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10742 ;;
10743 esac
10744 ;;
10745
10746 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10747 # PIC is the default for these OSes.
10748 ;;
10749
10750 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10751 # This hack is so that the source file can tell whether it is being
10752 # built for inclusion in a dll (and should export symbols for example).
10753 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10754 # (--disable-auto-import) libraries
10755 lt_prog_compiler_pic='-DDLL_EXPORT'
10756 case $host_os in
10757 os2*)
10758 lt_prog_compiler_static='$wl-static'
10759 ;;
10760 esac
10761 ;;
10762
10763 darwin* | rhapsody*)
10764 # PIC is the default on this platform
10765 # Common symbols not allowed in MH_DYLIB files
10766 lt_prog_compiler_pic='-fno-common'
10767 ;;
10768
10769 haiku*)
10770 # PIC is the default for Haiku.
10771 # The "-static" flag exists, but is broken.
10772 lt_prog_compiler_static=
10773 ;;
10774
10775 hpux*)
10776 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10777 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10778 # sets the default TLS model and affects inlining.
10779 case $host_cpu in
10780 hppa*64*)
10781 # +Z the default
10782 ;;
10783 *)
10784 lt_prog_compiler_pic='-fPIC'
10785 ;;
10786 esac
10787 ;;
10788
10789 interix[3-9]*)
10790 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10791 # Instead, we relocate shared libraries at runtime.
10792 ;;
10793
10794 msdosdjgpp*)
10795 # Just because we use GCC doesn't mean we suddenly get shared libraries
10796 # on systems that don't support them.
10797 lt_prog_compiler_can_build_shared=no
10798 enable_shared=no
10799 ;;
10800
10801 *nto* | *qnx*)
10802 # QNX uses GNU C++, but need to define -shared option too, otherwise
10803 # it will coredump.
10804 lt_prog_compiler_pic='-fPIC -shared'
10805 ;;
10806
10807 sysv4*MP*)
10808 if test -d /usr/nec; then
10809 lt_prog_compiler_pic=-Kconform_pic
10810 fi
10811 ;;
10812
10813 *)
10814 lt_prog_compiler_pic='-fPIC'
10815 ;;
10816 esac
10817
10818 case $cc_basename in
10819 nvcc*) # Cuda Compiler Driver 2.2
10820 lt_prog_compiler_wl='-Xlinker '
10821 if test -n "$lt_prog_compiler_pic"; then
10822 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10823 fi
10824 ;;
10825 esac
10826 else
10827 # PORTME Check for flag to pass linker flags through the system compiler.
10828 case $host_os in
10829 aix*)
10830 lt_prog_compiler_wl='-Wl,'
10831 if test ia64 = "$host_cpu"; then
10832 # AIX 5 now supports IA64 processor
10833 lt_prog_compiler_static='-Bstatic'
10834 else
10835 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10836 fi
10837 ;;
10838
10839 darwin* | rhapsody*)
10840 # PIC is the default on this platform
10841 # Common symbols not allowed in MH_DYLIB files
10842 lt_prog_compiler_pic='-fno-common'
10843 case $cc_basename in
10844 nagfor*)
10845 # NAG Fortran compiler
10846 lt_prog_compiler_wl='-Wl,-Wl,,'
10847 lt_prog_compiler_pic='-PIC'
10848 lt_prog_compiler_static='-Bstatic'
10849 ;;
10850 esac
10851 ;;
10852
10853 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10854 # This hack is so that the source file can tell whether it is being
10855 # built for inclusion in a dll (and should export symbols for example).
10856 lt_prog_compiler_pic='-DDLL_EXPORT'
10857 case $host_os in
10858 os2*)
10859 lt_prog_compiler_static='$wl-static'
10860 ;;
10861 esac
10862 ;;
10863
10864 hpux9* | hpux10* | hpux11*)
10865 lt_prog_compiler_wl='-Wl,'
10866 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10867 # not for PA HP-UX.
10868 case $host_cpu in
10869 hppa*64*|ia64*)
10870 # +Z the default
10871 ;;
10872 *)
10873 lt_prog_compiler_pic='+Z'
10874 ;;
10875 esac
10876 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10877 lt_prog_compiler_static='$wl-a ${wl}archive'
10878 ;;
10879
10880 irix5* | irix6* | nonstopux*)
10881 lt_prog_compiler_wl='-Wl,'
10882 # PIC (with -KPIC) is the default.
10883 lt_prog_compiler_static='-non_shared'
10884 ;;
10885
10886 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10887 case $cc_basename in
10888 # old Intel for x86_64, which still supported -KPIC.
10889 ecc*)
10890 lt_prog_compiler_wl='-Wl,'
10891 lt_prog_compiler_pic='-KPIC'
10892 lt_prog_compiler_static='-static'
10893 ;;
10894 *flang* | ftn | f18* | f95*)
10895 # Flang compiler.
10896 lt_prog_compiler_wl='-Wl,'
10897 lt_prog_compiler_pic='-fPIC'
10898 lt_prog_compiler_static='-static'
10899 ;;
10900 # icc used to be incompatible with GCC.
10901 # ICC 10 doesn't accept -KPIC any more.
10902 icc* | ifort*)
10903 lt_prog_compiler_wl='-Wl,'
10904 lt_prog_compiler_pic='-fPIC'
10905 lt_prog_compiler_static='-static'
10906 ;;
10907 # Lahey Fortran 8.1.
10908 lf95*)
10909 lt_prog_compiler_wl='-Wl,'
10910 lt_prog_compiler_pic='--shared'
10911 lt_prog_compiler_static='--static'
10912 ;;
10913 nagfor*)
10914 # NAG Fortran compiler
10915 lt_prog_compiler_wl='-Wl,-Wl,,'
10916 lt_prog_compiler_pic='-PIC'
10917 lt_prog_compiler_static='-Bstatic'
10918 ;;
10919 tcc*)
10920 # Fabrice Bellard et al's Tiny C Compiler
10921 lt_prog_compiler_wl='-Wl,'
10922 lt_prog_compiler_pic='-fPIC'
10923 lt_prog_compiler_static='-static'
10924 ;;
10925 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10926 # Portland Group compilers (*not* the Pentium gcc compiler,
10927 # which looks to be a dead project)
10928 lt_prog_compiler_wl='-Wl,'
10929 lt_prog_compiler_pic='-fpic'
10930 lt_prog_compiler_static='-Bstatic'
10931 ;;
10932 ccc*)
10933 lt_prog_compiler_wl='-Wl,'
10934 # All Alpha code is PIC.
10935 lt_prog_compiler_static='-non_shared'
10936 ;;
10937 xl* | bgxl* | bgf* | mpixl*)
10938 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10939 lt_prog_compiler_wl='-Wl,'
10940 lt_prog_compiler_pic='-qpic'
10941 lt_prog_compiler_static='-qstaticlink'
10942 ;;
10943 *)
10944 case `$CC -V 2>&1 | $SED 5q` in
10945 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10946 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10947 lt_prog_compiler_pic='-KPIC'
10948 lt_prog_compiler_static='-Bstatic'
10949 lt_prog_compiler_wl=''
10950 ;;
10951 *Sun\ F* | *Sun*Fortran*)
10952 lt_prog_compiler_pic='-KPIC'
10953 lt_prog_compiler_static='-Bstatic'
10954 lt_prog_compiler_wl='-Qoption ld '
10955 ;;
10956 *Sun\ C*)
10957 # Sun C 5.9
10958 lt_prog_compiler_pic='-KPIC'
10959 lt_prog_compiler_static='-Bstatic'
10960 lt_prog_compiler_wl='-Wl,'
10961 ;;
10962 *Intel*\ [CF]*Compiler*)
10963 lt_prog_compiler_wl='-Wl,'
10964 lt_prog_compiler_pic='-fPIC'
10965 lt_prog_compiler_static='-static'
10966 ;;
10967 *Portland\ Group*)
10968 lt_prog_compiler_wl='-Wl,'
10969 lt_prog_compiler_pic='-fpic'
10970 lt_prog_compiler_static='-Bstatic'
10971 ;;
10972 esac
10973 ;;
10974 esac
10975 ;;
10976
10977 newsos6)
10978 lt_prog_compiler_pic='-KPIC'
10979 lt_prog_compiler_static='-Bstatic'
10980 ;;
10981
10982 *-mlibc)
10983 lt_prog_compiler_wl='-Wl,'
10984 lt_prog_compiler_pic='-fPIC'
10985 lt_prog_compiler_static='-static'
10986 ;;
10987
10988 *nto* | *qnx*)
10989 # QNX uses GNU C++, but need to define -shared option too, otherwise
10990 # it will coredump.
10991 lt_prog_compiler_pic='-fPIC -shared'
10992 ;;
10993
10994 osf3* | osf4* | osf5*)
10995 lt_prog_compiler_wl='-Wl,'
10996 # All OSF/1 code is PIC.
10997 lt_prog_compiler_static='-non_shared'
10998 ;;
10999
11000 rdos*)
11001 lt_prog_compiler_static='-non_shared'
11002 ;;
11003
11004 serenity*)
11005 ;;
11006
11007 solaris*)
11008 lt_prog_compiler_pic='-KPIC'
11009 lt_prog_compiler_static='-Bstatic'
11010 case $cc_basename in
11011 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11012 lt_prog_compiler_wl='-Qoption ld ';;
11013 *)
11014 lt_prog_compiler_wl='-Wl,';;
11015 esac
11016 ;;
11017
11018 sunos4*)
11019 lt_prog_compiler_wl='-Qoption ld '
11020 lt_prog_compiler_pic='-PIC'
11021 lt_prog_compiler_static='-Bstatic'
11022 ;;
11023
11024 sysv4 | sysv4.2uw2* | sysv4.3*)
11025 lt_prog_compiler_wl='-Wl,'
11026 lt_prog_compiler_pic='-KPIC'
11027 lt_prog_compiler_static='-Bstatic'
11028 ;;
11029
11030 sysv4*MP*)
11031 if test -d /usr/nec; then
11032 lt_prog_compiler_pic='-Kconform_pic'
11033 lt_prog_compiler_static='-Bstatic'
11034 fi
11035 ;;
11036
11037 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11038 lt_prog_compiler_wl='-Wl,'
11039 lt_prog_compiler_pic='-KPIC'
11040 lt_prog_compiler_static='-Bstatic'
11041 ;;
11042
11043 unicos*)
11044 lt_prog_compiler_wl='-Wl,'
11045 lt_prog_compiler_can_build_shared=no
11046 ;;
11047
11048 uts4*)
11049 lt_prog_compiler_pic='-pic'
11050 lt_prog_compiler_static='-Bstatic'
11051 ;;
11052
11053 *)
11054 lt_prog_compiler_can_build_shared=no
11055 ;;
11056 esac
11057 fi
11058
11059 case $host_os in
11060 # For platforms that do not support PIC, -DPIC is meaningless:
11061 *djgpp*)
11062 lt_prog_compiler_pic=
11063 ;;
11064 *)
11065 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11066 ;;
11067 esac
11068
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11070 printf %s "checking for $compiler option to produce PIC... " >&6; }
11071 if test ${lt_cv_prog_compiler_pic+y}
11072 then :
11073 printf %s "(cached) " >&6
11074 else case e in #(
11075 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
11076 esac
11077 fi
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11079 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
11080 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11081
11082 #
11083 # Check to make sure the PIC flag actually works.
11084 #
11085 if test -n "$lt_prog_compiler_pic"; then
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11087 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11088 if test ${lt_cv_prog_compiler_pic_works+y}
11089 then :
11090 printf %s "(cached) " >&6
11091 else case e in #(
11092 e) lt_cv_prog_compiler_pic_works=no
11093 ac_outfile=conftest.$ac_objext
11094 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11095 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11096 # Insert the option either (1) after the last *FLAGS variable, or
11097 # (2) before a word containing "conftest.", or (3) at the end.
11098 # Note that $ac_compile itself does not contain backslashes and begins
11099 # with a dollar sign (not a hyphen), so the echo should work correctly.
11100 # The option is referenced via a variable to avoid confusing sed.
11101 lt_compile=`echo "$ac_compile" | $SED \
11102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11104 -e 's:$: $lt_compiler_flag:'`
11105 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11106 (eval "$lt_compile" 2>conftest.err)
11107 ac_status=$?
11108 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 if (exit $ac_status) && test -s "$ac_outfile"; then
11111 # The compiler can only warn and ignore the option if not recognized
11112 # So say no if there are warnings other than the usual output.
11113 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11114 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11115 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11116 lt_cv_prog_compiler_pic_works=yes
11117 fi
11118 fi
11119 $RM conftest*
11120 ;;
11121 esac
11122 fi
11123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11124 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
11125
11126 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11127 case $lt_prog_compiler_pic in
11128 "" | " "*) ;;
11129 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11130 esac
11131 else
11132 lt_prog_compiler_pic=
11133 lt_prog_compiler_can_build_shared=no
11134 fi
11135
11136 fi
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148 #
11149 # Check to make sure the static flag actually works.
11150 #
11151 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11153 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11154 if test ${lt_cv_prog_compiler_static_works+y}
11155 then :
11156 printf %s "(cached) " >&6
11157 else case e in #(
11158 e) lt_cv_prog_compiler_static_works=no
11159 save_LDFLAGS=$LDFLAGS
11160 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11161 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11162 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11163 # The linker can only warn and ignore the option if not recognized
11164 # So say no if there are warnings
11165 if test -s conftest.err; then
11166 # Append any errors to the config.log.
11167 cat conftest.err 1>&5
11168 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11169 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11170 if diff conftest.exp conftest.er2 >/dev/null; then
11171 lt_cv_prog_compiler_static_works=yes
11172 fi
11173 else
11174 lt_cv_prog_compiler_static_works=yes
11175 fi
11176 fi
11177 $RM -r conftest*
11178 LDFLAGS=$save_LDFLAGS
11179 ;;
11180 esac
11181 fi
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11183 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
11184
11185 if test yes = "$lt_cv_prog_compiler_static_works"; then
11186 :
11187 else
11188 lt_prog_compiler_static=
11189 fi
11190
11191
11192
11193
11194
11195
11196
11197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11198 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11199 if test ${lt_cv_prog_compiler_c_o+y}
11200 then :
11201 printf %s "(cached) " >&6
11202 else case e in #(
11203 e) lt_cv_prog_compiler_c_o=no
11204 $RM -r conftest 2>/dev/null
11205 mkdir conftest
11206 cd conftest
11207 mkdir out
11208 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11209
11210 lt_compiler_flag="-o out/conftest2.$ac_objext"
11211 # Insert the option either (1) after the last *FLAGS variable, or
11212 # (2) before a word containing "conftest.", or (3) at the end.
11213 # Note that $ac_compile itself does not contain backslashes and begins
11214 # with a dollar sign (not a hyphen), so the echo should work correctly.
11215 lt_compile=`echo "$ac_compile" | $SED \
11216 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11217 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11218 -e 's:$: $lt_compiler_flag:'`
11219 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11220 (eval "$lt_compile" 2>out/conftest.err)
11221 ac_status=$?
11222 cat out/conftest.err >&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11225 then
11226 # The compiler can only warn and ignore the option if not recognized
11227 # So say no if there are warnings
11228 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11229 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11230 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11231 lt_cv_prog_compiler_c_o=yes
11232 fi
11233 fi
11234 chmod u+w . 2>&5
11235 $RM conftest*
11236 # SGI C++ compiler will create directory out/ii_files/ for
11237 # template instantiation
11238 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11239 $RM out/* && rmdir out
11240 cd ..
11241 $RM -r conftest
11242 $RM conftest*
11243 ;;
11244 esac
11245 fi
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11247 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11248
11249
11250
11251
11252
11253
11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11255 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11256 if test ${lt_cv_prog_compiler_c_o+y}
11257 then :
11258 printf %s "(cached) " >&6
11259 else case e in #(
11260 e) lt_cv_prog_compiler_c_o=no
11261 $RM -r conftest 2>/dev/null
11262 mkdir conftest
11263 cd conftest
11264 mkdir out
11265 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11266
11267 lt_compiler_flag="-o out/conftest2.$ac_objext"
11268 # Insert the option either (1) after the last *FLAGS variable, or
11269 # (2) before a word containing "conftest.", or (3) at the end.
11270 # Note that $ac_compile itself does not contain backslashes and begins
11271 # with a dollar sign (not a hyphen), so the echo should work correctly.
11272 lt_compile=`echo "$ac_compile" | $SED \
11273 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11275 -e 's:$: $lt_compiler_flag:'`
11276 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11277 (eval "$lt_compile" 2>out/conftest.err)
11278 ac_status=$?
11279 cat out/conftest.err >&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11282 then
11283 # The compiler can only warn and ignore the option if not recognized
11284 # So say no if there are warnings
11285 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11286 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11287 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11288 lt_cv_prog_compiler_c_o=yes
11289 fi
11290 fi
11291 chmod u+w . 2>&5
11292 $RM conftest*
11293 # SGI C++ compiler will create directory out/ii_files/ for
11294 # template instantiation
11295 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11296 $RM out/* && rmdir out
11297 cd ..
11298 $RM -r conftest
11299 $RM conftest*
11300 ;;
11301 esac
11302 fi
11303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11304 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11305
11306
11307
11308
11309 hard_links=nottested
11310 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11311 # do not overwrite the value of need_locks provided by the user
11312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11313 printf %s "checking if we can lock with hard links... " >&6; }
11314 hard_links=yes
11315 $RM conftest*
11316 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11317 touch conftest.a
11318 ln conftest.a conftest.b 2>&5 || hard_links=no
11319 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11321 printf "%s\n" "$hard_links" >&6; }
11322 if test no = "$hard_links"; then
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11324 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11325 need_locks=warn
11326 fi
11327 else
11328 need_locks=no
11329 fi
11330
11331
11332
11333
11334
11335
11336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11337 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11338
11339 runpath_var=
11340 allow_undefined_flag=
11341 always_export_symbols=no
11342 archive_cmds=
11343 archive_expsym_cmds=
11344 compiler_needs_object=no
11345 enable_shared_with_static_runtimes=no
11346 export_dynamic_flag_spec=
11347 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11348 hardcode_automatic=no
11349 hardcode_direct=no
11350 hardcode_direct_absolute=no
11351 hardcode_libdir_flag_spec=
11352 hardcode_libdir_separator=
11353 hardcode_minus_L=no
11354 hardcode_shlibpath_var=unsupported
11355 inherit_rpath=no
11356 link_all_deplibs=unknown
11357 module_cmds=
11358 module_expsym_cmds=
11359 old_archive_from_new_cmds=
11360 old_archive_from_expsyms_cmds=
11361 thread_safe_flag_spec=
11362 whole_archive_flag_spec=
11363 # include_expsyms should be a list of space-separated symbols to be *always*
11364 # included in the symbol list
11365 include_expsyms=
11366 # exclude_expsyms can be an extended regexp of symbols to exclude
11367 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11368 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11369 # as well as any symbol that contains 'd'.
11370 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11371 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11372 # platforms (ab)use it in PIC code, but their linkers get confused if
11373 # the symbol is explicitly referenced. Since portable code cannot
11374 # rely on this symbol name, it's probably fine to never include it in
11375 # preloaded symbol tables.
11376 # Exclude shared library initialization/finalization symbols.
11377 extract_expsyms_cmds=
11378
11379 case $host_os in
11380 cygwin* | mingw* | windows* | pw32* | cegcc*)
11381 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11382 # When not using gcc, we currently assume that we are using
11383 # Microsoft Visual C++ or Intel C++ Compiler.
11384 if test yes != "$GCC"; then
11385 with_gnu_ld=no
11386 fi
11387 ;;
11388 interix*)
11389 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11390 with_gnu_ld=yes
11391 ;;
11392 esac
11393
11394 ld_shlibs=yes
11395
11396 # On some targets, GNU ld is compatible enough with the native linker
11397 # that we're better off using the native interface for both.
11398 lt_use_gnu_ld_interface=no
11399 if test yes = "$with_gnu_ld"; then
11400 case $host_os in
11401 aix*)
11402 # The AIX port of GNU ld has always aspired to compatibility
11403 # with the native linker. However, as the warning in the GNU ld
11404 # block says, versions before 2.19.5* couldn't really create working
11405 # shared libraries, regardless of the interface used.
11406 case `$LD -v 2>&1` in
11407 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11408 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11409 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11410 *)
11411 lt_use_gnu_ld_interface=yes
11412 ;;
11413 esac
11414 ;;
11415 *)
11416 lt_use_gnu_ld_interface=yes
11417 ;;
11418 esac
11419 fi
11420
11421 if test yes = "$lt_use_gnu_ld_interface"; then
11422 # If archive_cmds runs LD, not CC, wlarc should be empty
11423 wlarc='$wl'
11424
11425 # Set some defaults for GNU ld with shared library support. These
11426 # are reset later if shared libraries are not supported. Putting them
11427 # here allows them to be overridden if necessary.
11428 runpath_var=LD_RUN_PATH
11429 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11430 export_dynamic_flag_spec='$wl--export-dynamic'
11431 # ancient GNU ld didn't support --whole-archive et. al.
11432 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11433 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11434 else
11435 whole_archive_flag_spec=
11436 fi
11437 supports_anon_versioning=no
11438 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11439 *GNU\ gold*) supports_anon_versioning=yes ;;
11440 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11441 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11442 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11443 *\ 2.11.*) ;; # other 2.11 versions
11444 *) supports_anon_versioning=yes ;;
11445 esac
11446
11447 # See if GNU ld supports shared libraries.
11448 case $host_os in
11449 aix[3-9]*)
11450 # On AIX/PPC, the GNU linker is very broken
11451 if test ia64 != "$host_cpu"; then
11452 ld_shlibs=no
11453 cat <<_LT_EOF 1>&2
11454
11455 *** Warning: the GNU linker, at least up to release 2.19, is reported
11456 *** to be unable to reliably create shared libraries on AIX.
11457 *** Therefore, libtool is disabling shared libraries support. If you
11458 *** really care for shared libraries, you may want to install binutils
11459 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11460 *** You will then need to restart the configuration process.
11461
11462 _LT_EOF
11463 fi
11464 ;;
11465
11466 amigaos*)
11467 case $host_cpu in
11468 powerpc)
11469 # see comment about AmigaOS4 .so support
11470 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11471 archive_expsym_cmds=''
11472 ;;
11473 m68k)
11474 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)'
11475 hardcode_libdir_flag_spec='-L$libdir'
11476 hardcode_minus_L=yes
11477 ;;
11478 esac
11479 ;;
11480
11481 beos*)
11482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11483 allow_undefined_flag=unsupported
11484 # Joseph Beckenbach <[email protected]> says some releases of gcc
11485 # support --undefined. This deserves some investigation. FIXME
11486 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11487 else
11488 ld_shlibs=no
11489 fi
11490 ;;
11491
11492 cygwin* | mingw* | windows* | pw32* | cegcc*)
11493 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11494 # as there is no search path for DLLs.
11495 hardcode_libdir_flag_spec='-L$libdir'
11496 export_dynamic_flag_spec='$wl--export-all-symbols'
11497 allow_undefined_flag=unsupported
11498 always_export_symbols=no
11499 enable_shared_with_static_runtimes=yes
11500 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'
11501 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11502 file_list_spec='@'
11503
11504 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11505 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11506 # If the export-symbols file already is a .def file, use it as
11507 # is; otherwise, prepend EXPORTS...
11508 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11509 cp $export_symbols $output_objdir/$soname.def;
11510 else
11511 echo EXPORTS > $output_objdir/$soname.def;
11512 cat $export_symbols >> $output_objdir/$soname.def;
11513 fi~
11514 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11515 else
11516 ld_shlibs=no
11517 fi
11518 ;;
11519
11520 haiku*)
11521 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11522 link_all_deplibs=no
11523 ;;
11524
11525 os2*)
11526 hardcode_libdir_flag_spec='-L$libdir'
11527 hardcode_minus_L=yes
11528 allow_undefined_flag=unsupported
11529 shrext_cmds=.dll
11530 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11531 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11532 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11533 $ECHO EXPORTS >> $output_objdir/$libname.def~
11534 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11535 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11536 emximp -o $lib $output_objdir/$libname.def'
11537 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11538 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11539 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11540 $ECHO EXPORTS >> $output_objdir/$libname.def~
11541 prefix_cmds="$SED"~
11542 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11543 prefix_cmds="$prefix_cmds -e 1d";
11544 fi~
11545 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11546 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11547 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11548 emximp -o $lib $output_objdir/$libname.def'
11549 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11550 enable_shared_with_static_runtimes=yes
11551 file_list_spec='@'
11552 ;;
11553
11554 interix[3-9]*)
11555 hardcode_direct=no
11556 hardcode_shlibpath_var=no
11557 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11558 export_dynamic_flag_spec='$wl-E'
11559 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11560 # Instead, shared libraries are loaded at an image base (0x10000000 by
11561 # default) and relocated if they conflict, which is a slow very memory
11562 # consuming and fragmenting process. To avoid this, we pick a random,
11563 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11564 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11565 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11566 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'
11567 ;;
11568
11569 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11570 tmp_diet=no
11571 if test linux-dietlibc = "$host_os"; then
11572 case $cc_basename in
11573 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11574 esac
11575 fi
11576 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11577 && test no = "$tmp_diet"
11578 then
11579 tmp_addflag=' $pic_flag'
11580 tmp_sharedflag='-shared'
11581 case $cc_basename,$host_cpu in
11582 pgcc*) # Portland Group C compiler
11583 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'
11584 tmp_addflag=' $pic_flag'
11585 ;;
11586 pgf77* | pgf90* | pgf95* | pgfortran*)
11587 # Portland Group f77 and f90 compilers
11588 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'
11589 tmp_addflag=' $pic_flag -Mnomain' ;;
11590 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11591 tmp_addflag=' -i_dynamic' ;;
11592 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11593 tmp_addflag=' -i_dynamic -nofor_main' ;;
11594 ifc* | ifort*) # Intel Fortran compiler
11595 tmp_addflag=' -nofor_main' ;;
11596 lf95*) # Lahey Fortran 8.1
11597 whole_archive_flag_spec=
11598 tmp_sharedflag='--shared' ;;
11599 nagfor*) # NAGFOR 5.3
11600 tmp_sharedflag='-Wl,-shared' ;;
11601 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11602 tmp_sharedflag='-qmkshrobj'
11603 tmp_addflag= ;;
11604 nvcc*) # Cuda Compiler Driver 2.2
11605 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'
11606 compiler_needs_object=yes
11607 ;;
11608 esac
11609 case `$CC -V 2>&1 | $SED 5q` in
11610 *Sun\ C*) # Sun C 5.9
11611 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'
11612 compiler_needs_object=yes
11613 tmp_sharedflag='-G' ;;
11614 *Sun\ F*) # Sun Fortran 8.3
11615 tmp_sharedflag='-G' ;;
11616 esac
11617 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11618
11619 if test yes = "$supports_anon_versioning"; then
11620 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11621 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11622 echo "local: *; };" >> $output_objdir/$libname.ver~
11623 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11624 fi
11625
11626 case $cc_basename in
11627 tcc*)
11628 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11629 export_dynamic_flag_spec='-rdynamic'
11630 ;;
11631 xlf* | bgf* | bgxlf* | mpixlf*)
11632 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11633 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11634 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11635 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11636 if test yes = "$supports_anon_versioning"; then
11637 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11638 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11639 echo "local: *; };" >> $output_objdir/$libname.ver~
11640 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11641 fi
11642 ;;
11643 esac
11644 else
11645 ld_shlibs=no
11646 fi
11647 ;;
11648
11649 *-mlibc)
11650 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11651 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11652 ;;
11653
11654 netbsd* | netbsdelf*-gnu)
11655 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11656 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11657 wlarc=
11658 else
11659 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11660 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11661 fi
11662 ;;
11663
11664 solaris*)
11665 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11666 ld_shlibs=no
11667 cat <<_LT_EOF 1>&2
11668
11669 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11670 *** create shared libraries on Solaris systems. Therefore, libtool
11671 *** is disabling shared libraries support. We urge you to upgrade GNU
11672 *** binutils to release 2.9.1 or newer. Another option is to modify
11673 *** your PATH or compiler configuration so that the native linker is
11674 *** used, and then restart.
11675
11676 _LT_EOF
11677 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11678 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11679 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11680 else
11681 ld_shlibs=no
11682 fi
11683 ;;
11684
11685 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11686 case `$LD -v 2>&1` in
11687 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11688 ld_shlibs=no
11689 cat <<_LT_EOF 1>&2
11690
11691 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11692 *** reliably create shared libraries on SCO systems. Therefore, libtool
11693 *** is disabling shared libraries support. We urge you to upgrade GNU
11694 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11695 *** your PATH or compiler configuration so that the native linker is
11696 *** used, and then restart.
11697
11698 _LT_EOF
11699 ;;
11700 *)
11701 # For security reasons, it is highly recommended that you always
11702 # use absolute paths for naming shared libraries, and exclude the
11703 # DT_RUNPATH tag from executables and libraries. But doing so
11704 # requires that you compile everything twice, which is a pain.
11705 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11706 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11707 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11708 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11709 else
11710 ld_shlibs=no
11711 fi
11712 ;;
11713 esac
11714 ;;
11715
11716 sunos4*)
11717 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11718 wlarc=
11719 hardcode_direct=yes
11720 hardcode_shlibpath_var=no
11721 ;;
11722
11723 *)
11724 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11725 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11726 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11727 else
11728 ld_shlibs=no
11729 fi
11730 ;;
11731 esac
11732
11733 if test no = "$ld_shlibs"; then
11734 runpath_var=
11735 hardcode_libdir_flag_spec=
11736 export_dynamic_flag_spec=
11737 whole_archive_flag_spec=
11738 fi
11739 else
11740 # PORTME fill in a description of your system's linker (not GNU ld)
11741 case $host_os in
11742 aix3*)
11743 allow_undefined_flag=unsupported
11744 always_export_symbols=yes
11745 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'
11746 # Note: this linker hardcodes the directories in LIBPATH if there
11747 # are no directories specified by -L.
11748 hardcode_minus_L=yes
11749 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11750 # Neither direct hardcoding nor static linking is supported with a
11751 # broken collect2.
11752 hardcode_direct=unsupported
11753 fi
11754 ;;
11755
11756 aix[4-9]*)
11757 if test ia64 = "$host_cpu"; then
11758 # On IA64, the linker does run time linking by default, so we don't
11759 # have to do anything special.
11760 aix_use_runtimelinking=no
11761 exp_sym_flag='-Bexport'
11762 no_entry_flag=
11763 else
11764 # If we're using GNU nm, then we don't want the "-C" option.
11765 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11766 # Without the "-l" option, or with the "-B" option, AIX nm treats
11767 # weak defined symbols like other global defined symbols, whereas
11768 # GNU nm marks them as "W".
11769 # While the 'weak' keyword is ignored in the Export File, we need
11770 # it in the Import File for the 'aix-soname' feature, so we have
11771 # to replace the "-B" option with "-P" for AIX nm.
11772 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11773 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'
11774 else
11775 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'
11776 fi
11777 aix_use_runtimelinking=no
11778
11779 # Test if we are trying to use run time linking or normal
11780 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11781 # have runtime linking enabled, and use it for executables.
11782 # For shared libraries, we enable/disable runtime linking
11783 # depending on the kind of the shared library created -
11784 # when "with_aix_soname,aix_use_runtimelinking" is:
11785 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11786 # "aix,yes" lib.so shared, rtl:yes, for executables
11787 # lib.a static archive
11788 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11789 # lib.a(lib.so.V) shared, rtl:no, for executables
11790 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11791 # lib.a(lib.so.V) shared, rtl:no
11792 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11793 # lib.a static archive
11794 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11795 for ld_flag in $LDFLAGS; do
11796 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11797 aix_use_runtimelinking=yes
11798 break
11799 fi
11800 done
11801 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11802 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11803 # so we don't have lib.a shared libs to link our executables.
11804 # We have to force runtime linking in this case.
11805 aix_use_runtimelinking=yes
11806 LDFLAGS="$LDFLAGS -Wl,-brtl"
11807 fi
11808 ;;
11809 esac
11810
11811 exp_sym_flag='-bexport'
11812 no_entry_flag='-bnoentry'
11813 fi
11814
11815 # When large executables or shared objects are built, AIX ld can
11816 # have problems creating the table of contents. If linking a library
11817 # or program results in "error TOC overflow" add -mminimal-toc to
11818 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11819 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11820
11821 archive_cmds=''
11822 hardcode_direct=yes
11823 hardcode_direct_absolute=yes
11824 hardcode_libdir_separator=':'
11825 link_all_deplibs=yes
11826 file_list_spec='$wl-f,'
11827 case $with_aix_soname,$aix_use_runtimelinking in
11828 aix,*) ;; # traditional, no import file
11829 svr4,* | *,yes) # use import file
11830 # The Import File defines what to hardcode.
11831 hardcode_direct=no
11832 hardcode_direct_absolute=no
11833 ;;
11834 esac
11835
11836 if test yes = "$GCC"; then
11837 case $host_os in aix4.[012]|aix4.[012].*)
11838 # We only want to do this on AIX 4.2 and lower, the check
11839 # below for broken collect2 doesn't work under 4.3+
11840 collect2name=`$CC -print-prog-name=collect2`
11841 if test -f "$collect2name" &&
11842 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11843 then
11844 # We have reworked collect2
11845 :
11846 else
11847 # We have old collect2
11848 hardcode_direct=unsupported
11849 # It fails to find uninstalled libraries when the uninstalled
11850 # path is not listed in the libpath. Setting hardcode_minus_L
11851 # to unsupported forces relinking
11852 hardcode_minus_L=yes
11853 hardcode_libdir_flag_spec='-L$libdir'
11854 hardcode_libdir_separator=
11855 fi
11856 ;;
11857 esac
11858 shared_flag='-shared'
11859 if test yes = "$aix_use_runtimelinking"; then
11860 shared_flag="$shared_flag "'$wl-G'
11861 fi
11862 # Need to ensure runtime linking is disabled for the traditional
11863 # shared library, or the linker may eventually find shared libraries
11864 # /with/ Import File - we do not want to mix them.
11865 shared_flag_aix='-shared'
11866 shared_flag_svr4='-shared $wl-G'
11867 else
11868 # not using gcc
11869 if test ia64 = "$host_cpu"; then
11870 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11871 # chokes on -Wl,-G. The following line is correct:
11872 shared_flag='-G'
11873 else
11874 if test yes = "$aix_use_runtimelinking"; then
11875 shared_flag='$wl-G'
11876 else
11877 shared_flag='$wl-bM:SRE'
11878 fi
11879 shared_flag_aix='$wl-bM:SRE'
11880 shared_flag_svr4='$wl-G'
11881 fi
11882 fi
11883
11884 export_dynamic_flag_spec='$wl-bexpall'
11885 # It seems that -bexpall does not export symbols beginning with
11886 # underscore (_), so it is better to generate a list of symbols to export.
11887 always_export_symbols=yes
11888 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11889 # Warning - without using the other runtime loading flags (-brtl),
11890 # -berok will link without error, but may produce a broken library.
11891 allow_undefined_flag='-berok'
11892 # Determine the default libpath from the value encoded in an
11893 # empty executable.
11894 if test set = "${lt_cv_aix_libpath+set}"; then
11895 aix_libpath=$lt_cv_aix_libpath
11896 else
11897 if test ${lt_cv_aix_libpath_+y}
11898 then :
11899 printf %s "(cached) " >&6
11900 else case e in #(
11901 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11903
11904 int
11905 main (void)
11906 {
11907
11908 ;
11909 return 0;
11910 }
11911 _ACEOF
11912 if ac_fn_c_try_link "$LINENO"
11913 then :
11914
11915 lt_aix_libpath_sed='
11916 /Import File Strings/,/^$/ {
11917 /^0/ {
11918 s/^0 *\([^ ]*\) *$/\1/
11919 p
11920 }
11921 }'
11922 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11923 # Check for a 64-bit object if we didn't find anything.
11924 if test -z "$lt_cv_aix_libpath_"; then
11925 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11926 fi
11927 fi
11928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11929 conftest$ac_exeext conftest.$ac_ext
11930 if test -z "$lt_cv_aix_libpath_"; then
11931 lt_cv_aix_libpath_=/usr/lib:/lib
11932 fi
11933 ;;
11934 esac
11935 fi
11936
11937 aix_libpath=$lt_cv_aix_libpath_
11938 fi
11939
11940 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11941 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
11942 else
11943 if test ia64 = "$host_cpu"; then
11944 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11945 allow_undefined_flag="-z nodefs"
11946 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"
11947 else
11948 # Determine the default libpath from the value encoded in an
11949 # empty executable.
11950 if test set = "${lt_cv_aix_libpath+set}"; then
11951 aix_libpath=$lt_cv_aix_libpath
11952 else
11953 if test ${lt_cv_aix_libpath_+y}
11954 then :
11955 printf %s "(cached) " >&6
11956 else case e in #(
11957 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11959
11960 int
11961 main (void)
11962 {
11963
11964 ;
11965 return 0;
11966 }
11967 _ACEOF
11968 if ac_fn_c_try_link "$LINENO"
11969 then :
11970
11971 lt_aix_libpath_sed='
11972 /Import File Strings/,/^$/ {
11973 /^0/ {
11974 s/^0 *\([^ ]*\) *$/\1/
11975 p
11976 }
11977 }'
11978 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11979 # Check for a 64-bit object if we didn't find anything.
11980 if test -z "$lt_cv_aix_libpath_"; then
11981 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11982 fi
11983 fi
11984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11985 conftest$ac_exeext conftest.$ac_ext
11986 if test -z "$lt_cv_aix_libpath_"; then
11987 lt_cv_aix_libpath_=/usr/lib:/lib
11988 fi
11989 ;;
11990 esac
11991 fi
11992
11993 aix_libpath=$lt_cv_aix_libpath_
11994 fi
11995
11996 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11997 # Warning - without using the other run time loading flags,
11998 # -berok will link without error, but may produce a broken library.
11999 no_undefined_flag=' $wl-bernotok'
12000 allow_undefined_flag=' $wl-berok'
12001 if test yes = "$with_gnu_ld"; then
12002 # We only use this code for GNU lds that support --whole-archive.
12003 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12004 else
12005 # Exported symbols can be pulled into shared objects from archives
12006 whole_archive_flag_spec='$convenience'
12007 fi
12008 archive_cmds_need_lc=yes
12009 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12010 # -brtl affects multiple linker settings, -berok does not and is overridden later
12011 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12012 if test svr4 != "$with_aix_soname"; then
12013 # This is similar to how AIX traditionally builds its shared libraries.
12014 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'
12015 fi
12016 if test aix != "$with_aix_soname"; then
12017 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'
12018 else
12019 # used by -dlpreopen to get the symbols
12020 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12021 fi
12022 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12023 fi
12024 fi
12025 ;;
12026
12027 amigaos*)
12028 case $host_cpu in
12029 powerpc)
12030 # see comment about AmigaOS4 .so support
12031 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12032 archive_expsym_cmds=''
12033 ;;
12034 m68k)
12035 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)'
12036 hardcode_libdir_flag_spec='-L$libdir'
12037 hardcode_minus_L=yes
12038 ;;
12039 esac
12040 ;;
12041
12042 bsdi[45]*)
12043 export_dynamic_flag_spec=-rdynamic
12044 ;;
12045
12046 cygwin* | mingw* | windows* | pw32* | cegcc*)
12047 # When not using gcc, we currently assume that we are using
12048 # Microsoft Visual C++ or Intel C++ Compiler.
12049 # hardcode_libdir_flag_spec is actually meaningless, as there is
12050 # no search path for DLLs.
12051 case $cc_basename in
12052 cl* | icl*)
12053 # Native MSVC or ICC
12054 hardcode_libdir_flag_spec=' '
12055 allow_undefined_flag=unsupported
12056 always_export_symbols=yes
12057 file_list_spec='@'
12058 # Tell ltmain to make .lib files, not .a files.
12059 libext=lib
12060 # Tell ltmain to make .dll files, not .so files.
12061 shrext_cmds=.dll
12062 # FIXME: Setting linknames here is a bad hack.
12063 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12064 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12065 cp "$export_symbols" "$output_objdir/$soname.def";
12066 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12067 else
12068 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12069 fi~
12070 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12071 linknames='
12072 # The linker will not automatically build a static lib if we build a DLL.
12073 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12074 enable_shared_with_static_runtimes=yes
12075 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12076 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12077 # Don't use ranlib
12078 old_postinstall_cmds='chmod 644 $oldlib'
12079 postlink_cmds='lt_outputfile="@OUTPUT@"~
12080 lt_tool_outputfile="@TOOL_OUTPUT@"~
12081 case $lt_outputfile in
12082 *.exe|*.EXE) ;;
12083 *)
12084 lt_outputfile=$lt_outputfile.exe
12085 lt_tool_outputfile=$lt_tool_outputfile.exe
12086 ;;
12087 esac~
12088 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12089 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12090 $RM "$lt_outputfile.manifest";
12091 fi'
12092 ;;
12093 *)
12094 # Assume MSVC and ICC wrapper
12095 hardcode_libdir_flag_spec=' '
12096 allow_undefined_flag=unsupported
12097 # Tell ltmain to make .lib files, not .a files.
12098 libext=lib
12099 # Tell ltmain to make .dll files, not .so files.
12100 shrext_cmds=.dll
12101 # FIXME: Setting linknames here is a bad hack.
12102 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12103 # The linker will automatically build a .lib file if we build a DLL.
12104 old_archive_from_new_cmds='true'
12105 # FIXME: Should let the user specify the lib program.
12106 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12107 enable_shared_with_static_runtimes=yes
12108 ;;
12109 esac
12110 ;;
12111
12112 darwin* | rhapsody*)
12113
12114
12115 archive_cmds_need_lc=no
12116 hardcode_direct=no
12117 hardcode_automatic=yes
12118 hardcode_shlibpath_var=unsupported
12119 if test yes = "$lt_cv_ld_force_load"; then
12120 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\"`'
12121
12122 else
12123 whole_archive_flag_spec=''
12124 fi
12125 link_all_deplibs=yes
12126 allow_undefined_flag=$_lt_dar_allow_undefined
12127 case $cc_basename in
12128 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12129 *) _lt_dar_can_shared=$GCC ;;
12130 esac
12131 if test yes = "$_lt_dar_can_shared"; then
12132 output_verbose_link_cmd=func_echo_all
12133 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12134 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12135 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"
12136 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"
12137
12138 else
12139 ld_shlibs=no
12140 fi
12141
12142 ;;
12143
12144 dgux*)
12145 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12146 hardcode_libdir_flag_spec='-L$libdir'
12147 hardcode_shlibpath_var=no
12148 ;;
12149
12150 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12151 # support. Future versions do this automatically, but an explicit c++rt0.o
12152 # does not break anything, and helps significantly (at the cost of a little
12153 # extra space).
12154 freebsd2.2*)
12155 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12156 hardcode_libdir_flag_spec='-R$libdir'
12157 hardcode_direct=yes
12158 hardcode_shlibpath_var=no
12159 ;;
12160
12161 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12162 freebsd2.*)
12163 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12164 hardcode_direct=yes
12165 hardcode_minus_L=yes
12166 hardcode_shlibpath_var=no
12167 ;;
12168
12169 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12170 freebsd* | dragonfly* | midnightbsd*)
12171 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12172 hardcode_libdir_flag_spec='-R$libdir'
12173 hardcode_direct=yes
12174 hardcode_shlibpath_var=no
12175 ;;
12176
12177 hpux9*)
12178 if test yes = "$GCC"; then
12179 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'
12180 else
12181 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'
12182 fi
12183 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12184 hardcode_libdir_separator=:
12185 hardcode_direct=yes
12186
12187 # hardcode_minus_L: Not really in the search PATH,
12188 # but as the default location of the library.
12189 hardcode_minus_L=yes
12190 export_dynamic_flag_spec='$wl-E'
12191 ;;
12192
12193 hpux10*)
12194 if test yes,no = "$GCC,$with_gnu_ld"; then
12195 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12196 else
12197 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12198 fi
12199 if test no = "$with_gnu_ld"; then
12200 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12201 hardcode_libdir_separator=:
12202 hardcode_direct=yes
12203 hardcode_direct_absolute=yes
12204 export_dynamic_flag_spec='$wl-E'
12205 # hardcode_minus_L: Not really in the search PATH,
12206 # but as the default location of the library.
12207 hardcode_minus_L=yes
12208 fi
12209 ;;
12210
12211 hpux11*)
12212 if test yes,no = "$GCC,$with_gnu_ld"; then
12213 case $host_cpu in
12214 hppa*64*)
12215 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12216 ;;
12217 ia64*)
12218 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12219 ;;
12220 *)
12221 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12222 ;;
12223 esac
12224 else
12225 case $host_cpu in
12226 hppa*64*)
12227 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12228 ;;
12229 ia64*)
12230 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12231 ;;
12232 *)
12233
12234 # Older versions of the 11.00 compiler do not understand -b yet
12235 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12237 printf %s "checking if $CC understands -b... " >&6; }
12238 if test ${lt_cv_prog_compiler__b+y}
12239 then :
12240 printf %s "(cached) " >&6
12241 else case e in #(
12242 e) lt_cv_prog_compiler__b=no
12243 save_LDFLAGS=$LDFLAGS
12244 LDFLAGS="$LDFLAGS -b"
12245 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12246 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12247 # The linker can only warn and ignore the option if not recognized
12248 # So say no if there are warnings
12249 if test -s conftest.err; then
12250 # Append any errors to the config.log.
12251 cat conftest.err 1>&5
12252 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12253 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12254 if diff conftest.exp conftest.er2 >/dev/null; then
12255 lt_cv_prog_compiler__b=yes
12256 fi
12257 else
12258 lt_cv_prog_compiler__b=yes
12259 fi
12260 fi
12261 $RM -r conftest*
12262 LDFLAGS=$save_LDFLAGS
12263 ;;
12264 esac
12265 fi
12266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12267 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12268
12269 if test yes = "$lt_cv_prog_compiler__b"; then
12270 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12271 else
12272 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12273 fi
12274
12275 ;;
12276 esac
12277 fi
12278 if test no = "$with_gnu_ld"; then
12279 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12280 hardcode_libdir_separator=:
12281
12282 case $host_cpu in
12283 hppa*64*|ia64*)
12284 hardcode_direct=no
12285 hardcode_shlibpath_var=no
12286 ;;
12287 *)
12288 hardcode_direct=yes
12289 hardcode_direct_absolute=yes
12290 export_dynamic_flag_spec='$wl-E'
12291
12292 # hardcode_minus_L: Not really in the search PATH,
12293 # but as the default location of the library.
12294 hardcode_minus_L=yes
12295 ;;
12296 esac
12297 fi
12298 ;;
12299
12300 irix5* | irix6* | nonstopux*)
12301 if test yes = "$GCC"; then
12302 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'
12303 # Try to use the -exported_symbol ld option, if it does not
12304 # work, assume that -exports_file does not work either and
12305 # implicitly export all symbols.
12306 # This should be the same for all languages, so no per-tag cache variable.
12307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12308 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12309 if test ${lt_cv_irix_exported_symbol+y}
12310 then :
12311 printf %s "(cached) " >&6
12312 else case e in #(
12313 e) save_LDFLAGS=$LDFLAGS
12314 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12317 int foo (void) { return 0; }
12318 _ACEOF
12319 if ac_fn_c_try_link "$LINENO"
12320 then :
12321 lt_cv_irix_exported_symbol=yes
12322 else case e in #(
12323 e) lt_cv_irix_exported_symbol=no ;;
12324 esac
12325 fi
12326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12327 conftest$ac_exeext conftest.$ac_ext
12328 LDFLAGS=$save_LDFLAGS ;;
12329 esac
12330 fi
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12332 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12333 if test yes = "$lt_cv_irix_exported_symbol"; then
12334 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'
12335 fi
12336 else
12337 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'
12338 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'
12339 fi
12340 archive_cmds_need_lc='no'
12341 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12342 hardcode_libdir_separator=:
12343 inherit_rpath=yes
12344 link_all_deplibs=yes
12345 ;;
12346
12347 linux*)
12348 case $cc_basename in
12349 tcc*)
12350 # Fabrice Bellard et al's Tiny C Compiler
12351 ld_shlibs=yes
12352 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12353 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12354 ;;
12355 esac
12356 ;;
12357
12358 *-mlibc)
12359 ;;
12360
12361 netbsd* | netbsdelf*-gnu)
12362 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12363 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12364 else
12365 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12366 fi
12367 hardcode_libdir_flag_spec='-R$libdir'
12368 hardcode_direct=yes
12369 hardcode_shlibpath_var=no
12370 ;;
12371
12372 newsos6)
12373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12374 hardcode_direct=yes
12375 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12376 hardcode_libdir_separator=:
12377 hardcode_shlibpath_var=no
12378 ;;
12379
12380 *nto* | *qnx*)
12381 ;;
12382
12383 openbsd*)
12384 if test -f /usr/libexec/ld.so; then
12385 hardcode_direct=yes
12386 hardcode_shlibpath_var=no
12387 hardcode_direct_absolute=yes
12388 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12389 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12390 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12391 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12392 export_dynamic_flag_spec='$wl-E'
12393 else
12394 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12395 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12396 fi
12397 else
12398 ld_shlibs=no
12399 fi
12400 ;;
12401
12402 os2*)
12403 hardcode_libdir_flag_spec='-L$libdir'
12404 hardcode_minus_L=yes
12405 allow_undefined_flag=unsupported
12406 shrext_cmds=.dll
12407 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12408 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12409 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12410 $ECHO EXPORTS >> $output_objdir/$libname.def~
12411 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12412 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12413 emximp -o $lib $output_objdir/$libname.def'
12414 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12415 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12416 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12417 $ECHO EXPORTS >> $output_objdir/$libname.def~
12418 prefix_cmds="$SED"~
12419 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12420 prefix_cmds="$prefix_cmds -e 1d";
12421 fi~
12422 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12423 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12424 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12425 emximp -o $lib $output_objdir/$libname.def'
12426 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12427 enable_shared_with_static_runtimes=yes
12428 file_list_spec='@'
12429 ;;
12430
12431 osf3*)
12432 if test yes = "$GCC"; then
12433 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12434 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'
12435 else
12436 allow_undefined_flag=' -expect_unresolved \*'
12437 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'
12438 fi
12439 archive_cmds_need_lc='no'
12440 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12441 hardcode_libdir_separator=:
12442 ;;
12443
12444 osf4* | osf5*) # as osf3* with the addition of -msym flag
12445 if test yes = "$GCC"; then
12446 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12447 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'
12448 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12449 else
12450 allow_undefined_flag=' -expect_unresolved \*'
12451 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'
12452 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~
12453 $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'
12454
12455 # Both c and cxx compiler support -rpath directly
12456 hardcode_libdir_flag_spec='-rpath $libdir'
12457 fi
12458 archive_cmds_need_lc='no'
12459 hardcode_libdir_separator=:
12460 ;;
12461
12462 serenity*)
12463 ;;
12464
12465 solaris*)
12466 no_undefined_flag=' -z defs'
12467 if test yes = "$GCC"; then
12468 wlarc='$wl'
12469 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12470 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12471 $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'
12472 else
12473 case `$CC -V 2>&1` in
12474 *"Compilers 5.0"*)
12475 wlarc=''
12476 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12477 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12478 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12479 ;;
12480 *)
12481 wlarc='$wl'
12482 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12483 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12484 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12485 ;;
12486 esac
12487 fi
12488 hardcode_libdir_flag_spec='-R$libdir'
12489 hardcode_shlibpath_var=no
12490 case $host_os in
12491 solaris2.[0-5] | solaris2.[0-5].*) ;;
12492 *)
12493 # The compiler driver will combine and reorder linker options,
12494 # but understands '-z linker_flag'. GCC discards it without '$wl',
12495 # but is careful enough not to reorder.
12496 # Supported since Solaris 2.6 (maybe 2.5.1?)
12497 if test yes = "$GCC"; then
12498 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12499 else
12500 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12501 fi
12502 ;;
12503 esac
12504 link_all_deplibs=yes
12505 ;;
12506
12507 sunos4*)
12508 if test sequent = "$host_vendor"; then
12509 # Use $CC to link under sequent, because it throws in some extra .o
12510 # files that make .init and .fini sections work.
12511 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12512 else
12513 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12514 fi
12515 hardcode_libdir_flag_spec='-L$libdir'
12516 hardcode_direct=yes
12517 hardcode_minus_L=yes
12518 hardcode_shlibpath_var=no
12519 ;;
12520
12521 sysv4)
12522 case $host_vendor in
12523 sni)
12524 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12525 hardcode_direct=yes # is this really true???
12526 ;;
12527 siemens)
12528 ## LD is ld it makes a PLAMLIB
12529 ## CC just makes a GrossModule.
12530 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12531 reload_cmds='$CC -r -o $output$reload_objs'
12532 hardcode_direct=no
12533 ;;
12534 motorola)
12535 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12536 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12537 ;;
12538 esac
12539 runpath_var='LD_RUN_PATH'
12540 hardcode_shlibpath_var=no
12541 ;;
12542
12543 sysv4.3*)
12544 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12545 hardcode_shlibpath_var=no
12546 export_dynamic_flag_spec='-Bexport'
12547 ;;
12548
12549 sysv4*MP*)
12550 if test -d /usr/nec; then
12551 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12552 hardcode_shlibpath_var=no
12553 runpath_var=LD_RUN_PATH
12554 hardcode_runpath_var=yes
12555 ld_shlibs=yes
12556 fi
12557 ;;
12558
12559 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12560 no_undefined_flag='$wl-z,text'
12561 archive_cmds_need_lc=no
12562 hardcode_shlibpath_var=no
12563 runpath_var='LD_RUN_PATH'
12564
12565 if test yes = "$GCC"; then
12566 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12567 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12568 else
12569 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12570 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12571 fi
12572 ;;
12573
12574 sysv5* | sco3.2v5* | sco5v6*)
12575 # Note: We CANNOT use -z defs as we might desire, because we do not
12576 # link with -lc, and that would cause any symbols used from libc to
12577 # always be unresolved, which means just about no library would
12578 # ever link correctly. If we're not using GNU ld we use -z text
12579 # though, which does catch some bad symbols but isn't as heavy-handed
12580 # as -z defs.
12581 no_undefined_flag='$wl-z,text'
12582 allow_undefined_flag='$wl-z,nodefs'
12583 archive_cmds_need_lc=no
12584 hardcode_shlibpath_var=no
12585 hardcode_libdir_flag_spec='$wl-R,$libdir'
12586 hardcode_libdir_separator=':'
12587 link_all_deplibs=yes
12588 export_dynamic_flag_spec='$wl-Bexport'
12589 runpath_var='LD_RUN_PATH'
12590
12591 if test yes = "$GCC"; then
12592 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12593 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12594 else
12595 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12596 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12597 fi
12598 ;;
12599
12600 uts4*)
12601 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12602 hardcode_libdir_flag_spec='-L$libdir'
12603 hardcode_shlibpath_var=no
12604 ;;
12605
12606 *)
12607 ld_shlibs=no
12608 ;;
12609 esac
12610
12611 if test sni = "$host_vendor"; then
12612 case $host in
12613 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12614 export_dynamic_flag_spec='$wl-Blargedynsym'
12615 ;;
12616 esac
12617 fi
12618 fi
12619
12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12621 printf "%s\n" "$ld_shlibs" >&6; }
12622 test no = "$ld_shlibs" && can_build_shared=no
12623
12624 with_gnu_ld=$with_gnu_ld
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640 #
12641 # Do we need to explicitly link libc?
12642 #
12643 case "x$archive_cmds_need_lc" in
12644 x|xyes)
12645 # Assume -lc should be added
12646 archive_cmds_need_lc=yes
12647
12648 if test yes,yes = "$GCC,$enable_shared"; then
12649 case $archive_cmds in
12650 *'~'*)
12651 # FIXME: we may have to deal with multi-command sequences.
12652 ;;
12653 '$CC '*)
12654 # Test whether the compiler implicitly links with -lc since on some
12655 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12656 # to ld, don't add -lc before -lgcc.
12657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12658 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12659 if test ${lt_cv_archive_cmds_need_lc+y}
12660 then :
12661 printf %s "(cached) " >&6
12662 else case e in #(
12663 e) $RM conftest*
12664 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12665
12666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12667 (eval $ac_compile) 2>&5
12668 ac_status=$?
12669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12670 test $ac_status = 0; } 2>conftest.err; then
12671 soname=conftest
12672 lib=conftest
12673 libobjs=conftest.$ac_objext
12674 deplibs=
12675 wl=$lt_prog_compiler_wl
12676 pic_flag=$lt_prog_compiler_pic
12677 compiler_flags=-v
12678 linker_flags=-v
12679 verstring=
12680 output_objdir=.
12681 libname=conftest
12682 lt_save_allow_undefined_flag=$allow_undefined_flag
12683 allow_undefined_flag=
12684 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12685 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12686 ac_status=$?
12687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12688 test $ac_status = 0; }
12689 then
12690 lt_cv_archive_cmds_need_lc=no
12691 else
12692 lt_cv_archive_cmds_need_lc=yes
12693 fi
12694 allow_undefined_flag=$lt_save_allow_undefined_flag
12695 else
12696 cat conftest.err 1>&5
12697 fi
12698 $RM conftest*
12699 ;;
12700 esac
12701 fi
12702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12703 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12704 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12705 ;;
12706 esac
12707 fi
12708 ;;
12709 esac
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12863 printf %s "checking dynamic linker characteristics... " >&6; }
12864
12865 if test yes = "$GCC"; then
12866 case $host_os in
12867 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12868 *) lt_awk_arg='/^libraries:/' ;;
12869 esac
12870 case $host_os in
12871 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12872 *) lt_sed_strip_eq='s|=/|/|g' ;;
12873 esac
12874 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12875 case $lt_search_path_spec in
12876 *\;*)
12877 # if the path contains ";" then we assume it to be the separator
12878 # otherwise default to the standard path separator (i.e. ":") - it is
12879 # assumed that no part of a normal pathname contains ";" but that should
12880 # okay in the real world where ";" in dirpaths is itself problematic.
12881 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12882 ;;
12883 *)
12884 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12885 ;;
12886 esac
12887 # Ok, now we have the path, separated by spaces, we can step through it
12888 # and add multilib dir if necessary...
12889 lt_tmp_lt_search_path_spec=
12890 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12891 # ...but if some path component already ends with the multilib dir we assume
12892 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12893 case "$lt_multi_os_dir; $lt_search_path_spec " in
12894 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12895 lt_multi_os_dir=
12896 ;;
12897 esac
12898 for lt_sys_path in $lt_search_path_spec; do
12899 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12900 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12901 elif test -n "$lt_multi_os_dir"; then
12902 test -d "$lt_sys_path" && \
12903 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12904 fi
12905 done
12906 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12907 BEGIN {RS = " "; FS = "/|\n";} {
12908 lt_foo = "";
12909 lt_count = 0;
12910 for (lt_i = NF; lt_i > 0; lt_i--) {
12911 if ($lt_i != "" && $lt_i != ".") {
12912 if ($lt_i == "..") {
12913 lt_count++;
12914 } else {
12915 if (lt_count == 0) {
12916 lt_foo = "/" $lt_i lt_foo;
12917 } else {
12918 lt_count--;
12919 }
12920 }
12921 }
12922 }
12923 if (lt_foo != "") { lt_freq[lt_foo]++; }
12924 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12925 }'`
12926 # AWK program above erroneously prepends '/' to C:/dos/paths
12927 # for these hosts.
12928 case $host_os in
12929 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12930 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12931 esac
12932 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12933 else
12934 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12935 fi
12936 library_names_spec=
12937 libname_spec='lib$name'
12938 soname_spec=
12939 shrext_cmds=.so
12940 postinstall_cmds=
12941 postuninstall_cmds=
12942 finish_cmds=
12943 finish_eval=
12944 shlibpath_var=
12945 shlibpath_overrides_runpath=unknown
12946 version_type=none
12947 dynamic_linker="$host_os ld.so"
12948 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12949 need_lib_prefix=unknown
12950 hardcode_into_libs=no
12951
12952 # when you set need_version to no, make sure it does not cause -set_version
12953 # flags to be left without arguments
12954 need_version=unknown
12955
12956
12957
12958 case $host_os in
12959 aix3*)
12960 version_type=linux # correct to gnu/linux during the next big refactor
12961 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12962 shlibpath_var=LIBPATH
12963
12964 # AIX 3 has no versioning support, so we append a major version to the name.
12965 soname_spec='$libname$release$shared_ext$major'
12966 ;;
12967
12968 aix[4-9]*)
12969 version_type=linux # correct to gnu/linux during the next big refactor
12970 need_lib_prefix=no
12971 need_version=no
12972 hardcode_into_libs=yes
12973 if test ia64 = "$host_cpu"; then
12974 # AIX 5 supports IA64
12975 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12976 shlibpath_var=LD_LIBRARY_PATH
12977 else
12978 # With GCC up to 2.95.x, collect2 would create an import file
12979 # for dependence libraries. The import file would start with
12980 # the line '#! .'. This would cause the generated library to
12981 # depend on '.', always an invalid library. This was fixed in
12982 # development snapshots of GCC prior to 3.0.
12983 case $host_os in
12984 aix4 | aix4.[01] | aix4.[01].*)
12985 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12986 echo ' yes '
12987 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12988 :
12989 else
12990 can_build_shared=no
12991 fi
12992 ;;
12993 esac
12994 # Using Import Files as archive members, it is possible to support
12995 # filename-based versioning of shared library archives on AIX. While
12996 # this would work for both with and without runtime linking, it will
12997 # prevent static linking of such archives. So we do filename-based
12998 # shared library versioning with .so extension only, which is used
12999 # when both runtime linking and shared linking is enabled.
13000 # Unfortunately, runtime linking may impact performance, so we do
13001 # not want this to be the default eventually. Also, we use the
13002 # versioned .so libs for executables only if there is the -brtl
13003 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
13004 # To allow for filename-based versioning support, we need to create
13005 # libNAME.so.V as an archive file, containing:
13006 # *) an Import File, referring to the versioned filename of the
13007 # archive as well as the shared archive member, telling the
13008 # bitwidth (32 or 64) of that shared object, and providing the
13009 # list of exported symbols of that shared object, eventually
13010 # decorated with the 'weak' keyword
13011 # *) the shared object with the F_LOADONLY flag set, to really avoid
13012 # it being seen by the linker.
13013 # At run time we better use the real file rather than another symlink,
13014 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13015
13016 case $with_aix_soname,$aix_use_runtimelinking in
13017 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13018 # soname into executable. Probably we can add versioning support to
13019 # collect2, so additional links can be useful in future.
13020 aix,yes) # traditional libtool
13021 dynamic_linker='AIX unversionable lib.so'
13022 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13023 # instead of lib<name>.a to let people know that these are not
13024 # typical AIX shared libraries.
13025 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13026 ;;
13027 aix,no) # traditional AIX only
13028 dynamic_linker='AIX lib.a(lib.so.V)'
13029 # We preserve .a as extension for shared libraries through AIX4.2
13030 # and later when we are not doing run time linking.
13031 library_names_spec='$libname$release.a $libname.a'
13032 soname_spec='$libname$release$shared_ext$major'
13033 ;;
13034 svr4,*) # full svr4 only
13035 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13036 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13037 # We do not specify a path in Import Files, so LIBPATH fires.
13038 shlibpath_overrides_runpath=yes
13039 ;;
13040 *,yes) # both, prefer svr4
13041 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13042 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13043 # unpreferred sharedlib libNAME.a needs extra handling
13044 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"'
13045 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"'
13046 # We do not specify a path in Import Files, so LIBPATH fires.
13047 shlibpath_overrides_runpath=yes
13048 ;;
13049 *,no) # both, prefer aix
13050 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13051 library_names_spec='$libname$release.a $libname.a'
13052 soname_spec='$libname$release$shared_ext$major'
13053 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13054 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)'
13055 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"'
13056 ;;
13057 esac
13058 shlibpath_var=LIBPATH
13059 fi
13060 ;;
13061
13062 amigaos*)
13063 case $host_cpu in
13064 powerpc)
13065 # Since July 2007 AmigaOS4 officially supports .so libraries.
13066 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13067 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13068 ;;
13069 m68k)
13070 library_names_spec='$libname.ixlibrary $libname.a'
13071 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13072 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'
13073 ;;
13074 esac
13075 ;;
13076
13077 beos*)
13078 library_names_spec='$libname$shared_ext'
13079 dynamic_linker="$host_os ld.so"
13080 shlibpath_var=LIBRARY_PATH
13081 ;;
13082
13083 bsdi[45]*)
13084 version_type=linux # correct to gnu/linux during the next big refactor
13085 need_version=no
13086 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13087 soname_spec='$libname$release$shared_ext$major'
13088 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13089 shlibpath_var=LD_LIBRARY_PATH
13090 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13091 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13092 # the default ld.so.conf also contains /usr/contrib/lib and
13093 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13094 # libtool to hard-code these into programs
13095 ;;
13096
13097 cygwin* | mingw* | windows* | pw32* | cegcc*)
13098 version_type=windows
13099 shrext_cmds=.dll
13100 need_version=no
13101 need_lib_prefix=no
13102
13103 case $GCC,$cc_basename in
13104 yes,*)
13105 # gcc
13106 library_names_spec='$libname.dll.a'
13107 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13108 # If user builds GCC with multilib enabled,
13109 # it should just install on $(libdir)
13110 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
13111 if test xyes = x"$multilib"; then
13112 postinstall_cmds='base_file=`basename \$file`~
13113 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13114 dldir=$destdir/`dirname \$dlpath`~
13115 $install_prog $dir/$dlname $destdir/$dlname~
13116 chmod a+x $destdir/$dlname~
13117 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13118 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
13119 fi'
13120 else
13121 postinstall_cmds='base_file=`basename \$file`~
13122 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13123 dldir=$destdir/`dirname \$dlpath`~
13124 test -d \$dldir || mkdir -p \$dldir~
13125 $install_prog $dir/$dlname \$dldir/$dlname~
13126 chmod a+x \$dldir/$dlname~
13127 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13128 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13129 fi'
13130 fi
13131 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13132 dlpath=$dir/\$dldll~
13133 $RM \$dlpath'
13134 shlibpath_overrides_runpath=yes
13135
13136 case $host_os in
13137 cygwin*)
13138 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13139 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13140
13141 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13142 ;;
13143 mingw* | windows* | cegcc*)
13144 # MinGW DLLs use traditional 'lib' prefix
13145 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13146 ;;
13147 pw32*)
13148 # pw32 DLLs use 'pw' prefix rather than 'lib'
13149 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13150 ;;
13151 esac
13152 dynamic_linker='Win32 ld.exe'
13153 ;;
13154
13155 *,cl* | *,icl*)
13156 # Native MSVC or ICC
13157 libname_spec='$name'
13158 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13159 library_names_spec='$libname.dll.lib'
13160
13161 case $build_os in
13162 mingw* | windows*)
13163 sys_lib_search_path_spec=
13164 lt_save_ifs=$IFS
13165 IFS=';'
13166 for lt_path in $LIB
13167 do
13168 IFS=$lt_save_ifs
13169 # Let DOS variable expansion print the short 8.3 style file name.
13170 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13171 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13172 done
13173 IFS=$lt_save_ifs
13174 # Convert to MSYS style.
13175 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13176 ;;
13177 cygwin*)
13178 # Convert to unix form, then to dos form, then back to unix form
13179 # but this time dos style (no spaces!) so that the unix form looks
13180 # like /cygdrive/c/PROGRA~1:/cygdr...
13181 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13182 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13183 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13184 ;;
13185 *)
13186 sys_lib_search_path_spec=$LIB
13187 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13188 # It is most probably a Windows format PATH.
13189 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13190 else
13191 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13192 fi
13193 # FIXME: find the short name or the path components, as spaces are
13194 # common. (e.g. "Program Files" -> "PROGRA~1")
13195 ;;
13196 esac
13197
13198 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13199 postinstall_cmds='base_file=`basename \$file`~
13200 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13201 dldir=$destdir/`dirname \$dlpath`~
13202 test -d \$dldir || mkdir -p \$dldir~
13203 $install_prog $dir/$dlname \$dldir/$dlname'
13204 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13205 dlpath=$dir/\$dldll~
13206 $RM \$dlpath'
13207 shlibpath_overrides_runpath=yes
13208 dynamic_linker='Win32 link.exe'
13209 ;;
13210
13211 *)
13212 # Assume MSVC and ICC wrapper
13213 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13214 dynamic_linker='Win32 ld.exe'
13215 ;;
13216 esac
13217 # FIXME: first we should search . and the directory the executable is in
13218 shlibpath_var=PATH
13219 ;;
13220
13221 darwin* | rhapsody*)
13222 dynamic_linker="$host_os dyld"
13223 version_type=darwin
13224 need_lib_prefix=no
13225 need_version=no
13226 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13227 soname_spec='$libname$release$major$shared_ext'
13228 shlibpath_overrides_runpath=yes
13229 shlibpath_var=DYLD_LIBRARY_PATH
13230 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13231
13232 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13233 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13234 ;;
13235
13236 dgux*)
13237 version_type=linux # correct to gnu/linux during the next big refactor
13238 need_lib_prefix=no
13239 need_version=no
13240 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13241 soname_spec='$libname$release$shared_ext$major'
13242 shlibpath_var=LD_LIBRARY_PATH
13243 ;;
13244
13245 freebsd* | dragonfly* | midnightbsd*)
13246 # DragonFly does not have aout. When/if they implement a new
13247 # versioning mechanism, adjust this.
13248 if test -x /usr/bin/objformat; then
13249 objformat=`/usr/bin/objformat`
13250 else
13251 case $host_os in
13252 freebsd[23].*) objformat=aout ;;
13253 *) objformat=elf ;;
13254 esac
13255 fi
13256 version_type=freebsd-$objformat
13257 case $version_type in
13258 freebsd-elf*)
13259 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13260 soname_spec='$libname$release$shared_ext$major'
13261 need_version=no
13262 need_lib_prefix=no
13263 ;;
13264 freebsd-*)
13265 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13266 need_version=yes
13267 ;;
13268 esac
13269 case $host_cpu in
13270 powerpc64)
13271 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13272 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13275 int test_pointer_size[sizeof (void *) - 5];
13276
13277 _ACEOF
13278 if ac_fn_c_try_compile "$LINENO"
13279 then :
13280 shlibpath_var=LD_LIBRARY_PATH
13281 else case e in #(
13282 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13283 esac
13284 fi
13285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13286 ;;
13287 *)
13288 shlibpath_var=LD_LIBRARY_PATH
13289 ;;
13290 esac
13291 case $host_os in
13292 freebsd2.*)
13293 shlibpath_overrides_runpath=yes
13294 ;;
13295 freebsd3.[01]* | freebsdelf3.[01]*)
13296 shlibpath_overrides_runpath=yes
13297 hardcode_into_libs=yes
13298 ;;
13299 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13300 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13301 shlibpath_overrides_runpath=no
13302 hardcode_into_libs=yes
13303 ;;
13304 *) # from 4.6 on, and DragonFly
13305 shlibpath_overrides_runpath=yes
13306 hardcode_into_libs=yes
13307 ;;
13308 esac
13309 ;;
13310
13311 haiku*)
13312 version_type=linux # correct to gnu/linux during the next big refactor
13313 need_lib_prefix=no
13314 need_version=no
13315 dynamic_linker="$host_os runtime_loader"
13316 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13317 soname_spec='$libname$release$shared_ext$major'
13318 shlibpath_var=LIBRARY_PATH
13319 shlibpath_overrides_runpath=no
13320 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13321 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13322 hardcode_into_libs=no
13323 ;;
13324
13325 hpux9* | hpux10* | hpux11*)
13326 # Give a soname corresponding to the major version so that dld.sl refuses to
13327 # link against other versions.
13328 version_type=sunos
13329 need_lib_prefix=no
13330 need_version=no
13331 case $host_cpu in
13332 ia64*)
13333 shrext_cmds='.so'
13334 hardcode_into_libs=yes
13335 dynamic_linker="$host_os dld.so"
13336 shlibpath_var=LD_LIBRARY_PATH
13337 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13338 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13339 soname_spec='$libname$release$shared_ext$major'
13340 if test 32 = "$HPUX_IA64_MODE"; then
13341 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13342 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13343 else
13344 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13345 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13346 fi
13347 ;;
13348 hppa*64*)
13349 shrext_cmds='.sl'
13350 hardcode_into_libs=yes
13351 dynamic_linker="$host_os dld.sl"
13352 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13353 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13354 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13355 soname_spec='$libname$release$shared_ext$major'
13356 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13357 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13358 ;;
13359 *)
13360 shrext_cmds='.sl'
13361 dynamic_linker="$host_os dld.sl"
13362 shlibpath_var=SHLIB_PATH
13363 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13364 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13365 soname_spec='$libname$release$shared_ext$major'
13366 ;;
13367 esac
13368 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13369 postinstall_cmds='chmod 555 $lib'
13370 # or fails outright, so override atomically:
13371 install_override_mode=555
13372 ;;
13373
13374 interix[3-9]*)
13375 version_type=linux # correct to gnu/linux during the next big refactor
13376 need_lib_prefix=no
13377 need_version=no
13378 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13379 soname_spec='$libname$release$shared_ext$major'
13380 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13381 shlibpath_var=LD_LIBRARY_PATH
13382 shlibpath_overrides_runpath=no
13383 hardcode_into_libs=yes
13384 ;;
13385
13386 irix5* | irix6* | nonstopux*)
13387 case $host_os in
13388 nonstopux*) version_type=nonstopux ;;
13389 *)
13390 if test yes = "$lt_cv_prog_gnu_ld"; then
13391 version_type=linux # correct to gnu/linux during the next big refactor
13392 else
13393 version_type=irix
13394 fi ;;
13395 esac
13396 need_lib_prefix=no
13397 need_version=no
13398 soname_spec='$libname$release$shared_ext$major'
13399 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13400 case $host_os in
13401 irix5* | nonstopux*)
13402 libsuff= shlibsuff=
13403 ;;
13404 *)
13405 case $LD in # libtool.m4 will add one of these switches to LD
13406 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13407 libsuff= shlibsuff= libmagic=32-bit;;
13408 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13409 libsuff=32 shlibsuff=N32 libmagic=N32;;
13410 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13411 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13412 *) libsuff= shlibsuff= libmagic=never-match;;
13413 esac
13414 ;;
13415 esac
13416 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13417 shlibpath_overrides_runpath=no
13418 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13419 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13420 hardcode_into_libs=yes
13421 ;;
13422
13423 # No shared lib support for Linux oldld, aout, or coff.
13424 linux*oldld* | linux*aout* | linux*coff*)
13425 dynamic_linker=no
13426 ;;
13427
13428 linux*android*)
13429 version_type=none # Android doesn't support versioned libraries.
13430 need_lib_prefix=no
13431 need_version=no
13432 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13433 soname_spec='$libname$release$shared_ext'
13434 finish_cmds=
13435 shlibpath_var=LD_LIBRARY_PATH
13436 shlibpath_overrides_runpath=yes
13437
13438 # This implies no fast_install, which is unacceptable.
13439 # Some rework will be needed to allow for fast_install
13440 # before this can be enabled.
13441 hardcode_into_libs=yes
13442
13443 dynamic_linker='Android linker'
13444 # -rpath works at least for libraries that are not overridden by
13445 # libraries installed in system locations.
13446 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13447 ;;
13448
13449 # This must be glibc/ELF.
13450 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13451 version_type=linux # correct to gnu/linux during the next big refactor
13452 need_lib_prefix=no
13453 need_version=no
13454 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13455 soname_spec='$libname$release$shared_ext$major'
13456 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13457 shlibpath_var=LD_LIBRARY_PATH
13458 shlibpath_overrides_runpath=no
13459
13460 # Some binutils ld are patched to set DT_RUNPATH
13461 if test ${lt_cv_shlibpath_overrides_runpath+y}
13462 then :
13463 printf %s "(cached) " >&6
13464 else case e in #(
13465 e) lt_cv_shlibpath_overrides_runpath=no
13466 save_LDFLAGS=$LDFLAGS
13467 save_libdir=$libdir
13468 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13469 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13472
13473 int
13474 main (void)
13475 {
13476
13477 ;
13478 return 0;
13479 }
13480 _ACEOF
13481 if ac_fn_c_try_link "$LINENO"
13482 then :
13483 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13484 then :
13485 lt_cv_shlibpath_overrides_runpath=yes
13486 fi
13487 fi
13488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13489 conftest$ac_exeext conftest.$ac_ext
13490 LDFLAGS=$save_LDFLAGS
13491 libdir=$save_libdir
13492 ;;
13493 esac
13494 fi
13495
13496 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13497
13498 # This implies no fast_install, which is unacceptable.
13499 # Some rework will be needed to allow for fast_install
13500 # before this can be enabled.
13501 hardcode_into_libs=yes
13502
13503 # Ideally, we could use ldconfig to report *all* directories which are
13504 # searched for libraries, however this is still not possible. Aside from not
13505 # being certain /sbin/ldconfig is available, command
13506 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13507 # even though it is searched at run-time. Try to do the best guess by
13508 # appending ld.so.conf contents (and includes) to the search path.
13509 if test -f /etc/ld.so.conf; then
13510 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' ' '`
13511 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13512 fi
13513
13514 # We used to test for /lib/ld.so.1 and disable shared libraries on
13515 # powerpc, because MkLinux only supported shared libraries with the
13516 # GNU dynamic linker. Since this was broken with cross compilers,
13517 # most powerpc-linux boxes support dynamic linking these days and
13518 # people can always --disable-shared, the test was removed, and we
13519 # assume the GNU/Linux dynamic linker is in use.
13520 dynamic_linker='GNU/Linux ld.so'
13521 ;;
13522
13523 netbsdelf*-gnu)
13524 version_type=linux
13525 need_lib_prefix=no
13526 need_version=no
13527 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13528 soname_spec='$libname$release$shared_ext$major'
13529 shlibpath_var=LD_LIBRARY_PATH
13530 shlibpath_overrides_runpath=no
13531 hardcode_into_libs=yes
13532 dynamic_linker='NetBSD ld.elf_so'
13533 ;;
13534
13535 netbsd*)
13536 version_type=sunos
13537 need_lib_prefix=no
13538 need_version=no
13539 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13540 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13541 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13542 dynamic_linker='NetBSD (a.out) ld.so'
13543 else
13544 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13545 soname_spec='$libname$release$shared_ext$major'
13546 dynamic_linker='NetBSD ld.elf_so'
13547 fi
13548 shlibpath_var=LD_LIBRARY_PATH
13549 shlibpath_overrides_runpath=yes
13550 hardcode_into_libs=yes
13551 ;;
13552
13553 *-mlibc)
13554 version_type=linux # correct to gnu/linux during the next big refactor
13555 need_lib_prefix=no
13556 need_version=no
13557 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13558 soname_spec='$libname$release$shared_ext$major'
13559 dynamic_linker='mlibc ld.so'
13560 shlibpath_var=LD_LIBRARY_PATH
13561 shlibpath_overrides_runpath=no
13562 hardcode_into_libs=yes
13563 ;;
13564
13565 newsos6)
13566 version_type=linux # correct to gnu/linux during the next big refactor
13567 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13568 shlibpath_var=LD_LIBRARY_PATH
13569 shlibpath_overrides_runpath=yes
13570 ;;
13571
13572 *nto* | *qnx*)
13573 version_type=qnx
13574 need_lib_prefix=no
13575 need_version=no
13576 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13577 soname_spec='$libname$release$shared_ext$major'
13578 shlibpath_var=LD_LIBRARY_PATH
13579 shlibpath_overrides_runpath=no
13580 hardcode_into_libs=yes
13581 dynamic_linker='ldqnx.so'
13582 ;;
13583
13584 openbsd*)
13585 version_type=sunos
13586 sys_lib_dlsearch_path_spec=/usr/lib
13587 need_lib_prefix=no
13588 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13589 need_version=no
13590 else
13591 need_version=yes
13592 fi
13593 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13594 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13595 shlibpath_var=LD_LIBRARY_PATH
13596 shlibpath_overrides_runpath=yes
13597 ;;
13598
13599 os2*)
13600 libname_spec='$name'
13601 version_type=windows
13602 shrext_cmds=.dll
13603 need_version=no
13604 need_lib_prefix=no
13605 # OS/2 can only load a DLL with a base name of 8 characters or less.
13606 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13607 v=$($ECHO $release$versuffix | tr -d .-);
13608 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13609 $ECHO $n$v`$shared_ext'
13610 library_names_spec='${libname}_dll.$libext'
13611 dynamic_linker='OS/2 ld.exe'
13612 shlibpath_var=BEGINLIBPATH
13613 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13614 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13615 postinstall_cmds='base_file=`basename \$file`~
13616 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13617 dldir=$destdir/`dirname \$dlpath`~
13618 test -d \$dldir || mkdir -p \$dldir~
13619 $install_prog $dir/$dlname \$dldir/$dlname~
13620 chmod a+x \$dldir/$dlname~
13621 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13622 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13623 fi'
13624 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13625 dlpath=$dir/\$dldll~
13626 $RM \$dlpath'
13627 ;;
13628
13629 osf3* | osf4* | osf5*)
13630 version_type=osf
13631 need_lib_prefix=no
13632 need_version=no
13633 soname_spec='$libname$release$shared_ext$major'
13634 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13635 shlibpath_var=LD_LIBRARY_PATH
13636 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13637 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13638 ;;
13639
13640 rdos*)
13641 dynamic_linker=no
13642 ;;
13643
13644 serenity*)
13645 version_type=linux # correct to gnu/linux during the next big refactor
13646 need_lib_prefix=no
13647 need_version=no
13648 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13649 soname_spec='$libname$release$shared_ext$major'
13650 shlibpath_var=LD_LIBRARY_PATH
13651 shlibpath_overrides_runpath=no
13652 dynamic_linker='SerenityOS LibELF'
13653 ;;
13654
13655 solaris*)
13656 version_type=linux # correct to gnu/linux during the next big refactor
13657 need_lib_prefix=no
13658 need_version=no
13659 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13660 soname_spec='$libname$release$shared_ext$major'
13661 shlibpath_var=LD_LIBRARY_PATH
13662 shlibpath_overrides_runpath=yes
13663 hardcode_into_libs=yes
13664 # ldd complains unless libraries are executable
13665 postinstall_cmds='chmod +x $lib'
13666 ;;
13667
13668 sunos4*)
13669 version_type=sunos
13670 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13671 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13672 shlibpath_var=LD_LIBRARY_PATH
13673 shlibpath_overrides_runpath=yes
13674 if test yes = "$with_gnu_ld"; then
13675 need_lib_prefix=no
13676 fi
13677 need_version=yes
13678 ;;
13679
13680 sysv4 | sysv4.3*)
13681 version_type=linux # correct to gnu/linux during the next big refactor
13682 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13683 soname_spec='$libname$release$shared_ext$major'
13684 shlibpath_var=LD_LIBRARY_PATH
13685 case $host_vendor in
13686 sni)
13687 shlibpath_overrides_runpath=no
13688 need_lib_prefix=no
13689 runpath_var=LD_RUN_PATH
13690 ;;
13691 siemens)
13692 need_lib_prefix=no
13693 ;;
13694 motorola)
13695 need_lib_prefix=no
13696 need_version=no
13697 shlibpath_overrides_runpath=no
13698 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13699 ;;
13700 esac
13701 ;;
13702
13703 sysv4*MP*)
13704 if test -d /usr/nec; then
13705 version_type=linux # correct to gnu/linux during the next big refactor
13706 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13707 soname_spec='$libname$shared_ext.$major'
13708 shlibpath_var=LD_LIBRARY_PATH
13709 fi
13710 ;;
13711
13712 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13713 version_type=sco
13714 need_lib_prefix=no
13715 need_version=no
13716 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13717 soname_spec='$libname$release$shared_ext$major'
13718 shlibpath_var=LD_LIBRARY_PATH
13719 shlibpath_overrides_runpath=yes
13720 hardcode_into_libs=yes
13721 if test yes = "$with_gnu_ld"; then
13722 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13723 else
13724 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13725 case $host_os in
13726 sco3.2v5*)
13727 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13728 ;;
13729 esac
13730 fi
13731 sys_lib_dlsearch_path_spec='/usr/lib'
13732 ;;
13733
13734 tpf*)
13735 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13736 version_type=linux # correct to gnu/linux during the next big refactor
13737 need_lib_prefix=no
13738 need_version=no
13739 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13740 shlibpath_var=LD_LIBRARY_PATH
13741 shlibpath_overrides_runpath=no
13742 hardcode_into_libs=yes
13743 ;;
13744
13745 uts4*)
13746 version_type=linux # correct to gnu/linux during the next big refactor
13747 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13748 soname_spec='$libname$release$shared_ext$major'
13749 shlibpath_var=LD_LIBRARY_PATH
13750 ;;
13751
13752 emscripten*)
13753 version_type=none
13754 need_lib_prefix=no
13755 need_version=no
13756 library_names_spec='$libname$release$shared_ext'
13757 soname_spec='$libname$release$shared_ext'
13758 finish_cmds=
13759 dynamic_linker="Emscripten linker"
13760 lt_prog_compiler_wl=
13761 lt_prog_compiler_pic=
13762 lt_prog_compiler_static=
13763
13764
13765 if test yes = "$GCC"; then
13766 lt_prog_compiler_wl='-Wl,'
13767 lt_prog_compiler_static='-static'
13768
13769 case $host_os in
13770 aix*)
13771 # All AIX code is PIC.
13772 if test ia64 = "$host_cpu"; then
13773 # AIX 5 now supports IA64 processor
13774 lt_prog_compiler_static='-Bstatic'
13775 fi
13776 lt_prog_compiler_pic='-fPIC'
13777 ;;
13778
13779 amigaos*)
13780 case $host_cpu in
13781 powerpc)
13782 # see comment about AmigaOS4 .so support
13783 lt_prog_compiler_pic='-fPIC'
13784 ;;
13785 m68k)
13786 # FIXME: we need at least 68020 code to build shared libraries, but
13787 # adding the '-m68020' flag to GCC prevents building anything better,
13788 # like '-m68040'.
13789 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13790 ;;
13791 esac
13792 ;;
13793
13794 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13795 # PIC is the default for these OSes.
13796 ;;
13797
13798 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13799 # This hack is so that the source file can tell whether it is being
13800 # built for inclusion in a dll (and should export symbols for example).
13801 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13802 # (--disable-auto-import) libraries
13803 lt_prog_compiler_pic='-DDLL_EXPORT'
13804 case $host_os in
13805 os2*)
13806 lt_prog_compiler_static='$wl-static'
13807 ;;
13808 esac
13809 ;;
13810
13811 darwin* | rhapsody*)
13812 # PIC is the default on this platform
13813 # Common symbols not allowed in MH_DYLIB files
13814 lt_prog_compiler_pic='-fno-common'
13815 ;;
13816
13817 haiku*)
13818 # PIC is the default for Haiku.
13819 # The "-static" flag exists, but is broken.
13820 lt_prog_compiler_static=
13821 ;;
13822
13823 hpux*)
13824 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13825 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13826 # sets the default TLS model and affects inlining.
13827 case $host_cpu in
13828 hppa*64*)
13829 # +Z the default
13830 ;;
13831 *)
13832 lt_prog_compiler_pic='-fPIC'
13833 ;;
13834 esac
13835 ;;
13836
13837 interix[3-9]*)
13838 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13839 # Instead, we relocate shared libraries at runtime.
13840 ;;
13841
13842 msdosdjgpp*)
13843 # Just because we use GCC doesn't mean we suddenly get shared libraries
13844 # on systems that don't support them.
13845 lt_prog_compiler_can_build_shared=no
13846 enable_shared=no
13847 ;;
13848
13849 *nto* | *qnx*)
13850 # QNX uses GNU C++, but need to define -shared option too, otherwise
13851 # it will coredump.
13852 lt_prog_compiler_pic='-fPIC -shared'
13853 ;;
13854
13855 sysv4*MP*)
13856 if test -d /usr/nec; then
13857 lt_prog_compiler_pic=-Kconform_pic
13858 fi
13859 ;;
13860
13861 *)
13862 lt_prog_compiler_pic='-fPIC'
13863 ;;
13864 esac
13865
13866 case $cc_basename in
13867 nvcc*) # Cuda Compiler Driver 2.2
13868 lt_prog_compiler_wl='-Xlinker '
13869 if test -n "$lt_prog_compiler_pic"; then
13870 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13871 fi
13872 ;;
13873 esac
13874 else
13875 # PORTME Check for flag to pass linker flags through the system compiler.
13876 case $host_os in
13877 aix*)
13878 lt_prog_compiler_wl='-Wl,'
13879 if test ia64 = "$host_cpu"; then
13880 # AIX 5 now supports IA64 processor
13881 lt_prog_compiler_static='-Bstatic'
13882 else
13883 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13884 fi
13885 ;;
13886
13887 darwin* | rhapsody*)
13888 # PIC is the default on this platform
13889 # Common symbols not allowed in MH_DYLIB files
13890 lt_prog_compiler_pic='-fno-common'
13891 case $cc_basename in
13892 nagfor*)
13893 # NAG Fortran compiler
13894 lt_prog_compiler_wl='-Wl,-Wl,,'
13895 lt_prog_compiler_pic='-PIC'
13896 lt_prog_compiler_static='-Bstatic'
13897 ;;
13898 esac
13899 ;;
13900
13901 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13902 # This hack is so that the source file can tell whether it is being
13903 # built for inclusion in a dll (and should export symbols for example).
13904 lt_prog_compiler_pic='-DDLL_EXPORT'
13905 case $host_os in
13906 os2*)
13907 lt_prog_compiler_static='$wl-static'
13908 ;;
13909 esac
13910 ;;
13911
13912 hpux9* | hpux10* | hpux11*)
13913 lt_prog_compiler_wl='-Wl,'
13914 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13915 # not for PA HP-UX.
13916 case $host_cpu in
13917 hppa*64*|ia64*)
13918 # +Z the default
13919 ;;
13920 *)
13921 lt_prog_compiler_pic='+Z'
13922 ;;
13923 esac
13924 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13925 lt_prog_compiler_static='$wl-a ${wl}archive'
13926 ;;
13927
13928 irix5* | irix6* | nonstopux*)
13929 lt_prog_compiler_wl='-Wl,'
13930 # PIC (with -KPIC) is the default.
13931 lt_prog_compiler_static='-non_shared'
13932 ;;
13933
13934 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13935 case $cc_basename in
13936 # old Intel for x86_64, which still supported -KPIC.
13937 ecc*)
13938 lt_prog_compiler_wl='-Wl,'
13939 lt_prog_compiler_pic='-KPIC'
13940 lt_prog_compiler_static='-static'
13941 ;;
13942 *flang* | ftn | f18* | f95*)
13943 # Flang compiler.
13944 lt_prog_compiler_wl='-Wl,'
13945 lt_prog_compiler_pic='-fPIC'
13946 lt_prog_compiler_static='-static'
13947 ;;
13948 # icc used to be incompatible with GCC.
13949 # ICC 10 doesn't accept -KPIC any more.
13950 icc* | ifort*)
13951 lt_prog_compiler_wl='-Wl,'
13952 lt_prog_compiler_pic='-fPIC'
13953 lt_prog_compiler_static='-static'
13954 ;;
13955 # Lahey Fortran 8.1.
13956 lf95*)
13957 lt_prog_compiler_wl='-Wl,'
13958 lt_prog_compiler_pic='--shared'
13959 lt_prog_compiler_static='--static'
13960 ;;
13961 nagfor*)
13962 # NAG Fortran compiler
13963 lt_prog_compiler_wl='-Wl,-Wl,,'
13964 lt_prog_compiler_pic='-PIC'
13965 lt_prog_compiler_static='-Bstatic'
13966 ;;
13967 tcc*)
13968 # Fabrice Bellard et al's Tiny C Compiler
13969 lt_prog_compiler_wl='-Wl,'
13970 lt_prog_compiler_pic='-fPIC'
13971 lt_prog_compiler_static='-static'
13972 ;;
13973 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13974 # Portland Group compilers (*not* the Pentium gcc compiler,
13975 # which looks to be a dead project)
13976 lt_prog_compiler_wl='-Wl,'
13977 lt_prog_compiler_pic='-fpic'
13978 lt_prog_compiler_static='-Bstatic'
13979 ;;
13980 ccc*)
13981 lt_prog_compiler_wl='-Wl,'
13982 # All Alpha code is PIC.
13983 lt_prog_compiler_static='-non_shared'
13984 ;;
13985 xl* | bgxl* | bgf* | mpixl*)
13986 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13987 lt_prog_compiler_wl='-Wl,'
13988 lt_prog_compiler_pic='-qpic'
13989 lt_prog_compiler_static='-qstaticlink'
13990 ;;
13991 *)
13992 case `$CC -V 2>&1 | $SED 5q` in
13993 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13994 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13995 lt_prog_compiler_pic='-KPIC'
13996 lt_prog_compiler_static='-Bstatic'
13997 lt_prog_compiler_wl=''
13998 ;;
13999 *Sun\ F* | *Sun*Fortran*)
14000 lt_prog_compiler_pic='-KPIC'
14001 lt_prog_compiler_static='-Bstatic'
14002 lt_prog_compiler_wl='-Qoption ld '
14003 ;;
14004 *Sun\ C*)
14005 # Sun C 5.9
14006 lt_prog_compiler_pic='-KPIC'
14007 lt_prog_compiler_static='-Bstatic'
14008 lt_prog_compiler_wl='-Wl,'
14009 ;;
14010 *Intel*\ [CF]*Compiler*)
14011 lt_prog_compiler_wl='-Wl,'
14012 lt_prog_compiler_pic='-fPIC'
14013 lt_prog_compiler_static='-static'
14014 ;;
14015 *Portland\ Group*)
14016 lt_prog_compiler_wl='-Wl,'
14017 lt_prog_compiler_pic='-fpic'
14018 lt_prog_compiler_static='-Bstatic'
14019 ;;
14020 esac
14021 ;;
14022 esac
14023 ;;
14024
14025 newsos6)
14026 lt_prog_compiler_pic='-KPIC'
14027 lt_prog_compiler_static='-Bstatic'
14028 ;;
14029
14030 *-mlibc)
14031 lt_prog_compiler_wl='-Wl,'
14032 lt_prog_compiler_pic='-fPIC'
14033 lt_prog_compiler_static='-static'
14034 ;;
14035
14036 *nto* | *qnx*)
14037 # QNX uses GNU C++, but need to define -shared option too, otherwise
14038 # it will coredump.
14039 lt_prog_compiler_pic='-fPIC -shared'
14040 ;;
14041
14042 osf3* | osf4* | osf5*)
14043 lt_prog_compiler_wl='-Wl,'
14044 # All OSF/1 code is PIC.
14045 lt_prog_compiler_static='-non_shared'
14046 ;;
14047
14048 rdos*)
14049 lt_prog_compiler_static='-non_shared'
14050 ;;
14051
14052 serenity*)
14053 ;;
14054
14055 solaris*)
14056 lt_prog_compiler_pic='-KPIC'
14057 lt_prog_compiler_static='-Bstatic'
14058 case $cc_basename in
14059 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
14060 lt_prog_compiler_wl='-Qoption ld ';;
14061 *)
14062 lt_prog_compiler_wl='-Wl,';;
14063 esac
14064 ;;
14065
14066 sunos4*)
14067 lt_prog_compiler_wl='-Qoption ld '
14068 lt_prog_compiler_pic='-PIC'
14069 lt_prog_compiler_static='-Bstatic'
14070 ;;
14071
14072 sysv4 | sysv4.2uw2* | sysv4.3*)
14073 lt_prog_compiler_wl='-Wl,'
14074 lt_prog_compiler_pic='-KPIC'
14075 lt_prog_compiler_static='-Bstatic'
14076 ;;
14077
14078 sysv4*MP*)
14079 if test -d /usr/nec; then
14080 lt_prog_compiler_pic='-Kconform_pic'
14081 lt_prog_compiler_static='-Bstatic'
14082 fi
14083 ;;
14084
14085 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14086 lt_prog_compiler_wl='-Wl,'
14087 lt_prog_compiler_pic='-KPIC'
14088 lt_prog_compiler_static='-Bstatic'
14089 ;;
14090
14091 unicos*)
14092 lt_prog_compiler_wl='-Wl,'
14093 lt_prog_compiler_can_build_shared=no
14094 ;;
14095
14096 uts4*)
14097 lt_prog_compiler_pic='-pic'
14098 lt_prog_compiler_static='-Bstatic'
14099 ;;
14100
14101 *)
14102 lt_prog_compiler_can_build_shared=no
14103 ;;
14104 esac
14105 fi
14106
14107 case $host_os in
14108 # For platforms that do not support PIC, -DPIC is meaningless:
14109 *djgpp*)
14110 lt_prog_compiler_pic=
14111 ;;
14112 *)
14113 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14114 ;;
14115 esac
14116
14117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14118 printf %s "checking for $compiler option to produce PIC... " >&6; }
14119 if test ${lt_cv_prog_compiler_pic+y}
14120 then :
14121 printf %s "(cached) " >&6
14122 else case e in #(
14123 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
14124 esac
14125 fi
14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
14127 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
14128 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
14129
14130 #
14131 # Check to make sure the PIC flag actually works.
14132 #
14133 if test -n "$lt_prog_compiler_pic"; then
14134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14135 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
14136 if test ${lt_cv_prog_compiler_pic_works+y}
14137 then :
14138 printf %s "(cached) " >&6
14139 else case e in #(
14140 e) lt_cv_prog_compiler_pic_works=no
14141 ac_outfile=conftest.$ac_objext
14142 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14143 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
14144 # Insert the option either (1) after the last *FLAGS variable, or
14145 # (2) before a word containing "conftest.", or (3) at the end.
14146 # Note that $ac_compile itself does not contain backslashes and begins
14147 # with a dollar sign (not a hyphen), so the echo should work correctly.
14148 # The option is referenced via a variable to avoid confusing sed.
14149 lt_compile=`echo "$ac_compile" | $SED \
14150 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14152 -e 's:$: $lt_compiler_flag:'`
14153 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14154 (eval "$lt_compile" 2>conftest.err)
14155 ac_status=$?
14156 cat conftest.err >&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 if (exit $ac_status) && test -s "$ac_outfile"; then
14159 # The compiler can only warn and ignore the option if not recognized
14160 # So say no if there are warnings other than the usual output.
14161 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14162 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14163 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14164 lt_cv_prog_compiler_pic_works=yes
14165 fi
14166 fi
14167 $RM conftest*
14168 ;;
14169 esac
14170 fi
14171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
14172 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
14173
14174 if test yes = "$lt_cv_prog_compiler_pic_works"; then
14175 case $lt_prog_compiler_pic in
14176 "" | " "*) ;;
14177 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14178 esac
14179 else
14180 lt_prog_compiler_pic=
14181 lt_prog_compiler_can_build_shared=no
14182 fi
14183
14184 fi
14185
14186
14187
14188
14189
14190 #
14191 # Check to make sure the static flag actually works.
14192 #
14193 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14195 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14196 if test ${lt_cv_prog_compiler_static_works+y}
14197 then :
14198 printf %s "(cached) " >&6
14199 else case e in #(
14200 e) lt_cv_prog_compiler_static_works=no
14201 save_LDFLAGS=$LDFLAGS
14202 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14203 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14204 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14205 # The linker can only warn and ignore the option if not recognized
14206 # So say no if there are warnings
14207 if test -s conftest.err; then
14208 # Append any errors to the config.log.
14209 cat conftest.err 1>&5
14210 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14211 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14212 if diff conftest.exp conftest.er2 >/dev/null; then
14213 lt_cv_prog_compiler_static_works=yes
14214 fi
14215 else
14216 lt_cv_prog_compiler_static_works=yes
14217 fi
14218 fi
14219 $RM -r conftest*
14220 LDFLAGS=$save_LDFLAGS
14221 ;;
14222 esac
14223 fi
14224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14225 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
14226
14227 if test yes = "$lt_cv_prog_compiler_static_works"; then
14228 :
14229 else
14230 lt_prog_compiler_static=
14231 fi
14232
14233
14234
14235 ='-fPIC'
14236 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
14237 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'
14238 archive_cmds_need_lc=no
14239 no_undefined_flag=
14240 ;;
14241
14242 *)
14243 dynamic_linker=no
14244 ;;
14245 esac
14246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14247 printf "%s\n" "$dynamic_linker" >&6; }
14248 test no = "$dynamic_linker" && can_build_shared=no
14249
14250 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14251 if test yes = "$GCC"; then
14252 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14253 fi
14254
14255 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14256 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14257 fi
14258
14259 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14260 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14261 fi
14262
14263 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14264 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14265
14266 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14267 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14268
14269 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14270 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14369 printf %s "checking how to hardcode library paths into programs... " >&6; }
14370 hardcode_action=
14371 if test -n "$hardcode_libdir_flag_spec" ||
14372 test -n "$runpath_var" ||
14373 test yes = "$hardcode_automatic"; then
14374
14375 # We can hardcode non-existent directories.
14376 if test no != "$hardcode_direct" &&
14377 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14378 # have to relink, otherwise we might link with an installed library
14379 # when we should be linking with a yet-to-be-installed one
14380 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14381 test no != "$hardcode_minus_L"; then
14382 # Linking always hardcodes the temporary library directory.
14383 hardcode_action=relink
14384 else
14385 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14386 hardcode_action=immediate
14387 fi
14388 else
14389 # We cannot hardcode anything, or else we can only hardcode existing
14390 # directories.
14391 hardcode_action=unsupported
14392 fi
14393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14394 printf "%s\n" "$hardcode_action" >&6; }
14395
14396 if test relink = "$hardcode_action" ||
14397 test yes = "$inherit_rpath"; then
14398 # Fast installation is not supported
14399 enable_fast_install=no
14400 elif test yes = "$shlibpath_overrides_runpath" ||
14401 test no = "$enable_shared"; then
14402 # Fast installation is not necessary
14403 enable_fast_install=needless
14404 fi
14405
14406
14407
14408
14409
14410
14411 if test yes != "$enable_dlopen"; then
14412 enable_dlopen=unknown
14413 enable_dlopen_self=unknown
14414 enable_dlopen_self_static=unknown
14415 else
14416 lt_cv_dlopen=no
14417 lt_cv_dlopen_libs=
14418
14419 case $host_os in
14420 beos*)
14421 lt_cv_dlopen=load_add_on
14422 lt_cv_dlopen_libs=
14423 lt_cv_dlopen_self=yes
14424 ;;
14425
14426 mingw* | windows* | pw32* | cegcc*)
14427 lt_cv_dlopen=LoadLibrary
14428 lt_cv_dlopen_libs=
14429 ;;
14430
14431 cygwin*)
14432 lt_cv_dlopen=dlopen
14433 lt_cv_dlopen_libs=
14434 ;;
14435
14436 darwin*)
14437 # if libdl is installed we need to link against it
14438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14439 printf %s "checking for dlopen in -ldl... " >&6; }
14440 if test ${ac_cv_lib_dl_dlopen+y}
14441 then :
14442 printf %s "(cached) " >&6
14443 else case e in #(
14444 e) ac_check_lib_save_LIBS=$LIBS
14445 LIBS="-ldl $LIBS"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448
14449 /* Override any GCC internal prototype to avoid an error.
14450 Use char because int might match the return type of a GCC
14451 builtin and then its argument prototype would still apply.
14452 The 'extern "C"' is for builds by C++ compilers;
14453 although this is not generally supported in C code supporting it here
14454 has little cost and some practical benefit (sr 110532). */
14455 #ifdef __cplusplus
14456 extern "C"
14457 #endif
14458 char dlopen (void);
14459 int
14460 main (void)
14461 {
14462 return dlopen ();
14463 ;
14464 return 0;
14465 }
14466 _ACEOF
14467 if ac_fn_c_try_link "$LINENO"
14468 then :
14469 ac_cv_lib_dl_dlopen=yes
14470 else case e in #(
14471 e) ac_cv_lib_dl_dlopen=no ;;
14472 esac
14473 fi
14474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14475 conftest$ac_exeext conftest.$ac_ext
14476 LIBS=$ac_check_lib_save_LIBS ;;
14477 esac
14478 fi
14479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14480 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14481 if test "x$ac_cv_lib_dl_dlopen" = xyes
14482 then :
14483 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14484 else case e in #(
14485 e)
14486 lt_cv_dlopen=dyld
14487 lt_cv_dlopen_libs=
14488 lt_cv_dlopen_self=yes
14489 ;;
14490 esac
14491 fi
14492
14493 ;;
14494
14495 tpf*)
14496 # Don't try to run any link tests for TPF. We know it's impossible
14497 # because TPF is a cross-compiler, and we know how we open DSOs.
14498 lt_cv_dlopen=dlopen
14499 lt_cv_dlopen_libs=
14500 lt_cv_dlopen_self=no
14501 ;;
14502
14503 *)
14504 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14505 if test "x$ac_cv_func_shl_load" = xyes
14506 then :
14507 lt_cv_dlopen=shl_load
14508 else case e in #(
14509 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14510 printf %s "checking for shl_load in -ldld... " >&6; }
14511 if test ${ac_cv_lib_dld_shl_load+y}
14512 then :
14513 printf %s "(cached) " >&6
14514 else case e in #(
14515 e) ac_check_lib_save_LIBS=$LIBS
14516 LIBS="-ldld $LIBS"
14517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14518 /* end confdefs.h. */
14519
14520 /* Override any GCC internal prototype to avoid an error.
14521 Use char because int might match the return type of a GCC
14522 builtin and then its argument prototype would still apply.
14523 The 'extern "C"' is for builds by C++ compilers;
14524 although this is not generally supported in C code supporting it here
14525 has little cost and some practical benefit (sr 110532). */
14526 #ifdef __cplusplus
14527 extern "C"
14528 #endif
14529 char shl_load (void);
14530 int
14531 main (void)
14532 {
14533 return shl_load ();
14534 ;
14535 return 0;
14536 }
14537 _ACEOF
14538 if ac_fn_c_try_link "$LINENO"
14539 then :
14540 ac_cv_lib_dld_shl_load=yes
14541 else case e in #(
14542 e) ac_cv_lib_dld_shl_load=no ;;
14543 esac
14544 fi
14545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14546 conftest$ac_exeext conftest.$ac_ext
14547 LIBS=$ac_check_lib_save_LIBS ;;
14548 esac
14549 fi
14550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14551 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14552 if test "x$ac_cv_lib_dld_shl_load" = xyes
14553 then :
14554 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14555 else case e in #(
14556 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14557 if test "x$ac_cv_func_dlopen" = xyes
14558 then :
14559 lt_cv_dlopen=dlopen
14560 else case e in #(
14561 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14562 printf %s "checking for dlopen in -ldl... " >&6; }
14563 if test ${ac_cv_lib_dl_dlopen+y}
14564 then :
14565 printf %s "(cached) " >&6
14566 else case e in #(
14567 e) ac_check_lib_save_LIBS=$LIBS
14568 LIBS="-ldl $LIBS"
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14571
14572 /* Override any GCC internal prototype to avoid an error.
14573 Use char because int might match the return type of a GCC
14574 builtin and then its argument prototype would still apply.
14575 The 'extern "C"' is for builds by C++ compilers;
14576 although this is not generally supported in C code supporting it here
14577 has little cost and some practical benefit (sr 110532). */
14578 #ifdef __cplusplus
14579 extern "C"
14580 #endif
14581 char dlopen (void);
14582 int
14583 main (void)
14584 {
14585 return dlopen ();
14586 ;
14587 return 0;
14588 }
14589 _ACEOF
14590 if ac_fn_c_try_link "$LINENO"
14591 then :
14592 ac_cv_lib_dl_dlopen=yes
14593 else case e in #(
14594 e) ac_cv_lib_dl_dlopen=no ;;
14595 esac
14596 fi
14597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14598 conftest$ac_exeext conftest.$ac_ext
14599 LIBS=$ac_check_lib_save_LIBS ;;
14600 esac
14601 fi
14602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14603 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14604 if test "x$ac_cv_lib_dl_dlopen" = xyes
14605 then :
14606 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14607 else case e in #(
14608 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14609 printf %s "checking for dlopen in -lsvld... " >&6; }
14610 if test ${ac_cv_lib_svld_dlopen+y}
14611 then :
14612 printf %s "(cached) " >&6
14613 else case e in #(
14614 e) ac_check_lib_save_LIBS=$LIBS
14615 LIBS="-lsvld $LIBS"
14616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14618
14619 /* Override any GCC internal prototype to avoid an error.
14620 Use char because int might match the return type of a GCC
14621 builtin and then its argument prototype would still apply.
14622 The 'extern "C"' is for builds by C++ compilers;
14623 although this is not generally supported in C code supporting it here
14624 has little cost and some practical benefit (sr 110532). */
14625 #ifdef __cplusplus
14626 extern "C"
14627 #endif
14628 char dlopen (void);
14629 int
14630 main (void)
14631 {
14632 return dlopen ();
14633 ;
14634 return 0;
14635 }
14636 _ACEOF
14637 if ac_fn_c_try_link "$LINENO"
14638 then :
14639 ac_cv_lib_svld_dlopen=yes
14640 else case e in #(
14641 e) ac_cv_lib_svld_dlopen=no ;;
14642 esac
14643 fi
14644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14645 conftest$ac_exeext conftest.$ac_ext
14646 LIBS=$ac_check_lib_save_LIBS ;;
14647 esac
14648 fi
14649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14650 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14651 if test "x$ac_cv_lib_svld_dlopen" = xyes
14652 then :
14653 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14654 else case e in #(
14655 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14656 printf %s "checking for dld_link in -ldld... " >&6; }
14657 if test ${ac_cv_lib_dld_dld_link+y}
14658 then :
14659 printf %s "(cached) " >&6
14660 else case e in #(
14661 e) ac_check_lib_save_LIBS=$LIBS
14662 LIBS="-ldld $LIBS"
14663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14665
14666 /* Override any GCC internal prototype to avoid an error.
14667 Use char because int might match the return type of a GCC
14668 builtin and then its argument prototype would still apply.
14669 The 'extern "C"' is for builds by C++ compilers;
14670 although this is not generally supported in C code supporting it here
14671 has little cost and some practical benefit (sr 110532). */
14672 #ifdef __cplusplus
14673 extern "C"
14674 #endif
14675 char dld_link (void);
14676 int
14677 main (void)
14678 {
14679 return dld_link ();
14680 ;
14681 return 0;
14682 }
14683 _ACEOF
14684 if ac_fn_c_try_link "$LINENO"
14685 then :
14686 ac_cv_lib_dld_dld_link=yes
14687 else case e in #(
14688 e) ac_cv_lib_dld_dld_link=no ;;
14689 esac
14690 fi
14691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14692 conftest$ac_exeext conftest.$ac_ext
14693 LIBS=$ac_check_lib_save_LIBS ;;
14694 esac
14695 fi
14696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14697 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14698 if test "x$ac_cv_lib_dld_dld_link" = xyes
14699 then :
14700 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14701 fi
14702
14703 ;;
14704 esac
14705 fi
14706
14707 ;;
14708 esac
14709 fi
14710
14711 ;;
14712 esac
14713 fi
14714
14715 ;;
14716 esac
14717 fi
14718
14719 ;;
14720 esac
14721 fi
14722
14723 ;;
14724 esac
14725
14726 if test no = "$lt_cv_dlopen"; then
14727 enable_dlopen=no
14728 else
14729 enable_dlopen=yes
14730 fi
14731
14732 case $lt_cv_dlopen in
14733 dlopen)
14734 save_CPPFLAGS=$CPPFLAGS
14735 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14736
14737 save_LDFLAGS=$LDFLAGS
14738 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14739
14740 save_LIBS=$LIBS
14741 LIBS="$lt_cv_dlopen_libs $LIBS"
14742
14743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14744 printf %s "checking whether a program can dlopen itself... " >&6; }
14745 if test ${lt_cv_dlopen_self+y}
14746 then :
14747 printf %s "(cached) " >&6
14748 else case e in #(
14749 e) if test yes = "$cross_compiling"; then :
14750 lt_cv_dlopen_self=cross
14751 else
14752 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14753 lt_status=$lt_dlunknown
14754 cat > conftest.$ac_ext <<_LT_EOF
14755 #line $LINENO "configure"
14756 #include "confdefs.h"
14757
14758 #if HAVE_DLFCN_H
14759 #include <dlfcn.h>
14760 #endif
14761
14762 #include <stdio.h>
14763
14764 #ifdef RTLD_GLOBAL
14765 # define LT_DLGLOBAL RTLD_GLOBAL
14766 #else
14767 # ifdef DL_GLOBAL
14768 # define LT_DLGLOBAL DL_GLOBAL
14769 # else
14770 # define LT_DLGLOBAL 0
14771 # endif
14772 #endif
14773
14774 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14775 find out it does not work in some platform. */
14776 #ifndef LT_DLLAZY_OR_NOW
14777 # ifdef RTLD_LAZY
14778 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14779 # else
14780 # ifdef DL_LAZY
14781 # define LT_DLLAZY_OR_NOW DL_LAZY
14782 # else
14783 # ifdef RTLD_NOW
14784 # define LT_DLLAZY_OR_NOW RTLD_NOW
14785 # else
14786 # ifdef DL_NOW
14787 # define LT_DLLAZY_OR_NOW DL_NOW
14788 # else
14789 # define LT_DLLAZY_OR_NOW 0
14790 # endif
14791 # endif
14792 # endif
14793 # endif
14794 #endif
14795
14796 /* When -fvisibility=hidden is used, assume the code has been annotated
14797 correspondingly for the symbols needed. */
14798 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14799 int fnord (void) __attribute__((visibility("default")));
14800 #endif
14801
14802 int fnord (void) { return 42; }
14803 int main (void)
14804 {
14805 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14806 int status = $lt_dlunknown;
14807
14808 if (self)
14809 {
14810 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14811 else
14812 {
14813 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14814 else puts (dlerror ());
14815 }
14816 /* dlclose (self); */
14817 }
14818 else
14819 puts (dlerror ());
14820
14821 return status;
14822 }
14823 _LT_EOF
14824 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14825 (eval $ac_link) 2>&5
14826 ac_status=$?
14827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14828 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14829 (./conftest; exit; ) >&5 2>/dev/null
14830 lt_status=$?
14831 case x$lt_status in
14832 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14833 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14834 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14835 esac
14836 else :
14837 # compilation failed
14838 lt_cv_dlopen_self=no
14839 fi
14840 fi
14841 rm -fr conftest*
14842
14843 ;;
14844 esac
14845 fi
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14847 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14848
14849 if test yes = "$lt_cv_dlopen_self"; then
14850 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14852 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14853 if test ${lt_cv_dlopen_self_static+y}
14854 then :
14855 printf %s "(cached) " >&6
14856 else case e in #(
14857 e) if test yes = "$cross_compiling"; then :
14858 lt_cv_dlopen_self_static=cross
14859 else
14860 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14861 lt_status=$lt_dlunknown
14862 cat > conftest.$ac_ext <<_LT_EOF
14863 #line $LINENO "configure"
14864 #include "confdefs.h"
14865
14866 #if HAVE_DLFCN_H
14867 #include <dlfcn.h>
14868 #endif
14869
14870 #include <stdio.h>
14871
14872 #ifdef RTLD_GLOBAL
14873 # define LT_DLGLOBAL RTLD_GLOBAL
14874 #else
14875 # ifdef DL_GLOBAL
14876 # define LT_DLGLOBAL DL_GLOBAL
14877 # else
14878 # define LT_DLGLOBAL 0
14879 # endif
14880 #endif
14881
14882 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14883 find out it does not work in some platform. */
14884 #ifndef LT_DLLAZY_OR_NOW
14885 # ifdef RTLD_LAZY
14886 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14887 # else
14888 # ifdef DL_LAZY
14889 # define LT_DLLAZY_OR_NOW DL_LAZY
14890 # else
14891 # ifdef RTLD_NOW
14892 # define LT_DLLAZY_OR_NOW RTLD_NOW
14893 # else
14894 # ifdef DL_NOW
14895 # define LT_DLLAZY_OR_NOW DL_NOW
14896 # else
14897 # define LT_DLLAZY_OR_NOW 0
14898 # endif
14899 # endif
14900 # endif
14901 # endif
14902 #endif
14903
14904 /* When -fvisibility=hidden is used, assume the code has been annotated
14905 correspondingly for the symbols needed. */
14906 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14907 int fnord (void) __attribute__((visibility("default")));
14908 #endif
14909
14910 int fnord (void) { return 42; }
14911 int main (void)
14912 {
14913 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14914 int status = $lt_dlunknown;
14915
14916 if (self)
14917 {
14918 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14919 else
14920 {
14921 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14922 else puts (dlerror ());
14923 }
14924 /* dlclose (self); */
14925 }
14926 else
14927 puts (dlerror ());
14928
14929 return status;
14930 }
14931 _LT_EOF
14932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14933 (eval $ac_link) 2>&5
14934 ac_status=$?
14935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14936 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14937 (./conftest; exit; ) >&5 2>/dev/null
14938 lt_status=$?
14939 case x$lt_status in
14940 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14941 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14942 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14943 esac
14944 else :
14945 # compilation failed
14946 lt_cv_dlopen_self_static=no
14947 fi
14948 fi
14949 rm -fr conftest*
14950
14951 ;;
14952 esac
14953 fi
14954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14955 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14956 fi
14957
14958 CPPFLAGS=$save_CPPFLAGS
14959 LDFLAGS=$save_LDFLAGS
14960 LIBS=$save_LIBS
14961 ;;
14962 esac
14963
14964 case $lt_cv_dlopen_self in
14965 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14966 *) enable_dlopen_self=unknown ;;
14967 esac
14968
14969 case $lt_cv_dlopen_self_static in
14970 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14971 *) enable_dlopen_self_static=unknown ;;
14972 esac
14973 fi
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991 striplib=
14992 old_striplib=
14993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14994 printf %s "checking whether stripping libraries is possible... " >&6; }
14995 if test -z "$STRIP"; then
14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14997 printf "%s\n" "no" >&6; }
14998 else
14999 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15000 old_striplib="$STRIP --strip-debug"
15001 striplib="$STRIP --strip-unneeded"
15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15003 printf "%s\n" "yes" >&6; }
15004 else
15005 case $host_os in
15006 darwin*)
15007 # FIXME - insert some real tests, host_os isn't really good enough
15008 striplib="$STRIP -x"
15009 old_striplib="$STRIP -S"
15010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15011 printf "%s\n" "yes" >&6; }
15012 ;;
15013 freebsd*)
15014 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
15015 old_striplib="$STRIP --strip-debug"
15016 striplib="$STRIP --strip-unneeded"
15017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15018 printf "%s\n" "yes" >&6; }
15019 else
15020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15021 printf "%s\n" "no" >&6; }
15022 fi
15023 ;;
15024 *)
15025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15026 printf "%s\n" "no" >&6; }
15027 ;;
15028 esac
15029 fi
15030 fi
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043 # Report what library types will actually be built
15044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15045 printf %s "checking if libtool supports shared libraries... " >&6; }
15046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15047 printf "%s\n" "$can_build_shared" >&6; }
15048
15049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15050 printf %s "checking whether to build shared libraries... " >&6; }
15051 test no = "$can_build_shared" && enable_shared=no
15052
15053 # On AIX, shared libraries and static libraries use the same namespace, and
15054 # are all built from PIC.
15055 case $host_os in
15056 aix3*)
15057 test yes = "$enable_shared" && enable_static=no
15058 if test -n "$RANLIB"; then
15059 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15060 postinstall_cmds='$RANLIB $lib'
15061 fi
15062 ;;
15063
15064 aix[4-9]*)
15065 if test ia64 != "$host_cpu"; then
15066 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15067 yes,aix,yes) ;; # shared object as lib.so file only
15068 yes,svr4,*) ;; # shared object as lib.so archive member only
15069 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15070 esac
15071 fi
15072 ;;
15073 esac
15074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15075 printf "%s\n" "$enable_shared" >&6; }
15076
15077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15078 printf %s "checking whether to build static libraries... " >&6; }
15079 # Make sure either enable_shared or enable_static is yes.
15080 test yes = "$enable_shared" || enable_static=yes
15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15082 printf "%s\n" "$enable_static" >&6; }
15083
15084
15085
15086
15087 fi
15088 ac_ext=c
15089 ac_cpp='$CPP $CPPFLAGS'
15090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15093
15094 CC=$lt_save_CC
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110 ac_config_commands="$ac_config_commands libtool"
15111
15112
15113
15114
15115 # Only expand once:
15116
15117
15118 # (end lt_init)
15119 # Check whether --enable-largefile was given.
15120 if test ${enable_largefile+y}
15121 then :
15122 enableval=$enable_largefile;
15123 fi
15124 if test "$enable_largefile,$enable_year2038" != no,no
15125 then :
15126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
15127 printf %s "checking for $CC option to enable large file support... " >&6; }
15128 if test ${ac_cv_sys_largefile_opts+y}
15129 then :
15130 printf %s "(cached) " >&6
15131 else case e in #(
15132 e) ac_save_CC="$CC"
15133 ac_opt_found=no
15134 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
15135 if test x"$ac_opt" != x"none needed"
15136 then :
15137 CC="$ac_save_CC $ac_opt"
15138 fi
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15141 #include <sys/types.h>
15142 #ifndef FTYPE
15143 # define FTYPE off_t
15144 #endif
15145 /* Check that FTYPE can represent 2**63 - 1 correctly.
15146 We can't simply define LARGE_FTYPE to be 9223372036854775807,
15147 since some C++ compilers masquerading as C compilers
15148 incorrectly reject 9223372036854775807. */
15149 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
15150 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
15151 && LARGE_FTYPE % 2147483647 == 1)
15152 ? 1 : -1];
15153 int
15154 main (void)
15155 {
15156
15157 ;
15158 return 0;
15159 }
15160 _ACEOF
15161 if ac_fn_c_try_compile "$LINENO"
15162 then :
15163 if test x"$ac_opt" = x"none needed"
15164 then :
15165 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
15166 CC="$CC -DFTYPE=ino_t"
15167 if ac_fn_c_try_compile "$LINENO"
15168 then :
15169
15170 else case e in #(
15171 e) CC="$CC -D_FILE_OFFSET_BITS=64"
15172 if ac_fn_c_try_compile "$LINENO"
15173 then :
15174 ac_opt='-D_FILE_OFFSET_BITS=64'
15175 fi
15176 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
15177 esac
15178 fi
15179 rm -f core conftest.err conftest.$ac_objext conftest.beam
15180 fi
15181 ac_cv_sys_largefile_opts=$ac_opt
15182 ac_opt_found=yes
15183 fi
15184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15185 test $ac_opt_found = no || break
15186 done
15187 CC="$ac_save_CC"
15188
15189 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
15190 esac
15191 fi
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
15193 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
15194
15195 ac_have_largefile=yes
15196 case $ac_cv_sys_largefile_opts in #(
15197 "none needed") :
15198 ;; #(
15199 "supported through gnulib") :
15200 ;; #(
15201 "support not detected") :
15202 ac_have_largefile=no ;; #(
15203 "-D_FILE_OFFSET_BITS=64") :
15204
15205 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
15206 ;; #(
15207 "-D_LARGE_FILES=1") :
15208
15209 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
15210 ;; #(
15211 "-n32") :
15212 CC="$CC -n32" ;; #(
15213 *) :
15214 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
15215 esac
15216
15217 if test "$enable_year2038" != no
15218 then :
15219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
15220 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
15221 if test ${ac_cv_sys_year2038_opts+y}
15222 then :
15223 printf %s "(cached) " >&6
15224 else case e in #(
15225 e) ac_save_CPPFLAGS="$CPPFLAGS"
15226 ac_opt_found=no
15227 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
15228 if test x"$ac_opt" != x"none needed"
15229 then :
15230 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
15231 fi
15232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15234
15235 #include <time.h>
15236 /* Check that time_t can represent 2**32 - 1 correctly. */
15237 #define LARGE_TIME_T \\
15238 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
15239 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
15240 && LARGE_TIME_T % 65537 == 0)
15241 ? 1 : -1];
15242
15243 int
15244 main (void)
15245 {
15246
15247 ;
15248 return 0;
15249 }
15250 _ACEOF
15251 if ac_fn_c_try_compile "$LINENO"
15252 then :
15253 ac_cv_sys_year2038_opts="$ac_opt"
15254 ac_opt_found=yes
15255 fi
15256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15257 test $ac_opt_found = no || break
15258 done
15259 CPPFLAGS="$ac_save_CPPFLAGS"
15260 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
15261 esac
15262 fi
15263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
15264 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
15265
15266 ac_have_year2038=yes
15267 case $ac_cv_sys_year2038_opts in #(
15268 "none needed") :
15269 ;; #(
15270 "support not detected") :
15271 ac_have_year2038=no ;; #(
15272 "-D_TIME_BITS=64") :
15273
15274 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
15275 ;; #(
15276 "-D__MINGW_USE_VC2005_COMPAT") :
15277
15278 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
15279 ;; #(
15280 "-U_USE_32_BIT_TIME_T"*) :
15281 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15282 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15283 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
15284 will stop working after mid-January 2038. Remove
15285 _USE_32BIT_TIME_T from the compiler flags.
15286 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15287 *) :
15288 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
15289 esac
15290
15291 fi
15292
15293 fi
15294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
15295 printf %s "checking for declarations of fseeko and ftello... " >&6; }
15296 if test ${ac_cv_func_fseeko_ftello+y}
15297 then :
15298 printf %s "(cached) " >&6
15299 else case e in #(
15300 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15302
15303 #if defined __hpux && !defined _LARGEFILE_SOURCE
15304 # include <limits.h>
15305 # if LONG_MAX >> 31 == 0
15306 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15307 # endif
15308 #endif
15309 #include <sys/types.h> /* for off_t */
15310 #include <stdio.h>
15311
15312 int
15313 main (void)
15314 {
15315
15316 int (*fp1) (FILE *, off_t, int) = fseeko;
15317 off_t (*fp2) (FILE *) = ftello;
15318 return fseeko (stdin, 0, 0)
15319 && fp1 (stdin, 0, 0)
15320 && ftello (stdin) >= 0
15321 && fp2 (stdin) >= 0;
15322
15323 ;
15324 return 0;
15325 }
15326 _ACEOF
15327 if ac_fn_c_try_compile "$LINENO"
15328 then :
15329 ac_cv_func_fseeko_ftello=yes
15330 else case e in #(
15331 e) ac_save_CPPFLAGS="$CPPFLAGS"
15332 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15335
15336 #if defined __hpux && !defined _LARGEFILE_SOURCE
15337 # include <limits.h>
15338 # if LONG_MAX >> 31 == 0
15339 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15340 # endif
15341 #endif
15342 #include <sys/types.h> /* for off_t */
15343 #include <stdio.h>
15344
15345 int
15346 main (void)
15347 {
15348
15349 int (*fp1) (FILE *, off_t, int) = fseeko;
15350 off_t (*fp2) (FILE *) = ftello;
15351 return fseeko (stdin, 0, 0)
15352 && fp1 (stdin, 0, 0)
15353 && ftello (stdin) >= 0
15354 && fp2 (stdin) >= 0;
15355
15356 ;
15357 return 0;
15358 }
15359 _ACEOF
15360 if ac_fn_c_try_compile "$LINENO"
15361 then :
15362 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
15363 else case e in #(
15364 e) ac_cv_func_fseeko_ftello=no ;;
15365 esac
15366 fi
15367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15368 esac
15369 fi
15370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15371 esac
15372 fi
15373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
15374 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
15375 if test "$ac_cv_func_fseeko_ftello" != no
15376 then :
15377
15378 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
15379
15380 fi
15381 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
15382 then :
15383
15384 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
15385
15386 fi
15387
15388 ac_header_dirent=no
15389 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15390 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
15391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15392 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
15393 if eval test \${$as_ac_Header+y}
15394 then :
15395 printf %s "(cached) " >&6
15396 else case e in #(
15397 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15399 #include <sys/types.h>
15400 #include <$ac_hdr>
15401
15402 int
15403 main (void)
15404 {
15405 if ((DIR *) 0)
15406 return 0;
15407 ;
15408 return 0;
15409 }
15410 _ACEOF
15411 if ac_fn_c_try_compile "$LINENO"
15412 then :
15413 eval "$as_ac_Header=yes"
15414 else case e in #(
15415 e) eval "$as_ac_Header=no" ;;
15416 esac
15417 fi
15418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15419 esac
15420 fi
15421 eval ac_res=\$$as_ac_Header
15422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15423 printf "%s\n" "$ac_res" >&6; }
15424 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15425 then :
15426 cat >>confdefs.h <<_ACEOF
15427 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
15428 _ACEOF
15429
15430 ac_header_dirent=$ac_hdr; break
15431 fi
15432
15433 done
15434 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15435 if test $ac_header_dirent = dirent.h; then
15436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15437 printf %s "checking for library containing opendir... " >&6; }
15438 if test ${ac_cv_search_opendir+y}
15439 then :
15440 printf %s "(cached) " >&6
15441 else case e in #(
15442 e) ac_func_search_save_LIBS=$LIBS
15443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15445
15446 /* Override any GCC internal prototype to avoid an error.
15447 Use char because int might match the return type of a GCC
15448 builtin and then its argument prototype would still apply.
15449 The 'extern "C"' is for builds by C++ compilers;
15450 although this is not generally supported in C code supporting it here
15451 has little cost and some practical benefit (sr 110532). */
15452 #ifdef __cplusplus
15453 extern "C"
15454 #endif
15455 char opendir (void);
15456 int
15457 main (void)
15458 {
15459 return opendir ();
15460 ;
15461 return 0;
15462 }
15463 _ACEOF
15464 for ac_lib in '' dir
15465 do
15466 if test -z "$ac_lib"; then
15467 ac_res="none required"
15468 else
15469 ac_res=-l$ac_lib
15470 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15471 fi
15472 if ac_fn_c_try_link "$LINENO"
15473 then :
15474 ac_cv_search_opendir=$ac_res
15475 fi
15476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15477 conftest$ac_exeext
15478 if test ${ac_cv_search_opendir+y}
15479 then :
15480 break
15481 fi
15482 done
15483 if test ${ac_cv_search_opendir+y}
15484 then :
15485
15486 else case e in #(
15487 e) ac_cv_search_opendir=no ;;
15488 esac
15489 fi
15490 rm conftest.$ac_ext
15491 LIBS=$ac_func_search_save_LIBS ;;
15492 esac
15493 fi
15494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15495 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15496 ac_res=$ac_cv_search_opendir
15497 if test "$ac_res" != no
15498 then :
15499 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15500
15501 fi
15502
15503 else
15504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15505 printf %s "checking for library containing opendir... " >&6; }
15506 if test ${ac_cv_search_opendir+y}
15507 then :
15508 printf %s "(cached) " >&6
15509 else case e in #(
15510 e) ac_func_search_save_LIBS=$LIBS
15511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15513
15514 /* Override any GCC internal prototype to avoid an error.
15515 Use char because int might match the return type of a GCC
15516 builtin and then its argument prototype would still apply.
15517 The 'extern "C"' is for builds by C++ compilers;
15518 although this is not generally supported in C code supporting it here
15519 has little cost and some practical benefit (sr 110532). */
15520 #ifdef __cplusplus
15521 extern "C"
15522 #endif
15523 char opendir (void);
15524 int
15525 main (void)
15526 {
15527 return opendir ();
15528 ;
15529 return 0;
15530 }
15531 _ACEOF
15532 for ac_lib in '' x
15533 do
15534 if test -z "$ac_lib"; then
15535 ac_res="none required"
15536 else
15537 ac_res=-l$ac_lib
15538 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15539 fi
15540 if ac_fn_c_try_link "$LINENO"
15541 then :
15542 ac_cv_search_opendir=$ac_res
15543 fi
15544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15545 conftest$ac_exeext
15546 if test ${ac_cv_search_opendir+y}
15547 then :
15548 break
15549 fi
15550 done
15551 if test ${ac_cv_search_opendir+y}
15552 then :
15553
15554 else case e in #(
15555 e) ac_cv_search_opendir=no ;;
15556 esac
15557 fi
15558 rm conftest.$ac_ext
15559 LIBS=$ac_func_search_save_LIBS ;;
15560 esac
15561 fi
15562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15563 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15564 ac_res=$ac_cv_search_opendir
15565 if test "$ac_res" != no
15566 then :
15567 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15568
15569 fi
15570
15571 fi
15572
15573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
15574 printf %s "checking whether closedir returns void... " >&6; }
15575 if test ${ac_cv_func_closedir_void+y}
15576 then :
15577 printf %s "(cached) " >&6
15578 else case e in #(
15579 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15580 /* end confdefs.h. */
15581
15582 #include <$ac_header_dirent>
15583
15584 int
15585 main (void)
15586 {
15587
15588 return closedir(0);
15589
15590 ;
15591 return 0;
15592 }
15593 _ACEOF
15594 if ac_fn_c_try_compile "$LINENO"
15595 then :
15596 ac_cv_func_closedir_void=no
15597 else case e in #(
15598 e) ac_cv_func_closedir_void=yes ;;
15599 esac
15600 fi
15601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15602 esac
15603 fi
15604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
15605 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
15606 if test $ac_cv_func_closedir_void = yes; then
15607
15608 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
15609
15610 fi
15611
15612 ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
15613 if test "x$ac_cv_header_assert_h" = xyes
15614 then :
15615 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
15616
15617 fi
15618 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
15619 if test "x$ac_cv_header_float_h" = xyes
15620 then :
15621 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
15622
15623 fi
15624 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15625 if test "x$ac_cv_header_limits_h" = xyes
15626 then :
15627 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15628
15629 fi
15630 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
15631 if test "x$ac_cv_header_pwd_h" = xyes
15632 then :
15633 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
15634
15635 fi
15636 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15637 if test "x$ac_cv_header_stdlib_h" = xyes
15638 then :
15639 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15640
15641 fi
15642 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15643 if test "x$ac_cv_header_sys_param_h" = xyes
15644 then :
15645 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
15646
15647 fi
15648
15649 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
15650 if test "x$ac_cv_func_putenv" = xyes
15651 then :
15652 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
15653
15654 fi
15655
15656 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
15657 if test "x$ac_cv_func_getcwd" = xyes
15658 then :
15659 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
15660
15661 fi
15662 ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp"
15663 if test "x$ac_cv_func_memcmp" = xyes
15664 then :
15665 printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h
15666
15667 fi
15668 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
15669 if test "x$ac_cv_func_memcpy" = xyes
15670 then :
15671 printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
15672
15673 fi
15674 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
15675 if test "x$ac_cv_func_mkstemp" = xyes
15676 then :
15677 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15678
15679 fi
15680 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15681 if test "x$ac_cv_func_mktemp" = xyes
15682 then :
15683 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15684
15685 fi
15686 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
15687 if test "x$ac_cv_func_strchr" = xyes
15688 then :
15689 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
15690
15691 fi
15692 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
15693 if test "x$ac_cv_func_strrchr" = xyes
15694 then :
15695 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
15696
15697 fi
15698
15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15700 printf %s "checking for an ANSI C-conforming const... " >&6; }
15701 if test ${ac_cv_c_const+y}
15702 then :
15703 printf %s "(cached) " >&6
15704 else case e in #(
15705 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15706 /* end confdefs.h. */
15707
15708 int
15709 main (void)
15710 {
15711
15712 #ifndef __cplusplus
15713 /* Ultrix mips cc rejects this sort of thing. */
15714 typedef int charset[2];
15715 const charset cs = { 0, 0 };
15716 /* SunOS 4.1.1 cc rejects this. */
15717 char const *const *pcpcc;
15718 char **ppc;
15719 /* NEC SVR4.0.2 mips cc rejects this. */
15720 struct point {int x, y;};
15721 static struct point const zero = {0,0};
15722 /* IBM XL C 1.02.0.0 rejects this.
15723 It does not let you subtract one const X* pointer from another in
15724 an arm of an if-expression whose if-part is not a constant
15725 expression */
15726 const char *g = "string";
15727 pcpcc = &g + (g ? g-g : 0);
15728 /* HPUX 7.0 cc rejects these. */
15729 ++pcpcc;
15730 ppc = (char**) pcpcc;
15731 pcpcc = (char const *const *) ppc;
15732 { /* SCO 3.2v4 cc rejects this sort of thing. */
15733 char tx;
15734 char *t = &tx;
15735 char const *s = 0 ? (char *) 0 : (char const *) 0;
15736
15737 *t++ = 0;
15738 if (s) return 0;
15739 }
15740 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15741 int x[] = {25, 17};
15742 const int *foo = &x[0];
15743 ++foo;
15744 }
15745 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15746 typedef const int *iptr;
15747 iptr p = 0;
15748 ++p;
15749 }
15750 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
15751 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15752 struct s { int j; const int *ap[3]; } bx;
15753 struct s *b = &bx; b->j = 5;
15754 }
15755 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15756 const int foo = 10;
15757 if (!foo) return 0;
15758 }
15759 return !cs[0] && !zero.x;
15760 #endif
15761
15762 ;
15763 return 0;
15764 }
15765 _ACEOF
15766 if ac_fn_c_try_compile "$LINENO"
15767 then :
15768 ac_cv_c_const=yes
15769 else case e in #(
15770 e) ac_cv_c_const=no ;;
15771 esac
15772 fi
15773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15774 esac
15775 fi
15776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15777 printf "%s\n" "$ac_cv_c_const" >&6; }
15778 if test $ac_cv_c_const = no; then
15779
15780 printf "%s\n" "#define const /**/" >>confdefs.h
15781
15782 fi
15783
15784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15785 printf %s "checking for inline... " >&6; }
15786 if test ${ac_cv_c_inline+y}
15787 then :
15788 printf %s "(cached) " >&6
15789 else case e in #(
15790 e) ac_cv_c_inline=no
15791 for ac_kw in inline __inline__ __inline; do
15792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h. */
15794 #ifndef __cplusplus
15795 typedef int foo_t;
15796 static $ac_kw foo_t static_foo (void) {return 0; }
15797 $ac_kw foo_t foo (void) {return 0; }
15798 #endif
15799
15800 _ACEOF
15801 if ac_fn_c_try_compile "$LINENO"
15802 then :
15803 ac_cv_c_inline=$ac_kw
15804 fi
15805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15806 test "$ac_cv_c_inline" != no && break
15807 done
15808 ;;
15809 esac
15810 fi
15811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15812 printf "%s\n" "$ac_cv_c_inline" >&6; }
15813
15814 case $ac_cv_c_inline in
15815 inline | yes) ;;
15816 *)
15817 case $ac_cv_c_inline in
15818 no) ac_val=;;
15819 *) ac_val=$ac_cv_c_inline;;
15820 esac
15821 cat >>confdefs.h <<_ACEOF
15822 #ifndef __cplusplus
15823 #define inline $ac_val
15824 #endif
15825 _ACEOF
15826 ;;
15827 esac
15828
15829 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15830 if test "x$ac_cv_type_size_t" = xyes
15831 then :
15832
15833 else case e in #(
15834 e)
15835 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
15836 ;;
15837 esac
15838 fi
15839
15840 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
15841 case $ac_cv_c_int64_t in #(
15842 no|yes) ;; #(
15843 *)
15844
15845 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
15846 ;;
15847 esac
15848
15849 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
15850 case $ac_cv_c_uint64_t in #(
15851 no|yes) ;; #(
15852 *)
15853
15854 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
15855
15856
15857 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
15858 ;;
15859 esac
15860
15861 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
15862 *':no:'*) :
15863 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
15864 *) :
15865 ;;
15866 esac
15867 ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
15868 " "$ac_c_undeclared_builtin_options" "CFLAGS"
15869 if test "x$ac_cv_have_decl_isascii" = xyes
15870 then :
15871 ac_have_decl=1
15872 else case e in #(
15873 e) ac_have_decl=0 ;;
15874 esac
15875 fi
15876 printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h
15877
15878 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15879 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
15880 then :
15881
15882 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
15883
15884
15885 fi
15886
15887
15888
15889 # The cast to long int works around a bug in the HP C Compiler
15890 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15891 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
15892 # This bug is HP SR number 8606223364.
15893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15894 printf %s "checking size of int... " >&6; }
15895 if test ${ac_cv_sizeof_int+y}
15896 then :
15897 printf %s "(cached) " >&6
15898 else case e in #(
15899 e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"
15900 then :
15901
15902 else case e in #(
15903 e) if test "$ac_cv_type_int" = yes; then
15904 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15905 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15906 as_fn_error 77 "cannot compute sizeof (int)
15907 See 'config.log' for more details" "$LINENO" 5; }
15908 else
15909 ac_cv_sizeof_int=0
15910 fi ;;
15911 esac
15912 fi
15913 ;;
15914 esac
15915 fi
15916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15917 printf "%s\n" "$ac_cv_sizeof_int" >&6; }
15918
15919
15920
15921 printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
15922
15923
15924
15925 ac_config_headers="$ac_config_headers config.h"
15926
15927
15928
15929
15930 printf "%s\n" "#define TL_VERSION \"TeX Live 2026\"" >>confdefs.h
15931
15932
15933 kpse_save_CPPFLAGS=$CPPFLAGS
15934 kpse_save_LIBS=$LIBS
15935
15936 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
15937 kpse_BLD=`(cd "./../../." && pwd)`
15938 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
15939
15940 echo 'tldbg:_KPSE_USE_LIBTOOL called, libtool package version: 2.5.4' >&5
15941 : ${CONFIG_LT=./config.lt}
15942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
15943 printf "%s\n" "$as_me: creating $CONFIG_LT" >&6;}
15944 as_write_fail=0
15945 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
15946 #! $SHELL
15947 # Generated by $as_me.
15948 # Run this file to recreate a libtool stub with the current configuration.
15949 SHELL=\${CONFIG_SHELL-$SHELL}
15950 export SHELL
15951 _ASEOF
15952 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
15953 ## -------------------- ##
15954 ## M4sh Initialization. ##
15955 ## -------------------- ##
15956
15957 # Be more Bourne compatible
15958 DUALCASE=1; export DUALCASE # for MKS sh
15959 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
15960 then :
15961 emulate sh
15962 NULLCMD=:
15963 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15964 # is contrary to our usage. Disable this feature.
15965 alias -g '${1+"$@"}'='"$@"'
15966 setopt NO_GLOB_SUBST
15967 else case e in #(
15968 e) case `(set -o) 2>/dev/null` in #(
15969 *posix*) :
15970 set -o posix ;; #(
15971 *) :
15972 ;;
15973 esac ;;
15974 esac
15975 fi
15976
15977
15978
15979 # Reset variables that may have inherited troublesome values from
15980 # the environment.
15981
15982 # IFS needs to be set, to space, tab, and newline, in precisely that order.
15983 # (If _AS_PATH_WALK were called with IFS unset, it would have the
15984 # side effect of setting IFS to empty, thus disabling word splitting.)
15985 # Quoting is to prevent editors from complaining about space-tab.
15986 as_nl='
15987 '
15988 export as_nl
15989 IFS=" "" $as_nl"
15990
15991 PS1='$ '
15992 PS2='> '
15993 PS4='+ '
15994
15995 # Ensure predictable behavior from utilities with locale-dependent output.
15996 LC_ALL=C
15997 export LC_ALL
15998 LANGUAGE=C
15999 export LANGUAGE
16000
16001 # We cannot yet rely on "unset" to work, but we need these variables
16002 # to be unset--not just set to an empty or harmless value--now, to
16003 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
16004 # also avoids known problems related to "unset" and subshell syntax
16005 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
16006 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
16007 do eval test \${$as_var+y} \
16008 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16009 done
16010
16011 # Ensure that fds 0, 1, and 2 are open.
16012 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
16013 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
16014 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
16015
16016 # The user is always right.
16017 if ${PATH_SEPARATOR+false} :; then
16018 PATH_SEPARATOR=:
16019 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16020 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16021 PATH_SEPARATOR=';'
16022 }
16023 fi
16024
16025
16026 # Find who we are. Look in the path if we contain no directory separator.
16027 as_myself=
16028 case $0 in #((
16029 *[\\/]* ) as_myself=$0 ;;
16030 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16031 for as_dir in $PATH
16032 do
16033 IFS=$as_save_IFS
16034 case $as_dir in #(((
16035 '') as_dir=./ ;;
16036 */) ;;
16037 *) as_dir=$as_dir/ ;;
16038 esac
16039 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
16040 done
16041 IFS=$as_save_IFS
16042
16043 ;;
16044 esac
16045 # We did not find ourselves, most probably we were run as 'sh COMMAND'
16046 # in which case we are not to be found in the path.
16047 if test "x$as_myself" = x; then
16048 as_myself=$0
16049 fi
16050 if test ! -f "$as_myself"; then
16051 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16052 exit 1
16053 fi
16054
16055
16056
16057 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16058 # ----------------------------------------
16059 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16060 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16061 # script with STATUS, using 1 if that was 0.
16062 as_fn_error ()
16063 {
16064 as_status=$1; test $as_status -eq 0 && as_status=1
16065 if test "$4"; then
16066 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16068 fi
16069 printf "%s\n" "$as_me: error: $2" >&2
16070 as_fn_exit $as_status
16071 } # as_fn_error
16072
16073
16074 # as_fn_set_status STATUS
16075 # -----------------------
16076 # Set $? to STATUS, without forking.
16077 as_fn_set_status ()
16078 {
16079 return $1
16080 } # as_fn_set_status
16081
16082 # as_fn_exit STATUS
16083 # -----------------
16084 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16085 as_fn_exit ()
16086 {
16087 set +e
16088 as_fn_set_status $1
16089 exit $1
16090 } # as_fn_exit
16091
16092 # as_fn_unset VAR
16093 # ---------------
16094 # Portably unset VAR.
16095 as_fn_unset ()
16096 {
16097 { eval $1=; unset $1;}
16098 }
16099 as_unset=as_fn_unset
16100
16101 # as_fn_append VAR VALUE
16102 # ----------------------
16103 # Append the text in VALUE to the end of the definition contained in VAR. Take
16104 # advantage of any shell optimizations that allow amortized linear growth over
16105 # repeated appends, instead of the typical quadratic growth present in naive
16106 # implementations.
16107 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
16108 then :
16109 eval 'as_fn_append ()
16110 {
16111 eval $1+=\$2
16112 }'
16113 else case e in #(
16114 e) as_fn_append ()
16115 {
16116 eval $1=\$$1\$2
16117 } ;;
16118 esac
16119 fi # as_fn_append
16120
16121 # as_fn_arith ARG...
16122 # ------------------
16123 # Perform arithmetic evaluation on the ARGs, and store the result in the
16124 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16125 # must be portable across $(()) and expr.
16126 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
16127 then :
16128 eval 'as_fn_arith ()
16129 {
16130 as_val=$(( $* ))
16131 }'
16132 else case e in #(
16133 e) as_fn_arith ()
16134 {
16135 as_val=`expr "$@" || test $? -eq 1`
16136 } ;;
16137 esac
16138 fi # as_fn_arith
16139
16140
16141 if expr a : '\(a\)' >/dev/null 2>&1 &&
16142 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16143 as_expr=expr
16144 else
16145 as_expr=false
16146 fi
16147
16148 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16149 as_basename=basename
16150 else
16151 as_basename=false
16152 fi
16153
16154 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16155 as_dirname=dirname
16156 else
16157 as_dirname=false
16158 fi
16159
16160 as_me=`$as_basename -- "$0" ||
16161 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16162 X"$0" : 'X\(//\)$' \| \
16163 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16164 printf "%s\n" X/"$0" |
16165 sed '/^.*\/\([^/][^/]*\)\/*$/{
16166 s//\1/
16167 q
16168 }
16169 /^X\/\(\/\/\)$/{
16170 s//\1/
16171 q
16172 }
16173 /^X\/\(\/\).*/{
16174 s//\1/
16175 q
16176 }
16177 s/.*/./; q'`
16178
16179 # Avoid depending upon Character Ranges.
16180 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16181 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16182 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16183 as_cr_digits='0123456789'
16184 as_cr_alnum=$as_cr_Letters$as_cr_digits
16185
16186
16187 # Determine whether it's possible to make 'echo' print without a newline.
16188 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
16189 # for compatibility with existing Makefiles.
16190 ECHO_C= ECHO_N= ECHO_T=
16191 case `echo -n x` in #(((((
16192 -n*)
16193 case `echo 'xy\c'` in
16194 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16195 xy) ECHO_C='\c';;
16196 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16197 ECHO_T=' ';;
16198 esac;;
16199 *)
16200 ECHO_N='-n';;
16201 esac
16202
16203 # For backward compatibility with old third-party macros, we provide
16204 # the shell variables $as_echo and $as_echo_n. New code should use
16205 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16206 as_echo='printf %s\n'
16207 as_echo_n='printf %s'
16208
16209 rm -f conf$$ conf$$.exe conf$$.file
16210 if test -d conf$$.dir; then
16211 rm -f conf$$.dir/conf$$.file
16212 else
16213 rm -f conf$$.dir
16214 mkdir conf$$.dir 2>/dev/null
16215 fi
16216 if (echo >conf$$.file) 2>/dev/null; then
16217 if ln -s conf$$.file conf$$ 2>/dev/null; then
16218 as_ln_s='ln -s'
16219 # ... but there are two gotchas:
16220 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
16221 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
16222 # In both cases, we have to default to 'cp -pR'.
16223 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16224 as_ln_s='cp -pR'
16225 elif ln conf$$.file conf$$ 2>/dev/null; then
16226 as_ln_s=ln
16227 else
16228 as_ln_s='cp -pR'
16229 fi
16230 else
16231 as_ln_s='cp -pR'
16232 fi
16233 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16234 rmdir conf$$.dir 2>/dev/null
16235
16236
16237 # as_fn_mkdir_p
16238 # -------------
16239 # Create "$as_dir" as a directory, including parents if necessary.
16240 as_fn_mkdir_p ()
16241 {
16242
16243 case $as_dir in #(
16244 -*) as_dir=./$as_dir;;
16245 esac
16246 test -d "$as_dir" || eval $as_mkdir_p || {
16247 as_dirs=
16248 while :; do
16249 case $as_dir in #(
16250 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16251 *) as_qdir=$as_dir;;
16252 esac
16253 as_dirs="'$as_qdir' $as_dirs"
16254 as_dir=`$as_dirname -- "$as_dir" ||
16255 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16256 X"$as_dir" : 'X\(//\)[^/]' \| \
16257 X"$as_dir" : 'X\(//\)$' \| \
16258 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16259 printf "%s\n" X"$as_dir" |
16260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16261 s//\1/
16262 q
16263 }
16264 /^X\(\/\/\)[^/].*/{
16265 s//\1/
16266 q
16267 }
16268 /^X\(\/\/\)$/{
16269 s//\1/
16270 q
16271 }
16272 /^X\(\/\).*/{
16273 s//\1/
16274 q
16275 }
16276 s/.*/./; q'`
16277 test -d "$as_dir" && break
16278 done
16279 test -z "$as_dirs" || eval "mkdir $as_dirs"
16280 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16281
16282
16283 } # as_fn_mkdir_p
16284 if mkdir -p . 2>/dev/null; then
16285 as_mkdir_p='mkdir -p "$as_dir"'
16286 else
16287 test -d ./-p && rmdir ./-p
16288 as_mkdir_p=false
16289 fi
16290
16291
16292 # as_fn_executable_p FILE
16293 # -----------------------
16294 # Test if FILE is an executable regular file.
16295 as_fn_executable_p ()
16296 {
16297 test -f "$1" && test -x "$1"
16298 } # as_fn_executable_p
16299 as_test_x='test -x'
16300 as_executable_p=as_fn_executable_p
16301
16302 # Sed expression to map a string onto a valid CPP name.
16303 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16304 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
16305
16306 # Sed expression to map a string onto a valid variable name.
16307 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16308 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
16309
16310
16311 exec 6>&1
16312 ## --------------------------------- ##
16313 ## Main body of "$CONFIG_LT" script. ##
16314 ## --------------------------------- ##
16315 _ASEOF
16316 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16317
16318 cat >>"$CONFIG_LT" <<\_LTEOF
16319 lt_cl_silent=false
16320 exec 5>>config.log
16321 {
16322 echo
16323 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16324 ## Running $as_me. ##
16325 _ASBOX
16326 } >&5
16327
16328 lt_cl_help="\
16329 '$as_me' creates a local libtool stub from the current configuration,
16330 for use in further configure time tests before the real libtool is
16331 generated.
16332
16333 Usage: $0 [OPTIONS]
16334
16335 -h, --help print this help, then exit
16336 -V, --version print version number, then exit
16337 -q, --quiet do not print progress messages
16338 -d, --debug don't remove temporary files
16339
16340 Report bugs to <[email protected]>."
16341
16342 lt_cl_version="\
16343 ttfdump (TeX Live) config.lt 0.5.6
16344 configured by $0, generated by GNU Autoconf 2.72.
16345
16346 Copyright (C) 2024 Free Software Foundation, Inc.
16347 This config.lt script is free software; the Free Software Foundation
16348 gives unlimited permission to copy, distribute and modify it."
16349
16350 while test 0 != $#
16351 do
16352 case $1 in
16353 --version | --v* | -V )
16354 echo "$lt_cl_version"; exit 0 ;;
16355 --help | --h* | -h )
16356 echo "$lt_cl_help"; exit 0 ;;
16357 --debug | --d* | -d )
16358 debug=: ;;
16359 --quiet | --q* | --silent | --s* | -q )
16360 lt_cl_silent=: ;;
16361
16362 -*) as_fn_error $? "unrecognized option: $1
16363 Try '$0 --help' for more information." "$LINENO" 5 ;;
16364
16365 *) as_fn_error $? "unrecognized argument: $1
16366 Try '$0 --help' for more information." "$LINENO" 5 ;;
16367 esac
16368 shift
16369 done
16370
16371 if $lt_cl_silent; then
16372 exec 6>/dev/null
16373 fi
16374 _LTEOF
16375
16376 cat >>"$CONFIG_LT" <<_LTEOF
16377
16378
16379 # The HP-UX ksh and POSIX shell print the target directory to stdout
16380 # if CDPATH is set.
16381 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16382
16383 sed_quote_subst='$sed_quote_subst'
16384 double_quote_subst='$double_quote_subst'
16385 delay_variable_subst='$delay_variable_subst'
16386 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16387 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16388 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16389 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16390 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16391 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16392 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16393 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16394 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16395 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16396 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16397 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16398 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16399 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16400 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16401 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16402 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16403 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16404 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16405 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16406 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16407 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16408 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16409 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16410 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16411 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16412 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16413 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16414 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16415 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16416 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16417 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16418 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16419 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16420 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16421 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16422 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16423 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16424 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16425 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16426 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16427 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16428 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16429 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16430 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16431 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16432 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16433 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16434 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16435 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16436 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16437 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16438 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16439 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16440 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16441 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16442 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16443 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16444 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16445 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16446 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16447 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"`'
16448 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16449 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16450 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16451 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16452 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16453 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16454 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16455 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16456 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16457 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16458 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16459 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16460 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16461 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16462 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16463 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16464 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16465 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16466 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16467 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16468 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16469 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16470 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16471 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16472 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16473 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16474 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16475 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16476 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16477 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16478 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16479 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16480 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16481 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16482 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16483 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16484 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16485 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16486 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16487 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16488 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16489 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16490 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16491 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16492 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16493 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16494 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16495 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16496 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16497 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16498 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16499 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16500 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16501 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16502 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16503 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16504 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16505 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16506 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16507 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16508 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16509 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16510 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16511 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16512 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16513 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16514 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16515 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16516 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16517 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16518 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16519 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16520 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16521 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16522 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16523 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16524
16525 LTCC='$LTCC'
16526 LTCFLAGS='$LTCFLAGS'
16527 compiler='$compiler_DEFAULT'
16528
16529 # A function that is used when there is no print builtin or printf.
16530 func_fallback_echo ()
16531 {
16532 eval 'cat <<_LTECHO_EOF
16533 \$1
16534 _LTECHO_EOF'
16535 }
16536
16537 # Quote evaled strings.
16538 for var in AS \
16539 DLLTOOL \
16540 OBJDUMP \
16541 SHELL \
16542 ECHO \
16543 PATH_SEPARATOR \
16544 SED \
16545 GREP \
16546 EGREP \
16547 FGREP \
16548 LD \
16549 NM \
16550 LN_S \
16551 lt_SP2NL \
16552 lt_NL2SP \
16553 reload_flag \
16554 FILECMD \
16555 deplibs_check_method \
16556 file_magic_cmd \
16557 file_magic_glob \
16558 want_nocaseglob \
16559 sharedlib_from_linklib_cmd \
16560 AR \
16561 archiver_list_spec \
16562 STRIP \
16563 RANLIB \
16564 CC \
16565 CFLAGS \
16566 compiler \
16567 lt_cv_sys_global_symbol_pipe \
16568 lt_cv_sys_global_symbol_to_cdecl \
16569 lt_cv_sys_global_symbol_to_import \
16570 lt_cv_sys_global_symbol_to_c_name_address \
16571 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16572 lt_cv_nm_interface \
16573 nm_file_list_spec \
16574 lt_cv_truncate_bin \
16575 lt_prog_compiler_no_builtin_flag \
16576 lt_prog_compiler_pic \
16577 lt_prog_compiler_wl \
16578 lt_prog_compiler_static \
16579 lt_cv_prog_compiler_c_o \
16580 need_locks \
16581 MANIFEST_TOOL \
16582 DSYMUTIL \
16583 NMEDIT \
16584 LIPO \
16585 OTOOL \
16586 OTOOL64 \
16587 shrext_cmds \
16588 export_dynamic_flag_spec \
16589 whole_archive_flag_spec \
16590 compiler_needs_object \
16591 with_gnu_ld \
16592 allow_undefined_flag \
16593 no_undefined_flag \
16594 hardcode_libdir_flag_spec \
16595 hardcode_libdir_separator \
16596 exclude_expsyms \
16597 include_expsyms \
16598 file_list_spec \
16599 variables_saved_for_relink \
16600 libname_spec \
16601 library_names_spec \
16602 soname_spec \
16603 install_override_mode \
16604 finish_eval \
16605 old_striplib \
16606 striplib; do
16607 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16608 *[\\\\\\\`\\"\\\$]*)
16609 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16610 ;;
16611 *)
16612 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16613 ;;
16614 esac
16615 done
16616
16617 # Double-quote double-evaled strings.
16618 for var in reload_cmds \
16619 old_postinstall_cmds \
16620 old_postuninstall_cmds \
16621 old_archive_cmds \
16622 extract_expsyms_cmds \
16623 old_archive_from_new_cmds \
16624 old_archive_from_expsyms_cmds \
16625 archive_cmds \
16626 archive_expsym_cmds \
16627 module_cmds \
16628 module_expsym_cmds \
16629 export_symbols_cmds \
16630 prelink_cmds \
16631 postlink_cmds \
16632 postinstall_cmds \
16633 postuninstall_cmds \
16634 finish_cmds \
16635 sys_lib_search_path_spec \
16636 configure_time_dlsearch_path \
16637 configure_time_lt_sys_library_path; do
16638 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16639 *[\\\\\\\`\\"\\\$]*)
16640 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16641 ;;
16642 *)
16643 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16644 ;;
16645 esac
16646 done
16647
16648 ac_aux_dir='$ac_aux_dir'
16649
16650 # See if we are running on zsh, and set the options that allow our
16651 # commands through without removal of \ escapes INIT.
16652 if test -n "\${ZSH_VERSION+set}"; then
16653 setopt NO_GLOB_SUBST
16654 fi
16655
16656
16657 PACKAGE='$PACKAGE'
16658 VERSION='$VERSION'
16659 RM='$RM'
16660 ofile='$ofile'
16661
16662
16663
16664 _LTEOF
16665
16666 cat >>"$CONFIG_LT" <<\_LTEOF
16667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
16668 printf "%s\n" "$as_me: creating $ofile" >&6;}
16669
16670
16671 # See if we are running on zsh, and set the options that allow our
16672 # commands through without removal of \ escapes.
16673 if test -n "${ZSH_VERSION+set}"; then
16674 setopt NO_GLOB_SUBST
16675 fi
16676
16677 cfgfile=${ofile}T
16678 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16679 $RM "$cfgfile"
16680
16681 cat <<_LT_EOF >> "$cfgfile"
16682 #! $SHELL
16683 # Generated automatically by $as_me ($PACKAGE) $VERSION
16684 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16685
16686 # Provide generalized library-building support services.
16687 # Written by Gordon Matzigkeit, 1996
16688
16689 # Copyright (C) 2024 Free Software Foundation, Inc.
16690 # This is free software; see the source for copying conditions. There is NO
16691 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16692
16693 # GNU Libtool is free software; you can redistribute it and/or modify
16694 # it under the terms of the GNU General Public License as published by
16695 # the Free Software Foundation; either version 2 of the License, or
16696 # (at your option) any later version.
16697 #
16698 # As a special exception to the GNU General Public License, if you
16699 # distribute this file as part of a program or library that is built
16700 # using GNU Libtool, you may include this file under the same
16701 # distribution terms that you use for the rest of that program.
16702 #
16703 # GNU Libtool is distributed in the hope that it will be useful, but
16704 # WITHOUT ANY WARRANTY; without even the implied warranty of
16705 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16706 # GNU General Public License for more details.
16707 #
16708 # You should have received a copy of the GNU General Public License
16709 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16710
16711
16712 # The names of the tagged configurations supported by this script.
16713 available_tags=''
16714
16715 # Configured defaults for sys_lib_dlsearch_path munging.
16716 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16717
16718 # ### BEGIN LIBTOOL CONFIG
16719
16720 # Which release of libtool.m4 was used?
16721 macro_version=$macro_version
16722 macro_revision=$macro_revision
16723
16724 # Assembler program.
16725 AS=$lt_AS
16726
16727 # DLL creation program.
16728 DLLTOOL=$lt_DLLTOOL
16729
16730 # Object dumper program.
16731 OBJDUMP=$lt_OBJDUMP
16732
16733 # Whether or not to build shared libraries.
16734 build_libtool_libs=$enable_shared
16735
16736 # Whether or not to build static libraries.
16737 build_old_libs=$enable_static
16738
16739 # What type of objects to build.
16740 pic_mode=$pic_mode
16741
16742 # Whether or not to optimize for fast installation.
16743 fast_install=$enable_fast_install
16744
16745 # Shared archive member basename,for filename based shared library versioning on AIX.
16746 shared_archive_member_spec=$shared_archive_member_spec
16747
16748 # Shell to use when invoking shell scripts.
16749 SHELL=$lt_SHELL
16750
16751 # An echo program that protects backslashes.
16752 ECHO=$lt_ECHO
16753
16754 # The PATH separator for the build system.
16755 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16756
16757 # The host system.
16758 host_alias=$host_alias
16759 host=$host
16760 host_os=$host_os
16761
16762 # The build system.
16763 build_alias=$build_alias
16764 build=$build
16765 build_os=$build_os
16766
16767 # A sed program that does not truncate output.
16768 SED=$lt_SED
16769
16770 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16771 Xsed="\$SED -e 1s/^X//"
16772
16773 # A grep program that handles long lines.
16774 GREP=$lt_GREP
16775
16776 # An ERE matcher.
16777 EGREP=$lt_EGREP
16778
16779 # A literal string matcher.
16780 FGREP=$lt_FGREP
16781
16782 # A BSD- or MS-compatible name lister.
16783 NM=$lt_NM
16784
16785 # Whether we need soft or hard links.
16786 LN_S=$lt_LN_S
16787
16788 # What is the maximum length of a command?
16789 max_cmd_len=$max_cmd_len
16790
16791 # Object file suffix (normally "o").
16792 objext=$ac_objext
16793
16794 # Executable file suffix (normally "").
16795 exeext=$exeext
16796
16797 # whether the shell understands "unset".
16798 lt_unset=$lt_unset
16799
16800 # turn spaces into newlines.
16801 SP2NL=$lt_lt_SP2NL
16802
16803 # turn newlines into spaces.
16804 NL2SP=$lt_lt_NL2SP
16805
16806 # convert \$build file names to \$host format.
16807 to_host_file_cmd=$lt_cv_to_host_file_cmd
16808
16809 # convert \$build files to toolchain format.
16810 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16811
16812 # A file(cmd) program that detects file types.
16813 FILECMD=$lt_FILECMD
16814
16815 # Method to check whether dependent libraries are shared objects.
16816 deplibs_check_method=$lt_deplibs_check_method
16817
16818 # Command to use when deplibs_check_method = "file_magic".
16819 file_magic_cmd=$lt_file_magic_cmd
16820
16821 # How to find potential files when deplibs_check_method = "file_magic".
16822 file_magic_glob=$lt_file_magic_glob
16823
16824 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16825 want_nocaseglob=$lt_want_nocaseglob
16826
16827 # Command to associate shared and link libraries.
16828 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16829
16830 # The archiver.
16831 AR=$lt_AR
16832
16833 # Flags to create an archive (by configure).
16834 lt_ar_flags=$lt_ar_flags
16835
16836 # Flags to create an archive.
16837 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16838
16839 # How to feed a file listing to the archiver.
16840 archiver_list_spec=$lt_archiver_list_spec
16841
16842 # A symbol stripping program.
16843 STRIP=$lt_STRIP
16844
16845 # Commands used to install an old-style archive.
16846 RANLIB=$lt_RANLIB
16847 old_postinstall_cmds=$lt_old_postinstall_cmds
16848 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16849
16850 # Whether to use a lock for old archive extraction.
16851 lock_old_archive_extraction=$lock_old_archive_extraction
16852
16853 # A C compiler.
16854 LTCC=$lt_CC
16855
16856 # LTCC compiler flags.
16857 LTCFLAGS=$lt_CFLAGS
16858
16859 # Take the output of nm and produce a listing of raw symbols and C names.
16860 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16861
16862 # Transform the output of nm in a proper C declaration.
16863 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16864
16865 # Transform the output of nm into a list of symbols to manually relocate.
16866 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16867
16868 # Transform the output of nm in a C name address pair.
16869 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16870
16871 # Transform the output of nm in a C name address pair when lib prefix is needed.
16872 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16873
16874 # The name lister interface.
16875 nm_interface=$lt_lt_cv_nm_interface
16876
16877 # Specify filename containing input files for \$NM.
16878 nm_file_list_spec=$lt_nm_file_list_spec
16879
16880 # The root where to search for dependent libraries,and where our libraries should be installed.
16881 lt_sysroot=$lt_sysroot
16882
16883 # Command to truncate a binary pipe.
16884 lt_truncate_bin=$lt_lt_cv_truncate_bin
16885
16886 # The name of the directory that contains temporary libtool files.
16887 objdir=$objdir
16888
16889 # Used to examine libraries when file_magic_cmd begins with "file".
16890 MAGIC_CMD=$MAGIC_CMD
16891
16892 # Must we lock files when doing compilation?
16893 need_locks=$lt_need_locks
16894
16895 # Manifest tool.
16896 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16897
16898 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16899 DSYMUTIL=$lt_DSYMUTIL
16900
16901 # Tool to change global to local symbols on Mac OS X.
16902 NMEDIT=$lt_NMEDIT
16903
16904 # Tool to manipulate fat objects and archives on Mac OS X.
16905 LIPO=$lt_LIPO
16906
16907 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16908 OTOOL=$lt_OTOOL
16909
16910 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16911 OTOOL64=$lt_OTOOL64
16912
16913 # Old archive suffix (normally "a").
16914 libext=$libext
16915
16916 # Shared library suffix (normally ".so").
16917 shrext_cmds=$lt_shrext_cmds
16918
16919 # The commands to extract the exported symbol list from a shared archive.
16920 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16921
16922 # Variables whose values should be saved in libtool wrapper scripts and
16923 # restored at link time.
16924 variables_saved_for_relink=$lt_variables_saved_for_relink
16925
16926 # Do we need the "lib" prefix for modules?
16927 need_lib_prefix=$need_lib_prefix
16928
16929 # Do we need a version for libraries?
16930 need_version=$need_version
16931
16932 # Library versioning type.
16933 version_type=$version_type
16934
16935 # Shared library runtime path variable.
16936 runpath_var=$runpath_var
16937
16938 # Shared library path variable.
16939 shlibpath_var=$shlibpath_var
16940
16941 # Is shlibpath searched before the hard-coded library search path?
16942 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16943
16944 # Format of library name prefix.
16945 libname_spec=$lt_libname_spec
16946
16947 # List of archive names. First name is the real one, the rest are links.
16948 # The last name is the one that the linker finds with -lNAME
16949 library_names_spec=$lt_library_names_spec
16950
16951 # The coded name of the library, if different from the real name.
16952 soname_spec=$lt_soname_spec
16953
16954 # Permission mode override for installation of shared libraries.
16955 install_override_mode=$lt_install_override_mode
16956
16957 # Command to use after installation of a shared archive.
16958 postinstall_cmds=$lt_postinstall_cmds
16959
16960 # Command to use after uninstallation of a shared archive.
16961 postuninstall_cmds=$lt_postuninstall_cmds
16962
16963 # Commands used to finish a libtool library installation in a directory.
16964 finish_cmds=$lt_finish_cmds
16965
16966 # As "finish_cmds", except a single script fragment to be evaled but
16967 # not shown.
16968 finish_eval=$lt_finish_eval
16969
16970 # Whether we should hardcode library paths into libraries.
16971 hardcode_into_libs=$hardcode_into_libs
16972
16973 # Compile-time system search path for libraries.
16974 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16975
16976 # Detected run-time system search path for libraries.
16977 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16978
16979 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16980 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16981
16982 # Whether dlopen is supported.
16983 dlopen_support=$enable_dlopen
16984
16985 # Whether dlopen of programs is supported.
16986 dlopen_self=$enable_dlopen_self
16987
16988 # Whether dlopen of statically linked programs is supported.
16989 dlopen_self_static=$enable_dlopen_self_static
16990
16991 # Commands to strip libraries.
16992 old_striplib=$lt_old_striplib
16993 striplib=$lt_striplib
16994
16995
16996 # The linker used to build libraries.
16997 LD=$lt_LD
16998
16999 # How to create reloadable object files.
17000 reload_flag=$lt_reload_flag
17001 reload_cmds=$lt_reload_cmds
17002
17003 # Commands used to build an old-style archive.
17004 old_archive_cmds=$lt_old_archive_cmds
17005
17006 # A language specific compiler.
17007 CC=$lt_compiler
17008
17009 # Is the compiler the GNU compiler?
17010 with_gcc=$GCC
17011
17012 # Compiler flag to turn off builtin functions.
17013 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17014
17015 # Additional compiler flags for building library objects.
17016 pic_flag=$lt_lt_prog_compiler_pic
17017
17018 # How to pass a linker flag through the compiler.
17019 wl=$lt_lt_prog_compiler_wl
17020
17021 # Compiler flag to prevent dynamic linking.
17022 link_static_flag=$lt_lt_prog_compiler_static
17023
17024 # Does compiler simultaneously support -c and -o options?
17025 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17026
17027 # Whether or not to add -lc for building shared libraries.
17028 build_libtool_need_lc=$archive_cmds_need_lc
17029
17030 # Whether or not to disallow shared libs when runtime libs are static.
17031 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17032
17033 # Compiler flag to allow reflexive dlopens.
17034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17035
17036 # Compiler flag to generate shared objects directly from archives.
17037 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17038
17039 # Whether the compiler copes with passing no objects directly.
17040 compiler_needs_object=$lt_compiler_needs_object
17041
17042 # Create an old-style archive from a shared archive.
17043 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17044
17045 # Create a temporary old-style archive to link instead of a shared archive.
17046 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17047
17048 # Commands used to build a shared archive.
17049 archive_cmds=$lt_archive_cmds
17050 archive_expsym_cmds=$lt_archive_expsym_cmds
17051
17052 # Commands used to build a loadable module if different from building
17053 # a shared archive.
17054 module_cmds=$lt_module_cmds
17055 module_expsym_cmds=$lt_module_expsym_cmds
17056
17057 # Whether we are building with GNU ld or not.
17058 with_gnu_ld=$lt_with_gnu_ld
17059
17060 # Flag that allows shared libraries with undefined symbols to be built.
17061 allow_undefined_flag=$lt_allow_undefined_flag
17062
17063 # Flag that enforces no undefined symbols.
17064 no_undefined_flag=$lt_no_undefined_flag
17065
17066 # Flag to hardcode \$libdir into a binary during linking.
17067 # This must work even if \$libdir does not exist
17068 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17069
17070 # Whether we need a single "-rpath" flag with a separated argument.
17071 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17072
17073 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17074 # DIR into the resulting binary.
17075 hardcode_direct=$hardcode_direct
17076
17077 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17078 # DIR into the resulting binary and the resulting library dependency is
17079 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
17080 # library is relocated.
17081 hardcode_direct_absolute=$hardcode_direct_absolute
17082
17083 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17084 # into the resulting binary.
17085 hardcode_minus_L=$hardcode_minus_L
17086
17087 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17088 # into the resulting binary.
17089 hardcode_shlibpath_var=$hardcode_shlibpath_var
17090
17091 # Set to "yes" if building a shared library automatically hardcodes DIR
17092 # into the library and all subsequent libraries and executables linked
17093 # against it.
17094 hardcode_automatic=$hardcode_automatic
17095
17096 # Set to yes if linker adds runtime paths of dependent libraries
17097 # to runtime path list.
17098 inherit_rpath=$inherit_rpath
17099
17100 # Whether libtool must link a program against all its dependency libraries.
17101 link_all_deplibs=$link_all_deplibs
17102
17103 # Set to "yes" if exported symbols are required.
17104 always_export_symbols=$always_export_symbols
17105
17106 # The commands to list exported symbols.
17107 export_symbols_cmds=$lt_export_symbols_cmds
17108
17109 # Symbols that should not be listed in the preloaded symbols.
17110 exclude_expsyms=$lt_exclude_expsyms
17111
17112 # Symbols that must always be exported.
17113 include_expsyms=$lt_include_expsyms
17114
17115 # Commands necessary for linking programs (against libraries) with templates.
17116 prelink_cmds=$lt_prelink_cmds
17117
17118 # Commands necessary for finishing linking programs.
17119 postlink_cmds=$lt_postlink_cmds
17120
17121 # Specify filename containing input files.
17122 file_list_spec=$lt_file_list_spec
17123
17124 # How to hardcode a shared library path into an executable.
17125 hardcode_action=$hardcode_action
17126
17127 # ### END LIBTOOL CONFIG
17128
17129 _LT_EOF
17130
17131 cat <<'_LT_EOF' >> "$cfgfile"
17132
17133 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17134
17135 # func_munge_path_list VARIABLE PATH
17136 # -----------------------------------
17137 # VARIABLE is name of variable containing _space_ separated list of
17138 # directories to be munged by the contents of PATH, which is string
17139 # having a format:
17140 # "DIR[:DIR]:"
17141 # string "DIR[ DIR]" will be prepended to VARIABLE
17142 # ":DIR[:DIR]"
17143 # string "DIR[ DIR]" will be appended to VARIABLE
17144 # "DIRP[:DIRP]::[DIRA:]DIRA"
17145 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17146 # "DIRA[ DIRA]" will be appended to VARIABLE
17147 # "DIR[:DIR]"
17148 # VARIABLE will be replaced by "DIR[ DIR]"
17149 func_munge_path_list ()
17150 {
17151 case x$2 in
17152 x)
17153 ;;
17154 *:)
17155 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17156 ;;
17157 x:*)
17158 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17159 ;;
17160 *::*)
17161 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17162 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17163 ;;
17164 *)
17165 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17166 ;;
17167 esac
17168 }
17169
17170
17171 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17172 func_cc_basename ()
17173 {
17174 for cc_temp in $*""; do
17175 case $cc_temp in
17176 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17177 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17178 \-*) ;;
17179 *) break;;
17180 esac
17181 done
17182 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17183 }
17184
17185
17186 # ### END FUNCTIONS SHARED WITH CONFIGURE
17187
17188 _LT_EOF
17189
17190 case $host_os in
17191 aix3*)
17192 cat <<\_LT_EOF >> "$cfgfile"
17193 # AIX sometimes has problems with the GCC collect2 program. For some
17194 # reason, if we set the COLLECT_NAMES environment variable, the problems
17195 # vanish in a puff of smoke.
17196 if test set != "${COLLECT_NAMES+set}"; then
17197 COLLECT_NAMES=
17198 export COLLECT_NAMES
17199 fi
17200 _LT_EOF
17201 ;;
17202 esac
17203
17204
17205
17206 ltmain=$ac_aux_dir/ltmain.sh
17207
17208
17209 # We use sed instead of cat because bash on DJGPP gets confused if
17210 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17211 # text mode, it properly converts lines to CR/LF. This bash problem
17212 # is reportedly fixed, but why not run on old versions too?
17213 $SED '$q' "$ltmain" >> "$cfgfile" \
17214 || (rm -f "$cfgfile"; exit 1)
17215
17216 mv -f "$cfgfile" "$ofile" ||
17217 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17218 chmod +x "$ofile"
17219
17220
17221 as_fn_exit 0
17222 _LTEOF
17223 chmod +x "$CONFIG_LT"
17224
17225 # configure is writing to config.log, but config.lt does its own redirection,
17226 # appending to config.log, which fails on DOS, as config.log is still kept
17227 # open by configure. Here we exec the FD to /dev/null, effectively closing
17228 # config.log, so it can be properly (re)opened and appended to by config.lt.
17229 lt_cl_success=:
17230 test yes = "$silent" &&
17231 lt_config_lt_args="$lt_config_lt_args --quiet"
17232 exec 5>/dev/null
17233 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17234 exec 5>>config.log
17235 $lt_cl_success || as_fn_exit 1
17236
17237 #
17238 #
17239 ac_ext=c
17240 ac_cpp='$CPP $CPPFLAGS'
17241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17244 ac_link="./libtool --mode=link --tag=CC $ac_link"
17245
17246 if test -n "$ac_tool_prefix"; then
17247 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17248 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17250 printf %s "checking for $ac_word... " >&6; }
17251 if test ${ac_cv_prog_PKG_CONFIG+y}
17252 then :
17253 printf %s "(cached) " >&6
17254 else case e in #(
17255 e) if test -n "$PKG_CONFIG"; then
17256 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
17257 else
17258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17259 for as_dir in $PATH
17260 do
17261 IFS=$as_save_IFS
17262 case $as_dir in #(((
17263 '') as_dir=./ ;;
17264 */) ;;
17265 *) as_dir=$as_dir/ ;;
17266 esac
17267 for ac_exec_ext in '' $ac_executable_extensions; do
17268 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17269 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17271 break 2
17272 fi
17273 done
17274 done
17275 IFS=$as_save_IFS
17276
17277 fi ;;
17278 esac
17279 fi
17280 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17281 if test -n "$PKG_CONFIG"; then
17282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17283 printf "%s\n" "$PKG_CONFIG" >&6; }
17284 else
17285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17286 printf "%s\n" "no" >&6; }
17287 fi
17288
17289
17290 fi
17291 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17292 ac_ct_PKG_CONFIG=$PKG_CONFIG
17293 # Extract the first word of "pkg-config", so it can be a program name with args.
17294 set dummy pkg-config; ac_word=$2
17295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17296 printf %s "checking for $ac_word... " >&6; }
17297 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17298 then :
17299 printf %s "(cached) " >&6
17300 else case e in #(
17301 e) if test -n "$ac_ct_PKG_CONFIG"; then
17302 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17303 else
17304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17305 for as_dir in $PATH
17306 do
17307 IFS=$as_save_IFS
17308 case $as_dir in #(((
17309 '') as_dir=./ ;;
17310 */) ;;
17311 *) as_dir=$as_dir/ ;;
17312 esac
17313 for ac_exec_ext in '' $ac_executable_extensions; do
17314 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17315 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17317 break 2
17318 fi
17319 done
17320 done
17321 IFS=$as_save_IFS
17322
17323 fi ;;
17324 esac
17325 fi
17326 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17327 if test -n "$ac_ct_PKG_CONFIG"; then
17328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17329 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17330 else
17331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17332 printf "%s\n" "no" >&6; }
17333 fi
17334
17335 if test "x$ac_ct_PKG_CONFIG" = x; then
17336 PKG_CONFIG="false"
17337 else
17338 case $cross_compiling:$ac_tool_warned in
17339 yes:)
17340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17341 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17342 ac_tool_warned=yes ;;
17343 esac
17344 PKG_CONFIG=$ac_ct_PKG_CONFIG
17345 fi
17346 else
17347 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17348 fi
17349
17350 ##tldbg _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags.
17351 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
17352 ##tldbg _KPSE_LIB_FLAGS_TL: kpathsea (kpathsea) lt.
17353
17354 # Check whether --with-system-kpathsea was given.
17355 if test ${with_system_kpathsea+y}
17356 then :
17357 withval=$with_system_kpathsea;
17358 fi
17359 if test "x$with_system_kpathsea" = xyes; then
17360 if $PKG_CONFIG kpathsea; then
17361 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
17362 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
17363 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17364 as_fn_error $? "did not find kpathsea" "$LINENO" 5
17365 fi
17366 else
17367 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
17368 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
17369 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
17370 KPATHSEA_RULE='# Rebuild libkpathsea
17371 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
17372 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
17373 ${top_builddir}/../kpathsea/paths.h:
17374 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17375 fi
17376
17377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
17378 printf %s "checking if libkpathsea supports debugging... " >&6; }
17379 if test ${kpse_cv_kpse_debug+y}
17380 then :
17381 printf %s "(cached) " >&6
17382 else case e in #(
17383 e) eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17384 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17385
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 #include <kpathsea/kpathsea.h>
17389 int
17390 main (void)
17391 {
17392 FILE *f = fopen("f", "r")
17393 ;
17394 return 0;
17395 }
17396 _ACEOF
17397 if ac_fn_c_try_link "$LINENO"
17398 then :
17399 kpse_cv_kpse_debug=yes
17400 else case e in #(
17401 e) kpse_cv_kpse_debug=no ;;
17402 esac
17403 fi
17404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17405 conftest$ac_exeext conftest.$ac_ext
17406 CPPFLAGS=$kpse_save_CPPFLAGS
17407 LIBS=$kpse_save_LIBS
17408 ;;
17409 esac
17410 fi
17411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
17412 printf "%s\n" "$kpse_cv_kpse_debug" >&6; }
17413 if test "x$kpse_cv_kpse_debug" != xyes
17414 then :
17415 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
17416 fi
17417
17418
17419 ac_config_files="$ac_config_files Makefile"
17420
17421
17422 cat >confcache <<\_ACEOF
17423 # This file is a shell script that caches the results of configure
17424 # tests run on this system so they can be shared between configure
17425 # scripts and configure runs, see configure's option --config-cache.
17426 # It is not useful on other systems. If it contains results you don't
17427 # want to keep, you may remove or edit it.
17428 #
17429 # config.status only pays attention to the cache file if you give it
17430 # the --recheck option to rerun configure.
17431 #
17432 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
17433 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
17434 # following values.
17435
17436 _ACEOF
17437
17438 # The following way of writing the cache mishandles newlines in values,
17439 # but we know of no workaround that is simple, portable, and efficient.
17440 # So, we kill variables containing newlines.
17441 # Ultrix sh set writes to stderr and can't be redirected directly,
17442 # and sets the high bit in the cache file unless we assign to the vars.
17443 (
17444 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17445 eval ac_val=\$$ac_var
17446 case $ac_val in #(
17447 *${as_nl}*)
17448 case $ac_var in #(
17449 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17450 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17451 esac
17452 case $ac_var in #(
17453 _ | IFS | as_nl) ;; #(
17454 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17455 *) { eval $ac_var=; unset $ac_var;} ;;
17456 esac ;;
17457 esac
17458 done
17459
17460 (set) 2>&1 |
17461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17462 *${as_nl}ac_space=\ *)
17463 # 'set' does not quote correctly, so add quotes: double-quote
17464 # substitution turns \\\\ into \\, and sed turns \\ into \.
17465 sed -n \
17466 "s/'/'\\\\''/g;
17467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17468 ;; #(
17469 *)
17470 # 'set' quotes correctly as required by POSIX, so do not add quotes.
17471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17472 ;;
17473 esac |
17474 sort
17475 ) |
17476 sed '
17477 /^ac_cv_env_/b end
17478 t clear
17479 :clear
17480 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
17481 t end
17482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17483 :end' >>confcache
17484 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17485 if test -w "$cache_file"; then
17486 if test "x$cache_file" != "x/dev/null"; then
17487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17488 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
17489 if test ! -f "$cache_file" || test -h "$cache_file"; then
17490 cat confcache >"$cache_file"
17491 else
17492 case $cache_file in #(
17493 */* | ?:*)
17494 mv -f confcache "$cache_file"$$ &&
17495 mv -f "$cache_file"$$ "$cache_file" ;; #(
17496 *)
17497 mv -f confcache "$cache_file" ;;
17498 esac
17499 fi
17500 fi
17501 else
17502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17503 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
17504 fi
17505 fi
17506 rm -f confcache
17507
17508 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17509 # Let make expand exec_prefix.
17510 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17511
17512 DEFS=-DHAVE_CONFIG_H
17513
17514 ac_libobjs=
17515 ac_ltlibobjs=
17516 U=
17517 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17518 # 1. Remove the extension, and $U if already installed.
17519 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17520 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
17521 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17522 # will be set to the directory where LIBOBJS objects are built.
17523 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17524 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17525 done
17526 LIBOBJS=$ac_libobjs
17527
17528 LTLIBOBJS=$ac_ltlibobjs
17529
17530
17531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17532 printf %s "checking that generated files are newer than configure... " >&6; }
17533 if test -n "$am_sleep_pid"; then
17534 # Hide warnings about reused PIDs.
17535 wait $am_sleep_pid 2>/dev/null
17536 fi
17537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
17538 printf "%s\n" "done" >&6; }
17539 case $enable_silent_rules in # (((
17540 yes) AM_DEFAULT_VERBOSITY=0;;
17541 no) AM_DEFAULT_VERBOSITY=1;;
17542 esac
17543 if test $am_cv_make_support_nested_variables = yes; then
17544 AM_V='$(V)'
17545 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17546 else
17547 AM_V=$AM_DEFAULT_VERBOSITY
17548 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17549 fi
17550
17551 if test -n "$EXEEXT"; then
17552 am__EXEEXT_TRUE=
17553 am__EXEEXT_FALSE='#'
17554 else
17555 am__EXEEXT_TRUE='#'
17556 am__EXEEXT_FALSE=
17557 fi
17558
17559 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17560 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17562 fi
17563 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17564 as_fn_error $? "conditional \"AMDEP\" was never defined.
17565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17566 fi
17567 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17568 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17570 fi
17571 # Check whether --enable-year2038 was given.
17572 if test ${enable_year2038+y}
17573 then :
17574 enableval=$enable_year2038;
17575 fi
17576
17577
17578 : "${CONFIG_STATUS=./config.status}"
17579 ac_write_fail=0
17580 ac_clean_files_save=$ac_clean_files
17581 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17583 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17584 as_write_fail=0
17585 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17586 #! $SHELL
17587 # Generated by $as_me.
17588 # Run this file to recreate the current configuration.
17589 # Compiler output produced by configure, useful for debugging
17590 # configure, is in config.log if it exists.
17591
17592 debug=false
17593 ac_cs_recheck=false
17594 ac_cs_silent=false
17595
17596 SHELL=\${CONFIG_SHELL-$SHELL}
17597 export SHELL
17598 _ASEOF
17599 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17600 ## -------------------- ##
17601 ## M4sh Initialization. ##
17602 ## -------------------- ##
17603
17604 # Be more Bourne compatible
17605 DUALCASE=1; export DUALCASE # for MKS sh
17606 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17607 then :
17608 emulate sh
17609 NULLCMD=:
17610 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17611 # is contrary to our usage. Disable this feature.
17612 alias -g '${1+"$@"}'='"$@"'
17613 setopt NO_GLOB_SUBST
17614 else case e in #(
17615 e) case `(set -o) 2>/dev/null` in #(
17616 *posix*) :
17617 set -o posix ;; #(
17618 *) :
17619 ;;
17620 esac ;;
17621 esac
17622 fi
17623
17624
17625
17626 # Reset variables that may have inherited troublesome values from
17627 # the environment.
17628
17629 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17630 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17631 # side effect of setting IFS to empty, thus disabling word splitting.)
17632 # Quoting is to prevent editors from complaining about space-tab.
17633 as_nl='
17634 '
17635 export as_nl
17636 IFS=" "" $as_nl"
17637
17638 PS1='$ '
17639 PS2='> '
17640 PS4='+ '
17641
17642 # Ensure predictable behavior from utilities with locale-dependent output.
17643 LC_ALL=C
17644 export LC_ALL
17645 LANGUAGE=C
17646 export LANGUAGE
17647
17648 # We cannot yet rely on "unset" to work, but we need these variables
17649 # to be unset--not just set to an empty or harmless value--now, to
17650 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17651 # also avoids known problems related to "unset" and subshell syntax
17652 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17653 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17654 do eval test \${$as_var+y} \
17655 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17656 done
17657
17658 # Ensure that fds 0, 1, and 2 are open.
17659 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17660 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17661 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17662
17663 # The user is always right.
17664 if ${PATH_SEPARATOR+false} :; then
17665 PATH_SEPARATOR=:
17666 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17667 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17668 PATH_SEPARATOR=';'
17669 }
17670 fi
17671
17672
17673 # Find who we are. Look in the path if we contain no directory separator.
17674 as_myself=
17675 case $0 in #((
17676 *[\\/]* ) as_myself=$0 ;;
17677 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17678 for as_dir in $PATH
17679 do
17680 IFS=$as_save_IFS
17681 case $as_dir in #(((
17682 '') as_dir=./ ;;
17683 */) ;;
17684 *) as_dir=$as_dir/ ;;
17685 esac
17686 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17687 done
17688 IFS=$as_save_IFS
17689
17690 ;;
17691 esac
17692 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17693 # in which case we are not to be found in the path.
17694 if test "x$as_myself" = x; then
17695 as_myself=$0
17696 fi
17697 if test ! -f "$as_myself"; then
17698 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17699 exit 1
17700 fi
17701
17702
17703
17704 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17705 # ----------------------------------------
17706 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17707 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17708 # script with STATUS, using 1 if that was 0.
17709 as_fn_error ()
17710 {
17711 as_status=$1; test $as_status -eq 0 && as_status=1
17712 if test "$4"; then
17713 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17715 fi
17716 printf "%s\n" "$as_me: error: $2" >&2
17717 as_fn_exit $as_status
17718 } # as_fn_error
17719
17720
17721 # as_fn_set_status STATUS
17722 # -----------------------
17723 # Set $? to STATUS, without forking.
17724 as_fn_set_status ()
17725 {
17726 return $1
17727 } # as_fn_set_status
17728
17729 # as_fn_exit STATUS
17730 # -----------------
17731 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17732 as_fn_exit ()
17733 {
17734 set +e
17735 as_fn_set_status $1
17736 exit $1
17737 } # as_fn_exit
17738
17739 # as_fn_unset VAR
17740 # ---------------
17741 # Portably unset VAR.
17742 as_fn_unset ()
17743 {
17744 { eval $1=; unset $1;}
17745 }
17746 as_unset=as_fn_unset
17747
17748 # as_fn_append VAR VALUE
17749 # ----------------------
17750 # Append the text in VALUE to the end of the definition contained in VAR. Take
17751 # advantage of any shell optimizations that allow amortized linear growth over
17752 # repeated appends, instead of the typical quadratic growth present in naive
17753 # implementations.
17754 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17755 then :
17756 eval 'as_fn_append ()
17757 {
17758 eval $1+=\$2
17759 }'
17760 else case e in #(
17761 e) as_fn_append ()
17762 {
17763 eval $1=\$$1\$2
17764 } ;;
17765 esac
17766 fi # as_fn_append
17767
17768 # as_fn_arith ARG...
17769 # ------------------
17770 # Perform arithmetic evaluation on the ARGs, and store the result in the
17771 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17772 # must be portable across $(()) and expr.
17773 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17774 then :
17775 eval 'as_fn_arith ()
17776 {
17777 as_val=$(( $* ))
17778 }'
17779 else case e in #(
17780 e) as_fn_arith ()
17781 {
17782 as_val=`expr "$@" || test $? -eq 1`
17783 } ;;
17784 esac
17785 fi # as_fn_arith
17786
17787
17788 if expr a : '\(a\)' >/dev/null 2>&1 &&
17789 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17790 as_expr=expr
17791 else
17792 as_expr=false
17793 fi
17794
17795 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17796 as_basename=basename
17797 else
17798 as_basename=false
17799 fi
17800
17801 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17802 as_dirname=dirname
17803 else
17804 as_dirname=false
17805 fi
17806
17807 as_me=`$as_basename -- "$0" ||
17808 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17809 X"$0" : 'X\(//\)$' \| \
17810 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17811 printf "%s\n" X/"$0" |
17812 sed '/^.*\/\([^/][^/]*\)\/*$/{
17813 s//\1/
17814 q
17815 }
17816 /^X\/\(\/\/\)$/{
17817 s//\1/
17818 q
17819 }
17820 /^X\/\(\/\).*/{
17821 s//\1/
17822 q
17823 }
17824 s/.*/./; q'`
17825
17826 # Avoid depending upon Character Ranges.
17827 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17828 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17829 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17830 as_cr_digits='0123456789'
17831 as_cr_alnum=$as_cr_Letters$as_cr_digits
17832
17833
17834 # Determine whether it's possible to make 'echo' print without a newline.
17835 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17836 # for compatibility with existing Makefiles.
17837 ECHO_C= ECHO_N= ECHO_T=
17838 case `echo -n x` in #(((((
17839 -n*)
17840 case `echo 'xy\c'` in
17841 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17842 xy) ECHO_C='\c';;
17843 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17844 ECHO_T=' ';;
17845 esac;;
17846 *)
17847 ECHO_N='-n';;
17848 esac
17849
17850 # For backward compatibility with old third-party macros, we provide
17851 # the shell variables $as_echo and $as_echo_n. New code should use
17852 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
17853 as_echo='printf %s\n'
17854 as_echo_n='printf %s'
17855
17856 rm -f conf$$ conf$$.exe conf$$.file
17857 if test -d conf$$.dir; then
17858 rm -f conf$$.dir/conf$$.file
17859 else
17860 rm -f conf$$.dir
17861 mkdir conf$$.dir 2>/dev/null
17862 fi
17863 if (echo >conf$$.file) 2>/dev/null; then
17864 if ln -s conf$$.file conf$$ 2>/dev/null; then
17865 as_ln_s='ln -s'
17866 # ... but there are two gotchas:
17867 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
17868 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
17869 # In both cases, we have to default to 'cp -pR'.
17870 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17871 as_ln_s='cp -pR'
17872 elif ln conf$$.file conf$$ 2>/dev/null; then
17873 as_ln_s=ln
17874 else
17875 as_ln_s='cp -pR'
17876 fi
17877 else
17878 as_ln_s='cp -pR'
17879 fi
17880 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17881 rmdir conf$$.dir 2>/dev/null
17882
17883
17884 # as_fn_mkdir_p
17885 # -------------
17886 # Create "$as_dir" as a directory, including parents if necessary.
17887 as_fn_mkdir_p ()
17888 {
17889
17890 case $as_dir in #(
17891 -*) as_dir=./$as_dir;;
17892 esac
17893 test -d "$as_dir" || eval $as_mkdir_p || {
17894 as_dirs=
17895 while :; do
17896 case $as_dir in #(
17897 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17898 *) as_qdir=$as_dir;;
17899 esac
17900 as_dirs="'$as_qdir' $as_dirs"
17901 as_dir=`$as_dirname -- "$as_dir" ||
17902 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17903 X"$as_dir" : 'X\(//\)[^/]' \| \
17904 X"$as_dir" : 'X\(//\)$' \| \
17905 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17906 printf "%s\n" X"$as_dir" |
17907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17908 s//\1/
17909 q
17910 }
17911 /^X\(\/\/\)[^/].*/{
17912 s//\1/
17913 q
17914 }
17915 /^X\(\/\/\)$/{
17916 s//\1/
17917 q
17918 }
17919 /^X\(\/\).*/{
17920 s//\1/
17921 q
17922 }
17923 s/.*/./; q'`
17924 test -d "$as_dir" && break
17925 done
17926 test -z "$as_dirs" || eval "mkdir $as_dirs"
17927 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17928
17929
17930 } # as_fn_mkdir_p
17931 if mkdir -p . 2>/dev/null; then
17932 as_mkdir_p='mkdir -p "$as_dir"'
17933 else
17934 test -d ./-p && rmdir ./-p
17935 as_mkdir_p=false
17936 fi
17937
17938
17939 # as_fn_executable_p FILE
17940 # -----------------------
17941 # Test if FILE is an executable regular file.
17942 as_fn_executable_p ()
17943 {
17944 test -f "$1" && test -x "$1"
17945 } # as_fn_executable_p
17946 as_test_x='test -x'
17947 as_executable_p=as_fn_executable_p
17948
17949 # Sed expression to map a string onto a valid CPP name.
17950 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
17951 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
17952
17953 # Sed expression to map a string onto a valid variable name.
17954 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
17955 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
17956
17957
17958 exec 6>&1
17959 ## ----------------------------------- ##
17960 ## Main body of $CONFIG_STATUS script. ##
17961 ## ----------------------------------- ##
17962 _ASEOF
17963 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17964
17965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17966 # Save the log message, to keep $0 and so on meaningful, and to
17967 # report actual input values of CONFIG_FILES etc. instead of their
17968 # values after options handling.
17969 ac_log="
17970 This file was extended by ttfdump (TeX Live) $as_me 0.5.6, which was
17971 generated by GNU Autoconf 2.72. Invocation command line was
17972
17973 CONFIG_FILES = $CONFIG_FILES
17974 CONFIG_HEADERS = $CONFIG_HEADERS
17975 CONFIG_LINKS = $CONFIG_LINKS
17976 CONFIG_COMMANDS = $CONFIG_COMMANDS
17977 $ $0 $@
17978
17979 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17980 "
17981
17982 _ACEOF
17983
17984 case $ac_config_files in *"
17985 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17986 esac
17987
17988 case $ac_config_headers in *"
17989 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17990 esac
17991
17992
17993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17994 # Files that config.status was made for.
17995 config_files="$ac_config_files"
17996 config_headers="$ac_config_headers"
17997 config_commands="$ac_config_commands"
17998
17999 _ACEOF
18000
18001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18002 ac_cs_usage="\
18003 '$as_me' instantiates files and other configuration actions
18004 from templates according to the current configuration. Unless the files
18005 and actions are specified as TAGs, all are instantiated by default.
18006
18007 Usage: $0 [OPTION]... [TAG]...
18008
18009 -h, --help print this help, then exit
18010 -V, --version print version number and configuration settings, then exit
18011 --config print configuration, then exit
18012 -q, --quiet, --silent
18013 do not print progress messages
18014 -d, --debug don't remove temporary files
18015 --recheck update $as_me by reconfiguring in the same conditions
18016 --file=FILE[:TEMPLATE]
18017 instantiate the configuration file FILE
18018 --header=FILE[:TEMPLATE]
18019 instantiate the configuration header FILE
18020
18021 Configuration files:
18022 $config_files
18023
18024 Configuration headers:
18025 $config_headers
18026
18027 Configuration commands:
18028 $config_commands
18029
18030 Report bugs to <[email protected]>."
18031
18032 _ACEOF
18033 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
18034 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
18035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18036 ac_cs_config='$ac_cs_config_escaped'
18037 ac_cs_version="\\
18038 ttfdump (TeX Live) config.status 0.5.6
18039 configured by $0, generated by GNU Autoconf 2.72,
18040 with options \\"\$ac_cs_config\\"
18041
18042 Copyright (C) 2023 Free Software Foundation, Inc.
18043 This config.status script is free software; the Free Software Foundation
18044 gives unlimited permission to copy, distribute and modify it."
18045
18046 ac_pwd='$ac_pwd'
18047 srcdir='$srcdir'
18048 INSTALL='$INSTALL'
18049 MKDIR_P='$MKDIR_P'
18050 AWK='$AWK'
18051 test -n "\$AWK" || AWK=awk
18052 _ACEOF
18053
18054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18055 # The default lists apply if the user does not specify any file.
18056 ac_need_defaults=:
18057 while test $# != 0
18058 do
18059 case $1 in
18060 --*=?*)
18061 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18062 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18063 ac_shift=:
18064 ;;
18065 --*=)
18066 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18067 ac_optarg=
18068 ac_shift=:
18069 ;;
18070 *)
18071 ac_option=$1
18072 ac_optarg=$2
18073 ac_shift=shift
18074 ;;
18075 esac
18076
18077 case $ac_option in
18078 # Handling of the options.
18079 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18080 ac_cs_recheck=: ;;
18081 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18082 printf "%s\n" "$ac_cs_version"; exit ;;
18083 --config | --confi | --conf | --con | --co | --c )
18084 printf "%s\n" "$ac_cs_config"; exit ;;
18085 --debug | --debu | --deb | --de | --d | -d )
18086 debug=: ;;
18087 --file | --fil | --fi | --f )
18088 $ac_shift
18089 case $ac_optarg in
18090 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18091 '') as_fn_error $? "missing file argument" ;;
18092 esac
18093 as_fn_append CONFIG_FILES " '$ac_optarg'"
18094 ac_need_defaults=false;;
18095 --header | --heade | --head | --hea )
18096 $ac_shift
18097 case $ac_optarg in
18098 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18099 esac
18100 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18101 ac_need_defaults=false;;
18102 --he | --h)
18103 # Conflict between --help and --header
18104 as_fn_error $? "ambiguous option: '$1'
18105 Try '$0 --help' for more information.";;
18106 --help | --hel | -h )
18107 printf "%s\n" "$ac_cs_usage"; exit ;;
18108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18109 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18110 ac_cs_silent=: ;;
18111
18112 # This is an error.
18113 -*) as_fn_error $? "unrecognized option: '$1'
18114 Try '$0 --help' for more information." ;;
18115
18116 *) as_fn_append ac_config_targets " $1"
18117 ac_need_defaults=false ;;
18118
18119 esac
18120 shift
18121 done
18122
18123 ac_configure_extra_args=
18124
18125 if $ac_cs_silent; then
18126 exec 6>/dev/null
18127 ac_configure_extra_args="$ac_configure_extra_args --silent"
18128 fi
18129
18130 _ACEOF
18131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18132 if \$ac_cs_recheck; then
18133 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18134 shift
18135 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
18136 CONFIG_SHELL='$SHELL'
18137 export CONFIG_SHELL
18138 exec "\$@"
18139 fi
18140
18141 _ACEOF
18142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18143 exec 5>>config.log
18144 {
18145 echo
18146 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18147 ## Running $as_me. ##
18148 _ASBOX
18149 printf "%s\n" "$ac_log"
18150 } >&5
18151
18152 _ACEOF
18153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18154 #
18155 # INIT-COMMANDS
18156 #
18157 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18158
18159
18160 # The HP-UX ksh and POSIX shell print the target directory to stdout
18161 # if CDPATH is set.
18162 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18163
18164 sed_quote_subst='$sed_quote_subst'
18165 double_quote_subst='$double_quote_subst'
18166 delay_variable_subst='$delay_variable_subst'
18167 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18168 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18169 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18170 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18171 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18172 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18173 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18174 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18175 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18176 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18177 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18178 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18179 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18180 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18181 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18182 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18183 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18184 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18185 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18186 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18187 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18188 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18189 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18190 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18191 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18192 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18193 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18194 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18195 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18196 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18197 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18198 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18199 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18200 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18201 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18202 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18203 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18204 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
18205 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18206 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18207 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18208 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18209 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18210 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18211 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18212 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18213 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18214 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18215 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18216 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18217 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18218 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18219 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18220 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18221 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18222 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18223 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18224 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18225 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18226 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18227 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18228 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"`'
18229 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18230 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18231 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18232 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18233 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18234 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18235 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18236 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18237 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18238 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18239 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18240 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18241 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18242 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18243 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18244 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18245 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18246 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18247 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18248 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18249 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18250 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18251 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18252 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18253 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18254 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18255 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18256 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18257 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18258 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18259 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18260 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18261 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18262 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18263 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18264 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18265 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18266 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18267 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18268 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18269 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18270 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18271 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18272 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18273 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18274 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18275 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18276 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18277 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18278 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18279 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18280 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18281 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18282 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18283 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18284 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18285 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18286 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18287 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18288 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18289 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18290 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18291 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18292 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18293 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18294 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18295 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18296 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18297 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18298 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18299 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18300 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18301 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18302 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18303 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18304 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18305
18306 LTCC='$LTCC'
18307 LTCFLAGS='$LTCFLAGS'
18308 compiler='$compiler_DEFAULT'
18309
18310 # A function that is used when there is no print builtin or printf.
18311 func_fallback_echo ()
18312 {
18313 eval 'cat <<_LTECHO_EOF
18314 \$1
18315 _LTECHO_EOF'
18316 }
18317
18318 # Quote evaled strings.
18319 for var in AS \
18320 DLLTOOL \
18321 OBJDUMP \
18322 SHELL \
18323 ECHO \
18324 PATH_SEPARATOR \
18325 SED \
18326 GREP \
18327 EGREP \
18328 FGREP \
18329 LD \
18330 NM \
18331 LN_S \
18332 lt_SP2NL \
18333 lt_NL2SP \
18334 reload_flag \
18335 FILECMD \
18336 deplibs_check_method \
18337 file_magic_cmd \
18338 file_magic_glob \
18339 want_nocaseglob \
18340 sharedlib_from_linklib_cmd \
18341 AR \
18342 archiver_list_spec \
18343 STRIP \
18344 RANLIB \
18345 CC \
18346 CFLAGS \
18347 compiler \
18348 lt_cv_sys_global_symbol_pipe \
18349 lt_cv_sys_global_symbol_to_cdecl \
18350 lt_cv_sys_global_symbol_to_import \
18351 lt_cv_sys_global_symbol_to_c_name_address \
18352 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18353 lt_cv_nm_interface \
18354 nm_file_list_spec \
18355 lt_cv_truncate_bin \
18356 lt_prog_compiler_no_builtin_flag \
18357 lt_prog_compiler_pic \
18358 lt_prog_compiler_wl \
18359 lt_prog_compiler_static \
18360 lt_cv_prog_compiler_c_o \
18361 need_locks \
18362 MANIFEST_TOOL \
18363 DSYMUTIL \
18364 NMEDIT \
18365 LIPO \
18366 OTOOL \
18367 OTOOL64 \
18368 shrext_cmds \
18369 export_dynamic_flag_spec \
18370 whole_archive_flag_spec \
18371 compiler_needs_object \
18372 with_gnu_ld \
18373 allow_undefined_flag \
18374 no_undefined_flag \
18375 hardcode_libdir_flag_spec \
18376 hardcode_libdir_separator \
18377 exclude_expsyms \
18378 include_expsyms \
18379 file_list_spec \
18380 variables_saved_for_relink \
18381 libname_spec \
18382 library_names_spec \
18383 soname_spec \
18384 install_override_mode \
18385 finish_eval \
18386 old_striplib \
18387 striplib; do
18388 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18389 *[\\\\\\\`\\"\\\$]*)
18390 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18391 ;;
18392 *)
18393 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18394 ;;
18395 esac
18396 done
18397
18398 # Double-quote double-evaled strings.
18399 for var in reload_cmds \
18400 old_postinstall_cmds \
18401 old_postuninstall_cmds \
18402 old_archive_cmds \
18403 extract_expsyms_cmds \
18404 old_archive_from_new_cmds \
18405 old_archive_from_expsyms_cmds \
18406 archive_cmds \
18407 archive_expsym_cmds \
18408 module_cmds \
18409 module_expsym_cmds \
18410 export_symbols_cmds \
18411 prelink_cmds \
18412 postlink_cmds \
18413 postinstall_cmds \
18414 postuninstall_cmds \
18415 finish_cmds \
18416 sys_lib_search_path_spec \
18417 configure_time_dlsearch_path \
18418 configure_time_lt_sys_library_path; do
18419 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18420 *[\\\\\\\`\\"\\\$]*)
18421 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18422 ;;
18423 *)
18424 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18425 ;;
18426 esac
18427 done
18428
18429 ac_aux_dir='$ac_aux_dir'
18430
18431 # See if we are running on zsh, and set the options that allow our
18432 # commands through without removal of \ escapes INIT.
18433 if test -n "\${ZSH_VERSION+set}"; then
18434 setopt NO_GLOB_SUBST
18435 fi
18436
18437
18438 PACKAGE='$PACKAGE'
18439 VERSION='$VERSION'
18440 RM='$RM'
18441 ofile='$ofile'
18442
18443 ac_aux_dir='$ac_aux_dir'
18444
18445
18446
18447 _ACEOF
18448
18449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18450
18451 # Handling of arguments.
18452 for ac_config_target in $ac_config_targets
18453 do
18454 case $ac_config_target in
18455 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18456 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18457 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18458 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18459
18460 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
18461 esac
18462 done
18463
18464
18465 # If the user did not use the arguments to specify the items to instantiate,
18466 # then the envvar interface is used. Set only those that are not.
18467 # We use the long form for the default assignment because of an extremely
18468 # bizarre bug on SunOS 4.1.3.
18469 if $ac_need_defaults; then
18470 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18471 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18472 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18473 fi
18474
18475 # Have a temporary directory for convenience. Make it in the build tree
18476 # simply because there is no reason against having it here, and in addition,
18477 # creating and moving files from /tmp can sometimes cause problems.
18478 # Hook for its removal unless debugging.
18479 # Note that there is a small window in which the directory will not be cleaned:
18480 # after its creation but before its name has been assigned to '$tmp'.
18481 $debug ||
18482 {
18483 tmp= ac_tmp=
18484 trap 'exit_status=$?
18485 : "${ac_tmp:=$tmp}"
18486 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18487 ' 0
18488 trap 'as_fn_exit 1' 1 2 13 15
18489 }
18490 # Create a (secure) tmp directory for tmp files.
18491
18492 {
18493 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18494 test -d "$tmp"
18495 } ||
18496 {
18497 tmp=./conf$$-$RANDOM
18498 (umask 077 && mkdir "$tmp")
18499 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18500 ac_tmp=$tmp
18501
18502 # Set up the scripts for CONFIG_FILES section.
18503 # No need to generate them if there are no CONFIG_FILES.
18504 # This happens for instance with './config.status config.h'.
18505 if test -n "$CONFIG_FILES"; then
18506
18507
18508 ac_cr=`echo X | tr X '\015'`
18509 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18510 # But we know of no other shell where ac_cr would be empty at this
18511 # point, so we can use a bashism as a fallback.
18512 if test "x$ac_cr" = x; then
18513 eval ac_cr=\$\'\\r\'
18514 fi
18515 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18516 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18517 ac_cs_awk_cr='\\r'
18518 else
18519 ac_cs_awk_cr=$ac_cr
18520 fi
18521
18522 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18523 _ACEOF
18524
18525
18526 {
18527 echo "cat >conf$$subs.awk <<_ACEOF" &&
18528 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18529 echo "_ACEOF"
18530 } >conf$$subs.sh ||
18531 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18532 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18533 ac_delim='%!_!# '
18534 for ac_last_try in false false false false false :; do
18535 . ./conf$$subs.sh ||
18536 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18537
18538 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18539 if test $ac_delim_n = $ac_delim_num; then
18540 break
18541 elif $ac_last_try; then
18542 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18543 else
18544 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18545 fi
18546 done
18547 rm -f conf$$subs.sh
18548
18549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18550 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18551 _ACEOF
18552 sed -n '
18553 h
18554 s/^/S["/; s/!.*/"]=/
18555 p
18556 g
18557 s/^[^!]*!//
18558 :repl
18559 t repl
18560 s/'"$ac_delim"'$//
18561 t delim
18562 :nl
18563 h
18564 s/\(.\{148\}\)..*/\1/
18565 t more1
18566 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18567 p
18568 n
18569 b repl
18570 :more1
18571 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18572 p
18573 g
18574 s/.\{148\}//
18575 t nl
18576 :delim
18577 h
18578 s/\(.\{148\}\)..*/\1/
18579 t more2
18580 s/["\\]/\\&/g; s/^/"/; s/$/"/
18581 p
18582 b
18583 :more2
18584 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18585 p
18586 g
18587 s/.\{148\}//
18588 t delim
18589 ' <conf$$subs.awk | sed '
18590 /^[^""]/{
18591 N
18592 s/\n//
18593 }
18594 ' >>$CONFIG_STATUS || ac_write_fail=1
18595 rm -f conf$$subs.awk
18596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18597 _ACAWK
18598 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18599 for (key in S) S_is_set[key] = 1
18600 FS = ""
18601
18602 }
18603 {
18604 line = $ 0
18605 nfields = split(line, field, "@")
18606 substed = 0
18607 len = length(field[1])
18608 for (i = 2; i < nfields; i++) {
18609 key = field[i]
18610 keylen = length(key)
18611 if (S_is_set[key]) {
18612 value = S[key]
18613 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18614 len += length(value) + length(field[++i])
18615 substed = 1
18616 } else
18617 len += 1 + keylen
18618 }
18619
18620 print line
18621 }
18622
18623 _ACAWK
18624 _ACEOF
18625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18626 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18627 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18628 else
18629 cat
18630 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18631 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18632 _ACEOF
18633
18634 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18635 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18636 # trailing colons and then remove the whole line if VPATH becomes empty
18637 # (actually we leave an empty line to preserve line numbers).
18638 if test "x$srcdir" = x.; then
18639 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18640 h
18641 s///
18642 s/^/:/
18643 s/[ ]*$/:/
18644 s/:\$(srcdir):/:/g
18645 s/:\${srcdir}:/:/g
18646 s/:@srcdir@:/:/g
18647 s/^:*//
18648 s/:*$//
18649 x
18650 s/\(=[ ]*\).*/\1/
18651 G
18652 s/\n//
18653 s/^[^=]*=[ ]*$//
18654 }'
18655 fi
18656
18657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18658 fi # test -n "$CONFIG_FILES"
18659
18660 # Set up the scripts for CONFIG_HEADERS section.
18661 # No need to generate them if there are no CONFIG_HEADERS.
18662 # This happens for instance with './config.status Makefile'.
18663 if test -n "$CONFIG_HEADERS"; then
18664 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18665 BEGIN {
18666 _ACEOF
18667
18668 # Transform confdefs.h into an awk script 'defines.awk', embedded as
18669 # here-document in config.status, that substitutes the proper values into
18670 # config.h.in to produce config.h.
18671
18672 # Create a delimiter string that does not exist in confdefs.h, to ease
18673 # handling of long lines.
18674 ac_delim='%!_!# '
18675 for ac_last_try in false false :; do
18676 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18677 if test -z "$ac_tt"; then
18678 break
18679 elif $ac_last_try; then
18680 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18681 else
18682 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18683 fi
18684 done
18685
18686 # For the awk script, D is an array of macro values keyed by name,
18687 # likewise P contains macro parameters if any. Preserve backslash
18688 # newline sequences.
18689
18690 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18691 sed -n '
18692 s/.\{148\}/&'"$ac_delim"'/g
18693 t rset
18694 :rset
18695 s/^[ ]*#[ ]*define[ ][ ]*/ /
18696 t def
18697 d
18698 :def
18699 s/\\$//
18700 t bsnl
18701 s/["\\]/\\&/g
18702 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18703 D["\1"]=" \3"/p
18704 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18705 d
18706 :bsnl
18707 s/["\\]/\\&/g
18708 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18709 D["\1"]=" \3\\\\\\n"\\/p
18710 t cont
18711 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18712 t cont
18713 d
18714 :cont
18715 n
18716 s/.\{148\}/&'"$ac_delim"'/g
18717 t clear
18718 :clear
18719 s/\\$//
18720 t bsnlc
18721 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18722 d
18723 :bsnlc
18724 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18725 b cont
18726 ' <confdefs.h | sed '
18727 s/'"$ac_delim"'/"\\\
18728 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18729
18730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18731 for (key in D) D_is_set[key] = 1
18732 FS = ""
18733 }
18734 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18735 line = \$ 0
18736 split(line, arg, " ")
18737 if (arg[1] == "#") {
18738 defundef = arg[2]
18739 mac1 = arg[3]
18740 } else {
18741 defundef = substr(arg[1], 2)
18742 mac1 = arg[2]
18743 }
18744 split(mac1, mac2, "(") #)
18745 macro = mac2[1]
18746 prefix = substr(line, 1, index(line, defundef) - 1)
18747 if (D_is_set[macro]) {
18748 # Preserve the white space surrounding the "#".
18749 print prefix "define", macro P[macro] D[macro]
18750 next
18751 } else {
18752 # Replace #undef with comments. This is necessary, for example,
18753 # in the case of _POSIX_SOURCE, which is predefined and required
18754 # on some systems where configure will not decide to define it.
18755 if (defundef == "undef") {
18756 print "/*", prefix defundef, macro, "*/"
18757 next
18758 }
18759 }
18760 }
18761 { print }
18762 _ACAWK
18763 _ACEOF
18764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18765 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18766 fi # test -n "$CONFIG_HEADERS"
18767
18768
18769 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18770 shift
18771 for ac_tag
18772 do
18773 case $ac_tag in
18774 :[FHLC]) ac_mode=$ac_tag; continue;;
18775 esac
18776 case $ac_mode$ac_tag in
18777 :[FHL]*:*);;
18778 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
18779 :[FH]-) ac_tag=-:-;;
18780 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18781 esac
18782 ac_save_IFS=$IFS
18783 IFS=:
18784 set x $ac_tag
18785 IFS=$ac_save_IFS
18786 shift
18787 ac_file=$1
18788 shift
18789
18790 case $ac_mode in
18791 :L) ac_source=$1;;
18792 :[FH])
18793 ac_file_inputs=
18794 for ac_f
18795 do
18796 case $ac_f in
18797 -) ac_f="$ac_tmp/stdin";;
18798 *) # Look for the file first in the build tree, then in the source tree
18799 # (if the path is not absolute). The absolute path cannot be DOS-style,
18800 # because $ac_f cannot contain ':'.
18801 test -f "$ac_f" ||
18802 case $ac_f in
18803 [\\/$]*) false;;
18804 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18805 esac ||
18806 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
18807 esac
18808 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18809 as_fn_append ac_file_inputs " '$ac_f'"
18810 done
18811
18812 # Let's still pretend it is 'configure' which instantiates (i.e., don't
18813 # use $as_me), people would be surprised to read:
18814 # /* config.h. Generated by config.status. */
18815 configure_input='Generated from '`
18816 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18817 `' by configure.'
18818 if test x"$ac_file" != x-; then
18819 configure_input="$ac_file. $configure_input"
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18821 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18822 fi
18823 # Neutralize special characters interpreted by sed in replacement strings.
18824 case $configure_input in #(
18825 *\&* | *\|* | *\\* )
18826 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18827 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18828 *) ac_sed_conf_input=$configure_input;;
18829 esac
18830
18831 case $ac_tag in
18832 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18834 esac
18835 ;;
18836 esac
18837
18838 ac_dir=`$as_dirname -- "$ac_file" ||
18839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18840 X"$ac_file" : 'X\(//\)[^/]' \| \
18841 X"$ac_file" : 'X\(//\)$' \| \
18842 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18843 printf "%s\n" X"$ac_file" |
18844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18845 s//\1/
18846 q
18847 }
18848 /^X\(\/\/\)[^/].*/{
18849 s//\1/
18850 q
18851 }
18852 /^X\(\/\/\)$/{
18853 s//\1/
18854 q
18855 }
18856 /^X\(\/\).*/{
18857 s//\1/
18858 q
18859 }
18860 s/.*/./; q'`
18861 as_dir="$ac_dir"; as_fn_mkdir_p
18862 ac_builddir=.
18863
18864 case "$ac_dir" in
18865 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18866 *)
18867 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
18868 # A ".." for each directory in $ac_dir_suffix.
18869 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18870 case $ac_top_builddir_sub in
18871 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18872 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18873 esac ;;
18874 esac
18875 ac_abs_top_builddir=$ac_pwd
18876 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18877 # for backward compatibility:
18878 ac_top_builddir=$ac_top_build_prefix
18879
18880 case $srcdir in
18881 .) # We are building in place.
18882 ac_srcdir=.
18883 ac_top_srcdir=$ac_top_builddir_sub
18884 ac_abs_top_srcdir=$ac_pwd ;;
18885 [\\/]* | ?:[\\/]* ) # Absolute name.
18886 ac_srcdir=$srcdir$ac_dir_suffix;
18887 ac_top_srcdir=$srcdir
18888 ac_abs_top_srcdir=$srcdir ;;
18889 *) # Relative name.
18890 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18891 ac_top_srcdir=$ac_top_build_prefix$srcdir
18892 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18893 esac
18894 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18895
18896
18897 case $ac_mode in
18898 :F)
18899 #
18900 # CONFIG_FILE
18901 #
18902
18903 case $INSTALL in
18904 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18905 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18906 esac
18907 ac_MKDIR_P=$MKDIR_P
18908 case $MKDIR_P in
18909 [\\/$]* | ?:[\\/]* ) ;;
18910 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18911 esac
18912 _ACEOF
18913
18914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18915 # If the template does not know about datarootdir, expand it.
18916 # FIXME: This hack should be removed a few years after 2.60.
18917 ac_datarootdir_hack=; ac_datarootdir_seen=
18918 ac_sed_dataroot='
18919 /datarootdir/ {
18920 p
18921 q
18922 }
18923 /@datadir@/p
18924 /@docdir@/p
18925 /@infodir@/p
18926 /@localedir@/p
18927 /@mandir@/p'
18928 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18929 *datarootdir*) ac_datarootdir_seen=yes;;
18930 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18932 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18933 _ACEOF
18934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18935 ac_datarootdir_hack='
18936 s&@datadir@&$datadir&g
18937 s&@docdir@&$docdir&g
18938 s&@infodir@&$infodir&g
18939 s&@localedir@&$localedir&g
18940 s&@mandir@&$mandir&g
18941 s&\\\${datarootdir}&$datarootdir&g' ;;
18942 esac
18943 _ACEOF
18944
18945 # Neutralize VPATH when '$srcdir' = '.'.
18946 # Shell code in configure.ac might set extrasub.
18947 # FIXME: do we really want to maintain this feature?
18948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18949 ac_sed_extra="$ac_vpsub
18950 $extrasub
18951 _ACEOF
18952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18953 :t
18954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18955 s|@configure_input@|$ac_sed_conf_input|;t t
18956 s&@top_builddir@&$ac_top_builddir_sub&;t t
18957 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18958 s&@srcdir@&$ac_srcdir&;t t
18959 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18960 s&@top_srcdir@&$ac_top_srcdir&;t t
18961 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18962 s&@builddir@&$ac_builddir&;t t
18963 s&@abs_builddir@&$ac_abs_builddir&;t t
18964 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18965 s&@INSTALL@&$ac_INSTALL&;t t
18966 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18967 $ac_datarootdir_hack
18968 "
18969 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18970 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18971
18972 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18973 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18974 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18975 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18977 which seems to be undefined. Please make sure it is defined" >&5
18978 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18979 which seems to be undefined. Please make sure it is defined" >&2;}
18980
18981 rm -f "$ac_tmp/stdin"
18982 case $ac_file in
18983 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18984 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18985 esac \
18986 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18987 ;;
18988 :H)
18989 #
18990 # CONFIG_HEADER
18991 #
18992 if test x"$ac_file" != x-; then
18993 {
18994 printf "%s\n" "/* $configure_input */" >&1 \
18995 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18996 } >"$ac_tmp/config.h" \
18997 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18998 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19000 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
19001 else
19002 rm -f "$ac_file"
19003 mv "$ac_tmp/config.h" "$ac_file" \
19004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19005 fi
19006 else
19007 printf "%s\n" "/* $configure_input */" >&1 \
19008 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19009 || as_fn_error $? "could not create -" "$LINENO" 5
19010 fi
19011 # Compute "$ac_file"'s index in $config_headers.
19012 _am_arg="$ac_file"
19013 _am_stamp_count=1
19014 for _am_header in $config_headers :; do
19015 case $_am_header in
19016 $_am_arg | $_am_arg:* )
19017 break ;;
19018 * )
19019 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19020 esac
19021 done
19022 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19023 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19024 X"$_am_arg" : 'X\(//\)[^/]' \| \
19025 X"$_am_arg" : 'X\(//\)$' \| \
19026 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19027 printf "%s\n" X"$_am_arg" |
19028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19029 s//\1/
19030 q
19031 }
19032 /^X\(\/\/\)[^/].*/{
19033 s//\1/
19034 q
19035 }
19036 /^X\(\/\/\)$/{
19037 s//\1/
19038 q
19039 }
19040 /^X\(\/\).*/{
19041 s//\1/
19042 q
19043 }
19044 s/.*/./; q'`/stamp-h$_am_stamp_count
19045 ;;
19046
19047 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19048 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
19049 ;;
19050 esac
19051
19052
19053 case $ac_file$ac_mode in
19054 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19055 # Older Autoconf quotes --file arguments for eval, but not when files
19056 # are listed without --file. Let's play safe and only enable the eval
19057 # if we detect the quoting.
19058 # TODO: see whether this extra hack can be removed once we start
19059 # requiring Autoconf 2.70 or later.
19060 case $CONFIG_FILES in #(
19061 *\'*) :
19062 eval set x "$CONFIG_FILES" ;; #(
19063 *) :
19064 set x $CONFIG_FILES ;; #(
19065 *) :
19066 ;;
19067 esac
19068 shift
19069 # Used to flag and report bootstrapping failures.
19070 am_rc=0
19071 for am_mf
19072 do
19073 # Strip MF so we end up with the name of the file.
19074 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
19075 # Check whether this is an Automake generated Makefile which includes
19076 # dependency-tracking related rules and includes.
19077 # Grep'ing the whole file directly is not great: AIX grep has a line
19078 # limit of 2048, but all sed's we know have understand at least 4000.
19079 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19080 || continue
19081 am_dirpart=`$as_dirname -- "$am_mf" ||
19082 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19083 X"$am_mf" : 'X\(//\)[^/]' \| \
19084 X"$am_mf" : 'X\(//\)$' \| \
19085 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19086 printf "%s\n" X"$am_mf" |
19087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19088 s//\1/
19089 q
19090 }
19091 /^X\(\/\/\)[^/].*/{
19092 s//\1/
19093 q
19094 }
19095 /^X\(\/\/\)$/{
19096 s//\1/
19097 q
19098 }
19099 /^X\(\/\).*/{
19100 s//\1/
19101 q
19102 }
19103 s/.*/./; q'`
19104 am_filepart=`$as_basename -- "$am_mf" ||
19105 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19106 X"$am_mf" : 'X\(//\)$' \| \
19107 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19108 printf "%s\n" X/"$am_mf" |
19109 sed '/^.*\/\([^/][^/]*\)\/*$/{
19110 s//\1/
19111 q
19112 }
19113 /^X\/\(\/\/\)$/{
19114 s//\1/
19115 q
19116 }
19117 /^X\/\(\/\).*/{
19118 s//\1/
19119 q
19120 }
19121 s/.*/./; q'`
19122 { echo "$as_me:$LINENO: cd "$am_dirpart" \
19123 && sed -e '/# am--include-marker/d' "$am_filepart" \
19124 | $MAKE -f - am--depfiles" >&5
19125 (cd "$am_dirpart" \
19126 && sed -e '/# am--include-marker/d' "$am_filepart" \
19127 | $MAKE -f - am--depfiles) >&5 2>&5
19128 ac_status=$?
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); } || am_rc=$?
19131 done
19132 if test $am_rc -ne 0; then
19133 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
19134 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
19135 as_fn_error $? "Something went wrong bootstrapping makefile fragments
19136 for automatic dependency tracking. If GNU make was not used, consider
19137 re-running the configure script with MAKE=\"gmake\" (or whatever is
19138 necessary). You can also try re-running configure with the
19139 '--disable-dependency-tracking' option to at least be able to build
19140 the package (albeit without support for automatic dependency tracking).
19141 See 'config.log' for more details" "$LINENO" 5; }
19142 fi
19143 { am_dirpart=; unset am_dirpart;}
19144 { am_filepart=; unset am_filepart;}
19145 { am_mf=; unset am_mf;}
19146 { am_rc=; unset am_rc;}
19147 rm -f conftest-deps.mk
19148 }
19149 ;;
19150 "libtool":C)
19151
19152 # See if we are running on zsh, and set the options that allow our
19153 # commands through without removal of \ escapes.
19154 if test -n "${ZSH_VERSION+set}"; then
19155 setopt NO_GLOB_SUBST
19156 fi
19157
19158 cfgfile=${ofile}T
19159 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19160 $RM "$cfgfile"
19161
19162 cat <<_LT_EOF >> "$cfgfile"
19163 #! $SHELL
19164 # Generated automatically by $as_me ($PACKAGE) $VERSION
19165 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19166
19167 # Provide generalized library-building support services.
19168 # Written by Gordon Matzigkeit, 1996
19169
19170 # Copyright (C) 2024 Free Software Foundation, Inc.
19171 # This is free software; see the source for copying conditions. There is NO
19172 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19173
19174 # GNU Libtool is free software; you can redistribute it and/or modify
19175 # it under the terms of the GNU General Public License as published by
19176 # the Free Software Foundation; either version 2 of the License, or
19177 # (at your option) any later version.
19178 #
19179 # As a special exception to the GNU General Public License, if you
19180 # distribute this file as part of a program or library that is built
19181 # using GNU Libtool, you may include this file under the same
19182 # distribution terms that you use for the rest of that program.
19183 #
19184 # GNU Libtool is distributed in the hope that it will be useful, but
19185 # WITHOUT ANY WARRANTY; without even the implied warranty of
19186 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19187 # GNU General Public License for more details.
19188 #
19189 # You should have received a copy of the GNU General Public License
19190 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19191
19192
19193 # The names of the tagged configurations supported by this script.
19194 available_tags=''
19195
19196 # Configured defaults for sys_lib_dlsearch_path munging.
19197 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19198
19199 # ### BEGIN LIBTOOL CONFIG
19200
19201 # Which release of libtool.m4 was used?
19202 macro_version=$macro_version
19203 macro_revision=$macro_revision
19204
19205 # Assembler program.
19206 AS=$lt_AS
19207
19208 # DLL creation program.
19209 DLLTOOL=$lt_DLLTOOL
19210
19211 # Object dumper program.
19212 OBJDUMP=$lt_OBJDUMP
19213
19214 # Whether or not to build shared libraries.
19215 build_libtool_libs=$enable_shared
19216
19217 # Whether or not to build static libraries.
19218 build_old_libs=$enable_static
19219
19220 # What type of objects to build.
19221 pic_mode=$pic_mode
19222
19223 # Whether or not to optimize for fast installation.
19224 fast_install=$enable_fast_install
19225
19226 # Shared archive member basename,for filename based shared library versioning on AIX.
19227 shared_archive_member_spec=$shared_archive_member_spec
19228
19229 # Shell to use when invoking shell scripts.
19230 SHELL=$lt_SHELL
19231
19232 # An echo program that protects backslashes.
19233 ECHO=$lt_ECHO
19234
19235 # The PATH separator for the build system.
19236 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19237
19238 # The host system.
19239 host_alias=$host_alias
19240 host=$host
19241 host_os=$host_os
19242
19243 # The build system.
19244 build_alias=$build_alias
19245 build=$build
19246 build_os=$build_os
19247
19248 # A sed program that does not truncate output.
19249 SED=$lt_SED
19250
19251 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19252 Xsed="\$SED -e 1s/^X//"
19253
19254 # A grep program that handles long lines.
19255 GREP=$lt_GREP
19256
19257 # An ERE matcher.
19258 EGREP=$lt_EGREP
19259
19260 # A literal string matcher.
19261 FGREP=$lt_FGREP
19262
19263 # A BSD- or MS-compatible name lister.
19264 NM=$lt_NM
19265
19266 # Whether we need soft or hard links.
19267 LN_S=$lt_LN_S
19268
19269 # What is the maximum length of a command?
19270 max_cmd_len=$max_cmd_len
19271
19272 # Object file suffix (normally "o").
19273 objext=$ac_objext
19274
19275 # Executable file suffix (normally "").
19276 exeext=$exeext
19277
19278 # whether the shell understands "unset".
19279 lt_unset=$lt_unset
19280
19281 # turn spaces into newlines.
19282 SP2NL=$lt_lt_SP2NL
19283
19284 # turn newlines into spaces.
19285 NL2SP=$lt_lt_NL2SP
19286
19287 # convert \$build file names to \$host format.
19288 to_host_file_cmd=$lt_cv_to_host_file_cmd
19289
19290 # convert \$build files to toolchain format.
19291 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19292
19293 # A file(cmd) program that detects file types.
19294 FILECMD=$lt_FILECMD
19295
19296 # Method to check whether dependent libraries are shared objects.
19297 deplibs_check_method=$lt_deplibs_check_method
19298
19299 # Command to use when deplibs_check_method = "file_magic".
19300 file_magic_cmd=$lt_file_magic_cmd
19301
19302 # How to find potential files when deplibs_check_method = "file_magic".
19303 file_magic_glob=$lt_file_magic_glob
19304
19305 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19306 want_nocaseglob=$lt_want_nocaseglob
19307
19308 # Command to associate shared and link libraries.
19309 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19310
19311 # The archiver.
19312 AR=$lt_AR
19313
19314 # Flags to create an archive (by configure).
19315 lt_ar_flags=$lt_ar_flags
19316
19317 # Flags to create an archive.
19318 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19319
19320 # How to feed a file listing to the archiver.
19321 archiver_list_spec=$lt_archiver_list_spec
19322
19323 # A symbol stripping program.
19324 STRIP=$lt_STRIP
19325
19326 # Commands used to install an old-style archive.
19327 RANLIB=$lt_RANLIB
19328 old_postinstall_cmds=$lt_old_postinstall_cmds
19329 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19330
19331 # Whether to use a lock for old archive extraction.
19332 lock_old_archive_extraction=$lock_old_archive_extraction
19333
19334 # A C compiler.
19335 LTCC=$lt_CC
19336
19337 # LTCC compiler flags.
19338 LTCFLAGS=$lt_CFLAGS
19339
19340 # Take the output of nm and produce a listing of raw symbols and C names.
19341 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19342
19343 # Transform the output of nm in a proper C declaration.
19344 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19345
19346 # Transform the output of nm into a list of symbols to manually relocate.
19347 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19348
19349 # Transform the output of nm in a C name address pair.
19350 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19351
19352 # Transform the output of nm in a C name address pair when lib prefix is needed.
19353 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19354
19355 # The name lister interface.
19356 nm_interface=$lt_lt_cv_nm_interface
19357
19358 # Specify filename containing input files for \$NM.
19359 nm_file_list_spec=$lt_nm_file_list_spec
19360
19361 # The root where to search for dependent libraries,and where our libraries should be installed.
19362 lt_sysroot=$lt_sysroot
19363
19364 # Command to truncate a binary pipe.
19365 lt_truncate_bin=$lt_lt_cv_truncate_bin
19366
19367 # The name of the directory that contains temporary libtool files.
19368 objdir=$objdir
19369
19370 # Used to examine libraries when file_magic_cmd begins with "file".
19371 MAGIC_CMD=$MAGIC_CMD
19372
19373 # Must we lock files when doing compilation?
19374 need_locks=$lt_need_locks
19375
19376 # Manifest tool.
19377 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19378
19379 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19380 DSYMUTIL=$lt_DSYMUTIL
19381
19382 # Tool to change global to local symbols on Mac OS X.
19383 NMEDIT=$lt_NMEDIT
19384
19385 # Tool to manipulate fat objects and archives on Mac OS X.
19386 LIPO=$lt_LIPO
19387
19388 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19389 OTOOL=$lt_OTOOL
19390
19391 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19392 OTOOL64=$lt_OTOOL64
19393
19394 # Old archive suffix (normally "a").
19395 libext=$libext
19396
19397 # Shared library suffix (normally ".so").
19398 shrext_cmds=$lt_shrext_cmds
19399
19400 # The commands to extract the exported symbol list from a shared archive.
19401 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19402
19403 # Variables whose values should be saved in libtool wrapper scripts and
19404 # restored at link time.
19405 variables_saved_for_relink=$lt_variables_saved_for_relink
19406
19407 # Do we need the "lib" prefix for modules?
19408 need_lib_prefix=$need_lib_prefix
19409
19410 # Do we need a version for libraries?
19411 need_version=$need_version
19412
19413 # Library versioning type.
19414 version_type=$version_type
19415
19416 # Shared library runtime path variable.
19417 runpath_var=$runpath_var
19418
19419 # Shared library path variable.
19420 shlibpath_var=$shlibpath_var
19421
19422 # Is shlibpath searched before the hard-coded library search path?
19423 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19424
19425 # Format of library name prefix.
19426 libname_spec=$lt_libname_spec
19427
19428 # List of archive names. First name is the real one, the rest are links.
19429 # The last name is the one that the linker finds with -lNAME
19430 library_names_spec=$lt_library_names_spec
19431
19432 # The coded name of the library, if different from the real name.
19433 soname_spec=$lt_soname_spec
19434
19435 # Permission mode override for installation of shared libraries.
19436 install_override_mode=$lt_install_override_mode
19437
19438 # Command to use after installation of a shared archive.
19439 postinstall_cmds=$lt_postinstall_cmds
19440
19441 # Command to use after uninstallation of a shared archive.
19442 postuninstall_cmds=$lt_postuninstall_cmds
19443
19444 # Commands used to finish a libtool library installation in a directory.
19445 finish_cmds=$lt_finish_cmds
19446
19447 # As "finish_cmds", except a single script fragment to be evaled but
19448 # not shown.
19449 finish_eval=$lt_finish_eval
19450
19451 # Whether we should hardcode library paths into libraries.
19452 hardcode_into_libs=$hardcode_into_libs
19453
19454 # Compile-time system search path for libraries.
19455 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19456
19457 # Detected run-time system search path for libraries.
19458 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19459
19460 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19461 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19462
19463 # Whether dlopen is supported.
19464 dlopen_support=$enable_dlopen
19465
19466 # Whether dlopen of programs is supported.
19467 dlopen_self=$enable_dlopen_self
19468
19469 # Whether dlopen of statically linked programs is supported.
19470 dlopen_self_static=$enable_dlopen_self_static
19471
19472 # Commands to strip libraries.
19473 old_striplib=$lt_old_striplib
19474 striplib=$lt_striplib
19475
19476
19477 # The linker used to build libraries.
19478 LD=$lt_LD
19479
19480 # How to create reloadable object files.
19481 reload_flag=$lt_reload_flag
19482 reload_cmds=$lt_reload_cmds
19483
19484 # Commands used to build an old-style archive.
19485 old_archive_cmds=$lt_old_archive_cmds
19486
19487 # A language specific compiler.
19488 CC=$lt_compiler
19489
19490 # Is the compiler the GNU compiler?
19491 with_gcc=$GCC
19492
19493 # Compiler flag to turn off builtin functions.
19494 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19495
19496 # Additional compiler flags for building library objects.
19497 pic_flag=$lt_lt_prog_compiler_pic
19498
19499 # How to pass a linker flag through the compiler.
19500 wl=$lt_lt_prog_compiler_wl
19501
19502 # Compiler flag to prevent dynamic linking.
19503 link_static_flag=$lt_lt_prog_compiler_static
19504
19505 # Does compiler simultaneously support -c and -o options?
19506 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19507
19508 # Whether or not to add -lc for building shared libraries.
19509 build_libtool_need_lc=$archive_cmds_need_lc
19510
19511 # Whether or not to disallow shared libs when runtime libs are static.
19512 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19513
19514 # Compiler flag to allow reflexive dlopens.
19515 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19516
19517 # Compiler flag to generate shared objects directly from archives.
19518 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19519
19520 # Whether the compiler copes with passing no objects directly.
19521 compiler_needs_object=$lt_compiler_needs_object
19522
19523 # Create an old-style archive from a shared archive.
19524 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19525
19526 # Create a temporary old-style archive to link instead of a shared archive.
19527 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19528
19529 # Commands used to build a shared archive.
19530 archive_cmds=$lt_archive_cmds
19531 archive_expsym_cmds=$lt_archive_expsym_cmds
19532
19533 # Commands used to build a loadable module if different from building
19534 # a shared archive.
19535 module_cmds=$lt_module_cmds
19536 module_expsym_cmds=$lt_module_expsym_cmds
19537
19538 # Whether we are building with GNU ld or not.
19539 with_gnu_ld=$lt_with_gnu_ld
19540
19541 # Flag that allows shared libraries with undefined symbols to be built.
19542 allow_undefined_flag=$lt_allow_undefined_flag
19543
19544 # Flag that enforces no undefined symbols.
19545 no_undefined_flag=$lt_no_undefined_flag
19546
19547 # Flag to hardcode \$libdir into a binary during linking.
19548 # This must work even if \$libdir does not exist
19549 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19550
19551 # Whether we need a single "-rpath" flag with a separated argument.
19552 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19553
19554 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19555 # DIR into the resulting binary.
19556 hardcode_direct=$hardcode_direct
19557
19558 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19559 # DIR into the resulting binary and the resulting library dependency is
19560 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
19561 # library is relocated.
19562 hardcode_direct_absolute=$hardcode_direct_absolute
19563
19564 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19565 # into the resulting binary.
19566 hardcode_minus_L=$hardcode_minus_L
19567
19568 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19569 # into the resulting binary.
19570 hardcode_shlibpath_var=$hardcode_shlibpath_var
19571
19572 # Set to "yes" if building a shared library automatically hardcodes DIR
19573 # into the library and all subsequent libraries and executables linked
19574 # against it.
19575 hardcode_automatic=$hardcode_automatic
19576
19577 # Set to yes if linker adds runtime paths of dependent libraries
19578 # to runtime path list.
19579 inherit_rpath=$inherit_rpath
19580
19581 # Whether libtool must link a program against all its dependency libraries.
19582 link_all_deplibs=$link_all_deplibs
19583
19584 # Set to "yes" if exported symbols are required.
19585 always_export_symbols=$always_export_symbols
19586
19587 # The commands to list exported symbols.
19588 export_symbols_cmds=$lt_export_symbols_cmds
19589
19590 # Symbols that should not be listed in the preloaded symbols.
19591 exclude_expsyms=$lt_exclude_expsyms
19592
19593 # Symbols that must always be exported.
19594 include_expsyms=$lt_include_expsyms
19595
19596 # Commands necessary for linking programs (against libraries) with templates.
19597 prelink_cmds=$lt_prelink_cmds
19598
19599 # Commands necessary for finishing linking programs.
19600 postlink_cmds=$lt_postlink_cmds
19601
19602 # Specify filename containing input files.
19603 file_list_spec=$lt_file_list_spec
19604
19605 # How to hardcode a shared library path into an executable.
19606 hardcode_action=$hardcode_action
19607
19608 # ### END LIBTOOL CONFIG
19609
19610 _LT_EOF
19611
19612 cat <<'_LT_EOF' >> "$cfgfile"
19613
19614 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19615
19616 # func_munge_path_list VARIABLE PATH
19617 # -----------------------------------
19618 # VARIABLE is name of variable containing _space_ separated list of
19619 # directories to be munged by the contents of PATH, which is string
19620 # having a format:
19621 # "DIR[:DIR]:"
19622 # string "DIR[ DIR]" will be prepended to VARIABLE
19623 # ":DIR[:DIR]"
19624 # string "DIR[ DIR]" will be appended to VARIABLE
19625 # "DIRP[:DIRP]::[DIRA:]DIRA"
19626 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19627 # "DIRA[ DIRA]" will be appended to VARIABLE
19628 # "DIR[:DIR]"
19629 # VARIABLE will be replaced by "DIR[ DIR]"
19630 func_munge_path_list ()
19631 {
19632 case x$2 in
19633 x)
19634 ;;
19635 *:)
19636 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19637 ;;
19638 x:*)
19639 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19640 ;;
19641 *::*)
19642 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19643 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19644 ;;
19645 *)
19646 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19647 ;;
19648 esac
19649 }
19650
19651
19652 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19653 func_cc_basename ()
19654 {
19655 for cc_temp in $*""; do
19656 case $cc_temp in
19657 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19658 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19659 \-*) ;;
19660 *) break;;
19661 esac
19662 done
19663 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19664 }
19665
19666
19667 # ### END FUNCTIONS SHARED WITH CONFIGURE
19668
19669 _LT_EOF
19670
19671 case $host_os in
19672 aix3*)
19673 cat <<\_LT_EOF >> "$cfgfile"
19674 # AIX sometimes has problems with the GCC collect2 program. For some
19675 # reason, if we set the COLLECT_NAMES environment variable, the problems
19676 # vanish in a puff of smoke.
19677 if test set != "${COLLECT_NAMES+set}"; then
19678 COLLECT_NAMES=
19679 export COLLECT_NAMES
19680 fi
19681 _LT_EOF
19682 ;;
19683 esac
19684
19685
19686
19687 ltmain=$ac_aux_dir/ltmain.sh
19688
19689
19690 # We use sed instead of cat because bash on DJGPP gets confused if
19691 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19692 # text mode, it properly converts lines to CR/LF. This bash problem
19693 # is reportedly fixed, but why not run on old versions too?
19694 $SED '$q' "$ltmain" >> "$cfgfile" \
19695 || (rm -f "$cfgfile"; exit 1)
19696
19697 mv -f "$cfgfile" "$ofile" ||
19698 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19699 chmod +x "$ofile"
19700
19701 ;;
19702
19703 esac
19704 done # for ac_tag
19705
19706
19707 as_fn_exit 0
19708 _ACEOF
19709 ac_clean_files=$ac_clean_files_save
19710
19711 test $ac_write_fail = 0 ||
19712 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19713
19714
19715 # configure is writing to config.log, and then calls config.status.
19716 # config.status does its own redirection, appending to config.log.
19717 # Unfortunately, on DOS this fails, as config.log is still kept open
19718 # by configure, so config.status won't be able to write to it; its
19719 # output is simply discarded. So we exec the FD to /dev/null,
19720 # effectively closing config.log, so it can be properly (re)opened and
19721 # appended to by config.status. When coming back to configure, we
19722 # need to make the FD available again.
19723 if test "$no_create" != yes; then
19724 ac_cs_success=:
19725 ac_config_status_args=
19726 test "$silent" = yes &&
19727 ac_config_status_args="$ac_config_status_args --quiet"
19728 exec 5>/dev/null
19729 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19730 exec 5>>config.log
19731 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19732 # would make configure fail if this is the last instruction.
19733 $ac_cs_success || as_fn_exit 1
19734 fi
19735 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19737 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19738 fi
19739
19740