Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.73 for gsequencer 9.0.20.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2026 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 # contradicts POSIX and common usage. Disable this.
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 case $# in # ((
135 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
136 *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
137 esac
138 # Admittedly, this is quite paranoid, since all the known shells bail
139 # out after a failed 'exec'.
140 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
141 exit 255
142 fi
143 # We don't want this to propagate to other subprocesses.
144 { _as_can_reexec=; unset _as_can_reexec;}
145 if test "x$CONFIG_SHELL" = x; then
146 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
147 then :
148 emulate sh
149 NULLCMD=:
150 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
151 # contradicts POSIX and common usage. Disable this.
152 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 setopt NO_GLOB_SUBST
154 else case e in #(
155 e) case \`(set -o) 2>/dev/null\` in #(
156 *posix*) :
157 set -o posix ;; #(
158 *) :
159 ;;
160 esac ;;
161 esac
162 fi
163 "
164 as_required="as_fn_return () { (exit \$1); }
165 as_fn_success () { as_fn_return 0; }
166 as_fn_failure () { as_fn_return 1; }
167 as_fn_ret_success () { return 0; }
168 as_fn_ret_failure () { return 1; }
169
170 exitcode=0
171 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
172 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
173 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
174 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
175 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 then :
177
178 else case e in #(
179 e) exitcode=1; echo positional parameters were not saved. ;;
180 esac
181 fi
182 test x\$exitcode = x0 || exit 1
183 blah=\$(echo \$(echo blah))
184 test x\"\$blah\" = xblah || exit 1
185 test -x / || exit 1"
186 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
187 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
188 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
189 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
190 test \$(( 1 + 1 )) = 2 || exit 1
191
192 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
193 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
194 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
195 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
196 PATH=/empty FPATH=/empty; export PATH FPATH
197 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
198 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
199 if (eval "$as_required") 2>/dev/null
200 then :
201 as_have_required=yes
202 else case e in #(
203 e) as_have_required=no ;;
204 esac
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
207 then :
208
209 else case e in #(
210 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214 IFS=$as_save_IFS
215 case $as_dir in #(((
216 '') as_dir=./ ;;
217 */) ;;
218 *) as_dir=$as_dir/ ;;
219 esac
220 as_found=:
221 case $as_dir in #(
222 /*)
223 for as_base in sh bash ksh sh5; do
224 # Try only shells that exist, to save several forks.
225 as_shell=$as_dir$as_base
226 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
227 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
228 then :
229 CONFIG_SHELL=$as_shell as_have_required=yes
230 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
231 then :
232 break 2
233 fi
234 fi
235 done;;
236 esac
237 as_found=false
238 done
239 IFS=$as_save_IFS
240 if $as_found
241 then :
242
243 else case e in #(
244 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
245 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
246 then :
247 CONFIG_SHELL=$SHELL as_have_required=yes
248 fi ;;
249 esac
250 fi
251
252
253 if test "x$CONFIG_SHELL" != x
254 then :
255 export CONFIG_SHELL
256 # We cannot yet assume a decent shell, so we have to provide a
257 # neutralization value for shells without unset; and this also
258 # works around shells that cannot unset nonexistent variables.
259 # Preserve -v and -x to the replacement shell.
260 BASH_ENV=/dev/null
261 ENV=/dev/null
262 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
263 case $- in # ((((
264 *v*x* | *x*v* ) as_opts=-vx ;;
265 *v* ) as_opts=-v ;;
266 *x* ) as_opts=-x ;;
267 * ) as_opts= ;;
268 esac
269 case $# in # ((
270 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
271 *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
272 esac
273 # Admittedly, this is quite paranoid, since all the known shells bail
274 # out after a failed 'exec'.
275 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
276 exit 255
277 fi
278
279 if test x$as_have_required = xno
280 then :
281 printf '%s\n' "$0: This script requires a shell more modern than all"
282 printf '%s\n' "$0: the shells that I found on your system."
283 if test ${ZSH_VERSION+y} ; then
284 printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should"
285 printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later."
286 else
287 printf '%s\n' "$0: Please tell [email protected] and
288 $0: [email protected] about your system, including any
289 $0: error possibly output before this message. Then install
290 $0: a modern shell, or manually run the script under such a
291 $0: shell if you do have one."
292 fi
293 exit 1
294 fi ;;
295 esac
296 fi
297 fi
298 SHELL=${CONFIG_SHELL-/bin/sh}
299 export SHELL
300 # Unset more variables known to interfere with behavior of common tools.
301 CLICOLOR_FORCE= GREP_OPTIONS=
302 unset CLICOLOR_FORCE GREP_OPTIONS
303
304 ## --------------------- ##
305 ## M4sh Shell Functions. ##
306 ## --------------------- ##
307 # as_fn_unset VAR
308 # ---------------
309 # Portably unset VAR.
310 as_fn_unset ()
311 {
312 { eval $1=; unset $1;}
313 }
314 as_unset=as_fn_unset
315
316
317 # as_fn_set_status STATUS
318 # -----------------------
319 # Set $? to STATUS, without forking.
320 as_fn_set_status ()
321 {
322 return $1
323 } # as_fn_set_status
324
325 # as_fn_exit STATUS
326 # -----------------
327 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
328 as_fn_exit ()
329 {
330 set +e
331 as_fn_set_status $1
332 exit $1
333 } # as_fn_exit
334
335 # as_fn_mkdir_p
336 # -------------
337 # Create "$as_dir" as a directory, including parents if necessary.
338 as_fn_mkdir_p ()
339 {
340
341 case $as_dir in #(
342 -*) as_dir=./$as_dir;;
343 esac
344 test -d "$as_dir" || eval $as_mkdir_p || {
345 as_dirs=
346 while :; do
347 case $as_dir in #(
348 *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
349 *) as_qdir=$as_dir;;
350 esac
351 as_dirs="'$as_qdir' $as_dirs"
352 as_dir=`$as_dirname -- "$as_dir" ||
353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
354 X"$as_dir" : 'X\(//\)[^/]' \| \
355 X"$as_dir" : 'X\(//\)$' \| \
356 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
357 printf '%s\n' X"$as_dir" |
358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
359 s//\1/
360 q
361 }
362 /^X\(\/\/\)[^/].*/{
363 s//\1/
364 q
365 }
366 /^X\(\/\/\)$/{
367 s//\1/
368 q
369 }
370 /^X\(\/\).*/{
371 s//\1/
372 q
373 }
374 s/.*/./; q'`
375 test -d "$as_dir" && break
376 done
377 test -z "$as_dirs" || eval "mkdir $as_dirs"
378 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
379
380
381 } # as_fn_mkdir_p
382
383 # as_fn_executable_p FILE
384 # -----------------------
385 # Test if FILE is an executable regular file.
386 as_fn_executable_p ()
387 {
388 test -f "$1" && test -x "$1"
389 } # as_fn_executable_p
390 # as_fn_append VAR VALUE
391 # ----------------------
392 # Append the text in VALUE to the end of the definition contained in VAR. Take
393 # advantage of any shell optimizations that allow amortized linear growth over
394 # repeated appends, instead of the typical quadratic growth present in naive
395 # implementations.
396 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
397 then :
398 eval 'as_fn_append ()
399 {
400 eval $1+=\$2
401 }'
402 else case e in #(
403 e) as_fn_append ()
404 {
405 eval $1=\$$1\$2
406 } ;;
407 esac
408 fi # as_fn_append
409
410 # as_fn_arith ARG...
411 # ------------------
412 # Perform arithmetic evaluation on the ARGs, and store the result in the
413 # global $as_val. Take advantage of shells that can avoid forks. The arguments
414 # must be portable across $(()) and expr.
415 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
416 then :
417 eval 'as_fn_arith ()
418 {
419 as_val=$(( $* ))
420 }'
421 else case e in #(
422 e) as_fn_arith ()
423 {
424 as_val=`expr "$@" || test $? -eq 1`
425 } ;;
426 esac
427 fi # as_fn_arith
428
429
430 # as_fn_error STATUS ERROR [LINENO LOG_FD]
431 # ----------------------------------------
432 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
433 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
434 # script with STATUS, using 1 if that was 0.
435 as_fn_error ()
436 {
437 as_status=$1; test $as_status -eq 0 && as_status=1
438 if test "$4"; then
439 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
440 printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
441 fi
442 printf '%s\n' "$as_me: error: $2" >&2
443 as_fn_exit $as_status
444 } # as_fn_error
445
446 if expr a : '\(a\)' >/dev/null 2>&1 &&
447 test "X`expr 00001 : '.*\(...\)'`" = X001; then
448 as_expr=expr
449 else
450 as_expr=false
451 fi
452
453 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
454 as_basename=basename
455 else
456 as_basename=false
457 fi
458
459 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
460 as_dirname=dirname
461 else
462 as_dirname=false
463 fi
464
465 as_me=`$as_basename -- "$0" ||
466 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
467 X"$0" : 'X\(//\)$' \| \
468 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
469 printf '%s\n' X/"$0" |
470 sed '/^.*\/\([^/][^/]*\)\/*$/{
471 s//\1/
472 q
473 }
474 /^X\/\(\/\/\)$/{
475 s//\1/
476 q
477 }
478 /^X\/\(\/\).*/{
479 s//\1/
480 q
481 }
482 s/.*/./; q'`
483
484 # Avoid depending upon Character Ranges.
485 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
486 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
487 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
488 as_cr_digits='0123456789'
489 as_cr_alnum=$as_cr_Letters$as_cr_digits
490
491
492 as_lineno_1=$LINENO as_lineno_1a=$LINENO
493 as_lineno_2=$LINENO as_lineno_2a=$LINENO
494 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
495 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
496 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
497 sed -n '
498 p
499 /[$]LINENO/=
500 ' <$as_myself |
501 sed '
502 t clear
503 :clear
504 s/[$]LINENO.*/&-/
505 t lineno
506 b
507 :lineno
508 N
509 :loop
510 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
511 t loop
512 s/-\n.*//
513 ' >$as_me.lineno &&
514 chmod +x "$as_me.lineno" ||
515 { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
516
517 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
518 # already done that, so ensure we don't try to do so again and fall
519 # in an infinite loop. This has already happened in practice.
520 _as_can_reexec=no; export _as_can_reexec
521 # Don't try to exec as it changes $[0], causing all sort of problems
522 # (the dirname of $[0] is not the place where we might find the
523 # original and so on. Autoconf is especially sensitive to this).
524 . "./$as_me.lineno"
525 # Exit status is that of the last command.
526 exit
527 }
528
529 rm -f conf$$ conf$$.exe conf$$.file
530 if test -d conf$$.dir; then
531 rm -f conf$$.dir/conf$$.file
532 else
533 rm -f conf$$.dir
534 mkdir conf$$.dir 2>/dev/null
535 fi
536 if (echo >conf$$.file) 2>/dev/null; then
537 if ln -s conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s='ln -s'
539 # ... but there are two gotchas:
540 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
541 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
542 # In both cases, we have to default to 'cp -pR'.
543 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
544 as_ln_s='cp -pR'
545 elif ln conf$$.file conf$$ 2>/dev/null; then
546 as_ln_s=ln
547 else
548 as_ln_s='cp -pR'
549 fi
550 else
551 as_ln_s='cp -pR'
552 fi
553 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
554 rmdir conf$$.dir 2>/dev/null
555
556 if mkdir -p . 2>/dev/null; then
557 as_mkdir_p='mkdir -p "$as_dir"'
558 else
559 test -d ./-p && rmdir ./-p
560 as_mkdir_p=false
561 fi
562
563 as_test_x='test -x'
564 as_executable_p=as_fn_executable_p
565
566 # Sed expression to map a string onto a valid CPP name.
567 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
568 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
569
570 # Sed expression to map a string onto a valid variable name.
571 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
572 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
573
574 SHELL=${CONFIG_SHELL-/bin/sh}
575
576
577 test -n "$DJDIR" || exec 7<&0 </dev/null
578 exec 6>&1
579
580 # Name of the host.
581 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
582 # so uname gets run too.
583 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584
585 #
586 # Initializations.
587 #
588 ac_default_prefix=/usr/local
589 ac_clean_CONFIG_STATUS=
590 ac_clean_files=
591 ac_config_libobj_dir=.
592 LIBOBJS=
593 cross_compiling=no
594 subdirs=
595 MFLAGS=
596 MAKEFLAGS=
597
598 # Identity of this package.
599 PACKAGE_NAME='gsequencer'
600 PACKAGE_TARNAME='gsequencer'
601 PACKAGE_VERSION='9.0.20'
602 PACKAGE_STRING='gsequencer 9.0.20'
603 PACKAGE_BUGREPORT='[email protected]'
604 PACKAGE_URL=''
605
606 ac_unique_file="ags/config.h.in"
607 # Factoring default headers for most tests.
608 ac_includes_default="\
609 #include <stddef.h>
610 #ifdef HAVE_STDIO_H
611 # include <stdio.h>
612 #endif
613 #ifdef HAVE_STDLIB_H
614 # include <stdlib.h>
615 #endif
616 #ifdef HAVE_STRING_H
617 # include <string.h>
618 #endif
619 #ifdef HAVE_INTTYPES_H
620 # include <inttypes.h>
621 #endif
622 #ifdef HAVE_STDINT_H
623 # include <stdint.h>
624 #endif
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
627 #endif
628 #ifdef HAVE_SYS_TYPES_H
629 # include <sys/types.h>
630 #endif
631 #ifdef HAVE_SYS_STAT_H
632 # include <sys/stat.h>
633 #endif
634 #ifdef HAVE_UNISTD_H
635 # include <unistd.h>
636 #endif"
637
638 ac_header_c_list=
639 gt_needs=
640 ac_subst_vars='am__EXEEXT_FALSE
641 am__EXEEXT_TRUE
642 LTLIBOBJS
643 LIBGSEQUENCER_API_DOC
644 WITH_EXPERIMENTAL_FALSE
645 WITH_EXPERIMENTAL_TRUE
646 WITH_SYSTEM_TESTS_FALSE
647 WITH_SYSTEM_TESTS_TRUE
648 GTK_DOC_USE_REBASE_FALSE
649 GTK_DOC_USE_REBASE_TRUE
650 GTK_DOC_USE_LIBTOOL_FALSE
651 GTK_DOC_USE_LIBTOOL_TRUE
652 GTK_DOC_BUILD_PDF_FALSE
653 GTK_DOC_BUILD_PDF_TRUE
654 GTK_DOC_BUILD_HTML_FALSE
655 GTK_DOC_BUILD_HTML_TRUE
656 ENABLE_GTK_DOC_FALSE
657 ENABLE_GTK_DOC_TRUE
658 HAVE_GTK_DOC_FALSE
659 HAVE_GTK_DOC_TRUE
660 GTKDOC_DEPS_LIBS
661 GTKDOC_DEPS_CFLAGS
662 HTML_DIR
663 GTKDOC_MKPDF
664 GTKDOC_REBASE
665 GTKDOC_CHECK_PATH
666 GTKDOC_CHECK
667 OSX_FALSE
668 OSX_TRUE
669 WINDOWS_FALSE
670 WINDOWS_TRUE
671 FREEBSD_FALSE
672 FREEBSD_TRUE
673 LINUX_FALSE
674 LINUX_TRUE
675 GNU_FALSE
676 GNU_TRUE
677 POW_LIB
678 LIBOBJS
679 FAST_TEST_MODE_FALSE
680 FAST_TEST_MODE_TRUE
681 RUN_FUNCTIONAL_TESTS_FALSE
682 RUN_FUNCTIONAL_TESTS_TRUE
683 VTE_LIBS
684 VTE_CFLAGS
685 WITH_GSTREAMER_FALSE
686 WITH_GSTREAMER_TRUE
687 GSTREAMER_LIBS
688 GSTREAMER_CFLAGS
689 POPPLER_LIBS
690 POPPLER_CFLAGS
691 GTK_UNIX_PRINT_LIBS
692 GTK_UNIX_PRINT_CFLAGS
693 GTK_LIBS
694 GTK_CFLAGS
695 CAIRO_LIBS
696 CAIRO_CFLAGS
697 WITH_MIDI2_FALSE
698 WITH_MIDI2_TRUE
699 WITH_AUDIO_UNIT_PLUGINS_FALSE
700 WITH_AUDIO_UNIT_PLUGINS_TRUE
701 LIBAGS_AUDIO_UNIT_PLUGINS_LIBS
702 LIBAGS_AUDIO_UNIT_PLUGINS_LIBDIR
703 LIBAGS_AUDIO_UNIT_PLUGINS_LDFLAGS
704 LIBAGS_AUDIO_UNIT_PLUGINS_OBJCFLAGS
705 LIBAGS_AUDIO_UNIT_PLUGINS_CPPFLAGS
706 GSEQUENCER_AUDIO_UNIT_TEST_LDFLAGS
707 GSEQUENCER_AUDIO_UNIT_TEST_CXXFLAGS
708 GSEQUENCER_AUDIO_UNIT_TEST_CFLAGS
709 WITH_VST3_FALSE
710 WITH_VST3_TRUE
711 LIBAGS_VST3_LIBS
712 LIBAGS_VST3_LIBDIR
713 LIBAGS_VST3_LDFLAGS
714 LIBAGS_VST3_CXXFLAGS
715 LIBAGS_VST3_CPPFLAGS
716 LIBAGS_VST3_RELEASE_TYPE
717 WITH_LIBINSTPATCH_FALSE
718 WITH_LIBINSTPATCH_TRUE
719 LIBINSTPATCH_LIBS
720 LIBINSTPATCH_CFLAGS
721 AGS_WITH_SINGLE_DOCDIR_FALSE
722 AGS_WITH_SINGLE_DOCDIR_TRUE
723 AGS_WITH_UPSTREAM_GTK_DOC_FALSE
724 AGS_WITH_UPSTREAM_GTK_DOC_TRUE
725 AGS_WITH_PUBLIC_LIBGSEQUENCER_FALSE
726 AGS_WITH_PUBLIC_LIBGSEQUENCER_TRUE
727 AGS_WITH_DEVEL_FALSE
728 AGS_WITH_DEVEL_TRUE
729 AGS_WITH_DEBUG_FALSE
730 AGS_WITH_DEBUG_TRUE
731 LIBSOUP_LIBS
732 LIBSOUP_CFLAGS
733 JSON_GLIB_LIBS
734 JSON_GLIB_CFLAGS
735 GIO_LIBS
736 GIO_CFLAGS
737 HAVE_INTROSPECTION_FALSE
738 HAVE_INTROSPECTION_TRUE
739 GOBJECT_LIBS
740 GOBJECT_CFLAGS
741 GLIB_LIBS
742 GLIB_CFLAGS
743 FFTW_LIBS
744 FFTW_CFLAGS
745 SNDFILE_LIBS
746 SNDFILE_CFLAGS
747 SAMPLERATE_LIBS
748 SAMPLERATE_CFLAGS
749 LIBXML2_LIBS
750 LIBXML2_CFLAGS
751 PULSE_LIBS
752 PULSE_CFLAGS
753 JACK_LIBS
754 JACK_CFLAGS
755 WASAPI_LIBS
756 WASAPI_CFLAGS
757 AUDIO_UNIT_PLUGINS_LIBS
758 AUDIO_UNIT_PLUGINS_CFLAGS
759 AUDIO_UNIT_LIBS
760 AUDIO_UNIT_CFLAGS
761 WITH_AUDIO_TOOLBOX_FALSE
762 WITH_AUDIO_TOOLBOX_TRUE
763 CORE_MIDI_LIBS
764 CORE_MIDI_CFLAGS
765 CORE_AUDIO_LIBS
766 CORE_AUDIO_CFLAGS
767 LIBDSSIALSACOMPAT_LIBS
768 LIBDSSIALSACOMPAT_CFLAGS
769 LIBASOUND2_LIBS
770 LIBASOUND2_CFLAGS
771 UUID_LIBS
772 UUID_CFLAGS
773 WITH_FLATPAK_SANDBOX_FALSE
774 WITH_FLATPAK_SANDBOX_TRUE
775 WITH_SNAP_SANDBOX_FALSE
776 WITH_SNAP_SANDBOX_TRUE
777 WITH_MACOS_SANDBOX_FALSE
778 WITH_MACOS_SANDBOX_TRUE
779 WITH_OSX_DMG_ENV_FALSE
780 WITH_OSX_DMG_ENV_TRUE
781 WITH_OSXAPI_FALSE
782 WITH_OSXAPI_TRUE
783 OSXAPI_LIBS
784 OSXAPI_CFLAGS
785 WITH_W32_EXE_ENV_FALSE
786 WITH_W32_EXE_ENV_TRUE
787 WITH_W32API_FALSE
788 WITH_W32API_TRUE
789 DLL_VERSION
790 W32API_LIBS
791 W32API_CFLAGS
792 ALLOCA
793 XMKMF
794 GSEQUENCER_FUNCTIONAL_TEST_LDADD
795 LIBGSEQUENCER_TEST_LIBADD
796 LIBGSEQUENCER_CPPFLAGS
797 LIBAGS_GUI_CPPFLAGS
798 LIBAGS_AUDIO_CPPFLAGS
799 LIBAGS_SERVER_CPPFLAGS
800 LIBAGS_THREAD_CPPFLAGS
801 LIBAGS_CPPFLAGS
802 MIDI2XML_LDFLAGS
803 MIDI2XML_CXXFLAGS
804 MIDI2XML_CFLAGS
805 GSEQUENCER_LDFLAGS
806 GSEQUENCER_CXXFLAGS
807 GSEQUENCER_CFLAGS
808 LIBTOOL_DEPS
809 CXXCPP
810 LT_SYS_LIBRARY_PATH
811 OTOOL64
812 OTOOL
813 LIPO
814 NMEDIT
815 DSYMUTIL
816 MANIFEST_TOOL
817 RANLIB
818 ac_ct_AR
819 AR
820 FILECMD
821 NM
822 ac_ct_DUMPBIN
823 DUMPBIN
824 LD
825 FGREP
826 EGREP
827 GREP
828 LIBTOOL
829 OBJDUMP
830 DLLTOOL
831 AS
832 LT_AGE
833 LT_REVISION
834 LT_CURRENT
835 FOP
836 XSLTPROC
837 PKG_CONFIG_LIBDIR
838 PKG_CONFIG_PATH
839 PKG_CONFIG
840 LN_S
841 am__fastdepCXX_FALSE
842 am__fastdepCXX_TRUE
843 CXXDEPMODE
844 ac_ct_CXX
845 CXXFLAGS
846 CXX
847 LIBGSEQUENCER_API_DIR
848 LIBAGS_GUI_API_DIR
849 LIBAGS_AUDIO_API_DIR
850 LIBAGS_API_DIR
851 LIBAGS_GUI_API_DOC
852 LIBAGS_AUDIO_API_DOC
853 LIBAGS_API_DOC
854 GTK_API_DOC
855 GOBJECT_API_DOC
856 MANPAGES_XSL
857 FO_XSL
858 HTMLHELP_XSL
859 INTROSPECTION_COMPILER
860 INTROSPECTION_SCANNER
861 PICFLAGS
862 POSUB
863 LTLIBINTL
864 LIBINTL
865 INTLLIBS
866 LTLIBICONV
867 LIBICONV
868 INTL_MACOSX_LIBS
869 CPP
870 host_os
871 host_vendor
872 host_cpu
873 host
874 build_os
875 build_vendor
876 build_cpu
877 build
878 XGETTEXT_EXTRA_OPTIONS
879 MSGMERGE
880 XGETTEXT_015
881 XGETTEXT
882 GMSGFMT_015
883 MSGFMT_015
884 GMSGFMT
885 MSGFMT
886 GETTEXT_MACRO_VERSION
887 USE_NLS
888 SED
889 am__fastdepCC_FALSE
890 am__fastdepCC_TRUE
891 CCDEPMODE
892 am__nodep
893 AMDEPBACKSLASH
894 AMDEP_FALSE
895 AMDEP_TRUE
896 am__include
897 DEPDIR
898 OBJEXT
899 EXEEXT
900 ac_ct_CC
901 CPPFLAGS
902 LDFLAGS
903 CFLAGS
904 CC
905 am__xargs_n
906 am__rm_f_notfound
907 AM_BACKSLASH
908 AM_DEFAULT_VERBOSITY
909 AM_DEFAULT_V
910 AM_V
911 CSCOPE
912 ETAGS
913 CTAGS
914 am__untar
915 am__tar
916 AMTAR
917 am__leading_dot
918 SET_MAKE
919 AWK
920 mkdir_p
921 MKDIR_P
922 INSTALL_STRIP_PROGRAM
923 STRIP
924 install_sh
925 MAKEINFO
926 AUTOHEADER
927 AUTOMAKE
928 AUTOCONF
929 ACLOCAL
930 VERSION
931 PACKAGE
932 CYGPATH_W
933 am__isrc
934 INSTALL_DATA
935 INSTALL_SCRIPT
936 INSTALL_PROGRAM
937 ECHO_T
938 ECHO_N
939 ECHO_C
940 target_alias
941 host_alias
942 build_alias
943 LIBS
944 DEFS
945 mandir
946 localedir
947 libdir
948 psdir
949 pdfdir
950 dvidir
951 htmldir
952 infodir
953 docdir
954 oldincludedir
955 includedir
956 runstatedir
957 localstatedir
958 sharedstatedir
959 sysconfdir
960 datadir
961 datarootdir
962 libexecdir
963 sbindir
964 bindir
965 program_transform_name
966 prefix
967 exec_prefix
968 PACKAGE_URL
969 PACKAGE_BUGREPORT
970 PACKAGE_STRING
971 PACKAGE_VERSION
972 PACKAGE_TARNAME
973 PACKAGE_NAME
974 PATH_SEPARATOR
975 SHELL
976 am__quote'
977 ac_subst_files='LIBAGS_AUDIO_LIBINSTPATCH_FILE_XINCLUDE
978 LIBAGS_AUDIO_LIBINSTPATCH_SF2_XINCLUDE
979 LIBAGS_AUDIO_LIBINSTPATCH_THREAD_XINCLUDE
980 LIBAGS_AUDIO_LIBINSTPATCH_FX_XINCLUDE
981 LIBAGS_AUDIO_LIBINSTPATCH_TASK_XINCLUDE
982 LIBGSEQUENCER_LIBINSTPATCH_MACHINE_XINCLUDE
983 LIBAGS_AUDIO_VST3_PLUGIN_XINCLUDE
984 LIBAGS_AUDIO_VST3_FX_XINCLUDE
985 LIBAGS_AUDIO_VST3_TASK_XINCLUDE
986 LIBGSEQUENCER_VST3_BROWSER_XINCLUDE
987 LIBGSEQUENCER_VST3_MACHINE_XINCLUDE
988 LIBAGS_AUDIO_AUDIO_UNIT_PLUGIN_XINCLUDE
989 LIBAGS_AUDIO_AUDIO_UNIT_FX_XINCLUDE
990 LIBAGS_AUDIO_AUDIO_UNIT_TASK_XINCLUDE
991 LIBGSEQUENCER_AUDIO_UNIT_BROWSER_XINCLUDE
992 LIBGSEQUENCER_AUDIO_UNIT_MACHINE_XINCLUDE'
993 ac_user_opts='
994 enable_option_checking
995 enable_silent_rules
996 enable_dependency_tracking
997 enable_nls
998 with_gnu_ld
999 enable_rpath
1000 with_libiconv_prefix
1001 with_libintl_prefix
1002 enable_debug
1003 enable_devel
1004 enable_introspection
1005 enable_public_libgsequencer
1006 enable_upstream_gtk_doc
1007 enable_single_docdir
1008 enable_strip_rt_events
1009 enable_rt
1010 enable_w32api
1011 enable_w32_exe_env
1012 enable_osxapi
1013 enable_osx_dmg_env
1014 enable_macos_sandbox
1015 enable_snap_sandbox
1016 enable_flatpak_sandbox
1017 enable_uuid
1018 enable_alsa
1019 enable_alsa_compat
1020 enable_oss
1021 enable_jack
1022 enable_pulse
1023 enable_core_audio
1024 enable_core_midi
1025 enable_audio_toolbox
1026 enable_audio_unit
1027 enable_audio_unit_plugins
1028 enable_wasapi
1029 enable_libinstpatch
1030 enable_vst3
1031 enable_midi2
1032 enable_x11
1033 enable_quartz
1034 enable_run_functional_tests
1035 enable_fast_test_mode
1036 enable_run_system_tests
1037 enable_experimental
1038 with_gtk_unix_print
1039 with_poppler
1040 with_gstreamer
1041 with_vte
1042 with_tooltips
1043 enable_shared
1044 enable_static
1045 enable_pic
1046 with_pic
1047 enable_fast_install
1048 enable_aix_soname
1049 with_aix_soname
1050 with_sysroot
1051 enable_libtool_lock
1052 with_x
1053 with_html_dir
1054 enable_gtk_doc
1055 enable_gtk_doc_html
1056 enable_gtk_doc_pdf
1057 '
1058 ac_precious_vars='build_alias
1059 host_alias
1060 target_alias
1061 CC
1062 CFLAGS
1063 LDFLAGS
1064 LIBS
1065 CPPFLAGS
1066 CPP
1067 PICFLAGS
1068 INTROSPECTION_SCANNER
1069 INTROSPECTION_COMPILER
1070 HTMLHELP_XSL
1071 FO_XSL
1072 MANPAGES_XSL
1073 GOBJECT_API_DOC
1074 GTK_API_DOC
1075 LIBAGS_API_DOC
1076 LIBAGS_AUDIO_API_DOC
1077 LIBAGS_GUI_API_DOC
1078 LIBAGS_API_DIR
1079 LIBAGS_AUDIO_API_DIR
1080 LIBAGS_GUI_API_DIR
1081 LIBGSEQUENCER_API_DIR
1082 CXX
1083 CXXFLAGS
1084 CCC
1085 PKG_CONFIG
1086 PKG_CONFIG_PATH
1087 PKG_CONFIG_LIBDIR
1088 LT_SYS_LIBRARY_PATH
1089 CXXCPP
1090 XMKMF
1091 UUID_CFLAGS
1092 UUID_LIBS
1093 LIBASOUND2_CFLAGS
1094 LIBASOUND2_LIBS
1095 LIBDSSIALSACOMPAT_CFLAGS
1096 LIBDSSIALSACOMPAT_LIBS
1097 JACK_CFLAGS
1098 JACK_LIBS
1099 PULSE_CFLAGS
1100 PULSE_LIBS
1101 LIBXML2_CFLAGS
1102 LIBXML2_LIBS
1103 SAMPLERATE_CFLAGS
1104 SAMPLERATE_LIBS
1105 SNDFILE_CFLAGS
1106 SNDFILE_LIBS
1107 FFTW_CFLAGS
1108 FFTW_LIBS
1109 GLIB_CFLAGS
1110 GLIB_LIBS
1111 GOBJECT_CFLAGS
1112 GOBJECT_LIBS
1113 GIO_CFLAGS
1114 GIO_LIBS
1115 JSON_GLIB_CFLAGS
1116 JSON_GLIB_LIBS
1117 LIBSOUP_CFLAGS
1118 LIBSOUP_LIBS
1119 LIBINSTPATCH_CFLAGS
1120 LIBINSTPATCH_LIBS
1121 CAIRO_CFLAGS
1122 CAIRO_LIBS
1123 GTK_CFLAGS
1124 GTK_LIBS
1125 GTK_UNIX_PRINT_CFLAGS
1126 GTK_UNIX_PRINT_LIBS
1127 POPPLER_CFLAGS
1128 POPPLER_LIBS
1129 GSTREAMER_CFLAGS
1130 GSTREAMER_LIBS
1131 VTE_CFLAGS
1132 VTE_LIBS
1133 GTKDOC_DEPS_CFLAGS
1134 GTKDOC_DEPS_LIBS'
1135
1136
1137 # Initialize some variables set by options.
1138 ac_init_help=
1139 ac_init_version=false
1140 ac_unrecognized_opts=
1141 ac_unrecognized_sep=
1142 # The variables have the same names as the options, with
1143 # dashes changed to underlines.
1144 cache_file=/dev/null
1145 exec_prefix=NONE
1146 no_create=
1147 no_recursion=
1148 prefix=NONE
1149 program_prefix=NONE
1150 program_suffix=NONE
1151 program_transform_name=s,x,x,
1152 silent=
1153 site=
1154 srcdir=
1155 verbose=
1156 x_includes=NONE
1157 x_libraries=NONE
1158
1159 # Installation directory options.
1160 # These are left unexpanded so users can "make install exec_prefix=/foo"
1161 # and all the variables that are supposed to be based on exec_prefix
1162 # by default will actually change.
1163 # Use braces instead of parens because sh, perl, etc. also accept them.
1164 # (The list follows the same order as the GNU Coding Standards.)
1165 bindir='${exec_prefix}/bin'
1166 sbindir='${exec_prefix}/sbin'
1167 libexecdir='${exec_prefix}/libexec'
1168 datarootdir='${prefix}/share'
1169 datadir='${datarootdir}'
1170 sysconfdir='${prefix}/etc'
1171 sharedstatedir='${prefix}/com'
1172 localstatedir='${prefix}/var'
1173 runstatedir='${localstatedir}/run'
1174 includedir='${prefix}/include'
1175 oldincludedir='/usr/include'
1176 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1177 infodir='${datarootdir}/info'
1178 htmldir='${docdir}'
1179 dvidir='${docdir}'
1180 pdfdir='${docdir}'
1181 psdir='${docdir}'
1182 libdir='${exec_prefix}/lib'
1183 localedir='${datarootdir}/locale'
1184 mandir='${datarootdir}/man'
1185
1186 ac_prev=
1187 ac_dashdash=
1188 for ac_option
1189 do
1190 # If the previous option needs an argument, assign it.
1191 if test -n "$ac_prev"; then
1192 eval $ac_prev=\$ac_option
1193 ac_prev=
1194 continue
1195 fi
1196
1197 case $ac_option in
1198 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1199 *=) ac_optarg= ;;
1200 *) ac_optarg=yes ;;
1201 esac
1202
1203 case $ac_dashdash$ac_option in
1204 --)
1205 ac_dashdash=yes ;;
1206
1207 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1208 ac_prev=bindir ;;
1209 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1210 bindir=$ac_optarg ;;
1211
1212 -build | --build | --buil | --bui | --bu)
1213 ac_prev=build_alias ;;
1214 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1215 build_alias=$ac_optarg ;;
1216
1217 -cache-file | --cache-file | --cache-fil | --cache-fi \
1218 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1219 ac_prev=cache_file ;;
1220 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1221 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1222 cache_file=$ac_optarg ;;
1223
1224 --config-cache | -C)
1225 cache_file=config.cache ;;
1226
1227 -datadir | --datadir | --datadi | --datad)
1228 ac_prev=datadir ;;
1229 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1230 datadir=$ac_optarg ;;
1231
1232 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1233 | --dataroo | --dataro | --datar)
1234 ac_prev=datarootdir ;;
1235 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1236 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1237 datarootdir=$ac_optarg ;;
1238
1239 -disable-* | --disable-*)
1240 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1243 as_fn_error $? "invalid feature name: '$ac_useropt'"
1244 ac_useropt_orig=$ac_useropt
1245 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1247 *"
1248 "enable_$ac_useropt"
1249 "*) ;;
1250 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1251 ac_unrecognized_sep=', ';;
1252 esac
1253 eval enable_$ac_useropt=no ;;
1254
1255 -docdir | --docdir | --docdi | --doc | --do)
1256 ac_prev=docdir ;;
1257 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1258 docdir=$ac_optarg ;;
1259
1260 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1261 ac_prev=dvidir ;;
1262 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1263 dvidir=$ac_optarg ;;
1264
1265 -enable-* | --enable-*)
1266 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269 as_fn_error $? "invalid feature name: '$ac_useropt'"
1270 ac_useropt_orig=$ac_useropt
1271 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1273 *"
1274 "enable_$ac_useropt"
1275 "*) ;;
1276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1277 ac_unrecognized_sep=', ';;
1278 esac
1279 eval enable_$ac_useropt=\$ac_optarg ;;
1280
1281 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1282 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1283 | --exec | --exe | --ex)
1284 ac_prev=exec_prefix ;;
1285 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1286 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1287 | --exec=* | --exe=* | --ex=*)
1288 exec_prefix=$ac_optarg ;;
1289
1290 -gas | --gas | --ga | --g)
1291 # Obsolete; use --with-gas.
1292 with_gas=yes ;;
1293
1294 -help | --help | --hel | --he | -h)
1295 ac_init_help=long ;;
1296 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1297 ac_init_help=recursive ;;
1298 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1299 ac_init_help=short ;;
1300
1301 -host | --host | --hos | --ho)
1302 ac_prev=host_alias ;;
1303 -host=* | --host=* | --hos=* | --ho=*)
1304 host_alias=$ac_optarg ;;
1305
1306 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1307 ac_prev=htmldir ;;
1308 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1309 | --ht=*)
1310 htmldir=$ac_optarg ;;
1311
1312 -includedir | --includedir | --includedi | --included | --include \
1313 | --includ | --inclu | --incl | --inc)
1314 ac_prev=includedir ;;
1315 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1316 | --includ=* | --inclu=* | --incl=* | --inc=*)
1317 includedir=$ac_optarg ;;
1318
1319 -infodir | --infodir | --infodi | --infod | --info | --inf)
1320 ac_prev=infodir ;;
1321 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1322 infodir=$ac_optarg ;;
1323
1324 -libdir | --libdir | --libdi | --libd)
1325 ac_prev=libdir ;;
1326 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1327 libdir=$ac_optarg ;;
1328
1329 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1330 | --libexe | --libex | --libe)
1331 ac_prev=libexecdir ;;
1332 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1333 | --libexe=* | --libex=* | --libe=*)
1334 libexecdir=$ac_optarg ;;
1335
1336 -localedir | --localedir | --localedi | --localed | --locale)
1337 ac_prev=localedir ;;
1338 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1339 localedir=$ac_optarg ;;
1340
1341 -localstatedir | --localstatedir | --localstatedi | --localstated \
1342 | --localstate | --localstat | --localsta | --localst | --locals)
1343 ac_prev=localstatedir ;;
1344 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1345 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1346 localstatedir=$ac_optarg ;;
1347
1348 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1349 ac_prev=mandir ;;
1350 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1351 mandir=$ac_optarg ;;
1352
1353 -nfp | --nfp | --nf)
1354 # Obsolete; use --without-fp.
1355 with_fp=no ;;
1356
1357 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1358 | --no-cr | --no-c | -n)
1359 no_create=yes ;;
1360
1361 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1362 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1363 no_recursion=yes ;;
1364
1365 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1366 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1367 | --oldin | --oldi | --old | --ol | --o)
1368 ac_prev=oldincludedir ;;
1369 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1370 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1371 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1372 oldincludedir=$ac_optarg ;;
1373
1374 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1375 ac_prev=prefix ;;
1376 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1377 prefix=$ac_optarg ;;
1378
1379 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1380 | --program-pre | --program-pr | --program-p)
1381 ac_prev=program_prefix ;;
1382 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1383 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1384 program_prefix=$ac_optarg ;;
1385
1386 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1387 | --program-suf | --program-su | --program-s)
1388 ac_prev=program_suffix ;;
1389 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1390 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1391 program_suffix=$ac_optarg ;;
1392
1393 -program-transform-name | --program-transform-name \
1394 | --program-transform-nam | --program-transform-na \
1395 | --program-transform-n | --program-transform- \
1396 | --program-transform | --program-transfor \
1397 | --program-transfo | --program-transf \
1398 | --program-trans | --program-tran \
1399 | --progr-tra | --program-tr | --program-t)
1400 ac_prev=program_transform_name ;;
1401 -program-transform-name=* | --program-transform-name=* \
1402 | --program-transform-nam=* | --program-transform-na=* \
1403 | --program-transform-n=* | --program-transform-=* \
1404 | --program-transform=* | --program-transfor=* \
1405 | --program-transfo=* | --program-transf=* \
1406 | --program-trans=* | --program-tran=* \
1407 | --progr-tra=* | --program-tr=* | --program-t=*)
1408 program_transform_name=$ac_optarg ;;
1409
1410 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1411 ac_prev=pdfdir ;;
1412 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1413 pdfdir=$ac_optarg ;;
1414
1415 -psdir | --psdir | --psdi | --psd | --ps)
1416 ac_prev=psdir ;;
1417 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1418 psdir=$ac_optarg ;;
1419
1420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1421 | -silent | --silent | --silen | --sile | --sil)
1422 silent=yes ;;
1423
1424 -runstatedir | --runstatedir | --runstatedi | --runstated \
1425 | --runstate | --runstat | --runsta | --runst | --runs \
1426 | --run | --ru | --r)
1427 ac_prev=runstatedir ;;
1428 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1429 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1430 | --run=* | --ru=* | --r=*)
1431 runstatedir=$ac_optarg ;;
1432
1433 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1434 ac_prev=sbindir ;;
1435 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1436 | --sbi=* | --sb=*)
1437 sbindir=$ac_optarg ;;
1438
1439 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1440 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1441 | --sharedst | --shareds | --shared | --share | --shar \
1442 | --sha | --sh)
1443 ac_prev=sharedstatedir ;;
1444 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1445 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1446 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1447 | --sha=* | --sh=*)
1448 sharedstatedir=$ac_optarg ;;
1449
1450 -site | --site | --sit)
1451 ac_prev=site ;;
1452 -site=* | --site=* | --sit=*)
1453 site=$ac_optarg ;;
1454
1455 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1456 ac_prev=srcdir ;;
1457 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1458 srcdir=$ac_optarg ;;
1459
1460 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1461 | --syscon | --sysco | --sysc | --sys | --sy)
1462 ac_prev=sysconfdir ;;
1463 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1464 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1465 sysconfdir=$ac_optarg ;;
1466
1467 -target | --target | --targe | --targ | --tar | --ta | --t)
1468 ac_prev=target_alias ;;
1469 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1470 target_alias=$ac_optarg ;;
1471
1472 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1473 verbose=yes ;;
1474
1475 -version | --version | --versio | --versi | --vers | -V)
1476 ac_init_version=: ;;
1477
1478 -with-* | --with-*)
1479 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1480 # Reject names that are not valid shell variable names.
1481 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1482 as_fn_error $? "invalid package name: '$ac_useropt'"
1483 ac_useropt_orig=$ac_useropt
1484 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
1485 case $ac_user_opts in
1486 *"
1487 "with_$ac_useropt"
1488 "*) ;;
1489 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1490 ac_unrecognized_sep=', ';;
1491 esac
1492 eval with_$ac_useropt=\$ac_optarg ;;
1493
1494 -without-* | --without-*)
1495 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1496 # Reject names that are not valid shell variable names.
1497 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1498 as_fn_error $? "invalid package name: '$ac_useropt'"
1499 ac_useropt_orig=$ac_useropt
1500 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
1501 case $ac_user_opts in
1502 *"
1503 "with_$ac_useropt"
1504 "*) ;;
1505 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1506 ac_unrecognized_sep=', ';;
1507 esac
1508 eval with_$ac_useropt=no ;;
1509
1510 --x)
1511 # Obsolete; use --with-x.
1512 with_x=yes ;;
1513
1514 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1515 | --x-incl | --x-inc | --x-in | --x-i)
1516 ac_prev=x_includes ;;
1517 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1518 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1519 x_includes=$ac_optarg ;;
1520
1521 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1522 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1523 ac_prev=x_libraries ;;
1524 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1525 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1526 x_libraries=$ac_optarg ;;
1527
1528 -*) as_fn_error $? "unrecognized option: '$ac_option'
1529 Try '$0 --help' for more information"
1530 ;;
1531
1532 *=*)
1533 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1534 # Reject names that are not valid shell variable names.
1535 case $ac_envvar in #(
1536 '' | [0-9]* | *[!_$as_cr_alnum]* )
1537 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1538 esac
1539 eval $ac_envvar=\$ac_optarg
1540 export $ac_envvar ;;
1541
1542 *)
1543 # FIXME: should be removed in autoconf 3.0.
1544 printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
1545 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1546 printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
1547 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1548 ;;
1549
1550 esac
1551 done
1552
1553 if test -n "$ac_prev"; then
1554 ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
1555 as_fn_error $? "missing argument to $ac_option"
1556 fi
1557
1558 if test -n "$ac_unrecognized_opts"; then
1559 case $enable_option_checking in
1560 no) ;;
1561 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1562 *) printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1563 esac
1564 fi
1565
1566 # Check all directory arguments for consistency.
1567 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1568 datadir sysconfdir sharedstatedir localstatedir includedir \
1569 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1570 libdir localedir mandir runstatedir
1571 do
1572 eval ac_val=\$$ac_var
1573 # Remove trailing slashes.
1574 case $ac_val in
1575 */ )
1576 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1577 eval $ac_var=\$ac_val;;
1578 esac
1579 # Be sure to have absolute directory names.
1580 case $ac_val in
1581 [\\/$]* | ?:[\\/]* ) continue;;
1582 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1583 esac
1584 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1585 done
1586
1587 # There might be people who depend on the old broken behavior: '$host'
1588 # used to hold the argument of --host etc.
1589 # FIXME: To remove some day.
1590 build=$build_alias
1591 host=$host_alias
1592 target=$target_alias
1593
1594 # FIXME: To remove some day.
1595 if test "x$host_alias" != x; then
1596 if test "x$build_alias" = x; then
1597 cross_compiling=maybe
1598 elif test "x$build_alias" != "x$host_alias"; then
1599 cross_compiling=yes
1600 fi
1601 fi
1602
1603 ac_tool_prefix=
1604 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1605
1606 test "$silent" = yes && exec 6>/dev/null
1607
1608
1609 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1610 ac_ls_di=`ls -di .` &&
1611 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1612 as_fn_error $? "working directory cannot be determined"
1613 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1614 as_fn_error $? "pwd does not report name of working directory"
1615
1616
1617 # Find the source files, if location was not specified.
1618 if test -z "$srcdir"; then
1619 ac_srcdir_defaulted=yes
1620 # Try the directory containing this script, then the parent directory.
1621 ac_confdir=`$as_dirname -- "$as_myself" ||
1622 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1623 X"$as_myself" : 'X\(//\)[^/]' \| \
1624 X"$as_myself" : 'X\(//\)$' \| \
1625 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1626 printf '%s\n' X"$as_myself" |
1627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1628 s//\1/
1629 q
1630 }
1631 /^X\(\/\/\)[^/].*/{
1632 s//\1/
1633 q
1634 }
1635 /^X\(\/\/\)$/{
1636 s//\1/
1637 q
1638 }
1639 /^X\(\/\).*/{
1640 s//\1/
1641 q
1642 }
1643 s/.*/./; q'`
1644 srcdir=$ac_confdir
1645 if test ! -r "$srcdir/$ac_unique_file"; then
1646 srcdir=..
1647 fi
1648 else
1649 ac_srcdir_defaulted=no
1650 fi
1651 if test ! -r "$srcdir/$ac_unique_file"; then
1652 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1653 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1654 fi
1655 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1656 ac_abs_confdir=`(
1657 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1658 pwd)`
1659 # When building in place, set srcdir=.
1660 if test "$ac_abs_confdir" = "$ac_pwd"; then
1661 srcdir=.
1662 fi
1663 # Remove unnecessary trailing slashes from srcdir.
1664 # Double slashes in file names in object file debugging info
1665 # mess up M-x gdb in Emacs.
1666 case $srcdir in
1667 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1668 esac
1669 for ac_var in $ac_precious_vars; do
1670 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1671 eval ac_env_${ac_var}_value=\$${ac_var}
1672 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1673 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1674 done
1675
1676 #
1677 # Report the --help message.
1678 #
1679 if test "$ac_init_help" = "long"; then
1680 # Omit some internal or obsolete options to make the list less imposing.
1681 # This message is too long to be a string in the A/UX 3.1 sh.
1682 cat <<_ACEOF
1683 'configure' configures gsequencer 9.0.20 to adapt to many kinds of systems.
1684
1685 Usage: $0 [OPTION]... [VAR=VALUE]...
1686
1687 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1688 VAR=VALUE. See below for descriptions of some of the useful variables.
1689
1690 Defaults for the options are specified in brackets.
1691
1692 Configuration:
1693 -h, --help display this help and exit
1694 --help=short display options specific to this package
1695 --help=recursive display the short help of all the included packages
1696 -V, --version display version information and exit
1697 -q, --quiet, --silent do not print 'checking ...' messages
1698 --cache-file=FILE cache test results in FILE [disabled]
1699 -C, --config-cache alias for '--cache-file=config.cache'
1700 -n, --no-create do not create output files
1701 --srcdir=DIR find the sources in DIR [configure dir or '..']
1702
1703 Installation directories:
1704 --prefix=PREFIX install architecture-independent files in PREFIX
1705 [$ac_default_prefix]
1706 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1707 [PREFIX]
1708
1709 By default, 'make install' will install all the files in
1710 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1711 an installation prefix other than '$ac_default_prefix' using '--prefix',
1712 for instance '--prefix=\$HOME'.
1713
1714 For better control, use the options below.
1715
1716 Fine tuning of the installation directories:
1717 --bindir=DIR user executables [EPREFIX/bin]
1718 --sbindir=DIR system admin executables [EPREFIX/sbin]
1719 --libexecdir=DIR program executables [EPREFIX/libexec]
1720 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1721 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1722 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1723 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1724 --libdir=DIR object code libraries [EPREFIX/lib]
1725 --includedir=DIR C header files [PREFIX/include]
1726 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1727 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1728 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1729 --infodir=DIR info documentation [DATAROOTDIR/info]
1730 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1731 --mandir=DIR man documentation [DATAROOTDIR/man]
1732 --docdir=DIR documentation root [DATAROOTDIR/doc/gsequencer]
1733 --htmldir=DIR html documentation [DOCDIR]
1734 --dvidir=DIR dvi documentation [DOCDIR]
1735 --pdfdir=DIR pdf documentation [DOCDIR]
1736 --psdir=DIR ps documentation [DOCDIR]
1737 _ACEOF
1738
1739 cat <<\_ACEOF
1740
1741 Program names:
1742 --program-prefix=PREFIX prepend PREFIX to installed program names
1743 --program-suffix=SUFFIX append SUFFIX to installed program names
1744 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1745
1746 X features:
1747 --x-includes=DIR X include files are in DIR
1748 --x-libraries=DIR X library files are in DIR
1749
1750 System types:
1751 --build=BUILD configure for building on BUILD [guessed]
1752 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1753 _ACEOF
1754 fi
1755
1756 if test -n "$ac_init_help"; then
1757 case $ac_init_help in
1758 short | recursive ) echo "Configuration of gsequencer 9.0.20:";;
1759 esac
1760 cat <<\_ACEOF
1761
1762 Optional Features:
1763 --disable-option-checking ignore unrecognized --enable/--with options
1764 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1765 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1766 --enable-silent-rules less verbose build output (undo: "make V=1")
1767 --disable-silent-rules verbose build output (undo: "make V=0")
1768 --enable-dependency-tracking
1769 do not reject slow dependency extractors
1770 --disable-dependency-tracking
1771 speeds up one-time build
1772 --disable-nls do not use Native Language Support
1773 --disable-rpath do not hardcode runtime library paths
1774 --enable-debug enable debug symbols (default is no)
1775 --enable-devel enable devel mode (default is no)
1776 --enable-introspection enable introspection symbols (default is no)
1777 --enable-public-libgsequencer
1778 provide public libgsequencer (default is yes)
1779 --enable-upstream-gtk-doc
1780 put API reference manual in upstream dedicated
1781 directory (default is yes)
1782 --enable-single-docdir put API reference manual in upstream dedicated
1783 directory (default is no)
1784 --enable-strip-rt-events
1785 strip rt events (default is yes)
1786 --enable-rt enable rt (default is yes)
1787 --enable-w32api enable w32 API (default is no)
1788 --enable-w32-exe-env enable w32 exe environment (default is no)
1789 --enable-osxapi enable OS X API (default is no)
1790 --enable-osx-dmg-env enable OS X DMG environment (default is no)
1791 --enable-macos-sandbox enable macos sandbox environment (default is no)
1792 --enable-snap-sandbox enable snap sandbox environment (default is no)
1793 --enable-flatpak-sandbox
1794 enable flatpak sandbox environment (default is no)
1795 --enable-uuid enable uuid (default is yes)
1796 --enable-alsa enable alsa (default is yes)
1797 --enable-alsa-compat enable alsa compatibility library (default is no)
1798 --enable-oss enable oss (default is no)
1799 --enable-jack enable jack (default is yes)
1800 --enable-pulse enable pulse (default is yes)
1801 --enable-core-audio enable core audio (default is no)
1802 --enable-core-midi enable core midi (default is no)
1803 --enable-audio-toolbox enable core audio (default is no)
1804 --enable-audio-unit enable audio unit (default is no)
1805 --enable-audio-unit-plugins
1806 enable audio unit (default is no)
1807 --enable-wasapi enable WASAPI (default is no)
1808 --enable-libinstpatch enable libinstpatch (default is yes)
1809 --enable-vst3 enable vst3 (default is no)
1810 --enable-midi2 enable MIDI 2.0 (default is yes)
1811 --enable-x11 enable X11 (default is yes)
1812 --enable-quartz enable quartz (default is no)
1813 --enable-run-functional-tests
1814 run functional tests (default is no)
1815 --enable-fast-test-mode fast test mode (default is no)
1816 --enable-run-system-tests
1817 run system tests (default is no)
1818 --enable-experimental experimental (default is no)
1819 --enable-shared[=PKGS] build shared libraries [default=yes]
1820 --enable-static[=PKGS] build static libraries [default=yes]
1821 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1822 both]
1823 --enable-fast-install[=PKGS]
1824 optimize for fast installation [default=yes]
1825 --enable-aix-soname=aix|svr4|both
1826 shared library versioning (aka "SONAME") variant to
1827 provide on AIX, [default=aix].
1828 --disable-libtool-lock avoid locking (might break parallel builds)
1829 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1830 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1831 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1832
1833 Optional Packages:
1834 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1835 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1836 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1837 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1838 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1839 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1840 --without-libintl-prefix don't search for libintl in includedir and libdir
1841 --with-gtk-unix-print enable support for Gtk4 Unix print
1842 --with-poppler enable support for poppler
1843 --without-gstreamer disable support for gstreamer
1844 --with-vte enable support for vte
1845 --with-tooltips enable support for tooltips
1846 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1847 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1848 compiler's sysroot if not specified).
1849 --with-x use the X Window System
1850 --with-html-dir=PATH path to installed docs
1851
1852 Some influential environment variables:
1853 CC C compiler command
1854 CFLAGS C compiler flags
1855 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1856 nonstandard directory <lib dir>
1857 LIBS libraries to pass to the linker, e.g. -l<library>
1858 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1859 you have headers in a nonstandard directory <include dir>
1860 CPP C preprocessor
1861 PICFLAGS PIC flags
1862 INTROSPECTION_SCANNER
1863 introspection scanner
1864 INTROSPECTION_COMPILER
1865 introspection compiler
1866 HTMLHELP_XSL
1867 path to Docbook XML htmlhelp XSL file
1868 FO_XSL path to Docbook XML fo XSL file
1869 MANPAGES_XSL
1870 path to Docbook XML manpages XSL file
1871 GOBJECT_API_DOC
1872 path for use with sed to GObject API Reference Manual
1873 GTK_API_DOC path for use with sed to Gtk-4 API Reference Manual
1874 LIBAGS_API_DOC
1875 path for use with sed to Libags API Reference Manual
1876 LIBAGS_AUDIO_API_DOC
1877 path for use with sed to Libags-audio API Reference Manual
1878 LIBAGS_GUI_API_DOC
1879 path for use with sed to Libags-gui API Reference Manual
1880 LIBAGS_API_DIR
1881 install path of Libags API Reference Manual
1882 LIBAGS_AUDIO_API_DIR
1883 install path of Libags-audio API Reference Manual
1884 LIBAGS_GUI_API_DIR
1885 install path of Libags-gui API Reference Manual
1886 LIBGSEQUENCER_API_DIR
1887 install path of Libgsequencer API Reference Manual
1888 CXX C++ compiler command
1889 CXXFLAGS C++ compiler flags
1890 PKG_CONFIG path to pkg-config utility
1891 PKG_CONFIG_PATH
1892 directories to add to pkg-config's search path
1893 PKG_CONFIG_LIBDIR
1894 path overriding pkg-config's built-in search path
1895 LT_SYS_LIBRARY_PATH
1896 User-defined run-time library search path.
1897 CXXCPP C++ preprocessor
1898 XMKMF Path to xmkmf, Makefile generator for X Window System
1899 UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
1900 UUID_LIBS linker flags for UUID, overriding pkg-config
1901 LIBASOUND2_CFLAGS
1902 C compiler flags for LIBASOUND2, overriding pkg-config
1903 LIBASOUND2_LIBS
1904 linker flags for LIBASOUND2, overriding pkg-config
1905 LIBDSSIALSACOMPAT_CFLAGS
1906 C compiler flags for LIBDSSIALSACOMPAT, overriding pkg-config
1907 LIBDSSIALSACOMPAT_LIBS
1908 linker flags for LIBDSSIALSACOMPAT, overriding pkg-config
1909 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
1910 JACK_LIBS linker flags for JACK, overriding pkg-config
1911 PULSE_CFLAGS
1912 C compiler flags for PULSE, overriding pkg-config
1913 PULSE_LIBS linker flags for PULSE, overriding pkg-config
1914 LIBXML2_CFLAGS
1915 C compiler flags for LIBXML2, overriding pkg-config
1916 LIBXML2_LIBS
1917 linker flags for LIBXML2, overriding pkg-config
1918 SAMPLERATE_CFLAGS
1919 C compiler flags for SAMPLERATE, overriding pkg-config
1920 SAMPLERATE_LIBS
1921 linker flags for SAMPLERATE, overriding pkg-config
1922 SNDFILE_CFLAGS
1923 C compiler flags for SNDFILE, overriding pkg-config
1924 SNDFILE_LIBS
1925 linker flags for SNDFILE, overriding pkg-config
1926 FFTW_CFLAGS C compiler flags for FFTW, overriding pkg-config
1927 FFTW_LIBS linker flags for FFTW, overriding pkg-config
1928 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1929 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1930 GOBJECT_CFLAGS
1931 C compiler flags for GOBJECT, overriding pkg-config
1932 GOBJECT_LIBS
1933 linker flags for GOBJECT, overriding pkg-config
1934 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1935 GIO_LIBS linker flags for GIO, overriding pkg-config
1936 JSON_GLIB_CFLAGS
1937 C compiler flags for JSON_GLIB, overriding pkg-config
1938 JSON_GLIB_LIBS
1939 linker flags for JSON_GLIB, overriding pkg-config
1940 LIBSOUP_CFLAGS
1941 C compiler flags for LIBSOUP, overriding pkg-config
1942 LIBSOUP_LIBS
1943 linker flags for LIBSOUP, overriding pkg-config
1944 LIBINSTPATCH_CFLAGS
1945 C compiler flags for LIBINSTPATCH, overriding pkg-config
1946 LIBINSTPATCH_LIBS
1947 linker flags for LIBINSTPATCH, overriding pkg-config
1948 CAIRO_CFLAGS
1949 C compiler flags for CAIRO, overriding pkg-config
1950 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1951 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1952 GTK_LIBS linker flags for GTK, overriding pkg-config
1953 GTK_UNIX_PRINT_CFLAGS
1954 C compiler flags for GTK_UNIX_PRINT, overriding pkg-config
1955 GTK_UNIX_PRINT_LIBS
1956 linker flags for GTK_UNIX_PRINT, overriding pkg-config
1957 POPPLER_CFLAGS
1958 C compiler flags for POPPLER, overriding pkg-config
1959 POPPLER_LIBS
1960 linker flags for POPPLER, overriding pkg-config
1961 GSTREAMER_CFLAGS
1962 C compiler flags for GSTREAMER, overriding pkg-config
1963 GSTREAMER_LIBS
1964 linker flags for GSTREAMER, overriding pkg-config
1965 VTE_CFLAGS C compiler flags for VTE, overriding pkg-config
1966 VTE_LIBS linker flags for VTE, overriding pkg-config
1967 GTKDOC_DEPS_CFLAGS
1968 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1969 GTKDOC_DEPS_LIBS
1970 linker flags for GTKDOC_DEPS, overriding pkg-config
1971
1972 Use these variables to override the choices made by 'configure' or to help
1973 it to find libraries and programs with nonstandard names/locations.
1974
1975 Report bugs to <[email protected]>.
1976 _ACEOF
1977 ac_status=$?
1978 fi
1979
1980 if test "$ac_init_help" = "recursive"; then
1981 # If there are subdirs, report their specific --help.
1982 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1983 test -d "$ac_dir" ||
1984 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1985 continue
1986 ac_builddir=.
1987
1988 case "$ac_dir" in
1989 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1990 *)
1991 ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
1992 # A ".." for each directory in $ac_dir_suffix.
1993 ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1994 case $ac_top_builddir_sub in
1995 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1996 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1997 esac ;;
1998 esac
1999 ac_abs_top_builddir=$ac_pwd
2000 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2001 # for backward compatibility:
2002 ac_top_builddir=$ac_top_build_prefix
2003
2004 case $srcdir in
2005 .) # We are building in place.
2006 ac_srcdir=.
2007 ac_top_srcdir=$ac_top_builddir_sub
2008 ac_abs_top_srcdir=$ac_pwd ;;
2009 [\\/]* | ?:[\\/]* ) # Absolute name.
2010 ac_srcdir=$srcdir$ac_dir_suffix;
2011 ac_top_srcdir=$srcdir
2012 ac_abs_top_srcdir=$srcdir ;;
2013 *) # Relative name.
2014 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2015 ac_top_srcdir=$ac_top_build_prefix$srcdir
2016 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2017 esac
2018 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2019
2020 cd "$ac_dir" || { ac_status=$?; continue; }
2021 # Check for configure.gnu first; this name is used for a wrapper for
2022 # Metaconfig's "Configure" on case-insensitive file systems.
2023 if test -f "$ac_srcdir/configure.gnu"; then
2024 echo &&
2025 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2026 elif test -f "$ac_srcdir/configure"; then
2027 echo &&
2028 $SHELL "$ac_srcdir/configure" --help=recursive
2029 else
2030 printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2031 fi || ac_status=$?
2032 cd "$ac_pwd" || { ac_status=$?; break; }
2033 done
2034 fi
2035
2036 test -n "$ac_init_help" && exit $ac_status
2037 if $ac_init_version; then
2038 cat <<\_ACEOF
2039 gsequencer configure 9.0.20
2040 generated by GNU Autoconf 2.73
2041
2042 Copyright (C) 2026 Free Software Foundation, Inc.
2043 This configure script is free software; the Free Software Foundation
2044 gives unlimited permission to copy, distribute and modify it.
2045 _ACEOF
2046 exit
2047 fi
2048
2049 ## ------------------------ ##
2050 ## Autoconf initialization. ##
2051 ## ------------------------ ##
2052
2053 # ac_fn_c_try_compile LINENO
2054 # --------------------------
2055 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2056 ac_fn_c_try_compile ()
2057 {
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 rm -f conftest.$ac_objext conftest.beam
2060 if { { ac_try="$ac_compile"
2061 case "(($ac_try" in
2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2064 esac
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 printf '%s\n' "$ac_try_echo"; } >&5
2067 (eval "$ac_compile") 2>conftest.err
2068 ac_status=$?
2069 if test -s conftest.err; then
2070 grep -v '^ *+' conftest.err >conftest.er1
2071 cat conftest.er1 >&5
2072 mv -f conftest.er1 conftest.err
2073 fi
2074 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && {
2076 test -z "$ac_c_werror_flag" ||
2077 test ! -s conftest.err
2078 } && test -s conftest.$ac_objext
2079 then :
2080 ac_retval=0
2081 else case e in #(
2082 e) printf '%s\n' "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2084
2085 ac_retval=1 ;;
2086 esac
2087 fi
2088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2089 as_fn_set_status $ac_retval
2090
2091 } # ac_fn_c_try_compile
2092
2093 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2094 # -------------------------------------------------------
2095 # Tests whether HEADER exists and can be compiled using the include files in
2096 # INCLUDES, setting the cache variable VAR accordingly.
2097 ac_fn_c_check_header_compile ()
2098 {
2099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2100 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2101 printf %s "checking for $2... " >&6; }
2102 if eval test \${$3+y}
2103 then :
2104 printf %s "(cached) " >&6
2105 else case e in #(
2106 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2108 $4
2109 #include <$2>
2110 _ACEOF
2111 if ac_fn_c_try_compile "$LINENO"
2112 then :
2113 eval "$3=yes"
2114 else case e in #(
2115 e) eval "$3=no" ;;
2116 esac
2117 fi
2118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2119 esac
2120 fi
2121 eval ac_res=\$$3
2122 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2123 printf '%s\n' "$ac_res" >&6; }
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125
2126 } # ac_fn_c_check_header_compile
2127
2128 # ac_fn_c_try_cpp LINENO
2129 # ----------------------
2130 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2131 ac_fn_c_try_cpp ()
2132 {
2133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2134 if { { ac_try="$ac_cpp conftest.$ac_ext"
2135 case "(($ac_try" in
2136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2137 *) ac_try_echo=$ac_try;;
2138 esac
2139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2140 printf '%s\n' "$ac_try_echo"; } >&5
2141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2142 ac_status=$?
2143 if test -s conftest.err; then
2144 grep -v '^ *+' conftest.err >conftest.er1
2145 cat conftest.er1 >&5
2146 mv -f conftest.er1 conftest.err
2147 fi
2148 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2149 test $ac_status = 0; } > conftest.i && {
2150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2151 test ! -s conftest.err
2152 }
2153 then :
2154 ac_retval=0
2155 else case e in #(
2156 e) printf '%s\n' "$as_me: failed program was:" >&5
2157 sed 's/^/| /' conftest.$ac_ext >&5
2158
2159 ac_retval=1 ;;
2160 esac
2161 fi
2162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163 as_fn_set_status $ac_retval
2164
2165 } # ac_fn_c_try_cpp
2166
2167 # ac_fn_c_try_link LINENO
2168 # -----------------------
2169 # Try to link conftest.$ac_ext, and return whether this succeeded.
2170 ac_fn_c_try_link ()
2171 {
2172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2174 if { { ac_try="$ac_link"
2175 case "(($ac_try" in
2176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2177 *) ac_try_echo=$ac_try;;
2178 esac
2179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2180 printf '%s\n' "$ac_try_echo"; } >&5
2181 (eval "$ac_link") 2>conftest.err
2182 ac_status=$?
2183 if test -s conftest.err; then
2184 grep -v '^ *+' conftest.err >conftest.er1
2185 cat conftest.er1 >&5
2186 mv -f conftest.er1 conftest.err
2187 fi
2188 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2189 test $ac_status = 0; } && {
2190 test -z "$ac_c_werror_flag" ||
2191 test ! -s conftest.err
2192 } && test -s conftest$ac_exeext && {
2193 test "$cross_compiling" = yes ||
2194 test -x conftest$ac_exeext
2195 }
2196 then :
2197 ac_retval=0
2198 else case e in #(
2199 e) printf '%s\n' "$as_me: failed program was:" >&5
2200 sed 's/^/| /' conftest.$ac_ext >&5
2201
2202 ac_retval=1 ;;
2203 esac
2204 fi
2205 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2206 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2207 # interfere with the next link command; also delete a directory that is
2208 # left behind by Apple's compiler. We do this before executing the actions.
2209 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2210 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2211 as_fn_set_status $ac_retval
2212
2213 } # ac_fn_c_try_link
2214
2215 # ac_fn_c_try_run LINENO
2216 # ----------------------
2217 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2218 # executables *can* be run.
2219 ac_fn_c_try_run ()
2220 {
2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2222 if { { ac_try="$ac_link"
2223 case "(($ac_try" in
2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2225 *) ac_try_echo=$ac_try;;
2226 esac
2227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2228 printf '%s\n' "$ac_try_echo"; } >&5
2229 (eval "$ac_link") 2>&5
2230 ac_status=$?
2231 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2232 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2233 { { case "(($ac_try" in
2234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2235 *) ac_try_echo=$ac_try;;
2236 esac
2237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2238 printf '%s\n' "$ac_try_echo"; } >&5
2239 (eval "$ac_try") 2>&5
2240 ac_status=$?
2241 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2242 test $ac_status = 0; }; }
2243 then :
2244 ac_retval=0
2245 else case e in #(
2246 e) printf '%s\n' "$as_me: program exited with status $ac_status" >&5
2247 printf '%s\n' "$as_me: failed program was:" >&5
2248 sed 's/^/| /' conftest.$ac_ext >&5
2249
2250 ac_retval=$ac_status ;;
2251 esac
2252 fi
2253 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 as_fn_set_status $ac_retval
2256
2257 } # ac_fn_c_try_run
2258
2259 # ac_fn_cxx_try_compile LINENO
2260 # ----------------------------
2261 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2262 ac_fn_cxx_try_compile ()
2263 {
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 rm -f conftest.$ac_objext conftest.beam
2266 if { { ac_try="$ac_compile"
2267 case "(($ac_try" in
2268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2269 *) ac_try_echo=$ac_try;;
2270 esac
2271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2272 printf '%s\n' "$ac_try_echo"; } >&5
2273 (eval "$ac_compile") 2>conftest.err
2274 ac_status=$?
2275 if test -s conftest.err; then
2276 grep -v '^ *+' conftest.err >conftest.er1
2277 cat conftest.er1 >&5
2278 mv -f conftest.er1 conftest.err
2279 fi
2280 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2281 test $ac_status = 0; } && {
2282 test -z "$ac_cxx_werror_flag" ||
2283 test ! -s conftest.err
2284 } && test -s conftest.$ac_objext
2285 then :
2286 ac_retval=0
2287 else case e in #(
2288 e) printf '%s\n' "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.$ac_ext >&5
2290
2291 ac_retval=1 ;;
2292 esac
2293 fi
2294 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2295 as_fn_set_status $ac_retval
2296
2297 } # ac_fn_cxx_try_compile
2298
2299 # ac_fn_c_check_func LINENO FUNC VAR
2300 # ----------------------------------
2301 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2302 ac_fn_c_check_func ()
2303 {
2304 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2305 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2306 printf %s "checking for $2... " >&6; }
2307 if eval test \${$3+y}
2308 then :
2309 printf %s "(cached) " >&6
2310 else case e in #(
2311 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2313 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2315 #define $2 innocuous_$2
2316
2317 /* System header to define __stub macros and hopefully few prototypes,
2318 which can conflict with char $2 (void); below. */
2319
2320 #include <limits.h>
2321 #undef $2
2322
2323 /* Override any GCC internal prototype to avoid an error.
2324 Use char because int might match the return type of a GCC
2325 builtin and then its argument prototype would still apply. */
2326 #ifdef __cplusplus
2327 extern "C"
2328 #endif
2329 char $2 (void);
2330 /* The GNU C library defines this for functions which it implements
2331 to always fail with ENOSYS. Some functions are actually named
2332 something starting with __ and the normal name is an alias. */
2333 #if defined __stub_$2 || defined __stub___$2
2334 choke me
2335 #endif
2336
2337 int
2338 main (void)
2339 {
2340 return $2 ();
2341 ;
2342 return 0;
2343 }
2344 _ACEOF
2345 if ac_fn_c_try_link "$LINENO"
2346 then :
2347 eval "$3=yes"
2348 else case e in #(
2349 e) eval "$3=no" ;;
2350 esac
2351 fi
2352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2353 conftest$ac_exeext conftest.$ac_ext ;;
2354 esac
2355 fi
2356 eval ac_res=\$$3
2357 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2358 printf '%s\n' "$ac_res" >&6; }
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360
2361 } # ac_fn_c_check_func
2362
2363 # ac_fn_cxx_try_cpp LINENO
2364 # ------------------------
2365 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2366 ac_fn_cxx_try_cpp ()
2367 {
2368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2369 if { { ac_try="$ac_cpp conftest.$ac_ext"
2370 case "(($ac_try" in
2371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2372 *) ac_try_echo=$ac_try;;
2373 esac
2374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2375 printf '%s\n' "$ac_try_echo"; } >&5
2376 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2377 ac_status=$?
2378 if test -s conftest.err; then
2379 grep -v '^ *+' conftest.err >conftest.er1
2380 cat conftest.er1 >&5
2381 mv -f conftest.er1 conftest.err
2382 fi
2383 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2384 test $ac_status = 0; } > conftest.i && {
2385 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2386 test ! -s conftest.err
2387 }
2388 then :
2389 ac_retval=0
2390 else case e in #(
2391 e) printf '%s\n' "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2393
2394 ac_retval=1 ;;
2395 esac
2396 fi
2397 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2398 as_fn_set_status $ac_retval
2399
2400 } # ac_fn_cxx_try_cpp
2401
2402 # ac_fn_cxx_try_link LINENO
2403 # -------------------------
2404 # Try to link conftest.$ac_ext, and return whether this succeeded.
2405 ac_fn_cxx_try_link ()
2406 {
2407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2408 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2409 if { { ac_try="$ac_link"
2410 case "(($ac_try" in
2411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2412 *) ac_try_echo=$ac_try;;
2413 esac
2414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2415 printf '%s\n' "$ac_try_echo"; } >&5
2416 (eval "$ac_link") 2>conftest.err
2417 ac_status=$?
2418 if test -s conftest.err; then
2419 grep -v '^ *+' conftest.err >conftest.er1
2420 cat conftest.er1 >&5
2421 mv -f conftest.er1 conftest.err
2422 fi
2423 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2424 test $ac_status = 0; } && {
2425 test -z "$ac_cxx_werror_flag" ||
2426 test ! -s conftest.err
2427 } && test -s conftest$ac_exeext && {
2428 test "$cross_compiling" = yes ||
2429 test -x conftest$ac_exeext
2430 }
2431 then :
2432 ac_retval=0
2433 else case e in #(
2434 e) printf '%s\n' "$as_me: failed program was:" >&5
2435 sed 's/^/| /' conftest.$ac_ext >&5
2436
2437 ac_retval=1 ;;
2438 esac
2439 fi
2440 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2441 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2442 # interfere with the next link command; also delete a directory that is
2443 # left behind by Apple's compiler. We do this before executing the actions.
2444 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2445 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2446 as_fn_set_status $ac_retval
2447
2448 } # ac_fn_cxx_try_link
2449
2450 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2451 # -------------------------------------------
2452 # Tests whether TYPE exists after having included INCLUDES, setting cache
2453 # variable VAR accordingly.
2454 ac_fn_c_check_type ()
2455 {
2456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2457 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2458 printf %s "checking for $2... " >&6; }
2459 if eval test \${$3+y}
2460 then :
2461 printf %s "(cached) " >&6
2462 else case e in #(
2463 e) eval "$3=no"
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2466 $4
2467 int
2468 main (void)
2469 {
2470 if (sizeof ($2))
2471 return 0;
2472 ;
2473 return 0;
2474 }
2475 _ACEOF
2476 if ac_fn_c_try_compile "$LINENO"
2477 then :
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2480 $4
2481 int
2482 main (void)
2483 {
2484 if (sizeof (($2)))
2485 return 0;
2486 ;
2487 return 0;
2488 }
2489 _ACEOF
2490 if ac_fn_c_try_compile "$LINENO"
2491 then :
2492
2493 else case e in #(
2494 e) eval "$3=yes" ;;
2495 esac
2496 fi
2497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2498 fi
2499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2500 esac
2501 fi
2502 eval ac_res=\$$3
2503 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2504 printf '%s\n' "$ac_res" >&6; }
2505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2506
2507 } # ac_fn_c_check_type
2508
2509 # ac_fn_c_find_uintX_t LINENO BITS VAR
2510 # ------------------------------------
2511 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2512 # accordingly.
2513 ac_fn_c_find_uintX_t ()
2514 {
2515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2516 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2517 printf %s "checking for uint$2_t... " >&6; }
2518 if eval test \${$3+y}
2519 then :
2520 printf %s "(cached) " >&6
2521 else case e in #(
2522 e) eval "$3=no"
2523 # Order is important - never check a type that is potentially smaller
2524 # than half of the expected target width.
2525 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2526 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2528 /* end confdefs.h. */
2529 $ac_includes_default
2530 int
2531 main (void)
2532 {
2533 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2534 test_array [0] = 0;
2535 return test_array [0];
2536
2537 ;
2538 return 0;
2539 }
2540 _ACEOF
2541 if ac_fn_c_try_compile "$LINENO"
2542 then :
2543 case $ac_type in #(
2544 uint$2_t) :
2545 eval "$3=yes" ;; #(
2546 *) :
2547 eval "$3=\$ac_type" ;;
2548 esac
2549 fi
2550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2551 if eval test \"x\$"$3"\" = x"no"
2552 then :
2553
2554 else case e in #(
2555 e) break ;;
2556 esac
2557 fi
2558 done ;;
2559 esac
2560 fi
2561 eval ac_res=\$$3
2562 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2563 printf '%s\n' "$ac_res" >&6; }
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2565
2566 } # ac_fn_c_find_uintX_t
2567 ac_configure_args_raw=
2568 for ac_arg
2569 do
2570 case $ac_arg in
2571 *\'*)
2572 ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2573 esac
2574 as_fn_append ac_configure_args_raw " '$ac_arg'"
2575 done
2576
2577 case $ac_configure_args_raw in
2578 *$as_nl*)
2579 ac_safe_unquote= ;;
2580 *)
2581 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2582 ac_unsafe_a="$ac_unsafe_z#~"
2583 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2584 ac_configure_args_raw=` printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2585 esac
2586
2587 cat >config.log <<_ACEOF
2588 This file contains any messages produced by compilers while
2589 running configure, to aid debugging if configure makes a mistake.
2590
2591 It was created by gsequencer $as_me 9.0.20, which was
2592 generated by GNU Autoconf 2.73. Invocation command line was
2593
2594 $ $0$ac_configure_args_raw
2595
2596 _ACEOF
2597 exec 5>>config.log
2598 {
2599 cat <<_ASUNAME
2600 ## --------- ##
2601 ## Platform. ##
2602 ## --------- ##
2603
2604 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2605 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2606 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2607 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2608 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2609
2610 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2611 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2612
2613 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2614 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2615 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2616 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2617 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2618 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2619 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2620
2621 _ASUNAME
2622
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH
2625 do
2626 IFS=$as_save_IFS
2627 case $as_dir in #(((
2628 '') as_dir=./ ;;
2629 */) ;;
2630 *) as_dir=$as_dir/ ;;
2631 esac
2632 printf '%s\n' "PATH: $as_dir"
2633 done
2634 IFS=$as_save_IFS
2635
2636 } >&5
2637
2638 cat >&5 <<_ACEOF
2639
2640
2641 ## ----------- ##
2642 ## Core tests. ##
2643 ## ----------- ##
2644
2645 _ACEOF
2646
2647
2648 # Keep a trace of the command line.
2649 # Strip out --no-create and --no-recursion so they do not pile up.
2650 # Strip out --silent because we don't want to record it for future runs.
2651 # Also quote any args containing shell meta-characters.
2652 # Make two passes to allow for proper duplicate-argument suppression.
2653 ac_configure_args=
2654 ac_configure_args0=
2655 ac_configure_args1=
2656 ac_must_keep_next=false
2657 for ac_pass in 1 2
2658 do
2659 for ac_arg
2660 do
2661 case $ac_arg in
2662 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2663 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2664 | -silent | --silent | --silen | --sile | --sil)
2665 continue ;;
2666 *\'*)
2667 ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2668 esac
2669 case $ac_pass in
2670 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2671 2)
2672 as_fn_append ac_configure_args1 " '$ac_arg'"
2673 if test $ac_must_keep_next = true; then
2674 ac_must_keep_next=false # Got value, back to normal.
2675 else
2676 case $ac_arg in
2677 *=* | --config-cache | -C | -disable-* | --disable-* \
2678 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2679 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2680 | -with-* | --with-* | -without-* | --without-* | --x)
2681 case "$ac_configure_args0 " in
2682 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2683 esac
2684 ;;
2685 -* ) ac_must_keep_next=true ;;
2686 esac
2687 fi
2688 as_fn_append ac_configure_args " '$ac_arg'"
2689 ;;
2690 esac
2691 done
2692 done
2693 { ac_configure_args0=; unset ac_configure_args0;}
2694 { ac_configure_args1=; unset ac_configure_args1;}
2695
2696 # Dump the cache to stdout. It can be in a pipe (this is a requirement).
2697 ac_cache_dump ()
2698 {
2699 # The following way of writing the cache mishandles newlines in values,
2700 # but we know of no workaround that is simple, portable, and efficient.
2701 # So, we kill variables containing newlines.
2702 # Ultrix sh set writes to stderr and can't be redirected directly,
2703 # and sets the high bit in the cache file unless we assign to the vars.
2704 (
2705 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2706 eval ac_val=\$$ac_var
2707 case $ac_val in #(
2708 *${as_nl}*)
2709 case $ac_var in #(
2710 *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2711 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2712 esac
2713 case $ac_var in #(
2714 _ | IFS | as_nl) ;; #(
2715 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2716 *) { eval $ac_var=; unset $ac_var;} ;;
2717 esac ;;
2718 esac
2719 done
2720
2721 (set) 2>&1 |
2722 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2723 *${as_nl}ac_space=\ *)
2724 # 'set' does not quote correctly, so add quotes: double-quote
2725 # substitution turns \\\\ into \\, and sed turns \\ into \.
2726 sed -n \
2727 "s/'/'\\\\''/g;
2728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2729 ;; #(
2730 *)
2731 # 'set' quotes correctly as required by POSIX, so do not add quotes.
2732 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2733 ;;
2734 esac |
2735 sort
2736 )
2737 }
2738
2739 # Print debugging info to stdout.
2740 ac_dump_debugging_info ()
2741 {
2742 echo
2743
2744 printf '%s\n' "## ---------------- ##
2745 ## Cache variables. ##
2746 ## ---------------- ##"
2747 echo
2748 ac_cache_dump
2749 echo
2750
2751 printf '%s\n' "## ----------------- ##
2752 ## Output variables. ##
2753 ## ----------------- ##"
2754 echo
2755 for ac_var in $ac_subst_vars
2756 do
2757 eval ac_val=\$$ac_var
2758 case $ac_val in
2759 *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
2760 esac
2761 printf '%s\n' "$ac_var='$ac_val'"
2762 done | sort
2763 echo
2764
2765 if test -n "$ac_subst_files"; then
2766 printf '%s\n' "## ------------------- ##
2767 ## File substitutions. ##
2768 ## ------------------- ##"
2769 echo
2770 for ac_var in $ac_subst_files
2771 do
2772 eval ac_val=\$$ac_var
2773 case $ac_val in
2774 *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
2775 esac
2776 printf '%s\n' "$ac_var='$ac_val'"
2777 done | sort
2778 echo
2779 fi
2780
2781 if test -s confdefs.h; then
2782 printf '%s\n' "## ----------- ##
2783 ## confdefs.h. ##
2784 ## ----------- ##"
2785 echo
2786 cat confdefs.h
2787 echo
2788 fi
2789 test "$ac_signal" != 0 &&
2790 printf '%s\n' "$as_me: caught signal $ac_signal"
2791 printf '%s\n' "$as_me: exit $exit_status"
2792 }
2793
2794 # When interrupted or exit'd, cleanup temporary files, and complete
2795 # config.log.
2796 ac_exit_trap ()
2797 {
2798 exit_status=
2799 # Sanitize IFS.
2800 IFS=" "" $as_nl"
2801 # Save into config.log some information that might help in debugging.
2802 ac_dump_debugging_info >&5
2803 eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
2804 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2805 exit $exit_status
2806 }
2807
2808 trap 'ac_exit_trap $?' 0
2809 for ac_signal in 1 2 13 15; do
2810 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2811 done
2812 ac_signal=0
2813
2814 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2815 rm -f -r conftest* confdefs.h
2816
2817 printf '%s\n' "/* confdefs.h */" > confdefs.h
2818
2819 # Predefined preprocessor variables.
2820
2821 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2822
2823 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2824
2825 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2826
2827 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2828
2829 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2830
2831 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2832
2833
2834 # Let the site file select an alternate cache file if it wants to.
2835 # Prefer an explicitly selected file to automatically selected ones.
2836 if test -n "$CONFIG_SITE"; then
2837 ac_site_files="$CONFIG_SITE"
2838 elif test "x$prefix" != xNONE; then
2839 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2840 else
2841 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2842 fi
2843
2844 for ac_site_file in $ac_site_files
2845 do
2846 case $ac_site_file in #(
2847 */*) :
2848 ;; #(
2849 *) :
2850 ac_site_file=./$ac_site_file ;;
2851 esac
2852 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2853 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2854 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
2855 sed 's/^/| /' "$ac_site_file" >&5
2856 . "$ac_site_file" \
2857 || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2858 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
2859 as_fn_error $? "failed to load site script $ac_site_file
2860 See 'config.log' for more details" "$LINENO" 5; }
2861 fi
2862 done
2863
2864 if test -r "$cache_file"; then
2865 # Some versions of bash will fail to source /dev/null (special files
2866 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2867 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2868 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2869 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
2870 case $cache_file in
2871 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2872 *) . "./$cache_file";;
2873 esac
2874 fi
2875 else
2876 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2877 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
2878 >$cache_file
2879 fi
2880
2881 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2882 # Test code for whether the C compiler supports C23 (global declarations)
2883 ac_c_conftest_c23_globals='
2884 /* Does the compiler advertise conformance to C17 or earlier?
2885 Although GCC 14 does not do that, even with -std=gnu23,
2886 it is close enough, and defines __STDC_VERSION == 202000L. */
2887 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
2888 # error "Compiler advertises conformance to C17 or earlier"
2889 #endif
2890
2891 // Check alignas.
2892 char alignas (double) c23_aligned_as_double;
2893 char alignas (0) c23_no_special_alignment;
2894 extern char c23_aligned_as_int;
2895 char alignas (0) alignas (int) c23_aligned_as_int;
2896
2897 // Check alignof.
2898 enum
2899 {
2900 c23_int_alignment = alignof (int),
2901 c23_int_array_alignment = alignof (int[100]),
2902 c23_char_alignment = alignof (char)
2903 };
2904 static_assert (0 < -alignof (int), "alignof is signed");
2905
2906 int function_with_unnamed_parameter (int) { return 0; }
2907
2908 void c23_noreturn ();
2909
2910 /* Test parsing of string and char UTF-8 literals (including hex escapes).
2911 The parens pacify GCC 15. */
2912 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
2913
2914 bool check_that_bool_works = true | false | !nullptr;
2915 #if !true
2916 # error "true does not work in #if"
2917 #endif
2918 #if false
2919 #elifdef __STDC_VERSION__
2920 #else
2921 # error "#elifdef does not work"
2922 #endif
2923
2924 #ifndef __has_c_attribute
2925 # error "__has_c_attribute not defined"
2926 #endif
2927
2928 #ifndef __has_include
2929 # error "__has_include not defined"
2930 #endif
2931
2932 #define LPAREN() (
2933 #define FORTY_TWO(x) 42
2934 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
2935 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
2936
2937 static_assert (0b101010 == 42);
2938 static_assert (0B101010 == 42);
2939 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
2940 static_assert (0.500'\''000'\''000 == 0.5);
2941
2942 enum unsignedish : unsigned int { uione = 1 };
2943 static_assert (0 < -uione);
2944
2945 #include <stddef.h>
2946 constexpr nullptr_t null_pointer = nullptr;
2947
2948 static typeof (1 + 1L) two () { return 2; }
2949 static long int three () { return 3; }
2950 '
2951
2952 # Test code for whether the C compiler supports C23 (body of main).
2953 ac_c_conftest_c23_main='
2954 {
2955 label_before_declaration:
2956 int arr[10] = {};
2957 if (arr[0])
2958 goto label_before_declaration;
2959 if (!arr[0])
2960 goto label_at_end_of_block;
2961 label_at_end_of_block:
2962 }
2963 ok |= !null_pointer;
2964 ok |= two != three;
2965 '
2966
2967 # Test code for whether the C compiler supports C23 (complete).
2968 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
2969
2970 int
2971 main (int, char **)
2972 {
2973 int ok = 0;
2974 ${ac_c_conftest_c23_main}
2975 return ok;
2976 }
2977 "
2978
2979 # Test code for whether the C compiler supports C89 (global declarations)
2980 ac_c_conftest_c89_globals='
2981 /* Do not test the value of __STDC__, because some compilers define it to 0
2982 or do not define it, while otherwise adequately conforming. */
2983
2984 #include <stddef.h>
2985 #include <stdarg.h>
2986 struct stat;
2987 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2988 struct buf { int x; };
2989 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2990 static char *e (char **p, int i)
2991 {
2992 return p[i];
2993 }
2994 static char *f (char * (*g) (char **, int), char **p, ...)
2995 {
2996 char *s;
2997 va_list v;
2998 va_start (v,p);
2999 s = g (p, va_arg (v,int));
3000 va_end (v);
3001 return s;
3002 }
3003
3004 /* C89 style stringification. */
3005 #define noexpand_stringify(a) #a
3006 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
3007
3008 /* C89 style token pasting. Exercises some of the corner cases that
3009 e.g. old MSVC gets wrong, but not very hard. */
3010 #define noexpand_concat(a,b) a##b
3011 #define expand_concat(a,b) noexpand_concat(a,b)
3012 extern int vA;
3013 extern int vbee;
3014 #define aye A
3015 #define bee B
3016 int *pvA = &expand_concat(v,aye);
3017 int *pvbee = &noexpand_concat(v,bee);
3018
3019 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3020 function prototypes and stuff, but not \xHH hex character constants.
3021 These do not provoke an error unfortunately, instead are silently treated
3022 as an "x". The following induces an error, until -std is added to get
3023 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3024 array size at least. It is necessary to write \x00 == 0 to get something
3025 that is true only with -std. */
3026 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3027
3028 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3029 inside strings and character constants. */
3030 #define FOO(x) '\''x'\''
3031 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3032
3033 int test (int i, double x);
3034 struct s1 {int (*f) (int a);};
3035 struct s2 {int (*f) (double a);};
3036 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3037 int, int);'
3038
3039 # Test code for whether the C compiler supports C89 (body of main).
3040 ac_c_conftest_c89_main='
3041 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3042 '
3043
3044 # Test code for whether the C compiler supports C99 (global declarations)
3045 ac_c_conftest_c99_globals='
3046 /* Does the compiler advertise C99 conformance? */
3047 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3048 # error "Compiler does not advertise C99 conformance"
3049 #endif
3050
3051 // See if C++-style comments work.
3052
3053 #include <stdbool.h>
3054 extern int puts (const char *);
3055 extern int printf (const char *, ...);
3056 extern int dprintf (int, const char *, ...);
3057 extern void *malloc (size_t);
3058 extern void free (void *);
3059
3060 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3061 // dprintf is used instead of fprintf to avoid needing to declare
3062 // FILE and stderr, and "aND" is used instead of "and" to work around
3063 // GCC bug 40564 which is irrelevant here.
3064 #define debug(...) dprintf (2, __VA_ARGS__)
3065 #define showlist(...) puts (#__VA_ARGS__)
3066 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3067 static void
3068 test_varargs_macros (void)
3069 {
3070 int x = 1234;
3071 int y = 5678;
3072 debug ("Flag");
3073 debug ("X = %d\n", x);
3074 showlist (The first, second, aND third items.);
3075 report (x>y, "x is %d but y is %d", x, y);
3076 }
3077
3078 // Check long long types.
3079 #define BIG64 18446744073709551615ull
3080 #define BIG32 4294967295ul
3081 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3082 #if !BIG_OK
3083 #error "your preprocessor is broken"
3084 #endif
3085 #if BIG_OK
3086 #else
3087 #error "your preprocessor is broken"
3088 #endif
3089 static long long int bignum = -9223372036854775807LL;
3090 static unsigned long long int ubignum = BIG64;
3091
3092 struct incomplete_array
3093 {
3094 int datasize;
3095 double data[];
3096 };
3097
3098 struct named_init {
3099 int number;
3100 const wchar_t *name;
3101 double average;
3102 };
3103
3104 typedef const char *ccp;
3105
3106 static inline int
3107 test_restrict (ccp restrict text)
3108 {
3109 // Iterate through items via the restricted pointer.
3110 // Also check for declarations in for loops.
3111 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3112 continue;
3113 return 0;
3114 }
3115
3116 // Check varargs and va_copy.
3117 static bool
3118 test_varargs (const char *format, ...)
3119 {
3120 va_list args;
3121 va_start (args, format);
3122 va_list args_copy;
3123 va_copy (args_copy, args);
3124
3125 const char *str = "";
3126 int number = 0;
3127 float fnumber = 0;
3128
3129 while (*format)
3130 {
3131 switch (*format++)
3132 {
3133 case '\''s'\'': // string
3134 str = va_arg (args_copy, const char *);
3135 break;
3136 case '\''d'\'': // int
3137 number = va_arg (args_copy, int);
3138 break;
3139 case '\''f'\'': // float
3140 fnumber = va_arg (args_copy, double);
3141 break;
3142 default:
3143 break;
3144 }
3145 }
3146 va_end (args_copy);
3147 va_end (args);
3148
3149 return *str && number && fnumber;
3150 }
3151 '
3152
3153 # Test code for whether the C compiler supports C99 (body of main).
3154 ac_c_conftest_c99_main='
3155 // Check bool.
3156 _Bool success = false;
3157 success |= (argc != 0);
3158
3159 // Check restrict.
3160 if (test_restrict ("String literal") == 0)
3161 success = true;
3162 const char *restrict newvar = "Another string";
3163
3164 // Check varargs.
3165 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3166 test_varargs_macros ();
3167
3168 // Check flexible array members.
3169 static struct incomplete_array *volatile incomplete_array_pointer;
3170 struct incomplete_array *ia = incomplete_array_pointer;
3171 ia->datasize = 10;
3172 for (int i = 0; i < ia->datasize; ++i)
3173 ia->data[i] = i * 1.234;
3174 // Work around memory leak warnings.
3175 free (ia);
3176
3177 // Check named initializers.
3178 struct named_init ni = {
3179 .number = 34,
3180 .name = L"Test wide string",
3181 .average = 543.34343,
3182 };
3183
3184 ni.number = 58;
3185
3186 // Do not test for VLAs, as some otherwise-conforming compilers lack them.
3187 // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
3188
3189 // work around unused variable warnings
3190 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3191 || ni.number != 58);
3192 '
3193
3194 # Test code for whether the C compiler supports C11 (global declarations)
3195 ac_c_conftest_c11_globals='
3196 /* Does the compiler advertise C11 conformance? */
3197 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3198 # error "Compiler does not advertise C11 conformance"
3199 #endif
3200
3201 // Check _Alignas.
3202 char _Alignas (double) aligned_as_double;
3203 char _Alignas (0) no_special_alignment;
3204 extern char aligned_as_int;
3205 char _Alignas (0) _Alignas (int) aligned_as_int;
3206
3207 // Check _Alignof.
3208 enum
3209 {
3210 int_alignment = _Alignof (int),
3211 int_array_alignment = _Alignof (int[100]),
3212 char_alignment = _Alignof (char)
3213 };
3214 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3215
3216 // Check _Noreturn.
3217 int _Noreturn does_not_return (void) { for (;;) continue; }
3218
3219 // Check _Static_assert.
3220 struct test_static_assert
3221 {
3222 int x;
3223 _Static_assert (sizeof (int) <= sizeof (long int),
3224 "_Static_assert does not work in struct");
3225 long int y;
3226 };
3227
3228 // Check UTF-8 literals.
3229 #define u8 syntax error!
3230 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3231
3232 // Check duplicate typedefs.
3233 typedef long *long_ptr;
3234 typedef long int *long_ptr;
3235 typedef long_ptr long_ptr;
3236
3237 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3238 struct anonymous
3239 {
3240 union {
3241 struct { int i; int j; };
3242 struct { int k; long int l; } w;
3243 };
3244 int m;
3245 } v1;
3246 '
3247
3248 # Test code for whether the C compiler supports C11 (body of main).
3249 ac_c_conftest_c11_main='
3250 _Static_assert ((offsetof (struct anonymous, i)
3251 == offsetof (struct anonymous, w.k)),
3252 "Anonymous union alignment botch");
3253 v1.i = 2;
3254 v1.w.k = 5;
3255 ok |= v1.i != 5;
3256 '
3257
3258 # Test code for whether the C compiler supports C11 (complete).
3259 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3260 ${ac_c_conftest_c99_globals}
3261 ${ac_c_conftest_c11_globals}
3262
3263 int
3264 main (int argc, char **argv)
3265 {
3266 int ok = 0;
3267 ${ac_c_conftest_c89_main}
3268 ${ac_c_conftest_c99_main}
3269 ${ac_c_conftest_c11_main}
3270 return ok;
3271 }
3272 "
3273
3274 # Test code for whether the C compiler supports C99 (complete).
3275 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3276 ${ac_c_conftest_c99_globals}
3277
3278 int
3279 main (int argc, char **argv)
3280 {
3281 int ok = 0;
3282 ${ac_c_conftest_c89_main}
3283 ${ac_c_conftest_c99_main}
3284 return ok;
3285 }
3286 "
3287
3288 # Test code for whether the C compiler supports C89 (complete).
3289 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3290
3291 int
3292 main (int argc, char **argv)
3293 {
3294 int ok = 0;
3295 ${ac_c_conftest_c89_main}
3296 return ok;
3297 }
3298 "
3299
3300 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3301 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3302 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3303 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3304 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3305 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3306 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3307 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3308 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
3309 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
3310 gt_needs="$gt_needs "
3311
3312 # Auxiliary files required by this configure script.
3313 ac_aux_files="ltmain.sh config.guess config.sub config.rpath compile missing install-sh"
3314
3315 # Locations in which to look for auxiliary files.
3316 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
3317
3318 # Search for a directory containing all of the required auxiliary files,
3319 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3320 # If we don't find one directory that contains all the files we need,
3321 # we report the set of missing files from the *first* directory in
3322 # $ac_aux_dir_candidates and give up.
3323 ac_missing_aux_files=""
3324 ac_first_candidate=:
3325 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 as_found=false
3328 for as_dir in $ac_aux_dir_candidates
3329 do
3330 IFS=$as_save_IFS
3331 case $as_dir in #(((
3332 '') as_dir=./ ;;
3333 */) ;;
3334 *) as_dir=$as_dir/ ;;
3335 esac
3336 as_found=:
3337
3338 printf '%s\n' "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3339 ac_aux_dir_found=yes
3340 ac_install_sh=
3341 for ac_aux in $ac_aux_files
3342 do
3343 # As a special case, if "install-sh" is required, that requirement
3344 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3345 # and $ac_install_sh is set appropriately for whichever one is found.
3346 if test x"$ac_aux" = x"install-sh"
3347 then
3348 if test -f "${as_dir}install-sh"; then
3349 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3350 ac_install_sh="${as_dir}install-sh -c"
3351 elif test -f "${as_dir}install.sh"; then
3352 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3353 ac_install_sh="${as_dir}install.sh -c"
3354 elif test -f "${as_dir}shtool"; then
3355 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3356 ac_install_sh="${as_dir}shtool install -c"
3357 else
3358 ac_aux_dir_found=no
3359 if $ac_first_candidate; then
3360 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3361 else
3362 break
3363 fi
3364 fi
3365 else
3366 if test -f "${as_dir}${ac_aux}"; then
3367 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3368 else
3369 ac_aux_dir_found=no
3370 if $ac_first_candidate; then
3371 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3372 else
3373 break
3374 fi
3375 fi
3376 fi
3377 done
3378 if test "$ac_aux_dir_found" = yes; then
3379 ac_aux_dir="$as_dir"
3380 break
3381 fi
3382 ac_first_candidate=false
3383
3384 as_found=false
3385 done
3386 IFS=$as_save_IFS
3387 if $as_found
3388 then :
3389
3390 else case e in #(
3391 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
3392 esac
3393 fi
3394
3395
3396 # These three variables are undocumented and unsupported,
3397 # and are intended to be withdrawn in a future Autoconf release.
3398 # They can cause serious problems if a builder's source tree is in a directory
3399 # whose full name contains unusual characters.
3400 if test -f "${ac_aux_dir}config.guess"; then
3401 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3402 fi
3403 if test -f "${ac_aux_dir}config.sub"; then
3404 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3405 fi
3406 if test -f "$ac_aux_dir/configure"; then
3407 ac_configure="$SHELL ${ac_aux_dir}configure"
3408 fi
3409
3410 # Check that the precious variables saved in the cache have kept the same
3411 # value.
3412 ac_cache_corrupted=false
3413 for ac_var in $ac_precious_vars; do
3414 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3415 eval ac_new_set=\$ac_env_${ac_var}_set
3416 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3417 eval ac_new_val=\$ac_env_${ac_var}_value
3418 case $ac_old_set,$ac_new_set in
3419 set,)
3420 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
3421 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
3422 ac_cache_corrupted=: ;;
3423 ,set)
3424 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
3425 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
3426 ac_cache_corrupted=: ;;
3427 ,);;
3428 *)
3429 if test "x$ac_old_val" != "x$ac_new_val"; then
3430 # differences in whitespace do not lead to failure.
3431 ac_old_val_w=
3432 for ac_val in x $ac_old_val; do
3433 ac_old_val_w="$ac_old_val_w $ac_val"
3434 done
3435 ac_new_val_w=
3436 for ac_val in x $ac_new_val; do
3437 ac_new_val_w="$ac_new_val_w $ac_val"
3438 done
3439 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3440 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
3441 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
3442 ac_cache_corrupted=:
3443 else
3444 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
3445 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
3446 eval $ac_var=\$ac_old_val
3447 fi
3448 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
3449 printf '%s\n' "$as_me: former value: '$ac_old_val'" >&2;}
3450 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
3451 printf '%s\n' "$as_me: current value: '$ac_new_val'" >&2;}
3452 fi;;
3453 esac
3454 # Pass precious variables to config.status.
3455 if test "$ac_new_set" = set; then
3456 case $ac_new_val in
3457 *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3458 *) ac_arg=$ac_var=$ac_new_val ;;
3459 esac
3460 case " $ac_configure_args " in
3461 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3462 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3463 esac
3464 fi
3465 done
3466 if $ac_cache_corrupted; then
3467 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3468 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
3469 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3470 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
3471 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
3472 and start over" "$LINENO" 5
3473 fi
3474 ## -------------------- ##
3475 ## Main body of script. ##
3476 ## -------------------- ##
3477
3478
3479 # Determine whether it's possible to make 'echo' print without a newline.
3480 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3481 # for compatibility with existing Makefiles.
3482 ECHO_C= ECHO_N= ECHO_T=
3483 case `echo -n x` in #(((((
3484 -n*)
3485 case `echo 'xy\c'` in
3486 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3487 xy) ECHO_C='\c';;
3488 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3489 ECHO_T=' ';;
3490 esac;;
3491 *)
3492 ECHO_N='-n';;
3493 esac
3494
3495 ac_ext=c
3496 ac_cpp='$CPP $CPPFLAGS'
3497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3500
3501
3502 am__api_version='1.18'
3503
3504
3505
3506 # Find a good install program. We prefer a C program (faster),
3507 # so one script is as good as another. But avoid the broken or
3508 # incompatible versions:
3509 # SysV /etc/install, /usr/sbin/install
3510 # SunOS /usr/etc/install
3511 # IRIX /sbin/install
3512 # AIX /bin/install
3513 # AmigaOS /C/install, which installs bootblocks on floppy discs
3514 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3515 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3516 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3517 # OS/2's system install, which has a completely different semantic
3518 # ./install, which can be erroneously created by make from ./install.sh.
3519 # Reject install programs that cannot install multiple files.
3520 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3521 printf %s "checking for a BSD-compatible install... " >&6; }
3522 if test -z "$INSTALL"; then
3523 if test ${ac_cv_path_install+y}
3524 then :
3525 printf %s "(cached) " >&6
3526 else case e in #(
3527 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3529 do
3530 IFS=$as_save_IFS
3531 case $as_dir in #(((
3532 '') as_dir=./ ;;
3533 */) ;;
3534 *) as_dir=$as_dir/ ;;
3535 esac
3536 # Account for fact that we put trailing slashes in our PATH walk.
3537 case $as_dir in #((
3538 ./ | /[cC]/* | \
3539 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3540 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3541 /usr/ucb/* ) ;;
3542 *)
3543 # OSF/1 and SCO ODT 3.0 have their own names for install.
3544 # Don't use installbsd from OSF/1 since it installs stuff as root
3545 # by default.
3546 for ac_prog in ginstall scoinst install; do
3547 for ac_exec_ext in '' $ac_executable_extensions; do
3548 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3549 if test $ac_prog = install &&
3550 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3551 # AIX install. It has an incompatible calling convention.
3552 :
3553 elif test $ac_prog = install &&
3554 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3555 # program-specific install script used by HP pwplus--don't use.
3556 :
3557 else
3558 rm -rf conftest.one conftest.two conftest.dir
3559 echo one > conftest.one
3560 echo two > conftest.two
3561 mkdir conftest.dir
3562 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3563 test -s conftest.one && test -s conftest.two &&
3564 test -s conftest.dir/conftest.one &&
3565 test -s conftest.dir/conftest.two
3566 then
3567 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3568 break 3
3569 fi
3570 fi
3571 fi
3572 done
3573 done
3574 ;;
3575 esac
3576
3577 done
3578 IFS=$as_save_IFS
3579
3580 rm -rf conftest.one conftest.two conftest.dir
3581 ;;
3582 esac
3583 fi
3584 if test ${ac_cv_path_install+y}; then
3585 INSTALL=$ac_cv_path_install
3586 else
3587 # As a last resort, use the slow shell script. Don't cache a
3588 # value for INSTALL within a source directory, because that will
3589 # break other packages using the cache if that directory is
3590 # removed, or if the value is a relative name.
3591 INSTALL=$ac_install_sh
3592 fi
3593 fi
3594 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3595 printf '%s\n' "$INSTALL" >&6; }
3596
3597 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3598 # It thinks the first close brace ends the variable substitution.
3599 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3600
3601 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3602
3603 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3604
3605 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
3606 printf %s "checking whether sleep supports fractional seconds... " >&6; }
3607 if test ${am_cv_sleep_fractional_seconds+y}
3608 then :
3609 printf %s "(cached) " >&6
3610 else case e in #(
3611 e) if sleep 0.001 2>/dev/null
3612 then :
3613 am_cv_sleep_fractional_seconds=yes
3614 else case e in #(
3615 e) am_cv_sleep_fractional_seconds=no ;;
3616 esac
3617 fi
3618 ;;
3619 esac
3620 fi
3621 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3622 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
3623
3624 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3625 printf %s "checking filesystem timestamp resolution... " >&6; }
3626 if test ${am_cv_filesystem_timestamp_resolution+y}
3627 then :
3628 printf %s "(cached) " >&6
3629 else case e in #(
3630 e) # Default to the worst case.
3631 am_cv_filesystem_timestamp_resolution=2
3632
3633 # Only try to go finer than 1 sec if sleep can do it.
3634 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3635 # - 1 sec is not much of a win compared to 2 sec, and
3636 # - it takes 2 seconds to perform the test whether 1 sec works.
3637 #
3638 # Instead, just use the default 2s on platforms that have 1s resolution,
3639 # accept the extra 1s delay when using $sleep in the Automake tests, in
3640 # exchange for not incurring the 2s delay for running the test for all
3641 # packages.
3642 #
3643 am_try_resolutions=
3644 if test "$am_cv_sleep_fractional_seconds" = yes; then
3645 # Even a millisecond often causes a bunch of false positives,
3646 # so just try a hundredth of a second. The time saved between .001 and
3647 # .01 is not terribly consequential.
3648 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3649 fi
3650
3651 # In order to catch current-generation FAT out, we must *modify* files
3652 # that already exist; the *creation* timestamp is finer. Use names
3653 # that make ls -t sort them differently when they have equal
3654 # timestamps than when they have distinct timestamps, keeping
3655 # in mind that ls -t prints the *newest* file first.
3656 rm -f conftest.ts?
3657 : > conftest.ts1
3658 : > conftest.ts2
3659 : > conftest.ts3
3660
3661 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3662 # clobber the current shell's arguments. (Outer-level square brackets
3663 # are removed by m4; they're present so that m4 does not expand
3664 # <dollar><star>; be careful, easy to get confused.)
3665 if (
3666 set X `ls -t conftest.ts[12]` &&
3667 {
3668 test "$*" != "X conftest.ts1 conftest.ts2" ||
3669 test "$*" != "X conftest.ts2 conftest.ts1";
3670 }
3671 ); then :; else
3672 # If neither matched, then we have a broken ls. This can happen
3673 # if, for instance, CONFIG_SHELL is bash and it inherits a
3674 # broken ls alias from the environment. This has actually
3675 # happened. Such a system could not be considered "sane".
3676 printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3677 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3678 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
3679 as_fn_error $? "ls -t produces unexpected output.
3680 Make sure there is not a broken ls alias in your environment.
3681 See 'config.log' for more details" "$LINENO" 5; }
3682 fi
3683
3684 for am_try_res in $am_try_resolutions; do
3685 # Any one fine-grained sleep might happen to cross the boundary
3686 # between two values of a coarser actual resolution, but if we do
3687 # two fine-grained sleeps in a row, at least one of them will fall
3688 # entirely within a coarse interval.
3689 echo alpha > conftest.ts1
3690 sleep $am_try_res
3691 echo beta > conftest.ts2
3692 sleep $am_try_res
3693 echo gamma > conftest.ts3
3694
3695 # We assume that 'ls -t' will make use of high-resolution
3696 # timestamps if the operating system supports them at all.
3697 if (set X `ls -t conftest.ts?` &&
3698 test "$2" = conftest.ts3 &&
3699 test "$3" = conftest.ts2 &&
3700 test "$4" = conftest.ts1); then
3701 #
3702 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3703 # because we don't need to test make.
3704 make_ok=true
3705 if test $am_try_res != 1; then
3706 # But if we've succeeded so far with a subsecond resolution, we
3707 # have one more thing to check: make. It can happen that
3708 # everything else supports the subsecond mtimes, but make doesn't;
3709 # notably on macOS, which ships make 3.81 from 2006 (the last one
3710 # released under GPLv2). https://bugs.gnu.org/68808
3711 #
3712 # We test $MAKE if it is defined in the environment, else "make".
3713 # It might get overridden later, but our hope is that in practice
3714 # it does not matter: it is the system "make" which is (by far)
3715 # the most likely to be broken, whereas if the user overrides it,
3716 # probably they did so with a better, or at least not worse, make.
3717 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3718 #
3719 # Create a Makefile (real tab character here):
3720 rm -f conftest.mk
3721 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3722 echo ' touch conftest.ts2' >>conftest.mk
3723 #
3724 # Now, running
3725 # touch conftest.ts1; touch conftest.ts2; make
3726 # should touch ts1 because ts2 is newer. This could happen by luck,
3727 # but most often, it will fail if make's support is insufficient. So
3728 # test for several consecutive successes.
3729 #
3730 # (We reuse conftest.ts[12] because we still want to modify existing
3731 # files, not create new ones, per above.)
3732 n=0
3733 make=${MAKE-make}
3734 until test $n -eq 3; do
3735 echo one > conftest.ts1
3736 sleep $am_try_res
3737 echo two > conftest.ts2 # ts2 should now be newer than ts1
3738 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3739 make_ok=false
3740 break # out of $n loop
3741 fi
3742 n=`expr $n + 1`
3743 done
3744 fi
3745 #
3746 if $make_ok; then
3747 # Everything we know to check worked out, so call this resolution good.
3748 am_cv_filesystem_timestamp_resolution=$am_try_res
3749 break # out of $am_try_res loop
3750 fi
3751 # Otherwise, we'll go on to check the next resolution.
3752 fi
3753 done
3754 rm -f conftest.ts?
3755 # (end _am_filesystem_timestamp_resolution)
3756 ;;
3757 esac
3758 fi
3759 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3760 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
3761
3762 # This check should not be cached, as it may vary across builds of
3763 # different projects.
3764 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3765 printf %s "checking whether build environment is sane... " >&6; }
3766 # Reject unsafe characters in $srcdir or the absolute working directory
3767 # name. Accept space and tab only in the latter.
3768 am_lf='
3769 '
3770 case `pwd` in
3771 *[\\\"\#\$\&\'\`$am_lf]*)
3772 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 printf '%s\n' "no" >&6; }
3774 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3775 esac
3776 case $srcdir in
3777 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3778 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 printf '%s\n' "no" >&6; }
3780 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3781 esac
3782
3783 # Do 'set' in a subshell so we don't clobber the current shell's
3784 # arguments. Must try -L first in case configure is actually a
3785 # symlink; some systems play weird games with the mod time of symlinks
3786 # (eg FreeBSD returns the mod time of the symlink's containing
3787 # directory).
3788 am_build_env_is_sane=no
3789 am_has_slept=no
3790 rm -f conftest.file
3791 for am_try in 1 2; do
3792 echo "timestamp, slept: $am_has_slept" > conftest.file
3793 if (
3794 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3795 if test "$*" = "X"; then
3796 # -L didn't work.
3797 set X `ls -t "$srcdir/configure" conftest.file`
3798 fi
3799 test "$2" = conftest.file
3800 ); then
3801 am_build_env_is_sane=yes
3802 break
3803 fi
3804 # Just in case.
3805 sleep "$am_cv_filesystem_timestamp_resolution"
3806 am_has_slept=yes
3807 done
3808
3809 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3810 printf '%s\n' "$am_build_env_is_sane" >&6; }
3811 if test "$am_build_env_is_sane" = no; then
3812 as_fn_error $? "newly created file is older than distributed files!
3813 Check your system clock" "$LINENO" 5
3814 fi
3815
3816 # If we didn't sleep, we still need to ensure time stamps of config.status and
3817 # generated files are strictly newer.
3818 am_sleep_pid=
3819 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3820 then :
3821
3822 else case e in #(
3823 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3824 am_sleep_pid=$!
3825 ;;
3826 esac
3827 fi
3828
3829 rm -f conftest.file
3830
3831 test "$program_prefix" != NONE &&
3832 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3833 # Use a double $ so make ignores it.
3834 test "$program_suffix" != NONE &&
3835 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3836 # Double any \ or $.
3837 # By default was 's,x,x', remove it if useless.
3838 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3839 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
3840
3841
3842 # Expand $ac_aux_dir to an absolute path.
3843 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3844
3845
3846 if test x"${MISSING+set}" != xset; then
3847 MISSING="\${SHELL} '$am_aux_dir/missing'"
3848 fi
3849 # Use eval to expand $SHELL
3850 if eval "$MISSING --is-lightweight"; then
3851 am_missing_run="$MISSING "
3852 else
3853 am_missing_run=
3854 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3855 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3856 fi
3857
3858 if test x"${install_sh+set}" != xset; then
3859 case $am_aux_dir in
3860 *\ * | *\ *)
3861 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3862 *)
3863 install_sh="\${SHELL} $am_aux_dir/install-sh"
3864 esac
3865 fi
3866
3867 # Installed binaries are usually stripped using 'strip' when the user
3868 # run "make install-strip". However 'strip' might not be the right
3869 # tool to use in cross-compilation environments, therefore Automake
3870 # will honor the 'STRIP' environment variable to overrule this program.
3871 if test "$cross_compiling" != no; then
3872 if test -n "$ac_tool_prefix"; then
3873 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3874 set dummy ${ac_tool_prefix}strip; ac_word=$2
3875 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 printf %s "checking for $ac_word... " >&6; }
3877 if test ${ac_cv_prog_STRIP+y}
3878 then :
3879 printf %s "(cached) " >&6
3880 else case e in #(
3881 e) if test -n "$STRIP"; then
3882 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3883 else
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 for as_dir in $PATH
3886 do
3887 IFS=$as_save_IFS
3888 case $as_dir in #(((
3889 '') as_dir=./ ;;
3890 */) ;;
3891 *) as_dir=$as_dir/ ;;
3892 esac
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3894 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3895 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3896 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3897 break 2
3898 fi
3899 done
3900 done
3901 IFS=$as_save_IFS
3902
3903 fi ;;
3904 esac
3905 fi
3906 STRIP=$ac_cv_prog_STRIP
3907 if test -n "$STRIP"; then
3908 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3909 printf '%s\n' "$STRIP" >&6; }
3910 else
3911 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 printf '%s\n' "no" >&6; }
3913 fi
3914
3915
3916 fi
3917 if test -z "$ac_cv_prog_STRIP"; then
3918 ac_ct_STRIP=$STRIP
3919 # Extract the first word of "strip", so it can be a program name with args.
3920 set dummy strip; ac_word=$2
3921 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 printf %s "checking for $ac_word... " >&6; }
3923 if test ${ac_cv_prog_ac_ct_STRIP+y}
3924 then :
3925 printf %s "(cached) " >&6
3926 else case e in #(
3927 e) if test -n "$ac_ct_STRIP"; then
3928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3929 else
3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931 for as_dir in $PATH
3932 do
3933 IFS=$as_save_IFS
3934 case $as_dir in #(((
3935 '') as_dir=./ ;;
3936 */) ;;
3937 *) as_dir=$as_dir/ ;;
3938 esac
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_ac_ct_STRIP="strip"
3942 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3943 break 2
3944 fi
3945 done
3946 done
3947 IFS=$as_save_IFS
3948
3949 fi ;;
3950 esac
3951 fi
3952 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3953 if test -n "$ac_ct_STRIP"; then
3954 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3955 printf '%s\n' "$ac_ct_STRIP" >&6; }
3956 else
3957 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 printf '%s\n' "no" >&6; }
3959 fi
3960
3961 if test "x$ac_ct_STRIP" = x; then
3962 STRIP=":"
3963 else
3964 case $cross_compiling:$ac_tool_warned in
3965 yes:)
3966 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3967 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3968 ac_tool_warned=yes ;;
3969 esac
3970 STRIP=$ac_ct_STRIP
3971 fi
3972 else
3973 STRIP="$ac_cv_prog_STRIP"
3974 fi
3975
3976 fi
3977 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3978
3979
3980 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3981 printf %s "checking for a race-free mkdir -p... " >&6; }
3982 if test -z "$MKDIR_P"; then
3983 if test ${ac_cv_path_mkdir+y}
3984 then :
3985 printf %s "(cached) " >&6
3986 else case e in #(
3987 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3989 do
3990 IFS=$as_save_IFS
3991 case $as_dir in #(((
3992 '') as_dir=./ ;;
3993 */) ;;
3994 *) as_dir=$as_dir/ ;;
3995 esac
3996 for ac_prog in mkdir gmkdir; do
3997 for ac_exec_ext in '' $ac_executable_extensions; do
3998 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3999 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
4000 'mkdir ('*'coreutils) '* | \
4001 *'BusyBox '* | \
4002 'mkdir (fileutils) '4.1*)
4003 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
4004 break 3;;
4005 esac
4006 done
4007 done
4008 done
4009 IFS=$as_save_IFS
4010 ;;
4011 esac
4012 fi
4013
4014 test -d ./--version && rmdir ./--version
4015 if test ${ac_cv_path_mkdir+y}; then
4016 MKDIR_P="$ac_cv_path_mkdir -p"
4017 else
4018 # As a last resort, use plain mkdir -p,
4019 # in the hope it doesn't have the bugs of ancient mkdir.
4020 MKDIR_P='mkdir -p'
4021 fi
4022 fi
4023 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4024 printf '%s\n' "$MKDIR_P" >&6; }
4025
4026 for ac_prog in gawk mawk nawk awk 'busybox awk'
4027 do
4028 # Extract the first word of "$ac_prog", so it can be a program name with args.
4029 set dummy $ac_prog; ac_word=$2
4030 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 printf %s "checking for $ac_word... " >&6; }
4032 if test ${ac_cv_prog_AWK+y}
4033 then :
4034 printf %s "(cached) " >&6
4035 else case e in #(
4036 e) if test -n "$AWK"; then
4037 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4038 else
4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040 for as_dir in $PATH
4041 do
4042 IFS=$as_save_IFS
4043 case $as_dir in #(((
4044 '') as_dir=./ ;;
4045 */) ;;
4046 *) as_dir=$as_dir/ ;;
4047 esac
4048 for ac_exec_ext in '' $ac_executable_extensions; do
4049 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4050 ac_cv_prog_AWK="$ac_prog"
4051 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4052 break 2
4053 fi
4054 done
4055 done
4056 IFS=$as_save_IFS
4057
4058 fi ;;
4059 esac
4060 fi
4061 AWK=$ac_cv_prog_AWK
4062 if test -n "$AWK"; then
4063 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4064 printf '%s\n' "$AWK" >&6; }
4065 else
4066 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 printf '%s\n' "no" >&6; }
4068 fi
4069
4070
4071 test -n "$AWK" && break
4072 done
4073
4074 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4075 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4076 set x ${MAKE-make}
4077 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4078 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4079 then :
4080 printf %s "(cached) " >&6
4081 else case e in #(
4082 e) cat >conftest.make <<\_ACEOF
4083 SHELL = /bin/sh
4084 all:
4085 @printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
4086 _ACEOF
4087 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4088 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4089 *@@@%%%=?*=@@@%%%*)
4090 eval ac_cv_prog_make_${ac_make}_set=yes;;
4091 *)
4092 eval ac_cv_prog_make_${ac_make}_set=no;;
4093 esac
4094 rm -f conftest.make ;;
4095 esac
4096 fi
4097 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4098 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4099 printf '%s\n' "yes" >&6; }
4100 SET_MAKE=
4101 else
4102 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 printf '%s\n' "no" >&6; }
4104 SET_MAKE="MAKE=${MAKE-make}"
4105 fi
4106
4107 rm -rf .tst 2>/dev/null
4108 mkdir .tst 2>/dev/null
4109 if test -d .tst; then
4110 am__leading_dot=.
4111 else
4112 am__leading_dot=_
4113 fi
4114 rmdir .tst 2>/dev/null
4115
4116 AM_DEFAULT_VERBOSITY=1
4117 # Check whether --enable-silent-rules was given.
4118 if test ${enable_silent_rules+y}
4119 then :
4120 enableval=$enable_silent_rules;
4121 fi
4122
4123 am_make=${MAKE-make}
4124 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4125 printf %s "checking whether $am_make supports nested variables... " >&6; }
4126 if test ${am_cv_make_support_nested_variables+y}
4127 then :
4128 printf %s "(cached) " >&6
4129 else case e in #(
4130 e) if printf '%s\n' 'TRUE=$(BAR$(V))
4131 BAR0=false
4132 BAR1=true
4133 V=1
4134 am__doit:
4135 @$(TRUE)
4136 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4137 am_cv_make_support_nested_variables=yes
4138 else
4139 am_cv_make_support_nested_variables=no
4140 fi ;;
4141 esac
4142 fi
4143 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4144 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
4145 AM_BACKSLASH='\'
4146
4147 am__rm_f_notfound=
4148 if (rm -f && rm -fr && rm -rf) 2>/dev/null
4149 then :
4150
4151 else case e in #(
4152 e) am__rm_f_notfound='""' ;;
4153 esac
4154 fi
4155
4156
4157 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
4158 printf %s "checking xargs -n works... " >&6; }
4159 if test ${am_cv_xargs_n_works+y}
4160 then :
4161 printf %s "(cached) " >&6
4162 else case e in #(
4163 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
4164 3"
4165 then :
4166 am_cv_xargs_n_works=yes
4167 else case e in #(
4168 e) am_cv_xargs_n_works=no ;;
4169 esac
4170 fi ;;
4171 esac
4172 fi
4173 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
4174 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
4175 if test "$am_cv_xargs_n_works" = yes
4176 then :
4177 am__xargs_n='xargs -n'
4178 else case e in #(
4179 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
4180 ;;
4181 esac
4182 fi
4183
4184 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4185 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4186 # is not polluted with repeated "-I."
4187 am__isrc=' -I$(srcdir)'
4188 # test to see if srcdir already configured
4189 if test -f $srcdir/config.status; then
4190 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4191 fi
4192 fi
4193
4194 # test whether we have cygpath
4195 if test -z "$CYGPATH_W"; then
4196 if (cygpath --version) >/dev/null 2>/dev/null; then
4197 CYGPATH_W='cygpath -w'
4198 else
4199 CYGPATH_W=echo
4200 fi
4201 fi
4202
4203
4204 # Define the identity of the package.
4205 PACKAGE='gsequencer'
4206 VERSION='9.0.20'
4207
4208
4209 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
4210
4211
4212 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
4213
4214 # Some tools Automake needs.
4215
4216 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4217
4218
4219 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4220
4221
4222 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4223
4224
4225 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4226
4227
4228 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4229
4230 # For better backward compatibility. To be removed once Automake 1.9.x
4231 # dies out for good. For more background, see:
4232 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4233 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4234 mkdir_p='$(MKDIR_P)'
4235
4236 # We need awk for the "check" target (and possibly the TAP driver). The
4237 # system "awk" is bad on some platforms.
4238 # Always define AMTAR for backward compatibility. Yes, it's still used
4239 # in the wild :-( We should find a proper way to deprecate it ...
4240 AMTAR='$${TAR-tar}'
4241
4242
4243 # We'll loop over all known methods to create a tar archive until one works.
4244 _am_tools='gnutar plaintar pax cpio none'
4245
4246 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
4247 # There is notably a 21 bits limit for the UID and the GID. In fact,
4248 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
4249 # and bug#13588).
4250 am_max_uid=2097151 # 2^21 - 1
4251 am_max_gid=$am_max_uid
4252 # The $UID and $GID variables are not portable, so we need to resort
4253 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
4254 # below are definitely unexpected, so allow the users to see them
4255 # (that is, avoid stderr redirection).
4256 am_uid=`id -u || echo unknown`
4257 am_gid=`id -g || echo unknown`
4258 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
4259 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
4260 if test x$am_uid = xunknown; then
4261 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
4262 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
4263 elif test $am_uid -le $am_max_uid; then
4264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4265 printf '%s\n' "yes" >&6; }
4266 else
4267 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268 printf '%s\n' "no" >&6; }
4269 _am_tools=none
4270 fi
4271 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
4272 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
4273 if test x$gm_gid = xunknown; then
4274 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
4275 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
4276 elif test $am_gid -le $am_max_gid; then
4277 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4278 printf '%s\n' "yes" >&6; }
4279 else
4280 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4281 printf '%s\n' "no" >&6; }
4282 _am_tools=none
4283 fi
4284
4285 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4286 printf %s "checking how to create a ustar tar archive... " >&6; }
4287
4288 # Go ahead even if we have the value already cached. We do so because we
4289 # need to set the values for the 'am__tar' and 'am__untar' variables.
4290 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4291
4292 for _am_tool in $_am_tools; do
4293 case $_am_tool in
4294 gnutar)
4295 for _am_tar in tar gnutar gtar; do
4296 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4297 ($_am_tar --version) >&5 2>&5
4298 ac_status=$?
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); } && break
4301 done
4302 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4303 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4304 am__untar="$_am_tar -xf -"
4305 ;;
4306 plaintar)
4307 # Must skip GNU tar: if it does not support --format= it doesn't create
4308 # ustar tarball either.
4309 (tar --version) >/dev/null 2>&1 && continue
4310 am__tar='tar chf - "$$tardir"'
4311 am__tar_='tar chf - "$tardir"'
4312 am__untar='tar xf -'
4313 ;;
4314 pax)
4315 am__tar='pax -L -x ustar -w "$$tardir"'
4316 am__tar_='pax -L -x ustar -w "$tardir"'
4317 am__untar='pax -r'
4318 ;;
4319 cpio)
4320 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4321 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4322 am__untar='cpio -i -H ustar -d'
4323 ;;
4324 none)
4325 am__tar=false
4326 am__tar_=false
4327 am__untar=false
4328 ;;
4329 esac
4330
4331 # If the value was cached, stop now. We just wanted to have am__tar
4332 # and am__untar set.
4333 test -n "${am_cv_prog_tar_ustar}" && break
4334
4335 # tar/untar a dummy directory, and stop if the command works.
4336 rm -rf conftest.dir
4337 mkdir conftest.dir
4338 echo GrepMe > conftest.dir/file
4339 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4340 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4341 ac_status=$?
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }
4344 rm -rf conftest.dir
4345 if test -s conftest.tar; then
4346 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4347 ($am__untar <conftest.tar) >&5 2>&5
4348 ac_status=$?
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }
4351 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
4352 (cat conftest.dir/file) >&5 2>&5
4353 ac_status=$?
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); }
4356 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4357 fi
4358 done
4359 rm -rf conftest.dir
4360
4361 if test ${am_cv_prog_tar_ustar+y}
4362 then :
4363 printf %s "(cached) " >&6
4364 else case e in #(
4365 e) am_cv_prog_tar_ustar=$_am_tool ;;
4366 esac
4367 fi
4368
4369 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4370 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
4371
4372
4373
4374
4375
4376 # Variables for tags utilities; see am/tags.am
4377 if test -z "$CTAGS"; then
4378 CTAGS=ctags
4379 fi
4380
4381 if test -z "$ETAGS"; then
4382 ETAGS=etags
4383 fi
4384
4385 if test -z "$CSCOPE"; then
4386 CSCOPE=cscope
4387 fi
4388
4389
4390
4391
4392
4393
4394
4395
4396 ac_config_headers="$ac_config_headers ags/config.h"
4397
4398 ac_config_headers="$ac_config_headers ags/ags_api_config.h"
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413 DEPDIR="${am__leading_dot}deps"
4414
4415 ac_config_commands="$ac_config_commands depfiles"
4416
4417 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4418 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4419 cat > confinc.mk << 'END'
4420 am__doit:
4421 @echo this is the am__doit target >confinc.out
4422 .PHONY: am__doit
4423 END
4424 am__include="#"
4425 am__quote=
4426 # BSD make does it like this.
4427 echo '.include "confinc.mk" # ignored' > confmf.BSD
4428 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4429 echo 'include confinc.mk # ignored' > confmf.GNU
4430 _am_result=no
4431 for s in GNU BSD; do
4432 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4433 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4434 ac_status=$?
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }
4437 case $?:`cat confinc.out 2>/dev/null` in #(
4438 '0:this is the am__doit target') :
4439 case $s in #(
4440 BSD) :
4441 am__include='.include' am__quote='"' ;; #(
4442 *) :
4443 am__include='include' am__quote='' ;;
4444 esac ;; #(
4445 *) :
4446 ;;
4447 esac
4448 if test "$am__include" != "#"; then
4449 _am_result="yes ($s style)"
4450 break
4451 fi
4452 done
4453 rm -f confinc.* confmf.*
4454 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4455 printf '%s\n' "${_am_result}" >&6; }
4456
4457 # Check whether --enable-dependency-tracking was given.
4458 if test ${enable_dependency_tracking+y}
4459 then :
4460 enableval=$enable_dependency_tracking;
4461 fi
4462
4463 if test "x$enable_dependency_tracking" != xno; then
4464 am_depcomp="$ac_aux_dir/depcomp"
4465 AMDEPBACKSLASH='\'
4466 am__nodep='_no'
4467 fi
4468 if test "x$enable_dependency_tracking" != xno; then
4469 AMDEP_TRUE=
4470 AMDEP_FALSE='#'
4471 else
4472 AMDEP_TRUE='#'
4473 AMDEP_FALSE=
4474 fi
4475
4476
4477 ac_ext=c
4478 ac_cpp='$CPP $CPPFLAGS'
4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4482 if test -n "$ac_tool_prefix"; then
4483 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4484 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4485 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 printf %s "checking for $ac_word... " >&6; }
4487 if test ${ac_cv_prog_CC+y}
4488 then :
4489 printf %s "(cached) " >&6
4490 else case e in #(
4491 e) if test -n "$CC"; then
4492 ac_cv_prog_CC="$CC" # Let the user override the test.
4493 else
4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495 for as_dir in $PATH
4496 do
4497 IFS=$as_save_IFS
4498 case $as_dir in #(((
4499 '') as_dir=./ ;;
4500 */) ;;
4501 *) as_dir=$as_dir/ ;;
4502 esac
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4505 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4506 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4507 break 2
4508 fi
4509 done
4510 done
4511 IFS=$as_save_IFS
4512
4513 fi ;;
4514 esac
4515 fi
4516 CC=$ac_cv_prog_CC
4517 if test -n "$CC"; then
4518 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4519 printf '%s\n' "$CC" >&6; }
4520 else
4521 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 printf '%s\n' "no" >&6; }
4523 fi
4524
4525
4526 fi
4527 if test -z "$ac_cv_prog_CC"; then
4528 ac_ct_CC=$CC
4529 # Extract the first word of "gcc", so it can be a program name with args.
4530 set dummy gcc; ac_word=$2
4531 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 printf %s "checking for $ac_word... " >&6; }
4533 if test ${ac_cv_prog_ac_ct_CC+y}
4534 then :
4535 printf %s "(cached) " >&6
4536 else case e in #(
4537 e) if test -n "$ac_ct_CC"; then
4538 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4539 else
4540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541 for as_dir in $PATH
4542 do
4543 IFS=$as_save_IFS
4544 case $as_dir in #(((
4545 '') as_dir=./ ;;
4546 */) ;;
4547 *) as_dir=$as_dir/ ;;
4548 esac
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4551 ac_cv_prog_ac_ct_CC="gcc"
4552 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4553 break 2
4554 fi
4555 done
4556 done
4557 IFS=$as_save_IFS
4558
4559 fi ;;
4560 esac
4561 fi
4562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4563 if test -n "$ac_ct_CC"; then
4564 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4565 printf '%s\n' "$ac_ct_CC" >&6; }
4566 else
4567 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 printf '%s\n' "no" >&6; }
4569 fi
4570
4571 if test "x$ac_ct_CC" = x; then
4572 CC=""
4573 else
4574 case $cross_compiling:$ac_tool_warned in
4575 yes:)
4576 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4577 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4578 ac_tool_warned=yes ;;
4579 esac
4580 CC=$ac_ct_CC
4581 fi
4582 else
4583 CC="$ac_cv_prog_CC"
4584 fi
4585
4586 if test -z "$CC"; then
4587 if test -n "$ac_tool_prefix"; then
4588 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4589 set dummy ${ac_tool_prefix}cc; ac_word=$2
4590 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 printf %s "checking for $ac_word... " >&6; }
4592 if test ${ac_cv_prog_CC+y}
4593 then :
4594 printf %s "(cached) " >&6
4595 else case e in #(
4596 e) if test -n "$CC"; then
4597 ac_cv_prog_CC="$CC" # Let the user override the test.
4598 else
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 for as_dir in $PATH
4601 do
4602 IFS=$as_save_IFS
4603 case $as_dir in #(((
4604 '') as_dir=./ ;;
4605 */) ;;
4606 *) as_dir=$as_dir/ ;;
4607 esac
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_CC="${ac_tool_prefix}cc"
4611 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4612 break 2
4613 fi
4614 done
4615 done
4616 IFS=$as_save_IFS
4617
4618 fi ;;
4619 esac
4620 fi
4621 CC=$ac_cv_prog_CC
4622 if test -n "$CC"; then
4623 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4624 printf '%s\n' "$CC" >&6; }
4625 else
4626 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 printf '%s\n' "no" >&6; }
4628 fi
4629
4630
4631 fi
4632 fi
4633 if test -z "$CC"; then
4634 # Extract the first word of "cc", so it can be a program name with args.
4635 set dummy cc; ac_word=$2
4636 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 printf %s "checking for $ac_word... " >&6; }
4638 if test ${ac_cv_prog_CC+y}
4639 then :
4640 printf %s "(cached) " >&6
4641 else case e in #(
4642 e) if test -n "$CC"; then
4643 ac_cv_prog_CC="$CC" # Let the user override the test.
4644 else
4645 ac_prog_rejected=no
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $PATH
4648 do
4649 IFS=$as_save_IFS
4650 case $as_dir in #(((
4651 '') as_dir=./ ;;
4652 */) ;;
4653 *) as_dir=$as_dir/ ;;
4654 esac
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4657 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4658 ac_prog_rejected=yes
4659 continue
4660 fi
4661 ac_cv_prog_CC="cc"
4662 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4663 break 2
4664 fi
4665 done
4666 done
4667 IFS=$as_save_IFS
4668
4669 if test $ac_prog_rejected = yes; then
4670 # We found a bogon in the path, so make sure we never use it.
4671 set dummy $ac_cv_prog_CC
4672 shift
4673 if test $# != 0; then
4674 # We chose a different compiler from the bogus one.
4675 # However, it has the same basename, so the bogon will be chosen
4676 # first if we set CC to just the basename; use the full file name.
4677 shift
4678 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4679 fi
4680 fi
4681 fi ;;
4682 esac
4683 fi
4684 CC=$ac_cv_prog_CC
4685 if test -n "$CC"; then
4686 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4687 printf '%s\n' "$CC" >&6; }
4688 else
4689 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 printf '%s\n' "no" >&6; }
4691 fi
4692
4693
4694 fi
4695 if test -z "$CC"; then
4696 if test -n "$ac_tool_prefix"; then
4697 for ac_prog in cl.exe
4698 do
4699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4701 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 printf %s "checking for $ac_word... " >&6; }
4703 if test ${ac_cv_prog_CC+y}
4704 then :
4705 printf %s "(cached) " >&6
4706 else case e in #(
4707 e) if test -n "$CC"; then
4708 ac_cv_prog_CC="$CC" # Let the user override the test.
4709 else
4710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 for as_dir in $PATH
4712 do
4713 IFS=$as_save_IFS
4714 case $as_dir in #(((
4715 '') as_dir=./ ;;
4716 */) ;;
4717 *) as_dir=$as_dir/ ;;
4718 esac
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4721 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4722 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4723 break 2
4724 fi
4725 done
4726 done
4727 IFS=$as_save_IFS
4728
4729 fi ;;
4730 esac
4731 fi
4732 CC=$ac_cv_prog_CC
4733 if test -n "$CC"; then
4734 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4735 printf '%s\n' "$CC" >&6; }
4736 else
4737 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 printf '%s\n' "no" >&6; }
4739 fi
4740
4741
4742 test -n "$CC" && break
4743 done
4744 fi
4745 if test -z "$CC"; then
4746 ac_ct_CC=$CC
4747 for ac_prog in cl.exe
4748 do
4749 # Extract the first word of "$ac_prog", so it can be a program name with args.
4750 set dummy $ac_prog; ac_word=$2
4751 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 printf %s "checking for $ac_word... " >&6; }
4753 if test ${ac_cv_prog_ac_ct_CC+y}
4754 then :
4755 printf %s "(cached) " >&6
4756 else case e in #(
4757 e) if test -n "$ac_ct_CC"; then
4758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4759 else
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH
4762 do
4763 IFS=$as_save_IFS
4764 case $as_dir in #(((
4765 '') as_dir=./ ;;
4766 */) ;;
4767 *) as_dir=$as_dir/ ;;
4768 esac
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_ac_ct_CC="$ac_prog"
4772 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4773 break 2
4774 fi
4775 done
4776 done
4777 IFS=$as_save_IFS
4778
4779 fi ;;
4780 esac
4781 fi
4782 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4783 if test -n "$ac_ct_CC"; then
4784 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4785 printf '%s\n' "$ac_ct_CC" >&6; }
4786 else
4787 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 printf '%s\n' "no" >&6; }
4789 fi
4790
4791
4792 test -n "$ac_ct_CC" && break
4793 done
4794
4795 if test "x$ac_ct_CC" = x; then
4796 CC=""
4797 else
4798 case $cross_compiling:$ac_tool_warned in
4799 yes:)
4800 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4801 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4802 ac_tool_warned=yes ;;
4803 esac
4804 CC=$ac_ct_CC
4805 fi
4806 fi
4807
4808 fi
4809 if test -z "$CC"; then
4810 if test -n "$ac_tool_prefix"; then
4811 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4812 set dummy ${ac_tool_prefix}clang; ac_word=$2
4813 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 printf %s "checking for $ac_word... " >&6; }
4815 if test ${ac_cv_prog_CC+y}
4816 then :
4817 printf %s "(cached) " >&6
4818 else case e in #(
4819 e) if test -n "$CC"; then
4820 ac_cv_prog_CC="$CC" # Let the user override the test.
4821 else
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4824 do
4825 IFS=$as_save_IFS
4826 case $as_dir in #(((
4827 '') as_dir=./ ;;
4828 */) ;;
4829 *) as_dir=$as_dir/ ;;
4830 esac
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_CC="${ac_tool_prefix}clang"
4834 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4835 break 2
4836 fi
4837 done
4838 done
4839 IFS=$as_save_IFS
4840
4841 fi ;;
4842 esac
4843 fi
4844 CC=$ac_cv_prog_CC
4845 if test -n "$CC"; then
4846 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4847 printf '%s\n' "$CC" >&6; }
4848 else
4849 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 printf '%s\n' "no" >&6; }
4851 fi
4852
4853
4854 fi
4855 if test -z "$ac_cv_prog_CC"; then
4856 ac_ct_CC=$CC
4857 # Extract the first word of "clang", so it can be a program name with args.
4858 set dummy clang; ac_word=$2
4859 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 printf %s "checking for $ac_word... " >&6; }
4861 if test ${ac_cv_prog_ac_ct_CC+y}
4862 then :
4863 printf %s "(cached) " >&6
4864 else case e in #(
4865 e) if test -n "$ac_ct_CC"; then
4866 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4867 else
4868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4869 for as_dir in $PATH
4870 do
4871 IFS=$as_save_IFS
4872 case $as_dir in #(((
4873 '') as_dir=./ ;;
4874 */) ;;
4875 *) as_dir=$as_dir/ ;;
4876 esac
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4879 ac_cv_prog_ac_ct_CC="clang"
4880 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4881 break 2
4882 fi
4883 done
4884 done
4885 IFS=$as_save_IFS
4886
4887 fi ;;
4888 esac
4889 fi
4890 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4891 if test -n "$ac_ct_CC"; then
4892 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4893 printf '%s\n' "$ac_ct_CC" >&6; }
4894 else
4895 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 printf '%s\n' "no" >&6; }
4897 fi
4898
4899 if test "x$ac_ct_CC" = x; then
4900 CC=""
4901 else
4902 case $cross_compiling:$ac_tool_warned in
4903 yes:)
4904 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4905 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4906 ac_tool_warned=yes ;;
4907 esac
4908 CC=$ac_ct_CC
4909 fi
4910 else
4911 CC="$ac_cv_prog_CC"
4912 fi
4913
4914 fi
4915
4916
4917 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4918 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
4919 as_fn_error $? "no acceptable C compiler found in \$PATH
4920 See 'config.log' for more details" "$LINENO" 5; }
4921
4922 # Provide some information about the compiler.
4923 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4924 set X $ac_compile
4925 ac_compiler=$2
4926 for ac_option in --version -v -V -qversion -version; do
4927 { { ac_try="$ac_compiler $ac_option >&5"
4928 case "(($ac_try" in
4929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4930 *) ac_try_echo=$ac_try;;
4931 esac
4932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4933 printf '%s\n' "$ac_try_echo"; } >&5
4934 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4935 ac_status=$?
4936 if test -s conftest.err; then
4937 sed '10a\
4938 ... rest of stderr output deleted ...
4939 10q' conftest.err >conftest.er1
4940 cat conftest.er1 >&5
4941 fi
4942 rm -f conftest.er1 conftest.err
4943 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4944 test $ac_status = 0; }
4945 done
4946
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4949
4950 int
4951 main (void)
4952 {
4953
4954 ;
4955 return 0;
4956 }
4957 _ACEOF
4958 ac_clean_files_save=$ac_clean_files
4959 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4960 # Try to create an executable without -o first, disregard a.out.
4961 # It will help us diagnose broken compilers, and finding out an intuition
4962 # of exeext.
4963 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4964 printf %s "checking whether the C compiler works... " >&6; }
4965 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4966
4967 # The possible output files:
4968 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4969
4970 ac_rmfiles=
4971 for ac_file in $ac_files
4972 do
4973 case $ac_file in
4974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4975 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4976 esac
4977 done
4978 rm -f $ac_rmfiles
4979
4980 if { { ac_try="$ac_link_default"
4981 case "(($ac_try" in
4982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983 *) ac_try_echo=$ac_try;;
4984 esac
4985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4986 printf '%s\n' "$ac_try_echo"; } >&5
4987 (eval "$ac_link_default") 2>&5
4988 ac_status=$?
4989 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4990 test $ac_status = 0; }
4991 then :
4992 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4993 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4994 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4995 # so that the user can short-circuit this test for compilers unknown to
4996 # Autoconf.
4997 for ac_file in $ac_files ''
4998 do
4999 test -f "$ac_file" || continue
5000 case $ac_file in
5001 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5002 ;;
5003 [ab].out )
5004 # We found the default executable, but exeext='' is most
5005 # certainly right.
5006 break;;
5007 *.* )
5008 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5009 then :; else
5010 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5011 fi
5012 # We set ac_cv_exeext here because the later test for it is not
5013 # safe: cross compilers may not add the suffix if given an '-o'
5014 # argument, so we may need to know it at that point already.
5015 # Even if this section looks crufty: it has the advantage of
5016 # actually working.
5017 break;;
5018 * )
5019 break;;
5020 esac
5021 done
5022 test "$ac_cv_exeext" = no && ac_cv_exeext=
5023
5024 else case e in #(
5025 e) ac_file='' ;;
5026 esac
5027 fi
5028 if test -z "$ac_file"
5029 then :
5030 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 printf '%s\n' "no" >&6; }
5032 printf '%s\n' "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.$ac_ext >&5
5034
5035 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5036 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
5037 as_fn_error 77 "C compiler cannot create executables
5038 See 'config.log' for more details" "$LINENO" 5; }
5039 else case e in #(
5040 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5041 printf '%s\n' "yes" >&6; } ;;
5042 esac
5043 fi
5044 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5045 printf %s "checking for C compiler default output file name... " >&6; }
5046 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5047 printf '%s\n' "$ac_file" >&6; }
5048 ac_exeext=$ac_cv_exeext
5049
5050 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5051 ac_clean_files=$ac_clean_files_save
5052 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5053 printf %s "checking for suffix of executables... " >&6; }
5054 if { { ac_try="$ac_link"
5055 case "(($ac_try" in
5056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5057 *) ac_try_echo=$ac_try;;
5058 esac
5059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5060 printf '%s\n' "$ac_try_echo"; } >&5
5061 (eval "$ac_link") 2>&5
5062 ac_status=$?
5063 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5064 test $ac_status = 0; }
5065 then :
5066 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
5067 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
5068 # work properly (i.e., refer to 'conftest.exe'), while it won't with
5069 # 'rm'.
5070 for ac_file in conftest.exe conftest conftest.*; do
5071 test -f "$ac_file" || continue
5072 case $ac_file in
5073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5074 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5075 break;;
5076 * ) break;;
5077 esac
5078 done
5079 else case e in #(
5080 e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5081 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
5082 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5083 See 'config.log' for more details" "$LINENO" 5; } ;;
5084 esac
5085 fi
5086 rm -f conftest conftest$ac_cv_exeext
5087 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5088 printf '%s\n' "$ac_cv_exeext" >&6; }
5089
5090 rm -f conftest.$ac_ext
5091 EXEEXT=$ac_cv_exeext
5092 ac_exeext=$EXEEXT
5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5095 #include <stdio.h>
5096 int
5097 main (void)
5098 {
5099 FILE *f = fopen ("conftest.out", "w");
5100 if (!f)
5101 return 1;
5102 return ferror (f) || fclose (f) != 0;
5103
5104 ;
5105 return 0;
5106 }
5107 _ACEOF
5108 ac_clean_files="$ac_clean_files conftest.out"
5109 # Check that the compiler produces executables we can run. If not, either
5110 # the compiler is broken, or we cross compile.
5111 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5112 printf %s "checking whether we are cross compiling... " >&6; }
5113 if test "$cross_compiling" != yes; then
5114 { { ac_try="$ac_link"
5115 case "(($ac_try" in
5116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5117 *) ac_try_echo=$ac_try;;
5118 esac
5119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5120 printf '%s\n' "$ac_try_echo"; } >&5
5121 (eval "$ac_link") 2>&5
5122 ac_status=$?
5123 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5124 test $ac_status = 0; }
5125 if { ac_try='./conftest$ac_cv_exeext'
5126 { { case "(($ac_try" in
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5129 esac
5130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5131 printf '%s\n' "$ac_try_echo"; } >&5
5132 (eval "$ac_try") 2>&5
5133 ac_status=$?
5134 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5135 test $ac_status = 0; }; }; then
5136 cross_compiling=no
5137 else
5138 if test "$cross_compiling" = maybe; then
5139 cross_compiling=yes
5140 else
5141 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5142 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
5143 as_fn_error 77 "cannot run C compiled programs.
5144 If you meant to cross compile, use '--host'.
5145 See 'config.log' for more details" "$LINENO" 5; }
5146 fi
5147 fi
5148 fi
5149 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5150 printf '%s\n' "$cross_compiling" >&6; }
5151
5152 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
5153 conftest.o conftest.obj conftest.out
5154 ac_clean_files=$ac_clean_files_save
5155 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5156 printf %s "checking for suffix of object files... " >&6; }
5157 if test ${ac_cv_objext+y}
5158 then :
5159 printf %s "(cached) " >&6
5160 else case e in #(
5161 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5162 /* end confdefs.h. */
5163
5164 int
5165 main (void)
5166 {
5167
5168 ;
5169 return 0;
5170 }
5171 _ACEOF
5172 rm -f conftest.o conftest.obj
5173 if { { ac_try="$ac_compile"
5174 case "(($ac_try" in
5175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5176 *) ac_try_echo=$ac_try;;
5177 esac
5178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5179 printf '%s\n' "$ac_try_echo"; } >&5
5180 (eval "$ac_compile") 2>&5
5181 ac_status=$?
5182 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5183 test $ac_status = 0; }
5184 then :
5185 for ac_file in conftest.o conftest.obj conftest.*; do
5186 test -f "$ac_file" || continue;
5187 case $ac_file in
5188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5190 break;;
5191 esac
5192 done
5193 else case e in #(
5194 e) printf '%s\n' "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5196
5197 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5198 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
5199 as_fn_error $? "cannot compute suffix of object files: cannot compile
5200 See 'config.log' for more details" "$LINENO" 5; } ;;
5201 esac
5202 fi
5203 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
5204 esac
5205 fi
5206 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5207 printf '%s\n' "$ac_cv_objext" >&6; }
5208 OBJEXT=$ac_cv_objext
5209 ac_objext=$OBJEXT
5210 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5211 printf %s "checking whether the compiler supports GNU C... " >&6; }
5212 if test ${ac_cv_c_compiler_gnu+y}
5213 then :
5214 printf %s "(cached) " >&6
5215 else case e in #(
5216 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5217 /* end confdefs.h. */
5218
5219 int
5220 main (void)
5221 {
5222 #ifndef __GNUC__
5223 choke me
5224 #endif
5225
5226 ;
5227 return 0;
5228 }
5229 _ACEOF
5230 if ac_fn_c_try_compile "$LINENO"
5231 then :
5232 ac_compiler_gnu=yes
5233 else case e in #(
5234 e) ac_compiler_gnu=no ;;
5235 esac
5236 fi
5237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5238 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5239 ;;
5240 esac
5241 fi
5242 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5243 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
5244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5245
5246 if test $ac_compiler_gnu = yes; then
5247 GCC=yes
5248 else
5249 GCC=
5250 fi
5251 ac_test_CFLAGS=${CFLAGS+y}
5252 ac_save_CFLAGS=$CFLAGS
5253 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5254 printf %s "checking whether $CC accepts -g... " >&6; }
5255 if test ${ac_cv_prog_cc_g+y}
5256 then :
5257 printf %s "(cached) " >&6
5258 else case e in #(
5259 e) ac_save_c_werror_flag=$ac_c_werror_flag
5260 ac_c_werror_flag=yes
5261 ac_cv_prog_cc_g=no
5262 CFLAGS="-g"
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5265
5266 int
5267 main (void)
5268 {
5269
5270 ;
5271 return 0;
5272 }
5273 _ACEOF
5274 if ac_fn_c_try_compile "$LINENO"
5275 then :
5276 ac_cv_prog_cc_g=yes
5277 else case e in #(
5278 e) CFLAGS=""
5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5281
5282 int
5283 main (void)
5284 {
5285
5286 ;
5287 return 0;
5288 }
5289 _ACEOF
5290 if ac_fn_c_try_compile "$LINENO"
5291 then :
5292
5293 else case e in #(
5294 e) ac_c_werror_flag=$ac_save_c_werror_flag
5295 CFLAGS="-g"
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5298
5299 int
5300 main (void)
5301 {
5302
5303 ;
5304 return 0;
5305 }
5306 _ACEOF
5307 if ac_fn_c_try_compile "$LINENO"
5308 then :
5309 ac_cv_prog_cc_g=yes
5310 fi
5311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5312 esac
5313 fi
5314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5315 esac
5316 fi
5317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5318 ac_c_werror_flag=$ac_save_c_werror_flag ;;
5319 esac
5320 fi
5321 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5322 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
5323 if test $ac_test_CFLAGS; then
5324 CFLAGS=$ac_save_CFLAGS
5325 elif test $ac_cv_prog_cc_g = yes; then
5326 if test "$GCC" = yes; then
5327 CFLAGS="-g -O2"
5328 else
5329 CFLAGS="-g"
5330 fi
5331 else
5332 if test "$GCC" = yes; then
5333 CFLAGS="-O2"
5334 else
5335 CFLAGS=
5336 fi
5337 fi
5338 ac_prog_cc_stdc=no
5339 if test x$ac_prog_cc_stdc = xno
5340 then :
5341 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
5342 printf %s "checking for $CC option to enable C23 features... " >&6; }
5343 if test ${ac_cv_prog_cc_c23+y}
5344 then :
5345 printf %s "(cached) " >&6
5346 else case e in #(
5347 e) ac_cv_prog_cc_c23=no
5348 ac_save_CC=$CC
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5351 $ac_c_conftest_c23_program
5352 _ACEOF
5353 for ac_arg in '' -std=gnu23
5354 do
5355 CC="$ac_save_CC $ac_arg"
5356 if ac_fn_c_try_compile "$LINENO"
5357 then :
5358 ac_cv_prog_cc_c23=$ac_arg
5359 fi
5360 rm -f core conftest.err conftest.$ac_objext conftest.beam
5361 test "x$ac_cv_prog_cc_c23" != "xno" && break
5362 done
5363 rm -f conftest.$ac_ext
5364 CC=$ac_save_CC ;;
5365 esac
5366 fi
5367
5368 if test "x$ac_cv_prog_cc_c23" = xno
5369 then :
5370 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5371 printf '%s\n' "unsupported" >&6; }
5372 else case e in #(
5373 e) if test "x$ac_cv_prog_cc_c23" = x
5374 then :
5375 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5376 printf '%s\n' "none needed" >&6; }
5377 else case e in #(
5378 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
5379 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
5380 CC="$CC $ac_cv_prog_cc_c23" ;;
5381 esac
5382 fi
5383 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
5384 ac_prog_cc_stdc=c23 ;;
5385 esac
5386 fi
5387 fi
5388 if test x$ac_prog_cc_stdc = xno
5389 then :
5390 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5391 printf %s "checking for $CC option to enable C11 features... " >&6; }
5392 if test ${ac_cv_prog_cc_c11+y}
5393 then :
5394 printf %s "(cached) " >&6
5395 else case e in #(
5396 e) ac_cv_prog_cc_c11=no
5397 ac_save_CC=$CC
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5400 $ac_c_conftest_c11_program
5401 _ACEOF
5402 for ac_arg in '' -std=gnu11 -std:c11
5403 do
5404 CC="$ac_save_CC $ac_arg"
5405 if ac_fn_c_try_compile "$LINENO"
5406 then :
5407 ac_cv_prog_cc_c11=$ac_arg
5408 fi
5409 rm -f core conftest.err conftest.$ac_objext conftest.beam
5410 test "x$ac_cv_prog_cc_c11" != "xno" && break
5411 done
5412 rm -f conftest.$ac_ext
5413 CC=$ac_save_CC ;;
5414 esac
5415 fi
5416
5417 if test "x$ac_cv_prog_cc_c11" = xno
5418 then :
5419 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5420 printf '%s\n' "unsupported" >&6; }
5421 else case e in #(
5422 e) if test "x$ac_cv_prog_cc_c11" = x
5423 then :
5424 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5425 printf '%s\n' "none needed" >&6; }
5426 else case e in #(
5427 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5428 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
5429 CC="$CC $ac_cv_prog_cc_c11" ;;
5430 esac
5431 fi
5432 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5433 ac_prog_cc_stdc=c11 ;;
5434 esac
5435 fi
5436 fi
5437 if test x$ac_prog_cc_stdc = xno
5438 then :
5439 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5440 printf %s "checking for $CC option to enable C99 features... " >&6; }
5441 if test ${ac_cv_prog_cc_c99+y}
5442 then :
5443 printf %s "(cached) " >&6
5444 else case e in #(
5445 e) ac_cv_prog_cc_c99=no
5446 ac_save_CC=$CC
5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5449 $ac_c_conftest_c99_program
5450 _ACEOF
5451 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5452 do
5453 CC="$ac_save_CC $ac_arg"
5454 if ac_fn_c_try_compile "$LINENO"
5455 then :
5456 ac_cv_prog_cc_c99=$ac_arg
5457 fi
5458 rm -f core conftest.err conftest.$ac_objext conftest.beam
5459 test "x$ac_cv_prog_cc_c99" != "xno" && break
5460 done
5461 rm -f conftest.$ac_ext
5462 CC=$ac_save_CC ;;
5463 esac
5464 fi
5465
5466 if test "x$ac_cv_prog_cc_c99" = xno
5467 then :
5468 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5469 printf '%s\n' "unsupported" >&6; }
5470 else case e in #(
5471 e) if test "x$ac_cv_prog_cc_c99" = x
5472 then :
5473 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5474 printf '%s\n' "none needed" >&6; }
5475 else case e in #(
5476 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5477 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
5478 CC="$CC $ac_cv_prog_cc_c99" ;;
5479 esac
5480 fi
5481 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5482 ac_prog_cc_stdc=c99 ;;
5483 esac
5484 fi
5485 fi
5486 if test x$ac_prog_cc_stdc = xno
5487 then :
5488 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5489 printf %s "checking for $CC option to enable C89 features... " >&6; }
5490 if test ${ac_cv_prog_cc_c89+y}
5491 then :
5492 printf %s "(cached) " >&6
5493 else case e in #(
5494 e) ac_cv_prog_cc_c89=no
5495 ac_save_CC=$CC
5496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5498 $ac_c_conftest_c89_program
5499 _ACEOF
5500 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5501 do
5502 CC="$ac_save_CC $ac_arg"
5503 if ac_fn_c_try_compile "$LINENO"
5504 then :
5505 ac_cv_prog_cc_c89=$ac_arg
5506 fi
5507 rm -f core conftest.err conftest.$ac_objext conftest.beam
5508 test "x$ac_cv_prog_cc_c89" != "xno" && break
5509 done
5510 rm -f conftest.$ac_ext
5511 CC=$ac_save_CC ;;
5512 esac
5513 fi
5514
5515 if test "x$ac_cv_prog_cc_c89" = xno
5516 then :
5517 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5518 printf '%s\n' "unsupported" >&6; }
5519 else case e in #(
5520 e) if test "x$ac_cv_prog_cc_c89" = x
5521 then :
5522 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5523 printf '%s\n' "none needed" >&6; }
5524 else case e in #(
5525 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5526 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
5527 CC="$CC $ac_cv_prog_cc_c89" ;;
5528 esac
5529 fi
5530 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5531 ac_prog_cc_stdc=c89 ;;
5532 esac
5533 fi
5534 fi
5535
5536 ac_ext=c
5537 ac_cpp='$CPP $CPPFLAGS'
5538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5541
5542
5543 ac_ext=c
5544 ac_cpp='$CPP $CPPFLAGS'
5545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5548 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5549 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5550 if test ${am_cv_prog_cc_c_o+y}
5551 then :
5552 printf %s "(cached) " >&6
5553 else case e in #(
5554 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5556
5557 int
5558 main (void)
5559 {
5560
5561 ;
5562 return 0;
5563 }
5564 _ACEOF
5565 # Make sure it works both with $CC and with simple cc.
5566 # Following AC_PROG_CC_C_O, we do the test twice because some
5567 # compilers refuse to overwrite an existing .o file with -o,
5568 # though they will create one.
5569 am_cv_prog_cc_c_o=yes
5570 for am_i in 1 2; do
5571 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5572 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5573 ac_status=$?
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); } \
5576 && test -f conftest2.$ac_objext; then
5577 : OK
5578 else
5579 am_cv_prog_cc_c_o=no
5580 break
5581 fi
5582 done
5583 # aligned with autoconf, so not including core; see bug#72225.
5584 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
5585 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
5586 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
5587 unset am_i ;;
5588 esac
5589 fi
5590 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5591 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
5592 if test "$am_cv_prog_cc_c_o" != yes; then
5593 # Losing compiler, so override with the script.
5594 # FIXME: It is wrong to rewrite CC.
5595 # But if we don't then we get into trouble of one sort or another.
5596 # A longer-term fix would be to have automake use am__CC in this case,
5597 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5598 CC="$am_aux_dir/compile $CC"
5599 fi
5600 ac_ext=c
5601 ac_cpp='$CPP $CPPFLAGS'
5602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5605
5606
5607 depcc="$CC" am_compiler_list=
5608
5609 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5610 printf %s "checking dependency style of $depcc... " >&6; }
5611 if test ${am_cv_CC_dependencies_compiler_type+y}
5612 then :
5613 printf %s "(cached) " >&6
5614 else case e in #(
5615 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5616 # We make a subdir and do the tests there. Otherwise we can end up
5617 # making bogus files that we don't know about and never remove. For
5618 # instance it was reported that on HP-UX the gcc test will end up
5619 # making a dummy file named 'D' -- because '-MD' means "put the output
5620 # in D".
5621 rm -rf conftest.dir
5622 mkdir conftest.dir
5623 # Copy depcomp to subdir because otherwise we won't find it if we're
5624 # using a relative directory.
5625 cp "$am_depcomp" conftest.dir
5626 cd conftest.dir
5627 # We will build objects and dependencies in a subdirectory because
5628 # it helps to detect inapplicable dependency modes. For instance
5629 # both Tru64's cc and ICC support -MD to output dependencies as a
5630 # side effect of compilation, but ICC will put the dependencies in
5631 # the current directory while Tru64 will put them in the object
5632 # directory.
5633 mkdir sub
5634
5635 am_cv_CC_dependencies_compiler_type=none
5636 if test "$am_compiler_list" = ""; then
5637 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5638 fi
5639 am__universal=false
5640 case " $depcc " in #(
5641 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5642 esac
5643
5644 for depmode in $am_compiler_list; do
5645 # Setup a source with many dependencies, because some compilers
5646 # like to wrap large dependency lists on column 80 (with \), and
5647 # we should not choose a depcomp mode which is confused by this.
5648 #
5649 # We need to recreate these files for each test, as the compiler may
5650 # overwrite some of them when testing with obscure command lines.
5651 # This happens at least with the AIX C compiler.
5652 : > sub/conftest.c
5653 for i in 1 2 3 4 5 6; do
5654 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5655 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5656 # Solaris 10 /bin/sh.
5657 echo '/* dummy */' > sub/conftst$i.h
5658 done
5659 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5660
5661 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5662 # mode. It turns out that the SunPro C++ compiler does not properly
5663 # handle '-M -o', and we need to detect this. Also, some Intel
5664 # versions had trouble with output in subdirs.
5665 am__obj=sub/conftest.${OBJEXT-o}
5666 am__minus_obj="-o $am__obj"
5667 case $depmode in
5668 gcc)
5669 # This depmode causes a compiler race in universal mode.
5670 test "$am__universal" = false || continue
5671 ;;
5672 nosideeffect)
5673 # After this tag, mechanisms are not by side-effect, so they'll
5674 # only be used when explicitly requested.
5675 if test "x$enable_dependency_tracking" = xyes; then
5676 continue
5677 else
5678 break
5679 fi
5680 ;;
5681 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5682 # This compiler won't grok '-c -o', but also, the minuso test has
5683 # not run yet. These depmodes are late enough in the game, and
5684 # so weak that their functioning should not be impacted.
5685 am__obj=conftest.${OBJEXT-o}
5686 am__minus_obj=
5687 ;;
5688 none) break ;;
5689 esac
5690 if depmode=$depmode \
5691 source=sub/conftest.c object=$am__obj \
5692 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5693 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5694 >/dev/null 2>conftest.err &&
5695 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5696 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5697 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5698 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5699 # icc doesn't choke on unknown options, it will just issue warnings
5700 # or remarks (even with -Werror). So we grep stderr for any message
5701 # that says an option was ignored or not supported.
5702 # When given -MP, icc 7.0 and 7.1 complain thus:
5703 # icc: Command line warning: ignoring option '-M'; no argument required
5704 # The diagnosis changed in icc 8.0:
5705 # icc: Command line remark: option '-MP' not supported
5706 if (grep 'ignoring option' conftest.err ||
5707 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5708 am_cv_CC_dependencies_compiler_type=$depmode
5709 break
5710 fi
5711 fi
5712 done
5713
5714 cd ..
5715 rm -rf conftest.dir
5716 else
5717 am_cv_CC_dependencies_compiler_type=none
5718 fi
5719 ;;
5720 esac
5721 fi
5722 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5723 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
5724 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5725
5726 if
5727 test "x$enable_dependency_tracking" != xno \
5728 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5729 am__fastdepCC_TRUE=
5730 am__fastdepCC_FALSE='#'
5731 else
5732 am__fastdepCC_TRUE='#'
5733 am__fastdepCC_FALSE=
5734 fi
5735
5736
5737
5738 ac_header= ac_cache=
5739 for ac_item in $ac_header_c_list
5740 do
5741 if test $ac_cache; then
5742 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
5743 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5744 printf '%s\n' "#define $ac_item 1" >> confdefs.h
5745 fi
5746 ac_header= ac_cache=
5747 elif test $ac_header; then
5748 ac_cache=$ac_item
5749 else
5750 ac_header=$ac_item
5751 fi
5752 done
5753
5754
5755
5756
5757
5758
5759
5760
5761 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
5762 then :
5763
5764 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
5765
5766 fi
5767
5768
5769
5770
5771
5772
5773 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5774 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5775 if test ${ac_cv_safe_to_define___extensions__+y}
5776 then :
5777 printf %s "(cached) " >&6
5778 else case e in #(
5779 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5780 /* end confdefs.h. */
5781
5782 # define __EXTENSIONS__ 1
5783 $ac_includes_default
5784 int
5785 main (void)
5786 {
5787
5788 ;
5789 return 0;
5790 }
5791 _ACEOF
5792 if ac_fn_c_try_compile "$LINENO"
5793 then :
5794 ac_cv_safe_to_define___extensions__=yes
5795 else case e in #(
5796 e) ac_cv_safe_to_define___extensions__=no ;;
5797 esac
5798 fi
5799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5800 esac
5801 fi
5802 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5803 printf '%s\n' "$ac_cv_safe_to_define___extensions__" >&6; }
5804
5805 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5806 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5807 if test ${ac_cv_should_define__xopen_source+y}
5808 then :
5809 printf %s "(cached) " >&6
5810 else case e in #(
5811 e) ac_cv_should_define__xopen_source=no
5812 if test $ac_cv_header_wchar_h = yes
5813 then :
5814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5815 /* end confdefs.h. */
5816
5817 #include <wchar.h>
5818 mbstate_t x;
5819 int
5820 main (void)
5821 {
5822
5823 ;
5824 return 0;
5825 }
5826 _ACEOF
5827 if ac_fn_c_try_compile "$LINENO"
5828 then :
5829
5830 else case e in #(
5831 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5832 /* end confdefs.h. */
5833
5834 #define _XOPEN_SOURCE 500
5835 #include <wchar.h>
5836 mbstate_t x;
5837 int
5838 main (void)
5839 {
5840
5841 ;
5842 return 0;
5843 }
5844 _ACEOF
5845 if ac_fn_c_try_compile "$LINENO"
5846 then :
5847 ac_cv_should_define__xopen_source=yes
5848 fi
5849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5850 esac
5851 fi
5852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5853 fi ;;
5854 esac
5855 fi
5856 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5857 printf '%s\n' "$ac_cv_should_define__xopen_source" >&6; }
5858
5859 printf '%s\n' "#define _ALL_SOURCE 1" >>confdefs.h
5860
5861 printf '%s\n' "#define _COSMO_SOURCE 1" >>confdefs.h
5862
5863 printf '%s\n' "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5864
5865 printf '%s\n' "#define _GNU_SOURCE 1" >>confdefs.h
5866
5867 printf '%s\n' "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5868
5869 printf '%s\n' "#define _NETBSD_SOURCE 1" >>confdefs.h
5870
5871 printf '%s\n' "#define _OPENBSD_SOURCE 1" >>confdefs.h
5872
5873 printf '%s\n' "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5874
5875 printf '%s\n' "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5876
5877 printf '%s\n' "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5878
5879 printf '%s\n' "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5880
5881 printf '%s\n' "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
5882
5883 printf '%s\n' "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5884
5885 printf '%s\n' "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5886
5887 printf '%s\n' "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5888
5889 printf '%s\n' "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5890
5891 printf '%s\n' "#define _TANDEM_SOURCE 1" >>confdefs.h
5892
5893 if test $ac_cv_header_minix_config_h = yes
5894 then :
5895 MINIX=yes
5896 printf '%s\n' "#define _MINIX 1" >>confdefs.h
5897
5898 printf '%s\n' "#define _POSIX_SOURCE 1" >>confdefs.h
5899
5900 printf '%s\n' "#define _POSIX_1_SOURCE 2" >>confdefs.h
5901
5902 else case e in #(
5903 e) MINIX= ;;
5904 esac
5905 fi
5906 if test $ac_cv_safe_to_define___extensions__ = yes
5907 then :
5908 printf '%s\n' "#define __EXTENSIONS__ 1" >>confdefs.h
5909
5910 fi
5911 if test $ac_cv_should_define__xopen_source = yes
5912 then :
5913 printf '%s\n' "#define _XOPEN_SOURCE 500" >>confdefs.h
5914
5915 fi
5916
5917
5918 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5919 printf %s "checking for a sed that does not truncate output... " >&6; }
5920 if test ${ac_cv_path_SED+y}
5921 then :
5922 printf %s "(cached) " >&6
5923 else case e in #(
5924 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5925 for ac_i in 1 2 3 4 5 6 7; do
5926 ac_script="$ac_script$as_nl$ac_script"
5927 done
5928 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5929 { ac_script=; unset ac_script;}
5930 if test -z "$SED"; then
5931 ac_path_SED_found=false
5932 # Loop through the user's path and test for each of PROGNAME-LIST
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5935 do
5936 IFS=$as_save_IFS
5937 case $as_dir in #(((
5938 '') as_dir=./ ;;
5939 */) ;;
5940 *) as_dir=$as_dir/ ;;
5941 esac
5942 for ac_prog in sed gsed
5943 do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5946 as_fn_executable_p "$ac_path_SED" || continue
5947 # Check for GNU ac_path_SED and select it if it is found.
5948 # Check for GNU $ac_path_SED
5949 case `"$ac_path_SED" --version 2>&1` in #(
5950 *GNU*)
5951 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5952 #(
5953 *)
5954 ac_count=0
5955 printf %s 0123456789 >"conftest.in"
5956 while :
5957 do
5958 cat "conftest.in" "conftest.in" >"conftest.tmp"
5959 mv "conftest.tmp" "conftest.in"
5960 cp "conftest.in" "conftest.nl"
5961 printf '%s\n' '' >> "conftest.nl"
5962 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5963 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5964 as_fn_arith $ac_count + 1 && ac_count=$as_val
5965 if test $ac_count -gt ${ac_path_SED_max-0}; then
5966 # Best one so far, save it but keep looking for a better one
5967 ac_cv_path_SED="$ac_path_SED"
5968 ac_path_SED_max=$ac_count
5969 fi
5970 # 10*(2^10) chars as input seems more than enough
5971 test $ac_count -gt 10 && break
5972 done
5973 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5974 esac
5975
5976 $ac_path_SED_found && break 3
5977 done
5978 done
5979 done
5980 IFS=$as_save_IFS
5981 if test -z "$ac_cv_path_SED"; then
5982 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5983 fi
5984 else
5985 ac_cv_path_SED=$SED
5986 fi
5987 ;;
5988 esac
5989 fi
5990 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5991 printf '%s\n' "$ac_cv_path_SED" >&6; }
5992 SED="$ac_cv_path_SED"
5993 rm -f conftest.sed
5994
5995
5996 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5997 printf %s "checking whether NLS is requested... " >&6; }
5998 # Check whether --enable-nls was given.
5999 if test ${enable_nls+y}
6000 then :
6001 enableval=$enable_nls; USE_NLS=$enableval
6002 else case e in #(
6003 e) USE_NLS=yes ;;
6004 esac
6005 fi
6006
6007 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6008 printf '%s\n' "$USE_NLS" >&6; }
6009
6010
6011
6012
6013 GETTEXT_MACRO_VERSION=0.19
6014
6015
6016
6017
6018 # Prepare PATH_SEPARATOR.
6019 # The user is always right.
6020 if test "${PATH_SEPARATOR+set}" != set; then
6021 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6022 # contains only /bin. Note that ksh looks also at the FPATH variable,
6023 # so we have to set that as well for the test.
6024 PATH_SEPARATOR=:
6025 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6026 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6027 || PATH_SEPARATOR=';'
6028 }
6029 fi
6030
6031 # Find out how to test for executable files. Don't use a zero-byte file,
6032 # as systems may use methods other than mode bits to determine executability.
6033 cat >conf$$.file <<_ASEOF
6034 #! /bin/sh
6035 exit 0
6036 _ASEOF
6037 chmod +x conf$$.file
6038 if test -x conf$$.file >/dev/null 2>&1; then
6039 ac_executable_p="test -x"
6040 else
6041 ac_executable_p="test -f"
6042 fi
6043 rm -f conf$$.file
6044
6045 # Extract the first word of "msgfmt", so it can be a program name with args.
6046 set dummy msgfmt; ac_word=$2
6047 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 printf %s "checking for $ac_word... " >&6; }
6049 if test ${ac_cv_path_MSGFMT+y}
6050 then :
6051 printf %s "(cached) " >&6
6052 else case e in #(
6053 e) case "$MSGFMT" in
6054 [\\/]* | ?:[\\/]*)
6055 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6056 ;;
6057 *)
6058 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6059 for ac_dir in $PATH; do
6060 IFS="$ac_save_IFS"
6061 test -z "$ac_dir" && ac_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6064 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6065 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
6066 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6067 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
6068 break 2
6069 fi
6070 fi
6071 done
6072 done
6073 IFS="$ac_save_IFS"
6074 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
6075 ;;
6076 esac ;;
6077 esac
6078 fi
6079 MSGFMT="$ac_cv_path_MSGFMT"
6080 if test "$MSGFMT" != ":"; then
6081 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6082 printf '%s\n' "$MSGFMT" >&6; }
6083 else
6084 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 printf '%s\n' "no" >&6; }
6086 fi
6087
6088 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6089 set dummy gmsgfmt; ac_word=$2
6090 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 printf %s "checking for $ac_word... " >&6; }
6092 if test ${ac_cv_path_GMSGFMT+y}
6093 then :
6094 printf %s "(cached) " >&6
6095 else case e in #(
6096 e) case $GMSGFMT in
6097 [\\/]* | ?:[\\/]*)
6098 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6099 ;;
6100 *)
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6103 do
6104 IFS=$as_save_IFS
6105 case $as_dir in #(((
6106 '') as_dir=./ ;;
6107 */) ;;
6108 *) as_dir=$as_dir/ ;;
6109 esac
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6112 ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
6113 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6114 break 2
6115 fi
6116 done
6117 done
6118 IFS=$as_save_IFS
6119
6120 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6121 ;;
6122 esac ;;
6123 esac
6124 fi
6125 GMSGFMT=$ac_cv_path_GMSGFMT
6126 if test -n "$GMSGFMT"; then
6127 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6128 printf '%s\n' "$GMSGFMT" >&6; }
6129 else
6130 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 printf '%s\n' "no" >&6; }
6132 fi
6133
6134
6135
6136 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6137 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
6138 *) MSGFMT_015=$MSGFMT ;;
6139 esac
6140
6141 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6142 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
6143 *) GMSGFMT_015=$GMSGFMT ;;
6144 esac
6145
6146
6147
6148 # Prepare PATH_SEPARATOR.
6149 # The user is always right.
6150 if test "${PATH_SEPARATOR+set}" != set; then
6151 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6152 # contains only /bin. Note that ksh looks also at the FPATH variable,
6153 # so we have to set that as well for the test.
6154 PATH_SEPARATOR=:
6155 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6156 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6157 || PATH_SEPARATOR=';'
6158 }
6159 fi
6160
6161 # Find out how to test for executable files. Don't use a zero-byte file,
6162 # as systems may use methods other than mode bits to determine executability.
6163 cat >conf$$.file <<_ASEOF
6164 #! /bin/sh
6165 exit 0
6166 _ASEOF
6167 chmod +x conf$$.file
6168 if test -x conf$$.file >/dev/null 2>&1; then
6169 ac_executable_p="test -x"
6170 else
6171 ac_executable_p="test -f"
6172 fi
6173 rm -f conf$$.file
6174
6175 # Extract the first word of "xgettext", so it can be a program name with args.
6176 set dummy xgettext; ac_word=$2
6177 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178 printf %s "checking for $ac_word... " >&6; }
6179 if test ${ac_cv_path_XGETTEXT+y}
6180 then :
6181 printf %s "(cached) " >&6
6182 else case e in #(
6183 e) case "$XGETTEXT" in
6184 [\\/]* | ?:[\\/]*)
6185 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6186 ;;
6187 *)
6188 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6189 for ac_dir in $PATH; do
6190 IFS="$ac_save_IFS"
6191 test -z "$ac_dir" && ac_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6194 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6195 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
6196 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6197 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
6198 break 2
6199 fi
6200 fi
6201 done
6202 done
6203 IFS="$ac_save_IFS"
6204 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6205 ;;
6206 esac ;;
6207 esac
6208 fi
6209 XGETTEXT="$ac_cv_path_XGETTEXT"
6210 if test "$XGETTEXT" != ":"; then
6211 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6212 printf '%s\n' "$XGETTEXT" >&6; }
6213 else
6214 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 printf '%s\n' "no" >&6; }
6216 fi
6217
6218 rm -f messages.po
6219
6220 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6221 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
6222 *) XGETTEXT_015=$XGETTEXT ;;
6223 esac
6224
6225
6226
6227 # Prepare PATH_SEPARATOR.
6228 # The user is always right.
6229 if test "${PATH_SEPARATOR+set}" != set; then
6230 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6231 # contains only /bin. Note that ksh looks also at the FPATH variable,
6232 # so we have to set that as well for the test.
6233 PATH_SEPARATOR=:
6234 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6235 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6236 || PATH_SEPARATOR=';'
6237 }
6238 fi
6239
6240 # Find out how to test for executable files. Don't use a zero-byte file,
6241 # as systems may use methods other than mode bits to determine executability.
6242 cat >conf$$.file <<_ASEOF
6243 #! /bin/sh
6244 exit 0
6245 _ASEOF
6246 chmod +x conf$$.file
6247 if test -x conf$$.file >/dev/null 2>&1; then
6248 ac_executable_p="test -x"
6249 else
6250 ac_executable_p="test -f"
6251 fi
6252 rm -f conf$$.file
6253
6254 # Extract the first word of "msgmerge", so it can be a program name with args.
6255 set dummy msgmerge; ac_word=$2
6256 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 printf %s "checking for $ac_word... " >&6; }
6258 if test ${ac_cv_path_MSGMERGE+y}
6259 then :
6260 printf %s "(cached) " >&6
6261 else case e in #(
6262 e) case "$MSGMERGE" in
6263 [\\/]* | ?:[\\/]*)
6264 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6265 ;;
6266 *)
6267 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6268 for ac_dir in $PATH; do
6269 IFS="$ac_save_IFS"
6270 test -z "$ac_dir" && ac_dir=.
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6273 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6274 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
6275 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
6276 break 2
6277 fi
6278 fi
6279 done
6280 done
6281 IFS="$ac_save_IFS"
6282 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
6283 ;;
6284 esac ;;
6285 esac
6286 fi
6287 MSGMERGE="$ac_cv_path_MSGMERGE"
6288 if test "$MSGMERGE" != ":"; then
6289 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6290 printf '%s\n' "$MSGMERGE" >&6; }
6291 else
6292 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 printf '%s\n' "no" >&6; }
6294 fi
6295
6296
6297 test -n "$localedir" || localedir='${datadir}/locale'
6298
6299
6300 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
6301
6302
6303 ac_config_commands="$ac_config_commands po-directories"
6304
6305
6306
6307 if test "X$prefix" = "XNONE"; then
6308 acl_final_prefix="$ac_default_prefix"
6309 else
6310 acl_final_prefix="$prefix"
6311 fi
6312 if test "X$exec_prefix" = "XNONE"; then
6313 acl_final_exec_prefix='${prefix}'
6314 else
6315 acl_final_exec_prefix="$exec_prefix"
6316 fi
6317 acl_save_prefix="$prefix"
6318 prefix="$acl_final_prefix"
6319 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
6320 prefix="$acl_save_prefix"
6321
6322
6323
6324 # Make sure we can run config.sub.
6325 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
6326 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
6327
6328 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6329 printf %s "checking build system type... " >&6; }
6330 if test ${ac_cv_build+y}
6331 then :
6332 printf %s "(cached) " >&6
6333 else case e in #(
6334 e) ac_build_alias=$build_alias
6335 test "x$ac_build_alias" = x &&
6336 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
6337 test "x$ac_build_alias" = x &&
6338 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6339 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
6340 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
6341 ;;
6342 esac
6343 fi
6344 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6345 printf '%s\n' "$ac_cv_build" >&6; }
6346 case $ac_cv_build in
6347 *-*-*) ;;
6348 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6349 esac
6350 build=$ac_cv_build
6351 ac_save_IFS=$IFS; IFS='-'
6352 set x $ac_cv_build
6353 shift
6354 build_cpu=$1
6355 build_vendor=$2
6356 shift; shift
6357 # Remember, the first character of IFS is used to create $*,
6358 # except with old shells:
6359 build_os=$*
6360 IFS=$ac_save_IFS
6361 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
6362
6363
6364 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6365 printf %s "checking host system type... " >&6; }
6366 if test ${ac_cv_host+y}
6367 then :
6368 printf %s "(cached) " >&6
6369 else case e in #(
6370 e) if test "x$host_alias" = x; then
6371 ac_cv_host=$ac_cv_build
6372 else
6373 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
6374 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
6375 fi
6376 ;;
6377 esac
6378 fi
6379 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6380 printf '%s\n' "$ac_cv_host" >&6; }
6381 case $ac_cv_host in
6382 *-*-*) ;;
6383 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6384 esac
6385 host=$ac_cv_host
6386 ac_save_IFS=$IFS; IFS='-'
6387 set x $ac_cv_host
6388 shift
6389 host_cpu=$1
6390 host_vendor=$2
6391 shift; shift
6392 # Remember, the first character of IFS is used to create $*,
6393 # except with old shells:
6394 host_os=$*
6395 IFS=$ac_save_IFS
6396 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
6397
6398
6399
6400
6401 # Check whether --with-gnu-ld was given.
6402 if test ${with_gnu_ld+y}
6403 then :
6404 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6405 else case e in #(
6406 e) with_gnu_ld=no ;;
6407 esac
6408 fi
6409
6410 # Prepare PATH_SEPARATOR.
6411 # The user is always right.
6412 if test "${PATH_SEPARATOR+set}" != set; then
6413 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6414 # contains only /bin. Note that ksh looks also at the FPATH variable,
6415 # so we have to set that as well for the test.
6416 PATH_SEPARATOR=:
6417 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6418 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6419 || PATH_SEPARATOR=';'
6420 }
6421 fi
6422
6423 ac_prog=ld
6424 if test "$GCC" = yes; then
6425 # Check if gcc -print-prog-name=ld gives a path.
6426 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6427 printf %s "checking for ld used by $CC... " >&6; }
6428 case $host in
6429 *-*-mingw*)
6430 # gcc leaves a trailing carriage return which upsets mingw
6431 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6432 *)
6433 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6434 esac
6435 case $ac_prog in
6436 # Accept absolute paths.
6437 [\\/]* | ?:[\\/]*)
6438 re_direlt='/[^/][^/]*/\.\./'
6439 # Canonicalize the pathname of ld
6440 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
6441 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
6442 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
6443 done
6444 test -z "$LD" && LD="$ac_prog"
6445 ;;
6446 "")
6447 # If it fails, then pretend we aren't using GCC.
6448 ac_prog=ld
6449 ;;
6450 *)
6451 # If it is relative, then search for the first ld in PATH.
6452 with_gnu_ld=unknown
6453 ;;
6454 esac
6455 elif test "$with_gnu_ld" = yes; then
6456 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6457 printf %s "checking for GNU ld... " >&6; }
6458 else
6459 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6460 printf %s "checking for non-GNU ld... " >&6; }
6461 fi
6462 if test ${acl_cv_path_LD+y}
6463 then :
6464 printf %s "(cached) " >&6
6465 else case e in #(
6466 e) if test -z "$LD"; then
6467 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6468 for ac_dir in $PATH; do
6469 IFS="$acl_save_ifs"
6470 test -z "$ac_dir" && ac_dir=.
6471 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6472 acl_cv_path_LD="$ac_dir/$ac_prog"
6473 # Check to see if the program is GNU ld. I'd rather use --version,
6474 # but apparently some variants of GNU ld only accept -v.
6475 # Break only if it was the GNU/non-GNU ld that we prefer.
6476 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
6477 *GNU* | *'with BFD'*)
6478 test "$with_gnu_ld" != no && break
6479 ;;
6480 *)
6481 test "$with_gnu_ld" != yes && break
6482 ;;
6483 esac
6484 fi
6485 done
6486 IFS="$acl_save_ifs"
6487 else
6488 acl_cv_path_LD="$LD" # Let the user override the test with a path.
6489 fi ;;
6490 esac
6491 fi
6492
6493 LD="$acl_cv_path_LD"
6494 if test -n "$LD"; then
6495 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6496 printf '%s\n' "$LD" >&6; }
6497 else
6498 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 printf '%s\n' "no" >&6; }
6500 fi
6501 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6502 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6503 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
6504 if test ${acl_cv_prog_gnu_ld+y}
6505 then :
6506 printf %s "(cached) " >&6
6507 else case e in #(
6508 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
6509 case `$LD -v 2>&1 </dev/null` in
6510 *GNU* | *'with BFD'*)
6511 acl_cv_prog_gnu_ld=yes
6512 ;;
6513 *)
6514 acl_cv_prog_gnu_ld=no
6515 ;;
6516 esac ;;
6517 esac
6518 fi
6519 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6520 printf '%s\n' "$acl_cv_prog_gnu_ld" >&6; }
6521 with_gnu_ld=$acl_cv_prog_gnu_ld
6522
6523
6524
6525
6526
6527 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6528 printf %s "checking for shared library run path origin... " >&6; }
6529 if test ${acl_cv_rpath+y}
6530 then :
6531 printf %s "(cached) " >&6
6532 else case e in #(
6533 e)
6534 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
6535 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6536 . ./conftest.sh
6537 rm -f ./conftest.sh
6538 acl_cv_rpath=done
6539 ;;
6540 esac
6541 fi
6542 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6543 printf '%s\n' "$acl_cv_rpath" >&6; }
6544 wl="$acl_cv_wl"
6545 acl_libext="$acl_cv_libext"
6546 acl_shlibext="$acl_cv_shlibext"
6547 acl_libname_spec="$acl_cv_libname_spec"
6548 acl_library_names_spec="$acl_cv_library_names_spec"
6549 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
6550 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
6551 acl_hardcode_direct="$acl_cv_hardcode_direct"
6552 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
6553 # Check whether --enable-rpath was given.
6554 if test ${enable_rpath+y}
6555 then :
6556 enableval=$enable_rpath; :
6557 else case e in #(
6558 e) enable_rpath=yes ;;
6559 esac
6560 fi
6561
6562
6563 ac_ext=c
6564 ac_cpp='$CPP $CPPFLAGS'
6565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6568 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6569 printf %s "checking how to run the C preprocessor... " >&6; }
6570 # On Suns, sometimes $CPP names a directory.
6571 if test -n "$CPP" && test -d "$CPP"; then
6572 CPP=
6573 fi
6574 if test -z "$CPP"; then
6575 if test ${ac_cv_prog_CPP+y}
6576 then :
6577 printf %s "(cached) " >&6
6578 else case e in #(
6579 e) # Double quotes because $CC needs to be expanded
6580 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
6581 do
6582 ac_preproc_ok=false
6583 for ac_c_preproc_warn_flag in '' yes
6584 do
6585 # Use a header file that comes with gcc, so configuring glibc
6586 # with a fresh cross-compiler works.
6587 # On the NeXT, cc -E runs the code through the compiler's parser,
6588 # not just through cpp. "Syntax error" is here to catch this case.
6589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6590 /* end confdefs.h. */
6591 #include <limits.h>
6592 Syntax error
6593 _ACEOF
6594 if ac_fn_c_try_cpp "$LINENO"
6595 then :
6596
6597 else case e in #(
6598 e) # Broken: fails on valid input.
6599 continue ;;
6600 esac
6601 fi
6602 rm -f conftest.err conftest.i conftest.$ac_ext
6603
6604 # OK, works on sane cases. Now check whether nonexistent headers
6605 # can be detected and how.
6606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6607 /* end confdefs.h. */
6608 #include <ac_nonexistent.h>
6609 _ACEOF
6610 if ac_fn_c_try_cpp "$LINENO"
6611 then :
6612 # Broken: success on invalid input.
6613 continue
6614 else case e in #(
6615 e) # Passes both tests.
6616 ac_preproc_ok=:
6617 break ;;
6618 esac
6619 fi
6620 rm -f conftest.err conftest.i conftest.$ac_ext
6621
6622 done
6623 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6624 rm -f conftest.i conftest.err conftest.$ac_ext
6625 if $ac_preproc_ok
6626 then :
6627 break
6628 fi
6629
6630 done
6631 ac_cv_prog_CPP=$CPP
6632 ;;
6633 esac
6634 fi
6635 CPP=$ac_cv_prog_CPP
6636 else
6637 ac_cv_prog_CPP=$CPP
6638 fi
6639 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6640 printf '%s\n' "$CPP" >&6; }
6641 ac_preproc_ok=false
6642 for ac_c_preproc_warn_flag in '' yes
6643 do
6644 # Use a header file that comes with gcc, so configuring glibc
6645 # with a fresh cross-compiler works.
6646 # On the NeXT, cc -E runs the code through the compiler's parser,
6647 # not just through cpp. "Syntax error" is here to catch this case.
6648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6649 /* end confdefs.h. */
6650 #include <limits.h>
6651 Syntax error
6652 _ACEOF
6653 if ac_fn_c_try_cpp "$LINENO"
6654 then :
6655
6656 else case e in #(
6657 e) # Broken: fails on valid input.
6658 continue ;;
6659 esac
6660 fi
6661 rm -f conftest.err conftest.i conftest.$ac_ext
6662
6663 # OK, works on sane cases. Now check whether nonexistent headers
6664 # can be detected and how.
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #include <ac_nonexistent.h>
6668 _ACEOF
6669 if ac_fn_c_try_cpp "$LINENO"
6670 then :
6671 # Broken: success on invalid input.
6672 continue
6673 else case e in #(
6674 e) # Passes both tests.
6675 ac_preproc_ok=:
6676 break ;;
6677 esac
6678 fi
6679 rm -f conftest.err conftest.i conftest.$ac_ext
6680
6681 done
6682 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6683 rm -f conftest.i conftest.err conftest.$ac_ext
6684 if $ac_preproc_ok
6685 then :
6686
6687 else case e in #(
6688 e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
6689 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
6690 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6691 See 'config.log' for more details" "$LINENO" 5; } ;;
6692 esac
6693 fi
6694
6695 ac_ext=c
6696 ac_cpp='$CPP $CPPFLAGS'
6697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6700
6701
6702 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
6703 printf %s "checking for egrep -e... " >&6; }
6704 if test ${ac_cv_path_EGREP_TRADITIONAL+y}
6705 then :
6706 printf %s "(cached) " >&6
6707 else case e in #(
6708 e) if test -z "$EGREP_TRADITIONAL"; then
6709 ac_path_EGREP_TRADITIONAL_found=false
6710 # Loop through the user's path and test for each of PROGNAME-LIST
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6713 do
6714 IFS=$as_save_IFS
6715 case $as_dir in #(((
6716 '') as_dir=./ ;;
6717 */) ;;
6718 *) as_dir=$as_dir/ ;;
6719 esac
6720 for ac_prog in grep ggrep
6721 do
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
6724 as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
6725 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
6726 # Check for GNU $ac_path_EGREP_TRADITIONAL
6727 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
6728 *GNU*)
6729 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
6730 #(
6731 *)
6732 ac_count=0
6733 printf %s 0123456789 >"conftest.in"
6734 while :
6735 do
6736 cat "conftest.in" "conftest.in" >"conftest.tmp"
6737 mv "conftest.tmp" "conftest.in"
6738 cp "conftest.in" "conftest.nl"
6739 printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl"
6740 "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6741 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6742 as_fn_arith $ac_count + 1 && ac_count=$as_val
6743 if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
6744 # Best one so far, save it but keep looking for a better one
6745 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
6746 ac_path_EGREP_TRADITIONAL_max=$ac_count
6747 fi
6748 # 10*(2^10) chars as input seems more than enough
6749 test $ac_count -gt 10 && break
6750 done
6751 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6752 esac
6753
6754 $ac_path_EGREP_TRADITIONAL_found && break 3
6755 done
6756 done
6757 done
6758 IFS=$as_save_IFS
6759 if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
6760 :
6761 fi
6762 else
6763 ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
6764 fi
6765
6766 if test "$ac_cv_path_EGREP_TRADITIONAL"
6767 then :
6768 ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
6769 else case e in #(
6770 e) if test -z "$EGREP_TRADITIONAL"; then
6771 ac_path_EGREP_TRADITIONAL_found=false
6772 # Loop through the user's path and test for each of PROGNAME-LIST
6773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6775 do
6776 IFS=$as_save_IFS
6777 case $as_dir in #(((
6778 '') as_dir=./ ;;
6779 */) ;;
6780 *) as_dir=$as_dir/ ;;
6781 esac
6782 for ac_prog in egrep
6783 do
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
6786 as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
6787 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
6788 # Check for GNU $ac_path_EGREP_TRADITIONAL
6789 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
6790 *GNU*)
6791 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
6792 #(
6793 *)
6794 ac_count=0
6795 printf %s 0123456789 >"conftest.in"
6796 while :
6797 do
6798 cat "conftest.in" "conftest.in" >"conftest.tmp"
6799 mv "conftest.tmp" "conftest.in"
6800 cp "conftest.in" "conftest.nl"
6801 printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl"
6802 "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6803 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6804 as_fn_arith $ac_count + 1 && ac_count=$as_val
6805 if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
6806 # Best one so far, save it but keep looking for a better one
6807 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
6808 ac_path_EGREP_TRADITIONAL_max=$ac_count
6809 fi
6810 # 10*(2^10) chars as input seems more than enough
6811 test $ac_count -gt 10 && break
6812 done
6813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6814 esac
6815
6816 $ac_path_EGREP_TRADITIONAL_found && break 3
6817 done
6818 done
6819 done
6820 IFS=$as_save_IFS
6821 if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
6822 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6823 fi
6824 else
6825 ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
6826 fi
6827 ;;
6828 esac
6829 fi ;;
6830 esac
6831 fi
6832 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
6833 printf '%s\n' "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
6834 EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
6835
6836
6837
6838 acl_libdirstem=lib
6839 acl_libdirstem2=
6840 case "$host_os" in
6841 solaris*)
6842 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
6843 printf %s "checking for 64-bit host... " >&6; }
6844 if test ${gl_cv_solaris_64bit+y}
6845 then :
6846 printf %s "(cached) " >&6
6847 else case e in #(
6848 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6850
6851 #ifdef _LP64
6852 sixtyfour bits
6853 #endif
6854
6855 _ACEOF
6856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6857 $EGREP_TRADITIONAL "sixtyfour bits" >/dev/null 2>&1
6858 then :
6859 gl_cv_solaris_64bit=yes
6860 else case e in #(
6861 e) gl_cv_solaris_64bit=no ;;
6862 esac
6863 fi
6864 rm -rf conftest*
6865
6866 ;;
6867 esac
6868 fi
6869 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
6870 printf '%s\n' "$gl_cv_solaris_64bit" >&6; }
6871 if test $gl_cv_solaris_64bit = yes; then
6872 acl_libdirstem=lib/64
6873 case "$host_cpu" in
6874 sparc*) acl_libdirstem2=lib/sparcv9 ;;
6875 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
6876 esac
6877 fi
6878 ;;
6879 *)
6880 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
6881 if test -n "$searchpath"; then
6882 acl_save_IFS="${IFS= }"; IFS=":"
6883 for searchdir in $searchpath; do
6884 if test -d "$searchdir"; then
6885 case "$searchdir" in
6886 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
6887 */../ | */.. )
6888 # Better ignore directories of this form. They are misleading.
6889 ;;
6890 *) searchdir=`cd "$searchdir" && pwd`
6891 case "$searchdir" in
6892 */lib64 ) acl_libdirstem=lib64 ;;
6893 esac ;;
6894 esac
6895 fi
6896 done
6897 IFS="$acl_save_IFS"
6898 fi
6899 ;;
6900 esac
6901 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914 use_additional=yes
6915
6916 acl_save_prefix="$prefix"
6917 prefix="$acl_final_prefix"
6918 acl_save_exec_prefix="$exec_prefix"
6919 exec_prefix="$acl_final_exec_prefix"
6920
6921 eval additional_includedir=\"$includedir\"
6922 eval additional_libdir=\"$libdir\"
6923
6924 exec_prefix="$acl_save_exec_prefix"
6925 prefix="$acl_save_prefix"
6926
6927
6928 # Check whether --with-libiconv-prefix was given.
6929 if test ${with_libiconv_prefix+y}
6930 then :
6931 withval=$with_libiconv_prefix;
6932 if test "X$withval" = "Xno"; then
6933 use_additional=no
6934 else
6935 if test "X$withval" = "X"; then
6936
6937 acl_save_prefix="$prefix"
6938 prefix="$acl_final_prefix"
6939 acl_save_exec_prefix="$exec_prefix"
6940 exec_prefix="$acl_final_exec_prefix"
6941
6942 eval additional_includedir=\"$includedir\"
6943 eval additional_libdir=\"$libdir\"
6944
6945 exec_prefix="$acl_save_exec_prefix"
6946 prefix="$acl_save_prefix"
6947
6948 else
6949 additional_includedir="$withval/include"
6950 additional_libdir="$withval/$acl_libdirstem"
6951 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6952 && ! test -d "$withval/$acl_libdirstem"; then
6953 additional_libdir="$withval/$acl_libdirstem2"
6954 fi
6955 fi
6956 fi
6957
6958 fi
6959
6960 LIBICONV=
6961 LTLIBICONV=
6962 INCICONV=
6963 LIBICONV_PREFIX=
6964 HAVE_LIBICONV=
6965 rpathdirs=
6966 ltrpathdirs=
6967 names_already_handled=
6968 names_next_round='iconv '
6969 while test -n "$names_next_round"; do
6970 names_this_round="$names_next_round"
6971 names_next_round=
6972 for name in $names_this_round; do
6973 already_handled=
6974 for n in $names_already_handled; do
6975 if test "$n" = "$name"; then
6976 already_handled=yes
6977 break
6978 fi
6979 done
6980 if test -z "$already_handled"; then
6981 names_already_handled="$names_already_handled $name"
6982 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6983 eval value=\"\$HAVE_LIB$uppername\"
6984 if test -n "$value"; then
6985 if test "$value" = yes; then
6986 eval value=\"\$LIB$uppername\"
6987 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
6988 eval value=\"\$LTLIB$uppername\"
6989 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
6990 else
6991 :
6992 fi
6993 else
6994 found_dir=
6995 found_la=
6996 found_so=
6997 found_a=
6998 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6999 if test -n "$acl_shlibext"; then
7000 shrext=".$acl_shlibext" # typically: shrext=.so
7001 else
7002 shrext=
7003 fi
7004 if test $use_additional = yes; then
7005 dir="$additional_libdir"
7006 if test -n "$acl_shlibext"; then
7007 if test -f "$dir/$libname$shrext"; then
7008 found_dir="$dir"
7009 found_so="$dir/$libname$shrext"
7010 else
7011 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7012 ver=`(cd "$dir" && \
7013 for f in "$libname$shrext".*; do echo "$f"; done \
7014 | sed -e "s,^$libname$shrext\\\\.,," \
7015 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7016 | sed 1q ) 2>/dev/null`
7017 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7018 found_dir="$dir"
7019 found_so="$dir/$libname$shrext.$ver"
7020 fi
7021 else
7022 eval library_names=\"$acl_library_names_spec\"
7023 for f in $library_names; do
7024 if test -f "$dir/$f"; then
7025 found_dir="$dir"
7026 found_so="$dir/$f"
7027 break
7028 fi
7029 done
7030 fi
7031 fi
7032 fi
7033 if test "X$found_dir" = "X"; then
7034 if test -f "$dir/$libname.$acl_libext"; then
7035 found_dir="$dir"
7036 found_a="$dir/$libname.$acl_libext"
7037 fi
7038 fi
7039 if test "X$found_dir" != "X"; then
7040 if test -f "$dir/$libname.la"; then
7041 found_la="$dir/$libname.la"
7042 fi
7043 fi
7044 fi
7045 if test "X$found_dir" = "X"; then
7046 for x in $LDFLAGS $LTLIBICONV; do
7047
7048 acl_save_prefix="$prefix"
7049 prefix="$acl_final_prefix"
7050 acl_save_exec_prefix="$exec_prefix"
7051 exec_prefix="$acl_final_exec_prefix"
7052 eval x=\"$x\"
7053 exec_prefix="$acl_save_exec_prefix"
7054 prefix="$acl_save_prefix"
7055
7056 case "$x" in
7057 -L*)
7058 dir=`echo "X$x" | sed -e 's/^X-L//'`
7059 if test -n "$acl_shlibext"; then
7060 if test -f "$dir/$libname$shrext"; then
7061 found_dir="$dir"
7062 found_so="$dir/$libname$shrext"
7063 else
7064 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7065 ver=`(cd "$dir" && \
7066 for f in "$libname$shrext".*; do echo "$f"; done \
7067 | sed -e "s,^$libname$shrext\\\\.,," \
7068 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7069 | sed 1q ) 2>/dev/null`
7070 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7071 found_dir="$dir"
7072 found_so="$dir/$libname$shrext.$ver"
7073 fi
7074 else
7075 eval library_names=\"$acl_library_names_spec\"
7076 for f in $library_names; do
7077 if test -f "$dir/$f"; then
7078 found_dir="$dir"
7079 found_so="$dir/$f"
7080 break
7081 fi
7082 done
7083 fi
7084 fi
7085 fi
7086 if test "X$found_dir" = "X"; then
7087 if test -f "$dir/$libname.$acl_libext"; then
7088 found_dir="$dir"
7089 found_a="$dir/$libname.$acl_libext"
7090 fi
7091 fi
7092 if test "X$found_dir" != "X"; then
7093 if test -f "$dir/$libname.la"; then
7094 found_la="$dir/$libname.la"
7095 fi
7096 fi
7097 ;;
7098 esac
7099 if test "X$found_dir" != "X"; then
7100 break
7101 fi
7102 done
7103 fi
7104 if test "X$found_dir" != "X"; then
7105 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7106 if test "X$found_so" != "X"; then
7107 if test "$enable_rpath" = no \
7108 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
7109 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7110 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7111 else
7112 haveit=
7113 for x in $ltrpathdirs; do
7114 if test "X$x" = "X$found_dir"; then
7115 haveit=yes
7116 break
7117 fi
7118 done
7119 if test -z "$haveit"; then
7120 ltrpathdirs="$ltrpathdirs $found_dir"
7121 fi
7122 if test "$acl_hardcode_direct" = yes; then
7123 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7124 else
7125 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
7126 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7127 haveit=
7128 for x in $rpathdirs; do
7129 if test "X$x" = "X$found_dir"; then
7130 haveit=yes
7131 break
7132 fi
7133 done
7134 if test -z "$haveit"; then
7135 rpathdirs="$rpathdirs $found_dir"
7136 fi
7137 else
7138 haveit=
7139 for x in $LDFLAGS $LIBICONV; do
7140
7141 acl_save_prefix="$prefix"
7142 prefix="$acl_final_prefix"
7143 acl_save_exec_prefix="$exec_prefix"
7144 exec_prefix="$acl_final_exec_prefix"
7145 eval x=\"$x\"
7146 exec_prefix="$acl_save_exec_prefix"
7147 prefix="$acl_save_prefix"
7148
7149 if test "X$x" = "X-L$found_dir"; then
7150 haveit=yes
7151 break
7152 fi
7153 done
7154 if test -z "$haveit"; then
7155 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7156 fi
7157 if test "$acl_hardcode_minus_L" != no; then
7158 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7159 else
7160 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7161 fi
7162 fi
7163 fi
7164 fi
7165 else
7166 if test "X$found_a" != "X"; then
7167 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
7168 else
7169 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7170 fi
7171 fi
7172 additional_includedir=
7173 case "$found_dir" in
7174 */$acl_libdirstem | */$acl_libdirstem/)
7175 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7176 if test "$name" = 'iconv'; then
7177 LIBICONV_PREFIX="$basedir"
7178 fi
7179 additional_includedir="$basedir/include"
7180 ;;
7181 */$acl_libdirstem2 | */$acl_libdirstem2/)
7182 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7183 if test "$name" = 'iconv'; then
7184 LIBICONV_PREFIX="$basedir"
7185 fi
7186 additional_includedir="$basedir/include"
7187 ;;
7188 esac
7189 if test "X$additional_includedir" != "X"; then
7190 if test "X$additional_includedir" != "X/usr/include"; then
7191 haveit=
7192 if test "X$additional_includedir" = "X/usr/local/include"; then
7193 if test -n "$GCC"; then
7194 case $host_os in
7195 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7196 esac
7197 fi
7198 fi
7199 if test -z "$haveit"; then
7200 for x in $CPPFLAGS $INCICONV; do
7201
7202 acl_save_prefix="$prefix"
7203 prefix="$acl_final_prefix"
7204 acl_save_exec_prefix="$exec_prefix"
7205 exec_prefix="$acl_final_exec_prefix"
7206 eval x=\"$x\"
7207 exec_prefix="$acl_save_exec_prefix"
7208 prefix="$acl_save_prefix"
7209
7210 if test "X$x" = "X-I$additional_includedir"; then
7211 haveit=yes
7212 break
7213 fi
7214 done
7215 if test -z "$haveit"; then
7216 if test -d "$additional_includedir"; then
7217 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7218 fi
7219 fi
7220 fi
7221 fi
7222 fi
7223 if test -n "$found_la"; then
7224 save_libdir="$libdir"
7225 case "$found_la" in
7226 */* | *\\*) . "$found_la" ;;
7227 *) . "./$found_la" ;;
7228 esac
7229 libdir="$save_libdir"
7230 for dep in $dependency_libs; do
7231 case "$dep" in
7232 -L*)
7233 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7234 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7235 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7236 haveit=
7237 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7238 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7239 if test -n "$GCC"; then
7240 case $host_os in
7241 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7242 esac
7243 fi
7244 fi
7245 if test -z "$haveit"; then
7246 haveit=
7247 for x in $LDFLAGS $LIBICONV; do
7248
7249 acl_save_prefix="$prefix"
7250 prefix="$acl_final_prefix"
7251 acl_save_exec_prefix="$exec_prefix"
7252 exec_prefix="$acl_final_exec_prefix"
7253 eval x=\"$x\"
7254 exec_prefix="$acl_save_exec_prefix"
7255 prefix="$acl_save_prefix"
7256
7257 if test "X$x" = "X-L$additional_libdir"; then
7258 haveit=yes
7259 break
7260 fi
7261 done
7262 if test -z "$haveit"; then
7263 if test -d "$additional_libdir"; then
7264 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7265 fi
7266 fi
7267 haveit=
7268 for x in $LDFLAGS $LTLIBICONV; do
7269
7270 acl_save_prefix="$prefix"
7271 prefix="$acl_final_prefix"
7272 acl_save_exec_prefix="$exec_prefix"
7273 exec_prefix="$acl_final_exec_prefix"
7274 eval x=\"$x\"
7275 exec_prefix="$acl_save_exec_prefix"
7276 prefix="$acl_save_prefix"
7277
7278 if test "X$x" = "X-L$additional_libdir"; then
7279 haveit=yes
7280 break
7281 fi
7282 done
7283 if test -z "$haveit"; then
7284 if test -d "$additional_libdir"; then
7285 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7286 fi
7287 fi
7288 fi
7289 fi
7290 ;;
7291 -R*)
7292 dir=`echo "X$dep" | sed -e 's/^X-R//'`
7293 if test "$enable_rpath" != no; then
7294 haveit=
7295 for x in $rpathdirs; do
7296 if test "X$x" = "X$dir"; then
7297 haveit=yes
7298 break
7299 fi
7300 done
7301 if test -z "$haveit"; then
7302 rpathdirs="$rpathdirs $dir"
7303 fi
7304 haveit=
7305 for x in $ltrpathdirs; do
7306 if test "X$x" = "X$dir"; then
7307 haveit=yes
7308 break
7309 fi
7310 done
7311 if test -z "$haveit"; then
7312 ltrpathdirs="$ltrpathdirs $dir"
7313 fi
7314 fi
7315 ;;
7316 -l*)
7317 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7318 ;;
7319 *.la)
7320 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7321 ;;
7322 *)
7323 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
7324 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7325 ;;
7326 esac
7327 done
7328 fi
7329 else
7330 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7331 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7332 fi
7333 fi
7334 fi
7335 done
7336 done
7337 if test "X$rpathdirs" != "X"; then
7338 if test -n "$acl_hardcode_libdir_separator"; then
7339 alldirs=
7340 for found_dir in $rpathdirs; do
7341 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7342 done
7343 acl_save_libdir="$libdir"
7344 libdir="$alldirs"
7345 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7346 libdir="$acl_save_libdir"
7347 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7348 else
7349 for found_dir in $rpathdirs; do
7350 acl_save_libdir="$libdir"
7351 libdir="$found_dir"
7352 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7353 libdir="$acl_save_libdir"
7354 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7355 done
7356 fi
7357 fi
7358 if test "X$ltrpathdirs" != "X"; then
7359 for found_dir in $ltrpathdirs; do
7360 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7361 done
7362 fi
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7395 printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
7396 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
7397 then :
7398 printf %s "(cached) " >&6
7399 else case e in #(
7400 e) gt_save_LIBS="$LIBS"
7401 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
7402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7403 /* end confdefs.h. */
7404 #include <CoreFoundation/CFPreferences.h>
7405 int
7406 main (void)
7407 {
7408 CFPreferencesCopyAppValue(NULL, NULL)
7409 ;
7410 return 0;
7411 }
7412 _ACEOF
7413 if ac_fn_c_try_link "$LINENO"
7414 then :
7415 gt_cv_func_CFPreferencesCopyAppValue=yes
7416 else case e in #(
7417 e) gt_cv_func_CFPreferencesCopyAppValue=no ;;
7418 esac
7419 fi
7420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7421 conftest$ac_exeext conftest.$ac_ext
7422 LIBS="$gt_save_LIBS" ;;
7423 esac
7424 fi
7425 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7426 printf '%s\n' "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7427 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7428
7429 printf '%s\n' "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7430
7431 fi
7432 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
7433 printf %s "checking for CFLocaleCopyCurrent... " >&6; }
7434 if test ${gt_cv_func_CFLocaleCopyCurrent+y}
7435 then :
7436 printf %s "(cached) " >&6
7437 else case e in #(
7438 e) gt_save_LIBS="$LIBS"
7439 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
7440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7441 /* end confdefs.h. */
7442 #include <CoreFoundation/CFLocale.h>
7443 int
7444 main (void)
7445 {
7446 CFLocaleCopyCurrent();
7447 ;
7448 return 0;
7449 }
7450 _ACEOF
7451 if ac_fn_c_try_link "$LINENO"
7452 then :
7453 gt_cv_func_CFLocaleCopyCurrent=yes
7454 else case e in #(
7455 e) gt_cv_func_CFLocaleCopyCurrent=no ;;
7456 esac
7457 fi
7458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7459 conftest$ac_exeext conftest.$ac_ext
7460 LIBS="$gt_save_LIBS" ;;
7461 esac
7462 fi
7463 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
7464 printf '%s\n' "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
7465 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7466
7467 printf '%s\n' "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
7468
7469 fi
7470 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
7471 printf %s "checking for CFLocaleCopyPreferredLanguages... " >&6; }
7472 if test ${gt_cv_func_CFLocaleCopyPreferredLanguages+y}
7473 then :
7474 printf %s "(cached) " >&6
7475 else case e in #(
7476 e) gt_save_LIBS="$LIBS"
7477 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h. */
7480 #include <CoreFoundation/CFLocale.h>
7481 int
7482 main (void)
7483 {
7484 CFLocaleCopyPreferredLanguages();
7485 ;
7486 return 0;
7487 }
7488 _ACEOF
7489 if ac_fn_c_try_link "$LINENO"
7490 then :
7491 gt_cv_func_CFLocaleCopyPreferredLanguages=yes
7492 else case e in #(
7493 e) gt_cv_func_CFLocaleCopyPreferredLanguages=no ;;
7494 esac
7495 fi
7496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7497 conftest$ac_exeext conftest.$ac_ext
7498 LIBS="$gt_save_LIBS" ;;
7499 esac
7500 fi
7501 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
7502 printf '%s\n' "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
7503 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
7504
7505 printf '%s\n' "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
7506
7507 fi
7508 INTL_MACOSX_LIBS=
7509 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
7510 || test $gt_cv_func_CFLocaleCopyCurrent = yes \
7511 || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
7512 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
7513 fi
7514
7515
7516
7517
7518
7519
7520 LIBINTL=
7521 LTLIBINTL=
7522 POSUB=
7523
7524 case " $gt_needs " in
7525 *" need-formatstring-macros "*) gt_api_version=3 ;;
7526 *" need-ngettext "*) gt_api_version=2 ;;
7527 *) gt_api_version=1 ;;
7528 esac
7529 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
7530 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
7531
7532 if test "$USE_NLS" = "yes"; then
7533 gt_use_preinstalled_gnugettext=no
7534
7535
7536 if test $gt_api_version -ge 3; then
7537 gt_revision_test_code='
7538 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7539 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7540 #endif
7541 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7542 '
7543 else
7544 gt_revision_test_code=
7545 fi
7546 if test $gt_api_version -ge 2; then
7547 gt_expression_test_code=' + * ngettext ("", "", 0)'
7548 else
7549 gt_expression_test_code=
7550 fi
7551
7552 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7553 printf %s "checking for GNU gettext in libc... " >&6; }
7554 if eval test \${$gt_func_gnugettext_libc+y}
7555 then :
7556 printf %s "(cached) " >&6
7557 else case e in #(
7558 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7559 /* end confdefs.h. */
7560
7561 #include <libintl.h>
7562 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7563 extern int _nl_msg_cat_cntr;
7564 extern int *_nl_domain_bindings;
7565 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
7566 #else
7567 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7568 #endif
7569 $gt_revision_test_code
7570
7571 int
7572 main (void)
7573 {
7574
7575 bindtextdomain ("", "");
7576 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7577
7578 ;
7579 return 0;
7580 }
7581 _ACEOF
7582 if ac_fn_c_try_link "$LINENO"
7583 then :
7584 eval "$gt_func_gnugettext_libc=yes"
7585 else case e in #(
7586 e) eval "$gt_func_gnugettext_libc=no" ;;
7587 esac
7588 fi
7589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7590 conftest$ac_exeext conftest.$ac_ext ;;
7591 esac
7592 fi
7593 eval ac_res=\$$gt_func_gnugettext_libc
7594 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7595 printf '%s\n' "$ac_res" >&6; }
7596
7597 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7598
7599
7600
7601
7602
7603 am_save_CPPFLAGS="$CPPFLAGS"
7604
7605 for element in $INCICONV; do
7606 haveit=
7607 for x in $CPPFLAGS; do
7608
7609 acl_save_prefix="$prefix"
7610 prefix="$acl_final_prefix"
7611 acl_save_exec_prefix="$exec_prefix"
7612 exec_prefix="$acl_final_exec_prefix"
7613 eval x=\"$x\"
7614 exec_prefix="$acl_save_exec_prefix"
7615 prefix="$acl_save_prefix"
7616
7617 if test "X$x" = "X$element"; then
7618 haveit=yes
7619 break
7620 fi
7621 done
7622 if test -z "$haveit"; then
7623 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7624 fi
7625 done
7626
7627
7628 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7629 printf %s "checking for iconv... " >&6; }
7630 if test ${am_cv_func_iconv+y}
7631 then :
7632 printf %s "(cached) " >&6
7633 else case e in #(
7634 e)
7635 am_cv_func_iconv="no, consider installing GNU libiconv"
7636 am_cv_lib_iconv=no
7637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7639
7640 #include <stdlib.h>
7641 #include <iconv.h>
7642
7643 int
7644 main (void)
7645 {
7646 iconv_t cd = iconv_open("","");
7647 iconv(cd,NULL,NULL,NULL,NULL);
7648 iconv_close(cd);
7649 ;
7650 return 0;
7651 }
7652 _ACEOF
7653 if ac_fn_c_try_link "$LINENO"
7654 then :
7655 am_cv_func_iconv=yes
7656 fi
7657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7658 conftest$ac_exeext conftest.$ac_ext
7659 if test "$am_cv_func_iconv" != yes; then
7660 am_save_LIBS="$LIBS"
7661 LIBS="$LIBS $LIBICONV"
7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h. */
7664
7665 #include <stdlib.h>
7666 #include <iconv.h>
7667
7668 int
7669 main (void)
7670 {
7671 iconv_t cd = iconv_open("","");
7672 iconv(cd,NULL,NULL,NULL,NULL);
7673 iconv_close(cd);
7674 ;
7675 return 0;
7676 }
7677 _ACEOF
7678 if ac_fn_c_try_link "$LINENO"
7679 then :
7680 am_cv_lib_iconv=yes
7681 am_cv_func_iconv=yes
7682 fi
7683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7684 conftest$ac_exeext conftest.$ac_ext
7685 LIBS="$am_save_LIBS"
7686 fi
7687 ;;
7688 esac
7689 fi
7690 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7691 printf '%s\n' "$am_cv_func_iconv" >&6; }
7692 if test "$am_cv_func_iconv" = yes; then
7693 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7694 printf %s "checking for working iconv... " >&6; }
7695 if test ${am_cv_func_iconv_works+y}
7696 then :
7697 printf %s "(cached) " >&6
7698 else case e in #(
7699 e)
7700 am_save_LIBS="$LIBS"
7701 if test $am_cv_lib_iconv = yes; then
7702 LIBS="$LIBS $LIBICONV"
7703 fi
7704 am_cv_func_iconv_works=no
7705 for ac_iconv_const in '' 'const'; do
7706 if test "$cross_compiling" = yes
7707 then :
7708 case "$host_os" in
7709 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
7710 *) am_cv_func_iconv_works="guessing yes" ;;
7711 esac
7712 else case e in #(
7713 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715
7716 #include <iconv.h>
7717 #include <string.h>
7718
7719 #ifndef ICONV_CONST
7720 # define ICONV_CONST $ac_iconv_const
7721 #endif
7722
7723 int
7724 main (void)
7725 {
7726 int result = 0;
7727 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
7728 returns. */
7729 {
7730 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
7731 if (cd_utf8_to_88591 != (iconv_t)(-1))
7732 {
7733 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
7734 char buf[10];
7735 ICONV_CONST char *inptr = input;
7736 size_t inbytesleft = strlen (input);
7737 char *outptr = buf;
7738 size_t outbytesleft = sizeof (buf);
7739 size_t res = iconv (cd_utf8_to_88591,
7740 &inptr, &inbytesleft,
7741 &outptr, &outbytesleft);
7742 if (res == 0)
7743 result |= 1;
7744 iconv_close (cd_utf8_to_88591);
7745 }
7746 }
7747 /* Test against Solaris 10 bug: Failures are not distinguishable from
7748 successful returns. */
7749 {
7750 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
7751 if (cd_ascii_to_88591 != (iconv_t)(-1))
7752 {
7753 static ICONV_CONST char input[] = "\263";
7754 char buf[10];
7755 ICONV_CONST char *inptr = input;
7756 size_t inbytesleft = strlen (input);
7757 char *outptr = buf;
7758 size_t outbytesleft = sizeof (buf);
7759 size_t res = iconv (cd_ascii_to_88591,
7760 &inptr, &inbytesleft,
7761 &outptr, &outbytesleft);
7762 if (res == 0)
7763 result |= 2;
7764 iconv_close (cd_ascii_to_88591);
7765 }
7766 }
7767 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
7768 {
7769 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
7770 if (cd_88591_to_utf8 != (iconv_t)(-1))
7771 {
7772 static ICONV_CONST char input[] = "\304";
7773 static char buf[2] = { (char)0xDE, (char)0xAD };
7774 ICONV_CONST char *inptr = input;
7775 size_t inbytesleft = 1;
7776 char *outptr = buf;
7777 size_t outbytesleft = 1;
7778 size_t res = iconv (cd_88591_to_utf8,
7779 &inptr, &inbytesleft,
7780 &outptr, &outbytesleft);
7781 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
7782 result |= 4;
7783 iconv_close (cd_88591_to_utf8);
7784 }
7785 }
7786 #if 0 /* This bug could be worked around by the caller. */
7787 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
7788 {
7789 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
7790 if (cd_88591_to_utf8 != (iconv_t)(-1))
7791 {
7792 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
7793 char buf[50];
7794 ICONV_CONST char *inptr = input;
7795 size_t inbytesleft = strlen (input);
7796 char *outptr = buf;
7797 size_t outbytesleft = sizeof (buf);
7798 size_t res = iconv (cd_88591_to_utf8,
7799 &inptr, &inbytesleft,
7800 &outptr, &outbytesleft);
7801 if ((int)res > 0)
7802 result |= 8;
7803 iconv_close (cd_88591_to_utf8);
7804 }
7805 }
7806 #endif
7807 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
7808 provided. */
7809 if (/* Try standardized names. */
7810 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
7811 /* Try IRIX, OSF/1 names. */
7812 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
7813 /* Try AIX names. */
7814 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
7815 /* Try HP-UX names. */
7816 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
7817 result |= 16;
7818 return result;
7819
7820 ;
7821 return 0;
7822 }
7823 _ACEOF
7824 if ac_fn_c_try_run "$LINENO"
7825 then :
7826 am_cv_func_iconv_works=yes
7827 fi
7828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7829 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
7830 esac
7831 fi
7832
7833 test "$am_cv_func_iconv_works" = no || break
7834 done
7835 LIBS="$am_save_LIBS"
7836 ;;
7837 esac
7838 fi
7839 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
7840 printf '%s\n' "$am_cv_func_iconv_works" >&6; }
7841 case "$am_cv_func_iconv_works" in
7842 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
7843 *) am_func_iconv=yes ;;
7844 esac
7845 else
7846 am_func_iconv=no am_cv_lib_iconv=no
7847 fi
7848 if test "$am_func_iconv" = yes; then
7849
7850 printf '%s\n' "#define HAVE_ICONV 1" >>confdefs.h
7851
7852 fi
7853 if test "$am_cv_lib_iconv" = yes; then
7854 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7855 printf %s "checking how to link with libiconv... " >&6; }
7856 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7857 printf '%s\n' "$LIBICONV" >&6; }
7858 else
7859 CPPFLAGS="$am_save_CPPFLAGS"
7860 LIBICONV=
7861 LTLIBICONV=
7862 fi
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874 use_additional=yes
7875
7876 acl_save_prefix="$prefix"
7877 prefix="$acl_final_prefix"
7878 acl_save_exec_prefix="$exec_prefix"
7879 exec_prefix="$acl_final_exec_prefix"
7880
7881 eval additional_includedir=\"$includedir\"
7882 eval additional_libdir=\"$libdir\"
7883
7884 exec_prefix="$acl_save_exec_prefix"
7885 prefix="$acl_save_prefix"
7886
7887
7888 # Check whether --with-libintl-prefix was given.
7889 if test ${with_libintl_prefix+y}
7890 then :
7891 withval=$with_libintl_prefix;
7892 if test "X$withval" = "Xno"; then
7893 use_additional=no
7894 else
7895 if test "X$withval" = "X"; then
7896
7897 acl_save_prefix="$prefix"
7898 prefix="$acl_final_prefix"
7899 acl_save_exec_prefix="$exec_prefix"
7900 exec_prefix="$acl_final_exec_prefix"
7901
7902 eval additional_includedir=\"$includedir\"
7903 eval additional_libdir=\"$libdir\"
7904
7905 exec_prefix="$acl_save_exec_prefix"
7906 prefix="$acl_save_prefix"
7907
7908 else
7909 additional_includedir="$withval/include"
7910 additional_libdir="$withval/$acl_libdirstem"
7911 if test "$acl_libdirstem2" != "$acl_libdirstem" \
7912 && ! test -d "$withval/$acl_libdirstem"; then
7913 additional_libdir="$withval/$acl_libdirstem2"
7914 fi
7915 fi
7916 fi
7917
7918 fi
7919
7920 LIBINTL=
7921 LTLIBINTL=
7922 INCINTL=
7923 LIBINTL_PREFIX=
7924 HAVE_LIBINTL=
7925 rpathdirs=
7926 ltrpathdirs=
7927 names_already_handled=
7928 names_next_round='intl '
7929 while test -n "$names_next_round"; do
7930 names_this_round="$names_next_round"
7931 names_next_round=
7932 for name in $names_this_round; do
7933 already_handled=
7934 for n in $names_already_handled; do
7935 if test "$n" = "$name"; then
7936 already_handled=yes
7937 break
7938 fi
7939 done
7940 if test -z "$already_handled"; then
7941 names_already_handled="$names_already_handled $name"
7942 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
7943 eval value=\"\$HAVE_LIB$uppername\"
7944 if test -n "$value"; then
7945 if test "$value" = yes; then
7946 eval value=\"\$LIB$uppername\"
7947 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
7948 eval value=\"\$LTLIB$uppername\"
7949 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
7950 else
7951 :
7952 fi
7953 else
7954 found_dir=
7955 found_la=
7956 found_so=
7957 found_a=
7958 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
7959 if test -n "$acl_shlibext"; then
7960 shrext=".$acl_shlibext" # typically: shrext=.so
7961 else
7962 shrext=
7963 fi
7964 if test $use_additional = yes; then
7965 dir="$additional_libdir"
7966 if test -n "$acl_shlibext"; then
7967 if test -f "$dir/$libname$shrext"; then
7968 found_dir="$dir"
7969 found_so="$dir/$libname$shrext"
7970 else
7971 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7972 ver=`(cd "$dir" && \
7973 for f in "$libname$shrext".*; do echo "$f"; done \
7974 | sed -e "s,^$libname$shrext\\\\.,," \
7975 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7976 | sed 1q ) 2>/dev/null`
7977 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7978 found_dir="$dir"
7979 found_so="$dir/$libname$shrext.$ver"
7980 fi
7981 else
7982 eval library_names=\"$acl_library_names_spec\"
7983 for f in $library_names; do
7984 if test -f "$dir/$f"; then
7985 found_dir="$dir"
7986 found_so="$dir/$f"
7987 break
7988 fi
7989 done
7990 fi
7991 fi
7992 fi
7993 if test "X$found_dir" = "X"; then
7994 if test -f "$dir/$libname.$acl_libext"; then
7995 found_dir="$dir"
7996 found_a="$dir/$libname.$acl_libext"
7997 fi
7998 fi
7999 if test "X$found_dir" != "X"; then
8000 if test -f "$dir/$libname.la"; then
8001 found_la="$dir/$libname.la"
8002 fi
8003 fi
8004 fi
8005 if test "X$found_dir" = "X"; then
8006 for x in $LDFLAGS $LTLIBINTL; do
8007
8008 acl_save_prefix="$prefix"
8009 prefix="$acl_final_prefix"
8010 acl_save_exec_prefix="$exec_prefix"
8011 exec_prefix="$acl_final_exec_prefix"
8012 eval x=\"$x\"
8013 exec_prefix="$acl_save_exec_prefix"
8014 prefix="$acl_save_prefix"
8015
8016 case "$x" in
8017 -L*)
8018 dir=`echo "X$x" | sed -e 's/^X-L//'`
8019 if test -n "$acl_shlibext"; then
8020 if test -f "$dir/$libname$shrext"; then
8021 found_dir="$dir"
8022 found_so="$dir/$libname$shrext"
8023 else
8024 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8025 ver=`(cd "$dir" && \
8026 for f in "$libname$shrext".*; do echo "$f"; done \
8027 | sed -e "s,^$libname$shrext\\\\.,," \
8028 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8029 | sed 1q ) 2>/dev/null`
8030 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8031 found_dir="$dir"
8032 found_so="$dir/$libname$shrext.$ver"
8033 fi
8034 else
8035 eval library_names=\"$acl_library_names_spec\"
8036 for f in $library_names; do
8037 if test -f "$dir/$f"; then
8038 found_dir="$dir"
8039 found_so="$dir/$f"
8040 break
8041 fi
8042 done
8043 fi
8044 fi
8045 fi
8046 if test "X$found_dir" = "X"; then
8047 if test -f "$dir/$libname.$acl_libext"; then
8048 found_dir="$dir"
8049 found_a="$dir/$libname.$acl_libext"
8050 fi
8051 fi
8052 if test "X$found_dir" != "X"; then
8053 if test -f "$dir/$libname.la"; then
8054 found_la="$dir/$libname.la"
8055 fi
8056 fi
8057 ;;
8058 esac
8059 if test "X$found_dir" != "X"; then
8060 break
8061 fi
8062 done
8063 fi
8064 if test "X$found_dir" != "X"; then
8065 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8066 if test "X$found_so" != "X"; then
8067 if test "$enable_rpath" = no \
8068 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
8069 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8070 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8071 else
8072 haveit=
8073 for x in $ltrpathdirs; do
8074 if test "X$x" = "X$found_dir"; then
8075 haveit=yes
8076 break
8077 fi
8078 done
8079 if test -z "$haveit"; then
8080 ltrpathdirs="$ltrpathdirs $found_dir"
8081 fi
8082 if test "$acl_hardcode_direct" = yes; then
8083 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8084 else
8085 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
8086 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8087 haveit=
8088 for x in $rpathdirs; do
8089 if test "X$x" = "X$found_dir"; then
8090 haveit=yes
8091 break
8092 fi
8093 done
8094 if test -z "$haveit"; then
8095 rpathdirs="$rpathdirs $found_dir"
8096 fi
8097 else
8098 haveit=
8099 for x in $LDFLAGS $LIBINTL; do
8100
8101 acl_save_prefix="$prefix"
8102 prefix="$acl_final_prefix"
8103 acl_save_exec_prefix="$exec_prefix"
8104 exec_prefix="$acl_final_exec_prefix"
8105 eval x=\"$x\"
8106 exec_prefix="$acl_save_exec_prefix"
8107 prefix="$acl_save_prefix"
8108
8109 if test "X$x" = "X-L$found_dir"; then
8110 haveit=yes
8111 break
8112 fi
8113 done
8114 if test -z "$haveit"; then
8115 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8116 fi
8117 if test "$acl_hardcode_minus_L" != no; then
8118 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8119 else
8120 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8121 fi
8122 fi
8123 fi
8124 fi
8125 else
8126 if test "X$found_a" != "X"; then
8127 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8128 else
8129 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8130 fi
8131 fi
8132 additional_includedir=
8133 case "$found_dir" in
8134 */$acl_libdirstem | */$acl_libdirstem/)
8135 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8136 if test "$name" = 'intl'; then
8137 LIBINTL_PREFIX="$basedir"
8138 fi
8139 additional_includedir="$basedir/include"
8140 ;;
8141 */$acl_libdirstem2 | */$acl_libdirstem2/)
8142 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8143 if test "$name" = 'intl'; then
8144 LIBINTL_PREFIX="$basedir"
8145 fi
8146 additional_includedir="$basedir/include"
8147 ;;
8148 esac
8149 if test "X$additional_includedir" != "X"; then
8150 if test "X$additional_includedir" != "X/usr/include"; then
8151 haveit=
8152 if test "X$additional_includedir" = "X/usr/local/include"; then
8153 if test -n "$GCC"; then
8154 case $host_os in
8155 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8156 esac
8157 fi
8158 fi
8159 if test -z "$haveit"; then
8160 for x in $CPPFLAGS $INCINTL; do
8161
8162 acl_save_prefix="$prefix"
8163 prefix="$acl_final_prefix"
8164 acl_save_exec_prefix="$exec_prefix"
8165 exec_prefix="$acl_final_exec_prefix"
8166 eval x=\"$x\"
8167 exec_prefix="$acl_save_exec_prefix"
8168 prefix="$acl_save_prefix"
8169
8170 if test "X$x" = "X-I$additional_includedir"; then
8171 haveit=yes
8172 break
8173 fi
8174 done
8175 if test -z "$haveit"; then
8176 if test -d "$additional_includedir"; then
8177 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8178 fi
8179 fi
8180 fi
8181 fi
8182 fi
8183 if test -n "$found_la"; then
8184 save_libdir="$libdir"
8185 case "$found_la" in
8186 */* | *\\*) . "$found_la" ;;
8187 *) . "./$found_la" ;;
8188 esac
8189 libdir="$save_libdir"
8190 for dep in $dependency_libs; do
8191 case "$dep" in
8192 -L*)
8193 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8194 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8195 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8196 haveit=
8197 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8198 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8199 if test -n "$GCC"; then
8200 case $host_os in
8201 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8202 esac
8203 fi
8204 fi
8205 if test -z "$haveit"; then
8206 haveit=
8207 for x in $LDFLAGS $LIBINTL; do
8208
8209 acl_save_prefix="$prefix"
8210 prefix="$acl_final_prefix"
8211 acl_save_exec_prefix="$exec_prefix"
8212 exec_prefix="$acl_final_exec_prefix"
8213 eval x=\"$x\"
8214 exec_prefix="$acl_save_exec_prefix"
8215 prefix="$acl_save_prefix"
8216
8217 if test "X$x" = "X-L$additional_libdir"; then
8218 haveit=yes
8219 break
8220 fi
8221 done
8222 if test -z "$haveit"; then
8223 if test -d "$additional_libdir"; then
8224 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8225 fi
8226 fi
8227 haveit=
8228 for x in $LDFLAGS $LTLIBINTL; do
8229
8230 acl_save_prefix="$prefix"
8231 prefix="$acl_final_prefix"
8232 acl_save_exec_prefix="$exec_prefix"
8233 exec_prefix="$acl_final_exec_prefix"
8234 eval x=\"$x\"
8235 exec_prefix="$acl_save_exec_prefix"
8236 prefix="$acl_save_prefix"
8237
8238 if test "X$x" = "X-L$additional_libdir"; then
8239 haveit=yes
8240 break
8241 fi
8242 done
8243 if test -z "$haveit"; then
8244 if test -d "$additional_libdir"; then
8245 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8246 fi
8247 fi
8248 fi
8249 fi
8250 ;;
8251 -R*)
8252 dir=`echo "X$dep" | sed -e 's/^X-R//'`
8253 if test "$enable_rpath" != no; then
8254 haveit=
8255 for x in $rpathdirs; do
8256 if test "X$x" = "X$dir"; then
8257 haveit=yes
8258 break
8259 fi
8260 done
8261 if test -z "$haveit"; then
8262 rpathdirs="$rpathdirs $dir"
8263 fi
8264 haveit=
8265 for x in $ltrpathdirs; do
8266 if test "X$x" = "X$dir"; then
8267 haveit=yes
8268 break
8269 fi
8270 done
8271 if test -z "$haveit"; then
8272 ltrpathdirs="$ltrpathdirs $dir"
8273 fi
8274 fi
8275 ;;
8276 -l*)
8277 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8278 ;;
8279 *.la)
8280 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8281 ;;
8282 *)
8283 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
8284 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8285 ;;
8286 esac
8287 done
8288 fi
8289 else
8290 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8291 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8292 fi
8293 fi
8294 fi
8295 done
8296 done
8297 if test "X$rpathdirs" != "X"; then
8298 if test -n "$acl_hardcode_libdir_separator"; then
8299 alldirs=
8300 for found_dir in $rpathdirs; do
8301 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8302 done
8303 acl_save_libdir="$libdir"
8304 libdir="$alldirs"
8305 eval flag=\"$acl_hardcode_libdir_flag_spec\"
8306 libdir="$acl_save_libdir"
8307 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8308 else
8309 for found_dir in $rpathdirs; do
8310 acl_save_libdir="$libdir"
8311 libdir="$found_dir"
8312 eval flag=\"$acl_hardcode_libdir_flag_spec\"
8313 libdir="$acl_save_libdir"
8314 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8315 done
8316 fi
8317 fi
8318 if test "X$ltrpathdirs" != "X"; then
8319 for found_dir in $ltrpathdirs; do
8320 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8321 done
8322 fi
8323
8324
8325
8326
8327
8328
8329 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8330 printf %s "checking for GNU gettext in libintl... " >&6; }
8331 if eval test \${$gt_func_gnugettext_libintl+y}
8332 then :
8333 printf %s "(cached) " >&6
8334 else case e in #(
8335 e) gt_save_CPPFLAGS="$CPPFLAGS"
8336 CPPFLAGS="$CPPFLAGS $INCINTL"
8337 gt_save_LIBS="$LIBS"
8338 LIBS="$LIBS $LIBINTL"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341
8342 #include <libintl.h>
8343 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8344 extern int _nl_msg_cat_cntr;
8345 extern
8346 #ifdef __cplusplus
8347 "C"
8348 #endif
8349 const char *_nl_expand_alias (const char *);
8350 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8351 #else
8352 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8353 #endif
8354 $gt_revision_test_code
8355
8356 int
8357 main (void)
8358 {
8359
8360 bindtextdomain ("", "");
8361 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8362
8363 ;
8364 return 0;
8365 }
8366 _ACEOF
8367 if ac_fn_c_try_link "$LINENO"
8368 then :
8369 eval "$gt_func_gnugettext_libintl=yes"
8370 else case e in #(
8371 e) eval "$gt_func_gnugettext_libintl=no" ;;
8372 esac
8373 fi
8374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8375 conftest$ac_exeext conftest.$ac_ext
8376 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8377 LIBS="$LIBS $LIBICONV"
8378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8379 /* end confdefs.h. */
8380
8381 #include <libintl.h>
8382 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8383 extern int _nl_msg_cat_cntr;
8384 extern
8385 #ifdef __cplusplus
8386 "C"
8387 #endif
8388 const char *_nl_expand_alias (const char *);
8389 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8390 #else
8391 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8392 #endif
8393 $gt_revision_test_code
8394
8395 int
8396 main (void)
8397 {
8398
8399 bindtextdomain ("", "");
8400 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8401
8402 ;
8403 return 0;
8404 }
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"
8407 then :
8408 LIBINTL="$LIBINTL $LIBICONV"
8409 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
8410 eval "$gt_func_gnugettext_libintl=yes"
8411
8412 fi
8413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8414 conftest$ac_exeext conftest.$ac_ext
8415 fi
8416 CPPFLAGS="$gt_save_CPPFLAGS"
8417 LIBS="$gt_save_LIBS" ;;
8418 esac
8419 fi
8420 eval ac_res=\$$gt_func_gnugettext_libintl
8421 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8422 printf '%s\n' "$ac_res" >&6; }
8423 fi
8424
8425 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8426 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8427 && test "$PACKAGE" != gettext-runtime \
8428 && test "$PACKAGE" != gettext-tools; }; then
8429 gt_use_preinstalled_gnugettext=yes
8430 else
8431 LIBINTL=
8432 LTLIBINTL=
8433 INCINTL=
8434 fi
8435
8436
8437
8438 if test -n "$INTL_MACOSX_LIBS"; then
8439 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8440 || test "$nls_cv_use_gnu_gettext" = "yes"; then
8441 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
8442 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
8443 fi
8444 fi
8445
8446 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8447 || test "$nls_cv_use_gnu_gettext" = "yes"; then
8448
8449 printf '%s\n' "#define ENABLE_NLS 1" >>confdefs.h
8450
8451 else
8452 USE_NLS=no
8453 fi
8454 fi
8455
8456 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8457 printf %s "checking whether to use NLS... " >&6; }
8458 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8459 printf '%s\n' "$USE_NLS" >&6; }
8460 if test "$USE_NLS" = "yes"; then
8461 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8462 printf %s "checking where the gettext function comes from... " >&6; }
8463 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8464 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8465 gt_source="external libintl"
8466 else
8467 gt_source="libc"
8468 fi
8469 else
8470 gt_source="included intl directory"
8471 fi
8472 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8473 printf '%s\n' "$gt_source" >&6; }
8474 fi
8475
8476 if test "$USE_NLS" = "yes"; then
8477
8478 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8479 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8480 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8481 printf %s "checking how to link with libintl... " >&6; }
8482 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8483 printf '%s\n' "$LIBINTL" >&6; }
8484
8485 for element in $INCINTL; do
8486 haveit=
8487 for x in $CPPFLAGS; do
8488
8489 acl_save_prefix="$prefix"
8490 prefix="$acl_final_prefix"
8491 acl_save_exec_prefix="$exec_prefix"
8492 exec_prefix="$acl_final_exec_prefix"
8493 eval x=\"$x\"
8494 exec_prefix="$acl_save_exec_prefix"
8495 prefix="$acl_save_prefix"
8496
8497 if test "X$x" = "X$element"; then
8498 haveit=yes
8499 break
8500 fi
8501 done
8502 if test -z "$haveit"; then
8503 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8504 fi
8505 done
8506
8507 fi
8508
8509
8510 printf '%s\n' "#define HAVE_GETTEXT 1" >>confdefs.h
8511
8512
8513 printf '%s\n' "#define HAVE_DCGETTEXT 1" >>confdefs.h
8514
8515 fi
8516
8517 POSUB=po
8518 fi
8519
8520
8521
8522 INTLLIBS="$LIBINTL"
8523
8524
8525
8526
8527
8528
8529
8530
8531 # options
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552 # Check whether --enable-debug was given.
8553 if test ${enable_debug+y}
8554 then :
8555 enableval=$enable_debug;
8556 else case e in #(
8557 e) enable_debug=no ;;
8558 esac
8559 fi
8560
8561
8562 # Check whether --enable-devel was given.
8563 if test ${enable_devel+y}
8564 then :
8565 enableval=$enable_devel;
8566 else case e in #(
8567 e) enable_devel=no ;;
8568 esac
8569 fi
8570
8571
8572 # Check whether --enable-introspection was given.
8573 if test ${enable_introspection+y}
8574 then :
8575 enableval=$enable_introspection;
8576 else case e in #(
8577 e) enable_introspection=no ;;
8578 esac
8579 fi
8580
8581
8582 # Check whether --enable-public-libgsequencer was given.
8583 if test ${enable_public_libgsequencer+y}
8584 then :
8585 enableval=$enable_public_libgsequencer;
8586 else case e in #(
8587 e) enable_public_libgsequencer=yes ;;
8588 esac
8589 fi
8590
8591
8592 # Check whether --enable-upstream-gtk-doc was given.
8593 if test ${enable_upstream_gtk_doc+y}
8594 then :
8595 enableval=$enable_upstream_gtk_doc;
8596 else case e in #(
8597 e) enable_upstream_gtk_doc=yes ;;
8598 esac
8599 fi
8600
8601
8602 # Check whether --enable-single-docdir was given.
8603 if test ${enable_single_docdir+y}
8604 then :
8605 enableval=$enable_single_docdir;
8606 else case e in #(
8607 e) enable_single_docdir=no ;;
8608 esac
8609 fi
8610
8611
8612 # Check whether --enable-strip-rt-events was given.
8613 if test ${enable_strip_rt_events+y}
8614 then :
8615 enableval=$enable_strip_rt_events;
8616 else case e in #(
8617 e) enable_strip_rt_events=yes ;;
8618 esac
8619 fi
8620
8621
8622 # Check whether --enable-rt was given.
8623 if test ${enable_rt+y}
8624 then :
8625 enableval=$enable_rt;
8626 else case e in #(
8627 e) enable_rt=yes ;;
8628 esac
8629 fi
8630
8631
8632 # Check whether --enable-w32api was given.
8633 if test ${enable_w32api+y}
8634 then :
8635 enableval=$enable_w32api;
8636 else case e in #(
8637 e) enable_w32api=no ;;
8638 esac
8639 fi
8640
8641
8642 # Check whether --enable-w32-exe-env was given.
8643 if test ${enable_w32_exe_env+y}
8644 then :
8645 enableval=$enable_w32_exe_env;
8646 else case e in #(
8647 e) enable_w32_exe_env=no ;;
8648 esac
8649 fi
8650
8651
8652 # Check whether --enable-osxapi was given.
8653 if test ${enable_osxapi+y}
8654 then :
8655 enableval=$enable_osxapi;
8656 else case e in #(
8657 e) enable_osxapi=no ;;
8658 esac
8659 fi
8660
8661
8662 # Check whether --enable-osx-dmg-env was given.
8663 if test ${enable_osx_dmg_env+y}
8664 then :
8665 enableval=$enable_osx_dmg_env;
8666 else case e in #(
8667 e) enable_osx_dmg_env=no ;;
8668 esac
8669 fi
8670
8671
8672 # Check whether --enable-macos-sandbox was given.
8673 if test ${enable_macos_sandbox+y}
8674 then :
8675 enableval=$enable_macos_sandbox;
8676 else case e in #(
8677 e) enable_macos_sandbox=no ;;
8678 esac
8679 fi
8680
8681
8682 # Check whether --enable-snap-sandbox was given.
8683 if test ${enable_snap_sandbox+y}
8684 then :
8685 enableval=$enable_snap_sandbox;
8686 else case e in #(
8687 e) enable_snap_sandbox=no ;;
8688 esac
8689 fi
8690
8691
8692 # Check whether --enable-flatpak-sandbox was given.
8693 if test ${enable_flatpak_sandbox+y}
8694 then :
8695 enableval=$enable_flatpak_sandbox;
8696 else case e in #(
8697 e) enable_flatpak_sandbox=no ;;
8698 esac
8699 fi
8700
8701
8702 # Check whether --enable-uuid was given.
8703 if test ${enable_uuid+y}
8704 then :
8705 enableval=$enable_uuid;
8706 else case e in #(
8707 e) enable_uuid=yes ;;
8708 esac
8709 fi
8710
8711
8712 # Check whether --enable-alsa was given.
8713 if test ${enable_alsa+y}
8714 then :
8715 enableval=$enable_alsa;
8716 else case e in #(
8717 e) enable_alsa=yes ;;
8718 esac
8719 fi
8720
8721
8722 # Check whether --enable-alsa-compat was given.
8723 if test ${enable_alsa_compat+y}
8724 then :
8725 enableval=$enable_alsa_compat;
8726 else case e in #(
8727 e) enable_alsa_compat=no ;;
8728 esac
8729 fi
8730
8731
8732 # Check whether --enable-oss was given.
8733 if test ${enable_oss+y}
8734 then :
8735 enableval=$enable_oss;
8736 else case e in #(
8737 e) enable_oss=no ;;
8738 esac
8739 fi
8740
8741
8742 # Check whether --enable-jack was given.
8743 if test ${enable_jack+y}
8744 then :
8745 enableval=$enable_jack;
8746 else case e in #(
8747 e) enable_jack=yes ;;
8748 esac
8749 fi
8750
8751
8752 # Check whether --enable-pulse was given.
8753 if test ${enable_pulse+y}
8754 then :
8755 enableval=$enable_pulse;
8756 else case e in #(
8757 e) enable_pulse=yes ;;
8758 esac
8759 fi
8760
8761
8762 # Check whether --enable-core-audio was given.
8763 if test ${enable_core_audio+y}
8764 then :
8765 enableval=$enable_core_audio;
8766 else case e in #(
8767 e) enable_core_audio=no ;;
8768 esac
8769 fi
8770
8771
8772 # Check whether --enable-core-midi was given.
8773 if test ${enable_core_midi+y}
8774 then :
8775 enableval=$enable_core_midi;
8776 else case e in #(
8777 e) enable_core_midi=no ;;
8778 esac
8779 fi
8780
8781
8782 # Check whether --enable-audio-toolbox was given.
8783 if test ${enable_audio_toolbox+y}
8784 then :
8785 enableval=$enable_audio_toolbox;
8786 else case e in #(
8787 e) enable_audio_toolbox=no ;;
8788 esac
8789 fi
8790
8791
8792 # Check whether --enable-audio-unit was given.
8793 if test ${enable_audio_unit+y}
8794 then :
8795 enableval=$enable_audio_unit;
8796 else case e in #(
8797 e) enable_audio_unit=no ;;
8798 esac
8799 fi
8800
8801
8802 # Check whether --enable-audio-unit-plugins was given.
8803 if test ${enable_audio_unit_plugins+y}
8804 then :
8805 enableval=$enable_audio_unit_plugins;
8806 else case e in #(
8807 e) enable_audio_unit_plugins=no ;;
8808 esac
8809 fi
8810
8811
8812 # Check whether --enable-wasapi was given.
8813 if test ${enable_wasapi+y}
8814 then :
8815 enableval=$enable_wasapi;
8816 else case e in #(
8817 e) enable_wasapi=no ;;
8818 esac
8819 fi
8820
8821
8822 # Check whether --enable-libinstpatch was given.
8823 if test ${enable_libinstpatch+y}
8824 then :
8825 enableval=$enable_libinstpatch;
8826 else case e in #(
8827 e) enable_libinstpatch=yes ;;
8828 esac
8829 fi
8830
8831
8832 # Check whether --enable-vst3 was given.
8833 if test ${enable_vst3+y}
8834 then :
8835 enableval=$enable_vst3;
8836 else case e in #(
8837 e) enable_vst3=no ;;
8838 esac
8839 fi
8840
8841
8842 # Check whether --enable-midi2 was given.
8843 if test ${enable_midi2+y}
8844 then :
8845 enableval=$enable_midi2;
8846 else case e in #(
8847 e) enable_midi2=no ;;
8848 esac
8849 fi
8850
8851
8852 # Check whether --enable-pulse was given.
8853 if test ${enable_pulse+y}
8854 then :
8855 enableval=$enable_pulse;
8856 else case e in #(
8857 e) enable_pulse=yes ;;
8858 esac
8859 fi
8860
8861
8862 # Check whether --enable-x11 was given.
8863 if test ${enable_x11+y}
8864 then :
8865 enableval=$enable_x11;
8866 else case e in #(
8867 e) enable_x11=yes ;;
8868 esac
8869 fi
8870
8871
8872 # Check whether --enable-quartz was given.
8873 if test ${enable_quartz+y}
8874 then :
8875 enableval=$enable_quartz;
8876 else case e in #(
8877 e) enable_quartz=no ;;
8878 esac
8879 fi
8880
8881
8882 # Check whether --enable-run-functional-tests was given.
8883 if test ${enable_run_functional_tests+y}
8884 then :
8885 enableval=$enable_run_functional_tests;
8886 else case e in #(
8887 e) enable_run_functional_tests=no ;;
8888 esac
8889 fi
8890
8891
8892 # Check whether --enable-fast-test-mode was given.
8893 if test ${enable_fast_test_mode+y}
8894 then :
8895 enableval=$enable_fast_test_mode;
8896 else case e in #(
8897 e) enable_fast_test_mode=no ;;
8898 esac
8899 fi
8900
8901
8902 # Check whether --enable-run-system-tests was given.
8903 if test ${enable_run_system_tests+y}
8904 then :
8905 enableval=$enable_run_system_tests;
8906 else case e in #(
8907 e) enable_run_system_tests=no ;;
8908 esac
8909 fi
8910
8911
8912 # Check whether --enable-experimental was given.
8913 if test ${enable_experimental+y}
8914 then :
8915 enableval=$enable_experimental;
8916 else case e in #(
8917 e) enable_experimental=no ;;
8918 esac
8919 fi
8920
8921
8922
8923 # Check whether --with-gtk_unix_print was given.
8924 if test ${with_gtk_unix_print+y}
8925 then :
8926 withval=$with_gtk_unix_print;
8927 else case e in #(
8928 e) with_gtk_unix_print=no ;;
8929 esac
8930 fi
8931
8932
8933
8934 # Check whether --with-poppler was given.
8935 if test ${with_poppler+y}
8936 then :
8937 withval=$with_poppler;
8938 else case e in #(
8939 e) with_poppler=no ;;
8940 esac
8941 fi
8942
8943
8944
8945 # Check whether --with-gstreamer was given.
8946 if test ${with_gstreamer+y}
8947 then :
8948 withval=$with_gstreamer;
8949 else case e in #(
8950 e) with_gstreamer=yes ;;
8951 esac
8952 fi
8953
8954
8955
8956 # Check whether --with-vte was given.
8957 if test ${with_vte+y}
8958 then :
8959 withval=$with_vte;
8960 else case e in #(
8961 e) with_vte=no ;;
8962 esac
8963 fi
8964
8965
8966
8967 # Check whether --with-tooltips was given.
8968 if test ${with_tooltips+y}
8969 then :
8970 withval=$with_tooltips;
8971 else case e in #(
8972 e) with_tooltips=no ;;
8973 esac
8974 fi
8975
8976
8977 # Checks for programs.
8978 ac_ext=cpp
8979 ac_cpp='$CXXCPP $CPPFLAGS'
8980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8983 if test -z "$CXX"; then
8984 if test -n "$CCC"; then
8985 CXX=$CCC
8986 else
8987 if test -n "$ac_tool_prefix"; then
8988 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
8989 do
8990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8992 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8993 printf %s "checking for $ac_word... " >&6; }
8994 if test ${ac_cv_prog_CXX+y}
8995 then :
8996 printf %s "(cached) " >&6
8997 else case e in #(
8998 e) if test -n "$CXX"; then
8999 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9000 else
9001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9002 for as_dir in $PATH
9003 do
9004 IFS=$as_save_IFS
9005 case $as_dir in #(((
9006 '') as_dir=./ ;;
9007 */) ;;
9008 *) as_dir=$as_dir/ ;;
9009 esac
9010 for ac_exec_ext in '' $ac_executable_extensions; do
9011 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9012 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9013 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9014 break 2
9015 fi
9016 done
9017 done
9018 IFS=$as_save_IFS
9019
9020 fi ;;
9021 esac
9022 fi
9023 CXX=$ac_cv_prog_CXX
9024 if test -n "$CXX"; then
9025 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
9026 printf '%s\n' "$CXX" >&6; }
9027 else
9028 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9029 printf '%s\n' "no" >&6; }
9030 fi
9031
9032
9033 test -n "$CXX" && break
9034 done
9035 fi
9036 if test -z "$CXX"; then
9037 ac_ct_CXX=$CXX
9038 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
9039 do
9040 # Extract the first word of "$ac_prog", so it can be a program name with args.
9041 set dummy $ac_prog; ac_word=$2
9042 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9043 printf %s "checking for $ac_word... " >&6; }
9044 if test ${ac_cv_prog_ac_ct_CXX+y}
9045 then :
9046 printf %s "(cached) " >&6
9047 else case e in #(
9048 e) if test -n "$ac_ct_CXX"; then
9049 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9050 else
9051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9052 for as_dir in $PATH
9053 do
9054 IFS=$as_save_IFS
9055 case $as_dir in #(((
9056 '') as_dir=./ ;;
9057 */) ;;
9058 *) as_dir=$as_dir/ ;;
9059 esac
9060 for ac_exec_ext in '' $ac_executable_extensions; do
9061 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9062 ac_cv_prog_ac_ct_CXX="$ac_prog"
9063 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9064 break 2
9065 fi
9066 done
9067 done
9068 IFS=$as_save_IFS
9069
9070 fi ;;
9071 esac
9072 fi
9073 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9074 if test -n "$ac_ct_CXX"; then
9075 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
9076 printf '%s\n' "$ac_ct_CXX" >&6; }
9077 else
9078 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9079 printf '%s\n' "no" >&6; }
9080 fi
9081
9082
9083 test -n "$ac_ct_CXX" && break
9084 done
9085
9086 if test "x$ac_ct_CXX" = x; then
9087 CXX="g++"
9088 else
9089 case $cross_compiling:$ac_tool_warned in
9090 yes:)
9091 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9092 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9093 ac_tool_warned=yes ;;
9094 esac
9095 CXX=$ac_ct_CXX
9096 fi
9097 fi
9098
9099 fi
9100 fi
9101 # Provide some information about the compiler.
9102 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
9103 set X $ac_compile
9104 ac_compiler=$2
9105 for ac_option in --version -v -V -qversion; do
9106 { { ac_try="$ac_compiler $ac_option >&5"
9107 case "(($ac_try" in
9108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9109 *) ac_try_echo=$ac_try;;
9110 esac
9111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9112 printf '%s\n' "$ac_try_echo"; } >&5
9113 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9114 ac_status=$?
9115 if test -s conftest.err; then
9116 sed '10a\
9117 ... rest of stderr output deleted ...
9118 10q' conftest.err >conftest.er1
9119 cat conftest.er1 >&5
9120 fi
9121 rm -f conftest.er1 conftest.err
9122 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9123 test $ac_status = 0; }
9124 done
9125
9126 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
9127 printf %s "checking whether the compiler supports GNU C++... " >&6; }
9128 if test ${ac_cv_cxx_compiler_gnu+y}
9129 then :
9130 printf %s "(cached) " >&6
9131 else case e in #(
9132 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9134
9135 int
9136 main (void)
9137 {
9138 #ifndef __GNUC__
9139 choke me
9140 #endif
9141
9142 ;
9143 return 0;
9144 }
9145 _ACEOF
9146 if ac_fn_cxx_try_compile "$LINENO"
9147 then :
9148 ac_compiler_gnu=yes
9149 else case e in #(
9150 e) ac_compiler_gnu=no ;;
9151 esac
9152 fi
9153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9154 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9155 ;;
9156 esac
9157 fi
9158 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
9159 printf '%s\n' "$ac_cv_cxx_compiler_gnu" >&6; }
9160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9161
9162 if test $ac_compiler_gnu = yes; then
9163 GXX=yes
9164 else
9165 GXX=
9166 fi
9167 ac_test_CXXFLAGS=${CXXFLAGS+y}
9168 ac_save_CXXFLAGS=$CXXFLAGS
9169 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
9170 printf %s "checking whether $CXX accepts -g... " >&6; }
9171 if test ${ac_cv_prog_cxx_g+y}
9172 then :
9173 printf %s "(cached) " >&6
9174 else case e in #(
9175 e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9176 ac_cxx_werror_flag=yes
9177 ac_cv_prog_cxx_g=no
9178 CXXFLAGS="-g"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9181
9182 int
9183 main (void)
9184 {
9185
9186 ;
9187 return 0;
9188 }
9189 _ACEOF
9190 if ac_fn_cxx_try_compile "$LINENO"
9191 then :
9192 ac_cv_prog_cxx_g=yes
9193 else case e in #(
9194 e) CXXFLAGS=""
9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9196 /* end confdefs.h. */
9197
9198 int
9199 main (void)
9200 {
9201
9202 ;
9203 return 0;
9204 }
9205 _ACEOF
9206 if ac_fn_cxx_try_compile "$LINENO"
9207 then :
9208
9209 else case e in #(
9210 e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9211 CXXFLAGS="-g"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9214
9215 int
9216 main (void)
9217 {
9218
9219 ;
9220 return 0;
9221 }
9222 _ACEOF
9223 if ac_fn_cxx_try_compile "$LINENO"
9224 then :
9225 ac_cv_prog_cxx_g=yes
9226 fi
9227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
9228 esac
9229 fi
9230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
9231 esac
9232 fi
9233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9234 ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;;
9235 esac
9236 fi
9237 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
9238 printf '%s\n' "$ac_cv_prog_cxx_g" >&6; }
9239 if test $ac_test_CXXFLAGS; then
9240 CXXFLAGS=$ac_save_CXXFLAGS
9241 elif test $ac_cv_prog_cxx_g = yes; then
9242 if test "$GXX" = yes; then
9243 CXXFLAGS="-g -O2"
9244 else
9245 CXXFLAGS="-g"
9246 fi
9247 else
9248 if test "$GXX" = yes; then
9249 CXXFLAGS="-O2"
9250 else
9251 CXXFLAGS=
9252 fi
9253 fi
9254 ac_ext=c
9255 ac_cpp='$CPP $CPPFLAGS'
9256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9259
9260 depcc="$CXX" am_compiler_list=
9261
9262 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
9263 printf %s "checking dependency style of $depcc... " >&6; }
9264 if test ${am_cv_CXX_dependencies_compiler_type+y}
9265 then :
9266 printf %s "(cached) " >&6
9267 else case e in #(
9268 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9269 # We make a subdir and do the tests there. Otherwise we can end up
9270 # making bogus files that we don't know about and never remove. For
9271 # instance it was reported that on HP-UX the gcc test will end up
9272 # making a dummy file named 'D' -- because '-MD' means "put the output
9273 # in D".
9274 rm -rf conftest.dir
9275 mkdir conftest.dir
9276 # Copy depcomp to subdir because otherwise we won't find it if we're
9277 # using a relative directory.
9278 cp "$am_depcomp" conftest.dir
9279 cd conftest.dir
9280 # We will build objects and dependencies in a subdirectory because
9281 # it helps to detect inapplicable dependency modes. For instance
9282 # both Tru64's cc and ICC support -MD to output dependencies as a
9283 # side effect of compilation, but ICC will put the dependencies in
9284 # the current directory while Tru64 will put them in the object
9285 # directory.
9286 mkdir sub
9287
9288 am_cv_CXX_dependencies_compiler_type=none
9289 if test "$am_compiler_list" = ""; then
9290 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9291 fi
9292 am__universal=false
9293 case " $depcc " in #(
9294 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9295 esac
9296
9297 for depmode in $am_compiler_list; do
9298 # Setup a source with many dependencies, because some compilers
9299 # like to wrap large dependency lists on column 80 (with \), and
9300 # we should not choose a depcomp mode which is confused by this.
9301 #
9302 # We need to recreate these files for each test, as the compiler may
9303 # overwrite some of them when testing with obscure command lines.
9304 # This happens at least with the AIX C compiler.
9305 : > sub/conftest.c
9306 for i in 1 2 3 4 5 6; do
9307 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9308 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
9309 # Solaris 10 /bin/sh.
9310 echo '/* dummy */' > sub/conftst$i.h
9311 done
9312 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9313
9314 # We check with '-c' and '-o' for the sake of the "dashmstdout"
9315 # mode. It turns out that the SunPro C++ compiler does not properly
9316 # handle '-M -o', and we need to detect this. Also, some Intel
9317 # versions had trouble with output in subdirs.
9318 am__obj=sub/conftest.${OBJEXT-o}
9319 am__minus_obj="-o $am__obj"
9320 case $depmode in
9321 gcc)
9322 # This depmode causes a compiler race in universal mode.
9323 test "$am__universal" = false || continue
9324 ;;
9325 nosideeffect)
9326 # After this tag, mechanisms are not by side-effect, so they'll
9327 # only be used when explicitly requested.
9328 if test "x$enable_dependency_tracking" = xyes; then
9329 continue
9330 else
9331 break
9332 fi
9333 ;;
9334 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
9335 # This compiler won't grok '-c -o', but also, the minuso test has
9336 # not run yet. These depmodes are late enough in the game, and
9337 # so weak that their functioning should not be impacted.
9338 am__obj=conftest.${OBJEXT-o}
9339 am__minus_obj=
9340 ;;
9341 none) break ;;
9342 esac
9343 if depmode=$depmode \
9344 source=sub/conftest.c object=$am__obj \
9345 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9346 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9347 >/dev/null 2>conftest.err &&
9348 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9349 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9350 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9351 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9352 # icc doesn't choke on unknown options, it will just issue warnings
9353 # or remarks (even with -Werror). So we grep stderr for any message
9354 # that says an option was ignored or not supported.
9355 # When given -MP, icc 7.0 and 7.1 complain thus:
9356 # icc: Command line warning: ignoring option '-M'; no argument required
9357 # The diagnosis changed in icc 8.0:
9358 # icc: Command line remark: option '-MP' not supported
9359 if (grep 'ignoring option' conftest.err ||
9360 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9361 am_cv_CXX_dependencies_compiler_type=$depmode
9362 break
9363 fi
9364 fi
9365 done
9366
9367 cd ..
9368 rm -rf conftest.dir
9369 else
9370 am_cv_CXX_dependencies_compiler_type=none
9371 fi
9372 ;;
9373 esac
9374 fi
9375 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
9376 printf '%s\n' "$am_cv_CXX_dependencies_compiler_type" >&6; }
9377 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9378
9379 if
9380 test "x$enable_dependency_tracking" != xno \
9381 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9382 am__fastdepCXX_TRUE=
9383 am__fastdepCXX_FALSE='#'
9384 else
9385 am__fastdepCXX_TRUE='#'
9386 am__fastdepCXX_FALSE=
9387 fi
9388
9389
9390 for ac_prog in gawk mawk nawk awk 'busybox awk'
9391 do
9392 # Extract the first word of "$ac_prog", so it can be a program name with args.
9393 set dummy $ac_prog; ac_word=$2
9394 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9395 printf %s "checking for $ac_word... " >&6; }
9396 if test ${ac_cv_prog_AWK+y}
9397 then :
9398 printf %s "(cached) " >&6
9399 else case e in #(
9400 e) if test -n "$AWK"; then
9401 ac_cv_prog_AWK="$AWK" # Let the user override the test.
9402 else
9403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9404 for as_dir in $PATH
9405 do
9406 IFS=$as_save_IFS
9407 case $as_dir in #(((
9408 '') as_dir=./ ;;
9409 */) ;;
9410 *) as_dir=$as_dir/ ;;
9411 esac
9412 for ac_exec_ext in '' $ac_executable_extensions; do
9413 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9414 ac_cv_prog_AWK="$ac_prog"
9415 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9416 break 2
9417 fi
9418 done
9419 done
9420 IFS=$as_save_IFS
9421
9422 fi ;;
9423 esac
9424 fi
9425 AWK=$ac_cv_prog_AWK
9426 if test -n "$AWK"; then
9427 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9428 printf '%s\n' "$AWK" >&6; }
9429 else
9430 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9431 printf '%s\n' "no" >&6; }
9432 fi
9433
9434
9435 test -n "$AWK" && break
9436 done
9437
9438 ac_ext=c
9439 ac_cpp='$CPP $CPPFLAGS'
9440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9443 if test -n "$ac_tool_prefix"; then
9444 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9445 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9446 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9447 printf %s "checking for $ac_word... " >&6; }
9448 if test ${ac_cv_prog_CC+y}
9449 then :
9450 printf %s "(cached) " >&6
9451 else case e in #(
9452 e) if test -n "$CC"; then
9453 ac_cv_prog_CC="$CC" # Let the user override the test.
9454 else
9455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9456 for as_dir in $PATH
9457 do
9458 IFS=$as_save_IFS
9459 case $as_dir in #(((
9460 '') as_dir=./ ;;
9461 */) ;;
9462 *) as_dir=$as_dir/ ;;
9463 esac
9464 for ac_exec_ext in '' $ac_executable_extensions; do
9465 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9466 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9467 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9468 break 2
9469 fi
9470 done
9471 done
9472 IFS=$as_save_IFS
9473
9474 fi ;;
9475 esac
9476 fi
9477 CC=$ac_cv_prog_CC
9478 if test -n "$CC"; then
9479 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9480 printf '%s\n' "$CC" >&6; }
9481 else
9482 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9483 printf '%s\n' "no" >&6; }
9484 fi
9485
9486
9487 fi
9488 if test -z "$ac_cv_prog_CC"; then
9489 ac_ct_CC=$CC
9490 # Extract the first word of "gcc", so it can be a program name with args.
9491 set dummy gcc; ac_word=$2
9492 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9493 printf %s "checking for $ac_word... " >&6; }
9494 if test ${ac_cv_prog_ac_ct_CC+y}
9495 then :
9496 printf %s "(cached) " >&6
9497 else case e in #(
9498 e) if test -n "$ac_ct_CC"; then
9499 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9500 else
9501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9502 for as_dir in $PATH
9503 do
9504 IFS=$as_save_IFS
9505 case $as_dir in #(((
9506 '') as_dir=./ ;;
9507 */) ;;
9508 *) as_dir=$as_dir/ ;;
9509 esac
9510 for ac_exec_ext in '' $ac_executable_extensions; do
9511 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9512 ac_cv_prog_ac_ct_CC="gcc"
9513 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9514 break 2
9515 fi
9516 done
9517 done
9518 IFS=$as_save_IFS
9519
9520 fi ;;
9521 esac
9522 fi
9523 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9524 if test -n "$ac_ct_CC"; then
9525 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
9526 printf '%s\n' "$ac_ct_CC" >&6; }
9527 else
9528 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9529 printf '%s\n' "no" >&6; }
9530 fi
9531
9532 if test "x$ac_ct_CC" = x; then
9533 CC=""
9534 else
9535 case $cross_compiling:$ac_tool_warned in
9536 yes:)
9537 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9538 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9539 ac_tool_warned=yes ;;
9540 esac
9541 CC=$ac_ct_CC
9542 fi
9543 else
9544 CC="$ac_cv_prog_CC"
9545 fi
9546
9547 if test -z "$CC"; then
9548 if test -n "$ac_tool_prefix"; then
9549 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9550 set dummy ${ac_tool_prefix}cc; ac_word=$2
9551 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9552 printf %s "checking for $ac_word... " >&6; }
9553 if test ${ac_cv_prog_CC+y}
9554 then :
9555 printf %s "(cached) " >&6
9556 else case e in #(
9557 e) if test -n "$CC"; then
9558 ac_cv_prog_CC="$CC" # Let the user override the test.
9559 else
9560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9561 for as_dir in $PATH
9562 do
9563 IFS=$as_save_IFS
9564 case $as_dir in #(((
9565 '') as_dir=./ ;;
9566 */) ;;
9567 *) as_dir=$as_dir/ ;;
9568 esac
9569 for ac_exec_ext in '' $ac_executable_extensions; do
9570 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9571 ac_cv_prog_CC="${ac_tool_prefix}cc"
9572 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9573 break 2
9574 fi
9575 done
9576 done
9577 IFS=$as_save_IFS
9578
9579 fi ;;
9580 esac
9581 fi
9582 CC=$ac_cv_prog_CC
9583 if test -n "$CC"; then
9584 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9585 printf '%s\n' "$CC" >&6; }
9586 else
9587 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9588 printf '%s\n' "no" >&6; }
9589 fi
9590
9591
9592 fi
9593 fi
9594 if test -z "$CC"; then
9595 # Extract the first word of "cc", so it can be a program name with args.
9596 set dummy cc; ac_word=$2
9597 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9598 printf %s "checking for $ac_word... " >&6; }
9599 if test ${ac_cv_prog_CC+y}
9600 then :
9601 printf %s "(cached) " >&6
9602 else case e in #(
9603 e) if test -n "$CC"; then
9604 ac_cv_prog_CC="$CC" # Let the user override the test.
9605 else
9606 ac_prog_rejected=no
9607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9608 for as_dir in $PATH
9609 do
9610 IFS=$as_save_IFS
9611 case $as_dir in #(((
9612 '') as_dir=./ ;;
9613 */) ;;
9614 *) as_dir=$as_dir/ ;;
9615 esac
9616 for ac_exec_ext in '' $ac_executable_extensions; do
9617 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9618 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9619 ac_prog_rejected=yes
9620 continue
9621 fi
9622 ac_cv_prog_CC="cc"
9623 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9624 break 2
9625 fi
9626 done
9627 done
9628 IFS=$as_save_IFS
9629
9630 if test $ac_prog_rejected = yes; then
9631 # We found a bogon in the path, so make sure we never use it.
9632 set dummy $ac_cv_prog_CC
9633 shift
9634 if test $# != 0; then
9635 # We chose a different compiler from the bogus one.
9636 # However, it has the same basename, so the bogon will be chosen
9637 # first if we set CC to just the basename; use the full file name.
9638 shift
9639 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
9640 fi
9641 fi
9642 fi ;;
9643 esac
9644 fi
9645 CC=$ac_cv_prog_CC
9646 if test -n "$CC"; then
9647 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9648 printf '%s\n' "$CC" >&6; }
9649 else
9650 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9651 printf '%s\n' "no" >&6; }
9652 fi
9653
9654
9655 fi
9656 if test -z "$CC"; then
9657 if test -n "$ac_tool_prefix"; then
9658 for ac_prog in cl.exe
9659 do
9660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9662 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 printf %s "checking for $ac_word... " >&6; }
9664 if test ${ac_cv_prog_CC+y}
9665 then :
9666 printf %s "(cached) " >&6
9667 else case e in #(
9668 e) if test -n "$CC"; then
9669 ac_cv_prog_CC="$CC" # Let the user override the test.
9670 else
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672 for as_dir in $PATH
9673 do
9674 IFS=$as_save_IFS
9675 case $as_dir in #(((
9676 '') as_dir=./ ;;
9677 */) ;;
9678 *) as_dir=$as_dir/ ;;
9679 esac
9680 for ac_exec_ext in '' $ac_executable_extensions; do
9681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9682 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9683 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9684 break 2
9685 fi
9686 done
9687 done
9688 IFS=$as_save_IFS
9689
9690 fi ;;
9691 esac
9692 fi
9693 CC=$ac_cv_prog_CC
9694 if test -n "$CC"; then
9695 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9696 printf '%s\n' "$CC" >&6; }
9697 else
9698 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 printf '%s\n' "no" >&6; }
9700 fi
9701
9702
9703 test -n "$CC" && break
9704 done
9705 fi
9706 if test -z "$CC"; then
9707 ac_ct_CC=$CC
9708 for ac_prog in cl.exe
9709 do
9710 # Extract the first word of "$ac_prog", so it can be a program name with args.
9711 set dummy $ac_prog; ac_word=$2
9712 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9713 printf %s "checking for $ac_word... " >&6; }
9714 if test ${ac_cv_prog_ac_ct_CC+y}
9715 then :
9716 printf %s "(cached) " >&6
9717 else case e in #(
9718 e) if test -n "$ac_ct_CC"; then
9719 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9720 else
9721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9722 for as_dir in $PATH
9723 do
9724 IFS=$as_save_IFS
9725 case $as_dir in #(((
9726 '') as_dir=./ ;;
9727 */) ;;
9728 *) as_dir=$as_dir/ ;;
9729 esac
9730 for ac_exec_ext in '' $ac_executable_extensions; do
9731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9732 ac_cv_prog_ac_ct_CC="$ac_prog"
9733 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9734 break 2
9735 fi
9736 done
9737 done
9738 IFS=$as_save_IFS
9739
9740 fi ;;
9741 esac
9742 fi
9743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9744 if test -n "$ac_ct_CC"; then
9745 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
9746 printf '%s\n' "$ac_ct_CC" >&6; }
9747 else
9748 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9749 printf '%s\n' "no" >&6; }
9750 fi
9751
9752
9753 test -n "$ac_ct_CC" && break
9754 done
9755
9756 if test "x$ac_ct_CC" = x; then
9757 CC=""
9758 else
9759 case $cross_compiling:$ac_tool_warned in
9760 yes:)
9761 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9762 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9763 ac_tool_warned=yes ;;
9764 esac
9765 CC=$ac_ct_CC
9766 fi
9767 fi
9768
9769 fi
9770 if test -z "$CC"; then
9771 if test -n "$ac_tool_prefix"; then
9772 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
9773 set dummy ${ac_tool_prefix}clang; ac_word=$2
9774 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9775 printf %s "checking for $ac_word... " >&6; }
9776 if test ${ac_cv_prog_CC+y}
9777 then :
9778 printf %s "(cached) " >&6
9779 else case e in #(
9780 e) if test -n "$CC"; then
9781 ac_cv_prog_CC="$CC" # Let the user override the test.
9782 else
9783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9784 for as_dir in $PATH
9785 do
9786 IFS=$as_save_IFS
9787 case $as_dir in #(((
9788 '') as_dir=./ ;;
9789 */) ;;
9790 *) as_dir=$as_dir/ ;;
9791 esac
9792 for ac_exec_ext in '' $ac_executable_extensions; do
9793 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9794 ac_cv_prog_CC="${ac_tool_prefix}clang"
9795 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9796 break 2
9797 fi
9798 done
9799 done
9800 IFS=$as_save_IFS
9801
9802 fi ;;
9803 esac
9804 fi
9805 CC=$ac_cv_prog_CC
9806 if test -n "$CC"; then
9807 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9808 printf '%s\n' "$CC" >&6; }
9809 else
9810 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9811 printf '%s\n' "no" >&6; }
9812 fi
9813
9814
9815 fi
9816 if test -z "$ac_cv_prog_CC"; then
9817 ac_ct_CC=$CC
9818 # Extract the first word of "clang", so it can be a program name with args.
9819 set dummy clang; ac_word=$2
9820 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9821 printf %s "checking for $ac_word... " >&6; }
9822 if test ${ac_cv_prog_ac_ct_CC+y}
9823 then :
9824 printf %s "(cached) " >&6
9825 else case e in #(
9826 e) if test -n "$ac_ct_CC"; then
9827 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9828 else
9829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9830 for as_dir in $PATH
9831 do
9832 IFS=$as_save_IFS
9833 case $as_dir in #(((
9834 '') as_dir=./ ;;
9835 */) ;;
9836 *) as_dir=$as_dir/ ;;
9837 esac
9838 for ac_exec_ext in '' $ac_executable_extensions; do
9839 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9840 ac_cv_prog_ac_ct_CC="clang"
9841 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9842 break 2
9843 fi
9844 done
9845 done
9846 IFS=$as_save_IFS
9847
9848 fi ;;
9849 esac
9850 fi
9851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9852 if test -n "$ac_ct_CC"; then
9853 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
9854 printf '%s\n' "$ac_ct_CC" >&6; }
9855 else
9856 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
9857 printf '%s\n' "no" >&6; }
9858 fi
9859
9860 if test "x$ac_ct_CC" = x; then
9861 CC=""
9862 else
9863 case $cross_compiling:$ac_tool_warned in
9864 yes:)
9865 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9866 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9867 ac_tool_warned=yes ;;
9868 esac
9869 CC=$ac_ct_CC
9870 fi
9871 else
9872 CC="$ac_cv_prog_CC"
9873 fi
9874
9875 fi
9876
9877
9878 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
9879 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
9880 as_fn_error $? "no acceptable C compiler found in \$PATH
9881 See 'config.log' for more details" "$LINENO" 5; }
9882
9883 # Provide some information about the compiler.
9884 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
9885 set X $ac_compile
9886 ac_compiler=$2
9887 for ac_option in --version -v -V -qversion -version; do
9888 { { ac_try="$ac_compiler $ac_option >&5"
9889 case "(($ac_try" in
9890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9891 *) ac_try_echo=$ac_try;;
9892 esac
9893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9894 printf '%s\n' "$ac_try_echo"; } >&5
9895 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9896 ac_status=$?
9897 if test -s conftest.err; then
9898 sed '10a\
9899 ... rest of stderr output deleted ...
9900 10q' conftest.err >conftest.er1
9901 cat conftest.er1 >&5
9902 fi
9903 rm -f conftest.er1 conftest.err
9904 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9905 test $ac_status = 0; }
9906 done
9907
9908 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
9909 printf %s "checking whether the compiler supports GNU C... " >&6; }
9910 if test ${ac_cv_c_compiler_gnu+y}
9911 then :
9912 printf %s "(cached) " >&6
9913 else case e in #(
9914 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916
9917 int
9918 main (void)
9919 {
9920 #ifndef __GNUC__
9921 choke me
9922 #endif
9923
9924 ;
9925 return 0;
9926 }
9927 _ACEOF
9928 if ac_fn_c_try_compile "$LINENO"
9929 then :
9930 ac_compiler_gnu=yes
9931 else case e in #(
9932 e) ac_compiler_gnu=no ;;
9933 esac
9934 fi
9935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9936 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9937 ;;
9938 esac
9939 fi
9940 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
9941 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
9942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9943
9944 if test $ac_compiler_gnu = yes; then
9945 GCC=yes
9946 else
9947 GCC=
9948 fi
9949 ac_test_CFLAGS=${CFLAGS+y}
9950 ac_save_CFLAGS=$CFLAGS
9951 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
9952 printf %s "checking whether $CC accepts -g... " >&6; }
9953 if test ${ac_cv_prog_cc_g+y}
9954 then :
9955 printf %s "(cached) " >&6
9956 else case e in #(
9957 e) ac_save_c_werror_flag=$ac_c_werror_flag
9958 ac_c_werror_flag=yes
9959 ac_cv_prog_cc_g=no
9960 CFLAGS="-g"
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963
9964 int
9965 main (void)
9966 {
9967
9968 ;
9969 return 0;
9970 }
9971 _ACEOF
9972 if ac_fn_c_try_compile "$LINENO"
9973 then :
9974 ac_cv_prog_cc_g=yes
9975 else case e in #(
9976 e) CFLAGS=""
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979
9980 int
9981 main (void)
9982 {
9983
9984 ;
9985 return 0;
9986 }
9987 _ACEOF
9988 if ac_fn_c_try_compile "$LINENO"
9989 then :
9990
9991 else case e in #(
9992 e) ac_c_werror_flag=$ac_save_c_werror_flag
9993 CFLAGS="-g"
9994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9996
9997 int
9998 main (void)
9999 {
10000
10001 ;
10002 return 0;
10003 }
10004 _ACEOF
10005 if ac_fn_c_try_compile "$LINENO"
10006 then :
10007 ac_cv_prog_cc_g=yes
10008 fi
10009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
10010 esac
10011 fi
10012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
10013 esac
10014 fi
10015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10016 ac_c_werror_flag=$ac_save_c_werror_flag ;;
10017 esac
10018 fi
10019 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
10020 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
10021 if test $ac_test_CFLAGS; then
10022 CFLAGS=$ac_save_CFLAGS
10023 elif test $ac_cv_prog_cc_g = yes; then
10024 if test "$GCC" = yes; then
10025 CFLAGS="-g -O2"
10026 else
10027 CFLAGS="-g"
10028 fi
10029 else
10030 if test "$GCC" = yes; then
10031 CFLAGS="-O2"
10032 else
10033 CFLAGS=
10034 fi
10035 fi
10036 ac_prog_cc_stdc=no
10037 if test x$ac_prog_cc_stdc = xno
10038 then :
10039 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
10040 printf %s "checking for $CC option to enable C23 features... " >&6; }
10041 if test ${ac_cv_prog_cc_c23+y}
10042 then :
10043 printf %s "(cached) " >&6
10044 else case e in #(
10045 e) ac_cv_prog_cc_c23=no
10046 ac_save_CC=$CC
10047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10048 /* end confdefs.h. */
10049 $ac_c_conftest_c23_program
10050 _ACEOF
10051 for ac_arg in '' -std=gnu23
10052 do
10053 CC="$ac_save_CC $ac_arg"
10054 if ac_fn_c_try_compile "$LINENO"
10055 then :
10056 ac_cv_prog_cc_c23=$ac_arg
10057 fi
10058 rm -f core conftest.err conftest.$ac_objext conftest.beam
10059 test "x$ac_cv_prog_cc_c23" != "xno" && break
10060 done
10061 rm -f conftest.$ac_ext
10062 CC=$ac_save_CC ;;
10063 esac
10064 fi
10065
10066 if test "x$ac_cv_prog_cc_c23" = xno
10067 then :
10068 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10069 printf '%s\n' "unsupported" >&6; }
10070 else case e in #(
10071 e) if test "x$ac_cv_prog_cc_c23" = x
10072 then :
10073 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10074 printf '%s\n' "none needed" >&6; }
10075 else case e in #(
10076 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
10077 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
10078 CC="$CC $ac_cv_prog_cc_c23" ;;
10079 esac
10080 fi
10081 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
10082 ac_prog_cc_stdc=c23 ;;
10083 esac
10084 fi
10085 fi
10086 if test x$ac_prog_cc_stdc = xno
10087 then :
10088 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
10089 printf %s "checking for $CC option to enable C11 features... " >&6; }
10090 if test ${ac_cv_prog_cc_c11+y}
10091 then :
10092 printf %s "(cached) " >&6
10093 else case e in #(
10094 e) ac_cv_prog_cc_c11=no
10095 ac_save_CC=$CC
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10098 $ac_c_conftest_c11_program
10099 _ACEOF
10100 for ac_arg in '' -std=gnu11 -std:c11
10101 do
10102 CC="$ac_save_CC $ac_arg"
10103 if ac_fn_c_try_compile "$LINENO"
10104 then :
10105 ac_cv_prog_cc_c11=$ac_arg
10106 fi
10107 rm -f core conftest.err conftest.$ac_objext conftest.beam
10108 test "x$ac_cv_prog_cc_c11" != "xno" && break
10109 done
10110 rm -f conftest.$ac_ext
10111 CC=$ac_save_CC ;;
10112 esac
10113 fi
10114
10115 if test "x$ac_cv_prog_cc_c11" = xno
10116 then :
10117 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10118 printf '%s\n' "unsupported" >&6; }
10119 else case e in #(
10120 e) if test "x$ac_cv_prog_cc_c11" = x
10121 then :
10122 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10123 printf '%s\n' "none needed" >&6; }
10124 else case e in #(
10125 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
10126 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
10127 CC="$CC $ac_cv_prog_cc_c11" ;;
10128 esac
10129 fi
10130 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
10131 ac_prog_cc_stdc=c11 ;;
10132 esac
10133 fi
10134 fi
10135 if test x$ac_prog_cc_stdc = xno
10136 then :
10137 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10138 printf %s "checking for $CC option to enable C99 features... " >&6; }
10139 if test ${ac_cv_prog_cc_c99+y}
10140 then :
10141 printf %s "(cached) " >&6
10142 else case e in #(
10143 e) ac_cv_prog_cc_c99=no
10144 ac_save_CC=$CC
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10147 $ac_c_conftest_c99_program
10148 _ACEOF
10149 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
10150 do
10151 CC="$ac_save_CC $ac_arg"
10152 if ac_fn_c_try_compile "$LINENO"
10153 then :
10154 ac_cv_prog_cc_c99=$ac_arg
10155 fi
10156 rm -f core conftest.err conftest.$ac_objext conftest.beam
10157 test "x$ac_cv_prog_cc_c99" != "xno" && break
10158 done
10159 rm -f conftest.$ac_ext
10160 CC=$ac_save_CC ;;
10161 esac
10162 fi
10163
10164 if test "x$ac_cv_prog_cc_c99" = xno
10165 then :
10166 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10167 printf '%s\n' "unsupported" >&6; }
10168 else case e in #(
10169 e) if test "x$ac_cv_prog_cc_c99" = x
10170 then :
10171 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10172 printf '%s\n' "none needed" >&6; }
10173 else case e in #(
10174 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
10175 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
10176 CC="$CC $ac_cv_prog_cc_c99" ;;
10177 esac
10178 fi
10179 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
10180 ac_prog_cc_stdc=c99 ;;
10181 esac
10182 fi
10183 fi
10184 if test x$ac_prog_cc_stdc = xno
10185 then :
10186 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
10187 printf %s "checking for $CC option to enable C89 features... " >&6; }
10188 if test ${ac_cv_prog_cc_c89+y}
10189 then :
10190 printf %s "(cached) " >&6
10191 else case e in #(
10192 e) ac_cv_prog_cc_c89=no
10193 ac_save_CC=$CC
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10196 $ac_c_conftest_c89_program
10197 _ACEOF
10198 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10199 do
10200 CC="$ac_save_CC $ac_arg"
10201 if ac_fn_c_try_compile "$LINENO"
10202 then :
10203 ac_cv_prog_cc_c89=$ac_arg
10204 fi
10205 rm -f core conftest.err conftest.$ac_objext conftest.beam
10206 test "x$ac_cv_prog_cc_c89" != "xno" && break
10207 done
10208 rm -f conftest.$ac_ext
10209 CC=$ac_save_CC ;;
10210 esac
10211 fi
10212
10213 if test "x$ac_cv_prog_cc_c89" = xno
10214 then :
10215 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10216 printf '%s\n' "unsupported" >&6; }
10217 else case e in #(
10218 e) if test "x$ac_cv_prog_cc_c89" = x
10219 then :
10220 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10221 printf '%s\n' "none needed" >&6; }
10222 else case e in #(
10223 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
10224 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
10225 CC="$CC $ac_cv_prog_cc_c89" ;;
10226 esac
10227 fi
10228 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
10229 ac_prog_cc_stdc=c89 ;;
10230 esac
10231 fi
10232 fi
10233
10234 ac_ext=c
10235 ac_cpp='$CPP $CPPFLAGS'
10236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10239
10240
10241 ac_ext=c
10242 ac_cpp='$CPP $CPPFLAGS'
10243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10246 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
10247 printf %s "checking whether $CC understands -c and -o together... " >&6; }
10248 if test ${am_cv_prog_cc_c_o+y}
10249 then :
10250 printf %s "(cached) " >&6
10251 else case e in #(
10252 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10254
10255 int
10256 main (void)
10257 {
10258
10259 ;
10260 return 0;
10261 }
10262 _ACEOF
10263 # Make sure it works both with $CC and with simple cc.
10264 # Following AC_PROG_CC_C_O, we do the test twice because some
10265 # compilers refuse to overwrite an existing .o file with -o,
10266 # though they will create one.
10267 am_cv_prog_cc_c_o=yes
10268 for am_i in 1 2; do
10269 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
10270 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
10271 ac_status=$?
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } \
10274 && test -f conftest2.$ac_objext; then
10275 : OK
10276 else
10277 am_cv_prog_cc_c_o=no
10278 break
10279 fi
10280 done
10281 # aligned with autoconf, so not including core; see bug#72225.
10282 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
10283 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
10284 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
10285 unset am_i ;;
10286 esac
10287 fi
10288 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
10289 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
10290 if test "$am_cv_prog_cc_c_o" != yes; then
10291 # Losing compiler, so override with the script.
10292 # FIXME: It is wrong to rewrite CC.
10293 # But if we don't then we get into trouble of one sort or another.
10294 # A longer-term fix would be to have automake use am__CC in this case,
10295 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
10296 CC="$am_aux_dir/compile $CC"
10297 fi
10298 ac_ext=c
10299 ac_cpp='$CPP $CPPFLAGS'
10300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10303
10304
10305 depcc="$CC" am_compiler_list=
10306
10307 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
10308 printf %s "checking dependency style of $depcc... " >&6; }
10309 if test ${am_cv_CC_dependencies_compiler_type+y}
10310 then :
10311 printf %s "(cached) " >&6
10312 else case e in #(
10313 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10314 # We make a subdir and do the tests there. Otherwise we can end up
10315 # making bogus files that we don't know about and never remove. For
10316 # instance it was reported that on HP-UX the gcc test will end up
10317 # making a dummy file named 'D' -- because '-MD' means "put the output
10318 # in D".
10319 rm -rf conftest.dir
10320 mkdir conftest.dir
10321 # Copy depcomp to subdir because otherwise we won't find it if we're
10322 # using a relative directory.
10323 cp "$am_depcomp" conftest.dir
10324 cd conftest.dir
10325 # We will build objects and dependencies in a subdirectory because
10326 # it helps to detect inapplicable dependency modes. For instance
10327 # both Tru64's cc and ICC support -MD to output dependencies as a
10328 # side effect of compilation, but ICC will put the dependencies in
10329 # the current directory while Tru64 will put them in the object
10330 # directory.
10331 mkdir sub
10332
10333 am_cv_CC_dependencies_compiler_type=none
10334 if test "$am_compiler_list" = ""; then
10335 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10336 fi
10337 am__universal=false
10338 case " $depcc " in #(
10339 *\ -arch\ *\ -arch\ *) am__universal=true ;;
10340 esac
10341
10342 for depmode in $am_compiler_list; do
10343 # Setup a source with many dependencies, because some compilers
10344 # like to wrap large dependency lists on column 80 (with \), and
10345 # we should not choose a depcomp mode which is confused by this.
10346 #
10347 # We need to recreate these files for each test, as the compiler may
10348 # overwrite some of them when testing with obscure command lines.
10349 # This happens at least with the AIX C compiler.
10350 : > sub/conftest.c
10351 for i in 1 2 3 4 5 6; do
10352 echo '#include "conftst'$i'.h"' >> sub/conftest.c
10353 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
10354 # Solaris 10 /bin/sh.
10355 echo '/* dummy */' > sub/conftst$i.h
10356 done
10357 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10358
10359 # We check with '-c' and '-o' for the sake of the "dashmstdout"
10360 # mode. It turns out that the SunPro C++ compiler does not properly
10361 # handle '-M -o', and we need to detect this. Also, some Intel
10362 # versions had trouble with output in subdirs.
10363 am__obj=sub/conftest.${OBJEXT-o}
10364 am__minus_obj="-o $am__obj"
10365 case $depmode in
10366 gcc)
10367 # This depmode causes a compiler race in universal mode.
10368 test "$am__universal" = false || continue
10369 ;;
10370 nosideeffect)
10371 # After this tag, mechanisms are not by side-effect, so they'll
10372 # only be used when explicitly requested.
10373 if test "x$enable_dependency_tracking" = xyes; then
10374 continue
10375 else
10376 break
10377 fi
10378 ;;
10379 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
10380 # This compiler won't grok '-c -o', but also, the minuso test has
10381 # not run yet. These depmodes are late enough in the game, and
10382 # so weak that their functioning should not be impacted.
10383 am__obj=conftest.${OBJEXT-o}
10384 am__minus_obj=
10385 ;;
10386 none) break ;;
10387 esac
10388 if depmode=$depmode \
10389 source=sub/conftest.c object=$am__obj \
10390 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10391 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
10392 >/dev/null 2>conftest.err &&
10393 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10394 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10395 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
10396 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10397 # icc doesn't choke on unknown options, it will just issue warnings
10398 # or remarks (even with -Werror). So we grep stderr for any message
10399 # that says an option was ignored or not supported.
10400 # When given -MP, icc 7.0 and 7.1 complain thus:
10401 # icc: Command line warning: ignoring option '-M'; no argument required
10402 # The diagnosis changed in icc 8.0:
10403 # icc: Command line remark: option '-MP' not supported
10404 if (grep 'ignoring option' conftest.err ||
10405 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10406 am_cv_CC_dependencies_compiler_type=$depmode
10407 break
10408 fi
10409 fi
10410 done
10411
10412 cd ..
10413 rm -rf conftest.dir
10414 else
10415 am_cv_CC_dependencies_compiler_type=none
10416 fi
10417 ;;
10418 esac
10419 fi
10420 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
10421 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
10422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
10423
10424 if
10425 test "x$enable_dependency_tracking" != xno \
10426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
10427 am__fastdepCC_TRUE=
10428 am__fastdepCC_FALSE='#'
10429 else
10430 am__fastdepCC_TRUE='#'
10431 am__fastdepCC_FALSE=
10432 fi
10433
10434
10435 ac_ext=c
10436 ac_cpp='$CPP $CPPFLAGS'
10437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10440 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
10441 printf %s "checking how to run the C preprocessor... " >&6; }
10442 # On Suns, sometimes $CPP names a directory.
10443 if test -n "$CPP" && test -d "$CPP"; then
10444 CPP=
10445 fi
10446 if test -z "$CPP"; then
10447 if test ${ac_cv_prog_CPP+y}
10448 then :
10449 printf %s "(cached) " >&6
10450 else case e in #(
10451 e) # Double quotes because $CC needs to be expanded
10452 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
10453 do
10454 ac_preproc_ok=false
10455 for ac_c_preproc_warn_flag in '' yes
10456 do
10457 # Use a header file that comes with gcc, so configuring glibc
10458 # with a fresh cross-compiler works.
10459 # On the NeXT, cc -E runs the code through the compiler's parser,
10460 # not just through cpp. "Syntax error" is here to catch this case.
10461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10462 /* end confdefs.h. */
10463 #include <limits.h>
10464 Syntax error
10465 _ACEOF
10466 if ac_fn_c_try_cpp "$LINENO"
10467 then :
10468
10469 else case e in #(
10470 e) # Broken: fails on valid input.
10471 continue ;;
10472 esac
10473 fi
10474 rm -f conftest.err conftest.i conftest.$ac_ext
10475
10476 # OK, works on sane cases. Now check whether nonexistent headers
10477 # can be detected and how.
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 #include <ac_nonexistent.h>
10481 _ACEOF
10482 if ac_fn_c_try_cpp "$LINENO"
10483 then :
10484 # Broken: success on invalid input.
10485 continue
10486 else case e in #(
10487 e) # Passes both tests.
10488 ac_preproc_ok=:
10489 break ;;
10490 esac
10491 fi
10492 rm -f conftest.err conftest.i conftest.$ac_ext
10493
10494 done
10495 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10496 rm -f conftest.i conftest.err conftest.$ac_ext
10497 if $ac_preproc_ok
10498 then :
10499 break
10500 fi
10501
10502 done
10503 ac_cv_prog_CPP=$CPP
10504 ;;
10505 esac
10506 fi
10507 CPP=$ac_cv_prog_CPP
10508 else
10509 ac_cv_prog_CPP=$CPP
10510 fi
10511 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
10512 printf '%s\n' "$CPP" >&6; }
10513 ac_preproc_ok=false
10514 for ac_c_preproc_warn_flag in '' yes
10515 do
10516 # Use a header file that comes with gcc, so configuring glibc
10517 # with a fresh cross-compiler works.
10518 # On the NeXT, cc -E runs the code through the compiler's parser,
10519 # not just through cpp. "Syntax error" is here to catch this case.
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10522 #include <limits.h>
10523 Syntax error
10524 _ACEOF
10525 if ac_fn_c_try_cpp "$LINENO"
10526 then :
10527
10528 else case e in #(
10529 e) # Broken: fails on valid input.
10530 continue ;;
10531 esac
10532 fi
10533 rm -f conftest.err conftest.i conftest.$ac_ext
10534
10535 # OK, works on sane cases. Now check whether nonexistent headers
10536 # can be detected and how.
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10539 #include <ac_nonexistent.h>
10540 _ACEOF
10541 if ac_fn_c_try_cpp "$LINENO"
10542 then :
10543 # Broken: success on invalid input.
10544 continue
10545 else case e in #(
10546 e) # Passes both tests.
10547 ac_preproc_ok=:
10548 break ;;
10549 esac
10550 fi
10551 rm -f conftest.err conftest.i conftest.$ac_ext
10552
10553 done
10554 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10555 rm -f conftest.i conftest.err conftest.$ac_ext
10556 if $ac_preproc_ok
10557 then :
10558
10559 else case e in #(
10560 e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
10561 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
10562 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
10563 See 'config.log' for more details" "$LINENO" 5; } ;;
10564 esac
10565 fi
10566
10567 ac_ext=c
10568 ac_cpp='$CPP $CPPFLAGS'
10569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10572
10573
10574 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
10575 printf %s "checking whether ln -s works... " >&6; }
10576 LN_S=$as_ln_s
10577 if test "$LN_S" = "ln -s"; then
10578 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10579 printf '%s\n' "yes" >&6; }
10580 else
10581 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
10582 printf '%s\n' "no, using $LN_S" >&6; }
10583 fi
10584
10585 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10586 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
10587 set x ${MAKE-make}
10588 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
10589 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
10590 then :
10591 printf %s "(cached) " >&6
10592 else case e in #(
10593 e) cat >conftest.make <<\_ACEOF
10594 SHELL = /bin/sh
10595 all:
10596 @printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
10597 _ACEOF
10598 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
10600 *@@@%%%=?*=@@@%%%*)
10601 eval ac_cv_prog_make_${ac_make}_set=yes;;
10602 *)
10603 eval ac_cv_prog_make_${ac_make}_set=no;;
10604 esac
10605 rm -f conftest.make ;;
10606 esac
10607 fi
10608 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
10609 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10610 printf '%s\n' "yes" >&6; }
10611 SET_MAKE=
10612 else
10613 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
10614 printf '%s\n' "no" >&6; }
10615 SET_MAKE="MAKE=${MAKE-make}"
10616 fi
10617
10618 # AC_PROG_RANLIB
10619
10620
10621
10622
10623
10624
10625
10626
10627 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10628 if test -n "$ac_tool_prefix"; then
10629 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10630 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10631 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10632 printf %s "checking for $ac_word... " >&6; }
10633 if test ${ac_cv_path_PKG_CONFIG+y}
10634 then :
10635 printf %s "(cached) " >&6
10636 else case e in #(
10637 e) case $PKG_CONFIG in
10638 [\\/]* | ?:[\\/]*)
10639 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10640 ;;
10641 *)
10642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10643 for as_dir in $PATH
10644 do
10645 IFS=$as_save_IFS
10646 case $as_dir in #(((
10647 '') as_dir=./ ;;
10648 */) ;;
10649 *) as_dir=$as_dir/ ;;
10650 esac
10651 for ac_exec_ext in '' $ac_executable_extensions; do
10652 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10653 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
10654 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10655 break 2
10656 fi
10657 done
10658 done
10659 IFS=$as_save_IFS
10660
10661 ;;
10662 esac ;;
10663 esac
10664 fi
10665 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10666 if test -n "$PKG_CONFIG"; then
10667 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10668 printf '%s\n' "$PKG_CONFIG" >&6; }
10669 else
10670 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
10671 printf '%s\n' "no" >&6; }
10672 fi
10673
10674
10675 fi
10676 if test -z "$ac_cv_path_PKG_CONFIG"; then
10677 ac_pt_PKG_CONFIG=$PKG_CONFIG
10678 # Extract the first word of "pkg-config", so it can be a program name with args.
10679 set dummy pkg-config; ac_word=$2
10680 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10681 printf %s "checking for $ac_word... " >&6; }
10682 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
10683 then :
10684 printf %s "(cached) " >&6
10685 else case e in #(
10686 e) case $ac_pt_PKG_CONFIG in
10687 [\\/]* | ?:[\\/]*)
10688 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10689 ;;
10690 *)
10691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10692 for as_dir in $PATH
10693 do
10694 IFS=$as_save_IFS
10695 case $as_dir in #(((
10696 '') as_dir=./ ;;
10697 */) ;;
10698 *) as_dir=$as_dir/ ;;
10699 esac
10700 for ac_exec_ext in '' $ac_executable_extensions; do
10701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10702 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
10703 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10704 break 2
10705 fi
10706 done
10707 done
10708 IFS=$as_save_IFS
10709
10710 ;;
10711 esac ;;
10712 esac
10713 fi
10714 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10715 if test -n "$ac_pt_PKG_CONFIG"; then
10716 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10717 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
10718 else
10719 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
10720 printf '%s\n' "no" >&6; }
10721 fi
10722
10723 if test "x$ac_pt_PKG_CONFIG" = x; then
10724 PKG_CONFIG=""
10725 else
10726 case $cross_compiling:$ac_tool_warned in
10727 yes:)
10728 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10729 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10730 ac_tool_warned=yes ;;
10731 esac
10732 PKG_CONFIG=$ac_pt_PKG_CONFIG
10733 fi
10734 else
10735 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10736 fi
10737
10738 fi
10739 if test -n "$PKG_CONFIG"; then
10740 _pkg_min_version=0.19
10741 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10742 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10743 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10744 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10745 printf '%s\n' "yes" >&6; }
10746 else
10747 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
10748 printf '%s\n' "no" >&6; }
10749 PKG_CONFIG=""
10750 fi
10751 fi
10752 if test -z "$PKG_CONFIG"; then
10753 as_fn_error $? "pkg-config not found" "$LINENO" 5
10754 fi
10755
10756 # Extract the first word of "xsltproc", so it can be a program name with args.
10757 set dummy xsltproc; ac_word=$2
10758 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10759 printf %s "checking for $ac_word... " >&6; }
10760 if test ${ac_cv_path_XSLTPROC+y}
10761 then :
10762 printf %s "(cached) " >&6
10763 else case e in #(
10764 e) case $XSLTPROC in
10765 [\\/]* | ?:[\\/]*)
10766 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
10767 ;;
10768 *)
10769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10770 for as_dir in $PATH
10771 do
10772 IFS=$as_save_IFS
10773 case $as_dir in #(((
10774 '') as_dir=./ ;;
10775 */) ;;
10776 *) as_dir=$as_dir/ ;;
10777 esac
10778 for ac_exec_ext in '' $ac_executable_extensions; do
10779 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10780 ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
10781 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10782 break 2
10783 fi
10784 done
10785 done
10786 IFS=$as_save_IFS
10787
10788 ;;
10789 esac ;;
10790 esac
10791 fi
10792 XSLTPROC=$ac_cv_path_XSLTPROC
10793 if test -n "$XSLTPROC"; then
10794 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
10795 printf '%s\n' "$XSLTPROC" >&6; }
10796 else
10797 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
10798 printf '%s\n' "no" >&6; }
10799 fi
10800
10801
10802 if test -z "$XSLTPROC"; then
10803 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found" >&5
10804 printf '%s\n' "$as_me: WARNING: xsltproc not found" >&2;}
10805 else
10806 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: xsltproc found" >&5
10807 printf '%s\n' "$as_me: xsltproc found" >&6;}
10808 fi
10809
10810 # Extract the first word of "fop", so it can be a program name with args.
10811 set dummy fop; ac_word=$2
10812 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10813 printf %s "checking for $ac_word... " >&6; }
10814 if test ${ac_cv_path_FOP+y}
10815 then :
10816 printf %s "(cached) " >&6
10817 else case e in #(
10818 e) case $FOP in
10819 [\\/]* | ?:[\\/]*)
10820 ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
10821 ;;
10822 *)
10823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10824 for as_dir in $PATH
10825 do
10826 IFS=$as_save_IFS
10827 case $as_dir in #(((
10828 '') as_dir=./ ;;
10829 */) ;;
10830 *) as_dir=$as_dir/ ;;
10831 esac
10832 for ac_exec_ext in '' $ac_executable_extensions; do
10833 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10834 ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
10835 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10836 break 2
10837 fi
10838 done
10839 done
10840 IFS=$as_save_IFS
10841
10842 ;;
10843 esac ;;
10844 esac
10845 fi
10846 FOP=$ac_cv_path_FOP
10847 if test -n "$FOP"; then
10848 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
10849 printf '%s\n' "$FOP" >&6; }
10850 else
10851 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
10852 printf '%s\n' "no" >&6; }
10853 fi
10854
10855
10856 if test -z "$FOP"; then
10857 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: fop not found" >&5
10858 printf '%s\n' "$as_me: WARNING: fop not found" >&2;}
10859 else
10860 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: fop found" >&5
10861 printf '%s\n' "$as_me: fop found" >&6;}
10862 fi
10863
10864
10865 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: gnulib not installed" >&5
10866 printf '%s\n' "$as_me: gnulib not installed" >&6;}
10867
10868 # libtool
10869
10870
10871
10872
10873
10874 case `pwd` in
10875 *\ * | *\ *)
10876 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
10877 printf '%s\n' "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
10878 esac
10879
10880
10881
10882 macro_version='2.5.4'
10883 macro_revision='2.5.4'
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898 ltmain=$ac_aux_dir/ltmain.sh
10899
10900 # Backslashify metacharacters that are still active within
10901 # double-quoted strings.
10902 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10903
10904 # Same as above, but do not quote variable references.
10905 double_quote_subst='s/\(["`\\]\)/\\\1/g'
10906
10907 # Sed substitution to delay expansion of an escaped shell variable in a
10908 # double_quote_subst'ed string.
10909 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10910
10911 # Sed substitution to delay expansion of an escaped single quote.
10912 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10913
10914 # Sed substitution to avoid accidental globbing in evaled expressions
10915 no_glob_subst='s/\*/\\\*/g'
10916
10917 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10918 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
10919 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
10920
10921 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
10922 printf %s "checking how to print strings... " >&6; }
10923 # Test print first, because it will be a builtin if present.
10924 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
10925 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
10926 ECHO='print -r --'
10927 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
10928 ECHO='printf %s\n'
10929 else
10930 # Use this function as a fallback that always works.
10931 func_fallback_echo ()
10932 {
10933 eval 'cat <<_LTECHO_EOF
10934 $1
10935 _LTECHO_EOF'
10936 }
10937 ECHO='func_fallback_echo'
10938 fi
10939
10940 # func_echo_all arg...
10941 # Invoke $ECHO with all args, space-separated.
10942 func_echo_all ()
10943 {
10944 $ECHO ""
10945 }
10946
10947 case $ECHO in
10948 printf*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: printf" >&5
10949 printf '%s\n' "printf" >&6; } ;;
10950 print*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
10951 printf '%s\n' "print -r" >&6; } ;;
10952 *) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cat" >&5
10953 printf '%s\n' "cat" >&6; } ;;
10954 esac
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
10970 printf %s "checking for a sed that does not truncate output... " >&6; }
10971 if test ${ac_cv_path_SED+y}
10972 then :
10973 printf %s "(cached) " >&6
10974 else case e in #(
10975 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
10976 for ac_i in 1 2 3 4 5 6 7; do
10977 ac_script="$ac_script$as_nl$ac_script"
10978 done
10979 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
10980 { ac_script=; unset ac_script;}
10981 if test -z "$SED"; then
10982 ac_path_SED_found=false
10983 # Loop through the user's path and test for each of PROGNAME-LIST
10984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10985 for as_dir in $PATH
10986 do
10987 IFS=$as_save_IFS
10988 case $as_dir in #(((
10989 '') as_dir=./ ;;
10990 */) ;;
10991 *) as_dir=$as_dir/ ;;
10992 esac
10993 for ac_prog in sed gsed
10994 do
10995 for ac_exec_ext in '' $ac_executable_extensions; do
10996 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
10997 as_fn_executable_p "$ac_path_SED" || continue
10998 # Check for GNU ac_path_SED and select it if it is found.
10999 # Check for GNU $ac_path_SED
11000 case `"$ac_path_SED" --version 2>&1` in #(
11001 *GNU*)
11002 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
11003 #(
11004 *)
11005 ac_count=0
11006 printf %s 0123456789 >"conftest.in"
11007 while :
11008 do
11009 cat "conftest.in" "conftest.in" >"conftest.tmp"
11010 mv "conftest.tmp" "conftest.in"
11011 cp "conftest.in" "conftest.nl"
11012 printf '%s\n' '' >> "conftest.nl"
11013 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
11014 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11015 as_fn_arith $ac_count + 1 && ac_count=$as_val
11016 if test $ac_count -gt ${ac_path_SED_max-0}; then
11017 # Best one so far, save it but keep looking for a better one
11018 ac_cv_path_SED="$ac_path_SED"
11019 ac_path_SED_max=$ac_count
11020 fi
11021 # 10*(2^10) chars as input seems more than enough
11022 test $ac_count -gt 10 && break
11023 done
11024 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11025 esac
11026
11027 $ac_path_SED_found && break 3
11028 done
11029 done
11030 done
11031 IFS=$as_save_IFS
11032 if test -z "$ac_cv_path_SED"; then
11033 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
11034 fi
11035 else
11036 ac_cv_path_SED=$SED
11037 fi
11038 ;;
11039 esac
11040 fi
11041 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
11042 printf '%s\n' "$ac_cv_path_SED" >&6; }
11043 SED="$ac_cv_path_SED"
11044 rm -f conftest.sed
11045
11046 test -z "$SED" && SED=sed
11047 Xsed="$SED -e 1s/^X//"
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
11060 printf %s "checking for grep that handles long lines and -e... " >&6; }
11061 if test ${ac_cv_path_GREP+y}
11062 then :
11063 printf %s "(cached) " >&6
11064 else case e in #(
11065 e) if test -z "$GREP"; then
11066 ac_path_GREP_found=false
11067 # Loop through the user's path and test for each of PROGNAME-LIST
11068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11070 do
11071 IFS=$as_save_IFS
11072 case $as_dir in #(((
11073 '') as_dir=./ ;;
11074 */) ;;
11075 *) as_dir=$as_dir/ ;;
11076 esac
11077 for ac_prog in grep ggrep
11078 do
11079 for ac_exec_ext in '' $ac_executable_extensions; do
11080 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
11081 as_fn_executable_p "$ac_path_GREP" || continue
11082 # Check for GNU ac_path_GREP and select it if it is found.
11083 # Check for GNU $ac_path_GREP
11084 case `"$ac_path_GREP" --version 2>&1` in #(
11085 *GNU*)
11086 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
11087 #(
11088 *)
11089 ac_count=0
11090 printf %s 0123456789 >"conftest.in"
11091 while :
11092 do
11093 cat "conftest.in" "conftest.in" >"conftest.tmp"
11094 mv "conftest.tmp" "conftest.in"
11095 cp "conftest.in" "conftest.nl"
11096 printf '%s\n' 'GREP' >> "conftest.nl"
11097 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11098 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11099 as_fn_arith $ac_count + 1 && ac_count=$as_val
11100 if test $ac_count -gt ${ac_path_GREP_max-0}; then
11101 # Best one so far, save it but keep looking for a better one
11102 ac_cv_path_GREP="$ac_path_GREP"
11103 ac_path_GREP_max=$ac_count
11104 fi
11105 # 10*(2^10) chars as input seems more than enough
11106 test $ac_count -gt 10 && break
11107 done
11108 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11109 esac
11110
11111 $ac_path_GREP_found && break 3
11112 done
11113 done
11114 done
11115 IFS=$as_save_IFS
11116 if test -z "$ac_cv_path_GREP"; then
11117 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11118 fi
11119 else
11120 ac_cv_path_GREP=$GREP
11121 fi
11122 ;;
11123 esac
11124 fi
11125 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
11126 printf '%s\n' "$ac_cv_path_GREP" >&6; }
11127 GREP="$ac_cv_path_GREP"
11128
11129
11130 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
11131 printf %s "checking for egrep... " >&6; }
11132 if test ${ac_cv_path_EGREP+y}
11133 then :
11134 printf %s "(cached) " >&6
11135 else case e in #(
11136 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11137 then ac_cv_path_EGREP="$GREP -E"
11138 else
11139 if test -z "$EGREP"; then
11140 ac_path_EGREP_found=false
11141 # Loop through the user's path and test for each of PROGNAME-LIST
11142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11143 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11144 do
11145 IFS=$as_save_IFS
11146 case $as_dir in #(((
11147 '') as_dir=./ ;;
11148 */) ;;
11149 *) as_dir=$as_dir/ ;;
11150 esac
11151 for ac_prog in egrep
11152 do
11153 for ac_exec_ext in '' $ac_executable_extensions; do
11154 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
11155 as_fn_executable_p "$ac_path_EGREP" || continue
11156 # Check for GNU ac_path_EGREP and select it if it is found.
11157 # Check for GNU $ac_path_EGREP
11158 case `"$ac_path_EGREP" --version 2>&1` in #(
11159 *GNU*)
11160 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11161 #(
11162 *)
11163 ac_count=0
11164 printf %s 0123456789 >"conftest.in"
11165 while :
11166 do
11167 cat "conftest.in" "conftest.in" >"conftest.tmp"
11168 mv "conftest.tmp" "conftest.in"
11169 cp "conftest.in" "conftest.nl"
11170 printf '%s\n' 'EGREP' >> "conftest.nl"
11171 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11172 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11173 as_fn_arith $ac_count + 1 && ac_count=$as_val
11174 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11175 # Best one so far, save it but keep looking for a better one
11176 ac_cv_path_EGREP="$ac_path_EGREP"
11177 ac_path_EGREP_max=$ac_count
11178 fi
11179 # 10*(2^10) chars as input seems more than enough
11180 test $ac_count -gt 10 && break
11181 done
11182 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11183 esac
11184
11185 $ac_path_EGREP_found && break 3
11186 done
11187 done
11188 done
11189 IFS=$as_save_IFS
11190 if test -z "$ac_cv_path_EGREP"; then
11191 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11192 fi
11193 else
11194 ac_cv_path_EGREP=$EGREP
11195 fi
11196
11197 fi ;;
11198 esac
11199 fi
11200 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
11201 printf '%s\n' "$ac_cv_path_EGREP" >&6; }
11202 EGREP="$ac_cv_path_EGREP"
11203
11204 EGREP_TRADITIONAL=$EGREP
11205 ac_cv_path_EGREP_TRADITIONAL=$EGREP
11206
11207 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
11208 printf %s "checking for fgrep... " >&6; }
11209 if test ${ac_cv_path_FGREP+y}
11210 then :
11211 printf %s "(cached) " >&6
11212 else case e in #(
11213 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
11214 then ac_cv_path_FGREP="$GREP -F"
11215 else
11216 if test -z "$FGREP"; then
11217 ac_path_FGREP_found=false
11218 # Loop through the user's path and test for each of PROGNAME-LIST
11219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11221 do
11222 IFS=$as_save_IFS
11223 case $as_dir in #(((
11224 '') as_dir=./ ;;
11225 */) ;;
11226 *) as_dir=$as_dir/ ;;
11227 esac
11228 for ac_prog in fgrep
11229 do
11230 for ac_exec_ext in '' $ac_executable_extensions; do
11231 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
11232 as_fn_executable_p "$ac_path_FGREP" || continue
11233 # Check for GNU ac_path_FGREP and select it if it is found.
11234 # Check for GNU $ac_path_FGREP
11235 case `"$ac_path_FGREP" --version 2>&1` in #(
11236 *GNU*)
11237 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
11238 #(
11239 *)
11240 ac_count=0
11241 printf %s 0123456789 >"conftest.in"
11242 while :
11243 do
11244 cat "conftest.in" "conftest.in" >"conftest.tmp"
11245 mv "conftest.tmp" "conftest.in"
11246 cp "conftest.in" "conftest.nl"
11247 printf '%s\n' 'FGREP' >> "conftest.nl"
11248 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
11249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11250 as_fn_arith $ac_count + 1 && ac_count=$as_val
11251 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
11252 # Best one so far, save it but keep looking for a better one
11253 ac_cv_path_FGREP="$ac_path_FGREP"
11254 ac_path_FGREP_max=$ac_count
11255 fi
11256 # 10*(2^10) chars as input seems more than enough
11257 test $ac_count -gt 10 && break
11258 done
11259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11260 esac
11261
11262 $ac_path_FGREP_found && break 3
11263 done
11264 done
11265 done
11266 IFS=$as_save_IFS
11267 if test -z "$ac_cv_path_FGREP"; then
11268 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11269 fi
11270 else
11271 ac_cv_path_FGREP=$FGREP
11272 fi
11273
11274 fi ;;
11275 esac
11276 fi
11277 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
11278 printf '%s\n' "$ac_cv_path_FGREP" >&6; }
11279 FGREP="$ac_cv_path_FGREP"
11280
11281
11282 test -z "$GREP" && GREP=grep
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302 # Check whether --with-gnu-ld was given.
11303 if test ${with_gnu_ld+y}
11304 then :
11305 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
11306 else case e in #(
11307 e) with_gnu_ld=no ;;
11308 esac
11309 fi
11310
11311 ac_prog=ld
11312 if test yes = "$GCC"; then
11313 # Check if gcc -print-prog-name=ld gives a path.
11314 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11315 printf %s "checking for ld used by $CC... " >&6; }
11316 case $host in
11317 *-*-mingw* | *-*-windows*)
11318 # gcc leaves a trailing carriage return, which upsets mingw
11319 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11320 *)
11321 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11322 esac
11323 case $ac_prog in
11324 # Accept absolute paths.
11325 [\\/]* | ?:[\\/]*)
11326 re_direlt='/[^/][^/]*/\.\./'
11327 # Canonicalize the pathname of ld
11328 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11329 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11330 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11331 done
11332 test -z "$LD" && LD=$ac_prog
11333 ;;
11334 "")
11335 # If it fails, then pretend we aren't using GCC.
11336 ac_prog=ld
11337 ;;
11338 *)
11339 # If it is relative, then search for the first ld in PATH.
11340 with_gnu_ld=unknown
11341 ;;
11342 esac
11343 elif test yes = "$with_gnu_ld"; then
11344 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11345 printf %s "checking for GNU ld... " >&6; }
11346 else
11347 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11348 printf %s "checking for non-GNU ld... " >&6; }
11349 fi
11350 if test ${lt_cv_path_LD+y}
11351 then :
11352 printf %s "(cached) " >&6
11353 else case e in #(
11354 e) if test -z "$LD"; then
11355 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11356 for ac_dir in $PATH; do
11357 IFS=$lt_save_ifs
11358 test -z "$ac_dir" && ac_dir=.
11359 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11360 lt_cv_path_LD=$ac_dir/$ac_prog
11361 # Check to see if the program is GNU ld. I'd rather use --version,
11362 # but apparently some variants of GNU ld only accept -v.
11363 # Break only if it was the GNU/non-GNU ld that we prefer.
11364 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11365 *GNU* | *'with BFD'*)
11366 test no != "$with_gnu_ld" && break
11367 ;;
11368 *)
11369 test yes != "$with_gnu_ld" && break
11370 ;;
11371 esac
11372 fi
11373 done
11374 IFS=$lt_save_ifs
11375 else
11376 lt_cv_path_LD=$LD # Let the user override the test with a path.
11377 fi ;;
11378 esac
11379 fi
11380
11381 LD=$lt_cv_path_LD
11382 if test -n "$LD"; then
11383 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11384 printf '%s\n' "$LD" >&6; }
11385 else
11386 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
11387 printf '%s\n' "no" >&6; }
11388 fi
11389 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11390 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11391 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
11392 if test ${lt_cv_prog_gnu_ld+y}
11393 then :
11394 printf %s "(cached) " >&6
11395 else case e in #(
11396 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
11397 case `$LD -v 2>&1 </dev/null` in
11398 *GNU* | *'with BFD'*)
11399 lt_cv_prog_gnu_ld=yes
11400 ;;
11401 *)
11402 lt_cv_prog_gnu_ld=no
11403 ;;
11404 esac ;;
11405 esac
11406 fi
11407 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11408 printf '%s\n' "$lt_cv_prog_gnu_ld" >&6; }
11409 with_gnu_ld=$lt_cv_prog_gnu_ld
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
11420 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
11421 if test ${lt_cv_path_NM+y}
11422 then :
11423 printf %s "(cached) " >&6
11424 else case e in #(
11425 e) if test -n "$NM"; then
11426 # Let the user override the test.
11427 lt_cv_path_NM=$NM
11428 else
11429 lt_nm_to_check=${ac_tool_prefix}nm
11430 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
11431 lt_nm_to_check="$lt_nm_to_check nm"
11432 fi
11433 for lt_tmp_nm in $lt_nm_to_check; do
11434 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11435 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
11436 IFS=$lt_save_ifs
11437 test -z "$ac_dir" && ac_dir=.
11438 tmp_nm=$ac_dir/$lt_tmp_nm
11439 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
11440 # Check to see if the nm accepts a BSD-compat flag.
11441 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
11442 # nm: unknown option "B" ignored
11443 # Tru64's nm complains that /dev/null is an invalid object file
11444 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
11445 case $build_os in
11446 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
11447 *) lt_bad_file=/dev/null ;;
11448 esac
11449 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
11450 *$lt_bad_file* | *'Invalid file or object type'*)
11451 lt_cv_path_NM="$tmp_nm -B"
11452 break 2
11453 ;;
11454 *)
11455 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
11456 */dev/null*)
11457 lt_cv_path_NM="$tmp_nm -p"
11458 break 2
11459 ;;
11460 *)
11461 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
11462 continue # so that we can try to find one that supports BSD flags
11463 ;;
11464 esac
11465 ;;
11466 esac
11467 fi
11468 done
11469 IFS=$lt_save_ifs
11470 done
11471 : ${lt_cv_path_NM=no}
11472 fi ;;
11473 esac
11474 fi
11475 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
11476 printf '%s\n' "$lt_cv_path_NM" >&6; }
11477 if test no != "$lt_cv_path_NM"; then
11478 NM=$lt_cv_path_NM
11479 else
11480 # Didn't find any BSD compatible name lister, look for dumpbin.
11481 if test -n "$DUMPBIN"; then :
11482 # Let the user override the test.
11483 else
11484 if test -n "$ac_tool_prefix"; then
11485 for ac_prog in dumpbin "link -dump"
11486 do
11487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11489 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11490 printf %s "checking for $ac_word... " >&6; }
11491 if test ${ac_cv_prog_DUMPBIN+y}
11492 then :
11493 printf %s "(cached) " >&6
11494 else case e in #(
11495 e) if test -n "$DUMPBIN"; then
11496 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
11497 else
11498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11499 for as_dir in $PATH
11500 do
11501 IFS=$as_save_IFS
11502 case $as_dir in #(((
11503 '') as_dir=./ ;;
11504 */) ;;
11505 *) as_dir=$as_dir/ ;;
11506 esac
11507 for ac_exec_ext in '' $ac_executable_extensions; do
11508 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11509 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
11510 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11511 break 2
11512 fi
11513 done
11514 done
11515 IFS=$as_save_IFS
11516
11517 fi ;;
11518 esac
11519 fi
11520 DUMPBIN=$ac_cv_prog_DUMPBIN
11521 if test -n "$DUMPBIN"; then
11522 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
11523 printf '%s\n' "$DUMPBIN" >&6; }
11524 else
11525 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
11526 printf '%s\n' "no" >&6; }
11527 fi
11528
11529
11530 test -n "$DUMPBIN" && break
11531 done
11532 fi
11533 if test -z "$DUMPBIN"; then
11534 ac_ct_DUMPBIN=$DUMPBIN
11535 for ac_prog in dumpbin "link -dump"
11536 do
11537 # Extract the first word of "$ac_prog", so it can be a program name with args.
11538 set dummy $ac_prog; ac_word=$2
11539 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11540 printf %s "checking for $ac_word... " >&6; }
11541 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
11542 then :
11543 printf %s "(cached) " >&6
11544 else case e in #(
11545 e) if test -n "$ac_ct_DUMPBIN"; then
11546 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
11547 else
11548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11549 for as_dir in $PATH
11550 do
11551 IFS=$as_save_IFS
11552 case $as_dir in #(((
11553 '') as_dir=./ ;;
11554 */) ;;
11555 *) as_dir=$as_dir/ ;;
11556 esac
11557 for ac_exec_ext in '' $ac_executable_extensions; do
11558 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11559 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
11560 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11561 break 2
11562 fi
11563 done
11564 done
11565 IFS=$as_save_IFS
11566
11567 fi ;;
11568 esac
11569 fi
11570 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
11571 if test -n "$ac_ct_DUMPBIN"; then
11572 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
11573 printf '%s\n' "$ac_ct_DUMPBIN" >&6; }
11574 else
11575 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
11576 printf '%s\n' "no" >&6; }
11577 fi
11578
11579
11580 test -n "$ac_ct_DUMPBIN" && break
11581 done
11582
11583 if test "x$ac_ct_DUMPBIN" = x; then
11584 DUMPBIN=":"
11585 else
11586 case $cross_compiling:$ac_tool_warned in
11587 yes:)
11588 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11589 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11590 ac_tool_warned=yes ;;
11591 esac
11592 DUMPBIN=$ac_ct_DUMPBIN
11593 fi
11594 fi
11595
11596 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
11597 *COFF*)
11598 DUMPBIN="$DUMPBIN -symbols -headers"
11599 ;;
11600 *)
11601 DUMPBIN=:
11602 ;;
11603 esac
11604 fi
11605
11606 if test : != "$DUMPBIN"; then
11607 NM=$DUMPBIN
11608 fi
11609 fi
11610 test -z "$NM" && NM=nm
11611
11612
11613
11614
11615
11616
11617 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
11618 printf %s "checking the name lister ($NM) interface... " >&6; }
11619 if test ${lt_cv_nm_interface+y}
11620 then :
11621 printf %s "(cached) " >&6
11622 else case e in #(
11623 e) lt_cv_nm_interface="BSD nm"
11624 echo "int some_variable = 0;" > conftest.$ac_ext
11625 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
11626 (eval "$ac_compile" 2>conftest.err)
11627 cat conftest.err >&5
11628 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
11629 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
11630 cat conftest.err >&5
11631 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
11632 cat conftest.out >&5
11633 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
11634 lt_cv_nm_interface="MS dumpbin"
11635 fi
11636 rm -f conftest* ;;
11637 esac
11638 fi
11639 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
11640 printf '%s\n' "$lt_cv_nm_interface" >&6; }
11641
11642 # find the maximum length of command line arguments
11643 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
11644 printf %s "checking the maximum length of command line arguments... " >&6; }
11645 if test ${lt_cv_sys_max_cmd_len+y}
11646 then :
11647 printf %s "(cached) " >&6
11648 else case e in #(
11649 e) i=0
11650 teststring=ABCD
11651
11652 case $build_os in
11653 msdosdjgpp*)
11654 # On DJGPP, this test can blow up pretty badly due to problems in libc
11655 # (any single argument exceeding 2000 bytes causes a buffer overrun
11656 # during glob expansion). Even if it were fixed, the result of this
11657 # check would be larger than it should be.
11658 lt_cv_sys_max_cmd_len=12288; # 12K is about right
11659 ;;
11660
11661 gnu* | ironclad*)
11662 # Under GNU Hurd and Ironclad, this test is not required because there
11663 # is no limit to the length of command line arguments.
11664 # Libtool will interpret -1 as no limit whatsoever
11665 lt_cv_sys_max_cmd_len=-1;
11666 ;;
11667
11668 cygwin* | mingw* | windows* | cegcc*)
11669 # On Win9x/ME, this test blows up -- it succeeds, but takes
11670 # about 5 minutes as the teststring grows exponentially.
11671 # Worse, since 9x/ME are not pre-emptively multitasking,
11672 # you end up with a "frozen" computer, even though with patience
11673 # the test eventually succeeds (with a max line length of 256k).
11674 # Instead, let's just punt: use the minimum linelength reported by
11675 # all of the supported platforms: 8192 (on NT/2K/XP).
11676 lt_cv_sys_max_cmd_len=8192;
11677 ;;
11678
11679 mint*)
11680 # On MiNT this can take a long time and run out of memory.
11681 lt_cv_sys_max_cmd_len=8192;
11682 ;;
11683
11684 amigaos*)
11685 # On AmigaOS with pdksh, this test takes hours, literally.
11686 # So we just punt and use a minimum line length of 8192.
11687 lt_cv_sys_max_cmd_len=8192;
11688 ;;
11689
11690 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
11691 # This has been around since 386BSD, at least. Likely further.
11692 if test -x /sbin/sysctl; then
11693 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
11694 elif test -x /usr/sbin/sysctl; then
11695 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
11696 else
11697 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
11698 fi
11699 # And add a safety zone
11700 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
11701 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
11702 ;;
11703
11704 interix*)
11705 # We know the value 262144 and hardcode it with a safety zone (like BSD)
11706 lt_cv_sys_max_cmd_len=196608
11707 ;;
11708
11709 os2*)
11710 # The test takes a long time on OS/2.
11711 lt_cv_sys_max_cmd_len=8192
11712 ;;
11713
11714 osf*)
11715 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
11716 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
11717 # nice to cause kernel panics so lets avoid the loop below.
11718 # First set a reasonable default.
11719 lt_cv_sys_max_cmd_len=16384
11720 #
11721 if test -x /sbin/sysconfig; then
11722 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
11723 *1*) lt_cv_sys_max_cmd_len=-1 ;;
11724 esac
11725 fi
11726 ;;
11727 sco3.2v5*)
11728 lt_cv_sys_max_cmd_len=102400
11729 ;;
11730 sysv5* | sco5v6* | sysv4.2uw2*)
11731 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
11732 if test -n "$kargmax"; then
11733 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
11734 else
11735 lt_cv_sys_max_cmd_len=32768
11736 fi
11737 ;;
11738 *)
11739 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
11740 if test -n "$lt_cv_sys_max_cmd_len" && \
11741 test undefined != "$lt_cv_sys_max_cmd_len"; then
11742 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
11743 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
11744 else
11745 # Make teststring a little bigger before we do anything with it.
11746 # a 1K string should be a reasonable start.
11747 for i in 1 2 3 4 5 6 7 8; do
11748 teststring=$teststring$teststring
11749 done
11750 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
11751 # If test is not a shell built-in, we'll probably end up computing a
11752 # maximum length that is only half of the actual maximum length, but
11753 # we can't tell.
11754 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
11755 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
11756 test 17 != "$i" # 1/2 MB should be enough
11757 do
11758 i=`expr $i + 1`
11759 teststring=$teststring$teststring
11760 done
11761 # Only check the string length outside the loop.
11762 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
11763 teststring=
11764 # Add a significant safety factor because C++ compilers can tack on
11765 # massive amounts of additional arguments before passing them to the
11766 # linker. It appears as though 1/2 is a usable value.
11767 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
11768 fi
11769 ;;
11770 esac
11771 ;;
11772 esac
11773 fi
11774
11775 if test -n "$lt_cv_sys_max_cmd_len"; then
11776 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
11777 printf '%s\n' "$lt_cv_sys_max_cmd_len" >&6; }
11778 else
11779 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none" >&5
11780 printf '%s\n' "none" >&6; }
11781 fi
11782 max_cmd_len=$lt_cv_sys_max_cmd_len
11783
11784
11785
11786
11787
11788
11789 : ${CP="cp -f"}
11790 : ${MV="mv -f"}
11791 : ${RM="rm -f"}
11792
11793 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11794 lt_unset=unset
11795 else
11796 lt_unset=false
11797 fi
11798
11799
11800
11801
11802
11803 # test EBCDIC or ASCII
11804 case `echo X|tr X '\101'` in
11805 A) # ASCII based system
11806 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
11807 lt_SP2NL='tr \040 \012'
11808 lt_NL2SP='tr \015\012 \040\040'
11809 ;;
11810 *) # EBCDIC based system
11811 lt_SP2NL='tr \100 \n'
11812 lt_NL2SP='tr \r\n \100\100'
11813 ;;
11814 esac
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
11825 printf %s "checking how to convert $build file names to $host format... " >&6; }
11826 if test ${lt_cv_to_host_file_cmd+y}
11827 then :
11828 printf %s "(cached) " >&6
11829 else case e in #(
11830 e) case $host in
11831 *-*-mingw* )
11832 case $build in
11833 *-*-mingw* | *-*-windows* ) # actually msys
11834 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
11835 ;;
11836 *-*-cygwin* )
11837 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
11838 ;;
11839 * ) # otherwise, assume *nix
11840 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
11841 ;;
11842 esac
11843 ;;
11844 *-*-cygwin* )
11845 case $build in
11846 *-*-mingw* | *-*-windows* ) # actually msys
11847 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
11848 ;;
11849 *-*-cygwin* )
11850 lt_cv_to_host_file_cmd=func_convert_file_noop
11851 ;;
11852 * ) # otherwise, assume *nix
11853 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
11854 ;;
11855 esac
11856 ;;
11857 * ) # unhandled hosts (and "normal" native builds)
11858 lt_cv_to_host_file_cmd=func_convert_file_noop
11859 ;;
11860 esac
11861 ;;
11862 esac
11863 fi
11864
11865 to_host_file_cmd=$lt_cv_to_host_file_cmd
11866 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
11867 printf '%s\n' "$lt_cv_to_host_file_cmd" >&6; }
11868
11869
11870
11871
11872
11873 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
11874 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
11875 if test ${lt_cv_to_tool_file_cmd+y}
11876 then :
11877 printf %s "(cached) " >&6
11878 else case e in #(
11879 e) #assume ordinary cross tools, or native build.
11880 lt_cv_to_tool_file_cmd=func_convert_file_noop
11881 case $host in
11882 *-*-mingw* | *-*-windows* )
11883 case $build in
11884 *-*-mingw* | *-*-windows* ) # actually msys
11885 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
11886 ;;
11887 esac
11888 ;;
11889 esac
11890 ;;
11891 esac
11892 fi
11893
11894 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
11895 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
11896 printf '%s\n' "$lt_cv_to_tool_file_cmd" >&6; }
11897
11898
11899
11900
11901
11902 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
11903 printf %s "checking for $LD option to reload object files... " >&6; }
11904 if test ${lt_cv_ld_reload_flag+y}
11905 then :
11906 printf %s "(cached) " >&6
11907 else case e in #(
11908 e) lt_cv_ld_reload_flag='-r' ;;
11909 esac
11910 fi
11911 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
11912 printf '%s\n' "$lt_cv_ld_reload_flag" >&6; }
11913 reload_flag=$lt_cv_ld_reload_flag
11914 case $reload_flag in
11915 "" | " "*) ;;
11916 *) reload_flag=" $reload_flag" ;;
11917 esac
11918 reload_cmds='$LD$reload_flag -o $output$reload_objs'
11919 case $host_os in
11920 cygwin* | mingw* | windows* | pw32* | cegcc*)
11921 if test yes != "$GCC"; then
11922 reload_cmds=false
11923 fi
11924 ;;
11925 darwin*)
11926 if test yes = "$GCC"; then
11927 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
11928 else
11929 reload_cmds='$LD$reload_flag -o $output$reload_objs'
11930 fi
11931 ;;
11932 esac
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942 # Extract the first word of "file", so it can be a program name with args.
11943 set dummy file; ac_word=$2
11944 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11945 printf %s "checking for $ac_word... " >&6; }
11946 if test ${ac_cv_prog_FILECMD+y}
11947 then :
11948 printf %s "(cached) " >&6
11949 else case e in #(
11950 e) if test -n "$FILECMD"; then
11951 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
11952 else
11953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11954 for as_dir in $PATH
11955 do
11956 IFS=$as_save_IFS
11957 case $as_dir in #(((
11958 '') as_dir=./ ;;
11959 */) ;;
11960 *) as_dir=$as_dir/ ;;
11961 esac
11962 for ac_exec_ext in '' $ac_executable_extensions; do
11963 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11964 ac_cv_prog_FILECMD="file"
11965 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11966 break 2
11967 fi
11968 done
11969 done
11970 IFS=$as_save_IFS
11971
11972 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
11973 fi ;;
11974 esac
11975 fi
11976 FILECMD=$ac_cv_prog_FILECMD
11977 if test -n "$FILECMD"; then
11978 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
11979 printf '%s\n' "$FILECMD" >&6; }
11980 else
11981 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
11982 printf '%s\n' "no" >&6; }
11983 fi
11984
11985
11986
11987
11988
11989
11990
11991
11992 if test -n "$ac_tool_prefix"; then
11993 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
11994 set dummy ${ac_tool_prefix}objdump; ac_word=$2
11995 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11996 printf %s "checking for $ac_word... " >&6; }
11997 if test ${ac_cv_prog_OBJDUMP+y}
11998 then :
11999 printf %s "(cached) " >&6
12000 else case e in #(
12001 e) if test -n "$OBJDUMP"; then
12002 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12003 else
12004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12005 for as_dir in $PATH
12006 do
12007 IFS=$as_save_IFS
12008 case $as_dir in #(((
12009 '') as_dir=./ ;;
12010 */) ;;
12011 *) as_dir=$as_dir/ ;;
12012 esac
12013 for ac_exec_ext in '' $ac_executable_extensions; do
12014 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12015 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
12016 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12017 break 2
12018 fi
12019 done
12020 done
12021 IFS=$as_save_IFS
12022
12023 fi ;;
12024 esac
12025 fi
12026 OBJDUMP=$ac_cv_prog_OBJDUMP
12027 if test -n "$OBJDUMP"; then
12028 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
12029 printf '%s\n' "$OBJDUMP" >&6; }
12030 else
12031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12032 printf '%s\n' "no" >&6; }
12033 fi
12034
12035
12036 fi
12037 if test -z "$ac_cv_prog_OBJDUMP"; then
12038 ac_ct_OBJDUMP=$OBJDUMP
12039 # Extract the first word of "objdump", so it can be a program name with args.
12040 set dummy objdump; ac_word=$2
12041 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12042 printf %s "checking for $ac_word... " >&6; }
12043 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
12044 then :
12045 printf %s "(cached) " >&6
12046 else case e in #(
12047 e) if test -n "$ac_ct_OBJDUMP"; then
12048 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
12049 else
12050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12051 for as_dir in $PATH
12052 do
12053 IFS=$as_save_IFS
12054 case $as_dir in #(((
12055 '') as_dir=./ ;;
12056 */) ;;
12057 *) as_dir=$as_dir/ ;;
12058 esac
12059 for ac_exec_ext in '' $ac_executable_extensions; do
12060 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12061 ac_cv_prog_ac_ct_OBJDUMP="objdump"
12062 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12063 break 2
12064 fi
12065 done
12066 done
12067 IFS=$as_save_IFS
12068
12069 fi ;;
12070 esac
12071 fi
12072 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
12073 if test -n "$ac_ct_OBJDUMP"; then
12074 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
12075 printf '%s\n' "$ac_ct_OBJDUMP" >&6; }
12076 else
12077 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 printf '%s\n' "no" >&6; }
12079 fi
12080
12081 if test "x$ac_ct_OBJDUMP" = x; then
12082 OBJDUMP="false"
12083 else
12084 case $cross_compiling:$ac_tool_warned in
12085 yes:)
12086 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12087 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12088 ac_tool_warned=yes ;;
12089 esac
12090 OBJDUMP=$ac_ct_OBJDUMP
12091 fi
12092 else
12093 OBJDUMP="$ac_cv_prog_OBJDUMP"
12094 fi
12095
12096 test -z "$OBJDUMP" && OBJDUMP=objdump
12097
12098
12099
12100
12101
12102
12103 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
12104 printf %s "checking how to recognize dependent libraries... " >&6; }
12105 if test ${lt_cv_deplibs_check_method+y}
12106 then :
12107 printf %s "(cached) " >&6
12108 else case e in #(
12109 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
12110 lt_cv_file_magic_test_file=
12111 lt_cv_deplibs_check_method='unknown'
12112 # Need to set the preceding variable on all platforms that support
12113 # interlibrary dependencies.
12114 # 'none' -- dependencies not supported.
12115 # 'unknown' -- same as none, but documents that we really don't know.
12116 # 'pass_all' -- all dependencies passed with no checks.
12117 # 'file_magic [[regex]]' -- check by looking for files in library path
12118 # that responds to the $file_magic_cmd with a given extended regex.
12119 # If you have 'file' or equivalent on your system and you're not sure
12120 # whether 'pass_all' will *always* work, you probably want this one.
12121
12122 case $host_os in
12123 aix[4-9]*)
12124 lt_cv_deplibs_check_method=pass_all
12125 ;;
12126
12127 beos*)
12128 lt_cv_deplibs_check_method=pass_all
12129 ;;
12130
12131 bsdi[45]*)
12132 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12133 lt_cv_file_magic_cmd='$FILECMD -L'
12134 lt_cv_file_magic_test_file=/shlib/libc.so
12135 ;;
12136
12137 cygwin*)
12138 # func_win32_libid is a shell function defined in ltmain.sh
12139 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12140 lt_cv_file_magic_cmd='func_win32_libid'
12141 ;;
12142
12143 mingw* | windows* | pw32*)
12144 # Base MSYS/MinGW do not provide the 'file' command needed by
12145 # func_win32_libid shell function, so use a weaker test based on 'objdump',
12146 # unless we find 'file', for example because we are cross-compiling.
12147 if ( file / ) >/dev/null 2>&1; then
12148 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12149 lt_cv_file_magic_cmd='func_win32_libid'
12150 else
12151 # Keep this pattern in sync with the one in func_win32_libid.
12152 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
12153 lt_cv_file_magic_cmd='$OBJDUMP -f'
12154 fi
12155 ;;
12156
12157 cegcc*)
12158 # use the weaker test based on 'objdump'. See mingw*.
12159 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
12160 lt_cv_file_magic_cmd='$OBJDUMP -f'
12161 ;;
12162
12163 darwin* | rhapsody*)
12164 lt_cv_deplibs_check_method=pass_all
12165 ;;
12166
12167 freebsd* | dragonfly* | midnightbsd*)
12168 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
12169 case $host_cpu in
12170 i*86 )
12171 # Not sure whether the presence of OpenBSD here was a mistake.
12172 # Let's accept both of them until this is cleared up.
12173 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12174 lt_cv_file_magic_cmd=$FILECMD
12175 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12176 ;;
12177 esac
12178 else
12179 lt_cv_deplibs_check_method=pass_all
12180 fi
12181 ;;
12182
12183 haiku*)
12184 lt_cv_deplibs_check_method=pass_all
12185 ;;
12186
12187 hpux10.20* | hpux11*)
12188 lt_cv_file_magic_cmd=$FILECMD
12189 case $host_cpu in
12190 ia64*)
12191 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12192 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12193 ;;
12194 hppa*64*)
12195 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]'
12196 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12197 ;;
12198 *)
12199 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
12200 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12201 ;;
12202 esac
12203 ;;
12204
12205 interix[3-9]*)
12206 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12207 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12208 ;;
12209
12210 irix5* | irix6* | nonstopux*)
12211 case $LD in
12212 *-32|*"-32 ") libmagic=32-bit;;
12213 *-n32|*"-n32 ") libmagic=N32;;
12214 *-64|*"-64 ") libmagic=64-bit;;
12215 *) libmagic=never-match;;
12216 esac
12217 lt_cv_deplibs_check_method=pass_all
12218 ;;
12219
12220 # This must be glibc/ELF.
12221 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12222 lt_cv_deplibs_check_method=pass_all
12223 ;;
12224
12225 *-mlibc)
12226 lt_cv_deplibs_check_method=pass_all
12227 ;;
12228
12229 netbsd* | netbsdelf*-gnu)
12230 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
12231 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12232 else
12233 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12234 fi
12235 ;;
12236
12237 newos6*)
12238 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12239 lt_cv_file_magic_cmd=$FILECMD
12240 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12241 ;;
12242
12243 *nto* | *qnx*)
12244 lt_cv_deplibs_check_method=pass_all
12245 ;;
12246
12247 openbsd*)
12248 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12249 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12250 else
12251 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12252 fi
12253 ;;
12254
12255 osf3* | osf4* | osf5*)
12256 lt_cv_deplibs_check_method=pass_all
12257 ;;
12258
12259 rdos*)
12260 lt_cv_deplibs_check_method=pass_all
12261 ;;
12262
12263 serenity*)
12264 lt_cv_deplibs_check_method=pass_all
12265 ;;
12266
12267 solaris*)
12268 lt_cv_deplibs_check_method=pass_all
12269 ;;
12270
12271 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12272 lt_cv_deplibs_check_method=pass_all
12273 ;;
12274
12275 sysv4 | sysv4.3*)
12276 case $host_vendor in
12277 motorola)
12278 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]'
12279 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12280 ;;
12281 ncr)
12282 lt_cv_deplibs_check_method=pass_all
12283 ;;
12284 sequent)
12285 lt_cv_file_magic_cmd='/bin/file'
12286 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12287 ;;
12288 sni)
12289 lt_cv_file_magic_cmd='/bin/file'
12290 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12291 lt_cv_file_magic_test_file=/lib/libc.so
12292 ;;
12293 siemens)
12294 lt_cv_deplibs_check_method=pass_all
12295 ;;
12296 pc)
12297 lt_cv_deplibs_check_method=pass_all
12298 ;;
12299 esac
12300 ;;
12301
12302 tpf*)
12303 lt_cv_deplibs_check_method=pass_all
12304 ;;
12305 os2*)
12306 lt_cv_deplibs_check_method=pass_all
12307 ;;
12308 esac
12309 ;;
12310 esac
12311 fi
12312 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
12313 printf '%s\n' "$lt_cv_deplibs_check_method" >&6; }
12314
12315 file_magic_glob=
12316 want_nocaseglob=no
12317 if test "$build" = "$host"; then
12318 case $host_os in
12319 mingw* | windows* | pw32*)
12320 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
12321 want_nocaseglob=yes
12322 else
12323 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
12324 fi
12325 ;;
12326 esac
12327 fi
12328
12329 file_magic_cmd=$lt_cv_file_magic_cmd
12330 deplibs_check_method=$lt_cv_deplibs_check_method
12331 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354 if test -n "$ac_tool_prefix"; then
12355 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12356 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12357 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12358 printf %s "checking for $ac_word... " >&6; }
12359 if test ${ac_cv_prog_DLLTOOL+y}
12360 then :
12361 printf %s "(cached) " >&6
12362 else case e in #(
12363 e) if test -n "$DLLTOOL"; then
12364 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12365 else
12366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12367 for as_dir in $PATH
12368 do
12369 IFS=$as_save_IFS
12370 case $as_dir in #(((
12371 '') as_dir=./ ;;
12372 */) ;;
12373 *) as_dir=$as_dir/ ;;
12374 esac
12375 for ac_exec_ext in '' $ac_executable_extensions; do
12376 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12377 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12378 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12379 break 2
12380 fi
12381 done
12382 done
12383 IFS=$as_save_IFS
12384
12385 fi ;;
12386 esac
12387 fi
12388 DLLTOOL=$ac_cv_prog_DLLTOOL
12389 if test -n "$DLLTOOL"; then
12390 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
12391 printf '%s\n' "$DLLTOOL" >&6; }
12392 else
12393 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 printf '%s\n' "no" >&6; }
12395 fi
12396
12397
12398 fi
12399 if test -z "$ac_cv_prog_DLLTOOL"; then
12400 ac_ct_DLLTOOL=$DLLTOOL
12401 # Extract the first word of "dlltool", so it can be a program name with args.
12402 set dummy dlltool; ac_word=$2
12403 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12404 printf %s "checking for $ac_word... " >&6; }
12405 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
12406 then :
12407 printf %s "(cached) " >&6
12408 else case e in #(
12409 e) if test -n "$ac_ct_DLLTOOL"; then
12410 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12411 else
12412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12413 for as_dir in $PATH
12414 do
12415 IFS=$as_save_IFS
12416 case $as_dir in #(((
12417 '') as_dir=./ ;;
12418 */) ;;
12419 *) as_dir=$as_dir/ ;;
12420 esac
12421 for ac_exec_ext in '' $ac_executable_extensions; do
12422 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12423 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12424 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12425 break 2
12426 fi
12427 done
12428 done
12429 IFS=$as_save_IFS
12430
12431 fi ;;
12432 esac
12433 fi
12434 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12435 if test -n "$ac_ct_DLLTOOL"; then
12436 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
12437 printf '%s\n' "$ac_ct_DLLTOOL" >&6; }
12438 else
12439 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12440 printf '%s\n' "no" >&6; }
12441 fi
12442
12443 if test "x$ac_ct_DLLTOOL" = x; then
12444 DLLTOOL="false"
12445 else
12446 case $cross_compiling:$ac_tool_warned in
12447 yes:)
12448 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12449 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12450 ac_tool_warned=yes ;;
12451 esac
12452 DLLTOOL=$ac_ct_DLLTOOL
12453 fi
12454 else
12455 DLLTOOL="$ac_cv_prog_DLLTOOL"
12456 fi
12457
12458 test -z "$DLLTOOL" && DLLTOOL=dlltool
12459
12460
12461
12462
12463
12464
12465
12466 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
12467 printf %s "checking how to associate runtime and link libraries... " >&6; }
12468 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
12469 then :
12470 printf %s "(cached) " >&6
12471 else case e in #(
12472 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
12473
12474 case $host_os in
12475 cygwin* | mingw* | windows* | pw32* | cegcc*)
12476 # two different shell functions defined in ltmain.sh;
12477 # decide which one to use based on capabilities of $DLLTOOL
12478 case `$DLLTOOL --help 2>&1` in
12479 *--identify-strict*)
12480 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
12481 ;;
12482 *)
12483 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
12484 ;;
12485 esac
12486 ;;
12487 *)
12488 # fallback: assume linklib IS sharedlib
12489 lt_cv_sharedlib_from_linklib_cmd=$ECHO
12490 ;;
12491 esac
12492 ;;
12493 esac
12494 fi
12495 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
12496 printf '%s\n' "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
12497 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
12498 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
12499
12500
12501
12502
12503
12504
12505
12506 if test -n "$ac_tool_prefix"; then
12507 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12508 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12509 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12510 printf %s "checking for $ac_word... " >&6; }
12511 if test ${ac_cv_prog_RANLIB+y}
12512 then :
12513 printf %s "(cached) " >&6
12514 else case e in #(
12515 e) if test -n "$RANLIB"; then
12516 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12517 else
12518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12519 for as_dir in $PATH
12520 do
12521 IFS=$as_save_IFS
12522 case $as_dir in #(((
12523 '') as_dir=./ ;;
12524 */) ;;
12525 *) as_dir=$as_dir/ ;;
12526 esac
12527 for ac_exec_ext in '' $ac_executable_extensions; do
12528 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12529 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12530 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12531 break 2
12532 fi
12533 done
12534 done
12535 IFS=$as_save_IFS
12536
12537 fi ;;
12538 esac
12539 fi
12540 RANLIB=$ac_cv_prog_RANLIB
12541 if test -n "$RANLIB"; then
12542 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
12543 printf '%s\n' "$RANLIB" >&6; }
12544 else
12545 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12546 printf '%s\n' "no" >&6; }
12547 fi
12548
12549
12550 fi
12551 if test -z "$ac_cv_prog_RANLIB"; then
12552 ac_ct_RANLIB=$RANLIB
12553 # Extract the first word of "ranlib", so it can be a program name with args.
12554 set dummy ranlib; ac_word=$2
12555 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12556 printf %s "checking for $ac_word... " >&6; }
12557 if test ${ac_cv_prog_ac_ct_RANLIB+y}
12558 then :
12559 printf %s "(cached) " >&6
12560 else case e in #(
12561 e) if test -n "$ac_ct_RANLIB"; then
12562 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12563 else
12564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12565 for as_dir in $PATH
12566 do
12567 IFS=$as_save_IFS
12568 case $as_dir in #(((
12569 '') as_dir=./ ;;
12570 */) ;;
12571 *) as_dir=$as_dir/ ;;
12572 esac
12573 for ac_exec_ext in '' $ac_executable_extensions; do
12574 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12575 ac_cv_prog_ac_ct_RANLIB="ranlib"
12576 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12577 break 2
12578 fi
12579 done
12580 done
12581 IFS=$as_save_IFS
12582
12583 fi ;;
12584 esac
12585 fi
12586 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12587 if test -n "$ac_ct_RANLIB"; then
12588 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
12589 printf '%s\n' "$ac_ct_RANLIB" >&6; }
12590 else
12591 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12592 printf '%s\n' "no" >&6; }
12593 fi
12594
12595 if test "x$ac_ct_RANLIB" = x; then
12596 RANLIB=":"
12597 else
12598 case $cross_compiling:$ac_tool_warned in
12599 yes:)
12600 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12601 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12602 ac_tool_warned=yes ;;
12603 esac
12604 RANLIB=$ac_ct_RANLIB
12605 fi
12606 else
12607 RANLIB="$ac_cv_prog_RANLIB"
12608 fi
12609
12610 if test -n "$ac_tool_prefix"; then
12611 for ac_prog in ar
12612 do
12613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12615 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12616 printf %s "checking for $ac_word... " >&6; }
12617 if test ${ac_cv_prog_AR+y}
12618 then :
12619 printf %s "(cached) " >&6
12620 else case e in #(
12621 e) if test -n "$AR"; then
12622 ac_cv_prog_AR="$AR" # Let the user override the test.
12623 else
12624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12625 for as_dir in $PATH
12626 do
12627 IFS=$as_save_IFS
12628 case $as_dir in #(((
12629 '') as_dir=./ ;;
12630 */) ;;
12631 *) as_dir=$as_dir/ ;;
12632 esac
12633 for ac_exec_ext in '' $ac_executable_extensions; do
12634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12635 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
12636 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12637 break 2
12638 fi
12639 done
12640 done
12641 IFS=$as_save_IFS
12642
12643 fi ;;
12644 esac
12645 fi
12646 AR=$ac_cv_prog_AR
12647 if test -n "$AR"; then
12648 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
12649 printf '%s\n' "$AR" >&6; }
12650 else
12651 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12652 printf '%s\n' "no" >&6; }
12653 fi
12654
12655
12656 test -n "$AR" && break
12657 done
12658 fi
12659 if test -z "$AR"; then
12660 ac_ct_AR=$AR
12661 for ac_prog in ar
12662 do
12663 # Extract the first word of "$ac_prog", so it can be a program name with args.
12664 set dummy $ac_prog; ac_word=$2
12665 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12666 printf %s "checking for $ac_word... " >&6; }
12667 if test ${ac_cv_prog_ac_ct_AR+y}
12668 then :
12669 printf %s "(cached) " >&6
12670 else case e in #(
12671 e) if test -n "$ac_ct_AR"; then
12672 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
12673 else
12674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12675 for as_dir in $PATH
12676 do
12677 IFS=$as_save_IFS
12678 case $as_dir in #(((
12679 '') as_dir=./ ;;
12680 */) ;;
12681 *) as_dir=$as_dir/ ;;
12682 esac
12683 for ac_exec_ext in '' $ac_executable_extensions; do
12684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12685 ac_cv_prog_ac_ct_AR="$ac_prog"
12686 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12687 break 2
12688 fi
12689 done
12690 done
12691 IFS=$as_save_IFS
12692
12693 fi ;;
12694 esac
12695 fi
12696 ac_ct_AR=$ac_cv_prog_ac_ct_AR
12697 if test -n "$ac_ct_AR"; then
12698 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
12699 printf '%s\n' "$ac_ct_AR" >&6; }
12700 else
12701 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12702 printf '%s\n' "no" >&6; }
12703 fi
12704
12705
12706 test -n "$ac_ct_AR" && break
12707 done
12708
12709 if test "x$ac_ct_AR" = x; then
12710 AR="false"
12711 else
12712 case $cross_compiling:$ac_tool_warned in
12713 yes:)
12714 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12715 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12716 ac_tool_warned=yes ;;
12717 esac
12718 AR=$ac_ct_AR
12719 fi
12720 fi
12721
12722 : ${AR=ar}
12723
12724
12725
12726
12727
12728
12729 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
12730 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
12731 # higher priority because that's what people were doing historically (setting
12732 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
12733 # variable obsoleted/removed.
12734
12735 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
12736 lt_ar_flags=$AR_FLAGS
12737
12738
12739
12740
12741
12742
12743 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
12744 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
12745
12746
12747
12748
12749
12750
12751 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
12752 printf %s "checking for archiver @FILE support... " >&6; }
12753 if test ${lt_cv_ar_at_file+y}
12754 then :
12755 printf %s "(cached) " >&6
12756 else case e in #(
12757 e) lt_cv_ar_at_file=no
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12760
12761 int
12762 main (void)
12763 {
12764
12765 ;
12766 return 0;
12767 }
12768 _ACEOF
12769 if ac_fn_c_try_compile "$LINENO"
12770 then :
12771 echo conftest.$ac_objext > conftest.lst
12772 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
12773 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
12774 (eval $lt_ar_try) 2>&5
12775 ac_status=$?
12776 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12777 test $ac_status = 0; }
12778 if test 0 -eq "$ac_status"; then
12779 # Ensure the archiver fails upon bogus file names.
12780 rm -f conftest.$ac_objext libconftest.a
12781 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
12782 (eval $lt_ar_try) 2>&5
12783 ac_status=$?
12784 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12785 test $ac_status = 0; }
12786 if test 0 -ne "$ac_status"; then
12787 lt_cv_ar_at_file=@
12788 fi
12789 fi
12790 rm -f conftest.* libconftest.a
12791
12792 fi
12793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12794 ;;
12795 esac
12796 fi
12797 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
12798 printf '%s\n' "$lt_cv_ar_at_file" >&6; }
12799
12800 if test no = "$lt_cv_ar_at_file"; then
12801 archiver_list_spec=
12802 else
12803 archiver_list_spec=$lt_cv_ar_at_file
12804 fi
12805
12806
12807
12808
12809
12810
12811
12812 if test -n "$ac_tool_prefix"; then
12813 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12814 set dummy ${ac_tool_prefix}strip; ac_word=$2
12815 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12816 printf %s "checking for $ac_word... " >&6; }
12817 if test ${ac_cv_prog_STRIP+y}
12818 then :
12819 printf %s "(cached) " >&6
12820 else case e in #(
12821 e) if test -n "$STRIP"; then
12822 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12823 else
12824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12825 for as_dir in $PATH
12826 do
12827 IFS=$as_save_IFS
12828 case $as_dir in #(((
12829 '') as_dir=./ ;;
12830 */) ;;
12831 *) as_dir=$as_dir/ ;;
12832 esac
12833 for ac_exec_ext in '' $ac_executable_extensions; do
12834 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12835 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12836 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12837 break 2
12838 fi
12839 done
12840 done
12841 IFS=$as_save_IFS
12842
12843 fi ;;
12844 esac
12845 fi
12846 STRIP=$ac_cv_prog_STRIP
12847 if test -n "$STRIP"; then
12848 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12849 printf '%s\n' "$STRIP" >&6; }
12850 else
12851 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12852 printf '%s\n' "no" >&6; }
12853 fi
12854
12855
12856 fi
12857 if test -z "$ac_cv_prog_STRIP"; then
12858 ac_ct_STRIP=$STRIP
12859 # Extract the first word of "strip", so it can be a program name with args.
12860 set dummy strip; ac_word=$2
12861 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12862 printf %s "checking for $ac_word... " >&6; }
12863 if test ${ac_cv_prog_ac_ct_STRIP+y}
12864 then :
12865 printf %s "(cached) " >&6
12866 else case e in #(
12867 e) if test -n "$ac_ct_STRIP"; then
12868 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12869 else
12870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12871 for as_dir in $PATH
12872 do
12873 IFS=$as_save_IFS
12874 case $as_dir in #(((
12875 '') as_dir=./ ;;
12876 */) ;;
12877 *) as_dir=$as_dir/ ;;
12878 esac
12879 for ac_exec_ext in '' $ac_executable_extensions; do
12880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12881 ac_cv_prog_ac_ct_STRIP="strip"
12882 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12883 break 2
12884 fi
12885 done
12886 done
12887 IFS=$as_save_IFS
12888
12889 fi ;;
12890 esac
12891 fi
12892 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12893 if test -n "$ac_ct_STRIP"; then
12894 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12895 printf '%s\n' "$ac_ct_STRIP" >&6; }
12896 else
12897 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
12898 printf '%s\n' "no" >&6; }
12899 fi
12900
12901 if test "x$ac_ct_STRIP" = x; then
12902 STRIP=":"
12903 else
12904 case $cross_compiling:$ac_tool_warned in
12905 yes:)
12906 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12907 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12908 ac_tool_warned=yes ;;
12909 esac
12910 STRIP=$ac_ct_STRIP
12911 fi
12912 else
12913 STRIP="$ac_cv_prog_STRIP"
12914 fi
12915
12916 test -z "$STRIP" && STRIP=:
12917
12918
12919
12920
12921
12922
12923
12924 test -z "$RANLIB" && RANLIB=:
12925
12926
12927
12928
12929
12930
12931 # Determine commands to create old-style static archives.
12932 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
12933 old_postinstall_cmds='chmod 644 $oldlib'
12934 old_postuninstall_cmds=
12935
12936 if test -n "$RANLIB"; then
12937 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
12938 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
12939 fi
12940
12941 case $host_os in
12942 darwin*)
12943 lock_old_archive_extraction=yes ;;
12944 *)
12945 lock_old_archive_extraction=no ;;
12946 esac
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986 # If no C compiler was specified, use CC.
12987 LTCC=${LTCC-"$CC"}
12988
12989 # If no C compiler flags were specified, use CFLAGS.
12990 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12991
12992 # Allow CC to be a program name with arguments.
12993 compiler=$CC
12994
12995
12996 # Check for command to grab the raw symbol name followed by C symbol from nm.
12997 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
12998 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
12999 if test ${lt_cv_sys_global_symbol_pipe+y}
13000 then :
13001 printf %s "(cached) " >&6
13002 else case e in #(
13003 e)
13004 # These are sane defaults that work on at least a few old systems.
13005 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13006
13007 # Character class describing NM global symbol codes.
13008 symcode='[BCDEGRST]'
13009
13010 # Regexp to match symbols that can be accessed directly from C.
13011 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13012
13013 # Define system-specific variables.
13014 case $host_os in
13015 aix*)
13016 symcode='[BCDT]'
13017 ;;
13018 cygwin* | mingw* | windows* | pw32* | cegcc*)
13019 symcode='[ABCDGISTW]'
13020 ;;
13021 hpux*)
13022 if test ia64 = "$host_cpu"; then
13023 symcode='[ABCDEGRST]'
13024 fi
13025 ;;
13026 irix* | nonstopux*)
13027 symcode='[BCDEGRST]'
13028 ;;
13029 osf*)
13030 symcode='[BCDEGQRST]'
13031 ;;
13032 solaris*)
13033 symcode='[BCDRT]'
13034 ;;
13035 sco3.2v5*)
13036 symcode='[DT]'
13037 ;;
13038 sysv4.2uw2*)
13039 symcode='[DT]'
13040 ;;
13041 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13042 symcode='[ABDT]'
13043 ;;
13044 sysv4)
13045 symcode='[DFNSTU]'
13046 ;;
13047 esac
13048
13049 # If we're using GNU nm, then use its standard symbol codes.
13050 case `$NM -V 2>&1` in
13051 *GNU* | *'with BFD'*)
13052 symcode='[ABCDGIRSTW]' ;;
13053 esac
13054
13055 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
13056 # Gets list of data symbols to import.
13057 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
13058 # Adjust the below global symbol transforms to fixup imported variables.
13059 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
13060 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
13061 lt_c_name_lib_hook="\
13062 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
13063 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
13064 else
13065 # Disable hooks by default.
13066 lt_cv_sys_global_symbol_to_import=
13067 lt_cdecl_hook=
13068 lt_c_name_hook=
13069 lt_c_name_lib_hook=
13070 fi
13071
13072 # Transform an extracted symbol line into a proper C declaration.
13073 # Some systems (esp. on ia64) link data and code symbols differently,
13074 # so use this general approach.
13075 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
13076 $lt_cdecl_hook\
13077 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
13078 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
13079
13080 # Transform an extracted symbol line into symbol name and symbol address
13081 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
13082 $lt_c_name_hook\
13083 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
13084 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
13085
13086 # Transform an extracted symbol line into symbol name with lib prefix and
13087 # symbol address.
13088 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
13089 $lt_c_name_lib_hook\
13090 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
13091 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
13092 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
13093
13094 # Handle CRLF in mingw tool chain
13095 opt_cr=
13096 case $build_os in
13097 mingw* | windows*)
13098 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13099 ;;
13100 esac
13101
13102 # Try without a prefix underscore, then with it.
13103 for ac_symprfx in "" "_"; do
13104
13105 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13106 symxfrm="\\1 $ac_symprfx\\2 \\2"
13107
13108 # Write the raw and C identifiers.
13109 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
13110 # Fake it for dumpbin and say T for any non-static function,
13111 # D for any global variable and I for any imported variable.
13112 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
13113 # which start with @ or ?.
13114 lt_cv_sys_global_symbol_pipe="$AWK '"\
13115 " {last_section=section; section=\$ 3};"\
13116 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
13117 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
13118 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
13119 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
13120 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
13121 " \$ 0!~/External *\|/{next};"\
13122 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
13123 " {if(hide[section]) next};"\
13124 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
13125 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
13126 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
13127 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
13128 " ' prfx=^$ac_symprfx"
13129 else
13130 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13131 fi
13132 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
13133
13134 # Check to see that the pipe works correctly.
13135 pipe_works=no
13136
13137 rm -f conftest*
13138 cat > conftest.$ac_ext <<_LT_EOF
13139 #ifdef __cplusplus
13140 extern "C" {
13141 #endif
13142 char nm_test_var;
13143 void nm_test_func(void);
13144 void nm_test_func(void){}
13145 #ifdef __cplusplus
13146 }
13147 #endif
13148 int main(void){nm_test_var='a';nm_test_func();return(0);}
13149 _LT_EOF
13150
13151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13152 (eval $ac_compile) 2>&5
13153 ac_status=$?
13154 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13155 test $ac_status = 0; }; then
13156 # Now try to grab the symbols.
13157 nlist=conftest.nm
13158 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
13159 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
13160 # Try sorting and uniquifying the output.
13161 if sort "$nlist" | uniq > "$nlist"T; then
13162 mv -f "$nlist"T "$nlist"
13163 else
13164 rm -f "$nlist"T
13165 fi
13166
13167 # Make sure that we snagged all the symbols we need.
13168 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
13169 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
13170 cat <<_LT_EOF > conftest.$ac_ext
13171 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
13172 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
13173 /* DATA imports from DLLs on WIN32 can't be const, because runtime
13174 relocations are performed -- see ld's documentation on pseudo-relocs. */
13175 # define LT_DLSYM_CONST
13176 #elif defined __osf__
13177 /* This system does not cope well with relocations in const data. */
13178 # define LT_DLSYM_CONST
13179 #else
13180 # define LT_DLSYM_CONST const
13181 #endif
13182
13183 #ifdef __cplusplus
13184 extern "C" {
13185 #endif
13186
13187 _LT_EOF
13188 # Now generate the symbol file.
13189 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
13190
13191 cat <<_LT_EOF >> conftest.$ac_ext
13192
13193 /* The mapping between symbol names and symbols. */
13194 LT_DLSYM_CONST struct {
13195 const char *name;
13196 void *address;
13197 }
13198 lt__PROGRAM__LTX_preloaded_symbols[] =
13199 {
13200 { "@PROGRAM@", (void *) 0 },
13201 _LT_EOF
13202 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
13203 cat <<\_LT_EOF >> conftest.$ac_ext
13204 {0, (void *) 0}
13205 };
13206
13207 /* This works around a problem in FreeBSD linker */
13208 #ifdef FREEBSD_WORKAROUND
13209 static const void *lt_preloaded_setup() {
13210 return lt__PROGRAM__LTX_preloaded_symbols;
13211 }
13212 #endif
13213
13214 #ifdef __cplusplus
13215 }
13216 #endif
13217 _LT_EOF
13218 # Now try linking the two files.
13219 mv conftest.$ac_objext conftstm.$ac_objext
13220 lt_globsym_save_LIBS=$LIBS
13221 lt_globsym_save_CFLAGS=$CFLAGS
13222 LIBS=conftstm.$ac_objext
13223 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13225 (eval $ac_link) 2>&5
13226 ac_status=$?
13227 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13228 test $ac_status = 0; } && test -s conftest$ac_exeext; then
13229 pipe_works=yes
13230 fi
13231 LIBS=$lt_globsym_save_LIBS
13232 CFLAGS=$lt_globsym_save_CFLAGS
13233 else
13234 echo "cannot find nm_test_func in $nlist" >&5
13235 fi
13236 else
13237 echo "cannot find nm_test_var in $nlist" >&5
13238 fi
13239 else
13240 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13241 fi
13242 else
13243 echo "$progname: failed program was:" >&5
13244 cat conftest.$ac_ext >&5
13245 fi
13246 rm -rf conftest* conftst*
13247
13248 # Do not use the global_symbol_pipe unless it works.
13249 if test yes = "$pipe_works"; then
13250 break
13251 else
13252 lt_cv_sys_global_symbol_pipe=
13253 fi
13254 done
13255 ;;
13256 esac
13257 fi
13258
13259 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13260 lt_cv_sys_global_symbol_to_cdecl=
13261 fi
13262 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13263 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: failed" >&5
13264 printf '%s\n' "failed" >&6; }
13265 else
13266 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13267 printf '%s\n' "ok" >&6; }
13268 fi
13269
13270 # Response file support.
13271 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
13272 nm_file_list_spec='@'
13273 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
13274 nm_file_list_spec='@'
13275 fi
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
13314 printf %s "checking for sysroot... " >&6; }
13315
13316 # Check whether --with-sysroot was given.
13317 if test ${with_sysroot+y}
13318 then :
13319 withval=$with_sysroot;
13320 else case e in #(
13321 e) with_sysroot=no ;;
13322 esac
13323 fi
13324
13325
13326 lt_sysroot=
13327 case $with_sysroot in #(
13328 yes)
13329 if test yes = "$GCC"; then
13330 # Trim trailing / since we'll always append absolute paths and we want
13331 # to avoid //, if only for less confusing output for the user.
13332 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
13333 fi
13334 ;; #(
13335 /*)
13336 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
13337 ;; #(
13338 no|'')
13339 ;; #(
13340 *)
13341 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
13342 printf '%s\n' "$with_sysroot" >&6; }
13343 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
13344 ;;
13345 esac
13346
13347 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
13348 printf '%s\n' "${lt_sysroot:-no}" >&6; }
13349
13350
13351
13352
13353
13354 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
13355 printf %s "checking for a working dd... " >&6; }
13356 if test ${ac_cv_path_lt_DD+y}
13357 then :
13358 printf %s "(cached) " >&6
13359 else case e in #(
13360 e) printf 0123456789abcdef0123456789abcdef >conftest.i
13361 cat conftest.i conftest.i >conftest2.i
13362 : ${lt_DD:=$DD}
13363 if test -z "$lt_DD"; then
13364 ac_path_lt_DD_found=false
13365 # Loop through the user's path and test for each of PROGNAME-LIST
13366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13367 for as_dir in $PATH
13368 do
13369 IFS=$as_save_IFS
13370 case $as_dir in #(((
13371 '') as_dir=./ ;;
13372 */) ;;
13373 *) as_dir=$as_dir/ ;;
13374 esac
13375 for ac_prog in dd
13376 do
13377 for ac_exec_ext in '' $ac_executable_extensions; do
13378 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
13379 as_fn_executable_p "$ac_path_lt_DD" || continue
13380 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
13381 cmp -s conftest.i conftest.out \
13382 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
13383 fi
13384 $ac_path_lt_DD_found && break 3
13385 done
13386 done
13387 done
13388 IFS=$as_save_IFS
13389 if test -z "$ac_cv_path_lt_DD"; then
13390 :
13391 fi
13392 else
13393 ac_cv_path_lt_DD=$lt_DD
13394 fi
13395
13396 rm -f conftest.i conftest2.i conftest.out ;;
13397 esac
13398 fi
13399 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
13400 printf '%s\n' "$ac_cv_path_lt_DD" >&6; }
13401
13402
13403 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
13404 printf %s "checking how to truncate binary pipes... " >&6; }
13405 if test ${lt_cv_truncate_bin+y}
13406 then :
13407 printf %s "(cached) " >&6
13408 else case e in #(
13409 e) printf 0123456789abcdef0123456789abcdef >conftest.i
13410 cat conftest.i conftest.i >conftest2.i
13411 lt_cv_truncate_bin=
13412 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
13413 cmp -s conftest.i conftest.out \
13414 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
13415 fi
13416 rm -f conftest.i conftest2.i conftest.out
13417 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
13418 esac
13419 fi
13420 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
13421 printf '%s\n' "$lt_cv_truncate_bin" >&6; }
13422
13423
13424
13425
13426
13427
13428
13429 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
13430 func_cc_basename ()
13431 {
13432 for cc_temp in $*""; do
13433 case $cc_temp in
13434 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13435 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13436 \-*) ;;
13437 *) break;;
13438 esac
13439 done
13440 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13441 }
13442
13443 # Check whether --enable-libtool-lock was given.
13444 if test ${enable_libtool_lock+y}
13445 then :
13446 enableval=$enable_libtool_lock;
13447 fi
13448
13449 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
13450
13451 # Some flags need to be propagated to the compiler or linker for good
13452 # libtool support.
13453 case $host in
13454 ia64-*-hpux*)
13455 # Find out what ABI is being produced by ac_compile, and set mode
13456 # options accordingly.
13457 echo 'int i;' > conftest.$ac_ext
13458 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13459 (eval $ac_compile) 2>&5
13460 ac_status=$?
13461 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13462 test $ac_status = 0; }; then
13463 case `$FILECMD conftest.$ac_objext` in
13464 *ELF-32*)
13465 HPUX_IA64_MODE=32
13466 ;;
13467 *ELF-64*)
13468 HPUX_IA64_MODE=64
13469 ;;
13470 esac
13471 fi
13472 rm -rf conftest*
13473 ;;
13474 *-*-irix6*)
13475 # Find out what ABI is being produced by ac_compile, and set linker
13476 # options accordingly.
13477 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
13478 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13479 (eval $ac_compile) 2>&5
13480 ac_status=$?
13481 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13482 test $ac_status = 0; }; then
13483 if test yes = "$lt_cv_prog_gnu_ld"; then
13484 case `$FILECMD conftest.$ac_objext` in
13485 *32-bit*)
13486 LD="${LD-ld} -melf32bsmip"
13487 ;;
13488 *N32*)
13489 LD="${LD-ld} -melf32bmipn32"
13490 ;;
13491 *64-bit*)
13492 LD="${LD-ld} -melf64bmip"
13493 ;;
13494 esac
13495 else
13496 case `$FILECMD conftest.$ac_objext` in
13497 *32-bit*)
13498 LD="${LD-ld} -32"
13499 ;;
13500 *N32*)
13501 LD="${LD-ld} -n32"
13502 ;;
13503 *64-bit*)
13504 LD="${LD-ld} -64"
13505 ;;
13506 esac
13507 fi
13508 fi
13509 rm -rf conftest*
13510 ;;
13511
13512 mips64*-*linux*)
13513 # Find out what ABI is being produced by ac_compile, and set linker
13514 # options accordingly.
13515 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
13516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13517 (eval $ac_compile) 2>&5
13518 ac_status=$?
13519 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13520 test $ac_status = 0; }; then
13521 emul=elf
13522 case `$FILECMD conftest.$ac_objext` in
13523 *32-bit*)
13524 emul="${emul}32"
13525 ;;
13526 *64-bit*)
13527 emul="${emul}64"
13528 ;;
13529 esac
13530 case `$FILECMD conftest.$ac_objext` in
13531 *MSB*)
13532 emul="${emul}btsmip"
13533 ;;
13534 *LSB*)
13535 emul="${emul}ltsmip"
13536 ;;
13537 esac
13538 case `$FILECMD conftest.$ac_objext` in
13539 *N32*)
13540 emul="${emul}n32"
13541 ;;
13542 esac
13543 LD="${LD-ld} -m $emul"
13544 fi
13545 rm -rf conftest*
13546 ;;
13547
13548 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
13549 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
13550 # Find out what ABI is being produced by ac_compile, and set linker
13551 # options accordingly. Note that the listed cases only cover the
13552 # situations where additional linker options are needed (such as when
13553 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
13554 # vice versa); the common cases where no linker options are needed do
13555 # not appear in the list.
13556 echo 'int i;' > conftest.$ac_ext
13557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13558 (eval $ac_compile) 2>&5
13559 ac_status=$?
13560 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13561 test $ac_status = 0; }; then
13562 case `$FILECMD conftest.o` in
13563 *32-bit*)
13564 case $host in
13565 x86_64-*kfreebsd*-gnu)
13566 LD="${LD-ld} -m elf_i386_fbsd"
13567 ;;
13568 x86_64-*linux*|x86_64-gnu*)
13569 case `$FILECMD conftest.o` in
13570 *x86-64*)
13571 LD="${LD-ld} -m elf32_x86_64"
13572 ;;
13573 *)
13574 LD="${LD-ld} -m elf_i386"
13575 ;;
13576 esac
13577 ;;
13578 powerpc64le-*linux*)
13579 LD="${LD-ld} -m elf32lppclinux"
13580 ;;
13581 powerpc64-*linux*)
13582 LD="${LD-ld} -m elf32ppclinux"
13583 ;;
13584 s390x-*linux*)
13585 LD="${LD-ld} -m elf_s390"
13586 ;;
13587 sparc64-*linux*)
13588 LD="${LD-ld} -m elf32_sparc"
13589 ;;
13590 esac
13591 ;;
13592 *64-bit*)
13593 case $host in
13594 x86_64-*kfreebsd*-gnu)
13595 LD="${LD-ld} -m elf_x86_64_fbsd"
13596 ;;
13597 x86_64-*linux*|x86_64-gnu*)
13598 LD="${LD-ld} -m elf_x86_64"
13599 ;;
13600 powerpcle-*linux*)
13601 LD="${LD-ld} -m elf64lppc"
13602 ;;
13603 powerpc-*linux*)
13604 LD="${LD-ld} -m elf64ppc"
13605 ;;
13606 s390*-*linux*|s390*-*tpf*)
13607 LD="${LD-ld} -m elf64_s390"
13608 ;;
13609 sparc*-*linux*)
13610 LD="${LD-ld} -m elf64_sparc"
13611 ;;
13612 esac
13613 ;;
13614 esac
13615 fi
13616 rm -rf conftest*
13617 ;;
13618
13619 *-*-sco3.2v5*)
13620 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
13621 SAVE_CFLAGS=$CFLAGS
13622 CFLAGS="$CFLAGS -belf"
13623 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
13624 printf %s "checking whether the C compiler needs -belf... " >&6; }
13625 if test ${lt_cv_cc_needs_belf+y}
13626 then :
13627 printf %s "(cached) " >&6
13628 else case e in #(
13629 e) ac_ext=c
13630 ac_cpp='$CPP $CPPFLAGS'
13631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13634
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637
13638 int
13639 main (void)
13640 {
13641
13642 ;
13643 return 0;
13644 }
13645 _ACEOF
13646 if ac_fn_c_try_link "$LINENO"
13647 then :
13648 lt_cv_cc_needs_belf=yes
13649 else case e in #(
13650 e) lt_cv_cc_needs_belf=no ;;
13651 esac
13652 fi
13653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13654 conftest$ac_exeext conftest.$ac_ext
13655 ac_ext=c
13656 ac_cpp='$CPP $CPPFLAGS'
13657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13660 ;;
13661 esac
13662 fi
13663 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
13664 printf '%s\n' "$lt_cv_cc_needs_belf" >&6; }
13665 if test yes != "$lt_cv_cc_needs_belf"; then
13666 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
13667 CFLAGS=$SAVE_CFLAGS
13668 fi
13669 ;;
13670 *-*solaris*)
13671 # Find out what ABI is being produced by ac_compile, and set linker
13672 # options accordingly.
13673 echo 'int i;' > conftest.$ac_ext
13674 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13675 (eval $ac_compile) 2>&5
13676 ac_status=$?
13677 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13678 test $ac_status = 0; }; then
13679 case `$FILECMD conftest.o` in
13680 *64-bit*)
13681 case $lt_cv_prog_gnu_ld in
13682 yes*)
13683 case $host in
13684 i?86-*-solaris*|x86_64-*-solaris*)
13685 LD="${LD-ld} -m elf_x86_64"
13686 ;;
13687 sparc*-*-solaris*)
13688 LD="${LD-ld} -m elf64_sparc"
13689 ;;
13690 esac
13691 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
13692 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
13693 LD=${LD-ld}_sol2
13694 fi
13695 ;;
13696 *)
13697 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
13698 LD="${LD-ld} -64"
13699 fi
13700 ;;
13701 esac
13702 ;;
13703 esac
13704 fi
13705 rm -rf conftest*
13706 ;;
13707 esac
13708
13709 need_locks=$enable_libtool_lock
13710
13711 if test -n "$ac_tool_prefix"; then
13712 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
13713 set dummy ${ac_tool_prefix}mt; ac_word=$2
13714 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13715 printf %s "checking for $ac_word... " >&6; }
13716 if test ${ac_cv_prog_MANIFEST_TOOL+y}
13717 then :
13718 printf %s "(cached) " >&6
13719 else case e in #(
13720 e) if test -n "$MANIFEST_TOOL"; then
13721 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
13722 else
13723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13724 for as_dir in $PATH
13725 do
13726 IFS=$as_save_IFS
13727 case $as_dir in #(((
13728 '') as_dir=./ ;;
13729 */) ;;
13730 *) as_dir=$as_dir/ ;;
13731 esac
13732 for ac_exec_ext in '' $ac_executable_extensions; do
13733 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13734 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
13735 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13736 break 2
13737 fi
13738 done
13739 done
13740 IFS=$as_save_IFS
13741
13742 fi ;;
13743 esac
13744 fi
13745 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
13746 if test -n "$MANIFEST_TOOL"; then
13747 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
13748 printf '%s\n' "$MANIFEST_TOOL" >&6; }
13749 else
13750 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
13751 printf '%s\n' "no" >&6; }
13752 fi
13753
13754
13755 fi
13756 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
13757 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
13758 # Extract the first word of "mt", so it can be a program name with args.
13759 set dummy mt; ac_word=$2
13760 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13761 printf %s "checking for $ac_word... " >&6; }
13762 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
13763 then :
13764 printf %s "(cached) " >&6
13765 else case e in #(
13766 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
13767 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
13768 else
13769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13770 for as_dir in $PATH
13771 do
13772 IFS=$as_save_IFS
13773 case $as_dir in #(((
13774 '') as_dir=./ ;;
13775 */) ;;
13776 *) as_dir=$as_dir/ ;;
13777 esac
13778 for ac_exec_ext in '' $ac_executable_extensions; do
13779 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13780 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
13781 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13782 break 2
13783 fi
13784 done
13785 done
13786 IFS=$as_save_IFS
13787
13788 fi ;;
13789 esac
13790 fi
13791 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
13792 if test -n "$ac_ct_MANIFEST_TOOL"; then
13793 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
13794 printf '%s\n' "$ac_ct_MANIFEST_TOOL" >&6; }
13795 else
13796 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
13797 printf '%s\n' "no" >&6; }
13798 fi
13799
13800 if test "x$ac_ct_MANIFEST_TOOL" = x; then
13801 MANIFEST_TOOL=":"
13802 else
13803 case $cross_compiling:$ac_tool_warned in
13804 yes:)
13805 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13806 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13807 ac_tool_warned=yes ;;
13808 esac
13809 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
13810 fi
13811 else
13812 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
13813 fi
13814
13815 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
13816 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
13817 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
13818 if test ${lt_cv_path_manifest_tool+y}
13819 then :
13820 printf %s "(cached) " >&6
13821 else case e in #(
13822 e) lt_cv_path_manifest_tool=no
13823 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
13824 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
13825 cat conftest.err >&5
13826 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
13827 lt_cv_path_manifest_tool=yes
13828 fi
13829 rm -f conftest* ;;
13830 esac
13831 fi
13832 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
13833 printf '%s\n' "$lt_cv_path_manifest_tool" >&6; }
13834 if test yes != "$lt_cv_path_manifest_tool"; then
13835 MANIFEST_TOOL=:
13836 fi
13837
13838
13839
13840
13841
13842
13843 case $host_os in
13844 rhapsody* | darwin*)
13845 if test -n "$ac_tool_prefix"; then
13846 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
13847 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
13848 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13849 printf %s "checking for $ac_word... " >&6; }
13850 if test ${ac_cv_prog_DSYMUTIL+y}
13851 then :
13852 printf %s "(cached) " >&6
13853 else case e in #(
13854 e) if test -n "$DSYMUTIL"; then
13855 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
13856 else
13857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13858 for as_dir in $PATH
13859 do
13860 IFS=$as_save_IFS
13861 case $as_dir in #(((
13862 '') as_dir=./ ;;
13863 */) ;;
13864 *) as_dir=$as_dir/ ;;
13865 esac
13866 for ac_exec_ext in '' $ac_executable_extensions; do
13867 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13868 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
13869 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13870 break 2
13871 fi
13872 done
13873 done
13874 IFS=$as_save_IFS
13875
13876 fi ;;
13877 esac
13878 fi
13879 DSYMUTIL=$ac_cv_prog_DSYMUTIL
13880 if test -n "$DSYMUTIL"; then
13881 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
13882 printf '%s\n' "$DSYMUTIL" >&6; }
13883 else
13884 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
13885 printf '%s\n' "no" >&6; }
13886 fi
13887
13888
13889 fi
13890 if test -z "$ac_cv_prog_DSYMUTIL"; then
13891 ac_ct_DSYMUTIL=$DSYMUTIL
13892 # Extract the first word of "dsymutil", so it can be a program name with args.
13893 set dummy dsymutil; ac_word=$2
13894 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13895 printf %s "checking for $ac_word... " >&6; }
13896 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
13897 then :
13898 printf %s "(cached) " >&6
13899 else case e in #(
13900 e) if test -n "$ac_ct_DSYMUTIL"; then
13901 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
13902 else
13903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13904 for as_dir in $PATH
13905 do
13906 IFS=$as_save_IFS
13907 case $as_dir in #(((
13908 '') as_dir=./ ;;
13909 */) ;;
13910 *) as_dir=$as_dir/ ;;
13911 esac
13912 for ac_exec_ext in '' $ac_executable_extensions; do
13913 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13914 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
13915 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13916 break 2
13917 fi
13918 done
13919 done
13920 IFS=$as_save_IFS
13921
13922 fi ;;
13923 esac
13924 fi
13925 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
13926 if test -n "$ac_ct_DSYMUTIL"; then
13927 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
13928 printf '%s\n' "$ac_ct_DSYMUTIL" >&6; }
13929 else
13930 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
13931 printf '%s\n' "no" >&6; }
13932 fi
13933
13934 if test "x$ac_ct_DSYMUTIL" = x; then
13935 DSYMUTIL=":"
13936 else
13937 case $cross_compiling:$ac_tool_warned in
13938 yes:)
13939 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13940 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13941 ac_tool_warned=yes ;;
13942 esac
13943 DSYMUTIL=$ac_ct_DSYMUTIL
13944 fi
13945 else
13946 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
13947 fi
13948
13949 if test -n "$ac_tool_prefix"; then
13950 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
13951 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
13952 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13953 printf %s "checking for $ac_word... " >&6; }
13954 if test ${ac_cv_prog_NMEDIT+y}
13955 then :
13956 printf %s "(cached) " >&6
13957 else case e in #(
13958 e) if test -n "$NMEDIT"; then
13959 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
13960 else
13961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13962 for as_dir in $PATH
13963 do
13964 IFS=$as_save_IFS
13965 case $as_dir in #(((
13966 '') as_dir=./ ;;
13967 */) ;;
13968 *) as_dir=$as_dir/ ;;
13969 esac
13970 for ac_exec_ext in '' $ac_executable_extensions; do
13971 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13972 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
13973 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13974 break 2
13975 fi
13976 done
13977 done
13978 IFS=$as_save_IFS
13979
13980 fi ;;
13981 esac
13982 fi
13983 NMEDIT=$ac_cv_prog_NMEDIT
13984 if test -n "$NMEDIT"; then
13985 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
13986 printf '%s\n' "$NMEDIT" >&6; }
13987 else
13988 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
13989 printf '%s\n' "no" >&6; }
13990 fi
13991
13992
13993 fi
13994 if test -z "$ac_cv_prog_NMEDIT"; then
13995 ac_ct_NMEDIT=$NMEDIT
13996 # Extract the first word of "nmedit", so it can be a program name with args.
13997 set dummy nmedit; ac_word=$2
13998 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13999 printf %s "checking for $ac_word... " >&6; }
14000 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
14001 then :
14002 printf %s "(cached) " >&6
14003 else case e in #(
14004 e) if test -n "$ac_ct_NMEDIT"; then
14005 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
14006 else
14007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14008 for as_dir in $PATH
14009 do
14010 IFS=$as_save_IFS
14011 case $as_dir in #(((
14012 '') as_dir=./ ;;
14013 */) ;;
14014 *) as_dir=$as_dir/ ;;
14015 esac
14016 for ac_exec_ext in '' $ac_executable_extensions; do
14017 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14018 ac_cv_prog_ac_ct_NMEDIT="nmedit"
14019 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14020 break 2
14021 fi
14022 done
14023 done
14024 IFS=$as_save_IFS
14025
14026 fi ;;
14027 esac
14028 fi
14029 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
14030 if test -n "$ac_ct_NMEDIT"; then
14031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
14032 printf '%s\n' "$ac_ct_NMEDIT" >&6; }
14033 else
14034 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14035 printf '%s\n' "no" >&6; }
14036 fi
14037
14038 if test "x$ac_ct_NMEDIT" = x; then
14039 NMEDIT=":"
14040 else
14041 case $cross_compiling:$ac_tool_warned in
14042 yes:)
14043 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14044 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14045 ac_tool_warned=yes ;;
14046 esac
14047 NMEDIT=$ac_ct_NMEDIT
14048 fi
14049 else
14050 NMEDIT="$ac_cv_prog_NMEDIT"
14051 fi
14052
14053 if test -n "$ac_tool_prefix"; then
14054 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
14055 set dummy ${ac_tool_prefix}lipo; ac_word=$2
14056 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14057 printf %s "checking for $ac_word... " >&6; }
14058 if test ${ac_cv_prog_LIPO+y}
14059 then :
14060 printf %s "(cached) " >&6
14061 else case e in #(
14062 e) if test -n "$LIPO"; then
14063 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
14064 else
14065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14066 for as_dir in $PATH
14067 do
14068 IFS=$as_save_IFS
14069 case $as_dir in #(((
14070 '') as_dir=./ ;;
14071 */) ;;
14072 *) as_dir=$as_dir/ ;;
14073 esac
14074 for ac_exec_ext in '' $ac_executable_extensions; do
14075 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14076 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
14077 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14078 break 2
14079 fi
14080 done
14081 done
14082 IFS=$as_save_IFS
14083
14084 fi ;;
14085 esac
14086 fi
14087 LIPO=$ac_cv_prog_LIPO
14088 if test -n "$LIPO"; then
14089 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
14090 printf '%s\n' "$LIPO" >&6; }
14091 else
14092 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14093 printf '%s\n' "no" >&6; }
14094 fi
14095
14096
14097 fi
14098 if test -z "$ac_cv_prog_LIPO"; then
14099 ac_ct_LIPO=$LIPO
14100 # Extract the first word of "lipo", so it can be a program name with args.
14101 set dummy lipo; ac_word=$2
14102 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14103 printf %s "checking for $ac_word... " >&6; }
14104 if test ${ac_cv_prog_ac_ct_LIPO+y}
14105 then :
14106 printf %s "(cached) " >&6
14107 else case e in #(
14108 e) if test -n "$ac_ct_LIPO"; then
14109 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
14110 else
14111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14112 for as_dir in $PATH
14113 do
14114 IFS=$as_save_IFS
14115 case $as_dir in #(((
14116 '') as_dir=./ ;;
14117 */) ;;
14118 *) as_dir=$as_dir/ ;;
14119 esac
14120 for ac_exec_ext in '' $ac_executable_extensions; do
14121 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14122 ac_cv_prog_ac_ct_LIPO="lipo"
14123 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14124 break 2
14125 fi
14126 done
14127 done
14128 IFS=$as_save_IFS
14129
14130 fi ;;
14131 esac
14132 fi
14133 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
14134 if test -n "$ac_ct_LIPO"; then
14135 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
14136 printf '%s\n' "$ac_ct_LIPO" >&6; }
14137 else
14138 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14139 printf '%s\n' "no" >&6; }
14140 fi
14141
14142 if test "x$ac_ct_LIPO" = x; then
14143 LIPO=":"
14144 else
14145 case $cross_compiling:$ac_tool_warned in
14146 yes:)
14147 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14148 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14149 ac_tool_warned=yes ;;
14150 esac
14151 LIPO=$ac_ct_LIPO
14152 fi
14153 else
14154 LIPO="$ac_cv_prog_LIPO"
14155 fi
14156
14157 if test -n "$ac_tool_prefix"; then
14158 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
14159 set dummy ${ac_tool_prefix}otool; ac_word=$2
14160 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14161 printf %s "checking for $ac_word... " >&6; }
14162 if test ${ac_cv_prog_OTOOL+y}
14163 then :
14164 printf %s "(cached) " >&6
14165 else case e in #(
14166 e) if test -n "$OTOOL"; then
14167 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
14168 else
14169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14170 for as_dir in $PATH
14171 do
14172 IFS=$as_save_IFS
14173 case $as_dir in #(((
14174 '') as_dir=./ ;;
14175 */) ;;
14176 *) as_dir=$as_dir/ ;;
14177 esac
14178 for ac_exec_ext in '' $ac_executable_extensions; do
14179 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14180 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
14181 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14182 break 2
14183 fi
14184 done
14185 done
14186 IFS=$as_save_IFS
14187
14188 fi ;;
14189 esac
14190 fi
14191 OTOOL=$ac_cv_prog_OTOOL
14192 if test -n "$OTOOL"; then
14193 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
14194 printf '%s\n' "$OTOOL" >&6; }
14195 else
14196 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14197 printf '%s\n' "no" >&6; }
14198 fi
14199
14200
14201 fi
14202 if test -z "$ac_cv_prog_OTOOL"; then
14203 ac_ct_OTOOL=$OTOOL
14204 # Extract the first word of "otool", so it can be a program name with args.
14205 set dummy otool; ac_word=$2
14206 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14207 printf %s "checking for $ac_word... " >&6; }
14208 if test ${ac_cv_prog_ac_ct_OTOOL+y}
14209 then :
14210 printf %s "(cached) " >&6
14211 else case e in #(
14212 e) if test -n "$ac_ct_OTOOL"; then
14213 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
14214 else
14215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14216 for as_dir in $PATH
14217 do
14218 IFS=$as_save_IFS
14219 case $as_dir in #(((
14220 '') as_dir=./ ;;
14221 */) ;;
14222 *) as_dir=$as_dir/ ;;
14223 esac
14224 for ac_exec_ext in '' $ac_executable_extensions; do
14225 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14226 ac_cv_prog_ac_ct_OTOOL="otool"
14227 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14228 break 2
14229 fi
14230 done
14231 done
14232 IFS=$as_save_IFS
14233
14234 fi ;;
14235 esac
14236 fi
14237 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
14238 if test -n "$ac_ct_OTOOL"; then
14239 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
14240 printf '%s\n' "$ac_ct_OTOOL" >&6; }
14241 else
14242 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14243 printf '%s\n' "no" >&6; }
14244 fi
14245
14246 if test "x$ac_ct_OTOOL" = x; then
14247 OTOOL=":"
14248 else
14249 case $cross_compiling:$ac_tool_warned in
14250 yes:)
14251 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14252 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14253 ac_tool_warned=yes ;;
14254 esac
14255 OTOOL=$ac_ct_OTOOL
14256 fi
14257 else
14258 OTOOL="$ac_cv_prog_OTOOL"
14259 fi
14260
14261 if test -n "$ac_tool_prefix"; then
14262 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
14263 set dummy ${ac_tool_prefix}otool64; ac_word=$2
14264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14265 printf %s "checking for $ac_word... " >&6; }
14266 if test ${ac_cv_prog_OTOOL64+y}
14267 then :
14268 printf %s "(cached) " >&6
14269 else case e in #(
14270 e) if test -n "$OTOOL64"; then
14271 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
14272 else
14273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14274 for as_dir in $PATH
14275 do
14276 IFS=$as_save_IFS
14277 case $as_dir in #(((
14278 '') as_dir=./ ;;
14279 */) ;;
14280 *) as_dir=$as_dir/ ;;
14281 esac
14282 for ac_exec_ext in '' $ac_executable_extensions; do
14283 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14284 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
14285 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14286 break 2
14287 fi
14288 done
14289 done
14290 IFS=$as_save_IFS
14291
14292 fi ;;
14293 esac
14294 fi
14295 OTOOL64=$ac_cv_prog_OTOOL64
14296 if test -n "$OTOOL64"; then
14297 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
14298 printf '%s\n' "$OTOOL64" >&6; }
14299 else
14300 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14301 printf '%s\n' "no" >&6; }
14302 fi
14303
14304
14305 fi
14306 if test -z "$ac_cv_prog_OTOOL64"; then
14307 ac_ct_OTOOL64=$OTOOL64
14308 # Extract the first word of "otool64", so it can be a program name with args.
14309 set dummy otool64; ac_word=$2
14310 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14311 printf %s "checking for $ac_word... " >&6; }
14312 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
14313 then :
14314 printf %s "(cached) " >&6
14315 else case e in #(
14316 e) if test -n "$ac_ct_OTOOL64"; then
14317 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
14318 else
14319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14320 for as_dir in $PATH
14321 do
14322 IFS=$as_save_IFS
14323 case $as_dir in #(((
14324 '') as_dir=./ ;;
14325 */) ;;
14326 *) as_dir=$as_dir/ ;;
14327 esac
14328 for ac_exec_ext in '' $ac_executable_extensions; do
14329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14330 ac_cv_prog_ac_ct_OTOOL64="otool64"
14331 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14332 break 2
14333 fi
14334 done
14335 done
14336 IFS=$as_save_IFS
14337
14338 fi ;;
14339 esac
14340 fi
14341 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
14342 if test -n "$ac_ct_OTOOL64"; then
14343 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
14344 printf '%s\n' "$ac_ct_OTOOL64" >&6; }
14345 else
14346 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14347 printf '%s\n' "no" >&6; }
14348 fi
14349
14350 if test "x$ac_ct_OTOOL64" = x; then
14351 OTOOL64=":"
14352 else
14353 case $cross_compiling:$ac_tool_warned in
14354 yes:)
14355 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14356 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14357 ac_tool_warned=yes ;;
14358 esac
14359 OTOOL64=$ac_ct_OTOOL64
14360 fi
14361 else
14362 OTOOL64="$ac_cv_prog_OTOOL64"
14363 fi
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
14392 printf %s "checking for -single_module linker flag... " >&6; }
14393 if test ${lt_cv_apple_cc_single_mod+y}
14394 then :
14395 printf %s "(cached) " >&6
14396 else case e in #(
14397 e) lt_cv_apple_cc_single_mod=no
14398 if test -z "$LT_MULTI_MODULE"; then
14399 # By default we will add the -single_module flag. You can override
14400 # by either setting the environment variable LT_MULTI_MODULE
14401 # non-empty at configure time, or by adding -multi_module to the
14402 # link flags.
14403 rm -rf libconftest.dylib*
14404 echo "int foo(void){return 1;}" > conftest.c
14405 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
14406 -dynamiclib -Wl,-single_module conftest.c" >&5
14407 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
14408 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
14409 _lt_result=$?
14410 # If there is a non-empty error log, and "single_module"
14411 # appears in it, assume the flag caused a linker warning
14412 if test -s conftest.err && $GREP single_module conftest.err; then
14413 cat conftest.err >&5
14414 # Otherwise, if the output was created with a 0 exit code from
14415 # the compiler, it worked.
14416 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
14417 lt_cv_apple_cc_single_mod=yes
14418 else
14419 cat conftest.err >&5
14420 fi
14421 rm -rf libconftest.dylib*
14422 rm -f conftest.*
14423 fi ;;
14424 esac
14425 fi
14426 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
14427 printf '%s\n' "$lt_cv_apple_cc_single_mod" >&6; }
14428
14429 # Feature test to disable chained fixups since it is not
14430 # compatible with '-undefined dynamic_lookup'
14431 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
14432 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
14433 if test ${lt_cv_support_no_fixup_chains+y}
14434 then :
14435 printf %s "(cached) " >&6
14436 else case e in #(
14437 e) save_LDFLAGS=$LDFLAGS
14438 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
14439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14441
14442 int
14443 main (void)
14444 {
14445
14446 ;
14447 return 0;
14448 }
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"
14451 then :
14452 lt_cv_support_no_fixup_chains=yes
14453 else case e in #(
14454 e) lt_cv_support_no_fixup_chains=no
14455 ;;
14456 esac
14457 fi
14458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14459 conftest$ac_exeext conftest.$ac_ext
14460 LDFLAGS=$save_LDFLAGS
14461
14462 ;;
14463 esac
14464 fi
14465 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
14466 printf '%s\n' "$lt_cv_support_no_fixup_chains" >&6; }
14467
14468 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
14469 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
14470 if test ${lt_cv_ld_exported_symbols_list+y}
14471 then :
14472 printf %s "(cached) " >&6
14473 else case e in #(
14474 e) lt_cv_ld_exported_symbols_list=no
14475 save_LDFLAGS=$LDFLAGS
14476 echo "_main" > conftest.sym
14477 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14480
14481 int
14482 main (void)
14483 {
14484
14485 ;
14486 return 0;
14487 }
14488 _ACEOF
14489 if ac_fn_c_try_link "$LINENO"
14490 then :
14491 lt_cv_ld_exported_symbols_list=yes
14492 else case e in #(
14493 e) lt_cv_ld_exported_symbols_list=no ;;
14494 esac
14495 fi
14496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14497 conftest$ac_exeext conftest.$ac_ext
14498 LDFLAGS=$save_LDFLAGS
14499 ;;
14500 esac
14501 fi
14502 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
14503 printf '%s\n' "$lt_cv_ld_exported_symbols_list" >&6; }
14504
14505 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
14506 printf %s "checking for -force_load linker flag... " >&6; }
14507 if test ${lt_cv_ld_force_load+y}
14508 then :
14509 printf %s "(cached) " >&6
14510 else case e in #(
14511 e) lt_cv_ld_force_load=no
14512 cat > conftest.c << _LT_EOF
14513 int forced_loaded() { return 2;}
14514 _LT_EOF
14515 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
14516 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
14517 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
14518 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
14519 echo "$RANLIB libconftest.a" >&5
14520 $RANLIB libconftest.a 2>&5
14521 cat > conftest.c << _LT_EOF
14522 int main(void) { return 0;}
14523 _LT_EOF
14524 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
14525 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
14526 _lt_result=$?
14527 if test -s conftest.err && $GREP force_load conftest.err; then
14528 cat conftest.err >&5
14529 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
14530 lt_cv_ld_force_load=yes
14531 else
14532 cat conftest.err >&5
14533 fi
14534 rm -f conftest.err libconftest.a conftest conftest.c
14535 rm -rf conftest.dSYM
14536 ;;
14537 esac
14538 fi
14539 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
14540 printf '%s\n' "$lt_cv_ld_force_load" >&6; }
14541 case $host_os in
14542 rhapsody* | darwin1.[012])
14543 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
14544 darwin1.*)
14545 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
14546 darwin*)
14547 case $MACOSX_DEPLOYMENT_TARGET,$host in
14548 10.[012],*|,*powerpc*-darwin[5-8]*)
14549 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
14550 *)
14551 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
14552 if test yes = "$lt_cv_support_no_fixup_chains"; then
14553 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
14554 fi
14555 ;;
14556 esac
14557 ;;
14558 esac
14559 if test yes = "$lt_cv_apple_cc_single_mod"; then
14560 _lt_dar_single_mod='$single_module'
14561 fi
14562 _lt_dar_needs_single_mod=no
14563 case $host_os in
14564 rhapsody* | darwin1.*)
14565 _lt_dar_needs_single_mod=yes ;;
14566 darwin*)
14567 # When targeting Mac OS X 10.4 (darwin 8) or later,
14568 # -single_module is the default and -multi_module is unsupported.
14569 # The toolchain on macOS 10.14 (darwin 18) and later cannot
14570 # target any OS version that needs -single_module.
14571 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
14572 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
14573 _lt_dar_needs_single_mod=yes ;;
14574 esac
14575 ;;
14576 esac
14577 if test yes = "$lt_cv_ld_exported_symbols_list"; then
14578 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
14579 else
14580 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
14581 fi
14582 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
14583 _lt_dsymutil='~$DSYMUTIL $lib || :'
14584 else
14585 _lt_dsymutil=
14586 fi
14587 ;;
14588 esac
14589
14590 # func_munge_path_list VARIABLE PATH
14591 # -----------------------------------
14592 # VARIABLE is name of variable containing _space_ separated list of
14593 # directories to be munged by the contents of PATH, which is string
14594 # having a format:
14595 # "DIR[:DIR]:"
14596 # string "DIR[ DIR]" will be prepended to VARIABLE
14597 # ":DIR[:DIR]"
14598 # string "DIR[ DIR]" will be appended to VARIABLE
14599 # "DIRP[:DIRP]::[DIRA:]DIRA"
14600 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14601 # "DIRA[ DIRA]" will be appended to VARIABLE
14602 # "DIR[:DIR]"
14603 # VARIABLE will be replaced by "DIR[ DIR]"
14604 func_munge_path_list ()
14605 {
14606 case x$2 in
14607 x)
14608 ;;
14609 *:)
14610 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14611 ;;
14612 x:*)
14613 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14614 ;;
14615 *::*)
14616 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14617 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14618 ;;
14619 *)
14620 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14621 ;;
14622 esac
14623 }
14624
14625 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
14626 "
14627 if test "x$ac_cv_header_dlfcn_h" = xyes
14628 then :
14629 printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h
14630
14631 fi
14632
14633
14634
14635
14636 func_stripname_cnf ()
14637 {
14638 case $2 in
14639 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
14640 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
14641 esac
14642 } # func_stripname_cnf
14643
14644
14645
14646
14647
14648 # Set options
14649 enable_win32_dll=yes
14650
14651 case $host in
14652 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
14653 if test -n "$ac_tool_prefix"; then
14654 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
14655 set dummy ${ac_tool_prefix}as; ac_word=$2
14656 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14657 printf %s "checking for $ac_word... " >&6; }
14658 if test ${ac_cv_prog_AS+y}
14659 then :
14660 printf %s "(cached) " >&6
14661 else case e in #(
14662 e) if test -n "$AS"; then
14663 ac_cv_prog_AS="$AS" # Let the user override the test.
14664 else
14665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14666 for as_dir in $PATH
14667 do
14668 IFS=$as_save_IFS
14669 case $as_dir in #(((
14670 '') as_dir=./ ;;
14671 */) ;;
14672 *) as_dir=$as_dir/ ;;
14673 esac
14674 for ac_exec_ext in '' $ac_executable_extensions; do
14675 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14676 ac_cv_prog_AS="${ac_tool_prefix}as"
14677 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14678 break 2
14679 fi
14680 done
14681 done
14682 IFS=$as_save_IFS
14683
14684 fi ;;
14685 esac
14686 fi
14687 AS=$ac_cv_prog_AS
14688 if test -n "$AS"; then
14689 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
14690 printf '%s\n' "$AS" >&6; }
14691 else
14692 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14693 printf '%s\n' "no" >&6; }
14694 fi
14695
14696
14697 fi
14698 if test -z "$ac_cv_prog_AS"; then
14699 ac_ct_AS=$AS
14700 # Extract the first word of "as", so it can be a program name with args.
14701 set dummy as; ac_word=$2
14702 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14703 printf %s "checking for $ac_word... " >&6; }
14704 if test ${ac_cv_prog_ac_ct_AS+y}
14705 then :
14706 printf %s "(cached) " >&6
14707 else case e in #(
14708 e) if test -n "$ac_ct_AS"; then
14709 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
14710 else
14711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14712 for as_dir in $PATH
14713 do
14714 IFS=$as_save_IFS
14715 case $as_dir in #(((
14716 '') as_dir=./ ;;
14717 */) ;;
14718 *) as_dir=$as_dir/ ;;
14719 esac
14720 for ac_exec_ext in '' $ac_executable_extensions; do
14721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14722 ac_cv_prog_ac_ct_AS="as"
14723 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14724 break 2
14725 fi
14726 done
14727 done
14728 IFS=$as_save_IFS
14729
14730 fi ;;
14731 esac
14732 fi
14733 ac_ct_AS=$ac_cv_prog_ac_ct_AS
14734 if test -n "$ac_ct_AS"; then
14735 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
14736 printf '%s\n' "$ac_ct_AS" >&6; }
14737 else
14738 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14739 printf '%s\n' "no" >&6; }
14740 fi
14741
14742 if test "x$ac_ct_AS" = x; then
14743 AS="false"
14744 else
14745 case $cross_compiling:$ac_tool_warned in
14746 yes:)
14747 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14748 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14749 ac_tool_warned=yes ;;
14750 esac
14751 AS=$ac_ct_AS
14752 fi
14753 else
14754 AS="$ac_cv_prog_AS"
14755 fi
14756
14757 if test -n "$ac_tool_prefix"; then
14758 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14759 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14760 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14761 printf %s "checking for $ac_word... " >&6; }
14762 if test ${ac_cv_prog_DLLTOOL+y}
14763 then :
14764 printf %s "(cached) " >&6
14765 else case e in #(
14766 e) if test -n "$DLLTOOL"; then
14767 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14768 else
14769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14770 for as_dir in $PATH
14771 do
14772 IFS=$as_save_IFS
14773 case $as_dir in #(((
14774 '') as_dir=./ ;;
14775 */) ;;
14776 *) as_dir=$as_dir/ ;;
14777 esac
14778 for ac_exec_ext in '' $ac_executable_extensions; do
14779 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14780 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14781 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14782 break 2
14783 fi
14784 done
14785 done
14786 IFS=$as_save_IFS
14787
14788 fi ;;
14789 esac
14790 fi
14791 DLLTOOL=$ac_cv_prog_DLLTOOL
14792 if test -n "$DLLTOOL"; then
14793 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
14794 printf '%s\n' "$DLLTOOL" >&6; }
14795 else
14796 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14797 printf '%s\n' "no" >&6; }
14798 fi
14799
14800
14801 fi
14802 if test -z "$ac_cv_prog_DLLTOOL"; then
14803 ac_ct_DLLTOOL=$DLLTOOL
14804 # Extract the first word of "dlltool", so it can be a program name with args.
14805 set dummy dlltool; ac_word=$2
14806 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14807 printf %s "checking for $ac_word... " >&6; }
14808 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
14809 then :
14810 printf %s "(cached) " >&6
14811 else case e in #(
14812 e) if test -n "$ac_ct_DLLTOOL"; then
14813 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14814 else
14815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14816 for as_dir in $PATH
14817 do
14818 IFS=$as_save_IFS
14819 case $as_dir in #(((
14820 '') as_dir=./ ;;
14821 */) ;;
14822 *) as_dir=$as_dir/ ;;
14823 esac
14824 for ac_exec_ext in '' $ac_executable_extensions; do
14825 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14826 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14827 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14828 break 2
14829 fi
14830 done
14831 done
14832 IFS=$as_save_IFS
14833
14834 fi ;;
14835 esac
14836 fi
14837 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14838 if test -n "$ac_ct_DLLTOOL"; then
14839 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
14840 printf '%s\n' "$ac_ct_DLLTOOL" >&6; }
14841 else
14842 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14843 printf '%s\n' "no" >&6; }
14844 fi
14845
14846 if test "x$ac_ct_DLLTOOL" = x; then
14847 DLLTOOL="false"
14848 else
14849 case $cross_compiling:$ac_tool_warned in
14850 yes:)
14851 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14852 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14853 ac_tool_warned=yes ;;
14854 esac
14855 DLLTOOL=$ac_ct_DLLTOOL
14856 fi
14857 else
14858 DLLTOOL="$ac_cv_prog_DLLTOOL"
14859 fi
14860
14861 if test -n "$ac_tool_prefix"; then
14862 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
14863 set dummy ${ac_tool_prefix}objdump; ac_word=$2
14864 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14865 printf %s "checking for $ac_word... " >&6; }
14866 if test ${ac_cv_prog_OBJDUMP+y}
14867 then :
14868 printf %s "(cached) " >&6
14869 else case e in #(
14870 e) if test -n "$OBJDUMP"; then
14871 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
14872 else
14873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14874 for as_dir in $PATH
14875 do
14876 IFS=$as_save_IFS
14877 case $as_dir in #(((
14878 '') as_dir=./ ;;
14879 */) ;;
14880 *) as_dir=$as_dir/ ;;
14881 esac
14882 for ac_exec_ext in '' $ac_executable_extensions; do
14883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14884 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
14885 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14886 break 2
14887 fi
14888 done
14889 done
14890 IFS=$as_save_IFS
14891
14892 fi ;;
14893 esac
14894 fi
14895 OBJDUMP=$ac_cv_prog_OBJDUMP
14896 if test -n "$OBJDUMP"; then
14897 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
14898 printf '%s\n' "$OBJDUMP" >&6; }
14899 else
14900 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14901 printf '%s\n' "no" >&6; }
14902 fi
14903
14904
14905 fi
14906 if test -z "$ac_cv_prog_OBJDUMP"; then
14907 ac_ct_OBJDUMP=$OBJDUMP
14908 # Extract the first word of "objdump", so it can be a program name with args.
14909 set dummy objdump; ac_word=$2
14910 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14911 printf %s "checking for $ac_word... " >&6; }
14912 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
14913 then :
14914 printf %s "(cached) " >&6
14915 else case e in #(
14916 e) if test -n "$ac_ct_OBJDUMP"; then
14917 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
14918 else
14919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14920 for as_dir in $PATH
14921 do
14922 IFS=$as_save_IFS
14923 case $as_dir in #(((
14924 '') as_dir=./ ;;
14925 */) ;;
14926 *) as_dir=$as_dir/ ;;
14927 esac
14928 for ac_exec_ext in '' $ac_executable_extensions; do
14929 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14930 ac_cv_prog_ac_ct_OBJDUMP="objdump"
14931 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14932 break 2
14933 fi
14934 done
14935 done
14936 IFS=$as_save_IFS
14937
14938 fi ;;
14939 esac
14940 fi
14941 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
14942 if test -n "$ac_ct_OBJDUMP"; then
14943 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
14944 printf '%s\n' "$ac_ct_OBJDUMP" >&6; }
14945 else
14946 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
14947 printf '%s\n' "no" >&6; }
14948 fi
14949
14950 if test "x$ac_ct_OBJDUMP" = x; then
14951 OBJDUMP="false"
14952 else
14953 case $cross_compiling:$ac_tool_warned in
14954 yes:)
14955 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14956 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14957 ac_tool_warned=yes ;;
14958 esac
14959 OBJDUMP=$ac_ct_OBJDUMP
14960 fi
14961 else
14962 OBJDUMP="$ac_cv_prog_OBJDUMP"
14963 fi
14964
14965 ;;
14966 esac
14967
14968 test -z "$AS" && AS=as
14969
14970
14971
14972
14973
14974 test -z "$DLLTOOL" && DLLTOOL=dlltool
14975
14976
14977
14978
14979
14980 test -z "$OBJDUMP" && OBJDUMP=objdump
14981
14982
14983
14984
14985
14986
14987
14988 enable_dlopen=no
14989
14990
14991
14992 # Check whether --enable-shared was given.
14993 if test ${enable_shared+y}
14994 then :
14995 enableval=$enable_shared; p=${PACKAGE-default}
14996 case $enableval in
14997 yes) enable_shared=yes ;;
14998 no) enable_shared=no ;;
14999 *)
15000 enable_shared=no
15001 # Look at the argument we got. We use all the common list separators.
15002 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
15003 for pkg in $enableval; do
15004 IFS=$lt_save_ifs
15005 if test "X$pkg" = "X$p"; then
15006 enable_shared=yes
15007 fi
15008 done
15009 IFS=$lt_save_ifs
15010 ;;
15011 esac
15012 else case e in #(
15013 e) enable_shared=yes ;;
15014 esac
15015 fi
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025 # Check whether --enable-static was given.
15026 if test ${enable_static+y}
15027 then :
15028 enableval=$enable_static; p=${PACKAGE-default}
15029 case $enableval in
15030 yes) enable_static=yes ;;
15031 no) enable_static=no ;;
15032 *)
15033 enable_static=no
15034 # Look at the argument we got. We use all the common list separators.
15035 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
15036 for pkg in $enableval; do
15037 IFS=$lt_save_ifs
15038 if test "X$pkg" = "X$p"; then
15039 enable_static=yes
15040 fi
15041 done
15042 IFS=$lt_save_ifs
15043 ;;
15044 esac
15045 else case e in #(
15046 e) enable_static=yes ;;
15047 esac
15048 fi
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058 # Check whether --enable-pic was given.
15059 if test ${enable_pic+y}
15060 then :
15061 enableval=$enable_pic; lt_p=${PACKAGE-default}
15062 case $enableval in
15063 yes|no) pic_mode=$enableval ;;
15064 *)
15065 pic_mode=default
15066 # Look at the argument we got. We use all the common list separators.
15067 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
15068 for lt_pkg in $enableval; do
15069 IFS=$lt_save_ifs
15070 if test "X$lt_pkg" = "X$lt_p"; then
15071 pic_mode=yes
15072 fi
15073 done
15074 IFS=$lt_save_ifs
15075 ;;
15076 esac
15077 else case e in #(
15078 e) # Check whether --with-pic was given.
15079 if test ${with_pic+y}
15080 then :
15081 withval=$with_pic; lt_p=${PACKAGE-default}
15082 case $withval in
15083 yes|no) pic_mode=$withval ;;
15084 *)
15085 pic_mode=default
15086 # Look at the argument we got. We use all the common list separators.
15087 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
15088 for lt_pkg in $withval; do
15089 IFS=$lt_save_ifs
15090 if test "X$lt_pkg" = "X$lt_p"; then
15091 pic_mode=yes
15092 fi
15093 done
15094 IFS=$lt_save_ifs
15095 ;;
15096 esac
15097 else case e in #(
15098 e) pic_mode=default ;;
15099 esac
15100 fi
15101
15102 ;;
15103 esac
15104 fi
15105
15106
15107
15108
15109
15110
15111
15112
15113 # Check whether --enable-fast-install was given.
15114 if test ${enable_fast_install+y}
15115 then :
15116 enableval=$enable_fast_install; p=${PACKAGE-default}
15117 case $enableval in
15118 yes) enable_fast_install=yes ;;
15119 no) enable_fast_install=no ;;
15120 *)
15121 enable_fast_install=no
15122 # Look at the argument we got. We use all the common list separators.
15123 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
15124 for pkg in $enableval; do
15125 IFS=$lt_save_ifs
15126 if test "X$pkg" = "X$p"; then
15127 enable_fast_install=yes
15128 fi
15129 done
15130 IFS=$lt_save_ifs
15131 ;;
15132 esac
15133 else case e in #(
15134 e) enable_fast_install=yes ;;
15135 esac
15136 fi
15137
15138
15139
15140
15141
15142
15143
15144
15145 shared_archive_member_spec=
15146 case $host,$enable_shared in
15147 power*-*-aix[5-9]*,yes)
15148 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
15149 printf %s "checking which variant of shared library versioning to provide... " >&6; }
15150 # Check whether --enable-aix-soname was given.
15151 if test ${enable_aix_soname+y}
15152 then :
15153 enableval=$enable_aix_soname; case $enableval in
15154 aix|svr4|both)
15155 ;;
15156 *)
15157 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
15158 ;;
15159 esac
15160 lt_cv_with_aix_soname=$enable_aix_soname
15161 else case e in #(
15162 e) # Check whether --with-aix-soname was given.
15163 if test ${with_aix_soname+y}
15164 then :
15165 withval=$with_aix_soname; case $withval in
15166 aix|svr4|both)
15167 ;;
15168 *)
15169 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
15170 ;;
15171 esac
15172 lt_cv_with_aix_soname=$with_aix_soname
15173 else case e in #(
15174 e) if test ${lt_cv_with_aix_soname+y}
15175 then :
15176 printf %s "(cached) " >&6
15177 else case e in #(
15178 e) lt_cv_with_aix_soname=aix ;;
15179 esac
15180 fi
15181 ;;
15182 esac
15183 fi
15184
15185 enable_aix_soname=$lt_cv_with_aix_soname ;;
15186 esac
15187 fi
15188
15189 with_aix_soname=$enable_aix_soname
15190 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
15191 printf '%s\n' "$with_aix_soname" >&6; }
15192 if test aix != "$with_aix_soname"; then
15193 # For the AIX way of multilib, we name the shared archive member
15194 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
15195 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
15196 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
15197 # the AIX toolchain works better with OBJECT_MODE set (default 32).
15198 if test 64 = "${OBJECT_MODE-32}"; then
15199 shared_archive_member_spec=shr_64
15200 else
15201 shared_archive_member_spec=shr
15202 fi
15203 fi
15204 ;;
15205 *)
15206 with_aix_soname=aix
15207 ;;
15208 esac
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219 # This can be used to rebuild libtool when needed
15220 LIBTOOL_DEPS=$ltmain
15221
15222 # Always use our own libtool.
15223 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254 test -z "$LN_S" && LN_S="ln -s"
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269 if test -n "${ZSH_VERSION+set}"; then
15270 setopt NO_GLOB_SUBST
15271 fi
15272
15273 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
15274 printf %s "checking for objdir... " >&6; }
15275 if test ${lt_cv_objdir+y}
15276 then :
15277 printf %s "(cached) " >&6
15278 else case e in #(
15279 e) rm -f .libs 2>/dev/null
15280 mkdir .libs 2>/dev/null
15281 if test -d .libs; then
15282 lt_cv_objdir=.libs
15283 else
15284 # MS-DOS does not allow filenames that begin with a dot.
15285 lt_cv_objdir=_libs
15286 fi
15287 rmdir .libs 2>/dev/null ;;
15288 esac
15289 fi
15290 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
15291 printf '%s\n' "$lt_cv_objdir" >&6; }
15292 objdir=$lt_cv_objdir
15293
15294
15295
15296
15297
15298 printf '%s\n' "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
15299
15300
15301
15302
15303 case $host_os in
15304 aix3*)
15305 # AIX sometimes has problems with the GCC collect2 program. For some
15306 # reason, if we set the COLLECT_NAMES environment variable, the problems
15307 # vanish in a puff of smoke.
15308 if test set != "${COLLECT_NAMES+set}"; then
15309 COLLECT_NAMES=
15310 export COLLECT_NAMES
15311 fi
15312 ;;
15313 esac
15314
15315 # Global variables:
15316 ofile=libtool
15317 can_build_shared=yes
15318
15319 # All known linkers require a '.a' archive for static linking (except MSVC and
15320 # ICC, which need '.lib').
15321 libext=a
15322
15323 with_gnu_ld=$lt_cv_prog_gnu_ld
15324
15325 old_CC=$CC
15326 old_CFLAGS=$CFLAGS
15327
15328 # Set sane defaults for various variables
15329 test -z "$CC" && CC=cc
15330 test -z "$LTCC" && LTCC=$CC
15331 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
15332 test -z "$LD" && LD=ld
15333 test -z "$ac_objext" && ac_objext=o
15334
15335 func_cc_basename $compiler
15336 cc_basename=$func_cc_basename_result
15337
15338
15339 # Only perform the check for file, if the check method requires it
15340 test -z "$MAGIC_CMD" && MAGIC_CMD=file
15341 case $deplibs_check_method in
15342 file_magic*)
15343 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
15344 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
15345 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
15346 if test ${lt_cv_path_MAGIC_CMD+y}
15347 then :
15348 printf %s "(cached) " >&6
15349 else case e in #(
15350 e) case $MAGIC_CMD in
15351 [\\/*] | ?:[\\/]*)
15352 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
15353 ;;
15354 *)
15355 lt_save_MAGIC_CMD=$MAGIC_CMD
15356 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
15357 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15358 for ac_dir in $ac_dummy; do
15359 IFS=$lt_save_ifs
15360 test -z "$ac_dir" && ac_dir=.
15361 if test -f "$ac_dir/${ac_tool_prefix}file"; then
15362 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
15363 if test -n "$file_magic_test_file"; then
15364 case $deplibs_check_method in
15365 "file_magic "*)
15366 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15367 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
15368 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15369 $EGREP "$file_magic_regex" > /dev/null; then
15370 :
15371 else
15372 cat <<_LT_EOF 1>&2
15373
15374 *** Warning: the command libtool uses to detect shared libraries,
15375 *** $file_magic_cmd, produces output that libtool cannot recognize.
15376 *** The result is that libtool may fail to recognize shared libraries
15377 *** as such. This will affect the creation of libtool libraries that
15378 *** depend on shared libraries, but programs linked with such libtool
15379 *** libraries will work regardless of this problem. Nevertheless, you
15380 *** may want to report the problem to your system manager and/or to
15381 *** [email protected]
15382
15383 _LT_EOF
15384 fi ;;
15385 esac
15386 fi
15387 break
15388 fi
15389 done
15390 IFS=$lt_save_ifs
15391 MAGIC_CMD=$lt_save_MAGIC_CMD
15392 ;;
15393 esac ;;
15394 esac
15395 fi
15396
15397 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
15398 if test -n "$MAGIC_CMD"; then
15399 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
15400 printf '%s\n' "$MAGIC_CMD" >&6; }
15401 else
15402 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
15403 printf '%s\n' "no" >&6; }
15404 fi
15405
15406
15407
15408
15409
15410 if test -z "$lt_cv_path_MAGIC_CMD"; then
15411 if test -n "$ac_tool_prefix"; then
15412 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for file" >&5
15413 printf %s "checking for file... " >&6; }
15414 if test ${lt_cv_path_MAGIC_CMD+y}
15415 then :
15416 printf %s "(cached) " >&6
15417 else case e in #(
15418 e) case $MAGIC_CMD in
15419 [\\/*] | ?:[\\/]*)
15420 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
15421 ;;
15422 *)
15423 lt_save_MAGIC_CMD=$MAGIC_CMD
15424 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
15425 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15426 for ac_dir in $ac_dummy; do
15427 IFS=$lt_save_ifs
15428 test -z "$ac_dir" && ac_dir=.
15429 if test -f "$ac_dir/file"; then
15430 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
15431 if test -n "$file_magic_test_file"; then
15432 case $deplibs_check_method in
15433 "file_magic "*)
15434 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15435 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
15436 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15437 $EGREP "$file_magic_regex" > /dev/null; then
15438 :
15439 else
15440 cat <<_LT_EOF 1>&2
15441
15442 *** Warning: the command libtool uses to detect shared libraries,
15443 *** $file_magic_cmd, produces output that libtool cannot recognize.
15444 *** The result is that libtool may fail to recognize shared libraries
15445 *** as such. This will affect the creation of libtool libraries that
15446 *** depend on shared libraries, but programs linked with such libtool
15447 *** libraries will work regardless of this problem. Nevertheless, you
15448 *** may want to report the problem to your system manager and/or to
15449 *** [email protected]
15450
15451 _LT_EOF
15452 fi ;;
15453 esac
15454 fi
15455 break
15456 fi
15457 done
15458 IFS=$lt_save_ifs
15459 MAGIC_CMD=$lt_save_MAGIC_CMD
15460 ;;
15461 esac ;;
15462 esac
15463 fi
15464
15465 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
15466 if test -n "$MAGIC_CMD"; then
15467 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
15468 printf '%s\n' "$MAGIC_CMD" >&6; }
15469 else
15470 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
15471 printf '%s\n' "no" >&6; }
15472 fi
15473
15474
15475 else
15476 MAGIC_CMD=:
15477 fi
15478 fi
15479
15480 fi
15481 ;;
15482 esac
15483
15484 # Use C for the default configuration in the libtool script
15485
15486 lt_save_CC=$CC
15487 ac_ext=c
15488 ac_cpp='$CPP $CPPFLAGS'
15489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15492
15493
15494 # Source file extension for C test sources.
15495 ac_ext=c
15496
15497 # Object file extension for compiled C test sources.
15498 objext=o
15499 objext=$objext
15500
15501 # Code to be used in simple compile tests
15502 lt_simple_compile_test_code="int some_variable = 0;"
15503
15504 # Code to be used in simple link tests
15505 lt_simple_link_test_code='int main(void){return(0);}'
15506
15507
15508
15509
15510
15511
15512
15513 # If no C compiler was specified, use CC.
15514 LTCC=${LTCC-"$CC"}
15515
15516 # If no C compiler flags were specified, use CFLAGS.
15517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15518
15519 # Allow CC to be a program name with arguments.
15520 compiler=$CC
15521
15522 # Save the default compiler, since it gets overwritten when the other
15523 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
15524 compiler_DEFAULT=$CC
15525
15526 # save warnings/boilerplate of simple test code
15527 ac_outfile=conftest.$ac_objext
15528 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15529 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15530 _lt_compiler_boilerplate=`cat conftest.err`
15531 $RM conftest*
15532
15533 ac_outfile=conftest.$ac_objext
15534 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15535 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15536 _lt_linker_boilerplate=`cat conftest.err`
15537 $RM -r conftest*
15538
15539
15540 ## CAVEAT EMPTOR:
15541 ## There is no encapsulation within the following macros, do not change
15542 ## the running order or otherwise move them around unless you know exactly
15543 ## what you are doing...
15544 if test -n "$compiler"; then
15545
15546 lt_prog_compiler_no_builtin_flag=
15547
15548 if test yes = "$GCC"; then
15549 case $cc_basename in
15550 nvcc*)
15551 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
15552 *)
15553 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
15554 esac
15555
15556 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15557 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
15558 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
15559 then :
15560 printf %s "(cached) " >&6
15561 else case e in #(
15562 e) lt_cv_prog_compiler_rtti_exceptions=no
15563 ac_outfile=conftest.$ac_objext
15564 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15565 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
15566 # Insert the option either (1) after the last *FLAGS variable, or
15567 # (2) before a word containing "conftest.", or (3) at the end.
15568 # Note that $ac_compile itself does not contain backslashes and begins
15569 # with a dollar sign (not a hyphen), so the echo should work correctly.
15570 # The option is referenced via a variable to avoid confusing sed.
15571 lt_compile=`echo "$ac_compile" | $SED \
15572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15574 -e 's:$: $lt_compiler_flag:'`
15575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15576 (eval "$lt_compile" 2>conftest.err)
15577 ac_status=$?
15578 cat conftest.err >&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 if (exit $ac_status) && test -s "$ac_outfile"; then
15581 # The compiler can only warn and ignore the option if not recognized
15582 # So say no if there are warnings other than the usual output.
15583 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15585 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15586 lt_cv_prog_compiler_rtti_exceptions=yes
15587 fi
15588 fi
15589 $RM conftest*
15590 ;;
15591 esac
15592 fi
15593 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15594 printf '%s\n' "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15595
15596 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
15597 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
15598 else
15599 :
15600 fi
15601
15602 fi
15603
15604
15605
15606
15607
15608
15609 lt_prog_compiler_wl=
15610 lt_prog_compiler_pic=
15611 lt_prog_compiler_static=
15612
15613
15614 if test yes = "$GCC"; then
15615 lt_prog_compiler_wl='-Wl,'
15616 lt_prog_compiler_static='-static'
15617
15618 case $host_os in
15619 aix*)
15620 # All AIX code is PIC.
15621 if test ia64 = "$host_cpu"; then
15622 # AIX 5 now supports IA64 processor
15623 lt_prog_compiler_static='-Bstatic'
15624 fi
15625 lt_prog_compiler_pic='-fPIC'
15626 ;;
15627
15628 amigaos*)
15629 case $host_cpu in
15630 powerpc)
15631 # see comment about AmigaOS4 .so support
15632 lt_prog_compiler_pic='-fPIC'
15633 ;;
15634 m68k)
15635 # FIXME: we need at least 68020 code to build shared libraries, but
15636 # adding the '-m68020' flag to GCC prevents building anything better,
15637 # like '-m68040'.
15638 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
15639 ;;
15640 esac
15641 ;;
15642
15643 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15644 # PIC is the default for these OSes.
15645 ;;
15646
15647 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
15648 # This hack is so that the source file can tell whether it is being
15649 # built for inclusion in a dll (and should export symbols for example).
15650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15651 # (--disable-auto-import) libraries
15652 lt_prog_compiler_pic='-DDLL_EXPORT'
15653 case $host_os in
15654 os2*)
15655 lt_prog_compiler_static='$wl-static'
15656 ;;
15657 esac
15658 ;;
15659
15660 darwin* | rhapsody*)
15661 # PIC is the default on this platform
15662 # Common symbols not allowed in MH_DYLIB files
15663 lt_prog_compiler_pic='-fno-common'
15664 ;;
15665
15666 haiku*)
15667 # PIC is the default for Haiku.
15668 # The "-static" flag exists, but is broken.
15669 lt_prog_compiler_static=
15670 ;;
15671
15672 hpux*)
15673 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15674 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15675 # sets the default TLS model and affects inlining.
15676 case $host_cpu in
15677 hppa*64*)
15678 # +Z the default
15679 ;;
15680 *)
15681 lt_prog_compiler_pic='-fPIC'
15682 ;;
15683 esac
15684 ;;
15685
15686 interix[3-9]*)
15687 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15688 # Instead, we relocate shared libraries at runtime.
15689 ;;
15690
15691 msdosdjgpp*)
15692 # Just because we use GCC doesn't mean we suddenly get shared libraries
15693 # on systems that don't support them.
15694 lt_prog_compiler_can_build_shared=no
15695 enable_shared=no
15696 ;;
15697
15698 *nto* | *qnx*)
15699 # QNX uses GNU C++, but need to define -shared option too, otherwise
15700 # it will coredump.
15701 lt_prog_compiler_pic='-fPIC -shared'
15702 ;;
15703
15704 sysv4*MP*)
15705 if test -d /usr/nec; then
15706 lt_prog_compiler_pic=-Kconform_pic
15707 fi
15708 ;;
15709
15710 *)
15711 lt_prog_compiler_pic='-fPIC'
15712 ;;
15713 esac
15714
15715 case $cc_basename in
15716 nvcc*) # Cuda Compiler Driver 2.2
15717 lt_prog_compiler_wl='-Xlinker '
15718 if test -n "$lt_prog_compiler_pic"; then
15719 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
15720 fi
15721 ;;
15722 esac
15723 else
15724 # PORTME Check for flag to pass linker flags through the system compiler.
15725 case $host_os in
15726 aix*)
15727 lt_prog_compiler_wl='-Wl,'
15728 if test ia64 = "$host_cpu"; then
15729 # AIX 5 now supports IA64 processor
15730 lt_prog_compiler_static='-Bstatic'
15731 else
15732 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
15733 fi
15734 ;;
15735
15736 darwin* | rhapsody*)
15737 # PIC is the default on this platform
15738 # Common symbols not allowed in MH_DYLIB files
15739 lt_prog_compiler_pic='-fno-common'
15740 case $cc_basename in
15741 nagfor*)
15742 # NAG Fortran compiler
15743 lt_prog_compiler_wl='-Wl,-Wl,,'
15744 lt_prog_compiler_pic='-PIC'
15745 lt_prog_compiler_static='-Bstatic'
15746 ;;
15747 esac
15748 ;;
15749
15750 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
15751 # This hack is so that the source file can tell whether it is being
15752 # built for inclusion in a dll (and should export symbols for example).
15753 lt_prog_compiler_pic='-DDLL_EXPORT'
15754 case $host_os in
15755 os2*)
15756 lt_prog_compiler_static='$wl-static'
15757 ;;
15758 esac
15759 ;;
15760
15761 hpux9* | hpux10* | hpux11*)
15762 lt_prog_compiler_wl='-Wl,'
15763 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15764 # not for PA HP-UX.
15765 case $host_cpu in
15766 hppa*64*|ia64*)
15767 # +Z the default
15768 ;;
15769 *)
15770 lt_prog_compiler_pic='+Z'
15771 ;;
15772 esac
15773 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15774 lt_prog_compiler_static='$wl-a ${wl}archive'
15775 ;;
15776
15777 irix5* | irix6* | nonstopux*)
15778 lt_prog_compiler_wl='-Wl,'
15779 # PIC (with -KPIC) is the default.
15780 lt_prog_compiler_static='-non_shared'
15781 ;;
15782
15783 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15784 case $cc_basename in
15785 # old Intel for x86_64, which still supported -KPIC.
15786 ecc*)
15787 lt_prog_compiler_wl='-Wl,'
15788 lt_prog_compiler_pic='-KPIC'
15789 lt_prog_compiler_static='-static'
15790 ;;
15791 *flang* | ftn | f18* | f95*)
15792 # Flang compiler.
15793 lt_prog_compiler_wl='-Wl,'
15794 lt_prog_compiler_pic='-fPIC'
15795 lt_prog_compiler_static='-static'
15796 ;;
15797 # flang / f18. f95 an alias for gfortran or flang on Debian
15798 flang* | f18* | f95*)
15799 lt_prog_compiler_wl='-Wl,'
15800 lt_prog_compiler_pic='-fPIC'
15801 lt_prog_compiler_static='-static'
15802 ;;
15803 # icc used to be incompatible with GCC.
15804 # ICC 10 doesn't accept -KPIC any more.
15805 icc* | ifort*)
15806 lt_prog_compiler_wl='-Wl,'
15807 lt_prog_compiler_pic='-fPIC'
15808 lt_prog_compiler_static='-static'
15809 ;;
15810 # Lahey Fortran 8.1.
15811 lf95*)
15812 lt_prog_compiler_wl='-Wl,'
15813 lt_prog_compiler_pic='--shared'
15814 lt_prog_compiler_static='--static'
15815 ;;
15816 nagfor*)
15817 # NAG Fortran compiler
15818 lt_prog_compiler_wl='-Wl,-Wl,,'
15819 lt_prog_compiler_pic='-PIC'
15820 lt_prog_compiler_static='-Bstatic'
15821 ;;
15822 tcc*)
15823 # Fabrice Bellard et al's Tiny C Compiler
15824 lt_prog_compiler_wl='-Wl,'
15825 lt_prog_compiler_pic='-fPIC'
15826 lt_prog_compiler_static='-static'
15827 ;;
15828 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
15829 # Portland Group compilers (*not* the Pentium gcc compiler,
15830 # which looks to be a dead project)
15831 lt_prog_compiler_wl='-Wl,'
15832 lt_prog_compiler_pic='-fpic'
15833 lt_prog_compiler_static='-Bstatic'
15834 ;;
15835 ccc*)
15836 lt_prog_compiler_wl='-Wl,'
15837 # All Alpha code is PIC.
15838 lt_prog_compiler_static='-non_shared'
15839 ;;
15840 xl* | bgxl* | bgf* | mpixl*)
15841 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
15842 lt_prog_compiler_wl='-Wl,'
15843 lt_prog_compiler_pic='-qpic'
15844 lt_prog_compiler_static='-qstaticlink'
15845 ;;
15846 *)
15847 case `$CC -V 2>&1 | $SED 5q` in
15848 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
15849 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15850 lt_prog_compiler_pic='-KPIC'
15851 lt_prog_compiler_static='-Bstatic'
15852 lt_prog_compiler_wl=''
15853 ;;
15854 *Sun\ F* | *Sun*Fortran*)
15855 lt_prog_compiler_pic='-KPIC'
15856 lt_prog_compiler_static='-Bstatic'
15857 lt_prog_compiler_wl='-Qoption ld '
15858 ;;
15859 *Sun\ C*)
15860 # Sun C 5.9
15861 lt_prog_compiler_pic='-KPIC'
15862 lt_prog_compiler_static='-Bstatic'
15863 lt_prog_compiler_wl='-Wl,'
15864 ;;
15865 *Intel*\ [CF]*Compiler*)
15866 lt_prog_compiler_wl='-Wl,'
15867 lt_prog_compiler_pic='-fPIC'
15868 lt_prog_compiler_static='-static'
15869 ;;
15870 *Portland\ Group*)
15871 lt_prog_compiler_wl='-Wl,'
15872 lt_prog_compiler_pic='-fpic'
15873 lt_prog_compiler_static='-Bstatic'
15874 ;;
15875 esac
15876 ;;
15877 esac
15878 ;;
15879
15880 newsos6)
15881 lt_prog_compiler_pic='-KPIC'
15882 lt_prog_compiler_static='-Bstatic'
15883 ;;
15884
15885 *-mlibc)
15886 lt_prog_compiler_wl='-Wl,'
15887 lt_prog_compiler_pic='-fPIC'
15888 lt_prog_compiler_static='-static'
15889 ;;
15890
15891 *nto* | *qnx*)
15892 # QNX uses GNU C++, but need to define -shared option too, otherwise
15893 # it will coredump.
15894 lt_prog_compiler_pic='-fPIC -shared'
15895 ;;
15896
15897 osf3* | osf4* | osf5*)
15898 lt_prog_compiler_wl='-Wl,'
15899 # All OSF/1 code is PIC.
15900 lt_prog_compiler_static='-non_shared'
15901 ;;
15902
15903 rdos*)
15904 lt_prog_compiler_static='-non_shared'
15905 ;;
15906
15907 serenity*)
15908 ;;
15909
15910 solaris*)
15911 lt_prog_compiler_pic='-KPIC'
15912 lt_prog_compiler_static='-Bstatic'
15913 case $cc_basename in
15914 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
15915 lt_prog_compiler_wl='-Qoption ld ';;
15916 *)
15917 lt_prog_compiler_wl='-Wl,';;
15918 esac
15919 ;;
15920
15921 sunos4*)
15922 lt_prog_compiler_wl='-Qoption ld '
15923 lt_prog_compiler_pic='-PIC'
15924 lt_prog_compiler_static='-Bstatic'
15925 ;;
15926
15927 sysv4 | sysv4.2uw2* | sysv4.3*)
15928 lt_prog_compiler_wl='-Wl,'
15929 lt_prog_compiler_pic='-KPIC'
15930 lt_prog_compiler_static='-Bstatic'
15931 ;;
15932
15933 sysv4*MP*)
15934 if test -d /usr/nec; then
15935 lt_prog_compiler_pic='-Kconform_pic'
15936 lt_prog_compiler_static='-Bstatic'
15937 fi
15938 ;;
15939
15940 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15941 lt_prog_compiler_wl='-Wl,'
15942 lt_prog_compiler_pic='-KPIC'
15943 lt_prog_compiler_static='-Bstatic'
15944 ;;
15945
15946 unicos*)
15947 lt_prog_compiler_wl='-Wl,'
15948 lt_prog_compiler_can_build_shared=no
15949 ;;
15950
15951 uts4*)
15952 lt_prog_compiler_pic='-pic'
15953 lt_prog_compiler_static='-Bstatic'
15954 ;;
15955
15956 *)
15957 lt_prog_compiler_can_build_shared=no
15958 ;;
15959 esac
15960 fi
15961
15962 case $host_os in
15963 # For platforms that do not support PIC, -DPIC is meaningless:
15964 *djgpp*)
15965 lt_prog_compiler_pic=
15966 ;;
15967 *)
15968 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15969 ;;
15970 esac
15971
15972 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15973 printf %s "checking for $compiler option to produce PIC... " >&6; }
15974 if test ${lt_cv_prog_compiler_pic+y}
15975 then :
15976 printf %s "(cached) " >&6
15977 else case e in #(
15978 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
15979 esac
15980 fi
15981 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
15982 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
15983 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
15984
15985 #
15986 # Check to make sure the PIC flag actually works.
15987 #
15988 if test -n "$lt_prog_compiler_pic"; then
15989 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15990 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
15991 if test ${lt_cv_prog_compiler_pic_works+y}
15992 then :
15993 printf %s "(cached) " >&6
15994 else case e in #(
15995 e) lt_cv_prog_compiler_pic_works=no
15996 ac_outfile=conftest.$ac_objext
15997 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15998 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
15999 # Insert the option either (1) after the last *FLAGS variable, or
16000 # (2) before a word containing "conftest.", or (3) at the end.
16001 # Note that $ac_compile itself does not contain backslashes and begins
16002 # with a dollar sign (not a hyphen), so the echo should work correctly.
16003 # The option is referenced via a variable to avoid confusing sed.
16004 lt_compile=`echo "$ac_compile" | $SED \
16005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16007 -e 's:$: $lt_compiler_flag:'`
16008 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16009 (eval "$lt_compile" 2>conftest.err)
16010 ac_status=$?
16011 cat conftest.err >&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 if (exit $ac_status) && test -s "$ac_outfile"; then
16014 # The compiler can only warn and ignore the option if not recognized
16015 # So say no if there are warnings other than the usual output.
16016 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16017 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16018 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16019 lt_cv_prog_compiler_pic_works=yes
16020 fi
16021 fi
16022 $RM conftest*
16023 ;;
16024 esac
16025 fi
16026 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
16027 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
16028
16029 if test yes = "$lt_cv_prog_compiler_pic_works"; then
16030 case $lt_prog_compiler_pic in
16031 "" | " "*) ;;
16032 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
16033 esac
16034 else
16035 lt_prog_compiler_pic=
16036 lt_prog_compiler_can_build_shared=no
16037 fi
16038
16039 fi
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051 #
16052 # Check to make sure the static flag actually works.
16053 #
16054 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
16055 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16056 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16057 if test ${lt_cv_prog_compiler_static_works+y}
16058 then :
16059 printf %s "(cached) " >&6
16060 else case e in #(
16061 e) lt_cv_prog_compiler_static_works=no
16062 save_LDFLAGS=$LDFLAGS
16063 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16064 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16065 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16066 # The linker can only warn and ignore the option if not recognized
16067 # So say no if there are warnings
16068 if test -s conftest.err; then
16069 # Append any errors to the config.log.
16070 cat conftest.err 1>&5
16071 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16072 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16073 if diff conftest.exp conftest.er2 >/dev/null; then
16074 lt_cv_prog_compiler_static_works=yes
16075 fi
16076 else
16077 lt_cv_prog_compiler_static_works=yes
16078 fi
16079 fi
16080 $RM -r conftest*
16081 LDFLAGS=$save_LDFLAGS
16082 ;;
16083 esac
16084 fi
16085 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
16086 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
16087
16088 if test yes = "$lt_cv_prog_compiler_static_works"; then
16089 :
16090 else
16091 lt_prog_compiler_static=
16092 fi
16093
16094
16095
16096
16097
16098
16099
16100 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16101 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16102 if test ${lt_cv_prog_compiler_c_o+y}
16103 then :
16104 printf %s "(cached) " >&6
16105 else case e in #(
16106 e) lt_cv_prog_compiler_c_o=no
16107 $RM -r conftest 2>/dev/null
16108 mkdir conftest
16109 cd conftest
16110 mkdir out
16111 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16112
16113 lt_compiler_flag="-o out/conftest2.$ac_objext"
16114 # Insert the option either (1) after the last *FLAGS variable, or
16115 # (2) before a word containing "conftest.", or (3) at the end.
16116 # Note that $ac_compile itself does not contain backslashes and begins
16117 # with a dollar sign (not a hyphen), so the echo should work correctly.
16118 lt_compile=`echo "$ac_compile" | $SED \
16119 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16121 -e 's:$: $lt_compiler_flag:'`
16122 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16123 (eval "$lt_compile" 2>out/conftest.err)
16124 ac_status=$?
16125 cat out/conftest.err >&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16128 then
16129 # The compiler can only warn and ignore the option if not recognized
16130 # So say no if there are warnings
16131 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16132 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16133 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16134 lt_cv_prog_compiler_c_o=yes
16135 fi
16136 fi
16137 chmod u+w . 2>&5
16138 $RM conftest*
16139 # SGI C++ compiler will create directory out/ii_files/ for
16140 # template instantiation
16141 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16142 $RM out/* && rmdir out
16143 cd ..
16144 $RM -r conftest
16145 $RM conftest*
16146 ;;
16147 esac
16148 fi
16149 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
16150 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
16151
16152
16153
16154
16155
16156
16157 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16158 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16159 if test ${lt_cv_prog_compiler_c_o+y}
16160 then :
16161 printf %s "(cached) " >&6
16162 else case e in #(
16163 e) lt_cv_prog_compiler_c_o=no
16164 $RM -r conftest 2>/dev/null
16165 mkdir conftest
16166 cd conftest
16167 mkdir out
16168 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16169
16170 lt_compiler_flag="-o out/conftest2.$ac_objext"
16171 # Insert the option either (1) after the last *FLAGS variable, or
16172 # (2) before a word containing "conftest.", or (3) at the end.
16173 # Note that $ac_compile itself does not contain backslashes and begins
16174 # with a dollar sign (not a hyphen), so the echo should work correctly.
16175 lt_compile=`echo "$ac_compile" | $SED \
16176 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16177 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16178 -e 's:$: $lt_compiler_flag:'`
16179 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16180 (eval "$lt_compile" 2>out/conftest.err)
16181 ac_status=$?
16182 cat out/conftest.err >&5
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16185 then
16186 # The compiler can only warn and ignore the option if not recognized
16187 # So say no if there are warnings
16188 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16189 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16190 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16191 lt_cv_prog_compiler_c_o=yes
16192 fi
16193 fi
16194 chmod u+w . 2>&5
16195 $RM conftest*
16196 # SGI C++ compiler will create directory out/ii_files/ for
16197 # template instantiation
16198 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16199 $RM out/* && rmdir out
16200 cd ..
16201 $RM -r conftest
16202 $RM conftest*
16203 ;;
16204 esac
16205 fi
16206 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
16207 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
16208
16209
16210
16211
16212 hard_links=nottested
16213 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
16214 # do not overwrite the value of need_locks provided by the user
16215 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16216 printf %s "checking if we can lock with hard links... " >&6; }
16217 hard_links=yes
16218 $RM conftest*
16219 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16220 touch conftest.a
16221 ln conftest.a conftest.b 2>&5 || hard_links=no
16222 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16223 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16224 printf '%s\n' "$hard_links" >&6; }
16225 if test no = "$hard_links"; then
16226 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16227 printf '%s\n' "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16228 need_locks=warn
16229 fi
16230 else
16231 need_locks=no
16232 fi
16233
16234
16235
16236
16237
16238
16239 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16240 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16241
16242 runpath_var=
16243 allow_undefined_flag=
16244 always_export_symbols=no
16245 archive_cmds=
16246 archive_expsym_cmds=
16247 compiler_needs_object=no
16248 enable_shared_with_static_runtimes=no
16249 export_dynamic_flag_spec=
16250 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16251 hardcode_automatic=no
16252 hardcode_direct=no
16253 hardcode_direct_absolute=no
16254 hardcode_libdir_flag_spec=
16255 hardcode_libdir_separator=
16256 hardcode_minus_L=no
16257 hardcode_shlibpath_var=unsupported
16258 inherit_rpath=no
16259 link_all_deplibs=unknown
16260 module_cmds=
16261 module_expsym_cmds=
16262 old_archive_from_new_cmds=
16263 old_archive_from_expsyms_cmds=
16264 thread_safe_flag_spec=
16265 whole_archive_flag_spec=
16266 # include_expsyms should be a list of space-separated symbols to be *always*
16267 # included in the symbol list
16268 include_expsyms=
16269 # exclude_expsyms can be an extended regexp of symbols to exclude
16270 # it will be wrapped by ' (' and ')$', so one must not match beginning or
16271 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
16272 # as well as any symbol that contains 'd'.
16273 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16274 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16275 # platforms (ab)use it in PIC code, but their linkers get confused if
16276 # the symbol is explicitly referenced. Since portable code cannot
16277 # rely on this symbol name, it's probably fine to never include it in
16278 # preloaded symbol tables.
16279 # Exclude shared library initialization/finalization symbols.
16280 extract_expsyms_cmds=
16281
16282 case $host_os in
16283 cygwin* | mingw* | windows* | pw32* | cegcc*)
16284 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
16285 # When not using gcc, we currently assume that we are using
16286 # Microsoft Visual C++ or Intel C++ Compiler.
16287 if test yes != "$GCC"; then
16288 with_gnu_ld=no
16289 fi
16290 ;;
16291 interix*)
16292 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
16293 with_gnu_ld=yes
16294 ;;
16295 linux* | k*bsd*-gnu | gnu*)
16296 link_all_deplibs=no
16297 ;;
16298 esac
16299
16300 ld_shlibs=yes
16301
16302 # On some targets, GNU ld is compatible enough with the native linker
16303 # that we're better off using the native interface for both.
16304 lt_use_gnu_ld_interface=no
16305 if test yes = "$with_gnu_ld"; then
16306 case $host_os in
16307 aix*)
16308 # The AIX port of GNU ld has always aspired to compatibility
16309 # with the native linker. However, as the warning in the GNU ld
16310 # block says, versions before 2.19.5* couldn't really create working
16311 # shared libraries, regardless of the interface used.
16312 case `$LD -v 2>&1` in
16313 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
16314 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
16315 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
16316 *)
16317 lt_use_gnu_ld_interface=yes
16318 ;;
16319 esac
16320 ;;
16321 *)
16322 lt_use_gnu_ld_interface=yes
16323 ;;
16324 esac
16325 fi
16326
16327 if test yes = "$lt_use_gnu_ld_interface"; then
16328 # If archive_cmds runs LD, not CC, wlarc should be empty
16329 wlarc='$wl'
16330
16331 # Set some defaults for GNU ld with shared library support. These
16332 # are reset later if shared libraries are not supported. Putting them
16333 # here allows them to be overridden if necessary.
16334 runpath_var=LD_RUN_PATH
16335 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
16336 export_dynamic_flag_spec='$wl--export-dynamic'
16337 # ancient GNU ld didn't support --whole-archive et. al.
16338 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
16339 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16340 else
16341 whole_archive_flag_spec=
16342 fi
16343 supports_anon_versioning=no
16344 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
16345 *GNU\ gold*) supports_anon_versioning=yes ;;
16346 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16347 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16348 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16349 *\ 2.11.*) ;; # other 2.11 versions
16350 *) supports_anon_versioning=yes ;;
16351 esac
16352
16353 # See if GNU ld supports shared libraries.
16354 case $host_os in
16355 aix[3-9]*)
16356 # On AIX/PPC, the GNU linker is very broken
16357 if test ia64 != "$host_cpu"; then
16358 ld_shlibs=no
16359 cat <<_LT_EOF 1>&2
16360
16361 *** Warning: the GNU linker, at least up to release 2.19, is reported
16362 *** to be unable to reliably create shared libraries on AIX.
16363 *** Therefore, libtool is disabling shared libraries support. If you
16364 *** really care for shared libraries, you may want to install binutils
16365 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
16366 *** You will then need to restart the configuration process.
16367
16368 _LT_EOF
16369 fi
16370 ;;
16371
16372 amigaos*)
16373 case $host_cpu in
16374 powerpc)
16375 # see comment about AmigaOS4 .so support
16376 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16377 archive_expsym_cmds=''
16378 ;;
16379 m68k)
16380 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)'
16381 hardcode_libdir_flag_spec='-L$libdir'
16382 hardcode_minus_L=yes
16383 ;;
16384 esac
16385 ;;
16386
16387 beos*)
16388 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16389 allow_undefined_flag=unsupported
16390 # Joseph Beckenbach <[email protected]> says some releases of gcc
16391 # support --undefined. This deserves some investigation. FIXME
16392 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16393 else
16394 ld_shlibs=no
16395 fi
16396 ;;
16397
16398 cygwin* | mingw* | windows* | pw32* | cegcc*)
16399 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
16400 # as there is no search path for DLLs.
16401 hardcode_libdir_flag_spec='-L$libdir'
16402 export_dynamic_flag_spec='$wl--export-all-symbols'
16403 allow_undefined_flag=unsupported
16404 always_export_symbols=no
16405 enable_shared_with_static_runtimes=yes
16406 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'
16407 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16408 file_list_spec='@'
16409
16410 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
16411 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16412 # If the export-symbols file already is a .def file, use it as
16413 # is; otherwise, prepend EXPORTS...
16414 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16415 cp $export_symbols $output_objdir/$soname.def;
16416 else
16417 echo EXPORTS > $output_objdir/$soname.def;
16418 cat $export_symbols >> $output_objdir/$soname.def;
16419 fi~
16420 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16421 else
16422 ld_shlibs=no
16423 fi
16424 ;;
16425
16426 haiku*)
16427 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16428 link_all_deplibs=no
16429 ;;
16430
16431 os2*)
16432 hardcode_libdir_flag_spec='-L$libdir'
16433 hardcode_minus_L=yes
16434 allow_undefined_flag=unsupported
16435 shrext_cmds=.dll
16436 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16437 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16438 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16439 $ECHO EXPORTS >> $output_objdir/$libname.def~
16440 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
16441 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16442 emximp -o $lib $output_objdir/$libname.def'
16443 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16444 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16445 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16446 $ECHO EXPORTS >> $output_objdir/$libname.def~
16447 prefix_cmds="$SED"~
16448 if test EXPORTS = "`$SED 1q $export_symbols`"; then
16449 prefix_cmds="$prefix_cmds -e 1d";
16450 fi~
16451 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
16452 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
16453 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16454 emximp -o $lib $output_objdir/$libname.def'
16455 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
16456 enable_shared_with_static_runtimes=yes
16457 file_list_spec='@'
16458 ;;
16459
16460 interix[3-9]*)
16461 hardcode_direct=no
16462 hardcode_shlibpath_var=no
16463 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
16464 export_dynamic_flag_spec='$wl-E'
16465 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16466 # Instead, shared libraries are loaded at an image base (0x10000000 by
16467 # default) and relocated if they conflict, which is a slow very memory
16468 # consuming and fragmenting process. To avoid this, we pick a random,
16469 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16470 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16471 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16472 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'
16473 ;;
16474
16475 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
16476 tmp_diet=no
16477 if test linux-dietlibc = "$host_os"; then
16478 case $cc_basename in
16479 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
16480 esac
16481 fi
16482 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
16483 && test no = "$tmp_diet"
16484 then
16485 tmp_addflag=' $pic_flag'
16486 tmp_sharedflag='-shared'
16487 case $cc_basename,$host_cpu in
16488 pgcc*) # Portland Group C compiler
16489 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'
16490 tmp_addflag=' $pic_flag'
16491 ;;
16492 pgf77* | pgf90* | pgf95* | pgfortran*)
16493 # Portland Group f77 and f90 compilers
16494 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'
16495 tmp_addflag=' $pic_flag -Mnomain' ;;
16496 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16497 tmp_addflag=' -i_dynamic' ;;
16498 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16499 tmp_addflag=' -i_dynamic -nofor_main' ;;
16500 ifc* | ifort*) # Intel Fortran compiler
16501 tmp_addflag=' -nofor_main' ;;
16502 lf95*) # Lahey Fortran 8.1
16503 whole_archive_flag_spec=
16504 tmp_sharedflag='--shared' ;;
16505 nagfor*) # NAGFOR 5.3
16506 tmp_sharedflag='-Wl,-shared' ;;
16507 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
16508 tmp_sharedflag='-qmkshrobj'
16509 tmp_addflag= ;;
16510 nvcc*) # Cuda Compiler Driver 2.2
16511 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'
16512 compiler_needs_object=yes
16513 ;;
16514 esac
16515 case `$CC -V 2>&1 | $SED 5q` in
16516 *Sun\ C*) # Sun C 5.9
16517 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'
16518 compiler_needs_object=yes
16519 tmp_sharedflag='-G' ;;
16520 *Sun\ F*) # Sun Fortran 8.3
16521 tmp_sharedflag='-G' ;;
16522 esac
16523 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16524
16525 if test yes = "$supports_anon_versioning"; then
16526 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
16527 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16528 echo "local: *; };" >> $output_objdir/$libname.ver~
16529 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
16530 fi
16531
16532 case $cc_basename in
16533 tcc*)
16534 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
16535 export_dynamic_flag_spec='-rdynamic'
16536 ;;
16537 xlf* | bgf* | bgxlf* | mpixlf*)
16538 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
16539 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
16540 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
16541 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
16542 if test yes = "$supports_anon_versioning"; then
16543 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
16544 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16545 echo "local: *; };" >> $output_objdir/$libname.ver~
16546 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
16547 fi
16548 ;;
16549 esac
16550 else
16551 ld_shlibs=no
16552 fi
16553 ;;
16554
16555 *-mlibc)
16556 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16557 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16558 ;;
16559
16560 netbsd* | netbsdelf*-gnu)
16561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16562 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16563 wlarc=
16564 else
16565 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16566 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16567 fi
16568 ;;
16569
16570 solaris*)
16571 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
16572 ld_shlibs=no
16573 cat <<_LT_EOF 1>&2
16574
16575 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16576 *** create shared libraries on Solaris systems. Therefore, libtool
16577 *** is disabling shared libraries support. We urge you to upgrade GNU
16578 *** binutils to release 2.9.1 or newer. Another option is to modify
16579 *** your PATH or compiler configuration so that the native linker is
16580 *** used, and then restart.
16581
16582 _LT_EOF
16583 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16584 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16585 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16586 else
16587 ld_shlibs=no
16588 fi
16589 ;;
16590
16591 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16592 case `$LD -v 2>&1` in
16593 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16594 ld_shlibs=no
16595 cat <<_LT_EOF 1>&2
16596
16597 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
16598 *** reliably create shared libraries on SCO systems. Therefore, libtool
16599 *** is disabling shared libraries support. We urge you to upgrade GNU
16600 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16601 *** your PATH or compiler configuration so that the native linker is
16602 *** used, and then restart.
16603
16604 _LT_EOF
16605 ;;
16606 *)
16607 # For security reasons, it is highly recommended that you always
16608 # use absolute paths for naming shared libraries, and exclude the
16609 # DT_RUNPATH tag from executables and libraries. But doing so
16610 # requires that you compile everything twice, which is a pain.
16611 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16612 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
16613 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16614 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16615 else
16616 ld_shlibs=no
16617 fi
16618 ;;
16619 esac
16620 ;;
16621
16622 sunos4*)
16623 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16624 wlarc=
16625 hardcode_direct=yes
16626 hardcode_shlibpath_var=no
16627 ;;
16628
16629 *)
16630 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16631 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16632 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16633 else
16634 ld_shlibs=no
16635 fi
16636 ;;
16637 esac
16638
16639 if test no = "$ld_shlibs"; then
16640 runpath_var=
16641 hardcode_libdir_flag_spec=
16642 export_dynamic_flag_spec=
16643 whole_archive_flag_spec=
16644 fi
16645 else
16646 # PORTME fill in a description of your system's linker (not GNU ld)
16647 case $host_os in
16648 aix3*)
16649 allow_undefined_flag=unsupported
16650 always_export_symbols=yes
16651 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'
16652 # Note: this linker hardcodes the directories in LIBPATH if there
16653 # are no directories specified by -L.
16654 hardcode_minus_L=yes
16655 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
16656 # Neither direct hardcoding nor static linking is supported with a
16657 # broken collect2.
16658 hardcode_direct=unsupported
16659 fi
16660 ;;
16661
16662 aix[4-9]*)
16663 if test ia64 = "$host_cpu"; then
16664 # On IA64, the linker does run time linking by default, so we don't
16665 # have to do anything special.
16666 aix_use_runtimelinking=no
16667 exp_sym_flag='-Bexport'
16668 no_entry_flag=
16669 else
16670 # If we're using GNU nm, then we don't want the "-C" option.
16671 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16672 # Without the "-l" option, or with the "-B" option, AIX nm treats
16673 # weak defined symbols like other global defined symbols, whereas
16674 # GNU nm marks them as "W".
16675 # While the 'weak' keyword is ignored in the Export File, we need
16676 # it in the Import File for the 'aix-soname' feature, so we have
16677 # to replace the "-B" option with "-P" for AIX nm.
16678 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16679 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'
16680 else
16681 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'
16682 fi
16683 aix_use_runtimelinking=no
16684
16685 # Test if we are trying to use run time linking or normal
16686 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16687 # have runtime linking enabled, and use it for executables.
16688 # For shared libraries, we enable/disable runtime linking
16689 # depending on the kind of the shared library created -
16690 # when "with_aix_soname,aix_use_runtimelinking" is:
16691 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
16692 # "aix,yes" lib.so shared, rtl:yes, for executables
16693 # lib.a static archive
16694 # "both,no" lib.so.V(shr.o) shared, rtl:yes
16695 # lib.a(lib.so.V) shared, rtl:no, for executables
16696 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
16697 # lib.a(lib.so.V) shared, rtl:no
16698 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
16699 # lib.a static archive
16700 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16701 for ld_flag in $LDFLAGS; do
16702 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
16703 aix_use_runtimelinking=yes
16704 break
16705 fi
16706 done
16707 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
16708 # With aix-soname=svr4, we create the lib.so.V shared archives only,
16709 # so we don't have lib.a shared libs to link our executables.
16710 # We have to force runtime linking in this case.
16711 aix_use_runtimelinking=yes
16712 LDFLAGS="$LDFLAGS -Wl,-brtl"
16713 fi
16714 ;;
16715 esac
16716
16717 exp_sym_flag='-bexport'
16718 no_entry_flag='-bnoentry'
16719 fi
16720
16721 # When large executables or shared objects are built, AIX ld can
16722 # have problems creating the table of contents. If linking a library
16723 # or program results in "error TOC overflow" add -mminimal-toc to
16724 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16725 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16726
16727 archive_cmds=''
16728 hardcode_direct=yes
16729 hardcode_direct_absolute=yes
16730 hardcode_libdir_separator=':'
16731 link_all_deplibs=yes
16732 file_list_spec='$wl-f,'
16733 case $with_aix_soname,$aix_use_runtimelinking in
16734 aix,*) ;; # traditional, no import file
16735 svr4,* | *,yes) # use import file
16736 # The Import File defines what to hardcode.
16737 hardcode_direct=no
16738 hardcode_direct_absolute=no
16739 ;;
16740 esac
16741
16742 if test yes = "$GCC"; then
16743 case $host_os in aix4.[012]|aix4.[012].*)
16744 # We only want to do this on AIX 4.2 and lower, the check
16745 # below for broken collect2 doesn't work under 4.3+
16746 collect2name=`$CC -print-prog-name=collect2`
16747 if test -f "$collect2name" &&
16748 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
16749 then
16750 # We have reworked collect2
16751 :
16752 else
16753 # We have old collect2
16754 hardcode_direct=unsupported
16755 # It fails to find uninstalled libraries when the uninstalled
16756 # path is not listed in the libpath. Setting hardcode_minus_L
16757 # to unsupported forces relinking
16758 hardcode_minus_L=yes
16759 hardcode_libdir_flag_spec='-L$libdir'
16760 hardcode_libdir_separator=
16761 fi
16762 ;;
16763 esac
16764 shared_flag='-shared'
16765 if test yes = "$aix_use_runtimelinking"; then
16766 shared_flag="$shared_flag "'$wl-G'
16767 fi
16768 # Need to ensure runtime linking is disabled for the traditional
16769 # shared library, or the linker may eventually find shared libraries
16770 # /with/ Import File - we do not want to mix them.
16771 shared_flag_aix='-shared'
16772 shared_flag_svr4='-shared $wl-G'
16773 else
16774 # not using gcc
16775 if test ia64 = "$host_cpu"; then
16776 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16777 # chokes on -Wl,-G. The following line is correct:
16778 shared_flag='-G'
16779 else
16780 if test yes = "$aix_use_runtimelinking"; then
16781 shared_flag='$wl-G'
16782 else
16783 shared_flag='$wl-bM:SRE'
16784 fi
16785 shared_flag_aix='$wl-bM:SRE'
16786 shared_flag_svr4='$wl-G'
16787 fi
16788 fi
16789
16790 export_dynamic_flag_spec='$wl-bexpall'
16791 # It seems that -bexpall does not export symbols beginning with
16792 # underscore (_), so it is better to generate a list of symbols to export.
16793 always_export_symbols=yes
16794 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
16795 # Warning - without using the other runtime loading flags (-brtl),
16796 # -berok will link without error, but may produce a broken library.
16797 allow_undefined_flag='-berok'
16798 # Determine the default libpath from the value encoded in an
16799 # empty executable.
16800 if test set = "${lt_cv_aix_libpath+set}"; then
16801 aix_libpath=$lt_cv_aix_libpath
16802 else
16803 if test ${lt_cv_aix_libpath_+y}
16804 then :
16805 printf %s "(cached) " >&6
16806 else case e in #(
16807 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16809
16810 int
16811 main (void)
16812 {
16813
16814 ;
16815 return 0;
16816 }
16817 _ACEOF
16818 if ac_fn_c_try_link "$LINENO"
16819 then :
16820
16821 lt_aix_libpath_sed='
16822 /Import File Strings/,/^$/ {
16823 /^0/ {
16824 s/^0 *\([^ ]*\) *$/\1/
16825 p
16826 }
16827 }'
16828 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16829 # Check for a 64-bit object if we didn't find anything.
16830 if test -z "$lt_cv_aix_libpath_"; then
16831 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16832 fi
16833 fi
16834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16835 conftest$ac_exeext conftest.$ac_ext
16836 if test -z "$lt_cv_aix_libpath_"; then
16837 lt_cv_aix_libpath_=/usr/lib:/lib
16838 fi
16839 ;;
16840 esac
16841 fi
16842
16843 aix_libpath=$lt_cv_aix_libpath_
16844 fi
16845
16846 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
16847 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
16848 else
16849 if test ia64 = "$host_cpu"; then
16850 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
16851 allow_undefined_flag="-z nodefs"
16852 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"
16853 else
16854 # Determine the default libpath from the value encoded in an
16855 # empty executable.
16856 if test set = "${lt_cv_aix_libpath+set}"; then
16857 aix_libpath=$lt_cv_aix_libpath
16858 else
16859 if test ${lt_cv_aix_libpath_+y}
16860 then :
16861 printf %s "(cached) " >&6
16862 else case e in #(
16863 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16865
16866 int
16867 main (void)
16868 {
16869
16870 ;
16871 return 0;
16872 }
16873 _ACEOF
16874 if ac_fn_c_try_link "$LINENO"
16875 then :
16876
16877 lt_aix_libpath_sed='
16878 /Import File Strings/,/^$/ {
16879 /^0/ {
16880 s/^0 *\([^ ]*\) *$/\1/
16881 p
16882 }
16883 }'
16884 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16885 # Check for a 64-bit object if we didn't find anything.
16886 if test -z "$lt_cv_aix_libpath_"; then
16887 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16888 fi
16889 fi
16890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16891 conftest$ac_exeext conftest.$ac_ext
16892 if test -z "$lt_cv_aix_libpath_"; then
16893 lt_cv_aix_libpath_=/usr/lib:/lib
16894 fi
16895 ;;
16896 esac
16897 fi
16898
16899 aix_libpath=$lt_cv_aix_libpath_
16900 fi
16901
16902 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
16903 # Warning - without using the other run time loading flags,
16904 # -berok will link without error, but may produce a broken library.
16905 no_undefined_flag=' $wl-bernotok'
16906 allow_undefined_flag=' $wl-berok'
16907 if test yes = "$with_gnu_ld"; then
16908 # We only use this code for GNU lds that support --whole-archive.
16909 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
16910 else
16911 # Exported symbols can be pulled into shared objects from archives
16912 whole_archive_flag_spec='$convenience'
16913 fi
16914 archive_cmds_need_lc=yes
16915 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
16916 # -brtl affects multiple linker settings, -berok does not and is overridden later
16917 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
16918 if test svr4 != "$with_aix_soname"; then
16919 # This is similar to how AIX traditionally builds its shared libraries.
16920 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'
16921 fi
16922 if test aix != "$with_aix_soname"; then
16923 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'
16924 else
16925 # used by -dlpreopen to get the symbols
16926 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
16927 fi
16928 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
16929 fi
16930 fi
16931 ;;
16932
16933 amigaos*)
16934 case $host_cpu in
16935 powerpc)
16936 # see comment about AmigaOS4 .so support
16937 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16938 archive_expsym_cmds=''
16939 ;;
16940 m68k)
16941 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)'
16942 hardcode_libdir_flag_spec='-L$libdir'
16943 hardcode_minus_L=yes
16944 ;;
16945 esac
16946 ;;
16947
16948 bsdi[45]*)
16949 export_dynamic_flag_spec=-rdynamic
16950 ;;
16951
16952 cygwin* | mingw* | windows* | pw32* | cegcc*)
16953 # When not using gcc, we currently assume that we are using
16954 # Microsoft Visual C++ or Intel C++ Compiler.
16955 # hardcode_libdir_flag_spec is actually meaningless, as there is
16956 # no search path for DLLs.
16957 case $cc_basename in
16958 cl* | icl*)
16959 # Native MSVC or ICC
16960 hardcode_libdir_flag_spec=' '
16961 allow_undefined_flag=unsupported
16962 always_export_symbols=yes
16963 file_list_spec='@'
16964 # Tell ltmain to make .lib files, not .a files.
16965 libext=lib
16966 # Tell ltmain to make .dll files, not .so files.
16967 shrext_cmds=.dll
16968 # FIXME: Setting linknames here is a bad hack.
16969 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
16970 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16971 cp "$export_symbols" "$output_objdir/$soname.def";
16972 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
16973 else
16974 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
16975 fi~
16976 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16977 linknames='
16978 # The linker will not automatically build a static lib if we build a DLL.
16979 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
16980 enable_shared_with_static_runtimes=yes
16981 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16982 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16983 # Don't use ranlib
16984 old_postinstall_cmds='chmod 644 $oldlib'
16985 postlink_cmds='lt_outputfile="@OUTPUT@"~
16986 lt_tool_outputfile="@TOOL_OUTPUT@"~
16987 case $lt_outputfile in
16988 *.exe|*.EXE) ;;
16989 *)
16990 lt_outputfile=$lt_outputfile.exe
16991 lt_tool_outputfile=$lt_tool_outputfile.exe
16992 ;;
16993 esac~
16994 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
16995 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16996 $RM "$lt_outputfile.manifest";
16997 fi'
16998 ;;
16999 *)
17000 # Assume MSVC and ICC wrapper
17001 hardcode_libdir_flag_spec=' '
17002 allow_undefined_flag=unsupported
17003 # Tell ltmain to make .lib files, not .a files.
17004 libext=lib
17005 # Tell ltmain to make .dll files, not .so files.
17006 shrext_cmds=.dll
17007 # FIXME: Setting linknames here is a bad hack.
17008 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
17009 # The linker will automatically build a .lib file if we build a DLL.
17010 old_archive_from_new_cmds='true'
17011 # FIXME: Should let the user specify the lib program.
17012 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
17013 enable_shared_with_static_runtimes=yes
17014 ;;
17015 esac
17016 ;;
17017
17018 darwin* | rhapsody*)
17019
17020
17021 archive_cmds_need_lc=no
17022 hardcode_direct=no
17023 hardcode_automatic=yes
17024 hardcode_shlibpath_var=unsupported
17025 if test yes = "$lt_cv_ld_force_load"; then
17026 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\"`'
17027
17028 else
17029 whole_archive_flag_spec=''
17030 fi
17031 link_all_deplibs=yes
17032 allow_undefined_flag=$_lt_dar_allow_undefined
17033 case $cc_basename in
17034 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
17035 *) _lt_dar_can_shared=$GCC ;;
17036 esac
17037 if test yes = "$_lt_dar_can_shared"; then
17038 output_verbose_link_cmd=func_echo_all
17039 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
17040 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
17041 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"
17042 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"
17043
17044 else
17045 ld_shlibs=no
17046 fi
17047
17048 ;;
17049
17050 dgux*)
17051 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17052 hardcode_libdir_flag_spec='-L$libdir'
17053 hardcode_shlibpath_var=no
17054 ;;
17055
17056 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17057 # support. Future versions do this automatically, but an explicit c++rt0.o
17058 # does not break anything, and helps significantly (at the cost of a little
17059 # extra space).
17060 freebsd2.2*)
17061 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17062 hardcode_libdir_flag_spec='-R$libdir'
17063 hardcode_direct=yes
17064 hardcode_shlibpath_var=no
17065 ;;
17066
17067 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17068 freebsd2.*)
17069 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17070 hardcode_direct=yes
17071 hardcode_minus_L=yes
17072 hardcode_shlibpath_var=no
17073 ;;
17074
17075 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17076 freebsd* | dragonfly* | midnightbsd*)
17077 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17078 hardcode_libdir_flag_spec='-R$libdir'
17079 hardcode_direct=yes
17080 hardcode_shlibpath_var=no
17081 ;;
17082
17083 hpux9*)
17084 if test yes = "$GCC"; then
17085 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'
17086 else
17087 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'
17088 fi
17089 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
17090 hardcode_libdir_separator=:
17091 hardcode_direct=yes
17092
17093 # hardcode_minus_L: Not really in the search PATH,
17094 # but as the default location of the library.
17095 hardcode_minus_L=yes
17096 export_dynamic_flag_spec='$wl-E'
17097 ;;
17098
17099 hpux10*)
17100 if test yes,no = "$GCC,$with_gnu_ld"; then
17101 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17102 else
17103 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17104 fi
17105 if test no = "$with_gnu_ld"; then
17106 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
17107 hardcode_libdir_separator=:
17108 hardcode_direct=yes
17109 hardcode_direct_absolute=yes
17110 export_dynamic_flag_spec='$wl-E'
17111 # hardcode_minus_L: Not really in the search PATH,
17112 # but as the default location of the library.
17113 hardcode_minus_L=yes
17114 fi
17115 ;;
17116
17117 hpux11*)
17118 if test yes,no = "$GCC,$with_gnu_ld"; then
17119 case $host_cpu in
17120 hppa*64*)
17121 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
17122 ;;
17123 ia64*)
17124 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17125 ;;
17126 *)
17127 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17128 ;;
17129 esac
17130 else
17131 case $host_cpu in
17132 hppa*64*)
17133 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
17134 ;;
17135 ia64*)
17136 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17137 ;;
17138 *)
17139
17140 # Older versions of the 11.00 compiler do not understand -b yet
17141 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
17142 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
17143 printf %s "checking if $CC understands -b... " >&6; }
17144 if test ${lt_cv_prog_compiler__b+y}
17145 then :
17146 printf %s "(cached) " >&6
17147 else case e in #(
17148 e) lt_cv_prog_compiler__b=no
17149 save_LDFLAGS=$LDFLAGS
17150 LDFLAGS="$LDFLAGS -b"
17151 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17152 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17153 # The linker can only warn and ignore the option if not recognized
17154 # So say no if there are warnings
17155 if test -s conftest.err; then
17156 # Append any errors to the config.log.
17157 cat conftest.err 1>&5
17158 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
17159 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17160 if diff conftest.exp conftest.er2 >/dev/null; then
17161 lt_cv_prog_compiler__b=yes
17162 fi
17163 else
17164 lt_cv_prog_compiler__b=yes
17165 fi
17166 fi
17167 $RM -r conftest*
17168 LDFLAGS=$save_LDFLAGS
17169 ;;
17170 esac
17171 fi
17172 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
17173 printf '%s\n' "$lt_cv_prog_compiler__b" >&6; }
17174
17175 if test yes = "$lt_cv_prog_compiler__b"; then
17176 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17177 else
17178 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17179 fi
17180
17181 ;;
17182 esac
17183 fi
17184 if test no = "$with_gnu_ld"; then
17185 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
17186 hardcode_libdir_separator=:
17187
17188 case $host_cpu in
17189 hppa*64*|ia64*)
17190 hardcode_direct=no
17191 hardcode_shlibpath_var=no
17192 ;;
17193 *)
17194 hardcode_direct=yes
17195 hardcode_direct_absolute=yes
17196 export_dynamic_flag_spec='$wl-E'
17197
17198 # hardcode_minus_L: Not really in the search PATH,
17199 # but as the default location of the library.
17200 hardcode_minus_L=yes
17201 ;;
17202 esac
17203 fi
17204 ;;
17205
17206 irix5* | irix6* | nonstopux*)
17207 if test yes = "$GCC"; then
17208 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'
17209 # Try to use the -exported_symbol ld option, if it does not
17210 # work, assume that -exports_file does not work either and
17211 # implicitly export all symbols.
17212 # This should be the same for all languages, so no per-tag cache variable.
17213 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
17214 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
17215 if test ${lt_cv_irix_exported_symbol+y}
17216 then :
17217 printf %s "(cached) " >&6
17218 else case e in #(
17219 e) save_LDFLAGS=$LDFLAGS
17220 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 int foo (void) { return 0; }
17224 _ACEOF
17225 if ac_fn_c_try_link "$LINENO"
17226 then :
17227 lt_cv_irix_exported_symbol=yes
17228 else case e in #(
17229 e) lt_cv_irix_exported_symbol=no ;;
17230 esac
17231 fi
17232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17233 conftest$ac_exeext conftest.$ac_ext
17234 LDFLAGS=$save_LDFLAGS ;;
17235 esac
17236 fi
17237 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
17238 printf '%s\n' "$lt_cv_irix_exported_symbol" >&6; }
17239 if test yes = "$lt_cv_irix_exported_symbol"; then
17240 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'
17241 fi
17242 link_all_deplibs=no
17243 else
17244 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'
17245 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'
17246 fi
17247 archive_cmds_need_lc='no'
17248 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
17249 hardcode_libdir_separator=:
17250 inherit_rpath=yes
17251 link_all_deplibs=yes
17252 ;;
17253
17254 linux*)
17255 case $cc_basename in
17256 tcc*)
17257 # Fabrice Bellard et al's Tiny C Compiler
17258 ld_shlibs=yes
17259 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17260 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
17261 ;;
17262 esac
17263 ;;
17264
17265 *-mlibc)
17266 ;;
17267
17268 netbsd* | netbsdelf*-gnu)
17269 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17270 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17271 else
17272 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17273 fi
17274 hardcode_libdir_flag_spec='-R$libdir'
17275 hardcode_direct=yes
17276 hardcode_shlibpath_var=no
17277 ;;
17278
17279 newsos6)
17280 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17281 hardcode_direct=yes
17282 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
17283 hardcode_libdir_separator=:
17284 hardcode_shlibpath_var=no
17285 ;;
17286
17287 *nto* | *qnx*)
17288 ;;
17289
17290 openbsd*)
17291 if test -f /usr/libexec/ld.so; then
17292 hardcode_direct=yes
17293 hardcode_shlibpath_var=no
17294 hardcode_direct_absolute=yes
17295 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17296 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17297 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
17298 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
17299 export_dynamic_flag_spec='$wl-E'
17300 else
17301 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17302 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
17303 fi
17304 else
17305 ld_shlibs=no
17306 fi
17307 ;;
17308
17309 os2*)
17310 hardcode_libdir_flag_spec='-L$libdir'
17311 hardcode_minus_L=yes
17312 allow_undefined_flag=unsupported
17313 shrext_cmds=.dll
17314 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
17315 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
17316 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
17317 $ECHO EXPORTS >> $output_objdir/$libname.def~
17318 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
17319 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
17320 emximp -o $lib $output_objdir/$libname.def'
17321 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
17322 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
17323 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
17324 $ECHO EXPORTS >> $output_objdir/$libname.def~
17325 prefix_cmds="$SED"~
17326 if test EXPORTS = "`$SED 1q $export_symbols`"; then
17327 prefix_cmds="$prefix_cmds -e 1d";
17328 fi~
17329 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
17330 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
17331 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
17332 emximp -o $lib $output_objdir/$libname.def'
17333 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
17334 enable_shared_with_static_runtimes=yes
17335 file_list_spec='@'
17336 ;;
17337
17338 osf3*)
17339 if test yes = "$GCC"; then
17340 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
17341 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'
17342 else
17343 allow_undefined_flag=' -expect_unresolved \*'
17344 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'
17345 fi
17346 archive_cmds_need_lc='no'
17347 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
17348 hardcode_libdir_separator=:
17349 ;;
17350
17351 osf4* | osf5*) # as osf3* with the addition of -msym flag
17352 if test yes = "$GCC"; then
17353 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
17354 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'
17355 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
17356 else
17357 allow_undefined_flag=' -expect_unresolved \*'
17358 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'
17359 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~
17360 $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'
17361
17362 # Both c and cxx compiler support -rpath directly
17363 hardcode_libdir_flag_spec='-rpath $libdir'
17364 fi
17365 archive_cmds_need_lc='no'
17366 hardcode_libdir_separator=:
17367 ;;
17368
17369 serenity*)
17370 ;;
17371
17372 solaris*)
17373 no_undefined_flag=' -z defs'
17374 if test yes = "$GCC"; then
17375 wlarc='$wl'
17376 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
17377 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17378 $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'
17379 else
17380 case `$CC -V 2>&1` in
17381 *"Compilers 5.0"*)
17382 wlarc=''
17383 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
17384 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17385 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17386 ;;
17387 *)
17388 wlarc='$wl'
17389 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17390 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17391 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17392 ;;
17393 esac
17394 fi
17395 hardcode_libdir_flag_spec='-R$libdir'
17396 hardcode_shlibpath_var=no
17397 case $host_os in
17398 solaris2.[0-5] | solaris2.[0-5].*) ;;
17399 *)
17400 # The compiler driver will combine and reorder linker options,
17401 # but understands '-z linker_flag'. GCC discards it without '$wl',
17402 # but is careful enough not to reorder.
17403 # Supported since Solaris 2.6 (maybe 2.5.1?)
17404 if test yes = "$GCC"; then
17405 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
17406 else
17407 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
17408 fi
17409 ;;
17410 esac
17411 link_all_deplibs=yes
17412 ;;
17413
17414 sunos4*)
17415 if test sequent = "$host_vendor"; then
17416 # Use $CC to link under sequent, because it throws in some extra .o
17417 # files that make .init and .fini sections work.
17418 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17419 else
17420 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17421 fi
17422 hardcode_libdir_flag_spec='-L$libdir'
17423 hardcode_direct=yes
17424 hardcode_minus_L=yes
17425 hardcode_shlibpath_var=no
17426 ;;
17427
17428 sysv4)
17429 case $host_vendor in
17430 sni)
17431 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17432 hardcode_direct=yes # is this really true???
17433 ;;
17434 siemens)
17435 ## LD is ld it makes a PLAMLIB
17436 ## CC just makes a GrossModule.
17437 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17438 reload_cmds='$CC -r -o $output$reload_objs'
17439 hardcode_direct=no
17440 ;;
17441 motorola)
17442 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17443 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
17444 ;;
17445 esac
17446 runpath_var='LD_RUN_PATH'
17447 hardcode_shlibpath_var=no
17448 ;;
17449
17450 sysv4.3*)
17451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17452 hardcode_shlibpath_var=no
17453 export_dynamic_flag_spec='-Bexport'
17454 ;;
17455
17456 sysv4*MP*)
17457 if test -d /usr/nec; then
17458 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17459 hardcode_shlibpath_var=no
17460 runpath_var=LD_RUN_PATH
17461 hardcode_runpath_var=yes
17462 ld_shlibs=yes
17463 fi
17464 ;;
17465
17466 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17467 no_undefined_flag='$wl-z,text'
17468 archive_cmds_need_lc=no
17469 hardcode_shlibpath_var=no
17470 runpath_var='LD_RUN_PATH'
17471
17472 if test yes = "$GCC"; then
17473 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17474 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17475 else
17476 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17477 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17478 fi
17479 ;;
17480
17481 sysv5* | sco3.2v5* | sco5v6*)
17482 # Note: We CANNOT use -z defs as we might desire, because we do not
17483 # link with -lc, and that would cause any symbols used from libc to
17484 # always be unresolved, which means just about no library would
17485 # ever link correctly. If we're not using GNU ld we use -z text
17486 # though, which does catch some bad symbols but isn't as heavy-handed
17487 # as -z defs.
17488 no_undefined_flag='$wl-z,text'
17489 allow_undefined_flag='$wl-z,nodefs'
17490 archive_cmds_need_lc=no
17491 hardcode_shlibpath_var=no
17492 hardcode_libdir_flag_spec='$wl-R,$libdir'
17493 hardcode_libdir_separator=':'
17494 link_all_deplibs=yes
17495 export_dynamic_flag_spec='$wl-Bexport'
17496 runpath_var='LD_RUN_PATH'
17497
17498 if test yes = "$GCC"; then
17499 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17500 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17501 else
17502 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17503 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17504 fi
17505 ;;
17506
17507 uts4*)
17508 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17509 hardcode_libdir_flag_spec='-L$libdir'
17510 hardcode_shlibpath_var=no
17511 ;;
17512
17513 *)
17514 ld_shlibs=no
17515 ;;
17516 esac
17517
17518 if test sni = "$host_vendor"; then
17519 case $host in
17520 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17521 export_dynamic_flag_spec='$wl-Blargedynsym'
17522 ;;
17523 esac
17524 fi
17525 fi
17526
17527 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
17528 printf '%s\n' "$ld_shlibs" >&6; }
17529 test no = "$ld_shlibs" && can_build_shared=no
17530
17531 with_gnu_ld=$with_gnu_ld
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547 #
17548 # Do we need to explicitly link libc?
17549 #
17550 case "x$archive_cmds_need_lc" in
17551 x|xyes)
17552 # Assume -lc should be added
17553 archive_cmds_need_lc=yes
17554
17555 if test yes,yes = "$GCC,$enable_shared"; then
17556 case $archive_cmds in
17557 *'~'*)
17558 # FIXME: we may have to deal with multi-command sequences.
17559 ;;
17560 '$CC '*)
17561 # Test whether the compiler implicitly links with -lc since on some
17562 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17563 # to ld, don't add -lc before -lgcc.
17564 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17565 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
17566 if test ${lt_cv_archive_cmds_need_lc+y}
17567 then :
17568 printf %s "(cached) " >&6
17569 else case e in #(
17570 e) $RM conftest*
17571 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17572
17573 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17574 (eval $ac_compile) 2>&5
17575 ac_status=$?
17576 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17577 test $ac_status = 0; } 2>conftest.err; then
17578 soname=conftest
17579 lib=conftest
17580 libobjs=conftest.$ac_objext
17581 deplibs=
17582 wl=$lt_prog_compiler_wl
17583 pic_flag=$lt_prog_compiler_pic
17584 compiler_flags=-v
17585 linker_flags=-v
17586 verstring=
17587 output_objdir=.
17588 libname=conftest
17589 lt_save_allow_undefined_flag=$allow_undefined_flag
17590 allow_undefined_flag=
17591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17592 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17593 ac_status=$?
17594 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17595 test $ac_status = 0; }
17596 then
17597 lt_cv_archive_cmds_need_lc=no
17598 else
17599 lt_cv_archive_cmds_need_lc=yes
17600 fi
17601 allow_undefined_flag=$lt_save_allow_undefined_flag
17602 else
17603 cat conftest.err 1>&5
17604 fi
17605 $RM conftest*
17606 ;;
17607 esac
17608 fi
17609 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
17610 printf '%s\n' "$lt_cv_archive_cmds_need_lc" >&6; }
17611 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
17612 ;;
17613 esac
17614 fi
17615 ;;
17616 esac
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17770 printf %s "checking dynamic linker characteristics... " >&6; }
17771
17772 if test yes = "$GCC"; then
17773 case $host_os in
17774 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
17775 *) lt_awk_arg='/^libraries:/' ;;
17776 esac
17777 case $host_os in
17778 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
17779 *) lt_sed_strip_eq='s|=/|/|g' ;;
17780 esac
17781 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
17782 case $lt_search_path_spec in
17783 *\;*)
17784 # if the path contains ";" then we assume it to be the separator
17785 # otherwise default to the standard path separator (i.e. ":") - it is
17786 # assumed that no part of a normal pathname contains ";" but that should
17787 # okay in the real world where ";" in dirpaths is itself problematic.
17788 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
17789 ;;
17790 *)
17791 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
17792 ;;
17793 esac
17794 # Ok, now we have the path, separated by spaces, we can step through it
17795 # and add multilib dir if necessary...
17796 lt_tmp_lt_search_path_spec=
17797 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
17798 # ...but if some path component already ends with the multilib dir we assume
17799 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
17800 case "$lt_multi_os_dir; $lt_search_path_spec " in
17801 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
17802 lt_multi_os_dir=
17803 ;;
17804 esac
17805 for lt_sys_path in $lt_search_path_spec; do
17806 if test -d "$lt_sys_path$lt_multi_os_dir"; then
17807 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
17808 elif test -n "$lt_multi_os_dir"; then
17809 test -d "$lt_sys_path" && \
17810 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
17811 fi
17812 done
17813 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
17814 BEGIN {RS = " "; FS = "/|\n";} {
17815 lt_foo = "";
17816 lt_count = 0;
17817 for (lt_i = NF; lt_i > 0; lt_i--) {
17818 if ($lt_i != "" && $lt_i != ".") {
17819 if ($lt_i == "..") {
17820 lt_count++;
17821 } else {
17822 if (lt_count == 0) {
17823 lt_foo = "/" $lt_i lt_foo;
17824 } else {
17825 lt_count--;
17826 }
17827 }
17828 }
17829 }
17830 if (lt_foo != "") { lt_freq[lt_foo]++; }
17831 if (lt_freq[lt_foo] == 1) { print lt_foo; }
17832 }'`
17833 # AWK program above erroneously prepends '/' to C:/dos/paths
17834 # for these hosts.
17835 case $host_os in
17836 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
17837 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
17838 esac
17839 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
17840 else
17841 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17842 fi
17843 library_names_spec=
17844 libname_spec='lib$name'
17845 soname_spec=
17846 shrext_cmds=.so
17847 postinstall_cmds=
17848 postuninstall_cmds=
17849 finish_cmds=
17850 finish_eval=
17851 shlibpath_var=
17852 shlibpath_overrides_runpath=unknown
17853 version_type=none
17854 dynamic_linker="$host_os ld.so"
17855 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17856 need_lib_prefix=unknown
17857 hardcode_into_libs=no
17858
17859 # when you set need_version to no, make sure it does not cause -set_version
17860 # flags to be left without arguments
17861 need_version=unknown
17862
17863
17864
17865 case $host_os in
17866 aix3*)
17867 version_type=linux # correct to gnu/linux during the next big refactor
17868 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17869 shlibpath_var=LIBPATH
17870
17871 # AIX 3 has no versioning support, so we append a major version to the name.
17872 soname_spec='$libname$release$shared_ext$major'
17873 ;;
17874
17875 aix[4-9]*)
17876 version_type=linux # correct to gnu/linux during the next big refactor
17877 need_lib_prefix=no
17878 need_version=no
17879 hardcode_into_libs=yes
17880 if test ia64 = "$host_cpu"; then
17881 # AIX 5 supports IA64
17882 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17883 shlibpath_var=LD_LIBRARY_PATH
17884 else
17885 # With GCC up to 2.95.x, collect2 would create an import file
17886 # for dependence libraries. The import file would start with
17887 # the line '#! .'. This would cause the generated library to
17888 # depend on '.', always an invalid library. This was fixed in
17889 # development snapshots of GCC prior to 3.0.
17890 case $host_os in
17891 aix4 | aix4.[01] | aix4.[01].*)
17892 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17893 echo ' yes '
17894 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17895 :
17896 else
17897 can_build_shared=no
17898 fi
17899 ;;
17900 esac
17901 # Using Import Files as archive members, it is possible to support
17902 # filename-based versioning of shared library archives on AIX. While
17903 # this would work for both with and without runtime linking, it will
17904 # prevent static linking of such archives. So we do filename-based
17905 # shared library versioning with .so extension only, which is used
17906 # when both runtime linking and shared linking is enabled.
17907 # Unfortunately, runtime linking may impact performance, so we do
17908 # not want this to be the default eventually. Also, we use the
17909 # versioned .so libs for executables only if there is the -brtl
17910 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
17911 # To allow for filename-based versioning support, we need to create
17912 # libNAME.so.V as an archive file, containing:
17913 # *) an Import File, referring to the versioned filename of the
17914 # archive as well as the shared archive member, telling the
17915 # bitwidth (32 or 64) of that shared object, and providing the
17916 # list of exported symbols of that shared object, eventually
17917 # decorated with the 'weak' keyword
17918 # *) the shared object with the F_LOADONLY flag set, to really avoid
17919 # it being seen by the linker.
17920 # At run time we better use the real file rather than another symlink,
17921 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17922
17923 case $with_aix_soname,$aix_use_runtimelinking in
17924 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17925 # soname into executable. Probably we can add versioning support to
17926 # collect2, so additional links can be useful in future.
17927 aix,yes) # traditional libtool
17928 dynamic_linker='AIX unversionable lib.so'
17929 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17930 # instead of lib<name>.a to let people know that these are not
17931 # typical AIX shared libraries.
17932 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17933 ;;
17934 aix,no) # traditional AIX only
17935 dynamic_linker='AIX lib.a(lib.so.V)'
17936 # We preserve .a as extension for shared libraries through AIX4.2
17937 # and later when we are not doing run time linking.
17938 library_names_spec='$libname$release.a $libname.a'
17939 soname_spec='$libname$release$shared_ext$major'
17940 ;;
17941 svr4,*) # full svr4 only
17942 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17943 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17944 # We do not specify a path in Import Files, so LIBPATH fires.
17945 shlibpath_overrides_runpath=yes
17946 ;;
17947 *,yes) # both, prefer svr4
17948 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17949 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17950 # unpreferred sharedlib libNAME.a needs extra handling
17951 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"'
17952 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"'
17953 # We do not specify a path in Import Files, so LIBPATH fires.
17954 shlibpath_overrides_runpath=yes
17955 ;;
17956 *,no) # both, prefer aix
17957 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17958 library_names_spec='$libname$release.a $libname.a'
17959 soname_spec='$libname$release$shared_ext$major'
17960 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17961 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)'
17962 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"'
17963 ;;
17964 esac
17965 shlibpath_var=LIBPATH
17966 fi
17967 ;;
17968
17969 amigaos*)
17970 case $host_cpu in
17971 powerpc)
17972 # Since July 2007 AmigaOS4 officially supports .so libraries.
17973 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17974 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17975 ;;
17976 m68k)
17977 library_names_spec='$libname.ixlibrary $libname.a'
17978 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17979 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'
17980 ;;
17981 esac
17982 ;;
17983
17984 beos*)
17985 library_names_spec='$libname$shared_ext'
17986 dynamic_linker="$host_os ld.so"
17987 shlibpath_var=LIBRARY_PATH
17988 ;;
17989
17990 bsdi[45]*)
17991 version_type=linux # correct to gnu/linux during the next big refactor
17992 need_version=no
17993 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17994 soname_spec='$libname$release$shared_ext$major'
17995 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17996 shlibpath_var=LD_LIBRARY_PATH
17997 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17998 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17999 # the default ld.so.conf also contains /usr/contrib/lib and
18000 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18001 # libtool to hard-code these into programs
18002 ;;
18003
18004 cygwin* | mingw* | windows* | pw32* | cegcc*)
18005 version_type=windows
18006 shrext_cmds=.dll
18007 need_version=no
18008 need_lib_prefix=no
18009
18010 case $GCC,$cc_basename in
18011 yes,*)
18012 # gcc
18013 library_names_spec='$libname.dll.a'
18014 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18015 # If user builds GCC with multilib enabled,
18016 # it should just install on $(libdir)
18017 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
18018 if test xyes = x"$multilib"; then
18019 postinstall_cmds='base_file=`basename \$file`~
18020 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18021 dldir=$destdir/`dirname \$dlpath`~
18022 $install_prog $dir/$dlname $destdir/$dlname~
18023 chmod a+x $destdir/$dlname~
18024 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18025 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
18026 fi'
18027 else
18028 postinstall_cmds='base_file=`basename \$file`~
18029 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18030 dldir=$destdir/`dirname \$dlpath`~
18031 test -d \$dldir || mkdir -p \$dldir~
18032 $install_prog $dir/$dlname \$dldir/$dlname~
18033 chmod a+x \$dldir/$dlname~
18034 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18035 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18036 fi'
18037 fi
18038 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18039 dlpath=$dir/\$dldll~
18040 $RM \$dlpath'
18041 shlibpath_overrides_runpath=yes
18042
18043 case $host_os in
18044 cygwin*)
18045 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18046 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18047
18048 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
18049 ;;
18050 mingw* | windows* | cegcc*)
18051 # MinGW DLLs use traditional 'lib' prefix
18052 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18053 ;;
18054 pw32*)
18055 # pw32 DLLs use 'pw' prefix rather than 'lib'
18056 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18057 ;;
18058 esac
18059 dynamic_linker='Win32 ld.exe'
18060 ;;
18061
18062 *,cl* | *,icl*)
18063 # Native MSVC or ICC
18064 libname_spec='$name'
18065 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18066 library_names_spec='$libname.dll.lib'
18067
18068 case $build_os in
18069 mingw* | windows*)
18070 sys_lib_search_path_spec=
18071 lt_save_ifs=$IFS
18072 IFS=';'
18073 for lt_path in $LIB
18074 do
18075 IFS=$lt_save_ifs
18076 # Let DOS variable expansion print the short 8.3 style file name.
18077 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18078 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
18079 done
18080 IFS=$lt_save_ifs
18081 # Convert to MSYS style.
18082 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18083 ;;
18084 cygwin*)
18085 # Convert to unix form, then to dos form, then back to unix form
18086 # but this time dos style (no spaces!) so that the unix form looks
18087 # like /cygdrive/c/PROGRA~1:/cygdr...
18088 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
18089 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18090 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18091 ;;
18092 *)
18093 sys_lib_search_path_spec=$LIB
18094 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18095 # It is most probably a Windows format PATH.
18096 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18097 else
18098 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18099 fi
18100 # FIXME: find the short name or the path components, as spaces are
18101 # common. (e.g. "Program Files" -> "PROGRA~1")
18102 ;;
18103 esac
18104
18105 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18106 postinstall_cmds='base_file=`basename \$file`~
18107 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18108 dldir=$destdir/`dirname \$dlpath`~
18109 test -d \$dldir || mkdir -p \$dldir~
18110 $install_prog $dir/$dlname \$dldir/$dlname'
18111 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18112 dlpath=$dir/\$dldll~
18113 $RM \$dlpath'
18114 shlibpath_overrides_runpath=yes
18115 dynamic_linker='Win32 link.exe'
18116 ;;
18117
18118 *)
18119 # Assume MSVC and ICC wrapper
18120 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
18121 dynamic_linker='Win32 ld.exe'
18122 ;;
18123 esac
18124 # FIXME: first we should search . and the directory the executable is in
18125 shlibpath_var=PATH
18126 ;;
18127
18128 darwin* | rhapsody*)
18129 dynamic_linker="$host_os dyld"
18130 version_type=darwin
18131 need_lib_prefix=no
18132 need_version=no
18133 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
18134 soname_spec='$libname$release$major$shared_ext'
18135 shlibpath_overrides_runpath=yes
18136 shlibpath_var=DYLD_LIBRARY_PATH
18137 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18138
18139 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
18140 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18141 ;;
18142
18143 dgux*)
18144 version_type=linux # correct to gnu/linux during the next big refactor
18145 need_lib_prefix=no
18146 need_version=no
18147 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18148 soname_spec='$libname$release$shared_ext$major'
18149 shlibpath_var=LD_LIBRARY_PATH
18150 ;;
18151
18152 freebsd* | dragonfly* | midnightbsd*)
18153 # DragonFly does not have aout. When/if they implement a new
18154 # versioning mechanism, adjust this.
18155 if test -x /usr/bin/objformat; then
18156 objformat=`/usr/bin/objformat`
18157 else
18158 case $host_os in
18159 freebsd[23].*) objformat=aout ;;
18160 *) objformat=elf ;;
18161 esac
18162 fi
18163 version_type=freebsd-$objformat
18164 case $version_type in
18165 freebsd-elf*)
18166 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18167 soname_spec='$libname$release$shared_ext$major'
18168 need_version=no
18169 need_lib_prefix=no
18170 ;;
18171 freebsd-*)
18172 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18173 need_version=yes
18174 ;;
18175 esac
18176 case $host_cpu in
18177 powerpc64)
18178 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
18179 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
18180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18181 /* end confdefs.h. */
18182 int test_pointer_size[sizeof (void *) - 5];
18183
18184 _ACEOF
18185 if ac_fn_c_try_compile "$LINENO"
18186 then :
18187 shlibpath_var=LD_LIBRARY_PATH
18188 else case e in #(
18189 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
18190 esac
18191 fi
18192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18193 ;;
18194 *)
18195 shlibpath_var=LD_LIBRARY_PATH
18196 ;;
18197 esac
18198 case $host_os in
18199 freebsd2.*)
18200 shlibpath_overrides_runpath=yes
18201 ;;
18202 freebsd3.[01]* | freebsdelf3.[01]*)
18203 shlibpath_overrides_runpath=yes
18204 hardcode_into_libs=yes
18205 ;;
18206 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18207 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18208 shlibpath_overrides_runpath=no
18209 hardcode_into_libs=yes
18210 ;;
18211 *) # from 4.6 on, and DragonFly
18212 shlibpath_overrides_runpath=yes
18213 hardcode_into_libs=yes
18214 ;;
18215 esac
18216 ;;
18217
18218 haiku*)
18219 version_type=linux # correct to gnu/linux during the next big refactor
18220 need_lib_prefix=no
18221 need_version=no
18222 dynamic_linker="$host_os runtime_loader"
18223 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18224 soname_spec='$libname$release$shared_ext$major'
18225 shlibpath_var=LIBRARY_PATH
18226 shlibpath_overrides_runpath=no
18227 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
18228 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
18229 hardcode_into_libs=no
18230 ;;
18231
18232 hpux9* | hpux10* | hpux11*)
18233 # Give a soname corresponding to the major version so that dld.sl refuses to
18234 # link against other versions.
18235 version_type=sunos
18236 need_lib_prefix=no
18237 need_version=no
18238 case $host_cpu in
18239 ia64*)
18240 shrext_cmds='.so'
18241 hardcode_into_libs=yes
18242 dynamic_linker="$host_os dld.so"
18243 shlibpath_var=LD_LIBRARY_PATH
18244 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18245 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18246 soname_spec='$libname$release$shared_ext$major'
18247 if test 32 = "$HPUX_IA64_MODE"; then
18248 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18249 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
18250 else
18251 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18252 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
18253 fi
18254 ;;
18255 hppa*64*)
18256 shrext_cmds='.sl'
18257 hardcode_into_libs=yes
18258 dynamic_linker="$host_os dld.sl"
18259 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18260 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18261 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18262 soname_spec='$libname$release$shared_ext$major'
18263 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18264 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18265 ;;
18266 *)
18267 shrext_cmds='.sl'
18268 dynamic_linker="$host_os dld.sl"
18269 shlibpath_var=SHLIB_PATH
18270 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18271 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18272 soname_spec='$libname$release$shared_ext$major'
18273 ;;
18274 esac
18275 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18276 postinstall_cmds='chmod 555 $lib'
18277 # or fails outright, so override atomically:
18278 install_override_mode=555
18279 ;;
18280
18281 interix[3-9]*)
18282 version_type=linux # correct to gnu/linux during the next big refactor
18283 need_lib_prefix=no
18284 need_version=no
18285 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18286 soname_spec='$libname$release$shared_ext$major'
18287 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18288 shlibpath_var=LD_LIBRARY_PATH
18289 shlibpath_overrides_runpath=no
18290 hardcode_into_libs=yes
18291 ;;
18292
18293 irix5* | irix6* | nonstopux*)
18294 case $host_os in
18295 nonstopux*) version_type=nonstopux ;;
18296 *)
18297 if test yes = "$lt_cv_prog_gnu_ld"; then
18298 version_type=linux # correct to gnu/linux during the next big refactor
18299 else
18300 version_type=irix
18301 fi ;;
18302 esac
18303 need_lib_prefix=no
18304 need_version=no
18305 soname_spec='$libname$release$shared_ext$major'
18306 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
18307 case $host_os in
18308 irix5* | nonstopux*)
18309 libsuff= shlibsuff=
18310 ;;
18311 *)
18312 case $LD in # libtool.m4 will add one of these switches to LD
18313 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18314 libsuff= shlibsuff= libmagic=32-bit;;
18315 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18316 libsuff=32 shlibsuff=N32 libmagic=N32;;
18317 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18318 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18319 *) libsuff= shlibsuff= libmagic=never-match;;
18320 esac
18321 ;;
18322 esac
18323 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18324 shlibpath_overrides_runpath=no
18325 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
18326 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
18327 hardcode_into_libs=yes
18328 ;;
18329
18330 # No shared lib support for Linux oldld, aout, or coff.
18331 linux*oldld* | linux*aout* | linux*coff*)
18332 dynamic_linker=no
18333 ;;
18334
18335 linux*android*)
18336 version_type=none # Android doesn't support versioned libraries.
18337 need_lib_prefix=no
18338 need_version=no
18339 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
18340 soname_spec='$libname$release$shared_ext'
18341 finish_cmds=
18342 shlibpath_var=LD_LIBRARY_PATH
18343 shlibpath_overrides_runpath=yes
18344
18345 # This implies no fast_install, which is unacceptable.
18346 # Some rework will be needed to allow for fast_install
18347 # before this can be enabled.
18348 hardcode_into_libs=yes
18349
18350 dynamic_linker='Android linker'
18351 # -rpath works at least for libraries that are not overridden by
18352 # libraries installed in system locations.
18353 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
18354 ;;
18355
18356 # This must be glibc/ELF.
18357 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18358 version_type=linux # correct to gnu/linux during the next big refactor
18359 need_lib_prefix=no
18360 need_version=no
18361 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18362 soname_spec='$libname$release$shared_ext$major'
18363 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18364 shlibpath_var=LD_LIBRARY_PATH
18365 shlibpath_overrides_runpath=no
18366
18367 # Some binutils ld are patched to set DT_RUNPATH
18368 if test ${lt_cv_shlibpath_overrides_runpath+y}
18369 then :
18370 printf %s "(cached) " >&6
18371 else case e in #(
18372 e) lt_cv_shlibpath_overrides_runpath=no
18373 save_LDFLAGS=$LDFLAGS
18374 save_libdir=$libdir
18375 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
18376 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
18377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18379
18380 int
18381 main (void)
18382 {
18383
18384 ;
18385 return 0;
18386 }
18387 _ACEOF
18388 if ac_fn_c_try_link "$LINENO"
18389 then :
18390 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
18391 then :
18392 lt_cv_shlibpath_overrides_runpath=yes
18393 fi
18394 fi
18395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18396 conftest$ac_exeext conftest.$ac_ext
18397 LDFLAGS=$save_LDFLAGS
18398 libdir=$save_libdir
18399 ;;
18400 esac
18401 fi
18402
18403 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
18404
18405 # This implies no fast_install, which is unacceptable.
18406 # Some rework will be needed to allow for fast_install
18407 # before this can be enabled.
18408 hardcode_into_libs=yes
18409
18410 # Ideally, we could use ldconfig to report *all* directories which are
18411 # searched for libraries, however this is still not possible. Aside from not
18412 # being certain /sbin/ldconfig is available, command
18413 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
18414 # even though it is searched at run-time. Try to do the best guess by
18415 # appending ld.so.conf contents (and includes) to the search path.
18416 if test -f /etc/ld.so.conf; then
18417 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' ' '`
18418 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18419 fi
18420
18421 # We used to test for /lib/ld.so.1 and disable shared libraries on
18422 # powerpc, because MkLinux only supported shared libraries with the
18423 # GNU dynamic linker. Since this was broken with cross compilers,
18424 # most powerpc-linux boxes support dynamic linking these days and
18425 # people can always --disable-shared, the test was removed, and we
18426 # assume the GNU/Linux dynamic linker is in use.
18427 dynamic_linker='GNU/Linux ld.so'
18428 ;;
18429
18430 netbsdelf*-gnu)
18431 version_type=linux
18432 need_lib_prefix=no
18433 need_version=no
18434 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18435 soname_spec='$libname$release$shared_ext$major'
18436 shlibpath_var=LD_LIBRARY_PATH
18437 shlibpath_overrides_runpath=no
18438 hardcode_into_libs=yes
18439 dynamic_linker='NetBSD ld.elf_so'
18440 ;;
18441
18442 netbsdelf*-gnu)
18443 version_type=linux
18444 need_lib_prefix=no
18445 need_version=no
18446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18447 soname_spec='${libname}${release}${shared_ext}$major'
18448 shlibpath_var=LD_LIBRARY_PATH
18449 shlibpath_overrides_runpath=no
18450 hardcode_into_libs=yes
18451 dynamic_linker='NetBSD ld.elf_so'
18452 ;;
18453
18454 netbsd*)
18455 version_type=sunos
18456 need_lib_prefix=no
18457 need_version=no
18458 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18459 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18460 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18461 dynamic_linker='NetBSD (a.out) ld.so'
18462 else
18463 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18464 soname_spec='$libname$release$shared_ext$major'
18465 dynamic_linker='NetBSD ld.elf_so'
18466 fi
18467 shlibpath_var=LD_LIBRARY_PATH
18468 shlibpath_overrides_runpath=yes
18469 hardcode_into_libs=yes
18470 ;;
18471
18472 *-mlibc)
18473 version_type=linux # correct to gnu/linux during the next big refactor
18474 need_lib_prefix=no
18475 need_version=no
18476 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18477 soname_spec='$libname$release$shared_ext$major'
18478 dynamic_linker='mlibc ld.so'
18479 shlibpath_var=LD_LIBRARY_PATH
18480 shlibpath_overrides_runpath=no
18481 hardcode_into_libs=yes
18482 ;;
18483
18484 newsos6)
18485 version_type=linux # correct to gnu/linux during the next big refactor
18486 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18487 shlibpath_var=LD_LIBRARY_PATH
18488 shlibpath_overrides_runpath=yes
18489 ;;
18490
18491 *nto* | *qnx*)
18492 version_type=qnx
18493 need_lib_prefix=no
18494 need_version=no
18495 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18496 soname_spec='$libname$release$shared_ext$major'
18497 shlibpath_var=LD_LIBRARY_PATH
18498 shlibpath_overrides_runpath=no
18499 hardcode_into_libs=yes
18500 dynamic_linker='ldqnx.so'
18501 ;;
18502
18503 openbsd*)
18504 version_type=sunos
18505 sys_lib_dlsearch_path_spec=/usr/lib
18506 need_lib_prefix=no
18507 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18508 need_version=no
18509 else
18510 need_version=yes
18511 fi
18512 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18513 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18514 shlibpath_var=LD_LIBRARY_PATH
18515 shlibpath_overrides_runpath=yes
18516 ;;
18517
18518 os2*)
18519 libname_spec='$name'
18520 version_type=windows
18521 shrext_cmds=.dll
18522 need_version=no
18523 need_lib_prefix=no
18524 # OS/2 can only load a DLL with a base name of 8 characters or less.
18525 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
18526 v=$($ECHO $release$versuffix | tr -d .-);
18527 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18528 $ECHO $n$v`$shared_ext'
18529 library_names_spec='${libname}_dll.$libext'
18530 dynamic_linker='OS/2 ld.exe'
18531 shlibpath_var=BEGINLIBPATH
18532 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18533 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18534 postinstall_cmds='base_file=`basename \$file`~
18535 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18536 dldir=$destdir/`dirname \$dlpath`~
18537 test -d \$dldir || mkdir -p \$dldir~
18538 $install_prog $dir/$dlname \$dldir/$dlname~
18539 chmod a+x \$dldir/$dlname~
18540 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18541 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18542 fi'
18543 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18544 dlpath=$dir/\$dldll~
18545 $RM \$dlpath'
18546 ;;
18547
18548 osf3* | osf4* | osf5*)
18549 version_type=osf
18550 need_lib_prefix=no
18551 need_version=no
18552 soname_spec='$libname$release$shared_ext$major'
18553 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18554 shlibpath_var=LD_LIBRARY_PATH
18555 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18556 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18557 ;;
18558
18559 rdos*)
18560 dynamic_linker=no
18561 ;;
18562
18563 serenity*)
18564 version_type=linux # correct to gnu/linux during the next big refactor
18565 need_lib_prefix=no
18566 need_version=no
18567 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18568 soname_spec='$libname$release$shared_ext$major'
18569 shlibpath_var=LD_LIBRARY_PATH
18570 shlibpath_overrides_runpath=no
18571 dynamic_linker='SerenityOS LibELF'
18572 ;;
18573
18574 solaris*)
18575 version_type=linux # correct to gnu/linux during the next big refactor
18576 need_lib_prefix=no
18577 need_version=no
18578 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18579 soname_spec='$libname$release$shared_ext$major'
18580 shlibpath_var=LD_LIBRARY_PATH
18581 shlibpath_overrides_runpath=yes
18582 hardcode_into_libs=yes
18583 # ldd complains unless libraries are executable
18584 postinstall_cmds='chmod +x $lib'
18585 ;;
18586
18587 sunos4*)
18588 version_type=sunos
18589 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18590 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18591 shlibpath_var=LD_LIBRARY_PATH
18592 shlibpath_overrides_runpath=yes
18593 if test yes = "$with_gnu_ld"; then
18594 need_lib_prefix=no
18595 fi
18596 need_version=yes
18597 ;;
18598
18599 sysv4 | sysv4.3*)
18600 version_type=linux # correct to gnu/linux during the next big refactor
18601 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18602 soname_spec='$libname$release$shared_ext$major'
18603 shlibpath_var=LD_LIBRARY_PATH
18604 case $host_vendor in
18605 sni)
18606 shlibpath_overrides_runpath=no
18607 need_lib_prefix=no
18608 runpath_var=LD_RUN_PATH
18609 ;;
18610 siemens)
18611 need_lib_prefix=no
18612 ;;
18613 motorola)
18614 need_lib_prefix=no
18615 need_version=no
18616 shlibpath_overrides_runpath=no
18617 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18618 ;;
18619 esac
18620 ;;
18621
18622 sysv4*MP*)
18623 if test -d /usr/nec; then
18624 version_type=linux # correct to gnu/linux during the next big refactor
18625 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
18626 soname_spec='$libname$shared_ext.$major'
18627 shlibpath_var=LD_LIBRARY_PATH
18628 fi
18629 ;;
18630
18631 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18632 version_type=sco
18633 need_lib_prefix=no
18634 need_version=no
18635 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
18636 soname_spec='$libname$release$shared_ext$major'
18637 shlibpath_var=LD_LIBRARY_PATH
18638 shlibpath_overrides_runpath=yes
18639 hardcode_into_libs=yes
18640 if test yes = "$with_gnu_ld"; then
18641 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18642 else
18643 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18644 case $host_os in
18645 sco3.2v5*)
18646 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18647 ;;
18648 esac
18649 fi
18650 sys_lib_dlsearch_path_spec='/usr/lib'
18651 ;;
18652
18653 tpf*)
18654 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18655 version_type=linux # correct to gnu/linux during the next big refactor
18656 need_lib_prefix=no
18657 need_version=no
18658 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18659 shlibpath_var=LD_LIBRARY_PATH
18660 shlibpath_overrides_runpath=no
18661 hardcode_into_libs=yes
18662 ;;
18663
18664 uts4*)
18665 version_type=linux # correct to gnu/linux during the next big refactor
18666 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18667 soname_spec='$libname$release$shared_ext$major'
18668 shlibpath_var=LD_LIBRARY_PATH
18669 ;;
18670
18671 emscripten*)
18672 version_type=none
18673 need_lib_prefix=no
18674 need_version=no
18675 library_names_spec='$libname$release$shared_ext'
18676 soname_spec='$libname$release$shared_ext'
18677 finish_cmds=
18678 dynamic_linker="Emscripten linker"
18679 lt_prog_compiler_wl=
18680 lt_prog_compiler_pic=
18681 lt_prog_compiler_static=
18682
18683
18684 if test yes = "$GCC"; then
18685 lt_prog_compiler_wl='-Wl,'
18686 lt_prog_compiler_static='-static'
18687
18688 case $host_os in
18689 aix*)
18690 # All AIX code is PIC.
18691 if test ia64 = "$host_cpu"; then
18692 # AIX 5 now supports IA64 processor
18693 lt_prog_compiler_static='-Bstatic'
18694 fi
18695 lt_prog_compiler_pic='-fPIC'
18696 ;;
18697
18698 amigaos*)
18699 case $host_cpu in
18700 powerpc)
18701 # see comment about AmigaOS4 .so support
18702 lt_prog_compiler_pic='-fPIC'
18703 ;;
18704 m68k)
18705 # FIXME: we need at least 68020 code to build shared libraries, but
18706 # adding the '-m68020' flag to GCC prevents building anything better,
18707 # like '-m68040'.
18708 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
18709 ;;
18710 esac
18711 ;;
18712
18713 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18714 # PIC is the default for these OSes.
18715 ;;
18716
18717 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
18718 # This hack is so that the source file can tell whether it is being
18719 # built for inclusion in a dll (and should export symbols for example).
18720 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18721 # (--disable-auto-import) libraries
18722 lt_prog_compiler_pic='-DDLL_EXPORT'
18723 case $host_os in
18724 os2*)
18725 lt_prog_compiler_static='$wl-static'
18726 ;;
18727 esac
18728 ;;
18729
18730 darwin* | rhapsody*)
18731 # PIC is the default on this platform
18732 # Common symbols not allowed in MH_DYLIB files
18733 lt_prog_compiler_pic='-fno-common'
18734 ;;
18735
18736 haiku*)
18737 # PIC is the default for Haiku.
18738 # The "-static" flag exists, but is broken.
18739 lt_prog_compiler_static=
18740 ;;
18741
18742 hpux*)
18743 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18744 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18745 # sets the default TLS model and affects inlining.
18746 case $host_cpu in
18747 hppa*64*)
18748 # +Z the default
18749 ;;
18750 *)
18751 lt_prog_compiler_pic='-fPIC'
18752 ;;
18753 esac
18754 ;;
18755
18756 interix[3-9]*)
18757 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18758 # Instead, we relocate shared libraries at runtime.
18759 ;;
18760
18761 msdosdjgpp*)
18762 # Just because we use GCC doesn't mean we suddenly get shared libraries
18763 # on systems that don't support them.
18764 lt_prog_compiler_can_build_shared=no
18765 enable_shared=no
18766 ;;
18767
18768 *nto* | *qnx*)
18769 # QNX uses GNU C++, but need to define -shared option too, otherwise
18770 # it will coredump.
18771 lt_prog_compiler_pic='-fPIC -shared'
18772 ;;
18773
18774 sysv4*MP*)
18775 if test -d /usr/nec; then
18776 lt_prog_compiler_pic=-Kconform_pic
18777 fi
18778 ;;
18779
18780 *)
18781 lt_prog_compiler_pic='-fPIC'
18782 ;;
18783 esac
18784
18785 case $cc_basename in
18786 nvcc*) # Cuda Compiler Driver 2.2
18787 lt_prog_compiler_wl='-Xlinker '
18788 if test -n "$lt_prog_compiler_pic"; then
18789 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
18790 fi
18791 ;;
18792 esac
18793 else
18794 # PORTME Check for flag to pass linker flags through the system compiler.
18795 case $host_os in
18796 aix*)
18797 lt_prog_compiler_wl='-Wl,'
18798 if test ia64 = "$host_cpu"; then
18799 # AIX 5 now supports IA64 processor
18800 lt_prog_compiler_static='-Bstatic'
18801 else
18802 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
18803 fi
18804 ;;
18805
18806 darwin* | rhapsody*)
18807 # PIC is the default on this platform
18808 # Common symbols not allowed in MH_DYLIB files
18809 lt_prog_compiler_pic='-fno-common'
18810 case $cc_basename in
18811 nagfor*)
18812 # NAG Fortran compiler
18813 lt_prog_compiler_wl='-Wl,-Wl,,'
18814 lt_prog_compiler_pic='-PIC'
18815 lt_prog_compiler_static='-Bstatic'
18816 ;;
18817 esac
18818 ;;
18819
18820 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
18821 # This hack is so that the source file can tell whether it is being
18822 # built for inclusion in a dll (and should export symbols for example).
18823 lt_prog_compiler_pic='-DDLL_EXPORT'
18824 case $host_os in
18825 os2*)
18826 lt_prog_compiler_static='$wl-static'
18827 ;;
18828 esac
18829 ;;
18830
18831 hpux9* | hpux10* | hpux11*)
18832 lt_prog_compiler_wl='-Wl,'
18833 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18834 # not for PA HP-UX.
18835 case $host_cpu in
18836 hppa*64*|ia64*)
18837 # +Z the default
18838 ;;
18839 *)
18840 lt_prog_compiler_pic='+Z'
18841 ;;
18842 esac
18843 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18844 lt_prog_compiler_static='$wl-a ${wl}archive'
18845 ;;
18846
18847 irix5* | irix6* | nonstopux*)
18848 lt_prog_compiler_wl='-Wl,'
18849 # PIC (with -KPIC) is the default.
18850 lt_prog_compiler_static='-non_shared'
18851 ;;
18852
18853 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18854 case $cc_basename in
18855 # old Intel for x86_64, which still supported -KPIC.
18856 ecc*)
18857 lt_prog_compiler_wl='-Wl,'
18858 lt_prog_compiler_pic='-KPIC'
18859 lt_prog_compiler_static='-static'
18860 ;;
18861 *flang* | ftn | f18* | f95*)
18862 # Flang compiler.
18863 lt_prog_compiler_wl='-Wl,'
18864 lt_prog_compiler_pic='-fPIC'
18865 lt_prog_compiler_static='-static'
18866 ;;
18867 # flang / f18. f95 an alias for gfortran or flang on Debian
18868 flang* | f18* | f95*)
18869 lt_prog_compiler_wl='-Wl,'
18870 lt_prog_compiler_pic='-fPIC'
18871 lt_prog_compiler_static='-static'
18872 ;;
18873 # icc used to be incompatible with GCC.
18874 # ICC 10 doesn't accept -KPIC any more.
18875 icc* | ifort*)
18876 lt_prog_compiler_wl='-Wl,'
18877 lt_prog_compiler_pic='-fPIC'
18878 lt_prog_compiler_static='-static'
18879 ;;
18880 # Lahey Fortran 8.1.
18881 lf95*)
18882 lt_prog_compiler_wl='-Wl,'
18883 lt_prog_compiler_pic='--shared'
18884 lt_prog_compiler_static='--static'
18885 ;;
18886 nagfor*)
18887 # NAG Fortran compiler
18888 lt_prog_compiler_wl='-Wl,-Wl,,'
18889 lt_prog_compiler_pic='-PIC'
18890 lt_prog_compiler_static='-Bstatic'
18891 ;;
18892 tcc*)
18893 # Fabrice Bellard et al's Tiny C Compiler
18894 lt_prog_compiler_wl='-Wl,'
18895 lt_prog_compiler_pic='-fPIC'
18896 lt_prog_compiler_static='-static'
18897 ;;
18898 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
18899 # Portland Group compilers (*not* the Pentium gcc compiler,
18900 # which looks to be a dead project)
18901 lt_prog_compiler_wl='-Wl,'
18902 lt_prog_compiler_pic='-fpic'
18903 lt_prog_compiler_static='-Bstatic'
18904 ;;
18905 ccc*)
18906 lt_prog_compiler_wl='-Wl,'
18907 # All Alpha code is PIC.
18908 lt_prog_compiler_static='-non_shared'
18909 ;;
18910 xl* | bgxl* | bgf* | mpixl*)
18911 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
18912 lt_prog_compiler_wl='-Wl,'
18913 lt_prog_compiler_pic='-qpic'
18914 lt_prog_compiler_static='-qstaticlink'
18915 ;;
18916 *)
18917 case `$CC -V 2>&1 | $SED 5q` in
18918 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
18919 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18920 lt_prog_compiler_pic='-KPIC'
18921 lt_prog_compiler_static='-Bstatic'
18922 lt_prog_compiler_wl=''
18923 ;;
18924 *Sun\ F* | *Sun*Fortran*)
18925 lt_prog_compiler_pic='-KPIC'
18926 lt_prog_compiler_static='-Bstatic'
18927 lt_prog_compiler_wl='-Qoption ld '
18928 ;;
18929 *Sun\ C*)
18930 # Sun C 5.9
18931 lt_prog_compiler_pic='-KPIC'
18932 lt_prog_compiler_static='-Bstatic'
18933 lt_prog_compiler_wl='-Wl,'
18934 ;;
18935 *Intel*\ [CF]*Compiler*)
18936 lt_prog_compiler_wl='-Wl,'
18937 lt_prog_compiler_pic='-fPIC'
18938 lt_prog_compiler_static='-static'
18939 ;;
18940 *Portland\ Group*)
18941 lt_prog_compiler_wl='-Wl,'
18942 lt_prog_compiler_pic='-fpic'
18943 lt_prog_compiler_static='-Bstatic'
18944 ;;
18945 esac
18946 ;;
18947 esac
18948 ;;
18949
18950 newsos6)
18951 lt_prog_compiler_pic='-KPIC'
18952 lt_prog_compiler_static='-Bstatic'
18953 ;;
18954
18955 *-mlibc)
18956 lt_prog_compiler_wl='-Wl,'
18957 lt_prog_compiler_pic='-fPIC'
18958 lt_prog_compiler_static='-static'
18959 ;;
18960
18961 *nto* | *qnx*)
18962 # QNX uses GNU C++, but need to define -shared option too, otherwise
18963 # it will coredump.
18964 lt_prog_compiler_pic='-fPIC -shared'
18965 ;;
18966
18967 osf3* | osf4* | osf5*)
18968 lt_prog_compiler_wl='-Wl,'
18969 # All OSF/1 code is PIC.
18970 lt_prog_compiler_static='-non_shared'
18971 ;;
18972
18973 rdos*)
18974 lt_prog_compiler_static='-non_shared'
18975 ;;
18976
18977 serenity*)
18978 ;;
18979
18980 solaris*)
18981 lt_prog_compiler_pic='-KPIC'
18982 lt_prog_compiler_static='-Bstatic'
18983 case $cc_basename in
18984 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
18985 lt_prog_compiler_wl='-Qoption ld ';;
18986 *)
18987 lt_prog_compiler_wl='-Wl,';;
18988 esac
18989 ;;
18990
18991 sunos4*)
18992 lt_prog_compiler_wl='-Qoption ld '
18993 lt_prog_compiler_pic='-PIC'
18994 lt_prog_compiler_static='-Bstatic'
18995 ;;
18996
18997 sysv4 | sysv4.2uw2* | sysv4.3*)
18998 lt_prog_compiler_wl='-Wl,'
18999 lt_prog_compiler_pic='-KPIC'
19000 lt_prog_compiler_static='-Bstatic'
19001 ;;
19002
19003 sysv4*MP*)
19004 if test -d /usr/nec; then
19005 lt_prog_compiler_pic='-Kconform_pic'
19006 lt_prog_compiler_static='-Bstatic'
19007 fi
19008 ;;
19009
19010 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19011 lt_prog_compiler_wl='-Wl,'
19012 lt_prog_compiler_pic='-KPIC'
19013 lt_prog_compiler_static='-Bstatic'
19014 ;;
19015
19016 unicos*)
19017 lt_prog_compiler_wl='-Wl,'
19018 lt_prog_compiler_can_build_shared=no
19019 ;;
19020
19021 uts4*)
19022 lt_prog_compiler_pic='-pic'
19023 lt_prog_compiler_static='-Bstatic'
19024 ;;
19025
19026 *)
19027 lt_prog_compiler_can_build_shared=no
19028 ;;
19029 esac
19030 fi
19031
19032 case $host_os in
19033 # For platforms that do not support PIC, -DPIC is meaningless:
19034 *djgpp*)
19035 lt_prog_compiler_pic=
19036 ;;
19037 *)
19038 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
19039 ;;
19040 esac
19041
19042 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19043 printf %s "checking for $compiler option to produce PIC... " >&6; }
19044 if test ${lt_cv_prog_compiler_pic+y}
19045 then :
19046 printf %s "(cached) " >&6
19047 else case e in #(
19048 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
19049 esac
19050 fi
19051 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
19052 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
19053 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
19054
19055 #
19056 # Check to make sure the PIC flag actually works.
19057 #
19058 if test -n "$lt_prog_compiler_pic"; then
19059 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
19060 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
19061 if test ${lt_cv_prog_compiler_pic_works+y}
19062 then :
19063 printf %s "(cached) " >&6
19064 else case e in #(
19065 e) lt_cv_prog_compiler_pic_works=no
19066 ac_outfile=conftest.$ac_objext
19067 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19068 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
19069 # Insert the option either (1) after the last *FLAGS variable, or
19070 # (2) before a word containing "conftest.", or (3) at the end.
19071 # Note that $ac_compile itself does not contain backslashes and begins
19072 # with a dollar sign (not a hyphen), so the echo should work correctly.
19073 # The option is referenced via a variable to avoid confusing sed.
19074 lt_compile=`echo "$ac_compile" | $SED \
19075 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19076 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19077 -e 's:$: $lt_compiler_flag:'`
19078 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19079 (eval "$lt_compile" 2>conftest.err)
19080 ac_status=$?
19081 cat conftest.err >&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 if (exit $ac_status) && test -s "$ac_outfile"; then
19084 # The compiler can only warn and ignore the option if not recognized
19085 # So say no if there are warnings other than the usual output.
19086 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
19087 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19088 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19089 lt_cv_prog_compiler_pic_works=yes
19090 fi
19091 fi
19092 $RM conftest*
19093 ;;
19094 esac
19095 fi
19096 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
19097 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
19098
19099 if test yes = "$lt_cv_prog_compiler_pic_works"; then
19100 case $lt_prog_compiler_pic in
19101 "" | " "*) ;;
19102 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
19103 esac
19104 else
19105 lt_prog_compiler_pic=
19106 lt_prog_compiler_can_build_shared=no
19107 fi
19108
19109 fi
19110
19111
19112
19113
19114
19115 #
19116 # Check to make sure the static flag actually works.
19117 #
19118 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
19119 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19120 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19121 if test ${lt_cv_prog_compiler_static_works+y}
19122 then :
19123 printf %s "(cached) " >&6
19124 else case e in #(
19125 e) lt_cv_prog_compiler_static_works=no
19126 save_LDFLAGS=$LDFLAGS
19127 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19128 echo "$lt_simple_link_test_code" > conftest.$ac_ext
19129 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19130 # The linker can only warn and ignore the option if not recognized
19131 # So say no if there are warnings
19132 if test -s conftest.err; then
19133 # Append any errors to the config.log.
19134 cat conftest.err 1>&5
19135 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
19136 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19137 if diff conftest.exp conftest.er2 >/dev/null; then
19138 lt_cv_prog_compiler_static_works=yes
19139 fi
19140 else
19141 lt_cv_prog_compiler_static_works=yes
19142 fi
19143 fi
19144 $RM -r conftest*
19145 LDFLAGS=$save_LDFLAGS
19146 ;;
19147 esac
19148 fi
19149 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
19150 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
19151
19152 if test yes = "$lt_cv_prog_compiler_static_works"; then
19153 :
19154 else
19155 lt_prog_compiler_static=
19156 fi
19157
19158
19159
19160 ='-fPIC'
19161 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
19162 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'
19163 archive_cmds_need_lc=no
19164 no_undefined_flag=
19165 ;;
19166
19167 *)
19168 dynamic_linker=no
19169 ;;
19170 esac
19171 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19172 printf '%s\n' "$dynamic_linker" >&6; }
19173 test no = "$dynamic_linker" && can_build_shared=no
19174
19175 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19176 if test yes = "$GCC"; then
19177 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19178 fi
19179
19180 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
19181 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
19182 fi
19183
19184 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
19185 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
19186 fi
19187
19188 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
19189 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
19190
19191 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
19192 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
19193
19194 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
19195 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19294 printf %s "checking how to hardcode library paths into programs... " >&6; }
19295 hardcode_action=
19296 if test -n "$hardcode_libdir_flag_spec" ||
19297 test -n "$runpath_var" ||
19298 test yes = "$hardcode_automatic"; then
19299
19300 # We can hardcode non-existent directories.
19301 if test no != "$hardcode_direct" &&
19302 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19303 # have to relink, otherwise we might link with an installed library
19304 # when we should be linking with a yet-to-be-installed one
19305 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
19306 test no != "$hardcode_minus_L"; then
19307 # Linking always hardcodes the temporary library directory.
19308 hardcode_action=relink
19309 else
19310 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19311 hardcode_action=immediate
19312 fi
19313 else
19314 # We cannot hardcode anything, or else we can only hardcode existing
19315 # directories.
19316 hardcode_action=unsupported
19317 fi
19318 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
19319 printf '%s\n' "$hardcode_action" >&6; }
19320
19321 if test relink = "$hardcode_action" ||
19322 test yes = "$inherit_rpath"; then
19323 # Fast installation is not supported
19324 enable_fast_install=no
19325 elif test yes = "$shlibpath_overrides_runpath" ||
19326 test no = "$enable_shared"; then
19327 # Fast installation is not necessary
19328 enable_fast_install=needless
19329 fi
19330
19331
19332
19333
19334
19335
19336 if test yes != "$enable_dlopen"; then
19337 enable_dlopen=unknown
19338 enable_dlopen_self=unknown
19339 enable_dlopen_self_static=unknown
19340 else
19341 lt_cv_dlopen=no
19342 lt_cv_dlopen_libs=
19343
19344 case $host_os in
19345 beos*)
19346 lt_cv_dlopen=load_add_on
19347 lt_cv_dlopen_libs=
19348 lt_cv_dlopen_self=yes
19349 ;;
19350
19351 mingw* | windows* | pw32* | cegcc*)
19352 lt_cv_dlopen=LoadLibrary
19353 lt_cv_dlopen_libs=
19354 ;;
19355
19356 cygwin*)
19357 lt_cv_dlopen=dlopen
19358 lt_cv_dlopen_libs=
19359 ;;
19360
19361 darwin*)
19362 # if libdl is installed we need to link against it
19363 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
19364 printf %s "checking for dlopen in -ldl... " >&6; }
19365 if test ${ac_cv_lib_dl_dlopen+y}
19366 then :
19367 printf %s "(cached) " >&6
19368 else case e in #(
19369 e) ac_check_lib_save_LIBS=$LIBS
19370 LIBS="-ldl $LIBS"
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373
19374 /* Override any GCC internal prototype to avoid an error.
19375 Use char because int might match the return type of a GCC
19376 builtin and then its argument prototype would still apply.
19377 The 'extern "C"' is for builds by C++ compilers;
19378 although this is not generally supported in C code supporting it here
19379 has little cost and some practical benefit (sr 110532). */
19380 #ifdef __cplusplus
19381 extern "C"
19382 #endif
19383 char dlopen (void);
19384 int
19385 main (void)
19386 {
19387 return dlopen ();
19388 ;
19389 return 0;
19390 }
19391 _ACEOF
19392 if ac_fn_c_try_link "$LINENO"
19393 then :
19394 ac_cv_lib_dl_dlopen=yes
19395 else case e in #(
19396 e) ac_cv_lib_dl_dlopen=no ;;
19397 esac
19398 fi
19399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19400 conftest$ac_exeext conftest.$ac_ext
19401 LIBS=$ac_check_lib_save_LIBS ;;
19402 esac
19403 fi
19404 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
19405 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
19406 if test "x$ac_cv_lib_dl_dlopen" = xyes
19407 then :
19408 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
19409 else case e in #(
19410 e)
19411 lt_cv_dlopen=dyld
19412 lt_cv_dlopen_libs=
19413 lt_cv_dlopen_self=yes
19414 ;;
19415 esac
19416 fi
19417
19418 ;;
19419
19420 tpf*)
19421 # Don't try to run any link tests for TPF. We know it's impossible
19422 # because TPF is a cross-compiler, and we know how we open DSOs.
19423 lt_cv_dlopen=dlopen
19424 lt_cv_dlopen_libs=
19425 lt_cv_dlopen_self=no
19426 ;;
19427
19428 *)
19429 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
19430 if test "x$ac_cv_func_shl_load" = xyes
19431 then :
19432 lt_cv_dlopen=shl_load
19433 else case e in #(
19434 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
19435 printf %s "checking for shl_load in -ldld... " >&6; }
19436 if test ${ac_cv_lib_dld_shl_load+y}
19437 then :
19438 printf %s "(cached) " >&6
19439 else case e in #(
19440 e) ac_check_lib_save_LIBS=$LIBS
19441 LIBS="-ldld $LIBS"
19442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h. */
19444
19445 /* Override any GCC internal prototype to avoid an error.
19446 Use char because int might match the return type of a GCC
19447 builtin and then its argument prototype would still apply.
19448 The 'extern "C"' is for builds by C++ compilers;
19449 although this is not generally supported in C code supporting it here
19450 has little cost and some practical benefit (sr 110532). */
19451 #ifdef __cplusplus
19452 extern "C"
19453 #endif
19454 char shl_load (void);
19455 int
19456 main (void)
19457 {
19458 return shl_load ();
19459 ;
19460 return 0;
19461 }
19462 _ACEOF
19463 if ac_fn_c_try_link "$LINENO"
19464 then :
19465 ac_cv_lib_dld_shl_load=yes
19466 else case e in #(
19467 e) ac_cv_lib_dld_shl_load=no ;;
19468 esac
19469 fi
19470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19471 conftest$ac_exeext conftest.$ac_ext
19472 LIBS=$ac_check_lib_save_LIBS ;;
19473 esac
19474 fi
19475 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
19476 printf '%s\n' "$ac_cv_lib_dld_shl_load" >&6; }
19477 if test "x$ac_cv_lib_dld_shl_load" = xyes
19478 then :
19479 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
19480 else case e in #(
19481 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
19482 if test "x$ac_cv_func_dlopen" = xyes
19483 then :
19484 lt_cv_dlopen=dlopen
19485 else case e in #(
19486 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
19487 printf %s "checking for dlopen in -ldl... " >&6; }
19488 if test ${ac_cv_lib_dl_dlopen+y}
19489 then :
19490 printf %s "(cached) " >&6
19491 else case e in #(
19492 e) ac_check_lib_save_LIBS=$LIBS
19493 LIBS="-ldl $LIBS"
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496
19497 /* Override any GCC internal prototype to avoid an error.
19498 Use char because int might match the return type of a GCC
19499 builtin and then its argument prototype would still apply.
19500 The 'extern "C"' is for builds by C++ compilers;
19501 although this is not generally supported in C code supporting it here
19502 has little cost and some practical benefit (sr 110532). */
19503 #ifdef __cplusplus
19504 extern "C"
19505 #endif
19506 char dlopen (void);
19507 int
19508 main (void)
19509 {
19510 return dlopen ();
19511 ;
19512 return 0;
19513 }
19514 _ACEOF
19515 if ac_fn_c_try_link "$LINENO"
19516 then :
19517 ac_cv_lib_dl_dlopen=yes
19518 else case e in #(
19519 e) ac_cv_lib_dl_dlopen=no ;;
19520 esac
19521 fi
19522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19523 conftest$ac_exeext conftest.$ac_ext
19524 LIBS=$ac_check_lib_save_LIBS ;;
19525 esac
19526 fi
19527 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
19528 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
19529 if test "x$ac_cv_lib_dl_dlopen" = xyes
19530 then :
19531 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
19532 else case e in #(
19533 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
19534 printf %s "checking for dlopen in -lsvld... " >&6; }
19535 if test ${ac_cv_lib_svld_dlopen+y}
19536 then :
19537 printf %s "(cached) " >&6
19538 else case e in #(
19539 e) ac_check_lib_save_LIBS=$LIBS
19540 LIBS="-lsvld $LIBS"
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19543
19544 /* Override any GCC internal prototype to avoid an error.
19545 Use char because int might match the return type of a GCC
19546 builtin and then its argument prototype would still apply.
19547 The 'extern "C"' is for builds by C++ compilers;
19548 although this is not generally supported in C code supporting it here
19549 has little cost and some practical benefit (sr 110532). */
19550 #ifdef __cplusplus
19551 extern "C"
19552 #endif
19553 char dlopen (void);
19554 int
19555 main (void)
19556 {
19557 return dlopen ();
19558 ;
19559 return 0;
19560 }
19561 _ACEOF
19562 if ac_fn_c_try_link "$LINENO"
19563 then :
19564 ac_cv_lib_svld_dlopen=yes
19565 else case e in #(
19566 e) ac_cv_lib_svld_dlopen=no ;;
19567 esac
19568 fi
19569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19570 conftest$ac_exeext conftest.$ac_ext
19571 LIBS=$ac_check_lib_save_LIBS ;;
19572 esac
19573 fi
19574 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
19575 printf '%s\n' "$ac_cv_lib_svld_dlopen" >&6; }
19576 if test "x$ac_cv_lib_svld_dlopen" = xyes
19577 then :
19578 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
19579 else case e in #(
19580 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
19581 printf %s "checking for dld_link in -ldld... " >&6; }
19582 if test ${ac_cv_lib_dld_dld_link+y}
19583 then :
19584 printf %s "(cached) " >&6
19585 else case e in #(
19586 e) ac_check_lib_save_LIBS=$LIBS
19587 LIBS="-ldld $LIBS"
19588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19590
19591 /* Override any GCC internal prototype to avoid an error.
19592 Use char because int might match the return type of a GCC
19593 builtin and then its argument prototype would still apply.
19594 The 'extern "C"' is for builds by C++ compilers;
19595 although this is not generally supported in C code supporting it here
19596 has little cost and some practical benefit (sr 110532). */
19597 #ifdef __cplusplus
19598 extern "C"
19599 #endif
19600 char dld_link (void);
19601 int
19602 main (void)
19603 {
19604 return dld_link ();
19605 ;
19606 return 0;
19607 }
19608 _ACEOF
19609 if ac_fn_c_try_link "$LINENO"
19610 then :
19611 ac_cv_lib_dld_dld_link=yes
19612 else case e in #(
19613 e) ac_cv_lib_dld_dld_link=no ;;
19614 esac
19615 fi
19616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19617 conftest$ac_exeext conftest.$ac_ext
19618 LIBS=$ac_check_lib_save_LIBS ;;
19619 esac
19620 fi
19621 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
19622 printf '%s\n' "$ac_cv_lib_dld_dld_link" >&6; }
19623 if test "x$ac_cv_lib_dld_dld_link" = xyes
19624 then :
19625 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
19626 fi
19627
19628 ;;
19629 esac
19630 fi
19631
19632 ;;
19633 esac
19634 fi
19635
19636 ;;
19637 esac
19638 fi
19639
19640 ;;
19641 esac
19642 fi
19643
19644 ;;
19645 esac
19646 fi
19647
19648 ;;
19649 esac
19650
19651 if test no = "$lt_cv_dlopen"; then
19652 enable_dlopen=no
19653 else
19654 enable_dlopen=yes
19655 fi
19656
19657 case $lt_cv_dlopen in
19658 dlopen)
19659 save_CPPFLAGS=$CPPFLAGS
19660 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19661
19662 save_LDFLAGS=$LDFLAGS
19663 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19664
19665 save_LIBS=$LIBS
19666 LIBS="$lt_cv_dlopen_libs $LIBS"
19667
19668 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
19669 printf %s "checking whether a program can dlopen itself... " >&6; }
19670 if test ${lt_cv_dlopen_self+y}
19671 then :
19672 printf %s "(cached) " >&6
19673 else case e in #(
19674 e) if test yes = "$cross_compiling"; then :
19675 lt_cv_dlopen_self=cross
19676 else
19677 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19678 lt_status=$lt_dlunknown
19679 cat > conftest.$ac_ext <<_LT_EOF
19680 #line $LINENO "configure"
19681 #include "confdefs.h"
19682
19683 #if HAVE_DLFCN_H
19684 #include <dlfcn.h>
19685 #endif
19686
19687 #include <stdio.h>
19688
19689 #ifdef RTLD_GLOBAL
19690 # define LT_DLGLOBAL RTLD_GLOBAL
19691 #else
19692 # ifdef DL_GLOBAL
19693 # define LT_DLGLOBAL DL_GLOBAL
19694 # else
19695 # define LT_DLGLOBAL 0
19696 # endif
19697 #endif
19698
19699 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19700 find out it does not work in some platform. */
19701 #ifndef LT_DLLAZY_OR_NOW
19702 # ifdef RTLD_LAZY
19703 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19704 # else
19705 # ifdef DL_LAZY
19706 # define LT_DLLAZY_OR_NOW DL_LAZY
19707 # else
19708 # ifdef RTLD_NOW
19709 # define LT_DLLAZY_OR_NOW RTLD_NOW
19710 # else
19711 # ifdef DL_NOW
19712 # define LT_DLLAZY_OR_NOW DL_NOW
19713 # else
19714 # define LT_DLLAZY_OR_NOW 0
19715 # endif
19716 # endif
19717 # endif
19718 # endif
19719 #endif
19720
19721 /* When -fvisibility=hidden is used, assume the code has been annotated
19722 correspondingly for the symbols needed. */
19723 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
19724 int fnord (void) __attribute__((visibility("default")));
19725 #endif
19726
19727 int fnord (void) { return 42; }
19728 int main (void)
19729 {
19730 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19731 int status = $lt_dlunknown;
19732
19733 if (self)
19734 {
19735 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19736 else
19737 {
19738 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19739 else puts (dlerror ());
19740 }
19741 /* dlclose (self); */
19742 }
19743 else
19744 puts (dlerror ());
19745
19746 return status;
19747 }
19748 _LT_EOF
19749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
19750 (eval $ac_link) 2>&5
19751 ac_status=$?
19752 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19753 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
19754 (./conftest; exit; ) >&5 2>/dev/null
19755 lt_status=$?
19756 case x$lt_status in
19757 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19758 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19759 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
19760 esac
19761 else :
19762 # compilation failed
19763 lt_cv_dlopen_self=no
19764 fi
19765 fi
19766 rm -fr conftest*
19767
19768 ;;
19769 esac
19770 fi
19771 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
19772 printf '%s\n' "$lt_cv_dlopen_self" >&6; }
19773
19774 if test yes = "$lt_cv_dlopen_self"; then
19775 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
19776 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
19777 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
19778 if test ${lt_cv_dlopen_self_static+y}
19779 then :
19780 printf %s "(cached) " >&6
19781 else case e in #(
19782 e) if test yes = "$cross_compiling"; then :
19783 lt_cv_dlopen_self_static=cross
19784 else
19785 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19786 lt_status=$lt_dlunknown
19787 cat > conftest.$ac_ext <<_LT_EOF
19788 #line $LINENO "configure"
19789 #include "confdefs.h"
19790
19791 #if HAVE_DLFCN_H
19792 #include <dlfcn.h>
19793 #endif
19794
19795 #include <stdio.h>
19796
19797 #ifdef RTLD_GLOBAL
19798 # define LT_DLGLOBAL RTLD_GLOBAL
19799 #else
19800 # ifdef DL_GLOBAL
19801 # define LT_DLGLOBAL DL_GLOBAL
19802 # else
19803 # define LT_DLGLOBAL 0
19804 # endif
19805 #endif
19806
19807 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19808 find out it does not work in some platform. */
19809 #ifndef LT_DLLAZY_OR_NOW
19810 # ifdef RTLD_LAZY
19811 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19812 # else
19813 # ifdef DL_LAZY
19814 # define LT_DLLAZY_OR_NOW DL_LAZY
19815 # else
19816 # ifdef RTLD_NOW
19817 # define LT_DLLAZY_OR_NOW RTLD_NOW
19818 # else
19819 # ifdef DL_NOW
19820 # define LT_DLLAZY_OR_NOW DL_NOW
19821 # else
19822 # define LT_DLLAZY_OR_NOW 0
19823 # endif
19824 # endif
19825 # endif
19826 # endif
19827 #endif
19828
19829 /* When -fvisibility=hidden is used, assume the code has been annotated
19830 correspondingly for the symbols needed. */
19831 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
19832 int fnord (void) __attribute__((visibility("default")));
19833 #endif
19834
19835 int fnord (void) { return 42; }
19836 int main (void)
19837 {
19838 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19839 int status = $lt_dlunknown;
19840
19841 if (self)
19842 {
19843 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19844 else
19845 {
19846 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19847 else puts (dlerror ());
19848 }
19849 /* dlclose (self); */
19850 }
19851 else
19852 puts (dlerror ());
19853
19854 return status;
19855 }
19856 _LT_EOF
19857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
19858 (eval $ac_link) 2>&5
19859 ac_status=$?
19860 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19861 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
19862 (./conftest; exit; ) >&5 2>/dev/null
19863 lt_status=$?
19864 case x$lt_status in
19865 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19866 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19867 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
19868 esac
19869 else :
19870 # compilation failed
19871 lt_cv_dlopen_self_static=no
19872 fi
19873 fi
19874 rm -fr conftest*
19875
19876 ;;
19877 esac
19878 fi
19879 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
19880 printf '%s\n' "$lt_cv_dlopen_self_static" >&6; }
19881 fi
19882
19883 CPPFLAGS=$save_CPPFLAGS
19884 LDFLAGS=$save_LDFLAGS
19885 LIBS=$save_LIBS
19886 ;;
19887 esac
19888
19889 case $lt_cv_dlopen_self in
19890 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19891 *) enable_dlopen_self=unknown ;;
19892 esac
19893
19894 case $lt_cv_dlopen_self_static in
19895 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19896 *) enable_dlopen_self_static=unknown ;;
19897 esac
19898 fi
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916 striplib=
19917 old_striplib=
19918 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
19919 printf %s "checking whether stripping libraries is possible... " >&6; }
19920 if test -z "$STRIP"; then
19921 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
19922 printf '%s\n' "no" >&6; }
19923 else
19924 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
19925 old_striplib="$STRIP --strip-debug"
19926 striplib="$STRIP --strip-unneeded"
19927 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19928 printf '%s\n' "yes" >&6; }
19929 else
19930 case $host_os in
19931 darwin*)
19932 # FIXME - insert some real tests, host_os isn't really good enough
19933 striplib="$STRIP -x"
19934 old_striplib="$STRIP -S"
19935 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19936 printf '%s\n' "yes" >&6; }
19937 ;;
19938 freebsd*)
19939 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
19940 old_striplib="$STRIP --strip-debug"
19941 striplib="$STRIP --strip-unneeded"
19942 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19943 printf '%s\n' "yes" >&6; }
19944 else
19945 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
19946 printf '%s\n' "no" >&6; }
19947 fi
19948 ;;
19949 *)
19950 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
19951 printf '%s\n' "no" >&6; }
19952 ;;
19953 esac
19954 fi
19955 fi
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968 # Report what library types will actually be built
19969 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
19970 printf %s "checking if libtool supports shared libraries... " >&6; }
19971 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
19972 printf '%s\n' "$can_build_shared" >&6; }
19973
19974 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
19975 printf %s "checking whether to build shared libraries... " >&6; }
19976 test no = "$can_build_shared" && enable_shared=no
19977
19978 # On AIX, shared libraries and static libraries use the same namespace, and
19979 # are all built from PIC.
19980 case $host_os in
19981 aix3*)
19982 test yes = "$enable_shared" && enable_static=no
19983 if test -n "$RANLIB"; then
19984 archive_cmds="$archive_cmds~\$RANLIB \$lib"
19985 postinstall_cmds='$RANLIB $lib'
19986 fi
19987 ;;
19988
19989 aix[4-9]*)
19990 if test ia64 != "$host_cpu"; then
19991 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
19992 yes,aix,yes) ;; # shared object as lib.so file only
19993 yes,svr4,*) ;; # shared object as lib.so archive member only
19994 yes,*) enable_static=no ;; # shared object in lib.a archive as well
19995 esac
19996 fi
19997 ;;
19998 esac
19999 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
20000 printf '%s\n' "$enable_shared" >&6; }
20001
20002 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
20003 printf %s "checking whether to build static libraries... " >&6; }
20004 # Make sure either enable_shared or enable_static is yes.
20005 test yes = "$enable_shared" || enable_static=yes
20006 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
20007 printf '%s\n' "$enable_static" >&6; }
20008
20009
20010
20011
20012 fi
20013 ac_ext=c
20014 ac_cpp='$CPP $CPPFLAGS'
20015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20018
20019 CC=$lt_save_CC
20020
20021 if test -n "$CXX" && ( test no != "$CXX" &&
20022 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
20023 (test g++ != "$CXX"))); then
20024 ac_ext=cpp
20025 ac_cpp='$CXXCPP $CPPFLAGS'
20026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20029 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
20030 printf %s "checking how to run the C++ preprocessor... " >&6; }
20031 if test -z "$CXXCPP"; then
20032 if test ${ac_cv_prog_CXXCPP+y}
20033 then :
20034 printf %s "(cached) " >&6
20035 else case e in #(
20036 e) # Double quotes because $CXX needs to be expanded
20037 for CXXCPP in "$CXX -E" cpp /lib/cpp
20038 do
20039 ac_preproc_ok=false
20040 for ac_cxx_preproc_warn_flag in '' yes
20041 do
20042 # Use a header file that comes with gcc, so configuring glibc
20043 # with a fresh cross-compiler works.
20044 # On the NeXT, cc -E runs the code through the compiler's parser,
20045 # not just through cpp. "Syntax error" is here to catch this case.
20046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20047 /* end confdefs.h. */
20048 #include <limits.h>
20049 Syntax error
20050 _ACEOF
20051 if ac_fn_cxx_try_cpp "$LINENO"
20052 then :
20053
20054 else case e in #(
20055 e) # Broken: fails on valid input.
20056 continue ;;
20057 esac
20058 fi
20059 rm -f conftest.err conftest.i conftest.$ac_ext
20060
20061 # OK, works on sane cases. Now check whether nonexistent headers
20062 # can be detected and how.
20063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20064 /* end confdefs.h. */
20065 #include <ac_nonexistent.h>
20066 _ACEOF
20067 if ac_fn_cxx_try_cpp "$LINENO"
20068 then :
20069 # Broken: success on invalid input.
20070 continue
20071 else case e in #(
20072 e) # Passes both tests.
20073 ac_preproc_ok=:
20074 break ;;
20075 esac
20076 fi
20077 rm -f conftest.err conftest.i conftest.$ac_ext
20078
20079 done
20080 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20081 rm -f conftest.i conftest.err conftest.$ac_ext
20082 if $ac_preproc_ok
20083 then :
20084 break
20085 fi
20086
20087 done
20088 ac_cv_prog_CXXCPP=$CXXCPP
20089 ;;
20090 esac
20091 fi
20092 CXXCPP=$ac_cv_prog_CXXCPP
20093 else
20094 ac_cv_prog_CXXCPP=$CXXCPP
20095 fi
20096 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
20097 printf '%s\n' "$CXXCPP" >&6; }
20098 ac_preproc_ok=false
20099 for ac_cxx_preproc_warn_flag in '' yes
20100 do
20101 # Use a header file that comes with gcc, so configuring glibc
20102 # with a fresh cross-compiler works.
20103 # On the NeXT, cc -E runs the code through the compiler's parser,
20104 # not just through cpp. "Syntax error" is here to catch this case.
20105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20106 /* end confdefs.h. */
20107 #include <limits.h>
20108 Syntax error
20109 _ACEOF
20110 if ac_fn_cxx_try_cpp "$LINENO"
20111 then :
20112
20113 else case e in #(
20114 e) # Broken: fails on valid input.
20115 continue ;;
20116 esac
20117 fi
20118 rm -f conftest.err conftest.i conftest.$ac_ext
20119
20120 # OK, works on sane cases. Now check whether nonexistent headers
20121 # can be detected and how.
20122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123 /* end confdefs.h. */
20124 #include <ac_nonexistent.h>
20125 _ACEOF
20126 if ac_fn_cxx_try_cpp "$LINENO"
20127 then :
20128 # Broken: success on invalid input.
20129 continue
20130 else case e in #(
20131 e) # Passes both tests.
20132 ac_preproc_ok=:
20133 break ;;
20134 esac
20135 fi
20136 rm -f conftest.err conftest.i conftest.$ac_ext
20137
20138 done
20139 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20140 rm -f conftest.i conftest.err conftest.$ac_ext
20141 if $ac_preproc_ok
20142 then :
20143
20144 else case e in #(
20145 e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
20146 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
20147 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
20148 See 'config.log' for more details" "$LINENO" 5; } ;;
20149 esac
20150 fi
20151
20152 ac_ext=c
20153 ac_cpp='$CPP $CPPFLAGS'
20154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20157
20158 else
20159 _lt_caught_CXX_error=yes
20160 fi
20161
20162 ac_ext=cpp
20163 ac_cpp='$CXXCPP $CPPFLAGS'
20164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20167
20168 archive_cmds_need_lc_CXX=no
20169 allow_undefined_flag_CXX=
20170 always_export_symbols_CXX=no
20171 archive_expsym_cmds_CXX=
20172 compiler_needs_object_CXX=no
20173 export_dynamic_flag_spec_CXX=
20174 hardcode_direct_CXX=no
20175 hardcode_direct_absolute_CXX=no
20176 hardcode_libdir_flag_spec_CXX=
20177 hardcode_libdir_separator_CXX=
20178 hardcode_minus_L_CXX=no
20179 hardcode_shlibpath_var_CXX=unsupported
20180 hardcode_automatic_CXX=no
20181 inherit_rpath_CXX=no
20182 module_cmds_CXX=
20183 module_expsym_cmds_CXX=
20184 link_all_deplibs_CXX=unknown
20185 old_archive_cmds_CXX=$old_archive_cmds
20186 reload_flag_CXX=$reload_flag
20187 reload_cmds_CXX=$reload_cmds
20188 no_undefined_flag_CXX=
20189 whole_archive_flag_spec_CXX=
20190 enable_shared_with_static_runtimes_CXX=no
20191
20192 # Source file extension for C++ test sources.
20193 ac_ext=cpp
20194
20195 # Object file extension for compiled C++ test sources.
20196 objext=o
20197 objext_CXX=$objext
20198
20199 # No sense in running all these tests if we already determined that
20200 # the CXX compiler isn't working. Some variables (like enable_shared)
20201 # are currently assumed to apply to all compilers on this platform,
20202 # and will be corrupted by setting them based on a non-working compiler.
20203 if test yes != "$_lt_caught_CXX_error"; then
20204 # Code to be used in simple compile tests
20205 lt_simple_compile_test_code="int some_variable = 0;"
20206
20207 # Code to be used in simple link tests
20208 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
20209
20210 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20211
20212
20213
20214
20215
20216
20217 # If no C compiler was specified, use CC.
20218 LTCC=${LTCC-"$CC"}
20219
20220 # If no C compiler flags were specified, use CFLAGS.
20221 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20222
20223 # Allow CC to be a program name with arguments.
20224 compiler=$CC
20225
20226
20227 # save warnings/boilerplate of simple test code
20228 ac_outfile=conftest.$ac_objext
20229 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20230 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20231 _lt_compiler_boilerplate=`cat conftest.err`
20232 $RM conftest*
20233
20234 ac_outfile=conftest.$ac_objext
20235 echo "$lt_simple_link_test_code" >conftest.$ac_ext
20236 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20237 _lt_linker_boilerplate=`cat conftest.err`
20238 $RM -r conftest*
20239
20240
20241 # Allow CC to be a program name with arguments.
20242 lt_save_CC=$CC
20243 lt_save_CFLAGS=$CFLAGS
20244 lt_save_LD=$LD
20245 lt_save_GCC=$GCC
20246 GCC=$GXX
20247 lt_save_with_gnu_ld=$with_gnu_ld
20248 lt_save_path_LD=$lt_cv_path_LD
20249 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
20250 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
20251 else
20252 $as_unset lt_cv_prog_gnu_ld
20253 fi
20254 if test -n "${lt_cv_path_LDCXX+set}"; then
20255 lt_cv_path_LD=$lt_cv_path_LDCXX
20256 else
20257 $as_unset lt_cv_path_LD
20258 fi
20259 test -z "${LDCXX+set}" || LD=$LDCXX
20260 CC=${CXX-"c++"}
20261 CFLAGS=$CXXFLAGS
20262 compiler=$CC
20263 compiler_CXX=$CC
20264 func_cc_basename $compiler
20265 cc_basename=$func_cc_basename_result
20266
20267
20268 if test -n "$compiler"; then
20269 # We don't want -fno-exception when compiling C++ code, so set the
20270 # no_builtin_flag separately
20271 if test yes = "$GXX"; then
20272 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
20273 else
20274 lt_prog_compiler_no_builtin_flag_CXX=
20275 fi
20276
20277 if test yes = "$GXX"; then
20278 # Set up default GNU C++ configuration
20279
20280
20281
20282 # Check whether --with-gnu-ld was given.
20283 if test ${with_gnu_ld+y}
20284 then :
20285 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
20286 else case e in #(
20287 e) with_gnu_ld=no ;;
20288 esac
20289 fi
20290
20291 ac_prog=ld
20292 if test yes = "$GCC"; then
20293 # Check if gcc -print-prog-name=ld gives a path.
20294 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20295 printf %s "checking for ld used by $CC... " >&6; }
20296 case $host in
20297 *-*-mingw* | *-*-windows*)
20298 # gcc leaves a trailing carriage return, which upsets mingw
20299 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20300 *)
20301 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20302 esac
20303 case $ac_prog in
20304 # Accept absolute paths.
20305 [\\/]* | ?:[\\/]*)
20306 re_direlt='/[^/][^/]*/\.\./'
20307 # Canonicalize the pathname of ld
20308 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20309 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20310 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20311 done
20312 test -z "$LD" && LD=$ac_prog
20313 ;;
20314 "")
20315 # If it fails, then pretend we aren't using GCC.
20316 ac_prog=ld
20317 ;;
20318 *)
20319 # If it is relative, then search for the first ld in PATH.
20320 with_gnu_ld=unknown
20321 ;;
20322 esac
20323 elif test yes = "$with_gnu_ld"; then
20324 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20325 printf %s "checking for GNU ld... " >&6; }
20326 else
20327 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20328 printf %s "checking for non-GNU ld... " >&6; }
20329 fi
20330 if test ${lt_cv_path_LD+y}
20331 then :
20332 printf %s "(cached) " >&6
20333 else case e in #(
20334 e) if test -z "$LD"; then
20335 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
20336 for ac_dir in $PATH; do
20337 IFS=$lt_save_ifs
20338 test -z "$ac_dir" && ac_dir=.
20339 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20340 lt_cv_path_LD=$ac_dir/$ac_prog
20341 # Check to see if the program is GNU ld. I'd rather use --version,
20342 # but apparently some variants of GNU ld only accept -v.
20343 # Break only if it was the GNU/non-GNU ld that we prefer.
20344 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20345 *GNU* | *'with BFD'*)
20346 test no != "$with_gnu_ld" && break
20347 ;;
20348 *)
20349 test yes != "$with_gnu_ld" && break
20350 ;;
20351 esac
20352 fi
20353 done
20354 IFS=$lt_save_ifs
20355 else
20356 lt_cv_path_LD=$LD # Let the user override the test with a path.
20357 fi ;;
20358 esac
20359 fi
20360
20361 LD=$lt_cv_path_LD
20362 if test -n "$LD"; then
20363 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20364 printf '%s\n' "$LD" >&6; }
20365 else
20366 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
20367 printf '%s\n' "no" >&6; }
20368 fi
20369 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
20370 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20371 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
20372 if test ${lt_cv_prog_gnu_ld+y}
20373 then :
20374 printf %s "(cached) " >&6
20375 else case e in #(
20376 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
20377 case `$LD -v 2>&1 </dev/null` in
20378 *GNU* | *'with BFD'*)
20379 lt_cv_prog_gnu_ld=yes
20380 ;;
20381 *)
20382 lt_cv_prog_gnu_ld=no
20383 ;;
20384 esac ;;
20385 esac
20386 fi
20387 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20388 printf '%s\n' "$lt_cv_prog_gnu_ld" >&6; }
20389 with_gnu_ld=$lt_cv_prog_gnu_ld
20390
20391
20392
20393
20394
20395
20396
20397 # Check if GNU C++ uses GNU ld as the underlying linker, since the
20398 # archiving commands below assume that GNU ld is being used.
20399 if test yes = "$with_gnu_ld"; then
20400 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
20401 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
20402
20403 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
20404 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
20405
20406 # If archive_cmds runs LD, not CC, wlarc should be empty
20407 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
20408 # investigate it a little bit more. (MM)
20409 wlarc='$wl'
20410
20411 # ancient GNU ld didn't support --whole-archive et. al.
20412 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
20413 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
20414 else
20415 whole_archive_flag_spec_CXX=
20416 fi
20417 else
20418 with_gnu_ld=no
20419 wlarc=
20420
20421 # A generic and very simple default shared library creation
20422 # command for GNU C++ for the case where it uses the native
20423 # linker, instead of GNU ld. If possible, this setting should
20424 # overridden to take advantage of the native linker features on
20425 # the platform it is being used on.
20426 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
20427 fi
20428
20429 # Commands to make compiler produce verbose output that lists
20430 # what "hidden" libraries, object files and flags are used when
20431 # linking a shared library.
20432 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
20433
20434 else
20435 GXX=no
20436 with_gnu_ld=no
20437 wlarc=
20438 fi
20439
20440 # PORTME: fill in a description of your system's C++ link characteristics
20441 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20442 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20443 ld_shlibs_CXX=yes
20444 case $host_os in
20445 aix3*)
20446 # FIXME: insert proper C++ library support
20447 ld_shlibs_CXX=no
20448 ;;
20449 aix[4-9]*)
20450 if test ia64 = "$host_cpu"; then
20451 # On IA64, the linker does run time linking by default, so we don't
20452 # have to do anything special.
20453 aix_use_runtimelinking=no
20454 exp_sym_flag='-Bexport'
20455 no_entry_flag=
20456 else
20457 aix_use_runtimelinking=no
20458
20459 # Test if we are trying to use run time linking or normal
20460 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20461 # have runtime linking enabled, and use it for executables.
20462 # For shared libraries, we enable/disable runtime linking
20463 # depending on the kind of the shared library created -
20464 # when "with_aix_soname,aix_use_runtimelinking" is:
20465 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
20466 # "aix,yes" lib.so shared, rtl:yes, for executables
20467 # lib.a static archive
20468 # "both,no" lib.so.V(shr.o) shared, rtl:yes
20469 # lib.a(lib.so.V) shared, rtl:no, for executables
20470 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
20471 # lib.a(lib.so.V) shared, rtl:no
20472 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
20473 # lib.a static archive
20474 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
20475 for ld_flag in $LDFLAGS; do
20476 case $ld_flag in
20477 *-brtl*)
20478 aix_use_runtimelinking=yes
20479 break
20480 ;;
20481 esac
20482 done
20483 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
20484 # With aix-soname=svr4, we create the lib.so.V shared archives only,
20485 # so we don't have lib.a shared libs to link our executables.
20486 # We have to force runtime linking in this case.
20487 aix_use_runtimelinking=yes
20488 LDFLAGS="$LDFLAGS -Wl,-brtl"
20489 fi
20490 ;;
20491 esac
20492
20493 exp_sym_flag='-bexport'
20494 no_entry_flag='-bnoentry'
20495 fi
20496
20497 # When large executables or shared objects are built, AIX ld can
20498 # have problems creating the table of contents. If linking a library
20499 # or program results in "error TOC overflow" add -mminimal-toc to
20500 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20501 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20502
20503 archive_cmds_CXX=''
20504 hardcode_direct_CXX=yes
20505 hardcode_direct_absolute_CXX=yes
20506 hardcode_libdir_separator_CXX=':'
20507 link_all_deplibs_CXX=yes
20508 file_list_spec_CXX='$wl-f,'
20509 case $with_aix_soname,$aix_use_runtimelinking in
20510 aix,*) ;; # no import file
20511 svr4,* | *,yes) # use import file
20512 # The Import File defines what to hardcode.
20513 hardcode_direct_CXX=no
20514 hardcode_direct_absolute_CXX=no
20515 ;;
20516 esac
20517
20518 if test yes = "$GXX"; then
20519 case $host_os in aix4.[012]|aix4.[012].*)
20520 # We only want to do this on AIX 4.2 and lower, the check
20521 # below for broken collect2 doesn't work under 4.3+
20522 collect2name=`$CC -print-prog-name=collect2`
20523 if test -f "$collect2name" &&
20524 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
20525 then
20526 # We have reworked collect2
20527 :
20528 else
20529 # We have old collect2
20530 hardcode_direct_CXX=unsupported
20531 # It fails to find uninstalled libraries when the uninstalled
20532 # path is not listed in the libpath. Setting hardcode_minus_L
20533 # to unsupported forces relinking
20534 hardcode_minus_L_CXX=yes
20535 hardcode_libdir_flag_spec_CXX='-L$libdir'
20536 hardcode_libdir_separator_CXX=
20537 fi
20538 esac
20539 shared_flag='-shared'
20540 if test yes = "$aix_use_runtimelinking"; then
20541 shared_flag=$shared_flag' $wl-G'
20542 fi
20543 # Need to ensure runtime linking is disabled for the traditional
20544 # shared library, or the linker may eventually find shared libraries
20545 # /with/ Import File - we do not want to mix them.
20546 shared_flag_aix='-shared'
20547 shared_flag_svr4='-shared $wl-G'
20548 else
20549 # not using gcc
20550 if test ia64 = "$host_cpu"; then
20551 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20552 # chokes on -Wl,-G. The following line is correct:
20553 shared_flag='-G'
20554 else
20555 if test yes = "$aix_use_runtimelinking"; then
20556 shared_flag='$wl-G'
20557 else
20558 shared_flag='$wl-bM:SRE'
20559 fi
20560 shared_flag_aix='$wl-bM:SRE'
20561 shared_flag_svr4='$wl-G'
20562 fi
20563 fi
20564
20565 export_dynamic_flag_spec_CXX='$wl-bexpall'
20566 # It seems that -bexpall does not export symbols beginning with
20567 # underscore (_), so it is better to generate a list of symbols to
20568 # export.
20569 always_export_symbols_CXX=yes
20570 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
20571 # Warning - without using the other runtime loading flags (-brtl),
20572 # -berok will link without error, but may produce a broken library.
20573 # The "-G" linker flag allows undefined symbols.
20574 no_undefined_flag_CXX='-bernotok'
20575 # Determine the default libpath from the value encoded in an empty
20576 # executable.
20577 if test set = "${lt_cv_aix_libpath+set}"; then
20578 aix_libpath=$lt_cv_aix_libpath
20579 else
20580 if test ${lt_cv_aix_libpath__CXX+y}
20581 then :
20582 printf %s "(cached) " >&6
20583 else case e in #(
20584 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20585 /* end confdefs.h. */
20586
20587 int
20588 main (void)
20589 {
20590
20591 ;
20592 return 0;
20593 }
20594 _ACEOF
20595 if ac_fn_cxx_try_link "$LINENO"
20596 then :
20597
20598 lt_aix_libpath_sed='
20599 /Import File Strings/,/^$/ {
20600 /^0/ {
20601 s/^0 *\([^ ]*\) *$/\1/
20602 p
20603 }
20604 }'
20605 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20606 # Check for a 64-bit object if we didn't find anything.
20607 if test -z "$lt_cv_aix_libpath__CXX"; then
20608 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20609 fi
20610 fi
20611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20612 conftest$ac_exeext conftest.$ac_ext
20613 if test -z "$lt_cv_aix_libpath__CXX"; then
20614 lt_cv_aix_libpath__CXX=/usr/lib:/lib
20615 fi
20616 ;;
20617 esac
20618 fi
20619
20620 aix_libpath=$lt_cv_aix_libpath__CXX
20621 fi
20622
20623 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
20624
20625 archive_expsym_cmds_CXX='$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
20626 else
20627 if test ia64 = "$host_cpu"; then
20628 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
20629 allow_undefined_flag_CXX="-z nodefs"
20630 archive_expsym_cmds_CXX="\$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"
20631 else
20632 # Determine the default libpath from the value encoded in an
20633 # empty executable.
20634 if test set = "${lt_cv_aix_libpath+set}"; then
20635 aix_libpath=$lt_cv_aix_libpath
20636 else
20637 if test ${lt_cv_aix_libpath__CXX+y}
20638 then :
20639 printf %s "(cached) " >&6
20640 else case e in #(
20641 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20642 /* end confdefs.h. */
20643
20644 int
20645 main (void)
20646 {
20647
20648 ;
20649 return 0;
20650 }
20651 _ACEOF
20652 if ac_fn_cxx_try_link "$LINENO"
20653 then :
20654
20655 lt_aix_libpath_sed='
20656 /Import File Strings/,/^$/ {
20657 /^0/ {
20658 s/^0 *\([^ ]*\) *$/\1/
20659 p
20660 }
20661 }'
20662 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20663 # Check for a 64-bit object if we didn't find anything.
20664 if test -z "$lt_cv_aix_libpath__CXX"; then
20665 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20666 fi
20667 fi
20668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20669 conftest$ac_exeext conftest.$ac_ext
20670 if test -z "$lt_cv_aix_libpath__CXX"; then
20671 lt_cv_aix_libpath__CXX=/usr/lib:/lib
20672 fi
20673 ;;
20674 esac
20675 fi
20676
20677 aix_libpath=$lt_cv_aix_libpath__CXX
20678 fi
20679
20680 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
20681 # Warning - without using the other run time loading flags,
20682 # -berok will link without error, but may produce a broken library.
20683 no_undefined_flag_CXX=' $wl-bernotok'
20684 allow_undefined_flag_CXX=' $wl-berok'
20685 if test yes = "$with_gnu_ld"; then
20686 # We only use this code for GNU lds that support --whole-archive.
20687 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
20688 else
20689 # Exported symbols can be pulled into shared objects from archives
20690 whole_archive_flag_spec_CXX='$convenience'
20691 fi
20692 archive_cmds_need_lc_CXX=yes
20693 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
20694 # -brtl affects multiple linker settings, -berok does not and is overridden later
20695 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
20696 if test svr4 != "$with_aix_soname"; then
20697 # This is similar to how AIX traditionally builds its shared
20698 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
20699 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
20700 fi
20701 if test aix != "$with_aix_soname"; then
20702 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
20703 else
20704 # used by -dlpreopen to get the symbols
20705 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
20706 fi
20707 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
20708 fi
20709 fi
20710 ;;
20711
20712 beos*)
20713 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
20714 allow_undefined_flag_CXX=unsupported
20715 # Joseph Beckenbach <[email protected]> says some releases of gcc
20716 # support --undefined. This deserves some investigation. FIXME
20717 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
20718 else
20719 ld_shlibs_CXX=no
20720 fi
20721 ;;
20722
20723 chorus*)
20724 case $cc_basename in
20725 *)
20726 # FIXME: insert proper C++ library support
20727 ld_shlibs_CXX=no
20728 ;;
20729 esac
20730 ;;
20731
20732 cygwin* | mingw* | windows* | pw32* | cegcc*)
20733 case $GXX,$cc_basename in
20734 ,cl* | no,cl* | ,icl* | no,icl*)
20735 # Native MSVC or ICC
20736 # hardcode_libdir_flag_spec is actually meaningless, as there is
20737 # no search path for DLLs.
20738 hardcode_libdir_flag_spec_CXX=' '
20739 allow_undefined_flag_CXX=unsupported
20740 always_export_symbols_CXX=yes
20741 file_list_spec_CXX='@'
20742 # Tell ltmain to make .lib files, not .a files.
20743 libext=lib
20744 # Tell ltmain to make .dll files, not .so files.
20745 shrext_cmds=.dll
20746 # FIXME: Setting linknames here is a bad hack.
20747 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
20748 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
20749 cp "$export_symbols" "$output_objdir/$soname.def";
20750 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
20751 else
20752 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
20753 fi~
20754 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
20755 linknames='
20756 # The linker will not automatically build a static lib if we build a DLL.
20757 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
20758 enable_shared_with_static_runtimes_CXX=yes
20759 # Don't use ranlib
20760 old_postinstall_cmds_CXX='chmod 644 $oldlib'
20761 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
20762 lt_tool_outputfile="@TOOL_OUTPUT@"~
20763 case $lt_outputfile in
20764 *.exe|*.EXE) ;;
20765 *)
20766 lt_outputfile=$lt_outputfile.exe
20767 lt_tool_outputfile=$lt_tool_outputfile.exe
20768 ;;
20769 esac~
20770 func_to_tool_file "$lt_outputfile"~
20771 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
20772 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
20773 $RM "$lt_outputfile.manifest";
20774 fi'
20775 ;;
20776 *)
20777 # g++
20778 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
20779 # as there is no search path for DLLs.
20780 hardcode_libdir_flag_spec_CXX='-L$libdir'
20781 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
20782 allow_undefined_flag_CXX=unsupported
20783 always_export_symbols_CXX=no
20784 enable_shared_with_static_runtimes_CXX=yes
20785 file_list_spec_CXX='@'
20786
20787 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
20788 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20789 # If the export-symbols file already is a .def file, use it as
20790 # is; otherwise, prepend EXPORTS...
20791 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
20792 cp $export_symbols $output_objdir/$soname.def;
20793 else
20794 echo EXPORTS > $output_objdir/$soname.def;
20795 cat $export_symbols >> $output_objdir/$soname.def;
20796 fi~
20797 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20798 else
20799 ld_shlibs_CXX=no
20800 fi
20801 ;;
20802 esac
20803 ;;
20804 darwin* | rhapsody*)
20805
20806
20807 archive_cmds_need_lc_CXX=no
20808 hardcode_direct_CXX=no
20809 hardcode_automatic_CXX=yes
20810 hardcode_shlibpath_var_CXX=unsupported
20811 if test yes = "$lt_cv_ld_force_load"; then
20812 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
20813
20814 else
20815 whole_archive_flag_spec_CXX=''
20816 fi
20817 link_all_deplibs_CXX=yes
20818 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
20819 case $cc_basename in
20820 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
20821 *) _lt_dar_can_shared=$GCC ;;
20822 esac
20823 if test yes = "$_lt_dar_can_shared"; then
20824 output_verbose_link_cmd=func_echo_all
20825 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
20826 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
20827 archive_expsym_cmds_CXX="$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"
20828 module_expsym_cmds_CXX="$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"
20829 if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
20830 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
20831 archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
20832 fi
20833
20834 else
20835 ld_shlibs_CXX=no
20836 fi
20837
20838 ;;
20839
20840 os2*)
20841 hardcode_libdir_flag_spec_CXX='-L$libdir'
20842 hardcode_minus_L_CXX=yes
20843 allow_undefined_flag_CXX=unsupported
20844 shrext_cmds=.dll
20845 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
20846 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
20847 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
20848 $ECHO EXPORTS >> $output_objdir/$libname.def~
20849 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
20850 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
20851 emximp -o $lib $output_objdir/$libname.def'
20852 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
20853 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
20854 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
20855 $ECHO EXPORTS >> $output_objdir/$libname.def~
20856 prefix_cmds="$SED"~
20857 if test EXPORTS = "`$SED 1q $export_symbols`"; then
20858 prefix_cmds="$prefix_cmds -e 1d";
20859 fi~
20860 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
20861 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
20862 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
20863 emximp -o $lib $output_objdir/$libname.def'
20864 old_archive_from_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
20865 enable_shared_with_static_runtimes_CXX=yes
20866 file_list_spec_CXX='@'
20867 ;;
20868
20869 dgux*)
20870 case $cc_basename in
20871 ec++*)
20872 # FIXME: insert proper C++ library support
20873 ld_shlibs_CXX=no
20874 ;;
20875 ghcx*)
20876 # Green Hills C++ Compiler
20877 # FIXME: insert proper C++ library support
20878 ld_shlibs_CXX=no
20879 ;;
20880 *)
20881 # FIXME: insert proper C++ library support
20882 ld_shlibs_CXX=no
20883 ;;
20884 esac
20885 ;;
20886
20887 freebsd2.*)
20888 # C++ shared libraries reported to be fairly broken before
20889 # switch to ELF
20890 ld_shlibs_CXX=no
20891 ;;
20892
20893 freebsd-elf*)
20894 archive_cmds_need_lc_CXX=no
20895 ;;
20896
20897 freebsd* | dragonfly* | midnightbsd*)
20898 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
20899 # conventions
20900 ld_shlibs_CXX=yes
20901 ;;
20902
20903 haiku*)
20904 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
20905 link_all_deplibs_CXX=no
20906 ;;
20907
20908 hpux9*)
20909 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
20910 hardcode_libdir_separator_CXX=:
20911 export_dynamic_flag_spec_CXX='$wl-E'
20912 hardcode_direct_CXX=yes
20913 hardcode_minus_L_CXX=yes # Not in the search PATH,
20914 # but as the default
20915 # location of the library.
20916
20917 case $cc_basename in
20918 CC*)
20919 # FIXME: insert proper C++ library support
20920 ld_shlibs_CXX=no
20921 ;;
20922 aCC*)
20923 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
20924 # Commands to make compiler produce verbose output that lists
20925 # what "hidden" libraries, object files and flags are used when
20926 # linking a shared library.
20927 #
20928 # There doesn't appear to be a way to prevent this compiler from
20929 # explicitly linking system object files so we need to strip them
20930 # from the output so that they don't get included in the library
20931 # dependencies.
20932 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "[-]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
20933 ;;
20934 *)
20935 if test yes = "$GXX"; then
20936 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
20937 else
20938 # FIXME: insert proper C++ library support
20939 ld_shlibs_CXX=no
20940 fi
20941 ;;
20942 esac
20943 ;;
20944
20945 hpux10*|hpux11*)
20946 if test no = "$with_gnu_ld"; then
20947 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
20948 hardcode_libdir_separator_CXX=:
20949
20950 case $host_cpu in
20951 hppa*64*|ia64*)
20952 ;;
20953 *)
20954 export_dynamic_flag_spec_CXX='$wl-E'
20955 ;;
20956 esac
20957 fi
20958 case $host_cpu in
20959 hppa*64*|ia64*)
20960 hardcode_direct_CXX=no
20961 hardcode_shlibpath_var_CXX=no
20962 ;;
20963 *)
20964 hardcode_direct_CXX=yes
20965 hardcode_direct_absolute_CXX=yes
20966 hardcode_minus_L_CXX=yes # Not in the search PATH,
20967 # but as the default
20968 # location of the library.
20969 ;;
20970 esac
20971
20972 case $cc_basename in
20973 CC*)
20974 # FIXME: insert proper C++ library support
20975 ld_shlibs_CXX=no
20976 ;;
20977 aCC*)
20978 case $host_cpu in
20979 hppa*64*)
20980 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20981 ;;
20982 ia64*)
20983 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20984 ;;
20985 *)
20986 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20987 ;;
20988 esac
20989 # Commands to make compiler produce verbose output that lists
20990 # what "hidden" libraries, object files and flags are used when
20991 # linking a shared library.
20992 #
20993 # There doesn't appear to be a way to prevent this compiler from
20994 # explicitly linking system object files so we need to strip them
20995 # from the output so that they don't get included in the library
20996 # dependencies.
20997 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " [-]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
20998 ;;
20999 *)
21000 if test yes = "$GXX"; then
21001 if test no = "$with_gnu_ld"; then
21002 case $host_cpu in
21003 hppa*64*)
21004 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21005 ;;
21006 ia64*)
21007 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21008 ;;
21009 *)
21010 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21011 ;;
21012 esac
21013 fi
21014 else
21015 # FIXME: insert proper C++ library support
21016 ld_shlibs_CXX=no
21017 fi
21018 ;;
21019 esac
21020 ;;
21021
21022 interix[3-9]*)
21023 hardcode_direct_CXX=no
21024 hardcode_shlibpath_var_CXX=no
21025 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
21026 export_dynamic_flag_spec_CXX='$wl-E'
21027 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21028 # Instead, shared libraries are loaded at an image base (0x10000000 by
21029 # default) and relocated if they conflict, which is a slow very memory
21030 # consuming and fragmenting process. To avoid this, we pick a random,
21031 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21032 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21033 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21034 archive_expsym_cmds_CXX='$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'
21035 ;;
21036 irix5* | irix6*)
21037 case $cc_basename in
21038 CC*)
21039 # SGI C++
21040 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
21041
21042 # Archives containing C++ object files must be created using
21043 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
21044 # necessary to make sure instantiated templates are included
21045 # in the archive.
21046 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
21047 ;;
21048 *)
21049 if test yes = "$GXX"; then
21050 if test no = "$with_gnu_ld"; then
21051 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
21052 else
21053 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
21054 fi
21055 fi
21056 link_all_deplibs_CXX=yes
21057 ;;
21058 esac
21059 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
21060 hardcode_libdir_separator_CXX=:
21061 inherit_rpath_CXX=yes
21062 ;;
21063
21064 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
21065 case $cc_basename in
21066 KCC*)
21067 # Kuck and Associates, Inc. (KAI) C++ Compiler
21068
21069 # KCC will only create a shared library if the output file
21070 # ends with ".so" (or ".sl" for HP-UX), so rename the library
21071 # to its proper name (with version) after linking.
21072 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
21073 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
21074 # Commands to make compiler produce verbose output that lists
21075 # what "hidden" libraries, object files and flags are used when
21076 # linking a shared library.
21077 #
21078 # There doesn't appear to be a way to prevent this compiler from
21079 # explicitly linking system object files so we need to strip them
21080 # from the output so that they don't get included in the library
21081 # dependencies.
21082 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
21083
21084 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
21085 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
21086
21087 # Archives containing C++ object files must be created using
21088 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
21089 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
21090 ;;
21091 icpc* | ecpc* )
21092 # Intel C++
21093 with_gnu_ld=yes
21094 # version 8.0 and above of icpc choke on multiply defined symbols
21095 # if we add $predep_objects and $postdep_objects, however 7.1 and
21096 # earlier do not add the objects themselves.
21097 case `$CC -V 2>&1` in
21098 *"Version 7."*)
21099 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
21100 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
21101 ;;
21102 *) # Version 8.0 or newer
21103 tmp_idyn=
21104 case $host_cpu in
21105 ia64*) tmp_idyn=' -i_dynamic';;
21106 esac
21107 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
21108 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
21109 ;;
21110 esac
21111 archive_cmds_need_lc_CXX=no
21112 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
21113 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
21114 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
21115 ;;
21116 pgCC* | pgcpp*)
21117 # Portland Group C++ compiler
21118 case `$CC -V` in
21119 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
21120 prelink_cmds_CXX='tpldir=Template.dir~
21121 rm -rf $tpldir~
21122 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
21123 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
21124 old_archive_cmds_CXX='tpldir=Template.dir~
21125 rm -rf $tpldir~
21126 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
21127 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
21128 $RANLIB $oldlib'
21129 archive_cmds_CXX='tpldir=Template.dir~
21130 rm -rf $tpldir~
21131 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
21132 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
21133 archive_expsym_cmds_CXX='tpldir=Template.dir~
21134 rm -rf $tpldir~
21135 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
21136 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
21137 ;;
21138 *) # Version 6 and above use weak symbols
21139 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
21140 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
21141 ;;
21142 esac
21143
21144 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
21145 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
21146 whole_archive_flag_spec_CXX='$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'
21147 ;;
21148 cxx*)
21149 # Compaq C++
21150 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
21151 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
21152
21153 runpath_var=LD_RUN_PATH
21154 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
21155 hardcode_libdir_separator_CXX=:
21156
21157 # Commands to make compiler produce verbose output that lists
21158 # what "hidden" libraries, object files and flags are used when
21159 # linking a shared library.
21160 #
21161 # There doesn't appear to be a way to prevent this compiler from
21162 # explicitly linking system object files so we need to strip them
21163 # from the output so that they don't get included in the library
21164 # dependencies.
21165 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
21166 ;;
21167 xl* | mpixl* | bgxl*)
21168 # IBM XL 8.0 on PPC, with GNU ld
21169 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
21170 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
21171 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
21172 if test yes = "$supports_anon_versioning"; then
21173 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
21174 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21175 echo "local: *; };" >> $output_objdir/$libname.ver~
21176 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
21177 fi
21178 ;;
21179 *)
21180 case `$CC -V 2>&1 | $SED 5q` in
21181 *Sun\ C*)
21182 # Sun C++ 5.9
21183 no_undefined_flag_CXX=' -zdefs'
21184 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21185 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
21186 hardcode_libdir_flag_spec_CXX='-R$libdir'
21187 whole_archive_flag_spec_CXX='$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'
21188 compiler_needs_object_CXX=yes
21189
21190 # Not sure whether something based on
21191 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
21192 # would be better.
21193 output_verbose_link_cmd='func_echo_all'
21194
21195 # Archives containing C++ object files must be created using
21196 # "CC -xar", where "CC" is the Sun C++ compiler. This is
21197 # necessary to make sure instantiated templates are included
21198 # in the archive.
21199 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
21200 ;;
21201 esac
21202 ;;
21203 esac
21204 ;;
21205
21206 lynxos*)
21207 # FIXME: insert proper C++ library support
21208 ld_shlibs_CXX=no
21209 ;;
21210
21211 m88k*)
21212 # FIXME: insert proper C++ library support
21213 ld_shlibs_CXX=no
21214 ;;
21215
21216 mvs*)
21217 case $cc_basename in
21218 cxx*)
21219 # FIXME: insert proper C++ library support
21220 ld_shlibs_CXX=no
21221 ;;
21222 *)
21223 # FIXME: insert proper C++ library support
21224 ld_shlibs_CXX=no
21225 ;;
21226 esac
21227 ;;
21228
21229 *-mlibc)
21230 ld_shlibs_CXX=yes
21231 ;;
21232
21233 netbsd*)
21234 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
21235 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
21236 wlarc=
21237 hardcode_libdir_flag_spec_CXX='-R$libdir'
21238 hardcode_direct_CXX=yes
21239 hardcode_shlibpath_var_CXX=no
21240 fi
21241 # Workaround some broken pre-1.5 toolchains
21242 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
21243 ;;
21244
21245 *nto* | *qnx*)
21246 ld_shlibs_CXX=yes
21247 ;;
21248
21249 openbsd*)
21250 if test -f /usr/libexec/ld.so; then
21251 hardcode_direct_CXX=yes
21252 hardcode_shlibpath_var_CXX=no
21253 hardcode_direct_absolute_CXX=yes
21254 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
21255 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
21256 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
21257 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
21258 export_dynamic_flag_spec_CXX='$wl-E'
21259 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
21260 fi
21261 output_verbose_link_cmd=func_echo_all
21262 else
21263 ld_shlibs_CXX=no
21264 fi
21265 ;;
21266
21267 osf3* | osf4* | osf5*)
21268 case $cc_basename in
21269 KCC*)
21270 # Kuck and Associates, Inc. (KAI) C++ Compiler
21271
21272 # KCC will only create a shared library if the output file
21273 # ends with ".so" (or ".sl" for HP-UX), so rename the library
21274 # to its proper name (with version) after linking.
21275 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
21276
21277 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
21278 hardcode_libdir_separator_CXX=:
21279
21280 # Archives containing C++ object files must be created using
21281 # the KAI C++ compiler.
21282 case $host in
21283 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
21284 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
21285 esac
21286 ;;
21287 RCC*)
21288 # Rational C++ 2.4.1
21289 # FIXME: insert proper C++ library support
21290 ld_shlibs_CXX=no
21291 ;;
21292 cxx*)
21293 case $host in
21294 osf3*)
21295 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
21296 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
21297 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
21298 ;;
21299 *)
21300 allow_undefined_flag_CXX=' -expect_unresolved \*'
21301 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
21302 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
21303 echo "-hidden">> $lib.exp~
21304 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
21305 $RM $lib.exp'
21306 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
21307 ;;
21308 esac
21309
21310 hardcode_libdir_separator_CXX=:
21311
21312 # Commands to make compiler produce verbose output that lists
21313 # what "hidden" libraries, object files and flags are used when
21314 # linking a shared library.
21315 #
21316 # There doesn't appear to be a way to prevent this compiler from
21317 # explicitly linking system object files so we need to strip them
21318 # from the output so that they don't get included in the library
21319 # dependencies.
21320 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
21321 ;;
21322 *)
21323 if test yes,no = "$GXX,$with_gnu_ld"; then
21324 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
21325 case $host in
21326 osf3*)
21327 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
21328 ;;
21329 *)
21330 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
21331 ;;
21332 esac
21333
21334 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
21335 hardcode_libdir_separator_CXX=:
21336
21337 # Commands to make compiler produce verbose output that lists
21338 # what "hidden" libraries, object files and flags are used when
21339 # linking a shared library.
21340 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
21341
21342 else
21343 # FIXME: insert proper C++ library support
21344 ld_shlibs_CXX=no
21345 fi
21346 ;;
21347 esac
21348 ;;
21349
21350 psos*)
21351 # FIXME: insert proper C++ library support
21352 ld_shlibs_CXX=no
21353 ;;
21354
21355 serenity*)
21356 ;;
21357
21358 sunos4*)
21359 case $cc_basename in
21360 CC*)
21361 # Sun C++ 4.x
21362 # FIXME: insert proper C++ library support
21363 ld_shlibs_CXX=no
21364 ;;
21365 lcc*)
21366 # Lucid
21367 # FIXME: insert proper C++ library support
21368 ld_shlibs_CXX=no
21369 ;;
21370 *)
21371 # FIXME: insert proper C++ library support
21372 ld_shlibs_CXX=no
21373 ;;
21374 esac
21375 ;;
21376
21377 solaris*)
21378 case $cc_basename in
21379 CC* | sunCC*)
21380 # Sun C++ 4.2, 5.x and Centerline C++
21381 archive_cmds_need_lc_CXX=yes
21382 no_undefined_flag_CXX=' -zdefs'
21383 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21384 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
21385 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
21386
21387 hardcode_libdir_flag_spec_CXX='-R$libdir'
21388 hardcode_shlibpath_var_CXX=no
21389 case $host_os in
21390 solaris2.[0-5] | solaris2.[0-5].*) ;;
21391 *)
21392 # The compiler driver will combine and reorder linker options,
21393 # but understands '-z linker_flag'.
21394 # Supported since Solaris 2.6 (maybe 2.5.1?)
21395 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
21396 ;;
21397 esac
21398 link_all_deplibs_CXX=yes
21399
21400 output_verbose_link_cmd='func_echo_all'
21401
21402 # Archives containing C++ object files must be created using
21403 # "CC -xar", where "CC" is the Sun C++ compiler. This is
21404 # necessary to make sure instantiated templates are included
21405 # in the archive.
21406 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
21407 ;;
21408 gcx*)
21409 # Green Hills C++ Compiler
21410 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
21411
21412 # The C++ compiler must be used to create the archive.
21413 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
21414 ;;
21415 *)
21416 # GNU C++ compiler with Solaris linker
21417 if test yes,no = "$GXX,$with_gnu_ld"; then
21418 no_undefined_flag_CXX=' $wl-z ${wl}defs'
21419 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
21420 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
21421 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
21422 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
21423
21424 # Commands to make compiler produce verbose output that lists
21425 # what "hidden" libraries, object files and flags are used when
21426 # linking a shared library.
21427 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
21428 else
21429 # g++ 2.7 appears to require '-G' NOT '-shared' on this
21430 # platform.
21431 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
21432 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
21433 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
21434
21435 # Commands to make compiler produce verbose output that lists
21436 # what "hidden" libraries, object files and flags are used when
21437 # linking a shared library.
21438 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
21439 fi
21440
21441 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
21442 case $host_os in
21443 solaris2.[0-5] | solaris2.[0-5].*) ;;
21444 *)
21445 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
21446 ;;
21447 esac
21448 fi
21449 ;;
21450 esac
21451 ;;
21452
21453 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
21454 no_undefined_flag_CXX='$wl-z,text'
21455 archive_cmds_need_lc_CXX=no
21456 hardcode_shlibpath_var_CXX=no
21457 runpath_var='LD_RUN_PATH'
21458
21459 case $cc_basename in
21460 CC*)
21461 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21462 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21463 ;;
21464 *)
21465 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21466 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21467 ;;
21468 esac
21469 ;;
21470
21471 sysv5* | sco3.2v5* | sco5v6*)
21472 # Note: We CANNOT use -z defs as we might desire, because we do not
21473 # link with -lc, and that would cause any symbols used from libc to
21474 # always be unresolved, which means just about no library would
21475 # ever link correctly. If we're not using GNU ld we use -z text
21476 # though, which does catch some bad symbols but isn't as heavy-handed
21477 # as -z defs.
21478 no_undefined_flag_CXX='$wl-z,text'
21479 allow_undefined_flag_CXX='$wl-z,nodefs'
21480 archive_cmds_need_lc_CXX=no
21481 hardcode_shlibpath_var_CXX=no
21482 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
21483 hardcode_libdir_separator_CXX=':'
21484 link_all_deplibs_CXX=yes
21485 export_dynamic_flag_spec_CXX='$wl-Bexport'
21486 runpath_var='LD_RUN_PATH'
21487
21488 case $cc_basename in
21489 CC*)
21490 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21491 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21492 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
21493 '"$old_archive_cmds_CXX"
21494 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
21495 '"$reload_cmds_CXX"
21496 ;;
21497 *)
21498 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21499 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21500 ;;
21501 esac
21502 ;;
21503
21504 tandem*)
21505 case $cc_basename in
21506 NCC*)
21507 # NonStop-UX NCC 3.20
21508 # FIXME: insert proper C++ library support
21509 ld_shlibs_CXX=no
21510 ;;
21511 *)
21512 # FIXME: insert proper C++ library support
21513 ld_shlibs_CXX=no
21514 ;;
21515 esac
21516 ;;
21517
21518 vxworks*)
21519 # FIXME: insert proper C++ library support
21520 ld_shlibs_CXX=no
21521 ;;
21522
21523 *)
21524 # FIXME: insert proper C++ library support
21525 ld_shlibs_CXX=no
21526 ;;
21527 esac
21528
21529 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
21530 printf '%s\n' "$ld_shlibs_CXX" >&6; }
21531 test no = "$ld_shlibs_CXX" && can_build_shared=no
21532
21533 GCC_CXX=$GXX
21534 LD_CXX=$LD
21535
21536 ## CAVEAT EMPTOR:
21537 ## There is no encapsulation within the following macros, do not change
21538 ## the running order or otherwise move them around unless you know exactly
21539 ## what you are doing...
21540 # Dependencies to place before and after the object being linked:
21541 predep_objects_CXX=
21542 postdep_objects_CXX=
21543 predeps_CXX=
21544 postdeps_CXX=
21545 compiler_lib_search_path_CXX=
21546
21547 cat > conftest.$ac_ext <<_LT_EOF
21548 class Foo
21549 {
21550 public:
21551 Foo (void) { a = 0; }
21552 private:
21553 int a;
21554 };
21555 _LT_EOF
21556
21557
21558 _lt_libdeps_save_CFLAGS=$CFLAGS
21559 case "$CC $CFLAGS " in #(
21560 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
21561 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
21562 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
21563 esac
21564
21565 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
21566 (eval $ac_compile) 2>&5
21567 ac_status=$?
21568 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21569 test $ac_status = 0; }; then
21570 # Parse the compiler output and extract the necessary
21571 # objects, libraries and library flags.
21572
21573 # Sentinel used to keep track of whether or not we are before
21574 # the conftest object file.
21575 pre_test_object_deps_done=no
21576
21577 for p in `eval "$output_verbose_link_cmd"`; do
21578 case $prev$p in
21579
21580 -L* | -R* | -l*)
21581 # Some compilers place space between "-{L,R,l}" and the path.
21582 # Remove the space.
21583 if test x-L = x"$p" ||
21584 test x-R = x"$p" ||
21585 test x-l = x"$p"; then
21586 prev=$p
21587 continue
21588 fi
21589
21590 # Expand the sysroot to ease extracting the directories later.
21591 if test -z "$prev"; then
21592 case $p in
21593 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
21594 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
21595 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
21596 esac
21597 fi
21598 case $p in
21599 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
21600 esac
21601 if test no = "$pre_test_object_deps_done"; then
21602 case $prev in
21603 -L | -R)
21604 # Internal compiler library paths should come after those
21605 # provided the user. The postdeps already come after the
21606 # user supplied libs so there is no need to process them.
21607 if test -z "$compiler_lib_search_path_CXX"; then
21608 compiler_lib_search_path_CXX=$prev$p
21609 else
21610 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
21611 fi
21612 ;;
21613 # The "-l" case would never come before the object being
21614 # linked, so don't bother handling this case.
21615 esac
21616 else
21617 if test -z "$postdeps_CXX"; then
21618 postdeps_CXX=$prev$p
21619 else
21620 postdeps_CXX="${postdeps_CXX} $prev$p"
21621 fi
21622 fi
21623 prev=
21624 ;;
21625
21626 *.lto.$objext) ;; # Ignore GCC LTO objects
21627 *.$objext)
21628 # This assumes that the test object file only shows up
21629 # once in the compiler output.
21630 if test "$p" = "conftest.$objext"; then
21631 pre_test_object_deps_done=yes
21632 continue
21633 fi
21634
21635 if test no = "$pre_test_object_deps_done"; then
21636 if test -z "$predep_objects_CXX"; then
21637 predep_objects_CXX=$p
21638 else
21639 predep_objects_CXX="$predep_objects_CXX $p"
21640 fi
21641 else
21642 if test -z "$postdep_objects_CXX"; then
21643 postdep_objects_CXX=$p
21644 else
21645 postdep_objects_CXX="$postdep_objects_CXX $p"
21646 fi
21647 fi
21648 ;;
21649
21650 *) ;; # Ignore the rest.
21651
21652 esac
21653 done
21654
21655 # Clean up.
21656 rm -f a.out a.exe
21657 else
21658 echo "libtool.m4: error: problem compiling CXX test program"
21659 fi
21660
21661 $RM -f confest.$objext
21662 CFLAGS=$_lt_libdeps_save_CFLAGS
21663
21664 # PORTME: override above test on systems where it is broken
21665 case $host_os in
21666 interix[3-9]*)
21667 # Interix 3.5 installs completely hosed .la files for C++, so rather than
21668 # hack all around it, let's just trust "g++" to DTRT.
21669 predep_objects_CXX=
21670 postdep_objects_CXX=
21671 postdeps_CXX=
21672 ;;
21673 esac
21674
21675
21676 case " $postdeps_CXX " in
21677 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
21678 esac
21679 compiler_lib_search_dirs_CXX=
21680 if test -n "${compiler_lib_search_path_CXX}"; then
21681 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
21682 fi
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714 lt_prog_compiler_wl_CXX=
21715 lt_prog_compiler_pic_CXX=
21716 lt_prog_compiler_static_CXX=
21717
21718
21719 # C++ specific cases for pic, static, wl, etc.
21720 if test yes = "$GXX"; then
21721 lt_prog_compiler_wl_CXX='-Wl,'
21722 lt_prog_compiler_static_CXX='-static'
21723
21724 case $host_os in
21725 aix*)
21726 # All AIX code is PIC.
21727 if test ia64 = "$host_cpu"; then
21728 # AIX 5 now supports IA64 processor
21729 lt_prog_compiler_static_CXX='-Bstatic'
21730 fi
21731 lt_prog_compiler_pic_CXX='-fPIC'
21732 ;;
21733
21734 amigaos*)
21735 case $host_cpu in
21736 powerpc)
21737 # see comment about AmigaOS4 .so support
21738 lt_prog_compiler_pic_CXX='-fPIC'
21739 ;;
21740 m68k)
21741 # FIXME: we need at least 68020 code to build shared libraries, but
21742 # adding the '-m68020' flag to GCC prevents building anything better,
21743 # like '-m68040'.
21744 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
21745 ;;
21746 esac
21747 ;;
21748
21749 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21750 # PIC is the default for these OSes.
21751 ;;
21752 mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
21753 # This hack is so that the source file can tell whether it is being
21754 # built for inclusion in a dll (and should export symbols for example).
21755 # Although the cygwin gcc ignores -fPIC, still need this for old-style
21756 # (--disable-auto-import) libraries
21757 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
21758 case $host_os in
21759 os2*)
21760 lt_prog_compiler_static_CXX='$wl-static'
21761 ;;
21762 esac
21763 ;;
21764 darwin* | rhapsody*)
21765 # PIC is the default on this platform
21766 # Common symbols not allowed in MH_DYLIB files
21767 lt_prog_compiler_pic_CXX='-fno-common'
21768 ;;
21769 *djgpp*)
21770 # DJGPP does not support shared libraries at all
21771 lt_prog_compiler_pic_CXX=
21772 ;;
21773 haiku*)
21774 # PIC is the default for Haiku.
21775 # The "-static" flag exists, but is broken.
21776 lt_prog_compiler_static_CXX=
21777 ;;
21778 interix[3-9]*)
21779 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21780 # Instead, we relocate shared libraries at runtime.
21781 ;;
21782 sysv4*MP*)
21783 if test -d /usr/nec; then
21784 lt_prog_compiler_pic_CXX=-Kconform_pic
21785 fi
21786 ;;
21787 hpux*)
21788 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
21789 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
21790 # sets the default TLS model and affects inlining.
21791 case $host_cpu in
21792 hppa*64*)
21793 ;;
21794 *)
21795 lt_prog_compiler_pic_CXX='-fPIC'
21796 ;;
21797 esac
21798 ;;
21799 *qnx* | *nto*)
21800 # QNX uses GNU C++, but need to define -shared option too, otherwise
21801 # it will coredump.
21802 lt_prog_compiler_pic_CXX='-fPIC -shared'
21803 ;;
21804 *)
21805 lt_prog_compiler_pic_CXX='-fPIC'
21806 ;;
21807 esac
21808 else
21809 case $host_os in
21810 aix[4-9]*)
21811 # All AIX code is PIC.
21812 if test ia64 = "$host_cpu"; then
21813 # AIX 5 now supports IA64 processor
21814 lt_prog_compiler_static_CXX='-Bstatic'
21815 else
21816 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
21817 fi
21818 ;;
21819 chorus*)
21820 case $cc_basename in
21821 cxch68*)
21822 # Green Hills C++ Compiler
21823 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
21824 ;;
21825 esac
21826 ;;
21827 mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
21828 # This hack is so that the source file can tell whether it is being
21829 # built for inclusion in a dll (and should export symbols for example).
21830 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
21831 ;;
21832 dgux*)
21833 case $cc_basename in
21834 ec++*)
21835 lt_prog_compiler_pic_CXX='-KPIC'
21836 ;;
21837 ghcx*)
21838 # Green Hills C++ Compiler
21839 lt_prog_compiler_pic_CXX='-pic'
21840 ;;
21841 *)
21842 ;;
21843 esac
21844 ;;
21845 freebsd* | dragonfly* | midnightbsd*)
21846 # FreeBSD uses GNU C++
21847 ;;
21848 hpux9* | hpux10* | hpux11*)
21849 case $cc_basename in
21850 CC*)
21851 lt_prog_compiler_wl_CXX='-Wl,'
21852 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
21853 if test ia64 != "$host_cpu"; then
21854 lt_prog_compiler_pic_CXX='+Z'
21855 fi
21856 ;;
21857 aCC*)
21858 lt_prog_compiler_wl_CXX='-Wl,'
21859 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
21860 case $host_cpu in
21861 hppa*64*|ia64*)
21862 # +Z the default
21863 ;;
21864 *)
21865 lt_prog_compiler_pic_CXX='+Z'
21866 ;;
21867 esac
21868 ;;
21869 *)
21870 ;;
21871 esac
21872 ;;
21873 interix*)
21874 # This is c89, which is MS Visual C++ (no shared libs)
21875 # Anyone wants to do a port?
21876 ;;
21877 irix5* | irix6* | nonstopux*)
21878 case $cc_basename in
21879 CC*)
21880 lt_prog_compiler_wl_CXX='-Wl,'
21881 lt_prog_compiler_static_CXX='-non_shared'
21882 # CC pic flag -KPIC is the default.
21883 ;;
21884 *)
21885 ;;
21886 esac
21887 ;;
21888 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
21889 case $cc_basename in
21890 KCC*)
21891 # KAI C++ Compiler
21892 lt_prog_compiler_wl_CXX='--backend -Wl,'
21893 lt_prog_compiler_pic_CXX='-fPIC'
21894 ;;
21895 ecpc* )
21896 # old Intel C++ for x86_64, which still supported -KPIC.
21897 lt_prog_compiler_wl_CXX='-Wl,'
21898 lt_prog_compiler_pic_CXX='-KPIC'
21899 lt_prog_compiler_static_CXX='-static'
21900 ;;
21901 icpc* )
21902 # Intel C++, used to be incompatible with GCC.
21903 # ICC 10 doesn't accept -KPIC any more.
21904 lt_prog_compiler_wl_CXX='-Wl,'
21905 lt_prog_compiler_pic_CXX='-fPIC'
21906 lt_prog_compiler_static_CXX='-static'
21907 ;;
21908 pgCC* | pgcpp*)
21909 # Portland Group C++ compiler
21910 lt_prog_compiler_wl_CXX='-Wl,'
21911 lt_prog_compiler_pic_CXX='-fpic'
21912 lt_prog_compiler_static_CXX='-Bstatic'
21913 ;;
21914 cxx*)
21915 # Compaq C++
21916 # Make sure the PIC flag is empty. It appears that all Alpha
21917 # Linux and Compaq Tru64 Unix objects are PIC.
21918 lt_prog_compiler_pic_CXX=
21919 lt_prog_compiler_static_CXX='-non_shared'
21920 ;;
21921 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
21922 # IBM XL 8.0, 9.0 on PPC and BlueGene
21923 lt_prog_compiler_wl_CXX='-Wl,'
21924 lt_prog_compiler_pic_CXX='-qpic'
21925 lt_prog_compiler_static_CXX='-qstaticlink'
21926 ;;
21927 *)
21928 case `$CC -V 2>&1 | $SED 5q` in
21929 *Sun\ C*)
21930 # Sun C++ 5.9
21931 lt_prog_compiler_pic_CXX='-KPIC'
21932 lt_prog_compiler_static_CXX='-Bstatic'
21933 lt_prog_compiler_wl_CXX='-Qoption ld '
21934 ;;
21935 esac
21936 ;;
21937 esac
21938 ;;
21939 lynxos*)
21940 ;;
21941 m88k*)
21942 ;;
21943 mvs*)
21944 case $cc_basename in
21945 cxx*)
21946 lt_prog_compiler_pic_CXX='-W c,exportall'
21947 ;;
21948 *)
21949 ;;
21950 esac
21951 ;;
21952 netbsd* | netbsdelf*-gnu)
21953 ;;
21954 *-mlibc)
21955 ;;
21956 *qnx* | *nto*)
21957 # QNX uses GNU C++, but need to define -shared option too, otherwise
21958 # it will coredump.
21959 lt_prog_compiler_pic_CXX='-fPIC -shared'
21960 ;;
21961 osf3* | osf4* | osf5*)
21962 case $cc_basename in
21963 KCC*)
21964 lt_prog_compiler_wl_CXX='--backend -Wl,'
21965 ;;
21966 RCC*)
21967 # Rational C++ 2.4.1
21968 lt_prog_compiler_pic_CXX='-pic'
21969 ;;
21970 cxx*)
21971 # Digital/Compaq C++
21972 lt_prog_compiler_wl_CXX='-Wl,'
21973 # Make sure the PIC flag is empty. It appears that all Alpha
21974 # Linux and Compaq Tru64 Unix objects are PIC.
21975 lt_prog_compiler_pic_CXX=
21976 lt_prog_compiler_static_CXX='-non_shared'
21977 ;;
21978 *)
21979 ;;
21980 esac
21981 ;;
21982 psos*)
21983 ;;
21984 serenity*)
21985 ;;
21986 solaris*)
21987 case $cc_basename in
21988 CC* | sunCC*)
21989 # Sun C++ 4.2, 5.x and Centerline C++
21990 lt_prog_compiler_pic_CXX='-KPIC'
21991 lt_prog_compiler_static_CXX='-Bstatic'
21992 lt_prog_compiler_wl_CXX='-Qoption ld '
21993 ;;
21994 gcx*)
21995 # Green Hills C++ Compiler
21996 lt_prog_compiler_pic_CXX='-PIC'
21997 ;;
21998 *)
21999 ;;
22000 esac
22001 ;;
22002 sunos4*)
22003 case $cc_basename in
22004 CC*)
22005 # Sun C++ 4.x
22006 lt_prog_compiler_pic_CXX='-pic'
22007 lt_prog_compiler_static_CXX='-Bstatic'
22008 ;;
22009 lcc*)
22010 # Lucid
22011 lt_prog_compiler_pic_CXX='-pic'
22012 ;;
22013 *)
22014 ;;
22015 esac
22016 ;;
22017 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
22018 case $cc_basename in
22019 CC*)
22020 lt_prog_compiler_wl_CXX='-Wl,'
22021 lt_prog_compiler_pic_CXX='-KPIC'
22022 lt_prog_compiler_static_CXX='-Bstatic'
22023 ;;
22024 esac
22025 ;;
22026 tandem*)
22027 case $cc_basename in
22028 NCC*)
22029 # NonStop-UX NCC 3.20
22030 lt_prog_compiler_pic_CXX='-KPIC'
22031 ;;
22032 *)
22033 ;;
22034 esac
22035 ;;
22036 vxworks*)
22037 ;;
22038 *)
22039 lt_prog_compiler_can_build_shared_CXX=no
22040 ;;
22041 esac
22042 fi
22043
22044 case $host_os in
22045 # For platforms that do not support PIC, -DPIC is meaningless:
22046 *djgpp*)
22047 lt_prog_compiler_pic_CXX=
22048 ;;
22049 *)
22050 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
22051 ;;
22052 esac
22053
22054 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
22055 printf %s "checking for $compiler option to produce PIC... " >&6; }
22056 if test ${lt_cv_prog_compiler_pic_CXX+y}
22057 then :
22058 printf %s "(cached) " >&6
22059 else case e in #(
22060 e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
22061 esac
22062 fi
22063 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
22064 printf '%s\n' "$lt_cv_prog_compiler_pic_CXX" >&6; }
22065 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
22066
22067 #
22068 # Check to make sure the PIC flag actually works.
22069 #
22070 if test -n "$lt_prog_compiler_pic_CXX"; then
22071 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
22072 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
22073 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
22074 then :
22075 printf %s "(cached) " >&6
22076 else case e in #(
22077 e) lt_cv_prog_compiler_pic_works_CXX=no
22078 ac_outfile=conftest.$ac_objext
22079 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22080 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
22081 # Insert the option either (1) after the last *FLAGS variable, or
22082 # (2) before a word containing "conftest.", or (3) at the end.
22083 # Note that $ac_compile itself does not contain backslashes and begins
22084 # with a dollar sign (not a hyphen), so the echo should work correctly.
22085 # The option is referenced via a variable to avoid confusing sed.
22086 lt_compile=`echo "$ac_compile" | $SED \
22087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22089 -e 's:$: $lt_compiler_flag:'`
22090 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22091 (eval "$lt_compile" 2>conftest.err)
22092 ac_status=$?
22093 cat conftest.err >&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 if (exit $ac_status) && test -s "$ac_outfile"; then
22096 # The compiler can only warn and ignore the option if not recognized
22097 # So say no if there are warnings other than the usual output.
22098 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
22099 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22100 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
22101 lt_cv_prog_compiler_pic_works_CXX=yes
22102 fi
22103 fi
22104 $RM conftest*
22105 ;;
22106 esac
22107 fi
22108 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
22109 printf '%s\n' "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
22110
22111 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
22112 case $lt_prog_compiler_pic_CXX in
22113 "" | " "*) ;;
22114 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
22115 esac
22116 else
22117 lt_prog_compiler_pic_CXX=
22118 lt_prog_compiler_can_build_shared_CXX=no
22119 fi
22120
22121 fi
22122
22123
22124
22125
22126
22127 #
22128 # Check to make sure the static flag actually works.
22129 #
22130 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
22131 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
22132 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
22133 if test ${lt_cv_prog_compiler_static_works_CXX+y}
22134 then :
22135 printf %s "(cached) " >&6
22136 else case e in #(
22137 e) lt_cv_prog_compiler_static_works_CXX=no
22138 save_LDFLAGS=$LDFLAGS
22139 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
22140 echo "$lt_simple_link_test_code" > conftest.$ac_ext
22141 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
22142 # The linker can only warn and ignore the option if not recognized
22143 # So say no if there are warnings
22144 if test -s conftest.err; then
22145 # Append any errors to the config.log.
22146 cat conftest.err 1>&5
22147 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
22148 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22149 if diff conftest.exp conftest.er2 >/dev/null; then
22150 lt_cv_prog_compiler_static_works_CXX=yes
22151 fi
22152 else
22153 lt_cv_prog_compiler_static_works_CXX=yes
22154 fi
22155 fi
22156 $RM -r conftest*
22157 LDFLAGS=$save_LDFLAGS
22158 ;;
22159 esac
22160 fi
22161 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
22162 printf '%s\n' "$lt_cv_prog_compiler_static_works_CXX" >&6; }
22163
22164 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
22165 :
22166 else
22167 lt_prog_compiler_static_CXX=
22168 fi
22169
22170
22171
22172
22173 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
22174 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
22175 if test ${lt_cv_prog_compiler_c_o_CXX+y}
22176 then :
22177 printf %s "(cached) " >&6
22178 else case e in #(
22179 e) lt_cv_prog_compiler_c_o_CXX=no
22180 $RM -r conftest 2>/dev/null
22181 mkdir conftest
22182 cd conftest
22183 mkdir out
22184 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22185
22186 lt_compiler_flag="-o out/conftest2.$ac_objext"
22187 # Insert the option either (1) after the last *FLAGS variable, or
22188 # (2) before a word containing "conftest.", or (3) at the end.
22189 # Note that $ac_compile itself does not contain backslashes and begins
22190 # with a dollar sign (not a hyphen), so the echo should work correctly.
22191 lt_compile=`echo "$ac_compile" | $SED \
22192 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22194 -e 's:$: $lt_compiler_flag:'`
22195 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22196 (eval "$lt_compile" 2>out/conftest.err)
22197 ac_status=$?
22198 cat out/conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22201 then
22202 # The compiler can only warn and ignore the option if not recognized
22203 # So say no if there are warnings
22204 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
22205 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22206 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22207 lt_cv_prog_compiler_c_o_CXX=yes
22208 fi
22209 fi
22210 chmod u+w . 2>&5
22211 $RM conftest*
22212 # SGI C++ compiler will create directory out/ii_files/ for
22213 # template instantiation
22214 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
22215 $RM out/* && rmdir out
22216 cd ..
22217 $RM -r conftest
22218 $RM conftest*
22219 ;;
22220 esac
22221 fi
22222 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
22223 printf '%s\n' "$lt_cv_prog_compiler_c_o_CXX" >&6; }
22224
22225
22226
22227 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
22228 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
22229 if test ${lt_cv_prog_compiler_c_o_CXX+y}
22230 then :
22231 printf %s "(cached) " >&6
22232 else case e in #(
22233 e) lt_cv_prog_compiler_c_o_CXX=no
22234 $RM -r conftest 2>/dev/null
22235 mkdir conftest
22236 cd conftest
22237 mkdir out
22238 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22239
22240 lt_compiler_flag="-o out/conftest2.$ac_objext"
22241 # Insert the option either (1) after the last *FLAGS variable, or
22242 # (2) before a word containing "conftest.", or (3) at the end.
22243 # Note that $ac_compile itself does not contain backslashes and begins
22244 # with a dollar sign (not a hyphen), so the echo should work correctly.
22245 lt_compile=`echo "$ac_compile" | $SED \
22246 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22248 -e 's:$: $lt_compiler_flag:'`
22249 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22250 (eval "$lt_compile" 2>out/conftest.err)
22251 ac_status=$?
22252 cat out/conftest.err >&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22255 then
22256 # The compiler can only warn and ignore the option if not recognized
22257 # So say no if there are warnings
22258 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
22259 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22260 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22261 lt_cv_prog_compiler_c_o_CXX=yes
22262 fi
22263 fi
22264 chmod u+w . 2>&5
22265 $RM conftest*
22266 # SGI C++ compiler will create directory out/ii_files/ for
22267 # template instantiation
22268 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
22269 $RM out/* && rmdir out
22270 cd ..
22271 $RM -r conftest
22272 $RM conftest*
22273 ;;
22274 esac
22275 fi
22276 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
22277 printf '%s\n' "$lt_cv_prog_compiler_c_o_CXX" >&6; }
22278
22279
22280
22281
22282 hard_links=nottested
22283 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
22284 # do not overwrite the value of need_locks provided by the user
22285 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
22286 printf %s "checking if we can lock with hard links... " >&6; }
22287 hard_links=yes
22288 $RM conftest*
22289 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22290 touch conftest.a
22291 ln conftest.a conftest.b 2>&5 || hard_links=no
22292 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22293 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
22294 printf '%s\n' "$hard_links" >&6; }
22295 if test no = "$hard_links"; then
22296 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
22297 printf '%s\n' "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
22298 need_locks=warn
22299 fi
22300 else
22301 need_locks=no
22302 fi
22303
22304
22305
22306 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22307 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
22308
22309 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22310 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
22311 case $host_os in
22312 aix[4-9]*)
22313 # If we're using GNU nm, then we don't want the "-C" option.
22314 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
22315 # Without the "-l" option, or with the "-B" option, AIX nm treats
22316 # weak defined symbols like other global defined symbols, whereas
22317 # GNU nm marks them as "W".
22318 # While the 'weak' keyword is ignored in the Export File, we need
22319 # it in the Import File for the 'aix-soname' feature, so we have
22320 # to replace the "-B" option with "-P" for AIX nm.
22321 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
22322 export_symbols_cmds_CXX='$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'
22323 else
22324 export_symbols_cmds_CXX='`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'
22325 fi
22326 ;;
22327 pw32*)
22328 export_symbols_cmds_CXX=$ltdll_cmds
22329 ;;
22330 cygwin* | mingw* | windows* | cegcc*)
22331 case $cc_basename in
22332 cl* | icl*)
22333 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
22334 ;;
22335 *)
22336 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
22337 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
22338 ;;
22339 esac
22340 ;;
22341 linux* | k*bsd*-gnu | gnu*)
22342 link_all_deplibs_CXX=no
22343 ;;
22344 *)
22345 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22346 ;;
22347 esac
22348
22349 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
22350 printf '%s\n' "$ld_shlibs_CXX" >&6; }
22351 test no = "$ld_shlibs_CXX" && can_build_shared=no
22352
22353 with_gnu_ld_CXX=$with_gnu_ld
22354
22355
22356
22357
22358
22359
22360 #
22361 # Do we need to explicitly link libc?
22362 #
22363 case "x$archive_cmds_need_lc_CXX" in
22364 x|xyes)
22365 # Assume -lc should be added
22366 archive_cmds_need_lc_CXX=yes
22367
22368 if test yes,yes = "$GCC,$enable_shared"; then
22369 case $archive_cmds_CXX in
22370 *'~'*)
22371 # FIXME: we may have to deal with multi-command sequences.
22372 ;;
22373 '$CC '*)
22374 # Test whether the compiler implicitly links with -lc since on some
22375 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22376 # to ld, don't add -lc before -lgcc.
22377 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
22378 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
22379 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
22380 then :
22381 printf %s "(cached) " >&6
22382 else case e in #(
22383 e) $RM conftest*
22384 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22385
22386 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
22387 (eval $ac_compile) 2>&5
22388 ac_status=$?
22389 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22390 test $ac_status = 0; } 2>conftest.err; then
22391 soname=conftest
22392 lib=conftest
22393 libobjs=conftest.$ac_objext
22394 deplibs=
22395 wl=$lt_prog_compiler_wl_CXX
22396 pic_flag=$lt_prog_compiler_pic_CXX
22397 compiler_flags=-v
22398 linker_flags=-v
22399 verstring=
22400 output_objdir=.
22401 libname=conftest
22402 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
22403 allow_undefined_flag_CXX=
22404 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
22405 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
22406 ac_status=$?
22407 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22408 test $ac_status = 0; }
22409 then
22410 lt_cv_archive_cmds_need_lc_CXX=no
22411 else
22412 lt_cv_archive_cmds_need_lc_CXX=yes
22413 fi
22414 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
22415 else
22416 cat conftest.err 1>&5
22417 fi
22418 $RM conftest*
22419 ;;
22420 esac
22421 fi
22422 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
22423 printf '%s\n' "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
22424 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
22425 ;;
22426 esac
22427 fi
22428 ;;
22429 esac
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
22493 printf %s "checking dynamic linker characteristics... " >&6; }
22494
22495 library_names_spec=
22496 libname_spec='lib$name'
22497 soname_spec=
22498 shrext_cmds=.so
22499 postinstall_cmds=
22500 postuninstall_cmds=
22501 finish_cmds=
22502 finish_eval=
22503 shlibpath_var=
22504 shlibpath_overrides_runpath=unknown
22505 version_type=none
22506 dynamic_linker="$host_os ld.so"
22507 sys_lib_dlsearch_path_spec="/lib /usr/lib"
22508 need_lib_prefix=unknown
22509 hardcode_into_libs=no
22510
22511 # when you set need_version to no, make sure it does not cause -set_version
22512 # flags to be left without arguments
22513 need_version=unknown
22514
22515
22516
22517 case $host_os in
22518 aix3*)
22519 version_type=linux # correct to gnu/linux during the next big refactor
22520 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
22521 shlibpath_var=LIBPATH
22522
22523 # AIX 3 has no versioning support, so we append a major version to the name.
22524 soname_spec='$libname$release$shared_ext$major'
22525 ;;
22526
22527 aix[4-9]*)
22528 version_type=linux # correct to gnu/linux during the next big refactor
22529 need_lib_prefix=no
22530 need_version=no
22531 hardcode_into_libs=yes
22532 if test ia64 = "$host_cpu"; then
22533 # AIX 5 supports IA64
22534 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
22535 shlibpath_var=LD_LIBRARY_PATH
22536 else
22537 # With GCC up to 2.95.x, collect2 would create an import file
22538 # for dependence libraries. The import file would start with
22539 # the line '#! .'. This would cause the generated library to
22540 # depend on '.', always an invalid library. This was fixed in
22541 # development snapshots of GCC prior to 3.0.
22542 case $host_os in
22543 aix4 | aix4.[01] | aix4.[01].*)
22544 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22545 echo ' yes '
22546 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
22547 :
22548 else
22549 can_build_shared=no
22550 fi
22551 ;;
22552 esac
22553 # Using Import Files as archive members, it is possible to support
22554 # filename-based versioning of shared library archives on AIX. While
22555 # this would work for both with and without runtime linking, it will
22556 # prevent static linking of such archives. So we do filename-based
22557 # shared library versioning with .so extension only, which is used
22558 # when both runtime linking and shared linking is enabled.
22559 # Unfortunately, runtime linking may impact performance, so we do
22560 # not want this to be the default eventually. Also, we use the
22561 # versioned .so libs for executables only if there is the -brtl
22562 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
22563 # To allow for filename-based versioning support, we need to create
22564 # libNAME.so.V as an archive file, containing:
22565 # *) an Import File, referring to the versioned filename of the
22566 # archive as well as the shared archive member, telling the
22567 # bitwidth (32 or 64) of that shared object, and providing the
22568 # list of exported symbols of that shared object, eventually
22569 # decorated with the 'weak' keyword
22570 # *) the shared object with the F_LOADONLY flag set, to really avoid
22571 # it being seen by the linker.
22572 # At run time we better use the real file rather than another symlink,
22573 # but for link time we create the symlink libNAME.so -> libNAME.so.V
22574
22575 case $with_aix_soname,$aix_use_runtimelinking in
22576 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
22577 # soname into executable. Probably we can add versioning support to
22578 # collect2, so additional links can be useful in future.
22579 aix,yes) # traditional libtool
22580 dynamic_linker='AIX unversionable lib.so'
22581 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22582 # instead of lib<name>.a to let people know that these are not
22583 # typical AIX shared libraries.
22584 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22585 ;;
22586 aix,no) # traditional AIX only
22587 dynamic_linker='AIX lib.a(lib.so.V)'
22588 # We preserve .a as extension for shared libraries through AIX4.2
22589 # and later when we are not doing run time linking.
22590 library_names_spec='$libname$release.a $libname.a'
22591 soname_spec='$libname$release$shared_ext$major'
22592 ;;
22593 svr4,*) # full svr4 only
22594 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
22595 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
22596 # We do not specify a path in Import Files, so LIBPATH fires.
22597 shlibpath_overrides_runpath=yes
22598 ;;
22599 *,yes) # both, prefer svr4
22600 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
22601 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
22602 # unpreferred sharedlib libNAME.a needs extra handling
22603 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"'
22604 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"'
22605 # We do not specify a path in Import Files, so LIBPATH fires.
22606 shlibpath_overrides_runpath=yes
22607 ;;
22608 *,no) # both, prefer aix
22609 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
22610 library_names_spec='$libname$release.a $libname.a'
22611 soname_spec='$libname$release$shared_ext$major'
22612 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
22613 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)'
22614 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"'
22615 ;;
22616 esac
22617 shlibpath_var=LIBPATH
22618 fi
22619 ;;
22620
22621 amigaos*)
22622 case $host_cpu in
22623 powerpc)
22624 # Since July 2007 AmigaOS4 officially supports .so libraries.
22625 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
22626 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22627 ;;
22628 m68k)
22629 library_names_spec='$libname.ixlibrary $libname.a'
22630 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22631 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'
22632 ;;
22633 esac
22634 ;;
22635
22636 beos*)
22637 library_names_spec='$libname$shared_ext'
22638 dynamic_linker="$host_os ld.so"
22639 shlibpath_var=LIBRARY_PATH
22640 ;;
22641
22642 bsdi[45]*)
22643 version_type=linux # correct to gnu/linux during the next big refactor
22644 need_version=no
22645 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22646 soname_spec='$libname$release$shared_ext$major'
22647 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22648 shlibpath_var=LD_LIBRARY_PATH
22649 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22650 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22651 # the default ld.so.conf also contains /usr/contrib/lib and
22652 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22653 # libtool to hard-code these into programs
22654 ;;
22655
22656 cygwin* | mingw* | windows* | pw32* | cegcc*)
22657 version_type=windows
22658 shrext_cmds=.dll
22659 need_version=no
22660 need_lib_prefix=no
22661
22662 case $GCC,$cc_basename in
22663 yes,*)
22664 # gcc
22665 library_names_spec='$libname.dll.a'
22666 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22667 # If user builds GCC with multilib enabled,
22668 # it should just install on $(libdir)
22669 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
22670 if test xyes = x"$multilib"; then
22671 postinstall_cmds='base_file=`basename \$file`~
22672 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
22673 dldir=$destdir/`dirname \$dlpath`~
22674 $install_prog $dir/$dlname $destdir/$dlname~
22675 chmod a+x $destdir/$dlname~
22676 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
22677 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
22678 fi'
22679 else
22680 postinstall_cmds='base_file=`basename \$file`~
22681 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
22682 dldir=$destdir/`dirname \$dlpath`~
22683 test -d \$dldir || mkdir -p \$dldir~
22684 $install_prog $dir/$dlname \$dldir/$dlname~
22685 chmod a+x \$dldir/$dlname~
22686 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
22687 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
22688 fi'
22689 fi
22690 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22691 dlpath=$dir/\$dldll~
22692 $RM \$dlpath'
22693 shlibpath_overrides_runpath=yes
22694
22695 case $host_os in
22696 cygwin*)
22697 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22698 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
22699
22700 ;;
22701 mingw* | windows* | cegcc*)
22702 # MinGW DLLs use traditional 'lib' prefix
22703 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
22704 ;;
22705 pw32*)
22706 # pw32 DLLs use 'pw' prefix rather than 'lib'
22707 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
22708 ;;
22709 esac
22710 dynamic_linker='Win32 ld.exe'
22711 ;;
22712
22713 *,cl* | *,icl*)
22714 # Native MSVC or ICC
22715 libname_spec='$name'
22716 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
22717 library_names_spec='$libname.dll.lib'
22718
22719 case $build_os in
22720 mingw* | windows*)
22721 sys_lib_search_path_spec=
22722 lt_save_ifs=$IFS
22723 IFS=';'
22724 for lt_path in $LIB
22725 do
22726 IFS=$lt_save_ifs
22727 # Let DOS variable expansion print the short 8.3 style file name.
22728 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
22729 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
22730 done
22731 IFS=$lt_save_ifs
22732 # Convert to MSYS style.
22733 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
22734 ;;
22735 cygwin*)
22736 # Convert to unix form, then to dos form, then back to unix form
22737 # but this time dos style (no spaces!) so that the unix form looks
22738 # like /cygdrive/c/PROGRA~1:/cygdr...
22739 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
22740 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
22741 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22742 ;;
22743 *)
22744 sys_lib_search_path_spec=$LIB
22745 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
22746 # It is most probably a Windows format PATH.
22747 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22748 else
22749 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22750 fi
22751 # FIXME: find the short name or the path components, as spaces are
22752 # common. (e.g. "Program Files" -> "PROGRA~1")
22753 ;;
22754 esac
22755
22756 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22757 postinstall_cmds='base_file=`basename \$file`~
22758 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
22759 dldir=$destdir/`dirname \$dlpath`~
22760 test -d \$dldir || mkdir -p \$dldir~
22761 $install_prog $dir/$dlname \$dldir/$dlname'
22762 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22763 dlpath=$dir/\$dldll~
22764 $RM \$dlpath'
22765 shlibpath_overrides_runpath=yes
22766 dynamic_linker='Win32 link.exe'
22767 ;;
22768
22769 *)
22770 # Assume MSVC and ICC wrapper
22771 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
22772 dynamic_linker='Win32 ld.exe'
22773 ;;
22774 esac
22775 # FIXME: first we should search . and the directory the executable is in
22776 shlibpath_var=PATH
22777 ;;
22778
22779 darwin* | rhapsody*)
22780 dynamic_linker="$host_os dyld"
22781 version_type=darwin
22782 need_lib_prefix=no
22783 need_version=no
22784 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
22785 soname_spec='$libname$release$major$shared_ext'
22786 shlibpath_overrides_runpath=yes
22787 shlibpath_var=DYLD_LIBRARY_PATH
22788 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22789
22790 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22791 ;;
22792
22793 dgux*)
22794 version_type=linux # correct to gnu/linux during the next big refactor
22795 need_lib_prefix=no
22796 need_version=no
22797 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22798 soname_spec='$libname$release$shared_ext$major'
22799 shlibpath_var=LD_LIBRARY_PATH
22800 ;;
22801
22802 freebsd* | dragonfly* | midnightbsd*)
22803 # DragonFly does not have aout. When/if they implement a new
22804 # versioning mechanism, adjust this.
22805 if test -x /usr/bin/objformat; then
22806 objformat=`/usr/bin/objformat`
22807 else
22808 case $host_os in
22809 freebsd[23].*) objformat=aout ;;
22810 *) objformat=elf ;;
22811 esac
22812 fi
22813 version_type=freebsd-$objformat
22814 case $version_type in
22815 freebsd-elf*)
22816 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22817 soname_spec='$libname$release$shared_ext$major'
22818 need_version=no
22819 need_lib_prefix=no
22820 ;;
22821 freebsd-*)
22822 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
22823 need_version=yes
22824 ;;
22825 esac
22826 case $host_cpu in
22827 powerpc64)
22828 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
22829 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
22830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22831 /* end confdefs.h. */
22832 int test_pointer_size[sizeof (void *) - 5];
22833
22834 _ACEOF
22835 if ac_fn_cxx_try_compile "$LINENO"
22836 then :
22837 shlibpath_var=LD_LIBRARY_PATH
22838 else case e in #(
22839 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
22840 esac
22841 fi
22842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22843 ;;
22844 *)
22845 shlibpath_var=LD_LIBRARY_PATH
22846 ;;
22847 esac
22848 case $host_os in
22849 freebsd2.*)
22850 shlibpath_overrides_runpath=yes
22851 ;;
22852 freebsd3.[01]* | freebsdelf3.[01]*)
22853 shlibpath_overrides_runpath=yes
22854 hardcode_into_libs=yes
22855 ;;
22856 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22857 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22858 shlibpath_overrides_runpath=no
22859 hardcode_into_libs=yes
22860 ;;
22861 *) # from 4.6 on, and DragonFly
22862 shlibpath_overrides_runpath=yes
22863 hardcode_into_libs=yes
22864 ;;
22865 esac
22866 ;;
22867
22868 haiku*)
22869 version_type=linux # correct to gnu/linux during the next big refactor
22870 need_lib_prefix=no
22871 need_version=no
22872 dynamic_linker="$host_os runtime_loader"
22873 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22874 soname_spec='$libname$release$shared_ext$major'
22875 shlibpath_var=LIBRARY_PATH
22876 shlibpath_overrides_runpath=no
22877 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
22878 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
22879 hardcode_into_libs=no
22880 ;;
22881
22882 hpux9* | hpux10* | hpux11*)
22883 # Give a soname corresponding to the major version so that dld.sl refuses to
22884 # link against other versions.
22885 version_type=sunos
22886 need_lib_prefix=no
22887 need_version=no
22888 case $host_cpu in
22889 ia64*)
22890 shrext_cmds='.so'
22891 hardcode_into_libs=yes
22892 dynamic_linker="$host_os dld.so"
22893 shlibpath_var=LD_LIBRARY_PATH
22894 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22895 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22896 soname_spec='$libname$release$shared_ext$major'
22897 if test 32 = "$HPUX_IA64_MODE"; then
22898 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22899 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
22900 else
22901 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22902 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
22903 fi
22904 ;;
22905 hppa*64*)
22906 shrext_cmds='.sl'
22907 hardcode_into_libs=yes
22908 dynamic_linker="$host_os dld.sl"
22909 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22910 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22911 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22912 soname_spec='$libname$release$shared_ext$major'
22913 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22914 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22915 ;;
22916 *)
22917 shrext_cmds='.sl'
22918 dynamic_linker="$host_os dld.sl"
22919 shlibpath_var=SHLIB_PATH
22920 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22921 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22922 soname_spec='$libname$release$shared_ext$major'
22923 ;;
22924 esac
22925 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
22926 postinstall_cmds='chmod 555 $lib'
22927 # or fails outright, so override atomically:
22928 install_override_mode=555
22929 ;;
22930
22931 interix[3-9]*)
22932 version_type=linux # correct to gnu/linux during the next big refactor
22933 need_lib_prefix=no
22934 need_version=no
22935 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22936 soname_spec='$libname$release$shared_ext$major'
22937 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22938 shlibpath_var=LD_LIBRARY_PATH
22939 shlibpath_overrides_runpath=no
22940 hardcode_into_libs=yes
22941 ;;
22942
22943 irix5* | irix6* | nonstopux*)
22944 case $host_os in
22945 nonstopux*) version_type=nonstopux ;;
22946 *)
22947 if test yes = "$lt_cv_prog_gnu_ld"; then
22948 version_type=linux # correct to gnu/linux during the next big refactor
22949 else
22950 version_type=irix
22951 fi ;;
22952 esac
22953 need_lib_prefix=no
22954 need_version=no
22955 soname_spec='$libname$release$shared_ext$major'
22956 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
22957 case $host_os in
22958 irix5* | nonstopux*)
22959 libsuff= shlibsuff=
22960 ;;
22961 *)
22962 case $LD in # libtool.m4 will add one of these switches to LD
22963 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22964 libsuff= shlibsuff= libmagic=32-bit;;
22965 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22966 libsuff=32 shlibsuff=N32 libmagic=N32;;
22967 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22968 libsuff=64 shlibsuff=64 libmagic=64-bit;;
22969 *) libsuff= shlibsuff= libmagic=never-match;;
22970 esac
22971 ;;
22972 esac
22973 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22974 shlibpath_overrides_runpath=no
22975 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
22976 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
22977 hardcode_into_libs=yes
22978 ;;
22979
22980 # No shared lib support for Linux oldld, aout, or coff.
22981 linux*oldld* | linux*aout* | linux*coff*)
22982 dynamic_linker=no
22983 ;;
22984
22985 linux*android*)
22986 version_type=none # Android doesn't support versioned libraries.
22987 need_lib_prefix=no
22988 need_version=no
22989 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
22990 soname_spec='$libname$release$shared_ext'
22991 finish_cmds=
22992 shlibpath_var=LD_LIBRARY_PATH
22993 shlibpath_overrides_runpath=yes
22994
22995 # This implies no fast_install, which is unacceptable.
22996 # Some rework will be needed to allow for fast_install
22997 # before this can be enabled.
22998 hardcode_into_libs=yes
22999
23000 dynamic_linker='Android linker'
23001 # -rpath works at least for libraries that are not overridden by
23002 # libraries installed in system locations.
23003 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
23004 ;;
23005
23006 # This must be glibc/ELF.
23007 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
23008 version_type=linux # correct to gnu/linux during the next big refactor
23009 need_lib_prefix=no
23010 need_version=no
23011 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23012 soname_spec='$libname$release$shared_ext$major'
23013 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23014 shlibpath_var=LD_LIBRARY_PATH
23015 shlibpath_overrides_runpath=no
23016
23017 # Some binutils ld are patched to set DT_RUNPATH
23018 if test ${lt_cv_shlibpath_overrides_runpath+y}
23019 then :
23020 printf %s "(cached) " >&6
23021 else case e in #(
23022 e) lt_cv_shlibpath_overrides_runpath=no
23023 save_LDFLAGS=$LDFLAGS
23024 save_libdir=$libdir
23025 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
23026 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
23027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23028 /* end confdefs.h. */
23029
23030 int
23031 main (void)
23032 {
23033
23034 ;
23035 return 0;
23036 }
23037 _ACEOF
23038 if ac_fn_cxx_try_link "$LINENO"
23039 then :
23040 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
23041 then :
23042 lt_cv_shlibpath_overrides_runpath=yes
23043 fi
23044 fi
23045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23046 conftest$ac_exeext conftest.$ac_ext
23047 LDFLAGS=$save_LDFLAGS
23048 libdir=$save_libdir
23049 ;;
23050 esac
23051 fi
23052
23053 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
23054
23055 # This implies no fast_install, which is unacceptable.
23056 # Some rework will be needed to allow for fast_install
23057 # before this can be enabled.
23058 hardcode_into_libs=yes
23059
23060 # Ideally, we could use ldconfig to report *all* directories which are
23061 # searched for libraries, however this is still not possible. Aside from not
23062 # being certain /sbin/ldconfig is available, command
23063 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
23064 # even though it is searched at run-time. Try to do the best guess by
23065 # appending ld.so.conf contents (and includes) to the search path.
23066 if test -f /etc/ld.so.conf; then
23067 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' ' '`
23068 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
23069 fi
23070
23071 # We used to test for /lib/ld.so.1 and disable shared libraries on
23072 # powerpc, because MkLinux only supported shared libraries with the
23073 # GNU dynamic linker. Since this was broken with cross compilers,
23074 # most powerpc-linux boxes support dynamic linking these days and
23075 # people can always --disable-shared, the test was removed, and we
23076 # assume the GNU/Linux dynamic linker is in use.
23077 dynamic_linker='GNU/Linux ld.so'
23078 ;;
23079
23080 netbsdelf*-gnu)
23081 version_type=linux
23082 need_lib_prefix=no
23083 need_version=no
23084 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23085 soname_spec='$libname$release$shared_ext$major'
23086 shlibpath_var=LD_LIBRARY_PATH
23087 shlibpath_overrides_runpath=no
23088 hardcode_into_libs=yes
23089 dynamic_linker='NetBSD ld.elf_so'
23090 ;;
23091
23092 netbsdelf*-gnu)
23093 version_type=linux
23094 need_lib_prefix=no
23095 need_version=no
23096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23097 soname_spec='${libname}${release}${shared_ext}$major'
23098 shlibpath_var=LD_LIBRARY_PATH
23099 shlibpath_overrides_runpath=no
23100 hardcode_into_libs=yes
23101 dynamic_linker='NetBSD ld.elf_so'
23102 ;;
23103
23104 netbsd*)
23105 version_type=sunos
23106 need_lib_prefix=no
23107 need_version=no
23108 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
23109 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
23110 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23111 dynamic_linker='NetBSD (a.out) ld.so'
23112 else
23113 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23114 soname_spec='$libname$release$shared_ext$major'
23115 dynamic_linker='NetBSD ld.elf_so'
23116 fi
23117 shlibpath_var=LD_LIBRARY_PATH
23118 shlibpath_overrides_runpath=yes
23119 hardcode_into_libs=yes
23120 ;;
23121
23122 *-mlibc)
23123 version_type=linux # correct to gnu/linux during the next big refactor
23124 need_lib_prefix=no
23125 need_version=no
23126 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23127 soname_spec='$libname$release$shared_ext$major'
23128 dynamic_linker='mlibc ld.so'
23129 shlibpath_var=LD_LIBRARY_PATH
23130 shlibpath_overrides_runpath=no
23131 hardcode_into_libs=yes
23132 ;;
23133
23134 newsos6)
23135 version_type=linux # correct to gnu/linux during the next big refactor
23136 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23137 shlibpath_var=LD_LIBRARY_PATH
23138 shlibpath_overrides_runpath=yes
23139 ;;
23140
23141 *nto* | *qnx*)
23142 version_type=qnx
23143 need_lib_prefix=no
23144 need_version=no
23145 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23146 soname_spec='$libname$release$shared_ext$major'
23147 shlibpath_var=LD_LIBRARY_PATH
23148 shlibpath_overrides_runpath=no
23149 hardcode_into_libs=yes
23150 dynamic_linker='ldqnx.so'
23151 ;;
23152
23153 openbsd*)
23154 version_type=sunos
23155 sys_lib_dlsearch_path_spec=/usr/lib
23156 need_lib_prefix=no
23157 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
23158 need_version=no
23159 else
23160 need_version=yes
23161 fi
23162 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
23163 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23164 shlibpath_var=LD_LIBRARY_PATH
23165 shlibpath_overrides_runpath=yes
23166 ;;
23167
23168 os2*)
23169 libname_spec='$name'
23170 version_type=windows
23171 shrext_cmds=.dll
23172 need_version=no
23173 need_lib_prefix=no
23174 # OS/2 can only load a DLL with a base name of 8 characters or less.
23175 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
23176 v=$($ECHO $release$versuffix | tr -d .-);
23177 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
23178 $ECHO $n$v`$shared_ext'
23179 library_names_spec='${libname}_dll.$libext'
23180 dynamic_linker='OS/2 ld.exe'
23181 shlibpath_var=BEGINLIBPATH
23182 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
23183 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23184 postinstall_cmds='base_file=`basename \$file`~
23185 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
23186 dldir=$destdir/`dirname \$dlpath`~
23187 test -d \$dldir || mkdir -p \$dldir~
23188 $install_prog $dir/$dlname \$dldir/$dlname~
23189 chmod a+x \$dldir/$dlname~
23190 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
23191 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
23192 fi'
23193 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
23194 dlpath=$dir/\$dldll~
23195 $RM \$dlpath'
23196 ;;
23197
23198 osf3* | osf4* | osf5*)
23199 version_type=osf
23200 need_lib_prefix=no
23201 need_version=no
23202 soname_spec='$libname$release$shared_ext$major'
23203 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23204 shlibpath_var=LD_LIBRARY_PATH
23205 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23206 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23207 ;;
23208
23209 rdos*)
23210 dynamic_linker=no
23211 ;;
23212
23213 serenity*)
23214 version_type=linux # correct to gnu/linux during the next big refactor
23215 need_lib_prefix=no
23216 need_version=no
23217 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23218 soname_spec='$libname$release$shared_ext$major'
23219 shlibpath_var=LD_LIBRARY_PATH
23220 shlibpath_overrides_runpath=no
23221 dynamic_linker='SerenityOS LibELF'
23222 ;;
23223
23224 solaris*)
23225 version_type=linux # correct to gnu/linux during the next big refactor
23226 need_lib_prefix=no
23227 need_version=no
23228 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23229 soname_spec='$libname$release$shared_ext$major'
23230 shlibpath_var=LD_LIBRARY_PATH
23231 shlibpath_overrides_runpath=yes
23232 hardcode_into_libs=yes
23233 # ldd complains unless libraries are executable
23234 postinstall_cmds='chmod +x $lib'
23235 ;;
23236
23237 sunos4*)
23238 version_type=sunos
23239 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
23240 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23241 shlibpath_var=LD_LIBRARY_PATH
23242 shlibpath_overrides_runpath=yes
23243 if test yes = "$with_gnu_ld"; then
23244 need_lib_prefix=no
23245 fi
23246 need_version=yes
23247 ;;
23248
23249 sysv4 | sysv4.3*)
23250 version_type=linux # correct to gnu/linux during the next big refactor
23251 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23252 soname_spec='$libname$release$shared_ext$major'
23253 shlibpath_var=LD_LIBRARY_PATH
23254 case $host_vendor in
23255 sni)
23256 shlibpath_overrides_runpath=no
23257 need_lib_prefix=no
23258 runpath_var=LD_RUN_PATH
23259 ;;
23260 siemens)
23261 need_lib_prefix=no
23262 ;;
23263 motorola)
23264 need_lib_prefix=no
23265 need_version=no
23266 shlibpath_overrides_runpath=no
23267 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23268 ;;
23269 esac
23270 ;;
23271
23272 sysv4*MP*)
23273 if test -d /usr/nec; then
23274 version_type=linux # correct to gnu/linux during the next big refactor
23275 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
23276 soname_spec='$libname$shared_ext.$major'
23277 shlibpath_var=LD_LIBRARY_PATH
23278 fi
23279 ;;
23280
23281 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23282 version_type=sco
23283 need_lib_prefix=no
23284 need_version=no
23285 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
23286 soname_spec='$libname$release$shared_ext$major'
23287 shlibpath_var=LD_LIBRARY_PATH
23288 shlibpath_overrides_runpath=yes
23289 hardcode_into_libs=yes
23290 if test yes = "$with_gnu_ld"; then
23291 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23292 else
23293 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23294 case $host_os in
23295 sco3.2v5*)
23296 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23297 ;;
23298 esac
23299 fi
23300 sys_lib_dlsearch_path_spec='/usr/lib'
23301 ;;
23302
23303 tpf*)
23304 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
23305 version_type=linux # correct to gnu/linux during the next big refactor
23306 need_lib_prefix=no
23307 need_version=no
23308 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23309 shlibpath_var=LD_LIBRARY_PATH
23310 shlibpath_overrides_runpath=no
23311 hardcode_into_libs=yes
23312 ;;
23313
23314 uts4*)
23315 version_type=linux # correct to gnu/linux during the next big refactor
23316 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23317 soname_spec='$libname$release$shared_ext$major'
23318 shlibpath_var=LD_LIBRARY_PATH
23319 ;;
23320
23321 emscripten*)
23322 version_type=none
23323 need_lib_prefix=no
23324 need_version=no
23325 library_names_spec='$libname$release$shared_ext'
23326 soname_spec='$libname$release$shared_ext'
23327 finish_cmds=
23328 dynamic_linker="Emscripten linker"
23329 lt_prog_compiler_wl_CXX=
23330 lt_prog_compiler_pic_CXX=
23331 lt_prog_compiler_static_CXX=
23332
23333
23334 # C++ specific cases for pic, static, wl, etc.
23335 if test yes = "$GXX"; then
23336 lt_prog_compiler_wl_CXX='-Wl,'
23337 lt_prog_compiler_static_CXX='-static'
23338
23339 case $host_os in
23340 aix*)
23341 # All AIX code is PIC.
23342 if test ia64 = "$host_cpu"; then
23343 # AIX 5 now supports IA64 processor
23344 lt_prog_compiler_static_CXX='-Bstatic'
23345 fi
23346 lt_prog_compiler_pic_CXX='-fPIC'
23347 ;;
23348
23349 amigaos*)
23350 case $host_cpu in
23351 powerpc)
23352 # see comment about AmigaOS4 .so support
23353 lt_prog_compiler_pic_CXX='-fPIC'
23354 ;;
23355 m68k)
23356 # FIXME: we need at least 68020 code to build shared libraries, but
23357 # adding the '-m68020' flag to GCC prevents building anything better,
23358 # like '-m68040'.
23359 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
23360 ;;
23361 esac
23362 ;;
23363
23364 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23365 # PIC is the default for these OSes.
23366 ;;
23367 mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
23368 # This hack is so that the source file can tell whether it is being
23369 # built for inclusion in a dll (and should export symbols for example).
23370 # Although the cygwin gcc ignores -fPIC, still need this for old-style
23371 # (--disable-auto-import) libraries
23372 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
23373 case $host_os in
23374 os2*)
23375 lt_prog_compiler_static_CXX='$wl-static'
23376 ;;
23377 esac
23378 ;;
23379 darwin* | rhapsody*)
23380 # PIC is the default on this platform
23381 # Common symbols not allowed in MH_DYLIB files
23382 lt_prog_compiler_pic_CXX='-fno-common'
23383 ;;
23384 *djgpp*)
23385 # DJGPP does not support shared libraries at all
23386 lt_prog_compiler_pic_CXX=
23387 ;;
23388 haiku*)
23389 # PIC is the default for Haiku.
23390 # The "-static" flag exists, but is broken.
23391 lt_prog_compiler_static_CXX=
23392 ;;
23393 interix[3-9]*)
23394 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23395 # Instead, we relocate shared libraries at runtime.
23396 ;;
23397 sysv4*MP*)
23398 if test -d /usr/nec; then
23399 lt_prog_compiler_pic_CXX=-Kconform_pic
23400 fi
23401 ;;
23402 hpux*)
23403 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
23404 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
23405 # sets the default TLS model and affects inlining.
23406 case $host_cpu in
23407 hppa*64*)
23408 ;;
23409 *)
23410 lt_prog_compiler_pic_CXX='-fPIC'
23411 ;;
23412 esac
23413 ;;
23414 *qnx* | *nto*)
23415 # QNX uses GNU C++, but need to define -shared option too, otherwise
23416 # it will coredump.
23417 lt_prog_compiler_pic_CXX='-fPIC -shared'
23418 ;;
23419 *)
23420 lt_prog_compiler_pic_CXX='-fPIC'
23421 ;;
23422 esac
23423 else
23424 case $host_os in
23425 aix[4-9]*)
23426 # All AIX code is PIC.
23427 if test ia64 = "$host_cpu"; then
23428 # AIX 5 now supports IA64 processor
23429 lt_prog_compiler_static_CXX='-Bstatic'
23430 else
23431 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
23432 fi
23433 ;;
23434 chorus*)
23435 case $cc_basename in
23436 cxch68*)
23437 # Green Hills C++ Compiler
23438 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
23439 ;;
23440 esac
23441 ;;
23442 mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
23443 # This hack is so that the source file can tell whether it is being
23444 # built for inclusion in a dll (and should export symbols for example).
23445 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
23446 ;;
23447 dgux*)
23448 case $cc_basename in
23449 ec++*)
23450 lt_prog_compiler_pic_CXX='-KPIC'
23451 ;;
23452 ghcx*)
23453 # Green Hills C++ Compiler
23454 lt_prog_compiler_pic_CXX='-pic'
23455 ;;
23456 *)
23457 ;;
23458 esac
23459 ;;
23460 freebsd* | dragonfly* | midnightbsd*)
23461 # FreeBSD uses GNU C++
23462 ;;
23463 hpux9* | hpux10* | hpux11*)
23464 case $cc_basename in
23465 CC*)
23466 lt_prog_compiler_wl_CXX='-Wl,'
23467 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
23468 if test ia64 != "$host_cpu"; then
23469 lt_prog_compiler_pic_CXX='+Z'
23470 fi
23471 ;;
23472 aCC*)
23473 lt_prog_compiler_wl_CXX='-Wl,'
23474 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
23475 case $host_cpu in
23476 hppa*64*|ia64*)
23477 # +Z the default
23478 ;;
23479 *)
23480 lt_prog_compiler_pic_CXX='+Z'
23481 ;;
23482 esac
23483 ;;
23484 *)
23485 ;;
23486 esac
23487 ;;
23488 interix*)
23489 # This is c89, which is MS Visual C++ (no shared libs)
23490 # Anyone wants to do a port?
23491 ;;
23492 irix5* | irix6* | nonstopux*)
23493 case $cc_basename in
23494 CC*)
23495 lt_prog_compiler_wl_CXX='-Wl,'
23496 lt_prog_compiler_static_CXX='-non_shared'
23497 # CC pic flag -KPIC is the default.
23498 ;;
23499 *)
23500 ;;
23501 esac
23502 ;;
23503 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
23504 case $cc_basename in
23505 KCC*)
23506 # KAI C++ Compiler
23507 lt_prog_compiler_wl_CXX='--backend -Wl,'
23508 lt_prog_compiler_pic_CXX='-fPIC'
23509 ;;
23510 ecpc* )
23511 # old Intel C++ for x86_64, which still supported -KPIC.
23512 lt_prog_compiler_wl_CXX='-Wl,'
23513 lt_prog_compiler_pic_CXX='-KPIC'
23514 lt_prog_compiler_static_CXX='-static'
23515 ;;
23516 icpc* )
23517 # Intel C++, used to be incompatible with GCC.
23518 # ICC 10 doesn't accept -KPIC any more.
23519 lt_prog_compiler_wl_CXX='-Wl,'
23520 lt_prog_compiler_pic_CXX='-fPIC'
23521 lt_prog_compiler_static_CXX='-static'
23522 ;;
23523 pgCC* | pgcpp*)
23524 # Portland Group C++ compiler
23525 lt_prog_compiler_wl_CXX='-Wl,'
23526 lt_prog_compiler_pic_CXX='-fpic'
23527 lt_prog_compiler_static_CXX='-Bstatic'
23528 ;;
23529 cxx*)
23530 # Compaq C++
23531 # Make sure the PIC flag is empty. It appears that all Alpha
23532 # Linux and Compaq Tru64 Unix objects are PIC.
23533 lt_prog_compiler_pic_CXX=
23534 lt_prog_compiler_static_CXX='-non_shared'
23535 ;;
23536 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
23537 # IBM XL 8.0, 9.0 on PPC and BlueGene
23538 lt_prog_compiler_wl_CXX='-Wl,'
23539 lt_prog_compiler_pic_CXX='-qpic'
23540 lt_prog_compiler_static_CXX='-qstaticlink'
23541 ;;
23542 *)
23543 case `$CC -V 2>&1 | $SED 5q` in
23544 *Sun\ C*)
23545 # Sun C++ 5.9
23546 lt_prog_compiler_pic_CXX='-KPIC'
23547 lt_prog_compiler_static_CXX='-Bstatic'
23548 lt_prog_compiler_wl_CXX='-Qoption ld '
23549 ;;
23550 esac
23551 ;;
23552 esac
23553 ;;
23554 lynxos*)
23555 ;;
23556 m88k*)
23557 ;;
23558 mvs*)
23559 case $cc_basename in
23560 cxx*)
23561 lt_prog_compiler_pic_CXX='-W c,exportall'
23562 ;;
23563 *)
23564 ;;
23565 esac
23566 ;;
23567 netbsd* | netbsdelf*-gnu)
23568 ;;
23569 *-mlibc)
23570 ;;
23571 *qnx* | *nto*)
23572 # QNX uses GNU C++, but need to define -shared option too, otherwise
23573 # it will coredump.
23574 lt_prog_compiler_pic_CXX='-fPIC -shared'
23575 ;;
23576 osf3* | osf4* | osf5*)
23577 case $cc_basename in
23578 KCC*)
23579 lt_prog_compiler_wl_CXX='--backend -Wl,'
23580 ;;
23581 RCC*)
23582 # Rational C++ 2.4.1
23583 lt_prog_compiler_pic_CXX='-pic'
23584 ;;
23585 cxx*)
23586 # Digital/Compaq C++
23587 lt_prog_compiler_wl_CXX='-Wl,'
23588 # Make sure the PIC flag is empty. It appears that all Alpha
23589 # Linux and Compaq Tru64 Unix objects are PIC.
23590 lt_prog_compiler_pic_CXX=
23591 lt_prog_compiler_static_CXX='-non_shared'
23592 ;;
23593 *)
23594 ;;
23595 esac
23596 ;;
23597 psos*)
23598 ;;
23599 serenity*)
23600 ;;
23601 solaris*)
23602 case $cc_basename in
23603 CC* | sunCC*)
23604 # Sun C++ 4.2, 5.x and Centerline C++
23605 lt_prog_compiler_pic_CXX='-KPIC'
23606 lt_prog_compiler_static_CXX='-Bstatic'
23607 lt_prog_compiler_wl_CXX='-Qoption ld '
23608 ;;
23609 gcx*)
23610 # Green Hills C++ Compiler
23611 lt_prog_compiler_pic_CXX='-PIC'
23612 ;;
23613 *)
23614 ;;
23615 esac
23616 ;;
23617 sunos4*)
23618 case $cc_basename in
23619 CC*)
23620 # Sun C++ 4.x
23621 lt_prog_compiler_pic_CXX='-pic'
23622 lt_prog_compiler_static_CXX='-Bstatic'
23623 ;;
23624 lcc*)
23625 # Lucid
23626 lt_prog_compiler_pic_CXX='-pic'
23627 ;;
23628 *)
23629 ;;
23630 esac
23631 ;;
23632 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23633 case $cc_basename in
23634 CC*)
23635 lt_prog_compiler_wl_CXX='-Wl,'
23636 lt_prog_compiler_pic_CXX='-KPIC'
23637 lt_prog_compiler_static_CXX='-Bstatic'
23638 ;;
23639 esac
23640 ;;
23641 tandem*)
23642 case $cc_basename in
23643 NCC*)
23644 # NonStop-UX NCC 3.20
23645 lt_prog_compiler_pic_CXX='-KPIC'
23646 ;;
23647 *)
23648 ;;
23649 esac
23650 ;;
23651 vxworks*)
23652 ;;
23653 *)
23654 lt_prog_compiler_can_build_shared_CXX=no
23655 ;;
23656 esac
23657 fi
23658
23659 case $host_os in
23660 # For platforms that do not support PIC, -DPIC is meaningless:
23661 *djgpp*)
23662 lt_prog_compiler_pic_CXX=
23663 ;;
23664 *)
23665 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
23666 ;;
23667 esac
23668
23669 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
23670 printf %s "checking for $compiler option to produce PIC... " >&6; }
23671 if test ${lt_cv_prog_compiler_pic_CXX+y}
23672 then :
23673 printf %s "(cached) " >&6
23674 else case e in #(
23675 e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
23676 esac
23677 fi
23678 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
23679 printf '%s\n' "$lt_cv_prog_compiler_pic_CXX" >&6; }
23680 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
23681
23682 #
23683 # Check to make sure the PIC flag actually works.
23684 #
23685 if test -n "$lt_prog_compiler_pic_CXX"; then
23686 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
23687 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
23688 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
23689 then :
23690 printf %s "(cached) " >&6
23691 else case e in #(
23692 e) lt_cv_prog_compiler_pic_works_CXX=no
23693 ac_outfile=conftest.$ac_objext
23694 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23695 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
23696 # Insert the option either (1) after the last *FLAGS variable, or
23697 # (2) before a word containing "conftest.", or (3) at the end.
23698 # Note that $ac_compile itself does not contain backslashes and begins
23699 # with a dollar sign (not a hyphen), so the echo should work correctly.
23700 # The option is referenced via a variable to avoid confusing sed.
23701 lt_compile=`echo "$ac_compile" | $SED \
23702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23704 -e 's:$: $lt_compiler_flag:'`
23705 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
23706 (eval "$lt_compile" 2>conftest.err)
23707 ac_status=$?
23708 cat conftest.err >&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 if (exit $ac_status) && test -s "$ac_outfile"; then
23711 # The compiler can only warn and ignore the option if not recognized
23712 # So say no if there are warnings other than the usual output.
23713 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
23714 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23715 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23716 lt_cv_prog_compiler_pic_works_CXX=yes
23717 fi
23718 fi
23719 $RM conftest*
23720 ;;
23721 esac
23722 fi
23723 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
23724 printf '%s\n' "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
23725
23726 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
23727 case $lt_prog_compiler_pic_CXX in
23728 "" | " "*) ;;
23729 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
23730 esac
23731 else
23732 lt_prog_compiler_pic_CXX=
23733 lt_prog_compiler_can_build_shared_CXX=no
23734 fi
23735
23736 fi
23737
23738
23739
23740
23741
23742 #
23743 # Check to make sure the static flag actually works.
23744 #
23745 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
23746 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23747 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
23748 if test ${lt_cv_prog_compiler_static_works_CXX+y}
23749 then :
23750 printf %s "(cached) " >&6
23751 else case e in #(
23752 e) lt_cv_prog_compiler_static_works_CXX=no
23753 save_LDFLAGS=$LDFLAGS
23754 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
23755 echo "$lt_simple_link_test_code" > conftest.$ac_ext
23756 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
23757 # The linker can only warn and ignore the option if not recognized
23758 # So say no if there are warnings
23759 if test -s conftest.err; then
23760 # Append any errors to the config.log.
23761 cat conftest.err 1>&5
23762 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
23763 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23764 if diff conftest.exp conftest.er2 >/dev/null; then
23765 lt_cv_prog_compiler_static_works_CXX=yes
23766 fi
23767 else
23768 lt_cv_prog_compiler_static_works_CXX=yes
23769 fi
23770 fi
23771 $RM -r conftest*
23772 LDFLAGS=$save_LDFLAGS
23773 ;;
23774 esac
23775 fi
23776 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
23777 printf '%s\n' "$lt_cv_prog_compiler_static_works_CXX" >&6; }
23778
23779 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
23780 :
23781 else
23782 lt_prog_compiler_static_CXX=
23783 fi
23784
23785
23786
23787 ='-fPIC'
23788 archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
23789 archive_expsym_cmds_CXX='$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'
23790 archive_cmds_need_lc_CXX=no
23791 no_undefined_flag_CXX=
23792 ;;
23793
23794 *)
23795 dynamic_linker=no
23796 ;;
23797 esac
23798 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
23799 printf '%s\n' "$dynamic_linker" >&6; }
23800 test no = "$dynamic_linker" && can_build_shared=no
23801
23802 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23803 if test yes = "$GCC"; then
23804 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23805 fi
23806
23807 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
23808 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
23809 fi
23810
23811 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
23812 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
23813 fi
23814
23815 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
23816 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
23817
23818 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
23819 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
23820
23821 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
23822 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
23864 printf %s "checking how to hardcode library paths into programs... " >&6; }
23865 hardcode_action_CXX=
23866 if test -n "$hardcode_libdir_flag_spec_CXX" ||
23867 test -n "$runpath_var_CXX" ||
23868 test yes = "$hardcode_automatic_CXX"; then
23869
23870 # We can hardcode non-existent directories.
23871 if test no != "$hardcode_direct_CXX" &&
23872 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23873 # have to relink, otherwise we might link with an installed library
23874 # when we should be linking with a yet-to-be-installed one
23875 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
23876 test no != "$hardcode_minus_L_CXX"; then
23877 # Linking always hardcodes the temporary library directory.
23878 hardcode_action_CXX=relink
23879 else
23880 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23881 hardcode_action_CXX=immediate
23882 fi
23883 else
23884 # We cannot hardcode anything, or else we can only hardcode existing
23885 # directories.
23886 hardcode_action_CXX=unsupported
23887 fi
23888 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
23889 printf '%s\n' "$hardcode_action_CXX" >&6; }
23890
23891 if test relink = "$hardcode_action_CXX" ||
23892 test yes = "$inherit_rpath_CXX"; then
23893 # Fast installation is not supported
23894 enable_fast_install=no
23895 elif test yes = "$shlibpath_overrides_runpath" ||
23896 test no = "$enable_shared"; then
23897 # Fast installation is not necessary
23898 enable_fast_install=needless
23899 fi
23900
23901
23902
23903
23904
23905
23906
23907 fi # test -n "$compiler"
23908
23909 CC=$lt_save_CC
23910 CFLAGS=$lt_save_CFLAGS
23911 LDCXX=$LD
23912 LD=$lt_save_LD
23913 GCC=$lt_save_GCC
23914 with_gnu_ld=$lt_save_with_gnu_ld
23915 lt_cv_path_LDCXX=$lt_cv_path_LD
23916 lt_cv_path_LD=$lt_save_path_LD
23917 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
23918 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
23919 fi # test yes != "$_lt_caught_CXX_error"
23920
23921 ac_ext=c
23922 ac_cpp='$CPP $CPPFLAGS'
23923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941 ac_config_commands="$ac_config_commands libtool"
23942
23943
23944
23945
23946 # Only expand once:
23947
23948
23949
23950 # Check whether --enable-shared was given.
23951 if test ${enable_shared+y}
23952 then :
23953 enableval=$enable_shared; p=${PACKAGE-default}
23954 case $enableval in
23955 yes) enable_shared=yes ;;
23956 no) enable_shared=no ;;
23957 *)
23958 enable_shared=no
23959 # Look at the argument we got. We use all the common list separators.
23960 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
23961 for pkg in $enableval; do
23962 IFS=$lt_save_ifs
23963 if test "X$pkg" = "X$p"; then
23964 enable_shared=yes
23965 fi
23966 done
23967 IFS=$lt_save_ifs
23968 ;;
23969 esac
23970 else case e in #(
23971 e) enable_shared=yes ;;
23972 esac
23973 fi
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000 # Checks for libraries.
24001 # FIXME: Replace 'main' with a function in '-lcrypt':
24002 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
24003 printf %s "checking for main in -lcrypt... " >&6; }
24004 if test ${ac_cv_lib_crypt_main+y}
24005 then :
24006 printf %s "(cached) " >&6
24007 else case e in #(
24008 e) ac_check_lib_save_LIBS=$LIBS
24009 LIBS="-lcrypt $LIBS"
24010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24011 /* end confdefs.h. */
24012
24013
24014 int
24015 main (void)
24016 {
24017 return main ();
24018 ;
24019 return 0;
24020 }
24021 _ACEOF
24022 if ac_fn_c_try_link "$LINENO"
24023 then :
24024 ac_cv_lib_crypt_main=yes
24025 else case e in #(
24026 e) ac_cv_lib_crypt_main=no ;;
24027 esac
24028 fi
24029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24030 conftest$ac_exeext conftest.$ac_ext
24031 LIBS=$ac_check_lib_save_LIBS ;;
24032 esac
24033 fi
24034 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
24035 printf '%s\n' "$ac_cv_lib_crypt_main" >&6; }
24036 if test "x$ac_cv_lib_crypt_main" = xyes
24037 then :
24038 printf '%s\n' "#define HAVE_LIBCRYPT 1" >>confdefs.h
24039
24040 LIBS="-lcrypt $LIBS"
24041
24042 fi
24043
24044 # FIXME: Replace 'main' with a function in '-ldl':
24045 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
24046 printf %s "checking for main in -ldl... " >&6; }
24047 if test ${ac_cv_lib_dl_main+y}
24048 then :
24049 printf %s "(cached) " >&6
24050 else case e in #(
24051 e) ac_check_lib_save_LIBS=$LIBS
24052 LIBS="-ldl $LIBS"
24053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24054 /* end confdefs.h. */
24055
24056
24057 int
24058 main (void)
24059 {
24060 return main ();
24061 ;
24062 return 0;
24063 }
24064 _ACEOF
24065 if ac_fn_c_try_link "$LINENO"
24066 then :
24067 ac_cv_lib_dl_main=yes
24068 else case e in #(
24069 e) ac_cv_lib_dl_main=no ;;
24070 esac
24071 fi
24072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24073 conftest$ac_exeext conftest.$ac_ext
24074 LIBS=$ac_check_lib_save_LIBS ;;
24075 esac
24076 fi
24077 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
24078 printf '%s\n' "$ac_cv_lib_dl_main" >&6; }
24079 if test "x$ac_cv_lib_dl_main" = xyes
24080 then :
24081 printf '%s\n' "#define HAVE_LIBDL 1" >>confdefs.h
24082
24083 LIBS="-ldl $LIBS"
24084
24085 fi
24086
24087 # FIXME: Replace 'main' with a function in '-lgnu':
24088 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -lgnu" >&5
24089 printf %s "checking for main in -lgnu... " >&6; }
24090 if test ${ac_cv_lib_gnu_main+y}
24091 then :
24092 printf %s "(cached) " >&6
24093 else case e in #(
24094 e) ac_check_lib_save_LIBS=$LIBS
24095 LIBS="-lgnu $LIBS"
24096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24097 /* end confdefs.h. */
24098
24099
24100 int
24101 main (void)
24102 {
24103 return main ();
24104 ;
24105 return 0;
24106 }
24107 _ACEOF
24108 if ac_fn_c_try_link "$LINENO"
24109 then :
24110 ac_cv_lib_gnu_main=yes
24111 else case e in #(
24112 e) ac_cv_lib_gnu_main=no ;;
24113 esac
24114 fi
24115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24116 conftest$ac_exeext conftest.$ac_ext
24117 LIBS=$ac_check_lib_save_LIBS ;;
24118 esac
24119 fi
24120 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnu_main" >&5
24121 printf '%s\n' "$ac_cv_lib_gnu_main" >&6; }
24122 if test "x$ac_cv_lib_gnu_main" = xyes
24123 then :
24124 printf '%s\n' "#define HAVE_LIBGNU 1" >>confdefs.h
24125
24126 LIBS="-lgnu $LIBS"
24127
24128 fi
24129
24130 # FIXME: Replace 'main' with a function in '-lm':
24131 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
24132 printf %s "checking for main in -lm... " >&6; }
24133 if test ${ac_cv_lib_m_main+y}
24134 then :
24135 printf %s "(cached) " >&6
24136 else case e in #(
24137 e) ac_check_lib_save_LIBS=$LIBS
24138 LIBS="-lm $LIBS"
24139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24140 /* end confdefs.h. */
24141
24142
24143 int
24144 main (void)
24145 {
24146 return main ();
24147 ;
24148 return 0;
24149 }
24150 _ACEOF
24151 if ac_fn_c_try_link "$LINENO"
24152 then :
24153 ac_cv_lib_m_main=yes
24154 else case e in #(
24155 e) ac_cv_lib_m_main=no ;;
24156 esac
24157 fi
24158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24159 conftest$ac_exeext conftest.$ac_ext
24160 LIBS=$ac_check_lib_save_LIBS ;;
24161 esac
24162 fi
24163 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
24164 printf '%s\n' "$ac_cv_lib_m_main" >&6; }
24165 if test "x$ac_cv_lib_m_main" = xyes
24166 then :
24167 printf '%s\n' "#define HAVE_LIBM 1" >>confdefs.h
24168
24169 LIBS="-lm $LIBS"
24170
24171 fi
24172
24173 # FIXME: Replace 'main' with a function in '-lrt':
24174 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
24175 printf %s "checking for main in -lrt... " >&6; }
24176 if test ${ac_cv_lib_rt_main+y}
24177 then :
24178 printf %s "(cached) " >&6
24179 else case e in #(
24180 e) ac_check_lib_save_LIBS=$LIBS
24181 LIBS="-lrt $LIBS"
24182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24183 /* end confdefs.h. */
24184
24185
24186 int
24187 main (void)
24188 {
24189 return main ();
24190 ;
24191 return 0;
24192 }
24193 _ACEOF
24194 if ac_fn_c_try_link "$LINENO"
24195 then :
24196 ac_cv_lib_rt_main=yes
24197 else case e in #(
24198 e) ac_cv_lib_rt_main=no ;;
24199 esac
24200 fi
24201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24202 conftest$ac_exeext conftest.$ac_ext
24203 LIBS=$ac_check_lib_save_LIBS ;;
24204 esac
24205 fi
24206 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
24207 printf '%s\n' "$ac_cv_lib_rt_main" >&6; }
24208 if test "x$ac_cv_lib_rt_main" = xyes
24209 then :
24210 printf '%s\n' "#define HAVE_LIBRT 1" >>confdefs.h
24211
24212 LIBS="-lrt $LIBS"
24213
24214 fi
24215
24216 # FIXME: Replace 'main' with a function in '-luuid':
24217 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -luuid" >&5
24218 printf %s "checking for main in -luuid... " >&6; }
24219 if test ${ac_cv_lib_uuid_main+y}
24220 then :
24221 printf %s "(cached) " >&6
24222 else case e in #(
24223 e) ac_check_lib_save_LIBS=$LIBS
24224 LIBS="-luuid $LIBS"
24225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24226 /* end confdefs.h. */
24227
24228
24229 int
24230 main (void)
24231 {
24232 return main ();
24233 ;
24234 return 0;
24235 }
24236 _ACEOF
24237 if ac_fn_c_try_link "$LINENO"
24238 then :
24239 ac_cv_lib_uuid_main=yes
24240 else case e in #(
24241 e) ac_cv_lib_uuid_main=no ;;
24242 esac
24243 fi
24244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24245 conftest$ac_exeext conftest.$ac_ext
24246 LIBS=$ac_check_lib_save_LIBS ;;
24247 esac
24248 fi
24249 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_main" >&5
24250 printf '%s\n' "$ac_cv_lib_uuid_main" >&6; }
24251 if test "x$ac_cv_lib_uuid_main" = xyes
24252 then :
24253 printf '%s\n' "#define HAVE_LIBUUID 1" >>confdefs.h
24254
24255 LIBS="-luuid $LIBS"
24256
24257 fi
24258
24259
24260 # Checks for libraries.
24261 # FIXME: Replace `main' with a function in `-lX11':
24262 if test "x$enable_x11" != xno
24263 then :
24264
24265 printf '%s\n' "#define AGS_WITH_X11 1" >>confdefs.h
24266
24267 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5
24268 printf %s "checking for main in -lX11... " >&6; }
24269 if test ${ac_cv_lib_X11_main+y}
24270 then :
24271 printf %s "(cached) " >&6
24272 else case e in #(
24273 e) ac_check_lib_save_LIBS=$LIBS
24274 LIBS="-lX11 $LIBS"
24275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24276 /* end confdefs.h. */
24277
24278
24279 int
24280 main (void)
24281 {
24282 return main ();
24283 ;
24284 return 0;
24285 }
24286 _ACEOF
24287 if ac_fn_c_try_link "$LINENO"
24288 then :
24289 ac_cv_lib_X11_main=yes
24290 else case e in #(
24291 e) ac_cv_lib_X11_main=no ;;
24292 esac
24293 fi
24294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24295 conftest$ac_exeext conftest.$ac_ext
24296 LIBS=$ac_check_lib_save_LIBS ;;
24297 esac
24298 fi
24299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5
24300 printf '%s\n' "$ac_cv_lib_X11_main" >&6; }
24301 if test "x$ac_cv_lib_X11_main" = xyes
24302 then :
24303 printf '%s\n' "#define HAVE_LIBX11 1" >>confdefs.h
24304
24305 LIBS="-lX11 $LIBS"
24306
24307 else case e in #(
24308 e) as_fn_error $? "\"No X11 library present\"" "$LINENO" 5 ;;
24309 esac
24310 fi
24311
24312 X11_LIBS="-lX11"
24313 else case e in #(
24314 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: X11 disabled" >&5
24315 printf '%s\n' "$as_me: X11 disabled" >&6;} ;;
24316 esac
24317 fi
24318
24319 if test "x$enable_quartz" != xno
24320 then :
24321
24322 printf '%s\n' "#define AGS_WITH_QUARTZ 1" >>confdefs.h
24323
24324 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: quartz enabled" >&5
24325 printf '%s\n' "$as_me: quartz enabled" >&6;}
24326 else case e in #(
24327 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: quartz disabled" >&5
24328 printf '%s\n' "$as_me: quartz disabled" >&6;} ;;
24329 esac
24330 fi
24331
24332 # FIXME: Replace `main' with a function in `-ldl':
24333 # AC_CHECK_LIB([dl], [main], , AC_MSG_ERROR("No dl library present"))
24334
24335 # FIXME: Replace `main' with a function in `-lm':
24336 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
24337 printf %s "checking for main in -lm... " >&6; }
24338 if test ${ac_cv_lib_m_main+y}
24339 then :
24340 printf %s "(cached) " >&6
24341 else case e in #(
24342 e) ac_check_lib_save_LIBS=$LIBS
24343 LIBS="-lm $LIBS"
24344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24345 /* end confdefs.h. */
24346
24347
24348 int
24349 main (void)
24350 {
24351 return main ();
24352 ;
24353 return 0;
24354 }
24355 _ACEOF
24356 if ac_fn_c_try_link "$LINENO"
24357 then :
24358 ac_cv_lib_m_main=yes
24359 else case e in #(
24360 e) ac_cv_lib_m_main=no ;;
24361 esac
24362 fi
24363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24364 conftest$ac_exeext conftest.$ac_ext
24365 LIBS=$ac_check_lib_save_LIBS ;;
24366 esac
24367 fi
24368 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
24369 printf '%s\n' "$ac_cv_lib_m_main" >&6; }
24370 if test "x$ac_cv_lib_m_main" = xyes
24371 then :
24372 printf '%s\n' "#define HAVE_LIBM 1" >>confdefs.h
24373
24374 LIBS="-lm $LIBS"
24375
24376 else case e in #(
24377 e) as_fn_error $? "\"No math library present\"" "$LINENO" 5 ;;
24378 esac
24379 fi
24380
24381
24382 if test "x$enable_strip_rt_events" != xno
24383 then :
24384
24385 printf '%s\n' "#define AGS_STRIP_RT_EVENTS 1" >>confdefs.h
24386
24387 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: striping rt-events enabled" >&5
24388 printf '%s\n' "$as_me: striping rt-events enabled" >&6;}
24389 else case e in #(
24390 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: striping rt-events disabled" >&5
24391 printf '%s\n' "$as_me: striping rt-events disabled" >&6;} ;;
24392 esac
24393 fi
24394
24395 # FIXME: Replace `main' with a function in `-lrt':
24396 if test "x$enable_rt" != xno
24397 then :
24398
24399 printf '%s\n' "#define AGS_WITH_RT 1" >>confdefs.h
24400
24401 RT_LIBS="-lrt"
24402 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
24403 printf %s "checking for main in -lrt... " >&6; }
24404 if test ${ac_cv_lib_rt_main+y}
24405 then :
24406 printf %s "(cached) " >&6
24407 else case e in #(
24408 e) ac_check_lib_save_LIBS=$LIBS
24409 LIBS="-lrt $LIBS"
24410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24411 /* end confdefs.h. */
24412
24413
24414 int
24415 main (void)
24416 {
24417 return main ();
24418 ;
24419 return 0;
24420 }
24421 _ACEOF
24422 if ac_fn_c_try_link "$LINENO"
24423 then :
24424 ac_cv_lib_rt_main=yes
24425 else case e in #(
24426 e) ac_cv_lib_rt_main=no ;;
24427 esac
24428 fi
24429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24430 conftest$ac_exeext conftest.$ac_ext
24431 LIBS=$ac_check_lib_save_LIBS ;;
24432 esac
24433 fi
24434 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
24435 printf '%s\n' "$ac_cv_lib_rt_main" >&6; }
24436 if test "x$ac_cv_lib_rt_main" = xyes
24437 then :
24438 printf '%s\n' "#define HAVE_LIBRT 1" >>confdefs.h
24439
24440 LIBS="-lrt $LIBS"
24441
24442 else case e in #(
24443 e) as_fn_error $? "\"No rt library present\"" "$LINENO" 5 ;;
24444 esac
24445 fi
24446
24447 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: rt enabled" >&5
24448 printf '%s\n' "$as_me: rt enabled" >&6;}
24449 else case e in #(
24450 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: rt disabled" >&5
24451 printf '%s\n' "$as_me: rt disabled" >&6;} ;;
24452 esac
24453 fi
24454
24455 # Checks for header files.
24456 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24457 printf %s "checking for X... " >&6; }
24458
24459
24460 # Check whether --with-x was given.
24461 if test ${with_x+y}
24462 then :
24463 withval=$with_x;
24464 fi
24465
24466 # $have_x is 'yes', 'no', 'disabled', or empty when we do not yet know.
24467 if test "x$with_x" = xno; then
24468 # The user explicitly disabled X.
24469 have_x=disabled
24470 else
24471 case $x_includes,$x_libraries in #(
24472 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24473 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
24474 then :
24475 printf %s "(cached) " >&6
24476 else case e in #(
24477 e) # One or both of the vars are not set, and there is no cached value.
24478 ac_x_includes=no
24479 ac_x_libraries=no
24480 # Do we need to do anything special at all?
24481 ac_save_LIBS=$LIBS
24482 LIBS="-lX11 $LIBS"
24483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24484 /* end confdefs.h. */
24485 #include <X11/Xlib.h>
24486 int
24487 main (void)
24488 {
24489 XrmInitialize ()
24490 ;
24491 return 0;
24492 }
24493 _ACEOF
24494 if ac_fn_c_try_link "$LINENO"
24495 then :
24496 # We can compile and link X programs with no special options.
24497 ac_x_includes=
24498 ac_x_libraries=
24499 fi
24500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24501 conftest$ac_exeext conftest.$ac_ext
24502 LIBS="$ac_save_LIBS"
24503 # If that didn't work, only try xmkmf and file system searches
24504 # for native compilation.
24505 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
24506 then :
24507 rm -f -r conftest.dir
24508 if mkdir conftest.dir; then
24509 cd conftest.dir
24510 cat >Imakefile <<'_ACEOF'
24511 incroot:
24512 @printf '%s\n' incroot='${INCROOT}'
24513 usrlibdir:
24514 @printf '%s\n' usrlibdir='${USRLIBDIR}'
24515 libdir:
24516 @printf '%s\n' libdir='${LIBDIR}'
24517 _ACEOF
24518 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24519 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24520 for ac_var in incroot usrlibdir libdir; do
24521 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24522 done
24523 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24524 for ac_extension in a so sl dylib la dll; do
24525 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24526 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24527 ac_im_usrlibdir=$ac_im_libdir; break
24528 fi
24529 done
24530 # Screen out bogus values from the imake configuration. They are
24531 # bogus both because they are the default anyway, and because
24532 # using them would break gcc on systems where it needs fixed includes.
24533 case $ac_im_incroot in
24534 /usr/include) ac_x_includes= ;;
24535 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24536 esac
24537 case $ac_im_usrlibdir in
24538 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24539 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24540 esac
24541 fi
24542 cd ..
24543 rm -f -r conftest.dir
24544 fi
24545
24546 # Standard set of common directories for X headers.
24547 # Check X11 before X11Rn because it is often a symlink to the current release.
24548 ac_x_header_dirs='
24549 /usr/X11/include
24550 /usr/X11R7/include
24551 /usr/X11R6/include
24552 /usr/X11R5/include
24553 /usr/X11R4/include
24554
24555 /usr/include/X11
24556 /usr/include/X11R7
24557 /usr/include/X11R6
24558 /usr/include/X11R5
24559 /usr/include/X11R4
24560
24561 /usr/local/X11/include
24562 /usr/local/X11R7/include
24563 /usr/local/X11R6/include
24564 /usr/local/X11R5/include
24565 /usr/local/X11R4/include
24566
24567 /usr/local/include/X11
24568 /usr/local/include/X11R7
24569 /usr/local/include/X11R6
24570 /usr/local/include/X11R5
24571 /usr/local/include/X11R4
24572
24573 /opt/X11/include
24574
24575 /usr/X386/include
24576 /usr/x386/include
24577 /usr/XFree86/include/X11
24578
24579 /usr/include
24580 /usr/local/include
24581 /usr/unsupported/include
24582 /usr/athena/include
24583 /usr/local/x11r5/include
24584 /usr/lpp/Xamples/include
24585
24586 /usr/openwin/include
24587 /usr/openwin/share/include'
24588
24589 if test "$ac_x_includes" = no; then
24590 # Guess where to find include files, by looking for Xlib.h.
24591 # First, try using that file with no special directory specified.
24592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24593 /* end confdefs.h. */
24594 #include <X11/Xlib.h>
24595 _ACEOF
24596 if ac_fn_c_try_cpp "$LINENO"
24597 then :
24598 # We can compile using X headers with no special include directory.
24599 ac_x_includes=
24600 else case e in #(
24601 e) for ac_dir in $ac_x_header_dirs; do
24602 if test -r "$ac_dir/X11/Xlib.h"; then
24603 ac_x_includes=$ac_dir
24604 break
24605 fi
24606 done ;;
24607 esac
24608 fi
24609 rm -f conftest.err conftest.i conftest.$ac_ext
24610 fi # $ac_x_includes = no
24611
24612 if test "$ac_x_libraries" = no; then
24613 # Check for the libraries.
24614 # See if we find them without any special options.
24615 # Don't add to $LIBS permanently.
24616 ac_save_LIBS=$LIBS
24617 LIBS="-lX11 $LIBS"
24618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24619 /* end confdefs.h. */
24620 #include <X11/Xlib.h>
24621 int
24622 main (void)
24623 {
24624 XrmInitialize ()
24625 ;
24626 return 0;
24627 }
24628 _ACEOF
24629 if ac_fn_c_try_link "$LINENO"
24630 then :
24631 LIBS=$ac_save_LIBS
24632 # We can link X programs with no special library path.
24633 ac_x_libraries=
24634 else case e in #(
24635 e) LIBS=$ac_save_LIBS
24636 for ac_dir in `printf '%s\n' "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24637 do
24638 # Don't even attempt the hair of trying to link an X program!
24639 for ac_extension in a so sl dylib la dll; do
24640 if test -r "$ac_dir/libX11.$ac_extension"; then
24641 ac_x_libraries=$ac_dir
24642 break 2
24643 fi
24644 done
24645 done ;;
24646 esac
24647 fi
24648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24649 conftest$ac_exeext conftest.$ac_ext
24650 fi # $ac_x_libraries = no
24651
24652 fi
24653 # Record the results.
24654 case $ac_x_includes,$ac_x_libraries in #(
24655 no,* | *,no | *\'*) :
24656 # Didn't find X, or a directory has "'" in its name.
24657 ac_cv_have_x="have_x=no" ;; #(
24658 *) :
24659 # Record where we found X for the cache.
24660 ac_cv_have_x="have_x=yes\
24661 ac_x_includes='$ac_x_includes'\
24662 ac_x_libraries='$ac_x_libraries'" ;;
24663 esac ;;
24664 esac
24665 fi
24666 ;; #(
24667 *) have_x=yes;;
24668 esac
24669 eval "$ac_cv_have_x"
24670 fi # $with_x != no
24671
24672 if test "$have_x" != yes; then
24673 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24674 printf '%s\n' "$have_x" >&6; }
24675 no_x=yes
24676 else
24677 # If each of the values was on the command line, it overrides each guess.
24678 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24679 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24680 # Update the cache value to reflect the command line values.
24681 ac_cv_have_x="have_x=yes\
24682 ac_x_includes='$x_includes'\
24683 ac_x_libraries='$x_libraries'"
24684 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24685 printf '%s\n' "libraries $x_libraries, headers $x_includes" >&6; }
24686 fi
24687
24688 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
24689 if test "x$ac_cv_type_size_t" = xyes
24690 then :
24691
24692 else case e in #(
24693 e)
24694 printf '%s\n' "#define size_t unsigned int" >>confdefs.h
24695 ;;
24696 esac
24697 fi
24698
24699 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
24700 # for constant arguments. Useless!
24701 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
24702 printf %s "checking for working alloca.h... " >&6; }
24703 if test ${ac_cv_working_alloca_h+y}
24704 then :
24705 printf %s "(cached) " >&6
24706 else case e in #(
24707 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24708 /* end confdefs.h. */
24709 #include <alloca.h>
24710 int
24711 main (void)
24712 {
24713 char *p = (char *) alloca (2 * sizeof (int));
24714 if (p) return 0;
24715 ;
24716 return 0;
24717 }
24718 _ACEOF
24719 if ac_fn_c_try_link "$LINENO"
24720 then :
24721 ac_cv_working_alloca_h=yes
24722 else case e in #(
24723 e) ac_cv_working_alloca_h=no ;;
24724 esac
24725 fi
24726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24727 conftest$ac_exeext conftest.$ac_ext ;;
24728 esac
24729 fi
24730 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
24731 printf '%s\n' "$ac_cv_working_alloca_h" >&6; }
24732 if test $ac_cv_working_alloca_h = yes; then
24733
24734 printf '%s\n' "#define HAVE_ALLOCA_H 1" >>confdefs.h
24735
24736 fi
24737
24738 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
24739 printf %s "checking for alloca... " >&6; }
24740 if test ${ac_cv_func_alloca_works+y}
24741 then :
24742 printf %s "(cached) " >&6
24743 else case e in #(
24744 e) ac_cv_func_alloca_works=$ac_cv_working_alloca_h
24745 if test "$ac_cv_func_alloca_works" != yes
24746 then :
24747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24748 /* end confdefs.h. */
24749 #include <stdlib.h>
24750 #include <stddef.h>
24751 #ifndef alloca
24752 # ifdef __GNUC__
24753 # define alloca __builtin_alloca
24754 # elif defined _MSC_VER
24755 # include <malloc.h>
24756 # define alloca _alloca
24757 # else
24758 # ifdef __cplusplus
24759 extern "C"
24760 # endif
24761 void *alloca (size_t);
24762 # endif
24763 #endif
24764
24765 int
24766 main (void)
24767 {
24768 char *p = (char *) alloca (1);
24769 if (p) return 0;
24770 ;
24771 return 0;
24772 }
24773 _ACEOF
24774 if ac_fn_c_try_link "$LINENO"
24775 then :
24776 ac_cv_func_alloca_works=yes
24777 fi
24778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24779 conftest$ac_exeext conftest.$ac_ext
24780 fi ;;
24781 esac
24782 fi
24783 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
24784 printf '%s\n' "$ac_cv_func_alloca_works" >&6; }
24785
24786 if test $ac_cv_func_alloca_works = yes; then
24787
24788 printf '%s\n' "#define HAVE_ALLOCA 1" >>confdefs.h
24789
24790 else
24791 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
24792 # that cause trouble. Some versions do not even contain alloca or
24793 # contain a buggy version. If you still want to use their alloca,
24794 # use ar to extract alloca.o from them instead of compiling alloca.c.
24795
24796 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
24797
24798 printf '%s\n' "#define C_ALLOCA 1" >>confdefs.h
24799
24800
24801 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
24802 printf %s "checking stack direction for C alloca... " >&6; }
24803 if test ${ac_cv_c_stack_direction+y}
24804 then :
24805 printf %s "(cached) " >&6
24806 else case e in #(
24807 e) if test "$cross_compiling" = yes
24808 then :
24809 ac_cv_c_stack_direction=0
24810 else case e in #(
24811 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24812 /* end confdefs.h. */
24813 $ac_includes_default
24814 int
24815 find_stack_direction (int *addr, int depth)
24816 {
24817 int dir, dummy = 0;
24818 if (! addr)
24819 addr = &dummy;
24820 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
24821 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
24822 return dir + dummy;
24823 }
24824
24825 int
24826 main (int argc, char **argv)
24827 {
24828 return find_stack_direction (0, argc + !argv + 20) < 0;
24829 }
24830 _ACEOF
24831 if ac_fn_c_try_run "$LINENO"
24832 then :
24833 ac_cv_c_stack_direction=1
24834 else case e in #(
24835 e) ac_cv_c_stack_direction=-1 ;;
24836 esac
24837 fi
24838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24839 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
24840 esac
24841 fi
24842 ;;
24843 esac
24844 fi
24845 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
24846 printf '%s\n' "$ac_cv_c_stack_direction" >&6; }
24847 printf '%s\n' "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h
24848
24849
24850 fi
24851
24852 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
24853 if test "x$ac_cv_header_arpa_inet_h" = xyes
24854 then :
24855 printf '%s\n' "#define HAVE_ARPA_INET_H 1" >>confdefs.h
24856
24857 fi
24858 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
24859 if test "x$ac_cv_header_fcntl_h" = xyes
24860 then :
24861 printf '%s\n' "#define HAVE_FCNTL_H 1" >>confdefs.h
24862
24863 fi
24864 ac_fn_c_check_header_compile "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
24865 if test "x$ac_cv_header_libintl_h" = xyes
24866 then :
24867 printf '%s\n' "#define HAVE_LIBINTL_H 1" >>confdefs.h
24868
24869 fi
24870 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
24871 if test "x$ac_cv_header_mach_mach_h" = xyes
24872 then :
24873 printf '%s\n' "#define HAVE_MACH_MACH_H 1" >>confdefs.h
24874
24875 fi
24876 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
24877 if test "x$ac_cv_header_netinet_in_h" = xyes
24878 then :
24879 printf '%s\n' "#define HAVE_NETINET_IN_H 1" >>confdefs.h
24880
24881 fi
24882 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
24883 if test "x$ac_cv_header_stdint_h" = xyes
24884 then :
24885 printf '%s\n' "#define HAVE_STDINT_H 1" >>confdefs.h
24886
24887 fi
24888 ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
24889 if test "x$ac_cv_header_strings_h" = xyes
24890 then :
24891 printf '%s\n' "#define HAVE_STRINGS_H 1" >>confdefs.h
24892
24893 fi
24894 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
24895 if test "x$ac_cv_header_sys_ioctl_h" = xyes
24896 then :
24897 printf '%s\n' "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
24898
24899 fi
24900 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
24901 if test "x$ac_cv_header_sys_socket_h" = xyes
24902 then :
24903 printf '%s\n' "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
24904
24905 fi
24906 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
24907 if test "x$ac_cv_header_sys_time_h" = xyes
24908 then :
24909 printf '%s\n' "#define HAVE_SYS_TIME_H 1" >>confdefs.h
24910
24911 fi
24912 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
24913 if test "x$ac_cv_header_unistd_h" = xyes
24914 then :
24915 printf '%s\n' "#define HAVE_UNISTD_H 1" >>confdefs.h
24916
24917 fi
24918
24919
24920 # Checks for typedefs, structures, and compiler characteristics.
24921 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
24922 if test "x$ac_cv_type__Bool" = xyes
24923 then :
24924
24925 printf '%s\n' "#define HAVE__BOOL 1" >>confdefs.h
24926
24927
24928 fi
24929
24930 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5
24931 printf %s "checking for stdbool.h that conforms to C99 or later... " >&6; }
24932 if test ${ac_cv_header_stdbool_h+y}
24933 then :
24934 printf %s "(cached) " >&6
24935 else case e in #(
24936 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24937 /* end confdefs.h. */
24938 #include <stdbool.h>
24939
24940 /* "true" and "false" should be usable in #if expressions and
24941 integer constant expressions, and "bool" should be a valid
24942 type name.
24943
24944 Although C99 requires bool, true, and false to be macros,
24945 C23 and C++11 overrule that, so do not test for that.
24946 Although C99 requires __bool_true_false_are_defined and
24947 _Bool, C23 says they are obsolescent, so do not require
24948 them. */
24949
24950 #if !true
24951 #error "'true' is not true"
24952 #endif
24953 #if true != 1
24954 #error "'true' is not equal to 1"
24955 #endif
24956 char b[true == 1 ? 1 : -1];
24957 char c[true];
24958
24959 #if false
24960 #error "'false' is not false"
24961 #endif
24962 #if false != 0
24963 #error "'false' is not equal to 0"
24964 #endif
24965 char d[false == 0 ? 1 : -1];
24966
24967 enum { e = false, f = true, g = false * true, h = true * 256 };
24968
24969 char i[(bool) 0.5 == true ? 1 : -1];
24970 char j[(bool) 0.0 == false ? 1 : -1];
24971 char k[sizeof (bool) > 0 ? 1 : -1];
24972
24973 struct sb { bool s: 1; bool t; } s;
24974 char l[sizeof s.t > 0 ? 1 : -1];
24975
24976 /* The following fails for
24977 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
24978 bool m[h];
24979 char n[sizeof m == h * sizeof m[0] ? 1 : -1];
24980 char o[-1 - (bool) 0 < 0 ? 1 : -1];
24981 /* Catch a bug in an HP-UX C compiler. See
24982 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
24983 https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
24984 */
24985 bool p = true;
24986 bool *pp = &p;
24987
24988 int
24989 main (void)
24990 {
24991
24992 bool ps = &s;
24993 *pp |= p;
24994 *pp |= ! p;
24995
24996 /* Refer to every declared value, so they cannot be
24997 discarded as unused. */
24998 return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
24999 + !l + !m + !n + !o + !p + !pp + !ps);
25000
25001 ;
25002 return 0;
25003 }
25004 _ACEOF
25005 if ac_fn_c_try_compile "$LINENO"
25006 then :
25007 ac_cv_header_stdbool_h=yes
25008 else case e in #(
25009 e) ac_cv_header_stdbool_h=no ;;
25010 esac
25011 fi
25012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
25013 esac
25014 fi
25015 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
25016 printf '%s\n' "$ac_cv_header_stdbool_h" >&6; }
25017
25018 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
25019 printf %s "checking for inline... " >&6; }
25020 if test ${ac_cv_c_inline+y}
25021 then :
25022 printf %s "(cached) " >&6
25023 else case e in #(
25024 e) ac_cv_c_inline=no
25025 for ac_kw in inline __inline__ __inline; do
25026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25027 /* end confdefs.h. */
25028 #ifndef __cplusplus
25029 typedef int foo_t;
25030 static $ac_kw foo_t static_foo (void) {return 0; }
25031 $ac_kw foo_t foo (void) {return 0; }
25032 #endif
25033
25034 _ACEOF
25035 if ac_fn_c_try_compile "$LINENO"
25036 then :
25037 ac_cv_c_inline=$ac_kw
25038 fi
25039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25040 test "$ac_cv_c_inline" != no && break
25041 done
25042 ;;
25043 esac
25044 fi
25045 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
25046 printf '%s\n' "$ac_cv_c_inline" >&6; }
25047
25048 case $ac_cv_c_inline in
25049 inline | yes) ;;
25050 *)
25051 case $ac_cv_c_inline in
25052 no) ac_val=;;
25053 *) ac_val=$ac_cv_c_inline;;
25054 esac
25055 cat >>confdefs.h <<_ACEOF
25056 #ifndef __cplusplus
25057 #define inline $ac_val
25058 #endif
25059 _ACEOF
25060 ;;
25061 esac
25062
25063
25064 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
25065 "
25066 if test "x$ac_cv_type_pid_t" = xyes
25067 then :
25068
25069 else case e in #(
25070 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25071 /* end confdefs.h. */
25072
25073 #if defined _WIN64 && !defined __CYGWIN__
25074 LLP64
25075 #endif
25076
25077 int
25078 main (void)
25079 {
25080
25081 ;
25082 return 0;
25083 }
25084
25085 _ACEOF
25086 if ac_fn_c_try_compile "$LINENO"
25087 then :
25088 ac_pid_type='int'
25089 else case e in #(
25090 e) ac_pid_type='__int64' ;;
25091 esac
25092 fi
25093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25094
25095 printf '%s\n' "#define pid_t $ac_pid_type" >>confdefs.h
25096
25097 ;;
25098 esac
25099 fi
25100
25101
25102 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
25103 if test "x$ac_cv_type_size_t" = xyes
25104 then :
25105
25106 else case e in #(
25107 e)
25108 printf '%s\n' "#define size_t unsigned int" >>confdefs.h
25109 ;;
25110 esac
25111 fi
25112
25113 ac_fn_c_check_type "$LINENO" "uid_t" "ac_cv_type_uid_t" "$ac_includes_default"
25114 if test "x$ac_cv_type_uid_t" = xyes
25115 then :
25116
25117 else case e in #(
25118 e)
25119 printf '%s\n' "#define uid_t int" >>confdefs.h
25120 ;;
25121 esac
25122 fi
25123
25124 ac_fn_c_check_type "$LINENO" "gid_t" "ac_cv_type_gid_t" "$ac_includes_default"
25125 if test "x$ac_cv_type_gid_t" = xyes
25126 then :
25127
25128 else case e in #(
25129 e)
25130 printf '%s\n' "#define gid_t int" >>confdefs.h
25131 ;;
25132 esac
25133 fi
25134
25135 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
25136 case $ac_cv_c_uint16_t in #(
25137 no|yes) ;; #(
25138 *)
25139
25140
25141 printf '%s\n' "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h
25142 ;;
25143 esac
25144
25145 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
25146 case $ac_cv_c_uint32_t in #(
25147 no|yes) ;; #(
25148 *)
25149
25150 printf '%s\n' "#define _UINT32_T 1" >>confdefs.h
25151
25152
25153 printf '%s\n' "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
25154 ;;
25155 esac
25156
25157 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
25158 case $ac_cv_c_uint8_t in #(
25159 no|yes) ;; #(
25160 *)
25161
25162 printf '%s\n' "#define _UINT8_T 1" >>confdefs.h
25163
25164
25165 printf '%s\n' "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h
25166 ;;
25167 esac
25168
25169 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
25170 if test "x$ac_cv_type_ptrdiff_t" = xyes
25171 then :
25172
25173 printf '%s\n' "#define HAVE_PTRDIFF_T 1" >>confdefs.h
25174
25175
25176 fi
25177
25178
25179 WITH_W32API=0
25180
25181 if test "x$enable_w32api" != xno
25182 then :
25183
25184 printf '%s\n' "#define AGS_W32API 1" >>confdefs.h
25185
25186 # W32API_CFLAGS="-nostdinc -I./lib -I/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/dssi -include ags/config.h "
25187 # W32API_LIBS="-L./lib -lgnu"
25188
25189
25190 DLL_VERSION="${LT_CURRENT}.0"
25191
25192 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: w32api enabled" >&5
25193 printf '%s\n' "$as_me: w32api enabled" >&6;}
25194 else case e in #(
25195 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: w32api disabled" >&5
25196 printf '%s\n' "$as_me: w32api disabled" >&6;} ;;
25197 esac
25198 fi
25199 if test "x$enable_w32api" == xyes; then
25200 WITH_W32API_TRUE=
25201 WITH_W32API_FALSE='#'
25202 else
25203 WITH_W32API_TRUE='#'
25204 WITH_W32API_FALSE=
25205 fi
25206
25207
25208 if test "x$enable_w32_exe_env" != xno
25209 then :
25210
25211 printf '%s\n' "#define AGS_W32_EXE_ENV 1" >>confdefs.h
25212
25213 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: w32 exe environment enabled" >&5
25214 printf '%s\n' "$as_me: w32 exe environment enabled" >&6;}
25215 else case e in #(
25216 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: w32 exe environment disabled" >&5
25217 printf '%s\n' "$as_me: w32 exe environment disabled" >&6;} ;;
25218 esac
25219 fi
25220 if test "x$enable_w32_exe_env" == xyes; then
25221 WITH_W32_EXE_ENV_TRUE=
25222 WITH_W32_EXE_ENV_FALSE='#'
25223 else
25224 WITH_W32_EXE_ENV_TRUE='#'
25225 WITH_W32_EXE_ENV_FALSE=
25226 fi
25227
25228
25229 if test "x$enable_osxapi" != xno
25230 then :
25231
25232 printf '%s\n' "#define AGS_OSXAPI 1" >>confdefs.h
25233
25234
25235
25236 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: OS X api enabled" >&5
25237 printf '%s\n' "$as_me: OS X api enabled" >&6;}
25238 else case e in #(
25239 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: OS X api disabled" >&5
25240 printf '%s\n' "$as_me: OS X api disabled" >&6;} ;;
25241 esac
25242 fi
25243 if test "x$enable_osxapi" == xyes; then
25244 WITH_OSXAPI_TRUE=
25245 WITH_OSXAPI_FALSE='#'
25246 else
25247 WITH_OSXAPI_TRUE='#'
25248 WITH_OSXAPI_FALSE=
25249 fi
25250
25251
25252 if test "x$enable_osx_dmg_env" != xno
25253 then :
25254
25255 printf '%s\n' "#define AGS_OSX_DMG_ENV 1" >>confdefs.h
25256
25257 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: OS X DMG environment enabled" >&5
25258 printf '%s\n' "$as_me: OS X DMG environment enabled" >&6;}
25259 else case e in #(
25260 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: OS X DMG environment disabled" >&5
25261 printf '%s\n' "$as_me: OS X DMG environment disabled" >&6;} ;;
25262 esac
25263 fi
25264 if test "x$enable_osx_dmg_env" == xyes; then
25265 WITH_OSX_DMG_ENV_TRUE=
25266 WITH_OSX_DMG_ENV_FALSE='#'
25267 else
25268 WITH_OSX_DMG_ENV_TRUE='#'
25269 WITH_OSX_DMG_ENV_FALSE=
25270 fi
25271
25272
25273 if test "x$enable_macos_sandbox" != xno
25274 then :
25275
25276 printf '%s\n' "#define AGS_MACOS_SANDBOX 1" >>confdefs.h
25277
25278 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: macos sandbox environment enabled" >&5
25279 printf '%s\n' "$as_me: macos sandbox environment enabled" >&6;}
25280 else case e in #(
25281 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: macos sandbox environment disabled" >&5
25282 printf '%s\n' "$as_me: macos sandbox environment disabled" >&6;} ;;
25283 esac
25284 fi
25285 if test "x$enable_macos_sandbox" == xyes; then
25286 WITH_MACOS_SANDBOX_TRUE=
25287 WITH_MACOS_SANDBOX_FALSE='#'
25288 else
25289 WITH_MACOS_SANDBOX_TRUE='#'
25290 WITH_MACOS_SANDBOX_FALSE=
25291 fi
25292
25293
25294 if test "x$enable_snap_sandbox" != xno
25295 then :
25296
25297 printf '%s\n' "#define AGS_SNAP_SANDBOX 1" >>confdefs.h
25298
25299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: snap sandbox environment enabled" >&5
25300 printf '%s\n' "$as_me: snap sandbox environment enabled" >&6;}
25301 else case e in #(
25302 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: snap sandbox environment disabled" >&5
25303 printf '%s\n' "$as_me: snap sandbox environment disabled" >&6;} ;;
25304 esac
25305 fi
25306 if test "x$enable_snap_sandbox" == xyes; then
25307 WITH_SNAP_SANDBOX_TRUE=
25308 WITH_SNAP_SANDBOX_FALSE='#'
25309 else
25310 WITH_SNAP_SANDBOX_TRUE='#'
25311 WITH_SNAP_SANDBOX_FALSE=
25312 fi
25313
25314
25315 if test "x$enable_flatpak_sandbox" != xno
25316 then :
25317
25318 printf '%s\n' "#define AGS_FLATPAK_SANDBOX 1" >>confdefs.h
25319
25320 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: flatpak sandbox environment enabled" >&5
25321 printf '%s\n' "$as_me: flatpak sandbox environment enabled" >&6;}
25322 else case e in #(
25323 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: flatpak sandbox environment disabled" >&5
25324 printf '%s\n' "$as_me: flatpak sandbox environment disabled" >&6;} ;;
25325 esac
25326 fi
25327 if test "x$enable_flatpak_sandbox" == xyes; then
25328 WITH_FLATPAK_SANDBOX_TRUE=
25329 WITH_FLATPAK_SANDBOX_FALSE='#'
25330 else
25331 WITH_FLATPAK_SANDBOX_TRUE='#'
25332 WITH_FLATPAK_SANDBOX_FALSE=
25333 fi
25334
25335
25336 if test "x$enable_uuid" != xno
25337 then :
25338
25339 pkg_failed=no
25340 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for uuid >= 1.0.1" >&5
25341 printf %s "checking for uuid >= 1.0.1... " >&6; }
25342
25343 if test -n "$UUID_CFLAGS"; then
25344 pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
25345 elif test -n "$PKG_CONFIG"; then
25346 if test -n "$PKG_CONFIG" && \
25347 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.1\""; } >&5
25348 ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.1") 2>&5
25349 ac_status=$?
25350 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25351 test $ac_status = 0; }; then
25352 pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= 1.0.1" 2>/dev/null`
25353 test "x$?" != "x0" && pkg_failed=yes
25354 else
25355 pkg_failed=yes
25356 fi
25357 else
25358 pkg_failed=untried
25359 fi
25360 if test -n "$UUID_LIBS"; then
25361 pkg_cv_UUID_LIBS="$UUID_LIBS"
25362 elif test -n "$PKG_CONFIG"; then
25363 if test -n "$PKG_CONFIG" && \
25364 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.1\""; } >&5
25365 ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.1") 2>&5
25366 ac_status=$?
25367 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25368 test $ac_status = 0; }; then
25369 pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= 1.0.1" 2>/dev/null`
25370 test "x$?" != "x0" && pkg_failed=yes
25371 else
25372 pkg_failed=yes
25373 fi
25374 else
25375 pkg_failed=untried
25376 fi
25377
25378
25379
25380 if test $pkg_failed = yes; then
25381 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25382 printf '%s\n' "no" >&6; }
25383
25384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25385 _pkg_short_errors_supported=yes
25386 else
25387 _pkg_short_errors_supported=no
25388 fi
25389 if test $_pkg_short_errors_supported = yes; then
25390 UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 1.0.1" 2>&1`
25391 else
25392 UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 1.0.1" 2>&1`
25393 fi
25394 # Put the nasty error message in config.log where it belongs
25395 echo "$UUID_PKG_ERRORS" >&5
25396
25397 as_fn_error $? "Package requirements (uuid >= 1.0.1) were not met:
25398
25399 $UUID_PKG_ERRORS
25400
25401 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25402 installed software in a non-standard prefix.
25403
25404 Alternatively, you may set the environment variables UUID_CFLAGS
25405 and UUID_LIBS to avoid the need to call pkg-config.
25406 See the pkg-config man page for more details." "$LINENO" 5
25407 elif test $pkg_failed = untried; then
25408 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25409 printf '%s\n' "no" >&6; }
25410 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
25411 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
25412 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
25413 is in your PATH or set the PKG_CONFIG environment variable to the full
25414 path to pkg-config.
25415
25416 Alternatively, you may set the environment variables UUID_CFLAGS
25417 and UUID_LIBS to avoid the need to call pkg-config.
25418 See the pkg-config man page for more details.
25419
25420 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25421 See 'config.log' for more details" "$LINENO" 5; }
25422 else
25423 UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
25424 UUID_LIBS=$pkg_cv_UUID_LIBS
25425 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25426 printf '%s\n' "yes" >&6; }
25427
25428 fi
25429
25430
25431
25432 printf '%s\n' "#define AGS_WITH_UUID 1" >>confdefs.h
25433
25434 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: UUID enabled" >&5
25435 printf '%s\n' "$as_me: UUID enabled" >&6;}
25436 else case e in #(
25437 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: UUID disabled" >&5
25438 printf '%s\n' "$as_me: UUID disabled" >&6;} ;;
25439 esac
25440 fi
25441
25442 if test "x$enable_alsa" != xno
25443 then :
25444
25445 pkg_failed=no
25446 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for alsa >= 1.0.25" >&5
25447 printf %s "checking for alsa >= 1.0.25... " >&6; }
25448
25449 if test -n "$LIBASOUND2_CFLAGS"; then
25450 pkg_cv_LIBASOUND2_CFLAGS="$LIBASOUND2_CFLAGS"
25451 elif test -n "$PKG_CONFIG"; then
25452 if test -n "$PKG_CONFIG" && \
25453 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
25454 ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
25455 ac_status=$?
25456 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25457 test $ac_status = 0; }; then
25458 pkg_cv_LIBASOUND2_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 1.0.25" 2>/dev/null`
25459 test "x$?" != "x0" && pkg_failed=yes
25460 else
25461 pkg_failed=yes
25462 fi
25463 else
25464 pkg_failed=untried
25465 fi
25466 if test -n "$LIBASOUND2_LIBS"; then
25467 pkg_cv_LIBASOUND2_LIBS="$LIBASOUND2_LIBS"
25468 elif test -n "$PKG_CONFIG"; then
25469 if test -n "$PKG_CONFIG" && \
25470 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
25471 ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
25472 ac_status=$?
25473 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25474 test $ac_status = 0; }; then
25475 pkg_cv_LIBASOUND2_LIBS=`$PKG_CONFIG --libs "alsa >= 1.0.25" 2>/dev/null`
25476 test "x$?" != "x0" && pkg_failed=yes
25477 else
25478 pkg_failed=yes
25479 fi
25480 else
25481 pkg_failed=untried
25482 fi
25483
25484
25485
25486 if test $pkg_failed = yes; then
25487 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25488 printf '%s\n' "no" >&6; }
25489
25490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25491 _pkg_short_errors_supported=yes
25492 else
25493 _pkg_short_errors_supported=no
25494 fi
25495 if test $_pkg_short_errors_supported = yes; then
25496 LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
25497 else
25498 LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
25499 fi
25500 # Put the nasty error message in config.log where it belongs
25501 echo "$LIBASOUND2_PKG_ERRORS" >&5
25502
25503 as_fn_error $? "Package requirements (alsa >= 1.0.25) were not met:
25504
25505 $LIBASOUND2_PKG_ERRORS
25506
25507 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25508 installed software in a non-standard prefix.
25509
25510 Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
25511 and LIBASOUND2_LIBS to avoid the need to call pkg-config.
25512 See the pkg-config man page for more details." "$LINENO" 5
25513 elif test $pkg_failed = untried; then
25514 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25515 printf '%s\n' "no" >&6; }
25516 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
25517 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
25518 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
25519 is in your PATH or set the PKG_CONFIG environment variable to the full
25520 path to pkg-config.
25521
25522 Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
25523 and LIBASOUND2_LIBS to avoid the need to call pkg-config.
25524 See the pkg-config man page for more details.
25525
25526 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25527 See 'config.log' for more details" "$LINENO" 5; }
25528 else
25529 LIBASOUND2_CFLAGS=$pkg_cv_LIBASOUND2_CFLAGS
25530 LIBASOUND2_LIBS=$pkg_cv_LIBASOUND2_LIBS
25531 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25532 printf '%s\n' "yes" >&6; }
25533
25534 fi
25535
25536
25537
25538 printf '%s\n' "#define AGS_WITH_ALSA 1" >>confdefs.h
25539
25540 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: ALSA enabled" >&5
25541 printf '%s\n' "$as_me: ALSA enabled" >&6;}
25542 else case e in #(
25543 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: ALSA disabled" >&5
25544 printf '%s\n' "$as_me: ALSA disabled" >&6;} ;;
25545 esac
25546 fi
25547
25548 if test "x$enable_alsa_compat" != xno
25549 then :
25550
25551 pkg_failed=no
25552 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libdssialsacompat >= 1.0.0" >&5
25553 printf %s "checking for libdssialsacompat >= 1.0.0... " >&6; }
25554
25555 if test -n "$LIBDSSIALSACOMPAT_CFLAGS"; then
25556 pkg_cv_LIBDSSIALSACOMPAT_CFLAGS="$LIBDSSIALSACOMPAT_CFLAGS"
25557 elif test -n "$PKG_CONFIG"; then
25558 if test -n "$PKG_CONFIG" && \
25559 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat >= 1.0.0\""; } >&5
25560 ($PKG_CONFIG --exists --print-errors "libdssialsacompat >= 1.0.0") 2>&5
25561 ac_status=$?
25562 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25563 test $ac_status = 0; }; then
25564 pkg_cv_LIBDSSIALSACOMPAT_CFLAGS=`$PKG_CONFIG --cflags "libdssialsacompat >= 1.0.0" 2>/dev/null`
25565 test "x$?" != "x0" && pkg_failed=yes
25566 else
25567 pkg_failed=yes
25568 fi
25569 else
25570 pkg_failed=untried
25571 fi
25572 if test -n "$LIBDSSIALSACOMPAT_LIBS"; then
25573 pkg_cv_LIBDSSIALSACOMPAT_LIBS="$LIBDSSIALSACOMPAT_LIBS"
25574 elif test -n "$PKG_CONFIG"; then
25575 if test -n "$PKG_CONFIG" && \
25576 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat >= 1.0.0\""; } >&5
25577 ($PKG_CONFIG --exists --print-errors "libdssialsacompat >= 1.0.0") 2>&5
25578 ac_status=$?
25579 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25580 test $ac_status = 0; }; then
25581 pkg_cv_LIBDSSIALSACOMPAT_LIBS=`$PKG_CONFIG --libs "libdssialsacompat >= 1.0.0" 2>/dev/null`
25582 test "x$?" != "x0" && pkg_failed=yes
25583 else
25584 pkg_failed=yes
25585 fi
25586 else
25587 pkg_failed=untried
25588 fi
25589
25590
25591
25592 if test $pkg_failed = yes; then
25593 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25594 printf '%s\n' "no" >&6; }
25595
25596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25597 _pkg_short_errors_supported=yes
25598 else
25599 _pkg_short_errors_supported=no
25600 fi
25601 if test $_pkg_short_errors_supported = yes; then
25602 LIBDSSIALSACOMPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdssialsacompat >= 1.0.0" 2>&1`
25603 else
25604 LIBDSSIALSACOMPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdssialsacompat >= 1.0.0" 2>&1`
25605 fi
25606 # Put the nasty error message in config.log where it belongs
25607 echo "$LIBDSSIALSACOMPAT_PKG_ERRORS" >&5
25608
25609 as_fn_error $? "Package requirements (libdssialsacompat >= 1.0.0) were not met:
25610
25611 $LIBDSSIALSACOMPAT_PKG_ERRORS
25612
25613 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25614 installed software in a non-standard prefix.
25615
25616 Alternatively, you may set the environment variables LIBDSSIALSACOMPAT_CFLAGS
25617 and LIBDSSIALSACOMPAT_LIBS to avoid the need to call pkg-config.
25618 See the pkg-config man page for more details." "$LINENO" 5
25619 elif test $pkg_failed = untried; then
25620 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25621 printf '%s\n' "no" >&6; }
25622 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
25623 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
25624 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
25625 is in your PATH or set the PKG_CONFIG environment variable to the full
25626 path to pkg-config.
25627
25628 Alternatively, you may set the environment variables LIBDSSIALSACOMPAT_CFLAGS
25629 and LIBDSSIALSACOMPAT_LIBS to avoid the need to call pkg-config.
25630 See the pkg-config man page for more details.
25631
25632 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25633 See 'config.log' for more details" "$LINENO" 5; }
25634 else
25635 LIBDSSIALSACOMPAT_CFLAGS=$pkg_cv_LIBDSSIALSACOMPAT_CFLAGS
25636 LIBDSSIALSACOMPAT_LIBS=$pkg_cv_LIBDSSIALSACOMPAT_LIBS
25637 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25638 printf '%s\n' "yes" >&6; }
25639
25640 fi
25641
25642
25643 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: ALSA compatibility library enabled" >&5
25644 printf '%s\n' "$as_me: ALSA compatibility library enabled" >&6;}
25645 else case e in #(
25646 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: ALSA compatibility library disabled" >&5
25647 printf '%s\n' "$as_me: ALSA compatibility library disabled" >&6;} ;;
25648 esac
25649 fi
25650
25651 if test "x$enable_oss" != xno
25652 then :
25653
25654 printf '%s\n' "#define AGS_WITH_OSS 1" >>confdefs.h
25655
25656 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: OSS enabled" >&5
25657 printf '%s\n' "$as_me: OSS enabled" >&6;}
25658 else case e in #(
25659 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: OSS disabled" >&5
25660 printf '%s\n' "$as_me: OSS disabled" >&6;} ;;
25661 esac
25662 fi
25663
25664 if test "x$enable_core_audio" != xno
25665 then :
25666
25667 printf '%s\n' "#define AGS_WITH_CORE_AUDIO 1" >>confdefs.h
25668
25669
25670 CORE_AUDIO_CFLAGS=
25671 CORE_AUDIO_LIBS="-framework Foundation -framework CoreFoundation -framework AVFoundation -framework AVKit -framework CoreAudio -framework AudioToolbox -framework CoreMIDI"
25672
25673
25674
25675 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: core audio enabled" >&5
25676 printf '%s\n' "$as_me: core audio enabled" >&6;}
25677 else case e in #(
25678 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: core audio disabled" >&5
25679 printf '%s\n' "$as_me: core audio disabled" >&6;} ;;
25680 esac
25681 fi
25682
25683 if test "x$enable_core_midi" != xno
25684 then :
25685
25686 printf '%s\n' "#define AGS_WITH_CORE_MIDI 1" >>confdefs.h
25687
25688
25689 CORE_MIDI_CFLAGS=
25690 CORE_MIDI_LIBS="-framework Foundation -framework CoreFoundation -framework AVFoundation -framework AVKit -framework CoreAudio -framework AudioToolbox -framework CoreMIDI"
25691
25692
25693
25694 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: core midi enabled" >&5
25695 printf '%s\n' "$as_me: core midi enabled" >&6;}
25696 else case e in #(
25697 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: core midi disabled" >&5
25698 printf '%s\n' "$as_me: core midi disabled" >&6;} ;;
25699 esac
25700 fi
25701
25702 if test "x$enable_audio_toolbox" != xno
25703 then :
25704
25705 printf '%s\n' "#define AGS_WITH_AUDIO_TOOLBOX 1" >>confdefs.h
25706
25707 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: AUDIO_TOOLBOX enabled" >&5
25708 printf '%s\n' "$as_me: AUDIO_TOOLBOX enabled" >&6;}
25709 else case e in #(
25710 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: AUDIO_TOOLBOX disabled" >&5
25711 printf '%s\n' "$as_me: AUDIO_TOOLBOX disabled" >&6;} ;;
25712 esac
25713 fi
25714
25715 if test "x$enable_audio_toolbox" == xyes; then
25716 WITH_AUDIO_TOOLBOX_TRUE=
25717 WITH_AUDIO_TOOLBOX_FALSE='#'
25718 else
25719 WITH_AUDIO_TOOLBOX_TRUE='#'
25720 WITH_AUDIO_TOOLBOX_FALSE=
25721 fi
25722
25723
25724 if test "x$enable_audio_unit" != xno
25725 then :
25726
25727 printf '%s\n' "#define AGS_WITH_AUDIO_UNIT 1" >>confdefs.h
25728
25729
25730 AUDIO_UNIT_CFLAGS=
25731 AUDIO_UNIT_LIBS="-framework AudioUnit -framework AudioToolbox"
25732
25733
25734
25735 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: audio-unit enabled" >&5
25736 printf '%s\n' "$as_me: audio-unit enabled" >&6;}
25737 else case e in #(
25738 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: audio-unit disabled" >&5
25739 printf '%s\n' "$as_me: audio-unit disabled" >&6;} ;;
25740 esac
25741 fi
25742
25743 if test "x$enable_audio_unit_plugins" != xno
25744 then :
25745
25746 printf '%s\n' "#define AGS_WITH_AUDIO_UNIT_PLUGINS 1" >>confdefs.h
25747
25748
25749 AUDIO_UNIT_PLUGINS_CFLAGS=
25750 AUDIO_UNIT_PLUGINS_LIBS="-framework Foundation -framework CoreFoundation -framework AVFoundation -framework AudioUnit -framework AudioToolbox"
25751
25752
25753
25754 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: audio-unit-plugins enabled" >&5
25755 printf '%s\n' "$as_me: audio-unit-plugins enabled" >&6;}
25756 else case e in #(
25757 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: audio-unit-plugins disabled" >&5
25758 printf '%s\n' "$as_me: audio-unit-plugins disabled" >&6;} ;;
25759 esac
25760 fi
25761
25762 if test "x$enable_wasapi" != xno
25763 then :
25764
25765 printf '%s\n' "#define AGS_WITH_WASAPI 1" >>confdefs.h
25766
25767 WASAPI_CFLAGS=""
25768 WASAPI_LIBS="-lwinmm -ldsound -lsetupapi -lole32"
25769
25770
25771
25772 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: wasapi enabled" >&5
25773 printf '%s\n' "$as_me: wasapi enabled" >&6;}
25774 else case e in #(
25775 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: wasapi disabled" >&5
25776 printf '%s\n' "$as_me: wasapi disabled" >&6;} ;;
25777 esac
25778 fi
25779
25780 if test "x$enable_jack" != xno
25781 then :
25782
25783 printf '%s\n' "#define AGS_WITH_JACK 1" >>confdefs.h
25784
25785
25786
25787 pkg_failed=no
25788 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for jack" >&5
25789 printf %s "checking for jack... " >&6; }
25790
25791 if test -n "$JACK_CFLAGS"; then
25792 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
25793 elif test -n "$PKG_CONFIG"; then
25794 if test -n "$PKG_CONFIG" && \
25795 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5
25796 ($PKG_CONFIG --exists --print-errors "jack") 2>&5
25797 ac_status=$?
25798 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25799 test $ac_status = 0; }; then
25800 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack" 2>/dev/null`
25801 test "x$?" != "x0" && pkg_failed=yes
25802 else
25803 pkg_failed=yes
25804 fi
25805 else
25806 pkg_failed=untried
25807 fi
25808 if test -n "$JACK_LIBS"; then
25809 pkg_cv_JACK_LIBS="$JACK_LIBS"
25810 elif test -n "$PKG_CONFIG"; then
25811 if test -n "$PKG_CONFIG" && \
25812 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5
25813 ($PKG_CONFIG --exists --print-errors "jack") 2>&5
25814 ac_status=$?
25815 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25816 test $ac_status = 0; }; then
25817 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack" 2>/dev/null`
25818 test "x$?" != "x0" && pkg_failed=yes
25819 else
25820 pkg_failed=yes
25821 fi
25822 else
25823 pkg_failed=untried
25824 fi
25825
25826
25827
25828 if test $pkg_failed = yes; then
25829 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25830 printf '%s\n' "no" >&6; }
25831
25832 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25833 _pkg_short_errors_supported=yes
25834 else
25835 _pkg_short_errors_supported=no
25836 fi
25837 if test $_pkg_short_errors_supported = yes; then
25838 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack" 2>&1`
25839 else
25840 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack" 2>&1`
25841 fi
25842 # Put the nasty error message in config.log where it belongs
25843 echo "$JACK_PKG_ERRORS" >&5
25844
25845 as_fn_error $? "Package requirements (jack) were not met:
25846
25847 $JACK_PKG_ERRORS
25848
25849 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25850 installed software in a non-standard prefix.
25851
25852 Alternatively, you may set the environment variables JACK_CFLAGS
25853 and JACK_LIBS to avoid the need to call pkg-config.
25854 See the pkg-config man page for more details." "$LINENO" 5
25855 elif test $pkg_failed = untried; then
25856 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25857 printf '%s\n' "no" >&6; }
25858 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
25859 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
25860 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
25861 is in your PATH or set the PKG_CONFIG environment variable to the full
25862 path to pkg-config.
25863
25864 Alternatively, you may set the environment variables JACK_CFLAGS
25865 and JACK_LIBS to avoid the need to call pkg-config.
25866 See the pkg-config man page for more details.
25867
25868 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25869 See 'config.log' for more details" "$LINENO" 5; }
25870 else
25871 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
25872 JACK_LIBS=$pkg_cv_JACK_LIBS
25873 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25874 printf '%s\n' "yes" >&6; }
25875
25876 fi
25877
25878
25879
25880 ac_fn_c_check_func "$LINENO" "jack_port_uuid" "ac_cv_func_jack_port_uuid"
25881 if test "x$ac_cv_func_jack_port_uuid" = xyes
25882 then :
25883
25884 printf '%s\n' "#define HAVE_JACK_PORT_UUID 1" >>confdefs.h
25885
25886 fi
25887
25888 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: JACK enabled" >&5
25889 printf '%s\n' "$as_me: JACK enabled" >&6;}
25890 else case e in #(
25891 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: JACK disabled" >&5
25892 printf '%s\n' "$as_me: JACK disabled" >&6;} ;;
25893 esac
25894 fi
25895
25896 if test "x$enable_pulse" != xno
25897 then :
25898
25899 printf '%s\n' "#define AGS_WITH_PULSE 1" >>confdefs.h
25900
25901
25902
25903 pkg_failed=no
25904 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libpulse-mainloop-glib" >&5
25905 printf %s "checking for libpulse-mainloop-glib... " >&6; }
25906
25907 if test -n "$PULSE_CFLAGS"; then
25908 pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
25909 elif test -n "$PKG_CONFIG"; then
25910 if test -n "$PKG_CONFIG" && \
25911 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-mainloop-glib\""; } >&5
25912 ($PKG_CONFIG --exists --print-errors "libpulse-mainloop-glib") 2>&5
25913 ac_status=$?
25914 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25915 test $ac_status = 0; }; then
25916 pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-mainloop-glib" 2>/dev/null`
25917 test "x$?" != "x0" && pkg_failed=yes
25918 else
25919 pkg_failed=yes
25920 fi
25921 else
25922 pkg_failed=untried
25923 fi
25924 if test -n "$PULSE_LIBS"; then
25925 pkg_cv_PULSE_LIBS="$PULSE_LIBS"
25926 elif test -n "$PKG_CONFIG"; then
25927 if test -n "$PKG_CONFIG" && \
25928 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-mainloop-glib\""; } >&5
25929 ($PKG_CONFIG --exists --print-errors "libpulse-mainloop-glib") 2>&5
25930 ac_status=$?
25931 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25932 test $ac_status = 0; }; then
25933 pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-mainloop-glib" 2>/dev/null`
25934 test "x$?" != "x0" && pkg_failed=yes
25935 else
25936 pkg_failed=yes
25937 fi
25938 else
25939 pkg_failed=untried
25940 fi
25941
25942
25943
25944 if test $pkg_failed = yes; then
25945 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25946 printf '%s\n' "no" >&6; }
25947
25948 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25949 _pkg_short_errors_supported=yes
25950 else
25951 _pkg_short_errors_supported=no
25952 fi
25953 if test $_pkg_short_errors_supported = yes; then
25954 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse-mainloop-glib" 2>&1`
25955 else
25956 PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse-mainloop-glib" 2>&1`
25957 fi
25958 # Put the nasty error message in config.log where it belongs
25959 echo "$PULSE_PKG_ERRORS" >&5
25960
25961 as_fn_error $? "Package requirements (libpulse-mainloop-glib) were not met:
25962
25963 $PULSE_PKG_ERRORS
25964
25965 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25966 installed software in a non-standard prefix.
25967
25968 Alternatively, you may set the environment variables PULSE_CFLAGS
25969 and PULSE_LIBS to avoid the need to call pkg-config.
25970 See the pkg-config man page for more details." "$LINENO" 5
25971 elif test $pkg_failed = untried; then
25972 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
25973 printf '%s\n' "no" >&6; }
25974 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
25975 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
25976 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
25977 is in your PATH or set the PKG_CONFIG environment variable to the full
25978 path to pkg-config.
25979
25980 Alternatively, you may set the environment variables PULSE_CFLAGS
25981 and PULSE_LIBS to avoid the need to call pkg-config.
25982 See the pkg-config man page for more details.
25983
25984 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25985 See 'config.log' for more details" "$LINENO" 5; }
25986 else
25987 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
25988 PULSE_LIBS=$pkg_cv_PULSE_LIBS
25989 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25990 printf '%s\n' "yes" >&6; }
25991
25992 fi
25993
25994
25995
25996 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: PULSE enabled" >&5
25997 printf '%s\n' "$as_me: PULSE enabled" >&6;}
25998 else case e in #(
25999 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: PULSE disabled" >&5
26000 printf '%s\n' "$as_me: PULSE disabled" >&6;} ;;
26001 esac
26002 fi
26003
26004
26005 pkg_failed=no
26006 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.8.0" >&5
26007 printf %s "checking for libxml-2.0 >= 2.8.0... " >&6; }
26008
26009 if test -n "$LIBXML2_CFLAGS"; then
26010 pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
26011 elif test -n "$PKG_CONFIG"; then
26012 if test -n "$PKG_CONFIG" && \
26013 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
26014 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
26015 ac_status=$?
26016 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26017 test $ac_status = 0; }; then
26018 pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.8.0" 2>/dev/null`
26019 test "x$?" != "x0" && pkg_failed=yes
26020 else
26021 pkg_failed=yes
26022 fi
26023 else
26024 pkg_failed=untried
26025 fi
26026 if test -n "$LIBXML2_LIBS"; then
26027 pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
26028 elif test -n "$PKG_CONFIG"; then
26029 if test -n "$PKG_CONFIG" && \
26030 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
26031 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
26032 ac_status=$?
26033 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26034 test $ac_status = 0; }; then
26035 pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.8.0" 2>/dev/null`
26036 test "x$?" != "x0" && pkg_failed=yes
26037 else
26038 pkg_failed=yes
26039 fi
26040 else
26041 pkg_failed=untried
26042 fi
26043
26044
26045
26046 if test $pkg_failed = yes; then
26047 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26048 printf '%s\n' "no" >&6; }
26049
26050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26051 _pkg_short_errors_supported=yes
26052 else
26053 _pkg_short_errors_supported=no
26054 fi
26055 if test $_pkg_short_errors_supported = yes; then
26056 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
26057 else
26058 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
26059 fi
26060 # Put the nasty error message in config.log where it belongs
26061 echo "$LIBXML2_PKG_ERRORS" >&5
26062
26063 as_fn_error $? "Package requirements (libxml-2.0 >= 2.8.0) were not met:
26064
26065 $LIBXML2_PKG_ERRORS
26066
26067 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26068 installed software in a non-standard prefix.
26069
26070 Alternatively, you may set the environment variables LIBXML2_CFLAGS
26071 and LIBXML2_LIBS to avoid the need to call pkg-config.
26072 See the pkg-config man page for more details." "$LINENO" 5
26073 elif test $pkg_failed = untried; then
26074 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26075 printf '%s\n' "no" >&6; }
26076 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26077 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
26078 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26079 is in your PATH or set the PKG_CONFIG environment variable to the full
26080 path to pkg-config.
26081
26082 Alternatively, you may set the environment variables LIBXML2_CFLAGS
26083 and LIBXML2_LIBS to avoid the need to call pkg-config.
26084 See the pkg-config man page for more details.
26085
26086 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26087 See 'config.log' for more details" "$LINENO" 5; }
26088 else
26089 LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
26090 LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
26091 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26092 printf '%s\n' "yes" >&6; }
26093
26094 fi
26095
26096
26097
26098
26099 pkg_failed=no
26100 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for samplerate >= 0.1.8" >&5
26101 printf %s "checking for samplerate >= 0.1.8... " >&6; }
26102
26103 if test -n "$SAMPLERATE_CFLAGS"; then
26104 pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS"
26105 elif test -n "$PKG_CONFIG"; then
26106 if test -n "$PKG_CONFIG" && \
26107 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.8\""; } >&5
26108 ($PKG_CONFIG --exists --print-errors "samplerate >= 0.1.8") 2>&5
26109 ac_status=$?
26110 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26111 test $ac_status = 0; }; then
26112 pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate >= 0.1.8" 2>/dev/null`
26113 test "x$?" != "x0" && pkg_failed=yes
26114 else
26115 pkg_failed=yes
26116 fi
26117 else
26118 pkg_failed=untried
26119 fi
26120 if test -n "$SAMPLERATE_LIBS"; then
26121 pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS"
26122 elif test -n "$PKG_CONFIG"; then
26123 if test -n "$PKG_CONFIG" && \
26124 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.8\""; } >&5
26125 ($PKG_CONFIG --exists --print-errors "samplerate >= 0.1.8") 2>&5
26126 ac_status=$?
26127 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26128 test $ac_status = 0; }; then
26129 pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate >= 0.1.8" 2>/dev/null`
26130 test "x$?" != "x0" && pkg_failed=yes
26131 else
26132 pkg_failed=yes
26133 fi
26134 else
26135 pkg_failed=untried
26136 fi
26137
26138
26139
26140 if test $pkg_failed = yes; then
26141 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26142 printf '%s\n' "no" >&6; }
26143
26144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26145 _pkg_short_errors_supported=yes
26146 else
26147 _pkg_short_errors_supported=no
26148 fi
26149 if test $_pkg_short_errors_supported = yes; then
26150 SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate >= 0.1.8" 2>&1`
26151 else
26152 SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate >= 0.1.8" 2>&1`
26153 fi
26154 # Put the nasty error message in config.log where it belongs
26155 echo "$SAMPLERATE_PKG_ERRORS" >&5
26156
26157 as_fn_error $? "Package requirements (samplerate >= 0.1.8) were not met:
26158
26159 $SAMPLERATE_PKG_ERRORS
26160
26161 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26162 installed software in a non-standard prefix.
26163
26164 Alternatively, you may set the environment variables SAMPLERATE_CFLAGS
26165 and SAMPLERATE_LIBS to avoid the need to call pkg-config.
26166 See the pkg-config man page for more details." "$LINENO" 5
26167 elif test $pkg_failed = untried; then
26168 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26169 printf '%s\n' "no" >&6; }
26170 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26171 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
26172 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26173 is in your PATH or set the PKG_CONFIG environment variable to the full
26174 path to pkg-config.
26175
26176 Alternatively, you may set the environment variables SAMPLERATE_CFLAGS
26177 and SAMPLERATE_LIBS to avoid the need to call pkg-config.
26178 See the pkg-config man page for more details.
26179
26180 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26181 See 'config.log' for more details" "$LINENO" 5; }
26182 else
26183 SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS
26184 SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS
26185 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26186 printf '%s\n' "yes" >&6; }
26187
26188 fi
26189
26190
26191
26192
26193 pkg_failed=no
26194 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sndfile >= 1.0.25" >&5
26195 printf %s "checking for sndfile >= 1.0.25... " >&6; }
26196
26197 if test -n "$SNDFILE_CFLAGS"; then
26198 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
26199 elif test -n "$PKG_CONFIG"; then
26200 if test -n "$PKG_CONFIG" && \
26201 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
26202 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
26203 ac_status=$?
26204 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26205 test $ac_status = 0; }; then
26206 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.25" 2>/dev/null`
26207 test "x$?" != "x0" && pkg_failed=yes
26208 else
26209 pkg_failed=yes
26210 fi
26211 else
26212 pkg_failed=untried
26213 fi
26214 if test -n "$SNDFILE_LIBS"; then
26215 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
26216 elif test -n "$PKG_CONFIG"; then
26217 if test -n "$PKG_CONFIG" && \
26218 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
26219 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
26220 ac_status=$?
26221 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26222 test $ac_status = 0; }; then
26223 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.25" 2>/dev/null`
26224 test "x$?" != "x0" && pkg_failed=yes
26225 else
26226 pkg_failed=yes
26227 fi
26228 else
26229 pkg_failed=untried
26230 fi
26231
26232
26233
26234 if test $pkg_failed = yes; then
26235 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26236 printf '%s\n' "no" >&6; }
26237
26238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26239 _pkg_short_errors_supported=yes
26240 else
26241 _pkg_short_errors_supported=no
26242 fi
26243 if test $_pkg_short_errors_supported = yes; then
26244 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
26245 else
26246 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
26247 fi
26248 # Put the nasty error message in config.log where it belongs
26249 echo "$SNDFILE_PKG_ERRORS" >&5
26250
26251 as_fn_error $? "Package requirements (sndfile >= 1.0.25) were not met:
26252
26253 $SNDFILE_PKG_ERRORS
26254
26255 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26256 installed software in a non-standard prefix.
26257
26258 Alternatively, you may set the environment variables SNDFILE_CFLAGS
26259 and SNDFILE_LIBS to avoid the need to call pkg-config.
26260 See the pkg-config man page for more details." "$LINENO" 5
26261 elif test $pkg_failed = untried; then
26262 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26263 printf '%s\n' "no" >&6; }
26264 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26265 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
26266 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26267 is in your PATH or set the PKG_CONFIG environment variable to the full
26268 path to pkg-config.
26269
26270 Alternatively, you may set the environment variables SNDFILE_CFLAGS
26271 and SNDFILE_LIBS to avoid the need to call pkg-config.
26272 See the pkg-config man page for more details.
26273
26274 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26275 See 'config.log' for more details" "$LINENO" 5; }
26276 else
26277 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
26278 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
26279 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26280 printf '%s\n' "yes" >&6; }
26281
26282 fi
26283
26284
26285
26286
26287 pkg_failed=no
26288 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fftw3 >= 3.3.4" >&5
26289 printf %s "checking for fftw3 >= 3.3.4... " >&6; }
26290
26291 if test -n "$FFTW_CFLAGS"; then
26292 pkg_cv_FFTW_CFLAGS="$FFTW_CFLAGS"
26293 elif test -n "$PKG_CONFIG"; then
26294 if test -n "$PKG_CONFIG" && \
26295 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 3.3.4\""; } >&5
26296 ($PKG_CONFIG --exists --print-errors "fftw3 >= 3.3.4") 2>&5
26297 ac_status=$?
26298 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26299 test $ac_status = 0; }; then
26300 pkg_cv_FFTW_CFLAGS=`$PKG_CONFIG --cflags "fftw3 >= 3.3.4" 2>/dev/null`
26301 test "x$?" != "x0" && pkg_failed=yes
26302 else
26303 pkg_failed=yes
26304 fi
26305 else
26306 pkg_failed=untried
26307 fi
26308 if test -n "$FFTW_LIBS"; then
26309 pkg_cv_FFTW_LIBS="$FFTW_LIBS"
26310 elif test -n "$PKG_CONFIG"; then
26311 if test -n "$PKG_CONFIG" && \
26312 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 3.3.4\""; } >&5
26313 ($PKG_CONFIG --exists --print-errors "fftw3 >= 3.3.4") 2>&5
26314 ac_status=$?
26315 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26316 test $ac_status = 0; }; then
26317 pkg_cv_FFTW_LIBS=`$PKG_CONFIG --libs "fftw3 >= 3.3.4" 2>/dev/null`
26318 test "x$?" != "x0" && pkg_failed=yes
26319 else
26320 pkg_failed=yes
26321 fi
26322 else
26323 pkg_failed=untried
26324 fi
26325
26326
26327
26328 if test $pkg_failed = yes; then
26329 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26330 printf '%s\n' "no" >&6; }
26331
26332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26333 _pkg_short_errors_supported=yes
26334 else
26335 _pkg_short_errors_supported=no
26336 fi
26337 if test $_pkg_short_errors_supported = yes; then
26338 FFTW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fftw3 >= 3.3.4" 2>&1`
26339 else
26340 FFTW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fftw3 >= 3.3.4" 2>&1`
26341 fi
26342 # Put the nasty error message in config.log where it belongs
26343 echo "$FFTW_PKG_ERRORS" >&5
26344
26345 as_fn_error $? "Package requirements (fftw3 >= 3.3.4) were not met:
26346
26347 $FFTW_PKG_ERRORS
26348
26349 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26350 installed software in a non-standard prefix.
26351
26352 Alternatively, you may set the environment variables FFTW_CFLAGS
26353 and FFTW_LIBS to avoid the need to call pkg-config.
26354 See the pkg-config man page for more details." "$LINENO" 5
26355 elif test $pkg_failed = untried; then
26356 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26357 printf '%s\n' "no" >&6; }
26358 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26359 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
26360 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26361 is in your PATH or set the PKG_CONFIG environment variable to the full
26362 path to pkg-config.
26363
26364 Alternatively, you may set the environment variables FFTW_CFLAGS
26365 and FFTW_LIBS to avoid the need to call pkg-config.
26366 See the pkg-config man page for more details.
26367
26368 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26369 See 'config.log' for more details" "$LINENO" 5; }
26370 else
26371 FFTW_CFLAGS=$pkg_cv_FFTW_CFLAGS
26372 FFTW_LIBS=$pkg_cv_FFTW_LIBS
26373 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26374 printf '%s\n' "yes" >&6; }
26375
26376 fi
26377
26378
26379
26380
26381 pkg_failed=no
26382 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.56.0" >&5
26383 printf %s "checking for glib-2.0 >= 2.56.0... " >&6; }
26384
26385 if test -n "$GLIB_CFLAGS"; then
26386 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
26387 elif test -n "$PKG_CONFIG"; then
26388 if test -n "$PKG_CONFIG" && \
26389 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.56.0\""; } >&5
26390 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.56.0") 2>&5
26391 ac_status=$?
26392 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26393 test $ac_status = 0; }; then
26394 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.56.0" 2>/dev/null`
26395 test "x$?" != "x0" && pkg_failed=yes
26396 else
26397 pkg_failed=yes
26398 fi
26399 else
26400 pkg_failed=untried
26401 fi
26402 if test -n "$GLIB_LIBS"; then
26403 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
26404 elif test -n "$PKG_CONFIG"; then
26405 if test -n "$PKG_CONFIG" && \
26406 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.56.0\""; } >&5
26407 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.56.0") 2>&5
26408 ac_status=$?
26409 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26410 test $ac_status = 0; }; then
26411 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.56.0" 2>/dev/null`
26412 test "x$?" != "x0" && pkg_failed=yes
26413 else
26414 pkg_failed=yes
26415 fi
26416 else
26417 pkg_failed=untried
26418 fi
26419
26420
26421
26422 if test $pkg_failed = yes; then
26423 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26424 printf '%s\n' "no" >&6; }
26425
26426 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26427 _pkg_short_errors_supported=yes
26428 else
26429 _pkg_short_errors_supported=no
26430 fi
26431 if test $_pkg_short_errors_supported = yes; then
26432 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.56.0" 2>&1`
26433 else
26434 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.56.0" 2>&1`
26435 fi
26436 # Put the nasty error message in config.log where it belongs
26437 echo "$GLIB_PKG_ERRORS" >&5
26438
26439 as_fn_error $? "Package requirements (glib-2.0 >= 2.56.0) were not met:
26440
26441 $GLIB_PKG_ERRORS
26442
26443 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26444 installed software in a non-standard prefix.
26445
26446 Alternatively, you may set the environment variables GLIB_CFLAGS
26447 and GLIB_LIBS to avoid the need to call pkg-config.
26448 See the pkg-config man page for more details." "$LINENO" 5
26449 elif test $pkg_failed = untried; then
26450 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26451 printf '%s\n' "no" >&6; }
26452 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26453 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
26454 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26455 is in your PATH or set the PKG_CONFIG environment variable to the full
26456 path to pkg-config.
26457
26458 Alternatively, you may set the environment variables GLIB_CFLAGS
26459 and GLIB_LIBS to avoid the need to call pkg-config.
26460 See the pkg-config man page for more details.
26461
26462 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26463 See 'config.log' for more details" "$LINENO" 5; }
26464 else
26465 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
26466 GLIB_LIBS=$pkg_cv_GLIB_LIBS
26467 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26468 printf '%s\n' "yes" >&6; }
26469
26470 fi
26471
26472
26473
26474
26475 pkg_failed=no
26476 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" >&5
26477 printf %s "checking for gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0... " >&6; }
26478
26479 if test -n "$GOBJECT_CFLAGS"; then
26480 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
26481 elif test -n "$PKG_CONFIG"; then
26482 if test -n "$PKG_CONFIG" && \
26483 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0\""; } >&5
26484 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0") 2>&5
26485 ac_status=$?
26486 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26487 test $ac_status = 0; }; then
26488 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>/dev/null`
26489 test "x$?" != "x0" && pkg_failed=yes
26490 else
26491 pkg_failed=yes
26492 fi
26493 else
26494 pkg_failed=untried
26495 fi
26496 if test -n "$GOBJECT_LIBS"; then
26497 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
26498 elif test -n "$PKG_CONFIG"; then
26499 if test -n "$PKG_CONFIG" && \
26500 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0\""; } >&5
26501 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0") 2>&5
26502 ac_status=$?
26503 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26504 test $ac_status = 0; }; then
26505 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>/dev/null`
26506 test "x$?" != "x0" && pkg_failed=yes
26507 else
26508 pkg_failed=yes
26509 fi
26510 else
26511 pkg_failed=untried
26512 fi
26513
26514
26515
26516 if test $pkg_failed = yes; then
26517 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26518 printf '%s\n' "no" >&6; }
26519
26520 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26521 _pkg_short_errors_supported=yes
26522 else
26523 _pkg_short_errors_supported=no
26524 fi
26525 if test $_pkg_short_errors_supported = yes; then
26526 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>&1`
26527 else
26528 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0" 2>&1`
26529 fi
26530 # Put the nasty error message in config.log where it belongs
26531 echo "$GOBJECT_PKG_ERRORS" >&5
26532
26533 as_fn_error $? "Package requirements (gobject-2.0 >= 2.56.0 glib-2.0 >= 2.56.0 gmodule-2.0 >= 2.56.0 gthread-2.0 >= 2.56.0) were not met:
26534
26535 $GOBJECT_PKG_ERRORS
26536
26537 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26538 installed software in a non-standard prefix.
26539
26540 Alternatively, you may set the environment variables GOBJECT_CFLAGS
26541 and GOBJECT_LIBS to avoid the need to call pkg-config.
26542 See the pkg-config man page for more details." "$LINENO" 5
26543 elif test $pkg_failed = untried; then
26544 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26545 printf '%s\n' "no" >&6; }
26546 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26547 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
26548 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26549 is in your PATH or set the PKG_CONFIG environment variable to the full
26550 path to pkg-config.
26551
26552 Alternatively, you may set the environment variables GOBJECT_CFLAGS
26553 and GOBJECT_LIBS to avoid the need to call pkg-config.
26554 See the pkg-config man page for more details.
26555
26556 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26557 See 'config.log' for more details" "$LINENO" 5; }
26558 else
26559 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
26560 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
26561 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26562 printf '%s\n' "yes" >&6; }
26563
26564 fi
26565
26566
26567
26568
26569 printf '%s\n' "#define HAVE_GLIB_2_6 1" >>confdefs.h
26570
26571
26572 printf '%s\n' "#define HAVE_GLIB_2_44 1" >>confdefs.h
26573
26574
26575 printf '%s\n' "#define HAVE_GLIB_2_52 1" >>confdefs.h
26576
26577
26578 printf '%s\n' "#define HAVE_GLIB_2_54 1" >>confdefs.h
26579
26580
26581 printf '%s\n' "#define HAVE_GLIB_2_56 1" >>confdefs.h
26582
26583
26584 printf '%s\n' "#define HAVE_GLIB_2_62 0" >>confdefs.h
26585
26586
26587 printf '%s\n' "#define HAVE_GLIB_2_68 0" >>confdefs.h
26588
26589
26590 if test "x$enable_introspection" != xno
26591 then :
26592 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: introspection enabled" >&5
26593 printf '%s\n' "$as_me: introspection enabled" >&6;}
26594 else case e in #(
26595 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: introspection disabled" >&5
26596 printf '%s\n' "$as_me: introspection disabled" >&6;} ;;
26597 esac
26598 fi
26599 if test "x$enable_introspection" == xyes; then
26600 HAVE_INTROSPECTION_TRUE=
26601 HAVE_INTROSPECTION_FALSE='#'
26602 else
26603 HAVE_INTROSPECTION_TRUE='#'
26604 HAVE_INTROSPECTION_FALSE=
26605 fi
26606
26607 # GOBJECT_INTROSPECTION_CHECK([1.30.0])
26608
26609
26610 pkg_failed=no
26611 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.56.0" >&5
26612 printf %s "checking for gio-2.0 >= 2.56.0... " >&6; }
26613
26614 if test -n "$GIO_CFLAGS"; then
26615 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
26616 elif test -n "$PKG_CONFIG"; then
26617 if test -n "$PKG_CONFIG" && \
26618 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.56.0\""; } >&5
26619 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.56.0") 2>&5
26620 ac_status=$?
26621 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26622 test $ac_status = 0; }; then
26623 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.56.0" 2>/dev/null`
26624 test "x$?" != "x0" && pkg_failed=yes
26625 else
26626 pkg_failed=yes
26627 fi
26628 else
26629 pkg_failed=untried
26630 fi
26631 if test -n "$GIO_LIBS"; then
26632 pkg_cv_GIO_LIBS="$GIO_LIBS"
26633 elif test -n "$PKG_CONFIG"; then
26634 if test -n "$PKG_CONFIG" && \
26635 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.56.0\""; } >&5
26636 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.56.0") 2>&5
26637 ac_status=$?
26638 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26639 test $ac_status = 0; }; then
26640 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.56.0" 2>/dev/null`
26641 test "x$?" != "x0" && pkg_failed=yes
26642 else
26643 pkg_failed=yes
26644 fi
26645 else
26646 pkg_failed=untried
26647 fi
26648
26649
26650
26651 if test $pkg_failed = yes; then
26652 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26653 printf '%s\n' "no" >&6; }
26654
26655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26656 _pkg_short_errors_supported=yes
26657 else
26658 _pkg_short_errors_supported=no
26659 fi
26660 if test $_pkg_short_errors_supported = yes; then
26661 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.56.0" 2>&1`
26662 else
26663 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.56.0" 2>&1`
26664 fi
26665 # Put the nasty error message in config.log where it belongs
26666 echo "$GIO_PKG_ERRORS" >&5
26667
26668 as_fn_error $? "Package requirements (gio-2.0 >= 2.56.0) were not met:
26669
26670 $GIO_PKG_ERRORS
26671
26672 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26673 installed software in a non-standard prefix.
26674
26675 Alternatively, you may set the environment variables GIO_CFLAGS
26676 and GIO_LIBS to avoid the need to call pkg-config.
26677 See the pkg-config man page for more details." "$LINENO" 5
26678 elif test $pkg_failed = untried; then
26679 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26680 printf '%s\n' "no" >&6; }
26681 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26682 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
26683 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26684 is in your PATH or set the PKG_CONFIG environment variable to the full
26685 path to pkg-config.
26686
26687 Alternatively, you may set the environment variables GIO_CFLAGS
26688 and GIO_LIBS to avoid the need to call pkg-config.
26689 See the pkg-config man page for more details.
26690
26691 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26692 See 'config.log' for more details" "$LINENO" 5; }
26693 else
26694 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
26695 GIO_LIBS=$pkg_cv_GIO_LIBS
26696 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26697 printf '%s\n' "yes" >&6; }
26698
26699 fi
26700
26701
26702
26703
26704 pkg_failed=no
26705 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for json-glib-1.0 >= 1.2.0" >&5
26706 printf %s "checking for json-glib-1.0 >= 1.2.0... " >&6; }
26707
26708 if test -n "$JSON_GLIB_CFLAGS"; then
26709 pkg_cv_JSON_GLIB_CFLAGS="$JSON_GLIB_CFLAGS"
26710 elif test -n "$PKG_CONFIG"; then
26711 if test -n "$PKG_CONFIG" && \
26712 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= 1.2.0\""; } >&5
26713 ($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= 1.2.0") 2>&5
26714 ac_status=$?
26715 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26716 test $ac_status = 0; }; then
26717 pkg_cv_JSON_GLIB_CFLAGS=`$PKG_CONFIG --cflags "json-glib-1.0 >= 1.2.0" 2>/dev/null`
26718 test "x$?" != "x0" && pkg_failed=yes
26719 else
26720 pkg_failed=yes
26721 fi
26722 else
26723 pkg_failed=untried
26724 fi
26725 if test -n "$JSON_GLIB_LIBS"; then
26726 pkg_cv_JSON_GLIB_LIBS="$JSON_GLIB_LIBS"
26727 elif test -n "$PKG_CONFIG"; then
26728 if test -n "$PKG_CONFIG" && \
26729 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= 1.2.0\""; } >&5
26730 ($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= 1.2.0") 2>&5
26731 ac_status=$?
26732 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26733 test $ac_status = 0; }; then
26734 pkg_cv_JSON_GLIB_LIBS=`$PKG_CONFIG --libs "json-glib-1.0 >= 1.2.0" 2>/dev/null`
26735 test "x$?" != "x0" && pkg_failed=yes
26736 else
26737 pkg_failed=yes
26738 fi
26739 else
26740 pkg_failed=untried
26741 fi
26742
26743
26744
26745 if test $pkg_failed = yes; then
26746 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26747 printf '%s\n' "no" >&6; }
26748
26749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26750 _pkg_short_errors_supported=yes
26751 else
26752 _pkg_short_errors_supported=no
26753 fi
26754 if test $_pkg_short_errors_supported = yes; then
26755 JSON_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-glib-1.0 >= 1.2.0" 2>&1`
26756 else
26757 JSON_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-glib-1.0 >= 1.2.0" 2>&1`
26758 fi
26759 # Put the nasty error message in config.log where it belongs
26760 echo "$JSON_GLIB_PKG_ERRORS" >&5
26761
26762 as_fn_error $? "Package requirements (json-glib-1.0 >= 1.2.0) were not met:
26763
26764 $JSON_GLIB_PKG_ERRORS
26765
26766 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26767 installed software in a non-standard prefix.
26768
26769 Alternatively, you may set the environment variables JSON_GLIB_CFLAGS
26770 and JSON_GLIB_LIBS to avoid the need to call pkg-config.
26771 See the pkg-config man page for more details." "$LINENO" 5
26772 elif test $pkg_failed = untried; then
26773 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26774 printf '%s\n' "no" >&6; }
26775 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26776 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
26777 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26778 is in your PATH or set the PKG_CONFIG environment variable to the full
26779 path to pkg-config.
26780
26781 Alternatively, you may set the environment variables JSON_GLIB_CFLAGS
26782 and JSON_GLIB_LIBS to avoid the need to call pkg-config.
26783 See the pkg-config man page for more details.
26784
26785 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26786 See 'config.log' for more details" "$LINENO" 5; }
26787 else
26788 JSON_GLIB_CFLAGS=$pkg_cv_JSON_GLIB_CFLAGS
26789 JSON_GLIB_LIBS=$pkg_cv_JSON_GLIB_LIBS
26790 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26791 printf '%s\n' "yes" >&6; }
26792
26793 fi
26794
26795
26796
26797
26798 pkg_failed=no
26799 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libsoup-3.0 >= 3.0.0" >&5
26800 printf %s "checking for libsoup-3.0 >= 3.0.0... " >&6; }
26801
26802 if test -n "$LIBSOUP_CFLAGS"; then
26803 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
26804 elif test -n "$PKG_CONFIG"; then
26805 if test -n "$PKG_CONFIG" && \
26806 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-3.0 >= 3.0.0\""; } >&5
26807 ($PKG_CONFIG --exists --print-errors "libsoup-3.0 >= 3.0.0") 2>&5
26808 ac_status=$?
26809 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26810 test $ac_status = 0; }; then
26811 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-3.0 >= 3.0.0" 2>/dev/null`
26812 test "x$?" != "x0" && pkg_failed=yes
26813 else
26814 pkg_failed=yes
26815 fi
26816 else
26817 pkg_failed=untried
26818 fi
26819 if test -n "$LIBSOUP_LIBS"; then
26820 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
26821 elif test -n "$PKG_CONFIG"; then
26822 if test -n "$PKG_CONFIG" && \
26823 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-3.0 >= 3.0.0\""; } >&5
26824 ($PKG_CONFIG --exists --print-errors "libsoup-3.0 >= 3.0.0") 2>&5
26825 ac_status=$?
26826 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26827 test $ac_status = 0; }; then
26828 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-3.0 >= 3.0.0" 2>/dev/null`
26829 test "x$?" != "x0" && pkg_failed=yes
26830 else
26831 pkg_failed=yes
26832 fi
26833 else
26834 pkg_failed=untried
26835 fi
26836
26837
26838
26839 if test $pkg_failed = yes; then
26840 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26841 printf '%s\n' "no" >&6; }
26842
26843 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26844 _pkg_short_errors_supported=yes
26845 else
26846 _pkg_short_errors_supported=no
26847 fi
26848 if test $_pkg_short_errors_supported = yes; then
26849 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-3.0 >= 3.0.0" 2>&1`
26850 else
26851 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-3.0 >= 3.0.0" 2>&1`
26852 fi
26853 # Put the nasty error message in config.log where it belongs
26854 echo "$LIBSOUP_PKG_ERRORS" >&5
26855
26856 as_fn_error $? "Package requirements (libsoup-3.0 >= 3.0.0) were not met:
26857
26858 $LIBSOUP_PKG_ERRORS
26859
26860 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26861 installed software in a non-standard prefix.
26862
26863 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
26864 and LIBSOUP_LIBS to avoid the need to call pkg-config.
26865 See the pkg-config man page for more details." "$LINENO" 5
26866 elif test $pkg_failed = untried; then
26867 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
26868 printf '%s\n' "no" >&6; }
26869 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26870 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
26871 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26872 is in your PATH or set the PKG_CONFIG environment variable to the full
26873 path to pkg-config.
26874
26875 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
26876 and LIBSOUP_LIBS to avoid the need to call pkg-config.
26877 See the pkg-config man page for more details.
26878
26879 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26880 See 'config.log' for more details" "$LINENO" 5; }
26881 else
26882 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
26883 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
26884 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26885 printf '%s\n' "yes" >&6; }
26886
26887 fi
26888
26889
26890
26891
26892 printf '%s\n' "#define HAVE_ATK_2_12 1" >>confdefs.h
26893
26894
26895 if test "x$enable_debug" != xno
26896 then :
26897
26898 printf '%s\n' "#define AGS_WITH_DEBUG 1" >>confdefs.h
26899
26900
26901 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: debug enabled" >&5
26902 printf '%s\n' "$as_me: debug enabled" >&6;}
26903 else case e in #(
26904 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: debug disabled" >&5
26905 printf '%s\n' "$as_me: debug disabled" >&6;} ;;
26906 esac
26907 fi
26908 if test "x$enable_debug" == xyes; then
26909 AGS_WITH_DEBUG_TRUE=
26910 AGS_WITH_DEBUG_FALSE='#'
26911 else
26912 AGS_WITH_DEBUG_TRUE='#'
26913 AGS_WITH_DEBUG_FALSE=
26914 fi
26915
26916
26917 if test "x$enable_devel" != xno
26918 then :
26919
26920 printf '%s\n' "#define AGS_WITH_DEVEL 1" >>confdefs.h
26921
26922
26923 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: devel enabled" >&5
26924 printf '%s\n' "$as_me: devel enabled" >&6;}
26925 else case e in #(
26926 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: devel disabled" >&5
26927 printf '%s\n' "$as_me: devel disabled" >&6;} ;;
26928 esac
26929 fi
26930 if test "x$enable_devel" == xyes; then
26931 AGS_WITH_DEVEL_TRUE=
26932 AGS_WITH_DEVEL_FALSE='#'
26933 else
26934 AGS_WITH_DEVEL_TRUE='#'
26935 AGS_WITH_DEVEL_FALSE=
26936 fi
26937
26938
26939 if test "x$enable_public_libgsequencer" != xno
26940 then :
26941
26942 printf '%s\n' "#define AGS_WITH_PUBLIC_LIBGSEQUENCER 1" >>confdefs.h
26943
26944
26945 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: public libgsequencer enabled" >&5
26946 printf '%s\n' "$as_me: public libgsequencer enabled" >&6;}
26947 else case e in #(
26948 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: public libgsequencer disabled" >&5
26949 printf '%s\n' "$as_me: public libgsequencer disabled" >&6;} ;;
26950 esac
26951 fi
26952 if test "x$enable_public_libgsequencer" == xyes; then
26953 AGS_WITH_PUBLIC_LIBGSEQUENCER_TRUE=
26954 AGS_WITH_PUBLIC_LIBGSEQUENCER_FALSE='#'
26955 else
26956 AGS_WITH_PUBLIC_LIBGSEQUENCER_TRUE='#'
26957 AGS_WITH_PUBLIC_LIBGSEQUENCER_FALSE=
26958 fi
26959
26960
26961 if test "x$enable_upstream_gtk_doc" != xno
26962 then :
26963
26964 printf '%s\n' "#define AGS_WITH_UPSTREAM_GTK_DOC 1" >>confdefs.h
26965
26966
26967 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: upstream API reference directory enabled" >&5
26968 printf '%s\n' "$as_me: upstream API reference directory enabled" >&6;}
26969 else case e in #(
26970 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: upstream API reference directory disabled" >&5
26971 printf '%s\n' "$as_me: upstream API reference directory disabled" >&6;} ;;
26972 esac
26973 fi
26974 if test "x$enable_upstream_gtk_doc" == xyes; then
26975 AGS_WITH_UPSTREAM_GTK_DOC_TRUE=
26976 AGS_WITH_UPSTREAM_GTK_DOC_FALSE='#'
26977 else
26978 AGS_WITH_UPSTREAM_GTK_DOC_TRUE='#'
26979 AGS_WITH_UPSTREAM_GTK_DOC_FALSE=
26980 fi
26981
26982
26983 if test "x$enable_single_docdir" != xno
26984 then :
26985
26986 printf '%s\n' "#define AGS_WITH_SINGLE_DOCDIR 1" >>confdefs.h
26987
26988
26989 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: single documentation directory enabled" >&5
26990 printf '%s\n' "$as_me: single documentation directory enabled" >&6;}
26991 else case e in #(
26992 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: single documentation directory disabled" >&5
26993 printf '%s\n' "$as_me: single documentation directory disabled" >&6;} ;;
26994 esac
26995 fi
26996 if test "x$enable_single_docdir" == xyes; then
26997 AGS_WITH_SINGLE_DOCDIR_TRUE=
26998 AGS_WITH_SINGLE_DOCDIR_FALSE='#'
26999 else
27000 AGS_WITH_SINGLE_DOCDIR_TRUE='#'
27001 AGS_WITH_SINGLE_DOCDIR_FALSE=
27002 fi
27003
27004
27005 LIBAGS_AUDIO_LIBINSTPATCH_FILE_XINCLUDE="/dev/null"
27006
27007 LIBAGS_AUDIO_LIBINSTPATCH_SF2_XINCLUDE="/dev/null"
27008
27009 LIBAGS_AUDIO_LIBINSTPATCH_THREAD_XINCLUDE="/dev/null"
27010
27011 LIBAGS_AUDIO_LIBINSTPATCH_FX_XINCLUDE="/dev/null"
27012
27013 LIBAGS_AUDIO_LIBINSTPATCH_TASK_XINCLUDE="/dev/null"
27014
27015 LIBGSEQUENCER_LIBINSTPATCH_MACHINE_XINCLUDE="/dev/null"
27016
27017 if test "x$enable_libinstpatch" != xno
27018 then :
27019
27020 pkg_failed=no
27021 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for libinstpatch-1.0 >= 1.0" >&5
27022 printf %s "checking for libinstpatch-1.0 >= 1.0... " >&6; }
27023
27024 if test -n "$LIBINSTPATCH_CFLAGS"; then
27025 pkg_cv_LIBINSTPATCH_CFLAGS="$LIBINSTPATCH_CFLAGS"
27026 elif test -n "$PKG_CONFIG"; then
27027 if test -n "$PKG_CONFIG" && \
27028 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
27029 ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
27030 ac_status=$?
27031 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27032 test $ac_status = 0; }; then
27033 pkg_cv_LIBINSTPATCH_CFLAGS=`$PKG_CONFIG --cflags "libinstpatch-1.0 >= 1.0" 2>/dev/null`
27034 test "x$?" != "x0" && pkg_failed=yes
27035 else
27036 pkg_failed=yes
27037 fi
27038 else
27039 pkg_failed=untried
27040 fi
27041 if test -n "$LIBINSTPATCH_LIBS"; then
27042 pkg_cv_LIBINSTPATCH_LIBS="$LIBINSTPATCH_LIBS"
27043 elif test -n "$PKG_CONFIG"; then
27044 if test -n "$PKG_CONFIG" && \
27045 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
27046 ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
27047 ac_status=$?
27048 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27049 test $ac_status = 0; }; then
27050 pkg_cv_LIBINSTPATCH_LIBS=`$PKG_CONFIG --libs "libinstpatch-1.0 >= 1.0" 2>/dev/null`
27051 test "x$?" != "x0" && pkg_failed=yes
27052 else
27053 pkg_failed=yes
27054 fi
27055 else
27056 pkg_failed=untried
27057 fi
27058
27059
27060
27061 if test $pkg_failed = yes; then
27062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27063 printf '%s\n' "no" >&6; }
27064
27065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27066 _pkg_short_errors_supported=yes
27067 else
27068 _pkg_short_errors_supported=no
27069 fi
27070 if test $_pkg_short_errors_supported = yes; then
27071 LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
27072 else
27073 LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
27074 fi
27075 # Put the nasty error message in config.log where it belongs
27076 echo "$LIBINSTPATCH_PKG_ERRORS" >&5
27077
27078 as_fn_error $? "Package requirements (libinstpatch-1.0 >= 1.0) were not met:
27079
27080 $LIBINSTPATCH_PKG_ERRORS
27081
27082 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27083 installed software in a non-standard prefix.
27084
27085 Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
27086 and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
27087 See the pkg-config man page for more details." "$LINENO" 5
27088 elif test $pkg_failed = untried; then
27089 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27090 printf '%s\n' "no" >&6; }
27091 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
27092 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
27093 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
27094 is in your PATH or set the PKG_CONFIG environment variable to the full
27095 path to pkg-config.
27096
27097 Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
27098 and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
27099 See the pkg-config man page for more details.
27100
27101 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27102 See 'config.log' for more details" "$LINENO" 5; }
27103 else
27104 LIBINSTPATCH_CFLAGS=$pkg_cv_LIBINSTPATCH_CFLAGS
27105 LIBINSTPATCH_LIBS=$pkg_cv_LIBINSTPATCH_LIBS
27106 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27107 printf '%s\n' "yes" >&6; }
27108
27109 fi
27110
27111
27112
27113 LIBAGS_AUDIO_LIBINSTPATCH_FILE_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_libinstpatch_file.xml"
27114
27115 LIBAGS_AUDIO_LIBINSTPATCH_SF2_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_libinstpatch_sf2.xml"
27116
27117 LIBAGS_AUDIO_LIBINSTPATCH_THREAD_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_libinstpatch_thread.xml"
27118
27119 LIBAGS_AUDIO_LIBINSTPATCH_FX_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_libinstpatch_fx.xml"
27120
27121 LIBAGS_AUDIO_LIBINSTPATCH_TASK_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_libinstpatch_task.xml"
27122
27123 LIBGSEQUENCER_LIBINSTPATCH_MACHINE_XINCLUDE="$srcdir/docs/reference/libgsequencer/libgsequencer_libinstpatch_machine.xml"
27124
27125
27126 printf '%s\n' "#define AGS_WITH_LIBINSTPATCH 1" >>confdefs.h
27127
27128 else case e in #(
27129 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: libinstpatch disabled" >&5
27130 printf '%s\n' "$as_me: libinstpatch disabled" >&6;} ;;
27131 esac
27132 fi
27133
27134
27135
27136
27137
27138
27139
27140
27141 if test "x$enable_libinstpatch" == xyes; then
27142 WITH_LIBINSTPATCH_TRUE=
27143 WITH_LIBINSTPATCH_FALSE='#'
27144 else
27145 WITH_LIBINSTPATCH_TRUE='#'
27146 WITH_LIBINSTPATCH_FALSE=
27147 fi
27148
27149
27150 WITH_VST3=0
27151
27152 if test "${LIBAGS_VST3_LIBDIR+set}" = set; then
27153 echo "variable \$LIBAGS_VST3_LIBDIR is set to: $LIBAGS_VST3_LIBDIR"
27154 else
27155 LIBAGS_VST3_LIBDIR="-L$libexecdir/lib/vst3"
27156 echo "variable \$LIBAGS_VST3_LIBDIR is set to: $LIBAGS_VST3_LIBDIR"
27157 fi
27158
27159 if test "${LIBAGS_VST3_LIBS+set}" = set; then
27160 echo "variable \$LIBAGS_VST3_LIBS is set to: $LIBAGS_VST3_LIBS"
27161 else
27162 # -lvstgui_standalone
27163 LIBAGS_VST3_LIBS="-lbase -lpluginterfaces -lsdk -lsdk_common -lsdk_hosting"
27164 echo "variable \$LIBAGS_VST3_LIBS is set to: $LIBAGS_VST3_LIBS"
27165 fi
27166
27167 LIBAGS_AUDIO_VST3_PLUGIN_XINCLUDE="/dev/null"
27168
27169 LIBAGS_AUDIO_VST3_FX_XINCLUDE="/dev/null"
27170
27171 LIBAGS_AUDIO_VST3_TASK_XINCLUDE="/dev/null"
27172
27173 LIBGSEQUENCER_VST3_BROWSER_XINCLUDE="/dev/null"
27174
27175 LIBGSEQUENCER_VST3_MACHINE_XINCLUDE="/dev/null"
27176
27177 if test "x$enable_vst3" != xno
27178 then :
27179
27180 printf '%s\n' "#define AGS_WITH_VST3 1" >>confdefs.h
27181
27182 LIBAGS_AUDIO_VST3_PLUGIN_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_vst3_plugin.xml"
27183
27184 LIBAGS_AUDIO_VST3_FX_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_vst3_fx.xml"
27185
27186 LIBAGS_AUDIO_VST3_TASK_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_vst3_task.xml"
27187
27188 LIBGSEQUENCER_VST3_BROWSER_XINCLUDE="$srcdir/docs/reference/libgsequencer/libgsequencer_vst3_browser.xml"
27189
27190 LIBGSEQUENCER_VST3_MACHINE_XINCLUDE="$srcdir/docs/reference/libgsequencer/libgsequencer_vst3_machine.xml"
27191
27192
27193
27194
27195
27196
27197
27198 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: VST3 enabled" >&5
27199 printf '%s\n' "$as_me: VST3 enabled" >&6;}
27200 else case e in #(
27201 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: VST3 disabled" >&5
27202 printf '%s\n' "$as_me: VST3 disabled" >&6;} ;;
27203 esac
27204 fi
27205
27206
27207
27208
27209
27210
27211
27212 if test "x$enable_vst3" == xyes; then
27213 WITH_VST3_TRUE=
27214 WITH_VST3_FALSE='#'
27215 else
27216 WITH_VST3_TRUE='#'
27217 WITH_VST3_FALSE=
27218 fi
27219
27220
27221 WITH_AUDIO_UNIT_PLUGINS=0
27222
27223 if test "${LIBAGS_AUDIO_UNIT_PLUGINS_LIBDIR+set}" = set; then
27224 echo "variable \$LIBAGS_AUDIO_UNIT_PLUGINS_LIBDIR is set to: $LIBAGS_AUDIO_UNIT_PLUGINS_LIBDIR"
27225 else
27226 LIBAGS_AUDIO_UNIT_PLUGINS_LIBDIR="-L$libexecdir/lib/audio-unit"
27227 echo "variable \$LIBAGS_AUDIO_UNIT_PLUGINS_LIBDIR is set to: $LIBAGS_AUDIO_UNIT_PLUGINS_LIBDIR"
27228 fi
27229
27230 if test "${LIBAGS_AUDIO_UNIT_PLUGINS_LIBS+set}" = set; then
27231 echo "variable \$LIBAGS_AUDIO_UNIT_PLUGINS_LIBS is set to: $LIBAGS_AUDIO_UNIT_PLUGINS_LIBS"
27232 else
27233 # -lvstgui_standalone
27234 LIBAGS_AUDIO_UNIT_PLUGINS_LIBS="-framework Foundation -framework CoreFoundation -framework AVFoundation -framework AudioToolbox"
27235 echo "variable \$LIBAGS_AUDIO_UNIT_PLUGINS_LIBS is set to: $LIBAGS_AUDIO_UNIT_PLUGINS_LIBS"
27236 fi
27237
27238 LIBAGS_AUDIO_AUDIO_UNIT_PLUGIN_XINCLUDE="/dev/null"
27239
27240 LIBAGS_AUDIO_AUDIO_UNIT_FX_XINCLUDE="/dev/null"
27241
27242 LIBAGS_AUDIO_AUDIO_UNIT_TASK_XINCLUDE="/dev/null"
27243
27244 LIBGSEQUENCER_AUDIO_UNIT_BROWSER_XINCLUDE="/dev/null"
27245
27246 LIBGSEQUENCER_AUDIO_UNIT_MACHINE_XINCLUDE="/dev/null"
27247
27248 if test "x$enable_audio_unit_plugins" != xno
27249 then :
27250
27251 printf '%s\n' "#define AGS_WITH_AUDIO_UNIT_PLUGINS 1" >>confdefs.h
27252
27253 LIBAGS_AUDIO_AUDIO_UNIT_PLUGIN_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_audio_unit_plugin.xml"
27254
27255 LIBAGS_AUDIO_AUDIO_UNIT_FX_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_audio_unit_fx.xml"
27256
27257 LIBAGS_AUDIO_AUDIO_UNIT_TASK_XINCLUDE="$srcdir/docs/reference/libags-audio/libags_audio_audio_unit_task.xml"
27258
27259 LIBGSEQUENCER_AUDIO_UNIT_BROWSER_XINCLUDE="$srcdir/docs/reference/libgsequencer/libgsequencer_audio_unit_browser.xml"
27260
27261 LIBGSEQUENCER_AUDIO_UNIT_MACHINE_XINCLUDE="$srcdir/docs/reference/libgsequencer/libgsequencer_audio_unit_machine.xml"
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: AUDIO_UNIT_PLUGINS enabled" >&5
27272 printf '%s\n' "$as_me: AUDIO_UNIT_PLUGINS enabled" >&6;}
27273 else case e in #(
27274 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: AUDIO_UNIT_PLUGINS disabled" >&5
27275 printf '%s\n' "$as_me: AUDIO_UNIT_PLUGINS disabled" >&6;} ;;
27276 esac
27277 fi
27278
27279
27280
27281
27282
27283
27284
27285 if test "x$enable_audio_unit_plugins" == xyes; then
27286 WITH_AUDIO_UNIT_PLUGINS_TRUE=
27287 WITH_AUDIO_UNIT_PLUGINS_FALSE='#'
27288 else
27289 WITH_AUDIO_UNIT_PLUGINS_TRUE='#'
27290 WITH_AUDIO_UNIT_PLUGINS_FALSE=
27291 fi
27292
27293
27294 if test "x$enable_midi2" == xyes; then
27295 WITH_MIDI2_TRUE=
27296 WITH_MIDI2_FALSE='#'
27297 else
27298 WITH_MIDI2_TRUE='#'
27299 WITH_MIDI2_FALSE=
27300 fi
27301
27302
27303
27304 pkg_failed=no
27305 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.12.0" >&5
27306 printf %s "checking for cairo >= 1.12.0... " >&6; }
27307
27308 if test -n "$CAIRO_CFLAGS"; then
27309 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
27310 elif test -n "$PKG_CONFIG"; then
27311 if test -n "$PKG_CONFIG" && \
27312 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
27313 ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
27314 ac_status=$?
27315 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27316 test $ac_status = 0; }; then
27317 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.12.0" 2>/dev/null`
27318 test "x$?" != "x0" && pkg_failed=yes
27319 else
27320 pkg_failed=yes
27321 fi
27322 else
27323 pkg_failed=untried
27324 fi
27325 if test -n "$CAIRO_LIBS"; then
27326 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
27327 elif test -n "$PKG_CONFIG"; then
27328 if test -n "$PKG_CONFIG" && \
27329 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
27330 ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
27331 ac_status=$?
27332 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27333 test $ac_status = 0; }; then
27334 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.12.0" 2>/dev/null`
27335 test "x$?" != "x0" && pkg_failed=yes
27336 else
27337 pkg_failed=yes
27338 fi
27339 else
27340 pkg_failed=untried
27341 fi
27342
27343
27344
27345 if test $pkg_failed = yes; then
27346 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27347 printf '%s\n' "no" >&6; }
27348
27349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27350 _pkg_short_errors_supported=yes
27351 else
27352 _pkg_short_errors_supported=no
27353 fi
27354 if test $_pkg_short_errors_supported = yes; then
27355 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
27356 else
27357 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
27358 fi
27359 # Put the nasty error message in config.log where it belongs
27360 echo "$CAIRO_PKG_ERRORS" >&5
27361
27362 as_fn_error $? "Package requirements (cairo >= 1.12.0) were not met:
27363
27364 $CAIRO_PKG_ERRORS
27365
27366 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27367 installed software in a non-standard prefix.
27368
27369 Alternatively, you may set the environment variables CAIRO_CFLAGS
27370 and CAIRO_LIBS to avoid the need to call pkg-config.
27371 See the pkg-config man page for more details." "$LINENO" 5
27372 elif test $pkg_failed = untried; then
27373 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27374 printf '%s\n' "no" >&6; }
27375 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
27376 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
27377 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
27378 is in your PATH or set the PKG_CONFIG environment variable to the full
27379 path to pkg-config.
27380
27381 Alternatively, you may set the environment variables CAIRO_CFLAGS
27382 and CAIRO_LIBS to avoid the need to call pkg-config.
27383 See the pkg-config man page for more details.
27384
27385 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27386 See 'config.log' for more details" "$LINENO" 5; }
27387 else
27388 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
27389 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
27390 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27391 printf '%s\n' "yes" >&6; }
27392
27393 fi
27394
27395
27396
27397
27398 pkg_failed=no
27399 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gtk4 >= 4.0.0" >&5
27400 printf %s "checking for gtk4 >= 4.0.0... " >&6; }
27401
27402 if test -n "$GTK_CFLAGS"; then
27403 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
27404 elif test -n "$PKG_CONFIG"; then
27405 if test -n "$PKG_CONFIG" && \
27406 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk4 >= 4.0.0\""; } >&5
27407 ($PKG_CONFIG --exists --print-errors "gtk4 >= 4.0.0") 2>&5
27408 ac_status=$?
27409 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27410 test $ac_status = 0; }; then
27411 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk4 >= 4.0.0" 2>/dev/null`
27412 test "x$?" != "x0" && pkg_failed=yes
27413 else
27414 pkg_failed=yes
27415 fi
27416 else
27417 pkg_failed=untried
27418 fi
27419 if test -n "$GTK_LIBS"; then
27420 pkg_cv_GTK_LIBS="$GTK_LIBS"
27421 elif test -n "$PKG_CONFIG"; then
27422 if test -n "$PKG_CONFIG" && \
27423 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk4 >= 4.0.0\""; } >&5
27424 ($PKG_CONFIG --exists --print-errors "gtk4 >= 4.0.0") 2>&5
27425 ac_status=$?
27426 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27427 test $ac_status = 0; }; then
27428 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk4 >= 4.0.0" 2>/dev/null`
27429 test "x$?" != "x0" && pkg_failed=yes
27430 else
27431 pkg_failed=yes
27432 fi
27433 else
27434 pkg_failed=untried
27435 fi
27436
27437
27438
27439 if test $pkg_failed = yes; then
27440 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27441 printf '%s\n' "no" >&6; }
27442
27443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27444 _pkg_short_errors_supported=yes
27445 else
27446 _pkg_short_errors_supported=no
27447 fi
27448 if test $_pkg_short_errors_supported = yes; then
27449 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk4 >= 4.0.0" 2>&1`
27450 else
27451 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk4 >= 4.0.0" 2>&1`
27452 fi
27453 # Put the nasty error message in config.log where it belongs
27454 echo "$GTK_PKG_ERRORS" >&5
27455
27456 as_fn_error $? "Package requirements (gtk4 >= 4.0.0) were not met:
27457
27458 $GTK_PKG_ERRORS
27459
27460 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27461 installed software in a non-standard prefix.
27462
27463 Alternatively, you may set the environment variables GTK_CFLAGS
27464 and GTK_LIBS to avoid the need to call pkg-config.
27465 See the pkg-config man page for more details." "$LINENO" 5
27466 elif test $pkg_failed = untried; then
27467 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27468 printf '%s\n' "no" >&6; }
27469 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
27470 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
27471 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
27472 is in your PATH or set the PKG_CONFIG environment variable to the full
27473 path to pkg-config.
27474
27475 Alternatively, you may set the environment variables GTK_CFLAGS
27476 and GTK_LIBS to avoid the need to call pkg-config.
27477 See the pkg-config man page for more details.
27478
27479 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27480 See 'config.log' for more details" "$LINENO" 5; }
27481 else
27482 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
27483 GTK_LIBS=$pkg_cv_GTK_LIBS
27484 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27485 printf '%s\n' "yes" >&6; }
27486
27487 fi
27488
27489
27490
27491 if test "x$with_gtk_unix_print" != xno
27492 then :
27493
27494 pkg_failed=no
27495 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gtk4-unix-print >= 4.0.0" >&5
27496 printf %s "checking for gtk4-unix-print >= 4.0.0... " >&6; }
27497
27498 if test -n "$GTK_UNIX_PRINT_CFLAGS"; then
27499 pkg_cv_GTK_UNIX_PRINT_CFLAGS="$GTK_UNIX_PRINT_CFLAGS"
27500 elif test -n "$PKG_CONFIG"; then
27501 if test -n "$PKG_CONFIG" && \
27502 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk4-unix-print >= 4.0.0\""; } >&5
27503 ($PKG_CONFIG --exists --print-errors "gtk4-unix-print >= 4.0.0") 2>&5
27504 ac_status=$?
27505 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27506 test $ac_status = 0; }; then
27507 pkg_cv_GTK_UNIX_PRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk4-unix-print >= 4.0.0" 2>/dev/null`
27508 test "x$?" != "x0" && pkg_failed=yes
27509 else
27510 pkg_failed=yes
27511 fi
27512 else
27513 pkg_failed=untried
27514 fi
27515 if test -n "$GTK_UNIX_PRINT_LIBS"; then
27516 pkg_cv_GTK_UNIX_PRINT_LIBS="$GTK_UNIX_PRINT_LIBS"
27517 elif test -n "$PKG_CONFIG"; then
27518 if test -n "$PKG_CONFIG" && \
27519 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk4-unix-print >= 4.0.0\""; } >&5
27520 ($PKG_CONFIG --exists --print-errors "gtk4-unix-print >= 4.0.0") 2>&5
27521 ac_status=$?
27522 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27523 test $ac_status = 0; }; then
27524 pkg_cv_GTK_UNIX_PRINT_LIBS=`$PKG_CONFIG --libs "gtk4-unix-print >= 4.0.0" 2>/dev/null`
27525 test "x$?" != "x0" && pkg_failed=yes
27526 else
27527 pkg_failed=yes
27528 fi
27529 else
27530 pkg_failed=untried
27531 fi
27532
27533
27534
27535 if test $pkg_failed = yes; then
27536 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27537 printf '%s\n' "no" >&6; }
27538
27539 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27540 _pkg_short_errors_supported=yes
27541 else
27542 _pkg_short_errors_supported=no
27543 fi
27544 if test $_pkg_short_errors_supported = yes; then
27545 GTK_UNIX_PRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk4-unix-print >= 4.0.0" 2>&1`
27546 else
27547 GTK_UNIX_PRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk4-unix-print >= 4.0.0" 2>&1`
27548 fi
27549 # Put the nasty error message in config.log where it belongs
27550 echo "$GTK_UNIX_PRINT_PKG_ERRORS" >&5
27551
27552 as_fn_error $? "Package requirements (gtk4-unix-print >= 4.0.0) were not met:
27553
27554 $GTK_UNIX_PRINT_PKG_ERRORS
27555
27556 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27557 installed software in a non-standard prefix.
27558
27559 Alternatively, you may set the environment variables GTK_UNIX_PRINT_CFLAGS
27560 and GTK_UNIX_PRINT_LIBS to avoid the need to call pkg-config.
27561 See the pkg-config man page for more details." "$LINENO" 5
27562 elif test $pkg_failed = untried; then
27563 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27564 printf '%s\n' "no" >&6; }
27565 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
27566 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
27567 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
27568 is in your PATH or set the PKG_CONFIG environment variable to the full
27569 path to pkg-config.
27570
27571 Alternatively, you may set the environment variables GTK_UNIX_PRINT_CFLAGS
27572 and GTK_UNIX_PRINT_LIBS to avoid the need to call pkg-config.
27573 See the pkg-config man page for more details.
27574
27575 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27576 See 'config.log' for more details" "$LINENO" 5; }
27577 else
27578 GTK_UNIX_PRINT_CFLAGS=$pkg_cv_GTK_UNIX_PRINT_CFLAGS
27579 GTK_UNIX_PRINT_LIBS=$pkg_cv_GTK_UNIX_PRINT_LIBS
27580 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27581 printf '%s\n' "yes" >&6; }
27582
27583 fi
27584
27585
27586
27587 printf '%s\n' "#define AGS_WITH_GTK_UNIX_PRINT 1" >>confdefs.h
27588
27589
27590 fi
27591
27592 if test "x$with_poppler" != xno
27593 then :
27594
27595 pkg_failed=no
27596 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for poppler-glib >= 0.71.0" >&5
27597 printf %s "checking for poppler-glib >= 0.71.0... " >&6; }
27598
27599 if test -n "$POPPLER_CFLAGS"; then
27600 pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
27601 elif test -n "$PKG_CONFIG"; then
27602 if test -n "$PKG_CONFIG" && \
27603 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.71.0\""; } >&5
27604 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.71.0") 2>&5
27605 ac_status=$?
27606 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27607 test $ac_status = 0; }; then
27608 pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.71.0" 2>/dev/null`
27609 test "x$?" != "x0" && pkg_failed=yes
27610 else
27611 pkg_failed=yes
27612 fi
27613 else
27614 pkg_failed=untried
27615 fi
27616 if test -n "$POPPLER_LIBS"; then
27617 pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
27618 elif test -n "$PKG_CONFIG"; then
27619 if test -n "$PKG_CONFIG" && \
27620 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.71.0\""; } >&5
27621 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.71.0") 2>&5
27622 ac_status=$?
27623 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27624 test $ac_status = 0; }; then
27625 pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.71.0" 2>/dev/null`
27626 test "x$?" != "x0" && pkg_failed=yes
27627 else
27628 pkg_failed=yes
27629 fi
27630 else
27631 pkg_failed=untried
27632 fi
27633
27634
27635
27636 if test $pkg_failed = yes; then
27637 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27638 printf '%s\n' "no" >&6; }
27639
27640 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27641 _pkg_short_errors_supported=yes
27642 else
27643 _pkg_short_errors_supported=no
27644 fi
27645 if test $_pkg_short_errors_supported = yes; then
27646 POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.71.0" 2>&1`
27647 else
27648 POPPLER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.71.0" 2>&1`
27649 fi
27650 # Put the nasty error message in config.log where it belongs
27651 echo "$POPPLER_PKG_ERRORS" >&5
27652
27653 as_fn_error $? "Package requirements (poppler-glib >= 0.71.0) were not met:
27654
27655 $POPPLER_PKG_ERRORS
27656
27657 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27658 installed software in a non-standard prefix.
27659
27660 Alternatively, you may set the environment variables POPPLER_CFLAGS
27661 and POPPLER_LIBS to avoid the need to call pkg-config.
27662 See the pkg-config man page for more details." "$LINENO" 5
27663 elif test $pkg_failed = untried; then
27664 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27665 printf '%s\n' "no" >&6; }
27666 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
27667 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
27668 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
27669 is in your PATH or set the PKG_CONFIG environment variable to the full
27670 path to pkg-config.
27671
27672 Alternatively, you may set the environment variables POPPLER_CFLAGS
27673 and POPPLER_LIBS to avoid the need to call pkg-config.
27674 See the pkg-config man page for more details.
27675
27676 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27677 See 'config.log' for more details" "$LINENO" 5; }
27678 else
27679 POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
27680 POPPLER_LIBS=$pkg_cv_POPPLER_LIBS
27681 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27682 printf '%s\n' "yes" >&6; }
27683
27684 fi
27685
27686
27687
27688 printf '%s\n' "#define AGS_WITH_POPPLER 1" >>confdefs.h
27689
27690
27691 fi
27692
27693 if test "x$with_gstreamer" != xno
27694 then :
27695
27696 pkg_failed=no
27697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" >&5
27698 printf %s "checking for gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0... " >&6; }
27699
27700 if test -n "$GSTREAMER_CFLAGS"; then
27701 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
27702 elif test -n "$PKG_CONFIG"; then
27703 if test -n "$PKG_CONFIG" && \
27704 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0\""; } >&5
27705 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0") 2>&5
27706 ac_status=$?
27707 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27708 test $ac_status = 0; }; then
27709 pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" 2>/dev/null`
27710 test "x$?" != "x0" && pkg_failed=yes
27711 else
27712 pkg_failed=yes
27713 fi
27714 else
27715 pkg_failed=untried
27716 fi
27717 if test -n "$GSTREAMER_LIBS"; then
27718 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
27719 elif test -n "$PKG_CONFIG"; then
27720 if test -n "$PKG_CONFIG" && \
27721 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0\""; } >&5
27722 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0") 2>&5
27723 ac_status=$?
27724 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27725 test $ac_status = 0; }; then
27726 pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" 2>/dev/null`
27727 test "x$?" != "x0" && pkg_failed=yes
27728 else
27729 pkg_failed=yes
27730 fi
27731 else
27732 pkg_failed=untried
27733 fi
27734
27735
27736
27737 if test $pkg_failed = yes; then
27738 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27739 printf '%s\n' "no" >&6; }
27740
27741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27742 _pkg_short_errors_supported=yes
27743 else
27744 _pkg_short_errors_supported=no
27745 fi
27746 if test $_pkg_short_errors_supported = yes; then
27747 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" 2>&1`
27748 else
27749 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0" 2>&1`
27750 fi
27751 # Put the nasty error message in config.log where it belongs
27752 echo "$GSTREAMER_PKG_ERRORS" >&5
27753
27754 as_fn_error $? "Package requirements (gstreamer-1.0 >= 1.6.0 gstreamer-audio-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-pbutils-1.0 >= 1.6.0) were not met:
27755
27756 $GSTREAMER_PKG_ERRORS
27757
27758 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27759 installed software in a non-standard prefix.
27760
27761 Alternatively, you may set the environment variables GSTREAMER_CFLAGS
27762 and GSTREAMER_LIBS to avoid the need to call pkg-config.
27763 See the pkg-config man page for more details." "$LINENO" 5
27764 elif test $pkg_failed = untried; then
27765 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27766 printf '%s\n' "no" >&6; }
27767 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
27768 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
27769 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
27770 is in your PATH or set the PKG_CONFIG environment variable to the full
27771 path to pkg-config.
27772
27773 Alternatively, you may set the environment variables GSTREAMER_CFLAGS
27774 and GSTREAMER_LIBS to avoid the need to call pkg-config.
27775 See the pkg-config man page for more details.
27776
27777 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27778 See 'config.log' for more details" "$LINENO" 5; }
27779 else
27780 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
27781 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
27782 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27783 printf '%s\n' "yes" >&6; }
27784
27785 fi
27786
27787
27788
27789 printf '%s\n' "#define AGS_WITH_GSTREAMER 1" >>confdefs.h
27790
27791
27792 fi
27793 if test "x$with_gstreamer" == xyes; then
27794 WITH_GSTREAMER_TRUE=
27795 WITH_GSTREAMER_FALSE='#'
27796 else
27797 WITH_GSTREAMER_TRUE='#'
27798 WITH_GSTREAMER_FALSE=
27799 fi
27800
27801
27802 if test "x$with_vte" != xno
27803 then :
27804
27805 pkg_failed=no
27806 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for vte-2.91-gtk4 >= 0.76.0" >&5
27807 printf %s "checking for vte-2.91-gtk4 >= 0.76.0... " >&6; }
27808
27809 if test -n "$VTE_CFLAGS"; then
27810 pkg_cv_VTE_CFLAGS="$VTE_CFLAGS"
27811 elif test -n "$PKG_CONFIG"; then
27812 if test -n "$PKG_CONFIG" && \
27813 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte-2.91-gtk4 >= 0.76.0\""; } >&5
27814 ($PKG_CONFIG --exists --print-errors "vte-2.91-gtk4 >= 0.76.0") 2>&5
27815 ac_status=$?
27816 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27817 test $ac_status = 0; }; then
27818 pkg_cv_VTE_CFLAGS=`$PKG_CONFIG --cflags "vte-2.91-gtk4 >= 0.76.0" 2>/dev/null`
27819 test "x$?" != "x0" && pkg_failed=yes
27820 else
27821 pkg_failed=yes
27822 fi
27823 else
27824 pkg_failed=untried
27825 fi
27826 if test -n "$VTE_LIBS"; then
27827 pkg_cv_VTE_LIBS="$VTE_LIBS"
27828 elif test -n "$PKG_CONFIG"; then
27829 if test -n "$PKG_CONFIG" && \
27830 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte-2.91-gtk4 >= 0.76.0\""; } >&5
27831 ($PKG_CONFIG --exists --print-errors "vte-2.91-gtk4 >= 0.76.0") 2>&5
27832 ac_status=$?
27833 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27834 test $ac_status = 0; }; then
27835 pkg_cv_VTE_LIBS=`$PKG_CONFIG --libs "vte-2.91-gtk4 >= 0.76.0" 2>/dev/null`
27836 test "x$?" != "x0" && pkg_failed=yes
27837 else
27838 pkg_failed=yes
27839 fi
27840 else
27841 pkg_failed=untried
27842 fi
27843
27844
27845
27846 if test $pkg_failed = yes; then
27847 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27848 printf '%s\n' "no" >&6; }
27849
27850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27851 _pkg_short_errors_supported=yes
27852 else
27853 _pkg_short_errors_supported=no
27854 fi
27855 if test $_pkg_short_errors_supported = yes; then
27856 VTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "vte-2.91-gtk4 >= 0.76.0" 2>&1`
27857 else
27858 VTE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "vte-2.91-gtk4 >= 0.76.0" 2>&1`
27859 fi
27860 # Put the nasty error message in config.log where it belongs
27861 echo "$VTE_PKG_ERRORS" >&5
27862
27863 as_fn_error $? "Package requirements (vte-2.91-gtk4 >= 0.76.0) were not met:
27864
27865 $VTE_PKG_ERRORS
27866
27867 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27868 installed software in a non-standard prefix.
27869
27870 Alternatively, you may set the environment variables VTE_CFLAGS
27871 and VTE_LIBS to avoid the need to call pkg-config.
27872 See the pkg-config man page for more details." "$LINENO" 5
27873 elif test $pkg_failed = untried; then
27874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
27875 printf '%s\n' "no" >&6; }
27876 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
27877 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
27878 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
27879 is in your PATH or set the PKG_CONFIG environment variable to the full
27880 path to pkg-config.
27881
27882 Alternatively, you may set the environment variables VTE_CFLAGS
27883 and VTE_LIBS to avoid the need to call pkg-config.
27884 See the pkg-config man page for more details.
27885
27886 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27887 See 'config.log' for more details" "$LINENO" 5; }
27888 else
27889 VTE_CFLAGS=$pkg_cv_VTE_CFLAGS
27890 VTE_LIBS=$pkg_cv_VTE_LIBS
27891 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27892 printf '%s\n' "yes" >&6; }
27893
27894 fi
27895
27896
27897
27898 printf '%s\n' "#define AGS_WITH_VTE 1" >>confdefs.h
27899
27900
27901 fi
27902
27903 if test "x$with_tooltips" != xno
27904 then :
27905
27906 printf '%s\n' "#define AGS_WITH_TOOLTIPS 1" >>confdefs.h
27907
27908
27909 fi
27910
27911 if test "x$enable_run_functional_tests" == xyes
27912 then :
27913 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: run functional tests enabled" >&5
27914 printf '%s\n' "$as_me: run functional tests enabled" >&6;}
27915 else case e in #(
27916 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: run functional tests disabled" >&5
27917 printf '%s\n' "$as_me: run functional tests disabled" >&6;} ;;
27918 esac
27919 fi
27920 if test "x$enable_run_functional_tests" == xyes; then
27921 RUN_FUNCTIONAL_TESTS_TRUE=
27922 RUN_FUNCTIONAL_TESTS_FALSE='#'
27923 else
27924 RUN_FUNCTIONAL_TESTS_TRUE='#'
27925 RUN_FUNCTIONAL_TESTS_FALSE=
27926 fi
27927
27928
27929 if test "x$enable_fast_test_mode" == xyes
27930 then :
27931 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: fast test mode enabled" >&5
27932 printf '%s\n' "$as_me: fast test mode enabled" >&6;}
27933 else case e in #(
27934 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: fast test mode disabled" >&5
27935 printf '%s\n' "$as_me: fast test mode disabled" >&6;} ;;
27936 esac
27937 fi
27938 if test "x$enable_fast_test_mode" == xyes; then
27939 FAST_TEST_MODE_TRUE=
27940 FAST_TEST_MODE_FALSE='#'
27941 else
27942 FAST_TEST_MODE_TRUE='#'
27943 FAST_TEST_MODE_FALSE=
27944 fi
27945
27946
27947 # Checks for library functions.
27948 # AM_GNU_GETTEXT
27949
27950 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether malloc (0) returns nonnull" >&5
27951 printf %s "checking whether malloc (0) returns nonnull... " >&6; }
27952 if test ${ac_cv_func_malloc_0_nonnull+y}
27953 then :
27954 printf %s "(cached) " >&6
27955 else case e in #(
27956 e) if test "$cross_compiling" = yes
27957 then :
27958 case $host_os in #(
27959 # Guess yes on platforms where we know the result.
27960 *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
27961 | gnu* | *-musl* | midipix* | midnightbsd* \
27962 | hpux* | solaris* | cygwin* | mingw* | windows* | msys*) :
27963 ac_cv_func_malloc_0_nonnull="guessing yes" ;; #(
27964 *) :
27965 # Guess as follows if we don't know.
27966 ac_cv_func_malloc_0_nonnull="guessing yes" ;;
27967 esac
27968 else case e in #(
27969 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27970 /* end confdefs.h. */
27971 #include <stdlib.h>
27972 /* Use pmalloc to test; 'volatile' prevents the compiler
27973 from optimizing the malloc call away. */
27974 void *(*volatile pmalloc) (size_t) = malloc;
27975 int
27976 main (void)
27977 {
27978 void *p = pmalloc (0);
27979 int result = !p;
27980 free (p);
27981 return result;
27982 ;
27983 return 0;
27984 }
27985 _ACEOF
27986 if ac_fn_c_try_run "$LINENO"
27987 then :
27988 ac_cv_func_malloc_0_nonnull=yes
27989 else case e in #(
27990 e) ac_cv_func_malloc_0_nonnull=no ;;
27991 esac
27992 fi
27993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27994 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
27995 esac
27996 fi
27997 ;;
27998 esac
27999 fi
28000 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
28001 printf '%s\n' "$ac_cv_func_malloc_0_nonnull" >&6; }
28002 case $ac_cv_func_malloc_0_nonnull in #(
28003 *yes) :
28004
28005 printf '%s\n' "#define HAVE_MALLOC 1" >>confdefs.h
28006 ;; #(
28007 *) :
28008 printf '%s\n' "#define HAVE_MALLOC 0" >>confdefs.h
28009
28010 case " $LIBOBJS " in
28011 *" malloc.$ac_objext "* ) ;;
28012 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
28013 ;;
28014 esac
28015
28016
28017 printf '%s\n' "#define malloc rpl_malloc" >>confdefs.h
28018 ;;
28019 esac
28020
28021
28022
28023 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether realloc (0, 0) returns nonnull" >&5
28024 printf %s "checking whether realloc (0, 0) returns nonnull... " >&6; }
28025 if test ${ac_cv_func_realloc_0_nonnull+y}
28026 then :
28027 printf %s "(cached) " >&6
28028 else case e in #(
28029 e) if test "$cross_compiling" = yes
28030 then :
28031 case $host_os in #(
28032 # Guess yes on platforms where we know the result.
28033 *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
28034 | gnu* | *-musl* | midipix* | midnightbsd* \
28035 | hpux* | solaris* | cygwin* | mingw* | windows* | msys*) :
28036 ac_cv_func_realloc_0_nonnull="guessing yes" ;; #(
28037 *) :
28038 # Guess as follows if we don't know.
28039 ac_cv_func_realloc_0_nonnull="guessing no" ;;
28040 esac
28041 else case e in #(
28042 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28043 /* end confdefs.h. */
28044 #include <stdlib.h>
28045 /* Use prealloc to test; 'volatile' prevents the compiler
28046 from optimizing the realloc call away. */
28047 void *(*volatile prealloc) (void *, size_t) = realloc;
28048 int
28049 main (void)
28050 {
28051 void *p = prealloc (0, 0);
28052 int result = !p;
28053 free (p);
28054 return result;
28055 ;
28056 return 0;
28057 }
28058 _ACEOF
28059 if ac_fn_c_try_run "$LINENO"
28060 then :
28061 ac_cv_func_realloc_0_nonnull=yes
28062 else case e in #(
28063 e) ac_cv_func_realloc_0_nonnull=no ;;
28064 esac
28065 fi
28066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28067 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
28068 esac
28069 fi
28070 ;;
28071 esac
28072 fi
28073 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
28074 printf '%s\n' "$ac_cv_func_realloc_0_nonnull" >&6; }
28075 case $ac_cv_func_realloc_0_nonnull in #(
28076 *yes) :
28077
28078 printf '%s\n' "#define HAVE_REALLOC 1" >>confdefs.h
28079 ;; #(
28080 *) :
28081 printf '%s\n' "#define HAVE_REALLOC 0" >>confdefs.h
28082
28083 case " $LIBOBJS " in
28084 *" realloc.$ac_objext "* ) ;;
28085 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
28086 ;;
28087 esac
28088
28089
28090 printf '%s\n' "#define realloc rpl_realloc" >>confdefs.h
28091 ;;
28092 esac
28093
28094
28095 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
28096 printf %s "checking for working strtod... " >&6; }
28097 if test ${ac_cv_func_strtod+y}
28098 then :
28099 printf %s "(cached) " >&6
28100 else case e in #(
28101 e) if test "$cross_compiling" = yes
28102 then :
28103 ac_cv_func_strtod=no
28104 else case e in #(
28105 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28106 /* end confdefs.h. */
28107
28108 $ac_includes_default
28109 int
28110 main (void)
28111 {
28112 {
28113 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
28114 char *string = " +69";
28115 char *term;
28116 double value;
28117 value = strtod (string, &term);
28118 if (value != 69 || term != (string + 4))
28119 return 1;
28120 }
28121
28122 {
28123 /* Under Solaris 2.4, strtod returns the wrong value for the
28124 terminating character under some conditions. */
28125 char *string = "NaN";
28126 char *term;
28127 strtod (string, &term);
28128 if (term != string && *(term - 1) == 0)
28129 return 1;
28130 }
28131 return 0;
28132 }
28133
28134 _ACEOF
28135 if ac_fn_c_try_run "$LINENO"
28136 then :
28137 ac_cv_func_strtod=yes
28138 else case e in #(
28139 e) ac_cv_func_strtod=no ;;
28140 esac
28141 fi
28142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28143 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
28144 esac
28145 fi
28146 ;;
28147 esac
28148 fi
28149 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
28150 printf '%s\n' "$ac_cv_func_strtod" >&6; }
28151 if test $ac_cv_func_strtod = no; then
28152 case " $LIBOBJS " in
28153 *" strtod.$ac_objext "* ) ;;
28154 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
28155 ;;
28156 esac
28157
28158 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
28159 if test "x$ac_cv_func_pow" = xyes
28160 then :
28161
28162 fi
28163
28164 if test $ac_cv_func_pow = no; then
28165 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
28166 printf %s "checking for pow in -lm... " >&6; }
28167 if test ${ac_cv_lib_m_pow+y}
28168 then :
28169 printf %s "(cached) " >&6
28170 else case e in #(
28171 e) ac_check_lib_save_LIBS=$LIBS
28172 LIBS="-lm $LIBS"
28173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28174 /* end confdefs.h. */
28175
28176 /* Override any GCC internal prototype to avoid an error.
28177 Use char because int might match the return type of a GCC
28178 builtin and then its argument prototype would still apply.
28179 The 'extern "C"' is for builds by C++ compilers;
28180 although this is not generally supported in C code supporting it here
28181 has little cost and some practical benefit (sr 110532). */
28182 #ifdef __cplusplus
28183 extern "C"
28184 #endif
28185 char pow (void);
28186 int
28187 main (void)
28188 {
28189 return pow ();
28190 ;
28191 return 0;
28192 }
28193 _ACEOF
28194 if ac_fn_c_try_link "$LINENO"
28195 then :
28196 ac_cv_lib_m_pow=yes
28197 else case e in #(
28198 e) ac_cv_lib_m_pow=no ;;
28199 esac
28200 fi
28201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28202 conftest$ac_exeext conftest.$ac_ext
28203 LIBS=$ac_check_lib_save_LIBS ;;
28204 esac
28205 fi
28206 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
28207 printf '%s\n' "$ac_cv_lib_m_pow" >&6; }
28208 if test "x$ac_cv_lib_m_pow" = xyes
28209 then :
28210 POW_LIB=-lm
28211 else case e in #(
28212 e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
28213 printf '%s\n' "$as_me: WARNING: cannot find library containing definition of pow" >&2;} ;;
28214 esac
28215 fi
28216
28217 fi
28218
28219 fi
28220
28221 ac_fn_c_check_func "$LINENO" "atexit" "ac_cv_func_atexit"
28222 if test "x$ac_cv_func_atexit" = xyes
28223 then :
28224 printf '%s\n' "#define HAVE_ATEXIT 1" >>confdefs.h
28225
28226 fi
28227 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
28228 if test "x$ac_cv_func_clock_gettime" = xyes
28229 then :
28230 printf '%s\n' "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
28231
28232 fi
28233 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
28234 if test "x$ac_cv_func_floor" = xyes
28235 then :
28236 printf '%s\n' "#define HAVE_FLOOR 1" >>confdefs.h
28237
28238 fi
28239 ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
28240 if test "x$ac_cv_func_memmove" = xyes
28241 then :
28242 printf '%s\n' "#define HAVE_MEMMOVE 1" >>confdefs.h
28243
28244 fi
28245 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
28246 if test "x$ac_cv_func_memset" = xyes
28247 then :
28248 printf '%s\n' "#define HAVE_MEMSET 1" >>confdefs.h
28249
28250 fi
28251 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
28252 if test "x$ac_cv_func_pow" = xyes
28253 then :
28254 printf '%s\n' "#define HAVE_POW 1" >>confdefs.h
28255
28256 fi
28257 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
28258 if test "x$ac_cv_func_putenv" = xyes
28259 then :
28260 printf '%s\n' "#define HAVE_PUTENV 1" >>confdefs.h
28261
28262 fi
28263 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
28264 if test "x$ac_cv_func_realpath" = xyes
28265 then :
28266 printf '%s\n' "#define HAVE_REALPATH 1" >>confdefs.h
28267
28268 fi
28269 ac_fn_c_check_func "$LINENO" "regcomp" "ac_cv_func_regcomp"
28270 if test "x$ac_cv_func_regcomp" = xyes
28271 then :
28272 printf '%s\n' "#define HAVE_REGCOMP 1" >>confdefs.h
28273
28274 fi
28275 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
28276 if test "x$ac_cv_func_setlocale" = xyes
28277 then :
28278 printf '%s\n' "#define HAVE_SETLOCALE 1" >>confdefs.h
28279
28280 fi
28281 ac_fn_c_check_func "$LINENO" "sqrt" "ac_cv_func_sqrt"
28282 if test "x$ac_cv_func_sqrt" = xyes
28283 then :
28284 printf '%s\n' "#define HAVE_SQRT 1" >>confdefs.h
28285
28286 fi
28287 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
28288 if test "x$ac_cv_func_strchr" = xyes
28289 then :
28290 printf '%s\n' "#define HAVE_STRCHR 1" >>confdefs.h
28291
28292 fi
28293 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
28294 if test "x$ac_cv_func_strdup" = xyes
28295 then :
28296 printf '%s\n' "#define HAVE_STRDUP 1" >>confdefs.h
28297
28298 fi
28299 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
28300 if test "x$ac_cv_func_strerror" = xyes
28301 then :
28302 printf '%s\n' "#define HAVE_STRERROR 1" >>confdefs.h
28303
28304 fi
28305 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
28306 if test "x$ac_cv_func_strrchr" = xyes
28307 then :
28308 printf '%s\n' "#define HAVE_STRRCHR 1" >>confdefs.h
28309
28310 fi
28311 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
28312 if test "x$ac_cv_func_strstr" = xyes
28313 then :
28314 printf '%s\n' "#define HAVE_STRSTR 1" >>confdefs.h
28315
28316 fi
28317 ac_fn_c_check_func "$LINENO" "strtoul" "ac_cv_func_strtoul"
28318 if test "x$ac_cv_func_strtoul" = xyes
28319 then :
28320 printf '%s\n' "#define HAVE_STRTOUL 1" >>confdefs.h
28321
28322 fi
28323 ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
28324 if test "x$ac_cv_func_uname" = xyes
28325 then :
28326 printf '%s\n' "#define HAVE_UNAME 1" >>confdefs.h
28327
28328 fi
28329
28330
28331
28332
28333 build_gnu=no
28334 build_linux=no
28335 build_windows=no
28336 build_mac=no
28337 build_freebsd=no
28338
28339 # Detect the target system
28340 case "${host_os}" in
28341 gnu*)
28342 build_gnu=yes
28343 ;;
28344 linux*)
28345 build_linux=yes
28346 ;;
28347 freebsd*)
28348 build_freebsd=yes
28349 ;;
28350 cygwin*|mingw*)
28351 build_windows=yes
28352 ;;
28353 darwin*)
28354 build_mac=yes
28355 ;;
28356 *)
28357 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \"OS $host_os is not supported\"" >&5
28358 printf '%s\n' "$as_me: \"OS $host_os is not supported\"" >&6;}
28359 ;;
28360 esac
28361
28362 # Pass the conditionals to automake
28363 if test "$build_gnu" = "yes"; then
28364 GNU_TRUE=
28365 GNU_FALSE='#'
28366 else
28367 GNU_TRUE='#'
28368 GNU_FALSE=
28369 fi
28370
28371 if test "$build_linux" = "yes"; then
28372 LINUX_TRUE=
28373 LINUX_FALSE='#'
28374 else
28375 LINUX_TRUE='#'
28376 LINUX_FALSE=
28377 fi
28378
28379 if test "$build_freebsd" = "yes"; then
28380 FREEBSD_TRUE=
28381 FREEBSD_FALSE='#'
28382 else
28383 FREEBSD_TRUE='#'
28384 FREEBSD_FALSE=
28385 fi
28386
28387 if test "$build_windows" = "yes"; then
28388 WINDOWS_TRUE=
28389 WINDOWS_FALSE='#'
28390 else
28391 WINDOWS_TRUE='#'
28392 WINDOWS_FALSE=
28393 fi
28394
28395 if test "$build_mac" = "yes"; then
28396 OSX_TRUE=
28397 OSX_FALSE='#'
28398 else
28399 OSX_TRUE='#'
28400 OSX_FALSE=
28401 fi
28402
28403
28404
28405 # check for gtk-doc
28406
28407
28408
28409
28410 gtk_doc_requires="gtk-doc >= 1.14"
28411 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
28412 printf %s "checking for gtk-doc... " >&6; }
28413 if test -n "$PKG_CONFIG" && \
28414 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
28415 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
28416 ac_status=$?
28417 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28418 test $ac_status = 0; }; then
28419 have_gtk_doc=yes
28420 else
28421 have_gtk_doc=no
28422 fi
28423 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
28424 printf '%s\n' "$have_gtk_doc" >&6; }
28425
28426 if test "$have_gtk_doc" = "no"; then
28427 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING:
28428 You will not be able to create source packages with 'make dist'
28429 because $gtk_doc_requires is not found." >&5
28430 printf '%s\n' "$as_me: WARNING:
28431 You will not be able to create source packages with 'make dist'
28432 because $gtk_doc_requires is not found." >&2;}
28433 fi
28434
28435 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
28436 set dummy gtkdoc-check; ac_word=$2
28437 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28438 printf %s "checking for $ac_word... " >&6; }
28439 if test ${ac_cv_prog_GTKDOC_CHECK+y}
28440 then :
28441 printf %s "(cached) " >&6
28442 else case e in #(
28443 e) if test -n "$GTKDOC_CHECK"; then
28444 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
28445 else
28446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28447 for as_dir in $PATH
28448 do
28449 IFS=$as_save_IFS
28450 case $as_dir in #(((
28451 '') as_dir=./ ;;
28452 */) ;;
28453 *) as_dir=$as_dir/ ;;
28454 esac
28455 for ac_exec_ext in '' $ac_executable_extensions; do
28456 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28457 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
28458 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28459 break 2
28460 fi
28461 done
28462 done
28463 IFS=$as_save_IFS
28464
28465 fi ;;
28466 esac
28467 fi
28468 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
28469 if test -n "$GTKDOC_CHECK"; then
28470 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
28471 printf '%s\n' "$GTKDOC_CHECK" >&6; }
28472 else
28473 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
28474 printf '%s\n' "no" >&6; }
28475 fi
28476
28477
28478 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
28479 set dummy gtkdoc-check; ac_word=$2
28480 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28481 printf %s "checking for $ac_word... " >&6; }
28482 if test ${ac_cv_path_GTKDOC_CHECK_PATH+y}
28483 then :
28484 printf %s "(cached) " >&6
28485 else case e in #(
28486 e) case $GTKDOC_CHECK_PATH in
28487 [\\/]* | ?:[\\/]*)
28488 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
28489 ;;
28490 *)
28491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28492 for as_dir in $PATH
28493 do
28494 IFS=$as_save_IFS
28495 case $as_dir in #(((
28496 '') as_dir=./ ;;
28497 */) ;;
28498 *) as_dir=$as_dir/ ;;
28499 esac
28500 for ac_exec_ext in '' $ac_executable_extensions; do
28501 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28502 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir$ac_word$ac_exec_ext"
28503 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28504 break 2
28505 fi
28506 done
28507 done
28508 IFS=$as_save_IFS
28509
28510 ;;
28511 esac ;;
28512 esac
28513 fi
28514 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
28515 if test -n "$GTKDOC_CHECK_PATH"; then
28516 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
28517 printf '%s\n' "$GTKDOC_CHECK_PATH" >&6; }
28518 else
28519 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
28520 printf '%s\n' "no" >&6; }
28521 fi
28522
28523
28524 for ac_prog in gtkdoc-rebase
28525 do
28526 # Extract the first word of "$ac_prog", so it can be a program name with args.
28527 set dummy $ac_prog; ac_word=$2
28528 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28529 printf %s "checking for $ac_word... " >&6; }
28530 if test ${ac_cv_path_GTKDOC_REBASE+y}
28531 then :
28532 printf %s "(cached) " >&6
28533 else case e in #(
28534 e) case $GTKDOC_REBASE in
28535 [\\/]* | ?:[\\/]*)
28536 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
28537 ;;
28538 *)
28539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28540 for as_dir in $PATH
28541 do
28542 IFS=$as_save_IFS
28543 case $as_dir in #(((
28544 '') as_dir=./ ;;
28545 */) ;;
28546 *) as_dir=$as_dir/ ;;
28547 esac
28548 for ac_exec_ext in '' $ac_executable_extensions; do
28549 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28550 ac_cv_path_GTKDOC_REBASE="$as_dir$ac_word$ac_exec_ext"
28551 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28552 break 2
28553 fi
28554 done
28555 done
28556 IFS=$as_save_IFS
28557
28558 ;;
28559 esac ;;
28560 esac
28561 fi
28562 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
28563 if test -n "$GTKDOC_REBASE"; then
28564 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
28565 printf '%s\n' "$GTKDOC_REBASE" >&6; }
28566 else
28567 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
28568 printf '%s\n' "no" >&6; }
28569 fi
28570
28571
28572 test -n "$GTKDOC_REBASE" && break
28573 done
28574 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
28575
28576 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
28577 set dummy gtkdoc-mkpdf; ac_word=$2
28578 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28579 printf %s "checking for $ac_word... " >&6; }
28580 if test ${ac_cv_path_GTKDOC_MKPDF+y}
28581 then :
28582 printf %s "(cached) " >&6
28583 else case e in #(
28584 e) case $GTKDOC_MKPDF in
28585 [\\/]* | ?:[\\/]*)
28586 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
28587 ;;
28588 *)
28589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28590 for as_dir in $PATH
28591 do
28592 IFS=$as_save_IFS
28593 case $as_dir in #(((
28594 '') as_dir=./ ;;
28595 */) ;;
28596 *) as_dir=$as_dir/ ;;
28597 esac
28598 for ac_exec_ext in '' $ac_executable_extensions; do
28599 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28600 ac_cv_path_GTKDOC_MKPDF="$as_dir$ac_word$ac_exec_ext"
28601 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28602 break 2
28603 fi
28604 done
28605 done
28606 IFS=$as_save_IFS
28607
28608 ;;
28609 esac ;;
28610 esac
28611 fi
28612 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
28613 if test -n "$GTKDOC_MKPDF"; then
28614 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
28615 printf '%s\n' "$GTKDOC_MKPDF" >&6; }
28616 else
28617 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
28618 printf '%s\n' "no" >&6; }
28619 fi
28620
28621
28622
28623
28624 # Check whether --with-html-dir was given.
28625 if test ${with_html_dir+y}
28626 then :
28627 withval=$with_html_dir;
28628 else case e in #(
28629 e) with_html_dir='${datadir}/gtk-doc/html' ;;
28630 esac
28631 fi
28632
28633 HTML_DIR="$with_html_dir"
28634
28635
28636 # Check whether --enable-gtk-doc was given.
28637 if test ${enable_gtk_doc+y}
28638 then :
28639 enableval=$enable_gtk_doc;
28640 else case e in #(
28641 e) enable_gtk_doc=no ;;
28642 esac
28643 fi
28644
28645
28646 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
28647 printf %s "checking whether to build gtk-doc documentation... " >&6; }
28648 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
28649 printf '%s\n' "$enable_gtk_doc" >&6; }
28650
28651 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
28652 as_fn_error $? "
28653 You must have $gtk_doc_requires installed to build documentation for
28654 $PACKAGE_NAME. Please install gtk-doc or disable building the
28655 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
28656 fi
28657
28658 if test "x$PACKAGE_NAME" != "xglib"; then
28659
28660 pkg_failed=no
28661 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" >&5
28662 printf %s "checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... " >&6; }
28663
28664 if test -n "$GTKDOC_DEPS_CFLAGS"; then
28665 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
28666 elif test -n "$PKG_CONFIG"; then
28667 if test -n "$PKG_CONFIG" && \
28668 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
28669 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
28670 ac_status=$?
28671 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28672 test $ac_status = 0; }; then
28673 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
28674 test "x$?" != "x0" && pkg_failed=yes
28675 else
28676 pkg_failed=yes
28677 fi
28678 else
28679 pkg_failed=untried
28680 fi
28681 if test -n "$GTKDOC_DEPS_LIBS"; then
28682 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
28683 elif test -n "$PKG_CONFIG"; then
28684 if test -n "$PKG_CONFIG" && \
28685 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
28686 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
28687 ac_status=$?
28688 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28689 test $ac_status = 0; }; then
28690 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
28691 test "x$?" != "x0" && pkg_failed=yes
28692 else
28693 pkg_failed=yes
28694 fi
28695 else
28696 pkg_failed=untried
28697 fi
28698
28699
28700
28701 if test $pkg_failed = yes; then
28702 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
28703 printf '%s\n' "no" >&6; }
28704
28705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28706 _pkg_short_errors_supported=yes
28707 else
28708 _pkg_short_errors_supported=no
28709 fi
28710 if test $_pkg_short_errors_supported = yes; then
28711 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
28712 else
28713 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
28714 fi
28715 # Put the nasty error message in config.log where it belongs
28716 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
28717
28718 :
28719 elif test $pkg_failed = untried; then
28720 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
28721 printf '%s\n' "no" >&6; }
28722 :
28723 else
28724 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
28725 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
28726 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28727 printf '%s\n' "yes" >&6; }
28728
28729 fi
28730 fi
28731
28732 # Check whether --enable-gtk-doc-html was given.
28733 if test ${enable_gtk_doc_html+y}
28734 then :
28735 enableval=$enable_gtk_doc_html;
28736 else case e in #(
28737 e) enable_gtk_doc_html=yes ;;
28738 esac
28739 fi
28740
28741 # Check whether --enable-gtk-doc-pdf was given.
28742 if test ${enable_gtk_doc_pdf+y}
28743 then :
28744 enableval=$enable_gtk_doc_pdf;
28745 else case e in #(
28746 e) enable_gtk_doc_pdf=no ;;
28747 esac
28748 fi
28749
28750
28751 if test -z "$GTKDOC_MKPDF"; then
28752 enable_gtk_doc_pdf=no
28753 fi
28754
28755 if test -z "$AM_DEFAULT_VERBOSITY"; then
28756 AM_DEFAULT_VERBOSITY=1
28757 fi
28758
28759
28760 if test x$have_gtk_doc = xyes; then
28761 HAVE_GTK_DOC_TRUE=
28762 HAVE_GTK_DOC_FALSE='#'
28763 else
28764 HAVE_GTK_DOC_TRUE='#'
28765 HAVE_GTK_DOC_FALSE=
28766 fi
28767
28768 if test x$enable_gtk_doc = xyes; then
28769 ENABLE_GTK_DOC_TRUE=
28770 ENABLE_GTK_DOC_FALSE='#'
28771 else
28772 ENABLE_GTK_DOC_TRUE='#'
28773 ENABLE_GTK_DOC_FALSE=
28774 fi
28775
28776 if test x$enable_gtk_doc_html = xyes; then
28777 GTK_DOC_BUILD_HTML_TRUE=
28778 GTK_DOC_BUILD_HTML_FALSE='#'
28779 else
28780 GTK_DOC_BUILD_HTML_TRUE='#'
28781 GTK_DOC_BUILD_HTML_FALSE=
28782 fi
28783
28784 if test x$enable_gtk_doc_pdf = xyes; then
28785 GTK_DOC_BUILD_PDF_TRUE=
28786 GTK_DOC_BUILD_PDF_FALSE='#'
28787 else
28788 GTK_DOC_BUILD_PDF_TRUE='#'
28789 GTK_DOC_BUILD_PDF_FALSE=
28790 fi
28791
28792 if test -n "$LIBTOOL"; then
28793 GTK_DOC_USE_LIBTOOL_TRUE=
28794 GTK_DOC_USE_LIBTOOL_FALSE='#'
28795 else
28796 GTK_DOC_USE_LIBTOOL_TRUE='#'
28797 GTK_DOC_USE_LIBTOOL_FALSE=
28798 fi
28799
28800 if test -n "$GTKDOC_REBASE"; then
28801 GTK_DOC_USE_REBASE_TRUE=
28802 GTK_DOC_USE_REBASE_FALSE='#'
28803 else
28804 GTK_DOC_USE_REBASE_TRUE='#'
28805 GTK_DOC_USE_REBASE_FALSE=
28806 fi
28807
28808
28809
28810
28811 if test "x$enable_run_system_tests" == xyes; then
28812 WITH_SYSTEM_TESTS_TRUE=
28813 WITH_SYSTEM_TESTS_FALSE='#'
28814 else
28815 WITH_SYSTEM_TESTS_TRUE='#'
28816 WITH_SYSTEM_TESTS_FALSE=
28817 fi
28818
28819 if test "x$enable_vst3" == xyes; then
28820 WITH_VST3_TRUE=
28821 WITH_VST3_FALSE='#'
28822 else
28823 WITH_VST3_TRUE='#'
28824 WITH_VST3_FALSE=
28825 fi
28826
28827 if test "x$enable_audio_unit_plugins" == xyes; then
28828 WITH_AUDIO_UNIT_PLUGINS_TRUE=
28829 WITH_AUDIO_UNIT_PLUGINS_FALSE='#'
28830 else
28831 WITH_AUDIO_UNIT_PLUGINS_TRUE='#'
28832 WITH_AUDIO_UNIT_PLUGINS_FALSE=
28833 fi
28834
28835 if test "x$enable_experimental" == xyes; then
28836 WITH_EXPERIMENTAL_TRUE=
28837 WITH_EXPERIMENTAL_FALSE='#'
28838 else
28839 WITH_EXPERIMENTAL_TRUE='#'
28840 WITH_EXPERIMENTAL_FALSE=
28841 fi
28842
28843
28844
28845 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating po/POTFILES.in" >&5
28846 printf '%s\n' "$as_me: generating po/POTFILES.in" >&6;}
28847 `mkdir -p $PWD/po`
28848 `tail -n +19 $srcdir/po/POTFILES.in.in > $PWD/po/POTFILES.in`
28849
28850
28851 if test "x$enable_w32api" != xno
28852 then :
28853
28854 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating libags.sym" >&5
28855 printf '%s\n' "$as_me: generating libags.sym" >&6;}
28856 `tail -n +19 $srcdir/libags.sym.in > $PWD/libags-${DLL_VERSION}.def`
28857
28858
28859 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating libags_thread.sym" >&5
28860 printf '%s\n' "$as_me: generating libags_thread.sym" >&6;}
28861 `tail -n +19 $srcdir/libags_thread.sym.in > $PWD/libags_thread-${DLL_VERSION}.def`
28862
28863
28864 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating libags_server.sym" >&5
28865 printf '%s\n' "$as_me: generating libags_server.sym" >&6;}
28866 `tail -n +19 $srcdir/libags_server.sym.in > $PWD/libags_server-${DLL_VERSION}.def`
28867
28868
28869 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating libags_audio.sym" >&5
28870 printf '%s\n' "$as_me: generating libags_audio.sym" >&6;}
28871 `tail -n +19 $srcdir/libags_audio.sym.in > $PWD/libags_audio-${DLL_VERSION}.def`
28872
28873
28874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating libags_vst.sym" >&5
28875 printf '%s\n' "$as_me: generating libags_vst.sym" >&6;}
28876 `tail -n +19 $srcdir/libags_vst.sym.in > $PWD/libags_vst-${DLL_VERSION}.def`
28877
28878
28879 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating libags_gui.sym" >&5
28880 printf '%s\n' "$as_me: generating libags_gui.sym" >&6;}
28881 `tail -n +19 $srcdir/libags_gui.sym.in > $PWD/libags_gui-${DLL_VERSION}.def`
28882
28883 fi
28884
28885
28886 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating ags/object/ags_marshallers.list" >&5
28887 printf '%s\n' "$as_me: generating ags/object/ags_marshallers.list" >&6;}
28888 `mkdir -p ags/object/`
28889 `tail -n +19 $srcdir/ags/object/ags_marshallers.list.in > ags/object/ags_marshallers.list`
28890
28891
28892 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating ags/widget/ags_widget_marshallers.list" >&5
28893 printf '%s\n' "$as_me: generating ags/widget/ags_widget_marshallers.list" >&6;}
28894 `mkdir -p ags/widget/`
28895 `tail -n +19 $srcdir/ags/widget/ags_widget_marshallers.list.in > ags/widget/ags_widget_marshallers.list`
28896
28897
28898
28899 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating docs/listings/*" >&5
28900 printf '%s\n' "$as_me: generating docs/listings/*" >&6;}
28901 `mkdir -p $PWD/docs/listings/`
28902 `tail -n +10 $srcdir/docs/listings/add_pattern.c.in > $PWD/docs/listings/add_pattern.c`
28903 `tail -n +10 $srcdir/docs/listings/application_mutex.c.in > $PWD/docs/listings/application_mutex.c`
28904 `tail -n +10 $srcdir/docs/listings/audio.c.in > $PWD/docs/listings/audio.c`
28905 `tail -n +10 $srcdir/docs/listings/audio_application_context.c.in > $PWD/docs/listings/audio_application_context.c`
28906 `tail -n +10 $srcdir/docs/listings/complete_example.c.in > $PWD/docs/listings/complete_example.c`
28907 `tail -n +10 $srcdir/docs/listings/config.c.in > $PWD/docs/listings/config.c`
28908 `tail -n +10 $srcdir/docs/listings/effects_echo_audio.c.in > $PWD/docs/listings/effects_echo_audio.c`
28909 `tail -n +10 $srcdir/docs/listings/effects_echo_audio_run.c.in > $PWD/docs/listings/effects_echo_audio_run.c`
28910 `tail -n +10 $srcdir/docs/listings/effects_echo_channel.c.in > $PWD/docs/listings/effects_echo_channel.c`
28911 `tail -n +10 $srcdir/docs/listings/effects_echo_channel_run.c.in > $PWD/docs/listings/effects_echo_channel_run.c`
28912 `tail -n +10 $srcdir/docs/listings/effects_recall_container.c.in > $PWD/docs/listings/effects_recall_container.c`
28913 `tail -n +10 $srcdir/docs/listings/file_property.c.in > $PWD/docs/listings/file_property.c`
28914 `tail -n +10 $srcdir/docs/listings/file_read.c.in > $PWD/docs/listings/file_read.c`
28915 `tail -n +10 $srcdir/docs/listings/file_write.c.in > $PWD/docs/listings/file_write.c`
28916 `tail -n +10 $srcdir/docs/listings/find_port.c.in > $PWD/docs/listings/find_port.c`
28917 `tail -n +10 $srcdir/docs/listings/fx_factory.c.in > $PWD/docs/listings/fx_factory.c`
28918 `tail -n +10 $srcdir/docs/listings/linking_prerequisites.c.in > $PWD/docs/listings/linking_prerequisites.c`
28919 `tail -n +10 $srcdir/docs/listings/linking_safe.c.in > $PWD/docs/listings/linking_safe.c`
28920 `tail -n +10 $srcdir/docs/listings/linking_unsafe.c.in > $PWD/docs/listings/linking_unsafe.c`
28921 `tail -n +10 $srcdir/docs/listings/notation_clipboard.c.in > $PWD/docs/listings/notation_clipboard.c`
28922 `tail -n +10 $srcdir/docs/listings/pcm_info.c.in > $PWD/docs/listings/pcm_info.c`
28923 `tail -n +10 $srcdir/docs/listings/port.c.in > $PWD/docs/listings/port.c`
28924 `tail -n +10 $srcdir/docs/listings/pull_thread.c.in > $PWD/docs/listings/pull_thread.c`
28925 `tail -n +10 $srcdir/docs/listings/recycling.c.in > $PWD/docs/listings/recycling.c`
28926 `tail -n +10 $srcdir/docs/listings/soundcard_buffer.c.in > $PWD/docs/listings/soundcard_buffer.c`
28927 `tail -n +10 $srcdir/docs/listings/start_thread.c.in > $PWD/docs/listings/start_thread.c`
28928 `tail -n +10 $srcdir/docs/listings/sequencer_buffer.c.in > $PWD/docs/listings/sequencer_buffer.c`
28929 `tail -n +10 $srcdir/docs/listings/thread_application_context.c.in > $PWD/docs/listings/thread_application_context.c`
28930 `tail -n +10 $srcdir/docs/listings/thread_obj_mutex.c.in > $PWD/docs/listings/thread_obj_mutex.c`
28931 `tail -n +10 $srcdir/docs/listings/wave_concat.c.in > $PWD/docs/listings/wave_concat.c`
28932
28933
28934
28935 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating docs/listings/*" >&5
28936 printf '%s\n' "$as_me: generating docs/listings/*" >&6;}
28937 `mkdir -p $PWD/html`
28938 `mkdir -p $PWD/html/user-manual`
28939 `mkdir -p $PWD/html/developer-manual`
28940 `mkdir -p $PWD/html/osc-manual`
28941 `mkdir -p $PWD/pdf`
28942 `cp -n $srcdir/docs/usersBook.xml $PWD/docs/ &2> /dev/null`
28943 `cp -n $srcdir/docs/developersBook.xml $PWD/docs/ &2> /dev/null`
28944 `cp -n $srcdir/docs/oscBook.xml $PWD/docs/ &2> /dev/null`
28945 `cp -n $srcdir/docs/appa.xml $PWD/docs/ &2> /dev/null`
28946 `cp $srcdir/docs/custom.css $PWD/html/user-manual/`
28947 `cp $srcdir/docs/custom.css $PWD/html/developer-manual/`
28948 `cp $srcdir/docs/custom.css $PWD/html/osc-manual/`
28949
28950
28951 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: generating resources for API Reference Manual" >&5
28952 printf '%s\n' "$as_me: generating resources for API Reference Manual" >&6;}
28953 `mkdir -p $PWD/docs/reference/libags/`
28954 `tail -n +19 $srcdir/docs/reference/libags/libags.types.in > $PWD/docs/reference/libags/libags.types`
28955 `tail -n +19 $srcdir/docs/reference/libags/libags.interfaces.in > $PWD/docs/reference/libags/libags.interfaces`
28956 `mkdir -p $PWD/docs/reference/libags-audio`
28957 `tail -n +19 $srcdir/docs/reference/libags-audio/libags_audio.types.in > $PWD/docs/reference/libags-audio/libags_audio.types`
28958 if test "x$enable_libinstpatch" != xno
28959 then :
28960 `echo "ags_apply_sf2_midi_locale_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28961 `echo "ags_apply_sf2_synth_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28962 `echo "ags_fx_sf2_synth_audio_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28963 `echo "ags_fx_sf2_synth_audio_processor_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28964 `echo "ags_fx_sf2_synth_audio_signal_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28965 `echo "ags_fx_sf2_synth_channel_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28966 `echo "ags_fx_sf2_synth_channel_processor_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28967 `echo "ags_fx_sf2_synth_recycling_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28968 `echo "ags_ipatch_dls2_reader_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28969 `echo "ags_ipatch_flags_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28970 `echo "ags_ipatch_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28971 `echo "ags_ipatch_gig_reader_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28972 `echo "ags_ipatch_sample_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28973 `echo "ags_ipatch_sf2_reader_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28974 `echo "ags_open_sf2_instrument_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28975 `echo "ags_open_sf2_sample_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28976 `echo "ags_sf2_loader_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28977 `echo "ags_sf2_midi_locale_loader_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28978 `echo "ags_sf2_synth_generator_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28979 `echo "ags_sf2_synth_util_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28980 `echo "ags_sf2_synth_util_loop_mode_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28981
28982 fi
28983 if test "x$enable_vst3" != xno
28984 then :
28985 `echo "ags_fx_vst3_audio_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28986 `echo "ags_fx_vst3_audio_processor_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28987 `echo "ags_fx_vst3_audio_signal_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28988 `echo "ags_fx_vst3_channel_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28989 `echo "ags_fx_vst3_channel_processor_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28990 `echo "ags_fx_vst3_recycling_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28991 `echo "ags_instantiate_vst3_plugin_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28992 `echo "ags_vst3_conversion_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28993 `echo "ags_vst3_manager_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28994 `echo "ags_vst3_plugin_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28995 `echo "ags_write_vst3_port_get_type" >> $PWD/docs/reference/libags-audio/libags_audio.types`
28996
28997 fi
28998 `tail -n +19 $srcdir/docs/reference/libags-audio/libags_audio.interfaces.in > $PWD/docs/reference/libags-audio/libags_audio.interfaces`
28999 `mkdir -p $PWD/docs/reference/libags-gui`
29000 `tail -n +19 $srcdir/docs/reference/libags-gui/libags_gui.types.in > $PWD/docs/reference/libags-gui/libags_gui.types`
29001 `tail -n +19 $srcdir/docs/reference/libags-gui/libags_gui.interfaces.in > $PWD/docs/reference/libags-gui/libags_gui.interfaces`
29002 `mkdir -p $PWD/docs/reference/libgsequencer`
29003 `tail -n +19 $srcdir/docs/reference/libgsequencer/libgsequencer.types.in > $PWD/docs/reference/libgsequencer/libgsequencer.types`
29004 if test "x$enable_libinstpatch" != xno
29005 then :
29006 `echo "ags_sf2_synth_get_type" >> $PWD/docs/reference/libgsequencer/libgsequencer.types`
29007 `echo "ags_ffplayer_bridge_get_type" >> $PWD/docs/reference/libgsequencer/libgsequencer.types`
29008 `echo "ags_ffplayer_bulk_input_get_type" >> $PWD/docs/reference/libgsequencer/libgsequencer.types`
29009 `echo "ags_ffplayer_get_type" >> $PWD/docs/reference/libgsequencer/libgsequencer.types`
29010 `echo "ags_ffplayer_input_line_get_type" >> $PWD/docs/reference/libgsequencer/libgsequencer.types`
29011 `echo "ags_ffplayer_input_pad_get_type" >> $PWD/docs/reference/libgsequencer/libgsequencer.types`
29012
29013 fi
29014 if test "x$enable_vst3" != xno
29015 then :
29016 `echo "ags_live_vst3_bridge_get_type" >> $PWD/docs/reference/libgsequencer/libgsequencer.types`
29017 `echo "ags_vst3_bridge_get_type" >> $PWD/docs/reference/libgsequencer/libgsequencer.types`
29018 `echo "ags_vst3_browser_get_type" >> $PWD/docs/reference/libgsequencer/libgsequencer.types`
29019
29020 fi
29021 `tail -n +19 $srcdir/docs/reference/libgsequencer/libgsequencer.interfaces.in > $PWD/docs/reference/libgsequencer/libgsequencer.interfaces`
29022
29023
29024
29025 if test "x$INTROSPECTION_SCANNER" != x
29026 then :
29027 INTROSPECTION_SCANNER=$INTROSPECTION_SCANNER
29028
29029 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: INTROSPECTION_SCANNER = $INTROSPECTION_SCANNER" >&5
29030 printf '%s\n' "$as_me: INTROSPECTION_SCANNER = $INTROSPECTION_SCANNER" >&6;}
29031 else case e in #(
29032 e) INTROSPECTION_SCANNER=/usr/bin/g-ir-scanner
29033
29034 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: INTROSPECTION_SCANNER = $INTROSPECTION_SCANNER" >&5
29035 printf '%s\n' "$as_me: INTROSPECTION_SCANNER = $INTROSPECTION_SCANNER" >&6;} ;;
29036 esac
29037 fi
29038
29039 if test "x$INTROSPECTION_COMPILER" != x
29040 then :
29041 INTROSPECTION_COMPILER=$INTROSPECTION_COMPILER
29042
29043 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: INTROSPECTION_COMPILER = $INTROSPECTION_COMPILER" >&5
29044 printf '%s\n' "$as_me: INTROSPECTION_COMPILER = $INTROSPECTION_COMPILER" >&6;}
29045 else case e in #(
29046 e) INTROSPECTION_COMPILER=/usr/bin/g-ir-compiler
29047
29048 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: INTROSPECTION_COMPILER = $INTROSPECTION_COMPILER" >&5
29049 printf '%s\n' "$as_me: INTROSPECTION_COMPILER = $INTROSPECTION_COMPILER" >&6;} ;;
29050 esac
29051 fi
29052
29053 if test "x$HTMLHELP_XSL" != x
29054 then :
29055 HTMLHELP_XSL=$HTMLHELP_XSL
29056
29057 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: HTMLHELP_XSL = $HTMLHELP_XSL" >&5
29058 printf '%s\n' "$as_me: HTMLHELP_XSL = $HTMLHELP_XSL" >&6;}
29059 else case e in #(
29060 e) HTMLHELP_XSL=/usr/share/xml/docbook/stylesheet/docbook-xsl/htmlhelp/htmlhelp.xsl
29061
29062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: HTMLHELP_XSL = $HTMLHELP_XSL" >&5
29063 printf '%s\n' "$as_me: HTMLHELP_XSL = $HTMLHELP_XSL" >&6;} ;;
29064 esac
29065 fi
29066
29067 if test "x$FO_XSL" != x
29068 then :
29069 FO_XSL=$FO_XSL
29070
29071 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: FO_XSL = $FO_XSL" >&5
29072 printf '%s\n' "$as_me: FO_XSL = $FO_XSL" >&6;}
29073 else case e in #(
29074 e) FO_XSL=/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl
29075
29076 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: FO_XSL = $FO_XSL" >&5
29077 printf '%s\n' "$as_me: FO_XSL = $FO_XSL" >&6;} ;;
29078 esac
29079 fi
29080
29081 if test "x$MANPAGES_XSL" != x
29082 then :
29083 MANPAGES_XSL=$MANPAGES_XSL
29084
29085 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: MANPAGES_XSL = $MANPAGES_XSL" >&5
29086 printf '%s\n' "$as_me: MANPAGES_XSL = $MANPAGES_XSL" >&6;}
29087 else case e in #(
29088 e) MANPAGES_XSL=/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
29089
29090 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: MANPAGES_XSL = $MANPAGES_XSL" >&5
29091 printf '%s\n' "$as_me: MANPAGES_XSL = $MANPAGES_XSL" >&6;} ;;
29092 esac
29093 fi
29094
29095 if test "x$enable_upstream_gtk_doc" != xno
29096 then :
29097 if test "x$GOBJECT_API_DOC" != x
29098 then :
29099 GOBJECT_API_DOC=$GOBJECT_API_DOC
29100
29101 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&5
29102 printf '%s\n' "$as_me: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&6;}
29103 else case e in #(
29104 e) GOBJECT_API_DOC='/usr/share/doc/libglib2.0-doc/gobject'
29105
29106 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&5
29107 printf '%s\n' "$as_me: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&6;} ;;
29108 esac
29109 fi
29110
29111 if test "x$GTK_API_DOC" != x
29112 then :
29113 GTK_API_DOC=$GTK_API_DOC
29114
29115 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: GTK_API_DOC = $GTK_API_DOC" >&5
29116 printf '%s\n' "$as_me: GTK_API_DOC = $GTK_API_DOC" >&6;}
29117 else case e in #(
29118 e) GTK_API_DOC='/usr/share/doc/libgtk-4-doc/gtk4'
29119
29120 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: GTK_API_DOC = $GTK_API_DOC" >&5
29121 printf '%s\n' "$as_me: GTK_API_DOC = $GTK_API_DOC" >&6;} ;;
29122 esac
29123 fi
29124
29125 if test "x$LIBAGS_API_DOC" != x
29126 then :
29127 LIBAGS_API_DOC=$LIBAGS_API_DOC
29128
29129 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&5
29130 printf '%s\n' "$as_me: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&6;}
29131 else case e in #(
29132 e) LIBAGS_API_DOC='/usr/share/doc/libags-doc/api'
29133
29134 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&5
29135 printf '%s\n' "$as_me: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&6;} ;;
29136 esac
29137 fi
29138
29139 if test "x$LIBAGS_AUDIO_API_DOC" != x
29140 then :
29141 LIBAGS_AUDIO_API_DOC=$LIBAGS_AUDIO_API_DOC
29142
29143 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&5
29144 printf '%s\n' "$as_me: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&6;}
29145 else case e in #(
29146 e) LIBAGS_AUDIO_API_DOC='/usr/share/doc/libags-audio-doc/api'
29147
29148 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&5
29149 printf '%s\n' "$as_me: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&6;} ;;
29150 esac
29151 fi
29152
29153 if test "x$LIBAGS_GUI_API_DOC" != x
29154 then :
29155 LIBAGS_GUI_API_DOC=$LIBAGS_GUI_API_DOC
29156
29157 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&5
29158 printf '%s\n' "$as_me: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&6;}
29159 else case e in #(
29160 e) LIBAGS_GUI_API_DOC='/usr/share/doc/libags-gui-doc/api'
29161
29162 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&5
29163 printf '%s\n' "$as_me: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&6;} ;;
29164 esac
29165 fi
29166
29167 if test "x$LIBGSEQUENCER_API_DOC" != x
29168 then :
29169 LIBGSEQUENCER_API_DOC=$LIBGSEQUENCER_API_DOC
29170
29171 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&5
29172 printf '%s\n' "$as_me: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&6;}
29173 else case e in #(
29174 e) LIBGSEQUENCER_API_DOC='/usr/share/doc/libgsequencer-doc/api'
29175
29176 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&5
29177 printf '%s\n' "$as_me: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&6;} ;;
29178 esac
29179 fi
29180
29181 if test "x$LIBAGS_API_DIR" != x
29182 then :
29183 LIBAGS_API_DIR=$LIBAGS_API_DIR
29184
29185 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&5
29186 printf '%s\n' "$as_me: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&6;}
29187 else case e in #(
29188 e) LIBAGS_API_DIR=$datadir/doc/libags-doc/api
29189
29190 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&5
29191 printf '%s\n' "$as_me: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&6;} ;;
29192 esac
29193 fi
29194
29195 if test "x$LIBAGS_AUDIO_API_DIR" != x
29196 then :
29197 LIBAGS_AUDIO_API_DIR=$LIBAGS_AUDIO_API_DIR
29198
29199 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&5
29200 printf '%s\n' "$as_me: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&6;}
29201 else case e in #(
29202 e) LIBAGS_AUDIO_API_DIR=$datadir/doc/libags-audio-doc/api
29203
29204 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&5
29205 printf '%s\n' "$as_me: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&6;} ;;
29206 esac
29207 fi
29208
29209 if test "x$LIBAGS_GUI_API_DIR" != x
29210 then :
29211 LIBAGS_GUI_API_DIR=$LIBAGS_GUI_API_DIR
29212
29213 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&5
29214 printf '%s\n' "$as_me: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&6;}
29215 else case e in #(
29216 e) LIBAGS_GUI_API_DIR=$datadir/doc/libags-gui-doc/api
29217
29218 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&5
29219 printf '%s\n' "$as_me: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&6;} ;;
29220 esac
29221 fi
29222
29223 if test "x$LIBGSEQUENCER_API_DIR" != x
29224 then :
29225 LIBGSEQUENCER_API_DIR=$LIBGSEQUENCER_API_DIR
29226
29227 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&5
29228 printf '%s\n' "$as_me: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&6;}
29229 else case e in #(
29230 e) LIBGSEQUENCER_API_DIR=$datadir/doc/libgsequencer-doc/api
29231
29232 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&5
29233 printf '%s\n' "$as_me: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&6;} ;;
29234 esac
29235 fi
29236
29237 else case e in #(
29238 e)
29239 if test "x$GOBJECT_API_DOC" != x
29240 then :
29241 GOBJECT_API_DOC=$GOBJECT_API_DOC
29242
29243 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&5
29244 printf '%s\n' "$as_me: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&6;}
29245 else case e in #(
29246 e) GOBJECT_API_DOC='../gobject'
29247
29248 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&5
29249 printf '%s\n' "$as_me: GOBJECT_API_DOC = $GOBJECT_API_DOC" >&6;} ;;
29250 esac
29251 fi
29252
29253 if test "x$GTK_API_DOC" != x
29254 then :
29255 GTK_API_DOC=$GTK_API_DOC
29256
29257 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: GTK_API_DOC = $GTK_API_DOC" >&5
29258 printf '%s\n' "$as_me: GTK_API_DOC = $GTK_API_DOC" >&6;}
29259 else case e in #(
29260 e) GTK_API_DOC='../gtk3'
29261
29262 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: GTK_API_DOC = $GTK_API_DOC" >&5
29263 printf '%s\n' "$as_me: GTK_API_DOC = $GTK_API_DOC" >&6;} ;;
29264 esac
29265 fi
29266
29267 if test "x$LIBAGS_API_DOC" != x
29268 then :
29269 LIBAGS_API_DOC=$LIBAGS_API_DOC
29270
29271 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&5
29272 printf '%s\n' "$as_me: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&6;}
29273 else case e in #(
29274 e) LIBAGS_API_DOC='../libags'
29275
29276 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&5
29277 printf '%s\n' "$as_me: LIBAGS_API_DOC = $LIBAGS_API_DOC" >&6;} ;;
29278 esac
29279 fi
29280
29281 if test "x$LIBAGS_AUDIO_API_DOC" != x
29282 then :
29283 LIBAGS_AUDIO_API_DOC=$LIBAGS_AUDIO_API_DOC
29284
29285 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&5
29286 printf '%s\n' "$as_me: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&6;}
29287 else case e in #(
29288 e) LIBAGS_AUDIO_API_DOC='../libags_audio'
29289
29290 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&5
29291 printf '%s\n' "$as_me: LIBAGS_AUDIO_API_DOC = $LIBAGS_AUDIO_API_DOC" >&6;} ;;
29292 esac
29293 fi
29294
29295 if test "x$LIBAGS_GUI_API_DOC" != x
29296 then :
29297 LIBAGS_GUI_API_DOC=$LIBAGS_GUI_API_DOC
29298
29299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&5
29300 printf '%s\n' "$as_me: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&6;}
29301 else case e in #(
29302 e) LIBAGS_GUI_API_DOC='../libags_gui'
29303
29304 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&5
29305 printf '%s\n' "$as_me: LIBAGS_GUI_API_DOC = $LIBAGS_GUI_API_DOC" >&6;} ;;
29306 esac
29307 fi
29308
29309 if test "x$LIBGSEQUENCER_API_DOC" != x
29310 then :
29311 LIBGSEQUENCER_API_DOC=$LIBGSEQUENCER_API_DOC
29312
29313 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&5
29314 printf '%s\n' "$as_me: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&6;}
29315 else case e in #(
29316 e) LIBGSEQUENCER_API_DOC='../libgsequencer'
29317
29318 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&5
29319 printf '%s\n' "$as_me: LIBGSEQUENCER_API_DOC = $LIBGSEQUENCER_API_DOC" >&6;} ;;
29320 esac
29321 fi
29322
29323 if test "x$LIBAGS_API_DIR" != x
29324 then :
29325 LIBAGS_API_DIR=$LIBAGS_API_DIR
29326
29327 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&5
29328 printf '%s\n' "$as_me: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&6;}
29329 else case e in #(
29330 e) LIBAGS_API_DIR=$datadir/gtk-doc/html/libags
29331
29332 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&5
29333 printf '%s\n' "$as_me: LIBAGS_API_DIR = $LIBAGS_API_DIR" >&6;} ;;
29334 esac
29335 fi
29336
29337 if test "x$LIBAGS_AUDIO_API_DIR" != x
29338 then :
29339 LIBAGS_AUDIO_API_DIR=$LIBAGS_AUDIO_API_DIR
29340
29341 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&5
29342 printf '%s\n' "$as_me: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&6;}
29343 else case e in #(
29344 e) LIBAGS_AUDIO_API_DIR=$datadir/gtk-doc/html/libags_audio
29345
29346 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&5
29347 printf '%s\n' "$as_me: LIBAGS_AUDIO_API_DIR = $LIBAGS_AUDIO_API_DIR" >&6;} ;;
29348 esac
29349 fi
29350
29351 if test "x$LIBAGS_GUI_API_DIR" != x
29352 then :
29353 LIBAGS_GUI_API_DIR=$LIBAGS_GUI_API_DIR
29354
29355 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&5
29356 printf '%s\n' "$as_me: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&6;}
29357 else case e in #(
29358 e) LIBAGS_GUI_API_DIR=$datadir/gtk-doc/html/libags_gui
29359
29360 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&5
29361 printf '%s\n' "$as_me: LIBAGS_GUI_API_DIR = $LIBAGS_GUI_API_DIR" >&6;} ;;
29362 esac
29363 fi
29364
29365 if test "x$LIBGSEQUENCER_API_DIR" != x
29366 then :
29367 LIBGSEQUENCER_API_DIR=$LIBGSEQUENCER_API_DIR
29368
29369 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&5
29370 printf '%s\n' "$as_me: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&6;}
29371 else case e in #(
29372 e) LIBGSEQUENCER_API_DIR=$datadir/gtk-doc/html/libgsequencer
29373
29374 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&5
29375 printf '%s\n' "$as_me: LIBGSEQUENCER_API_DIR = $LIBGSEQUENCER_API_DIR" >&6;} ;;
29376 esac
29377 fi
29378 ;;
29379 esac
29380 fi
29381
29382 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: gnulib not installed" >&5
29383 printf '%s\n' "$as_me: gnulib not installed" >&6;}
29384
29385 # AM_EXTRA_RECURSIVE_TARGETS([ags-docs])
29386 ac_config_files="$ac_config_files lib/Makefile Makefile Doxyfile m4/Makefile po/Makefile.in po/Makefile unit-system-tests.mk functional-system-tests.mk docs/reference/libags/Makefile docs/reference/libags/Ags.conf docs/reference/libags/version.xml docs/reference/libags/libags.xml docs/reference/libags-audio/Makefile docs/reference/libags-audio/AgsAudio.conf docs/reference/libags-audio/version.xml docs/reference/libags-audio/libags_audio.xml docs/reference/libags-gui/Makefile docs/reference/libags-gui/AgsGui.conf docs/reference/libags-gui/version.xml docs/reference/libags-gui/libags_gui.xml docs/reference/libgsequencer/Makefile docs/reference/libgsequencer/version.xml docs/reference/libgsequencer/libgsequencer.xml libags.pc libags_audio.pc libags_gui.pc libgsequencer.pc"
29387
29388
29389 cat >confcache <<\_ACEOF
29390 # This file is a shell script that caches the results of configure
29391 # tests run on this system so they can be shared between configure
29392 # scripts and configure runs, see configure's option --config-cache.
29393 # It is not useful on other systems. If it contains results you don't
29394 # want to keep, you may remove or edit it.
29395 #
29396 # config.status only pays attention to the cache file if you give it
29397 # the --recheck option to rerun configure.
29398 #
29399 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
29400 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
29401 # following values.
29402
29403 _ACEOF
29404
29405 ac_cache_dump |
29406 sed '
29407 /^ac_cv_env_/b end
29408 t clear
29409 :clear
29410 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
29411 t end
29412 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29413 :end' >>confcache
29414 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29415 if test -w "$cache_file"; then
29416 if test "x$cache_file" != "x/dev/null"; then
29417 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
29418 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
29419 if test ! -f "$cache_file" || test -h "$cache_file"; then
29420 cat confcache >"$cache_file"
29421 else
29422 case $cache_file in #(
29423 */* | ?:*)
29424 mv -f confcache "$cache_file"$$ &&
29425 mv -f "$cache_file"$$ "$cache_file" ;; #(
29426 *)
29427 mv -f confcache "$cache_file" ;;
29428 esac
29429 fi
29430 fi
29431 else
29432 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
29433 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
29434 fi
29435 fi
29436 rm -f confcache
29437
29438 test "x$prefix" = xNONE && prefix=$ac_default_prefix
29439 # Let make expand exec_prefix.
29440 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29441
29442 DEFS=-DHAVE_CONFIG_H
29443
29444 ac_libobjs=
29445 ac_ltlibobjs=
29446 U=
29447 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29448 # 1. Remove the extension, and $U if already installed.
29449 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29450 ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
29451 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29452 # will be set to the directory where LIBOBJS objects are built.
29453 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29454 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
29455 done
29456 LIBOBJS=$ac_libobjs
29457
29458 LTLIBOBJS=$ac_ltlibobjs
29459
29460
29461 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
29462 printf %s "checking that generated files are newer than configure... " >&6; }
29463 if test -n "$am_sleep_pid"; then
29464 # Hide warnings about reused PIDs.
29465 wait $am_sleep_pid 2>/dev/null
29466 fi
29467 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
29468 printf '%s\n' "done" >&6; }
29469 case $enable_silent_rules in # (((
29470 yes) AM_DEFAULT_VERBOSITY=0;;
29471 no) AM_DEFAULT_VERBOSITY=1;;
29472 esac
29473 if test $am_cv_make_support_nested_variables = yes; then
29474 AM_V='$(V)'
29475 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
29476 else
29477 AM_V=$AM_DEFAULT_VERBOSITY
29478 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
29479 fi
29480
29481 if test -n "$EXEEXT"; then
29482 am__EXEEXT_TRUE=
29483 am__EXEEXT_FALSE='#'
29484 else
29485 am__EXEEXT_TRUE='#'
29486 am__EXEEXT_FALSE=
29487 fi
29488
29489 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29490 as_fn_error $? "conditional \"AMDEP\" was never defined.
29491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29492 fi
29493 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29494 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
29495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29496 fi
29497 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29498 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
29499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29500 fi
29501 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29502 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
29503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29504 fi
29505 if test -z "${WITH_W32API_TRUE}" && test -z "${WITH_W32API_FALSE}"; then
29506 as_fn_error $? "conditional \"WITH_W32API\" was never defined.
29507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29508 fi
29509 if test -z "${WITH_W32_EXE_ENV_TRUE}" && test -z "${WITH_W32_EXE_ENV_FALSE}"; then
29510 as_fn_error $? "conditional \"WITH_W32_EXE_ENV\" was never defined.
29511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29512 fi
29513 if test -z "${WITH_OSXAPI_TRUE}" && test -z "${WITH_OSXAPI_FALSE}"; then
29514 as_fn_error $? "conditional \"WITH_OSXAPI\" was never defined.
29515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29516 fi
29517 if test -z "${WITH_OSX_DMG_ENV_TRUE}" && test -z "${WITH_OSX_DMG_ENV_FALSE}"; then
29518 as_fn_error $? "conditional \"WITH_OSX_DMG_ENV\" was never defined.
29519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29520 fi
29521 if test -z "${WITH_MACOS_SANDBOX_TRUE}" && test -z "${WITH_MACOS_SANDBOX_FALSE}"; then
29522 as_fn_error $? "conditional \"WITH_MACOS_SANDBOX\" was never defined.
29523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29524 fi
29525 if test -z "${WITH_SNAP_SANDBOX_TRUE}" && test -z "${WITH_SNAP_SANDBOX_FALSE}"; then
29526 as_fn_error $? "conditional \"WITH_SNAP_SANDBOX\" was never defined.
29527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29528 fi
29529 if test -z "${WITH_FLATPAK_SANDBOX_TRUE}" && test -z "${WITH_FLATPAK_SANDBOX_FALSE}"; then
29530 as_fn_error $? "conditional \"WITH_FLATPAK_SANDBOX\" was never defined.
29531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29532 fi
29533 if test -z "${WITH_AUDIO_TOOLBOX_TRUE}" && test -z "${WITH_AUDIO_TOOLBOX_FALSE}"; then
29534 as_fn_error $? "conditional \"WITH_AUDIO_TOOLBOX\" was never defined.
29535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29536 fi
29537 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
29538 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
29539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29540 fi
29541 if test -z "${AGS_WITH_DEBUG_TRUE}" && test -z "${AGS_WITH_DEBUG_FALSE}"; then
29542 as_fn_error $? "conditional \"AGS_WITH_DEBUG\" was never defined.
29543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29544 fi
29545 if test -z "${AGS_WITH_DEVEL_TRUE}" && test -z "${AGS_WITH_DEVEL_FALSE}"; then
29546 as_fn_error $? "conditional \"AGS_WITH_DEVEL\" was never defined.
29547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29548 fi
29549 if test -z "${AGS_WITH_PUBLIC_LIBGSEQUENCER_TRUE}" && test -z "${AGS_WITH_PUBLIC_LIBGSEQUENCER_FALSE}"; then
29550 as_fn_error $? "conditional \"AGS_WITH_PUBLIC_LIBGSEQUENCER\" was never defined.
29551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29552 fi
29553 if test -z "${AGS_WITH_UPSTREAM_GTK_DOC_TRUE}" && test -z "${AGS_WITH_UPSTREAM_GTK_DOC_FALSE}"; then
29554 as_fn_error $? "conditional \"AGS_WITH_UPSTREAM_GTK_DOC\" was never defined.
29555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29556 fi
29557 if test -z "${AGS_WITH_SINGLE_DOCDIR_TRUE}" && test -z "${AGS_WITH_SINGLE_DOCDIR_FALSE}"; then
29558 as_fn_error $? "conditional \"AGS_WITH_SINGLE_DOCDIR\" was never defined.
29559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29560 fi
29561 if test -z "${WITH_LIBINSTPATCH_TRUE}" && test -z "${WITH_LIBINSTPATCH_FALSE}"; then
29562 as_fn_error $? "conditional \"WITH_LIBINSTPATCH\" was never defined.
29563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29564 fi
29565 if test -z "${WITH_VST3_TRUE}" && test -z "${WITH_VST3_FALSE}"; then
29566 as_fn_error $? "conditional \"WITH_VST3\" was never defined.
29567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29568 fi
29569 if test -z "${WITH_AUDIO_UNIT_PLUGINS_TRUE}" && test -z "${WITH_AUDIO_UNIT_PLUGINS_FALSE}"; then
29570 as_fn_error $? "conditional \"WITH_AUDIO_UNIT_PLUGINS\" was never defined.
29571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29572 fi
29573 if test -z "${WITH_MIDI2_TRUE}" && test -z "${WITH_MIDI2_FALSE}"; then
29574 as_fn_error $? "conditional \"WITH_MIDI2\" was never defined.
29575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29576 fi
29577 if test -z "${WITH_GSTREAMER_TRUE}" && test -z "${WITH_GSTREAMER_FALSE}"; then
29578 as_fn_error $? "conditional \"WITH_GSTREAMER\" was never defined.
29579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29580 fi
29581 if test -z "${RUN_FUNCTIONAL_TESTS_TRUE}" && test -z "${RUN_FUNCTIONAL_TESTS_FALSE}"; then
29582 as_fn_error $? "conditional \"RUN_FUNCTIONAL_TESTS\" was never defined.
29583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29584 fi
29585 if test -z "${FAST_TEST_MODE_TRUE}" && test -z "${FAST_TEST_MODE_FALSE}"; then
29586 as_fn_error $? "conditional \"FAST_TEST_MODE\" was never defined.
29587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29588 fi
29589 if test -z "${GNU_TRUE}" && test -z "${GNU_FALSE}"; then
29590 as_fn_error $? "conditional \"GNU\" was never defined.
29591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29592 fi
29593 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
29594 as_fn_error $? "conditional \"LINUX\" was never defined.
29595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29596 fi
29597 if test -z "${FREEBSD_TRUE}" && test -z "${FREEBSD_FALSE}"; then
29598 as_fn_error $? "conditional \"FREEBSD\" was never defined.
29599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29600 fi
29601 if test -z "${WINDOWS_TRUE}" && test -z "${WINDOWS_FALSE}"; then
29602 as_fn_error $? "conditional \"WINDOWS\" was never defined.
29603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29604 fi
29605 if test -z "${OSX_TRUE}" && test -z "${OSX_FALSE}"; then
29606 as_fn_error $? "conditional \"OSX\" was never defined.
29607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29608 fi
29609 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
29610 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
29611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29612 fi
29613 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
29614 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
29615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29616 fi
29617 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
29618 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
29619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29620 fi
29621 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
29622 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
29623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29624 fi
29625 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
29626 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
29627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29628 fi
29629 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
29630 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
29631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29632 fi
29633 if test -z "${WITH_SYSTEM_TESTS_TRUE}" && test -z "${WITH_SYSTEM_TESTS_FALSE}"; then
29634 as_fn_error $? "conditional \"WITH_SYSTEM_TESTS\" was never defined.
29635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29636 fi
29637 if test -z "${WITH_VST3_TRUE}" && test -z "${WITH_VST3_FALSE}"; then
29638 as_fn_error $? "conditional \"WITH_VST3\" was never defined.
29639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29640 fi
29641 if test -z "${WITH_AUDIO_UNIT_PLUGINS_TRUE}" && test -z "${WITH_AUDIO_UNIT_PLUGINS_FALSE}"; then
29642 as_fn_error $? "conditional \"WITH_AUDIO_UNIT_PLUGINS\" was never defined.
29643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29644 fi
29645 if test -z "${WITH_EXPERIMENTAL_TRUE}" && test -z "${WITH_EXPERIMENTAL_FALSE}"; then
29646 as_fn_error $? "conditional \"WITH_EXPERIMENTAL\" was never defined.
29647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29648 fi
29649
29650 : "${CONFIG_STATUS=./config.status}"
29651 case $CONFIG_STATUS in #(
29652 -*) :
29653 CONFIG_STATUS=./$CONFIG_STATUS ;; #(
29654 */*) :
29655 ;; #(
29656 *) :
29657 CONFIG_STATUS=./$CONFIG_STATUS ;;
29658 esac
29659
29660 ac_write_fail=0
29661 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
29662 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
29663 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
29664 as_write_fail=0
29665 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
29666 #! $SHELL
29667 # Generated by $as_me.
29668 # Run this file to recreate the current configuration.
29669 # Compiler output produced by configure, useful for debugging
29670 # configure, is in config.log if it exists.
29671
29672 debug=false
29673 ac_cs_recheck=false
29674 ac_cs_silent=false
29675
29676 SHELL=\${CONFIG_SHELL-$SHELL}
29677 export SHELL
29678 _ASEOF
29679 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
29680 ## -------------------- ##
29681 ## M4sh Initialization. ##
29682 ## -------------------- ##
29683
29684 # Be more Bourne compatible
29685 DUALCASE=1; export DUALCASE # for MKS sh
29686 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
29687 then :
29688 emulate sh
29689 NULLCMD=:
29690 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29691 # contradicts POSIX and common usage. Disable this.
29692 alias -g '${1+"$@"}'='"$@"'
29693 setopt NO_GLOB_SUBST
29694 else case e in #(
29695 e) case `(set -o) 2>/dev/null` in #(
29696 *posix*) :
29697 set -o posix ;; #(
29698 *) :
29699 ;;
29700 esac ;;
29701 esac
29702 fi
29703
29704
29705
29706 # Reset variables that may have inherited troublesome values from
29707 # the environment.
29708
29709 # IFS needs to be set, to space, tab, and newline, in precisely that order.
29710 # (If _AS_PATH_WALK were called with IFS unset, it would have the
29711 # side effect of setting IFS to empty, thus disabling word splitting.)
29712 # Quoting is to prevent editors from complaining about space-tab.
29713 as_nl='
29714 '
29715 export as_nl
29716 IFS=" "" $as_nl"
29717
29718 PS1='$ '
29719 PS2='> '
29720 PS4='+ '
29721
29722 # Ensure predictable behavior from utilities with locale-dependent output.
29723 LC_ALL=C
29724 export LC_ALL
29725 LANGUAGE=C
29726 export LANGUAGE
29727
29728 # We cannot yet rely on "unset" to work, but we need these variables
29729 # to be unset--not just set to an empty or harmless value--now, to
29730 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
29731 # also avoids known problems related to "unset" and subshell syntax
29732 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
29733 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
29734 do eval test \${$as_var+y} \
29735 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
29736 done
29737
29738 # Ensure that fds 0, 1, and 2 are open.
29739 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
29740 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
29741 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
29742
29743 # The user is always right.
29744 if ${PATH_SEPARATOR+false} :; then
29745 PATH_SEPARATOR=:
29746 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
29747 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
29748 PATH_SEPARATOR=';'
29749 }
29750 fi
29751
29752
29753 # Find who we are. Look in the path if we contain no directory separator.
29754 as_myself=
29755 case $0 in #((
29756 *[\\/]* ) as_myself=$0 ;;
29757 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29758 for as_dir in $PATH
29759 do
29760 IFS=$as_save_IFS
29761 case $as_dir in #(((
29762 '') as_dir=./ ;;
29763 */) ;;
29764 *) as_dir=$as_dir/ ;;
29765 esac
29766 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
29767 done
29768 IFS=$as_save_IFS
29769
29770 ;;
29771 esac
29772 # We did not find ourselves, most probably we were run as 'sh COMMAND'
29773 # in which case we are not to be found in the path.
29774 if test "x$as_myself" = x; then
29775 as_myself=$0
29776 fi
29777 if test ! -f "$as_myself"; then
29778 printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29779 exit 1
29780 fi
29781
29782
29783
29784 # as_fn_error STATUS ERROR [LINENO LOG_FD]
29785 # ----------------------------------------
29786 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
29787 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
29788 # script with STATUS, using 1 if that was 0.
29789 as_fn_error ()
29790 {
29791 as_status=$1; test $as_status -eq 0 && as_status=1
29792 if test "$4"; then
29793 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
29794 printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
29795 fi
29796 printf '%s\n' "$as_me: error: $2" >&2
29797 as_fn_exit $as_status
29798 } # as_fn_error
29799
29800
29801 # as_fn_set_status STATUS
29802 # -----------------------
29803 # Set $? to STATUS, without forking.
29804 as_fn_set_status ()
29805 {
29806 return $1
29807 } # as_fn_set_status
29808
29809 # as_fn_exit STATUS
29810 # -----------------
29811 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
29812 as_fn_exit ()
29813 {
29814 set +e
29815 as_fn_set_status $1
29816 exit $1
29817 } # as_fn_exit
29818
29819 # as_fn_unset VAR
29820 # ---------------
29821 # Portably unset VAR.
29822 as_fn_unset ()
29823 {
29824 { eval $1=; unset $1;}
29825 }
29826 as_unset=as_fn_unset
29827
29828 # as_fn_append VAR VALUE
29829 # ----------------------
29830 # Append the text in VALUE to the end of the definition contained in VAR. Take
29831 # advantage of any shell optimizations that allow amortized linear growth over
29832 # repeated appends, instead of the typical quadratic growth present in naive
29833 # implementations.
29834 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
29835 then :
29836 eval 'as_fn_append ()
29837 {
29838 eval $1+=\$2
29839 }'
29840 else case e in #(
29841 e) as_fn_append ()
29842 {
29843 eval $1=\$$1\$2
29844 } ;;
29845 esac
29846 fi # as_fn_append
29847
29848 # as_fn_arith ARG...
29849 # ------------------
29850 # Perform arithmetic evaluation on the ARGs, and store the result in the
29851 # global $as_val. Take advantage of shells that can avoid forks. The arguments
29852 # must be portable across $(()) and expr.
29853 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
29854 then :
29855 eval 'as_fn_arith ()
29856 {
29857 as_val=$(( $* ))
29858 }'
29859 else case e in #(
29860 e) as_fn_arith ()
29861 {
29862 as_val=`expr "$@" || test $? -eq 1`
29863 } ;;
29864 esac
29865 fi # as_fn_arith
29866
29867
29868 if expr a : '\(a\)' >/dev/null 2>&1 &&
29869 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29870 as_expr=expr
29871 else
29872 as_expr=false
29873 fi
29874
29875 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29876 as_basename=basename
29877 else
29878 as_basename=false
29879 fi
29880
29881 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29882 as_dirname=dirname
29883 else
29884 as_dirname=false
29885 fi
29886
29887 as_me=`$as_basename -- "$0" ||
29888 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29889 X"$0" : 'X\(//\)$' \| \
29890 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29891 printf '%s\n' X/"$0" |
29892 sed '/^.*\/\([^/][^/]*\)\/*$/{
29893 s//\1/
29894 q
29895 }
29896 /^X\/\(\/\/\)$/{
29897 s//\1/
29898 q
29899 }
29900 /^X\/\(\/\).*/{
29901 s//\1/
29902 q
29903 }
29904 s/.*/./; q'`
29905
29906 # Avoid depending upon Character Ranges.
29907 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29908 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29909 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29910 as_cr_digits='0123456789'
29911 as_cr_alnum=$as_cr_Letters$as_cr_digits
29912
29913 rm -f conf$$ conf$$.exe conf$$.file
29914 if test -d conf$$.dir; then
29915 rm -f conf$$.dir/conf$$.file
29916 else
29917 rm -f conf$$.dir
29918 mkdir conf$$.dir 2>/dev/null
29919 fi
29920 if (echo >conf$$.file) 2>/dev/null; then
29921 if ln -s conf$$.file conf$$ 2>/dev/null; then
29922 as_ln_s='ln -s'
29923 # ... but there are two gotchas:
29924 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
29925 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
29926 # In both cases, we have to default to 'cp -pR'.
29927 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29928 as_ln_s='cp -pR'
29929 elif ln conf$$.file conf$$ 2>/dev/null; then
29930 as_ln_s=ln
29931 else
29932 as_ln_s='cp -pR'
29933 fi
29934 else
29935 as_ln_s='cp -pR'
29936 fi
29937 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29938 rmdir conf$$.dir 2>/dev/null
29939
29940
29941 # as_fn_mkdir_p
29942 # -------------
29943 # Create "$as_dir" as a directory, including parents if necessary.
29944 as_fn_mkdir_p ()
29945 {
29946
29947 case $as_dir in #(
29948 -*) as_dir=./$as_dir;;
29949 esac
29950 test -d "$as_dir" || eval $as_mkdir_p || {
29951 as_dirs=
29952 while :; do
29953 case $as_dir in #(
29954 *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
29955 *) as_qdir=$as_dir;;
29956 esac
29957 as_dirs="'$as_qdir' $as_dirs"
29958 as_dir=`$as_dirname -- "$as_dir" ||
29959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29960 X"$as_dir" : 'X\(//\)[^/]' \| \
29961 X"$as_dir" : 'X\(//\)$' \| \
29962 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29963 printf '%s\n' X"$as_dir" |
29964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29965 s//\1/
29966 q
29967 }
29968 /^X\(\/\/\)[^/].*/{
29969 s//\1/
29970 q
29971 }
29972 /^X\(\/\/\)$/{
29973 s//\1/
29974 q
29975 }
29976 /^X\(\/\).*/{
29977 s//\1/
29978 q
29979 }
29980 s/.*/./; q'`
29981 test -d "$as_dir" && break
29982 done
29983 test -z "$as_dirs" || eval "mkdir $as_dirs"
29984 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
29985
29986
29987 } # as_fn_mkdir_p
29988 if mkdir -p . 2>/dev/null; then
29989 as_mkdir_p='mkdir -p "$as_dir"'
29990 else
29991 test -d ./-p && rmdir ./-p
29992 as_mkdir_p=false
29993 fi
29994
29995
29996 # as_fn_executable_p FILE
29997 # -----------------------
29998 # Test if FILE is an executable regular file.
29999 as_fn_executable_p ()
30000 {
30001 test -f "$1" && test -x "$1"
30002 } # as_fn_executable_p
30003 as_test_x='test -x'
30004 as_executable_p=as_fn_executable_p
30005
30006 # Sed expression to map a string onto a valid CPP name.
30007 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
30008 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
30009
30010 # Sed expression to map a string onto a valid variable name.
30011 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
30012 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
30013
30014
30015 exec 6>&1
30016 ## ------------------------------------- ##
30017 ## Main body of "$CONFIG_STATUS" script. ##
30018 ## ------------------------------------- ##
30019 _ASEOF
30020 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
30021
30022 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
30023 # Save the log message, to keep $0 and so on meaningful, and to
30024 # report actual input values of CONFIG_FILES etc. instead of their
30025 # values after options handling.
30026 ac_log="
30027 This file was extended by gsequencer $as_me 9.0.20, which was
30028 generated by GNU Autoconf 2.73. Invocation command line was
30029
30030 CONFIG_FILES = $CONFIG_FILES
30031 CONFIG_HEADERS = $CONFIG_HEADERS
30032 CONFIG_LINKS = $CONFIG_LINKS
30033 CONFIG_COMMANDS = $CONFIG_COMMANDS
30034 $ $0 $@
30035
30036 on `(hostname || uname -n) 2>/dev/null | sed 1q`
30037 "
30038
30039 _ACEOF
30040
30041 case $ac_config_files in *"
30042 "*) set x $ac_config_files; shift; ac_config_files=$*;;
30043 esac
30044
30045 case $ac_config_headers in *"
30046 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
30047 esac
30048
30049
30050 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
30051 # Files that config.status was made for.
30052 config_files="$ac_config_files"
30053 config_headers="$ac_config_headers"
30054 config_commands="$ac_config_commands"
30055
30056 _ACEOF
30057
30058 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
30059 ac_cs_usage="\
30060 '$as_me' instantiates files and other configuration actions
30061 from templates according to the current configuration. Unless the files
30062 and actions are specified as TAGs, all are instantiated by default.
30063
30064 Usage: $0 [OPTION]... [TAG]...
30065
30066 -h, --help print this help, then exit
30067 -V, --version print version number and configuration settings, then exit
30068 --config print configuration, then exit
30069 -q, --quiet, --silent
30070 do not print progress messages
30071 -d, --debug don't remove temporary files
30072 --recheck update $as_me by reconfiguring in the same conditions
30073 --file=FILE[:TEMPLATE]
30074 instantiate the configuration file FILE
30075 --header=FILE[:TEMPLATE]
30076 instantiate the configuration header FILE
30077
30078 Configuration files:
30079 $config_files
30080
30081 Configuration headers:
30082 $config_headers
30083
30084 Configuration commands:
30085 $config_commands
30086
30087 Report bugs to <[email protected]>."
30088
30089 _ACEOF
30090 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
30091 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
30092 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
30093 ac_cs_config='$ac_cs_config_escaped'
30094 ac_cs_version="\\
30095 gsequencer config.status 9.0.20
30096 configured by $0, generated by GNU Autoconf 2.73,
30097 with options \\"\$ac_cs_config\\"
30098
30099 Copyright (C) 2026 Free Software Foundation, Inc.
30100 This config.status script is free software; the Free Software Foundation
30101 gives unlimited permission to copy, distribute and modify it."
30102
30103 ac_pwd='$ac_pwd'
30104 srcdir='$srcdir'
30105 INSTALL='$INSTALL'
30106 MKDIR_P='$MKDIR_P'
30107 AWK='$AWK'
30108 test -n "\$AWK" || {
30109 awk '' </dev/null ||
30110 as_fn_error \$? "try installing gawk"
30111 AWK=awk
30112 }
30113 _ACEOF
30114
30115 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
30116 # The default lists apply if the user does not specify any file.
30117 ac_need_defaults=:
30118 while test $# != 0
30119 do
30120 case $1 in
30121 --*=?*)
30122 ac_option=`expr "X$1" : 'X\([^=]*\)='`
30123 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
30124 ac_shift=:
30125 ;;
30126 --*=)
30127 ac_option=`expr "X$1" : 'X\([^=]*\)='`
30128 ac_optarg=
30129 ac_shift=:
30130 ;;
30131 *)
30132 ac_option=$1
30133 ac_optarg=$2
30134 ac_shift=shift
30135 ;;
30136 esac
30137
30138 case $ac_option in
30139 # Handling of the options.
30140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30141 ac_cs_recheck=: ;;
30142 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
30143 printf '%s\n' "$ac_cs_version"; exit ;;
30144 --config | --confi | --conf | --con | --co | --c )
30145 printf '%s\n' "$ac_cs_config"; exit ;;
30146 --debug | --debu | --deb | --de | --d | -d )
30147 debug=: ;;
30148 --file | --fil | --fi | --f )
30149 $ac_shift
30150 case $ac_optarg in
30151 *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30152 '') as_fn_error $? "missing file argument" ;;
30153 esac
30154 as_fn_append CONFIG_FILES " '$ac_optarg'"
30155 ac_need_defaults=false;;
30156 --header | --heade | --head | --hea )
30157 $ac_shift
30158 case $ac_optarg in
30159 *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30160 esac
30161 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
30162 ac_need_defaults=false;;
30163 --he | --h)
30164 # Conflict between --help and --header
30165 as_fn_error $? "ambiguous option: '$1'
30166 Try '$0 --help' for more information.";;
30167 --help | --hel | -h )
30168 printf '%s\n' "$ac_cs_usage"; exit ;;
30169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
30170 | -silent | --silent | --silen | --sile | --sil | --si | --s)
30171 ac_cs_silent=: ;;
30172
30173 # This is an error.
30174 -*) as_fn_error $? "unrecognized option: '$1'
30175 Try '$0 --help' for more information." ;;
30176
30177 *) as_fn_append ac_config_targets " $1"
30178 ac_need_defaults=false ;;
30179
30180 esac
30181 shift
30182 done
30183
30184 ac_configure_extra_args=
30185
30186 if $ac_cs_silent; then
30187 exec 6>/dev/null
30188 ac_configure_extra_args="$ac_configure_extra_args --silent"
30189 fi
30190
30191 _ACEOF
30192 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
30193 if \$ac_cs_recheck; then
30194 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30195 shift
30196 \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
30197 CONFIG_SHELL='$SHELL'
30198 export CONFIG_SHELL
30199 exec "\$@"
30200 fi
30201
30202 _ACEOF
30203 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
30204 exec 5>>config.log
30205 {
30206 echo
30207 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30208 ## Running $as_me. ##
30209 _ASBOX
30210 printf '%s\n' "$ac_log"
30211 } >&5
30212
30213 _ACEOF
30214 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
30215 #
30216 # INIT-COMMANDS
30217 #
30218 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
30219 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
30220 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
30221 # from automake < 1.5.
30222 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
30223 # Capture the value of LINGUAS because we need it to compute CATALOGS.
30224 LINGUAS="${LINGUAS-%UNSET%}"
30225
30226
30227
30228 # The HP-UX ksh and POSIX shell print the target directory to stdout
30229 # if CDPATH is set.
30230 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
30231
30232 sed_quote_subst='$sed_quote_subst'
30233 double_quote_subst='$double_quote_subst'
30234 delay_variable_subst='$delay_variable_subst'
30235 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
30236 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
30237 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
30238 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
30239 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
30240 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
30241 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
30242 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
30243 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
30244 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
30245 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
30246 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
30247 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
30248 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
30249 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
30250 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
30251 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
30252 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
30253 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
30254 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
30255 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
30256 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
30257 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
30258 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
30259 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
30260 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
30261 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
30262 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
30263 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
30264 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
30265 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
30266 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
30267 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
30268 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
30269 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
30270 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
30271 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
30272 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
30273 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
30274 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
30275 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
30276 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
30277 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
30278 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
30279 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
30280 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
30281 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
30282 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
30283 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
30284 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
30285 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
30286 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
30287 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
30288 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
30289 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
30290 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
30291 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
30292 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
30293 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
30294 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
30295 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
30296 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"`'
30297 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
30298 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
30299 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
30300 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
30301 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
30302 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
30303 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
30304 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
30305 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
30306 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
30307 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
30308 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
30309 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
30310 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
30311 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
30312 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
30313 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
30314 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
30315 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
30316 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
30317 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
30318 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
30319 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
30320 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
30321 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
30322 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
30323 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
30324 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
30325 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
30326 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
30327 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
30328 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
30329 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
30330 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
30331 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
30332 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
30333 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
30334 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
30335 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
30336 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
30337 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
30338 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
30339 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
30340 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
30341 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
30342 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
30343 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
30344 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
30345 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
30346 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
30347 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
30348 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
30349 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
30350 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
30351 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
30352 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
30353 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
30354 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
30355 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
30356 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
30357 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
30358 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
30359 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
30360 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
30361 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
30362 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
30363 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
30364 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
30365 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
30366 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
30367 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
30368 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
30369 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
30370 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
30371 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
30372 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
30373 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
30374 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
30375 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
30376 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
30377 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
30378 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
30379 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
30380 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
30381 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30382 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30383 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
30384 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
30385 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
30386 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
30387 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
30388 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
30389 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
30390 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
30391 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
30392 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30393 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30394 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
30395 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30396 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30397 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30398 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30399 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30400 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30401 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
30402 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
30403 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
30404 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30405 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
30406 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
30407 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
30408 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
30409 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
30410 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
30411 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
30412 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
30413 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
30414 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30415 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
30416 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
30417 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30418 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30419 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
30420 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
30421 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
30422 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
30423 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
30424 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
30425 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
30426 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
30427
30428 LTCC='$LTCC'
30429 LTCFLAGS='$LTCFLAGS'
30430 compiler='$compiler_DEFAULT'
30431
30432 # A function that is used when there is no print builtin or printf.
30433 func_fallback_echo ()
30434 {
30435 eval 'cat <<_LTECHO_EOF
30436 \$1
30437 _LTECHO_EOF'
30438 }
30439
30440 # Quote evaled strings.
30441 for var in AS \
30442 DLLTOOL \
30443 OBJDUMP \
30444 SHELL \
30445 ECHO \
30446 PATH_SEPARATOR \
30447 SED \
30448 GREP \
30449 EGREP \
30450 FGREP \
30451 LD \
30452 NM \
30453 LN_S \
30454 lt_SP2NL \
30455 lt_NL2SP \
30456 reload_flag \
30457 FILECMD \
30458 deplibs_check_method \
30459 file_magic_cmd \
30460 file_magic_glob \
30461 want_nocaseglob \
30462 sharedlib_from_linklib_cmd \
30463 AR \
30464 archiver_list_spec \
30465 STRIP \
30466 RANLIB \
30467 CC \
30468 CFLAGS \
30469 compiler \
30470 lt_cv_sys_global_symbol_pipe \
30471 lt_cv_sys_global_symbol_to_cdecl \
30472 lt_cv_sys_global_symbol_to_import \
30473 lt_cv_sys_global_symbol_to_c_name_address \
30474 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
30475 lt_cv_nm_interface \
30476 nm_file_list_spec \
30477 lt_cv_truncate_bin \
30478 lt_prog_compiler_no_builtin_flag \
30479 lt_prog_compiler_pic \
30480 lt_prog_compiler_wl \
30481 lt_prog_compiler_static \
30482 lt_cv_prog_compiler_c_o \
30483 need_locks \
30484 MANIFEST_TOOL \
30485 DSYMUTIL \
30486 NMEDIT \
30487 LIPO \
30488 OTOOL \
30489 OTOOL64 \
30490 shrext_cmds \
30491 export_dynamic_flag_spec \
30492 whole_archive_flag_spec \
30493 compiler_needs_object \
30494 with_gnu_ld \
30495 allow_undefined_flag \
30496 no_undefined_flag \
30497 hardcode_libdir_flag_spec \
30498 hardcode_libdir_separator \
30499 exclude_expsyms \
30500 include_expsyms \
30501 file_list_spec \
30502 variables_saved_for_relink \
30503 libname_spec \
30504 library_names_spec \
30505 soname_spec \
30506 install_override_mode \
30507 finish_eval \
30508 old_striplib \
30509 striplib \
30510 compiler_lib_search_dirs \
30511 predep_objects \
30512 postdep_objects \
30513 predeps \
30514 postdeps \
30515 compiler_lib_search_path \
30516 LD_CXX \
30517 reload_flag_CXX \
30518 compiler_CXX \
30519 lt_prog_compiler_no_builtin_flag_CXX \
30520 lt_prog_compiler_pic_CXX \
30521 lt_prog_compiler_wl_CXX \
30522 lt_prog_compiler_static_CXX \
30523 lt_cv_prog_compiler_c_o_CXX \
30524 export_dynamic_flag_spec_CXX \
30525 whole_archive_flag_spec_CXX \
30526 compiler_needs_object_CXX \
30527 with_gnu_ld_CXX \
30528 allow_undefined_flag_CXX \
30529 no_undefined_flag_CXX \
30530 hardcode_libdir_flag_spec_CXX \
30531 hardcode_libdir_separator_CXX \
30532 exclude_expsyms_CXX \
30533 include_expsyms_CXX \
30534 file_list_spec_CXX \
30535 compiler_lib_search_dirs_CXX \
30536 predep_objects_CXX \
30537 postdep_objects_CXX \
30538 predeps_CXX \
30539 postdeps_CXX \
30540 compiler_lib_search_path_CXX; do
30541 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
30542 *[\\\\\\\`\\"\\\$]*)
30543 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
30544 ;;
30545 *)
30546 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30547 ;;
30548 esac
30549 done
30550
30551 # Double-quote double-evaled strings.
30552 for var in reload_cmds \
30553 old_postinstall_cmds \
30554 old_postuninstall_cmds \
30555 old_archive_cmds \
30556 extract_expsyms_cmds \
30557 old_archive_from_new_cmds \
30558 old_archive_from_expsyms_cmds \
30559 archive_cmds \
30560 archive_expsym_cmds \
30561 module_cmds \
30562 module_expsym_cmds \
30563 export_symbols_cmds \
30564 prelink_cmds \
30565 postlink_cmds \
30566 postinstall_cmds \
30567 postuninstall_cmds \
30568 finish_cmds \
30569 sys_lib_search_path_spec \
30570 configure_time_dlsearch_path \
30571 configure_time_lt_sys_library_path \
30572 reload_cmds_CXX \
30573 old_archive_cmds_CXX \
30574 old_archive_from_new_cmds_CXX \
30575 old_archive_from_expsyms_cmds_CXX \
30576 archive_cmds_CXX \
30577 archive_expsym_cmds_CXX \
30578 module_cmds_CXX \
30579 module_expsym_cmds_CXX \
30580 export_symbols_cmds_CXX \
30581 prelink_cmds_CXX \
30582 postlink_cmds_CXX; do
30583 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
30584 *[\\\\\\\`\\"\\\$]*)
30585 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
30586 ;;
30587 *)
30588 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30589 ;;
30590 esac
30591 done
30592
30593 ac_aux_dir='$ac_aux_dir'
30594
30595 # See if we are running on zsh, and set the options that allow our
30596 # commands through without removal of \ escapes INIT.
30597 if test -n "\${ZSH_VERSION+set}"; then
30598 setopt NO_GLOB_SUBST
30599 fi
30600
30601
30602 PACKAGE='$PACKAGE'
30603 VERSION='$VERSION'
30604 RM='$RM'
30605 ofile='$ofile'
30606
30607
30608
30609
30610
30611
30612 _ACEOF
30613
30614 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
30615
30616 # Handling of arguments.
30617 for ac_config_target in $ac_config_targets
30618 do
30619 case $ac_config_target in
30620 "ags/config.h") CONFIG_HEADERS="$CONFIG_HEADERS ags/config.h" ;;
30621 "ags/ags_api_config.h") CONFIG_HEADERS="$CONFIG_HEADERS ags/ags_api_config.h" ;;
30622 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30623 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
30624 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
30625 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
30626 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30627 "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
30628 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
30629 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
30630 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
30631 "unit-system-tests.mk") CONFIG_FILES="$CONFIG_FILES unit-system-tests.mk" ;;
30632 "functional-system-tests.mk") CONFIG_FILES="$CONFIG_FILES functional-system-tests.mk" ;;
30633 "docs/reference/libags/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libags/Makefile" ;;
30634 "docs/reference/libags/Ags.conf") CONFIG_FILES="$CONFIG_FILES docs/reference/libags/Ags.conf" ;;
30635 "docs/reference/libags/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libags/version.xml" ;;
30636 "docs/reference/libags/libags.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libags/libags.xml" ;;
30637 "docs/reference/libags-audio/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-audio/Makefile" ;;
30638 "docs/reference/libags-audio/AgsAudio.conf") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-audio/AgsAudio.conf" ;;
30639 "docs/reference/libags-audio/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-audio/version.xml" ;;
30640 "docs/reference/libags-audio/libags_audio.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-audio/libags_audio.xml" ;;
30641 "docs/reference/libags-gui/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-gui/Makefile" ;;
30642 "docs/reference/libags-gui/AgsGui.conf") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-gui/AgsGui.conf" ;;
30643 "docs/reference/libags-gui/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-gui/version.xml" ;;
30644 "docs/reference/libags-gui/libags_gui.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libags-gui/libags_gui.xml" ;;
30645 "docs/reference/libgsequencer/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libgsequencer/Makefile" ;;
30646 "docs/reference/libgsequencer/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libgsequencer/version.xml" ;;
30647 "docs/reference/libgsequencer/libgsequencer.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libgsequencer/libgsequencer.xml" ;;
30648 "libags.pc") CONFIG_FILES="$CONFIG_FILES libags.pc" ;;
30649 "libags_audio.pc") CONFIG_FILES="$CONFIG_FILES libags_audio.pc" ;;
30650 "libags_gui.pc") CONFIG_FILES="$CONFIG_FILES libags_gui.pc" ;;
30651 "libgsequencer.pc") CONFIG_FILES="$CONFIG_FILES libgsequencer.pc" ;;
30652
30653 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
30654 esac
30655 done
30656
30657
30658 # If the user did not use the arguments to specify the items to instantiate,
30659 # then the envvar interface is used. Set only those that are not.
30660 # We use the long form for the default assignment because of an extremely
30661 # bizarre bug on SunOS 4.1.3.
30662 if $ac_need_defaults; then
30663 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
30664 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
30665 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
30666 fi
30667
30668 # Have a temporary directory for convenience. Make it in the build tree
30669 # simply because there is no reason against having it here, and in addition,
30670 # creating and moving files from /tmp can sometimes cause problems.
30671 # Hook for its removal unless debugging.
30672 # Note that there is a small window in which the directory will not be cleaned:
30673 # after its creation but before its name has been assigned to '$tmp'.
30674 $debug ||
30675 {
30676 tmp= ac_tmp=
30677 trap 'exit_status=$?
30678 : "${ac_tmp:=$tmp}"
30679 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
30680 ' 0
30681 trap 'as_fn_exit 1' 1 2 13 15
30682 }
30683 # Create a (secure) tmp directory for tmp files.
30684
30685 {
30686 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30687 test -d "$tmp"
30688 } ||
30689 {
30690 tmp=./conf$$-$RANDOM
30691 (umask 077 && mkdir "$tmp")
30692 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
30693 ac_tmp=$tmp
30694
30695 # Set up the scripts for CONFIG_FILES section.
30696 # No need to generate them if there are no CONFIG_FILES.
30697 # This happens for instance with './config.status config.h'.
30698 if test -n "$CONFIG_FILES"; then
30699
30700 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
30701 ac_cs_awk_getline=:
30702 ac_cs_awk_pipe_init=
30703 ac_cs_awk_read_file='
30704 while ((getline aline < (F[key])) > 0)
30705 print(aline)
30706 close(F[key])'
30707 ac_cs_awk_pipe_fini=
30708 else
30709 ac_cs_awk_getline=false
30710 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
30711 ac_cs_awk_read_file='
30712 print "|#_!!_#|"
30713 print "cat " F[key] " &&"
30714 '$ac_cs_awk_pipe_init
30715 # The final ':' finishes the AND list.
30716 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
30717 fi
30718 ac_cr=`echo X | tr X '\015'`
30719 # On cygwin, bash can eat \r inside `` if the user requested igncr.
30720 # But we know of no other shell where ac_cr would be empty at this
30721 # point, so we can use a bashism as a fallback.
30722 if test "x$ac_cr" = x; then
30723 eval ac_cr=\$\'\\r\'
30724 fi
30725 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
30726 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
30727 ac_cs_awk_cr='\\r'
30728 else
30729 ac_cs_awk_cr=$ac_cr
30730 fi
30731
30732 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
30733 _ACEOF
30734
30735 # Create commands to substitute file output variables.
30736 {
30737 echo 'cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1' &&
30738 printf '%s\n' 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
30739 printf '%s\n' "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
30740 echo "_ACAWK" &&
30741 echo "_ACEOF"
30742 } >conf$$files.sh &&
30743 . ./conf$$files.sh ||
30744 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30745 rm -f conf$$files.sh
30746
30747 {
30748 echo "cat >conf$$subs.awk <<_ACEOF" &&
30749 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
30750 echo "_ACEOF"
30751 } >conf$$subs.sh ||
30752 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30753 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
30754 ac_delim='%!_!# '
30755 for ac_last_try in false false false false false :; do
30756 . ./conf$$subs.sh ||
30757 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30758
30759 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
30760 if test $ac_delim_n = $ac_delim_num; then
30761 break
30762 elif $ac_last_try; then
30763 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30764 else
30765 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30766 fi
30767 done
30768 rm -f conf$$subs.sh
30769
30770 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
30771 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
30772 _ACEOF
30773 sed -n '
30774 h
30775 s/^/S["/; s/!.*/"]=/
30776 p
30777 g
30778 s/^[^!]*!//
30779 :repl
30780 t repl
30781 s/'"$ac_delim"'$//
30782 t delim
30783 :nl
30784 h
30785 s/\(.\{148\}\)..*/\1/
30786 t more1
30787 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
30788 p
30789 n
30790 b repl
30791 :more1
30792 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30793 p
30794 g
30795 s/.\{148\}//
30796 t nl
30797 :delim
30798 h
30799 s/\(.\{148\}\)..*/\1/
30800 t more2
30801 s/["\\]/\\&/g; s/^/"/; s/$/"/
30802 p
30803 b
30804 :more2
30805 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30806 p
30807 g
30808 s/.\{148\}//
30809 t delim
30810 ' <conf$$subs.awk | sed '
30811 /^[^""]/{
30812 N
30813 s/\n//
30814 }
30815 ' >>"$CONFIG_STATUS" || ac_write_fail=1
30816 rm -f conf$$subs.awk
30817 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
30818 _ACAWK
30819 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
30820 for (key in S) S_is_set[key] = 1
30821 FS = ""
30822 \$ac_cs_awk_pipe_init
30823 }
30824 {
30825 line = $ 0
30826 nfields = split(line, field, "@")
30827 substed = 0
30828 len = length(field[1])
30829 for (i = 2; i < nfields; i++) {
30830 key = field[i]
30831 keylen = length(key)
30832 if (S_is_set[key]) {
30833 value = S[key]
30834 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
30835 len += length(value) + length(field[++i])
30836 substed = 1
30837 } else
30838 len += 1 + keylen
30839 }
30840 if (nfields == 3 && !substed) {
30841 key = field[2]
30842 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
30843 \$ac_cs_awk_read_file
30844 next
30845 }
30846 }
30847 print line
30848 }
30849 \$ac_cs_awk_pipe_fini
30850 _ACAWK
30851 _ACEOF
30852 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
30853 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
30854 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
30855 else
30856 cat
30857 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
30858 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
30859 _ACEOF
30860
30861 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
30862 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
30863 # trailing colons and then remove the whole line if VPATH becomes empty
30864 # (actually we leave an empty line to preserve line numbers).
30865 if test "x$srcdir" = x.; then
30866 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
30867 h
30868 s///
30869 s/^/:/
30870 s/[ ]*$/:/
30871 s/:\$(srcdir):/:/g
30872 s/:\${srcdir}:/:/g
30873 s/:@srcdir@:/:/g
30874 s/^:*//
30875 s/:*$//
30876 x
30877 s/\(=[ ]*\).*/\1/
30878 G
30879 s/\n//
30880 s/^[^=]*=[ ]*$//
30881 }'
30882 fi
30883
30884 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
30885 fi # test -n "$CONFIG_FILES"
30886
30887 # Set up the scripts for CONFIG_HEADERS section.
30888 # No need to generate them if there are no CONFIG_HEADERS.
30889 # This happens for instance with './config.status Makefile'.
30890 if test -n "$CONFIG_HEADERS"; then
30891 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
30892 BEGIN {
30893 _ACEOF
30894
30895 # Transform confdefs.h into an awk script 'defines.awk', embedded as
30896 # here-document in config.status, that substitutes the proper values into
30897 # config.h.in to produce config.h.
30898
30899 # Create a delimiter string that does not exist in confdefs.h, to ease
30900 # handling of long lines.
30901 ac_delim='%!_!# '
30902 for ac_last_try in false false :; do
30903 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
30904 if test -z "$ac_tt"; then
30905 break
30906 elif $ac_last_try; then
30907 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
30908 else
30909 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30910 fi
30911 done
30912
30913 # For the awk script, D is an array of macro values keyed by name,
30914 # likewise P contains macro parameters if any. Preserve backslash
30915 # newline sequences.
30916
30917 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30918 sed -n '
30919 s/.\{148\}/&'"$ac_delim"'/g
30920 t rset
30921 :rset
30922 s/^[ ]*#[ ]*define[ ][ ]*/ /
30923 t def
30924 d
30925 :def
30926 s/\\$//
30927 t bsnl
30928 s/["\\]/\\&/g
30929 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
30930 D["\1"]=" \3"/p
30931 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
30932 d
30933 :bsnl
30934 s/["\\]/\\&/g
30935 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
30936 D["\1"]=" \3\\\\\\n"\\/p
30937 t cont
30938 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
30939 t cont
30940 d
30941 :cont
30942 n
30943 s/.\{148\}/&'"$ac_delim"'/g
30944 t clear
30945 :clear
30946 s/\\$//
30947 t bsnlc
30948 s/["\\]/\\&/g; s/^/"/; s/$/"/p
30949 d
30950 :bsnlc
30951 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
30952 b cont
30953 ' <confdefs.h | sed '
30954 s/'"$ac_delim"'/"\\\
30955 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
30956
30957 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
30958 for (key in D) D_is_set[key] = 1
30959 FS = ""
30960 }
30961 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
30962 line = \$ 0
30963 split(line, arg, " ")
30964 if (arg[1] == "#") {
30965 defundef = arg[2]
30966 mac1 = arg[3]
30967 } else {
30968 defundef = substr(arg[1], 2)
30969 mac1 = arg[2]
30970 }
30971 split(mac1, mac2, "(") #)
30972 macro = mac2[1]
30973 prefix = substr(line, 1, index(line, defundef) - 1)
30974 if (D_is_set[macro]) {
30975 suffix = P[macro] D[macro]
30976 while (suffix ~ /[\t ]$/) {
30977 suffix = substr(suffix, 1, length(suffix) - 1)
30978 }
30979 # Preserve the white space surrounding the "#".
30980 print prefix "define", macro suffix
30981 next
30982 } else {
30983 # Replace #undef with comments. This is necessary, for example,
30984 # in the case of _POSIX_SOURCE, which is predefined and required
30985 # on some systems where configure will not decide to define it.
30986 if (defundef == "undef") {
30987 print "/*", prefix defundef, macro, "*/"
30988 next
30989 }
30990 }
30991 }
30992 { print }
30993 _ACAWK
30994 _ACEOF
30995 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
30996 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
30997 fi # test -n "$CONFIG_HEADERS"
30998
30999
31000 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
31001 shift
31002 for ac_tag
31003 do
31004 case $ac_tag in
31005 :[FHLC]) ac_mode=$ac_tag; continue;;
31006 esac
31007 case $ac_mode$ac_tag in
31008 :[FHL]*:*);;
31009 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
31010 :[FH]-) ac_tag=-:-;;
31011 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
31012 esac
31013 ac_save_IFS=$IFS
31014 IFS=:
31015 set x $ac_tag
31016 IFS=$ac_save_IFS
31017 shift
31018 ac_file=$1
31019 shift
31020
31021 case $ac_mode in
31022 :L) ac_source=$1;;
31023 :[FH])
31024 ac_file_inputs=
31025 for ac_f
31026 do
31027 case $ac_f in
31028 -) ac_f="$ac_tmp/stdin";;
31029 *) # Look for the file first in the build tree, then in the source tree
31030 # (if the path is not absolute). The absolute path cannot be DOS-style,
31031 # because $ac_f cannot contain ':'.
31032 test -f "$ac_f" ||
31033 case $ac_f in
31034 [\\/$]*) false;;
31035 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
31036 esac ||
31037 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
31038 esac
31039 case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31040 as_fn_append ac_file_inputs " '$ac_f'"
31041 done
31042
31043 # Let's still pretend it is 'configure' which instantiates (i.e., don't
31044 # use $as_me), people would be surprised to read:
31045 # /* config.h. Generated by config.status. */
31046 configure_input='Generated from '`
31047 printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31048 `' by configure.'
31049 if test x"$ac_file" != x-; then
31050 configure_input="$ac_file. $configure_input"
31051 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
31052 printf '%s\n' "$as_me: creating $ac_file" >&6;}
31053 fi
31054 # Neutralize special characters interpreted by sed in replacement strings.
31055 case $configure_input in #(
31056 *\&* | *\|* | *\\* )
31057 ac_sed_conf_input=`printf '%s\n' "$configure_input" |
31058 sed 's/[\\\\&|]/\\\\&/g'`;; #(
31059 *) ac_sed_conf_input=$configure_input;;
31060 esac
31061
31062 case $ac_tag in
31063 *:-:* | *:-) cat >"$ac_tmp/stdin" \
31064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
31065 esac
31066 ;;
31067 esac
31068
31069 ac_dir=`$as_dirname -- "$ac_file" ||
31070 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31071 X"$ac_file" : 'X\(//\)[^/]' \| \
31072 X"$ac_file" : 'X\(//\)$' \| \
31073 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31074 printf '%s\n' X"$ac_file" |
31075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31076 s//\1/
31077 q
31078 }
31079 /^X\(\/\/\)[^/].*/{
31080 s//\1/
31081 q
31082 }
31083 /^X\(\/\/\)$/{
31084 s//\1/
31085 q
31086 }
31087 /^X\(\/\).*/{
31088 s//\1/
31089 q
31090 }
31091 s/.*/./; q'`
31092 as_dir="$ac_dir"; as_fn_mkdir_p
31093 ac_builddir=.
31094
31095 case "$ac_dir" in
31096 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
31097 *)
31098 ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
31099 # A ".." for each directory in $ac_dir_suffix.
31100 ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
31101 case $ac_top_builddir_sub in
31102 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
31103 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
31104 esac ;;
31105 esac
31106 ac_abs_top_builddir=$ac_pwd
31107 ac_abs_builddir=$ac_pwd$ac_dir_suffix
31108 # for backward compatibility:
31109 ac_top_builddir=$ac_top_build_prefix
31110
31111 case $srcdir in
31112 .) # We are building in place.
31113 ac_srcdir=.
31114 ac_top_srcdir=$ac_top_builddir_sub
31115 ac_abs_top_srcdir=$ac_pwd ;;
31116 [\\/]* | ?:[\\/]* ) # Absolute name.
31117 ac_srcdir=$srcdir$ac_dir_suffix;
31118 ac_top_srcdir=$srcdir
31119 ac_abs_top_srcdir=$srcdir ;;
31120 *) # Relative name.
31121 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
31122 ac_top_srcdir=$ac_top_build_prefix$srcdir
31123 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
31124 esac
31125 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
31126
31127
31128 case $ac_mode in
31129 :F)
31130 #
31131 # CONFIG_FILE
31132 #
31133
31134 case $INSTALL in
31135 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
31136 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
31137 esac
31138 ac_MKDIR_P=$MKDIR_P
31139 case $MKDIR_P in
31140 [\\/$]* | ?:[\\/]* ) ;;
31141 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
31142 esac
31143 _ACEOF
31144
31145 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
31146 # If the template does not know about datarootdir, expand it.
31147 # FIXME: This hack should be removed a few years after 2.60.
31148 ac_datarootdir_hack=; ac_datarootdir_seen=
31149 ac_sed_dataroot='
31150 /datarootdir/ {
31151 p
31152 q
31153 }
31154 /@datadir@/p
31155 /@docdir@/p
31156 /@infodir@/p
31157 /@localedir@/p
31158 /@mandir@/p'
31159 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
31160 *datarootdir*) ac_datarootdir_seen=yes;;
31161 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
31162 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
31163 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
31164 _ACEOF
31165 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
31166 ac_datarootdir_hack='
31167 s&@datadir@&$datadir&g
31168 s&@docdir@&$docdir&g
31169 s&@infodir@&$infodir&g
31170 s&@localedir@&$localedir&g
31171 s&@mandir@&$mandir&g
31172 s&\\\${datarootdir}&$datarootdir&g' ;;
31173 esac
31174 _ACEOF
31175
31176 # Neutralize VPATH when '$srcdir' = '.'.
31177 # Shell code in configure.ac might set extrasub.
31178 # FIXME: do we really want to maintain this feature?
31179 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
31180 ac_sed_extra="$ac_vpsub
31181 $extrasub
31182 _ACEOF
31183 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
31184 :t
31185 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31186 s|@configure_input@|$ac_sed_conf_input|;t t
31187 s&@top_builddir@&$ac_top_builddir_sub&;t t
31188 s&@top_build_prefix@&$ac_top_build_prefix&;t t
31189 s&@srcdir@&$ac_srcdir&;t t
31190 s&@abs_srcdir@&$ac_abs_srcdir&;t t
31191 s&@top_srcdir@&$ac_top_srcdir&;t t
31192 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
31193 s&@builddir@&$ac_builddir&;t t
31194 s&@abs_builddir@&$ac_abs_builddir&;t t
31195 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
31196 s&@INSTALL@&$ac_INSTALL&;t t
31197 s&@MKDIR_P@&$ac_MKDIR_P&;t t
31198 $ac_datarootdir_hack
31199 "
31200 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
31201 if $ac_cs_awk_getline; then
31202 $AWK -f "$ac_tmp/subs.awk"
31203 else
31204 $AWK -f "$ac_tmp/subs.awk" | $SHELL
31205 fi \
31206 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31207
31208 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
31209 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
31210 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
31211 "$ac_tmp/out"`; test -z "$ac_out"; } &&
31212 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
31213 which seems to be undefined. Please make sure it is defined" >&5
31214 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
31215 which seems to be undefined. Please make sure it is defined" >&2;}
31216
31217 rm -f "$ac_tmp/stdin"
31218 case $ac_file in
31219 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
31220 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
31221 esac \
31222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31223 ;;
31224 :H)
31225 #
31226 # CONFIG_HEADER
31227 #
31228 if test x"$ac_file" != x-; then
31229 {
31230 printf '%s\n' "/* $configure_input */" >&1 \
31231 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
31232 } >"$ac_tmp/config.h" \
31233 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31234 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
31235 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
31236 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
31237 else
31238 rm -f "$ac_file"
31239 mv "$ac_tmp/config.h" "$ac_file" \
31240 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31241 fi
31242 else
31243 printf '%s\n' "/* $configure_input */" >&1 \
31244 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
31245 || as_fn_error $? "could not create -" "$LINENO" 5
31246 fi
31247 # Compute "$ac_file"'s index in $config_headers.
31248 _am_arg="$ac_file"
31249 _am_stamp_count=1
31250 for _am_header in $config_headers :; do
31251 case $_am_header in
31252 $_am_arg | $_am_arg:* )
31253 break ;;
31254 * )
31255 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
31256 esac
31257 done
31258 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
31259 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31260 X"$_am_arg" : 'X\(//\)[^/]' \| \
31261 X"$_am_arg" : 'X\(//\)$' \| \
31262 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
31263 printf '%s\n' X"$_am_arg" |
31264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31265 s//\1/
31266 q
31267 }
31268 /^X\(\/\/\)[^/].*/{
31269 s//\1/
31270 q
31271 }
31272 /^X\(\/\/\)$/{
31273 s//\1/
31274 q
31275 }
31276 /^X\(\/\).*/{
31277 s//\1/
31278 q
31279 }
31280 s/.*/./; q'`/stamp-h$_am_stamp_count
31281 ;;
31282
31283 :C) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
31284 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
31285 ;;
31286 esac
31287
31288
31289 case $ac_file$ac_mode in
31290 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
31291 # Older Autoconf quotes --file arguments for eval, but not when files
31292 # are listed without --file. Let's play safe and only enable the eval
31293 # if we detect the quoting.
31294 # TODO: see whether this extra hack can be removed once we start
31295 # requiring Autoconf 2.70 or later.
31296 case $CONFIG_FILES in #(
31297 *\'*) :
31298 eval set x "$CONFIG_FILES" ;; #(
31299 *) :
31300 set x $CONFIG_FILES ;; #(
31301 *) :
31302 ;;
31303 esac
31304 shift
31305 # Used to flag and report bootstrapping failures.
31306 am_rc=0
31307 for am_mf
31308 do
31309 # Strip MF so we end up with the name of the file.
31310 am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
31311 # Check whether this is an Automake generated Makefile which includes
31312 # dependency-tracking related rules and includes.
31313 # Grep'ing the whole file directly is not great: AIX grep has a line
31314 # limit of 2048, but all sed's we know have understand at least 4000.
31315 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
31316 || continue
31317 am_dirpart=`$as_dirname -- "$am_mf" ||
31318 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31319 X"$am_mf" : 'X\(//\)[^/]' \| \
31320 X"$am_mf" : 'X\(//\)$' \| \
31321 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
31322 printf '%s\n' X"$am_mf" |
31323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31324 s//\1/
31325 q
31326 }
31327 /^X\(\/\/\)[^/].*/{
31328 s//\1/
31329 q
31330 }
31331 /^X\(\/\/\)$/{
31332 s//\1/
31333 q
31334 }
31335 /^X\(\/\).*/{
31336 s//\1/
31337 q
31338 }
31339 s/.*/./; q'`
31340 am_filepart=`$as_basename -- "$am_mf" ||
31341 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
31342 X"$am_mf" : 'X\(//\)$' \| \
31343 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
31344 printf '%s\n' X/"$am_mf" |
31345 sed '/^.*\/\([^/][^/]*\)\/*$/{
31346 s//\1/
31347 q
31348 }
31349 /^X\/\(\/\/\)$/{
31350 s//\1/
31351 q
31352 }
31353 /^X\/\(\/\).*/{
31354 s//\1/
31355 q
31356 }
31357 s/.*/./; q'`
31358 { echo "$as_me:$LINENO: cd "$am_dirpart" \
31359 && sed -e '/# am--include-marker/d' "$am_filepart" \
31360 | $MAKE -f - am--depfiles" >&5
31361 (cd "$am_dirpart" \
31362 && sed -e '/# am--include-marker/d' "$am_filepart" \
31363 | $MAKE -f - am--depfiles) >&5 2>&5
31364 ac_status=$?
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } || am_rc=$?
31367 done
31368 if test $am_rc -ne 0; then
31369 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
31370 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
31371 as_fn_error $? "Something went wrong bootstrapping makefile fragments
31372 for automatic dependency tracking. If GNU make was not used, consider
31373 re-running the configure script with MAKE=\"gmake\" (or whatever is
31374 necessary). You can also try re-running configure with the
31375 '--disable-dependency-tracking' option to at least be able to build
31376 the package (albeit without support for automatic dependency tracking).
31377 See 'config.log' for more details" "$LINENO" 5; }
31378 fi
31379 { am_dirpart=; unset am_dirpart;}
31380 { am_filepart=; unset am_filepart;}
31381 { am_mf=; unset am_mf;}
31382 { am_rc=; unset am_rc;}
31383 rm -f conftest-deps.mk
31384 }
31385 ;;
31386 "po-directories":C)
31387 for ac_file in $CONFIG_FILES; do
31388 # Support "outfile[:infile[:infile...]]"
31389 case "$ac_file" in
31390 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
31391 esac
31392 # PO directories have a Makefile.in generated from Makefile.in.in.
31393 case "$ac_file" in */Makefile.in)
31394 # Adjust a relative srcdir.
31395 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
31396 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
31397 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
31398 # In autoconf-2.13 it is called $ac_given_srcdir.
31399 # In autoconf-2.50 it is called $srcdir.
31400 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
31401 case "$ac_given_srcdir" in
31402 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
31403 /*) top_srcdir="$ac_given_srcdir" ;;
31404 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
31405 esac
31406 # Treat a directory as a PO directory if and only if it has a
31407 # POTFILES.in file. This allows packages to have multiple PO
31408 # directories under different names or in different locations.
31409 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
31410 rm -f "$ac_dir/POTFILES"
31411 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
31412 gt_tab=`printf '\t'`
31413 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
31414 POMAKEFILEDEPS="POTFILES.in"
31415 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
31416 # on $ac_dir but don't depend on user-specified configuration
31417 # parameters.
31418 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
31419 # The LINGUAS file contains the set of available languages.
31420 if test -n "$OBSOLETE_ALL_LINGUAS"; then
31421 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
31422 fi
31423 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
31424 # Hide the ALL_LINGUAS assignment from automake < 1.5.
31425 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
31426 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
31427 else
31428 # The set of available languages was given in configure.in.
31429 # Hide the ALL_LINGUAS assignment from automake < 1.5.
31430 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
31431 fi
31432 # Compute POFILES
31433 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
31434 # Compute UPDATEPOFILES
31435 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
31436 # Compute DUMMYPOFILES
31437 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
31438 # Compute GMOFILES
31439 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
31440 case "$ac_given_srcdir" in
31441 .) srcdirpre= ;;
31442 *) srcdirpre='$(srcdir)/' ;;
31443 esac
31444 POFILES=
31445 UPDATEPOFILES=
31446 DUMMYPOFILES=
31447 GMOFILES=
31448 for lang in $ALL_LINGUAS; do
31449 POFILES="$POFILES $srcdirpre$lang.po"
31450 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
31451 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
31452 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
31453 done
31454 # CATALOGS depends on both $ac_dir and the user's LINGUAS
31455 # environment variable.
31456 INST_LINGUAS=
31457 if test -n "$ALL_LINGUAS"; then
31458 for presentlang in $ALL_LINGUAS; do
31459 useit=no
31460 if test "%UNSET%" != "$LINGUAS"; then
31461 desiredlanguages="$LINGUAS"
31462 else
31463 desiredlanguages="$ALL_LINGUAS"
31464 fi
31465 for desiredlang in $desiredlanguages; do
31466 # Use the presentlang catalog if desiredlang is
31467 # a. equal to presentlang, or
31468 # b. a variant of presentlang (because in this case,
31469 # presentlang can be used as a fallback for messages
31470 # which are not translated in the desiredlang catalog).
31471 case "$desiredlang" in
31472 "$presentlang"*) useit=yes;;
31473 esac
31474 done
31475 if test $useit = yes; then
31476 INST_LINGUAS="$INST_LINGUAS $presentlang"
31477 fi
31478 done
31479 fi
31480 CATALOGS=
31481 if test -n "$INST_LINGUAS"; then
31482 for lang in $INST_LINGUAS; do
31483 CATALOGS="$CATALOGS $lang.gmo"
31484 done
31485 fi
31486 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
31487 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
31488 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
31489 if test -f "$f"; then
31490 case "$f" in
31491 *.orig | *.bak | *~) ;;
31492 *) cat "$f" >> "$ac_dir/Makefile" ;;
31493 esac
31494 fi
31495 done
31496 fi
31497 ;;
31498 esac
31499 done ;;
31500 "libtool":C)
31501
31502 # See if we are running on zsh, and set the options that allow our
31503 # commands through without removal of \ escapes.
31504 if test -n "${ZSH_VERSION+set}"; then
31505 setopt NO_GLOB_SUBST
31506 fi
31507
31508 cfgfile=${ofile}T
31509 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
31510 $RM "$cfgfile"
31511
31512 cat <<_LT_EOF >> "$cfgfile"
31513 #! $SHELL
31514 # Generated automatically by $as_me ($PACKAGE) $VERSION
31515 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
31516
31517 # Provide generalized library-building support services.
31518 # Written by Gordon Matzigkeit, 1996
31519
31520 # Copyright (C) 2024 Free Software Foundation, Inc.
31521 # This is free software; see the source for copying conditions. There is NO
31522 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
31523
31524 # GNU Libtool is free software; you can redistribute it and/or modify
31525 # it under the terms of the GNU General Public License as published by
31526 # the Free Software Foundation; either version 2 of the License, or
31527 # (at your option) any later version.
31528 #
31529 # As a special exception to the GNU General Public License, if you
31530 # distribute this file as part of a program or library that is built
31531 # using GNU Libtool, you may include this file under the same
31532 # distribution terms that you use for the rest of that program.
31533 #
31534 # GNU Libtool is distributed in the hope that it will be useful, but
31535 # WITHOUT ANY WARRANTY; without even the implied warranty of
31536 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31537 # GNU General Public License for more details.
31538 #
31539 # You should have received a copy of the GNU General Public License
31540 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31541
31542
31543 # The names of the tagged configurations supported by this script.
31544 available_tags='CXX '
31545
31546 # Configured defaults for sys_lib_dlsearch_path munging.
31547 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
31548
31549 # ### BEGIN LIBTOOL CONFIG
31550
31551 # Which release of libtool.m4 was used?
31552 macro_version=$macro_version
31553 macro_revision=$macro_revision
31554
31555 # Assembler program.
31556 AS=$lt_AS
31557
31558 # DLL creation program.
31559 DLLTOOL=$lt_DLLTOOL
31560
31561 # Object dumper program.
31562 OBJDUMP=$lt_OBJDUMP
31563
31564 # Whether or not to build shared libraries.
31565 build_libtool_libs=$enable_shared
31566
31567 # Whether or not to build static libraries.
31568 build_old_libs=$enable_static
31569
31570 # What type of objects to build.
31571 pic_mode=$pic_mode
31572
31573 # Whether or not to optimize for fast installation.
31574 fast_install=$enable_fast_install
31575
31576 # Shared archive member basename,for filename based shared library versioning on AIX.
31577 shared_archive_member_spec=$shared_archive_member_spec
31578
31579 # Shell to use when invoking shell scripts.
31580 SHELL=$lt_SHELL
31581
31582 # An echo program that protects backslashes.
31583 ECHO=$lt_ECHO
31584
31585 # The PATH separator for the build system.
31586 PATH_SEPARATOR=$lt_PATH_SEPARATOR
31587
31588 # The host system.
31589 host_alias=$host_alias
31590 host=$host
31591 host_os=$host_os
31592
31593 # The build system.
31594 build_alias=$build_alias
31595 build=$build
31596 build_os=$build_os
31597
31598 # A sed program that does not truncate output.
31599 SED=$lt_SED
31600
31601 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
31602 Xsed="\$SED -e 1s/^X//"
31603
31604 # A grep program that handles long lines.
31605 GREP=$lt_GREP
31606
31607 # An ERE matcher.
31608 EGREP=$lt_EGREP
31609
31610 # A literal string matcher.
31611 FGREP=$lt_FGREP
31612
31613 # A BSD- or MS-compatible name lister.
31614 NM=$lt_NM
31615
31616 # Whether we need soft or hard links.
31617 LN_S=$lt_LN_S
31618
31619 # What is the maximum length of a command?
31620 max_cmd_len=$max_cmd_len
31621
31622 # Object file suffix (normally "o").
31623 objext=$ac_objext
31624
31625 # Executable file suffix (normally "").
31626 exeext=$exeext
31627
31628 # whether the shell understands "unset".
31629 lt_unset=$lt_unset
31630
31631 # turn spaces into newlines.
31632 SP2NL=$lt_lt_SP2NL
31633
31634 # turn newlines into spaces.
31635 NL2SP=$lt_lt_NL2SP
31636
31637 # convert \$build file names to \$host format.
31638 to_host_file_cmd=$lt_cv_to_host_file_cmd
31639
31640 # convert \$build files to toolchain format.
31641 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
31642
31643 # A file(cmd) program that detects file types.
31644 FILECMD=$lt_FILECMD
31645
31646 # Method to check whether dependent libraries are shared objects.
31647 deplibs_check_method=$lt_deplibs_check_method
31648
31649 # Command to use when deplibs_check_method = "file_magic".
31650 file_magic_cmd=$lt_file_magic_cmd
31651
31652 # How to find potential files when deplibs_check_method = "file_magic".
31653 file_magic_glob=$lt_file_magic_glob
31654
31655 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
31656 want_nocaseglob=$lt_want_nocaseglob
31657
31658 # Command to associate shared and link libraries.
31659 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
31660
31661 # The archiver.
31662 AR=$lt_AR
31663
31664 # Flags to create an archive (by configure).
31665 lt_ar_flags=$lt_ar_flags
31666
31667 # Flags to create an archive.
31668 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
31669
31670 # How to feed a file listing to the archiver.
31671 archiver_list_spec=$lt_archiver_list_spec
31672
31673 # A symbol stripping program.
31674 STRIP=$lt_STRIP
31675
31676 # Commands used to install an old-style archive.
31677 RANLIB=$lt_RANLIB
31678 old_postinstall_cmds=$lt_old_postinstall_cmds
31679 old_postuninstall_cmds=$lt_old_postuninstall_cmds
31680
31681 # Whether to use a lock for old archive extraction.
31682 lock_old_archive_extraction=$lock_old_archive_extraction
31683
31684 # A C compiler.
31685 LTCC=$lt_CC
31686
31687 # LTCC compiler flags.
31688 LTCFLAGS=$lt_CFLAGS
31689
31690 # Take the output of nm and produce a listing of raw symbols and C names.
31691 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
31692
31693 # Transform the output of nm in a proper C declaration.
31694 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
31695
31696 # Transform the output of nm into a list of symbols to manually relocate.
31697 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
31698
31699 # Transform the output of nm in a C name address pair.
31700 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
31701
31702 # Transform the output of nm in a C name address pair when lib prefix is needed.
31703 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
31704
31705 # The name lister interface.
31706 nm_interface=$lt_lt_cv_nm_interface
31707
31708 # Specify filename containing input files for \$NM.
31709 nm_file_list_spec=$lt_nm_file_list_spec
31710
31711 # The root where to search for dependent libraries,and where our libraries should be installed.
31712 lt_sysroot=$lt_sysroot
31713
31714 # Command to truncate a binary pipe.
31715 lt_truncate_bin=$lt_lt_cv_truncate_bin
31716
31717 # The name of the directory that contains temporary libtool files.
31718 objdir=$objdir
31719
31720 # Used to examine libraries when file_magic_cmd begins with "file".
31721 MAGIC_CMD=$MAGIC_CMD
31722
31723 # Must we lock files when doing compilation?
31724 need_locks=$lt_need_locks
31725
31726 # Manifest tool.
31727 MANIFEST_TOOL=$lt_MANIFEST_TOOL
31728
31729 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
31730 DSYMUTIL=$lt_DSYMUTIL
31731
31732 # Tool to change global to local symbols on Mac OS X.
31733 NMEDIT=$lt_NMEDIT
31734
31735 # Tool to manipulate fat objects and archives on Mac OS X.
31736 LIPO=$lt_LIPO
31737
31738 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
31739 OTOOL=$lt_OTOOL
31740
31741 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
31742 OTOOL64=$lt_OTOOL64
31743
31744 # Old archive suffix (normally "a").
31745 libext=$libext
31746
31747 # Shared library suffix (normally ".so").
31748 shrext_cmds=$lt_shrext_cmds
31749
31750 # The commands to extract the exported symbol list from a shared archive.
31751 extract_expsyms_cmds=$lt_extract_expsyms_cmds
31752
31753 # Variables whose values should be saved in libtool wrapper scripts and
31754 # restored at link time.
31755 variables_saved_for_relink=$lt_variables_saved_for_relink
31756
31757 # Do we need the "lib" prefix for modules?
31758 need_lib_prefix=$need_lib_prefix
31759
31760 # Do we need a version for libraries?
31761 need_version=$need_version
31762
31763 # Library versioning type.
31764 version_type=$version_type
31765
31766 # Shared library runtime path variable.
31767 runpath_var=$runpath_var
31768
31769 # Shared library path variable.
31770 shlibpath_var=$shlibpath_var
31771
31772 # Is shlibpath searched before the hard-coded library search path?
31773 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
31774
31775 # Format of library name prefix.
31776 libname_spec=$lt_libname_spec
31777
31778 # List of archive names. First name is the real one, the rest are links.
31779 # The last name is the one that the linker finds with -lNAME
31780 library_names_spec=$lt_library_names_spec
31781
31782 # The coded name of the library, if different from the real name.
31783 soname_spec=$lt_soname_spec
31784
31785 # Permission mode override for installation of shared libraries.
31786 install_override_mode=$lt_install_override_mode
31787
31788 # Command to use after installation of a shared archive.
31789 postinstall_cmds=$lt_postinstall_cmds
31790
31791 # Command to use after uninstallation of a shared archive.
31792 postuninstall_cmds=$lt_postuninstall_cmds
31793
31794 # Commands used to finish a libtool library installation in a directory.
31795 finish_cmds=$lt_finish_cmds
31796
31797 # As "finish_cmds", except a single script fragment to be evaled but
31798 # not shown.
31799 finish_eval=$lt_finish_eval
31800
31801 # Whether we should hardcode library paths into libraries.
31802 hardcode_into_libs=$hardcode_into_libs
31803
31804 # Compile-time system search path for libraries.
31805 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
31806
31807 # Detected run-time system search path for libraries.
31808 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
31809
31810 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
31811 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
31812
31813 # Whether dlopen is supported.
31814 dlopen_support=$enable_dlopen
31815
31816 # Whether dlopen of programs is supported.
31817 dlopen_self=$enable_dlopen_self
31818
31819 # Whether dlopen of statically linked programs is supported.
31820 dlopen_self_static=$enable_dlopen_self_static
31821
31822 # Commands to strip libraries.
31823 old_striplib=$lt_old_striplib
31824 striplib=$lt_striplib
31825
31826
31827 # The linker used to build libraries.
31828 LD=$lt_LD
31829
31830 # How to create reloadable object files.
31831 reload_flag=$lt_reload_flag
31832 reload_cmds=$lt_reload_cmds
31833
31834 # Commands used to build an old-style archive.
31835 old_archive_cmds=$lt_old_archive_cmds
31836
31837 # A language specific compiler.
31838 CC=$lt_compiler
31839
31840 # Is the compiler the GNU compiler?
31841 with_gcc=$GCC
31842
31843 # Compiler flag to turn off builtin functions.
31844 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
31845
31846 # Additional compiler flags for building library objects.
31847 pic_flag=$lt_lt_prog_compiler_pic
31848
31849 # How to pass a linker flag through the compiler.
31850 wl=$lt_lt_prog_compiler_wl
31851
31852 # Compiler flag to prevent dynamic linking.
31853 link_static_flag=$lt_lt_prog_compiler_static
31854
31855 # Does compiler simultaneously support -c and -o options?
31856 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
31857
31858 # Whether or not to add -lc for building shared libraries.
31859 build_libtool_need_lc=$archive_cmds_need_lc
31860
31861 # Whether or not to disallow shared libs when runtime libs are static.
31862 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
31863
31864 # Compiler flag to allow reflexive dlopens.
31865 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
31866
31867 # Compiler flag to generate shared objects directly from archives.
31868 whole_archive_flag_spec=$lt_whole_archive_flag_spec
31869
31870 # Whether the compiler copes with passing no objects directly.
31871 compiler_needs_object=$lt_compiler_needs_object
31872
31873 # Create an old-style archive from a shared archive.
31874 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
31875
31876 # Create a temporary old-style archive to link instead of a shared archive.
31877 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
31878
31879 # Commands used to build a shared archive.
31880 archive_cmds=$lt_archive_cmds
31881 archive_expsym_cmds=$lt_archive_expsym_cmds
31882
31883 # Commands used to build a loadable module if different from building
31884 # a shared archive.
31885 module_cmds=$lt_module_cmds
31886 module_expsym_cmds=$lt_module_expsym_cmds
31887
31888 # Whether we are building with GNU ld or not.
31889 with_gnu_ld=$lt_with_gnu_ld
31890
31891 # Flag that allows shared libraries with undefined symbols to be built.
31892 allow_undefined_flag=$lt_allow_undefined_flag
31893
31894 # Flag that enforces no undefined symbols.
31895 no_undefined_flag=$lt_no_undefined_flag
31896
31897 # Flag to hardcode \$libdir into a binary during linking.
31898 # This must work even if \$libdir does not exist
31899 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
31900
31901 # Whether we need a single "-rpath" flag with a separated argument.
31902 hardcode_libdir_separator=$lt_hardcode_libdir_separator
31903
31904 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
31905 # DIR into the resulting binary.
31906 hardcode_direct=$hardcode_direct
31907
31908 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
31909 # DIR into the resulting binary and the resulting library dependency is
31910 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
31911 # library is relocated.
31912 hardcode_direct_absolute=$hardcode_direct_absolute
31913
31914 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31915 # into the resulting binary.
31916 hardcode_minus_L=$hardcode_minus_L
31917
31918 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31919 # into the resulting binary.
31920 hardcode_shlibpath_var=$hardcode_shlibpath_var
31921
31922 # Set to "yes" if building a shared library automatically hardcodes DIR
31923 # into the library and all subsequent libraries and executables linked
31924 # against it.
31925 hardcode_automatic=$hardcode_automatic
31926
31927 # Set to yes if linker adds runtime paths of dependent libraries
31928 # to runtime path list.
31929 inherit_rpath=$inherit_rpath
31930
31931 # Whether libtool must link a program against all its dependency libraries.
31932 link_all_deplibs=$link_all_deplibs
31933
31934 # Set to "yes" if exported symbols are required.
31935 always_export_symbols=$always_export_symbols
31936
31937 # The commands to list exported symbols.
31938 export_symbols_cmds=$lt_export_symbols_cmds
31939
31940 # Symbols that should not be listed in the preloaded symbols.
31941 exclude_expsyms=$lt_exclude_expsyms
31942
31943 # Symbols that must always be exported.
31944 include_expsyms=$lt_include_expsyms
31945
31946 # Commands necessary for linking programs (against libraries) with templates.
31947 prelink_cmds=$lt_prelink_cmds
31948
31949 # Commands necessary for finishing linking programs.
31950 postlink_cmds=$lt_postlink_cmds
31951
31952 # Specify filename containing input files.
31953 file_list_spec=$lt_file_list_spec
31954
31955 # How to hardcode a shared library path into an executable.
31956 hardcode_action=$hardcode_action
31957
31958 # The directories searched by this compiler when creating a shared library.
31959 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
31960
31961 # Dependencies to place before and after the objects being linked to
31962 # create a shared library.
31963 predep_objects=$lt_predep_objects
31964 postdep_objects=$lt_postdep_objects
31965 predeps=$lt_predeps
31966 postdeps=$lt_postdeps
31967
31968 # The library search path used internally by the compiler when linking
31969 # a shared library.
31970 compiler_lib_search_path=$lt_compiler_lib_search_path
31971
31972 # ### END LIBTOOL CONFIG
31973
31974 _LT_EOF
31975
31976 cat <<'_LT_EOF' >> "$cfgfile"
31977
31978 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
31979
31980 # func_munge_path_list VARIABLE PATH
31981 # -----------------------------------
31982 # VARIABLE is name of variable containing _space_ separated list of
31983 # directories to be munged by the contents of PATH, which is string
31984 # having a format:
31985 # "DIR[:DIR]:"
31986 # string "DIR[ DIR]" will be prepended to VARIABLE
31987 # ":DIR[:DIR]"
31988 # string "DIR[ DIR]" will be appended to VARIABLE
31989 # "DIRP[:DIRP]::[DIRA:]DIRA"
31990 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
31991 # "DIRA[ DIRA]" will be appended to VARIABLE
31992 # "DIR[:DIR]"
31993 # VARIABLE will be replaced by "DIR[ DIR]"
31994 func_munge_path_list ()
31995 {
31996 case x$2 in
31997 x)
31998 ;;
31999 *:)
32000 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
32001 ;;
32002 x:*)
32003 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
32004 ;;
32005 *::*)
32006 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
32007 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
32008 ;;
32009 *)
32010 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
32011 ;;
32012 esac
32013 }
32014
32015
32016 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
32017 func_cc_basename ()
32018 {
32019 for cc_temp in $*""; do
32020 case $cc_temp in
32021 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
32022 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
32023 \-*) ;;
32024 *) break;;
32025 esac
32026 done
32027 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
32028 }
32029
32030
32031 # ### END FUNCTIONS SHARED WITH CONFIGURE
32032
32033 _LT_EOF
32034
32035 case $host_os in
32036 aix3*)
32037 cat <<\_LT_EOF >> "$cfgfile"
32038 # AIX sometimes has problems with the GCC collect2 program. For some
32039 # reason, if we set the COLLECT_NAMES environment variable, the problems
32040 # vanish in a puff of smoke.
32041 if test set != "${COLLECT_NAMES+set}"; then
32042 COLLECT_NAMES=
32043 export COLLECT_NAMES
32044 fi
32045 _LT_EOF
32046 ;;
32047 esac
32048
32049
32050
32051 ltmain=$ac_aux_dir/ltmain.sh
32052
32053
32054 # We use sed instead of cat because bash on DJGPP gets confused if
32055 # if finds mixed CR/LF and LF-only lines. Since sed operates in
32056 # text mode, it properly converts lines to CR/LF. This bash problem
32057 # is reportedly fixed, but why not run on old versions too?
32058 $SED '$q' "$ltmain" >> "$cfgfile" \
32059 || (rm -f "$cfgfile"; exit 1)
32060
32061 mv -f "$cfgfile" "$ofile" ||
32062 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
32063 chmod +x "$ofile"
32064
32065
32066 cat <<_LT_EOF >> "$ofile"
32067
32068 # ### BEGIN LIBTOOL TAG CONFIG: CXX
32069
32070 # The linker used to build libraries.
32071 LD=$lt_LD_CXX
32072
32073 # How to create reloadable object files.
32074 reload_flag=$lt_reload_flag_CXX
32075 reload_cmds=$lt_reload_cmds_CXX
32076
32077 # Commands used to build an old-style archive.
32078 old_archive_cmds=$lt_old_archive_cmds_CXX
32079
32080 # A language specific compiler.
32081 CC=$lt_compiler_CXX
32082
32083 # Is the compiler the GNU compiler?
32084 with_gcc=$GCC_CXX
32085
32086 # Compiler flag to turn off builtin functions.
32087 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
32088
32089 # Additional compiler flags for building library objects.
32090 pic_flag=$lt_lt_prog_compiler_pic_CXX
32091
32092 # How to pass a linker flag through the compiler.
32093 wl=$lt_lt_prog_compiler_wl_CXX
32094
32095 # Compiler flag to prevent dynamic linking.
32096 link_static_flag=$lt_lt_prog_compiler_static_CXX
32097
32098 # Does compiler simultaneously support -c and -o options?
32099 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
32100
32101 # Whether or not to add -lc for building shared libraries.
32102 build_libtool_need_lc=$archive_cmds_need_lc_CXX
32103
32104 # Whether or not to disallow shared libs when runtime libs are static.
32105 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
32106
32107 # Compiler flag to allow reflexive dlopens.
32108 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
32109
32110 # Compiler flag to generate shared objects directly from archives.
32111 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
32112
32113 # Whether the compiler copes with passing no objects directly.
32114 compiler_needs_object=$lt_compiler_needs_object_CXX
32115
32116 # Create an old-style archive from a shared archive.
32117 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
32118
32119 # Create a temporary old-style archive to link instead of a shared archive.
32120 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
32121
32122 # Commands used to build a shared archive.
32123 archive_cmds=$lt_archive_cmds_CXX
32124 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
32125
32126 # Commands used to build a loadable module if different from building
32127 # a shared archive.
32128 module_cmds=$lt_module_cmds_CXX
32129 module_expsym_cmds=$lt_module_expsym_cmds_CXX
32130
32131 # Whether we are building with GNU ld or not.
32132 with_gnu_ld=$lt_with_gnu_ld_CXX
32133
32134 # Flag that allows shared libraries with undefined symbols to be built.
32135 allow_undefined_flag=$lt_allow_undefined_flag_CXX
32136
32137 # Flag that enforces no undefined symbols.
32138 no_undefined_flag=$lt_no_undefined_flag_CXX
32139
32140 # Flag to hardcode \$libdir into a binary during linking.
32141 # This must work even if \$libdir does not exist
32142 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
32143
32144 # Whether we need a single "-rpath" flag with a separated argument.
32145 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
32146
32147 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32148 # DIR into the resulting binary.
32149 hardcode_direct=$hardcode_direct_CXX
32150
32151 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32152 # DIR into the resulting binary and the resulting library dependency is
32153 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
32154 # library is relocated.
32155 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
32156
32157 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32158 # into the resulting binary.
32159 hardcode_minus_L=$hardcode_minus_L_CXX
32160
32161 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32162 # into the resulting binary.
32163 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
32164
32165 # Set to "yes" if building a shared library automatically hardcodes DIR
32166 # into the library and all subsequent libraries and executables linked
32167 # against it.
32168 hardcode_automatic=$hardcode_automatic_CXX
32169
32170 # Set to yes if linker adds runtime paths of dependent libraries
32171 # to runtime path list.
32172 inherit_rpath=$inherit_rpath_CXX
32173
32174 # Whether libtool must link a program against all its dependency libraries.
32175 link_all_deplibs=$link_all_deplibs_CXX
32176
32177 # Set to "yes" if exported symbols are required.
32178 always_export_symbols=$always_export_symbols_CXX
32179
32180 # The commands to list exported symbols.
32181 export_symbols_cmds=$lt_export_symbols_cmds_CXX
32182
32183 # Symbols that should not be listed in the preloaded symbols.
32184 exclude_expsyms=$lt_exclude_expsyms_CXX
32185
32186 # Symbols that must always be exported.
32187 include_expsyms=$lt_include_expsyms_CXX
32188
32189 # Commands necessary for linking programs (against libraries) with templates.
32190 prelink_cmds=$lt_prelink_cmds_CXX
32191
32192 # Commands necessary for finishing linking programs.
32193 postlink_cmds=$lt_postlink_cmds_CXX
32194
32195 # Specify filename containing input files.
32196 file_list_spec=$lt_file_list_spec_CXX
32197
32198 # How to hardcode a shared library path into an executable.
32199 hardcode_action=$hardcode_action_CXX
32200
32201 # The directories searched by this compiler when creating a shared library.
32202 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
32203
32204 # Dependencies to place before and after the objects being linked to
32205 # create a shared library.
32206 predep_objects=$lt_predep_objects_CXX
32207 postdep_objects=$lt_postdep_objects_CXX
32208 predeps=$lt_predeps_CXX
32209 postdeps=$lt_postdeps_CXX
32210
32211 # The library search path used internally by the compiler when linking
32212 # a shared library.
32213 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
32214
32215 # ### END LIBTOOL TAG CONFIG: CXX
32216 _LT_EOF
32217
32218 ;;
32219
32220 esac
32221 done # for ac_tag
32222
32223
32224 as_fn_exit 0
32225 _ACEOF
32226 ac_clean_CONFIG_STATUS=
32227
32228 test $ac_write_fail = 0 ||
32229 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
32230
32231
32232 # configure is writing to config.log, and then calls config.status.
32233 # config.status does its own redirection, appending to config.log.
32234 # Unfortunately, on DOS this fails, as config.log is still kept open
32235 # by configure, so config.status won't be able to write to it; its
32236 # output is simply discarded. So we exec the FD to /dev/null,
32237 # effectively closing config.log, so it can be properly (re)opened and
32238 # appended to by config.status. When coming back to configure, we
32239 # need to make the FD available again.
32240 if test "$no_create" != yes; then
32241 ac_cs_success=:
32242 case $CONFIG_STATUS in #(
32243 -*) :
32244 ac_no_opts=-- ;; #(
32245 *) :
32246 ac_no_opts= ;;
32247 esac
32248 ac_config_status_args=
32249 test "$silent" = yes &&
32250 ac_config_status_args="$ac_config_status_args --quiet"
32251 exec 5>/dev/null
32252 $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
32253 ac_cs_success=false
32254 exec 5>>config.log
32255 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
32256 # would make configure fail if this is the last instruction.
32257 $ac_cs_success || as_fn_exit 1
32258 fi
32259 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
32260 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
32261 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
32262 fi
32263
32264