Debian Codegraph @

texk/musixtnt/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 musixtnt (TeX Live) 2016-01-30.
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='musixtnt (TeX Live)'
616 PACKAGE_TARNAME='musixtnt--tex-live-'
617 PACKAGE_VERSION='2016-01-30'
618 PACKAGE_STRING='musixtnt (TeX Live) 2016-01-30'
619 PACKAGE_BUGREPORT='[email protected]'
620 PACKAGE_URL=''
621
622 ac_unique_file="musixtnt-src/msxlint.c"
623 # Factoring default headers for most tests.
624 ac_includes_default="\
625 #include <stddef.h>
626 #ifdef HAVE_STDIO_H
627 # include <stdio.h>
628 #endif
629 #ifdef HAVE_STDLIB_H
630 # include <stdlib.h>
631 #endif
632 #ifdef HAVE_STRING_H
633 # include <string.h>
634 #endif
635 #ifdef HAVE_INTTYPES_H
636 # include <inttypes.h>
637 #endif
638 #ifdef HAVE_STDINT_H
639 # include <stdint.h>
640 #endif
641 #ifdef HAVE_STRINGS_H
642 # include <strings.h>
643 #endif
644 #ifdef HAVE_SYS_TYPES_H
645 # include <sys/types.h>
646 #endif
647 #ifdef HAVE_SYS_STAT_H
648 # include <sys/stat.h>
649 #endif
650 #ifdef HAVE_UNISTD_H
651 # include <unistd.h>
652 #endif"
653
654 ac_header_c_list=
655 enable_year2038=no
656 ac_subst_vars='am__EXEEXT_FALSE
657 am__EXEEXT_TRUE
658 LTLIBOBJS
659 LIBOBJS
660 MUSIXTNT_TREE
661 KPATHSEA_RULE
662 KPATHSEA_DEPEND
663 KPATHSEA_LIBS
664 KPATHSEA_INCLUDES
665 PKG_CONFIG
666 LT_SYS_LIBRARY_PATH
667 OTOOL64
668 OTOOL
669 LIPO
670 NMEDIT
671 DSYMUTIL
672 MANIFEST_TOOL
673 RANLIB
674 FILECMD
675 LN_S
676 NM
677 ac_ct_DUMPBIN
678 DUMPBIN
679 LD
680 FGREP
681 EGREP
682 GREP
683 SED
684 host_os
685 host_vendor
686 host_cpu
687 host
688 build_os
689 build_vendor
690 build_cpu
691 build
692 LIBTOOL
693 OBJDUMP
694 DLLTOOL
695 AS
696 ac_ct_AR
697 AR
698 WARNING_CFLAGS
699 am__fastdepCC_FALSE
700 am__fastdepCC_TRUE
701 CCDEPMODE
702 am__nodep
703 AMDEPBACKSLASH
704 AMDEP_FALSE
705 AMDEP_TRUE
706 am__include
707 DEPDIR
708 OBJEXT
709 EXEEXT
710 ac_ct_CC
711 CPPFLAGS
712 LDFLAGS
713 CFLAGS
714 CC
715 MAINT
716 MAINTAINER_MODE_FALSE
717 MAINTAINER_MODE_TRUE
718 am__xargs_n
719 am__rm_f_notfound
720 AM_BACKSLASH
721 AM_DEFAULT_VERBOSITY
722 AM_DEFAULT_V
723 AM_V
724 CSCOPE
725 ETAGS
726 CTAGS
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_alias
751 host_alias
752 build_alias
753 LIBS
754 ECHO_T
755 ECHO_N
756 ECHO_C
757 DEFS
758 mandir
759 localedir
760 libdir
761 psdir
762 pdfdir
763 dvidir
764 htmldir
765 infodir
766 docdir
767 oldincludedir
768 includedir
769 runstatedir
770 localstatedir
771 sharedstatedir
772 sysconfdir
773 datadir
774 datarootdir
775 libexecdir
776 sbindir
777 bindir
778 program_transform_name
779 prefix
780 exec_prefix
781 PACKAGE_URL
782 PACKAGE_BUGREPORT
783 PACKAGE_STRING
784 PACKAGE_VERSION
785 PACKAGE_TARNAME
786 PACKAGE_NAME
787 PATH_SEPARATOR
788 SHELL
789 am__quote'
790 ac_subst_files=''
791 ac_user_opts='
792 enable_option_checking
793 enable_silent_rules
794 enable_maintainer_mode
795 enable_dependency_tracking
796 enable_compiler_warnings
797 enable_shared
798 enable_static
799 enable_pic
800 with_pic
801 enable_fast_install
802 enable_aix_soname
803 with_aix_soname
804 with_gnu_ld
805 with_sysroot
806 enable_libtool_lock
807 enable_largefile
808 with_system_kpathsea
809 enable_year2038
810 '
811 ac_precious_vars='build_alias
812 host_alias
813 target_alias
814 CC
815 CFLAGS
816 LDFLAGS
817 LIBS
818 CPPFLAGS
819 LT_SYS_LIBRARY_PATH'
820
821
822 # Initialize some variables set by options.
823 ac_init_help=
824 ac_init_version=false
825 ac_unrecognized_opts=
826 ac_unrecognized_sep=
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
829 cache_file=/dev/null
830 exec_prefix=NONE
831 no_create=
832 no_recursion=
833 prefix=NONE
834 program_prefix=NONE
835 program_suffix=NONE
836 program_transform_name=s,x,x,
837 silent=
838 site=
839 srcdir=
840 verbose=
841 x_includes=NONE
842 x_libraries=NONE
843
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir='${exec_prefix}/bin'
851 sbindir='${exec_prefix}/sbin'
852 libexecdir='${exec_prefix}/libexec'
853 datarootdir='${prefix}/share'
854 datadir='${datarootdir}'
855 sysconfdir='${prefix}/etc'
856 sharedstatedir='${prefix}/com'
857 localstatedir='${prefix}/var'
858 runstatedir='${localstatedir}/run'
859 includedir='${prefix}/include'
860 oldincludedir='/usr/include'
861 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
862 infodir='${datarootdir}/info'
863 htmldir='${docdir}'
864 dvidir='${docdir}'
865 pdfdir='${docdir}'
866 psdir='${docdir}'
867 libdir='${exec_prefix}/lib'
868 localedir='${datarootdir}/locale'
869 mandir='${datarootdir}/man'
870
871 ac_prev=
872 ac_dashdash=
873 for ac_option
874 do
875 # If the previous option needs an argument, assign it.
876 if test -n "$ac_prev"; then
877 eval $ac_prev=\$ac_option
878 ac_prev=
879 continue
880 fi
881
882 case $ac_option in
883 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 *=) ac_optarg= ;;
885 *) ac_optarg=yes ;;
886 esac
887
888 case $ac_dashdash$ac_option in
889 --)
890 ac_dashdash=yes ;;
891
892 -bindir | --bindir | --bindi | --bind | --bin | --bi)
893 ac_prev=bindir ;;
894 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
895 bindir=$ac_optarg ;;
896
897 -build | --build | --buil | --bui | --bu)
898 ac_prev=build_alias ;;
899 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
900 build_alias=$ac_optarg ;;
901
902 -cache-file | --cache-file | --cache-fil | --cache-fi \
903 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
904 ac_prev=cache_file ;;
905 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
906 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
907 cache_file=$ac_optarg ;;
908
909 --config-cache | -C)
910 cache_file=config.cache ;;
911
912 -datadir | --datadir | --datadi | --datad)
913 ac_prev=datadir ;;
914 -datadir=* | --datadir=* | --datadi=* | --datad=*)
915 datadir=$ac_optarg ;;
916
917 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
918 | --dataroo | --dataro | --datar)
919 ac_prev=datarootdir ;;
920 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
921 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
922 datarootdir=$ac_optarg ;;
923
924 -disable-* | --disable-*)
925 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928 as_fn_error $? "invalid feature name: '$ac_useropt'"
929 ac_useropt_orig=$ac_useropt
930 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
932 *"
933 "enable_$ac_useropt"
934 "*) ;;
935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
936 ac_unrecognized_sep=', ';;
937 esac
938 eval enable_$ac_useropt=no ;;
939
940 -docdir | --docdir | --docdi | --doc | --do)
941 ac_prev=docdir ;;
942 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
943 docdir=$ac_optarg ;;
944
945 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
946 ac_prev=dvidir ;;
947 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
948 dvidir=$ac_optarg ;;
949
950 -enable-* | --enable-*)
951 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
954 as_fn_error $? "invalid feature name: '$ac_useropt'"
955 ac_useropt_orig=$ac_useropt
956 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
958 *"
959 "enable_$ac_useropt"
960 "*) ;;
961 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
962 ac_unrecognized_sep=', ';;
963 esac
964 eval enable_$ac_useropt=\$ac_optarg ;;
965
966 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
967 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
968 | --exec | --exe | --ex)
969 ac_prev=exec_prefix ;;
970 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
971 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
972 | --exec=* | --exe=* | --ex=*)
973 exec_prefix=$ac_optarg ;;
974
975 -gas | --gas | --ga | --g)
976 # Obsolete; use --with-gas.
977 with_gas=yes ;;
978
979 -help | --help | --hel | --he | -h)
980 ac_init_help=long ;;
981 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
982 ac_init_help=recursive ;;
983 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
984 ac_init_help=short ;;
985
986 -host | --host | --hos | --ho)
987 ac_prev=host_alias ;;
988 -host=* | --host=* | --hos=* | --ho=*)
989 host_alias=$ac_optarg ;;
990
991 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
992 ac_prev=htmldir ;;
993 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
994 | --ht=*)
995 htmldir=$ac_optarg ;;
996
997 -includedir | --includedir | --includedi | --included | --include \
998 | --includ | --inclu | --incl | --inc)
999 ac_prev=includedir ;;
1000 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1001 | --includ=* | --inclu=* | --incl=* | --inc=*)
1002 includedir=$ac_optarg ;;
1003
1004 -infodir | --infodir | --infodi | --infod | --info | --inf)
1005 ac_prev=infodir ;;
1006 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1007 infodir=$ac_optarg ;;
1008
1009 -libdir | --libdir | --libdi | --libd)
1010 ac_prev=libdir ;;
1011 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1012 libdir=$ac_optarg ;;
1013
1014 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1015 | --libexe | --libex | --libe)
1016 ac_prev=libexecdir ;;
1017 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1018 | --libexe=* | --libex=* | --libe=*)
1019 libexecdir=$ac_optarg ;;
1020
1021 -localedir | --localedir | --localedi | --localed | --locale)
1022 ac_prev=localedir ;;
1023 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1024 localedir=$ac_optarg ;;
1025
1026 -localstatedir | --localstatedir | --localstatedi | --localstated \
1027 | --localstate | --localstat | --localsta | --localst | --locals)
1028 ac_prev=localstatedir ;;
1029 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1030 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1031 localstatedir=$ac_optarg ;;
1032
1033 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1034 ac_prev=mandir ;;
1035 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1036 mandir=$ac_optarg ;;
1037
1038 -nfp | --nfp | --nf)
1039 # Obsolete; use --without-fp.
1040 with_fp=no ;;
1041
1042 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1043 | --no-cr | --no-c | -n)
1044 no_create=yes ;;
1045
1046 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1047 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1048 no_recursion=yes ;;
1049
1050 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1051 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1052 | --oldin | --oldi | --old | --ol | --o)
1053 ac_prev=oldincludedir ;;
1054 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1055 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1056 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1057 oldincludedir=$ac_optarg ;;
1058
1059 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1060 ac_prev=prefix ;;
1061 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1062 prefix=$ac_optarg ;;
1063
1064 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1065 | --program-pre | --program-pr | --program-p)
1066 ac_prev=program_prefix ;;
1067 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1068 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1069 program_prefix=$ac_optarg ;;
1070
1071 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1072 | --program-suf | --program-su | --program-s)
1073 ac_prev=program_suffix ;;
1074 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1075 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1076 program_suffix=$ac_optarg ;;
1077
1078 -program-transform-name | --program-transform-name \
1079 | --program-transform-nam | --program-transform-na \
1080 | --program-transform-n | --program-transform- \
1081 | --program-transform | --program-transfor \
1082 | --program-transfo | --program-transf \
1083 | --program-trans | --program-tran \
1084 | --progr-tra | --program-tr | --program-t)
1085 ac_prev=program_transform_name ;;
1086 -program-transform-name=* | --program-transform-name=* \
1087 | --program-transform-nam=* | --program-transform-na=* \
1088 | --program-transform-n=* | --program-transform-=* \
1089 | --program-transform=* | --program-transfor=* \
1090 | --program-transfo=* | --program-transf=* \
1091 | --program-trans=* | --program-tran=* \
1092 | --progr-tra=* | --program-tr=* | --program-t=*)
1093 program_transform_name=$ac_optarg ;;
1094
1095 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1096 ac_prev=pdfdir ;;
1097 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1098 pdfdir=$ac_optarg ;;
1099
1100 -psdir | --psdir | --psdi | --psd | --ps)
1101 ac_prev=psdir ;;
1102 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1103 psdir=$ac_optarg ;;
1104
1105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1106 | -silent | --silent | --silen | --sile | --sil)
1107 silent=yes ;;
1108
1109 -runstatedir | --runstatedir | --runstatedi | --runstated \
1110 | --runstate | --runstat | --runsta | --runst | --runs \
1111 | --run | --ru | --r)
1112 ac_prev=runstatedir ;;
1113 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1114 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1115 | --run=* | --ru=* | --r=*)
1116 runstatedir=$ac_optarg ;;
1117
1118 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1119 ac_prev=sbindir ;;
1120 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1121 | --sbi=* | --sb=*)
1122 sbindir=$ac_optarg ;;
1123
1124 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1125 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1126 | --sharedst | --shareds | --shared | --share | --shar \
1127 | --sha | --sh)
1128 ac_prev=sharedstatedir ;;
1129 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1130 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1131 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1132 | --sha=* | --sh=*)
1133 sharedstatedir=$ac_optarg ;;
1134
1135 -site | --site | --sit)
1136 ac_prev=site ;;
1137 -site=* | --site=* | --sit=*)
1138 site=$ac_optarg ;;
1139
1140 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1141 ac_prev=srcdir ;;
1142 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1143 srcdir=$ac_optarg ;;
1144
1145 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1146 | --syscon | --sysco | --sysc | --sys | --sy)
1147 ac_prev=sysconfdir ;;
1148 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1149 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1150 sysconfdir=$ac_optarg ;;
1151
1152 -target | --target | --targe | --targ | --tar | --ta | --t)
1153 ac_prev=target_alias ;;
1154 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1155 target_alias=$ac_optarg ;;
1156
1157 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1158 verbose=yes ;;
1159
1160 -version | --version | --versio | --versi | --vers | -V)
1161 ac_init_version=: ;;
1162
1163 -with-* | --with-*)
1164 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167 as_fn_error $? "invalid package name: '$ac_useropt'"
1168 ac_useropt_orig=$ac_useropt
1169 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1171 *"
1172 "with_$ac_useropt"
1173 "*) ;;
1174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1175 ac_unrecognized_sep=', ';;
1176 esac
1177 eval with_$ac_useropt=\$ac_optarg ;;
1178
1179 -without-* | --without-*)
1180 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183 as_fn_error $? "invalid package name: '$ac_useropt'"
1184 ac_useropt_orig=$ac_useropt
1185 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1187 *"
1188 "with_$ac_useropt"
1189 "*) ;;
1190 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1191 ac_unrecognized_sep=', ';;
1192 esac
1193 eval with_$ac_useropt=no ;;
1194
1195 --x)
1196 # Obsolete; use --with-x.
1197 with_x=yes ;;
1198
1199 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1200 | --x-incl | --x-inc | --x-in | --x-i)
1201 ac_prev=x_includes ;;
1202 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1203 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1204 x_includes=$ac_optarg ;;
1205
1206 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1207 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1208 ac_prev=x_libraries ;;
1209 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1210 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1211 x_libraries=$ac_optarg ;;
1212
1213 -*) as_fn_error $? "unrecognized option: '$ac_option'
1214 Try '$0 --help' for more information"
1215 ;;
1216
1217 *=*)
1218 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1219 # Reject names that are not valid shell variable names.
1220 case $ac_envvar in #(
1221 '' | [0-9]* | *[!_$as_cr_alnum]* )
1222 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1223 esac
1224 eval $ac_envvar=\$ac_optarg
1225 export $ac_envvar ;;
1226
1227 *)
1228 # FIXME: should be removed in autoconf 3.0.
1229 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1230 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1231 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1232 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1233 ;;
1234
1235 esac
1236 done
1237
1238 if test -n "$ac_prev"; then
1239 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1240 as_fn_error $? "missing argument to $ac_option"
1241 fi
1242
1243 if test -n "$ac_unrecognized_opts"; then
1244 case $enable_option_checking in
1245 no) ;;
1246 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1247 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1248 esac
1249 fi
1250
1251 # Check all directory arguments for consistency.
1252 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1253 datadir sysconfdir sharedstatedir localstatedir includedir \
1254 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1255 libdir localedir mandir runstatedir
1256 do
1257 eval ac_val=\$$ac_var
1258 # Remove trailing slashes.
1259 case $ac_val in
1260 */ )
1261 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1262 eval $ac_var=\$ac_val;;
1263 esac
1264 # Be sure to have absolute directory names.
1265 case $ac_val in
1266 [\\/$]* | ?:[\\/]* ) continue;;
1267 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1268 esac
1269 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1270 done
1271
1272 # There might be people who depend on the old broken behavior: '$host'
1273 # used to hold the argument of --host etc.
1274 # FIXME: To remove some day.
1275 build=$build_alias
1276 host=$host_alias
1277 target=$target_alias
1278
1279 # FIXME: To remove some day.
1280 if test "x$host_alias" != x; then
1281 if test "x$build_alias" = x; then
1282 cross_compiling=maybe
1283 elif test "x$build_alias" != "x$host_alias"; then
1284 cross_compiling=yes
1285 fi
1286 fi
1287
1288 ac_tool_prefix=
1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1290
1291 test "$silent" = yes && exec 6>/dev/null
1292
1293
1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1295 ac_ls_di=`ls -di .` &&
1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1297 as_fn_error $? "working directory cannot be determined"
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299 as_fn_error $? "pwd does not report name of working directory"
1300
1301
1302 # Find the source files, if location was not specified.
1303 if test -z "$srcdir"; then
1304 ac_srcdir_defaulted=yes
1305 # Try the directory containing this script, then the parent directory.
1306 ac_confdir=`$as_dirname -- "$as_myself" ||
1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308 X"$as_myself" : 'X\(//\)[^/]' \| \
1309 X"$as_myself" : 'X\(//\)$' \| \
1310 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1311 printf "%s\n" X"$as_myself" |
1312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1313 s//\1/
1314 q
1315 }
1316 /^X\(\/\/\)[^/].*/{
1317 s//\1/
1318 q
1319 }
1320 /^X\(\/\/\)$/{
1321 s//\1/
1322 q
1323 }
1324 /^X\(\/\).*/{
1325 s//\1/
1326 q
1327 }
1328 s/.*/./; q'`
1329 srcdir=$ac_confdir
1330 if test ! -r "$srcdir/$ac_unique_file"; then
1331 srcdir=..
1332 fi
1333 else
1334 ac_srcdir_defaulted=no
1335 fi
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1337 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1338 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1339 fi
1340 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1341 ac_abs_confdir=`(
1342 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1343 pwd)`
1344 # When building in place, set srcdir=.
1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 srcdir=.
1347 fi
1348 # Remove unnecessary trailing slashes from srcdir.
1349 # Double slashes in file names in object file debugging info
1350 # mess up M-x gdb in Emacs.
1351 case $srcdir in
1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1353 esac
1354 for ac_var in $ac_precious_vars; do
1355 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1356 eval ac_env_${ac_var}_value=\$${ac_var}
1357 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1358 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1359 done
1360
1361 #
1362 # Report the --help message.
1363 #
1364 if test "$ac_init_help" = "long"; then
1365 # Omit some internal or obsolete options to make the list less imposing.
1366 # This message is too long to be a string in the A/UX 3.1 sh.
1367 cat <<_ACEOF
1368 'configure' configures musixtnt (TeX Live) 2016-01-30 to adapt to many kinds of systems.
1369
1370 Usage: $0 [OPTION]... [VAR=VALUE]...
1371
1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1373 VAR=VALUE. See below for descriptions of some of the useful variables.
1374
1375 Defaults for the options are specified in brackets.
1376
1377 Configuration:
1378 -h, --help display this help and exit
1379 --help=short display options specific to this package
1380 --help=recursive display the short help of all the included packages
1381 -V, --version display version information and exit
1382 -q, --quiet, --silent do not print 'checking ...' messages
1383 --cache-file=FILE cache test results in FILE [disabled]
1384 -C, --config-cache alias for '--cache-file=config.cache'
1385 -n, --no-create do not create output files
1386 --srcdir=DIR find the sources in DIR [configure dir or '..']
1387
1388 Installation directories:
1389 --prefix=PREFIX install architecture-independent files in PREFIX
1390 [$ac_default_prefix]
1391 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392 [PREFIX]
1393
1394 By default, 'make install' will install all the files in
1395 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1396 an installation prefix other than '$ac_default_prefix' using '--prefix',
1397 for instance '--prefix=\$HOME'.
1398
1399 For better control, use the options below.
1400
1401 Fine tuning of the installation directories:
1402 --bindir=DIR user executables [EPREFIX/bin]
1403 --sbindir=DIR system admin executables [EPREFIX/sbin]
1404 --libexecdir=DIR program executables [EPREFIX/libexec]
1405 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1406 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1407 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1408 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1409 --libdir=DIR object code libraries [EPREFIX/lib]
1410 --includedir=DIR C header files [PREFIX/include]
1411 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1412 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1413 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1414 --infodir=DIR info documentation [DATAROOTDIR/info]
1415 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1416 --mandir=DIR man documentation [DATAROOTDIR/man]
1417 --docdir=DIR documentation root
1418 [DATAROOTDIR/doc/musixtnt--tex-live-]
1419 --htmldir=DIR html documentation [DOCDIR]
1420 --dvidir=DIR dvi documentation [DOCDIR]
1421 --pdfdir=DIR pdf documentation [DOCDIR]
1422 --psdir=DIR ps documentation [DOCDIR]
1423 _ACEOF
1424
1425 cat <<\_ACEOF
1426
1427 Program names:
1428 --program-prefix=PREFIX prepend PREFIX to installed program names
1429 --program-suffix=SUFFIX append SUFFIX to installed program names
1430 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1431
1432 System types:
1433 --build=BUILD configure for building on BUILD [guessed]
1434 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1435 _ACEOF
1436 fi
1437
1438 if test -n "$ac_init_help"; then
1439 case $ac_init_help in
1440 short | recursive ) echo "Configuration of musixtnt (TeX Live) 2016-01-30:";;
1441 esac
1442 cat <<\_ACEOF
1443
1444 Optional Features:
1445 --disable-option-checking ignore unrecognized --enable/--with options
1446 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1447 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1448 --enable-silent-rules less verbose build output (undo: "make V=1")
1449 --disable-silent-rules verbose build output (undo: "make V=0")
1450 --enable-maintainer-mode
1451 enable make rules and dependencies not useful (and
1452 sometimes confusing) to the casual installer
1453 --enable-dependency-tracking
1454 do not reject slow dependency extractors
1455 --disable-dependency-tracking
1456 speeds up one-time build
1457 --enable-compiler-warnings=[no|min|yes|max|all]
1458 Turn on compiler warnings [default: yes if
1459 maintainer-mode, min otherwise]
1460 --enable-shared[=PKGS] build shared libraries [default=yes]
1461 --enable-static[=PKGS] build static libraries [default=yes]
1462 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1463 both]
1464 --enable-fast-install[=PKGS]
1465 optimize for fast installation [default=yes]
1466 --enable-aix-soname=aix|svr4|both
1467 shared library versioning (aka "SONAME") variant to
1468 provide on AIX, [default=aix].
1469 --disable-libtool-lock avoid locking (might break parallel builds)
1470 --disable-largefile omit support for large files
1471 --enable-year2038 support timestamps after 2038
1472
1473 Optional Packages:
1474 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1475 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1476 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1477 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1478 compiler's sysroot if not specified).
1479 --with-system-kpathsea use installed kpathsea headers and library (requires
1480 pkg-config)
1481
1482 Some influential environment variables:
1483 CC C compiler command
1484 CFLAGS C compiler flags
1485 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1486 nonstandard directory <lib dir>
1487 LIBS libraries to pass to the linker, e.g. -l<library>
1488 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1489 you have headers in a nonstandard directory <include dir>
1490 LT_SYS_LIBRARY_PATH
1491 User-defined run-time library search path.
1492
1493 Use these variables to override the choices made by 'configure' or to help
1494 it to find libraries and programs with nonstandard names/locations.
1495
1496 Report bugs to <[email protected]>.
1497 _ACEOF
1498 ac_status=$?
1499 fi
1500
1501 if test "$ac_init_help" = "recursive"; then
1502 # If there are subdirs, report their specific --help.
1503 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1504 test -d "$ac_dir" ||
1505 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1506 continue
1507 ac_builddir=.
1508
1509 case "$ac_dir" in
1510 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 *)
1512 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1513 # A ".." for each directory in $ac_dir_suffix.
1514 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1515 case $ac_top_builddir_sub in
1516 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1518 esac ;;
1519 esac
1520 ac_abs_top_builddir=$ac_pwd
1521 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1522 # for backward compatibility:
1523 ac_top_builddir=$ac_top_build_prefix
1524
1525 case $srcdir in
1526 .) # We are building in place.
1527 ac_srcdir=.
1528 ac_top_srcdir=$ac_top_builddir_sub
1529 ac_abs_top_srcdir=$ac_pwd ;;
1530 [\\/]* | ?:[\\/]* ) # Absolute name.
1531 ac_srcdir=$srcdir$ac_dir_suffix;
1532 ac_top_srcdir=$srcdir
1533 ac_abs_top_srcdir=$srcdir ;;
1534 *) # Relative name.
1535 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1536 ac_top_srcdir=$ac_top_build_prefix$srcdir
1537 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1538 esac
1539 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1540
1541 cd "$ac_dir" || { ac_status=$?; continue; }
1542 # Check for configure.gnu first; this name is used for a wrapper for
1543 # Metaconfig's "Configure" on case-insensitive file systems.
1544 if test -f "$ac_srcdir/configure.gnu"; then
1545 echo &&
1546 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1547 elif test -f "$ac_srcdir/configure"; then
1548 echo &&
1549 $SHELL "$ac_srcdir/configure" --help=recursive
1550 else
1551 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1552 fi || ac_status=$?
1553 cd "$ac_pwd" || { ac_status=$?; break; }
1554 done
1555 fi
1556
1557 test -n "$ac_init_help" && exit $ac_status
1558 if $ac_init_version; then
1559 cat <<\_ACEOF
1560 musixtnt (TeX Live) configure 2016-01-30
1561 generated by GNU Autoconf 2.72
1562
1563 Copyright (C) 2023 Free Software Foundation, Inc.
1564 This configure script is free software; the Free Software Foundation
1565 gives unlimited permission to copy, distribute and modify it.
1566 _ACEOF
1567 exit
1568 fi
1569
1570 ## ------------------------ ##
1571 ## Autoconf initialization. ##
1572 ## ------------------------ ##
1573
1574 # ac_fn_c_try_compile LINENO
1575 # --------------------------
1576 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1577 ac_fn_c_try_compile ()
1578 {
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 rm -f conftest.$ac_objext conftest.beam
1581 if { { ac_try="$ac_compile"
1582 case "(($ac_try" in
1583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584 *) ac_try_echo=$ac_try;;
1585 esac
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 printf "%s\n" "$ac_try_echo"; } >&5
1588 (eval "$ac_compile") 2>conftest.err
1589 ac_status=$?
1590 if test -s conftest.err; then
1591 grep -v '^ *+' conftest.err >conftest.er1
1592 cat conftest.er1 >&5
1593 mv -f conftest.er1 conftest.err
1594 fi
1595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596 test $ac_status = 0; } && {
1597 test -z "$ac_c_werror_flag" ||
1598 test ! -s conftest.err
1599 } && test -s conftest.$ac_objext
1600 then :
1601 ac_retval=0
1602 else case e in #(
1603 e) printf "%s\n" "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.$ac_ext >&5
1605
1606 ac_retval=1 ;;
1607 esac
1608 fi
1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610 as_fn_set_status $ac_retval
1611
1612 } # ac_fn_c_try_compile
1613
1614 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1615 # -------------------------------------------------------
1616 # Tests whether HEADER exists and can be compiled using the include files in
1617 # INCLUDES, setting the cache variable VAR accordingly.
1618 ac_fn_c_check_header_compile ()
1619 {
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1622 printf %s "checking for $2... " >&6; }
1623 if eval test \${$3+y}
1624 then :
1625 printf %s "(cached) " >&6
1626 else case e in #(
1627 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628 /* end confdefs.h. */
1629 $4
1630 #include <$2>
1631 _ACEOF
1632 if ac_fn_c_try_compile "$LINENO"
1633 then :
1634 eval "$3=yes"
1635 else case e in #(
1636 e) eval "$3=no" ;;
1637 esac
1638 fi
1639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1640 esac
1641 fi
1642 eval ac_res=\$$3
1643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 printf "%s\n" "$ac_res" >&6; }
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646
1647 } # ac_fn_c_check_header_compile
1648
1649 # ac_fn_c_try_link LINENO
1650 # -----------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_c_try_link ()
1653 {
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1656 if { { ac_try="$ac_link"
1657 case "(($ac_try" in
1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1660 esac
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 printf "%s\n" "$ac_try_echo"; } >&5
1663 (eval "$ac_link") 2>conftest.err
1664 ac_status=$?
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1669 fi
1670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest$ac_exeext && {
1675 test "$cross_compiling" = yes ||
1676 test -x conftest$ac_exeext
1677 }
1678 then :
1679 ac_retval=0
1680 else case e in #(
1681 e) printf "%s\n" "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1683
1684 ac_retval=1 ;;
1685 esac
1686 fi
1687 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1688 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1689 # interfere with the next link command; also delete a directory that is
1690 # left behind by Apple's compiler. We do this before executing the actions.
1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 as_fn_set_status $ac_retval
1694
1695 } # ac_fn_c_try_link
1696
1697 # ac_fn_c_check_func LINENO FUNC VAR
1698 # ----------------------------------
1699 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1700 ac_fn_c_check_func ()
1701 {
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 printf %s "checking for $2... " >&6; }
1705 if eval test \${$3+y}
1706 then :
1707 printf %s "(cached) " >&6
1708 else case e in #(
1709 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1711 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1713 #define $2 innocuous_$2
1714
1715 /* System header to define __stub macros and hopefully few prototypes,
1716 which can conflict with char $2 (void); below. */
1717
1718 #include <limits.h>
1719 #undef $2
1720
1721 /* Override any GCC internal prototype to avoid an error.
1722 Use char because int might match the return type of a GCC
1723 builtin and then its argument prototype would still apply. */
1724 #ifdef __cplusplus
1725 extern "C"
1726 #endif
1727 char $2 (void);
1728 /* The GNU C library defines this for functions which it implements
1729 to always fail with ENOSYS. Some functions are actually named
1730 something starting with __ and the normal name is an alias. */
1731 #if defined __stub_$2 || defined __stub___$2
1732 choke me
1733 #endif
1734
1735 int
1736 main (void)
1737 {
1738 return $2 ();
1739 ;
1740 return 0;
1741 }
1742 _ACEOF
1743 if ac_fn_c_try_link "$LINENO"
1744 then :
1745 eval "$3=yes"
1746 else case e in #(
1747 e) eval "$3=no" ;;
1748 esac
1749 fi
1750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1751 conftest$ac_exeext conftest.$ac_ext ;;
1752 esac
1753 fi
1754 eval ac_res=\$$3
1755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 printf "%s\n" "$ac_res" >&6; }
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758
1759 } # ac_fn_c_check_func
1760
1761 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1762 # -------------------------------------------
1763 # Tests whether TYPE exists after having included INCLUDES, setting cache
1764 # variable VAR accordingly.
1765 ac_fn_c_check_type ()
1766 {
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 printf %s "checking for $2... " >&6; }
1770 if eval test \${$3+y}
1771 then :
1772 printf %s "(cached) " >&6
1773 else case e in #(
1774 e) eval "$3=no"
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1777 $4
1778 int
1779 main (void)
1780 {
1781 if (sizeof ($2))
1782 return 0;
1783 ;
1784 return 0;
1785 }
1786 _ACEOF
1787 if ac_fn_c_try_compile "$LINENO"
1788 then :
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1791 $4
1792 int
1793 main (void)
1794 {
1795 if (sizeof (($2)))
1796 return 0;
1797 ;
1798 return 0;
1799 }
1800 _ACEOF
1801 if ac_fn_c_try_compile "$LINENO"
1802 then :
1803
1804 else case e in #(
1805 e) eval "$3=yes" ;;
1806 esac
1807 fi
1808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1809 fi
1810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1811 esac
1812 fi
1813 eval ac_res=\$$3
1814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 printf "%s\n" "$ac_res" >&6; }
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817
1818 } # ac_fn_c_check_type
1819
1820 # ac_fn_c_find_intX_t LINENO BITS VAR
1821 # -----------------------------------
1822 # Finds a signed integer type with width BITS, setting cache variable VAR
1823 # accordingly.
1824 ac_fn_c_find_intX_t ()
1825 {
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1828 printf %s "checking for int$2_t... " >&6; }
1829 if eval test \${$3+y}
1830 then :
1831 printf %s "(cached) " >&6
1832 else case e in #(
1833 e) eval "$3=no"
1834 # Order is important - never check a type that is potentially smaller
1835 # than half of the expected target width.
1836 for ac_type in int$2_t 'int' 'long int' \
1837 'long long int' 'short int' 'signed char'; do
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1840 $ac_includes_default
1841 enum { N = $2 / 2 - 1 };
1842 int
1843 main (void)
1844 {
1845 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1846 test_array [0] = 0;
1847 return test_array [0];
1848
1849 ;
1850 return 0;
1851 }
1852 _ACEOF
1853 if ac_fn_c_try_compile "$LINENO"
1854 then :
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 $ac_includes_default
1858 enum { N = $2 / 2 - 1 };
1859 int
1860 main (void)
1861 {
1862 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1863 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1864 test_array [0] = 0;
1865 return test_array [0];
1866
1867 ;
1868 return 0;
1869 }
1870 _ACEOF
1871 if ac_fn_c_try_compile "$LINENO"
1872 then :
1873
1874 else case e in #(
1875 e) case $ac_type in #(
1876 int$2_t) :
1877 eval "$3=yes" ;; #(
1878 *) :
1879 eval "$3=\$ac_type" ;;
1880 esac ;;
1881 esac
1882 fi
1883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1884 fi
1885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1886 if eval test \"x\$"$3"\" = x"no"
1887 then :
1888
1889 else case e in #(
1890 e) break ;;
1891 esac
1892 fi
1893 done ;;
1894 esac
1895 fi
1896 eval ac_res=\$$3
1897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 printf "%s\n" "$ac_res" >&6; }
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900
1901 } # ac_fn_c_find_intX_t
1902
1903 # ac_fn_c_find_uintX_t LINENO BITS VAR
1904 # ------------------------------------
1905 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1906 # accordingly.
1907 ac_fn_c_find_uintX_t ()
1908 {
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1911 printf %s "checking for uint$2_t... " >&6; }
1912 if eval test \${$3+y}
1913 then :
1914 printf %s "(cached) " >&6
1915 else case e in #(
1916 e) eval "$3=no"
1917 # Order is important - never check a type that is potentially smaller
1918 # than half of the expected target width.
1919 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1920 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1923 $ac_includes_default
1924 int
1925 main (void)
1926 {
1927 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1928 test_array [0] = 0;
1929 return test_array [0];
1930
1931 ;
1932 return 0;
1933 }
1934 _ACEOF
1935 if ac_fn_c_try_compile "$LINENO"
1936 then :
1937 case $ac_type in #(
1938 uint$2_t) :
1939 eval "$3=yes" ;; #(
1940 *) :
1941 eval "$3=\$ac_type" ;;
1942 esac
1943 fi
1944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1945 if eval test \"x\$"$3"\" = x"no"
1946 then :
1947
1948 else case e in #(
1949 e) break ;;
1950 esac
1951 fi
1952 done ;;
1953 esac
1954 fi
1955 eval ac_res=\$$3
1956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 printf "%s\n" "$ac_res" >&6; }
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959
1960 } # ac_fn_c_find_uintX_t
1961
1962 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1963 # ------------------------------------------------------------------
1964 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1965 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1966 ac_fn_check_decl ()
1967 {
1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 as_decl_name=`echo $2|sed 's/ *(.*//'`
1970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1971 printf %s "checking whether $as_decl_name is declared... " >&6; }
1972 if eval test \${$3+y}
1973 then :
1974 printf %s "(cached) " >&6
1975 else case e in #(
1976 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1977 eval ac_save_FLAGS=\$$6
1978 as_fn_append $6 " $5"
1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1981 $4
1982 int
1983 main (void)
1984 {
1985 #ifndef $as_decl_name
1986 #ifdef __cplusplus
1987 (void) $as_decl_use;
1988 #else
1989 (void) $as_decl_name;
1990 #endif
1991 #endif
1992
1993 ;
1994 return 0;
1995 }
1996 _ACEOF
1997 if ac_fn_c_try_compile "$LINENO"
1998 then :
1999 eval "$3=yes"
2000 else case e in #(
2001 e) eval "$3=no" ;;
2002 esac
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2005 eval $6=\$ac_save_FLAGS
2006 ;;
2007 esac
2008 fi
2009 eval ac_res=\$$3
2010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 printf "%s\n" "$ac_res" >&6; }
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013
2014 } # ac_fn_check_decl
2015
2016 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2017 # ----------------------------------------------------
2018 # Tries to find if the field MEMBER exists in type AGGR, after including
2019 # INCLUDES, setting cache variable VAR accordingly.
2020 ac_fn_c_check_member ()
2021 {
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2024 printf %s "checking for $2.$3... " >&6; }
2025 if eval test \${$4+y}
2026 then :
2027 printf %s "(cached) " >&6
2028 else case e in #(
2029 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2031 $5
2032 int
2033 main (void)
2034 {
2035 static $2 ac_aggr;
2036 if (ac_aggr.$3)
2037 return 0;
2038 ;
2039 return 0;
2040 }
2041 _ACEOF
2042 if ac_fn_c_try_compile "$LINENO"
2043 then :
2044 eval "$4=yes"
2045 else case e in #(
2046 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2048 $5
2049 int
2050 main (void)
2051 {
2052 static $2 ac_aggr;
2053 if (sizeof ac_aggr.$3)
2054 return 0;
2055 ;
2056 return 0;
2057 }
2058 _ACEOF
2059 if ac_fn_c_try_compile "$LINENO"
2060 then :
2061 eval "$4=yes"
2062 else case e in #(
2063 e) eval "$4=no" ;;
2064 esac
2065 fi
2066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2067 esac
2068 fi
2069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2070 esac
2071 fi
2072 eval ac_res=\$$4
2073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 printf "%s\n" "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076
2077 } # ac_fn_c_check_member
2078 ac_configure_args_raw=
2079 for ac_arg
2080 do
2081 case $ac_arg in
2082 *\'*)
2083 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 esac
2085 as_fn_append ac_configure_args_raw " '$ac_arg'"
2086 done
2087
2088 case $ac_configure_args_raw in
2089 *$as_nl*)
2090 ac_safe_unquote= ;;
2091 *)
2092 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2093 ac_unsafe_a="$ac_unsafe_z#~"
2094 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2095 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2096 esac
2097
2098 cat >config.log <<_ACEOF
2099 This file contains any messages produced by compilers while
2100 running configure, to aid debugging if configure makes a mistake.
2101
2102 It was created by musixtnt (TeX Live) $as_me 2016-01-30, which was
2103 generated by GNU Autoconf 2.72. Invocation command line was
2104
2105 $ $0$ac_configure_args_raw
2106
2107 _ACEOF
2108 exec 5>>config.log
2109 {
2110 cat <<_ASUNAME
2111 ## --------- ##
2112 ## Platform. ##
2113 ## --------- ##
2114
2115 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2116 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2117 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2118 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2119 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2120
2121 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2122 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2123
2124 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2125 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2126 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2127 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2128 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2129 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2130 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2131
2132 _ASUNAME
2133
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 for as_dir in $PATH
2136 do
2137 IFS=$as_save_IFS
2138 case $as_dir in #(((
2139 '') as_dir=./ ;;
2140 */) ;;
2141 *) as_dir=$as_dir/ ;;
2142 esac
2143 printf "%s\n" "PATH: $as_dir"
2144 done
2145 IFS=$as_save_IFS
2146
2147 } >&5
2148
2149 cat >&5 <<_ACEOF
2150
2151
2152 ## ----------- ##
2153 ## Core tests. ##
2154 ## ----------- ##
2155
2156 _ACEOF
2157
2158
2159 # Keep a trace of the command line.
2160 # Strip out --no-create and --no-recursion so they do not pile up.
2161 # Strip out --silent because we don't want to record it for future runs.
2162 # Also quote any args containing shell meta-characters.
2163 # Make two passes to allow for proper duplicate-argument suppression.
2164 ac_configure_args=
2165 ac_configure_args0=
2166 ac_configure_args1=
2167 ac_must_keep_next=false
2168 for ac_pass in 1 2
2169 do
2170 for ac_arg
2171 do
2172 case $ac_arg in
2173 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2175 | -silent | --silent | --silen | --sile | --sil)
2176 continue ;;
2177 *\'*)
2178 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2179 esac
2180 case $ac_pass in
2181 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2182 2)
2183 as_fn_append ac_configure_args1 " '$ac_arg'"
2184 if test $ac_must_keep_next = true; then
2185 ac_must_keep_next=false # Got value, back to normal.
2186 else
2187 case $ac_arg in
2188 *=* | --config-cache | -C | -disable-* | --disable-* \
2189 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2190 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2191 | -with-* | --with-* | -without-* | --without-* | --x)
2192 case "$ac_configure_args0 " in
2193 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2194 esac
2195 ;;
2196 -* ) ac_must_keep_next=true ;;
2197 esac
2198 fi
2199 as_fn_append ac_configure_args " '$ac_arg'"
2200 ;;
2201 esac
2202 done
2203 done
2204 { ac_configure_args0=; unset ac_configure_args0;}
2205 { ac_configure_args1=; unset ac_configure_args1;}
2206
2207 # When interrupted or exit'd, cleanup temporary files, and complete
2208 # config.log. We remove comments because anyway the quotes in there
2209 # would cause problems or look ugly.
2210 # WARNING: Use '\'' to represent an apostrophe within the trap.
2211 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2212 trap 'exit_status=$?
2213 # Sanitize IFS.
2214 IFS=" "" $as_nl"
2215 # Save into config.log some information that might help in debugging.
2216 {
2217 echo
2218
2219 printf "%s\n" "## ---------------- ##
2220 ## Cache variables. ##
2221 ## ---------------- ##"
2222 echo
2223 # The following way of writing the cache mishandles newlines in values,
2224 (
2225 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2226 eval ac_val=\$$ac_var
2227 case $ac_val in #(
2228 *${as_nl}*)
2229 case $ac_var in #(
2230 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2231 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2232 esac
2233 case $ac_var in #(
2234 _ | IFS | as_nl) ;; #(
2235 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2236 *) { eval $ac_var=; unset $ac_var;} ;;
2237 esac ;;
2238 esac
2239 done
2240 (set) 2>&1 |
2241 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2242 *${as_nl}ac_space=\ *)
2243 sed -n \
2244 "s/'\''/'\''\\\\'\'''\''/g;
2245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2246 ;; #(
2247 *)
2248 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2249 ;;
2250 esac |
2251 sort
2252 )
2253 echo
2254
2255 printf "%s\n" "## ----------------- ##
2256 ## Output variables. ##
2257 ## ----------------- ##"
2258 echo
2259 for ac_var in $ac_subst_vars
2260 do
2261 eval ac_val=\$$ac_var
2262 case $ac_val in
2263 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 esac
2265 printf "%s\n" "$ac_var='\''$ac_val'\''"
2266 done | sort
2267 echo
2268
2269 if test -n "$ac_subst_files"; then
2270 printf "%s\n" "## ------------------- ##
2271 ## File substitutions. ##
2272 ## ------------------- ##"
2273 echo
2274 for ac_var in $ac_subst_files
2275 do
2276 eval ac_val=\$$ac_var
2277 case $ac_val in
2278 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 esac
2280 printf "%s\n" "$ac_var='\''$ac_val'\''"
2281 done | sort
2282 echo
2283 fi
2284
2285 if test -s confdefs.h; then
2286 printf "%s\n" "## ----------- ##
2287 ## confdefs.h. ##
2288 ## ----------- ##"
2289 echo
2290 cat confdefs.h
2291 echo
2292 fi
2293 test "$ac_signal" != 0 &&
2294 printf "%s\n" "$as_me: caught signal $ac_signal"
2295 printf "%s\n" "$as_me: exit $exit_status"
2296 } >&5
2297 rm -f core *.core core.conftest.* &&
2298 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2299 exit $exit_status
2300 ' 0
2301 for ac_signal in 1 2 13 15; do
2302 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2303 done
2304 ac_signal=0
2305
2306 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2307 rm -f -r conftest* confdefs.h
2308
2309 printf "%s\n" "/* confdefs.h */" > confdefs.h
2310
2311 # Predefined preprocessor variables.
2312
2313 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2314
2315 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2316
2317 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2318
2319 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2320
2321 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2322
2323 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2324
2325
2326 # Let the site file select an alternate cache file if it wants to.
2327 # Prefer an explicitly selected file to automatically selected ones.
2328 if test -n "$CONFIG_SITE"; then
2329 ac_site_files="$CONFIG_SITE"
2330 elif test "x$prefix" != xNONE; then
2331 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2332 else
2333 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2334 fi
2335
2336 for ac_site_file in $ac_site_files
2337 do
2338 case $ac_site_file in #(
2339 */*) :
2340 ;; #(
2341 *) :
2342 ac_site_file=./$ac_site_file ;;
2343 esac
2344 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2346 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2347 sed 's/^/| /' "$ac_site_file" >&5
2348 . "$ac_site_file" \
2349 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2350 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2351 as_fn_error $? "failed to load site script $ac_site_file
2352 See 'config.log' for more details" "$LINENO" 5; }
2353 fi
2354 done
2355
2356 if test -r "$cache_file"; then
2357 # Some versions of bash will fail to source /dev/null (special files
2358 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2359 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2361 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2362 case $cache_file in
2363 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2364 *) . "./$cache_file";;
2365 esac
2366 fi
2367 else
2368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2369 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2370 >$cache_file
2371 fi
2372
2373 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2374 # Test code for whether the C compiler supports C89 (global declarations)
2375 ac_c_conftest_c89_globals='
2376 /* Does the compiler advertise C89 conformance?
2377 Do not test the value of __STDC__, because some compilers set it to 0
2378 while being otherwise adequately conformant. */
2379 #if !defined __STDC__
2380 # error "Compiler does not advertise C89 conformance"
2381 #endif
2382
2383 #include <stddef.h>
2384 #include <stdarg.h>
2385 struct stat;
2386 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2387 struct buf { int x; };
2388 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2389 static char *e (char **p, int i)
2390 {
2391 return p[i];
2392 }
2393 static char *f (char * (*g) (char **, int), char **p, ...)
2394 {
2395 char *s;
2396 va_list v;
2397 va_start (v,p);
2398 s = g (p, va_arg (v,int));
2399 va_end (v);
2400 return s;
2401 }
2402
2403 /* C89 style stringification. */
2404 #define noexpand_stringify(a) #a
2405 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2406
2407 /* C89 style token pasting. Exercises some of the corner cases that
2408 e.g. old MSVC gets wrong, but not very hard. */
2409 #define noexpand_concat(a,b) a##b
2410 #define expand_concat(a,b) noexpand_concat(a,b)
2411 extern int vA;
2412 extern int vbee;
2413 #define aye A
2414 #define bee B
2415 int *pvA = &expand_concat(v,aye);
2416 int *pvbee = &noexpand_concat(v,bee);
2417
2418 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2419 function prototypes and stuff, but not \xHH hex character constants.
2420 These do not provoke an error unfortunately, instead are silently treated
2421 as an "x". The following induces an error, until -std is added to get
2422 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2423 array size at least. It is necessary to write \x00 == 0 to get something
2424 that is true only with -std. */
2425 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2426
2427 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2428 inside strings and character constants. */
2429 #define FOO(x) '\''x'\''
2430 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2431
2432 int test (int i, double x);
2433 struct s1 {int (*f) (int a);};
2434 struct s2 {int (*f) (double a);};
2435 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2436 int, int);'
2437
2438 # Test code for whether the C compiler supports C89 (body of main).
2439 ac_c_conftest_c89_main='
2440 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2441 '
2442
2443 # Test code for whether the C compiler supports C99 (global declarations)
2444 ac_c_conftest_c99_globals='
2445 /* Does the compiler advertise C99 conformance? */
2446 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2447 # error "Compiler does not advertise C99 conformance"
2448 #endif
2449
2450 // See if C++-style comments work.
2451
2452 #include <stdbool.h>
2453 extern int puts (const char *);
2454 extern int printf (const char *, ...);
2455 extern int dprintf (int, const char *, ...);
2456 extern void *malloc (size_t);
2457 extern void free (void *);
2458
2459 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2460 // dprintf is used instead of fprintf to avoid needing to declare
2461 // FILE and stderr.
2462 #define debug(...) dprintf (2, __VA_ARGS__)
2463 #define showlist(...) puts (#__VA_ARGS__)
2464 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2465 static void
2466 test_varargs_macros (void)
2467 {
2468 int x = 1234;
2469 int y = 5678;
2470 debug ("Flag");
2471 debug ("X = %d\n", x);
2472 showlist (The first, second, and third items.);
2473 report (x>y, "x is %d but y is %d", x, y);
2474 }
2475
2476 // Check long long types.
2477 #define BIG64 18446744073709551615ull
2478 #define BIG32 4294967295ul
2479 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2480 #if !BIG_OK
2481 #error "your preprocessor is broken"
2482 #endif
2483 #if BIG_OK
2484 #else
2485 #error "your preprocessor is broken"
2486 #endif
2487 static long long int bignum = -9223372036854775807LL;
2488 static unsigned long long int ubignum = BIG64;
2489
2490 struct incomplete_array
2491 {
2492 int datasize;
2493 double data[];
2494 };
2495
2496 struct named_init {
2497 int number;
2498 const wchar_t *name;
2499 double average;
2500 };
2501
2502 typedef const char *ccp;
2503
2504 static inline int
2505 test_restrict (ccp restrict text)
2506 {
2507 // Iterate through items via the restricted pointer.
2508 // Also check for declarations in for loops.
2509 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2510 continue;
2511 return 0;
2512 }
2513
2514 // Check varargs and va_copy.
2515 static bool
2516 test_varargs (const char *format, ...)
2517 {
2518 va_list args;
2519 va_start (args, format);
2520 va_list args_copy;
2521 va_copy (args_copy, args);
2522
2523 const char *str = "";
2524 int number = 0;
2525 float fnumber = 0;
2526
2527 while (*format)
2528 {
2529 switch (*format++)
2530 {
2531 case '\''s'\'': // string
2532 str = va_arg (args_copy, const char *);
2533 break;
2534 case '\''d'\'': // int
2535 number = va_arg (args_copy, int);
2536 break;
2537 case '\''f'\'': // float
2538 fnumber = va_arg (args_copy, double);
2539 break;
2540 default:
2541 break;
2542 }
2543 }
2544 va_end (args_copy);
2545 va_end (args);
2546
2547 return *str && number && fnumber;
2548 }
2549 '
2550
2551 # Test code for whether the C compiler supports C99 (body of main).
2552 ac_c_conftest_c99_main='
2553 // Check bool.
2554 _Bool success = false;
2555 success |= (argc != 0);
2556
2557 // Check restrict.
2558 if (test_restrict ("String literal") == 0)
2559 success = true;
2560 char *restrict newvar = "Another string";
2561
2562 // Check varargs.
2563 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2564 test_varargs_macros ();
2565
2566 // Check flexible array members.
2567 struct incomplete_array *ia =
2568 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2569 ia->datasize = 10;
2570 for (int i = 0; i < ia->datasize; ++i)
2571 ia->data[i] = i * 1.234;
2572 // Work around memory leak warnings.
2573 free (ia);
2574
2575 // Check named initializers.
2576 struct named_init ni = {
2577 .number = 34,
2578 .name = L"Test wide string",
2579 .average = 543.34343,
2580 };
2581
2582 ni.number = 58;
2583
2584 int dynamic_array[ni.number];
2585 dynamic_array[0] = argv[0][0];
2586 dynamic_array[ni.number - 1] = 543;
2587
2588 // work around unused variable warnings
2589 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2590 || dynamic_array[ni.number - 1] != 543);
2591 '
2592
2593 # Test code for whether the C compiler supports C11 (global declarations)
2594 ac_c_conftest_c11_globals='
2595 /* Does the compiler advertise C11 conformance? */
2596 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2597 # error "Compiler does not advertise C11 conformance"
2598 #endif
2599
2600 // Check _Alignas.
2601 char _Alignas (double) aligned_as_double;
2602 char _Alignas (0) no_special_alignment;
2603 extern char aligned_as_int;
2604 char _Alignas (0) _Alignas (int) aligned_as_int;
2605
2606 // Check _Alignof.
2607 enum
2608 {
2609 int_alignment = _Alignof (int),
2610 int_array_alignment = _Alignof (int[100]),
2611 char_alignment = _Alignof (char)
2612 };
2613 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2614
2615 // Check _Noreturn.
2616 int _Noreturn does_not_return (void) { for (;;) continue; }
2617
2618 // Check _Static_assert.
2619 struct test_static_assert
2620 {
2621 int x;
2622 _Static_assert (sizeof (int) <= sizeof (long int),
2623 "_Static_assert does not work in struct");
2624 long int y;
2625 };
2626
2627 // Check UTF-8 literals.
2628 #define u8 syntax error!
2629 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2630
2631 // Check duplicate typedefs.
2632 typedef long *long_ptr;
2633 typedef long int *long_ptr;
2634 typedef long_ptr long_ptr;
2635
2636 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2637 struct anonymous
2638 {
2639 union {
2640 struct { int i; int j; };
2641 struct { int k; long int l; } w;
2642 };
2643 int m;
2644 } v1;
2645 '
2646
2647 # Test code for whether the C compiler supports C11 (body of main).
2648 ac_c_conftest_c11_main='
2649 _Static_assert ((offsetof (struct anonymous, i)
2650 == offsetof (struct anonymous, w.k)),
2651 "Anonymous union alignment botch");
2652 v1.i = 2;
2653 v1.w.k = 5;
2654 ok |= v1.i != 5;
2655 '
2656
2657 # Test code for whether the C compiler supports C11 (complete).
2658 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2659 ${ac_c_conftest_c99_globals}
2660 ${ac_c_conftest_c11_globals}
2661
2662 int
2663 main (int argc, char **argv)
2664 {
2665 int ok = 0;
2666 ${ac_c_conftest_c89_main}
2667 ${ac_c_conftest_c99_main}
2668 ${ac_c_conftest_c11_main}
2669 return ok;
2670 }
2671 "
2672
2673 # Test code for whether the C compiler supports C99 (complete).
2674 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2675 ${ac_c_conftest_c99_globals}
2676
2677 int
2678 main (int argc, char **argv)
2679 {
2680 int ok = 0;
2681 ${ac_c_conftest_c89_main}
2682 ${ac_c_conftest_c99_main}
2683 return ok;
2684 }
2685 "
2686
2687 # Test code for whether the C compiler supports C89 (complete).
2688 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2689
2690 int
2691 main (int argc, char **argv)
2692 {
2693 int ok = 0;
2694 ${ac_c_conftest_c89_main}
2695 return ok;
2696 }
2697 "
2698
2699 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2700 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2701 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2702 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2703 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2704 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2705 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2706 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2707 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2708 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2709
2710 # Auxiliary files required by this configure script.
2711 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2712
2713 # Locations in which to look for auxiliary files.
2714 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2715
2716 # Search for a directory containing all of the required auxiliary files,
2717 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2718 # If we don't find one directory that contains all the files we need,
2719 # we report the set of missing files from the *first* directory in
2720 # $ac_aux_dir_candidates and give up.
2721 ac_missing_aux_files=""
2722 ac_first_candidate=:
2723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 as_found=false
2726 for as_dir in $ac_aux_dir_candidates
2727 do
2728 IFS=$as_save_IFS
2729 case $as_dir in #(((
2730 '') as_dir=./ ;;
2731 */) ;;
2732 *) as_dir=$as_dir/ ;;
2733 esac
2734 as_found=:
2735
2736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2737 ac_aux_dir_found=yes
2738 ac_install_sh=
2739 for ac_aux in $ac_aux_files
2740 do
2741 # As a special case, if "install-sh" is required, that requirement
2742 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2743 # and $ac_install_sh is set appropriately for whichever one is found.
2744 if test x"$ac_aux" = x"install-sh"
2745 then
2746 if test -f "${as_dir}install-sh"; then
2747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2748 ac_install_sh="${as_dir}install-sh -c"
2749 elif test -f "${as_dir}install.sh"; then
2750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2751 ac_install_sh="${as_dir}install.sh -c"
2752 elif test -f "${as_dir}shtool"; then
2753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2754 ac_install_sh="${as_dir}shtool install -c"
2755 else
2756 ac_aux_dir_found=no
2757 if $ac_first_candidate; then
2758 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2759 else
2760 break
2761 fi
2762 fi
2763 else
2764 if test -f "${as_dir}${ac_aux}"; then
2765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2766 else
2767 ac_aux_dir_found=no
2768 if $ac_first_candidate; then
2769 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2770 else
2771 break
2772 fi
2773 fi
2774 fi
2775 done
2776 if test "$ac_aux_dir_found" = yes; then
2777 ac_aux_dir="$as_dir"
2778 break
2779 fi
2780 ac_first_candidate=false
2781
2782 as_found=false
2783 done
2784 IFS=$as_save_IFS
2785 if $as_found
2786 then :
2787
2788 else case e in #(
2789 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2790 esac
2791 fi
2792
2793
2794 # These three variables are undocumented and unsupported,
2795 # and are intended to be withdrawn in a future Autoconf release.
2796 # They can cause serious problems if a builder's source tree is in a directory
2797 # whose full name contains unusual characters.
2798 if test -f "${ac_aux_dir}config.guess"; then
2799 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2800 fi
2801 if test -f "${ac_aux_dir}config.sub"; then
2802 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2803 fi
2804 if test -f "$ac_aux_dir/configure"; then
2805 ac_configure="$SHELL ${ac_aux_dir}configure"
2806 fi
2807
2808 # Check that the precious variables saved in the cache have kept the same
2809 # value.
2810 ac_cache_corrupted=false
2811 for ac_var in $ac_precious_vars; do
2812 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2813 eval ac_new_set=\$ac_env_${ac_var}_set
2814 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2815 eval ac_new_val=\$ac_env_${ac_var}_value
2816 case $ac_old_set,$ac_new_set in
2817 set,)
2818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2819 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2820 ac_cache_corrupted=: ;;
2821 ,set)
2822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2823 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2824 ac_cache_corrupted=: ;;
2825 ,);;
2826 *)
2827 if test "x$ac_old_val" != "x$ac_new_val"; then
2828 # differences in whitespace do not lead to failure.
2829 ac_old_val_w=`echo x $ac_old_val`
2830 ac_new_val_w=`echo x $ac_new_val`
2831 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2833 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2834 ac_cache_corrupted=:
2835 else
2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2837 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2838 eval $ac_var=\$ac_old_val
2839 fi
2840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2841 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2843 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2844 fi;;
2845 esac
2846 # Pass precious variables to config.status.
2847 if test "$ac_new_set" = set; then
2848 case $ac_new_val in
2849 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2850 *) ac_arg=$ac_var=$ac_new_val ;;
2851 esac
2852 case " $ac_configure_args " in
2853 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2854 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2855 esac
2856 fi
2857 done
2858 if $ac_cache_corrupted; then
2859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2860 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2862 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2863 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2864 and start over" "$LINENO" 5
2865 fi
2866 ## -------------------- ##
2867 ## Main body of script. ##
2868 ## -------------------- ##
2869
2870 ac_ext=c
2871 ac_cpp='$CPP $CPPFLAGS'
2872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2875
2876
2877
2878
2879
2880
2881
2882 am__api_version='1.18'
2883
2884
2885
2886 # Find a good install program. We prefer a C program (faster),
2887 # so one script is as good as another. But avoid the broken or
2888 # incompatible versions:
2889 # SysV /etc/install, /usr/sbin/install
2890 # SunOS /usr/etc/install
2891 # IRIX /sbin/install
2892 # AIX /bin/install
2893 # AmigaOS /C/install, which installs bootblocks on floppy discs
2894 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2895 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2896 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2897 # OS/2's system install, which has a completely different semantic
2898 # ./install, which can be erroneously created by make from ./install.sh.
2899 # Reject install programs that cannot install multiple files.
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2901 printf %s "checking for a BSD-compatible install... " >&6; }
2902 if test -z "$INSTALL"; then
2903 if test ${ac_cv_path_install+y}
2904 then :
2905 printf %s "(cached) " >&6
2906 else case e in #(
2907 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908 for as_dir in $PATH
2909 do
2910 IFS=$as_save_IFS
2911 case $as_dir in #(((
2912 '') as_dir=./ ;;
2913 */) ;;
2914 *) as_dir=$as_dir/ ;;
2915 esac
2916 # Account for fact that we put trailing slashes in our PATH walk.
2917 case $as_dir in #((
2918 ./ | /[cC]/* | \
2919 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2920 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2921 /usr/ucb/* ) ;;
2922 *)
2923 # OSF1 and SCO ODT 3.0 have their own names for install.
2924 # Don't use installbsd from OSF since it installs stuff as root
2925 # by default.
2926 for ac_prog in ginstall scoinst install; do
2927 for ac_exec_ext in '' $ac_executable_extensions; do
2928 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2929 if test $ac_prog = install &&
2930 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2931 # AIX install. It has an incompatible calling convention.
2932 :
2933 elif test $ac_prog = install &&
2934 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2935 # program-specific install script used by HP pwplus--don't use.
2936 :
2937 else
2938 rm -rf conftest.one conftest.two conftest.dir
2939 echo one > conftest.one
2940 echo two > conftest.two
2941 mkdir conftest.dir
2942 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2943 test -s conftest.one && test -s conftest.two &&
2944 test -s conftest.dir/conftest.one &&
2945 test -s conftest.dir/conftest.two
2946 then
2947 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2948 break 3
2949 fi
2950 fi
2951 fi
2952 done
2953 done
2954 ;;
2955 esac
2956
2957 done
2958 IFS=$as_save_IFS
2959
2960 rm -rf conftest.one conftest.two conftest.dir
2961 ;;
2962 esac
2963 fi
2964 if test ${ac_cv_path_install+y}; then
2965 INSTALL=$ac_cv_path_install
2966 else
2967 # As a last resort, use the slow shell script. Don't cache a
2968 # value for INSTALL within a source directory, because that will
2969 # break other packages using the cache if that directory is
2970 # removed, or if the value is a relative name.
2971 INSTALL=$ac_install_sh
2972 fi
2973 fi
2974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2975 printf "%s\n" "$INSTALL" >&6; }
2976
2977 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2978 # It thinks the first close brace ends the variable substitution.
2979 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2980
2981 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2982
2983 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2984
2985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
2986 printf %s "checking whether sleep supports fractional seconds... " >&6; }
2987 if test ${am_cv_sleep_fractional_seconds+y}
2988 then :
2989 printf %s "(cached) " >&6
2990 else case e in #(
2991 e) if sleep 0.001 2>/dev/null
2992 then :
2993 am_cv_sleep_fractional_seconds=yes
2994 else case e in #(
2995 e) am_cv_sleep_fractional_seconds=no ;;
2996 esac
2997 fi
2998 ;;
2999 esac
3000 fi
3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3002 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3003
3004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3005 printf %s "checking filesystem timestamp resolution... " >&6; }
3006 if test ${am_cv_filesystem_timestamp_resolution+y}
3007 then :
3008 printf %s "(cached) " >&6
3009 else case e in #(
3010 e) # Default to the worst case.
3011 am_cv_filesystem_timestamp_resolution=2
3012
3013 # Only try to go finer than 1 sec if sleep can do it.
3014 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3015 # - 1 sec is not much of a win compared to 2 sec, and
3016 # - it takes 2 seconds to perform the test whether 1 sec works.
3017 #
3018 # Instead, just use the default 2s on platforms that have 1s resolution,
3019 # accept the extra 1s delay when using $sleep in the Automake tests, in
3020 # exchange for not incurring the 2s delay for running the test for all
3021 # packages.
3022 #
3023 am_try_resolutions=
3024 if test "$am_cv_sleep_fractional_seconds" = yes; then
3025 # Even a millisecond often causes a bunch of false positives,
3026 # so just try a hundredth of a second. The time saved between .001 and
3027 # .01 is not terribly consequential.
3028 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3029 fi
3030
3031 # In order to catch current-generation FAT out, we must *modify* files
3032 # that already exist; the *creation* timestamp is finer. Use names
3033 # that make ls -t sort them differently when they have equal
3034 # timestamps than when they have distinct timestamps, keeping
3035 # in mind that ls -t prints the *newest* file first.
3036 rm -f conftest.ts?
3037 : > conftest.ts1
3038 : > conftest.ts2
3039 : > conftest.ts3
3040
3041 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3042 # clobber the current shell's arguments. (Outer-level square brackets
3043 # are removed by m4; they're present so that m4 does not expand
3044 # <dollar><star>; be careful, easy to get confused.)
3045 if (
3046 set X `ls -t conftest.ts[12]` &&
3047 {
3048 test "$*" != "X conftest.ts1 conftest.ts2" ||
3049 test "$*" != "X conftest.ts2 conftest.ts1";
3050 }
3051 ); then :; else
3052 # If neither matched, then we have a broken ls. This can happen
3053 # if, for instance, CONFIG_SHELL is bash and it inherits a
3054 # broken ls alias from the environment. This has actually
3055 # happened. Such a system could not be considered "sane".
3056 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3057 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3058 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3059 as_fn_error $? "ls -t produces unexpected output.
3060 Make sure there is not a broken ls alias in your environment.
3061 See 'config.log' for more details" "$LINENO" 5; }
3062 fi
3063
3064 for am_try_res in $am_try_resolutions; do
3065 # Any one fine-grained sleep might happen to cross the boundary
3066 # between two values of a coarser actual resolution, but if we do
3067 # two fine-grained sleeps in a row, at least one of them will fall
3068 # entirely within a coarse interval.
3069 echo alpha > conftest.ts1
3070 sleep $am_try_res
3071 echo beta > conftest.ts2
3072 sleep $am_try_res
3073 echo gamma > conftest.ts3
3074
3075 # We assume that 'ls -t' will make use of high-resolution
3076 # timestamps if the operating system supports them at all.
3077 if (set X `ls -t conftest.ts?` &&
3078 test "$2" = conftest.ts3 &&
3079 test "$3" = conftest.ts2 &&
3080 test "$4" = conftest.ts1); then
3081 #
3082 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3083 # because we don't need to test make.
3084 make_ok=true
3085 if test $am_try_res != 1; then
3086 # But if we've succeeded so far with a subsecond resolution, we
3087 # have one more thing to check: make. It can happen that
3088 # everything else supports the subsecond mtimes, but make doesn't;
3089 # notably on macOS, which ships make 3.81 from 2006 (the last one
3090 # released under GPLv2). https://bugs.gnu.org/68808
3091 #
3092 # We test $MAKE if it is defined in the environment, else "make".
3093 # It might get overridden later, but our hope is that in practice
3094 # it does not matter: it is the system "make" which is (by far)
3095 # the most likely to be broken, whereas if the user overrides it,
3096 # probably they did so with a better, or at least not worse, make.
3097 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3098 #
3099 # Create a Makefile (real tab character here):
3100 rm -f conftest.mk
3101 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3102 echo ' touch conftest.ts2' >>conftest.mk
3103 #
3104 # Now, running
3105 # touch conftest.ts1; touch conftest.ts2; make
3106 # should touch ts1 because ts2 is newer. This could happen by luck,
3107 # but most often, it will fail if make's support is insufficient. So
3108 # test for several consecutive successes.
3109 #
3110 # (We reuse conftest.ts[12] because we still want to modify existing
3111 # files, not create new ones, per above.)
3112 n=0
3113 make=${MAKE-make}
3114 until test $n -eq 3; do
3115 echo one > conftest.ts1
3116 sleep $am_try_res
3117 echo two > conftest.ts2 # ts2 should now be newer than ts1
3118 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3119 make_ok=false
3120 break # out of $n loop
3121 fi
3122 n=`expr $n + 1`
3123 done
3124 fi
3125 #
3126 if $make_ok; then
3127 # Everything we know to check worked out, so call this resolution good.
3128 am_cv_filesystem_timestamp_resolution=$am_try_res
3129 break # out of $am_try_res loop
3130 fi
3131 # Otherwise, we'll go on to check the next resolution.
3132 fi
3133 done
3134 rm -f conftest.ts?
3135 # (end _am_filesystem_timestamp_resolution)
3136 ;;
3137 esac
3138 fi
3139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3140 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3141
3142 # This check should not be cached, as it may vary across builds of
3143 # different projects.
3144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3145 printf %s "checking whether build environment is sane... " >&6; }
3146 # Reject unsafe characters in $srcdir or the absolute working directory
3147 # name. Accept space and tab only in the latter.
3148 am_lf='
3149 '
3150 case `pwd` in
3151 *[\\\"\#\$\&\'\`$am_lf]*)
3152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 printf "%s\n" "no" >&6; }
3154 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3155 esac
3156 case $srcdir in
3157 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 printf "%s\n" "no" >&6; }
3160 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3161 esac
3162
3163 # Do 'set' in a subshell so we don't clobber the current shell's
3164 # arguments. Must try -L first in case configure is actually a
3165 # symlink; some systems play weird games with the mod time of symlinks
3166 # (eg FreeBSD returns the mod time of the symlink's containing
3167 # directory).
3168 am_build_env_is_sane=no
3169 am_has_slept=no
3170 rm -f conftest.file
3171 for am_try in 1 2; do
3172 echo "timestamp, slept: $am_has_slept" > conftest.file
3173 if (
3174 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3175 if test "$*" = "X"; then
3176 # -L didn't work.
3177 set X `ls -t "$srcdir/configure" conftest.file`
3178 fi
3179 test "$2" = conftest.file
3180 ); then
3181 am_build_env_is_sane=yes
3182 break
3183 fi
3184 # Just in case.
3185 sleep "$am_cv_filesystem_timestamp_resolution"
3186 am_has_slept=yes
3187 done
3188
3189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3190 printf "%s\n" "$am_build_env_is_sane" >&6; }
3191 if test "$am_build_env_is_sane" = no; then
3192 as_fn_error $? "newly created file is older than distributed files!
3193 Check your system clock" "$LINENO" 5
3194 fi
3195
3196 # If we didn't sleep, we still need to ensure time stamps of config.status and
3197 # generated files are strictly newer.
3198 am_sleep_pid=
3199 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3200 then :
3201
3202 else case e in #(
3203 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3204 am_sleep_pid=$!
3205 ;;
3206 esac
3207 fi
3208
3209 rm -f conftest.file
3210
3211 test "$program_prefix" != NONE &&
3212 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3213 # Use a double $ so make ignores it.
3214 test "$program_suffix" != NONE &&
3215 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3216 # Double any \ or $.
3217 # By default was 's,x,x', remove it if useless.
3218 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3219 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3220
3221
3222 # Expand $ac_aux_dir to an absolute path.
3223 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3224
3225
3226 if test x"${MISSING+set}" != xset; then
3227 MISSING="\${SHELL} '$am_aux_dir/missing'"
3228 fi
3229 # Use eval to expand $SHELL
3230 if eval "$MISSING --is-lightweight"; then
3231 am_missing_run="$MISSING "
3232 else
3233 am_missing_run=
3234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3235 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3236 fi
3237
3238 if test x"${install_sh+set}" != xset; then
3239 case $am_aux_dir in
3240 *\ * | *\ *)
3241 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3242 *)
3243 install_sh="\${SHELL} $am_aux_dir/install-sh"
3244 esac
3245 fi
3246
3247 # Installed binaries are usually stripped using 'strip' when the user
3248 # run "make install-strip". However 'strip' might not be the right
3249 # tool to use in cross-compilation environments, therefore Automake
3250 # will honor the 'STRIP' environment variable to overrule this program.
3251 if test "$cross_compiling" != no; then
3252 if test -n "$ac_tool_prefix"; then
3253 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3254 set dummy ${ac_tool_prefix}strip; ac_word=$2
3255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 printf %s "checking for $ac_word... " >&6; }
3257 if test ${ac_cv_prog_STRIP+y}
3258 then :
3259 printf %s "(cached) " >&6
3260 else case e in #(
3261 e) if test -n "$STRIP"; then
3262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3263 else
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3266 do
3267 IFS=$as_save_IFS
3268 case $as_dir in #(((
3269 '') as_dir=./ ;;
3270 */) ;;
3271 *) as_dir=$as_dir/ ;;
3272 esac
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3275 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3277 break 2
3278 fi
3279 done
3280 done
3281 IFS=$as_save_IFS
3282
3283 fi ;;
3284 esac
3285 fi
3286 STRIP=$ac_cv_prog_STRIP
3287 if test -n "$STRIP"; then
3288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3289 printf "%s\n" "$STRIP" >&6; }
3290 else
3291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 printf "%s\n" "no" >&6; }
3293 fi
3294
3295
3296 fi
3297 if test -z "$ac_cv_prog_STRIP"; then
3298 ac_ct_STRIP=$STRIP
3299 # Extract the first word of "strip", so it can be a program name with args.
3300 set dummy strip; ac_word=$2
3301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 printf %s "checking for $ac_word... " >&6; }
3303 if test ${ac_cv_prog_ac_ct_STRIP+y}
3304 then :
3305 printf %s "(cached) " >&6
3306 else case e in #(
3307 e) if test -n "$ac_ct_STRIP"; then
3308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3309 else
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 for as_dir in $PATH
3312 do
3313 IFS=$as_save_IFS
3314 case $as_dir in #(((
3315 '') as_dir=./ ;;
3316 */) ;;
3317 *) as_dir=$as_dir/ ;;
3318 esac
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3321 ac_cv_prog_ac_ct_STRIP="strip"
3322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3323 break 2
3324 fi
3325 done
3326 done
3327 IFS=$as_save_IFS
3328
3329 fi ;;
3330 esac
3331 fi
3332 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3333 if test -n "$ac_ct_STRIP"; then
3334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3335 printf "%s\n" "$ac_ct_STRIP" >&6; }
3336 else
3337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 printf "%s\n" "no" >&6; }
3339 fi
3340
3341 if test "x$ac_ct_STRIP" = x; then
3342 STRIP=":"
3343 else
3344 case $cross_compiling:$ac_tool_warned in
3345 yes:)
3346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3347 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3348 ac_tool_warned=yes ;;
3349 esac
3350 STRIP=$ac_ct_STRIP
3351 fi
3352 else
3353 STRIP="$ac_cv_prog_STRIP"
3354 fi
3355
3356 fi
3357 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3358
3359
3360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3361 printf %s "checking for a race-free mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test ${ac_cv_path_mkdir+y}
3364 then :
3365 printf %s "(cached) " >&6
3366 else case e in #(
3367 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3368 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3369 do
3370 IFS=$as_save_IFS
3371 case $as_dir in #(((
3372 '') as_dir=./ ;;
3373 */) ;;
3374 *) as_dir=$as_dir/ ;;
3375 esac
3376 for ac_prog in mkdir gmkdir; do
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3379 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3380 'mkdir ('*'coreutils) '* | \
3381 *'BusyBox '* | \
3382 'mkdir (fileutils) '4.1*)
3383 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3384 break 3;;
3385 esac
3386 done
3387 done
3388 done
3389 IFS=$as_save_IFS
3390 ;;
3391 esac
3392 fi
3393
3394 test -d ./--version && rmdir ./--version
3395 if test ${ac_cv_path_mkdir+y}; then
3396 MKDIR_P="$ac_cv_path_mkdir -p"
3397 else
3398 # As a last resort, use plain mkdir -p,
3399 # in the hope it doesn't have the bugs of ancient mkdir.
3400 MKDIR_P='mkdir -p'
3401 fi
3402 fi
3403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3404 printf "%s\n" "$MKDIR_P" >&6; }
3405
3406 for ac_prog in gawk mawk nawk awk
3407 do
3408 # Extract the first word of "$ac_prog", so it can be a program name with args.
3409 set dummy $ac_prog; ac_word=$2
3410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3411 printf %s "checking for $ac_word... " >&6; }
3412 if test ${ac_cv_prog_AWK+y}
3413 then :
3414 printf %s "(cached) " >&6
3415 else case e in #(
3416 e) if test -n "$AWK"; then
3417 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3418 else
3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420 for as_dir in $PATH
3421 do
3422 IFS=$as_save_IFS
3423 case $as_dir in #(((
3424 '') as_dir=./ ;;
3425 */) ;;
3426 *) as_dir=$as_dir/ ;;
3427 esac
3428 for ac_exec_ext in '' $ac_executable_extensions; do
3429 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3430 ac_cv_prog_AWK="$ac_prog"
3431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3432 break 2
3433 fi
3434 done
3435 done
3436 IFS=$as_save_IFS
3437
3438 fi ;;
3439 esac
3440 fi
3441 AWK=$ac_cv_prog_AWK
3442 if test -n "$AWK"; then
3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3444 printf "%s\n" "$AWK" >&6; }
3445 else
3446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 printf "%s\n" "no" >&6; }
3448 fi
3449
3450
3451 test -n "$AWK" && break
3452 done
3453
3454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3455 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3456 set x ${MAKE-make}
3457 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3458 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3459 then :
3460 printf %s "(cached) " >&6
3461 else case e in #(
3462 e) cat >conftest.make <<\_ACEOF
3463 SHELL = /bin/sh
3464 all:
3465 @echo '@@@%%%=$(MAKE)=@@@%%%'
3466 _ACEOF
3467 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3468 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3469 *@@@%%%=?*=@@@%%%*)
3470 eval ac_cv_prog_make_${ac_make}_set=yes;;
3471 *)
3472 eval ac_cv_prog_make_${ac_make}_set=no;;
3473 esac
3474 rm -f conftest.make ;;
3475 esac
3476 fi
3477 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3479 printf "%s\n" "yes" >&6; }
3480 SET_MAKE=
3481 else
3482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3483 printf "%s\n" "no" >&6; }
3484 SET_MAKE="MAKE=${MAKE-make}"
3485 fi
3486
3487 rm -rf .tst 2>/dev/null
3488 mkdir .tst 2>/dev/null
3489 if test -d .tst; then
3490 am__leading_dot=.
3491 else
3492 am__leading_dot=_
3493 fi
3494 rmdir .tst 2>/dev/null
3495
3496 AM_DEFAULT_VERBOSITY=1
3497 # Check whether --enable-silent-rules was given.
3498 if test ${enable_silent_rules+y}
3499 then :
3500 enableval=$enable_silent_rules;
3501 fi
3502
3503 am_make=${MAKE-make}
3504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3505 printf %s "checking whether $am_make supports nested variables... " >&6; }
3506 if test ${am_cv_make_support_nested_variables+y}
3507 then :
3508 printf %s "(cached) " >&6
3509 else case e in #(
3510 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3511 BAR0=false
3512 BAR1=true
3513 V=1
3514 am__doit:
3515 @$(TRUE)
3516 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3517 am_cv_make_support_nested_variables=yes
3518 else
3519 am_cv_make_support_nested_variables=no
3520 fi ;;
3521 esac
3522 fi
3523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3524 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3525 AM_BACKSLASH='\'
3526
3527 am__rm_f_notfound=
3528 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3529 then :
3530
3531 else case e in #(
3532 e) am__rm_f_notfound='""' ;;
3533 esac
3534 fi
3535
3536
3537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3538 printf %s "checking xargs -n works... " >&6; }
3539 if test ${am_cv_xargs_n_works+y}
3540 then :
3541 printf %s "(cached) " >&6
3542 else case e in #(
3543 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3544 3"
3545 then :
3546 am_cv_xargs_n_works=yes
3547 else case e in #(
3548 e) am_cv_xargs_n_works=no ;;
3549 esac
3550 fi ;;
3551 esac
3552 fi
3553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3554 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3555 if test "$am_cv_xargs_n_works" = yes
3556 then :
3557 am__xargs_n='xargs -n'
3558 else case e in #(
3559 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3560 ;;
3561 esac
3562 fi
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573 DEPDIR="${am__leading_dot}deps"
3574
3575 ac_config_commands="$ac_config_commands depfiles"
3576
3577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3578 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3579 cat > confinc.mk << 'END'
3580 am__doit:
3581 @echo this is the am__doit target >confinc.out
3582 .PHONY: am__doit
3583 END
3584 am__include="#"
3585 am__quote=
3586 # BSD make does it like this.
3587 echo '.include "confinc.mk" # ignored' > confmf.BSD
3588 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3589 echo 'include confinc.mk # ignored' > confmf.GNU
3590 _am_result=no
3591 for s in GNU BSD; do
3592 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3593 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3594 ac_status=$?
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }
3597 case $?:`cat confinc.out 2>/dev/null` in #(
3598 '0:this is the am__doit target') :
3599 case $s in #(
3600 BSD) :
3601 am__include='.include' am__quote='"' ;; #(
3602 *) :
3603 am__include='include' am__quote='' ;;
3604 esac ;; #(
3605 *) :
3606 ;;
3607 esac
3608 if test "$am__include" != "#"; then
3609 _am_result="yes ($s style)"
3610 break
3611 fi
3612 done
3613 rm -f confinc.* confmf.*
3614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3615 printf "%s\n" "${_am_result}" >&6; }
3616
3617 # Check whether --enable-dependency-tracking was given.
3618 if test ${enable_dependency_tracking+y}
3619 then :
3620 enableval=$enable_dependency_tracking;
3621 fi
3622
3623 if test "x$enable_dependency_tracking" != xno; then
3624 am_depcomp="$ac_aux_dir/depcomp"
3625 AMDEPBACKSLASH='\'
3626 am__nodep='_no'
3627 fi
3628 if test "x$enable_dependency_tracking" != xno; then
3629 AMDEP_TRUE=
3630 AMDEP_FALSE='#'
3631 else
3632 AMDEP_TRUE='#'
3633 AMDEP_FALSE=
3634 fi
3635
3636
3637 ac_ext=c
3638 ac_cpp='$CPP $CPPFLAGS'
3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 printf %s "checking for $ac_word... " >&6; }
3647 if test ${ac_cv_prog_CC+y}
3648 then :
3649 printf %s "(cached) " >&6
3650 else case e in #(
3651 e) if test -n "$CC"; then
3652 ac_cv_prog_CC="$CC" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3656 do
3657 IFS=$as_save_IFS
3658 case $as_dir in #(((
3659 '') as_dir=./ ;;
3660 */) ;;
3661 *) as_dir=$as_dir/ ;;
3662 esac
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3665 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3667 break 2
3668 fi
3669 done
3670 done
3671 IFS=$as_save_IFS
3672
3673 fi ;;
3674 esac
3675 fi
3676 CC=$ac_cv_prog_CC
3677 if test -n "$CC"; then
3678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3679 printf "%s\n" "$CC" >&6; }
3680 else
3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 printf "%s\n" "no" >&6; }
3683 fi
3684
3685
3686 fi
3687 if test -z "$ac_cv_prog_CC"; then
3688 ac_ct_CC=$CC
3689 # Extract the first word of "gcc", so it can be a program name with args.
3690 set dummy gcc; ac_word=$2
3691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 printf %s "checking for $ac_word... " >&6; }
3693 if test ${ac_cv_prog_ac_ct_CC+y}
3694 then :
3695 printf %s "(cached) " >&6
3696 else case e in #(
3697 e) if test -n "$ac_ct_CC"; then
3698 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3699 else
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 for as_dir in $PATH
3702 do
3703 IFS=$as_save_IFS
3704 case $as_dir in #(((
3705 '') as_dir=./ ;;
3706 */) ;;
3707 *) as_dir=$as_dir/ ;;
3708 esac
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_ac_ct_CC="gcc"
3712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3713 break 2
3714 fi
3715 done
3716 done
3717 IFS=$as_save_IFS
3718
3719 fi ;;
3720 esac
3721 fi
3722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3723 if test -n "$ac_ct_CC"; then
3724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3725 printf "%s\n" "$ac_ct_CC" >&6; }
3726 else
3727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 printf "%s\n" "no" >&6; }
3729 fi
3730
3731 if test "x$ac_ct_CC" = x; then
3732 CC=""
3733 else
3734 case $cross_compiling:$ac_tool_warned in
3735 yes:)
3736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3737 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3738 ac_tool_warned=yes ;;
3739 esac
3740 CC=$ac_ct_CC
3741 fi
3742 else
3743 CC="$ac_cv_prog_CC"
3744 fi
3745
3746 if test -z "$CC"; then
3747 if test -n "$ac_tool_prefix"; then
3748 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3749 set dummy ${ac_tool_prefix}cc; ac_word=$2
3750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 printf %s "checking for $ac_word... " >&6; }
3752 if test ${ac_cv_prog_CC+y}
3753 then :
3754 printf %s "(cached) " >&6
3755 else case e in #(
3756 e) if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762 IFS=$as_save_IFS
3763 case $as_dir in #(((
3764 '') as_dir=./ ;;
3765 */) ;;
3766 *) as_dir=$as_dir/ ;;
3767 esac
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3770 ac_cv_prog_CC="${ac_tool_prefix}cc"
3771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3772 break 2
3773 fi
3774 done
3775 done
3776 IFS=$as_save_IFS
3777
3778 fi ;;
3779 esac
3780 fi
3781 CC=$ac_cv_prog_CC
3782 if test -n "$CC"; then
3783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 printf "%s\n" "$CC" >&6; }
3785 else
3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 printf "%s\n" "no" >&6; }
3788 fi
3789
3790
3791 fi
3792 fi
3793 if test -z "$CC"; then
3794 # Extract the first word of "cc", so it can be a program name with args.
3795 set dummy cc; ac_word=$2
3796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 printf %s "checking for $ac_word... " >&6; }
3798 if test ${ac_cv_prog_CC+y}
3799 then :
3800 printf %s "(cached) " >&6
3801 else case e in #(
3802 e) if test -n "$CC"; then
3803 ac_cv_prog_CC="$CC" # Let the user override the test.
3804 else
3805 ac_prog_rejected=no
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3808 do
3809 IFS=$as_save_IFS
3810 case $as_dir in #(((
3811 '') as_dir=./ ;;
3812 */) ;;
3813 *) as_dir=$as_dir/ ;;
3814 esac
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3817 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3818 ac_prog_rejected=yes
3819 continue
3820 fi
3821 ac_cv_prog_CC="cc"
3822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3823 break 2
3824 fi
3825 done
3826 done
3827 IFS=$as_save_IFS
3828
3829 if test $ac_prog_rejected = yes; then
3830 # We found a bogon in the path, so make sure we never use it.
3831 set dummy $ac_cv_prog_CC
3832 shift
3833 if test $# != 0; then
3834 # We chose a different compiler from the bogus one.
3835 # However, it has the same basename, so the bogon will be chosen
3836 # first if we set CC to just the basename; use the full file name.
3837 shift
3838 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3839 fi
3840 fi
3841 fi ;;
3842 esac
3843 fi
3844 CC=$ac_cv_prog_CC
3845 if test -n "$CC"; then
3846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3847 printf "%s\n" "$CC" >&6; }
3848 else
3849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3850 printf "%s\n" "no" >&6; }
3851 fi
3852
3853
3854 fi
3855 if test -z "$CC"; then
3856 if test -n "$ac_tool_prefix"; then
3857 for ac_prog in cl.exe
3858 do
3859 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3860 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 printf %s "checking for $ac_word... " >&6; }
3863 if test ${ac_cv_prog_CC+y}
3864 then :
3865 printf %s "(cached) " >&6
3866 else case e in #(
3867 e) if test -n "$CC"; then
3868 ac_cv_prog_CC="$CC" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3872 do
3873 IFS=$as_save_IFS
3874 case $as_dir in #(((
3875 '') as_dir=./ ;;
3876 */) ;;
3877 *) as_dir=$as_dir/ ;;
3878 esac
3879 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3881 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3883 break 2
3884 fi
3885 done
3886 done
3887 IFS=$as_save_IFS
3888
3889 fi ;;
3890 esac
3891 fi
3892 CC=$ac_cv_prog_CC
3893 if test -n "$CC"; then
3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3895 printf "%s\n" "$CC" >&6; }
3896 else
3897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 printf "%s\n" "no" >&6; }
3899 fi
3900
3901
3902 test -n "$CC" && break
3903 done
3904 fi
3905 if test -z "$CC"; then
3906 ac_ct_CC=$CC
3907 for ac_prog in cl.exe
3908 do
3909 # Extract the first word of "$ac_prog", so it can be a program name with args.
3910 set dummy $ac_prog; ac_word=$2
3911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912 printf %s "checking for $ac_word... " >&6; }
3913 if test ${ac_cv_prog_ac_ct_CC+y}
3914 then :
3915 printf %s "(cached) " >&6
3916 else case e in #(
3917 e) if test -n "$ac_ct_CC"; then
3918 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3919 else
3920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921 for as_dir in $PATH
3922 do
3923 IFS=$as_save_IFS
3924 case $as_dir in #(((
3925 '') as_dir=./ ;;
3926 */) ;;
3927 *) as_dir=$as_dir/ ;;
3928 esac
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_ac_ct_CC="$ac_prog"
3932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3933 break 2
3934 fi
3935 done
3936 done
3937 IFS=$as_save_IFS
3938
3939 fi ;;
3940 esac
3941 fi
3942 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3943 if test -n "$ac_ct_CC"; then
3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3945 printf "%s\n" "$ac_ct_CC" >&6; }
3946 else
3947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 printf "%s\n" "no" >&6; }
3949 fi
3950
3951
3952 test -n "$ac_ct_CC" && break
3953 done
3954
3955 if test "x$ac_ct_CC" = x; then
3956 CC=""
3957 else
3958 case $cross_compiling:$ac_tool_warned in
3959 yes:)
3960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3961 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3962 ac_tool_warned=yes ;;
3963 esac
3964 CC=$ac_ct_CC
3965 fi
3966 fi
3967
3968 fi
3969 if test -z "$CC"; then
3970 if test -n "$ac_tool_prefix"; then
3971 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3972 set dummy ${ac_tool_prefix}clang; ac_word=$2
3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 printf %s "checking for $ac_word... " >&6; }
3975 if test ${ac_cv_prog_CC+y}
3976 then :
3977 printf %s "(cached) " >&6
3978 else case e in #(
3979 e) if test -n "$CC"; then
3980 ac_cv_prog_CC="$CC" # Let the user override the test.
3981 else
3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983 for as_dir in $PATH
3984 do
3985 IFS=$as_save_IFS
3986 case $as_dir in #(((
3987 '') as_dir=./ ;;
3988 */) ;;
3989 *) as_dir=$as_dir/ ;;
3990 esac
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3993 ac_cv_prog_CC="${ac_tool_prefix}clang"
3994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3995 break 2
3996 fi
3997 done
3998 done
3999 IFS=$as_save_IFS
4000
4001 fi ;;
4002 esac
4003 fi
4004 CC=$ac_cv_prog_CC
4005 if test -n "$CC"; then
4006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4007 printf "%s\n" "$CC" >&6; }
4008 else
4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 printf "%s\n" "no" >&6; }
4011 fi
4012
4013
4014 fi
4015 if test -z "$ac_cv_prog_CC"; then
4016 ac_ct_CC=$CC
4017 # Extract the first word of "clang", so it can be a program name with args.
4018 set dummy clang; ac_word=$2
4019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 printf %s "checking for $ac_word... " >&6; }
4021 if test ${ac_cv_prog_ac_ct_CC+y}
4022 then :
4023 printf %s "(cached) " >&6
4024 else case e in #(
4025 e) if test -n "$ac_ct_CC"; then
4026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4030 do
4031 IFS=$as_save_IFS
4032 case $as_dir in #(((
4033 '') as_dir=./ ;;
4034 */) ;;
4035 *) as_dir=$as_dir/ ;;
4036 esac
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4039 ac_cv_prog_ac_ct_CC="clang"
4040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4041 break 2
4042 fi
4043 done
4044 done
4045 IFS=$as_save_IFS
4046
4047 fi ;;
4048 esac
4049 fi
4050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4051 if test -n "$ac_ct_CC"; then
4052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4053 printf "%s\n" "$ac_ct_CC" >&6; }
4054 else
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 printf "%s\n" "no" >&6; }
4057 fi
4058
4059 if test "x$ac_ct_CC" = x; then
4060 CC=""
4061 else
4062 case $cross_compiling:$ac_tool_warned in
4063 yes:)
4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4065 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4066 ac_tool_warned=yes ;;
4067 esac
4068 CC=$ac_ct_CC
4069 fi
4070 else
4071 CC="$ac_cv_prog_CC"
4072 fi
4073
4074 fi
4075
4076
4077 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4078 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4079 as_fn_error $? "no acceptable C compiler found in \$PATH
4080 See 'config.log' for more details" "$LINENO" 5; }
4081
4082 # Provide some information about the compiler.
4083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4084 set X $ac_compile
4085 ac_compiler=$2
4086 for ac_option in --version -v -V -qversion -version; do
4087 { { ac_try="$ac_compiler $ac_option >&5"
4088 case "(($ac_try" in
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4091 esac
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 printf "%s\n" "$ac_try_echo"; } >&5
4094 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4095 ac_status=$?
4096 if test -s conftest.err; then
4097 sed '10a\
4098 ... rest of stderr output deleted ...
4099 10q' conftest.err >conftest.er1
4100 cat conftest.er1 >&5
4101 fi
4102 rm -f conftest.er1 conftest.err
4103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }
4105 done
4106
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4109
4110 int
4111 main (void)
4112 {
4113
4114 ;
4115 return 0;
4116 }
4117 _ACEOF
4118 ac_clean_files_save=$ac_clean_files
4119 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4120 # Try to create an executable without -o first, disregard a.out.
4121 # It will help us diagnose broken compilers, and finding out an intuition
4122 # of exeext.
4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4124 printf %s "checking whether the C compiler works... " >&6; }
4125 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4126
4127 # The possible output files:
4128 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4129
4130 ac_rmfiles=
4131 for ac_file in $ac_files
4132 do
4133 case $ac_file in
4134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4136 esac
4137 done
4138 rm -f $ac_rmfiles
4139
4140 if { { ac_try="$ac_link_default"
4141 case "(($ac_try" in
4142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4143 *) ac_try_echo=$ac_try;;
4144 esac
4145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4146 printf "%s\n" "$ac_try_echo"; } >&5
4147 (eval "$ac_link_default") 2>&5
4148 ac_status=$?
4149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150 test $ac_status = 0; }
4151 then :
4152 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4153 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4154 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4155 # so that the user can short-circuit this test for compilers unknown to
4156 # Autoconf.
4157 for ac_file in $ac_files ''
4158 do
4159 test -f "$ac_file" || continue
4160 case $ac_file in
4161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4162 ;;
4163 [ab].out )
4164 # We found the default executable, but exeext='' is most
4165 # certainly right.
4166 break;;
4167 *.* )
4168 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4169 then :; else
4170 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4171 fi
4172 # We set ac_cv_exeext here because the later test for it is not
4173 # safe: cross compilers may not add the suffix if given an '-o'
4174 # argument, so we may need to know it at that point already.
4175 # Even if this section looks crufty: it has the advantage of
4176 # actually working.
4177 break;;
4178 * )
4179 break;;
4180 esac
4181 done
4182 test "$ac_cv_exeext" = no && ac_cv_exeext=
4183
4184 else case e in #(
4185 e) ac_file='' ;;
4186 esac
4187 fi
4188 if test -z "$ac_file"
4189 then :
4190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 printf "%s\n" "no" >&6; }
4192 printf "%s\n" "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4194
4195 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4196 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4197 as_fn_error 77 "C compiler cannot create executables
4198 See 'config.log' for more details" "$LINENO" 5; }
4199 else case e in #(
4200 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4201 printf "%s\n" "yes" >&6; } ;;
4202 esac
4203 fi
4204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4205 printf %s "checking for C compiler default output file name... " >&6; }
4206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4207 printf "%s\n" "$ac_file" >&6; }
4208 ac_exeext=$ac_cv_exeext
4209
4210 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4211 ac_clean_files=$ac_clean_files_save
4212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4213 printf %s "checking for suffix of executables... " >&6; }
4214 if { { ac_try="$ac_link"
4215 case "(($ac_try" in
4216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4217 *) ac_try_echo=$ac_try;;
4218 esac
4219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4220 printf "%s\n" "$ac_try_echo"; } >&5
4221 (eval "$ac_link") 2>&5
4222 ac_status=$?
4223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4224 test $ac_status = 0; }
4225 then :
4226 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4227 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4228 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4229 # 'rm'.
4230 for ac_file in conftest.exe conftest conftest.*; do
4231 test -f "$ac_file" || continue
4232 case $ac_file in
4233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4234 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4235 break;;
4236 * ) break;;
4237 esac
4238 done
4239 else case e in #(
4240 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4241 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4242 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4243 See 'config.log' for more details" "$LINENO" 5; } ;;
4244 esac
4245 fi
4246 rm -f conftest conftest$ac_cv_exeext
4247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4248 printf "%s\n" "$ac_cv_exeext" >&6; }
4249
4250 rm -f conftest.$ac_ext
4251 EXEEXT=$ac_cv_exeext
4252 ac_exeext=$EXEEXT
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4255 #include <stdio.h>
4256 int
4257 main (void)
4258 {
4259 FILE *f = fopen ("conftest.out", "w");
4260 if (!f)
4261 return 1;
4262 return ferror (f) || fclose (f) != 0;
4263
4264 ;
4265 return 0;
4266 }
4267 _ACEOF
4268 ac_clean_files="$ac_clean_files conftest.out"
4269 # Check that the compiler produces executables we can run. If not, either
4270 # the compiler is broken, or we cross compile.
4271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4272 printf %s "checking whether we are cross compiling... " >&6; }
4273 if test "$cross_compiling" != yes; then
4274 { { ac_try="$ac_link"
4275 case "(($ac_try" in
4276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4278 esac
4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 printf "%s\n" "$ac_try_echo"; } >&5
4281 (eval "$ac_link") 2>&5
4282 ac_status=$?
4283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }
4285 if { ac_try='./conftest$ac_cv_exeext'
4286 { { case "(($ac_try" in
4287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4289 esac
4290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4291 printf "%s\n" "$ac_try_echo"; } >&5
4292 (eval "$ac_try") 2>&5
4293 ac_status=$?
4294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }; }; then
4296 cross_compiling=no
4297 else
4298 if test "$cross_compiling" = maybe; then
4299 cross_compiling=yes
4300 else
4301 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4302 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4303 as_fn_error 77 "cannot run C compiled programs.
4304 If you meant to cross compile, use '--host'.
4305 See 'config.log' for more details" "$LINENO" 5; }
4306 fi
4307 fi
4308 fi
4309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4310 printf "%s\n" "$cross_compiling" >&6; }
4311
4312 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4313 conftest.o conftest.obj conftest.out
4314 ac_clean_files=$ac_clean_files_save
4315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4316 printf %s "checking for suffix of object files... " >&6; }
4317 if test ${ac_cv_objext+y}
4318 then :
4319 printf %s "(cached) " >&6
4320 else case e in #(
4321 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4322 /* end confdefs.h. */
4323
4324 int
4325 main (void)
4326 {
4327
4328 ;
4329 return 0;
4330 }
4331 _ACEOF
4332 rm -f conftest.o conftest.obj
4333 if { { ac_try="$ac_compile"
4334 case "(($ac_try" in
4335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4336 *) ac_try_echo=$ac_try;;
4337 esac
4338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4339 printf "%s\n" "$ac_try_echo"; } >&5
4340 (eval "$ac_compile") 2>&5
4341 ac_status=$?
4342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4343 test $ac_status = 0; }
4344 then :
4345 for ac_file in conftest.o conftest.obj conftest.*; do
4346 test -f "$ac_file" || continue;
4347 case $ac_file in
4348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4349 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4350 break;;
4351 esac
4352 done
4353 else case e in #(
4354 e) printf "%s\n" "$as_me: failed program was:" >&5
4355 sed 's/^/| /' conftest.$ac_ext >&5
4356
4357 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4358 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4359 as_fn_error $? "cannot compute suffix of object files: cannot compile
4360 See 'config.log' for more details" "$LINENO" 5; } ;;
4361 esac
4362 fi
4363 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4364 esac
4365 fi
4366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4367 printf "%s\n" "$ac_cv_objext" >&6; }
4368 OBJEXT=$ac_cv_objext
4369 ac_objext=$OBJEXT
4370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4371 printf %s "checking whether the compiler supports GNU C... " >&6; }
4372 if test ${ac_cv_c_compiler_gnu+y}
4373 then :
4374 printf %s "(cached) " >&6
4375 else case e in #(
4376 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4378
4379 int
4380 main (void)
4381 {
4382 #ifndef __GNUC__
4383 choke me
4384 #endif
4385
4386 ;
4387 return 0;
4388 }
4389 _ACEOF
4390 if ac_fn_c_try_compile "$LINENO"
4391 then :
4392 ac_compiler_gnu=yes
4393 else case e in #(
4394 e) ac_compiler_gnu=no ;;
4395 esac
4396 fi
4397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4398 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4399 ;;
4400 esac
4401 fi
4402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4403 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4405
4406 if test $ac_compiler_gnu = yes; then
4407 GCC=yes
4408 else
4409 GCC=
4410 fi
4411 ac_test_CFLAGS=${CFLAGS+y}
4412 ac_save_CFLAGS=$CFLAGS
4413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4414 printf %s "checking whether $CC accepts -g... " >&6; }
4415 if test ${ac_cv_prog_cc_g+y}
4416 then :
4417 printf %s "(cached) " >&6
4418 else case e in #(
4419 e) ac_save_c_werror_flag=$ac_c_werror_flag
4420 ac_c_werror_flag=yes
4421 ac_cv_prog_cc_g=no
4422 CFLAGS="-g"
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4425
4426 int
4427 main (void)
4428 {
4429
4430 ;
4431 return 0;
4432 }
4433 _ACEOF
4434 if ac_fn_c_try_compile "$LINENO"
4435 then :
4436 ac_cv_prog_cc_g=yes
4437 else case e in #(
4438 e) CFLAGS=""
4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4441
4442 int
4443 main (void)
4444 {
4445
4446 ;
4447 return 0;
4448 }
4449 _ACEOF
4450 if ac_fn_c_try_compile "$LINENO"
4451 then :
4452
4453 else case e in #(
4454 e) ac_c_werror_flag=$ac_save_c_werror_flag
4455 CFLAGS="-g"
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4458
4459 int
4460 main (void)
4461 {
4462
4463 ;
4464 return 0;
4465 }
4466 _ACEOF
4467 if ac_fn_c_try_compile "$LINENO"
4468 then :
4469 ac_cv_prog_cc_g=yes
4470 fi
4471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4472 esac
4473 fi
4474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4475 esac
4476 fi
4477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4478 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4479 esac
4480 fi
4481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4482 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4483 if test $ac_test_CFLAGS; then
4484 CFLAGS=$ac_save_CFLAGS
4485 elif test $ac_cv_prog_cc_g = yes; then
4486 if test "$GCC" = yes; then
4487 CFLAGS="-g -O2"
4488 else
4489 CFLAGS="-g"
4490 fi
4491 else
4492 if test "$GCC" = yes; then
4493 CFLAGS="-O2"
4494 else
4495 CFLAGS=
4496 fi
4497 fi
4498 ac_prog_cc_stdc=no
4499 if test x$ac_prog_cc_stdc = xno
4500 then :
4501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4502 printf %s "checking for $CC option to enable C11 features... " >&6; }
4503 if test ${ac_cv_prog_cc_c11+y}
4504 then :
4505 printf %s "(cached) " >&6
4506 else case e in #(
4507 e) ac_cv_prog_cc_c11=no
4508 ac_save_CC=$CC
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4511 $ac_c_conftest_c11_program
4512 _ACEOF
4513 for ac_arg in '' -std=gnu11
4514 do
4515 CC="$ac_save_CC $ac_arg"
4516 if ac_fn_c_try_compile "$LINENO"
4517 then :
4518 ac_cv_prog_cc_c11=$ac_arg
4519 fi
4520 rm -f core conftest.err conftest.$ac_objext conftest.beam
4521 test "x$ac_cv_prog_cc_c11" != "xno" && break
4522 done
4523 rm -f conftest.$ac_ext
4524 CC=$ac_save_CC ;;
4525 esac
4526 fi
4527
4528 if test "x$ac_cv_prog_cc_c11" = xno
4529 then :
4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4531 printf "%s\n" "unsupported" >&6; }
4532 else case e in #(
4533 e) if test "x$ac_cv_prog_cc_c11" = x
4534 then :
4535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4536 printf "%s\n" "none needed" >&6; }
4537 else case e in #(
4538 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4539 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4540 CC="$CC $ac_cv_prog_cc_c11" ;;
4541 esac
4542 fi
4543 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4544 ac_prog_cc_stdc=c11 ;;
4545 esac
4546 fi
4547 fi
4548 if test x$ac_prog_cc_stdc = xno
4549 then :
4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4551 printf %s "checking for $CC option to enable C99 features... " >&6; }
4552 if test ${ac_cv_prog_cc_c99+y}
4553 then :
4554 printf %s "(cached) " >&6
4555 else case e in #(
4556 e) ac_cv_prog_cc_c99=no
4557 ac_save_CC=$CC
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4560 $ac_c_conftest_c99_program
4561 _ACEOF
4562 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4563 do
4564 CC="$ac_save_CC $ac_arg"
4565 if ac_fn_c_try_compile "$LINENO"
4566 then :
4567 ac_cv_prog_cc_c99=$ac_arg
4568 fi
4569 rm -f core conftest.err conftest.$ac_objext conftest.beam
4570 test "x$ac_cv_prog_cc_c99" != "xno" && break
4571 done
4572 rm -f conftest.$ac_ext
4573 CC=$ac_save_CC ;;
4574 esac
4575 fi
4576
4577 if test "x$ac_cv_prog_cc_c99" = xno
4578 then :
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4580 printf "%s\n" "unsupported" >&6; }
4581 else case e in #(
4582 e) if test "x$ac_cv_prog_cc_c99" = x
4583 then :
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4585 printf "%s\n" "none needed" >&6; }
4586 else case e in #(
4587 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4588 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4589 CC="$CC $ac_cv_prog_cc_c99" ;;
4590 esac
4591 fi
4592 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4593 ac_prog_cc_stdc=c99 ;;
4594 esac
4595 fi
4596 fi
4597 if test x$ac_prog_cc_stdc = xno
4598 then :
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4600 printf %s "checking for $CC option to enable C89 features... " >&6; }
4601 if test ${ac_cv_prog_cc_c89+y}
4602 then :
4603 printf %s "(cached) " >&6
4604 else case e in #(
4605 e) ac_cv_prog_cc_c89=no
4606 ac_save_CC=$CC
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4609 $ac_c_conftest_c89_program
4610 _ACEOF
4611 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4612 do
4613 CC="$ac_save_CC $ac_arg"
4614 if ac_fn_c_try_compile "$LINENO"
4615 then :
4616 ac_cv_prog_cc_c89=$ac_arg
4617 fi
4618 rm -f core conftest.err conftest.$ac_objext conftest.beam
4619 test "x$ac_cv_prog_cc_c89" != "xno" && break
4620 done
4621 rm -f conftest.$ac_ext
4622 CC=$ac_save_CC ;;
4623 esac
4624 fi
4625
4626 if test "x$ac_cv_prog_cc_c89" = xno
4627 then :
4628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4629 printf "%s\n" "unsupported" >&6; }
4630 else case e in #(
4631 e) if test "x$ac_cv_prog_cc_c89" = x
4632 then :
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4634 printf "%s\n" "none needed" >&6; }
4635 else case e in #(
4636 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4637 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4638 CC="$CC $ac_cv_prog_cc_c89" ;;
4639 esac
4640 fi
4641 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4642 ac_prog_cc_stdc=c89 ;;
4643 esac
4644 fi
4645 fi
4646
4647 ac_ext=c
4648 ac_cpp='$CPP $CPPFLAGS'
4649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4652
4653
4654 ac_ext=c
4655 ac_cpp='$CPP $CPPFLAGS'
4656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4660 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4661 if test ${am_cv_prog_cc_c_o+y}
4662 then :
4663 printf %s "(cached) " >&6
4664 else case e in #(
4665 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4667
4668 int
4669 main (void)
4670 {
4671
4672 ;
4673 return 0;
4674 }
4675 _ACEOF
4676 # Make sure it works both with $CC and with simple cc.
4677 # Following AC_PROG_CC_C_O, we do the test twice because some
4678 # compilers refuse to overwrite an existing .o file with -o,
4679 # though they will create one.
4680 am_cv_prog_cc_c_o=yes
4681 for am_i in 1 2; do
4682 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4683 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4684 ac_status=$?
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); } \
4687 && test -f conftest2.$ac_objext; then
4688 : OK
4689 else
4690 am_cv_prog_cc_c_o=no
4691 break
4692 fi
4693 done
4694 # aligned with autoconf, so not including core; see bug#72225.
4695 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4696 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4697 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4698 unset am_i ;;
4699 esac
4700 fi
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4702 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4703 if test "$am_cv_prog_cc_c_o" != yes; then
4704 # Losing compiler, so override with the script.
4705 # FIXME: It is wrong to rewrite CC.
4706 # But if we don't then we get into trouble of one sort or another.
4707 # A longer-term fix would be to have automake use am__CC in this case,
4708 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4709 CC="$am_aux_dir/compile $CC"
4710 fi
4711 ac_ext=c
4712 ac_cpp='$CPP $CPPFLAGS'
4713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4716
4717
4718 depcc="$CC" am_compiler_list=
4719
4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4721 printf %s "checking dependency style of $depcc... " >&6; }
4722 if test ${am_cv_CC_dependencies_compiler_type+y}
4723 then :
4724 printf %s "(cached) " >&6
4725 else case e in #(
4726 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4727 # We make a subdir and do the tests there. Otherwise we can end up
4728 # making bogus files that we don't know about and never remove. For
4729 # instance it was reported that on HP-UX the gcc test will end up
4730 # making a dummy file named 'D' -- because '-MD' means "put the output
4731 # in D".
4732 rm -rf conftest.dir
4733 mkdir conftest.dir
4734 # Copy depcomp to subdir because otherwise we won't find it if we're
4735 # using a relative directory.
4736 cp "$am_depcomp" conftest.dir
4737 cd conftest.dir
4738 # We will build objects and dependencies in a subdirectory because
4739 # it helps to detect inapplicable dependency modes. For instance
4740 # both Tru64's cc and ICC support -MD to output dependencies as a
4741 # side effect of compilation, but ICC will put the dependencies in
4742 # the current directory while Tru64 will put them in the object
4743 # directory.
4744 mkdir sub
4745
4746 am_cv_CC_dependencies_compiler_type=none
4747 if test "$am_compiler_list" = ""; then
4748 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4749 fi
4750 am__universal=false
4751 case " $depcc " in #(
4752 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4753 esac
4754
4755 for depmode in $am_compiler_list; do
4756 # Setup a source with many dependencies, because some compilers
4757 # like to wrap large dependency lists on column 80 (with \), and
4758 # we should not choose a depcomp mode which is confused by this.
4759 #
4760 # We need to recreate these files for each test, as the compiler may
4761 # overwrite some of them when testing with obscure command lines.
4762 # This happens at least with the AIX C compiler.
4763 : > sub/conftest.c
4764 for i in 1 2 3 4 5 6; do
4765 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4766 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4767 # Solaris 10 /bin/sh.
4768 echo '/* dummy */' > sub/conftst$i.h
4769 done
4770 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4771
4772 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4773 # mode. It turns out that the SunPro C++ compiler does not properly
4774 # handle '-M -o', and we need to detect this. Also, some Intel
4775 # versions had trouble with output in subdirs.
4776 am__obj=sub/conftest.${OBJEXT-o}
4777 am__minus_obj="-o $am__obj"
4778 case $depmode in
4779 gcc)
4780 # This depmode causes a compiler race in universal mode.
4781 test "$am__universal" = false || continue
4782 ;;
4783 nosideeffect)
4784 # After this tag, mechanisms are not by side-effect, so they'll
4785 # only be used when explicitly requested.
4786 if test "x$enable_dependency_tracking" = xyes; then
4787 continue
4788 else
4789 break
4790 fi
4791 ;;
4792 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4793 # This compiler won't grok '-c -o', but also, the minuso test has
4794 # not run yet. These depmodes are late enough in the game, and
4795 # so weak that their functioning should not be impacted.
4796 am__obj=conftest.${OBJEXT-o}
4797 am__minus_obj=
4798 ;;
4799 none) break ;;
4800 esac
4801 if depmode=$depmode \
4802 source=sub/conftest.c object=$am__obj \
4803 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4804 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4805 >/dev/null 2>conftest.err &&
4806 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4807 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4808 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4809 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4810 # icc doesn't choke on unknown options, it will just issue warnings
4811 # or remarks (even with -Werror). So we grep stderr for any message
4812 # that says an option was ignored or not supported.
4813 # When given -MP, icc 7.0 and 7.1 complain thus:
4814 # icc: Command line warning: ignoring option '-M'; no argument required
4815 # The diagnosis changed in icc 8.0:
4816 # icc: Command line remark: option '-MP' not supported
4817 if (grep 'ignoring option' conftest.err ||
4818 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4819 am_cv_CC_dependencies_compiler_type=$depmode
4820 break
4821 fi
4822 fi
4823 done
4824
4825 cd ..
4826 rm -rf conftest.dir
4827 else
4828 am_cv_CC_dependencies_compiler_type=none
4829 fi
4830 ;;
4831 esac
4832 fi
4833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4834 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4835 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4836
4837 if
4838 test "x$enable_dependency_tracking" != xno \
4839 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4840 am__fastdepCC_TRUE=
4841 am__fastdepCC_FALSE='#'
4842 else
4843 am__fastdepCC_TRUE='#'
4844 am__fastdepCC_FALSE=
4845 fi
4846
4847
4848
4849 ac_header= ac_cache=
4850 for ac_item in $ac_header_c_list
4851 do
4852 if test $ac_cache; then
4853 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4854 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4855 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4856 fi
4857 ac_header= ac_cache=
4858 elif test $ac_header; then
4859 ac_cache=$ac_item
4860 else
4861 ac_header=$ac_item
4862 fi
4863 done
4864
4865
4866
4867
4868
4869
4870
4871
4872 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4873 then :
4874
4875 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4876
4877 fi
4878
4879
4880
4881
4882
4883
4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4885 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4886 if test ${ac_cv_safe_to_define___extensions__+y}
4887 then :
4888 printf %s "(cached) " >&6
4889 else case e in #(
4890 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4892
4893 # define __EXTENSIONS__ 1
4894 $ac_includes_default
4895 int
4896 main (void)
4897 {
4898
4899 ;
4900 return 0;
4901 }
4902 _ACEOF
4903 if ac_fn_c_try_compile "$LINENO"
4904 then :
4905 ac_cv_safe_to_define___extensions__=yes
4906 else case e in #(
4907 e) ac_cv_safe_to_define___extensions__=no ;;
4908 esac
4909 fi
4910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4911 esac
4912 fi
4913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4914 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4915
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4917 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4918 if test ${ac_cv_should_define__xopen_source+y}
4919 then :
4920 printf %s "(cached) " >&6
4921 else case e in #(
4922 e) ac_cv_should_define__xopen_source=no
4923 if test $ac_cv_header_wchar_h = yes
4924 then :
4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4927
4928 #include <wchar.h>
4929 mbstate_t x;
4930 int
4931 main (void)
4932 {
4933
4934 ;
4935 return 0;
4936 }
4937 _ACEOF
4938 if ac_fn_c_try_compile "$LINENO"
4939 then :
4940
4941 else case e in #(
4942 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4944
4945 #define _XOPEN_SOURCE 500
4946 #include <wchar.h>
4947 mbstate_t x;
4948 int
4949 main (void)
4950 {
4951
4952 ;
4953 return 0;
4954 }
4955 _ACEOF
4956 if ac_fn_c_try_compile "$LINENO"
4957 then :
4958 ac_cv_should_define__xopen_source=yes
4959 fi
4960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4961 esac
4962 fi
4963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4964 fi ;;
4965 esac
4966 fi
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4968 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4969
4970 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4971
4972 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4973
4974 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4975
4976 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4977
4978 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4979
4980 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4981
4982 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4983
4984 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4985
4986 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4987
4988 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4989
4990 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4991
4992 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4993
4994 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4995
4996 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4997
4998 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4999
5000 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5001
5002 if test $ac_cv_header_minix_config_h = yes
5003 then :
5004 MINIX=yes
5005 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5006
5007 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5008
5009 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5010
5011 else case e in #(
5012 e) MINIX= ;;
5013 esac
5014 fi
5015 if test $ac_cv_safe_to_define___extensions__ = yes
5016 then :
5017 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5018
5019 fi
5020 if test $ac_cv_should_define__xopen_source = yes
5021 then :
5022 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5023
5024 fi
5025
5026 # Check whether --enable-compiler-warnings was given.
5027 if test ${enable_compiler_warnings+y}
5028 then :
5029 enableval=$enable_compiler_warnings;
5030 fi
5031 case $enable_compiler_warnings in #(
5032 no | min | yes | max | all) :
5033 ;; #(
5034 *) :
5035 if test "x$enable_maintainer_mode" = xyes
5036 then :
5037 enable_compiler_warnings=yes
5038 else case e in #(
5039 e) enable_compiler_warnings=min ;;
5040 esac
5041 fi ;;
5042 esac
5043
5044 case `pwd` in
5045 *\ * | *\ *)
5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5047 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5048 esac
5049
5050
5051
5052 macro_version='2.5.4'
5053 macro_revision='2.5.4'
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068 ltmain=$ac_aux_dir/ltmain.sh
5069
5070
5071
5072 # Make sure we can run config.sub.
5073 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5074 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5075
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5077 printf %s "checking build system type... " >&6; }
5078 if test ${ac_cv_build+y}
5079 then :
5080 printf %s "(cached) " >&6
5081 else case e in #(
5082 e) ac_build_alias=$build_alias
5083 test "x$ac_build_alias" = x &&
5084 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5085 test "x$ac_build_alias" = x &&
5086 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5087 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5088 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5089 ;;
5090 esac
5091 fi
5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5093 printf "%s\n" "$ac_cv_build" >&6; }
5094 case $ac_cv_build in
5095 *-*-*) ;;
5096 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5097 esac
5098 build=$ac_cv_build
5099 ac_save_IFS=$IFS; IFS='-'
5100 set x $ac_cv_build
5101 shift
5102 build_cpu=$1
5103 build_vendor=$2
5104 shift; shift
5105 # Remember, the first character of IFS is used to create $*,
5106 # except with old shells:
5107 build_os=$*
5108 IFS=$ac_save_IFS
5109 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5110
5111
5112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5113 printf %s "checking host system type... " >&6; }
5114 if test ${ac_cv_host+y}
5115 then :
5116 printf %s "(cached) " >&6
5117 else case e in #(
5118 e) if test "x$host_alias" = x; then
5119 ac_cv_host=$ac_cv_build
5120 else
5121 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5122 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5123 fi
5124 ;;
5125 esac
5126 fi
5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5128 printf "%s\n" "$ac_cv_host" >&6; }
5129 case $ac_cv_host in
5130 *-*-*) ;;
5131 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5132 esac
5133 host=$ac_cv_host
5134 ac_save_IFS=$IFS; IFS='-'
5135 set x $ac_cv_host
5136 shift
5137 host_cpu=$1
5138 host_vendor=$2
5139 shift; shift
5140 # Remember, the first character of IFS is used to create $*,
5141 # except with old shells:
5142 host_os=$*
5143 IFS=$ac_save_IFS
5144 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5145
5146
5147 # Backslashify metacharacters that are still active within
5148 # double-quoted strings.
5149 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5150
5151 # Same as above, but do not quote variable references.
5152 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5153
5154 # Sed substitution to delay expansion of an escaped shell variable in a
5155 # double_quote_subst'ed string.
5156 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5157
5158 # Sed substitution to delay expansion of an escaped single quote.
5159 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5160
5161 # Sed substitution to avoid accidental globbing in evaled expressions
5162 no_glob_subst='s/\*/\\\*/g'
5163
5164 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5165 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5166 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5167
5168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5169 printf %s "checking how to print strings... " >&6; }
5170 # Test print first, because it will be a builtin if present.
5171 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5172 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5173 ECHO='print -r --'
5174 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5175 ECHO='printf %s\n'
5176 else
5177 # Use this function as a fallback that always works.
5178 func_fallback_echo ()
5179 {
5180 eval 'cat <<_LTECHO_EOF
5181 $1
5182 _LTECHO_EOF'
5183 }
5184 ECHO='func_fallback_echo'
5185 fi
5186
5187 # func_echo_all arg...
5188 # Invoke $ECHO with all args, space-separated.
5189 func_echo_all ()
5190 {
5191 $ECHO ""
5192 }
5193
5194 case $ECHO in
5195 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5196 printf "%s\n" "printf" >&6; } ;;
5197 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5198 printf "%s\n" "print -r" >&6; } ;;
5199 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5200 printf "%s\n" "cat" >&6; } ;;
5201 esac
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5217 printf %s "checking for a sed that does not truncate output... " >&6; }
5218 if test ${ac_cv_path_SED+y}
5219 then :
5220 printf %s "(cached) " >&6
5221 else case e in #(
5222 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5223 for ac_i in 1 2 3 4 5 6 7; do
5224 ac_script="$ac_script$as_nl$ac_script"
5225 done
5226 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5227 { ac_script=; unset ac_script;}
5228 if test -z "$SED"; then
5229 ac_path_SED_found=false
5230 # Loop through the user's path and test for each of PROGNAME-LIST
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5233 do
5234 IFS=$as_save_IFS
5235 case $as_dir in #(((
5236 '') as_dir=./ ;;
5237 */) ;;
5238 *) as_dir=$as_dir/ ;;
5239 esac
5240 for ac_prog in sed gsed
5241 do
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5244 as_fn_executable_p "$ac_path_SED" || continue
5245 # Check for GNU ac_path_SED and select it if it is found.
5246 # Check for GNU $ac_path_SED
5247 case `"$ac_path_SED" --version 2>&1` in #(
5248 *GNU*)
5249 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5250 #(
5251 *)
5252 ac_count=0
5253 printf %s 0123456789 >"conftest.in"
5254 while :
5255 do
5256 cat "conftest.in" "conftest.in" >"conftest.tmp"
5257 mv "conftest.tmp" "conftest.in"
5258 cp "conftest.in" "conftest.nl"
5259 printf "%s\n" '' >> "conftest.nl"
5260 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5261 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5262 as_fn_arith $ac_count + 1 && ac_count=$as_val
5263 if test $ac_count -gt ${ac_path_SED_max-0}; then
5264 # Best one so far, save it but keep looking for a better one
5265 ac_cv_path_SED="$ac_path_SED"
5266 ac_path_SED_max=$ac_count
5267 fi
5268 # 10*(2^10) chars as input seems more than enough
5269 test $ac_count -gt 10 && break
5270 done
5271 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5272 esac
5273
5274 $ac_path_SED_found && break 3
5275 done
5276 done
5277 done
5278 IFS=$as_save_IFS
5279 if test -z "$ac_cv_path_SED"; then
5280 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5281 fi
5282 else
5283 ac_cv_path_SED=$SED
5284 fi
5285 ;;
5286 esac
5287 fi
5288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5289 printf "%s\n" "$ac_cv_path_SED" >&6; }
5290 SED="$ac_cv_path_SED"
5291 rm -f conftest.sed
5292
5293 test -z "$SED" && SED=sed
5294 Xsed="$SED -e 1s/^X//"
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5307 printf %s "checking for grep that handles long lines and -e... " >&6; }
5308 if test ${ac_cv_path_GREP+y}
5309 then :
5310 printf %s "(cached) " >&6
5311 else case e in #(
5312 e) if test -z "$GREP"; then
5313 ac_path_GREP_found=false
5314 # Loop through the user's path and test for each of PROGNAME-LIST
5315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5317 do
5318 IFS=$as_save_IFS
5319 case $as_dir in #(((
5320 '') as_dir=./ ;;
5321 */) ;;
5322 *) as_dir=$as_dir/ ;;
5323 esac
5324 for ac_prog in grep ggrep
5325 do
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5328 as_fn_executable_p "$ac_path_GREP" || continue
5329 # Check for GNU ac_path_GREP and select it if it is found.
5330 # Check for GNU $ac_path_GREP
5331 case `"$ac_path_GREP" --version 2>&1` in #(
5332 *GNU*)
5333 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5334 #(
5335 *)
5336 ac_count=0
5337 printf %s 0123456789 >"conftest.in"
5338 while :
5339 do
5340 cat "conftest.in" "conftest.in" >"conftest.tmp"
5341 mv "conftest.tmp" "conftest.in"
5342 cp "conftest.in" "conftest.nl"
5343 printf "%s\n" 'GREP' >> "conftest.nl"
5344 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5346 as_fn_arith $ac_count + 1 && ac_count=$as_val
5347 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5348 # Best one so far, save it but keep looking for a better one
5349 ac_cv_path_GREP="$ac_path_GREP"
5350 ac_path_GREP_max=$ac_count
5351 fi
5352 # 10*(2^10) chars as input seems more than enough
5353 test $ac_count -gt 10 && break
5354 done
5355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5356 esac
5357
5358 $ac_path_GREP_found && break 3
5359 done
5360 done
5361 done
5362 IFS=$as_save_IFS
5363 if test -z "$ac_cv_path_GREP"; then
5364 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5365 fi
5366 else
5367 ac_cv_path_GREP=$GREP
5368 fi
5369 ;;
5370 esac
5371 fi
5372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5373 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5374 GREP="$ac_cv_path_GREP"
5375
5376
5377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5378 printf %s "checking for egrep... " >&6; }
5379 if test ${ac_cv_path_EGREP+y}
5380 then :
5381 printf %s "(cached) " >&6
5382 else case e in #(
5383 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5384 then ac_cv_path_EGREP="$GREP -E"
5385 else
5386 if test -z "$EGREP"; then
5387 ac_path_EGREP_found=false
5388 # Loop through the user's path and test for each of PROGNAME-LIST
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5391 do
5392 IFS=$as_save_IFS
5393 case $as_dir in #(((
5394 '') as_dir=./ ;;
5395 */) ;;
5396 *) as_dir=$as_dir/ ;;
5397 esac
5398 for ac_prog in egrep
5399 do
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5402 as_fn_executable_p "$ac_path_EGREP" || continue
5403 # Check for GNU ac_path_EGREP and select it if it is found.
5404 # Check for GNU $ac_path_EGREP
5405 case `"$ac_path_EGREP" --version 2>&1` in #(
5406 *GNU*)
5407 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5408 #(
5409 *)
5410 ac_count=0
5411 printf %s 0123456789 >"conftest.in"
5412 while :
5413 do
5414 cat "conftest.in" "conftest.in" >"conftest.tmp"
5415 mv "conftest.tmp" "conftest.in"
5416 cp "conftest.in" "conftest.nl"
5417 printf "%s\n" 'EGREP' >> "conftest.nl"
5418 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5419 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5420 as_fn_arith $ac_count + 1 && ac_count=$as_val
5421 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5422 # Best one so far, save it but keep looking for a better one
5423 ac_cv_path_EGREP="$ac_path_EGREP"
5424 ac_path_EGREP_max=$ac_count
5425 fi
5426 # 10*(2^10) chars as input seems more than enough
5427 test $ac_count -gt 10 && break
5428 done
5429 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5430 esac
5431
5432 $ac_path_EGREP_found && break 3
5433 done
5434 done
5435 done
5436 IFS=$as_save_IFS
5437 if test -z "$ac_cv_path_EGREP"; then
5438 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5439 fi
5440 else
5441 ac_cv_path_EGREP=$EGREP
5442 fi
5443
5444 fi ;;
5445 esac
5446 fi
5447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5448 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5449 EGREP="$ac_cv_path_EGREP"
5450
5451 EGREP_TRADITIONAL=$EGREP
5452 ac_cv_path_EGREP_TRADITIONAL=$EGREP
5453
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5455 printf %s "checking for fgrep... " >&6; }
5456 if test ${ac_cv_path_FGREP+y}
5457 then :
5458 printf %s "(cached) " >&6
5459 else case e in #(
5460 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5461 then ac_cv_path_FGREP="$GREP -F"
5462 else
5463 if test -z "$FGREP"; then
5464 ac_path_FGREP_found=false
5465 # Loop through the user's path and test for each of PROGNAME-LIST
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5468 do
5469 IFS=$as_save_IFS
5470 case $as_dir in #(((
5471 '') as_dir=./ ;;
5472 */) ;;
5473 *) as_dir=$as_dir/ ;;
5474 esac
5475 for ac_prog in fgrep
5476 do
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5479 as_fn_executable_p "$ac_path_FGREP" || continue
5480 # Check for GNU ac_path_FGREP and select it if it is found.
5481 # Check for GNU $ac_path_FGREP
5482 case `"$ac_path_FGREP" --version 2>&1` in #(
5483 *GNU*)
5484 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5485 #(
5486 *)
5487 ac_count=0
5488 printf %s 0123456789 >"conftest.in"
5489 while :
5490 do
5491 cat "conftest.in" "conftest.in" >"conftest.tmp"
5492 mv "conftest.tmp" "conftest.in"
5493 cp "conftest.in" "conftest.nl"
5494 printf "%s\n" 'FGREP' >> "conftest.nl"
5495 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5496 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5497 as_fn_arith $ac_count + 1 && ac_count=$as_val
5498 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5499 # Best one so far, save it but keep looking for a better one
5500 ac_cv_path_FGREP="$ac_path_FGREP"
5501 ac_path_FGREP_max=$ac_count
5502 fi
5503 # 10*(2^10) chars as input seems more than enough
5504 test $ac_count -gt 10 && break
5505 done
5506 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5507 esac
5508
5509 $ac_path_FGREP_found && break 3
5510 done
5511 done
5512 done
5513 IFS=$as_save_IFS
5514 if test -z "$ac_cv_path_FGREP"; then
5515 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5516 fi
5517 else
5518 ac_cv_path_FGREP=$FGREP
5519 fi
5520
5521 fi ;;
5522 esac
5523 fi
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5525 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5526 FGREP="$ac_cv_path_FGREP"
5527
5528
5529 test -z "$GREP" && GREP=grep
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549 # Check whether --with-gnu-ld was given.
5550 if test ${with_gnu_ld+y}
5551 then :
5552 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5553 else case e in #(
5554 e) with_gnu_ld=no ;;
5555 esac
5556 fi
5557
5558 ac_prog=ld
5559 if test yes = "$GCC"; then
5560 # Check if gcc -print-prog-name=ld gives a path.
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5562 printf %s "checking for ld used by $CC... " >&6; }
5563 case $host in
5564 *-*-mingw* | *-*-windows*)
5565 # gcc leaves a trailing carriage return, which upsets mingw
5566 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5567 *)
5568 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5569 esac
5570 case $ac_prog in
5571 # Accept absolute paths.
5572 [\\/]* | ?:[\\/]*)
5573 re_direlt='/[^/][^/]*/\.\./'
5574 # Canonicalize the pathname of ld
5575 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5576 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5577 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5578 done
5579 test -z "$LD" && LD=$ac_prog
5580 ;;
5581 "")
5582 # If it fails, then pretend we aren't using GCC.
5583 ac_prog=ld
5584 ;;
5585 *)
5586 # If it is relative, then search for the first ld in PATH.
5587 with_gnu_ld=unknown
5588 ;;
5589 esac
5590 elif test yes = "$with_gnu_ld"; then
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5592 printf %s "checking for GNU ld... " >&6; }
5593 else
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5595 printf %s "checking for non-GNU ld... " >&6; }
5596 fi
5597 if test ${lt_cv_path_LD+y}
5598 then :
5599 printf %s "(cached) " >&6
5600 else case e in #(
5601 e) if test -z "$LD"; then
5602 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5603 for ac_dir in $PATH; do
5604 IFS=$lt_save_ifs
5605 test -z "$ac_dir" && ac_dir=.
5606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5607 lt_cv_path_LD=$ac_dir/$ac_prog
5608 # Check to see if the program is GNU ld. I'd rather use --version,
5609 # but apparently some variants of GNU ld only accept -v.
5610 # Break only if it was the GNU/non-GNU ld that we prefer.
5611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5612 *GNU* | *'with BFD'*)
5613 test no != "$with_gnu_ld" && break
5614 ;;
5615 *)
5616 test yes != "$with_gnu_ld" && break
5617 ;;
5618 esac
5619 fi
5620 done
5621 IFS=$lt_save_ifs
5622 else
5623 lt_cv_path_LD=$LD # Let the user override the test with a path.
5624 fi ;;
5625 esac
5626 fi
5627
5628 LD=$lt_cv_path_LD
5629 if test -n "$LD"; then
5630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5631 printf "%s\n" "$LD" >&6; }
5632 else
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 printf "%s\n" "no" >&6; }
5635 fi
5636 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5638 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5639 if test ${lt_cv_prog_gnu_ld+y}
5640 then :
5641 printf %s "(cached) " >&6
5642 else case e in #(
5643 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
5644 case `$LD -v 2>&1 </dev/null` in
5645 *GNU* | *'with BFD'*)
5646 lt_cv_prog_gnu_ld=yes
5647 ;;
5648 *)
5649 lt_cv_prog_gnu_ld=no
5650 ;;
5651 esac ;;
5652 esac
5653 fi
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5655 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5656 with_gnu_ld=$lt_cv_prog_gnu_ld
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5667 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5668 if test ${lt_cv_path_NM+y}
5669 then :
5670 printf %s "(cached) " >&6
5671 else case e in #(
5672 e) if test -n "$NM"; then
5673 # Let the user override the test.
5674 lt_cv_path_NM=$NM
5675 else
5676 lt_nm_to_check=${ac_tool_prefix}nm
5677 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5678 lt_nm_to_check="$lt_nm_to_check nm"
5679 fi
5680 for lt_tmp_nm in $lt_nm_to_check; do
5681 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5682 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5683 IFS=$lt_save_ifs
5684 test -z "$ac_dir" && ac_dir=.
5685 tmp_nm=$ac_dir/$lt_tmp_nm
5686 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5687 # Check to see if the nm accepts a BSD-compat flag.
5688 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5689 # nm: unknown option "B" ignored
5690 # Tru64's nm complains that /dev/null is an invalid object file
5691 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5692 case $build_os in
5693 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
5694 *) lt_bad_file=/dev/null ;;
5695 esac
5696 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5697 *$lt_bad_file* | *'Invalid file or object type'*)
5698 lt_cv_path_NM="$tmp_nm -B"
5699 break 2
5700 ;;
5701 *)
5702 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5703 */dev/null*)
5704 lt_cv_path_NM="$tmp_nm -p"
5705 break 2
5706 ;;
5707 *)
5708 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5709 continue # so that we can try to find one that supports BSD flags
5710 ;;
5711 esac
5712 ;;
5713 esac
5714 fi
5715 done
5716 IFS=$lt_save_ifs
5717 done
5718 : ${lt_cv_path_NM=no}
5719 fi ;;
5720 esac
5721 fi
5722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5723 printf "%s\n" "$lt_cv_path_NM" >&6; }
5724 if test no != "$lt_cv_path_NM"; then
5725 NM=$lt_cv_path_NM
5726 else
5727 # Didn't find any BSD compatible name lister, look for dumpbin.
5728 if test -n "$DUMPBIN"; then :
5729 # Let the user override the test.
5730 else
5731 if test -n "$ac_tool_prefix"; then
5732 for ac_prog in dumpbin "link -dump"
5733 do
5734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 printf %s "checking for $ac_word... " >&6; }
5738 if test ${ac_cv_prog_DUMPBIN+y}
5739 then :
5740 printf %s "(cached) " >&6
5741 else case e in #(
5742 e) if test -n "$DUMPBIN"; then
5743 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5744 else
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH
5747 do
5748 IFS=$as_save_IFS
5749 case $as_dir in #(((
5750 '') as_dir=./ ;;
5751 */) ;;
5752 *) as_dir=$as_dir/ ;;
5753 esac
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5758 break 2
5759 fi
5760 done
5761 done
5762 IFS=$as_save_IFS
5763
5764 fi ;;
5765 esac
5766 fi
5767 DUMPBIN=$ac_cv_prog_DUMPBIN
5768 if test -n "$DUMPBIN"; then
5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5770 printf "%s\n" "$DUMPBIN" >&6; }
5771 else
5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 printf "%s\n" "no" >&6; }
5774 fi
5775
5776
5777 test -n "$DUMPBIN" && break
5778 done
5779 fi
5780 if test -z "$DUMPBIN"; then
5781 ac_ct_DUMPBIN=$DUMPBIN
5782 for ac_prog in dumpbin "link -dump"
5783 do
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy $ac_prog; ac_word=$2
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 printf %s "checking for $ac_word... " >&6; }
5788 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5789 then :
5790 printf %s "(cached) " >&6
5791 else case e in #(
5792 e) if test -n "$ac_ct_DUMPBIN"; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5794 else
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 for as_dir in $PATH
5797 do
5798 IFS=$as_save_IFS
5799 case $as_dir in #(((
5800 '') as_dir=./ ;;
5801 */) ;;
5802 *) as_dir=$as_dir/ ;;
5803 esac
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5808 break 2
5809 fi
5810 done
5811 done
5812 IFS=$as_save_IFS
5813
5814 fi ;;
5815 esac
5816 fi
5817 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5818 if test -n "$ac_ct_DUMPBIN"; then
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5820 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5821 else
5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 printf "%s\n" "no" >&6; }
5824 fi
5825
5826
5827 test -n "$ac_ct_DUMPBIN" && break
5828 done
5829
5830 if test "x$ac_ct_DUMPBIN" = x; then
5831 DUMPBIN=":"
5832 else
5833 case $cross_compiling:$ac_tool_warned in
5834 yes:)
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5836 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5837 ac_tool_warned=yes ;;
5838 esac
5839 DUMPBIN=$ac_ct_DUMPBIN
5840 fi
5841 fi
5842
5843 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5844 *COFF*)
5845 DUMPBIN="$DUMPBIN -symbols -headers"
5846 ;;
5847 *)
5848 DUMPBIN=:
5849 ;;
5850 esac
5851 fi
5852
5853 if test : != "$DUMPBIN"; then
5854 NM=$DUMPBIN
5855 fi
5856 fi
5857 test -z "$NM" && NM=nm
5858
5859
5860
5861
5862
5863
5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5865 printf %s "checking the name lister ($NM) interface... " >&6; }
5866 if test ${lt_cv_nm_interface+y}
5867 then :
5868 printf %s "(cached) " >&6
5869 else case e in #(
5870 e) lt_cv_nm_interface="BSD nm"
5871 echo "int some_variable = 0;" > conftest.$ac_ext
5872 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5873 (eval "$ac_compile" 2>conftest.err)
5874 cat conftest.err >&5
5875 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5876 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5877 cat conftest.err >&5
5878 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5879 cat conftest.out >&5
5880 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5881 lt_cv_nm_interface="MS dumpbin"
5882 fi
5883 rm -f conftest* ;;
5884 esac
5885 fi
5886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5887 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5888
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5890 printf %s "checking whether ln -s works... " >&6; }
5891 LN_S=$as_ln_s
5892 if test "$LN_S" = "ln -s"; then
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5894 printf "%s\n" "yes" >&6; }
5895 else
5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5897 printf "%s\n" "no, using $LN_S" >&6; }
5898 fi
5899
5900 # find the maximum length of command line arguments
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5902 printf %s "checking the maximum length of command line arguments... " >&6; }
5903 if test ${lt_cv_sys_max_cmd_len+y}
5904 then :
5905 printf %s "(cached) " >&6
5906 else case e in #(
5907 e) i=0
5908 teststring=ABCD
5909
5910 case $build_os in
5911 msdosdjgpp*)
5912 # On DJGPP, this test can blow up pretty badly due to problems in libc
5913 # (any single argument exceeding 2000 bytes causes a buffer overrun
5914 # during glob expansion). Even if it were fixed, the result of this
5915 # check would be larger than it should be.
5916 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5917 ;;
5918
5919 gnu* | ironclad*)
5920 # Under GNU Hurd and Ironclad, this test is not required because there
5921 # is no limit to the length of command line arguments.
5922 # Libtool will interpret -1 as no limit whatsoever
5923 lt_cv_sys_max_cmd_len=-1;
5924 ;;
5925
5926 cygwin* | mingw* | windows* | cegcc*)
5927 # On Win9x/ME, this test blows up -- it succeeds, but takes
5928 # about 5 minutes as the teststring grows exponentially.
5929 # Worse, since 9x/ME are not pre-emptively multitasking,
5930 # you end up with a "frozen" computer, even though with patience
5931 # the test eventually succeeds (with a max line length of 256k).
5932 # Instead, let's just punt: use the minimum linelength reported by
5933 # all of the supported platforms: 8192 (on NT/2K/XP).
5934 lt_cv_sys_max_cmd_len=8192;
5935 ;;
5936
5937 mint*)
5938 # On MiNT this can take a long time and run out of memory.
5939 lt_cv_sys_max_cmd_len=8192;
5940 ;;
5941
5942 amigaos*)
5943 # On AmigaOS with pdksh, this test takes hours, literally.
5944 # So we just punt and use a minimum line length of 8192.
5945 lt_cv_sys_max_cmd_len=8192;
5946 ;;
5947
5948 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
5949 # This has been around since 386BSD, at least. Likely further.
5950 if test -x /sbin/sysctl; then
5951 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5952 elif test -x /usr/sbin/sysctl; then
5953 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5954 else
5955 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5956 fi
5957 # And add a safety zone
5958 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5959 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5960 ;;
5961
5962 interix*)
5963 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5964 lt_cv_sys_max_cmd_len=196608
5965 ;;
5966
5967 os2*)
5968 # The test takes a long time on OS/2.
5969 lt_cv_sys_max_cmd_len=8192
5970 ;;
5971
5972 osf*)
5973 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5974 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5975 # nice to cause kernel panics so lets avoid the loop below.
5976 # First set a reasonable default.
5977 lt_cv_sys_max_cmd_len=16384
5978 #
5979 if test -x /sbin/sysconfig; then
5980 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5981 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5982 esac
5983 fi
5984 ;;
5985 sco3.2v5*)
5986 lt_cv_sys_max_cmd_len=102400
5987 ;;
5988 sysv5* | sco5v6* | sysv4.2uw2*)
5989 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5990 if test -n "$kargmax"; then
5991 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
5992 else
5993 lt_cv_sys_max_cmd_len=32768
5994 fi
5995 ;;
5996 *)
5997 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5998 if test -n "$lt_cv_sys_max_cmd_len" && \
5999 test undefined != "$lt_cv_sys_max_cmd_len"; then
6000 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6001 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6002 else
6003 # Make teststring a little bigger before we do anything with it.
6004 # a 1K string should be a reasonable start.
6005 for i in 1 2 3 4 5 6 7 8; do
6006 teststring=$teststring$teststring
6007 done
6008 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6009 # If test is not a shell built-in, we'll probably end up computing a
6010 # maximum length that is only half of the actual maximum length, but
6011 # we can't tell.
6012 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6013 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6014 test 17 != "$i" # 1/2 MB should be enough
6015 do
6016 i=`expr $i + 1`
6017 teststring=$teststring$teststring
6018 done
6019 # Only check the string length outside the loop.
6020 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6021 teststring=
6022 # Add a significant safety factor because C++ compilers can tack on
6023 # massive amounts of additional arguments before passing them to the
6024 # linker. It appears as though 1/2 is a usable value.
6025 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6026 fi
6027 ;;
6028 esac
6029 ;;
6030 esac
6031 fi
6032
6033 if test -n "$lt_cv_sys_max_cmd_len"; then
6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6035 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6036 else
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6038 printf "%s\n" "none" >&6; }
6039 fi
6040 max_cmd_len=$lt_cv_sys_max_cmd_len
6041
6042
6043
6044
6045
6046
6047 : ${CP="cp -f"}
6048 : ${MV="mv -f"}
6049 : ${RM="rm -f"}
6050
6051 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6052 lt_unset=unset
6053 else
6054 lt_unset=false
6055 fi
6056
6057
6058
6059
6060
6061 # test EBCDIC or ASCII
6062 case `echo X|tr X '\101'` in
6063 A) # ASCII based system
6064 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6065 lt_SP2NL='tr \040 \012'
6066 lt_NL2SP='tr \015\012 \040\040'
6067 ;;
6068 *) # EBCDIC based system
6069 lt_SP2NL='tr \100 \n'
6070 lt_NL2SP='tr \r\n \100\100'
6071 ;;
6072 esac
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6083 printf %s "checking how to convert $build file names to $host format... " >&6; }
6084 if test ${lt_cv_to_host_file_cmd+y}
6085 then :
6086 printf %s "(cached) " >&6
6087 else case e in #(
6088 e) case $host in
6089 *-*-mingw* )
6090 case $build in
6091 *-*-mingw* | *-*-windows* ) # actually msys
6092 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6093 ;;
6094 *-*-cygwin* )
6095 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6096 ;;
6097 * ) # otherwise, assume *nix
6098 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6099 ;;
6100 esac
6101 ;;
6102 *-*-cygwin* )
6103 case $build in
6104 *-*-mingw* | *-*-windows* ) # actually msys
6105 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6106 ;;
6107 *-*-cygwin* )
6108 lt_cv_to_host_file_cmd=func_convert_file_noop
6109 ;;
6110 * ) # otherwise, assume *nix
6111 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6112 ;;
6113 esac
6114 ;;
6115 * ) # unhandled hosts (and "normal" native builds)
6116 lt_cv_to_host_file_cmd=func_convert_file_noop
6117 ;;
6118 esac
6119 ;;
6120 esac
6121 fi
6122
6123 to_host_file_cmd=$lt_cv_to_host_file_cmd
6124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6125 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6126
6127
6128
6129
6130
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6132 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6133 if test ${lt_cv_to_tool_file_cmd+y}
6134 then :
6135 printf %s "(cached) " >&6
6136 else case e in #(
6137 e) #assume ordinary cross tools, or native build.
6138 lt_cv_to_tool_file_cmd=func_convert_file_noop
6139 case $host in
6140 *-*-mingw* | *-*-windows* )
6141 case $build in
6142 *-*-mingw* | *-*-windows* ) # actually msys
6143 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6144 ;;
6145 esac
6146 ;;
6147 esac
6148 ;;
6149 esac
6150 fi
6151
6152 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6154 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6155
6156
6157
6158
6159
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6161 printf %s "checking for $LD option to reload object files... " >&6; }
6162 if test ${lt_cv_ld_reload_flag+y}
6163 then :
6164 printf %s "(cached) " >&6
6165 else case e in #(
6166 e) lt_cv_ld_reload_flag='-r' ;;
6167 esac
6168 fi
6169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6170 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6171 reload_flag=$lt_cv_ld_reload_flag
6172 case $reload_flag in
6173 "" | " "*) ;;
6174 *) reload_flag=" $reload_flag" ;;
6175 esac
6176 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6177 case $host_os in
6178 cygwin* | mingw* | windows* | pw32* | cegcc*)
6179 if test yes != "$GCC"; then
6180 reload_cmds=false
6181 fi
6182 ;;
6183 darwin*)
6184 if test yes = "$GCC"; then
6185 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6186 else
6187 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6188 fi
6189 ;;
6190 esac
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200 # Extract the first word of "file", so it can be a program name with args.
6201 set dummy file; ac_word=$2
6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 printf %s "checking for $ac_word... " >&6; }
6204 if test ${ac_cv_prog_FILECMD+y}
6205 then :
6206 printf %s "(cached) " >&6
6207 else case e in #(
6208 e) if test -n "$FILECMD"; then
6209 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6210 else
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 for as_dir in $PATH
6213 do
6214 IFS=$as_save_IFS
6215 case $as_dir in #(((
6216 '') as_dir=./ ;;
6217 */) ;;
6218 *) as_dir=$as_dir/ ;;
6219 esac
6220 for ac_exec_ext in '' $ac_executable_extensions; do
6221 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6222 ac_cv_prog_FILECMD="file"
6223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6224 break 2
6225 fi
6226 done
6227 done
6228 IFS=$as_save_IFS
6229
6230 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
6231 fi ;;
6232 esac
6233 fi
6234 FILECMD=$ac_cv_prog_FILECMD
6235 if test -n "$FILECMD"; then
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6237 printf "%s\n" "$FILECMD" >&6; }
6238 else
6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6240 printf "%s\n" "no" >&6; }
6241 fi
6242
6243
6244
6245
6246
6247
6248
6249
6250 if test -n "$ac_tool_prefix"; then
6251 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6252 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6254 printf %s "checking for $ac_word... " >&6; }
6255 if test ${ac_cv_prog_OBJDUMP+y}
6256 then :
6257 printf %s "(cached) " >&6
6258 else case e in #(
6259 e) if test -n "$OBJDUMP"; then
6260 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6264 do
6265 IFS=$as_save_IFS
6266 case $as_dir in #(((
6267 '') as_dir=./ ;;
6268 */) ;;
6269 *) as_dir=$as_dir/ ;;
6270 esac
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6273 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6275 break 2
6276 fi
6277 done
6278 done
6279 IFS=$as_save_IFS
6280
6281 fi ;;
6282 esac
6283 fi
6284 OBJDUMP=$ac_cv_prog_OBJDUMP
6285 if test -n "$OBJDUMP"; then
6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6287 printf "%s\n" "$OBJDUMP" >&6; }
6288 else
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 printf "%s\n" "no" >&6; }
6291 fi
6292
6293
6294 fi
6295 if test -z "$ac_cv_prog_OBJDUMP"; then
6296 ac_ct_OBJDUMP=$OBJDUMP
6297 # Extract the first word of "objdump", so it can be a program name with args.
6298 set dummy objdump; ac_word=$2
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 printf %s "checking for $ac_word... " >&6; }
6301 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6302 then :
6303 printf %s "(cached) " >&6
6304 else case e in #(
6305 e) if test -n "$ac_ct_OBJDUMP"; then
6306 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6307 else
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 for as_dir in $PATH
6310 do
6311 IFS=$as_save_IFS
6312 case $as_dir in #(((
6313 '') as_dir=./ ;;
6314 */) ;;
6315 *) as_dir=$as_dir/ ;;
6316 esac
6317 for ac_exec_ext in '' $ac_executable_extensions; do
6318 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6319 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6321 break 2
6322 fi
6323 done
6324 done
6325 IFS=$as_save_IFS
6326
6327 fi ;;
6328 esac
6329 fi
6330 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6331 if test -n "$ac_ct_OBJDUMP"; then
6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6333 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6334 else
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6336 printf "%s\n" "no" >&6; }
6337 fi
6338
6339 if test "x$ac_ct_OBJDUMP" = x; then
6340 OBJDUMP="false"
6341 else
6342 case $cross_compiling:$ac_tool_warned in
6343 yes:)
6344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6345 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6346 ac_tool_warned=yes ;;
6347 esac
6348 OBJDUMP=$ac_ct_OBJDUMP
6349 fi
6350 else
6351 OBJDUMP="$ac_cv_prog_OBJDUMP"
6352 fi
6353
6354 test -z "$OBJDUMP" && OBJDUMP=objdump
6355
6356
6357
6358
6359
6360
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6362 printf %s "checking how to recognize dependent libraries... " >&6; }
6363 if test ${lt_cv_deplibs_check_method+y}
6364 then :
6365 printf %s "(cached) " >&6
6366 else case e in #(
6367 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
6368 lt_cv_file_magic_test_file=
6369 lt_cv_deplibs_check_method='unknown'
6370 # Need to set the preceding variable on all platforms that support
6371 # interlibrary dependencies.
6372 # 'none' -- dependencies not supported.
6373 # 'unknown' -- same as none, but documents that we really don't know.
6374 # 'pass_all' -- all dependencies passed with no checks.
6375 # 'file_magic [[regex]]' -- check by looking for files in library path
6376 # that responds to the $file_magic_cmd with a given extended regex.
6377 # If you have 'file' or equivalent on your system and you're not sure
6378 # whether 'pass_all' will *always* work, you probably want this one.
6379
6380 case $host_os in
6381 aix[4-9]*)
6382 lt_cv_deplibs_check_method=pass_all
6383 ;;
6384
6385 beos*)
6386 lt_cv_deplibs_check_method=pass_all
6387 ;;
6388
6389 bsdi[45]*)
6390 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6391 lt_cv_file_magic_cmd='$FILECMD -L'
6392 lt_cv_file_magic_test_file=/shlib/libc.so
6393 ;;
6394
6395 cygwin*)
6396 # func_win32_libid is a shell function defined in ltmain.sh
6397 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6398 lt_cv_file_magic_cmd='func_win32_libid'
6399 ;;
6400
6401 mingw* | windows* | pw32*)
6402 # Base MSYS/MinGW do not provide the 'file' command needed by
6403 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6404 # unless we find 'file', for example because we are cross-compiling.
6405 if ( file / ) >/dev/null 2>&1; then
6406 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6407 lt_cv_file_magic_cmd='func_win32_libid'
6408 else
6409 # Keep this pattern in sync with the one in func_win32_libid.
6410 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
6411 lt_cv_file_magic_cmd='$OBJDUMP -f'
6412 fi
6413 ;;
6414
6415 cegcc*)
6416 # use the weaker test based on 'objdump'. See mingw*.
6417 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6418 lt_cv_file_magic_cmd='$OBJDUMP -f'
6419 ;;
6420
6421 darwin* | rhapsody*)
6422 lt_cv_deplibs_check_method=pass_all
6423 ;;
6424
6425 freebsd* | dragonfly* | midnightbsd*)
6426 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6427 case $host_cpu in
6428 i*86 )
6429 # Not sure whether the presence of OpenBSD here was a mistake.
6430 # Let's accept both of them until this is cleared up.
6431 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6432 lt_cv_file_magic_cmd=$FILECMD
6433 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6434 ;;
6435 esac
6436 else
6437 lt_cv_deplibs_check_method=pass_all
6438 fi
6439 ;;
6440
6441 haiku*)
6442 lt_cv_deplibs_check_method=pass_all
6443 ;;
6444
6445 hpux10.20* | hpux11*)
6446 lt_cv_file_magic_cmd=$FILECMD
6447 case $host_cpu in
6448 ia64*)
6449 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6450 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6451 ;;
6452 hppa*64*)
6453 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]'
6454 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6455 ;;
6456 *)
6457 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6458 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6459 ;;
6460 esac
6461 ;;
6462
6463 interix[3-9]*)
6464 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6465 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6466 ;;
6467
6468 irix5* | irix6* | nonstopux*)
6469 case $LD in
6470 *-32|*"-32 ") libmagic=32-bit;;
6471 *-n32|*"-n32 ") libmagic=N32;;
6472 *-64|*"-64 ") libmagic=64-bit;;
6473 *) libmagic=never-match;;
6474 esac
6475 lt_cv_deplibs_check_method=pass_all
6476 ;;
6477
6478 # This must be glibc/ELF.
6479 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6480 lt_cv_deplibs_check_method=pass_all
6481 ;;
6482
6483 *-mlibc)
6484 lt_cv_deplibs_check_method=pass_all
6485 ;;
6486
6487 netbsd* | netbsdelf*-gnu)
6488 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6489 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6490 else
6491 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6492 fi
6493 ;;
6494
6495 newos6*)
6496 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6497 lt_cv_file_magic_cmd=$FILECMD
6498 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6499 ;;
6500
6501 *nto* | *qnx*)
6502 lt_cv_deplibs_check_method=pass_all
6503 ;;
6504
6505 openbsd*)
6506 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6507 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6508 else
6509 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6510 fi
6511 ;;
6512
6513 osf3* | osf4* | osf5*)
6514 lt_cv_deplibs_check_method=pass_all
6515 ;;
6516
6517 rdos*)
6518 lt_cv_deplibs_check_method=pass_all
6519 ;;
6520
6521 serenity*)
6522 lt_cv_deplibs_check_method=pass_all
6523 ;;
6524
6525 solaris*)
6526 lt_cv_deplibs_check_method=pass_all
6527 ;;
6528
6529 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6530 lt_cv_deplibs_check_method=pass_all
6531 ;;
6532
6533 sysv4 | sysv4.3*)
6534 case $host_vendor in
6535 motorola)
6536 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]'
6537 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6538 ;;
6539 ncr)
6540 lt_cv_deplibs_check_method=pass_all
6541 ;;
6542 sequent)
6543 lt_cv_file_magic_cmd='/bin/file'
6544 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6545 ;;
6546 sni)
6547 lt_cv_file_magic_cmd='/bin/file'
6548 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6549 lt_cv_file_magic_test_file=/lib/libc.so
6550 ;;
6551 siemens)
6552 lt_cv_deplibs_check_method=pass_all
6553 ;;
6554 pc)
6555 lt_cv_deplibs_check_method=pass_all
6556 ;;
6557 esac
6558 ;;
6559
6560 tpf*)
6561 lt_cv_deplibs_check_method=pass_all
6562 ;;
6563 os2*)
6564 lt_cv_deplibs_check_method=pass_all
6565 ;;
6566 esac
6567 ;;
6568 esac
6569 fi
6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6571 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6572
6573 file_magic_glob=
6574 want_nocaseglob=no
6575 if test "$build" = "$host"; then
6576 case $host_os in
6577 mingw* | windows* | pw32*)
6578 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6579 want_nocaseglob=yes
6580 else
6581 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6582 fi
6583 ;;
6584 esac
6585 fi
6586
6587 file_magic_cmd=$lt_cv_file_magic_cmd
6588 deplibs_check_method=$lt_cv_deplibs_check_method
6589 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612 if test -n "$ac_tool_prefix"; then
6613 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6614 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 printf %s "checking for $ac_word... " >&6; }
6617 if test ${ac_cv_prog_DLLTOOL+y}
6618 then :
6619 printf %s "(cached) " >&6
6620 else case e in #(
6621 e) if test -n "$DLLTOOL"; then
6622 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6626 do
6627 IFS=$as_save_IFS
6628 case $as_dir in #(((
6629 '') as_dir=./ ;;
6630 */) ;;
6631 *) as_dir=$as_dir/ ;;
6632 esac
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6637 break 2
6638 fi
6639 done
6640 done
6641 IFS=$as_save_IFS
6642
6643 fi ;;
6644 esac
6645 fi
6646 DLLTOOL=$ac_cv_prog_DLLTOOL
6647 if test -n "$DLLTOOL"; then
6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6649 printf "%s\n" "$DLLTOOL" >&6; }
6650 else
6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 printf "%s\n" "no" >&6; }
6653 fi
6654
6655
6656 fi
6657 if test -z "$ac_cv_prog_DLLTOOL"; then
6658 ac_ct_DLLTOOL=$DLLTOOL
6659 # Extract the first word of "dlltool", so it can be a program name with args.
6660 set dummy dlltool; ac_word=$2
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 printf %s "checking for $ac_word... " >&6; }
6663 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6664 then :
6665 printf %s "(cached) " >&6
6666 else case e in #(
6667 e) if test -n "$ac_ct_DLLTOOL"; then
6668 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6669 else
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 for as_dir in $PATH
6672 do
6673 IFS=$as_save_IFS
6674 case $as_dir in #(((
6675 '') as_dir=./ ;;
6676 */) ;;
6677 *) as_dir=$as_dir/ ;;
6678 esac
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6681 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6683 break 2
6684 fi
6685 done
6686 done
6687 IFS=$as_save_IFS
6688
6689 fi ;;
6690 esac
6691 fi
6692 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6693 if test -n "$ac_ct_DLLTOOL"; then
6694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6695 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6696 else
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 printf "%s\n" "no" >&6; }
6699 fi
6700
6701 if test "x$ac_ct_DLLTOOL" = x; then
6702 DLLTOOL="false"
6703 else
6704 case $cross_compiling:$ac_tool_warned in
6705 yes:)
6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6707 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6708 ac_tool_warned=yes ;;
6709 esac
6710 DLLTOOL=$ac_ct_DLLTOOL
6711 fi
6712 else
6713 DLLTOOL="$ac_cv_prog_DLLTOOL"
6714 fi
6715
6716 test -z "$DLLTOOL" && DLLTOOL=dlltool
6717
6718
6719
6720
6721
6722
6723
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6725 printf %s "checking how to associate runtime and link libraries... " >&6; }
6726 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6727 then :
6728 printf %s "(cached) " >&6
6729 else case e in #(
6730 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
6731
6732 case $host_os in
6733 cygwin* | mingw* | windows* | pw32* | cegcc*)
6734 # two different shell functions defined in ltmain.sh;
6735 # decide which one to use based on capabilities of $DLLTOOL
6736 case `$DLLTOOL --help 2>&1` in
6737 *--identify-strict*)
6738 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6739 ;;
6740 *)
6741 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6742 ;;
6743 esac
6744 ;;
6745 *)
6746 # fallback: assume linklib IS sharedlib
6747 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6748 ;;
6749 esac
6750 ;;
6751 esac
6752 fi
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6754 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6755 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6756 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6757
6758
6759
6760
6761
6762
6763
6764 if test -n "$ac_tool_prefix"; then
6765 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6766 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 printf %s "checking for $ac_word... " >&6; }
6769 if test ${ac_cv_prog_RANLIB+y}
6770 then :
6771 printf %s "(cached) " >&6
6772 else case e in #(
6773 e) if test -n "$RANLIB"; then
6774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6775 else
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 for as_dir in $PATH
6778 do
6779 IFS=$as_save_IFS
6780 case $as_dir in #(((
6781 '') as_dir=./ ;;
6782 */) ;;
6783 *) as_dir=$as_dir/ ;;
6784 esac
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6787 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6789 break 2
6790 fi
6791 done
6792 done
6793 IFS=$as_save_IFS
6794
6795 fi ;;
6796 esac
6797 fi
6798 RANLIB=$ac_cv_prog_RANLIB
6799 if test -n "$RANLIB"; then
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6801 printf "%s\n" "$RANLIB" >&6; }
6802 else
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 printf "%s\n" "no" >&6; }
6805 fi
6806
6807
6808 fi
6809 if test -z "$ac_cv_prog_RANLIB"; then
6810 ac_ct_RANLIB=$RANLIB
6811 # Extract the first word of "ranlib", so it can be a program name with args.
6812 set dummy ranlib; ac_word=$2
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 printf %s "checking for $ac_word... " >&6; }
6815 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6816 then :
6817 printf %s "(cached) " >&6
6818 else case e in #(
6819 e) if test -n "$ac_ct_RANLIB"; then
6820 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6821 else
6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 for as_dir in $PATH
6824 do
6825 IFS=$as_save_IFS
6826 case $as_dir in #(((
6827 '') as_dir=./ ;;
6828 */) ;;
6829 *) as_dir=$as_dir/ ;;
6830 esac
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_ac_ct_RANLIB="ranlib"
6834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6835 break 2
6836 fi
6837 done
6838 done
6839 IFS=$as_save_IFS
6840
6841 fi ;;
6842 esac
6843 fi
6844 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6845 if test -n "$ac_ct_RANLIB"; then
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6847 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6848 else
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 printf "%s\n" "no" >&6; }
6851 fi
6852
6853 if test "x$ac_ct_RANLIB" = x; then
6854 RANLIB=":"
6855 else
6856 case $cross_compiling:$ac_tool_warned in
6857 yes:)
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6859 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6860 ac_tool_warned=yes ;;
6861 esac
6862 RANLIB=$ac_ct_RANLIB
6863 fi
6864 else
6865 RANLIB="$ac_cv_prog_RANLIB"
6866 fi
6867
6868 if test -n "$ac_tool_prefix"; then
6869 for ac_prog in ar
6870 do
6871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6872 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874 printf %s "checking for $ac_word... " >&6; }
6875 if test ${ac_cv_prog_AR+y}
6876 then :
6877 printf %s "(cached) " >&6
6878 else case e in #(
6879 e) if test -n "$AR"; then
6880 ac_cv_prog_AR="$AR" # Let the user override the test.
6881 else
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 for as_dir in $PATH
6884 do
6885 IFS=$as_save_IFS
6886 case $as_dir in #(((
6887 '') as_dir=./ ;;
6888 */) ;;
6889 *) as_dir=$as_dir/ ;;
6890 esac
6891 for ac_exec_ext in '' $ac_executable_extensions; do
6892 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6893 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6895 break 2
6896 fi
6897 done
6898 done
6899 IFS=$as_save_IFS
6900
6901 fi ;;
6902 esac
6903 fi
6904 AR=$ac_cv_prog_AR
6905 if test -n "$AR"; then
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6907 printf "%s\n" "$AR" >&6; }
6908 else
6909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910 printf "%s\n" "no" >&6; }
6911 fi
6912
6913
6914 test -n "$AR" && break
6915 done
6916 fi
6917 if test -z "$AR"; then
6918 ac_ct_AR=$AR
6919 for ac_prog in ar
6920 do
6921 # Extract the first word of "$ac_prog", so it can be a program name with args.
6922 set dummy $ac_prog; ac_word=$2
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6924 printf %s "checking for $ac_word... " >&6; }
6925 if test ${ac_cv_prog_ac_ct_AR+y}
6926 then :
6927 printf %s "(cached) " >&6
6928 else case e in #(
6929 e) if test -n "$ac_ct_AR"; then
6930 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6931 else
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 for as_dir in $PATH
6934 do
6935 IFS=$as_save_IFS
6936 case $as_dir in #(((
6937 '') as_dir=./ ;;
6938 */) ;;
6939 *) as_dir=$as_dir/ ;;
6940 esac
6941 for ac_exec_ext in '' $ac_executable_extensions; do
6942 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6943 ac_cv_prog_ac_ct_AR="$ac_prog"
6944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6945 break 2
6946 fi
6947 done
6948 done
6949 IFS=$as_save_IFS
6950
6951 fi ;;
6952 esac
6953 fi
6954 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6955 if test -n "$ac_ct_AR"; then
6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6957 printf "%s\n" "$ac_ct_AR" >&6; }
6958 else
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 printf "%s\n" "no" >&6; }
6961 fi
6962
6963
6964 test -n "$ac_ct_AR" && break
6965 done
6966
6967 if test "x$ac_ct_AR" = x; then
6968 AR="false"
6969 else
6970 case $cross_compiling:$ac_tool_warned in
6971 yes:)
6972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned=yes ;;
6975 esac
6976 AR=$ac_ct_AR
6977 fi
6978 fi
6979
6980 : ${AR=ar}
6981
6982
6983
6984
6985
6986
6987 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
6988 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6989 # higher priority because that's what people were doing historically (setting
6990 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
6991 # variable obsoleted/removed.
6992
6993 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6994 lt_ar_flags=$AR_FLAGS
6995
6996
6997
6998
6999
7000
7001 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7002 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7003
7004
7005
7006
7007
7008
7009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7010 printf %s "checking for archiver @FILE support... " >&6; }
7011 if test ${lt_cv_ar_at_file+y}
7012 then :
7013 printf %s "(cached) " >&6
7014 else case e in #(
7015 e) lt_cv_ar_at_file=no
7016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017 /* end confdefs.h. */
7018
7019 int
7020 main (void)
7021 {
7022
7023 ;
7024 return 0;
7025 }
7026 _ACEOF
7027 if ac_fn_c_try_compile "$LINENO"
7028 then :
7029 echo conftest.$ac_objext > conftest.lst
7030 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7031 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7032 (eval $lt_ar_try) 2>&5
7033 ac_status=$?
7034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7035 test $ac_status = 0; }
7036 if test 0 -eq "$ac_status"; then
7037 # Ensure the archiver fails upon bogus file names.
7038 rm -f conftest.$ac_objext libconftest.a
7039 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7040 (eval $lt_ar_try) 2>&5
7041 ac_status=$?
7042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7043 test $ac_status = 0; }
7044 if test 0 -ne "$ac_status"; then
7045 lt_cv_ar_at_file=@
7046 fi
7047 fi
7048 rm -f conftest.* libconftest.a
7049
7050 fi
7051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7052 ;;
7053 esac
7054 fi
7055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7056 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7057
7058 if test no = "$lt_cv_ar_at_file"; then
7059 archiver_list_spec=
7060 else
7061 archiver_list_spec=$lt_cv_ar_at_file
7062 fi
7063
7064
7065
7066
7067
7068
7069
7070 if test -n "$ac_tool_prefix"; then
7071 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7072 set dummy ${ac_tool_prefix}strip; ac_word=$2
7073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074 printf %s "checking for $ac_word... " >&6; }
7075 if test ${ac_cv_prog_STRIP+y}
7076 then :
7077 printf %s "(cached) " >&6
7078 else case e in #(
7079 e) if test -n "$STRIP"; then
7080 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7081 else
7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 for as_dir in $PATH
7084 do
7085 IFS=$as_save_IFS
7086 case $as_dir in #(((
7087 '') as_dir=./ ;;
7088 */) ;;
7089 *) as_dir=$as_dir/ ;;
7090 esac
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7095 break 2
7096 fi
7097 done
7098 done
7099 IFS=$as_save_IFS
7100
7101 fi ;;
7102 esac
7103 fi
7104 STRIP=$ac_cv_prog_STRIP
7105 if test -n "$STRIP"; then
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7107 printf "%s\n" "$STRIP" >&6; }
7108 else
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 printf "%s\n" "no" >&6; }
7111 fi
7112
7113
7114 fi
7115 if test -z "$ac_cv_prog_STRIP"; then
7116 ac_ct_STRIP=$STRIP
7117 # Extract the first word of "strip", so it can be a program name with args.
7118 set dummy strip; ac_word=$2
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 printf %s "checking for $ac_word... " >&6; }
7121 if test ${ac_cv_prog_ac_ct_STRIP+y}
7122 then :
7123 printf %s "(cached) " >&6
7124 else case e in #(
7125 e) if test -n "$ac_ct_STRIP"; then
7126 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7127 else
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 for as_dir in $PATH
7130 do
7131 IFS=$as_save_IFS
7132 case $as_dir in #(((
7133 '') as_dir=./ ;;
7134 */) ;;
7135 *) as_dir=$as_dir/ ;;
7136 esac
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7139 ac_cv_prog_ac_ct_STRIP="strip"
7140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7141 break 2
7142 fi
7143 done
7144 done
7145 IFS=$as_save_IFS
7146
7147 fi ;;
7148 esac
7149 fi
7150 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7151 if test -n "$ac_ct_STRIP"; then
7152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7153 printf "%s\n" "$ac_ct_STRIP" >&6; }
7154 else
7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7156 printf "%s\n" "no" >&6; }
7157 fi
7158
7159 if test "x$ac_ct_STRIP" = x; then
7160 STRIP=":"
7161 else
7162 case $cross_compiling:$ac_tool_warned in
7163 yes:)
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7165 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7166 ac_tool_warned=yes ;;
7167 esac
7168 STRIP=$ac_ct_STRIP
7169 fi
7170 else
7171 STRIP="$ac_cv_prog_STRIP"
7172 fi
7173
7174 test -z "$STRIP" && STRIP=:
7175
7176
7177
7178
7179
7180
7181
7182 test -z "$RANLIB" && RANLIB=:
7183
7184
7185
7186
7187
7188
7189 # Determine commands to create old-style static archives.
7190 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7191 old_postinstall_cmds='chmod 644 $oldlib'
7192 old_postuninstall_cmds=
7193
7194 if test -n "$RANLIB"; then
7195 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7196 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7197 fi
7198
7199 case $host_os in
7200 darwin*)
7201 lock_old_archive_extraction=yes ;;
7202 *)
7203 lock_old_archive_extraction=no ;;
7204 esac
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244 # If no C compiler was specified, use CC.
7245 LTCC=${LTCC-"$CC"}
7246
7247 # If no C compiler flags were specified, use CFLAGS.
7248 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7249
7250 # Allow CC to be a program name with arguments.
7251 compiler=$CC
7252
7253
7254 # Check for command to grab the raw symbol name followed by C symbol from nm.
7255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7256 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7257 if test ${lt_cv_sys_global_symbol_pipe+y}
7258 then :
7259 printf %s "(cached) " >&6
7260 else case e in #(
7261 e)
7262 # These are sane defaults that work on at least a few old systems.
7263 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7264
7265 # Character class describing NM global symbol codes.
7266 symcode='[BCDEGRST]'
7267
7268 # Regexp to match symbols that can be accessed directly from C.
7269 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7270
7271 # Define system-specific variables.
7272 case $host_os in
7273 aix*)
7274 symcode='[BCDT]'
7275 ;;
7276 cygwin* | mingw* | windows* | pw32* | cegcc*)
7277 symcode='[ABCDGISTW]'
7278 ;;
7279 hpux*)
7280 if test ia64 = "$host_cpu"; then
7281 symcode='[ABCDEGRST]'
7282 fi
7283 ;;
7284 irix* | nonstopux*)
7285 symcode='[BCDEGRST]'
7286 ;;
7287 osf*)
7288 symcode='[BCDEGQRST]'
7289 ;;
7290 solaris*)
7291 symcode='[BCDRT]'
7292 ;;
7293 sco3.2v5*)
7294 symcode='[DT]'
7295 ;;
7296 sysv4.2uw2*)
7297 symcode='[DT]'
7298 ;;
7299 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7300 symcode='[ABDT]'
7301 ;;
7302 sysv4)
7303 symcode='[DFNSTU]'
7304 ;;
7305 esac
7306
7307 # If we're using GNU nm, then use its standard symbol codes.
7308 case `$NM -V 2>&1` in
7309 *GNU* | *'with BFD'*)
7310 symcode='[ABCDGIRSTW]' ;;
7311 esac
7312
7313 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7314 # Gets list of data symbols to import.
7315 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7316 # Adjust the below global symbol transforms to fixup imported variables.
7317 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7318 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7319 lt_c_name_lib_hook="\
7320 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7321 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7322 else
7323 # Disable hooks by default.
7324 lt_cv_sys_global_symbol_to_import=
7325 lt_cdecl_hook=
7326 lt_c_name_hook=
7327 lt_c_name_lib_hook=
7328 fi
7329
7330 # Transform an extracted symbol line into a proper C declaration.
7331 # Some systems (esp. on ia64) link data and code symbols differently,
7332 # so use this general approach.
7333 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7334 $lt_cdecl_hook\
7335 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7336 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7337
7338 # Transform an extracted symbol line into symbol name and symbol address
7339 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7340 $lt_c_name_hook\
7341 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7342 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7343
7344 # Transform an extracted symbol line into symbol name with lib prefix and
7345 # symbol address.
7346 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7347 $lt_c_name_lib_hook\
7348 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7349 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7350 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7351
7352 # Handle CRLF in mingw tool chain
7353 opt_cr=
7354 case $build_os in
7355 mingw* | windows*)
7356 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7357 ;;
7358 esac
7359
7360 # Try without a prefix underscore, then with it.
7361 for ac_symprfx in "" "_"; do
7362
7363 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7364 symxfrm="\\1 $ac_symprfx\\2 \\2"
7365
7366 # Write the raw and C identifiers.
7367 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7368 # Fake it for dumpbin and say T for any non-static function,
7369 # D for any global variable and I for any imported variable.
7370 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7371 # which start with @ or ?.
7372 lt_cv_sys_global_symbol_pipe="$AWK '"\
7373 " {last_section=section; section=\$ 3};"\
7374 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7375 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7376 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7377 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7378 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7379 " \$ 0!~/External *\|/{next};"\
7380 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7381 " {if(hide[section]) next};"\
7382 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7383 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7384 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7385 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7386 " ' prfx=^$ac_symprfx"
7387 else
7388 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7389 fi
7390 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7391
7392 # Check to see that the pipe works correctly.
7393 pipe_works=no
7394
7395 rm -f conftest*
7396 cat > conftest.$ac_ext <<_LT_EOF
7397 #ifdef __cplusplus
7398 extern "C" {
7399 #endif
7400 char nm_test_var;
7401 void nm_test_func(void);
7402 void nm_test_func(void){}
7403 #ifdef __cplusplus
7404 }
7405 #endif
7406 int main(void){nm_test_var='a';nm_test_func();return(0);}
7407 _LT_EOF
7408
7409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7410 (eval $ac_compile) 2>&5
7411 ac_status=$?
7412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7413 test $ac_status = 0; }; then
7414 # Now try to grab the symbols.
7415 nlist=conftest.nm
7416 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7417 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7418 # Try sorting and uniquifying the output.
7419 if sort "$nlist" | uniq > "$nlist"T; then
7420 mv -f "$nlist"T "$nlist"
7421 else
7422 rm -f "$nlist"T
7423 fi
7424
7425 # Make sure that we snagged all the symbols we need.
7426 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7427 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7428 cat <<_LT_EOF > conftest.$ac_ext
7429 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7430 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7431 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7432 relocations are performed -- see ld's documentation on pseudo-relocs. */
7433 # define LT_DLSYM_CONST
7434 #elif defined __osf__
7435 /* This system does not cope well with relocations in const data. */
7436 # define LT_DLSYM_CONST
7437 #else
7438 # define LT_DLSYM_CONST const
7439 #endif
7440
7441 #ifdef __cplusplus
7442 extern "C" {
7443 #endif
7444
7445 _LT_EOF
7446 # Now generate the symbol file.
7447 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7448
7449 cat <<_LT_EOF >> conftest.$ac_ext
7450
7451 /* The mapping between symbol names and symbols. */
7452 LT_DLSYM_CONST struct {
7453 const char *name;
7454 void *address;
7455 }
7456 lt__PROGRAM__LTX_preloaded_symbols[] =
7457 {
7458 { "@PROGRAM@", (void *) 0 },
7459 _LT_EOF
7460 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7461 cat <<\_LT_EOF >> conftest.$ac_ext
7462 {0, (void *) 0}
7463 };
7464
7465 /* This works around a problem in FreeBSD linker */
7466 #ifdef FREEBSD_WORKAROUND
7467 static const void *lt_preloaded_setup() {
7468 return lt__PROGRAM__LTX_preloaded_symbols;
7469 }
7470 #endif
7471
7472 #ifdef __cplusplus
7473 }
7474 #endif
7475 _LT_EOF
7476 # Now try linking the two files.
7477 mv conftest.$ac_objext conftstm.$ac_objext
7478 lt_globsym_save_LIBS=$LIBS
7479 lt_globsym_save_CFLAGS=$CFLAGS
7480 LIBS=conftstm.$ac_objext
7481 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7483 (eval $ac_link) 2>&5
7484 ac_status=$?
7485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7486 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7487 pipe_works=yes
7488 fi
7489 LIBS=$lt_globsym_save_LIBS
7490 CFLAGS=$lt_globsym_save_CFLAGS
7491 else
7492 echo "cannot find nm_test_func in $nlist" >&5
7493 fi
7494 else
7495 echo "cannot find nm_test_var in $nlist" >&5
7496 fi
7497 else
7498 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7499 fi
7500 else
7501 echo "$progname: failed program was:" >&5
7502 cat conftest.$ac_ext >&5
7503 fi
7504 rm -rf conftest* conftst*
7505
7506 # Do not use the global_symbol_pipe unless it works.
7507 if test yes = "$pipe_works"; then
7508 break
7509 else
7510 lt_cv_sys_global_symbol_pipe=
7511 fi
7512 done
7513 ;;
7514 esac
7515 fi
7516
7517 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7518 lt_cv_sys_global_symbol_to_cdecl=
7519 fi
7520 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7522 printf "%s\n" "failed" >&6; }
7523 else
7524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7525 printf "%s\n" "ok" >&6; }
7526 fi
7527
7528 # Response file support.
7529 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7530 nm_file_list_spec='@'
7531 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7532 nm_file_list_spec='@'
7533 fi
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7572 printf %s "checking for sysroot... " >&6; }
7573
7574 # Check whether --with-sysroot was given.
7575 if test ${with_sysroot+y}
7576 then :
7577 withval=$with_sysroot;
7578 else case e in #(
7579 e) with_sysroot=no ;;
7580 esac
7581 fi
7582
7583
7584 lt_sysroot=
7585 case $with_sysroot in #(
7586 yes)
7587 if test yes = "$GCC"; then
7588 # Trim trailing / since we'll always append absolute paths and we want
7589 # to avoid //, if only for less confusing output for the user.
7590 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
7591 fi
7592 ;; #(
7593 /*)
7594 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7595 ;; #(
7596 no|'')
7597 ;; #(
7598 *)
7599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7600 printf "%s\n" "$with_sysroot" >&6; }
7601 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7602 ;;
7603 esac
7604
7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7606 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7607
7608
7609
7610
7611
7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7613 printf %s "checking for a working dd... " >&6; }
7614 if test ${ac_cv_path_lt_DD+y}
7615 then :
7616 printf %s "(cached) " >&6
7617 else case e in #(
7618 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7619 cat conftest.i conftest.i >conftest2.i
7620 : ${lt_DD:=$DD}
7621 if test -z "$lt_DD"; then
7622 ac_path_lt_DD_found=false
7623 # Loop through the user's path and test for each of PROGNAME-LIST
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7626 do
7627 IFS=$as_save_IFS
7628 case $as_dir in #(((
7629 '') as_dir=./ ;;
7630 */) ;;
7631 *) as_dir=$as_dir/ ;;
7632 esac
7633 for ac_prog in dd
7634 do
7635 for ac_exec_ext in '' $ac_executable_extensions; do
7636 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7637 as_fn_executable_p "$ac_path_lt_DD" || continue
7638 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7639 cmp -s conftest.i conftest.out \
7640 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7641 fi
7642 $ac_path_lt_DD_found && break 3
7643 done
7644 done
7645 done
7646 IFS=$as_save_IFS
7647 if test -z "$ac_cv_path_lt_DD"; then
7648 :
7649 fi
7650 else
7651 ac_cv_path_lt_DD=$lt_DD
7652 fi
7653
7654 rm -f conftest.i conftest2.i conftest.out ;;
7655 esac
7656 fi
7657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7658 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7659
7660
7661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7662 printf %s "checking how to truncate binary pipes... " >&6; }
7663 if test ${lt_cv_truncate_bin+y}
7664 then :
7665 printf %s "(cached) " >&6
7666 else case e in #(
7667 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7668 cat conftest.i conftest.i >conftest2.i
7669 lt_cv_truncate_bin=
7670 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7671 cmp -s conftest.i conftest.out \
7672 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7673 fi
7674 rm -f conftest.i conftest2.i conftest.out
7675 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
7676 esac
7677 fi
7678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7679 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7680
7681
7682
7683
7684
7685
7686
7687 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7688 func_cc_basename ()
7689 {
7690 for cc_temp in $*""; do
7691 case $cc_temp in
7692 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7693 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7694 \-*) ;;
7695 *) break;;
7696 esac
7697 done
7698 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7699 }
7700
7701 # Check whether --enable-libtool-lock was given.
7702 if test ${enable_libtool_lock+y}
7703 then :
7704 enableval=$enable_libtool_lock;
7705 fi
7706
7707 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7708
7709 # Some flags need to be propagated to the compiler or linker for good
7710 # libtool support.
7711 case $host in
7712 ia64-*-hpux*)
7713 # Find out what ABI is being produced by ac_compile, and set mode
7714 # options accordingly.
7715 echo 'int i;' > conftest.$ac_ext
7716 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7717 (eval $ac_compile) 2>&5
7718 ac_status=$?
7719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7720 test $ac_status = 0; }; then
7721 case `$FILECMD conftest.$ac_objext` in
7722 *ELF-32*)
7723 HPUX_IA64_MODE=32
7724 ;;
7725 *ELF-64*)
7726 HPUX_IA64_MODE=64
7727 ;;
7728 esac
7729 fi
7730 rm -rf conftest*
7731 ;;
7732 *-*-irix6*)
7733 # Find out what ABI is being produced by ac_compile, and set linker
7734 # options accordingly.
7735 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7737 (eval $ac_compile) 2>&5
7738 ac_status=$?
7739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7740 test $ac_status = 0; }; then
7741 if test yes = "$lt_cv_prog_gnu_ld"; then
7742 case `$FILECMD conftest.$ac_objext` in
7743 *32-bit*)
7744 LD="${LD-ld} -melf32bsmip"
7745 ;;
7746 *N32*)
7747 LD="${LD-ld} -melf32bmipn32"
7748 ;;
7749 *64-bit*)
7750 LD="${LD-ld} -melf64bmip"
7751 ;;
7752 esac
7753 else
7754 case `$FILECMD conftest.$ac_objext` in
7755 *32-bit*)
7756 LD="${LD-ld} -32"
7757 ;;
7758 *N32*)
7759 LD="${LD-ld} -n32"
7760 ;;
7761 *64-bit*)
7762 LD="${LD-ld} -64"
7763 ;;
7764 esac
7765 fi
7766 fi
7767 rm -rf conftest*
7768 ;;
7769
7770 mips64*-*linux*)
7771 # Find out what ABI is being produced by ac_compile, and set linker
7772 # options accordingly.
7773 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7775 (eval $ac_compile) 2>&5
7776 ac_status=$?
7777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7778 test $ac_status = 0; }; then
7779 emul=elf
7780 case `$FILECMD conftest.$ac_objext` in
7781 *32-bit*)
7782 emul="${emul}32"
7783 ;;
7784 *64-bit*)
7785 emul="${emul}64"
7786 ;;
7787 esac
7788 case `$FILECMD conftest.$ac_objext` in
7789 *MSB*)
7790 emul="${emul}btsmip"
7791 ;;
7792 *LSB*)
7793 emul="${emul}ltsmip"
7794 ;;
7795 esac
7796 case `$FILECMD conftest.$ac_objext` in
7797 *N32*)
7798 emul="${emul}n32"
7799 ;;
7800 esac
7801 LD="${LD-ld} -m $emul"
7802 fi
7803 rm -rf conftest*
7804 ;;
7805
7806 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7807 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
7808 # Find out what ABI is being produced by ac_compile, and set linker
7809 # options accordingly. Note that the listed cases only cover the
7810 # situations where additional linker options are needed (such as when
7811 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7812 # vice versa); the common cases where no linker options are needed do
7813 # not appear in the list.
7814 echo 'int i;' > conftest.$ac_ext
7815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7816 (eval $ac_compile) 2>&5
7817 ac_status=$?
7818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7819 test $ac_status = 0; }; then
7820 case `$FILECMD conftest.o` in
7821 *32-bit*)
7822 case $host in
7823 x86_64-*kfreebsd*-gnu)
7824 LD="${LD-ld} -m elf_i386_fbsd"
7825 ;;
7826 x86_64-*linux*|x86_64-gnu*)
7827 case `$FILECMD conftest.o` in
7828 *x86-64*)
7829 LD="${LD-ld} -m elf32_x86_64"
7830 ;;
7831 *)
7832 LD="${LD-ld} -m elf_i386"
7833 ;;
7834 esac
7835 ;;
7836 powerpc64le-*linux*)
7837 LD="${LD-ld} -m elf32lppclinux"
7838 ;;
7839 powerpc64-*linux*)
7840 LD="${LD-ld} -m elf32ppclinux"
7841 ;;
7842 s390x-*linux*)
7843 LD="${LD-ld} -m elf_s390"
7844 ;;
7845 sparc64-*linux*)
7846 LD="${LD-ld} -m elf32_sparc"
7847 ;;
7848 esac
7849 ;;
7850 *64-bit*)
7851 case $host in
7852 x86_64-*kfreebsd*-gnu)
7853 LD="${LD-ld} -m elf_x86_64_fbsd"
7854 ;;
7855 x86_64-*linux*|x86_64-gnu*)
7856 LD="${LD-ld} -m elf_x86_64"
7857 ;;
7858 powerpcle-*linux*)
7859 LD="${LD-ld} -m elf64lppc"
7860 ;;
7861 powerpc-*linux*)
7862 LD="${LD-ld} -m elf64ppc"
7863 ;;
7864 s390*-*linux*|s390*-*tpf*)
7865 LD="${LD-ld} -m elf64_s390"
7866 ;;
7867 sparc*-*linux*)
7868 LD="${LD-ld} -m elf64_sparc"
7869 ;;
7870 esac
7871 ;;
7872 esac
7873 fi
7874 rm -rf conftest*
7875 ;;
7876
7877 *-*-sco3.2v5*)
7878 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7879 SAVE_CFLAGS=$CFLAGS
7880 CFLAGS="$CFLAGS -belf"
7881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7882 printf %s "checking whether the C compiler needs -belf... " >&6; }
7883 if test ${lt_cv_cc_needs_belf+y}
7884 then :
7885 printf %s "(cached) " >&6
7886 else case e in #(
7887 e) ac_ext=c
7888 ac_cpp='$CPP $CPPFLAGS'
7889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7892
7893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7894 /* end confdefs.h. */
7895
7896 int
7897 main (void)
7898 {
7899
7900 ;
7901 return 0;
7902 }
7903 _ACEOF
7904 if ac_fn_c_try_link "$LINENO"
7905 then :
7906 lt_cv_cc_needs_belf=yes
7907 else case e in #(
7908 e) lt_cv_cc_needs_belf=no ;;
7909 esac
7910 fi
7911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7912 conftest$ac_exeext conftest.$ac_ext
7913 ac_ext=c
7914 ac_cpp='$CPP $CPPFLAGS'
7915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7918 ;;
7919 esac
7920 fi
7921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7922 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7923 if test yes != "$lt_cv_cc_needs_belf"; then
7924 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7925 CFLAGS=$SAVE_CFLAGS
7926 fi
7927 ;;
7928 *-*solaris*)
7929 # Find out what ABI is being produced by ac_compile, and set linker
7930 # options accordingly.
7931 echo 'int i;' > conftest.$ac_ext
7932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7933 (eval $ac_compile) 2>&5
7934 ac_status=$?
7935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7936 test $ac_status = 0; }; then
7937 case `$FILECMD conftest.o` in
7938 *64-bit*)
7939 case $lt_cv_prog_gnu_ld in
7940 yes*)
7941 case $host in
7942 i?86-*-solaris*|x86_64-*-solaris*)
7943 LD="${LD-ld} -m elf_x86_64"
7944 ;;
7945 sparc*-*-solaris*)
7946 LD="${LD-ld} -m elf64_sparc"
7947 ;;
7948 esac
7949 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7950 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7951 LD=${LD-ld}_sol2
7952 fi
7953 ;;
7954 *)
7955 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7956 LD="${LD-ld} -64"
7957 fi
7958 ;;
7959 esac
7960 ;;
7961 esac
7962 fi
7963 rm -rf conftest*
7964 ;;
7965 esac
7966
7967 need_locks=$enable_libtool_lock
7968
7969 if test -n "$ac_tool_prefix"; then
7970 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7971 set dummy ${ac_tool_prefix}mt; ac_word=$2
7972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973 printf %s "checking for $ac_word... " >&6; }
7974 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7975 then :
7976 printf %s "(cached) " >&6
7977 else case e in #(
7978 e) if test -n "$MANIFEST_TOOL"; then
7979 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7980 else
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 for as_dir in $PATH
7983 do
7984 IFS=$as_save_IFS
7985 case $as_dir in #(((
7986 '') as_dir=./ ;;
7987 */) ;;
7988 *) as_dir=$as_dir/ ;;
7989 esac
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7994 break 2
7995 fi
7996 done
7997 done
7998 IFS=$as_save_IFS
7999
8000 fi ;;
8001 esac
8002 fi
8003 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8004 if test -n "$MANIFEST_TOOL"; then
8005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8006 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8007 else
8008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 printf "%s\n" "no" >&6; }
8010 fi
8011
8012
8013 fi
8014 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8015 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8016 # Extract the first word of "mt", so it can be a program name with args.
8017 set dummy mt; ac_word=$2
8018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 printf %s "checking for $ac_word... " >&6; }
8020 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8021 then :
8022 printf %s "(cached) " >&6
8023 else case e in #(
8024 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
8025 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8026 else
8027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8028 for as_dir in $PATH
8029 do
8030 IFS=$as_save_IFS
8031 case $as_dir in #(((
8032 '') as_dir=./ ;;
8033 */) ;;
8034 *) as_dir=$as_dir/ ;;
8035 esac
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8040 break 2
8041 fi
8042 done
8043 done
8044 IFS=$as_save_IFS
8045
8046 fi ;;
8047 esac
8048 fi
8049 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8050 if test -n "$ac_ct_MANIFEST_TOOL"; then
8051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8052 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8053 else
8054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 printf "%s\n" "no" >&6; }
8056 fi
8057
8058 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8059 MANIFEST_TOOL=":"
8060 else
8061 case $cross_compiling:$ac_tool_warned in
8062 yes:)
8063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8064 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8065 ac_tool_warned=yes ;;
8066 esac
8067 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8068 fi
8069 else
8070 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8071 fi
8072
8073 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8075 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8076 if test ${lt_cv_path_manifest_tool+y}
8077 then :
8078 printf %s "(cached) " >&6
8079 else case e in #(
8080 e) lt_cv_path_manifest_tool=no
8081 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8082 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8083 cat conftest.err >&5
8084 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8085 lt_cv_path_manifest_tool=yes
8086 fi
8087 rm -f conftest* ;;
8088 esac
8089 fi
8090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
8091 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
8092 if test yes != "$lt_cv_path_manifest_tool"; then
8093 MANIFEST_TOOL=:
8094 fi
8095
8096
8097
8098
8099
8100
8101 case $host_os in
8102 rhapsody* | darwin*)
8103 if test -n "$ac_tool_prefix"; then
8104 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8105 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 printf %s "checking for $ac_word... " >&6; }
8108 if test ${ac_cv_prog_DSYMUTIL+y}
8109 then :
8110 printf %s "(cached) " >&6
8111 else case e in #(
8112 e) if test -n "$DSYMUTIL"; then
8113 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8114 else
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8116 for as_dir in $PATH
8117 do
8118 IFS=$as_save_IFS
8119 case $as_dir in #(((
8120 '') as_dir=./ ;;
8121 */) ;;
8122 *) as_dir=$as_dir/ ;;
8123 esac
8124 for ac_exec_ext in '' $ac_executable_extensions; do
8125 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8126 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8128 break 2
8129 fi
8130 done
8131 done
8132 IFS=$as_save_IFS
8133
8134 fi ;;
8135 esac
8136 fi
8137 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8138 if test -n "$DSYMUTIL"; then
8139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8140 printf "%s\n" "$DSYMUTIL" >&6; }
8141 else
8142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 printf "%s\n" "no" >&6; }
8144 fi
8145
8146
8147 fi
8148 if test -z "$ac_cv_prog_DSYMUTIL"; then
8149 ac_ct_DSYMUTIL=$DSYMUTIL
8150 # Extract the first word of "dsymutil", so it can be a program name with args.
8151 set dummy dsymutil; ac_word=$2
8152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8153 printf %s "checking for $ac_word... " >&6; }
8154 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8155 then :
8156 printf %s "(cached) " >&6
8157 else case e in #(
8158 e) if test -n "$ac_ct_DSYMUTIL"; then
8159 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8160 else
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 for as_dir in $PATH
8163 do
8164 IFS=$as_save_IFS
8165 case $as_dir in #(((
8166 '') as_dir=./ ;;
8167 */) ;;
8168 *) as_dir=$as_dir/ ;;
8169 esac
8170 for ac_exec_ext in '' $ac_executable_extensions; do
8171 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8172 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8174 break 2
8175 fi
8176 done
8177 done
8178 IFS=$as_save_IFS
8179
8180 fi ;;
8181 esac
8182 fi
8183 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8184 if test -n "$ac_ct_DSYMUTIL"; then
8185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8186 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8187 else
8188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8189 printf "%s\n" "no" >&6; }
8190 fi
8191
8192 if test "x$ac_ct_DSYMUTIL" = x; then
8193 DSYMUTIL=":"
8194 else
8195 case $cross_compiling:$ac_tool_warned in
8196 yes:)
8197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8198 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8199 ac_tool_warned=yes ;;
8200 esac
8201 DSYMUTIL=$ac_ct_DSYMUTIL
8202 fi
8203 else
8204 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8205 fi
8206
8207 if test -n "$ac_tool_prefix"; then
8208 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8209 set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+y}
8213 then :
8214 printf %s "(cached) " >&6
8215 else case e in #(
8216 e) if test -n "$NMEDIT"; then
8217 ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit"
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 NMEDIT=$ac_cv_prog_NMEDIT
8242 if test -n "$NMEDIT"; then
8243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8244 printf "%s\n" "$NMEDIT" >&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_NMEDIT"; then
8253 ac_ct_NMEDIT=$NMEDIT
8254 # Extract the first word of "nmedit", so it can be a program name with args.
8255 set dummy nmedit; 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_NMEDIT+y}
8259 then :
8260 printf %s "(cached) " >&6
8261 else case e in #(
8262 e) if test -n "$ac_ct_NMEDIT"; then
8263 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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_NMEDIT="nmedit"
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_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8288 if test -n "$ac_ct_NMEDIT"; then
8289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8290 printf "%s\n" "$ac_ct_NMEDIT" >&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_NMEDIT" = x; then
8297 NMEDIT=":"
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 NMEDIT=$ac_ct_NMEDIT
8306 fi
8307 else
8308 NMEDIT="$ac_cv_prog_NMEDIT"
8309 fi
8310
8311 if test -n "$ac_tool_prefix"; then
8312 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8313 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8315 printf %s "checking for $ac_word... " >&6; }
8316 if test ${ac_cv_prog_LIPO+y}
8317 then :
8318 printf %s "(cached) " >&6
8319 else case e in #(
8320 e) if test -n "$LIPO"; then
8321 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8322 else
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 for as_dir in $PATH
8325 do
8326 IFS=$as_save_IFS
8327 case $as_dir in #(((
8328 '') as_dir=./ ;;
8329 */) ;;
8330 *) as_dir=$as_dir/ ;;
8331 esac
8332 for ac_exec_ext in '' $ac_executable_extensions; do
8333 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8334 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8336 break 2
8337 fi
8338 done
8339 done
8340 IFS=$as_save_IFS
8341
8342 fi ;;
8343 esac
8344 fi
8345 LIPO=$ac_cv_prog_LIPO
8346 if test -n "$LIPO"; then
8347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8348 printf "%s\n" "$LIPO" >&6; }
8349 else
8350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8351 printf "%s\n" "no" >&6; }
8352 fi
8353
8354
8355 fi
8356 if test -z "$ac_cv_prog_LIPO"; then
8357 ac_ct_LIPO=$LIPO
8358 # Extract the first word of "lipo", so it can be a program name with args.
8359 set dummy lipo; ac_word=$2
8360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8361 printf %s "checking for $ac_word... " >&6; }
8362 if test ${ac_cv_prog_ac_ct_LIPO+y}
8363 then :
8364 printf %s "(cached) " >&6
8365 else case e in #(
8366 e) if test -n "$ac_ct_LIPO"; then
8367 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8368 else
8369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8370 for as_dir in $PATH
8371 do
8372 IFS=$as_save_IFS
8373 case $as_dir in #(((
8374 '') as_dir=./ ;;
8375 */) ;;
8376 *) as_dir=$as_dir/ ;;
8377 esac
8378 for ac_exec_ext in '' $ac_executable_extensions; do
8379 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8380 ac_cv_prog_ac_ct_LIPO="lipo"
8381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8382 break 2
8383 fi
8384 done
8385 done
8386 IFS=$as_save_IFS
8387
8388 fi ;;
8389 esac
8390 fi
8391 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8392 if test -n "$ac_ct_LIPO"; then
8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8394 printf "%s\n" "$ac_ct_LIPO" >&6; }
8395 else
8396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8397 printf "%s\n" "no" >&6; }
8398 fi
8399
8400 if test "x$ac_ct_LIPO" = x; then
8401 LIPO=":"
8402 else
8403 case $cross_compiling:$ac_tool_warned in
8404 yes:)
8405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8406 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8407 ac_tool_warned=yes ;;
8408 esac
8409 LIPO=$ac_ct_LIPO
8410 fi
8411 else
8412 LIPO="$ac_cv_prog_LIPO"
8413 fi
8414
8415 if test -n "$ac_tool_prefix"; then
8416 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8417 set dummy ${ac_tool_prefix}otool; ac_word=$2
8418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8419 printf %s "checking for $ac_word... " >&6; }
8420 if test ${ac_cv_prog_OTOOL+y}
8421 then :
8422 printf %s "(cached) " >&6
8423 else case e in #(
8424 e) if test -n "$OTOOL"; then
8425 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8426 else
8427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8428 for as_dir in $PATH
8429 do
8430 IFS=$as_save_IFS
8431 case $as_dir in #(((
8432 '') as_dir=./ ;;
8433 */) ;;
8434 *) as_dir=$as_dir/ ;;
8435 esac
8436 for ac_exec_ext in '' $ac_executable_extensions; do
8437 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8438 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8440 break 2
8441 fi
8442 done
8443 done
8444 IFS=$as_save_IFS
8445
8446 fi ;;
8447 esac
8448 fi
8449 OTOOL=$ac_cv_prog_OTOOL
8450 if test -n "$OTOOL"; then
8451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8452 printf "%s\n" "$OTOOL" >&6; }
8453 else
8454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8455 printf "%s\n" "no" >&6; }
8456 fi
8457
8458
8459 fi
8460 if test -z "$ac_cv_prog_OTOOL"; then
8461 ac_ct_OTOOL=$OTOOL
8462 # Extract the first word of "otool", so it can be a program name with args.
8463 set dummy otool; ac_word=$2
8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8465 printf %s "checking for $ac_word... " >&6; }
8466 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8467 then :
8468 printf %s "(cached) " >&6
8469 else case e in #(
8470 e) if test -n "$ac_ct_OTOOL"; then
8471 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8472 else
8473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 for as_dir in $PATH
8475 do
8476 IFS=$as_save_IFS
8477 case $as_dir in #(((
8478 '') as_dir=./ ;;
8479 */) ;;
8480 *) as_dir=$as_dir/ ;;
8481 esac
8482 for ac_exec_ext in '' $ac_executable_extensions; do
8483 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8484 ac_cv_prog_ac_ct_OTOOL="otool"
8485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8486 break 2
8487 fi
8488 done
8489 done
8490 IFS=$as_save_IFS
8491
8492 fi ;;
8493 esac
8494 fi
8495 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8496 if test -n "$ac_ct_OTOOL"; then
8497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8498 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8499 else
8500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501 printf "%s\n" "no" >&6; }
8502 fi
8503
8504 if test "x$ac_ct_OTOOL" = x; then
8505 OTOOL=":"
8506 else
8507 case $cross_compiling:$ac_tool_warned in
8508 yes:)
8509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8510 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8511 ac_tool_warned=yes ;;
8512 esac
8513 OTOOL=$ac_ct_OTOOL
8514 fi
8515 else
8516 OTOOL="$ac_cv_prog_OTOOL"
8517 fi
8518
8519 if test -n "$ac_tool_prefix"; then
8520 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8521 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8523 printf %s "checking for $ac_word... " >&6; }
8524 if test ${ac_cv_prog_OTOOL64+y}
8525 then :
8526 printf %s "(cached) " >&6
8527 else case e in #(
8528 e) if test -n "$OTOOL64"; then
8529 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8530 else
8531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8532 for as_dir in $PATH
8533 do
8534 IFS=$as_save_IFS
8535 case $as_dir in #(((
8536 '') as_dir=./ ;;
8537 */) ;;
8538 *) as_dir=$as_dir/ ;;
8539 esac
8540 for ac_exec_ext in '' $ac_executable_extensions; do
8541 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8542 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8544 break 2
8545 fi
8546 done
8547 done
8548 IFS=$as_save_IFS
8549
8550 fi ;;
8551 esac
8552 fi
8553 OTOOL64=$ac_cv_prog_OTOOL64
8554 if test -n "$OTOOL64"; then
8555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8556 printf "%s\n" "$OTOOL64" >&6; }
8557 else
8558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8559 printf "%s\n" "no" >&6; }
8560 fi
8561
8562
8563 fi
8564 if test -z "$ac_cv_prog_OTOOL64"; then
8565 ac_ct_OTOOL64=$OTOOL64
8566 # Extract the first word of "otool64", so it can be a program name with args.
8567 set dummy otool64; ac_word=$2
8568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8569 printf %s "checking for $ac_word... " >&6; }
8570 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8571 then :
8572 printf %s "(cached) " >&6
8573 else case e in #(
8574 e) if test -n "$ac_ct_OTOOL64"; then
8575 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8576 else
8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8578 for as_dir in $PATH
8579 do
8580 IFS=$as_save_IFS
8581 case $as_dir in #(((
8582 '') as_dir=./ ;;
8583 */) ;;
8584 *) as_dir=$as_dir/ ;;
8585 esac
8586 for ac_exec_ext in '' $ac_executable_extensions; do
8587 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8588 ac_cv_prog_ac_ct_OTOOL64="otool64"
8589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8590 break 2
8591 fi
8592 done
8593 done
8594 IFS=$as_save_IFS
8595
8596 fi ;;
8597 esac
8598 fi
8599 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8600 if test -n "$ac_ct_OTOOL64"; then
8601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8602 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8603 else
8604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8605 printf "%s\n" "no" >&6; }
8606 fi
8607
8608 if test "x$ac_ct_OTOOL64" = x; then
8609 OTOOL64=":"
8610 else
8611 case $cross_compiling:$ac_tool_warned in
8612 yes:)
8613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8614 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8615 ac_tool_warned=yes ;;
8616 esac
8617 OTOOL64=$ac_ct_OTOOL64
8618 fi
8619 else
8620 OTOOL64="$ac_cv_prog_OTOOL64"
8621 fi
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8650 printf %s "checking for -single_module linker flag... " >&6; }
8651 if test ${lt_cv_apple_cc_single_mod+y}
8652 then :
8653 printf %s "(cached) " >&6
8654 else case e in #(
8655 e) lt_cv_apple_cc_single_mod=no
8656 if test -z "$LT_MULTI_MODULE"; then
8657 # By default we will add the -single_module flag. You can override
8658 # by either setting the environment variable LT_MULTI_MODULE
8659 # non-empty at configure time, or by adding -multi_module to the
8660 # link flags.
8661 rm -rf libconftest.dylib*
8662 echo "int foo(void){return 1;}" > conftest.c
8663 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8664 -dynamiclib -Wl,-single_module conftest.c" >&5
8665 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8666 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8667 _lt_result=$?
8668 # If there is a non-empty error log, and "single_module"
8669 # appears in it, assume the flag caused a linker warning
8670 if test -s conftest.err && $GREP single_module conftest.err; then
8671 cat conftest.err >&5
8672 # Otherwise, if the output was created with a 0 exit code from
8673 # the compiler, it worked.
8674 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8675 lt_cv_apple_cc_single_mod=yes
8676 else
8677 cat conftest.err >&5
8678 fi
8679 rm -rf libconftest.dylib*
8680 rm -f conftest.*
8681 fi ;;
8682 esac
8683 fi
8684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8685 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8686
8687 # Feature test to disable chained fixups since it is not
8688 # compatible with '-undefined dynamic_lookup'
8689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
8690 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
8691 if test ${lt_cv_support_no_fixup_chains+y}
8692 then :
8693 printf %s "(cached) " >&6
8694 else case e in #(
8695 e) save_LDFLAGS=$LDFLAGS
8696 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8698 /* end confdefs.h. */
8699
8700 int
8701 main (void)
8702 {
8703
8704 ;
8705 return 0;
8706 }
8707 _ACEOF
8708 if ac_fn_c_try_link "$LINENO"
8709 then :
8710 lt_cv_support_no_fixup_chains=yes
8711 else case e in #(
8712 e) lt_cv_support_no_fixup_chains=no
8713 ;;
8714 esac
8715 fi
8716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8717 conftest$ac_exeext conftest.$ac_ext
8718 LDFLAGS=$save_LDFLAGS
8719
8720 ;;
8721 esac
8722 fi
8723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
8724 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
8725
8726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8727 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8728 if test ${lt_cv_ld_exported_symbols_list+y}
8729 then :
8730 printf %s "(cached) " >&6
8731 else case e in #(
8732 e) lt_cv_ld_exported_symbols_list=no
8733 save_LDFLAGS=$LDFLAGS
8734 echo "_main" > conftest.sym
8735 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8738
8739 int
8740 main (void)
8741 {
8742
8743 ;
8744 return 0;
8745 }
8746 _ACEOF
8747 if ac_fn_c_try_link "$LINENO"
8748 then :
8749 lt_cv_ld_exported_symbols_list=yes
8750 else case e in #(
8751 e) lt_cv_ld_exported_symbols_list=no ;;
8752 esac
8753 fi
8754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8755 conftest$ac_exeext conftest.$ac_ext
8756 LDFLAGS=$save_LDFLAGS
8757 ;;
8758 esac
8759 fi
8760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8761 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8762
8763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8764 printf %s "checking for -force_load linker flag... " >&6; }
8765 if test ${lt_cv_ld_force_load+y}
8766 then :
8767 printf %s "(cached) " >&6
8768 else case e in #(
8769 e) lt_cv_ld_force_load=no
8770 cat > conftest.c << _LT_EOF
8771 int forced_loaded() { return 2;}
8772 _LT_EOF
8773 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8774 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8775 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8776 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8777 echo "$RANLIB libconftest.a" >&5
8778 $RANLIB libconftest.a 2>&5
8779 cat > conftest.c << _LT_EOF
8780 int main(void) { return 0;}
8781 _LT_EOF
8782 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8783 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8784 _lt_result=$?
8785 if test -s conftest.err && $GREP force_load conftest.err; then
8786 cat conftest.err >&5
8787 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8788 lt_cv_ld_force_load=yes
8789 else
8790 cat conftest.err >&5
8791 fi
8792 rm -f conftest.err libconftest.a conftest conftest.c
8793 rm -rf conftest.dSYM
8794 ;;
8795 esac
8796 fi
8797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8798 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8799 case $host_os in
8800 rhapsody* | darwin1.[012])
8801 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8802 darwin1.*)
8803 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8804 darwin*)
8805 case $MACOSX_DEPLOYMENT_TARGET,$host in
8806 10.[012],*|,*powerpc*-darwin[5-8]*)
8807 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8808 *)
8809 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
8810 if test yes = "$lt_cv_support_no_fixup_chains"; then
8811 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
8812 fi
8813 ;;
8814 esac
8815 ;;
8816 esac
8817 if test yes = "$lt_cv_apple_cc_single_mod"; then
8818 _lt_dar_single_mod='$single_module'
8819 fi
8820 _lt_dar_needs_single_mod=no
8821 case $host_os in
8822 rhapsody* | darwin1.*)
8823 _lt_dar_needs_single_mod=yes ;;
8824 darwin*)
8825 # When targeting Mac OS X 10.4 (darwin 8) or later,
8826 # -single_module is the default and -multi_module is unsupported.
8827 # The toolchain on macOS 10.14 (darwin 18) and later cannot
8828 # target any OS version that needs -single_module.
8829 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8830 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
8831 _lt_dar_needs_single_mod=yes ;;
8832 esac
8833 ;;
8834 esac
8835 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8836 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8837 else
8838 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8839 fi
8840 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8841 _lt_dsymutil='~$DSYMUTIL $lib || :'
8842 else
8843 _lt_dsymutil=
8844 fi
8845 ;;
8846 esac
8847
8848 # func_munge_path_list VARIABLE PATH
8849 # -----------------------------------
8850 # VARIABLE is name of variable containing _space_ separated list of
8851 # directories to be munged by the contents of PATH, which is string
8852 # having a format:
8853 # "DIR[:DIR]:"
8854 # string "DIR[ DIR]" will be prepended to VARIABLE
8855 # ":DIR[:DIR]"
8856 # string "DIR[ DIR]" will be appended to VARIABLE
8857 # "DIRP[:DIRP]::[DIRA:]DIRA"
8858 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8859 # "DIRA[ DIRA]" will be appended to VARIABLE
8860 # "DIR[:DIR]"
8861 # VARIABLE will be replaced by "DIR[ DIR]"
8862 func_munge_path_list ()
8863 {
8864 case x$2 in
8865 x)
8866 ;;
8867 *:)
8868 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8869 ;;
8870 x:*)
8871 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8872 ;;
8873 *::*)
8874 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8875 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8876 ;;
8877 *)
8878 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8879 ;;
8880 esac
8881 }
8882
8883 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8884 "
8885 if test "x$ac_cv_header_dlfcn_h" = xyes
8886 then :
8887 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8888
8889 fi
8890
8891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
8892 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
8893 if test ${ac_cv_c_undeclared_builtin_options+y}
8894 then :
8895 printf %s "(cached) " >&6
8896 else case e in #(
8897 e) ac_save_CFLAGS=$CFLAGS
8898 ac_cv_c_undeclared_builtin_options='cannot detect'
8899 for ac_arg in '' -fno-builtin; do
8900 CFLAGS="$ac_save_CFLAGS $ac_arg"
8901 # This test program should *not* compile successfully.
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8904
8905 int
8906 main (void)
8907 {
8908 (void) strchr;
8909 ;
8910 return 0;
8911 }
8912 _ACEOF
8913 if ac_fn_c_try_compile "$LINENO"
8914 then :
8915
8916 else case e in #(
8917 e) # This test program should compile successfully.
8918 # No library function is consistently available on
8919 # freestanding implementations, so test against a dummy
8920 # declaration. Include always-available headers on the
8921 # off chance that they somehow elicit warnings.
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8924 #include <float.h>
8925 #include <limits.h>
8926 #include <stdarg.h>
8927 #include <stddef.h>
8928 extern void ac_decl (int, char *);
8929
8930 int
8931 main (void)
8932 {
8933 (void) ac_decl (0, (char *) 0);
8934 (void) ac_decl;
8935
8936 ;
8937 return 0;
8938 }
8939 _ACEOF
8940 if ac_fn_c_try_compile "$LINENO"
8941 then :
8942 if test x"$ac_arg" = x
8943 then :
8944 ac_cv_c_undeclared_builtin_options='none needed'
8945 else case e in #(
8946 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
8947 esac
8948 fi
8949 break
8950 fi
8951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
8952 esac
8953 fi
8954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8955 done
8956 CFLAGS=$ac_save_CFLAGS
8957 ;;
8958 esac
8959 fi
8960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
8961 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
8962 case $ac_cv_c_undeclared_builtin_options in #(
8963 'cannot detect') :
8964 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
8965 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
8966 as_fn_error $? "cannot make $CC report undeclared builtins
8967 See 'config.log' for more details" "$LINENO" 5; } ;; #(
8968 'none needed') :
8969 ac_c_undeclared_builtin_options='' ;; #(
8970 *) :
8971 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
8972 esac
8973
8974 echo 'tldbg:KPSE_COMMON called (pkg=musixtnt, amopt=)' >&5
8975 echo 'tldbg:KPSE_BASIC called (pkg=musixtnt, amopt=)' >&5
8976
8977 #
8978 # am_init_automake
8979 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8980 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8981 # is not polluted with repeated "-I."
8982 am__isrc=' -I$(srcdir)'
8983 # test to see if srcdir already configured
8984 if test -f $srcdir/config.status; then
8985 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8986 fi
8987 fi
8988
8989 # test whether we have cygpath
8990 if test -z "$CYGPATH_W"; then
8991 if (cygpath --version) >/dev/null 2>/dev/null; then
8992 CYGPATH_W='cygpath -w'
8993 else
8994 CYGPATH_W=echo
8995 fi
8996 fi
8997
8998
8999 # Define the identity of the package.
9000 PACKAGE='musixtnt--tex-live-'
9001 VERSION='2016-01-30'
9002
9003
9004 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
9005
9006
9007 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
9008
9009 # Some tools Automake needs.
9010
9011 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9012
9013
9014 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9015
9016
9017 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9018
9019
9020 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9021
9022
9023 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9024
9025 # For better backward compatibility. To be removed once Automake 1.9.x
9026 # dies out for good. For more background, see:
9027 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9028 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9029 mkdir_p='$(MKDIR_P)'
9030
9031 # We need awk for the "check" target (and possibly the TAP driver). The
9032 # system "awk" is bad on some platforms.
9033 # Always define AMTAR for backward compatibility. Yes, it's still used
9034 # in the wild :-( We should find a proper way to deprecate it ...
9035 AMTAR='$${TAR-tar}'
9036
9037
9038 # We'll loop over all known methods to create a tar archive until one works.
9039 _am_tools='gnutar plaintar pax cpio none'
9040
9041 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
9042 # There is notably a 21 bits limit for the UID and the GID. In fact,
9043 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
9044 # and bug#13588).
9045 am_max_uid=2097151 # 2^21 - 1
9046 am_max_gid=$am_max_uid
9047 # The $UID and $GID variables are not portable, so we need to resort
9048 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
9049 # below are definitely unexpected, so allow the users to see them
9050 # (that is, avoid stderr redirection).
9051 am_uid=`id -u || echo unknown`
9052 am_gid=`id -g || echo unknown`
9053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
9054 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
9055 if test x$am_uid = xunknown; then
9056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
9057 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
9058 elif test $am_uid -le $am_max_uid; then
9059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9060 printf "%s\n" "yes" >&6; }
9061 else
9062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9063 printf "%s\n" "no" >&6; }
9064 _am_tools=none
9065 fi
9066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
9067 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
9068 if test x$gm_gid = xunknown; then
9069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
9070 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
9071 elif test $am_gid -le $am_max_gid; then
9072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9073 printf "%s\n" "yes" >&6; }
9074 else
9075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9076 printf "%s\n" "no" >&6; }
9077 _am_tools=none
9078 fi
9079
9080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
9081 printf %s "checking how to create a ustar tar archive... " >&6; }
9082
9083 # Go ahead even if we have the value already cached. We do so because we
9084 # need to set the values for the 'am__tar' and 'am__untar' variables.
9085 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
9086
9087 for _am_tool in $_am_tools; do
9088 case $_am_tool in
9089 gnutar)
9090 for _am_tar in tar gnutar gtar; do
9091 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9092 ($_am_tar --version) >&5 2>&5
9093 ac_status=$?
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); } && break
9096 done
9097 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
9098 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
9099 am__untar="$_am_tar -xf -"
9100 ;;
9101 plaintar)
9102 # Must skip GNU tar: if it does not support --format= it doesn't create
9103 # ustar tarball either.
9104 (tar --version) >/dev/null 2>&1 && continue
9105 am__tar='tar chf - "$$tardir"'
9106 am__tar_='tar chf - "$tardir"'
9107 am__untar='tar xf -'
9108 ;;
9109 pax)
9110 am__tar='pax -L -x ustar -w "$$tardir"'
9111 am__tar_='pax -L -x ustar -w "$tardir"'
9112 am__untar='pax -r'
9113 ;;
9114 cpio)
9115 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
9116 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
9117 am__untar='cpio -i -H ustar -d'
9118 ;;
9119 none)
9120 am__tar=false
9121 am__tar_=false
9122 am__untar=false
9123 ;;
9124 esac
9125
9126 # If the value was cached, stop now. We just wanted to have am__tar
9127 # and am__untar set.
9128 test -n "${am_cv_prog_tar_ustar}" && break
9129
9130 # tar/untar a dummy directory, and stop if the command works.
9131 rm -rf conftest.dir
9132 mkdir conftest.dir
9133 echo GrepMe > conftest.dir/file
9134 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9135 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
9136 ac_status=$?
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }
9139 rm -rf conftest.dir
9140 if test -s conftest.tar; then
9141 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9142 ($am__untar <conftest.tar) >&5 2>&5
9143 ac_status=$?
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); }
9146 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9147 (cat conftest.dir/file) >&5 2>&5
9148 ac_status=$?
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }
9151 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9152 fi
9153 done
9154 rm -rf conftest.dir
9155
9156 if test ${am_cv_prog_tar_ustar+y}
9157 then :
9158 printf %s "(cached) " >&6
9159 else case e in #(
9160 e) am_cv_prog_tar_ustar=$_am_tool ;;
9161 esac
9162 fi
9163
9164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
9165 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
9166
9167
9168
9169
9170
9171 # Variables for tags utilities; see am/tags.am
9172 if test -z "$CTAGS"; then
9173 CTAGS=ctags
9174 fi
9175
9176 if test -z "$ETAGS"; then
9177 ETAGS=etags
9178 fi
9179
9180 if test -z "$CSCOPE"; then
9181 CSCOPE=cscope
9182 fi
9183
9184
9185
9186
9187
9188
9189
9190
9191 # am_maintainer_mode
9192
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9194 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9195 # Check whether --enable-maintainer-mode was given.
9196 if test ${enable_maintainer_mode+y}
9197 then :
9198 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9199 else case e in #(
9200 e) USE_MAINTAINER_MODE=no ;;
9201 esac
9202 fi
9203
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9205 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
9206 if test $USE_MAINTAINER_MODE = yes; then
9207 MAINTAINER_MODE_TRUE=
9208 MAINTAINER_MODE_FALSE='#'
9209 else
9210 MAINTAINER_MODE_TRUE='#'
9211 MAINTAINER_MODE_FALSE=
9212 fi
9213
9214 MAINT=$MAINTAINER_MODE_TRUE
9215
9216
9217
9218 # See comments in kpse-setup.m4 about system extensions.
9219
9220
9221 # Check whether prototypes work.
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9223 printf %s "checking whether the compiler accepts prototypes... " >&6; }
9224 if test ${kb_cv_c_prototypes+y}
9225 then :
9226 printf %s "(cached) " >&6
9227 else case e in #(
9228 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9230 #include <stdarg.h>
9231 int
9232 main (void)
9233 {
9234 extern void foo(int i,...);
9235 ;
9236 return 0;
9237 }
9238 _ACEOF
9239 if ac_fn_c_try_link "$LINENO"
9240 then :
9241 kb_cv_c_prototypes=yes
9242 else case e in #(
9243 e) kb_cv_c_prototypes=no ;;
9244 esac
9245 fi
9246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9247 conftest$ac_exeext conftest.$ac_ext ;;
9248 esac
9249 fi
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9251 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
9252 if test "x$kb_cv_c_prototypes" = xno; then
9253 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
9254 fi
9255
9256 # kpse_compiler_warnings options.
9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9258 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
9259 if test ${kpse_cv_warning_cflags+y}
9260 then :
9261 printf %s "(cached) " >&6
9262 else case e in #(
9263 e) if test "x$GCC" = xyes; then
9264 kpse_cv_warning_cflags=
9265 if test "x$enable_compiler_warnings" != xno; then
9266 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
9267 case `$CC -dumpversion` in #(
9268 3.4.* | 4.* | 5.*) :
9269 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9270 *) :
9271 ;;
9272 esac
9273 case `$CC -dumpversion` in #(
9274 3.[234].* | 4.* | 5.*) :
9275 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9276 *) :
9277 ;;
9278 esac
9279 if test "x$enable_compiler_warnings" != xmin; then
9280 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
9281 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9282 if test "x$enable_compiler_warnings" != xyes; then
9283 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9284 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9285 case `$CC -dumpversion` in #(
9286 3.4.* | 4.* | 5.*) :
9287 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9288 *) :
9289 ;;
9290 esac
9291 if test "x$enable_compiler_warnings" != xmax; then
9292 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
9293 fi
9294 fi
9295 fi
9296 fi
9297 elif test "x$enable_compiler_warnings" = xno; then
9298 kpse_cv_warning_cflags=
9299 else
9300 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
9301 fi ;;
9302 esac
9303 fi
9304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9305 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
9306 WARNING_CFLAGS=$kpse_cv_warning_cflags
9307
9308
9309
9310
9311
9312
9313
9314 # end of kpse_basic macro.
9315 echo 'tldbg:KPSE_BASIC done (pkg=musixtnt, amopt=)' >&5
9316
9317 # am_prog_ar must be called before lt_init.
9318
9319 if test -n "$ac_tool_prefix"; then
9320 for ac_prog in ar lib "link -lib"
9321 do
9322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9325 printf %s "checking for $ac_word... " >&6; }
9326 if test ${ac_cv_prog_AR+y}
9327 then :
9328 printf %s "(cached) " >&6
9329 else case e in #(
9330 e) if test -n "$AR"; then
9331 ac_cv_prog_AR="$AR" # Let the user override the test.
9332 else
9333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9334 for as_dir in $PATH
9335 do
9336 IFS=$as_save_IFS
9337 case $as_dir in #(((
9338 '') as_dir=./ ;;
9339 */) ;;
9340 *) as_dir=$as_dir/ ;;
9341 esac
9342 for ac_exec_ext in '' $ac_executable_extensions; do
9343 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9344 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9346 break 2
9347 fi
9348 done
9349 done
9350 IFS=$as_save_IFS
9351
9352 fi ;;
9353 esac
9354 fi
9355 AR=$ac_cv_prog_AR
9356 if test -n "$AR"; then
9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9358 printf "%s\n" "$AR" >&6; }
9359 else
9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9361 printf "%s\n" "no" >&6; }
9362 fi
9363
9364
9365 test -n "$AR" && break
9366 done
9367 fi
9368 if test -z "$AR"; then
9369 ac_ct_AR=$AR
9370 for ac_prog in ar lib "link -lib"
9371 do
9372 # Extract the first word of "$ac_prog", so it can be a program name with args.
9373 set dummy $ac_prog; ac_word=$2
9374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9375 printf %s "checking for $ac_word... " >&6; }
9376 if test ${ac_cv_prog_ac_ct_AR+y}
9377 then :
9378 printf %s "(cached) " >&6
9379 else case e in #(
9380 e) if test -n "$ac_ct_AR"; then
9381 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9382 else
9383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9384 for as_dir in $PATH
9385 do
9386 IFS=$as_save_IFS
9387 case $as_dir in #(((
9388 '') as_dir=./ ;;
9389 */) ;;
9390 *) as_dir=$as_dir/ ;;
9391 esac
9392 for ac_exec_ext in '' $ac_executable_extensions; do
9393 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9394 ac_cv_prog_ac_ct_AR="$ac_prog"
9395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9396 break 2
9397 fi
9398 done
9399 done
9400 IFS=$as_save_IFS
9401
9402 fi ;;
9403 esac
9404 fi
9405 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9406 if test -n "$ac_ct_AR"; then
9407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9408 printf "%s\n" "$ac_ct_AR" >&6; }
9409 else
9410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9411 printf "%s\n" "no" >&6; }
9412 fi
9413
9414
9415 test -n "$ac_ct_AR" && break
9416 done
9417
9418 if test "x$ac_ct_AR" = x; then
9419 AR="false"
9420 else
9421 case $cross_compiling:$ac_tool_warned in
9422 yes:)
9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9424 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9425 ac_tool_warned=yes ;;
9426 esac
9427 AR=$ac_ct_AR
9428 fi
9429 fi
9430
9431 : ${AR=ar}
9432 : ${ARFLAGS=cr}
9433
9434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
9435 printf %s "checking the archiver ($AR) interface... " >&6; }
9436 if test ${am_cv_ar_interface+y}
9437 then :
9438 printf %s "(cached) " >&6
9439 else case e in #(
9440 e) ac_ext=c
9441 ac_cpp='$CPP $CPPFLAGS'
9442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9445
9446 am_cv_ar_interface=ar
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9449 int some_variable = 0;
9450 _ACEOF
9451 if ac_fn_c_try_compile "$LINENO"
9452 then :
9453 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
9454 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9455 (eval $am_ar_try) 2>&5
9456 ac_status=$?
9457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9458 test $ac_status = 0; }
9459 if test "$ac_status" -eq 0; then
9460 am_cv_ar_interface=ar
9461 else
9462 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
9463 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9464 (eval $am_ar_try) 2>&5
9465 ac_status=$?
9466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9467 test $ac_status = 0; }
9468 if test "$ac_status" -eq 0; then
9469 am_cv_ar_interface=lib
9470 else
9471 am_cv_ar_interface=unknown
9472 fi
9473 fi
9474 rm -f conftest.lib libconftest.a
9475
9476 fi
9477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9478 ac_ext=c
9479 ac_cpp='$CPP $CPPFLAGS'
9480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9483 ;;
9484 esac
9485 fi
9486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
9487 printf "%s\n" "$am_cv_ar_interface" >&6; }
9488
9489 case $am_cv_ar_interface in
9490 ar)
9491 ;;
9492 lib)
9493 # Microsoft lib, so override with the ar-lib wrapper script.
9494 # FIXME: It is wrong to rewrite AR.
9495 # But if we don't then we get into trouble of one sort or another.
9496 # A longer-term fix would be to have automake use am__AR in this case,
9497 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9498 # similar.
9499 AR="$am_aux_dir/ar-lib $AR"
9500 ;;
9501 unknown)
9502 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
9503 ;;
9504 esac
9505
9506 # (end am_prog_ar)
9507 # starting lt_prereq + lt_init.
9508
9509
9510
9511
9512
9513 # Set options
9514 enable_win32_dll=yes
9515
9516 case $host in
9517 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
9518 if test -n "$ac_tool_prefix"; then
9519 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9520 set dummy ${ac_tool_prefix}as; ac_word=$2
9521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9522 printf %s "checking for $ac_word... " >&6; }
9523 if test ${ac_cv_prog_AS+y}
9524 then :
9525 printf %s "(cached) " >&6
9526 else case e in #(
9527 e) if test -n "$AS"; then
9528 ac_cv_prog_AS="$AS" # Let the user override the test.
9529 else
9530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9531 for as_dir in $PATH
9532 do
9533 IFS=$as_save_IFS
9534 case $as_dir in #(((
9535 '') as_dir=./ ;;
9536 */) ;;
9537 *) as_dir=$as_dir/ ;;
9538 esac
9539 for ac_exec_ext in '' $ac_executable_extensions; do
9540 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9541 ac_cv_prog_AS="${ac_tool_prefix}as"
9542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9543 break 2
9544 fi
9545 done
9546 done
9547 IFS=$as_save_IFS
9548
9549 fi ;;
9550 esac
9551 fi
9552 AS=$ac_cv_prog_AS
9553 if test -n "$AS"; then
9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9555 printf "%s\n" "$AS" >&6; }
9556 else
9557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558 printf "%s\n" "no" >&6; }
9559 fi
9560
9561
9562 fi
9563 if test -z "$ac_cv_prog_AS"; then
9564 ac_ct_AS=$AS
9565 # Extract the first word of "as", so it can be a program name with args.
9566 set dummy as; ac_word=$2
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9568 printf %s "checking for $ac_word... " >&6; }
9569 if test ${ac_cv_prog_ac_ct_AS+y}
9570 then :
9571 printf %s "(cached) " >&6
9572 else case e in #(
9573 e) if test -n "$ac_ct_AS"; then
9574 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9575 else
9576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9577 for as_dir in $PATH
9578 do
9579 IFS=$as_save_IFS
9580 case $as_dir in #(((
9581 '') as_dir=./ ;;
9582 */) ;;
9583 *) as_dir=$as_dir/ ;;
9584 esac
9585 for ac_exec_ext in '' $ac_executable_extensions; do
9586 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9587 ac_cv_prog_ac_ct_AS="as"
9588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9589 break 2
9590 fi
9591 done
9592 done
9593 IFS=$as_save_IFS
9594
9595 fi ;;
9596 esac
9597 fi
9598 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9599 if test -n "$ac_ct_AS"; then
9600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9601 printf "%s\n" "$ac_ct_AS" >&6; }
9602 else
9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9604 printf "%s\n" "no" >&6; }
9605 fi
9606
9607 if test "x$ac_ct_AS" = x; then
9608 AS="false"
9609 else
9610 case $cross_compiling:$ac_tool_warned in
9611 yes:)
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9613 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9614 ac_tool_warned=yes ;;
9615 esac
9616 AS=$ac_ct_AS
9617 fi
9618 else
9619 AS="$ac_cv_prog_AS"
9620 fi
9621
9622 if test -n "$ac_tool_prefix"; then
9623 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9624 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9626 printf %s "checking for $ac_word... " >&6; }
9627 if test ${ac_cv_prog_DLLTOOL+y}
9628 then :
9629 printf %s "(cached) " >&6
9630 else case e in #(
9631 e) if test -n "$DLLTOOL"; then
9632 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9633 else
9634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9635 for as_dir in $PATH
9636 do
9637 IFS=$as_save_IFS
9638 case $as_dir in #(((
9639 '') as_dir=./ ;;
9640 */) ;;
9641 *) as_dir=$as_dir/ ;;
9642 esac
9643 for ac_exec_ext in '' $ac_executable_extensions; do
9644 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9645 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9647 break 2
9648 fi
9649 done
9650 done
9651 IFS=$as_save_IFS
9652
9653 fi ;;
9654 esac
9655 fi
9656 DLLTOOL=$ac_cv_prog_DLLTOOL
9657 if test -n "$DLLTOOL"; then
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9659 printf "%s\n" "$DLLTOOL" >&6; }
9660 else
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 printf "%s\n" "no" >&6; }
9663 fi
9664
9665
9666 fi
9667 if test -z "$ac_cv_prog_DLLTOOL"; then
9668 ac_ct_DLLTOOL=$DLLTOOL
9669 # Extract the first word of "dlltool", so it can be a program name with args.
9670 set dummy dlltool; ac_word=$2
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9672 printf %s "checking for $ac_word... " >&6; }
9673 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9674 then :
9675 printf %s "(cached) " >&6
9676 else case e in #(
9677 e) if test -n "$ac_ct_DLLTOOL"; then
9678 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9679 else
9680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9681 for as_dir in $PATH
9682 do
9683 IFS=$as_save_IFS
9684 case $as_dir in #(((
9685 '') as_dir=./ ;;
9686 */) ;;
9687 *) as_dir=$as_dir/ ;;
9688 esac
9689 for ac_exec_ext in '' $ac_executable_extensions; do
9690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9691 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9693 break 2
9694 fi
9695 done
9696 done
9697 IFS=$as_save_IFS
9698
9699 fi ;;
9700 esac
9701 fi
9702 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9703 if test -n "$ac_ct_DLLTOOL"; then
9704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9705 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9706 else
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9708 printf "%s\n" "no" >&6; }
9709 fi
9710
9711 if test "x$ac_ct_DLLTOOL" = x; then
9712 DLLTOOL="false"
9713 else
9714 case $cross_compiling:$ac_tool_warned in
9715 yes:)
9716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9717 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9718 ac_tool_warned=yes ;;
9719 esac
9720 DLLTOOL=$ac_ct_DLLTOOL
9721 fi
9722 else
9723 DLLTOOL="$ac_cv_prog_DLLTOOL"
9724 fi
9725
9726 if test -n "$ac_tool_prefix"; then
9727 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9728 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9730 printf %s "checking for $ac_word... " >&6; }
9731 if test ${ac_cv_prog_OBJDUMP+y}
9732 then :
9733 printf %s "(cached) " >&6
9734 else case e in #(
9735 e) if test -n "$OBJDUMP"; then
9736 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9737 else
9738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9739 for as_dir in $PATH
9740 do
9741 IFS=$as_save_IFS
9742 case $as_dir in #(((
9743 '') as_dir=./ ;;
9744 */) ;;
9745 *) as_dir=$as_dir/ ;;
9746 esac
9747 for ac_exec_ext in '' $ac_executable_extensions; do
9748 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9749 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9751 break 2
9752 fi
9753 done
9754 done
9755 IFS=$as_save_IFS
9756
9757 fi ;;
9758 esac
9759 fi
9760 OBJDUMP=$ac_cv_prog_OBJDUMP
9761 if test -n "$OBJDUMP"; then
9762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9763 printf "%s\n" "$OBJDUMP" >&6; }
9764 else
9765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9766 printf "%s\n" "no" >&6; }
9767 fi
9768
9769
9770 fi
9771 if test -z "$ac_cv_prog_OBJDUMP"; then
9772 ac_ct_OBJDUMP=$OBJDUMP
9773 # Extract the first word of "objdump", so it can be a program name with args.
9774 set dummy objdump; ac_word=$2
9775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9776 printf %s "checking for $ac_word... " >&6; }
9777 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9778 then :
9779 printf %s "(cached) " >&6
9780 else case e in #(
9781 e) if test -n "$ac_ct_OBJDUMP"; then
9782 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9783 else
9784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9785 for as_dir in $PATH
9786 do
9787 IFS=$as_save_IFS
9788 case $as_dir in #(((
9789 '') as_dir=./ ;;
9790 */) ;;
9791 *) as_dir=$as_dir/ ;;
9792 esac
9793 for ac_exec_ext in '' $ac_executable_extensions; do
9794 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9795 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9797 break 2
9798 fi
9799 done
9800 done
9801 IFS=$as_save_IFS
9802
9803 fi ;;
9804 esac
9805 fi
9806 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9807 if test -n "$ac_ct_OBJDUMP"; then
9808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9809 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
9810 else
9811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9812 printf "%s\n" "no" >&6; }
9813 fi
9814
9815 if test "x$ac_ct_OBJDUMP" = x; then
9816 OBJDUMP="false"
9817 else
9818 case $cross_compiling:$ac_tool_warned in
9819 yes:)
9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9821 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9822 ac_tool_warned=yes ;;
9823 esac
9824 OBJDUMP=$ac_ct_OBJDUMP
9825 fi
9826 else
9827 OBJDUMP="$ac_cv_prog_OBJDUMP"
9828 fi
9829
9830 ;;
9831 esac
9832
9833 test -z "$AS" && AS=as
9834
9835
9836
9837
9838
9839 test -z "$DLLTOOL" && DLLTOOL=dlltool
9840
9841
9842
9843
9844
9845 test -z "$OBJDUMP" && OBJDUMP=objdump
9846
9847
9848
9849
9850
9851
9852
9853 enable_dlopen=no
9854
9855
9856
9857 # Check whether --enable-shared was given.
9858 if test ${enable_shared+y}
9859 then :
9860 enableval=$enable_shared; p=${PACKAGE-default}
9861 case $enableval in
9862 yes) enable_shared=yes ;;
9863 no) enable_shared=no ;;
9864 *)
9865 enable_shared=no
9866 # Look at the argument we got. We use all the common list separators.
9867 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9868 for pkg in $enableval; do
9869 IFS=$lt_save_ifs
9870 if test "X$pkg" = "X$p"; then
9871 enable_shared=yes
9872 fi
9873 done
9874 IFS=$lt_save_ifs
9875 ;;
9876 esac
9877 else case e in #(
9878 e) enable_shared=yes ;;
9879 esac
9880 fi
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890 # Check whether --enable-static was given.
9891 if test ${enable_static+y}
9892 then :
9893 enableval=$enable_static; p=${PACKAGE-default}
9894 case $enableval in
9895 yes) enable_static=yes ;;
9896 no) enable_static=no ;;
9897 *)
9898 enable_static=no
9899 # Look at the argument we got. We use all the common list separators.
9900 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9901 for pkg in $enableval; do
9902 IFS=$lt_save_ifs
9903 if test "X$pkg" = "X$p"; then
9904 enable_static=yes
9905 fi
9906 done
9907 IFS=$lt_save_ifs
9908 ;;
9909 esac
9910 else case e in #(
9911 e) enable_static=yes ;;
9912 esac
9913 fi
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923 # Check whether --enable-pic was given.
9924 if test ${enable_pic+y}
9925 then :
9926 enableval=$enable_pic; lt_p=${PACKAGE-default}
9927 case $enableval in
9928 yes|no) pic_mode=$enableval ;;
9929 *)
9930 pic_mode=default
9931 # Look at the argument we got. We use all the common list separators.
9932 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9933 for lt_pkg in $enableval; do
9934 IFS=$lt_save_ifs
9935 if test "X$lt_pkg" = "X$lt_p"; then
9936 pic_mode=yes
9937 fi
9938 done
9939 IFS=$lt_save_ifs
9940 ;;
9941 esac
9942 else case e in #(
9943 e) # Check whether --with-pic was given.
9944 if test ${with_pic+y}
9945 then :
9946 withval=$with_pic; lt_p=${PACKAGE-default}
9947 case $withval in
9948 yes|no) pic_mode=$withval ;;
9949 *)
9950 pic_mode=default
9951 # Look at the argument we got. We use all the common list separators.
9952 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9953 for lt_pkg in $withval; do
9954 IFS=$lt_save_ifs
9955 if test "X$lt_pkg" = "X$lt_p"; then
9956 pic_mode=yes
9957 fi
9958 done
9959 IFS=$lt_save_ifs
9960 ;;
9961 esac
9962 else case e in #(
9963 e) pic_mode=default ;;
9964 esac
9965 fi
9966
9967 ;;
9968 esac
9969 fi
9970
9971
9972
9973
9974
9975
9976
9977
9978 # Check whether --enable-fast-install was given.
9979 if test ${enable_fast_install+y}
9980 then :
9981 enableval=$enable_fast_install; p=${PACKAGE-default}
9982 case $enableval in
9983 yes) enable_fast_install=yes ;;
9984 no) enable_fast_install=no ;;
9985 *)
9986 enable_fast_install=no
9987 # Look at the argument we got. We use all the common list separators.
9988 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9989 for pkg in $enableval; do
9990 IFS=$lt_save_ifs
9991 if test "X$pkg" = "X$p"; then
9992 enable_fast_install=yes
9993 fi
9994 done
9995 IFS=$lt_save_ifs
9996 ;;
9997 esac
9998 else case e in #(
9999 e) enable_fast_install=yes ;;
10000 esac
10001 fi
10002
10003
10004
10005
10006
10007
10008
10009
10010 shared_archive_member_spec=
10011 case $host,$enable_shared in
10012 power*-*-aix[5-9]*,yes)
10013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10014 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10015 # Check whether --enable-aix-soname was given.
10016 if test ${enable_aix_soname+y}
10017 then :
10018 enableval=$enable_aix_soname; case $enableval in
10019 aix|svr4|both)
10020 ;;
10021 *)
10022 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10023 ;;
10024 esac
10025 lt_cv_with_aix_soname=$enable_aix_soname
10026 else case e in #(
10027 e) # Check whether --with-aix-soname was given.
10028 if test ${with_aix_soname+y}
10029 then :
10030 withval=$with_aix_soname; case $withval in
10031 aix|svr4|both)
10032 ;;
10033 *)
10034 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10035 ;;
10036 esac
10037 lt_cv_with_aix_soname=$with_aix_soname
10038 else case e in #(
10039 e) if test ${lt_cv_with_aix_soname+y}
10040 then :
10041 printf %s "(cached) " >&6
10042 else case e in #(
10043 e) lt_cv_with_aix_soname=aix ;;
10044 esac
10045 fi
10046 ;;
10047 esac
10048 fi
10049
10050 enable_aix_soname=$lt_cv_with_aix_soname ;;
10051 esac
10052 fi
10053
10054 with_aix_soname=$enable_aix_soname
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10056 printf "%s\n" "$with_aix_soname" >&6; }
10057 if test aix != "$with_aix_soname"; then
10058 # For the AIX way of multilib, we name the shared archive member
10059 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10060 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10061 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10062 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10063 if test 64 = "${OBJECT_MODE-32}"; then
10064 shared_archive_member_spec=shr_64
10065 else
10066 shared_archive_member_spec=shr
10067 fi
10068 fi
10069 ;;
10070 *)
10071 with_aix_soname=aix
10072 ;;
10073 esac
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084 # This can be used to rebuild libtool when needed
10085 LIBTOOL_DEPS=$ltmain
10086
10087 # Always use our own libtool.
10088 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119 test -z "$LN_S" && LN_S="ln -s"
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134 if test -n "${ZSH_VERSION+set}"; then
10135 setopt NO_GLOB_SUBST
10136 fi
10137
10138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10139 printf %s "checking for objdir... " >&6; }
10140 if test ${lt_cv_objdir+y}
10141 then :
10142 printf %s "(cached) " >&6
10143 else case e in #(
10144 e) rm -f .libs 2>/dev/null
10145 mkdir .libs 2>/dev/null
10146 if test -d .libs; then
10147 lt_cv_objdir=.libs
10148 else
10149 # MS-DOS does not allow filenames that begin with a dot.
10150 lt_cv_objdir=_libs
10151 fi
10152 rmdir .libs 2>/dev/null ;;
10153 esac
10154 fi
10155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10156 printf "%s\n" "$lt_cv_objdir" >&6; }
10157 objdir=$lt_cv_objdir
10158
10159
10160
10161
10162
10163 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10164
10165
10166
10167
10168 case $host_os in
10169 aix3*)
10170 # AIX sometimes has problems with the GCC collect2 program. For some
10171 # reason, if we set the COLLECT_NAMES environment variable, the problems
10172 # vanish in a puff of smoke.
10173 if test set != "${COLLECT_NAMES+set}"; then
10174 COLLECT_NAMES=
10175 export COLLECT_NAMES
10176 fi
10177 ;;
10178 esac
10179
10180 # Global variables:
10181 ofile=libtool
10182 can_build_shared=yes
10183
10184 # All known linkers require a '.a' archive for static linking (except MSVC and
10185 # ICC, which need '.lib').
10186 libext=a
10187
10188 with_gnu_ld=$lt_cv_prog_gnu_ld
10189
10190 old_CC=$CC
10191 old_CFLAGS=$CFLAGS
10192
10193 # Set sane defaults for various variables
10194 test -z "$CC" && CC=cc
10195 test -z "$LTCC" && LTCC=$CC
10196 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10197 test -z "$LD" && LD=ld
10198 test -z "$ac_objext" && ac_objext=o
10199
10200 func_cc_basename $compiler
10201 cc_basename=$func_cc_basename_result
10202
10203
10204 # Only perform the check for file, if the check method requires it
10205 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10206 case $deplibs_check_method in
10207 file_magic*)
10208 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10210 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10211 if test ${lt_cv_path_MAGIC_CMD+y}
10212 then :
10213 printf %s "(cached) " >&6
10214 else case e in #(
10215 e) case $MAGIC_CMD in
10216 [\\/*] | ?:[\\/]*)
10217 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10218 ;;
10219 *)
10220 lt_save_MAGIC_CMD=$MAGIC_CMD
10221 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10222 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10223 for ac_dir in $ac_dummy; do
10224 IFS=$lt_save_ifs
10225 test -z "$ac_dir" && ac_dir=.
10226 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10227 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10228 if test -n "$file_magic_test_file"; then
10229 case $deplibs_check_method in
10230 "file_magic "*)
10231 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10232 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10233 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10234 $EGREP "$file_magic_regex" > /dev/null; then
10235 :
10236 else
10237 cat <<_LT_EOF 1>&2
10238
10239 *** Warning: the command libtool uses to detect shared libraries,
10240 *** $file_magic_cmd, produces output that libtool cannot recognize.
10241 *** The result is that libtool may fail to recognize shared libraries
10242 *** as such. This will affect the creation of libtool libraries that
10243 *** depend on shared libraries, but programs linked with such libtool
10244 *** libraries will work regardless of this problem. Nevertheless, you
10245 *** may want to report the problem to your system manager and/or to
10246 *** [email protected]
10247
10248 _LT_EOF
10249 fi ;;
10250 esac
10251 fi
10252 break
10253 fi
10254 done
10255 IFS=$lt_save_ifs
10256 MAGIC_CMD=$lt_save_MAGIC_CMD
10257 ;;
10258 esac ;;
10259 esac
10260 fi
10261
10262 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10263 if test -n "$MAGIC_CMD"; then
10264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10265 printf "%s\n" "$MAGIC_CMD" >&6; }
10266 else
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10268 printf "%s\n" "no" >&6; }
10269 fi
10270
10271
10272
10273
10274
10275 if test -z "$lt_cv_path_MAGIC_CMD"; then
10276 if test -n "$ac_tool_prefix"; then
10277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10278 printf %s "checking for file... " >&6; }
10279 if test ${lt_cv_path_MAGIC_CMD+y}
10280 then :
10281 printf %s "(cached) " >&6
10282 else case e in #(
10283 e) case $MAGIC_CMD in
10284 [\\/*] | ?:[\\/]*)
10285 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10286 ;;
10287 *)
10288 lt_save_MAGIC_CMD=$MAGIC_CMD
10289 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10291 for ac_dir in $ac_dummy; do
10292 IFS=$lt_save_ifs
10293 test -z "$ac_dir" && ac_dir=.
10294 if test -f "$ac_dir/file"; then
10295 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10296 if test -n "$file_magic_test_file"; then
10297 case $deplibs_check_method in
10298 "file_magic "*)
10299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10300 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10302 $EGREP "$file_magic_regex" > /dev/null; then
10303 :
10304 else
10305 cat <<_LT_EOF 1>&2
10306
10307 *** Warning: the command libtool uses to detect shared libraries,
10308 *** $file_magic_cmd, produces output that libtool cannot recognize.
10309 *** The result is that libtool may fail to recognize shared libraries
10310 *** as such. This will affect the creation of libtool libraries that
10311 *** depend on shared libraries, but programs linked with such libtool
10312 *** libraries will work regardless of this problem. Nevertheless, you
10313 *** may want to report the problem to your system manager and/or to
10314 *** [email protected]
10315
10316 _LT_EOF
10317 fi ;;
10318 esac
10319 fi
10320 break
10321 fi
10322 done
10323 IFS=$lt_save_ifs
10324 MAGIC_CMD=$lt_save_MAGIC_CMD
10325 ;;
10326 esac ;;
10327 esac
10328 fi
10329
10330 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10331 if test -n "$MAGIC_CMD"; then
10332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10333 printf "%s\n" "$MAGIC_CMD" >&6; }
10334 else
10335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10336 printf "%s\n" "no" >&6; }
10337 fi
10338
10339
10340 else
10341 MAGIC_CMD=:
10342 fi
10343 fi
10344
10345 fi
10346 ;;
10347 esac
10348
10349 # Use C for the default configuration in the libtool script
10350
10351 lt_save_CC=$CC
10352 ac_ext=c
10353 ac_cpp='$CPP $CPPFLAGS'
10354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10357
10358
10359 # Source file extension for C test sources.
10360 ac_ext=c
10361
10362 # Object file extension for compiled C test sources.
10363 objext=o
10364 objext=$objext
10365
10366 # Code to be used in simple compile tests
10367 lt_simple_compile_test_code="int some_variable = 0;"
10368
10369 # Code to be used in simple link tests
10370 lt_simple_link_test_code='int main(void){return(0);}'
10371
10372
10373
10374
10375
10376
10377
10378 # If no C compiler was specified, use CC.
10379 LTCC=${LTCC-"$CC"}
10380
10381 # If no C compiler flags were specified, use CFLAGS.
10382 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10383
10384 # Allow CC to be a program name with arguments.
10385 compiler=$CC
10386
10387 # Save the default compiler, since it gets overwritten when the other
10388 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10389 compiler_DEFAULT=$CC
10390
10391 # save warnings/boilerplate of simple test code
10392 ac_outfile=conftest.$ac_objext
10393 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10394 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10395 _lt_compiler_boilerplate=`cat conftest.err`
10396 $RM conftest*
10397
10398 ac_outfile=conftest.$ac_objext
10399 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10400 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10401 _lt_linker_boilerplate=`cat conftest.err`
10402 $RM -r conftest*
10403
10404
10405 ## CAVEAT EMPTOR:
10406 ## There is no encapsulation within the following macros, do not change
10407 ## the running order or otherwise move them around unless you know exactly
10408 ## what you are doing...
10409 if test -n "$compiler"; then
10410
10411 lt_prog_compiler_no_builtin_flag=
10412
10413 if test yes = "$GCC"; then
10414 case $cc_basename in
10415 nvcc*)
10416 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10417 *)
10418 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10419 esac
10420
10421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10422 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10423 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10424 then :
10425 printf %s "(cached) " >&6
10426 else case e in #(
10427 e) lt_cv_prog_compiler_rtti_exceptions=no
10428 ac_outfile=conftest.$ac_objext
10429 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10430 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10431 # Insert the option either (1) after the last *FLAGS variable, or
10432 # (2) before a word containing "conftest.", or (3) at the end.
10433 # Note that $ac_compile itself does not contain backslashes and begins
10434 # with a dollar sign (not a hyphen), so the echo should work correctly.
10435 # The option is referenced via a variable to avoid confusing sed.
10436 lt_compile=`echo "$ac_compile" | $SED \
10437 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10438 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10439 -e 's:$: $lt_compiler_flag:'`
10440 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10441 (eval "$lt_compile" 2>conftest.err)
10442 ac_status=$?
10443 cat conftest.err >&5
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 if (exit $ac_status) && test -s "$ac_outfile"; then
10446 # The compiler can only warn and ignore the option if not recognized
10447 # So say no if there are warnings other than the usual output.
10448 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10449 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10450 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10451 lt_cv_prog_compiler_rtti_exceptions=yes
10452 fi
10453 fi
10454 $RM conftest*
10455 ;;
10456 esac
10457 fi
10458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10459 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10460
10461 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10462 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10463 else
10464 :
10465 fi
10466
10467 fi
10468
10469
10470
10471
10472
10473
10474 lt_prog_compiler_wl=
10475 lt_prog_compiler_pic=
10476 lt_prog_compiler_static=
10477
10478
10479 if test yes = "$GCC"; then
10480 lt_prog_compiler_wl='-Wl,'
10481 lt_prog_compiler_static='-static'
10482
10483 case $host_os in
10484 aix*)
10485 # All AIX code is PIC.
10486 if test ia64 = "$host_cpu"; then
10487 # AIX 5 now supports IA64 processor
10488 lt_prog_compiler_static='-Bstatic'
10489 fi
10490 lt_prog_compiler_pic='-fPIC'
10491 ;;
10492
10493 amigaos*)
10494 case $host_cpu in
10495 powerpc)
10496 # see comment about AmigaOS4 .so support
10497 lt_prog_compiler_pic='-fPIC'
10498 ;;
10499 m68k)
10500 # FIXME: we need at least 68020 code to build shared libraries, but
10501 # adding the '-m68020' flag to GCC prevents building anything better,
10502 # like '-m68040'.
10503 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10504 ;;
10505 esac
10506 ;;
10507
10508 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10509 # PIC is the default for these OSes.
10510 ;;
10511
10512 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10513 # This hack is so that the source file can tell whether it is being
10514 # built for inclusion in a dll (and should export symbols for example).
10515 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10516 # (--disable-auto-import) libraries
10517 lt_prog_compiler_pic='-DDLL_EXPORT'
10518 case $host_os in
10519 os2*)
10520 lt_prog_compiler_static='$wl-static'
10521 ;;
10522 esac
10523 ;;
10524
10525 darwin* | rhapsody*)
10526 # PIC is the default on this platform
10527 # Common symbols not allowed in MH_DYLIB files
10528 lt_prog_compiler_pic='-fno-common'
10529 ;;
10530
10531 haiku*)
10532 # PIC is the default for Haiku.
10533 # The "-static" flag exists, but is broken.
10534 lt_prog_compiler_static=
10535 ;;
10536
10537 hpux*)
10538 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10539 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10540 # sets the default TLS model and affects inlining.
10541 case $host_cpu in
10542 hppa*64*)
10543 # +Z the default
10544 ;;
10545 *)
10546 lt_prog_compiler_pic='-fPIC'
10547 ;;
10548 esac
10549 ;;
10550
10551 interix[3-9]*)
10552 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10553 # Instead, we relocate shared libraries at runtime.
10554 ;;
10555
10556 msdosdjgpp*)
10557 # Just because we use GCC doesn't mean we suddenly get shared libraries
10558 # on systems that don't support them.
10559 lt_prog_compiler_can_build_shared=no
10560 enable_shared=no
10561 ;;
10562
10563 *nto* | *qnx*)
10564 # QNX uses GNU C++, but need to define -shared option too, otherwise
10565 # it will coredump.
10566 lt_prog_compiler_pic='-fPIC -shared'
10567 ;;
10568
10569 sysv4*MP*)
10570 if test -d /usr/nec; then
10571 lt_prog_compiler_pic=-Kconform_pic
10572 fi
10573 ;;
10574
10575 *)
10576 lt_prog_compiler_pic='-fPIC'
10577 ;;
10578 esac
10579
10580 case $cc_basename in
10581 nvcc*) # Cuda Compiler Driver 2.2
10582 lt_prog_compiler_wl='-Xlinker '
10583 if test -n "$lt_prog_compiler_pic"; then
10584 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10585 fi
10586 ;;
10587 esac
10588 else
10589 # PORTME Check for flag to pass linker flags through the system compiler.
10590 case $host_os in
10591 aix*)
10592 lt_prog_compiler_wl='-Wl,'
10593 if test ia64 = "$host_cpu"; then
10594 # AIX 5 now supports IA64 processor
10595 lt_prog_compiler_static='-Bstatic'
10596 else
10597 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10598 fi
10599 ;;
10600
10601 darwin* | rhapsody*)
10602 # PIC is the default on this platform
10603 # Common symbols not allowed in MH_DYLIB files
10604 lt_prog_compiler_pic='-fno-common'
10605 case $cc_basename in
10606 nagfor*)
10607 # NAG Fortran compiler
10608 lt_prog_compiler_wl='-Wl,-Wl,,'
10609 lt_prog_compiler_pic='-PIC'
10610 lt_prog_compiler_static='-Bstatic'
10611 ;;
10612 esac
10613 ;;
10614
10615 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10616 # This hack is so that the source file can tell whether it is being
10617 # built for inclusion in a dll (and should export symbols for example).
10618 lt_prog_compiler_pic='-DDLL_EXPORT'
10619 case $host_os in
10620 os2*)
10621 lt_prog_compiler_static='$wl-static'
10622 ;;
10623 esac
10624 ;;
10625
10626 hpux9* | hpux10* | hpux11*)
10627 lt_prog_compiler_wl='-Wl,'
10628 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10629 # not for PA HP-UX.
10630 case $host_cpu in
10631 hppa*64*|ia64*)
10632 # +Z the default
10633 ;;
10634 *)
10635 lt_prog_compiler_pic='+Z'
10636 ;;
10637 esac
10638 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10639 lt_prog_compiler_static='$wl-a ${wl}archive'
10640 ;;
10641
10642 irix5* | irix6* | nonstopux*)
10643 lt_prog_compiler_wl='-Wl,'
10644 # PIC (with -KPIC) is the default.
10645 lt_prog_compiler_static='-non_shared'
10646 ;;
10647
10648 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10649 case $cc_basename in
10650 # old Intel for x86_64, which still supported -KPIC.
10651 ecc*)
10652 lt_prog_compiler_wl='-Wl,'
10653 lt_prog_compiler_pic='-KPIC'
10654 lt_prog_compiler_static='-static'
10655 ;;
10656 *flang* | ftn | f18* | f95*)
10657 # Flang compiler.
10658 lt_prog_compiler_wl='-Wl,'
10659 lt_prog_compiler_pic='-fPIC'
10660 lt_prog_compiler_static='-static'
10661 ;;
10662 # icc used to be incompatible with GCC.
10663 # ICC 10 doesn't accept -KPIC any more.
10664 icc* | ifort*)
10665 lt_prog_compiler_wl='-Wl,'
10666 lt_prog_compiler_pic='-fPIC'
10667 lt_prog_compiler_static='-static'
10668 ;;
10669 # Lahey Fortran 8.1.
10670 lf95*)
10671 lt_prog_compiler_wl='-Wl,'
10672 lt_prog_compiler_pic='--shared'
10673 lt_prog_compiler_static='--static'
10674 ;;
10675 nagfor*)
10676 # NAG Fortran compiler
10677 lt_prog_compiler_wl='-Wl,-Wl,,'
10678 lt_prog_compiler_pic='-PIC'
10679 lt_prog_compiler_static='-Bstatic'
10680 ;;
10681 tcc*)
10682 # Fabrice Bellard et al's Tiny C Compiler
10683 lt_prog_compiler_wl='-Wl,'
10684 lt_prog_compiler_pic='-fPIC'
10685 lt_prog_compiler_static='-static'
10686 ;;
10687 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10688 # Portland Group compilers (*not* the Pentium gcc compiler,
10689 # which looks to be a dead project)
10690 lt_prog_compiler_wl='-Wl,'
10691 lt_prog_compiler_pic='-fpic'
10692 lt_prog_compiler_static='-Bstatic'
10693 ;;
10694 ccc*)
10695 lt_prog_compiler_wl='-Wl,'
10696 # All Alpha code is PIC.
10697 lt_prog_compiler_static='-non_shared'
10698 ;;
10699 xl* | bgxl* | bgf* | mpixl*)
10700 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10701 lt_prog_compiler_wl='-Wl,'
10702 lt_prog_compiler_pic='-qpic'
10703 lt_prog_compiler_static='-qstaticlink'
10704 ;;
10705 *)
10706 case `$CC -V 2>&1 | $SED 5q` in
10707 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10708 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10709 lt_prog_compiler_pic='-KPIC'
10710 lt_prog_compiler_static='-Bstatic'
10711 lt_prog_compiler_wl=''
10712 ;;
10713 *Sun\ F* | *Sun*Fortran*)
10714 lt_prog_compiler_pic='-KPIC'
10715 lt_prog_compiler_static='-Bstatic'
10716 lt_prog_compiler_wl='-Qoption ld '
10717 ;;
10718 *Sun\ C*)
10719 # Sun C 5.9
10720 lt_prog_compiler_pic='-KPIC'
10721 lt_prog_compiler_static='-Bstatic'
10722 lt_prog_compiler_wl='-Wl,'
10723 ;;
10724 *Intel*\ [CF]*Compiler*)
10725 lt_prog_compiler_wl='-Wl,'
10726 lt_prog_compiler_pic='-fPIC'
10727 lt_prog_compiler_static='-static'
10728 ;;
10729 *Portland\ Group*)
10730 lt_prog_compiler_wl='-Wl,'
10731 lt_prog_compiler_pic='-fpic'
10732 lt_prog_compiler_static='-Bstatic'
10733 ;;
10734 esac
10735 ;;
10736 esac
10737 ;;
10738
10739 newsos6)
10740 lt_prog_compiler_pic='-KPIC'
10741 lt_prog_compiler_static='-Bstatic'
10742 ;;
10743
10744 *-mlibc)
10745 lt_prog_compiler_wl='-Wl,'
10746 lt_prog_compiler_pic='-fPIC'
10747 lt_prog_compiler_static='-static'
10748 ;;
10749
10750 *nto* | *qnx*)
10751 # QNX uses GNU C++, but need to define -shared option too, otherwise
10752 # it will coredump.
10753 lt_prog_compiler_pic='-fPIC -shared'
10754 ;;
10755
10756 osf3* | osf4* | osf5*)
10757 lt_prog_compiler_wl='-Wl,'
10758 # All OSF/1 code is PIC.
10759 lt_prog_compiler_static='-non_shared'
10760 ;;
10761
10762 rdos*)
10763 lt_prog_compiler_static='-non_shared'
10764 ;;
10765
10766 serenity*)
10767 ;;
10768
10769 solaris*)
10770 lt_prog_compiler_pic='-KPIC'
10771 lt_prog_compiler_static='-Bstatic'
10772 case $cc_basename in
10773 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10774 lt_prog_compiler_wl='-Qoption ld ';;
10775 *)
10776 lt_prog_compiler_wl='-Wl,';;
10777 esac
10778 ;;
10779
10780 sunos4*)
10781 lt_prog_compiler_wl='-Qoption ld '
10782 lt_prog_compiler_pic='-PIC'
10783 lt_prog_compiler_static='-Bstatic'
10784 ;;
10785
10786 sysv4 | sysv4.2uw2* | sysv4.3*)
10787 lt_prog_compiler_wl='-Wl,'
10788 lt_prog_compiler_pic='-KPIC'
10789 lt_prog_compiler_static='-Bstatic'
10790 ;;
10791
10792 sysv4*MP*)
10793 if test -d /usr/nec; then
10794 lt_prog_compiler_pic='-Kconform_pic'
10795 lt_prog_compiler_static='-Bstatic'
10796 fi
10797 ;;
10798
10799 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10800 lt_prog_compiler_wl='-Wl,'
10801 lt_prog_compiler_pic='-KPIC'
10802 lt_prog_compiler_static='-Bstatic'
10803 ;;
10804
10805 unicos*)
10806 lt_prog_compiler_wl='-Wl,'
10807 lt_prog_compiler_can_build_shared=no
10808 ;;
10809
10810 uts4*)
10811 lt_prog_compiler_pic='-pic'
10812 lt_prog_compiler_static='-Bstatic'
10813 ;;
10814
10815 *)
10816 lt_prog_compiler_can_build_shared=no
10817 ;;
10818 esac
10819 fi
10820
10821 case $host_os in
10822 # For platforms that do not support PIC, -DPIC is meaningless:
10823 *djgpp*)
10824 lt_prog_compiler_pic=
10825 ;;
10826 *)
10827 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10828 ;;
10829 esac
10830
10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10832 printf %s "checking for $compiler option to produce PIC... " >&6; }
10833 if test ${lt_cv_prog_compiler_pic+y}
10834 then :
10835 printf %s "(cached) " >&6
10836 else case e in #(
10837 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
10838 esac
10839 fi
10840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10841 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
10842 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10843
10844 #
10845 # Check to make sure the PIC flag actually works.
10846 #
10847 if test -n "$lt_prog_compiler_pic"; then
10848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10849 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10850 if test ${lt_cv_prog_compiler_pic_works+y}
10851 then :
10852 printf %s "(cached) " >&6
10853 else case e in #(
10854 e) lt_cv_prog_compiler_pic_works=no
10855 ac_outfile=conftest.$ac_objext
10856 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10857 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10858 # Insert the option either (1) after the last *FLAGS variable, or
10859 # (2) before a word containing "conftest.", or (3) at the end.
10860 # Note that $ac_compile itself does not contain backslashes and begins
10861 # with a dollar sign (not a hyphen), so the echo should work correctly.
10862 # The option is referenced via a variable to avoid confusing sed.
10863 lt_compile=`echo "$ac_compile" | $SED \
10864 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10865 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10866 -e 's:$: $lt_compiler_flag:'`
10867 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10868 (eval "$lt_compile" 2>conftest.err)
10869 ac_status=$?
10870 cat conftest.err >&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 if (exit $ac_status) && test -s "$ac_outfile"; then
10873 # The compiler can only warn and ignore the option if not recognized
10874 # So say no if there are warnings other than the usual output.
10875 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10877 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10878 lt_cv_prog_compiler_pic_works=yes
10879 fi
10880 fi
10881 $RM conftest*
10882 ;;
10883 esac
10884 fi
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10886 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
10887
10888 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10889 case $lt_prog_compiler_pic in
10890 "" | " "*) ;;
10891 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10892 esac
10893 else
10894 lt_prog_compiler_pic=
10895 lt_prog_compiler_can_build_shared=no
10896 fi
10897
10898 fi
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910 #
10911 # Check to make sure the static flag actually works.
10912 #
10913 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10915 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10916 if test ${lt_cv_prog_compiler_static_works+y}
10917 then :
10918 printf %s "(cached) " >&6
10919 else case e in #(
10920 e) lt_cv_prog_compiler_static_works=no
10921 save_LDFLAGS=$LDFLAGS
10922 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10923 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10924 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10925 # The linker can only warn and ignore the option if not recognized
10926 # So say no if there are warnings
10927 if test -s conftest.err; then
10928 # Append any errors to the config.log.
10929 cat conftest.err 1>&5
10930 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10931 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10932 if diff conftest.exp conftest.er2 >/dev/null; then
10933 lt_cv_prog_compiler_static_works=yes
10934 fi
10935 else
10936 lt_cv_prog_compiler_static_works=yes
10937 fi
10938 fi
10939 $RM -r conftest*
10940 LDFLAGS=$save_LDFLAGS
10941 ;;
10942 esac
10943 fi
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10945 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
10946
10947 if test yes = "$lt_cv_prog_compiler_static_works"; then
10948 :
10949 else
10950 lt_prog_compiler_static=
10951 fi
10952
10953
10954
10955
10956
10957
10958
10959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10960 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10961 if test ${lt_cv_prog_compiler_c_o+y}
10962 then :
10963 printf %s "(cached) " >&6
10964 else case e in #(
10965 e) lt_cv_prog_compiler_c_o=no
10966 $RM -r conftest 2>/dev/null
10967 mkdir conftest
10968 cd conftest
10969 mkdir out
10970 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10971
10972 lt_compiler_flag="-o out/conftest2.$ac_objext"
10973 # Insert the option either (1) after the last *FLAGS variable, or
10974 # (2) before a word containing "conftest.", or (3) at the end.
10975 # Note that $ac_compile itself does not contain backslashes and begins
10976 # with a dollar sign (not a hyphen), so the echo should work correctly.
10977 lt_compile=`echo "$ac_compile" | $SED \
10978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10980 -e 's:$: $lt_compiler_flag:'`
10981 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10982 (eval "$lt_compile" 2>out/conftest.err)
10983 ac_status=$?
10984 cat out/conftest.err >&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10987 then
10988 # The compiler can only warn and ignore the option if not recognized
10989 # So say no if there are warnings
10990 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10991 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10992 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10993 lt_cv_prog_compiler_c_o=yes
10994 fi
10995 fi
10996 chmod u+w . 2>&5
10997 $RM conftest*
10998 # SGI C++ compiler will create directory out/ii_files/ for
10999 # template instantiation
11000 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11001 $RM out/* && rmdir out
11002 cd ..
11003 $RM -r conftest
11004 $RM conftest*
11005 ;;
11006 esac
11007 fi
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11009 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11010
11011
11012
11013
11014
11015
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11017 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11018 if test ${lt_cv_prog_compiler_c_o+y}
11019 then :
11020 printf %s "(cached) " >&6
11021 else case e in #(
11022 e) lt_cv_prog_compiler_c_o=no
11023 $RM -r conftest 2>/dev/null
11024 mkdir conftest
11025 cd conftest
11026 mkdir out
11027 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11028
11029 lt_compiler_flag="-o out/conftest2.$ac_objext"
11030 # Insert the option either (1) after the last *FLAGS variable, or
11031 # (2) before a word containing "conftest.", or (3) at the end.
11032 # Note that $ac_compile itself does not contain backslashes and begins
11033 # with a dollar sign (not a hyphen), so the echo should work correctly.
11034 lt_compile=`echo "$ac_compile" | $SED \
11035 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11037 -e 's:$: $lt_compiler_flag:'`
11038 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11039 (eval "$lt_compile" 2>out/conftest.err)
11040 ac_status=$?
11041 cat out/conftest.err >&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11044 then
11045 # The compiler can only warn and ignore the option if not recognized
11046 # So say no if there are warnings
11047 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11048 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11049 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11050 lt_cv_prog_compiler_c_o=yes
11051 fi
11052 fi
11053 chmod u+w . 2>&5
11054 $RM conftest*
11055 # SGI C++ compiler will create directory out/ii_files/ for
11056 # template instantiation
11057 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11058 $RM out/* && rmdir out
11059 cd ..
11060 $RM -r conftest
11061 $RM conftest*
11062 ;;
11063 esac
11064 fi
11065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11066 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11067
11068
11069
11070
11071 hard_links=nottested
11072 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11073 # do not overwrite the value of need_locks provided by the user
11074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11075 printf %s "checking if we can lock with hard links... " >&6; }
11076 hard_links=yes
11077 $RM conftest*
11078 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11079 touch conftest.a
11080 ln conftest.a conftest.b 2>&5 || hard_links=no
11081 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11083 printf "%s\n" "$hard_links" >&6; }
11084 if test no = "$hard_links"; then
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11086 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11087 need_locks=warn
11088 fi
11089 else
11090 need_locks=no
11091 fi
11092
11093
11094
11095
11096
11097
11098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11099 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11100
11101 runpath_var=
11102 allow_undefined_flag=
11103 always_export_symbols=no
11104 archive_cmds=
11105 archive_expsym_cmds=
11106 compiler_needs_object=no
11107 enable_shared_with_static_runtimes=no
11108 export_dynamic_flag_spec=
11109 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11110 hardcode_automatic=no
11111 hardcode_direct=no
11112 hardcode_direct_absolute=no
11113 hardcode_libdir_flag_spec=
11114 hardcode_libdir_separator=
11115 hardcode_minus_L=no
11116 hardcode_shlibpath_var=unsupported
11117 inherit_rpath=no
11118 link_all_deplibs=unknown
11119 module_cmds=
11120 module_expsym_cmds=
11121 old_archive_from_new_cmds=
11122 old_archive_from_expsyms_cmds=
11123 thread_safe_flag_spec=
11124 whole_archive_flag_spec=
11125 # include_expsyms should be a list of space-separated symbols to be *always*
11126 # included in the symbol list
11127 include_expsyms=
11128 # exclude_expsyms can be an extended regexp of symbols to exclude
11129 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11130 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11131 # as well as any symbol that contains 'd'.
11132 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11133 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11134 # platforms (ab)use it in PIC code, but their linkers get confused if
11135 # the symbol is explicitly referenced. Since portable code cannot
11136 # rely on this symbol name, it's probably fine to never include it in
11137 # preloaded symbol tables.
11138 # Exclude shared library initialization/finalization symbols.
11139 extract_expsyms_cmds=
11140
11141 case $host_os in
11142 cygwin* | mingw* | windows* | pw32* | cegcc*)
11143 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11144 # When not using gcc, we currently assume that we are using
11145 # Microsoft Visual C++ or Intel C++ Compiler.
11146 if test yes != "$GCC"; then
11147 with_gnu_ld=no
11148 fi
11149 ;;
11150 interix*)
11151 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11152 with_gnu_ld=yes
11153 ;;
11154 esac
11155
11156 ld_shlibs=yes
11157
11158 # On some targets, GNU ld is compatible enough with the native linker
11159 # that we're better off using the native interface for both.
11160 lt_use_gnu_ld_interface=no
11161 if test yes = "$with_gnu_ld"; then
11162 case $host_os in
11163 aix*)
11164 # The AIX port of GNU ld has always aspired to compatibility
11165 # with the native linker. However, as the warning in the GNU ld
11166 # block says, versions before 2.19.5* couldn't really create working
11167 # shared libraries, regardless of the interface used.
11168 case `$LD -v 2>&1` in
11169 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11170 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11171 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11172 *)
11173 lt_use_gnu_ld_interface=yes
11174 ;;
11175 esac
11176 ;;
11177 *)
11178 lt_use_gnu_ld_interface=yes
11179 ;;
11180 esac
11181 fi
11182
11183 if test yes = "$lt_use_gnu_ld_interface"; then
11184 # If archive_cmds runs LD, not CC, wlarc should be empty
11185 wlarc='$wl'
11186
11187 # Set some defaults for GNU ld with shared library support. These
11188 # are reset later if shared libraries are not supported. Putting them
11189 # here allows them to be overridden if necessary.
11190 runpath_var=LD_RUN_PATH
11191 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11192 export_dynamic_flag_spec='$wl--export-dynamic'
11193 # ancient GNU ld didn't support --whole-archive et. al.
11194 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11195 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11196 else
11197 whole_archive_flag_spec=
11198 fi
11199 supports_anon_versioning=no
11200 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11201 *GNU\ gold*) supports_anon_versioning=yes ;;
11202 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11203 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11204 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11205 *\ 2.11.*) ;; # other 2.11 versions
11206 *) supports_anon_versioning=yes ;;
11207 esac
11208
11209 # See if GNU ld supports shared libraries.
11210 case $host_os in
11211 aix[3-9]*)
11212 # On AIX/PPC, the GNU linker is very broken
11213 if test ia64 != "$host_cpu"; then
11214 ld_shlibs=no
11215 cat <<_LT_EOF 1>&2
11216
11217 *** Warning: the GNU linker, at least up to release 2.19, is reported
11218 *** to be unable to reliably create shared libraries on AIX.
11219 *** Therefore, libtool is disabling shared libraries support. If you
11220 *** really care for shared libraries, you may want to install binutils
11221 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11222 *** You will then need to restart the configuration process.
11223
11224 _LT_EOF
11225 fi
11226 ;;
11227
11228 amigaos*)
11229 case $host_cpu in
11230 powerpc)
11231 # see comment about AmigaOS4 .so support
11232 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11233 archive_expsym_cmds=''
11234 ;;
11235 m68k)
11236 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)'
11237 hardcode_libdir_flag_spec='-L$libdir'
11238 hardcode_minus_L=yes
11239 ;;
11240 esac
11241 ;;
11242
11243 beos*)
11244 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11245 allow_undefined_flag=unsupported
11246 # Joseph Beckenbach <[email protected]> says some releases of gcc
11247 # support --undefined. This deserves some investigation. FIXME
11248 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11249 else
11250 ld_shlibs=no
11251 fi
11252 ;;
11253
11254 cygwin* | mingw* | windows* | pw32* | cegcc*)
11255 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11256 # as there is no search path for DLLs.
11257 hardcode_libdir_flag_spec='-L$libdir'
11258 export_dynamic_flag_spec='$wl--export-all-symbols'
11259 allow_undefined_flag=unsupported
11260 always_export_symbols=no
11261 enable_shared_with_static_runtimes=yes
11262 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'
11263 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11264 file_list_spec='@'
11265
11266 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11268 # If the export-symbols file already is a .def file, use it as
11269 # is; otherwise, prepend EXPORTS...
11270 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11271 cp $export_symbols $output_objdir/$soname.def;
11272 else
11273 echo EXPORTS > $output_objdir/$soname.def;
11274 cat $export_symbols >> $output_objdir/$soname.def;
11275 fi~
11276 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11277 else
11278 ld_shlibs=no
11279 fi
11280 ;;
11281
11282 haiku*)
11283 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11284 link_all_deplibs=no
11285 ;;
11286
11287 os2*)
11288 hardcode_libdir_flag_spec='-L$libdir'
11289 hardcode_minus_L=yes
11290 allow_undefined_flag=unsupported
11291 shrext_cmds=.dll
11292 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11293 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11294 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11295 $ECHO EXPORTS >> $output_objdir/$libname.def~
11296 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11297 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11298 emximp -o $lib $output_objdir/$libname.def'
11299 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11300 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11301 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11302 $ECHO EXPORTS >> $output_objdir/$libname.def~
11303 prefix_cmds="$SED"~
11304 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11305 prefix_cmds="$prefix_cmds -e 1d";
11306 fi~
11307 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11308 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11309 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11310 emximp -o $lib $output_objdir/$libname.def'
11311 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11312 enable_shared_with_static_runtimes=yes
11313 file_list_spec='@'
11314 ;;
11315
11316 interix[3-9]*)
11317 hardcode_direct=no
11318 hardcode_shlibpath_var=no
11319 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11320 export_dynamic_flag_spec='$wl-E'
11321 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11322 # Instead, shared libraries are loaded at an image base (0x10000000 by
11323 # default) and relocated if they conflict, which is a slow very memory
11324 # consuming and fragmenting process. To avoid this, we pick a random,
11325 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11326 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11327 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11328 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'
11329 ;;
11330
11331 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11332 tmp_diet=no
11333 if test linux-dietlibc = "$host_os"; then
11334 case $cc_basename in
11335 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11336 esac
11337 fi
11338 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11339 && test no = "$tmp_diet"
11340 then
11341 tmp_addflag=' $pic_flag'
11342 tmp_sharedflag='-shared'
11343 case $cc_basename,$host_cpu in
11344 pgcc*) # Portland Group C compiler
11345 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'
11346 tmp_addflag=' $pic_flag'
11347 ;;
11348 pgf77* | pgf90* | pgf95* | pgfortran*)
11349 # Portland Group f77 and f90 compilers
11350 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'
11351 tmp_addflag=' $pic_flag -Mnomain' ;;
11352 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11353 tmp_addflag=' -i_dynamic' ;;
11354 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11355 tmp_addflag=' -i_dynamic -nofor_main' ;;
11356 ifc* | ifort*) # Intel Fortran compiler
11357 tmp_addflag=' -nofor_main' ;;
11358 lf95*) # Lahey Fortran 8.1
11359 whole_archive_flag_spec=
11360 tmp_sharedflag='--shared' ;;
11361 nagfor*) # NAGFOR 5.3
11362 tmp_sharedflag='-Wl,-shared' ;;
11363 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11364 tmp_sharedflag='-qmkshrobj'
11365 tmp_addflag= ;;
11366 nvcc*) # Cuda Compiler Driver 2.2
11367 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'
11368 compiler_needs_object=yes
11369 ;;
11370 esac
11371 case `$CC -V 2>&1 | $SED 5q` in
11372 *Sun\ C*) # Sun C 5.9
11373 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'
11374 compiler_needs_object=yes
11375 tmp_sharedflag='-G' ;;
11376 *Sun\ F*) # Sun Fortran 8.3
11377 tmp_sharedflag='-G' ;;
11378 esac
11379 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11380
11381 if test yes = "$supports_anon_versioning"; then
11382 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11383 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11384 echo "local: *; };" >> $output_objdir/$libname.ver~
11385 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11386 fi
11387
11388 case $cc_basename in
11389 tcc*)
11390 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11391 export_dynamic_flag_spec='-rdynamic'
11392 ;;
11393 xlf* | bgf* | bgxlf* | mpixlf*)
11394 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11395 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11396 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11397 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11398 if test yes = "$supports_anon_versioning"; then
11399 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11400 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11401 echo "local: *; };" >> $output_objdir/$libname.ver~
11402 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11403 fi
11404 ;;
11405 esac
11406 else
11407 ld_shlibs=no
11408 fi
11409 ;;
11410
11411 *-mlibc)
11412 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11413 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11414 ;;
11415
11416 netbsd* | netbsdelf*-gnu)
11417 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11418 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11419 wlarc=
11420 else
11421 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11422 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11423 fi
11424 ;;
11425
11426 solaris*)
11427 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11428 ld_shlibs=no
11429 cat <<_LT_EOF 1>&2
11430
11431 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11432 *** create shared libraries on Solaris systems. Therefore, libtool
11433 *** is disabling shared libraries support. We urge you to upgrade GNU
11434 *** binutils to release 2.9.1 or newer. Another option is to modify
11435 *** your PATH or compiler configuration so that the native linker is
11436 *** used, and then restart.
11437
11438 _LT_EOF
11439 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11440 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11441 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11442 else
11443 ld_shlibs=no
11444 fi
11445 ;;
11446
11447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11448 case `$LD -v 2>&1` in
11449 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11450 ld_shlibs=no
11451 cat <<_LT_EOF 1>&2
11452
11453 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11454 *** reliably create shared libraries on SCO systems. Therefore, libtool
11455 *** is disabling shared libraries support. We urge you to upgrade GNU
11456 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11457 *** your PATH or compiler configuration so that the native linker is
11458 *** used, and then restart.
11459
11460 _LT_EOF
11461 ;;
11462 *)
11463 # For security reasons, it is highly recommended that you always
11464 # use absolute paths for naming shared libraries, and exclude the
11465 # DT_RUNPATH tag from executables and libraries. But doing so
11466 # requires that you compile everything twice, which is a pain.
11467 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11468 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11469 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11470 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11471 else
11472 ld_shlibs=no
11473 fi
11474 ;;
11475 esac
11476 ;;
11477
11478 sunos4*)
11479 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11480 wlarc=
11481 hardcode_direct=yes
11482 hardcode_shlibpath_var=no
11483 ;;
11484
11485 *)
11486 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11487 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11488 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11489 else
11490 ld_shlibs=no
11491 fi
11492 ;;
11493 esac
11494
11495 if test no = "$ld_shlibs"; then
11496 runpath_var=
11497 hardcode_libdir_flag_spec=
11498 export_dynamic_flag_spec=
11499 whole_archive_flag_spec=
11500 fi
11501 else
11502 # PORTME fill in a description of your system's linker (not GNU ld)
11503 case $host_os in
11504 aix3*)
11505 allow_undefined_flag=unsupported
11506 always_export_symbols=yes
11507 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'
11508 # Note: this linker hardcodes the directories in LIBPATH if there
11509 # are no directories specified by -L.
11510 hardcode_minus_L=yes
11511 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11512 # Neither direct hardcoding nor static linking is supported with a
11513 # broken collect2.
11514 hardcode_direct=unsupported
11515 fi
11516 ;;
11517
11518 aix[4-9]*)
11519 if test ia64 = "$host_cpu"; then
11520 # On IA64, the linker does run time linking by default, so we don't
11521 # have to do anything special.
11522 aix_use_runtimelinking=no
11523 exp_sym_flag='-Bexport'
11524 no_entry_flag=
11525 else
11526 # If we're using GNU nm, then we don't want the "-C" option.
11527 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11528 # Without the "-l" option, or with the "-B" option, AIX nm treats
11529 # weak defined symbols like other global defined symbols, whereas
11530 # GNU nm marks them as "W".
11531 # While the 'weak' keyword is ignored in the Export File, we need
11532 # it in the Import File for the 'aix-soname' feature, so we have
11533 # to replace the "-B" option with "-P" for AIX nm.
11534 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11535 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'
11536 else
11537 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'
11538 fi
11539 aix_use_runtimelinking=no
11540
11541 # Test if we are trying to use run time linking or normal
11542 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11543 # have runtime linking enabled, and use it for executables.
11544 # For shared libraries, we enable/disable runtime linking
11545 # depending on the kind of the shared library created -
11546 # when "with_aix_soname,aix_use_runtimelinking" is:
11547 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11548 # "aix,yes" lib.so shared, rtl:yes, for executables
11549 # lib.a static archive
11550 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11551 # lib.a(lib.so.V) shared, rtl:no, for executables
11552 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11553 # lib.a(lib.so.V) shared, rtl:no
11554 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11555 # lib.a static archive
11556 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11557 for ld_flag in $LDFLAGS; do
11558 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11559 aix_use_runtimelinking=yes
11560 break
11561 fi
11562 done
11563 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11564 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11565 # so we don't have lib.a shared libs to link our executables.
11566 # We have to force runtime linking in this case.
11567 aix_use_runtimelinking=yes
11568 LDFLAGS="$LDFLAGS -Wl,-brtl"
11569 fi
11570 ;;
11571 esac
11572
11573 exp_sym_flag='-bexport'
11574 no_entry_flag='-bnoentry'
11575 fi
11576
11577 # When large executables or shared objects are built, AIX ld can
11578 # have problems creating the table of contents. If linking a library
11579 # or program results in "error TOC overflow" add -mminimal-toc to
11580 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11581 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11582
11583 archive_cmds=''
11584 hardcode_direct=yes
11585 hardcode_direct_absolute=yes
11586 hardcode_libdir_separator=':'
11587 link_all_deplibs=yes
11588 file_list_spec='$wl-f,'
11589 case $with_aix_soname,$aix_use_runtimelinking in
11590 aix,*) ;; # traditional, no import file
11591 svr4,* | *,yes) # use import file
11592 # The Import File defines what to hardcode.
11593 hardcode_direct=no
11594 hardcode_direct_absolute=no
11595 ;;
11596 esac
11597
11598 if test yes = "$GCC"; then
11599 case $host_os in aix4.[012]|aix4.[012].*)
11600 # We only want to do this on AIX 4.2 and lower, the check
11601 # below for broken collect2 doesn't work under 4.3+
11602 collect2name=`$CC -print-prog-name=collect2`
11603 if test -f "$collect2name" &&
11604 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11605 then
11606 # We have reworked collect2
11607 :
11608 else
11609 # We have old collect2
11610 hardcode_direct=unsupported
11611 # It fails to find uninstalled libraries when the uninstalled
11612 # path is not listed in the libpath. Setting hardcode_minus_L
11613 # to unsupported forces relinking
11614 hardcode_minus_L=yes
11615 hardcode_libdir_flag_spec='-L$libdir'
11616 hardcode_libdir_separator=
11617 fi
11618 ;;
11619 esac
11620 shared_flag='-shared'
11621 if test yes = "$aix_use_runtimelinking"; then
11622 shared_flag="$shared_flag "'$wl-G'
11623 fi
11624 # Need to ensure runtime linking is disabled for the traditional
11625 # shared library, or the linker may eventually find shared libraries
11626 # /with/ Import File - we do not want to mix them.
11627 shared_flag_aix='-shared'
11628 shared_flag_svr4='-shared $wl-G'
11629 else
11630 # not using gcc
11631 if test ia64 = "$host_cpu"; then
11632 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11633 # chokes on -Wl,-G. The following line is correct:
11634 shared_flag='-G'
11635 else
11636 if test yes = "$aix_use_runtimelinking"; then
11637 shared_flag='$wl-G'
11638 else
11639 shared_flag='$wl-bM:SRE'
11640 fi
11641 shared_flag_aix='$wl-bM:SRE'
11642 shared_flag_svr4='$wl-G'
11643 fi
11644 fi
11645
11646 export_dynamic_flag_spec='$wl-bexpall'
11647 # It seems that -bexpall does not export symbols beginning with
11648 # underscore (_), so it is better to generate a list of symbols to export.
11649 always_export_symbols=yes
11650 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11651 # Warning - without using the other runtime loading flags (-brtl),
11652 # -berok will link without error, but may produce a broken library.
11653 allow_undefined_flag='-berok'
11654 # Determine the default libpath from the value encoded in an
11655 # empty executable.
11656 if test set = "${lt_cv_aix_libpath+set}"; then
11657 aix_libpath=$lt_cv_aix_libpath
11658 else
11659 if test ${lt_cv_aix_libpath_+y}
11660 then :
11661 printf %s "(cached) " >&6
11662 else case e in #(
11663 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11665
11666 int
11667 main (void)
11668 {
11669
11670 ;
11671 return 0;
11672 }
11673 _ACEOF
11674 if ac_fn_c_try_link "$LINENO"
11675 then :
11676
11677 lt_aix_libpath_sed='
11678 /Import File Strings/,/^$/ {
11679 /^0/ {
11680 s/^0 *\([^ ]*\) *$/\1/
11681 p
11682 }
11683 }'
11684 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11685 # Check for a 64-bit object if we didn't find anything.
11686 if test -z "$lt_cv_aix_libpath_"; then
11687 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11688 fi
11689 fi
11690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11691 conftest$ac_exeext conftest.$ac_ext
11692 if test -z "$lt_cv_aix_libpath_"; then
11693 lt_cv_aix_libpath_=/usr/lib:/lib
11694 fi
11695 ;;
11696 esac
11697 fi
11698
11699 aix_libpath=$lt_cv_aix_libpath_
11700 fi
11701
11702 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11703 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
11704 else
11705 if test ia64 = "$host_cpu"; then
11706 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11707 allow_undefined_flag="-z nodefs"
11708 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"
11709 else
11710 # Determine the default libpath from the value encoded in an
11711 # empty executable.
11712 if test set = "${lt_cv_aix_libpath+set}"; then
11713 aix_libpath=$lt_cv_aix_libpath
11714 else
11715 if test ${lt_cv_aix_libpath_+y}
11716 then :
11717 printf %s "(cached) " >&6
11718 else case e in #(
11719 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11721
11722 int
11723 main (void)
11724 {
11725
11726 ;
11727 return 0;
11728 }
11729 _ACEOF
11730 if ac_fn_c_try_link "$LINENO"
11731 then :
11732
11733 lt_aix_libpath_sed='
11734 /Import File Strings/,/^$/ {
11735 /^0/ {
11736 s/^0 *\([^ ]*\) *$/\1/
11737 p
11738 }
11739 }'
11740 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11741 # Check for a 64-bit object if we didn't find anything.
11742 if test -z "$lt_cv_aix_libpath_"; then
11743 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11744 fi
11745 fi
11746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11747 conftest$ac_exeext conftest.$ac_ext
11748 if test -z "$lt_cv_aix_libpath_"; then
11749 lt_cv_aix_libpath_=/usr/lib:/lib
11750 fi
11751 ;;
11752 esac
11753 fi
11754
11755 aix_libpath=$lt_cv_aix_libpath_
11756 fi
11757
11758 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11759 # Warning - without using the other run time loading flags,
11760 # -berok will link without error, but may produce a broken library.
11761 no_undefined_flag=' $wl-bernotok'
11762 allow_undefined_flag=' $wl-berok'
11763 if test yes = "$with_gnu_ld"; then
11764 # We only use this code for GNU lds that support --whole-archive.
11765 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11766 else
11767 # Exported symbols can be pulled into shared objects from archives
11768 whole_archive_flag_spec='$convenience'
11769 fi
11770 archive_cmds_need_lc=yes
11771 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11772 # -brtl affects multiple linker settings, -berok does not and is overridden later
11773 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11774 if test svr4 != "$with_aix_soname"; then
11775 # This is similar to how AIX traditionally builds its shared libraries.
11776 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'
11777 fi
11778 if test aix != "$with_aix_soname"; then
11779 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'
11780 else
11781 # used by -dlpreopen to get the symbols
11782 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11783 fi
11784 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11785 fi
11786 fi
11787 ;;
11788
11789 amigaos*)
11790 case $host_cpu in
11791 powerpc)
11792 # see comment about AmigaOS4 .so support
11793 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11794 archive_expsym_cmds=''
11795 ;;
11796 m68k)
11797 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)'
11798 hardcode_libdir_flag_spec='-L$libdir'
11799 hardcode_minus_L=yes
11800 ;;
11801 esac
11802 ;;
11803
11804 bsdi[45]*)
11805 export_dynamic_flag_spec=-rdynamic
11806 ;;
11807
11808 cygwin* | mingw* | windows* | pw32* | cegcc*)
11809 # When not using gcc, we currently assume that we are using
11810 # Microsoft Visual C++ or Intel C++ Compiler.
11811 # hardcode_libdir_flag_spec is actually meaningless, as there is
11812 # no search path for DLLs.
11813 case $cc_basename in
11814 cl* | icl*)
11815 # Native MSVC or ICC
11816 hardcode_libdir_flag_spec=' '
11817 allow_undefined_flag=unsupported
11818 always_export_symbols=yes
11819 file_list_spec='@'
11820 # Tell ltmain to make .lib files, not .a files.
11821 libext=lib
11822 # Tell ltmain to make .dll files, not .so files.
11823 shrext_cmds=.dll
11824 # FIXME: Setting linknames here is a bad hack.
11825 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11826 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11827 cp "$export_symbols" "$output_objdir/$soname.def";
11828 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11829 else
11830 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11831 fi~
11832 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11833 linknames='
11834 # The linker will not automatically build a static lib if we build a DLL.
11835 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11836 enable_shared_with_static_runtimes=yes
11837 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11839 # Don't use ranlib
11840 old_postinstall_cmds='chmod 644 $oldlib'
11841 postlink_cmds='lt_outputfile="@OUTPUT@"~
11842 lt_tool_outputfile="@TOOL_OUTPUT@"~
11843 case $lt_outputfile in
11844 *.exe|*.EXE) ;;
11845 *)
11846 lt_outputfile=$lt_outputfile.exe
11847 lt_tool_outputfile=$lt_tool_outputfile.exe
11848 ;;
11849 esac~
11850 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11851 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11852 $RM "$lt_outputfile.manifest";
11853 fi'
11854 ;;
11855 *)
11856 # Assume MSVC and ICC wrapper
11857 hardcode_libdir_flag_spec=' '
11858 allow_undefined_flag=unsupported
11859 # Tell ltmain to make .lib files, not .a files.
11860 libext=lib
11861 # Tell ltmain to make .dll files, not .so files.
11862 shrext_cmds=.dll
11863 # FIXME: Setting linknames here is a bad hack.
11864 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11865 # The linker will automatically build a .lib file if we build a DLL.
11866 old_archive_from_new_cmds='true'
11867 # FIXME: Should let the user specify the lib program.
11868 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11869 enable_shared_with_static_runtimes=yes
11870 ;;
11871 esac
11872 ;;
11873
11874 darwin* | rhapsody*)
11875
11876
11877 archive_cmds_need_lc=no
11878 hardcode_direct=no
11879 hardcode_automatic=yes
11880 hardcode_shlibpath_var=unsupported
11881 if test yes = "$lt_cv_ld_force_load"; then
11882 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\"`'
11883
11884 else
11885 whole_archive_flag_spec=''
11886 fi
11887 link_all_deplibs=yes
11888 allow_undefined_flag=$_lt_dar_allow_undefined
11889 case $cc_basename in
11890 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11891 *) _lt_dar_can_shared=$GCC ;;
11892 esac
11893 if test yes = "$_lt_dar_can_shared"; then
11894 output_verbose_link_cmd=func_echo_all
11895 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11896 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11897 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"
11898 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"
11899
11900 else
11901 ld_shlibs=no
11902 fi
11903
11904 ;;
11905
11906 dgux*)
11907 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11908 hardcode_libdir_flag_spec='-L$libdir'
11909 hardcode_shlibpath_var=no
11910 ;;
11911
11912 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11913 # support. Future versions do this automatically, but an explicit c++rt0.o
11914 # does not break anything, and helps significantly (at the cost of a little
11915 # extra space).
11916 freebsd2.2*)
11917 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11918 hardcode_libdir_flag_spec='-R$libdir'
11919 hardcode_direct=yes
11920 hardcode_shlibpath_var=no
11921 ;;
11922
11923 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11924 freebsd2.*)
11925 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11926 hardcode_direct=yes
11927 hardcode_minus_L=yes
11928 hardcode_shlibpath_var=no
11929 ;;
11930
11931 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11932 freebsd* | dragonfly* | midnightbsd*)
11933 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11934 hardcode_libdir_flag_spec='-R$libdir'
11935 hardcode_direct=yes
11936 hardcode_shlibpath_var=no
11937 ;;
11938
11939 hpux9*)
11940 if test yes = "$GCC"; then
11941 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'
11942 else
11943 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'
11944 fi
11945 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11946 hardcode_libdir_separator=:
11947 hardcode_direct=yes
11948
11949 # hardcode_minus_L: Not really in the search PATH,
11950 # but as the default location of the library.
11951 hardcode_minus_L=yes
11952 export_dynamic_flag_spec='$wl-E'
11953 ;;
11954
11955 hpux10*)
11956 if test yes,no = "$GCC,$with_gnu_ld"; then
11957 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11958 else
11959 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11960 fi
11961 if test no = "$with_gnu_ld"; then
11962 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11963 hardcode_libdir_separator=:
11964 hardcode_direct=yes
11965 hardcode_direct_absolute=yes
11966 export_dynamic_flag_spec='$wl-E'
11967 # hardcode_minus_L: Not really in the search PATH,
11968 # but as the default location of the library.
11969 hardcode_minus_L=yes
11970 fi
11971 ;;
11972
11973 hpux11*)
11974 if test yes,no = "$GCC,$with_gnu_ld"; then
11975 case $host_cpu in
11976 hppa*64*)
11977 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11978 ;;
11979 ia64*)
11980 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11981 ;;
11982 *)
11983 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11984 ;;
11985 esac
11986 else
11987 case $host_cpu in
11988 hppa*64*)
11989 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11990 ;;
11991 ia64*)
11992 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11993 ;;
11994 *)
11995
11996 # Older versions of the 11.00 compiler do not understand -b yet
11997 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11999 printf %s "checking if $CC understands -b... " >&6; }
12000 if test ${lt_cv_prog_compiler__b+y}
12001 then :
12002 printf %s "(cached) " >&6
12003 else case e in #(
12004 e) lt_cv_prog_compiler__b=no
12005 save_LDFLAGS=$LDFLAGS
12006 LDFLAGS="$LDFLAGS -b"
12007 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12008 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12009 # The linker can only warn and ignore the option if not recognized
12010 # So say no if there are warnings
12011 if test -s conftest.err; then
12012 # Append any errors to the config.log.
12013 cat conftest.err 1>&5
12014 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12015 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12016 if diff conftest.exp conftest.er2 >/dev/null; then
12017 lt_cv_prog_compiler__b=yes
12018 fi
12019 else
12020 lt_cv_prog_compiler__b=yes
12021 fi
12022 fi
12023 $RM -r conftest*
12024 LDFLAGS=$save_LDFLAGS
12025 ;;
12026 esac
12027 fi
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12029 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12030
12031 if test yes = "$lt_cv_prog_compiler__b"; then
12032 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12033 else
12034 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12035 fi
12036
12037 ;;
12038 esac
12039 fi
12040 if test no = "$with_gnu_ld"; then
12041 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12042 hardcode_libdir_separator=:
12043
12044 case $host_cpu in
12045 hppa*64*|ia64*)
12046 hardcode_direct=no
12047 hardcode_shlibpath_var=no
12048 ;;
12049 *)
12050 hardcode_direct=yes
12051 hardcode_direct_absolute=yes
12052 export_dynamic_flag_spec='$wl-E'
12053
12054 # hardcode_minus_L: Not really in the search PATH,
12055 # but as the default location of the library.
12056 hardcode_minus_L=yes
12057 ;;
12058 esac
12059 fi
12060 ;;
12061
12062 irix5* | irix6* | nonstopux*)
12063 if test yes = "$GCC"; then
12064 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'
12065 # Try to use the -exported_symbol ld option, if it does not
12066 # work, assume that -exports_file does not work either and
12067 # implicitly export all symbols.
12068 # This should be the same for all languages, so no per-tag cache variable.
12069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12070 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12071 if test ${lt_cv_irix_exported_symbol+y}
12072 then :
12073 printf %s "(cached) " >&6
12074 else case e in #(
12075 e) save_LDFLAGS=$LDFLAGS
12076 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12079 int foo (void) { return 0; }
12080 _ACEOF
12081 if ac_fn_c_try_link "$LINENO"
12082 then :
12083 lt_cv_irix_exported_symbol=yes
12084 else case e in #(
12085 e) lt_cv_irix_exported_symbol=no ;;
12086 esac
12087 fi
12088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12089 conftest$ac_exeext conftest.$ac_ext
12090 LDFLAGS=$save_LDFLAGS ;;
12091 esac
12092 fi
12093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12094 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12095 if test yes = "$lt_cv_irix_exported_symbol"; then
12096 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'
12097 fi
12098 else
12099 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'
12100 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'
12101 fi
12102 archive_cmds_need_lc='no'
12103 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12104 hardcode_libdir_separator=:
12105 inherit_rpath=yes
12106 link_all_deplibs=yes
12107 ;;
12108
12109 linux*)
12110 case $cc_basename in
12111 tcc*)
12112 # Fabrice Bellard et al's Tiny C Compiler
12113 ld_shlibs=yes
12114 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12115 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12116 ;;
12117 esac
12118 ;;
12119
12120 *-mlibc)
12121 ;;
12122
12123 netbsd* | netbsdelf*-gnu)
12124 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12125 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12126 else
12127 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12128 fi
12129 hardcode_libdir_flag_spec='-R$libdir'
12130 hardcode_direct=yes
12131 hardcode_shlibpath_var=no
12132 ;;
12133
12134 newsos6)
12135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12136 hardcode_direct=yes
12137 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12138 hardcode_libdir_separator=:
12139 hardcode_shlibpath_var=no
12140 ;;
12141
12142 *nto* | *qnx*)
12143 ;;
12144
12145 openbsd*)
12146 if test -f /usr/libexec/ld.so; then
12147 hardcode_direct=yes
12148 hardcode_shlibpath_var=no
12149 hardcode_direct_absolute=yes
12150 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12151 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12152 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12153 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12154 export_dynamic_flag_spec='$wl-E'
12155 else
12156 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12157 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12158 fi
12159 else
12160 ld_shlibs=no
12161 fi
12162 ;;
12163
12164 os2*)
12165 hardcode_libdir_flag_spec='-L$libdir'
12166 hardcode_minus_L=yes
12167 allow_undefined_flag=unsupported
12168 shrext_cmds=.dll
12169 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12170 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12171 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12172 $ECHO EXPORTS >> $output_objdir/$libname.def~
12173 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12174 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12175 emximp -o $lib $output_objdir/$libname.def'
12176 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12177 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12178 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12179 $ECHO EXPORTS >> $output_objdir/$libname.def~
12180 prefix_cmds="$SED"~
12181 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12182 prefix_cmds="$prefix_cmds -e 1d";
12183 fi~
12184 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12185 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12186 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12187 emximp -o $lib $output_objdir/$libname.def'
12188 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12189 enable_shared_with_static_runtimes=yes
12190 file_list_spec='@'
12191 ;;
12192
12193 osf3*)
12194 if test yes = "$GCC"; then
12195 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12196 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'
12197 else
12198 allow_undefined_flag=' -expect_unresolved \*'
12199 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'
12200 fi
12201 archive_cmds_need_lc='no'
12202 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12203 hardcode_libdir_separator=:
12204 ;;
12205
12206 osf4* | osf5*) # as osf3* with the addition of -msym flag
12207 if test yes = "$GCC"; then
12208 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12209 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'
12210 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12211 else
12212 allow_undefined_flag=' -expect_unresolved \*'
12213 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'
12214 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~
12215 $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'
12216
12217 # Both c and cxx compiler support -rpath directly
12218 hardcode_libdir_flag_spec='-rpath $libdir'
12219 fi
12220 archive_cmds_need_lc='no'
12221 hardcode_libdir_separator=:
12222 ;;
12223
12224 serenity*)
12225 ;;
12226
12227 solaris*)
12228 no_undefined_flag=' -z defs'
12229 if test yes = "$GCC"; then
12230 wlarc='$wl'
12231 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12232 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12233 $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'
12234 else
12235 case `$CC -V 2>&1` in
12236 *"Compilers 5.0"*)
12237 wlarc=''
12238 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12239 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12240 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12241 ;;
12242 *)
12243 wlarc='$wl'
12244 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12245 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12246 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12247 ;;
12248 esac
12249 fi
12250 hardcode_libdir_flag_spec='-R$libdir'
12251 hardcode_shlibpath_var=no
12252 case $host_os in
12253 solaris2.[0-5] | solaris2.[0-5].*) ;;
12254 *)
12255 # The compiler driver will combine and reorder linker options,
12256 # but understands '-z linker_flag'. GCC discards it without '$wl',
12257 # but is careful enough not to reorder.
12258 # Supported since Solaris 2.6 (maybe 2.5.1?)
12259 if test yes = "$GCC"; then
12260 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12261 else
12262 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12263 fi
12264 ;;
12265 esac
12266 link_all_deplibs=yes
12267 ;;
12268
12269 sunos4*)
12270 if test sequent = "$host_vendor"; then
12271 # Use $CC to link under sequent, because it throws in some extra .o
12272 # files that make .init and .fini sections work.
12273 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12274 else
12275 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12276 fi
12277 hardcode_libdir_flag_spec='-L$libdir'
12278 hardcode_direct=yes
12279 hardcode_minus_L=yes
12280 hardcode_shlibpath_var=no
12281 ;;
12282
12283 sysv4)
12284 case $host_vendor in
12285 sni)
12286 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12287 hardcode_direct=yes # is this really true???
12288 ;;
12289 siemens)
12290 ## LD is ld it makes a PLAMLIB
12291 ## CC just makes a GrossModule.
12292 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12293 reload_cmds='$CC -r -o $output$reload_objs'
12294 hardcode_direct=no
12295 ;;
12296 motorola)
12297 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12298 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12299 ;;
12300 esac
12301 runpath_var='LD_RUN_PATH'
12302 hardcode_shlibpath_var=no
12303 ;;
12304
12305 sysv4.3*)
12306 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12307 hardcode_shlibpath_var=no
12308 export_dynamic_flag_spec='-Bexport'
12309 ;;
12310
12311 sysv4*MP*)
12312 if test -d /usr/nec; then
12313 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12314 hardcode_shlibpath_var=no
12315 runpath_var=LD_RUN_PATH
12316 hardcode_runpath_var=yes
12317 ld_shlibs=yes
12318 fi
12319 ;;
12320
12321 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12322 no_undefined_flag='$wl-z,text'
12323 archive_cmds_need_lc=no
12324 hardcode_shlibpath_var=no
12325 runpath_var='LD_RUN_PATH'
12326
12327 if test yes = "$GCC"; then
12328 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12329 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12330 else
12331 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12332 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12333 fi
12334 ;;
12335
12336 sysv5* | sco3.2v5* | sco5v6*)
12337 # Note: We CANNOT use -z defs as we might desire, because we do not
12338 # link with -lc, and that would cause any symbols used from libc to
12339 # always be unresolved, which means just about no library would
12340 # ever link correctly. If we're not using GNU ld we use -z text
12341 # though, which does catch some bad symbols but isn't as heavy-handed
12342 # as -z defs.
12343 no_undefined_flag='$wl-z,text'
12344 allow_undefined_flag='$wl-z,nodefs'
12345 archive_cmds_need_lc=no
12346 hardcode_shlibpath_var=no
12347 hardcode_libdir_flag_spec='$wl-R,$libdir'
12348 hardcode_libdir_separator=':'
12349 link_all_deplibs=yes
12350 export_dynamic_flag_spec='$wl-Bexport'
12351 runpath_var='LD_RUN_PATH'
12352
12353 if test yes = "$GCC"; then
12354 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12355 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12356 else
12357 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12358 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12359 fi
12360 ;;
12361
12362 uts4*)
12363 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12364 hardcode_libdir_flag_spec='-L$libdir'
12365 hardcode_shlibpath_var=no
12366 ;;
12367
12368 *)
12369 ld_shlibs=no
12370 ;;
12371 esac
12372
12373 if test sni = "$host_vendor"; then
12374 case $host in
12375 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12376 export_dynamic_flag_spec='$wl-Blargedynsym'
12377 ;;
12378 esac
12379 fi
12380 fi
12381
12382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12383 printf "%s\n" "$ld_shlibs" >&6; }
12384 test no = "$ld_shlibs" && can_build_shared=no
12385
12386 with_gnu_ld=$with_gnu_ld
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402 #
12403 # Do we need to explicitly link libc?
12404 #
12405 case "x$archive_cmds_need_lc" in
12406 x|xyes)
12407 # Assume -lc should be added
12408 archive_cmds_need_lc=yes
12409
12410 if test yes,yes = "$GCC,$enable_shared"; then
12411 case $archive_cmds in
12412 *'~'*)
12413 # FIXME: we may have to deal with multi-command sequences.
12414 ;;
12415 '$CC '*)
12416 # Test whether the compiler implicitly links with -lc since on some
12417 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12418 # to ld, don't add -lc before -lgcc.
12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12420 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12421 if test ${lt_cv_archive_cmds_need_lc+y}
12422 then :
12423 printf %s "(cached) " >&6
12424 else case e in #(
12425 e) $RM conftest*
12426 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12427
12428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12429 (eval $ac_compile) 2>&5
12430 ac_status=$?
12431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12432 test $ac_status = 0; } 2>conftest.err; then
12433 soname=conftest
12434 lib=conftest
12435 libobjs=conftest.$ac_objext
12436 deplibs=
12437 wl=$lt_prog_compiler_wl
12438 pic_flag=$lt_prog_compiler_pic
12439 compiler_flags=-v
12440 linker_flags=-v
12441 verstring=
12442 output_objdir=.
12443 libname=conftest
12444 lt_save_allow_undefined_flag=$allow_undefined_flag
12445 allow_undefined_flag=
12446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12447 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12448 ac_status=$?
12449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12450 test $ac_status = 0; }
12451 then
12452 lt_cv_archive_cmds_need_lc=no
12453 else
12454 lt_cv_archive_cmds_need_lc=yes
12455 fi
12456 allow_undefined_flag=$lt_save_allow_undefined_flag
12457 else
12458 cat conftest.err 1>&5
12459 fi
12460 $RM conftest*
12461 ;;
12462 esac
12463 fi
12464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12465 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12466 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12467 ;;
12468 esac
12469 fi
12470 ;;
12471 esac
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12625 printf %s "checking dynamic linker characteristics... " >&6; }
12626
12627 if test yes = "$GCC"; then
12628 case $host_os in
12629 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12630 *) lt_awk_arg='/^libraries:/' ;;
12631 esac
12632 case $host_os in
12633 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12634 *) lt_sed_strip_eq='s|=/|/|g' ;;
12635 esac
12636 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12637 case $lt_search_path_spec in
12638 *\;*)
12639 # if the path contains ";" then we assume it to be the separator
12640 # otherwise default to the standard path separator (i.e. ":") - it is
12641 # assumed that no part of a normal pathname contains ";" but that should
12642 # okay in the real world where ";" in dirpaths is itself problematic.
12643 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12644 ;;
12645 *)
12646 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12647 ;;
12648 esac
12649 # Ok, now we have the path, separated by spaces, we can step through it
12650 # and add multilib dir if necessary...
12651 lt_tmp_lt_search_path_spec=
12652 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12653 # ...but if some path component already ends with the multilib dir we assume
12654 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12655 case "$lt_multi_os_dir; $lt_search_path_spec " in
12656 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12657 lt_multi_os_dir=
12658 ;;
12659 esac
12660 for lt_sys_path in $lt_search_path_spec; do
12661 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12662 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12663 elif test -n "$lt_multi_os_dir"; then
12664 test -d "$lt_sys_path" && \
12665 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12666 fi
12667 done
12668 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12669 BEGIN {RS = " "; FS = "/|\n";} {
12670 lt_foo = "";
12671 lt_count = 0;
12672 for (lt_i = NF; lt_i > 0; lt_i--) {
12673 if ($lt_i != "" && $lt_i != ".") {
12674 if ($lt_i == "..") {
12675 lt_count++;
12676 } else {
12677 if (lt_count == 0) {
12678 lt_foo = "/" $lt_i lt_foo;
12679 } else {
12680 lt_count--;
12681 }
12682 }
12683 }
12684 }
12685 if (lt_foo != "") { lt_freq[lt_foo]++; }
12686 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12687 }'`
12688 # AWK program above erroneously prepends '/' to C:/dos/paths
12689 # for these hosts.
12690 case $host_os in
12691 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12692 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12693 esac
12694 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12695 else
12696 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12697 fi
12698 library_names_spec=
12699 libname_spec='lib$name'
12700 soname_spec=
12701 shrext_cmds=.so
12702 postinstall_cmds=
12703 postuninstall_cmds=
12704 finish_cmds=
12705 finish_eval=
12706 shlibpath_var=
12707 shlibpath_overrides_runpath=unknown
12708 version_type=none
12709 dynamic_linker="$host_os ld.so"
12710 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12711 need_lib_prefix=unknown
12712 hardcode_into_libs=no
12713
12714 # when you set need_version to no, make sure it does not cause -set_version
12715 # flags to be left without arguments
12716 need_version=unknown
12717
12718
12719
12720 case $host_os in
12721 aix3*)
12722 version_type=linux # correct to gnu/linux during the next big refactor
12723 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12724 shlibpath_var=LIBPATH
12725
12726 # AIX 3 has no versioning support, so we append a major version to the name.
12727 soname_spec='$libname$release$shared_ext$major'
12728 ;;
12729
12730 aix[4-9]*)
12731 version_type=linux # correct to gnu/linux during the next big refactor
12732 need_lib_prefix=no
12733 need_version=no
12734 hardcode_into_libs=yes
12735 if test ia64 = "$host_cpu"; then
12736 # AIX 5 supports IA64
12737 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12738 shlibpath_var=LD_LIBRARY_PATH
12739 else
12740 # With GCC up to 2.95.x, collect2 would create an import file
12741 # for dependence libraries. The import file would start with
12742 # the line '#! .'. This would cause the generated library to
12743 # depend on '.', always an invalid library. This was fixed in
12744 # development snapshots of GCC prior to 3.0.
12745 case $host_os in
12746 aix4 | aix4.[01] | aix4.[01].*)
12747 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12748 echo ' yes '
12749 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12750 :
12751 else
12752 can_build_shared=no
12753 fi
12754 ;;
12755 esac
12756 # Using Import Files as archive members, it is possible to support
12757 # filename-based versioning of shared library archives on AIX. While
12758 # this would work for both with and without runtime linking, it will
12759 # prevent static linking of such archives. So we do filename-based
12760 # shared library versioning with .so extension only, which is used
12761 # when both runtime linking and shared linking is enabled.
12762 # Unfortunately, runtime linking may impact performance, so we do
12763 # not want this to be the default eventually. Also, we use the
12764 # versioned .so libs for executables only if there is the -brtl
12765 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
12766 # To allow for filename-based versioning support, we need to create
12767 # libNAME.so.V as an archive file, containing:
12768 # *) an Import File, referring to the versioned filename of the
12769 # archive as well as the shared archive member, telling the
12770 # bitwidth (32 or 64) of that shared object, and providing the
12771 # list of exported symbols of that shared object, eventually
12772 # decorated with the 'weak' keyword
12773 # *) the shared object with the F_LOADONLY flag set, to really avoid
12774 # it being seen by the linker.
12775 # At run time we better use the real file rather than another symlink,
12776 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12777
12778 case $with_aix_soname,$aix_use_runtimelinking in
12779 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12780 # soname into executable. Probably we can add versioning support to
12781 # collect2, so additional links can be useful in future.
12782 aix,yes) # traditional libtool
12783 dynamic_linker='AIX unversionable lib.so'
12784 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12785 # instead of lib<name>.a to let people know that these are not
12786 # typical AIX shared libraries.
12787 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12788 ;;
12789 aix,no) # traditional AIX only
12790 dynamic_linker='AIX lib.a(lib.so.V)'
12791 # We preserve .a as extension for shared libraries through AIX4.2
12792 # and later when we are not doing run time linking.
12793 library_names_spec='$libname$release.a $libname.a'
12794 soname_spec='$libname$release$shared_ext$major'
12795 ;;
12796 svr4,*) # full svr4 only
12797 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12798 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12799 # We do not specify a path in Import Files, so LIBPATH fires.
12800 shlibpath_overrides_runpath=yes
12801 ;;
12802 *,yes) # both, prefer svr4
12803 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12804 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12805 # unpreferred sharedlib libNAME.a needs extra handling
12806 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"'
12807 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"'
12808 # We do not specify a path in Import Files, so LIBPATH fires.
12809 shlibpath_overrides_runpath=yes
12810 ;;
12811 *,no) # both, prefer aix
12812 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12813 library_names_spec='$libname$release.a $libname.a'
12814 soname_spec='$libname$release$shared_ext$major'
12815 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12816 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)'
12817 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"'
12818 ;;
12819 esac
12820 shlibpath_var=LIBPATH
12821 fi
12822 ;;
12823
12824 amigaos*)
12825 case $host_cpu in
12826 powerpc)
12827 # Since July 2007 AmigaOS4 officially supports .so libraries.
12828 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12829 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12830 ;;
12831 m68k)
12832 library_names_spec='$libname.ixlibrary $libname.a'
12833 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12834 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'
12835 ;;
12836 esac
12837 ;;
12838
12839 beos*)
12840 library_names_spec='$libname$shared_ext'
12841 dynamic_linker="$host_os ld.so"
12842 shlibpath_var=LIBRARY_PATH
12843 ;;
12844
12845 bsdi[45]*)
12846 version_type=linux # correct to gnu/linux during the next big refactor
12847 need_version=no
12848 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12849 soname_spec='$libname$release$shared_ext$major'
12850 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12851 shlibpath_var=LD_LIBRARY_PATH
12852 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12853 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12854 # the default ld.so.conf also contains /usr/contrib/lib and
12855 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12856 # libtool to hard-code these into programs
12857 ;;
12858
12859 cygwin* | mingw* | windows* | pw32* | cegcc*)
12860 version_type=windows
12861 shrext_cmds=.dll
12862 need_version=no
12863 need_lib_prefix=no
12864
12865 case $GCC,$cc_basename in
12866 yes,*)
12867 # gcc
12868 library_names_spec='$libname.dll.a'
12869 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12870 # If user builds GCC with multilib enabled,
12871 # it should just install on $(libdir)
12872 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
12873 if test xyes = x"$multilib"; then
12874 postinstall_cmds='base_file=`basename \$file`~
12875 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12876 dldir=$destdir/`dirname \$dlpath`~
12877 $install_prog $dir/$dlname $destdir/$dlname~
12878 chmod a+x $destdir/$dlname~
12879 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12880 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
12881 fi'
12882 else
12883 postinstall_cmds='base_file=`basename \$file`~
12884 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12885 dldir=$destdir/`dirname \$dlpath`~
12886 test -d \$dldir || mkdir -p \$dldir~
12887 $install_prog $dir/$dlname \$dldir/$dlname~
12888 chmod a+x \$dldir/$dlname~
12889 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12890 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12891 fi'
12892 fi
12893 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12894 dlpath=$dir/\$dldll~
12895 $RM \$dlpath'
12896 shlibpath_overrides_runpath=yes
12897
12898 case $host_os in
12899 cygwin*)
12900 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12901 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12902
12903 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12904 ;;
12905 mingw* | windows* | cegcc*)
12906 # MinGW DLLs use traditional 'lib' prefix
12907 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12908 ;;
12909 pw32*)
12910 # pw32 DLLs use 'pw' prefix rather than 'lib'
12911 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12912 ;;
12913 esac
12914 dynamic_linker='Win32 ld.exe'
12915 ;;
12916
12917 *,cl* | *,icl*)
12918 # Native MSVC or ICC
12919 libname_spec='$name'
12920 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12921 library_names_spec='$libname.dll.lib'
12922
12923 case $build_os in
12924 mingw* | windows*)
12925 sys_lib_search_path_spec=
12926 lt_save_ifs=$IFS
12927 IFS=';'
12928 for lt_path in $LIB
12929 do
12930 IFS=$lt_save_ifs
12931 # Let DOS variable expansion print the short 8.3 style file name.
12932 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12933 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12934 done
12935 IFS=$lt_save_ifs
12936 # Convert to MSYS style.
12937 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12938 ;;
12939 cygwin*)
12940 # Convert to unix form, then to dos form, then back to unix form
12941 # but this time dos style (no spaces!) so that the unix form looks
12942 # like /cygdrive/c/PROGRA~1:/cygdr...
12943 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12944 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12945 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12946 ;;
12947 *)
12948 sys_lib_search_path_spec=$LIB
12949 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12950 # It is most probably a Windows format PATH.
12951 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12952 else
12953 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12954 fi
12955 # FIXME: find the short name or the path components, as spaces are
12956 # common. (e.g. "Program Files" -> "PROGRA~1")
12957 ;;
12958 esac
12959
12960 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12961 postinstall_cmds='base_file=`basename \$file`~
12962 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12963 dldir=$destdir/`dirname \$dlpath`~
12964 test -d \$dldir || mkdir -p \$dldir~
12965 $install_prog $dir/$dlname \$dldir/$dlname'
12966 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12967 dlpath=$dir/\$dldll~
12968 $RM \$dlpath'
12969 shlibpath_overrides_runpath=yes
12970 dynamic_linker='Win32 link.exe'
12971 ;;
12972
12973 *)
12974 # Assume MSVC and ICC wrapper
12975 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12976 dynamic_linker='Win32 ld.exe'
12977 ;;
12978 esac
12979 # FIXME: first we should search . and the directory the executable is in
12980 shlibpath_var=PATH
12981 ;;
12982
12983 darwin* | rhapsody*)
12984 dynamic_linker="$host_os dyld"
12985 version_type=darwin
12986 need_lib_prefix=no
12987 need_version=no
12988 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12989 soname_spec='$libname$release$major$shared_ext'
12990 shlibpath_overrides_runpath=yes
12991 shlibpath_var=DYLD_LIBRARY_PATH
12992 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12993
12994 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12995 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12996 ;;
12997
12998 dgux*)
12999 version_type=linux # correct to gnu/linux during the next big refactor
13000 need_lib_prefix=no
13001 need_version=no
13002 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13003 soname_spec='$libname$release$shared_ext$major'
13004 shlibpath_var=LD_LIBRARY_PATH
13005 ;;
13006
13007 freebsd* | dragonfly* | midnightbsd*)
13008 # DragonFly does not have aout. When/if they implement a new
13009 # versioning mechanism, adjust this.
13010 if test -x /usr/bin/objformat; then
13011 objformat=`/usr/bin/objformat`
13012 else
13013 case $host_os in
13014 freebsd[23].*) objformat=aout ;;
13015 *) objformat=elf ;;
13016 esac
13017 fi
13018 version_type=freebsd-$objformat
13019 case $version_type in
13020 freebsd-elf*)
13021 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13022 soname_spec='$libname$release$shared_ext$major'
13023 need_version=no
13024 need_lib_prefix=no
13025 ;;
13026 freebsd-*)
13027 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13028 need_version=yes
13029 ;;
13030 esac
13031 case $host_cpu in
13032 powerpc64)
13033 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13034 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13037 int test_pointer_size[sizeof (void *) - 5];
13038
13039 _ACEOF
13040 if ac_fn_c_try_compile "$LINENO"
13041 then :
13042 shlibpath_var=LD_LIBRARY_PATH
13043 else case e in #(
13044 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13045 esac
13046 fi
13047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13048 ;;
13049 *)
13050 shlibpath_var=LD_LIBRARY_PATH
13051 ;;
13052 esac
13053 case $host_os in
13054 freebsd2.*)
13055 shlibpath_overrides_runpath=yes
13056 ;;
13057 freebsd3.[01]* | freebsdelf3.[01]*)
13058 shlibpath_overrides_runpath=yes
13059 hardcode_into_libs=yes
13060 ;;
13061 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13062 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13063 shlibpath_overrides_runpath=no
13064 hardcode_into_libs=yes
13065 ;;
13066 *) # from 4.6 on, and DragonFly
13067 shlibpath_overrides_runpath=yes
13068 hardcode_into_libs=yes
13069 ;;
13070 esac
13071 ;;
13072
13073 haiku*)
13074 version_type=linux # correct to gnu/linux during the next big refactor
13075 need_lib_prefix=no
13076 need_version=no
13077 dynamic_linker="$host_os runtime_loader"
13078 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13079 soname_spec='$libname$release$shared_ext$major'
13080 shlibpath_var=LIBRARY_PATH
13081 shlibpath_overrides_runpath=no
13082 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13083 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13084 hardcode_into_libs=no
13085 ;;
13086
13087 hpux9* | hpux10* | hpux11*)
13088 # Give a soname corresponding to the major version so that dld.sl refuses to
13089 # link against other versions.
13090 version_type=sunos
13091 need_lib_prefix=no
13092 need_version=no
13093 case $host_cpu in
13094 ia64*)
13095 shrext_cmds='.so'
13096 hardcode_into_libs=yes
13097 dynamic_linker="$host_os dld.so"
13098 shlibpath_var=LD_LIBRARY_PATH
13099 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13100 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13101 soname_spec='$libname$release$shared_ext$major'
13102 if test 32 = "$HPUX_IA64_MODE"; then
13103 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13104 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13105 else
13106 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13107 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13108 fi
13109 ;;
13110 hppa*64*)
13111 shrext_cmds='.sl'
13112 hardcode_into_libs=yes
13113 dynamic_linker="$host_os dld.sl"
13114 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13115 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13116 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13117 soname_spec='$libname$release$shared_ext$major'
13118 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13119 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13120 ;;
13121 *)
13122 shrext_cmds='.sl'
13123 dynamic_linker="$host_os dld.sl"
13124 shlibpath_var=SHLIB_PATH
13125 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13126 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13127 soname_spec='$libname$release$shared_ext$major'
13128 ;;
13129 esac
13130 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13131 postinstall_cmds='chmod 555 $lib'
13132 # or fails outright, so override atomically:
13133 install_override_mode=555
13134 ;;
13135
13136 interix[3-9]*)
13137 version_type=linux # correct to gnu/linux during the next big refactor
13138 need_lib_prefix=no
13139 need_version=no
13140 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13141 soname_spec='$libname$release$shared_ext$major'
13142 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13143 shlibpath_var=LD_LIBRARY_PATH
13144 shlibpath_overrides_runpath=no
13145 hardcode_into_libs=yes
13146 ;;
13147
13148 irix5* | irix6* | nonstopux*)
13149 case $host_os in
13150 nonstopux*) version_type=nonstopux ;;
13151 *)
13152 if test yes = "$lt_cv_prog_gnu_ld"; then
13153 version_type=linux # correct to gnu/linux during the next big refactor
13154 else
13155 version_type=irix
13156 fi ;;
13157 esac
13158 need_lib_prefix=no
13159 need_version=no
13160 soname_spec='$libname$release$shared_ext$major'
13161 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13162 case $host_os in
13163 irix5* | nonstopux*)
13164 libsuff= shlibsuff=
13165 ;;
13166 *)
13167 case $LD in # libtool.m4 will add one of these switches to LD
13168 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13169 libsuff= shlibsuff= libmagic=32-bit;;
13170 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13171 libsuff=32 shlibsuff=N32 libmagic=N32;;
13172 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13173 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13174 *) libsuff= shlibsuff= libmagic=never-match;;
13175 esac
13176 ;;
13177 esac
13178 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13179 shlibpath_overrides_runpath=no
13180 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13181 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13182 hardcode_into_libs=yes
13183 ;;
13184
13185 # No shared lib support for Linux oldld, aout, or coff.
13186 linux*oldld* | linux*aout* | linux*coff*)
13187 dynamic_linker=no
13188 ;;
13189
13190 linux*android*)
13191 version_type=none # Android doesn't support versioned libraries.
13192 need_lib_prefix=no
13193 need_version=no
13194 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13195 soname_spec='$libname$release$shared_ext'
13196 finish_cmds=
13197 shlibpath_var=LD_LIBRARY_PATH
13198 shlibpath_overrides_runpath=yes
13199
13200 # This implies no fast_install, which is unacceptable.
13201 # Some rework will be needed to allow for fast_install
13202 # before this can be enabled.
13203 hardcode_into_libs=yes
13204
13205 dynamic_linker='Android linker'
13206 # -rpath works at least for libraries that are not overridden by
13207 # libraries installed in system locations.
13208 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13209 ;;
13210
13211 # This must be glibc/ELF.
13212 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13213 version_type=linux # correct to gnu/linux during the next big refactor
13214 need_lib_prefix=no
13215 need_version=no
13216 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13217 soname_spec='$libname$release$shared_ext$major'
13218 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13219 shlibpath_var=LD_LIBRARY_PATH
13220 shlibpath_overrides_runpath=no
13221
13222 # Some binutils ld are patched to set DT_RUNPATH
13223 if test ${lt_cv_shlibpath_overrides_runpath+y}
13224 then :
13225 printf %s "(cached) " >&6
13226 else case e in #(
13227 e) lt_cv_shlibpath_overrides_runpath=no
13228 save_LDFLAGS=$LDFLAGS
13229 save_libdir=$libdir
13230 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13231 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13234
13235 int
13236 main (void)
13237 {
13238
13239 ;
13240 return 0;
13241 }
13242 _ACEOF
13243 if ac_fn_c_try_link "$LINENO"
13244 then :
13245 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13246 then :
13247 lt_cv_shlibpath_overrides_runpath=yes
13248 fi
13249 fi
13250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13251 conftest$ac_exeext conftest.$ac_ext
13252 LDFLAGS=$save_LDFLAGS
13253 libdir=$save_libdir
13254 ;;
13255 esac
13256 fi
13257
13258 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13259
13260 # This implies no fast_install, which is unacceptable.
13261 # Some rework will be needed to allow for fast_install
13262 # before this can be enabled.
13263 hardcode_into_libs=yes
13264
13265 # Ideally, we could use ldconfig to report *all* directories which are
13266 # searched for libraries, however this is still not possible. Aside from not
13267 # being certain /sbin/ldconfig is available, command
13268 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13269 # even though it is searched at run-time. Try to do the best guess by
13270 # appending ld.so.conf contents (and includes) to the search path.
13271 if test -f /etc/ld.so.conf; then
13272 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' ' '`
13273 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13274 fi
13275
13276 # We used to test for /lib/ld.so.1 and disable shared libraries on
13277 # powerpc, because MkLinux only supported shared libraries with the
13278 # GNU dynamic linker. Since this was broken with cross compilers,
13279 # most powerpc-linux boxes support dynamic linking these days and
13280 # people can always --disable-shared, the test was removed, and we
13281 # assume the GNU/Linux dynamic linker is in use.
13282 dynamic_linker='GNU/Linux ld.so'
13283 ;;
13284
13285 netbsdelf*-gnu)
13286 version_type=linux
13287 need_lib_prefix=no
13288 need_version=no
13289 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13290 soname_spec='$libname$release$shared_ext$major'
13291 shlibpath_var=LD_LIBRARY_PATH
13292 shlibpath_overrides_runpath=no
13293 hardcode_into_libs=yes
13294 dynamic_linker='NetBSD ld.elf_so'
13295 ;;
13296
13297 netbsd*)
13298 version_type=sunos
13299 need_lib_prefix=no
13300 need_version=no
13301 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13302 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13303 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13304 dynamic_linker='NetBSD (a.out) ld.so'
13305 else
13306 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13307 soname_spec='$libname$release$shared_ext$major'
13308 dynamic_linker='NetBSD ld.elf_so'
13309 fi
13310 shlibpath_var=LD_LIBRARY_PATH
13311 shlibpath_overrides_runpath=yes
13312 hardcode_into_libs=yes
13313 ;;
13314
13315 *-mlibc)
13316 version_type=linux # correct to gnu/linux during the next big refactor
13317 need_lib_prefix=no
13318 need_version=no
13319 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13320 soname_spec='$libname$release$shared_ext$major'
13321 dynamic_linker='mlibc ld.so'
13322 shlibpath_var=LD_LIBRARY_PATH
13323 shlibpath_overrides_runpath=no
13324 hardcode_into_libs=yes
13325 ;;
13326
13327 newsos6)
13328 version_type=linux # correct to gnu/linux during the next big refactor
13329 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13330 shlibpath_var=LD_LIBRARY_PATH
13331 shlibpath_overrides_runpath=yes
13332 ;;
13333
13334 *nto* | *qnx*)
13335 version_type=qnx
13336 need_lib_prefix=no
13337 need_version=no
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 shlibpath_var=LD_LIBRARY_PATH
13341 shlibpath_overrides_runpath=no
13342 hardcode_into_libs=yes
13343 dynamic_linker='ldqnx.so'
13344 ;;
13345
13346 openbsd*)
13347 version_type=sunos
13348 sys_lib_dlsearch_path_spec=/usr/lib
13349 need_lib_prefix=no
13350 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13351 need_version=no
13352 else
13353 need_version=yes
13354 fi
13355 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13356 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13357 shlibpath_var=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath=yes
13359 ;;
13360
13361 os2*)
13362 libname_spec='$name'
13363 version_type=windows
13364 shrext_cmds=.dll
13365 need_version=no
13366 need_lib_prefix=no
13367 # OS/2 can only load a DLL with a base name of 8 characters or less.
13368 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13369 v=$($ECHO $release$versuffix | tr -d .-);
13370 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13371 $ECHO $n$v`$shared_ext'
13372 library_names_spec='${libname}_dll.$libext'
13373 dynamic_linker='OS/2 ld.exe'
13374 shlibpath_var=BEGINLIBPATH
13375 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13376 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13377 postinstall_cmds='base_file=`basename \$file`~
13378 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13379 dldir=$destdir/`dirname \$dlpath`~
13380 test -d \$dldir || mkdir -p \$dldir~
13381 $install_prog $dir/$dlname \$dldir/$dlname~
13382 chmod a+x \$dldir/$dlname~
13383 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13384 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13385 fi'
13386 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13387 dlpath=$dir/\$dldll~
13388 $RM \$dlpath'
13389 ;;
13390
13391 osf3* | osf4* | osf5*)
13392 version_type=osf
13393 need_lib_prefix=no
13394 need_version=no
13395 soname_spec='$libname$release$shared_ext$major'
13396 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13397 shlibpath_var=LD_LIBRARY_PATH
13398 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13399 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13400 ;;
13401
13402 rdos*)
13403 dynamic_linker=no
13404 ;;
13405
13406 serenity*)
13407 version_type=linux # correct to gnu/linux during the next big refactor
13408 need_lib_prefix=no
13409 need_version=no
13410 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13411 soname_spec='$libname$release$shared_ext$major'
13412 shlibpath_var=LD_LIBRARY_PATH
13413 shlibpath_overrides_runpath=no
13414 dynamic_linker='SerenityOS LibELF'
13415 ;;
13416
13417 solaris*)
13418 version_type=linux # correct to gnu/linux during the next big refactor
13419 need_lib_prefix=no
13420 need_version=no
13421 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13422 soname_spec='$libname$release$shared_ext$major'
13423 shlibpath_var=LD_LIBRARY_PATH
13424 shlibpath_overrides_runpath=yes
13425 hardcode_into_libs=yes
13426 # ldd complains unless libraries are executable
13427 postinstall_cmds='chmod +x $lib'
13428 ;;
13429
13430 sunos4*)
13431 version_type=sunos
13432 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13433 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13434 shlibpath_var=LD_LIBRARY_PATH
13435 shlibpath_overrides_runpath=yes
13436 if test yes = "$with_gnu_ld"; then
13437 need_lib_prefix=no
13438 fi
13439 need_version=yes
13440 ;;
13441
13442 sysv4 | sysv4.3*)
13443 version_type=linux # correct to gnu/linux during the next big refactor
13444 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13445 soname_spec='$libname$release$shared_ext$major'
13446 shlibpath_var=LD_LIBRARY_PATH
13447 case $host_vendor in
13448 sni)
13449 shlibpath_overrides_runpath=no
13450 need_lib_prefix=no
13451 runpath_var=LD_RUN_PATH
13452 ;;
13453 siemens)
13454 need_lib_prefix=no
13455 ;;
13456 motorola)
13457 need_lib_prefix=no
13458 need_version=no
13459 shlibpath_overrides_runpath=no
13460 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13461 ;;
13462 esac
13463 ;;
13464
13465 sysv4*MP*)
13466 if test -d /usr/nec; then
13467 version_type=linux # correct to gnu/linux during the next big refactor
13468 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13469 soname_spec='$libname$shared_ext.$major'
13470 shlibpath_var=LD_LIBRARY_PATH
13471 fi
13472 ;;
13473
13474 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13475 version_type=sco
13476 need_lib_prefix=no
13477 need_version=no
13478 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13479 soname_spec='$libname$release$shared_ext$major'
13480 shlibpath_var=LD_LIBRARY_PATH
13481 shlibpath_overrides_runpath=yes
13482 hardcode_into_libs=yes
13483 if test yes = "$with_gnu_ld"; then
13484 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13485 else
13486 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13487 case $host_os in
13488 sco3.2v5*)
13489 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13490 ;;
13491 esac
13492 fi
13493 sys_lib_dlsearch_path_spec='/usr/lib'
13494 ;;
13495
13496 tpf*)
13497 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13498 version_type=linux # correct to gnu/linux during the next big refactor
13499 need_lib_prefix=no
13500 need_version=no
13501 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13502 shlibpath_var=LD_LIBRARY_PATH
13503 shlibpath_overrides_runpath=no
13504 hardcode_into_libs=yes
13505 ;;
13506
13507 uts4*)
13508 version_type=linux # correct to gnu/linux during the next big refactor
13509 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13510 soname_spec='$libname$release$shared_ext$major'
13511 shlibpath_var=LD_LIBRARY_PATH
13512 ;;
13513
13514 emscripten*)
13515 version_type=none
13516 need_lib_prefix=no
13517 need_version=no
13518 library_names_spec='$libname$release$shared_ext'
13519 soname_spec='$libname$release$shared_ext'
13520 finish_cmds=
13521 dynamic_linker="Emscripten linker"
13522 lt_prog_compiler_wl=
13523 lt_prog_compiler_pic=
13524 lt_prog_compiler_static=
13525
13526
13527 if test yes = "$GCC"; then
13528 lt_prog_compiler_wl='-Wl,'
13529 lt_prog_compiler_static='-static'
13530
13531 case $host_os in
13532 aix*)
13533 # All AIX code is PIC.
13534 if test ia64 = "$host_cpu"; then
13535 # AIX 5 now supports IA64 processor
13536 lt_prog_compiler_static='-Bstatic'
13537 fi
13538 lt_prog_compiler_pic='-fPIC'
13539 ;;
13540
13541 amigaos*)
13542 case $host_cpu in
13543 powerpc)
13544 # see comment about AmigaOS4 .so support
13545 lt_prog_compiler_pic='-fPIC'
13546 ;;
13547 m68k)
13548 # FIXME: we need at least 68020 code to build shared libraries, but
13549 # adding the '-m68020' flag to GCC prevents building anything better,
13550 # like '-m68040'.
13551 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13552 ;;
13553 esac
13554 ;;
13555
13556 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13557 # PIC is the default for these OSes.
13558 ;;
13559
13560 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13561 # This hack is so that the source file can tell whether it is being
13562 # built for inclusion in a dll (and should export symbols for example).
13563 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13564 # (--disable-auto-import) libraries
13565 lt_prog_compiler_pic='-DDLL_EXPORT'
13566 case $host_os in
13567 os2*)
13568 lt_prog_compiler_static='$wl-static'
13569 ;;
13570 esac
13571 ;;
13572
13573 darwin* | rhapsody*)
13574 # PIC is the default on this platform
13575 # Common symbols not allowed in MH_DYLIB files
13576 lt_prog_compiler_pic='-fno-common'
13577 ;;
13578
13579 haiku*)
13580 # PIC is the default for Haiku.
13581 # The "-static" flag exists, but is broken.
13582 lt_prog_compiler_static=
13583 ;;
13584
13585 hpux*)
13586 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13587 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13588 # sets the default TLS model and affects inlining.
13589 case $host_cpu in
13590 hppa*64*)
13591 # +Z the default
13592 ;;
13593 *)
13594 lt_prog_compiler_pic='-fPIC'
13595 ;;
13596 esac
13597 ;;
13598
13599 interix[3-9]*)
13600 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13601 # Instead, we relocate shared libraries at runtime.
13602 ;;
13603
13604 msdosdjgpp*)
13605 # Just because we use GCC doesn't mean we suddenly get shared libraries
13606 # on systems that don't support them.
13607 lt_prog_compiler_can_build_shared=no
13608 enable_shared=no
13609 ;;
13610
13611 *nto* | *qnx*)
13612 # QNX uses GNU C++, but need to define -shared option too, otherwise
13613 # it will coredump.
13614 lt_prog_compiler_pic='-fPIC -shared'
13615 ;;
13616
13617 sysv4*MP*)
13618 if test -d /usr/nec; then
13619 lt_prog_compiler_pic=-Kconform_pic
13620 fi
13621 ;;
13622
13623 *)
13624 lt_prog_compiler_pic='-fPIC'
13625 ;;
13626 esac
13627
13628 case $cc_basename in
13629 nvcc*) # Cuda Compiler Driver 2.2
13630 lt_prog_compiler_wl='-Xlinker '
13631 if test -n "$lt_prog_compiler_pic"; then
13632 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13633 fi
13634 ;;
13635 esac
13636 else
13637 # PORTME Check for flag to pass linker flags through the system compiler.
13638 case $host_os in
13639 aix*)
13640 lt_prog_compiler_wl='-Wl,'
13641 if test ia64 = "$host_cpu"; then
13642 # AIX 5 now supports IA64 processor
13643 lt_prog_compiler_static='-Bstatic'
13644 else
13645 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13646 fi
13647 ;;
13648
13649 darwin* | rhapsody*)
13650 # PIC is the default on this platform
13651 # Common symbols not allowed in MH_DYLIB files
13652 lt_prog_compiler_pic='-fno-common'
13653 case $cc_basename in
13654 nagfor*)
13655 # NAG Fortran compiler
13656 lt_prog_compiler_wl='-Wl,-Wl,,'
13657 lt_prog_compiler_pic='-PIC'
13658 lt_prog_compiler_static='-Bstatic'
13659 ;;
13660 esac
13661 ;;
13662
13663 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13664 # This hack is so that the source file can tell whether it is being
13665 # built for inclusion in a dll (and should export symbols for example).
13666 lt_prog_compiler_pic='-DDLL_EXPORT'
13667 case $host_os in
13668 os2*)
13669 lt_prog_compiler_static='$wl-static'
13670 ;;
13671 esac
13672 ;;
13673
13674 hpux9* | hpux10* | hpux11*)
13675 lt_prog_compiler_wl='-Wl,'
13676 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13677 # not for PA HP-UX.
13678 case $host_cpu in
13679 hppa*64*|ia64*)
13680 # +Z the default
13681 ;;
13682 *)
13683 lt_prog_compiler_pic='+Z'
13684 ;;
13685 esac
13686 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13687 lt_prog_compiler_static='$wl-a ${wl}archive'
13688 ;;
13689
13690 irix5* | irix6* | nonstopux*)
13691 lt_prog_compiler_wl='-Wl,'
13692 # PIC (with -KPIC) is the default.
13693 lt_prog_compiler_static='-non_shared'
13694 ;;
13695
13696 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13697 case $cc_basename in
13698 # old Intel for x86_64, which still supported -KPIC.
13699 ecc*)
13700 lt_prog_compiler_wl='-Wl,'
13701 lt_prog_compiler_pic='-KPIC'
13702 lt_prog_compiler_static='-static'
13703 ;;
13704 *flang* | ftn | f18* | f95*)
13705 # Flang compiler.
13706 lt_prog_compiler_wl='-Wl,'
13707 lt_prog_compiler_pic='-fPIC'
13708 lt_prog_compiler_static='-static'
13709 ;;
13710 # icc used to be incompatible with GCC.
13711 # ICC 10 doesn't accept -KPIC any more.
13712 icc* | ifort*)
13713 lt_prog_compiler_wl='-Wl,'
13714 lt_prog_compiler_pic='-fPIC'
13715 lt_prog_compiler_static='-static'
13716 ;;
13717 # Lahey Fortran 8.1.
13718 lf95*)
13719 lt_prog_compiler_wl='-Wl,'
13720 lt_prog_compiler_pic='--shared'
13721 lt_prog_compiler_static='--static'
13722 ;;
13723 nagfor*)
13724 # NAG Fortran compiler
13725 lt_prog_compiler_wl='-Wl,-Wl,,'
13726 lt_prog_compiler_pic='-PIC'
13727 lt_prog_compiler_static='-Bstatic'
13728 ;;
13729 tcc*)
13730 # Fabrice Bellard et al's Tiny C Compiler
13731 lt_prog_compiler_wl='-Wl,'
13732 lt_prog_compiler_pic='-fPIC'
13733 lt_prog_compiler_static='-static'
13734 ;;
13735 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13736 # Portland Group compilers (*not* the Pentium gcc compiler,
13737 # which looks to be a dead project)
13738 lt_prog_compiler_wl='-Wl,'
13739 lt_prog_compiler_pic='-fpic'
13740 lt_prog_compiler_static='-Bstatic'
13741 ;;
13742 ccc*)
13743 lt_prog_compiler_wl='-Wl,'
13744 # All Alpha code is PIC.
13745 lt_prog_compiler_static='-non_shared'
13746 ;;
13747 xl* | bgxl* | bgf* | mpixl*)
13748 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13749 lt_prog_compiler_wl='-Wl,'
13750 lt_prog_compiler_pic='-qpic'
13751 lt_prog_compiler_static='-qstaticlink'
13752 ;;
13753 *)
13754 case `$CC -V 2>&1 | $SED 5q` in
13755 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13756 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13757 lt_prog_compiler_pic='-KPIC'
13758 lt_prog_compiler_static='-Bstatic'
13759 lt_prog_compiler_wl=''
13760 ;;
13761 *Sun\ F* | *Sun*Fortran*)
13762 lt_prog_compiler_pic='-KPIC'
13763 lt_prog_compiler_static='-Bstatic'
13764 lt_prog_compiler_wl='-Qoption ld '
13765 ;;
13766 *Sun\ C*)
13767 # Sun C 5.9
13768 lt_prog_compiler_pic='-KPIC'
13769 lt_prog_compiler_static='-Bstatic'
13770 lt_prog_compiler_wl='-Wl,'
13771 ;;
13772 *Intel*\ [CF]*Compiler*)
13773 lt_prog_compiler_wl='-Wl,'
13774 lt_prog_compiler_pic='-fPIC'
13775 lt_prog_compiler_static='-static'
13776 ;;
13777 *Portland\ Group*)
13778 lt_prog_compiler_wl='-Wl,'
13779 lt_prog_compiler_pic='-fpic'
13780 lt_prog_compiler_static='-Bstatic'
13781 ;;
13782 esac
13783 ;;
13784 esac
13785 ;;
13786
13787 newsos6)
13788 lt_prog_compiler_pic='-KPIC'
13789 lt_prog_compiler_static='-Bstatic'
13790 ;;
13791
13792 *-mlibc)
13793 lt_prog_compiler_wl='-Wl,'
13794 lt_prog_compiler_pic='-fPIC'
13795 lt_prog_compiler_static='-static'
13796 ;;
13797
13798 *nto* | *qnx*)
13799 # QNX uses GNU C++, but need to define -shared option too, otherwise
13800 # it will coredump.
13801 lt_prog_compiler_pic='-fPIC -shared'
13802 ;;
13803
13804 osf3* | osf4* | osf5*)
13805 lt_prog_compiler_wl='-Wl,'
13806 # All OSF/1 code is PIC.
13807 lt_prog_compiler_static='-non_shared'
13808 ;;
13809
13810 rdos*)
13811 lt_prog_compiler_static='-non_shared'
13812 ;;
13813
13814 serenity*)
13815 ;;
13816
13817 solaris*)
13818 lt_prog_compiler_pic='-KPIC'
13819 lt_prog_compiler_static='-Bstatic'
13820 case $cc_basename in
13821 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
13822 lt_prog_compiler_wl='-Qoption ld ';;
13823 *)
13824 lt_prog_compiler_wl='-Wl,';;
13825 esac
13826 ;;
13827
13828 sunos4*)
13829 lt_prog_compiler_wl='-Qoption ld '
13830 lt_prog_compiler_pic='-PIC'
13831 lt_prog_compiler_static='-Bstatic'
13832 ;;
13833
13834 sysv4 | sysv4.2uw2* | sysv4.3*)
13835 lt_prog_compiler_wl='-Wl,'
13836 lt_prog_compiler_pic='-KPIC'
13837 lt_prog_compiler_static='-Bstatic'
13838 ;;
13839
13840 sysv4*MP*)
13841 if test -d /usr/nec; then
13842 lt_prog_compiler_pic='-Kconform_pic'
13843 lt_prog_compiler_static='-Bstatic'
13844 fi
13845 ;;
13846
13847 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13848 lt_prog_compiler_wl='-Wl,'
13849 lt_prog_compiler_pic='-KPIC'
13850 lt_prog_compiler_static='-Bstatic'
13851 ;;
13852
13853 unicos*)
13854 lt_prog_compiler_wl='-Wl,'
13855 lt_prog_compiler_can_build_shared=no
13856 ;;
13857
13858 uts4*)
13859 lt_prog_compiler_pic='-pic'
13860 lt_prog_compiler_static='-Bstatic'
13861 ;;
13862
13863 *)
13864 lt_prog_compiler_can_build_shared=no
13865 ;;
13866 esac
13867 fi
13868
13869 case $host_os in
13870 # For platforms that do not support PIC, -DPIC is meaningless:
13871 *djgpp*)
13872 lt_prog_compiler_pic=
13873 ;;
13874 *)
13875 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13876 ;;
13877 esac
13878
13879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13880 printf %s "checking for $compiler option to produce PIC... " >&6; }
13881 if test ${lt_cv_prog_compiler_pic+y}
13882 then :
13883 printf %s "(cached) " >&6
13884 else case e in #(
13885 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
13886 esac
13887 fi
13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13889 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
13890 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13891
13892 #
13893 # Check to make sure the PIC flag actually works.
13894 #
13895 if test -n "$lt_prog_compiler_pic"; then
13896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13897 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
13898 if test ${lt_cv_prog_compiler_pic_works+y}
13899 then :
13900 printf %s "(cached) " >&6
13901 else case e in #(
13902 e) lt_cv_prog_compiler_pic_works=no
13903 ac_outfile=conftest.$ac_objext
13904 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13905 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13906 # Insert the option either (1) after the last *FLAGS variable, or
13907 # (2) before a word containing "conftest.", or (3) at the end.
13908 # Note that $ac_compile itself does not contain backslashes and begins
13909 # with a dollar sign (not a hyphen), so the echo should work correctly.
13910 # The option is referenced via a variable to avoid confusing sed.
13911 lt_compile=`echo "$ac_compile" | $SED \
13912 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13913 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13914 -e 's:$: $lt_compiler_flag:'`
13915 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13916 (eval "$lt_compile" 2>conftest.err)
13917 ac_status=$?
13918 cat conftest.err >&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 if (exit $ac_status) && test -s "$ac_outfile"; then
13921 # The compiler can only warn and ignore the option if not recognized
13922 # So say no if there are warnings other than the usual output.
13923 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13924 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13925 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13926 lt_cv_prog_compiler_pic_works=yes
13927 fi
13928 fi
13929 $RM conftest*
13930 ;;
13931 esac
13932 fi
13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13934 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
13935
13936 if test yes = "$lt_cv_prog_compiler_pic_works"; then
13937 case $lt_prog_compiler_pic in
13938 "" | " "*) ;;
13939 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13940 esac
13941 else
13942 lt_prog_compiler_pic=
13943 lt_prog_compiler_can_build_shared=no
13944 fi
13945
13946 fi
13947
13948
13949
13950
13951
13952 #
13953 # Check to make sure the static flag actually works.
13954 #
13955 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
13956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13957 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13958 if test ${lt_cv_prog_compiler_static_works+y}
13959 then :
13960 printf %s "(cached) " >&6
13961 else case e in #(
13962 e) lt_cv_prog_compiler_static_works=no
13963 save_LDFLAGS=$LDFLAGS
13964 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13965 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13966 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13967 # The linker can only warn and ignore the option if not recognized
13968 # So say no if there are warnings
13969 if test -s conftest.err; then
13970 # Append any errors to the config.log.
13971 cat conftest.err 1>&5
13972 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13973 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13974 if diff conftest.exp conftest.er2 >/dev/null; then
13975 lt_cv_prog_compiler_static_works=yes
13976 fi
13977 else
13978 lt_cv_prog_compiler_static_works=yes
13979 fi
13980 fi
13981 $RM -r conftest*
13982 LDFLAGS=$save_LDFLAGS
13983 ;;
13984 esac
13985 fi
13986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
13987 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
13988
13989 if test yes = "$lt_cv_prog_compiler_static_works"; then
13990 :
13991 else
13992 lt_prog_compiler_static=
13993 fi
13994
13995
13996
13997 ='-fPIC'
13998 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
13999 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'
14000 archive_cmds_need_lc=no
14001 no_undefined_flag=
14002 ;;
14003
14004 *)
14005 dynamic_linker=no
14006 ;;
14007 esac
14008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14009 printf "%s\n" "$dynamic_linker" >&6; }
14010 test no = "$dynamic_linker" && can_build_shared=no
14011
14012 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14013 if test yes = "$GCC"; then
14014 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14015 fi
14016
14017 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14018 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14019 fi
14020
14021 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14022 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14023 fi
14024
14025 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14026 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14027
14028 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14029 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14030
14031 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14032 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14131 printf %s "checking how to hardcode library paths into programs... " >&6; }
14132 hardcode_action=
14133 if test -n "$hardcode_libdir_flag_spec" ||
14134 test -n "$runpath_var" ||
14135 test yes = "$hardcode_automatic"; then
14136
14137 # We can hardcode non-existent directories.
14138 if test no != "$hardcode_direct" &&
14139 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14140 # have to relink, otherwise we might link with an installed library
14141 # when we should be linking with a yet-to-be-installed one
14142 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14143 test no != "$hardcode_minus_L"; then
14144 # Linking always hardcodes the temporary library directory.
14145 hardcode_action=relink
14146 else
14147 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14148 hardcode_action=immediate
14149 fi
14150 else
14151 # We cannot hardcode anything, or else we can only hardcode existing
14152 # directories.
14153 hardcode_action=unsupported
14154 fi
14155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14156 printf "%s\n" "$hardcode_action" >&6; }
14157
14158 if test relink = "$hardcode_action" ||
14159 test yes = "$inherit_rpath"; then
14160 # Fast installation is not supported
14161 enable_fast_install=no
14162 elif test yes = "$shlibpath_overrides_runpath" ||
14163 test no = "$enable_shared"; then
14164 # Fast installation is not necessary
14165 enable_fast_install=needless
14166 fi
14167
14168
14169
14170
14171
14172
14173 if test yes != "$enable_dlopen"; then
14174 enable_dlopen=unknown
14175 enable_dlopen_self=unknown
14176 enable_dlopen_self_static=unknown
14177 else
14178 lt_cv_dlopen=no
14179 lt_cv_dlopen_libs=
14180
14181 case $host_os in
14182 beos*)
14183 lt_cv_dlopen=load_add_on
14184 lt_cv_dlopen_libs=
14185 lt_cv_dlopen_self=yes
14186 ;;
14187
14188 mingw* | windows* | pw32* | cegcc*)
14189 lt_cv_dlopen=LoadLibrary
14190 lt_cv_dlopen_libs=
14191 ;;
14192
14193 cygwin*)
14194 lt_cv_dlopen=dlopen
14195 lt_cv_dlopen_libs=
14196 ;;
14197
14198 darwin*)
14199 # if libdl is installed we need to link against it
14200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14201 printf %s "checking for dlopen in -ldl... " >&6; }
14202 if test ${ac_cv_lib_dl_dlopen+y}
14203 then :
14204 printf %s "(cached) " >&6
14205 else case e in #(
14206 e) ac_check_lib_save_LIBS=$LIBS
14207 LIBS="-ldl $LIBS"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply.
14214 The 'extern "C"' is for builds by C++ compilers;
14215 although this is not generally supported in C code supporting it here
14216 has little cost and some practical benefit (sr 110532). */
14217 #ifdef __cplusplus
14218 extern "C"
14219 #endif
14220 char dlopen (void);
14221 int
14222 main (void)
14223 {
14224 return dlopen ();
14225 ;
14226 return 0;
14227 }
14228 _ACEOF
14229 if ac_fn_c_try_link "$LINENO"
14230 then :
14231 ac_cv_lib_dl_dlopen=yes
14232 else case e in #(
14233 e) ac_cv_lib_dl_dlopen=no ;;
14234 esac
14235 fi
14236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14237 conftest$ac_exeext conftest.$ac_ext
14238 LIBS=$ac_check_lib_save_LIBS ;;
14239 esac
14240 fi
14241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14242 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14243 if test "x$ac_cv_lib_dl_dlopen" = xyes
14244 then :
14245 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14246 else case e in #(
14247 e)
14248 lt_cv_dlopen=dyld
14249 lt_cv_dlopen_libs=
14250 lt_cv_dlopen_self=yes
14251 ;;
14252 esac
14253 fi
14254
14255 ;;
14256
14257 tpf*)
14258 # Don't try to run any link tests for TPF. We know it's impossible
14259 # because TPF is a cross-compiler, and we know how we open DSOs.
14260 lt_cv_dlopen=dlopen
14261 lt_cv_dlopen_libs=
14262 lt_cv_dlopen_self=no
14263 ;;
14264
14265 *)
14266 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14267 if test "x$ac_cv_func_shl_load" = xyes
14268 then :
14269 lt_cv_dlopen=shl_load
14270 else case e in #(
14271 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14272 printf %s "checking for shl_load in -ldld... " >&6; }
14273 if test ${ac_cv_lib_dld_shl_load+y}
14274 then :
14275 printf %s "(cached) " >&6
14276 else case e in #(
14277 e) ac_check_lib_save_LIBS=$LIBS
14278 LIBS="-ldld $LIBS"
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281
14282 /* Override any GCC internal prototype to avoid an error.
14283 Use char because int might match the return type of a GCC
14284 builtin and then its argument prototype would still apply.
14285 The 'extern "C"' is for builds by C++ compilers;
14286 although this is not generally supported in C code supporting it here
14287 has little cost and some practical benefit (sr 110532). */
14288 #ifdef __cplusplus
14289 extern "C"
14290 #endif
14291 char shl_load (void);
14292 int
14293 main (void)
14294 {
14295 return shl_load ();
14296 ;
14297 return 0;
14298 }
14299 _ACEOF
14300 if ac_fn_c_try_link "$LINENO"
14301 then :
14302 ac_cv_lib_dld_shl_load=yes
14303 else case e in #(
14304 e) ac_cv_lib_dld_shl_load=no ;;
14305 esac
14306 fi
14307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14308 conftest$ac_exeext conftest.$ac_ext
14309 LIBS=$ac_check_lib_save_LIBS ;;
14310 esac
14311 fi
14312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14313 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14314 if test "x$ac_cv_lib_dld_shl_load" = xyes
14315 then :
14316 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14317 else case e in #(
14318 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14319 if test "x$ac_cv_func_dlopen" = xyes
14320 then :
14321 lt_cv_dlopen=dlopen
14322 else case e in #(
14323 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14324 printf %s "checking for dlopen in -ldl... " >&6; }
14325 if test ${ac_cv_lib_dl_dlopen+y}
14326 then :
14327 printf %s "(cached) " >&6
14328 else case e in #(
14329 e) ac_check_lib_save_LIBS=$LIBS
14330 LIBS="-ldl $LIBS"
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14333
14334 /* Override any GCC internal prototype to avoid an error.
14335 Use char because int might match the return type of a GCC
14336 builtin and then its argument prototype would still apply.
14337 The 'extern "C"' is for builds by C++ compilers;
14338 although this is not generally supported in C code supporting it here
14339 has little cost and some practical benefit (sr 110532). */
14340 #ifdef __cplusplus
14341 extern "C"
14342 #endif
14343 char dlopen (void);
14344 int
14345 main (void)
14346 {
14347 return dlopen ();
14348 ;
14349 return 0;
14350 }
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"
14353 then :
14354 ac_cv_lib_dl_dlopen=yes
14355 else case e in #(
14356 e) ac_cv_lib_dl_dlopen=no ;;
14357 esac
14358 fi
14359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14360 conftest$ac_exeext conftest.$ac_ext
14361 LIBS=$ac_check_lib_save_LIBS ;;
14362 esac
14363 fi
14364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14365 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14366 if test "x$ac_cv_lib_dl_dlopen" = xyes
14367 then :
14368 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14369 else case e in #(
14370 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14371 printf %s "checking for dlopen in -lsvld... " >&6; }
14372 if test ${ac_cv_lib_svld_dlopen+y}
14373 then :
14374 printf %s "(cached) " >&6
14375 else case e in #(
14376 e) ac_check_lib_save_LIBS=$LIBS
14377 LIBS="-lsvld $LIBS"
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply.
14384 The 'extern "C"' is for builds by C++ compilers;
14385 although this is not generally supported in C code supporting it here
14386 has little cost and some practical benefit (sr 110532). */
14387 #ifdef __cplusplus
14388 extern "C"
14389 #endif
14390 char dlopen (void);
14391 int
14392 main (void)
14393 {
14394 return dlopen ();
14395 ;
14396 return 0;
14397 }
14398 _ACEOF
14399 if ac_fn_c_try_link "$LINENO"
14400 then :
14401 ac_cv_lib_svld_dlopen=yes
14402 else case e in #(
14403 e) ac_cv_lib_svld_dlopen=no ;;
14404 esac
14405 fi
14406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14407 conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_check_lib_save_LIBS ;;
14409 esac
14410 fi
14411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14412 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14413 if test "x$ac_cv_lib_svld_dlopen" = xyes
14414 then :
14415 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14416 else case e in #(
14417 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14418 printf %s "checking for dld_link in -ldld... " >&6; }
14419 if test ${ac_cv_lib_dld_dld_link+y}
14420 then :
14421 printf %s "(cached) " >&6
14422 else case e in #(
14423 e) ac_check_lib_save_LIBS=$LIBS
14424 LIBS="-ldld $LIBS"
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427
14428 /* Override any GCC internal prototype to avoid an error.
14429 Use char because int might match the return type of a GCC
14430 builtin and then its argument prototype would still apply.
14431 The 'extern "C"' is for builds by C++ compilers;
14432 although this is not generally supported in C code supporting it here
14433 has little cost and some practical benefit (sr 110532). */
14434 #ifdef __cplusplus
14435 extern "C"
14436 #endif
14437 char dld_link (void);
14438 int
14439 main (void)
14440 {
14441 return dld_link ();
14442 ;
14443 return 0;
14444 }
14445 _ACEOF
14446 if ac_fn_c_try_link "$LINENO"
14447 then :
14448 ac_cv_lib_dld_dld_link=yes
14449 else case e in #(
14450 e) ac_cv_lib_dld_dld_link=no ;;
14451 esac
14452 fi
14453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14454 conftest$ac_exeext conftest.$ac_ext
14455 LIBS=$ac_check_lib_save_LIBS ;;
14456 esac
14457 fi
14458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14459 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14460 if test "x$ac_cv_lib_dld_dld_link" = xyes
14461 then :
14462 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14463 fi
14464
14465 ;;
14466 esac
14467 fi
14468
14469 ;;
14470 esac
14471 fi
14472
14473 ;;
14474 esac
14475 fi
14476
14477 ;;
14478 esac
14479 fi
14480
14481 ;;
14482 esac
14483 fi
14484
14485 ;;
14486 esac
14487
14488 if test no = "$lt_cv_dlopen"; then
14489 enable_dlopen=no
14490 else
14491 enable_dlopen=yes
14492 fi
14493
14494 case $lt_cv_dlopen in
14495 dlopen)
14496 save_CPPFLAGS=$CPPFLAGS
14497 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14498
14499 save_LDFLAGS=$LDFLAGS
14500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14501
14502 save_LIBS=$LIBS
14503 LIBS="$lt_cv_dlopen_libs $LIBS"
14504
14505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14506 printf %s "checking whether a program can dlopen itself... " >&6; }
14507 if test ${lt_cv_dlopen_self+y}
14508 then :
14509 printf %s "(cached) " >&6
14510 else case e in #(
14511 e) if test yes = "$cross_compiling"; then :
14512 lt_cv_dlopen_self=cross
14513 else
14514 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14515 lt_status=$lt_dlunknown
14516 cat > conftest.$ac_ext <<_LT_EOF
14517 #line $LINENO "configure"
14518 #include "confdefs.h"
14519
14520 #if HAVE_DLFCN_H
14521 #include <dlfcn.h>
14522 #endif
14523
14524 #include <stdio.h>
14525
14526 #ifdef RTLD_GLOBAL
14527 # define LT_DLGLOBAL RTLD_GLOBAL
14528 #else
14529 # ifdef DL_GLOBAL
14530 # define LT_DLGLOBAL DL_GLOBAL
14531 # else
14532 # define LT_DLGLOBAL 0
14533 # endif
14534 #endif
14535
14536 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14537 find out it does not work in some platform. */
14538 #ifndef LT_DLLAZY_OR_NOW
14539 # ifdef RTLD_LAZY
14540 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14541 # else
14542 # ifdef DL_LAZY
14543 # define LT_DLLAZY_OR_NOW DL_LAZY
14544 # else
14545 # ifdef RTLD_NOW
14546 # define LT_DLLAZY_OR_NOW RTLD_NOW
14547 # else
14548 # ifdef DL_NOW
14549 # define LT_DLLAZY_OR_NOW DL_NOW
14550 # else
14551 # define LT_DLLAZY_OR_NOW 0
14552 # endif
14553 # endif
14554 # endif
14555 # endif
14556 #endif
14557
14558 /* When -fvisibility=hidden is used, assume the code has been annotated
14559 correspondingly for the symbols needed. */
14560 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14561 int fnord (void) __attribute__((visibility("default")));
14562 #endif
14563
14564 int fnord (void) { return 42; }
14565 int main (void)
14566 {
14567 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14568 int status = $lt_dlunknown;
14569
14570 if (self)
14571 {
14572 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14573 else
14574 {
14575 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14576 else puts (dlerror ());
14577 }
14578 /* dlclose (self); */
14579 }
14580 else
14581 puts (dlerror ());
14582
14583 return status;
14584 }
14585 _LT_EOF
14586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14587 (eval $ac_link) 2>&5
14588 ac_status=$?
14589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14590 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14591 (./conftest; exit; ) >&5 2>/dev/null
14592 lt_status=$?
14593 case x$lt_status in
14594 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14595 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14596 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14597 esac
14598 else :
14599 # compilation failed
14600 lt_cv_dlopen_self=no
14601 fi
14602 fi
14603 rm -fr conftest*
14604
14605 ;;
14606 esac
14607 fi
14608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14609 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14610
14611 if test yes = "$lt_cv_dlopen_self"; then
14612 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14614 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14615 if test ${lt_cv_dlopen_self_static+y}
14616 then :
14617 printf %s "(cached) " >&6
14618 else case e in #(
14619 e) if test yes = "$cross_compiling"; then :
14620 lt_cv_dlopen_self_static=cross
14621 else
14622 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14623 lt_status=$lt_dlunknown
14624 cat > conftest.$ac_ext <<_LT_EOF
14625 #line $LINENO "configure"
14626 #include "confdefs.h"
14627
14628 #if HAVE_DLFCN_H
14629 #include <dlfcn.h>
14630 #endif
14631
14632 #include <stdio.h>
14633
14634 #ifdef RTLD_GLOBAL
14635 # define LT_DLGLOBAL RTLD_GLOBAL
14636 #else
14637 # ifdef DL_GLOBAL
14638 # define LT_DLGLOBAL DL_GLOBAL
14639 # else
14640 # define LT_DLGLOBAL 0
14641 # endif
14642 #endif
14643
14644 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14645 find out it does not work in some platform. */
14646 #ifndef LT_DLLAZY_OR_NOW
14647 # ifdef RTLD_LAZY
14648 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14649 # else
14650 # ifdef DL_LAZY
14651 # define LT_DLLAZY_OR_NOW DL_LAZY
14652 # else
14653 # ifdef RTLD_NOW
14654 # define LT_DLLAZY_OR_NOW RTLD_NOW
14655 # else
14656 # ifdef DL_NOW
14657 # define LT_DLLAZY_OR_NOW DL_NOW
14658 # else
14659 # define LT_DLLAZY_OR_NOW 0
14660 # endif
14661 # endif
14662 # endif
14663 # endif
14664 #endif
14665
14666 /* When -fvisibility=hidden is used, assume the code has been annotated
14667 correspondingly for the symbols needed. */
14668 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14669 int fnord (void) __attribute__((visibility("default")));
14670 #endif
14671
14672 int fnord (void) { return 42; }
14673 int main (void)
14674 {
14675 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14676 int status = $lt_dlunknown;
14677
14678 if (self)
14679 {
14680 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14681 else
14682 {
14683 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14684 else puts (dlerror ());
14685 }
14686 /* dlclose (self); */
14687 }
14688 else
14689 puts (dlerror ());
14690
14691 return status;
14692 }
14693 _LT_EOF
14694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14695 (eval $ac_link) 2>&5
14696 ac_status=$?
14697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14698 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14699 (./conftest; exit; ) >&5 2>/dev/null
14700 lt_status=$?
14701 case x$lt_status in
14702 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14703 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14704 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14705 esac
14706 else :
14707 # compilation failed
14708 lt_cv_dlopen_self_static=no
14709 fi
14710 fi
14711 rm -fr conftest*
14712
14713 ;;
14714 esac
14715 fi
14716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14717 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14718 fi
14719
14720 CPPFLAGS=$save_CPPFLAGS
14721 LDFLAGS=$save_LDFLAGS
14722 LIBS=$save_LIBS
14723 ;;
14724 esac
14725
14726 case $lt_cv_dlopen_self in
14727 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14728 *) enable_dlopen_self=unknown ;;
14729 esac
14730
14731 case $lt_cv_dlopen_self_static in
14732 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14733 *) enable_dlopen_self_static=unknown ;;
14734 esac
14735 fi
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753 striplib=
14754 old_striplib=
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14756 printf %s "checking whether stripping libraries is possible... " >&6; }
14757 if test -z "$STRIP"; then
14758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14759 printf "%s\n" "no" >&6; }
14760 else
14761 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14762 old_striplib="$STRIP --strip-debug"
14763 striplib="$STRIP --strip-unneeded"
14764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14765 printf "%s\n" "yes" >&6; }
14766 else
14767 case $host_os in
14768 darwin*)
14769 # FIXME - insert some real tests, host_os isn't really good enough
14770 striplib="$STRIP -x"
14771 old_striplib="$STRIP -S"
14772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14773 printf "%s\n" "yes" >&6; }
14774 ;;
14775 freebsd*)
14776 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
14777 old_striplib="$STRIP --strip-debug"
14778 striplib="$STRIP --strip-unneeded"
14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14780 printf "%s\n" "yes" >&6; }
14781 else
14782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14783 printf "%s\n" "no" >&6; }
14784 fi
14785 ;;
14786 *)
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14788 printf "%s\n" "no" >&6; }
14789 ;;
14790 esac
14791 fi
14792 fi
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805 # Report what library types will actually be built
14806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14807 printf %s "checking if libtool supports shared libraries... " >&6; }
14808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14809 printf "%s\n" "$can_build_shared" >&6; }
14810
14811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14812 printf %s "checking whether to build shared libraries... " >&6; }
14813 test no = "$can_build_shared" && enable_shared=no
14814
14815 # On AIX, shared libraries and static libraries use the same namespace, and
14816 # are all built from PIC.
14817 case $host_os in
14818 aix3*)
14819 test yes = "$enable_shared" && enable_static=no
14820 if test -n "$RANLIB"; then
14821 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14822 postinstall_cmds='$RANLIB $lib'
14823 fi
14824 ;;
14825
14826 aix[4-9]*)
14827 if test ia64 != "$host_cpu"; then
14828 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14829 yes,aix,yes) ;; # shared object as lib.so file only
14830 yes,svr4,*) ;; # shared object as lib.so archive member only
14831 yes,*) enable_static=no ;; # shared object in lib.a archive as well
14832 esac
14833 fi
14834 ;;
14835 esac
14836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14837 printf "%s\n" "$enable_shared" >&6; }
14838
14839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14840 printf %s "checking whether to build static libraries... " >&6; }
14841 # Make sure either enable_shared or enable_static is yes.
14842 test yes = "$enable_shared" || enable_static=yes
14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14844 printf "%s\n" "$enable_static" >&6; }
14845
14846
14847
14848
14849 fi
14850 ac_ext=c
14851 ac_cpp='$CPP $CPPFLAGS'
14852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14855
14856 CC=$lt_save_CC
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872 ac_config_commands="$ac_config_commands libtool"
14873
14874
14875
14876
14877 # Only expand once:
14878
14879
14880 # (end lt_init)
14881 # Check whether --enable-largefile was given.
14882 if test ${enable_largefile+y}
14883 then :
14884 enableval=$enable_largefile;
14885 fi
14886 if test "$enable_largefile,$enable_year2038" != no,no
14887 then :
14888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
14889 printf %s "checking for $CC option to enable large file support... " >&6; }
14890 if test ${ac_cv_sys_largefile_opts+y}
14891 then :
14892 printf %s "(cached) " >&6
14893 else case e in #(
14894 e) ac_save_CC="$CC"
14895 ac_opt_found=no
14896 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
14897 if test x"$ac_opt" != x"none needed"
14898 then :
14899 CC="$ac_save_CC $ac_opt"
14900 fi
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14903 #include <sys/types.h>
14904 #ifndef FTYPE
14905 # define FTYPE off_t
14906 #endif
14907 /* Check that FTYPE can represent 2**63 - 1 correctly.
14908 We can't simply define LARGE_FTYPE to be 9223372036854775807,
14909 since some C++ compilers masquerading as C compilers
14910 incorrectly reject 9223372036854775807. */
14911 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
14912 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
14913 && LARGE_FTYPE % 2147483647 == 1)
14914 ? 1 : -1];
14915 int
14916 main (void)
14917 {
14918
14919 ;
14920 return 0;
14921 }
14922 _ACEOF
14923 if ac_fn_c_try_compile "$LINENO"
14924 then :
14925 if test x"$ac_opt" = x"none needed"
14926 then :
14927 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
14928 CC="$CC -DFTYPE=ino_t"
14929 if ac_fn_c_try_compile "$LINENO"
14930 then :
14931
14932 else case e in #(
14933 e) CC="$CC -D_FILE_OFFSET_BITS=64"
14934 if ac_fn_c_try_compile "$LINENO"
14935 then :
14936 ac_opt='-D_FILE_OFFSET_BITS=64'
14937 fi
14938 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
14939 esac
14940 fi
14941 rm -f core conftest.err conftest.$ac_objext conftest.beam
14942 fi
14943 ac_cv_sys_largefile_opts=$ac_opt
14944 ac_opt_found=yes
14945 fi
14946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14947 test $ac_opt_found = no || break
14948 done
14949 CC="$ac_save_CC"
14950
14951 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
14952 esac
14953 fi
14954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
14955 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
14956
14957 ac_have_largefile=yes
14958 case $ac_cv_sys_largefile_opts in #(
14959 "none needed") :
14960 ;; #(
14961 "supported through gnulib") :
14962 ;; #(
14963 "support not detected") :
14964 ac_have_largefile=no ;; #(
14965 "-D_FILE_OFFSET_BITS=64") :
14966
14967 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
14968 ;; #(
14969 "-D_LARGE_FILES=1") :
14970
14971 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
14972 ;; #(
14973 "-n32") :
14974 CC="$CC -n32" ;; #(
14975 *) :
14976 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
14977 esac
14978
14979 if test "$enable_year2038" != no
14980 then :
14981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
14982 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
14983 if test ${ac_cv_sys_year2038_opts+y}
14984 then :
14985 printf %s "(cached) " >&6
14986 else case e in #(
14987 e) ac_save_CPPFLAGS="$CPPFLAGS"
14988 ac_opt_found=no
14989 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
14990 if test x"$ac_opt" != x"none needed"
14991 then :
14992 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
14993 fi
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14996
14997 #include <time.h>
14998 /* Check that time_t can represent 2**32 - 1 correctly. */
14999 #define LARGE_TIME_T \\
15000 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
15001 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
15002 && LARGE_TIME_T % 65537 == 0)
15003 ? 1 : -1];
15004
15005 int
15006 main (void)
15007 {
15008
15009 ;
15010 return 0;
15011 }
15012 _ACEOF
15013 if ac_fn_c_try_compile "$LINENO"
15014 then :
15015 ac_cv_sys_year2038_opts="$ac_opt"
15016 ac_opt_found=yes
15017 fi
15018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15019 test $ac_opt_found = no || break
15020 done
15021 CPPFLAGS="$ac_save_CPPFLAGS"
15022 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
15023 esac
15024 fi
15025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
15026 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
15027
15028 ac_have_year2038=yes
15029 case $ac_cv_sys_year2038_opts in #(
15030 "none needed") :
15031 ;; #(
15032 "support not detected") :
15033 ac_have_year2038=no ;; #(
15034 "-D_TIME_BITS=64") :
15035
15036 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
15037 ;; #(
15038 "-D__MINGW_USE_VC2005_COMPAT") :
15039
15040 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
15041 ;; #(
15042 "-U_USE_32_BIT_TIME_T"*) :
15043 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15044 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15045 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
15046 will stop working after mid-January 2038. Remove
15047 _USE_32BIT_TIME_T from the compiler flags.
15048 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15049 *) :
15050 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
15051 esac
15052
15053 fi
15054
15055 fi
15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
15057 printf %s "checking for declarations of fseeko and ftello... " >&6; }
15058 if test ${ac_cv_func_fseeko_ftello+y}
15059 then :
15060 printf %s "(cached) " >&6
15061 else case e in #(
15062 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064
15065 #if defined __hpux && !defined _LARGEFILE_SOURCE
15066 # include <limits.h>
15067 # if LONG_MAX >> 31 == 0
15068 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15069 # endif
15070 #endif
15071 #include <sys/types.h> /* for off_t */
15072 #include <stdio.h>
15073
15074 int
15075 main (void)
15076 {
15077
15078 int (*fp1) (FILE *, off_t, int) = fseeko;
15079 off_t (*fp2) (FILE *) = ftello;
15080 return fseeko (stdin, 0, 0)
15081 && fp1 (stdin, 0, 0)
15082 && ftello (stdin) >= 0
15083 && fp2 (stdin) >= 0;
15084
15085 ;
15086 return 0;
15087 }
15088 _ACEOF
15089 if ac_fn_c_try_compile "$LINENO"
15090 then :
15091 ac_cv_func_fseeko_ftello=yes
15092 else case e in #(
15093 e) ac_save_CPPFLAGS="$CPPFLAGS"
15094 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15097
15098 #if defined __hpux && !defined _LARGEFILE_SOURCE
15099 # include <limits.h>
15100 # if LONG_MAX >> 31 == 0
15101 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15102 # endif
15103 #endif
15104 #include <sys/types.h> /* for off_t */
15105 #include <stdio.h>
15106
15107 int
15108 main (void)
15109 {
15110
15111 int (*fp1) (FILE *, off_t, int) = fseeko;
15112 off_t (*fp2) (FILE *) = ftello;
15113 return fseeko (stdin, 0, 0)
15114 && fp1 (stdin, 0, 0)
15115 && ftello (stdin) >= 0
15116 && fp2 (stdin) >= 0;
15117
15118 ;
15119 return 0;
15120 }
15121 _ACEOF
15122 if ac_fn_c_try_compile "$LINENO"
15123 then :
15124 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
15125 else case e in #(
15126 e) ac_cv_func_fseeko_ftello=no ;;
15127 esac
15128 fi
15129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15130 esac
15131 fi
15132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15133 esac
15134 fi
15135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
15136 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
15137 if test "$ac_cv_func_fseeko_ftello" != no
15138 then :
15139
15140 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
15141
15142 fi
15143 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
15144 then :
15145
15146 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
15147
15148 fi
15149
15150 ac_header_dirent=no
15151 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15152 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
15153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15154 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
15155 if eval test \${$as_ac_Header+y}
15156 then :
15157 printf %s "(cached) " >&6
15158 else case e in #(
15159 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #include <sys/types.h>
15162 #include <$ac_hdr>
15163
15164 int
15165 main (void)
15166 {
15167 if ((DIR *) 0)
15168 return 0;
15169 ;
15170 return 0;
15171 }
15172 _ACEOF
15173 if ac_fn_c_try_compile "$LINENO"
15174 then :
15175 eval "$as_ac_Header=yes"
15176 else case e in #(
15177 e) eval "$as_ac_Header=no" ;;
15178 esac
15179 fi
15180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15181 esac
15182 fi
15183 eval ac_res=\$$as_ac_Header
15184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15185 printf "%s\n" "$ac_res" >&6; }
15186 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15187 then :
15188 cat >>confdefs.h <<_ACEOF
15189 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
15190 _ACEOF
15191
15192 ac_header_dirent=$ac_hdr; break
15193 fi
15194
15195 done
15196 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15197 if test $ac_header_dirent = dirent.h; then
15198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15199 printf %s "checking for library containing opendir... " >&6; }
15200 if test ${ac_cv_search_opendir+y}
15201 then :
15202 printf %s "(cached) " >&6
15203 else case e in #(
15204 e) ac_func_search_save_LIBS=$LIBS
15205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15207
15208 /* Override any GCC internal prototype to avoid an error.
15209 Use char because int might match the return type of a GCC
15210 builtin and then its argument prototype would still apply.
15211 The 'extern "C"' is for builds by C++ compilers;
15212 although this is not generally supported in C code supporting it here
15213 has little cost and some practical benefit (sr 110532). */
15214 #ifdef __cplusplus
15215 extern "C"
15216 #endif
15217 char opendir (void);
15218 int
15219 main (void)
15220 {
15221 return opendir ();
15222 ;
15223 return 0;
15224 }
15225 _ACEOF
15226 for ac_lib in '' dir
15227 do
15228 if test -z "$ac_lib"; then
15229 ac_res="none required"
15230 else
15231 ac_res=-l$ac_lib
15232 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15233 fi
15234 if ac_fn_c_try_link "$LINENO"
15235 then :
15236 ac_cv_search_opendir=$ac_res
15237 fi
15238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15239 conftest$ac_exeext
15240 if test ${ac_cv_search_opendir+y}
15241 then :
15242 break
15243 fi
15244 done
15245 if test ${ac_cv_search_opendir+y}
15246 then :
15247
15248 else case e in #(
15249 e) ac_cv_search_opendir=no ;;
15250 esac
15251 fi
15252 rm conftest.$ac_ext
15253 LIBS=$ac_func_search_save_LIBS ;;
15254 esac
15255 fi
15256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15257 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15258 ac_res=$ac_cv_search_opendir
15259 if test "$ac_res" != no
15260 then :
15261 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15262
15263 fi
15264
15265 else
15266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15267 printf %s "checking for library containing opendir... " >&6; }
15268 if test ${ac_cv_search_opendir+y}
15269 then :
15270 printf %s "(cached) " >&6
15271 else case e in #(
15272 e) ac_func_search_save_LIBS=$LIBS
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275
15276 /* Override any GCC internal prototype to avoid an error.
15277 Use char because int might match the return type of a GCC
15278 builtin and then its argument prototype would still apply.
15279 The 'extern "C"' is for builds by C++ compilers;
15280 although this is not generally supported in C code supporting it here
15281 has little cost and some practical benefit (sr 110532). */
15282 #ifdef __cplusplus
15283 extern "C"
15284 #endif
15285 char opendir (void);
15286 int
15287 main (void)
15288 {
15289 return opendir ();
15290 ;
15291 return 0;
15292 }
15293 _ACEOF
15294 for ac_lib in '' x
15295 do
15296 if test -z "$ac_lib"; then
15297 ac_res="none required"
15298 else
15299 ac_res=-l$ac_lib
15300 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15301 fi
15302 if ac_fn_c_try_link "$LINENO"
15303 then :
15304 ac_cv_search_opendir=$ac_res
15305 fi
15306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15307 conftest$ac_exeext
15308 if test ${ac_cv_search_opendir+y}
15309 then :
15310 break
15311 fi
15312 done
15313 if test ${ac_cv_search_opendir+y}
15314 then :
15315
15316 else case e in #(
15317 e) ac_cv_search_opendir=no ;;
15318 esac
15319 fi
15320 rm conftest.$ac_ext
15321 LIBS=$ac_func_search_save_LIBS ;;
15322 esac
15323 fi
15324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15325 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15326 ac_res=$ac_cv_search_opendir
15327 if test "$ac_res" != no
15328 then :
15329 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15330
15331 fi
15332
15333 fi
15334
15335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
15336 printf %s "checking whether closedir returns void... " >&6; }
15337 if test ${ac_cv_func_closedir_void+y}
15338 then :
15339 printf %s "(cached) " >&6
15340 else case e in #(
15341 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15343
15344 #include <$ac_header_dirent>
15345
15346 int
15347 main (void)
15348 {
15349
15350 return closedir(0);
15351
15352 ;
15353 return 0;
15354 }
15355 _ACEOF
15356 if ac_fn_c_try_compile "$LINENO"
15357 then :
15358 ac_cv_func_closedir_void=no
15359 else case e in #(
15360 e) ac_cv_func_closedir_void=yes ;;
15361 esac
15362 fi
15363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15364 esac
15365 fi
15366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
15367 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
15368 if test $ac_cv_func_closedir_void = yes; then
15369
15370 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
15371
15372 fi
15373
15374 ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
15375 if test "x$ac_cv_header_assert_h" = xyes
15376 then :
15377 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
15378
15379 fi
15380 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
15381 if test "x$ac_cv_header_float_h" = xyes
15382 then :
15383 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
15384
15385 fi
15386 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15387 if test "x$ac_cv_header_limits_h" = xyes
15388 then :
15389 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15390
15391 fi
15392 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
15393 if test "x$ac_cv_header_pwd_h" = xyes
15394 then :
15395 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
15396
15397 fi
15398 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15399 if test "x$ac_cv_header_stdlib_h" = xyes
15400 then :
15401 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15402
15403 fi
15404 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15405 if test "x$ac_cv_header_sys_param_h" = xyes
15406 then :
15407 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
15408
15409 fi
15410
15411 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
15412 if test "x$ac_cv_func_putenv" = xyes
15413 then :
15414 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
15415
15416 fi
15417
15418 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
15419 if test "x$ac_cv_func_getcwd" = xyes
15420 then :
15421 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
15422
15423 fi
15424 ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp"
15425 if test "x$ac_cv_func_memcmp" = xyes
15426 then :
15427 printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h
15428
15429 fi
15430 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
15431 if test "x$ac_cv_func_memcpy" = xyes
15432 then :
15433 printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
15434
15435 fi
15436 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
15437 if test "x$ac_cv_func_mkstemp" = xyes
15438 then :
15439 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15440
15441 fi
15442 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15443 if test "x$ac_cv_func_mktemp" = xyes
15444 then :
15445 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15446
15447 fi
15448 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
15449 if test "x$ac_cv_func_strchr" = xyes
15450 then :
15451 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
15452
15453 fi
15454 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
15455 if test "x$ac_cv_func_strrchr" = xyes
15456 then :
15457 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
15458
15459 fi
15460
15461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15462 printf %s "checking for an ANSI C-conforming const... " >&6; }
15463 if test ${ac_cv_c_const+y}
15464 then :
15465 printf %s "(cached) " >&6
15466 else case e in #(
15467 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15469
15470 int
15471 main (void)
15472 {
15473
15474 #ifndef __cplusplus
15475 /* Ultrix mips cc rejects this sort of thing. */
15476 typedef int charset[2];
15477 const charset cs = { 0, 0 };
15478 /* SunOS 4.1.1 cc rejects this. */
15479 char const *const *pcpcc;
15480 char **ppc;
15481 /* NEC SVR4.0.2 mips cc rejects this. */
15482 struct point {int x, y;};
15483 static struct point const zero = {0,0};
15484 /* IBM XL C 1.02.0.0 rejects this.
15485 It does not let you subtract one const X* pointer from another in
15486 an arm of an if-expression whose if-part is not a constant
15487 expression */
15488 const char *g = "string";
15489 pcpcc = &g + (g ? g-g : 0);
15490 /* HPUX 7.0 cc rejects these. */
15491 ++pcpcc;
15492 ppc = (char**) pcpcc;
15493 pcpcc = (char const *const *) ppc;
15494 { /* SCO 3.2v4 cc rejects this sort of thing. */
15495 char tx;
15496 char *t = &tx;
15497 char const *s = 0 ? (char *) 0 : (char const *) 0;
15498
15499 *t++ = 0;
15500 if (s) return 0;
15501 }
15502 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15503 int x[] = {25, 17};
15504 const int *foo = &x[0];
15505 ++foo;
15506 }
15507 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15508 typedef const int *iptr;
15509 iptr p = 0;
15510 ++p;
15511 }
15512 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
15513 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15514 struct s { int j; const int *ap[3]; } bx;
15515 struct s *b = &bx; b->j = 5;
15516 }
15517 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15518 const int foo = 10;
15519 if (!foo) return 0;
15520 }
15521 return !cs[0] && !zero.x;
15522 #endif
15523
15524 ;
15525 return 0;
15526 }
15527 _ACEOF
15528 if ac_fn_c_try_compile "$LINENO"
15529 then :
15530 ac_cv_c_const=yes
15531 else case e in #(
15532 e) ac_cv_c_const=no ;;
15533 esac
15534 fi
15535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15536 esac
15537 fi
15538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15539 printf "%s\n" "$ac_cv_c_const" >&6; }
15540 if test $ac_cv_c_const = no; then
15541
15542 printf "%s\n" "#define const /**/" >>confdefs.h
15543
15544 fi
15545
15546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15547 printf %s "checking for inline... " >&6; }
15548 if test ${ac_cv_c_inline+y}
15549 then :
15550 printf %s "(cached) " >&6
15551 else case e in #(
15552 e) ac_cv_c_inline=no
15553 for ac_kw in inline __inline__ __inline; do
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15556 #ifndef __cplusplus
15557 typedef int foo_t;
15558 static $ac_kw foo_t static_foo (void) {return 0; }
15559 $ac_kw foo_t foo (void) {return 0; }
15560 #endif
15561
15562 _ACEOF
15563 if ac_fn_c_try_compile "$LINENO"
15564 then :
15565 ac_cv_c_inline=$ac_kw
15566 fi
15567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15568 test "$ac_cv_c_inline" != no && break
15569 done
15570 ;;
15571 esac
15572 fi
15573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15574 printf "%s\n" "$ac_cv_c_inline" >&6; }
15575
15576 case $ac_cv_c_inline in
15577 inline | yes) ;;
15578 *)
15579 case $ac_cv_c_inline in
15580 no) ac_val=;;
15581 *) ac_val=$ac_cv_c_inline;;
15582 esac
15583 cat >>confdefs.h <<_ACEOF
15584 #ifndef __cplusplus
15585 #define inline $ac_val
15586 #endif
15587 _ACEOF
15588 ;;
15589 esac
15590
15591 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15592 if test "x$ac_cv_type_size_t" = xyes
15593 then :
15594
15595 else case e in #(
15596 e)
15597 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
15598 ;;
15599 esac
15600 fi
15601
15602 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
15603 case $ac_cv_c_int64_t in #(
15604 no|yes) ;; #(
15605 *)
15606
15607 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
15608 ;;
15609 esac
15610
15611 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
15612 case $ac_cv_c_uint64_t in #(
15613 no|yes) ;; #(
15614 *)
15615
15616 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
15617
15618
15619 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
15620 ;;
15621 esac
15622
15623 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
15624 *':no:'*) :
15625 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
15626 *) :
15627 ;;
15628 esac
15629 ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
15630 " "$ac_c_undeclared_builtin_options" "CFLAGS"
15631 if test "x$ac_cv_have_decl_isascii" = xyes
15632 then :
15633 ac_have_decl=1
15634 else case e in #(
15635 e) ac_have_decl=0 ;;
15636 esac
15637 fi
15638 printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h
15639
15640 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15641 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
15642 then :
15643
15644 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
15645
15646
15647 fi
15648
15649
15650
15651 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
15652 if test "x$ac_cv_type__Bool" = xyes
15653 then :
15654
15655 printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
15656
15657
15658 fi
15659
15660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5
15661 printf %s "checking for stdbool.h that conforms to C99 or later... " >&6; }
15662 if test ${ac_cv_header_stdbool_h+y}
15663 then :
15664 printf %s "(cached) " >&6
15665 else case e in #(
15666 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15668 #include <stdbool.h>
15669
15670 /* "true" and "false" should be usable in #if expressions and
15671 integer constant expressions, and "bool" should be a valid
15672 type name.
15673
15674 Although C99 requires bool, true, and false to be macros,
15675 C23 and C++11 overrule that, so do not test for that.
15676 Although C99 requires __bool_true_false_are_defined and
15677 _Bool, C23 says they are obsolescent, so do not require
15678 them. */
15679
15680 #if !true
15681 #error "'true' is not true"
15682 #endif
15683 #if true != 1
15684 #error "'true' is not equal to 1"
15685 #endif
15686 char b[true == 1 ? 1 : -1];
15687 char c[true];
15688
15689 #if false
15690 #error "'false' is not false"
15691 #endif
15692 #if false != 0
15693 #error "'false' is not equal to 0"
15694 #endif
15695 char d[false == 0 ? 1 : -1];
15696
15697 enum { e = false, f = true, g = false * true, h = true * 256 };
15698
15699 char i[(bool) 0.5 == true ? 1 : -1];
15700 char j[(bool) 0.0 == false ? 1 : -1];
15701 char k[sizeof (bool) > 0 ? 1 : -1];
15702
15703 struct sb { bool s: 1; bool t; } s;
15704 char l[sizeof s.t > 0 ? 1 : -1];
15705
15706 /* The following fails for
15707 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
15708 bool m[h];
15709 char n[sizeof m == h * sizeof m[0] ? 1 : -1];
15710 char o[-1 - (bool) 0 < 0 ? 1 : -1];
15711 /* Catch a bug in an HP-UX C compiler. See
15712 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
15713 https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
15714 */
15715 bool p = true;
15716 bool *pp = &p;
15717
15718 int
15719 main (void)
15720 {
15721
15722 bool ps = &s;
15723 *pp |= p;
15724 *pp |= ! p;
15725
15726 /* Refer to every declared value, so they cannot be
15727 discarded as unused. */
15728 return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
15729 + !l + !m + !n + !o + !p + !pp + !ps);
15730
15731 ;
15732 return 0;
15733 }
15734 _ACEOF
15735 if ac_fn_c_try_compile "$LINENO"
15736 then :
15737 ac_cv_header_stdbool_h=yes
15738 else case e in #(
15739 e) ac_cv_header_stdbool_h=no ;;
15740 esac
15741 fi
15742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15743 esac
15744 fi
15745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
15746 printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
15747
15748 if test $ac_cv_header_stdbool_h = yes; then
15749
15750 printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
15751
15752 fi
15753
15754
15755 ac_config_headers="$ac_config_headers config.h"
15756
15757
15758 kpse_save_CPPFLAGS=$CPPFLAGS
15759 kpse_save_LIBS=$LIBS
15760
15761 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
15762 kpse_BLD=`(cd "./../../." && pwd)`
15763 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
15764
15765 echo 'tldbg:_KPSE_USE_LIBTOOL called, libtool package version: 2.5.4' >&5
15766 : ${CONFIG_LT=./config.lt}
15767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
15768 printf "%s\n" "$as_me: creating $CONFIG_LT" >&6;}
15769 as_write_fail=0
15770 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
15771 #! $SHELL
15772 # Generated by $as_me.
15773 # Run this file to recreate a libtool stub with the current configuration.
15774 SHELL=\${CONFIG_SHELL-$SHELL}
15775 export SHELL
15776 _ASEOF
15777 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
15778 ## -------------------- ##
15779 ## M4sh Initialization. ##
15780 ## -------------------- ##
15781
15782 # Be more Bourne compatible
15783 DUALCASE=1; export DUALCASE # for MKS sh
15784 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
15785 then :
15786 emulate sh
15787 NULLCMD=:
15788 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15789 # is contrary to our usage. Disable this feature.
15790 alias -g '${1+"$@"}'='"$@"'
15791 setopt NO_GLOB_SUBST
15792 else case e in #(
15793 e) case `(set -o) 2>/dev/null` in #(
15794 *posix*) :
15795 set -o posix ;; #(
15796 *) :
15797 ;;
15798 esac ;;
15799 esac
15800 fi
15801
15802
15803
15804 # Reset variables that may have inherited troublesome values from
15805 # the environment.
15806
15807 # IFS needs to be set, to space, tab, and newline, in precisely that order.
15808 # (If _AS_PATH_WALK were called with IFS unset, it would have the
15809 # side effect of setting IFS to empty, thus disabling word splitting.)
15810 # Quoting is to prevent editors from complaining about space-tab.
15811 as_nl='
15812 '
15813 export as_nl
15814 IFS=" "" $as_nl"
15815
15816 PS1='$ '
15817 PS2='> '
15818 PS4='+ '
15819
15820 # Ensure predictable behavior from utilities with locale-dependent output.
15821 LC_ALL=C
15822 export LC_ALL
15823 LANGUAGE=C
15824 export LANGUAGE
15825
15826 # We cannot yet rely on "unset" to work, but we need these variables
15827 # to be unset--not just set to an empty or harmless value--now, to
15828 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
15829 # also avoids known problems related to "unset" and subshell syntax
15830 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
15831 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
15832 do eval test \${$as_var+y} \
15833 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15834 done
15835
15836 # Ensure that fds 0, 1, and 2 are open.
15837 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
15838 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
15839 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
15840
15841 # The user is always right.
15842 if ${PATH_SEPARATOR+false} :; then
15843 PATH_SEPARATOR=:
15844 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15845 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15846 PATH_SEPARATOR=';'
15847 }
15848 fi
15849
15850
15851 # Find who we are. Look in the path if we contain no directory separator.
15852 as_myself=
15853 case $0 in #((
15854 *[\\/]* ) as_myself=$0 ;;
15855 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15856 for as_dir in $PATH
15857 do
15858 IFS=$as_save_IFS
15859 case $as_dir in #(((
15860 '') as_dir=./ ;;
15861 */) ;;
15862 *) as_dir=$as_dir/ ;;
15863 esac
15864 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
15865 done
15866 IFS=$as_save_IFS
15867
15868 ;;
15869 esac
15870 # We did not find ourselves, most probably we were run as 'sh COMMAND'
15871 # in which case we are not to be found in the path.
15872 if test "x$as_myself" = x; then
15873 as_myself=$0
15874 fi
15875 if test ! -f "$as_myself"; then
15876 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15877 exit 1
15878 fi
15879
15880
15881
15882 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15883 # ----------------------------------------
15884 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15885 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15886 # script with STATUS, using 1 if that was 0.
15887 as_fn_error ()
15888 {
15889 as_status=$1; test $as_status -eq 0 && as_status=1
15890 if test "$4"; then
15891 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15893 fi
15894 printf "%s\n" "$as_me: error: $2" >&2
15895 as_fn_exit $as_status
15896 } # as_fn_error
15897
15898
15899 # as_fn_set_status STATUS
15900 # -----------------------
15901 # Set $? to STATUS, without forking.
15902 as_fn_set_status ()
15903 {
15904 return $1
15905 } # as_fn_set_status
15906
15907 # as_fn_exit STATUS
15908 # -----------------
15909 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15910 as_fn_exit ()
15911 {
15912 set +e
15913 as_fn_set_status $1
15914 exit $1
15915 } # as_fn_exit
15916
15917 # as_fn_unset VAR
15918 # ---------------
15919 # Portably unset VAR.
15920 as_fn_unset ()
15921 {
15922 { eval $1=; unset $1;}
15923 }
15924 as_unset=as_fn_unset
15925
15926 # as_fn_append VAR VALUE
15927 # ----------------------
15928 # Append the text in VALUE to the end of the definition contained in VAR. Take
15929 # advantage of any shell optimizations that allow amortized linear growth over
15930 # repeated appends, instead of the typical quadratic growth present in naive
15931 # implementations.
15932 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
15933 then :
15934 eval 'as_fn_append ()
15935 {
15936 eval $1+=\$2
15937 }'
15938 else case e in #(
15939 e) as_fn_append ()
15940 {
15941 eval $1=\$$1\$2
15942 } ;;
15943 esac
15944 fi # as_fn_append
15945
15946 # as_fn_arith ARG...
15947 # ------------------
15948 # Perform arithmetic evaluation on the ARGs, and store the result in the
15949 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15950 # must be portable across $(()) and expr.
15951 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
15952 then :
15953 eval 'as_fn_arith ()
15954 {
15955 as_val=$(( $* ))
15956 }'
15957 else case e in #(
15958 e) as_fn_arith ()
15959 {
15960 as_val=`expr "$@" || test $? -eq 1`
15961 } ;;
15962 esac
15963 fi # as_fn_arith
15964
15965
15966 if expr a : '\(a\)' >/dev/null 2>&1 &&
15967 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15968 as_expr=expr
15969 else
15970 as_expr=false
15971 fi
15972
15973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15974 as_basename=basename
15975 else
15976 as_basename=false
15977 fi
15978
15979 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15980 as_dirname=dirname
15981 else
15982 as_dirname=false
15983 fi
15984
15985 as_me=`$as_basename -- "$0" ||
15986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15987 X"$0" : 'X\(//\)$' \| \
15988 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15989 printf "%s\n" X/"$0" |
15990 sed '/^.*\/\([^/][^/]*\)\/*$/{
15991 s//\1/
15992 q
15993 }
15994 /^X\/\(\/\/\)$/{
15995 s//\1/
15996 q
15997 }
15998 /^X\/\(\/\).*/{
15999 s//\1/
16000 q
16001 }
16002 s/.*/./; q'`
16003
16004 # Avoid depending upon Character Ranges.
16005 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16006 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16007 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16008 as_cr_digits='0123456789'
16009 as_cr_alnum=$as_cr_Letters$as_cr_digits
16010
16011
16012 # Determine whether it's possible to make 'echo' print without a newline.
16013 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
16014 # for compatibility with existing Makefiles.
16015 ECHO_C= ECHO_N= ECHO_T=
16016 case `echo -n x` in #(((((
16017 -n*)
16018 case `echo 'xy\c'` in
16019 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16020 xy) ECHO_C='\c';;
16021 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16022 ECHO_T=' ';;
16023 esac;;
16024 *)
16025 ECHO_N='-n';;
16026 esac
16027
16028 # For backward compatibility with old third-party macros, we provide
16029 # the shell variables $as_echo and $as_echo_n. New code should use
16030 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16031 as_echo='printf %s\n'
16032 as_echo_n='printf %s'
16033
16034 rm -f conf$$ conf$$.exe conf$$.file
16035 if test -d conf$$.dir; then
16036 rm -f conf$$.dir/conf$$.file
16037 else
16038 rm -f conf$$.dir
16039 mkdir conf$$.dir 2>/dev/null
16040 fi
16041 if (echo >conf$$.file) 2>/dev/null; then
16042 if ln -s conf$$.file conf$$ 2>/dev/null; then
16043 as_ln_s='ln -s'
16044 # ... but there are two gotchas:
16045 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
16046 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
16047 # In both cases, we have to default to 'cp -pR'.
16048 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16049 as_ln_s='cp -pR'
16050 elif ln conf$$.file conf$$ 2>/dev/null; then
16051 as_ln_s=ln
16052 else
16053 as_ln_s='cp -pR'
16054 fi
16055 else
16056 as_ln_s='cp -pR'
16057 fi
16058 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16059 rmdir conf$$.dir 2>/dev/null
16060
16061
16062 # as_fn_mkdir_p
16063 # -------------
16064 # Create "$as_dir" as a directory, including parents if necessary.
16065 as_fn_mkdir_p ()
16066 {
16067
16068 case $as_dir in #(
16069 -*) as_dir=./$as_dir;;
16070 esac
16071 test -d "$as_dir" || eval $as_mkdir_p || {
16072 as_dirs=
16073 while :; do
16074 case $as_dir in #(
16075 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16076 *) as_qdir=$as_dir;;
16077 esac
16078 as_dirs="'$as_qdir' $as_dirs"
16079 as_dir=`$as_dirname -- "$as_dir" ||
16080 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16081 X"$as_dir" : 'X\(//\)[^/]' \| \
16082 X"$as_dir" : 'X\(//\)$' \| \
16083 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16084 printf "%s\n" X"$as_dir" |
16085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16086 s//\1/
16087 q
16088 }
16089 /^X\(\/\/\)[^/].*/{
16090 s//\1/
16091 q
16092 }
16093 /^X\(\/\/\)$/{
16094 s//\1/
16095 q
16096 }
16097 /^X\(\/\).*/{
16098 s//\1/
16099 q
16100 }
16101 s/.*/./; q'`
16102 test -d "$as_dir" && break
16103 done
16104 test -z "$as_dirs" || eval "mkdir $as_dirs"
16105 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16106
16107
16108 } # as_fn_mkdir_p
16109 if mkdir -p . 2>/dev/null; then
16110 as_mkdir_p='mkdir -p "$as_dir"'
16111 else
16112 test -d ./-p && rmdir ./-p
16113 as_mkdir_p=false
16114 fi
16115
16116
16117 # as_fn_executable_p FILE
16118 # -----------------------
16119 # Test if FILE is an executable regular file.
16120 as_fn_executable_p ()
16121 {
16122 test -f "$1" && test -x "$1"
16123 } # as_fn_executable_p
16124 as_test_x='test -x'
16125 as_executable_p=as_fn_executable_p
16126
16127 # Sed expression to map a string onto a valid CPP name.
16128 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16129 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
16130
16131 # Sed expression to map a string onto a valid variable name.
16132 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16133 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
16134
16135
16136 exec 6>&1
16137 ## --------------------------------- ##
16138 ## Main body of "$CONFIG_LT" script. ##
16139 ## --------------------------------- ##
16140 _ASEOF
16141 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16142
16143 cat >>"$CONFIG_LT" <<\_LTEOF
16144 lt_cl_silent=false
16145 exec 5>>config.log
16146 {
16147 echo
16148 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16149 ## Running $as_me. ##
16150 _ASBOX
16151 } >&5
16152
16153 lt_cl_help="\
16154 '$as_me' creates a local libtool stub from the current configuration,
16155 for use in further configure time tests before the real libtool is
16156 generated.
16157
16158 Usage: $0 [OPTIONS]
16159
16160 -h, --help print this help, then exit
16161 -V, --version print version number, then exit
16162 -q, --quiet do not print progress messages
16163 -d, --debug don't remove temporary files
16164
16165 Report bugs to <[email protected]>."
16166
16167 lt_cl_version="\
16168 musixtnt (TeX Live) config.lt 2016-01-30
16169 configured by $0, generated by GNU Autoconf 2.72.
16170
16171 Copyright (C) 2024 Free Software Foundation, Inc.
16172 This config.lt script is free software; the Free Software Foundation
16173 gives unlimited permission to copy, distribute and modify it."
16174
16175 while test 0 != $#
16176 do
16177 case $1 in
16178 --version | --v* | -V )
16179 echo "$lt_cl_version"; exit 0 ;;
16180 --help | --h* | -h )
16181 echo "$lt_cl_help"; exit 0 ;;
16182 --debug | --d* | -d )
16183 debug=: ;;
16184 --quiet | --q* | --silent | --s* | -q )
16185 lt_cl_silent=: ;;
16186
16187 -*) as_fn_error $? "unrecognized option: $1
16188 Try '$0 --help' for more information." "$LINENO" 5 ;;
16189
16190 *) as_fn_error $? "unrecognized argument: $1
16191 Try '$0 --help' for more information." "$LINENO" 5 ;;
16192 esac
16193 shift
16194 done
16195
16196 if $lt_cl_silent; then
16197 exec 6>/dev/null
16198 fi
16199 _LTEOF
16200
16201 cat >>"$CONFIG_LT" <<_LTEOF
16202
16203
16204 # The HP-UX ksh and POSIX shell print the target directory to stdout
16205 # if CDPATH is set.
16206 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16207
16208 sed_quote_subst='$sed_quote_subst'
16209 double_quote_subst='$double_quote_subst'
16210 delay_variable_subst='$delay_variable_subst'
16211 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16212 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16213 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16214 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16215 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16216 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16217 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16218 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16219 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16220 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16221 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16222 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16223 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16224 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16225 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16226 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16227 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16228 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16229 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16230 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16231 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16232 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16233 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16234 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16235 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16236 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16237 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16238 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16239 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16240 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16241 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16242 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16243 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16244 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16245 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16246 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16247 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16248 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16249 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16250 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16251 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16252 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16253 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16254 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16255 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16256 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16257 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16258 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16259 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16260 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16261 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16262 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16263 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16264 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16265 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16266 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16267 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16268 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16269 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16270 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16271 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16272 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"`'
16273 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16274 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16275 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16276 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16277 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16278 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16279 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16280 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16281 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16282 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16283 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16284 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16285 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16286 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16287 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16288 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16289 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16290 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16291 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16292 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16293 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16294 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16295 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16296 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16297 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16298 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16299 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16300 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16301 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16302 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16303 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16304 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16305 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16306 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16307 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16308 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16309 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16310 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16311 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16312 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16313 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16314 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16315 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16316 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16317 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16318 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16319 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16320 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16321 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16322 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16323 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16324 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16325 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16326 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16327 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16328 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16329 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16330 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16331 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16332 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16333 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16334 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16335 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16336 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16337 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16338 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16339 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16340 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16341 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16342 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16343 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16344 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16345 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16346 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16347 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16348 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16349
16350 LTCC='$LTCC'
16351 LTCFLAGS='$LTCFLAGS'
16352 compiler='$compiler_DEFAULT'
16353
16354 # A function that is used when there is no print builtin or printf.
16355 func_fallback_echo ()
16356 {
16357 eval 'cat <<_LTECHO_EOF
16358 \$1
16359 _LTECHO_EOF'
16360 }
16361
16362 # Quote evaled strings.
16363 for var in AS \
16364 DLLTOOL \
16365 OBJDUMP \
16366 SHELL \
16367 ECHO \
16368 PATH_SEPARATOR \
16369 SED \
16370 GREP \
16371 EGREP \
16372 FGREP \
16373 LD \
16374 NM \
16375 LN_S \
16376 lt_SP2NL \
16377 lt_NL2SP \
16378 reload_flag \
16379 FILECMD \
16380 deplibs_check_method \
16381 file_magic_cmd \
16382 file_magic_glob \
16383 want_nocaseglob \
16384 sharedlib_from_linklib_cmd \
16385 AR \
16386 archiver_list_spec \
16387 STRIP \
16388 RANLIB \
16389 CC \
16390 CFLAGS \
16391 compiler \
16392 lt_cv_sys_global_symbol_pipe \
16393 lt_cv_sys_global_symbol_to_cdecl \
16394 lt_cv_sys_global_symbol_to_import \
16395 lt_cv_sys_global_symbol_to_c_name_address \
16396 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16397 lt_cv_nm_interface \
16398 nm_file_list_spec \
16399 lt_cv_truncate_bin \
16400 lt_prog_compiler_no_builtin_flag \
16401 lt_prog_compiler_pic \
16402 lt_prog_compiler_wl \
16403 lt_prog_compiler_static \
16404 lt_cv_prog_compiler_c_o \
16405 need_locks \
16406 MANIFEST_TOOL \
16407 DSYMUTIL \
16408 NMEDIT \
16409 LIPO \
16410 OTOOL \
16411 OTOOL64 \
16412 shrext_cmds \
16413 export_dynamic_flag_spec \
16414 whole_archive_flag_spec \
16415 compiler_needs_object \
16416 with_gnu_ld \
16417 allow_undefined_flag \
16418 no_undefined_flag \
16419 hardcode_libdir_flag_spec \
16420 hardcode_libdir_separator \
16421 exclude_expsyms \
16422 include_expsyms \
16423 file_list_spec \
16424 variables_saved_for_relink \
16425 libname_spec \
16426 library_names_spec \
16427 soname_spec \
16428 install_override_mode \
16429 finish_eval \
16430 old_striplib \
16431 striplib; do
16432 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16433 *[\\\\\\\`\\"\\\$]*)
16434 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16435 ;;
16436 *)
16437 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16438 ;;
16439 esac
16440 done
16441
16442 # Double-quote double-evaled strings.
16443 for var in reload_cmds \
16444 old_postinstall_cmds \
16445 old_postuninstall_cmds \
16446 old_archive_cmds \
16447 extract_expsyms_cmds \
16448 old_archive_from_new_cmds \
16449 old_archive_from_expsyms_cmds \
16450 archive_cmds \
16451 archive_expsym_cmds \
16452 module_cmds \
16453 module_expsym_cmds \
16454 export_symbols_cmds \
16455 prelink_cmds \
16456 postlink_cmds \
16457 postinstall_cmds \
16458 postuninstall_cmds \
16459 finish_cmds \
16460 sys_lib_search_path_spec \
16461 configure_time_dlsearch_path \
16462 configure_time_lt_sys_library_path; do
16463 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16464 *[\\\\\\\`\\"\\\$]*)
16465 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16466 ;;
16467 *)
16468 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16469 ;;
16470 esac
16471 done
16472
16473 ac_aux_dir='$ac_aux_dir'
16474
16475 # See if we are running on zsh, and set the options that allow our
16476 # commands through without removal of \ escapes INIT.
16477 if test -n "\${ZSH_VERSION+set}"; then
16478 setopt NO_GLOB_SUBST
16479 fi
16480
16481
16482 PACKAGE='$PACKAGE'
16483 VERSION='$VERSION'
16484 RM='$RM'
16485 ofile='$ofile'
16486
16487
16488
16489 _LTEOF
16490
16491 cat >>"$CONFIG_LT" <<\_LTEOF
16492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
16493 printf "%s\n" "$as_me: creating $ofile" >&6;}
16494
16495
16496 # See if we are running on zsh, and set the options that allow our
16497 # commands through without removal of \ escapes.
16498 if test -n "${ZSH_VERSION+set}"; then
16499 setopt NO_GLOB_SUBST
16500 fi
16501
16502 cfgfile=${ofile}T
16503 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16504 $RM "$cfgfile"
16505
16506 cat <<_LT_EOF >> "$cfgfile"
16507 #! $SHELL
16508 # Generated automatically by $as_me ($PACKAGE) $VERSION
16509 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16510
16511 # Provide generalized library-building support services.
16512 # Written by Gordon Matzigkeit, 1996
16513
16514 # Copyright (C) 2024 Free Software Foundation, Inc.
16515 # This is free software; see the source for copying conditions. There is NO
16516 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16517
16518 # GNU Libtool is free software; you can redistribute it and/or modify
16519 # it under the terms of the GNU General Public License as published by
16520 # the Free Software Foundation; either version 2 of the License, or
16521 # (at your option) any later version.
16522 #
16523 # As a special exception to the GNU General Public License, if you
16524 # distribute this file as part of a program or library that is built
16525 # using GNU Libtool, you may include this file under the same
16526 # distribution terms that you use for the rest of that program.
16527 #
16528 # GNU Libtool is distributed in the hope that it will be useful, but
16529 # WITHOUT ANY WARRANTY; without even the implied warranty of
16530 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16531 # GNU General Public License for more details.
16532 #
16533 # You should have received a copy of the GNU General Public License
16534 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16535
16536
16537 # The names of the tagged configurations supported by this script.
16538 available_tags=''
16539
16540 # Configured defaults for sys_lib_dlsearch_path munging.
16541 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16542
16543 # ### BEGIN LIBTOOL CONFIG
16544
16545 # Which release of libtool.m4 was used?
16546 macro_version=$macro_version
16547 macro_revision=$macro_revision
16548
16549 # Assembler program.
16550 AS=$lt_AS
16551
16552 # DLL creation program.
16553 DLLTOOL=$lt_DLLTOOL
16554
16555 # Object dumper program.
16556 OBJDUMP=$lt_OBJDUMP
16557
16558 # Whether or not to build shared libraries.
16559 build_libtool_libs=$enable_shared
16560
16561 # Whether or not to build static libraries.
16562 build_old_libs=$enable_static
16563
16564 # What type of objects to build.
16565 pic_mode=$pic_mode
16566
16567 # Whether or not to optimize for fast installation.
16568 fast_install=$enable_fast_install
16569
16570 # Shared archive member basename,for filename based shared library versioning on AIX.
16571 shared_archive_member_spec=$shared_archive_member_spec
16572
16573 # Shell to use when invoking shell scripts.
16574 SHELL=$lt_SHELL
16575
16576 # An echo program that protects backslashes.
16577 ECHO=$lt_ECHO
16578
16579 # The PATH separator for the build system.
16580 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16581
16582 # The host system.
16583 host_alias=$host_alias
16584 host=$host
16585 host_os=$host_os
16586
16587 # The build system.
16588 build_alias=$build_alias
16589 build=$build
16590 build_os=$build_os
16591
16592 # A sed program that does not truncate output.
16593 SED=$lt_SED
16594
16595 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16596 Xsed="\$SED -e 1s/^X//"
16597
16598 # A grep program that handles long lines.
16599 GREP=$lt_GREP
16600
16601 # An ERE matcher.
16602 EGREP=$lt_EGREP
16603
16604 # A literal string matcher.
16605 FGREP=$lt_FGREP
16606
16607 # A BSD- or MS-compatible name lister.
16608 NM=$lt_NM
16609
16610 # Whether we need soft or hard links.
16611 LN_S=$lt_LN_S
16612
16613 # What is the maximum length of a command?
16614 max_cmd_len=$max_cmd_len
16615
16616 # Object file suffix (normally "o").
16617 objext=$ac_objext
16618
16619 # Executable file suffix (normally "").
16620 exeext=$exeext
16621
16622 # whether the shell understands "unset".
16623 lt_unset=$lt_unset
16624
16625 # turn spaces into newlines.
16626 SP2NL=$lt_lt_SP2NL
16627
16628 # turn newlines into spaces.
16629 NL2SP=$lt_lt_NL2SP
16630
16631 # convert \$build file names to \$host format.
16632 to_host_file_cmd=$lt_cv_to_host_file_cmd
16633
16634 # convert \$build files to toolchain format.
16635 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16636
16637 # A file(cmd) program that detects file types.
16638 FILECMD=$lt_FILECMD
16639
16640 # Method to check whether dependent libraries are shared objects.
16641 deplibs_check_method=$lt_deplibs_check_method
16642
16643 # Command to use when deplibs_check_method = "file_magic".
16644 file_magic_cmd=$lt_file_magic_cmd
16645
16646 # How to find potential files when deplibs_check_method = "file_magic".
16647 file_magic_glob=$lt_file_magic_glob
16648
16649 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16650 want_nocaseglob=$lt_want_nocaseglob
16651
16652 # Command to associate shared and link libraries.
16653 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16654
16655 # The archiver.
16656 AR=$lt_AR
16657
16658 # Flags to create an archive (by configure).
16659 lt_ar_flags=$lt_ar_flags
16660
16661 # Flags to create an archive.
16662 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16663
16664 # How to feed a file listing to the archiver.
16665 archiver_list_spec=$lt_archiver_list_spec
16666
16667 # A symbol stripping program.
16668 STRIP=$lt_STRIP
16669
16670 # Commands used to install an old-style archive.
16671 RANLIB=$lt_RANLIB
16672 old_postinstall_cmds=$lt_old_postinstall_cmds
16673 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16674
16675 # Whether to use a lock for old archive extraction.
16676 lock_old_archive_extraction=$lock_old_archive_extraction
16677
16678 # A C compiler.
16679 LTCC=$lt_CC
16680
16681 # LTCC compiler flags.
16682 LTCFLAGS=$lt_CFLAGS
16683
16684 # Take the output of nm and produce a listing of raw symbols and C names.
16685 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16686
16687 # Transform the output of nm in a proper C declaration.
16688 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16689
16690 # Transform the output of nm into a list of symbols to manually relocate.
16691 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16692
16693 # Transform the output of nm in a C name address pair.
16694 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16695
16696 # Transform the output of nm in a C name address pair when lib prefix is needed.
16697 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16698
16699 # The name lister interface.
16700 nm_interface=$lt_lt_cv_nm_interface
16701
16702 # Specify filename containing input files for \$NM.
16703 nm_file_list_spec=$lt_nm_file_list_spec
16704
16705 # The root where to search for dependent libraries,and where our libraries should be installed.
16706 lt_sysroot=$lt_sysroot
16707
16708 # Command to truncate a binary pipe.
16709 lt_truncate_bin=$lt_lt_cv_truncate_bin
16710
16711 # The name of the directory that contains temporary libtool files.
16712 objdir=$objdir
16713
16714 # Used to examine libraries when file_magic_cmd begins with "file".
16715 MAGIC_CMD=$MAGIC_CMD
16716
16717 # Must we lock files when doing compilation?
16718 need_locks=$lt_need_locks
16719
16720 # Manifest tool.
16721 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16722
16723 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16724 DSYMUTIL=$lt_DSYMUTIL
16725
16726 # Tool to change global to local symbols on Mac OS X.
16727 NMEDIT=$lt_NMEDIT
16728
16729 # Tool to manipulate fat objects and archives on Mac OS X.
16730 LIPO=$lt_LIPO
16731
16732 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16733 OTOOL=$lt_OTOOL
16734
16735 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16736 OTOOL64=$lt_OTOOL64
16737
16738 # Old archive suffix (normally "a").
16739 libext=$libext
16740
16741 # Shared library suffix (normally ".so").
16742 shrext_cmds=$lt_shrext_cmds
16743
16744 # The commands to extract the exported symbol list from a shared archive.
16745 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16746
16747 # Variables whose values should be saved in libtool wrapper scripts and
16748 # restored at link time.
16749 variables_saved_for_relink=$lt_variables_saved_for_relink
16750
16751 # Do we need the "lib" prefix for modules?
16752 need_lib_prefix=$need_lib_prefix
16753
16754 # Do we need a version for libraries?
16755 need_version=$need_version
16756
16757 # Library versioning type.
16758 version_type=$version_type
16759
16760 # Shared library runtime path variable.
16761 runpath_var=$runpath_var
16762
16763 # Shared library path variable.
16764 shlibpath_var=$shlibpath_var
16765
16766 # Is shlibpath searched before the hard-coded library search path?
16767 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16768
16769 # Format of library name prefix.
16770 libname_spec=$lt_libname_spec
16771
16772 # List of archive names. First name is the real one, the rest are links.
16773 # The last name is the one that the linker finds with -lNAME
16774 library_names_spec=$lt_library_names_spec
16775
16776 # The coded name of the library, if different from the real name.
16777 soname_spec=$lt_soname_spec
16778
16779 # Permission mode override for installation of shared libraries.
16780 install_override_mode=$lt_install_override_mode
16781
16782 # Command to use after installation of a shared archive.
16783 postinstall_cmds=$lt_postinstall_cmds
16784
16785 # Command to use after uninstallation of a shared archive.
16786 postuninstall_cmds=$lt_postuninstall_cmds
16787
16788 # Commands used to finish a libtool library installation in a directory.
16789 finish_cmds=$lt_finish_cmds
16790
16791 # As "finish_cmds", except a single script fragment to be evaled but
16792 # not shown.
16793 finish_eval=$lt_finish_eval
16794
16795 # Whether we should hardcode library paths into libraries.
16796 hardcode_into_libs=$hardcode_into_libs
16797
16798 # Compile-time system search path for libraries.
16799 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16800
16801 # Detected run-time system search path for libraries.
16802 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16803
16804 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16805 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16806
16807 # Whether dlopen is supported.
16808 dlopen_support=$enable_dlopen
16809
16810 # Whether dlopen of programs is supported.
16811 dlopen_self=$enable_dlopen_self
16812
16813 # Whether dlopen of statically linked programs is supported.
16814 dlopen_self_static=$enable_dlopen_self_static
16815
16816 # Commands to strip libraries.
16817 old_striplib=$lt_old_striplib
16818 striplib=$lt_striplib
16819
16820
16821 # The linker used to build libraries.
16822 LD=$lt_LD
16823
16824 # How to create reloadable object files.
16825 reload_flag=$lt_reload_flag
16826 reload_cmds=$lt_reload_cmds
16827
16828 # Commands used to build an old-style archive.
16829 old_archive_cmds=$lt_old_archive_cmds
16830
16831 # A language specific compiler.
16832 CC=$lt_compiler
16833
16834 # Is the compiler the GNU compiler?
16835 with_gcc=$GCC
16836
16837 # Compiler flag to turn off builtin functions.
16838 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16839
16840 # Additional compiler flags for building library objects.
16841 pic_flag=$lt_lt_prog_compiler_pic
16842
16843 # How to pass a linker flag through the compiler.
16844 wl=$lt_lt_prog_compiler_wl
16845
16846 # Compiler flag to prevent dynamic linking.
16847 link_static_flag=$lt_lt_prog_compiler_static
16848
16849 # Does compiler simultaneously support -c and -o options?
16850 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16851
16852 # Whether or not to add -lc for building shared libraries.
16853 build_libtool_need_lc=$archive_cmds_need_lc
16854
16855 # Whether or not to disallow shared libs when runtime libs are static.
16856 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16857
16858 # Compiler flag to allow reflexive dlopens.
16859 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16860
16861 # Compiler flag to generate shared objects directly from archives.
16862 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16863
16864 # Whether the compiler copes with passing no objects directly.
16865 compiler_needs_object=$lt_compiler_needs_object
16866
16867 # Create an old-style archive from a shared archive.
16868 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16869
16870 # Create a temporary old-style archive to link instead of a shared archive.
16871 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16872
16873 # Commands used to build a shared archive.
16874 archive_cmds=$lt_archive_cmds
16875 archive_expsym_cmds=$lt_archive_expsym_cmds
16876
16877 # Commands used to build a loadable module if different from building
16878 # a shared archive.
16879 module_cmds=$lt_module_cmds
16880 module_expsym_cmds=$lt_module_expsym_cmds
16881
16882 # Whether we are building with GNU ld or not.
16883 with_gnu_ld=$lt_with_gnu_ld
16884
16885 # Flag that allows shared libraries with undefined symbols to be built.
16886 allow_undefined_flag=$lt_allow_undefined_flag
16887
16888 # Flag that enforces no undefined symbols.
16889 no_undefined_flag=$lt_no_undefined_flag
16890
16891 # Flag to hardcode \$libdir into a binary during linking.
16892 # This must work even if \$libdir does not exist
16893 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16894
16895 # Whether we need a single "-rpath" flag with a separated argument.
16896 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16897
16898 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16899 # DIR into the resulting binary.
16900 hardcode_direct=$hardcode_direct
16901
16902 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16903 # DIR into the resulting binary and the resulting library dependency is
16904 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
16905 # library is relocated.
16906 hardcode_direct_absolute=$hardcode_direct_absolute
16907
16908 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16909 # into the resulting binary.
16910 hardcode_minus_L=$hardcode_minus_L
16911
16912 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16913 # into the resulting binary.
16914 hardcode_shlibpath_var=$hardcode_shlibpath_var
16915
16916 # Set to "yes" if building a shared library automatically hardcodes DIR
16917 # into the library and all subsequent libraries and executables linked
16918 # against it.
16919 hardcode_automatic=$hardcode_automatic
16920
16921 # Set to yes if linker adds runtime paths of dependent libraries
16922 # to runtime path list.
16923 inherit_rpath=$inherit_rpath
16924
16925 # Whether libtool must link a program against all its dependency libraries.
16926 link_all_deplibs=$link_all_deplibs
16927
16928 # Set to "yes" if exported symbols are required.
16929 always_export_symbols=$always_export_symbols
16930
16931 # The commands to list exported symbols.
16932 export_symbols_cmds=$lt_export_symbols_cmds
16933
16934 # Symbols that should not be listed in the preloaded symbols.
16935 exclude_expsyms=$lt_exclude_expsyms
16936
16937 # Symbols that must always be exported.
16938 include_expsyms=$lt_include_expsyms
16939
16940 # Commands necessary for linking programs (against libraries) with templates.
16941 prelink_cmds=$lt_prelink_cmds
16942
16943 # Commands necessary for finishing linking programs.
16944 postlink_cmds=$lt_postlink_cmds
16945
16946 # Specify filename containing input files.
16947 file_list_spec=$lt_file_list_spec
16948
16949 # How to hardcode a shared library path into an executable.
16950 hardcode_action=$hardcode_action
16951
16952 # ### END LIBTOOL CONFIG
16953
16954 _LT_EOF
16955
16956 cat <<'_LT_EOF' >> "$cfgfile"
16957
16958 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16959
16960 # func_munge_path_list VARIABLE PATH
16961 # -----------------------------------
16962 # VARIABLE is name of variable containing _space_ separated list of
16963 # directories to be munged by the contents of PATH, which is string
16964 # having a format:
16965 # "DIR[:DIR]:"
16966 # string "DIR[ DIR]" will be prepended to VARIABLE
16967 # ":DIR[:DIR]"
16968 # string "DIR[ DIR]" will be appended to VARIABLE
16969 # "DIRP[:DIRP]::[DIRA:]DIRA"
16970 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16971 # "DIRA[ DIRA]" will be appended to VARIABLE
16972 # "DIR[:DIR]"
16973 # VARIABLE will be replaced by "DIR[ DIR]"
16974 func_munge_path_list ()
16975 {
16976 case x$2 in
16977 x)
16978 ;;
16979 *:)
16980 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16981 ;;
16982 x:*)
16983 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16984 ;;
16985 *::*)
16986 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16987 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16988 ;;
16989 *)
16990 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16991 ;;
16992 esac
16993 }
16994
16995
16996 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16997 func_cc_basename ()
16998 {
16999 for cc_temp in $*""; do
17000 case $cc_temp in
17001 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17002 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17003 \-*) ;;
17004 *) break;;
17005 esac
17006 done
17007 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17008 }
17009
17010
17011 # ### END FUNCTIONS SHARED WITH CONFIGURE
17012
17013 _LT_EOF
17014
17015 case $host_os in
17016 aix3*)
17017 cat <<\_LT_EOF >> "$cfgfile"
17018 # AIX sometimes has problems with the GCC collect2 program. For some
17019 # reason, if we set the COLLECT_NAMES environment variable, the problems
17020 # vanish in a puff of smoke.
17021 if test set != "${COLLECT_NAMES+set}"; then
17022 COLLECT_NAMES=
17023 export COLLECT_NAMES
17024 fi
17025 _LT_EOF
17026 ;;
17027 esac
17028
17029
17030
17031 ltmain=$ac_aux_dir/ltmain.sh
17032
17033
17034 # We use sed instead of cat because bash on DJGPP gets confused if
17035 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17036 # text mode, it properly converts lines to CR/LF. This bash problem
17037 # is reportedly fixed, but why not run on old versions too?
17038 $SED '$q' "$ltmain" >> "$cfgfile" \
17039 || (rm -f "$cfgfile"; exit 1)
17040
17041 mv -f "$cfgfile" "$ofile" ||
17042 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17043 chmod +x "$ofile"
17044
17045
17046 as_fn_exit 0
17047 _LTEOF
17048 chmod +x "$CONFIG_LT"
17049
17050 # configure is writing to config.log, but config.lt does its own redirection,
17051 # appending to config.log, which fails on DOS, as config.log is still kept
17052 # open by configure. Here we exec the FD to /dev/null, effectively closing
17053 # config.log, so it can be properly (re)opened and appended to by config.lt.
17054 lt_cl_success=:
17055 test yes = "$silent" &&
17056 lt_config_lt_args="$lt_config_lt_args --quiet"
17057 exec 5>/dev/null
17058 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17059 exec 5>>config.log
17060 $lt_cl_success || as_fn_exit 1
17061
17062 #
17063 #
17064 ac_ext=c
17065 ac_cpp='$CPP $CPPFLAGS'
17066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17069 ac_link="./libtool --mode=link --tag=CC $ac_link"
17070
17071 if test -n "$ac_tool_prefix"; then
17072 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17073 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17075 printf %s "checking for $ac_word... " >&6; }
17076 if test ${ac_cv_prog_PKG_CONFIG+y}
17077 then :
17078 printf %s "(cached) " >&6
17079 else case e in #(
17080 e) if test -n "$PKG_CONFIG"; then
17081 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
17082 else
17083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17084 for as_dir in $PATH
17085 do
17086 IFS=$as_save_IFS
17087 case $as_dir in #(((
17088 '') as_dir=./ ;;
17089 */) ;;
17090 *) as_dir=$as_dir/ ;;
17091 esac
17092 for ac_exec_ext in '' $ac_executable_extensions; do
17093 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17094 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17096 break 2
17097 fi
17098 done
17099 done
17100 IFS=$as_save_IFS
17101
17102 fi ;;
17103 esac
17104 fi
17105 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17106 if test -n "$PKG_CONFIG"; then
17107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17108 printf "%s\n" "$PKG_CONFIG" >&6; }
17109 else
17110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17111 printf "%s\n" "no" >&6; }
17112 fi
17113
17114
17115 fi
17116 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17117 ac_ct_PKG_CONFIG=$PKG_CONFIG
17118 # Extract the first word of "pkg-config", so it can be a program name with args.
17119 set dummy pkg-config; ac_word=$2
17120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17121 printf %s "checking for $ac_word... " >&6; }
17122 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17123 then :
17124 printf %s "(cached) " >&6
17125 else case e in #(
17126 e) if test -n "$ac_ct_PKG_CONFIG"; then
17127 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17128 else
17129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17130 for as_dir in $PATH
17131 do
17132 IFS=$as_save_IFS
17133 case $as_dir in #(((
17134 '') as_dir=./ ;;
17135 */) ;;
17136 *) as_dir=$as_dir/ ;;
17137 esac
17138 for ac_exec_ext in '' $ac_executable_extensions; do
17139 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17140 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17142 break 2
17143 fi
17144 done
17145 done
17146 IFS=$as_save_IFS
17147
17148 fi ;;
17149 esac
17150 fi
17151 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17152 if test -n "$ac_ct_PKG_CONFIG"; then
17153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17154 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17155 else
17156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17157 printf "%s\n" "no" >&6; }
17158 fi
17159
17160 if test "x$ac_ct_PKG_CONFIG" = x; then
17161 PKG_CONFIG="false"
17162 else
17163 case $cross_compiling:$ac_tool_warned in
17164 yes:)
17165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17166 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17167 ac_tool_warned=yes ;;
17168 esac
17169 PKG_CONFIG=$ac_ct_PKG_CONFIG
17170 fi
17171 else
17172 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17173 fi
17174
17175 ##tldbg _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags.
17176 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
17177 ##tldbg _KPSE_LIB_FLAGS_TL: kpathsea (kpathsea) lt.
17178
17179 # Check whether --with-system-kpathsea was given.
17180 if test ${with_system_kpathsea+y}
17181 then :
17182 withval=$with_system_kpathsea;
17183 fi
17184 if test "x$with_system_kpathsea" = xyes; then
17185 if $PKG_CONFIG kpathsea; then
17186 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
17187 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
17188 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17189 as_fn_error $? "did not find kpathsea" "$LINENO" 5
17190 fi
17191 else
17192 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
17193 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
17194 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
17195 KPATHSEA_RULE='# Rebuild libkpathsea
17196 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
17197 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
17198 ${top_builddir}/../kpathsea/paths.h:
17199 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17200 fi
17201
17202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
17203 printf %s "checking if libkpathsea supports debugging... " >&6; }
17204 if test ${kpse_cv_kpse_debug+y}
17205 then :
17206 printf %s "(cached) " >&6
17207 else case e in #(
17208 e) eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17209 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17210
17211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17213 #include <kpathsea/kpathsea.h>
17214 int
17215 main (void)
17216 {
17217 FILE *f = fopen("f", "r")
17218 ;
17219 return 0;
17220 }
17221 _ACEOF
17222 if ac_fn_c_try_link "$LINENO"
17223 then :
17224 kpse_cv_kpse_debug=yes
17225 else case e in #(
17226 e) kpse_cv_kpse_debug=no ;;
17227 esac
17228 fi
17229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17230 conftest$ac_exeext conftest.$ac_ext
17231 CPPFLAGS=$kpse_save_CPPFLAGS
17232 LIBS=$kpse_save_LIBS
17233 ;;
17234 esac
17235 fi
17236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
17237 printf "%s\n" "$kpse_cv_kpse_debug" >&6; }
17238 if test "x$kpse_cv_kpse_debug" != xyes
17239 then :
17240 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
17241 fi
17242
17243
17244 MUSIXTNT_TREE=musixtnt-src
17245
17246
17247 ac_config_files="$ac_config_files Makefile"
17248
17249
17250 cat >confcache <<\_ACEOF
17251 # This file is a shell script that caches the results of configure
17252 # tests run on this system so they can be shared between configure
17253 # scripts and configure runs, see configure's option --config-cache.
17254 # It is not useful on other systems. If it contains results you don't
17255 # want to keep, you may remove or edit it.
17256 #
17257 # config.status only pays attention to the cache file if you give it
17258 # the --recheck option to rerun configure.
17259 #
17260 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
17261 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
17262 # following values.
17263
17264 _ACEOF
17265
17266 # The following way of writing the cache mishandles newlines in values,
17267 # but we know of no workaround that is simple, portable, and efficient.
17268 # So, we kill variables containing newlines.
17269 # Ultrix sh set writes to stderr and can't be redirected directly,
17270 # and sets the high bit in the cache file unless we assign to the vars.
17271 (
17272 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17273 eval ac_val=\$$ac_var
17274 case $ac_val in #(
17275 *${as_nl}*)
17276 case $ac_var in #(
17277 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17278 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17279 esac
17280 case $ac_var in #(
17281 _ | IFS | as_nl) ;; #(
17282 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17283 *) { eval $ac_var=; unset $ac_var;} ;;
17284 esac ;;
17285 esac
17286 done
17287
17288 (set) 2>&1 |
17289 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17290 *${as_nl}ac_space=\ *)
17291 # 'set' does not quote correctly, so add quotes: double-quote
17292 # substitution turns \\\\ into \\, and sed turns \\ into \.
17293 sed -n \
17294 "s/'/'\\\\''/g;
17295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17296 ;; #(
17297 *)
17298 # 'set' quotes correctly as required by POSIX, so do not add quotes.
17299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17300 ;;
17301 esac |
17302 sort
17303 ) |
17304 sed '
17305 /^ac_cv_env_/b end
17306 t clear
17307 :clear
17308 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
17309 t end
17310 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17311 :end' >>confcache
17312 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17313 if test -w "$cache_file"; then
17314 if test "x$cache_file" != "x/dev/null"; then
17315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17316 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
17317 if test ! -f "$cache_file" || test -h "$cache_file"; then
17318 cat confcache >"$cache_file"
17319 else
17320 case $cache_file in #(
17321 */* | ?:*)
17322 mv -f confcache "$cache_file"$$ &&
17323 mv -f "$cache_file"$$ "$cache_file" ;; #(
17324 *)
17325 mv -f confcache "$cache_file" ;;
17326 esac
17327 fi
17328 fi
17329 else
17330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17331 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
17332 fi
17333 fi
17334 rm -f confcache
17335
17336 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17337 # Let make expand exec_prefix.
17338 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17339
17340 DEFS=-DHAVE_CONFIG_H
17341
17342 ac_libobjs=
17343 ac_ltlibobjs=
17344 U=
17345 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17346 # 1. Remove the extension, and $U if already installed.
17347 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17348 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
17349 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17350 # will be set to the directory where LIBOBJS objects are built.
17351 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17352 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17353 done
17354 LIBOBJS=$ac_libobjs
17355
17356 LTLIBOBJS=$ac_ltlibobjs
17357
17358
17359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17360 printf %s "checking that generated files are newer than configure... " >&6; }
17361 if test -n "$am_sleep_pid"; then
17362 # Hide warnings about reused PIDs.
17363 wait $am_sleep_pid 2>/dev/null
17364 fi
17365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
17366 printf "%s\n" "done" >&6; }
17367 case $enable_silent_rules in # (((
17368 yes) AM_DEFAULT_VERBOSITY=0;;
17369 no) AM_DEFAULT_VERBOSITY=1;;
17370 esac
17371 if test $am_cv_make_support_nested_variables = yes; then
17372 AM_V='$(V)'
17373 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17374 else
17375 AM_V=$AM_DEFAULT_VERBOSITY
17376 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17377 fi
17378
17379 if test -n "$EXEEXT"; then
17380 am__EXEEXT_TRUE=
17381 am__EXEEXT_FALSE='#'
17382 else
17383 am__EXEEXT_TRUE='#'
17384 am__EXEEXT_FALSE=
17385 fi
17386
17387 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17388 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17390 fi
17391 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17392 as_fn_error $? "conditional \"AMDEP\" was never defined.
17393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17394 fi
17395 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17396 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17398 fi
17399 # Check whether --enable-year2038 was given.
17400 if test ${enable_year2038+y}
17401 then :
17402 enableval=$enable_year2038;
17403 fi
17404
17405
17406 : "${CONFIG_STATUS=./config.status}"
17407 ac_write_fail=0
17408 ac_clean_files_save=$ac_clean_files
17409 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17411 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17412 as_write_fail=0
17413 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17414 #! $SHELL
17415 # Generated by $as_me.
17416 # Run this file to recreate the current configuration.
17417 # Compiler output produced by configure, useful for debugging
17418 # configure, is in config.log if it exists.
17419
17420 debug=false
17421 ac_cs_recheck=false
17422 ac_cs_silent=false
17423
17424 SHELL=\${CONFIG_SHELL-$SHELL}
17425 export SHELL
17426 _ASEOF
17427 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17428 ## -------------------- ##
17429 ## M4sh Initialization. ##
17430 ## -------------------- ##
17431
17432 # Be more Bourne compatible
17433 DUALCASE=1; export DUALCASE # for MKS sh
17434 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17435 then :
17436 emulate sh
17437 NULLCMD=:
17438 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17439 # is contrary to our usage. Disable this feature.
17440 alias -g '${1+"$@"}'='"$@"'
17441 setopt NO_GLOB_SUBST
17442 else case e in #(
17443 e) case `(set -o) 2>/dev/null` in #(
17444 *posix*) :
17445 set -o posix ;; #(
17446 *) :
17447 ;;
17448 esac ;;
17449 esac
17450 fi
17451
17452
17453
17454 # Reset variables that may have inherited troublesome values from
17455 # the environment.
17456
17457 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17458 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17459 # side effect of setting IFS to empty, thus disabling word splitting.)
17460 # Quoting is to prevent editors from complaining about space-tab.
17461 as_nl='
17462 '
17463 export as_nl
17464 IFS=" "" $as_nl"
17465
17466 PS1='$ '
17467 PS2='> '
17468 PS4='+ '
17469
17470 # Ensure predictable behavior from utilities with locale-dependent output.
17471 LC_ALL=C
17472 export LC_ALL
17473 LANGUAGE=C
17474 export LANGUAGE
17475
17476 # We cannot yet rely on "unset" to work, but we need these variables
17477 # to be unset--not just set to an empty or harmless value--now, to
17478 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17479 # also avoids known problems related to "unset" and subshell syntax
17480 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17481 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17482 do eval test \${$as_var+y} \
17483 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17484 done
17485
17486 # Ensure that fds 0, 1, and 2 are open.
17487 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17488 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17489 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17490
17491 # The user is always right.
17492 if ${PATH_SEPARATOR+false} :; then
17493 PATH_SEPARATOR=:
17494 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17495 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17496 PATH_SEPARATOR=';'
17497 }
17498 fi
17499
17500
17501 # Find who we are. Look in the path if we contain no directory separator.
17502 as_myself=
17503 case $0 in #((
17504 *[\\/]* ) as_myself=$0 ;;
17505 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17506 for as_dir in $PATH
17507 do
17508 IFS=$as_save_IFS
17509 case $as_dir in #(((
17510 '') as_dir=./ ;;
17511 */) ;;
17512 *) as_dir=$as_dir/ ;;
17513 esac
17514 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17515 done
17516 IFS=$as_save_IFS
17517
17518 ;;
17519 esac
17520 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17521 # in which case we are not to be found in the path.
17522 if test "x$as_myself" = x; then
17523 as_myself=$0
17524 fi
17525 if test ! -f "$as_myself"; then
17526 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17527 exit 1
17528 fi
17529
17530
17531
17532 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17533 # ----------------------------------------
17534 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17535 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17536 # script with STATUS, using 1 if that was 0.
17537 as_fn_error ()
17538 {
17539 as_status=$1; test $as_status -eq 0 && as_status=1
17540 if test "$4"; then
17541 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17543 fi
17544 printf "%s\n" "$as_me: error: $2" >&2
17545 as_fn_exit $as_status
17546 } # as_fn_error
17547
17548
17549 # as_fn_set_status STATUS
17550 # -----------------------
17551 # Set $? to STATUS, without forking.
17552 as_fn_set_status ()
17553 {
17554 return $1
17555 } # as_fn_set_status
17556
17557 # as_fn_exit STATUS
17558 # -----------------
17559 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17560 as_fn_exit ()
17561 {
17562 set +e
17563 as_fn_set_status $1
17564 exit $1
17565 } # as_fn_exit
17566
17567 # as_fn_unset VAR
17568 # ---------------
17569 # Portably unset VAR.
17570 as_fn_unset ()
17571 {
17572 { eval $1=; unset $1;}
17573 }
17574 as_unset=as_fn_unset
17575
17576 # as_fn_append VAR VALUE
17577 # ----------------------
17578 # Append the text in VALUE to the end of the definition contained in VAR. Take
17579 # advantage of any shell optimizations that allow amortized linear growth over
17580 # repeated appends, instead of the typical quadratic growth present in naive
17581 # implementations.
17582 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17583 then :
17584 eval 'as_fn_append ()
17585 {
17586 eval $1+=\$2
17587 }'
17588 else case e in #(
17589 e) as_fn_append ()
17590 {
17591 eval $1=\$$1\$2
17592 } ;;
17593 esac
17594 fi # as_fn_append
17595
17596 # as_fn_arith ARG...
17597 # ------------------
17598 # Perform arithmetic evaluation on the ARGs, and store the result in the
17599 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17600 # must be portable across $(()) and expr.
17601 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17602 then :
17603 eval 'as_fn_arith ()
17604 {
17605 as_val=$(( $* ))
17606 }'
17607 else case e in #(
17608 e) as_fn_arith ()
17609 {
17610 as_val=`expr "$@" || test $? -eq 1`
17611 } ;;
17612 esac
17613 fi # as_fn_arith
17614
17615
17616 if expr a : '\(a\)' >/dev/null 2>&1 &&
17617 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17618 as_expr=expr
17619 else
17620 as_expr=false
17621 fi
17622
17623 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17624 as_basename=basename
17625 else
17626 as_basename=false
17627 fi
17628
17629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17630 as_dirname=dirname
17631 else
17632 as_dirname=false
17633 fi
17634
17635 as_me=`$as_basename -- "$0" ||
17636 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17637 X"$0" : 'X\(//\)$' \| \
17638 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17639 printf "%s\n" X/"$0" |
17640 sed '/^.*\/\([^/][^/]*\)\/*$/{
17641 s//\1/
17642 q
17643 }
17644 /^X\/\(\/\/\)$/{
17645 s//\1/
17646 q
17647 }
17648 /^X\/\(\/\).*/{
17649 s//\1/
17650 q
17651 }
17652 s/.*/./; q'`
17653
17654 # Avoid depending upon Character Ranges.
17655 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17656 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17657 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17658 as_cr_digits='0123456789'
17659 as_cr_alnum=$as_cr_Letters$as_cr_digits
17660
17661
17662 # Determine whether it's possible to make 'echo' print without a newline.
17663 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17664 # for compatibility with existing Makefiles.
17665 ECHO_C= ECHO_N= ECHO_T=
17666 case `echo -n x` in #(((((
17667 -n*)
17668 case `echo 'xy\c'` in
17669 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17670 xy) ECHO_C='\c';;
17671 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17672 ECHO_T=' ';;
17673 esac;;
17674 *)
17675 ECHO_N='-n';;
17676 esac
17677
17678 # For backward compatibility with old third-party macros, we provide
17679 # the shell variables $as_echo and $as_echo_n. New code should use
17680 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
17681 as_echo='printf %s\n'
17682 as_echo_n='printf %s'
17683
17684 rm -f conf$$ conf$$.exe conf$$.file
17685 if test -d conf$$.dir; then
17686 rm -f conf$$.dir/conf$$.file
17687 else
17688 rm -f conf$$.dir
17689 mkdir conf$$.dir 2>/dev/null
17690 fi
17691 if (echo >conf$$.file) 2>/dev/null; then
17692 if ln -s conf$$.file conf$$ 2>/dev/null; then
17693 as_ln_s='ln -s'
17694 # ... but there are two gotchas:
17695 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
17696 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
17697 # In both cases, we have to default to 'cp -pR'.
17698 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17699 as_ln_s='cp -pR'
17700 elif ln conf$$.file conf$$ 2>/dev/null; then
17701 as_ln_s=ln
17702 else
17703 as_ln_s='cp -pR'
17704 fi
17705 else
17706 as_ln_s='cp -pR'
17707 fi
17708 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17709 rmdir conf$$.dir 2>/dev/null
17710
17711
17712 # as_fn_mkdir_p
17713 # -------------
17714 # Create "$as_dir" as a directory, including parents if necessary.
17715 as_fn_mkdir_p ()
17716 {
17717
17718 case $as_dir in #(
17719 -*) as_dir=./$as_dir;;
17720 esac
17721 test -d "$as_dir" || eval $as_mkdir_p || {
17722 as_dirs=
17723 while :; do
17724 case $as_dir in #(
17725 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17726 *) as_qdir=$as_dir;;
17727 esac
17728 as_dirs="'$as_qdir' $as_dirs"
17729 as_dir=`$as_dirname -- "$as_dir" ||
17730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17731 X"$as_dir" : 'X\(//\)[^/]' \| \
17732 X"$as_dir" : 'X\(//\)$' \| \
17733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17734 printf "%s\n" X"$as_dir" |
17735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17736 s//\1/
17737 q
17738 }
17739 /^X\(\/\/\)[^/].*/{
17740 s//\1/
17741 q
17742 }
17743 /^X\(\/\/\)$/{
17744 s//\1/
17745 q
17746 }
17747 /^X\(\/\).*/{
17748 s//\1/
17749 q
17750 }
17751 s/.*/./; q'`
17752 test -d "$as_dir" && break
17753 done
17754 test -z "$as_dirs" || eval "mkdir $as_dirs"
17755 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17756
17757
17758 } # as_fn_mkdir_p
17759 if mkdir -p . 2>/dev/null; then
17760 as_mkdir_p='mkdir -p "$as_dir"'
17761 else
17762 test -d ./-p && rmdir ./-p
17763 as_mkdir_p=false
17764 fi
17765
17766
17767 # as_fn_executable_p FILE
17768 # -----------------------
17769 # Test if FILE is an executable regular file.
17770 as_fn_executable_p ()
17771 {
17772 test -f "$1" && test -x "$1"
17773 } # as_fn_executable_p
17774 as_test_x='test -x'
17775 as_executable_p=as_fn_executable_p
17776
17777 # Sed expression to map a string onto a valid CPP name.
17778 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
17779 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
17780
17781 # Sed expression to map a string onto a valid variable name.
17782 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
17783 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
17784
17785
17786 exec 6>&1
17787 ## ----------------------------------- ##
17788 ## Main body of $CONFIG_STATUS script. ##
17789 ## ----------------------------------- ##
17790 _ASEOF
17791 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17792
17793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17794 # Save the log message, to keep $0 and so on meaningful, and to
17795 # report actual input values of CONFIG_FILES etc. instead of their
17796 # values after options handling.
17797 ac_log="
17798 This file was extended by musixtnt (TeX Live) $as_me 2016-01-30, which was
17799 generated by GNU Autoconf 2.72. Invocation command line was
17800
17801 CONFIG_FILES = $CONFIG_FILES
17802 CONFIG_HEADERS = $CONFIG_HEADERS
17803 CONFIG_LINKS = $CONFIG_LINKS
17804 CONFIG_COMMANDS = $CONFIG_COMMANDS
17805 $ $0 $@
17806
17807 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17808 "
17809
17810 _ACEOF
17811
17812 case $ac_config_files in *"
17813 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17814 esac
17815
17816 case $ac_config_headers in *"
17817 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17818 esac
17819
17820
17821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17822 # Files that config.status was made for.
17823 config_files="$ac_config_files"
17824 config_headers="$ac_config_headers"
17825 config_commands="$ac_config_commands"
17826
17827 _ACEOF
17828
17829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17830 ac_cs_usage="\
17831 '$as_me' instantiates files and other configuration actions
17832 from templates according to the current configuration. Unless the files
17833 and actions are specified as TAGs, all are instantiated by default.
17834
17835 Usage: $0 [OPTION]... [TAG]...
17836
17837 -h, --help print this help, then exit
17838 -V, --version print version number and configuration settings, then exit
17839 --config print configuration, then exit
17840 -q, --quiet, --silent
17841 do not print progress messages
17842 -d, --debug don't remove temporary files
17843 --recheck update $as_me by reconfiguring in the same conditions
17844 --file=FILE[:TEMPLATE]
17845 instantiate the configuration file FILE
17846 --header=FILE[:TEMPLATE]
17847 instantiate the configuration header FILE
17848
17849 Configuration files:
17850 $config_files
17851
17852 Configuration headers:
17853 $config_headers
17854
17855 Configuration commands:
17856 $config_commands
17857
17858 Report bugs to <[email protected]>."
17859
17860 _ACEOF
17861 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
17862 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
17863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17864 ac_cs_config='$ac_cs_config_escaped'
17865 ac_cs_version="\\
17866 musixtnt (TeX Live) config.status 2016-01-30
17867 configured by $0, generated by GNU Autoconf 2.72,
17868 with options \\"\$ac_cs_config\\"
17869
17870 Copyright (C) 2023 Free Software Foundation, Inc.
17871 This config.status script is free software; the Free Software Foundation
17872 gives unlimited permission to copy, distribute and modify it."
17873
17874 ac_pwd='$ac_pwd'
17875 srcdir='$srcdir'
17876 INSTALL='$INSTALL'
17877 MKDIR_P='$MKDIR_P'
17878 AWK='$AWK'
17879 test -n "\$AWK" || AWK=awk
17880 _ACEOF
17881
17882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17883 # The default lists apply if the user does not specify any file.
17884 ac_need_defaults=:
17885 while test $# != 0
17886 do
17887 case $1 in
17888 --*=?*)
17889 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17890 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17891 ac_shift=:
17892 ;;
17893 --*=)
17894 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17895 ac_optarg=
17896 ac_shift=:
17897 ;;
17898 *)
17899 ac_option=$1
17900 ac_optarg=$2
17901 ac_shift=shift
17902 ;;
17903 esac
17904
17905 case $ac_option in
17906 # Handling of the options.
17907 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17908 ac_cs_recheck=: ;;
17909 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17910 printf "%s\n" "$ac_cs_version"; exit ;;
17911 --config | --confi | --conf | --con | --co | --c )
17912 printf "%s\n" "$ac_cs_config"; exit ;;
17913 --debug | --debu | --deb | --de | --d | -d )
17914 debug=: ;;
17915 --file | --fil | --fi | --f )
17916 $ac_shift
17917 case $ac_optarg in
17918 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17919 '') as_fn_error $? "missing file argument" ;;
17920 esac
17921 as_fn_append CONFIG_FILES " '$ac_optarg'"
17922 ac_need_defaults=false;;
17923 --header | --heade | --head | --hea )
17924 $ac_shift
17925 case $ac_optarg in
17926 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17927 esac
17928 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17929 ac_need_defaults=false;;
17930 --he | --h)
17931 # Conflict between --help and --header
17932 as_fn_error $? "ambiguous option: '$1'
17933 Try '$0 --help' for more information.";;
17934 --help | --hel | -h )
17935 printf "%s\n" "$ac_cs_usage"; exit ;;
17936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17937 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17938 ac_cs_silent=: ;;
17939
17940 # This is an error.
17941 -*) as_fn_error $? "unrecognized option: '$1'
17942 Try '$0 --help' for more information." ;;
17943
17944 *) as_fn_append ac_config_targets " $1"
17945 ac_need_defaults=false ;;
17946
17947 esac
17948 shift
17949 done
17950
17951 ac_configure_extra_args=
17952
17953 if $ac_cs_silent; then
17954 exec 6>/dev/null
17955 ac_configure_extra_args="$ac_configure_extra_args --silent"
17956 fi
17957
17958 _ACEOF
17959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17960 if \$ac_cs_recheck; then
17961 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17962 shift
17963 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
17964 CONFIG_SHELL='$SHELL'
17965 export CONFIG_SHELL
17966 exec "\$@"
17967 fi
17968
17969 _ACEOF
17970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17971 exec 5>>config.log
17972 {
17973 echo
17974 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17975 ## Running $as_me. ##
17976 _ASBOX
17977 printf "%s\n" "$ac_log"
17978 } >&5
17979
17980 _ACEOF
17981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17982 #
17983 # INIT-COMMANDS
17984 #
17985 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17986
17987
17988 # The HP-UX ksh and POSIX shell print the target directory to stdout
17989 # if CDPATH is set.
17990 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17991
17992 sed_quote_subst='$sed_quote_subst'
17993 double_quote_subst='$double_quote_subst'
17994 delay_variable_subst='$delay_variable_subst'
17995 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17996 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17997 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17998 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17999 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18000 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18001 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18002 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18003 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18004 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18005 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18006 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18007 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18008 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18009 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18010 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18011 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18012 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18013 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18014 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18015 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18016 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18017 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18018 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18019 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18020 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18021 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18022 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18023 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18024 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18025 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18026 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18027 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18028 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18029 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18030 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18031 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18032 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
18033 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18034 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18035 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18036 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18037 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18038 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18039 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18040 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18041 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18042 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18043 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18044 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18045 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18046 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18047 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18048 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18049 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18050 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18051 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18052 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18053 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18054 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18055 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18056 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"`'
18057 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18058 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18059 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18060 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18061 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18062 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18063 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18064 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18065 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18066 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18067 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18068 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18069 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18070 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18071 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18072 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18073 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18074 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18075 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18076 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18077 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18078 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18079 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18080 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18081 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18082 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18083 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18084 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18085 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18086 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18087 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18088 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18089 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18090 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18091 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18092 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18093 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18094 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18095 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18096 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18097 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18098 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18099 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18100 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18101 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18102 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18103 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18104 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18105 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18106 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18107 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18108 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18109 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18110 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18111 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18112 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18113 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18114 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18115 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18116 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18117 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18118 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18119 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18120 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18121 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18122 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18123 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18124 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18125 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18126 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18127 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18128 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18129 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18130 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18131 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18132 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18133
18134 LTCC='$LTCC'
18135 LTCFLAGS='$LTCFLAGS'
18136 compiler='$compiler_DEFAULT'
18137
18138 # A function that is used when there is no print builtin or printf.
18139 func_fallback_echo ()
18140 {
18141 eval 'cat <<_LTECHO_EOF
18142 \$1
18143 _LTECHO_EOF'
18144 }
18145
18146 # Quote evaled strings.
18147 for var in AS \
18148 DLLTOOL \
18149 OBJDUMP \
18150 SHELL \
18151 ECHO \
18152 PATH_SEPARATOR \
18153 SED \
18154 GREP \
18155 EGREP \
18156 FGREP \
18157 LD \
18158 NM \
18159 LN_S \
18160 lt_SP2NL \
18161 lt_NL2SP \
18162 reload_flag \
18163 FILECMD \
18164 deplibs_check_method \
18165 file_magic_cmd \
18166 file_magic_glob \
18167 want_nocaseglob \
18168 sharedlib_from_linklib_cmd \
18169 AR \
18170 archiver_list_spec \
18171 STRIP \
18172 RANLIB \
18173 CC \
18174 CFLAGS \
18175 compiler \
18176 lt_cv_sys_global_symbol_pipe \
18177 lt_cv_sys_global_symbol_to_cdecl \
18178 lt_cv_sys_global_symbol_to_import \
18179 lt_cv_sys_global_symbol_to_c_name_address \
18180 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18181 lt_cv_nm_interface \
18182 nm_file_list_spec \
18183 lt_cv_truncate_bin \
18184 lt_prog_compiler_no_builtin_flag \
18185 lt_prog_compiler_pic \
18186 lt_prog_compiler_wl \
18187 lt_prog_compiler_static \
18188 lt_cv_prog_compiler_c_o \
18189 need_locks \
18190 MANIFEST_TOOL \
18191 DSYMUTIL \
18192 NMEDIT \
18193 LIPO \
18194 OTOOL \
18195 OTOOL64 \
18196 shrext_cmds \
18197 export_dynamic_flag_spec \
18198 whole_archive_flag_spec \
18199 compiler_needs_object \
18200 with_gnu_ld \
18201 allow_undefined_flag \
18202 no_undefined_flag \
18203 hardcode_libdir_flag_spec \
18204 hardcode_libdir_separator \
18205 exclude_expsyms \
18206 include_expsyms \
18207 file_list_spec \
18208 variables_saved_for_relink \
18209 libname_spec \
18210 library_names_spec \
18211 soname_spec \
18212 install_override_mode \
18213 finish_eval \
18214 old_striplib \
18215 striplib; do
18216 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18217 *[\\\\\\\`\\"\\\$]*)
18218 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18219 ;;
18220 *)
18221 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18222 ;;
18223 esac
18224 done
18225
18226 # Double-quote double-evaled strings.
18227 for var in reload_cmds \
18228 old_postinstall_cmds \
18229 old_postuninstall_cmds \
18230 old_archive_cmds \
18231 extract_expsyms_cmds \
18232 old_archive_from_new_cmds \
18233 old_archive_from_expsyms_cmds \
18234 archive_cmds \
18235 archive_expsym_cmds \
18236 module_cmds \
18237 module_expsym_cmds \
18238 export_symbols_cmds \
18239 prelink_cmds \
18240 postlink_cmds \
18241 postinstall_cmds \
18242 postuninstall_cmds \
18243 finish_cmds \
18244 sys_lib_search_path_spec \
18245 configure_time_dlsearch_path \
18246 configure_time_lt_sys_library_path; do
18247 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18248 *[\\\\\\\`\\"\\\$]*)
18249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18250 ;;
18251 *)
18252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18253 ;;
18254 esac
18255 done
18256
18257 ac_aux_dir='$ac_aux_dir'
18258
18259 # See if we are running on zsh, and set the options that allow our
18260 # commands through without removal of \ escapes INIT.
18261 if test -n "\${ZSH_VERSION+set}"; then
18262 setopt NO_GLOB_SUBST
18263 fi
18264
18265
18266 PACKAGE='$PACKAGE'
18267 VERSION='$VERSION'
18268 RM='$RM'
18269 ofile='$ofile'
18270
18271 ac_aux_dir='$ac_aux_dir'
18272
18273
18274
18275 _ACEOF
18276
18277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18278
18279 # Handling of arguments.
18280 for ac_config_target in $ac_config_targets
18281 do
18282 case $ac_config_target in
18283 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18284 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18285 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18286 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18287
18288 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
18289 esac
18290 done
18291
18292
18293 # If the user did not use the arguments to specify the items to instantiate,
18294 # then the envvar interface is used. Set only those that are not.
18295 # We use the long form for the default assignment because of an extremely
18296 # bizarre bug on SunOS 4.1.3.
18297 if $ac_need_defaults; then
18298 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18299 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18300 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18301 fi
18302
18303 # Have a temporary directory for convenience. Make it in the build tree
18304 # simply because there is no reason against having it here, and in addition,
18305 # creating and moving files from /tmp can sometimes cause problems.
18306 # Hook for its removal unless debugging.
18307 # Note that there is a small window in which the directory will not be cleaned:
18308 # after its creation but before its name has been assigned to '$tmp'.
18309 $debug ||
18310 {
18311 tmp= ac_tmp=
18312 trap 'exit_status=$?
18313 : "${ac_tmp:=$tmp}"
18314 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18315 ' 0
18316 trap 'as_fn_exit 1' 1 2 13 15
18317 }
18318 # Create a (secure) tmp directory for tmp files.
18319
18320 {
18321 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18322 test -d "$tmp"
18323 } ||
18324 {
18325 tmp=./conf$$-$RANDOM
18326 (umask 077 && mkdir "$tmp")
18327 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18328 ac_tmp=$tmp
18329
18330 # Set up the scripts for CONFIG_FILES section.
18331 # No need to generate them if there are no CONFIG_FILES.
18332 # This happens for instance with './config.status config.h'.
18333 if test -n "$CONFIG_FILES"; then
18334
18335
18336 ac_cr=`echo X | tr X '\015'`
18337 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18338 # But we know of no other shell where ac_cr would be empty at this
18339 # point, so we can use a bashism as a fallback.
18340 if test "x$ac_cr" = x; then
18341 eval ac_cr=\$\'\\r\'
18342 fi
18343 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18344 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18345 ac_cs_awk_cr='\\r'
18346 else
18347 ac_cs_awk_cr=$ac_cr
18348 fi
18349
18350 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18351 _ACEOF
18352
18353
18354 {
18355 echo "cat >conf$$subs.awk <<_ACEOF" &&
18356 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18357 echo "_ACEOF"
18358 } >conf$$subs.sh ||
18359 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18360 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18361 ac_delim='%!_!# '
18362 for ac_last_try in false false false false false :; do
18363 . ./conf$$subs.sh ||
18364 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18365
18366 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18367 if test $ac_delim_n = $ac_delim_num; then
18368 break
18369 elif $ac_last_try; then
18370 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18371 else
18372 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18373 fi
18374 done
18375 rm -f conf$$subs.sh
18376
18377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18378 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18379 _ACEOF
18380 sed -n '
18381 h
18382 s/^/S["/; s/!.*/"]=/
18383 p
18384 g
18385 s/^[^!]*!//
18386 :repl
18387 t repl
18388 s/'"$ac_delim"'$//
18389 t delim
18390 :nl
18391 h
18392 s/\(.\{148\}\)..*/\1/
18393 t more1
18394 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18395 p
18396 n
18397 b repl
18398 :more1
18399 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18400 p
18401 g
18402 s/.\{148\}//
18403 t nl
18404 :delim
18405 h
18406 s/\(.\{148\}\)..*/\1/
18407 t more2
18408 s/["\\]/\\&/g; s/^/"/; s/$/"/
18409 p
18410 b
18411 :more2
18412 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18413 p
18414 g
18415 s/.\{148\}//
18416 t delim
18417 ' <conf$$subs.awk | sed '
18418 /^[^""]/{
18419 N
18420 s/\n//
18421 }
18422 ' >>$CONFIG_STATUS || ac_write_fail=1
18423 rm -f conf$$subs.awk
18424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18425 _ACAWK
18426 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18427 for (key in S) S_is_set[key] = 1
18428 FS = ""
18429
18430 }
18431 {
18432 line = $ 0
18433 nfields = split(line, field, "@")
18434 substed = 0
18435 len = length(field[1])
18436 for (i = 2; i < nfields; i++) {
18437 key = field[i]
18438 keylen = length(key)
18439 if (S_is_set[key]) {
18440 value = S[key]
18441 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18442 len += length(value) + length(field[++i])
18443 substed = 1
18444 } else
18445 len += 1 + keylen
18446 }
18447
18448 print line
18449 }
18450
18451 _ACAWK
18452 _ACEOF
18453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18454 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18455 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18456 else
18457 cat
18458 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18459 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18460 _ACEOF
18461
18462 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18463 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18464 # trailing colons and then remove the whole line if VPATH becomes empty
18465 # (actually we leave an empty line to preserve line numbers).
18466 if test "x$srcdir" = x.; then
18467 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18468 h
18469 s///
18470 s/^/:/
18471 s/[ ]*$/:/
18472 s/:\$(srcdir):/:/g
18473 s/:\${srcdir}:/:/g
18474 s/:@srcdir@:/:/g
18475 s/^:*//
18476 s/:*$//
18477 x
18478 s/\(=[ ]*\).*/\1/
18479 G
18480 s/\n//
18481 s/^[^=]*=[ ]*$//
18482 }'
18483 fi
18484
18485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18486 fi # test -n "$CONFIG_FILES"
18487
18488 # Set up the scripts for CONFIG_HEADERS section.
18489 # No need to generate them if there are no CONFIG_HEADERS.
18490 # This happens for instance with './config.status Makefile'.
18491 if test -n "$CONFIG_HEADERS"; then
18492 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18493 BEGIN {
18494 _ACEOF
18495
18496 # Transform confdefs.h into an awk script 'defines.awk', embedded as
18497 # here-document in config.status, that substitutes the proper values into
18498 # config.h.in to produce config.h.
18499
18500 # Create a delimiter string that does not exist in confdefs.h, to ease
18501 # handling of long lines.
18502 ac_delim='%!_!# '
18503 for ac_last_try in false false :; do
18504 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18505 if test -z "$ac_tt"; then
18506 break
18507 elif $ac_last_try; then
18508 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18509 else
18510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18511 fi
18512 done
18513
18514 # For the awk script, D is an array of macro values keyed by name,
18515 # likewise P contains macro parameters if any. Preserve backslash
18516 # newline sequences.
18517
18518 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18519 sed -n '
18520 s/.\{148\}/&'"$ac_delim"'/g
18521 t rset
18522 :rset
18523 s/^[ ]*#[ ]*define[ ][ ]*/ /
18524 t def
18525 d
18526 :def
18527 s/\\$//
18528 t bsnl
18529 s/["\\]/\\&/g
18530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18531 D["\1"]=" \3"/p
18532 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18533 d
18534 :bsnl
18535 s/["\\]/\\&/g
18536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18537 D["\1"]=" \3\\\\\\n"\\/p
18538 t cont
18539 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18540 t cont
18541 d
18542 :cont
18543 n
18544 s/.\{148\}/&'"$ac_delim"'/g
18545 t clear
18546 :clear
18547 s/\\$//
18548 t bsnlc
18549 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18550 d
18551 :bsnlc
18552 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18553 b cont
18554 ' <confdefs.h | sed '
18555 s/'"$ac_delim"'/"\\\
18556 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18557
18558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18559 for (key in D) D_is_set[key] = 1
18560 FS = ""
18561 }
18562 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18563 line = \$ 0
18564 split(line, arg, " ")
18565 if (arg[1] == "#") {
18566 defundef = arg[2]
18567 mac1 = arg[3]
18568 } else {
18569 defundef = substr(arg[1], 2)
18570 mac1 = arg[2]
18571 }
18572 split(mac1, mac2, "(") #)
18573 macro = mac2[1]
18574 prefix = substr(line, 1, index(line, defundef) - 1)
18575 if (D_is_set[macro]) {
18576 # Preserve the white space surrounding the "#".
18577 print prefix "define", macro P[macro] D[macro]
18578 next
18579 } else {
18580 # Replace #undef with comments. This is necessary, for example,
18581 # in the case of _POSIX_SOURCE, which is predefined and required
18582 # on some systems where configure will not decide to define it.
18583 if (defundef == "undef") {
18584 print "/*", prefix defundef, macro, "*/"
18585 next
18586 }
18587 }
18588 }
18589 { print }
18590 _ACAWK
18591 _ACEOF
18592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18593 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18594 fi # test -n "$CONFIG_HEADERS"
18595
18596
18597 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18598 shift
18599 for ac_tag
18600 do
18601 case $ac_tag in
18602 :[FHLC]) ac_mode=$ac_tag; continue;;
18603 esac
18604 case $ac_mode$ac_tag in
18605 :[FHL]*:*);;
18606 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
18607 :[FH]-) ac_tag=-:-;;
18608 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18609 esac
18610 ac_save_IFS=$IFS
18611 IFS=:
18612 set x $ac_tag
18613 IFS=$ac_save_IFS
18614 shift
18615 ac_file=$1
18616 shift
18617
18618 case $ac_mode in
18619 :L) ac_source=$1;;
18620 :[FH])
18621 ac_file_inputs=
18622 for ac_f
18623 do
18624 case $ac_f in
18625 -) ac_f="$ac_tmp/stdin";;
18626 *) # Look for the file first in the build tree, then in the source tree
18627 # (if the path is not absolute). The absolute path cannot be DOS-style,
18628 # because $ac_f cannot contain ':'.
18629 test -f "$ac_f" ||
18630 case $ac_f in
18631 [\\/$]*) false;;
18632 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18633 esac ||
18634 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
18635 esac
18636 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18637 as_fn_append ac_file_inputs " '$ac_f'"
18638 done
18639
18640 # Let's still pretend it is 'configure' which instantiates (i.e., don't
18641 # use $as_me), people would be surprised to read:
18642 # /* config.h. Generated by config.status. */
18643 configure_input='Generated from '`
18644 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18645 `' by configure.'
18646 if test x"$ac_file" != x-; then
18647 configure_input="$ac_file. $configure_input"
18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18649 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18650 fi
18651 # Neutralize special characters interpreted by sed in replacement strings.
18652 case $configure_input in #(
18653 *\&* | *\|* | *\\* )
18654 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18655 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18656 *) ac_sed_conf_input=$configure_input;;
18657 esac
18658
18659 case $ac_tag in
18660 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18662 esac
18663 ;;
18664 esac
18665
18666 ac_dir=`$as_dirname -- "$ac_file" ||
18667 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18668 X"$ac_file" : 'X\(//\)[^/]' \| \
18669 X"$ac_file" : 'X\(//\)$' \| \
18670 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18671 printf "%s\n" X"$ac_file" |
18672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18673 s//\1/
18674 q
18675 }
18676 /^X\(\/\/\)[^/].*/{
18677 s//\1/
18678 q
18679 }
18680 /^X\(\/\/\)$/{
18681 s//\1/
18682 q
18683 }
18684 /^X\(\/\).*/{
18685 s//\1/
18686 q
18687 }
18688 s/.*/./; q'`
18689 as_dir="$ac_dir"; as_fn_mkdir_p
18690 ac_builddir=.
18691
18692 case "$ac_dir" in
18693 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18694 *)
18695 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
18696 # A ".." for each directory in $ac_dir_suffix.
18697 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18698 case $ac_top_builddir_sub in
18699 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18700 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18701 esac ;;
18702 esac
18703 ac_abs_top_builddir=$ac_pwd
18704 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18705 # for backward compatibility:
18706 ac_top_builddir=$ac_top_build_prefix
18707
18708 case $srcdir in
18709 .) # We are building in place.
18710 ac_srcdir=.
18711 ac_top_srcdir=$ac_top_builddir_sub
18712 ac_abs_top_srcdir=$ac_pwd ;;
18713 [\\/]* | ?:[\\/]* ) # Absolute name.
18714 ac_srcdir=$srcdir$ac_dir_suffix;
18715 ac_top_srcdir=$srcdir
18716 ac_abs_top_srcdir=$srcdir ;;
18717 *) # Relative name.
18718 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18719 ac_top_srcdir=$ac_top_build_prefix$srcdir
18720 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18721 esac
18722 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18723
18724
18725 case $ac_mode in
18726 :F)
18727 #
18728 # CONFIG_FILE
18729 #
18730
18731 case $INSTALL in
18732 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18733 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18734 esac
18735 ac_MKDIR_P=$MKDIR_P
18736 case $MKDIR_P in
18737 [\\/$]* | ?:[\\/]* ) ;;
18738 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18739 esac
18740 _ACEOF
18741
18742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18743 # If the template does not know about datarootdir, expand it.
18744 # FIXME: This hack should be removed a few years after 2.60.
18745 ac_datarootdir_hack=; ac_datarootdir_seen=
18746 ac_sed_dataroot='
18747 /datarootdir/ {
18748 p
18749 q
18750 }
18751 /@datadir@/p
18752 /@docdir@/p
18753 /@infodir@/p
18754 /@localedir@/p
18755 /@mandir@/p'
18756 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18757 *datarootdir*) ac_datarootdir_seen=yes;;
18758 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18760 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18761 _ACEOF
18762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18763 ac_datarootdir_hack='
18764 s&@datadir@&$datadir&g
18765 s&@docdir@&$docdir&g
18766 s&@infodir@&$infodir&g
18767 s&@localedir@&$localedir&g
18768 s&@mandir@&$mandir&g
18769 s&\\\${datarootdir}&$datarootdir&g' ;;
18770 esac
18771 _ACEOF
18772
18773 # Neutralize VPATH when '$srcdir' = '.'.
18774 # Shell code in configure.ac might set extrasub.
18775 # FIXME: do we really want to maintain this feature?
18776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18777 ac_sed_extra="$ac_vpsub
18778 $extrasub
18779 _ACEOF
18780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18781 :t
18782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18783 s|@configure_input@|$ac_sed_conf_input|;t t
18784 s&@top_builddir@&$ac_top_builddir_sub&;t t
18785 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18786 s&@srcdir@&$ac_srcdir&;t t
18787 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18788 s&@top_srcdir@&$ac_top_srcdir&;t t
18789 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18790 s&@builddir@&$ac_builddir&;t t
18791 s&@abs_builddir@&$ac_abs_builddir&;t t
18792 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18793 s&@INSTALL@&$ac_INSTALL&;t t
18794 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18795 $ac_datarootdir_hack
18796 "
18797 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18798 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18799
18800 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18801 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18802 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18803 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18805 which seems to be undefined. Please make sure it is defined" >&5
18806 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18807 which seems to be undefined. Please make sure it is defined" >&2;}
18808
18809 rm -f "$ac_tmp/stdin"
18810 case $ac_file in
18811 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18812 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18813 esac \
18814 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18815 ;;
18816 :H)
18817 #
18818 # CONFIG_HEADER
18819 #
18820 if test x"$ac_file" != x-; then
18821 {
18822 printf "%s\n" "/* $configure_input */" >&1 \
18823 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18824 } >"$ac_tmp/config.h" \
18825 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18826 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18828 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
18829 else
18830 rm -f "$ac_file"
18831 mv "$ac_tmp/config.h" "$ac_file" \
18832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18833 fi
18834 else
18835 printf "%s\n" "/* $configure_input */" >&1 \
18836 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18837 || as_fn_error $? "could not create -" "$LINENO" 5
18838 fi
18839 # Compute "$ac_file"'s index in $config_headers.
18840 _am_arg="$ac_file"
18841 _am_stamp_count=1
18842 for _am_header in $config_headers :; do
18843 case $_am_header in
18844 $_am_arg | $_am_arg:* )
18845 break ;;
18846 * )
18847 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18848 esac
18849 done
18850 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18851 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18852 X"$_am_arg" : 'X\(//\)[^/]' \| \
18853 X"$_am_arg" : 'X\(//\)$' \| \
18854 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18855 printf "%s\n" X"$_am_arg" |
18856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18857 s//\1/
18858 q
18859 }
18860 /^X\(\/\/\)[^/].*/{
18861 s//\1/
18862 q
18863 }
18864 /^X\(\/\/\)$/{
18865 s//\1/
18866 q
18867 }
18868 /^X\(\/\).*/{
18869 s//\1/
18870 q
18871 }
18872 s/.*/./; q'`/stamp-h$_am_stamp_count
18873 ;;
18874
18875 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18876 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
18877 ;;
18878 esac
18879
18880
18881 case $ac_file$ac_mode in
18882 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18883 # Older Autoconf quotes --file arguments for eval, but not when files
18884 # are listed without --file. Let's play safe and only enable the eval
18885 # if we detect the quoting.
18886 # TODO: see whether this extra hack can be removed once we start
18887 # requiring Autoconf 2.70 or later.
18888 case $CONFIG_FILES in #(
18889 *\'*) :
18890 eval set x "$CONFIG_FILES" ;; #(
18891 *) :
18892 set x $CONFIG_FILES ;; #(
18893 *) :
18894 ;;
18895 esac
18896 shift
18897 # Used to flag and report bootstrapping failures.
18898 am_rc=0
18899 for am_mf
18900 do
18901 # Strip MF so we end up with the name of the file.
18902 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
18903 # Check whether this is an Automake generated Makefile which includes
18904 # dependency-tracking related rules and includes.
18905 # Grep'ing the whole file directly is not great: AIX grep has a line
18906 # limit of 2048, but all sed's we know have understand at least 4000.
18907 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18908 || continue
18909 am_dirpart=`$as_dirname -- "$am_mf" ||
18910 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18911 X"$am_mf" : 'X\(//\)[^/]' \| \
18912 X"$am_mf" : 'X\(//\)$' \| \
18913 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18914 printf "%s\n" X"$am_mf" |
18915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18916 s//\1/
18917 q
18918 }
18919 /^X\(\/\/\)[^/].*/{
18920 s//\1/
18921 q
18922 }
18923 /^X\(\/\/\)$/{
18924 s//\1/
18925 q
18926 }
18927 /^X\(\/\).*/{
18928 s//\1/
18929 q
18930 }
18931 s/.*/./; q'`
18932 am_filepart=`$as_basename -- "$am_mf" ||
18933 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18934 X"$am_mf" : 'X\(//\)$' \| \
18935 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18936 printf "%s\n" X/"$am_mf" |
18937 sed '/^.*\/\([^/][^/]*\)\/*$/{
18938 s//\1/
18939 q
18940 }
18941 /^X\/\(\/\/\)$/{
18942 s//\1/
18943 q
18944 }
18945 /^X\/\(\/\).*/{
18946 s//\1/
18947 q
18948 }
18949 s/.*/./; q'`
18950 { echo "$as_me:$LINENO: cd "$am_dirpart" \
18951 && sed -e '/# am--include-marker/d' "$am_filepart" \
18952 | $MAKE -f - am--depfiles" >&5
18953 (cd "$am_dirpart" \
18954 && sed -e '/# am--include-marker/d' "$am_filepart" \
18955 | $MAKE -f - am--depfiles) >&5 2>&5
18956 ac_status=$?
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); } || am_rc=$?
18959 done
18960 if test $am_rc -ne 0; then
18961 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
18962 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
18963 as_fn_error $? "Something went wrong bootstrapping makefile fragments
18964 for automatic dependency tracking. If GNU make was not used, consider
18965 re-running the configure script with MAKE=\"gmake\" (or whatever is
18966 necessary). You can also try re-running configure with the
18967 '--disable-dependency-tracking' option to at least be able to build
18968 the package (albeit without support for automatic dependency tracking).
18969 See 'config.log' for more details" "$LINENO" 5; }
18970 fi
18971 { am_dirpart=; unset am_dirpart;}
18972 { am_filepart=; unset am_filepart;}
18973 { am_mf=; unset am_mf;}
18974 { am_rc=; unset am_rc;}
18975 rm -f conftest-deps.mk
18976 }
18977 ;;
18978 "libtool":C)
18979
18980 # See if we are running on zsh, and set the options that allow our
18981 # commands through without removal of \ escapes.
18982 if test -n "${ZSH_VERSION+set}"; then
18983 setopt NO_GLOB_SUBST
18984 fi
18985
18986 cfgfile=${ofile}T
18987 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18988 $RM "$cfgfile"
18989
18990 cat <<_LT_EOF >> "$cfgfile"
18991 #! $SHELL
18992 # Generated automatically by $as_me ($PACKAGE) $VERSION
18993 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18994
18995 # Provide generalized library-building support services.
18996 # Written by Gordon Matzigkeit, 1996
18997
18998 # Copyright (C) 2024 Free Software Foundation, Inc.
18999 # This is free software; see the source for copying conditions. There is NO
19000 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19001
19002 # GNU Libtool is free software; you can redistribute it and/or modify
19003 # it under the terms of the GNU General Public License as published by
19004 # the Free Software Foundation; either version 2 of the License, or
19005 # (at your option) any later version.
19006 #
19007 # As a special exception to the GNU General Public License, if you
19008 # distribute this file as part of a program or library that is built
19009 # using GNU Libtool, you may include this file under the same
19010 # distribution terms that you use for the rest of that program.
19011 #
19012 # GNU Libtool is distributed in the hope that it will be useful, but
19013 # WITHOUT ANY WARRANTY; without even the implied warranty of
19014 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19015 # GNU General Public License for more details.
19016 #
19017 # You should have received a copy of the GNU General Public License
19018 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19019
19020
19021 # The names of the tagged configurations supported by this script.
19022 available_tags=''
19023
19024 # Configured defaults for sys_lib_dlsearch_path munging.
19025 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19026
19027 # ### BEGIN LIBTOOL CONFIG
19028
19029 # Which release of libtool.m4 was used?
19030 macro_version=$macro_version
19031 macro_revision=$macro_revision
19032
19033 # Assembler program.
19034 AS=$lt_AS
19035
19036 # DLL creation program.
19037 DLLTOOL=$lt_DLLTOOL
19038
19039 # Object dumper program.
19040 OBJDUMP=$lt_OBJDUMP
19041
19042 # Whether or not to build shared libraries.
19043 build_libtool_libs=$enable_shared
19044
19045 # Whether or not to build static libraries.
19046 build_old_libs=$enable_static
19047
19048 # What type of objects to build.
19049 pic_mode=$pic_mode
19050
19051 # Whether or not to optimize for fast installation.
19052 fast_install=$enable_fast_install
19053
19054 # Shared archive member basename,for filename based shared library versioning on AIX.
19055 shared_archive_member_spec=$shared_archive_member_spec
19056
19057 # Shell to use when invoking shell scripts.
19058 SHELL=$lt_SHELL
19059
19060 # An echo program that protects backslashes.
19061 ECHO=$lt_ECHO
19062
19063 # The PATH separator for the build system.
19064 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19065
19066 # The host system.
19067 host_alias=$host_alias
19068 host=$host
19069 host_os=$host_os
19070
19071 # The build system.
19072 build_alias=$build_alias
19073 build=$build
19074 build_os=$build_os
19075
19076 # A sed program that does not truncate output.
19077 SED=$lt_SED
19078
19079 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19080 Xsed="\$SED -e 1s/^X//"
19081
19082 # A grep program that handles long lines.
19083 GREP=$lt_GREP
19084
19085 # An ERE matcher.
19086 EGREP=$lt_EGREP
19087
19088 # A literal string matcher.
19089 FGREP=$lt_FGREP
19090
19091 # A BSD- or MS-compatible name lister.
19092 NM=$lt_NM
19093
19094 # Whether we need soft or hard links.
19095 LN_S=$lt_LN_S
19096
19097 # What is the maximum length of a command?
19098 max_cmd_len=$max_cmd_len
19099
19100 # Object file suffix (normally "o").
19101 objext=$ac_objext
19102
19103 # Executable file suffix (normally "").
19104 exeext=$exeext
19105
19106 # whether the shell understands "unset".
19107 lt_unset=$lt_unset
19108
19109 # turn spaces into newlines.
19110 SP2NL=$lt_lt_SP2NL
19111
19112 # turn newlines into spaces.
19113 NL2SP=$lt_lt_NL2SP
19114
19115 # convert \$build file names to \$host format.
19116 to_host_file_cmd=$lt_cv_to_host_file_cmd
19117
19118 # convert \$build files to toolchain format.
19119 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19120
19121 # A file(cmd) program that detects file types.
19122 FILECMD=$lt_FILECMD
19123
19124 # Method to check whether dependent libraries are shared objects.
19125 deplibs_check_method=$lt_deplibs_check_method
19126
19127 # Command to use when deplibs_check_method = "file_magic".
19128 file_magic_cmd=$lt_file_magic_cmd
19129
19130 # How to find potential files when deplibs_check_method = "file_magic".
19131 file_magic_glob=$lt_file_magic_glob
19132
19133 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19134 want_nocaseglob=$lt_want_nocaseglob
19135
19136 # Command to associate shared and link libraries.
19137 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19138
19139 # The archiver.
19140 AR=$lt_AR
19141
19142 # Flags to create an archive (by configure).
19143 lt_ar_flags=$lt_ar_flags
19144
19145 # Flags to create an archive.
19146 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19147
19148 # How to feed a file listing to the archiver.
19149 archiver_list_spec=$lt_archiver_list_spec
19150
19151 # A symbol stripping program.
19152 STRIP=$lt_STRIP
19153
19154 # Commands used to install an old-style archive.
19155 RANLIB=$lt_RANLIB
19156 old_postinstall_cmds=$lt_old_postinstall_cmds
19157 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19158
19159 # Whether to use a lock for old archive extraction.
19160 lock_old_archive_extraction=$lock_old_archive_extraction
19161
19162 # A C compiler.
19163 LTCC=$lt_CC
19164
19165 # LTCC compiler flags.
19166 LTCFLAGS=$lt_CFLAGS
19167
19168 # Take the output of nm and produce a listing of raw symbols and C names.
19169 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19170
19171 # Transform the output of nm in a proper C declaration.
19172 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19173
19174 # Transform the output of nm into a list of symbols to manually relocate.
19175 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19176
19177 # Transform the output of nm in a C name address pair.
19178 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19179
19180 # Transform the output of nm in a C name address pair when lib prefix is needed.
19181 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19182
19183 # The name lister interface.
19184 nm_interface=$lt_lt_cv_nm_interface
19185
19186 # Specify filename containing input files for \$NM.
19187 nm_file_list_spec=$lt_nm_file_list_spec
19188
19189 # The root where to search for dependent libraries,and where our libraries should be installed.
19190 lt_sysroot=$lt_sysroot
19191
19192 # Command to truncate a binary pipe.
19193 lt_truncate_bin=$lt_lt_cv_truncate_bin
19194
19195 # The name of the directory that contains temporary libtool files.
19196 objdir=$objdir
19197
19198 # Used to examine libraries when file_magic_cmd begins with "file".
19199 MAGIC_CMD=$MAGIC_CMD
19200
19201 # Must we lock files when doing compilation?
19202 need_locks=$lt_need_locks
19203
19204 # Manifest tool.
19205 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19206
19207 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19208 DSYMUTIL=$lt_DSYMUTIL
19209
19210 # Tool to change global to local symbols on Mac OS X.
19211 NMEDIT=$lt_NMEDIT
19212
19213 # Tool to manipulate fat objects and archives on Mac OS X.
19214 LIPO=$lt_LIPO
19215
19216 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19217 OTOOL=$lt_OTOOL
19218
19219 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19220 OTOOL64=$lt_OTOOL64
19221
19222 # Old archive suffix (normally "a").
19223 libext=$libext
19224
19225 # Shared library suffix (normally ".so").
19226 shrext_cmds=$lt_shrext_cmds
19227
19228 # The commands to extract the exported symbol list from a shared archive.
19229 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19230
19231 # Variables whose values should be saved in libtool wrapper scripts and
19232 # restored at link time.
19233 variables_saved_for_relink=$lt_variables_saved_for_relink
19234
19235 # Do we need the "lib" prefix for modules?
19236 need_lib_prefix=$need_lib_prefix
19237
19238 # Do we need a version for libraries?
19239 need_version=$need_version
19240
19241 # Library versioning type.
19242 version_type=$version_type
19243
19244 # Shared library runtime path variable.
19245 runpath_var=$runpath_var
19246
19247 # Shared library path variable.
19248 shlibpath_var=$shlibpath_var
19249
19250 # Is shlibpath searched before the hard-coded library search path?
19251 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19252
19253 # Format of library name prefix.
19254 libname_spec=$lt_libname_spec
19255
19256 # List of archive names. First name is the real one, the rest are links.
19257 # The last name is the one that the linker finds with -lNAME
19258 library_names_spec=$lt_library_names_spec
19259
19260 # The coded name of the library, if different from the real name.
19261 soname_spec=$lt_soname_spec
19262
19263 # Permission mode override for installation of shared libraries.
19264 install_override_mode=$lt_install_override_mode
19265
19266 # Command to use after installation of a shared archive.
19267 postinstall_cmds=$lt_postinstall_cmds
19268
19269 # Command to use after uninstallation of a shared archive.
19270 postuninstall_cmds=$lt_postuninstall_cmds
19271
19272 # Commands used to finish a libtool library installation in a directory.
19273 finish_cmds=$lt_finish_cmds
19274
19275 # As "finish_cmds", except a single script fragment to be evaled but
19276 # not shown.
19277 finish_eval=$lt_finish_eval
19278
19279 # Whether we should hardcode library paths into libraries.
19280 hardcode_into_libs=$hardcode_into_libs
19281
19282 # Compile-time system search path for libraries.
19283 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19284
19285 # Detected run-time system search path for libraries.
19286 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19287
19288 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19289 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19290
19291 # Whether dlopen is supported.
19292 dlopen_support=$enable_dlopen
19293
19294 # Whether dlopen of programs is supported.
19295 dlopen_self=$enable_dlopen_self
19296
19297 # Whether dlopen of statically linked programs is supported.
19298 dlopen_self_static=$enable_dlopen_self_static
19299
19300 # Commands to strip libraries.
19301 old_striplib=$lt_old_striplib
19302 striplib=$lt_striplib
19303
19304
19305 # The linker used to build libraries.
19306 LD=$lt_LD
19307
19308 # How to create reloadable object files.
19309 reload_flag=$lt_reload_flag
19310 reload_cmds=$lt_reload_cmds
19311
19312 # Commands used to build an old-style archive.
19313 old_archive_cmds=$lt_old_archive_cmds
19314
19315 # A language specific compiler.
19316 CC=$lt_compiler
19317
19318 # Is the compiler the GNU compiler?
19319 with_gcc=$GCC
19320
19321 # Compiler flag to turn off builtin functions.
19322 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19323
19324 # Additional compiler flags for building library objects.
19325 pic_flag=$lt_lt_prog_compiler_pic
19326
19327 # How to pass a linker flag through the compiler.
19328 wl=$lt_lt_prog_compiler_wl
19329
19330 # Compiler flag to prevent dynamic linking.
19331 link_static_flag=$lt_lt_prog_compiler_static
19332
19333 # Does compiler simultaneously support -c and -o options?
19334 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19335
19336 # Whether or not to add -lc for building shared libraries.
19337 build_libtool_need_lc=$archive_cmds_need_lc
19338
19339 # Whether or not to disallow shared libs when runtime libs are static.
19340 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19341
19342 # Compiler flag to allow reflexive dlopens.
19343 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19344
19345 # Compiler flag to generate shared objects directly from archives.
19346 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19347
19348 # Whether the compiler copes with passing no objects directly.
19349 compiler_needs_object=$lt_compiler_needs_object
19350
19351 # Create an old-style archive from a shared archive.
19352 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19353
19354 # Create a temporary old-style archive to link instead of a shared archive.
19355 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19356
19357 # Commands used to build a shared archive.
19358 archive_cmds=$lt_archive_cmds
19359 archive_expsym_cmds=$lt_archive_expsym_cmds
19360
19361 # Commands used to build a loadable module if different from building
19362 # a shared archive.
19363 module_cmds=$lt_module_cmds
19364 module_expsym_cmds=$lt_module_expsym_cmds
19365
19366 # Whether we are building with GNU ld or not.
19367 with_gnu_ld=$lt_with_gnu_ld
19368
19369 # Flag that allows shared libraries with undefined symbols to be built.
19370 allow_undefined_flag=$lt_allow_undefined_flag
19371
19372 # Flag that enforces no undefined symbols.
19373 no_undefined_flag=$lt_no_undefined_flag
19374
19375 # Flag to hardcode \$libdir into a binary during linking.
19376 # This must work even if \$libdir does not exist
19377 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19378
19379 # Whether we need a single "-rpath" flag with a separated argument.
19380 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19381
19382 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19383 # DIR into the resulting binary.
19384 hardcode_direct=$hardcode_direct
19385
19386 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19387 # DIR into the resulting binary and the resulting library dependency is
19388 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
19389 # library is relocated.
19390 hardcode_direct_absolute=$hardcode_direct_absolute
19391
19392 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19393 # into the resulting binary.
19394 hardcode_minus_L=$hardcode_minus_L
19395
19396 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19397 # into the resulting binary.
19398 hardcode_shlibpath_var=$hardcode_shlibpath_var
19399
19400 # Set to "yes" if building a shared library automatically hardcodes DIR
19401 # into the library and all subsequent libraries and executables linked
19402 # against it.
19403 hardcode_automatic=$hardcode_automatic
19404
19405 # Set to yes if linker adds runtime paths of dependent libraries
19406 # to runtime path list.
19407 inherit_rpath=$inherit_rpath
19408
19409 # Whether libtool must link a program against all its dependency libraries.
19410 link_all_deplibs=$link_all_deplibs
19411
19412 # Set to "yes" if exported symbols are required.
19413 always_export_symbols=$always_export_symbols
19414
19415 # The commands to list exported symbols.
19416 export_symbols_cmds=$lt_export_symbols_cmds
19417
19418 # Symbols that should not be listed in the preloaded symbols.
19419 exclude_expsyms=$lt_exclude_expsyms
19420
19421 # Symbols that must always be exported.
19422 include_expsyms=$lt_include_expsyms
19423
19424 # Commands necessary for linking programs (against libraries) with templates.
19425 prelink_cmds=$lt_prelink_cmds
19426
19427 # Commands necessary for finishing linking programs.
19428 postlink_cmds=$lt_postlink_cmds
19429
19430 # Specify filename containing input files.
19431 file_list_spec=$lt_file_list_spec
19432
19433 # How to hardcode a shared library path into an executable.
19434 hardcode_action=$hardcode_action
19435
19436 # ### END LIBTOOL CONFIG
19437
19438 _LT_EOF
19439
19440 cat <<'_LT_EOF' >> "$cfgfile"
19441
19442 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19443
19444 # func_munge_path_list VARIABLE PATH
19445 # -----------------------------------
19446 # VARIABLE is name of variable containing _space_ separated list of
19447 # directories to be munged by the contents of PATH, which is string
19448 # having a format:
19449 # "DIR[:DIR]:"
19450 # string "DIR[ DIR]" will be prepended to VARIABLE
19451 # ":DIR[:DIR]"
19452 # string "DIR[ DIR]" will be appended to VARIABLE
19453 # "DIRP[:DIRP]::[DIRA:]DIRA"
19454 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19455 # "DIRA[ DIRA]" will be appended to VARIABLE
19456 # "DIR[:DIR]"
19457 # VARIABLE will be replaced by "DIR[ DIR]"
19458 func_munge_path_list ()
19459 {
19460 case x$2 in
19461 x)
19462 ;;
19463 *:)
19464 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19465 ;;
19466 x:*)
19467 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19468 ;;
19469 *::*)
19470 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19471 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19472 ;;
19473 *)
19474 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19475 ;;
19476 esac
19477 }
19478
19479
19480 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19481 func_cc_basename ()
19482 {
19483 for cc_temp in $*""; do
19484 case $cc_temp in
19485 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19486 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19487 \-*) ;;
19488 *) break;;
19489 esac
19490 done
19491 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19492 }
19493
19494
19495 # ### END FUNCTIONS SHARED WITH CONFIGURE
19496
19497 _LT_EOF
19498
19499 case $host_os in
19500 aix3*)
19501 cat <<\_LT_EOF >> "$cfgfile"
19502 # AIX sometimes has problems with the GCC collect2 program. For some
19503 # reason, if we set the COLLECT_NAMES environment variable, the problems
19504 # vanish in a puff of smoke.
19505 if test set != "${COLLECT_NAMES+set}"; then
19506 COLLECT_NAMES=
19507 export COLLECT_NAMES
19508 fi
19509 _LT_EOF
19510 ;;
19511 esac
19512
19513
19514
19515 ltmain=$ac_aux_dir/ltmain.sh
19516
19517
19518 # We use sed instead of cat because bash on DJGPP gets confused if
19519 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19520 # text mode, it properly converts lines to CR/LF. This bash problem
19521 # is reportedly fixed, but why not run on old versions too?
19522 $SED '$q' "$ltmain" >> "$cfgfile" \
19523 || (rm -f "$cfgfile"; exit 1)
19524
19525 mv -f "$cfgfile" "$ofile" ||
19526 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19527 chmod +x "$ofile"
19528
19529 ;;
19530
19531 esac
19532 done # for ac_tag
19533
19534
19535 as_fn_exit 0
19536 _ACEOF
19537 ac_clean_files=$ac_clean_files_save
19538
19539 test $ac_write_fail = 0 ||
19540 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19541
19542
19543 # configure is writing to config.log, and then calls config.status.
19544 # config.status does its own redirection, appending to config.log.
19545 # Unfortunately, on DOS this fails, as config.log is still kept open
19546 # by configure, so config.status won't be able to write to it; its
19547 # output is simply discarded. So we exec the FD to /dev/null,
19548 # effectively closing config.log, so it can be properly (re)opened and
19549 # appended to by config.status. When coming back to configure, we
19550 # need to make the FD available again.
19551 if test "$no_create" != yes; then
19552 ac_cs_success=:
19553 ac_config_status_args=
19554 test "$silent" = yes &&
19555 ac_config_status_args="$ac_config_status_args --quiet"
19556 exec 5>/dev/null
19557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19558 exec 5>>config.log
19559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19560 # would make configure fail if this is the last instruction.
19561 $ac_cs_success || as_fn_exit 1
19562 fi
19563 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19565 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19566 fi
19567
19568