Debian Codegraph @

texk/psutils/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 psutils (TeX Live) 1.23.
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='psutils (TeX Live)'
616 PACKAGE_TARNAME='psutils--tex-live-'
617 PACKAGE_VERSION='1.23'
618 PACKAGE_STRING='psutils (TeX Live) 1.23'
619 PACKAGE_BUGREPORT='[email protected]'
620 PACKAGE_URL=''
621
622 ac_unique_file="psutils-src/psutil.c"
623 # Factoring default headers for most tests.
624 ac_includes_default="\
625 #include <stddef.h>
626 #ifdef HAVE_STDIO_H
627 # include <stdio.h>
628 #endif
629 #ifdef HAVE_STDLIB_H
630 # include <stdlib.h>
631 #endif
632 #ifdef HAVE_STRING_H
633 # include <string.h>
634 #endif
635 #ifdef HAVE_INTTYPES_H
636 # include <inttypes.h>
637 #endif
638 #ifdef HAVE_STDINT_H
639 # include <stdint.h>
640 #endif
641 #ifdef HAVE_STRINGS_H
642 # include <strings.h>
643 #endif
644 #ifdef HAVE_SYS_TYPES_H
645 # include <sys/types.h>
646 #endif
647 #ifdef HAVE_SYS_STAT_H
648 # include <sys/stat.h>
649 #endif
650 #ifdef HAVE_UNISTD_H
651 # include <unistd.h>
652 #endif"
653
654 ac_header_c_list=
655 enable_year2038=no
656 ac_subst_vars='am__EXEEXT_FALSE
657 am__EXEEXT_TRUE
658 LTLIBOBJS
659 LIBOBJS
660 PSUTILS_TREE
661 WIN32_WRAP_FALSE
662 WIN32_WRAP_TRUE
663 WIN_WRAPPER
664 WIN32_FALSE
665 WIN32_TRUE
666 LIBPAPER_RULE
667 LIBPAPER_DEPEND
668 LIBPAPER_LIBS
669 LIBPAPER_INCLUDES
670 KPATHSEA_RULE
671 KPATHSEA_DEPEND
672 KPATHSEA_LIBS
673 KPATHSEA_INCLUDES
674 PKG_CONFIG
675 LT_SYS_LIBRARY_PATH
676 OTOOL64
677 OTOOL
678 LIPO
679 NMEDIT
680 DSYMUTIL
681 MANIFEST_TOOL
682 RANLIB
683 FILECMD
684 LN_S
685 NM
686 ac_ct_DUMPBIN
687 DUMPBIN
688 LD
689 FGREP
690 EGREP
691 GREP
692 SED
693 host_os
694 host_vendor
695 host_cpu
696 host
697 build_os
698 build_vendor
699 build_cpu
700 build
701 LIBTOOL
702 OBJDUMP
703 DLLTOOL
704 AS
705 ac_ct_AR
706 AR
707 WARNING_CFLAGS
708 am__fastdepCC_FALSE
709 am__fastdepCC_TRUE
710 CCDEPMODE
711 am__nodep
712 AMDEPBACKSLASH
713 AMDEP_FALSE
714 AMDEP_TRUE
715 am__include
716 DEPDIR
717 OBJEXT
718 EXEEXT
719 ac_ct_CC
720 CPPFLAGS
721 LDFLAGS
722 CFLAGS
723 CC
724 MAINT
725 MAINTAINER_MODE_FALSE
726 MAINTAINER_MODE_TRUE
727 am__xargs_n
728 am__rm_f_notfound
729 AM_BACKSLASH
730 AM_DEFAULT_VERBOSITY
731 AM_DEFAULT_V
732 AM_V
733 CSCOPE
734 ETAGS
735 CTAGS
736 am__untar
737 am__tar
738 AMTAR
739 am__leading_dot
740 SET_MAKE
741 AWK
742 mkdir_p
743 MKDIR_P
744 INSTALL_STRIP_PROGRAM
745 STRIP
746 install_sh
747 MAKEINFO
748 AUTOHEADER
749 AUTOMAKE
750 AUTOCONF
751 ACLOCAL
752 VERSION
753 PACKAGE
754 CYGPATH_W
755 am__isrc
756 INSTALL_DATA
757 INSTALL_SCRIPT
758 INSTALL_PROGRAM
759 target_alias
760 host_alias
761 build_alias
762 LIBS
763 ECHO_T
764 ECHO_N
765 ECHO_C
766 DEFS
767 mandir
768 localedir
769 libdir
770 psdir
771 pdfdir
772 dvidir
773 htmldir
774 infodir
775 docdir
776 oldincludedir
777 includedir
778 runstatedir
779 localstatedir
780 sharedstatedir
781 sysconfdir
782 datadir
783 datarootdir
784 libexecdir
785 sbindir
786 bindir
787 program_transform_name
788 prefix
789 exec_prefix
790 PACKAGE_URL
791 PACKAGE_BUGREPORT
792 PACKAGE_STRING
793 PACKAGE_VERSION
794 PACKAGE_TARNAME
795 PACKAGE_NAME
796 PATH_SEPARATOR
797 SHELL
798 am__quote'
799 ac_subst_files=''
800 ac_user_opts='
801 enable_option_checking
802 enable_silent_rules
803 enable_maintainer_mode
804 enable_dependency_tracking
805 enable_compiler_warnings
806 enable_shared
807 enable_static
808 enable_pic
809 with_pic
810 enable_fast_install
811 enable_aix_soname
812 with_aix_soname
813 with_gnu_ld
814 with_sysroot
815 enable_libtool_lock
816 enable_largefile
817 with_system_kpathsea
818 with_system_libpaper
819 with_libpaper_includes
820 with_libpaper_libdir
821 enable_year2038
822 '
823 ac_precious_vars='build_alias
824 host_alias
825 target_alias
826 CC
827 CFLAGS
828 LDFLAGS
829 LIBS
830 CPPFLAGS
831 LT_SYS_LIBRARY_PATH'
832
833
834 # Initialize some variables set by options.
835 ac_init_help=
836 ac_init_version=false
837 ac_unrecognized_opts=
838 ac_unrecognized_sep=
839 # The variables have the same names as the options, with
840 # dashes changed to underlines.
841 cache_file=/dev/null
842 exec_prefix=NONE
843 no_create=
844 no_recursion=
845 prefix=NONE
846 program_prefix=NONE
847 program_suffix=NONE
848 program_transform_name=s,x,x,
849 silent=
850 site=
851 srcdir=
852 verbose=
853 x_includes=NONE
854 x_libraries=NONE
855
856 # Installation directory options.
857 # These are left unexpanded so users can "make install exec_prefix=/foo"
858 # and all the variables that are supposed to be based on exec_prefix
859 # by default will actually change.
860 # Use braces instead of parens because sh, perl, etc. also accept them.
861 # (The list follows the same order as the GNU Coding Standards.)
862 bindir='${exec_prefix}/bin'
863 sbindir='${exec_prefix}/sbin'
864 libexecdir='${exec_prefix}/libexec'
865 datarootdir='${prefix}/share'
866 datadir='${datarootdir}'
867 sysconfdir='${prefix}/etc'
868 sharedstatedir='${prefix}/com'
869 localstatedir='${prefix}/var'
870 runstatedir='${localstatedir}/run'
871 includedir='${prefix}/include'
872 oldincludedir='/usr/include'
873 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
874 infodir='${datarootdir}/info'
875 htmldir='${docdir}'
876 dvidir='${docdir}'
877 pdfdir='${docdir}'
878 psdir='${docdir}'
879 libdir='${exec_prefix}/lib'
880 localedir='${datarootdir}/locale'
881 mandir='${datarootdir}/man'
882
883 ac_prev=
884 ac_dashdash=
885 for ac_option
886 do
887 # If the previous option needs an argument, assign it.
888 if test -n "$ac_prev"; then
889 eval $ac_prev=\$ac_option
890 ac_prev=
891 continue
892 fi
893
894 case $ac_option in
895 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 *=) ac_optarg= ;;
897 *) ac_optarg=yes ;;
898 esac
899
900 case $ac_dashdash$ac_option in
901 --)
902 ac_dashdash=yes ;;
903
904 -bindir | --bindir | --bindi | --bind | --bin | --bi)
905 ac_prev=bindir ;;
906 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907 bindir=$ac_optarg ;;
908
909 -build | --build | --buil | --bui | --bu)
910 ac_prev=build_alias ;;
911 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912 build_alias=$ac_optarg ;;
913
914 -cache-file | --cache-file | --cache-fil | --cache-fi \
915 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916 ac_prev=cache_file ;;
917 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919 cache_file=$ac_optarg ;;
920
921 --config-cache | -C)
922 cache_file=config.cache ;;
923
924 -datadir | --datadir | --datadi | --datad)
925 ac_prev=datadir ;;
926 -datadir=* | --datadir=* | --datadi=* | --datad=*)
927 datadir=$ac_optarg ;;
928
929 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930 | --dataroo | --dataro | --datar)
931 ac_prev=datarootdir ;;
932 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934 datarootdir=$ac_optarg ;;
935
936 -disable-* | --disable-*)
937 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 as_fn_error $? "invalid feature name: '$ac_useropt'"
941 ac_useropt_orig=$ac_useropt
942 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
944 *"
945 "enable_$ac_useropt"
946 "*) ;;
947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep=', ';;
949 esac
950 eval enable_$ac_useropt=no ;;
951
952 -docdir | --docdir | --docdi | --doc | --do)
953 ac_prev=docdir ;;
954 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955 docdir=$ac_optarg ;;
956
957 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958 ac_prev=dvidir ;;
959 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960 dvidir=$ac_optarg ;;
961
962 -enable-* | --enable-*)
963 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 as_fn_error $? "invalid feature name: '$ac_useropt'"
967 ac_useropt_orig=$ac_useropt
968 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
970 *"
971 "enable_$ac_useropt"
972 "*) ;;
973 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep=', ';;
975 esac
976 eval enable_$ac_useropt=\$ac_optarg ;;
977
978 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980 | --exec | --exe | --ex)
981 ac_prev=exec_prefix ;;
982 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984 | --exec=* | --exe=* | --ex=*)
985 exec_prefix=$ac_optarg ;;
986
987 -gas | --gas | --ga | --g)
988 # Obsolete; use --with-gas.
989 with_gas=yes ;;
990
991 -help | --help | --hel | --he | -h)
992 ac_init_help=long ;;
993 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994 ac_init_help=recursive ;;
995 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996 ac_init_help=short ;;
997
998 -host | --host | --hos | --ho)
999 ac_prev=host_alias ;;
1000 -host=* | --host=* | --hos=* | --ho=*)
1001 host_alias=$ac_optarg ;;
1002
1003 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004 ac_prev=htmldir ;;
1005 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006 | --ht=*)
1007 htmldir=$ac_optarg ;;
1008
1009 -includedir | --includedir | --includedi | --included | --include \
1010 | --includ | --inclu | --incl | --inc)
1011 ac_prev=includedir ;;
1012 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013 | --includ=* | --inclu=* | --incl=* | --inc=*)
1014 includedir=$ac_optarg ;;
1015
1016 -infodir | --infodir | --infodi | --infod | --info | --inf)
1017 ac_prev=infodir ;;
1018 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019 infodir=$ac_optarg ;;
1020
1021 -libdir | --libdir | --libdi | --libd)
1022 ac_prev=libdir ;;
1023 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024 libdir=$ac_optarg ;;
1025
1026 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027 | --libexe | --libex | --libe)
1028 ac_prev=libexecdir ;;
1029 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030 | --libexe=* | --libex=* | --libe=*)
1031 libexecdir=$ac_optarg ;;
1032
1033 -localedir | --localedir | --localedi | --localed | --locale)
1034 ac_prev=localedir ;;
1035 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036 localedir=$ac_optarg ;;
1037
1038 -localstatedir | --localstatedir | --localstatedi | --localstated \
1039 | --localstate | --localstat | --localsta | --localst | --locals)
1040 ac_prev=localstatedir ;;
1041 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043 localstatedir=$ac_optarg ;;
1044
1045 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046 ac_prev=mandir ;;
1047 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048 mandir=$ac_optarg ;;
1049
1050 -nfp | --nfp | --nf)
1051 # Obsolete; use --without-fp.
1052 with_fp=no ;;
1053
1054 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055 | --no-cr | --no-c | -n)
1056 no_create=yes ;;
1057
1058 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060 no_recursion=yes ;;
1061
1062 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064 | --oldin | --oldi | --old | --ol | --o)
1065 ac_prev=oldincludedir ;;
1066 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069 oldincludedir=$ac_optarg ;;
1070
1071 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072 ac_prev=prefix ;;
1073 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074 prefix=$ac_optarg ;;
1075
1076 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077 | --program-pre | --program-pr | --program-p)
1078 ac_prev=program_prefix ;;
1079 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081 program_prefix=$ac_optarg ;;
1082
1083 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084 | --program-suf | --program-su | --program-s)
1085 ac_prev=program_suffix ;;
1086 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088 program_suffix=$ac_optarg ;;
1089
1090 -program-transform-name | --program-transform-name \
1091 | --program-transform-nam | --program-transform-na \
1092 | --program-transform-n | --program-transform- \
1093 | --program-transform | --program-transfor \
1094 | --program-transfo | --program-transf \
1095 | --program-trans | --program-tran \
1096 | --progr-tra | --program-tr | --program-t)
1097 ac_prev=program_transform_name ;;
1098 -program-transform-name=* | --program-transform-name=* \
1099 | --program-transform-nam=* | --program-transform-na=* \
1100 | --program-transform-n=* | --program-transform-=* \
1101 | --program-transform=* | --program-transfor=* \
1102 | --program-transfo=* | --program-transf=* \
1103 | --program-trans=* | --program-tran=* \
1104 | --progr-tra=* | --program-tr=* | --program-t=*)
1105 program_transform_name=$ac_optarg ;;
1106
1107 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108 ac_prev=pdfdir ;;
1109 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110 pdfdir=$ac_optarg ;;
1111
1112 -psdir | --psdir | --psdi | --psd | --ps)
1113 ac_prev=psdir ;;
1114 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115 psdir=$ac_optarg ;;
1116
1117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118 | -silent | --silent | --silen | --sile | --sil)
1119 silent=yes ;;
1120
1121 -runstatedir | --runstatedir | --runstatedi | --runstated \
1122 | --runstate | --runstat | --runsta | --runst | --runs \
1123 | --run | --ru | --r)
1124 ac_prev=runstatedir ;;
1125 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1126 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1127 | --run=* | --ru=* | --r=*)
1128 runstatedir=$ac_optarg ;;
1129
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 ac_prev=sbindir ;;
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 | --sbi=* | --sb=*)
1134 sbindir=$ac_optarg ;;
1135
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1139 | --sha | --sh)
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 | --sha=* | --sh=*)
1145 sharedstatedir=$ac_optarg ;;
1146
1147 -site | --site | --sit)
1148 ac_prev=site ;;
1149 -site=* | --site=* | --sit=*)
1150 site=$ac_optarg ;;
1151
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 ac_prev=srcdir ;;
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1156
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1163
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1168
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170 verbose=yes ;;
1171
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1174
1175 -with-* | --with-*)
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: '$ac_useropt'"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1183 *"
1184 "with_$ac_useropt"
1185 "*) ;;
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1188 esac
1189 eval with_$ac_useropt=\$ac_optarg ;;
1190
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: '$ac_useropt'"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1199 *"
1200 "with_$ac_useropt"
1201 "*) ;;
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1204 esac
1205 eval with_$ac_useropt=no ;;
1206
1207 --x)
1208 # Obsolete; use --with-x.
1209 with_x=yes ;;
1210
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1213 ac_prev=x_includes ;;
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216 x_includes=$ac_optarg ;;
1217
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220 ac_prev=x_libraries ;;
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223 x_libraries=$ac_optarg ;;
1224
1225 -*) as_fn_error $? "unrecognized option: '$ac_option'
1226 Try '$0 --help' for more information"
1227 ;;
1228
1229 *=*)
1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1234 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1235 esac
1236 eval $ac_envvar=\$ac_optarg
1237 export $ac_envvar ;;
1238
1239 *)
1240 # FIXME: should be removed in autoconf 3.0.
1241 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 ;;
1246
1247 esac
1248 done
1249
1250 if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $? "missing argument to $ac_option"
1253 fi
1254
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1257 no) ;;
1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 esac
1261 fi
1262
1263 # Check all directory arguments for consistency.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir runstatedir
1268 do
1269 eval ac_val=\$$ac_var
1270 # Remove trailing slashes.
1271 case $ac_val in
1272 */ )
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\$ac_val;;
1275 esac
1276 # Be sure to have absolute directory names.
1277 case $ac_val in
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 esac
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282 done
1283
1284 # There might be people who depend on the old broken behavior: '$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1287 build=$build_alias
1288 host=$host_alias
1289 target=$target_alias
1290
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x; then
1293 if test "x$build_alias" = x; then
1294 cross_compiling=maybe
1295 elif test "x$build_alias" != "x$host_alias"; then
1296 cross_compiling=yes
1297 fi
1298 fi
1299
1300 ac_tool_prefix=
1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302
1303 test "$silent" = yes && exec 6>/dev/null
1304
1305
1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di=`ls -di .` &&
1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $? "working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $? "pwd does not report name of working directory"
1312
1313
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 printf "%s\n" X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325 s//\1/
1326 q
1327 }
1328 /^X\(\/\/\)[^/].*/{
1329 s//\1/
1330 q
1331 }
1332 /^X\(\/\/\)$/{
1333 s//\1/
1334 q
1335 }
1336 /^X\(\/\).*/{
1337 s//\1/
1338 q
1339 }
1340 s/.*/./; q'`
1341 srcdir=$ac_confdir
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 srcdir=..
1344 fi
1345 else
1346 ac_srcdir_defaulted=no
1347 fi
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351 fi
1352 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1353 ac_abs_confdir=`(
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 pwd)`
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1358 srcdir=.
1359 fi
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1363 case $srcdir in
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 esac
1366 for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371 done
1372
1373 #
1374 # Report the --help message.
1375 #
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1379 cat <<_ACEOF
1380 'configure' configures psutils (TeX Live) 1.23 to adapt to many kinds of systems.
1381
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1383
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1386
1387 Defaults for the options are specified in brackets.
1388
1389 Configuration:
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print 'checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for '--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or '..']
1399
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 [PREFIX]
1405
1406 By default, 'make install' will install all the files in
1407 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than '$ac_default_prefix' using '--prefix',
1409 for instance '--prefix=\$HOME'.
1410
1411 For better control, use the options below.
1412
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root
1430 [DATAROOTDIR/doc/psutils--tex-live-]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1435 _ACEOF
1436
1437 cat <<\_ACEOF
1438
1439 Program names:
1440 --program-prefix=PREFIX prepend PREFIX to installed program names
1441 --program-suffix=SUFFIX append SUFFIX to installed program names
1442 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1443
1444 System types:
1445 --build=BUILD configure for building on BUILD [guessed]
1446 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1447 _ACEOF
1448 fi
1449
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive ) echo "Configuration of psutils (TeX Live) 1.23:";;
1453 esac
1454 cat <<\_ACEOF
1455
1456 Optional Features:
1457 --disable-option-checking ignore unrecognized --enable/--with options
1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1460 --enable-silent-rules less verbose build output (undo: "make V=1")
1461 --disable-silent-rules verbose build output (undo: "make V=0")
1462 --enable-maintainer-mode
1463 enable make rules and dependencies not useful (and
1464 sometimes confusing) to the casual installer
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1469 --enable-compiler-warnings=[no|min|yes|max|all]
1470 Turn on compiler warnings [default: yes if
1471 maintainer-mode, min otherwise]
1472 --enable-shared[=PKGS] build shared libraries [default=yes]
1473 --enable-static[=PKGS] build static libraries [default=yes]
1474 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1475 both]
1476 --enable-fast-install[=PKGS]
1477 optimize for fast installation [default=yes]
1478 --enable-aix-soname=aix|svr4|both
1479 shared library versioning (aka "SONAME") variant to
1480 provide on AIX, [default=aix].
1481 --disable-libtool-lock avoid locking (might break parallel builds)
1482 --disable-largefile omit support for large files
1483 --enable-year2038 support timestamps after 2038
1484
1485 Optional Packages:
1486 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1487 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1488 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1489 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1490 compiler's sysroot if not specified).
1491 --with-system-kpathsea use installed kpathsea headers and library (requires
1492 pkg-config)
1493 --with-system-libpaper use installed libpaper headers and library
1494 --with-libpaper-includes=DIR
1495 libpaper headers installed in DIR
1496 --with-libpaper-libdir=DIR
1497 libpaper library installed in DIR
1498
1499 Some influential environment variables:
1500 CC C compiler command
1501 CFLAGS C compiler flags
1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1503 nonstandard directory <lib dir>
1504 LIBS libraries to pass to the linker, e.g. -l<library>
1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1506 you have headers in a nonstandard directory <include dir>
1507 LT_SYS_LIBRARY_PATH
1508 User-defined run-time library search path.
1509
1510 Use these variables to override the choices made by 'configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1512
1513 Report bugs to <[email protected]>.
1514 _ACEOF
1515 ac_status=$?
1516 fi
1517
1518 if test "$ac_init_help" = "recursive"; then
1519 # If there are subdirs, report their specific --help.
1520 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521 test -d "$ac_dir" ||
1522 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1523 continue
1524 ac_builddir=.
1525
1526 case "$ac_dir" in
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 *)
1529 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1532 case $ac_top_builddir_sub in
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1535 esac ;;
1536 esac
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1541
1542 case $srcdir in
1543 .) # We are building in place.
1544 ac_srcdir=.
1545 ac_top_srcdir=$ac_top_builddir_sub
1546 ac_abs_top_srcdir=$ac_pwd ;;
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1548 ac_srcdir=$srcdir$ac_dir_suffix;
1549 ac_top_srcdir=$srcdir
1550 ac_abs_top_srcdir=$srcdir ;;
1551 *) # Relative name.
1552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553 ac_top_srcdir=$ac_top_build_prefix$srcdir
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1555 esac
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1557
1558 cd "$ac_dir" || { ac_status=$?; continue; }
1559 # Check for configure.gnu first; this name is used for a wrapper for
1560 # Metaconfig's "Configure" on case-insensitive file systems.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1562 echo &&
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1565 echo &&
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1567 else
1568 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 fi || ac_status=$?
1570 cd "$ac_pwd" || { ac_status=$?; break; }
1571 done
1572 fi
1573
1574 test -n "$ac_init_help" && exit $ac_status
1575 if $ac_init_version; then
1576 cat <<\_ACEOF
1577 psutils (TeX Live) configure 1.23
1578 generated by GNU Autoconf 2.72
1579
1580 Copyright (C) 2023 Free Software Foundation, Inc.
1581 This configure script is free software; the Free Software Foundation
1582 gives unlimited permission to copy, distribute and modify it.
1583 _ACEOF
1584 exit
1585 fi
1586
1587 ## ------------------------ ##
1588 ## Autoconf initialization. ##
1589 ## ------------------------ ##
1590
1591 # ac_fn_c_try_compile LINENO
1592 # --------------------------
1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1594 ac_fn_c_try_compile ()
1595 {
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 rm -f conftest.$ac_objext conftest.beam
1598 if { { ac_try="$ac_compile"
1599 case "(($ac_try" in
1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1602 esac
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 printf "%s\n" "$ac_try_echo"; } >&5
1605 (eval "$ac_compile") 2>conftest.err
1606 ac_status=$?
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1611 fi
1612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest.$ac_objext
1617 then :
1618 ac_retval=0
1619 else case e in #(
1620 e) printf "%s\n" "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1622
1623 ac_retval=1 ;;
1624 esac
1625 fi
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1628
1629 } # ac_fn_c_try_compile
1630
1631 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1632 # -------------------------------------------------------
1633 # Tests whether HEADER exists and can be compiled using the include files in
1634 # INCLUDES, setting the cache variable VAR accordingly.
1635 ac_fn_c_check_header_compile ()
1636 {
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1639 printf %s "checking for $2... " >&6; }
1640 if eval test \${$3+y}
1641 then :
1642 printf %s "(cached) " >&6
1643 else case e in #(
1644 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645 /* end confdefs.h. */
1646 $4
1647 #include <$2>
1648 _ACEOF
1649 if ac_fn_c_try_compile "$LINENO"
1650 then :
1651 eval "$3=yes"
1652 else case e in #(
1653 e) eval "$3=no" ;;
1654 esac
1655 fi
1656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1657 esac
1658 fi
1659 eval ac_res=\$$3
1660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1661 printf "%s\n" "$ac_res" >&6; }
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663
1664 } # ac_fn_c_check_header_compile
1665
1666 # ac_fn_c_try_link LINENO
1667 # -----------------------
1668 # Try to link conftest.$ac_ext, and return whether this succeeded.
1669 ac_fn_c_try_link ()
1670 {
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1673 if { { ac_try="$ac_link"
1674 case "(($ac_try" in
1675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676 *) ac_try_echo=$ac_try;;
1677 esac
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 printf "%s\n" "$ac_try_echo"; } >&5
1680 (eval "$ac_link") 2>conftest.err
1681 ac_status=$?
1682 if test -s conftest.err; then
1683 grep -v '^ *+' conftest.err >conftest.er1
1684 cat conftest.er1 >&5
1685 mv -f conftest.er1 conftest.err
1686 fi
1687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; } && {
1689 test -z "$ac_c_werror_flag" ||
1690 test ! -s conftest.err
1691 } && test -s conftest$ac_exeext && {
1692 test "$cross_compiling" = yes ||
1693 test -x conftest$ac_exeext
1694 }
1695 then :
1696 ac_retval=0
1697 else case e in #(
1698 e) printf "%s\n" "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1700
1701 ac_retval=1 ;;
1702 esac
1703 fi
1704 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1705 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1706 # interfere with the next link command; also delete a directory that is
1707 # left behind by Apple's compiler. We do this before executing the actions.
1708 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status $ac_retval
1711
1712 } # ac_fn_c_try_link
1713
1714 # ac_fn_c_check_func LINENO FUNC VAR
1715 # ----------------------------------
1716 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1717 ac_fn_c_check_func ()
1718 {
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 printf %s "checking for $2... " >&6; }
1722 if eval test \${$3+y}
1723 then :
1724 printf %s "(cached) " >&6
1725 else case e in #(
1726 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1728 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1730 #define $2 innocuous_$2
1731
1732 /* System header to define __stub macros and hopefully few prototypes,
1733 which can conflict with char $2 (void); below. */
1734
1735 #include <limits.h>
1736 #undef $2
1737
1738 /* Override any GCC internal prototype to avoid an error.
1739 Use char because int might match the return type of a GCC
1740 builtin and then its argument prototype would still apply. */
1741 #ifdef __cplusplus
1742 extern "C"
1743 #endif
1744 char $2 (void);
1745 /* The GNU C library defines this for functions which it implements
1746 to always fail with ENOSYS. Some functions are actually named
1747 something starting with __ and the normal name is an alias. */
1748 #if defined __stub_$2 || defined __stub___$2
1749 choke me
1750 #endif
1751
1752 int
1753 main (void)
1754 {
1755 return $2 ();
1756 ;
1757 return 0;
1758 }
1759 _ACEOF
1760 if ac_fn_c_try_link "$LINENO"
1761 then :
1762 eval "$3=yes"
1763 else case e in #(
1764 e) eval "$3=no" ;;
1765 esac
1766 fi
1767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1768 conftest$ac_exeext conftest.$ac_ext ;;
1769 esac
1770 fi
1771 eval ac_res=\$$3
1772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773 printf "%s\n" "$ac_res" >&6; }
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775
1776 } # ac_fn_c_check_func
1777
1778 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1779 # -------------------------------------------
1780 # Tests whether TYPE exists after having included INCLUDES, setting cache
1781 # variable VAR accordingly.
1782 ac_fn_c_check_type ()
1783 {
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 printf %s "checking for $2... " >&6; }
1787 if eval test \${$3+y}
1788 then :
1789 printf %s "(cached) " >&6
1790 else case e in #(
1791 e) eval "$3=no"
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1794 $4
1795 int
1796 main (void)
1797 {
1798 if (sizeof ($2))
1799 return 0;
1800 ;
1801 return 0;
1802 }
1803 _ACEOF
1804 if ac_fn_c_try_compile "$LINENO"
1805 then :
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1808 $4
1809 int
1810 main (void)
1811 {
1812 if (sizeof (($2)))
1813 return 0;
1814 ;
1815 return 0;
1816 }
1817 _ACEOF
1818 if ac_fn_c_try_compile "$LINENO"
1819 then :
1820
1821 else case e in #(
1822 e) eval "$3=yes" ;;
1823 esac
1824 fi
1825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1826 fi
1827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1828 esac
1829 fi
1830 eval ac_res=\$$3
1831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 printf "%s\n" "$ac_res" >&6; }
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834
1835 } # ac_fn_c_check_type
1836
1837 # ac_fn_c_find_intX_t LINENO BITS VAR
1838 # -----------------------------------
1839 # Finds a signed integer type with width BITS, setting cache variable VAR
1840 # accordingly.
1841 ac_fn_c_find_intX_t ()
1842 {
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1845 printf %s "checking for int$2_t... " >&6; }
1846 if eval test \${$3+y}
1847 then :
1848 printf %s "(cached) " >&6
1849 else case e in #(
1850 e) eval "$3=no"
1851 # Order is important - never check a type that is potentially smaller
1852 # than half of the expected target width.
1853 for ac_type in int$2_t 'int' 'long int' \
1854 'long long int' 'short int' 'signed char'; do
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 $ac_includes_default
1858 enum { N = $2 / 2 - 1 };
1859 int
1860 main (void)
1861 {
1862 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1863 test_array [0] = 0;
1864 return test_array [0];
1865
1866 ;
1867 return 0;
1868 }
1869 _ACEOF
1870 if ac_fn_c_try_compile "$LINENO"
1871 then :
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1874 $ac_includes_default
1875 enum { N = $2 / 2 - 1 };
1876 int
1877 main (void)
1878 {
1879 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1880 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1881 test_array [0] = 0;
1882 return test_array [0];
1883
1884 ;
1885 return 0;
1886 }
1887 _ACEOF
1888 if ac_fn_c_try_compile "$LINENO"
1889 then :
1890
1891 else case e in #(
1892 e) case $ac_type in #(
1893 int$2_t) :
1894 eval "$3=yes" ;; #(
1895 *) :
1896 eval "$3=\$ac_type" ;;
1897 esac ;;
1898 esac
1899 fi
1900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1901 fi
1902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1903 if eval test \"x\$"$3"\" = x"no"
1904 then :
1905
1906 else case e in #(
1907 e) break ;;
1908 esac
1909 fi
1910 done ;;
1911 esac
1912 fi
1913 eval ac_res=\$$3
1914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1915 printf "%s\n" "$ac_res" >&6; }
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917
1918 } # ac_fn_c_find_intX_t
1919
1920 # ac_fn_c_find_uintX_t LINENO BITS VAR
1921 # ------------------------------------
1922 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1923 # accordingly.
1924 ac_fn_c_find_uintX_t ()
1925 {
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1928 printf %s "checking for uint$2_t... " >&6; }
1929 if eval test \${$3+y}
1930 then :
1931 printf %s "(cached) " >&6
1932 else case e in #(
1933 e) eval "$3=no"
1934 # Order is important - never check a type that is potentially smaller
1935 # than half of the expected target width.
1936 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1937 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1940 $ac_includes_default
1941 int
1942 main (void)
1943 {
1944 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1945 test_array [0] = 0;
1946 return test_array [0];
1947
1948 ;
1949 return 0;
1950 }
1951 _ACEOF
1952 if ac_fn_c_try_compile "$LINENO"
1953 then :
1954 case $ac_type in #(
1955 uint$2_t) :
1956 eval "$3=yes" ;; #(
1957 *) :
1958 eval "$3=\$ac_type" ;;
1959 esac
1960 fi
1961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1962 if eval test \"x\$"$3"\" = x"no"
1963 then :
1964
1965 else case e in #(
1966 e) break ;;
1967 esac
1968 fi
1969 done ;;
1970 esac
1971 fi
1972 eval ac_res=\$$3
1973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 printf "%s\n" "$ac_res" >&6; }
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976
1977 } # ac_fn_c_find_uintX_t
1978
1979 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1980 # ------------------------------------------------------------------
1981 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1982 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1983 ac_fn_check_decl ()
1984 {
1985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986 as_decl_name=`echo $2|sed 's/ *(.*//'`
1987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1988 printf %s "checking whether $as_decl_name is declared... " >&6; }
1989 if eval test \${$3+y}
1990 then :
1991 printf %s "(cached) " >&6
1992 else case e in #(
1993 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1994 eval ac_save_FLAGS=\$$6
1995 as_fn_append $6 " $5"
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
1998 $4
1999 int
2000 main (void)
2001 {
2002 #ifndef $as_decl_name
2003 #ifdef __cplusplus
2004 (void) $as_decl_use;
2005 #else
2006 (void) $as_decl_name;
2007 #endif
2008 #endif
2009
2010 ;
2011 return 0;
2012 }
2013 _ACEOF
2014 if ac_fn_c_try_compile "$LINENO"
2015 then :
2016 eval "$3=yes"
2017 else case e in #(
2018 e) eval "$3=no" ;;
2019 esac
2020 fi
2021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2022 eval $6=\$ac_save_FLAGS
2023 ;;
2024 esac
2025 fi
2026 eval ac_res=\$$3
2027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 printf "%s\n" "$ac_res" >&6; }
2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030
2031 } # ac_fn_check_decl
2032
2033 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2034 # ----------------------------------------------------
2035 # Tries to find if the field MEMBER exists in type AGGR, after including
2036 # INCLUDES, setting cache variable VAR accordingly.
2037 ac_fn_c_check_member ()
2038 {
2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2041 printf %s "checking for $2.$3... " >&6; }
2042 if eval test \${$4+y}
2043 then :
2044 printf %s "(cached) " >&6
2045 else case e in #(
2046 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2048 $5
2049 int
2050 main (void)
2051 {
2052 static $2 ac_aggr;
2053 if (ac_aggr.$3)
2054 return 0;
2055 ;
2056 return 0;
2057 }
2058 _ACEOF
2059 if ac_fn_c_try_compile "$LINENO"
2060 then :
2061 eval "$4=yes"
2062 else case e in #(
2063 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2065 $5
2066 int
2067 main (void)
2068 {
2069 static $2 ac_aggr;
2070 if (sizeof ac_aggr.$3)
2071 return 0;
2072 ;
2073 return 0;
2074 }
2075 _ACEOF
2076 if ac_fn_c_try_compile "$LINENO"
2077 then :
2078 eval "$4=yes"
2079 else case e in #(
2080 e) eval "$4=no" ;;
2081 esac
2082 fi
2083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2084 esac
2085 fi
2086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2087 esac
2088 fi
2089 eval ac_res=\$$4
2090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091 printf "%s\n" "$ac_res" >&6; }
2092 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2093
2094 } # ac_fn_c_check_member
2095 ac_configure_args_raw=
2096 for ac_arg
2097 do
2098 case $ac_arg in
2099 *\'*)
2100 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2101 esac
2102 as_fn_append ac_configure_args_raw " '$ac_arg'"
2103 done
2104
2105 case $ac_configure_args_raw in
2106 *$as_nl*)
2107 ac_safe_unquote= ;;
2108 *)
2109 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2110 ac_unsafe_a="$ac_unsafe_z#~"
2111 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2112 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2113 esac
2114
2115 cat >config.log <<_ACEOF
2116 This file contains any messages produced by compilers while
2117 running configure, to aid debugging if configure makes a mistake.
2118
2119 It was created by psutils (TeX Live) $as_me 1.23, which was
2120 generated by GNU Autoconf 2.72. Invocation command line was
2121
2122 $ $0$ac_configure_args_raw
2123
2124 _ACEOF
2125 exec 5>>config.log
2126 {
2127 cat <<_ASUNAME
2128 ## --------- ##
2129 ## Platform. ##
2130 ## --------- ##
2131
2132 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2133 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2134 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2135 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2136 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2137
2138 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2139 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2140
2141 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2142 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2143 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2144 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2145 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2146 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2147 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2148
2149 _ASUNAME
2150
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2153 do
2154 IFS=$as_save_IFS
2155 case $as_dir in #(((
2156 '') as_dir=./ ;;
2157 */) ;;
2158 *) as_dir=$as_dir/ ;;
2159 esac
2160 printf "%s\n" "PATH: $as_dir"
2161 done
2162 IFS=$as_save_IFS
2163
2164 } >&5
2165
2166 cat >&5 <<_ACEOF
2167
2168
2169 ## ----------- ##
2170 ## Core tests. ##
2171 ## ----------- ##
2172
2173 _ACEOF
2174
2175
2176 # Keep a trace of the command line.
2177 # Strip out --no-create and --no-recursion so they do not pile up.
2178 # Strip out --silent because we don't want to record it for future runs.
2179 # Also quote any args containing shell meta-characters.
2180 # Make two passes to allow for proper duplicate-argument suppression.
2181 ac_configure_args=
2182 ac_configure_args0=
2183 ac_configure_args1=
2184 ac_must_keep_next=false
2185 for ac_pass in 1 2
2186 do
2187 for ac_arg
2188 do
2189 case $ac_arg in
2190 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2191 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2192 | -silent | --silent | --silen | --sile | --sil)
2193 continue ;;
2194 *\'*)
2195 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2196 esac
2197 case $ac_pass in
2198 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2199 2)
2200 as_fn_append ac_configure_args1 " '$ac_arg'"
2201 if test $ac_must_keep_next = true; then
2202 ac_must_keep_next=false # Got value, back to normal.
2203 else
2204 case $ac_arg in
2205 *=* | --config-cache | -C | -disable-* | --disable-* \
2206 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2207 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2208 | -with-* | --with-* | -without-* | --without-* | --x)
2209 case "$ac_configure_args0 " in
2210 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2211 esac
2212 ;;
2213 -* ) ac_must_keep_next=true ;;
2214 esac
2215 fi
2216 as_fn_append ac_configure_args " '$ac_arg'"
2217 ;;
2218 esac
2219 done
2220 done
2221 { ac_configure_args0=; unset ac_configure_args0;}
2222 { ac_configure_args1=; unset ac_configure_args1;}
2223
2224 # When interrupted or exit'd, cleanup temporary files, and complete
2225 # config.log. We remove comments because anyway the quotes in there
2226 # would cause problems or look ugly.
2227 # WARNING: Use '\'' to represent an apostrophe within the trap.
2228 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2229 trap 'exit_status=$?
2230 # Sanitize IFS.
2231 IFS=" "" $as_nl"
2232 # Save into config.log some information that might help in debugging.
2233 {
2234 echo
2235
2236 printf "%s\n" "## ---------------- ##
2237 ## Cache variables. ##
2238 ## ---------------- ##"
2239 echo
2240 # The following way of writing the cache mishandles newlines in values,
2241 (
2242 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2243 eval ac_val=\$$ac_var
2244 case $ac_val in #(
2245 *${as_nl}*)
2246 case $ac_var in #(
2247 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2248 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2249 esac
2250 case $ac_var in #(
2251 _ | IFS | as_nl) ;; #(
2252 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2253 *) { eval $ac_var=; unset $ac_var;} ;;
2254 esac ;;
2255 esac
2256 done
2257 (set) 2>&1 |
2258 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2259 *${as_nl}ac_space=\ *)
2260 sed -n \
2261 "s/'\''/'\''\\\\'\'''\''/g;
2262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2263 ;; #(
2264 *)
2265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2266 ;;
2267 esac |
2268 sort
2269 )
2270 echo
2271
2272 printf "%s\n" "## ----------------- ##
2273 ## Output variables. ##
2274 ## ----------------- ##"
2275 echo
2276 for ac_var in $ac_subst_vars
2277 do
2278 eval ac_val=\$$ac_var
2279 case $ac_val in
2280 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 esac
2282 printf "%s\n" "$ac_var='\''$ac_val'\''"
2283 done | sort
2284 echo
2285
2286 if test -n "$ac_subst_files"; then
2287 printf "%s\n" "## ------------------- ##
2288 ## File substitutions. ##
2289 ## ------------------- ##"
2290 echo
2291 for ac_var in $ac_subst_files
2292 do
2293 eval ac_val=\$$ac_var
2294 case $ac_val in
2295 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296 esac
2297 printf "%s\n" "$ac_var='\''$ac_val'\''"
2298 done | sort
2299 echo
2300 fi
2301
2302 if test -s confdefs.h; then
2303 printf "%s\n" "## ----------- ##
2304 ## confdefs.h. ##
2305 ## ----------- ##"
2306 echo
2307 cat confdefs.h
2308 echo
2309 fi
2310 test "$ac_signal" != 0 &&
2311 printf "%s\n" "$as_me: caught signal $ac_signal"
2312 printf "%s\n" "$as_me: exit $exit_status"
2313 } >&5
2314 rm -f core *.core core.conftest.* &&
2315 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2316 exit $exit_status
2317 ' 0
2318 for ac_signal in 1 2 13 15; do
2319 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2320 done
2321 ac_signal=0
2322
2323 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2324 rm -f -r conftest* confdefs.h
2325
2326 printf "%s\n" "/* confdefs.h */" > confdefs.h
2327
2328 # Predefined preprocessor variables.
2329
2330 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2331
2332 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2333
2334 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2335
2336 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2337
2338 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2339
2340 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2341
2342
2343 # Let the site file select an alternate cache file if it wants to.
2344 # Prefer an explicitly selected file to automatically selected ones.
2345 if test -n "$CONFIG_SITE"; then
2346 ac_site_files="$CONFIG_SITE"
2347 elif test "x$prefix" != xNONE; then
2348 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2349 else
2350 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2351 fi
2352
2353 for ac_site_file in $ac_site_files
2354 do
2355 case $ac_site_file in #(
2356 */*) :
2357 ;; #(
2358 *) :
2359 ac_site_file=./$ac_site_file ;;
2360 esac
2361 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2363 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2364 sed 's/^/| /' "$ac_site_file" >&5
2365 . "$ac_site_file" \
2366 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2367 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2368 as_fn_error $? "failed to load site script $ac_site_file
2369 See 'config.log' for more details" "$LINENO" 5; }
2370 fi
2371 done
2372
2373 if test -r "$cache_file"; then
2374 # Some versions of bash will fail to source /dev/null (special files
2375 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2376 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2378 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2379 case $cache_file in
2380 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2381 *) . "./$cache_file";;
2382 esac
2383 fi
2384 else
2385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2386 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2387 >$cache_file
2388 fi
2389
2390 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2391 # Test code for whether the C compiler supports C89 (global declarations)
2392 ac_c_conftest_c89_globals='
2393 /* Does the compiler advertise C89 conformance?
2394 Do not test the value of __STDC__, because some compilers set it to 0
2395 while being otherwise adequately conformant. */
2396 #if !defined __STDC__
2397 # error "Compiler does not advertise C89 conformance"
2398 #endif
2399
2400 #include <stddef.h>
2401 #include <stdarg.h>
2402 struct stat;
2403 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2404 struct buf { int x; };
2405 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2406 static char *e (char **p, int i)
2407 {
2408 return p[i];
2409 }
2410 static char *f (char * (*g) (char **, int), char **p, ...)
2411 {
2412 char *s;
2413 va_list v;
2414 va_start (v,p);
2415 s = g (p, va_arg (v,int));
2416 va_end (v);
2417 return s;
2418 }
2419
2420 /* C89 style stringification. */
2421 #define noexpand_stringify(a) #a
2422 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2423
2424 /* C89 style token pasting. Exercises some of the corner cases that
2425 e.g. old MSVC gets wrong, but not very hard. */
2426 #define noexpand_concat(a,b) a##b
2427 #define expand_concat(a,b) noexpand_concat(a,b)
2428 extern int vA;
2429 extern int vbee;
2430 #define aye A
2431 #define bee B
2432 int *pvA = &expand_concat(v,aye);
2433 int *pvbee = &noexpand_concat(v,bee);
2434
2435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2436 function prototypes and stuff, but not \xHH hex character constants.
2437 These do not provoke an error unfortunately, instead are silently treated
2438 as an "x". The following induces an error, until -std is added to get
2439 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2440 array size at least. It is necessary to write \x00 == 0 to get something
2441 that is true only with -std. */
2442 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2443
2444 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2445 inside strings and character constants. */
2446 #define FOO(x) '\''x'\''
2447 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2448
2449 int test (int i, double x);
2450 struct s1 {int (*f) (int a);};
2451 struct s2 {int (*f) (double a);};
2452 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2453 int, int);'
2454
2455 # Test code for whether the C compiler supports C89 (body of main).
2456 ac_c_conftest_c89_main='
2457 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2458 '
2459
2460 # Test code for whether the C compiler supports C99 (global declarations)
2461 ac_c_conftest_c99_globals='
2462 /* Does the compiler advertise C99 conformance? */
2463 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2464 # error "Compiler does not advertise C99 conformance"
2465 #endif
2466
2467 // See if C++-style comments work.
2468
2469 #include <stdbool.h>
2470 extern int puts (const char *);
2471 extern int printf (const char *, ...);
2472 extern int dprintf (int, const char *, ...);
2473 extern void *malloc (size_t);
2474 extern void free (void *);
2475
2476 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2477 // dprintf is used instead of fprintf to avoid needing to declare
2478 // FILE and stderr.
2479 #define debug(...) dprintf (2, __VA_ARGS__)
2480 #define showlist(...) puts (#__VA_ARGS__)
2481 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2482 static void
2483 test_varargs_macros (void)
2484 {
2485 int x = 1234;
2486 int y = 5678;
2487 debug ("Flag");
2488 debug ("X = %d\n", x);
2489 showlist (The first, second, and third items.);
2490 report (x>y, "x is %d but y is %d", x, y);
2491 }
2492
2493 // Check long long types.
2494 #define BIG64 18446744073709551615ull
2495 #define BIG32 4294967295ul
2496 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2497 #if !BIG_OK
2498 #error "your preprocessor is broken"
2499 #endif
2500 #if BIG_OK
2501 #else
2502 #error "your preprocessor is broken"
2503 #endif
2504 static long long int bignum = -9223372036854775807LL;
2505 static unsigned long long int ubignum = BIG64;
2506
2507 struct incomplete_array
2508 {
2509 int datasize;
2510 double data[];
2511 };
2512
2513 struct named_init {
2514 int number;
2515 const wchar_t *name;
2516 double average;
2517 };
2518
2519 typedef const char *ccp;
2520
2521 static inline int
2522 test_restrict (ccp restrict text)
2523 {
2524 // Iterate through items via the restricted pointer.
2525 // Also check for declarations in for loops.
2526 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2527 continue;
2528 return 0;
2529 }
2530
2531 // Check varargs and va_copy.
2532 static bool
2533 test_varargs (const char *format, ...)
2534 {
2535 va_list args;
2536 va_start (args, format);
2537 va_list args_copy;
2538 va_copy (args_copy, args);
2539
2540 const char *str = "";
2541 int number = 0;
2542 float fnumber = 0;
2543
2544 while (*format)
2545 {
2546 switch (*format++)
2547 {
2548 case '\''s'\'': // string
2549 str = va_arg (args_copy, const char *);
2550 break;
2551 case '\''d'\'': // int
2552 number = va_arg (args_copy, int);
2553 break;
2554 case '\''f'\'': // float
2555 fnumber = va_arg (args_copy, double);
2556 break;
2557 default:
2558 break;
2559 }
2560 }
2561 va_end (args_copy);
2562 va_end (args);
2563
2564 return *str && number && fnumber;
2565 }
2566 '
2567
2568 # Test code for whether the C compiler supports C99 (body of main).
2569 ac_c_conftest_c99_main='
2570 // Check bool.
2571 _Bool success = false;
2572 success |= (argc != 0);
2573
2574 // Check restrict.
2575 if (test_restrict ("String literal") == 0)
2576 success = true;
2577 char *restrict newvar = "Another string";
2578
2579 // Check varargs.
2580 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2581 test_varargs_macros ();
2582
2583 // Check flexible array members.
2584 struct incomplete_array *ia =
2585 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2586 ia->datasize = 10;
2587 for (int i = 0; i < ia->datasize; ++i)
2588 ia->data[i] = i * 1.234;
2589 // Work around memory leak warnings.
2590 free (ia);
2591
2592 // Check named initializers.
2593 struct named_init ni = {
2594 .number = 34,
2595 .name = L"Test wide string",
2596 .average = 543.34343,
2597 };
2598
2599 ni.number = 58;
2600
2601 int dynamic_array[ni.number];
2602 dynamic_array[0] = argv[0][0];
2603 dynamic_array[ni.number - 1] = 543;
2604
2605 // work around unused variable warnings
2606 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2607 || dynamic_array[ni.number - 1] != 543);
2608 '
2609
2610 # Test code for whether the C compiler supports C11 (global declarations)
2611 ac_c_conftest_c11_globals='
2612 /* Does the compiler advertise C11 conformance? */
2613 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2614 # error "Compiler does not advertise C11 conformance"
2615 #endif
2616
2617 // Check _Alignas.
2618 char _Alignas (double) aligned_as_double;
2619 char _Alignas (0) no_special_alignment;
2620 extern char aligned_as_int;
2621 char _Alignas (0) _Alignas (int) aligned_as_int;
2622
2623 // Check _Alignof.
2624 enum
2625 {
2626 int_alignment = _Alignof (int),
2627 int_array_alignment = _Alignof (int[100]),
2628 char_alignment = _Alignof (char)
2629 };
2630 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2631
2632 // Check _Noreturn.
2633 int _Noreturn does_not_return (void) { for (;;) continue; }
2634
2635 // Check _Static_assert.
2636 struct test_static_assert
2637 {
2638 int x;
2639 _Static_assert (sizeof (int) <= sizeof (long int),
2640 "_Static_assert does not work in struct");
2641 long int y;
2642 };
2643
2644 // Check UTF-8 literals.
2645 #define u8 syntax error!
2646 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2647
2648 // Check duplicate typedefs.
2649 typedef long *long_ptr;
2650 typedef long int *long_ptr;
2651 typedef long_ptr long_ptr;
2652
2653 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2654 struct anonymous
2655 {
2656 union {
2657 struct { int i; int j; };
2658 struct { int k; long int l; } w;
2659 };
2660 int m;
2661 } v1;
2662 '
2663
2664 # Test code for whether the C compiler supports C11 (body of main).
2665 ac_c_conftest_c11_main='
2666 _Static_assert ((offsetof (struct anonymous, i)
2667 == offsetof (struct anonymous, w.k)),
2668 "Anonymous union alignment botch");
2669 v1.i = 2;
2670 v1.w.k = 5;
2671 ok |= v1.i != 5;
2672 '
2673
2674 # Test code for whether the C compiler supports C11 (complete).
2675 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2676 ${ac_c_conftest_c99_globals}
2677 ${ac_c_conftest_c11_globals}
2678
2679 int
2680 main (int argc, char **argv)
2681 {
2682 int ok = 0;
2683 ${ac_c_conftest_c89_main}
2684 ${ac_c_conftest_c99_main}
2685 ${ac_c_conftest_c11_main}
2686 return ok;
2687 }
2688 "
2689
2690 # Test code for whether the C compiler supports C99 (complete).
2691 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2692 ${ac_c_conftest_c99_globals}
2693
2694 int
2695 main (int argc, char **argv)
2696 {
2697 int ok = 0;
2698 ${ac_c_conftest_c89_main}
2699 ${ac_c_conftest_c99_main}
2700 return ok;
2701 }
2702 "
2703
2704 # Test code for whether the C compiler supports C89 (complete).
2705 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2706
2707 int
2708 main (int argc, char **argv)
2709 {
2710 int ok = 0;
2711 ${ac_c_conftest_c89_main}
2712 return ok;
2713 }
2714 "
2715
2716 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2717 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2718 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2719 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2720 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2721 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2722 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2723 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2724 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2725 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2726
2727 # Auxiliary files required by this configure script.
2728 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2729
2730 # Locations in which to look for auxiliary files.
2731 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2732
2733 # Search for a directory containing all of the required auxiliary files,
2734 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2735 # If we don't find one directory that contains all the files we need,
2736 # we report the set of missing files from the *first* directory in
2737 # $ac_aux_dir_candidates and give up.
2738 ac_missing_aux_files=""
2739 ac_first_candidate=:
2740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 as_found=false
2743 for as_dir in $ac_aux_dir_candidates
2744 do
2745 IFS=$as_save_IFS
2746 case $as_dir in #(((
2747 '') as_dir=./ ;;
2748 */) ;;
2749 *) as_dir=$as_dir/ ;;
2750 esac
2751 as_found=:
2752
2753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2754 ac_aux_dir_found=yes
2755 ac_install_sh=
2756 for ac_aux in $ac_aux_files
2757 do
2758 # As a special case, if "install-sh" is required, that requirement
2759 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2760 # and $ac_install_sh is set appropriately for whichever one is found.
2761 if test x"$ac_aux" = x"install-sh"
2762 then
2763 if test -f "${as_dir}install-sh"; then
2764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2765 ac_install_sh="${as_dir}install-sh -c"
2766 elif test -f "${as_dir}install.sh"; then
2767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2768 ac_install_sh="${as_dir}install.sh -c"
2769 elif test -f "${as_dir}shtool"; then
2770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2771 ac_install_sh="${as_dir}shtool install -c"
2772 else
2773 ac_aux_dir_found=no
2774 if $ac_first_candidate; then
2775 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2776 else
2777 break
2778 fi
2779 fi
2780 else
2781 if test -f "${as_dir}${ac_aux}"; then
2782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2783 else
2784 ac_aux_dir_found=no
2785 if $ac_first_candidate; then
2786 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2787 else
2788 break
2789 fi
2790 fi
2791 fi
2792 done
2793 if test "$ac_aux_dir_found" = yes; then
2794 ac_aux_dir="$as_dir"
2795 break
2796 fi
2797 ac_first_candidate=false
2798
2799 as_found=false
2800 done
2801 IFS=$as_save_IFS
2802 if $as_found
2803 then :
2804
2805 else case e in #(
2806 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2807 esac
2808 fi
2809
2810
2811 # These three variables are undocumented and unsupported,
2812 # and are intended to be withdrawn in a future Autoconf release.
2813 # They can cause serious problems if a builder's source tree is in a directory
2814 # whose full name contains unusual characters.
2815 if test -f "${ac_aux_dir}config.guess"; then
2816 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2817 fi
2818 if test -f "${ac_aux_dir}config.sub"; then
2819 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2820 fi
2821 if test -f "$ac_aux_dir/configure"; then
2822 ac_configure="$SHELL ${ac_aux_dir}configure"
2823 fi
2824
2825 # Check that the precious variables saved in the cache have kept the same
2826 # value.
2827 ac_cache_corrupted=false
2828 for ac_var in $ac_precious_vars; do
2829 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2830 eval ac_new_set=\$ac_env_${ac_var}_set
2831 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2832 eval ac_new_val=\$ac_env_${ac_var}_value
2833 case $ac_old_set,$ac_new_set in
2834 set,)
2835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2836 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2837 ac_cache_corrupted=: ;;
2838 ,set)
2839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2840 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2841 ac_cache_corrupted=: ;;
2842 ,);;
2843 *)
2844 if test "x$ac_old_val" != "x$ac_new_val"; then
2845 # differences in whitespace do not lead to failure.
2846 ac_old_val_w=`echo x $ac_old_val`
2847 ac_new_val_w=`echo x $ac_new_val`
2848 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2850 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2851 ac_cache_corrupted=:
2852 else
2853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2854 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2855 eval $ac_var=\$ac_old_val
2856 fi
2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2858 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2860 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2861 fi;;
2862 esac
2863 # Pass precious variables to config.status.
2864 if test "$ac_new_set" = set; then
2865 case $ac_new_val in
2866 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2867 *) ac_arg=$ac_var=$ac_new_val ;;
2868 esac
2869 case " $ac_configure_args " in
2870 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2871 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2872 esac
2873 fi
2874 done
2875 if $ac_cache_corrupted; then
2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2877 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2879 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2880 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2881 and start over" "$LINENO" 5
2882 fi
2883 ## -------------------- ##
2884 ## Main body of script. ##
2885 ## -------------------- ##
2886
2887 ac_ext=c
2888 ac_cpp='$CPP $CPPFLAGS'
2889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892
2893
2894
2895
2896
2897
2898
2899 am__api_version='1.18'
2900
2901
2902
2903 # Find a good install program. We prefer a C program (faster),
2904 # so one script is as good as another. But avoid the broken or
2905 # incompatible versions:
2906 # SysV /etc/install, /usr/sbin/install
2907 # SunOS /usr/etc/install
2908 # IRIX /sbin/install
2909 # AIX /bin/install
2910 # AmigaOS /C/install, which installs bootblocks on floppy discs
2911 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2912 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2913 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2914 # OS/2's system install, which has a completely different semantic
2915 # ./install, which can be erroneously created by make from ./install.sh.
2916 # Reject install programs that cannot install multiple files.
2917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2918 printf %s "checking for a BSD-compatible install... " >&6; }
2919 if test -z "$INSTALL"; then
2920 if test ${ac_cv_path_install+y}
2921 then :
2922 printf %s "(cached) " >&6
2923 else case e in #(
2924 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 for as_dir in $PATH
2926 do
2927 IFS=$as_save_IFS
2928 case $as_dir in #(((
2929 '') as_dir=./ ;;
2930 */) ;;
2931 *) as_dir=$as_dir/ ;;
2932 esac
2933 # Account for fact that we put trailing slashes in our PATH walk.
2934 case $as_dir in #((
2935 ./ | /[cC]/* | \
2936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2937 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2938 /usr/ucb/* ) ;;
2939 *)
2940 # OSF1 and SCO ODT 3.0 have their own names for install.
2941 # Don't use installbsd from OSF since it installs stuff as root
2942 # by default.
2943 for ac_prog in ginstall scoinst install; do
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2946 if test $ac_prog = install &&
2947 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2948 # AIX install. It has an incompatible calling convention.
2949 :
2950 elif test $ac_prog = install &&
2951 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2952 # program-specific install script used by HP pwplus--don't use.
2953 :
2954 else
2955 rm -rf conftest.one conftest.two conftest.dir
2956 echo one > conftest.one
2957 echo two > conftest.two
2958 mkdir conftest.dir
2959 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2960 test -s conftest.one && test -s conftest.two &&
2961 test -s conftest.dir/conftest.one &&
2962 test -s conftest.dir/conftest.two
2963 then
2964 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2965 break 3
2966 fi
2967 fi
2968 fi
2969 done
2970 done
2971 ;;
2972 esac
2973
2974 done
2975 IFS=$as_save_IFS
2976
2977 rm -rf conftest.one conftest.two conftest.dir
2978 ;;
2979 esac
2980 fi
2981 if test ${ac_cv_path_install+y}; then
2982 INSTALL=$ac_cv_path_install
2983 else
2984 # As a last resort, use the slow shell script. Don't cache a
2985 # value for INSTALL within a source directory, because that will
2986 # break other packages using the cache if that directory is
2987 # removed, or if the value is a relative name.
2988 INSTALL=$ac_install_sh
2989 fi
2990 fi
2991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2992 printf "%s\n" "$INSTALL" >&6; }
2993
2994 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2995 # It thinks the first close brace ends the variable substitution.
2996 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2997
2998 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2999
3000 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3001
3002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
3003 printf %s "checking whether sleep supports fractional seconds... " >&6; }
3004 if test ${am_cv_sleep_fractional_seconds+y}
3005 then :
3006 printf %s "(cached) " >&6
3007 else case e in #(
3008 e) if sleep 0.001 2>/dev/null
3009 then :
3010 am_cv_sleep_fractional_seconds=yes
3011 else case e in #(
3012 e) am_cv_sleep_fractional_seconds=no ;;
3013 esac
3014 fi
3015 ;;
3016 esac
3017 fi
3018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3019 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3020
3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3022 printf %s "checking filesystem timestamp resolution... " >&6; }
3023 if test ${am_cv_filesystem_timestamp_resolution+y}
3024 then :
3025 printf %s "(cached) " >&6
3026 else case e in #(
3027 e) # Default to the worst case.
3028 am_cv_filesystem_timestamp_resolution=2
3029
3030 # Only try to go finer than 1 sec if sleep can do it.
3031 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3032 # - 1 sec is not much of a win compared to 2 sec, and
3033 # - it takes 2 seconds to perform the test whether 1 sec works.
3034 #
3035 # Instead, just use the default 2s on platforms that have 1s resolution,
3036 # accept the extra 1s delay when using $sleep in the Automake tests, in
3037 # exchange for not incurring the 2s delay for running the test for all
3038 # packages.
3039 #
3040 am_try_resolutions=
3041 if test "$am_cv_sleep_fractional_seconds" = yes; then
3042 # Even a millisecond often causes a bunch of false positives,
3043 # so just try a hundredth of a second. The time saved between .001 and
3044 # .01 is not terribly consequential.
3045 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3046 fi
3047
3048 # In order to catch current-generation FAT out, we must *modify* files
3049 # that already exist; the *creation* timestamp is finer. Use names
3050 # that make ls -t sort them differently when they have equal
3051 # timestamps than when they have distinct timestamps, keeping
3052 # in mind that ls -t prints the *newest* file first.
3053 rm -f conftest.ts?
3054 : > conftest.ts1
3055 : > conftest.ts2
3056 : > conftest.ts3
3057
3058 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3059 # clobber the current shell's arguments. (Outer-level square brackets
3060 # are removed by m4; they're present so that m4 does not expand
3061 # <dollar><star>; be careful, easy to get confused.)
3062 if (
3063 set X `ls -t conftest.ts[12]` &&
3064 {
3065 test "$*" != "X conftest.ts1 conftest.ts2" ||
3066 test "$*" != "X conftest.ts2 conftest.ts1";
3067 }
3068 ); then :; else
3069 # If neither matched, then we have a broken ls. This can happen
3070 # if, for instance, CONFIG_SHELL is bash and it inherits a
3071 # broken ls alias from the environment. This has actually
3072 # happened. Such a system could not be considered "sane".
3073 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3074 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3075 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3076 as_fn_error $? "ls -t produces unexpected output.
3077 Make sure there is not a broken ls alias in your environment.
3078 See 'config.log' for more details" "$LINENO" 5; }
3079 fi
3080
3081 for am_try_res in $am_try_resolutions; do
3082 # Any one fine-grained sleep might happen to cross the boundary
3083 # between two values of a coarser actual resolution, but if we do
3084 # two fine-grained sleeps in a row, at least one of them will fall
3085 # entirely within a coarse interval.
3086 echo alpha > conftest.ts1
3087 sleep $am_try_res
3088 echo beta > conftest.ts2
3089 sleep $am_try_res
3090 echo gamma > conftest.ts3
3091
3092 # We assume that 'ls -t' will make use of high-resolution
3093 # timestamps if the operating system supports them at all.
3094 if (set X `ls -t conftest.ts?` &&
3095 test "$2" = conftest.ts3 &&
3096 test "$3" = conftest.ts2 &&
3097 test "$4" = conftest.ts1); then
3098 #
3099 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3100 # because we don't need to test make.
3101 make_ok=true
3102 if test $am_try_res != 1; then
3103 # But if we've succeeded so far with a subsecond resolution, we
3104 # have one more thing to check: make. It can happen that
3105 # everything else supports the subsecond mtimes, but make doesn't;
3106 # notably on macOS, which ships make 3.81 from 2006 (the last one
3107 # released under GPLv2). https://bugs.gnu.org/68808
3108 #
3109 # We test $MAKE if it is defined in the environment, else "make".
3110 # It might get overridden later, but our hope is that in practice
3111 # it does not matter: it is the system "make" which is (by far)
3112 # the most likely to be broken, whereas if the user overrides it,
3113 # probably they did so with a better, or at least not worse, make.
3114 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3115 #
3116 # Create a Makefile (real tab character here):
3117 rm -f conftest.mk
3118 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3119 echo ' touch conftest.ts2' >>conftest.mk
3120 #
3121 # Now, running
3122 # touch conftest.ts1; touch conftest.ts2; make
3123 # should touch ts1 because ts2 is newer. This could happen by luck,
3124 # but most often, it will fail if make's support is insufficient. So
3125 # test for several consecutive successes.
3126 #
3127 # (We reuse conftest.ts[12] because we still want to modify existing
3128 # files, not create new ones, per above.)
3129 n=0
3130 make=${MAKE-make}
3131 until test $n -eq 3; do
3132 echo one > conftest.ts1
3133 sleep $am_try_res
3134 echo two > conftest.ts2 # ts2 should now be newer than ts1
3135 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3136 make_ok=false
3137 break # out of $n loop
3138 fi
3139 n=`expr $n + 1`
3140 done
3141 fi
3142 #
3143 if $make_ok; then
3144 # Everything we know to check worked out, so call this resolution good.
3145 am_cv_filesystem_timestamp_resolution=$am_try_res
3146 break # out of $am_try_res loop
3147 fi
3148 # Otherwise, we'll go on to check the next resolution.
3149 fi
3150 done
3151 rm -f conftest.ts?
3152 # (end _am_filesystem_timestamp_resolution)
3153 ;;
3154 esac
3155 fi
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3157 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3158
3159 # This check should not be cached, as it may vary across builds of
3160 # different projects.
3161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3162 printf %s "checking whether build environment is sane... " >&6; }
3163 # Reject unsafe characters in $srcdir or the absolute working directory
3164 # name. Accept space and tab only in the latter.
3165 am_lf='
3166 '
3167 case `pwd` in
3168 *[\\\"\#\$\&\'\`$am_lf]*)
3169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 printf "%s\n" "no" >&6; }
3171 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3172 esac
3173 case $srcdir in
3174 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 printf "%s\n" "no" >&6; }
3177 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3178 esac
3179
3180 # Do 'set' in a subshell so we don't clobber the current shell's
3181 # arguments. Must try -L first in case configure is actually a
3182 # symlink; some systems play weird games with the mod time of symlinks
3183 # (eg FreeBSD returns the mod time of the symlink's containing
3184 # directory).
3185 am_build_env_is_sane=no
3186 am_has_slept=no
3187 rm -f conftest.file
3188 for am_try in 1 2; do
3189 echo "timestamp, slept: $am_has_slept" > conftest.file
3190 if (
3191 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3192 if test "$*" = "X"; then
3193 # -L didn't work.
3194 set X `ls -t "$srcdir/configure" conftest.file`
3195 fi
3196 test "$2" = conftest.file
3197 ); then
3198 am_build_env_is_sane=yes
3199 break
3200 fi
3201 # Just in case.
3202 sleep "$am_cv_filesystem_timestamp_resolution"
3203 am_has_slept=yes
3204 done
3205
3206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3207 printf "%s\n" "$am_build_env_is_sane" >&6; }
3208 if test "$am_build_env_is_sane" = no; then
3209 as_fn_error $? "newly created file is older than distributed files!
3210 Check your system clock" "$LINENO" 5
3211 fi
3212
3213 # If we didn't sleep, we still need to ensure time stamps of config.status and
3214 # generated files are strictly newer.
3215 am_sleep_pid=
3216 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3217 then :
3218
3219 else case e in #(
3220 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3221 am_sleep_pid=$!
3222 ;;
3223 esac
3224 fi
3225
3226 rm -f conftest.file
3227
3228 test "$program_prefix" != NONE &&
3229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was 's,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3237
3238
3239 # Expand $ac_aux_dir to an absolute path.
3240 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3241
3242
3243 if test x"${MISSING+set}" != xset; then
3244 MISSING="\${SHELL} '$am_aux_dir/missing'"
3245 fi
3246 # Use eval to expand $SHELL
3247 if eval "$MISSING --is-lightweight"; then
3248 am_missing_run="$MISSING "
3249 else
3250 am_missing_run=
3251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3252 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3253 fi
3254
3255 if test x"${install_sh+set}" != xset; then
3256 case $am_aux_dir in
3257 *\ * | *\ *)
3258 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3259 *)
3260 install_sh="\${SHELL} $am_aux_dir/install-sh"
3261 esac
3262 fi
3263
3264 # Installed binaries are usually stripped using 'strip' when the user
3265 # run "make install-strip". However 'strip' might not be the right
3266 # tool to use in cross-compilation environments, therefore Automake
3267 # will honor the 'STRIP' environment variable to overrule this program.
3268 if test "$cross_compiling" != no; then
3269 if test -n "$ac_tool_prefix"; then
3270 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3271 set dummy ${ac_tool_prefix}strip; ac_word=$2
3272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 printf %s "checking for $ac_word... " >&6; }
3274 if test ${ac_cv_prog_STRIP+y}
3275 then :
3276 printf %s "(cached) " >&6
3277 else case e in #(
3278 e) if test -n "$STRIP"; then
3279 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3280 else
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282 for as_dir in $PATH
3283 do
3284 IFS=$as_save_IFS
3285 case $as_dir in #(((
3286 '') as_dir=./ ;;
3287 */) ;;
3288 *) as_dir=$as_dir/ ;;
3289 esac
3290 for ac_exec_ext in '' $ac_executable_extensions; do
3291 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3292 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3294 break 2
3295 fi
3296 done
3297 done
3298 IFS=$as_save_IFS
3299
3300 fi ;;
3301 esac
3302 fi
3303 STRIP=$ac_cv_prog_STRIP
3304 if test -n "$STRIP"; then
3305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3306 printf "%s\n" "$STRIP" >&6; }
3307 else
3308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 printf "%s\n" "no" >&6; }
3310 fi
3311
3312
3313 fi
3314 if test -z "$ac_cv_prog_STRIP"; then
3315 ac_ct_STRIP=$STRIP
3316 # Extract the first word of "strip", so it can be a program name with args.
3317 set dummy strip; ac_word=$2
3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3319 printf %s "checking for $ac_word... " >&6; }
3320 if test ${ac_cv_prog_ac_ct_STRIP+y}
3321 then :
3322 printf %s "(cached) " >&6
3323 else case e in #(
3324 e) if test -n "$ac_ct_STRIP"; then
3325 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3326 else
3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328 for as_dir in $PATH
3329 do
3330 IFS=$as_save_IFS
3331 case $as_dir in #(((
3332 '') as_dir=./ ;;
3333 */) ;;
3334 *) as_dir=$as_dir/ ;;
3335 esac
3336 for ac_exec_ext in '' $ac_executable_extensions; do
3337 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3338 ac_cv_prog_ac_ct_STRIP="strip"
3339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3340 break 2
3341 fi
3342 done
3343 done
3344 IFS=$as_save_IFS
3345
3346 fi ;;
3347 esac
3348 fi
3349 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3350 if test -n "$ac_ct_STRIP"; then
3351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3352 printf "%s\n" "$ac_ct_STRIP" >&6; }
3353 else
3354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3355 printf "%s\n" "no" >&6; }
3356 fi
3357
3358 if test "x$ac_ct_STRIP" = x; then
3359 STRIP=":"
3360 else
3361 case $cross_compiling:$ac_tool_warned in
3362 yes:)
3363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3364 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3365 ac_tool_warned=yes ;;
3366 esac
3367 STRIP=$ac_ct_STRIP
3368 fi
3369 else
3370 STRIP="$ac_cv_prog_STRIP"
3371 fi
3372
3373 fi
3374 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3375
3376
3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3378 printf %s "checking for a race-free mkdir -p... " >&6; }
3379 if test -z "$MKDIR_P"; then
3380 if test ${ac_cv_path_mkdir+y}
3381 then :
3382 printf %s "(cached) " >&6
3383 else case e in #(
3384 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3386 do
3387 IFS=$as_save_IFS
3388 case $as_dir in #(((
3389 '') as_dir=./ ;;
3390 */) ;;
3391 *) as_dir=$as_dir/ ;;
3392 esac
3393 for ac_prog in mkdir gmkdir; do
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3396 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3397 'mkdir ('*'coreutils) '* | \
3398 *'BusyBox '* | \
3399 'mkdir (fileutils) '4.1*)
3400 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3401 break 3;;
3402 esac
3403 done
3404 done
3405 done
3406 IFS=$as_save_IFS
3407 ;;
3408 esac
3409 fi
3410
3411 test -d ./--version && rmdir ./--version
3412 if test ${ac_cv_path_mkdir+y}; then
3413 MKDIR_P="$ac_cv_path_mkdir -p"
3414 else
3415 # As a last resort, use plain mkdir -p,
3416 # in the hope it doesn't have the bugs of ancient mkdir.
3417 MKDIR_P='mkdir -p'
3418 fi
3419 fi
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3421 printf "%s\n" "$MKDIR_P" >&6; }
3422
3423 for ac_prog in gawk mawk nawk awk
3424 do
3425 # Extract the first word of "$ac_prog", so it can be a program name with args.
3426 set dummy $ac_prog; ac_word=$2
3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 printf %s "checking for $ac_word... " >&6; }
3429 if test ${ac_cv_prog_AWK+y}
3430 then :
3431 printf %s "(cached) " >&6
3432 else case e in #(
3433 e) if test -n "$AWK"; then
3434 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3435 else
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437 for as_dir in $PATH
3438 do
3439 IFS=$as_save_IFS
3440 case $as_dir in #(((
3441 '') as_dir=./ ;;
3442 */) ;;
3443 *) as_dir=$as_dir/ ;;
3444 esac
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3447 ac_cv_prog_AWK="$ac_prog"
3448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3449 break 2
3450 fi
3451 done
3452 done
3453 IFS=$as_save_IFS
3454
3455 fi ;;
3456 esac
3457 fi
3458 AWK=$ac_cv_prog_AWK
3459 if test -n "$AWK"; then
3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3461 printf "%s\n" "$AWK" >&6; }
3462 else
3463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 printf "%s\n" "no" >&6; }
3465 fi
3466
3467
3468 test -n "$AWK" && break
3469 done
3470
3471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3472 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3473 set x ${MAKE-make}
3474 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3475 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3476 then :
3477 printf %s "(cached) " >&6
3478 else case e in #(
3479 e) cat >conftest.make <<\_ACEOF
3480 SHELL = /bin/sh
3481 all:
3482 @echo '@@@%%%=$(MAKE)=@@@%%%'
3483 _ACEOF
3484 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3485 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3486 *@@@%%%=?*=@@@%%%*)
3487 eval ac_cv_prog_make_${ac_make}_set=yes;;
3488 *)
3489 eval ac_cv_prog_make_${ac_make}_set=no;;
3490 esac
3491 rm -f conftest.make ;;
3492 esac
3493 fi
3494 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3496 printf "%s\n" "yes" >&6; }
3497 SET_MAKE=
3498 else
3499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 printf "%s\n" "no" >&6; }
3501 SET_MAKE="MAKE=${MAKE-make}"
3502 fi
3503
3504 rm -rf .tst 2>/dev/null
3505 mkdir .tst 2>/dev/null
3506 if test -d .tst; then
3507 am__leading_dot=.
3508 else
3509 am__leading_dot=_
3510 fi
3511 rmdir .tst 2>/dev/null
3512
3513 AM_DEFAULT_VERBOSITY=1
3514 # Check whether --enable-silent-rules was given.
3515 if test ${enable_silent_rules+y}
3516 then :
3517 enableval=$enable_silent_rules;
3518 fi
3519
3520 am_make=${MAKE-make}
3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3522 printf %s "checking whether $am_make supports nested variables... " >&6; }
3523 if test ${am_cv_make_support_nested_variables+y}
3524 then :
3525 printf %s "(cached) " >&6
3526 else case e in #(
3527 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3528 BAR0=false
3529 BAR1=true
3530 V=1
3531 am__doit:
3532 @$(TRUE)
3533 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3534 am_cv_make_support_nested_variables=yes
3535 else
3536 am_cv_make_support_nested_variables=no
3537 fi ;;
3538 esac
3539 fi
3540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3541 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3542 AM_BACKSLASH='\'
3543
3544 am__rm_f_notfound=
3545 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3546 then :
3547
3548 else case e in #(
3549 e) am__rm_f_notfound='""' ;;
3550 esac
3551 fi
3552
3553
3554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3555 printf %s "checking xargs -n works... " >&6; }
3556 if test ${am_cv_xargs_n_works+y}
3557 then :
3558 printf %s "(cached) " >&6
3559 else case e in #(
3560 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3561 3"
3562 then :
3563 am_cv_xargs_n_works=yes
3564 else case e in #(
3565 e) am_cv_xargs_n_works=no ;;
3566 esac
3567 fi ;;
3568 esac
3569 fi
3570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3571 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3572 if test "$am_cv_xargs_n_works" = yes
3573 then :
3574 am__xargs_n='xargs -n'
3575 else case e in #(
3576 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3577 ;;
3578 esac
3579 fi
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590 DEPDIR="${am__leading_dot}deps"
3591
3592 ac_config_commands="$ac_config_commands depfiles"
3593
3594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3595 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3596 cat > confinc.mk << 'END'
3597 am__doit:
3598 @echo this is the am__doit target >confinc.out
3599 .PHONY: am__doit
3600 END
3601 am__include="#"
3602 am__quote=
3603 # BSD make does it like this.
3604 echo '.include "confinc.mk" # ignored' > confmf.BSD
3605 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3606 echo 'include confinc.mk # ignored' > confmf.GNU
3607 _am_result=no
3608 for s in GNU BSD; do
3609 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3610 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3611 ac_status=$?
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }
3614 case $?:`cat confinc.out 2>/dev/null` in #(
3615 '0:this is the am__doit target') :
3616 case $s in #(
3617 BSD) :
3618 am__include='.include' am__quote='"' ;; #(
3619 *) :
3620 am__include='include' am__quote='' ;;
3621 esac ;; #(
3622 *) :
3623 ;;
3624 esac
3625 if test "$am__include" != "#"; then
3626 _am_result="yes ($s style)"
3627 break
3628 fi
3629 done
3630 rm -f confinc.* confmf.*
3631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3632 printf "%s\n" "${_am_result}" >&6; }
3633
3634 # Check whether --enable-dependency-tracking was given.
3635 if test ${enable_dependency_tracking+y}
3636 then :
3637 enableval=$enable_dependency_tracking;
3638 fi
3639
3640 if test "x$enable_dependency_tracking" != xno; then
3641 am_depcomp="$ac_aux_dir/depcomp"
3642 AMDEPBACKSLASH='\'
3643 am__nodep='_no'
3644 fi
3645 if test "x$enable_dependency_tracking" != xno; then
3646 AMDEP_TRUE=
3647 AMDEP_FALSE='#'
3648 else
3649 AMDEP_TRUE='#'
3650 AMDEP_FALSE=
3651 fi
3652
3653
3654 ac_ext=c
3655 ac_cpp='$CPP $CPPFLAGS'
3656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3659 if test -n "$ac_tool_prefix"; then
3660 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3661 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3663 printf %s "checking for $ac_word... " >&6; }
3664 if test ${ac_cv_prog_CC+y}
3665 then :
3666 printf %s "(cached) " >&6
3667 else case e in #(
3668 e) if test -n "$CC"; then
3669 ac_cv_prog_CC="$CC" # Let the user override the test.
3670 else
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH
3673 do
3674 IFS=$as_save_IFS
3675 case $as_dir in #(((
3676 '') as_dir=./ ;;
3677 */) ;;
3678 *) as_dir=$as_dir/ ;;
3679 esac
3680 for ac_exec_ext in '' $ac_executable_extensions; do
3681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3682 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3684 break 2
3685 fi
3686 done
3687 done
3688 IFS=$as_save_IFS
3689
3690 fi ;;
3691 esac
3692 fi
3693 CC=$ac_cv_prog_CC
3694 if test -n "$CC"; then
3695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3696 printf "%s\n" "$CC" >&6; }
3697 else
3698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 printf "%s\n" "no" >&6; }
3700 fi
3701
3702
3703 fi
3704 if test -z "$ac_cv_prog_CC"; then
3705 ac_ct_CC=$CC
3706 # Extract the first word of "gcc", so it can be a program name with args.
3707 set dummy gcc; ac_word=$2
3708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3709 printf %s "checking for $ac_word... " >&6; }
3710 if test ${ac_cv_prog_ac_ct_CC+y}
3711 then :
3712 printf %s "(cached) " >&6
3713 else case e in #(
3714 e) if test -n "$ac_ct_CC"; then
3715 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3716 else
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 for as_dir in $PATH
3719 do
3720 IFS=$as_save_IFS
3721 case $as_dir in #(((
3722 '') as_dir=./ ;;
3723 */) ;;
3724 *) as_dir=$as_dir/ ;;
3725 esac
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3728 ac_cv_prog_ac_ct_CC="gcc"
3729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3730 break 2
3731 fi
3732 done
3733 done
3734 IFS=$as_save_IFS
3735
3736 fi ;;
3737 esac
3738 fi
3739 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3740 if test -n "$ac_ct_CC"; then
3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3742 printf "%s\n" "$ac_ct_CC" >&6; }
3743 else
3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 printf "%s\n" "no" >&6; }
3746 fi
3747
3748 if test "x$ac_ct_CC" = x; then
3749 CC=""
3750 else
3751 case $cross_compiling:$ac_tool_warned in
3752 yes:)
3753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3755 ac_tool_warned=yes ;;
3756 esac
3757 CC=$ac_ct_CC
3758 fi
3759 else
3760 CC="$ac_cv_prog_CC"
3761 fi
3762
3763 if test -z "$CC"; then
3764 if test -n "$ac_tool_prefix"; then
3765 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3766 set dummy ${ac_tool_prefix}cc; ac_word=$2
3767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 printf %s "checking for $ac_word... " >&6; }
3769 if test ${ac_cv_prog_CC+y}
3770 then :
3771 printf %s "(cached) " >&6
3772 else case e in #(
3773 e) if test -n "$CC"; then
3774 ac_cv_prog_CC="$CC" # Let the user override the test.
3775 else
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3778 do
3779 IFS=$as_save_IFS
3780 case $as_dir in #(((
3781 '') as_dir=./ ;;
3782 */) ;;
3783 *) as_dir=$as_dir/ ;;
3784 esac
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3787 ac_cv_prog_CC="${ac_tool_prefix}cc"
3788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3789 break 2
3790 fi
3791 done
3792 done
3793 IFS=$as_save_IFS
3794
3795 fi ;;
3796 esac
3797 fi
3798 CC=$ac_cv_prog_CC
3799 if test -n "$CC"; then
3800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3801 printf "%s\n" "$CC" >&6; }
3802 else
3803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 printf "%s\n" "no" >&6; }
3805 fi
3806
3807
3808 fi
3809 fi
3810 if test -z "$CC"; then
3811 # Extract the first word of "cc", so it can be a program name with args.
3812 set dummy cc; ac_word=$2
3813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 printf %s "checking for $ac_word... " >&6; }
3815 if test ${ac_cv_prog_CC+y}
3816 then :
3817 printf %s "(cached) " >&6
3818 else case e in #(
3819 e) if test -n "$CC"; then
3820 ac_cv_prog_CC="$CC" # Let the user override the test.
3821 else
3822 ac_prog_rejected=no
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3825 do
3826 IFS=$as_save_IFS
3827 case $as_dir in #(((
3828 '') as_dir=./ ;;
3829 */) ;;
3830 *) as_dir=$as_dir/ ;;
3831 esac
3832 for ac_exec_ext in '' $ac_executable_extensions; do
3833 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3834 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3835 ac_prog_rejected=yes
3836 continue
3837 fi
3838 ac_cv_prog_CC="cc"
3839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3840 break 2
3841 fi
3842 done
3843 done
3844 IFS=$as_save_IFS
3845
3846 if test $ac_prog_rejected = yes; then
3847 # We found a bogon in the path, so make sure we never use it.
3848 set dummy $ac_cv_prog_CC
3849 shift
3850 if test $# != 0; then
3851 # We chose a different compiler from the bogus one.
3852 # However, it has the same basename, so the bogon will be chosen
3853 # first if we set CC to just the basename; use the full file name.
3854 shift
3855 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3856 fi
3857 fi
3858 fi ;;
3859 esac
3860 fi
3861 CC=$ac_cv_prog_CC
3862 if test -n "$CC"; then
3863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3864 printf "%s\n" "$CC" >&6; }
3865 else
3866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 printf "%s\n" "no" >&6; }
3868 fi
3869
3870
3871 fi
3872 if test -z "$CC"; then
3873 if test -n "$ac_tool_prefix"; then
3874 for ac_prog in cl.exe
3875 do
3876 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 printf %s "checking for $ac_word... " >&6; }
3880 if test ${ac_cv_prog_CC+y}
3881 then :
3882 printf %s "(cached) " >&6
3883 else case e in #(
3884 e) if test -n "$CC"; then
3885 ac_cv_prog_CC="$CC" # Let the user override the test.
3886 else
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 for as_dir in $PATH
3889 do
3890 IFS=$as_save_IFS
3891 case $as_dir in #(((
3892 '') as_dir=./ ;;
3893 */) ;;
3894 *) as_dir=$as_dir/ ;;
3895 esac
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3898 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3900 break 2
3901 fi
3902 done
3903 done
3904 IFS=$as_save_IFS
3905
3906 fi ;;
3907 esac
3908 fi
3909 CC=$ac_cv_prog_CC
3910 if test -n "$CC"; then
3911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3912 printf "%s\n" "$CC" >&6; }
3913 else
3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 printf "%s\n" "no" >&6; }
3916 fi
3917
3918
3919 test -n "$CC" && break
3920 done
3921 fi
3922 if test -z "$CC"; then
3923 ac_ct_CC=$CC
3924 for ac_prog in cl.exe
3925 do
3926 # Extract the first word of "$ac_prog", so it can be a program name with args.
3927 set dummy $ac_prog; ac_word=$2
3928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 printf %s "checking for $ac_word... " >&6; }
3930 if test ${ac_cv_prog_ac_ct_CC+y}
3931 then :
3932 printf %s "(cached) " >&6
3933 else case e in #(
3934 e) if test -n "$ac_ct_CC"; then
3935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3936 else
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 for as_dir in $PATH
3939 do
3940 IFS=$as_save_IFS
3941 case $as_dir in #(((
3942 '') as_dir=./ ;;
3943 */) ;;
3944 *) as_dir=$as_dir/ ;;
3945 esac
3946 for ac_exec_ext in '' $ac_executable_extensions; do
3947 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3948 ac_cv_prog_ac_ct_CC="$ac_prog"
3949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3950 break 2
3951 fi
3952 done
3953 done
3954 IFS=$as_save_IFS
3955
3956 fi ;;
3957 esac
3958 fi
3959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3960 if test -n "$ac_ct_CC"; then
3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3962 printf "%s\n" "$ac_ct_CC" >&6; }
3963 else
3964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 printf "%s\n" "no" >&6; }
3966 fi
3967
3968
3969 test -n "$ac_ct_CC" && break
3970 done
3971
3972 if test "x$ac_ct_CC" = x; then
3973 CC=""
3974 else
3975 case $cross_compiling:$ac_tool_warned in
3976 yes:)
3977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3978 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3979 ac_tool_warned=yes ;;
3980 esac
3981 CC=$ac_ct_CC
3982 fi
3983 fi
3984
3985 fi
3986 if test -z "$CC"; then
3987 if test -n "$ac_tool_prefix"; then
3988 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3989 set dummy ${ac_tool_prefix}clang; ac_word=$2
3990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 printf %s "checking for $ac_word... " >&6; }
3992 if test ${ac_cv_prog_CC+y}
3993 then :
3994 printf %s "(cached) " >&6
3995 else case e in #(
3996 e) if test -n "$CC"; then
3997 ac_cv_prog_CC="$CC" # Let the user override the test.
3998 else
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000 for as_dir in $PATH
4001 do
4002 IFS=$as_save_IFS
4003 case $as_dir in #(((
4004 '') as_dir=./ ;;
4005 */) ;;
4006 *) as_dir=$as_dir/ ;;
4007 esac
4008 for ac_exec_ext in '' $ac_executable_extensions; do
4009 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4010 ac_cv_prog_CC="${ac_tool_prefix}clang"
4011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4012 break 2
4013 fi
4014 done
4015 done
4016 IFS=$as_save_IFS
4017
4018 fi ;;
4019 esac
4020 fi
4021 CC=$ac_cv_prog_CC
4022 if test -n "$CC"; then
4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4024 printf "%s\n" "$CC" >&6; }
4025 else
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027 printf "%s\n" "no" >&6; }
4028 fi
4029
4030
4031 fi
4032 if test -z "$ac_cv_prog_CC"; then
4033 ac_ct_CC=$CC
4034 # Extract the first word of "clang", so it can be a program name with args.
4035 set dummy clang; ac_word=$2
4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4037 printf %s "checking for $ac_word... " >&6; }
4038 if test ${ac_cv_prog_ac_ct_CC+y}
4039 then :
4040 printf %s "(cached) " >&6
4041 else case e in #(
4042 e) if test -n "$ac_ct_CC"; then
4043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4044 else
4045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4046 for as_dir in $PATH
4047 do
4048 IFS=$as_save_IFS
4049 case $as_dir in #(((
4050 '') as_dir=./ ;;
4051 */) ;;
4052 *) as_dir=$as_dir/ ;;
4053 esac
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4056 ac_cv_prog_ac_ct_CC="clang"
4057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4058 break 2
4059 fi
4060 done
4061 done
4062 IFS=$as_save_IFS
4063
4064 fi ;;
4065 esac
4066 fi
4067 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4068 if test -n "$ac_ct_CC"; then
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4070 printf "%s\n" "$ac_ct_CC" >&6; }
4071 else
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 printf "%s\n" "no" >&6; }
4074 fi
4075
4076 if test "x$ac_ct_CC" = x; then
4077 CC=""
4078 else
4079 case $cross_compiling:$ac_tool_warned in
4080 yes:)
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4083 ac_tool_warned=yes ;;
4084 esac
4085 CC=$ac_ct_CC
4086 fi
4087 else
4088 CC="$ac_cv_prog_CC"
4089 fi
4090
4091 fi
4092
4093
4094 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4095 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4096 as_fn_error $? "no acceptable C compiler found in \$PATH
4097 See 'config.log' for more details" "$LINENO" 5; }
4098
4099 # Provide some information about the compiler.
4100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4101 set X $ac_compile
4102 ac_compiler=$2
4103 for ac_option in --version -v -V -qversion -version; do
4104 { { ac_try="$ac_compiler $ac_option >&5"
4105 case "(($ac_try" in
4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4108 esac
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 printf "%s\n" "$ac_try_echo"; } >&5
4111 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4112 ac_status=$?
4113 if test -s conftest.err; then
4114 sed '10a\
4115 ... rest of stderr output deleted ...
4116 10q' conftest.err >conftest.er1
4117 cat conftest.er1 >&5
4118 fi
4119 rm -f conftest.er1 conftest.err
4120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }
4122 done
4123
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4126
4127 int
4128 main (void)
4129 {
4130
4131 ;
4132 return 0;
4133 }
4134 _ACEOF
4135 ac_clean_files_save=$ac_clean_files
4136 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4137 # Try to create an executable without -o first, disregard a.out.
4138 # It will help us diagnose broken compilers, and finding out an intuition
4139 # of exeext.
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4141 printf %s "checking whether the C compiler works... " >&6; }
4142 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4143
4144 # The possible output files:
4145 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4146
4147 ac_rmfiles=
4148 for ac_file in $ac_files
4149 do
4150 case $ac_file in
4151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4152 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4153 esac
4154 done
4155 rm -f $ac_rmfiles
4156
4157 if { { ac_try="$ac_link_default"
4158 case "(($ac_try" in
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4161 esac
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 printf "%s\n" "$ac_try_echo"; } >&5
4164 (eval "$ac_link_default") 2>&5
4165 ac_status=$?
4166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167 test $ac_status = 0; }
4168 then :
4169 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4170 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4171 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4172 # so that the user can short-circuit this test for compilers unknown to
4173 # Autoconf.
4174 for ac_file in $ac_files ''
4175 do
4176 test -f "$ac_file" || continue
4177 case $ac_file in
4178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4179 ;;
4180 [ab].out )
4181 # We found the default executable, but exeext='' is most
4182 # certainly right.
4183 break;;
4184 *.* )
4185 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4186 then :; else
4187 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4188 fi
4189 # We set ac_cv_exeext here because the later test for it is not
4190 # safe: cross compilers may not add the suffix if given an '-o'
4191 # argument, so we may need to know it at that point already.
4192 # Even if this section looks crufty: it has the advantage of
4193 # actually working.
4194 break;;
4195 * )
4196 break;;
4197 esac
4198 done
4199 test "$ac_cv_exeext" = no && ac_cv_exeext=
4200
4201 else case e in #(
4202 e) ac_file='' ;;
4203 esac
4204 fi
4205 if test -z "$ac_file"
4206 then :
4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4208 printf "%s\n" "no" >&6; }
4209 printf "%s\n" "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.$ac_ext >&5
4211
4212 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4213 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4214 as_fn_error 77 "C compiler cannot create executables
4215 See 'config.log' for more details" "$LINENO" 5; }
4216 else case e in #(
4217 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4218 printf "%s\n" "yes" >&6; } ;;
4219 esac
4220 fi
4221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4222 printf %s "checking for C compiler default output file name... " >&6; }
4223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4224 printf "%s\n" "$ac_file" >&6; }
4225 ac_exeext=$ac_cv_exeext
4226
4227 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4228 ac_clean_files=$ac_clean_files_save
4229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4230 printf %s "checking for suffix of executables... " >&6; }
4231 if { { ac_try="$ac_link"
4232 case "(($ac_try" in
4233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4234 *) ac_try_echo=$ac_try;;
4235 esac
4236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4237 printf "%s\n" "$ac_try_echo"; } >&5
4238 (eval "$ac_link") 2>&5
4239 ac_status=$?
4240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4241 test $ac_status = 0; }
4242 then :
4243 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4244 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4245 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4246 # 'rm'.
4247 for ac_file in conftest.exe conftest conftest.*; do
4248 test -f "$ac_file" || continue
4249 case $ac_file in
4250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4251 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4252 break;;
4253 * ) break;;
4254 esac
4255 done
4256 else case e in #(
4257 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4258 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4259 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4260 See 'config.log' for more details" "$LINENO" 5; } ;;
4261 esac
4262 fi
4263 rm -f conftest conftest$ac_cv_exeext
4264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4265 printf "%s\n" "$ac_cv_exeext" >&6; }
4266
4267 rm -f conftest.$ac_ext
4268 EXEEXT=$ac_cv_exeext
4269 ac_exeext=$EXEEXT
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4272 #include <stdio.h>
4273 int
4274 main (void)
4275 {
4276 FILE *f = fopen ("conftest.out", "w");
4277 if (!f)
4278 return 1;
4279 return ferror (f) || fclose (f) != 0;
4280
4281 ;
4282 return 0;
4283 }
4284 _ACEOF
4285 ac_clean_files="$ac_clean_files conftest.out"
4286 # Check that the compiler produces executables we can run. If not, either
4287 # the compiler is broken, or we cross compile.
4288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4289 printf %s "checking whether we are cross compiling... " >&6; }
4290 if test "$cross_compiling" != yes; then
4291 { { ac_try="$ac_link"
4292 case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4295 esac
4296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4297 printf "%s\n" "$ac_try_echo"; } >&5
4298 (eval "$ac_link") 2>&5
4299 ac_status=$?
4300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4301 test $ac_status = 0; }
4302 if { ac_try='./conftest$ac_cv_exeext'
4303 { { case "(($ac_try" in
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 printf "%s\n" "$ac_try_echo"; } >&5
4309 (eval "$ac_try") 2>&5
4310 ac_status=$?
4311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; }; then
4313 cross_compiling=no
4314 else
4315 if test "$cross_compiling" = maybe; then
4316 cross_compiling=yes
4317 else
4318 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4319 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4320 as_fn_error 77 "cannot run C compiled programs.
4321 If you meant to cross compile, use '--host'.
4322 See 'config.log' for more details" "$LINENO" 5; }
4323 fi
4324 fi
4325 fi
4326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4327 printf "%s\n" "$cross_compiling" >&6; }
4328
4329 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4330 conftest.o conftest.obj conftest.out
4331 ac_clean_files=$ac_clean_files_save
4332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4333 printf %s "checking for suffix of object files... " >&6; }
4334 if test ${ac_cv_objext+y}
4335 then :
4336 printf %s "(cached) " >&6
4337 else case e in #(
4338 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339 /* end confdefs.h. */
4340
4341 int
4342 main (void)
4343 {
4344
4345 ;
4346 return 0;
4347 }
4348 _ACEOF
4349 rm -f conftest.o conftest.obj
4350 if { { ac_try="$ac_compile"
4351 case "(($ac_try" in
4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;;
4354 esac
4355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4356 printf "%s\n" "$ac_try_echo"; } >&5
4357 (eval "$ac_compile") 2>&5
4358 ac_status=$?
4359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4360 test $ac_status = 0; }
4361 then :
4362 for ac_file in conftest.o conftest.obj conftest.*; do
4363 test -f "$ac_file" || continue;
4364 case $ac_file in
4365 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4366 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4367 break;;
4368 esac
4369 done
4370 else case e in #(
4371 e) printf "%s\n" "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4373
4374 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4375 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4376 as_fn_error $? "cannot compute suffix of object files: cannot compile
4377 See 'config.log' for more details" "$LINENO" 5; } ;;
4378 esac
4379 fi
4380 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4381 esac
4382 fi
4383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4384 printf "%s\n" "$ac_cv_objext" >&6; }
4385 OBJEXT=$ac_cv_objext
4386 ac_objext=$OBJEXT
4387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4388 printf %s "checking whether the compiler supports GNU C... " >&6; }
4389 if test ${ac_cv_c_compiler_gnu+y}
4390 then :
4391 printf %s "(cached) " >&6
4392 else case e in #(
4393 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4395
4396 int
4397 main (void)
4398 {
4399 #ifndef __GNUC__
4400 choke me
4401 #endif
4402
4403 ;
4404 return 0;
4405 }
4406 _ACEOF
4407 if ac_fn_c_try_compile "$LINENO"
4408 then :
4409 ac_compiler_gnu=yes
4410 else case e in #(
4411 e) ac_compiler_gnu=no ;;
4412 esac
4413 fi
4414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4415 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4416 ;;
4417 esac
4418 fi
4419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4420 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422
4423 if test $ac_compiler_gnu = yes; then
4424 GCC=yes
4425 else
4426 GCC=
4427 fi
4428 ac_test_CFLAGS=${CFLAGS+y}
4429 ac_save_CFLAGS=$CFLAGS
4430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4431 printf %s "checking whether $CC accepts -g... " >&6; }
4432 if test ${ac_cv_prog_cc_g+y}
4433 then :
4434 printf %s "(cached) " >&6
4435 else case e in #(
4436 e) ac_save_c_werror_flag=$ac_c_werror_flag
4437 ac_c_werror_flag=yes
4438 ac_cv_prog_cc_g=no
4439 CFLAGS="-g"
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4442
4443 int
4444 main (void)
4445 {
4446
4447 ;
4448 return 0;
4449 }
4450 _ACEOF
4451 if ac_fn_c_try_compile "$LINENO"
4452 then :
4453 ac_cv_prog_cc_g=yes
4454 else case e in #(
4455 e) CFLAGS=""
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4458
4459 int
4460 main (void)
4461 {
4462
4463 ;
4464 return 0;
4465 }
4466 _ACEOF
4467 if ac_fn_c_try_compile "$LINENO"
4468 then :
4469
4470 else case e in #(
4471 e) ac_c_werror_flag=$ac_save_c_werror_flag
4472 CFLAGS="-g"
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4475
4476 int
4477 main (void)
4478 {
4479
4480 ;
4481 return 0;
4482 }
4483 _ACEOF
4484 if ac_fn_c_try_compile "$LINENO"
4485 then :
4486 ac_cv_prog_cc_g=yes
4487 fi
4488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4489 esac
4490 fi
4491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4492 esac
4493 fi
4494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4495 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4496 esac
4497 fi
4498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4499 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4500 if test $ac_test_CFLAGS; then
4501 CFLAGS=$ac_save_CFLAGS
4502 elif test $ac_cv_prog_cc_g = yes; then
4503 if test "$GCC" = yes; then
4504 CFLAGS="-g -O2"
4505 else
4506 CFLAGS="-g"
4507 fi
4508 else
4509 if test "$GCC" = yes; then
4510 CFLAGS="-O2"
4511 else
4512 CFLAGS=
4513 fi
4514 fi
4515 ac_prog_cc_stdc=no
4516 if test x$ac_prog_cc_stdc = xno
4517 then :
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4519 printf %s "checking for $CC option to enable C11 features... " >&6; }
4520 if test ${ac_cv_prog_cc_c11+y}
4521 then :
4522 printf %s "(cached) " >&6
4523 else case e in #(
4524 e) ac_cv_prog_cc_c11=no
4525 ac_save_CC=$CC
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528 $ac_c_conftest_c11_program
4529 _ACEOF
4530 for ac_arg in '' -std=gnu11
4531 do
4532 CC="$ac_save_CC $ac_arg"
4533 if ac_fn_c_try_compile "$LINENO"
4534 then :
4535 ac_cv_prog_cc_c11=$ac_arg
4536 fi
4537 rm -f core conftest.err conftest.$ac_objext conftest.beam
4538 test "x$ac_cv_prog_cc_c11" != "xno" && break
4539 done
4540 rm -f conftest.$ac_ext
4541 CC=$ac_save_CC ;;
4542 esac
4543 fi
4544
4545 if test "x$ac_cv_prog_cc_c11" = xno
4546 then :
4547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4548 printf "%s\n" "unsupported" >&6; }
4549 else case e in #(
4550 e) if test "x$ac_cv_prog_cc_c11" = x
4551 then :
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4553 printf "%s\n" "none needed" >&6; }
4554 else case e in #(
4555 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4556 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4557 CC="$CC $ac_cv_prog_cc_c11" ;;
4558 esac
4559 fi
4560 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4561 ac_prog_cc_stdc=c11 ;;
4562 esac
4563 fi
4564 fi
4565 if test x$ac_prog_cc_stdc = xno
4566 then :
4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4568 printf %s "checking for $CC option to enable C99 features... " >&6; }
4569 if test ${ac_cv_prog_cc_c99+y}
4570 then :
4571 printf %s "(cached) " >&6
4572 else case e in #(
4573 e) ac_cv_prog_cc_c99=no
4574 ac_save_CC=$CC
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4577 $ac_c_conftest_c99_program
4578 _ACEOF
4579 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4580 do
4581 CC="$ac_save_CC $ac_arg"
4582 if ac_fn_c_try_compile "$LINENO"
4583 then :
4584 ac_cv_prog_cc_c99=$ac_arg
4585 fi
4586 rm -f core conftest.err conftest.$ac_objext conftest.beam
4587 test "x$ac_cv_prog_cc_c99" != "xno" && break
4588 done
4589 rm -f conftest.$ac_ext
4590 CC=$ac_save_CC ;;
4591 esac
4592 fi
4593
4594 if test "x$ac_cv_prog_cc_c99" = xno
4595 then :
4596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4597 printf "%s\n" "unsupported" >&6; }
4598 else case e in #(
4599 e) if test "x$ac_cv_prog_cc_c99" = x
4600 then :
4601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4602 printf "%s\n" "none needed" >&6; }
4603 else case e in #(
4604 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4605 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4606 CC="$CC $ac_cv_prog_cc_c99" ;;
4607 esac
4608 fi
4609 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4610 ac_prog_cc_stdc=c99 ;;
4611 esac
4612 fi
4613 fi
4614 if test x$ac_prog_cc_stdc = xno
4615 then :
4616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4617 printf %s "checking for $CC option to enable C89 features... " >&6; }
4618 if test ${ac_cv_prog_cc_c89+y}
4619 then :
4620 printf %s "(cached) " >&6
4621 else case e in #(
4622 e) ac_cv_prog_cc_c89=no
4623 ac_save_CC=$CC
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4626 $ac_c_conftest_c89_program
4627 _ACEOF
4628 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4629 do
4630 CC="$ac_save_CC $ac_arg"
4631 if ac_fn_c_try_compile "$LINENO"
4632 then :
4633 ac_cv_prog_cc_c89=$ac_arg
4634 fi
4635 rm -f core conftest.err conftest.$ac_objext conftest.beam
4636 test "x$ac_cv_prog_cc_c89" != "xno" && break
4637 done
4638 rm -f conftest.$ac_ext
4639 CC=$ac_save_CC ;;
4640 esac
4641 fi
4642
4643 if test "x$ac_cv_prog_cc_c89" = xno
4644 then :
4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4646 printf "%s\n" "unsupported" >&6; }
4647 else case e in #(
4648 e) if test "x$ac_cv_prog_cc_c89" = x
4649 then :
4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4651 printf "%s\n" "none needed" >&6; }
4652 else case e in #(
4653 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4654 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4655 CC="$CC $ac_cv_prog_cc_c89" ;;
4656 esac
4657 fi
4658 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4659 ac_prog_cc_stdc=c89 ;;
4660 esac
4661 fi
4662 fi
4663
4664 ac_ext=c
4665 ac_cpp='$CPP $CPPFLAGS'
4666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4669
4670
4671 ac_ext=c
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4677 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4678 if test ${am_cv_prog_cc_c_o+y}
4679 then :
4680 printf %s "(cached) " >&6
4681 else case e in #(
4682 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4684
4685 int
4686 main (void)
4687 {
4688
4689 ;
4690 return 0;
4691 }
4692 _ACEOF
4693 # Make sure it works both with $CC and with simple cc.
4694 # Following AC_PROG_CC_C_O, we do the test twice because some
4695 # compilers refuse to overwrite an existing .o file with -o,
4696 # though they will create one.
4697 am_cv_prog_cc_c_o=yes
4698 for am_i in 1 2; do
4699 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4700 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4701 ac_status=$?
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); } \
4704 && test -f conftest2.$ac_objext; then
4705 : OK
4706 else
4707 am_cv_prog_cc_c_o=no
4708 break
4709 fi
4710 done
4711 # aligned with autoconf, so not including core; see bug#72225.
4712 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4713 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4714 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4715 unset am_i ;;
4716 esac
4717 fi
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4719 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4720 if test "$am_cv_prog_cc_c_o" != yes; then
4721 # Losing compiler, so override with the script.
4722 # FIXME: It is wrong to rewrite CC.
4723 # But if we don't then we get into trouble of one sort or another.
4724 # A longer-term fix would be to have automake use am__CC in this case,
4725 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4726 CC="$am_aux_dir/compile $CC"
4727 fi
4728 ac_ext=c
4729 ac_cpp='$CPP $CPPFLAGS'
4730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4733
4734
4735 depcc="$CC" am_compiler_list=
4736
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4738 printf %s "checking dependency style of $depcc... " >&6; }
4739 if test ${am_cv_CC_dependencies_compiler_type+y}
4740 then :
4741 printf %s "(cached) " >&6
4742 else case e in #(
4743 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4744 # We make a subdir and do the tests there. Otherwise we can end up
4745 # making bogus files that we don't know about and never remove. For
4746 # instance it was reported that on HP-UX the gcc test will end up
4747 # making a dummy file named 'D' -- because '-MD' means "put the output
4748 # in D".
4749 rm -rf conftest.dir
4750 mkdir conftest.dir
4751 # Copy depcomp to subdir because otherwise we won't find it if we're
4752 # using a relative directory.
4753 cp "$am_depcomp" conftest.dir
4754 cd conftest.dir
4755 # We will build objects and dependencies in a subdirectory because
4756 # it helps to detect inapplicable dependency modes. For instance
4757 # both Tru64's cc and ICC support -MD to output dependencies as a
4758 # side effect of compilation, but ICC will put the dependencies in
4759 # the current directory while Tru64 will put them in the object
4760 # directory.
4761 mkdir sub
4762
4763 am_cv_CC_dependencies_compiler_type=none
4764 if test "$am_compiler_list" = ""; then
4765 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4766 fi
4767 am__universal=false
4768 case " $depcc " in #(
4769 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4770 esac
4771
4772 for depmode in $am_compiler_list; do
4773 # Setup a source with many dependencies, because some compilers
4774 # like to wrap large dependency lists on column 80 (with \), and
4775 # we should not choose a depcomp mode which is confused by this.
4776 #
4777 # We need to recreate these files for each test, as the compiler may
4778 # overwrite some of them when testing with obscure command lines.
4779 # This happens at least with the AIX C compiler.
4780 : > sub/conftest.c
4781 for i in 1 2 3 4 5 6; do
4782 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4783 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4784 # Solaris 10 /bin/sh.
4785 echo '/* dummy */' > sub/conftst$i.h
4786 done
4787 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4788
4789 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4790 # mode. It turns out that the SunPro C++ compiler does not properly
4791 # handle '-M -o', and we need to detect this. Also, some Intel
4792 # versions had trouble with output in subdirs.
4793 am__obj=sub/conftest.${OBJEXT-o}
4794 am__minus_obj="-o $am__obj"
4795 case $depmode in
4796 gcc)
4797 # This depmode causes a compiler race in universal mode.
4798 test "$am__universal" = false || continue
4799 ;;
4800 nosideeffect)
4801 # After this tag, mechanisms are not by side-effect, so they'll
4802 # only be used when explicitly requested.
4803 if test "x$enable_dependency_tracking" = xyes; then
4804 continue
4805 else
4806 break
4807 fi
4808 ;;
4809 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4810 # This compiler won't grok '-c -o', but also, the minuso test has
4811 # not run yet. These depmodes are late enough in the game, and
4812 # so weak that their functioning should not be impacted.
4813 am__obj=conftest.${OBJEXT-o}
4814 am__minus_obj=
4815 ;;
4816 none) break ;;
4817 esac
4818 if depmode=$depmode \
4819 source=sub/conftest.c object=$am__obj \
4820 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4821 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4822 >/dev/null 2>conftest.err &&
4823 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4824 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4825 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4826 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4827 # icc doesn't choke on unknown options, it will just issue warnings
4828 # or remarks (even with -Werror). So we grep stderr for any message
4829 # that says an option was ignored or not supported.
4830 # When given -MP, icc 7.0 and 7.1 complain thus:
4831 # icc: Command line warning: ignoring option '-M'; no argument required
4832 # The diagnosis changed in icc 8.0:
4833 # icc: Command line remark: option '-MP' not supported
4834 if (grep 'ignoring option' conftest.err ||
4835 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4836 am_cv_CC_dependencies_compiler_type=$depmode
4837 break
4838 fi
4839 fi
4840 done
4841
4842 cd ..
4843 rm -rf conftest.dir
4844 else
4845 am_cv_CC_dependencies_compiler_type=none
4846 fi
4847 ;;
4848 esac
4849 fi
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4851 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4852 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4853
4854 if
4855 test "x$enable_dependency_tracking" != xno \
4856 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4857 am__fastdepCC_TRUE=
4858 am__fastdepCC_FALSE='#'
4859 else
4860 am__fastdepCC_TRUE='#'
4861 am__fastdepCC_FALSE=
4862 fi
4863
4864
4865
4866 ac_header= ac_cache=
4867 for ac_item in $ac_header_c_list
4868 do
4869 if test $ac_cache; then
4870 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4871 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4872 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4873 fi
4874 ac_header= ac_cache=
4875 elif test $ac_header; then
4876 ac_cache=$ac_item
4877 else
4878 ac_header=$ac_item
4879 fi
4880 done
4881
4882
4883
4884
4885
4886
4887
4888
4889 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4890 then :
4891
4892 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4893
4894 fi
4895
4896
4897
4898
4899
4900
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4902 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4903 if test ${ac_cv_safe_to_define___extensions__+y}
4904 then :
4905 printf %s "(cached) " >&6
4906 else case e in #(
4907 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4909
4910 # define __EXTENSIONS__ 1
4911 $ac_includes_default
4912 int
4913 main (void)
4914 {
4915
4916 ;
4917 return 0;
4918 }
4919 _ACEOF
4920 if ac_fn_c_try_compile "$LINENO"
4921 then :
4922 ac_cv_safe_to_define___extensions__=yes
4923 else case e in #(
4924 e) ac_cv_safe_to_define___extensions__=no ;;
4925 esac
4926 fi
4927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4928 esac
4929 fi
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4931 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4932
4933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4934 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4935 if test ${ac_cv_should_define__xopen_source+y}
4936 then :
4937 printf %s "(cached) " >&6
4938 else case e in #(
4939 e) ac_cv_should_define__xopen_source=no
4940 if test $ac_cv_header_wchar_h = yes
4941 then :
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4944
4945 #include <wchar.h>
4946 mbstate_t x;
4947 int
4948 main (void)
4949 {
4950
4951 ;
4952 return 0;
4953 }
4954 _ACEOF
4955 if ac_fn_c_try_compile "$LINENO"
4956 then :
4957
4958 else case e in #(
4959 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4961
4962 #define _XOPEN_SOURCE 500
4963 #include <wchar.h>
4964 mbstate_t x;
4965 int
4966 main (void)
4967 {
4968
4969 ;
4970 return 0;
4971 }
4972 _ACEOF
4973 if ac_fn_c_try_compile "$LINENO"
4974 then :
4975 ac_cv_should_define__xopen_source=yes
4976 fi
4977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4978 esac
4979 fi
4980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4981 fi ;;
4982 esac
4983 fi
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4985 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4986
4987 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4988
4989 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4990
4991 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4992
4993 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4994
4995 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4996
4997 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4998
4999 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5000
5001 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5002
5003 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5004
5005 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5006
5007 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
5008
5009 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5010
5011 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5012
5013 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5014
5015 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5016
5017 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5018
5019 if test $ac_cv_header_minix_config_h = yes
5020 then :
5021 MINIX=yes
5022 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5023
5024 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5025
5026 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5027
5028 else case e in #(
5029 e) MINIX= ;;
5030 esac
5031 fi
5032 if test $ac_cv_safe_to_define___extensions__ = yes
5033 then :
5034 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5035
5036 fi
5037 if test $ac_cv_should_define__xopen_source = yes
5038 then :
5039 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5040
5041 fi
5042
5043 # Check whether --enable-compiler-warnings was given.
5044 if test ${enable_compiler_warnings+y}
5045 then :
5046 enableval=$enable_compiler_warnings;
5047 fi
5048 case $enable_compiler_warnings in #(
5049 no | min | yes | max | all) :
5050 ;; #(
5051 *) :
5052 if test "x$enable_maintainer_mode" = xyes
5053 then :
5054 enable_compiler_warnings=yes
5055 else case e in #(
5056 e) enable_compiler_warnings=min ;;
5057 esac
5058 fi ;;
5059 esac
5060
5061 case `pwd` in
5062 *\ * | *\ *)
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5064 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5065 esac
5066
5067
5068
5069 macro_version='2.5.4'
5070 macro_revision='2.5.4'
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085 ltmain=$ac_aux_dir/ltmain.sh
5086
5087
5088
5089 # Make sure we can run config.sub.
5090 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5091 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5092
5093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5094 printf %s "checking build system type... " >&6; }
5095 if test ${ac_cv_build+y}
5096 then :
5097 printf %s "(cached) " >&6
5098 else case e in #(
5099 e) ac_build_alias=$build_alias
5100 test "x$ac_build_alias" = x &&
5101 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5102 test "x$ac_build_alias" = x &&
5103 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5104 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5105 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5106 ;;
5107 esac
5108 fi
5109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5110 printf "%s\n" "$ac_cv_build" >&6; }
5111 case $ac_cv_build in
5112 *-*-*) ;;
5113 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5114 esac
5115 build=$ac_cv_build
5116 ac_save_IFS=$IFS; IFS='-'
5117 set x $ac_cv_build
5118 shift
5119 build_cpu=$1
5120 build_vendor=$2
5121 shift; shift
5122 # Remember, the first character of IFS is used to create $*,
5123 # except with old shells:
5124 build_os=$*
5125 IFS=$ac_save_IFS
5126 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5127
5128
5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5130 printf %s "checking host system type... " >&6; }
5131 if test ${ac_cv_host+y}
5132 then :
5133 printf %s "(cached) " >&6
5134 else case e in #(
5135 e) if test "x$host_alias" = x; then
5136 ac_cv_host=$ac_cv_build
5137 else
5138 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5139 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5140 fi
5141 ;;
5142 esac
5143 fi
5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5145 printf "%s\n" "$ac_cv_host" >&6; }
5146 case $ac_cv_host in
5147 *-*-*) ;;
5148 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5149 esac
5150 host=$ac_cv_host
5151 ac_save_IFS=$IFS; IFS='-'
5152 set x $ac_cv_host
5153 shift
5154 host_cpu=$1
5155 host_vendor=$2
5156 shift; shift
5157 # Remember, the first character of IFS is used to create $*,
5158 # except with old shells:
5159 host_os=$*
5160 IFS=$ac_save_IFS
5161 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5162
5163
5164 # Backslashify metacharacters that are still active within
5165 # double-quoted strings.
5166 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5167
5168 # Same as above, but do not quote variable references.
5169 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5170
5171 # Sed substitution to delay expansion of an escaped shell variable in a
5172 # double_quote_subst'ed string.
5173 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5174
5175 # Sed substitution to delay expansion of an escaped single quote.
5176 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5177
5178 # Sed substitution to avoid accidental globbing in evaled expressions
5179 no_glob_subst='s/\*/\\\*/g'
5180
5181 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5182 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5183 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5184
5185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5186 printf %s "checking how to print strings... " >&6; }
5187 # Test print first, because it will be a builtin if present.
5188 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5189 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5190 ECHO='print -r --'
5191 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5192 ECHO='printf %s\n'
5193 else
5194 # Use this function as a fallback that always works.
5195 func_fallback_echo ()
5196 {
5197 eval 'cat <<_LTECHO_EOF
5198 $1
5199 _LTECHO_EOF'
5200 }
5201 ECHO='func_fallback_echo'
5202 fi
5203
5204 # func_echo_all arg...
5205 # Invoke $ECHO with all args, space-separated.
5206 func_echo_all ()
5207 {
5208 $ECHO ""
5209 }
5210
5211 case $ECHO in
5212 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5213 printf "%s\n" "printf" >&6; } ;;
5214 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5215 printf "%s\n" "print -r" >&6; } ;;
5216 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5217 printf "%s\n" "cat" >&6; } ;;
5218 esac
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5234 printf %s "checking for a sed that does not truncate output... " >&6; }
5235 if test ${ac_cv_path_SED+y}
5236 then :
5237 printf %s "(cached) " >&6
5238 else case e in #(
5239 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5240 for ac_i in 1 2 3 4 5 6 7; do
5241 ac_script="$ac_script$as_nl$ac_script"
5242 done
5243 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5244 { ac_script=; unset ac_script;}
5245 if test -z "$SED"; then
5246 ac_path_SED_found=false
5247 # Loop through the user's path and test for each of PROGNAME-LIST
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5250 do
5251 IFS=$as_save_IFS
5252 case $as_dir in #(((
5253 '') as_dir=./ ;;
5254 */) ;;
5255 *) as_dir=$as_dir/ ;;
5256 esac
5257 for ac_prog in sed gsed
5258 do
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5261 as_fn_executable_p "$ac_path_SED" || continue
5262 # Check for GNU ac_path_SED and select it if it is found.
5263 # Check for GNU $ac_path_SED
5264 case `"$ac_path_SED" --version 2>&1` in #(
5265 *GNU*)
5266 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5267 #(
5268 *)
5269 ac_count=0
5270 printf %s 0123456789 >"conftest.in"
5271 while :
5272 do
5273 cat "conftest.in" "conftest.in" >"conftest.tmp"
5274 mv "conftest.tmp" "conftest.in"
5275 cp "conftest.in" "conftest.nl"
5276 printf "%s\n" '' >> "conftest.nl"
5277 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5278 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5279 as_fn_arith $ac_count + 1 && ac_count=$as_val
5280 if test $ac_count -gt ${ac_path_SED_max-0}; then
5281 # Best one so far, save it but keep looking for a better one
5282 ac_cv_path_SED="$ac_path_SED"
5283 ac_path_SED_max=$ac_count
5284 fi
5285 # 10*(2^10) chars as input seems more than enough
5286 test $ac_count -gt 10 && break
5287 done
5288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5289 esac
5290
5291 $ac_path_SED_found && break 3
5292 done
5293 done
5294 done
5295 IFS=$as_save_IFS
5296 if test -z "$ac_cv_path_SED"; then
5297 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5298 fi
5299 else
5300 ac_cv_path_SED=$SED
5301 fi
5302 ;;
5303 esac
5304 fi
5305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5306 printf "%s\n" "$ac_cv_path_SED" >&6; }
5307 SED="$ac_cv_path_SED"
5308 rm -f conftest.sed
5309
5310 test -z "$SED" && SED=sed
5311 Xsed="$SED -e 1s/^X//"
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5324 printf %s "checking for grep that handles long lines and -e... " >&6; }
5325 if test ${ac_cv_path_GREP+y}
5326 then :
5327 printf %s "(cached) " >&6
5328 else case e in #(
5329 e) if test -z "$GREP"; then
5330 ac_path_GREP_found=false
5331 # Loop through the user's path and test for each of PROGNAME-LIST
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5334 do
5335 IFS=$as_save_IFS
5336 case $as_dir in #(((
5337 '') as_dir=./ ;;
5338 */) ;;
5339 *) as_dir=$as_dir/ ;;
5340 esac
5341 for ac_prog in grep ggrep
5342 do
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5345 as_fn_executable_p "$ac_path_GREP" || continue
5346 # Check for GNU ac_path_GREP and select it if it is found.
5347 # Check for GNU $ac_path_GREP
5348 case `"$ac_path_GREP" --version 2>&1` in #(
5349 *GNU*)
5350 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5351 #(
5352 *)
5353 ac_count=0
5354 printf %s 0123456789 >"conftest.in"
5355 while :
5356 do
5357 cat "conftest.in" "conftest.in" >"conftest.tmp"
5358 mv "conftest.tmp" "conftest.in"
5359 cp "conftest.in" "conftest.nl"
5360 printf "%s\n" 'GREP' >> "conftest.nl"
5361 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5362 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5363 as_fn_arith $ac_count + 1 && ac_count=$as_val
5364 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5365 # Best one so far, save it but keep looking for a better one
5366 ac_cv_path_GREP="$ac_path_GREP"
5367 ac_path_GREP_max=$ac_count
5368 fi
5369 # 10*(2^10) chars as input seems more than enough
5370 test $ac_count -gt 10 && break
5371 done
5372 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5373 esac
5374
5375 $ac_path_GREP_found && break 3
5376 done
5377 done
5378 done
5379 IFS=$as_save_IFS
5380 if test -z "$ac_cv_path_GREP"; then
5381 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5382 fi
5383 else
5384 ac_cv_path_GREP=$GREP
5385 fi
5386 ;;
5387 esac
5388 fi
5389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5390 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5391 GREP="$ac_cv_path_GREP"
5392
5393
5394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5395 printf %s "checking for egrep... " >&6; }
5396 if test ${ac_cv_path_EGREP+y}
5397 then :
5398 printf %s "(cached) " >&6
5399 else case e in #(
5400 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5401 then ac_cv_path_EGREP="$GREP -E"
5402 else
5403 if test -z "$EGREP"; then
5404 ac_path_EGREP_found=false
5405 # Loop through the user's path and test for each of PROGNAME-LIST
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5408 do
5409 IFS=$as_save_IFS
5410 case $as_dir in #(((
5411 '') as_dir=./ ;;
5412 */) ;;
5413 *) as_dir=$as_dir/ ;;
5414 esac
5415 for ac_prog in egrep
5416 do
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5419 as_fn_executable_p "$ac_path_EGREP" || continue
5420 # Check for GNU ac_path_EGREP and select it if it is found.
5421 # Check for GNU $ac_path_EGREP
5422 case `"$ac_path_EGREP" --version 2>&1` in #(
5423 *GNU*)
5424 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5425 #(
5426 *)
5427 ac_count=0
5428 printf %s 0123456789 >"conftest.in"
5429 while :
5430 do
5431 cat "conftest.in" "conftest.in" >"conftest.tmp"
5432 mv "conftest.tmp" "conftest.in"
5433 cp "conftest.in" "conftest.nl"
5434 printf "%s\n" 'EGREP' >> "conftest.nl"
5435 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437 as_fn_arith $ac_count + 1 && ac_count=$as_val
5438 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5439 # Best one so far, save it but keep looking for a better one
5440 ac_cv_path_EGREP="$ac_path_EGREP"
5441 ac_path_EGREP_max=$ac_count
5442 fi
5443 # 10*(2^10) chars as input seems more than enough
5444 test $ac_count -gt 10 && break
5445 done
5446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5448
5449 $ac_path_EGREP_found && break 3
5450 done
5451 done
5452 done
5453 IFS=$as_save_IFS
5454 if test -z "$ac_cv_path_EGREP"; then
5455 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5456 fi
5457 else
5458 ac_cv_path_EGREP=$EGREP
5459 fi
5460
5461 fi ;;
5462 esac
5463 fi
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5465 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5466 EGREP="$ac_cv_path_EGREP"
5467
5468 EGREP_TRADITIONAL=$EGREP
5469 ac_cv_path_EGREP_TRADITIONAL=$EGREP
5470
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5472 printf %s "checking for fgrep... " >&6; }
5473 if test ${ac_cv_path_FGREP+y}
5474 then :
5475 printf %s "(cached) " >&6
5476 else case e in #(
5477 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5478 then ac_cv_path_FGREP="$GREP -F"
5479 else
5480 if test -z "$FGREP"; then
5481 ac_path_FGREP_found=false
5482 # Loop through the user's path and test for each of PROGNAME-LIST
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5485 do
5486 IFS=$as_save_IFS
5487 case $as_dir in #(((
5488 '') as_dir=./ ;;
5489 */) ;;
5490 *) as_dir=$as_dir/ ;;
5491 esac
5492 for ac_prog in fgrep
5493 do
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5496 as_fn_executable_p "$ac_path_FGREP" || continue
5497 # Check for GNU ac_path_FGREP and select it if it is found.
5498 # Check for GNU $ac_path_FGREP
5499 case `"$ac_path_FGREP" --version 2>&1` in #(
5500 *GNU*)
5501 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5502 #(
5503 *)
5504 ac_count=0
5505 printf %s 0123456789 >"conftest.in"
5506 while :
5507 do
5508 cat "conftest.in" "conftest.in" >"conftest.tmp"
5509 mv "conftest.tmp" "conftest.in"
5510 cp "conftest.in" "conftest.nl"
5511 printf "%s\n" 'FGREP' >> "conftest.nl"
5512 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5513 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5514 as_fn_arith $ac_count + 1 && ac_count=$as_val
5515 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5516 # Best one so far, save it but keep looking for a better one
5517 ac_cv_path_FGREP="$ac_path_FGREP"
5518 ac_path_FGREP_max=$ac_count
5519 fi
5520 # 10*(2^10) chars as input seems more than enough
5521 test $ac_count -gt 10 && break
5522 done
5523 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5524 esac
5525
5526 $ac_path_FGREP_found && break 3
5527 done
5528 done
5529 done
5530 IFS=$as_save_IFS
5531 if test -z "$ac_cv_path_FGREP"; then
5532 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5533 fi
5534 else
5535 ac_cv_path_FGREP=$FGREP
5536 fi
5537
5538 fi ;;
5539 esac
5540 fi
5541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5542 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5543 FGREP="$ac_cv_path_FGREP"
5544
5545
5546 test -z "$GREP" && GREP=grep
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566 # Check whether --with-gnu-ld was given.
5567 if test ${with_gnu_ld+y}
5568 then :
5569 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5570 else case e in #(
5571 e) with_gnu_ld=no ;;
5572 esac
5573 fi
5574
5575 ac_prog=ld
5576 if test yes = "$GCC"; then
5577 # Check if gcc -print-prog-name=ld gives a path.
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5579 printf %s "checking for ld used by $CC... " >&6; }
5580 case $host in
5581 *-*-mingw* | *-*-windows*)
5582 # gcc leaves a trailing carriage return, which upsets mingw
5583 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5584 *)
5585 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5586 esac
5587 case $ac_prog in
5588 # Accept absolute paths.
5589 [\\/]* | ?:[\\/]*)
5590 re_direlt='/[^/][^/]*/\.\./'
5591 # Canonicalize the pathname of ld
5592 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5593 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5594 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5595 done
5596 test -z "$LD" && LD=$ac_prog
5597 ;;
5598 "")
5599 # If it fails, then pretend we aren't using GCC.
5600 ac_prog=ld
5601 ;;
5602 *)
5603 # If it is relative, then search for the first ld in PATH.
5604 with_gnu_ld=unknown
5605 ;;
5606 esac
5607 elif test yes = "$with_gnu_ld"; then
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5609 printf %s "checking for GNU ld... " >&6; }
5610 else
5611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5612 printf %s "checking for non-GNU ld... " >&6; }
5613 fi
5614 if test ${lt_cv_path_LD+y}
5615 then :
5616 printf %s "(cached) " >&6
5617 else case e in #(
5618 e) if test -z "$LD"; then
5619 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5620 for ac_dir in $PATH; do
5621 IFS=$lt_save_ifs
5622 test -z "$ac_dir" && ac_dir=.
5623 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5624 lt_cv_path_LD=$ac_dir/$ac_prog
5625 # Check to see if the program is GNU ld. I'd rather use --version,
5626 # but apparently some variants of GNU ld only accept -v.
5627 # Break only if it was the GNU/non-GNU ld that we prefer.
5628 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5629 *GNU* | *'with BFD'*)
5630 test no != "$with_gnu_ld" && break
5631 ;;
5632 *)
5633 test yes != "$with_gnu_ld" && break
5634 ;;
5635 esac
5636 fi
5637 done
5638 IFS=$lt_save_ifs
5639 else
5640 lt_cv_path_LD=$LD # Let the user override the test with a path.
5641 fi ;;
5642 esac
5643 fi
5644
5645 LD=$lt_cv_path_LD
5646 if test -n "$LD"; then
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5648 printf "%s\n" "$LD" >&6; }
5649 else
5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 printf "%s\n" "no" >&6; }
5652 fi
5653 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5655 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5656 if test ${lt_cv_prog_gnu_ld+y}
5657 then :
5658 printf %s "(cached) " >&6
5659 else case e in #(
5660 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
5661 case `$LD -v 2>&1 </dev/null` in
5662 *GNU* | *'with BFD'*)
5663 lt_cv_prog_gnu_ld=yes
5664 ;;
5665 *)
5666 lt_cv_prog_gnu_ld=no
5667 ;;
5668 esac ;;
5669 esac
5670 fi
5671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5672 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5673 with_gnu_ld=$lt_cv_prog_gnu_ld
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5684 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5685 if test ${lt_cv_path_NM+y}
5686 then :
5687 printf %s "(cached) " >&6
5688 else case e in #(
5689 e) if test -n "$NM"; then
5690 # Let the user override the test.
5691 lt_cv_path_NM=$NM
5692 else
5693 lt_nm_to_check=${ac_tool_prefix}nm
5694 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5695 lt_nm_to_check="$lt_nm_to_check nm"
5696 fi
5697 for lt_tmp_nm in $lt_nm_to_check; do
5698 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5699 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5700 IFS=$lt_save_ifs
5701 test -z "$ac_dir" && ac_dir=.
5702 tmp_nm=$ac_dir/$lt_tmp_nm
5703 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5704 # Check to see if the nm accepts a BSD-compat flag.
5705 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5706 # nm: unknown option "B" ignored
5707 # Tru64's nm complains that /dev/null is an invalid object file
5708 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5709 case $build_os in
5710 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
5711 *) lt_bad_file=/dev/null ;;
5712 esac
5713 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5714 *$lt_bad_file* | *'Invalid file or object type'*)
5715 lt_cv_path_NM="$tmp_nm -B"
5716 break 2
5717 ;;
5718 *)
5719 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5720 */dev/null*)
5721 lt_cv_path_NM="$tmp_nm -p"
5722 break 2
5723 ;;
5724 *)
5725 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5726 continue # so that we can try to find one that supports BSD flags
5727 ;;
5728 esac
5729 ;;
5730 esac
5731 fi
5732 done
5733 IFS=$lt_save_ifs
5734 done
5735 : ${lt_cv_path_NM=no}
5736 fi ;;
5737 esac
5738 fi
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5740 printf "%s\n" "$lt_cv_path_NM" >&6; }
5741 if test no != "$lt_cv_path_NM"; then
5742 NM=$lt_cv_path_NM
5743 else
5744 # Didn't find any BSD compatible name lister, look for dumpbin.
5745 if test -n "$DUMPBIN"; then :
5746 # Let the user override the test.
5747 else
5748 if test -n "$ac_tool_prefix"; then
5749 for ac_prog in dumpbin "link -dump"
5750 do
5751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 printf %s "checking for $ac_word... " >&6; }
5755 if test ${ac_cv_prog_DUMPBIN+y}
5756 then :
5757 printf %s "(cached) " >&6
5758 else case e in #(
5759 e) if test -n "$DUMPBIN"; then
5760 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5764 do
5765 IFS=$as_save_IFS
5766 case $as_dir in #(((
5767 '') as_dir=./ ;;
5768 */) ;;
5769 *) as_dir=$as_dir/ ;;
5770 esac
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5773 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5775 break 2
5776 fi
5777 done
5778 done
5779 IFS=$as_save_IFS
5780
5781 fi ;;
5782 esac
5783 fi
5784 DUMPBIN=$ac_cv_prog_DUMPBIN
5785 if test -n "$DUMPBIN"; then
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5787 printf "%s\n" "$DUMPBIN" >&6; }
5788 else
5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 printf "%s\n" "no" >&6; }
5791 fi
5792
5793
5794 test -n "$DUMPBIN" && break
5795 done
5796 fi
5797 if test -z "$DUMPBIN"; then
5798 ac_ct_DUMPBIN=$DUMPBIN
5799 for ac_prog in dumpbin "link -dump"
5800 do
5801 # Extract the first word of "$ac_prog", so it can be a program name with args.
5802 set dummy $ac_prog; ac_word=$2
5803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 printf %s "checking for $ac_word... " >&6; }
5805 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5806 then :
5807 printf %s "(cached) " >&6
5808 else case e in #(
5809 e) if test -n "$ac_ct_DUMPBIN"; then
5810 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5811 else
5812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 for as_dir in $PATH
5814 do
5815 IFS=$as_save_IFS
5816 case $as_dir in #(((
5817 '') as_dir=./ ;;
5818 */) ;;
5819 *) as_dir=$as_dir/ ;;
5820 esac
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5825 break 2
5826 fi
5827 done
5828 done
5829 IFS=$as_save_IFS
5830
5831 fi ;;
5832 esac
5833 fi
5834 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5835 if test -n "$ac_ct_DUMPBIN"; then
5836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5837 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5838 else
5839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 printf "%s\n" "no" >&6; }
5841 fi
5842
5843
5844 test -n "$ac_ct_DUMPBIN" && break
5845 done
5846
5847 if test "x$ac_ct_DUMPBIN" = x; then
5848 DUMPBIN=":"
5849 else
5850 case $cross_compiling:$ac_tool_warned in
5851 yes:)
5852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5853 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5854 ac_tool_warned=yes ;;
5855 esac
5856 DUMPBIN=$ac_ct_DUMPBIN
5857 fi
5858 fi
5859
5860 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5861 *COFF*)
5862 DUMPBIN="$DUMPBIN -symbols -headers"
5863 ;;
5864 *)
5865 DUMPBIN=:
5866 ;;
5867 esac
5868 fi
5869
5870 if test : != "$DUMPBIN"; then
5871 NM=$DUMPBIN
5872 fi
5873 fi
5874 test -z "$NM" && NM=nm
5875
5876
5877
5878
5879
5880
5881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5882 printf %s "checking the name lister ($NM) interface... " >&6; }
5883 if test ${lt_cv_nm_interface+y}
5884 then :
5885 printf %s "(cached) " >&6
5886 else case e in #(
5887 e) lt_cv_nm_interface="BSD nm"
5888 echo "int some_variable = 0;" > conftest.$ac_ext
5889 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5890 (eval "$ac_compile" 2>conftest.err)
5891 cat conftest.err >&5
5892 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5893 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5894 cat conftest.err >&5
5895 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5896 cat conftest.out >&5
5897 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5898 lt_cv_nm_interface="MS dumpbin"
5899 fi
5900 rm -f conftest* ;;
5901 esac
5902 fi
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5904 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5905
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5907 printf %s "checking whether ln -s works... " >&6; }
5908 LN_S=$as_ln_s
5909 if test "$LN_S" = "ln -s"; then
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5911 printf "%s\n" "yes" >&6; }
5912 else
5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5914 printf "%s\n" "no, using $LN_S" >&6; }
5915 fi
5916
5917 # find the maximum length of command line arguments
5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5919 printf %s "checking the maximum length of command line arguments... " >&6; }
5920 if test ${lt_cv_sys_max_cmd_len+y}
5921 then :
5922 printf %s "(cached) " >&6
5923 else case e in #(
5924 e) i=0
5925 teststring=ABCD
5926
5927 case $build_os in
5928 msdosdjgpp*)
5929 # On DJGPP, this test can blow up pretty badly due to problems in libc
5930 # (any single argument exceeding 2000 bytes causes a buffer overrun
5931 # during glob expansion). Even if it were fixed, the result of this
5932 # check would be larger than it should be.
5933 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5934 ;;
5935
5936 gnu* | ironclad*)
5937 # Under GNU Hurd and Ironclad, this test is not required because there
5938 # is no limit to the length of command line arguments.
5939 # Libtool will interpret -1 as no limit whatsoever
5940 lt_cv_sys_max_cmd_len=-1;
5941 ;;
5942
5943 cygwin* | mingw* | windows* | cegcc*)
5944 # On Win9x/ME, this test blows up -- it succeeds, but takes
5945 # about 5 minutes as the teststring grows exponentially.
5946 # Worse, since 9x/ME are not pre-emptively multitasking,
5947 # you end up with a "frozen" computer, even though with patience
5948 # the test eventually succeeds (with a max line length of 256k).
5949 # Instead, let's just punt: use the minimum linelength reported by
5950 # all of the supported platforms: 8192 (on NT/2K/XP).
5951 lt_cv_sys_max_cmd_len=8192;
5952 ;;
5953
5954 mint*)
5955 # On MiNT this can take a long time and run out of memory.
5956 lt_cv_sys_max_cmd_len=8192;
5957 ;;
5958
5959 amigaos*)
5960 # On AmigaOS with pdksh, this test takes hours, literally.
5961 # So we just punt and use a minimum line length of 8192.
5962 lt_cv_sys_max_cmd_len=8192;
5963 ;;
5964
5965 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
5966 # This has been around since 386BSD, at least. Likely further.
5967 if test -x /sbin/sysctl; then
5968 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5969 elif test -x /usr/sbin/sysctl; then
5970 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5971 else
5972 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5973 fi
5974 # And add a safety zone
5975 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5976 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5977 ;;
5978
5979 interix*)
5980 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5981 lt_cv_sys_max_cmd_len=196608
5982 ;;
5983
5984 os2*)
5985 # The test takes a long time on OS/2.
5986 lt_cv_sys_max_cmd_len=8192
5987 ;;
5988
5989 osf*)
5990 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5991 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5992 # nice to cause kernel panics so lets avoid the loop below.
5993 # First set a reasonable default.
5994 lt_cv_sys_max_cmd_len=16384
5995 #
5996 if test -x /sbin/sysconfig; then
5997 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5998 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5999 esac
6000 fi
6001 ;;
6002 sco3.2v5*)
6003 lt_cv_sys_max_cmd_len=102400
6004 ;;
6005 sysv5* | sco5v6* | sysv4.2uw2*)
6006 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6007 if test -n "$kargmax"; then
6008 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
6009 else
6010 lt_cv_sys_max_cmd_len=32768
6011 fi
6012 ;;
6013 *)
6014 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6015 if test -n "$lt_cv_sys_max_cmd_len" && \
6016 test undefined != "$lt_cv_sys_max_cmd_len"; then
6017 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6019 else
6020 # Make teststring a little bigger before we do anything with it.
6021 # a 1K string should be a reasonable start.
6022 for i in 1 2 3 4 5 6 7 8; do
6023 teststring=$teststring$teststring
6024 done
6025 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6026 # If test is not a shell built-in, we'll probably end up computing a
6027 # maximum length that is only half of the actual maximum length, but
6028 # we can't tell.
6029 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6030 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6031 test 17 != "$i" # 1/2 MB should be enough
6032 do
6033 i=`expr $i + 1`
6034 teststring=$teststring$teststring
6035 done
6036 # Only check the string length outside the loop.
6037 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6038 teststring=
6039 # Add a significant safety factor because C++ compilers can tack on
6040 # massive amounts of additional arguments before passing them to the
6041 # linker. It appears as though 1/2 is a usable value.
6042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6043 fi
6044 ;;
6045 esac
6046 ;;
6047 esac
6048 fi
6049
6050 if test -n "$lt_cv_sys_max_cmd_len"; then
6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6052 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6053 else
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6055 printf "%s\n" "none" >&6; }
6056 fi
6057 max_cmd_len=$lt_cv_sys_max_cmd_len
6058
6059
6060
6061
6062
6063
6064 : ${CP="cp -f"}
6065 : ${MV="mv -f"}
6066 : ${RM="rm -f"}
6067
6068 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6069 lt_unset=unset
6070 else
6071 lt_unset=false
6072 fi
6073
6074
6075
6076
6077
6078 # test EBCDIC or ASCII
6079 case `echo X|tr X '\101'` in
6080 A) # ASCII based system
6081 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6082 lt_SP2NL='tr \040 \012'
6083 lt_NL2SP='tr \015\012 \040\040'
6084 ;;
6085 *) # EBCDIC based system
6086 lt_SP2NL='tr \100 \n'
6087 lt_NL2SP='tr \r\n \100\100'
6088 ;;
6089 esac
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6100 printf %s "checking how to convert $build file names to $host format... " >&6; }
6101 if test ${lt_cv_to_host_file_cmd+y}
6102 then :
6103 printf %s "(cached) " >&6
6104 else case e in #(
6105 e) case $host in
6106 *-*-mingw* )
6107 case $build in
6108 *-*-mingw* | *-*-windows* ) # actually msys
6109 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6110 ;;
6111 *-*-cygwin* )
6112 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6113 ;;
6114 * ) # otherwise, assume *nix
6115 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6116 ;;
6117 esac
6118 ;;
6119 *-*-cygwin* )
6120 case $build in
6121 *-*-mingw* | *-*-windows* ) # actually msys
6122 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6123 ;;
6124 *-*-cygwin* )
6125 lt_cv_to_host_file_cmd=func_convert_file_noop
6126 ;;
6127 * ) # otherwise, assume *nix
6128 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6129 ;;
6130 esac
6131 ;;
6132 * ) # unhandled hosts (and "normal" native builds)
6133 lt_cv_to_host_file_cmd=func_convert_file_noop
6134 ;;
6135 esac
6136 ;;
6137 esac
6138 fi
6139
6140 to_host_file_cmd=$lt_cv_to_host_file_cmd
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6142 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6143
6144
6145
6146
6147
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6149 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6150 if test ${lt_cv_to_tool_file_cmd+y}
6151 then :
6152 printf %s "(cached) " >&6
6153 else case e in #(
6154 e) #assume ordinary cross tools, or native build.
6155 lt_cv_to_tool_file_cmd=func_convert_file_noop
6156 case $host in
6157 *-*-mingw* | *-*-windows* )
6158 case $build in
6159 *-*-mingw* | *-*-windows* ) # actually msys
6160 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6161 ;;
6162 esac
6163 ;;
6164 esac
6165 ;;
6166 esac
6167 fi
6168
6169 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6171 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6172
6173
6174
6175
6176
6177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6178 printf %s "checking for $LD option to reload object files... " >&6; }
6179 if test ${lt_cv_ld_reload_flag+y}
6180 then :
6181 printf %s "(cached) " >&6
6182 else case e in #(
6183 e) lt_cv_ld_reload_flag='-r' ;;
6184 esac
6185 fi
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6187 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6188 reload_flag=$lt_cv_ld_reload_flag
6189 case $reload_flag in
6190 "" | " "*) ;;
6191 *) reload_flag=" $reload_flag" ;;
6192 esac
6193 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6194 case $host_os in
6195 cygwin* | mingw* | windows* | pw32* | cegcc*)
6196 if test yes != "$GCC"; then
6197 reload_cmds=false
6198 fi
6199 ;;
6200 darwin*)
6201 if test yes = "$GCC"; then
6202 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6203 else
6204 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6205 fi
6206 ;;
6207 esac
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217 # Extract the first word of "file", so it can be a program name with args.
6218 set dummy file; ac_word=$2
6219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 printf %s "checking for $ac_word... " >&6; }
6221 if test ${ac_cv_prog_FILECMD+y}
6222 then :
6223 printf %s "(cached) " >&6
6224 else case e in #(
6225 e) if test -n "$FILECMD"; then
6226 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6227 else
6228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 for as_dir in $PATH
6230 do
6231 IFS=$as_save_IFS
6232 case $as_dir in #(((
6233 '') as_dir=./ ;;
6234 */) ;;
6235 *) as_dir=$as_dir/ ;;
6236 esac
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6239 ac_cv_prog_FILECMD="file"
6240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6241 break 2
6242 fi
6243 done
6244 done
6245 IFS=$as_save_IFS
6246
6247 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
6248 fi ;;
6249 esac
6250 fi
6251 FILECMD=$ac_cv_prog_FILECMD
6252 if test -n "$FILECMD"; then
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6254 printf "%s\n" "$FILECMD" >&6; }
6255 else
6256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 printf "%s\n" "no" >&6; }
6258 fi
6259
6260
6261
6262
6263
6264
6265
6266
6267 if test -n "$ac_tool_prefix"; then
6268 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6269 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271 printf %s "checking for $ac_word... " >&6; }
6272 if test ${ac_cv_prog_OBJDUMP+y}
6273 then :
6274 printf %s "(cached) " >&6
6275 else case e in #(
6276 e) if test -n "$OBJDUMP"; then
6277 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6278 else
6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 for as_dir in $PATH
6281 do
6282 IFS=$as_save_IFS
6283 case $as_dir in #(((
6284 '') as_dir=./ ;;
6285 */) ;;
6286 *) as_dir=$as_dir/ ;;
6287 esac
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6290 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6292 break 2
6293 fi
6294 done
6295 done
6296 IFS=$as_save_IFS
6297
6298 fi ;;
6299 esac
6300 fi
6301 OBJDUMP=$ac_cv_prog_OBJDUMP
6302 if test -n "$OBJDUMP"; then
6303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6304 printf "%s\n" "$OBJDUMP" >&6; }
6305 else
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 printf "%s\n" "no" >&6; }
6308 fi
6309
6310
6311 fi
6312 if test -z "$ac_cv_prog_OBJDUMP"; then
6313 ac_ct_OBJDUMP=$OBJDUMP
6314 # Extract the first word of "objdump", so it can be a program name with args.
6315 set dummy objdump; ac_word=$2
6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317 printf %s "checking for $ac_word... " >&6; }
6318 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6319 then :
6320 printf %s "(cached) " >&6
6321 else case e in #(
6322 e) if test -n "$ac_ct_OBJDUMP"; then
6323 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6324 else
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH
6327 do
6328 IFS=$as_save_IFS
6329 case $as_dir in #(((
6330 '') as_dir=./ ;;
6331 */) ;;
6332 *) as_dir=$as_dir/ ;;
6333 esac
6334 for ac_exec_ext in '' $ac_executable_extensions; do
6335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6336 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6338 break 2
6339 fi
6340 done
6341 done
6342 IFS=$as_save_IFS
6343
6344 fi ;;
6345 esac
6346 fi
6347 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6348 if test -n "$ac_ct_OBJDUMP"; then
6349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6350 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6351 else
6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 printf "%s\n" "no" >&6; }
6354 fi
6355
6356 if test "x$ac_ct_OBJDUMP" = x; then
6357 OBJDUMP="false"
6358 else
6359 case $cross_compiling:$ac_tool_warned in
6360 yes:)
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6362 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6363 ac_tool_warned=yes ;;
6364 esac
6365 OBJDUMP=$ac_ct_OBJDUMP
6366 fi
6367 else
6368 OBJDUMP="$ac_cv_prog_OBJDUMP"
6369 fi
6370
6371 test -z "$OBJDUMP" && OBJDUMP=objdump
6372
6373
6374
6375
6376
6377
6378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6379 printf %s "checking how to recognize dependent libraries... " >&6; }
6380 if test ${lt_cv_deplibs_check_method+y}
6381 then :
6382 printf %s "(cached) " >&6
6383 else case e in #(
6384 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
6385 lt_cv_file_magic_test_file=
6386 lt_cv_deplibs_check_method='unknown'
6387 # Need to set the preceding variable on all platforms that support
6388 # interlibrary dependencies.
6389 # 'none' -- dependencies not supported.
6390 # 'unknown' -- same as none, but documents that we really don't know.
6391 # 'pass_all' -- all dependencies passed with no checks.
6392 # 'file_magic [[regex]]' -- check by looking for files in library path
6393 # that responds to the $file_magic_cmd with a given extended regex.
6394 # If you have 'file' or equivalent on your system and you're not sure
6395 # whether 'pass_all' will *always* work, you probably want this one.
6396
6397 case $host_os in
6398 aix[4-9]*)
6399 lt_cv_deplibs_check_method=pass_all
6400 ;;
6401
6402 beos*)
6403 lt_cv_deplibs_check_method=pass_all
6404 ;;
6405
6406 bsdi[45]*)
6407 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6408 lt_cv_file_magic_cmd='$FILECMD -L'
6409 lt_cv_file_magic_test_file=/shlib/libc.so
6410 ;;
6411
6412 cygwin*)
6413 # func_win32_libid is a shell function defined in ltmain.sh
6414 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6415 lt_cv_file_magic_cmd='func_win32_libid'
6416 ;;
6417
6418 mingw* | windows* | pw32*)
6419 # Base MSYS/MinGW do not provide the 'file' command needed by
6420 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6421 # unless we find 'file', for example because we are cross-compiling.
6422 if ( file / ) >/dev/null 2>&1; then
6423 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6424 lt_cv_file_magic_cmd='func_win32_libid'
6425 else
6426 # Keep this pattern in sync with the one in func_win32_libid.
6427 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
6428 lt_cv_file_magic_cmd='$OBJDUMP -f'
6429 fi
6430 ;;
6431
6432 cegcc*)
6433 # use the weaker test based on 'objdump'. See mingw*.
6434 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6435 lt_cv_file_magic_cmd='$OBJDUMP -f'
6436 ;;
6437
6438 darwin* | rhapsody*)
6439 lt_cv_deplibs_check_method=pass_all
6440 ;;
6441
6442 freebsd* | dragonfly* | midnightbsd*)
6443 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6444 case $host_cpu in
6445 i*86 )
6446 # Not sure whether the presence of OpenBSD here was a mistake.
6447 # Let's accept both of them until this is cleared up.
6448 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6449 lt_cv_file_magic_cmd=$FILECMD
6450 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6451 ;;
6452 esac
6453 else
6454 lt_cv_deplibs_check_method=pass_all
6455 fi
6456 ;;
6457
6458 haiku*)
6459 lt_cv_deplibs_check_method=pass_all
6460 ;;
6461
6462 hpux10.20* | hpux11*)
6463 lt_cv_file_magic_cmd=$FILECMD
6464 case $host_cpu in
6465 ia64*)
6466 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6467 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6468 ;;
6469 hppa*64*)
6470 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]'
6471 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6472 ;;
6473 *)
6474 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6475 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6476 ;;
6477 esac
6478 ;;
6479
6480 interix[3-9]*)
6481 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6482 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6483 ;;
6484
6485 irix5* | irix6* | nonstopux*)
6486 case $LD in
6487 *-32|*"-32 ") libmagic=32-bit;;
6488 *-n32|*"-n32 ") libmagic=N32;;
6489 *-64|*"-64 ") libmagic=64-bit;;
6490 *) libmagic=never-match;;
6491 esac
6492 lt_cv_deplibs_check_method=pass_all
6493 ;;
6494
6495 # This must be glibc/ELF.
6496 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6497 lt_cv_deplibs_check_method=pass_all
6498 ;;
6499
6500 *-mlibc)
6501 lt_cv_deplibs_check_method=pass_all
6502 ;;
6503
6504 netbsd* | netbsdelf*-gnu)
6505 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6506 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6507 else
6508 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6509 fi
6510 ;;
6511
6512 newos6*)
6513 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6514 lt_cv_file_magic_cmd=$FILECMD
6515 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6516 ;;
6517
6518 *nto* | *qnx*)
6519 lt_cv_deplibs_check_method=pass_all
6520 ;;
6521
6522 openbsd*)
6523 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6524 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6525 else
6526 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6527 fi
6528 ;;
6529
6530 osf3* | osf4* | osf5*)
6531 lt_cv_deplibs_check_method=pass_all
6532 ;;
6533
6534 rdos*)
6535 lt_cv_deplibs_check_method=pass_all
6536 ;;
6537
6538 serenity*)
6539 lt_cv_deplibs_check_method=pass_all
6540 ;;
6541
6542 solaris*)
6543 lt_cv_deplibs_check_method=pass_all
6544 ;;
6545
6546 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6547 lt_cv_deplibs_check_method=pass_all
6548 ;;
6549
6550 sysv4 | sysv4.3*)
6551 case $host_vendor in
6552 motorola)
6553 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]'
6554 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6555 ;;
6556 ncr)
6557 lt_cv_deplibs_check_method=pass_all
6558 ;;
6559 sequent)
6560 lt_cv_file_magic_cmd='/bin/file'
6561 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6562 ;;
6563 sni)
6564 lt_cv_file_magic_cmd='/bin/file'
6565 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6566 lt_cv_file_magic_test_file=/lib/libc.so
6567 ;;
6568 siemens)
6569 lt_cv_deplibs_check_method=pass_all
6570 ;;
6571 pc)
6572 lt_cv_deplibs_check_method=pass_all
6573 ;;
6574 esac
6575 ;;
6576
6577 tpf*)
6578 lt_cv_deplibs_check_method=pass_all
6579 ;;
6580 os2*)
6581 lt_cv_deplibs_check_method=pass_all
6582 ;;
6583 esac
6584 ;;
6585 esac
6586 fi
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6588 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6589
6590 file_magic_glob=
6591 want_nocaseglob=no
6592 if test "$build" = "$host"; then
6593 case $host_os in
6594 mingw* | windows* | pw32*)
6595 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6596 want_nocaseglob=yes
6597 else
6598 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6599 fi
6600 ;;
6601 esac
6602 fi
6603
6604 file_magic_cmd=$lt_cv_file_magic_cmd
6605 deplibs_check_method=$lt_cv_deplibs_check_method
6606 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629 if test -n "$ac_tool_prefix"; then
6630 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6631 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 printf %s "checking for $ac_word... " >&6; }
6634 if test ${ac_cv_prog_DLLTOOL+y}
6635 then :
6636 printf %s "(cached) " >&6
6637 else case e in #(
6638 e) if test -n "$DLLTOOL"; then
6639 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6640 else
6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6642 for as_dir in $PATH
6643 do
6644 IFS=$as_save_IFS
6645 case $as_dir in #(((
6646 '') as_dir=./ ;;
6647 */) ;;
6648 *) as_dir=$as_dir/ ;;
6649 esac
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6654 break 2
6655 fi
6656 done
6657 done
6658 IFS=$as_save_IFS
6659
6660 fi ;;
6661 esac
6662 fi
6663 DLLTOOL=$ac_cv_prog_DLLTOOL
6664 if test -n "$DLLTOOL"; then
6665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6666 printf "%s\n" "$DLLTOOL" >&6; }
6667 else
6668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 printf "%s\n" "no" >&6; }
6670 fi
6671
6672
6673 fi
6674 if test -z "$ac_cv_prog_DLLTOOL"; then
6675 ac_ct_DLLTOOL=$DLLTOOL
6676 # Extract the first word of "dlltool", so it can be a program name with args.
6677 set dummy dlltool; ac_word=$2
6678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 printf %s "checking for $ac_word... " >&6; }
6680 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6681 then :
6682 printf %s "(cached) " >&6
6683 else case e in #(
6684 e) if test -n "$ac_ct_DLLTOOL"; then
6685 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6686 else
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 for as_dir in $PATH
6689 do
6690 IFS=$as_save_IFS
6691 case $as_dir in #(((
6692 '') as_dir=./ ;;
6693 */) ;;
6694 *) as_dir=$as_dir/ ;;
6695 esac
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6698 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6700 break 2
6701 fi
6702 done
6703 done
6704 IFS=$as_save_IFS
6705
6706 fi ;;
6707 esac
6708 fi
6709 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6710 if test -n "$ac_ct_DLLTOOL"; then
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6712 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6713 else
6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 printf "%s\n" "no" >&6; }
6716 fi
6717
6718 if test "x$ac_ct_DLLTOOL" = x; then
6719 DLLTOOL="false"
6720 else
6721 case $cross_compiling:$ac_tool_warned in
6722 yes:)
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6724 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725 ac_tool_warned=yes ;;
6726 esac
6727 DLLTOOL=$ac_ct_DLLTOOL
6728 fi
6729 else
6730 DLLTOOL="$ac_cv_prog_DLLTOOL"
6731 fi
6732
6733 test -z "$DLLTOOL" && DLLTOOL=dlltool
6734
6735
6736
6737
6738
6739
6740
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6742 printf %s "checking how to associate runtime and link libraries... " >&6; }
6743 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6744 then :
6745 printf %s "(cached) " >&6
6746 else case e in #(
6747 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
6748
6749 case $host_os in
6750 cygwin* | mingw* | windows* | pw32* | cegcc*)
6751 # two different shell functions defined in ltmain.sh;
6752 # decide which one to use based on capabilities of $DLLTOOL
6753 case `$DLLTOOL --help 2>&1` in
6754 *--identify-strict*)
6755 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6756 ;;
6757 *)
6758 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6759 ;;
6760 esac
6761 ;;
6762 *)
6763 # fallback: assume linklib IS sharedlib
6764 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6765 ;;
6766 esac
6767 ;;
6768 esac
6769 fi
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6771 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6772 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6773 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6774
6775
6776
6777
6778
6779
6780
6781 if test -n "$ac_tool_prefix"; then
6782 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6783 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6785 printf %s "checking for $ac_word... " >&6; }
6786 if test ${ac_cv_prog_RANLIB+y}
6787 then :
6788 printf %s "(cached) " >&6
6789 else case e in #(
6790 e) if test -n "$RANLIB"; then
6791 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6792 else
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 for as_dir in $PATH
6795 do
6796 IFS=$as_save_IFS
6797 case $as_dir in #(((
6798 '') as_dir=./ ;;
6799 */) ;;
6800 *) as_dir=$as_dir/ ;;
6801 esac
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6804 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6806 break 2
6807 fi
6808 done
6809 done
6810 IFS=$as_save_IFS
6811
6812 fi ;;
6813 esac
6814 fi
6815 RANLIB=$ac_cv_prog_RANLIB
6816 if test -n "$RANLIB"; then
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6818 printf "%s\n" "$RANLIB" >&6; }
6819 else
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 printf "%s\n" "no" >&6; }
6822 fi
6823
6824
6825 fi
6826 if test -z "$ac_cv_prog_RANLIB"; then
6827 ac_ct_RANLIB=$RANLIB
6828 # Extract the first word of "ranlib", so it can be a program name with args.
6829 set dummy ranlib; ac_word=$2
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 printf %s "checking for $ac_word... " >&6; }
6832 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6833 then :
6834 printf %s "(cached) " >&6
6835 else case e in #(
6836 e) if test -n "$ac_ct_RANLIB"; then
6837 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6838 else
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 for as_dir in $PATH
6841 do
6842 IFS=$as_save_IFS
6843 case $as_dir in #(((
6844 '') as_dir=./ ;;
6845 */) ;;
6846 *) as_dir=$as_dir/ ;;
6847 esac
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6850 ac_cv_prog_ac_ct_RANLIB="ranlib"
6851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6852 break 2
6853 fi
6854 done
6855 done
6856 IFS=$as_save_IFS
6857
6858 fi ;;
6859 esac
6860 fi
6861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6862 if test -n "$ac_ct_RANLIB"; then
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6864 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6865 else
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 printf "%s\n" "no" >&6; }
6868 fi
6869
6870 if test "x$ac_ct_RANLIB" = x; then
6871 RANLIB=":"
6872 else
6873 case $cross_compiling:$ac_tool_warned in
6874 yes:)
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877 ac_tool_warned=yes ;;
6878 esac
6879 RANLIB=$ac_ct_RANLIB
6880 fi
6881 else
6882 RANLIB="$ac_cv_prog_RANLIB"
6883 fi
6884
6885 if test -n "$ac_tool_prefix"; then
6886 for ac_prog in ar
6887 do
6888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6889 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 printf %s "checking for $ac_word... " >&6; }
6892 if test ${ac_cv_prog_AR+y}
6893 then :
6894 printf %s "(cached) " >&6
6895 else case e in #(
6896 e) if test -n "$AR"; then
6897 ac_cv_prog_AR="$AR" # Let the user override the test.
6898 else
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900 for as_dir in $PATH
6901 do
6902 IFS=$as_save_IFS
6903 case $as_dir in #(((
6904 '') as_dir=./ ;;
6905 */) ;;
6906 *) as_dir=$as_dir/ ;;
6907 esac
6908 for ac_exec_ext in '' $ac_executable_extensions; do
6909 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6910 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6912 break 2
6913 fi
6914 done
6915 done
6916 IFS=$as_save_IFS
6917
6918 fi ;;
6919 esac
6920 fi
6921 AR=$ac_cv_prog_AR
6922 if test -n "$AR"; then
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6924 printf "%s\n" "$AR" >&6; }
6925 else
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927 printf "%s\n" "no" >&6; }
6928 fi
6929
6930
6931 test -n "$AR" && break
6932 done
6933 fi
6934 if test -z "$AR"; then
6935 ac_ct_AR=$AR
6936 for ac_prog in ar
6937 do
6938 # Extract the first word of "$ac_prog", so it can be a program name with args.
6939 set dummy $ac_prog; ac_word=$2
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941 printf %s "checking for $ac_word... " >&6; }
6942 if test ${ac_cv_prog_ac_ct_AR+y}
6943 then :
6944 printf %s "(cached) " >&6
6945 else case e in #(
6946 e) if test -n "$ac_ct_AR"; then
6947 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6948 else
6949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 for as_dir in $PATH
6951 do
6952 IFS=$as_save_IFS
6953 case $as_dir in #(((
6954 '') as_dir=./ ;;
6955 */) ;;
6956 *) as_dir=$as_dir/ ;;
6957 esac
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6960 ac_cv_prog_ac_ct_AR="$ac_prog"
6961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6962 break 2
6963 fi
6964 done
6965 done
6966 IFS=$as_save_IFS
6967
6968 fi ;;
6969 esac
6970 fi
6971 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6972 if test -n "$ac_ct_AR"; then
6973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6974 printf "%s\n" "$ac_ct_AR" >&6; }
6975 else
6976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 printf "%s\n" "no" >&6; }
6978 fi
6979
6980
6981 test -n "$ac_ct_AR" && break
6982 done
6983
6984 if test "x$ac_ct_AR" = x; then
6985 AR="false"
6986 else
6987 case $cross_compiling:$ac_tool_warned in
6988 yes:)
6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6990 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6991 ac_tool_warned=yes ;;
6992 esac
6993 AR=$ac_ct_AR
6994 fi
6995 fi
6996
6997 : ${AR=ar}
6998
6999
7000
7001
7002
7003
7004 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
7005 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7006 # higher priority because that's what people were doing historically (setting
7007 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
7008 # variable obsoleted/removed.
7009
7010 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7011 lt_ar_flags=$AR_FLAGS
7012
7013
7014
7015
7016
7017
7018 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7019 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7020
7021
7022
7023
7024
7025
7026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7027 printf %s "checking for archiver @FILE support... " >&6; }
7028 if test ${lt_cv_ar_at_file+y}
7029 then :
7030 printf %s "(cached) " >&6
7031 else case e in #(
7032 e) lt_cv_ar_at_file=no
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 /* end confdefs.h. */
7035
7036 int
7037 main (void)
7038 {
7039
7040 ;
7041 return 0;
7042 }
7043 _ACEOF
7044 if ac_fn_c_try_compile "$LINENO"
7045 then :
7046 echo conftest.$ac_objext > conftest.lst
7047 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7048 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7049 (eval $lt_ar_try) 2>&5
7050 ac_status=$?
7051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7052 test $ac_status = 0; }
7053 if test 0 -eq "$ac_status"; then
7054 # Ensure the archiver fails upon bogus file names.
7055 rm -f conftest.$ac_objext libconftest.a
7056 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7057 (eval $lt_ar_try) 2>&5
7058 ac_status=$?
7059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7060 test $ac_status = 0; }
7061 if test 0 -ne "$ac_status"; then
7062 lt_cv_ar_at_file=@
7063 fi
7064 fi
7065 rm -f conftest.* libconftest.a
7066
7067 fi
7068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7069 ;;
7070 esac
7071 fi
7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7073 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7074
7075 if test no = "$lt_cv_ar_at_file"; then
7076 archiver_list_spec=
7077 else
7078 archiver_list_spec=$lt_cv_ar_at_file
7079 fi
7080
7081
7082
7083
7084
7085
7086
7087 if test -n "$ac_tool_prefix"; then
7088 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7089 set dummy ${ac_tool_prefix}strip; ac_word=$2
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 printf %s "checking for $ac_word... " >&6; }
7092 if test ${ac_cv_prog_STRIP+y}
7093 then :
7094 printf %s "(cached) " >&6
7095 else case e in #(
7096 e) if test -n "$STRIP"; then
7097 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7098 else
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 for as_dir in $PATH
7101 do
7102 IFS=$as_save_IFS
7103 case $as_dir in #(((
7104 '') as_dir=./ ;;
7105 */) ;;
7106 *) as_dir=$as_dir/ ;;
7107 esac
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7112 break 2
7113 fi
7114 done
7115 done
7116 IFS=$as_save_IFS
7117
7118 fi ;;
7119 esac
7120 fi
7121 STRIP=$ac_cv_prog_STRIP
7122 if test -n "$STRIP"; then
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7124 printf "%s\n" "$STRIP" >&6; }
7125 else
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 printf "%s\n" "no" >&6; }
7128 fi
7129
7130
7131 fi
7132 if test -z "$ac_cv_prog_STRIP"; then
7133 ac_ct_STRIP=$STRIP
7134 # Extract the first word of "strip", so it can be a program name with args.
7135 set dummy strip; ac_word=$2
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 printf %s "checking for $ac_word... " >&6; }
7138 if test ${ac_cv_prog_ac_ct_STRIP+y}
7139 then :
7140 printf %s "(cached) " >&6
7141 else case e in #(
7142 e) if test -n "$ac_ct_STRIP"; then
7143 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7147 do
7148 IFS=$as_save_IFS
7149 case $as_dir in #(((
7150 '') as_dir=./ ;;
7151 */) ;;
7152 *) as_dir=$as_dir/ ;;
7153 esac
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_ac_ct_STRIP="strip"
7157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7158 break 2
7159 fi
7160 done
7161 done
7162 IFS=$as_save_IFS
7163
7164 fi ;;
7165 esac
7166 fi
7167 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7168 if test -n "$ac_ct_STRIP"; then
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7170 printf "%s\n" "$ac_ct_STRIP" >&6; }
7171 else
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 printf "%s\n" "no" >&6; }
7174 fi
7175
7176 if test "x$ac_ct_STRIP" = x; then
7177 STRIP=":"
7178 else
7179 case $cross_compiling:$ac_tool_warned in
7180 yes:)
7181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7182 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7183 ac_tool_warned=yes ;;
7184 esac
7185 STRIP=$ac_ct_STRIP
7186 fi
7187 else
7188 STRIP="$ac_cv_prog_STRIP"
7189 fi
7190
7191 test -z "$STRIP" && STRIP=:
7192
7193
7194
7195
7196
7197
7198
7199 test -z "$RANLIB" && RANLIB=:
7200
7201
7202
7203
7204
7205
7206 # Determine commands to create old-style static archives.
7207 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7208 old_postinstall_cmds='chmod 644 $oldlib'
7209 old_postuninstall_cmds=
7210
7211 if test -n "$RANLIB"; then
7212 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7213 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7214 fi
7215
7216 case $host_os in
7217 darwin*)
7218 lock_old_archive_extraction=yes ;;
7219 *)
7220 lock_old_archive_extraction=no ;;
7221 esac
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
7260
7261 # If no C compiler was specified, use CC.
7262 LTCC=${LTCC-"$CC"}
7263
7264 # If no C compiler flags were specified, use CFLAGS.
7265 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7266
7267 # Allow CC to be a program name with arguments.
7268 compiler=$CC
7269
7270
7271 # Check for command to grab the raw symbol name followed by C symbol from nm.
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7273 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7274 if test ${lt_cv_sys_global_symbol_pipe+y}
7275 then :
7276 printf %s "(cached) " >&6
7277 else case e in #(
7278 e)
7279 # These are sane defaults that work on at least a few old systems.
7280 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7281
7282 # Character class describing NM global symbol codes.
7283 symcode='[BCDEGRST]'
7284
7285 # Regexp to match symbols that can be accessed directly from C.
7286 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7287
7288 # Define system-specific variables.
7289 case $host_os in
7290 aix*)
7291 symcode='[BCDT]'
7292 ;;
7293 cygwin* | mingw* | windows* | pw32* | cegcc*)
7294 symcode='[ABCDGISTW]'
7295 ;;
7296 hpux*)
7297 if test ia64 = "$host_cpu"; then
7298 symcode='[ABCDEGRST]'
7299 fi
7300 ;;
7301 irix* | nonstopux*)
7302 symcode='[BCDEGRST]'
7303 ;;
7304 osf*)
7305 symcode='[BCDEGQRST]'
7306 ;;
7307 solaris*)
7308 symcode='[BCDRT]'
7309 ;;
7310 sco3.2v5*)
7311 symcode='[DT]'
7312 ;;
7313 sysv4.2uw2*)
7314 symcode='[DT]'
7315 ;;
7316 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7317 symcode='[ABDT]'
7318 ;;
7319 sysv4)
7320 symcode='[DFNSTU]'
7321 ;;
7322 esac
7323
7324 # If we're using GNU nm, then use its standard symbol codes.
7325 case `$NM -V 2>&1` in
7326 *GNU* | *'with BFD'*)
7327 symcode='[ABCDGIRSTW]' ;;
7328 esac
7329
7330 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7331 # Gets list of data symbols to import.
7332 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7333 # Adjust the below global symbol transforms to fixup imported variables.
7334 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7335 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7336 lt_c_name_lib_hook="\
7337 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7338 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7339 else
7340 # Disable hooks by default.
7341 lt_cv_sys_global_symbol_to_import=
7342 lt_cdecl_hook=
7343 lt_c_name_hook=
7344 lt_c_name_lib_hook=
7345 fi
7346
7347 # Transform an extracted symbol line into a proper C declaration.
7348 # Some systems (esp. on ia64) link data and code symbols differently,
7349 # so use this general approach.
7350 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7351 $lt_cdecl_hook\
7352 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7353 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7354
7355 # Transform an extracted symbol line into symbol name and symbol address
7356 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7357 $lt_c_name_hook\
7358 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7359 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7360
7361 # Transform an extracted symbol line into symbol name with lib prefix and
7362 # symbol address.
7363 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7364 $lt_c_name_lib_hook\
7365 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7366 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7367 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7368
7369 # Handle CRLF in mingw tool chain
7370 opt_cr=
7371 case $build_os in
7372 mingw* | windows*)
7373 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7374 ;;
7375 esac
7376
7377 # Try without a prefix underscore, then with it.
7378 for ac_symprfx in "" "_"; do
7379
7380 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7381 symxfrm="\\1 $ac_symprfx\\2 \\2"
7382
7383 # Write the raw and C identifiers.
7384 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7385 # Fake it for dumpbin and say T for any non-static function,
7386 # D for any global variable and I for any imported variable.
7387 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7388 # which start with @ or ?.
7389 lt_cv_sys_global_symbol_pipe="$AWK '"\
7390 " {last_section=section; section=\$ 3};"\
7391 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7392 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7393 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7394 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7395 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7396 " \$ 0!~/External *\|/{next};"\
7397 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7398 " {if(hide[section]) next};"\
7399 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7400 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7401 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7402 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7403 " ' prfx=^$ac_symprfx"
7404 else
7405 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7406 fi
7407 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7408
7409 # Check to see that the pipe works correctly.
7410 pipe_works=no
7411
7412 rm -f conftest*
7413 cat > conftest.$ac_ext <<_LT_EOF
7414 #ifdef __cplusplus
7415 extern "C" {
7416 #endif
7417 char nm_test_var;
7418 void nm_test_func(void);
7419 void nm_test_func(void){}
7420 #ifdef __cplusplus
7421 }
7422 #endif
7423 int main(void){nm_test_var='a';nm_test_func();return(0);}
7424 _LT_EOF
7425
7426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7427 (eval $ac_compile) 2>&5
7428 ac_status=$?
7429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7430 test $ac_status = 0; }; then
7431 # Now try to grab the symbols.
7432 nlist=conftest.nm
7433 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7434 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7435 # Try sorting and uniquifying the output.
7436 if sort "$nlist" | uniq > "$nlist"T; then
7437 mv -f "$nlist"T "$nlist"
7438 else
7439 rm -f "$nlist"T
7440 fi
7441
7442 # Make sure that we snagged all the symbols we need.
7443 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7444 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7445 cat <<_LT_EOF > conftest.$ac_ext
7446 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7447 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7448 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7449 relocations are performed -- see ld's documentation on pseudo-relocs. */
7450 # define LT_DLSYM_CONST
7451 #elif defined __osf__
7452 /* This system does not cope well with relocations in const data. */
7453 # define LT_DLSYM_CONST
7454 #else
7455 # define LT_DLSYM_CONST const
7456 #endif
7457
7458 #ifdef __cplusplus
7459 extern "C" {
7460 #endif
7461
7462 _LT_EOF
7463 # Now generate the symbol file.
7464 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7465
7466 cat <<_LT_EOF >> conftest.$ac_ext
7467
7468 /* The mapping between symbol names and symbols. */
7469 LT_DLSYM_CONST struct {
7470 const char *name;
7471 void *address;
7472 }
7473 lt__PROGRAM__LTX_preloaded_symbols[] =
7474 {
7475 { "@PROGRAM@", (void *) 0 },
7476 _LT_EOF
7477 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7478 cat <<\_LT_EOF >> conftest.$ac_ext
7479 {0, (void *) 0}
7480 };
7481
7482 /* This works around a problem in FreeBSD linker */
7483 #ifdef FREEBSD_WORKAROUND
7484 static const void *lt_preloaded_setup() {
7485 return lt__PROGRAM__LTX_preloaded_symbols;
7486 }
7487 #endif
7488
7489 #ifdef __cplusplus
7490 }
7491 #endif
7492 _LT_EOF
7493 # Now try linking the two files.
7494 mv conftest.$ac_objext conftstm.$ac_objext
7495 lt_globsym_save_LIBS=$LIBS
7496 lt_globsym_save_CFLAGS=$CFLAGS
7497 LIBS=conftstm.$ac_objext
7498 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7500 (eval $ac_link) 2>&5
7501 ac_status=$?
7502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7503 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7504 pipe_works=yes
7505 fi
7506 LIBS=$lt_globsym_save_LIBS
7507 CFLAGS=$lt_globsym_save_CFLAGS
7508 else
7509 echo "cannot find nm_test_func in $nlist" >&5
7510 fi
7511 else
7512 echo "cannot find nm_test_var in $nlist" >&5
7513 fi
7514 else
7515 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7516 fi
7517 else
7518 echo "$progname: failed program was:" >&5
7519 cat conftest.$ac_ext >&5
7520 fi
7521 rm -rf conftest* conftst*
7522
7523 # Do not use the global_symbol_pipe unless it works.
7524 if test yes = "$pipe_works"; then
7525 break
7526 else
7527 lt_cv_sys_global_symbol_pipe=
7528 fi
7529 done
7530 ;;
7531 esac
7532 fi
7533
7534 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7535 lt_cv_sys_global_symbol_to_cdecl=
7536 fi
7537 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7539 printf "%s\n" "failed" >&6; }
7540 else
7541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7542 printf "%s\n" "ok" >&6; }
7543 fi
7544
7545 # Response file support.
7546 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7547 nm_file_list_spec='@'
7548 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7549 nm_file_list_spec='@'
7550 fi
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
7587
7588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7589 printf %s "checking for sysroot... " >&6; }
7590
7591 # Check whether --with-sysroot was given.
7592 if test ${with_sysroot+y}
7593 then :
7594 withval=$with_sysroot;
7595 else case e in #(
7596 e) with_sysroot=no ;;
7597 esac
7598 fi
7599
7600
7601 lt_sysroot=
7602 case $with_sysroot in #(
7603 yes)
7604 if test yes = "$GCC"; then
7605 # Trim trailing / since we'll always append absolute paths and we want
7606 # to avoid //, if only for less confusing output for the user.
7607 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
7608 fi
7609 ;; #(
7610 /*)
7611 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7612 ;; #(
7613 no|'')
7614 ;; #(
7615 *)
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7617 printf "%s\n" "$with_sysroot" >&6; }
7618 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7619 ;;
7620 esac
7621
7622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7623 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7624
7625
7626
7627
7628
7629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7630 printf %s "checking for a working dd... " >&6; }
7631 if test ${ac_cv_path_lt_DD+y}
7632 then :
7633 printf %s "(cached) " >&6
7634 else case e in #(
7635 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7636 cat conftest.i conftest.i >conftest2.i
7637 : ${lt_DD:=$DD}
7638 if test -z "$lt_DD"; then
7639 ac_path_lt_DD_found=false
7640 # Loop through the user's path and test for each of PROGNAME-LIST
7641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7642 for as_dir in $PATH
7643 do
7644 IFS=$as_save_IFS
7645 case $as_dir in #(((
7646 '') as_dir=./ ;;
7647 */) ;;
7648 *) as_dir=$as_dir/ ;;
7649 esac
7650 for ac_prog in dd
7651 do
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7654 as_fn_executable_p "$ac_path_lt_DD" || continue
7655 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7656 cmp -s conftest.i conftest.out \
7657 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7658 fi
7659 $ac_path_lt_DD_found && break 3
7660 done
7661 done
7662 done
7663 IFS=$as_save_IFS
7664 if test -z "$ac_cv_path_lt_DD"; then
7665 :
7666 fi
7667 else
7668 ac_cv_path_lt_DD=$lt_DD
7669 fi
7670
7671 rm -f conftest.i conftest2.i conftest.out ;;
7672 esac
7673 fi
7674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7675 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7676
7677
7678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7679 printf %s "checking how to truncate binary pipes... " >&6; }
7680 if test ${lt_cv_truncate_bin+y}
7681 then :
7682 printf %s "(cached) " >&6
7683 else case e in #(
7684 e) printf 0123456789abcdef0123456789abcdef >conftest.i
7685 cat conftest.i conftest.i >conftest2.i
7686 lt_cv_truncate_bin=
7687 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7688 cmp -s conftest.i conftest.out \
7689 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7690 fi
7691 rm -f conftest.i conftest2.i conftest.out
7692 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
7693 esac
7694 fi
7695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7696 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7697
7698
7699
7700
7701
7702
7703
7704 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7705 func_cc_basename ()
7706 {
7707 for cc_temp in $*""; do
7708 case $cc_temp in
7709 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7710 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7711 \-*) ;;
7712 *) break;;
7713 esac
7714 done
7715 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7716 }
7717
7718 # Check whether --enable-libtool-lock was given.
7719 if test ${enable_libtool_lock+y}
7720 then :
7721 enableval=$enable_libtool_lock;
7722 fi
7723
7724 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7725
7726 # Some flags need to be propagated to the compiler or linker for good
7727 # libtool support.
7728 case $host in
7729 ia64-*-hpux*)
7730 # Find out what ABI is being produced by ac_compile, and set mode
7731 # options accordingly.
7732 echo 'int i;' > conftest.$ac_ext
7733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7734 (eval $ac_compile) 2>&5
7735 ac_status=$?
7736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7737 test $ac_status = 0; }; then
7738 case `$FILECMD conftest.$ac_objext` in
7739 *ELF-32*)
7740 HPUX_IA64_MODE=32
7741 ;;
7742 *ELF-64*)
7743 HPUX_IA64_MODE=64
7744 ;;
7745 esac
7746 fi
7747 rm -rf conftest*
7748 ;;
7749 *-*-irix6*)
7750 # Find out what ABI is being produced by ac_compile, and set linker
7751 # options accordingly.
7752 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7753 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7754 (eval $ac_compile) 2>&5
7755 ac_status=$?
7756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7757 test $ac_status = 0; }; then
7758 if test yes = "$lt_cv_prog_gnu_ld"; then
7759 case `$FILECMD conftest.$ac_objext` in
7760 *32-bit*)
7761 LD="${LD-ld} -melf32bsmip"
7762 ;;
7763 *N32*)
7764 LD="${LD-ld} -melf32bmipn32"
7765 ;;
7766 *64-bit*)
7767 LD="${LD-ld} -melf64bmip"
7768 ;;
7769 esac
7770 else
7771 case `$FILECMD conftest.$ac_objext` in
7772 *32-bit*)
7773 LD="${LD-ld} -32"
7774 ;;
7775 *N32*)
7776 LD="${LD-ld} -n32"
7777 ;;
7778 *64-bit*)
7779 LD="${LD-ld} -64"
7780 ;;
7781 esac
7782 fi
7783 fi
7784 rm -rf conftest*
7785 ;;
7786
7787 mips64*-*linux*)
7788 # Find out what ABI is being produced by ac_compile, and set linker
7789 # options accordingly.
7790 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7792 (eval $ac_compile) 2>&5
7793 ac_status=$?
7794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7795 test $ac_status = 0; }; then
7796 emul=elf
7797 case `$FILECMD conftest.$ac_objext` in
7798 *32-bit*)
7799 emul="${emul}32"
7800 ;;
7801 *64-bit*)
7802 emul="${emul}64"
7803 ;;
7804 esac
7805 case `$FILECMD conftest.$ac_objext` in
7806 *MSB*)
7807 emul="${emul}btsmip"
7808 ;;
7809 *LSB*)
7810 emul="${emul}ltsmip"
7811 ;;
7812 esac
7813 case `$FILECMD conftest.$ac_objext` in
7814 *N32*)
7815 emul="${emul}n32"
7816 ;;
7817 esac
7818 LD="${LD-ld} -m $emul"
7819 fi
7820 rm -rf conftest*
7821 ;;
7822
7823 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7824 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
7825 # Find out what ABI is being produced by ac_compile, and set linker
7826 # options accordingly. Note that the listed cases only cover the
7827 # situations where additional linker options are needed (such as when
7828 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7829 # vice versa); the common cases where no linker options are needed do
7830 # not appear in the list.
7831 echo 'int i;' > conftest.$ac_ext
7832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7833 (eval $ac_compile) 2>&5
7834 ac_status=$?
7835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7836 test $ac_status = 0; }; then
7837 case `$FILECMD conftest.o` in
7838 *32-bit*)
7839 case $host in
7840 x86_64-*kfreebsd*-gnu)
7841 LD="${LD-ld} -m elf_i386_fbsd"
7842 ;;
7843 x86_64-*linux*|x86_64-gnu*)
7844 case `$FILECMD conftest.o` in
7845 *x86-64*)
7846 LD="${LD-ld} -m elf32_x86_64"
7847 ;;
7848 *)
7849 LD="${LD-ld} -m elf_i386"
7850 ;;
7851 esac
7852 ;;
7853 powerpc64le-*linux*)
7854 LD="${LD-ld} -m elf32lppclinux"
7855 ;;
7856 powerpc64-*linux*)
7857 LD="${LD-ld} -m elf32ppclinux"
7858 ;;
7859 s390x-*linux*)
7860 LD="${LD-ld} -m elf_s390"
7861 ;;
7862 sparc64-*linux*)
7863 LD="${LD-ld} -m elf32_sparc"
7864 ;;
7865 esac
7866 ;;
7867 *64-bit*)
7868 case $host in
7869 x86_64-*kfreebsd*-gnu)
7870 LD="${LD-ld} -m elf_x86_64_fbsd"
7871 ;;
7872 x86_64-*linux*|x86_64-gnu*)
7873 LD="${LD-ld} -m elf_x86_64"
7874 ;;
7875 powerpcle-*linux*)
7876 LD="${LD-ld} -m elf64lppc"
7877 ;;
7878 powerpc-*linux*)
7879 LD="${LD-ld} -m elf64ppc"
7880 ;;
7881 s390*-*linux*|s390*-*tpf*)
7882 LD="${LD-ld} -m elf64_s390"
7883 ;;
7884 sparc*-*linux*)
7885 LD="${LD-ld} -m elf64_sparc"
7886 ;;
7887 esac
7888 ;;
7889 esac
7890 fi
7891 rm -rf conftest*
7892 ;;
7893
7894 *-*-sco3.2v5*)
7895 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7896 SAVE_CFLAGS=$CFLAGS
7897 CFLAGS="$CFLAGS -belf"
7898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7899 printf %s "checking whether the C compiler needs -belf... " >&6; }
7900 if test ${lt_cv_cc_needs_belf+y}
7901 then :
7902 printf %s "(cached) " >&6
7903 else case e in #(
7904 e) ac_ext=c
7905 ac_cpp='$CPP $CPPFLAGS'
7906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7909
7910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 /* end confdefs.h. */
7912
7913 int
7914 main (void)
7915 {
7916
7917 ;
7918 return 0;
7919 }
7920 _ACEOF
7921 if ac_fn_c_try_link "$LINENO"
7922 then :
7923 lt_cv_cc_needs_belf=yes
7924 else case e in #(
7925 e) lt_cv_cc_needs_belf=no ;;
7926 esac
7927 fi
7928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7929 conftest$ac_exeext conftest.$ac_ext
7930 ac_ext=c
7931 ac_cpp='$CPP $CPPFLAGS'
7932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7935 ;;
7936 esac
7937 fi
7938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7939 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7940 if test yes != "$lt_cv_cc_needs_belf"; then
7941 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7942 CFLAGS=$SAVE_CFLAGS
7943 fi
7944 ;;
7945 *-*solaris*)
7946 # Find out what ABI is being produced by ac_compile, and set linker
7947 # options accordingly.
7948 echo 'int i;' > conftest.$ac_ext
7949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7950 (eval $ac_compile) 2>&5
7951 ac_status=$?
7952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7953 test $ac_status = 0; }; then
7954 case `$FILECMD conftest.o` in
7955 *64-bit*)
7956 case $lt_cv_prog_gnu_ld in
7957 yes*)
7958 case $host in
7959 i?86-*-solaris*|x86_64-*-solaris*)
7960 LD="${LD-ld} -m elf_x86_64"
7961 ;;
7962 sparc*-*-solaris*)
7963 LD="${LD-ld} -m elf64_sparc"
7964 ;;
7965 esac
7966 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7967 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7968 LD=${LD-ld}_sol2
7969 fi
7970 ;;
7971 *)
7972 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7973 LD="${LD-ld} -64"
7974 fi
7975 ;;
7976 esac
7977 ;;
7978 esac
7979 fi
7980 rm -rf conftest*
7981 ;;
7982 esac
7983
7984 need_locks=$enable_libtool_lock
7985
7986 if test -n "$ac_tool_prefix"; then
7987 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7988 set dummy ${ac_tool_prefix}mt; ac_word=$2
7989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990 printf %s "checking for $ac_word... " >&6; }
7991 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7992 then :
7993 printf %s "(cached) " >&6
7994 else case e in #(
7995 e) if test -n "$MANIFEST_TOOL"; then
7996 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7997 else
7998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999 for as_dir in $PATH
8000 do
8001 IFS=$as_save_IFS
8002 case $as_dir in #(((
8003 '') as_dir=./ ;;
8004 */) ;;
8005 *) as_dir=$as_dir/ ;;
8006 esac
8007 for ac_exec_ext in '' $ac_executable_extensions; do
8008 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8009 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8011 break 2
8012 fi
8013 done
8014 done
8015 IFS=$as_save_IFS
8016
8017 fi ;;
8018 esac
8019 fi
8020 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8021 if test -n "$MANIFEST_TOOL"; then
8022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8023 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8024 else
8025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 printf "%s\n" "no" >&6; }
8027 fi
8028
8029
8030 fi
8031 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8032 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8033 # Extract the first word of "mt", so it can be a program name with args.
8034 set dummy mt; ac_word=$2
8035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 printf %s "checking for $ac_word... " >&6; }
8037 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8038 then :
8039 printf %s "(cached) " >&6
8040 else case e in #(
8041 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
8042 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8043 else
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 for as_dir in $PATH
8046 do
8047 IFS=$as_save_IFS
8048 case $as_dir in #(((
8049 '') as_dir=./ ;;
8050 */) ;;
8051 *) as_dir=$as_dir/ ;;
8052 esac
8053 for ac_exec_ext in '' $ac_executable_extensions; do
8054 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8055 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8057 break 2
8058 fi
8059 done
8060 done
8061 IFS=$as_save_IFS
8062
8063 fi ;;
8064 esac
8065 fi
8066 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8067 if test -n "$ac_ct_MANIFEST_TOOL"; then
8068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8069 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8070 else
8071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8072 printf "%s\n" "no" >&6; }
8073 fi
8074
8075 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8076 MANIFEST_TOOL=":"
8077 else
8078 case $cross_compiling:$ac_tool_warned in
8079 yes:)
8080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8081 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8082 ac_tool_warned=yes ;;
8083 esac
8084 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8085 fi
8086 else
8087 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8088 fi
8089
8090 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8092 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8093 if test ${lt_cv_path_manifest_tool+y}
8094 then :
8095 printf %s "(cached) " >&6
8096 else case e in #(
8097 e) lt_cv_path_manifest_tool=no
8098 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8099 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8100 cat conftest.err >&5
8101 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8102 lt_cv_path_manifest_tool=yes
8103 fi
8104 rm -f conftest* ;;
8105 esac
8106 fi
8107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
8108 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
8109 if test yes != "$lt_cv_path_manifest_tool"; then
8110 MANIFEST_TOOL=:
8111 fi
8112
8113
8114
8115
8116
8117
8118 case $host_os in
8119 rhapsody* | darwin*)
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 printf %s "checking for $ac_word... " >&6; }
8125 if test ${ac_cv_prog_DSYMUTIL+y}
8126 then :
8127 printf %s "(cached) " >&6
8128 else case e in #(
8129 e) if test -n "$DSYMUTIL"; then
8130 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8131 else
8132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8133 for as_dir in $PATH
8134 do
8135 IFS=$as_save_IFS
8136 case $as_dir in #(((
8137 '') as_dir=./ ;;
8138 */) ;;
8139 *) as_dir=$as_dir/ ;;
8140 esac
8141 for ac_exec_ext in '' $ac_executable_extensions; do
8142 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8143 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8145 break 2
8146 fi
8147 done
8148 done
8149 IFS=$as_save_IFS
8150
8151 fi ;;
8152 esac
8153 fi
8154 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8155 if test -n "$DSYMUTIL"; then
8156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8157 printf "%s\n" "$DSYMUTIL" >&6; }
8158 else
8159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8160 printf "%s\n" "no" >&6; }
8161 fi
8162
8163
8164 fi
8165 if test -z "$ac_cv_prog_DSYMUTIL"; then
8166 ac_ct_DSYMUTIL=$DSYMUTIL
8167 # Extract the first word of "dsymutil", so it can be a program name with args.
8168 set dummy dsymutil; ac_word=$2
8169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8170 printf %s "checking for $ac_word... " >&6; }
8171 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8172 then :
8173 printf %s "(cached) " >&6
8174 else case e in #(
8175 e) if test -n "$ac_ct_DSYMUTIL"; then
8176 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8177 else
8178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8179 for as_dir in $PATH
8180 do
8181 IFS=$as_save_IFS
8182 case $as_dir in #(((
8183 '') as_dir=./ ;;
8184 */) ;;
8185 *) as_dir=$as_dir/ ;;
8186 esac
8187 for ac_exec_ext in '' $ac_executable_extensions; do
8188 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8189 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8191 break 2
8192 fi
8193 done
8194 done
8195 IFS=$as_save_IFS
8196
8197 fi ;;
8198 esac
8199 fi
8200 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8201 if test -n "$ac_ct_DSYMUTIL"; then
8202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8203 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8204 else
8205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206 printf "%s\n" "no" >&6; }
8207 fi
8208
8209 if test "x$ac_ct_DSYMUTIL" = x; then
8210 DSYMUTIL=":"
8211 else
8212 case $cross_compiling:$ac_tool_warned in
8213 yes:)
8214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8216 ac_tool_warned=yes ;;
8217 esac
8218 DSYMUTIL=$ac_ct_DSYMUTIL
8219 fi
8220 else
8221 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8222 fi
8223
8224 if test -n "$ac_tool_prefix"; then
8225 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8226 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 printf %s "checking for $ac_word... " >&6; }
8229 if test ${ac_cv_prog_NMEDIT+y}
8230 then :
8231 printf %s "(cached) " >&6
8232 else case e in #(
8233 e) if test -n "$NMEDIT"; then
8234 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8235 else
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 for as_dir in $PATH
8238 do
8239 IFS=$as_save_IFS
8240 case $as_dir in #(((
8241 '') as_dir=./ ;;
8242 */) ;;
8243 *) as_dir=$as_dir/ ;;
8244 esac
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8247 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8249 break 2
8250 fi
8251 done
8252 done
8253 IFS=$as_save_IFS
8254
8255 fi ;;
8256 esac
8257 fi
8258 NMEDIT=$ac_cv_prog_NMEDIT
8259 if test -n "$NMEDIT"; then
8260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8261 printf "%s\n" "$NMEDIT" >&6; }
8262 else
8263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264 printf "%s\n" "no" >&6; }
8265 fi
8266
8267
8268 fi
8269 if test -z "$ac_cv_prog_NMEDIT"; then
8270 ac_ct_NMEDIT=$NMEDIT
8271 # Extract the first word of "nmedit", so it can be a program name with args.
8272 set dummy nmedit; ac_word=$2
8273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8274 printf %s "checking for $ac_word... " >&6; }
8275 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8276 then :
8277 printf %s "(cached) " >&6
8278 else case e in #(
8279 e) if test -n "$ac_ct_NMEDIT"; then
8280 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8281 else
8282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283 for as_dir in $PATH
8284 do
8285 IFS=$as_save_IFS
8286 case $as_dir in #(((
8287 '') as_dir=./ ;;
8288 */) ;;
8289 *) as_dir=$as_dir/ ;;
8290 esac
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8295 break 2
8296 fi
8297 done
8298 done
8299 IFS=$as_save_IFS
8300
8301 fi ;;
8302 esac
8303 fi
8304 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8305 if test -n "$ac_ct_NMEDIT"; then
8306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8307 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8308 else
8309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 printf "%s\n" "no" >&6; }
8311 fi
8312
8313 if test "x$ac_ct_NMEDIT" = x; then
8314 NMEDIT=":"
8315 else
8316 case $cross_compiling:$ac_tool_warned in
8317 yes:)
8318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8319 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8320 ac_tool_warned=yes ;;
8321 esac
8322 NMEDIT=$ac_ct_NMEDIT
8323 fi
8324 else
8325 NMEDIT="$ac_cv_prog_NMEDIT"
8326 fi
8327
8328 if test -n "$ac_tool_prefix"; then
8329 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8330 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8332 printf %s "checking for $ac_word... " >&6; }
8333 if test ${ac_cv_prog_LIPO+y}
8334 then :
8335 printf %s "(cached) " >&6
8336 else case e in #(
8337 e) if test -n "$LIPO"; then
8338 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8339 else
8340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8341 for as_dir in $PATH
8342 do
8343 IFS=$as_save_IFS
8344 case $as_dir in #(((
8345 '') as_dir=./ ;;
8346 */) ;;
8347 *) as_dir=$as_dir/ ;;
8348 esac
8349 for ac_exec_ext in '' $ac_executable_extensions; do
8350 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8351 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8353 break 2
8354 fi
8355 done
8356 done
8357 IFS=$as_save_IFS
8358
8359 fi ;;
8360 esac
8361 fi
8362 LIPO=$ac_cv_prog_LIPO
8363 if test -n "$LIPO"; then
8364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8365 printf "%s\n" "$LIPO" >&6; }
8366 else
8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 printf "%s\n" "no" >&6; }
8369 fi
8370
8371
8372 fi
8373 if test -z "$ac_cv_prog_LIPO"; then
8374 ac_ct_LIPO=$LIPO
8375 # Extract the first word of "lipo", so it can be a program name with args.
8376 set dummy lipo; ac_word=$2
8377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8378 printf %s "checking for $ac_word... " >&6; }
8379 if test ${ac_cv_prog_ac_ct_LIPO+y}
8380 then :
8381 printf %s "(cached) " >&6
8382 else case e in #(
8383 e) if test -n "$ac_ct_LIPO"; then
8384 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8385 else
8386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8387 for as_dir in $PATH
8388 do
8389 IFS=$as_save_IFS
8390 case $as_dir in #(((
8391 '') as_dir=./ ;;
8392 */) ;;
8393 *) as_dir=$as_dir/ ;;
8394 esac
8395 for ac_exec_ext in '' $ac_executable_extensions; do
8396 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8397 ac_cv_prog_ac_ct_LIPO="lipo"
8398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8399 break 2
8400 fi
8401 done
8402 done
8403 IFS=$as_save_IFS
8404
8405 fi ;;
8406 esac
8407 fi
8408 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8409 if test -n "$ac_ct_LIPO"; then
8410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8411 printf "%s\n" "$ac_ct_LIPO" >&6; }
8412 else
8413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 printf "%s\n" "no" >&6; }
8415 fi
8416
8417 if test "x$ac_ct_LIPO" = x; then
8418 LIPO=":"
8419 else
8420 case $cross_compiling:$ac_tool_warned in
8421 yes:)
8422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8423 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8424 ac_tool_warned=yes ;;
8425 esac
8426 LIPO=$ac_ct_LIPO
8427 fi
8428 else
8429 LIPO="$ac_cv_prog_LIPO"
8430 fi
8431
8432 if test -n "$ac_tool_prefix"; then
8433 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8434 set dummy ${ac_tool_prefix}otool; ac_word=$2
8435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8436 printf %s "checking for $ac_word... " >&6; }
8437 if test ${ac_cv_prog_OTOOL+y}
8438 then :
8439 printf %s "(cached) " >&6
8440 else case e in #(
8441 e) if test -n "$OTOOL"; then
8442 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8443 else
8444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8445 for as_dir in $PATH
8446 do
8447 IFS=$as_save_IFS
8448 case $as_dir in #(((
8449 '') as_dir=./ ;;
8450 */) ;;
8451 *) as_dir=$as_dir/ ;;
8452 esac
8453 for ac_exec_ext in '' $ac_executable_extensions; do
8454 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8455 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8457 break 2
8458 fi
8459 done
8460 done
8461 IFS=$as_save_IFS
8462
8463 fi ;;
8464 esac
8465 fi
8466 OTOOL=$ac_cv_prog_OTOOL
8467 if test -n "$OTOOL"; then
8468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8469 printf "%s\n" "$OTOOL" >&6; }
8470 else
8471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 printf "%s\n" "no" >&6; }
8473 fi
8474
8475
8476 fi
8477 if test -z "$ac_cv_prog_OTOOL"; then
8478 ac_ct_OTOOL=$OTOOL
8479 # Extract the first word of "otool", so it can be a program name with args.
8480 set dummy otool; ac_word=$2
8481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8482 printf %s "checking for $ac_word... " >&6; }
8483 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8484 then :
8485 printf %s "(cached) " >&6
8486 else case e in #(
8487 e) if test -n "$ac_ct_OTOOL"; then
8488 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8489 else
8490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8491 for as_dir in $PATH
8492 do
8493 IFS=$as_save_IFS
8494 case $as_dir in #(((
8495 '') as_dir=./ ;;
8496 */) ;;
8497 *) as_dir=$as_dir/ ;;
8498 esac
8499 for ac_exec_ext in '' $ac_executable_extensions; do
8500 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8501 ac_cv_prog_ac_ct_OTOOL="otool"
8502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8503 break 2
8504 fi
8505 done
8506 done
8507 IFS=$as_save_IFS
8508
8509 fi ;;
8510 esac
8511 fi
8512 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8513 if test -n "$ac_ct_OTOOL"; then
8514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8515 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8516 else
8517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8518 printf "%s\n" "no" >&6; }
8519 fi
8520
8521 if test "x$ac_ct_OTOOL" = x; then
8522 OTOOL=":"
8523 else
8524 case $cross_compiling:$ac_tool_warned in
8525 yes:)
8526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8527 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8528 ac_tool_warned=yes ;;
8529 esac
8530 OTOOL=$ac_ct_OTOOL
8531 fi
8532 else
8533 OTOOL="$ac_cv_prog_OTOOL"
8534 fi
8535
8536 if test -n "$ac_tool_prefix"; then
8537 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8538 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8540 printf %s "checking for $ac_word... " >&6; }
8541 if test ${ac_cv_prog_OTOOL64+y}
8542 then :
8543 printf %s "(cached) " >&6
8544 else case e in #(
8545 e) if test -n "$OTOOL64"; then
8546 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8547 else
8548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8549 for as_dir in $PATH
8550 do
8551 IFS=$as_save_IFS
8552 case $as_dir in #(((
8553 '') as_dir=./ ;;
8554 */) ;;
8555 *) as_dir=$as_dir/ ;;
8556 esac
8557 for ac_exec_ext in '' $ac_executable_extensions; do
8558 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8559 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8561 break 2
8562 fi
8563 done
8564 done
8565 IFS=$as_save_IFS
8566
8567 fi ;;
8568 esac
8569 fi
8570 OTOOL64=$ac_cv_prog_OTOOL64
8571 if test -n "$OTOOL64"; then
8572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8573 printf "%s\n" "$OTOOL64" >&6; }
8574 else
8575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8576 printf "%s\n" "no" >&6; }
8577 fi
8578
8579
8580 fi
8581 if test -z "$ac_cv_prog_OTOOL64"; then
8582 ac_ct_OTOOL64=$OTOOL64
8583 # Extract the first word of "otool64", so it can be a program name with args.
8584 set dummy otool64; ac_word=$2
8585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8586 printf %s "checking for $ac_word... " >&6; }
8587 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8588 then :
8589 printf %s "(cached) " >&6
8590 else case e in #(
8591 e) if test -n "$ac_ct_OTOOL64"; then
8592 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8593 else
8594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8595 for as_dir in $PATH
8596 do
8597 IFS=$as_save_IFS
8598 case $as_dir in #(((
8599 '') as_dir=./ ;;
8600 */) ;;
8601 *) as_dir=$as_dir/ ;;
8602 esac
8603 for ac_exec_ext in '' $ac_executable_extensions; do
8604 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8605 ac_cv_prog_ac_ct_OTOOL64="otool64"
8606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8607 break 2
8608 fi
8609 done
8610 done
8611 IFS=$as_save_IFS
8612
8613 fi ;;
8614 esac
8615 fi
8616 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8617 if test -n "$ac_ct_OTOOL64"; then
8618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8619 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8620 else
8621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8622 printf "%s\n" "no" >&6; }
8623 fi
8624
8625 if test "x$ac_ct_OTOOL64" = x; then
8626 OTOOL64=":"
8627 else
8628 case $cross_compiling:$ac_tool_warned in
8629 yes:)
8630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8631 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8632 ac_tool_warned=yes ;;
8633 esac
8634 OTOOL64=$ac_ct_OTOOL64
8635 fi
8636 else
8637 OTOOL64="$ac_cv_prog_OTOOL64"
8638 fi
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
8665
8666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8667 printf %s "checking for -single_module linker flag... " >&6; }
8668 if test ${lt_cv_apple_cc_single_mod+y}
8669 then :
8670 printf %s "(cached) " >&6
8671 else case e in #(
8672 e) lt_cv_apple_cc_single_mod=no
8673 if test -z "$LT_MULTI_MODULE"; then
8674 # By default we will add the -single_module flag. You can override
8675 # by either setting the environment variable LT_MULTI_MODULE
8676 # non-empty at configure time, or by adding -multi_module to the
8677 # link flags.
8678 rm -rf libconftest.dylib*
8679 echo "int foo(void){return 1;}" > conftest.c
8680 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8681 -dynamiclib -Wl,-single_module conftest.c" >&5
8682 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8683 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8684 _lt_result=$?
8685 # If there is a non-empty error log, and "single_module"
8686 # appears in it, assume the flag caused a linker warning
8687 if test -s conftest.err && $GREP single_module conftest.err; then
8688 cat conftest.err >&5
8689 # Otherwise, if the output was created with a 0 exit code from
8690 # the compiler, it worked.
8691 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8692 lt_cv_apple_cc_single_mod=yes
8693 else
8694 cat conftest.err >&5
8695 fi
8696 rm -rf libconftest.dylib*
8697 rm -f conftest.*
8698 fi ;;
8699 esac
8700 fi
8701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8702 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8703
8704 # Feature test to disable chained fixups since it is not
8705 # compatible with '-undefined dynamic_lookup'
8706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
8707 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
8708 if test ${lt_cv_support_no_fixup_chains+y}
8709 then :
8710 printf %s "(cached) " >&6
8711 else case e in #(
8712 e) save_LDFLAGS=$LDFLAGS
8713 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716
8717 int
8718 main (void)
8719 {
8720
8721 ;
8722 return 0;
8723 }
8724 _ACEOF
8725 if ac_fn_c_try_link "$LINENO"
8726 then :
8727 lt_cv_support_no_fixup_chains=yes
8728 else case e in #(
8729 e) lt_cv_support_no_fixup_chains=no
8730 ;;
8731 esac
8732 fi
8733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8734 conftest$ac_exeext conftest.$ac_ext
8735 LDFLAGS=$save_LDFLAGS
8736
8737 ;;
8738 esac
8739 fi
8740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
8741 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
8742
8743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8744 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8745 if test ${lt_cv_ld_exported_symbols_list+y}
8746 then :
8747 printf %s "(cached) " >&6
8748 else case e in #(
8749 e) lt_cv_ld_exported_symbols_list=no
8750 save_LDFLAGS=$LDFLAGS
8751 echo "_main" > conftest.sym
8752 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755
8756 int
8757 main (void)
8758 {
8759
8760 ;
8761 return 0;
8762 }
8763 _ACEOF
8764 if ac_fn_c_try_link "$LINENO"
8765 then :
8766 lt_cv_ld_exported_symbols_list=yes
8767 else case e in #(
8768 e) lt_cv_ld_exported_symbols_list=no ;;
8769 esac
8770 fi
8771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8772 conftest$ac_exeext conftest.$ac_ext
8773 LDFLAGS=$save_LDFLAGS
8774 ;;
8775 esac
8776 fi
8777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8778 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8779
8780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8781 printf %s "checking for -force_load linker flag... " >&6; }
8782 if test ${lt_cv_ld_force_load+y}
8783 then :
8784 printf %s "(cached) " >&6
8785 else case e in #(
8786 e) lt_cv_ld_force_load=no
8787 cat > conftest.c << _LT_EOF
8788 int forced_loaded() { return 2;}
8789 _LT_EOF
8790 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8791 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8792 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8793 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8794 echo "$RANLIB libconftest.a" >&5
8795 $RANLIB libconftest.a 2>&5
8796 cat > conftest.c << _LT_EOF
8797 int main(void) { return 0;}
8798 _LT_EOF
8799 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8800 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8801 _lt_result=$?
8802 if test -s conftest.err && $GREP force_load conftest.err; then
8803 cat conftest.err >&5
8804 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8805 lt_cv_ld_force_load=yes
8806 else
8807 cat conftest.err >&5
8808 fi
8809 rm -f conftest.err libconftest.a conftest conftest.c
8810 rm -rf conftest.dSYM
8811 ;;
8812 esac
8813 fi
8814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8815 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8816 case $host_os in
8817 rhapsody* | darwin1.[012])
8818 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8819 darwin1.*)
8820 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8821 darwin*)
8822 case $MACOSX_DEPLOYMENT_TARGET,$host in
8823 10.[012],*|,*powerpc*-darwin[5-8]*)
8824 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8825 *)
8826 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
8827 if test yes = "$lt_cv_support_no_fixup_chains"; then
8828 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
8829 fi
8830 ;;
8831 esac
8832 ;;
8833 esac
8834 if test yes = "$lt_cv_apple_cc_single_mod"; then
8835 _lt_dar_single_mod='$single_module'
8836 fi
8837 _lt_dar_needs_single_mod=no
8838 case $host_os in
8839 rhapsody* | darwin1.*)
8840 _lt_dar_needs_single_mod=yes ;;
8841 darwin*)
8842 # When targeting Mac OS X 10.4 (darwin 8) or later,
8843 # -single_module is the default and -multi_module is unsupported.
8844 # The toolchain on macOS 10.14 (darwin 18) and later cannot
8845 # target any OS version that needs -single_module.
8846 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8847 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
8848 _lt_dar_needs_single_mod=yes ;;
8849 esac
8850 ;;
8851 esac
8852 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8853 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8854 else
8855 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8856 fi
8857 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8858 _lt_dsymutil='~$DSYMUTIL $lib || :'
8859 else
8860 _lt_dsymutil=
8861 fi
8862 ;;
8863 esac
8864
8865 # func_munge_path_list VARIABLE PATH
8866 # -----------------------------------
8867 # VARIABLE is name of variable containing _space_ separated list of
8868 # directories to be munged by the contents of PATH, which is string
8869 # having a format:
8870 # "DIR[:DIR]:"
8871 # string "DIR[ DIR]" will be prepended to VARIABLE
8872 # ":DIR[:DIR]"
8873 # string "DIR[ DIR]" will be appended to VARIABLE
8874 # "DIRP[:DIRP]::[DIRA:]DIRA"
8875 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8876 # "DIRA[ DIRA]" will be appended to VARIABLE
8877 # "DIR[:DIR]"
8878 # VARIABLE will be replaced by "DIR[ DIR]"
8879 func_munge_path_list ()
8880 {
8881 case x$2 in
8882 x)
8883 ;;
8884 *:)
8885 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8886 ;;
8887 x:*)
8888 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8889 ;;
8890 *::*)
8891 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8892 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8893 ;;
8894 *)
8895 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8896 ;;
8897 esac
8898 }
8899
8900 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8901 "
8902 if test "x$ac_cv_header_dlfcn_h" = xyes
8903 then :
8904 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8905
8906 fi
8907
8908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
8909 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
8910 if test ${ac_cv_c_undeclared_builtin_options+y}
8911 then :
8912 printf %s "(cached) " >&6
8913 else case e in #(
8914 e) ac_save_CFLAGS=$CFLAGS
8915 ac_cv_c_undeclared_builtin_options='cannot detect'
8916 for ac_arg in '' -fno-builtin; do
8917 CFLAGS="$ac_save_CFLAGS $ac_arg"
8918 # This test program should *not* compile successfully.
8919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8921
8922 int
8923 main (void)
8924 {
8925 (void) strchr;
8926 ;
8927 return 0;
8928 }
8929 _ACEOF
8930 if ac_fn_c_try_compile "$LINENO"
8931 then :
8932
8933 else case e in #(
8934 e) # This test program should compile successfully.
8935 # No library function is consistently available on
8936 # freestanding implementations, so test against a dummy
8937 # declaration. Include always-available headers on the
8938 # off chance that they somehow elicit warnings.
8939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8940 /* end confdefs.h. */
8941 #include <float.h>
8942 #include <limits.h>
8943 #include <stdarg.h>
8944 #include <stddef.h>
8945 extern void ac_decl (int, char *);
8946
8947 int
8948 main (void)
8949 {
8950 (void) ac_decl (0, (char *) 0);
8951 (void) ac_decl;
8952
8953 ;
8954 return 0;
8955 }
8956 _ACEOF
8957 if ac_fn_c_try_compile "$LINENO"
8958 then :
8959 if test x"$ac_arg" = x
8960 then :
8961 ac_cv_c_undeclared_builtin_options='none needed'
8962 else case e in #(
8963 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
8964 esac
8965 fi
8966 break
8967 fi
8968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
8969 esac
8970 fi
8971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8972 done
8973 CFLAGS=$ac_save_CFLAGS
8974 ;;
8975 esac
8976 fi
8977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
8978 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
8979 case $ac_cv_c_undeclared_builtin_options in #(
8980 'cannot detect') :
8981 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
8982 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
8983 as_fn_error $? "cannot make $CC report undeclared builtins
8984 See 'config.log' for more details" "$LINENO" 5; } ;; #(
8985 'none needed') :
8986 ac_c_undeclared_builtin_options='' ;; #(
8987 *) :
8988 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
8989 esac
8990
8991 echo 'tldbg:KPSE_COMMON called (pkg=psutils, amopt=)' >&5
8992 echo 'tldbg:KPSE_BASIC called (pkg=psutils, amopt=)' >&5
8993
8994 #
8995 # am_init_automake
8996 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8997 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8998 # is not polluted with repeated "-I."
8999 am__isrc=' -I$(srcdir)'
9000 # test to see if srcdir already configured
9001 if test -f $srcdir/config.status; then
9002 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
9003 fi
9004 fi
9005
9006 # test whether we have cygpath
9007 if test -z "$CYGPATH_W"; then
9008 if (cygpath --version) >/dev/null 2>/dev/null; then
9009 CYGPATH_W='cygpath -w'
9010 else
9011 CYGPATH_W=echo
9012 fi
9013 fi
9014
9015
9016 # Define the identity of the package.
9017 PACKAGE='psutils--tex-live-'
9018 VERSION='1.23'
9019
9020
9021 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
9022
9023
9024 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
9025
9026 # Some tools Automake needs.
9027
9028 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9029
9030
9031 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9032
9033
9034 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9035
9036
9037 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9038
9039
9040 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9041
9042 # For better backward compatibility. To be removed once Automake 1.9.x
9043 # dies out for good. For more background, see:
9044 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9045 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9046 mkdir_p='$(MKDIR_P)'
9047
9048 # We need awk for the "check" target (and possibly the TAP driver). The
9049 # system "awk" is bad on some platforms.
9050 # Always define AMTAR for backward compatibility. Yes, it's still used
9051 # in the wild :-( We should find a proper way to deprecate it ...
9052 AMTAR='$${TAR-tar}'
9053
9054
9055 # We'll loop over all known methods to create a tar archive until one works.
9056 _am_tools='gnutar plaintar pax cpio none'
9057
9058 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
9059 # There is notably a 21 bits limit for the UID and the GID. In fact,
9060 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
9061 # and bug#13588).
9062 am_max_uid=2097151 # 2^21 - 1
9063 am_max_gid=$am_max_uid
9064 # The $UID and $GID variables are not portable, so we need to resort
9065 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
9066 # below are definitely unexpected, so allow the users to see them
9067 # (that is, avoid stderr redirection).
9068 am_uid=`id -u || echo unknown`
9069 am_gid=`id -g || echo unknown`
9070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
9071 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
9072 if test x$am_uid = xunknown; then
9073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
9074 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
9075 elif test $am_uid -le $am_max_uid; then
9076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9077 printf "%s\n" "yes" >&6; }
9078 else
9079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9080 printf "%s\n" "no" >&6; }
9081 _am_tools=none
9082 fi
9083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
9084 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
9085 if test x$gm_gid = xunknown; then
9086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
9087 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
9088 elif test $am_gid -le $am_max_gid; then
9089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9090 printf "%s\n" "yes" >&6; }
9091 else
9092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9093 printf "%s\n" "no" >&6; }
9094 _am_tools=none
9095 fi
9096
9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
9098 printf %s "checking how to create a ustar tar archive... " >&6; }
9099
9100 # Go ahead even if we have the value already cached. We do so because we
9101 # need to set the values for the 'am__tar' and 'am__untar' variables.
9102 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
9103
9104 for _am_tool in $_am_tools; do
9105 case $_am_tool in
9106 gnutar)
9107 for _am_tar in tar gnutar gtar; do
9108 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9109 ($_am_tar --version) >&5 2>&5
9110 ac_status=$?
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } && break
9113 done
9114 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
9115 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
9116 am__untar="$_am_tar -xf -"
9117 ;;
9118 plaintar)
9119 # Must skip GNU tar: if it does not support --format= it doesn't create
9120 # ustar tarball either.
9121 (tar --version) >/dev/null 2>&1 && continue
9122 am__tar='tar chf - "$$tardir"'
9123 am__tar_='tar chf - "$tardir"'
9124 am__untar='tar xf -'
9125 ;;
9126 pax)
9127 am__tar='pax -L -x ustar -w "$$tardir"'
9128 am__tar_='pax -L -x ustar -w "$tardir"'
9129 am__untar='pax -r'
9130 ;;
9131 cpio)
9132 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
9133 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
9134 am__untar='cpio -i -H ustar -d'
9135 ;;
9136 none)
9137 am__tar=false
9138 am__tar_=false
9139 am__untar=false
9140 ;;
9141 esac
9142
9143 # If the value was cached, stop now. We just wanted to have am__tar
9144 # and am__untar set.
9145 test -n "${am_cv_prog_tar_ustar}" && break
9146
9147 # tar/untar a dummy directory, and stop if the command works.
9148 rm -rf conftest.dir
9149 mkdir conftest.dir
9150 echo GrepMe > conftest.dir/file
9151 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9152 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
9153 ac_status=$?
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }
9156 rm -rf conftest.dir
9157 if test -s conftest.tar; then
9158 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9159 ($am__untar <conftest.tar) >&5 2>&5
9160 ac_status=$?
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); }
9163 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9164 (cat conftest.dir/file) >&5 2>&5
9165 ac_status=$?
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); }
9168 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9169 fi
9170 done
9171 rm -rf conftest.dir
9172
9173 if test ${am_cv_prog_tar_ustar+y}
9174 then :
9175 printf %s "(cached) " >&6
9176 else case e in #(
9177 e) am_cv_prog_tar_ustar=$_am_tool ;;
9178 esac
9179 fi
9180
9181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
9182 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
9183
9184
9185
9186
9187
9188 # Variables for tags utilities; see am/tags.am
9189 if test -z "$CTAGS"; then
9190 CTAGS=ctags
9191 fi
9192
9193 if test -z "$ETAGS"; then
9194 ETAGS=etags
9195 fi
9196
9197 if test -z "$CSCOPE"; then
9198 CSCOPE=cscope
9199 fi
9200
9201
9202
9203
9204
9205
9206
9207
9208 # am_maintainer_mode
9209
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9211 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9212 # Check whether --enable-maintainer-mode was given.
9213 if test ${enable_maintainer_mode+y}
9214 then :
9215 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9216 else case e in #(
9217 e) USE_MAINTAINER_MODE=no ;;
9218 esac
9219 fi
9220
9221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9222 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
9223 if test $USE_MAINTAINER_MODE = yes; then
9224 MAINTAINER_MODE_TRUE=
9225 MAINTAINER_MODE_FALSE='#'
9226 else
9227 MAINTAINER_MODE_TRUE='#'
9228 MAINTAINER_MODE_FALSE=
9229 fi
9230
9231 MAINT=$MAINTAINER_MODE_TRUE
9232
9233
9234
9235 # See comments in kpse-setup.m4 about system extensions.
9236
9237
9238 # Check whether prototypes work.
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9240 printf %s "checking whether the compiler accepts prototypes... " >&6; }
9241 if test ${kb_cv_c_prototypes+y}
9242 then :
9243 printf %s "(cached) " >&6
9244 else case e in #(
9245 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9247 #include <stdarg.h>
9248 int
9249 main (void)
9250 {
9251 extern void foo(int i,...);
9252 ;
9253 return 0;
9254 }
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"
9257 then :
9258 kb_cv_c_prototypes=yes
9259 else case e in #(
9260 e) kb_cv_c_prototypes=no ;;
9261 esac
9262 fi
9263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9264 conftest$ac_exeext conftest.$ac_ext ;;
9265 esac
9266 fi
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9268 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
9269 if test "x$kb_cv_c_prototypes" = xno; then
9270 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
9271 fi
9272
9273 # kpse_compiler_warnings options.
9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9275 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
9276 if test ${kpse_cv_warning_cflags+y}
9277 then :
9278 printf %s "(cached) " >&6
9279 else case e in #(
9280 e) if test "x$GCC" = xyes; then
9281 kpse_cv_warning_cflags=
9282 if test "x$enable_compiler_warnings" != xno; then
9283 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
9284 case `$CC -dumpversion` in #(
9285 3.4.* | 4.* | 5.*) :
9286 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9287 *) :
9288 ;;
9289 esac
9290 case `$CC -dumpversion` in #(
9291 3.[234].* | 4.* | 5.*) :
9292 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9293 *) :
9294 ;;
9295 esac
9296 if test "x$enable_compiler_warnings" != xmin; then
9297 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
9298 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9299 if test "x$enable_compiler_warnings" != xyes; then
9300 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9301 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9302 case `$CC -dumpversion` in #(
9303 3.4.* | 4.* | 5.*) :
9304 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9305 *) :
9306 ;;
9307 esac
9308 if test "x$enable_compiler_warnings" != xmax; then
9309 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
9310 fi
9311 fi
9312 fi
9313 fi
9314 elif test "x$enable_compiler_warnings" = xno; then
9315 kpse_cv_warning_cflags=
9316 else
9317 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
9318 fi ;;
9319 esac
9320 fi
9321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9322 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
9323 WARNING_CFLAGS=$kpse_cv_warning_cflags
9324
9325
9326
9327
9328
9329
9330
9331 # end of kpse_basic macro.
9332 echo 'tldbg:KPSE_BASIC done (pkg=psutils, amopt=)' >&5
9333
9334 # am_prog_ar must be called before lt_init.
9335
9336 if test -n "$ac_tool_prefix"; then
9337 for ac_prog in ar lib "link -lib"
9338 do
9339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9342 printf %s "checking for $ac_word... " >&6; }
9343 if test ${ac_cv_prog_AR+y}
9344 then :
9345 printf %s "(cached) " >&6
9346 else case e in #(
9347 e) if test -n "$AR"; then
9348 ac_cv_prog_AR="$AR" # Let the user override the test.
9349 else
9350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9351 for as_dir in $PATH
9352 do
9353 IFS=$as_save_IFS
9354 case $as_dir in #(((
9355 '') as_dir=./ ;;
9356 */) ;;
9357 *) as_dir=$as_dir/ ;;
9358 esac
9359 for ac_exec_ext in '' $ac_executable_extensions; do
9360 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9361 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9363 break 2
9364 fi
9365 done
9366 done
9367 IFS=$as_save_IFS
9368
9369 fi ;;
9370 esac
9371 fi
9372 AR=$ac_cv_prog_AR
9373 if test -n "$AR"; then
9374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9375 printf "%s\n" "$AR" >&6; }
9376 else
9377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9378 printf "%s\n" "no" >&6; }
9379 fi
9380
9381
9382 test -n "$AR" && break
9383 done
9384 fi
9385 if test -z "$AR"; then
9386 ac_ct_AR=$AR
9387 for ac_prog in ar lib "link -lib"
9388 do
9389 # Extract the first word of "$ac_prog", so it can be a program name with args.
9390 set dummy $ac_prog; ac_word=$2
9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9392 printf %s "checking for $ac_word... " >&6; }
9393 if test ${ac_cv_prog_ac_ct_AR+y}
9394 then :
9395 printf %s "(cached) " >&6
9396 else case e in #(
9397 e) if test -n "$ac_ct_AR"; then
9398 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9399 else
9400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9401 for as_dir in $PATH
9402 do
9403 IFS=$as_save_IFS
9404 case $as_dir in #(((
9405 '') as_dir=./ ;;
9406 */) ;;
9407 *) as_dir=$as_dir/ ;;
9408 esac
9409 for ac_exec_ext in '' $ac_executable_extensions; do
9410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9411 ac_cv_prog_ac_ct_AR="$ac_prog"
9412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9413 break 2
9414 fi
9415 done
9416 done
9417 IFS=$as_save_IFS
9418
9419 fi ;;
9420 esac
9421 fi
9422 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9423 if test -n "$ac_ct_AR"; then
9424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9425 printf "%s\n" "$ac_ct_AR" >&6; }
9426 else
9427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9428 printf "%s\n" "no" >&6; }
9429 fi
9430
9431
9432 test -n "$ac_ct_AR" && break
9433 done
9434
9435 if test "x$ac_ct_AR" = x; then
9436 AR="false"
9437 else
9438 case $cross_compiling:$ac_tool_warned in
9439 yes:)
9440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9441 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9442 ac_tool_warned=yes ;;
9443 esac
9444 AR=$ac_ct_AR
9445 fi
9446 fi
9447
9448 : ${AR=ar}
9449 : ${ARFLAGS=cr}
9450
9451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
9452 printf %s "checking the archiver ($AR) interface... " >&6; }
9453 if test ${am_cv_ar_interface+y}
9454 then :
9455 printf %s "(cached) " >&6
9456 else case e in #(
9457 e) ac_ext=c
9458 ac_cpp='$CPP $CPPFLAGS'
9459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9462
9463 am_cv_ar_interface=ar
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9466 int some_variable = 0;
9467 _ACEOF
9468 if ac_fn_c_try_compile "$LINENO"
9469 then :
9470 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
9471 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9472 (eval $am_ar_try) 2>&5
9473 ac_status=$?
9474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9475 test $ac_status = 0; }
9476 if test "$ac_status" -eq 0; then
9477 am_cv_ar_interface=ar
9478 else
9479 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
9480 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
9481 (eval $am_ar_try) 2>&5
9482 ac_status=$?
9483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9484 test $ac_status = 0; }
9485 if test "$ac_status" -eq 0; then
9486 am_cv_ar_interface=lib
9487 else
9488 am_cv_ar_interface=unknown
9489 fi
9490 fi
9491 rm -f conftest.lib libconftest.a
9492
9493 fi
9494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9495 ac_ext=c
9496 ac_cpp='$CPP $CPPFLAGS'
9497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9500 ;;
9501 esac
9502 fi
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
9504 printf "%s\n" "$am_cv_ar_interface" >&6; }
9505
9506 case $am_cv_ar_interface in
9507 ar)
9508 ;;
9509 lib)
9510 # Microsoft lib, so override with the ar-lib wrapper script.
9511 # FIXME: It is wrong to rewrite AR.
9512 # But if we don't then we get into trouble of one sort or another.
9513 # A longer-term fix would be to have automake use am__AR in this case,
9514 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9515 # similar.
9516 AR="$am_aux_dir/ar-lib $AR"
9517 ;;
9518 unknown)
9519 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
9520 ;;
9521 esac
9522
9523 # (end am_prog_ar)
9524 # starting lt_prereq + lt_init.
9525
9526
9527
9528
9529
9530 # Set options
9531 enable_win32_dll=yes
9532
9533 case $host in
9534 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
9535 if test -n "$ac_tool_prefix"; then
9536 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9537 set dummy ${ac_tool_prefix}as; ac_word=$2
9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9539 printf %s "checking for $ac_word... " >&6; }
9540 if test ${ac_cv_prog_AS+y}
9541 then :
9542 printf %s "(cached) " >&6
9543 else case e in #(
9544 e) if test -n "$AS"; then
9545 ac_cv_prog_AS="$AS" # Let the user override the test.
9546 else
9547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9548 for as_dir in $PATH
9549 do
9550 IFS=$as_save_IFS
9551 case $as_dir in #(((
9552 '') as_dir=./ ;;
9553 */) ;;
9554 *) as_dir=$as_dir/ ;;
9555 esac
9556 for ac_exec_ext in '' $ac_executable_extensions; do
9557 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9558 ac_cv_prog_AS="${ac_tool_prefix}as"
9559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9560 break 2
9561 fi
9562 done
9563 done
9564 IFS=$as_save_IFS
9565
9566 fi ;;
9567 esac
9568 fi
9569 AS=$ac_cv_prog_AS
9570 if test -n "$AS"; then
9571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9572 printf "%s\n" "$AS" >&6; }
9573 else
9574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9575 printf "%s\n" "no" >&6; }
9576 fi
9577
9578
9579 fi
9580 if test -z "$ac_cv_prog_AS"; then
9581 ac_ct_AS=$AS
9582 # Extract the first word of "as", so it can be a program name with args.
9583 set dummy as; ac_word=$2
9584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9585 printf %s "checking for $ac_word... " >&6; }
9586 if test ${ac_cv_prog_ac_ct_AS+y}
9587 then :
9588 printf %s "(cached) " >&6
9589 else case e in #(
9590 e) if test -n "$ac_ct_AS"; then
9591 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9592 else
9593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9594 for as_dir in $PATH
9595 do
9596 IFS=$as_save_IFS
9597 case $as_dir in #(((
9598 '') as_dir=./ ;;
9599 */) ;;
9600 *) as_dir=$as_dir/ ;;
9601 esac
9602 for ac_exec_ext in '' $ac_executable_extensions; do
9603 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9604 ac_cv_prog_ac_ct_AS="as"
9605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9606 break 2
9607 fi
9608 done
9609 done
9610 IFS=$as_save_IFS
9611
9612 fi ;;
9613 esac
9614 fi
9615 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9616 if test -n "$ac_ct_AS"; then
9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9618 printf "%s\n" "$ac_ct_AS" >&6; }
9619 else
9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9621 printf "%s\n" "no" >&6; }
9622 fi
9623
9624 if test "x$ac_ct_AS" = x; then
9625 AS="false"
9626 else
9627 case $cross_compiling:$ac_tool_warned in
9628 yes:)
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9630 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9631 ac_tool_warned=yes ;;
9632 esac
9633 AS=$ac_ct_AS
9634 fi
9635 else
9636 AS="$ac_cv_prog_AS"
9637 fi
9638
9639 if test -n "$ac_tool_prefix"; then
9640 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9641 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9643 printf %s "checking for $ac_word... " >&6; }
9644 if test ${ac_cv_prog_DLLTOOL+y}
9645 then :
9646 printf %s "(cached) " >&6
9647 else case e in #(
9648 e) if test -n "$DLLTOOL"; then
9649 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9650 else
9651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9652 for as_dir in $PATH
9653 do
9654 IFS=$as_save_IFS
9655 case $as_dir in #(((
9656 '') as_dir=./ ;;
9657 */) ;;
9658 *) as_dir=$as_dir/ ;;
9659 esac
9660 for ac_exec_ext in '' $ac_executable_extensions; do
9661 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9662 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9664 break 2
9665 fi
9666 done
9667 done
9668 IFS=$as_save_IFS
9669
9670 fi ;;
9671 esac
9672 fi
9673 DLLTOOL=$ac_cv_prog_DLLTOOL
9674 if test -n "$DLLTOOL"; then
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9676 printf "%s\n" "$DLLTOOL" >&6; }
9677 else
9678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9679 printf "%s\n" "no" >&6; }
9680 fi
9681
9682
9683 fi
9684 if test -z "$ac_cv_prog_DLLTOOL"; then
9685 ac_ct_DLLTOOL=$DLLTOOL
9686 # Extract the first word of "dlltool", so it can be a program name with args.
9687 set dummy dlltool; ac_word=$2
9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9689 printf %s "checking for $ac_word... " >&6; }
9690 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9691 then :
9692 printf %s "(cached) " >&6
9693 else case e in #(
9694 e) if test -n "$ac_ct_DLLTOOL"; then
9695 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9696 else
9697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9698 for as_dir in $PATH
9699 do
9700 IFS=$as_save_IFS
9701 case $as_dir in #(((
9702 '') as_dir=./ ;;
9703 */) ;;
9704 *) as_dir=$as_dir/ ;;
9705 esac
9706 for ac_exec_ext in '' $ac_executable_extensions; do
9707 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9708 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9710 break 2
9711 fi
9712 done
9713 done
9714 IFS=$as_save_IFS
9715
9716 fi ;;
9717 esac
9718 fi
9719 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9720 if test -n "$ac_ct_DLLTOOL"; then
9721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9722 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9723 else
9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9725 printf "%s\n" "no" >&6; }
9726 fi
9727
9728 if test "x$ac_ct_DLLTOOL" = x; then
9729 DLLTOOL="false"
9730 else
9731 case $cross_compiling:$ac_tool_warned in
9732 yes:)
9733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9734 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9735 ac_tool_warned=yes ;;
9736 esac
9737 DLLTOOL=$ac_ct_DLLTOOL
9738 fi
9739 else
9740 DLLTOOL="$ac_cv_prog_DLLTOOL"
9741 fi
9742
9743 if test -n "$ac_tool_prefix"; then
9744 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9745 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9747 printf %s "checking for $ac_word... " >&6; }
9748 if test ${ac_cv_prog_OBJDUMP+y}
9749 then :
9750 printf %s "(cached) " >&6
9751 else case e in #(
9752 e) if test -n "$OBJDUMP"; then
9753 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9754 else
9755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9756 for as_dir in $PATH
9757 do
9758 IFS=$as_save_IFS
9759 case $as_dir in #(((
9760 '') as_dir=./ ;;
9761 */) ;;
9762 *) as_dir=$as_dir/ ;;
9763 esac
9764 for ac_exec_ext in '' $ac_executable_extensions; do
9765 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9766 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9768 break 2
9769 fi
9770 done
9771 done
9772 IFS=$as_save_IFS
9773
9774 fi ;;
9775 esac
9776 fi
9777 OBJDUMP=$ac_cv_prog_OBJDUMP
9778 if test -n "$OBJDUMP"; then
9779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9780 printf "%s\n" "$OBJDUMP" >&6; }
9781 else
9782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9783 printf "%s\n" "no" >&6; }
9784 fi
9785
9786
9787 fi
9788 if test -z "$ac_cv_prog_OBJDUMP"; then
9789 ac_ct_OBJDUMP=$OBJDUMP
9790 # Extract the first word of "objdump", so it can be a program name with args.
9791 set dummy objdump; ac_word=$2
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9793 printf %s "checking for $ac_word... " >&6; }
9794 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9795 then :
9796 printf %s "(cached) " >&6
9797 else case e in #(
9798 e) if test -n "$ac_ct_OBJDUMP"; then
9799 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9800 else
9801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9802 for as_dir in $PATH
9803 do
9804 IFS=$as_save_IFS
9805 case $as_dir in #(((
9806 '') as_dir=./ ;;
9807 */) ;;
9808 *) as_dir=$as_dir/ ;;
9809 esac
9810 for ac_exec_ext in '' $ac_executable_extensions; do
9811 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9812 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9814 break 2
9815 fi
9816 done
9817 done
9818 IFS=$as_save_IFS
9819
9820 fi ;;
9821 esac
9822 fi
9823 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9824 if test -n "$ac_ct_OBJDUMP"; then
9825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9826 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
9827 else
9828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9829 printf "%s\n" "no" >&6; }
9830 fi
9831
9832 if test "x$ac_ct_OBJDUMP" = x; then
9833 OBJDUMP="false"
9834 else
9835 case $cross_compiling:$ac_tool_warned in
9836 yes:)
9837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9838 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9839 ac_tool_warned=yes ;;
9840 esac
9841 OBJDUMP=$ac_ct_OBJDUMP
9842 fi
9843 else
9844 OBJDUMP="$ac_cv_prog_OBJDUMP"
9845 fi
9846
9847 ;;
9848 esac
9849
9850 test -z "$AS" && AS=as
9851
9852
9853
9854
9855
9856 test -z "$DLLTOOL" && DLLTOOL=dlltool
9857
9858
9859
9860
9861
9862 test -z "$OBJDUMP" && OBJDUMP=objdump
9863
9864
9865
9866
9867
9868
9869
9870 enable_dlopen=no
9871
9872
9873
9874 # Check whether --enable-shared was given.
9875 if test ${enable_shared+y}
9876 then :
9877 enableval=$enable_shared; p=${PACKAGE-default}
9878 case $enableval in
9879 yes) enable_shared=yes ;;
9880 no) enable_shared=no ;;
9881 *)
9882 enable_shared=no
9883 # Look at the argument we got. We use all the common list separators.
9884 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9885 for pkg in $enableval; do
9886 IFS=$lt_save_ifs
9887 if test "X$pkg" = "X$p"; then
9888 enable_shared=yes
9889 fi
9890 done
9891 IFS=$lt_save_ifs
9892 ;;
9893 esac
9894 else case e in #(
9895 e) enable_shared=yes ;;
9896 esac
9897 fi
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907 # Check whether --enable-static was given.
9908 if test ${enable_static+y}
9909 then :
9910 enableval=$enable_static; p=${PACKAGE-default}
9911 case $enableval in
9912 yes) enable_static=yes ;;
9913 no) enable_static=no ;;
9914 *)
9915 enable_static=no
9916 # Look at the argument we got. We use all the common list separators.
9917 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9918 for pkg in $enableval; do
9919 IFS=$lt_save_ifs
9920 if test "X$pkg" = "X$p"; then
9921 enable_static=yes
9922 fi
9923 done
9924 IFS=$lt_save_ifs
9925 ;;
9926 esac
9927 else case e in #(
9928 e) enable_static=yes ;;
9929 esac
9930 fi
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940 # Check whether --enable-pic was given.
9941 if test ${enable_pic+y}
9942 then :
9943 enableval=$enable_pic; lt_p=${PACKAGE-default}
9944 case $enableval in
9945 yes|no) pic_mode=$enableval ;;
9946 *)
9947 pic_mode=default
9948 # Look at the argument we got. We use all the common list separators.
9949 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9950 for lt_pkg in $enableval; do
9951 IFS=$lt_save_ifs
9952 if test "X$lt_pkg" = "X$lt_p"; then
9953 pic_mode=yes
9954 fi
9955 done
9956 IFS=$lt_save_ifs
9957 ;;
9958 esac
9959 else case e in #(
9960 e) # Check whether --with-pic was given.
9961 if test ${with_pic+y}
9962 then :
9963 withval=$with_pic; lt_p=${PACKAGE-default}
9964 case $withval in
9965 yes|no) pic_mode=$withval ;;
9966 *)
9967 pic_mode=default
9968 # Look at the argument we got. We use all the common list separators.
9969 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9970 for lt_pkg in $withval; do
9971 IFS=$lt_save_ifs
9972 if test "X$lt_pkg" = "X$lt_p"; then
9973 pic_mode=yes
9974 fi
9975 done
9976 IFS=$lt_save_ifs
9977 ;;
9978 esac
9979 else case e in #(
9980 e) pic_mode=default ;;
9981 esac
9982 fi
9983
9984 ;;
9985 esac
9986 fi
9987
9988
9989
9990
9991
9992
9993
9994
9995 # Check whether --enable-fast-install was given.
9996 if test ${enable_fast_install+y}
9997 then :
9998 enableval=$enable_fast_install; p=${PACKAGE-default}
9999 case $enableval in
10000 yes) enable_fast_install=yes ;;
10001 no) enable_fast_install=no ;;
10002 *)
10003 enable_fast_install=no
10004 # Look at the argument we got. We use all the common list separators.
10005 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10006 for pkg in $enableval; do
10007 IFS=$lt_save_ifs
10008 if test "X$pkg" = "X$p"; then
10009 enable_fast_install=yes
10010 fi
10011 done
10012 IFS=$lt_save_ifs
10013 ;;
10014 esac
10015 else case e in #(
10016 e) enable_fast_install=yes ;;
10017 esac
10018 fi
10019
10020
10021
10022
10023
10024
10025
10026
10027 shared_archive_member_spec=
10028 case $host,$enable_shared in
10029 power*-*-aix[5-9]*,yes)
10030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10031 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10032 # Check whether --enable-aix-soname was given.
10033 if test ${enable_aix_soname+y}
10034 then :
10035 enableval=$enable_aix_soname; case $enableval in
10036 aix|svr4|both)
10037 ;;
10038 *)
10039 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10040 ;;
10041 esac
10042 lt_cv_with_aix_soname=$enable_aix_soname
10043 else case e in #(
10044 e) # Check whether --with-aix-soname was given.
10045 if test ${with_aix_soname+y}
10046 then :
10047 withval=$with_aix_soname; case $withval in
10048 aix|svr4|both)
10049 ;;
10050 *)
10051 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10052 ;;
10053 esac
10054 lt_cv_with_aix_soname=$with_aix_soname
10055 else case e in #(
10056 e) if test ${lt_cv_with_aix_soname+y}
10057 then :
10058 printf %s "(cached) " >&6
10059 else case e in #(
10060 e) lt_cv_with_aix_soname=aix ;;
10061 esac
10062 fi
10063 ;;
10064 esac
10065 fi
10066
10067 enable_aix_soname=$lt_cv_with_aix_soname ;;
10068 esac
10069 fi
10070
10071 with_aix_soname=$enable_aix_soname
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10073 printf "%s\n" "$with_aix_soname" >&6; }
10074 if test aix != "$with_aix_soname"; then
10075 # For the AIX way of multilib, we name the shared archive member
10076 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10077 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10078 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10079 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10080 if test 64 = "${OBJECT_MODE-32}"; then
10081 shared_archive_member_spec=shr_64
10082 else
10083 shared_archive_member_spec=shr
10084 fi
10085 fi
10086 ;;
10087 *)
10088 with_aix_soname=aix
10089 ;;
10090 esac
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101 # This can be used to rebuild libtool when needed
10102 LIBTOOL_DEPS=$ltmain
10103
10104 # Always use our own libtool.
10105 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
10135
10136 test -z "$LN_S" && LN_S="ln -s"
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151 if test -n "${ZSH_VERSION+set}"; then
10152 setopt NO_GLOB_SUBST
10153 fi
10154
10155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10156 printf %s "checking for objdir... " >&6; }
10157 if test ${lt_cv_objdir+y}
10158 then :
10159 printf %s "(cached) " >&6
10160 else case e in #(
10161 e) rm -f .libs 2>/dev/null
10162 mkdir .libs 2>/dev/null
10163 if test -d .libs; then
10164 lt_cv_objdir=.libs
10165 else
10166 # MS-DOS does not allow filenames that begin with a dot.
10167 lt_cv_objdir=_libs
10168 fi
10169 rmdir .libs 2>/dev/null ;;
10170 esac
10171 fi
10172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10173 printf "%s\n" "$lt_cv_objdir" >&6; }
10174 objdir=$lt_cv_objdir
10175
10176
10177
10178
10179
10180 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10181
10182
10183
10184
10185 case $host_os in
10186 aix3*)
10187 # AIX sometimes has problems with the GCC collect2 program. For some
10188 # reason, if we set the COLLECT_NAMES environment variable, the problems
10189 # vanish in a puff of smoke.
10190 if test set != "${COLLECT_NAMES+set}"; then
10191 COLLECT_NAMES=
10192 export COLLECT_NAMES
10193 fi
10194 ;;
10195 esac
10196
10197 # Global variables:
10198 ofile=libtool
10199 can_build_shared=yes
10200
10201 # All known linkers require a '.a' archive for static linking (except MSVC and
10202 # ICC, which need '.lib').
10203 libext=a
10204
10205 with_gnu_ld=$lt_cv_prog_gnu_ld
10206
10207 old_CC=$CC
10208 old_CFLAGS=$CFLAGS
10209
10210 # Set sane defaults for various variables
10211 test -z "$CC" && CC=cc
10212 test -z "$LTCC" && LTCC=$CC
10213 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10214 test -z "$LD" && LD=ld
10215 test -z "$ac_objext" && ac_objext=o
10216
10217 func_cc_basename $compiler
10218 cc_basename=$func_cc_basename_result
10219
10220
10221 # Only perform the check for file, if the check method requires it
10222 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10223 case $deplibs_check_method in
10224 file_magic*)
10225 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10227 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10228 if test ${lt_cv_path_MAGIC_CMD+y}
10229 then :
10230 printf %s "(cached) " >&6
10231 else case e in #(
10232 e) case $MAGIC_CMD in
10233 [\\/*] | ?:[\\/]*)
10234 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10235 ;;
10236 *)
10237 lt_save_MAGIC_CMD=$MAGIC_CMD
10238 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10239 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10240 for ac_dir in $ac_dummy; do
10241 IFS=$lt_save_ifs
10242 test -z "$ac_dir" && ac_dir=.
10243 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10244 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10245 if test -n "$file_magic_test_file"; then
10246 case $deplibs_check_method in
10247 "file_magic "*)
10248 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10249 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10250 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10251 $EGREP "$file_magic_regex" > /dev/null; then
10252 :
10253 else
10254 cat <<_LT_EOF 1>&2
10255
10256 *** Warning: the command libtool uses to detect shared libraries,
10257 *** $file_magic_cmd, produces output that libtool cannot recognize.
10258 *** The result is that libtool may fail to recognize shared libraries
10259 *** as such. This will affect the creation of libtool libraries that
10260 *** depend on shared libraries, but programs linked with such libtool
10261 *** libraries will work regardless of this problem. Nevertheless, you
10262 *** may want to report the problem to your system manager and/or to
10263 *** [email protected]
10264
10265 _LT_EOF
10266 fi ;;
10267 esac
10268 fi
10269 break
10270 fi
10271 done
10272 IFS=$lt_save_ifs
10273 MAGIC_CMD=$lt_save_MAGIC_CMD
10274 ;;
10275 esac ;;
10276 esac
10277 fi
10278
10279 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10280 if test -n "$MAGIC_CMD"; then
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10282 printf "%s\n" "$MAGIC_CMD" >&6; }
10283 else
10284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10285 printf "%s\n" "no" >&6; }
10286 fi
10287
10288
10289
10290
10291
10292 if test -z "$lt_cv_path_MAGIC_CMD"; then
10293 if test -n "$ac_tool_prefix"; then
10294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10295 printf %s "checking for file... " >&6; }
10296 if test ${lt_cv_path_MAGIC_CMD+y}
10297 then :
10298 printf %s "(cached) " >&6
10299 else case e in #(
10300 e) case $MAGIC_CMD in
10301 [\\/*] | ?:[\\/]*)
10302 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10303 ;;
10304 *)
10305 lt_save_MAGIC_CMD=$MAGIC_CMD
10306 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10307 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10308 for ac_dir in $ac_dummy; do
10309 IFS=$lt_save_ifs
10310 test -z "$ac_dir" && ac_dir=.
10311 if test -f "$ac_dir/file"; then
10312 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10313 if test -n "$file_magic_test_file"; then
10314 case $deplibs_check_method in
10315 "file_magic "*)
10316 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10317 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10318 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10319 $EGREP "$file_magic_regex" > /dev/null; then
10320 :
10321 else
10322 cat <<_LT_EOF 1>&2
10323
10324 *** Warning: the command libtool uses to detect shared libraries,
10325 *** $file_magic_cmd, produces output that libtool cannot recognize.
10326 *** The result is that libtool may fail to recognize shared libraries
10327 *** as such. This will affect the creation of libtool libraries that
10328 *** depend on shared libraries, but programs linked with such libtool
10329 *** libraries will work regardless of this problem. Nevertheless, you
10330 *** may want to report the problem to your system manager and/or to
10331 *** [email protected]
10332
10333 _LT_EOF
10334 fi ;;
10335 esac
10336 fi
10337 break
10338 fi
10339 done
10340 IFS=$lt_save_ifs
10341 MAGIC_CMD=$lt_save_MAGIC_CMD
10342 ;;
10343 esac ;;
10344 esac
10345 fi
10346
10347 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10348 if test -n "$MAGIC_CMD"; then
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10350 printf "%s\n" "$MAGIC_CMD" >&6; }
10351 else
10352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10353 printf "%s\n" "no" >&6; }
10354 fi
10355
10356
10357 else
10358 MAGIC_CMD=:
10359 fi
10360 fi
10361
10362 fi
10363 ;;
10364 esac
10365
10366 # Use C for the default configuration in the libtool script
10367
10368 lt_save_CC=$CC
10369 ac_ext=c
10370 ac_cpp='$CPP $CPPFLAGS'
10371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10374
10375
10376 # Source file extension for C test sources.
10377 ac_ext=c
10378
10379 # Object file extension for compiled C test sources.
10380 objext=o
10381 objext=$objext
10382
10383 # Code to be used in simple compile tests
10384 lt_simple_compile_test_code="int some_variable = 0;"
10385
10386 # Code to be used in simple link tests
10387 lt_simple_link_test_code='int main(void){return(0);}'
10388
10389
10390
10391
10392
10393
10394
10395 # If no C compiler was specified, use CC.
10396 LTCC=${LTCC-"$CC"}
10397
10398 # If no C compiler flags were specified, use CFLAGS.
10399 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10400
10401 # Allow CC to be a program name with arguments.
10402 compiler=$CC
10403
10404 # Save the default compiler, since it gets overwritten when the other
10405 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10406 compiler_DEFAULT=$CC
10407
10408 # save warnings/boilerplate of simple test code
10409 ac_outfile=conftest.$ac_objext
10410 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10411 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10412 _lt_compiler_boilerplate=`cat conftest.err`
10413 $RM conftest*
10414
10415 ac_outfile=conftest.$ac_objext
10416 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10417 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10418 _lt_linker_boilerplate=`cat conftest.err`
10419 $RM -r conftest*
10420
10421
10422 ## CAVEAT EMPTOR:
10423 ## There is no encapsulation within the following macros, do not change
10424 ## the running order or otherwise move them around unless you know exactly
10425 ## what you are doing...
10426 if test -n "$compiler"; then
10427
10428 lt_prog_compiler_no_builtin_flag=
10429
10430 if test yes = "$GCC"; then
10431 case $cc_basename in
10432 nvcc*)
10433 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10434 *)
10435 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10436 esac
10437
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10439 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10440 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10441 then :
10442 printf %s "(cached) " >&6
10443 else case e in #(
10444 e) lt_cv_prog_compiler_rtti_exceptions=no
10445 ac_outfile=conftest.$ac_objext
10446 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10447 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10448 # Insert the option either (1) after the last *FLAGS variable, or
10449 # (2) before a word containing "conftest.", or (3) at the end.
10450 # Note that $ac_compile itself does not contain backslashes and begins
10451 # with a dollar sign (not a hyphen), so the echo should work correctly.
10452 # The option is referenced via a variable to avoid confusing sed.
10453 lt_compile=`echo "$ac_compile" | $SED \
10454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10456 -e 's:$: $lt_compiler_flag:'`
10457 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10458 (eval "$lt_compile" 2>conftest.err)
10459 ac_status=$?
10460 cat conftest.err >&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 if (exit $ac_status) && test -s "$ac_outfile"; then
10463 # The compiler can only warn and ignore the option if not recognized
10464 # So say no if there are warnings other than the usual output.
10465 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10466 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10467 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10468 lt_cv_prog_compiler_rtti_exceptions=yes
10469 fi
10470 fi
10471 $RM conftest*
10472 ;;
10473 esac
10474 fi
10475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10476 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10477
10478 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10479 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10480 else
10481 :
10482 fi
10483
10484 fi
10485
10486
10487
10488
10489
10490
10491 lt_prog_compiler_wl=
10492 lt_prog_compiler_pic=
10493 lt_prog_compiler_static=
10494
10495
10496 if test yes = "$GCC"; then
10497 lt_prog_compiler_wl='-Wl,'
10498 lt_prog_compiler_static='-static'
10499
10500 case $host_os in
10501 aix*)
10502 # All AIX code is PIC.
10503 if test ia64 = "$host_cpu"; then
10504 # AIX 5 now supports IA64 processor
10505 lt_prog_compiler_static='-Bstatic'
10506 fi
10507 lt_prog_compiler_pic='-fPIC'
10508 ;;
10509
10510 amigaos*)
10511 case $host_cpu in
10512 powerpc)
10513 # see comment about AmigaOS4 .so support
10514 lt_prog_compiler_pic='-fPIC'
10515 ;;
10516 m68k)
10517 # FIXME: we need at least 68020 code to build shared libraries, but
10518 # adding the '-m68020' flag to GCC prevents building anything better,
10519 # like '-m68040'.
10520 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10521 ;;
10522 esac
10523 ;;
10524
10525 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10526 # PIC is the default for these OSes.
10527 ;;
10528
10529 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10530 # This hack is so that the source file can tell whether it is being
10531 # built for inclusion in a dll (and should export symbols for example).
10532 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10533 # (--disable-auto-import) libraries
10534 lt_prog_compiler_pic='-DDLL_EXPORT'
10535 case $host_os in
10536 os2*)
10537 lt_prog_compiler_static='$wl-static'
10538 ;;
10539 esac
10540 ;;
10541
10542 darwin* | rhapsody*)
10543 # PIC is the default on this platform
10544 # Common symbols not allowed in MH_DYLIB files
10545 lt_prog_compiler_pic='-fno-common'
10546 ;;
10547
10548 haiku*)
10549 # PIC is the default for Haiku.
10550 # The "-static" flag exists, but is broken.
10551 lt_prog_compiler_static=
10552 ;;
10553
10554 hpux*)
10555 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10556 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10557 # sets the default TLS model and affects inlining.
10558 case $host_cpu in
10559 hppa*64*)
10560 # +Z the default
10561 ;;
10562 *)
10563 lt_prog_compiler_pic='-fPIC'
10564 ;;
10565 esac
10566 ;;
10567
10568 interix[3-9]*)
10569 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10570 # Instead, we relocate shared libraries at runtime.
10571 ;;
10572
10573 msdosdjgpp*)
10574 # Just because we use GCC doesn't mean we suddenly get shared libraries
10575 # on systems that don't support them.
10576 lt_prog_compiler_can_build_shared=no
10577 enable_shared=no
10578 ;;
10579
10580 *nto* | *qnx*)
10581 # QNX uses GNU C++, but need to define -shared option too, otherwise
10582 # it will coredump.
10583 lt_prog_compiler_pic='-fPIC -shared'
10584 ;;
10585
10586 sysv4*MP*)
10587 if test -d /usr/nec; then
10588 lt_prog_compiler_pic=-Kconform_pic
10589 fi
10590 ;;
10591
10592 *)
10593 lt_prog_compiler_pic='-fPIC'
10594 ;;
10595 esac
10596
10597 case $cc_basename in
10598 nvcc*) # Cuda Compiler Driver 2.2
10599 lt_prog_compiler_wl='-Xlinker '
10600 if test -n "$lt_prog_compiler_pic"; then
10601 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10602 fi
10603 ;;
10604 esac
10605 else
10606 # PORTME Check for flag to pass linker flags through the system compiler.
10607 case $host_os in
10608 aix*)
10609 lt_prog_compiler_wl='-Wl,'
10610 if test ia64 = "$host_cpu"; then
10611 # AIX 5 now supports IA64 processor
10612 lt_prog_compiler_static='-Bstatic'
10613 else
10614 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10615 fi
10616 ;;
10617
10618 darwin* | rhapsody*)
10619 # PIC is the default on this platform
10620 # Common symbols not allowed in MH_DYLIB files
10621 lt_prog_compiler_pic='-fno-common'
10622 case $cc_basename in
10623 nagfor*)
10624 # NAG Fortran compiler
10625 lt_prog_compiler_wl='-Wl,-Wl,,'
10626 lt_prog_compiler_pic='-PIC'
10627 lt_prog_compiler_static='-Bstatic'
10628 ;;
10629 esac
10630 ;;
10631
10632 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
10633 # This hack is so that the source file can tell whether it is being
10634 # built for inclusion in a dll (and should export symbols for example).
10635 lt_prog_compiler_pic='-DDLL_EXPORT'
10636 case $host_os in
10637 os2*)
10638 lt_prog_compiler_static='$wl-static'
10639 ;;
10640 esac
10641 ;;
10642
10643 hpux9* | hpux10* | hpux11*)
10644 lt_prog_compiler_wl='-Wl,'
10645 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10646 # not for PA HP-UX.
10647 case $host_cpu in
10648 hppa*64*|ia64*)
10649 # +Z the default
10650 ;;
10651 *)
10652 lt_prog_compiler_pic='+Z'
10653 ;;
10654 esac
10655 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10656 lt_prog_compiler_static='$wl-a ${wl}archive'
10657 ;;
10658
10659 irix5* | irix6* | nonstopux*)
10660 lt_prog_compiler_wl='-Wl,'
10661 # PIC (with -KPIC) is the default.
10662 lt_prog_compiler_static='-non_shared'
10663 ;;
10664
10665 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10666 case $cc_basename in
10667 # old Intel for x86_64, which still supported -KPIC.
10668 ecc*)
10669 lt_prog_compiler_wl='-Wl,'
10670 lt_prog_compiler_pic='-KPIC'
10671 lt_prog_compiler_static='-static'
10672 ;;
10673 *flang* | ftn | f18* | f95*)
10674 # Flang compiler.
10675 lt_prog_compiler_wl='-Wl,'
10676 lt_prog_compiler_pic='-fPIC'
10677 lt_prog_compiler_static='-static'
10678 ;;
10679 # icc used to be incompatible with GCC.
10680 # ICC 10 doesn't accept -KPIC any more.
10681 icc* | ifort*)
10682 lt_prog_compiler_wl='-Wl,'
10683 lt_prog_compiler_pic='-fPIC'
10684 lt_prog_compiler_static='-static'
10685 ;;
10686 # Lahey Fortran 8.1.
10687 lf95*)
10688 lt_prog_compiler_wl='-Wl,'
10689 lt_prog_compiler_pic='--shared'
10690 lt_prog_compiler_static='--static'
10691 ;;
10692 nagfor*)
10693 # NAG Fortran compiler
10694 lt_prog_compiler_wl='-Wl,-Wl,,'
10695 lt_prog_compiler_pic='-PIC'
10696 lt_prog_compiler_static='-Bstatic'
10697 ;;
10698 tcc*)
10699 # Fabrice Bellard et al's Tiny C Compiler
10700 lt_prog_compiler_wl='-Wl,'
10701 lt_prog_compiler_pic='-fPIC'
10702 lt_prog_compiler_static='-static'
10703 ;;
10704 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10705 # Portland Group compilers (*not* the Pentium gcc compiler,
10706 # which looks to be a dead project)
10707 lt_prog_compiler_wl='-Wl,'
10708 lt_prog_compiler_pic='-fpic'
10709 lt_prog_compiler_static='-Bstatic'
10710 ;;
10711 ccc*)
10712 lt_prog_compiler_wl='-Wl,'
10713 # All Alpha code is PIC.
10714 lt_prog_compiler_static='-non_shared'
10715 ;;
10716 xl* | bgxl* | bgf* | mpixl*)
10717 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10718 lt_prog_compiler_wl='-Wl,'
10719 lt_prog_compiler_pic='-qpic'
10720 lt_prog_compiler_static='-qstaticlink'
10721 ;;
10722 *)
10723 case `$CC -V 2>&1 | $SED 5q` in
10724 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10725 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10726 lt_prog_compiler_pic='-KPIC'
10727 lt_prog_compiler_static='-Bstatic'
10728 lt_prog_compiler_wl=''
10729 ;;
10730 *Sun\ F* | *Sun*Fortran*)
10731 lt_prog_compiler_pic='-KPIC'
10732 lt_prog_compiler_static='-Bstatic'
10733 lt_prog_compiler_wl='-Qoption ld '
10734 ;;
10735 *Sun\ C*)
10736 # Sun C 5.9
10737 lt_prog_compiler_pic='-KPIC'
10738 lt_prog_compiler_static='-Bstatic'
10739 lt_prog_compiler_wl='-Wl,'
10740 ;;
10741 *Intel*\ [CF]*Compiler*)
10742 lt_prog_compiler_wl='-Wl,'
10743 lt_prog_compiler_pic='-fPIC'
10744 lt_prog_compiler_static='-static'
10745 ;;
10746 *Portland\ Group*)
10747 lt_prog_compiler_wl='-Wl,'
10748 lt_prog_compiler_pic='-fpic'
10749 lt_prog_compiler_static='-Bstatic'
10750 ;;
10751 esac
10752 ;;
10753 esac
10754 ;;
10755
10756 newsos6)
10757 lt_prog_compiler_pic='-KPIC'
10758 lt_prog_compiler_static='-Bstatic'
10759 ;;
10760
10761 *-mlibc)
10762 lt_prog_compiler_wl='-Wl,'
10763 lt_prog_compiler_pic='-fPIC'
10764 lt_prog_compiler_static='-static'
10765 ;;
10766
10767 *nto* | *qnx*)
10768 # QNX uses GNU C++, but need to define -shared option too, otherwise
10769 # it will coredump.
10770 lt_prog_compiler_pic='-fPIC -shared'
10771 ;;
10772
10773 osf3* | osf4* | osf5*)
10774 lt_prog_compiler_wl='-Wl,'
10775 # All OSF/1 code is PIC.
10776 lt_prog_compiler_static='-non_shared'
10777 ;;
10778
10779 rdos*)
10780 lt_prog_compiler_static='-non_shared'
10781 ;;
10782
10783 serenity*)
10784 ;;
10785
10786 solaris*)
10787 lt_prog_compiler_pic='-KPIC'
10788 lt_prog_compiler_static='-Bstatic'
10789 case $cc_basename in
10790 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10791 lt_prog_compiler_wl='-Qoption ld ';;
10792 *)
10793 lt_prog_compiler_wl='-Wl,';;
10794 esac
10795 ;;
10796
10797 sunos4*)
10798 lt_prog_compiler_wl='-Qoption ld '
10799 lt_prog_compiler_pic='-PIC'
10800 lt_prog_compiler_static='-Bstatic'
10801 ;;
10802
10803 sysv4 | sysv4.2uw2* | sysv4.3*)
10804 lt_prog_compiler_wl='-Wl,'
10805 lt_prog_compiler_pic='-KPIC'
10806 lt_prog_compiler_static='-Bstatic'
10807 ;;
10808
10809 sysv4*MP*)
10810 if test -d /usr/nec; then
10811 lt_prog_compiler_pic='-Kconform_pic'
10812 lt_prog_compiler_static='-Bstatic'
10813 fi
10814 ;;
10815
10816 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10817 lt_prog_compiler_wl='-Wl,'
10818 lt_prog_compiler_pic='-KPIC'
10819 lt_prog_compiler_static='-Bstatic'
10820 ;;
10821
10822 unicos*)
10823 lt_prog_compiler_wl='-Wl,'
10824 lt_prog_compiler_can_build_shared=no
10825 ;;
10826
10827 uts4*)
10828 lt_prog_compiler_pic='-pic'
10829 lt_prog_compiler_static='-Bstatic'
10830 ;;
10831
10832 *)
10833 lt_prog_compiler_can_build_shared=no
10834 ;;
10835 esac
10836 fi
10837
10838 case $host_os in
10839 # For platforms that do not support PIC, -DPIC is meaningless:
10840 *djgpp*)
10841 lt_prog_compiler_pic=
10842 ;;
10843 *)
10844 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10845 ;;
10846 esac
10847
10848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10849 printf %s "checking for $compiler option to produce PIC... " >&6; }
10850 if test ${lt_cv_prog_compiler_pic+y}
10851 then :
10852 printf %s "(cached) " >&6
10853 else case e in #(
10854 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
10855 esac
10856 fi
10857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10858 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
10859 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10860
10861 #
10862 # Check to make sure the PIC flag actually works.
10863 #
10864 if test -n "$lt_prog_compiler_pic"; then
10865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10866 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10867 if test ${lt_cv_prog_compiler_pic_works+y}
10868 then :
10869 printf %s "(cached) " >&6
10870 else case e in #(
10871 e) lt_cv_prog_compiler_pic_works=no
10872 ac_outfile=conftest.$ac_objext
10873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10874 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10875 # Insert the option either (1) after the last *FLAGS variable, or
10876 # (2) before a word containing "conftest.", or (3) at the end.
10877 # Note that $ac_compile itself does not contain backslashes and begins
10878 # with a dollar sign (not a hyphen), so the echo should work correctly.
10879 # The option is referenced via a variable to avoid confusing sed.
10880 lt_compile=`echo "$ac_compile" | $SED \
10881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10883 -e 's:$: $lt_compiler_flag:'`
10884 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10885 (eval "$lt_compile" 2>conftest.err)
10886 ac_status=$?
10887 cat conftest.err >&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 if (exit $ac_status) && test -s "$ac_outfile"; then
10890 # The compiler can only warn and ignore the option if not recognized
10891 # So say no if there are warnings other than the usual output.
10892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10893 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10894 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10895 lt_cv_prog_compiler_pic_works=yes
10896 fi
10897 fi
10898 $RM conftest*
10899 ;;
10900 esac
10901 fi
10902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10903 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
10904
10905 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10906 case $lt_prog_compiler_pic in
10907 "" | " "*) ;;
10908 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10909 esac
10910 else
10911 lt_prog_compiler_pic=
10912 lt_prog_compiler_can_build_shared=no
10913 fi
10914
10915 fi
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927 #
10928 # Check to make sure the static flag actually works.
10929 #
10930 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10932 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10933 if test ${lt_cv_prog_compiler_static_works+y}
10934 then :
10935 printf %s "(cached) " >&6
10936 else case e in #(
10937 e) lt_cv_prog_compiler_static_works=no
10938 save_LDFLAGS=$LDFLAGS
10939 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10940 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10941 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10942 # The linker can only warn and ignore the option if not recognized
10943 # So say no if there are warnings
10944 if test -s conftest.err; then
10945 # Append any errors to the config.log.
10946 cat conftest.err 1>&5
10947 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10948 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10949 if diff conftest.exp conftest.er2 >/dev/null; then
10950 lt_cv_prog_compiler_static_works=yes
10951 fi
10952 else
10953 lt_cv_prog_compiler_static_works=yes
10954 fi
10955 fi
10956 $RM -r conftest*
10957 LDFLAGS=$save_LDFLAGS
10958 ;;
10959 esac
10960 fi
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10962 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
10963
10964 if test yes = "$lt_cv_prog_compiler_static_works"; then
10965 :
10966 else
10967 lt_prog_compiler_static=
10968 fi
10969
10970
10971
10972
10973
10974
10975
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10977 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10978 if test ${lt_cv_prog_compiler_c_o+y}
10979 then :
10980 printf %s "(cached) " >&6
10981 else case e in #(
10982 e) lt_cv_prog_compiler_c_o=no
10983 $RM -r conftest 2>/dev/null
10984 mkdir conftest
10985 cd conftest
10986 mkdir out
10987 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10988
10989 lt_compiler_flag="-o out/conftest2.$ac_objext"
10990 # Insert the option either (1) after the last *FLAGS variable, or
10991 # (2) before a word containing "conftest.", or (3) at the end.
10992 # Note that $ac_compile itself does not contain backslashes and begins
10993 # with a dollar sign (not a hyphen), so the echo should work correctly.
10994 lt_compile=`echo "$ac_compile" | $SED \
10995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10997 -e 's:$: $lt_compiler_flag:'`
10998 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10999 (eval "$lt_compile" 2>out/conftest.err)
11000 ac_status=$?
11001 cat out/conftest.err >&5
11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11004 then
11005 # The compiler can only warn and ignore the option if not recognized
11006 # So say no if there are warnings
11007 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11008 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11009 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11010 lt_cv_prog_compiler_c_o=yes
11011 fi
11012 fi
11013 chmod u+w . 2>&5
11014 $RM conftest*
11015 # SGI C++ compiler will create directory out/ii_files/ for
11016 # template instantiation
11017 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11018 $RM out/* && rmdir out
11019 cd ..
11020 $RM -r conftest
11021 $RM conftest*
11022 ;;
11023 esac
11024 fi
11025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11026 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11027
11028
11029
11030
11031
11032
11033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11034 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11035 if test ${lt_cv_prog_compiler_c_o+y}
11036 then :
11037 printf %s "(cached) " >&6
11038 else case e in #(
11039 e) lt_cv_prog_compiler_c_o=no
11040 $RM -r conftest 2>/dev/null
11041 mkdir conftest
11042 cd conftest
11043 mkdir out
11044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11045
11046 lt_compiler_flag="-o out/conftest2.$ac_objext"
11047 # Insert the option either (1) after the last *FLAGS variable, or
11048 # (2) before a word containing "conftest.", or (3) at the end.
11049 # Note that $ac_compile itself does not contain backslashes and begins
11050 # with a dollar sign (not a hyphen), so the echo should work correctly.
11051 lt_compile=`echo "$ac_compile" | $SED \
11052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11054 -e 's:$: $lt_compiler_flag:'`
11055 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11056 (eval "$lt_compile" 2>out/conftest.err)
11057 ac_status=$?
11058 cat out/conftest.err >&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11061 then
11062 # The compiler can only warn and ignore the option if not recognized
11063 # So say no if there are warnings
11064 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11065 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11066 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11067 lt_cv_prog_compiler_c_o=yes
11068 fi
11069 fi
11070 chmod u+w . 2>&5
11071 $RM conftest*
11072 # SGI C++ compiler will create directory out/ii_files/ for
11073 # template instantiation
11074 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11075 $RM out/* && rmdir out
11076 cd ..
11077 $RM -r conftest
11078 $RM conftest*
11079 ;;
11080 esac
11081 fi
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11083 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11084
11085
11086
11087
11088 hard_links=nottested
11089 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11090 # do not overwrite the value of need_locks provided by the user
11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11092 printf %s "checking if we can lock with hard links... " >&6; }
11093 hard_links=yes
11094 $RM conftest*
11095 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11096 touch conftest.a
11097 ln conftest.a conftest.b 2>&5 || hard_links=no
11098 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11100 printf "%s\n" "$hard_links" >&6; }
11101 if test no = "$hard_links"; then
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11103 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11104 need_locks=warn
11105 fi
11106 else
11107 need_locks=no
11108 fi
11109
11110
11111
11112
11113
11114
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11116 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11117
11118 runpath_var=
11119 allow_undefined_flag=
11120 always_export_symbols=no
11121 archive_cmds=
11122 archive_expsym_cmds=
11123 compiler_needs_object=no
11124 enable_shared_with_static_runtimes=no
11125 export_dynamic_flag_spec=
11126 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11127 hardcode_automatic=no
11128 hardcode_direct=no
11129 hardcode_direct_absolute=no
11130 hardcode_libdir_flag_spec=
11131 hardcode_libdir_separator=
11132 hardcode_minus_L=no
11133 hardcode_shlibpath_var=unsupported
11134 inherit_rpath=no
11135 link_all_deplibs=unknown
11136 module_cmds=
11137 module_expsym_cmds=
11138 old_archive_from_new_cmds=
11139 old_archive_from_expsyms_cmds=
11140 thread_safe_flag_spec=
11141 whole_archive_flag_spec=
11142 # include_expsyms should be a list of space-separated symbols to be *always*
11143 # included in the symbol list
11144 include_expsyms=
11145 # exclude_expsyms can be an extended regexp of symbols to exclude
11146 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11147 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11148 # as well as any symbol that contains 'd'.
11149 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11150 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11151 # platforms (ab)use it in PIC code, but their linkers get confused if
11152 # the symbol is explicitly referenced. Since portable code cannot
11153 # rely on this symbol name, it's probably fine to never include it in
11154 # preloaded symbol tables.
11155 # Exclude shared library initialization/finalization symbols.
11156 extract_expsyms_cmds=
11157
11158 case $host_os in
11159 cygwin* | mingw* | windows* | pw32* | cegcc*)
11160 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11161 # When not using gcc, we currently assume that we are using
11162 # Microsoft Visual C++ or Intel C++ Compiler.
11163 if test yes != "$GCC"; then
11164 with_gnu_ld=no
11165 fi
11166 ;;
11167 interix*)
11168 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11169 with_gnu_ld=yes
11170 ;;
11171 esac
11172
11173 ld_shlibs=yes
11174
11175 # On some targets, GNU ld is compatible enough with the native linker
11176 # that we're better off using the native interface for both.
11177 lt_use_gnu_ld_interface=no
11178 if test yes = "$with_gnu_ld"; then
11179 case $host_os in
11180 aix*)
11181 # The AIX port of GNU ld has always aspired to compatibility
11182 # with the native linker. However, as the warning in the GNU ld
11183 # block says, versions before 2.19.5* couldn't really create working
11184 # shared libraries, regardless of the interface used.
11185 case `$LD -v 2>&1` in
11186 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11187 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11188 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11189 *)
11190 lt_use_gnu_ld_interface=yes
11191 ;;
11192 esac
11193 ;;
11194 *)
11195 lt_use_gnu_ld_interface=yes
11196 ;;
11197 esac
11198 fi
11199
11200 if test yes = "$lt_use_gnu_ld_interface"; then
11201 # If archive_cmds runs LD, not CC, wlarc should be empty
11202 wlarc='$wl'
11203
11204 # Set some defaults for GNU ld with shared library support. These
11205 # are reset later if shared libraries are not supported. Putting them
11206 # here allows them to be overridden if necessary.
11207 runpath_var=LD_RUN_PATH
11208 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11209 export_dynamic_flag_spec='$wl--export-dynamic'
11210 # ancient GNU ld didn't support --whole-archive et. al.
11211 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11212 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11213 else
11214 whole_archive_flag_spec=
11215 fi
11216 supports_anon_versioning=no
11217 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11218 *GNU\ gold*) supports_anon_versioning=yes ;;
11219 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11220 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11221 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11222 *\ 2.11.*) ;; # other 2.11 versions
11223 *) supports_anon_versioning=yes ;;
11224 esac
11225
11226 # See if GNU ld supports shared libraries.
11227 case $host_os in
11228 aix[3-9]*)
11229 # On AIX/PPC, the GNU linker is very broken
11230 if test ia64 != "$host_cpu"; then
11231 ld_shlibs=no
11232 cat <<_LT_EOF 1>&2
11233
11234 *** Warning: the GNU linker, at least up to release 2.19, is reported
11235 *** to be unable to reliably create shared libraries on AIX.
11236 *** Therefore, libtool is disabling shared libraries support. If you
11237 *** really care for shared libraries, you may want to install binutils
11238 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11239 *** You will then need to restart the configuration process.
11240
11241 _LT_EOF
11242 fi
11243 ;;
11244
11245 amigaos*)
11246 case $host_cpu in
11247 powerpc)
11248 # see comment about AmigaOS4 .so support
11249 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11250 archive_expsym_cmds=''
11251 ;;
11252 m68k)
11253 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)'
11254 hardcode_libdir_flag_spec='-L$libdir'
11255 hardcode_minus_L=yes
11256 ;;
11257 esac
11258 ;;
11259
11260 beos*)
11261 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11262 allow_undefined_flag=unsupported
11263 # Joseph Beckenbach <[email protected]> says some releases of gcc
11264 # support --undefined. This deserves some investigation. FIXME
11265 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11266 else
11267 ld_shlibs=no
11268 fi
11269 ;;
11270
11271 cygwin* | mingw* | windows* | pw32* | cegcc*)
11272 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11273 # as there is no search path for DLLs.
11274 hardcode_libdir_flag_spec='-L$libdir'
11275 export_dynamic_flag_spec='$wl--export-all-symbols'
11276 allow_undefined_flag=unsupported
11277 always_export_symbols=no
11278 enable_shared_with_static_runtimes=yes
11279 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'
11280 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11281 file_list_spec='@'
11282
11283 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11285 # If the export-symbols file already is a .def file, use it as
11286 # is; otherwise, prepend EXPORTS...
11287 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11288 cp $export_symbols $output_objdir/$soname.def;
11289 else
11290 echo EXPORTS > $output_objdir/$soname.def;
11291 cat $export_symbols >> $output_objdir/$soname.def;
11292 fi~
11293 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11294 else
11295 ld_shlibs=no
11296 fi
11297 ;;
11298
11299 haiku*)
11300 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11301 link_all_deplibs=no
11302 ;;
11303
11304 os2*)
11305 hardcode_libdir_flag_spec='-L$libdir'
11306 hardcode_minus_L=yes
11307 allow_undefined_flag=unsupported
11308 shrext_cmds=.dll
11309 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11310 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11311 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11312 $ECHO EXPORTS >> $output_objdir/$libname.def~
11313 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11314 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11315 emximp -o $lib $output_objdir/$libname.def'
11316 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11317 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11318 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11319 $ECHO EXPORTS >> $output_objdir/$libname.def~
11320 prefix_cmds="$SED"~
11321 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11322 prefix_cmds="$prefix_cmds -e 1d";
11323 fi~
11324 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11325 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11326 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11327 emximp -o $lib $output_objdir/$libname.def'
11328 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11329 enable_shared_with_static_runtimes=yes
11330 file_list_spec='@'
11331 ;;
11332
11333 interix[3-9]*)
11334 hardcode_direct=no
11335 hardcode_shlibpath_var=no
11336 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11337 export_dynamic_flag_spec='$wl-E'
11338 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11339 # Instead, shared libraries are loaded at an image base (0x10000000 by
11340 # default) and relocated if they conflict, which is a slow very memory
11341 # consuming and fragmenting process. To avoid this, we pick a random,
11342 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11343 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11344 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11345 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'
11346 ;;
11347
11348 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11349 tmp_diet=no
11350 if test linux-dietlibc = "$host_os"; then
11351 case $cc_basename in
11352 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11353 esac
11354 fi
11355 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11356 && test no = "$tmp_diet"
11357 then
11358 tmp_addflag=' $pic_flag'
11359 tmp_sharedflag='-shared'
11360 case $cc_basename,$host_cpu in
11361 pgcc*) # Portland Group C compiler
11362 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'
11363 tmp_addflag=' $pic_flag'
11364 ;;
11365 pgf77* | pgf90* | pgf95* | pgfortran*)
11366 # Portland Group f77 and f90 compilers
11367 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
11368 tmp_addflag=' $pic_flag -Mnomain' ;;
11369 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11370 tmp_addflag=' -i_dynamic' ;;
11371 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11372 tmp_addflag=' -i_dynamic -nofor_main' ;;
11373 ifc* | ifort*) # Intel Fortran compiler
11374 tmp_addflag=' -nofor_main' ;;
11375 lf95*) # Lahey Fortran 8.1
11376 whole_archive_flag_spec=
11377 tmp_sharedflag='--shared' ;;
11378 nagfor*) # NAGFOR 5.3
11379 tmp_sharedflag='-Wl,-shared' ;;
11380 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11381 tmp_sharedflag='-qmkshrobj'
11382 tmp_addflag= ;;
11383 nvcc*) # Cuda Compiler Driver 2.2
11384 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'
11385 compiler_needs_object=yes
11386 ;;
11387 esac
11388 case `$CC -V 2>&1 | $SED 5q` in
11389 *Sun\ C*) # Sun C 5.9
11390 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'
11391 compiler_needs_object=yes
11392 tmp_sharedflag='-G' ;;
11393 *Sun\ F*) # Sun Fortran 8.3
11394 tmp_sharedflag='-G' ;;
11395 esac
11396 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11397
11398 if test yes = "$supports_anon_versioning"; then
11399 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11400 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11401 echo "local: *; };" >> $output_objdir/$libname.ver~
11402 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11403 fi
11404
11405 case $cc_basename in
11406 tcc*)
11407 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11408 export_dynamic_flag_spec='-rdynamic'
11409 ;;
11410 xlf* | bgf* | bgxlf* | mpixlf*)
11411 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11412 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11413 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11414 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11415 if test yes = "$supports_anon_versioning"; then
11416 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11417 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11418 echo "local: *; };" >> $output_objdir/$libname.ver~
11419 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11420 fi
11421 ;;
11422 esac
11423 else
11424 ld_shlibs=no
11425 fi
11426 ;;
11427
11428 *-mlibc)
11429 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11430 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11431 ;;
11432
11433 netbsd* | netbsdelf*-gnu)
11434 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11435 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11436 wlarc=
11437 else
11438 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11439 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11440 fi
11441 ;;
11442
11443 solaris*)
11444 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11445 ld_shlibs=no
11446 cat <<_LT_EOF 1>&2
11447
11448 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11449 *** create shared libraries on Solaris systems. Therefore, libtool
11450 *** is disabling shared libraries support. We urge you to upgrade GNU
11451 *** binutils to release 2.9.1 or newer. Another option is to modify
11452 *** your PATH or compiler configuration so that the native linker is
11453 *** used, and then restart.
11454
11455 _LT_EOF
11456 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11457 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11458 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11459 else
11460 ld_shlibs=no
11461 fi
11462 ;;
11463
11464 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11465 case `$LD -v 2>&1` in
11466 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11467 ld_shlibs=no
11468 cat <<_LT_EOF 1>&2
11469
11470 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11471 *** reliably create shared libraries on SCO systems. Therefore, libtool
11472 *** is disabling shared libraries support. We urge you to upgrade GNU
11473 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11474 *** your PATH or compiler configuration so that the native linker is
11475 *** used, and then restart.
11476
11477 _LT_EOF
11478 ;;
11479 *)
11480 # For security reasons, it is highly recommended that you always
11481 # use absolute paths for naming shared libraries, and exclude the
11482 # DT_RUNPATH tag from executables and libraries. But doing so
11483 # requires that you compile everything twice, which is a pain.
11484 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11485 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11486 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11487 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11488 else
11489 ld_shlibs=no
11490 fi
11491 ;;
11492 esac
11493 ;;
11494
11495 sunos4*)
11496 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11497 wlarc=
11498 hardcode_direct=yes
11499 hardcode_shlibpath_var=no
11500 ;;
11501
11502 *)
11503 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11504 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11505 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11506 else
11507 ld_shlibs=no
11508 fi
11509 ;;
11510 esac
11511
11512 if test no = "$ld_shlibs"; then
11513 runpath_var=
11514 hardcode_libdir_flag_spec=
11515 export_dynamic_flag_spec=
11516 whole_archive_flag_spec=
11517 fi
11518 else
11519 # PORTME fill in a description of your system's linker (not GNU ld)
11520 case $host_os in
11521 aix3*)
11522 allow_undefined_flag=unsupported
11523 always_export_symbols=yes
11524 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'
11525 # Note: this linker hardcodes the directories in LIBPATH if there
11526 # are no directories specified by -L.
11527 hardcode_minus_L=yes
11528 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11529 # Neither direct hardcoding nor static linking is supported with a
11530 # broken collect2.
11531 hardcode_direct=unsupported
11532 fi
11533 ;;
11534
11535 aix[4-9]*)
11536 if test ia64 = "$host_cpu"; then
11537 # On IA64, the linker does run time linking by default, so we don't
11538 # have to do anything special.
11539 aix_use_runtimelinking=no
11540 exp_sym_flag='-Bexport'
11541 no_entry_flag=
11542 else
11543 # If we're using GNU nm, then we don't want the "-C" option.
11544 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11545 # Without the "-l" option, or with the "-B" option, AIX nm treats
11546 # weak defined symbols like other global defined symbols, whereas
11547 # GNU nm marks them as "W".
11548 # While the 'weak' keyword is ignored in the Export File, we need
11549 # it in the Import File for the 'aix-soname' feature, so we have
11550 # to replace the "-B" option with "-P" for AIX nm.
11551 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11552 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'
11553 else
11554 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'
11555 fi
11556 aix_use_runtimelinking=no
11557
11558 # Test if we are trying to use run time linking or normal
11559 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11560 # have runtime linking enabled, and use it for executables.
11561 # For shared libraries, we enable/disable runtime linking
11562 # depending on the kind of the shared library created -
11563 # when "with_aix_soname,aix_use_runtimelinking" is:
11564 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11565 # "aix,yes" lib.so shared, rtl:yes, for executables
11566 # lib.a static archive
11567 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11568 # lib.a(lib.so.V) shared, rtl:no, for executables
11569 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11570 # lib.a(lib.so.V) shared, rtl:no
11571 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11572 # lib.a static archive
11573 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11574 for ld_flag in $LDFLAGS; do
11575 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11576 aix_use_runtimelinking=yes
11577 break
11578 fi
11579 done
11580 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11581 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11582 # so we don't have lib.a shared libs to link our executables.
11583 # We have to force runtime linking in this case.
11584 aix_use_runtimelinking=yes
11585 LDFLAGS="$LDFLAGS -Wl,-brtl"
11586 fi
11587 ;;
11588 esac
11589
11590 exp_sym_flag='-bexport'
11591 no_entry_flag='-bnoentry'
11592 fi
11593
11594 # When large executables or shared objects are built, AIX ld can
11595 # have problems creating the table of contents. If linking a library
11596 # or program results in "error TOC overflow" add -mminimal-toc to
11597 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11598 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11599
11600 archive_cmds=''
11601 hardcode_direct=yes
11602 hardcode_direct_absolute=yes
11603 hardcode_libdir_separator=':'
11604 link_all_deplibs=yes
11605 file_list_spec='$wl-f,'
11606 case $with_aix_soname,$aix_use_runtimelinking in
11607 aix,*) ;; # traditional, no import file
11608 svr4,* | *,yes) # use import file
11609 # The Import File defines what to hardcode.
11610 hardcode_direct=no
11611 hardcode_direct_absolute=no
11612 ;;
11613 esac
11614
11615 if test yes = "$GCC"; then
11616 case $host_os in aix4.[012]|aix4.[012].*)
11617 # We only want to do this on AIX 4.2 and lower, the check
11618 # below for broken collect2 doesn't work under 4.3+
11619 collect2name=`$CC -print-prog-name=collect2`
11620 if test -f "$collect2name" &&
11621 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11622 then
11623 # We have reworked collect2
11624 :
11625 else
11626 # We have old collect2
11627 hardcode_direct=unsupported
11628 # It fails to find uninstalled libraries when the uninstalled
11629 # path is not listed in the libpath. Setting hardcode_minus_L
11630 # to unsupported forces relinking
11631 hardcode_minus_L=yes
11632 hardcode_libdir_flag_spec='-L$libdir'
11633 hardcode_libdir_separator=
11634 fi
11635 ;;
11636 esac
11637 shared_flag='-shared'
11638 if test yes = "$aix_use_runtimelinking"; then
11639 shared_flag="$shared_flag "'$wl-G'
11640 fi
11641 # Need to ensure runtime linking is disabled for the traditional
11642 # shared library, or the linker may eventually find shared libraries
11643 # /with/ Import File - we do not want to mix them.
11644 shared_flag_aix='-shared'
11645 shared_flag_svr4='-shared $wl-G'
11646 else
11647 # not using gcc
11648 if test ia64 = "$host_cpu"; then
11649 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11650 # chokes on -Wl,-G. The following line is correct:
11651 shared_flag='-G'
11652 else
11653 if test yes = "$aix_use_runtimelinking"; then
11654 shared_flag='$wl-G'
11655 else
11656 shared_flag='$wl-bM:SRE'
11657 fi
11658 shared_flag_aix='$wl-bM:SRE'
11659 shared_flag_svr4='$wl-G'
11660 fi
11661 fi
11662
11663 export_dynamic_flag_spec='$wl-bexpall'
11664 # It seems that -bexpall does not export symbols beginning with
11665 # underscore (_), so it is better to generate a list of symbols to export.
11666 always_export_symbols=yes
11667 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11668 # Warning - without using the other runtime loading flags (-brtl),
11669 # -berok will link without error, but may produce a broken library.
11670 allow_undefined_flag='-berok'
11671 # Determine the default libpath from the value encoded in an
11672 # empty executable.
11673 if test set = "${lt_cv_aix_libpath+set}"; then
11674 aix_libpath=$lt_cv_aix_libpath
11675 else
11676 if test ${lt_cv_aix_libpath_+y}
11677 then :
11678 printf %s "(cached) " >&6
11679 else case e in #(
11680 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11682
11683 int
11684 main (void)
11685 {
11686
11687 ;
11688 return 0;
11689 }
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"
11692 then :
11693
11694 lt_aix_libpath_sed='
11695 /Import File Strings/,/^$/ {
11696 /^0/ {
11697 s/^0 *\([^ ]*\) *$/\1/
11698 p
11699 }
11700 }'
11701 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11702 # Check for a 64-bit object if we didn't find anything.
11703 if test -z "$lt_cv_aix_libpath_"; then
11704 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11705 fi
11706 fi
11707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11708 conftest$ac_exeext conftest.$ac_ext
11709 if test -z "$lt_cv_aix_libpath_"; then
11710 lt_cv_aix_libpath_=/usr/lib:/lib
11711 fi
11712 ;;
11713 esac
11714 fi
11715
11716 aix_libpath=$lt_cv_aix_libpath_
11717 fi
11718
11719 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11720 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
11721 else
11722 if test ia64 = "$host_cpu"; then
11723 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11724 allow_undefined_flag="-z nodefs"
11725 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"
11726 else
11727 # Determine the default libpath from the value encoded in an
11728 # empty executable.
11729 if test set = "${lt_cv_aix_libpath+set}"; then
11730 aix_libpath=$lt_cv_aix_libpath
11731 else
11732 if test ${lt_cv_aix_libpath_+y}
11733 then :
11734 printf %s "(cached) " >&6
11735 else case e in #(
11736 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11738
11739 int
11740 main (void)
11741 {
11742
11743 ;
11744 return 0;
11745 }
11746 _ACEOF
11747 if ac_fn_c_try_link "$LINENO"
11748 then :
11749
11750 lt_aix_libpath_sed='
11751 /Import File Strings/,/^$/ {
11752 /^0/ {
11753 s/^0 *\([^ ]*\) *$/\1/
11754 p
11755 }
11756 }'
11757 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11758 # Check for a 64-bit object if we didn't find anything.
11759 if test -z "$lt_cv_aix_libpath_"; then
11760 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11761 fi
11762 fi
11763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11764 conftest$ac_exeext conftest.$ac_ext
11765 if test -z "$lt_cv_aix_libpath_"; then
11766 lt_cv_aix_libpath_=/usr/lib:/lib
11767 fi
11768 ;;
11769 esac
11770 fi
11771
11772 aix_libpath=$lt_cv_aix_libpath_
11773 fi
11774
11775 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11776 # Warning - without using the other run time loading flags,
11777 # -berok will link without error, but may produce a broken library.
11778 no_undefined_flag=' $wl-bernotok'
11779 allow_undefined_flag=' $wl-berok'
11780 if test yes = "$with_gnu_ld"; then
11781 # We only use this code for GNU lds that support --whole-archive.
11782 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11783 else
11784 # Exported symbols can be pulled into shared objects from archives
11785 whole_archive_flag_spec='$convenience'
11786 fi
11787 archive_cmds_need_lc=yes
11788 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11789 # -brtl affects multiple linker settings, -berok does not and is overridden later
11790 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11791 if test svr4 != "$with_aix_soname"; then
11792 # This is similar to how AIX traditionally builds its shared libraries.
11793 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'
11794 fi
11795 if test aix != "$with_aix_soname"; then
11796 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'
11797 else
11798 # used by -dlpreopen to get the symbols
11799 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11800 fi
11801 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11802 fi
11803 fi
11804 ;;
11805
11806 amigaos*)
11807 case $host_cpu in
11808 powerpc)
11809 # see comment about AmigaOS4 .so support
11810 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11811 archive_expsym_cmds=''
11812 ;;
11813 m68k)
11814 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)'
11815 hardcode_libdir_flag_spec='-L$libdir'
11816 hardcode_minus_L=yes
11817 ;;
11818 esac
11819 ;;
11820
11821 bsdi[45]*)
11822 export_dynamic_flag_spec=-rdynamic
11823 ;;
11824
11825 cygwin* | mingw* | windows* | pw32* | cegcc*)
11826 # When not using gcc, we currently assume that we are using
11827 # Microsoft Visual C++ or Intel C++ Compiler.
11828 # hardcode_libdir_flag_spec is actually meaningless, as there is
11829 # no search path for DLLs.
11830 case $cc_basename in
11831 cl* | icl*)
11832 # Native MSVC or ICC
11833 hardcode_libdir_flag_spec=' '
11834 allow_undefined_flag=unsupported
11835 always_export_symbols=yes
11836 file_list_spec='@'
11837 # Tell ltmain to make .lib files, not .a files.
11838 libext=lib
11839 # Tell ltmain to make .dll files, not .so files.
11840 shrext_cmds=.dll
11841 # FIXME: Setting linknames here is a bad hack.
11842 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11843 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11844 cp "$export_symbols" "$output_objdir/$soname.def";
11845 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11846 else
11847 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11848 fi~
11849 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11850 linknames='
11851 # The linker will not automatically build a static lib if we build a DLL.
11852 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11853 enable_shared_with_static_runtimes=yes
11854 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11855 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11856 # Don't use ranlib
11857 old_postinstall_cmds='chmod 644 $oldlib'
11858 postlink_cmds='lt_outputfile="@OUTPUT@"~
11859 lt_tool_outputfile="@TOOL_OUTPUT@"~
11860 case $lt_outputfile in
11861 *.exe|*.EXE) ;;
11862 *)
11863 lt_outputfile=$lt_outputfile.exe
11864 lt_tool_outputfile=$lt_tool_outputfile.exe
11865 ;;
11866 esac~
11867 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11868 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11869 $RM "$lt_outputfile.manifest";
11870 fi'
11871 ;;
11872 *)
11873 # Assume MSVC and ICC wrapper
11874 hardcode_libdir_flag_spec=' '
11875 allow_undefined_flag=unsupported
11876 # Tell ltmain to make .lib files, not .a files.
11877 libext=lib
11878 # Tell ltmain to make .dll files, not .so files.
11879 shrext_cmds=.dll
11880 # FIXME: Setting linknames here is a bad hack.
11881 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11882 # The linker will automatically build a .lib file if we build a DLL.
11883 old_archive_from_new_cmds='true'
11884 # FIXME: Should let the user specify the lib program.
11885 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11886 enable_shared_with_static_runtimes=yes
11887 ;;
11888 esac
11889 ;;
11890
11891 darwin* | rhapsody*)
11892
11893
11894 archive_cmds_need_lc=no
11895 hardcode_direct=no
11896 hardcode_automatic=yes
11897 hardcode_shlibpath_var=unsupported
11898 if test yes = "$lt_cv_ld_force_load"; then
11899 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\"`'
11900
11901 else
11902 whole_archive_flag_spec=''
11903 fi
11904 link_all_deplibs=yes
11905 allow_undefined_flag=$_lt_dar_allow_undefined
11906 case $cc_basename in
11907 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11908 *) _lt_dar_can_shared=$GCC ;;
11909 esac
11910 if test yes = "$_lt_dar_can_shared"; then
11911 output_verbose_link_cmd=func_echo_all
11912 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11913 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11914 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"
11915 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"
11916
11917 else
11918 ld_shlibs=no
11919 fi
11920
11921 ;;
11922
11923 dgux*)
11924 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11925 hardcode_libdir_flag_spec='-L$libdir'
11926 hardcode_shlibpath_var=no
11927 ;;
11928
11929 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11930 # support. Future versions do this automatically, but an explicit c++rt0.o
11931 # does not break anything, and helps significantly (at the cost of a little
11932 # extra space).
11933 freebsd2.2*)
11934 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11935 hardcode_libdir_flag_spec='-R$libdir'
11936 hardcode_direct=yes
11937 hardcode_shlibpath_var=no
11938 ;;
11939
11940 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11941 freebsd2.*)
11942 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11943 hardcode_direct=yes
11944 hardcode_minus_L=yes
11945 hardcode_shlibpath_var=no
11946 ;;
11947
11948 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11949 freebsd* | dragonfly* | midnightbsd*)
11950 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11951 hardcode_libdir_flag_spec='-R$libdir'
11952 hardcode_direct=yes
11953 hardcode_shlibpath_var=no
11954 ;;
11955
11956 hpux9*)
11957 if test yes = "$GCC"; then
11958 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'
11959 else
11960 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'
11961 fi
11962 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11963 hardcode_libdir_separator=:
11964 hardcode_direct=yes
11965
11966 # hardcode_minus_L: Not really in the search PATH,
11967 # but as the default location of the library.
11968 hardcode_minus_L=yes
11969 export_dynamic_flag_spec='$wl-E'
11970 ;;
11971
11972 hpux10*)
11973 if test yes,no = "$GCC,$with_gnu_ld"; then
11974 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11975 else
11976 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11977 fi
11978 if test no = "$with_gnu_ld"; then
11979 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11980 hardcode_libdir_separator=:
11981 hardcode_direct=yes
11982 hardcode_direct_absolute=yes
11983 export_dynamic_flag_spec='$wl-E'
11984 # hardcode_minus_L: Not really in the search PATH,
11985 # but as the default location of the library.
11986 hardcode_minus_L=yes
11987 fi
11988 ;;
11989
11990 hpux11*)
11991 if test yes,no = "$GCC,$with_gnu_ld"; then
11992 case $host_cpu in
11993 hppa*64*)
11994 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11995 ;;
11996 ia64*)
11997 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11998 ;;
11999 *)
12000 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12001 ;;
12002 esac
12003 else
12004 case $host_cpu in
12005 hppa*64*)
12006 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12007 ;;
12008 ia64*)
12009 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12010 ;;
12011 *)
12012
12013 # Older versions of the 11.00 compiler do not understand -b yet
12014 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12016 printf %s "checking if $CC understands -b... " >&6; }
12017 if test ${lt_cv_prog_compiler__b+y}
12018 then :
12019 printf %s "(cached) " >&6
12020 else case e in #(
12021 e) lt_cv_prog_compiler__b=no
12022 save_LDFLAGS=$LDFLAGS
12023 LDFLAGS="$LDFLAGS -b"
12024 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12025 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12026 # The linker can only warn and ignore the option if not recognized
12027 # So say no if there are warnings
12028 if test -s conftest.err; then
12029 # Append any errors to the config.log.
12030 cat conftest.err 1>&5
12031 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12032 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12033 if diff conftest.exp conftest.er2 >/dev/null; then
12034 lt_cv_prog_compiler__b=yes
12035 fi
12036 else
12037 lt_cv_prog_compiler__b=yes
12038 fi
12039 fi
12040 $RM -r conftest*
12041 LDFLAGS=$save_LDFLAGS
12042 ;;
12043 esac
12044 fi
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12046 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12047
12048 if test yes = "$lt_cv_prog_compiler__b"; then
12049 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12050 else
12051 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12052 fi
12053
12054 ;;
12055 esac
12056 fi
12057 if test no = "$with_gnu_ld"; then
12058 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12059 hardcode_libdir_separator=:
12060
12061 case $host_cpu in
12062 hppa*64*|ia64*)
12063 hardcode_direct=no
12064 hardcode_shlibpath_var=no
12065 ;;
12066 *)
12067 hardcode_direct=yes
12068 hardcode_direct_absolute=yes
12069 export_dynamic_flag_spec='$wl-E'
12070
12071 # hardcode_minus_L: Not really in the search PATH,
12072 # but as the default location of the library.
12073 hardcode_minus_L=yes
12074 ;;
12075 esac
12076 fi
12077 ;;
12078
12079 irix5* | irix6* | nonstopux*)
12080 if test yes = "$GCC"; then
12081 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'
12082 # Try to use the -exported_symbol ld option, if it does not
12083 # work, assume that -exports_file does not work either and
12084 # implicitly export all symbols.
12085 # This should be the same for all languages, so no per-tag cache variable.
12086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12087 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12088 if test ${lt_cv_irix_exported_symbol+y}
12089 then :
12090 printf %s "(cached) " >&6
12091 else case e in #(
12092 e) save_LDFLAGS=$LDFLAGS
12093 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12096 int foo (void) { return 0; }
12097 _ACEOF
12098 if ac_fn_c_try_link "$LINENO"
12099 then :
12100 lt_cv_irix_exported_symbol=yes
12101 else case e in #(
12102 e) lt_cv_irix_exported_symbol=no ;;
12103 esac
12104 fi
12105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12106 conftest$ac_exeext conftest.$ac_ext
12107 LDFLAGS=$save_LDFLAGS ;;
12108 esac
12109 fi
12110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12111 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12112 if test yes = "$lt_cv_irix_exported_symbol"; then
12113 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'
12114 fi
12115 else
12116 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'
12117 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'
12118 fi
12119 archive_cmds_need_lc='no'
12120 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12121 hardcode_libdir_separator=:
12122 inherit_rpath=yes
12123 link_all_deplibs=yes
12124 ;;
12125
12126 linux*)
12127 case $cc_basename in
12128 tcc*)
12129 # Fabrice Bellard et al's Tiny C Compiler
12130 ld_shlibs=yes
12131 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12132 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12133 ;;
12134 esac
12135 ;;
12136
12137 *-mlibc)
12138 ;;
12139
12140 netbsd* | netbsdelf*-gnu)
12141 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12142 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12143 else
12144 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12145 fi
12146 hardcode_libdir_flag_spec='-R$libdir'
12147 hardcode_direct=yes
12148 hardcode_shlibpath_var=no
12149 ;;
12150
12151 newsos6)
12152 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12153 hardcode_direct=yes
12154 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12155 hardcode_libdir_separator=:
12156 hardcode_shlibpath_var=no
12157 ;;
12158
12159 *nto* | *qnx*)
12160 ;;
12161
12162 openbsd*)
12163 if test -f /usr/libexec/ld.so; then
12164 hardcode_direct=yes
12165 hardcode_shlibpath_var=no
12166 hardcode_direct_absolute=yes
12167 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12168 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12169 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12170 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12171 export_dynamic_flag_spec='$wl-E'
12172 else
12173 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12174 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12175 fi
12176 else
12177 ld_shlibs=no
12178 fi
12179 ;;
12180
12181 os2*)
12182 hardcode_libdir_flag_spec='-L$libdir'
12183 hardcode_minus_L=yes
12184 allow_undefined_flag=unsupported
12185 shrext_cmds=.dll
12186 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12187 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12188 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12189 $ECHO EXPORTS >> $output_objdir/$libname.def~
12190 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12191 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12192 emximp -o $lib $output_objdir/$libname.def'
12193 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12194 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12195 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12196 $ECHO EXPORTS >> $output_objdir/$libname.def~
12197 prefix_cmds="$SED"~
12198 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12199 prefix_cmds="$prefix_cmds -e 1d";
12200 fi~
12201 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12202 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12203 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12204 emximp -o $lib $output_objdir/$libname.def'
12205 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12206 enable_shared_with_static_runtimes=yes
12207 file_list_spec='@'
12208 ;;
12209
12210 osf3*)
12211 if test yes = "$GCC"; then
12212 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12213 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'
12214 else
12215 allow_undefined_flag=' -expect_unresolved \*'
12216 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'
12217 fi
12218 archive_cmds_need_lc='no'
12219 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12220 hardcode_libdir_separator=:
12221 ;;
12222
12223 osf4* | osf5*) # as osf3* with the addition of -msym flag
12224 if test yes = "$GCC"; then
12225 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12226 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'
12227 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12228 else
12229 allow_undefined_flag=' -expect_unresolved \*'
12230 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'
12231 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~
12232 $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'
12233
12234 # Both c and cxx compiler support -rpath directly
12235 hardcode_libdir_flag_spec='-rpath $libdir'
12236 fi
12237 archive_cmds_need_lc='no'
12238 hardcode_libdir_separator=:
12239 ;;
12240
12241 serenity*)
12242 ;;
12243
12244 solaris*)
12245 no_undefined_flag=' -z defs'
12246 if test yes = "$GCC"; then
12247 wlarc='$wl'
12248 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12249 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12250 $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'
12251 else
12252 case `$CC -V 2>&1` in
12253 *"Compilers 5.0"*)
12254 wlarc=''
12255 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12256 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12257 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12258 ;;
12259 *)
12260 wlarc='$wl'
12261 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12262 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12263 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12264 ;;
12265 esac
12266 fi
12267 hardcode_libdir_flag_spec='-R$libdir'
12268 hardcode_shlibpath_var=no
12269 case $host_os in
12270 solaris2.[0-5] | solaris2.[0-5].*) ;;
12271 *)
12272 # The compiler driver will combine and reorder linker options,
12273 # but understands '-z linker_flag'. GCC discards it without '$wl',
12274 # but is careful enough not to reorder.
12275 # Supported since Solaris 2.6 (maybe 2.5.1?)
12276 if test yes = "$GCC"; then
12277 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12278 else
12279 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12280 fi
12281 ;;
12282 esac
12283 link_all_deplibs=yes
12284 ;;
12285
12286 sunos4*)
12287 if test sequent = "$host_vendor"; then
12288 # Use $CC to link under sequent, because it throws in some extra .o
12289 # files that make .init and .fini sections work.
12290 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12291 else
12292 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12293 fi
12294 hardcode_libdir_flag_spec='-L$libdir'
12295 hardcode_direct=yes
12296 hardcode_minus_L=yes
12297 hardcode_shlibpath_var=no
12298 ;;
12299
12300 sysv4)
12301 case $host_vendor in
12302 sni)
12303 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12304 hardcode_direct=yes # is this really true???
12305 ;;
12306 siemens)
12307 ## LD is ld it makes a PLAMLIB
12308 ## CC just makes a GrossModule.
12309 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12310 reload_cmds='$CC -r -o $output$reload_objs'
12311 hardcode_direct=no
12312 ;;
12313 motorola)
12314 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12315 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12316 ;;
12317 esac
12318 runpath_var='LD_RUN_PATH'
12319 hardcode_shlibpath_var=no
12320 ;;
12321
12322 sysv4.3*)
12323 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12324 hardcode_shlibpath_var=no
12325 export_dynamic_flag_spec='-Bexport'
12326 ;;
12327
12328 sysv4*MP*)
12329 if test -d /usr/nec; then
12330 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12331 hardcode_shlibpath_var=no
12332 runpath_var=LD_RUN_PATH
12333 hardcode_runpath_var=yes
12334 ld_shlibs=yes
12335 fi
12336 ;;
12337
12338 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12339 no_undefined_flag='$wl-z,text'
12340 archive_cmds_need_lc=no
12341 hardcode_shlibpath_var=no
12342 runpath_var='LD_RUN_PATH'
12343
12344 if test yes = "$GCC"; then
12345 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12346 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12347 else
12348 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12349 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12350 fi
12351 ;;
12352
12353 sysv5* | sco3.2v5* | sco5v6*)
12354 # Note: We CANNOT use -z defs as we might desire, because we do not
12355 # link with -lc, and that would cause any symbols used from libc to
12356 # always be unresolved, which means just about no library would
12357 # ever link correctly. If we're not using GNU ld we use -z text
12358 # though, which does catch some bad symbols but isn't as heavy-handed
12359 # as -z defs.
12360 no_undefined_flag='$wl-z,text'
12361 allow_undefined_flag='$wl-z,nodefs'
12362 archive_cmds_need_lc=no
12363 hardcode_shlibpath_var=no
12364 hardcode_libdir_flag_spec='$wl-R,$libdir'
12365 hardcode_libdir_separator=':'
12366 link_all_deplibs=yes
12367 export_dynamic_flag_spec='$wl-Bexport'
12368 runpath_var='LD_RUN_PATH'
12369
12370 if test yes = "$GCC"; then
12371 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12372 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12373 else
12374 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12375 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12376 fi
12377 ;;
12378
12379 uts4*)
12380 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12381 hardcode_libdir_flag_spec='-L$libdir'
12382 hardcode_shlibpath_var=no
12383 ;;
12384
12385 *)
12386 ld_shlibs=no
12387 ;;
12388 esac
12389
12390 if test sni = "$host_vendor"; then
12391 case $host in
12392 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12393 export_dynamic_flag_spec='$wl-Blargedynsym'
12394 ;;
12395 esac
12396 fi
12397 fi
12398
12399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12400 printf "%s\n" "$ld_shlibs" >&6; }
12401 test no = "$ld_shlibs" && can_build_shared=no
12402
12403 with_gnu_ld=$with_gnu_ld
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419 #
12420 # Do we need to explicitly link libc?
12421 #
12422 case "x$archive_cmds_need_lc" in
12423 x|xyes)
12424 # Assume -lc should be added
12425 archive_cmds_need_lc=yes
12426
12427 if test yes,yes = "$GCC,$enable_shared"; then
12428 case $archive_cmds in
12429 *'~'*)
12430 # FIXME: we may have to deal with multi-command sequences.
12431 ;;
12432 '$CC '*)
12433 # Test whether the compiler implicitly links with -lc since on some
12434 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12435 # to ld, don't add -lc before -lgcc.
12436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12437 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12438 if test ${lt_cv_archive_cmds_need_lc+y}
12439 then :
12440 printf %s "(cached) " >&6
12441 else case e in #(
12442 e) $RM conftest*
12443 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12444
12445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12446 (eval $ac_compile) 2>&5
12447 ac_status=$?
12448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12449 test $ac_status = 0; } 2>conftest.err; then
12450 soname=conftest
12451 lib=conftest
12452 libobjs=conftest.$ac_objext
12453 deplibs=
12454 wl=$lt_prog_compiler_wl
12455 pic_flag=$lt_prog_compiler_pic
12456 compiler_flags=-v
12457 linker_flags=-v
12458 verstring=
12459 output_objdir=.
12460 libname=conftest
12461 lt_save_allow_undefined_flag=$allow_undefined_flag
12462 allow_undefined_flag=
12463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12464 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12465 ac_status=$?
12466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12467 test $ac_status = 0; }
12468 then
12469 lt_cv_archive_cmds_need_lc=no
12470 else
12471 lt_cv_archive_cmds_need_lc=yes
12472 fi
12473 allow_undefined_flag=$lt_save_allow_undefined_flag
12474 else
12475 cat conftest.err 1>&5
12476 fi
12477 $RM conftest*
12478 ;;
12479 esac
12480 fi
12481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12482 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12483 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12484 ;;
12485 esac
12486 fi
12487 ;;
12488 esac
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
12640
12641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12642 printf %s "checking dynamic linker characteristics... " >&6; }
12643
12644 if test yes = "$GCC"; then
12645 case $host_os in
12646 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12647 *) lt_awk_arg='/^libraries:/' ;;
12648 esac
12649 case $host_os in
12650 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12651 *) lt_sed_strip_eq='s|=/|/|g' ;;
12652 esac
12653 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12654 case $lt_search_path_spec in
12655 *\;*)
12656 # if the path contains ";" then we assume it to be the separator
12657 # otherwise default to the standard path separator (i.e. ":") - it is
12658 # assumed that no part of a normal pathname contains ";" but that should
12659 # okay in the real world where ";" in dirpaths is itself problematic.
12660 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12661 ;;
12662 *)
12663 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12664 ;;
12665 esac
12666 # Ok, now we have the path, separated by spaces, we can step through it
12667 # and add multilib dir if necessary...
12668 lt_tmp_lt_search_path_spec=
12669 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12670 # ...but if some path component already ends with the multilib dir we assume
12671 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12672 case "$lt_multi_os_dir; $lt_search_path_spec " in
12673 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12674 lt_multi_os_dir=
12675 ;;
12676 esac
12677 for lt_sys_path in $lt_search_path_spec; do
12678 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12679 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12680 elif test -n "$lt_multi_os_dir"; then
12681 test -d "$lt_sys_path" && \
12682 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12683 fi
12684 done
12685 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12686 BEGIN {RS = " "; FS = "/|\n";} {
12687 lt_foo = "";
12688 lt_count = 0;
12689 for (lt_i = NF; lt_i > 0; lt_i--) {
12690 if ($lt_i != "" && $lt_i != ".") {
12691 if ($lt_i == "..") {
12692 lt_count++;
12693 } else {
12694 if (lt_count == 0) {
12695 lt_foo = "/" $lt_i lt_foo;
12696 } else {
12697 lt_count--;
12698 }
12699 }
12700 }
12701 }
12702 if (lt_foo != "") { lt_freq[lt_foo]++; }
12703 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12704 }'`
12705 # AWK program above erroneously prepends '/' to C:/dos/paths
12706 # for these hosts.
12707 case $host_os in
12708 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12709 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12710 esac
12711 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12712 else
12713 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12714 fi
12715 library_names_spec=
12716 libname_spec='lib$name'
12717 soname_spec=
12718 shrext_cmds=.so
12719 postinstall_cmds=
12720 postuninstall_cmds=
12721 finish_cmds=
12722 finish_eval=
12723 shlibpath_var=
12724 shlibpath_overrides_runpath=unknown
12725 version_type=none
12726 dynamic_linker="$host_os ld.so"
12727 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12728 need_lib_prefix=unknown
12729 hardcode_into_libs=no
12730
12731 # when you set need_version to no, make sure it does not cause -set_version
12732 # flags to be left without arguments
12733 need_version=unknown
12734
12735
12736
12737 case $host_os in
12738 aix3*)
12739 version_type=linux # correct to gnu/linux during the next big refactor
12740 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12741 shlibpath_var=LIBPATH
12742
12743 # AIX 3 has no versioning support, so we append a major version to the name.
12744 soname_spec='$libname$release$shared_ext$major'
12745 ;;
12746
12747 aix[4-9]*)
12748 version_type=linux # correct to gnu/linux during the next big refactor
12749 need_lib_prefix=no
12750 need_version=no
12751 hardcode_into_libs=yes
12752 if test ia64 = "$host_cpu"; then
12753 # AIX 5 supports IA64
12754 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12755 shlibpath_var=LD_LIBRARY_PATH
12756 else
12757 # With GCC up to 2.95.x, collect2 would create an import file
12758 # for dependence libraries. The import file would start with
12759 # the line '#! .'. This would cause the generated library to
12760 # depend on '.', always an invalid library. This was fixed in
12761 # development snapshots of GCC prior to 3.0.
12762 case $host_os in
12763 aix4 | aix4.[01] | aix4.[01].*)
12764 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12765 echo ' yes '
12766 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12767 :
12768 else
12769 can_build_shared=no
12770 fi
12771 ;;
12772 esac
12773 # Using Import Files as archive members, it is possible to support
12774 # filename-based versioning of shared library archives on AIX. While
12775 # this would work for both with and without runtime linking, it will
12776 # prevent static linking of such archives. So we do filename-based
12777 # shared library versioning with .so extension only, which is used
12778 # when both runtime linking and shared linking is enabled.
12779 # Unfortunately, runtime linking may impact performance, so we do
12780 # not want this to be the default eventually. Also, we use the
12781 # versioned .so libs for executables only if there is the -brtl
12782 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
12783 # To allow for filename-based versioning support, we need to create
12784 # libNAME.so.V as an archive file, containing:
12785 # *) an Import File, referring to the versioned filename of the
12786 # archive as well as the shared archive member, telling the
12787 # bitwidth (32 or 64) of that shared object, and providing the
12788 # list of exported symbols of that shared object, eventually
12789 # decorated with the 'weak' keyword
12790 # *) the shared object with the F_LOADONLY flag set, to really avoid
12791 # it being seen by the linker.
12792 # At run time we better use the real file rather than another symlink,
12793 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12794
12795 case $with_aix_soname,$aix_use_runtimelinking in
12796 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12797 # soname into executable. Probably we can add versioning support to
12798 # collect2, so additional links can be useful in future.
12799 aix,yes) # traditional libtool
12800 dynamic_linker='AIX unversionable lib.so'
12801 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12802 # instead of lib<name>.a to let people know that these are not
12803 # typical AIX shared libraries.
12804 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12805 ;;
12806 aix,no) # traditional AIX only
12807 dynamic_linker='AIX lib.a(lib.so.V)'
12808 # We preserve .a as extension for shared libraries through AIX4.2
12809 # and later when we are not doing run time linking.
12810 library_names_spec='$libname$release.a $libname.a'
12811 soname_spec='$libname$release$shared_ext$major'
12812 ;;
12813 svr4,*) # full svr4 only
12814 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12815 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12816 # We do not specify a path in Import Files, so LIBPATH fires.
12817 shlibpath_overrides_runpath=yes
12818 ;;
12819 *,yes) # both, prefer svr4
12820 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12821 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12822 # unpreferred sharedlib libNAME.a needs extra handling
12823 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"'
12824 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"'
12825 # We do not specify a path in Import Files, so LIBPATH fires.
12826 shlibpath_overrides_runpath=yes
12827 ;;
12828 *,no) # both, prefer aix
12829 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12830 library_names_spec='$libname$release.a $libname.a'
12831 soname_spec='$libname$release$shared_ext$major'
12832 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12833 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)'
12834 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"'
12835 ;;
12836 esac
12837 shlibpath_var=LIBPATH
12838 fi
12839 ;;
12840
12841 amigaos*)
12842 case $host_cpu in
12843 powerpc)
12844 # Since July 2007 AmigaOS4 officially supports .so libraries.
12845 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12846 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12847 ;;
12848 m68k)
12849 library_names_spec='$libname.ixlibrary $libname.a'
12850 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12851 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'
12852 ;;
12853 esac
12854 ;;
12855
12856 beos*)
12857 library_names_spec='$libname$shared_ext'
12858 dynamic_linker="$host_os ld.so"
12859 shlibpath_var=LIBRARY_PATH
12860 ;;
12861
12862 bsdi[45]*)
12863 version_type=linux # correct to gnu/linux during the next big refactor
12864 need_version=no
12865 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12866 soname_spec='$libname$release$shared_ext$major'
12867 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12868 shlibpath_var=LD_LIBRARY_PATH
12869 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12870 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12871 # the default ld.so.conf also contains /usr/contrib/lib and
12872 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12873 # libtool to hard-code these into programs
12874 ;;
12875
12876 cygwin* | mingw* | windows* | pw32* | cegcc*)
12877 version_type=windows
12878 shrext_cmds=.dll
12879 need_version=no
12880 need_lib_prefix=no
12881
12882 case $GCC,$cc_basename in
12883 yes,*)
12884 # gcc
12885 library_names_spec='$libname.dll.a'
12886 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12887 # If user builds GCC with multilib enabled,
12888 # it should just install on $(libdir)
12889 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
12890 if test xyes = x"$multilib"; then
12891 postinstall_cmds='base_file=`basename \$file`~
12892 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12893 dldir=$destdir/`dirname \$dlpath`~
12894 $install_prog $dir/$dlname $destdir/$dlname~
12895 chmod a+x $destdir/$dlname~
12896 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12897 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
12898 fi'
12899 else
12900 postinstall_cmds='base_file=`basename \$file`~
12901 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12902 dldir=$destdir/`dirname \$dlpath`~
12903 test -d \$dldir || mkdir -p \$dldir~
12904 $install_prog $dir/$dlname \$dldir/$dlname~
12905 chmod a+x \$dldir/$dlname~
12906 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12907 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12908 fi'
12909 fi
12910 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12911 dlpath=$dir/\$dldll~
12912 $RM \$dlpath'
12913 shlibpath_overrides_runpath=yes
12914
12915 case $host_os in
12916 cygwin*)
12917 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12918 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12919
12920 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12921 ;;
12922 mingw* | windows* | cegcc*)
12923 # MinGW DLLs use traditional 'lib' prefix
12924 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12925 ;;
12926 pw32*)
12927 # pw32 DLLs use 'pw' prefix rather than 'lib'
12928 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12929 ;;
12930 esac
12931 dynamic_linker='Win32 ld.exe'
12932 ;;
12933
12934 *,cl* | *,icl*)
12935 # Native MSVC or ICC
12936 libname_spec='$name'
12937 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12938 library_names_spec='$libname.dll.lib'
12939
12940 case $build_os in
12941 mingw* | windows*)
12942 sys_lib_search_path_spec=
12943 lt_save_ifs=$IFS
12944 IFS=';'
12945 for lt_path in $LIB
12946 do
12947 IFS=$lt_save_ifs
12948 # Let DOS variable expansion print the short 8.3 style file name.
12949 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12950 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12951 done
12952 IFS=$lt_save_ifs
12953 # Convert to MSYS style.
12954 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12955 ;;
12956 cygwin*)
12957 # Convert to unix form, then to dos form, then back to unix form
12958 # but this time dos style (no spaces!) so that the unix form looks
12959 # like /cygdrive/c/PROGRA~1:/cygdr...
12960 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12961 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12962 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12963 ;;
12964 *)
12965 sys_lib_search_path_spec=$LIB
12966 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12967 # It is most probably a Windows format PATH.
12968 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12969 else
12970 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12971 fi
12972 # FIXME: find the short name or the path components, as spaces are
12973 # common. (e.g. "Program Files" -> "PROGRA~1")
12974 ;;
12975 esac
12976
12977 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12978 postinstall_cmds='base_file=`basename \$file`~
12979 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12980 dldir=$destdir/`dirname \$dlpath`~
12981 test -d \$dldir || mkdir -p \$dldir~
12982 $install_prog $dir/$dlname \$dldir/$dlname'
12983 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12984 dlpath=$dir/\$dldll~
12985 $RM \$dlpath'
12986 shlibpath_overrides_runpath=yes
12987 dynamic_linker='Win32 link.exe'
12988 ;;
12989
12990 *)
12991 # Assume MSVC and ICC wrapper
12992 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12993 dynamic_linker='Win32 ld.exe'
12994 ;;
12995 esac
12996 # FIXME: first we should search . and the directory the executable is in
12997 shlibpath_var=PATH
12998 ;;
12999
13000 darwin* | rhapsody*)
13001 dynamic_linker="$host_os dyld"
13002 version_type=darwin
13003 need_lib_prefix=no
13004 need_version=no
13005 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13006 soname_spec='$libname$release$major$shared_ext'
13007 shlibpath_overrides_runpath=yes
13008 shlibpath_var=DYLD_LIBRARY_PATH
13009 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13010
13011 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13012 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13013 ;;
13014
13015 dgux*)
13016 version_type=linux # correct to gnu/linux during the next big refactor
13017 need_lib_prefix=no
13018 need_version=no
13019 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13020 soname_spec='$libname$release$shared_ext$major'
13021 shlibpath_var=LD_LIBRARY_PATH
13022 ;;
13023
13024 freebsd* | dragonfly* | midnightbsd*)
13025 # DragonFly does not have aout. When/if they implement a new
13026 # versioning mechanism, adjust this.
13027 if test -x /usr/bin/objformat; then
13028 objformat=`/usr/bin/objformat`
13029 else
13030 case $host_os in
13031 freebsd[23].*) objformat=aout ;;
13032 *) objformat=elf ;;
13033 esac
13034 fi
13035 version_type=freebsd-$objformat
13036 case $version_type in
13037 freebsd-elf*)
13038 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13039 soname_spec='$libname$release$shared_ext$major'
13040 need_version=no
13041 need_lib_prefix=no
13042 ;;
13043 freebsd-*)
13044 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13045 need_version=yes
13046 ;;
13047 esac
13048 case $host_cpu in
13049 powerpc64)
13050 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13051 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13054 int test_pointer_size[sizeof (void *) - 5];
13055
13056 _ACEOF
13057 if ac_fn_c_try_compile "$LINENO"
13058 then :
13059 shlibpath_var=LD_LIBRARY_PATH
13060 else case e in #(
13061 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13062 esac
13063 fi
13064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13065 ;;
13066 *)
13067 shlibpath_var=LD_LIBRARY_PATH
13068 ;;
13069 esac
13070 case $host_os in
13071 freebsd2.*)
13072 shlibpath_overrides_runpath=yes
13073 ;;
13074 freebsd3.[01]* | freebsdelf3.[01]*)
13075 shlibpath_overrides_runpath=yes
13076 hardcode_into_libs=yes
13077 ;;
13078 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13079 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13080 shlibpath_overrides_runpath=no
13081 hardcode_into_libs=yes
13082 ;;
13083 *) # from 4.6 on, and DragonFly
13084 shlibpath_overrides_runpath=yes
13085 hardcode_into_libs=yes
13086 ;;
13087 esac
13088 ;;
13089
13090 haiku*)
13091 version_type=linux # correct to gnu/linux during the next big refactor
13092 need_lib_prefix=no
13093 need_version=no
13094 dynamic_linker="$host_os runtime_loader"
13095 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13096 soname_spec='$libname$release$shared_ext$major'
13097 shlibpath_var=LIBRARY_PATH
13098 shlibpath_overrides_runpath=no
13099 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13100 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13101 hardcode_into_libs=no
13102 ;;
13103
13104 hpux9* | hpux10* | hpux11*)
13105 # Give a soname corresponding to the major version so that dld.sl refuses to
13106 # link against other versions.
13107 version_type=sunos
13108 need_lib_prefix=no
13109 need_version=no
13110 case $host_cpu in
13111 ia64*)
13112 shrext_cmds='.so'
13113 hardcode_into_libs=yes
13114 dynamic_linker="$host_os dld.so"
13115 shlibpath_var=LD_LIBRARY_PATH
13116 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13117 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13118 soname_spec='$libname$release$shared_ext$major'
13119 if test 32 = "$HPUX_IA64_MODE"; then
13120 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13121 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13122 else
13123 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13124 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13125 fi
13126 ;;
13127 hppa*64*)
13128 shrext_cmds='.sl'
13129 hardcode_into_libs=yes
13130 dynamic_linker="$host_os dld.sl"
13131 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13132 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13133 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13134 soname_spec='$libname$release$shared_ext$major'
13135 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13136 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13137 ;;
13138 *)
13139 shrext_cmds='.sl'
13140 dynamic_linker="$host_os dld.sl"
13141 shlibpath_var=SHLIB_PATH
13142 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13143 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13144 soname_spec='$libname$release$shared_ext$major'
13145 ;;
13146 esac
13147 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13148 postinstall_cmds='chmod 555 $lib'
13149 # or fails outright, so override atomically:
13150 install_override_mode=555
13151 ;;
13152
13153 interix[3-9]*)
13154 version_type=linux # correct to gnu/linux during the next big refactor
13155 need_lib_prefix=no
13156 need_version=no
13157 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13158 soname_spec='$libname$release$shared_ext$major'
13159 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13160 shlibpath_var=LD_LIBRARY_PATH
13161 shlibpath_overrides_runpath=no
13162 hardcode_into_libs=yes
13163 ;;
13164
13165 irix5* | irix6* | nonstopux*)
13166 case $host_os in
13167 nonstopux*) version_type=nonstopux ;;
13168 *)
13169 if test yes = "$lt_cv_prog_gnu_ld"; then
13170 version_type=linux # correct to gnu/linux during the next big refactor
13171 else
13172 version_type=irix
13173 fi ;;
13174 esac
13175 need_lib_prefix=no
13176 need_version=no
13177 soname_spec='$libname$release$shared_ext$major'
13178 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13179 case $host_os in
13180 irix5* | nonstopux*)
13181 libsuff= shlibsuff=
13182 ;;
13183 *)
13184 case $LD in # libtool.m4 will add one of these switches to LD
13185 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13186 libsuff= shlibsuff= libmagic=32-bit;;
13187 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13188 libsuff=32 shlibsuff=N32 libmagic=N32;;
13189 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13190 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13191 *) libsuff= shlibsuff= libmagic=never-match;;
13192 esac
13193 ;;
13194 esac
13195 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13196 shlibpath_overrides_runpath=no
13197 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13198 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13199 hardcode_into_libs=yes
13200 ;;
13201
13202 # No shared lib support for Linux oldld, aout, or coff.
13203 linux*oldld* | linux*aout* | linux*coff*)
13204 dynamic_linker=no
13205 ;;
13206
13207 linux*android*)
13208 version_type=none # Android doesn't support versioned libraries.
13209 need_lib_prefix=no
13210 need_version=no
13211 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13212 soname_spec='$libname$release$shared_ext'
13213 finish_cmds=
13214 shlibpath_var=LD_LIBRARY_PATH
13215 shlibpath_overrides_runpath=yes
13216
13217 # This implies no fast_install, which is unacceptable.
13218 # Some rework will be needed to allow for fast_install
13219 # before this can be enabled.
13220 hardcode_into_libs=yes
13221
13222 dynamic_linker='Android linker'
13223 # -rpath works at least for libraries that are not overridden by
13224 # libraries installed in system locations.
13225 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13226 ;;
13227
13228 # This must be glibc/ELF.
13229 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13230 version_type=linux # correct to gnu/linux during the next big refactor
13231 need_lib_prefix=no
13232 need_version=no
13233 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13234 soname_spec='$libname$release$shared_ext$major'
13235 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13236 shlibpath_var=LD_LIBRARY_PATH
13237 shlibpath_overrides_runpath=no
13238
13239 # Some binutils ld are patched to set DT_RUNPATH
13240 if test ${lt_cv_shlibpath_overrides_runpath+y}
13241 then :
13242 printf %s "(cached) " >&6
13243 else case e in #(
13244 e) lt_cv_shlibpath_overrides_runpath=no
13245 save_LDFLAGS=$LDFLAGS
13246 save_libdir=$libdir
13247 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13248 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13251
13252 int
13253 main (void)
13254 {
13255
13256 ;
13257 return 0;
13258 }
13259 _ACEOF
13260 if ac_fn_c_try_link "$LINENO"
13261 then :
13262 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13263 then :
13264 lt_cv_shlibpath_overrides_runpath=yes
13265 fi
13266 fi
13267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13268 conftest$ac_exeext conftest.$ac_ext
13269 LDFLAGS=$save_LDFLAGS
13270 libdir=$save_libdir
13271 ;;
13272 esac
13273 fi
13274
13275 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13276
13277 # This implies no fast_install, which is unacceptable.
13278 # Some rework will be needed to allow for fast_install
13279 # before this can be enabled.
13280 hardcode_into_libs=yes
13281
13282 # Ideally, we could use ldconfig to report *all* directories which are
13283 # searched for libraries, however this is still not possible. Aside from not
13284 # being certain /sbin/ldconfig is available, command
13285 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13286 # even though it is searched at run-time. Try to do the best guess by
13287 # appending ld.so.conf contents (and includes) to the search path.
13288 if test -f /etc/ld.so.conf; then
13289 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' ' '`
13290 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13291 fi
13292
13293 # We used to test for /lib/ld.so.1 and disable shared libraries on
13294 # powerpc, because MkLinux only supported shared libraries with the
13295 # GNU dynamic linker. Since this was broken with cross compilers,
13296 # most powerpc-linux boxes support dynamic linking these days and
13297 # people can always --disable-shared, the test was removed, and we
13298 # assume the GNU/Linux dynamic linker is in use.
13299 dynamic_linker='GNU/Linux ld.so'
13300 ;;
13301
13302 netbsdelf*-gnu)
13303 version_type=linux
13304 need_lib_prefix=no
13305 need_version=no
13306 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13307 soname_spec='$libname$release$shared_ext$major'
13308 shlibpath_var=LD_LIBRARY_PATH
13309 shlibpath_overrides_runpath=no
13310 hardcode_into_libs=yes
13311 dynamic_linker='NetBSD ld.elf_so'
13312 ;;
13313
13314 netbsd*)
13315 version_type=sunos
13316 need_lib_prefix=no
13317 need_version=no
13318 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13319 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13320 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13321 dynamic_linker='NetBSD (a.out) ld.so'
13322 else
13323 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13324 soname_spec='$libname$release$shared_ext$major'
13325 dynamic_linker='NetBSD ld.elf_so'
13326 fi
13327 shlibpath_var=LD_LIBRARY_PATH
13328 shlibpath_overrides_runpath=yes
13329 hardcode_into_libs=yes
13330 ;;
13331
13332 *-mlibc)
13333 version_type=linux # correct to gnu/linux during the next big refactor
13334 need_lib_prefix=no
13335 need_version=no
13336 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13337 soname_spec='$libname$release$shared_ext$major'
13338 dynamic_linker='mlibc ld.so'
13339 shlibpath_var=LD_LIBRARY_PATH
13340 shlibpath_overrides_runpath=no
13341 hardcode_into_libs=yes
13342 ;;
13343
13344 newsos6)
13345 version_type=linux # correct to gnu/linux during the next big refactor
13346 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13347 shlibpath_var=LD_LIBRARY_PATH
13348 shlibpath_overrides_runpath=yes
13349 ;;
13350
13351 *nto* | *qnx*)
13352 version_type=qnx
13353 need_lib_prefix=no
13354 need_version=no
13355 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13356 soname_spec='$libname$release$shared_ext$major'
13357 shlibpath_var=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath=no
13359 hardcode_into_libs=yes
13360 dynamic_linker='ldqnx.so'
13361 ;;
13362
13363 openbsd*)
13364 version_type=sunos
13365 sys_lib_dlsearch_path_spec=/usr/lib
13366 need_lib_prefix=no
13367 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13368 need_version=no
13369 else
13370 need_version=yes
13371 fi
13372 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13373 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13374 shlibpath_var=LD_LIBRARY_PATH
13375 shlibpath_overrides_runpath=yes
13376 ;;
13377
13378 os2*)
13379 libname_spec='$name'
13380 version_type=windows
13381 shrext_cmds=.dll
13382 need_version=no
13383 need_lib_prefix=no
13384 # OS/2 can only load a DLL with a base name of 8 characters or less.
13385 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13386 v=$($ECHO $release$versuffix | tr -d .-);
13387 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13388 $ECHO $n$v`$shared_ext'
13389 library_names_spec='${libname}_dll.$libext'
13390 dynamic_linker='OS/2 ld.exe'
13391 shlibpath_var=BEGINLIBPATH
13392 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13393 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13394 postinstall_cmds='base_file=`basename \$file`~
13395 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13396 dldir=$destdir/`dirname \$dlpath`~
13397 test -d \$dldir || mkdir -p \$dldir~
13398 $install_prog $dir/$dlname \$dldir/$dlname~
13399 chmod a+x \$dldir/$dlname~
13400 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13401 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13402 fi'
13403 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13404 dlpath=$dir/\$dldll~
13405 $RM \$dlpath'
13406 ;;
13407
13408 osf3* | osf4* | osf5*)
13409 version_type=osf
13410 need_lib_prefix=no
13411 need_version=no
13412 soname_spec='$libname$release$shared_ext$major'
13413 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13414 shlibpath_var=LD_LIBRARY_PATH
13415 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13416 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13417 ;;
13418
13419 rdos*)
13420 dynamic_linker=no
13421 ;;
13422
13423 serenity*)
13424 version_type=linux # correct to gnu/linux during the next big refactor
13425 need_lib_prefix=no
13426 need_version=no
13427 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13428 soname_spec='$libname$release$shared_ext$major'
13429 shlibpath_var=LD_LIBRARY_PATH
13430 shlibpath_overrides_runpath=no
13431 dynamic_linker='SerenityOS LibELF'
13432 ;;
13433
13434 solaris*)
13435 version_type=linux # correct to gnu/linux during the next big refactor
13436 need_lib_prefix=no
13437 need_version=no
13438 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13439 soname_spec='$libname$release$shared_ext$major'
13440 shlibpath_var=LD_LIBRARY_PATH
13441 shlibpath_overrides_runpath=yes
13442 hardcode_into_libs=yes
13443 # ldd complains unless libraries are executable
13444 postinstall_cmds='chmod +x $lib'
13445 ;;
13446
13447 sunos4*)
13448 version_type=sunos
13449 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13450 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13451 shlibpath_var=LD_LIBRARY_PATH
13452 shlibpath_overrides_runpath=yes
13453 if test yes = "$with_gnu_ld"; then
13454 need_lib_prefix=no
13455 fi
13456 need_version=yes
13457 ;;
13458
13459 sysv4 | sysv4.3*)
13460 version_type=linux # correct to gnu/linux during the next big refactor
13461 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13462 soname_spec='$libname$release$shared_ext$major'
13463 shlibpath_var=LD_LIBRARY_PATH
13464 case $host_vendor in
13465 sni)
13466 shlibpath_overrides_runpath=no
13467 need_lib_prefix=no
13468 runpath_var=LD_RUN_PATH
13469 ;;
13470 siemens)
13471 need_lib_prefix=no
13472 ;;
13473 motorola)
13474 need_lib_prefix=no
13475 need_version=no
13476 shlibpath_overrides_runpath=no
13477 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13478 ;;
13479 esac
13480 ;;
13481
13482 sysv4*MP*)
13483 if test -d /usr/nec; then
13484 version_type=linux # correct to gnu/linux during the next big refactor
13485 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13486 soname_spec='$libname$shared_ext.$major'
13487 shlibpath_var=LD_LIBRARY_PATH
13488 fi
13489 ;;
13490
13491 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13492 version_type=sco
13493 need_lib_prefix=no
13494 need_version=no
13495 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13496 soname_spec='$libname$release$shared_ext$major'
13497 shlibpath_var=LD_LIBRARY_PATH
13498 shlibpath_overrides_runpath=yes
13499 hardcode_into_libs=yes
13500 if test yes = "$with_gnu_ld"; then
13501 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13502 else
13503 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13504 case $host_os in
13505 sco3.2v5*)
13506 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13507 ;;
13508 esac
13509 fi
13510 sys_lib_dlsearch_path_spec='/usr/lib'
13511 ;;
13512
13513 tpf*)
13514 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13515 version_type=linux # correct to gnu/linux during the next big refactor
13516 need_lib_prefix=no
13517 need_version=no
13518 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13519 shlibpath_var=LD_LIBRARY_PATH
13520 shlibpath_overrides_runpath=no
13521 hardcode_into_libs=yes
13522 ;;
13523
13524 uts4*)
13525 version_type=linux # correct to gnu/linux during the next big refactor
13526 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13527 soname_spec='$libname$release$shared_ext$major'
13528 shlibpath_var=LD_LIBRARY_PATH
13529 ;;
13530
13531 emscripten*)
13532 version_type=none
13533 need_lib_prefix=no
13534 need_version=no
13535 library_names_spec='$libname$release$shared_ext'
13536 soname_spec='$libname$release$shared_ext'
13537 finish_cmds=
13538 dynamic_linker="Emscripten linker"
13539 lt_prog_compiler_wl=
13540 lt_prog_compiler_pic=
13541 lt_prog_compiler_static=
13542
13543
13544 if test yes = "$GCC"; then
13545 lt_prog_compiler_wl='-Wl,'
13546 lt_prog_compiler_static='-static'
13547
13548 case $host_os in
13549 aix*)
13550 # All AIX code is PIC.
13551 if test ia64 = "$host_cpu"; then
13552 # AIX 5 now supports IA64 processor
13553 lt_prog_compiler_static='-Bstatic'
13554 fi
13555 lt_prog_compiler_pic='-fPIC'
13556 ;;
13557
13558 amigaos*)
13559 case $host_cpu in
13560 powerpc)
13561 # see comment about AmigaOS4 .so support
13562 lt_prog_compiler_pic='-fPIC'
13563 ;;
13564 m68k)
13565 # FIXME: we need at least 68020 code to build shared libraries, but
13566 # adding the '-m68020' flag to GCC prevents building anything better,
13567 # like '-m68040'.
13568 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13569 ;;
13570 esac
13571 ;;
13572
13573 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13574 # PIC is the default for these OSes.
13575 ;;
13576
13577 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13578 # This hack is so that the source file can tell whether it is being
13579 # built for inclusion in a dll (and should export symbols for example).
13580 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13581 # (--disable-auto-import) libraries
13582 lt_prog_compiler_pic='-DDLL_EXPORT'
13583 case $host_os in
13584 os2*)
13585 lt_prog_compiler_static='$wl-static'
13586 ;;
13587 esac
13588 ;;
13589
13590 darwin* | rhapsody*)
13591 # PIC is the default on this platform
13592 # Common symbols not allowed in MH_DYLIB files
13593 lt_prog_compiler_pic='-fno-common'
13594 ;;
13595
13596 haiku*)
13597 # PIC is the default for Haiku.
13598 # The "-static" flag exists, but is broken.
13599 lt_prog_compiler_static=
13600 ;;
13601
13602 hpux*)
13603 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13604 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13605 # sets the default TLS model and affects inlining.
13606 case $host_cpu in
13607 hppa*64*)
13608 # +Z the default
13609 ;;
13610 *)
13611 lt_prog_compiler_pic='-fPIC'
13612 ;;
13613 esac
13614 ;;
13615
13616 interix[3-9]*)
13617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13618 # Instead, we relocate shared libraries at runtime.
13619 ;;
13620
13621 msdosdjgpp*)
13622 # Just because we use GCC doesn't mean we suddenly get shared libraries
13623 # on systems that don't support them.
13624 lt_prog_compiler_can_build_shared=no
13625 enable_shared=no
13626 ;;
13627
13628 *nto* | *qnx*)
13629 # QNX uses GNU C++, but need to define -shared option too, otherwise
13630 # it will coredump.
13631 lt_prog_compiler_pic='-fPIC -shared'
13632 ;;
13633
13634 sysv4*MP*)
13635 if test -d /usr/nec; then
13636 lt_prog_compiler_pic=-Kconform_pic
13637 fi
13638 ;;
13639
13640 *)
13641 lt_prog_compiler_pic='-fPIC'
13642 ;;
13643 esac
13644
13645 case $cc_basename in
13646 nvcc*) # Cuda Compiler Driver 2.2
13647 lt_prog_compiler_wl='-Xlinker '
13648 if test -n "$lt_prog_compiler_pic"; then
13649 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13650 fi
13651 ;;
13652 esac
13653 else
13654 # PORTME Check for flag to pass linker flags through the system compiler.
13655 case $host_os in
13656 aix*)
13657 lt_prog_compiler_wl='-Wl,'
13658 if test ia64 = "$host_cpu"; then
13659 # AIX 5 now supports IA64 processor
13660 lt_prog_compiler_static='-Bstatic'
13661 else
13662 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13663 fi
13664 ;;
13665
13666 darwin* | rhapsody*)
13667 # PIC is the default on this platform
13668 # Common symbols not allowed in MH_DYLIB files
13669 lt_prog_compiler_pic='-fno-common'
13670 case $cc_basename in
13671 nagfor*)
13672 # NAG Fortran compiler
13673 lt_prog_compiler_wl='-Wl,-Wl,,'
13674 lt_prog_compiler_pic='-PIC'
13675 lt_prog_compiler_static='-Bstatic'
13676 ;;
13677 esac
13678 ;;
13679
13680 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
13681 # This hack is so that the source file can tell whether it is being
13682 # built for inclusion in a dll (and should export symbols for example).
13683 lt_prog_compiler_pic='-DDLL_EXPORT'
13684 case $host_os in
13685 os2*)
13686 lt_prog_compiler_static='$wl-static'
13687 ;;
13688 esac
13689 ;;
13690
13691 hpux9* | hpux10* | hpux11*)
13692 lt_prog_compiler_wl='-Wl,'
13693 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13694 # not for PA HP-UX.
13695 case $host_cpu in
13696 hppa*64*|ia64*)
13697 # +Z the default
13698 ;;
13699 *)
13700 lt_prog_compiler_pic='+Z'
13701 ;;
13702 esac
13703 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13704 lt_prog_compiler_static='$wl-a ${wl}archive'
13705 ;;
13706
13707 irix5* | irix6* | nonstopux*)
13708 lt_prog_compiler_wl='-Wl,'
13709 # PIC (with -KPIC) is the default.
13710 lt_prog_compiler_static='-non_shared'
13711 ;;
13712
13713 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13714 case $cc_basename in
13715 # old Intel for x86_64, which still supported -KPIC.
13716 ecc*)
13717 lt_prog_compiler_wl='-Wl,'
13718 lt_prog_compiler_pic='-KPIC'
13719 lt_prog_compiler_static='-static'
13720 ;;
13721 *flang* | ftn | f18* | f95*)
13722 # Flang compiler.
13723 lt_prog_compiler_wl='-Wl,'
13724 lt_prog_compiler_pic='-fPIC'
13725 lt_prog_compiler_static='-static'
13726 ;;
13727 # icc used to be incompatible with GCC.
13728 # ICC 10 doesn't accept -KPIC any more.
13729 icc* | ifort*)
13730 lt_prog_compiler_wl='-Wl,'
13731 lt_prog_compiler_pic='-fPIC'
13732 lt_prog_compiler_static='-static'
13733 ;;
13734 # Lahey Fortran 8.1.
13735 lf95*)
13736 lt_prog_compiler_wl='-Wl,'
13737 lt_prog_compiler_pic='--shared'
13738 lt_prog_compiler_static='--static'
13739 ;;
13740 nagfor*)
13741 # NAG Fortran compiler
13742 lt_prog_compiler_wl='-Wl,-Wl,,'
13743 lt_prog_compiler_pic='-PIC'
13744 lt_prog_compiler_static='-Bstatic'
13745 ;;
13746 tcc*)
13747 # Fabrice Bellard et al's Tiny C Compiler
13748 lt_prog_compiler_wl='-Wl,'
13749 lt_prog_compiler_pic='-fPIC'
13750 lt_prog_compiler_static='-static'
13751 ;;
13752 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13753 # Portland Group compilers (*not* the Pentium gcc compiler,
13754 # which looks to be a dead project)
13755 lt_prog_compiler_wl='-Wl,'
13756 lt_prog_compiler_pic='-fpic'
13757 lt_prog_compiler_static='-Bstatic'
13758 ;;
13759 ccc*)
13760 lt_prog_compiler_wl='-Wl,'
13761 # All Alpha code is PIC.
13762 lt_prog_compiler_static='-non_shared'
13763 ;;
13764 xl* | bgxl* | bgf* | mpixl*)
13765 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13766 lt_prog_compiler_wl='-Wl,'
13767 lt_prog_compiler_pic='-qpic'
13768 lt_prog_compiler_static='-qstaticlink'
13769 ;;
13770 *)
13771 case `$CC -V 2>&1 | $SED 5q` in
13772 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13773 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13774 lt_prog_compiler_pic='-KPIC'
13775 lt_prog_compiler_static='-Bstatic'
13776 lt_prog_compiler_wl=''
13777 ;;
13778 *Sun\ F* | *Sun*Fortran*)
13779 lt_prog_compiler_pic='-KPIC'
13780 lt_prog_compiler_static='-Bstatic'
13781 lt_prog_compiler_wl='-Qoption ld '
13782 ;;
13783 *Sun\ C*)
13784 # Sun C 5.9
13785 lt_prog_compiler_pic='-KPIC'
13786 lt_prog_compiler_static='-Bstatic'
13787 lt_prog_compiler_wl='-Wl,'
13788 ;;
13789 *Intel*\ [CF]*Compiler*)
13790 lt_prog_compiler_wl='-Wl,'
13791 lt_prog_compiler_pic='-fPIC'
13792 lt_prog_compiler_static='-static'
13793 ;;
13794 *Portland\ Group*)
13795 lt_prog_compiler_wl='-Wl,'
13796 lt_prog_compiler_pic='-fpic'
13797 lt_prog_compiler_static='-Bstatic'
13798 ;;
13799 esac
13800 ;;
13801 esac
13802 ;;
13803
13804 newsos6)
13805 lt_prog_compiler_pic='-KPIC'
13806 lt_prog_compiler_static='-Bstatic'
13807 ;;
13808
13809 *-mlibc)
13810 lt_prog_compiler_wl='-Wl,'
13811 lt_prog_compiler_pic='-fPIC'
13812 lt_prog_compiler_static='-static'
13813 ;;
13814
13815 *nto* | *qnx*)
13816 # QNX uses GNU C++, but need to define -shared option too, otherwise
13817 # it will coredump.
13818 lt_prog_compiler_pic='-fPIC -shared'
13819 ;;
13820
13821 osf3* | osf4* | osf5*)
13822 lt_prog_compiler_wl='-Wl,'
13823 # All OSF/1 code is PIC.
13824 lt_prog_compiler_static='-non_shared'
13825 ;;
13826
13827 rdos*)
13828 lt_prog_compiler_static='-non_shared'
13829 ;;
13830
13831 serenity*)
13832 ;;
13833
13834 solaris*)
13835 lt_prog_compiler_pic='-KPIC'
13836 lt_prog_compiler_static='-Bstatic'
13837 case $cc_basename in
13838 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
13839 lt_prog_compiler_wl='-Qoption ld ';;
13840 *)
13841 lt_prog_compiler_wl='-Wl,';;
13842 esac
13843 ;;
13844
13845 sunos4*)
13846 lt_prog_compiler_wl='-Qoption ld '
13847 lt_prog_compiler_pic='-PIC'
13848 lt_prog_compiler_static='-Bstatic'
13849 ;;
13850
13851 sysv4 | sysv4.2uw2* | sysv4.3*)
13852 lt_prog_compiler_wl='-Wl,'
13853 lt_prog_compiler_pic='-KPIC'
13854 lt_prog_compiler_static='-Bstatic'
13855 ;;
13856
13857 sysv4*MP*)
13858 if test -d /usr/nec; then
13859 lt_prog_compiler_pic='-Kconform_pic'
13860 lt_prog_compiler_static='-Bstatic'
13861 fi
13862 ;;
13863
13864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13865 lt_prog_compiler_wl='-Wl,'
13866 lt_prog_compiler_pic='-KPIC'
13867 lt_prog_compiler_static='-Bstatic'
13868 ;;
13869
13870 unicos*)
13871 lt_prog_compiler_wl='-Wl,'
13872 lt_prog_compiler_can_build_shared=no
13873 ;;
13874
13875 uts4*)
13876 lt_prog_compiler_pic='-pic'
13877 lt_prog_compiler_static='-Bstatic'
13878 ;;
13879
13880 *)
13881 lt_prog_compiler_can_build_shared=no
13882 ;;
13883 esac
13884 fi
13885
13886 case $host_os in
13887 # For platforms that do not support PIC, -DPIC is meaningless:
13888 *djgpp*)
13889 lt_prog_compiler_pic=
13890 ;;
13891 *)
13892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13893 ;;
13894 esac
13895
13896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13897 printf %s "checking for $compiler option to produce PIC... " >&6; }
13898 if test ${lt_cv_prog_compiler_pic+y}
13899 then :
13900 printf %s "(cached) " >&6
13901 else case e in #(
13902 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
13903 esac
13904 fi
13905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13906 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
13907 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13908
13909 #
13910 # Check to make sure the PIC flag actually works.
13911 #
13912 if test -n "$lt_prog_compiler_pic"; then
13913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13914 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
13915 if test ${lt_cv_prog_compiler_pic_works+y}
13916 then :
13917 printf %s "(cached) " >&6
13918 else case e in #(
13919 e) lt_cv_prog_compiler_pic_works=no
13920 ac_outfile=conftest.$ac_objext
13921 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13922 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13923 # Insert the option either (1) after the last *FLAGS variable, or
13924 # (2) before a word containing "conftest.", or (3) at the end.
13925 # Note that $ac_compile itself does not contain backslashes and begins
13926 # with a dollar sign (not a hyphen), so the echo should work correctly.
13927 # The option is referenced via a variable to avoid confusing sed.
13928 lt_compile=`echo "$ac_compile" | $SED \
13929 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13930 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13931 -e 's:$: $lt_compiler_flag:'`
13932 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13933 (eval "$lt_compile" 2>conftest.err)
13934 ac_status=$?
13935 cat conftest.err >&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 if (exit $ac_status) && test -s "$ac_outfile"; then
13938 # The compiler can only warn and ignore the option if not recognized
13939 # So say no if there are warnings other than the usual output.
13940 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13941 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13942 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13943 lt_cv_prog_compiler_pic_works=yes
13944 fi
13945 fi
13946 $RM conftest*
13947 ;;
13948 esac
13949 fi
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13951 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
13952
13953 if test yes = "$lt_cv_prog_compiler_pic_works"; then
13954 case $lt_prog_compiler_pic in
13955 "" | " "*) ;;
13956 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13957 esac
13958 else
13959 lt_prog_compiler_pic=
13960 lt_prog_compiler_can_build_shared=no
13961 fi
13962
13963 fi
13964
13965
13966
13967
13968
13969 #
13970 # Check to make sure the static flag actually works.
13971 #
13972 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
13973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13974 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13975 if test ${lt_cv_prog_compiler_static_works+y}
13976 then :
13977 printf %s "(cached) " >&6
13978 else case e in #(
13979 e) lt_cv_prog_compiler_static_works=no
13980 save_LDFLAGS=$LDFLAGS
13981 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13982 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13983 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13984 # The linker can only warn and ignore the option if not recognized
13985 # So say no if there are warnings
13986 if test -s conftest.err; then
13987 # Append any errors to the config.log.
13988 cat conftest.err 1>&5
13989 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13990 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13991 if diff conftest.exp conftest.er2 >/dev/null; then
13992 lt_cv_prog_compiler_static_works=yes
13993 fi
13994 else
13995 lt_cv_prog_compiler_static_works=yes
13996 fi
13997 fi
13998 $RM -r conftest*
13999 LDFLAGS=$save_LDFLAGS
14000 ;;
14001 esac
14002 fi
14003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14004 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
14005
14006 if test yes = "$lt_cv_prog_compiler_static_works"; then
14007 :
14008 else
14009 lt_prog_compiler_static=
14010 fi
14011
14012
14013
14014 ='-fPIC'
14015 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
14016 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'
14017 archive_cmds_need_lc=no
14018 no_undefined_flag=
14019 ;;
14020
14021 *)
14022 dynamic_linker=no
14023 ;;
14024 esac
14025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14026 printf "%s\n" "$dynamic_linker" >&6; }
14027 test no = "$dynamic_linker" && can_build_shared=no
14028
14029 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14030 if test yes = "$GCC"; then
14031 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14032 fi
14033
14034 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14035 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14036 fi
14037
14038 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14039 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14040 fi
14041
14042 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14043 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14044
14045 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14046 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14047
14048 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14049 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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
14146
14147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14148 printf %s "checking how to hardcode library paths into programs... " >&6; }
14149 hardcode_action=
14150 if test -n "$hardcode_libdir_flag_spec" ||
14151 test -n "$runpath_var" ||
14152 test yes = "$hardcode_automatic"; then
14153
14154 # We can hardcode non-existent directories.
14155 if test no != "$hardcode_direct" &&
14156 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14157 # have to relink, otherwise we might link with an installed library
14158 # when we should be linking with a yet-to-be-installed one
14159 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14160 test no != "$hardcode_minus_L"; then
14161 # Linking always hardcodes the temporary library directory.
14162 hardcode_action=relink
14163 else
14164 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14165 hardcode_action=immediate
14166 fi
14167 else
14168 # We cannot hardcode anything, or else we can only hardcode existing
14169 # directories.
14170 hardcode_action=unsupported
14171 fi
14172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14173 printf "%s\n" "$hardcode_action" >&6; }
14174
14175 if test relink = "$hardcode_action" ||
14176 test yes = "$inherit_rpath"; then
14177 # Fast installation is not supported
14178 enable_fast_install=no
14179 elif test yes = "$shlibpath_overrides_runpath" ||
14180 test no = "$enable_shared"; then
14181 # Fast installation is not necessary
14182 enable_fast_install=needless
14183 fi
14184
14185
14186
14187
14188
14189
14190 if test yes != "$enable_dlopen"; then
14191 enable_dlopen=unknown
14192 enable_dlopen_self=unknown
14193 enable_dlopen_self_static=unknown
14194 else
14195 lt_cv_dlopen=no
14196 lt_cv_dlopen_libs=
14197
14198 case $host_os in
14199 beos*)
14200 lt_cv_dlopen=load_add_on
14201 lt_cv_dlopen_libs=
14202 lt_cv_dlopen_self=yes
14203 ;;
14204
14205 mingw* | windows* | pw32* | cegcc*)
14206 lt_cv_dlopen=LoadLibrary
14207 lt_cv_dlopen_libs=
14208 ;;
14209
14210 cygwin*)
14211 lt_cv_dlopen=dlopen
14212 lt_cv_dlopen_libs=
14213 ;;
14214
14215 darwin*)
14216 # if libdl is installed we need to link against it
14217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14218 printf %s "checking for dlopen in -ldl... " >&6; }
14219 if test ${ac_cv_lib_dl_dlopen+y}
14220 then :
14221 printf %s "(cached) " >&6
14222 else case e in #(
14223 e) ac_check_lib_save_LIBS=$LIBS
14224 LIBS="-ldl $LIBS"
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227
14228 /* Override any GCC internal prototype to avoid an error.
14229 Use char because int might match the return type of a GCC
14230 builtin and then its argument prototype would still apply.
14231 The 'extern "C"' is for builds by C++ compilers;
14232 although this is not generally supported in C code supporting it here
14233 has little cost and some practical benefit (sr 110532). */
14234 #ifdef __cplusplus
14235 extern "C"
14236 #endif
14237 char dlopen (void);
14238 int
14239 main (void)
14240 {
14241 return dlopen ();
14242 ;
14243 return 0;
14244 }
14245 _ACEOF
14246 if ac_fn_c_try_link "$LINENO"
14247 then :
14248 ac_cv_lib_dl_dlopen=yes
14249 else case e in #(
14250 e) ac_cv_lib_dl_dlopen=no ;;
14251 esac
14252 fi
14253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14254 conftest$ac_exeext conftest.$ac_ext
14255 LIBS=$ac_check_lib_save_LIBS ;;
14256 esac
14257 fi
14258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14259 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14260 if test "x$ac_cv_lib_dl_dlopen" = xyes
14261 then :
14262 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14263 else case e in #(
14264 e)
14265 lt_cv_dlopen=dyld
14266 lt_cv_dlopen_libs=
14267 lt_cv_dlopen_self=yes
14268 ;;
14269 esac
14270 fi
14271
14272 ;;
14273
14274 tpf*)
14275 # Don't try to run any link tests for TPF. We know it's impossible
14276 # because TPF is a cross-compiler, and we know how we open DSOs.
14277 lt_cv_dlopen=dlopen
14278 lt_cv_dlopen_libs=
14279 lt_cv_dlopen_self=no
14280 ;;
14281
14282 *)
14283 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14284 if test "x$ac_cv_func_shl_load" = xyes
14285 then :
14286 lt_cv_dlopen=shl_load
14287 else case e in #(
14288 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14289 printf %s "checking for shl_load in -ldld... " >&6; }
14290 if test ${ac_cv_lib_dld_shl_load+y}
14291 then :
14292 printf %s "(cached) " >&6
14293 else case e in #(
14294 e) ac_check_lib_save_LIBS=$LIBS
14295 LIBS="-ldld $LIBS"
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298
14299 /* Override any GCC internal prototype to avoid an error.
14300 Use char because int might match the return type of a GCC
14301 builtin and then its argument prototype would still apply.
14302 The 'extern "C"' is for builds by C++ compilers;
14303 although this is not generally supported in C code supporting it here
14304 has little cost and some practical benefit (sr 110532). */
14305 #ifdef __cplusplus
14306 extern "C"
14307 #endif
14308 char shl_load (void);
14309 int
14310 main (void)
14311 {
14312 return shl_load ();
14313 ;
14314 return 0;
14315 }
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"
14318 then :
14319 ac_cv_lib_dld_shl_load=yes
14320 else case e in #(
14321 e) ac_cv_lib_dld_shl_load=no ;;
14322 esac
14323 fi
14324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14325 conftest$ac_exeext conftest.$ac_ext
14326 LIBS=$ac_check_lib_save_LIBS ;;
14327 esac
14328 fi
14329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14330 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14331 if test "x$ac_cv_lib_dld_shl_load" = xyes
14332 then :
14333 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14334 else case e in #(
14335 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14336 if test "x$ac_cv_func_dlopen" = xyes
14337 then :
14338 lt_cv_dlopen=dlopen
14339 else case e in #(
14340 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14341 printf %s "checking for dlopen in -ldl... " >&6; }
14342 if test ${ac_cv_lib_dl_dlopen+y}
14343 then :
14344 printf %s "(cached) " >&6
14345 else case e in #(
14346 e) ac_check_lib_save_LIBS=$LIBS
14347 LIBS="-ldl $LIBS"
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14350
14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply.
14354 The 'extern "C"' is for builds by C++ compilers;
14355 although this is not generally supported in C code supporting it here
14356 has little cost and some practical benefit (sr 110532). */
14357 #ifdef __cplusplus
14358 extern "C"
14359 #endif
14360 char dlopen (void);
14361 int
14362 main (void)
14363 {
14364 return dlopen ();
14365 ;
14366 return 0;
14367 }
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"
14370 then :
14371 ac_cv_lib_dl_dlopen=yes
14372 else case e in #(
14373 e) ac_cv_lib_dl_dlopen=no ;;
14374 esac
14375 fi
14376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14377 conftest$ac_exeext conftest.$ac_ext
14378 LIBS=$ac_check_lib_save_LIBS ;;
14379 esac
14380 fi
14381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14382 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14383 if test "x$ac_cv_lib_dl_dlopen" = xyes
14384 then :
14385 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14386 else case e in #(
14387 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14388 printf %s "checking for dlopen in -lsvld... " >&6; }
14389 if test ${ac_cv_lib_svld_dlopen+y}
14390 then :
14391 printf %s "(cached) " >&6
14392 else case e in #(
14393 e) ac_check_lib_save_LIBS=$LIBS
14394 LIBS="-lsvld $LIBS"
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14397
14398 /* Override any GCC internal prototype to avoid an error.
14399 Use char because int might match the return type of a GCC
14400 builtin and then its argument prototype would still apply.
14401 The 'extern "C"' is for builds by C++ compilers;
14402 although this is not generally supported in C code supporting it here
14403 has little cost and some practical benefit (sr 110532). */
14404 #ifdef __cplusplus
14405 extern "C"
14406 #endif
14407 char dlopen (void);
14408 int
14409 main (void)
14410 {
14411 return dlopen ();
14412 ;
14413 return 0;
14414 }
14415 _ACEOF
14416 if ac_fn_c_try_link "$LINENO"
14417 then :
14418 ac_cv_lib_svld_dlopen=yes
14419 else case e in #(
14420 e) ac_cv_lib_svld_dlopen=no ;;
14421 esac
14422 fi
14423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14424 conftest$ac_exeext conftest.$ac_ext
14425 LIBS=$ac_check_lib_save_LIBS ;;
14426 esac
14427 fi
14428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14429 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14430 if test "x$ac_cv_lib_svld_dlopen" = xyes
14431 then :
14432 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14433 else case e in #(
14434 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14435 printf %s "checking for dld_link in -ldld... " >&6; }
14436 if test ${ac_cv_lib_dld_dld_link+y}
14437 then :
14438 printf %s "(cached) " >&6
14439 else case e in #(
14440 e) ac_check_lib_save_LIBS=$LIBS
14441 LIBS="-ldld $LIBS"
14442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14444
14445 /* Override any GCC internal prototype to avoid an error.
14446 Use char because int might match the return type of a GCC
14447 builtin and then its argument prototype would still apply.
14448 The 'extern "C"' is for builds by C++ compilers;
14449 although this is not generally supported in C code supporting it here
14450 has little cost and some practical benefit (sr 110532). */
14451 #ifdef __cplusplus
14452 extern "C"
14453 #endif
14454 char dld_link (void);
14455 int
14456 main (void)
14457 {
14458 return dld_link ();
14459 ;
14460 return 0;
14461 }
14462 _ACEOF
14463 if ac_fn_c_try_link "$LINENO"
14464 then :
14465 ac_cv_lib_dld_dld_link=yes
14466 else case e in #(
14467 e) ac_cv_lib_dld_dld_link=no ;;
14468 esac
14469 fi
14470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14471 conftest$ac_exeext conftest.$ac_ext
14472 LIBS=$ac_check_lib_save_LIBS ;;
14473 esac
14474 fi
14475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14476 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14477 if test "x$ac_cv_lib_dld_dld_link" = xyes
14478 then :
14479 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14480 fi
14481
14482 ;;
14483 esac
14484 fi
14485
14486 ;;
14487 esac
14488 fi
14489
14490 ;;
14491 esac
14492 fi
14493
14494 ;;
14495 esac
14496 fi
14497
14498 ;;
14499 esac
14500 fi
14501
14502 ;;
14503 esac
14504
14505 if test no = "$lt_cv_dlopen"; then
14506 enable_dlopen=no
14507 else
14508 enable_dlopen=yes
14509 fi
14510
14511 case $lt_cv_dlopen in
14512 dlopen)
14513 save_CPPFLAGS=$CPPFLAGS
14514 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14515
14516 save_LDFLAGS=$LDFLAGS
14517 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14518
14519 save_LIBS=$LIBS
14520 LIBS="$lt_cv_dlopen_libs $LIBS"
14521
14522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14523 printf %s "checking whether a program can dlopen itself... " >&6; }
14524 if test ${lt_cv_dlopen_self+y}
14525 then :
14526 printf %s "(cached) " >&6
14527 else case e in #(
14528 e) if test yes = "$cross_compiling"; then :
14529 lt_cv_dlopen_self=cross
14530 else
14531 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14532 lt_status=$lt_dlunknown
14533 cat > conftest.$ac_ext <<_LT_EOF
14534 #line $LINENO "configure"
14535 #include "confdefs.h"
14536
14537 #if HAVE_DLFCN_H
14538 #include <dlfcn.h>
14539 #endif
14540
14541 #include <stdio.h>
14542
14543 #ifdef RTLD_GLOBAL
14544 # define LT_DLGLOBAL RTLD_GLOBAL
14545 #else
14546 # ifdef DL_GLOBAL
14547 # define LT_DLGLOBAL DL_GLOBAL
14548 # else
14549 # define LT_DLGLOBAL 0
14550 # endif
14551 #endif
14552
14553 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14554 find out it does not work in some platform. */
14555 #ifndef LT_DLLAZY_OR_NOW
14556 # ifdef RTLD_LAZY
14557 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14558 # else
14559 # ifdef DL_LAZY
14560 # define LT_DLLAZY_OR_NOW DL_LAZY
14561 # else
14562 # ifdef RTLD_NOW
14563 # define LT_DLLAZY_OR_NOW RTLD_NOW
14564 # else
14565 # ifdef DL_NOW
14566 # define LT_DLLAZY_OR_NOW DL_NOW
14567 # else
14568 # define LT_DLLAZY_OR_NOW 0
14569 # endif
14570 # endif
14571 # endif
14572 # endif
14573 #endif
14574
14575 /* When -fvisibility=hidden is used, assume the code has been annotated
14576 correspondingly for the symbols needed. */
14577 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14578 int fnord (void) __attribute__((visibility("default")));
14579 #endif
14580
14581 int fnord (void) { return 42; }
14582 int main (void)
14583 {
14584 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14585 int status = $lt_dlunknown;
14586
14587 if (self)
14588 {
14589 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14590 else
14591 {
14592 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14593 else puts (dlerror ());
14594 }
14595 /* dlclose (self); */
14596 }
14597 else
14598 puts (dlerror ());
14599
14600 return status;
14601 }
14602 _LT_EOF
14603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14604 (eval $ac_link) 2>&5
14605 ac_status=$?
14606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14607 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14608 (./conftest; exit; ) >&5 2>/dev/null
14609 lt_status=$?
14610 case x$lt_status in
14611 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14612 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14613 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14614 esac
14615 else :
14616 # compilation failed
14617 lt_cv_dlopen_self=no
14618 fi
14619 fi
14620 rm -fr conftest*
14621
14622 ;;
14623 esac
14624 fi
14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14626 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14627
14628 if test yes = "$lt_cv_dlopen_self"; then
14629 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14631 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14632 if test ${lt_cv_dlopen_self_static+y}
14633 then :
14634 printf %s "(cached) " >&6
14635 else case e in #(
14636 e) if test yes = "$cross_compiling"; then :
14637 lt_cv_dlopen_self_static=cross
14638 else
14639 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14640 lt_status=$lt_dlunknown
14641 cat > conftest.$ac_ext <<_LT_EOF
14642 #line $LINENO "configure"
14643 #include "confdefs.h"
14644
14645 #if HAVE_DLFCN_H
14646 #include <dlfcn.h>
14647 #endif
14648
14649 #include <stdio.h>
14650
14651 #ifdef RTLD_GLOBAL
14652 # define LT_DLGLOBAL RTLD_GLOBAL
14653 #else
14654 # ifdef DL_GLOBAL
14655 # define LT_DLGLOBAL DL_GLOBAL
14656 # else
14657 # define LT_DLGLOBAL 0
14658 # endif
14659 #endif
14660
14661 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14662 find out it does not work in some platform. */
14663 #ifndef LT_DLLAZY_OR_NOW
14664 # ifdef RTLD_LAZY
14665 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14666 # else
14667 # ifdef DL_LAZY
14668 # define LT_DLLAZY_OR_NOW DL_LAZY
14669 # else
14670 # ifdef RTLD_NOW
14671 # define LT_DLLAZY_OR_NOW RTLD_NOW
14672 # else
14673 # ifdef DL_NOW
14674 # define LT_DLLAZY_OR_NOW DL_NOW
14675 # else
14676 # define LT_DLLAZY_OR_NOW 0
14677 # endif
14678 # endif
14679 # endif
14680 # endif
14681 #endif
14682
14683 /* When -fvisibility=hidden is used, assume the code has been annotated
14684 correspondingly for the symbols needed. */
14685 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14686 int fnord (void) __attribute__((visibility("default")));
14687 #endif
14688
14689 int fnord (void) { return 42; }
14690 int main (void)
14691 {
14692 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14693 int status = $lt_dlunknown;
14694
14695 if (self)
14696 {
14697 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14698 else
14699 {
14700 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14701 else puts (dlerror ());
14702 }
14703 /* dlclose (self); */
14704 }
14705 else
14706 puts (dlerror ());
14707
14708 return status;
14709 }
14710 _LT_EOF
14711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14712 (eval $ac_link) 2>&5
14713 ac_status=$?
14714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14715 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14716 (./conftest; exit; ) >&5 2>/dev/null
14717 lt_status=$?
14718 case x$lt_status in
14719 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14720 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14721 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14722 esac
14723 else :
14724 # compilation failed
14725 lt_cv_dlopen_self_static=no
14726 fi
14727 fi
14728 rm -fr conftest*
14729
14730 ;;
14731 esac
14732 fi
14733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14734 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14735 fi
14736
14737 CPPFLAGS=$save_CPPFLAGS
14738 LDFLAGS=$save_LDFLAGS
14739 LIBS=$save_LIBS
14740 ;;
14741 esac
14742
14743 case $lt_cv_dlopen_self in
14744 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14745 *) enable_dlopen_self=unknown ;;
14746 esac
14747
14748 case $lt_cv_dlopen_self_static in
14749 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14750 *) enable_dlopen_self_static=unknown ;;
14751 esac
14752 fi
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770 striplib=
14771 old_striplib=
14772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14773 printf %s "checking whether stripping libraries is possible... " >&6; }
14774 if test -z "$STRIP"; then
14775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14776 printf "%s\n" "no" >&6; }
14777 else
14778 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14779 old_striplib="$STRIP --strip-debug"
14780 striplib="$STRIP --strip-unneeded"
14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14782 printf "%s\n" "yes" >&6; }
14783 else
14784 case $host_os in
14785 darwin*)
14786 # FIXME - insert some real tests, host_os isn't really good enough
14787 striplib="$STRIP -x"
14788 old_striplib="$STRIP -S"
14789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14790 printf "%s\n" "yes" >&6; }
14791 ;;
14792 freebsd*)
14793 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
14794 old_striplib="$STRIP --strip-debug"
14795 striplib="$STRIP --strip-unneeded"
14796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14797 printf "%s\n" "yes" >&6; }
14798 else
14799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14800 printf "%s\n" "no" >&6; }
14801 fi
14802 ;;
14803 *)
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14805 printf "%s\n" "no" >&6; }
14806 ;;
14807 esac
14808 fi
14809 fi
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822 # Report what library types will actually be built
14823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14824 printf %s "checking if libtool supports shared libraries... " >&6; }
14825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14826 printf "%s\n" "$can_build_shared" >&6; }
14827
14828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14829 printf %s "checking whether to build shared libraries... " >&6; }
14830 test no = "$can_build_shared" && enable_shared=no
14831
14832 # On AIX, shared libraries and static libraries use the same namespace, and
14833 # are all built from PIC.
14834 case $host_os in
14835 aix3*)
14836 test yes = "$enable_shared" && enable_static=no
14837 if test -n "$RANLIB"; then
14838 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14839 postinstall_cmds='$RANLIB $lib'
14840 fi
14841 ;;
14842
14843 aix[4-9]*)
14844 if test ia64 != "$host_cpu"; then
14845 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14846 yes,aix,yes) ;; # shared object as lib.so file only
14847 yes,svr4,*) ;; # shared object as lib.so archive member only
14848 yes,*) enable_static=no ;; # shared object in lib.a archive as well
14849 esac
14850 fi
14851 ;;
14852 esac
14853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14854 printf "%s\n" "$enable_shared" >&6; }
14855
14856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14857 printf %s "checking whether to build static libraries... " >&6; }
14858 # Make sure either enable_shared or enable_static is yes.
14859 test yes = "$enable_shared" || enable_static=yes
14860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14861 printf "%s\n" "$enable_static" >&6; }
14862
14863
14864
14865
14866 fi
14867 ac_ext=c
14868 ac_cpp='$CPP $CPPFLAGS'
14869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14872
14873 CC=$lt_save_CC
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889 ac_config_commands="$ac_config_commands libtool"
14890
14891
14892
14893
14894 # Only expand once:
14895
14896
14897 # (end lt_init)
14898 # Check whether --enable-largefile was given.
14899 if test ${enable_largefile+y}
14900 then :
14901 enableval=$enable_largefile;
14902 fi
14903 if test "$enable_largefile,$enable_year2038" != no,no
14904 then :
14905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
14906 printf %s "checking for $CC option to enable large file support... " >&6; }
14907 if test ${ac_cv_sys_largefile_opts+y}
14908 then :
14909 printf %s "(cached) " >&6
14910 else case e in #(
14911 e) ac_save_CC="$CC"
14912 ac_opt_found=no
14913 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
14914 if test x"$ac_opt" != x"none needed"
14915 then :
14916 CC="$ac_save_CC $ac_opt"
14917 fi
14918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14919 /* end confdefs.h. */
14920 #include <sys/types.h>
14921 #ifndef FTYPE
14922 # define FTYPE off_t
14923 #endif
14924 /* Check that FTYPE can represent 2**63 - 1 correctly.
14925 We can't simply define LARGE_FTYPE to be 9223372036854775807,
14926 since some C++ compilers masquerading as C compilers
14927 incorrectly reject 9223372036854775807. */
14928 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
14929 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
14930 && LARGE_FTYPE % 2147483647 == 1)
14931 ? 1 : -1];
14932 int
14933 main (void)
14934 {
14935
14936 ;
14937 return 0;
14938 }
14939 _ACEOF
14940 if ac_fn_c_try_compile "$LINENO"
14941 then :
14942 if test x"$ac_opt" = x"none needed"
14943 then :
14944 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
14945 CC="$CC -DFTYPE=ino_t"
14946 if ac_fn_c_try_compile "$LINENO"
14947 then :
14948
14949 else case e in #(
14950 e) CC="$CC -D_FILE_OFFSET_BITS=64"
14951 if ac_fn_c_try_compile "$LINENO"
14952 then :
14953 ac_opt='-D_FILE_OFFSET_BITS=64'
14954 fi
14955 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
14956 esac
14957 fi
14958 rm -f core conftest.err conftest.$ac_objext conftest.beam
14959 fi
14960 ac_cv_sys_largefile_opts=$ac_opt
14961 ac_opt_found=yes
14962 fi
14963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14964 test $ac_opt_found = no || break
14965 done
14966 CC="$ac_save_CC"
14967
14968 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
14969 esac
14970 fi
14971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
14972 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
14973
14974 ac_have_largefile=yes
14975 case $ac_cv_sys_largefile_opts in #(
14976 "none needed") :
14977 ;; #(
14978 "supported through gnulib") :
14979 ;; #(
14980 "support not detected") :
14981 ac_have_largefile=no ;; #(
14982 "-D_FILE_OFFSET_BITS=64") :
14983
14984 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
14985 ;; #(
14986 "-D_LARGE_FILES=1") :
14987
14988 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
14989 ;; #(
14990 "-n32") :
14991 CC="$CC -n32" ;; #(
14992 *) :
14993 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
14994 esac
14995
14996 if test "$enable_year2038" != no
14997 then :
14998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
14999 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
15000 if test ${ac_cv_sys_year2038_opts+y}
15001 then :
15002 printf %s "(cached) " >&6
15003 else case e in #(
15004 e) ac_save_CPPFLAGS="$CPPFLAGS"
15005 ac_opt_found=no
15006 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
15007 if test x"$ac_opt" != x"none needed"
15008 then :
15009 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
15010 fi
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15013
15014 #include <time.h>
15015 /* Check that time_t can represent 2**32 - 1 correctly. */
15016 #define LARGE_TIME_T \\
15017 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
15018 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
15019 && LARGE_TIME_T % 65537 == 0)
15020 ? 1 : -1];
15021
15022 int
15023 main (void)
15024 {
15025
15026 ;
15027 return 0;
15028 }
15029 _ACEOF
15030 if ac_fn_c_try_compile "$LINENO"
15031 then :
15032 ac_cv_sys_year2038_opts="$ac_opt"
15033 ac_opt_found=yes
15034 fi
15035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15036 test $ac_opt_found = no || break
15037 done
15038 CPPFLAGS="$ac_save_CPPFLAGS"
15039 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
15040 esac
15041 fi
15042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
15043 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
15044
15045 ac_have_year2038=yes
15046 case $ac_cv_sys_year2038_opts in #(
15047 "none needed") :
15048 ;; #(
15049 "support not detected") :
15050 ac_have_year2038=no ;; #(
15051 "-D_TIME_BITS=64") :
15052
15053 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
15054 ;; #(
15055 "-D__MINGW_USE_VC2005_COMPAT") :
15056
15057 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
15058 ;; #(
15059 "-U_USE_32_BIT_TIME_T"*) :
15060 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15061 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15062 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
15063 will stop working after mid-January 2038. Remove
15064 _USE_32BIT_TIME_T from the compiler flags.
15065 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15066 *) :
15067 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
15068 esac
15069
15070 fi
15071
15072 fi
15073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
15074 printf %s "checking for declarations of fseeko and ftello... " >&6; }
15075 if test ${ac_cv_func_fseeko_ftello+y}
15076 then :
15077 printf %s "(cached) " >&6
15078 else case e in #(
15079 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15081
15082 #if defined __hpux && !defined _LARGEFILE_SOURCE
15083 # include <limits.h>
15084 # if LONG_MAX >> 31 == 0
15085 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15086 # endif
15087 #endif
15088 #include <sys/types.h> /* for off_t */
15089 #include <stdio.h>
15090
15091 int
15092 main (void)
15093 {
15094
15095 int (*fp1) (FILE *, off_t, int) = fseeko;
15096 off_t (*fp2) (FILE *) = ftello;
15097 return fseeko (stdin, 0, 0)
15098 && fp1 (stdin, 0, 0)
15099 && ftello (stdin) >= 0
15100 && fp2 (stdin) >= 0;
15101
15102 ;
15103 return 0;
15104 }
15105 _ACEOF
15106 if ac_fn_c_try_compile "$LINENO"
15107 then :
15108 ac_cv_func_fseeko_ftello=yes
15109 else case e in #(
15110 e) ac_save_CPPFLAGS="$CPPFLAGS"
15111 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
15112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h. */
15114
15115 #if defined __hpux && !defined _LARGEFILE_SOURCE
15116 # include <limits.h>
15117 # if LONG_MAX >> 31 == 0
15118 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
15119 # endif
15120 #endif
15121 #include <sys/types.h> /* for off_t */
15122 #include <stdio.h>
15123
15124 int
15125 main (void)
15126 {
15127
15128 int (*fp1) (FILE *, off_t, int) = fseeko;
15129 off_t (*fp2) (FILE *) = ftello;
15130 return fseeko (stdin, 0, 0)
15131 && fp1 (stdin, 0, 0)
15132 && ftello (stdin) >= 0
15133 && fp2 (stdin) >= 0;
15134
15135 ;
15136 return 0;
15137 }
15138 _ACEOF
15139 if ac_fn_c_try_compile "$LINENO"
15140 then :
15141 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
15142 else case e in #(
15143 e) ac_cv_func_fseeko_ftello=no ;;
15144 esac
15145 fi
15146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15147 esac
15148 fi
15149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15150 esac
15151 fi
15152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
15153 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
15154 if test "$ac_cv_func_fseeko_ftello" != no
15155 then :
15156
15157 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
15158
15159 fi
15160 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
15161 then :
15162
15163 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
15164
15165 fi
15166
15167 ac_header_dirent=no
15168 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15169 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
15170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15171 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
15172 if eval test \${$as_ac_Header+y}
15173 then :
15174 printf %s "(cached) " >&6
15175 else case e in #(
15176 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15178 #include <sys/types.h>
15179 #include <$ac_hdr>
15180
15181 int
15182 main (void)
15183 {
15184 if ((DIR *) 0)
15185 return 0;
15186 ;
15187 return 0;
15188 }
15189 _ACEOF
15190 if ac_fn_c_try_compile "$LINENO"
15191 then :
15192 eval "$as_ac_Header=yes"
15193 else case e in #(
15194 e) eval "$as_ac_Header=no" ;;
15195 esac
15196 fi
15197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15198 esac
15199 fi
15200 eval ac_res=\$$as_ac_Header
15201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15202 printf "%s\n" "$ac_res" >&6; }
15203 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15204 then :
15205 cat >>confdefs.h <<_ACEOF
15206 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
15207 _ACEOF
15208
15209 ac_header_dirent=$ac_hdr; break
15210 fi
15211
15212 done
15213 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15214 if test $ac_header_dirent = dirent.h; then
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15216 printf %s "checking for library containing opendir... " >&6; }
15217 if test ${ac_cv_search_opendir+y}
15218 then :
15219 printf %s "(cached) " >&6
15220 else case e in #(
15221 e) ac_func_search_save_LIBS=$LIBS
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224
15225 /* Override any GCC internal prototype to avoid an error.
15226 Use char because int might match the return type of a GCC
15227 builtin and then its argument prototype would still apply.
15228 The 'extern "C"' is for builds by C++ compilers;
15229 although this is not generally supported in C code supporting it here
15230 has little cost and some practical benefit (sr 110532). */
15231 #ifdef __cplusplus
15232 extern "C"
15233 #endif
15234 char opendir (void);
15235 int
15236 main (void)
15237 {
15238 return opendir ();
15239 ;
15240 return 0;
15241 }
15242 _ACEOF
15243 for ac_lib in '' dir
15244 do
15245 if test -z "$ac_lib"; then
15246 ac_res="none required"
15247 else
15248 ac_res=-l$ac_lib
15249 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15250 fi
15251 if ac_fn_c_try_link "$LINENO"
15252 then :
15253 ac_cv_search_opendir=$ac_res
15254 fi
15255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15256 conftest$ac_exeext
15257 if test ${ac_cv_search_opendir+y}
15258 then :
15259 break
15260 fi
15261 done
15262 if test ${ac_cv_search_opendir+y}
15263 then :
15264
15265 else case e in #(
15266 e) ac_cv_search_opendir=no ;;
15267 esac
15268 fi
15269 rm conftest.$ac_ext
15270 LIBS=$ac_func_search_save_LIBS ;;
15271 esac
15272 fi
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15274 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15275 ac_res=$ac_cv_search_opendir
15276 if test "$ac_res" != no
15277 then :
15278 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15279
15280 fi
15281
15282 else
15283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15284 printf %s "checking for library containing opendir... " >&6; }
15285 if test ${ac_cv_search_opendir+y}
15286 then :
15287 printf %s "(cached) " >&6
15288 else case e in #(
15289 e) ac_func_search_save_LIBS=$LIBS
15290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15291 /* end confdefs.h. */
15292
15293 /* Override any GCC internal prototype to avoid an error.
15294 Use char because int might match the return type of a GCC
15295 builtin and then its argument prototype would still apply.
15296 The 'extern "C"' is for builds by C++ compilers;
15297 although this is not generally supported in C code supporting it here
15298 has little cost and some practical benefit (sr 110532). */
15299 #ifdef __cplusplus
15300 extern "C"
15301 #endif
15302 char opendir (void);
15303 int
15304 main (void)
15305 {
15306 return opendir ();
15307 ;
15308 return 0;
15309 }
15310 _ACEOF
15311 for ac_lib in '' x
15312 do
15313 if test -z "$ac_lib"; then
15314 ac_res="none required"
15315 else
15316 ac_res=-l$ac_lib
15317 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15318 fi
15319 if ac_fn_c_try_link "$LINENO"
15320 then :
15321 ac_cv_search_opendir=$ac_res
15322 fi
15323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15324 conftest$ac_exeext
15325 if test ${ac_cv_search_opendir+y}
15326 then :
15327 break
15328 fi
15329 done
15330 if test ${ac_cv_search_opendir+y}
15331 then :
15332
15333 else case e in #(
15334 e) ac_cv_search_opendir=no ;;
15335 esac
15336 fi
15337 rm conftest.$ac_ext
15338 LIBS=$ac_func_search_save_LIBS ;;
15339 esac
15340 fi
15341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15342 printf "%s\n" "$ac_cv_search_opendir" >&6; }
15343 ac_res=$ac_cv_search_opendir
15344 if test "$ac_res" != no
15345 then :
15346 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15347
15348 fi
15349
15350 fi
15351
15352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
15353 printf %s "checking whether closedir returns void... " >&6; }
15354 if test ${ac_cv_func_closedir_void+y}
15355 then :
15356 printf %s "(cached) " >&6
15357 else case e in #(
15358 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15360
15361 #include <$ac_header_dirent>
15362
15363 int
15364 main (void)
15365 {
15366
15367 return closedir(0);
15368
15369 ;
15370 return 0;
15371 }
15372 _ACEOF
15373 if ac_fn_c_try_compile "$LINENO"
15374 then :
15375 ac_cv_func_closedir_void=no
15376 else case e in #(
15377 e) ac_cv_func_closedir_void=yes ;;
15378 esac
15379 fi
15380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15381 esac
15382 fi
15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
15384 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
15385 if test $ac_cv_func_closedir_void = yes; then
15386
15387 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
15388
15389 fi
15390
15391 ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
15392 if test "x$ac_cv_header_assert_h" = xyes
15393 then :
15394 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
15395
15396 fi
15397 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
15398 if test "x$ac_cv_header_float_h" = xyes
15399 then :
15400 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
15401
15402 fi
15403 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15404 if test "x$ac_cv_header_limits_h" = xyes
15405 then :
15406 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15407
15408 fi
15409 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
15410 if test "x$ac_cv_header_pwd_h" = xyes
15411 then :
15412 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
15413
15414 fi
15415 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15416 if test "x$ac_cv_header_stdlib_h" = xyes
15417 then :
15418 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15419
15420 fi
15421 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15422 if test "x$ac_cv_header_sys_param_h" = xyes
15423 then :
15424 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
15425
15426 fi
15427
15428 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
15429 if test "x$ac_cv_func_putenv" = xyes
15430 then :
15431 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
15432
15433 fi
15434
15435 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
15436 if test "x$ac_cv_func_getcwd" = xyes
15437 then :
15438 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
15439
15440 fi
15441 ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp"
15442 if test "x$ac_cv_func_memcmp" = xyes
15443 then :
15444 printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h
15445
15446 fi
15447 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
15448 if test "x$ac_cv_func_memcpy" = xyes
15449 then :
15450 printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
15451
15452 fi
15453 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
15454 if test "x$ac_cv_func_mkstemp" = xyes
15455 then :
15456 printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
15457
15458 fi
15459 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
15460 if test "x$ac_cv_func_mktemp" = xyes
15461 then :
15462 printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
15463
15464 fi
15465 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
15466 if test "x$ac_cv_func_strchr" = xyes
15467 then :
15468 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
15469
15470 fi
15471 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
15472 if test "x$ac_cv_func_strrchr" = xyes
15473 then :
15474 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
15475
15476 fi
15477
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15479 printf %s "checking for an ANSI C-conforming const... " >&6; }
15480 if test ${ac_cv_c_const+y}
15481 then :
15482 printf %s "(cached) " >&6
15483 else case e in #(
15484 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15485 /* end confdefs.h. */
15486
15487 int
15488 main (void)
15489 {
15490
15491 #ifndef __cplusplus
15492 /* Ultrix mips cc rejects this sort of thing. */
15493 typedef int charset[2];
15494 const charset cs = { 0, 0 };
15495 /* SunOS 4.1.1 cc rejects this. */
15496 char const *const *pcpcc;
15497 char **ppc;
15498 /* NEC SVR4.0.2 mips cc rejects this. */
15499 struct point {int x, y;};
15500 static struct point const zero = {0,0};
15501 /* IBM XL C 1.02.0.0 rejects this.
15502 It does not let you subtract one const X* pointer from another in
15503 an arm of an if-expression whose if-part is not a constant
15504 expression */
15505 const char *g = "string";
15506 pcpcc = &g + (g ? g-g : 0);
15507 /* HPUX 7.0 cc rejects these. */
15508 ++pcpcc;
15509 ppc = (char**) pcpcc;
15510 pcpcc = (char const *const *) ppc;
15511 { /* SCO 3.2v4 cc rejects this sort of thing. */
15512 char tx;
15513 char *t = &tx;
15514 char const *s = 0 ? (char *) 0 : (char const *) 0;
15515
15516 *t++ = 0;
15517 if (s) return 0;
15518 }
15519 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15520 int x[] = {25, 17};
15521 const int *foo = &x[0];
15522 ++foo;
15523 }
15524 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15525 typedef const int *iptr;
15526 iptr p = 0;
15527 ++p;
15528 }
15529 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
15530 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15531 struct s { int j; const int *ap[3]; } bx;
15532 struct s *b = &bx; b->j = 5;
15533 }
15534 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15535 const int foo = 10;
15536 if (!foo) return 0;
15537 }
15538 return !cs[0] && !zero.x;
15539 #endif
15540
15541 ;
15542 return 0;
15543 }
15544 _ACEOF
15545 if ac_fn_c_try_compile "$LINENO"
15546 then :
15547 ac_cv_c_const=yes
15548 else case e in #(
15549 e) ac_cv_c_const=no ;;
15550 esac
15551 fi
15552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15553 esac
15554 fi
15555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15556 printf "%s\n" "$ac_cv_c_const" >&6; }
15557 if test $ac_cv_c_const = no; then
15558
15559 printf "%s\n" "#define const /**/" >>confdefs.h
15560
15561 fi
15562
15563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15564 printf %s "checking for inline... " >&6; }
15565 if test ${ac_cv_c_inline+y}
15566 then :
15567 printf %s "(cached) " >&6
15568 else case e in #(
15569 e) ac_cv_c_inline=no
15570 for ac_kw in inline __inline__ __inline; do
15571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15572 /* end confdefs.h. */
15573 #ifndef __cplusplus
15574 typedef int foo_t;
15575 static $ac_kw foo_t static_foo (void) {return 0; }
15576 $ac_kw foo_t foo (void) {return 0; }
15577 #endif
15578
15579 _ACEOF
15580 if ac_fn_c_try_compile "$LINENO"
15581 then :
15582 ac_cv_c_inline=$ac_kw
15583 fi
15584 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15585 test "$ac_cv_c_inline" != no && break
15586 done
15587 ;;
15588 esac
15589 fi
15590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15591 printf "%s\n" "$ac_cv_c_inline" >&6; }
15592
15593 case $ac_cv_c_inline in
15594 inline | yes) ;;
15595 *)
15596 case $ac_cv_c_inline in
15597 no) ac_val=;;
15598 *) ac_val=$ac_cv_c_inline;;
15599 esac
15600 cat >>confdefs.h <<_ACEOF
15601 #ifndef __cplusplus
15602 #define inline $ac_val
15603 #endif
15604 _ACEOF
15605 ;;
15606 esac
15607
15608 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15609 if test "x$ac_cv_type_size_t" = xyes
15610 then :
15611
15612 else case e in #(
15613 e)
15614 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
15615 ;;
15616 esac
15617 fi
15618
15619 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
15620 case $ac_cv_c_int64_t in #(
15621 no|yes) ;; #(
15622 *)
15623
15624 printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
15625 ;;
15626 esac
15627
15628 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
15629 case $ac_cv_c_uint64_t in #(
15630 no|yes) ;; #(
15631 *)
15632
15633 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
15634
15635
15636 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
15637 ;;
15638 esac
15639
15640 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
15641 *':no:'*) :
15642 as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
15643 *) :
15644 ;;
15645 esac
15646 ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
15647 " "$ac_c_undeclared_builtin_options" "CFLAGS"
15648 if test "x$ac_cv_have_decl_isascii" = xyes
15649 then :
15650 ac_have_decl=1
15651 else case e in #(
15652 e) ac_have_decl=0 ;;
15653 esac
15654 fi
15655 printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h
15656
15657 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15658 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
15659 then :
15660
15661 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
15662
15663
15664 fi
15665
15666
15667
15668 ac_config_headers="$ac_config_headers config.h"
15669
15670
15671
15672
15673
15674 kpse_save_CPPFLAGS=$CPPFLAGS
15675 kpse_save_LIBS=$LIBS
15676
15677 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
15678 kpse_BLD=`(cd "./../../." && pwd)`
15679 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
15680
15681 echo 'tldbg:_KPSE_USE_LIBTOOL called, libtool package version: 2.5.4' >&5
15682 : ${CONFIG_LT=./config.lt}
15683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
15684 printf "%s\n" "$as_me: creating $CONFIG_LT" >&6;}
15685 as_write_fail=0
15686 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
15687 #! $SHELL
15688 # Generated by $as_me.
15689 # Run this file to recreate a libtool stub with the current configuration.
15690 SHELL=\${CONFIG_SHELL-$SHELL}
15691 export SHELL
15692 _ASEOF
15693 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
15694 ## -------------------- ##
15695 ## M4sh Initialization. ##
15696 ## -------------------- ##
15697
15698 # Be more Bourne compatible
15699 DUALCASE=1; export DUALCASE # for MKS sh
15700 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
15701 then :
15702 emulate sh
15703 NULLCMD=:
15704 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15705 # is contrary to our usage. Disable this feature.
15706 alias -g '${1+"$@"}'='"$@"'
15707 setopt NO_GLOB_SUBST
15708 else case e in #(
15709 e) case `(set -o) 2>/dev/null` in #(
15710 *posix*) :
15711 set -o posix ;; #(
15712 *) :
15713 ;;
15714 esac ;;
15715 esac
15716 fi
15717
15718
15719
15720 # Reset variables that may have inherited troublesome values from
15721 # the environment.
15722
15723 # IFS needs to be set, to space, tab, and newline, in precisely that order.
15724 # (If _AS_PATH_WALK were called with IFS unset, it would have the
15725 # side effect of setting IFS to empty, thus disabling word splitting.)
15726 # Quoting is to prevent editors from complaining about space-tab.
15727 as_nl='
15728 '
15729 export as_nl
15730 IFS=" "" $as_nl"
15731
15732 PS1='$ '
15733 PS2='> '
15734 PS4='+ '
15735
15736 # Ensure predictable behavior from utilities with locale-dependent output.
15737 LC_ALL=C
15738 export LC_ALL
15739 LANGUAGE=C
15740 export LANGUAGE
15741
15742 # We cannot yet rely on "unset" to work, but we need these variables
15743 # to be unset--not just set to an empty or harmless value--now, to
15744 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
15745 # also avoids known problems related to "unset" and subshell syntax
15746 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
15747 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
15748 do eval test \${$as_var+y} \
15749 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15750 done
15751
15752 # Ensure that fds 0, 1, and 2 are open.
15753 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
15754 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
15755 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
15756
15757 # The user is always right.
15758 if ${PATH_SEPARATOR+false} :; then
15759 PATH_SEPARATOR=:
15760 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15761 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15762 PATH_SEPARATOR=';'
15763 }
15764 fi
15765
15766
15767 # Find who we are. Look in the path if we contain no directory separator.
15768 as_myself=
15769 case $0 in #((
15770 *[\\/]* ) as_myself=$0 ;;
15771 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15772 for as_dir in $PATH
15773 do
15774 IFS=$as_save_IFS
15775 case $as_dir in #(((
15776 '') as_dir=./ ;;
15777 */) ;;
15778 *) as_dir=$as_dir/ ;;
15779 esac
15780 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
15781 done
15782 IFS=$as_save_IFS
15783
15784 ;;
15785 esac
15786 # We did not find ourselves, most probably we were run as 'sh COMMAND'
15787 # in which case we are not to be found in the path.
15788 if test "x$as_myself" = x; then
15789 as_myself=$0
15790 fi
15791 if test ! -f "$as_myself"; then
15792 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15793 exit 1
15794 fi
15795
15796
15797
15798 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15799 # ----------------------------------------
15800 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15801 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15802 # script with STATUS, using 1 if that was 0.
15803 as_fn_error ()
15804 {
15805 as_status=$1; test $as_status -eq 0 && as_status=1
15806 if test "$4"; then
15807 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15809 fi
15810 printf "%s\n" "$as_me: error: $2" >&2
15811 as_fn_exit $as_status
15812 } # as_fn_error
15813
15814
15815 # as_fn_set_status STATUS
15816 # -----------------------
15817 # Set $? to STATUS, without forking.
15818 as_fn_set_status ()
15819 {
15820 return $1
15821 } # as_fn_set_status
15822
15823 # as_fn_exit STATUS
15824 # -----------------
15825 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15826 as_fn_exit ()
15827 {
15828 set +e
15829 as_fn_set_status $1
15830 exit $1
15831 } # as_fn_exit
15832
15833 # as_fn_unset VAR
15834 # ---------------
15835 # Portably unset VAR.
15836 as_fn_unset ()
15837 {
15838 { eval $1=; unset $1;}
15839 }
15840 as_unset=as_fn_unset
15841
15842 # as_fn_append VAR VALUE
15843 # ----------------------
15844 # Append the text in VALUE to the end of the definition contained in VAR. Take
15845 # advantage of any shell optimizations that allow amortized linear growth over
15846 # repeated appends, instead of the typical quadratic growth present in naive
15847 # implementations.
15848 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
15849 then :
15850 eval 'as_fn_append ()
15851 {
15852 eval $1+=\$2
15853 }'
15854 else case e in #(
15855 e) as_fn_append ()
15856 {
15857 eval $1=\$$1\$2
15858 } ;;
15859 esac
15860 fi # as_fn_append
15861
15862 # as_fn_arith ARG...
15863 # ------------------
15864 # Perform arithmetic evaluation on the ARGs, and store the result in the
15865 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15866 # must be portable across $(()) and expr.
15867 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
15868 then :
15869 eval 'as_fn_arith ()
15870 {
15871 as_val=$(( $* ))
15872 }'
15873 else case e in #(
15874 e) as_fn_arith ()
15875 {
15876 as_val=`expr "$@" || test $? -eq 1`
15877 } ;;
15878 esac
15879 fi # as_fn_arith
15880
15881
15882 if expr a : '\(a\)' >/dev/null 2>&1 &&
15883 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15884 as_expr=expr
15885 else
15886 as_expr=false
15887 fi
15888
15889 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15890 as_basename=basename
15891 else
15892 as_basename=false
15893 fi
15894
15895 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15896 as_dirname=dirname
15897 else
15898 as_dirname=false
15899 fi
15900
15901 as_me=`$as_basename -- "$0" ||
15902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15903 X"$0" : 'X\(//\)$' \| \
15904 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15905 printf "%s\n" X/"$0" |
15906 sed '/^.*\/\([^/][^/]*\)\/*$/{
15907 s//\1/
15908 q
15909 }
15910 /^X\/\(\/\/\)$/{
15911 s//\1/
15912 q
15913 }
15914 /^X\/\(\/\).*/{
15915 s//\1/
15916 q
15917 }
15918 s/.*/./; q'`
15919
15920 # Avoid depending upon Character Ranges.
15921 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15922 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15923 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15924 as_cr_digits='0123456789'
15925 as_cr_alnum=$as_cr_Letters$as_cr_digits
15926
15927
15928 # Determine whether it's possible to make 'echo' print without a newline.
15929 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
15930 # for compatibility with existing Makefiles.
15931 ECHO_C= ECHO_N= ECHO_T=
15932 case `echo -n x` in #(((((
15933 -n*)
15934 case `echo 'xy\c'` in
15935 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15936 xy) ECHO_C='\c';;
15937 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15938 ECHO_T=' ';;
15939 esac;;
15940 *)
15941 ECHO_N='-n';;
15942 esac
15943
15944 # For backward compatibility with old third-party macros, we provide
15945 # the shell variables $as_echo and $as_echo_n. New code should use
15946 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
15947 as_echo='printf %s\n'
15948 as_echo_n='printf %s'
15949
15950 rm -f conf$$ conf$$.exe conf$$.file
15951 if test -d conf$$.dir; then
15952 rm -f conf$$.dir/conf$$.file
15953 else
15954 rm -f conf$$.dir
15955 mkdir conf$$.dir 2>/dev/null
15956 fi
15957 if (echo >conf$$.file) 2>/dev/null; then
15958 if ln -s conf$$.file conf$$ 2>/dev/null; then
15959 as_ln_s='ln -s'
15960 # ... but there are two gotchas:
15961 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
15962 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
15963 # In both cases, we have to default to 'cp -pR'.
15964 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15965 as_ln_s='cp -pR'
15966 elif ln conf$$.file conf$$ 2>/dev/null; then
15967 as_ln_s=ln
15968 else
15969 as_ln_s='cp -pR'
15970 fi
15971 else
15972 as_ln_s='cp -pR'
15973 fi
15974 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15975 rmdir conf$$.dir 2>/dev/null
15976
15977
15978 # as_fn_mkdir_p
15979 # -------------
15980 # Create "$as_dir" as a directory, including parents if necessary.
15981 as_fn_mkdir_p ()
15982 {
15983
15984 case $as_dir in #(
15985 -*) as_dir=./$as_dir;;
15986 esac
15987 test -d "$as_dir" || eval $as_mkdir_p || {
15988 as_dirs=
15989 while :; do
15990 case $as_dir in #(
15991 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15992 *) as_qdir=$as_dir;;
15993 esac
15994 as_dirs="'$as_qdir' $as_dirs"
15995 as_dir=`$as_dirname -- "$as_dir" ||
15996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15997 X"$as_dir" : 'X\(//\)[^/]' \| \
15998 X"$as_dir" : 'X\(//\)$' \| \
15999 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16000 printf "%s\n" X"$as_dir" |
16001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16002 s//\1/
16003 q
16004 }
16005 /^X\(\/\/\)[^/].*/{
16006 s//\1/
16007 q
16008 }
16009 /^X\(\/\/\)$/{
16010 s//\1/
16011 q
16012 }
16013 /^X\(\/\).*/{
16014 s//\1/
16015 q
16016 }
16017 s/.*/./; q'`
16018 test -d "$as_dir" && break
16019 done
16020 test -z "$as_dirs" || eval "mkdir $as_dirs"
16021 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16022
16023
16024 } # as_fn_mkdir_p
16025 if mkdir -p . 2>/dev/null; then
16026 as_mkdir_p='mkdir -p "$as_dir"'
16027 else
16028 test -d ./-p && rmdir ./-p
16029 as_mkdir_p=false
16030 fi
16031
16032
16033 # as_fn_executable_p FILE
16034 # -----------------------
16035 # Test if FILE is an executable regular file.
16036 as_fn_executable_p ()
16037 {
16038 test -f "$1" && test -x "$1"
16039 } # as_fn_executable_p
16040 as_test_x='test -x'
16041 as_executable_p=as_fn_executable_p
16042
16043 # Sed expression to map a string onto a valid CPP name.
16044 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16045 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
16046
16047 # Sed expression to map a string onto a valid variable name.
16048 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16049 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
16050
16051
16052 exec 6>&1
16053 ## --------------------------------- ##
16054 ## Main body of "$CONFIG_LT" script. ##
16055 ## --------------------------------- ##
16056 _ASEOF
16057 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16058
16059 cat >>"$CONFIG_LT" <<\_LTEOF
16060 lt_cl_silent=false
16061 exec 5>>config.log
16062 {
16063 echo
16064 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16065 ## Running $as_me. ##
16066 _ASBOX
16067 } >&5
16068
16069 lt_cl_help="\
16070 '$as_me' creates a local libtool stub from the current configuration,
16071 for use in further configure time tests before the real libtool is
16072 generated.
16073
16074 Usage: $0 [OPTIONS]
16075
16076 -h, --help print this help, then exit
16077 -V, --version print version number, then exit
16078 -q, --quiet do not print progress messages
16079 -d, --debug don't remove temporary files
16080
16081 Report bugs to <[email protected]>."
16082
16083 lt_cl_version="\
16084 psutils (TeX Live) config.lt 1.23
16085 configured by $0, generated by GNU Autoconf 2.72.
16086
16087 Copyright (C) 2024 Free Software Foundation, Inc.
16088 This config.lt script is free software; the Free Software Foundation
16089 gives unlimited permission to copy, distribute and modify it."
16090
16091 while test 0 != $#
16092 do
16093 case $1 in
16094 --version | --v* | -V )
16095 echo "$lt_cl_version"; exit 0 ;;
16096 --help | --h* | -h )
16097 echo "$lt_cl_help"; exit 0 ;;
16098 --debug | --d* | -d )
16099 debug=: ;;
16100 --quiet | --q* | --silent | --s* | -q )
16101 lt_cl_silent=: ;;
16102
16103 -*) as_fn_error $? "unrecognized option: $1
16104 Try '$0 --help' for more information." "$LINENO" 5 ;;
16105
16106 *) as_fn_error $? "unrecognized argument: $1
16107 Try '$0 --help' for more information." "$LINENO" 5 ;;
16108 esac
16109 shift
16110 done
16111
16112 if $lt_cl_silent; then
16113 exec 6>/dev/null
16114 fi
16115 _LTEOF
16116
16117 cat >>"$CONFIG_LT" <<_LTEOF
16118
16119
16120 # The HP-UX ksh and POSIX shell print the target directory to stdout
16121 # if CDPATH is set.
16122 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16123
16124 sed_quote_subst='$sed_quote_subst'
16125 double_quote_subst='$double_quote_subst'
16126 delay_variable_subst='$delay_variable_subst'
16127 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16128 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16129 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16130 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16131 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16132 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16133 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16134 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16135 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16136 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16137 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16138 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16139 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16140 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16141 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16142 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16143 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16144 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16145 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16146 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16147 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16148 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16149 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16150 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16151 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16152 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16153 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16154 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16155 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16156 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16157 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16158 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16159 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16160 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16161 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16162 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16163 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16164 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16165 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16166 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16167 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16168 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16169 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16170 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16171 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16172 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16173 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16174 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16175 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16176 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16177 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16178 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16179 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16180 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16181 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16182 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16183 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16184 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16185 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16186 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16187 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16188 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"`'
16189 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16190 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16191 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16192 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16193 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16194 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16195 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16196 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16197 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16198 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16199 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16200 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16201 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16202 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16203 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16204 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16205 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16206 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16207 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16208 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16209 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16210 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16211 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16212 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16213 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16214 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16215 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16216 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16217 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16218 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16219 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16220 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16221 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16222 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16223 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16224 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16225 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16226 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16227 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16228 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16229 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16230 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16231 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16232 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16233 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16234 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16235 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16236 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16237 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16238 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16239 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16240 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16241 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16242 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16243 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16244 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16245 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16246 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16247 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16248 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16249 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16250 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16251 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16252 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16253 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16254 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16255 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16256 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16257 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16258 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16259 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16260 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16261 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16262 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16263 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16264 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16265
16266 LTCC='$LTCC'
16267 LTCFLAGS='$LTCFLAGS'
16268 compiler='$compiler_DEFAULT'
16269
16270 # A function that is used when there is no print builtin or printf.
16271 func_fallback_echo ()
16272 {
16273 eval 'cat <<_LTECHO_EOF
16274 \$1
16275 _LTECHO_EOF'
16276 }
16277
16278 # Quote evaled strings.
16279 for var in AS \
16280 DLLTOOL \
16281 OBJDUMP \
16282 SHELL \
16283 ECHO \
16284 PATH_SEPARATOR \
16285 SED \
16286 GREP \
16287 EGREP \
16288 FGREP \
16289 LD \
16290 NM \
16291 LN_S \
16292 lt_SP2NL \
16293 lt_NL2SP \
16294 reload_flag \
16295 FILECMD \
16296 deplibs_check_method \
16297 file_magic_cmd \
16298 file_magic_glob \
16299 want_nocaseglob \
16300 sharedlib_from_linklib_cmd \
16301 AR \
16302 archiver_list_spec \
16303 STRIP \
16304 RANLIB \
16305 CC \
16306 CFLAGS \
16307 compiler \
16308 lt_cv_sys_global_symbol_pipe \
16309 lt_cv_sys_global_symbol_to_cdecl \
16310 lt_cv_sys_global_symbol_to_import \
16311 lt_cv_sys_global_symbol_to_c_name_address \
16312 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16313 lt_cv_nm_interface \
16314 nm_file_list_spec \
16315 lt_cv_truncate_bin \
16316 lt_prog_compiler_no_builtin_flag \
16317 lt_prog_compiler_pic \
16318 lt_prog_compiler_wl \
16319 lt_prog_compiler_static \
16320 lt_cv_prog_compiler_c_o \
16321 need_locks \
16322 MANIFEST_TOOL \
16323 DSYMUTIL \
16324 NMEDIT \
16325 LIPO \
16326 OTOOL \
16327 OTOOL64 \
16328 shrext_cmds \
16329 export_dynamic_flag_spec \
16330 whole_archive_flag_spec \
16331 compiler_needs_object \
16332 with_gnu_ld \
16333 allow_undefined_flag \
16334 no_undefined_flag \
16335 hardcode_libdir_flag_spec \
16336 hardcode_libdir_separator \
16337 exclude_expsyms \
16338 include_expsyms \
16339 file_list_spec \
16340 variables_saved_for_relink \
16341 libname_spec \
16342 library_names_spec \
16343 soname_spec \
16344 install_override_mode \
16345 finish_eval \
16346 old_striplib \
16347 striplib; do
16348 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16349 *[\\\\\\\`\\"\\\$]*)
16350 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16351 ;;
16352 *)
16353 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16354 ;;
16355 esac
16356 done
16357
16358 # Double-quote double-evaled strings.
16359 for var in reload_cmds \
16360 old_postinstall_cmds \
16361 old_postuninstall_cmds \
16362 old_archive_cmds \
16363 extract_expsyms_cmds \
16364 old_archive_from_new_cmds \
16365 old_archive_from_expsyms_cmds \
16366 archive_cmds \
16367 archive_expsym_cmds \
16368 module_cmds \
16369 module_expsym_cmds \
16370 export_symbols_cmds \
16371 prelink_cmds \
16372 postlink_cmds \
16373 postinstall_cmds \
16374 postuninstall_cmds \
16375 finish_cmds \
16376 sys_lib_search_path_spec \
16377 configure_time_dlsearch_path \
16378 configure_time_lt_sys_library_path; do
16379 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16380 *[\\\\\\\`\\"\\\$]*)
16381 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16382 ;;
16383 *)
16384 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16385 ;;
16386 esac
16387 done
16388
16389 ac_aux_dir='$ac_aux_dir'
16390
16391 # See if we are running on zsh, and set the options that allow our
16392 # commands through without removal of \ escapes INIT.
16393 if test -n "\${ZSH_VERSION+set}"; then
16394 setopt NO_GLOB_SUBST
16395 fi
16396
16397
16398 PACKAGE='$PACKAGE'
16399 VERSION='$VERSION'
16400 RM='$RM'
16401 ofile='$ofile'
16402
16403
16404
16405 _LTEOF
16406
16407 cat >>"$CONFIG_LT" <<\_LTEOF
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
16409 printf "%s\n" "$as_me: creating $ofile" >&6;}
16410
16411
16412 # See if we are running on zsh, and set the options that allow our
16413 # commands through without removal of \ escapes.
16414 if test -n "${ZSH_VERSION+set}"; then
16415 setopt NO_GLOB_SUBST
16416 fi
16417
16418 cfgfile=${ofile}T
16419 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16420 $RM "$cfgfile"
16421
16422 cat <<_LT_EOF >> "$cfgfile"
16423 #! $SHELL
16424 # Generated automatically by $as_me ($PACKAGE) $VERSION
16425 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16426
16427 # Provide generalized library-building support services.
16428 # Written by Gordon Matzigkeit, 1996
16429
16430 # Copyright (C) 2024 Free Software Foundation, Inc.
16431 # This is free software; see the source for copying conditions. There is NO
16432 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16433
16434 # GNU Libtool is free software; you can redistribute it and/or modify
16435 # it under the terms of the GNU General Public License as published by
16436 # the Free Software Foundation; either version 2 of the License, or
16437 # (at your option) any later version.
16438 #
16439 # As a special exception to the GNU General Public License, if you
16440 # distribute this file as part of a program or library that is built
16441 # using GNU Libtool, you may include this file under the same
16442 # distribution terms that you use for the rest of that program.
16443 #
16444 # GNU Libtool is distributed in the hope that it will be useful, but
16445 # WITHOUT ANY WARRANTY; without even the implied warranty of
16446 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16447 # GNU General Public License for more details.
16448 #
16449 # You should have received a copy of the GNU General Public License
16450 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16451
16452
16453 # The names of the tagged configurations supported by this script.
16454 available_tags=''
16455
16456 # Configured defaults for sys_lib_dlsearch_path munging.
16457 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16458
16459 # ### BEGIN LIBTOOL CONFIG
16460
16461 # Which release of libtool.m4 was used?
16462 macro_version=$macro_version
16463 macro_revision=$macro_revision
16464
16465 # Assembler program.
16466 AS=$lt_AS
16467
16468 # DLL creation program.
16469 DLLTOOL=$lt_DLLTOOL
16470
16471 # Object dumper program.
16472 OBJDUMP=$lt_OBJDUMP
16473
16474 # Whether or not to build shared libraries.
16475 build_libtool_libs=$enable_shared
16476
16477 # Whether or not to build static libraries.
16478 build_old_libs=$enable_static
16479
16480 # What type of objects to build.
16481 pic_mode=$pic_mode
16482
16483 # Whether or not to optimize for fast installation.
16484 fast_install=$enable_fast_install
16485
16486 # Shared archive member basename,for filename based shared library versioning on AIX.
16487 shared_archive_member_spec=$shared_archive_member_spec
16488
16489 # Shell to use when invoking shell scripts.
16490 SHELL=$lt_SHELL
16491
16492 # An echo program that protects backslashes.
16493 ECHO=$lt_ECHO
16494
16495 # The PATH separator for the build system.
16496 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16497
16498 # The host system.
16499 host_alias=$host_alias
16500 host=$host
16501 host_os=$host_os
16502
16503 # The build system.
16504 build_alias=$build_alias
16505 build=$build
16506 build_os=$build_os
16507
16508 # A sed program that does not truncate output.
16509 SED=$lt_SED
16510
16511 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16512 Xsed="\$SED -e 1s/^X//"
16513
16514 # A grep program that handles long lines.
16515 GREP=$lt_GREP
16516
16517 # An ERE matcher.
16518 EGREP=$lt_EGREP
16519
16520 # A literal string matcher.
16521 FGREP=$lt_FGREP
16522
16523 # A BSD- or MS-compatible name lister.
16524 NM=$lt_NM
16525
16526 # Whether we need soft or hard links.
16527 LN_S=$lt_LN_S
16528
16529 # What is the maximum length of a command?
16530 max_cmd_len=$max_cmd_len
16531
16532 # Object file suffix (normally "o").
16533 objext=$ac_objext
16534
16535 # Executable file suffix (normally "").
16536 exeext=$exeext
16537
16538 # whether the shell understands "unset".
16539 lt_unset=$lt_unset
16540
16541 # turn spaces into newlines.
16542 SP2NL=$lt_lt_SP2NL
16543
16544 # turn newlines into spaces.
16545 NL2SP=$lt_lt_NL2SP
16546
16547 # convert \$build file names to \$host format.
16548 to_host_file_cmd=$lt_cv_to_host_file_cmd
16549
16550 # convert \$build files to toolchain format.
16551 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16552
16553 # A file(cmd) program that detects file types.
16554 FILECMD=$lt_FILECMD
16555
16556 # Method to check whether dependent libraries are shared objects.
16557 deplibs_check_method=$lt_deplibs_check_method
16558
16559 # Command to use when deplibs_check_method = "file_magic".
16560 file_magic_cmd=$lt_file_magic_cmd
16561
16562 # How to find potential files when deplibs_check_method = "file_magic".
16563 file_magic_glob=$lt_file_magic_glob
16564
16565 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16566 want_nocaseglob=$lt_want_nocaseglob
16567
16568 # Command to associate shared and link libraries.
16569 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16570
16571 # The archiver.
16572 AR=$lt_AR
16573
16574 # Flags to create an archive (by configure).
16575 lt_ar_flags=$lt_ar_flags
16576
16577 # Flags to create an archive.
16578 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16579
16580 # How to feed a file listing to the archiver.
16581 archiver_list_spec=$lt_archiver_list_spec
16582
16583 # A symbol stripping program.
16584 STRIP=$lt_STRIP
16585
16586 # Commands used to install an old-style archive.
16587 RANLIB=$lt_RANLIB
16588 old_postinstall_cmds=$lt_old_postinstall_cmds
16589 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16590
16591 # Whether to use a lock for old archive extraction.
16592 lock_old_archive_extraction=$lock_old_archive_extraction
16593
16594 # A C compiler.
16595 LTCC=$lt_CC
16596
16597 # LTCC compiler flags.
16598 LTCFLAGS=$lt_CFLAGS
16599
16600 # Take the output of nm and produce a listing of raw symbols and C names.
16601 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16602
16603 # Transform the output of nm in a proper C declaration.
16604 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16605
16606 # Transform the output of nm into a list of symbols to manually relocate.
16607 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16608
16609 # Transform the output of nm in a C name address pair.
16610 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16611
16612 # Transform the output of nm in a C name address pair when lib prefix is needed.
16613 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16614
16615 # The name lister interface.
16616 nm_interface=$lt_lt_cv_nm_interface
16617
16618 # Specify filename containing input files for \$NM.
16619 nm_file_list_spec=$lt_nm_file_list_spec
16620
16621 # The root where to search for dependent libraries,and where our libraries should be installed.
16622 lt_sysroot=$lt_sysroot
16623
16624 # Command to truncate a binary pipe.
16625 lt_truncate_bin=$lt_lt_cv_truncate_bin
16626
16627 # The name of the directory that contains temporary libtool files.
16628 objdir=$objdir
16629
16630 # Used to examine libraries when file_magic_cmd begins with "file".
16631 MAGIC_CMD=$MAGIC_CMD
16632
16633 # Must we lock files when doing compilation?
16634 need_locks=$lt_need_locks
16635
16636 # Manifest tool.
16637 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16638
16639 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16640 DSYMUTIL=$lt_DSYMUTIL
16641
16642 # Tool to change global to local symbols on Mac OS X.
16643 NMEDIT=$lt_NMEDIT
16644
16645 # Tool to manipulate fat objects and archives on Mac OS X.
16646 LIPO=$lt_LIPO
16647
16648 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16649 OTOOL=$lt_OTOOL
16650
16651 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16652 OTOOL64=$lt_OTOOL64
16653
16654 # Old archive suffix (normally "a").
16655 libext=$libext
16656
16657 # Shared library suffix (normally ".so").
16658 shrext_cmds=$lt_shrext_cmds
16659
16660 # The commands to extract the exported symbol list from a shared archive.
16661 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16662
16663 # Variables whose values should be saved in libtool wrapper scripts and
16664 # restored at link time.
16665 variables_saved_for_relink=$lt_variables_saved_for_relink
16666
16667 # Do we need the "lib" prefix for modules?
16668 need_lib_prefix=$need_lib_prefix
16669
16670 # Do we need a version for libraries?
16671 need_version=$need_version
16672
16673 # Library versioning type.
16674 version_type=$version_type
16675
16676 # Shared library runtime path variable.
16677 runpath_var=$runpath_var
16678
16679 # Shared library path variable.
16680 shlibpath_var=$shlibpath_var
16681
16682 # Is shlibpath searched before the hard-coded library search path?
16683 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16684
16685 # Format of library name prefix.
16686 libname_spec=$lt_libname_spec
16687
16688 # List of archive names. First name is the real one, the rest are links.
16689 # The last name is the one that the linker finds with -lNAME
16690 library_names_spec=$lt_library_names_spec
16691
16692 # The coded name of the library, if different from the real name.
16693 soname_spec=$lt_soname_spec
16694
16695 # Permission mode override for installation of shared libraries.
16696 install_override_mode=$lt_install_override_mode
16697
16698 # Command to use after installation of a shared archive.
16699 postinstall_cmds=$lt_postinstall_cmds
16700
16701 # Command to use after uninstallation of a shared archive.
16702 postuninstall_cmds=$lt_postuninstall_cmds
16703
16704 # Commands used to finish a libtool library installation in a directory.
16705 finish_cmds=$lt_finish_cmds
16706
16707 # As "finish_cmds", except a single script fragment to be evaled but
16708 # not shown.
16709 finish_eval=$lt_finish_eval
16710
16711 # Whether we should hardcode library paths into libraries.
16712 hardcode_into_libs=$hardcode_into_libs
16713
16714 # Compile-time system search path for libraries.
16715 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16716
16717 # Detected run-time system search path for libraries.
16718 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16719
16720 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16721 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16722
16723 # Whether dlopen is supported.
16724 dlopen_support=$enable_dlopen
16725
16726 # Whether dlopen of programs is supported.
16727 dlopen_self=$enable_dlopen_self
16728
16729 # Whether dlopen of statically linked programs is supported.
16730 dlopen_self_static=$enable_dlopen_self_static
16731
16732 # Commands to strip libraries.
16733 old_striplib=$lt_old_striplib
16734 striplib=$lt_striplib
16735
16736
16737 # The linker used to build libraries.
16738 LD=$lt_LD
16739
16740 # How to create reloadable object files.
16741 reload_flag=$lt_reload_flag
16742 reload_cmds=$lt_reload_cmds
16743
16744 # Commands used to build an old-style archive.
16745 old_archive_cmds=$lt_old_archive_cmds
16746
16747 # A language specific compiler.
16748 CC=$lt_compiler
16749
16750 # Is the compiler the GNU compiler?
16751 with_gcc=$GCC
16752
16753 # Compiler flag to turn off builtin functions.
16754 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16755
16756 # Additional compiler flags for building library objects.
16757 pic_flag=$lt_lt_prog_compiler_pic
16758
16759 # How to pass a linker flag through the compiler.
16760 wl=$lt_lt_prog_compiler_wl
16761
16762 # Compiler flag to prevent dynamic linking.
16763 link_static_flag=$lt_lt_prog_compiler_static
16764
16765 # Does compiler simultaneously support -c and -o options?
16766 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16767
16768 # Whether or not to add -lc for building shared libraries.
16769 build_libtool_need_lc=$archive_cmds_need_lc
16770
16771 # Whether or not to disallow shared libs when runtime libs are static.
16772 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16773
16774 # Compiler flag to allow reflexive dlopens.
16775 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16776
16777 # Compiler flag to generate shared objects directly from archives.
16778 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16779
16780 # Whether the compiler copes with passing no objects directly.
16781 compiler_needs_object=$lt_compiler_needs_object
16782
16783 # Create an old-style archive from a shared archive.
16784 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16785
16786 # Create a temporary old-style archive to link instead of a shared archive.
16787 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16788
16789 # Commands used to build a shared archive.
16790 archive_cmds=$lt_archive_cmds
16791 archive_expsym_cmds=$lt_archive_expsym_cmds
16792
16793 # Commands used to build a loadable module if different from building
16794 # a shared archive.
16795 module_cmds=$lt_module_cmds
16796 module_expsym_cmds=$lt_module_expsym_cmds
16797
16798 # Whether we are building with GNU ld or not.
16799 with_gnu_ld=$lt_with_gnu_ld
16800
16801 # Flag that allows shared libraries with undefined symbols to be built.
16802 allow_undefined_flag=$lt_allow_undefined_flag
16803
16804 # Flag that enforces no undefined symbols.
16805 no_undefined_flag=$lt_no_undefined_flag
16806
16807 # Flag to hardcode \$libdir into a binary during linking.
16808 # This must work even if \$libdir does not exist
16809 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16810
16811 # Whether we need a single "-rpath" flag with a separated argument.
16812 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16813
16814 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16815 # DIR into the resulting binary.
16816 hardcode_direct=$hardcode_direct
16817
16818 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16819 # DIR into the resulting binary and the resulting library dependency is
16820 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
16821 # library is relocated.
16822 hardcode_direct_absolute=$hardcode_direct_absolute
16823
16824 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16825 # into the resulting binary.
16826 hardcode_minus_L=$hardcode_minus_L
16827
16828 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16829 # into the resulting binary.
16830 hardcode_shlibpath_var=$hardcode_shlibpath_var
16831
16832 # Set to "yes" if building a shared library automatically hardcodes DIR
16833 # into the library and all subsequent libraries and executables linked
16834 # against it.
16835 hardcode_automatic=$hardcode_automatic
16836
16837 # Set to yes if linker adds runtime paths of dependent libraries
16838 # to runtime path list.
16839 inherit_rpath=$inherit_rpath
16840
16841 # Whether libtool must link a program against all its dependency libraries.
16842 link_all_deplibs=$link_all_deplibs
16843
16844 # Set to "yes" if exported symbols are required.
16845 always_export_symbols=$always_export_symbols
16846
16847 # The commands to list exported symbols.
16848 export_symbols_cmds=$lt_export_symbols_cmds
16849
16850 # Symbols that should not be listed in the preloaded symbols.
16851 exclude_expsyms=$lt_exclude_expsyms
16852
16853 # Symbols that must always be exported.
16854 include_expsyms=$lt_include_expsyms
16855
16856 # Commands necessary for linking programs (against libraries) with templates.
16857 prelink_cmds=$lt_prelink_cmds
16858
16859 # Commands necessary for finishing linking programs.
16860 postlink_cmds=$lt_postlink_cmds
16861
16862 # Specify filename containing input files.
16863 file_list_spec=$lt_file_list_spec
16864
16865 # How to hardcode a shared library path into an executable.
16866 hardcode_action=$hardcode_action
16867
16868 # ### END LIBTOOL CONFIG
16869
16870 _LT_EOF
16871
16872 cat <<'_LT_EOF' >> "$cfgfile"
16873
16874 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16875
16876 # func_munge_path_list VARIABLE PATH
16877 # -----------------------------------
16878 # VARIABLE is name of variable containing _space_ separated list of
16879 # directories to be munged by the contents of PATH, which is string
16880 # having a format:
16881 # "DIR[:DIR]:"
16882 # string "DIR[ DIR]" will be prepended to VARIABLE
16883 # ":DIR[:DIR]"
16884 # string "DIR[ DIR]" will be appended to VARIABLE
16885 # "DIRP[:DIRP]::[DIRA:]DIRA"
16886 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16887 # "DIRA[ DIRA]" will be appended to VARIABLE
16888 # "DIR[:DIR]"
16889 # VARIABLE will be replaced by "DIR[ DIR]"
16890 func_munge_path_list ()
16891 {
16892 case x$2 in
16893 x)
16894 ;;
16895 *:)
16896 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16897 ;;
16898 x:*)
16899 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16900 ;;
16901 *::*)
16902 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16903 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16904 ;;
16905 *)
16906 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16907 ;;
16908 esac
16909 }
16910
16911
16912 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16913 func_cc_basename ()
16914 {
16915 for cc_temp in $*""; do
16916 case $cc_temp in
16917 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16918 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16919 \-*) ;;
16920 *) break;;
16921 esac
16922 done
16923 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16924 }
16925
16926
16927 # ### END FUNCTIONS SHARED WITH CONFIGURE
16928
16929 _LT_EOF
16930
16931 case $host_os in
16932 aix3*)
16933 cat <<\_LT_EOF >> "$cfgfile"
16934 # AIX sometimes has problems with the GCC collect2 program. For some
16935 # reason, if we set the COLLECT_NAMES environment variable, the problems
16936 # vanish in a puff of smoke.
16937 if test set != "${COLLECT_NAMES+set}"; then
16938 COLLECT_NAMES=
16939 export COLLECT_NAMES
16940 fi
16941 _LT_EOF
16942 ;;
16943 esac
16944
16945
16946
16947 ltmain=$ac_aux_dir/ltmain.sh
16948
16949
16950 # We use sed instead of cat because bash on DJGPP gets confused if
16951 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16952 # text mode, it properly converts lines to CR/LF. This bash problem
16953 # is reportedly fixed, but why not run on old versions too?
16954 $SED '$q' "$ltmain" >> "$cfgfile" \
16955 || (rm -f "$cfgfile"; exit 1)
16956
16957 mv -f "$cfgfile" "$ofile" ||
16958 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16959 chmod +x "$ofile"
16960
16961
16962 as_fn_exit 0
16963 _LTEOF
16964 chmod +x "$CONFIG_LT"
16965
16966 # configure is writing to config.log, but config.lt does its own redirection,
16967 # appending to config.log, which fails on DOS, as config.log is still kept
16968 # open by configure. Here we exec the FD to /dev/null, effectively closing
16969 # config.log, so it can be properly (re)opened and appended to by config.lt.
16970 lt_cl_success=:
16971 test yes = "$silent" &&
16972 lt_config_lt_args="$lt_config_lt_args --quiet"
16973 exec 5>/dev/null
16974 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
16975 exec 5>>config.log
16976 $lt_cl_success || as_fn_exit 1
16977
16978 #
16979 #
16980 ac_ext=c
16981 ac_cpp='$CPP $CPPFLAGS'
16982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16985 ac_link="./libtool --mode=link --tag=CC $ac_link"
16986
16987 if test -n "$ac_tool_prefix"; then
16988 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16989 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16991 printf %s "checking for $ac_word... " >&6; }
16992 if test ${ac_cv_prog_PKG_CONFIG+y}
16993 then :
16994 printf %s "(cached) " >&6
16995 else case e in #(
16996 e) if test -n "$PKG_CONFIG"; then
16997 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
16998 else
16999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17000 for as_dir in $PATH
17001 do
17002 IFS=$as_save_IFS
17003 case $as_dir in #(((
17004 '') as_dir=./ ;;
17005 */) ;;
17006 *) as_dir=$as_dir/ ;;
17007 esac
17008 for ac_exec_ext in '' $ac_executable_extensions; do
17009 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17010 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17012 break 2
17013 fi
17014 done
17015 done
17016 IFS=$as_save_IFS
17017
17018 fi ;;
17019 esac
17020 fi
17021 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
17022 if test -n "$PKG_CONFIG"; then
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17024 printf "%s\n" "$PKG_CONFIG" >&6; }
17025 else
17026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17027 printf "%s\n" "no" >&6; }
17028 fi
17029
17030
17031 fi
17032 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17033 ac_ct_PKG_CONFIG=$PKG_CONFIG
17034 # Extract the first word of "pkg-config", so it can be a program name with args.
17035 set dummy pkg-config; ac_word=$2
17036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17037 printf %s "checking for $ac_word... " >&6; }
17038 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
17039 then :
17040 printf %s "(cached) " >&6
17041 else case e in #(
17042 e) if test -n "$ac_ct_PKG_CONFIG"; then
17043 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
17044 else
17045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17046 for as_dir in $PATH
17047 do
17048 IFS=$as_save_IFS
17049 case $as_dir in #(((
17050 '') as_dir=./ ;;
17051 */) ;;
17052 *) as_dir=$as_dir/ ;;
17053 esac
17054 for ac_exec_ext in '' $ac_executable_extensions; do
17055 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17056 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17058 break 2
17059 fi
17060 done
17061 done
17062 IFS=$as_save_IFS
17063
17064 fi ;;
17065 esac
17066 fi
17067 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
17068 if test -n "$ac_ct_PKG_CONFIG"; then
17069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17070 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
17071 else
17072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17073 printf "%s\n" "no" >&6; }
17074 fi
17075
17076 if test "x$ac_ct_PKG_CONFIG" = x; then
17077 PKG_CONFIG="false"
17078 else
17079 case $cross_compiling:$ac_tool_warned in
17080 yes:)
17081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17083 ac_tool_warned=yes ;;
17084 esac
17085 PKG_CONFIG=$ac_ct_PKG_CONFIG
17086 fi
17087 else
17088 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
17089 fi
17090
17091 ##tldbg _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags.
17092 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
17093 ##tldbg _KPSE_LIB_FLAGS_TL: kpathsea (kpathsea) lt.
17094
17095 # Check whether --with-system-kpathsea was given.
17096 if test ${with_system_kpathsea+y}
17097 then :
17098 withval=$with_system_kpathsea;
17099 fi
17100 if test "x$with_system_kpathsea" = xyes; then
17101 if $PKG_CONFIG kpathsea; then
17102 KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
17103 KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
17104 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17105 as_fn_error $? "did not find kpathsea" "$LINENO" 5
17106 fi
17107 else
17108 KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
17109 KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
17110 KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
17111 KPATHSEA_RULE='# Rebuild libkpathsea
17112 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
17113 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
17114 ${top_builddir}/../kpathsea/paths.h:
17115 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17116 fi
17117
17118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
17119 printf %s "checking if libkpathsea supports debugging... " >&6; }
17120 if test ${kpse_cv_kpse_debug+y}
17121 then :
17122 printf %s "(cached) " >&6
17123 else case e in #(
17124 e) eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
17125 eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
17126
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 #include <kpathsea/kpathsea.h>
17130 int
17131 main (void)
17132 {
17133 FILE *f = fopen("f", "r")
17134 ;
17135 return 0;
17136 }
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"
17139 then :
17140 kpse_cv_kpse_debug=yes
17141 else case e in #(
17142 e) kpse_cv_kpse_debug=no ;;
17143 esac
17144 fi
17145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17146 conftest$ac_exeext conftest.$ac_ext
17147 CPPFLAGS=$kpse_save_CPPFLAGS
17148 LIBS=$kpse_save_LIBS
17149 ;;
17150 esac
17151 fi
17152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
17153 printf "%s\n" "$kpse_cv_kpse_debug" >&6; }
17154 if test "x$kpse_cv_kpse_debug" != xyes
17155 then :
17156 KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
17157 fi
17158
17159 ##tldbg _KPSE_LIB_FLAGS: Setup libpaper (-lpaper) flags.
17160 echo 'tldbg:_KPSE_LIB_FLAGS called: libdir=libpaper, libname=paper, options=, tlincl=-IBLD/libs/libpaper/include, tllib=BLD/libs/libpaper/libpaper.a, tlextra=, rebuildsrcdeps=, rebuildblddeps=${top_builddir}/../../libs/libpaper/include/paper.h.' >&5
17161 ##tldbg _KPSE_LIB_FLAGS_TL: libpaper (paper) .
17162
17163 # Check whether --with-system-libpaper was given.
17164 if test ${with_system_libpaper+y}
17165 then :
17166 withval=$with_system_libpaper;
17167 fi
17168
17169 # Check whether --with-libpaper-includes was given.
17170 if test ${with_libpaper_includes+y}
17171 then :
17172 withval=$with_libpaper_includes;
17173 fi
17174
17175 # Check whether --with-libpaper-libdir was given.
17176 if test ${with_libpaper_libdir+y}
17177 then :
17178 withval=$with_libpaper_libdir;
17179 fi
17180 if test "x$with_system_libpaper" = xyes; then
17181 ##tldbg _KPSE_LIB_FLAGS_SYSTEM: libpaper (paper).
17182 if test "x$with_libpaper_includes" != x && test "x$with_libpaper_includes" != xyes; then
17183 LIBPAPER_INCLUDES="-I$with_libpaper_includes"
17184 fi
17185 LIBPAPER_LIBS="-lpaper"
17186 if test "x$with_libpaper_libdir" != x && test "x$with_libpaper_libdir" != xyes; then
17187 LIBPAPER_LIBS="-L$with_libpaper_libdir $LIBPAPER_LIBS"
17188 fi
17189 else
17190 LIBPAPER_INCLUDES="-I$kpse_BLD/libs/libpaper/include"
17191 LIBPAPER_LIBS="$kpse_BLD/libs/libpaper/libpaper.a"
17192 LIBPAPER_DEPEND='${top_builddir}/../../libs/libpaper/libpaper.a'
17193 LIBPAPER_RULE='# Rebuild libpaper
17194 $(LIBPAPER_DEPEND): ${top_builddir}/../../libs/libpaper/include/paper.h
17195 cd ${top_builddir}/../../libs/libpaper && $(MAKE) $(AM_MAKEFLAGS) rebuild
17196 ${top_builddir}/../../libs/libpaper/include/paper.h:
17197 cd ${top_builddir}/../../libs/libpaper && $(MAKE) $(AM_MAKEFLAGS) rebuild'
17198 fi
17199
17200
17201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
17202 printf %s "checking for native WIN32 or MINGW32... " >&6; }
17203 if test ${kpse_cv_have_win32+y}
17204 then :
17205 printf %s "(cached) " >&6
17206 else case e in #(
17207 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 #ifndef WIN32
17210 choke me
17211 #endif
17212 int
17213 main (void)
17214 {
17215
17216 ;
17217 return 0;
17218 }
17219 _ACEOF
17220 if ac_fn_c_try_compile "$LINENO"
17221 then :
17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17223 /* end confdefs.h. */
17224 #ifndef __MINGW32__
17225 choke me
17226 #endif
17227 int
17228 main (void)
17229 {
17230
17231 ;
17232 return 0;
17233 }
17234 _ACEOF
17235 if ac_fn_c_try_compile "$LINENO"
17236 then :
17237 kpse_cv_have_win32=mingw32
17238 else case e in #(
17239 e) kpse_cv_have_win32=native ;;
17240 esac
17241 fi
17242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17243 else case e in #(
17244 e) kpse_cv_have_win32=no ;;
17245 esac
17246 fi
17247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
17248 esac
17249 fi
17250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
17251 printf "%s\n" "$kpse_cv_have_win32" >&6; }
17252
17253 if test "x$kpse_cv_have_win32" != xno; then
17254 WIN32_TRUE=
17255 WIN32_FALSE='#'
17256 else
17257 WIN32_TRUE='#'
17258 WIN32_FALSE=
17259 fi
17260
17261
17262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WIN64" >&5
17263 printf %s "checking for WIN64... " >&6; }
17264 if test ${kpse_cv_have_win64+y}
17265 then :
17266 printf %s "(cached) " >&6
17267 else case e in #(
17268 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17270 #ifndef _WIN64
17271 choke me
17272 #endif
17273 int
17274 main (void)
17275 {
17276
17277 ;
17278 return 0;
17279 }
17280 _ACEOF
17281 if ac_fn_c_try_compile "$LINENO"
17282 then :
17283 kpse_cv_have_win64=yes
17284 else case e in #(
17285 e) kpse_cv_have_win64=no ;;
17286 esac
17287 fi
17288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
17289 esac
17290 fi
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win64" >&5
17292 printf "%s\n" "$kpse_cv_have_win64" >&6; }
17293 case $kpse_cv_have_win64 in #(
17294 yes) :
17295 if test "x$kpse_cv_have_win32=xmingw"
17296 then :
17297 WIN_WRAPPER=windows_mingw_wrapper
17298 else case e in #(
17299 e) WIN_WRAPPER=windows_wrapper ;;
17300 esac
17301 fi ;; #(
17302 *) :
17303 WIN_WRAPPER=windows_wrapper ;;
17304 esac
17305
17306 if test -r "$srcdir/../../texk/texlive/$WIN_WRAPPER/runscript.exe"; then
17307 WIN32_WRAP_TRUE=
17308 WIN32_WRAP_FALSE='#'
17309 else
17310 WIN32_WRAP_TRUE='#'
17311 WIN32_WRAP_FALSE=
17312 fi
17313
17314
17315
17316 PSUTILS_TREE=psutils-src
17317
17318
17319 ac_config_files="$ac_config_files Makefile"
17320
17321
17322 ac_config_links="$ac_config_links extractres.pl:psutils-src/extractres"
17323
17324 ac_config_links="$ac_config_links includeres.pl:psutils-src/extractres"
17325
17326 ac_config_links="$ac_config_links psjoin.pl:psutils-src/psjoin"
17327
17328
17329 cat >confcache <<\_ACEOF
17330 # This file is a shell script that caches the results of configure
17331 # tests run on this system so they can be shared between configure
17332 # scripts and configure runs, see configure's option --config-cache.
17333 # It is not useful on other systems. If it contains results you don't
17334 # want to keep, you may remove or edit it.
17335 #
17336 # config.status only pays attention to the cache file if you give it
17337 # the --recheck option to rerun configure.
17338 #
17339 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
17340 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
17341 # following values.
17342
17343 _ACEOF
17344
17345 # The following way of writing the cache mishandles newlines in values,
17346 # but we know of no workaround that is simple, portable, and efficient.
17347 # So, we kill variables containing newlines.
17348 # Ultrix sh set writes to stderr and can't be redirected directly,
17349 # and sets the high bit in the cache file unless we assign to the vars.
17350 (
17351 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17352 eval ac_val=\$$ac_var
17353 case $ac_val in #(
17354 *${as_nl}*)
17355 case $ac_var in #(
17356 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17357 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17358 esac
17359 case $ac_var in #(
17360 _ | IFS | as_nl) ;; #(
17361 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17362 *) { eval $ac_var=; unset $ac_var;} ;;
17363 esac ;;
17364 esac
17365 done
17366
17367 (set) 2>&1 |
17368 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17369 *${as_nl}ac_space=\ *)
17370 # 'set' does not quote correctly, so add quotes: double-quote
17371 # substitution turns \\\\ into \\, and sed turns \\ into \.
17372 sed -n \
17373 "s/'/'\\\\''/g;
17374 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17375 ;; #(
17376 *)
17377 # 'set' quotes correctly as required by POSIX, so do not add quotes.
17378 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17379 ;;
17380 esac |
17381 sort
17382 ) |
17383 sed '
17384 /^ac_cv_env_/b end
17385 t clear
17386 :clear
17387 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
17388 t end
17389 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17390 :end' >>confcache
17391 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17392 if test -w "$cache_file"; then
17393 if test "x$cache_file" != "x/dev/null"; then
17394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17395 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
17396 if test ! -f "$cache_file" || test -h "$cache_file"; then
17397 cat confcache >"$cache_file"
17398 else
17399 case $cache_file in #(
17400 */* | ?:*)
17401 mv -f confcache "$cache_file"$$ &&
17402 mv -f "$cache_file"$$ "$cache_file" ;; #(
17403 *)
17404 mv -f confcache "$cache_file" ;;
17405 esac
17406 fi
17407 fi
17408 else
17409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17410 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
17411 fi
17412 fi
17413 rm -f confcache
17414
17415 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17416 # Let make expand exec_prefix.
17417 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17418
17419 DEFS=-DHAVE_CONFIG_H
17420
17421 ac_libobjs=
17422 ac_ltlibobjs=
17423 U=
17424 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17425 # 1. Remove the extension, and $U if already installed.
17426 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17427 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
17428 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17429 # will be set to the directory where LIBOBJS objects are built.
17430 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17431 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17432 done
17433 LIBOBJS=$ac_libobjs
17434
17435 LTLIBOBJS=$ac_ltlibobjs
17436
17437
17438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17439 printf %s "checking that generated files are newer than configure... " >&6; }
17440 if test -n "$am_sleep_pid"; then
17441 # Hide warnings about reused PIDs.
17442 wait $am_sleep_pid 2>/dev/null
17443 fi
17444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
17445 printf "%s\n" "done" >&6; }
17446 case $enable_silent_rules in # (((
17447 yes) AM_DEFAULT_VERBOSITY=0;;
17448 no) AM_DEFAULT_VERBOSITY=1;;
17449 esac
17450 if test $am_cv_make_support_nested_variables = yes; then
17451 AM_V='$(V)'
17452 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17453 else
17454 AM_V=$AM_DEFAULT_VERBOSITY
17455 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17456 fi
17457
17458 if test -n "$EXEEXT"; then
17459 am__EXEEXT_TRUE=
17460 am__EXEEXT_FALSE='#'
17461 else
17462 am__EXEEXT_TRUE='#'
17463 am__EXEEXT_FALSE=
17464 fi
17465
17466 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17467 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17469 fi
17470 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17471 as_fn_error $? "conditional \"AMDEP\" was never defined.
17472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17473 fi
17474 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17475 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17477 fi
17478 # Check whether --enable-year2038 was given.
17479 if test ${enable_year2038+y}
17480 then :
17481 enableval=$enable_year2038;
17482 fi
17483
17484 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
17485 as_fn_error $? "conditional \"WIN32\" was never defined.
17486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17487 fi
17488 if test -z "${WIN32_WRAP_TRUE}" && test -z "${WIN32_WRAP_FALSE}"; then
17489 as_fn_error $? "conditional \"WIN32_WRAP\" was never defined.
17490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17491 fi
17492
17493 : "${CONFIG_STATUS=./config.status}"
17494 ac_write_fail=0
17495 ac_clean_files_save=$ac_clean_files
17496 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17498 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17499 as_write_fail=0
17500 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17501 #! $SHELL
17502 # Generated by $as_me.
17503 # Run this file to recreate the current configuration.
17504 # Compiler output produced by configure, useful for debugging
17505 # configure, is in config.log if it exists.
17506
17507 debug=false
17508 ac_cs_recheck=false
17509 ac_cs_silent=false
17510
17511 SHELL=\${CONFIG_SHELL-$SHELL}
17512 export SHELL
17513 _ASEOF
17514 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17515 ## -------------------- ##
17516 ## M4sh Initialization. ##
17517 ## -------------------- ##
17518
17519 # Be more Bourne compatible
17520 DUALCASE=1; export DUALCASE # for MKS sh
17521 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17522 then :
17523 emulate sh
17524 NULLCMD=:
17525 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17526 # is contrary to our usage. Disable this feature.
17527 alias -g '${1+"$@"}'='"$@"'
17528 setopt NO_GLOB_SUBST
17529 else case e in #(
17530 e) case `(set -o) 2>/dev/null` in #(
17531 *posix*) :
17532 set -o posix ;; #(
17533 *) :
17534 ;;
17535 esac ;;
17536 esac
17537 fi
17538
17539
17540
17541 # Reset variables that may have inherited troublesome values from
17542 # the environment.
17543
17544 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17545 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17546 # side effect of setting IFS to empty, thus disabling word splitting.)
17547 # Quoting is to prevent editors from complaining about space-tab.
17548 as_nl='
17549 '
17550 export as_nl
17551 IFS=" "" $as_nl"
17552
17553 PS1='$ '
17554 PS2='> '
17555 PS4='+ '
17556
17557 # Ensure predictable behavior from utilities with locale-dependent output.
17558 LC_ALL=C
17559 export LC_ALL
17560 LANGUAGE=C
17561 export LANGUAGE
17562
17563 # We cannot yet rely on "unset" to work, but we need these variables
17564 # to be unset--not just set to an empty or harmless value--now, to
17565 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17566 # also avoids known problems related to "unset" and subshell syntax
17567 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17568 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17569 do eval test \${$as_var+y} \
17570 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17571 done
17572
17573 # Ensure that fds 0, 1, and 2 are open.
17574 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17575 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17576 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17577
17578 # The user is always right.
17579 if ${PATH_SEPARATOR+false} :; then
17580 PATH_SEPARATOR=:
17581 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17582 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17583 PATH_SEPARATOR=';'
17584 }
17585 fi
17586
17587
17588 # Find who we are. Look in the path if we contain no directory separator.
17589 as_myself=
17590 case $0 in #((
17591 *[\\/]* ) as_myself=$0 ;;
17592 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17593 for as_dir in $PATH
17594 do
17595 IFS=$as_save_IFS
17596 case $as_dir in #(((
17597 '') as_dir=./ ;;
17598 */) ;;
17599 *) as_dir=$as_dir/ ;;
17600 esac
17601 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17602 done
17603 IFS=$as_save_IFS
17604
17605 ;;
17606 esac
17607 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17608 # in which case we are not to be found in the path.
17609 if test "x$as_myself" = x; then
17610 as_myself=$0
17611 fi
17612 if test ! -f "$as_myself"; then
17613 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17614 exit 1
17615 fi
17616
17617
17618
17619 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17620 # ----------------------------------------
17621 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17622 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17623 # script with STATUS, using 1 if that was 0.
17624 as_fn_error ()
17625 {
17626 as_status=$1; test $as_status -eq 0 && as_status=1
17627 if test "$4"; then
17628 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17630 fi
17631 printf "%s\n" "$as_me: error: $2" >&2
17632 as_fn_exit $as_status
17633 } # as_fn_error
17634
17635
17636 # as_fn_set_status STATUS
17637 # -----------------------
17638 # Set $? to STATUS, without forking.
17639 as_fn_set_status ()
17640 {
17641 return $1
17642 } # as_fn_set_status
17643
17644 # as_fn_exit STATUS
17645 # -----------------
17646 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17647 as_fn_exit ()
17648 {
17649 set +e
17650 as_fn_set_status $1
17651 exit $1
17652 } # as_fn_exit
17653
17654 # as_fn_unset VAR
17655 # ---------------
17656 # Portably unset VAR.
17657 as_fn_unset ()
17658 {
17659 { eval $1=; unset $1;}
17660 }
17661 as_unset=as_fn_unset
17662
17663 # as_fn_append VAR VALUE
17664 # ----------------------
17665 # Append the text in VALUE to the end of the definition contained in VAR. Take
17666 # advantage of any shell optimizations that allow amortized linear growth over
17667 # repeated appends, instead of the typical quadratic growth present in naive
17668 # implementations.
17669 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17670 then :
17671 eval 'as_fn_append ()
17672 {
17673 eval $1+=\$2
17674 }'
17675 else case e in #(
17676 e) as_fn_append ()
17677 {
17678 eval $1=\$$1\$2
17679 } ;;
17680 esac
17681 fi # as_fn_append
17682
17683 # as_fn_arith ARG...
17684 # ------------------
17685 # Perform arithmetic evaluation on the ARGs, and store the result in the
17686 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17687 # must be portable across $(()) and expr.
17688 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17689 then :
17690 eval 'as_fn_arith ()
17691 {
17692 as_val=$(( $* ))
17693 }'
17694 else case e in #(
17695 e) as_fn_arith ()
17696 {
17697 as_val=`expr "$@" || test $? -eq 1`
17698 } ;;
17699 esac
17700 fi # as_fn_arith
17701
17702
17703 if expr a : '\(a\)' >/dev/null 2>&1 &&
17704 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17705 as_expr=expr
17706 else
17707 as_expr=false
17708 fi
17709
17710 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17711 as_basename=basename
17712 else
17713 as_basename=false
17714 fi
17715
17716 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17717 as_dirname=dirname
17718 else
17719 as_dirname=false
17720 fi
17721
17722 as_me=`$as_basename -- "$0" ||
17723 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17724 X"$0" : 'X\(//\)$' \| \
17725 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17726 printf "%s\n" X/"$0" |
17727 sed '/^.*\/\([^/][^/]*\)\/*$/{
17728 s//\1/
17729 q
17730 }
17731 /^X\/\(\/\/\)$/{
17732 s//\1/
17733 q
17734 }
17735 /^X\/\(\/\).*/{
17736 s//\1/
17737 q
17738 }
17739 s/.*/./; q'`
17740
17741 # Avoid depending upon Character Ranges.
17742 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17743 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17744 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17745 as_cr_digits='0123456789'
17746 as_cr_alnum=$as_cr_Letters$as_cr_digits
17747
17748
17749 # Determine whether it's possible to make 'echo' print without a newline.
17750 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17751 # for compatibility with existing Makefiles.
17752 ECHO_C= ECHO_N= ECHO_T=
17753 case `echo -n x` in #(((((
17754 -n*)
17755 case `echo 'xy\c'` in
17756 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17757 xy) ECHO_C='\c';;
17758 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17759 ECHO_T=' ';;
17760 esac;;
17761 *)
17762 ECHO_N='-n';;
17763 esac
17764
17765 # For backward compatibility with old third-party macros, we provide
17766 # the shell variables $as_echo and $as_echo_n. New code should use
17767 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
17768 as_echo='printf %s\n'
17769 as_echo_n='printf %s'
17770
17771 rm -f conf$$ conf$$.exe conf$$.file
17772 if test -d conf$$.dir; then
17773 rm -f conf$$.dir/conf$$.file
17774 else
17775 rm -f conf$$.dir
17776 mkdir conf$$.dir 2>/dev/null
17777 fi
17778 if (echo >conf$$.file) 2>/dev/null; then
17779 if ln -s conf$$.file conf$$ 2>/dev/null; then
17780 as_ln_s='ln -s'
17781 # ... but there are two gotchas:
17782 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
17783 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
17784 # In both cases, we have to default to 'cp -pR'.
17785 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17786 as_ln_s='cp -pR'
17787 elif ln conf$$.file conf$$ 2>/dev/null; then
17788 as_ln_s=ln
17789 else
17790 as_ln_s='cp -pR'
17791 fi
17792 else
17793 as_ln_s='cp -pR'
17794 fi
17795 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17796 rmdir conf$$.dir 2>/dev/null
17797
17798
17799 # as_fn_mkdir_p
17800 # -------------
17801 # Create "$as_dir" as a directory, including parents if necessary.
17802 as_fn_mkdir_p ()
17803 {
17804
17805 case $as_dir in #(
17806 -*) as_dir=./$as_dir;;
17807 esac
17808 test -d "$as_dir" || eval $as_mkdir_p || {
17809 as_dirs=
17810 while :; do
17811 case $as_dir in #(
17812 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17813 *) as_qdir=$as_dir;;
17814 esac
17815 as_dirs="'$as_qdir' $as_dirs"
17816 as_dir=`$as_dirname -- "$as_dir" ||
17817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17818 X"$as_dir" : 'X\(//\)[^/]' \| \
17819 X"$as_dir" : 'X\(//\)$' \| \
17820 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17821 printf "%s\n" X"$as_dir" |
17822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17823 s//\1/
17824 q
17825 }
17826 /^X\(\/\/\)[^/].*/{
17827 s//\1/
17828 q
17829 }
17830 /^X\(\/\/\)$/{
17831 s//\1/
17832 q
17833 }
17834 /^X\(\/\).*/{
17835 s//\1/
17836 q
17837 }
17838 s/.*/./; q'`
17839 test -d "$as_dir" && break
17840 done
17841 test -z "$as_dirs" || eval "mkdir $as_dirs"
17842 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17843
17844
17845 } # as_fn_mkdir_p
17846 if mkdir -p . 2>/dev/null; then
17847 as_mkdir_p='mkdir -p "$as_dir"'
17848 else
17849 test -d ./-p && rmdir ./-p
17850 as_mkdir_p=false
17851 fi
17852
17853
17854 # as_fn_executable_p FILE
17855 # -----------------------
17856 # Test if FILE is an executable regular file.
17857 as_fn_executable_p ()
17858 {
17859 test -f "$1" && test -x "$1"
17860 } # as_fn_executable_p
17861 as_test_x='test -x'
17862 as_executable_p=as_fn_executable_p
17863
17864 # Sed expression to map a string onto a valid CPP name.
17865 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
17866 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
17867
17868 # Sed expression to map a string onto a valid variable name.
17869 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
17870 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
17871
17872
17873 exec 6>&1
17874 ## ----------------------------------- ##
17875 ## Main body of $CONFIG_STATUS script. ##
17876 ## ----------------------------------- ##
17877 _ASEOF
17878 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17879
17880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17881 # Save the log message, to keep $0 and so on meaningful, and to
17882 # report actual input values of CONFIG_FILES etc. instead of their
17883 # values after options handling.
17884 ac_log="
17885 This file was extended by psutils (TeX Live) $as_me 1.23, which was
17886 generated by GNU Autoconf 2.72. Invocation command line was
17887
17888 CONFIG_FILES = $CONFIG_FILES
17889 CONFIG_HEADERS = $CONFIG_HEADERS
17890 CONFIG_LINKS = $CONFIG_LINKS
17891 CONFIG_COMMANDS = $CONFIG_COMMANDS
17892 $ $0 $@
17893
17894 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17895 "
17896
17897 _ACEOF
17898
17899 case $ac_config_files in *"
17900 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17901 esac
17902
17903 case $ac_config_headers in *"
17904 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17905 esac
17906
17907
17908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17909 # Files that config.status was made for.
17910 config_files="$ac_config_files"
17911 config_headers="$ac_config_headers"
17912 config_links="$ac_config_links"
17913 config_commands="$ac_config_commands"
17914
17915 _ACEOF
17916
17917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17918 ac_cs_usage="\
17919 '$as_me' instantiates files and other configuration actions
17920 from templates according to the current configuration. Unless the files
17921 and actions are specified as TAGs, all are instantiated by default.
17922
17923 Usage: $0 [OPTION]... [TAG]...
17924
17925 -h, --help print this help, then exit
17926 -V, --version print version number and configuration settings, then exit
17927 --config print configuration, then exit
17928 -q, --quiet, --silent
17929 do not print progress messages
17930 -d, --debug don't remove temporary files
17931 --recheck update $as_me by reconfiguring in the same conditions
17932 --file=FILE[:TEMPLATE]
17933 instantiate the configuration file FILE
17934 --header=FILE[:TEMPLATE]
17935 instantiate the configuration header FILE
17936
17937 Configuration files:
17938 $config_files
17939
17940 Configuration headers:
17941 $config_headers
17942
17943 Configuration links:
17944 $config_links
17945
17946 Configuration commands:
17947 $config_commands
17948
17949 Report bugs to <[email protected]>."
17950
17951 _ACEOF
17952 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
17953 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
17954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17955 ac_cs_config='$ac_cs_config_escaped'
17956 ac_cs_version="\\
17957 psutils (TeX Live) config.status 1.23
17958 configured by $0, generated by GNU Autoconf 2.72,
17959 with options \\"\$ac_cs_config\\"
17960
17961 Copyright (C) 2023 Free Software Foundation, Inc.
17962 This config.status script is free software; the Free Software Foundation
17963 gives unlimited permission to copy, distribute and modify it."
17964
17965 ac_pwd='$ac_pwd'
17966 srcdir='$srcdir'
17967 INSTALL='$INSTALL'
17968 MKDIR_P='$MKDIR_P'
17969 AWK='$AWK'
17970 test -n "\$AWK" || AWK=awk
17971 _ACEOF
17972
17973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17974 # The default lists apply if the user does not specify any file.
17975 ac_need_defaults=:
17976 while test $# != 0
17977 do
17978 case $1 in
17979 --*=?*)
17980 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17981 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17982 ac_shift=:
17983 ;;
17984 --*=)
17985 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17986 ac_optarg=
17987 ac_shift=:
17988 ;;
17989 *)
17990 ac_option=$1
17991 ac_optarg=$2
17992 ac_shift=shift
17993 ;;
17994 esac
17995
17996 case $ac_option in
17997 # Handling of the options.
17998 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17999 ac_cs_recheck=: ;;
18000 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18001 printf "%s\n" "$ac_cs_version"; exit ;;
18002 --config | --confi | --conf | --con | --co | --c )
18003 printf "%s\n" "$ac_cs_config"; exit ;;
18004 --debug | --debu | --deb | --de | --d | -d )
18005 debug=: ;;
18006 --file | --fil | --fi | --f )
18007 $ac_shift
18008 case $ac_optarg in
18009 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18010 '') as_fn_error $? "missing file argument" ;;
18011 esac
18012 as_fn_append CONFIG_FILES " '$ac_optarg'"
18013 ac_need_defaults=false;;
18014 --header | --heade | --head | --hea )
18015 $ac_shift
18016 case $ac_optarg in
18017 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18018 esac
18019 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18020 ac_need_defaults=false;;
18021 --he | --h)
18022 # Conflict between --help and --header
18023 as_fn_error $? "ambiguous option: '$1'
18024 Try '$0 --help' for more information.";;
18025 --help | --hel | -h )
18026 printf "%s\n" "$ac_cs_usage"; exit ;;
18027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18028 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18029 ac_cs_silent=: ;;
18030
18031 # This is an error.
18032 -*) as_fn_error $? "unrecognized option: '$1'
18033 Try '$0 --help' for more information." ;;
18034
18035 *) as_fn_append ac_config_targets " $1"
18036 ac_need_defaults=false ;;
18037
18038 esac
18039 shift
18040 done
18041
18042 ac_configure_extra_args=
18043
18044 if $ac_cs_silent; then
18045 exec 6>/dev/null
18046 ac_configure_extra_args="$ac_configure_extra_args --silent"
18047 fi
18048
18049 _ACEOF
18050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18051 if \$ac_cs_recheck; then
18052 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18053 shift
18054 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
18055 CONFIG_SHELL='$SHELL'
18056 export CONFIG_SHELL
18057 exec "\$@"
18058 fi
18059
18060 _ACEOF
18061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18062 exec 5>>config.log
18063 {
18064 echo
18065 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18066 ## Running $as_me. ##
18067 _ASBOX
18068 printf "%s\n" "$ac_log"
18069 } >&5
18070
18071 _ACEOF
18072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18073 #
18074 # INIT-COMMANDS
18075 #
18076 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18077
18078
18079 # The HP-UX ksh and POSIX shell print the target directory to stdout
18080 # if CDPATH is set.
18081 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18082
18083 sed_quote_subst='$sed_quote_subst'
18084 double_quote_subst='$double_quote_subst'
18085 delay_variable_subst='$delay_variable_subst'
18086 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18087 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18088 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18089 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18090 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18091 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18092 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18093 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18094 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18095 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18096 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18097 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18098 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18099 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18100 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18101 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18102 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18103 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18104 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18105 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18106 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18107 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18108 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18109 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18110 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18111 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18112 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18113 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18114 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18115 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18116 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18117 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18118 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18119 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18120 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18121 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18122 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18123 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
18124 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18125 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18126 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18127 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18128 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18129 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18130 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18131 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18132 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18133 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18134 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18135 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18136 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18137 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18138 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18139 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18140 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18141 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18142 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18143 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18144 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18145 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18146 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18147 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"`'
18148 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18149 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18150 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18151 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18152 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18153 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18154 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18155 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18156 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18157 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18158 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18159 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18160 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18161 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18162 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18163 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18164 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18165 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18166 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18167 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18168 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18169 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18170 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18171 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18172 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18173 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18174 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18175 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18176 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18177 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18178 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18179 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18180 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18181 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18182 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18183 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18184 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18185 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18186 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18187 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18188 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18189 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18190 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18191 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18192 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18193 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18194 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18195 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18196 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18197 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18198 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18199 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18200 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18201 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18202 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18203 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18204 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18205 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18206 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18207 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18208 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18209 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18210 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18211 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18212 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18213 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18214 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18215 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18216 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18217 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18218 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18219 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18220 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18221 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18222 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18223 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18224
18225 LTCC='$LTCC'
18226 LTCFLAGS='$LTCFLAGS'
18227 compiler='$compiler_DEFAULT'
18228
18229 # A function that is used when there is no print builtin or printf.
18230 func_fallback_echo ()
18231 {
18232 eval 'cat <<_LTECHO_EOF
18233 \$1
18234 _LTECHO_EOF'
18235 }
18236
18237 # Quote evaled strings.
18238 for var in AS \
18239 DLLTOOL \
18240 OBJDUMP \
18241 SHELL \
18242 ECHO \
18243 PATH_SEPARATOR \
18244 SED \
18245 GREP \
18246 EGREP \
18247 FGREP \
18248 LD \
18249 NM \
18250 LN_S \
18251 lt_SP2NL \
18252 lt_NL2SP \
18253 reload_flag \
18254 FILECMD \
18255 deplibs_check_method \
18256 file_magic_cmd \
18257 file_magic_glob \
18258 want_nocaseglob \
18259 sharedlib_from_linklib_cmd \
18260 AR \
18261 archiver_list_spec \
18262 STRIP \
18263 RANLIB \
18264 CC \
18265 CFLAGS \
18266 compiler \
18267 lt_cv_sys_global_symbol_pipe \
18268 lt_cv_sys_global_symbol_to_cdecl \
18269 lt_cv_sys_global_symbol_to_import \
18270 lt_cv_sys_global_symbol_to_c_name_address \
18271 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18272 lt_cv_nm_interface \
18273 nm_file_list_spec \
18274 lt_cv_truncate_bin \
18275 lt_prog_compiler_no_builtin_flag \
18276 lt_prog_compiler_pic \
18277 lt_prog_compiler_wl \
18278 lt_prog_compiler_static \
18279 lt_cv_prog_compiler_c_o \
18280 need_locks \
18281 MANIFEST_TOOL \
18282 DSYMUTIL \
18283 NMEDIT \
18284 LIPO \
18285 OTOOL \
18286 OTOOL64 \
18287 shrext_cmds \
18288 export_dynamic_flag_spec \
18289 whole_archive_flag_spec \
18290 compiler_needs_object \
18291 with_gnu_ld \
18292 allow_undefined_flag \
18293 no_undefined_flag \
18294 hardcode_libdir_flag_spec \
18295 hardcode_libdir_separator \
18296 exclude_expsyms \
18297 include_expsyms \
18298 file_list_spec \
18299 variables_saved_for_relink \
18300 libname_spec \
18301 library_names_spec \
18302 soname_spec \
18303 install_override_mode \
18304 finish_eval \
18305 old_striplib \
18306 striplib; do
18307 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18308 *[\\\\\\\`\\"\\\$]*)
18309 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18310 ;;
18311 *)
18312 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18313 ;;
18314 esac
18315 done
18316
18317 # Double-quote double-evaled strings.
18318 for var in reload_cmds \
18319 old_postinstall_cmds \
18320 old_postuninstall_cmds \
18321 old_archive_cmds \
18322 extract_expsyms_cmds \
18323 old_archive_from_new_cmds \
18324 old_archive_from_expsyms_cmds \
18325 archive_cmds \
18326 archive_expsym_cmds \
18327 module_cmds \
18328 module_expsym_cmds \
18329 export_symbols_cmds \
18330 prelink_cmds \
18331 postlink_cmds \
18332 postinstall_cmds \
18333 postuninstall_cmds \
18334 finish_cmds \
18335 sys_lib_search_path_spec \
18336 configure_time_dlsearch_path \
18337 configure_time_lt_sys_library_path; do
18338 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18339 *[\\\\\\\`\\"\\\$]*)
18340 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18341 ;;
18342 *)
18343 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18344 ;;
18345 esac
18346 done
18347
18348 ac_aux_dir='$ac_aux_dir'
18349
18350 # See if we are running on zsh, and set the options that allow our
18351 # commands through without removal of \ escapes INIT.
18352 if test -n "\${ZSH_VERSION+set}"; then
18353 setopt NO_GLOB_SUBST
18354 fi
18355
18356
18357 PACKAGE='$PACKAGE'
18358 VERSION='$VERSION'
18359 RM='$RM'
18360 ofile='$ofile'
18361
18362 ac_aux_dir='$ac_aux_dir'
18363
18364
18365
18366 _ACEOF
18367
18368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18369
18370 # Handling of arguments.
18371 for ac_config_target in $ac_config_targets
18372 do
18373 case $ac_config_target in
18374 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18375 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18376 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18377 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18378 "extractres.pl") CONFIG_LINKS="$CONFIG_LINKS extractres.pl:psutils-src/extractres" ;;
18379 "includeres.pl") CONFIG_LINKS="$CONFIG_LINKS includeres.pl:psutils-src/extractres" ;;
18380 "psjoin.pl") CONFIG_LINKS="$CONFIG_LINKS psjoin.pl:psutils-src/psjoin" ;;
18381
18382 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
18383 esac
18384 done
18385
18386
18387 # If the user did not use the arguments to specify the items to instantiate,
18388 # then the envvar interface is used. Set only those that are not.
18389 # We use the long form for the default assignment because of an extremely
18390 # bizarre bug on SunOS 4.1.3.
18391 if $ac_need_defaults; then
18392 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18393 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18394 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
18395 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18396 fi
18397
18398 # Have a temporary directory for convenience. Make it in the build tree
18399 # simply because there is no reason against having it here, and in addition,
18400 # creating and moving files from /tmp can sometimes cause problems.
18401 # Hook for its removal unless debugging.
18402 # Note that there is a small window in which the directory will not be cleaned:
18403 # after its creation but before its name has been assigned to '$tmp'.
18404 $debug ||
18405 {
18406 tmp= ac_tmp=
18407 trap 'exit_status=$?
18408 : "${ac_tmp:=$tmp}"
18409 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18410 ' 0
18411 trap 'as_fn_exit 1' 1 2 13 15
18412 }
18413 # Create a (secure) tmp directory for tmp files.
18414
18415 {
18416 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18417 test -d "$tmp"
18418 } ||
18419 {
18420 tmp=./conf$$-$RANDOM
18421 (umask 077 && mkdir "$tmp")
18422 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18423 ac_tmp=$tmp
18424
18425 # Set up the scripts for CONFIG_FILES section.
18426 # No need to generate them if there are no CONFIG_FILES.
18427 # This happens for instance with './config.status config.h'.
18428 if test -n "$CONFIG_FILES"; then
18429
18430
18431 ac_cr=`echo X | tr X '\015'`
18432 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18433 # But we know of no other shell where ac_cr would be empty at this
18434 # point, so we can use a bashism as a fallback.
18435 if test "x$ac_cr" = x; then
18436 eval ac_cr=\$\'\\r\'
18437 fi
18438 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18439 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18440 ac_cs_awk_cr='\\r'
18441 else
18442 ac_cs_awk_cr=$ac_cr
18443 fi
18444
18445 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18446 _ACEOF
18447
18448
18449 {
18450 echo "cat >conf$$subs.awk <<_ACEOF" &&
18451 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18452 echo "_ACEOF"
18453 } >conf$$subs.sh ||
18454 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18455 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18456 ac_delim='%!_!# '
18457 for ac_last_try in false false false false false :; do
18458 . ./conf$$subs.sh ||
18459 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18460
18461 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18462 if test $ac_delim_n = $ac_delim_num; then
18463 break
18464 elif $ac_last_try; then
18465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18466 else
18467 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18468 fi
18469 done
18470 rm -f conf$$subs.sh
18471
18472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18473 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18474 _ACEOF
18475 sed -n '
18476 h
18477 s/^/S["/; s/!.*/"]=/
18478 p
18479 g
18480 s/^[^!]*!//
18481 :repl
18482 t repl
18483 s/'"$ac_delim"'$//
18484 t delim
18485 :nl
18486 h
18487 s/\(.\{148\}\)..*/\1/
18488 t more1
18489 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18490 p
18491 n
18492 b repl
18493 :more1
18494 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18495 p
18496 g
18497 s/.\{148\}//
18498 t nl
18499 :delim
18500 h
18501 s/\(.\{148\}\)..*/\1/
18502 t more2
18503 s/["\\]/\\&/g; s/^/"/; s/$/"/
18504 p
18505 b
18506 :more2
18507 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18508 p
18509 g
18510 s/.\{148\}//
18511 t delim
18512 ' <conf$$subs.awk | sed '
18513 /^[^""]/{
18514 N
18515 s/\n//
18516 }
18517 ' >>$CONFIG_STATUS || ac_write_fail=1
18518 rm -f conf$$subs.awk
18519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18520 _ACAWK
18521 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18522 for (key in S) S_is_set[key] = 1
18523 FS = ""
18524
18525 }
18526 {
18527 line = $ 0
18528 nfields = split(line, field, "@")
18529 substed = 0
18530 len = length(field[1])
18531 for (i = 2; i < nfields; i++) {
18532 key = field[i]
18533 keylen = length(key)
18534 if (S_is_set[key]) {
18535 value = S[key]
18536 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18537 len += length(value) + length(field[++i])
18538 substed = 1
18539 } else
18540 len += 1 + keylen
18541 }
18542
18543 print line
18544 }
18545
18546 _ACAWK
18547 _ACEOF
18548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18549 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18550 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18551 else
18552 cat
18553 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18554 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18555 _ACEOF
18556
18557 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18558 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18559 # trailing colons and then remove the whole line if VPATH becomes empty
18560 # (actually we leave an empty line to preserve line numbers).
18561 if test "x$srcdir" = x.; then
18562 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18563 h
18564 s///
18565 s/^/:/
18566 s/[ ]*$/:/
18567 s/:\$(srcdir):/:/g
18568 s/:\${srcdir}:/:/g
18569 s/:@srcdir@:/:/g
18570 s/^:*//
18571 s/:*$//
18572 x
18573 s/\(=[ ]*\).*/\1/
18574 G
18575 s/\n//
18576 s/^[^=]*=[ ]*$//
18577 }'
18578 fi
18579
18580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18581 fi # test -n "$CONFIG_FILES"
18582
18583 # Set up the scripts for CONFIG_HEADERS section.
18584 # No need to generate them if there are no CONFIG_HEADERS.
18585 # This happens for instance with './config.status Makefile'.
18586 if test -n "$CONFIG_HEADERS"; then
18587 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18588 BEGIN {
18589 _ACEOF
18590
18591 # Transform confdefs.h into an awk script 'defines.awk', embedded as
18592 # here-document in config.status, that substitutes the proper values into
18593 # config.h.in to produce config.h.
18594
18595 # Create a delimiter string that does not exist in confdefs.h, to ease
18596 # handling of long lines.
18597 ac_delim='%!_!# '
18598 for ac_last_try in false false :; do
18599 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18600 if test -z "$ac_tt"; then
18601 break
18602 elif $ac_last_try; then
18603 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18604 else
18605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18606 fi
18607 done
18608
18609 # For the awk script, D is an array of macro values keyed by name,
18610 # likewise P contains macro parameters if any. Preserve backslash
18611 # newline sequences.
18612
18613 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18614 sed -n '
18615 s/.\{148\}/&'"$ac_delim"'/g
18616 t rset
18617 :rset
18618 s/^[ ]*#[ ]*define[ ][ ]*/ /
18619 t def
18620 d
18621 :def
18622 s/\\$//
18623 t bsnl
18624 s/["\\]/\\&/g
18625 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18626 D["\1"]=" \3"/p
18627 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18628 d
18629 :bsnl
18630 s/["\\]/\\&/g
18631 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18632 D["\1"]=" \3\\\\\\n"\\/p
18633 t cont
18634 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18635 t cont
18636 d
18637 :cont
18638 n
18639 s/.\{148\}/&'"$ac_delim"'/g
18640 t clear
18641 :clear
18642 s/\\$//
18643 t bsnlc
18644 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18645 d
18646 :bsnlc
18647 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18648 b cont
18649 ' <confdefs.h | sed '
18650 s/'"$ac_delim"'/"\\\
18651 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18652
18653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18654 for (key in D) D_is_set[key] = 1
18655 FS = ""
18656 }
18657 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18658 line = \$ 0
18659 split(line, arg, " ")
18660 if (arg[1] == "#") {
18661 defundef = arg[2]
18662 mac1 = arg[3]
18663 } else {
18664 defundef = substr(arg[1], 2)
18665 mac1 = arg[2]
18666 }
18667 split(mac1, mac2, "(") #)
18668 macro = mac2[1]
18669 prefix = substr(line, 1, index(line, defundef) - 1)
18670 if (D_is_set[macro]) {
18671 # Preserve the white space surrounding the "#".
18672 print prefix "define", macro P[macro] D[macro]
18673 next
18674 } else {
18675 # Replace #undef with comments. This is necessary, for example,
18676 # in the case of _POSIX_SOURCE, which is predefined and required
18677 # on some systems where configure will not decide to define it.
18678 if (defundef == "undef") {
18679 print "/*", prefix defundef, macro, "*/"
18680 next
18681 }
18682 }
18683 }
18684 { print }
18685 _ACAWK
18686 _ACEOF
18687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18688 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18689 fi # test -n "$CONFIG_HEADERS"
18690
18691
18692 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18693 shift
18694 for ac_tag
18695 do
18696 case $ac_tag in
18697 :[FHLC]) ac_mode=$ac_tag; continue;;
18698 esac
18699 case $ac_mode$ac_tag in
18700 :[FHL]*:*);;
18701 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
18702 :[FH]-) ac_tag=-:-;;
18703 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18704 esac
18705 ac_save_IFS=$IFS
18706 IFS=:
18707 set x $ac_tag
18708 IFS=$ac_save_IFS
18709 shift
18710 ac_file=$1
18711 shift
18712
18713 case $ac_mode in
18714 :L) ac_source=$1;;
18715 :[FH])
18716 ac_file_inputs=
18717 for ac_f
18718 do
18719 case $ac_f in
18720 -) ac_f="$ac_tmp/stdin";;
18721 *) # Look for the file first in the build tree, then in the source tree
18722 # (if the path is not absolute). The absolute path cannot be DOS-style,
18723 # because $ac_f cannot contain ':'.
18724 test -f "$ac_f" ||
18725 case $ac_f in
18726 [\\/$]*) false;;
18727 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18728 esac ||
18729 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
18730 esac
18731 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18732 as_fn_append ac_file_inputs " '$ac_f'"
18733 done
18734
18735 # Let's still pretend it is 'configure' which instantiates (i.e., don't
18736 # use $as_me), people would be surprised to read:
18737 # /* config.h. Generated by config.status. */
18738 configure_input='Generated from '`
18739 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18740 `' by configure.'
18741 if test x"$ac_file" != x-; then
18742 configure_input="$ac_file. $configure_input"
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18744 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18745 fi
18746 # Neutralize special characters interpreted by sed in replacement strings.
18747 case $configure_input in #(
18748 *\&* | *\|* | *\\* )
18749 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18750 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18751 *) ac_sed_conf_input=$configure_input;;
18752 esac
18753
18754 case $ac_tag in
18755 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18756 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18757 esac
18758 ;;
18759 esac
18760
18761 ac_dir=`$as_dirname -- "$ac_file" ||
18762 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18763 X"$ac_file" : 'X\(//\)[^/]' \| \
18764 X"$ac_file" : 'X\(//\)$' \| \
18765 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18766 printf "%s\n" X"$ac_file" |
18767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18768 s//\1/
18769 q
18770 }
18771 /^X\(\/\/\)[^/].*/{
18772 s//\1/
18773 q
18774 }
18775 /^X\(\/\/\)$/{
18776 s//\1/
18777 q
18778 }
18779 /^X\(\/\).*/{
18780 s//\1/
18781 q
18782 }
18783 s/.*/./; q'`
18784 as_dir="$ac_dir"; as_fn_mkdir_p
18785 ac_builddir=.
18786
18787 case "$ac_dir" in
18788 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18789 *)
18790 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
18791 # A ".." for each directory in $ac_dir_suffix.
18792 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18793 case $ac_top_builddir_sub in
18794 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18795 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18796 esac ;;
18797 esac
18798 ac_abs_top_builddir=$ac_pwd
18799 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18800 # for backward compatibility:
18801 ac_top_builddir=$ac_top_build_prefix
18802
18803 case $srcdir in
18804 .) # We are building in place.
18805 ac_srcdir=.
18806 ac_top_srcdir=$ac_top_builddir_sub
18807 ac_abs_top_srcdir=$ac_pwd ;;
18808 [\\/]* | ?:[\\/]* ) # Absolute name.
18809 ac_srcdir=$srcdir$ac_dir_suffix;
18810 ac_top_srcdir=$srcdir
18811 ac_abs_top_srcdir=$srcdir ;;
18812 *) # Relative name.
18813 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18814 ac_top_srcdir=$ac_top_build_prefix$srcdir
18815 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18816 esac
18817 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18818
18819
18820 case $ac_mode in
18821 :F)
18822 #
18823 # CONFIG_FILE
18824 #
18825
18826 case $INSTALL in
18827 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18828 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18829 esac
18830 ac_MKDIR_P=$MKDIR_P
18831 case $MKDIR_P in
18832 [\\/$]* | ?:[\\/]* ) ;;
18833 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18834 esac
18835 _ACEOF
18836
18837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18838 # If the template does not know about datarootdir, expand it.
18839 # FIXME: This hack should be removed a few years after 2.60.
18840 ac_datarootdir_hack=; ac_datarootdir_seen=
18841 ac_sed_dataroot='
18842 /datarootdir/ {
18843 p
18844 q
18845 }
18846 /@datadir@/p
18847 /@docdir@/p
18848 /@infodir@/p
18849 /@localedir@/p
18850 /@mandir@/p'
18851 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18852 *datarootdir*) ac_datarootdir_seen=yes;;
18853 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18855 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18856 _ACEOF
18857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18858 ac_datarootdir_hack='
18859 s&@datadir@&$datadir&g
18860 s&@docdir@&$docdir&g
18861 s&@infodir@&$infodir&g
18862 s&@localedir@&$localedir&g
18863 s&@mandir@&$mandir&g
18864 s&\\\${datarootdir}&$datarootdir&g' ;;
18865 esac
18866 _ACEOF
18867
18868 # Neutralize VPATH when '$srcdir' = '.'.
18869 # Shell code in configure.ac might set extrasub.
18870 # FIXME: do we really want to maintain this feature?
18871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18872 ac_sed_extra="$ac_vpsub
18873 $extrasub
18874 _ACEOF
18875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18876 :t
18877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18878 s|@configure_input@|$ac_sed_conf_input|;t t
18879 s&@top_builddir@&$ac_top_builddir_sub&;t t
18880 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18881 s&@srcdir@&$ac_srcdir&;t t
18882 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18883 s&@top_srcdir@&$ac_top_srcdir&;t t
18884 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18885 s&@builddir@&$ac_builddir&;t t
18886 s&@abs_builddir@&$ac_abs_builddir&;t t
18887 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18888 s&@INSTALL@&$ac_INSTALL&;t t
18889 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18890 $ac_datarootdir_hack
18891 "
18892 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18893 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18894
18895 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18896 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18897 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18898 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18900 which seems to be undefined. Please make sure it is defined" >&5
18901 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18902 which seems to be undefined. Please make sure it is defined" >&2;}
18903
18904 rm -f "$ac_tmp/stdin"
18905 case $ac_file in
18906 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18907 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18908 esac \
18909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18910 ;;
18911 :H)
18912 #
18913 # CONFIG_HEADER
18914 #
18915 if test x"$ac_file" != x-; then
18916 {
18917 printf "%s\n" "/* $configure_input */" >&1 \
18918 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18919 } >"$ac_tmp/config.h" \
18920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18921 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18923 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
18924 else
18925 rm -f "$ac_file"
18926 mv "$ac_tmp/config.h" "$ac_file" \
18927 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18928 fi
18929 else
18930 printf "%s\n" "/* $configure_input */" >&1 \
18931 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18932 || as_fn_error $? "could not create -" "$LINENO" 5
18933 fi
18934 # Compute "$ac_file"'s index in $config_headers.
18935 _am_arg="$ac_file"
18936 _am_stamp_count=1
18937 for _am_header in $config_headers :; do
18938 case $_am_header in
18939 $_am_arg | $_am_arg:* )
18940 break ;;
18941 * )
18942 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18943 esac
18944 done
18945 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18946 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18947 X"$_am_arg" : 'X\(//\)[^/]' \| \
18948 X"$_am_arg" : 'X\(//\)$' \| \
18949 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18950 printf "%s\n" X"$_am_arg" |
18951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18952 s//\1/
18953 q
18954 }
18955 /^X\(\/\/\)[^/].*/{
18956 s//\1/
18957 q
18958 }
18959 /^X\(\/\/\)$/{
18960 s//\1/
18961 q
18962 }
18963 /^X\(\/\).*/{
18964 s//\1/
18965 q
18966 }
18967 s/.*/./; q'`/stamp-h$_am_stamp_count
18968 ;;
18969 :L)
18970 #
18971 # CONFIG_LINK
18972 #
18973
18974 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18975 :
18976 else
18977 # Prefer the file from the source tree if names are identical.
18978 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18979 ac_source=$srcdir/$ac_source
18980 fi
18981
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18983 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
18984
18985 if test ! -r "$ac_source"; then
18986 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18987 fi
18988 rm -f "$ac_file"
18989
18990 # Try a relative symlink, then a hard link, then a copy.
18991 case $ac_source in
18992 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18993 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18994 esac
18995 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18996 ln "$ac_source" "$ac_file" 2>/dev/null ||
18997 cp -p "$ac_source" "$ac_file" ||
18998 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18999 fi
19000 ;;
19001 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19002 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
19003 ;;
19004 esac
19005
19006
19007 case $ac_file$ac_mode in
19008 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19009 # Older Autoconf quotes --file arguments for eval, but not when files
19010 # are listed without --file. Let's play safe and only enable the eval
19011 # if we detect the quoting.
19012 # TODO: see whether this extra hack can be removed once we start
19013 # requiring Autoconf 2.70 or later.
19014 case $CONFIG_FILES in #(
19015 *\'*) :
19016 eval set x "$CONFIG_FILES" ;; #(
19017 *) :
19018 set x $CONFIG_FILES ;; #(
19019 *) :
19020 ;;
19021 esac
19022 shift
19023 # Used to flag and report bootstrapping failures.
19024 am_rc=0
19025 for am_mf
19026 do
19027 # Strip MF so we end up with the name of the file.
19028 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
19029 # Check whether this is an Automake generated Makefile which includes
19030 # dependency-tracking related rules and includes.
19031 # Grep'ing the whole file directly is not great: AIX grep has a line
19032 # limit of 2048, but all sed's we know have understand at least 4000.
19033 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19034 || continue
19035 am_dirpart=`$as_dirname -- "$am_mf" ||
19036 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19037 X"$am_mf" : 'X\(//\)[^/]' \| \
19038 X"$am_mf" : 'X\(//\)$' \| \
19039 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19040 printf "%s\n" X"$am_mf" |
19041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19042 s//\1/
19043 q
19044 }
19045 /^X\(\/\/\)[^/].*/{
19046 s//\1/
19047 q
19048 }
19049 /^X\(\/\/\)$/{
19050 s//\1/
19051 q
19052 }
19053 /^X\(\/\).*/{
19054 s//\1/
19055 q
19056 }
19057 s/.*/./; q'`
19058 am_filepart=`$as_basename -- "$am_mf" ||
19059 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19060 X"$am_mf" : 'X\(//\)$' \| \
19061 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19062 printf "%s\n" X/"$am_mf" |
19063 sed '/^.*\/\([^/][^/]*\)\/*$/{
19064 s//\1/
19065 q
19066 }
19067 /^X\/\(\/\/\)$/{
19068 s//\1/
19069 q
19070 }
19071 /^X\/\(\/\).*/{
19072 s//\1/
19073 q
19074 }
19075 s/.*/./; q'`
19076 { echo "$as_me:$LINENO: cd "$am_dirpart" \
19077 && sed -e '/# am--include-marker/d' "$am_filepart" \
19078 | $MAKE -f - am--depfiles" >&5
19079 (cd "$am_dirpart" \
19080 && sed -e '/# am--include-marker/d' "$am_filepart" \
19081 | $MAKE -f - am--depfiles) >&5 2>&5
19082 ac_status=$?
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } || am_rc=$?
19085 done
19086 if test $am_rc -ne 0; then
19087 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
19088 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
19089 as_fn_error $? "Something went wrong bootstrapping makefile fragments
19090 for automatic dependency tracking. If GNU make was not used, consider
19091 re-running the configure script with MAKE=\"gmake\" (or whatever is
19092 necessary). You can also try re-running configure with the
19093 '--disable-dependency-tracking' option to at least be able to build
19094 the package (albeit without support for automatic dependency tracking).
19095 See 'config.log' for more details" "$LINENO" 5; }
19096 fi
19097 { am_dirpart=; unset am_dirpart;}
19098 { am_filepart=; unset am_filepart;}
19099 { am_mf=; unset am_mf;}
19100 { am_rc=; unset am_rc;}
19101 rm -f conftest-deps.mk
19102 }
19103 ;;
19104 "libtool":C)
19105
19106 # See if we are running on zsh, and set the options that allow our
19107 # commands through without removal of \ escapes.
19108 if test -n "${ZSH_VERSION+set}"; then
19109 setopt NO_GLOB_SUBST
19110 fi
19111
19112 cfgfile=${ofile}T
19113 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19114 $RM "$cfgfile"
19115
19116 cat <<_LT_EOF >> "$cfgfile"
19117 #! $SHELL
19118 # Generated automatically by $as_me ($PACKAGE) $VERSION
19119 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19120
19121 # Provide generalized library-building support services.
19122 # Written by Gordon Matzigkeit, 1996
19123
19124 # Copyright (C) 2024 Free Software Foundation, Inc.
19125 # This is free software; see the source for copying conditions. There is NO
19126 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19127
19128 # GNU Libtool is free software; you can redistribute it and/or modify
19129 # it under the terms of the GNU General Public License as published by
19130 # the Free Software Foundation; either version 2 of the License, or
19131 # (at your option) any later version.
19132 #
19133 # As a special exception to the GNU General Public License, if you
19134 # distribute this file as part of a program or library that is built
19135 # using GNU Libtool, you may include this file under the same
19136 # distribution terms that you use for the rest of that program.
19137 #
19138 # GNU Libtool is distributed in the hope that it will be useful, but
19139 # WITHOUT ANY WARRANTY; without even the implied warranty of
19140 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19141 # GNU General Public License for more details.
19142 #
19143 # You should have received a copy of the GNU General Public License
19144 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19145
19146
19147 # The names of the tagged configurations supported by this script.
19148 available_tags=''
19149
19150 # Configured defaults for sys_lib_dlsearch_path munging.
19151 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19152
19153 # ### BEGIN LIBTOOL CONFIG
19154
19155 # Which release of libtool.m4 was used?
19156 macro_version=$macro_version
19157 macro_revision=$macro_revision
19158
19159 # Assembler program.
19160 AS=$lt_AS
19161
19162 # DLL creation program.
19163 DLLTOOL=$lt_DLLTOOL
19164
19165 # Object dumper program.
19166 OBJDUMP=$lt_OBJDUMP
19167
19168 # Whether or not to build shared libraries.
19169 build_libtool_libs=$enable_shared
19170
19171 # Whether or not to build static libraries.
19172 build_old_libs=$enable_static
19173
19174 # What type of objects to build.
19175 pic_mode=$pic_mode
19176
19177 # Whether or not to optimize for fast installation.
19178 fast_install=$enable_fast_install
19179
19180 # Shared archive member basename,for filename based shared library versioning on AIX.
19181 shared_archive_member_spec=$shared_archive_member_spec
19182
19183 # Shell to use when invoking shell scripts.
19184 SHELL=$lt_SHELL
19185
19186 # An echo program that protects backslashes.
19187 ECHO=$lt_ECHO
19188
19189 # The PATH separator for the build system.
19190 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19191
19192 # The host system.
19193 host_alias=$host_alias
19194 host=$host
19195 host_os=$host_os
19196
19197 # The build system.
19198 build_alias=$build_alias
19199 build=$build
19200 build_os=$build_os
19201
19202 # A sed program that does not truncate output.
19203 SED=$lt_SED
19204
19205 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19206 Xsed="\$SED -e 1s/^X//"
19207
19208 # A grep program that handles long lines.
19209 GREP=$lt_GREP
19210
19211 # An ERE matcher.
19212 EGREP=$lt_EGREP
19213
19214 # A literal string matcher.
19215 FGREP=$lt_FGREP
19216
19217 # A BSD- or MS-compatible name lister.
19218 NM=$lt_NM
19219
19220 # Whether we need soft or hard links.
19221 LN_S=$lt_LN_S
19222
19223 # What is the maximum length of a command?
19224 max_cmd_len=$max_cmd_len
19225
19226 # Object file suffix (normally "o").
19227 objext=$ac_objext
19228
19229 # Executable file suffix (normally "").
19230 exeext=$exeext
19231
19232 # whether the shell understands "unset".
19233 lt_unset=$lt_unset
19234
19235 # turn spaces into newlines.
19236 SP2NL=$lt_lt_SP2NL
19237
19238 # turn newlines into spaces.
19239 NL2SP=$lt_lt_NL2SP
19240
19241 # convert \$build file names to \$host format.
19242 to_host_file_cmd=$lt_cv_to_host_file_cmd
19243
19244 # convert \$build files to toolchain format.
19245 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19246
19247 # A file(cmd) program that detects file types.
19248 FILECMD=$lt_FILECMD
19249
19250 # Method to check whether dependent libraries are shared objects.
19251 deplibs_check_method=$lt_deplibs_check_method
19252
19253 # Command to use when deplibs_check_method = "file_magic".
19254 file_magic_cmd=$lt_file_magic_cmd
19255
19256 # How to find potential files when deplibs_check_method = "file_magic".
19257 file_magic_glob=$lt_file_magic_glob
19258
19259 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19260 want_nocaseglob=$lt_want_nocaseglob
19261
19262 # Command to associate shared and link libraries.
19263 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19264
19265 # The archiver.
19266 AR=$lt_AR
19267
19268 # Flags to create an archive (by configure).
19269 lt_ar_flags=$lt_ar_flags
19270
19271 # Flags to create an archive.
19272 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19273
19274 # How to feed a file listing to the archiver.
19275 archiver_list_spec=$lt_archiver_list_spec
19276
19277 # A symbol stripping program.
19278 STRIP=$lt_STRIP
19279
19280 # Commands used to install an old-style archive.
19281 RANLIB=$lt_RANLIB
19282 old_postinstall_cmds=$lt_old_postinstall_cmds
19283 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19284
19285 # Whether to use a lock for old archive extraction.
19286 lock_old_archive_extraction=$lock_old_archive_extraction
19287
19288 # A C compiler.
19289 LTCC=$lt_CC
19290
19291 # LTCC compiler flags.
19292 LTCFLAGS=$lt_CFLAGS
19293
19294 # Take the output of nm and produce a listing of raw symbols and C names.
19295 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19296
19297 # Transform the output of nm in a proper C declaration.
19298 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19299
19300 # Transform the output of nm into a list of symbols to manually relocate.
19301 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19302
19303 # Transform the output of nm in a C name address pair.
19304 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19305
19306 # Transform the output of nm in a C name address pair when lib prefix is needed.
19307 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19308
19309 # The name lister interface.
19310 nm_interface=$lt_lt_cv_nm_interface
19311
19312 # Specify filename containing input files for \$NM.
19313 nm_file_list_spec=$lt_nm_file_list_spec
19314
19315 # The root where to search for dependent libraries,and where our libraries should be installed.
19316 lt_sysroot=$lt_sysroot
19317
19318 # Command to truncate a binary pipe.
19319 lt_truncate_bin=$lt_lt_cv_truncate_bin
19320
19321 # The name of the directory that contains temporary libtool files.
19322 objdir=$objdir
19323
19324 # Used to examine libraries when file_magic_cmd begins with "file".
19325 MAGIC_CMD=$MAGIC_CMD
19326
19327 # Must we lock files when doing compilation?
19328 need_locks=$lt_need_locks
19329
19330 # Manifest tool.
19331 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19332
19333 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19334 DSYMUTIL=$lt_DSYMUTIL
19335
19336 # Tool to change global to local symbols on Mac OS X.
19337 NMEDIT=$lt_NMEDIT
19338
19339 # Tool to manipulate fat objects and archives on Mac OS X.
19340 LIPO=$lt_LIPO
19341
19342 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19343 OTOOL=$lt_OTOOL
19344
19345 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19346 OTOOL64=$lt_OTOOL64
19347
19348 # Old archive suffix (normally "a").
19349 libext=$libext
19350
19351 # Shared library suffix (normally ".so").
19352 shrext_cmds=$lt_shrext_cmds
19353
19354 # The commands to extract the exported symbol list from a shared archive.
19355 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19356
19357 # Variables whose values should be saved in libtool wrapper scripts and
19358 # restored at link time.
19359 variables_saved_for_relink=$lt_variables_saved_for_relink
19360
19361 # Do we need the "lib" prefix for modules?
19362 need_lib_prefix=$need_lib_prefix
19363
19364 # Do we need a version for libraries?
19365 need_version=$need_version
19366
19367 # Library versioning type.
19368 version_type=$version_type
19369
19370 # Shared library runtime path variable.
19371 runpath_var=$runpath_var
19372
19373 # Shared library path variable.
19374 shlibpath_var=$shlibpath_var
19375
19376 # Is shlibpath searched before the hard-coded library search path?
19377 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19378
19379 # Format of library name prefix.
19380 libname_spec=$lt_libname_spec
19381
19382 # List of archive names. First name is the real one, the rest are links.
19383 # The last name is the one that the linker finds with -lNAME
19384 library_names_spec=$lt_library_names_spec
19385
19386 # The coded name of the library, if different from the real name.
19387 soname_spec=$lt_soname_spec
19388
19389 # Permission mode override for installation of shared libraries.
19390 install_override_mode=$lt_install_override_mode
19391
19392 # Command to use after installation of a shared archive.
19393 postinstall_cmds=$lt_postinstall_cmds
19394
19395 # Command to use after uninstallation of a shared archive.
19396 postuninstall_cmds=$lt_postuninstall_cmds
19397
19398 # Commands used to finish a libtool library installation in a directory.
19399 finish_cmds=$lt_finish_cmds
19400
19401 # As "finish_cmds", except a single script fragment to be evaled but
19402 # not shown.
19403 finish_eval=$lt_finish_eval
19404
19405 # Whether we should hardcode library paths into libraries.
19406 hardcode_into_libs=$hardcode_into_libs
19407
19408 # Compile-time system search path for libraries.
19409 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19410
19411 # Detected run-time system search path for libraries.
19412 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19413
19414 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19415 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19416
19417 # Whether dlopen is supported.
19418 dlopen_support=$enable_dlopen
19419
19420 # Whether dlopen of programs is supported.
19421 dlopen_self=$enable_dlopen_self
19422
19423 # Whether dlopen of statically linked programs is supported.
19424 dlopen_self_static=$enable_dlopen_self_static
19425
19426 # Commands to strip libraries.
19427 old_striplib=$lt_old_striplib
19428 striplib=$lt_striplib
19429
19430
19431 # The linker used to build libraries.
19432 LD=$lt_LD
19433
19434 # How to create reloadable object files.
19435 reload_flag=$lt_reload_flag
19436 reload_cmds=$lt_reload_cmds
19437
19438 # Commands used to build an old-style archive.
19439 old_archive_cmds=$lt_old_archive_cmds
19440
19441 # A language specific compiler.
19442 CC=$lt_compiler
19443
19444 # Is the compiler the GNU compiler?
19445 with_gcc=$GCC
19446
19447 # Compiler flag to turn off builtin functions.
19448 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19449
19450 # Additional compiler flags for building library objects.
19451 pic_flag=$lt_lt_prog_compiler_pic
19452
19453 # How to pass a linker flag through the compiler.
19454 wl=$lt_lt_prog_compiler_wl
19455
19456 # Compiler flag to prevent dynamic linking.
19457 link_static_flag=$lt_lt_prog_compiler_static
19458
19459 # Does compiler simultaneously support -c and -o options?
19460 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19461
19462 # Whether or not to add -lc for building shared libraries.
19463 build_libtool_need_lc=$archive_cmds_need_lc
19464
19465 # Whether or not to disallow shared libs when runtime libs are static.
19466 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19467
19468 # Compiler flag to allow reflexive dlopens.
19469 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19470
19471 # Compiler flag to generate shared objects directly from archives.
19472 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19473
19474 # Whether the compiler copes with passing no objects directly.
19475 compiler_needs_object=$lt_compiler_needs_object
19476
19477 # Create an old-style archive from a shared archive.
19478 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19479
19480 # Create a temporary old-style archive to link instead of a shared archive.
19481 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19482
19483 # Commands used to build a shared archive.
19484 archive_cmds=$lt_archive_cmds
19485 archive_expsym_cmds=$lt_archive_expsym_cmds
19486
19487 # Commands used to build a loadable module if different from building
19488 # a shared archive.
19489 module_cmds=$lt_module_cmds
19490 module_expsym_cmds=$lt_module_expsym_cmds
19491
19492 # Whether we are building with GNU ld or not.
19493 with_gnu_ld=$lt_with_gnu_ld
19494
19495 # Flag that allows shared libraries with undefined symbols to be built.
19496 allow_undefined_flag=$lt_allow_undefined_flag
19497
19498 # Flag that enforces no undefined symbols.
19499 no_undefined_flag=$lt_no_undefined_flag
19500
19501 # Flag to hardcode \$libdir into a binary during linking.
19502 # This must work even if \$libdir does not exist
19503 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19504
19505 # Whether we need a single "-rpath" flag with a separated argument.
19506 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19507
19508 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19509 # DIR into the resulting binary.
19510 hardcode_direct=$hardcode_direct
19511
19512 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19513 # DIR into the resulting binary and the resulting library dependency is
19514 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
19515 # library is relocated.
19516 hardcode_direct_absolute=$hardcode_direct_absolute
19517
19518 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19519 # into the resulting binary.
19520 hardcode_minus_L=$hardcode_minus_L
19521
19522 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19523 # into the resulting binary.
19524 hardcode_shlibpath_var=$hardcode_shlibpath_var
19525
19526 # Set to "yes" if building a shared library automatically hardcodes DIR
19527 # into the library and all subsequent libraries and executables linked
19528 # against it.
19529 hardcode_automatic=$hardcode_automatic
19530
19531 # Set to yes if linker adds runtime paths of dependent libraries
19532 # to runtime path list.
19533 inherit_rpath=$inherit_rpath
19534
19535 # Whether libtool must link a program against all its dependency libraries.
19536 link_all_deplibs=$link_all_deplibs
19537
19538 # Set to "yes" if exported symbols are required.
19539 always_export_symbols=$always_export_symbols
19540
19541 # The commands to list exported symbols.
19542 export_symbols_cmds=$lt_export_symbols_cmds
19543
19544 # Symbols that should not be listed in the preloaded symbols.
19545 exclude_expsyms=$lt_exclude_expsyms
19546
19547 # Symbols that must always be exported.
19548 include_expsyms=$lt_include_expsyms
19549
19550 # Commands necessary for linking programs (against libraries) with templates.
19551 prelink_cmds=$lt_prelink_cmds
19552
19553 # Commands necessary for finishing linking programs.
19554 postlink_cmds=$lt_postlink_cmds
19555
19556 # Specify filename containing input files.
19557 file_list_spec=$lt_file_list_spec
19558
19559 # How to hardcode a shared library path into an executable.
19560 hardcode_action=$hardcode_action
19561
19562 # ### END LIBTOOL CONFIG
19563
19564 _LT_EOF
19565
19566 cat <<'_LT_EOF' >> "$cfgfile"
19567
19568 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19569
19570 # func_munge_path_list VARIABLE PATH
19571 # -----------------------------------
19572 # VARIABLE is name of variable containing _space_ separated list of
19573 # directories to be munged by the contents of PATH, which is string
19574 # having a format:
19575 # "DIR[:DIR]:"
19576 # string "DIR[ DIR]" will be prepended to VARIABLE
19577 # ":DIR[:DIR]"
19578 # string "DIR[ DIR]" will be appended to VARIABLE
19579 # "DIRP[:DIRP]::[DIRA:]DIRA"
19580 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19581 # "DIRA[ DIRA]" will be appended to VARIABLE
19582 # "DIR[:DIR]"
19583 # VARIABLE will be replaced by "DIR[ DIR]"
19584 func_munge_path_list ()
19585 {
19586 case x$2 in
19587 x)
19588 ;;
19589 *:)
19590 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19591 ;;
19592 x:*)
19593 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19594 ;;
19595 *::*)
19596 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19597 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19598 ;;
19599 *)
19600 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19601 ;;
19602 esac
19603 }
19604
19605
19606 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19607 func_cc_basename ()
19608 {
19609 for cc_temp in $*""; do
19610 case $cc_temp in
19611 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19612 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19613 \-*) ;;
19614 *) break;;
19615 esac
19616 done
19617 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19618 }
19619
19620
19621 # ### END FUNCTIONS SHARED WITH CONFIGURE
19622
19623 _LT_EOF
19624
19625 case $host_os in
19626 aix3*)
19627 cat <<\_LT_EOF >> "$cfgfile"
19628 # AIX sometimes has problems with the GCC collect2 program. For some
19629 # reason, if we set the COLLECT_NAMES environment variable, the problems
19630 # vanish in a puff of smoke.
19631 if test set != "${COLLECT_NAMES+set}"; then
19632 COLLECT_NAMES=
19633 export COLLECT_NAMES
19634 fi
19635 _LT_EOF
19636 ;;
19637 esac
19638
19639
19640
19641 ltmain=$ac_aux_dir/ltmain.sh
19642
19643
19644 # We use sed instead of cat because bash on DJGPP gets confused if
19645 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19646 # text mode, it properly converts lines to CR/LF. This bash problem
19647 # is reportedly fixed, but why not run on old versions too?
19648 $SED '$q' "$ltmain" >> "$cfgfile" \
19649 || (rm -f "$cfgfile"; exit 1)
19650
19651 mv -f "$cfgfile" "$ofile" ||
19652 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19653 chmod +x "$ofile"
19654
19655 ;;
19656
19657 esac
19658 done # for ac_tag
19659
19660
19661 as_fn_exit 0
19662 _ACEOF
19663 ac_clean_files=$ac_clean_files_save
19664
19665 test $ac_write_fail = 0 ||
19666 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19667
19668
19669 # configure is writing to config.log, and then calls config.status.
19670 # config.status does its own redirection, appending to config.log.
19671 # Unfortunately, on DOS this fails, as config.log is still kept open
19672 # by configure, so config.status won't be able to write to it; its
19673 # output is simply discarded. So we exec the FD to /dev/null,
19674 # effectively closing config.log, so it can be properly (re)opened and
19675 # appended to by config.status. When coming back to configure, we
19676 # need to make the FD available again.
19677 if test "$no_create" != yes; then
19678 ac_cs_success=:
19679 ac_config_status_args=
19680 test "$silent" = yes &&
19681 ac_config_status_args="$ac_config_status_args --quiet"
19682 exec 5>/dev/null
19683 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19684 exec 5>>config.log
19685 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19686 # would make configure fail if this is the last instruction.
19687 $ac_cs_success || as_fn_exit 1
19688 fi
19689 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19691 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19692 fi
19693
19694