Debian Codegraph @

texk/chktex/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 ChkTeX (TeX Live) 1.7.9.
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='ChkTeX (TeX Live)'
616 PACKAGE_TARNAME='chktex--tex-live-'
617 PACKAGE_VERSION='1.7.9'
618 PACKAGE_STRING='ChkTeX (TeX Live) 1.7.9'
619 PACKAGE_BUGREPORT='[email protected]'
620 PACKAGE_URL=''
621
622 ac_unique_file="chktex-src/ChkTeX.c"
623 # Factoring default headers for most tests.
624 ac_includes_default="\
625 #include <stddef.h>
626 #ifdef HAVE_STDIO_H
627 # include <stdio.h>
628 #endif
629 #ifdef HAVE_STDLIB_H
630 # include <stdlib.h>
631 #endif
632 #ifdef HAVE_STRING_H
633 # include <string.h>
634 #endif
635 #ifdef HAVE_INTTYPES_H
636 # include <inttypes.h>
637 #endif
638 #ifdef HAVE_STDINT_H
639 # include <stdint.h>
640 #endif
641 #ifdef HAVE_STRINGS_H
642 # include <strings.h>
643 #endif
644 #ifdef HAVE_SYS_TYPES_H
645 # include <sys/types.h>
646 #endif
647 #ifdef HAVE_SYS_STAT_H
648 # include <sys/stat.h>
649 #endif
650 #ifdef HAVE_UNISTD_H
651 # include <unistd.h>
652 #endif"
653
654 ac_header_c_list=
655 ac_func_c_list=
656 enable_year2038=no
657 ac_subst_vars='am__EXEEXT_FALSE
658 am__EXEEXT_TRUE
659 LTLIBOBJS
660 LIBOBJS
661 KPATHSEA_RULE
662 KPATHSEA_DEPEND
663 KPATHSEA_LIBS
664 KPATHSEA_INCLUDES
665 PKG_CONFIG
666 PERL5
667 CHKTEX_TREE
668 WIN32_WRAP_FALSE
669 WIN32_WRAP_TRUE
670 WIN_WRAPPER
671 MINGW32_FALSE
672 MINGW32_TRUE
673 WIN32_FALSE
674 WIN32_TRUE
675 PS2PDF
676 DVIPS
677 LATEX
678 LT_SYS_LIBRARY_PATH
679 OTOOL64
680 OTOOL
681 LIPO
682 NMEDIT
683 DSYMUTIL
684 MANIFEST_TOOL
685 RANLIB
686 FILECMD
687 LN_S
688 NM
689 ac_ct_DUMPBIN
690 DUMPBIN
691 LD
692 FGREP
693 EGREP
694 GREP
695 SED
696 host_os
697 host_vendor
698 host_cpu
699 host
700 build_os
701 build_vendor
702 build_cpu
703 build
704 LIBTOOL
705 OBJDUMP
706 DLLTOOL
707 AS
708 ac_ct_AR
709 AR
710 WARNING_CFLAGS
711 am__fastdepCC_FALSE
712 am__fastdepCC_TRUE
713 CCDEPMODE
714 am__nodep
715 AMDEPBACKSLASH
716 AMDEP_FALSE
717 AMDEP_TRUE
718 am__include
719 DEPDIR
720 OBJEXT
721 EXEEXT
722 ac_ct_CC
723 CPPFLAGS
724 LDFLAGS
725 CFLAGS
726 CC
727 MAINT
728 MAINTAINER_MODE_FALSE
729 MAINTAINER_MODE_TRUE
730 am__xargs_n
731 am__rm_f_notfound
732 AM_BACKSLASH
733 AM_DEFAULT_VERBOSITY
734 AM_DEFAULT_V
735 AM_V
736 CSCOPE
737 ETAGS
738 CTAGS
739 am__untar
740 am__tar
741 AMTAR
742 am__leading_dot
743 SET_MAKE
744 AWK
745 mkdir_p
746 MKDIR_P
747 INSTALL_STRIP_PROGRAM
748 STRIP
749 install_sh
750 MAKEINFO
751 AUTOHEADER
752 AUTOMAKE
753 AUTOCONF
754 ACLOCAL
755 VERSION
756 PACKAGE
757 CYGPATH_W
758 am__isrc
759 INSTALL_DATA
760 INSTALL_SCRIPT
761 INSTALL_PROGRAM
762 target_alias
763 host_alias
764 build_alias
765 LIBS
766 ECHO_T
767 ECHO_N
768 ECHO_C
769 DEFS
770 mandir
771 localedir
772 libdir
773 psdir
774 pdfdir
775 dvidir
776 htmldir
777 infodir
778 docdir
779 oldincludedir
780 includedir
781 runstatedir
782 localstatedir
783 sharedstatedir
784 sysconfdir
785 datadir
786 datarootdir
787 libexecdir
788 sbindir
789 bindir
790 program_transform_name
791 prefix
792 exec_prefix
793 PACKAGE_URL
794 PACKAGE_BUGREPORT
795 PACKAGE_STRING
796 PACKAGE_VERSION
797 PACKAGE_TARNAME
798 PACKAGE_NAME
799 PATH_SEPARATOR
800 SHELL
801 am__quote'
802 ac_subst_files=''
803 ac_user_opts='
804 enable_option_checking
805 enable_silent_rules
806 enable_maintainer_mode
807 enable_dependency_tracking
808 enable_compiler_warnings
809 enable_shared
810 enable_static
811 enable_pic
812 with_pic
813 enable_fast_install
814 enable_aix_soname
815 with_aix_soname
816 with_gnu_ld
817 with_sysroot
818 enable_libtool_lock
819 enable_largefile
820 with_system_kpathsea
821 enable_year2038
822 '
823 ac_precious_vars='build_alias
824 host_alias
825 target_alias
826 CC
827 CFLAGS
828 LDFLAGS
829 LIBS
830 CPPFLAGS
831 LT_SYS_LIBRARY_PATH
832 LATEX'
833
834
835 # Initialize some variables set by options.
836 ac_init_help=
837 ac_init_version=false
838 ac_unrecognized_opts=
839 ac_unrecognized_sep=
840 # The variables have the same names as the options, with
841 # dashes changed to underlines.
842 cache_file=/dev/null
843 exec_prefix=NONE
844 no_create=
845 no_recursion=
846 prefix=NONE
847 program_prefix=NONE
848 program_suffix=NONE
849 program_transform_name=s,x,x,
850 silent=
851 site=
852 srcdir=
853 verbose=
854 x_includes=NONE
855 x_libraries=NONE
856
857 # Installation directory options.
858 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # and all the variables that are supposed to be based on exec_prefix
860 # by default will actually change.
861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
863 bindir='${exec_prefix}/bin'
864 sbindir='${exec_prefix}/sbin'
865 libexecdir='${exec_prefix}/libexec'
866 datarootdir='${prefix}/share'
867 datadir='${datarootdir}'
868 sysconfdir='${prefix}/etc'
869 sharedstatedir='${prefix}/com'
870 localstatedir='${prefix}/var'
871 runstatedir='${localstatedir}/run'
872 includedir='${prefix}/include'
873 oldincludedir='/usr/include'
874 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir='${datarootdir}/info'
876 htmldir='${docdir}'
877 dvidir='${docdir}'
878 pdfdir='${docdir}'
879 psdir='${docdir}'
880 libdir='${exec_prefix}/lib'
881 localedir='${datarootdir}/locale'
882 mandir='${datarootdir}/man'
883
884 ac_prev=
885 ac_dashdash=
886 for ac_option
887 do
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\$ac_option
891 ac_prev=
892 continue
893 fi
894
895 case $ac_option in
896 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 *=) ac_optarg= ;;
898 *) ac_optarg=yes ;;
899 esac
900
901 case $ac_dashdash$ac_option in
902 --)
903 ac_dashdash=yes ;;
904
905 -bindir | --bindir | --bindi | --bind | --bin | --bi)
906 ac_prev=bindir ;;
907 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
908 bindir=$ac_optarg ;;
909
910 -build | --build | --buil | --bui | --bu)
911 ac_prev=build_alias ;;
912 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
913 build_alias=$ac_optarg ;;
914
915 -cache-file | --cache-file | --cache-fil | --cache-fi \
916 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
917 ac_prev=cache_file ;;
918 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
919 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
920 cache_file=$ac_optarg ;;
921
922 --config-cache | -C)
923 cache_file=config.cache ;;
924
925 -datadir | --datadir | --datadi | --datad)
926 ac_prev=datadir ;;
927 -datadir=* | --datadir=* | --datadi=* | --datad=*)
928 datadir=$ac_optarg ;;
929
930 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
931 | --dataroo | --dataro | --datar)
932 ac_prev=datarootdir ;;
933 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
934 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
935 datarootdir=$ac_optarg ;;
936
937 -disable-* | --disable-*)
938 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
939 # Reject names that are not valid shell variable names.
940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
941 as_fn_error $? "invalid feature name: '$ac_useropt'"
942 ac_useropt_orig=$ac_useropt
943 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
944 case $ac_user_opts in
945 *"
946 "enable_$ac_useropt"
947 "*) ;;
948 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
949 ac_unrecognized_sep=', ';;
950 esac
951 eval enable_$ac_useropt=no ;;
952
953 -docdir | --docdir | --docdi | --doc | --do)
954 ac_prev=docdir ;;
955 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
956 docdir=$ac_optarg ;;
957
958 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
959 ac_prev=dvidir ;;
960 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
961 dvidir=$ac_optarg ;;
962
963 -enable-* | --enable-*)
964 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
967 as_fn_error $? "invalid feature name: '$ac_useropt'"
968 ac_useropt_orig=$ac_useropt
969 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
971 *"
972 "enable_$ac_useropt"
973 "*) ;;
974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
975 ac_unrecognized_sep=', ';;
976 esac
977 eval enable_$ac_useropt=\$ac_optarg ;;
978
979 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
980 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
981 | --exec | --exe | --ex)
982 ac_prev=exec_prefix ;;
983 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
984 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
985 | --exec=* | --exe=* | --ex=*)
986 exec_prefix=$ac_optarg ;;
987
988 -gas | --gas | --ga | --g)
989 # Obsolete; use --with-gas.
990 with_gas=yes ;;
991
992 -help | --help | --hel | --he | -h)
993 ac_init_help=long ;;
994 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
995 ac_init_help=recursive ;;
996 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
997 ac_init_help=short ;;
998
999 -host | --host | --hos | --ho)
1000 ac_prev=host_alias ;;
1001 -host=* | --host=* | --hos=* | --ho=*)
1002 host_alias=$ac_optarg ;;
1003
1004 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1005 ac_prev=htmldir ;;
1006 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1007 | --ht=*)
1008 htmldir=$ac_optarg ;;
1009
1010 -includedir | --includedir | --includedi | --included | --include \
1011 | --includ | --inclu | --incl | --inc)
1012 ac_prev=includedir ;;
1013 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1014 | --includ=* | --inclu=* | --incl=* | --inc=*)
1015 includedir=$ac_optarg ;;
1016
1017 -infodir | --infodir | --infodi | --infod | --info | --inf)
1018 ac_prev=infodir ;;
1019 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1020 infodir=$ac_optarg ;;
1021
1022 -libdir | --libdir | --libdi | --libd)
1023 ac_prev=libdir ;;
1024 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1025 libdir=$ac_optarg ;;
1026
1027 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1028 | --libexe | --libex | --libe)
1029 ac_prev=libexecdir ;;
1030 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1031 | --libexe=* | --libex=* | --libe=*)
1032 libexecdir=$ac_optarg ;;
1033
1034 -localedir | --localedir | --localedi | --localed | --locale)
1035 ac_prev=localedir ;;
1036 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1037 localedir=$ac_optarg ;;
1038
1039 -localstatedir | --localstatedir | --localstatedi | --localstated \
1040 | --localstate | --localstat | --localsta | --localst | --locals)
1041 ac_prev=localstatedir ;;
1042 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1043 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1044 localstatedir=$ac_optarg ;;
1045
1046 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1047 ac_prev=mandir ;;
1048 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1049 mandir=$ac_optarg ;;
1050
1051 -nfp | --nfp | --nf)
1052 # Obsolete; use --without-fp.
1053 with_fp=no ;;
1054
1055 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1056 | --no-cr | --no-c | -n)
1057 no_create=yes ;;
1058
1059 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1060 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1061 no_recursion=yes ;;
1062
1063 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1064 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1065 | --oldin | --oldi | --old | --ol | --o)
1066 ac_prev=oldincludedir ;;
1067 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1068 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1069 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1070 oldincludedir=$ac_optarg ;;
1071
1072 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1073 ac_prev=prefix ;;
1074 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1075 prefix=$ac_optarg ;;
1076
1077 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1078 | --program-pre | --program-pr | --program-p)
1079 ac_prev=program_prefix ;;
1080 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1081 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1082 program_prefix=$ac_optarg ;;
1083
1084 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1085 | --program-suf | --program-su | --program-s)
1086 ac_prev=program_suffix ;;
1087 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1088 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1089 program_suffix=$ac_optarg ;;
1090
1091 -program-transform-name | --program-transform-name \
1092 | --program-transform-nam | --program-transform-na \
1093 | --program-transform-n | --program-transform- \
1094 | --program-transform | --program-transfor \
1095 | --program-transfo | --program-transf \
1096 | --program-trans | --program-tran \
1097 | --progr-tra | --program-tr | --program-t)
1098 ac_prev=program_transform_name ;;
1099 -program-transform-name=* | --program-transform-name=* \
1100 | --program-transform-nam=* | --program-transform-na=* \
1101 | --program-transform-n=* | --program-transform-=* \
1102 | --program-transform=* | --program-transfor=* \
1103 | --program-transfo=* | --program-transf=* \
1104 | --program-trans=* | --program-tran=* \
1105 | --progr-tra=* | --program-tr=* | --program-t=*)
1106 program_transform_name=$ac_optarg ;;
1107
1108 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1109 ac_prev=pdfdir ;;
1110 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1111 pdfdir=$ac_optarg ;;
1112
1113 -psdir | --psdir | --psdi | --psd | --ps)
1114 ac_prev=psdir ;;
1115 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1116 psdir=$ac_optarg ;;
1117
1118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1119 | -silent | --silent | --silen | --sile | --sil)
1120 silent=yes ;;
1121
1122 -runstatedir | --runstatedir | --runstatedi | --runstated \
1123 | --runstate | --runstat | --runsta | --runst | --runs \
1124 | --run | --ru | --r)
1125 ac_prev=runstatedir ;;
1126 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1127 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1128 | --run=* | --ru=* | --r=*)
1129 runstatedir=$ac_optarg ;;
1130
1131 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 ac_prev=sbindir ;;
1133 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1134 | --sbi=* | --sb=*)
1135 sbindir=$ac_optarg ;;
1136
1137 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1138 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1139 | --sharedst | --shareds | --shared | --share | --shar \
1140 | --sha | --sh)
1141 ac_prev=sharedstatedir ;;
1142 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1143 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1144 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1145 | --sha=* | --sh=*)
1146 sharedstatedir=$ac_optarg ;;
1147
1148 -site | --site | --sit)
1149 ac_prev=site ;;
1150 -site=* | --site=* | --sit=*)
1151 site=$ac_optarg ;;
1152
1153 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 ac_prev=srcdir ;;
1155 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1156 srcdir=$ac_optarg ;;
1157
1158 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1159 | --syscon | --sysco | --sysc | --sys | --sy)
1160 ac_prev=sysconfdir ;;
1161 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1162 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1163 sysconfdir=$ac_optarg ;;
1164
1165 -target | --target | --targe | --targ | --tar | --ta | --t)
1166 ac_prev=target_alias ;;
1167 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1168 target_alias=$ac_optarg ;;
1169
1170 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 verbose=yes ;;
1172
1173 -version | --version | --versio | --versi | --vers | -V)
1174 ac_init_version=: ;;
1175
1176 -with-* | --with-*)
1177 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 as_fn_error $? "invalid package name: '$ac_useropt'"
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1184 *"
1185 "with_$ac_useropt"
1186 "*) ;;
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1189 esac
1190 eval with_$ac_useropt=\$ac_optarg ;;
1191
1192 -without-* | --without-*)
1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196 as_fn_error $? "invalid package name: '$ac_useropt'"
1197 ac_useropt_orig=$ac_useropt
1198 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1200 *"
1201 "with_$ac_useropt"
1202 "*) ;;
1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep=', ';;
1205 esac
1206 eval with_$ac_useropt=no ;;
1207
1208 --x)
1209 # Obsolete; use --with-x.
1210 with_x=yes ;;
1211
1212 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1213 | --x-incl | --x-inc | --x-in | --x-i)
1214 ac_prev=x_includes ;;
1215 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1216 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1217 x_includes=$ac_optarg ;;
1218
1219 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1220 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1221 ac_prev=x_libraries ;;
1222 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1223 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1224 x_libraries=$ac_optarg ;;
1225
1226 -*) as_fn_error $? "unrecognized option: '$ac_option'
1227 Try '$0 --help' for more information"
1228 ;;
1229
1230 *=*)
1231 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' | [0-9]* | *[!_$as_cr_alnum]* )
1235 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1236 esac
1237 eval $ac_envvar=\$ac_optarg
1238 export $ac_envvar ;;
1239
1240 *)
1241 # FIXME: should be removed in autoconf 3.0.
1242 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246 ;;
1247
1248 esac
1249 done
1250
1251 if test -n "$ac_prev"; then
1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error $? "missing argument to $ac_option"
1254 fi
1255
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1258 no) ;;
1259 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1260 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261 esac
1262 fi
1263
1264 # Check all directory arguments for consistency.
1265 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir runstatedir
1269 do
1270 eval ac_val=\$$ac_var
1271 # Remove trailing slashes.
1272 case $ac_val in
1273 */ )
1274 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\$ac_val;;
1276 esac
1277 # Be sure to have absolute directory names.
1278 case $ac_val in
1279 [\\/$]* | ?:[\\/]* ) continue;;
1280 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281 esac
1282 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283 done
1284
1285 # There might be people who depend on the old broken behavior: '$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1288 build=$build_alias
1289 host=$host_alias
1290 target=$target_alias
1291
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x; then
1294 if test "x$build_alias" = x; then
1295 cross_compiling=maybe
1296 elif test "x$build_alias" != "x$host_alias"; then
1297 cross_compiling=yes
1298 fi
1299 fi
1300
1301 ac_tool_prefix=
1302 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1303
1304 test "$silent" = yes && exec 6>/dev/null
1305
1306
1307 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di=`ls -di .` &&
1309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $? "working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $? "pwd does not report name of working directory"
1313
1314
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 printf "%s\n" X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1326 s//\1/
1327 q
1328 }
1329 /^X\(\/\/\)[^/].*/{
1330 s//\1/
1331 q
1332 }
1333 /^X\(\/\/\)$/{
1334 s//\1/
1335 q
1336 }
1337 /^X\(\/\).*/{
1338 s//\1/
1339 q
1340 }
1341 s/.*/./; q'`
1342 srcdir=$ac_confdir
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 srcdir=..
1345 fi
1346 else
1347 ac_srcdir_defaulted=no
1348 fi
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1351 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1352 fi
1353 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1354 ac_abs_confdir=`(
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 pwd)`
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 srcdir=.
1360 fi
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1364 case $srcdir in
1365 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 esac
1367 for ac_var in $ac_precious_vars; do
1368 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_${ac_var}_value=\$${ac_var}
1370 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1372 done
1373
1374 #
1375 # Report the --help message.
1376 #
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1380 cat <<_ACEOF
1381 'configure' configures ChkTeX (TeX Live) 1.7.9 to adapt to many kinds of systems.
1382
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1384
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1387
1388 Defaults for the options are specified in brackets.
1389
1390 Configuration:
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print 'checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for '--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or '..']
1400
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 [PREFIX]
1406
1407 By default, 'make install' will install all the files in
1408 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than '$ac_default_prefix' using '--prefix',
1410 for instance '--prefix=\$HOME'.
1411
1412 For better control, use the options below.
1413
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root
1431 [DATAROOTDIR/doc/chktex--tex-live-]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1436 _ACEOF
1437
1438 cat <<\_ACEOF
1439
1440 Program names:
1441 --program-prefix=PREFIX prepend PREFIX to installed program names
1442 --program-suffix=SUFFIX append SUFFIX to installed program names
1443 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1444
1445 System types:
1446 --build=BUILD configure for building on BUILD [guessed]
1447 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1448 _ACEOF
1449 fi
1450
1451 if test -n "$ac_init_help"; then
1452 case $ac_init_help in
1453 short | recursive ) echo "Configuration of ChkTeX (TeX Live) 1.7.9:";;
1454 esac
1455 cat <<\_ACEOF
1456
1457 Optional Features:
1458 --disable-option-checking ignore unrecognized --enable/--with options
1459 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1460 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1461 --enable-silent-rules less verbose build output (undo: "make V=1")
1462 --disable-silent-rules verbose build output (undo: "make V=0")
1463 --enable-maintainer-mode
1464 enable make rules and dependencies not useful (and
1465 sometimes confusing) to the casual installer
1466 --enable-dependency-tracking
1467 do not reject slow dependency extractors
1468 --disable-dependency-tracking
1469 speeds up one-time build
1470 --enable-compiler-warnings=[no|min|yes|max|all]
1471 Turn on compiler warnings [default: yes if
1472 maintainer-mode, min otherwise]
1473 --enable-shared[=PKGS] build shared libraries [default=yes]
1474 --enable-static[=PKGS] build static libraries [default=yes]
1475 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1476 both]
1477 --enable-fast-install[=PKGS]
1478 optimize for fast installation [default=yes]
1479 --enable-aix-soname=aix|svr4|both
1480 shared library versioning (aka "SONAME") variant to
1481 provide on AIX, [default=aix].
1482 --disable-libtool-lock avoid locking (might break parallel builds)
1483 --disable-largefile omit support for large files
1484 --enable-year2038 support timestamps after 2038
1485
1486 Optional Packages:
1487 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1488 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1489 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1490 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1491 compiler's sysroot if not specified).
1492 --with-system-kpathsea use installed kpathsea headers and library (requires
1493 pkg-config)
1494
1495 Some influential environment variables:
1496 CC C compiler command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1499 nonstandard directory <lib dir>
1500 LIBS libraries to pass to the linker, e.g. -l<library>
1501 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502 you have headers in a nonstandard directory <include dir>
1503 LT_SYS_LIBRARY_PATH
1504 User-defined run-time library search path.
1505 LATEX LaTeX command
1506
1507 Use these variables to override the choices made by 'configure' or to help
1508 it to find libraries and programs with nonstandard names/locations.
1509
1510 Report bugs to <[email protected]>.
1511 _ACEOF
1512 ac_status=$?
1513 fi
1514
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520 continue
1521 ac_builddir=.
1522
1523 case "$ac_dir" in
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *)
1526 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1527 # A ".." for each directory in $ac_dir_suffix.
1528 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1529 case $ac_top_builddir_sub in
1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1532 esac ;;
1533 esac
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1538
1539 case $srcdir in
1540 .) # We are building in place.
1541 ac_srcdir=.
1542 ac_top_srcdir=$ac_top_builddir_sub
1543 ac_abs_top_srcdir=$ac_pwd ;;
1544 [\\/]* | ?:[\\/]* ) # Absolute name.
1545 ac_srcdir=$srcdir$ac_dir_suffix;
1546 ac_top_srcdir=$srcdir
1547 ac_abs_top_srcdir=$srcdir ;;
1548 *) # Relative name.
1549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550 ac_top_srcdir=$ac_top_build_prefix$srcdir
1551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1552 esac
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1554
1555 cd "$ac_dir" || { ac_status=$?; continue; }
1556 # Check for configure.gnu first; this name is used for a wrapper for
1557 # Metaconfig's "Configure" on case-insensitive file systems.
1558 if test -f "$ac_srcdir/configure.gnu"; then
1559 echo &&
1560 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1561 elif test -f "$ac_srcdir/configure"; then
1562 echo &&
1563 $SHELL "$ac_srcdir/configure" --help=recursive
1564 else
1565 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1566 fi || ac_status=$?
1567 cd "$ac_pwd" || { ac_status=$?; break; }
1568 done
1569 fi
1570
1571 test -n "$ac_init_help" && exit $ac_status
1572 if $ac_init_version; then
1573 cat <<\_ACEOF
1574 ChkTeX (TeX Live) configure 1.7.9
1575 generated by GNU Autoconf 2.72
1576
1577 Copyright (C) 2023 Free Software Foundation, Inc.
1578 This configure script is free software; the Free Software Foundation
1579 gives unlimited permission to copy, distribute and modify it.
1580 _ACEOF
1581 exit
1582 fi
1583
1584 ## ------------------------ ##
1585 ## Autoconf initialization. ##
1586 ## ------------------------ ##
1587
1588 # ac_fn_c_try_compile LINENO
1589 # --------------------------
1590 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1591 ac_fn_c_try_compile ()
1592 {
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 rm -f conftest.$ac_objext conftest.beam
1595 if { { ac_try="$ac_compile"
1596 case "(($ac_try" in
1597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1598 *) ac_try_echo=$ac_try;;
1599 esac
1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 printf "%s\n" "$ac_try_echo"; } >&5
1602 (eval "$ac_compile") 2>conftest.err
1603 ac_status=$?
1604 if test -s conftest.err; then
1605 grep -v '^ *+' conftest.err >conftest.er1
1606 cat conftest.er1 >&5
1607 mv -f conftest.er1 conftest.err
1608 fi
1609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; } && {
1611 test -z "$ac_c_werror_flag" ||
1612 test ! -s conftest.err
1613 } && test -s conftest.$ac_objext
1614 then :
1615 ac_retval=0
1616 else case e in #(
1617 e) printf "%s\n" "$as_me: failed program was:" >&5
1618 sed 's/^/| /' conftest.$ac_ext >&5
1619
1620 ac_retval=1 ;;
1621 esac
1622 fi
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status $ac_retval
1625
1626 } # ac_fn_c_try_compile
1627
1628 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1629 # -------------------------------------------------------
1630 # Tests whether HEADER exists and can be compiled using the include files in
1631 # INCLUDES, setting the cache variable VAR accordingly.
1632 ac_fn_c_check_header_compile ()
1633 {
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 printf %s "checking for $2... " >&6; }
1637 if eval test \${$3+y}
1638 then :
1639 printf %s "(cached) " >&6
1640 else case e in #(
1641 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1643 $4
1644 #include <$2>
1645 _ACEOF
1646 if ac_fn_c_try_compile "$LINENO"
1647 then :
1648 eval "$3=yes"
1649 else case e in #(
1650 e) eval "$3=no" ;;
1651 esac
1652 fi
1653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1654 esac
1655 fi
1656 eval ac_res=\$$3
1657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658 printf "%s\n" "$ac_res" >&6; }
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660
1661 } # ac_fn_c_check_header_compile
1662
1663 # ac_fn_c_try_link LINENO
1664 # -----------------------
1665 # Try to link conftest.$ac_ext, and return whether this succeeded.
1666 ac_fn_c_try_link ()
1667 {
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1670 if { { ac_try="$ac_link"
1671 case "(($ac_try" in
1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1674 esac
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 printf "%s\n" "$ac_try_echo"; } >&5
1677 (eval "$ac_link") 2>conftest.err
1678 ac_status=$?
1679 if test -s conftest.err; then
1680 grep -v '^ *+' conftest.err >conftest.er1
1681 cat conftest.er1 >&5
1682 mv -f conftest.er1 conftest.err
1683 fi
1684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } && {
1686 test -z "$ac_c_werror_flag" ||
1687 test ! -s conftest.err
1688 } && test -s conftest$ac_exeext && {
1689 test "$cross_compiling" = yes ||
1690 test -x conftest$ac_exeext
1691 }
1692 then :
1693 ac_retval=0
1694 else case e in #(
1695 e) printf "%s\n" "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1697
1698 ac_retval=1 ;;
1699 esac
1700 fi
1701 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1702 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1703 # interfere with the next link command; also delete a directory that is
1704 # left behind by Apple's compiler. We do this before executing the actions.
1705 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707 as_fn_set_status $ac_retval
1708
1709 } # ac_fn_c_try_link
1710
1711 # ac_fn_c_check_func LINENO FUNC VAR
1712 # ----------------------------------
1713 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1714 ac_fn_c_check_func ()
1715 {
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1718 printf %s "checking for $2... " >&6; }
1719 if eval test \${$3+y}
1720 then :
1721 printf %s "(cached) " >&6
1722 else case e in #(
1723 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1724 /* end confdefs.h. */
1725 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1727 #define $2 innocuous_$2
1728
1729 /* System header to define __stub macros and hopefully few prototypes,
1730 which can conflict with char $2 (void); below. */
1731
1732 #include <limits.h>
1733 #undef $2
1734
1735 /* Override any GCC internal prototype to avoid an error.
1736 Use char because int might match the return type of a GCC
1737 builtin and then its argument prototype would still apply. */
1738 #ifdef __cplusplus
1739 extern "C"
1740 #endif
1741 char $2 (void);
1742 /* The GNU C library defines this for functions which it implements
1743 to always fail with ENOSYS. Some functions are actually named
1744 something starting with __ and the normal name is an alias. */
1745 #if defined __stub_$2 || defined __stub___$2
1746 choke me
1747 #endif
1748
1749 int
1750 main (void)
1751 {
1752 return $2 ();
1753 ;
1754 return 0;
1755 }
1756 _ACEOF
1757 if ac_fn_c_try_link "$LINENO"
1758 then :
1759 eval "$3=yes"
1760 else case e in #(
1761 e) eval "$3=no" ;;
1762 esac
1763 fi
1764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1765 conftest$ac_exeext conftest.$ac_ext ;;
1766 esac
1767 fi
1768 eval ac_res=\$$3
1769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 printf "%s\n" "$ac_res" >&6; }
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772
1773 } # ac_fn_c_check_func
1774
1775 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1776 # -------------------------------------------
1777 # Tests whether TYPE exists after having included INCLUDES, setting cache
1778 # variable VAR accordingly.
1779 ac_fn_c_check_type ()
1780 {
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 printf %s "checking for $2... " >&6; }
1784 if eval test \${$3+y}
1785 then :
1786 printf %s "(cached) " >&6
1787 else case e in #(
1788 e) eval "$3=no"
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1805 $4
1806 int
1807 main (void)
1808 {
1809 if (sizeof (($2)))
1810 return 0;
1811 ;
1812 return 0;
1813 }
1814 _ACEOF
1815 if ac_fn_c_try_compile "$LINENO"
1816 then :
1817
1818 else case e in #(
1819 e) eval "$3=yes" ;;
1820 esac
1821 fi
1822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1823 fi
1824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1825 esac
1826 fi
1827 eval ac_res=\$$3
1828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829 printf "%s\n" "$ac_res" >&6; }
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831
1832 } # ac_fn_c_check_type
1833
1834 # ac_fn_c_find_intX_t LINENO BITS VAR
1835 # -----------------------------------
1836 # Finds a signed integer type with width BITS, setting cache variable VAR
1837 # accordingly.
1838 ac_fn_c_find_intX_t ()
1839 {
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1842 printf %s "checking for int$2_t... " >&6; }
1843 if eval test \${$3+y}
1844 then :
1845 printf %s "(cached) " >&6
1846 else case e in #(
1847 e) eval "$3=no"
1848 # Order is important - never check a type that is potentially smaller
1849 # than half of the expected target width.
1850 for ac_type in int$2_t 'int' 'long int' \
1851 'long long int' 'short int' 'signed char'; do
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1854 $ac_includes_default
1855 enum { N = $2 / 2 - 1 };
1856 int
1857 main (void)
1858 {
1859 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1860 test_array [0] = 0;
1861 return test_array [0];
1862
1863 ;
1864 return 0;
1865 }
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"
1868 then :
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1871 $ac_includes_default
1872 enum { N = $2 / 2 - 1 };
1873 int
1874 main (void)
1875 {
1876 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1877 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1878 test_array [0] = 0;
1879 return test_array [0];
1880
1881 ;
1882 return 0;
1883 }
1884 _ACEOF
1885 if ac_fn_c_try_compile "$LINENO"
1886 then :
1887
1888 else case e in #(
1889 e) case $ac_type in #(
1890 int$2_t) :
1891 eval "$3=yes" ;; #(
1892 *) :
1893 eval "$3=\$ac_type" ;;
1894 esac ;;
1895 esac
1896 fi
1897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1898 fi
1899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1900 if eval test \"x\$"$3"\" = x"no"
1901 then :
1902
1903 else case e in #(
1904 e) break ;;
1905 esac
1906 fi
1907 done ;;
1908 esac
1909 fi
1910 eval ac_res=\$$3
1911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 printf "%s\n" "$ac_res" >&6; }
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914
1915 } # ac_fn_c_find_intX_t
1916
1917 # ac_fn_c_find_uintX_t LINENO BITS VAR
1918 # ------------------------------------
1919 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1920 # accordingly.
1921 ac_fn_c_find_uintX_t ()
1922 {
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1925 printf %s "checking for uint$2_t... " >&6; }
1926 if eval test \${$3+y}
1927 then :
1928 printf %s "(cached) " >&6
1929 else case e in #(
1930 e) eval "$3=no"
1931 # Order is important - never check a type that is potentially smaller
1932 # than half of the expected target width.
1933 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1934 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1937 $ac_includes_default
1938 int
1939 main (void)
1940 {
1941 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1942 test_array [0] = 0;
1943 return test_array [0];
1944
1945 ;
1946 return 0;
1947 }
1948 _ACEOF
1949 if ac_fn_c_try_compile "$LINENO"
1950 then :
1951 case $ac_type in #(
1952 uint$2_t) :
1953 eval "$3=yes" ;; #(
1954 *) :
1955 eval "$3=\$ac_type" ;;
1956 esac
1957 fi
1958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1959 if eval test \"x\$"$3"\" = x"no"
1960 then :
1961
1962 else case e in #(
1963 e) break ;;
1964 esac
1965 fi
1966 done ;;
1967 esac
1968 fi
1969 eval ac_res=\$$3
1970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 printf "%s\n" "$ac_res" >&6; }
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973
1974 } # ac_fn_c_find_uintX_t
1975
1976 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1977 # ------------------------------------------------------------------
1978 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1979 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1980 ac_fn_check_decl ()
1981 {
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 as_decl_name=`echo $2|sed 's/ *(.*//'`
1984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1985 printf %s "checking whether $as_decl_name is declared... " >&6; }
1986 if eval test \${$3+y}
1987 then :
1988 printf %s "(cached) " >&6
1989 else case e in #(
1990 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1991 eval ac_save_FLAGS=\$$6
1992 as_fn_append $6 " $5"
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1995 $4
1996 int
1997 main (void)
1998 {
1999 #ifndef $as_decl_name
2000 #ifdef __cplusplus
2001 (void) $as_decl_use;
2002 #else
2003 (void) $as_decl_name;
2004 #endif
2005 #endif
2006
2007 ;
2008 return 0;
2009 }
2010 _ACEOF
2011 if ac_fn_c_try_compile "$LINENO"
2012 then :
2013 eval "$3=yes"
2014 else case e in #(
2015 e) eval "$3=no" ;;
2016 esac
2017 fi
2018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2019 eval $6=\$ac_save_FLAGS
2020 ;;
2021 esac
2022 fi
2023 eval ac_res=\$$3
2024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2025 printf "%s\n" "$ac_res" >&6; }
2026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027
2028 } # ac_fn_check_decl
2029
2030 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2031 # ----------------------------------------------------
2032 # Tries to find if the field MEMBER exists in type AGGR, after including
2033 # INCLUDES, setting cache variable VAR accordingly.
2034 ac_fn_c_check_member ()
2035 {
2036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2038 printf %s "checking for $2.$3... " >&6; }
2039 if eval test \${$4+y}
2040 then :
2041 printf %s "(cached) " >&6
2042 else case e in #(
2043 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2045 $5
2046 int
2047 main (void)
2048 {
2049 static $2 ac_aggr;
2050 if (ac_aggr.$3)
2051 return 0;
2052 ;
2053 return 0;
2054 }
2055 _ACEOF
2056 if ac_fn_c_try_compile "$LINENO"
2057 then :
2058 eval "$4=yes"
2059 else case e in #(
2060 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2062 $5
2063 int
2064 main (void)
2065 {
2066 static $2 ac_aggr;
2067 if (sizeof ac_aggr.$3)
2068 return 0;
2069 ;
2070 return 0;
2071 }
2072 _ACEOF
2073 if ac_fn_c_try_compile "$LINENO"
2074 then :
2075 eval "$4=yes"
2076 else case e in #(
2077 e) eval "$4=no" ;;
2078 esac
2079 fi
2080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2081 esac
2082 fi
2083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2084 esac
2085 fi
2086 eval ac_res=\$$4
2087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 printf "%s\n" "$ac_res" >&6; }
2089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090
2091 } # ac_fn_c_check_member
2092 ac_configure_args_raw=
2093 for ac_arg
2094 do
2095 case $ac_arg in
2096 *\'*)
2097 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2098 esac
2099 as_fn_append ac_configure_args_raw " '$ac_arg'"
2100 done
2101
2102 case $ac_configure_args_raw in
2103 *$as_nl*)
2104 ac_safe_unquote= ;;
2105 *)
2106 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2107 ac_unsafe_a="$ac_unsafe_z#~"
2108 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2109 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2110 esac
2111
2112 cat >config.log <<_ACEOF
2113 This file contains any messages produced by compilers while
2114 running configure, to aid debugging if configure makes a mistake.
2115
2116 It was created by ChkTeX (TeX Live) $as_me 1.7.9, which was
2117 generated by GNU Autoconf 2.72. Invocation command line was
2118
2119 $ $0$ac_configure_args_raw
2120
2121 _ACEOF
2122 exec 5>>config.log
2123 {
2124 cat <<_ASUNAME
2125 ## --------- ##
2126 ## Platform. ##
2127 ## --------- ##
2128
2129 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2130 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2131 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2132 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2133 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2134
2135 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2136 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2137
2138 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2139 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2140 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2141 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2142 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2143 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2144 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2145
2146 _ASUNAME
2147
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 for as_dir in $PATH
2150 do
2151 IFS=$as_save_IFS
2152 case $as_dir in #(((
2153 '') as_dir=./ ;;
2154 */) ;;
2155 *) as_dir=$as_dir/ ;;
2156 esac
2157 printf "%s\n" "PATH: $as_dir"
2158 done
2159 IFS=$as_save_IFS
2160
2161 } >&5
2162
2163 cat >&5 <<_ACEOF
2164
2165
2166 ## ----------- ##
2167 ## Core tests. ##
2168 ## ----------- ##
2169
2170 _ACEOF
2171
2172
2173 # Keep a trace of the command line.
2174 # Strip out --no-create and --no-recursion so they do not pile up.
2175 # Strip out --silent because we don't want to record it for future runs.
2176 # Also quote any args containing shell meta-characters.
2177 # Make two passes to allow for proper duplicate-argument suppression.
2178 ac_configure_args=
2179 ac_configure_args0=
2180 ac_configure_args1=
2181 ac_must_keep_next=false
2182 for ac_pass in 1 2
2183 do
2184 for ac_arg
2185 do
2186 case $ac_arg in
2187 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2188 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2189 | -silent | --silent | --silen | --sile | --sil)
2190 continue ;;
2191 *\'*)
2192 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2193 esac
2194 case $ac_pass in
2195 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2196 2)
2197 as_fn_append ac_configure_args1 " '$ac_arg'"
2198 if test $ac_must_keep_next = true; then
2199 ac_must_keep_next=false # Got value, back to normal.
2200 else
2201 case $ac_arg in
2202 *=* | --config-cache | -C | -disable-* | --disable-* \
2203 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2204 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2205 | -with-* | --with-* | -without-* | --without-* | --x)
2206 case "$ac_configure_args0 " in
2207 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2208 esac
2209 ;;
2210 -* ) ac_must_keep_next=true ;;
2211 esac
2212 fi
2213 as_fn_append ac_configure_args " '$ac_arg'"
2214 ;;
2215 esac
2216 done
2217 done
2218 { ac_configure_args0=; unset ac_configure_args0;}
2219 { ac_configure_args1=; unset ac_configure_args1;}
2220
2221 # When interrupted or exit'd, cleanup temporary files, and complete
2222 # config.log. We remove comments because anyway the quotes in there
2223 # would cause problems or look ugly.
2224 # WARNING: Use '\'' to represent an apostrophe within the trap.
2225 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2226 trap 'exit_status=$?
2227 # Sanitize IFS.
2228 IFS=" "" $as_nl"
2229 # Save into config.log some information that might help in debugging.
2230 {
2231 echo
2232
2233 printf "%s\n" "## ---------------- ##
2234 ## Cache variables. ##
2235 ## ---------------- ##"
2236 echo
2237 # The following way of writing the cache mishandles newlines in values,
2238 (
2239 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2240 eval ac_val=\$$ac_var
2241 case $ac_val in #(
2242 *${as_nl}*)
2243 case $ac_var in #(
2244 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2245 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2246 esac
2247 case $ac_var in #(
2248 _ | IFS | as_nl) ;; #(
2249 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2250 *) { eval $ac_var=; unset $ac_var;} ;;
2251 esac ;;
2252 esac
2253 done
2254 (set) 2>&1 |
2255 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2256 *${as_nl}ac_space=\ *)
2257 sed -n \
2258 "s/'\''/'\''\\\\'\'''\''/g;
2259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2260 ;; #(
2261 *)
2262 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2263 ;;
2264 esac |
2265 sort
2266 )
2267 echo
2268
2269 printf "%s\n" "## ----------------- ##
2270 ## Output variables. ##
2271 ## ----------------- ##"
2272 echo
2273 for ac_var in $ac_subst_vars
2274 do
2275 eval ac_val=\$$ac_var
2276 case $ac_val in
2277 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2278 esac
2279 printf "%s\n" "$ac_var='\''$ac_val'\''"
2280 done | sort
2281 echo
2282
2283 if test -n "$ac_subst_files"; then
2284 printf "%s\n" "## ------------------- ##
2285 ## File substitutions. ##
2286 ## ------------------- ##"
2287 echo
2288 for ac_var in $ac_subst_files
2289 do
2290 eval ac_val=\$$ac_var
2291 case $ac_val in
2292 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2293 esac
2294 printf "%s\n" "$ac_var='\''$ac_val'\''"
2295 done | sort
2296 echo
2297 fi
2298
2299 if test -s confdefs.h; then
2300 printf "%s\n" "## ----------- ##
2301 ## confdefs.h. ##
2302 ## ----------- ##"
2303 echo
2304 cat confdefs.h
2305 echo
2306 fi
2307 test "$ac_signal" != 0 &&
2308 printf "%s\n" "$as_me: caught signal $ac_signal"
2309 printf "%s\n" "$as_me: exit $exit_status"
2310 } >&5
2311 rm -f core *.core core.conftest.* &&
2312 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2313 exit $exit_status
2314 ' 0
2315 for ac_signal in 1 2 13 15; do
2316 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2317 done
2318 ac_signal=0
2319
2320 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2321 rm -f -r conftest* confdefs.h
2322
2323 printf "%s\n" "/* confdefs.h */" > confdefs.h
2324
2325 # Predefined preprocessor variables.
2326
2327 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2328
2329 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2330
2331 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2332
2333 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2334
2335 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2336
2337 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2338
2339
2340 # Let the site file select an alternate cache file if it wants to.
2341 # Prefer an explicitly selected file to automatically selected ones.
2342 if test -n "$CONFIG_SITE"; then
2343 ac_site_files="$CONFIG_SITE"
2344 elif test "x$prefix" != xNONE; then
2345 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2346 else
2347 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2348 fi
2349
2350 for ac_site_file in $ac_site_files
2351 do
2352 case $ac_site_file in #(
2353 */*) :
2354 ;; #(
2355 *) :
2356 ac_site_file=./$ac_site_file ;;
2357 esac
2358 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2360 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2361 sed 's/^/| /' "$ac_site_file" >&5
2362 . "$ac_site_file" \
2363 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2364 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2365 as_fn_error $? "failed to load site script $ac_site_file
2366 See 'config.log' for more details" "$LINENO" 5; }
2367 fi
2368 done
2369
2370 if test -r "$cache_file"; then
2371 # Some versions of bash will fail to source /dev/null (special files
2372 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2373 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2375 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2376 case $cache_file in
2377 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2378 *) . "./$cache_file";;
2379 esac
2380 fi
2381 else
2382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2383 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2384 >$cache_file
2385 fi
2386
2387 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2388 # Test code for whether the C compiler supports C89 (global declarations)
2389 ac_c_conftest_c89_globals='
2390 /* Does the compiler advertise C89 conformance?
2391 Do not test the value of __STDC__, because some compilers set it to 0
2392 while being otherwise adequately conformant. */
2393 #if !defined __STDC__
2394 # error "Compiler does not advertise C89 conformance"
2395 #endif
2396
2397 #include <stddef.h>
2398 #include <stdarg.h>
2399 struct stat;
2400 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2401 struct buf { int x; };
2402 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2403 static char *e (char **p, int i)
2404 {
2405 return p[i];
2406 }
2407 static char *f (char * (*g) (char **, int), char **p, ...)
2408 {
2409 char *s;
2410 va_list v;
2411 va_start (v,p);
2412 s = g (p, va_arg (v,int));
2413 va_end (v);
2414 return s;
2415 }
2416
2417 /* C89 style stringification. */
2418 #define noexpand_stringify(a) #a
2419 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2420
2421 /* C89 style token pasting. Exercises some of the corner cases that
2422 e.g. old MSVC gets wrong, but not very hard. */
2423 #define noexpand_concat(a,b) a##b
2424 #define expand_concat(a,b) noexpand_concat(a,b)
2425 extern int vA;
2426 extern int vbee;
2427 #define aye A
2428 #define bee B
2429 int *pvA = &expand_concat(v,aye);
2430 int *pvbee = &noexpand_concat(v,bee);
2431
2432 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2433 function prototypes and stuff, but not \xHH hex character constants.
2434 These do not provoke an error unfortunately, instead are silently treated
2435 as an "x". The following induces an error, until -std is added to get
2436 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2437 array size at least. It is necessary to write \x00 == 0 to get something
2438 that is true only with -std. */
2439 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2440
2441 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2442 inside strings and character constants. */
2443 #define FOO(x) '\''x'\''
2444 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2445
2446 int test (int i, double x);
2447 struct s1 {int (*f) (int a);};
2448 struct s2 {int (*f) (double a);};
2449 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2450 int, int);'
2451
2452 # Test code for whether the C compiler supports C89 (body of main).
2453 ac_c_conftest_c89_main='
2454 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2455 '
2456
2457 # Test code for whether the C compiler supports C99 (global declarations)
2458 ac_c_conftest_c99_globals='
2459 /* Does the compiler advertise C99 conformance? */
2460 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2461 # error "Compiler does not advertise C99 conformance"
2462 #endif
2463
2464 // See if C++-style comments work.
2465
2466 #include <stdbool.h>
2467 extern int puts (const char *);
2468 extern int printf (const char *, ...);
2469 extern int dprintf (int, const char *, ...);
2470 extern void *malloc (size_t);
2471 extern void free (void *);
2472
2473 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2474 // dprintf is used instead of fprintf to avoid needing to declare
2475 // FILE and stderr.
2476 #define debug(...) dprintf (2, __VA_ARGS__)
2477 #define showlist(...) puts (#__VA_ARGS__)
2478 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2479 static void
2480 test_varargs_macros (void)
2481 {
2482 int x = 1234;
2483 int y = 5678;
2484 debug ("Flag");
2485 debug ("X = %d\n", x);
2486 showlist (The first, second, and third items.);
2487 report (x>y, "x is %d but y is %d", x, y);
2488 }
2489
2490 // Check long long types.
2491 #define BIG64 18446744073709551615ull
2492 #define BIG32 4294967295ul
2493 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2494 #if !BIG_OK
2495 #error "your preprocessor is broken"
2496 #endif
2497 #if BIG_OK
2498 #else
2499 #error "your preprocessor is broken"
2500 #endif
2501 static long long int bignum = -9223372036854775807LL;
2502 static unsigned long long int ubignum = BIG64;
2503
2504 struct incomplete_array
2505 {
2506 int datasize;
2507 double data[];
2508 };
2509
2510 struct named_init {
2511 int number;
2512 const wchar_t *name;
2513 double average;
2514 };
2515
2516 typedef const char *ccp;
2517
2518 static inline int
2519 test_restrict (ccp restrict text)
2520 {
2521 // Iterate through items via the restricted pointer.
2522 // Also check for declarations in for loops.
2523 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2524 continue;
2525 return 0;
2526 }
2527
2528 // Check varargs and va_copy.
2529 static bool
2530 test_varargs (const char *format, ...)
2531 {
2532 va_list args;
2533 va_start (args, format);
2534 va_list args_copy;
2535 va_copy (args_copy, args);
2536
2537 const char *str = "";
2538 int number = 0;
2539 float fnumber = 0;
2540
2541 while (*format)
2542 {
2543 switch (*format++)
2544 {
2545 case '\''s'\'': // string
2546 str = va_arg (args_copy, const char *);
2547 break;
2548 case '\''d'\'': // int
2549 number = va_arg (args_copy, int);
2550 break;
2551 case '\''f'\'': // float
2552 fnumber = va_arg (args_copy, double);
2553 break;
2554 default:
2555 break;
2556 }
2557 }
2558 va_end (args_copy);
2559 va_end (args);
2560
2561 return *str && number && fnumber;
2562 }
2563 '
2564
2565 # Test code for whether the C compiler supports C99 (body of main).
2566 ac_c_conftest_c99_main='
2567 // Check bool.
2568 _Bool success = false;
2569 success |= (argc != 0);
2570
2571 // Check restrict.
2572 if (test_restrict ("String literal") == 0)
2573 success = true;
2574 char *restrict newvar = "Another string";
2575
2576 // Check varargs.
2577 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2578 test_varargs_macros ();
2579
2580 // Check flexible array members.
2581 struct incomplete_array *ia =
2582 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2583 ia->datasize = 10;
2584 for (int i = 0; i < ia->datasize; ++i)
2585 ia->data[i] = i * 1.234;
2586 // Work around memory leak warnings.
2587 free (ia);
2588
2589 // Check named initializers.
2590 struct named_init ni = {
2591 .number = 34,
2592 .name = L"Test wide string",
2593 .average = 543.34343,
2594 };
2595
2596 ni.number = 58;
2597
2598 int dynamic_array[ni.number];
2599 dynamic_array[0] = argv[0][0];
2600 dynamic_array[ni.number - 1] = 543;
2601
2602 // work around unused variable warnings
2603 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2604 || dynamic_array[ni.number - 1] != 543);
2605 '
2606
2607 # Test code for whether the C compiler supports C11 (global declarations)
2608 ac_c_conftest_c11_globals='
2609 /* Does the compiler advertise C11 conformance? */
2610 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2611 # error "Compiler does not advertise C11 conformance"
2612 #endif
2613
2614 // Check _Alignas.
2615 char _Alignas (double) aligned_as_double;
2616 char _Alignas (0) no_special_alignment;
2617 extern char aligned_as_int;
2618 char _Alignas (0) _Alignas (int) aligned_as_int;
2619
2620 // Check _Alignof.
2621 enum
2622 {
2623 int_alignment = _Alignof (int),
2624 int_array_alignment = _Alignof (int[100]),
2625 char_alignment = _Alignof (char)
2626 };
2627 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2628
2629 // Check _Noreturn.
2630 int _Noreturn does_not_return (void) { for (;;) continue; }
2631
2632 // Check _Static_assert.
2633 struct test_static_assert
2634 {
2635 int x;
2636 _Static_assert (sizeof (int) <= sizeof (long int),
2637 "_Static_assert does not work in struct");
2638 long int y;
2639 };
2640
2641 // Check UTF-8 literals.
2642 #define u8 syntax error!
2643 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2644
2645 // Check duplicate typedefs.
2646 typedef long *long_ptr;
2647 typedef long int *long_ptr;
2648 typedef long_ptr long_ptr;
2649
2650 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2651 struct anonymous
2652 {
2653 union {
2654 struct { int i; int j; };
2655 struct { int k; long int l; } w;
2656 };
2657 int m;
2658 } v1;
2659 '
2660
2661 # Test code for whether the C compiler supports C11 (body of main).
2662 ac_c_conftest_c11_main='
2663 _Static_assert ((offsetof (struct anonymous, i)
2664 == offsetof (struct anonymous, w.k)),
2665 "Anonymous union alignment botch");
2666 v1.i = 2;
2667 v1.w.k = 5;
2668 ok |= v1.i != 5;
2669 '
2670
2671 # Test code for whether the C compiler supports C11 (complete).
2672 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2673 ${ac_c_conftest_c99_globals}
2674 ${ac_c_conftest_c11_globals}
2675
2676 int
2677 main (int argc, char **argv)
2678 {
2679 int ok = 0;
2680 ${ac_c_conftest_c89_main}
2681 ${ac_c_conftest_c99_main}
2682 ${ac_c_conftest_c11_main}
2683 return ok;
2684 }
2685 "
2686
2687 # Test code for whether the C compiler supports C99 (complete).
2688 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2689 ${ac_c_conftest_c99_globals}
2690
2691 int
2692 main (int argc, char **argv)
2693 {
2694 int ok = 0;
2695 ${ac_c_conftest_c89_main}
2696 ${ac_c_conftest_c99_main}
2697 return ok;
2698 }
2699 "
2700
2701 # Test code for whether the C compiler supports C89 (complete).
2702 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2703
2704 int
2705 main (int argc, char **argv)
2706 {
2707 int ok = 0;
2708 ${ac_c_conftest_c89_main}
2709 return ok;
2710 }
2711 "
2712
2713 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2714 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2715 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2716 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2717 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2718 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2719 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2720 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2721 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2722 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2723 as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF"
2724
2725 # Auxiliary files required by this configure script.
2726 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2727
2728 # Locations in which to look for auxiliary files.
2729 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2730
2731 # Search for a directory containing all of the required auxiliary files,
2732 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2733 # If we don't find one directory that contains all the files we need,
2734 # we report the set of missing files from the *first* directory in
2735 # $ac_aux_dir_candidates and give up.
2736 ac_missing_aux_files=""
2737 ac_first_candidate=:
2738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 as_found=false
2741 for as_dir in $ac_aux_dir_candidates
2742 do
2743 IFS=$as_save_IFS
2744 case $as_dir in #(((
2745 '') as_dir=./ ;;
2746 */) ;;
2747 *) as_dir=$as_dir/ ;;
2748 esac
2749 as_found=:
2750
2751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2752 ac_aux_dir_found=yes
2753 ac_install_sh=
2754 for ac_aux in $ac_aux_files
2755 do
2756 # As a special case, if "install-sh" is required, that requirement
2757 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2758 # and $ac_install_sh is set appropriately for whichever one is found.
2759 if test x"$ac_aux" = x"install-sh"
2760 then
2761 if test -f "${as_dir}install-sh"; then
2762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2763 ac_install_sh="${as_dir}install-sh -c"
2764 elif test -f "${as_dir}install.sh"; then
2765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2766 ac_install_sh="${as_dir}install.sh -c"
2767 elif test -f "${as_dir}shtool"; then
2768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2769 ac_install_sh="${as_dir}shtool install -c"
2770 else
2771 ac_aux_dir_found=no
2772 if $ac_first_candidate; then
2773 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2774 else
2775 break
2776 fi
2777 fi
2778 else
2779 if test -f "${as_dir}${ac_aux}"; then
2780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2781 else
2782 ac_aux_dir_found=no
2783 if $ac_first_candidate; then
2784 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2785 else
2786 break
2787 fi
2788 fi
2789 fi
2790 done
2791 if test "$ac_aux_dir_found" = yes; then
2792 ac_aux_dir="$as_dir"
2793 break
2794 fi
2795 ac_first_candidate=false
2796
2797 as_found=false
2798 done
2799 IFS=$as_save_IFS
2800 if $as_found
2801 then :
2802
2803 else case e in #(
2804 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2805 esac
2806 fi
2807
2808
2809 # These three variables are undocumented and unsupported,
2810 # and are intended to be withdrawn in a future Autoconf release.
2811 # They can cause serious problems if a builder's source tree is in a directory
2812 # whose full name contains unusual characters.
2813 if test -f "${ac_aux_dir}config.guess"; then
2814 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2815 fi
2816 if test -f "${ac_aux_dir}config.sub"; then
2817 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2818 fi
2819 if test -f "$ac_aux_dir/configure"; then
2820 ac_configure="$SHELL ${ac_aux_dir}configure"
2821 fi
2822
2823 # Check that the precious variables saved in the cache have kept the same
2824 # value.
2825 ac_cache_corrupted=false
2826 for ac_var in $ac_precious_vars; do
2827 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2828 eval ac_new_set=\$ac_env_${ac_var}_set
2829 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2830 eval ac_new_val=\$ac_env_${ac_var}_value
2831 case $ac_old_set,$ac_new_set in
2832 set,)
2833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2834 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2835 ac_cache_corrupted=: ;;
2836 ,set)
2837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2838 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2839 ac_cache_corrupted=: ;;
2840 ,);;
2841 *)
2842 if test "x$ac_old_val" != "x$ac_new_val"; then
2843 # differences in whitespace do not lead to failure.
2844 ac_old_val_w=`echo x $ac_old_val`
2845 ac_new_val_w=`echo x $ac_new_val`
2846 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2848 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2849 ac_cache_corrupted=:
2850 else
2851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2852 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2853 eval $ac_var=\$ac_old_val
2854 fi
2855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2856 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2858 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2859 fi;;
2860 esac
2861 # Pass precious variables to config.status.
2862 if test "$ac_new_set" = set; then
2863 case $ac_new_val in
2864 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2865 *) ac_arg=$ac_var=$ac_new_val ;;
2866 esac
2867 case " $ac_configure_args " in
2868 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2869 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2870 esac
2871 fi
2872 done
2873 if $ac_cache_corrupted; then
2874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2875 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2877 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2878 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2879 and start over" "$LINENO" 5
2880 fi
2881 ## -------------------- ##
2882 ## Main body of script. ##
2883 ## -------------------- ##
2884
2885 ac_ext=c
2886 ac_cpp='$CPP $CPPFLAGS'
2887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2890
2891
2892
2893
2894
2895
2896
2897 am__api_version='1.18'
2898
2899
2900
2901 # Find a good install program. We prefer a C program (faster),
2902 # so one script is as good as another. But avoid the broken or
2903 # incompatible versions:
2904 # SysV /etc/install, /usr/sbin/install
2905 # SunOS /usr/etc/install
2906 # IRIX /sbin/install
2907 # AIX /bin/install
2908 # AmigaOS /C/install, which installs bootblocks on floppy discs
2909 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2910 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2911 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2912 # OS/2's system install, which has a completely different semantic
2913 # ./install, which can be erroneously created by make from ./install.sh.
2914 # Reject install programs that cannot install multiple files.
2915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2916 printf %s "checking for a BSD-compatible install... " >&6; }
2917 if test -z "$INSTALL"; then
2918 if test ${ac_cv_path_install+y}
2919 then :
2920 printf %s "(cached) " >&6
2921 else case e in #(
2922 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 for as_dir in $PATH
2924 do
2925 IFS=$as_save_IFS
2926 case $as_dir in #(((
2927 '') as_dir=./ ;;
2928 */) ;;
2929 *) as_dir=$as_dir/ ;;
2930 esac
2931 # Account for fact that we put trailing slashes in our PATH walk.
2932 case $as_dir in #((
2933 ./ | /[cC]/* | \
2934 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2935 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2936 /usr/ucb/* ) ;;
2937 *)
2938 # OSF1 and SCO ODT 3.0 have their own names for install.
2939 # Don't use installbsd from OSF since it installs stuff as root
2940 # by default.
2941 for ac_prog in ginstall scoinst install; do
2942 for ac_exec_ext in '' $ac_executable_extensions; do
2943 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2944 if test $ac_prog = install &&
2945 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2946 # AIX install. It has an incompatible calling convention.
2947 :
2948 elif test $ac_prog = install &&
2949 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2950 # program-specific install script used by HP pwplus--don't use.
2951 :
2952 else
2953 rm -rf conftest.one conftest.two conftest.dir
2954 echo one > conftest.one
2955 echo two > conftest.two
2956 mkdir conftest.dir
2957 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2958 test -s conftest.one && test -s conftest.two &&
2959 test -s conftest.dir/conftest.one &&
2960 test -s conftest.dir/conftest.two
2961 then
2962 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2963 break 3
2964 fi
2965 fi
2966 fi
2967 done
2968 done
2969 ;;
2970 esac
2971
2972 done
2973 IFS=$as_save_IFS
2974
2975 rm -rf conftest.one conftest.two conftest.dir
2976 ;;
2977 esac
2978 fi
2979 if test ${ac_cv_path_install+y}; then
2980 INSTALL=$ac_cv_path_install
2981 else
2982 # As a last resort, use the slow shell script. Don't cache a
2983 # value for INSTALL within a source directory, because that will
2984 # break other packages using the cache if that directory is
2985 # removed, or if the value is a relative name.
2986 INSTALL=$ac_install_sh
2987 fi
2988 fi
2989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2990 printf "%s\n" "$INSTALL" >&6; }
2991
2992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2993 # It thinks the first close brace ends the variable substitution.
2994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2995
2996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2997
2998 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2999
3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
3001 printf %s "checking whether sleep supports fractional seconds... " >&6; }
3002 if test ${am_cv_sleep_fractional_seconds+y}
3003 then :
3004 printf %s "(cached) " >&6
3005 else case e in #(
3006 e) if sleep 0.001 2>/dev/null
3007 then :
3008 am_cv_sleep_fractional_seconds=yes
3009 else case e in #(
3010 e) am_cv_sleep_fractional_seconds=no ;;
3011 esac
3012 fi
3013 ;;
3014 esac
3015 fi
3016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3017 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3018
3019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3020 printf %s "checking filesystem timestamp resolution... " >&6; }
3021 if test ${am_cv_filesystem_timestamp_resolution+y}
3022 then :
3023 printf %s "(cached) " >&6
3024 else case e in #(
3025 e) # Default to the worst case.
3026 am_cv_filesystem_timestamp_resolution=2
3027
3028 # Only try to go finer than 1 sec if sleep can do it.
3029 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3030 # - 1 sec is not much of a win compared to 2 sec, and
3031 # - it takes 2 seconds to perform the test whether 1 sec works.
3032 #
3033 # Instead, just use the default 2s on platforms that have 1s resolution,
3034 # accept the extra 1s delay when using $sleep in the Automake tests, in
3035 # exchange for not incurring the 2s delay for running the test for all
3036 # packages.
3037 #
3038 am_try_resolutions=
3039 if test "$am_cv_sleep_fractional_seconds" = yes; then
3040 # Even a millisecond often causes a bunch of false positives,
3041 # so just try a hundredth of a second. The time saved between .001 and
3042 # .01 is not terribly consequential.
3043 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3044 fi
3045
3046 # In order to catch current-generation FAT out, we must *modify* files
3047 # that already exist; the *creation* timestamp is finer. Use names
3048 # that make ls -t sort them differently when they have equal
3049 # timestamps than when they have distinct timestamps, keeping
3050 # in mind that ls -t prints the *newest* file first.
3051 rm -f conftest.ts?
3052 : > conftest.ts1
3053 : > conftest.ts2
3054 : > conftest.ts3
3055
3056 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3057 # clobber the current shell's arguments. (Outer-level square brackets
3058 # are removed by m4; they're present so that m4 does not expand
3059 # <dollar><star>; be careful, easy to get confused.)
3060 if (
3061 set X `ls -t conftest.ts[12]` &&
3062 {
3063 test "$*" != "X conftest.ts1 conftest.ts2" ||
3064 test "$*" != "X conftest.ts2 conftest.ts1";
3065 }
3066 ); then :; else
3067 # If neither matched, then we have a broken ls. This can happen
3068 # if, for instance, CONFIG_SHELL is bash and it inherits a
3069 # broken ls alias from the environment. This has actually
3070 # happened. Such a system could not be considered "sane".
3071 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3072 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3073 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3074 as_fn_error $? "ls -t produces unexpected output.
3075 Make sure there is not a broken ls alias in your environment.
3076 See 'config.log' for more details" "$LINENO" 5; }
3077 fi
3078
3079 for am_try_res in $am_try_resolutions; do
3080 # Any one fine-grained sleep might happen to cross the boundary
3081 # between two values of a coarser actual resolution, but if we do
3082 # two fine-grained sleeps in a row, at least one of them will fall
3083 # entirely within a coarse interval.
3084 echo alpha > conftest.ts1
3085 sleep $am_try_res
3086 echo beta > conftest.ts2
3087 sleep $am_try_res
3088 echo gamma > conftest.ts3
3089
3090 # We assume that 'ls -t' will make use of high-resolution
3091 # timestamps if the operating system supports them at all.
3092 if (set X `ls -t conftest.ts?` &&
3093 test "$2" = conftest.ts3 &&
3094 test "$3" = conftest.ts2 &&
3095 test "$4" = conftest.ts1); then
3096 #
3097 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3098 # because we don't need to test make.
3099 make_ok=true
3100 if test $am_try_res != 1; then
3101 # But if we've succeeded so far with a subsecond resolution, we
3102 # have one more thing to check: make. It can happen that
3103 # everything else supports the subsecond mtimes, but make doesn't;
3104 # notably on macOS, which ships make 3.81 from 2006 (the last one
3105 # released under GPLv2). https://bugs.gnu.org/68808
3106 #
3107 # We test $MAKE if it is defined in the environment, else "make".
3108 # It might get overridden later, but our hope is that in practice
3109 # it does not matter: it is the system "make" which is (by far)
3110 # the most likely to be broken, whereas if the user overrides it,
3111 # probably they did so with a better, or at least not worse, make.
3112 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3113 #
3114 # Create a Makefile (real tab character here):
3115 rm -f conftest.mk
3116 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3117 echo ' touch conftest.ts2' >>conftest.mk
3118 #
3119 # Now, running
3120 # touch conftest.ts1; touch conftest.ts2; make
3121 # should touch ts1 because ts2 is newer. This could happen by luck,
3122 # but most often, it will fail if make's support is insufficient. So
3123 # test for several consecutive successes.
3124 #
3125 # (We reuse conftest.ts[12] because we still want to modify existing
3126 # files, not create new ones, per above.)
3127 n=0
3128 make=${MAKE-make}
3129 until test $n -eq 3; do
3130 echo one > conftest.ts1
3131 sleep $am_try_res
3132 echo two > conftest.ts2 # ts2 should now be newer than ts1
3133 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3134 make_ok=false
3135 break # out of $n loop
3136 fi
3137 n=`expr $n + 1`
3138 done
3139 fi
3140 #
3141 if $make_ok; then
3142 # Everything we know to check worked out, so call this resolution good.
3143 am_cv_filesystem_timestamp_resolution=$am_try_res
3144 break # out of $am_try_res loop
3145 fi
3146 # Otherwise, we'll go on to check the next resolution.
3147 fi
3148 done
3149 rm -f conftest.ts?
3150 # (end _am_filesystem_timestamp_resolution)
3151 ;;
3152 esac
3153 fi
3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3155 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3156
3157 # This check should not be cached, as it may vary across builds of
3158 # different projects.
3159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3160 printf %s "checking whether build environment is sane... " >&6; }
3161 # Reject unsafe characters in $srcdir or the absolute working directory
3162 # name. Accept space and tab only in the latter.
3163 am_lf='
3164 '
3165 case `pwd` in
3166 *[\\\"\#\$\&\'\`$am_lf]*)
3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 printf "%s\n" "no" >&6; }
3169 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3170 esac
3171 case $srcdir in
3172 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 printf "%s\n" "no" >&6; }
3175 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3176 esac
3177
3178 # Do 'set' in a subshell so we don't clobber the current shell's
3179 # arguments. Must try -L first in case configure is actually a
3180 # symlink; some systems play weird games with the mod time of symlinks
3181 # (eg FreeBSD returns the mod time of the symlink's containing
3182 # directory).
3183 am_build_env_is_sane=no
3184 am_has_slept=no
3185 rm -f conftest.file
3186 for am_try in 1 2; do
3187 echo "timestamp, slept: $am_has_slept" > conftest.file
3188 if (
3189 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3190 if test "$*" = "X"; then
3191 # -L didn't work.
3192 set X `ls -t "$srcdir/configure" conftest.file`
3193 fi
3194 test "$2" = conftest.file
3195 ); then
3196 am_build_env_is_sane=yes
3197 break
3198 fi
3199 # Just in case.
3200 sleep "$am_cv_filesystem_timestamp_resolution"
3201 am_has_slept=yes
3202 done
3203
3204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3205 printf "%s\n" "$am_build_env_is_sane" >&6; }
3206 if test "$am_build_env_is_sane" = no; then
3207 as_fn_error $? "newly created file is older than distributed files!
3208 Check your system clock" "$LINENO" 5
3209 fi
3210
3211 # If we didn't sleep, we still need to ensure time stamps of config.status and
3212 # generated files are strictly newer.
3213 am_sleep_pid=
3214 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3215 then :
3216
3217 else case e in #(
3218 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3219 am_sleep_pid=$!
3220 ;;
3221 esac
3222 fi
3223
3224 rm -f conftest.file
3225
3226 test "$program_prefix" != NONE &&
3227 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3228 # Use a double $ so make ignores it.
3229 test "$program_suffix" != NONE &&
3230 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3231 # Double any \ or $.
3232 # By default was 's,x,x', remove it if useless.
3233 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3234 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3235
3236
3237 # Expand $ac_aux_dir to an absolute path.
3238 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3239
3240
3241 if test x"${MISSING+set}" != xset; then
3242 MISSING="\${SHELL} '$am_aux_dir/missing'"
3243 fi
3244 # Use eval to expand $SHELL
3245 if eval "$MISSING --is-lightweight"; then
3246 am_missing_run="$MISSING "
3247 else
3248 am_missing_run=
3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3250 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3251 fi
3252
3253 if test x"${install_sh+set}" != xset; then
3254 case $am_aux_dir in
3255 *\ * | *\ *)
3256 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3257 *)
3258 install_sh="\${SHELL} $am_aux_dir/install-sh"
3259 esac
3260 fi
3261
3262 # Installed binaries are usually stripped using 'strip' when the user
3263 # run "make install-strip". However 'strip' might not be the right
3264 # tool to use in cross-compilation environments, therefore Automake
3265 # will honor the 'STRIP' environment variable to overrule this program.
3266 if test "$cross_compiling" != no; then
3267 if test -n "$ac_tool_prefix"; then
3268 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3269 set dummy ${ac_tool_prefix}strip; ac_word=$2
3270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 printf %s "checking for $ac_word... " >&6; }
3272 if test ${ac_cv_prog_STRIP+y}
3273 then :
3274 printf %s "(cached) " >&6
3275 else case e in #(
3276 e) if test -n "$STRIP"; then
3277 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3278 else
3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280 for as_dir in $PATH
3281 do
3282 IFS=$as_save_IFS
3283 case $as_dir in #(((
3284 '') as_dir=./ ;;
3285 */) ;;
3286 *) as_dir=$as_dir/ ;;
3287 esac
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3292 break 2
3293 fi
3294 done
3295 done
3296 IFS=$as_save_IFS
3297
3298 fi ;;
3299 esac
3300 fi
3301 STRIP=$ac_cv_prog_STRIP
3302 if test -n "$STRIP"; then
3303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3304 printf "%s\n" "$STRIP" >&6; }
3305 else
3306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 printf "%s\n" "no" >&6; }
3308 fi
3309
3310
3311 fi
3312 if test -z "$ac_cv_prog_STRIP"; then
3313 ac_ct_STRIP=$STRIP
3314 # Extract the first word of "strip", so it can be a program name with args.
3315 set dummy strip; ac_word=$2
3316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 printf %s "checking for $ac_word... " >&6; }
3318 if test ${ac_cv_prog_ac_ct_STRIP+y}
3319 then :
3320 printf %s "(cached) " >&6
3321 else case e in #(
3322 e) if test -n "$ac_ct_STRIP"; then
3323 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3324 else
3325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3326 for as_dir in $PATH
3327 do
3328 IFS=$as_save_IFS
3329 case $as_dir in #(((
3330 '') as_dir=./ ;;
3331 */) ;;
3332 *) as_dir=$as_dir/ ;;
3333 esac
3334 for ac_exec_ext in '' $ac_executable_extensions; do
3335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3336 ac_cv_prog_ac_ct_STRIP="strip"
3337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3338 break 2
3339 fi
3340 done
3341 done
3342 IFS=$as_save_IFS
3343
3344 fi ;;
3345 esac
3346 fi
3347 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3348 if test -n "$ac_ct_STRIP"; then
3349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3350 printf "%s\n" "$ac_ct_STRIP" >&6; }
3351 else
3352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 printf "%s\n" "no" >&6; }
3354 fi
3355
3356 if test "x$ac_ct_STRIP" = x; then
3357 STRIP=":"
3358 else
3359 case $cross_compiling:$ac_tool_warned in
3360 yes:)
3361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3362 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3363 ac_tool_warned=yes ;;
3364 esac
3365 STRIP=$ac_ct_STRIP
3366 fi
3367 else
3368 STRIP="$ac_cv_prog_STRIP"
3369 fi
3370
3371 fi
3372 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3373
3374
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3376 printf %s "checking for a race-free mkdir -p... " >&6; }
3377 if test -z "$MKDIR_P"; then
3378 if test ${ac_cv_path_mkdir+y}
3379 then :
3380 printf %s "(cached) " >&6
3381 else case e in #(
3382 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3384 do
3385 IFS=$as_save_IFS
3386 case $as_dir in #(((
3387 '') as_dir=./ ;;
3388 */) ;;
3389 *) as_dir=$as_dir/ ;;
3390 esac
3391 for ac_prog in mkdir gmkdir; do
3392 for ac_exec_ext in '' $ac_executable_extensions; do
3393 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3394 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3395 'mkdir ('*'coreutils) '* | \
3396 *'BusyBox '* | \
3397 'mkdir (fileutils) '4.1*)
3398 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3399 break 3;;
3400 esac
3401 done
3402 done
3403 done
3404 IFS=$as_save_IFS
3405 ;;
3406 esac
3407 fi
3408
3409 test -d ./--version && rmdir ./--version
3410 if test ${ac_cv_path_mkdir+y}; then
3411 MKDIR_P="$ac_cv_path_mkdir -p"
3412 else
3413 # As a last resort, use plain mkdir -p,
3414 # in the hope it doesn't have the bugs of ancient mkdir.
3415 MKDIR_P='mkdir -p'
3416 fi
3417 fi
3418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3419 printf "%s\n" "$MKDIR_P" >&6; }
3420
3421 for ac_prog in gawk mawk nawk awk
3422 do
3423 # Extract the first word of "$ac_prog", so it can be a program name with args.
3424 set dummy $ac_prog; ac_word=$2
3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3426 printf %s "checking for $ac_word... " >&6; }
3427 if test ${ac_cv_prog_AWK+y}
3428 then :
3429 printf %s "(cached) " >&6
3430 else case e in #(
3431 e) if test -n "$AWK"; then
3432 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3433 else
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435 for as_dir in $PATH
3436 do
3437 IFS=$as_save_IFS
3438 case $as_dir in #(((
3439 '') as_dir=./ ;;
3440 */) ;;
3441 *) as_dir=$as_dir/ ;;
3442 esac
3443 for ac_exec_ext in '' $ac_executable_extensions; do
3444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3445 ac_cv_prog_AWK="$ac_prog"
3446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3447 break 2
3448 fi
3449 done
3450 done
3451 IFS=$as_save_IFS
3452
3453 fi ;;
3454 esac
3455 fi
3456 AWK=$ac_cv_prog_AWK
3457 if test -n "$AWK"; then
3458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3459 printf "%s\n" "$AWK" >&6; }
3460 else
3461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3462 printf "%s\n" "no" >&6; }
3463 fi
3464
3465
3466 test -n "$AWK" && break
3467 done
3468
3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3470 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3471 set x ${MAKE-make}
3472 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3473 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3474 then :
3475 printf %s "(cached) " >&6
3476 else case e in #(
3477 e) cat >conftest.make <<\_ACEOF
3478 SHELL = /bin/sh
3479 all:
3480 @echo '@@@%%%=$(MAKE)=@@@%%%'
3481 _ACEOF
3482 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3483 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3484 *@@@%%%=?*=@@@%%%*)
3485 eval ac_cv_prog_make_${ac_make}_set=yes;;
3486 *)
3487 eval ac_cv_prog_make_${ac_make}_set=no;;
3488 esac
3489 rm -f conftest.make ;;
3490 esac
3491 fi
3492 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3494 printf "%s\n" "yes" >&6; }
3495 SET_MAKE=
3496 else
3497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 printf "%s\n" "no" >&6; }
3499 SET_MAKE="MAKE=${MAKE-make}"
3500 fi
3501
3502 rm -rf .tst 2>/dev/null
3503 mkdir .tst 2>/dev/null
3504 if test -d .tst; then
3505 am__leading_dot=.
3506 else
3507 am__leading_dot=_
3508 fi
3509 rmdir .tst 2>/dev/null
3510
3511 AM_DEFAULT_VERBOSITY=1
3512 # Check whether --enable-silent-rules was given.
3513 if test ${enable_silent_rules+y}
3514 then :
3515 enableval=$enable_silent_rules;
3516 fi
3517
3518 am_make=${MAKE-make}
3519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3520 printf %s "checking whether $am_make supports nested variables... " >&6; }
3521 if test ${am_cv_make_support_nested_variables+y}
3522 then :
3523 printf %s "(cached) " >&6
3524 else case e in #(
3525 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3526 BAR0=false
3527 BAR1=true
3528 V=1
3529 am__doit:
3530 @$(TRUE)
3531 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3532 am_cv_make_support_nested_variables=yes
3533 else
3534 am_cv_make_support_nested_variables=no
3535 fi ;;
3536 esac
3537 fi
3538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3539 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3540 AM_BACKSLASH='\'
3541
3542 am__rm_f_notfound=
3543 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3544 then :
3545
3546 else case e in #(
3547 e) am__rm_f_notfound='""' ;;
3548 esac
3549 fi
3550
3551
3552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3553 printf %s "checking xargs -n works... " >&6; }
3554 if test ${am_cv_xargs_n_works+y}
3555 then :
3556 printf %s "(cached) " >&6
3557 else case e in #(
3558 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3559 3"
3560 then :
3561 am_cv_xargs_n_works=yes
3562 else case e in #(
3563 e) am_cv_xargs_n_works=no ;;
3564 esac
3565 fi ;;
3566 esac
3567 fi
3568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3569 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3570 if test "$am_cv_xargs_n_works" = yes
3571 then :
3572 am__xargs_n='xargs -n'
3573 else case e in #(
3574 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3575 ;;
3576 esac
3577 fi
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588 DEPDIR="${am__leading_dot}deps"
3589
3590 ac_config_commands="$ac_config_commands depfiles"
3591
3592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3593 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3594 cat > confinc.mk << 'END'
3595 am__doit:
3596 @echo this is the am__doit target >confinc.out
3597 .PHONY: am__doit
3598 END
3599 am__include="#"
3600 am__quote=
3601 # BSD make does it like this.
3602 echo '.include "confinc.mk" # ignored' > confmf.BSD
3603 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3604 echo 'include confinc.mk # ignored' > confmf.GNU
3605 _am_result=no
3606 for s in GNU BSD; do
3607 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3608 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3609 ac_status=$?
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }
3612 case $?:`cat confinc.out 2>/dev/null` in #(
3613 '0:this is the am__doit target') :
3614 case $s in #(
3615 BSD) :
3616 am__include='.include' am__quote='"' ;; #(
3617 *) :
3618 am__include='include' am__quote='' ;;
3619 esac ;; #(
3620 *) :
3621 ;;
3622 esac
3623 if test "$am__include" != "#"; then
3624 _am_result="yes ($s style)"
3625 break
3626 fi
3627 done
3628 rm -f confinc.* confmf.*
3629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3630 printf "%s\n" "${_am_result}" >&6; }
3631
3632 # Check whether --enable-dependency-tracking was given.
3633 if test ${enable_dependency_tracking+y}
3634 then :
3635 enableval=$enable_dependency_tracking;
3636 fi
3637
3638 if test "x$enable_dependency_tracking" != xno; then
3639 am_depcomp="$ac_aux_dir/depcomp"
3640 AMDEPBACKSLASH='\'
3641 am__nodep='_no'
3642 fi
3643 if test "x$enable_dependency_tracking" != xno; then
3644 AMDEP_TRUE=
3645 AMDEP_FALSE='#'
3646 else
3647 AMDEP_TRUE='#'
3648 AMDEP_FALSE=
3649 fi
3650
3651
3652 ac_ext=c
3653 ac_cpp='$CPP $CPPFLAGS'
3654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3657 if test -n "$ac_tool_prefix"; then
3658 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3659 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 printf %s "checking for $ac_word... " >&6; }
3662 if test ${ac_cv_prog_CC+y}
3663 then :
3664 printf %s "(cached) " >&6
3665 else case e in #(
3666 e) if test -n "$CC"; then
3667 ac_cv_prog_CC="$CC" # Let the user override the test.
3668 else
3669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670 for as_dir in $PATH
3671 do
3672 IFS=$as_save_IFS
3673 case $as_dir in #(((
3674 '') as_dir=./ ;;
3675 */) ;;
3676 *) as_dir=$as_dir/ ;;
3677 esac
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3680 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3682 break 2
3683 fi
3684 done
3685 done
3686 IFS=$as_save_IFS
3687
3688 fi ;;
3689 esac
3690 fi
3691 CC=$ac_cv_prog_CC
3692 if test -n "$CC"; then
3693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3694 printf "%s\n" "$CC" >&6; }
3695 else
3696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3697 printf "%s\n" "no" >&6; }
3698 fi
3699
3700
3701 fi
3702 if test -z "$ac_cv_prog_CC"; then
3703 ac_ct_CC=$CC
3704 # Extract the first word of "gcc", so it can be a program name with args.
3705 set dummy gcc; ac_word=$2
3706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 printf %s "checking for $ac_word... " >&6; }
3708 if test ${ac_cv_prog_ac_ct_CC+y}
3709 then :
3710 printf %s "(cached) " >&6
3711 else case e in #(
3712 e) if test -n "$ac_ct_CC"; then
3713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3714 else
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716 for as_dir in $PATH
3717 do
3718 IFS=$as_save_IFS
3719 case $as_dir in #(((
3720 '') as_dir=./ ;;
3721 */) ;;
3722 *) as_dir=$as_dir/ ;;
3723 esac
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3726 ac_cv_prog_ac_ct_CC="gcc"
3727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3728 break 2
3729 fi
3730 done
3731 done
3732 IFS=$as_save_IFS
3733
3734 fi ;;
3735 esac
3736 fi
3737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3738 if test -n "$ac_ct_CC"; then
3739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3740 printf "%s\n" "$ac_ct_CC" >&6; }
3741 else
3742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 printf "%s\n" "no" >&6; }
3744 fi
3745
3746 if test "x$ac_ct_CC" = x; then
3747 CC=""
3748 else
3749 case $cross_compiling:$ac_tool_warned in
3750 yes:)
3751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3753 ac_tool_warned=yes ;;
3754 esac
3755 CC=$ac_ct_CC
3756 fi
3757 else
3758 CC="$ac_cv_prog_CC"
3759 fi
3760
3761 if test -z "$CC"; then
3762 if test -n "$ac_tool_prefix"; then
3763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3764 set dummy ${ac_tool_prefix}cc; ac_word=$2
3765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 printf %s "checking for $ac_word... " >&6; }
3767 if test ${ac_cv_prog_CC+y}
3768 then :
3769 printf %s "(cached) " >&6
3770 else case e in #(
3771 e) if test -n "$CC"; then
3772 ac_cv_prog_CC="$CC" # Let the user override the test.
3773 else
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 for as_dir in $PATH
3776 do
3777 IFS=$as_save_IFS
3778 case $as_dir in #(((
3779 '') as_dir=./ ;;
3780 */) ;;
3781 *) as_dir=$as_dir/ ;;
3782 esac
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_CC="${ac_tool_prefix}cc"
3786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3787 break 2
3788 fi
3789 done
3790 done
3791 IFS=$as_save_IFS
3792
3793 fi ;;
3794 esac
3795 fi
3796 CC=$ac_cv_prog_CC
3797 if test -n "$CC"; then
3798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 printf "%s\n" "$CC" >&6; }
3800 else
3801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 printf "%s\n" "no" >&6; }
3803 fi
3804
3805
3806 fi
3807 fi
3808 if test -z "$CC"; then
3809 # Extract the first word of "cc", so it can be a program name with args.
3810 set dummy cc; ac_word=$2
3811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812 printf %s "checking for $ac_word... " >&6; }
3813 if test ${ac_cv_prog_CC+y}
3814 then :
3815 printf %s "(cached) " >&6
3816 else case e in #(
3817 e) if test -n "$CC"; then
3818 ac_cv_prog_CC="$CC" # Let the user override the test.
3819 else
3820 ac_prog_rejected=no
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3823 do
3824 IFS=$as_save_IFS
3825 case $as_dir in #(((
3826 '') as_dir=./ ;;
3827 */) ;;
3828 *) as_dir=$as_dir/ ;;
3829 esac
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3832 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3833 ac_prog_rejected=yes
3834 continue
3835 fi
3836 ac_cv_prog_CC="cc"
3837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3838 break 2
3839 fi
3840 done
3841 done
3842 IFS=$as_save_IFS
3843
3844 if test $ac_prog_rejected = yes; then
3845 # We found a bogon in the path, so make sure we never use it.
3846 set dummy $ac_cv_prog_CC
3847 shift
3848 if test $# != 0; then
3849 # We chose a different compiler from the bogus one.
3850 # However, it has the same basename, so the bogon will be chosen
3851 # first if we set CC to just the basename; use the full file name.
3852 shift
3853 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3854 fi
3855 fi
3856 fi ;;
3857 esac
3858 fi
3859 CC=$ac_cv_prog_CC
3860 if test -n "$CC"; then
3861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3862 printf "%s\n" "$CC" >&6; }
3863 else
3864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 printf "%s\n" "no" >&6; }
3866 fi
3867
3868
3869 fi
3870 if test -z "$CC"; then
3871 if test -n "$ac_tool_prefix"; then
3872 for ac_prog in cl.exe
3873 do
3874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 printf %s "checking for $ac_word... " >&6; }
3878 if test ${ac_cv_prog_CC+y}
3879 then :
3880 printf %s "(cached) " >&6
3881 else case e in #(
3882 e) if test -n "$CC"; then
3883 ac_cv_prog_CC="$CC" # Let the user override the test.
3884 else
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 for as_dir in $PATH
3887 do
3888 IFS=$as_save_IFS
3889 case $as_dir in #(((
3890 '') as_dir=./ ;;
3891 */) ;;
3892 *) as_dir=$as_dir/ ;;
3893 esac
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3896 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3898 break 2
3899 fi
3900 done
3901 done
3902 IFS=$as_save_IFS
3903
3904 fi ;;
3905 esac
3906 fi
3907 CC=$ac_cv_prog_CC
3908 if test -n "$CC"; then
3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3910 printf "%s\n" "$CC" >&6; }
3911 else
3912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 printf "%s\n" "no" >&6; }
3914 fi
3915
3916
3917 test -n "$CC" && break
3918 done
3919 fi
3920 if test -z "$CC"; then
3921 ac_ct_CC=$CC
3922 for ac_prog in cl.exe
3923 do
3924 # Extract the first word of "$ac_prog", so it can be a program name with args.
3925 set dummy $ac_prog; ac_word=$2
3926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 printf %s "checking for $ac_word... " >&6; }
3928 if test ${ac_cv_prog_ac_ct_CC+y}
3929 then :
3930 printf %s "(cached) " >&6
3931 else case e in #(
3932 e) if test -n "$ac_ct_CC"; then
3933 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3934 else
3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 for as_dir in $PATH
3937 do
3938 IFS=$as_save_IFS
3939 case $as_dir in #(((
3940 '') as_dir=./ ;;
3941 */) ;;
3942 *) as_dir=$as_dir/ ;;
3943 esac
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_ac_ct_CC="$ac_prog"
3947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3948 break 2
3949 fi
3950 done
3951 done
3952 IFS=$as_save_IFS
3953
3954 fi ;;
3955 esac
3956 fi
3957 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3958 if test -n "$ac_ct_CC"; then
3959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3960 printf "%s\n" "$ac_ct_CC" >&6; }
3961 else
3962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 printf "%s\n" "no" >&6; }
3964 fi
3965
3966
3967 test -n "$ac_ct_CC" && break
3968 done
3969
3970 if test "x$ac_ct_CC" = x; then
3971 CC=""
3972 else
3973 case $cross_compiling:$ac_tool_warned in
3974 yes:)
3975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3976 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3977 ac_tool_warned=yes ;;
3978 esac
3979 CC=$ac_ct_CC
3980 fi
3981 fi
3982
3983 fi
3984 if test -z "$CC"; then
3985 if test -n "$ac_tool_prefix"; then
3986 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3987 set dummy ${ac_tool_prefix}clang; ac_word=$2
3988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3989 printf %s "checking for $ac_word... " >&6; }
3990 if test ${ac_cv_prog_CC+y}
3991 then :
3992 printf %s "(cached) " >&6
3993 else case e in #(
3994 e) if test -n "$CC"; then
3995 ac_cv_prog_CC="$CC" # Let the user override the test.
3996 else
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
3999 do
4000 IFS=$as_save_IFS
4001 case $as_dir in #(((
4002 '') as_dir=./ ;;
4003 */) ;;
4004 *) as_dir=$as_dir/ ;;
4005 esac
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4008 ac_cv_prog_CC="${ac_tool_prefix}clang"
4009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4010 break 2
4011 fi
4012 done
4013 done
4014 IFS=$as_save_IFS
4015
4016 fi ;;
4017 esac
4018 fi
4019 CC=$ac_cv_prog_CC
4020 if test -n "$CC"; then
4021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 printf "%s\n" "$CC" >&6; }
4023 else
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 printf "%s\n" "no" >&6; }
4026 fi
4027
4028
4029 fi
4030 if test -z "$ac_cv_prog_CC"; then
4031 ac_ct_CC=$CC
4032 # Extract the first word of "clang", so it can be a program name with args.
4033 set dummy clang; ac_word=$2
4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 printf %s "checking for $ac_word... " >&6; }
4036 if test ${ac_cv_prog_ac_ct_CC+y}
4037 then :
4038 printf %s "(cached) " >&6
4039 else case e in #(
4040 e) if test -n "$ac_ct_CC"; then
4041 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4042 else
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 for as_dir in $PATH
4045 do
4046 IFS=$as_save_IFS
4047 case $as_dir in #(((
4048 '') as_dir=./ ;;
4049 */) ;;
4050 *) as_dir=$as_dir/ ;;
4051 esac
4052 for ac_exec_ext in '' $ac_executable_extensions; do
4053 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_ac_ct_CC="clang"
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4056 break 2
4057 fi
4058 done
4059 done
4060 IFS=$as_save_IFS
4061
4062 fi ;;
4063 esac
4064 fi
4065 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4066 if test -n "$ac_ct_CC"; then
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4068 printf "%s\n" "$ac_ct_CC" >&6; }
4069 else
4070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 printf "%s\n" "no" >&6; }
4072 fi
4073
4074 if test "x$ac_ct_CC" = x; then
4075 CC=""
4076 else
4077 case $cross_compiling:$ac_tool_warned in
4078 yes:)
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4080 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4081 ac_tool_warned=yes ;;
4082 esac
4083 CC=$ac_ct_CC
4084 fi
4085 else
4086 CC="$ac_cv_prog_CC"
4087 fi
4088
4089 fi
4090
4091
4092 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4093 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4094 as_fn_error $? "no acceptable C compiler found in \$PATH
4095 See 'config.log' for more details" "$LINENO" 5; }
4096
4097 # Provide some information about the compiler.
4098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4099 set X $ac_compile
4100 ac_compiler=$2
4101 for ac_option in --version -v -V -qversion -version; do
4102 { { ac_try="$ac_compiler $ac_option >&5"
4103 case "(($ac_try" in
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4106 esac
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 printf "%s\n" "$ac_try_echo"; } >&5
4109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4110 ac_status=$?
4111 if test -s conftest.err; then
4112 sed '10a\
4113 ... rest of stderr output deleted ...
4114 10q' conftest.err >conftest.er1
4115 cat conftest.er1 >&5
4116 fi
4117 rm -f conftest.er1 conftest.err
4118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4119 test $ac_status = 0; }
4120 done
4121
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4124
4125 int
4126 main (void)
4127 {
4128
4129 ;
4130 return 0;
4131 }
4132 _ACEOF
4133 ac_clean_files_save=$ac_clean_files
4134 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4135 # Try to create an executable without -o first, disregard a.out.
4136 # It will help us diagnose broken compilers, and finding out an intuition
4137 # of exeext.
4138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4139 printf %s "checking whether the C compiler works... " >&6; }
4140 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4141
4142 # The possible output files:
4143 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4144
4145 ac_rmfiles=
4146 for ac_file in $ac_files
4147 do
4148 case $ac_file in
4149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4150 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4151 esac
4152 done
4153 rm -f $ac_rmfiles
4154
4155 if { { ac_try="$ac_link_default"
4156 case "(($ac_try" in
4157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4159 esac
4160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4161 printf "%s\n" "$ac_try_echo"; } >&5
4162 (eval "$ac_link_default") 2>&5
4163 ac_status=$?
4164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4165 test $ac_status = 0; }
4166 then :
4167 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4168 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4169 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4170 # so that the user can short-circuit this test for compilers unknown to
4171 # Autoconf.
4172 for ac_file in $ac_files ''
4173 do
4174 test -f "$ac_file" || continue
4175 case $ac_file in
4176 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4177 ;;
4178 [ab].out )
4179 # We found the default executable, but exeext='' is most
4180 # certainly right.
4181 break;;
4182 *.* )
4183 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4184 then :; else
4185 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4186 fi
4187 # We set ac_cv_exeext here because the later test for it is not
4188 # safe: cross compilers may not add the suffix if given an '-o'
4189 # argument, so we may need to know it at that point already.
4190 # Even if this section looks crufty: it has the advantage of
4191 # actually working.
4192 break;;
4193 * )
4194 break;;
4195 esac
4196 done
4197 test "$ac_cv_exeext" = no && ac_cv_exeext=
4198
4199 else case e in #(
4200 e) ac_file='' ;;
4201 esac
4202 fi
4203 if test -z "$ac_file"
4204 then :
4205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 printf "%s\n" "no" >&6; }
4207 printf "%s\n" "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4209
4210 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4211 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4212 as_fn_error 77 "C compiler cannot create executables
4213 See 'config.log' for more details" "$LINENO" 5; }
4214 else case e in #(
4215 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4216 printf "%s\n" "yes" >&6; } ;;
4217 esac
4218 fi
4219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4220 printf %s "checking for C compiler default output file name... " >&6; }
4221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4222 printf "%s\n" "$ac_file" >&6; }
4223 ac_exeext=$ac_cv_exeext
4224
4225 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4226 ac_clean_files=$ac_clean_files_save
4227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4228 printf %s "checking for suffix of executables... " >&6; }
4229 if { { ac_try="$ac_link"
4230 case "(($ac_try" in
4231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4233 esac
4234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235 printf "%s\n" "$ac_try_echo"; } >&5
4236 (eval "$ac_link") 2>&5
4237 ac_status=$?
4238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239 test $ac_status = 0; }
4240 then :
4241 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4242 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4243 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4244 # 'rm'.
4245 for ac_file in conftest.exe conftest conftest.*; do
4246 test -f "$ac_file" || continue
4247 case $ac_file in
4248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4249 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4250 break;;
4251 * ) break;;
4252 esac
4253 done
4254 else case e in #(
4255 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4256 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4257 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4258 See 'config.log' for more details" "$LINENO" 5; } ;;
4259 esac
4260 fi
4261 rm -f conftest conftest$ac_cv_exeext
4262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4263 printf "%s\n" "$ac_cv_exeext" >&6; }
4264
4265 rm -f conftest.$ac_ext
4266 EXEEXT=$ac_cv_exeext
4267 ac_exeext=$EXEEXT
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4270 #include <stdio.h>
4271 int
4272 main (void)
4273 {
4274 FILE *f = fopen ("conftest.out", "w");
4275 if (!f)
4276 return 1;
4277 return ferror (f) || fclose (f) != 0;
4278
4279 ;
4280 return 0;
4281 }
4282 _ACEOF
4283 ac_clean_files="$ac_clean_files conftest.out"
4284 # Check that the compiler produces executables we can run. If not, either
4285 # the compiler is broken, or we cross compile.
4286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4287 printf %s "checking whether we are cross compiling... " >&6; }
4288 if test "$cross_compiling" != yes; then
4289 { { ac_try="$ac_link"
4290 case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4293 esac
4294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4295 printf "%s\n" "$ac_try_echo"; } >&5
4296 (eval "$ac_link") 2>&5
4297 ac_status=$?
4298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4299 test $ac_status = 0; }
4300 if { ac_try='./conftest$ac_cv_exeext'
4301 { { case "(($ac_try" in
4302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4303 *) ac_try_echo=$ac_try;;
4304 esac
4305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4306 printf "%s\n" "$ac_try_echo"; } >&5
4307 (eval "$ac_try") 2>&5
4308 ac_status=$?
4309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4310 test $ac_status = 0; }; }; then
4311 cross_compiling=no
4312 else
4313 if test "$cross_compiling" = maybe; then
4314 cross_compiling=yes
4315 else
4316 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4317 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4318 as_fn_error 77 "cannot run C compiled programs.
4319 If you meant to cross compile, use '--host'.
4320 See 'config.log' for more details" "$LINENO" 5; }
4321 fi
4322 fi
4323 fi
4324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4325 printf "%s\n" "$cross_compiling" >&6; }
4326
4327 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4328 conftest.o conftest.obj conftest.out
4329 ac_clean_files=$ac_clean_files_save
4330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4331 printf %s "checking for suffix of object files... " >&6; }
4332 if test ${ac_cv_objext+y}
4333 then :
4334 printf %s "(cached) " >&6
4335 else case e in #(
4336 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4338
4339 int
4340 main (void)
4341 {
4342
4343 ;
4344 return 0;
4345 }
4346 _ACEOF
4347 rm -f conftest.o conftest.obj
4348 if { { ac_try="$ac_compile"
4349 case "(($ac_try" in
4350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4351 *) ac_try_echo=$ac_try;;
4352 esac
4353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4354 printf "%s\n" "$ac_try_echo"; } >&5
4355 (eval "$ac_compile") 2>&5
4356 ac_status=$?
4357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358 test $ac_status = 0; }
4359 then :
4360 for ac_file in conftest.o conftest.obj conftest.*; do
4361 test -f "$ac_file" || continue;
4362 case $ac_file in
4363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4364 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4365 break;;
4366 esac
4367 done
4368 else case e in #(
4369 e) printf "%s\n" "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.$ac_ext >&5
4371
4372 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4373 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4374 as_fn_error $? "cannot compute suffix of object files: cannot compile
4375 See 'config.log' for more details" "$LINENO" 5; } ;;
4376 esac
4377 fi
4378 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4379 esac
4380 fi
4381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4382 printf "%s\n" "$ac_cv_objext" >&6; }
4383 OBJEXT=$ac_cv_objext
4384 ac_objext=$OBJEXT
4385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4386 printf %s "checking whether the compiler supports GNU C... " >&6; }
4387 if test ${ac_cv_c_compiler_gnu+y}
4388 then :
4389 printf %s "(cached) " >&6
4390 else case e in #(
4391 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4393
4394 int
4395 main (void)
4396 {
4397 #ifndef __GNUC__
4398 choke me
4399 #endif
4400
4401 ;
4402 return 0;
4403 }
4404 _ACEOF
4405 if ac_fn_c_try_compile "$LINENO"
4406 then :
4407 ac_compiler_gnu=yes
4408 else case e in #(
4409 e) ac_compiler_gnu=no ;;
4410 esac
4411 fi
4412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4413 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4414 ;;
4415 esac
4416 fi
4417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4418 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4420
4421 if test $ac_compiler_gnu = yes; then
4422 GCC=yes
4423 else
4424 GCC=
4425 fi
4426 ac_test_CFLAGS=${CFLAGS+y}
4427 ac_save_CFLAGS=$CFLAGS
4428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4429 printf %s "checking whether $CC accepts -g... " >&6; }
4430 if test ${ac_cv_prog_cc_g+y}
4431 then :
4432 printf %s "(cached) " >&6
4433 else case e in #(
4434 e) ac_save_c_werror_flag=$ac_c_werror_flag
4435 ac_c_werror_flag=yes
4436 ac_cv_prog_cc_g=no
4437 CFLAGS="-g"
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4440
4441 int
4442 main (void)
4443 {
4444
4445 ;
4446 return 0;
4447 }
4448 _ACEOF
4449 if ac_fn_c_try_compile "$LINENO"
4450 then :
4451 ac_cv_prog_cc_g=yes
4452 else case e in #(
4453 e) CFLAGS=""
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4456
4457 int
4458 main (void)
4459 {
4460
4461 ;
4462 return 0;
4463 }
4464 _ACEOF
4465 if ac_fn_c_try_compile "$LINENO"
4466 then :
4467
4468 else case e in #(
4469 e) ac_c_werror_flag=$ac_save_c_werror_flag
4470 CFLAGS="-g"
4471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472 /* end confdefs.h. */
4473
4474 int
4475 main (void)
4476 {
4477
4478 ;
4479 return 0;
4480 }
4481 _ACEOF
4482 if ac_fn_c_try_compile "$LINENO"
4483 then :
4484 ac_cv_prog_cc_g=yes
4485 fi
4486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4487 esac
4488 fi
4489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4490 esac
4491 fi
4492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4493 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4494 esac
4495 fi
4496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4497 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4498 if test $ac_test_CFLAGS; then
4499 CFLAGS=$ac_save_CFLAGS
4500 elif test $ac_cv_prog_cc_g = yes; then
4501 if test "$GCC" = yes; then
4502 CFLAGS="-g -O2"
4503 else
4504 CFLAGS="-g"
4505 fi
4506 else
4507 if test "$GCC" = yes; then
4508 CFLAGS="-O2"
4509 else
4510 CFLAGS=
4511 fi
4512 fi
4513 ac_prog_cc_stdc=no
4514 if test x$ac_prog_cc_stdc = xno
4515 then :
4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4517 printf %s "checking for $CC option to enable C11 features... " >&6; }
4518 if test ${ac_cv_prog_cc_c11+y}
4519 then :
4520 printf %s "(cached) " >&6
4521 else case e in #(
4522 e) ac_cv_prog_cc_c11=no
4523 ac_save_CC=$CC
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4526 $ac_c_conftest_c11_program
4527 _ACEOF
4528 for ac_arg in '' -std=gnu11
4529 do
4530 CC="$ac_save_CC $ac_arg"
4531 if ac_fn_c_try_compile "$LINENO"
4532 then :
4533 ac_cv_prog_cc_c11=$ac_arg
4534 fi
4535 rm -f core conftest.err conftest.$ac_objext conftest.beam
4536 test "x$ac_cv_prog_cc_c11" != "xno" && break
4537 done
4538 rm -f conftest.$ac_ext
4539 CC=$ac_save_CC ;;
4540 esac
4541 fi
4542
4543 if test "x$ac_cv_prog_cc_c11" = xno
4544 then :
4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4546 printf "%s\n" "unsupported" >&6; }
4547 else case e in #(
4548 e) if test "x$ac_cv_prog_cc_c11" = x
4549 then :
4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4551 printf "%s\n" "none needed" >&6; }
4552 else case e in #(
4553 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4554 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4555 CC="$CC $ac_cv_prog_cc_c11" ;;
4556 esac
4557 fi
4558 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4559 ac_prog_cc_stdc=c11 ;;
4560 esac
4561 fi
4562 fi
4563 if test x$ac_prog_cc_stdc = xno
4564 then :
4565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4566 printf %s "checking for $CC option to enable C99 features... " >&6; }
4567 if test ${ac_cv_prog_cc_c99+y}
4568 then :
4569 printf %s "(cached) " >&6
4570 else case e in #(
4571 e) ac_cv_prog_cc_c99=no
4572 ac_save_CC=$CC
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4575 $ac_c_conftest_c99_program
4576 _ACEOF
4577 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4578 do
4579 CC="$ac_save_CC $ac_arg"
4580 if ac_fn_c_try_compile "$LINENO"
4581 then :
4582 ac_cv_prog_cc_c99=$ac_arg
4583 fi
4584 rm -f core conftest.err conftest.$ac_objext conftest.beam
4585 test "x$ac_cv_prog_cc_c99" != "xno" && break
4586 done
4587 rm -f conftest.$ac_ext
4588 CC=$ac_save_CC ;;
4589 esac
4590 fi
4591
4592 if test "x$ac_cv_prog_cc_c99" = xno
4593 then :
4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4595 printf "%s\n" "unsupported" >&6; }
4596 else case e in #(
4597 e) if test "x$ac_cv_prog_cc_c99" = x
4598 then :
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4600 printf "%s\n" "none needed" >&6; }
4601 else case e in #(
4602 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4603 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4604 CC="$CC $ac_cv_prog_cc_c99" ;;
4605 esac
4606 fi
4607 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4608 ac_prog_cc_stdc=c99 ;;
4609 esac
4610 fi
4611 fi
4612 if test x$ac_prog_cc_stdc = xno
4613 then :
4614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4615 printf %s "checking for $CC option to enable C89 features... " >&6; }
4616 if test ${ac_cv_prog_cc_c89+y}
4617 then :
4618 printf %s "(cached) " >&6
4619 else case e in #(
4620 e) ac_cv_prog_cc_c89=no
4621 ac_save_CC=$CC
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4624 $ac_c_conftest_c89_program
4625 _ACEOF
4626 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4627 do
4628 CC="$ac_save_CC $ac_arg"
4629 if ac_fn_c_try_compile "$LINENO"
4630 then :
4631 ac_cv_prog_cc_c89=$ac_arg
4632 fi
4633 rm -f core conftest.err conftest.$ac_objext conftest.beam
4634 test "x$ac_cv_prog_cc_c89" != "xno" && break
4635 done
4636 rm -f conftest.$ac_ext
4637 CC=$ac_save_CC ;;
4638 esac
4639 fi
4640
4641 if test "x$ac_cv_prog_cc_c89" = xno
4642 then :
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4644 printf "%s\n" "unsupported" >&6; }
4645 else case e in #(
4646 e) if test "x$ac_cv_prog_cc_c89" = x
4647 then :
4648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4649 printf "%s\n" "none needed" >&6; }
4650 else case e in #(
4651 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4652 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4653 CC="$CC $ac_cv_prog_cc_c89" ;;
4654 esac
4655 fi
4656 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4657 ac_prog_cc_stdc=c89 ;;
4658 esac
4659 fi
4660 fi
4661
4662 ac_ext=c
4663 ac_cpp='$CPP $CPPFLAGS'
4664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4667
4668
4669 ac_ext=c
4670 ac_cpp='$CPP $CPPFLAGS'
4671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4675 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4676 if test ${am_cv_prog_cc_c_o+y}
4677 then :
4678 printf %s "(cached) " >&6
4679 else case e in #(
4680 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4682
4683 int
4684 main (void)
4685 {
4686
4687 ;
4688 return 0;
4689 }
4690 _ACEOF
4691 # Make sure it works both with $CC and with simple cc.
4692 # Following AC_PROG_CC_C_O, we do the test twice because some
4693 # compilers refuse to overwrite an existing .o file with -o,
4694 # though they will create one.
4695 am_cv_prog_cc_c_o=yes
4696 for am_i in 1 2; do
4697 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4698 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4699 ac_status=$?
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); } \
4702 && test -f conftest2.$ac_objext; then
4703 : OK
4704 else
4705 am_cv_prog_cc_c_o=no
4706 break
4707 fi
4708 done
4709 # aligned with autoconf, so not including core; see bug#72225.
4710 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4711 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4712 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4713 unset am_i ;;
4714 esac
4715 fi
4716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4717 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4718 if test "$am_cv_prog_cc_c_o" != yes; then
4719 # Losing compiler, so override with the script.
4720 # FIXME: It is wrong to rewrite CC.
4721 # But if we don't then we get into trouble of one sort or another.
4722 # A longer-term fix would be to have automake use am__CC in this case,
4723 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4724 CC="$am_aux_dir/compile $CC"
4725 fi
4726 ac_ext=c
4727 ac_cpp='$CPP $CPPFLAGS'
4728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731
4732
4733 depcc="$CC" am_compiler_list=
4734
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4736 printf %s "checking dependency style of $depcc... " >&6; }
4737 if test ${am_cv_CC_dependencies_compiler_type+y}
4738 then :
4739 printf %s "(cached) " >&6
4740 else case e in #(
4741 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4742 # We make a subdir and do the tests there. Otherwise we can end up
4743 # making bogus files that we don't know about and never remove. For
4744 # instance it was reported that on HP-UX the gcc test will end up
4745 # making a dummy file named 'D' -- because '-MD' means "put the output
4746 # in D".
4747 rm -rf conftest.dir
4748 mkdir conftest.dir
4749 # Copy depcomp to subdir because otherwise we won't find it if we're
4750 # using a relative directory.
4751 cp "$am_depcomp" conftest.dir
4752 cd conftest.dir
4753 # We will build objects and dependencies in a subdirectory because
4754 # it helps to detect inapplicable dependency modes. For instance
4755 # both Tru64's cc and ICC support -MD to output dependencies as a
4756 # side effect of compilation, but ICC will put the dependencies in
4757 # the current directory while Tru64 will put them in the object
4758 # directory.
4759 mkdir sub
4760
4761 am_cv_CC_dependencies_compiler_type=none
4762 if test "$am_compiler_list" = ""; then
4763 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4764 fi
4765 am__universal=false
4766 case " $depcc " in #(
4767 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4768 esac
4769
4770 for depmode in $am_compiler_list; do
4771 # Setup a source with many dependencies, because some compilers
4772 # like to wrap large dependency lists on column 80 (with \), and
4773 # we should not choose a depcomp mode which is confused by this.
4774 #
4775 # We need to recreate these files for each test, as the compiler may
4776 # overwrite some of them when testing with obscure command lines.
4777 # This happens at least with the AIX C compiler.
4778 : > sub/conftest.c
4779 for i in 1 2 3 4 5 6; do
4780 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4781 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4782 # Solaris 10 /bin/sh.
4783 echo '/* dummy */' > sub/conftst$i.h
4784 done
4785 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4786
4787 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4788 # mode. It turns out that the SunPro C++ compiler does not properly
4789 # handle '-M -o', and we need to detect this. Also, some Intel
4790 # versions had trouble with output in subdirs.
4791 am__obj=sub/conftest.${OBJEXT-o}
4792 am__minus_obj="-o $am__obj"
4793 case $depmode in
4794 gcc)
4795 # This depmode causes a compiler race in universal mode.
4796 test "$am__universal" = false || continue
4797 ;;
4798 nosideeffect)
4799 # After this tag, mechanisms are not by side-effect, so they'll
4800 # only be used when explicitly requested.
4801 if test "x$enable_dependency_tracking" = xyes; then
4802 continue
4803 else
4804 break
4805 fi
4806 ;;
4807 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4808 # This compiler won't grok '-c -o', but also, the minuso test has
4809 # not run yet. These depmodes are late enough in the game, and
4810 # so weak that their functioning should not be impacted.
4811 am__obj=conftest.${OBJEXT-o}
4812 am__minus_obj=
4813 ;;
4814 none) break ;;
4815 esac
4816 if depmode=$depmode \
4817 source=sub/conftest.c object=$am__obj \
4818 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4819 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4820 >/dev/null 2>conftest.err &&
4821 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4822 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4823 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4824 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4825 # icc doesn't choke on unknown options, it will just issue warnings
4826 # or remarks (even with -Werror). So we grep stderr for any message
4827 # that says an option was ignored or not supported.
4828 # When given -MP, icc 7.0 and 7.1 complain thus:
4829 # icc: Command line warning: ignoring option '-M'; no argument required
4830 # The diagnosis changed in icc 8.0:
4831 # icc: Command line remark: option '-MP' not supported
4832 if (grep 'ignoring option' conftest.err ||
4833 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4834 am_cv_CC_dependencies_compiler_type=$depmode
4835 break
4836 fi
4837 fi
4838 done
4839
4840 cd ..
4841 rm -rf conftest.dir
4842 else
4843 am_cv_CC_dependencies_compiler_type=none
4844 fi
4845 ;;
4846 esac
4847 fi
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4849 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4850 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4851
4852 if
4853 test "x$enable_dependency_tracking" != xno \
4854 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4855 am__fastdepCC_TRUE=
4856 am__fastdepCC_FALSE='#'
4857 else
4858 am__fastdepCC_TRUE='#'
4859 am__fastdepCC_FALSE=
4860 fi
4861
4862
4863
4864 ac_header= ac_cache=
4865 for ac_item in $ac_header_c_list
4866 do
4867 if test $ac_cache; then
4868 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4869 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4870 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4871 fi
4872 ac_header= ac_cache=
4873 elif test $ac_header; then
4874 ac_cache=$ac_item
4875 else
4876 ac_header=$ac_item
4877 fi
4878 done
4879
4880
4881
4882
4883
4884
4885
4886
4887 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4888 then :
4889
4890 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4891
4892 fi
4893
4894
4895
4896
4897
4898
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4900 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4901 if test ${ac_cv_safe_to_define___extensions__+y}
4902 then :
4903 printf %s "(cached) " >&6
4904 else case e in #(
4905 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4907
4908 # define __EXTENSIONS__ 1
4909 $ac_includes_default
4910 int
4911 main (void)
4912 {
4913
4914 ;
4915 return 0;
4916 }
4917 _ACEOF
4918 if ac_fn_c_try_compile "$LINENO"
4919 then :
4920 ac_cv_safe_to_define___extensions__=yes
4921 else case e in #(
4922 e) ac_cv_safe_to_define___extensions__=no ;;
4923 esac
4924 fi
4925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4926 esac
4927 fi
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4929 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4930
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4932 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4933 if test ${ac_cv_should_define__xopen_source+y}
4934 then :
4935 printf %s "(cached) " >&6
4936 else case e in #(
4937 e) ac_cv_should_define__xopen_source=no
4938 if test $ac_cv_header_wchar_h = yes
4939 then :
4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4942
4943 #include <wchar.h>
4944 mbstate_t x;
4945 int
4946 main (void)
4947 {
4948
4949 ;
4950 return 0;
4951 }
4952 _ACEOF
4953 if ac_fn_c_try_compile "$LINENO"
4954 then :
4955
4956 else case e in #(
4957 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4959
4960 #define _XOPEN_SOURCE 500
4961 #include <wchar.h>
4962 mbstate_t x;
4963 int
4964 main (void)
4965 {
4966
4967 ;
4968 return 0;
4969 }
4970 _ACEOF
4971 if ac_fn_c_try_compile "$LINENO"
4972 then :
4973 ac_cv_should_define__xopen_source=yes
4974 fi
4975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4976 esac
4977 fi
4978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4979 fi ;;
4980 esac
4981 fi
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4983 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4984
4985 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4986
4987 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4988
4989 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4990
4991 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4992
4993 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4994
4995 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4996
4997 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4998
4999 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5000
5001 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5002
5003 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5004
5005 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
5006
5007 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5008
5009 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5010
5011 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5012
5013 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5014
5015 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5016
5017 if test $ac_cv_header_minix_config_h = yes
5018 then :
5019 MINIX=yes
5020 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5021
5022 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5023
5024 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5025
5026 else case e in #(
5027 e) MINIX= ;;
5028 esac
5029 fi
5030 if test $ac_cv_safe_to_define___extensions__ = yes
5031 then :
5032 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5033
5034 fi
5035 if test $ac_cv_should_define__xopen_source = yes
5036 then :
5037 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5038
5039 fi
5040
5041 # Check whether --enable-compiler-warnings was given.
5042 if test ${enable_compiler_warnings+y}
5043 then :
5044 enableval=$enable_compiler_warnings;
5045 fi
5046 case $enable_compiler_warnings in #(
5047 no | min | yes | max | all) :
5048 ;; #(
5049 *) :
5050 if test "x$enable_maintainer_mode" = xyes
5051 then :
5052 enable_compiler_warnings=yes
5053 else case e in #(
5054 e) enable_compiler_warnings=min ;;
5055 esac
5056 fi ;;
5057 esac
5058
5059 case `pwd` in
5060 *\ * | *\ *)
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5062 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5063 esac
5064
5065
5066
5067 macro_version='2.5.4'
5068 macro_revision='2.5.4'
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083 ltmain=$ac_aux_dir/ltmain.sh
5084
5085
5086
5087 # Make sure we can run config.sub.
5088 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5089 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5090
5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5092 printf %s "checking build system type... " >&6; }
5093 if test ${ac_cv_build+y}
5094 then :
5095 printf %s "(cached) " >&6
5096 else case e in #(
5097 e) ac_build_alias=$build_alias
5098 test "x$ac_build_alias" = x &&
5099 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5100 test "x$ac_build_alias" = x &&
5101 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5102 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5103 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5104 ;;
5105 esac
5106 fi
5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5108 printf "%s\n" "$ac_cv_build" >&6; }
5109 case $ac_cv_build in
5110 *-*-*) ;;
5111 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5112 esac
5113 build=$ac_cv_build
5114 ac_save_IFS=$IFS; IFS='-'
5115 set x $ac_cv_build
5116 shift
5117 build_cpu=$1
5118 build_vendor=$2
5119 shift; shift
5120 # Remember, the first character of IFS is used to create $*,
5121 # except with old shells:
5122 build_os=$*
5123 IFS=$ac_save_IFS
5124 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5125
5126
5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5128 printf %s "checking host system type... " >&6; }
5129 if test ${ac_cv_host+y}
5130 then :
5131 printf %s "(cached) " >&6
5132 else case e in #(
5133 e) if test "x$host_alias" = x; then
5134 ac_cv_host=$ac_cv_build
5135 else
5136 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5137 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5138 fi
5139 ;;
5140 esac
5141 fi
5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5143 printf "%s\n" "$ac_cv_host" >&6; }
5144 case $ac_cv_host in
5145 *-*-*) ;;
5146 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5147 esac
5148 host=$ac_cv_host
5149 ac_save_IFS=$IFS; IFS='-'
5150 set x $ac_cv_host
5151 shift
5152 host_cpu=$1
5153 host_vendor=$2
5154 shift; shift
5155 # Remember, the first character of IFS is used to create $*,
5156 # except with old shells:
5157 host_os=$*
5158 IFS=$ac_save_IFS
5159 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5160
5161
5162 # Backslashify metacharacters that are still active within
5163 # double-quoted strings.
5164 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5165
5166 # Same as above, but do not quote variable references.
5167 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5168
5169 # Sed substitution to delay expansion of an escaped shell variable in a
5170 # double_quote_subst'ed string.
5171 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5172
5173 # Sed substitution to delay expansion of an escaped single quote.
5174 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5175
5176 # Sed substitution to avoid accidental globbing in evaled expressions
5177 no_glob_subst='s/\*/\\\*/g'
5178
5179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5180 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5181 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5182
5183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5184 printf %s "checking how to print strings... " >&6; }
5185 # Test print first, because it will be a builtin if present.
5186 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5187 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5188 ECHO='print -r --'
5189 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5190 ECHO='printf %s\n'
5191 else
5192 # Use this function as a fallback that always works.
5193 func_fallback_echo ()
5194 {
5195 eval 'cat <<_LTECHO_EOF
5196 $1
5197 _LTECHO_EOF'
5198 }
5199 ECHO='func_fallback_echo'
5200 fi
5201
5202 # func_echo_all arg...
5203 # Invoke $ECHO with all args, space-separated.
5204 func_echo_all ()
5205 {
5206 $ECHO ""
5207 }
5208
5209 case $ECHO in
5210 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5211 printf "%s\n" "printf" >&6; } ;;
5212 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5213 printf "%s\n" "print -r" >&6; } ;;
5214 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5215 printf "%s\n" "cat" >&6; } ;;
5216 esac
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5232 printf %s "checking for a sed that does not truncate output... " >&6; }
5233 if test ${ac_cv_path_SED+y}
5234 then :
5235 printf %s "(cached) " >&6
5236 else case e in #(
5237 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5238 for ac_i in 1 2 3 4 5 6 7; do
5239 ac_script="$ac_script$as_nl$ac_script"
5240 done
5241 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5242 { ac_script=; unset ac_script;}
5243 if test -z "$SED"; then
5244 ac_path_SED_found=false
5245 # Loop through the user's path and test for each of PROGNAME-LIST
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH
5248 do
5249 IFS=$as_save_IFS
5250 case $as_dir in #(((
5251 '') as_dir=./ ;;
5252 */) ;;
5253 *) as_dir=$as_dir/ ;;
5254 esac
5255 for ac_prog in sed gsed
5256 do
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5259 as_fn_executable_p "$ac_path_SED" || continue
5260 # Check for GNU ac_path_SED and select it if it is found.
5261 # Check for GNU $ac_path_SED
5262 case `"$ac_path_SED" --version 2>&1` in #(
5263 *GNU*)
5264 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5265 #(
5266 *)
5267 ac_count=0
5268 printf %s 0123456789 >"conftest.in"
5269 while :
5270 do
5271 cat "conftest.in" "conftest.in" >"conftest.tmp"
5272 mv "conftest.tmp" "conftest.in"
5273 cp "conftest.in" "conftest.nl"
5274 printf "%s\n" '' >> "conftest.nl"
5275 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5276 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5277 as_fn_arith $ac_count + 1 && ac_count=$as_val
5278 if test $ac_count -gt ${ac_path_SED_max-0}; then
5279 # Best one so far, save it but keep looking for a better one
5280 ac_cv_path_SED="$ac_path_SED"
5281 ac_path_SED_max=$ac_count
5282 fi
5283 # 10*(2^10) chars as input seems more than enough
5284 test $ac_count -gt 10 && break
5285 done
5286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5287 esac
5288
5289 $ac_path_SED_found && break 3
5290 done
5291 done
5292 done
5293 IFS=$as_save_IFS
5294 if test -z "$ac_cv_path_SED"; then
5295 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5296 fi
5297 else
5298 ac_cv_path_SED=$SED
5299 fi
5300 ;;
5301 esac
5302 fi
5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5304 printf "%s\n" "$ac_cv_path_SED" >&6; }
5305 SED="$ac_cv_path_SED"
5306 rm -f conftest.sed
5307
5308 test -z "$SED" && SED=sed
5309 Xsed="$SED -e 1s/^X//"
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5322 printf %s "checking for grep that handles long lines and -e... " >&6; }
5323 if test ${ac_cv_path_GREP+y}
5324 then :
5325 printf %s "(cached) " >&6
5326 else case e in #(
5327 e) if test -z "$GREP"; then
5328 ac_path_GREP_found=false
5329 # Loop through the user's path and test for each of PROGNAME-LIST
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5332 do
5333 IFS=$as_save_IFS
5334 case $as_dir in #(((
5335 '') as_dir=./ ;;
5336 */) ;;
5337 *) as_dir=$as_dir/ ;;
5338 esac
5339 for ac_prog in grep ggrep
5340 do
5341 for ac_exec_ext in '' $ac_executable_extensions; do
5342 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5343 as_fn_executable_p "$ac_path_GREP" || continue
5344 # Check for GNU ac_path_GREP and select it if it is found.
5345 # Check for GNU $ac_path_GREP
5346 case `"$ac_path_GREP" --version 2>&1` in #(
5347 *GNU*)
5348 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5349 #(
5350 *)
5351 ac_count=0
5352 printf %s 0123456789 >"conftest.in"
5353 while :
5354 do
5355 cat "conftest.in" "conftest.in" >"conftest.tmp"
5356 mv "conftest.tmp" "conftest.in"
5357 cp "conftest.in" "conftest.nl"
5358 printf "%s\n" 'GREP' >> "conftest.nl"
5359 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5360 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5361 as_fn_arith $ac_count + 1 && ac_count=$as_val
5362 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5363 # Best one so far, save it but keep looking for a better one
5364 ac_cv_path_GREP="$ac_path_GREP"
5365 ac_path_GREP_max=$ac_count
5366 fi
5367 # 10*(2^10) chars as input seems more than enough
5368 test $ac_count -gt 10 && break
5369 done
5370 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5371 esac
5372
5373 $ac_path_GREP_found && break 3
5374 done
5375 done
5376 done
5377 IFS=$as_save_IFS
5378 if test -z "$ac_cv_path_GREP"; then
5379 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5380 fi
5381 else
5382 ac_cv_path_GREP=$GREP
5383 fi
5384 ;;
5385 esac
5386 fi
5387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5388 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5389 GREP="$ac_cv_path_GREP"
5390
5391
5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5393 printf %s "checking for egrep... " >&6; }
5394 if test ${ac_cv_path_EGREP+y}
5395 then :
5396 printf %s "(cached) " >&6
5397 else case e in #(
5398 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5399 then ac_cv_path_EGREP="$GREP -E"
5400 else
5401 if test -z "$EGREP"; then
5402 ac_path_EGREP_found=false
5403 # Loop through the user's path and test for each of PROGNAME-LIST
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5406 do
5407 IFS=$as_save_IFS
5408 case $as_dir in #(((
5409 '') as_dir=./ ;;
5410 */) ;;
5411 *) as_dir=$as_dir/ ;;
5412 esac
5413 for ac_prog in egrep
5414 do
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5417 as_fn_executable_p "$ac_path_EGREP" || continue
5418 # Check for GNU ac_path_EGREP and select it if it is found.
5419 # Check for GNU $ac_path_EGREP
5420 case `"$ac_path_EGREP" --version 2>&1` in #(
5421 *GNU*)
5422 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5423 #(
5424 *)
5425 ac_count=0
5426 printf %s 0123456789 >"conftest.in"
5427 while :
5428 do
5429 cat "conftest.in" "conftest.in" >"conftest.tmp"
5430 mv "conftest.tmp" "conftest.in"
5431 cp "conftest.in" "conftest.nl"
5432 printf "%s\n" 'EGREP' >> "conftest.nl"
5433 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5434 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5435 as_fn_arith $ac_count + 1 && ac_count=$as_val
5436 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5437 # Best one so far, save it but keep looking for a better one
5438 ac_cv_path_EGREP="$ac_path_EGREP"
5439 ac_path_EGREP_max=$ac_count
5440 fi
5441 # 10*(2^10) chars as input seems more than enough
5442 test $ac_count -gt 10 && break
5443 done
5444 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5445 esac
5446
5447 $ac_path_EGREP_found && break 3
5448 done
5449 done
5450 done
5451 IFS=$as_save_IFS
5452 if test -z "$ac_cv_path_EGREP"; then
5453 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5454 fi
5455 else
5456 ac_cv_path_EGREP=$EGREP
5457 fi
5458
5459 fi ;;
5460 esac
5461 fi
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5463 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5464 EGREP="$ac_cv_path_EGREP"
5465
5466 EGREP_TRADITIONAL=$EGREP
5467 ac_cv_path_EGREP_TRADITIONAL=$EGREP
5468
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5470 printf %s "checking for fgrep... " >&6; }
5471 if test ${ac_cv_path_FGREP+y}
5472 then :
5473 printf %s "(cached) " >&6
5474 else case e in #(
5475 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5476 then ac_cv_path_FGREP="$GREP -F"
5477 else
5478 if test -z "$FGREP"; then
5479 ac_path_FGREP_found=false
5480 # Loop through the user's path and test for each of PROGNAME-LIST
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5483 do
5484 IFS=$as_save_IFS
5485 case $as_dir in #(((
5486 '') as_dir=./ ;;
5487 */) ;;
5488 *) as_dir=$as_dir/ ;;
5489 esac
5490 for ac_prog in fgrep
5491 do
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5494 as_fn_executable_p "$ac_path_FGREP" || continue
5495 # Check for GNU ac_path_FGREP and select it if it is found.
5496 # Check for GNU $ac_path_FGREP
5497 case `"$ac_path_FGREP" --version 2>&1` in #(
5498 *GNU*)
5499 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5500 #(
5501 *)
5502 ac_count=0
5503 printf %s 0123456789 >"conftest.in"
5504 while :
5505 do
5506 cat "conftest.in" "conftest.in" >"conftest.tmp"
5507 mv "conftest.tmp" "conftest.in"
5508 cp "conftest.in" "conftest.nl"
5509 printf "%s\n" 'FGREP' >> "conftest.nl"
5510 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5511 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5512 as_fn_arith $ac_count + 1 && ac_count=$as_val
5513 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5514 # Best one so far, save it but keep looking for a better one
5515 ac_cv_path_FGREP="$ac_path_FGREP"
5516 ac_path_FGREP_max=$ac_count
5517 fi
5518 # 10*(2^10) chars as input seems more than enough
5519 test $ac_count -gt 10 && break
5520 done
5521 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5522 esac
5523
5524 $ac_path_FGREP_found && break 3
5525 done
5526 done
5527 done
5528 IFS=$as_save_IFS
5529 if test -z "$ac_cv_path_FGREP"; then
5530 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5531 fi
5532 else
5533 ac_cv_path_FGREP=$FGREP
5534 fi
5535
5536 fi ;;
5537 esac
5538 fi
5539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5540 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5541 FGREP="$ac_cv_path_FGREP"
5542
5543
5544 test -z "$GREP" && GREP=grep
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564 # Check whether --with-gnu-ld was given.
5565 if test ${with_gnu_ld+y}
5566 then :
5567 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5568 else case e in #(
5569 e) with_gnu_ld=no ;;
5570 esac
5571 fi
5572
5573 ac_prog=ld
5574 if test yes = "$GCC"; then
5575 # Check if gcc -print-prog-name=ld gives a path.
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5577 printf %s "checking for ld used by $CC... " >&6; }
5578 case $host in
5579 *-*-mingw* | *-*-windows*)
5580 # gcc leaves a trailing carriage return, which upsets mingw
5581 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5582 *)
5583 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5584 esac
5585 case $ac_prog in
5586 # Accept absolute paths.
5587 [\\/]* | ?:[\\/]*)
5588 re_direlt='/[^/][^/]*/\.\./'
5589 # Canonicalize the pathname of ld
5590 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5591 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5592 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5593 done
5594 test -z "$LD" && LD=$ac_prog
5595 ;;
5596 "")
5597 # If it fails, then pretend we aren't using GCC.
5598 ac_prog=ld
5599 ;;
5600 *)
5601 # If it is relative, then search for the first ld in PATH.
5602 with_gnu_ld=unknown
5603 ;;
5604 esac
5605 elif test yes = "$with_gnu_ld"; then
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5607 printf %s "checking for GNU ld... " >&6; }
5608 else
5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5610 printf %s "checking for non-GNU ld... " >&6; }
5611 fi
5612 if test ${lt_cv_path_LD+y}
5613 then :
5614 printf %s "(cached) " >&6
5615 else case e in #(
5616 e) if test -z "$LD"; then
5617 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5618 for ac_dir in $PATH; do
5619 IFS=$lt_save_ifs
5620 test -z "$ac_dir" && ac_dir=.
5621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622 lt_cv_path_LD=$ac_dir/$ac_prog
5623 # Check to see if the program is GNU ld. I'd rather use --version,
5624 # but apparently some variants of GNU ld only accept -v.
5625 # Break only if it was the GNU/non-GNU ld that we prefer.
5626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627 *GNU* | *'with BFD'*)
5628 test no != "$with_gnu_ld" && break
5629 ;;
5630 *)
5631 test yes != "$with_gnu_ld" && break
5632 ;;
5633 esac
5634 fi
5635 done
5636 IFS=$lt_save_ifs
5637 else
5638 lt_cv_path_LD=$LD # Let the user override the test with a path.
5639 fi ;;
5640 esac
5641 fi
5642
5643 LD=$lt_cv_path_LD
5644 if test -n "$LD"; then
5645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5646 printf "%s\n" "$LD" >&6; }
5647 else
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 printf "%s\n" "no" >&6; }
5650 fi
5651 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5653 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5654 if test ${lt_cv_prog_gnu_ld+y}
5655 then :
5656 printf %s "(cached) " >&6
5657 else case e in #(
5658 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
5659 case `$LD -v 2>&1 </dev/null` in
5660 *GNU* | *'with BFD'*)
5661 lt_cv_prog_gnu_ld=yes
5662 ;;
5663 *)
5664 lt_cv_prog_gnu_ld=no
5665 ;;
5666 esac ;;
5667 esac
5668 fi
5669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5670 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5671 with_gnu_ld=$lt_cv_prog_gnu_ld
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5682 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5683 if test ${lt_cv_path_NM+y}
5684 then :
5685 printf %s "(cached) " >&6
5686 else case e in #(
5687 e) if test -n "$NM"; then
5688 # Let the user override the test.
5689 lt_cv_path_NM=$NM
5690 else
5691 lt_nm_to_check=${ac_tool_prefix}nm
5692 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5693 lt_nm_to_check="$lt_nm_to_check nm"
5694 fi
5695 for lt_tmp_nm in $lt_nm_to_check; do
5696 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5697 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5698 IFS=$lt_save_ifs
5699 test -z "$ac_dir" && ac_dir=.
5700 tmp_nm=$ac_dir/$lt_tmp_nm
5701 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5702 # Check to see if the nm accepts a BSD-compat flag.
5703 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5704 # nm: unknown option "B" ignored
5705 # Tru64's nm complains that /dev/null is an invalid object file
5706 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5707 case $build_os in
5708 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
5709 *) lt_bad_file=/dev/null ;;
5710 esac
5711 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5712 *$lt_bad_file* | *'Invalid file or object type'*)
5713 lt_cv_path_NM="$tmp_nm -B"
5714 break 2
5715 ;;
5716 *)
5717 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5718 */dev/null*)
5719 lt_cv_path_NM="$tmp_nm -p"
5720 break 2
5721 ;;
5722 *)
5723 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5724 continue # so that we can try to find one that supports BSD flags
5725 ;;
5726 esac
5727 ;;
5728 esac
5729 fi
5730 done
5731 IFS=$lt_save_ifs
5732 done
5733 : ${lt_cv_path_NM=no}
5734 fi ;;
5735 esac
5736 fi
5737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5738 printf "%s\n" "$lt_cv_path_NM" >&6; }
5739 if test no != "$lt_cv_path_NM"; then
5740 NM=$lt_cv_path_NM
5741 else
5742 # Didn't find any BSD compatible name lister, look for dumpbin.
5743 if test -n "$DUMPBIN"; then :
5744 # Let the user override the test.
5745 else
5746 if test -n "$ac_tool_prefix"; then
5747 for ac_prog in dumpbin "link -dump"
5748 do
5749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 printf %s "checking for $ac_word... " >&6; }
5753 if test ${ac_cv_prog_DUMPBIN+y}
5754 then :
5755 printf %s "(cached) " >&6
5756 else case e in #(
5757 e) if test -n "$DUMPBIN"; then
5758 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5759 else
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $PATH
5762 do
5763 IFS=$as_save_IFS
5764 case $as_dir in #(((
5765 '') as_dir=./ ;;
5766 */) ;;
5767 *) as_dir=$as_dir/ ;;
5768 esac
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5771 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5773 break 2
5774 fi
5775 done
5776 done
5777 IFS=$as_save_IFS
5778
5779 fi ;;
5780 esac
5781 fi
5782 DUMPBIN=$ac_cv_prog_DUMPBIN
5783 if test -n "$DUMPBIN"; then
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5785 printf "%s\n" "$DUMPBIN" >&6; }
5786 else
5787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 printf "%s\n" "no" >&6; }
5789 fi
5790
5791
5792 test -n "$DUMPBIN" && break
5793 done
5794 fi
5795 if test -z "$DUMPBIN"; then
5796 ac_ct_DUMPBIN=$DUMPBIN
5797 for ac_prog in dumpbin "link -dump"
5798 do
5799 # Extract the first word of "$ac_prog", so it can be a program name with args.
5800 set dummy $ac_prog; ac_word=$2
5801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802 printf %s "checking for $ac_word... " >&6; }
5803 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5804 then :
5805 printf %s "(cached) " >&6
5806 else case e in #(
5807 e) if test -n "$ac_ct_DUMPBIN"; then
5808 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5809 else
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 for as_dir in $PATH
5812 do
5813 IFS=$as_save_IFS
5814 case $as_dir in #(((
5815 '') as_dir=./ ;;
5816 */) ;;
5817 *) as_dir=$as_dir/ ;;
5818 esac
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5821 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5823 break 2
5824 fi
5825 done
5826 done
5827 IFS=$as_save_IFS
5828
5829 fi ;;
5830 esac
5831 fi
5832 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5833 if test -n "$ac_ct_DUMPBIN"; then
5834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5835 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5836 else
5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 printf "%s\n" "no" >&6; }
5839 fi
5840
5841
5842 test -n "$ac_ct_DUMPBIN" && break
5843 done
5844
5845 if test "x$ac_ct_DUMPBIN" = x; then
5846 DUMPBIN=":"
5847 else
5848 case $cross_compiling:$ac_tool_warned in
5849 yes:)
5850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5851 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5852 ac_tool_warned=yes ;;
5853 esac
5854 DUMPBIN=$ac_ct_DUMPBIN
5855 fi
5856 fi
5857
5858 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5859 *COFF*)
5860 DUMPBIN="$DUMPBIN -symbols -headers"
5861 ;;
5862 *)
5863 DUMPBIN=:
5864 ;;
5865 esac
5866 fi
5867
5868 if test : != "$DUMPBIN"; then
5869 NM=$DUMPBIN
5870 fi
5871 fi
5872 test -z "$NM" && NM=nm
5873
5874
5875
5876
5877
5878
5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5880 printf %s "checking the name lister ($NM) interface... " >&6; }
5881 if test ${lt_cv_nm_interface+y}
5882 then :
5883 printf %s "(cached) " >&6
5884 else case e in #(
5885 e) lt_cv_nm_interface="BSD nm"
5886 echo "int some_variable = 0;" > conftest.$ac_ext
5887 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5888 (eval "$ac_compile" 2>conftest.err)
5889 cat conftest.err >&5
5890 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5891 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5892 cat conftest.err >&5
5893 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5894 cat conftest.out >&5
5895 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5896 lt_cv_nm_interface="MS dumpbin"
5897 fi
5898 rm -f conftest* ;;
5899 esac
5900 fi
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5902 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5903
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5905 printf %s "checking whether ln -s works... " >&6; }
5906 LN_S=$as_ln_s
5907 if test "$LN_S" = "ln -s"; then
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5909 printf "%s\n" "yes" >&6; }
5910 else
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5912 printf "%s\n" "no, using $LN_S" >&6; }
5913 fi
5914
5915 # find the maximum length of command line arguments
5916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5917 printf %s "checking the maximum length of command line arguments... " >&6; }
5918 if test ${lt_cv_sys_max_cmd_len+y}
5919 then :
5920 printf %s "(cached) " >&6
5921 else case e in #(
5922 e) i=0
5923 teststring=ABCD
5924
5925 case $build_os in
5926 msdosdjgpp*)
5927 # On DJGPP, this test can blow up pretty badly due to problems in libc
5928 # (any single argument exceeding 2000 bytes causes a buffer overrun
5929 # during glob expansion). Even if it were fixed, the result of this
5930 # check would be larger than it should be.
5931 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5932 ;;
5933
5934 gnu* | ironclad*)
5935 # Under GNU Hurd and Ironclad, this test is not required because there
5936 # is no limit to the length of command line arguments.
5937 # Libtool will interpret -1 as no limit whatsoever
5938 lt_cv_sys_max_cmd_len=-1;
5939 ;;
5940
5941 cygwin* | mingw* | windows* | cegcc*)
5942 # On Win9x/ME, this test blows up -- it succeeds, but takes
5943 # about 5 minutes as the teststring grows exponentially.
5944 # Worse, since 9x/ME are not pre-emptively multitasking,
5945 # you end up with a "frozen" computer, even though with patience
5946 # the test eventually succeeds (with a max line length of 256k).
5947 # Instead, let's just punt: use the minimum linelength reported by
5948 # all of the supported platforms: 8192 (on NT/2K/XP).
5949 lt_cv_sys_max_cmd_len=8192;
5950 ;;
5951
5952 mint*)
5953 # On MiNT this can take a long time and run out of memory.
5954 lt_cv_sys_max_cmd_len=8192;
5955 ;;
5956
5957 amigaos*)
5958 # On AmigaOS with pdksh, this test takes hours, literally.
5959 # So we just punt and use a minimum line length of 8192.
5960 lt_cv_sys_max_cmd_len=8192;
5961 ;;
5962
5963 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
5964 # This has been around since 386BSD, at least. Likely further.
5965 if test -x /sbin/sysctl; then
5966 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5967 elif test -x /usr/sbin/sysctl; then
5968 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5969 else
5970 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5971 fi
5972 # And add a safety zone
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975 ;;
5976
5977 interix*)
5978 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5979 lt_cv_sys_max_cmd_len=196608
5980 ;;
5981
5982 os2*)
5983 # The test takes a long time on OS/2.
5984 lt_cv_sys_max_cmd_len=8192
5985 ;;
5986
5987 osf*)
5988 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5989 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5990 # nice to cause kernel panics so lets avoid the loop below.
5991 # First set a reasonable default.
5992 lt_cv_sys_max_cmd_len=16384
5993 #
5994 if test -x /sbin/sysconfig; then
5995 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5996 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5997 esac
5998 fi
5999 ;;
6000 sco3.2v5*)
6001 lt_cv_sys_max_cmd_len=102400
6002 ;;
6003 sysv5* | sco5v6* | sysv4.2uw2*)
6004 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6005 if test -n "$kargmax"; then
6006 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
6007 else
6008 lt_cv_sys_max_cmd_len=32768
6009 fi
6010 ;;
6011 *)
6012 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6013 if test -n "$lt_cv_sys_max_cmd_len" && \
6014 test undefined != "$lt_cv_sys_max_cmd_len"; then
6015 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6017 else
6018 # Make teststring a little bigger before we do anything with it.
6019 # a 1K string should be a reasonable start.
6020 for i in 1 2 3 4 5 6 7 8; do
6021 teststring=$teststring$teststring
6022 done
6023 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6024 # If test is not a shell built-in, we'll probably end up computing a
6025 # maximum length that is only half of the actual maximum length, but
6026 # we can't tell.
6027 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6028 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6029 test 17 != "$i" # 1/2 MB should be enough
6030 do
6031 i=`expr $i + 1`
6032 teststring=$teststring$teststring
6033 done
6034 # Only check the string length outside the loop.
6035 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6036 teststring=
6037 # Add a significant safety factor because C++ compilers can tack on
6038 # massive amounts of additional arguments before passing them to the
6039 # linker. It appears as though 1/2 is a usable value.
6040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6041 fi
6042 ;;
6043 esac
6044 ;;
6045 esac
6046 fi
6047
6048 if test -n "$lt_cv_sys_max_cmd_len"; then
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6050 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6051 else
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6053 printf "%s\n" "none" >&6; }
6054 fi
6055 max_cmd_len=$lt_cv_sys_max_cmd_len
6056
6057
6058
6059
6060
6061
6062 : ${CP="cp -f"}
6063 : ${MV="mv -f"}
6064 : ${RM="rm -f"}
6065
6066 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6067 lt_unset=unset
6068 else
6069 lt_unset=false
6070 fi
6071
6072
6073
6074
6075
6076 # test EBCDIC or ASCII
6077 case `echo X|tr X '\101'` in
6078 A) # ASCII based system
6079 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6080 lt_SP2NL='tr \040 \012'
6081 lt_NL2SP='tr \015\012 \040\040'
6082 ;;
6083 *) # EBCDIC based system
6084 lt_SP2NL='tr \100 \n'
6085 lt_NL2SP='tr \r\n \100\100'
6086 ;;
6087 esac
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6098 printf %s "checking how to convert $build file names to $host format... " >&6; }
6099 if test ${lt_cv_to_host_file_cmd+y}
6100 then :
6101 printf %s "(cached) " >&6
6102 else case e in #(
6103 e) case $host in
6104 *-*-mingw* )
6105 case $build in
6106 *-*-mingw* | *-*-windows* ) # actually msys
6107 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6108 ;;
6109 *-*-cygwin* )
6110 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6111 ;;
6112 * ) # otherwise, assume *nix
6113 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6114 ;;
6115 esac
6116 ;;
6117 *-*-cygwin* )
6118 case $build in
6119 *-*-mingw* | *-*-windows* ) # actually msys
6120 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6121 ;;
6122 *-*-cygwin* )
6123 lt_cv_to_host_file_cmd=func_convert_file_noop
6124 ;;
6125 * ) # otherwise, assume *nix
6126 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6127 ;;
6128 esac
6129 ;;
6130 * ) # unhandled hosts (and "normal" native builds)
6131 lt_cv_to_host_file_cmd=func_convert_file_noop
6132 ;;
6133 esac
6134 ;;
6135 esac
6136 fi
6137
6138 to_host_file_cmd=$lt_cv_to_host_file_cmd
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6140 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6141
6142
6143
6144
6145
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6147 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6148 if test ${lt_cv_to_tool_file_cmd+y}
6149 then :
6150 printf %s "(cached) " >&6
6151 else case e in #(
6152 e) #assume ordinary cross tools, or native build.
6153 lt_cv_to_tool_file_cmd=func_convert_file_noop
6154 case $host in
6155 *-*-mingw* | *-*-windows* )
6156 case $build in
6157 *-*-mingw* | *-*-windows* ) # actually msys
6158 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6159 ;;
6160 esac
6161 ;;
6162 esac
6163 ;;
6164 esac
6165 fi
6166
6167 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6169 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6170
6171
6172
6173
6174
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6176 printf %s "checking for $LD option to reload object files... " >&6; }
6177 if test ${lt_cv_ld_reload_flag+y}
6178 then :
6179 printf %s "(cached) " >&6
6180 else case e in #(
6181 e) lt_cv_ld_reload_flag='-r' ;;
6182 esac
6183 fi
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6185 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6186 reload_flag=$lt_cv_ld_reload_flag
6187 case $reload_flag in
6188 "" | " "*) ;;
6189 *) reload_flag=" $reload_flag" ;;
6190 esac
6191 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6192 case $host_os in
6193 cygwin* | mingw* | windows* | pw32* | cegcc*)
6194 if test yes != "$GCC"; then
6195 reload_cmds=false
6196 fi
6197 ;;
6198 darwin*)
6199 if test yes = "$GCC"; then
6200 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6201 else
6202 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6203 fi
6204 ;;
6205 esac
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215 # Extract the first word of "file", so it can be a program name with args.
6216 set dummy file; ac_word=$2
6217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218 printf %s "checking for $ac_word... " >&6; }
6219 if test ${ac_cv_prog_FILECMD+y}
6220 then :
6221 printf %s "(cached) " >&6
6222 else case e in #(
6223 e) if test -n "$FILECMD"; then
6224 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6225 else
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 for as_dir in $PATH
6228 do
6229 IFS=$as_save_IFS
6230 case $as_dir in #(((
6231 '') as_dir=./ ;;
6232 */) ;;
6233 *) as_dir=$as_dir/ ;;
6234 esac
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6237 ac_cv_prog_FILECMD="file"
6238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6239 break 2
6240 fi
6241 done
6242 done
6243 IFS=$as_save_IFS
6244
6245 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
6246 fi ;;
6247 esac
6248 fi
6249 FILECMD=$ac_cv_prog_FILECMD
6250 if test -n "$FILECMD"; then
6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6252 printf "%s\n" "$FILECMD" >&6; }
6253 else
6254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 printf "%s\n" "no" >&6; }
6256 fi
6257
6258
6259
6260
6261
6262
6263
6264
6265 if test -n "$ac_tool_prefix"; then
6266 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6267 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6269 printf %s "checking for $ac_word... " >&6; }
6270 if test ${ac_cv_prog_OBJDUMP+y}
6271 then :
6272 printf %s "(cached) " >&6
6273 else case e in #(
6274 e) if test -n "$OBJDUMP"; then
6275 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6276 else
6277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278 for as_dir in $PATH
6279 do
6280 IFS=$as_save_IFS
6281 case $as_dir in #(((
6282 '') as_dir=./ ;;
6283 */) ;;
6284 *) as_dir=$as_dir/ ;;
6285 esac
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6288 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6290 break 2
6291 fi
6292 done
6293 done
6294 IFS=$as_save_IFS
6295
6296 fi ;;
6297 esac
6298 fi
6299 OBJDUMP=$ac_cv_prog_OBJDUMP
6300 if test -n "$OBJDUMP"; then
6301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6302 printf "%s\n" "$OBJDUMP" >&6; }
6303 else
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6305 printf "%s\n" "no" >&6; }
6306 fi
6307
6308
6309 fi
6310 if test -z "$ac_cv_prog_OBJDUMP"; then
6311 ac_ct_OBJDUMP=$OBJDUMP
6312 # Extract the first word of "objdump", so it can be a program name with args.
6313 set dummy objdump; ac_word=$2
6314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6315 printf %s "checking for $ac_word... " >&6; }
6316 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6317 then :
6318 printf %s "(cached) " >&6
6319 else case e in #(
6320 e) if test -n "$ac_ct_OBJDUMP"; then
6321 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6322 else
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 for as_dir in $PATH
6325 do
6326 IFS=$as_save_IFS
6327 case $as_dir in #(((
6328 '') as_dir=./ ;;
6329 */) ;;
6330 *) as_dir=$as_dir/ ;;
6331 esac
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6334 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6336 break 2
6337 fi
6338 done
6339 done
6340 IFS=$as_save_IFS
6341
6342 fi ;;
6343 esac
6344 fi
6345 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6346 if test -n "$ac_ct_OBJDUMP"; then
6347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6348 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6349 else
6350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351 printf "%s\n" "no" >&6; }
6352 fi
6353
6354 if test "x$ac_ct_OBJDUMP" = x; then
6355 OBJDUMP="false"
6356 else
6357 case $cross_compiling:$ac_tool_warned in
6358 yes:)
6359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6360 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6361 ac_tool_warned=yes ;;
6362 esac
6363 OBJDUMP=$ac_ct_OBJDUMP
6364 fi
6365 else
6366 OBJDUMP="$ac_cv_prog_OBJDUMP"
6367 fi
6368
6369 test -z "$OBJDUMP" && OBJDUMP=objdump
6370
6371
6372
6373
6374
6375
6376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6377 printf %s "checking how to recognize dependent libraries... " >&6; }
6378 if test ${lt_cv_deplibs_check_method+y}
6379 then :
6380 printf %s "(cached) " >&6
6381 else case e in #(
6382 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
6383 lt_cv_file_magic_test_file=
6384 lt_cv_deplibs_check_method='unknown'
6385 # Need to set the preceding variable on all platforms that support
6386 # interlibrary dependencies.
6387 # 'none' -- dependencies not supported.
6388 # 'unknown' -- same as none, but documents that we really don't know.
6389 # 'pass_all' -- all dependencies passed with no checks.
6390 # 'file_magic [[regex]]' -- check by looking for files in library path
6391 # that responds to the $file_magic_cmd with a given extended regex.
6392 # If you have 'file' or equivalent on your system and you're not sure
6393 # whether 'pass_all' will *always* work, you probably want this one.
6394
6395 case $host_os in
6396 aix[4-9]*)
6397 lt_cv_deplibs_check_method=pass_all
6398 ;;
6399
6400 beos*)
6401 lt_cv_deplibs_check_method=pass_all
6402 ;;
6403
6404 bsdi[45]*)
6405 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6406 lt_cv_file_magic_cmd='$FILECMD -L'
6407 lt_cv_file_magic_test_file=/shlib/libc.so
6408 ;;
6409
6410 cygwin*)
6411 # func_win32_libid is a shell function defined in ltmain.sh
6412 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6413 lt_cv_file_magic_cmd='func_win32_libid'
6414 ;;
6415
6416 mingw* | windows* | pw32*)
6417 # Base MSYS/MinGW do not provide the 'file' command needed by
6418 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6419 # unless we find 'file', for example because we are cross-compiling.
6420 if ( file / ) >/dev/null 2>&1; then
6421 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6422 lt_cv_file_magic_cmd='func_win32_libid'
6423 else
6424 # Keep this pattern in sync with the one in func_win32_libid.
6425 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
6426 lt_cv_file_magic_cmd='$OBJDUMP -f'
6427 fi
6428 ;;
6429
6430 cegcc*)
6431 # use the weaker test based on 'objdump'. See mingw*.
6432 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6433 lt_cv_file_magic_cmd='$OBJDUMP -f'
6434 ;;
6435
6436 darwin* | rhapsody*)
6437 lt_cv_deplibs_check_method=pass_all
6438 ;;
6439
6440 freebsd* | dragonfly* | midnightbsd*)
6441 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6442 case $host_cpu in
6443 i*86 )
6444 # Not sure whether the presence of OpenBSD here was a mistake.
6445 # Let's accept both of them until this is cleared up.
6446 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6447 lt_cv_file_magic_cmd=$FILECMD
6448 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6449 ;;
6450 esac
6451 else
6452 lt_cv_deplibs_check_method=pass_all
6453 fi
6454 ;;
6455
6456 haiku*)
6457 lt_cv_deplibs_check_method=pass_all
6458 ;;
6459
6460 hpux10.20* | hpux11*)
6461 lt_cv_file_magic_cmd=$FILECMD
6462 case $host_cpu in
6463 ia64*)
6464 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6465 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6466 ;;
6467 hppa*64*)
6468 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]'
6469 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6470 ;;
6471 *)
6472 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6473 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6474 ;;
6475 esac
6476 ;;
6477
6478 interix[3-9]*)
6479 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6480 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6481 ;;
6482
6483 irix5* | irix6* | nonstopux*)
6484 case $LD in
6485 *-32|*"-32 ") libmagic=32-bit;;
6486 *-n32|*"-n32 ") libmagic=N32;;
6487 *-64|*"-64 ") libmagic=64-bit;;
6488 *) libmagic=never-match;;
6489 esac
6490 lt_cv_deplibs_check_method=pass_all
6491 ;;
6492
6493 # This must be glibc/ELF.
6494 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6495 lt_cv_deplibs_check_method=pass_all
6496 ;;
6497
6498 *-mlibc)
6499 lt_cv_deplibs_check_method=pass_all
6500 ;;
6501
6502 netbsd* | netbsdelf*-gnu)
6503 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6504 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6505 else
6506 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6507 fi
6508 ;;
6509
6510 newos6*)
6511 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6512 lt_cv_file_magic_cmd=$FILECMD
6513 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6514 ;;
6515
6516 *nto* | *qnx*)
6517 lt_cv_deplibs_check_method=pass_all
6518 ;;
6519
6520 openbsd*)
6521 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6522 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6523 else
6524 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6525 fi
6526 ;;
6527
6528 osf3* | osf4* | osf5*)
6529 lt_cv_deplibs_check_method=pass_all
6530 ;;
6531
6532 rdos*)
6533 lt_cv_deplibs_check_method=pass_all
6534 ;;
6535
6536 serenity*)
6537 lt_cv_deplibs_check_method=pass_all
6538 ;;
6539
6540 solaris*)
6541 lt_cv_deplibs_check_method=pass_all
6542 ;;
6543
6544 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6545 lt_cv_deplibs_check_method=pass_all
6546 ;;
6547
6548 sysv4 | sysv4.3*)
6549 case $host_vendor in
6550 motorola)
6551 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]'
6552 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6553 ;;
6554 ncr)
6555 lt_cv_deplibs_check_method=pass_all
6556 ;;
6557 sequent)
6558 lt_cv_file_magic_cmd='/bin/file'
6559 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6560 ;;
6561 sni)
6562 lt_cv_file_magic_cmd='/bin/file'
6563 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6564 lt_cv_file_magic_test_file=/lib/libc.so
6565 ;;
6566 siemens)
6567 lt_cv_deplibs_check_method=pass_all
6568 ;;
6569 pc)
6570 lt_cv_deplibs_check_method=pass_all
6571 ;;
6572 esac
6573 ;;
6574
6575 tpf*)
6576 lt_cv_deplibs_check_method=pass_all
6577 ;;
6578 os2*)
6579 lt_cv_deplibs_check_method=pass_all
6580 ;;
6581 esac
6582 ;;
6583 esac
6584 fi
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6586 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6587
6588 file_magic_glob=
6589 want_nocaseglob=no
6590 if test "$build" = "$host"; then
6591 case $host_os in
6592 mingw* | windows* | pw32*)
6593 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6594 want_nocaseglob=yes
6595 else
6596 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6597 fi
6598 ;;
6599 esac
6600 fi
6601
6602 file_magic_cmd=$lt_cv_file_magic_cmd
6603 deplibs_check_method=$lt_cv_deplibs_check_method
6604 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627 if test -n "$ac_tool_prefix"; then
6628 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6629 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 printf %s "checking for $ac_word... " >&6; }
6632 if test ${ac_cv_prog_DLLTOOL+y}
6633 then :
6634 printf %s "(cached) " >&6
6635 else case e in #(
6636 e) if test -n "$DLLTOOL"; then
6637 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642 IFS=$as_save_IFS
6643 case $as_dir in #(((
6644 '') as_dir=./ ;;
6645 */) ;;
6646 *) as_dir=$as_dir/ ;;
6647 esac
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6649 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6650 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6652 break 2
6653 fi
6654 done
6655 done
6656 IFS=$as_save_IFS
6657
6658 fi ;;
6659 esac
6660 fi
6661 DLLTOOL=$ac_cv_prog_DLLTOOL
6662 if test -n "$DLLTOOL"; then
6663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6664 printf "%s\n" "$DLLTOOL" >&6; }
6665 else
6666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667 printf "%s\n" "no" >&6; }
6668 fi
6669
6670
6671 fi
6672 if test -z "$ac_cv_prog_DLLTOOL"; then
6673 ac_ct_DLLTOOL=$DLLTOOL
6674 # Extract the first word of "dlltool", so it can be a program name with args.
6675 set dummy dlltool; ac_word=$2
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 printf %s "checking for $ac_word... " >&6; }
6678 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6679 then :
6680 printf %s "(cached) " >&6
6681 else case e in #(
6682 e) if test -n "$ac_ct_DLLTOOL"; then
6683 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6687 do
6688 IFS=$as_save_IFS
6689 case $as_dir in #(((
6690 '') as_dir=./ ;;
6691 */) ;;
6692 *) as_dir=$as_dir/ ;;
6693 esac
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6698 break 2
6699 fi
6700 done
6701 done
6702 IFS=$as_save_IFS
6703
6704 fi ;;
6705 esac
6706 fi
6707 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6708 if test -n "$ac_ct_DLLTOOL"; then
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6710 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6711 else
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 printf "%s\n" "no" >&6; }
6714 fi
6715
6716 if test "x$ac_ct_DLLTOOL" = x; then
6717 DLLTOOL="false"
6718 else
6719 case $cross_compiling:$ac_tool_warned in
6720 yes:)
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6722 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6723 ac_tool_warned=yes ;;
6724 esac
6725 DLLTOOL=$ac_ct_DLLTOOL
6726 fi
6727 else
6728 DLLTOOL="$ac_cv_prog_DLLTOOL"
6729 fi
6730
6731 test -z "$DLLTOOL" && DLLTOOL=dlltool
6732
6733
6734
6735
6736
6737
6738
6739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6740 printf %s "checking how to associate runtime and link libraries... " >&6; }
6741 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6742 then :
6743 printf %s "(cached) " >&6
6744 else case e in #(
6745 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
6746
6747 case $host_os in
6748 cygwin* | mingw* | windows* | pw32* | cegcc*)
6749 # two different shell functions defined in ltmain.sh;
6750 # decide which one to use based on capabilities of $DLLTOOL
6751 case `$DLLTOOL --help 2>&1` in
6752 *--identify-strict*)
6753 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6754 ;;
6755 *)
6756 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6757 ;;
6758 esac
6759 ;;
6760 *)
6761 # fallback: assume linklib IS sharedlib
6762 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6763 ;;
6764 esac
6765 ;;
6766 esac
6767 fi
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6769 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6770 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6771 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6772
6773
6774
6775
6776
6777
6778
6779 if test -n "$ac_tool_prefix"; then
6780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6781 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 printf %s "checking for $ac_word... " >&6; }
6784 if test ${ac_cv_prog_RANLIB+y}
6785 then :
6786 printf %s "(cached) " >&6
6787 else case e in #(
6788 e) if test -n "$RANLIB"; then
6789 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6790 else
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 for as_dir in $PATH
6793 do
6794 IFS=$as_save_IFS
6795 case $as_dir in #(((
6796 '') as_dir=./ ;;
6797 */) ;;
6798 *) as_dir=$as_dir/ ;;
6799 esac
6800 for ac_exec_ext in '' $ac_executable_extensions; do
6801 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6802 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6804 break 2
6805 fi
6806 done
6807 done
6808 IFS=$as_save_IFS
6809
6810 fi ;;
6811 esac
6812 fi
6813 RANLIB=$ac_cv_prog_RANLIB
6814 if test -n "$RANLIB"; then
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6816 printf "%s\n" "$RANLIB" >&6; }
6817 else
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 printf "%s\n" "no" >&6; }
6820 fi
6821
6822
6823 fi
6824 if test -z "$ac_cv_prog_RANLIB"; then
6825 ac_ct_RANLIB=$RANLIB
6826 # Extract the first word of "ranlib", so it can be a program name with args.
6827 set dummy ranlib; ac_word=$2
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 printf %s "checking for $ac_word... " >&6; }
6830 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6831 then :
6832 printf %s "(cached) " >&6
6833 else case e in #(
6834 e) if test -n "$ac_ct_RANLIB"; then
6835 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6836 else
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 for as_dir in $PATH
6839 do
6840 IFS=$as_save_IFS
6841 case $as_dir in #(((
6842 '') as_dir=./ ;;
6843 */) ;;
6844 *) as_dir=$as_dir/ ;;
6845 esac
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_ac_ct_RANLIB="ranlib"
6849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6850 break 2
6851 fi
6852 done
6853 done
6854 IFS=$as_save_IFS
6855
6856 fi ;;
6857 esac
6858 fi
6859 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6860 if test -n "$ac_ct_RANLIB"; then
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6862 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6863 else
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 printf "%s\n" "no" >&6; }
6866 fi
6867
6868 if test "x$ac_ct_RANLIB" = x; then
6869 RANLIB=":"
6870 else
6871 case $cross_compiling:$ac_tool_warned in
6872 yes:)
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6874 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6875 ac_tool_warned=yes ;;
6876 esac
6877 RANLIB=$ac_ct_RANLIB
6878 fi
6879 else
6880 RANLIB="$ac_cv_prog_RANLIB"
6881 fi
6882
6883 if test -n "$ac_tool_prefix"; then
6884 for ac_prog in ar
6885 do
6886 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6887 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 printf %s "checking for $ac_word... " >&6; }
6890 if test ${ac_cv_prog_AR+y}
6891 then :
6892 printf %s "(cached) " >&6
6893 else case e in #(
6894 e) if test -n "$AR"; then
6895 ac_cv_prog_AR="$AR" # Let the user override the test.
6896 else
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898 for as_dir in $PATH
6899 do
6900 IFS=$as_save_IFS
6901 case $as_dir in #(((
6902 '') as_dir=./ ;;
6903 */) ;;
6904 *) as_dir=$as_dir/ ;;
6905 esac
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6908 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6910 break 2
6911 fi
6912 done
6913 done
6914 IFS=$as_save_IFS
6915
6916 fi ;;
6917 esac
6918 fi
6919 AR=$ac_cv_prog_AR
6920 if test -n "$AR"; then
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6922 printf "%s\n" "$AR" >&6; }
6923 else
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 printf "%s\n" "no" >&6; }
6926 fi
6927
6928
6929 test -n "$AR" && break
6930 done
6931 fi
6932 if test -z "$AR"; then
6933 ac_ct_AR=$AR
6934 for ac_prog in ar
6935 do
6936 # Extract the first word of "$ac_prog", so it can be a program name with args.
6937 set dummy $ac_prog; ac_word=$2
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 printf %s "checking for $ac_word... " >&6; }
6940 if test ${ac_cv_prog_ac_ct_AR+y}
6941 then :
6942 printf %s "(cached) " >&6
6943 else case e in #(
6944 e) if test -n "$ac_ct_AR"; then
6945 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6946 else
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 for as_dir in $PATH
6949 do
6950 IFS=$as_save_IFS
6951 case $as_dir in #(((
6952 '') as_dir=./ ;;
6953 */) ;;
6954 *) as_dir=$as_dir/ ;;
6955 esac
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6958 ac_cv_prog_ac_ct_AR="$ac_prog"
6959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6960 break 2
6961 fi
6962 done
6963 done
6964 IFS=$as_save_IFS
6965
6966 fi ;;
6967 esac
6968 fi
6969 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6970 if test -n "$ac_ct_AR"; then
6971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6972 printf "%s\n" "$ac_ct_AR" >&6; }
6973 else
6974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 printf "%s\n" "no" >&6; }
6976 fi
6977
6978
6979 test -n "$ac_ct_AR" && break
6980 done
6981
6982 if test "x$ac_ct_AR" = x; then
6983 AR="false"
6984 else
6985 case $cross_compiling:$ac_tool_warned in
6986 yes:)
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6988 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6989 ac_tool_warned=yes ;;
6990 esac
6991 AR=$ac_ct_AR
6992 fi
6993 fi
6994
6995 : ${AR=ar}
6996
6997
6998
6999
7000
7001
7002 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
7003 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7004 # higher priority because that's what people were doing historically (setting
7005 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
7006 # variable obsoleted/removed.
7007
7008 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7009 lt_ar_flags=$AR_FLAGS
7010
7011
7012
7013
7014
7015
7016 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7017 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7018
7019
7020
7021
7022
7023
7024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7025 printf %s "checking for archiver @FILE support... " >&6; }
7026 if test ${lt_cv_ar_at_file+y}
7027 then :
7028 printf %s "(cached) " >&6
7029 else case e in #(
7030 e) lt_cv_ar_at_file=no
7031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7032 /* end confdefs.h. */
7033
7034 int
7035 main (void)
7036 {
7037
7038 ;
7039 return 0;
7040 }
7041 _ACEOF
7042 if ac_fn_c_try_compile "$LINENO"
7043 then :
7044 echo conftest.$ac_objext > conftest.lst
7045 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7046 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7047 (eval $lt_ar_try) 2>&5
7048 ac_status=$?
7049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7050 test $ac_status = 0; }
7051 if test 0 -eq "$ac_status"; then
7052 # Ensure the archiver fails upon bogus file names.
7053 rm -f conftest.$ac_objext libconftest.a
7054 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7055 (eval $lt_ar_try) 2>&5
7056 ac_status=$?
7057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7058 test $ac_status = 0; }
7059 if test 0 -ne "$ac_status"; then
7060 lt_cv_ar_at_file=@
7061 fi
7062 fi
7063 rm -f conftest.* libconftest.a
7064
7065 fi
7066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7067 ;;
7068 esac
7069 fi
7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7071 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7072
7073 if test no = "$lt_cv_ar_at_file"; then
7074 archiver_list_spec=
7075 else
7076 archiver_list_spec=$lt_cv_ar_at_file
7077 fi
7078
7079
7080
7081
7082
7083
7084
7085 if test -n "$ac_tool_prefix"; then
7086 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7087 set dummy ${ac_tool_prefix}strip; ac_word=$2
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 printf %s "checking for $ac_word... " >&6; }
7090 if test ${ac_cv_prog_STRIP+y}
7091 then :
7092 printf %s "(cached) " >&6
7093 else case e in #(
7094 e) if test -n "$STRIP"; then
7095 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7096 else
7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 for as_dir in $PATH
7099 do
7100 IFS=$as_save_IFS
7101 case $as_dir in #(((
7102 '') as_dir=./ ;;
7103 */) ;;
7104 *) as_dir=$as_dir/ ;;
7105 esac
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7110 break 2
7111 fi
7112 done
7113 done
7114 IFS=$as_save_IFS
7115
7116 fi ;;
7117 esac
7118 fi
7119 STRIP=$ac_cv_prog_STRIP
7120 if test -n "$STRIP"; then
7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7122 printf "%s\n" "$STRIP" >&6; }
7123 else
7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 printf "%s\n" "no" >&6; }
7126 fi
7127
7128
7129 fi
7130 if test -z "$ac_cv_prog_STRIP"; then
7131 ac_ct_STRIP=$STRIP
7132 # Extract the first word of "strip", so it can be a program name with args.
7133 set dummy strip; ac_word=$2
7134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 printf %s "checking for $ac_word... " >&6; }
7136 if test ${ac_cv_prog_ac_ct_STRIP+y}
7137 then :
7138 printf %s "(cached) " >&6
7139 else case e in #(
7140 e) if test -n "$ac_ct_STRIP"; then
7141 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7142 else
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7145 do
7146 IFS=$as_save_IFS
7147 case $as_dir in #(((
7148 '') as_dir=./ ;;
7149 */) ;;
7150 *) as_dir=$as_dir/ ;;
7151 esac
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_ac_ct_STRIP="strip"
7155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7156 break 2
7157 fi
7158 done
7159 done
7160 IFS=$as_save_IFS
7161
7162 fi ;;
7163 esac
7164 fi
7165 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7166 if test -n "$ac_ct_STRIP"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7168 printf "%s\n" "$ac_ct_STRIP" >&6; }
7169 else
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7172 fi
7173
7174 if test "x$ac_ct_STRIP" = x; then
7175 STRIP=":"
7176 else
7177 case $cross_compiling:$ac_tool_warned in
7178 yes:)
7179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7180 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7181 ac_tool_warned=yes ;;
7182 esac
7183 STRIP=$ac_ct_STRIP
7184 fi
7185 else
7186 STRIP="$ac_cv_prog_STRIP"
7187 fi
7188
7189 test -z "$STRIP" && STRIP=:
7190
7191
7192
7193
7194
7195
7196
7197 test -z "$RANLIB" && RANLIB=:
7198
7199
7200
7201
7202
7203
7204 # Determine commands to create old-style static archives.
7205 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7206 old_postinstall_cmds='chmod 644 $oldlib'
7207 old_postuninstall_cmds=
7208
7209 if test -n "$RANLIB"; then
7210 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7211 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7212 fi
7213
7214 case $host_os in
7215 darwin*)
7216 lock_old_archive_extraction=yes ;;
7217 *)
7218 lock_old_archive_extraction=no ;;
7219 esac
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259 # If no C compiler was specified, use CC.
7260 LTCC=${LTCC-"$CC"}
7261
7262 # If no C compiler flags were specified, use CFLAGS.
7263 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7264
7265 # Allow CC to be a program name with arguments.
7266 compiler=$CC
7267
7268
7269 # Check for command to grab the raw symbol name followed by C symbol from nm.
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7271 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7272 if test ${lt_cv_sys_global_symbol_pipe+y}
7273 then :
7274 printf %s "(cached) " >&6
7275 else case e in #(
7276 e)
7277 # These are sane defaults that work on at least a few old systems.
7278 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7279
7280 # Character class describing NM global symbol codes.
7281 symcode='[BCDEGRST]'
7282
7283 # Regexp to match symbols that can be accessed directly from C.
7284 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7285
7286 # Define system-specific variables.
7287 case $host_os in
7288 aix*)
7289 symcode='[BCDT]'
7290 ;;
7291 cygwin* | mingw* | windows* | pw32* | cegcc*)
7292 symcode='[ABCDGISTW]'
7293 ;;
7294 hpux*)
7295 if test ia64 = "$host_cpu"; then
7296 symcode='[ABCDEGRST]'
7297 fi
7298 ;;
7299 irix* | nonstopux*)
7300 symcode='[BCDEGRST]'
7301 ;;
7302 osf*)
7303 symcode='[BCDEGQRST]'
7304 ;;
7305 solaris*)
7306 symcode='[BCDRT]'
7307 ;;
7308 sco3.2v5*)
7309 symcode='[DT]'
7310 ;;
7311 sysv4.2uw2*)
7312 symcode='[DT]'
7313 ;;
7314 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7315 symcode='[ABDT]'
7316 ;;
7317 sysv4)
7318 symcode='[DFNSTU]'
7319 ;;
7320 esac
7321
7322 # If we're using GNU nm, then use its standard symbol codes.
7323 case `$NM -V 2>&1` in
7324 *GNU* | *'with BFD'*)
7325 symcode='[ABCDGIRSTW]' ;;
7326 esac
7327
7328 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7329 # Gets list of data symbols to import.
7330 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7331 # Adjust the below global symbol transforms to fixup imported variables.
7332 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7333 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7334 lt_c_name_lib_hook="\
7335 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7336 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7337 else
7338 # Disable hooks by default.
7339 lt_cv_sys_global_symbol_to_import=
7340 lt_cdecl_hook=
7341 lt_c_name_hook=
7342 lt_c_name_lib_hook=
7343 fi
7344
7345 # Transform an extracted symbol line into a proper C declaration.
7346 # Some systems (esp. on ia64) link data and code symbols differently,
7347 # so use this general approach.
7348 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7349 $lt_cdecl_hook\
7350 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7351 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7352
7353 # Transform an extracted symbol line into symbol name and symbol address
7354 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7355 $lt_c_name_hook\
7356 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7357 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7358
7359 # Transform an extracted symbol line into symbol name with lib prefix and
7360 # symbol address.
7361 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7362 $lt_c_name_lib_hook\
7363 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7364 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7365 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7366
7367 # Handle CRLF in mingw tool chain
7368 opt_cr=
7369 case $build_os in
7370 mingw* | windows*)
7371 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7372 ;;
7373 esac
7374
7375 # Try without a prefix underscore, then with it.
7376 for ac_symprfx in "" "_"; do
7377
7378 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7379 symxfrm="\\1 $ac_symprfx\\2 \\2"
7380
7381 # Write the raw and C identifiers.
7382 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7383 # Fake it for dumpbin and say T for any non-static function,
7384 # D for any global variable and I for any imported variable.
7385 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7386 # which start with @ or ?.
7387 lt_cv_sys_global_symbol_pipe="$AWK '"\
7388 " {last_section=section; section=\$ 3};"\
7389 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7390 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7391 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7392 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7393 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7394 " \$ 0!~/External *\|/{next};"\
7395 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7396 " {if(hide[section]) next};"\
7397 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7398 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7399 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7400 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7401 " ' prfx=^$ac_symprfx"
7402 else
7403 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7404 fi
7405 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7406
7407 # Check to see that the pipe works correctly.
7408 pipe_works=no
7409
7410 rm -f conftest*
7411 cat > conftest.$ac_ext <<_LT_EOF
7412 #ifdef __cplusplus
7413 extern "C" {
7414 #endif
7415 char nm_test_var;
7416 void nm_test_func(void);
7417 void nm_test_func(void){}
7418 #ifdef __cplusplus
7419 }
7420 #endif
7421 int main(void){nm_test_var='a';nm_test_func();return(0);}
7422 _LT_EOF
7423
7424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7425 (eval $ac_compile) 2>&5
7426 ac_status=$?
7427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7428 test $ac_status = 0; }; then
7429 # Now try to grab the symbols.
7430 nlist=conftest.nm
7431 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7432 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7433 # Try sorting and uniquifying the output.
7434 if sort "$nlist" | uniq > "$nlist"T; then
7435 mv -f "$nlist"T "$nlist"
7436 else
7437 rm -f "$nlist"T
7438 fi
7439
7440 # Make sure that we snagged all the symbols we need.
7441 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7442 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7443 cat <<_LT_EOF > conftest.$ac_ext
7444 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7445 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7446 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7447 relocations are performed -- see ld's documentation on pseudo-relocs. */
7448 # define LT_DLSYM_CONST
7449 #elif defined __osf__
7450 /* This system does not cope well with relocations in const data. */
7451 # define LT_DLSYM_CONST
7452 #else
7453 # define LT_DLSYM_CONST const
7454 #endif
7455
7456 #ifdef __cplusplus
7457 extern "C" {
7458 #endif
7459
7460 _LT_EOF
7461 # Now generate the symbol file.
7462 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7463
7464 cat <<_LT_EOF >> conftest.$ac_ext
7465
7466 /* The mapping between symbol names and symbols. */
7467 LT_DLSYM_CONST struct {
7468 const char *name;
7469 void *address;
7470 }
7471 lt__PROGRAM__LTX_preloaded_symbols[] =
7472 {
7473 { "@PROGRAM@", (void *) 0 },
7474 _LT_EOF
7475 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7476 cat <<\_LT_EOF >> conftest.$ac_ext
7477 {0, (void *) 0}
7478 };
7479
7480 /* This works around a problem in FreeBSD linker */
7481 #ifdef FREEBSD_WORKAROUND
7482 static const void *lt_preloaded_setup() {
7483 return lt__PROGRAM__LTX_preloaded_symbols;
7484 }
7485 #endif
7486
7487 #ifdef __cplusplus
7488 }
7489 #endif
7490 _LT_EOF
7491 # Now try linking the two files.
7492 mv conftest.$ac_objext conftstm.$ac_objext
7493 lt_globsym_save_LIBS=$LIBS
7494 lt_globsym_save_CFLAGS=$CFLAGS
7495 LIBS=conftstm.$ac_objext
7496 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7498 (eval $ac_link) 2>&5
7499 ac_status=$?
7500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7501 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7502 pipe_works=yes
7503 fi
7504 LIBS=$lt_globsym_save_LIBS
7505 CFLAGS=$lt_globsym_save_CFLAGS
7506 else
7507 echo "cannot find nm_test_func in $nlist" >&5
7508 fi
7509 else
7510 echo "cannot find nm_test_var in $nlist" >&5
7511 fi
7512 else
7513 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7514 fi
7515 else
7516 echo "$progname: failed program was:" >&5
7517 cat conftest.$ac_ext >&5
7518 fi
7519 rm -rf conftest* conftst*
7520
7521 # Do not use the global_symbol_pipe unless it works.
7522 if test yes = "$pipe_works"; then
7523 break
7524 else
7525 lt_cv_sys_global_symbol_pipe=
7526 fi
7527 done
7528 ;;
7529 esac
7530 fi
7531
7532 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7533 lt_cv_sys_global_symbol_to_cdecl=
7534 fi
7535 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7537 printf "%s\n" "failed" >&6; }
7538 else
7539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7540 printf "%s\n" "ok" >&6; }
7541 fi
7542
7543 # Response file support.
7544 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7545 nm_file_list_spec='@'
7546 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7547 nm_file_list_spec='@'
7548 fi
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7587 printf %s "checking for sysroot... " >&6; }
7588
7589 # Check whether --with-sysroot was given.
7590 if test ${with_sysroot+y}
7591 then :
7592 withval=$with_sysroot;
7593 else case e in #(
7594 e) with_sysroot=no ;;
7595 esac
7596 fi
7597
7598
7599 lt_sysroot=
7600 case $with_sysroot in #(
7601 yes)
7602 if test yes = "$GCC"; then
7603 # Trim trailing / since we'll always append absolute paths and we want
7604 # to avoid //, if only for less confusing output for the user.
7605 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
7606 fi
7607 ;; #(
7608 /*)
7609 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7610 ;; #(
7611 no|'')
7612 ;; #(
7613 *)
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7615 printf "%s\n" "$with_sysroot" >&6; }
7616 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7617 ;;
7618 esac
7619
7620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7621 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7622
7623
7624
7625
7626
7627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7628 printf %s "checking for a working dd... " >&6; }
7629 if test ${ac_cv_path_lt_DD+y}
7630 then :
7631 printf %s "(cached) " >&6
7632 else case e in #(
7633 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7634 cat conftest.i conftest.i >conftest2.i
7635 : ${lt_DD:=$DD}
7636 if test -z "$lt_DD"; then
7637 ac_path_lt_DD_found=false
7638 # Loop through the user's path and test for each of PROGNAME-LIST
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 for as_dir in $PATH
7641 do
7642 IFS=$as_save_IFS
7643 case $as_dir in #(((
7644 '') as_dir=./ ;;
7645 */) ;;
7646 *) as_dir=$as_dir/ ;;
7647 esac
7648 for ac_prog in dd
7649 do
7650 for ac_exec_ext in '' $ac_executable_extensions; do
7651 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7652 as_fn_executable_p "$ac_path_lt_DD" || continue
7653 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7654 cmp -s conftest.i conftest.out \
7655 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7656 fi
7657 $ac_path_lt_DD_found && break 3
7658 done
7659 done
7660 done
7661 IFS=$as_save_IFS
7662 if test -z "$ac_cv_path_lt_DD"; then
7663 :
7664 fi
7665 else
7666 ac_cv_path_lt_DD=$lt_DD
7667 fi
7668
7669 rm -f conftest.i conftest2.i conftest.out ;;
7670 esac
7671 fi
7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7673 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7674
7675
7676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7677 printf %s "checking how to truncate binary pipes... " >&6; }
7678 if test ${lt_cv_truncate_bin+y}
7679 then :
7680 printf %s "(cached) " >&6
7681 else case e in #(
7682 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7683 cat conftest.i conftest.i >conftest2.i
7684 lt_cv_truncate_bin=
7685 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7686 cmp -s conftest.i conftest.out \
7687 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7688 fi
7689 rm -f conftest.i conftest2.i conftest.out
7690 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
7691 esac
7692 fi
7693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7694 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7695
7696
7697
7698
7699
7700
7701
7702 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7703 func_cc_basename ()
7704 {
7705 for cc_temp in $*""; do
7706 case $cc_temp in
7707 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7708 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7709 \-*) ;;
7710 *) break;;
7711 esac
7712 done
7713 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7714 }
7715
7716 # Check whether --enable-libtool-lock was given.
7717 if test ${enable_libtool_lock+y}
7718 then :
7719 enableval=$enable_libtool_lock;
7720 fi
7721
7722 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7723
7724 # Some flags need to be propagated to the compiler or linker for good
7725 # libtool support.
7726 case $host in
7727 ia64-*-hpux*)
7728 # Find out what ABI is being produced by ac_compile, and set mode
7729 # options accordingly.
7730 echo 'int i;' > conftest.$ac_ext
7731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7732 (eval $ac_compile) 2>&5
7733 ac_status=$?
7734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7735 test $ac_status = 0; }; then
7736 case `$FILECMD conftest.$ac_objext` in
7737 *ELF-32*)
7738 HPUX_IA64_MODE=32
7739 ;;
7740 *ELF-64*)
7741 HPUX_IA64_MODE=64
7742 ;;
7743 esac
7744 fi
7745 rm -rf conftest*
7746 ;;
7747 *-*-irix6*)
7748 # Find out what ABI is being produced by ac_compile, and set linker
7749 # options accordingly.
7750 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7752 (eval $ac_compile) 2>&5
7753 ac_status=$?
7754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7755 test $ac_status = 0; }; then
7756 if test yes = "$lt_cv_prog_gnu_ld"; then
7757 case `$FILECMD conftest.$ac_objext` in
7758 *32-bit*)
7759 LD="${LD-ld} -melf32bsmip"
7760 ;;
7761 *N32*)
7762 LD="${LD-ld} -melf32bmipn32"
7763 ;;
7764 *64-bit*)
7765 LD="${LD-ld} -melf64bmip"
7766 ;;
7767 esac
7768 else
7769 case `$FILECMD conftest.$ac_objext` in
7770 *32-bit*)
7771 LD="${LD-ld} -32"
7772 ;;
7773 *N32*)
7774 LD="${LD-ld} -n32"
7775 ;;
7776 *64-bit*)
7777 LD="${LD-ld} -64"
7778 ;;
7779 esac
7780 fi
7781 fi
7782 rm -rf conftest*
7783 ;;
7784
7785 mips64*-*linux*)
7786 # Find out what ABI is being produced by ac_compile, and set linker
7787 # options accordingly.
7788 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7790 (eval $ac_compile) 2>&5
7791 ac_status=$?
7792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7793 test $ac_status = 0; }; then
7794 emul=elf
7795 case `$FILECMD conftest.$ac_objext` in
7796 *32-bit*)
7797 emul="${emul}32"
7798 ;;
7799 *64-bit*)
7800 emul="${emul}64"
7801 ;;
7802 esac
7803 case `$FILECMD conftest.$ac_objext` in
7804 *MSB*)
7805 emul="${emul}btsmip"
7806 ;;
7807 *LSB*)
7808 emul="${emul}ltsmip"
7809 ;;
7810 esac
7811 case `$FILECMD conftest.$ac_objext` in
7812 *N32*)
7813 emul="${emul}n32"
7814 ;;
7815 esac
7816 LD="${LD-ld} -m $emul"
7817 fi
7818 rm -rf conftest*
7819 ;;
7820
7821 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7822 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
7823 # Find out what ABI is being produced by ac_compile, and set linker
7824 # options accordingly. Note that the listed cases only cover the
7825 # situations where additional linker options are needed (such as when
7826 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7827 # vice versa); the common cases where no linker options are needed do
7828 # not appear in the list.
7829 echo 'int i;' > conftest.$ac_ext
7830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7831 (eval $ac_compile) 2>&5
7832 ac_status=$?
7833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7834 test $ac_status = 0; }; then
7835 case `$FILECMD conftest.o` in
7836 *32-bit*)
7837 case $host in
7838 x86_64-*kfreebsd*-gnu)
7839 LD="${LD-ld} -m elf_i386_fbsd"
7840 ;;
7841 x86_64-*linux*|x86_64-gnu*)
7842 case `$FILECMD conftest.o` in
7843 *x86-64*)
7844 LD="${LD-ld} -m elf32_x86_64"
7845 ;;
7846 *)
7847 LD="${LD-ld} -m elf_i386"
7848 ;;
7849 esac
7850 ;;
7851 powerpc64le-*linux*)
7852 LD="${LD-ld} -m elf32lppclinux"
7853 ;;
7854 powerpc64-*linux*)
7855 LD="${LD-ld} -m elf32ppclinux"
7856 ;;
7857 s390x-*linux*)
7858 LD="${LD-ld} -m elf_s390"
7859 ;;
7860 sparc64-*linux*)
7861 LD="${LD-ld} -m elf32_sparc"
7862 ;;
7863 esac
7864 ;;
7865 *64-bit*)
7866 case $host in
7867 x86_64-*kfreebsd*-gnu)
7868 LD="${LD-ld} -m elf_x86_64_fbsd"
7869 ;;
7870 x86_64-*linux*|x86_64-gnu*)
7871 LD="${LD-ld} -m elf_x86_64"
7872 ;;
7873 powerpcle-*linux*)
7874 LD="${LD-ld} -m elf64lppc"
7875 ;;
7876 powerpc-*linux*)
7877 LD="${LD-ld} -m elf64ppc"
7878 ;;
7879 s390*-*linux*|s390*-*tpf*)
7880 LD="${LD-ld} -m elf64_s390"
7881 ;;
7882 sparc*-*linux*)
7883 LD="${LD-ld} -m elf64_sparc"
7884 ;;
7885 esac
7886 ;;
7887 esac
7888 fi
7889 rm -rf conftest*
7890 ;;
7891
7892 *-*-sco3.2v5*)
7893 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7894 SAVE_CFLAGS=$CFLAGS
7895 CFLAGS="$CFLAGS -belf"
7896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7897 printf %s "checking whether the C compiler needs -belf... " >&6; }
7898 if test ${lt_cv_cc_needs_belf+y}
7899 then :
7900 printf %s "(cached) " >&6
7901 else case e in #(
7902 e) ac_ext=c
7903 ac_cpp='$CPP $CPPFLAGS'
7904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7907
7908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7909 /* end confdefs.h. */
7910
7911 int
7912 main (void)
7913 {
7914
7915 ;
7916 return 0;
7917 }
7918 _ACEOF
7919 if ac_fn_c_try_link "$LINENO"
7920 then :
7921 lt_cv_cc_needs_belf=yes
7922 else case e in #(
7923 e) lt_cv_cc_needs_belf=no ;;
7924 esac
7925 fi
7926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7927 conftest$ac_exeext conftest.$ac_ext
7928 ac_ext=c
7929 ac_cpp='$CPP $CPPFLAGS'
7930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7933 ;;
7934 esac
7935 fi
7936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7937 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7938 if test yes != "$lt_cv_cc_needs_belf"; then
7939 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7940 CFLAGS=$SAVE_CFLAGS
7941 fi
7942 ;;
7943 *-*solaris*)
7944 # Find out what ABI is being produced by ac_compile, and set linker
7945 # options accordingly.
7946 echo 'int i;' > conftest.$ac_ext
7947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7948 (eval $ac_compile) 2>&5
7949 ac_status=$?
7950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7951 test $ac_status = 0; }; then
7952 case `$FILECMD conftest.o` in
7953 *64-bit*)
7954 case $lt_cv_prog_gnu_ld in
7955 yes*)
7956 case $host in
7957 i?86-*-solaris*|x86_64-*-solaris*)
7958 LD="${LD-ld} -m elf_x86_64"
7959 ;;
7960 sparc*-*-solaris*)
7961 LD="${LD-ld} -m elf64_sparc"
7962 ;;
7963 esac
7964 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7965 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7966 LD=${LD-ld}_sol2
7967 fi
7968 ;;
7969 *)
7970 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7971 LD="${LD-ld} -64"
7972 fi
7973 ;;
7974 esac
7975 ;;
7976 esac
7977 fi
7978 rm -rf conftest*
7979 ;;
7980 esac
7981
7982 need_locks=$enable_libtool_lock
7983
7984 if test -n "$ac_tool_prefix"; then
7985 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7986 set dummy ${ac_tool_prefix}mt; ac_word=$2
7987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7988 printf %s "checking for $ac_word... " >&6; }
7989 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7990 then :
7991 printf %s "(cached) " >&6
7992 else case e in #(
7993 e) if test -n "$MANIFEST_TOOL"; then
7994 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7995 else
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 for as_dir in $PATH
7998 do
7999 IFS=$as_save_IFS
8000 case $as_dir in #(((
8001 '') as_dir=./ ;;
8002 */) ;;
8003 *) as_dir=$as_dir/ ;;
8004 esac
8005 for ac_exec_ext in '' $ac_executable_extensions; do
8006 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8007 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8009 break 2
8010 fi
8011 done
8012 done
8013 IFS=$as_save_IFS
8014
8015 fi ;;
8016 esac
8017 fi
8018 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8019 if test -n "$MANIFEST_TOOL"; then
8020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8021 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8022 else
8023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 printf "%s\n" "no" >&6; }
8025 fi
8026
8027
8028 fi
8029 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8030 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8031 # Extract the first word of "mt", so it can be a program name with args.
8032 set dummy mt; ac_word=$2
8033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8034 printf %s "checking for $ac_word... " >&6; }
8035 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8036 then :
8037 printf %s "(cached) " >&6
8038 else case e in #(
8039 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
8040 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8041 else
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 for as_dir in $PATH
8044 do
8045 IFS=$as_save_IFS
8046 case $as_dir in #(((
8047 '') as_dir=./ ;;
8048 */) ;;
8049 *) as_dir=$as_dir/ ;;
8050 esac
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8055 break 2
8056 fi
8057 done
8058 done
8059 IFS=$as_save_IFS
8060
8061 fi ;;
8062 esac
8063 fi
8064 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8065 if test -n "$ac_ct_MANIFEST_TOOL"; then
8066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8067 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8068 else
8069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 printf "%s\n" "no" >&6; }
8071 fi
8072
8073 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8074 MANIFEST_TOOL=":"
8075 else
8076 case $cross_compiling:$ac_tool_warned in
8077 yes:)
8078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8079 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8080 ac_tool_warned=yes ;;
8081 esac
8082 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8083 fi
8084 else
8085 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8086 fi
8087
8088 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8090 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8091 if test ${lt_cv_path_manifest_tool+y}
8092 then :
8093 printf %s "(cached) " >&6
8094 else case e in #(
8095 e) lt_cv_path_manifest_tool=no
8096 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8097 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8098 cat conftest.err >&5
8099 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8100 lt_cv_path_manifest_tool=yes
8101 fi
8102 rm -f conftest* ;;
8103 esac
8104 fi
8105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
8106 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
8107 if test yes != "$lt_cv_path_manifest_tool"; then
8108 MANIFEST_TOOL=:
8109 fi
8110
8111
8112
8113
8114
8115
8116 case $host_os in
8117 rhapsody* | darwin*)
8118 if test -n "$ac_tool_prefix"; then
8119 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8120 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8122 printf %s "checking for $ac_word... " >&6; }
8123 if test ${ac_cv_prog_DSYMUTIL+y}
8124 then :
8125 printf %s "(cached) " >&6
8126 else case e in #(
8127 e) if test -n "$DSYMUTIL"; then
8128 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8129 else
8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8131 for as_dir in $PATH
8132 do
8133 IFS=$as_save_IFS
8134 case $as_dir in #(((
8135 '') as_dir=./ ;;
8136 */) ;;
8137 *) as_dir=$as_dir/ ;;
8138 esac
8139 for ac_exec_ext in '' $ac_executable_extensions; do
8140 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8141 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8143 break 2
8144 fi
8145 done
8146 done
8147 IFS=$as_save_IFS
8148
8149 fi ;;
8150 esac
8151 fi
8152 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8153 if test -n "$DSYMUTIL"; then
8154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8155 printf "%s\n" "$DSYMUTIL" >&6; }
8156 else
8157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158 printf "%s\n" "no" >&6; }
8159 fi
8160
8161
8162 fi
8163 if test -z "$ac_cv_prog_DSYMUTIL"; then
8164 ac_ct_DSYMUTIL=$DSYMUTIL
8165 # Extract the first word of "dsymutil", so it can be a program name with args.
8166 set dummy dsymutil; ac_word=$2
8167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8168 printf %s "checking for $ac_word... " >&6; }
8169 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8170 then :
8171 printf %s "(cached) " >&6
8172 else case e in #(
8173 e) if test -n "$ac_ct_DSYMUTIL"; then
8174 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8175 else
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 for as_dir in $PATH
8178 do
8179 IFS=$as_save_IFS
8180 case $as_dir in #(((
8181 '') as_dir=./ ;;
8182 */) ;;
8183 *) as_dir=$as_dir/ ;;
8184 esac
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8187 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8189 break 2
8190 fi
8191 done
8192 done
8193 IFS=$as_save_IFS
8194
8195 fi ;;
8196 esac
8197 fi
8198 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8199 if test -n "$ac_ct_DSYMUTIL"; then
8200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8201 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8202 else
8203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 printf "%s\n" "no" >&6; }
8205 fi
8206
8207 if test "x$ac_ct_DSYMUTIL" = x; then
8208 DSYMUTIL=":"
8209 else
8210 case $cross_compiling:$ac_tool_warned in
8211 yes:)
8212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8213 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8214 ac_tool_warned=yes ;;
8215 esac
8216 DSYMUTIL=$ac_ct_DSYMUTIL
8217 fi
8218 else
8219 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8220 fi
8221
8222 if test -n "$ac_tool_prefix"; then
8223 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8224 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8226 printf %s "checking for $ac_word... " >&6; }
8227 if test ${ac_cv_prog_NMEDIT+y}
8228 then :
8229 printf %s "(cached) " >&6
8230 else case e in #(
8231 e) if test -n "$NMEDIT"; then
8232 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8233 else
8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 for as_dir in $PATH
8236 do
8237 IFS=$as_save_IFS
8238 case $as_dir in #(((
8239 '') as_dir=./ ;;
8240 */) ;;
8241 *) as_dir=$as_dir/ ;;
8242 esac
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8245 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8247 break 2
8248 fi
8249 done
8250 done
8251 IFS=$as_save_IFS
8252
8253 fi ;;
8254 esac
8255 fi
8256 NMEDIT=$ac_cv_prog_NMEDIT
8257 if test -n "$NMEDIT"; then
8258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8259 printf "%s\n" "$NMEDIT" >&6; }
8260 else
8261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 printf "%s\n" "no" >&6; }
8263 fi
8264
8265
8266 fi
8267 if test -z "$ac_cv_prog_NMEDIT"; then
8268 ac_ct_NMEDIT=$NMEDIT
8269 # Extract the first word of "nmedit", so it can be a program name with args.
8270 set dummy nmedit; ac_word=$2
8271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8272 printf %s "checking for $ac_word... " >&6; }
8273 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8274 then :
8275 printf %s "(cached) " >&6
8276 else case e in #(
8277 e) if test -n "$ac_ct_NMEDIT"; then
8278 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8279 else
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 for as_dir in $PATH
8282 do
8283 IFS=$as_save_IFS
8284 case $as_dir in #(((
8285 '') as_dir=./ ;;
8286 */) ;;
8287 *) as_dir=$as_dir/ ;;
8288 esac
8289 for ac_exec_ext in '' $ac_executable_extensions; do
8290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8291 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8293 break 2
8294 fi
8295 done
8296 done
8297 IFS=$as_save_IFS
8298
8299 fi ;;
8300 esac
8301 fi
8302 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8303 if test -n "$ac_ct_NMEDIT"; then
8304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8305 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8306 else
8307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8308 printf "%s\n" "no" >&6; }
8309 fi
8310
8311 if test "x$ac_ct_NMEDIT" = x; then
8312 NMEDIT=":"
8313 else
8314 case $cross_compiling:$ac_tool_warned in
8315 yes:)
8316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8317 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8318 ac_tool_warned=yes ;;
8319 esac
8320 NMEDIT=$ac_ct_NMEDIT
8321 fi
8322 else
8323 NMEDIT="$ac_cv_prog_NMEDIT"
8324 fi
8325
8326 if test -n "$ac_tool_prefix"; then
8327 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8328 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8330 printf %s "checking for $ac_word... " >&6; }
8331 if test ${ac_cv_prog_LIPO+y}
8332 then :
8333 printf %s "(cached) " >&6
8334 else case e in #(
8335 e) if test -n "$LIPO"; then
8336 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8337 else
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 for as_dir in $PATH
8340 do
8341 IFS=$as_save_IFS
8342 case $as_dir in #(((
8343 '') as_dir=./ ;;
8344 */) ;;
8345 *) as_dir=$as_dir/ ;;
8346 esac
8347 for ac_exec_ext in '' $ac_executable_extensions; do
8348 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8349 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8351 break 2
8352 fi
8353 done
8354 done
8355 IFS=$as_save_IFS
8356
8357 fi ;;
8358 esac
8359 fi
8360 LIPO=$ac_cv_prog_LIPO
8361 if test -n "$LIPO"; then
8362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8363 printf "%s\n" "$LIPO" >&6; }
8364 else
8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 printf "%s\n" "no" >&6; }
8367 fi
8368
8369
8370 fi
8371 if test -z "$ac_cv_prog_LIPO"; then
8372 ac_ct_LIPO=$LIPO
8373 # Extract the first word of "lipo", so it can be a program name with args.
8374 set dummy lipo; ac_word=$2
8375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8376 printf %s "checking for $ac_word... " >&6; }
8377 if test ${ac_cv_prog_ac_ct_LIPO+y}
8378 then :
8379 printf %s "(cached) " >&6
8380 else case e in #(
8381 e) if test -n "$ac_ct_LIPO"; then
8382 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8383 else
8384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385 for as_dir in $PATH
8386 do
8387 IFS=$as_save_IFS
8388 case $as_dir in #(((
8389 '') as_dir=./ ;;
8390 */) ;;
8391 *) as_dir=$as_dir/ ;;
8392 esac
8393 for ac_exec_ext in '' $ac_executable_extensions; do
8394 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8395 ac_cv_prog_ac_ct_LIPO="lipo"
8396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8397 break 2
8398 fi
8399 done
8400 done
8401 IFS=$as_save_IFS
8402
8403 fi ;;
8404 esac
8405 fi
8406 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8407 if test -n "$ac_ct_LIPO"; then
8408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8409 printf "%s\n" "$ac_ct_LIPO" >&6; }
8410 else
8411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 printf "%s\n" "no" >&6; }
8413 fi
8414
8415 if test "x$ac_ct_LIPO" = x; then
8416 LIPO=":"
8417 else
8418 case $cross_compiling:$ac_tool_warned in
8419 yes:)
8420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8421 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8422 ac_tool_warned=yes ;;
8423 esac
8424 LIPO=$ac_ct_LIPO
8425 fi
8426 else
8427 LIPO="$ac_cv_prog_LIPO"
8428 fi
8429
8430 if test -n "$ac_tool_prefix"; then
8431 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8432 set dummy ${ac_tool_prefix}otool; ac_word=$2
8433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8434 printf %s "checking for $ac_word... " >&6; }
8435 if test ${ac_cv_prog_OTOOL+y}
8436 then :
8437 printf %s "(cached) " >&6
8438 else case e in #(
8439 e) if test -n "$OTOOL"; then
8440 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8441 else
8442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8443 for as_dir in $PATH
8444 do
8445 IFS=$as_save_IFS
8446 case $as_dir in #(((
8447 '') as_dir=./ ;;
8448 */) ;;
8449 *) as_dir=$as_dir/ ;;
8450 esac
8451 for ac_exec_ext in '' $ac_executable_extensions; do
8452 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8453 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8455 break 2
8456 fi
8457 done
8458 done
8459 IFS=$as_save_IFS
8460
8461 fi ;;
8462 esac
8463 fi
8464 OTOOL=$ac_cv_prog_OTOOL
8465 if test -n "$OTOOL"; then
8466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8467 printf "%s\n" "$OTOOL" >&6; }
8468 else
8469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 printf "%s\n" "no" >&6; }
8471 fi
8472
8473
8474 fi
8475 if test -z "$ac_cv_prog_OTOOL"; then
8476 ac_ct_OTOOL=$OTOOL
8477 # Extract the first word of "otool", so it can be a program name with args.
8478 set dummy otool; ac_word=$2
8479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8480 printf %s "checking for $ac_word... " >&6; }
8481 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8482 then :
8483 printf %s "(cached) " >&6
8484 else case e in #(
8485 e) if test -n "$ac_ct_OTOOL"; then
8486 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8487 else
8488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8489 for as_dir in $PATH
8490 do
8491 IFS=$as_save_IFS
8492 case $as_dir in #(((
8493 '') as_dir=./ ;;
8494 */) ;;
8495 *) as_dir=$as_dir/ ;;
8496 esac
8497 for ac_exec_ext in '' $ac_executable_extensions; do
8498 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8499 ac_cv_prog_ac_ct_OTOOL="otool"
8500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8501 break 2
8502 fi
8503 done
8504 done
8505 IFS=$as_save_IFS
8506
8507 fi ;;
8508 esac
8509 fi
8510 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8511 if test -n "$ac_ct_OTOOL"; then
8512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8513 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8514 else
8515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8516 printf "%s\n" "no" >&6; }
8517 fi
8518
8519 if test "x$ac_ct_OTOOL" = x; then
8520 OTOOL=":"
8521 else
8522 case $cross_compiling:$ac_tool_warned in
8523 yes:)
8524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8525 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8526 ac_tool_warned=yes ;;
8527 esac
8528 OTOOL=$ac_ct_OTOOL
8529 fi
8530 else
8531 OTOOL="$ac_cv_prog_OTOOL"
8532 fi
8533
8534 if test -n "$ac_tool_prefix"; then
8535 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8536 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8538 printf %s "checking for $ac_word... " >&6; }
8539 if test ${ac_cv_prog_OTOOL64+y}
8540 then :
8541 printf %s "(cached) " >&6
8542 else case e in #(
8543 e) if test -n "$OTOOL64"; then
8544 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8545 else
8546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8547 for as_dir in $PATH
8548 do
8549 IFS=$as_save_IFS
8550 case $as_dir in #(((
8551 '') as_dir=./ ;;
8552 */) ;;
8553 *) as_dir=$as_dir/ ;;
8554 esac
8555 for ac_exec_ext in '' $ac_executable_extensions; do
8556 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8557 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8559 break 2
8560 fi
8561 done
8562 done
8563 IFS=$as_save_IFS
8564
8565 fi ;;
8566 esac
8567 fi
8568 OTOOL64=$ac_cv_prog_OTOOL64
8569 if test -n "$OTOOL64"; then
8570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8571 printf "%s\n" "$OTOOL64" >&6; }
8572 else
8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8574 printf "%s\n" "no" >&6; }
8575 fi
8576
8577
8578 fi
8579 if test -z "$ac_cv_prog_OTOOL64"; then
8580 ac_ct_OTOOL64=$OTOOL64
8581 # Extract the first word of "otool64", so it can be a program name with args.
8582 set dummy otool64; ac_word=$2
8583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 printf %s "checking for $ac_word... " >&6; }
8585 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8586 then :
8587 printf %s "(cached) " >&6
8588 else case e in #(
8589 e) if test -n "$ac_ct_OTOOL64"; then
8590 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8591 else
8592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8593 for as_dir in $PATH
8594 do
8595 IFS=$as_save_IFS
8596 case $as_dir in #(((
8597 '') as_dir=./ ;;
8598 */) ;;
8599 *) as_dir=$as_dir/ ;;
8600 esac
8601 for ac_exec_ext in '' $ac_executable_extensions; do
8602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8603 ac_cv_prog_ac_ct_OTOOL64="otool64"
8604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8605 break 2
8606 fi
8607 done
8608 done
8609 IFS=$as_save_IFS
8610
8611 fi ;;
8612 esac
8613 fi
8614 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8615 if test -n "$ac_ct_OTOOL64"; then
8616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8617 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8618 else
8619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8620 printf "%s\n" "no" >&6; }
8621 fi
8622
8623 if test "x$ac_ct_OTOOL64" = x; then
8624 OTOOL64=":"
8625 else
8626 case $cross_compiling:$ac_tool_warned in
8627 yes:)
8628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8629 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8630 ac_tool_warned=yes ;;
8631 esac
8632 OTOOL64=$ac_ct_OTOOL64
8633 fi
8634 else
8635 OTOOL64="$ac_cv_prog_OTOOL64"
8636 fi
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8665 printf %s "checking for -single_module linker flag... " >&6; }
8666 if test ${lt_cv_apple_cc_single_mod+y}
8667 then :
8668 printf %s "(cached) " >&6
8669 else case e in #(
8670 e) lt_cv_apple_cc_single_mod=no
8671 if test -z "$LT_MULTI_MODULE"; then
8672 # By default we will add the -single_module flag. You can override
8673 # by either setting the environment variable LT_MULTI_MODULE
8674 # non-empty at configure time, or by adding -multi_module to the
8675 # link flags.
8676 rm -rf libconftest.dylib*
8677 echo "int foo(void){return 1;}" > conftest.c
8678 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8679 -dynamiclib -Wl,-single_module conftest.c" >&5
8680 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8681 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8682 _lt_result=$?
8683 # If there is a non-empty error log, and "single_module"
8684 # appears in it, assume the flag caused a linker warning
8685 if test -s conftest.err && $GREP single_module conftest.err; then
8686 cat conftest.err >&5
8687 # Otherwise, if the output was created with a 0 exit code from
8688 # the compiler, it worked.
8689 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8690 lt_cv_apple_cc_single_mod=yes
8691 else
8692 cat conftest.err >&5
8693 fi
8694 rm -rf libconftest.dylib*
8695 rm -f conftest.*
8696 fi ;;
8697 esac
8698 fi
8699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8700 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8701
8702 # Feature test to disable chained fixups since it is not
8703 # compatible with '-undefined dynamic_lookup'
8704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
8705 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
8706 if test ${lt_cv_support_no_fixup_chains+y}
8707 then :
8708 printf %s "(cached) " >&6
8709 else case e in #(
8710 e) save_LDFLAGS=$LDFLAGS
8711 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714
8715 int
8716 main (void)
8717 {
8718
8719 ;
8720 return 0;
8721 }
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"
8724 then :
8725 lt_cv_support_no_fixup_chains=yes
8726 else case e in #(
8727 e) lt_cv_support_no_fixup_chains=no
8728 ;;
8729 esac
8730 fi
8731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8732 conftest$ac_exeext conftest.$ac_ext
8733 LDFLAGS=$save_LDFLAGS
8734
8735 ;;
8736 esac
8737 fi
8738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
8739 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
8740
8741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8742 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8743 if test ${lt_cv_ld_exported_symbols_list+y}
8744 then :
8745 printf %s "(cached) " >&6
8746 else case e in #(
8747 e) lt_cv_ld_exported_symbols_list=no
8748 save_LDFLAGS=$LDFLAGS
8749 echo "_main" > conftest.sym
8750 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8753
8754 int
8755 main (void)
8756 {
8757
8758 ;
8759 return 0;
8760 }
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"
8763 then :
8764 lt_cv_ld_exported_symbols_list=yes
8765 else case e in #(
8766 e) lt_cv_ld_exported_symbols_list=no ;;
8767 esac
8768 fi
8769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8770 conftest$ac_exeext conftest.$ac_ext
8771 LDFLAGS=$save_LDFLAGS
8772 ;;
8773 esac
8774 fi
8775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8776 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8777
8778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8779 printf %s "checking for -force_load linker flag... " >&6; }
8780 if test ${lt_cv_ld_force_load+y}
8781 then :
8782 printf %s "(cached) " >&6
8783 else case e in #(
8784 e) lt_cv_ld_force_load=no
8785 cat > conftest.c << _LT_EOF
8786 int forced_loaded() { return 2;}
8787 _LT_EOF
8788 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8789 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8790 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8791 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8792 echo "$RANLIB libconftest.a" >&5
8793 $RANLIB libconftest.a 2>&5
8794 cat > conftest.c << _LT_EOF
8795 int main(void) { return 0;}
8796 _LT_EOF
8797 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8798 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8799 _lt_result=$?
8800 if test -s conftest.err && $GREP force_load conftest.err; then
8801 cat conftest.err >&5
8802 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8803 lt_cv_ld_force_load=yes
8804 else
8805 cat conftest.err >&5
8806 fi
8807 rm -f conftest.err libconftest.a conftest conftest.c
8808 rm -rf conftest.dSYM
8809 ;;
8810 esac
8811 fi
8812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8813 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8814 case $host_os in
8815 rhapsody* | darwin1.[012])
8816 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8817 darwin1.*)
8818 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8819 darwin*)
8820 case $MACOSX_DEPLOYMENT_TARGET,$host in
8821 10.[012],*|,*powerpc*-darwin[5-8]*)
8822 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8823 *)
8824 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
8825 if test yes = "$lt_cv_support_no_fixup_chains"; then
8826 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
8827 fi
8828 ;;
8829 esac
8830 ;;
8831 esac
8832 if test yes = "$lt_cv_apple_cc_single_mod"; then
8833 _lt_dar_single_mod='$single_module'
8834 fi
8835 _lt_dar_needs_single_mod=no
8836 case $host_os in
8837 rhapsody* | darwin1.*)
8838 _lt_dar_needs_single_mod=yes ;;
8839 darwin*)
8840 # When targeting Mac OS X 10.4 (darwin 8) or later,
8841 # -single_module is the default and -multi_module is unsupported.
8842 # The toolchain on macOS 10.14 (darwin 18) and later cannot
8843 # target any OS version that needs -single_module.
8844 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8845 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
8846 _lt_dar_needs_single_mod=yes ;;
8847 esac
8848 ;;
8849 esac
8850 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8851 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8852 else
8853 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8854 fi
8855 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8856 _lt_dsymutil='~$DSYMUTIL $lib || :'
8857 else
8858 _lt_dsymutil=
8859 fi
8860 ;;
8861 esac
8862
8863 # func_munge_path_list VARIABLE PATH
8864 # -----------------------------------
8865 # VARIABLE is name of variable containing _space_ separated list of
8866 # directories to be munged by the contents of PATH, which is string
8867 # having a format:
8868 # "DIR[:DIR]:"
8869 # string "DIR[ DIR]" will be prepended to VARIABLE
8870 # ":DIR[:DIR]"
8871 # string "DIR[ DIR]" will be appended to VARIABLE
8872 # "DIRP[:DIRP]::[DIRA:]DIRA"
8873 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8874 # "DIRA[ DIRA]" will be appended to VARIABLE
8875 # "DIR[:DIR]"
8876 # VARIABLE will be replaced by "DIR[ DIR]"
8877 func_munge_path_list ()
8878 {
8879 case x$2 in
8880 x)
8881 ;;
8882 *:)
8883 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8884 ;;
8885 x:*)
8886 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8887 ;;
8888 *::*)
8889 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8890 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8891 ;;
8892 *)
8893 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8894 ;;
8895 esac
8896 }
8897
8898 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8899 "
8900 if test "x$ac_cv_header_dlfcn_h" = xyes
8901 then :
8902 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8903
8904 fi
8905
8906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
8907 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
8908 if test ${ac_cv_c_undeclared_builtin_options+y}
8909 then :
8910 printf %s "(cached) " >&6
8911 else case e in #(
8912 e) ac_save_CFLAGS=$CFLAGS
8913 ac_cv_c_undeclared_builtin_options='cannot detect'
8914 for ac_arg in '' -fno-builtin; do
8915 CFLAGS="$ac_save_CFLAGS $ac_arg"
8916 # This test program should *not* compile successfully.
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919
8920 int
8921 main (void)
8922 {
8923 (void) strchr;
8924 ;
8925 return 0;
8926 }
8927 _ACEOF
8928 if ac_fn_c_try_compile "$LINENO"
8929 then :
8930
8931 else case e in #(
8932 e) # This test program should compile successfully.
8933 # No library function is consistently available on
8934 # freestanding implementations, so test against a dummy
8935 # declaration. Include always-available headers on the
8936 # off chance that they somehow elicit warnings.
8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8939 #include <float.h>
8940 #include <limits.h>
8941 #include <stdarg.h>
8942 #include <stddef.h>
8943 extern void ac_decl (int, char *);
8944
8945 int
8946 main (void)
8947 {
8948 (void) ac_decl (0, (char *) 0);
8949 (void) ac_decl;
8950
8951 ;
8952 return 0;
8953 }
8954 _ACEOF
8955 if ac_fn_c_try_compile "$LINENO"
8956 then :
8957 if test x"$ac_arg" = x
8958 then :
8959 ac_cv_c_undeclared_builtin_options='none needed'
8960 else case e in #(
8961 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
8962 esac
8963 fi
8964 break
8965 fi
8966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
8967 esac
8968 fi
8969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8970 done
8971 CFLAGS=$ac_save_CFLAGS
8972 ;;
8973 esac
8974 fi
8975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
8976 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
8977 case $ac_cv_c_undeclared_builtin_options in #(
8978 'cannot detect') :
8979 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
8980 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
8981 as_fn_error $? "cannot make $CC report undeclared builtins
8982 See 'config.log' for more details" "$LINENO" 5; } ;; #(
8983 'none needed') :
8984 ac_c_undeclared_builtin_options='' ;; #(
8985 *) :
8986 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
8987 esac
8988
8989 echo 'tldbg:KPSE_COMMON called (pkg=chktex, amopt=)' >&5
8990 echo 'tldbg:KPSE_BASIC called (pkg=chktex, amopt=)' >&5
8991
8992 #
8993 # am_init_automake
8994 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8995 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8996 # is not polluted with repeated "-I."
8997 am__isrc=' -I$(srcdir)'
8998 # test to see if srcdir already configured
8999 if test -f $srcdir/config.status; then
9000 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
9001 fi
9002 fi
9003
9004 # test whether we have cygpath
9005 if test -z "$CYGPATH_W"; then
9006 if (cygpath --version) >/dev/null 2>/dev/null; then
9007 CYGPATH_W='cygpath -w'
9008 else
9009 CYGPATH_W=echo
9010 fi
9011 fi
9012
9013
9014 # Define the identity of the package.
9015 PACKAGE='chktex--tex-live-'
9016 VERSION='1.7.9'
9017
9018
9019 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
9020
9021
9022 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
9023
9024 # Some tools Automake needs.
9025
9026 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9027
9028
9029 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9030
9031
9032 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9033
9034
9035 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9036
9037
9038 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9039
9040 # For better backward compatibility. To be removed once Automake 1.9.x
9041 # dies out for good. For more background, see:
9042 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9043 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9044 mkdir_p='$(MKDIR_P)'
9045
9046 # We need awk for the "check" target (and possibly the TAP driver). The
9047 # system "awk" is bad on some platforms.
9048 # Always define AMTAR for backward compatibility. Yes, it's still used
9049 # in the wild :-( We should find a proper way to deprecate it ...
9050 AMTAR='$${TAR-tar}'
9051
9052
9053 # We'll loop over all known methods to create a tar archive until one works.
9054 _am_tools='gnutar plaintar pax cpio none'
9055
9056 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
9057 # There is notably a 21 bits limit for the UID and the GID. In fact,
9058 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
9059 # and bug#13588).
9060 am_max_uid=2097151 # 2^21 - 1
9061 am_max_gid=$am_max_uid
9062 # The $UID and $GID variables are not portable, so we need to resort
9063 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
9064 # below are definitely unexpected, so allow the users to see them
9065 # (that is, avoid stderr redirection).
9066 am_uid=`id -u || echo unknown`
9067 am_gid=`id -g || echo unknown`
9068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
9069 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
9070 if test x$am_uid = xunknown; then
9071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
9072 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
9073 elif test $am_uid -le $am_max_uid; then
9074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9075 printf "%s\n" "yes" >&6; }
9076 else
9077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9078 printf "%s\n" "no" >&6; }
9079 _am_tools=none
9080 fi
9081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
9082 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
9083 if test x$gm_gid = xunknown; then
9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
9085 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
9086 elif test $am_gid -le $am_max_gid; then
9087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9088 printf "%s\n" "yes" >&6; }
9089 else
9090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 printf "%s\n" "no" >&6; }
9092 _am_tools=none
9093 fi
9094
9095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
9096 printf %s "checking how to create a ustar tar archive... " >&6; }
9097
9098 # Go ahead even if we have the value already cached. We do so because we
9099 # need to set the values for the 'am__tar' and 'am__untar' variables.
9100 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
9101
9102 for _am_tool in $_am_tools; do
9103 case $_am_tool in
9104 gnutar)
9105 for _am_tar in tar gnutar gtar; do
9106 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9107 ($_am_tar --version) >&5 2>&5
9108 ac_status=$?
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); } && break
9111 done
9112 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
9113 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
9114 am__untar="$_am_tar -xf -"
9115 ;;
9116 plaintar)
9117 # Must skip GNU tar: if it does not support --format= it doesn't create
9118 # ustar tarball either.
9119 (tar --version) >/dev/null 2>&1 && continue
9120 am__tar='tar chf - "$$tardir"'
9121 am__tar_='tar chf - "$tardir"'
9122 am__untar='tar xf -'
9123 ;;
9124 pax)
9125 am__tar='pax -L -x ustar -w "$$tardir"'
9126 am__tar_='pax -L -x ustar -w "$tardir"'
9127 am__untar='pax -r'
9128 ;;
9129 cpio)
9130 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
9131 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
9132 am__untar='cpio -i -H ustar -d'
9133 ;;
9134 none)
9135 am__tar=false
9136 am__tar_=false
9137 am__untar=false
9138 ;;
9139 esac
9140
9141 # If the value was cached, stop now. We just wanted to have am__tar
9142 # and am__untar set.
9143 test -n "${am_cv_prog_tar_ustar}" && break
9144
9145 # tar/untar a dummy directory, and stop if the command works.
9146 rm -rf conftest.dir
9147 mkdir conftest.dir
9148 echo GrepMe > conftest.dir/file
9149 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9150 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
9151 ac_status=$?
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }
9154 rm -rf conftest.dir
9155 if test -s conftest.tar; then
9156 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9157 ($am__untar <conftest.tar) >&5 2>&5
9158 ac_status=$?
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); }
9161 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9162 (cat conftest.dir/file) >&5 2>&5
9163 ac_status=$?
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }
9166 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9167 fi
9168 done
9169 rm -rf conftest.dir
9170
9171 if test ${am_cv_prog_tar_ustar+y}
9172 then :
9173 printf %s "(cached) " >&6
9174 else case e in #(
9175 e) am_cv_prog_tar_ustar=$_am_tool ;;
9176 esac
9177 fi
9178
9179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
9180 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
9181
9182
9183
9184
9185
9186 # Variables for tags utilities; see am/tags.am
9187 if test -z "$CTAGS"; then
9188 CTAGS=ctags
9189 fi
9190
9191 if test -z "$ETAGS"; then
9192 ETAGS=etags
9193 fi
9194
9195 if test -z "$CSCOPE"; then
9196 CSCOPE=cscope
9197 fi
9198
9199
9200
9201
9202
9203
9204
9205
9206 # am_maintainer_mode
9207
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9209 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9210 # Check whether --enable-maintainer-mode was given.
9211 if test ${enable_maintainer_mode+y}
9212 then :
9213 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9214 else case e in #(
9215 e) USE_MAINTAINER_MODE=no ;;
9216 esac
9217 fi
9218
9219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9220 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
9221 if test $USE_MAINTAINER_MODE = yes; then
9222 MAINTAINER_MODE_TRUE=
9223 MAINTAINER_MODE_FALSE='#'
9224 else
9225 MAINTAINER_MODE_TRUE='#'
9226 MAINTAINER_MODE_FALSE=
9227 fi
9228
9229 MAINT=$MAINTAINER_MODE_TRUE
9230
9231
9232
9233 # See comments in kpse-setup.m4 about system extensions.
9234
9235
9236 # Check whether prototypes work.
9237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9238 printf %s "checking whether the compiler accepts prototypes... " >&6; }
9239 if test ${kb_cv_c_prototypes+y}
9240 then :
9241 printf %s "(cached) " >&6
9242 else case e in #(
9243 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9245 #include <stdarg.h>
9246 int
9247 main (void)
9248 {
9249 extern void foo(int i,...);
9250 ;
9251 return 0;
9252 }
9253 _ACEOF
9254 if ac_fn_c_try_link "$LINENO"
9255 then :
9256 kb_cv_c_prototypes=yes
9257 else case e in #(
9258 e) kb_cv_c_prototypes=no ;;
9259 esac
9260 fi
9261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9262 conftest$ac_exeext conftest.$ac_ext ;;
9263 esac
9264 fi
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9266 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
9267 if test "x$kb_cv_c_prototypes" = xno; then
9268 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
9269 fi
9270
9271 # kpse_compiler_warnings options.
9272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9273 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
9274 if test ${kpse_cv_warning_cflags+y}
9275 then :
9276 printf %s "(cached) " >&6
9277 else case e in #(
9278 e) if test "x$GCC" = xyes; then
9279 kpse_cv_warning_cflags=
9280 if test "x$enable_compiler_warnings" != xno; then
9281 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
9282 case `$CC -dumpversion` in #(
9283 3.4.* | 4.* | 5.*) :
9284 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9285 *) :
9286 ;;
9287 esac
9288 case `$CC -dumpversion` in #(
9289 3.[234].* | 4.* | 5.*) :
9290 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9291 *) :
9292 ;;
9293 esac
9294 if test "x$enable_compiler_warnings" != xmin; then
9295 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
9296 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9297 if test "x$enable_compiler_warnings" != xyes; then
9298 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9299 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9300 case `$CC -dumpversion` in #(
9301 3.4.* | 4.* | 5.*) :
9302 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9303 *) :
9304 ;;
9305 esac
9306 if test "x$enable_compiler_warnings" != xmax; then
9307 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
9308 fi
9309 fi
9310 fi
9311 fi
9312 elif test "x$enable_compiler_warnings" = xno; then
9313 kpse_cv_warning_cflags=
9314 else
9315 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
9316 fi ;;
9317 esac
9318 fi
9319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9320 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
9321 WARNING_CFLAGS=$kpse_cv_warning_cflags
9322
9323
9324
9325
9326
9327
9328
9329 # end of kpse_basic macro.
9330 echo 'tldbg:KPSE_BASIC done (pkg=chktex, amopt=)' >&5
9331
9332 # am_prog_ar must be called before lt_init.
9333
9334 if test -n "$ac_tool_prefix"; then
9335 for ac_prog in ar lib "link -lib"
9336 do
9337 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9338 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9340 printf %s "checking for $ac_word... " >&6; }
9341 if test ${ac_cv_prog_AR+y}
9342 then :
9343 printf %s "(cached) " >&6
9344 else case e in #(
9345 e) if test -n "$AR"; then
9346 ac_cv_prog_AR="$AR" # Let the user override the test.
9347 else
9348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9349 for as_dir in $PATH
9350 do
9351 IFS=$as_save_IFS
9352 case $as_dir in #(((
9353 '') as_dir=./ ;;
9354 */) ;;
9355 *) as_dir=$as_dir/ ;;
9356 esac
9357 for ac_exec_ext in '' $ac_executable_extensions; do
9358 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9359 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9361 break 2
9362 fi
9363 done
9364 done
9365 IFS=$as_save_IFS
9366
9367 fi ;;
9368 esac
9369 fi
9370 AR=$ac_cv_prog_AR
9371 if test -n "$AR"; then
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9373 printf "%s\n" "$AR" >&6; }
9374 else
9375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9376 printf "%s\n" "no" >&6; }
9377 fi
9378
9379
9380 test -n "$AR" && break
9381 done
9382 fi
9383 if test -z "$AR"; then
9384 ac_ct_AR=$AR
9385 for ac_prog in ar lib "link -lib"
9386 do
9387 # Extract the first word of "$ac_prog", so it can be a program name with args.
9388 set dummy $ac_prog; ac_word=$2
9389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9390 printf %s "checking for $ac_word... " >&6; }
9391 if test ${ac_cv_prog_ac_ct_AR+y}
9392 then :
9393 printf %s "(cached) " >&6
9394 else case e in #(
9395 e) if test -n "$ac_ct_AR"; then
9396 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9397 else
9398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9399 for as_dir in $PATH
9400 do
9401 IFS=$as_save_IFS
9402 case $as_dir in #(((
9403 '') as_dir=./ ;;
9404 */) ;;
9405 *) as_dir=$as_dir/ ;;
9406 esac
9407 for ac_exec_ext in '' $ac_executable_extensions; do
9408 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9409 ac_cv_prog_ac_ct_AR="$ac_prog"
9410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9411 break 2
9412 fi
9413 done
9414 done
9415 IFS=$as_save_IFS
9416
9417 fi ;;
9418 esac
9419 fi
9420 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9421 if test -n "$ac_ct_AR"; then
9422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9423 printf "%s\n" "$ac_ct_AR" >&6; }
9424 else
9425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9426 printf "%s\n" "no" >&6; }
9427 fi
9428
9429
9430 test -n "$ac_ct_AR" && break
9431 done
9432
9433 if test "x$ac_ct_AR" = x; then
9434 AR="false"
9435 else
9436 case $cross_compiling:$ac_tool_warned in
9437 yes:)
9438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9439 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9440 ac_tool_warned=yes ;;
9441 esac
9442 AR=$ac_ct_AR
9443 fi
9444 fi
9445
9446 : ${AR=ar}
9447 : ${ARFLAGS=cr}
9448
9449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
9450 printf %s "checking the archiver ($AR) interface... " >&6; }
9451 if test ${am_cv_ar_interface+y}
9452 then :
9453 printf %s "(cached) " >&6
9454 else case e in #(
9455 e) ac_ext=c
9456 ac_cpp='$CPP $CPPFLAGS'
9457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9460
9461 am_cv_ar_interface=ar
9462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9464 int some_variable = 0;
9465 _ACEOF
9466 if ac_fn_c_try_compile "$LINENO"
9467 then :
9468 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
9469 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9470 (eval $am_ar_try) 2>&5
9471 ac_status=$?
9472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9473 test $ac_status = 0; }
9474 if test "$ac_status" -eq 0; then
9475 am_cv_ar_interface=ar
9476 else
9477 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
9478 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9479 (eval $am_ar_try) 2>&5
9480 ac_status=$?
9481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9482 test $ac_status = 0; }
9483 if test "$ac_status" -eq 0; then
9484 am_cv_ar_interface=lib
9485 else
9486 am_cv_ar_interface=unknown
9487 fi
9488 fi
9489 rm -f conftest.lib libconftest.a
9490
9491 fi
9492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9493 ac_ext=c
9494 ac_cpp='$CPP $CPPFLAGS'
9495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9498 ;;
9499 esac
9500 fi
9501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
9502 printf "%s\n" "$am_cv_ar_interface" >&6; }
9503
9504 case $am_cv_ar_interface in
9505 ar)
9506 ;;
9507 lib)
9508 # Microsoft lib, so override with the ar-lib wrapper script.
9509 # FIXME: It is wrong to rewrite AR.
9510 # But if we don't then we get into trouble of one sort or another.
9511 # A longer-term fix would be to have automake use am__AR in this case,
9512 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9513 # similar.
9514 AR="$am_aux_dir/ar-lib $AR"
9515 ;;
9516 unknown)
9517 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
9518 ;;
9519 esac
9520
9521 # (end am_prog_ar)
9522 # starting lt_prereq + lt_init.
9523
9524
9525
9526
9527
9528 # Set options
9529 enable_win32_dll=yes
9530
9531 case $host in
9532 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
9533 if test -n "$ac_tool_prefix"; then
9534 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9535 set dummy ${ac_tool_prefix}as; ac_word=$2
9536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9537 printf %s "checking for $ac_word... " >&6; }
9538 if test ${ac_cv_prog_AS+y}
9539 then :
9540 printf %s "(cached) " >&6
9541 else case e in #(
9542 e) if test -n "$AS"; then
9543 ac_cv_prog_AS="$AS" # Let the user override the test.
9544 else
9545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9546 for as_dir in $PATH
9547 do
9548 IFS=$as_save_IFS
9549 case $as_dir in #(((
9550 '') as_dir=./ ;;
9551 */) ;;
9552 *) as_dir=$as_dir/ ;;
9553 esac
9554 for ac_exec_ext in '' $ac_executable_extensions; do
9555 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9556 ac_cv_prog_AS="${ac_tool_prefix}as"
9557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9558 break 2
9559 fi
9560 done
9561 done
9562 IFS=$as_save_IFS
9563
9564 fi ;;
9565 esac
9566 fi
9567 AS=$ac_cv_prog_AS
9568 if test -n "$AS"; then
9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9570 printf "%s\n" "$AS" >&6; }
9571 else
9572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9573 printf "%s\n" "no" >&6; }
9574 fi
9575
9576
9577 fi
9578 if test -z "$ac_cv_prog_AS"; then
9579 ac_ct_AS=$AS
9580 # Extract the first word of "as", so it can be a program name with args.
9581 set dummy as; ac_word=$2
9582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 printf %s "checking for $ac_word... " >&6; }
9584 if test ${ac_cv_prog_ac_ct_AS+y}
9585 then :
9586 printf %s "(cached) " >&6
9587 else case e in #(
9588 e) if test -n "$ac_ct_AS"; then
9589 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9590 else
9591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 for as_dir in $PATH
9593 do
9594 IFS=$as_save_IFS
9595 case $as_dir in #(((
9596 '') as_dir=./ ;;
9597 */) ;;
9598 *) as_dir=$as_dir/ ;;
9599 esac
9600 for ac_exec_ext in '' $ac_executable_extensions; do
9601 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9602 ac_cv_prog_ac_ct_AS="as"
9603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9604 break 2
9605 fi
9606 done
9607 done
9608 IFS=$as_save_IFS
9609
9610 fi ;;
9611 esac
9612 fi
9613 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9614 if test -n "$ac_ct_AS"; then
9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9616 printf "%s\n" "$ac_ct_AS" >&6; }
9617 else
9618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9619 printf "%s\n" "no" >&6; }
9620 fi
9621
9622 if test "x$ac_ct_AS" = x; then
9623 AS="false"
9624 else
9625 case $cross_compiling:$ac_tool_warned in
9626 yes:)
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9628 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9629 ac_tool_warned=yes ;;
9630 esac
9631 AS=$ac_ct_AS
9632 fi
9633 else
9634 AS="$ac_cv_prog_AS"
9635 fi
9636
9637 if test -n "$ac_tool_prefix"; then
9638 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9639 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9641 printf %s "checking for $ac_word... " >&6; }
9642 if test ${ac_cv_prog_DLLTOOL+y}
9643 then :
9644 printf %s "(cached) " >&6
9645 else case e in #(
9646 e) if test -n "$DLLTOOL"; then
9647 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9648 else
9649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 for as_dir in $PATH
9651 do
9652 IFS=$as_save_IFS
9653 case $as_dir in #(((
9654 '') as_dir=./ ;;
9655 */) ;;
9656 *) as_dir=$as_dir/ ;;
9657 esac
9658 for ac_exec_ext in '' $ac_executable_extensions; do
9659 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9660 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9662 break 2
9663 fi
9664 done
9665 done
9666 IFS=$as_save_IFS
9667
9668 fi ;;
9669 esac
9670 fi
9671 DLLTOOL=$ac_cv_prog_DLLTOOL
9672 if test -n "$DLLTOOL"; then
9673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9674 printf "%s\n" "$DLLTOOL" >&6; }
9675 else
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9677 printf "%s\n" "no" >&6; }
9678 fi
9679
9680
9681 fi
9682 if test -z "$ac_cv_prog_DLLTOOL"; then
9683 ac_ct_DLLTOOL=$DLLTOOL
9684 # Extract the first word of "dlltool", so it can be a program name with args.
9685 set dummy dlltool; ac_word=$2
9686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9687 printf %s "checking for $ac_word... " >&6; }
9688 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9689 then :
9690 printf %s "(cached) " >&6
9691 else case e in #(
9692 e) if test -n "$ac_ct_DLLTOOL"; then
9693 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9694 else
9695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9696 for as_dir in $PATH
9697 do
9698 IFS=$as_save_IFS
9699 case $as_dir in #(((
9700 '') as_dir=./ ;;
9701 */) ;;
9702 *) as_dir=$as_dir/ ;;
9703 esac
9704 for ac_exec_ext in '' $ac_executable_extensions; do
9705 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9706 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9708 break 2
9709 fi
9710 done
9711 done
9712 IFS=$as_save_IFS
9713
9714 fi ;;
9715 esac
9716 fi
9717 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9718 if test -n "$ac_ct_DLLTOOL"; then
9719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9720 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9721 else
9722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9723 printf "%s\n" "no" >&6; }
9724 fi
9725
9726 if test "x$ac_ct_DLLTOOL" = x; then
9727 DLLTOOL="false"
9728 else
9729 case $cross_compiling:$ac_tool_warned in
9730 yes:)
9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9732 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9733 ac_tool_warned=yes ;;
9734 esac
9735 DLLTOOL=$ac_ct_DLLTOOL
9736 fi
9737 else
9738 DLLTOOL="$ac_cv_prog_DLLTOOL"
9739 fi
9740
9741 if test -n "$ac_tool_prefix"; then
9742 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9743 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9745 printf %s "checking for $ac_word... " >&6; }
9746 if test ${ac_cv_prog_OBJDUMP+y}
9747 then :
9748 printf %s "(cached) " >&6
9749 else case e in #(
9750 e) if test -n "$OBJDUMP"; then
9751 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9752 else
9753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9754 for as_dir in $PATH
9755 do
9756 IFS=$as_save_IFS
9757 case $as_dir in #(((
9758 '') as_dir=./ ;;
9759 */) ;;
9760 *) as_dir=$as_dir/ ;;
9761 esac
9762 for ac_exec_ext in '' $ac_executable_extensions; do
9763 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9764 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9766 break 2
9767 fi
9768 done
9769 done
9770 IFS=$as_save_IFS
9771
9772 fi ;;
9773 esac
9774 fi
9775 OBJDUMP=$ac_cv_prog_OBJDUMP
9776 if test -n "$OBJDUMP"; then
9777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9778 printf "%s\n" "$OBJDUMP" >&6; }
9779 else
9780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9781 printf "%s\n" "no" >&6; }
9782 fi
9783
9784
9785 fi
9786 if test -z "$ac_cv_prog_OBJDUMP"; then
9787 ac_ct_OBJDUMP=$OBJDUMP
9788 # Extract the first word of "objdump", so it can be a program name with args.
9789 set dummy objdump; ac_word=$2
9790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9791 printf %s "checking for $ac_word... " >&6; }
9792 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9793 then :
9794 printf %s "(cached) " >&6
9795 else case e in #(
9796 e) if test -n "$ac_ct_OBJDUMP"; then
9797 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9798 else
9799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9800 for as_dir in $PATH
9801 do
9802 IFS=$as_save_IFS
9803 case $as_dir in #(((
9804 '') as_dir=./ ;;
9805 */) ;;
9806 *) as_dir=$as_dir/ ;;
9807 esac
9808 for ac_exec_ext in '' $ac_executable_extensions; do
9809 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9810 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9812 break 2
9813 fi
9814 done
9815 done
9816 IFS=$as_save_IFS
9817
9818 fi ;;
9819 esac
9820 fi
9821 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9822 if test -n "$ac_ct_OBJDUMP"; then
9823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9824 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
9825 else
9826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9827 printf "%s\n" "no" >&6; }
9828 fi
9829
9830 if test "x$ac_ct_OBJDUMP" = x; then
9831 OBJDUMP="false"
9832 else
9833 case $cross_compiling:$ac_tool_warned in
9834 yes:)
9835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9836 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9837 ac_tool_warned=yes ;;
9838 esac
9839 OBJDUMP=$ac_ct_OBJDUMP
9840 fi
9841 else
9842 OBJDUMP="$ac_cv_prog_OBJDUMP"
9843 fi
9844
9845 ;;
9846 esac
9847
9848 test -z "$AS" && AS=as
9849
9850
9851
9852
9853
9854 test -z "$DLLTOOL" && DLLTOOL=dlltool
9855
9856
9857
9858
9859
9860 test -z "$OBJDUMP" && OBJDUMP=objdump
9861
9862
9863
9864
9865
9866
9867
9868 enable_dlopen=no
9869
9870
9871
9872 # Check whether --enable-shared was given.
9873 if test ${enable_shared+y}
9874 then :
9875 enableval=$enable_shared; p=${PACKAGE-default}
9876 case $enableval in
9877 yes) enable_shared=yes ;;
9878 no) enable_shared=no ;;
9879 *)
9880 enable_shared=no
9881 # Look at the argument we got. We use all the common list separators.
9882 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9883 for pkg in $enableval; do
9884 IFS=$lt_save_ifs
9885 if test "X$pkg" = "X$p"; then
9886 enable_shared=yes
9887 fi
9888 done
9889 IFS=$lt_save_ifs
9890 ;;
9891 esac
9892 else case e in #(
9893 e) enable_shared=yes ;;
9894 esac
9895 fi
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905 # Check whether --enable-static was given.
9906 if test ${enable_static+y}
9907 then :
9908 enableval=$enable_static; p=${PACKAGE-default}
9909 case $enableval in
9910 yes) enable_static=yes ;;
9911 no) enable_static=no ;;
9912 *)
9913 enable_static=no
9914 # Look at the argument we got. We use all the common list separators.
9915 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9916 for pkg in $enableval; do
9917 IFS=$lt_save_ifs
9918 if test "X$pkg" = "X$p"; then
9919 enable_static=yes
9920 fi
9921 done
9922 IFS=$lt_save_ifs
9923 ;;
9924 esac
9925 else case e in #(
9926 e) enable_static=yes ;;
9927 esac
9928 fi
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938 # Check whether --enable-pic was given.
9939 if test ${enable_pic+y}
9940 then :
9941 enableval=$enable_pic; lt_p=${PACKAGE-default}
9942 case $enableval in
9943 yes|no) pic_mode=$enableval ;;
9944 *)
9945 pic_mode=default
9946 # Look at the argument we got. We use all the common list separators.
9947 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9948 for lt_pkg in $enableval; do
9949 IFS=$lt_save_ifs
9950 if test "X$lt_pkg" = "X$lt_p"; then
9951 pic_mode=yes
9952 fi
9953 done
9954 IFS=$lt_save_ifs
9955 ;;
9956 esac
9957 else case e in #(
9958 e) # Check whether --with-pic was given.
9959 if test ${with_pic+y}
9960 then :
9961 withval=$with_pic; lt_p=${PACKAGE-default}
9962 case $withval in
9963 yes|no) pic_mode=$withval ;;
9964 *)
9965 pic_mode=default
9966 # Look at the argument we got. We use all the common list separators.
9967 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9968 for lt_pkg in $withval; do
9969 IFS=$lt_save_ifs
9970 if test "X$lt_pkg" = "X$lt_p"; then
9971 pic_mode=yes
9972 fi
9973 done
9974 IFS=$lt_save_ifs
9975 ;;
9976 esac
9977 else case e in #(
9978 e) pic_mode=default ;;
9979 esac
9980 fi
9981
9982 ;;
9983 esac
9984 fi
9985
9986
9987
9988
9989
9990
9991
9992
9993 # Check whether --enable-fast-install was given.
9994 if test ${enable_fast_install+y}
9995 then :
9996 enableval=$enable_fast_install; p=${PACKAGE-default}
9997 case $enableval in
9998 yes) enable_fast_install=yes ;;
9999 no) enable_fast_install=no ;;
10000 *)
10001 enable_fast_install=no
10002 # Look at the argument we got. We use all the common list separators.
10003 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10004 for pkg in $enableval; do
10005 IFS=$lt_save_ifs
10006 if test "X$pkg" = "X$p"; then
10007 enable_fast_install=yes
10008 fi
10009 done
10010 IFS=$lt_save_ifs
10011 ;;
10012 esac
10013 else case e in #(
10014 e) enable_fast_install=yes ;;
10015 esac
10016 fi
10017
10018
10019
10020
10021
10022
10023
10024
10025 shared_archive_member_spec=
10026 case $host,$enable_shared in
10027 power*-*-aix[5-9]*,yes)
10028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10029 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10030 # Check whether --enable-aix-soname was given.
10031 if test ${enable_aix_soname+y}
10032 then :
10033 enableval=$enable_aix_soname; case $enableval in
10034 aix|svr4|both)
10035 ;;
10036 *)
10037 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10038 ;;
10039 esac
10040 lt_cv_with_aix_soname=$enable_aix_soname
10041 else case e in #(
10042 e) # Check whether --with-aix-soname was given.
10043 if test ${with_aix_soname+y}
10044 then :
10045 withval=$with_aix_soname; case $withval in
10046 aix|svr4|both)
10047 ;;
10048 *)
10049 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10050 ;;
10051 esac
10052 lt_cv_with_aix_soname=$with_aix_soname
10053 else case e in #(
10054 e) if test ${lt_cv_with_aix_soname+y}
10055 then :
10056 printf %s "(cached) " >&6
10057 else case e in #(
10058 e) lt_cv_with_aix_soname=aix ;;
10059 esac
10060 fi
10061 ;;
10062 esac
10063 fi
10064
10065 enable_aix_soname=$lt_cv_with_aix_soname ;;
10066 esac
10067 fi
10068
10069 with_aix_soname=$enable_aix_soname
10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10071 printf "%s\n" "$with_aix_soname" >&6; }
10072 if test aix != "$with_aix_soname"; then
10073 # For the AIX way of multilib, we name the shared archive member
10074 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10075 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10076 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10077 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10078 if test 64 = "${OBJECT_MODE-32}"; then
10079 shared_archive_member_spec=shr_64
10080 else
10081 shared_archive_member_spec=shr
10082 fi
10083 fi
10084 ;;
10085 *)
10086 with_aix_soname=aix
10087 ;;
10088 esac
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099 # This can be used to rebuild libtool when needed
10100 LIBTOOL_DEPS=$ltmain
10101
10102 # Always use our own libtool.
10103 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134 test -z "$LN_S" && LN_S="ln -s"
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149 if test -n "${ZSH_VERSION+set}"; then
10150 setopt NO_GLOB_SUBST
10151 fi
10152
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10154 printf %s "checking for objdir... " >&6; }
10155 if test ${lt_cv_objdir+y}
10156 then :
10157 printf %s "(cached) " >&6
10158 else case e in #(
10159 e) rm -f .libs 2>/dev/null
10160 mkdir .libs 2>/dev/null
10161 if test -d .libs; then
10162 lt_cv_objdir=.libs
10163 else
10164 # MS-DOS does not allow filenames that begin with a dot.
10165 lt_cv_objdir=_libs
10166 fi
10167 rmdir .libs 2>/dev/null ;;
10168 esac
10169 fi
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10171 printf "%s\n" "$lt_cv_objdir" >&6; }
10172 objdir=$lt_cv_objdir
10173
10174
10175
10176
10177
10178 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10179
10180
10181
10182
10183 case $host_os in
10184 aix3*)
10185 # AIX sometimes has problems with the GCC collect2 program. For some
10186 # reason, if we set the COLLECT_NAMES environment variable, the problems
10187 # vanish in a puff of smoke.
10188 if test set != "${COLLECT_NAMES+set}"; then
10189 COLLECT_NAMES=
10190 export COLLECT_NAMES
10191 fi
10192 ;;
10193 esac
10194
10195 # Global variables:
10196 ofile=libtool
10197 can_build_shared=yes
10198
10199 # All known linkers require a '.a' archive for static linking (except MSVC and
10200 # ICC, which need '.lib').
10201 libext=a
10202
10203 with_gnu_ld=$lt_cv_prog_gnu_ld
10204
10205 old_CC=$CC
10206 old_CFLAGS=$CFLAGS
10207
10208 # Set sane defaults for various variables
10209 test -z "$CC" && CC=cc
10210 test -z "$LTCC" && LTCC=$CC
10211 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10212 test -z "$LD" && LD=ld
10213 test -z "$ac_objext" && ac_objext=o
10214
10215 func_cc_basename $compiler
10216 cc_basename=$func_cc_basename_result
10217
10218
10219 # Only perform the check for file, if the check method requires it
10220 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10221 case $deplibs_check_method in
10222 file_magic*)
10223 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10225 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10226 if test ${lt_cv_path_MAGIC_CMD+y}
10227 then :
10228 printf %s "(cached) " >&6
10229 else case e in #(
10230 e) case $MAGIC_CMD in
10231 [\\/*] | ?:[\\/]*)
10232 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10233 ;;
10234 *)
10235 lt_save_MAGIC_CMD=$MAGIC_CMD
10236 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10237 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10238 for ac_dir in $ac_dummy; do
10239 IFS=$lt_save_ifs
10240 test -z "$ac_dir" && ac_dir=.
10241 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10242 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10243 if test -n "$file_magic_test_file"; then
10244 case $deplibs_check_method in
10245 "file_magic "*)
10246 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10247 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10248 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10249 $EGREP "$file_magic_regex" > /dev/null; then
10250 :
10251 else
10252 cat <<_LT_EOF 1>&2
10253
10254 *** Warning: the command libtool uses to detect shared libraries,
10255 *** $file_magic_cmd, produces output that libtool cannot recognize.
10256 *** The result is that libtool may fail to recognize shared libraries
10257 *** as such. This will affect the creation of libtool libraries that
10258 *** depend on shared libraries, but programs linked with such libtool
10259 *** libraries will work regardless of this problem. Nevertheless, you
10260 *** may want to report the problem to your system manager and/or to
10261 *** [email protected]
10262
10263 _LT_EOF
10264 fi ;;
10265 esac
10266 fi
10267 break
10268 fi
10269 done
10270 IFS=$lt_save_ifs
10271 MAGIC_CMD=$lt_save_MAGIC_CMD
10272 ;;
10273 esac ;;
10274 esac
10275 fi
10276
10277 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10278 if test -n "$MAGIC_CMD"; then
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10280 printf "%s\n" "$MAGIC_CMD" >&6; }
10281 else
10282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10283 printf "%s\n" "no" >&6; }
10284 fi
10285
10286
10287
10288
10289
10290 if test -z "$lt_cv_path_MAGIC_CMD"; then
10291 if test -n "$ac_tool_prefix"; then
10292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10293 printf %s "checking for file... " >&6; }
10294 if test ${lt_cv_path_MAGIC_CMD+y}
10295 then :
10296 printf %s "(cached) " >&6
10297 else case e in #(
10298 e) case $MAGIC_CMD in
10299 [\\/*] | ?:[\\/]*)
10300 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10301 ;;
10302 *)
10303 lt_save_MAGIC_CMD=$MAGIC_CMD
10304 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10305 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10306 for ac_dir in $ac_dummy; do
10307 IFS=$lt_save_ifs
10308 test -z "$ac_dir" && ac_dir=.
10309 if test -f "$ac_dir/file"; then
10310 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10311 if test -n "$file_magic_test_file"; then
10312 case $deplibs_check_method in
10313 "file_magic "*)
10314 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10315 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10316 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10317 $EGREP "$file_magic_regex" > /dev/null; then
10318 :
10319 else
10320 cat <<_LT_EOF 1>&2
10321
10322 *** Warning: the command libtool uses to detect shared libraries,
10323 *** $file_magic_cmd, produces output that libtool cannot recognize.
10324 *** The result is that libtool may fail to recognize shared libraries
10325 *** as such. This will affect the creation of libtool libraries that
10326 *** depend on shared libraries, but programs linked with such libtool
10327 *** libraries will work regardless of this problem. Nevertheless, you
10328 *** may want to report the problem to your system manager and/or to
10329 *** [email protected]
10330
10331 _LT_EOF
10332 fi ;;
10333 esac
10334 fi
10335 break
10336 fi
10337 done
10338 IFS=$lt_save_ifs
10339 MAGIC_CMD=$lt_save_MAGIC_CMD
10340 ;;
10341 esac ;;
10342 esac
10343 fi
10344
10345 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10346 if test -n "$MAGIC_CMD"; then
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10348 printf "%s\n" "$MAGIC_CMD" >&6; }
10349 else
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10351 printf "%s\n" "no" >&6; }
10352 fi
10353
10354
10355 else
10356 MAGIC_CMD=:
10357 fi
10358 fi
10359
10360 fi
10361 ;;
10362 esac
10363
10364 # Use C for the default configuration in the libtool script
10365
10366 lt_save_CC=$CC
10367 ac_ext=c
10368 ac_cpp='$CPP $CPPFLAGS'
10369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10372
10373
10374 # Source file extension for C test sources.
10375 ac_ext=c
10376
10377 # Object file extension for compiled C test sources.
10378 objext=o
10379 objext=$objext
10380
10381 # Code to be used in simple compile tests
10382 lt_simple_compile_test_code="int some_variable = 0;"
10383
10384 # Code to be used in simple link tests
10385 lt_simple_link_test_code='int main(void){return(0);}'
10386
10387
10388
10389
10390
10391
10392
10393 # If no C compiler was specified, use CC.
10394 LTCC=${LTCC-"$CC"}
10395
10396 # If no C compiler flags were specified, use CFLAGS.
10397 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10398
10399 # Allow CC to be a program name with arguments.
10400 compiler=$CC
10401
10402 # Save the default compiler, since it gets overwritten when the other
10403 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10404 compiler_DEFAULT=$CC
10405
10406 # save warnings/boilerplate of simple test code
10407 ac_outfile=conftest.$ac_objext
10408 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10409 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10410 _lt_compiler_boilerplate=`cat conftest.err`
10411 $RM conftest*
10412
10413 ac_outfile=conftest.$ac_objext
10414 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10415 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10416 _lt_linker_boilerplate=`cat conftest.err`
10417 $RM -r conftest*
10418
10419
10420 ## CAVEAT EMPTOR:
10421 ## There is no encapsulation within the following macros, do not change
10422 ## the running order or otherwise move them around unless you know exactly
10423 ## what you are doing...
10424 if test -n "$compiler"; then
10425
10426 lt_prog_compiler_no_builtin_flag=
10427
10428 if test yes = "$GCC"; then
10429 case $cc_basename in
10430 nvcc*)
10431 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10432 *)
10433 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10434 esac
10435
10436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10437 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10438 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10439 then :
10440 printf %s "(cached) " >&6
10441 else case e in #(
10442 e) lt_cv_prog_compiler_rtti_exceptions=no
10443 ac_outfile=conftest.$ac_objext
10444 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10445 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10446 # Insert the option either (1) after the last *FLAGS variable, or
10447 # (2) before a word containing "conftest.", or (3) at the end.
10448 # Note that $ac_compile itself does not contain backslashes and begins
10449 # with a dollar sign (not a hyphen), so the echo should work correctly.
10450 # The option is referenced via a variable to avoid confusing sed.
10451 lt_compile=`echo "$ac_compile" | $SED \
10452 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10454 -e 's:$: $lt_compiler_flag:'`
10455 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10456 (eval "$lt_compile" 2>conftest.err)
10457 ac_status=$?
10458 cat conftest.err >&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 if (exit $ac_status) && test -s "$ac_outfile"; then
10461 # The compiler can only warn and ignore the option if not recognized
10462 # So say no if there are warnings other than the usual output.
10463 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10464 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10465 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10466 lt_cv_prog_compiler_rtti_exceptions=yes
10467 fi
10468 fi
10469 $RM conftest*
10470 ;;
10471 esac
10472 fi
10473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10474 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10475
10476 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10477 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10478 else
10479 :
10480 fi
10481
10482 fi
10483
10484
10485
10486
10487
10488
10489 lt_prog_compiler_wl=
10490 lt_prog_compiler_pic=
10491 lt_prog_compiler_static=
10492
10493
10494 if test yes = "$GCC"; then
10495 lt_prog_compiler_wl='-Wl,'
10496 lt_prog_compiler_static='-static'
10497
10498 case $host_os in
10499 aix*)
10500 # All AIX code is PIC.
10501 if test ia64 = "$host_cpu"; then
10502 # AIX 5 now supports IA64 processor
10503 lt_prog_compiler_static='-Bstatic'
10504 fi
10505 lt_prog_compiler_pic='-fPIC'
10506 ;;
10507
10508 amigaos*)
10509 case $host_cpu in
10510 powerpc)
10511 # see comment about AmigaOS4 .so support
10512 lt_prog_compiler_pic='-fPIC'
10513 ;;
10514 m68k)
10515 # FIXME: we need at least 68020 code to build shared libraries, but
10516 # adding the '-m68020' flag to GCC prevents building anything better,
10517 # like '-m68040'.
10518 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10519 ;;
10520 esac
10521 ;;
10522
10523 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10524 # PIC is the default for these OSes.
10525 ;;
10526
10527 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10528 # This hack is so that the source file can tell whether it is being
10529 # built for inclusion in a dll (and should export symbols for example).
10530 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10531 # (--disable-auto-import) libraries
10532 lt_prog_compiler_pic='-DDLL_EXPORT'
10533 case $host_os in
10534 os2*)
10535 lt_prog_compiler_static='$wl-static'
10536 ;;
10537 esac
10538 ;;
10539
10540 darwin* | rhapsody*)
10541 # PIC is the default on this platform
10542 # Common symbols not allowed in MH_DYLIB files
10543 lt_prog_compiler_pic='-fno-common'
10544 ;;
10545
10546 haiku*)
10547 # PIC is the default for Haiku.
10548 # The "-static" flag exists, but is broken.
10549 lt_prog_compiler_static=
10550 ;;
10551
10552 hpux*)
10553 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10554 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10555 # sets the default TLS model and affects inlining.
10556 case $host_cpu in
10557 hppa*64*)
10558 # +Z the default
10559 ;;
10560 *)
10561 lt_prog_compiler_pic='-fPIC'
10562 ;;
10563 esac
10564 ;;
10565
10566 interix[3-9]*)
10567 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10568 # Instead, we relocate shared libraries at runtime.
10569 ;;
10570
10571 msdosdjgpp*)
10572 # Just because we use GCC doesn't mean we suddenly get shared libraries
10573 # on systems that don't support them.
10574 lt_prog_compiler_can_build_shared=no
10575 enable_shared=no
10576 ;;
10577
10578 *nto* | *qnx*)
10579 # QNX uses GNU C++, but need to define -shared option too, otherwise
10580 # it will coredump.
10581 lt_prog_compiler_pic='-fPIC -shared'
10582 ;;
10583
10584 sysv4*MP*)
10585 if test -d /usr/nec; then
10586 lt_prog_compiler_pic=-Kconform_pic
10587 fi
10588 ;;
10589
10590 *)
10591 lt_prog_compiler_pic='-fPIC'
10592 ;;
10593 esac
10594
10595 case $cc_basename in
10596 nvcc*) # Cuda Compiler Driver 2.2
10597 lt_prog_compiler_wl='-Xlinker '
10598 if test -n "$lt_prog_compiler_pic"; then
10599 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10600 fi
10601 ;;
10602 esac
10603 else
10604 # PORTME Check for flag to pass linker flags through the system compiler.
10605 case $host_os in
10606 aix*)
10607 lt_prog_compiler_wl='-Wl,'
10608 if test ia64 = "$host_cpu"; then
10609 # AIX 5 now supports IA64 processor
10610 lt_prog_compiler_static='-Bstatic'
10611 else
10612 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10613 fi
10614 ;;
10615
10616 darwin* | rhapsody*)
10617 # PIC is the default on this platform
10618 # Common symbols not allowed in MH_DYLIB files
10619 lt_prog_compiler_pic='-fno-common'
10620 case $cc_basename in
10621 nagfor*)
10622 # NAG Fortran compiler
10623 lt_prog_compiler_wl='-Wl,-Wl,,'
10624 lt_prog_compiler_pic='-PIC'
10625 lt_prog_compiler_static='-Bstatic'
10626 ;;
10627 esac
10628 ;;
10629
10630 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10631 # This hack is so that the source file can tell whether it is being
10632 # built for inclusion in a dll (and should export symbols for example).
10633 lt_prog_compiler_pic='-DDLL_EXPORT'
10634 case $host_os in
10635 os2*)
10636 lt_prog_compiler_static='$wl-static'
10637 ;;
10638 esac
10639 ;;
10640
10641 hpux9* | hpux10* | hpux11*)
10642 lt_prog_compiler_wl='-Wl,'
10643 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10644 # not for PA HP-UX.
10645 case $host_cpu in
10646 hppa*64*|ia64*)
10647 # +Z the default
10648 ;;
10649 *)
10650 lt_prog_compiler_pic='+Z'
10651 ;;
10652 esac
10653 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10654 lt_prog_compiler_static='$wl-a ${wl}archive'
10655 ;;
10656
10657 irix5* | irix6* | nonstopux*)
10658 lt_prog_compiler_wl='-Wl,'
10659 # PIC (with -KPIC) is the default.
10660 lt_prog_compiler_static='-non_shared'
10661 ;;
10662
10663 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10664 case $cc_basename in
10665 # old Intel for x86_64, which still supported -KPIC.
10666 ecc*)
10667 lt_prog_compiler_wl='-Wl,'
10668 lt_prog_compiler_pic='-KPIC'
10669 lt_prog_compiler_static='-static'
10670 ;;
10671 *flang* | ftn | f18* | f95*)
10672 # Flang compiler.
10673 lt_prog_compiler_wl='-Wl,'
10674 lt_prog_compiler_pic='-fPIC'
10675 lt_prog_compiler_static='-static'
10676 ;;
10677 # icc used to be incompatible with GCC.
10678 # ICC 10 doesn't accept -KPIC any more.
10679 icc* | ifort*)
10680 lt_prog_compiler_wl='-Wl,'
10681 lt_prog_compiler_pic='-fPIC'
10682 lt_prog_compiler_static='-static'
10683 ;;
10684 # Lahey Fortran 8.1.
10685 lf95*)
10686 lt_prog_compiler_wl='-Wl,'
10687 lt_prog_compiler_pic='--shared'
10688 lt_prog_compiler_static='--static'
10689 ;;
10690 nagfor*)
10691 # NAG Fortran compiler
10692 lt_prog_compiler_wl='-Wl,-Wl,,'
10693 lt_prog_compiler_pic='-PIC'
10694 lt_prog_compiler_static='-Bstatic'
10695 ;;
10696 tcc*)
10697 # Fabrice Bellard et al's Tiny C Compiler
10698 lt_prog_compiler_wl='-Wl,'
10699 lt_prog_compiler_pic='-fPIC'
10700 lt_prog_compiler_static='-static'
10701 ;;
10702 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10703 # Portland Group compilers (*not* the Pentium gcc compiler,
10704 # which looks to be a dead project)
10705 lt_prog_compiler_wl='-Wl,'
10706 lt_prog_compiler_pic='-fpic'
10707 lt_prog_compiler_static='-Bstatic'
10708 ;;
10709 ccc*)
10710 lt_prog_compiler_wl='-Wl,'
10711 # All Alpha code is PIC.
10712 lt_prog_compiler_static='-non_shared'
10713 ;;
10714 xl* | bgxl* | bgf* | mpixl*)
10715 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10716 lt_prog_compiler_wl='-Wl,'
10717 lt_prog_compiler_pic='-qpic'
10718 lt_prog_compiler_static='-qstaticlink'
10719 ;;
10720 *)
10721 case `$CC -V 2>&1 | $SED 5q` in
10722 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10723 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10724 lt_prog_compiler_pic='-KPIC'
10725 lt_prog_compiler_static='-Bstatic'
10726 lt_prog_compiler_wl=''
10727 ;;
10728 *Sun\ F* | *Sun*Fortran*)
10729 lt_prog_compiler_pic='-KPIC'
10730 lt_prog_compiler_static='-Bstatic'
10731 lt_prog_compiler_wl='-Qoption ld '
10732 ;;
10733 *Sun\ C*)
10734 # Sun C 5.9
10735 lt_prog_compiler_pic='-KPIC'
10736 lt_prog_compiler_static='-Bstatic'
10737 lt_prog_compiler_wl='-Wl,'
10738 ;;
10739 *Intel*\ [CF]*Compiler*)
10740 lt_prog_compiler_wl='-Wl,'
10741 lt_prog_compiler_pic='-fPIC'
10742 lt_prog_compiler_static='-static'
10743 ;;
10744 *Portland\ Group*)
10745 lt_prog_compiler_wl='-Wl,'
10746 lt_prog_compiler_pic='-fpic'
10747 lt_prog_compiler_static='-Bstatic'
10748 ;;
10749 esac
10750 ;;
10751 esac
10752 ;;
10753
10754 newsos6)
10755 lt_prog_compiler_pic='-KPIC'
10756 lt_prog_compiler_static='-Bstatic'
10757 ;;
10758
10759 *-mlibc)
10760 lt_prog_compiler_wl='-Wl,'
10761 lt_prog_compiler_pic='-fPIC'
10762 lt_prog_compiler_static='-static'
10763 ;;
10764
10765 *nto* | *qnx*)
10766 # QNX uses GNU C++, but need to define -shared option too, otherwise
10767 # it will coredump.
10768 lt_prog_compiler_pic='-fPIC -shared'
10769 ;;
10770
10771 osf3* | osf4* | osf5*)
10772 lt_prog_compiler_wl='-Wl,'
10773 # All OSF/1 code is PIC.
10774 lt_prog_compiler_static='-non_shared'
10775 ;;
10776
10777 rdos*)
10778 lt_prog_compiler_static='-non_shared'
10779 ;;
10780
10781 serenity*)
10782 ;;
10783
10784 solaris*)
10785 lt_prog_compiler_pic='-KPIC'
10786 lt_prog_compiler_static='-Bstatic'
10787 case $cc_basename in
10788 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10789 lt_prog_compiler_wl='-Qoption ld ';;
10790 *)
10791 lt_prog_compiler_wl='-Wl,';;
10792 esac
10793 ;;
10794
10795 sunos4*)
10796 lt_prog_compiler_wl='-Qoption ld '
10797 lt_prog_compiler_pic='-PIC'
10798 lt_prog_compiler_static='-Bstatic'
10799 ;;
10800
10801 sysv4 | sysv4.2uw2* | sysv4.3*)
10802 lt_prog_compiler_wl='-Wl,'
10803 lt_prog_compiler_pic='-KPIC'
10804 lt_prog_compiler_static='-Bstatic'
10805 ;;
10806
10807 sysv4*MP*)
10808 if test -d /usr/nec; then
10809 lt_prog_compiler_pic='-Kconform_pic'
10810 lt_prog_compiler_static='-Bstatic'
10811 fi
10812 ;;
10813
10814 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10815 lt_prog_compiler_wl='-Wl,'
10816 lt_prog_compiler_pic='-KPIC'
10817 lt_prog_compiler_static='-Bstatic'
10818 ;;
10819
10820 unicos*)
10821 lt_prog_compiler_wl='-Wl,'
10822 lt_prog_compiler_can_build_shared=no
10823 ;;
10824
10825 uts4*)
10826 lt_prog_compiler_pic='-pic'
10827 lt_prog_compiler_static='-Bstatic'
10828 ;;
10829
10830 *)
10831 lt_prog_compiler_can_build_shared=no
10832 ;;
10833 esac
10834 fi
10835
10836 case $host_os in
10837 # For platforms that do not support PIC, -DPIC is meaningless:
10838 *djgpp*)
10839 lt_prog_compiler_pic=
10840 ;;
10841 *)
10842 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10843 ;;
10844 esac
10845
10846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10847 printf %s "checking for $compiler option to produce PIC... " >&6; }
10848 if test ${lt_cv_prog_compiler_pic+y}
10849 then :
10850 printf %s "(cached) " >&6
10851 else case e in #(
10852 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
10853 esac
10854 fi
10855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10856 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
10857 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10858
10859 #
10860 # Check to make sure the PIC flag actually works.
10861 #
10862 if test -n "$lt_prog_compiler_pic"; then
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10864 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10865 if test ${lt_cv_prog_compiler_pic_works+y}
10866 then :
10867 printf %s "(cached) " >&6
10868 else case e in #(
10869 e) lt_cv_prog_compiler_pic_works=no
10870 ac_outfile=conftest.$ac_objext
10871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10872 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10873 # Insert the option either (1) after the last *FLAGS variable, or
10874 # (2) before a word containing "conftest.", or (3) at the end.
10875 # Note that $ac_compile itself does not contain backslashes and begins
10876 # with a dollar sign (not a hyphen), so the echo should work correctly.
10877 # The option is referenced via a variable to avoid confusing sed.
10878 lt_compile=`echo "$ac_compile" | $SED \
10879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10881 -e 's:$: $lt_compiler_flag:'`
10882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10883 (eval "$lt_compile" 2>conftest.err)
10884 ac_status=$?
10885 cat conftest.err >&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 if (exit $ac_status) && test -s "$ac_outfile"; then
10888 # The compiler can only warn and ignore the option if not recognized
10889 # So say no if there are warnings other than the usual output.
10890 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10891 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10892 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10893 lt_cv_prog_compiler_pic_works=yes
10894 fi
10895 fi
10896 $RM conftest*
10897 ;;
10898 esac
10899 fi
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10901 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
10902
10903 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10904 case $lt_prog_compiler_pic in
10905 "" | " "*) ;;
10906 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10907 esac
10908 else
10909 lt_prog_compiler_pic=
10910 lt_prog_compiler_can_build_shared=no
10911 fi
10912
10913 fi
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925 #
10926 # Check to make sure the static flag actually works.
10927 #
10928 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10930 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10931 if test ${lt_cv_prog_compiler_static_works+y}
10932 then :
10933 printf %s "(cached) " >&6
10934 else case e in #(
10935 e) lt_cv_prog_compiler_static_works=no
10936 save_LDFLAGS=$LDFLAGS
10937 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10938 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10939 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10940 # The linker can only warn and ignore the option if not recognized
10941 # So say no if there are warnings
10942 if test -s conftest.err; then
10943 # Append any errors to the config.log.
10944 cat conftest.err 1>&5
10945 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10946 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10947 if diff conftest.exp conftest.er2 >/dev/null; then
10948 lt_cv_prog_compiler_static_works=yes
10949 fi
10950 else
10951 lt_cv_prog_compiler_static_works=yes
10952 fi
10953 fi
10954 $RM -r conftest*
10955 LDFLAGS=$save_LDFLAGS
10956 ;;
10957 esac
10958 fi
10959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10960 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
10961
10962 if test yes = "$lt_cv_prog_compiler_static_works"; then
10963 :
10964 else
10965 lt_prog_compiler_static=
10966 fi
10967
10968
10969
10970
10971
10972
10973
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10975 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10976 if test ${lt_cv_prog_compiler_c_o+y}
10977 then :
10978 printf %s "(cached) " >&6
10979 else case e in #(
10980 e) lt_cv_prog_compiler_c_o=no
10981 $RM -r conftest 2>/dev/null
10982 mkdir conftest
10983 cd conftest
10984 mkdir out
10985 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10986
10987 lt_compiler_flag="-o out/conftest2.$ac_objext"
10988 # Insert the option either (1) after the last *FLAGS variable, or
10989 # (2) before a word containing "conftest.", or (3) at the end.
10990 # Note that $ac_compile itself does not contain backslashes and begins
10991 # with a dollar sign (not a hyphen), so the echo should work correctly.
10992 lt_compile=`echo "$ac_compile" | $SED \
10993 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10994 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10995 -e 's:$: $lt_compiler_flag:'`
10996 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10997 (eval "$lt_compile" 2>out/conftest.err)
10998 ac_status=$?
10999 cat out/conftest.err >&5
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11002 then
11003 # The compiler can only warn and ignore the option if not recognized
11004 # So say no if there are warnings
11005 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11006 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11007 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11008 lt_cv_prog_compiler_c_o=yes
11009 fi
11010 fi
11011 chmod u+w . 2>&5
11012 $RM conftest*
11013 # SGI C++ compiler will create directory out/ii_files/ for
11014 # template instantiation
11015 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11016 $RM out/* && rmdir out
11017 cd ..
11018 $RM -r conftest
11019 $RM conftest*
11020 ;;
11021 esac
11022 fi
11023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11024 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11025
11026
11027
11028
11029
11030
11031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11032 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11033 if test ${lt_cv_prog_compiler_c_o+y}
11034 then :
11035 printf %s "(cached) " >&6
11036 else case e in #(
11037 e) lt_cv_prog_compiler_c_o=no
11038 $RM -r conftest 2>/dev/null
11039 mkdir conftest
11040 cd conftest
11041 mkdir out
11042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11043
11044 lt_compiler_flag="-o out/conftest2.$ac_objext"
11045 # Insert the option either (1) after the last *FLAGS variable, or
11046 # (2) before a word containing "conftest.", or (3) at the end.
11047 # Note that $ac_compile itself does not contain backslashes and begins
11048 # with a dollar sign (not a hyphen), so the echo should work correctly.
11049 lt_compile=`echo "$ac_compile" | $SED \
11050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11052 -e 's:$: $lt_compiler_flag:'`
11053 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11054 (eval "$lt_compile" 2>out/conftest.err)
11055 ac_status=$?
11056 cat out/conftest.err >&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11059 then
11060 # The compiler can only warn and ignore the option if not recognized
11061 # So say no if there are warnings
11062 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11063 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11064 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11065 lt_cv_prog_compiler_c_o=yes
11066 fi
11067 fi
11068 chmod u+w . 2>&5
11069 $RM conftest*
11070 # SGI C++ compiler will create directory out/ii_files/ for
11071 # template instantiation
11072 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11073 $RM out/* && rmdir out
11074 cd ..
11075 $RM -r conftest
11076 $RM conftest*
11077 ;;
11078 esac
11079 fi
11080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11081 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11082
11083
11084
11085
11086 hard_links=nottested
11087 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11088 # do not overwrite the value of need_locks provided by the user
11089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11090 printf %s "checking if we can lock with hard links... " >&6; }
11091 hard_links=yes
11092 $RM conftest*
11093 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11094 touch conftest.a
11095 ln conftest.a conftest.b 2>&5 || hard_links=no
11096 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11098 printf "%s\n" "$hard_links" >&6; }
11099 if test no = "$hard_links"; then
11100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11101 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11102 need_locks=warn
11103 fi
11104 else
11105 need_locks=no
11106 fi
11107
11108
11109
11110
11111
11112
11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11114 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11115
11116 runpath_var=
11117 allow_undefined_flag=
11118 always_export_symbols=no
11119 archive_cmds=
11120 archive_expsym_cmds=
11121 compiler_needs_object=no
11122 enable_shared_with_static_runtimes=no
11123 export_dynamic_flag_spec=
11124 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11125 hardcode_automatic=no
11126 hardcode_direct=no
11127 hardcode_direct_absolute=no
11128 hardcode_libdir_flag_spec=
11129 hardcode_libdir_separator=
11130 hardcode_minus_L=no
11131 hardcode_shlibpath_var=unsupported
11132 inherit_rpath=no
11133 link_all_deplibs=unknown
11134 module_cmds=
11135 module_expsym_cmds=
11136 old_archive_from_new_cmds=
11137 old_archive_from_expsyms_cmds=
11138 thread_safe_flag_spec=
11139 whole_archive_flag_spec=
11140 # include_expsyms should be a list of space-separated symbols to be *always*
11141 # included in the symbol list
11142 include_expsyms=
11143 # exclude_expsyms can be an extended regexp of symbols to exclude
11144 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11145 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11146 # as well as any symbol that contains 'd'.
11147 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11148 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11149 # platforms (ab)use it in PIC code, but their linkers get confused if
11150 # the symbol is explicitly referenced. Since portable code cannot
11151 # rely on this symbol name, it's probably fine to never include it in
11152 # preloaded symbol tables.
11153 # Exclude shared library initialization/finalization symbols.
11154 extract_expsyms_cmds=
11155
11156 case $host_os in
11157 cygwin* | mingw* | windows* | pw32* | cegcc*)
11158 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11159 # When not using gcc, we currently assume that we are using
11160 # Microsoft Visual C++ or Intel C++ Compiler.
11161 if test yes != "$GCC"; then
11162 with_gnu_ld=no
11163 fi
11164 ;;
11165 interix*)
11166 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11167 with_gnu_ld=yes
11168 ;;
11169 esac
11170
11171 ld_shlibs=yes
11172
11173 # On some targets, GNU ld is compatible enough with the native linker
11174 # that we're better off using the native interface for both.
11175 lt_use_gnu_ld_interface=no
11176 if test yes = "$with_gnu_ld"; then
11177 case $host_os in
11178 aix*)
11179 # The AIX port of GNU ld has always aspired to compatibility
11180 # with the native linker. However, as the warning in the GNU ld
11181 # block says, versions before 2.19.5* couldn't really create working
11182 # shared libraries, regardless of the interface used.
11183 case `$LD -v 2>&1` in
11184 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11185 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11186 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11187 *)
11188 lt_use_gnu_ld_interface=yes
11189 ;;
11190 esac
11191 ;;
11192 *)
11193 lt_use_gnu_ld_interface=yes
11194 ;;
11195 esac
11196 fi
11197
11198 if test yes = "$lt_use_gnu_ld_interface"; then
11199 # If archive_cmds runs LD, not CC, wlarc should be empty
11200 wlarc='$wl'
11201
11202 # Set some defaults for GNU ld with shared library support. These
11203 # are reset later if shared libraries are not supported. Putting them
11204 # here allows them to be overridden if necessary.
11205 runpath_var=LD_RUN_PATH
11206 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11207 export_dynamic_flag_spec='$wl--export-dynamic'
11208 # ancient GNU ld didn't support --whole-archive et. al.
11209 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11210 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11211 else
11212 whole_archive_flag_spec=
11213 fi
11214 supports_anon_versioning=no
11215 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11216 *GNU\ gold*) supports_anon_versioning=yes ;;
11217 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11218 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11219 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11220 *\ 2.11.*) ;; # other 2.11 versions
11221 *) supports_anon_versioning=yes ;;
11222 esac
11223
11224 # See if GNU ld supports shared libraries.
11225 case $host_os in
11226 aix[3-9]*)
11227 # On AIX/PPC, the GNU linker is very broken
11228 if test ia64 != "$host_cpu"; then
11229 ld_shlibs=no
11230 cat <<_LT_EOF 1>&2
11231
11232 *** Warning: the GNU linker, at least up to release 2.19, is reported
11233 *** to be unable to reliably create shared libraries on AIX.
11234 *** Therefore, libtool is disabling shared libraries support. If you
11235 *** really care for shared libraries, you may want to install binutils
11236 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11237 *** You will then need to restart the configuration process.
11238
11239 _LT_EOF
11240 fi
11241 ;;
11242
11243 amigaos*)
11244 case $host_cpu in
11245 powerpc)
11246 # see comment about AmigaOS4 .so support
11247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11248 archive_expsym_cmds=''
11249 ;;
11250 m68k)
11251 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)'
11252 hardcode_libdir_flag_spec='-L$libdir'
11253 hardcode_minus_L=yes
11254 ;;
11255 esac
11256 ;;
11257
11258 beos*)
11259 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11260 allow_undefined_flag=unsupported
11261 # Joseph Beckenbach <[email protected]> says some releases of gcc
11262 # support --undefined. This deserves some investigation. FIXME
11263 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11264 else
11265 ld_shlibs=no
11266 fi
11267 ;;
11268
11269 cygwin* | mingw* | windows* | pw32* | cegcc*)
11270 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11271 # as there is no search path for DLLs.
11272 hardcode_libdir_flag_spec='-L$libdir'
11273 export_dynamic_flag_spec='$wl--export-all-symbols'
11274 allow_undefined_flag=unsupported
11275 always_export_symbols=no
11276 enable_shared_with_static_runtimes=yes
11277 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'
11278 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11279 file_list_spec='@'
11280
11281 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11283 # If the export-symbols file already is a .def file, use it as
11284 # is; otherwise, prepend EXPORTS...
11285 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11286 cp $export_symbols $output_objdir/$soname.def;
11287 else
11288 echo EXPORTS > $output_objdir/$soname.def;
11289 cat $export_symbols >> $output_objdir/$soname.def;
11290 fi~
11291 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11292 else
11293 ld_shlibs=no
11294 fi
11295 ;;
11296
11297 haiku*)
11298 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11299 link_all_deplibs=no
11300 ;;
11301
11302 os2*)
11303 hardcode_libdir_flag_spec='-L$libdir'
11304 hardcode_minus_L=yes
11305 allow_undefined_flag=unsupported
11306 shrext_cmds=.dll
11307 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11308 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11309 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11310 $ECHO EXPORTS >> $output_objdir/$libname.def~
11311 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11312 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11313 emximp -o $lib $output_objdir/$libname.def'
11314 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11315 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11316 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11317 $ECHO EXPORTS >> $output_objdir/$libname.def~
11318 prefix_cmds="$SED"~
11319 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11320 prefix_cmds="$prefix_cmds -e 1d";
11321 fi~
11322 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11323 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11324 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11325 emximp -o $lib $output_objdir/$libname.def'
11326 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11327 enable_shared_with_static_runtimes=yes
11328 file_list_spec='@'
11329 ;;
11330
11331 interix[3-9]*)
11332 hardcode_direct=no
11333 hardcode_shlibpath_var=no
11334 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11335 export_dynamic_flag_spec='$wl-E'
11336 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11337 # Instead, shared libraries are loaded at an image base (0x10000000 by
11338 # default) and relocated if they conflict, which is a slow very memory
11339 # consuming and fragmenting process. To avoid this, we pick a random,
11340 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11341 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11342 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11343 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'
11344 ;;
11345
11346 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11347 tmp_diet=no
11348 if test linux-dietlibc = "$host_os"; then
11349 case $cc_basename in
11350 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11351 esac
11352 fi
11353 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11354 && test no = "$tmp_diet"
11355 then
11356 tmp_addflag=' $pic_flag'
11357 tmp_sharedflag='-shared'
11358 case $cc_basename,$host_cpu in
11359 pgcc*) # Portland Group C compiler
11360 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'
11361 tmp_addflag=' $pic_flag'
11362 ;;
11363 pgf77* | pgf90* | pgf95* | pgfortran*)
11364 # Portland Group f77 and f90 compilers
11365 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
11366 tmp_addflag=' $pic_flag -Mnomain' ;;
11367 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11368 tmp_addflag=' -i_dynamic' ;;
11369 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11370 tmp_addflag=' -i_dynamic -nofor_main' ;;
11371 ifc* | ifort*) # Intel Fortran compiler
11372 tmp_addflag=' -nofor_main' ;;
11373 lf95*) # Lahey Fortran 8.1
11374 whole_archive_flag_spec=
11375 tmp_sharedflag='--shared' ;;
11376 nagfor*) # NAGFOR 5.3
11377 tmp_sharedflag='-Wl,-shared' ;;
11378 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11379 tmp_sharedflag='-qmkshrobj'
11380 tmp_addflag= ;;
11381 nvcc*) # Cuda Compiler Driver 2.2
11382 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'
11383 compiler_needs_object=yes
11384 ;;
11385 esac
11386 case `$CC -V 2>&1 | $SED 5q` in
11387 *Sun\ C*) # Sun C 5.9
11388 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'
11389 compiler_needs_object=yes
11390 tmp_sharedflag='-G' ;;
11391 *Sun\ F*) # Sun Fortran 8.3
11392 tmp_sharedflag='-G' ;;
11393 esac
11394 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11395
11396 if test yes = "$supports_anon_versioning"; then
11397 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11398 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11399 echo "local: *; };" >> $output_objdir/$libname.ver~
11400 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11401 fi
11402
11403 case $cc_basename in
11404 tcc*)
11405 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11406 export_dynamic_flag_spec='-rdynamic'
11407 ;;
11408 xlf* | bgf* | bgxlf* | mpixlf*)
11409 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11410 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11411 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11412 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11413 if test yes = "$supports_anon_versioning"; then
11414 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11415 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11416 echo "local: *; };" >> $output_objdir/$libname.ver~
11417 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11418 fi
11419 ;;
11420 esac
11421 else
11422 ld_shlibs=no
11423 fi
11424 ;;
11425
11426 *-mlibc)
11427 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11428 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11429 ;;
11430
11431 netbsd* | netbsdelf*-gnu)
11432 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11433 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11434 wlarc=
11435 else
11436 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11437 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11438 fi
11439 ;;
11440
11441 solaris*)
11442 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11443 ld_shlibs=no
11444 cat <<_LT_EOF 1>&2
11445
11446 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11447 *** create shared libraries on Solaris systems. Therefore, libtool
11448 *** is disabling shared libraries support. We urge you to upgrade GNU
11449 *** binutils to release 2.9.1 or newer. Another option is to modify
11450 *** your PATH or compiler configuration so that the native linker is
11451 *** used, and then restart.
11452
11453 _LT_EOF
11454 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11455 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11456 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11457 else
11458 ld_shlibs=no
11459 fi
11460 ;;
11461
11462 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11463 case `$LD -v 2>&1` in
11464 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11465 ld_shlibs=no
11466 cat <<_LT_EOF 1>&2
11467
11468 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11469 *** reliably create shared libraries on SCO systems. Therefore, libtool
11470 *** is disabling shared libraries support. We urge you to upgrade GNU
11471 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11472 *** your PATH or compiler configuration so that the native linker is
11473 *** used, and then restart.
11474
11475 _LT_EOF
11476 ;;
11477 *)
11478 # For security reasons, it is highly recommended that you always
11479 # use absolute paths for naming shared libraries, and exclude the
11480 # DT_RUNPATH tag from executables and libraries. But doing so
11481 # requires that you compile everything twice, which is a pain.
11482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11483 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11484 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11485 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11486 else
11487 ld_shlibs=no
11488 fi
11489 ;;
11490 esac
11491 ;;
11492
11493 sunos4*)
11494 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11495 wlarc=
11496 hardcode_direct=yes
11497 hardcode_shlibpath_var=no
11498 ;;
11499
11500 *)
11501 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11502 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11503 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11504 else
11505 ld_shlibs=no
11506 fi
11507 ;;
11508 esac
11509
11510 if test no = "$ld_shlibs"; then
11511 runpath_var=
11512 hardcode_libdir_flag_spec=
11513 export_dynamic_flag_spec=
11514 whole_archive_flag_spec=
11515 fi
11516 else
11517 # PORTME fill in a description of your system's linker (not GNU ld)
11518 case $host_os in
11519 aix3*)
11520 allow_undefined_flag=unsupported
11521 always_export_symbols=yes
11522 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'
11523 # Note: this linker hardcodes the directories in LIBPATH if there
11524 # are no directories specified by -L.
11525 hardcode_minus_L=yes
11526 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11527 # Neither direct hardcoding nor static linking is supported with a
11528 # broken collect2.
11529 hardcode_direct=unsupported
11530 fi
11531 ;;
11532
11533 aix[4-9]*)
11534 if test ia64 = "$host_cpu"; then
11535 # On IA64, the linker does run time linking by default, so we don't
11536 # have to do anything special.
11537 aix_use_runtimelinking=no
11538 exp_sym_flag='-Bexport'
11539 no_entry_flag=
11540 else
11541 # If we're using GNU nm, then we don't want the "-C" option.
11542 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11543 # Without the "-l" option, or with the "-B" option, AIX nm treats
11544 # weak defined symbols like other global defined symbols, whereas
11545 # GNU nm marks them as "W".
11546 # While the 'weak' keyword is ignored in the Export File, we need
11547 # it in the Import File for the 'aix-soname' feature, so we have
11548 # to replace the "-B" option with "-P" for AIX nm.
11549 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11550 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'
11551 else
11552 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'
11553 fi
11554 aix_use_runtimelinking=no
11555
11556 # Test if we are trying to use run time linking or normal
11557 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11558 # have runtime linking enabled, and use it for executables.
11559 # For shared libraries, we enable/disable runtime linking
11560 # depending on the kind of the shared library created -
11561 # when "with_aix_soname,aix_use_runtimelinking" is:
11562 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11563 # "aix,yes" lib.so shared, rtl:yes, for executables
11564 # lib.a static archive
11565 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11566 # lib.a(lib.so.V) shared, rtl:no, for executables
11567 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11568 # lib.a(lib.so.V) shared, rtl:no
11569 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11570 # lib.a static archive
11571 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11572 for ld_flag in $LDFLAGS; do
11573 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11574 aix_use_runtimelinking=yes
11575 break
11576 fi
11577 done
11578 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11579 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11580 # so we don't have lib.a shared libs to link our executables.
11581 # We have to force runtime linking in this case.
11582 aix_use_runtimelinking=yes
11583 LDFLAGS="$LDFLAGS -Wl,-brtl"
11584 fi
11585 ;;
11586 esac
11587
11588 exp_sym_flag='-bexport'
11589 no_entry_flag='-bnoentry'
11590 fi
11591
11592 # When large executables or shared objects are built, AIX ld can
11593 # have problems creating the table of contents. If linking a library
11594 # or program results in "error TOC overflow" add -mminimal-toc to
11595 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11596 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11597
11598 archive_cmds=''
11599 hardcode_direct=yes
11600 hardcode_direct_absolute=yes
11601 hardcode_libdir_separator=':'
11602 link_all_deplibs=yes
11603 file_list_spec='$wl-f,'
11604 case $with_aix_soname,$aix_use_runtimelinking in
11605 aix,*) ;; # traditional, no import file
11606 svr4,* | *,yes) # use import file
11607 # The Import File defines what to hardcode.
11608 hardcode_direct=no
11609 hardcode_direct_absolute=no
11610 ;;
11611 esac
11612
11613 if test yes = "$GCC"; then
11614 case $host_os in aix4.[012]|aix4.[012].*)
11615 # We only want to do this on AIX 4.2 and lower, the check
11616 # below for broken collect2 doesn't work under 4.3+
11617 collect2name=`$CC -print-prog-name=collect2`
11618 if test -f "$collect2name" &&
11619 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11620 then
11621 # We have reworked collect2
11622 :
11623 else
11624 # We have old collect2
11625 hardcode_direct=unsupported
11626 # It fails to find uninstalled libraries when the uninstalled
11627 # path is not listed in the libpath. Setting hardcode_minus_L
11628 # to unsupported forces relinking
11629 hardcode_minus_L=yes
11630 hardcode_libdir_flag_spec='-L$libdir'
11631 hardcode_libdir_separator=
11632 fi
11633 ;;
11634 esac
11635 shared_flag='-shared'
11636 if test yes = "$aix_use_runtimelinking"; then
11637 shared_flag="$shared_flag "'$wl-G'
11638 fi
11639 # Need to ensure runtime linking is disabled for the traditional
11640 # shared library, or the linker may eventually find shared libraries
11641 # /with/ Import File - we do not want to mix them.
11642 shared_flag_aix='-shared'
11643 shared_flag_svr4='-shared $wl-G'
11644 else
11645 # not using gcc
11646 if test ia64 = "$host_cpu"; then
11647 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11648 # chokes on -Wl,-G. The following line is correct:
11649 shared_flag='-G'
11650 else
11651 if test yes = "$aix_use_runtimelinking"; then
11652 shared_flag='$wl-G'
11653 else
11654 shared_flag='$wl-bM:SRE'
11655 fi
11656 shared_flag_aix='$wl-bM:SRE'
11657 shared_flag_svr4='$wl-G'
11658 fi
11659 fi
11660
11661 export_dynamic_flag_spec='$wl-bexpall'
11662 # It seems that -bexpall does not export symbols beginning with
11663 # underscore (_), so it is better to generate a list of symbols to export.
11664 always_export_symbols=yes
11665 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11666 # Warning - without using the other runtime loading flags (-brtl),
11667 # -berok will link without error, but may produce a broken library.
11668 allow_undefined_flag='-berok'
11669 # Determine the default libpath from the value encoded in an
11670 # empty executable.
11671 if test set = "${lt_cv_aix_libpath+set}"; then
11672 aix_libpath=$lt_cv_aix_libpath
11673 else
11674 if test ${lt_cv_aix_libpath_+y}
11675 then :
11676 printf %s "(cached) " >&6
11677 else case e in #(
11678 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680
11681 int
11682 main (void)
11683 {
11684
11685 ;
11686 return 0;
11687 }
11688 _ACEOF
11689 if ac_fn_c_try_link "$LINENO"
11690 then :
11691
11692 lt_aix_libpath_sed='
11693 /Import File Strings/,/^$/ {
11694 /^0/ {
11695 s/^0 *\([^ ]*\) *$/\1/
11696 p
11697 }
11698 }'
11699 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11700 # Check for a 64-bit object if we didn't find anything.
11701 if test -z "$lt_cv_aix_libpath_"; then
11702 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11703 fi
11704 fi
11705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11706 conftest$ac_exeext conftest.$ac_ext
11707 if test -z "$lt_cv_aix_libpath_"; then
11708 lt_cv_aix_libpath_=/usr/lib:/lib
11709 fi
11710 ;;
11711 esac
11712 fi
11713
11714 aix_libpath=$lt_cv_aix_libpath_
11715 fi
11716
11717 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11718 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
11719 else
11720 if test ia64 = "$host_cpu"; then
11721 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11722 allow_undefined_flag="-z nodefs"
11723 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"
11724 else
11725 # Determine the default libpath from the value encoded in an
11726 # empty executable.
11727 if test set = "${lt_cv_aix_libpath+set}"; then
11728 aix_libpath=$lt_cv_aix_libpath
11729 else
11730 if test ${lt_cv_aix_libpath_+y}
11731 then :
11732 printf %s "(cached) " >&6
11733 else case e in #(
11734 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11736
11737 int
11738 main (void)
11739 {
11740
11741 ;
11742 return 0;
11743 }
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"
11746 then :
11747
11748 lt_aix_libpath_sed='
11749 /Import File Strings/,/^$/ {
11750 /^0/ {
11751 s/^0 *\([^ ]*\) *$/\1/
11752 p
11753 }
11754 }'
11755 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11756 # Check for a 64-bit object if we didn't find anything.
11757 if test -z "$lt_cv_aix_libpath_"; then
11758 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11759 fi
11760 fi
11761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11762 conftest$ac_exeext conftest.$ac_ext
11763 if test -z "$lt_cv_aix_libpath_"; then
11764 lt_cv_aix_libpath_=/usr/lib:/lib
11765 fi
11766 ;;
11767 esac
11768 fi
11769
11770 aix_libpath=$lt_cv_aix_libpath_
11771 fi
11772
11773 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11774 # Warning - without using the other run time loading flags,
11775 # -berok will link without error, but may produce a broken library.
11776 no_undefined_flag=' $wl-bernotok'
11777 allow_undefined_flag=' $wl-berok'
11778 if test yes = "$with_gnu_ld"; then
11779 # We only use this code for GNU lds that support --whole-archive.
11780 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11781 else
11782 # Exported symbols can be pulled into shared objects from archives
11783 whole_archive_flag_spec='$convenience'
11784 fi
11785 archive_cmds_need_lc=yes
11786 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11787 # -brtl affects multiple linker settings, -berok does not and is overridden later
11788 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11789 if test svr4 != "$with_aix_soname"; then
11790 # This is similar to how AIX traditionally builds its shared libraries.
11791 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'
11792 fi
11793 if test aix != "$with_aix_soname"; then
11794 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'
11795 else
11796 # used by -dlpreopen to get the symbols
11797 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11798 fi
11799 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11800 fi
11801 fi
11802 ;;
11803
11804 amigaos*)
11805 case $host_cpu in
11806 powerpc)
11807 # see comment about AmigaOS4 .so support
11808 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11809 archive_expsym_cmds=''
11810 ;;
11811 m68k)
11812 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)'
11813 hardcode_libdir_flag_spec='-L$libdir'
11814 hardcode_minus_L=yes
11815 ;;
11816 esac
11817 ;;
11818
11819 bsdi[45]*)
11820 export_dynamic_flag_spec=-rdynamic
11821 ;;
11822
11823 cygwin* | mingw* | windows* | pw32* | cegcc*)
11824 # When not using gcc, we currently assume that we are using
11825 # Microsoft Visual C++ or Intel C++ Compiler.
11826 # hardcode_libdir_flag_spec is actually meaningless, as there is
11827 # no search path for DLLs.
11828 case $cc_basename in
11829 cl* | icl*)
11830 # Native MSVC or ICC
11831 hardcode_libdir_flag_spec=' '
11832 allow_undefined_flag=unsupported
11833 always_export_symbols=yes
11834 file_list_spec='@'
11835 # Tell ltmain to make .lib files, not .a files.
11836 libext=lib
11837 # Tell ltmain to make .dll files, not .so files.
11838 shrext_cmds=.dll
11839 # FIXME: Setting linknames here is a bad hack.
11840 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11841 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11842 cp "$export_symbols" "$output_objdir/$soname.def";
11843 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11844 else
11845 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11846 fi~
11847 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11848 linknames='
11849 # The linker will not automatically build a static lib if we build a DLL.
11850 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11851 enable_shared_with_static_runtimes=yes
11852 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11853 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11854 # Don't use ranlib
11855 old_postinstall_cmds='chmod 644 $oldlib'
11856 postlink_cmds='lt_outputfile="@OUTPUT@"~
11857 lt_tool_outputfile="@TOOL_OUTPUT@"~
11858 case $lt_outputfile in
11859 *.exe|*.EXE) ;;
11860 *)
11861 lt_outputfile=$lt_outputfile.exe
11862 lt_tool_outputfile=$lt_tool_outputfile.exe
11863 ;;
11864 esac~
11865 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11866 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11867 $RM "$lt_outputfile.manifest";
11868 fi'
11869 ;;
11870 *)
11871 # Assume MSVC and ICC wrapper
11872 hardcode_libdir_flag_spec=' '
11873 allow_undefined_flag=unsupported
11874 # Tell ltmain to make .lib files, not .a files.
11875 libext=lib
11876 # Tell ltmain to make .dll files, not .so files.
11877 shrext_cmds=.dll
11878 # FIXME: Setting linknames here is a bad hack.
11879 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11880 # The linker will automatically build a .lib file if we build a DLL.
11881 old_archive_from_new_cmds='true'
11882 # FIXME: Should let the user specify the lib program.
11883 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11884 enable_shared_with_static_runtimes=yes
11885 ;;
11886 esac
11887 ;;
11888
11889 darwin* | rhapsody*)
11890
11891
11892 archive_cmds_need_lc=no
11893 hardcode_direct=no
11894 hardcode_automatic=yes
11895 hardcode_shlibpath_var=unsupported
11896 if test yes = "$lt_cv_ld_force_load"; then
11897 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\"`'
11898
11899 else
11900 whole_archive_flag_spec=''
11901 fi
11902 link_all_deplibs=yes
11903 allow_undefined_flag=$_lt_dar_allow_undefined
11904 case $cc_basename in
11905 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11906 *) _lt_dar_can_shared=$GCC ;;
11907 esac
11908 if test yes = "$_lt_dar_can_shared"; then
11909 output_verbose_link_cmd=func_echo_all
11910 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11911 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11912 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"
11913 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"
11914
11915 else
11916 ld_shlibs=no
11917 fi
11918
11919 ;;
11920
11921 dgux*)
11922 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11923 hardcode_libdir_flag_spec='-L$libdir'
11924 hardcode_shlibpath_var=no
11925 ;;
11926
11927 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11928 # support. Future versions do this automatically, but an explicit c++rt0.o
11929 # does not break anything, and helps significantly (at the cost of a little
11930 # extra space).
11931 freebsd2.2*)
11932 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11933 hardcode_libdir_flag_spec='-R$libdir'
11934 hardcode_direct=yes
11935 hardcode_shlibpath_var=no
11936 ;;
11937
11938 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11939 freebsd2.*)
11940 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11941 hardcode_direct=yes
11942 hardcode_minus_L=yes
11943 hardcode_shlibpath_var=no
11944 ;;
11945
11946 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11947 freebsd* | dragonfly* | midnightbsd*)
11948 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11949 hardcode_libdir_flag_spec='-R$libdir'
11950 hardcode_direct=yes
11951 hardcode_shlibpath_var=no
11952 ;;
11953
11954 hpux9*)
11955 if test yes = "$GCC"; then
11956 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'
11957 else
11958 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'
11959 fi
11960 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11961 hardcode_libdir_separator=:
11962 hardcode_direct=yes
11963
11964 # hardcode_minus_L: Not really in the search PATH,
11965 # but as the default location of the library.
11966 hardcode_minus_L=yes
11967 export_dynamic_flag_spec='$wl-E'
11968 ;;
11969
11970 hpux10*)
11971 if test yes,no = "$GCC,$with_gnu_ld"; then
11972 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11973 else
11974 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11975 fi
11976 if test no = "$with_gnu_ld"; then
11977 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11978 hardcode_libdir_separator=:
11979 hardcode_direct=yes
11980 hardcode_direct_absolute=yes
11981 export_dynamic_flag_spec='$wl-E'
11982 # hardcode_minus_L: Not really in the search PATH,
11983 # but as the default location of the library.
11984 hardcode_minus_L=yes
11985 fi
11986 ;;
11987
11988 hpux11*)
11989 if test yes,no = "$GCC,$with_gnu_ld"; then
11990 case $host_cpu in
11991 hppa*64*)
11992 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11993 ;;
11994 ia64*)
11995 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11996 ;;
11997 *)
11998 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11999 ;;
12000 esac
12001 else
12002 case $host_cpu in
12003 hppa*64*)
12004 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12005 ;;
12006 ia64*)
12007 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12008 ;;
12009 *)
12010
12011 # Older versions of the 11.00 compiler do not understand -b yet
12012 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12014 printf %s "checking if $CC understands -b... " >&6; }
12015 if test ${lt_cv_prog_compiler__b+y}
12016 then :
12017 printf %s "(cached) " >&6
12018 else case e in #(
12019 e) lt_cv_prog_compiler__b=no
12020 save_LDFLAGS=$LDFLAGS
12021 LDFLAGS="$LDFLAGS -b"
12022 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12023 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12024 # The linker can only warn and ignore the option if not recognized
12025 # So say no if there are warnings
12026 if test -s conftest.err; then
12027 # Append any errors to the config.log.
12028 cat conftest.err 1>&5
12029 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12030 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12031 if diff conftest.exp conftest.er2 >/dev/null; then
12032 lt_cv_prog_compiler__b=yes
12033 fi
12034 else
12035 lt_cv_prog_compiler__b=yes
12036 fi
12037 fi
12038 $RM -r conftest*
12039 LDFLAGS=$save_LDFLAGS
12040 ;;
12041 esac
12042 fi
12043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12044 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12045
12046 if test yes = "$lt_cv_prog_compiler__b"; then
12047 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12048 else
12049 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12050 fi
12051
12052 ;;
12053 esac
12054 fi
12055 if test no = "$with_gnu_ld"; then
12056 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12057 hardcode_libdir_separator=:
12058
12059 case $host_cpu in
12060 hppa*64*|ia64*)
12061 hardcode_direct=no
12062 hardcode_shlibpath_var=no
12063 ;;
12064 *)
12065 hardcode_direct=yes
12066 hardcode_direct_absolute=yes
12067 export_dynamic_flag_spec='$wl-E'
12068
12069 # hardcode_minus_L: Not really in the search PATH,
12070 # but as the default location of the library.
12071 hardcode_minus_L=yes
12072 ;;
12073 esac
12074 fi
12075 ;;
12076
12077 irix5* | irix6* | nonstopux*)
12078 if test yes = "$GCC"; then
12079 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'
12080 # Try to use the -exported_symbol ld option, if it does not
12081 # work, assume that -exports_file does not work either and
12082 # implicitly export all symbols.
12083 # This should be the same for all languages, so no per-tag cache variable.
12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12085 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12086 if test ${lt_cv_irix_exported_symbol+y}
12087 then :
12088 printf %s "(cached) " >&6
12089 else case e in #(
12090 e) save_LDFLAGS=$LDFLAGS
12091 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12094 int foo (void) { return 0; }
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"
12097 then :
12098 lt_cv_irix_exported_symbol=yes
12099 else case e in #(
12100 e) lt_cv_irix_exported_symbol=no ;;
12101 esac
12102 fi
12103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12104 conftest$ac_exeext conftest.$ac_ext
12105 LDFLAGS=$save_LDFLAGS ;;
12106 esac
12107 fi
12108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12109 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12110 if test yes = "$lt_cv_irix_exported_symbol"; then
12111 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'
12112 fi
12113 else
12114 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'
12115 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'
12116 fi
12117 archive_cmds_need_lc='no'
12118 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12119 hardcode_libdir_separator=:
12120 inherit_rpath=yes
12121 link_all_deplibs=yes
12122 ;;
12123
12124 linux*)
12125 case $cc_basename in
12126 tcc*)
12127 # Fabrice Bellard et al's Tiny C Compiler
12128 ld_shlibs=yes
12129 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12130 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12131 ;;
12132 esac
12133 ;;
12134
12135 *-mlibc)
12136 ;;
12137
12138 netbsd* | netbsdelf*-gnu)
12139 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12140 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12141 else
12142 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12143 fi
12144 hardcode_libdir_flag_spec='-R$libdir'
12145 hardcode_direct=yes
12146 hardcode_shlibpath_var=no
12147 ;;
12148
12149 newsos6)
12150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12151 hardcode_direct=yes
12152 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12153 hardcode_libdir_separator=:
12154 hardcode_shlibpath_var=no
12155 ;;
12156
12157 *nto* | *qnx*)
12158 ;;
12159
12160 openbsd*)
12161 if test -f /usr/libexec/ld.so; then
12162 hardcode_direct=yes
12163 hardcode_shlibpath_var=no
12164 hardcode_direct_absolute=yes
12165 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12166 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12167 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12168 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12169 export_dynamic_flag_spec='$wl-E'
12170 else
12171 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12172 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12173 fi
12174 else
12175 ld_shlibs=no
12176 fi
12177 ;;
12178
12179 os2*)
12180 hardcode_libdir_flag_spec='-L$libdir'
12181 hardcode_minus_L=yes
12182 allow_undefined_flag=unsupported
12183 shrext_cmds=.dll
12184 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12185 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12186 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12187 $ECHO EXPORTS >> $output_objdir/$libname.def~
12188 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12189 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12190 emximp -o $lib $output_objdir/$libname.def'
12191 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12192 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12193 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12194 $ECHO EXPORTS >> $output_objdir/$libname.def~
12195 prefix_cmds="$SED"~
12196 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12197 prefix_cmds="$prefix_cmds -e 1d";
12198 fi~
12199 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12200 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12201 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12202 emximp -o $lib $output_objdir/$libname.def'
12203 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12204 enable_shared_with_static_runtimes=yes
12205 file_list_spec='@'
12206 ;;
12207
12208 osf3*)
12209 if test yes = "$GCC"; then
12210 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12211 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'
12212 else
12213 allow_undefined_flag=' -expect_unresolved \*'
12214 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'
12215 fi
12216 archive_cmds_need_lc='no'
12217 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12218 hardcode_libdir_separator=:
12219 ;;
12220
12221 osf4* | osf5*) # as osf3* with the addition of -msym flag
12222 if test yes = "$GCC"; then
12223 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12224 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'
12225 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12226 else
12227 allow_undefined_flag=' -expect_unresolved \*'
12228 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'
12229 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~
12230 $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'
12231
12232 # Both c and cxx compiler support -rpath directly
12233 hardcode_libdir_flag_spec='-rpath $libdir'
12234 fi
12235 archive_cmds_need_lc='no'
12236 hardcode_libdir_separator=:
12237 ;;
12238
12239 serenity*)
12240 ;;
12241
12242 solaris*)
12243 no_undefined_flag=' -z defs'
12244 if test yes = "$GCC"; then
12245 wlarc='$wl'
12246 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12247 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12248 $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'
12249 else
12250 case `$CC -V 2>&1` in
12251 *"Compilers 5.0"*)
12252 wlarc=''
12253 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12254 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12255 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12256 ;;
12257 *)
12258 wlarc='$wl'
12259 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12260 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12261 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12262 ;;
12263 esac
12264 fi
12265 hardcode_libdir_flag_spec='-R$libdir'
12266 hardcode_shlibpath_var=no
12267 case $host_os in
12268 solaris2.[0-5] | solaris2.[0-5].*) ;;
12269 *)
12270 # The compiler driver will combine and reorder linker options,
12271 # but understands '-z linker_flag'. GCC discards it without '$wl',
12272 # but is careful enough not to reorder.
12273 # Supported since Solaris 2.6 (maybe 2.5.1?)
12274 if test yes = "$GCC"; then
12275 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12276 else
12277 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12278 fi
12279 ;;
12280 esac
12281 link_all_deplibs=yes
12282 ;;
12283
12284 sunos4*)
12285 if test sequent = "$host_vendor"; then
12286 # Use $CC to link under sequent, because it throws in some extra .o
12287 # files that make .init and .fini sections work.
12288 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12289 else
12290 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12291 fi
12292 hardcode_libdir_flag_spec='-L$libdir'
12293 hardcode_direct=yes
12294 hardcode_minus_L=yes
12295 hardcode_shlibpath_var=no
12296 ;;
12297
12298 sysv4)
12299 case $host_vendor in
12300 sni)
12301 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12302 hardcode_direct=yes # is this really true???
12303 ;;
12304 siemens)
12305 ## LD is ld it makes a PLAMLIB
12306 ## CC just makes a GrossModule.
12307 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12308 reload_cmds='$CC -r -o $output$reload_objs'
12309 hardcode_direct=no
12310 ;;
12311 motorola)
12312 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12313 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12314 ;;
12315 esac
12316 runpath_var='LD_RUN_PATH'
12317 hardcode_shlibpath_var=no
12318 ;;
12319
12320 sysv4.3*)
12321 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12322 hardcode_shlibpath_var=no
12323 export_dynamic_flag_spec='-Bexport'
12324 ;;
12325
12326 sysv4*MP*)
12327 if test -d /usr/nec; then
12328 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12329 hardcode_shlibpath_var=no
12330 runpath_var=LD_RUN_PATH
12331 hardcode_runpath_var=yes
12332 ld_shlibs=yes
12333 fi
12334 ;;
12335
12336 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12337 no_undefined_flag='$wl-z,text'
12338 archive_cmds_need_lc=no
12339 hardcode_shlibpath_var=no
12340 runpath_var='LD_RUN_PATH'
12341
12342 if test yes = "$GCC"; then
12343 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12344 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12345 else
12346 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12347 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12348 fi
12349 ;;
12350
12351 sysv5* | sco3.2v5* | sco5v6*)
12352 # Note: We CANNOT use -z defs as we might desire, because we do not
12353 # link with -lc, and that would cause any symbols used from libc to
12354 # always be unresolved, which means just about no library would
12355 # ever link correctly. If we're not using GNU ld we use -z text
12356 # though, which does catch some bad symbols but isn't as heavy-handed
12357 # as -z defs.
12358 no_undefined_flag='$wl-z,text'
12359 allow_undefined_flag='$wl-z,nodefs'
12360 archive_cmds_need_lc=no
12361 hardcode_shlibpath_var=no
12362 hardcode_libdir_flag_spec='$wl-R,$libdir'
12363 hardcode_libdir_separator=':'
12364 link_all_deplibs=yes
12365 export_dynamic_flag_spec='$wl-Bexport'
12366 runpath_var='LD_RUN_PATH'
12367
12368 if test yes = "$GCC"; then
12369 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12370 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12371 else
12372 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12373 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12374 fi
12375 ;;
12376
12377 uts4*)
12378 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12379 hardcode_libdir_flag_spec='-L$libdir'
12380 hardcode_shlibpath_var=no
12381 ;;
12382
12383 *)
12384 ld_shlibs=no
12385 ;;
12386 esac
12387
12388 if test sni = "$host_vendor"; then
12389 case $host in
12390 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12391 export_dynamic_flag_spec='$wl-Blargedynsym'
12392 ;;
12393 esac
12394 fi
12395 fi
12396
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12398 printf "%s\n" "$ld_shlibs" >&6; }
12399 test no = "$ld_shlibs" && can_build_shared=no
12400
12401 with_gnu_ld=$with_gnu_ld
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417 #
12418 # Do we need to explicitly link libc?
12419 #
12420 case "x$archive_cmds_need_lc" in
12421 x|xyes)
12422 # Assume -lc should be added
12423 archive_cmds_need_lc=yes
12424
12425 if test yes,yes = "$GCC,$enable_shared"; then
12426 case $archive_cmds in
12427 *'~'*)
12428 # FIXME: we may have to deal with multi-command sequences.
12429 ;;
12430 '$CC '*)
12431 # Test whether the compiler implicitly links with -lc since on some
12432 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12433 # to ld, don't add -lc before -lgcc.
12434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12435 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12436 if test ${lt_cv_archive_cmds_need_lc+y}
12437 then :
12438 printf %s "(cached) " >&6
12439 else case e in #(
12440 e) $RM conftest*
12441 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12442
12443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12444 (eval $ac_compile) 2>&5
12445 ac_status=$?
12446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12447 test $ac_status = 0; } 2>conftest.err; then
12448 soname=conftest
12449 lib=conftest
12450 libobjs=conftest.$ac_objext
12451 deplibs=
12452 wl=$lt_prog_compiler_wl
12453 pic_flag=$lt_prog_compiler_pic
12454 compiler_flags=-v
12455 linker_flags=-v
12456 verstring=
12457 output_objdir=.
12458 libname=conftest
12459 lt_save_allow_undefined_flag=$allow_undefined_flag
12460 allow_undefined_flag=
12461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12462 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12463 ac_status=$?
12464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12465 test $ac_status = 0; }
12466 then
12467 lt_cv_archive_cmds_need_lc=no
12468 else
12469 lt_cv_archive_cmds_need_lc=yes
12470 fi
12471 allow_undefined_flag=$lt_save_allow_undefined_flag
12472 else
12473 cat conftest.err 1>&5
12474 fi
12475 $RM conftest*
12476 ;;
12477 esac
12478 fi
12479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12480 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12481 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12482 ;;
12483 esac
12484 fi
12485 ;;
12486 esac
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12640 printf %s "checking dynamic linker characteristics... " >&6; }
12641
12642 if test yes = "$GCC"; then
12643 case $host_os in
12644 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12645 *) lt_awk_arg='/^libraries:/' ;;
12646 esac
12647 case $host_os in
12648 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12649 *) lt_sed_strip_eq='s|=/|/|g' ;;
12650 esac
12651 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12652 case $lt_search_path_spec in
12653 *\;*)
12654 # if the path contains ";" then we assume it to be the separator
12655 # otherwise default to the standard path separator (i.e. ":") - it is
12656 # assumed that no part of a normal pathname contains ";" but that should
12657 # okay in the real world where ";" in dirpaths is itself problematic.
12658 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12659 ;;
12660 *)
12661 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12662 ;;
12663 esac
12664 # Ok, now we have the path, separated by spaces, we can step through it
12665 # and add multilib dir if necessary...
12666 lt_tmp_lt_search_path_spec=
12667 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12668 # ...but if some path component already ends with the multilib dir we assume
12669 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12670 case "$lt_multi_os_dir; $lt_search_path_spec " in
12671 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12672 lt_multi_os_dir=
12673 ;;
12674 esac
12675 for lt_sys_path in $lt_search_path_spec; do
12676 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12677 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12678 elif test -n "$lt_multi_os_dir"; then
12679 test -d "$lt_sys_path" && \
12680 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12681 fi
12682 done
12683 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12684 BEGIN {RS = " "; FS = "/|\n";} {
12685 lt_foo = "";
12686 lt_count = 0;
12687 for (lt_i = NF; lt_i > 0; lt_i--) {
12688 if ($lt_i != "" && $lt_i != ".") {
12689 if ($lt_i == "..") {
12690 lt_count++;
12691 } else {
12692 if (lt_count == 0) {
12693 lt_foo = "/" $lt_i lt_foo;
12694 } else {
12695 lt_count--;
12696 }
12697 }
12698 }
12699 }
12700 if (lt_foo != "") { lt_freq[lt_foo]++; }
12701 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12702 }'`
12703 # AWK program above erroneously prepends '/' to C:/dos/paths
12704 # for these hosts.
12705 case $host_os in
12706 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12707 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12708 esac
12709 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12710 else
12711 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12712 fi
12713 library_names_spec=
12714 libname_spec='lib$name'
12715 soname_spec=
12716 shrext_cmds=.so
12717 postinstall_cmds=
12718 postuninstall_cmds=
12719 finish_cmds=
12720 finish_eval=
12721 shlibpath_var=
12722 shlibpath_overrides_runpath=unknown
12723 version_type=none
12724 dynamic_linker="$host_os ld.so"
12725 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12726 need_lib_prefix=unknown
12727 hardcode_into_libs=no
12728
12729 # when you set need_version to no, make sure it does not cause -set_version
12730 # flags to be left without arguments
12731 need_version=unknown
12732
12733
12734
12735 case $host_os in
12736 aix3*)
12737 version_type=linux # correct to gnu/linux during the next big refactor
12738 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12739 shlibpath_var=LIBPATH
12740
12741 # AIX 3 has no versioning support, so we append a major version to the name.
12742 soname_spec='$libname$release$shared_ext$major'
12743 ;;
12744
12745 aix[4-9]*)
12746 version_type=linux # correct to gnu/linux during the next big refactor
12747 need_lib_prefix=no
12748 need_version=no
12749 hardcode_into_libs=yes
12750 if test ia64 = "$host_cpu"; then
12751 # AIX 5 supports IA64
12752 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12753 shlibpath_var=LD_LIBRARY_PATH
12754 else
12755 # With GCC up to 2.95.x, collect2 would create an import file
12756 # for dependence libraries. The import file would start with
12757 # the line '#! .'. This would cause the generated library to
12758 # depend on '.', always an invalid library. This was fixed in
12759 # development snapshots of GCC prior to 3.0.
12760 case $host_os in
12761 aix4 | aix4.[01] | aix4.[01].*)
12762 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12763 echo ' yes '
12764 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12765 :
12766 else
12767 can_build_shared=no
12768 fi
12769 ;;
12770 esac
12771 # Using Import Files as archive members, it is possible to support
12772 # filename-based versioning of shared library archives on AIX. While
12773 # this would work for both with and without runtime linking, it will
12774 # prevent static linking of such archives. So we do filename-based
12775 # shared library versioning with .so extension only, which is used
12776 # when both runtime linking and shared linking is enabled.
12777 # Unfortunately, runtime linking may impact performance, so we do
12778 # not want this to be the default eventually. Also, we use the
12779 # versioned .so libs for executables only if there is the -brtl
12780 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
12781 # To allow for filename-based versioning support, we need to create
12782 # libNAME.so.V as an archive file, containing:
12783 # *) an Import File, referring to the versioned filename of the
12784 # archive as well as the shared archive member, telling the
12785 # bitwidth (32 or 64) of that shared object, and providing the
12786 # list of exported symbols of that shared object, eventually
12787 # decorated with the 'weak' keyword
12788 # *) the shared object with the F_LOADONLY flag set, to really avoid
12789 # it being seen by the linker.
12790 # At run time we better use the real file rather than another symlink,
12791 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12792
12793 case $with_aix_soname,$aix_use_runtimelinking in
12794 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12795 # soname into executable. Probably we can add versioning support to
12796 # collect2, so additional links can be useful in future.
12797 aix,yes) # traditional libtool
12798 dynamic_linker='AIX unversionable lib.so'
12799 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12800 # instead of lib<name>.a to let people know that these are not
12801 # typical AIX shared libraries.
12802 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12803 ;;
12804 aix,no) # traditional AIX only
12805 dynamic_linker='AIX lib.a(lib.so.V)'
12806 # We preserve .a as extension for shared libraries through AIX4.2
12807 # and later when we are not doing run time linking.
12808 library_names_spec='$libname$release.a $libname.a'
12809 soname_spec='$libname$release$shared_ext$major'
12810 ;;
12811 svr4,*) # full svr4 only
12812 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12813 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12814 # We do not specify a path in Import Files, so LIBPATH fires.
12815 shlibpath_overrides_runpath=yes
12816 ;;
12817 *,yes) # both, prefer svr4
12818 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12819 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12820 # unpreferred sharedlib libNAME.a needs extra handling
12821 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"'
12822 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"'
12823 # We do not specify a path in Import Files, so LIBPATH fires.
12824 shlibpath_overrides_runpath=yes
12825 ;;
12826 *,no) # both, prefer aix
12827 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12828 library_names_spec='$libname$release.a $libname.a'
12829 soname_spec='$libname$release$shared_ext$major'
12830 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12831 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)'
12832 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"'
12833 ;;
12834 esac
12835 shlibpath_var=LIBPATH
12836 fi
12837 ;;
12838
12839 amigaos*)
12840 case $host_cpu in
12841 powerpc)
12842 # Since July 2007 AmigaOS4 officially supports .so libraries.
12843 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12844 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12845 ;;
12846 m68k)
12847 library_names_spec='$libname.ixlibrary $libname.a'
12848 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12849 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'
12850 ;;
12851 esac
12852 ;;
12853
12854 beos*)
12855 library_names_spec='$libname$shared_ext'
12856 dynamic_linker="$host_os ld.so"
12857 shlibpath_var=LIBRARY_PATH
12858 ;;
12859
12860 bsdi[45]*)
12861 version_type=linux # correct to gnu/linux during the next big refactor
12862 need_version=no
12863 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12864 soname_spec='$libname$release$shared_ext$major'
12865 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12866 shlibpath_var=LD_LIBRARY_PATH
12867 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12868 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12869 # the default ld.so.conf also contains /usr/contrib/lib and
12870 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12871 # libtool to hard-code these into programs
12872 ;;
12873
12874 cygwin* | mingw* | windows* | pw32* | cegcc*)
12875 version_type=windows
12876 shrext_cmds=.dll
12877 need_version=no
12878 need_lib_prefix=no
12879
12880 case $GCC,$cc_basename in
12881 yes,*)
12882 # gcc
12883 library_names_spec='$libname.dll.a'
12884 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12885 # If user builds GCC with multilib enabled,
12886 # it should just install on $(libdir)
12887 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
12888 if test xyes = x"$multilib"; then
12889 postinstall_cmds='base_file=`basename \$file`~
12890 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12891 dldir=$destdir/`dirname \$dlpath`~
12892 $install_prog $dir/$dlname $destdir/$dlname~
12893 chmod a+x $destdir/$dlname~
12894 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12895 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
12896 fi'
12897 else
12898 postinstall_cmds='base_file=`basename \$file`~
12899 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12900 dldir=$destdir/`dirname \$dlpath`~
12901 test -d \$dldir || mkdir -p \$dldir~
12902 $install_prog $dir/$dlname \$dldir/$dlname~
12903 chmod a+x \$dldir/$dlname~
12904 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12905 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12906 fi'
12907 fi
12908 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12909 dlpath=$dir/\$dldll~
12910 $RM \$dlpath'
12911 shlibpath_overrides_runpath=yes
12912
12913 case $host_os in
12914 cygwin*)
12915 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12916 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12917
12918 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12919 ;;
12920 mingw* | windows* | cegcc*)
12921 # MinGW DLLs use traditional 'lib' prefix
12922 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12923 ;;
12924 pw32*)
12925 # pw32 DLLs use 'pw' prefix rather than 'lib'
12926 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12927 ;;
12928 esac
12929 dynamic_linker='Win32 ld.exe'
12930 ;;
12931
12932 *,cl* | *,icl*)
12933 # Native MSVC or ICC
12934 libname_spec='$name'
12935 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12936 library_names_spec='$libname.dll.lib'
12937
12938 case $build_os in
12939 mingw* | windows*)
12940 sys_lib_search_path_spec=
12941 lt_save_ifs=$IFS
12942 IFS=';'
12943 for lt_path in $LIB
12944 do
12945 IFS=$lt_save_ifs
12946 # Let DOS variable expansion print the short 8.3 style file name.
12947 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12948 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12949 done
12950 IFS=$lt_save_ifs
12951 # Convert to MSYS style.
12952 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12953 ;;
12954 cygwin*)
12955 # Convert to unix form, then to dos form, then back to unix form
12956 # but this time dos style (no spaces!) so that the unix form looks
12957 # like /cygdrive/c/PROGRA~1:/cygdr...
12958 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12959 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12960 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12961 ;;
12962 *)
12963 sys_lib_search_path_spec=$LIB
12964 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12965 # It is most probably a Windows format PATH.
12966 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12967 else
12968 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12969 fi
12970 # FIXME: find the short name or the path components, as spaces are
12971 # common. (e.g. "Program Files" -> "PROGRA~1")
12972 ;;
12973 esac
12974
12975 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12976 postinstall_cmds='base_file=`basename \$file`~
12977 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12978 dldir=$destdir/`dirname \$dlpath`~
12979 test -d \$dldir || mkdir -p \$dldir~
12980 $install_prog $dir/$dlname \$dldir/$dlname'
12981 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12982 dlpath=$dir/\$dldll~
12983 $RM \$dlpath'
12984 shlibpath_overrides_runpath=yes
12985 dynamic_linker='Win32 link.exe'
12986 ;;
12987
12988 *)
12989 # Assume MSVC and ICC wrapper
12990 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12991 dynamic_linker='Win32 ld.exe'
12992 ;;
12993 esac
12994 # FIXME: first we should search . and the directory the executable is in
12995 shlibpath_var=PATH
12996 ;;
12997
12998 darwin* | rhapsody*)
12999 dynamic_linker="$host_os dyld"
13000 version_type=darwin
13001 need_lib_prefix=no
13002 need_version=no
13003 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13004 soname_spec='$libname$release$major$shared_ext'
13005 shlibpath_overrides_runpath=yes
13006 shlibpath_var=DYLD_LIBRARY_PATH
13007 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13008
13009 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13010 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13011 ;;
13012
13013 dgux*)
13014 version_type=linux # correct to gnu/linux during the next big refactor
13015 need_lib_prefix=no
13016 need_version=no
13017 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13018 soname_spec='$libname$release$shared_ext$major'
13019 shlibpath_var=LD_LIBRARY_PATH
13020 ;;
13021
13022 freebsd* | dragonfly* | midnightbsd*)
13023 # DragonFly does not have aout. When/if they implement a new
13024 # versioning mechanism, adjust this.
13025 if test -x /usr/bin/objformat; then
13026 objformat=`/usr/bin/objformat`
13027 else
13028 case $host_os in
13029 freebsd[23].*) objformat=aout ;;
13030 *) objformat=elf ;;
13031 esac
13032 fi
13033 version_type=freebsd-$objformat
13034 case $version_type in
13035 freebsd-elf*)
13036 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13037 soname_spec='$libname$release$shared_ext$major'
13038 need_version=no
13039 need_lib_prefix=no
13040 ;;
13041 freebsd-*)
13042 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13043 need_version=yes
13044 ;;
13045 esac
13046 case $host_cpu in
13047 powerpc64)
13048 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13049 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13052 int test_pointer_size[sizeof (void *) - 5];
13053
13054 _ACEOF
13055 if ac_fn_c_try_compile "$LINENO"
13056 then :
13057 shlibpath_var=LD_LIBRARY_PATH
13058 else case e in #(
13059 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13060 esac
13061 fi
13062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13063 ;;
13064 *)
13065 shlibpath_var=LD_LIBRARY_PATH
13066 ;;
13067 esac
13068 case $host_os in
13069 freebsd2.*)
13070 shlibpath_overrides_runpath=yes
13071 ;;
13072 freebsd3.[01]* | freebsdelf3.[01]*)
13073 shlibpath_overrides_runpath=yes
13074 hardcode_into_libs=yes
13075 ;;
13076 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13077 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13078 shlibpath_overrides_runpath=no
13079 hardcode_into_libs=yes
13080 ;;
13081 *) # from 4.6 on, and DragonFly
13082 shlibpath_overrides_runpath=yes
13083 hardcode_into_libs=yes
13084 ;;
13085 esac
13086 ;;
13087
13088 haiku*)
13089 version_type=linux # correct to gnu/linux during the next big refactor
13090 need_lib_prefix=no
13091 need_version=no
13092 dynamic_linker="$host_os runtime_loader"
13093 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13094 soname_spec='$libname$release$shared_ext$major'
13095 shlibpath_var=LIBRARY_PATH
13096 shlibpath_overrides_runpath=no
13097 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13098 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13099 hardcode_into_libs=no
13100 ;;
13101
13102 hpux9* | hpux10* | hpux11*)
13103 # Give a soname corresponding to the major version so that dld.sl refuses to
13104 # link against other versions.
13105 version_type=sunos
13106 need_lib_prefix=no
13107 need_version=no
13108 case $host_cpu in
13109 ia64*)
13110 shrext_cmds='.so'
13111 hardcode_into_libs=yes
13112 dynamic_linker="$host_os dld.so"
13113 shlibpath_var=LD_LIBRARY_PATH
13114 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13115 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13116 soname_spec='$libname$release$shared_ext$major'
13117 if test 32 = "$HPUX_IA64_MODE"; then
13118 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13119 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13120 else
13121 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13122 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13123 fi
13124 ;;
13125 hppa*64*)
13126 shrext_cmds='.sl'
13127 hardcode_into_libs=yes
13128 dynamic_linker="$host_os dld.sl"
13129 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13130 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13131 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13132 soname_spec='$libname$release$shared_ext$major'
13133 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13134 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13135 ;;
13136 *)
13137 shrext_cmds='.sl'
13138 dynamic_linker="$host_os dld.sl"
13139 shlibpath_var=SHLIB_PATH
13140 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13141 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13142 soname_spec='$libname$release$shared_ext$major'
13143 ;;
13144 esac
13145 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13146 postinstall_cmds='chmod 555 $lib'
13147 # or fails outright, so override atomically:
13148 install_override_mode=555
13149 ;;
13150
13151 interix[3-9]*)
13152 version_type=linux # correct to gnu/linux during the next big refactor
13153 need_lib_prefix=no
13154 need_version=no
13155 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13156 soname_spec='$libname$release$shared_ext$major'
13157 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13158 shlibpath_var=LD_LIBRARY_PATH
13159 shlibpath_overrides_runpath=no
13160 hardcode_into_libs=yes
13161 ;;
13162
13163 irix5* | irix6* | nonstopux*)
13164 case $host_os in
13165 nonstopux*) version_type=nonstopux ;;
13166 *)
13167 if test yes = "$lt_cv_prog_gnu_ld"; then
13168 version_type=linux # correct to gnu/linux during the next big refactor
13169 else
13170 version_type=irix
13171 fi ;;
13172 esac
13173 need_lib_prefix=no
13174 need_version=no
13175 soname_spec='$libname$release$shared_ext$major'
13176 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13177 case $host_os in
13178 irix5* | nonstopux*)
13179 libsuff= shlibsuff=
13180 ;;
13181 *)
13182 case $LD in # libtool.m4 will add one of these switches to LD
13183 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13184 libsuff= shlibsuff= libmagic=32-bit;;
13185 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13186 libsuff=32 shlibsuff=N32 libmagic=N32;;
13187 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13188 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13189 *) libsuff= shlibsuff= libmagic=never-match;;
13190 esac
13191 ;;
13192 esac
13193 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13194 shlibpath_overrides_runpath=no
13195 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13196 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13197 hardcode_into_libs=yes
13198 ;;
13199
13200 # No shared lib support for Linux oldld, aout, or coff.
13201 linux*oldld* | linux*aout* | linux*coff*)
13202 dynamic_linker=no
13203 ;;
13204
13205 linux*android*)
13206 version_type=none # Android doesn't support versioned libraries.
13207 need_lib_prefix=no
13208 need_version=no
13209 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13210 soname_spec='$libname$release$shared_ext'
13211 finish_cmds=
13212 shlibpath_var=LD_LIBRARY_PATH
13213 shlibpath_overrides_runpath=yes
13214
13215 # This implies no fast_install, which is unacceptable.
13216 # Some rework will be needed to allow for fast_install
13217 # before this can be enabled.
13218 hardcode_into_libs=yes
13219
13220 dynamic_linker='Android linker'
13221 # -rpath works at least for libraries that are not overridden by
13222 # libraries installed in system locations.
13223 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13224 ;;
13225
13226 # This must be glibc/ELF.
13227 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13228 version_type=linux # correct to gnu/linux during the next big refactor
13229 need_lib_prefix=no
13230 need_version=no
13231 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13232 soname_spec='$libname$release$shared_ext$major'
13233 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13234 shlibpath_var=LD_LIBRARY_PATH
13235 shlibpath_overrides_runpath=no
13236
13237 # Some binutils ld are patched to set DT_RUNPATH
13238 if test ${lt_cv_shlibpath_overrides_runpath+y}
13239 then :
13240 printf %s "(cached) " >&6
13241 else case e in #(
13242 e) lt_cv_shlibpath_overrides_runpath=no
13243 save_LDFLAGS=$LDFLAGS
13244 save_libdir=$libdir
13245 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13246 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13249
13250 int
13251 main (void)
13252 {
13253
13254 ;
13255 return 0;
13256 }
13257 _ACEOF
13258 if ac_fn_c_try_link "$LINENO"
13259 then :
13260 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13261 then :
13262 lt_cv_shlibpath_overrides_runpath=yes
13263 fi
13264 fi
13265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13266 conftest$ac_exeext conftest.$ac_ext
13267 LDFLAGS=$save_LDFLAGS
13268 libdir=$save_libdir
13269 ;;
13270 esac
13271 fi
13272
13273 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13274
13275 # This implies no fast_install, which is unacceptable.
13276 # Some rework will be needed to allow for fast_install
13277 # before this can be enabled.
13278 hardcode_into_libs=yes
13279
13280 # Ideally, we could use ldconfig to report *all* directories which are
13281 # searched for libraries, however this is still not possible. Aside from not
13282 # being certain /sbin/ldconfig is available, command
13283 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13284 # even though it is searched at run-time. Try to do the best guess by
13285 # appending ld.so.conf contents (and includes) to the search path.
13286 if test -f /etc/ld.so.conf; then
13287 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' ' '`
13288 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13289 fi
13290
13291 # We used to test for /lib/ld.so.1 and disable shared libraries on
13292 # powerpc, because MkLinux only supported shared libraries with the
13293 # GNU dynamic linker. Since this was broken with cross compilers,
13294 # most powerpc-linux boxes support dynamic linking these days and
13295 # people can always --disable-shared, the test was removed, and we
13296 # assume the GNU/Linux dynamic linker is in use.
13297 dynamic_linker='GNU/Linux ld.so'
13298 ;;
13299
13300 netbsdelf*-gnu)
13301 version_type=linux
13302 need_lib_prefix=no
13303 need_version=no
13304 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13305 soname_spec='$libname$release$shared_ext$major'
13306 shlibpath_var=LD_LIBRARY_PATH
13307 shlibpath_overrides_runpath=no
13308 hardcode_into_libs=yes
13309 dynamic_linker='NetBSD ld.elf_so'
13310 ;;
13311
13312 netbsd*)
13313 version_type=sunos
13314 need_lib_prefix=no
13315 need_version=no
13316 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13317 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13318 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13319 dynamic_linker='NetBSD (a.out) ld.so'
13320 else
13321 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13322 soname_spec='$libname$release$shared_ext$major'
13323 dynamic_linker='NetBSD ld.elf_so'
13324 fi
13325 shlibpath_var=LD_LIBRARY_PATH
13326 shlibpath_overrides_runpath=yes
13327 hardcode_into_libs=yes
13328 ;;
13329
13330 *-mlibc)
13331 version_type=linux # correct to gnu/linux during the next big refactor
13332 need_lib_prefix=no
13333 need_version=no
13334 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13335 soname_spec='$libname$release$shared_ext$major'
13336 dynamic_linker='mlibc ld.so'
13337 shlibpath_var=LD_LIBRARY_PATH
13338 shlibpath_overrides_runpath=no
13339 hardcode_into_libs=yes
13340 ;;
13341
13342 newsos6)
13343 version_type=linux # correct to gnu/linux during the next big refactor
13344 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13345 shlibpath_var=LD_LIBRARY_PATH
13346 shlibpath_overrides_runpath=yes
13347 ;;
13348
13349 *nto* | *qnx*)
13350 version_type=qnx
13351 need_lib_prefix=no
13352 need_version=no
13353 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13354 soname_spec='$libname$release$shared_ext$major'
13355 shlibpath_var=LD_LIBRARY_PATH
13356 shlibpath_overrides_runpath=no
13357 hardcode_into_libs=yes
13358 dynamic_linker='ldqnx.so'
13359 ;;
13360
13361 openbsd*)
13362 version_type=sunos
13363 sys_lib_dlsearch_path_spec=/usr/lib
13364 need_lib_prefix=no
13365 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13366 need_version=no
13367 else
13368 need_version=yes
13369 fi
13370 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13371 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13372 shlibpath_var=LD_LIBRARY_PATH
13373 shlibpath_overrides_runpath=yes
13374 ;;
13375
13376 os2*)
13377 libname_spec='$name'
13378 version_type=windows
13379 shrext_cmds=.dll
13380 need_version=no
13381 need_lib_prefix=no
13382 # OS/2 can only load a DLL with a base name of 8 characters or less.
13383 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13384 v=$($ECHO $release$versuffix | tr -d .-);
13385 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13386 $ECHO $n$v`$shared_ext'
13387 library_names_spec='${libname}_dll.$libext'
13388 dynamic_linker='OS/2 ld.exe'
13389 shlibpath_var=BEGINLIBPATH
13390 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13391 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13392 postinstall_cmds='base_file=`basename \$file`~
13393 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13394 dldir=$destdir/`dirname \$dlpath`~
13395 test -d \$dldir || mkdir -p \$dldir~
13396 $install_prog $dir/$dlname \$dldir/$dlname~
13397 chmod a+x \$dldir/$dlname~
13398 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13399 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13400 fi'
13401 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13402 dlpath=$dir/\$dldll~
13403 $RM \$dlpath'
13404 ;;
13405
13406 osf3* | osf4* | osf5*)
13407 version_type=osf
13408 need_lib_prefix=no
13409 need_version=no
13410 soname_spec='$libname$release$shared_ext$major'
13411 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13412 shlibpath_var=LD_LIBRARY_PATH
13413 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13414 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13415 ;;
13416
13417 rdos*)
13418 dynamic_linker=no
13419 ;;
13420
13421 serenity*)
13422 version_type=linux # correct to gnu/linux during the next big refactor
13423 need_lib_prefix=no
13424 need_version=no
13425 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13426 soname_spec='$libname$release$shared_ext$major'
13427 shlibpath_var=LD_LIBRARY_PATH
13428 shlibpath_overrides_runpath=no
13429 dynamic_linker='SerenityOS LibELF'
13430 ;;
13431
13432 solaris*)
13433 version_type=linux # correct to gnu/linux during the next big refactor
13434 need_lib_prefix=no
13435 need_version=no
13436 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13437 soname_spec='$libname$release$shared_ext$major'
13438 shlibpath_var=LD_LIBRARY_PATH
13439 shlibpath_overrides_runpath=yes
13440 hardcode_into_libs=yes
13441 # ldd complains unless libraries are executable
13442 postinstall_cmds='chmod +x $lib'
13443 ;;
13444
13445 sunos4*)
13446 version_type=sunos
13447 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13448 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13449 shlibpath_var=LD_LIBRARY_PATH
13450 shlibpath_overrides_runpath=yes
13451 if test yes = "$with_gnu_ld"; then
13452 need_lib_prefix=no
13453 fi
13454 need_version=yes
13455 ;;
13456
13457 sysv4 | sysv4.3*)
13458 version_type=linux # correct to gnu/linux during the next big refactor
13459 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13460 soname_spec='$libname$release$shared_ext$major'
13461 shlibpath_var=LD_LIBRARY_PATH
13462 case $host_vendor in
13463 sni)
13464 shlibpath_overrides_runpath=no
13465 need_lib_prefix=no
13466 runpath_var=LD_RUN_PATH
13467 ;;
13468 siemens)
13469 need_lib_prefix=no
13470 ;;
13471 motorola)
13472 need_lib_prefix=no
13473 need_version=no
13474 shlibpath_overrides_runpath=no
13475 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13476 ;;
13477 esac
13478 ;;
13479
13480 sysv4*MP*)
13481 if test -d /usr/nec; then
13482 version_type=linux # correct to gnu/linux during the next big refactor
13483 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13484 soname_spec='$libname$shared_ext.$major'
13485 shlibpath_var=LD_LIBRARY_PATH
13486 fi
13487 ;;
13488
13489 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13490 version_type=sco
13491 need_lib_prefix=no
13492 need_version=no
13493 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13494 soname_spec='$libname$release$shared_ext$major'
13495 shlibpath_var=LD_LIBRARY_PATH
13496 shlibpath_overrides_runpath=yes
13497 hardcode_into_libs=yes
13498 if test yes = "$with_gnu_ld"; then
13499 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13500 else
13501 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13502 case $host_os in
13503 sco3.2v5*)
13504 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13505 ;;
13506 esac
13507 fi
13508 sys_lib_dlsearch_path_spec='/usr/lib'
13509 ;;
13510
13511 tpf*)
13512 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13513 version_type=linux # correct to gnu/linux during the next big refactor
13514 need_lib_prefix=no
13515 need_version=no
13516 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13517 shlibpath_var=LD_LIBRARY_PATH
13518 shlibpath_overrides_runpath=no
13519 hardcode_into_libs=yes
13520 ;;
13521
13522 uts4*)
13523 version_type=linux # correct to gnu/linux during the next big refactor
13524 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13525 soname_spec='$libname$release$shared_ext$major'
13526 shlibpath_var=LD_LIBRARY_PATH
13527 ;;
13528
13529 emscripten*)
13530 version_type=none
13531 need_lib_prefix=no
13532 need_version=no
13533 library_names_spec='$libname$release$shared_ext'
13534 soname_spec='$libname$release$shared_ext'
13535 finish_cmds=
13536 dynamic_linker="Emscripten linker"
13537 lt_prog_compiler_wl=
13538 lt_prog_compiler_pic=
13539 lt_prog_compiler_static=
13540
13541
13542 if test yes = "$GCC"; then
13543 lt_prog_compiler_wl='-Wl,'
13544 lt_prog_compiler_static='-static'
13545
13546 case $host_os in
13547 aix*)
13548 # All AIX code is PIC.
13549 if test ia64 = "$host_cpu"; then
13550 # AIX 5 now supports IA64 processor
13551 lt_prog_compiler_static='-Bstatic'
13552 fi
13553 lt_prog_compiler_pic='-fPIC'
13554 ;;
13555
13556 amigaos*)
13557 case $host_cpu in
13558 powerpc)
13559 # see comment about AmigaOS4 .so support
13560 lt_prog_compiler_pic='-fPIC'
13561 ;;
13562 m68k)
13563 # FIXME: we need at least 68020 code to build shared libraries, but
13564 # adding the '-m68020' flag to GCC prevents building anything better,
13565 # like '-m68040'.
13566 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13567 ;;
13568 esac
13569 ;;
13570
13571 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13572 # PIC is the default for these OSes.
13573 ;;
13574
13575 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13576 # This hack is so that the source file can tell whether it is being
13577 # built for inclusion in a dll (and should export symbols for example).
13578 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13579 # (--disable-auto-import) libraries
13580 lt_prog_compiler_pic='-DDLL_EXPORT'
13581 case $host_os in
13582 os2*)
13583 lt_prog_compiler_static='$wl-static'
13584 ;;
13585 esac
13586 ;;
13587
13588 darwin* | rhapsody*)
13589 # PIC is the default on this platform
13590 # Common symbols not allowed in MH_DYLIB files
13591 lt_prog_compiler_pic='-fno-common'
13592 ;;
13593
13594 haiku*)
13595 # PIC is the default for Haiku.
13596 # The "-static" flag exists, but is broken.
13597 lt_prog_compiler_static=
13598 ;;
13599
13600 hpux*)
13601 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13602 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13603 # sets the default TLS model and affects inlining.
13604 case $host_cpu in
13605 hppa*64*)
13606 # +Z the default
13607 ;;
13608 *)
13609 lt_prog_compiler_pic='-fPIC'
13610 ;;
13611 esac
13612 ;;
13613
13614 interix[3-9]*)
13615 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13616 # Instead, we relocate shared libraries at runtime.
13617 ;;
13618
13619 msdosdjgpp*)
13620 # Just because we use GCC doesn't mean we suddenly get shared libraries
13621 # on systems that don't support them.
13622 lt_prog_compiler_can_build_shared=no
13623 enable_shared=no
13624 ;;
13625
13626 *nto* | *qnx*)
13627 # QNX uses GNU C++, but need to define -shared option too, otherwise
13628 # it will coredump.
13629 lt_prog_compiler_pic='-fPIC -shared'
13630 ;;
13631
13632 sysv4*MP*)
13633 if test -d /usr/nec; then
13634 lt_prog_compiler_pic=-Kconform_pic
13635 fi
13636 ;;
13637
13638 *)
13639 lt_prog_compiler_pic='-fPIC'
13640 ;;
13641 esac
13642
13643 case $cc_basename in
13644 nvcc*) # Cuda Compiler Driver 2.2
13645 lt_prog_compiler_wl='-Xlinker '
13646 if test -n "$lt_prog_compiler_pic"; then
13647 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13648 fi
13649 ;;
13650 esac
13651 else
13652 # PORTME Check for flag to pass linker flags through the system compiler.
13653 case $host_os in
13654 aix*)
13655 lt_prog_compiler_wl='-Wl,'
13656 if test ia64 = "$host_cpu"; then
13657 # AIX 5 now supports IA64 processor
13658 lt_prog_compiler_static='-Bstatic'
13659 else
13660 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13661 fi
13662 ;;
13663
13664 darwin* | rhapsody*)
13665 # PIC is the default on this platform
13666 # Common symbols not allowed in MH_DYLIB files
13667 lt_prog_compiler_pic='-fno-common'
13668 case $cc_basename in
13669 nagfor*)
13670 # NAG Fortran compiler
13671 lt_prog_compiler_wl='-Wl,-Wl,,'
13672 lt_prog_compiler_pic='-PIC'
13673 lt_prog_compiler_static='-Bstatic'
13674 ;;
13675 esac
13676 ;;
13677
13678 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13679 # This hack is so that the source file can tell whether it is being
13680 # built for inclusion in a dll (and should export symbols for example).
13681 lt_prog_compiler_pic='-DDLL_EXPORT'
13682 case $host_os in
13683 os2*)
13684 lt_prog_compiler_static='$wl-static'
13685 ;;
13686 esac
13687 ;;
13688
13689 hpux9* | hpux10* | hpux11*)
13690 lt_prog_compiler_wl='-Wl,'
13691 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13692 # not for PA HP-UX.
13693 case $host_cpu in
13694 hppa*64*|ia64*)
13695 # +Z the default
13696 ;;
13697 *)
13698 lt_prog_compiler_pic='+Z'
13699 ;;
13700 esac
13701 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13702 lt_prog_compiler_static='$wl-a ${wl}archive'
13703 ;;
13704
13705 irix5* | irix6* | nonstopux*)
13706 lt_prog_compiler_wl='-Wl,'
13707 # PIC (with -KPIC) is the default.
13708 lt_prog_compiler_static='-non_shared'
13709 ;;
13710
13711 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13712 case $cc_basename in
13713 # old Intel for x86_64, which still supported -KPIC.
13714 ecc*)
13715 lt_prog_compiler_wl='-Wl,'
13716 lt_prog_compiler_pic='-KPIC'
13717 lt_prog_compiler_static='-static'
13718 ;;
13719 *flang* | ftn | f18* | f95*)
13720 # Flang compiler.
13721 lt_prog_compiler_wl='-Wl,'
13722 lt_prog_compiler_pic='-fPIC'
13723 lt_prog_compiler_static='-static'
13724 ;;
13725 # icc used to be incompatible with GCC.
13726 # ICC 10 doesn't accept -KPIC any more.
13727 icc* | ifort*)
13728 lt_prog_compiler_wl='-Wl,'
13729 lt_prog_compiler_pic='-fPIC'
13730 lt_prog_compiler_static='-static'
13731 ;;
13732 # Lahey Fortran 8.1.
13733 lf95*)
13734 lt_prog_compiler_wl='-Wl,'
13735 lt_prog_compiler_pic='--shared'
13736 lt_prog_compiler_static='--static'
13737 ;;
13738 nagfor*)
13739 # NAG Fortran compiler
13740 lt_prog_compiler_wl='-Wl,-Wl,,'
13741 lt_prog_compiler_pic='-PIC'
13742 lt_prog_compiler_static='-Bstatic'
13743 ;;
13744 tcc*)
13745 # Fabrice Bellard et al's Tiny C Compiler
13746 lt_prog_compiler_wl='-Wl,'
13747 lt_prog_compiler_pic='-fPIC'
13748 lt_prog_compiler_static='-static'
13749 ;;
13750 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13751 # Portland Group compilers (*not* the Pentium gcc compiler,
13752 # which looks to be a dead project)
13753 lt_prog_compiler_wl='-Wl,'
13754 lt_prog_compiler_pic='-fpic'
13755 lt_prog_compiler_static='-Bstatic'
13756 ;;
13757 ccc*)
13758 lt_prog_compiler_wl='-Wl,'
13759 # All Alpha code is PIC.
13760 lt_prog_compiler_static='-non_shared'
13761 ;;
13762 xl* | bgxl* | bgf* | mpixl*)
13763 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13764 lt_prog_compiler_wl='-Wl,'
13765 lt_prog_compiler_pic='-qpic'
13766 lt_prog_compiler_static='-qstaticlink'
13767 ;;
13768 *)
13769 case `$CC -V 2>&1 | $SED 5q` in
13770 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13771 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13772 lt_prog_compiler_pic='-KPIC'
13773 lt_prog_compiler_static='-Bstatic'
13774 lt_prog_compiler_wl=''
13775 ;;
13776 *Sun\ F* | *Sun*Fortran*)
13777 lt_prog_compiler_pic='-KPIC'
13778 lt_prog_compiler_static='-Bstatic'
13779 lt_prog_compiler_wl='-Qoption ld '
13780 ;;
13781 *Sun\ C*)
13782 # Sun C 5.9
13783 lt_prog_compiler_pic='-KPIC'
13784 lt_prog_compiler_static='-Bstatic'
13785 lt_prog_compiler_wl='-Wl,'
13786 ;;
13787 *Intel*\ [CF]*Compiler*)
13788 lt_prog_compiler_wl='-Wl,'
13789 lt_prog_compiler_pic='-fPIC'
13790 lt_prog_compiler_static='-static'
13791 ;;
13792 *Portland\ Group*)
13793 lt_prog_compiler_wl='-Wl,'
13794 lt_prog_compiler_pic='-fpic'
13795 lt_prog_compiler_static='-Bstatic'
13796 ;;
13797 esac
13798 ;;
13799 esac
13800 ;;
13801
13802 newsos6)
13803 lt_prog_compiler_pic='-KPIC'
13804 lt_prog_compiler_static='-Bstatic'
13805 ;;
13806
13807 *-mlibc)
13808 lt_prog_compiler_wl='-Wl,'
13809 lt_prog_compiler_pic='-fPIC'
13810 lt_prog_compiler_static='-static'
13811 ;;
13812
13813 *nto* | *qnx*)
13814 # QNX uses GNU C++, but need to define -shared option too, otherwise
13815 # it will coredump.
13816 lt_prog_compiler_pic='-fPIC -shared'
13817 ;;
13818
13819 osf3* | osf4* | osf5*)
13820 lt_prog_compiler_wl='-Wl,'
13821 # All OSF/1 code is PIC.
13822 lt_prog_compiler_static='-non_shared'
13823 ;;
13824
13825 rdos*)
13826 lt_prog_compiler_static='-non_shared'
13827 ;;
13828
13829 serenity*)
13830 ;;
13831
13832 solaris*)
13833 lt_prog_compiler_pic='-KPIC'
13834 lt_prog_compiler_static='-Bstatic'
13835 case $cc_basename in
13836 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
13837 lt_prog_compiler_wl='-Qoption ld ';;
13838 *)
13839 lt_prog_compiler_wl='-Wl,';;
13840 esac
13841 ;;
13842
13843 sunos4*)
13844 lt_prog_compiler_wl='-Qoption ld '
13845 lt_prog_compiler_pic='-PIC'
13846 lt_prog_compiler_static='-Bstatic'
13847 ;;
13848
13849 sysv4 | sysv4.2uw2* | sysv4.3*)
13850 lt_prog_compiler_wl='-Wl,'
13851 lt_prog_compiler_pic='-KPIC'
13852 lt_prog_compiler_static='-Bstatic'
13853 ;;
13854
13855 sysv4*MP*)
13856 if test -d /usr/nec; then
13857 lt_prog_compiler_pic='-Kconform_pic'
13858 lt_prog_compiler_static='-Bstatic'
13859 fi
13860 ;;
13861
13862 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13863 lt_prog_compiler_wl='-Wl,'
13864 lt_prog_compiler_pic='-KPIC'
13865 lt_prog_compiler_static='-Bstatic'
13866 ;;
13867
13868 unicos*)
13869 lt_prog_compiler_wl='-Wl,'
13870 lt_prog_compiler_can_build_shared=no
13871 ;;
13872
13873 uts4*)
13874 lt_prog_compiler_pic='-pic'
13875 lt_prog_compiler_static='-Bstatic'
13876 ;;
13877
13878 *)
13879 lt_prog_compiler_can_build_shared=no
13880 ;;
13881 esac
13882 fi
13883
13884 case $host_os in
13885 # For platforms that do not support PIC, -DPIC is meaningless:
13886 *djgpp*)
13887 lt_prog_compiler_pic=
13888 ;;
13889 *)
13890 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13891 ;;
13892 esac
13893
13894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13895 printf %s "checking for $compiler option to produce PIC... " >&6; }
13896 if test ${lt_cv_prog_compiler_pic+y}
13897 then :
13898 printf %s "(cached) " >&6
13899 else case e in #(
13900 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
13901 esac
13902 fi
13903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13904 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
13905 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13906
13907 #
13908 # Check to make sure the PIC flag actually works.
13909 #
13910 if test -n "$lt_prog_compiler_pic"; then
13911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13912 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
13913 if test ${lt_cv_prog_compiler_pic_works+y}
13914 then :
13915 printf %s "(cached) " >&6
13916 else case e in #(
13917 e) lt_cv_prog_compiler_pic_works=no
13918 ac_outfile=conftest.$ac_objext
13919 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13920 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13921 # Insert the option either (1) after the last *FLAGS variable, or
13922 # (2) before a word containing "conftest.", or (3) at the end.
13923 # Note that $ac_compile itself does not contain backslashes and begins
13924 # with a dollar sign (not a hyphen), so the echo should work correctly.
13925 # The option is referenced via a variable to avoid confusing sed.
13926 lt_compile=`echo "$ac_compile" | $SED \
13927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13929 -e 's:$: $lt_compiler_flag:'`
13930 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13931 (eval "$lt_compile" 2>conftest.err)
13932 ac_status=$?
13933 cat conftest.err >&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 if (exit $ac_status) && test -s "$ac_outfile"; then
13936 # The compiler can only warn and ignore the option if not recognized
13937 # So say no if there are warnings other than the usual output.
13938 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13939 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13940 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13941 lt_cv_prog_compiler_pic_works=yes
13942 fi
13943 fi
13944 $RM conftest*
13945 ;;
13946 esac
13947 fi
13948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13949 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
13950
13951 if test yes = "$lt_cv_prog_compiler_pic_works"; then
13952 case $lt_prog_compiler_pic in
13953 "" | " "*) ;;
13954 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13955 esac
13956 else
13957 lt_prog_compiler_pic=
13958 lt_prog_compiler_can_build_shared=no
13959 fi
13960
13961 fi
13962
13963
13964
13965
13966
13967 #
13968 # Check to make sure the static flag actually works.
13969 #
13970 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
13971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13972 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13973 if test ${lt_cv_prog_compiler_static_works+y}
13974 then :
13975 printf %s "(cached) " >&6
13976 else case e in #(
13977 e) lt_cv_prog_compiler_static_works=no
13978 save_LDFLAGS=$LDFLAGS
13979 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13980 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13981 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13982 # The linker can only warn and ignore the option if not recognized
13983 # So say no if there are warnings
13984 if test -s conftest.err; then
13985 # Append any errors to the config.log.
13986 cat conftest.err 1>&5
13987 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13988 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13989 if diff conftest.exp conftest.er2 >/dev/null; then
13990 lt_cv_prog_compiler_static_works=yes
13991 fi
13992 else
13993 lt_cv_prog_compiler_static_works=yes
13994 fi
13995 fi
13996 $RM -r conftest*
13997 LDFLAGS=$save_LDFLAGS
13998 ;;
13999 esac
14000 fi
14001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14002 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
14003
14004 if test yes = "$lt_cv_prog_compiler_static_works"; then
14005 :
14006 else
14007 lt_prog_compiler_static=
14008 fi
14009
14010
14011
14012 ='-fPIC'
14013 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
14014 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'
14015 archive_cmds_need_lc=no
14016 no_undefined_flag=
14017 ;;
14018
14019 *)
14020 dynamic_linker=no
14021 ;;
14022 esac
14023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14024 printf "%s\n" "$dynamic_linker" >&6; }
14025 test no = "$dynamic_linker" && can_build_shared=no
14026
14027 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14028 if test yes = "$GCC"; then
14029 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14030 fi
14031
14032 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14033 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14034 fi
14035
14036 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14037 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14038 fi
14039
14040 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14041 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14042
14043 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14044 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14045
14046 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14047 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14146 printf %s "checking how to hardcode library paths into programs... " >&6; }
14147 hardcode_action=
14148 if test -n "$hardcode_libdir_flag_spec" ||
14149 test -n "$runpath_var" ||
14150 test yes = "$hardcode_automatic"; then
14151
14152 # We can hardcode non-existent directories.
14153 if test no != "$hardcode_direct" &&
14154 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14155 # have to relink, otherwise we might link with an installed library
14156 # when we should be linking with a yet-to-be-installed one
14157 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14158 test no != "$hardcode_minus_L"; then
14159 # Linking always hardcodes the temporary library directory.
14160 hardcode_action=relink
14161 else
14162 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14163 hardcode_action=immediate
14164 fi
14165 else
14166 # We cannot hardcode anything, or else we can only hardcode existing
14167 # directories.
14168 hardcode_action=unsupported
14169 fi
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14171 printf "%s\n" "$hardcode_action" >&6; }
14172
14173 if test relink = "$hardcode_action" ||
14174 test yes = "$inherit_rpath"; then
14175 # Fast installation is not supported
14176 enable_fast_install=no
14177 elif test yes = "$shlibpath_overrides_runpath" ||
14178 test no = "$enable_shared"; then
14179 # Fast installation is not necessary
14180 enable_fast_install=needless
14181 fi
14182
14183
14184
14185
14186
14187
14188 if test yes != "$enable_dlopen"; then
14189 enable_dlopen=unknown
14190 enable_dlopen_self=unknown
14191 enable_dlopen_self_static=unknown
14192 else
14193 lt_cv_dlopen=no
14194 lt_cv_dlopen_libs=
14195
14196 case $host_os in
14197 beos*)
14198 lt_cv_dlopen=load_add_on
14199 lt_cv_dlopen_libs=
14200 lt_cv_dlopen_self=yes
14201 ;;
14202
14203 mingw* | windows* | pw32* | cegcc*)
14204 lt_cv_dlopen=LoadLibrary
14205 lt_cv_dlopen_libs=
14206 ;;
14207
14208 cygwin*)
14209 lt_cv_dlopen=dlopen
14210 lt_cv_dlopen_libs=
14211 ;;
14212
14213 darwin*)
14214 # if libdl is installed we need to link against it
14215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14216 printf %s "checking for dlopen in -ldl... " >&6; }
14217 if test ${ac_cv_lib_dl_dlopen+y}
14218 then :
14219 printf %s "(cached) " >&6
14220 else case e in #(
14221 e) ac_check_lib_save_LIBS=$LIBS
14222 LIBS="-ldl $LIBS"
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225
14226 /* Override any GCC internal prototype to avoid an error.
14227 Use char because int might match the return type of a GCC
14228 builtin and then its argument prototype would still apply.
14229 The 'extern "C"' is for builds by C++ compilers;
14230 although this is not generally supported in C code supporting it here
14231 has little cost and some practical benefit (sr 110532). */
14232 #ifdef __cplusplus
14233 extern "C"
14234 #endif
14235 char dlopen (void);
14236 int
14237 main (void)
14238 {
14239 return dlopen ();
14240 ;
14241 return 0;
14242 }
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"
14245 then :
14246 ac_cv_lib_dl_dlopen=yes
14247 else case e in #(
14248 e) ac_cv_lib_dl_dlopen=no ;;
14249 esac
14250 fi
14251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14252 conftest$ac_exeext conftest.$ac_ext
14253 LIBS=$ac_check_lib_save_LIBS ;;
14254 esac
14255 fi
14256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14257 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14258 if test "x$ac_cv_lib_dl_dlopen" = xyes
14259 then :
14260 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14261 else case e in #(
14262 e)
14263 lt_cv_dlopen=dyld
14264 lt_cv_dlopen_libs=
14265 lt_cv_dlopen_self=yes
14266 ;;
14267 esac
14268 fi
14269
14270 ;;
14271
14272 tpf*)
14273 # Don't try to run any link tests for TPF. We know it's impossible
14274 # because TPF is a cross-compiler, and we know how we open DSOs.
14275 lt_cv_dlopen=dlopen
14276 lt_cv_dlopen_libs=
14277 lt_cv_dlopen_self=no
14278 ;;
14279
14280 *)
14281 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14282 if test "x$ac_cv_func_shl_load" = xyes
14283 then :
14284 lt_cv_dlopen=shl_load
14285 else case e in #(
14286 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14287 printf %s "checking for shl_load in -ldld... " >&6; }
14288 if test ${ac_cv_lib_dld_shl_load+y}
14289 then :
14290 printf %s "(cached) " >&6
14291 else case e in #(
14292 e) ac_check_lib_save_LIBS=$LIBS
14293 LIBS="-ldld $LIBS"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296
14297 /* Override any GCC internal prototype to avoid an error.
14298 Use char because int might match the return type of a GCC
14299 builtin and then its argument prototype would still apply.
14300 The 'extern "C"' is for builds by C++ compilers;
14301 although this is not generally supported in C code supporting it here
14302 has little cost and some practical benefit (sr 110532). */
14303 #ifdef __cplusplus
14304 extern "C"
14305 #endif
14306 char shl_load (void);
14307 int
14308 main (void)
14309 {
14310 return shl_load ();
14311 ;
14312 return 0;
14313 }
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"
14316 then :
14317 ac_cv_lib_dld_shl_load=yes
14318 else case e in #(
14319 e) ac_cv_lib_dld_shl_load=no ;;
14320 esac
14321 fi
14322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14323 conftest$ac_exeext conftest.$ac_ext
14324 LIBS=$ac_check_lib_save_LIBS ;;
14325 esac
14326 fi
14327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14328 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14329 if test "x$ac_cv_lib_dld_shl_load" = xyes
14330 then :
14331 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14332 else case e in #(
14333 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14334 if test "x$ac_cv_func_dlopen" = xyes
14335 then :
14336 lt_cv_dlopen=dlopen
14337 else case e in #(
14338 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14339 printf %s "checking for dlopen in -ldl... " >&6; }
14340 if test ${ac_cv_lib_dl_dlopen+y}
14341 then :
14342 printf %s "(cached) " >&6
14343 else case e in #(
14344 e) ac_check_lib_save_LIBS=$LIBS
14345 LIBS="-ldl $LIBS"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply.
14352 The 'extern "C"' is for builds by C++ compilers;
14353 although this is not generally supported in C code supporting it here
14354 has little cost and some practical benefit (sr 110532). */
14355 #ifdef __cplusplus
14356 extern "C"
14357 #endif
14358 char dlopen (void);
14359 int
14360 main (void)
14361 {
14362 return dlopen ();
14363 ;
14364 return 0;
14365 }
14366 _ACEOF
14367 if ac_fn_c_try_link "$LINENO"
14368 then :
14369 ac_cv_lib_dl_dlopen=yes
14370 else case e in #(
14371 e) ac_cv_lib_dl_dlopen=no ;;
14372 esac
14373 fi
14374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14375 conftest$ac_exeext conftest.$ac_ext
14376 LIBS=$ac_check_lib_save_LIBS ;;
14377 esac
14378 fi
14379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14380 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14381 if test "x$ac_cv_lib_dl_dlopen" = xyes
14382 then :
14383 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14384 else case e in #(
14385 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14386 printf %s "checking for dlopen in -lsvld... " >&6; }
14387 if test ${ac_cv_lib_svld_dlopen+y}
14388 then :
14389 printf %s "(cached) " >&6
14390 else case e in #(
14391 e) ac_check_lib_save_LIBS=$LIBS
14392 LIBS="-lsvld $LIBS"
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395
14396 /* Override any GCC internal prototype to avoid an error.
14397 Use char because int might match the return type of a GCC
14398 builtin and then its argument prototype would still apply.
14399 The 'extern "C"' is for builds by C++ compilers;
14400 although this is not generally supported in C code supporting it here
14401 has little cost and some practical benefit (sr 110532). */
14402 #ifdef __cplusplus
14403 extern "C"
14404 #endif
14405 char dlopen (void);
14406 int
14407 main (void)
14408 {
14409 return dlopen ();
14410 ;
14411 return 0;
14412 }
14413 _ACEOF
14414 if ac_fn_c_try_link "$LINENO"
14415 then :
14416 ac_cv_lib_svld_dlopen=yes
14417 else case e in #(
14418 e) ac_cv_lib_svld_dlopen=no ;;
14419 esac
14420 fi
14421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14422 conftest$ac_exeext conftest.$ac_ext
14423 LIBS=$ac_check_lib_save_LIBS ;;
14424 esac
14425 fi
14426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14427 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14428 if test "x$ac_cv_lib_svld_dlopen" = xyes
14429 then :
14430 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14431 else case e in #(
14432 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14433 printf %s "checking for dld_link in -ldld... " >&6; }
14434 if test ${ac_cv_lib_dld_dld_link+y}
14435 then :
14436 printf %s "(cached) " >&6
14437 else case e in #(
14438 e) ac_check_lib_save_LIBS=$LIBS
14439 LIBS="-ldld $LIBS"
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14442
14443 /* Override any GCC internal prototype to avoid an error.
14444 Use char because int might match the return type of a GCC
14445 builtin and then its argument prototype would still apply.
14446 The 'extern "C"' is for builds by C++ compilers;
14447 although this is not generally supported in C code supporting it here
14448 has little cost and some practical benefit (sr 110532). */
14449 #ifdef __cplusplus
14450 extern "C"
14451 #endif
14452 char dld_link (void);
14453 int
14454 main (void)
14455 {
14456 return dld_link ();
14457 ;
14458 return 0;
14459 }
14460 _ACEOF
14461 if ac_fn_c_try_link "$LINENO"
14462 then :
14463 ac_cv_lib_dld_dld_link=yes
14464 else case e in #(
14465 e) ac_cv_lib_dld_dld_link=no ;;
14466 esac
14467 fi
14468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14469 conftest$ac_exeext conftest.$ac_ext
14470 LIBS=$ac_check_lib_save_LIBS ;;
14471 esac
14472 fi
14473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14474 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14475 if test "x$ac_cv_lib_dld_dld_link" = xyes
14476 then :
14477 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14478 fi
14479
14480 ;;
14481 esac
14482 fi
14483
14484 ;;
14485 esac
14486 fi
14487
14488 ;;
14489 esac
14490 fi
14491
14492 ;;
14493 esac
14494 fi
14495
14496 ;;
14497 esac
14498 fi
14499
14500 ;;
14501 esac
14502
14503 if test no = "$lt_cv_dlopen"; then
14504 enable_dlopen=no
14505 else
14506 enable_dlopen=yes
14507 fi
14508
14509 case $lt_cv_dlopen in
14510 dlopen)
14511 save_CPPFLAGS=$CPPFLAGS
14512 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14513
14514 save_LDFLAGS=$LDFLAGS
14515 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14516
14517 save_LIBS=$LIBS
14518 LIBS="$lt_cv_dlopen_libs $LIBS"
14519
14520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14521 printf %s "checking whether a program can dlopen itself... " >&6; }
14522 if test ${lt_cv_dlopen_self+y}
14523 then :
14524 printf %s "(cached) " >&6
14525 else case e in #(
14526 e) if test yes = "$cross_compiling"; then :
14527 lt_cv_dlopen_self=cross
14528 else
14529 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14530 lt_status=$lt_dlunknown
14531 cat > conftest.$ac_ext <<_LT_EOF
14532 #line $LINENO "configure"
14533 #include "confdefs.h"
14534
14535 #if HAVE_DLFCN_H
14536 #include <dlfcn.h>
14537 #endif
14538
14539 #include <stdio.h>
14540
14541 #ifdef RTLD_GLOBAL
14542 # define LT_DLGLOBAL RTLD_GLOBAL
14543 #else
14544 # ifdef DL_GLOBAL
14545 # define LT_DLGLOBAL DL_GLOBAL
14546 # else
14547 # define LT_DLGLOBAL 0
14548 # endif
14549 #endif
14550
14551 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14552 find out it does not work in some platform. */
14553 #ifndef LT_DLLAZY_OR_NOW
14554 # ifdef RTLD_LAZY
14555 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14556 # else
14557 # ifdef DL_LAZY
14558 # define LT_DLLAZY_OR_NOW DL_LAZY
14559 # else
14560 # ifdef RTLD_NOW
14561 # define LT_DLLAZY_OR_NOW RTLD_NOW
14562 # else
14563 # ifdef DL_NOW
14564 # define LT_DLLAZY_OR_NOW DL_NOW
14565 # else
14566 # define LT_DLLAZY_OR_NOW 0
14567 # endif
14568 # endif
14569 # endif
14570 # endif
14571 #endif
14572
14573 /* When -fvisibility=hidden is used, assume the code has been annotated
14574 correspondingly for the symbols needed. */
14575 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14576 int fnord (void) __attribute__((visibility("default")));
14577 #endif
14578
14579 int fnord (void) { return 42; }
14580 int main (void)
14581 {
14582 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14583 int status = $lt_dlunknown;
14584
14585 if (self)
14586 {
14587 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14588 else
14589 {
14590 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14591 else puts (dlerror ());
14592 }
14593 /* dlclose (self); */
14594 }
14595 else
14596 puts (dlerror ());
14597
14598 return status;
14599 }
14600 _LT_EOF
14601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14602 (eval $ac_link) 2>&5
14603 ac_status=$?
14604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14605 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14606 (./conftest; exit; ) >&5 2>/dev/null
14607 lt_status=$?
14608 case x$lt_status in
14609 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14610 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14611 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14612 esac
14613 else :
14614 # compilation failed
14615 lt_cv_dlopen_self=no
14616 fi
14617 fi
14618 rm -fr conftest*
14619
14620 ;;
14621 esac
14622 fi
14623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14624 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14625
14626 if test yes = "$lt_cv_dlopen_self"; then
14627 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14629 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14630 if test ${lt_cv_dlopen_self_static+y}
14631 then :
14632 printf %s "(cached) " >&6
14633 else case e in #(
14634 e) if test yes = "$cross_compiling"; then :
14635 lt_cv_dlopen_self_static=cross
14636 else
14637 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14638 lt_status=$lt_dlunknown
14639 cat > conftest.$ac_ext <<_LT_EOF
14640 #line $LINENO "configure"
14641 #include "confdefs.h"
14642
14643 #if HAVE_DLFCN_H
14644 #include <dlfcn.h>
14645 #endif
14646
14647 #include <stdio.h>
14648
14649 #ifdef RTLD_GLOBAL
14650 # define LT_DLGLOBAL RTLD_GLOBAL
14651 #else
14652 # ifdef DL_GLOBAL
14653 # define LT_DLGLOBAL DL_GLOBAL
14654 # else
14655 # define LT_DLGLOBAL 0
14656 # endif
14657 #endif
14658
14659 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14660 find out it does not work in some platform. */
14661 #ifndef LT_DLLAZY_OR_NOW
14662 # ifdef RTLD_LAZY
14663 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14664 # else
14665 # ifdef DL_LAZY
14666 # define LT_DLLAZY_OR_NOW DL_LAZY
14667 # else
14668 # ifdef RTLD_NOW
14669 # define LT_DLLAZY_OR_NOW RTLD_NOW
14670 # else
14671 # ifdef DL_NOW
14672 # define LT_DLLAZY_OR_NOW DL_NOW
14673 # else
14674 # define LT_DLLAZY_OR_NOW 0
14675 # endif
14676 # endif
14677 # endif
14678 # endif
14679 #endif
14680
14681 /* When -fvisibility=hidden is used, assume the code has been annotated
14682 correspondingly for the symbols needed. */
14683 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14684 int fnord (void) __attribute__((visibility("default")));
14685 #endif
14686
14687 int fnord (void) { return 42; }
14688 int main (void)
14689 {
14690 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14691 int status = $lt_dlunknown;
14692
14693 if (self)
14694 {
14695 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14696 else
14697 {
14698 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14699 else puts (dlerror ());
14700 }
14701 /* dlclose (self); */
14702 }
14703 else
14704 puts (dlerror ());
14705
14706 return status;
14707 }
14708 _LT_EOF
14709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14710 (eval $ac_link) 2>&5
14711 ac_status=$?
14712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14713 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14714 (./conftest; exit; ) >&5 2>/dev/null
14715 lt_status=$?
14716 case x$lt_status in
14717 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14718 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14719 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14720 esac
14721 else :
14722 # compilation failed
14723 lt_cv_dlopen_self_static=no
14724 fi
14725 fi
14726 rm -fr conftest*
14727
14728 ;;
14729 esac
14730 fi
14731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14732 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14733 fi
14734
14735 CPPFLAGS=$save_CPPFLAGS
14736 LDFLAGS=$save_LDFLAGS
14737 LIBS=$save_LIBS
14738 ;;
14739 esac
14740
14741 case $lt_cv_dlopen_self in
14742 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14743 *) enable_dlopen_self=unknown ;;
14744 esac
14745
14746 case $lt_cv_dlopen_self_static in
14747 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14748 *) enable_dlopen_self_static=unknown ;;
14749 esac
14750 fi
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768 striplib=
14769 old_striplib=
14770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14771 printf %s "checking whether stripping libraries is possible... " >&6; }
14772 if test -z "$STRIP"; then
14773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14774 printf "%s\n" "no" >&6; }
14775 else
14776 if $STRIP -V 2>&1 | $GREP "GNU strip" >/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 case $host_os in
14783 darwin*)
14784 # FIXME - insert some real tests, host_os isn't really good enough
14785 striplib="$STRIP -x"
14786 old_striplib="$STRIP -S"
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14788 printf "%s\n" "yes" >&6; }
14789 ;;
14790 freebsd*)
14791 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
14792 old_striplib="$STRIP --strip-debug"
14793 striplib="$STRIP --strip-unneeded"
14794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14795 printf "%s\n" "yes" >&6; }
14796 else
14797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14798 printf "%s\n" "no" >&6; }
14799 fi
14800 ;;
14801 *)
14802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14803 printf "%s\n" "no" >&6; }
14804 ;;
14805 esac
14806 fi
14807 fi
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820 # Report what library types will actually be built
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14822 printf %s "checking if libtool supports shared libraries... " >&6; }
14823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14824 printf "%s\n" "$can_build_shared" >&6; }
14825
14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14827 printf %s "checking whether to build shared libraries... " >&6; }
14828 test no = "$can_build_shared" && enable_shared=no
14829
14830 # On AIX, shared libraries and static libraries use the same namespace, and
14831 # are all built from PIC.
14832 case $host_os in
14833 aix3*)
14834 test yes = "$enable_shared" && enable_static=no
14835 if test -n "$RANLIB"; then
14836 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14837 postinstall_cmds='$RANLIB $lib'
14838 fi
14839 ;;
14840
14841 aix[4-9]*)
14842 if test ia64 != "$host_cpu"; then
14843 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14844 yes,aix,yes) ;; # shared object as lib.so file only
14845 yes,svr4,*) ;; # shared object as lib.so archive member only
14846 yes,*) enable_static=no ;; # shared object in lib.a archive as well
14847 esac
14848 fi
14849 ;;
14850 esac
14851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14852 printf "%s\n" "$enable_shared" >&6; }
14853
14854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14855 printf %s "checking whether to build static libraries... " >&6; }
14856 # Make sure either enable_shared or enable_static is yes.
14857 test yes = "$enable_shared" || enable_static=yes
14858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14859 printf "%s\n" "$enable_static" >&6; }
14860
14861
14862
14863
14864 fi
14865 ac_ext=c
14866 ac_cpp='$CPP $CPPFLAGS'
14867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14870
14871 CC=$lt_save_CC
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887 ac_config_commands="$ac_config_commands libtool"
14888
14889
14890
14891
14892 # Only expand once:
14893
14894
14895 # (end lt_init)
14896 # Check whether --enable-largefile was given.
14897 if test ${enable_largefile+y}
14898 then :
14899 enableval=$enable_largefile;
14900 fi
14901 if test "$enable_largefile,$enable_year2038" != no,no
14902 then :
14903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
14904 printf %s "checking for $CC option to enable large file support... " >&6; }
14905 if test ${ac_cv_sys_largefile_opts+y}
14906 then :
14907 printf %s "(cached) " >&6
14908 else case e in #(
14909 e) ac_save_CC="$CC"
14910 ac_opt_found=no
14911 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
14912 if test x"$ac_opt" != x"none needed"
14913 then :
14914 CC="$ac_save_CC $ac_opt"
14915 fi
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14918 #include <sys/types.h>
14919 #ifndef FTYPE
14920 # define FTYPE off_t
14921 #endif
14922 /* Check that FTYPE can represent 2**63 - 1 correctly.
14923 We can't simply define LARGE_FTYPE to be 9223372036854775807,
14924 since some C++ compilers masquerading as C compilers
14925 incorrectly reject 9223372036854775807. */
14926 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
14927 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
14928 && LARGE_FTYPE % 2147483647 == 1)
14929 ? 1 : -1];
14930 int
14931 main (void)
14932 {
14933
14934 ;
14935 return 0;
14936 }
14937 _ACEOF
14938 if ac_fn_c_try_compile "$LINENO"
14939 then :
14940 if test x"$ac_opt" = x"none needed"
14941 then :
14942 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
14943 CC="$CC -DFTYPE=ino_t"
14944 if ac_fn_c_try_compile "$LINENO"
14945 then :
14946
14947 else case e in #(
14948 e) CC="$CC -D_FILE_OFFSET_BITS=64"
14949 if ac_fn_c_try_compile "$LINENO"
14950 then :
14951 ac_opt='-D_FILE_OFFSET_BITS=64'
14952 fi
14953 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
14954 esac
14955 fi
14956 rm -f core conftest.err conftest.$ac_objext conftest.beam
14957 fi
14958 ac_cv_sys_largefile_opts=$ac_opt
14959 ac_opt_found=yes
14960 fi
14961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14962 test $ac_opt_found = no || break
14963 done
14964 CC="$ac_save_CC"
14965
14966 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
14967 esac
14968 fi
14969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
14970 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
14971
14972 ac_have_largefile=yes
14973 case $ac_cv_sys_largefile_opts in #(
14974 "none needed") :
14975 ;; #(
14976 "supported through gnulib") :
14977 ;; #(
14978 "support not detected") :
14979 ac_have_largefile=no ;; #(
14980 "-D_FILE_OFFSET_BITS=64") :
14981
14982 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
14983 ;; #(
14984 "-D_LARGE_FILES=1") :
14985
14986 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
14987 ;; #(
14988 "-n32") :
14989 CC="$CC -n32" ;; #(
14990 *) :
14991 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
14992 esac
14993
14994 if test "$enable_year2038" != no
14995 then :
14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
14997 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
14998 if test ${ac_cv_sys_year2038_opts+y}
14999 then :
15000 printf %s "(cached) " >&6
15001 else case e in #(
15002 e) ac_save_CPPFLAGS="$CPPFLAGS"
15003 ac_opt_found=no
15004 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
15005 if test x"$ac_opt" != x"none needed"
15006 then :
15007 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
15008 fi
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15011
15012 #include <time.h>
15013 /* Check that time_t can represent 2**32 - 1 correctly. */
15014 #define LARGE_TIME_T \\
15015 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
15016 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
15017 && LARGE_TIME_T % 65537 == 0)
15018 ? 1 : -1];
15019
15020 int
15021 main (void)
15022 {
15023
15024 ;
15025 return 0;
15026 }
15027 _ACEOF
15028 if ac_fn_c_try_compile "$LINENO"
15029 then :
15030 ac_cv_sys_year2038_opts="$ac_opt"
15031 ac_opt_found=yes
15032 fi
15033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15034 test $ac_opt_found = no || break
15035 done
15036 CPPFLAGS="$ac_save_CPPFLAGS"
15037 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
15038 esac
15039 fi
15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
15041 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
15042
15043 ac_have_year2038=yes
15044 case $ac_cv_sys_year2038_opts in #(
15045 "none needed") :
15046 ;; #(
15047 "support not detected") :
15048 ac_have_year2038=no ;; #(
15049 "-D_TIME_BITS=64") :
15050
15051 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
15052 ;; #(
15053 "-D__MINGW_USE_VC2005_COMPAT") :
15054
15055 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
15056 ;; #(
15057 "-U_USE_32_BIT_TIME_T"*) :
15058 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15059 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15060 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
15061 will stop working after mid-January 2038. Remove
15062 _USE_32BIT_TIME_T from the compiler flags.
15063 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15064 *) :
15065 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
15066 esac
15067
15068 fi
15069
15070 fi
15071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
15072 printf %s "checking for declarations of fseeko and ftello... " >&6; }
15073 if test ${ac_cv_func_fseeko_ftello+y}
15074 then :
15075 printf %s "(cached) " >&6
15076 else case e in #(
15077 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15079
15080 #if defined __hpux && !defined _LARGEFILE_SOURCE
15081 # include <limits.h>
15082 # if LONG_MAX >> 31 == 0
15083 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15084 # endif
15085 #endif
15086 #include <sys/types.h> /* for off_t */
15087 #include <stdio.h>
15088
15089 int
15090 main (void)
15091 {
15092
15093 int (*fp1) (FILE *, off_t, int) = fseeko;
15094 off_t (*fp2) (FILE *) = ftello;
15095 return fseeko (stdin, 0, 0)
15096 && fp1 (stdin, 0, 0)
15097 && ftello (stdin) >= 0
15098 && fp2 (stdin) >= 0;
15099
15100 ;
15101 return 0;
15102 }
15103 _ACEOF
15104 if ac_fn_c_try_compile "$LINENO"
15105 then :
15106 ac_cv_func_fseeko_ftello=yes
15107 else case e in #(
15108 e) ac_save_CPPFLAGS="$CPPFLAGS"
15109 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
15110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15111 /* end confdefs.h. */
15112
15113 #if defined __hpux && !defined _LARGEFILE_SOURCE
15114 # include <limits.h>
15115 # if LONG_MAX >> 31 == 0
15116 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15117 # endif
15118 #endif
15119 #include <sys/types.h> /* for off_t */
15120 #include <stdio.h>
15121
15122 int
15123 main (void)
15124 {
15125
15126 int (*fp1) (FILE *, off_t, int) = fseeko;
15127 off_t (*fp2) (FILE *) = ftello;
15128 return fseeko (stdin, 0, 0)
15129 && fp1 (stdin, 0, 0)
15130 && ftello (stdin) >= 0
15131 && fp2 (stdin) >= 0;
15132
15133 ;
15134 return 0;
15135 }
15136 _ACEOF
15137 if ac_fn_c_try_compile "$LINENO"
15138 then :
15139 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
15140 else case e in #(
15141 e) ac_cv_func_fseeko_ftello=no ;;
15142 esac
15143 fi
15144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15145 esac
15146 fi
15147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15148 esac
15149 fi
15150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
15151 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
15152 if test "$ac_cv_func_fseeko_ftello" != no
15153 then :
15154
15155 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
15156
15157 fi
15158 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
15159 then :
15160
15161 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
15162
15163 fi
15164
15165 ac_header_dirent=no
15166 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15167 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
15168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15169 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
15170 if eval test \${$as_ac_Header+y}
15171 then :
15172 printf %s "(cached) " >&6
15173 else case e in #(
15174 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h. */
15176 #include <sys/types.h>
15177 #include <$ac_hdr>
15178
15179 int
15180 main (void)
15181 {
15182 if ((DIR *) 0)
15183 return 0;
15184 ;
15185 return 0;
15186 }
15187 _ACEOF
15188 if ac_fn_c_try_compile "$LINENO"
15189 then :
15190 eval "$as_ac_Header=yes"
15191 else case e in #(
15192 e) eval "$as_ac_Header=no" ;;
15193 esac
15194 fi
15195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15196 esac
15197 fi
15198 eval ac_res=\$$as_ac_Header
15199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15200 printf "%s\n" "$ac_res" >&6; }
15201 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15202 then :
15203 cat >>confdefs.h <<_ACEOF
15204 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
15205 _ACEOF
15206
15207 ac_header_dirent=$ac_hdr; break
15208 fi
15209
15210 done
15211 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15212 if test $ac_header_dirent = dirent.h; then
15213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15214 printf %s "checking for library containing opendir... " >&6; }
15215 if test ${ac_cv_search_opendir+y}
15216 then :
15217 printf %s "(cached) " >&6
15218 else case e in #(
15219 e) ac_func_search_save_LIBS=$LIBS
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222
15223 /* Override any GCC internal prototype to avoid an error.
15224 Use char because int might match the return type of a GCC
15225 builtin and then its argument prototype would still apply.
15226 The 'extern "C"' is for builds by C++ compilers;
15227 although this is not generally supported in C code supporting it here
15228 has little cost and some practical benefit (sr 110532). */
15229 #ifdef __cplusplus
15230 extern "C"
15231 #endif
15232 char opendir (void);
15233 int
15234 main (void)
15235 {
15236 return opendir ();
15237 ;
15238 return 0;
15239 }
15240 _ACEOF
15241 for ac_lib in '' dir
15242 do
15243 if test -z "$ac_lib"; then
15244 ac_res="none required"
15245 else
15246 ac_res=-l$ac_lib
15247 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15248 fi
15249 if ac_fn_c_try_link "$LINENO"
15250 then :
15251 ac_cv_search_opendir=$ac_res
15252 fi
15253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15254 conftest$ac_exeext
15255 if test ${ac_cv_search_opendir+y}
15256 then :
15257 break
15258 fi
15259 done
15260 if test ${ac_cv_search_opendir+y}
15261 then :
15262
15263 else case e in #(
15264 e) ac_cv_search_opendir=no ;;
15265 esac
15266 fi
15267 rm conftest.$ac_ext
15268 LIBS=$ac_func_search_save_LIBS ;;
15269 esac
15270 fi
15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15272 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15273 ac_res=$ac_cv_search_opendir
15274 if test "$ac_res" != no
15275 then :
15276 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15277
15278 fi
15279
15280 else
15281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15282 printf %s "checking for library containing opendir... " >&6; }
15283 if test ${ac_cv_search_opendir+y}
15284 then :
15285 printf %s "(cached) " >&6
15286 else case e in #(
15287 e) ac_func_search_save_LIBS=$LIBS
15288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15289 /* end confdefs.h. */
15290
15291 /* Override any GCC internal prototype to avoid an error.
15292 Use char because int might match the return type of a GCC
15293 builtin and then its argument prototype would still apply.
15294 The 'extern "C"' is for builds by C++ compilers;
15295 although this is not generally supported in C code supporting it here
15296 has little cost and some practical benefit (sr 110532). */
15297 #ifdef __cplusplus
15298 extern "C"
15299 #endif
15300 char opendir (void);
15301 int
15302 main (void)
15303 {
15304 return opendir ();
15305 ;
15306 return 0;
15307 }
15308 _ACEOF
15309 for ac_lib in '' x
15310 do
15311 if test -z "$ac_lib"; then
15312 ac_res="none required"
15313 else
15314 ac_res=-l$ac_lib
15315 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15316 fi
15317 if ac_fn_c_try_link "$LINENO"
15318 then :
15319 ac_cv_search_opendir=$ac_res
15320 fi
15321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15322 conftest$ac_exeext
15323 if test ${ac_cv_search_opendir+y}
15324 then :
15325 break
15326 fi
15327 done
15328 if test ${ac_cv_search_opendir+y}
15329 then :
15330
15331 else case e in #(
15332 e) ac_cv_search_opendir=no ;;
15333 esac
15334 fi
15335 rm conftest.$ac_ext
15336 LIBS=$ac_func_search_save_LIBS ;;
15337 esac
15338 fi
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15340 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15341 ac_res=$ac_cv_search_opendir
15342 if test "$ac_res" != no
15343 then :
15344 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15345
15346 fi
15347
15348 fi
15349
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
15351 printf %s "checking whether closedir returns void... " >&6; }
15352 if test ${ac_cv_func_closedir_void+y}
15353 then :
15354 printf %s "(cached) " >&6
15355 else case e in #(
15356 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15358
15359 #include <$ac_header_dirent>
15360
15361 int
15362 main (void)
15363 {
15364
15365 return closedir(0);
15366
15367 ;
15368 return 0;
15369 }
15370 _ACEOF
15371 if ac_fn_c_try_compile "$LINENO"
15372 then :
15373 ac_cv_func_closedir_void=no
15374 else case e in #(
15375 e) ac_cv_func_closedir_void=yes ;;
15376 esac
15377 fi
15378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15379 esac
15380 fi
15381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
15382 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
15383 if test $ac_cv_func_closedir_void = yes; then
15384
15385 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
15386
15387 fi
15388
15389 ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
15390 if test "x$ac_cv_header_assert_h" = xyes
15391 then :
15392 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
15393
15394 fi
15395 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
15396 if test "x$ac_cv_header_float_h" = xyes
15397 then :
15398 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
15399
15400 fi
15401 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15402 if test "x$ac_cv_header_limits_h" = xyes
15403 then :
15404 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15405
15406 fi
15407 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
15408 if test "x$ac_cv_header_pwd_h" = xyes
15409 then :
15410 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
15411
15412 fi
15413 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15414 if test "x$ac_cv_header_stdlib_h" = xyes
15415 then :
15416 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15417
15418 fi
15419 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15420 if test "x$ac_cv_header_sys_param_h" = xyes
15421 then :
15422 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
15423
15424 fi
15425
15426 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
15427 if test "x$ac_cv_func_putenv" = xyes
15428 then :
15429 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
15430
15431 fi
15432
15433 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
15434 if test "x$ac_cv_func_getcwd" = xyes
15435 then :
15436 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
15437
15438 fi
15439 ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp"
15440 if test "x$ac_cv_func_memcmp" = xyes
15441 then :
15442 printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h
15443
15444 fi
15445 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
15446 if test "x$ac_cv_func_memcpy" = xyes
15447 then :
15448 printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
15449
15450 fi
15451 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
15452 if test "x$ac_cv_func_mkstemp" = xyes
15453 then :
15454 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15455
15456 fi
15457 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15458 if test "x$ac_cv_func_mktemp" = xyes
15459 then :
15460 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15461
15462 fi
15463 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
15464 if test "x$ac_cv_func_strchr" = xyes
15465 then :
15466 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
15467
15468 fi
15469 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
15470 if test "x$ac_cv_func_strrchr" = xyes
15471 then :
15472 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
15473
15474 fi
15475
15476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15477 printf %s "checking for an ANSI C-conforming const... " >&6; }
15478 if test ${ac_cv_c_const+y}
15479 then :
15480 printf %s "(cached) " >&6
15481 else case e in #(
15482 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15484
15485 int
15486 main (void)
15487 {
15488
15489 #ifndef __cplusplus
15490 /* Ultrix mips cc rejects this sort of thing. */
15491 typedef int charset[2];
15492 const charset cs = { 0, 0 };
15493 /* SunOS 4.1.1 cc rejects this. */
15494 char const *const *pcpcc;
15495 char **ppc;
15496 /* NEC SVR4.0.2 mips cc rejects this. */
15497 struct point {int x, y;};
15498 static struct point const zero = {0,0};
15499 /* IBM XL C 1.02.0.0 rejects this.
15500 It does not let you subtract one const X* pointer from another in
15501 an arm of an if-expression whose if-part is not a constant
15502 expression */
15503 const char *g = "string";
15504 pcpcc = &g + (g ? g-g : 0);
15505 /* HPUX 7.0 cc rejects these. */
15506 ++pcpcc;
15507 ppc = (char**) pcpcc;
15508 pcpcc = (char const *const *) ppc;
15509 { /* SCO 3.2v4 cc rejects this sort of thing. */
15510 char tx;
15511 char *t = &tx;
15512 char const *s = 0 ? (char *) 0 : (char const *) 0;
15513
15514 *t++ = 0;
15515 if (s) return 0;
15516 }
15517 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15518 int x[] = {25, 17};
15519 const int *foo = &x[0];
15520 ++foo;
15521 }
15522 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15523 typedef const int *iptr;
15524 iptr p = 0;
15525 ++p;
15526 }
15527 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
15528 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15529 struct s { int j; const int *ap[3]; } bx;
15530 struct s *b = &bx; b->j = 5;
15531 }
15532 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15533 const int foo = 10;
15534 if (!foo) return 0;
15535 }
15536 return !cs[0] && !zero.x;
15537 #endif
15538
15539 ;
15540 return 0;
15541 }
15542 _ACEOF
15543 if ac_fn_c_try_compile "$LINENO"
15544 then :
15545 ac_cv_c_const=yes
15546 else case e in #(
15547 e) ac_cv_c_const=no ;;
15548 esac
15549 fi
15550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15551 esac
15552 fi
15553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15554 printf "%s\n" "$ac_cv_c_const" >&6; }
15555 if test $ac_cv_c_const = no; then
15556
15557 printf "%s\n" "#define const /**/" >>confdefs.h
15558
15559 fi
15560
15561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15562 printf %s "checking for inline... " >&6; }
15563 if test ${ac_cv_c_inline+y}
15564 then :
15565 printf %s "(cached) " >&6
15566 else case e in #(
15567 e) ac_cv_c_inline=no
15568 for ac_kw in inline __inline__ __inline; do
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15571 #ifndef __cplusplus
15572 typedef int foo_t;
15573 static $ac_kw foo_t static_foo (void) {return 0; }
15574 $ac_kw foo_t foo (void) {return 0; }
15575 #endif
15576
15577 _ACEOF
15578 if ac_fn_c_try_compile "$LINENO"
15579 then :
15580 ac_cv_c_inline=$ac_kw
15581 fi
15582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15583 test "$ac_cv_c_inline" != no && break
15584 done
15585 ;;
15586 esac
15587 fi
15588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15589 printf "%s\n" "$ac_cv_c_inline" >&6; }
15590
15591 case $ac_cv_c_inline in
15592 inline | yes) ;;
15593 *)
15594 case $ac_cv_c_inline in
15595 no) ac_val=;;
15596 *) ac_val=$ac_cv_c_inline;;
15597 esac
15598 cat >>confdefs.h <<_ACEOF
15599 #ifndef __cplusplus
15600 #define inline $ac_val
15601 #endif
15602 _ACEOF
15603 ;;
15604 esac
15605
15606 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15607 if test "x$ac_cv_type_size_t" = xyes
15608 then :
15609
15610 else case e in #(
15611 e)
15612 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
15613 ;;
15614 esac
15615 fi
15616
15617 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
15618 case $ac_cv_c_int64_t in #(
15619 no|yes) ;; #(
15620 *)
15621
15622 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
15623 ;;
15624 esac
15625
15626 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
15627 case $ac_cv_c_uint64_t in #(
15628 no|yes) ;; #(
15629 *)
15630
15631 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
15632
15633
15634 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
15635 ;;
15636 esac
15637
15638 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
15639 *':no:'*) :
15640 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
15641 *) :
15642 ;;
15643 esac
15644 ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
15645 " "$ac_c_undeclared_builtin_options" "CFLAGS"
15646 if test "x$ac_cv_have_decl_isascii" = xyes
15647 then :
15648 ac_have_decl=1
15649 else case e in #(
15650 e) ac_have_decl=0 ;;
15651 esac
15652 fi
15653 printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h
15654
15655 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15656 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
15657 then :
15658
15659 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
15660
15661
15662 fi
15663
15664
15665
15666
15667 for ac_prog in latex elatex lambda
15668 do
15669 # Extract the first word of "$ac_prog", so it can be a program name with args.
15670 set dummy $ac_prog; ac_word=$2
15671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15672 printf %s "checking for $ac_word... " >&6; }
15673 if test ${ac_cv_prog_LATEX+y}
15674 then :
15675 printf %s "(cached) " >&6
15676 else case e in #(
15677 e) if test -n "$LATEX"; then
15678 ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
15679 else
15680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15681 for as_dir in $PATH
15682 do
15683 IFS=$as_save_IFS
15684 case $as_dir in #(((
15685 '') as_dir=./ ;;
15686 */) ;;
15687 *) as_dir=$as_dir/ ;;
15688 esac
15689 for ac_exec_ext in '' $ac_executable_extensions; do
15690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15691 ac_cv_prog_LATEX="$ac_prog"
15692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15693 break 2
15694 fi
15695 done
15696 done
15697 IFS=$as_save_IFS
15698
15699 fi ;;
15700 esac
15701 fi
15702 LATEX=$ac_cv_prog_LATEX
15703 if test -n "$LATEX"; then
15704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
15705 printf "%s\n" "$LATEX" >&6; }
15706 else
15707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15708 printf "%s\n" "no" >&6; }
15709 fi
15710
15711
15712 test -n "$LATEX" && break
15713 done
15714 test -n "$LATEX" || LATEX="no"
15715
15716 for ac_prog in dvips
15717 do
15718 # Extract the first word of "$ac_prog", so it can be a program name with args.
15719 set dummy $ac_prog; ac_word=$2
15720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15721 printf %s "checking for $ac_word... " >&6; }
15722 if test ${ac_cv_prog_DVIPS+y}
15723 then :
15724 printf %s "(cached) " >&6
15725 else case e in #(
15726 e) if test -n "$DVIPS"; then
15727 ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
15728 else
15729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15730 for as_dir in $PATH
15731 do
15732 IFS=$as_save_IFS
15733 case $as_dir in #(((
15734 '') as_dir=./ ;;
15735 */) ;;
15736 *) as_dir=$as_dir/ ;;
15737 esac
15738 for ac_exec_ext in '' $ac_executable_extensions; do
15739 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15740 ac_cv_prog_DVIPS="$ac_prog"
15741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15742 break 2
15743 fi
15744 done
15745 done
15746 IFS=$as_save_IFS
15747
15748 fi ;;
15749 esac
15750 fi
15751 DVIPS=$ac_cv_prog_DVIPS
15752 if test -n "$DVIPS"; then
15753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
15754 printf "%s\n" "$DVIPS" >&6; }
15755 else
15756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15757 printf "%s\n" "no" >&6; }
15758 fi
15759
15760
15761 test -n "$DVIPS" && break
15762 done
15763 test -n "$DVIPS" || DVIPS="no"
15764
15765 for ac_prog in ps2pdf
15766 do
15767 # Extract the first word of "$ac_prog", so it can be a program name with args.
15768 set dummy $ac_prog; ac_word=$2
15769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15770 printf %s "checking for $ac_word... " >&6; }
15771 if test ${ac_cv_prog_PS2PDF+y}
15772 then :
15773 printf %s "(cached) " >&6
15774 else case e in #(
15775 e) if test -n "$PS2PDF"; then
15776 ac_cv_prog_PS2PDF="$PS2PDF" # Let the user override the test.
15777 else
15778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15779 for as_dir in $PATH
15780 do
15781 IFS=$as_save_IFS
15782 case $as_dir in #(((
15783 '') as_dir=./ ;;
15784 */) ;;
15785 *) as_dir=$as_dir/ ;;
15786 esac
15787 for ac_exec_ext in '' $ac_executable_extensions; do
15788 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15789 ac_cv_prog_PS2PDF="$ac_prog"
15790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15791 break 2
15792 fi
15793 done
15794 done
15795 IFS=$as_save_IFS
15796
15797 fi ;;
15798 esac
15799 fi
15800 PS2PDF=$ac_cv_prog_PS2PDF
15801 if test -n "$PS2PDF"; then
15802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PS2PDF" >&5
15803 printf "%s\n" "$PS2PDF" >&6; }
15804 else
15805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15806 printf "%s\n" "no" >&6; }
15807 fi
15808
15809
15810 test -n "$PS2PDF" && break
15811 done
15812 test -n "$PS2PDF" || PS2PDF="no"
15813
15814
15815 ac_fn_c_check_header_compile "$LINENO" "stat.h" "ac_cv_header_stat_h" "$ac_includes_default"
15816 if test "x$ac_cv_header_stat_h" = xyes
15817 then :
15818 printf "%s\n" "#define HAVE_STAT_H 1" >>confdefs.h
15819
15820 fi
15821 ac_fn_c_check_header_compile "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
15822 if test "x$ac_cv_header_stdarg_h" = xyes
15823 then :
15824 printf "%s\n" "#define HAVE_STDARG_H 1" >>confdefs.h
15825
15826 fi
15827 ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
15828 if test "x$ac_cv_header_sys_stat_h" = xyes
15829 then :
15830 printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
15831
15832 fi
15833
15834
15835 ac_func=
15836 for ac_item in $ac_func_c_list
15837 do
15838 if test $ac_func; then
15839 ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
15840 if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
15841 echo "#define $ac_item 1" >> confdefs.h
15842 fi
15843 ac_func=
15844 else
15845 ac_func=$ac_item
15846 fi
15847 done
15848
15849 if test "x$ac_cv_func_vprintf" = xno
15850 then :
15851 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
15852 if test "x$ac_cv_func__doprnt" = xyes
15853 then :
15854
15855 printf "%s\n" "#define HAVE_DOPRNT 1" >>confdefs.h
15856
15857 fi
15858
15859 fi
15860 ac_fn_c_check_func "$LINENO" "access" "ac_cv_func_access"
15861 if test "x$ac_cv_func_access" = xyes
15862 then :
15863 printf "%s\n" "#define HAVE_ACCESS 1" >>confdefs.h
15864
15865 fi
15866 ac_fn_c_check_func "$LINENO" "closedir" "ac_cv_func_closedir"
15867 if test "x$ac_cv_func_closedir" = xyes
15868 then :
15869 printf "%s\n" "#define HAVE_CLOSEDIR 1" >>confdefs.h
15870
15871 fi
15872 ac_fn_c_check_func "$LINENO" "fileno" "ac_cv_func_fileno"
15873 if test "x$ac_cv_func_fileno" = xyes
15874 then :
15875 printf "%s\n" "#define HAVE_FILENO 1" >>confdefs.h
15876
15877 fi
15878 ac_fn_c_check_func "$LINENO" "isatty" "ac_cv_func_isatty"
15879 if test "x$ac_cv_func_isatty" = xyes
15880 then :
15881 printf "%s\n" "#define HAVE_ISATTY 1" >>confdefs.h
15882
15883 fi
15884 ac_fn_c_check_func "$LINENO" "opendir" "ac_cv_func_opendir"
15885 if test "x$ac_cv_func_opendir" = xyes
15886 then :
15887 printf "%s\n" "#define HAVE_OPENDIR 1" >>confdefs.h
15888
15889 fi
15890 ac_fn_c_check_func "$LINENO" "readdir" "ac_cv_func_readdir"
15891 if test "x$ac_cv_func_readdir" = xyes
15892 then :
15893 printf "%s\n" "#define HAVE_READDIR 1" >>confdefs.h
15894
15895 fi
15896 ac_fn_c_check_func "$LINENO" "stat" "ac_cv_func_stat"
15897 if test "x$ac_cv_func_stat" = xyes
15898 then :
15899 printf "%s\n" "#define HAVE_STAT 1" >>confdefs.h
15900
15901 fi
15902 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
15903 if test "x$ac_cv_func_strcasecmp" = xyes
15904 then :
15905 printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
15906
15907 fi
15908 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
15909 if test "x$ac_cv_func_strdup" = xyes
15910 then :
15911 printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
15912
15913 fi
15914 ac_fn_c_check_func "$LINENO" "strlwr" "ac_cv_func_strlwr"
15915 if test "x$ac_cv_func_strlwr" = xyes
15916 then :
15917 printf "%s\n" "#define HAVE_STRLWR 1" >>confdefs.h
15918
15919 fi
15920
15921
15922 ac_fn_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
15923 if test "x$ac_cv_have_decl_stpcpy" = xyes
15924 then :
15925 ac_have_decl=1
15926 else case e in #(
15927 e) ac_have_decl=0 ;;
15928 esac
15929 fi
15930 printf "%s\n" "#define HAVE_DECL_STPCPY $ac_have_decl" >>confdefs.h
15931
15932
15933 ac_config_headers="$ac_config_headers config.h"
15934
15935
15936
15937 printf "%s\n" "#define TEX_LIVE 1" >>confdefs.h
15938
15939
15940 printf "%s\n" "#define HAVE_PCRE 0" >>confdefs.h
15941
15942
15943 printf "%s\n" "#define HAVE_POSIX_ERE 1" >>confdefs.h
15944
15945
15946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
15947 printf %s "checking for native WIN32 or MINGW32... " >&6; }
15948 if test ${kpse_cv_have_win32+y}
15949 then :
15950 printf %s "(cached) " >&6
15951 else case e in #(
15952 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15954 #ifndef WIN32
15955 choke me
15956 #endif
15957 int
15958 main (void)
15959 {
15960
15961 ;
15962 return 0;
15963 }
15964 _ACEOF
15965 if ac_fn_c_try_compile "$LINENO"
15966 then :
15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15968 /* end confdefs.h. */
15969 #ifndef __MINGW32__
15970 choke me
15971 #endif
15972 int
15973 main (void)
15974 {
15975
15976 ;
15977 return 0;
15978 }
15979 _ACEOF
15980 if ac_fn_c_try_compile "$LINENO"
15981 then :
15982 kpse_cv_have_win32=mingw32
15983 else case e in #(
15984 e) kpse_cv_have_win32=native ;;
15985 esac
15986 fi
15987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15988 else case e in #(
15989 e) kpse_cv_have_win32=no ;;
15990 esac
15991 fi
15992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15993 esac
15994 fi
15995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
15996 printf "%s\n" "$kpse_cv_have_win32" >&6; }
15997
15998 if test "x$kpse_cv_have_win32" != xno; then
15999 WIN32_TRUE=
16000 WIN32_FALSE='#'
16001 else
16002 WIN32_TRUE='#'
16003 WIN32_FALSE=
16004 fi
16005
16006
16007 if test "x$kpse_cv_have_win32" = xmingw32; then
16008 MINGW32_TRUE=
16009 MINGW32_FALSE='#'
16010 else
16011 MINGW32_TRUE='#'
16012 MINGW32_FALSE=
16013 fi
16014
16015
16016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WIN64" >&5
16017 printf %s "checking for WIN64... " >&6; }
16018 if test ${kpse_cv_have_win64+y}
16019 then :
16020 printf %s "(cached) " >&6
16021 else case e in #(
16022 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16023 /* end confdefs.h. */
16024 #ifndef _WIN64
16025 choke me
16026 #endif
16027 int
16028 main (void)
16029 {
16030
16031 ;
16032 return 0;
16033 }
16034 _ACEOF
16035 if ac_fn_c_try_compile "$LINENO"
16036 then :
16037 kpse_cv_have_win64=yes
16038 else case e in #(
16039 e) kpse_cv_have_win64=no ;;
16040 esac
16041 fi
16042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
16043 esac
16044 fi
16045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win64" >&5
16046 printf "%s\n" "$kpse_cv_have_win64" >&6; }
16047 case $kpse_cv_have_win64 in #(
16048 yes) :
16049 if test "x$kpse_cv_have_win32=xmingw"
16050 then :
16051 WIN_WRAPPER=windows_mingw_wrapper
16052 else case e in #(
16053 e) WIN_WRAPPER=windows_wrapper ;;
16054 esac
16055 fi ;; #(
16056 *) :
16057 WIN_WRAPPER=windows_wrapper ;;
16058 esac
16059
16060 if test -r "$srcdir/../../texk/texlive/$WIN_WRAPPER/runscript.exe"; then
16061 WIN32_WRAP_TRUE=
16062 WIN32_WRAP_FALSE='#'
16063 else
16064 WIN32_WRAP_TRUE='#'
16065 WIN32_WRAP_FALSE=
16066 fi
16067
16068
16069
16070 CHKTEX_TREE=chktex-src
16071
16072 PERL5='/usr/bin/env perl'
16073
16074
16075 kpse_save_CPPFLAGS=$CPPFLAGS
16076 kpse_save_LIBS=$LIBS
16077
16078 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
16079 kpse_BLD=`(cd "./../../." && pwd)`
16080 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
16081
16082 echo 'tldbg:_KPSE_USE_LIBTOOL called, libtool package version: 2.5.4' >&5
16083 : ${CONFIG_LT=./config.lt}
16084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
16085 printf "%s\n" "$as_me: creating $CONFIG_LT" >&6;}
16086 as_write_fail=0
16087 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
16088 #! $SHELL
16089 # Generated by $as_me.
16090 # Run this file to recreate a libtool stub with the current configuration.
16091 SHELL=\${CONFIG_SHELL-$SHELL}
16092 export SHELL
16093 _ASEOF
16094 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
16095 ## -------------------- ##
16096 ## M4sh Initialization. ##
16097 ## -------------------- ##
16098
16099 # Be more Bourne compatible
16100 DUALCASE=1; export DUALCASE # for MKS sh
16101 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
16102 then :
16103 emulate sh
16104 NULLCMD=:
16105 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16106 # is contrary to our usage. Disable this feature.
16107 alias -g '${1+"$@"}'='"$@"'
16108 setopt NO_GLOB_SUBST
16109 else case e in #(
16110 e) case `(set -o) 2>/dev/null` in #(
16111 *posix*) :
16112 set -o posix ;; #(
16113 *) :
16114 ;;
16115 esac ;;
16116 esac
16117 fi
16118
16119
16120
16121 # Reset variables that may have inherited troublesome values from
16122 # the environment.
16123
16124 # IFS needs to be set, to space, tab, and newline, in precisely that order.
16125 # (If _AS_PATH_WALK were called with IFS unset, it would have the
16126 # side effect of setting IFS to empty, thus disabling word splitting.)
16127 # Quoting is to prevent editors from complaining about space-tab.
16128 as_nl='
16129 '
16130 export as_nl
16131 IFS=" "" $as_nl"
16132
16133 PS1='$ '
16134 PS2='> '
16135 PS4='+ '
16136
16137 # Ensure predictable behavior from utilities with locale-dependent output.
16138 LC_ALL=C
16139 export LC_ALL
16140 LANGUAGE=C
16141 export LANGUAGE
16142
16143 # We cannot yet rely on "unset" to work, but we need these variables
16144 # to be unset--not just set to an empty or harmless value--now, to
16145 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
16146 # also avoids known problems related to "unset" and subshell syntax
16147 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
16148 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
16149 do eval test \${$as_var+y} \
16150 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16151 done
16152
16153 # Ensure that fds 0, 1, and 2 are open.
16154 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
16155 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
16156 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
16157
16158 # The user is always right.
16159 if ${PATH_SEPARATOR+false} :; then
16160 PATH_SEPARATOR=:
16161 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16162 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16163 PATH_SEPARATOR=';'
16164 }
16165 fi
16166
16167
16168 # Find who we are. Look in the path if we contain no directory separator.
16169 as_myself=
16170 case $0 in #((
16171 *[\\/]* ) as_myself=$0 ;;
16172 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16173 for as_dir in $PATH
16174 do
16175 IFS=$as_save_IFS
16176 case $as_dir in #(((
16177 '') as_dir=./ ;;
16178 */) ;;
16179 *) as_dir=$as_dir/ ;;
16180 esac
16181 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
16182 done
16183 IFS=$as_save_IFS
16184
16185 ;;
16186 esac
16187 # We did not find ourselves, most probably we were run as 'sh COMMAND'
16188 # in which case we are not to be found in the path.
16189 if test "x$as_myself" = x; then
16190 as_myself=$0
16191 fi
16192 if test ! -f "$as_myself"; then
16193 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16194 exit 1
16195 fi
16196
16197
16198
16199 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16200 # ----------------------------------------
16201 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16202 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16203 # script with STATUS, using 1 if that was 0.
16204 as_fn_error ()
16205 {
16206 as_status=$1; test $as_status -eq 0 && as_status=1
16207 if test "$4"; then
16208 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16210 fi
16211 printf "%s\n" "$as_me: error: $2" >&2
16212 as_fn_exit $as_status
16213 } # as_fn_error
16214
16215
16216 # as_fn_set_status STATUS
16217 # -----------------------
16218 # Set $? to STATUS, without forking.
16219 as_fn_set_status ()
16220 {
16221 return $1
16222 } # as_fn_set_status
16223
16224 # as_fn_exit STATUS
16225 # -----------------
16226 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16227 as_fn_exit ()
16228 {
16229 set +e
16230 as_fn_set_status $1
16231 exit $1
16232 } # as_fn_exit
16233
16234 # as_fn_unset VAR
16235 # ---------------
16236 # Portably unset VAR.
16237 as_fn_unset ()
16238 {
16239 { eval $1=; unset $1;}
16240 }
16241 as_unset=as_fn_unset
16242
16243 # as_fn_append VAR VALUE
16244 # ----------------------
16245 # Append the text in VALUE to the end of the definition contained in VAR. Take
16246 # advantage of any shell optimizations that allow amortized linear growth over
16247 # repeated appends, instead of the typical quadratic growth present in naive
16248 # implementations.
16249 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
16250 then :
16251 eval 'as_fn_append ()
16252 {
16253 eval $1+=\$2
16254 }'
16255 else case e in #(
16256 e) as_fn_append ()
16257 {
16258 eval $1=\$$1\$2
16259 } ;;
16260 esac
16261 fi # as_fn_append
16262
16263 # as_fn_arith ARG...
16264 # ------------------
16265 # Perform arithmetic evaluation on the ARGs, and store the result in the
16266 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16267 # must be portable across $(()) and expr.
16268 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
16269 then :
16270 eval 'as_fn_arith ()
16271 {
16272 as_val=$(( $* ))
16273 }'
16274 else case e in #(
16275 e) as_fn_arith ()
16276 {
16277 as_val=`expr "$@" || test $? -eq 1`
16278 } ;;
16279 esac
16280 fi # as_fn_arith
16281
16282
16283 if expr a : '\(a\)' >/dev/null 2>&1 &&
16284 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16285 as_expr=expr
16286 else
16287 as_expr=false
16288 fi
16289
16290 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16291 as_basename=basename
16292 else
16293 as_basename=false
16294 fi
16295
16296 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16297 as_dirname=dirname
16298 else
16299 as_dirname=false
16300 fi
16301
16302 as_me=`$as_basename -- "$0" ||
16303 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16304 X"$0" : 'X\(//\)$' \| \
16305 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16306 printf "%s\n" X/"$0" |
16307 sed '/^.*\/\([^/][^/]*\)\/*$/{
16308 s//\1/
16309 q
16310 }
16311 /^X\/\(\/\/\)$/{
16312 s//\1/
16313 q
16314 }
16315 /^X\/\(\/\).*/{
16316 s//\1/
16317 q
16318 }
16319 s/.*/./; q'`
16320
16321 # Avoid depending upon Character Ranges.
16322 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16323 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16324 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16325 as_cr_digits='0123456789'
16326 as_cr_alnum=$as_cr_Letters$as_cr_digits
16327
16328
16329 # Determine whether it's possible to make 'echo' print without a newline.
16330 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
16331 # for compatibility with existing Makefiles.
16332 ECHO_C= ECHO_N= ECHO_T=
16333 case `echo -n x` in #(((((
16334 -n*)
16335 case `echo 'xy\c'` in
16336 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16337 xy) ECHO_C='\c';;
16338 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16339 ECHO_T=' ';;
16340 esac;;
16341 *)
16342 ECHO_N='-n';;
16343 esac
16344
16345 # For backward compatibility with old third-party macros, we provide
16346 # the shell variables $as_echo and $as_echo_n. New code should use
16347 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16348 as_echo='printf %s\n'
16349 as_echo_n='printf %s'
16350
16351 rm -f conf$$ conf$$.exe conf$$.file
16352 if test -d conf$$.dir; then
16353 rm -f conf$$.dir/conf$$.file
16354 else
16355 rm -f conf$$.dir
16356 mkdir conf$$.dir 2>/dev/null
16357 fi
16358 if (echo >conf$$.file) 2>/dev/null; then
16359 if ln -s conf$$.file conf$$ 2>/dev/null; then
16360 as_ln_s='ln -s'
16361 # ... but there are two gotchas:
16362 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
16363 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
16364 # In both cases, we have to default to 'cp -pR'.
16365 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16366 as_ln_s='cp -pR'
16367 elif ln conf$$.file conf$$ 2>/dev/null; then
16368 as_ln_s=ln
16369 else
16370 as_ln_s='cp -pR'
16371 fi
16372 else
16373 as_ln_s='cp -pR'
16374 fi
16375 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16376 rmdir conf$$.dir 2>/dev/null
16377
16378
16379 # as_fn_mkdir_p
16380 # -------------
16381 # Create "$as_dir" as a directory, including parents if necessary.
16382 as_fn_mkdir_p ()
16383 {
16384
16385 case $as_dir in #(
16386 -*) as_dir=./$as_dir;;
16387 esac
16388 test -d "$as_dir" || eval $as_mkdir_p || {
16389 as_dirs=
16390 while :; do
16391 case $as_dir in #(
16392 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16393 *) as_qdir=$as_dir;;
16394 esac
16395 as_dirs="'$as_qdir' $as_dirs"
16396 as_dir=`$as_dirname -- "$as_dir" ||
16397 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16398 X"$as_dir" : 'X\(//\)[^/]' \| \
16399 X"$as_dir" : 'X\(//\)$' \| \
16400 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16401 printf "%s\n" X"$as_dir" |
16402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16403 s//\1/
16404 q
16405 }
16406 /^X\(\/\/\)[^/].*/{
16407 s//\1/
16408 q
16409 }
16410 /^X\(\/\/\)$/{
16411 s//\1/
16412 q
16413 }
16414 /^X\(\/\).*/{
16415 s//\1/
16416 q
16417 }
16418 s/.*/./; q'`
16419 test -d "$as_dir" && break
16420 done
16421 test -z "$as_dirs" || eval "mkdir $as_dirs"
16422 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16423
16424
16425 } # as_fn_mkdir_p
16426 if mkdir -p . 2>/dev/null; then
16427 as_mkdir_p='mkdir -p "$as_dir"'
16428 else
16429 test -d ./-p && rmdir ./-p
16430 as_mkdir_p=false
16431 fi
16432
16433
16434 # as_fn_executable_p FILE
16435 # -----------------------
16436 # Test if FILE is an executable regular file.
16437 as_fn_executable_p ()
16438 {
16439 test -f "$1" && test -x "$1"
16440 } # as_fn_executable_p
16441 as_test_x='test -x'
16442 as_executable_p=as_fn_executable_p
16443
16444 # Sed expression to map a string onto a valid CPP name.
16445 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16446 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
16447
16448 # Sed expression to map a string onto a valid variable name.
16449 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16450 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
16451
16452
16453 exec 6>&1
16454 ## --------------------------------- ##
16455 ## Main body of "$CONFIG_LT" script. ##
16456 ## --------------------------------- ##
16457 _ASEOF
16458 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16459
16460 cat >>"$CONFIG_LT" <<\_LTEOF
16461 lt_cl_silent=false
16462 exec 5>>config.log
16463 {
16464 echo
16465 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16466 ## Running $as_me. ##
16467 _ASBOX
16468 } >&5
16469
16470 lt_cl_help="\
16471 '$as_me' creates a local libtool stub from the current configuration,
16472 for use in further configure time tests before the real libtool is
16473 generated.
16474
16475 Usage: $0 [OPTIONS]
16476
16477 -h, --help print this help, then exit
16478 -V, --version print version number, then exit
16479 -q, --quiet do not print progress messages
16480 -d, --debug don't remove temporary files
16481
16482 Report bugs to <[email protected]>."
16483
16484 lt_cl_version="\
16485 ChkTeX (TeX Live) config.lt 1.7.9
16486 configured by $0, generated by GNU Autoconf 2.72.
16487
16488 Copyright (C) 2024 Free Software Foundation, Inc.
16489 This config.lt script is free software; the Free Software Foundation
16490 gives unlimited permission to copy, distribute and modify it."
16491
16492 while test 0 != $#
16493 do
16494 case $1 in
16495 --version | --v* | -V )
16496 echo "$lt_cl_version"; exit 0 ;;
16497 --help | --h* | -h )
16498 echo "$lt_cl_help"; exit 0 ;;
16499 --debug | --d* | -d )
16500 debug=: ;;
16501 --quiet | --q* | --silent | --s* | -q )
16502 lt_cl_silent=: ;;
16503
16504 -*) as_fn_error $? "unrecognized option: $1
16505 Try '$0 --help' for more information." "$LINENO" 5 ;;
16506
16507 *) as_fn_error $? "unrecognized argument: $1
16508 Try '$0 --help' for more information." "$LINENO" 5 ;;
16509 esac
16510 shift
16511 done
16512
16513 if $lt_cl_silent; then
16514 exec 6>/dev/null
16515 fi
16516 _LTEOF
16517
16518 cat >>"$CONFIG_LT" <<_LTEOF
16519
16520
16521 # The HP-UX ksh and POSIX shell print the target directory to stdout
16522 # if CDPATH is set.
16523 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16524
16525 sed_quote_subst='$sed_quote_subst'
16526 double_quote_subst='$double_quote_subst'
16527 delay_variable_subst='$delay_variable_subst'
16528 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16529 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16530 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16531 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16532 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16533 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16534 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16535 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16536 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16537 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16538 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16539 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16540 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16541 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16542 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16543 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16544 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16545 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16546 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16547 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16548 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16549 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16550 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16551 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16552 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16553 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16554 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16555 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16556 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16557 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16558 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16559 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16560 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16561 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16562 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16563 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16564 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16565 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16566 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16567 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16568 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16569 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16570 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16571 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16572 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16573 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16574 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16575 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16576 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16577 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16578 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16579 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16580 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16581 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16582 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16583 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16584 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16585 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16586 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16587 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16588 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16589 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"`'
16590 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16591 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16592 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16593 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16594 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16595 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16596 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16597 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16598 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16599 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16600 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16601 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16602 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16603 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16604 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16605 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16606 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16607 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16608 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16609 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16610 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16611 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16612 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16613 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16614 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16615 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16616 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16617 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16618 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16619 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16620 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16621 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16622 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16623 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16624 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16625 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16626 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16627 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16628 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16629 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16630 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16631 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16632 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16633 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16634 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16635 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16636 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16637 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16638 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16639 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16640 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16641 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16642 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16643 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16644 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16645 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16646 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16647 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16648 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16649 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16650 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16651 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16652 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16653 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16654 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16655 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16656 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16657 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16658 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16659 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16660 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16661 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16662 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16663 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16664 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16665 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16666
16667 LTCC='$LTCC'
16668 LTCFLAGS='$LTCFLAGS'
16669 compiler='$compiler_DEFAULT'
16670
16671 # A function that is used when there is no print builtin or printf.
16672 func_fallback_echo ()
16673 {
16674 eval 'cat <<_LTECHO_EOF
16675 \$1
16676 _LTECHO_EOF'
16677 }
16678
16679 # Quote evaled strings.
16680 for var in AS \
16681 DLLTOOL \
16682 OBJDUMP \
16683 SHELL \
16684 ECHO \
16685 PATH_SEPARATOR \
16686 SED \
16687 GREP \
16688 EGREP \
16689 FGREP \
16690 LD \
16691 NM \
16692 LN_S \
16693 lt_SP2NL \
16694 lt_NL2SP \
16695 reload_flag \
16696 FILECMD \
16697 deplibs_check_method \
16698 file_magic_cmd \
16699 file_magic_glob \
16700 want_nocaseglob \
16701 sharedlib_from_linklib_cmd \
16702 AR \
16703 archiver_list_spec \
16704 STRIP \
16705 RANLIB \
16706 CC \
16707 CFLAGS \
16708 compiler \
16709 lt_cv_sys_global_symbol_pipe \
16710 lt_cv_sys_global_symbol_to_cdecl \
16711 lt_cv_sys_global_symbol_to_import \
16712 lt_cv_sys_global_symbol_to_c_name_address \
16713 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16714 lt_cv_nm_interface \
16715 nm_file_list_spec \
16716 lt_cv_truncate_bin \
16717 lt_prog_compiler_no_builtin_flag \
16718 lt_prog_compiler_pic \
16719 lt_prog_compiler_wl \
16720 lt_prog_compiler_static \
16721 lt_cv_prog_compiler_c_o \
16722 need_locks \
16723 MANIFEST_TOOL \
16724 DSYMUTIL \
16725 NMEDIT \
16726 LIPO \
16727 OTOOL \
16728 OTOOL64 \
16729 shrext_cmds \
16730 export_dynamic_flag_spec \
16731 whole_archive_flag_spec \
16732 compiler_needs_object \
16733 with_gnu_ld \
16734 allow_undefined_flag \
16735 no_undefined_flag \
16736 hardcode_libdir_flag_spec \
16737 hardcode_libdir_separator \
16738 exclude_expsyms \
16739 include_expsyms \
16740 file_list_spec \
16741 variables_saved_for_relink \
16742 libname_spec \
16743 library_names_spec \
16744 soname_spec \
16745 install_override_mode \
16746 finish_eval \
16747 old_striplib \
16748 striplib; do
16749 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16750 *[\\\\\\\`\\"\\\$]*)
16751 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16752 ;;
16753 *)
16754 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16755 ;;
16756 esac
16757 done
16758
16759 # Double-quote double-evaled strings.
16760 for var in reload_cmds \
16761 old_postinstall_cmds \
16762 old_postuninstall_cmds \
16763 old_archive_cmds \
16764 extract_expsyms_cmds \
16765 old_archive_from_new_cmds \
16766 old_archive_from_expsyms_cmds \
16767 archive_cmds \
16768 archive_expsym_cmds \
16769 module_cmds \
16770 module_expsym_cmds \
16771 export_symbols_cmds \
16772 prelink_cmds \
16773 postlink_cmds \
16774 postinstall_cmds \
16775 postuninstall_cmds \
16776 finish_cmds \
16777 sys_lib_search_path_spec \
16778 configure_time_dlsearch_path \
16779 configure_time_lt_sys_library_path; do
16780 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16781 *[\\\\\\\`\\"\\\$]*)
16782 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16783 ;;
16784 *)
16785 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16786 ;;
16787 esac
16788 done
16789
16790 ac_aux_dir='$ac_aux_dir'
16791
16792 # See if we are running on zsh, and set the options that allow our
16793 # commands through without removal of \ escapes INIT.
16794 if test -n "\${ZSH_VERSION+set}"; then
16795 setopt NO_GLOB_SUBST
16796 fi
16797
16798
16799 PACKAGE='$PACKAGE'
16800 VERSION='$VERSION'
16801 RM='$RM'
16802 ofile='$ofile'
16803
16804
16805
16806 _LTEOF
16807
16808 cat >>"$CONFIG_LT" <<\_LTEOF
16809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
16810 printf "%s\n" "$as_me: creating $ofile" >&6;}
16811
16812
16813 # See if we are running on zsh, and set the options that allow our
16814 # commands through without removal of \ escapes.
16815 if test -n "${ZSH_VERSION+set}"; then
16816 setopt NO_GLOB_SUBST
16817 fi
16818
16819 cfgfile=${ofile}T
16820 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16821 $RM "$cfgfile"
16822
16823 cat <<_LT_EOF >> "$cfgfile"
16824 #! $SHELL
16825 # Generated automatically by $as_me ($PACKAGE) $VERSION
16826 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16827
16828 # Provide generalized library-building support services.
16829 # Written by Gordon Matzigkeit, 1996
16830
16831 # Copyright (C) 2024 Free Software Foundation, Inc.
16832 # This is free software; see the source for copying conditions. There is NO
16833 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16834
16835 # GNU Libtool is free software; you can redistribute it and/or modify
16836 # it under the terms of the GNU General Public License as published by
16837 # the Free Software Foundation; either version 2 of the License, or
16838 # (at your option) any later version.
16839 #
16840 # As a special exception to the GNU General Public License, if you
16841 # distribute this file as part of a program or library that is built
16842 # using GNU Libtool, you may include this file under the same
16843 # distribution terms that you use for the rest of that program.
16844 #
16845 # GNU Libtool is distributed in the hope that it will be useful, but
16846 # WITHOUT ANY WARRANTY; without even the implied warranty of
16847 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16848 # GNU General Public License for more details.
16849 #
16850 # You should have received a copy of the GNU General Public License
16851 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16852
16853
16854 # The names of the tagged configurations supported by this script.
16855 available_tags=''
16856
16857 # Configured defaults for sys_lib_dlsearch_path munging.
16858 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16859
16860 # ### BEGIN LIBTOOL CONFIG
16861
16862 # Which release of libtool.m4 was used?
16863 macro_version=$macro_version
16864 macro_revision=$macro_revision
16865
16866 # Assembler program.
16867 AS=$lt_AS
16868
16869 # DLL creation program.
16870 DLLTOOL=$lt_DLLTOOL
16871
16872 # Object dumper program.
16873 OBJDUMP=$lt_OBJDUMP
16874
16875 # Whether or not to build shared libraries.
16876 build_libtool_libs=$enable_shared
16877
16878 # Whether or not to build static libraries.
16879 build_old_libs=$enable_static
16880
16881 # What type of objects to build.
16882 pic_mode=$pic_mode
16883
16884 # Whether or not to optimize for fast installation.
16885 fast_install=$enable_fast_install
16886
16887 # Shared archive member basename,for filename based shared library versioning on AIX.
16888 shared_archive_member_spec=$shared_archive_member_spec
16889
16890 # Shell to use when invoking shell scripts.
16891 SHELL=$lt_SHELL
16892
16893 # An echo program that protects backslashes.
16894 ECHO=$lt_ECHO
16895
16896 # The PATH separator for the build system.
16897 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16898
16899 # The host system.
16900 host_alias=$host_alias
16901 host=$host
16902 host_os=$host_os
16903
16904 # The build system.
16905 build_alias=$build_alias
16906 build=$build
16907 build_os=$build_os
16908
16909 # A sed program that does not truncate output.
16910 SED=$lt_SED
16911
16912 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16913 Xsed="\$SED -e 1s/^X//"
16914
16915 # A grep program that handles long lines.
16916 GREP=$lt_GREP
16917
16918 # An ERE matcher.
16919 EGREP=$lt_EGREP
16920
16921 # A literal string matcher.
16922 FGREP=$lt_FGREP
16923
16924 # A BSD- or MS-compatible name lister.
16925 NM=$lt_NM
16926
16927 # Whether we need soft or hard links.
16928 LN_S=$lt_LN_S
16929
16930 # What is the maximum length of a command?
16931 max_cmd_len=$max_cmd_len
16932
16933 # Object file suffix (normally "o").
16934 objext=$ac_objext
16935
16936 # Executable file suffix (normally "").
16937 exeext=$exeext
16938
16939 # whether the shell understands "unset".
16940 lt_unset=$lt_unset
16941
16942 # turn spaces into newlines.
16943 SP2NL=$lt_lt_SP2NL
16944
16945 # turn newlines into spaces.
16946 NL2SP=$lt_lt_NL2SP
16947
16948 # convert \$build file names to \$host format.
16949 to_host_file_cmd=$lt_cv_to_host_file_cmd
16950
16951 # convert \$build files to toolchain format.
16952 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16953
16954 # A file(cmd) program that detects file types.
16955 FILECMD=$lt_FILECMD
16956
16957 # Method to check whether dependent libraries are shared objects.
16958 deplibs_check_method=$lt_deplibs_check_method
16959
16960 # Command to use when deplibs_check_method = "file_magic".
16961 file_magic_cmd=$lt_file_magic_cmd
16962
16963 # How to find potential files when deplibs_check_method = "file_magic".
16964 file_magic_glob=$lt_file_magic_glob
16965
16966 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16967 want_nocaseglob=$lt_want_nocaseglob
16968
16969 # Command to associate shared and link libraries.
16970 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16971
16972 # The archiver.
16973 AR=$lt_AR
16974
16975 # Flags to create an archive (by configure).
16976 lt_ar_flags=$lt_ar_flags
16977
16978 # Flags to create an archive.
16979 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16980
16981 # How to feed a file listing to the archiver.
16982 archiver_list_spec=$lt_archiver_list_spec
16983
16984 # A symbol stripping program.
16985 STRIP=$lt_STRIP
16986
16987 # Commands used to install an old-style archive.
16988 RANLIB=$lt_RANLIB
16989 old_postinstall_cmds=$lt_old_postinstall_cmds
16990 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16991
16992 # Whether to use a lock for old archive extraction.
16993 lock_old_archive_extraction=$lock_old_archive_extraction
16994
16995 # A C compiler.
16996 LTCC=$lt_CC
16997
16998 # LTCC compiler flags.
16999 LTCFLAGS=$lt_CFLAGS
17000
17001 # Take the output of nm and produce a listing of raw symbols and C names.
17002 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17003
17004 # Transform the output of nm in a proper C declaration.
17005 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17006
17007 # Transform the output of nm into a list of symbols to manually relocate.
17008 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17009
17010 # Transform the output of nm in a C name address pair.
17011 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17012
17013 # Transform the output of nm in a C name address pair when lib prefix is needed.
17014 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17015
17016 # The name lister interface.
17017 nm_interface=$lt_lt_cv_nm_interface
17018
17019 # Specify filename containing input files for \$NM.
17020 nm_file_list_spec=$lt_nm_file_list_spec
17021
17022 # The root where to search for dependent libraries,and where our libraries should be installed.
17023 lt_sysroot=$lt_sysroot
17024
17025 # Command to truncate a binary pipe.
17026 lt_truncate_bin=$lt_lt_cv_truncate_bin
17027
17028 # The name of the directory that contains temporary libtool files.
17029 objdir=$objdir
17030
17031 # Used to examine libraries when file_magic_cmd begins with "file".
17032 MAGIC_CMD=$MAGIC_CMD
17033
17034 # Must we lock files when doing compilation?
17035 need_locks=$lt_need_locks
17036
17037 # Manifest tool.
17038 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17039
17040 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17041 DSYMUTIL=$lt_DSYMUTIL
17042
17043 # Tool to change global to local symbols on Mac OS X.
17044 NMEDIT=$lt_NMEDIT
17045
17046 # Tool to manipulate fat objects and archives on Mac OS X.
17047 LIPO=$lt_LIPO
17048
17049 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17050 OTOOL=$lt_OTOOL
17051
17052 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17053 OTOOL64=$lt_OTOOL64
17054
17055 # Old archive suffix (normally "a").
17056 libext=$libext
17057
17058 # Shared library suffix (normally ".so").
17059 shrext_cmds=$lt_shrext_cmds
17060
17061 # The commands to extract the exported symbol list from a shared archive.
17062 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17063
17064 # Variables whose values should be saved in libtool wrapper scripts and
17065 # restored at link time.
17066 variables_saved_for_relink=$lt_variables_saved_for_relink
17067
17068 # Do we need the "lib" prefix for modules?
17069 need_lib_prefix=$need_lib_prefix
17070
17071 # Do we need a version for libraries?
17072 need_version=$need_version
17073
17074 # Library versioning type.
17075 version_type=$version_type
17076
17077 # Shared library runtime path variable.
17078 runpath_var=$runpath_var
17079
17080 # Shared library path variable.
17081 shlibpath_var=$shlibpath_var
17082
17083 # Is shlibpath searched before the hard-coded library search path?
17084 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17085
17086 # Format of library name prefix.
17087 libname_spec=$lt_libname_spec
17088
17089 # List of archive names. First name is the real one, the rest are links.
17090 # The last name is the one that the linker finds with -lNAME
17091 library_names_spec=$lt_library_names_spec
17092
17093 # The coded name of the library, if different from the real name.
17094 soname_spec=$lt_soname_spec
17095
17096 # Permission mode override for installation of shared libraries.
17097 install_override_mode=$lt_install_override_mode
17098
17099 # Command to use after installation of a shared archive.
17100 postinstall_cmds=$lt_postinstall_cmds
17101
17102 # Command to use after uninstallation of a shared archive.
17103 postuninstall_cmds=$lt_postuninstall_cmds
17104
17105 # Commands used to finish a libtool library installation in a directory.
17106 finish_cmds=$lt_finish_cmds
17107
17108 # As "finish_cmds", except a single script fragment to be evaled but
17109 # not shown.
17110 finish_eval=$lt_finish_eval
17111
17112 # Whether we should hardcode library paths into libraries.
17113 hardcode_into_libs=$hardcode_into_libs
17114
17115 # Compile-time system search path for libraries.
17116 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17117
17118 # Detected run-time system search path for libraries.
17119 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17120
17121 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17122 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17123
17124 # Whether dlopen is supported.
17125 dlopen_support=$enable_dlopen
17126
17127 # Whether dlopen of programs is supported.
17128 dlopen_self=$enable_dlopen_self
17129
17130 # Whether dlopen of statically linked programs is supported.
17131 dlopen_self_static=$enable_dlopen_self_static
17132
17133 # Commands to strip libraries.
17134 old_striplib=$lt_old_striplib
17135 striplib=$lt_striplib
17136
17137
17138 # The linker used to build libraries.
17139 LD=$lt_LD
17140
17141 # How to create reloadable object files.
17142 reload_flag=$lt_reload_flag
17143 reload_cmds=$lt_reload_cmds
17144
17145 # Commands used to build an old-style archive.
17146 old_archive_cmds=$lt_old_archive_cmds
17147
17148 # A language specific compiler.
17149 CC=$lt_compiler
17150
17151 # Is the compiler the GNU compiler?
17152 with_gcc=$GCC
17153
17154 # Compiler flag to turn off builtin functions.
17155 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17156
17157 # Additional compiler flags for building library objects.
17158 pic_flag=$lt_lt_prog_compiler_pic
17159
17160 # How to pass a linker flag through the compiler.
17161 wl=$lt_lt_prog_compiler_wl
17162
17163 # Compiler flag to prevent dynamic linking.
17164 link_static_flag=$lt_lt_prog_compiler_static
17165
17166 # Does compiler simultaneously support -c and -o options?
17167 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17168
17169 # Whether or not to add -lc for building shared libraries.
17170 build_libtool_need_lc=$archive_cmds_need_lc
17171
17172 # Whether or not to disallow shared libs when runtime libs are static.
17173 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17174
17175 # Compiler flag to allow reflexive dlopens.
17176 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17177
17178 # Compiler flag to generate shared objects directly from archives.
17179 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17180
17181 # Whether the compiler copes with passing no objects directly.
17182 compiler_needs_object=$lt_compiler_needs_object
17183
17184 # Create an old-style archive from a shared archive.
17185 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17186
17187 # Create a temporary old-style archive to link instead of a shared archive.
17188 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17189
17190 # Commands used to build a shared archive.
17191 archive_cmds=$lt_archive_cmds
17192 archive_expsym_cmds=$lt_archive_expsym_cmds
17193
17194 # Commands used to build a loadable module if different from building
17195 # a shared archive.
17196 module_cmds=$lt_module_cmds
17197 module_expsym_cmds=$lt_module_expsym_cmds
17198
17199 # Whether we are building with GNU ld or not.
17200 with_gnu_ld=$lt_with_gnu_ld
17201
17202 # Flag that allows shared libraries with undefined symbols to be built.
17203 allow_undefined_flag=$lt_allow_undefined_flag
17204
17205 # Flag that enforces no undefined symbols.
17206 no_undefined_flag=$lt_no_undefined_flag
17207
17208 # Flag to hardcode \$libdir into a binary during linking.
17209 # This must work even if \$libdir does not exist
17210 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17211
17212 # Whether we need a single "-rpath" flag with a separated argument.
17213 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17214
17215 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17216 # DIR into the resulting binary.
17217 hardcode_direct=$hardcode_direct
17218
17219 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17220 # DIR into the resulting binary and the resulting library dependency is
17221 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
17222 # library is relocated.
17223 hardcode_direct_absolute=$hardcode_direct_absolute
17224
17225 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17226 # into the resulting binary.
17227 hardcode_minus_L=$hardcode_minus_L
17228
17229 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17230 # into the resulting binary.
17231 hardcode_shlibpath_var=$hardcode_shlibpath_var
17232
17233 # Set to "yes" if building a shared library automatically hardcodes DIR
17234 # into the library and all subsequent libraries and executables linked
17235 # against it.
17236 hardcode_automatic=$hardcode_automatic
17237
17238 # Set to yes if linker adds runtime paths of dependent libraries
17239 # to runtime path list.
17240 inherit_rpath=$inherit_rpath
17241
17242 # Whether libtool must link a program against all its dependency libraries.
17243 link_all_deplibs=$link_all_deplibs
17244
17245 # Set to "yes" if exported symbols are required.
17246 always_export_symbols=$always_export_symbols
17247
17248 # The commands to list exported symbols.
17249 export_symbols_cmds=$lt_export_symbols_cmds
17250
17251 # Symbols that should not be listed in the preloaded symbols.
17252 exclude_expsyms=$lt_exclude_expsyms
17253
17254 # Symbols that must always be exported.
17255 include_expsyms=$lt_include_expsyms
17256
17257 # Commands necessary for linking programs (against libraries) with templates.
17258 prelink_cmds=$lt_prelink_cmds
17259
17260 # Commands necessary for finishing linking programs.
17261 postlink_cmds=$lt_postlink_cmds
17262
17263 # Specify filename containing input files.
17264 file_list_spec=$lt_file_list_spec
17265
17266 # How to hardcode a shared library path into an executable.
17267 hardcode_action=$hardcode_action
17268
17269 # ### END LIBTOOL CONFIG
17270
17271 _LT_EOF
17272
17273 cat <<'_LT_EOF' >> "$cfgfile"
17274
17275 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17276
17277 # func_munge_path_list VARIABLE PATH
17278 # -----------------------------------
17279 # VARIABLE is name of variable containing _space_ separated list of
17280 # directories to be munged by the contents of PATH, which is string
17281 # having a format:
17282 # "DIR[:DIR]:"
17283 # string "DIR[ DIR]" will be prepended to VARIABLE
17284 # ":DIR[:DIR]"
17285 # string "DIR[ DIR]" will be appended to VARIABLE
17286 # "DIRP[:DIRP]::[DIRA:]DIRA"
17287 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17288 # "DIRA[ DIRA]" will be appended to VARIABLE
17289 # "DIR[:DIR]"
17290 # VARIABLE will be replaced by "DIR[ DIR]"
17291 func_munge_path_list ()
17292 {
17293 case x$2 in
17294 x)
17295 ;;
17296 *:)
17297 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17298 ;;
17299 x:*)
17300 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17301 ;;
17302 *::*)
17303 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17304 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17305 ;;
17306 *)
17307 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17308 ;;
17309 esac
17310 }
17311
17312
17313 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17314 func_cc_basename ()
17315 {
17316 for cc_temp in $*""; do
17317 case $cc_temp in
17318 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17319 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17320 \-*) ;;
17321 *) break;;
17322 esac
17323 done
17324 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17325 }
17326
17327
17328 # ### END FUNCTIONS SHARED WITH CONFIGURE
17329
17330 _LT_EOF
17331
17332 case $host_os in
17333 aix3*)
17334 cat <<\_LT_EOF >> "$cfgfile"
17335 # AIX sometimes has problems with the GCC collect2 program. For some
17336 # reason, if we set the COLLECT_NAMES environment variable, the problems
17337 # vanish in a puff of smoke.
17338 if test set != "${COLLECT_NAMES+set}"; then
17339 COLLECT_NAMES=
17340 export COLLECT_NAMES
17341 fi
17342 _LT_EOF
17343 ;;
17344 esac
17345
17346
17347
17348 ltmain=$ac_aux_dir/ltmain.sh
17349
17350
17351 # We use sed instead of cat because bash on DJGPP gets confused if
17352 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17353 # text mode, it properly converts lines to CR/LF. This bash problem
17354 # is reportedly fixed, but why not run on old versions too?
17355 $SED '$q' "$ltmain" >> "$cfgfile" \
17356 || (rm -f "$cfgfile"; exit 1)
17357
17358 mv -f "$cfgfile" "$ofile" ||
17359 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17360 chmod +x "$ofile"
17361
17362
17363 as_fn_exit 0
17364 _LTEOF
17365 chmod +x "$CONFIG_LT"
17366
17367 # configure is writing to config.log, but config.lt does its own redirection,
17368 # appending to config.log, which fails on DOS, as config.log is still kept
17369 # open by configure. Here we exec the FD to /dev/null, effectively closing
17370 # config.log, so it can be properly (re)opened and appended to by config.lt.
17371 lt_cl_success=:
17372 test yes = "$silent" &&
17373 lt_config_lt_args="$lt_config_lt_args --quiet"
17374 exec 5>/dev/null
17375 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17376 exec 5>>config.log
17377 $lt_cl_success || as_fn_exit 1
17378
17379 #
17380 #
17381 ac_ext=c
17382 ac_cpp='$CPP $CPPFLAGS'
17383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17386 ac_link="./libtool --mode=link --tag=CC $ac_link"
17387
17388 if test -n "$ac_tool_prefix"; then
17389 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17390 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17392 printf %s "checking for $ac_word... " >&6; }
17393 if test ${ac_cv_prog_PKG_CONFIG+y}
17394 then :
17395 printf %s "(cached) " >&6
17396 else case e in #(
17397 e) if test -n "$PKG_CONFIG"; then
17398 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
17399 else
17400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17401 for as_dir in $PATH
17402 do
17403 IFS=$as_save_IFS
17404 case $as_dir in #(((
17405 '') as_dir=./ ;;
17406 */) ;;
17407 *) as_dir=$as_dir/ ;;
17408 esac
17409 for ac_exec_ext in '' $ac_executable_extensions; do
17410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17411 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17413 break 2
17414 fi
17415 done
17416 done
17417 IFS=$as_save_IFS
17418
17419 fi ;;
17420 esac
17421 fi
17422 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17423 if test -n "$PKG_CONFIG"; then
17424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17425 printf "%s\n" "$PKG_CONFIG" >&6; }
17426 else
17427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17428 printf "%s\n" "no" >&6; }
17429 fi
17430
17431
17432 fi
17433 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17434 ac_ct_PKG_CONFIG=$PKG_CONFIG
17435 # Extract the first word of "pkg-config", so it can be a program name with args.
17436 set dummy pkg-config; ac_word=$2
17437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17438 printf %s "checking for $ac_word... " >&6; }
17439 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17440 then :
17441 printf %s "(cached) " >&6
17442 else case e in #(
17443 e) if test -n "$ac_ct_PKG_CONFIG"; then
17444 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17445 else
17446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17447 for as_dir in $PATH
17448 do
17449 IFS=$as_save_IFS
17450 case $as_dir in #(((
17451 '') as_dir=./ ;;
17452 */) ;;
17453 *) as_dir=$as_dir/ ;;
17454 esac
17455 for ac_exec_ext in '' $ac_executable_extensions; do
17456 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17457 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17459 break 2
17460 fi
17461 done
17462 done
17463 IFS=$as_save_IFS
17464
17465 fi ;;
17466 esac
17467 fi
17468 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17469 if test -n "$ac_ct_PKG_CONFIG"; then
17470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17471 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17472 else
17473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17474 printf "%s\n" "no" >&6; }
17475 fi
17476
17477 if test "x$ac_ct_PKG_CONFIG" = x; then
17478 PKG_CONFIG="false"
17479 else
17480 case $cross_compiling:$ac_tool_warned in
17481 yes:)
17482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17483 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17484 ac_tool_warned=yes ;;
17485 esac
17486 PKG_CONFIG=$ac_ct_PKG_CONFIG
17487 fi
17488 else
17489 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17490 fi
17491
17492 ##tldbg _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags.
17493 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
17494 ##tldbg _KPSE_LIB_FLAGS_TL: kpathsea (kpathsea) lt.
17495
17496 # Check whether --with-system-kpathsea was given.
17497 if test ${with_system_kpathsea+y}
17498 then :
17499 withval=$with_system_kpathsea;
17500 fi
17501 if test "x$with_system_kpathsea" = xyes; then
17502 if $PKG_CONFIG kpathsea; then
17503 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
17504 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
17505 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17506 as_fn_error $? "did not find kpathsea" "$LINENO" 5
17507 fi
17508 else
17509 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
17510 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
17511 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
17512 KPATHSEA_RULE='# Rebuild libkpathsea
17513 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
17514 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
17515 ${top_builddir}/../kpathsea/paths.h:
17516 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17517 fi
17518
17519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
17520 printf %s "checking if libkpathsea supports debugging... " >&6; }
17521 if test ${kpse_cv_kpse_debug+y}
17522 then :
17523 printf %s "(cached) " >&6
17524 else case e in #(
17525 e) eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17526 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17527
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 #include <kpathsea/kpathsea.h>
17531 int
17532 main (void)
17533 {
17534 FILE *f = fopen("f", "r")
17535 ;
17536 return 0;
17537 }
17538 _ACEOF
17539 if ac_fn_c_try_link "$LINENO"
17540 then :
17541 kpse_cv_kpse_debug=yes
17542 else case e in #(
17543 e) kpse_cv_kpse_debug=no ;;
17544 esac
17545 fi
17546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17547 conftest$ac_exeext conftest.$ac_ext
17548 CPPFLAGS=$kpse_save_CPPFLAGS
17549 LIBS=$kpse_save_LIBS
17550 ;;
17551 esac
17552 fi
17553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
17554 printf "%s\n" "$kpse_cv_kpse_debug" >&6; }
17555 if test "x$kpse_cv_kpse_debug" != xyes
17556 then :
17557 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
17558 fi
17559
17560
17561 ac_config_files="$ac_config_files Makefile ChkTeX.t:chktex-src/ChkTeX.tex.in"
17562
17563 ac_config_files="$ac_config_files deweb.pl:chktex-src/deweb.in"
17564
17565
17566 cat >confcache <<\_ACEOF
17567 # This file is a shell script that caches the results of configure
17568 # tests run on this system so they can be shared between configure
17569 # scripts and configure runs, see configure's option --config-cache.
17570 # It is not useful on other systems. If it contains results you don't
17571 # want to keep, you may remove or edit it.
17572 #
17573 # config.status only pays attention to the cache file if you give it
17574 # the --recheck option to rerun configure.
17575 #
17576 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
17577 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
17578 # following values.
17579
17580 _ACEOF
17581
17582 # The following way of writing the cache mishandles newlines in values,
17583 # but we know of no workaround that is simple, portable, and efficient.
17584 # So, we kill variables containing newlines.
17585 # Ultrix sh set writes to stderr and can't be redirected directly,
17586 # and sets the high bit in the cache file unless we assign to the vars.
17587 (
17588 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17589 eval ac_val=\$$ac_var
17590 case $ac_val in #(
17591 *${as_nl}*)
17592 case $ac_var in #(
17593 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17594 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17595 esac
17596 case $ac_var in #(
17597 _ | IFS | as_nl) ;; #(
17598 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17599 *) { eval $ac_var=; unset $ac_var;} ;;
17600 esac ;;
17601 esac
17602 done
17603
17604 (set) 2>&1 |
17605 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17606 *${as_nl}ac_space=\ *)
17607 # 'set' does not quote correctly, so add quotes: double-quote
17608 # substitution turns \\\\ into \\, and sed turns \\ into \.
17609 sed -n \
17610 "s/'/'\\\\''/g;
17611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17612 ;; #(
17613 *)
17614 # 'set' quotes correctly as required by POSIX, so do not add quotes.
17615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17616 ;;
17617 esac |
17618 sort
17619 ) |
17620 sed '
17621 /^ac_cv_env_/b end
17622 t clear
17623 :clear
17624 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
17625 t end
17626 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17627 :end' >>confcache
17628 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17629 if test -w "$cache_file"; then
17630 if test "x$cache_file" != "x/dev/null"; then
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17632 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
17633 if test ! -f "$cache_file" || test -h "$cache_file"; then
17634 cat confcache >"$cache_file"
17635 else
17636 case $cache_file in #(
17637 */* | ?:*)
17638 mv -f confcache "$cache_file"$$ &&
17639 mv -f "$cache_file"$$ "$cache_file" ;; #(
17640 *)
17641 mv -f confcache "$cache_file" ;;
17642 esac
17643 fi
17644 fi
17645 else
17646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17647 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
17648 fi
17649 fi
17650 rm -f confcache
17651
17652 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17653 # Let make expand exec_prefix.
17654 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17655
17656 DEFS=-DHAVE_CONFIG_H
17657
17658 ac_libobjs=
17659 ac_ltlibobjs=
17660 U=
17661 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17662 # 1. Remove the extension, and $U if already installed.
17663 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17664 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
17665 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17666 # will be set to the directory where LIBOBJS objects are built.
17667 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17668 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17669 done
17670 LIBOBJS=$ac_libobjs
17671
17672 LTLIBOBJS=$ac_ltlibobjs
17673
17674
17675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17676 printf %s "checking that generated files are newer than configure... " >&6; }
17677 if test -n "$am_sleep_pid"; then
17678 # Hide warnings about reused PIDs.
17679 wait $am_sleep_pid 2>/dev/null
17680 fi
17681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
17682 printf "%s\n" "done" >&6; }
17683 case $enable_silent_rules in # (((
17684 yes) AM_DEFAULT_VERBOSITY=0;;
17685 no) AM_DEFAULT_VERBOSITY=1;;
17686 esac
17687 if test $am_cv_make_support_nested_variables = yes; then
17688 AM_V='$(V)'
17689 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17690 else
17691 AM_V=$AM_DEFAULT_VERBOSITY
17692 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17693 fi
17694
17695 if test -n "$EXEEXT"; then
17696 am__EXEEXT_TRUE=
17697 am__EXEEXT_FALSE='#'
17698 else
17699 am__EXEEXT_TRUE='#'
17700 am__EXEEXT_FALSE=
17701 fi
17702
17703 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17704 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17706 fi
17707 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17708 as_fn_error $? "conditional \"AMDEP\" was never defined.
17709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17710 fi
17711 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17712 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17714 fi
17715 # Check whether --enable-year2038 was given.
17716 if test ${enable_year2038+y}
17717 then :
17718 enableval=$enable_year2038;
17719 fi
17720
17721 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
17722 as_fn_error $? "conditional \"WIN32\" was never defined.
17723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17724 fi
17725 if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
17726 as_fn_error $? "conditional \"MINGW32\" was never defined.
17727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17728 fi
17729 if test -z "${WIN32_WRAP_TRUE}" && test -z "${WIN32_WRAP_FALSE}"; then
17730 as_fn_error $? "conditional \"WIN32_WRAP\" was never defined.
17731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17732 fi
17733
17734 : "${CONFIG_STATUS=./config.status}"
17735 ac_write_fail=0
17736 ac_clean_files_save=$ac_clean_files
17737 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17739 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17740 as_write_fail=0
17741 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17742 #! $SHELL
17743 # Generated by $as_me.
17744 # Run this file to recreate the current configuration.
17745 # Compiler output produced by configure, useful for debugging
17746 # configure, is in config.log if it exists.
17747
17748 debug=false
17749 ac_cs_recheck=false
17750 ac_cs_silent=false
17751
17752 SHELL=\${CONFIG_SHELL-$SHELL}
17753 export SHELL
17754 _ASEOF
17755 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17756 ## -------------------- ##
17757 ## M4sh Initialization. ##
17758 ## -------------------- ##
17759
17760 # Be more Bourne compatible
17761 DUALCASE=1; export DUALCASE # for MKS sh
17762 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17763 then :
17764 emulate sh
17765 NULLCMD=:
17766 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17767 # is contrary to our usage. Disable this feature.
17768 alias -g '${1+"$@"}'='"$@"'
17769 setopt NO_GLOB_SUBST
17770 else case e in #(
17771 e) case `(set -o) 2>/dev/null` in #(
17772 *posix*) :
17773 set -o posix ;; #(
17774 *) :
17775 ;;
17776 esac ;;
17777 esac
17778 fi
17779
17780
17781
17782 # Reset variables that may have inherited troublesome values from
17783 # the environment.
17784
17785 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17786 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17787 # side effect of setting IFS to empty, thus disabling word splitting.)
17788 # Quoting is to prevent editors from complaining about space-tab.
17789 as_nl='
17790 '
17791 export as_nl
17792 IFS=" "" $as_nl"
17793
17794 PS1='$ '
17795 PS2='> '
17796 PS4='+ '
17797
17798 # Ensure predictable behavior from utilities with locale-dependent output.
17799 LC_ALL=C
17800 export LC_ALL
17801 LANGUAGE=C
17802 export LANGUAGE
17803
17804 # We cannot yet rely on "unset" to work, but we need these variables
17805 # to be unset--not just set to an empty or harmless value--now, to
17806 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17807 # also avoids known problems related to "unset" and subshell syntax
17808 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17809 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17810 do eval test \${$as_var+y} \
17811 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17812 done
17813
17814 # Ensure that fds 0, 1, and 2 are open.
17815 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17816 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17817 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17818
17819 # The user is always right.
17820 if ${PATH_SEPARATOR+false} :; then
17821 PATH_SEPARATOR=:
17822 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17823 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17824 PATH_SEPARATOR=';'
17825 }
17826 fi
17827
17828
17829 # Find who we are. Look in the path if we contain no directory separator.
17830 as_myself=
17831 case $0 in #((
17832 *[\\/]* ) as_myself=$0 ;;
17833 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17834 for as_dir in $PATH
17835 do
17836 IFS=$as_save_IFS
17837 case $as_dir in #(((
17838 '') as_dir=./ ;;
17839 */) ;;
17840 *) as_dir=$as_dir/ ;;
17841 esac
17842 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17843 done
17844 IFS=$as_save_IFS
17845
17846 ;;
17847 esac
17848 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17849 # in which case we are not to be found in the path.
17850 if test "x$as_myself" = x; then
17851 as_myself=$0
17852 fi
17853 if test ! -f "$as_myself"; then
17854 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17855 exit 1
17856 fi
17857
17858
17859
17860 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17861 # ----------------------------------------
17862 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17863 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17864 # script with STATUS, using 1 if that was 0.
17865 as_fn_error ()
17866 {
17867 as_status=$1; test $as_status -eq 0 && as_status=1
17868 if test "$4"; then
17869 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17871 fi
17872 printf "%s\n" "$as_me: error: $2" >&2
17873 as_fn_exit $as_status
17874 } # as_fn_error
17875
17876
17877 # as_fn_set_status STATUS
17878 # -----------------------
17879 # Set $? to STATUS, without forking.
17880 as_fn_set_status ()
17881 {
17882 return $1
17883 } # as_fn_set_status
17884
17885 # as_fn_exit STATUS
17886 # -----------------
17887 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17888 as_fn_exit ()
17889 {
17890 set +e
17891 as_fn_set_status $1
17892 exit $1
17893 } # as_fn_exit
17894
17895 # as_fn_unset VAR
17896 # ---------------
17897 # Portably unset VAR.
17898 as_fn_unset ()
17899 {
17900 { eval $1=; unset $1;}
17901 }
17902 as_unset=as_fn_unset
17903
17904 # as_fn_append VAR VALUE
17905 # ----------------------
17906 # Append the text in VALUE to the end of the definition contained in VAR. Take
17907 # advantage of any shell optimizations that allow amortized linear growth over
17908 # repeated appends, instead of the typical quadratic growth present in naive
17909 # implementations.
17910 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17911 then :
17912 eval 'as_fn_append ()
17913 {
17914 eval $1+=\$2
17915 }'
17916 else case e in #(
17917 e) as_fn_append ()
17918 {
17919 eval $1=\$$1\$2
17920 } ;;
17921 esac
17922 fi # as_fn_append
17923
17924 # as_fn_arith ARG...
17925 # ------------------
17926 # Perform arithmetic evaluation on the ARGs, and store the result in the
17927 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17928 # must be portable across $(()) and expr.
17929 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17930 then :
17931 eval 'as_fn_arith ()
17932 {
17933 as_val=$(( $* ))
17934 }'
17935 else case e in #(
17936 e) as_fn_arith ()
17937 {
17938 as_val=`expr "$@" || test $? -eq 1`
17939 } ;;
17940 esac
17941 fi # as_fn_arith
17942
17943
17944 if expr a : '\(a\)' >/dev/null 2>&1 &&
17945 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17946 as_expr=expr
17947 else
17948 as_expr=false
17949 fi
17950
17951 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17952 as_basename=basename
17953 else
17954 as_basename=false
17955 fi
17956
17957 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17958 as_dirname=dirname
17959 else
17960 as_dirname=false
17961 fi
17962
17963 as_me=`$as_basename -- "$0" ||
17964 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17965 X"$0" : 'X\(//\)$' \| \
17966 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17967 printf "%s\n" X/"$0" |
17968 sed '/^.*\/\([^/][^/]*\)\/*$/{
17969 s//\1/
17970 q
17971 }
17972 /^X\/\(\/\/\)$/{
17973 s//\1/
17974 q
17975 }
17976 /^X\/\(\/\).*/{
17977 s//\1/
17978 q
17979 }
17980 s/.*/./; q'`
17981
17982 # Avoid depending upon Character Ranges.
17983 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17984 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17985 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17986 as_cr_digits='0123456789'
17987 as_cr_alnum=$as_cr_Letters$as_cr_digits
17988
17989
17990 # Determine whether it's possible to make 'echo' print without a newline.
17991 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17992 # for compatibility with existing Makefiles.
17993 ECHO_C= ECHO_N= ECHO_T=
17994 case `echo -n x` in #(((((
17995 -n*)
17996 case `echo 'xy\c'` in
17997 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17998 xy) ECHO_C='\c';;
17999 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18000 ECHO_T=' ';;
18001 esac;;
18002 *)
18003 ECHO_N='-n';;
18004 esac
18005
18006 # For backward compatibility with old third-party macros, we provide
18007 # the shell variables $as_echo and $as_echo_n. New code should use
18008 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
18009 as_echo='printf %s\n'
18010 as_echo_n='printf %s'
18011
18012 rm -f conf$$ conf$$.exe conf$$.file
18013 if test -d conf$$.dir; then
18014 rm -f conf$$.dir/conf$$.file
18015 else
18016 rm -f conf$$.dir
18017 mkdir conf$$.dir 2>/dev/null
18018 fi
18019 if (echo >conf$$.file) 2>/dev/null; then
18020 if ln -s conf$$.file conf$$ 2>/dev/null; then
18021 as_ln_s='ln -s'
18022 # ... but there are two gotchas:
18023 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
18024 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
18025 # In both cases, we have to default to 'cp -pR'.
18026 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18027 as_ln_s='cp -pR'
18028 elif ln conf$$.file conf$$ 2>/dev/null; then
18029 as_ln_s=ln
18030 else
18031 as_ln_s='cp -pR'
18032 fi
18033 else
18034 as_ln_s='cp -pR'
18035 fi
18036 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18037 rmdir conf$$.dir 2>/dev/null
18038
18039
18040 # as_fn_mkdir_p
18041 # -------------
18042 # Create "$as_dir" as a directory, including parents if necessary.
18043 as_fn_mkdir_p ()
18044 {
18045
18046 case $as_dir in #(
18047 -*) as_dir=./$as_dir;;
18048 esac
18049 test -d "$as_dir" || eval $as_mkdir_p || {
18050 as_dirs=
18051 while :; do
18052 case $as_dir in #(
18053 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18054 *) as_qdir=$as_dir;;
18055 esac
18056 as_dirs="'$as_qdir' $as_dirs"
18057 as_dir=`$as_dirname -- "$as_dir" ||
18058 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18059 X"$as_dir" : 'X\(//\)[^/]' \| \
18060 X"$as_dir" : 'X\(//\)$' \| \
18061 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18062 printf "%s\n" X"$as_dir" |
18063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18064 s//\1/
18065 q
18066 }
18067 /^X\(\/\/\)[^/].*/{
18068 s//\1/
18069 q
18070 }
18071 /^X\(\/\/\)$/{
18072 s//\1/
18073 q
18074 }
18075 /^X\(\/\).*/{
18076 s//\1/
18077 q
18078 }
18079 s/.*/./; q'`
18080 test -d "$as_dir" && break
18081 done
18082 test -z "$as_dirs" || eval "mkdir $as_dirs"
18083 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18084
18085
18086 } # as_fn_mkdir_p
18087 if mkdir -p . 2>/dev/null; then
18088 as_mkdir_p='mkdir -p "$as_dir"'
18089 else
18090 test -d ./-p && rmdir ./-p
18091 as_mkdir_p=false
18092 fi
18093
18094
18095 # as_fn_executable_p FILE
18096 # -----------------------
18097 # Test if FILE is an executable regular file.
18098 as_fn_executable_p ()
18099 {
18100 test -f "$1" && test -x "$1"
18101 } # as_fn_executable_p
18102 as_test_x='test -x'
18103 as_executable_p=as_fn_executable_p
18104
18105 # Sed expression to map a string onto a valid CPP name.
18106 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
18107 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
18108
18109 # Sed expression to map a string onto a valid variable name.
18110 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
18111 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
18112
18113
18114 exec 6>&1
18115 ## ----------------------------------- ##
18116 ## Main body of $CONFIG_STATUS script. ##
18117 ## ----------------------------------- ##
18118 _ASEOF
18119 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18120
18121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18122 # Save the log message, to keep $0 and so on meaningful, and to
18123 # report actual input values of CONFIG_FILES etc. instead of their
18124 # values after options handling.
18125 ac_log="
18126 This file was extended by ChkTeX (TeX Live) $as_me 1.7.9, which was
18127 generated by GNU Autoconf 2.72. Invocation command line was
18128
18129 CONFIG_FILES = $CONFIG_FILES
18130 CONFIG_HEADERS = $CONFIG_HEADERS
18131 CONFIG_LINKS = $CONFIG_LINKS
18132 CONFIG_COMMANDS = $CONFIG_COMMANDS
18133 $ $0 $@
18134
18135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18136 "
18137
18138 _ACEOF
18139
18140 case $ac_config_files in *"
18141 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18142 esac
18143
18144 case $ac_config_headers in *"
18145 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18146 esac
18147
18148
18149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18150 # Files that config.status was made for.
18151 config_files="$ac_config_files"
18152 config_headers="$ac_config_headers"
18153 config_commands="$ac_config_commands"
18154
18155 _ACEOF
18156
18157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18158 ac_cs_usage="\
18159 '$as_me' instantiates files and other configuration actions
18160 from templates according to the current configuration. Unless the files
18161 and actions are specified as TAGs, all are instantiated by default.
18162
18163 Usage: $0 [OPTION]... [TAG]...
18164
18165 -h, --help print this help, then exit
18166 -V, --version print version number and configuration settings, then exit
18167 --config print configuration, then exit
18168 -q, --quiet, --silent
18169 do not print progress messages
18170 -d, --debug don't remove temporary files
18171 --recheck update $as_me by reconfiguring in the same conditions
18172 --file=FILE[:TEMPLATE]
18173 instantiate the configuration file FILE
18174 --header=FILE[:TEMPLATE]
18175 instantiate the configuration header FILE
18176
18177 Configuration files:
18178 $config_files
18179
18180 Configuration headers:
18181 $config_headers
18182
18183 Configuration commands:
18184 $config_commands
18185
18186 Report bugs to <[email protected]>."
18187
18188 _ACEOF
18189 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
18190 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
18191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18192 ac_cs_config='$ac_cs_config_escaped'
18193 ac_cs_version="\\
18194 ChkTeX (TeX Live) config.status 1.7.9
18195 configured by $0, generated by GNU Autoconf 2.72,
18196 with options \\"\$ac_cs_config\\"
18197
18198 Copyright (C) 2023 Free Software Foundation, Inc.
18199 This config.status script is free software; the Free Software Foundation
18200 gives unlimited permission to copy, distribute and modify it."
18201
18202 ac_pwd='$ac_pwd'
18203 srcdir='$srcdir'
18204 INSTALL='$INSTALL'
18205 MKDIR_P='$MKDIR_P'
18206 AWK='$AWK'
18207 test -n "\$AWK" || AWK=awk
18208 _ACEOF
18209
18210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18211 # The default lists apply if the user does not specify any file.
18212 ac_need_defaults=:
18213 while test $# != 0
18214 do
18215 case $1 in
18216 --*=?*)
18217 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18218 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18219 ac_shift=:
18220 ;;
18221 --*=)
18222 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18223 ac_optarg=
18224 ac_shift=:
18225 ;;
18226 *)
18227 ac_option=$1
18228 ac_optarg=$2
18229 ac_shift=shift
18230 ;;
18231 esac
18232
18233 case $ac_option in
18234 # Handling of the options.
18235 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18236 ac_cs_recheck=: ;;
18237 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18238 printf "%s\n" "$ac_cs_version"; exit ;;
18239 --config | --confi | --conf | --con | --co | --c )
18240 printf "%s\n" "$ac_cs_config"; exit ;;
18241 --debug | --debu | --deb | --de | --d | -d )
18242 debug=: ;;
18243 --file | --fil | --fi | --f )
18244 $ac_shift
18245 case $ac_optarg in
18246 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18247 '') as_fn_error $? "missing file argument" ;;
18248 esac
18249 as_fn_append CONFIG_FILES " '$ac_optarg'"
18250 ac_need_defaults=false;;
18251 --header | --heade | --head | --hea )
18252 $ac_shift
18253 case $ac_optarg in
18254 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18255 esac
18256 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18257 ac_need_defaults=false;;
18258 --he | --h)
18259 # Conflict between --help and --header
18260 as_fn_error $? "ambiguous option: '$1'
18261 Try '$0 --help' for more information.";;
18262 --help | --hel | -h )
18263 printf "%s\n" "$ac_cs_usage"; exit ;;
18264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18265 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18266 ac_cs_silent=: ;;
18267
18268 # This is an error.
18269 -*) as_fn_error $? "unrecognized option: '$1'
18270 Try '$0 --help' for more information." ;;
18271
18272 *) as_fn_append ac_config_targets " $1"
18273 ac_need_defaults=false ;;
18274
18275 esac
18276 shift
18277 done
18278
18279 ac_configure_extra_args=
18280
18281 if $ac_cs_silent; then
18282 exec 6>/dev/null
18283 ac_configure_extra_args="$ac_configure_extra_args --silent"
18284 fi
18285
18286 _ACEOF
18287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18288 if \$ac_cs_recheck; then
18289 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18290 shift
18291 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
18292 CONFIG_SHELL='$SHELL'
18293 export CONFIG_SHELL
18294 exec "\$@"
18295 fi
18296
18297 _ACEOF
18298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18299 exec 5>>config.log
18300 {
18301 echo
18302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18303 ## Running $as_me. ##
18304 _ASBOX
18305 printf "%s\n" "$ac_log"
18306 } >&5
18307
18308 _ACEOF
18309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18310 #
18311 # INIT-COMMANDS
18312 #
18313 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18314
18315
18316 # The HP-UX ksh and POSIX shell print the target directory to stdout
18317 # if CDPATH is set.
18318 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18319
18320 sed_quote_subst='$sed_quote_subst'
18321 double_quote_subst='$double_quote_subst'
18322 delay_variable_subst='$delay_variable_subst'
18323 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18324 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18325 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18326 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18327 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18328 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18329 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18330 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18331 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18332 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18333 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18334 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18335 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18336 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18337 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18338 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18339 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18340 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18341 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18342 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18343 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18344 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18345 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18346 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18347 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18348 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18349 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18350 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18351 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18352 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18353 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18354 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18355 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18356 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18357 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18358 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18359 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18360 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
18361 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18362 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18363 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18364 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18365 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18366 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18367 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18368 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18369 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18370 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18371 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18372 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18373 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18374 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18375 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18376 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18377 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18378 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18379 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18380 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18381 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18382 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18383 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18384 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"`'
18385 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18386 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18387 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18388 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18389 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18390 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18391 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18392 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18393 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18394 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18395 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18396 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18397 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18398 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18399 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18400 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18401 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18402 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18403 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18404 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18405 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18406 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18407 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18408 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18409 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18410 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18411 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18412 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18413 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18414 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18415 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18416 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18417 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18418 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18419 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18420 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18421 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18422 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18423 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18424 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18425 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18426 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18427 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18428 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18429 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18430 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18431 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18432 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18433 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18434 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18435 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18436 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18437 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18438 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18439 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18440 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18441 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18442 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18443 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18444 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18445 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18446 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18447 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18448 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18449 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18450 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18451 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18452 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18453 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18454 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18455 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18456 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18457 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18458 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18459 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18460 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18461
18462 LTCC='$LTCC'
18463 LTCFLAGS='$LTCFLAGS'
18464 compiler='$compiler_DEFAULT'
18465
18466 # A function that is used when there is no print builtin or printf.
18467 func_fallback_echo ()
18468 {
18469 eval 'cat <<_LTECHO_EOF
18470 \$1
18471 _LTECHO_EOF'
18472 }
18473
18474 # Quote evaled strings.
18475 for var in AS \
18476 DLLTOOL \
18477 OBJDUMP \
18478 SHELL \
18479 ECHO \
18480 PATH_SEPARATOR \
18481 SED \
18482 GREP \
18483 EGREP \
18484 FGREP \
18485 LD \
18486 NM \
18487 LN_S \
18488 lt_SP2NL \
18489 lt_NL2SP \
18490 reload_flag \
18491 FILECMD \
18492 deplibs_check_method \
18493 file_magic_cmd \
18494 file_magic_glob \
18495 want_nocaseglob \
18496 sharedlib_from_linklib_cmd \
18497 AR \
18498 archiver_list_spec \
18499 STRIP \
18500 RANLIB \
18501 CC \
18502 CFLAGS \
18503 compiler \
18504 lt_cv_sys_global_symbol_pipe \
18505 lt_cv_sys_global_symbol_to_cdecl \
18506 lt_cv_sys_global_symbol_to_import \
18507 lt_cv_sys_global_symbol_to_c_name_address \
18508 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18509 lt_cv_nm_interface \
18510 nm_file_list_spec \
18511 lt_cv_truncate_bin \
18512 lt_prog_compiler_no_builtin_flag \
18513 lt_prog_compiler_pic \
18514 lt_prog_compiler_wl \
18515 lt_prog_compiler_static \
18516 lt_cv_prog_compiler_c_o \
18517 need_locks \
18518 MANIFEST_TOOL \
18519 DSYMUTIL \
18520 NMEDIT \
18521 LIPO \
18522 OTOOL \
18523 OTOOL64 \
18524 shrext_cmds \
18525 export_dynamic_flag_spec \
18526 whole_archive_flag_spec \
18527 compiler_needs_object \
18528 with_gnu_ld \
18529 allow_undefined_flag \
18530 no_undefined_flag \
18531 hardcode_libdir_flag_spec \
18532 hardcode_libdir_separator \
18533 exclude_expsyms \
18534 include_expsyms \
18535 file_list_spec \
18536 variables_saved_for_relink \
18537 libname_spec \
18538 library_names_spec \
18539 soname_spec \
18540 install_override_mode \
18541 finish_eval \
18542 old_striplib \
18543 striplib; do
18544 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18545 *[\\\\\\\`\\"\\\$]*)
18546 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18547 ;;
18548 *)
18549 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18550 ;;
18551 esac
18552 done
18553
18554 # Double-quote double-evaled strings.
18555 for var in reload_cmds \
18556 old_postinstall_cmds \
18557 old_postuninstall_cmds \
18558 old_archive_cmds \
18559 extract_expsyms_cmds \
18560 old_archive_from_new_cmds \
18561 old_archive_from_expsyms_cmds \
18562 archive_cmds \
18563 archive_expsym_cmds \
18564 module_cmds \
18565 module_expsym_cmds \
18566 export_symbols_cmds \
18567 prelink_cmds \
18568 postlink_cmds \
18569 postinstall_cmds \
18570 postuninstall_cmds \
18571 finish_cmds \
18572 sys_lib_search_path_spec \
18573 configure_time_dlsearch_path \
18574 configure_time_lt_sys_library_path; do
18575 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18576 *[\\\\\\\`\\"\\\$]*)
18577 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18578 ;;
18579 *)
18580 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18581 ;;
18582 esac
18583 done
18584
18585 ac_aux_dir='$ac_aux_dir'
18586
18587 # See if we are running on zsh, and set the options that allow our
18588 # commands through without removal of \ escapes INIT.
18589 if test -n "\${ZSH_VERSION+set}"; then
18590 setopt NO_GLOB_SUBST
18591 fi
18592
18593
18594 PACKAGE='$PACKAGE'
18595 VERSION='$VERSION'
18596 RM='$RM'
18597 ofile='$ofile'
18598
18599 ac_aux_dir='$ac_aux_dir'
18600
18601
18602
18603 _ACEOF
18604
18605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18606
18607 # Handling of arguments.
18608 for ac_config_target in $ac_config_targets
18609 do
18610 case $ac_config_target in
18611 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18612 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18613 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18614 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18615 "ChkTeX.t") CONFIG_FILES="$CONFIG_FILES ChkTeX.t:chktex-src/ChkTeX.tex.in" ;;
18616 "deweb.pl") CONFIG_FILES="$CONFIG_FILES deweb.pl:chktex-src/deweb.in" ;;
18617
18618 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
18619 esac
18620 done
18621
18622
18623 # If the user did not use the arguments to specify the items to instantiate,
18624 # then the envvar interface is used. Set only those that are not.
18625 # We use the long form for the default assignment because of an extremely
18626 # bizarre bug on SunOS 4.1.3.
18627 if $ac_need_defaults; then
18628 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18629 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18630 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18631 fi
18632
18633 # Have a temporary directory for convenience. Make it in the build tree
18634 # simply because there is no reason against having it here, and in addition,
18635 # creating and moving files from /tmp can sometimes cause problems.
18636 # Hook for its removal unless debugging.
18637 # Note that there is a small window in which the directory will not be cleaned:
18638 # after its creation but before its name has been assigned to '$tmp'.
18639 $debug ||
18640 {
18641 tmp= ac_tmp=
18642 trap 'exit_status=$?
18643 : "${ac_tmp:=$tmp}"
18644 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18645 ' 0
18646 trap 'as_fn_exit 1' 1 2 13 15
18647 }
18648 # Create a (secure) tmp directory for tmp files.
18649
18650 {
18651 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18652 test -d "$tmp"
18653 } ||
18654 {
18655 tmp=./conf$$-$RANDOM
18656 (umask 077 && mkdir "$tmp")
18657 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18658 ac_tmp=$tmp
18659
18660 # Set up the scripts for CONFIG_FILES section.
18661 # No need to generate them if there are no CONFIG_FILES.
18662 # This happens for instance with './config.status config.h'.
18663 if test -n "$CONFIG_FILES"; then
18664
18665
18666 ac_cr=`echo X | tr X '\015'`
18667 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18668 # But we know of no other shell where ac_cr would be empty at this
18669 # point, so we can use a bashism as a fallback.
18670 if test "x$ac_cr" = x; then
18671 eval ac_cr=\$\'\\r\'
18672 fi
18673 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18674 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18675 ac_cs_awk_cr='\\r'
18676 else
18677 ac_cs_awk_cr=$ac_cr
18678 fi
18679
18680 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18681 _ACEOF
18682
18683
18684 {
18685 echo "cat >conf$$subs.awk <<_ACEOF" &&
18686 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18687 echo "_ACEOF"
18688 } >conf$$subs.sh ||
18689 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18690 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18691 ac_delim='%!_!# '
18692 for ac_last_try in false false false false false :; do
18693 . ./conf$$subs.sh ||
18694 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18695
18696 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18697 if test $ac_delim_n = $ac_delim_num; then
18698 break
18699 elif $ac_last_try; then
18700 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18701 else
18702 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18703 fi
18704 done
18705 rm -f conf$$subs.sh
18706
18707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18708 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18709 _ACEOF
18710 sed -n '
18711 h
18712 s/^/S["/; s/!.*/"]=/
18713 p
18714 g
18715 s/^[^!]*!//
18716 :repl
18717 t repl
18718 s/'"$ac_delim"'$//
18719 t delim
18720 :nl
18721 h
18722 s/\(.\{148\}\)..*/\1/
18723 t more1
18724 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18725 p
18726 n
18727 b repl
18728 :more1
18729 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18730 p
18731 g
18732 s/.\{148\}//
18733 t nl
18734 :delim
18735 h
18736 s/\(.\{148\}\)..*/\1/
18737 t more2
18738 s/["\\]/\\&/g; s/^/"/; s/$/"/
18739 p
18740 b
18741 :more2
18742 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18743 p
18744 g
18745 s/.\{148\}//
18746 t delim
18747 ' <conf$$subs.awk | sed '
18748 /^[^""]/{
18749 N
18750 s/\n//
18751 }
18752 ' >>$CONFIG_STATUS || ac_write_fail=1
18753 rm -f conf$$subs.awk
18754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18755 _ACAWK
18756 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18757 for (key in S) S_is_set[key] = 1
18758 FS = ""
18759
18760 }
18761 {
18762 line = $ 0
18763 nfields = split(line, field, "@")
18764 substed = 0
18765 len = length(field[1])
18766 for (i = 2; i < nfields; i++) {
18767 key = field[i]
18768 keylen = length(key)
18769 if (S_is_set[key]) {
18770 value = S[key]
18771 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18772 len += length(value) + length(field[++i])
18773 substed = 1
18774 } else
18775 len += 1 + keylen
18776 }
18777
18778 print line
18779 }
18780
18781 _ACAWK
18782 _ACEOF
18783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18784 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18785 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18786 else
18787 cat
18788 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18789 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18790 _ACEOF
18791
18792 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18793 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18794 # trailing colons and then remove the whole line if VPATH becomes empty
18795 # (actually we leave an empty line to preserve line numbers).
18796 if test "x$srcdir" = x.; then
18797 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18798 h
18799 s///
18800 s/^/:/
18801 s/[ ]*$/:/
18802 s/:\$(srcdir):/:/g
18803 s/:\${srcdir}:/:/g
18804 s/:@srcdir@:/:/g
18805 s/^:*//
18806 s/:*$//
18807 x
18808 s/\(=[ ]*\).*/\1/
18809 G
18810 s/\n//
18811 s/^[^=]*=[ ]*$//
18812 }'
18813 fi
18814
18815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18816 fi # test -n "$CONFIG_FILES"
18817
18818 # Set up the scripts for CONFIG_HEADERS section.
18819 # No need to generate them if there are no CONFIG_HEADERS.
18820 # This happens for instance with './config.status Makefile'.
18821 if test -n "$CONFIG_HEADERS"; then
18822 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18823 BEGIN {
18824 _ACEOF
18825
18826 # Transform confdefs.h into an awk script 'defines.awk', embedded as
18827 # here-document in config.status, that substitutes the proper values into
18828 # config.h.in to produce config.h.
18829
18830 # Create a delimiter string that does not exist in confdefs.h, to ease
18831 # handling of long lines.
18832 ac_delim='%!_!# '
18833 for ac_last_try in false false :; do
18834 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18835 if test -z "$ac_tt"; then
18836 break
18837 elif $ac_last_try; then
18838 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18839 else
18840 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18841 fi
18842 done
18843
18844 # For the awk script, D is an array of macro values keyed by name,
18845 # likewise P contains macro parameters if any. Preserve backslash
18846 # newline sequences.
18847
18848 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18849 sed -n '
18850 s/.\{148\}/&'"$ac_delim"'/g
18851 t rset
18852 :rset
18853 s/^[ ]*#[ ]*define[ ][ ]*/ /
18854 t def
18855 d
18856 :def
18857 s/\\$//
18858 t bsnl
18859 s/["\\]/\\&/g
18860 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18861 D["\1"]=" \3"/p
18862 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18863 d
18864 :bsnl
18865 s/["\\]/\\&/g
18866 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18867 D["\1"]=" \3\\\\\\n"\\/p
18868 t cont
18869 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18870 t cont
18871 d
18872 :cont
18873 n
18874 s/.\{148\}/&'"$ac_delim"'/g
18875 t clear
18876 :clear
18877 s/\\$//
18878 t bsnlc
18879 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18880 d
18881 :bsnlc
18882 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18883 b cont
18884 ' <confdefs.h | sed '
18885 s/'"$ac_delim"'/"\\\
18886 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18887
18888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18889 for (key in D) D_is_set[key] = 1
18890 FS = ""
18891 }
18892 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18893 line = \$ 0
18894 split(line, arg, " ")
18895 if (arg[1] == "#") {
18896 defundef = arg[2]
18897 mac1 = arg[3]
18898 } else {
18899 defundef = substr(arg[1], 2)
18900 mac1 = arg[2]
18901 }
18902 split(mac1, mac2, "(") #)
18903 macro = mac2[1]
18904 prefix = substr(line, 1, index(line, defundef) - 1)
18905 if (D_is_set[macro]) {
18906 # Preserve the white space surrounding the "#".
18907 print prefix "define", macro P[macro] D[macro]
18908 next
18909 } else {
18910 # Replace #undef with comments. This is necessary, for example,
18911 # in the case of _POSIX_SOURCE, which is predefined and required
18912 # on some systems where configure will not decide to define it.
18913 if (defundef == "undef") {
18914 print "/*", prefix defundef, macro, "*/"
18915 next
18916 }
18917 }
18918 }
18919 { print }
18920 _ACAWK
18921 _ACEOF
18922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18923 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18924 fi # test -n "$CONFIG_HEADERS"
18925
18926
18927 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18928 shift
18929 for ac_tag
18930 do
18931 case $ac_tag in
18932 :[FHLC]) ac_mode=$ac_tag; continue;;
18933 esac
18934 case $ac_mode$ac_tag in
18935 :[FHL]*:*);;
18936 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
18937 :[FH]-) ac_tag=-:-;;
18938 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18939 esac
18940 ac_save_IFS=$IFS
18941 IFS=:
18942 set x $ac_tag
18943 IFS=$ac_save_IFS
18944 shift
18945 ac_file=$1
18946 shift
18947
18948 case $ac_mode in
18949 :L) ac_source=$1;;
18950 :[FH])
18951 ac_file_inputs=
18952 for ac_f
18953 do
18954 case $ac_f in
18955 -) ac_f="$ac_tmp/stdin";;
18956 *) # Look for the file first in the build tree, then in the source tree
18957 # (if the path is not absolute). The absolute path cannot be DOS-style,
18958 # because $ac_f cannot contain ':'.
18959 test -f "$ac_f" ||
18960 case $ac_f in
18961 [\\/$]*) false;;
18962 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18963 esac ||
18964 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
18965 esac
18966 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18967 as_fn_append ac_file_inputs " '$ac_f'"
18968 done
18969
18970 # Let's still pretend it is 'configure' which instantiates (i.e., don't
18971 # use $as_me), people would be surprised to read:
18972 # /* config.h. Generated by config.status. */
18973 configure_input='Generated from '`
18974 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18975 `' by configure.'
18976 if test x"$ac_file" != x-; then
18977 configure_input="$ac_file. $configure_input"
18978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18979 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18980 fi
18981 # Neutralize special characters interpreted by sed in replacement strings.
18982 case $configure_input in #(
18983 *\&* | *\|* | *\\* )
18984 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18985 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18986 *) ac_sed_conf_input=$configure_input;;
18987 esac
18988
18989 case $ac_tag in
18990 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18991 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18992 esac
18993 ;;
18994 esac
18995
18996 ac_dir=`$as_dirname -- "$ac_file" ||
18997 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18998 X"$ac_file" : 'X\(//\)[^/]' \| \
18999 X"$ac_file" : 'X\(//\)$' \| \
19000 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19001 printf "%s\n" X"$ac_file" |
19002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19003 s//\1/
19004 q
19005 }
19006 /^X\(\/\/\)[^/].*/{
19007 s//\1/
19008 q
19009 }
19010 /^X\(\/\/\)$/{
19011 s//\1/
19012 q
19013 }
19014 /^X\(\/\).*/{
19015 s//\1/
19016 q
19017 }
19018 s/.*/./; q'`
19019 as_dir="$ac_dir"; as_fn_mkdir_p
19020 ac_builddir=.
19021
19022 case "$ac_dir" in
19023 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19024 *)
19025 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
19026 # A ".." for each directory in $ac_dir_suffix.
19027 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19028 case $ac_top_builddir_sub in
19029 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19030 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19031 esac ;;
19032 esac
19033 ac_abs_top_builddir=$ac_pwd
19034 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19035 # for backward compatibility:
19036 ac_top_builddir=$ac_top_build_prefix
19037
19038 case $srcdir in
19039 .) # We are building in place.
19040 ac_srcdir=.
19041 ac_top_srcdir=$ac_top_builddir_sub
19042 ac_abs_top_srcdir=$ac_pwd ;;
19043 [\\/]* | ?:[\\/]* ) # Absolute name.
19044 ac_srcdir=$srcdir$ac_dir_suffix;
19045 ac_top_srcdir=$srcdir
19046 ac_abs_top_srcdir=$srcdir ;;
19047 *) # Relative name.
19048 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19049 ac_top_srcdir=$ac_top_build_prefix$srcdir
19050 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19051 esac
19052 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19053
19054
19055 case $ac_mode in
19056 :F)
19057 #
19058 # CONFIG_FILE
19059 #
19060
19061 case $INSTALL in
19062 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19063 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19064 esac
19065 ac_MKDIR_P=$MKDIR_P
19066 case $MKDIR_P in
19067 [\\/$]* | ?:[\\/]* ) ;;
19068 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19069 esac
19070 _ACEOF
19071
19072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19073 # If the template does not know about datarootdir, expand it.
19074 # FIXME: This hack should be removed a few years after 2.60.
19075 ac_datarootdir_hack=; ac_datarootdir_seen=
19076 ac_sed_dataroot='
19077 /datarootdir/ {
19078 p
19079 q
19080 }
19081 /@datadir@/p
19082 /@docdir@/p
19083 /@infodir@/p
19084 /@localedir@/p
19085 /@mandir@/p'
19086 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19087 *datarootdir*) ac_datarootdir_seen=yes;;
19088 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19090 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19091 _ACEOF
19092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19093 ac_datarootdir_hack='
19094 s&@datadir@&$datadir&g
19095 s&@docdir@&$docdir&g
19096 s&@infodir@&$infodir&g
19097 s&@localedir@&$localedir&g
19098 s&@mandir@&$mandir&g
19099 s&\\\${datarootdir}&$datarootdir&g' ;;
19100 esac
19101 _ACEOF
19102
19103 # Neutralize VPATH when '$srcdir' = '.'.
19104 # Shell code in configure.ac might set extrasub.
19105 # FIXME: do we really want to maintain this feature?
19106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19107 ac_sed_extra="$ac_vpsub
19108 $extrasub
19109 _ACEOF
19110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19111 :t
19112 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19113 s|@configure_input@|$ac_sed_conf_input|;t t
19114 s&@top_builddir@&$ac_top_builddir_sub&;t t
19115 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19116 s&@srcdir@&$ac_srcdir&;t t
19117 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19118 s&@top_srcdir@&$ac_top_srcdir&;t t
19119 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19120 s&@builddir@&$ac_builddir&;t t
19121 s&@abs_builddir@&$ac_abs_builddir&;t t
19122 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19123 s&@INSTALL@&$ac_INSTALL&;t t
19124 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19125 $ac_datarootdir_hack
19126 "
19127 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19128 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19129
19130 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19131 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19132 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19133 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19135 which seems to be undefined. Please make sure it is defined" >&5
19136 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
19137 which seems to be undefined. Please make sure it is defined" >&2;}
19138
19139 rm -f "$ac_tmp/stdin"
19140 case $ac_file in
19141 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19142 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19143 esac \
19144 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19145 ;;
19146 :H)
19147 #
19148 # CONFIG_HEADER
19149 #
19150 if test x"$ac_file" != x-; then
19151 {
19152 printf "%s\n" "/* $configure_input */" >&1 \
19153 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19154 } >"$ac_tmp/config.h" \
19155 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19156 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19158 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
19159 else
19160 rm -f "$ac_file"
19161 mv "$ac_tmp/config.h" "$ac_file" \
19162 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19163 fi
19164 else
19165 printf "%s\n" "/* $configure_input */" >&1 \
19166 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19167 || as_fn_error $? "could not create -" "$LINENO" 5
19168 fi
19169 # Compute "$ac_file"'s index in $config_headers.
19170 _am_arg="$ac_file"
19171 _am_stamp_count=1
19172 for _am_header in $config_headers :; do
19173 case $_am_header in
19174 $_am_arg | $_am_arg:* )
19175 break ;;
19176 * )
19177 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19178 esac
19179 done
19180 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19181 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19182 X"$_am_arg" : 'X\(//\)[^/]' \| \
19183 X"$_am_arg" : 'X\(//\)$' \| \
19184 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19185 printf "%s\n" X"$_am_arg" |
19186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19187 s//\1/
19188 q
19189 }
19190 /^X\(\/\/\)[^/].*/{
19191 s//\1/
19192 q
19193 }
19194 /^X\(\/\/\)$/{
19195 s//\1/
19196 q
19197 }
19198 /^X\(\/\).*/{
19199 s//\1/
19200 q
19201 }
19202 s/.*/./; q'`/stamp-h$_am_stamp_count
19203 ;;
19204
19205 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19206 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
19207 ;;
19208 esac
19209
19210
19211 case $ac_file$ac_mode in
19212 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19213 # Older Autoconf quotes --file arguments for eval, but not when files
19214 # are listed without --file. Let's play safe and only enable the eval
19215 # if we detect the quoting.
19216 # TODO: see whether this extra hack can be removed once we start
19217 # requiring Autoconf 2.70 or later.
19218 case $CONFIG_FILES in #(
19219 *\'*) :
19220 eval set x "$CONFIG_FILES" ;; #(
19221 *) :
19222 set x $CONFIG_FILES ;; #(
19223 *) :
19224 ;;
19225 esac
19226 shift
19227 # Used to flag and report bootstrapping failures.
19228 am_rc=0
19229 for am_mf
19230 do
19231 # Strip MF so we end up with the name of the file.
19232 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
19233 # Check whether this is an Automake generated Makefile which includes
19234 # dependency-tracking related rules and includes.
19235 # Grep'ing the whole file directly is not great: AIX grep has a line
19236 # limit of 2048, but all sed's we know have understand at least 4000.
19237 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19238 || continue
19239 am_dirpart=`$as_dirname -- "$am_mf" ||
19240 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19241 X"$am_mf" : 'X\(//\)[^/]' \| \
19242 X"$am_mf" : 'X\(//\)$' \| \
19243 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19244 printf "%s\n" X"$am_mf" |
19245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19246 s//\1/
19247 q
19248 }
19249 /^X\(\/\/\)[^/].*/{
19250 s//\1/
19251 q
19252 }
19253 /^X\(\/\/\)$/{
19254 s//\1/
19255 q
19256 }
19257 /^X\(\/\).*/{
19258 s//\1/
19259 q
19260 }
19261 s/.*/./; q'`
19262 am_filepart=`$as_basename -- "$am_mf" ||
19263 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19264 X"$am_mf" : 'X\(//\)$' \| \
19265 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19266 printf "%s\n" X/"$am_mf" |
19267 sed '/^.*\/\([^/][^/]*\)\/*$/{
19268 s//\1/
19269 q
19270 }
19271 /^X\/\(\/\/\)$/{
19272 s//\1/
19273 q
19274 }
19275 /^X\/\(\/\).*/{
19276 s//\1/
19277 q
19278 }
19279 s/.*/./; q'`
19280 { echo "$as_me:$LINENO: cd "$am_dirpart" \
19281 && sed -e '/# am--include-marker/d' "$am_filepart" \
19282 | $MAKE -f - am--depfiles" >&5
19283 (cd "$am_dirpart" \
19284 && sed -e '/# am--include-marker/d' "$am_filepart" \
19285 | $MAKE -f - am--depfiles) >&5 2>&5
19286 ac_status=$?
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); } || am_rc=$?
19289 done
19290 if test $am_rc -ne 0; then
19291 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
19292 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
19293 as_fn_error $? "Something went wrong bootstrapping makefile fragments
19294 for automatic dependency tracking. If GNU make was not used, consider
19295 re-running the configure script with MAKE=\"gmake\" (or whatever is
19296 necessary). You can also try re-running configure with the
19297 '--disable-dependency-tracking' option to at least be able to build
19298 the package (albeit without support for automatic dependency tracking).
19299 See 'config.log' for more details" "$LINENO" 5; }
19300 fi
19301 { am_dirpart=; unset am_dirpart;}
19302 { am_filepart=; unset am_filepart;}
19303 { am_mf=; unset am_mf;}
19304 { am_rc=; unset am_rc;}
19305 rm -f conftest-deps.mk
19306 }
19307 ;;
19308 "libtool":C)
19309
19310 # See if we are running on zsh, and set the options that allow our
19311 # commands through without removal of \ escapes.
19312 if test -n "${ZSH_VERSION+set}"; then
19313 setopt NO_GLOB_SUBST
19314 fi
19315
19316 cfgfile=${ofile}T
19317 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19318 $RM "$cfgfile"
19319
19320 cat <<_LT_EOF >> "$cfgfile"
19321 #! $SHELL
19322 # Generated automatically by $as_me ($PACKAGE) $VERSION
19323 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19324
19325 # Provide generalized library-building support services.
19326 # Written by Gordon Matzigkeit, 1996
19327
19328 # Copyright (C) 2024 Free Software Foundation, Inc.
19329 # This is free software; see the source for copying conditions. There is NO
19330 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19331
19332 # GNU Libtool is free software; you can redistribute it and/or modify
19333 # it under the terms of the GNU General Public License as published by
19334 # the Free Software Foundation; either version 2 of the License, or
19335 # (at your option) any later version.
19336 #
19337 # As a special exception to the GNU General Public License, if you
19338 # distribute this file as part of a program or library that is built
19339 # using GNU Libtool, you may include this file under the same
19340 # distribution terms that you use for the rest of that program.
19341 #
19342 # GNU Libtool is distributed in the hope that it will be useful, but
19343 # WITHOUT ANY WARRANTY; without even the implied warranty of
19344 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19345 # GNU General Public License for more details.
19346 #
19347 # You should have received a copy of the GNU General Public License
19348 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19349
19350
19351 # The names of the tagged configurations supported by this script.
19352 available_tags=''
19353
19354 # Configured defaults for sys_lib_dlsearch_path munging.
19355 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19356
19357 # ### BEGIN LIBTOOL CONFIG
19358
19359 # Which release of libtool.m4 was used?
19360 macro_version=$macro_version
19361 macro_revision=$macro_revision
19362
19363 # Assembler program.
19364 AS=$lt_AS
19365
19366 # DLL creation program.
19367 DLLTOOL=$lt_DLLTOOL
19368
19369 # Object dumper program.
19370 OBJDUMP=$lt_OBJDUMP
19371
19372 # Whether or not to build shared libraries.
19373 build_libtool_libs=$enable_shared
19374
19375 # Whether or not to build static libraries.
19376 build_old_libs=$enable_static
19377
19378 # What type of objects to build.
19379 pic_mode=$pic_mode
19380
19381 # Whether or not to optimize for fast installation.
19382 fast_install=$enable_fast_install
19383
19384 # Shared archive member basename,for filename based shared library versioning on AIX.
19385 shared_archive_member_spec=$shared_archive_member_spec
19386
19387 # Shell to use when invoking shell scripts.
19388 SHELL=$lt_SHELL
19389
19390 # An echo program that protects backslashes.
19391 ECHO=$lt_ECHO
19392
19393 # The PATH separator for the build system.
19394 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19395
19396 # The host system.
19397 host_alias=$host_alias
19398 host=$host
19399 host_os=$host_os
19400
19401 # The build system.
19402 build_alias=$build_alias
19403 build=$build
19404 build_os=$build_os
19405
19406 # A sed program that does not truncate output.
19407 SED=$lt_SED
19408
19409 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19410 Xsed="\$SED -e 1s/^X//"
19411
19412 # A grep program that handles long lines.
19413 GREP=$lt_GREP
19414
19415 # An ERE matcher.
19416 EGREP=$lt_EGREP
19417
19418 # A literal string matcher.
19419 FGREP=$lt_FGREP
19420
19421 # A BSD- or MS-compatible name lister.
19422 NM=$lt_NM
19423
19424 # Whether we need soft or hard links.
19425 LN_S=$lt_LN_S
19426
19427 # What is the maximum length of a command?
19428 max_cmd_len=$max_cmd_len
19429
19430 # Object file suffix (normally "o").
19431 objext=$ac_objext
19432
19433 # Executable file suffix (normally "").
19434 exeext=$exeext
19435
19436 # whether the shell understands "unset".
19437 lt_unset=$lt_unset
19438
19439 # turn spaces into newlines.
19440 SP2NL=$lt_lt_SP2NL
19441
19442 # turn newlines into spaces.
19443 NL2SP=$lt_lt_NL2SP
19444
19445 # convert \$build file names to \$host format.
19446 to_host_file_cmd=$lt_cv_to_host_file_cmd
19447
19448 # convert \$build files to toolchain format.
19449 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19450
19451 # A file(cmd) program that detects file types.
19452 FILECMD=$lt_FILECMD
19453
19454 # Method to check whether dependent libraries are shared objects.
19455 deplibs_check_method=$lt_deplibs_check_method
19456
19457 # Command to use when deplibs_check_method = "file_magic".
19458 file_magic_cmd=$lt_file_magic_cmd
19459
19460 # How to find potential files when deplibs_check_method = "file_magic".
19461 file_magic_glob=$lt_file_magic_glob
19462
19463 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19464 want_nocaseglob=$lt_want_nocaseglob
19465
19466 # Command to associate shared and link libraries.
19467 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19468
19469 # The archiver.
19470 AR=$lt_AR
19471
19472 # Flags to create an archive (by configure).
19473 lt_ar_flags=$lt_ar_flags
19474
19475 # Flags to create an archive.
19476 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19477
19478 # How to feed a file listing to the archiver.
19479 archiver_list_spec=$lt_archiver_list_spec
19480
19481 # A symbol stripping program.
19482 STRIP=$lt_STRIP
19483
19484 # Commands used to install an old-style archive.
19485 RANLIB=$lt_RANLIB
19486 old_postinstall_cmds=$lt_old_postinstall_cmds
19487 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19488
19489 # Whether to use a lock for old archive extraction.
19490 lock_old_archive_extraction=$lock_old_archive_extraction
19491
19492 # A C compiler.
19493 LTCC=$lt_CC
19494
19495 # LTCC compiler flags.
19496 LTCFLAGS=$lt_CFLAGS
19497
19498 # Take the output of nm and produce a listing of raw symbols and C names.
19499 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19500
19501 # Transform the output of nm in a proper C declaration.
19502 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19503
19504 # Transform the output of nm into a list of symbols to manually relocate.
19505 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19506
19507 # Transform the output of nm in a C name address pair.
19508 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19509
19510 # Transform the output of nm in a C name address pair when lib prefix is needed.
19511 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19512
19513 # The name lister interface.
19514 nm_interface=$lt_lt_cv_nm_interface
19515
19516 # Specify filename containing input files for \$NM.
19517 nm_file_list_spec=$lt_nm_file_list_spec
19518
19519 # The root where to search for dependent libraries,and where our libraries should be installed.
19520 lt_sysroot=$lt_sysroot
19521
19522 # Command to truncate a binary pipe.
19523 lt_truncate_bin=$lt_lt_cv_truncate_bin
19524
19525 # The name of the directory that contains temporary libtool files.
19526 objdir=$objdir
19527
19528 # Used to examine libraries when file_magic_cmd begins with "file".
19529 MAGIC_CMD=$MAGIC_CMD
19530
19531 # Must we lock files when doing compilation?
19532 need_locks=$lt_need_locks
19533
19534 # Manifest tool.
19535 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19536
19537 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19538 DSYMUTIL=$lt_DSYMUTIL
19539
19540 # Tool to change global to local symbols on Mac OS X.
19541 NMEDIT=$lt_NMEDIT
19542
19543 # Tool to manipulate fat objects and archives on Mac OS X.
19544 LIPO=$lt_LIPO
19545
19546 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19547 OTOOL=$lt_OTOOL
19548
19549 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19550 OTOOL64=$lt_OTOOL64
19551
19552 # Old archive suffix (normally "a").
19553 libext=$libext
19554
19555 # Shared library suffix (normally ".so").
19556 shrext_cmds=$lt_shrext_cmds
19557
19558 # The commands to extract the exported symbol list from a shared archive.
19559 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19560
19561 # Variables whose values should be saved in libtool wrapper scripts and
19562 # restored at link time.
19563 variables_saved_for_relink=$lt_variables_saved_for_relink
19564
19565 # Do we need the "lib" prefix for modules?
19566 need_lib_prefix=$need_lib_prefix
19567
19568 # Do we need a version for libraries?
19569 need_version=$need_version
19570
19571 # Library versioning type.
19572 version_type=$version_type
19573
19574 # Shared library runtime path variable.
19575 runpath_var=$runpath_var
19576
19577 # Shared library path variable.
19578 shlibpath_var=$shlibpath_var
19579
19580 # Is shlibpath searched before the hard-coded library search path?
19581 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19582
19583 # Format of library name prefix.
19584 libname_spec=$lt_libname_spec
19585
19586 # List of archive names. First name is the real one, the rest are links.
19587 # The last name is the one that the linker finds with -lNAME
19588 library_names_spec=$lt_library_names_spec
19589
19590 # The coded name of the library, if different from the real name.
19591 soname_spec=$lt_soname_spec
19592
19593 # Permission mode override for installation of shared libraries.
19594 install_override_mode=$lt_install_override_mode
19595
19596 # Command to use after installation of a shared archive.
19597 postinstall_cmds=$lt_postinstall_cmds
19598
19599 # Command to use after uninstallation of a shared archive.
19600 postuninstall_cmds=$lt_postuninstall_cmds
19601
19602 # Commands used to finish a libtool library installation in a directory.
19603 finish_cmds=$lt_finish_cmds
19604
19605 # As "finish_cmds", except a single script fragment to be evaled but
19606 # not shown.
19607 finish_eval=$lt_finish_eval
19608
19609 # Whether we should hardcode library paths into libraries.
19610 hardcode_into_libs=$hardcode_into_libs
19611
19612 # Compile-time system search path for libraries.
19613 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19614
19615 # Detected run-time system search path for libraries.
19616 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19617
19618 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19619 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19620
19621 # Whether dlopen is supported.
19622 dlopen_support=$enable_dlopen
19623
19624 # Whether dlopen of programs is supported.
19625 dlopen_self=$enable_dlopen_self
19626
19627 # Whether dlopen of statically linked programs is supported.
19628 dlopen_self_static=$enable_dlopen_self_static
19629
19630 # Commands to strip libraries.
19631 old_striplib=$lt_old_striplib
19632 striplib=$lt_striplib
19633
19634
19635 # The linker used to build libraries.
19636 LD=$lt_LD
19637
19638 # How to create reloadable object files.
19639 reload_flag=$lt_reload_flag
19640 reload_cmds=$lt_reload_cmds
19641
19642 # Commands used to build an old-style archive.
19643 old_archive_cmds=$lt_old_archive_cmds
19644
19645 # A language specific compiler.
19646 CC=$lt_compiler
19647
19648 # Is the compiler the GNU compiler?
19649 with_gcc=$GCC
19650
19651 # Compiler flag to turn off builtin functions.
19652 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19653
19654 # Additional compiler flags for building library objects.
19655 pic_flag=$lt_lt_prog_compiler_pic
19656
19657 # How to pass a linker flag through the compiler.
19658 wl=$lt_lt_prog_compiler_wl
19659
19660 # Compiler flag to prevent dynamic linking.
19661 link_static_flag=$lt_lt_prog_compiler_static
19662
19663 # Does compiler simultaneously support -c and -o options?
19664 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19665
19666 # Whether or not to add -lc for building shared libraries.
19667 build_libtool_need_lc=$archive_cmds_need_lc
19668
19669 # Whether or not to disallow shared libs when runtime libs are static.
19670 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19671
19672 # Compiler flag to allow reflexive dlopens.
19673 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19674
19675 # Compiler flag to generate shared objects directly from archives.
19676 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19677
19678 # Whether the compiler copes with passing no objects directly.
19679 compiler_needs_object=$lt_compiler_needs_object
19680
19681 # Create an old-style archive from a shared archive.
19682 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19683
19684 # Create a temporary old-style archive to link instead of a shared archive.
19685 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19686
19687 # Commands used to build a shared archive.
19688 archive_cmds=$lt_archive_cmds
19689 archive_expsym_cmds=$lt_archive_expsym_cmds
19690
19691 # Commands used to build a loadable module if different from building
19692 # a shared archive.
19693 module_cmds=$lt_module_cmds
19694 module_expsym_cmds=$lt_module_expsym_cmds
19695
19696 # Whether we are building with GNU ld or not.
19697 with_gnu_ld=$lt_with_gnu_ld
19698
19699 # Flag that allows shared libraries with undefined symbols to be built.
19700 allow_undefined_flag=$lt_allow_undefined_flag
19701
19702 # Flag that enforces no undefined symbols.
19703 no_undefined_flag=$lt_no_undefined_flag
19704
19705 # Flag to hardcode \$libdir into a binary during linking.
19706 # This must work even if \$libdir does not exist
19707 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19708
19709 # Whether we need a single "-rpath" flag with a separated argument.
19710 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19711
19712 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19713 # DIR into the resulting binary.
19714 hardcode_direct=$hardcode_direct
19715
19716 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19717 # DIR into the resulting binary and the resulting library dependency is
19718 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
19719 # library is relocated.
19720 hardcode_direct_absolute=$hardcode_direct_absolute
19721
19722 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19723 # into the resulting binary.
19724 hardcode_minus_L=$hardcode_minus_L
19725
19726 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19727 # into the resulting binary.
19728 hardcode_shlibpath_var=$hardcode_shlibpath_var
19729
19730 # Set to "yes" if building a shared library automatically hardcodes DIR
19731 # into the library and all subsequent libraries and executables linked
19732 # against it.
19733 hardcode_automatic=$hardcode_automatic
19734
19735 # Set to yes if linker adds runtime paths of dependent libraries
19736 # to runtime path list.
19737 inherit_rpath=$inherit_rpath
19738
19739 # Whether libtool must link a program against all its dependency libraries.
19740 link_all_deplibs=$link_all_deplibs
19741
19742 # Set to "yes" if exported symbols are required.
19743 always_export_symbols=$always_export_symbols
19744
19745 # The commands to list exported symbols.
19746 export_symbols_cmds=$lt_export_symbols_cmds
19747
19748 # Symbols that should not be listed in the preloaded symbols.
19749 exclude_expsyms=$lt_exclude_expsyms
19750
19751 # Symbols that must always be exported.
19752 include_expsyms=$lt_include_expsyms
19753
19754 # Commands necessary for linking programs (against libraries) with templates.
19755 prelink_cmds=$lt_prelink_cmds
19756
19757 # Commands necessary for finishing linking programs.
19758 postlink_cmds=$lt_postlink_cmds
19759
19760 # Specify filename containing input files.
19761 file_list_spec=$lt_file_list_spec
19762
19763 # How to hardcode a shared library path into an executable.
19764 hardcode_action=$hardcode_action
19765
19766 # ### END LIBTOOL CONFIG
19767
19768 _LT_EOF
19769
19770 cat <<'_LT_EOF' >> "$cfgfile"
19771
19772 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19773
19774 # func_munge_path_list VARIABLE PATH
19775 # -----------------------------------
19776 # VARIABLE is name of variable containing _space_ separated list of
19777 # directories to be munged by the contents of PATH, which is string
19778 # having a format:
19779 # "DIR[:DIR]:"
19780 # string "DIR[ DIR]" will be prepended to VARIABLE
19781 # ":DIR[:DIR]"
19782 # string "DIR[ DIR]" will be appended to VARIABLE
19783 # "DIRP[:DIRP]::[DIRA:]DIRA"
19784 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19785 # "DIRA[ DIRA]" will be appended to VARIABLE
19786 # "DIR[:DIR]"
19787 # VARIABLE will be replaced by "DIR[ DIR]"
19788 func_munge_path_list ()
19789 {
19790 case x$2 in
19791 x)
19792 ;;
19793 *:)
19794 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19795 ;;
19796 x:*)
19797 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19798 ;;
19799 *::*)
19800 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19801 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19802 ;;
19803 *)
19804 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19805 ;;
19806 esac
19807 }
19808
19809
19810 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19811 func_cc_basename ()
19812 {
19813 for cc_temp in $*""; do
19814 case $cc_temp in
19815 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19816 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19817 \-*) ;;
19818 *) break;;
19819 esac
19820 done
19821 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19822 }
19823
19824
19825 # ### END FUNCTIONS SHARED WITH CONFIGURE
19826
19827 _LT_EOF
19828
19829 case $host_os in
19830 aix3*)
19831 cat <<\_LT_EOF >> "$cfgfile"
19832 # AIX sometimes has problems with the GCC collect2 program. For some
19833 # reason, if we set the COLLECT_NAMES environment variable, the problems
19834 # vanish in a puff of smoke.
19835 if test set != "${COLLECT_NAMES+set}"; then
19836 COLLECT_NAMES=
19837 export COLLECT_NAMES
19838 fi
19839 _LT_EOF
19840 ;;
19841 esac
19842
19843
19844
19845 ltmain=$ac_aux_dir/ltmain.sh
19846
19847
19848 # We use sed instead of cat because bash on DJGPP gets confused if
19849 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19850 # text mode, it properly converts lines to CR/LF. This bash problem
19851 # is reportedly fixed, but why not run on old versions too?
19852 $SED '$q' "$ltmain" >> "$cfgfile" \
19853 || (rm -f "$cfgfile"; exit 1)
19854
19855 mv -f "$cfgfile" "$ofile" ||
19856 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19857 chmod +x "$ofile"
19858
19859 ;;
19860 "deweb.pl":F) chmod +x deweb.pl ;;
19861
19862 esac
19863 done # for ac_tag
19864
19865
19866 as_fn_exit 0
19867 _ACEOF
19868 ac_clean_files=$ac_clean_files_save
19869
19870 test $ac_write_fail = 0 ||
19871 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19872
19873
19874 # configure is writing to config.log, and then calls config.status.
19875 # config.status does its own redirection, appending to config.log.
19876 # Unfortunately, on DOS this fails, as config.log is still kept open
19877 # by configure, so config.status won't be able to write to it; its
19878 # output is simply discarded. So we exec the FD to /dev/null,
19879 # effectively closing config.log, so it can be properly (re)opened and
19880 # appended to by config.status. When coming back to configure, we
19881 # need to make the FD available again.
19882 if test "$no_create" != yes; then
19883 ac_cs_success=:
19884 ac_config_status_args=
19885 test "$silent" = yes &&
19886 ac_config_status_args="$ac_config_status_args --quiet"
19887 exec 5>/dev/null
19888 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19889 exec 5>>config.log
19890 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19891 # would make configure fail if this is the last instruction.
19892 $ac_cs_success || as_fn_exit 1
19893 fi
19894 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19896 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19897 fi
19898
19899