Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # From configure.ac .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.72 for libxfce4ui 4.20.2.
5 #
6 # Report bugs to <https://gitlab.xfce.org/xfce/libxfce4ui/-/issues>.
7 #
8 # Copyright (c) 2007-2025 The Xfce development team
9 #
10 #
11 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
12 # Inc.
13 #
14 #
15 # This configure script is free software; the Free Software Foundation
16 # gives unlimited permission to copy, distribute and modify it.
17 ## -------------------- ##
18 ## M4sh Initialization. ##
19 ## -------------------- ##
20
21 # Be more Bourne compatible
22 DUALCASE=1; export DUALCASE # for MKS sh
23 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
24 then :
25 emulate sh
26 NULLCMD=:
27 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28 # is contrary to our usage. Disable this feature.
29 alias -g '${1+"$@"}'='"$@"'
30 setopt NO_GLOB_SUBST
31 else case e in #(
32 e) case `(set -o) 2>/dev/null` in #(
33 *posix*) :
34 set -o posix ;; #(
35 *) :
36 ;;
37 esac ;;
38 esac
39 fi
40
41
42
43 # Reset variables that may have inherited troublesome values from
44 # the environment.
45
46 # IFS needs to be set, to space, tab, and newline, in precisely that order.
47 # (If _AS_PATH_WALK were called with IFS unset, it would have the
48 # side effect of setting IFS to empty, thus disabling word splitting.)
49 # Quoting is to prevent editors from complaining about space-tab.
50 as_nl='
51 '
52 export as_nl
53 IFS=" "" $as_nl"
54
55 PS1='$ '
56 PS2='> '
57 PS4='+ '
58
59 # Ensure predictable behavior from utilities with locale-dependent output.
60 LC_ALL=C
61 export LC_ALL
62 LANGUAGE=C
63 export LANGUAGE
64
65 # We cannot yet rely on "unset" to work, but we need these variables
66 # to be unset--not just set to an empty or harmless value--now, to
67 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
68 # also avoids known problems related to "unset" and subshell syntax
69 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
70 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
71 do eval test \${$as_var+y} \
72 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73 done
74
75 # Ensure that fds 0, 1, and 2 are open.
76 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
77 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
78 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
79
80 # The user is always right.
81 if ${PATH_SEPARATOR+false} :; then
82 PATH_SEPARATOR=:
83 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
84 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 PATH_SEPARATOR=';'
86 }
87 fi
88
89
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 case $as_dir in #(((
99 '') as_dir=./ ;;
100 */) ;;
101 *) as_dir=$as_dir/ ;;
102 esac
103 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
104 done
105 IFS=$as_save_IFS
106
107 ;;
108 esac
109 # We did not find ourselves, most probably we were run as 'sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
112 as_myself=$0
113 fi
114 if test ! -f "$as_myself"; then
115 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 exit 1
117 fi
118
119
120 # Use a proper internal environment variable to ensure we don't fall
121 # into an infinite loop, continuously re-executing ourselves.
122 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
123 _as_can_reexec=no; export _as_can_reexec;
124 # We cannot yet assume a decent shell, so we have to provide a
125 # neutralization value for shells without unset; and this also
126 # works around shells that cannot unset nonexistent variables.
127 # Preserve -v and -x to the replacement shell.
128 BASH_ENV=/dev/null
129 ENV=/dev/null
130 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
131 case $- in # ((((
132 *v*x* | *x*v* ) as_opts=-vx ;;
133 *v* ) as_opts=-v ;;
134 *x* ) as_opts=-x ;;
135 * ) as_opts= ;;
136 esac
137 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
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 # is contrary to our usage. Disable this feature.
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 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
270 # Admittedly, this is quite paranoid, since all the known shells bail
271 # out after a failed 'exec'.
272 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
273 exit 255
274 fi
275
276 if test x$as_have_required = xno
277 then :
278 printf "%s\n" "$0: This script requires a shell more modern than all"
279 printf "%s\n" "$0: the shells that I found on your system."
280 if test ${ZSH_VERSION+y} ; then
281 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
282 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
283 else
284 printf "%s\n" "$0: Please tell [email protected] and
285 $0: https://gitlab.xfce.org/xfce/libxfce4ui/-/issues about
286 $0: your system, including any error possibly output before
287 $0: this message. Then install a modern shell, or manually
288 $0: run the script under such a shell if you do have one."
289 fi
290 exit 1
291 fi ;;
292 esac
293 fi
294 fi
295 SHELL=${CONFIG_SHELL-/bin/sh}
296 export SHELL
297 # Unset more variables known to interfere with behavior of common tools.
298 CLICOLOR_FORCE= GREP_OPTIONS=
299 unset CLICOLOR_FORCE GREP_OPTIONS
300
301 ## --------------------- ##
302 ## M4sh Shell Functions. ##
303 ## --------------------- ##
304 # as_fn_unset VAR
305 # ---------------
306 # Portably unset VAR.
307 as_fn_unset ()
308 {
309 { eval $1=; unset $1;}
310 }
311 as_unset=as_fn_unset
312
313
314 # as_fn_set_status STATUS
315 # -----------------------
316 # Set $? to STATUS, without forking.
317 as_fn_set_status ()
318 {
319 return $1
320 } # as_fn_set_status
321
322 # as_fn_exit STATUS
323 # -----------------
324 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 as_fn_exit ()
326 {
327 set +e
328 as_fn_set_status $1
329 exit $1
330 } # as_fn_exit
331
332 # as_fn_mkdir_p
333 # -------------
334 # Create "$as_dir" as a directory, including parents if necessary.
335 as_fn_mkdir_p ()
336 {
337
338 case $as_dir in #(
339 -*) as_dir=./$as_dir;;
340 esac
341 test -d "$as_dir" || eval $as_mkdir_p || {
342 as_dirs=
343 while :; do
344 case $as_dir in #(
345 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
346 *) as_qdir=$as_dir;;
347 esac
348 as_dirs="'$as_qdir' $as_dirs"
349 as_dir=`$as_dirname -- "$as_dir" ||
350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
351 X"$as_dir" : 'X\(//\)[^/]' \| \
352 X"$as_dir" : 'X\(//\)$' \| \
353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
354 printf "%s\n" X"$as_dir" |
355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 s//\1/
357 q
358 }
359 /^X\(\/\/\)[^/].*/{
360 s//\1/
361 q
362 }
363 /^X\(\/\/\)$/{
364 s//\1/
365 q
366 }
367 /^X\(\/\).*/{
368 s//\1/
369 q
370 }
371 s/.*/./; q'`
372 test -d "$as_dir" && break
373 done
374 test -z "$as_dirs" || eval "mkdir $as_dirs"
375 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
376
377
378 } # as_fn_mkdir_p
379
380 # as_fn_executable_p FILE
381 # -----------------------
382 # Test if FILE is an executable regular file.
383 as_fn_executable_p ()
384 {
385 test -f "$1" && test -x "$1"
386 } # as_fn_executable_p
387 # as_fn_append VAR VALUE
388 # ----------------------
389 # Append the text in VALUE to the end of the definition contained in VAR. Take
390 # advantage of any shell optimizations that allow amortized linear growth over
391 # repeated appends, instead of the typical quadratic growth present in naive
392 # implementations.
393 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
394 then :
395 eval 'as_fn_append ()
396 {
397 eval $1+=\$2
398 }'
399 else case e in #(
400 e) as_fn_append ()
401 {
402 eval $1=\$$1\$2
403 } ;;
404 esac
405 fi # as_fn_append
406
407 # as_fn_arith ARG...
408 # ------------------
409 # Perform arithmetic evaluation on the ARGs, and store the result in the
410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
411 # must be portable across $(()) and expr.
412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
413 then :
414 eval 'as_fn_arith ()
415 {
416 as_val=$(( $* ))
417 }'
418 else case e in #(
419 e) as_fn_arith ()
420 {
421 as_val=`expr "$@" || test $? -eq 1`
422 } ;;
423 esac
424 fi # as_fn_arith
425
426
427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
428 # ----------------------------------------
429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
431 # script with STATUS, using 1 if that was 0.
432 as_fn_error ()
433 {
434 as_status=$1; test $as_status -eq 0 && as_status=1
435 if test "$4"; then
436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 fi
439 printf "%s\n" "$as_me: error: $2" >&2
440 as_fn_exit $as_status
441 } # as_fn_error
442
443 if expr a : '\(a\)' >/dev/null 2>&1 &&
444 test "X`expr 00001 : '.*\(...\)'`" = X001; then
445 as_expr=expr
446 else
447 as_expr=false
448 fi
449
450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
451 as_basename=basename
452 else
453 as_basename=false
454 fi
455
456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457 as_dirname=dirname
458 else
459 as_dirname=false
460 fi
461
462 as_me=`$as_basename -- "$0" ||
463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
464 X"$0" : 'X\(//\)$' \| \
465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
466 printf "%s\n" X/"$0" |
467 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 s//\1/
469 q
470 }
471 /^X\/\(\/\/\)$/{
472 s//\1/
473 q
474 }
475 /^X\/\(\/\).*/{
476 s//\1/
477 q
478 }
479 s/.*/./; q'`
480
481 # Avoid depending upon Character Ranges.
482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
485 as_cr_digits='0123456789'
486 as_cr_alnum=$as_cr_Letters$as_cr_digits
487
488
489 as_lineno_1=$LINENO as_lineno_1a=$LINENO
490 as_lineno_2=$LINENO as_lineno_2a=$LINENO
491 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
492 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
493 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 sed -n '
495 p
496 /[$]LINENO/=
497 ' <$as_myself |
498 sed '
499 t clear
500 :clear
501 s/[$]LINENO.*/&-/
502 t lineno
503 b
504 :lineno
505 N
506 :loop
507 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 t loop
509 s/-\n.*//
510 ' >$as_me.lineno &&
511 chmod +x "$as_me.lineno" ||
512 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
513
514 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
515 # already done that, so ensure we don't try to do so again and fall
516 # in an infinite loop. This has already happened in practice.
517 _as_can_reexec=no; export _as_can_reexec
518 # Don't try to exec as it changes $[0], causing all sort of problems
519 # (the dirname of $[0] is not the place where we might find the
520 # original and so on. Autoconf is especially sensitive to this).
521 . "./$as_me.lineno"
522 # Exit status is that of the last command.
523 exit
524 }
525
526
527 # Determine whether it's possible to make 'echo' print without a newline.
528 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
529 # for compatibility with existing Makefiles.
530 ECHO_C= ECHO_N= ECHO_T=
531 case `echo -n x` in #(((((
532 -n*)
533 case `echo 'xy\c'` in
534 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
535 xy) ECHO_C='\c';;
536 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
537 ECHO_T=' ';;
538 esac;;
539 *)
540 ECHO_N='-n';;
541 esac
542
543 # For backward compatibility with old third-party macros, we provide
544 # the shell variables $as_echo and $as_echo_n. New code should use
545 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
546 as_echo='printf %s\n'
547 as_echo_n='printf %s'
548
549 rm -f conf$$ conf$$.exe conf$$.file
550 if test -d conf$$.dir; then
551 rm -f conf$$.dir/conf$$.file
552 else
553 rm -f conf$$.dir
554 mkdir conf$$.dir 2>/dev/null
555 fi
556 if (echo >conf$$.file) 2>/dev/null; then
557 if ln -s conf$$.file conf$$ 2>/dev/null; then
558 as_ln_s='ln -s'
559 # ... but there are two gotchas:
560 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
561 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
562 # In both cases, we have to default to 'cp -pR'.
563 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
564 as_ln_s='cp -pR'
565 elif ln conf$$.file conf$$ 2>/dev/null; then
566 as_ln_s=ln
567 else
568 as_ln_s='cp -pR'
569 fi
570 else
571 as_ln_s='cp -pR'
572 fi
573 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
574 rmdir conf$$.dir 2>/dev/null
575
576 if mkdir -p . 2>/dev/null; then
577 as_mkdir_p='mkdir -p "$as_dir"'
578 else
579 test -d ./-p && rmdir ./-p
580 as_mkdir_p=false
581 fi
582
583 as_test_x='test -x'
584 as_executable_p=as_fn_executable_p
585
586 # Sed expression to map a string onto a valid CPP name.
587 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
588 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
589
590 # Sed expression to map a string onto a valid variable name.
591 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
592 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
593
594 SHELL=${CONFIG_SHELL-/bin/sh}
595
596
597 test -n "$DJDIR" || exec 7<&0 </dev/null
598 exec 6>&1
599
600 # Name of the host.
601 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
602 # so uname gets run too.
603 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
604
605 #
606 # Initializations.
607 #
608 ac_default_prefix=/usr/local
609 ac_clean_files=
610 ac_config_libobj_dir=.
611 LIBOBJS=
612 cross_compiling=no
613 subdirs=
614 MFLAGS=
615 MAKEFLAGS=
616
617 # Identity of this package.
618 PACKAGE_NAME='libxfce4ui'
619 PACKAGE_TARNAME='libxfce4ui'
620 PACKAGE_VERSION='4.20.2'
621 PACKAGE_STRING='libxfce4ui 4.20.2'
622 PACKAGE_BUGREPORT='https://gitlab.xfce.org/xfce/libxfce4ui/-/issues'
623 PACKAGE_URL=''
624
625 # Factoring default headers for most tests.
626 ac_includes_default="\
627 #include <stddef.h>
628 #ifdef HAVE_STDIO_H
629 # include <stdio.h>
630 #endif
631 #ifdef HAVE_STDLIB_H
632 # include <stdlib.h>
633 #endif
634 #ifdef HAVE_STRING_H
635 # include <string.h>
636 #endif
637 #ifdef HAVE_INTTYPES_H
638 # include <inttypes.h>
639 #endif
640 #ifdef HAVE_STDINT_H
641 # include <stdint.h>
642 #endif
643 #ifdef HAVE_STRINGS_H
644 # include <strings.h>
645 #endif
646 #ifdef HAVE_SYS_TYPES_H
647 # include <sys/types.h>
648 #endif
649 #ifdef HAVE_SYS_STAT_H
650 # include <sys/stat.h>
651 #endif
652 #ifdef HAVE_UNISTD_H
653 # include <unistd.h>
654 #endif"
655
656 ac_header_c_list=
657 gt_needs=
658 ac_subst_vars='am__EXEEXT_FALSE
659 am__EXEEXT_TRUE
660 LTLIBOBJS
661 LIBOBJS
662 PLATFORM_LDFLAGS
663 PLATFORM_CFLAGS
664 PLATFORM_CPPFLAGS
665 BUILD_TESTS_FALSE
666 BUILD_TESTS_TRUE
667 GTK_DOC_EXTRA_CFLAGS
668 HAVE_GNUC_VISIBILITY_FALSE
669 HAVE_GNUC_VISIBILITY_TRUE
670 GTK_DOC_USE_REBASE_FALSE
671 GTK_DOC_USE_REBASE_TRUE
672 GTK_DOC_USE_LIBTOOL_FALSE
673 GTK_DOC_USE_LIBTOOL_TRUE
674 GTK_DOC_BUILD_PDF_FALSE
675 GTK_DOC_BUILD_PDF_TRUE
676 GTK_DOC_BUILD_HTML_FALSE
677 GTK_DOC_BUILD_HTML_TRUE
678 ENABLE_GTK_DOC_FALSE
679 ENABLE_GTK_DOC_TRUE
680 HAVE_GTK_DOC_FALSE
681 HAVE_GTK_DOC_TRUE
682 GTKDOC_DEPS_LIBS
683 GTKDOC_DEPS_CFLAGS
684 HTML_DIR
685 GTKDOC_MKPDF
686 GTKDOC_REBASE
687 GTKDOC_CHECK_PATH
688 GTKDOC_CHECK
689 GLADEUI2_PIXMAPDIR
690 GLADEUI2_MODULEDIR
691 GLADEUI2_CATALOGDIR
692 HAVE_GLADEUI2_FALSE
693 HAVE_GLADEUI2_TRUE
694 GLADEUI2_REQUIRED_VERSION
695 GLADEUI2_LIBS
696 GLADEUI2_CFLAGS
697 GLADEUI2_VERSION
698 ENABLE_KEYBOARD_LIBRARY_FALSE
699 ENABLE_KEYBOARD_LIBRARY_TRUE
700 ENABLE_VAPIGEN_FALSE
701 ENABLE_VAPIGEN_TRUE
702 VAPIGEN_MAKEFILE
703 VAPIGEN_VAPIDIR
704 VAPIGEN
705 HAVE_INTROSPECTION_FALSE
706 HAVE_INTROSPECTION_TRUE
707 INTROSPECTION_MAKEFILE
708 INTROSPECTION_LIBS
709 INTROSPECTION_CFLAGS
710 INTROSPECTION_TYPELIBDIR
711 INTROSPECTION_GIRDIR
712 INTROSPECTION_GENERATE
713 INTROSPECTION_COMPILER
714 INTROSPECTION_SCANNER
715 _GI_EXP_LIBDIR
716 _GI_EXP_DATADIR
717 HAVE_GUDEV_FALSE
718 HAVE_GUDEV_TRUE
719 GUDEV_REQUIRED_VERSION
720 GUDEV_LIBS
721 GUDEV_CFLAGS
722 GUDEV_VERSION
723 HAVE_EPOXY_FALSE
724 HAVE_EPOXY_TRUE
725 EPOXY_REQUIRED_VERSION
726 EPOXY_LIBS
727 EPOXY_CFLAGS
728 EPOXY_VERSION
729 HAVE_GLIBTOP_FALSE
730 HAVE_GLIBTOP_TRUE
731 GLIBTOP_REQUIRED_VERSION
732 GLIBTOP_LIBS
733 GLIBTOP_CFLAGS
734 GLIBTOP_VERSION
735 HAVE_LIBSTARTUP_NOTIFICATION_FALSE
736 HAVE_LIBSTARTUP_NOTIFICATION_TRUE
737 LIBSTARTUP_NOTIFICATION_REQUIRED_VERSION
738 LIBSTARTUP_NOTIFICATION_LIBS
739 LIBSTARTUP_NOTIFICATION_CFLAGS
740 LIBSTARTUP_NOTIFICATION_VERSION
741 ENABLE_LIBSM_FALSE
742 ENABLE_LIBSM_TRUE
743 LIBSM_REQUIRED_VERSION
744 LIBSM_LIBS
745 LIBSM_CFLAGS
746 LIBSM_VERSION
747 LIBICE_REQUIRED_VERSION
748 LIBICE_LIBS
749 LIBICE_CFLAGS
750 LIBICE_VERSION
751 ENABLE_WAYLAND_FALSE
752 ENABLE_WAYLAND_TRUE
753 GDK_WAYLAND_REQUIRED_VERSION
754 GDK_WAYLAND_LIBS
755 GDK_WAYLAND_CFLAGS
756 GDK_WAYLAND_VERSION
757 ENABLE_X11_FALSE
758 ENABLE_X11_TRUE
759 LIBX11_REQUIRED_VERSION
760 LIBX11_LIBS
761 LIBX11_CFLAGS
762 LIBX11_VERSION
763 GDK_X11_REQUIRED_VERSION
764 GDK_X11_LIBS
765 GDK_X11_CFLAGS
766 GDK_X11_VERSION
767 XFCONF_REQUIRED_VERSION
768 XFCONF_LIBS
769 XFCONF_CFLAGS
770 XFCONF_VERSION
771 LIBXFCE4UTIL_REQUIRED_VERSION
772 LIBXFCE4UTIL_LIBS
773 LIBXFCE4UTIL_CFLAGS
774 LIBXFCE4UTIL_VERSION
775 GTK3_REQUIRED_VERSION
776 GTK3_LIBS
777 GTK3_CFLAGS
778 GTK3_VERSION
779 GLIB_REQUIRED_VERSION
780 GLIB_LIBS
781 GLIB_CFLAGS
782 GLIB_VERSION
783 PKG_CONFIG_LIBDIR
784 PKG_CONFIG_PATH
785 PKG_CONFIG
786 POSUB
787 LTLIBINTL
788 LIBINTL
789 INTLLIBS
790 LTLIBICONV
791 LIBICONV
792 INTL_MACOSX_LIBS
793 CPP
794 XGETTEXT_EXTRA_OPTIONS
795 MSGMERGE
796 XGETTEXT_015
797 XGETTEXT
798 GMSGFMT_015
799 MSGFMT_015
800 GMSGFMT
801 MSGFMT
802 GETTEXT_MACRO_VERSION
803 USE_NLS
804 GETTEXT_PACKAGE
805 LIBXFCE4KBD_PRIVATE_VERSION_API
806 LIBXFCE4KBD_PRIVATE_VERINFO
807 LIBXFCE4UI_VERSION_MICRO
808 LIBXFCE4UI_VERSION_MINOR
809 LIBXFCE4UI_VERSION_MAJOR
810 LIBXFCE4UI_VERSION_API
811 LIBXFCE4UI_VERINFO
812 LT_SYS_LIBRARY_PATH
813 OTOOL64
814 OTOOL
815 LIPO
816 NMEDIT
817 DSYMUTIL
818 MANIFEST_TOOL
819 RANLIB
820 ac_ct_AR
821 AR
822 DLLTOOL
823 OBJDUMP
824 FILECMD
825 LN_S
826 NM
827 ac_ct_DUMPBIN
828 DUMPBIN
829 LIBTOOL
830 GLIB_COMPILE_RESOURCES
831 PERL
832 LD
833 FGREP
834 EGREP
835 GREP
836 SED
837 NO_UNDEFINED
838 PLATFORM_OSX_FALSE
839 PLATFORM_OSX_TRUE
840 PLATFORM_WIN32_FALSE
841 PLATFORM_WIN32_TRUE
842 am__fastdepCC_FALSE
843 am__fastdepCC_TRUE
844 CCDEPMODE
845 am__nodep
846 AMDEPBACKSLASH
847 AMDEP_FALSE
848 AMDEP_TRUE
849 am__include
850 DEPDIR
851 OBJEXT
852 EXEEXT
853 ac_ct_CC
854 CPPFLAGS
855 LDFLAGS
856 CFLAGS
857 CC
858 MAINT
859 MAINTAINER_MODE_FALSE
860 MAINTAINER_MODE_TRUE
861 am__xargs_n
862 am__rm_f_notfound
863 AM_BACKSLASH
864 AM_DEFAULT_VERBOSITY
865 AM_DEFAULT_V
866 AM_V
867 CSCOPE
868 ETAGS
869 CTAGS
870 am__untar
871 am__tar
872 AMTAR
873 am__leading_dot
874 SET_MAKE
875 AWK
876 mkdir_p
877 MKDIR_P
878 INSTALL_STRIP_PROGRAM
879 STRIP
880 install_sh
881 MAKEINFO
882 AUTOHEADER
883 AUTOMAKE
884 AUTOCONF
885 ACLOCAL
886 VERSION
887 PACKAGE
888 CYGPATH_W
889 am__isrc
890 INSTALL_DATA
891 INSTALL_SCRIPT
892 INSTALL_PROGRAM
893 COPYRIGHT_YEAR
894 target_os
895 target_vendor
896 target_cpu
897 target
898 host_os
899 host_vendor
900 host_cpu
901 host
902 build_os
903 build_vendor
904 build_cpu
905 build
906 target_alias
907 host_alias
908 build_alias
909 LIBS
910 ECHO_T
911 ECHO_N
912 ECHO_C
913 DEFS
914 mandir
915 localedir
916 libdir
917 psdir
918 pdfdir
919 dvidir
920 htmldir
921 infodir
922 docdir
923 oldincludedir
924 includedir
925 runstatedir
926 localstatedir
927 sharedstatedir
928 sysconfdir
929 datadir
930 datarootdir
931 libexecdir
932 sbindir
933 bindir
934 program_transform_name
935 prefix
936 exec_prefix
937 PACKAGE_URL
938 PACKAGE_BUGREPORT
939 PACKAGE_STRING
940 PACKAGE_VERSION
941 PACKAGE_TARNAME
942 PACKAGE_NAME
943 PATH_SEPARATOR
944 SHELL
945 am__quote'
946 ac_subst_files=''
947 ac_user_opts='
948 enable_option_checking
949 enable_silent_rules
950 enable_maintainer_mode
951 enable_dependency_tracking
952 with_gnu_ld
953 enable_static
954 enable_shared
955 enable_pic
956 with_pic
957 enable_cxx_stdlib
958 enable_fast_install
959 enable_aix_soname
960 with_aix_soname
961 with_sysroot
962 enable_libtool_lock
963 enable_nls
964 enable_rpath
965 with_libiconv_prefix
966 with_libintl_prefix
967 enable_x11
968 enable_wayland
969 enable_libsm
970 enable_startup_notification
971 enable_glibtop
972 enable_epoxy
973 enable_gudev
974 enable_introspection
975 enable_vala
976 enable_keyboard_library
977 with_vendor_info
978 with_manual_website
979 enable_gladeui2
980 with_gladeui2_catalogdir
981 with_gladeui2_moduledir
982 with_gladeui2_pixmapdir
983 with_html_dir
984 enable_gtk_doc
985 enable_gtk_doc_html
986 enable_gtk_doc_pdf
987 enable_debug
988 enable_linker_opts
989 enable_visibility
990 enable_tests
991 '
992 ac_precious_vars='build_alias
993 host_alias
994 target_alias
995 CC
996 CFLAGS
997 LDFLAGS
998 LIBS
999 CPPFLAGS
1000 LT_SYS_LIBRARY_PATH
1001 CPP
1002 PKG_CONFIG
1003 PKG_CONFIG_PATH
1004 PKG_CONFIG_LIBDIR
1005 GTKDOC_DEPS_CFLAGS
1006 GTKDOC_DEPS_LIBS'
1007
1008
1009 # Initialize some variables set by options.
1010 ac_init_help=
1011 ac_init_version=false
1012 ac_unrecognized_opts=
1013 ac_unrecognized_sep=
1014 # The variables have the same names as the options, with
1015 # dashes changed to underlines.
1016 cache_file=/dev/null
1017 exec_prefix=NONE
1018 no_create=
1019 no_recursion=
1020 prefix=NONE
1021 program_prefix=NONE
1022 program_suffix=NONE
1023 program_transform_name=s,x,x,
1024 silent=
1025 site=
1026 srcdir=
1027 verbose=
1028 x_includes=NONE
1029 x_libraries=NONE
1030
1031 # Installation directory options.
1032 # These are left unexpanded so users can "make install exec_prefix=/foo"
1033 # and all the variables that are supposed to be based on exec_prefix
1034 # by default will actually change.
1035 # Use braces instead of parens because sh, perl, etc. also accept them.
1036 # (The list follows the same order as the GNU Coding Standards.)
1037 bindir='${exec_prefix}/bin'
1038 sbindir='${exec_prefix}/sbin'
1039 libexecdir='${exec_prefix}/libexec'
1040 datarootdir='${prefix}/share'
1041 datadir='${datarootdir}'
1042 sysconfdir='${prefix}/etc'
1043 sharedstatedir='${prefix}/com'
1044 localstatedir='${prefix}/var'
1045 runstatedir='${localstatedir}/run'
1046 includedir='${prefix}/include'
1047 oldincludedir='/usr/include'
1048 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1049 infodir='${datarootdir}/info'
1050 htmldir='${docdir}'
1051 dvidir='${docdir}'
1052 pdfdir='${docdir}'
1053 psdir='${docdir}'
1054 libdir='${exec_prefix}/lib'
1055 localedir='${datarootdir}/locale'
1056 mandir='${datarootdir}/man'
1057
1058 ac_prev=
1059 ac_dashdash=
1060 for ac_option
1061 do
1062 # If the previous option needs an argument, assign it.
1063 if test -n "$ac_prev"; then
1064 eval $ac_prev=\$ac_option
1065 ac_prev=
1066 continue
1067 fi
1068
1069 case $ac_option in
1070 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1071 *=) ac_optarg= ;;
1072 *) ac_optarg=yes ;;
1073 esac
1074
1075 case $ac_dashdash$ac_option in
1076 --)
1077 ac_dashdash=yes ;;
1078
1079 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1080 ac_prev=bindir ;;
1081 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1082 bindir=$ac_optarg ;;
1083
1084 -build | --build | --buil | --bui | --bu)
1085 ac_prev=build_alias ;;
1086 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1087 build_alias=$ac_optarg ;;
1088
1089 -cache-file | --cache-file | --cache-fil | --cache-fi \
1090 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1091 ac_prev=cache_file ;;
1092 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1093 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1094 cache_file=$ac_optarg ;;
1095
1096 --config-cache | -C)
1097 cache_file=config.cache ;;
1098
1099 -datadir | --datadir | --datadi | --datad)
1100 ac_prev=datadir ;;
1101 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1102 datadir=$ac_optarg ;;
1103
1104 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1105 | --dataroo | --dataro | --datar)
1106 ac_prev=datarootdir ;;
1107 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1108 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1109 datarootdir=$ac_optarg ;;
1110
1111 -disable-* | --disable-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid feature name: '$ac_useropt'"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1119 *"
1120 "enable_$ac_useropt"
1121 "*) ;;
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1124 esac
1125 eval enable_$ac_useropt=no ;;
1126
1127 -docdir | --docdir | --docdi | --doc | --do)
1128 ac_prev=docdir ;;
1129 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1130 docdir=$ac_optarg ;;
1131
1132 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1133 ac_prev=dvidir ;;
1134 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1135 dvidir=$ac_optarg ;;
1136
1137 -enable-* | --enable-*)
1138 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141 as_fn_error $? "invalid feature name: '$ac_useropt'"
1142 ac_useropt_orig=$ac_useropt
1143 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1145 *"
1146 "enable_$ac_useropt"
1147 "*) ;;
1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1149 ac_unrecognized_sep=', ';;
1150 esac
1151 eval enable_$ac_useropt=\$ac_optarg ;;
1152
1153 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1154 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1155 | --exec | --exe | --ex)
1156 ac_prev=exec_prefix ;;
1157 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1158 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1159 | --exec=* | --exe=* | --ex=*)
1160 exec_prefix=$ac_optarg ;;
1161
1162 -gas | --gas | --ga | --g)
1163 # Obsolete; use --with-gas.
1164 with_gas=yes ;;
1165
1166 -help | --help | --hel | --he | -h)
1167 ac_init_help=long ;;
1168 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1169 ac_init_help=recursive ;;
1170 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1171 ac_init_help=short ;;
1172
1173 -host | --host | --hos | --ho)
1174 ac_prev=host_alias ;;
1175 -host=* | --host=* | --hos=* | --ho=*)
1176 host_alias=$ac_optarg ;;
1177
1178 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1179 ac_prev=htmldir ;;
1180 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1181 | --ht=*)
1182 htmldir=$ac_optarg ;;
1183
1184 -includedir | --includedir | --includedi | --included | --include \
1185 | --includ | --inclu | --incl | --inc)
1186 ac_prev=includedir ;;
1187 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1188 | --includ=* | --inclu=* | --incl=* | --inc=*)
1189 includedir=$ac_optarg ;;
1190
1191 -infodir | --infodir | --infodi | --infod | --info | --inf)
1192 ac_prev=infodir ;;
1193 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1194 infodir=$ac_optarg ;;
1195
1196 -libdir | --libdir | --libdi | --libd)
1197 ac_prev=libdir ;;
1198 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1199 libdir=$ac_optarg ;;
1200
1201 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1202 | --libexe | --libex | --libe)
1203 ac_prev=libexecdir ;;
1204 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1205 | --libexe=* | --libex=* | --libe=*)
1206 libexecdir=$ac_optarg ;;
1207
1208 -localedir | --localedir | --localedi | --localed | --locale)
1209 ac_prev=localedir ;;
1210 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1211 localedir=$ac_optarg ;;
1212
1213 -localstatedir | --localstatedir | --localstatedi | --localstated \
1214 | --localstate | --localstat | --localsta | --localst | --locals)
1215 ac_prev=localstatedir ;;
1216 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1217 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1218 localstatedir=$ac_optarg ;;
1219
1220 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1221 ac_prev=mandir ;;
1222 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1223 mandir=$ac_optarg ;;
1224
1225 -nfp | --nfp | --nf)
1226 # Obsolete; use --without-fp.
1227 with_fp=no ;;
1228
1229 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1230 | --no-cr | --no-c | -n)
1231 no_create=yes ;;
1232
1233 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1234 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1235 no_recursion=yes ;;
1236
1237 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1238 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1239 | --oldin | --oldi | --old | --ol | --o)
1240 ac_prev=oldincludedir ;;
1241 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1242 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1243 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1244 oldincludedir=$ac_optarg ;;
1245
1246 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1247 ac_prev=prefix ;;
1248 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1249 prefix=$ac_optarg ;;
1250
1251 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1252 | --program-pre | --program-pr | --program-p)
1253 ac_prev=program_prefix ;;
1254 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1255 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1256 program_prefix=$ac_optarg ;;
1257
1258 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1259 | --program-suf | --program-su | --program-s)
1260 ac_prev=program_suffix ;;
1261 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1262 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1263 program_suffix=$ac_optarg ;;
1264
1265 -program-transform-name | --program-transform-name \
1266 | --program-transform-nam | --program-transform-na \
1267 | --program-transform-n | --program-transform- \
1268 | --program-transform | --program-transfor \
1269 | --program-transfo | --program-transf \
1270 | --program-trans | --program-tran \
1271 | --progr-tra | --program-tr | --program-t)
1272 ac_prev=program_transform_name ;;
1273 -program-transform-name=* | --program-transform-name=* \
1274 | --program-transform-nam=* | --program-transform-na=* \
1275 | --program-transform-n=* | --program-transform-=* \
1276 | --program-transform=* | --program-transfor=* \
1277 | --program-transfo=* | --program-transf=* \
1278 | --program-trans=* | --program-tran=* \
1279 | --progr-tra=* | --program-tr=* | --program-t=*)
1280 program_transform_name=$ac_optarg ;;
1281
1282 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1283 ac_prev=pdfdir ;;
1284 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1285 pdfdir=$ac_optarg ;;
1286
1287 -psdir | --psdir | --psdi | --psd | --ps)
1288 ac_prev=psdir ;;
1289 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1290 psdir=$ac_optarg ;;
1291
1292 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1293 | -silent | --silent | --silen | --sile | --sil)
1294 silent=yes ;;
1295
1296 -runstatedir | --runstatedir | --runstatedi | --runstated \
1297 | --runstate | --runstat | --runsta | --runst | --runs \
1298 | --run | --ru | --r)
1299 ac_prev=runstatedir ;;
1300 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1301 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1302 | --run=* | --ru=* | --r=*)
1303 runstatedir=$ac_optarg ;;
1304
1305 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1306 ac_prev=sbindir ;;
1307 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1308 | --sbi=* | --sb=*)
1309 sbindir=$ac_optarg ;;
1310
1311 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1312 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1313 | --sharedst | --shareds | --shared | --share | --shar \
1314 | --sha | --sh)
1315 ac_prev=sharedstatedir ;;
1316 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1317 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1318 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1319 | --sha=* | --sh=*)
1320 sharedstatedir=$ac_optarg ;;
1321
1322 -site | --site | --sit)
1323 ac_prev=site ;;
1324 -site=* | --site=* | --sit=*)
1325 site=$ac_optarg ;;
1326
1327 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1328 ac_prev=srcdir ;;
1329 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1330 srcdir=$ac_optarg ;;
1331
1332 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1333 | --syscon | --sysco | --sysc | --sys | --sy)
1334 ac_prev=sysconfdir ;;
1335 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1336 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1337 sysconfdir=$ac_optarg ;;
1338
1339 -target | --target | --targe | --targ | --tar | --ta | --t)
1340 ac_prev=target_alias ;;
1341 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1342 target_alias=$ac_optarg ;;
1343
1344 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1345 verbose=yes ;;
1346
1347 -version | --version | --versio | --versi | --vers | -V)
1348 ac_init_version=: ;;
1349
1350 -with-* | --with-*)
1351 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1352 # Reject names that are not valid shell variable names.
1353 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1354 as_fn_error $? "invalid package name: '$ac_useropt'"
1355 ac_useropt_orig=$ac_useropt
1356 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1357 case $ac_user_opts in
1358 *"
1359 "with_$ac_useropt"
1360 "*) ;;
1361 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1362 ac_unrecognized_sep=', ';;
1363 esac
1364 eval with_$ac_useropt=\$ac_optarg ;;
1365
1366 -without-* | --without-*)
1367 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1370 as_fn_error $? "invalid package name: '$ac_useropt'"
1371 ac_useropt_orig=$ac_useropt
1372 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1373 case $ac_user_opts in
1374 *"
1375 "with_$ac_useropt"
1376 "*) ;;
1377 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1378 ac_unrecognized_sep=', ';;
1379 esac
1380 eval with_$ac_useropt=no ;;
1381
1382 --x)
1383 # Obsolete; use --with-x.
1384 with_x=yes ;;
1385
1386 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1387 | --x-incl | --x-inc | --x-in | --x-i)
1388 ac_prev=x_includes ;;
1389 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1390 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1391 x_includes=$ac_optarg ;;
1392
1393 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1394 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1395 ac_prev=x_libraries ;;
1396 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1397 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1398 x_libraries=$ac_optarg ;;
1399
1400 -*) as_fn_error $? "unrecognized option: '$ac_option'
1401 Try '$0 --help' for more information"
1402 ;;
1403
1404 *=*)
1405 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1406 # Reject names that are not valid shell variable names.
1407 case $ac_envvar in #(
1408 '' | [0-9]* | *[!_$as_cr_alnum]* )
1409 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1410 esac
1411 eval $ac_envvar=\$ac_optarg
1412 export $ac_envvar ;;
1413
1414 *)
1415 # FIXME: should be removed in autoconf 3.0.
1416 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1417 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1418 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1419 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1420 ;;
1421
1422 esac
1423 done
1424
1425 if test -n "$ac_prev"; then
1426 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1427 as_fn_error $? "missing argument to $ac_option"
1428 fi
1429
1430 if test -n "$ac_unrecognized_opts"; then
1431 case $enable_option_checking in
1432 no) ;;
1433 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1434 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1435 esac
1436 fi
1437
1438 # Check all directory arguments for consistency.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir runstatedir
1443 do
1444 eval ac_val=\$$ac_var
1445 # Remove trailing slashes.
1446 case $ac_val in
1447 */ )
1448 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1449 eval $ac_var=\$ac_val;;
1450 esac
1451 # Be sure to have absolute directory names.
1452 case $ac_val in
1453 [\\/$]* | ?:[\\/]* ) continue;;
1454 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1455 esac
1456 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1457 done
1458
1459 # There might be people who depend on the old broken behavior: '$host'
1460 # used to hold the argument of --host etc.
1461 # FIXME: To remove some day.
1462 build=$build_alias
1463 host=$host_alias
1464 target=$target_alias
1465
1466 # FIXME: To remove some day.
1467 if test "x$host_alias" != x; then
1468 if test "x$build_alias" = x; then
1469 cross_compiling=maybe
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 as_fn_error $? "working directory cannot be determined"
1485 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1486 as_fn_error $? "pwd does not report name of working directory"
1487
1488
1489 # Find the source files, if location was not specified.
1490 if test -z "$srcdir"; then
1491 ac_srcdir_defaulted=yes
1492 # Try the directory containing this script, then the parent directory.
1493 ac_confdir=`$as_dirname -- "$as_myself" ||
1494 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1495 X"$as_myself" : 'X\(//\)[^/]' \| \
1496 X"$as_myself" : 'X\(//\)$' \| \
1497 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1498 printf "%s\n" X"$as_myself" |
1499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\/\)[^/].*/{
1504 s//\1/
1505 q
1506 }
1507 /^X\(\/\/\)$/{
1508 s//\1/
1509 q
1510 }
1511 /^X\(\/\).*/{
1512 s//\1/
1513 q
1514 }
1515 s/.*/./; q'`
1516 srcdir=$ac_confdir
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 srcdir=..
1519 fi
1520 else
1521 ac_srcdir_defaulted=no
1522 fi
1523 if test ! -r "$srcdir/$ac_unique_file"; then
1524 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1525 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1526 fi
1527 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1528 ac_abs_confdir=`(
1529 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 'configure' configures libxfce4ui 4.20.2 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print 'checking ...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for '--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or '..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, 'make install' will install all the files in
1582 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than '$ac_default_prefix' using '--prefix',
1584 for instance '--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1596 --libdir=DIR object code libraries [EPREFIX/lib]
1597 --includedir=DIR C header files [PREFIX/include]
1598 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1599 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1600 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1601 --infodir=DIR info documentation [DATAROOTDIR/info]
1602 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1603 --mandir=DIR man documentation [DATAROOTDIR/man]
1604 --docdir=DIR documentation root [DATAROOTDIR/doc/libxfce4ui]
1605 --htmldir=DIR html documentation [DOCDIR]
1606 --dvidir=DIR dvi documentation [DOCDIR]
1607 --pdfdir=DIR pdf documentation [DOCDIR]
1608 --psdir=DIR ps documentation [DOCDIR]
1609 _ACEOF
1610
1611 cat <<\_ACEOF
1612
1613 Program names:
1614 --program-prefix=PREFIX prepend PREFIX to installed program names
1615 --program-suffix=SUFFIX append SUFFIX to installed program names
1616 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1617
1618 System types:
1619 --build=BUILD configure for building on BUILD [guessed]
1620 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1621 --target=TARGET configure for building compilers for TARGET [HOST]
1622 _ACEOF
1623 fi
1624
1625 if test -n "$ac_init_help"; then
1626 case $ac_init_help in
1627 short | recursive ) echo "Configuration of libxfce4ui 4.20.2:";;
1628 esac
1629 cat <<\_ACEOF
1630
1631 Optional Features:
1632 --disable-option-checking ignore unrecognized --enable/--with options
1633 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1634 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1635 --enable-silent-rules less verbose build output (undo: "make V=1")
1636 --disable-silent-rules verbose build output (undo: "make V=0")
1637 --enable-maintainer-mode
1638 enable make rules and dependencies not useful (and
1639 sometimes confusing) to the casual installer
1640 --enable-dependency-tracking
1641 do not reject slow dependency extractors
1642 --disable-dependency-tracking
1643 speeds up one-time build
1644 --enable-static[=PKGS] build static libraries [default=no]
1645 --enable-shared[=PKGS] build shared libraries [default=yes]
1646 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1647 both]
1648 --enable-cxx-stdlib[=PKGS]
1649 let the compiler frontend decide what standard
1650 libraries to link when building C++ shared libraries
1651 and modules [default=no]
1652 --enable-fast-install[=PKGS]
1653 optimize for fast installation [default=yes]
1654 --enable-aix-soname=aix|svr4|both
1655 shared library versioning (aka "SONAME") variant to
1656 provide on AIX, [default=aix].
1657 --disable-libtool-lock avoid locking (might break parallel builds)
1658 --disable-nls do not use Native Language Support
1659 --disable-rpath do not hardcode runtime library paths
1660 --enable-x11 Enable support for the X11 windowing
1661 system (default=[])
1662 --disable-x11 Disable support for the X11 windowing
1663 system
1664 --enable-wayland Enable support for the Wayland windowing
1665 system (default=[])
1666 --disable-wayland Disable support for the Wayland windowing
1667 system
1668 --enable-libsm Enable support for session management
1669 library (default=[])
1670 --disable-libsm Disable support for session management
1671 library
1672 --enable-startup-notification
1673 Enable checking for startup notification library
1674 (default=[])
1675 --disable-startup-notification
1676 Disable checking for startup notification library
1677 --enable-glibtop Enable checking for GLIBTOP support
1678 (default=[])
1679 --disable-glibtop Disable checking for GLIBTOP support
1680 --enable-epoxy Enable checking for library for handling OpenGL
1681 function pointer management
1682 (default=[yes])
1683 --disable-epoxy Disable checking for library for handling OpenGL
1684 function pointer management
1685 --enable-gudev Enable checking for GObject bindings for libudev
1686 (default=[yes])
1687 --disable-gudev Disable checking for GObject bindings for libudev
1688 --enable-introspection=[no/auto/yes]
1689 Enable introspection for this build
1690 --enable-vala=[no/auto/yes]
1691 build Vala bindings [default=auto]
1692 --disable-keyboard-library
1693 Do not compile the keyboard library needed by xfwm4
1694 and xfce4-settings (default=enabled)
1695 --enable-gladeui2 Enable checking for glade interface designer
1696 (default=[])
1697 --disable-gladeui2 Disable checking for glade interface designer
1698 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1699 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1700 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1701 --enable-debug[=no|minimum|yes|full|werror]
1702 Build with debugging support
1703 [default=[minimum]]
1704 --disable-debug Include no debugging support
1705 --disable-linker-opts Disable linker optimizations
1706 --disable-visibility Do not use ELF visibility attributes
1707 --enable-tests enable validation test framework
1708 [default=[disabled]]
1709
1710 Optional Packages:
1711 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1712 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1713 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1714 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1715 compiler's sysroot if not specified).
1716 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1717 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1718 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1719 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1720 --without-libintl-prefix don't search for libintl in includedir and libdir
1721 --with-vendor-info=NAME Specify an additional vendor name, optionally with a
1722 file in $prefix/share/xfce4/venderinfo
1723 --with-manual-website=URI
1724 Specify an optional manual website, defaults to
1725 https://docs.xfce.org.
1726 --with-gladeui2-catalogdir=PATH
1727 Specify where to install glade 3.0 designer catalog
1728 files (default=autodetect)
1729 --with-gladeui2-moduledir=PATH
1730 Specify where to install glade 3.0 designer modules
1731 (default=autodetect)
1732 --with-gladeui2-pixmapdir=PATH
1733 Specify where to install glade 3.0 designer pixmaps
1734 (default=autodetect)
1735 --with-html-dir=PATH path to installed docs
1736
1737 Some influential environment variables:
1738 CC C compiler command
1739 CFLAGS C compiler flags
1740 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1741 nonstandard directory <lib dir>
1742 LIBS libraries to pass to the linker, e.g. -l<library>
1743 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1744 you have headers in a nonstandard directory <include dir>
1745 LT_SYS_LIBRARY_PATH
1746 User-defined run-time library search path.
1747 CPP C preprocessor
1748 PKG_CONFIG path to pkg-config utility
1749 PKG_CONFIG_PATH
1750 directories to add to pkg-config's search path
1751 PKG_CONFIG_LIBDIR
1752 path overriding pkg-config's built-in search path
1753 GTKDOC_DEPS_CFLAGS
1754 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1755 GTKDOC_DEPS_LIBS
1756 linker flags for GTKDOC_DEPS, overriding pkg-config
1757
1758 Use these variables to override the choices made by 'configure' or to help
1759 it to find libraries and programs with nonstandard names/locations.
1760
1761 Report bugs to <https://gitlab.xfce.org/xfce/libxfce4ui/-/issues>.
1762 _ACEOF
1763 ac_status=$?
1764 fi
1765
1766 if test "$ac_init_help" = "recursive"; then
1767 # If there are subdirs, report their specific --help.
1768 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1769 test -d "$ac_dir" ||
1770 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1771 continue
1772 ac_builddir=.
1773
1774 case "$ac_dir" in
1775 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1776 *)
1777 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1778 # A ".." for each directory in $ac_dir_suffix.
1779 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1780 case $ac_top_builddir_sub in
1781 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1782 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1783 esac ;;
1784 esac
1785 ac_abs_top_builddir=$ac_pwd
1786 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1787 # for backward compatibility:
1788 ac_top_builddir=$ac_top_build_prefix
1789
1790 case $srcdir in
1791 .) # We are building in place.
1792 ac_srcdir=.
1793 ac_top_srcdir=$ac_top_builddir_sub
1794 ac_abs_top_srcdir=$ac_pwd ;;
1795 [\\/]* | ?:[\\/]* ) # Absolute name.
1796 ac_srcdir=$srcdir$ac_dir_suffix;
1797 ac_top_srcdir=$srcdir
1798 ac_abs_top_srcdir=$srcdir ;;
1799 *) # Relative name.
1800 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1801 ac_top_srcdir=$ac_top_build_prefix$srcdir
1802 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1803 esac
1804 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1805
1806 cd "$ac_dir" || { ac_status=$?; continue; }
1807 # Check for configure.gnu first; this name is used for a wrapper for
1808 # Metaconfig's "Configure" on case-insensitive file systems.
1809 if test -f "$ac_srcdir/configure.gnu"; then
1810 echo &&
1811 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1812 elif test -f "$ac_srcdir/configure"; then
1813 echo &&
1814 $SHELL "$ac_srcdir/configure" --help=recursive
1815 else
1816 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1817 fi || ac_status=$?
1818 cd "$ac_pwd" || { ac_status=$?; break; }
1819 done
1820 fi
1821
1822 test -n "$ac_init_help" && exit $ac_status
1823 if $ac_init_version; then
1824 cat <<\_ACEOF
1825 libxfce4ui configure 4.20.2
1826 generated by GNU Autoconf 2.72
1827
1828 Copyright (C) 2023 Free Software Foundation, Inc.
1829 This configure script is free software; the Free Software Foundation
1830 gives unlimited permission to copy, distribute and modify it.
1831
1832 Copyright (c) 2007-2025 The Xfce development team
1833 _ACEOF
1834 exit
1835 fi
1836
1837 ## ------------------------ ##
1838 ## Autoconf initialization. ##
1839 ## ------------------------ ##
1840
1841 # ac_fn_c_try_compile LINENO
1842 # --------------------------
1843 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1844 ac_fn_c_try_compile ()
1845 {
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 rm -f conftest.$ac_objext conftest.beam
1848 if { { ac_try="$ac_compile"
1849 case "(($ac_try" in
1850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1851 *) ac_try_echo=$ac_try;;
1852 esac
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 printf "%s\n" "$ac_try_echo"; } >&5
1855 (eval "$ac_compile") 2>conftest.err
1856 ac_status=$?
1857 if test -s conftest.err; then
1858 grep -v '^ *+' conftest.err >conftest.er1
1859 cat conftest.er1 >&5
1860 mv -f conftest.er1 conftest.err
1861 fi
1862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && {
1864 test -z "$ac_c_werror_flag" ||
1865 test ! -s conftest.err
1866 } && test -s conftest.$ac_objext
1867 then :
1868 ac_retval=0
1869 else case e in #(
1870 e) printf "%s\n" "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1872
1873 ac_retval=1 ;;
1874 esac
1875 fi
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status $ac_retval
1878
1879 } # ac_fn_c_try_compile
1880
1881 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1882 # -------------------------------------------------------
1883 # Tests whether HEADER exists and can be compiled using the include files in
1884 # INCLUDES, setting the cache variable VAR accordingly.
1885 ac_fn_c_check_header_compile ()
1886 {
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 printf %s "checking for $2... " >&6; }
1890 if eval test \${$3+y}
1891 then :
1892 printf %s "(cached) " >&6
1893 else case e in #(
1894 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 $4
1897 #include <$2>
1898 _ACEOF
1899 if ac_fn_c_try_compile "$LINENO"
1900 then :
1901 eval "$3=yes"
1902 else case e in #(
1903 e) eval "$3=no" ;;
1904 esac
1905 fi
1906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1907 esac
1908 fi
1909 eval ac_res=\$$3
1910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 printf "%s\n" "$ac_res" >&6; }
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913
1914 } # ac_fn_c_check_header_compile
1915
1916 # ac_fn_c_try_link LINENO
1917 # -----------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_c_try_link ()
1920 {
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1923 if { { ac_try="$ac_link"
1924 case "(($ac_try" in
1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1927 esac
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 printf "%s\n" "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>conftest.err
1931 ac_status=$?
1932 if test -s conftest.err; then
1933 grep -v '^ *+' conftest.err >conftest.er1
1934 cat conftest.er1 >&5
1935 mv -f conftest.er1 conftest.err
1936 fi
1937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_c_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest$ac_exeext && {
1942 test "$cross_compiling" = yes ||
1943 test -x conftest$ac_exeext
1944 }
1945 then :
1946 ac_retval=0
1947 else case e in #(
1948 e) printf "%s\n" "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.$ac_ext >&5
1950
1951 ac_retval=1 ;;
1952 esac
1953 fi
1954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956 # interfere with the next link command; also delete a directory that is
1957 # left behind by Apple's compiler. We do this before executing the actions.
1958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960 as_fn_set_status $ac_retval
1961
1962 } # ac_fn_c_try_link
1963
1964 # ac_fn_c_check_func LINENO FUNC VAR
1965 # ----------------------------------
1966 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1967 ac_fn_c_check_func ()
1968 {
1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 printf %s "checking for $2... " >&6; }
1972 if eval test \${$3+y}
1973 then :
1974 printf %s "(cached) " >&6
1975 else case e in #(
1976 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1978 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1980 #define $2 innocuous_$2
1981
1982 /* System header to define __stub macros and hopefully few prototypes,
1983 which can conflict with char $2 (void); below. */
1984
1985 #include <limits.h>
1986 #undef $2
1987
1988 /* Override any GCC internal prototype to avoid an error.
1989 Use char because int might match the return type of a GCC
1990 builtin and then its argument prototype would still apply. */
1991 #ifdef __cplusplus
1992 extern "C"
1993 #endif
1994 char $2 (void);
1995 /* The GNU C library defines this for functions which it implements
1996 to always fail with ENOSYS. Some functions are actually named
1997 something starting with __ and the normal name is an alias. */
1998 #if defined __stub_$2 || defined __stub___$2
1999 choke me
2000 #endif
2001
2002 int
2003 main (void)
2004 {
2005 return $2 ();
2006 ;
2007 return 0;
2008 }
2009 _ACEOF
2010 if ac_fn_c_try_link "$LINENO"
2011 then :
2012 eval "$3=yes"
2013 else case e in #(
2014 e) eval "$3=no" ;;
2015 esac
2016 fi
2017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2018 conftest$ac_exeext conftest.$ac_ext ;;
2019 esac
2020 fi
2021 eval ac_res=\$$3
2022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 printf "%s\n" "$ac_res" >&6; }
2024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025
2026 } # ac_fn_c_check_func
2027
2028 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2029 # ------------------------------------------------------------------
2030 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2031 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2032 ac_fn_check_decl ()
2033 {
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 as_decl_name=`echo $2|sed 's/ *(.*//'`
2036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2037 printf %s "checking whether $as_decl_name is declared... " >&6; }
2038 if eval test \${$3+y}
2039 then :
2040 printf %s "(cached) " >&6
2041 else case e in #(
2042 e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2043 eval ac_save_FLAGS=\$$6
2044 as_fn_append $6 " $5"
2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2047 $4
2048 int
2049 main (void)
2050 {
2051 #ifndef $as_decl_name
2052 #ifdef __cplusplus
2053 (void) $as_decl_use;
2054 #else
2055 (void) $as_decl_name;
2056 #endif
2057 #endif
2058
2059 ;
2060 return 0;
2061 }
2062 _ACEOF
2063 if ac_fn_c_try_compile "$LINENO"
2064 then :
2065 eval "$3=yes"
2066 else case e in #(
2067 e) eval "$3=no" ;;
2068 esac
2069 fi
2070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2071 eval $6=\$ac_save_FLAGS
2072 ;;
2073 esac
2074 fi
2075 eval ac_res=\$$3
2076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 printf "%s\n" "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079
2080 } # ac_fn_check_decl
2081
2082 # ac_fn_c_try_cpp LINENO
2083 # ----------------------
2084 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2085 ac_fn_c_try_cpp ()
2086 {
2087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088 if { { ac_try="$ac_cpp conftest.$ac_ext"
2089 case "(($ac_try" in
2090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2091 *) ac_try_echo=$ac_try;;
2092 esac
2093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2094 printf "%s\n" "$ac_try_echo"; } >&5
2095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2096 ac_status=$?
2097 if test -s conftest.err; then
2098 grep -v '^ *+' conftest.err >conftest.er1
2099 cat conftest.er1 >&5
2100 mv -f conftest.er1 conftest.err
2101 fi
2102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2103 test $ac_status = 0; } > conftest.i && {
2104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2105 test ! -s conftest.err
2106 }
2107 then :
2108 ac_retval=0
2109 else case e in #(
2110 e) printf "%s\n" "$as_me: failed program was:" >&5
2111 sed 's/^/| /' conftest.$ac_ext >&5
2112
2113 ac_retval=1 ;;
2114 esac
2115 fi
2116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2117 as_fn_set_status $ac_retval
2118
2119 } # ac_fn_c_try_cpp
2120
2121 # ac_fn_c_try_run LINENO
2122 # ----------------------
2123 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2124 # executables *can* be run.
2125 ac_fn_c_try_run ()
2126 {
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 if { { ac_try="$ac_link"
2129 case "(($ac_try" in
2130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2131 *) ac_try_echo=$ac_try;;
2132 esac
2133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2134 printf "%s\n" "$ac_try_echo"; } >&5
2135 (eval "$ac_link") 2>&5
2136 ac_status=$?
2137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2139 { { case "(($ac_try" in
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2142 esac
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 printf "%s\n" "$ac_try_echo"; } >&5
2145 (eval "$ac_try") 2>&5
2146 ac_status=$?
2147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; }; }
2149 then :
2150 ac_retval=0
2151 else case e in #(
2152 e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2153 printf "%s\n" "$as_me: failed program was:" >&5
2154 sed 's/^/| /' conftest.$ac_ext >&5
2155
2156 ac_retval=$ac_status ;;
2157 esac
2158 fi
2159 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2161 as_fn_set_status $ac_retval
2162
2163 } # ac_fn_c_try_run
2164 ac_configure_args_raw=
2165 for ac_arg
2166 do
2167 case $ac_arg in
2168 *\'*)
2169 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2170 esac
2171 as_fn_append ac_configure_args_raw " '$ac_arg'"
2172 done
2173
2174 case $ac_configure_args_raw in
2175 *$as_nl*)
2176 ac_safe_unquote= ;;
2177 *)
2178 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2179 ac_unsafe_a="$ac_unsafe_z#~"
2180 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2181 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2182 esac
2183
2184 cat >config.log <<_ACEOF
2185 This file contains any messages produced by compilers while
2186 running configure, to aid debugging if configure makes a mistake.
2187
2188 It was created by libxfce4ui $as_me 4.20.2, which was
2189 generated by GNU Autoconf 2.72. Invocation command line was
2190
2191 $ $0$ac_configure_args_raw
2192
2193 _ACEOF
2194 exec 5>>config.log
2195 {
2196 cat <<_ASUNAME
2197 ## --------- ##
2198 ## Platform. ##
2199 ## --------- ##
2200
2201 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2202 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2203 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2204 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2205 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2206
2207 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2208 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2209
2210 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2211 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2212 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2213 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2214 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2215 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2216 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2217
2218 _ASUNAME
2219
2220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221 for as_dir in $PATH
2222 do
2223 IFS=$as_save_IFS
2224 case $as_dir in #(((
2225 '') as_dir=./ ;;
2226 */) ;;
2227 *) as_dir=$as_dir/ ;;
2228 esac
2229 printf "%s\n" "PATH: $as_dir"
2230 done
2231 IFS=$as_save_IFS
2232
2233 } >&5
2234
2235 cat >&5 <<_ACEOF
2236
2237
2238 ## ----------- ##
2239 ## Core tests. ##
2240 ## ----------- ##
2241
2242 _ACEOF
2243
2244
2245 # Keep a trace of the command line.
2246 # Strip out --no-create and --no-recursion so they do not pile up.
2247 # Strip out --silent because we don't want to record it for future runs.
2248 # Also quote any args containing shell meta-characters.
2249 # Make two passes to allow for proper duplicate-argument suppression.
2250 ac_configure_args=
2251 ac_configure_args0=
2252 ac_configure_args1=
2253 ac_must_keep_next=false
2254 for ac_pass in 1 2
2255 do
2256 for ac_arg
2257 do
2258 case $ac_arg in
2259 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2260 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2261 | -silent | --silent | --silen | --sile | --sil)
2262 continue ;;
2263 *\'*)
2264 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2265 esac
2266 case $ac_pass in
2267 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2268 2)
2269 as_fn_append ac_configure_args1 " '$ac_arg'"
2270 if test $ac_must_keep_next = true; then
2271 ac_must_keep_next=false # Got value, back to normal.
2272 else
2273 case $ac_arg in
2274 *=* | --config-cache | -C | -disable-* | --disable-* \
2275 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2276 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2277 | -with-* | --with-* | -without-* | --without-* | --x)
2278 case "$ac_configure_args0 " in
2279 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2280 esac
2281 ;;
2282 -* ) ac_must_keep_next=true ;;
2283 esac
2284 fi
2285 as_fn_append ac_configure_args " '$ac_arg'"
2286 ;;
2287 esac
2288 done
2289 done
2290 { ac_configure_args0=; unset ac_configure_args0;}
2291 { ac_configure_args1=; unset ac_configure_args1;}
2292
2293 # When interrupted or exit'd, cleanup temporary files, and complete
2294 # config.log. We remove comments because anyway the quotes in there
2295 # would cause problems or look ugly.
2296 # WARNING: Use '\'' to represent an apostrophe within the trap.
2297 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2298 trap 'exit_status=$?
2299 # Sanitize IFS.
2300 IFS=" "" $as_nl"
2301 # Save into config.log some information that might help in debugging.
2302 {
2303 echo
2304
2305 printf "%s\n" "## ---------------- ##
2306 ## Cache variables. ##
2307 ## ---------------- ##"
2308 echo
2309 # The following way of writing the cache mishandles newlines in values,
2310 (
2311 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2312 eval ac_val=\$$ac_var
2313 case $ac_val in #(
2314 *${as_nl}*)
2315 case $ac_var in #(
2316 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2317 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2318 esac
2319 case $ac_var in #(
2320 _ | IFS | as_nl) ;; #(
2321 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2322 *) { eval $ac_var=; unset $ac_var;} ;;
2323 esac ;;
2324 esac
2325 done
2326 (set) 2>&1 |
2327 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2328 *${as_nl}ac_space=\ *)
2329 sed -n \
2330 "s/'\''/'\''\\\\'\'''\''/g;
2331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2332 ;; #(
2333 *)
2334 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2335 ;;
2336 esac |
2337 sort
2338 )
2339 echo
2340
2341 printf "%s\n" "## ----------------- ##
2342 ## Output variables. ##
2343 ## ----------------- ##"
2344 echo
2345 for ac_var in $ac_subst_vars
2346 do
2347 eval ac_val=\$$ac_var
2348 case $ac_val in
2349 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2350 esac
2351 printf "%s\n" "$ac_var='\''$ac_val'\''"
2352 done | sort
2353 echo
2354
2355 if test -n "$ac_subst_files"; then
2356 printf "%s\n" "## ------------------- ##
2357 ## File substitutions. ##
2358 ## ------------------- ##"
2359 echo
2360 for ac_var in $ac_subst_files
2361 do
2362 eval ac_val=\$$ac_var
2363 case $ac_val in
2364 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2365 esac
2366 printf "%s\n" "$ac_var='\''$ac_val'\''"
2367 done | sort
2368 echo
2369 fi
2370
2371 if test -s confdefs.h; then
2372 printf "%s\n" "## ----------- ##
2373 ## confdefs.h. ##
2374 ## ----------- ##"
2375 echo
2376 cat confdefs.h
2377 echo
2378 fi
2379 test "$ac_signal" != 0 &&
2380 printf "%s\n" "$as_me: caught signal $ac_signal"
2381 printf "%s\n" "$as_me: exit $exit_status"
2382 } >&5
2383 rm -f core *.core core.conftest.* &&
2384 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2385 exit $exit_status
2386 ' 0
2387 for ac_signal in 1 2 13 15; do
2388 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2389 done
2390 ac_signal=0
2391
2392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2393 rm -f -r conftest* confdefs.h
2394
2395 printf "%s\n" "/* confdefs.h */" > confdefs.h
2396
2397 # Predefined preprocessor variables.
2398
2399 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2400
2401 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2402
2403 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2404
2405 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2406
2407 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2408
2409 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2410
2411
2412 # Let the site file select an alternate cache file if it wants to.
2413 # Prefer an explicitly selected file to automatically selected ones.
2414 if test -n "$CONFIG_SITE"; then
2415 ac_site_files="$CONFIG_SITE"
2416 elif test "x$prefix" != xNONE; then
2417 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2418 else
2419 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2420 fi
2421
2422 for ac_site_file in $ac_site_files
2423 do
2424 case $ac_site_file in #(
2425 */*) :
2426 ;; #(
2427 *) :
2428 ac_site_file=./$ac_site_file ;;
2429 esac
2430 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2432 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2433 sed 's/^/| /' "$ac_site_file" >&5
2434 . "$ac_site_file" \
2435 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2436 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2437 as_fn_error $? "failed to load site script $ac_site_file
2438 See 'config.log' for more details" "$LINENO" 5; }
2439 fi
2440 done
2441
2442 if test -r "$cache_file"; then
2443 # Some versions of bash will fail to source /dev/null (special files
2444 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2445 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2447 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2448 case $cache_file in
2449 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2450 *) . "./$cache_file";;
2451 esac
2452 fi
2453 else
2454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2455 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2456 >$cache_file
2457 fi
2458
2459 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2460 # Test code for whether the C compiler supports C89 (global declarations)
2461 ac_c_conftest_c89_globals='
2462 /* Does the compiler advertise C89 conformance?
2463 Do not test the value of __STDC__, because some compilers set it to 0
2464 while being otherwise adequately conformant. */
2465 #if !defined __STDC__
2466 # error "Compiler does not advertise C89 conformance"
2467 #endif
2468
2469 #include <stddef.h>
2470 #include <stdarg.h>
2471 struct stat;
2472 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2473 struct buf { int x; };
2474 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2475 static char *e (char **p, int i)
2476 {
2477 return p[i];
2478 }
2479 static char *f (char * (*g) (char **, int), char **p, ...)
2480 {
2481 char *s;
2482 va_list v;
2483 va_start (v,p);
2484 s = g (p, va_arg (v,int));
2485 va_end (v);
2486 return s;
2487 }
2488
2489 /* C89 style stringification. */
2490 #define noexpand_stringify(a) #a
2491 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2492
2493 /* C89 style token pasting. Exercises some of the corner cases that
2494 e.g. old MSVC gets wrong, but not very hard. */
2495 #define noexpand_concat(a,b) a##b
2496 #define expand_concat(a,b) noexpand_concat(a,b)
2497 extern int vA;
2498 extern int vbee;
2499 #define aye A
2500 #define bee B
2501 int *pvA = &expand_concat(v,aye);
2502 int *pvbee = &noexpand_concat(v,bee);
2503
2504 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2505 function prototypes and stuff, but not \xHH hex character constants.
2506 These do not provoke an error unfortunately, instead are silently treated
2507 as an "x". The following induces an error, until -std is added to get
2508 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2509 array size at least. It is necessary to write \x00 == 0 to get something
2510 that is true only with -std. */
2511 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2512
2513 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2514 inside strings and character constants. */
2515 #define FOO(x) '\''x'\''
2516 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2517
2518 int test (int i, double x);
2519 struct s1 {int (*f) (int a);};
2520 struct s2 {int (*f) (double a);};
2521 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2522 int, int);'
2523
2524 # Test code for whether the C compiler supports C89 (body of main).
2525 ac_c_conftest_c89_main='
2526 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2527 '
2528
2529 # Test code for whether the C compiler supports C99 (global declarations)
2530 ac_c_conftest_c99_globals='
2531 /* Does the compiler advertise C99 conformance? */
2532 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2533 # error "Compiler does not advertise C99 conformance"
2534 #endif
2535
2536 // See if C++-style comments work.
2537
2538 #include <stdbool.h>
2539 extern int puts (const char *);
2540 extern int printf (const char *, ...);
2541 extern int dprintf (int, const char *, ...);
2542 extern void *malloc (size_t);
2543 extern void free (void *);
2544
2545 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2546 // dprintf is used instead of fprintf to avoid needing to declare
2547 // FILE and stderr.
2548 #define debug(...) dprintf (2, __VA_ARGS__)
2549 #define showlist(...) puts (#__VA_ARGS__)
2550 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2551 static void
2552 test_varargs_macros (void)
2553 {
2554 int x = 1234;
2555 int y = 5678;
2556 debug ("Flag");
2557 debug ("X = %d\n", x);
2558 showlist (The first, second, and third items.);
2559 report (x>y, "x is %d but y is %d", x, y);
2560 }
2561
2562 // Check long long types.
2563 #define BIG64 18446744073709551615ull
2564 #define BIG32 4294967295ul
2565 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2566 #if !BIG_OK
2567 #error "your preprocessor is broken"
2568 #endif
2569 #if BIG_OK
2570 #else
2571 #error "your preprocessor is broken"
2572 #endif
2573 static long long int bignum = -9223372036854775807LL;
2574 static unsigned long long int ubignum = BIG64;
2575
2576 struct incomplete_array
2577 {
2578 int datasize;
2579 double data[];
2580 };
2581
2582 struct named_init {
2583 int number;
2584 const wchar_t *name;
2585 double average;
2586 };
2587
2588 typedef const char *ccp;
2589
2590 static inline int
2591 test_restrict (ccp restrict text)
2592 {
2593 // Iterate through items via the restricted pointer.
2594 // Also check for declarations in for loops.
2595 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2596 continue;
2597 return 0;
2598 }
2599
2600 // Check varargs and va_copy.
2601 static bool
2602 test_varargs (const char *format, ...)
2603 {
2604 va_list args;
2605 va_start (args, format);
2606 va_list args_copy;
2607 va_copy (args_copy, args);
2608
2609 const char *str = "";
2610 int number = 0;
2611 float fnumber = 0;
2612
2613 while (*format)
2614 {
2615 switch (*format++)
2616 {
2617 case '\''s'\'': // string
2618 str = va_arg (args_copy, const char *);
2619 break;
2620 case '\''d'\'': // int
2621 number = va_arg (args_copy, int);
2622 break;
2623 case '\''f'\'': // float
2624 fnumber = va_arg (args_copy, double);
2625 break;
2626 default:
2627 break;
2628 }
2629 }
2630 va_end (args_copy);
2631 va_end (args);
2632
2633 return *str && number && fnumber;
2634 }
2635 '
2636
2637 # Test code for whether the C compiler supports C99 (body of main).
2638 ac_c_conftest_c99_main='
2639 // Check bool.
2640 _Bool success = false;
2641 success |= (argc != 0);
2642
2643 // Check restrict.
2644 if (test_restrict ("String literal") == 0)
2645 success = true;
2646 char *restrict newvar = "Another string";
2647
2648 // Check varargs.
2649 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2650 test_varargs_macros ();
2651
2652 // Check flexible array members.
2653 struct incomplete_array *ia =
2654 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2655 ia->datasize = 10;
2656 for (int i = 0; i < ia->datasize; ++i)
2657 ia->data[i] = i * 1.234;
2658 // Work around memory leak warnings.
2659 free (ia);
2660
2661 // Check named initializers.
2662 struct named_init ni = {
2663 .number = 34,
2664 .name = L"Test wide string",
2665 .average = 543.34343,
2666 };
2667
2668 ni.number = 58;
2669
2670 int dynamic_array[ni.number];
2671 dynamic_array[0] = argv[0][0];
2672 dynamic_array[ni.number - 1] = 543;
2673
2674 // work around unused variable warnings
2675 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2676 || dynamic_array[ni.number - 1] != 543);
2677 '
2678
2679 # Test code for whether the C compiler supports C11 (global declarations)
2680 ac_c_conftest_c11_globals='
2681 /* Does the compiler advertise C11 conformance? */
2682 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2683 # error "Compiler does not advertise C11 conformance"
2684 #endif
2685
2686 // Check _Alignas.
2687 char _Alignas (double) aligned_as_double;
2688 char _Alignas (0) no_special_alignment;
2689 extern char aligned_as_int;
2690 char _Alignas (0) _Alignas (int) aligned_as_int;
2691
2692 // Check _Alignof.
2693 enum
2694 {
2695 int_alignment = _Alignof (int),
2696 int_array_alignment = _Alignof (int[100]),
2697 char_alignment = _Alignof (char)
2698 };
2699 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2700
2701 // Check _Noreturn.
2702 int _Noreturn does_not_return (void) { for (;;) continue; }
2703
2704 // Check _Static_assert.
2705 struct test_static_assert
2706 {
2707 int x;
2708 _Static_assert (sizeof (int) <= sizeof (long int),
2709 "_Static_assert does not work in struct");
2710 long int y;
2711 };
2712
2713 // Check UTF-8 literals.
2714 #define u8 syntax error!
2715 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2716
2717 // Check duplicate typedefs.
2718 typedef long *long_ptr;
2719 typedef long int *long_ptr;
2720 typedef long_ptr long_ptr;
2721
2722 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2723 struct anonymous
2724 {
2725 union {
2726 struct { int i; int j; };
2727 struct { int k; long int l; } w;
2728 };
2729 int m;
2730 } v1;
2731 '
2732
2733 # Test code for whether the C compiler supports C11 (body of main).
2734 ac_c_conftest_c11_main='
2735 _Static_assert ((offsetof (struct anonymous, i)
2736 == offsetof (struct anonymous, w.k)),
2737 "Anonymous union alignment botch");
2738 v1.i = 2;
2739 v1.w.k = 5;
2740 ok |= v1.i != 5;
2741 '
2742
2743 # Test code for whether the C compiler supports C11 (complete).
2744 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2745 ${ac_c_conftest_c99_globals}
2746 ${ac_c_conftest_c11_globals}
2747
2748 int
2749 main (int argc, char **argv)
2750 {
2751 int ok = 0;
2752 ${ac_c_conftest_c89_main}
2753 ${ac_c_conftest_c99_main}
2754 ${ac_c_conftest_c11_main}
2755 return ok;
2756 }
2757 "
2758
2759 # Test code for whether the C compiler supports C99 (complete).
2760 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2761 ${ac_c_conftest_c99_globals}
2762
2763 int
2764 main (int argc, char **argv)
2765 {
2766 int ok = 0;
2767 ${ac_c_conftest_c89_main}
2768 ${ac_c_conftest_c99_main}
2769 return ok;
2770 }
2771 "
2772
2773 # Test code for whether the C compiler supports C89 (complete).
2774 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2775
2776 int
2777 main (int argc, char **argv)
2778 {
2779 int ok = 0;
2780 ${ac_c_conftest_c89_main}
2781 return ok;
2782 }
2783 "
2784
2785 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2786 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2787 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2788 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2789 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2790 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2791 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2792 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2793 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2794 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2795 gt_needs="$gt_needs "
2796
2797 # Auxiliary files required by this configure script.
2798 ac_aux_files="config.rpath ltmain.sh compile missing install-sh config.guess config.sub"
2799
2800 # Locations in which to look for auxiliary files.
2801 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2802
2803 # Search for a directory containing all of the required auxiliary files,
2804 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2805 # If we don't find one directory that contains all the files we need,
2806 # we report the set of missing files from the *first* directory in
2807 # $ac_aux_dir_candidates and give up.
2808 ac_missing_aux_files=""
2809 ac_first_candidate=:
2810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 as_found=false
2813 for as_dir in $ac_aux_dir_candidates
2814 do
2815 IFS=$as_save_IFS
2816 case $as_dir in #(((
2817 '') as_dir=./ ;;
2818 */) ;;
2819 *) as_dir=$as_dir/ ;;
2820 esac
2821 as_found=:
2822
2823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2824 ac_aux_dir_found=yes
2825 ac_install_sh=
2826 for ac_aux in $ac_aux_files
2827 do
2828 # As a special case, if "install-sh" is required, that requirement
2829 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2830 # and $ac_install_sh is set appropriately for whichever one is found.
2831 if test x"$ac_aux" = x"install-sh"
2832 then
2833 if test -f "${as_dir}install-sh"; then
2834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2835 ac_install_sh="${as_dir}install-sh -c"
2836 elif test -f "${as_dir}install.sh"; then
2837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2838 ac_install_sh="${as_dir}install.sh -c"
2839 elif test -f "${as_dir}shtool"; then
2840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2841 ac_install_sh="${as_dir}shtool install -c"
2842 else
2843 ac_aux_dir_found=no
2844 if $ac_first_candidate; then
2845 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2846 else
2847 break
2848 fi
2849 fi
2850 else
2851 if test -f "${as_dir}${ac_aux}"; then
2852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2853 else
2854 ac_aux_dir_found=no
2855 if $ac_first_candidate; then
2856 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2857 else
2858 break
2859 fi
2860 fi
2861 fi
2862 done
2863 if test "$ac_aux_dir_found" = yes; then
2864 ac_aux_dir="$as_dir"
2865 break
2866 fi
2867 ac_first_candidate=false
2868
2869 as_found=false
2870 done
2871 IFS=$as_save_IFS
2872 if $as_found
2873 then :
2874
2875 else case e in #(
2876 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2877 esac
2878 fi
2879
2880
2881 # These three variables are undocumented and unsupported,
2882 # and are intended to be withdrawn in a future Autoconf release.
2883 # They can cause serious problems if a builder's source tree is in a directory
2884 # whose full name contains unusual characters.
2885 if test -f "${ac_aux_dir}config.guess"; then
2886 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2887 fi
2888 if test -f "${ac_aux_dir}config.sub"; then
2889 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2890 fi
2891 if test -f "$ac_aux_dir/configure"; then
2892 ac_configure="$SHELL ${ac_aux_dir}configure"
2893 fi
2894
2895 # Check that the precious variables saved in the cache have kept the same
2896 # value.
2897 ac_cache_corrupted=false
2898 for ac_var in $ac_precious_vars; do
2899 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2900 eval ac_new_set=\$ac_env_${ac_var}_set
2901 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2902 eval ac_new_val=\$ac_env_${ac_var}_value
2903 case $ac_old_set,$ac_new_set in
2904 set,)
2905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2906 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2907 ac_cache_corrupted=: ;;
2908 ,set)
2909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2910 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2911 ac_cache_corrupted=: ;;
2912 ,);;
2913 *)
2914 if test "x$ac_old_val" != "x$ac_new_val"; then
2915 # differences in whitespace do not lead to failure.
2916 ac_old_val_w=`echo x $ac_old_val`
2917 ac_new_val_w=`echo x $ac_new_val`
2918 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2920 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2921 ac_cache_corrupted=:
2922 else
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2924 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2925 eval $ac_var=\$ac_old_val
2926 fi
2927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2928 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2930 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2931 fi;;
2932 esac
2933 # Pass precious variables to config.status.
2934 if test "$ac_new_set" = set; then
2935 case $ac_new_val in
2936 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2937 *) ac_arg=$ac_var=$ac_new_val ;;
2938 esac
2939 case " $ac_configure_args " in
2940 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2941 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2942 esac
2943 fi
2944 done
2945 if $ac_cache_corrupted; then
2946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2947 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2949 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2950 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2951 and start over" "$LINENO" 5
2952 fi
2953 ## -------------------- ##
2954 ## Main body of script. ##
2955 ## -------------------- ##
2956
2957 ac_ext=c
2958 ac_cpp='$CPP $CPPFLAGS'
2959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2962
2963
2964
2965
2966
2967
2968
2969
2970 # Make sure we can run config.sub.
2971 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2972 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2973
2974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2975 printf %s "checking build system type... " >&6; }
2976 if test ${ac_cv_build+y}
2977 then :
2978 printf %s "(cached) " >&6
2979 else case e in #(
2980 e) ac_build_alias=$build_alias
2981 test "x$ac_build_alias" = x &&
2982 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2983 test "x$ac_build_alias" = x &&
2984 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2985 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2986 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2987 ;;
2988 esac
2989 fi
2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2991 printf "%s\n" "$ac_cv_build" >&6; }
2992 case $ac_cv_build in
2993 *-*-*) ;;
2994 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2995 esac
2996 build=$ac_cv_build
2997 ac_save_IFS=$IFS; IFS='-'
2998 set x $ac_cv_build
2999 shift
3000 build_cpu=$1
3001 build_vendor=$2
3002 shift; shift
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3005 build_os=$*
3006 IFS=$ac_save_IFS
3007 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3008
3009
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3011 printf %s "checking host system type... " >&6; }
3012 if test ${ac_cv_host+y}
3013 then :
3014 printf %s "(cached) " >&6
3015 else case e in #(
3016 e) if test "x$host_alias" = x; then
3017 ac_cv_host=$ac_cv_build
3018 else
3019 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3020 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3021 fi
3022 ;;
3023 esac
3024 fi
3025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3026 printf "%s\n" "$ac_cv_host" >&6; }
3027 case $ac_cv_host in
3028 *-*-*) ;;
3029 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3030 esac
3031 host=$ac_cv_host
3032 ac_save_IFS=$IFS; IFS='-'
3033 set x $ac_cv_host
3034 shift
3035 host_cpu=$1
3036 host_vendor=$2
3037 shift; shift
3038 # Remember, the first character of IFS is used to create $*,
3039 # except with old shells:
3040 host_os=$*
3041 IFS=$ac_save_IFS
3042 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3043
3044
3045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3046 printf %s "checking target system type... " >&6; }
3047 if test ${ac_cv_target+y}
3048 then :
3049 printf %s "(cached) " >&6
3050 else case e in #(
3051 e) if test "x$target_alias" = x; then
3052 ac_cv_target=$ac_cv_host
3053 else
3054 ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
3055 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
3056 fi
3057 ;;
3058 esac
3059 fi
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3061 printf "%s\n" "$ac_cv_target" >&6; }
3062 case $ac_cv_target in
3063 *-*-*) ;;
3064 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3065 esac
3066 target=$ac_cv_target
3067 ac_save_IFS=$IFS; IFS='-'
3068 set x $ac_cv_target
3069 shift
3070 target_cpu=$1
3071 target_vendor=$2
3072 shift; shift
3073 # Remember, the first character of IFS is used to create $*,
3074 # except with old shells:
3075 target_os=$*
3076 IFS=$ac_save_IFS
3077 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3078
3079
3080 # The aliases save the names the user supplied, while $host etc.
3081 # will get canonicalized.
3082 test -n "$target_alias" &&
3083 test "$program_prefix$program_suffix$program_transform_name" = \
3084 NONENONEs,x,x, &&
3085 program_prefix=${target_alias}-
3086 COPYRIGHT_YEAR=2025
3087
3088 printf "%s\n" "#define COPYRIGHT_YEAR \"$COPYRIGHT_YEAR\"" >>confdefs.h
3089
3090
3091
3092 am__api_version='1.18'
3093
3094
3095 # Find a good install program. We prefer a C program (faster),
3096 # so one script is as good as another. But avoid the broken or
3097 # incompatible versions:
3098 # SysV /etc/install, /usr/sbin/install
3099 # SunOS /usr/etc/install
3100 # IRIX /sbin/install
3101 # AIX /bin/install
3102 # AmigaOS /C/install, which installs bootblocks on floppy discs
3103 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3104 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3105 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3106 # OS/2's system install, which has a completely different semantic
3107 # ./install, which can be erroneously created by make from ./install.sh.
3108 # Reject install programs that cannot install multiple files.
3109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3110 printf %s "checking for a BSD-compatible install... " >&6; }
3111 if test -z "$INSTALL"; then
3112 if test ${ac_cv_path_install+y}
3113 then :
3114 printf %s "(cached) " >&6
3115 else case e in #(
3116 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 for as_dir in $PATH
3118 do
3119 IFS=$as_save_IFS
3120 case $as_dir in #(((
3121 '') as_dir=./ ;;
3122 */) ;;
3123 *) as_dir=$as_dir/ ;;
3124 esac
3125 # Account for fact that we put trailing slashes in our PATH walk.
3126 case $as_dir in #((
3127 ./ | /[cC]/* | \
3128 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3129 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3130 /usr/ucb/* ) ;;
3131 *)
3132 # OSF1 and SCO ODT 3.0 have their own names for install.
3133 # Don't use installbsd from OSF since it installs stuff as root
3134 # by default.
3135 for ac_prog in ginstall scoinst install; do
3136 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3138 if test $ac_prog = install &&
3139 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3140 # AIX install. It has an incompatible calling convention.
3141 :
3142 elif test $ac_prog = install &&
3143 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3144 # program-specific install script used by HP pwplus--don't use.
3145 :
3146 else
3147 rm -rf conftest.one conftest.two conftest.dir
3148 echo one > conftest.one
3149 echo two > conftest.two
3150 mkdir conftest.dir
3151 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3152 test -s conftest.one && test -s conftest.two &&
3153 test -s conftest.dir/conftest.one &&
3154 test -s conftest.dir/conftest.two
3155 then
3156 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3157 break 3
3158 fi
3159 fi
3160 fi
3161 done
3162 done
3163 ;;
3164 esac
3165
3166 done
3167 IFS=$as_save_IFS
3168
3169 rm -rf conftest.one conftest.two conftest.dir
3170 ;;
3171 esac
3172 fi
3173 if test ${ac_cv_path_install+y}; then
3174 INSTALL=$ac_cv_path_install
3175 else
3176 # As a last resort, use the slow shell script. Don't cache a
3177 # value for INSTALL within a source directory, because that will
3178 # break other packages using the cache if that directory is
3179 # removed, or if the value is a relative name.
3180 INSTALL=$ac_install_sh
3181 fi
3182 fi
3183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3184 printf "%s\n" "$INSTALL" >&6; }
3185
3186 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3187 # It thinks the first close brace ends the variable substitution.
3188 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3189
3190 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3191
3192 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3193
3194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
3195 printf %s "checking whether sleep supports fractional seconds... " >&6; }
3196 if test ${am_cv_sleep_fractional_seconds+y}
3197 then :
3198 printf %s "(cached) " >&6
3199 else case e in #(
3200 e) if sleep 0.001 2>/dev/null
3201 then :
3202 am_cv_sleep_fractional_seconds=yes
3203 else case e in #(
3204 e) am_cv_sleep_fractional_seconds=no ;;
3205 esac
3206 fi
3207 ;;
3208 esac
3209 fi
3210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
3211 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
3212
3213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
3214 printf %s "checking filesystem timestamp resolution... " >&6; }
3215 if test ${am_cv_filesystem_timestamp_resolution+y}
3216 then :
3217 printf %s "(cached) " >&6
3218 else case e in #(
3219 e) # Default to the worst case.
3220 am_cv_filesystem_timestamp_resolution=2
3221
3222 # Only try to go finer than 1 sec if sleep can do it.
3223 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
3224 # - 1 sec is not much of a win compared to 2 sec, and
3225 # - it takes 2 seconds to perform the test whether 1 sec works.
3226 #
3227 # Instead, just use the default 2s on platforms that have 1s resolution,
3228 # accept the extra 1s delay when using $sleep in the Automake tests, in
3229 # exchange for not incurring the 2s delay for running the test for all
3230 # packages.
3231 #
3232 am_try_resolutions=
3233 if test "$am_cv_sleep_fractional_seconds" = yes; then
3234 # Even a millisecond often causes a bunch of false positives,
3235 # so just try a hundredth of a second. The time saved between .001 and
3236 # .01 is not terribly consequential.
3237 am_try_resolutions="0.01 0.1 $am_try_resolutions"
3238 fi
3239
3240 # In order to catch current-generation FAT out, we must *modify* files
3241 # that already exist; the *creation* timestamp is finer. Use names
3242 # that make ls -t sort them differently when they have equal
3243 # timestamps than when they have distinct timestamps, keeping
3244 # in mind that ls -t prints the *newest* file first.
3245 rm -f conftest.ts?
3246 : > conftest.ts1
3247 : > conftest.ts2
3248 : > conftest.ts3
3249
3250 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
3251 # clobber the current shell's arguments. (Outer-level square brackets
3252 # are removed by m4; they're present so that m4 does not expand
3253 # <dollar><star>; be careful, easy to get confused.)
3254 if (
3255 set X `ls -t conftest.ts[12]` &&
3256 {
3257 test "$*" != "X conftest.ts1 conftest.ts2" ||
3258 test "$*" != "X conftest.ts2 conftest.ts1";
3259 }
3260 ); then :; else
3261 # If neither matched, then we have a broken ls. This can happen
3262 # if, for instance, CONFIG_SHELL is bash and it inherits a
3263 # broken ls alias from the environment. This has actually
3264 # happened. Such a system could not be considered "sane".
3265 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
3266 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3267 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3268 as_fn_error $? "ls -t produces unexpected output.
3269 Make sure there is not a broken ls alias in your environment.
3270 See 'config.log' for more details" "$LINENO" 5; }
3271 fi
3272
3273 for am_try_res in $am_try_resolutions; do
3274 # Any one fine-grained sleep might happen to cross the boundary
3275 # between two values of a coarser actual resolution, but if we do
3276 # two fine-grained sleeps in a row, at least one of them will fall
3277 # entirely within a coarse interval.
3278 echo alpha > conftest.ts1
3279 sleep $am_try_res
3280 echo beta > conftest.ts2
3281 sleep $am_try_res
3282 echo gamma > conftest.ts3
3283
3284 # We assume that 'ls -t' will make use of high-resolution
3285 # timestamps if the operating system supports them at all.
3286 if (set X `ls -t conftest.ts?` &&
3287 test "$2" = conftest.ts3 &&
3288 test "$3" = conftest.ts2 &&
3289 test "$4" = conftest.ts1); then
3290 #
3291 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3292 # because we don't need to test make.
3293 make_ok=true
3294 if test $am_try_res != 1; then
3295 # But if we've succeeded so far with a subsecond resolution, we
3296 # have one more thing to check: make. It can happen that
3297 # everything else supports the subsecond mtimes, but make doesn't;
3298 # notably on macOS, which ships make 3.81 from 2006 (the last one
3299 # released under GPLv2). https://bugs.gnu.org/68808
3300 #
3301 # We test $MAKE if it is defined in the environment, else "make".
3302 # It might get overridden later, but our hope is that in practice
3303 # it does not matter: it is the system "make" which is (by far)
3304 # the most likely to be broken, whereas if the user overrides it,
3305 # probably they did so with a better, or at least not worse, make.
3306 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3307 #
3308 # Create a Makefile (real tab character here):
3309 rm -f conftest.mk
3310 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3311 echo ' touch conftest.ts2' >>conftest.mk
3312 #
3313 # Now, running
3314 # touch conftest.ts1; touch conftest.ts2; make
3315 # should touch ts1 because ts2 is newer. This could happen by luck,
3316 # but most often, it will fail if make's support is insufficient. So
3317 # test for several consecutive successes.
3318 #
3319 # (We reuse conftest.ts[12] because we still want to modify existing
3320 # files, not create new ones, per above.)
3321 n=0
3322 make=${MAKE-make}
3323 until test $n -eq 3; do
3324 echo one > conftest.ts1
3325 sleep $am_try_res
3326 echo two > conftest.ts2 # ts2 should now be newer than ts1
3327 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3328 make_ok=false
3329 break # out of $n loop
3330 fi
3331 n=`expr $n + 1`
3332 done
3333 fi
3334 #
3335 if $make_ok; then
3336 # Everything we know to check worked out, so call this resolution good.
3337 am_cv_filesystem_timestamp_resolution=$am_try_res
3338 break # out of $am_try_res loop
3339 fi
3340 # Otherwise, we'll go on to check the next resolution.
3341 fi
3342 done
3343 rm -f conftest.ts?
3344 # (end _am_filesystem_timestamp_resolution)
3345 ;;
3346 esac
3347 fi
3348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3349 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3350
3351 # This check should not be cached, as it may vary across builds of
3352 # different projects.
3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3354 printf %s "checking whether build environment is sane... " >&6; }
3355 # Reject unsafe characters in $srcdir or the absolute working directory
3356 # name. Accept space and tab only in the latter.
3357 am_lf='
3358 '
3359 case `pwd` in
3360 *[\\\"\#\$\&\'\`$am_lf]*)
3361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 printf "%s\n" "no" >&6; }
3363 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3364 esac
3365 case $srcdir in
3366 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 printf "%s\n" "no" >&6; }
3369 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3370 esac
3371
3372 # Do 'set' in a subshell so we don't clobber the current shell's
3373 # arguments. Must try -L first in case configure is actually a
3374 # symlink; some systems play weird games with the mod time of symlinks
3375 # (eg FreeBSD returns the mod time of the symlink's containing
3376 # directory).
3377 am_build_env_is_sane=no
3378 am_has_slept=no
3379 rm -f conftest.file
3380 for am_try in 1 2; do
3381 echo "timestamp, slept: $am_has_slept" > conftest.file
3382 if (
3383 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3384 if test "$*" = "X"; then
3385 # -L didn't work.
3386 set X `ls -t "$srcdir/configure" conftest.file`
3387 fi
3388 test "$2" = conftest.file
3389 ); then
3390 am_build_env_is_sane=yes
3391 break
3392 fi
3393 # Just in case.
3394 sleep "$am_cv_filesystem_timestamp_resolution"
3395 am_has_slept=yes
3396 done
3397
3398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3399 printf "%s\n" "$am_build_env_is_sane" >&6; }
3400 if test "$am_build_env_is_sane" = no; then
3401 as_fn_error $? "newly created file is older than distributed files!
3402 Check your system clock" "$LINENO" 5
3403 fi
3404
3405 # If we didn't sleep, we still need to ensure time stamps of config.status and
3406 # generated files are strictly newer.
3407 am_sleep_pid=
3408 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3409 then :
3410
3411 else case e in #(
3412 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3413 am_sleep_pid=$!
3414 ;;
3415 esac
3416 fi
3417
3418 rm -f conftest.file
3419
3420 test "$program_prefix" != NONE &&
3421 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3422 # Use a double $ so make ignores it.
3423 test "$program_suffix" != NONE &&
3424 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3425 # Double any \ or $.
3426 # By default was 's,x,x', remove it if useless.
3427 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3428 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3429
3430
3431 # Expand $ac_aux_dir to an absolute path.
3432 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3433
3434
3435 if test x"${MISSING+set}" != xset; then
3436 MISSING="\${SHELL} '$am_aux_dir/missing'"
3437 fi
3438 # Use eval to expand $SHELL
3439 if eval "$MISSING --is-lightweight"; then
3440 am_missing_run="$MISSING "
3441 else
3442 am_missing_run=
3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3444 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3445 fi
3446
3447 if test x"${install_sh+set}" != xset; then
3448 case $am_aux_dir in
3449 *\ * | *\ *)
3450 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3451 *)
3452 install_sh="\${SHELL} $am_aux_dir/install-sh"
3453 esac
3454 fi
3455
3456 # Installed binaries are usually stripped using 'strip' when the user
3457 # run "make install-strip". However 'strip' might not be the right
3458 # tool to use in cross-compilation environments, therefore Automake
3459 # will honor the 'STRIP' environment variable to overrule this program.
3460 if test "$cross_compiling" != no; then
3461 if test -n "$ac_tool_prefix"; then
3462 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3463 set dummy ${ac_tool_prefix}strip; ac_word=$2
3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 printf %s "checking for $ac_word... " >&6; }
3466 if test ${ac_cv_prog_STRIP+y}
3467 then :
3468 printf %s "(cached) " >&6
3469 else case e in #(
3470 e) if test -n "$STRIP"; then
3471 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3472 else
3473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 for as_dir in $PATH
3475 do
3476 IFS=$as_save_IFS
3477 case $as_dir in #(((
3478 '') as_dir=./ ;;
3479 */) ;;
3480 *) as_dir=$as_dir/ ;;
3481 esac
3482 for ac_exec_ext in '' $ac_executable_extensions; do
3483 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3484 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3486 break 2
3487 fi
3488 done
3489 done
3490 IFS=$as_save_IFS
3491
3492 fi ;;
3493 esac
3494 fi
3495 STRIP=$ac_cv_prog_STRIP
3496 if test -n "$STRIP"; then
3497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3498 printf "%s\n" "$STRIP" >&6; }
3499 else
3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 printf "%s\n" "no" >&6; }
3502 fi
3503
3504
3505 fi
3506 if test -z "$ac_cv_prog_STRIP"; then
3507 ac_ct_STRIP=$STRIP
3508 # Extract the first word of "strip", so it can be a program name with args.
3509 set dummy strip; ac_word=$2
3510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3511 printf %s "checking for $ac_word... " >&6; }
3512 if test ${ac_cv_prog_ac_ct_STRIP+y}
3513 then :
3514 printf %s "(cached) " >&6
3515 else case e in #(
3516 e) if test -n "$ac_ct_STRIP"; then
3517 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3518 else
3519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520 for as_dir in $PATH
3521 do
3522 IFS=$as_save_IFS
3523 case $as_dir in #(((
3524 '') as_dir=./ ;;
3525 */) ;;
3526 *) as_dir=$as_dir/ ;;
3527 esac
3528 for ac_exec_ext in '' $ac_executable_extensions; do
3529 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3530 ac_cv_prog_ac_ct_STRIP="strip"
3531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3532 break 2
3533 fi
3534 done
3535 done
3536 IFS=$as_save_IFS
3537
3538 fi ;;
3539 esac
3540 fi
3541 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3542 if test -n "$ac_ct_STRIP"; then
3543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3544 printf "%s\n" "$ac_ct_STRIP" >&6; }
3545 else
3546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 printf "%s\n" "no" >&6; }
3548 fi
3549
3550 if test "x$ac_ct_STRIP" = x; then
3551 STRIP=":"
3552 else
3553 case $cross_compiling:$ac_tool_warned in
3554 yes:)
3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3556 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3557 ac_tool_warned=yes ;;
3558 esac
3559 STRIP=$ac_ct_STRIP
3560 fi
3561 else
3562 STRIP="$ac_cv_prog_STRIP"
3563 fi
3564
3565 fi
3566 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3567
3568
3569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3570 printf %s "checking for a race-free mkdir -p... " >&6; }
3571 if test -z "$MKDIR_P"; then
3572 if test ${ac_cv_path_mkdir+y}
3573 then :
3574 printf %s "(cached) " >&6
3575 else case e in #(
3576 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3578 do
3579 IFS=$as_save_IFS
3580 case $as_dir in #(((
3581 '') as_dir=./ ;;
3582 */) ;;
3583 *) as_dir=$as_dir/ ;;
3584 esac
3585 for ac_prog in mkdir gmkdir; do
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3588 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3589 'mkdir ('*'coreutils) '* | \
3590 *'BusyBox '* | \
3591 'mkdir (fileutils) '4.1*)
3592 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3593 break 3;;
3594 esac
3595 done
3596 done
3597 done
3598 IFS=$as_save_IFS
3599 ;;
3600 esac
3601 fi
3602
3603 test -d ./--version && rmdir ./--version
3604 if test ${ac_cv_path_mkdir+y}; then
3605 MKDIR_P="$ac_cv_path_mkdir -p"
3606 else
3607 # As a last resort, use plain mkdir -p,
3608 # in the hope it doesn't have the bugs of ancient mkdir.
3609 MKDIR_P='mkdir -p'
3610 fi
3611 fi
3612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3613 printf "%s\n" "$MKDIR_P" >&6; }
3614
3615 for ac_prog in gawk mawk nawk awk
3616 do
3617 # Extract the first word of "$ac_prog", so it can be a program name with args.
3618 set dummy $ac_prog; ac_word=$2
3619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 printf %s "checking for $ac_word... " >&6; }
3621 if test ${ac_cv_prog_AWK+y}
3622 then :
3623 printf %s "(cached) " >&6
3624 else case e in #(
3625 e) if test -n "$AWK"; then
3626 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3627 else
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629 for as_dir in $PATH
3630 do
3631 IFS=$as_save_IFS
3632 case $as_dir in #(((
3633 '') as_dir=./ ;;
3634 */) ;;
3635 *) as_dir=$as_dir/ ;;
3636 esac
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_AWK="$ac_prog"
3640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3641 break 2
3642 fi
3643 done
3644 done
3645 IFS=$as_save_IFS
3646
3647 fi ;;
3648 esac
3649 fi
3650 AWK=$ac_cv_prog_AWK
3651 if test -n "$AWK"; then
3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3653 printf "%s\n" "$AWK" >&6; }
3654 else
3655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 printf "%s\n" "no" >&6; }
3657 fi
3658
3659
3660 test -n "$AWK" && break
3661 done
3662
3663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3664 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3665 set x ${MAKE-make}
3666 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3667 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3668 then :
3669 printf %s "(cached) " >&6
3670 else case e in #(
3671 e) cat >conftest.make <<\_ACEOF
3672 SHELL = /bin/sh
3673 all:
3674 @echo '@@@%%%=$(MAKE)=@@@%%%'
3675 _ACEOF
3676 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3677 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3678 *@@@%%%=?*=@@@%%%*)
3679 eval ac_cv_prog_make_${ac_make}_set=yes;;
3680 *)
3681 eval ac_cv_prog_make_${ac_make}_set=no;;
3682 esac
3683 rm -f conftest.make ;;
3684 esac
3685 fi
3686 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3688 printf "%s\n" "yes" >&6; }
3689 SET_MAKE=
3690 else
3691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 printf "%s\n" "no" >&6; }
3693 SET_MAKE="MAKE=${MAKE-make}"
3694 fi
3695
3696 rm -rf .tst 2>/dev/null
3697 mkdir .tst 2>/dev/null
3698 if test -d .tst; then
3699 am__leading_dot=.
3700 else
3701 am__leading_dot=_
3702 fi
3703 rmdir .tst 2>/dev/null
3704
3705 AM_DEFAULT_VERBOSITY=1
3706 # Check whether --enable-silent-rules was given.
3707 if test ${enable_silent_rules+y}
3708 then :
3709 enableval=$enable_silent_rules;
3710 fi
3711
3712 am_make=${MAKE-make}
3713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3714 printf %s "checking whether $am_make supports nested variables... " >&6; }
3715 if test ${am_cv_make_support_nested_variables+y}
3716 then :
3717 printf %s "(cached) " >&6
3718 else case e in #(
3719 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3720 BAR0=false
3721 BAR1=true
3722 V=1
3723 am__doit:
3724 @$(TRUE)
3725 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3726 am_cv_make_support_nested_variables=yes
3727 else
3728 am_cv_make_support_nested_variables=no
3729 fi ;;
3730 esac
3731 fi
3732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3733 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3734 AM_BACKSLASH='\'
3735
3736 am__rm_f_notfound=
3737 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3738 then :
3739
3740 else case e in #(
3741 e) am__rm_f_notfound='""' ;;
3742 esac
3743 fi
3744
3745
3746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3747 printf %s "checking xargs -n works... " >&6; }
3748 if test ${am_cv_xargs_n_works+y}
3749 then :
3750 printf %s "(cached) " >&6
3751 else case e in #(
3752 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3753 3"
3754 then :
3755 am_cv_xargs_n_works=yes
3756 else case e in #(
3757 e) am_cv_xargs_n_works=no ;;
3758 esac
3759 fi ;;
3760 esac
3761 fi
3762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3763 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3764 if test "$am_cv_xargs_n_works" = yes
3765 then :
3766 am__xargs_n='xargs -n'
3767 else case e in #(
3768 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3769 ;;
3770 esac
3771 fi
3772
3773 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3774 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3775 # is not polluted with repeated "-I."
3776 am__isrc=' -I$(srcdir)'
3777 # test to see if srcdir already configured
3778 if test -f $srcdir/config.status; then
3779 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3780 fi
3781 fi
3782
3783 # test whether we have cygpath
3784 if test -z "$CYGPATH_W"; then
3785 if (cygpath --version) >/dev/null 2>/dev/null; then
3786 CYGPATH_W='cygpath -w'
3787 else
3788 CYGPATH_W=echo
3789 fi
3790 fi
3791
3792
3793 # Define the identity of the package.
3794 PACKAGE='libxfce4ui'
3795 VERSION='4.20.2'
3796
3797
3798 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3799
3800
3801 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3802
3803 # Some tools Automake needs.
3804
3805 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3806
3807
3808 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3809
3810
3811 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3812
3813
3814 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3815
3816
3817 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3818
3819 # For better backward compatibility. To be removed once Automake 1.9.x
3820 # dies out for good. For more background, see:
3821 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3822 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3823 mkdir_p='$(MKDIR_P)'
3824
3825 # We need awk for the "check" target (and possibly the TAP driver). The
3826 # system "awk" is bad on some platforms.
3827 # Always define AMTAR for backward compatibility. Yes, it's still used
3828 # in the wild :-( We should find a proper way to deprecate it ...
3829 AMTAR='$${TAR-tar}'
3830
3831
3832 # We'll loop over all known methods to create a tar archive until one works.
3833 _am_tools='gnutar plaintar pax cpio none'
3834
3835 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3836 # There is notably a 21 bits limit for the UID and the GID. In fact,
3837 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3838 # and bug#13588).
3839 am_max_uid=2097151 # 2^21 - 1
3840 am_max_gid=$am_max_uid
3841 # The $UID and $GID variables are not portable, so we need to resort
3842 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3843 # below are definitely unexpected, so allow the users to see them
3844 # (that is, avoid stderr redirection).
3845 am_uid=`id -u || echo unknown`
3846 am_gid=`id -g || echo unknown`
3847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3848 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3849 if test x$am_uid = xunknown; then
3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
3851 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
3852 elif test $am_uid -le $am_max_uid; then
3853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3854 printf "%s\n" "yes" >&6; }
3855 else
3856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 printf "%s\n" "no" >&6; }
3858 _am_tools=none
3859 fi
3860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3861 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3862 if test x$gm_gid = xunknown; then
3863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
3864 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
3865 elif test $am_gid -le $am_max_gid; then
3866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3867 printf "%s\n" "yes" >&6; }
3868 else
3869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 printf "%s\n" "no" >&6; }
3871 _am_tools=none
3872 fi
3873
3874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3875 printf %s "checking how to create a ustar tar archive... " >&6; }
3876
3877 # Go ahead even if we have the value already cached. We do so because we
3878 # need to set the values for the 'am__tar' and 'am__untar' variables.
3879 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3880
3881 for _am_tool in $_am_tools; do
3882 case $_am_tool in
3883 gnutar)
3884 for _am_tar in tar gnutar gtar; do
3885 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3886 ($_am_tar --version) >&5 2>&5
3887 ac_status=$?
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); } && break
3890 done
3891 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3892 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3893 am__untar="$_am_tar -xf -"
3894 ;;
3895 plaintar)
3896 # Must skip GNU tar: if it does not support --format= it doesn't create
3897 # ustar tarball either.
3898 (tar --version) >/dev/null 2>&1 && continue
3899 am__tar='tar chf - "$$tardir"'
3900 am__tar_='tar chf - "$tardir"'
3901 am__untar='tar xf -'
3902 ;;
3903 pax)
3904 am__tar='pax -L -x ustar -w "$$tardir"'
3905 am__tar_='pax -L -x ustar -w "$tardir"'
3906 am__untar='pax -r'
3907 ;;
3908 cpio)
3909 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3910 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3911 am__untar='cpio -i -H ustar -d'
3912 ;;
3913 none)
3914 am__tar=false
3915 am__tar_=false
3916 am__untar=false
3917 ;;
3918 esac
3919
3920 # If the value was cached, stop now. We just wanted to have am__tar
3921 # and am__untar set.
3922 test -n "${am_cv_prog_tar_ustar}" && break
3923
3924 # tar/untar a dummy directory, and stop if the command works.
3925 rm -rf conftest.dir
3926 mkdir conftest.dir
3927 echo GrepMe > conftest.dir/file
3928 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3929 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3930 ac_status=$?
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }
3933 rm -rf conftest.dir
3934 if test -s conftest.tar; then
3935 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3936 ($am__untar <conftest.tar) >&5 2>&5
3937 ac_status=$?
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); }
3940 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3941 (cat conftest.dir/file) >&5 2>&5
3942 ac_status=$?
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }
3945 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3946 fi
3947 done
3948 rm -rf conftest.dir
3949
3950 if test ${am_cv_prog_tar_ustar+y}
3951 then :
3952 printf %s "(cached) " >&6
3953 else case e in #(
3954 e) am_cv_prog_tar_ustar=$_am_tool ;;
3955 esac
3956 fi
3957
3958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3959 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
3960
3961
3962
3963
3964
3965 # Variables for tags utilities; see am/tags.am
3966 if test -z "$CTAGS"; then
3967 CTAGS=ctags
3968 fi
3969
3970 if test -z "$ETAGS"; then
3971 ETAGS=etags
3972 fi
3973
3974 if test -z "$CSCOPE"; then
3975 CSCOPE=cscope
3976 fi
3977
3978
3979
3980
3981
3982
3983
3984 ac_config_headers="$ac_config_headers config.h"
3985
3986
3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3988 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3989 # Check whether --enable-maintainer-mode was given.
3990 if test ${enable_maintainer_mode+y}
3991 then :
3992 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3993 else case e in #(
3994 e) USE_MAINTAINER_MODE=no ;;
3995 esac
3996 fi
3997
3998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3999 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
4000 if test $USE_MAINTAINER_MODE = yes; then
4001 MAINTAINER_MODE_TRUE=
4002 MAINTAINER_MODE_FALSE='#'
4003 else
4004 MAINTAINER_MODE_TRUE='#'
4005 MAINTAINER_MODE_FALSE=
4006 fi
4007
4008 MAINT=$MAINTAINER_MODE_TRUE
4009
4010
4011
4012 AM_DEFAULT_VERBOSITY=0
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025 DEPDIR="${am__leading_dot}deps"
4026
4027 ac_config_commands="$ac_config_commands depfiles"
4028
4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4030 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4031 cat > confinc.mk << 'END'
4032 am__doit:
4033 @echo this is the am__doit target >confinc.out
4034 .PHONY: am__doit
4035 END
4036 am__include="#"
4037 am__quote=
4038 # BSD make does it like this.
4039 echo '.include "confinc.mk" # ignored' > confmf.BSD
4040 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4041 echo 'include confinc.mk # ignored' > confmf.GNU
4042 _am_result=no
4043 for s in GNU BSD; do
4044 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4045 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4046 ac_status=$?
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }
4049 case $?:`cat confinc.out 2>/dev/null` in #(
4050 '0:this is the am__doit target') :
4051 case $s in #(
4052 BSD) :
4053 am__include='.include' am__quote='"' ;; #(
4054 *) :
4055 am__include='include' am__quote='' ;;
4056 esac ;; #(
4057 *) :
4058 ;;
4059 esac
4060 if test "$am__include" != "#"; then
4061 _am_result="yes ($s style)"
4062 break
4063 fi
4064 done
4065 rm -f confinc.* confmf.*
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4067 printf "%s\n" "${_am_result}" >&6; }
4068
4069 # Check whether --enable-dependency-tracking was given.
4070 if test ${enable_dependency_tracking+y}
4071 then :
4072 enableval=$enable_dependency_tracking;
4073 fi
4074
4075 if test "x$enable_dependency_tracking" != xno; then
4076 am_depcomp="$ac_aux_dir/depcomp"
4077 AMDEPBACKSLASH='\'
4078 am__nodep='_no'
4079 fi
4080 if test "x$enable_dependency_tracking" != xno; then
4081 AMDEP_TRUE=
4082 AMDEP_FALSE='#'
4083 else
4084 AMDEP_TRUE='#'
4085 AMDEP_FALSE=
4086 fi
4087
4088
4089 ac_ext=c
4090 ac_cpp='$CPP $CPPFLAGS'
4091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4094 if test -n "$ac_tool_prefix"; then
4095 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4096 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 printf %s "checking for $ac_word... " >&6; }
4099 if test ${ac_cv_prog_CC+y}
4100 then :
4101 printf %s "(cached) " >&6
4102 else case e in #(
4103 e) if test -n "$CC"; then
4104 ac_cv_prog_CC="$CC" # Let the user override the test.
4105 else
4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 for as_dir in $PATH
4108 do
4109 IFS=$as_save_IFS
4110 case $as_dir in #(((
4111 '') as_dir=./ ;;
4112 */) ;;
4113 *) as_dir=$as_dir/ ;;
4114 esac
4115 for ac_exec_ext in '' $ac_executable_extensions; do
4116 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4117 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4119 break 2
4120 fi
4121 done
4122 done
4123 IFS=$as_save_IFS
4124
4125 fi ;;
4126 esac
4127 fi
4128 CC=$ac_cv_prog_CC
4129 if test -n "$CC"; then
4130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4131 printf "%s\n" "$CC" >&6; }
4132 else
4133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134 printf "%s\n" "no" >&6; }
4135 fi
4136
4137
4138 fi
4139 if test -z "$ac_cv_prog_CC"; then
4140 ac_ct_CC=$CC
4141 # Extract the first word of "gcc", so it can be a program name with args.
4142 set dummy gcc; ac_word=$2
4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4144 printf %s "checking for $ac_word... " >&6; }
4145 if test ${ac_cv_prog_ac_ct_CC+y}
4146 then :
4147 printf %s "(cached) " >&6
4148 else case e in #(
4149 e) if test -n "$ac_ct_CC"; then
4150 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4151 else
4152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153 for as_dir in $PATH
4154 do
4155 IFS=$as_save_IFS
4156 case $as_dir in #(((
4157 '') as_dir=./ ;;
4158 */) ;;
4159 *) as_dir=$as_dir/ ;;
4160 esac
4161 for ac_exec_ext in '' $ac_executable_extensions; do
4162 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4163 ac_cv_prog_ac_ct_CC="gcc"
4164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4165 break 2
4166 fi
4167 done
4168 done
4169 IFS=$as_save_IFS
4170
4171 fi ;;
4172 esac
4173 fi
4174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4175 if test -n "$ac_ct_CC"; then
4176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4177 printf "%s\n" "$ac_ct_CC" >&6; }
4178 else
4179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4180 printf "%s\n" "no" >&6; }
4181 fi
4182
4183 if test "x$ac_ct_CC" = x; then
4184 CC=""
4185 else
4186 case $cross_compiling:$ac_tool_warned in
4187 yes:)
4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4189 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4190 ac_tool_warned=yes ;;
4191 esac
4192 CC=$ac_ct_CC
4193 fi
4194 else
4195 CC="$ac_cv_prog_CC"
4196 fi
4197
4198 if test -z "$CC"; then
4199 if test -n "$ac_tool_prefix"; then
4200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4201 set dummy ${ac_tool_prefix}cc; ac_word=$2
4202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4203 printf %s "checking for $ac_word... " >&6; }
4204 if test ${ac_cv_prog_CC+y}
4205 then :
4206 printf %s "(cached) " >&6
4207 else case e in #(
4208 e) if test -n "$CC"; then
4209 ac_cv_prog_CC="$CC" # Let the user override the test.
4210 else
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 for as_dir in $PATH
4213 do
4214 IFS=$as_save_IFS
4215 case $as_dir in #(((
4216 '') as_dir=./ ;;
4217 */) ;;
4218 *) as_dir=$as_dir/ ;;
4219 esac
4220 for ac_exec_ext in '' $ac_executable_extensions; do
4221 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4222 ac_cv_prog_CC="${ac_tool_prefix}cc"
4223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4224 break 2
4225 fi
4226 done
4227 done
4228 IFS=$as_save_IFS
4229
4230 fi ;;
4231 esac
4232 fi
4233 CC=$ac_cv_prog_CC
4234 if test -n "$CC"; then
4235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4236 printf "%s\n" "$CC" >&6; }
4237 else
4238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 printf "%s\n" "no" >&6; }
4240 fi
4241
4242
4243 fi
4244 fi
4245 if test -z "$CC"; then
4246 # Extract the first word of "cc", so it can be a program name with args.
4247 set dummy cc; ac_word=$2
4248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 printf %s "checking for $ac_word... " >&6; }
4250 if test ${ac_cv_prog_CC+y}
4251 then :
4252 printf %s "(cached) " >&6
4253 else case e in #(
4254 e) if test -n "$CC"; then
4255 ac_cv_prog_CC="$CC" # Let the user override the test.
4256 else
4257 ac_prog_rejected=no
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 for as_dir in $PATH
4260 do
4261 IFS=$as_save_IFS
4262 case $as_dir in #(((
4263 '') as_dir=./ ;;
4264 */) ;;
4265 *) as_dir=$as_dir/ ;;
4266 esac
4267 for ac_exec_ext in '' $ac_executable_extensions; do
4268 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4269 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4270 ac_prog_rejected=yes
4271 continue
4272 fi
4273 ac_cv_prog_CC="cc"
4274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4275 break 2
4276 fi
4277 done
4278 done
4279 IFS=$as_save_IFS
4280
4281 if test $ac_prog_rejected = yes; then
4282 # We found a bogon in the path, so make sure we never use it.
4283 set dummy $ac_cv_prog_CC
4284 shift
4285 if test $# != 0; then
4286 # We chose a different compiler from the bogus one.
4287 # However, it has the same basename, so the bogon will be chosen
4288 # first if we set CC to just the basename; use the full file name.
4289 shift
4290 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4291 fi
4292 fi
4293 fi ;;
4294 esac
4295 fi
4296 CC=$ac_cv_prog_CC
4297 if test -n "$CC"; then
4298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4299 printf "%s\n" "$CC" >&6; }
4300 else
4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302 printf "%s\n" "no" >&6; }
4303 fi
4304
4305
4306 fi
4307 if test -z "$CC"; then
4308 if test -n "$ac_tool_prefix"; then
4309 for ac_prog in cl.exe
4310 do
4311 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4312 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 printf %s "checking for $ac_word... " >&6; }
4315 if test ${ac_cv_prog_CC+y}
4316 then :
4317 printf %s "(cached) " >&6
4318 else case e in #(
4319 e) if test -n "$CC"; then
4320 ac_cv_prog_CC="$CC" # Let the user override the test.
4321 else
4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 for as_dir in $PATH
4324 do
4325 IFS=$as_save_IFS
4326 case $as_dir in #(((
4327 '') as_dir=./ ;;
4328 */) ;;
4329 *) as_dir=$as_dir/ ;;
4330 esac
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4333 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4335 break 2
4336 fi
4337 done
4338 done
4339 IFS=$as_save_IFS
4340
4341 fi ;;
4342 esac
4343 fi
4344 CC=$ac_cv_prog_CC
4345 if test -n "$CC"; then
4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4347 printf "%s\n" "$CC" >&6; }
4348 else
4349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 printf "%s\n" "no" >&6; }
4351 fi
4352
4353
4354 test -n "$CC" && break
4355 done
4356 fi
4357 if test -z "$CC"; then
4358 ac_ct_CC=$CC
4359 for ac_prog in cl.exe
4360 do
4361 # Extract the first word of "$ac_prog", so it can be a program name with args.
4362 set dummy $ac_prog; ac_word=$2
4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 printf %s "checking for $ac_word... " >&6; }
4365 if test ${ac_cv_prog_ac_ct_CC+y}
4366 then :
4367 printf %s "(cached) " >&6
4368 else case e in #(
4369 e) if test -n "$ac_ct_CC"; then
4370 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4371 else
4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 for as_dir in $PATH
4374 do
4375 IFS=$as_save_IFS
4376 case $as_dir in #(((
4377 '') as_dir=./ ;;
4378 */) ;;
4379 *) as_dir=$as_dir/ ;;
4380 esac
4381 for ac_exec_ext in '' $ac_executable_extensions; do
4382 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4383 ac_cv_prog_ac_ct_CC="$ac_prog"
4384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4385 break 2
4386 fi
4387 done
4388 done
4389 IFS=$as_save_IFS
4390
4391 fi ;;
4392 esac
4393 fi
4394 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4395 if test -n "$ac_ct_CC"; then
4396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4397 printf "%s\n" "$ac_ct_CC" >&6; }
4398 else
4399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 printf "%s\n" "no" >&6; }
4401 fi
4402
4403
4404 test -n "$ac_ct_CC" && break
4405 done
4406
4407 if test "x$ac_ct_CC" = x; then
4408 CC=""
4409 else
4410 case $cross_compiling:$ac_tool_warned in
4411 yes:)
4412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4413 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4414 ac_tool_warned=yes ;;
4415 esac
4416 CC=$ac_ct_CC
4417 fi
4418 fi
4419
4420 fi
4421 if test -z "$CC"; then
4422 if test -n "$ac_tool_prefix"; then
4423 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4424 set dummy ${ac_tool_prefix}clang; ac_word=$2
4425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 printf %s "checking for $ac_word... " >&6; }
4427 if test ${ac_cv_prog_CC+y}
4428 then :
4429 printf %s "(cached) " >&6
4430 else case e in #(
4431 e) if test -n "$CC"; then
4432 ac_cv_prog_CC="$CC" # Let the user override the test.
4433 else
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 for as_dir in $PATH
4436 do
4437 IFS=$as_save_IFS
4438 case $as_dir in #(((
4439 '') as_dir=./ ;;
4440 */) ;;
4441 *) as_dir=$as_dir/ ;;
4442 esac
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4445 ac_cv_prog_CC="${ac_tool_prefix}clang"
4446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4447 break 2
4448 fi
4449 done
4450 done
4451 IFS=$as_save_IFS
4452
4453 fi ;;
4454 esac
4455 fi
4456 CC=$ac_cv_prog_CC
4457 if test -n "$CC"; then
4458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4459 printf "%s\n" "$CC" >&6; }
4460 else
4461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 printf "%s\n" "no" >&6; }
4463 fi
4464
4465
4466 fi
4467 if test -z "$ac_cv_prog_CC"; then
4468 ac_ct_CC=$CC
4469 # Extract the first word of "clang", so it can be a program name with args.
4470 set dummy clang; ac_word=$2
4471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 printf %s "checking for $ac_word... " >&6; }
4473 if test ${ac_cv_prog_ac_ct_CC+y}
4474 then :
4475 printf %s "(cached) " >&6
4476 else case e in #(
4477 e) if test -n "$ac_ct_CC"; then
4478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4479 else
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4482 do
4483 IFS=$as_save_IFS
4484 case $as_dir in #(((
4485 '') as_dir=./ ;;
4486 */) ;;
4487 *) as_dir=$as_dir/ ;;
4488 esac
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_ac_ct_CC="clang"
4492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4493 break 2
4494 fi
4495 done
4496 done
4497 IFS=$as_save_IFS
4498
4499 fi ;;
4500 esac
4501 fi
4502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4503 if test -n "$ac_ct_CC"; then
4504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4505 printf "%s\n" "$ac_ct_CC" >&6; }
4506 else
4507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 printf "%s\n" "no" >&6; }
4509 fi
4510
4511 if test "x$ac_ct_CC" = x; then
4512 CC=""
4513 else
4514 case $cross_compiling:$ac_tool_warned in
4515 yes:)
4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4517 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4518 ac_tool_warned=yes ;;
4519 esac
4520 CC=$ac_ct_CC
4521 fi
4522 else
4523 CC="$ac_cv_prog_CC"
4524 fi
4525
4526 fi
4527
4528
4529 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4530 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4531 as_fn_error $? "no acceptable C compiler found in \$PATH
4532 See 'config.log' for more details" "$LINENO" 5; }
4533
4534 # Provide some information about the compiler.
4535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4536 set X $ac_compile
4537 ac_compiler=$2
4538 for ac_option in --version -v -V -qversion -version; do
4539 { { ac_try="$ac_compiler $ac_option >&5"
4540 case "(($ac_try" in
4541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4543 esac
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 printf "%s\n" "$ac_try_echo"; } >&5
4546 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4547 ac_status=$?
4548 if test -s conftest.err; then
4549 sed '10a\
4550 ... rest of stderr output deleted ...
4551 10q' conftest.err >conftest.er1
4552 cat conftest.er1 >&5
4553 fi
4554 rm -f conftest.er1 conftest.err
4555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4556 test $ac_status = 0; }
4557 done
4558
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4561
4562 int
4563 main (void)
4564 {
4565
4566 ;
4567 return 0;
4568 }
4569 _ACEOF
4570 ac_clean_files_save=$ac_clean_files
4571 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4572 # Try to create an executable without -o first, disregard a.out.
4573 # It will help us diagnose broken compilers, and finding out an intuition
4574 # of exeext.
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4576 printf %s "checking whether the C compiler works... " >&6; }
4577 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4578
4579 # The possible output files:
4580 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4581
4582 ac_rmfiles=
4583 for ac_file in $ac_files
4584 do
4585 case $ac_file in
4586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4587 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4588 esac
4589 done
4590 rm -f $ac_rmfiles
4591
4592 if { { ac_try="$ac_link_default"
4593 case "(($ac_try" in
4594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4595 *) ac_try_echo=$ac_try;;
4596 esac
4597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4598 printf "%s\n" "$ac_try_echo"; } >&5
4599 (eval "$ac_link_default") 2>&5
4600 ac_status=$?
4601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4602 test $ac_status = 0; }
4603 then :
4604 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4605 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4606 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4607 # so that the user can short-circuit this test for compilers unknown to
4608 # Autoconf.
4609 for ac_file in $ac_files ''
4610 do
4611 test -f "$ac_file" || continue
4612 case $ac_file in
4613 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4614 ;;
4615 [ab].out )
4616 # We found the default executable, but exeext='' is most
4617 # certainly right.
4618 break;;
4619 *.* )
4620 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4621 then :; else
4622 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4623 fi
4624 # We set ac_cv_exeext here because the later test for it is not
4625 # safe: cross compilers may not add the suffix if given an '-o'
4626 # argument, so we may need to know it at that point already.
4627 # Even if this section looks crufty: it has the advantage of
4628 # actually working.
4629 break;;
4630 * )
4631 break;;
4632 esac
4633 done
4634 test "$ac_cv_exeext" = no && ac_cv_exeext=
4635
4636 else case e in #(
4637 e) ac_file='' ;;
4638 esac
4639 fi
4640 if test -z "$ac_file"
4641 then :
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 printf "%s\n" "no" >&6; }
4644 printf "%s\n" "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4646
4647 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4648 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4649 as_fn_error 77 "C compiler cannot create executables
4650 See 'config.log' for more details" "$LINENO" 5; }
4651 else case e in #(
4652 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4653 printf "%s\n" "yes" >&6; } ;;
4654 esac
4655 fi
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4657 printf %s "checking for C compiler default output file name... " >&6; }
4658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4659 printf "%s\n" "$ac_file" >&6; }
4660 ac_exeext=$ac_cv_exeext
4661
4662 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4663 ac_clean_files=$ac_clean_files_save
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4665 printf %s "checking for suffix of executables... " >&6; }
4666 if { { ac_try="$ac_link"
4667 case "(($ac_try" in
4668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4670 esac
4671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4672 printf "%s\n" "$ac_try_echo"; } >&5
4673 (eval "$ac_link") 2>&5
4674 ac_status=$?
4675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4676 test $ac_status = 0; }
4677 then :
4678 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4679 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4680 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4681 # 'rm'.
4682 for ac_file in conftest.exe conftest conftest.*; do
4683 test -f "$ac_file" || continue
4684 case $ac_file in
4685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4686 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4687 break;;
4688 * ) break;;
4689 esac
4690 done
4691 else case e in #(
4692 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4693 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4694 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4695 See 'config.log' for more details" "$LINENO" 5; } ;;
4696 esac
4697 fi
4698 rm -f conftest conftest$ac_cv_exeext
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4700 printf "%s\n" "$ac_cv_exeext" >&6; }
4701
4702 rm -f conftest.$ac_ext
4703 EXEEXT=$ac_cv_exeext
4704 ac_exeext=$EXEEXT
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #include <stdio.h>
4708 int
4709 main (void)
4710 {
4711 FILE *f = fopen ("conftest.out", "w");
4712 if (!f)
4713 return 1;
4714 return ferror (f) || fclose (f) != 0;
4715
4716 ;
4717 return 0;
4718 }
4719 _ACEOF
4720 ac_clean_files="$ac_clean_files conftest.out"
4721 # Check that the compiler produces executables we can run. If not, either
4722 # the compiler is broken, or we cross compile.
4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4724 printf %s "checking whether we are cross compiling... " >&6; }
4725 if test "$cross_compiling" != yes; then
4726 { { ac_try="$ac_link"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4732 printf "%s\n" "$ac_try_echo"; } >&5
4733 (eval "$ac_link") 2>&5
4734 ac_status=$?
4735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4736 test $ac_status = 0; }
4737 if { ac_try='./conftest$ac_cv_exeext'
4738 { { case "(($ac_try" in
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4741 esac
4742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4743 printf "%s\n" "$ac_try_echo"; } >&5
4744 (eval "$ac_try") 2>&5
4745 ac_status=$?
4746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4747 test $ac_status = 0; }; }; then
4748 cross_compiling=no
4749 else
4750 if test "$cross_compiling" = maybe; then
4751 cross_compiling=yes
4752 else
4753 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4754 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4755 as_fn_error 77 "cannot run C compiled programs.
4756 If you meant to cross compile, use '--host'.
4757 See 'config.log' for more details" "$LINENO" 5; }
4758 fi
4759 fi
4760 fi
4761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4762 printf "%s\n" "$cross_compiling" >&6; }
4763
4764 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4765 conftest.o conftest.obj conftest.out
4766 ac_clean_files=$ac_clean_files_save
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4768 printf %s "checking for suffix of object files... " >&6; }
4769 if test ${ac_cv_objext+y}
4770 then :
4771 printf %s "(cached) " >&6
4772 else case e in #(
4773 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4775
4776 int
4777 main (void)
4778 {
4779
4780 ;
4781 return 0;
4782 }
4783 _ACEOF
4784 rm -f conftest.o conftest.obj
4785 if { { ac_try="$ac_compile"
4786 case "(($ac_try" in
4787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4788 *) ac_try_echo=$ac_try;;
4789 esac
4790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4791 printf "%s\n" "$ac_try_echo"; } >&5
4792 (eval "$ac_compile") 2>&5
4793 ac_status=$?
4794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4795 test $ac_status = 0; }
4796 then :
4797 for ac_file in conftest.o conftest.obj conftest.*; do
4798 test -f "$ac_file" || continue;
4799 case $ac_file in
4800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4801 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4802 break;;
4803 esac
4804 done
4805 else case e in #(
4806 e) printf "%s\n" "$as_me: failed program was:" >&5
4807 sed 's/^/| /' conftest.$ac_ext >&5
4808
4809 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4810 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4811 as_fn_error $? "cannot compute suffix of object files: cannot compile
4812 See 'config.log' for more details" "$LINENO" 5; } ;;
4813 esac
4814 fi
4815 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4816 esac
4817 fi
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4819 printf "%s\n" "$ac_cv_objext" >&6; }
4820 OBJEXT=$ac_cv_objext
4821 ac_objext=$OBJEXT
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4823 printf %s "checking whether the compiler supports GNU C... " >&6; }
4824 if test ${ac_cv_c_compiler_gnu+y}
4825 then :
4826 printf %s "(cached) " >&6
4827 else case e in #(
4828 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4830
4831 int
4832 main (void)
4833 {
4834 #ifndef __GNUC__
4835 choke me
4836 #endif
4837
4838 ;
4839 return 0;
4840 }
4841 _ACEOF
4842 if ac_fn_c_try_compile "$LINENO"
4843 then :
4844 ac_compiler_gnu=yes
4845 else case e in #(
4846 e) ac_compiler_gnu=no ;;
4847 esac
4848 fi
4849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4850 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4851 ;;
4852 esac
4853 fi
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4855 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4857
4858 if test $ac_compiler_gnu = yes; then
4859 GCC=yes
4860 else
4861 GCC=
4862 fi
4863 ac_test_CFLAGS=${CFLAGS+y}
4864 ac_save_CFLAGS=$CFLAGS
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4866 printf %s "checking whether $CC accepts -g... " >&6; }
4867 if test ${ac_cv_prog_cc_g+y}
4868 then :
4869 printf %s "(cached) " >&6
4870 else case e in #(
4871 e) ac_save_c_werror_flag=$ac_c_werror_flag
4872 ac_c_werror_flag=yes
4873 ac_cv_prog_cc_g=no
4874 CFLAGS="-g"
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4877
4878 int
4879 main (void)
4880 {
4881
4882 ;
4883 return 0;
4884 }
4885 _ACEOF
4886 if ac_fn_c_try_compile "$LINENO"
4887 then :
4888 ac_cv_prog_cc_g=yes
4889 else case e in #(
4890 e) CFLAGS=""
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4893
4894 int
4895 main (void)
4896 {
4897
4898 ;
4899 return 0;
4900 }
4901 _ACEOF
4902 if ac_fn_c_try_compile "$LINENO"
4903 then :
4904
4905 else case e in #(
4906 e) ac_c_werror_flag=$ac_save_c_werror_flag
4907 CFLAGS="-g"
4908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4910
4911 int
4912 main (void)
4913 {
4914
4915 ;
4916 return 0;
4917 }
4918 _ACEOF
4919 if ac_fn_c_try_compile "$LINENO"
4920 then :
4921 ac_cv_prog_cc_g=yes
4922 fi
4923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4924 esac
4925 fi
4926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4927 esac
4928 fi
4929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4930 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4931 esac
4932 fi
4933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4934 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4935 if test $ac_test_CFLAGS; then
4936 CFLAGS=$ac_save_CFLAGS
4937 elif test $ac_cv_prog_cc_g = yes; then
4938 if test "$GCC" = yes; then
4939 CFLAGS="-g -O2"
4940 else
4941 CFLAGS="-g"
4942 fi
4943 else
4944 if test "$GCC" = yes; then
4945 CFLAGS="-O2"
4946 else
4947 CFLAGS=
4948 fi
4949 fi
4950 ac_prog_cc_stdc=no
4951 if test x$ac_prog_cc_stdc = xno
4952 then :
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4954 printf %s "checking for $CC option to enable C11 features... " >&6; }
4955 if test ${ac_cv_prog_cc_c11+y}
4956 then :
4957 printf %s "(cached) " >&6
4958 else case e in #(
4959 e) ac_cv_prog_cc_c11=no
4960 ac_save_CC=$CC
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4963 $ac_c_conftest_c11_program
4964 _ACEOF
4965 for ac_arg in '' -std=gnu11
4966 do
4967 CC="$ac_save_CC $ac_arg"
4968 if ac_fn_c_try_compile "$LINENO"
4969 then :
4970 ac_cv_prog_cc_c11=$ac_arg
4971 fi
4972 rm -f core conftest.err conftest.$ac_objext conftest.beam
4973 test "x$ac_cv_prog_cc_c11" != "xno" && break
4974 done
4975 rm -f conftest.$ac_ext
4976 CC=$ac_save_CC ;;
4977 esac
4978 fi
4979
4980 if test "x$ac_cv_prog_cc_c11" = xno
4981 then :
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4983 printf "%s\n" "unsupported" >&6; }
4984 else case e in #(
4985 e) if test "x$ac_cv_prog_cc_c11" = x
4986 then :
4987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4988 printf "%s\n" "none needed" >&6; }
4989 else case e in #(
4990 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4991 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4992 CC="$CC $ac_cv_prog_cc_c11" ;;
4993 esac
4994 fi
4995 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4996 ac_prog_cc_stdc=c11 ;;
4997 esac
4998 fi
4999 fi
5000 if test x$ac_prog_cc_stdc = xno
5001 then :
5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5003 printf %s "checking for $CC option to enable C99 features... " >&6; }
5004 if test ${ac_cv_prog_cc_c99+y}
5005 then :
5006 printf %s "(cached) " >&6
5007 else case e in #(
5008 e) ac_cv_prog_cc_c99=no
5009 ac_save_CC=$CC
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5012 $ac_c_conftest_c99_program
5013 _ACEOF
5014 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5015 do
5016 CC="$ac_save_CC $ac_arg"
5017 if ac_fn_c_try_compile "$LINENO"
5018 then :
5019 ac_cv_prog_cc_c99=$ac_arg
5020 fi
5021 rm -f core conftest.err conftest.$ac_objext conftest.beam
5022 test "x$ac_cv_prog_cc_c99" != "xno" && break
5023 done
5024 rm -f conftest.$ac_ext
5025 CC=$ac_save_CC ;;
5026 esac
5027 fi
5028
5029 if test "x$ac_cv_prog_cc_c99" = xno
5030 then :
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5032 printf "%s\n" "unsupported" >&6; }
5033 else case e in #(
5034 e) if test "x$ac_cv_prog_cc_c99" = x
5035 then :
5036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5037 printf "%s\n" "none needed" >&6; }
5038 else case e in #(
5039 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5040 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5041 CC="$CC $ac_cv_prog_cc_c99" ;;
5042 esac
5043 fi
5044 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5045 ac_prog_cc_stdc=c99 ;;
5046 esac
5047 fi
5048 fi
5049 if test x$ac_prog_cc_stdc = xno
5050 then :
5051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5052 printf %s "checking for $CC option to enable C89 features... " >&6; }
5053 if test ${ac_cv_prog_cc_c89+y}
5054 then :
5055 printf %s "(cached) " >&6
5056 else case e in #(
5057 e) ac_cv_prog_cc_c89=no
5058 ac_save_CC=$CC
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5061 $ac_c_conftest_c89_program
5062 _ACEOF
5063 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5064 do
5065 CC="$ac_save_CC $ac_arg"
5066 if ac_fn_c_try_compile "$LINENO"
5067 then :
5068 ac_cv_prog_cc_c89=$ac_arg
5069 fi
5070 rm -f core conftest.err conftest.$ac_objext conftest.beam
5071 test "x$ac_cv_prog_cc_c89" != "xno" && break
5072 done
5073 rm -f conftest.$ac_ext
5074 CC=$ac_save_CC ;;
5075 esac
5076 fi
5077
5078 if test "x$ac_cv_prog_cc_c89" = xno
5079 then :
5080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5081 printf "%s\n" "unsupported" >&6; }
5082 else case e in #(
5083 e) if test "x$ac_cv_prog_cc_c89" = x
5084 then :
5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5086 printf "%s\n" "none needed" >&6; }
5087 else case e in #(
5088 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5089 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5090 CC="$CC $ac_cv_prog_cc_c89" ;;
5091 esac
5092 fi
5093 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5094 ac_prog_cc_stdc=c89 ;;
5095 esac
5096 fi
5097 fi
5098
5099 ac_ext=c
5100 ac_cpp='$CPP $CPPFLAGS'
5101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5104
5105
5106 ac_ext=c
5107 ac_cpp='$CPP $CPPFLAGS'
5108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5112 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5113 if test ${am_cv_prog_cc_c_o+y}
5114 then :
5115 printf %s "(cached) " >&6
5116 else case e in #(
5117 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h. */
5119
5120 int
5121 main (void)
5122 {
5123
5124 ;
5125 return 0;
5126 }
5127 _ACEOF
5128 # Make sure it works both with $CC and with simple cc.
5129 # Following AC_PROG_CC_C_O, we do the test twice because some
5130 # compilers refuse to overwrite an existing .o file with -o,
5131 # though they will create one.
5132 am_cv_prog_cc_c_o=yes
5133 for am_i in 1 2; do
5134 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5135 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5136 ac_status=$?
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } \
5139 && test -f conftest2.$ac_objext; then
5140 : OK
5141 else
5142 am_cv_prog_cc_c_o=no
5143 break
5144 fi
5145 done
5146 # aligned with autoconf, so not including core; see bug#72225.
5147 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
5148 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
5149 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
5150 unset am_i ;;
5151 esac
5152 fi
5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5154 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5155 if test "$am_cv_prog_cc_c_o" != yes; then
5156 # Losing compiler, so override with the script.
5157 # FIXME: It is wrong to rewrite CC.
5158 # But if we don't then we get into trouble of one sort or another.
5159 # A longer-term fix would be to have automake use am__CC in this case,
5160 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5161 CC="$am_aux_dir/compile $CC"
5162 fi
5163 ac_ext=c
5164 ac_cpp='$CPP $CPPFLAGS'
5165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5168
5169
5170 depcc="$CC" am_compiler_list=
5171
5172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5173 printf %s "checking dependency style of $depcc... " >&6; }
5174 if test ${am_cv_CC_dependencies_compiler_type+y}
5175 then :
5176 printf %s "(cached) " >&6
5177 else case e in #(
5178 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5179 # We make a subdir and do the tests there. Otherwise we can end up
5180 # making bogus files that we don't know about and never remove. For
5181 # instance it was reported that on HP-UX the gcc test will end up
5182 # making a dummy file named 'D' -- because '-MD' means "put the output
5183 # in D".
5184 rm -rf conftest.dir
5185 mkdir conftest.dir
5186 # Copy depcomp to subdir because otherwise we won't find it if we're
5187 # using a relative directory.
5188 cp "$am_depcomp" conftest.dir
5189 cd conftest.dir
5190 # We will build objects and dependencies in a subdirectory because
5191 # it helps to detect inapplicable dependency modes. For instance
5192 # both Tru64's cc and ICC support -MD to output dependencies as a
5193 # side effect of compilation, but ICC will put the dependencies in
5194 # the current directory while Tru64 will put them in the object
5195 # directory.
5196 mkdir sub
5197
5198 am_cv_CC_dependencies_compiler_type=none
5199 if test "$am_compiler_list" = ""; then
5200 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5201 fi
5202 am__universal=false
5203 case " $depcc " in #(
5204 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5205 esac
5206
5207 for depmode in $am_compiler_list; do
5208 # Setup a source with many dependencies, because some compilers
5209 # like to wrap large dependency lists on column 80 (with \), and
5210 # we should not choose a depcomp mode which is confused by this.
5211 #
5212 # We need to recreate these files for each test, as the compiler may
5213 # overwrite some of them when testing with obscure command lines.
5214 # This happens at least with the AIX C compiler.
5215 : > sub/conftest.c
5216 for i in 1 2 3 4 5 6; do
5217 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5218 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5219 # Solaris 10 /bin/sh.
5220 echo '/* dummy */' > sub/conftst$i.h
5221 done
5222 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5223
5224 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5225 # mode. It turns out that the SunPro C++ compiler does not properly
5226 # handle '-M -o', and we need to detect this. Also, some Intel
5227 # versions had trouble with output in subdirs.
5228 am__obj=sub/conftest.${OBJEXT-o}
5229 am__minus_obj="-o $am__obj"
5230 case $depmode in
5231 gcc)
5232 # This depmode causes a compiler race in universal mode.
5233 test "$am__universal" = false || continue
5234 ;;
5235 nosideeffect)
5236 # After this tag, mechanisms are not by side-effect, so they'll
5237 # only be used when explicitly requested.
5238 if test "x$enable_dependency_tracking" = xyes; then
5239 continue
5240 else
5241 break
5242 fi
5243 ;;
5244 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5245 # This compiler won't grok '-c -o', but also, the minuso test has
5246 # not run yet. These depmodes are late enough in the game, and
5247 # so weak that their functioning should not be impacted.
5248 am__obj=conftest.${OBJEXT-o}
5249 am__minus_obj=
5250 ;;
5251 none) break ;;
5252 esac
5253 if depmode=$depmode \
5254 source=sub/conftest.c object=$am__obj \
5255 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5256 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5257 >/dev/null 2>conftest.err &&
5258 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5259 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5260 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5261 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5262 # icc doesn't choke on unknown options, it will just issue warnings
5263 # or remarks (even with -Werror). So we grep stderr for any message
5264 # that says an option was ignored or not supported.
5265 # When given -MP, icc 7.0 and 7.1 complain thus:
5266 # icc: Command line warning: ignoring option '-M'; no argument required
5267 # The diagnosis changed in icc 8.0:
5268 # icc: Command line remark: option '-MP' not supported
5269 if (grep 'ignoring option' conftest.err ||
5270 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5271 am_cv_CC_dependencies_compiler_type=$depmode
5272 break
5273 fi
5274 fi
5275 done
5276
5277 cd ..
5278 rm -rf conftest.dir
5279 else
5280 am_cv_CC_dependencies_compiler_type=none
5281 fi
5282 ;;
5283 esac
5284 fi
5285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5286 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5287 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5288
5289 if
5290 test "x$enable_dependency_tracking" != xno \
5291 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5292 am__fastdepCC_TRUE=
5293 am__fastdepCC_FALSE='#'
5294 else
5295 am__fastdepCC_TRUE='#'
5296 am__fastdepCC_FALSE=
5297 fi
5298
5299
5300
5301 ac_header= ac_cache=
5302 for ac_item in $ac_header_c_list
5303 do
5304 if test $ac_cache; then
5305 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
5306 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5307 printf "%s\n" "#define $ac_item 1" >> confdefs.h
5308 fi
5309 ac_header= ac_cache=
5310 elif test $ac_header; then
5311 ac_cache=$ac_item
5312 else
5313 ac_header=$ac_item
5314 fi
5315 done
5316
5317
5318
5319
5320
5321
5322
5323
5324 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
5325 then :
5326
5327 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
5328
5329 fi
5330
5331
5332
5333
5334
5335
5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5337 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5338 if test ${ac_cv_safe_to_define___extensions__+y}
5339 then :
5340 printf %s "(cached) " >&6
5341 else case e in #(
5342 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5344
5345 # define __EXTENSIONS__ 1
5346 $ac_includes_default
5347 int
5348 main (void)
5349 {
5350
5351 ;
5352 return 0;
5353 }
5354 _ACEOF
5355 if ac_fn_c_try_compile "$LINENO"
5356 then :
5357 ac_cv_safe_to_define___extensions__=yes
5358 else case e in #(
5359 e) ac_cv_safe_to_define___extensions__=no ;;
5360 esac
5361 fi
5362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5363 esac
5364 fi
5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5366 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
5367
5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5369 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5370 if test ${ac_cv_should_define__xopen_source+y}
5371 then :
5372 printf %s "(cached) " >&6
5373 else case e in #(
5374 e) ac_cv_should_define__xopen_source=no
5375 if test $ac_cv_header_wchar_h = yes
5376 then :
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5379
5380 #include <wchar.h>
5381 mbstate_t x;
5382 int
5383 main (void)
5384 {
5385
5386 ;
5387 return 0;
5388 }
5389 _ACEOF
5390 if ac_fn_c_try_compile "$LINENO"
5391 then :
5392
5393 else case e in #(
5394 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5396
5397 #define _XOPEN_SOURCE 500
5398 #include <wchar.h>
5399 mbstate_t x;
5400 int
5401 main (void)
5402 {
5403
5404 ;
5405 return 0;
5406 }
5407 _ACEOF
5408 if ac_fn_c_try_compile "$LINENO"
5409 then :
5410 ac_cv_should_define__xopen_source=yes
5411 fi
5412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5413 esac
5414 fi
5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5416 fi ;;
5417 esac
5418 fi
5419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5420 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5421
5422 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5423
5424 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5425
5426 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5427
5428 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5429
5430 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5431
5432 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5433
5434 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5435
5436 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5437
5438 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5439
5440 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5441
5442 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
5443
5444 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5445
5446 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5447
5448 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5449
5450 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5451
5452 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5453
5454 if test $ac_cv_header_minix_config_h = yes
5455 then :
5456 MINIX=yes
5457 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5458
5459 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5460
5461 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5462
5463 else case e in #(
5464 e) MINIX= ;;
5465 esac
5466 fi
5467 if test $ac_cv_safe_to_define___extensions__ = yes
5468 then :
5469 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5470
5471 fi
5472 if test $ac_cv_should_define__xopen_source = yes
5473 then :
5474 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5475
5476 fi
5477
5478
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking platform" >&5
5480 printf %s "checking platform... " >&6; }
5481 case "$host" in
5482 *-*-mingw*|*-*-cygwin*)
5483 platform="win32"
5484 NO_UNDEFINED=-no-undefined
5485 ;;
5486 *-apple-darwin*)
5487 platform="os x"
5488 ;;
5489 *)
5490 platform="unix"
5491 ;;
5492 esac
5493 if test "$platform" = "win32"; then
5494 PLATFORM_WIN32_TRUE=
5495 PLATFORM_WIN32_FALSE='#'
5496 else
5497 PLATFORM_WIN32_TRUE='#'
5498 PLATFORM_WIN32_FALSE=
5499 fi
5500
5501 if test "$platform" = "os x"; then
5502 PLATFORM_OSX_TRUE=
5503 PLATFORM_OSX_FALSE='#'
5504 else
5505 PLATFORM_OSX_TRUE='#'
5506 PLATFORM_OSX_FALSE=
5507 fi
5508
5509
5510
5511 ac_ext=c
5512 ac_cpp='$CPP $CPPFLAGS'
5513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5516 if test -n "$ac_tool_prefix"; then
5517 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5518 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 printf %s "checking for $ac_word... " >&6; }
5521 if test ${ac_cv_prog_CC+y}
5522 then :
5523 printf %s "(cached) " >&6
5524 else case e in #(
5525 e) if test -n "$CC"; then
5526 ac_cv_prog_CC="$CC" # Let the user override the test.
5527 else
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5529 for as_dir in $PATH
5530 do
5531 IFS=$as_save_IFS
5532 case $as_dir in #(((
5533 '') as_dir=./ ;;
5534 */) ;;
5535 *) as_dir=$as_dir/ ;;
5536 esac
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5541 break 2
5542 fi
5543 done
5544 done
5545 IFS=$as_save_IFS
5546
5547 fi ;;
5548 esac
5549 fi
5550 CC=$ac_cv_prog_CC
5551 if test -n "$CC"; then
5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5553 printf "%s\n" "$CC" >&6; }
5554 else
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 printf "%s\n" "no" >&6; }
5557 fi
5558
5559
5560 fi
5561 if test -z "$ac_cv_prog_CC"; then
5562 ac_ct_CC=$CC
5563 # Extract the first word of "gcc", so it can be a program name with args.
5564 set dummy gcc; ac_word=$2
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 printf %s "checking for $ac_word... " >&6; }
5567 if test ${ac_cv_prog_ac_ct_CC+y}
5568 then :
5569 printf %s "(cached) " >&6
5570 else case e in #(
5571 e) if test -n "$ac_ct_CC"; then
5572 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5573 else
5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 for as_dir in $PATH
5576 do
5577 IFS=$as_save_IFS
5578 case $as_dir in #(((
5579 '') as_dir=./ ;;
5580 */) ;;
5581 *) as_dir=$as_dir/ ;;
5582 esac
5583 for ac_exec_ext in '' $ac_executable_extensions; do
5584 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5585 ac_cv_prog_ac_ct_CC="gcc"
5586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5587 break 2
5588 fi
5589 done
5590 done
5591 IFS=$as_save_IFS
5592
5593 fi ;;
5594 esac
5595 fi
5596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5597 if test -n "$ac_ct_CC"; then
5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5599 printf "%s\n" "$ac_ct_CC" >&6; }
5600 else
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 printf "%s\n" "no" >&6; }
5603 fi
5604
5605 if test "x$ac_ct_CC" = x; then
5606 CC=""
5607 else
5608 case $cross_compiling:$ac_tool_warned in
5609 yes:)
5610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5611 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5612 ac_tool_warned=yes ;;
5613 esac
5614 CC=$ac_ct_CC
5615 fi
5616 else
5617 CC="$ac_cv_prog_CC"
5618 fi
5619
5620 if test -z "$CC"; then
5621 if test -n "$ac_tool_prefix"; then
5622 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5623 set dummy ${ac_tool_prefix}cc; ac_word=$2
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 printf %s "checking for $ac_word... " >&6; }
5626 if test ${ac_cv_prog_CC+y}
5627 then :
5628 printf %s "(cached) " >&6
5629 else case e in #(
5630 e) if test -n "$CC"; then
5631 ac_cv_prog_CC="$CC" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5635 do
5636 IFS=$as_save_IFS
5637 case $as_dir in #(((
5638 '') as_dir=./ ;;
5639 */) ;;
5640 *) as_dir=$as_dir/ ;;
5641 esac
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5644 ac_cv_prog_CC="${ac_tool_prefix}cc"
5645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5646 break 2
5647 fi
5648 done
5649 done
5650 IFS=$as_save_IFS
5651
5652 fi ;;
5653 esac
5654 fi
5655 CC=$ac_cv_prog_CC
5656 if test -n "$CC"; then
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5658 printf "%s\n" "$CC" >&6; }
5659 else
5660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 printf "%s\n" "no" >&6; }
5662 fi
5663
5664
5665 fi
5666 fi
5667 if test -z "$CC"; then
5668 # Extract the first word of "cc", so it can be a program name with args.
5669 set dummy cc; ac_word=$2
5670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 printf %s "checking for $ac_word... " >&6; }
5672 if test ${ac_cv_prog_CC+y}
5673 then :
5674 printf %s "(cached) " >&6
5675 else case e in #(
5676 e) if test -n "$CC"; then
5677 ac_cv_prog_CC="$CC" # Let the user override the test.
5678 else
5679 ac_prog_rejected=no
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5682 do
5683 IFS=$as_save_IFS
5684 case $as_dir in #(((
5685 '') as_dir=./ ;;
5686 */) ;;
5687 *) as_dir=$as_dir/ ;;
5688 esac
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5691 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5692 ac_prog_rejected=yes
5693 continue
5694 fi
5695 ac_cv_prog_CC="cc"
5696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5697 break 2
5698 fi
5699 done
5700 done
5701 IFS=$as_save_IFS
5702
5703 if test $ac_prog_rejected = yes; then
5704 # We found a bogon in the path, so make sure we never use it.
5705 set dummy $ac_cv_prog_CC
5706 shift
5707 if test $# != 0; then
5708 # We chose a different compiler from the bogus one.
5709 # However, it has the same basename, so the bogon will be chosen
5710 # first if we set CC to just the basename; use the full file name.
5711 shift
5712 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5713 fi
5714 fi
5715 fi ;;
5716 esac
5717 fi
5718 CC=$ac_cv_prog_CC
5719 if test -n "$CC"; then
5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5721 printf "%s\n" "$CC" >&6; }
5722 else
5723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724 printf "%s\n" "no" >&6; }
5725 fi
5726
5727
5728 fi
5729 if test -z "$CC"; then
5730 if test -n "$ac_tool_prefix"; then
5731 for ac_prog in cl.exe
5732 do
5733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 printf %s "checking for $ac_word... " >&6; }
5737 if test ${ac_cv_prog_CC+y}
5738 then :
5739 printf %s "(cached) " >&6
5740 else case e in #(
5741 e) if test -n "$CC"; then
5742 ac_cv_prog_CC="$CC" # Let the user override the test.
5743 else
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 for as_dir in $PATH
5746 do
5747 IFS=$as_save_IFS
5748 case $as_dir in #(((
5749 '') as_dir=./ ;;
5750 */) ;;
5751 *) as_dir=$as_dir/ ;;
5752 esac
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5757 break 2
5758 fi
5759 done
5760 done
5761 IFS=$as_save_IFS
5762
5763 fi ;;
5764 esac
5765 fi
5766 CC=$ac_cv_prog_CC
5767 if test -n "$CC"; then
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5769 printf "%s\n" "$CC" >&6; }
5770 else
5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 printf "%s\n" "no" >&6; }
5773 fi
5774
5775
5776 test -n "$CC" && break
5777 done
5778 fi
5779 if test -z "$CC"; then
5780 ac_ct_CC=$CC
5781 for ac_prog in cl.exe
5782 do
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 printf %s "checking for $ac_word... " >&6; }
5787 if test ${ac_cv_prog_ac_ct_CC+y}
5788 then :
5789 printf %s "(cached) " >&6
5790 else case e in #(
5791 e) if test -n "$ac_ct_CC"; then
5792 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5796 do
5797 IFS=$as_save_IFS
5798 case $as_dir in #(((
5799 '') as_dir=./ ;;
5800 */) ;;
5801 *) as_dir=$as_dir/ ;;
5802 esac
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5805 ac_cv_prog_ac_ct_CC="$ac_prog"
5806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5807 break 2
5808 fi
5809 done
5810 done
5811 IFS=$as_save_IFS
5812
5813 fi ;;
5814 esac
5815 fi
5816 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5817 if test -n "$ac_ct_CC"; then
5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5819 printf "%s\n" "$ac_ct_CC" >&6; }
5820 else
5821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 printf "%s\n" "no" >&6; }
5823 fi
5824
5825
5826 test -n "$ac_ct_CC" && break
5827 done
5828
5829 if test "x$ac_ct_CC" = x; then
5830 CC=""
5831 else
5832 case $cross_compiling:$ac_tool_warned in
5833 yes:)
5834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5835 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5836 ac_tool_warned=yes ;;
5837 esac
5838 CC=$ac_ct_CC
5839 fi
5840 fi
5841
5842 fi
5843 if test -z "$CC"; then
5844 if test -n "$ac_tool_prefix"; then
5845 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5846 set dummy ${ac_tool_prefix}clang; ac_word=$2
5847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5848 printf %s "checking for $ac_word... " >&6; }
5849 if test ${ac_cv_prog_CC+y}
5850 then :
5851 printf %s "(cached) " >&6
5852 else case e in #(
5853 e) if test -n "$CC"; then
5854 ac_cv_prog_CC="$CC" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5858 do
5859 IFS=$as_save_IFS
5860 case $as_dir in #(((
5861 '') as_dir=./ ;;
5862 */) ;;
5863 *) as_dir=$as_dir/ ;;
5864 esac
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_CC="${ac_tool_prefix}clang"
5868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5869 break 2
5870 fi
5871 done
5872 done
5873 IFS=$as_save_IFS
5874
5875 fi ;;
5876 esac
5877 fi
5878 CC=$ac_cv_prog_CC
5879 if test -n "$CC"; then
5880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5881 printf "%s\n" "$CC" >&6; }
5882 else
5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 printf "%s\n" "no" >&6; }
5885 fi
5886
5887
5888 fi
5889 if test -z "$ac_cv_prog_CC"; then
5890 ac_ct_CC=$CC
5891 # Extract the first word of "clang", so it can be a program name with args.
5892 set dummy clang; ac_word=$2
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 printf %s "checking for $ac_word... " >&6; }
5895 if test ${ac_cv_prog_ac_ct_CC+y}
5896 then :
5897 printf %s "(cached) " >&6
5898 else case e in #(
5899 e) if test -n "$ac_ct_CC"; then
5900 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5904 do
5905 IFS=$as_save_IFS
5906 case $as_dir in #(((
5907 '') as_dir=./ ;;
5908 */) ;;
5909 *) as_dir=$as_dir/ ;;
5910 esac
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5913 ac_cv_prog_ac_ct_CC="clang"
5914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5915 break 2
5916 fi
5917 done
5918 done
5919 IFS=$as_save_IFS
5920
5921 fi ;;
5922 esac
5923 fi
5924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5925 if test -n "$ac_ct_CC"; then
5926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5927 printf "%s\n" "$ac_ct_CC" >&6; }
5928 else
5929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 printf "%s\n" "no" >&6; }
5931 fi
5932
5933 if test "x$ac_ct_CC" = x; then
5934 CC=""
5935 else
5936 case $cross_compiling:$ac_tool_warned in
5937 yes:)
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5939 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5940 ac_tool_warned=yes ;;
5941 esac
5942 CC=$ac_ct_CC
5943 fi
5944 else
5945 CC="$ac_cv_prog_CC"
5946 fi
5947
5948 fi
5949
5950
5951 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5952 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5953 as_fn_error $? "no acceptable C compiler found in \$PATH
5954 See 'config.log' for more details" "$LINENO" 5; }
5955
5956 # Provide some information about the compiler.
5957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5958 set X $ac_compile
5959 ac_compiler=$2
5960 for ac_option in --version -v -V -qversion -version; do
5961 { { ac_try="$ac_compiler $ac_option >&5"
5962 case "(($ac_try" in
5963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5964 *) ac_try_echo=$ac_try;;
5965 esac
5966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5967 printf "%s\n" "$ac_try_echo"; } >&5
5968 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5969 ac_status=$?
5970 if test -s conftest.err; then
5971 sed '10a\
5972 ... rest of stderr output deleted ...
5973 10q' conftest.err >conftest.er1
5974 cat conftest.er1 >&5
5975 fi
5976 rm -f conftest.er1 conftest.err
5977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5978 test $ac_status = 0; }
5979 done
5980
5981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5982 printf %s "checking whether the compiler supports GNU C... " >&6; }
5983 if test ${ac_cv_c_compiler_gnu+y}
5984 then :
5985 printf %s "(cached) " >&6
5986 else case e in #(
5987 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5988 /* end confdefs.h. */
5989
5990 int
5991 main (void)
5992 {
5993 #ifndef __GNUC__
5994 choke me
5995 #endif
5996
5997 ;
5998 return 0;
5999 }
6000 _ACEOF
6001 if ac_fn_c_try_compile "$LINENO"
6002 then :
6003 ac_compiler_gnu=yes
6004 else case e in #(
6005 e) ac_compiler_gnu=no ;;
6006 esac
6007 fi
6008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6009 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6010 ;;
6011 esac
6012 fi
6013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6014 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
6015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6016
6017 if test $ac_compiler_gnu = yes; then
6018 GCC=yes
6019 else
6020 GCC=
6021 fi
6022 ac_test_CFLAGS=${CFLAGS+y}
6023 ac_save_CFLAGS=$CFLAGS
6024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6025 printf %s "checking whether $CC accepts -g... " >&6; }
6026 if test ${ac_cv_prog_cc_g+y}
6027 then :
6028 printf %s "(cached) " >&6
6029 else case e in #(
6030 e) ac_save_c_werror_flag=$ac_c_werror_flag
6031 ac_c_werror_flag=yes
6032 ac_cv_prog_cc_g=no
6033 CFLAGS="-g"
6034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h. */
6036
6037 int
6038 main (void)
6039 {
6040
6041 ;
6042 return 0;
6043 }
6044 _ACEOF
6045 if ac_fn_c_try_compile "$LINENO"
6046 then :
6047 ac_cv_prog_cc_g=yes
6048 else case e in #(
6049 e) CFLAGS=""
6050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h. */
6052
6053 int
6054 main (void)
6055 {
6056
6057 ;
6058 return 0;
6059 }
6060 _ACEOF
6061 if ac_fn_c_try_compile "$LINENO"
6062 then :
6063
6064 else case e in #(
6065 e) ac_c_werror_flag=$ac_save_c_werror_flag
6066 CFLAGS="-g"
6067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6068 /* end confdefs.h. */
6069
6070 int
6071 main (void)
6072 {
6073
6074 ;
6075 return 0;
6076 }
6077 _ACEOF
6078 if ac_fn_c_try_compile "$LINENO"
6079 then :
6080 ac_cv_prog_cc_g=yes
6081 fi
6082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
6083 esac
6084 fi
6085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
6086 esac
6087 fi
6088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6089 ac_c_werror_flag=$ac_save_c_werror_flag ;;
6090 esac
6091 fi
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6093 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
6094 if test $ac_test_CFLAGS; then
6095 CFLAGS=$ac_save_CFLAGS
6096 elif test $ac_cv_prog_cc_g = yes; then
6097 if test "$GCC" = yes; then
6098 CFLAGS="-g -O2"
6099 else
6100 CFLAGS="-g"
6101 fi
6102 else
6103 if test "$GCC" = yes; then
6104 CFLAGS="-O2"
6105 else
6106 CFLAGS=
6107 fi
6108 fi
6109 ac_prog_cc_stdc=no
6110 if test x$ac_prog_cc_stdc = xno
6111 then :
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
6113 printf %s "checking for $CC option to enable C11 features... " >&6; }
6114 if test ${ac_cv_prog_cc_c11+y}
6115 then :
6116 printf %s "(cached) " >&6
6117 else case e in #(
6118 e) ac_cv_prog_cc_c11=no
6119 ac_save_CC=$CC
6120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6121 /* end confdefs.h. */
6122 $ac_c_conftest_c11_program
6123 _ACEOF
6124 for ac_arg in '' -std=gnu11
6125 do
6126 CC="$ac_save_CC $ac_arg"
6127 if ac_fn_c_try_compile "$LINENO"
6128 then :
6129 ac_cv_prog_cc_c11=$ac_arg
6130 fi
6131 rm -f core conftest.err conftest.$ac_objext conftest.beam
6132 test "x$ac_cv_prog_cc_c11" != "xno" && break
6133 done
6134 rm -f conftest.$ac_ext
6135 CC=$ac_save_CC ;;
6136 esac
6137 fi
6138
6139 if test "x$ac_cv_prog_cc_c11" = xno
6140 then :
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6142 printf "%s\n" "unsupported" >&6; }
6143 else case e in #(
6144 e) if test "x$ac_cv_prog_cc_c11" = x
6145 then :
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6147 printf "%s\n" "none needed" >&6; }
6148 else case e in #(
6149 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
6150 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
6151 CC="$CC $ac_cv_prog_cc_c11" ;;
6152 esac
6153 fi
6154 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
6155 ac_prog_cc_stdc=c11 ;;
6156 esac
6157 fi
6158 fi
6159 if test x$ac_prog_cc_stdc = xno
6160 then :
6161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
6162 printf %s "checking for $CC option to enable C99 features... " >&6; }
6163 if test ${ac_cv_prog_cc_c99+y}
6164 then :
6165 printf %s "(cached) " >&6
6166 else case e in #(
6167 e) ac_cv_prog_cc_c99=no
6168 ac_save_CC=$CC
6169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6171 $ac_c_conftest_c99_program
6172 _ACEOF
6173 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
6174 do
6175 CC="$ac_save_CC $ac_arg"
6176 if ac_fn_c_try_compile "$LINENO"
6177 then :
6178 ac_cv_prog_cc_c99=$ac_arg
6179 fi
6180 rm -f core conftest.err conftest.$ac_objext conftest.beam
6181 test "x$ac_cv_prog_cc_c99" != "xno" && break
6182 done
6183 rm -f conftest.$ac_ext
6184 CC=$ac_save_CC ;;
6185 esac
6186 fi
6187
6188 if test "x$ac_cv_prog_cc_c99" = xno
6189 then :
6190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6191 printf "%s\n" "unsupported" >&6; }
6192 else case e in #(
6193 e) if test "x$ac_cv_prog_cc_c99" = x
6194 then :
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6196 printf "%s\n" "none needed" >&6; }
6197 else case e in #(
6198 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
6199 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
6200 CC="$CC $ac_cv_prog_cc_c99" ;;
6201 esac
6202 fi
6203 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
6204 ac_prog_cc_stdc=c99 ;;
6205 esac
6206 fi
6207 fi
6208 if test x$ac_prog_cc_stdc = xno
6209 then :
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
6211 printf %s "checking for $CC option to enable C89 features... " >&6; }
6212 if test ${ac_cv_prog_cc_c89+y}
6213 then :
6214 printf %s "(cached) " >&6
6215 else case e in #(
6216 e) ac_cv_prog_cc_c89=no
6217 ac_save_CC=$CC
6218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6220 $ac_c_conftest_c89_program
6221 _ACEOF
6222 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6223 do
6224 CC="$ac_save_CC $ac_arg"
6225 if ac_fn_c_try_compile "$LINENO"
6226 then :
6227 ac_cv_prog_cc_c89=$ac_arg
6228 fi
6229 rm -f core conftest.err conftest.$ac_objext conftest.beam
6230 test "x$ac_cv_prog_cc_c89" != "xno" && break
6231 done
6232 rm -f conftest.$ac_ext
6233 CC=$ac_save_CC ;;
6234 esac
6235 fi
6236
6237 if test "x$ac_cv_prog_cc_c89" = xno
6238 then :
6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6240 printf "%s\n" "unsupported" >&6; }
6241 else case e in #(
6242 e) if test "x$ac_cv_prog_cc_c89" = x
6243 then :
6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6245 printf "%s\n" "none needed" >&6; }
6246 else case e in #(
6247 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6248 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
6249 CC="$CC $ac_cv_prog_cc_c89" ;;
6250 esac
6251 fi
6252 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
6253 ac_prog_cc_stdc=c89 ;;
6254 esac
6255 fi
6256 fi
6257
6258 ac_ext=c
6259 ac_cpp='$CPP $CPPFLAGS'
6260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6263
6264
6265 ac_ext=c
6266 ac_cpp='$CPP $CPPFLAGS'
6267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6271 printf %s "checking whether $CC understands -c and -o together... " >&6; }
6272 if test ${am_cv_prog_cc_c_o+y}
6273 then :
6274 printf %s "(cached) " >&6
6275 else case e in #(
6276 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278
6279 int
6280 main (void)
6281 {
6282
6283 ;
6284 return 0;
6285 }
6286 _ACEOF
6287 # Make sure it works both with $CC and with simple cc.
6288 # Following AC_PROG_CC_C_O, we do the test twice because some
6289 # compilers refuse to overwrite an existing .o file with -o,
6290 # though they will create one.
6291 am_cv_prog_cc_c_o=yes
6292 for am_i in 1 2; do
6293 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6294 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6295 ac_status=$?
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); } \
6298 && test -f conftest2.$ac_objext; then
6299 : OK
6300 else
6301 am_cv_prog_cc_c_o=no
6302 break
6303 fi
6304 done
6305 # aligned with autoconf, so not including core; see bug#72225.
6306 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
6307 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
6308 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
6309 unset am_i ;;
6310 esac
6311 fi
6312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6313 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
6314 if test "$am_cv_prog_cc_c_o" != yes; then
6315 # Losing compiler, so override with the script.
6316 # FIXME: It is wrong to rewrite CC.
6317 # But if we don't then we get into trouble of one sort or another.
6318 # A longer-term fix would be to have automake use am__CC in this case,
6319 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6320 CC="$am_aux_dir/compile $CC"
6321 fi
6322 ac_ext=c
6323 ac_cpp='$CPP $CPPFLAGS'
6324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6327
6328
6329 depcc="$CC" am_compiler_list=
6330
6331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6332 printf %s "checking dependency style of $depcc... " >&6; }
6333 if test ${am_cv_CC_dependencies_compiler_type+y}
6334 then :
6335 printf %s "(cached) " >&6
6336 else case e in #(
6337 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6338 # We make a subdir and do the tests there. Otherwise we can end up
6339 # making bogus files that we don't know about and never remove. For
6340 # instance it was reported that on HP-UX the gcc test will end up
6341 # making a dummy file named 'D' -- because '-MD' means "put the output
6342 # in D".
6343 rm -rf conftest.dir
6344 mkdir conftest.dir
6345 # Copy depcomp to subdir because otherwise we won't find it if we're
6346 # using a relative directory.
6347 cp "$am_depcomp" conftest.dir
6348 cd conftest.dir
6349 # We will build objects and dependencies in a subdirectory because
6350 # it helps to detect inapplicable dependency modes. For instance
6351 # both Tru64's cc and ICC support -MD to output dependencies as a
6352 # side effect of compilation, but ICC will put the dependencies in
6353 # the current directory while Tru64 will put them in the object
6354 # directory.
6355 mkdir sub
6356
6357 am_cv_CC_dependencies_compiler_type=none
6358 if test "$am_compiler_list" = ""; then
6359 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6360 fi
6361 am__universal=false
6362 case " $depcc " in #(
6363 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6364 esac
6365
6366 for depmode in $am_compiler_list; do
6367 # Setup a source with many dependencies, because some compilers
6368 # like to wrap large dependency lists on column 80 (with \), and
6369 # we should not choose a depcomp mode which is confused by this.
6370 #
6371 # We need to recreate these files for each test, as the compiler may
6372 # overwrite some of them when testing with obscure command lines.
6373 # This happens at least with the AIX C compiler.
6374 : > sub/conftest.c
6375 for i in 1 2 3 4 5 6; do
6376 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6377 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6378 # Solaris 10 /bin/sh.
6379 echo '/* dummy */' > sub/conftst$i.h
6380 done
6381 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6382
6383 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6384 # mode. It turns out that the SunPro C++ compiler does not properly
6385 # handle '-M -o', and we need to detect this. Also, some Intel
6386 # versions had trouble with output in subdirs.
6387 am__obj=sub/conftest.${OBJEXT-o}
6388 am__minus_obj="-o $am__obj"
6389 case $depmode in
6390 gcc)
6391 # This depmode causes a compiler race in universal mode.
6392 test "$am__universal" = false || continue
6393 ;;
6394 nosideeffect)
6395 # After this tag, mechanisms are not by side-effect, so they'll
6396 # only be used when explicitly requested.
6397 if test "x$enable_dependency_tracking" = xyes; then
6398 continue
6399 else
6400 break
6401 fi
6402 ;;
6403 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6404 # This compiler won't grok '-c -o', but also, the minuso test has
6405 # not run yet. These depmodes are late enough in the game, and
6406 # so weak that their functioning should not be impacted.
6407 am__obj=conftest.${OBJEXT-o}
6408 am__minus_obj=
6409 ;;
6410 none) break ;;
6411 esac
6412 if depmode=$depmode \
6413 source=sub/conftest.c object=$am__obj \
6414 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6415 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6416 >/dev/null 2>conftest.err &&
6417 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6418 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6419 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6420 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6421 # icc doesn't choke on unknown options, it will just issue warnings
6422 # or remarks (even with -Werror). So we grep stderr for any message
6423 # that says an option was ignored or not supported.
6424 # When given -MP, icc 7.0 and 7.1 complain thus:
6425 # icc: Command line warning: ignoring option '-M'; no argument required
6426 # The diagnosis changed in icc 8.0:
6427 # icc: Command line remark: option '-MP' not supported
6428 if (grep 'ignoring option' conftest.err ||
6429 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6430 am_cv_CC_dependencies_compiler_type=$depmode
6431 break
6432 fi
6433 fi
6434 done
6435
6436 cd ..
6437 rm -rf conftest.dir
6438 else
6439 am_cv_CC_dependencies_compiler_type=none
6440 fi
6441 ;;
6442 esac
6443 fi
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6445 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
6446 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6447
6448 if
6449 test "x$enable_dependency_tracking" != xno \
6450 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6451 am__fastdepCC_TRUE=
6452 am__fastdepCC_FALSE='#'
6453 else
6454 am__fastdepCC_TRUE='#'
6455 am__fastdepCC_FALSE=
6456 fi
6457
6458
6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6460 printf %s "checking for a sed that does not truncate output... " >&6; }
6461 if test ${ac_cv_path_SED+y}
6462 then :
6463 printf %s "(cached) " >&6
6464 else case e in #(
6465 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6466 for ac_i in 1 2 3 4 5 6 7; do
6467 ac_script="$ac_script$as_nl$ac_script"
6468 done
6469 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6470 { ac_script=; unset ac_script;}
6471 if test -z "$SED"; then
6472 ac_path_SED_found=false
6473 # Loop through the user's path and test for each of PROGNAME-LIST
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6476 do
6477 IFS=$as_save_IFS
6478 case $as_dir in #(((
6479 '') as_dir=./ ;;
6480 */) ;;
6481 *) as_dir=$as_dir/ ;;
6482 esac
6483 for ac_prog in sed gsed
6484 do
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
6487 as_fn_executable_p "$ac_path_SED" || continue
6488 # Check for GNU ac_path_SED and select it if it is found.
6489 # Check for GNU $ac_path_SED
6490 case `"$ac_path_SED" --version 2>&1` in #(
6491 *GNU*)
6492 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6493 #(
6494 *)
6495 ac_count=0
6496 printf %s 0123456789 >"conftest.in"
6497 while :
6498 do
6499 cat "conftest.in" "conftest.in" >"conftest.tmp"
6500 mv "conftest.tmp" "conftest.in"
6501 cp "conftest.in" "conftest.nl"
6502 printf "%s\n" '' >> "conftest.nl"
6503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6505 as_fn_arith $ac_count + 1 && ac_count=$as_val
6506 if test $ac_count -gt ${ac_path_SED_max-0}; then
6507 # Best one so far, save it but keep looking for a better one
6508 ac_cv_path_SED="$ac_path_SED"
6509 ac_path_SED_max=$ac_count
6510 fi
6511 # 10*(2^10) chars as input seems more than enough
6512 test $ac_count -gt 10 && break
6513 done
6514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6515 esac
6516
6517 $ac_path_SED_found && break 3
6518 done
6519 done
6520 done
6521 IFS=$as_save_IFS
6522 if test -z "$ac_cv_path_SED"; then
6523 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6524 fi
6525 else
6526 ac_cv_path_SED=$SED
6527 fi
6528 ;;
6529 esac
6530 fi
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6532 printf "%s\n" "$ac_cv_path_SED" >&6; }
6533 SED="$ac_cv_path_SED"
6534 rm -f conftest.sed
6535
6536 test -z "$SED" && SED=sed
6537 Xsed="$SED -e 1s/^X//"
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6550 printf %s "checking for grep that handles long lines and -e... " >&6; }
6551 if test ${ac_cv_path_GREP+y}
6552 then :
6553 printf %s "(cached) " >&6
6554 else case e in #(
6555 e) if test -z "$GREP"; then
6556 ac_path_GREP_found=false
6557 # Loop through the user's path and test for each of PROGNAME-LIST
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6560 do
6561 IFS=$as_save_IFS
6562 case $as_dir in #(((
6563 '') as_dir=./ ;;
6564 */) ;;
6565 *) as_dir=$as_dir/ ;;
6566 esac
6567 for ac_prog in grep ggrep
6568 do
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6571 as_fn_executable_p "$ac_path_GREP" || continue
6572 # Check for GNU ac_path_GREP and select it if it is found.
6573 # Check for GNU $ac_path_GREP
6574 case `"$ac_path_GREP" --version 2>&1` in #(
6575 *GNU*)
6576 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6577 #(
6578 *)
6579 ac_count=0
6580 printf %s 0123456789 >"conftest.in"
6581 while :
6582 do
6583 cat "conftest.in" "conftest.in" >"conftest.tmp"
6584 mv "conftest.tmp" "conftest.in"
6585 cp "conftest.in" "conftest.nl"
6586 printf "%s\n" 'GREP' >> "conftest.nl"
6587 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6589 as_fn_arith $ac_count + 1 && ac_count=$as_val
6590 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6591 # Best one so far, save it but keep looking for a better one
6592 ac_cv_path_GREP="$ac_path_GREP"
6593 ac_path_GREP_max=$ac_count
6594 fi
6595 # 10*(2^10) chars as input seems more than enough
6596 test $ac_count -gt 10 && break
6597 done
6598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6599 esac
6600
6601 $ac_path_GREP_found && break 3
6602 done
6603 done
6604 done
6605 IFS=$as_save_IFS
6606 if test -z "$ac_cv_path_GREP"; then
6607 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6608 fi
6609 else
6610 ac_cv_path_GREP=$GREP
6611 fi
6612 ;;
6613 esac
6614 fi
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6616 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6617 GREP="$ac_cv_path_GREP"
6618
6619
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6621 printf %s "checking for egrep... " >&6; }
6622 if test ${ac_cv_path_EGREP+y}
6623 then :
6624 printf %s "(cached) " >&6
6625 else case e in #(
6626 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6627 then ac_cv_path_EGREP="$GREP -E"
6628 else
6629 if test -z "$EGREP"; then
6630 ac_path_EGREP_found=false
6631 # Loop through the user's path and test for each of PROGNAME-LIST
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6634 do
6635 IFS=$as_save_IFS
6636 case $as_dir in #(((
6637 '') as_dir=./ ;;
6638 */) ;;
6639 *) as_dir=$as_dir/ ;;
6640 esac
6641 for ac_prog in egrep
6642 do
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6645 as_fn_executable_p "$ac_path_EGREP" || continue
6646 # Check for GNU ac_path_EGREP and select it if it is found.
6647 # Check for GNU $ac_path_EGREP
6648 case `"$ac_path_EGREP" --version 2>&1` in #(
6649 *GNU*)
6650 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6651 #(
6652 *)
6653 ac_count=0
6654 printf %s 0123456789 >"conftest.in"
6655 while :
6656 do
6657 cat "conftest.in" "conftest.in" >"conftest.tmp"
6658 mv "conftest.tmp" "conftest.in"
6659 cp "conftest.in" "conftest.nl"
6660 printf "%s\n" 'EGREP' >> "conftest.nl"
6661 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6663 as_fn_arith $ac_count + 1 && ac_count=$as_val
6664 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6665 # Best one so far, save it but keep looking for a better one
6666 ac_cv_path_EGREP="$ac_path_EGREP"
6667 ac_path_EGREP_max=$ac_count
6668 fi
6669 # 10*(2^10) chars as input seems more than enough
6670 test $ac_count -gt 10 && break
6671 done
6672 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6673 esac
6674
6675 $ac_path_EGREP_found && break 3
6676 done
6677 done
6678 done
6679 IFS=$as_save_IFS
6680 if test -z "$ac_cv_path_EGREP"; then
6681 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6682 fi
6683 else
6684 ac_cv_path_EGREP=$EGREP
6685 fi
6686
6687 fi ;;
6688 esac
6689 fi
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6691 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
6692 EGREP="$ac_cv_path_EGREP"
6693
6694 EGREP_TRADITIONAL=$EGREP
6695 ac_cv_path_EGREP_TRADITIONAL=$EGREP
6696
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6698 printf %s "checking for fgrep... " >&6; }
6699 if test ${ac_cv_path_FGREP+y}
6700 then :
6701 printf %s "(cached) " >&6
6702 else case e in #(
6703 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6704 then ac_cv_path_FGREP="$GREP -F"
6705 else
6706 if test -z "$FGREP"; then
6707 ac_path_FGREP_found=false
6708 # Loop through the user's path and test for each of PROGNAME-LIST
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6711 do
6712 IFS=$as_save_IFS
6713 case $as_dir in #(((
6714 '') as_dir=./ ;;
6715 */) ;;
6716 *) as_dir=$as_dir/ ;;
6717 esac
6718 for ac_prog in fgrep
6719 do
6720 for ac_exec_ext in '' $ac_executable_extensions; do
6721 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
6722 as_fn_executable_p "$ac_path_FGREP" || continue
6723 # Check for GNU ac_path_FGREP and select it if it is found.
6724 # Check for GNU $ac_path_FGREP
6725 case `"$ac_path_FGREP" --version 2>&1` in #(
6726 *GNU*)
6727 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6728 #(
6729 *)
6730 ac_count=0
6731 printf %s 0123456789 >"conftest.in"
6732 while :
6733 do
6734 cat "conftest.in" "conftest.in" >"conftest.tmp"
6735 mv "conftest.tmp" "conftest.in"
6736 cp "conftest.in" "conftest.nl"
6737 printf "%s\n" 'FGREP' >> "conftest.nl"
6738 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6739 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6740 as_fn_arith $ac_count + 1 && ac_count=$as_val
6741 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6742 # Best one so far, save it but keep looking for a better one
6743 ac_cv_path_FGREP="$ac_path_FGREP"
6744 ac_path_FGREP_max=$ac_count
6745 fi
6746 # 10*(2^10) chars as input seems more than enough
6747 test $ac_count -gt 10 && break
6748 done
6749 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6750 esac
6751
6752 $ac_path_FGREP_found && break 3
6753 done
6754 done
6755 done
6756 IFS=$as_save_IFS
6757 if test -z "$ac_cv_path_FGREP"; then
6758 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6759 fi
6760 else
6761 ac_cv_path_FGREP=$FGREP
6762 fi
6763
6764 fi ;;
6765 esac
6766 fi
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6768 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
6769 FGREP="$ac_cv_path_FGREP"
6770
6771
6772 test -z "$GREP" && GREP=grep
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6791 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6792 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6793
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6795 printf %s "checking how to print strings... " >&6; }
6796 # Test print first, because it will be a builtin if present.
6797 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6798 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6799 ECHO='print -r --'
6800 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6801 ECHO='printf %s\n'
6802 else
6803 # Use this function as a fallback that always works.
6804 func_fallback_echo ()
6805 {
6806 eval 'cat <<_LTECHO_EOF
6807 $1
6808 _LTECHO_EOF'
6809 }
6810 ECHO='func_fallback_echo'
6811 fi
6812
6813 # func_echo_all arg...
6814 # Invoke $ECHO with all args, space-separated.
6815 func_echo_all ()
6816 {
6817 $ECHO ""
6818 }
6819
6820 case $ECHO in
6821 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6822 printf "%s\n" "printf" >&6; } ;;
6823 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6824 printf "%s\n" "print -r" >&6; } ;;
6825 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6826 printf "%s\n" "cat" >&6; } ;;
6827 esac
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844 # Check whether --with-gnu-ld was given.
6845 if test ${with_gnu_ld+y}
6846 then :
6847 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6848 else case e in #(
6849 e) with_gnu_ld=no ;;
6850 esac
6851 fi
6852
6853 ac_prog=ld
6854 if test yes = "$GCC"; then
6855 # Check if gcc -print-prog-name=ld gives a path.
6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6857 printf %s "checking for ld used by $CC... " >&6; }
6858 case $host in
6859 *-*-mingw* | *-*-windows*)
6860 # gcc leaves a trailing carriage return, which upsets mingw
6861 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6862 *)
6863 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6864 esac
6865 case $ac_prog in
6866 # Accept absolute paths.
6867 [\\/]* | ?:[\\/]*)
6868 re_direlt='/[^/][^/]*/\.\./'
6869 # Canonicalize the pathname of ld
6870 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6871 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6872 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6873 done
6874 test -z "$LD" && LD=$ac_prog
6875 ;;
6876 "")
6877 # If it fails, then pretend we aren't using GCC.
6878 ac_prog=ld
6879 ;;
6880 *)
6881 # If it is relative, then search for the first ld in PATH.
6882 with_gnu_ld=unknown
6883 ;;
6884 esac
6885 elif test yes = "$with_gnu_ld"; then
6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6887 printf %s "checking for GNU ld... " >&6; }
6888 else
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6890 printf %s "checking for non-GNU ld... " >&6; }
6891 fi
6892 if test ${lt_cv_path_LD+y}
6893 then :
6894 printf %s "(cached) " >&6
6895 else case e in #(
6896 e) if test -z "$LD"; then
6897 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6898 for ac_dir in $PATH; do
6899 IFS=$lt_save_ifs
6900 test -z "$ac_dir" && ac_dir=.
6901 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6902 lt_cv_path_LD=$ac_dir/$ac_prog
6903 # Check to see if the program is GNU ld. I'd rather use --version,
6904 # but apparently some variants of GNU ld only accept -v.
6905 # Break only if it was the GNU/non-GNU ld that we prefer.
6906 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6907 *GNU* | *'with BFD'*)
6908 test no != "$with_gnu_ld" && break
6909 ;;
6910 *)
6911 test yes != "$with_gnu_ld" && break
6912 ;;
6913 esac
6914 fi
6915 done
6916 IFS=$lt_save_ifs
6917 else
6918 lt_cv_path_LD=$LD # Let the user override the test with a path.
6919 fi ;;
6920 esac
6921 fi
6922
6923 LD=$lt_cv_path_LD
6924 if test -n "$LD"; then
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6926 printf "%s\n" "$LD" >&6; }
6927 else
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6929 printf "%s\n" "no" >&6; }
6930 fi
6931 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6933 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
6934 if test ${lt_cv_prog_gnu_ld+y}
6935 then :
6936 printf %s "(cached) " >&6
6937 else case e in #(
6938 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
6939 case `$LD -v 2>&1 </dev/null` in
6940 *GNU* | *'with BFD'*)
6941 lt_cv_prog_gnu_ld=yes
6942 ;;
6943 *)
6944 lt_cv_prog_gnu_ld=no
6945 ;;
6946 esac ;;
6947 esac
6948 fi
6949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6950 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
6951 with_gnu_ld=$lt_cv_prog_gnu_ld
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963 for ac_prog in perl5 perl
6964 do
6965 # Extract the first word of "$ac_prog", so it can be a program name with args.
6966 set dummy $ac_prog; ac_word=$2
6967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6968 printf %s "checking for $ac_word... " >&6; }
6969 if test ${ac_cv_prog_PERL+y}
6970 then :
6971 printf %s "(cached) " >&6
6972 else case e in #(
6973 e) if test -n "$PERL"; then
6974 ac_cv_prog_PERL="$PERL" # Let the user override the test.
6975 else
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 for as_dir in $PATH
6978 do
6979 IFS=$as_save_IFS
6980 case $as_dir in #(((
6981 '') as_dir=./ ;;
6982 */) ;;
6983 *) as_dir=$as_dir/ ;;
6984 esac
6985 for ac_exec_ext in '' $ac_executable_extensions; do
6986 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6987 ac_cv_prog_PERL="$ac_prog"
6988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6989 break 2
6990 fi
6991 done
6992 done
6993 IFS=$as_save_IFS
6994
6995 fi ;;
6996 esac
6997 fi
6998 PERL=$ac_cv_prog_PERL
6999 if test -n "$PERL"; then
7000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
7001 printf "%s\n" "$PERL" >&6; }
7002 else
7003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 printf "%s\n" "no" >&6; }
7005 fi
7006
7007
7008 test -n "$PERL" && break
7009 done
7010
7011 # Extract the first word of "glib-compile-resources", so it can be a program name with args.
7012 set dummy glib-compile-resources; ac_word=$2
7013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 printf %s "checking for $ac_word... " >&6; }
7015 if test ${ac_cv_path_GLIB_COMPILE_RESOURCES+y}
7016 then :
7017 printf %s "(cached) " >&6
7018 else case e in #(
7019 e) case $GLIB_COMPILE_RESOURCES in
7020 [\\/]* | ?:[\\/]*)
7021 ac_cv_path_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES" # Let the user override the test with a path.
7022 ;;
7023 *)
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 for as_dir in $PATH
7026 do
7027 IFS=$as_save_IFS
7028 case $as_dir in #(((
7029 '') as_dir=./ ;;
7030 */) ;;
7031 *) as_dir=$as_dir/ ;;
7032 esac
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7035 ac_cv_path_GLIB_COMPILE_RESOURCES="$as_dir$ac_word$ac_exec_ext"
7036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7037 break 2
7038 fi
7039 done
7040 done
7041 IFS=$as_save_IFS
7042
7043 ;;
7044 esac ;;
7045 esac
7046 fi
7047 GLIB_COMPILE_RESOURCES=$ac_cv_path_GLIB_COMPILE_RESOURCES
7048 if test -n "$GLIB_COMPILE_RESOURCES"; then
7049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_RESOURCES" >&5
7050 printf "%s\n" "$GLIB_COMPILE_RESOURCES" >&6; }
7051 else
7052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 printf "%s\n" "no" >&6; }
7054 fi
7055
7056
7057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7058 printf %s "checking for a sed that does not truncate output... " >&6; }
7059 if test ${ac_cv_path_SED+y}
7060 then :
7061 printf %s "(cached) " >&6
7062 else case e in #(
7063 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7064 for ac_i in 1 2 3 4 5 6 7; do
7065 ac_script="$ac_script$as_nl$ac_script"
7066 done
7067 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7068 { ac_script=; unset ac_script;}
7069 if test -z "$SED"; then
7070 ac_path_SED_found=false
7071 # Loop through the user's path and test for each of PROGNAME-LIST
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 for as_dir in $PATH
7074 do
7075 IFS=$as_save_IFS
7076 case $as_dir in #(((
7077 '') as_dir=./ ;;
7078 */) ;;
7079 *) as_dir=$as_dir/ ;;
7080 esac
7081 for ac_prog in sed gsed
7082 do
7083 for ac_exec_ext in '' $ac_executable_extensions; do
7084 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
7085 as_fn_executable_p "$ac_path_SED" || continue
7086 # Check for GNU ac_path_SED and select it if it is found.
7087 # Check for GNU $ac_path_SED
7088 case `"$ac_path_SED" --version 2>&1` in #(
7089 *GNU*)
7090 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7091 #(
7092 *)
7093 ac_count=0
7094 printf %s 0123456789 >"conftest.in"
7095 while :
7096 do
7097 cat "conftest.in" "conftest.in" >"conftest.tmp"
7098 mv "conftest.tmp" "conftest.in"
7099 cp "conftest.in" "conftest.nl"
7100 printf "%s\n" '' >> "conftest.nl"
7101 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7102 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7103 as_fn_arith $ac_count + 1 && ac_count=$as_val
7104 if test $ac_count -gt ${ac_path_SED_max-0}; then
7105 # Best one so far, save it but keep looking for a better one
7106 ac_cv_path_SED="$ac_path_SED"
7107 ac_path_SED_max=$ac_count
7108 fi
7109 # 10*(2^10) chars as input seems more than enough
7110 test $ac_count -gt 10 && break
7111 done
7112 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7113 esac
7114
7115 $ac_path_SED_found && break 3
7116 done
7117 done
7118 done
7119 IFS=$as_save_IFS
7120 if test -z "$ac_cv_path_SED"; then
7121 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7122 fi
7123 else
7124 ac_cv_path_SED=$SED
7125 fi
7126 ;;
7127 esac
7128 fi
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7130 printf "%s\n" "$ac_cv_path_SED" >&6; }
7131 SED="$ac_cv_path_SED"
7132 rm -f conftest.sed
7133
7134
7135
7136 case `pwd` in
7137 *\ * | *\ *)
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7139 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7140 esac
7141
7142
7143
7144 macro_version='2.5.4.23-5b58'
7145 macro_revision='2.5.4.23'
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160 ltmain=$ac_aux_dir/ltmain.sh
7161
7162 # Backslashify metacharacters that are still active within
7163 # double-quoted strings.
7164 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7165
7166 # Same as above, but do not quote variable references.
7167 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7168
7169 # Sed substitution to delay expansion of an escaped shell variable in a
7170 # double_quote_subst'ed string.
7171 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7172
7173 # Sed substitution to delay expansion of an escaped single quote.
7174 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7175
7176 # Sed substitution to avoid accidental globbing in evaled expressions
7177 no_glob_subst='s/\*/\\\*/g'
7178
7179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7180 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7181 if test ${lt_cv_path_NM+y}
7182 then :
7183 printf %s "(cached) " >&6
7184 else case e in #(
7185 e) if test -n "$NM"; then
7186 # Let the user override the test.
7187 lt_cv_path_NM=$NM
7188 else
7189 lt_nm_to_check=${ac_tool_prefix}nm
7190 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7191 lt_nm_to_check="$lt_nm_to_check nm"
7192 fi
7193 for lt_tmp_nm in $lt_nm_to_check; do
7194 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7195 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7196 IFS=$lt_save_ifs
7197 test -z "$ac_dir" && ac_dir=.
7198 tmp_nm=$ac_dir/$lt_tmp_nm
7199 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7200 # Check to see if the nm accepts a BSD-compat flag.
7201 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7202 # nm: unknown option "B" ignored
7203 # Tru64's nm complains that /dev/null is an invalid object file
7204 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7205 case $build_os in
7206 mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
7207 *) lt_bad_file=/dev/null ;;
7208 esac
7209 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
7210 *$lt_bad_file* | *'Invalid file or object type'*)
7211 lt_cv_path_NM="$tmp_nm -B"
7212 break 2
7213 ;;
7214 *)
7215 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
7216 */dev/null*)
7217 lt_cv_path_NM="$tmp_nm -p"
7218 break 2
7219 ;;
7220 *)
7221 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7222 continue # so that we can try to find one that supports BSD flags
7223 ;;
7224 esac
7225 ;;
7226 esac
7227 fi
7228 done
7229 IFS=$lt_save_ifs
7230 done
7231 : ${lt_cv_path_NM=no}
7232 fi ;;
7233 esac
7234 fi
7235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7236 printf "%s\n" "$lt_cv_path_NM" >&6; }
7237 if test no != "$lt_cv_path_NM"; then
7238 NM=$lt_cv_path_NM
7239 else
7240 # Didn't find any BSD compatible name lister, look for dumpbin.
7241 if test -n "$DUMPBIN"; then :
7242 # Let the user override the test.
7243 else
7244 if test -n "$ac_tool_prefix"; then
7245 for ac_prog in dumpbin "link -dump"
7246 do
7247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 printf %s "checking for $ac_word... " >&6; }
7251 if test ${ac_cv_prog_DUMPBIN+y}
7252 then :
7253 printf %s "(cached) " >&6
7254 else case e in #(
7255 e) if test -n "$DUMPBIN"; then
7256 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7257 else
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 for as_dir in $PATH
7260 do
7261 IFS=$as_save_IFS
7262 case $as_dir in #(((
7263 '') as_dir=./ ;;
7264 */) ;;
7265 *) as_dir=$as_dir/ ;;
7266 esac
7267 for ac_exec_ext in '' $ac_executable_extensions; do
7268 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7269 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7271 break 2
7272 fi
7273 done
7274 done
7275 IFS=$as_save_IFS
7276
7277 fi ;;
7278 esac
7279 fi
7280 DUMPBIN=$ac_cv_prog_DUMPBIN
7281 if test -n "$DUMPBIN"; then
7282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7283 printf "%s\n" "$DUMPBIN" >&6; }
7284 else
7285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 printf "%s\n" "no" >&6; }
7287 fi
7288
7289
7290 test -n "$DUMPBIN" && break
7291 done
7292 fi
7293 if test -z "$DUMPBIN"; then
7294 ac_ct_DUMPBIN=$DUMPBIN
7295 for ac_prog in dumpbin "link -dump"
7296 do
7297 # Extract the first word of "$ac_prog", so it can be a program name with args.
7298 set dummy $ac_prog; ac_word=$2
7299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 printf %s "checking for $ac_word... " >&6; }
7301 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
7302 then :
7303 printf %s "(cached) " >&6
7304 else case e in #(
7305 e) if test -n "$ac_ct_DUMPBIN"; then
7306 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7307 else
7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309 for as_dir in $PATH
7310 do
7311 IFS=$as_save_IFS
7312 case $as_dir in #(((
7313 '') as_dir=./ ;;
7314 */) ;;
7315 *) as_dir=$as_dir/ ;;
7316 esac
7317 for ac_exec_ext in '' $ac_executable_extensions; do
7318 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7319 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7321 break 2
7322 fi
7323 done
7324 done
7325 IFS=$as_save_IFS
7326
7327 fi ;;
7328 esac
7329 fi
7330 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7331 if test -n "$ac_ct_DUMPBIN"; then
7332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7333 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
7334 else
7335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 printf "%s\n" "no" >&6; }
7337 fi
7338
7339
7340 test -n "$ac_ct_DUMPBIN" && break
7341 done
7342
7343 if test "x$ac_ct_DUMPBIN" = x; then
7344 DUMPBIN=":"
7345 else
7346 case $cross_compiling:$ac_tool_warned in
7347 yes:)
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7349 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7350 ac_tool_warned=yes ;;
7351 esac
7352 DUMPBIN=$ac_ct_DUMPBIN
7353 fi
7354 fi
7355
7356 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
7357 *COFF*)
7358 DUMPBIN="$DUMPBIN -symbols -headers"
7359 ;;
7360 *)
7361 DUMPBIN=:
7362 ;;
7363 esac
7364 fi
7365
7366 if test : != "$DUMPBIN"; then
7367 NM=$DUMPBIN
7368 fi
7369 fi
7370 test -z "$NM" && NM=nm
7371
7372
7373
7374
7375
7376
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7378 printf %s "checking the name lister ($NM) interface... " >&6; }
7379 if test ${lt_cv_nm_interface+y}
7380 then :
7381 printf %s "(cached) " >&6
7382 else case e in #(
7383 e) lt_cv_nm_interface="BSD nm"
7384 echo "int some_variable = 0;" > conftest.$ac_ext
7385 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7386 (eval "$ac_compile" 2>conftest.err)
7387 cat conftest.err >&5
7388 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7389 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7390 cat conftest.err >&5
7391 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7392 cat conftest.out >&5
7393 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7394 lt_cv_nm_interface="MS dumpbin"
7395 fi
7396 rm -f conftest* ;;
7397 esac
7398 fi
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7400 printf "%s\n" "$lt_cv_nm_interface" >&6; }
7401
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7403 printf %s "checking whether ln -s works... " >&6; }
7404 LN_S=$as_ln_s
7405 if test "$LN_S" = "ln -s"; then
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7407 printf "%s\n" "yes" >&6; }
7408 else
7409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7410 printf "%s\n" "no, using $LN_S" >&6; }
7411 fi
7412
7413 # find the maximum length of command line arguments
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7415 printf %s "checking the maximum length of command line arguments... " >&6; }
7416 if test ${lt_cv_sys_max_cmd_len+y}
7417 then :
7418 printf %s "(cached) " >&6
7419 else case e in #(
7420 e) i=0
7421 teststring=ABCD
7422
7423 case $build_os in
7424 msdosdjgpp*)
7425 # On DJGPP, this test can blow up pretty badly due to problems in libc
7426 # (any single argument exceeding 2000 bytes causes a buffer overrun
7427 # during glob expansion). Even if it were fixed, the result of this
7428 # check would be larger than it should be.
7429 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7430 ;;
7431
7432 gnu* | ironclad*)
7433 # Under GNU Hurd and Ironclad, this test is not required because there
7434 # is no limit to the length of command line arguments.
7435 # Libtool will interpret -1 as no limit whatsoever
7436 lt_cv_sys_max_cmd_len=-1;
7437 ;;
7438
7439 cygwin* | mingw* | windows* | cegcc*)
7440 # On Win9x/ME, this test blows up -- it succeeds, but takes
7441 # about 5 minutes as the teststring grows exponentially.
7442 # Worse, since 9x/ME are not pre-emptively multitasking,
7443 # you end up with a "frozen" computer, even though with patience
7444 # the test eventually succeeds (with a max line length of 256k).
7445 # Instead, let's just punt: use the minimum linelength reported by
7446 # all of the supported platforms: 8192 (on NT/2K/XP).
7447 lt_cv_sys_max_cmd_len=8192;
7448 ;;
7449
7450 mint*)
7451 # On MiNT this can take a long time and run out of memory.
7452 lt_cv_sys_max_cmd_len=8192;
7453 ;;
7454
7455 amigaos*)
7456 # On AmigaOS with pdksh, this test takes hours, literally.
7457 # So we just punt and use a minimum line length of 8192.
7458 lt_cv_sys_max_cmd_len=8192;
7459 ;;
7460
7461 darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
7462 # This has been around since 386BSD, at least. Likely further.
7463 if test -x /sbin/sysctl; then
7464 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7465 elif test -x /usr/sbin/sysctl; then
7466 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7467 else
7468 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7469 fi
7470 # And add a safety zone
7471 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7472 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7473 ;;
7474
7475 interix*)
7476 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7477 lt_cv_sys_max_cmd_len=196608
7478 ;;
7479
7480 os2*)
7481 # The test takes a long time on OS/2.
7482 lt_cv_sys_max_cmd_len=8192
7483 ;;
7484
7485 osf*)
7486 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7487 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7488 # nice to cause kernel panics so lets avoid the loop below.
7489 # First set a reasonable default.
7490 lt_cv_sys_max_cmd_len=16384
7491 #
7492 if test -x /sbin/sysconfig; then
7493 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7494 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7495 esac
7496 fi
7497 ;;
7498 sco3.2v5*)
7499 lt_cv_sys_max_cmd_len=102400
7500 ;;
7501 sysv5* | sco5v6* | sysv4.2uw2*)
7502 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7503 if test -n "$kargmax"; then
7504 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
7505 else
7506 lt_cv_sys_max_cmd_len=32768
7507 fi
7508 ;;
7509 *)
7510 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7511 if test -n "$lt_cv_sys_max_cmd_len" && \
7512 test undefined != "$lt_cv_sys_max_cmd_len"; then
7513 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7514 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7515 else
7516 # Make teststring a little bigger before we do anything with it.
7517 # a 1K string should be a reasonable start.
7518 for i in 1 2 3 4 5 6 7 8; do
7519 teststring=$teststring$teststring
7520 done
7521 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7522 # If test is not a shell built-in, we'll probably end up computing a
7523 # maximum length that is only half of the actual maximum length, but
7524 # we can't tell.
7525 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7526 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7527 test 17 != "$i" # 1/2 MB should be enough
7528 do
7529 i=`expr $i + 1`
7530 teststring=$teststring$teststring
7531 done
7532 # Only check the string length outside the loop.
7533 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7534 teststring=
7535 # Add a significant safety factor because C++ compilers can tack on
7536 # massive amounts of additional arguments before passing them to the
7537 # linker. It appears as though 1/2 is a usable value.
7538 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7539 fi
7540 ;;
7541 esac
7542 ;;
7543 esac
7544 fi
7545
7546 if test -n "$lt_cv_sys_max_cmd_len"; then
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7548 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
7549 else
7550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
7551 printf "%s\n" "none" >&6; }
7552 fi
7553 max_cmd_len=$lt_cv_sys_max_cmd_len
7554
7555
7556
7557
7558
7559
7560 : ${CP="cp -f"}
7561 : ${MV="mv -f"}
7562 : ${RM="rm -f"}
7563
7564 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7565 lt_unset=unset
7566 else
7567 lt_unset=false
7568 fi
7569
7570
7571
7572
7573
7574 # test EBCDIC or ASCII
7575 case `echo X|tr X '\101'` in
7576 A) # ASCII based system
7577 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7578 lt_SP2NL='tr \040 \012'
7579 lt_NL2SP='tr \015\012 \040\040'
7580 ;;
7581 *) # EBCDIC based system
7582 lt_SP2NL='tr \100 \n'
7583 lt_NL2SP='tr \r\n \100\100'
7584 ;;
7585 esac
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7596 printf %s "checking how to convert $build file names to $host format... " >&6; }
7597 if test ${lt_cv_to_host_file_cmd+y}
7598 then :
7599 printf %s "(cached) " >&6
7600 else case e in #(
7601 e) case $host in
7602 *-*-mingw* )
7603 case $build in
7604 *-*-mingw* | *-*-windows* ) # actually msys
7605 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7606 ;;
7607 *-*-cygwin* )
7608 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7609 ;;
7610 * ) # otherwise, assume *nix
7611 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7612 ;;
7613 esac
7614 ;;
7615 *-*-cygwin* )
7616 case $build in
7617 *-*-mingw* | *-*-windows* ) # actually msys
7618 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7619 ;;
7620 *-*-cygwin* )
7621 lt_cv_to_host_file_cmd=func_convert_file_noop
7622 ;;
7623 * ) # otherwise, assume *nix
7624 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7625 ;;
7626 esac
7627 ;;
7628 * ) # unhandled hosts (and "normal" native builds)
7629 lt_cv_to_host_file_cmd=func_convert_file_noop
7630 ;;
7631 esac
7632 ;;
7633 esac
7634 fi
7635
7636 to_host_file_cmd=$lt_cv_to_host_file_cmd
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7638 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
7639
7640
7641
7642
7643
7644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7645 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
7646 if test ${lt_cv_to_tool_file_cmd+y}
7647 then :
7648 printf %s "(cached) " >&6
7649 else case e in #(
7650 e) #assume ordinary cross tools, or native build.
7651 lt_cv_to_tool_file_cmd=func_convert_file_noop
7652 case $host in
7653 *-*-mingw* | *-*-windows* )
7654 case $build in
7655 *-*-mingw* | *-*-windows* ) # actually msys
7656 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7657 ;;
7658 esac
7659 ;;
7660 esac
7661 ;;
7662 esac
7663 fi
7664
7665 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7667 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
7668
7669
7670
7671
7672
7673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7674 printf %s "checking for $LD option to reload object files... " >&6; }
7675 if test ${lt_cv_ld_reload_flag+y}
7676 then :
7677 printf %s "(cached) " >&6
7678 else case e in #(
7679 e) lt_cv_ld_reload_flag='-r' ;;
7680 esac
7681 fi
7682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7683 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
7684 reload_flag=$lt_cv_ld_reload_flag
7685 case $reload_flag in
7686 "" | " "*) ;;
7687 *) reload_flag=" $reload_flag" ;;
7688 esac
7689 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7690 case $host_os in
7691 cygwin* | mingw* | windows* | pw32* | cegcc*)
7692 if test yes != "$GCC"; then
7693 reload_cmds=false
7694 fi
7695 ;;
7696 darwin*)
7697 if test yes = "$GCC"; then
7698 reload_cmds='$LTCC $LTCFLAGS $stdlibflag $wl-r -o $output$reload_objs'
7699 else
7700 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7701 fi
7702 ;;
7703 esac
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713 # Extract the first word of "file", so it can be a program name with args.
7714 set dummy file; ac_word=$2
7715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 printf %s "checking for $ac_word... " >&6; }
7717 if test ${ac_cv_prog_FILECMD+y}
7718 then :
7719 printf %s "(cached) " >&6
7720 else case e in #(
7721 e) if test -n "$FILECMD"; then
7722 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
7723 else
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 for as_dir in $PATH
7726 do
7727 IFS=$as_save_IFS
7728 case $as_dir in #(((
7729 '') as_dir=./ ;;
7730 */) ;;
7731 *) as_dir=$as_dir/ ;;
7732 esac
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7735 ac_cv_prog_FILECMD="file"
7736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7737 break 2
7738 fi
7739 done
7740 done
7741 IFS=$as_save_IFS
7742
7743 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
7744 fi ;;
7745 esac
7746 fi
7747 FILECMD=$ac_cv_prog_FILECMD
7748 if test -n "$FILECMD"; then
7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
7750 printf "%s\n" "$FILECMD" >&6; }
7751 else
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753 printf "%s\n" "no" >&6; }
7754 fi
7755
7756
7757
7758
7759
7760
7761
7762
7763 if test -n "$ac_tool_prefix"; then
7764 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7765 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7767 printf %s "checking for $ac_word... " >&6; }
7768 if test ${ac_cv_prog_OBJDUMP+y}
7769 then :
7770 printf %s "(cached) " >&6
7771 else case e in #(
7772 e) if test -n "$OBJDUMP"; then
7773 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7774 else
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 for as_dir in $PATH
7777 do
7778 IFS=$as_save_IFS
7779 case $as_dir in #(((
7780 '') as_dir=./ ;;
7781 */) ;;
7782 *) as_dir=$as_dir/ ;;
7783 esac
7784 for ac_exec_ext in '' $ac_executable_extensions; do
7785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7786 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7788 break 2
7789 fi
7790 done
7791 done
7792 IFS=$as_save_IFS
7793
7794 fi ;;
7795 esac
7796 fi
7797 OBJDUMP=$ac_cv_prog_OBJDUMP
7798 if test -n "$OBJDUMP"; then
7799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7800 printf "%s\n" "$OBJDUMP" >&6; }
7801 else
7802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 printf "%s\n" "no" >&6; }
7804 fi
7805
7806
7807 fi
7808 if test -z "$ac_cv_prog_OBJDUMP"; then
7809 ac_ct_OBJDUMP=$OBJDUMP
7810 # Extract the first word of "objdump", so it can be a program name with args.
7811 set dummy objdump; ac_word=$2
7812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7813 printf %s "checking for $ac_word... " >&6; }
7814 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
7815 then :
7816 printf %s "(cached) " >&6
7817 else case e in #(
7818 e) if test -n "$ac_ct_OBJDUMP"; then
7819 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7820 else
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 for as_dir in $PATH
7823 do
7824 IFS=$as_save_IFS
7825 case $as_dir in #(((
7826 '') as_dir=./ ;;
7827 */) ;;
7828 *) as_dir=$as_dir/ ;;
7829 esac
7830 for ac_exec_ext in '' $ac_executable_extensions; do
7831 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7832 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7834 break 2
7835 fi
7836 done
7837 done
7838 IFS=$as_save_IFS
7839
7840 fi ;;
7841 esac
7842 fi
7843 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7844 if test -n "$ac_ct_OBJDUMP"; then
7845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7846 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
7847 else
7848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7849 printf "%s\n" "no" >&6; }
7850 fi
7851
7852 if test "x$ac_ct_OBJDUMP" = x; then
7853 OBJDUMP="false"
7854 else
7855 case $cross_compiling:$ac_tool_warned in
7856 yes:)
7857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7858 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7859 ac_tool_warned=yes ;;
7860 esac
7861 OBJDUMP=$ac_ct_OBJDUMP
7862 fi
7863 else
7864 OBJDUMP="$ac_cv_prog_OBJDUMP"
7865 fi
7866
7867 test -z "$OBJDUMP" && OBJDUMP=objdump
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7878 printf %s "checking how to recognize dependent libraries... " >&6; }
7879 if test ${lt_cv_deplibs_check_method+y}
7880 then :
7881 printf %s "(cached) " >&6
7882 else case e in #(
7883 e) lt_cv_file_magic_cmd='$MAGIC_CMD'
7884 lt_cv_file_magic_test_file=
7885 lt_cv_deplibs_check_method='unknown'
7886 # Need to set the preceding variable on all platforms that support
7887 # interlibrary dependencies.
7888 # 'none' -- dependencies not supported.
7889 # 'unknown' -- same as none, but documents that we really don't know.
7890 # 'pass_all' -- all dependencies passed with no checks.
7891 # 'file_magic [[regex]]' -- check by looking for files in library path
7892 # that responds to the $file_magic_cmd with a given extended regex.
7893 # If you have 'file' or equivalent on your system and you're not sure
7894 # whether 'pass_all' will *always* work, you probably want this one.
7895
7896 case $host_os in
7897 aix[4-9]*)
7898 lt_cv_deplibs_check_method=pass_all
7899 ;;
7900
7901 beos*)
7902 lt_cv_deplibs_check_method=pass_all
7903 ;;
7904
7905 bsdi[45]*)
7906 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7907 lt_cv_file_magic_cmd='$FILECMD -L'
7908 lt_cv_file_magic_test_file=/shlib/libc.so
7909 ;;
7910
7911 cygwin*)
7912 # func_win32_libid is a shell function defined in ltmain.sh
7913 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7914 lt_cv_file_magic_cmd='func_win32_libid'
7915 ;;
7916
7917 mingw* | windows* | pw32*)
7918 # Base MSYS/MinGW do not provide the 'file' command needed by
7919 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7920 # unless we find 'file', for example because we are cross-compiling.
7921 if ( file / ) >/dev/null 2>&1; then
7922 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7923 lt_cv_file_magic_cmd='func_win32_libid'
7924 else
7925 # Keep this pattern in sync with the one in func_win32_libid.
7926 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
7927 lt_cv_file_magic_cmd='$OBJDUMP -f'
7928 fi
7929 ;;
7930
7931 cegcc*)
7932 # use the weaker test based on 'objdump'. See mingw*.
7933 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7934 lt_cv_file_magic_cmd='$OBJDUMP -f'
7935 ;;
7936
7937 darwin* | rhapsody*)
7938 lt_cv_deplibs_check_method=pass_all
7939 ;;
7940
7941 freebsd* | dragonfly* | midnightbsd*)
7942 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7943 case $host_cpu in
7944 i*86 )
7945 # Not sure whether the presence of OpenBSD here was a mistake.
7946 # Let's accept both of them until this is cleared up.
7947 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7948 lt_cv_file_magic_cmd=$FILECMD
7949 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7950 ;;
7951 esac
7952 else
7953 lt_cv_deplibs_check_method=pass_all
7954 fi
7955 ;;
7956
7957 haiku*)
7958 lt_cv_deplibs_check_method=pass_all
7959 ;;
7960
7961 hpux10.20* | hpux11*)
7962 lt_cv_file_magic_cmd=$FILECMD
7963 case $host_cpu in
7964 ia64*)
7965 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7966 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7967 ;;
7968 hppa*64*)
7969 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]'
7970 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7971 ;;
7972 *)
7973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7974 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7975 ;;
7976 esac
7977 ;;
7978
7979 interix[3-9]*)
7980 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7981 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7982 ;;
7983
7984 irix5* | irix6* | nonstopux*)
7985 case $LD in
7986 *-32|*"-32 ") libmagic=32-bit;;
7987 *-n32|*"-n32 ") libmagic=N32;;
7988 *-64|*"-64 ") libmagic=64-bit;;
7989 *) libmagic=never-match;;
7990 esac
7991 lt_cv_deplibs_check_method=pass_all
7992 ;;
7993
7994 # This must be glibc/ELF.
7995 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7996 lt_cv_deplibs_check_method=pass_all
7997 ;;
7998
7999 *-mlibc)
8000 lt_cv_deplibs_check_method=pass_all
8001 ;;
8002
8003 netbsd* | netbsdelf*-gnu)
8004 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8005 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8006 else
8007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8008 fi
8009 ;;
8010
8011 newos6*)
8012 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8013 lt_cv_file_magic_cmd=$FILECMD
8014 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8015 ;;
8016
8017 *nto* | *qnx*)
8018 lt_cv_deplibs_check_method=pass_all
8019 ;;
8020
8021 openbsd*)
8022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8023 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8024 else
8025 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8026 fi
8027 ;;
8028
8029 osf3* | osf4* | osf5*)
8030 lt_cv_deplibs_check_method=pass_all
8031 ;;
8032
8033 rdos*)
8034 lt_cv_deplibs_check_method=pass_all
8035 ;;
8036
8037 serenity*)
8038 lt_cv_deplibs_check_method=pass_all
8039 ;;
8040
8041 solaris*)
8042 lt_cv_deplibs_check_method=pass_all
8043 ;;
8044
8045 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8046 lt_cv_deplibs_check_method=pass_all
8047 ;;
8048
8049 sysv4 | sysv4.3*)
8050 case $host_vendor in
8051 motorola)
8052 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]'
8053 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8054 ;;
8055 ncr)
8056 lt_cv_deplibs_check_method=pass_all
8057 ;;
8058 sequent)
8059 lt_cv_file_magic_cmd='/bin/file'
8060 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8061 ;;
8062 sni)
8063 lt_cv_file_magic_cmd='/bin/file'
8064 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8065 lt_cv_file_magic_test_file=/lib/libc.so
8066 ;;
8067 siemens)
8068 lt_cv_deplibs_check_method=pass_all
8069 ;;
8070 pc)
8071 lt_cv_deplibs_check_method=pass_all
8072 ;;
8073 esac
8074 ;;
8075
8076 tpf*)
8077 lt_cv_deplibs_check_method=pass_all
8078 ;;
8079 os2*)
8080 lt_cv_deplibs_check_method=pass_all
8081 ;;
8082 esac
8083 ;;
8084 esac
8085 fi
8086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8087 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
8088
8089 file_magic_glob=
8090 want_nocaseglob=no
8091 if test "$build" = "$host"; then
8092 case $host_os in
8093 mingw* | windows* | pw32*)
8094 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8095 want_nocaseglob=yes
8096 else
8097 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8098 fi
8099 ;;
8100 esac
8101 fi
8102
8103 file_magic_cmd=$lt_cv_file_magic_cmd
8104 deplibs_check_method=$lt_cv_deplibs_check_method
8105 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128 if test -n "$ac_tool_prefix"; then
8129 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8130 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8132 printf %s "checking for $ac_word... " >&6; }
8133 if test ${ac_cv_prog_DLLTOOL+y}
8134 then :
8135 printf %s "(cached) " >&6
8136 else case e in #(
8137 e) if test -n "$DLLTOOL"; then
8138 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8139 else
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141 for as_dir in $PATH
8142 do
8143 IFS=$as_save_IFS
8144 case $as_dir in #(((
8145 '') as_dir=./ ;;
8146 */) ;;
8147 *) as_dir=$as_dir/ ;;
8148 esac
8149 for ac_exec_ext in '' $ac_executable_extensions; do
8150 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8151 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8153 break 2
8154 fi
8155 done
8156 done
8157 IFS=$as_save_IFS
8158
8159 fi ;;
8160 esac
8161 fi
8162 DLLTOOL=$ac_cv_prog_DLLTOOL
8163 if test -n "$DLLTOOL"; then
8164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8165 printf "%s\n" "$DLLTOOL" >&6; }
8166 else
8167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 printf "%s\n" "no" >&6; }
8169 fi
8170
8171
8172 fi
8173 if test -z "$ac_cv_prog_DLLTOOL"; then
8174 ac_ct_DLLTOOL=$DLLTOOL
8175 # Extract the first word of "dlltool", so it can be a program name with args.
8176 set dummy dlltool; ac_word=$2
8177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8178 printf %s "checking for $ac_word... " >&6; }
8179 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
8180 then :
8181 printf %s "(cached) " >&6
8182 else case e in #(
8183 e) if test -n "$ac_ct_DLLTOOL"; then
8184 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8185 else
8186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187 for as_dir in $PATH
8188 do
8189 IFS=$as_save_IFS
8190 case $as_dir in #(((
8191 '') as_dir=./ ;;
8192 */) ;;
8193 *) as_dir=$as_dir/ ;;
8194 esac
8195 for ac_exec_ext in '' $ac_executable_extensions; do
8196 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8197 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8199 break 2
8200 fi
8201 done
8202 done
8203 IFS=$as_save_IFS
8204
8205 fi ;;
8206 esac
8207 fi
8208 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8209 if test -n "$ac_ct_DLLTOOL"; then
8210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8211 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
8212 else
8213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8214 printf "%s\n" "no" >&6; }
8215 fi
8216
8217 if test "x$ac_ct_DLLTOOL" = x; then
8218 DLLTOOL="false"
8219 else
8220 case $cross_compiling:$ac_tool_warned in
8221 yes:)
8222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8223 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8224 ac_tool_warned=yes ;;
8225 esac
8226 DLLTOOL=$ac_ct_DLLTOOL
8227 fi
8228 else
8229 DLLTOOL="$ac_cv_prog_DLLTOOL"
8230 fi
8231
8232 test -z "$DLLTOOL" && DLLTOOL=dlltool
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8244 printf %s "checking how to associate runtime and link libraries... " >&6; }
8245 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
8246 then :
8247 printf %s "(cached) " >&6
8248 else case e in #(
8249 e) lt_cv_sharedlib_from_linklib_cmd='unknown'
8250
8251 case $host_os in
8252 cygwin* | mingw* | windows* | pw32* | cegcc*)
8253 # two different shell functions defined in ltmain.sh;
8254 # decide which one to use based on capabilities of $DLLTOOL
8255 case `$DLLTOOL --help 2>&1` in
8256 *--identify-strict*)
8257 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8258 ;;
8259 *)
8260 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8261 ;;
8262 esac
8263 ;;
8264 *)
8265 # fallback: assume linklib IS sharedlib
8266 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8267 ;;
8268 esac
8269 ;;
8270 esac
8271 fi
8272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8273 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8274 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8275 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8276
8277
8278
8279
8280
8281
8282
8283 if test -n "$ac_tool_prefix"; then
8284 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8285 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8287 printf %s "checking for $ac_word... " >&6; }
8288 if test ${ac_cv_prog_RANLIB+y}
8289 then :
8290 printf %s "(cached) " >&6
8291 else case e in #(
8292 e) if test -n "$RANLIB"; then
8293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8294 else
8295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8296 for as_dir in $PATH
8297 do
8298 IFS=$as_save_IFS
8299 case $as_dir in #(((
8300 '') as_dir=./ ;;
8301 */) ;;
8302 *) as_dir=$as_dir/ ;;
8303 esac
8304 for ac_exec_ext in '' $ac_executable_extensions; do
8305 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8306 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8308 break 2
8309 fi
8310 done
8311 done
8312 IFS=$as_save_IFS
8313
8314 fi ;;
8315 esac
8316 fi
8317 RANLIB=$ac_cv_prog_RANLIB
8318 if test -n "$RANLIB"; then
8319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8320 printf "%s\n" "$RANLIB" >&6; }
8321 else
8322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8323 printf "%s\n" "no" >&6; }
8324 fi
8325
8326
8327 fi
8328 if test -z "$ac_cv_prog_RANLIB"; then
8329 ac_ct_RANLIB=$RANLIB
8330 # Extract the first word of "ranlib", so it can be a program name with args.
8331 set dummy ranlib; ac_word=$2
8332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333 printf %s "checking for $ac_word... " >&6; }
8334 if test ${ac_cv_prog_ac_ct_RANLIB+y}
8335 then :
8336 printf %s "(cached) " >&6
8337 else case e in #(
8338 e) if test -n "$ac_ct_RANLIB"; then
8339 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8340 else
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 for as_dir in $PATH
8343 do
8344 IFS=$as_save_IFS
8345 case $as_dir in #(((
8346 '') as_dir=./ ;;
8347 */) ;;
8348 *) as_dir=$as_dir/ ;;
8349 esac
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8352 ac_cv_prog_ac_ct_RANLIB="ranlib"
8353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8354 break 2
8355 fi
8356 done
8357 done
8358 IFS=$as_save_IFS
8359
8360 fi ;;
8361 esac
8362 fi
8363 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8364 if test -n "$ac_ct_RANLIB"; then
8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8366 printf "%s\n" "$ac_ct_RANLIB" >&6; }
8367 else
8368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 printf "%s\n" "no" >&6; }
8370 fi
8371
8372 if test "x$ac_ct_RANLIB" = x; then
8373 RANLIB=":"
8374 else
8375 case $cross_compiling:$ac_tool_warned in
8376 yes:)
8377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8378 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8379 ac_tool_warned=yes ;;
8380 esac
8381 RANLIB=$ac_ct_RANLIB
8382 fi
8383 else
8384 RANLIB="$ac_cv_prog_RANLIB"
8385 fi
8386
8387 if test -n "$ac_tool_prefix"; then
8388 for ac_prog in ar
8389 do
8390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8391 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8393 printf %s "checking for $ac_word... " >&6; }
8394 if test ${ac_cv_prog_AR+y}
8395 then :
8396 printf %s "(cached) " >&6
8397 else case e in #(
8398 e) if test -n "$AR"; then
8399 ac_cv_prog_AR="$AR" # Let the user override the test.
8400 else
8401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8402 for as_dir in $PATH
8403 do
8404 IFS=$as_save_IFS
8405 case $as_dir in #(((
8406 '') as_dir=./ ;;
8407 */) ;;
8408 *) as_dir=$as_dir/ ;;
8409 esac
8410 for ac_exec_ext in '' $ac_executable_extensions; do
8411 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8412 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8414 break 2
8415 fi
8416 done
8417 done
8418 IFS=$as_save_IFS
8419
8420 fi ;;
8421 esac
8422 fi
8423 AR=$ac_cv_prog_AR
8424 if test -n "$AR"; then
8425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8426 printf "%s\n" "$AR" >&6; }
8427 else
8428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8429 printf "%s\n" "no" >&6; }
8430 fi
8431
8432
8433 test -n "$AR" && break
8434 done
8435 fi
8436 if test -z "$AR"; then
8437 ac_ct_AR=$AR
8438 for ac_prog in ar
8439 do
8440 # Extract the first word of "$ac_prog", so it can be a program name with args.
8441 set dummy $ac_prog; ac_word=$2
8442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8443 printf %s "checking for $ac_word... " >&6; }
8444 if test ${ac_cv_prog_ac_ct_AR+y}
8445 then :
8446 printf %s "(cached) " >&6
8447 else case e in #(
8448 e) if test -n "$ac_ct_AR"; then
8449 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8450 else
8451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8452 for as_dir in $PATH
8453 do
8454 IFS=$as_save_IFS
8455 case $as_dir in #(((
8456 '') as_dir=./ ;;
8457 */) ;;
8458 *) as_dir=$as_dir/ ;;
8459 esac
8460 for ac_exec_ext in '' $ac_executable_extensions; do
8461 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8462 ac_cv_prog_ac_ct_AR="$ac_prog"
8463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8464 break 2
8465 fi
8466 done
8467 done
8468 IFS=$as_save_IFS
8469
8470 fi ;;
8471 esac
8472 fi
8473 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8474 if test -n "$ac_ct_AR"; then
8475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8476 printf "%s\n" "$ac_ct_AR" >&6; }
8477 else
8478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8479 printf "%s\n" "no" >&6; }
8480 fi
8481
8482
8483 test -n "$ac_ct_AR" && break
8484 done
8485
8486 if test "x$ac_ct_AR" = x; then
8487 AR="false"
8488 else
8489 case $cross_compiling:$ac_tool_warned in
8490 yes:)
8491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8492 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8493 ac_tool_warned=yes ;;
8494 esac
8495 AR=$ac_ct_AR
8496 fi
8497 fi
8498
8499 : ${AR=ar}
8500
8501
8502
8503
8504
8505
8506 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
8507 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
8508 # higher priority because that's what people were doing historically (setting
8509 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
8510 # variable obsoleted/removed.
8511
8512 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
8513 lt_ar_flags=$AR_FLAGS
8514
8515
8516
8517
8518
8519
8520 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
8521 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
8522
8523
8524
8525
8526
8527
8528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8529 printf %s "checking for archiver @FILE support... " >&6; }
8530 if test ${lt_cv_ar_at_file+y}
8531 then :
8532 printf %s "(cached) " >&6
8533 else case e in #(
8534 e) lt_cv_ar_at_file=no
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537
8538 int
8539 main (void)
8540 {
8541
8542 ;
8543 return 0;
8544 }
8545 _ACEOF
8546 if ac_fn_c_try_compile "$LINENO"
8547 then :
8548 echo conftest.$ac_objext > conftest.lst
8549 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8550 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8551 (eval $lt_ar_try) 2>&5
8552 ac_status=$?
8553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8554 test $ac_status = 0; }
8555 if test 0 -eq "$ac_status"; then
8556 # Ensure the archiver fails upon bogus file names.
8557 rm -f conftest.$ac_objext libconftest.a
8558 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8559 (eval $lt_ar_try) 2>&5
8560 ac_status=$?
8561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8562 test $ac_status = 0; }
8563 if test 0 -ne "$ac_status"; then
8564 lt_cv_ar_at_file=@
8565 fi
8566 fi
8567 rm -f conftest.* libconftest.a
8568
8569 fi
8570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8571 ;;
8572 esac
8573 fi
8574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8575 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
8576
8577 if test no = "$lt_cv_ar_at_file"; then
8578 archiver_list_spec=
8579 else
8580 archiver_list_spec=$lt_cv_ar_at_file
8581 fi
8582
8583
8584
8585
8586
8587
8588
8589 if test -n "$ac_tool_prefix"; then
8590 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8591 set dummy ${ac_tool_prefix}strip; ac_word=$2
8592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8593 printf %s "checking for $ac_word... " >&6; }
8594 if test ${ac_cv_prog_STRIP+y}
8595 then :
8596 printf %s "(cached) " >&6
8597 else case e in #(
8598 e) if test -n "$STRIP"; then
8599 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8600 else
8601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8602 for as_dir in $PATH
8603 do
8604 IFS=$as_save_IFS
8605 case $as_dir in #(((
8606 '') as_dir=./ ;;
8607 */) ;;
8608 *) as_dir=$as_dir/ ;;
8609 esac
8610 for ac_exec_ext in '' $ac_executable_extensions; do
8611 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8612 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8614 break 2
8615 fi
8616 done
8617 done
8618 IFS=$as_save_IFS
8619
8620 fi ;;
8621 esac
8622 fi
8623 STRIP=$ac_cv_prog_STRIP
8624 if test -n "$STRIP"; then
8625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8626 printf "%s\n" "$STRIP" >&6; }
8627 else
8628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8629 printf "%s\n" "no" >&6; }
8630 fi
8631
8632
8633 fi
8634 if test -z "$ac_cv_prog_STRIP"; then
8635 ac_ct_STRIP=$STRIP
8636 # Extract the first word of "strip", so it can be a program name with args.
8637 set dummy strip; ac_word=$2
8638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8639 printf %s "checking for $ac_word... " >&6; }
8640 if test ${ac_cv_prog_ac_ct_STRIP+y}
8641 then :
8642 printf %s "(cached) " >&6
8643 else case e in #(
8644 e) if test -n "$ac_ct_STRIP"; then
8645 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8646 else
8647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648 for as_dir in $PATH
8649 do
8650 IFS=$as_save_IFS
8651 case $as_dir in #(((
8652 '') as_dir=./ ;;
8653 */) ;;
8654 *) as_dir=$as_dir/ ;;
8655 esac
8656 for ac_exec_ext in '' $ac_executable_extensions; do
8657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8658 ac_cv_prog_ac_ct_STRIP="strip"
8659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8660 break 2
8661 fi
8662 done
8663 done
8664 IFS=$as_save_IFS
8665
8666 fi ;;
8667 esac
8668 fi
8669 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8670 if test -n "$ac_ct_STRIP"; then
8671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8672 printf "%s\n" "$ac_ct_STRIP" >&6; }
8673 else
8674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8675 printf "%s\n" "no" >&6; }
8676 fi
8677
8678 if test "x$ac_ct_STRIP" = x; then
8679 STRIP=":"
8680 else
8681 case $cross_compiling:$ac_tool_warned in
8682 yes:)
8683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8684 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8685 ac_tool_warned=yes ;;
8686 esac
8687 STRIP=$ac_ct_STRIP
8688 fi
8689 else
8690 STRIP="$ac_cv_prog_STRIP"
8691 fi
8692
8693 test -z "$STRIP" && STRIP=:
8694
8695
8696
8697
8698
8699
8700
8701 test -z "$RANLIB" && RANLIB=:
8702
8703
8704
8705
8706
8707
8708 # Determine commands to create old-style static archives.
8709 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8710 old_postinstall_cmds='chmod 644 $oldlib'
8711 old_postuninstall_cmds=
8712
8713 if test -n "$RANLIB"; then
8714 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8715 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8716 fi
8717
8718 case $host_os in
8719 darwin*)
8720 lock_old_archive_extraction=yes ;;
8721 *)
8722 lock_old_archive_extraction=no ;;
8723 esac
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763 # If no C compiler was specified, use CC.
8764 LTCC=${LTCC-"$CC"}
8765
8766 # If no C compiler flags were specified, use CFLAGS.
8767 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8768
8769 # Allow CC to be a program name with arguments.
8770 compiler=$CC
8771
8772
8773 # Check for command to grab the raw symbol name followed by C symbol from nm.
8774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8775 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
8776 if test ${lt_cv_sys_global_symbol_pipe+y}
8777 then :
8778 printf %s "(cached) " >&6
8779 else case e in #(
8780 e)
8781 # These are sane defaults that work on at least a few old systems.
8782 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8783
8784 # Character class describing NM global symbol codes.
8785 symcode='[BCDEGRST]'
8786
8787 # Regexp to match symbols that can be accessed directly from C.
8788 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8789
8790 # Define system-specific variables.
8791 case $host_os in
8792 aix*)
8793 symcode='[BCDT]'
8794 ;;
8795 cygwin* | mingw* | windows* | pw32* | cegcc*)
8796 symcode='[ABCDGISTW]'
8797 ;;
8798 hpux*)
8799 if test ia64 = "$host_cpu"; then
8800 symcode='[ABCDEGRST]'
8801 fi
8802 ;;
8803 irix* | nonstopux*)
8804 symcode='[BCDEGRST]'
8805 ;;
8806 osf*)
8807 symcode='[BCDEGQRST]'
8808 ;;
8809 solaris*)
8810 symcode='[BCDRT]'
8811 ;;
8812 sco3.2v5*)
8813 symcode='[DT]'
8814 ;;
8815 sysv4.2uw2*)
8816 symcode='[DT]'
8817 ;;
8818 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8819 symcode='[ABDT]'
8820 ;;
8821 sysv4)
8822 symcode='[DFNSTU]'
8823 ;;
8824 esac
8825
8826 # If we're using GNU nm, then use its standard symbol codes.
8827 case `$NM -V 2>&1` in
8828 *GNU* | *'with BFD'*)
8829 symcode='[ABCDGIRSTW]' ;;
8830 esac
8831
8832 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8833 # Gets list of data symbols to import.
8834 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
8835 # Adjust the below global symbol transforms to fixup imported variables.
8836 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8837 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
8838 lt_c_name_lib_hook="\
8839 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
8840 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
8841 else
8842 # Disable hooks by default.
8843 lt_cv_sys_global_symbol_to_import=
8844 lt_cdecl_hook=
8845 lt_c_name_hook=
8846 lt_c_name_lib_hook=
8847 fi
8848
8849 # Transform an extracted symbol line into a proper C declaration.
8850 # Some systems (esp. on ia64) link data and code symbols differently,
8851 # so use this general approach.
8852 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
8853 $lt_cdecl_hook\
8854 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8855 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8856
8857 # Transform an extracted symbol line into symbol name and symbol address
8858 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
8859 $lt_c_name_hook\
8860 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8861 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
8862
8863 # Transform an extracted symbol line into symbol name with lib prefix and
8864 # symbol address.
8865 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
8866 $lt_c_name_lib_hook\
8867 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8868 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
8869 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
8870
8871 # Handle CRLF in mingw tool chain
8872 opt_cr=
8873 case $build_os in
8874 mingw* | windows*)
8875 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8876 ;;
8877 esac
8878
8879 # Try without a prefix underscore, then with it.
8880 for ac_symprfx in "" "_"; do
8881
8882 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8883 symxfrm="\\1 $ac_symprfx\\2 \\2"
8884
8885 # Write the raw and C identifiers.
8886 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8887 # Fake it for dumpbin and say T for any non-static function,
8888 # D for any global variable and I for any imported variable.
8889 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
8890 # which start with @ or ?.
8891 lt_cv_sys_global_symbol_pipe="$AWK '"\
8892 " {last_section=section; section=\$ 3};"\
8893 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8894 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8895 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8896 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8897 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8898 " \$ 0!~/External *\|/{next};"\
8899 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8900 " {if(hide[section]) next};"\
8901 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8902 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8903 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8904 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8905 " ' prfx=^$ac_symprfx"
8906 else
8907 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8908 fi
8909 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
8910
8911 # Check to see that the pipe works correctly.
8912 pipe_works=no
8913
8914 rm -f conftest*
8915 cat > conftest.$ac_ext <<_LT_EOF
8916 #ifdef __cplusplus
8917 extern "C" {
8918 #endif
8919 char nm_test_var;
8920 void nm_test_func(void);
8921 void nm_test_func(void){}
8922 #ifdef __cplusplus
8923 }
8924 #endif
8925 int main(void){nm_test_var='a';nm_test_func();return(0);}
8926 _LT_EOF
8927
8928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8929 (eval $ac_compile) 2>&5
8930 ac_status=$?
8931 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8932 test $ac_status = 0; }; then
8933 # Now try to grab the symbols.
8934 nlist=conftest.nm
8935 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
8936 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
8937 # Try sorting and uniquifying the output.
8938 if sort "$nlist" | uniq > "$nlist"T; then
8939 mv -f "$nlist"T "$nlist"
8940 else
8941 rm -f "$nlist"T
8942 fi
8943
8944 # Make sure that we snagged all the symbols we need.
8945 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8946 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8947 cat <<_LT_EOF > conftest.$ac_ext
8948 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8949 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8950 /* DATA imports from DLLs on WIN32 can't be const, because runtime
8951 relocations are performed -- see ld's documentation on pseudo-relocs. */
8952 # define LT_DLSYM_CONST
8953 #elif defined __osf__
8954 /* This system does not cope well with relocations in const data. */
8955 # define LT_DLSYM_CONST
8956 #else
8957 # define LT_DLSYM_CONST const
8958 #endif
8959
8960 #ifdef __cplusplus
8961 extern "C" {
8962 #endif
8963
8964 _LT_EOF
8965 # Now generate the symbol file.
8966 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8967
8968 cat <<_LT_EOF >> conftest.$ac_ext
8969
8970 /* The mapping between symbol names and symbols. */
8971 LT_DLSYM_CONST struct {
8972 const char *name;
8973 void *address;
8974 }
8975 lt__PROGRAM__LTX_preloaded_symbols[] =
8976 {
8977 { "@PROGRAM@", (void *) 0 },
8978 _LT_EOF
8979 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8980 cat <<\_LT_EOF >> conftest.$ac_ext
8981 {0, (void *) 0}
8982 };
8983
8984 /* This works around a problem in FreeBSD linker */
8985 #ifdef FREEBSD_WORKAROUND
8986 static const void *lt_preloaded_setup() {
8987 return lt__PROGRAM__LTX_preloaded_symbols;
8988 }
8989 #endif
8990
8991 #ifdef __cplusplus
8992 }
8993 #endif
8994 _LT_EOF
8995 # Now try linking the two files.
8996 mv conftest.$ac_objext conftstm.$ac_objext
8997 lt_globsym_save_LIBS=$LIBS
8998 lt_globsym_save_CFLAGS=$CFLAGS
8999 LIBS=conftstm.$ac_objext
9000 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9002 (eval $ac_link) 2>&5
9003 ac_status=$?
9004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9005 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9006 pipe_works=yes
9007 fi
9008 LIBS=$lt_globsym_save_LIBS
9009 CFLAGS=$lt_globsym_save_CFLAGS
9010 else
9011 echo "cannot find nm_test_func in $nlist" >&5
9012 fi
9013 else
9014 echo "cannot find nm_test_var in $nlist" >&5
9015 fi
9016 else
9017 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9018 fi
9019 else
9020 echo "$progname: failed program was:" >&5
9021 cat conftest.$ac_ext >&5
9022 fi
9023 rm -rf conftest* conftst*
9024
9025 # Do not use the global_symbol_pipe unless it works.
9026 if test yes = "$pipe_works"; then
9027 break
9028 else
9029 lt_cv_sys_global_symbol_pipe=
9030 fi
9031 done
9032 ;;
9033 esac
9034 fi
9035
9036 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9037 lt_cv_sys_global_symbol_to_cdecl=
9038 fi
9039 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9041 printf "%s\n" "failed" >&6; }
9042 else
9043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9044 printf "%s\n" "ok" >&6; }
9045 fi
9046
9047 # Response file support.
9048 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9049 nm_file_list_spec='@'
9050 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9051 nm_file_list_spec='@'
9052 fi
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9091 printf %s "checking for sysroot... " >&6; }
9092
9093 # Check whether --with-sysroot was given.
9094 if test ${with_sysroot+y}
9095 then :
9096 withval=$with_sysroot;
9097 else case e in #(
9098 e) with_sysroot=no ;;
9099 esac
9100 fi
9101
9102
9103 lt_sysroot=
9104 case $with_sysroot in #(
9105 yes)
9106 if test yes = "$GCC"; then
9107 # Trim trailing / since we'll always append absolute paths and we want
9108 # to avoid //, if only for less confusing output for the user.
9109 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
9110 fi
9111 ;; #(
9112 /*)
9113 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
9114 ;; #(
9115 no|'')
9116 ;; #(
9117 *)
9118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9119 printf "%s\n" "$with_sysroot" >&6; }
9120 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9121 ;;
9122 esac
9123
9124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9125 printf "%s\n" "${lt_sysroot:-no}" >&6; }
9126
9127
9128
9129
9130
9131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9132 printf %s "checking for a working dd... " >&6; }
9133 if test ${ac_cv_path_lt_DD+y}
9134 then :
9135 printf %s "(cached) " >&6
9136 else case e in #(
9137 e) printf 0123456789abcdef0123456789abcdef >conftest.i
9138 cat conftest.i conftest.i >conftest2.i
9139 : ${lt_DD:=$DD}
9140 if test -z "$lt_DD"; then
9141 ac_path_lt_DD_found=false
9142 # Loop through the user's path and test for each of PROGNAME-LIST
9143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9144 for as_dir in $PATH
9145 do
9146 IFS=$as_save_IFS
9147 case $as_dir in #(((
9148 '') as_dir=./ ;;
9149 */) ;;
9150 *) as_dir=$as_dir/ ;;
9151 esac
9152 for ac_prog in dd
9153 do
9154 for ac_exec_ext in '' $ac_executable_extensions; do
9155 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
9156 as_fn_executable_p "$ac_path_lt_DD" || continue
9157 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9158 cmp -s conftest.i conftest.out \
9159 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9160 fi
9161 $ac_path_lt_DD_found && break 3
9162 done
9163 done
9164 done
9165 IFS=$as_save_IFS
9166 if test -z "$ac_cv_path_lt_DD"; then
9167 :
9168 fi
9169 else
9170 ac_cv_path_lt_DD=$lt_DD
9171 fi
9172
9173 rm -f conftest.i conftest2.i conftest.out ;;
9174 esac
9175 fi
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9177 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
9178
9179
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9181 printf %s "checking how to truncate binary pipes... " >&6; }
9182 if test ${lt_cv_truncate_bin+y}
9183 then :
9184 printf %s "(cached) " >&6
9185 else case e in #(
9186 e) printf 0123456789abcdef0123456789abcdef >conftest.i
9187 cat conftest.i conftest.i >conftest2.i
9188 lt_cv_truncate_bin=
9189 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9190 cmp -s conftest.i conftest.out \
9191 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9192 fi
9193 rm -f conftest.i conftest2.i conftest.out
9194 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
9195 esac
9196 fi
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9198 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
9199
9200
9201
9202
9203
9204
9205
9206 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9207 func_cc_basename ()
9208 {
9209 for cc_temp in $*""; do
9210 case $cc_temp in
9211 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9212 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9213 \-*) ;;
9214 *) break;;
9215 esac
9216 done
9217 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9218 }
9219
9220 # Check whether --enable-libtool-lock was given.
9221 if test ${enable_libtool_lock+y}
9222 then :
9223 enableval=$enable_libtool_lock;
9224 fi
9225
9226 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9227
9228 # Some flags need to be propagated to the compiler or linker for good
9229 # libtool support.
9230 case $host in
9231 ia64-*-hpux*)
9232 # Find out what ABI is being produced by ac_compile, and set mode
9233 # options accordingly.
9234 echo 'int i;' > conftest.$ac_ext
9235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9236 (eval $ac_compile) 2>&5
9237 ac_status=$?
9238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9239 test $ac_status = 0; }; then
9240 case `$FILECMD conftest.$ac_objext` in
9241 *ELF-32*)
9242 HPUX_IA64_MODE=32
9243 ;;
9244 *ELF-64*)
9245 HPUX_IA64_MODE=64
9246 ;;
9247 esac
9248 fi
9249 rm -rf conftest*
9250 ;;
9251 *-*-irix6*)
9252 # Find out what ABI is being produced by ac_compile, and set linker
9253 # options accordingly.
9254 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9256 (eval $ac_compile) 2>&5
9257 ac_status=$?
9258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9259 test $ac_status = 0; }; then
9260 if test yes = "$lt_cv_prog_gnu_ld"; then
9261 case `$FILECMD conftest.$ac_objext` in
9262 *32-bit*)
9263 LD="${LD-ld} -melf32bsmip"
9264 ;;
9265 *N32*)
9266 LD="${LD-ld} -melf32bmipn32"
9267 ;;
9268 *64-bit*)
9269 LD="${LD-ld} -melf64bmip"
9270 ;;
9271 esac
9272 else
9273 case `$FILECMD conftest.$ac_objext` in
9274 *32-bit*)
9275 LD="${LD-ld} -32"
9276 ;;
9277 *N32*)
9278 LD="${LD-ld} -n32"
9279 ;;
9280 *64-bit*)
9281 LD="${LD-ld} -64"
9282 ;;
9283 esac
9284 fi
9285 fi
9286 rm -rf conftest*
9287 ;;
9288
9289 mips64*-*linux*)
9290 # Find out what ABI is being produced by ac_compile, and set linker
9291 # options accordingly.
9292 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9293 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9294 (eval $ac_compile) 2>&5
9295 ac_status=$?
9296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9297 test $ac_status = 0; }; then
9298 emul=elf
9299 case `$FILECMD conftest.$ac_objext` in
9300 *32-bit*)
9301 emul="${emul}32"
9302 ;;
9303 *64-bit*)
9304 emul="${emul}64"
9305 ;;
9306 esac
9307 case `$FILECMD conftest.$ac_objext` in
9308 *MSB*)
9309 emul="${emul}btsmip"
9310 ;;
9311 *LSB*)
9312 emul="${emul}ltsmip"
9313 ;;
9314 esac
9315 case `$FILECMD conftest.$ac_objext` in
9316 *N32*)
9317 emul="${emul}n32"
9318 ;;
9319 esac
9320 LD="${LD-ld} -m $emul"
9321 fi
9322 rm -rf conftest*
9323 ;;
9324
9325 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9326 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
9327 # Find out what ABI is being produced by ac_compile, and set linker
9328 # options accordingly. Note that the listed cases only cover the
9329 # situations where additional linker options are needed (such as when
9330 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9331 # vice versa); the common cases where no linker options are needed do
9332 # not appear in the list.
9333 echo 'int i;' > conftest.$ac_ext
9334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9335 (eval $ac_compile) 2>&5
9336 ac_status=$?
9337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9338 test $ac_status = 0; }; then
9339 case `$FILECMD conftest.o` in
9340 *32-bit*)
9341 case $host in
9342 x86_64-*kfreebsd*-gnu)
9343 LD="${LD-ld} -m elf_i386_fbsd"
9344 ;;
9345 x86_64-*linux*|x86_64-gnu*)
9346 case `$FILECMD conftest.o` in
9347 *x86-64*)
9348 LD="${LD-ld} -m elf32_x86_64"
9349 ;;
9350 *)
9351 LD="${LD-ld} -m elf_i386"
9352 ;;
9353 esac
9354 ;;
9355 powerpc64le-*linux*)
9356 LD="${LD-ld} -m elf32lppclinux"
9357 ;;
9358 powerpc64-*linux*)
9359 LD="${LD-ld} -m elf32ppclinux"
9360 ;;
9361 s390x-*linux*)
9362 LD="${LD-ld} -m elf_s390"
9363 ;;
9364 sparc64-*linux*)
9365 LD="${LD-ld} -m elf32_sparc"
9366 ;;
9367 esac
9368 ;;
9369 *64-bit*)
9370 case $host in
9371 x86_64-*kfreebsd*-gnu)
9372 LD="${LD-ld} -m elf_x86_64_fbsd"
9373 ;;
9374 x86_64-*linux*|x86_64-gnu*)
9375 LD="${LD-ld} -m elf_x86_64"
9376 ;;
9377 powerpcle-*linux*)
9378 LD="${LD-ld} -m elf64lppc"
9379 ;;
9380 powerpc-*linux*)
9381 LD="${LD-ld} -m elf64ppc"
9382 ;;
9383 s390*-*linux*|s390*-*tpf*)
9384 LD="${LD-ld} -m elf64_s390"
9385 ;;
9386 sparc*-*linux*)
9387 LD="${LD-ld} -m elf64_sparc"
9388 ;;
9389 esac
9390 ;;
9391 esac
9392 fi
9393 rm -rf conftest*
9394 ;;
9395
9396 *-*-sco3.2v5*)
9397 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9398 SAVE_CFLAGS=$CFLAGS
9399 CFLAGS="$CFLAGS -belf"
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9401 printf %s "checking whether the C compiler needs -belf... " >&6; }
9402 if test ${lt_cv_cc_needs_belf+y}
9403 then :
9404 printf %s "(cached) " >&6
9405 else case e in #(
9406 e) ac_ext=c
9407 ac_cpp='$CPP $CPPFLAGS'
9408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9411
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9414
9415 int
9416 main (void)
9417 {
9418
9419 ;
9420 return 0;
9421 }
9422 _ACEOF
9423 if ac_fn_c_try_link "$LINENO"
9424 then :
9425 lt_cv_cc_needs_belf=yes
9426 else case e in #(
9427 e) lt_cv_cc_needs_belf=no ;;
9428 esac
9429 fi
9430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9431 conftest$ac_exeext conftest.$ac_ext
9432 ac_ext=c
9433 ac_cpp='$CPP $CPPFLAGS'
9434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9437 ;;
9438 esac
9439 fi
9440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9441 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
9442 if test yes != "$lt_cv_cc_needs_belf"; then
9443 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9444 CFLAGS=$SAVE_CFLAGS
9445 fi
9446 ;;
9447 *-*solaris*)
9448 # Find out what ABI is being produced by ac_compile, and set linker
9449 # options accordingly.
9450 echo 'int i;' > conftest.$ac_ext
9451 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9452 (eval $ac_compile) 2>&5
9453 ac_status=$?
9454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9455 test $ac_status = 0; }; then
9456 case `$FILECMD conftest.o` in
9457 *64-bit*)
9458 case $lt_cv_prog_gnu_ld in
9459 yes*)
9460 case $host in
9461 i?86-*-solaris*|x86_64-*-solaris*)
9462 LD="${LD-ld} -m elf_x86_64"
9463 ;;
9464 sparc*-*-solaris*)
9465 LD="${LD-ld} -m elf64_sparc"
9466 ;;
9467 esac
9468 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9469 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9470 LD=${LD-ld}_sol2
9471 fi
9472 ;;
9473 *)
9474 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9475 LD="${LD-ld} -64"
9476 fi
9477 ;;
9478 esac
9479 ;;
9480 esac
9481 fi
9482 rm -rf conftest*
9483 ;;
9484 esac
9485
9486 need_locks=$enable_libtool_lock
9487
9488 if test -n "$ac_tool_prefix"; then
9489 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9490 set dummy ${ac_tool_prefix}mt; ac_word=$2
9491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9492 printf %s "checking for $ac_word... " >&6; }
9493 if test ${ac_cv_prog_MANIFEST_TOOL+y}
9494 then :
9495 printf %s "(cached) " >&6
9496 else case e in #(
9497 e) if test -n "$MANIFEST_TOOL"; then
9498 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9499 else
9500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9501 for as_dir in $PATH
9502 do
9503 IFS=$as_save_IFS
9504 case $as_dir in #(((
9505 '') as_dir=./ ;;
9506 */) ;;
9507 *) as_dir=$as_dir/ ;;
9508 esac
9509 for ac_exec_ext in '' $ac_executable_extensions; do
9510 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9511 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9513 break 2
9514 fi
9515 done
9516 done
9517 IFS=$as_save_IFS
9518
9519 fi ;;
9520 esac
9521 fi
9522 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9523 if test -n "$MANIFEST_TOOL"; then
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9525 printf "%s\n" "$MANIFEST_TOOL" >&6; }
9526 else
9527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9528 printf "%s\n" "no" >&6; }
9529 fi
9530
9531
9532 fi
9533 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9534 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9535 # Extract the first word of "mt", so it can be a program name with args.
9536 set dummy mt; ac_word=$2
9537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9538 printf %s "checking for $ac_word... " >&6; }
9539 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
9540 then :
9541 printf %s "(cached) " >&6
9542 else case e in #(
9543 e) if test -n "$ac_ct_MANIFEST_TOOL"; then
9544 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9545 else
9546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9547 for as_dir in $PATH
9548 do
9549 IFS=$as_save_IFS
9550 case $as_dir in #(((
9551 '') as_dir=./ ;;
9552 */) ;;
9553 *) as_dir=$as_dir/ ;;
9554 esac
9555 for ac_exec_ext in '' $ac_executable_extensions; do
9556 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9557 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9559 break 2
9560 fi
9561 done
9562 done
9563 IFS=$as_save_IFS
9564
9565 fi ;;
9566 esac
9567 fi
9568 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9569 if test -n "$ac_ct_MANIFEST_TOOL"; then
9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9571 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
9572 else
9573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9574 printf "%s\n" "no" >&6; }
9575 fi
9576
9577 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9578 MANIFEST_TOOL=":"
9579 else
9580 case $cross_compiling:$ac_tool_warned in
9581 yes:)
9582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9583 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9584 ac_tool_warned=yes ;;
9585 esac
9586 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9587 fi
9588 else
9589 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9590 fi
9591
9592 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9594 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9595 if test ${lt_cv_path_manifest_tool+y}
9596 then :
9597 printf %s "(cached) " >&6
9598 else case e in #(
9599 e) lt_cv_path_manifest_tool=no
9600 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9601 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9602 cat conftest.err >&5
9603 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9604 lt_cv_path_manifest_tool=yes
9605 fi
9606 rm -f conftest* ;;
9607 esac
9608 fi
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
9610 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
9611 if test yes != "$lt_cv_path_manifest_tool"; then
9612 MANIFEST_TOOL=:
9613 fi
9614
9615
9616
9617
9618
9619
9620 case $host_os in
9621 rhapsody* | darwin*)
9622 if test -n "$ac_tool_prefix"; then
9623 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9624 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9626 printf %s "checking for $ac_word... " >&6; }
9627 if test ${ac_cv_prog_DSYMUTIL+y}
9628 then :
9629 printf %s "(cached) " >&6
9630 else case e in #(
9631 e) if test -n "$DSYMUTIL"; then
9632 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9633 else
9634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9635 for as_dir in $PATH
9636 do
9637 IFS=$as_save_IFS
9638 case $as_dir in #(((
9639 '') as_dir=./ ;;
9640 */) ;;
9641 *) as_dir=$as_dir/ ;;
9642 esac
9643 for ac_exec_ext in '' $ac_executable_extensions; do
9644 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9645 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9647 break 2
9648 fi
9649 done
9650 done
9651 IFS=$as_save_IFS
9652
9653 fi ;;
9654 esac
9655 fi
9656 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9657 if test -n "$DSYMUTIL"; then
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9659 printf "%s\n" "$DSYMUTIL" >&6; }
9660 else
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 printf "%s\n" "no" >&6; }
9663 fi
9664
9665
9666 fi
9667 if test -z "$ac_cv_prog_DSYMUTIL"; then
9668 ac_ct_DSYMUTIL=$DSYMUTIL
9669 # Extract the first word of "dsymutil", so it can be a program name with args.
9670 set dummy dsymutil; ac_word=$2
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9672 printf %s "checking for $ac_word... " >&6; }
9673 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
9674 then :
9675 printf %s "(cached) " >&6
9676 else case e in #(
9677 e) if test -n "$ac_ct_DSYMUTIL"; then
9678 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9679 else
9680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9681 for as_dir in $PATH
9682 do
9683 IFS=$as_save_IFS
9684 case $as_dir in #(((
9685 '') as_dir=./ ;;
9686 */) ;;
9687 *) as_dir=$as_dir/ ;;
9688 esac
9689 for ac_exec_ext in '' $ac_executable_extensions; do
9690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9691 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9693 break 2
9694 fi
9695 done
9696 done
9697 IFS=$as_save_IFS
9698
9699 fi ;;
9700 esac
9701 fi
9702 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9703 if test -n "$ac_ct_DSYMUTIL"; then
9704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9705 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
9706 else
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9708 printf "%s\n" "no" >&6; }
9709 fi
9710
9711 if test "x$ac_ct_DSYMUTIL" = x; then
9712 DSYMUTIL=":"
9713 else
9714 case $cross_compiling:$ac_tool_warned in
9715 yes:)
9716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9717 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9718 ac_tool_warned=yes ;;
9719 esac
9720 DSYMUTIL=$ac_ct_DSYMUTIL
9721 fi
9722 else
9723 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9724 fi
9725
9726 if test -n "$ac_tool_prefix"; then
9727 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9728 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9730 printf %s "checking for $ac_word... " >&6; }
9731 if test ${ac_cv_prog_NMEDIT+y}
9732 then :
9733 printf %s "(cached) " >&6
9734 else case e in #(
9735 e) if test -n "$NMEDIT"; then
9736 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9737 else
9738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9739 for as_dir in $PATH
9740 do
9741 IFS=$as_save_IFS
9742 case $as_dir in #(((
9743 '') as_dir=./ ;;
9744 */) ;;
9745 *) as_dir=$as_dir/ ;;
9746 esac
9747 for ac_exec_ext in '' $ac_executable_extensions; do
9748 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9749 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9751 break 2
9752 fi
9753 done
9754 done
9755 IFS=$as_save_IFS
9756
9757 fi ;;
9758 esac
9759 fi
9760 NMEDIT=$ac_cv_prog_NMEDIT
9761 if test -n "$NMEDIT"; then
9762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9763 printf "%s\n" "$NMEDIT" >&6; }
9764 else
9765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9766 printf "%s\n" "no" >&6; }
9767 fi
9768
9769
9770 fi
9771 if test -z "$ac_cv_prog_NMEDIT"; then
9772 ac_ct_NMEDIT=$NMEDIT
9773 # Extract the first word of "nmedit", so it can be a program name with args.
9774 set dummy nmedit; ac_word=$2
9775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9776 printf %s "checking for $ac_word... " >&6; }
9777 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
9778 then :
9779 printf %s "(cached) " >&6
9780 else case e in #(
9781 e) if test -n "$ac_ct_NMEDIT"; then
9782 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9783 else
9784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9785 for as_dir in $PATH
9786 do
9787 IFS=$as_save_IFS
9788 case $as_dir in #(((
9789 '') as_dir=./ ;;
9790 */) ;;
9791 *) as_dir=$as_dir/ ;;
9792 esac
9793 for ac_exec_ext in '' $ac_executable_extensions; do
9794 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9795 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9797 break 2
9798 fi
9799 done
9800 done
9801 IFS=$as_save_IFS
9802
9803 fi ;;
9804 esac
9805 fi
9806 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9807 if test -n "$ac_ct_NMEDIT"; then
9808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9809 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
9810 else
9811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9812 printf "%s\n" "no" >&6; }
9813 fi
9814
9815 if test "x$ac_ct_NMEDIT" = x; then
9816 NMEDIT=":"
9817 else
9818 case $cross_compiling:$ac_tool_warned in
9819 yes:)
9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9821 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9822 ac_tool_warned=yes ;;
9823 esac
9824 NMEDIT=$ac_ct_NMEDIT
9825 fi
9826 else
9827 NMEDIT="$ac_cv_prog_NMEDIT"
9828 fi
9829
9830 if test -n "$ac_tool_prefix"; then
9831 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9832 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9834 printf %s "checking for $ac_word... " >&6; }
9835 if test ${ac_cv_prog_LIPO+y}
9836 then :
9837 printf %s "(cached) " >&6
9838 else case e in #(
9839 e) if test -n "$LIPO"; then
9840 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9841 else
9842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9843 for as_dir in $PATH
9844 do
9845 IFS=$as_save_IFS
9846 case $as_dir in #(((
9847 '') as_dir=./ ;;
9848 */) ;;
9849 *) as_dir=$as_dir/ ;;
9850 esac
9851 for ac_exec_ext in '' $ac_executable_extensions; do
9852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9853 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9855 break 2
9856 fi
9857 done
9858 done
9859 IFS=$as_save_IFS
9860
9861 fi ;;
9862 esac
9863 fi
9864 LIPO=$ac_cv_prog_LIPO
9865 if test -n "$LIPO"; then
9866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9867 printf "%s\n" "$LIPO" >&6; }
9868 else
9869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9870 printf "%s\n" "no" >&6; }
9871 fi
9872
9873
9874 fi
9875 if test -z "$ac_cv_prog_LIPO"; then
9876 ac_ct_LIPO=$LIPO
9877 # Extract the first word of "lipo", so it can be a program name with args.
9878 set dummy lipo; ac_word=$2
9879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9880 printf %s "checking for $ac_word... " >&6; }
9881 if test ${ac_cv_prog_ac_ct_LIPO+y}
9882 then :
9883 printf %s "(cached) " >&6
9884 else case e in #(
9885 e) if test -n "$ac_ct_LIPO"; then
9886 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9887 else
9888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9889 for as_dir in $PATH
9890 do
9891 IFS=$as_save_IFS
9892 case $as_dir in #(((
9893 '') as_dir=./ ;;
9894 */) ;;
9895 *) as_dir=$as_dir/ ;;
9896 esac
9897 for ac_exec_ext in '' $ac_executable_extensions; do
9898 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9899 ac_cv_prog_ac_ct_LIPO="lipo"
9900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9901 break 2
9902 fi
9903 done
9904 done
9905 IFS=$as_save_IFS
9906
9907 fi ;;
9908 esac
9909 fi
9910 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9911 if test -n "$ac_ct_LIPO"; then
9912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9913 printf "%s\n" "$ac_ct_LIPO" >&6; }
9914 else
9915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9916 printf "%s\n" "no" >&6; }
9917 fi
9918
9919 if test "x$ac_ct_LIPO" = x; then
9920 LIPO=":"
9921 else
9922 case $cross_compiling:$ac_tool_warned in
9923 yes:)
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9925 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9926 ac_tool_warned=yes ;;
9927 esac
9928 LIPO=$ac_ct_LIPO
9929 fi
9930 else
9931 LIPO="$ac_cv_prog_LIPO"
9932 fi
9933
9934 if test -n "$ac_tool_prefix"; then
9935 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9936 set dummy ${ac_tool_prefix}otool; ac_word=$2
9937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9938 printf %s "checking for $ac_word... " >&6; }
9939 if test ${ac_cv_prog_OTOOL+y}
9940 then :
9941 printf %s "(cached) " >&6
9942 else case e in #(
9943 e) if test -n "$OTOOL"; then
9944 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9945 else
9946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9947 for as_dir in $PATH
9948 do
9949 IFS=$as_save_IFS
9950 case $as_dir in #(((
9951 '') as_dir=./ ;;
9952 */) ;;
9953 *) as_dir=$as_dir/ ;;
9954 esac
9955 for ac_exec_ext in '' $ac_executable_extensions; do
9956 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9957 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9959 break 2
9960 fi
9961 done
9962 done
9963 IFS=$as_save_IFS
9964
9965 fi ;;
9966 esac
9967 fi
9968 OTOOL=$ac_cv_prog_OTOOL
9969 if test -n "$OTOOL"; then
9970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9971 printf "%s\n" "$OTOOL" >&6; }
9972 else
9973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9974 printf "%s\n" "no" >&6; }
9975 fi
9976
9977
9978 fi
9979 if test -z "$ac_cv_prog_OTOOL"; then
9980 ac_ct_OTOOL=$OTOOL
9981 # Extract the first word of "otool", so it can be a program name with args.
9982 set dummy otool; ac_word=$2
9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9984 printf %s "checking for $ac_word... " >&6; }
9985 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9986 then :
9987 printf %s "(cached) " >&6
9988 else case e in #(
9989 e) if test -n "$ac_ct_OTOOL"; then
9990 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9991 else
9992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9993 for as_dir in $PATH
9994 do
9995 IFS=$as_save_IFS
9996 case $as_dir in #(((
9997 '') as_dir=./ ;;
9998 */) ;;
9999 *) as_dir=$as_dir/ ;;
10000 esac
10001 for ac_exec_ext in '' $ac_executable_extensions; do
10002 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10003 ac_cv_prog_ac_ct_OTOOL="otool"
10004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10005 break 2
10006 fi
10007 done
10008 done
10009 IFS=$as_save_IFS
10010
10011 fi ;;
10012 esac
10013 fi
10014 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10015 if test -n "$ac_ct_OTOOL"; then
10016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10017 printf "%s\n" "$ac_ct_OTOOL" >&6; }
10018 else
10019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10020 printf "%s\n" "no" >&6; }
10021 fi
10022
10023 if test "x$ac_ct_OTOOL" = x; then
10024 OTOOL=":"
10025 else
10026 case $cross_compiling:$ac_tool_warned in
10027 yes:)
10028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10029 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10030 ac_tool_warned=yes ;;
10031 esac
10032 OTOOL=$ac_ct_OTOOL
10033 fi
10034 else
10035 OTOOL="$ac_cv_prog_OTOOL"
10036 fi
10037
10038 if test -n "$ac_tool_prefix"; then
10039 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10040 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10042 printf %s "checking for $ac_word... " >&6; }
10043 if test ${ac_cv_prog_OTOOL64+y}
10044 then :
10045 printf %s "(cached) " >&6
10046 else case e in #(
10047 e) if test -n "$OTOOL64"; then
10048 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10049 else
10050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10051 for as_dir in $PATH
10052 do
10053 IFS=$as_save_IFS
10054 case $as_dir in #(((
10055 '') as_dir=./ ;;
10056 */) ;;
10057 *) as_dir=$as_dir/ ;;
10058 esac
10059 for ac_exec_ext in '' $ac_executable_extensions; do
10060 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10061 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10063 break 2
10064 fi
10065 done
10066 done
10067 IFS=$as_save_IFS
10068
10069 fi ;;
10070 esac
10071 fi
10072 OTOOL64=$ac_cv_prog_OTOOL64
10073 if test -n "$OTOOL64"; then
10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10075 printf "%s\n" "$OTOOL64" >&6; }
10076 else
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10078 printf "%s\n" "no" >&6; }
10079 fi
10080
10081
10082 fi
10083 if test -z "$ac_cv_prog_OTOOL64"; then
10084 ac_ct_OTOOL64=$OTOOL64
10085 # Extract the first word of "otool64", so it can be a program name with args.
10086 set dummy otool64; ac_word=$2
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10088 printf %s "checking for $ac_word... " >&6; }
10089 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
10090 then :
10091 printf %s "(cached) " >&6
10092 else case e in #(
10093 e) if test -n "$ac_ct_OTOOL64"; then
10094 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10095 else
10096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10097 for as_dir in $PATH
10098 do
10099 IFS=$as_save_IFS
10100 case $as_dir in #(((
10101 '') as_dir=./ ;;
10102 */) ;;
10103 *) as_dir=$as_dir/ ;;
10104 esac
10105 for ac_exec_ext in '' $ac_executable_extensions; do
10106 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10107 ac_cv_prog_ac_ct_OTOOL64="otool64"
10108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10109 break 2
10110 fi
10111 done
10112 done
10113 IFS=$as_save_IFS
10114
10115 fi ;;
10116 esac
10117 fi
10118 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10119 if test -n "$ac_ct_OTOOL64"; then
10120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10121 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
10122 else
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10124 printf "%s\n" "no" >&6; }
10125 fi
10126
10127 if test "x$ac_ct_OTOOL64" = x; then
10128 OTOOL64=":"
10129 else
10130 case $cross_compiling:$ac_tool_warned in
10131 yes:)
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10133 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10134 ac_tool_warned=yes ;;
10135 esac
10136 OTOOL64=$ac_ct_OTOOL64
10137 fi
10138 else
10139 OTOOL64="$ac_cv_prog_OTOOL64"
10140 fi
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10169 printf %s "checking for -single_module linker flag... " >&6; }
10170 if test ${lt_cv_apple_cc_single_mod+y}
10171 then :
10172 printf %s "(cached) " >&6
10173 else case e in #(
10174 e) lt_cv_apple_cc_single_mod=no
10175 if test -z "$LT_MULTI_MODULE"; then
10176 # By default we will add the -single_module flag. You can override
10177 # by either setting the environment variable LT_MULTI_MODULE
10178 # non-empty at configure time, or by adding -multi_module to the
10179 # link flags.
10180 rm -rf libconftest.dylib*
10181 echo "int foo(void){return 1;}" > conftest.c
10182 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10183 -dynamiclib -Wl,-single_module conftest.c" >&5
10184 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10185 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10186 _lt_result=$?
10187 # If there is a non-empty error log, and "single_module"
10188 # appears in it, assume the flag caused a linker warning
10189 if test -s conftest.err && $GREP single_module conftest.err; then
10190 cat conftest.err >&5
10191 # Otherwise, if the output was created with a 0 exit code from
10192 # the compiler, it worked.
10193 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10194 lt_cv_apple_cc_single_mod=yes
10195 else
10196 cat conftest.err >&5
10197 fi
10198 rm -rf libconftest.dylib*
10199 rm -f conftest.*
10200 fi ;;
10201 esac
10202 fi
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10204 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
10205
10206 # Feature test to disable chained fixups since it is not
10207 # compatible with '-undefined dynamic_lookup'
10208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
10209 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
10210 if test ${lt_cv_support_no_fixup_chains+y}
10211 then :
10212 printf %s "(cached) " >&6
10213 else case e in #(
10214 e) save_LDFLAGS=$LDFLAGS
10215 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10218
10219 int
10220 main (void)
10221 {
10222
10223 ;
10224 return 0;
10225 }
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"
10228 then :
10229 lt_cv_support_no_fixup_chains=yes
10230 else case e in #(
10231 e) lt_cv_support_no_fixup_chains=no
10232 ;;
10233 esac
10234 fi
10235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10236 conftest$ac_exeext conftest.$ac_ext
10237 LDFLAGS=$save_LDFLAGS
10238
10239 ;;
10240 esac
10241 fi
10242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
10243 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
10244
10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10246 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
10247 if test ${lt_cv_ld_exported_symbols_list+y}
10248 then :
10249 printf %s "(cached) " >&6
10250 else case e in #(
10251 e) lt_cv_ld_exported_symbols_list=no
10252 save_LDFLAGS=$LDFLAGS
10253 echo "_main" > conftest.sym
10254 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257
10258 int
10259 main (void)
10260 {
10261
10262 ;
10263 return 0;
10264 }
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"
10267 then :
10268 lt_cv_ld_exported_symbols_list=yes
10269 else case e in #(
10270 e) lt_cv_ld_exported_symbols_list=no ;;
10271 esac
10272 fi
10273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LDFLAGS=$save_LDFLAGS
10276 ;;
10277 esac
10278 fi
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10280 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
10281
10282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10283 printf %s "checking for -force_load linker flag... " >&6; }
10284 if test ${lt_cv_ld_force_load+y}
10285 then :
10286 printf %s "(cached) " >&6
10287 else case e in #(
10288 e) lt_cv_ld_force_load=no
10289 cat > conftest.c << _LT_EOF
10290 int forced_loaded() { return 2;}
10291 _LT_EOF
10292 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10293 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10294 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
10295 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
10296 echo "$RANLIB libconftest.a" >&5
10297 $RANLIB libconftest.a 2>&5
10298 cat > conftest.c << _LT_EOF
10299 int main(void) { return 0;}
10300 _LT_EOF
10301 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10302 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10303 _lt_result=$?
10304 if test -s conftest.err && $GREP force_load conftest.err; then
10305 cat conftest.err >&5
10306 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10307 lt_cv_ld_force_load=yes
10308 else
10309 cat conftest.err >&5
10310 fi
10311 rm -f conftest.err libconftest.a conftest conftest.c
10312 rm -rf conftest.dSYM
10313 ;;
10314 esac
10315 fi
10316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10317 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
10318 case $host_os in
10319 rhapsody* | darwin1.[012])
10320 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10321 darwin1.*)
10322 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10323 darwin*)
10324 case $MACOSX_DEPLOYMENT_TARGET,$host in
10325 10.[012],*|,*powerpc*-darwin[5-8]*)
10326 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10327 *)
10328 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
10329 if test yes = "$lt_cv_support_no_fixup_chains"; then
10330 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
10331 fi
10332 ;;
10333 esac
10334 ;;
10335 esac
10336 if test yes = "$lt_cv_apple_cc_single_mod"; then
10337 _lt_dar_single_mod='$single_module'
10338 fi
10339 _lt_dar_needs_single_mod=no
10340 case $host_os in
10341 rhapsody* | darwin1.*)
10342 _lt_dar_needs_single_mod=yes ;;
10343 darwin*)
10344 # When targeting Mac OS X 10.4 (darwin 8) or later,
10345 # -single_module is the default and -multi_module is unsupported.
10346 # The toolchain on macOS 10.14 (darwin 18) and later cannot
10347 # target any OS version that needs -single_module.
10348 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10349 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
10350 _lt_dar_needs_single_mod=yes ;;
10351 esac
10352 ;;
10353 esac
10354 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10355 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10356 else
10357 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10358 fi
10359 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10360 _lt_dsymutil='~$DSYMUTIL $lib || :'
10361 else
10362 _lt_dsymutil=
10363 fi
10364 ;;
10365 esac
10366
10367 # func_munge_path_list VARIABLE PATH
10368 # -----------------------------------
10369 # VARIABLE is name of variable containing _space_ separated list of
10370 # directories to be munged by the contents of PATH, which is string
10371 # having a format:
10372 # "DIR[:DIR]:"
10373 # string "DIR[ DIR]" will be prepended to VARIABLE
10374 # ":DIR[:DIR]"
10375 # string "DIR[ DIR]" will be appended to VARIABLE
10376 # "DIRP[:DIRP]::[DIRA:]DIRA"
10377 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10378 # "DIRA[ DIRA]" will be appended to VARIABLE
10379 # "DIR[:DIR]"
10380 # VARIABLE will be replaced by "DIR[ DIR]"
10381 func_munge_path_list ()
10382 {
10383 case x$2 in
10384 x)
10385 ;;
10386 *:)
10387 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10388 ;;
10389 x:*)
10390 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10391 ;;
10392 *::*)
10393 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10394 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10395 ;;
10396 *)
10397 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10398 ;;
10399 esac
10400 }
10401
10402 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10403 "
10404 if test "x$ac_cv_header_dlfcn_h" = xyes
10405 then :
10406 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
10407
10408 fi
10409
10410
10411
10412
10413
10414 # Set options
10415 # Check whether --enable-static was given.
10416 if test ${enable_static+y}
10417 then :
10418 enableval=$enable_static; p=${PACKAGE-default}
10419 case $enableval in
10420 yes) enable_static=yes ;;
10421 no) enable_static=no ;;
10422 *)
10423 enable_static=no
10424 # Look at the argument we got. We use all the common list separators.
10425 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10426 for pkg in $enableval; do
10427 IFS=$lt_save_ifs
10428 if test "X$pkg" = "X$p"; then
10429 enable_static=yes
10430 fi
10431 done
10432 IFS=$lt_save_ifs
10433 ;;
10434 esac
10435 else case e in #(
10436 e) enable_static=no ;;
10437 esac
10438 fi
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449 enable_dlopen=no
10450
10451
10452 enable_win32_dll=no
10453
10454
10455 # Check whether --enable-shared was given.
10456 if test ${enable_shared+y}
10457 then :
10458 enableval=$enable_shared; p=${PACKAGE-default}
10459 case $enableval in
10460 yes) enable_shared=yes ;;
10461 no) enable_shared=no ;;
10462 *)
10463 enable_shared=no
10464 # Look at the argument we got. We use all the common list separators.
10465 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10466 for pkg in $enableval; do
10467 IFS=$lt_save_ifs
10468 if test "X$pkg" = "X$p"; then
10469 enable_shared=yes
10470 fi
10471 done
10472 IFS=$lt_save_ifs
10473 ;;
10474 esac
10475 else case e in #(
10476 e) enable_shared=yes ;;
10477 esac
10478 fi
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489 # Check whether --enable-pic was given.
10490 if test ${enable_pic+y}
10491 then :
10492 enableval=$enable_pic; lt_p=${PACKAGE-default}
10493 case $enableval in
10494 yes|no) pic_mode=$enableval ;;
10495 *)
10496 pic_mode=default
10497 # Look at the argument we got. We use all the common list separators.
10498 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10499 for lt_pkg in $enableval; do
10500 IFS=$lt_save_ifs
10501 if test "X$lt_pkg" = "X$lt_p"; then
10502 pic_mode=yes
10503 fi
10504 done
10505 IFS=$lt_save_ifs
10506 ;;
10507 esac
10508 else case e in #(
10509 e) # Check whether --with-pic was given.
10510 if test ${with_pic+y}
10511 then :
10512 withval=$with_pic; lt_p=${PACKAGE-default}
10513 case $withval in
10514 yes|no) pic_mode=$withval ;;
10515 *)
10516 pic_mode=default
10517 # Look at the argument we got. We use all the common list separators.
10518 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10519 for lt_pkg in $withval; do
10520 IFS=$lt_save_ifs
10521 if test "X$lt_pkg" = "X$lt_p"; then
10522 pic_mode=yes
10523 fi
10524 done
10525 IFS=$lt_save_ifs
10526 ;;
10527 esac
10528 else case e in #(
10529 e) pic_mode=default ;;
10530 esac
10531 fi
10532
10533 ;;
10534 esac
10535 fi
10536
10537
10538
10539
10540
10541
10542
10543
10544 stdlibflag=-nostdlib
10545 # Check whether --enable-cxx-stdlib was given.
10546 if test ${enable_cxx_stdlib+y}
10547 then :
10548 enableval=$enable_cxx_stdlib; p=${PACKAGE-default}
10549 case $enableval in
10550 yes) enable_cxx_stdlib=yes ;;
10551 no) enable_cxx_stdlib=no ;;
10552 *)
10553 enable_cxx_stdlib=no
10554 # Look at the argument we got. We use all the common list separators.
10555 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10556 for pkg in $enableval; do
10557 IFS=$lt_save_ifs
10558 if test "X$pkg" = "X$p"; then
10559 enable_cxx_stdlib=yes
10560 fi
10561 done
10562 IFS=$lt_save_ifs
10563 ;;
10564 esac
10565 else case e in #(
10566 e) enable_cxx_stdlib=no ;;
10567 esac
10568 fi
10569
10570
10571 if test yes = "$enable_cxx_stdlib"; then
10572 stdlibflag=
10573 fi
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585 # Check whether --enable-fast-install was given.
10586 if test ${enable_fast_install+y}
10587 then :
10588 enableval=$enable_fast_install; p=${PACKAGE-default}
10589 case $enableval in
10590 yes) enable_fast_install=yes ;;
10591 no) enable_fast_install=no ;;
10592 *)
10593 enable_fast_install=no
10594 # Look at the argument we got. We use all the common list separators.
10595 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10596 for pkg in $enableval; do
10597 IFS=$lt_save_ifs
10598 if test "X$pkg" = "X$p"; then
10599 enable_fast_install=yes
10600 fi
10601 done
10602 IFS=$lt_save_ifs
10603 ;;
10604 esac
10605 else case e in #(
10606 e) enable_fast_install=yes ;;
10607 esac
10608 fi
10609
10610
10611
10612
10613
10614
10615
10616
10617 shared_archive_member_spec=
10618 case $host,$enable_shared in
10619 power*-*-aix[5-9]*,yes)
10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10621 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10622 # Check whether --enable-aix-soname was given.
10623 if test ${enable_aix_soname+y}
10624 then :
10625 enableval=$enable_aix_soname; case $enableval in
10626 aix|svr4|both)
10627 ;;
10628 *)
10629 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
10630 ;;
10631 esac
10632 lt_cv_with_aix_soname=$enable_aix_soname
10633 else case e in #(
10634 e) # Check whether --with-aix-soname was given.
10635 if test ${with_aix_soname+y}
10636 then :
10637 withval=$with_aix_soname; case $withval in
10638 aix|svr4|both)
10639 ;;
10640 *)
10641 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10642 ;;
10643 esac
10644 lt_cv_with_aix_soname=$with_aix_soname
10645 else case e in #(
10646 e) if test ${lt_cv_with_aix_soname+y}
10647 then :
10648 printf %s "(cached) " >&6
10649 else case e in #(
10650 e) lt_cv_with_aix_soname=aix ;;
10651 esac
10652 fi
10653 ;;
10654 esac
10655 fi
10656
10657 enable_aix_soname=$lt_cv_with_aix_soname ;;
10658 esac
10659 fi
10660
10661 with_aix_soname=$enable_aix_soname
10662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10663 printf "%s\n" "$with_aix_soname" >&6; }
10664 if test aix != "$with_aix_soname"; then
10665 # For the AIX way of multilib, we name the shared archive member
10666 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10667 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10668 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10669 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10670 if test 64 = "${OBJECT_MODE-32}"; then
10671 shared_archive_member_spec=shr_64
10672 else
10673 shared_archive_member_spec=shr
10674 fi
10675 fi
10676 ;;
10677 power*-*-aix[5-9]*,'')
10678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&5
10679 printf "%s\n" "$as_me: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&2;}
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10681 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10682 with_aix_soname=aix
10683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
10684 printf "%s\n" "(default) $with_aix_soname" >&6; }
10685 ;;
10686 *)
10687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10688 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10689 with_aix_soname=aix
10690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
10691 printf "%s\n" "(default) $with_aix_soname" >&6; }
10692 ;;
10693 esac
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704 # This can be used to rebuild libtool when needed
10705 LIBTOOL_DEPS=$ltmain
10706
10707 # Always use our own libtool.
10708 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739 test -z "$LN_S" && LN_S="ln -s"
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754 if test -n "${ZSH_VERSION+set}"; then
10755 setopt NO_GLOB_SUBST
10756 fi
10757
10758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10759 printf %s "checking for objdir... " >&6; }
10760 if test ${lt_cv_objdir+y}
10761 then :
10762 printf %s "(cached) " >&6
10763 else case e in #(
10764 e) rm -f .libs 2>/dev/null
10765 mkdir .libs 2>/dev/null
10766 if test -d .libs; then
10767 lt_cv_objdir=.libs
10768 else
10769 # MS-DOS does not allow filenames that begin with a dot.
10770 lt_cv_objdir=_libs
10771 fi
10772 rmdir .libs 2>/dev/null ;;
10773 esac
10774 fi
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10776 printf "%s\n" "$lt_cv_objdir" >&6; }
10777 objdir=$lt_cv_objdir
10778
10779
10780
10781
10782
10783 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10784
10785
10786
10787
10788 case $host_os in
10789 aix3*)
10790 # AIX sometimes has problems with the GCC collect2 program. For some
10791 # reason, if we set the COLLECT_NAMES environment variable, the problems
10792 # vanish in a puff of smoke.
10793 if test set != "${COLLECT_NAMES+set}"; then
10794 COLLECT_NAMES=
10795 export COLLECT_NAMES
10796 fi
10797 ;;
10798 esac
10799
10800 # Global variables:
10801 ofile=libtool
10802 can_build_shared=yes
10803
10804 # All known linkers require a '.a' archive for static linking (except MSVC and
10805 # ICC, which need '.lib').
10806 libext=a
10807
10808 with_gnu_ld=$lt_cv_prog_gnu_ld
10809
10810 old_CC=$CC
10811 old_CFLAGS=$CFLAGS
10812
10813 # Set sane defaults for various variables
10814 test -z "$CC" && CC=cc
10815 test -z "$LTCC" && LTCC=$CC
10816 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10817 test -z "$LD" && LD=ld
10818 test -z "$ac_objext" && ac_objext=o
10819
10820 func_cc_basename $compiler
10821 cc_basename=$func_cc_basename_result
10822
10823
10824 # Only perform the check for file, if the check method requires it
10825 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10826 case $deplibs_check_method in
10827 file_magic*)
10828 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10830 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10831 if test ${lt_cv_path_MAGIC_CMD+y}
10832 then :
10833 printf %s "(cached) " >&6
10834 else case e in #(
10835 e) case $MAGIC_CMD in
10836 [\\/*] | ?:[\\/]*)
10837 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10838 ;;
10839 *)
10840 lt_save_MAGIC_CMD=$MAGIC_CMD
10841 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10842 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10843 for ac_dir in $ac_dummy; do
10844 IFS=$lt_save_ifs
10845 test -z "$ac_dir" && ac_dir=.
10846 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10847 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10848 if test -n "$file_magic_test_file"; then
10849 case $deplibs_check_method in
10850 "file_magic "*)
10851 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10852 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10853 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10854 $EGREP "$file_magic_regex" > /dev/null; then
10855 :
10856 else
10857 cat <<_LT_EOF 1>&2
10858
10859 *** Warning: the command libtool uses to detect shared libraries,
10860 *** $file_magic_cmd, produces output that libtool cannot recognize.
10861 *** The result is that libtool may fail to recognize shared libraries
10862 *** as such. This will affect the creation of libtool libraries that
10863 *** depend on shared libraries, but programs linked with such libtool
10864 *** libraries will work regardless of this problem. Nevertheless, you
10865 *** may want to report the problem to your system manager and/or to
10866 *** [email protected]
10867
10868 _LT_EOF
10869 fi ;;
10870 esac
10871 fi
10872 break
10873 fi
10874 done
10875 IFS=$lt_save_ifs
10876 MAGIC_CMD=$lt_save_MAGIC_CMD
10877 ;;
10878 esac ;;
10879 esac
10880 fi
10881
10882 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10883 if test -n "$MAGIC_CMD"; then
10884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10885 printf "%s\n" "$MAGIC_CMD" >&6; }
10886 else
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10888 printf "%s\n" "no" >&6; }
10889 fi
10890
10891
10892
10893
10894
10895 if test -z "$lt_cv_path_MAGIC_CMD"; then
10896 if test -n "$ac_tool_prefix"; then
10897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10898 printf %s "checking for file... " >&6; }
10899 if test ${lt_cv_path_MAGIC_CMD+y}
10900 then :
10901 printf %s "(cached) " >&6
10902 else case e in #(
10903 e) case $MAGIC_CMD in
10904 [\\/*] | ?:[\\/]*)
10905 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10906 ;;
10907 *)
10908 lt_save_MAGIC_CMD=$MAGIC_CMD
10909 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10910 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10911 for ac_dir in $ac_dummy; do
10912 IFS=$lt_save_ifs
10913 test -z "$ac_dir" && ac_dir=.
10914 if test -f "$ac_dir/file"; then
10915 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10916 if test -n "$file_magic_test_file"; then
10917 case $deplibs_check_method in
10918 "file_magic "*)
10919 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10920 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10921 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10922 $EGREP "$file_magic_regex" > /dev/null; then
10923 :
10924 else
10925 cat <<_LT_EOF 1>&2
10926
10927 *** Warning: the command libtool uses to detect shared libraries,
10928 *** $file_magic_cmd, produces output that libtool cannot recognize.
10929 *** The result is that libtool may fail to recognize shared libraries
10930 *** as such. This will affect the creation of libtool libraries that
10931 *** depend on shared libraries, but programs linked with such libtool
10932 *** libraries will work regardless of this problem. Nevertheless, you
10933 *** may want to report the problem to your system manager and/or to
10934 *** [email protected]
10935
10936 _LT_EOF
10937 fi ;;
10938 esac
10939 fi
10940 break
10941 fi
10942 done
10943 IFS=$lt_save_ifs
10944 MAGIC_CMD=$lt_save_MAGIC_CMD
10945 ;;
10946 esac ;;
10947 esac
10948 fi
10949
10950 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10951 if test -n "$MAGIC_CMD"; then
10952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10953 printf "%s\n" "$MAGIC_CMD" >&6; }
10954 else
10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10956 printf "%s\n" "no" >&6; }
10957 fi
10958
10959
10960 else
10961 MAGIC_CMD=:
10962 fi
10963 fi
10964
10965 fi
10966 ;;
10967 esac
10968
10969 # Use C for the default configuration in the libtool script
10970
10971 lt_save_CC=$CC
10972 ac_ext=c
10973 ac_cpp='$CPP $CPPFLAGS'
10974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10977
10978
10979 # Source file extension for C test sources.
10980 ac_ext=c
10981
10982 # Object file extension for compiled C test sources.
10983 objext=o
10984 objext=$objext
10985
10986 # Code to be used in simple compile tests
10987 lt_simple_compile_test_code="int some_variable = 0;"
10988
10989 # Code to be used in simple link tests
10990 lt_simple_link_test_code='int main(void){return(0);}'
10991
10992
10993
10994
10995
10996
10997
10998 # If no C compiler was specified, use CC.
10999 LTCC=${LTCC-"$CC"}
11000
11001 # If no C compiler flags were specified, use CFLAGS.
11002 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11003
11004 # Allow CC to be a program name with arguments.
11005 compiler=$CC
11006
11007 # Save the default compiler, since it gets overwritten when the other
11008 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11009 compiler_DEFAULT=$CC
11010
11011 # save warnings/boilerplate of simple test code
11012 ac_outfile=conftest.$ac_objext
11013 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11014 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11015 _lt_compiler_boilerplate=`cat conftest.err`
11016 $RM conftest*
11017
11018 ac_outfile=conftest.$ac_objext
11019 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11020 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11021 _lt_linker_boilerplate=`cat conftest.err`
11022 $RM -r conftest*
11023
11024
11025 ## CAVEAT EMPTOR:
11026 ## There is no encapsulation within the following macros, do not change
11027 ## the running order or otherwise move them around unless you know exactly
11028 ## what you are doing...
11029 if test -n "$compiler"; then
11030
11031 lt_prog_compiler_no_builtin_flag=
11032
11033 if test yes = "$GCC"; then
11034 case $cc_basename in
11035 nvcc*)
11036 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11037 *)
11038 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11039 esac
11040
11041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11042 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11043 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
11044 then :
11045 printf %s "(cached) " >&6
11046 else case e in #(
11047 e) lt_cv_prog_compiler_rtti_exceptions=no
11048 ac_outfile=conftest.$ac_objext
11049 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11050 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11051 # Insert the option either (1) after the last *FLAGS variable, or
11052 # (2) before a word containing "conftest.", or (3) at the end.
11053 # Note that $ac_compile itself does not contain backslashes and begins
11054 # with a dollar sign (not a hyphen), so the echo should work correctly.
11055 # The option is referenced via a variable to avoid confusing sed.
11056 lt_compile=`echo "$ac_compile" | $SED \
11057 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11058 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11059 -e 's:$: $lt_compiler_flag:'`
11060 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11061 (eval "$lt_compile" 2>conftest.err)
11062 ac_status=$?
11063 cat conftest.err >&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 if (exit $ac_status) && test -s "$ac_outfile"; then
11066 # The compiler can only warn and ignore the option if not recognized
11067 # So say no if there are warnings other than the usual output.
11068 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11069 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11070 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11071 lt_cv_prog_compiler_rtti_exceptions=yes
11072 fi
11073 fi
11074 $RM conftest*
11075 ;;
11076 esac
11077 fi
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11079 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11080
11081 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11082 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11083 else
11084 :
11085 fi
11086
11087 fi
11088
11089
11090
11091
11092
11093
11094 lt_prog_compiler_wl=
11095 lt_prog_compiler_pic=
11096 lt_prog_compiler_static=
11097
11098
11099 if test yes = "$GCC"; then
11100 lt_prog_compiler_wl='-Wl,'
11101 lt_prog_compiler_static='-static'
11102
11103 case $host_os in
11104 aix*)
11105 # All AIX code is PIC.
11106 if test ia64 = "$host_cpu"; then
11107 # AIX 5 now supports IA64 processor
11108 lt_prog_compiler_static='-Bstatic'
11109 fi
11110 lt_prog_compiler_pic='-fPIC'
11111 ;;
11112
11113 amigaos*)
11114 case $host_cpu in
11115 powerpc)
11116 # see comment about AmigaOS4 .so support
11117 lt_prog_compiler_pic='-fPIC'
11118 ;;
11119 m68k)
11120 # FIXME: we need at least 68020 code to build shared libraries, but
11121 # adding the '-m68020' flag to GCC prevents building anything better,
11122 # like '-m68040'.
11123 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11124 ;;
11125 esac
11126 ;;
11127
11128 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11129 # PIC is the default for these OSes.
11130 ;;
11131
11132 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
11133 # This hack is so that the source file can tell whether it is being
11134 # built for inclusion in a dll (and should export symbols for example).
11135 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11136 # (--disable-auto-import) libraries
11137 lt_prog_compiler_pic='-DDLL_EXPORT'
11138 case $host_os in
11139 os2*)
11140 lt_prog_compiler_static='$wl-static'
11141 ;;
11142 esac
11143 ;;
11144
11145 darwin* | rhapsody*)
11146 # PIC is the default on this platform
11147 # Common symbols not allowed in MH_DYLIB files
11148 lt_prog_compiler_pic='-fno-common'
11149 ;;
11150
11151 haiku*)
11152 # PIC is the default for Haiku.
11153 # The "-static" flag exists, but is broken.
11154 lt_prog_compiler_static=
11155 ;;
11156
11157 hpux*)
11158 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11159 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11160 # sets the default TLS model and affects inlining.
11161 case $host_cpu in
11162 hppa*64*)
11163 # +Z the default
11164 ;;
11165 *)
11166 lt_prog_compiler_pic='-fPIC'
11167 ;;
11168 esac
11169 ;;
11170
11171 interix[3-9]*)
11172 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11173 # Instead, we relocate shared libraries at runtime.
11174 ;;
11175
11176 msdosdjgpp*)
11177 # Just because we use GCC doesn't mean we suddenly get shared libraries
11178 # on systems that don't support them.
11179 lt_prog_compiler_can_build_shared=no
11180 enable_shared=no
11181 ;;
11182
11183 *nto* | *qnx*)
11184 # QNX uses GNU C++, but need to define -shared option too, otherwise
11185 # it will coredump.
11186 lt_prog_compiler_pic='-fPIC -shared'
11187 ;;
11188
11189 sysv4*MP*)
11190 if test -d /usr/nec; then
11191 lt_prog_compiler_pic=-Kconform_pic
11192 fi
11193 ;;
11194
11195 *)
11196 lt_prog_compiler_pic='-fPIC'
11197 ;;
11198 esac
11199
11200 case $cc_basename in
11201 nvcc*) # Cuda Compiler Driver 2.2
11202 lt_prog_compiler_wl='-Xlinker '
11203 if test -n "$lt_prog_compiler_pic"; then
11204 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11205 fi
11206 ;;
11207 esac
11208 else
11209 # PORTME Check for flag to pass linker flags through the system compiler.
11210 case $host_os in
11211 aix*)
11212 lt_prog_compiler_wl='-Wl,'
11213 if test ia64 = "$host_cpu"; then
11214 # AIX 5 now supports IA64 processor
11215 lt_prog_compiler_static='-Bstatic'
11216 else
11217 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11218 fi
11219 ;;
11220
11221 darwin* | rhapsody*)
11222 # PIC is the default on this platform
11223 # Common symbols not allowed in MH_DYLIB files
11224 lt_prog_compiler_pic='-fno-common'
11225 case $cc_basename in
11226 nagfor*)
11227 # NAG Fortran compiler
11228 lt_prog_compiler_wl='-Wl,-Wl,,'
11229 lt_prog_compiler_pic='-PIC'
11230 lt_prog_compiler_static='-Bstatic'
11231 ;;
11232 esac
11233 ;;
11234
11235 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
11236 # This hack is so that the source file can tell whether it is being
11237 # built for inclusion in a dll (and should export symbols for example).
11238 lt_prog_compiler_pic='-DDLL_EXPORT'
11239 case $host_os in
11240 os2*)
11241 lt_prog_compiler_static='$wl-static'
11242 ;;
11243 esac
11244 ;;
11245
11246 hpux9* | hpux10* | hpux11*)
11247 lt_prog_compiler_wl='-Wl,'
11248 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11249 # not for PA HP-UX.
11250 case $host_cpu in
11251 hppa*64*|ia64*)
11252 # +Z the default
11253 ;;
11254 *)
11255 lt_prog_compiler_pic='+Z'
11256 ;;
11257 esac
11258 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11259 lt_prog_compiler_static='$wl-a ${wl}archive'
11260 ;;
11261
11262 irix5* | irix6* | nonstopux*)
11263 lt_prog_compiler_wl='-Wl,'
11264 # PIC (with -KPIC) is the default.
11265 lt_prog_compiler_static='-non_shared'
11266 ;;
11267
11268 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11269 case $cc_basename in
11270 # old Intel for x86_64, which still supported -KPIC.
11271 ecc*)
11272 lt_prog_compiler_wl='-Wl,'
11273 lt_prog_compiler_pic='-KPIC'
11274 lt_prog_compiler_static='-static'
11275 ;;
11276 *flang* | ftn | f18* | f95*)
11277 # Flang compiler.
11278 lt_prog_compiler_wl='-Wl,'
11279 lt_prog_compiler_pic='-fPIC'
11280 lt_prog_compiler_static='-static'
11281 ;;
11282 # icc used to be incompatible with GCC.
11283 # ICC 10 doesn't accept -KPIC any more.
11284 icc* | ifort*)
11285 lt_prog_compiler_wl='-Wl,'
11286 lt_prog_compiler_pic='-fPIC'
11287 lt_prog_compiler_static='-static'
11288 ;;
11289 # Lahey Fortran 8.1.
11290 lf95*)
11291 lt_prog_compiler_wl='-Wl,'
11292 lt_prog_compiler_pic='--shared'
11293 lt_prog_compiler_static='--static'
11294 ;;
11295 nagfor*)
11296 # NAG Fortran compiler
11297 lt_prog_compiler_wl='-Wl,-Wl,,'
11298 lt_prog_compiler_pic='-PIC'
11299 lt_prog_compiler_static='-Bstatic'
11300 ;;
11301 tcc*)
11302 # Fabrice Bellard et al's Tiny C Compiler
11303 lt_prog_compiler_wl='-Wl,'
11304 lt_prog_compiler_pic='-fPIC'
11305 lt_prog_compiler_static='-static'
11306 ;;
11307 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11308 # Portland Group compilers (*not* the Pentium gcc compiler,
11309 # which looks to be a dead project)
11310 lt_prog_compiler_wl='-Wl,'
11311 lt_prog_compiler_pic='-fpic'
11312 lt_prog_compiler_static='-Bstatic'
11313 ;;
11314 ccc*)
11315 lt_prog_compiler_wl='-Wl,'
11316 # All Alpha code is PIC.
11317 lt_prog_compiler_static='-non_shared'
11318 ;;
11319 xl* | bgxl* | bgf* | mpixl*)
11320 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11321 lt_prog_compiler_wl='-Wl,'
11322 lt_prog_compiler_pic='-qpic'
11323 lt_prog_compiler_static='-qstaticlink'
11324 ;;
11325 *)
11326 case `$CC -V 2>&1 | $SED 5q` in
11327 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11328 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11329 lt_prog_compiler_pic='-KPIC'
11330 lt_prog_compiler_static='-Bstatic'
11331 lt_prog_compiler_wl=''
11332 ;;
11333 *Sun\ F* | *Sun*Fortran*)
11334 lt_prog_compiler_pic='-KPIC'
11335 lt_prog_compiler_static='-Bstatic'
11336 lt_prog_compiler_wl='-Qoption ld '
11337 ;;
11338 *Sun\ C*)
11339 # Sun C 5.9
11340 lt_prog_compiler_pic='-KPIC'
11341 lt_prog_compiler_static='-Bstatic'
11342 lt_prog_compiler_wl='-Wl,'
11343 ;;
11344 *Intel*\ [CF]*Compiler*)
11345 lt_prog_compiler_wl='-Wl,'
11346 lt_prog_compiler_pic='-fPIC'
11347 lt_prog_compiler_static='-static'
11348 ;;
11349 *Portland\ Group*)
11350 lt_prog_compiler_wl='-Wl,'
11351 lt_prog_compiler_pic='-fpic'
11352 lt_prog_compiler_static='-Bstatic'
11353 ;;
11354 esac
11355 ;;
11356 esac
11357 ;;
11358
11359 newsos6)
11360 lt_prog_compiler_pic='-KPIC'
11361 lt_prog_compiler_static='-Bstatic'
11362 ;;
11363
11364 *-mlibc)
11365 lt_prog_compiler_wl='-Wl,'
11366 lt_prog_compiler_pic='-fPIC'
11367 lt_prog_compiler_static='-static'
11368 ;;
11369
11370 *nto* | *qnx*)
11371 # QNX uses GNU C++, but need to define -shared option too, otherwise
11372 # it will coredump.
11373 lt_prog_compiler_pic='-fPIC -shared'
11374 ;;
11375
11376 osf3* | osf4* | osf5*)
11377 lt_prog_compiler_wl='-Wl,'
11378 # All OSF/1 code is PIC.
11379 lt_prog_compiler_static='-non_shared'
11380 ;;
11381
11382 rdos*)
11383 lt_prog_compiler_static='-non_shared'
11384 ;;
11385
11386 serenity*)
11387 ;;
11388
11389 solaris*)
11390 lt_prog_compiler_pic='-KPIC'
11391 lt_prog_compiler_static='-Bstatic'
11392 case $cc_basename in
11393 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11394 lt_prog_compiler_wl='-Qoption ld ';;
11395 *)
11396 lt_prog_compiler_wl='-Wl,';;
11397 esac
11398 ;;
11399
11400 sunos4*)
11401 lt_prog_compiler_wl='-Qoption ld '
11402 lt_prog_compiler_pic='-PIC'
11403 lt_prog_compiler_static='-Bstatic'
11404 ;;
11405
11406 sysv4 | sysv4.2uw2* | sysv4.3*)
11407 lt_prog_compiler_wl='-Wl,'
11408 lt_prog_compiler_pic='-KPIC'
11409 lt_prog_compiler_static='-Bstatic'
11410 ;;
11411
11412 sysv4*MP*)
11413 if test -d /usr/nec; then
11414 lt_prog_compiler_pic='-Kconform_pic'
11415 lt_prog_compiler_static='-Bstatic'
11416 fi
11417 ;;
11418
11419 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11420 lt_prog_compiler_wl='-Wl,'
11421 lt_prog_compiler_pic='-KPIC'
11422 lt_prog_compiler_static='-Bstatic'
11423 ;;
11424
11425 unicos*)
11426 lt_prog_compiler_wl='-Wl,'
11427 lt_prog_compiler_can_build_shared=no
11428 ;;
11429
11430 uts4*)
11431 lt_prog_compiler_pic='-pic'
11432 lt_prog_compiler_static='-Bstatic'
11433 ;;
11434
11435 *)
11436 lt_prog_compiler_can_build_shared=no
11437 ;;
11438 esac
11439 fi
11440
11441 case $host_os in
11442 # For platforms that do not support PIC, -DPIC is meaningless:
11443 *djgpp*)
11444 lt_prog_compiler_pic=
11445 ;;
11446 *)
11447 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11448 ;;
11449 esac
11450
11451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11452 printf %s "checking for $compiler option to produce PIC... " >&6; }
11453 if test ${lt_cv_prog_compiler_pic+y}
11454 then :
11455 printf %s "(cached) " >&6
11456 else case e in #(
11457 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
11458 esac
11459 fi
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11461 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
11462 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11463
11464 #
11465 # Check to make sure the PIC flag actually works.
11466 #
11467 if test -n "$lt_prog_compiler_pic"; then
11468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11469 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11470 if test ${lt_cv_prog_compiler_pic_works+y}
11471 then :
11472 printf %s "(cached) " >&6
11473 else case e in #(
11474 e) lt_cv_prog_compiler_pic_works=no
11475 ac_outfile=conftest.$ac_objext
11476 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11477 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11478 # Insert the option either (1) after the last *FLAGS variable, or
11479 # (2) before a word containing "conftest.", or (3) at the end.
11480 # Note that $ac_compile itself does not contain backslashes and begins
11481 # with a dollar sign (not a hyphen), so the echo should work correctly.
11482 # The option is referenced via a variable to avoid confusing sed.
11483 lt_compile=`echo "$ac_compile" | $SED \
11484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11486 -e 's:$: $lt_compiler_flag:'`
11487 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11488 (eval "$lt_compile" 2>conftest.err)
11489 ac_status=$?
11490 cat conftest.err >&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 if (exit $ac_status) && test -s "$ac_outfile"; then
11493 # The compiler can only warn and ignore the option if not recognized
11494 # So say no if there are warnings other than the usual output.
11495 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11496 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11497 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11498 lt_cv_prog_compiler_pic_works=yes
11499 fi
11500 fi
11501 $RM conftest*
11502 ;;
11503 esac
11504 fi
11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11506 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
11507
11508 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11509 case $lt_prog_compiler_pic in
11510 "" | " "*) ;;
11511 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11512 esac
11513 else
11514 lt_prog_compiler_pic=
11515 lt_prog_compiler_can_build_shared=no
11516 fi
11517
11518 fi
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530 #
11531 # Check to make sure the static flag actually works.
11532 #
11533 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11535 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11536 if test ${lt_cv_prog_compiler_static_works+y}
11537 then :
11538 printf %s "(cached) " >&6
11539 else case e in #(
11540 e) lt_cv_prog_compiler_static_works=no
11541 save_LDFLAGS=$LDFLAGS
11542 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11543 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11544 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11545 # The linker can only warn and ignore the option if not recognized
11546 # So say no if there are warnings
11547 if test -s conftest.err; then
11548 # Append any errors to the config.log.
11549 cat conftest.err 1>&5
11550 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11551 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11552 if diff conftest.exp conftest.er2 >/dev/null; then
11553 lt_cv_prog_compiler_static_works=yes
11554 fi
11555 else
11556 lt_cv_prog_compiler_static_works=yes
11557 fi
11558 fi
11559 $RM -r conftest*
11560 LDFLAGS=$save_LDFLAGS
11561 ;;
11562 esac
11563 fi
11564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11565 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
11566
11567 if test yes = "$lt_cv_prog_compiler_static_works"; then
11568 :
11569 else
11570 lt_prog_compiler_static=
11571 fi
11572
11573
11574
11575
11576
11577
11578
11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11580 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11581 if test ${lt_cv_prog_compiler_c_o+y}
11582 then :
11583 printf %s "(cached) " >&6
11584 else case e in #(
11585 e) lt_cv_prog_compiler_c_o=no
11586 $RM -r conftest 2>/dev/null
11587 mkdir conftest
11588 cd conftest
11589 mkdir out
11590 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11591
11592 lt_compiler_flag="-o out/conftest2.$ac_objext"
11593 # Insert the option either (1) after the last *FLAGS variable, or
11594 # (2) before a word containing "conftest.", or (3) at the end.
11595 # Note that $ac_compile itself does not contain backslashes and begins
11596 # with a dollar sign (not a hyphen), so the echo should work correctly.
11597 lt_compile=`echo "$ac_compile" | $SED \
11598 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11599 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11600 -e 's:$: $lt_compiler_flag:'`
11601 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11602 (eval "$lt_compile" 2>out/conftest.err)
11603 ac_status=$?
11604 cat out/conftest.err >&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11607 then
11608 # The compiler can only warn and ignore the option if not recognized
11609 # So say no if there are warnings
11610 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11611 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11612 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11613 lt_cv_prog_compiler_c_o=yes
11614 fi
11615 fi
11616 chmod u+w . 2>&5
11617 $RM conftest*
11618 # SGI C++ compiler will create directory out/ii_files/ for
11619 # template instantiation
11620 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11621 $RM out/* && rmdir out
11622 cd ..
11623 $RM -r conftest
11624 $RM conftest*
11625 ;;
11626 esac
11627 fi
11628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11629 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11630
11631
11632
11633
11634
11635
11636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11637 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11638 if test ${lt_cv_prog_compiler_c_o+y}
11639 then :
11640 printf %s "(cached) " >&6
11641 else case e in #(
11642 e) lt_cv_prog_compiler_c_o=no
11643 $RM -r conftest 2>/dev/null
11644 mkdir conftest
11645 cd conftest
11646 mkdir out
11647 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11648
11649 lt_compiler_flag="-o out/conftest2.$ac_objext"
11650 # Insert the option either (1) after the last *FLAGS variable, or
11651 # (2) before a word containing "conftest.", or (3) at the end.
11652 # Note that $ac_compile itself does not contain backslashes and begins
11653 # with a dollar sign (not a hyphen), so the echo should work correctly.
11654 lt_compile=`echo "$ac_compile" | $SED \
11655 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11656 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11657 -e 's:$: $lt_compiler_flag:'`
11658 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11659 (eval "$lt_compile" 2>out/conftest.err)
11660 ac_status=$?
11661 cat out/conftest.err >&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11664 then
11665 # The compiler can only warn and ignore the option if not recognized
11666 # So say no if there are warnings
11667 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11668 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11669 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11670 lt_cv_prog_compiler_c_o=yes
11671 fi
11672 fi
11673 chmod u+w . 2>&5
11674 $RM conftest*
11675 # SGI C++ compiler will create directory out/ii_files/ for
11676 # template instantiation
11677 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11678 $RM out/* && rmdir out
11679 cd ..
11680 $RM -r conftest
11681 $RM conftest*
11682 ;;
11683 esac
11684 fi
11685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11686 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11687
11688
11689
11690
11691 hard_links=nottested
11692 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11693 # do not overwrite the value of need_locks provided by the user
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11695 printf %s "checking if we can lock with hard links... " >&6; }
11696 hard_links=yes
11697 $RM conftest*
11698 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11699 touch conftest.a
11700 ln conftest.a conftest.b 2>&5 || hard_links=no
11701 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11703 printf "%s\n" "$hard_links" >&6; }
11704 if test no = "$hard_links"; then
11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11706 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11707 need_locks=warn
11708 fi
11709 else
11710 need_locks=no
11711 fi
11712
11713
11714
11715
11716
11717
11718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11719 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11720
11721 runpath_var=
11722 allow_undefined_flag=
11723 always_export_symbols=no
11724 archive_cmds=
11725 archive_expsym_cmds=
11726 compiler_needs_object=no
11727 enable_shared_with_static_runtimes=no
11728 export_dynamic_flag_spec=
11729 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11730 hardcode_automatic=no
11731 hardcode_direct=no
11732 hardcode_direct_absolute=no
11733 hardcode_libdir_flag_spec=
11734 hardcode_libdir_separator=
11735 hardcode_minus_L=no
11736 hardcode_shlibpath_var=unsupported
11737 inherit_rpath=no
11738 link_all_deplibs=unknown
11739 module_cmds=
11740 module_expsym_cmds=
11741 old_archive_from_new_cmds=
11742 old_archive_from_expsyms_cmds=
11743 thread_safe_flag_spec=
11744 whole_archive_flag_spec=
11745 # include_expsyms should be a list of space-separated symbols to be *always*
11746 # included in the symbol list
11747 include_expsyms=
11748 # exclude_expsyms can be an extended regexp of symbols to exclude
11749 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11750 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11751 # as well as any symbol that contains 'd'.
11752 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11753 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11754 # platforms (ab)use it in PIC code, but their linkers get confused if
11755 # the symbol is explicitly referenced. Since portable code cannot
11756 # rely on this symbol name, it's probably fine to never include it in
11757 # preloaded symbol tables.
11758 # Exclude shared library initialization/finalization symbols.
11759 extract_expsyms_cmds=
11760
11761 case $host_os in
11762 cygwin* | mingw* | windows* | pw32* | cegcc*)
11763 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11764 # When not using gcc, we currently assume that we are using
11765 # Microsoft Visual C++ or Intel C++ Compiler.
11766 if test yes != "$GCC"; then
11767 with_gnu_ld=no
11768 fi
11769 ;;
11770 interix*)
11771 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11772 with_gnu_ld=yes
11773 ;;
11774 esac
11775
11776 ld_shlibs=yes
11777
11778 # On some targets, GNU ld is compatible enough with the native linker
11779 # that we're better off using the native interface for both.
11780 lt_use_gnu_ld_interface=no
11781 if test yes = "$with_gnu_ld"; then
11782 case $host_os in
11783 aix*)
11784 # The AIX port of GNU ld has always aspired to compatibility
11785 # with the native linker. However, as the warning in the GNU ld
11786 # block says, versions before 2.19.5* couldn't really create working
11787 # shared libraries, regardless of the interface used.
11788 case `$LD -v 2>&1` in
11789 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11790 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11791 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11792 *)
11793 lt_use_gnu_ld_interface=yes
11794 ;;
11795 esac
11796 ;;
11797 *)
11798 lt_use_gnu_ld_interface=yes
11799 ;;
11800 esac
11801 fi
11802
11803 if test yes = "$lt_use_gnu_ld_interface"; then
11804 # If archive_cmds runs LD, not CC, wlarc should be empty
11805 wlarc='$wl'
11806
11807 # Set some defaults for GNU ld with shared library support. These
11808 # are reset later if shared libraries are not supported. Putting them
11809 # here allows them to be overridden if necessary.
11810 runpath_var=LD_RUN_PATH
11811 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11812 export_dynamic_flag_spec='$wl--export-dynamic'
11813 # ancient GNU ld didn't support --whole-archive et. al.
11814 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11815 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11816 else
11817 whole_archive_flag_spec=
11818 fi
11819 supports_anon_versioning=no
11820 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11821 *GNU\ gold*) supports_anon_versioning=yes ;;
11822 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11823 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11824 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11825 *\ 2.11.*) ;; # other 2.11 versions
11826 *) supports_anon_versioning=yes ;;
11827 esac
11828
11829 # See if GNU ld supports shared libraries.
11830 case $host_os in
11831 aix[3-9]*)
11832 # On AIX/PPC, the GNU linker is very broken
11833 if test ia64 != "$host_cpu"; then
11834 ld_shlibs=no
11835 cat <<_LT_EOF 1>&2
11836
11837 *** Warning: the GNU linker, at least up to release 2.19, is reported
11838 *** to be unable to reliably create shared libraries on AIX.
11839 *** Therefore, libtool is disabling shared libraries support. If you
11840 *** really care for shared libraries, you may want to install binutils
11841 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11842 *** You will then need to restart the configuration process.
11843
11844 _LT_EOF
11845 fi
11846 ;;
11847
11848 amigaos*)
11849 case $host_cpu in
11850 powerpc)
11851 # see comment about AmigaOS4 .so support
11852 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11853 archive_expsym_cmds=''
11854 ;;
11855 m68k)
11856 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)'
11857 hardcode_libdir_flag_spec='-L$libdir'
11858 hardcode_minus_L=yes
11859 ;;
11860 esac
11861 ;;
11862
11863 beos*)
11864 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11865 allow_undefined_flag=unsupported
11866 # Joseph Beckenbach <[email protected]> says some releases of gcc
11867 # support --undefined. This deserves some investigation. FIXME
11868 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11869 else
11870 ld_shlibs=no
11871 fi
11872 ;;
11873
11874 cygwin* | mingw* | windows* | pw32* | cegcc*)
11875 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11876 # as there is no search path for DLLs.
11877 hardcode_libdir_flag_spec='-L$libdir'
11878 export_dynamic_flag_spec='$wl--export-all-symbols'
11879 allow_undefined_flag=unsupported
11880 always_export_symbols=no
11881 enable_shared_with_static_runtimes=yes
11882 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'
11883 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11884 file_list_spec='@'
11885
11886 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11887 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11888 # If the export-symbols file already is a .def file, use it as
11889 # is; otherwise, prepend EXPORTS...
11890 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11891 cp $export_symbols $output_objdir/$soname.def;
11892 else
11893 echo EXPORTS > $output_objdir/$soname.def;
11894 cat $export_symbols >> $output_objdir/$soname.def;
11895 fi~
11896 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11897 else
11898 ld_shlibs=no
11899 fi
11900 ;;
11901
11902 haiku*)
11903 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11904 link_all_deplibs=no
11905 ;;
11906
11907 os2*)
11908 hardcode_libdir_flag_spec='-L$libdir'
11909 hardcode_minus_L=yes
11910 allow_undefined_flag=unsupported
11911 shrext_cmds=.dll
11912 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11913 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11914 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11915 $ECHO EXPORTS >> $output_objdir/$libname.def~
11916 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11917 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11918 emximp -o $lib $output_objdir/$libname.def'
11919 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11920 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11921 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11922 $ECHO EXPORTS >> $output_objdir/$libname.def~
11923 prefix_cmds="$SED"~
11924 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11925 prefix_cmds="$prefix_cmds -e 1d";
11926 fi~
11927 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11928 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11929 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11930 emximp -o $lib $output_objdir/$libname.def'
11931 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11932 enable_shared_with_static_runtimes=yes
11933 file_list_spec='@'
11934 ;;
11935
11936 interix[3-9]*)
11937 hardcode_direct=no
11938 hardcode_shlibpath_var=no
11939 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11940 export_dynamic_flag_spec='$wl-E'
11941 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11942 # Instead, shared libraries are loaded at an image base (0x10000000 by
11943 # default) and relocated if they conflict, which is a slow very memory
11944 # consuming and fragmenting process. To avoid this, we pick a random,
11945 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11946 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11947 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11948 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'
11949 ;;
11950
11951 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11952 tmp_diet=no
11953 if test linux-dietlibc = "$host_os"; then
11954 case $cc_basename in
11955 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11956 esac
11957 fi
11958 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11959 && test no = "$tmp_diet"
11960 then
11961 tmp_addflag=' $pic_flag'
11962 tmp_sharedflag='-shared'
11963 case $cc_basename,$host_cpu in
11964 pgcc*) # Portland Group C compiler
11965 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'
11966 tmp_addflag=' $pic_flag'
11967 ;;
11968 pgf77* | pgf90* | pgf95* | pgfortran*)
11969 # Portland Group f77 and f90 compilers
11970 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'
11971 tmp_addflag=' $pic_flag -Mnomain' ;;
11972 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11973 tmp_addflag=' -i_dynamic' ;;
11974 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11975 tmp_addflag=' -i_dynamic -nofor_main' ;;
11976 ifc* | ifort*) # Intel Fortran compiler
11977 tmp_addflag=' -nofor_main' ;;
11978 lf95*) # Lahey Fortran 8.1
11979 whole_archive_flag_spec=
11980 tmp_sharedflag='--shared' ;;
11981 nagfor*) # NAGFOR 5.3
11982 tmp_sharedflag='-Wl,-shared' ;;
11983 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11984 tmp_sharedflag='-qmkshrobj'
11985 tmp_addflag= ;;
11986 nvcc*) # Cuda Compiler Driver 2.2
11987 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'
11988 compiler_needs_object=yes
11989 ;;
11990 esac
11991 case `$CC -V 2>&1 | $SED 5q` in
11992 *Sun\ C*) # Sun C 5.9
11993 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'
11994 compiler_needs_object=yes
11995 tmp_sharedflag='-G' ;;
11996 *Sun\ F*) # Sun Fortran 8.3
11997 tmp_sharedflag='-G' ;;
11998 esac
11999 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12000
12001 if test yes = "$supports_anon_versioning"; then
12002 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12003 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12004 echo "local: *; };" >> $output_objdir/$libname.ver~
12005 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12006 fi
12007
12008 case $cc_basename in
12009 tcc*)
12010 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12011 export_dynamic_flag_spec='-rdynamic'
12012 ;;
12013 xlf* | bgf* | bgxlf* | mpixlf*)
12014 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12015 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12016 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12017 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12018 if test yes = "$supports_anon_versioning"; then
12019 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12020 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12021 echo "local: *; };" >> $output_objdir/$libname.ver~
12022 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12023 fi
12024 ;;
12025 esac
12026 else
12027 ld_shlibs=no
12028 fi
12029 ;;
12030
12031 *-mlibc)
12032 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12033 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12034 ;;
12035
12036 netbsd* | netbsdelf*-gnu)
12037 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12038 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12039 wlarc=
12040 else
12041 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12042 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12043 fi
12044 ;;
12045
12046 solaris*)
12047 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12048 ld_shlibs=no
12049 cat <<_LT_EOF 1>&2
12050
12051 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12052 *** create shared libraries on Solaris systems. Therefore, libtool
12053 *** is disabling shared libraries support. We urge you to upgrade GNU
12054 *** binutils to release 2.9.1 or newer. Another option is to modify
12055 *** your PATH or compiler configuration so that the native linker is
12056 *** used, and then restart.
12057
12058 _LT_EOF
12059 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12060 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12061 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12062 else
12063 ld_shlibs=no
12064 fi
12065 ;;
12066
12067 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12068 case `$LD -v 2>&1` in
12069 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12070 ld_shlibs=no
12071 cat <<_LT_EOF 1>&2
12072
12073 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12074 *** reliably create shared libraries on SCO systems. Therefore, libtool
12075 *** is disabling shared libraries support. We urge you to upgrade GNU
12076 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12077 *** your PATH or compiler configuration so that the native linker is
12078 *** used, and then restart.
12079
12080 _LT_EOF
12081 ;;
12082 *)
12083 # For security reasons, it is highly recommended that you always
12084 # use absolute paths for naming shared libraries, and exclude the
12085 # DT_RUNPATH tag from executables and libraries. But doing so
12086 # requires that you compile everything twice, which is a pain.
12087 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12088 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12089 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12090 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12091 else
12092 ld_shlibs=no
12093 fi
12094 ;;
12095 esac
12096 ;;
12097
12098 sunos4*)
12099 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12100 wlarc=
12101 hardcode_direct=yes
12102 hardcode_shlibpath_var=no
12103 ;;
12104
12105 *)
12106 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12107 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12108 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12109 else
12110 ld_shlibs=no
12111 fi
12112 ;;
12113 esac
12114
12115 if test no = "$ld_shlibs"; then
12116 runpath_var=
12117 hardcode_libdir_flag_spec=
12118 export_dynamic_flag_spec=
12119 whole_archive_flag_spec=
12120 fi
12121 else
12122 # PORTME fill in a description of your system's linker (not GNU ld)
12123 case $host_os in
12124 aix3*)
12125 allow_undefined_flag=unsupported
12126 always_export_symbols=yes
12127 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'
12128 # Note: this linker hardcodes the directories in LIBPATH if there
12129 # are no directories specified by -L.
12130 hardcode_minus_L=yes
12131 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12132 # Neither direct hardcoding nor static linking is supported with a
12133 # broken collect2.
12134 hardcode_direct=unsupported
12135 fi
12136 ;;
12137
12138 aix[4-9]*)
12139 if test ia64 = "$host_cpu"; then
12140 # On IA64, the linker does run time linking by default, so we don't
12141 # have to do anything special.
12142 aix_use_runtimelinking=no
12143 exp_sym_flag='-Bexport'
12144 no_entry_flag=
12145 else
12146 # If we're using GNU nm, then we don't want the "-C" option.
12147 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12148 # Without the "-l" option, or with the "-B" option, AIX nm treats
12149 # weak defined symbols like other global defined symbols, whereas
12150 # GNU nm marks them as "W".
12151 # While the 'weak' keyword is ignored in the Export File, we need
12152 # it in the Import File for the 'aix-soname' feature, so we have
12153 # to replace the "-B" option with "-P" for AIX nm.
12154 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12155 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'
12156 else
12157 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'
12158 fi
12159 aix_use_runtimelinking=no
12160
12161 # Test if we are trying to use run time linking or normal
12162 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12163 # have runtime linking enabled, and use it for executables.
12164 # For shared libraries, we enable/disable runtime linking
12165 # depending on the kind of the shared library created -
12166 # when "with_aix_soname,aix_use_runtimelinking" is:
12167 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12168 # "aix,yes" lib.so shared, rtl:yes, for executables
12169 # lib.a static archive
12170 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12171 # lib.a(lib.so.V) shared, rtl:no, for executables
12172 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12173 # lib.a(lib.so.V) shared, rtl:no
12174 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12175 # lib.a static archive
12176 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12177 for ld_flag in $LDFLAGS; do
12178 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12179 aix_use_runtimelinking=yes
12180 break
12181 fi
12182 done
12183 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12184 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12185 # so we don't have lib.a shared libs to link our executables.
12186 # We have to force runtime linking in this case.
12187 aix_use_runtimelinking=yes
12188 LDFLAGS="$LDFLAGS -Wl,-brtl"
12189 fi
12190 ;;
12191 esac
12192
12193 exp_sym_flag='-bexport'
12194 no_entry_flag='-bnoentry'
12195 fi
12196
12197 # When large executables or shared objects are built, AIX ld can
12198 # have problems creating the table of contents. If linking a library
12199 # or program results in "error TOC overflow" add -mminimal-toc to
12200 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12201 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12202
12203 archive_cmds=''
12204 hardcode_direct=yes
12205 hardcode_direct_absolute=yes
12206 hardcode_libdir_separator=':'
12207 link_all_deplibs=yes
12208 file_list_spec='$wl-f,'
12209 case $with_aix_soname,$aix_use_runtimelinking in
12210 aix,*) ;; # traditional, no import file
12211 svr4,* | *,yes) # use import file
12212 # The Import File defines what to hardcode.
12213 hardcode_direct=no
12214 hardcode_direct_absolute=no
12215 ;;
12216 esac
12217
12218 if test yes = "$GCC"; then
12219 case $host_os in aix4.[012]|aix4.[012].*)
12220 # We only want to do this on AIX 4.2 and lower, the check
12221 # below for broken collect2 doesn't work under 4.3+
12222 collect2name=`$CC -print-prog-name=collect2`
12223 if test -f "$collect2name" &&
12224 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12225 then
12226 # We have reworked collect2
12227 :
12228 else
12229 # We have old collect2
12230 hardcode_direct=unsupported
12231 # It fails to find uninstalled libraries when the uninstalled
12232 # path is not listed in the libpath. Setting hardcode_minus_L
12233 # to unsupported forces relinking
12234 hardcode_minus_L=yes
12235 hardcode_libdir_flag_spec='-L$libdir'
12236 hardcode_libdir_separator=
12237 fi
12238 ;;
12239 esac
12240 shared_flag='-shared'
12241 if test yes = "$aix_use_runtimelinking"; then
12242 shared_flag="$shared_flag "'$wl-G'
12243 fi
12244 # Need to ensure runtime linking is disabled for the traditional
12245 # shared library, or the linker may eventually find shared libraries
12246 # /with/ Import File - we do not want to mix them.
12247 shared_flag_aix='-shared'
12248 shared_flag_svr4='-shared $wl-G'
12249 else
12250 # not using gcc
12251 if test ia64 = "$host_cpu"; then
12252 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12253 # chokes on -Wl,-G. The following line is correct:
12254 shared_flag='-G'
12255 else
12256 if test yes = "$aix_use_runtimelinking"; then
12257 shared_flag='$wl-G'
12258 else
12259 shared_flag='$wl-bM:SRE'
12260 fi
12261 shared_flag_aix='$wl-bM:SRE'
12262 shared_flag_svr4='$wl-G'
12263 fi
12264 fi
12265
12266 export_dynamic_flag_spec='$wl-bexpall'
12267 # It seems that -bexpall does not export symbols beginning with
12268 # underscore (_), so it is better to generate a list of symbols to export.
12269 always_export_symbols=yes
12270 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12271 # Warning - without using the other runtime loading flags (-brtl),
12272 # -berok will link without error, but may produce a broken library.
12273 allow_undefined_flag='-berok'
12274 # Determine the default libpath from the value encoded in an
12275 # empty executable.
12276 if test set = "${lt_cv_aix_libpath+set}"; then
12277 aix_libpath=$lt_cv_aix_libpath
12278 else
12279 if test ${lt_cv_aix_libpath_+y}
12280 then :
12281 printf %s "(cached) " >&6
12282 else case e in #(
12283 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285
12286 int
12287 main (void)
12288 {
12289
12290 ;
12291 return 0;
12292 }
12293 _ACEOF
12294 if ac_fn_c_try_link "$LINENO"
12295 then :
12296
12297 lt_aix_libpath_sed='
12298 /Import File Strings/,/^$/ {
12299 /^0/ {
12300 s/^0 *\([^ ]*\) *$/\1/
12301 p
12302 }
12303 }'
12304 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12305 # Check for a 64-bit object if we didn't find anything.
12306 if test -z "$lt_cv_aix_libpath_"; then
12307 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12308 fi
12309 fi
12310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12311 conftest$ac_exeext conftest.$ac_ext
12312 if test -z "$lt_cv_aix_libpath_"; then
12313 lt_cv_aix_libpath_=/usr/lib:/lib
12314 fi
12315 ;;
12316 esac
12317 fi
12318
12319 aix_libpath=$lt_cv_aix_libpath_
12320 fi
12321
12322 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12323 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
12324 else
12325 if test ia64 = "$host_cpu"; then
12326 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12327 allow_undefined_flag="-z nodefs"
12328 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"
12329 else
12330 # Determine the default libpath from the value encoded in an
12331 # empty executable.
12332 if test set = "${lt_cv_aix_libpath+set}"; then
12333 aix_libpath=$lt_cv_aix_libpath
12334 else
12335 if test ${lt_cv_aix_libpath_+y}
12336 then :
12337 printf %s "(cached) " >&6
12338 else case e in #(
12339 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12341
12342 int
12343 main (void)
12344 {
12345
12346 ;
12347 return 0;
12348 }
12349 _ACEOF
12350 if ac_fn_c_try_link "$LINENO"
12351 then :
12352
12353 lt_aix_libpath_sed='
12354 /Import File Strings/,/^$/ {
12355 /^0/ {
12356 s/^0 *\([^ ]*\) *$/\1/
12357 p
12358 }
12359 }'
12360 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12361 # Check for a 64-bit object if we didn't find anything.
12362 if test -z "$lt_cv_aix_libpath_"; then
12363 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12364 fi
12365 fi
12366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12367 conftest$ac_exeext conftest.$ac_ext
12368 if test -z "$lt_cv_aix_libpath_"; then
12369 lt_cv_aix_libpath_=/usr/lib:/lib
12370 fi
12371 ;;
12372 esac
12373 fi
12374
12375 aix_libpath=$lt_cv_aix_libpath_
12376 fi
12377
12378 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12379 # Warning - without using the other run time loading flags,
12380 # -berok will link without error, but may produce a broken library.
12381 no_undefined_flag=' $wl-bernotok'
12382 allow_undefined_flag=' $wl-berok'
12383 if test yes = "$with_gnu_ld"; then
12384 # We only use this code for GNU lds that support --whole-archive.
12385 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12386 else
12387 # Exported symbols can be pulled into shared objects from archives
12388 whole_archive_flag_spec='$convenience'
12389 fi
12390 archive_cmds_need_lc=yes
12391 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12392 # -brtl affects multiple linker settings, -berok does not and is overridden later
12393 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12394 if test svr4 != "$with_aix_soname"; then
12395 # This is similar to how AIX traditionally builds its shared libraries.
12396 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'
12397 fi
12398 if test aix != "$with_aix_soname"; then
12399 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'
12400 else
12401 # used by -dlpreopen to get the symbols
12402 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12403 fi
12404 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12405 fi
12406 fi
12407 ;;
12408
12409 amigaos*)
12410 case $host_cpu in
12411 powerpc)
12412 # see comment about AmigaOS4 .so support
12413 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12414 archive_expsym_cmds=''
12415 ;;
12416 m68k)
12417 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)'
12418 hardcode_libdir_flag_spec='-L$libdir'
12419 hardcode_minus_L=yes
12420 ;;
12421 esac
12422 ;;
12423
12424 bsdi[45]*)
12425 export_dynamic_flag_spec=-rdynamic
12426 ;;
12427
12428 cygwin* | mingw* | windows* | pw32* | cegcc*)
12429 # When not using gcc, we currently assume that we are using
12430 # Microsoft Visual C++ or Intel C++ Compiler.
12431 # hardcode_libdir_flag_spec is actually meaningless, as there is
12432 # no search path for DLLs.
12433 case $cc_basename in
12434 cl* | icl*)
12435 # Native MSVC or ICC
12436 hardcode_libdir_flag_spec=' '
12437 allow_undefined_flag=unsupported
12438 always_export_symbols=yes
12439 file_list_spec='@'
12440 # Tell ltmain to make .lib files, not .a files.
12441 libext=lib
12442 # Tell ltmain to make .dll files, not .so files.
12443 shrext_cmds=.dll
12444 # FIXME: Setting linknames here is a bad hack.
12445 archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12446 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12447 cp "$export_symbols" "$output_objdir/$soname.def";
12448 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12449 else
12450 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12451 fi~
12452 $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12453 linknames='
12454 # The linker will not automatically build a static lib if we build a DLL.
12455 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12456 enable_shared_with_static_runtimes=yes
12457 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12458 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12459 # Don't use ranlib
12460 old_postinstall_cmds='chmod 644 $oldlib'
12461 postlink_cmds='lt_outputfile="@OUTPUT@"~
12462 lt_tool_outputfile="@TOOL_OUTPUT@"~
12463 case $lt_outputfile in
12464 *.exe|*.EXE) ;;
12465 *)
12466 lt_outputfile=$lt_outputfile.exe
12467 lt_tool_outputfile=$lt_tool_outputfile.exe
12468 ;;
12469 esac~
12470 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12471 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12472 $RM "$lt_outputfile.manifest";
12473 fi'
12474 ;;
12475 *)
12476 # Assume MSVC and ICC wrapper
12477 hardcode_libdir_flag_spec=' '
12478 allow_undefined_flag=unsupported
12479 # Tell ltmain to make .lib files, not .a files.
12480 libext=lib
12481 # Tell ltmain to make .dll files, not .so files.
12482 shrext_cmds=.dll
12483 # FIXME: Setting linknames here is a bad hack.
12484 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12485 # The linker will automatically build a .lib file if we build a DLL.
12486 old_archive_from_new_cmds='true'
12487 # FIXME: Should let the user specify the lib program.
12488 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12489 enable_shared_with_static_runtimes=yes
12490 ;;
12491 esac
12492 ;;
12493
12494 darwin* | rhapsody*)
12495
12496
12497 archive_cmds_need_lc=no
12498 hardcode_direct=no
12499 hardcode_automatic=yes
12500 hardcode_shlibpath_var=unsupported
12501 if test yes = "$lt_cv_ld_force_load"; then
12502 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\"`'
12503
12504 else
12505 whole_archive_flag_spec=''
12506 fi
12507 link_all_deplibs=yes
12508 allow_undefined_flag=$_lt_dar_allow_undefined
12509 case $cc_basename in
12510 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12511 *) _lt_dar_can_shared=$GCC ;;
12512 esac
12513 if test yes = "$_lt_dar_can_shared"; then
12514 output_verbose_link_cmd=func_echo_all
12515 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12516 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12517 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"
12518 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"
12519
12520 else
12521 ld_shlibs=no
12522 fi
12523
12524 ;;
12525
12526 dgux*)
12527 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12528 hardcode_libdir_flag_spec='-L$libdir'
12529 hardcode_shlibpath_var=no
12530 ;;
12531
12532 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12533 # support. Future versions do this automatically, but an explicit c++rt0.o
12534 # does not break anything, and helps significantly (at the cost of a little
12535 # extra space).
12536 freebsd2.2*)
12537 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12538 hardcode_libdir_flag_spec='-R$libdir'
12539 hardcode_direct=yes
12540 hardcode_shlibpath_var=no
12541 ;;
12542
12543 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12544 freebsd2.*)
12545 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12546 hardcode_direct=yes
12547 hardcode_minus_L=yes
12548 hardcode_shlibpath_var=no
12549 ;;
12550
12551 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12552 freebsd* | dragonfly* | midnightbsd*)
12553 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12554 hardcode_libdir_flag_spec='-R$libdir'
12555 hardcode_direct=yes
12556 hardcode_shlibpath_var=no
12557 ;;
12558
12559 hpux9*)
12560 if test yes = "$GCC"; then
12561 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'
12562 else
12563 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'
12564 fi
12565 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12566 hardcode_libdir_separator=:
12567 hardcode_direct=yes
12568
12569 # hardcode_minus_L: Not really in the search PATH,
12570 # but as the default location of the library.
12571 hardcode_minus_L=yes
12572 export_dynamic_flag_spec='$wl-E'
12573 ;;
12574
12575 hpux10*)
12576 if test yes,no = "$GCC,$with_gnu_ld"; then
12577 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12578 else
12579 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12580 fi
12581 if test no = "$with_gnu_ld"; then
12582 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12583 hardcode_libdir_separator=:
12584 hardcode_direct=yes
12585 hardcode_direct_absolute=yes
12586 export_dynamic_flag_spec='$wl-E'
12587 # hardcode_minus_L: Not really in the search PATH,
12588 # but as the default location of the library.
12589 hardcode_minus_L=yes
12590 fi
12591 ;;
12592
12593 hpux11*)
12594 if test yes,no = "$GCC,$with_gnu_ld"; then
12595 case $host_cpu in
12596 hppa*64*)
12597 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12598 ;;
12599 ia64*)
12600 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12601 ;;
12602 *)
12603 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12604 ;;
12605 esac
12606 else
12607 case $host_cpu in
12608 hppa*64*)
12609 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12610 ;;
12611 ia64*)
12612 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12613 ;;
12614 *)
12615
12616 # Older versions of the 11.00 compiler do not understand -b yet
12617 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12619 printf %s "checking if $CC understands -b... " >&6; }
12620 if test ${lt_cv_prog_compiler__b+y}
12621 then :
12622 printf %s "(cached) " >&6
12623 else case e in #(
12624 e) lt_cv_prog_compiler__b=no
12625 save_LDFLAGS=$LDFLAGS
12626 LDFLAGS="$LDFLAGS -b"
12627 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12628 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12629 # The linker can only warn and ignore the option if not recognized
12630 # So say no if there are warnings
12631 if test -s conftest.err; then
12632 # Append any errors to the config.log.
12633 cat conftest.err 1>&5
12634 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12635 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12636 if diff conftest.exp conftest.er2 >/dev/null; then
12637 lt_cv_prog_compiler__b=yes
12638 fi
12639 else
12640 lt_cv_prog_compiler__b=yes
12641 fi
12642 fi
12643 $RM -r conftest*
12644 LDFLAGS=$save_LDFLAGS
12645 ;;
12646 esac
12647 fi
12648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12649 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12650
12651 if test yes = "$lt_cv_prog_compiler__b"; then
12652 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12653 else
12654 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12655 fi
12656
12657 ;;
12658 esac
12659 fi
12660 if test no = "$with_gnu_ld"; then
12661 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12662 hardcode_libdir_separator=:
12663
12664 case $host_cpu in
12665 hppa*64*|ia64*)
12666 hardcode_direct=no
12667 hardcode_shlibpath_var=no
12668 ;;
12669 *)
12670 hardcode_direct=yes
12671 hardcode_direct_absolute=yes
12672 export_dynamic_flag_spec='$wl-E'
12673
12674 # hardcode_minus_L: Not really in the search PATH,
12675 # but as the default location of the library.
12676 hardcode_minus_L=yes
12677 ;;
12678 esac
12679 fi
12680 ;;
12681
12682 irix5* | irix6* | nonstopux*)
12683 if test yes = "$GCC"; then
12684 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'
12685 # Try to use the -exported_symbol ld option, if it does not
12686 # work, assume that -exports_file does not work either and
12687 # implicitly export all symbols.
12688 # This should be the same for all languages, so no per-tag cache variable.
12689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12690 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12691 if test ${lt_cv_irix_exported_symbol+y}
12692 then :
12693 printf %s "(cached) " >&6
12694 else case e in #(
12695 e) save_LDFLAGS=$LDFLAGS
12696 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12699 int foo (void) { return 0; }
12700 _ACEOF
12701 if ac_fn_c_try_link "$LINENO"
12702 then :
12703 lt_cv_irix_exported_symbol=yes
12704 else case e in #(
12705 e) lt_cv_irix_exported_symbol=no ;;
12706 esac
12707 fi
12708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LDFLAGS=$save_LDFLAGS ;;
12711 esac
12712 fi
12713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12714 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12715 if test yes = "$lt_cv_irix_exported_symbol"; then
12716 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'
12717 fi
12718 else
12719 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'
12720 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'
12721 fi
12722 archive_cmds_need_lc='no'
12723 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12724 hardcode_libdir_separator=:
12725 inherit_rpath=yes
12726 link_all_deplibs=yes
12727 ;;
12728
12729 linux*)
12730 case $cc_basename in
12731 tcc*)
12732 # Fabrice Bellard et al's Tiny C Compiler
12733 ld_shlibs=yes
12734 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12735 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12736 ;;
12737 esac
12738 ;;
12739
12740 *-mlibc)
12741 ;;
12742
12743 netbsd* | netbsdelf*-gnu)
12744 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12745 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12746 else
12747 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12748 fi
12749 hardcode_libdir_flag_spec='-R$libdir'
12750 hardcode_direct=yes
12751 hardcode_shlibpath_var=no
12752 ;;
12753
12754 newsos6)
12755 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12756 hardcode_direct=yes
12757 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12758 hardcode_libdir_separator=:
12759 hardcode_shlibpath_var=no
12760 ;;
12761
12762 *nto* | *qnx*)
12763 ;;
12764
12765 openbsd*)
12766 if test -f /usr/libexec/ld.so; then
12767 hardcode_direct=yes
12768 hardcode_shlibpath_var=no
12769 hardcode_direct_absolute=yes
12770 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12771 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12772 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12773 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12774 export_dynamic_flag_spec='$wl-E'
12775 else
12776 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12777 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12778 fi
12779 else
12780 ld_shlibs=no
12781 fi
12782 ;;
12783
12784 os2*)
12785 hardcode_libdir_flag_spec='-L$libdir'
12786 hardcode_minus_L=yes
12787 allow_undefined_flag=unsupported
12788 shrext_cmds=.dll
12789 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12790 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12791 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12792 $ECHO EXPORTS >> $output_objdir/$libname.def~
12793 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12794 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12795 emximp -o $lib $output_objdir/$libname.def'
12796 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12797 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12798 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12799 $ECHO EXPORTS >> $output_objdir/$libname.def~
12800 prefix_cmds="$SED"~
12801 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12802 prefix_cmds="$prefix_cmds -e 1d";
12803 fi~
12804 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12805 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12806 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12807 emximp -o $lib $output_objdir/$libname.def'
12808 old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12809 enable_shared_with_static_runtimes=yes
12810 file_list_spec='@'
12811 ;;
12812
12813 osf3*)
12814 if test yes = "$GCC"; then
12815 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12816 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'
12817 else
12818 allow_undefined_flag=' -expect_unresolved \*'
12819 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'
12820 fi
12821 archive_cmds_need_lc='no'
12822 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12823 hardcode_libdir_separator=:
12824 ;;
12825
12826 osf4* | osf5*) # as osf3* with the addition of -msym flag
12827 if test yes = "$GCC"; then
12828 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12829 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'
12830 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12831 else
12832 allow_undefined_flag=' -expect_unresolved \*'
12833 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'
12834 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~
12835 $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'
12836
12837 # Both c and cxx compiler support -rpath directly
12838 hardcode_libdir_flag_spec='-rpath $libdir'
12839 fi
12840 archive_cmds_need_lc='no'
12841 hardcode_libdir_separator=:
12842 ;;
12843
12844 serenity*)
12845 ;;
12846
12847 solaris*)
12848 no_undefined_flag=' -z defs'
12849 if test yes = "$GCC"; then
12850 wlarc='$wl'
12851 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12852 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12853 $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'
12854 else
12855 case `$CC -V 2>&1` in
12856 *"Compilers 5.0"*)
12857 wlarc=''
12858 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12859 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12860 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12861 ;;
12862 *)
12863 wlarc='$wl'
12864 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12865 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12866 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12867 ;;
12868 esac
12869 fi
12870 hardcode_libdir_flag_spec='-R$libdir'
12871 hardcode_shlibpath_var=no
12872 case $host_os in
12873 solaris2.[0-5] | solaris2.[0-5].*) ;;
12874 *)
12875 # The compiler driver will combine and reorder linker options,
12876 # but understands '-z linker_flag'. GCC discards it without '$wl',
12877 # but is careful enough not to reorder.
12878 # Supported since Solaris 2.6 (maybe 2.5.1?)
12879 if test yes = "$GCC"; then
12880 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12881 else
12882 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12883 fi
12884 ;;
12885 esac
12886 link_all_deplibs=yes
12887 ;;
12888
12889 sunos4*)
12890 if test sequent = "$host_vendor"; then
12891 # Use $CC to link under sequent, because it throws in some extra .o
12892 # files that make .init and .fini sections work.
12893 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12894 else
12895 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12896 fi
12897 hardcode_libdir_flag_spec='-L$libdir'
12898 hardcode_direct=yes
12899 hardcode_minus_L=yes
12900 hardcode_shlibpath_var=no
12901 ;;
12902
12903 sysv4)
12904 case $host_vendor in
12905 sni)
12906 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12907 hardcode_direct=yes # is this really true???
12908 ;;
12909 siemens)
12910 ## LD is ld it makes a PLAMLIB
12911 ## CC just makes a GrossModule.
12912 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12913 reload_cmds='$CC -r -o $output$reload_objs'
12914 hardcode_direct=no
12915 ;;
12916 motorola)
12917 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12918 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12919 ;;
12920 esac
12921 runpath_var='LD_RUN_PATH'
12922 hardcode_shlibpath_var=no
12923 ;;
12924
12925 sysv4.3*)
12926 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12927 hardcode_shlibpath_var=no
12928 export_dynamic_flag_spec='-Bexport'
12929 ;;
12930
12931 sysv4*MP*)
12932 if test -d /usr/nec; then
12933 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12934 hardcode_shlibpath_var=no
12935 runpath_var=LD_RUN_PATH
12936 hardcode_runpath_var=yes
12937 ld_shlibs=yes
12938 fi
12939 ;;
12940
12941 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12942 no_undefined_flag='$wl-z,text'
12943 archive_cmds_need_lc=no
12944 hardcode_shlibpath_var=no
12945 runpath_var='LD_RUN_PATH'
12946
12947 if test yes = "$GCC"; then
12948 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12949 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12950 else
12951 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12952 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12953 fi
12954 ;;
12955
12956 sysv5* | sco3.2v5* | sco5v6*)
12957 # Note: We CANNOT use -z defs as we might desire, because we do not
12958 # link with -lc, and that would cause any symbols used from libc to
12959 # always be unresolved, which means just about no library would
12960 # ever link correctly. If we're not using GNU ld we use -z text
12961 # though, which does catch some bad symbols but isn't as heavy-handed
12962 # as -z defs.
12963 no_undefined_flag='$wl-z,text'
12964 allow_undefined_flag='$wl-z,nodefs'
12965 archive_cmds_need_lc=no
12966 hardcode_shlibpath_var=no
12967 hardcode_libdir_flag_spec='$wl-R,$libdir'
12968 hardcode_libdir_separator=':'
12969 link_all_deplibs=yes
12970 export_dynamic_flag_spec='$wl-Bexport'
12971 runpath_var='LD_RUN_PATH'
12972
12973 if test yes = "$GCC"; then
12974 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12975 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12976 else
12977 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12978 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12979 fi
12980 ;;
12981
12982 uts4*)
12983 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12984 hardcode_libdir_flag_spec='-L$libdir'
12985 hardcode_shlibpath_var=no
12986 ;;
12987
12988 *)
12989 ld_shlibs=no
12990 ;;
12991 esac
12992
12993 if test sni = "$host_vendor"; then
12994 case $host in
12995 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12996 export_dynamic_flag_spec='$wl-Blargedynsym'
12997 ;;
12998 esac
12999 fi
13000 fi
13001
13002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13003 printf "%s\n" "$ld_shlibs" >&6; }
13004 test no = "$ld_shlibs" && can_build_shared=no
13005
13006 with_gnu_ld=$with_gnu_ld
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022 #
13023 # Do we need to explicitly link libc?
13024 #
13025 case "x$archive_cmds_need_lc" in
13026 x|xyes)
13027 # Assume -lc should be added
13028 archive_cmds_need_lc=yes
13029
13030 if test yes,yes = "$GCC,$enable_shared"; then
13031 case $archive_cmds in
13032 *'~'*)
13033 # FIXME: we may have to deal with multi-command sequences.
13034 ;;
13035 '$CC '*)
13036 # Test whether the compiler implicitly links with -lc since on some
13037 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13038 # to ld, don't add -lc before -lgcc.
13039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13040 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
13041 if test ${lt_cv_archive_cmds_need_lc+y}
13042 then :
13043 printf %s "(cached) " >&6
13044 else case e in #(
13045 e) $RM conftest*
13046 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13047
13048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13049 (eval $ac_compile) 2>&5
13050 ac_status=$?
13051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13052 test $ac_status = 0; } 2>conftest.err; then
13053 soname=conftest
13054 lib=conftest
13055 libobjs=conftest.$ac_objext
13056 deplibs=
13057 wl=$lt_prog_compiler_wl
13058 pic_flag=$lt_prog_compiler_pic
13059 compiler_flags=-v
13060 linker_flags=-v
13061 verstring=
13062 output_objdir=.
13063 libname=conftest
13064 lt_save_allow_undefined_flag=$allow_undefined_flag
13065 allow_undefined_flag=
13066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13067 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13068 ac_status=$?
13069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13070 test $ac_status = 0; }
13071 then
13072 lt_cv_archive_cmds_need_lc=no
13073 else
13074 lt_cv_archive_cmds_need_lc=yes
13075 fi
13076 allow_undefined_flag=$lt_save_allow_undefined_flag
13077 else
13078 cat conftest.err 1>&5
13079 fi
13080 $RM conftest*
13081 ;;
13082 esac
13083 fi
13084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13085 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
13086 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13087 ;;
13088 esac
13089 fi
13090 ;;
13091 esac
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13245 printf %s "checking dynamic linker characteristics... " >&6; }
13246
13247 if test yes = "$GCC"; then
13248 case $host_os in
13249 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
13250 *) lt_awk_arg='/^libraries:/' ;;
13251 esac
13252 case $host_os in
13253 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13254 *) lt_sed_strip_eq='s|=/|/|g' ;;
13255 esac
13256 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13257 case $lt_search_path_spec in
13258 *\;*)
13259 # if the path contains ";" then we assume it to be the separator
13260 # otherwise default to the standard path separator (i.e. ":") - it is
13261 # assumed that no part of a normal pathname contains ";" but that should
13262 # okay in the real world where ";" in dirpaths is itself problematic.
13263 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13264 ;;
13265 *)
13266 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13267 ;;
13268 esac
13269 # Ok, now we have the path, separated by spaces, we can step through it
13270 # and add multilib dir if necessary...
13271 lt_tmp_lt_search_path_spec=
13272 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13273 # ...but if some path component already ends with the multilib dir we assume
13274 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13275 case "$lt_multi_os_dir; $lt_search_path_spec " in
13276 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13277 lt_multi_os_dir=
13278 ;;
13279 esac
13280 for lt_sys_path in $lt_search_path_spec; do
13281 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13282 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13283 elif test -n "$lt_multi_os_dir"; then
13284 test -d "$lt_sys_path" && \
13285 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13286 fi
13287 done
13288 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13289 BEGIN {RS = " "; FS = "/|\n";} {
13290 lt_foo = "";
13291 lt_count = 0;
13292 for (lt_i = NF; lt_i > 0; lt_i--) {
13293 if ($lt_i != "" && $lt_i != ".") {
13294 if ($lt_i == "..") {
13295 lt_count++;
13296 } else {
13297 if (lt_count == 0) {
13298 lt_foo = "/" $lt_i lt_foo;
13299 } else {
13300 lt_count--;
13301 }
13302 }
13303 }
13304 }
13305 if (lt_foo != "") { lt_freq[lt_foo]++; }
13306 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13307 }'`
13308 # AWK program above erroneously prepends '/' to C:/dos/paths
13309 # for these hosts.
13310 case $host_os in
13311 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13312 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13313 esac
13314 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13315 else
13316 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13317 fi
13318 library_names_spec=
13319 libname_spec='lib$name'
13320 soname_spec=
13321 shrext_cmds=.so
13322 postinstall_cmds=
13323 postuninstall_cmds=
13324 finish_cmds=
13325 finish_eval=
13326 shlibpath_var=
13327 shlibpath_overrides_runpath=unknown
13328 version_type=none
13329 dynamic_linker="$host_os ld.so"
13330 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13331 need_lib_prefix=unknown
13332 hardcode_into_libs=no
13333
13334 # when you set need_version to no, make sure it does not cause -set_version
13335 # flags to be left without arguments
13336 need_version=unknown
13337
13338
13339
13340 case $host_os in
13341 aix3*)
13342 version_type=linux # correct to gnu/linux during the next big refactor
13343 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
13344 shlibpath_var=LIBPATH
13345
13346 # AIX 3 has no versioning support, so we append a major version to the name.
13347 soname_spec='$libname$release$shared_ext$major'
13348 ;;
13349
13350 aix[4-9]*)
13351 version_type=linux # correct to gnu/linux during the next big refactor
13352 need_lib_prefix=no
13353 need_version=no
13354 hardcode_into_libs=yes
13355 if test ia64 = "$host_cpu"; then
13356 # AIX 5 supports IA64
13357 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13358 shlibpath_var=LD_LIBRARY_PATH
13359 else
13360 # With GCC up to 2.95.x, collect2 would create an import file
13361 # for dependence libraries. The import file would start with
13362 # the line '#! .'. This would cause the generated library to
13363 # depend on '.', always an invalid library. This was fixed in
13364 # development snapshots of GCC prior to 3.0.
13365 case $host_os in
13366 aix4 | aix4.[01] | aix4.[01].*)
13367 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13368 echo ' yes '
13369 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13370 :
13371 else
13372 can_build_shared=no
13373 fi
13374 ;;
13375 esac
13376 # Using Import Files as archive members, it is possible to support
13377 # filename-based versioning of shared library archives on AIX. While
13378 # this would work for both with and without runtime linking, it will
13379 # prevent static linking of such archives. So we do filename-based
13380 # shared library versioning with .so extension only, which is used
13381 # when both runtime linking and shared linking is enabled.
13382 # Unfortunately, runtime linking may impact performance, so we do
13383 # not want this to be the default eventually. Also, we use the
13384 # versioned .so libs for executables only if there is the -brtl
13385 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
13386 # To allow for filename-based versioning support, we need to create
13387 # libNAME.so.V as an archive file, containing:
13388 # *) an Import File, referring to the versioned filename of the
13389 # archive as well as the shared archive member, telling the
13390 # bitwidth (32 or 64) of that shared object, and providing the
13391 # list of exported symbols of that shared object, eventually
13392 # decorated with the 'weak' keyword
13393 # *) the shared object with the F_LOADONLY flag set, to really avoid
13394 # it being seen by the linker.
13395 # At run time we better use the real file rather than another symlink,
13396 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13397
13398 case $with_aix_soname,$aix_use_runtimelinking in
13399 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13400 # soname into executable. Probably we can add versioning support to
13401 # collect2, so additional links can be useful in future.
13402 aix,yes) # traditional libtool
13403 dynamic_linker='AIX unversionable lib.so'
13404 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13405 # instead of lib<name>.a to let people know that these are not
13406 # typical AIX shared libraries.
13407 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13408 ;;
13409 aix,no) # traditional AIX only
13410 dynamic_linker='AIX lib.a(lib.so.V)'
13411 # We preserve .a as extension for shared libraries through AIX4.2
13412 # and later when we are not doing run time linking.
13413 library_names_spec='$libname$release.a $libname.a'
13414 soname_spec='$libname$release$shared_ext$major'
13415 ;;
13416 svr4,*) # full svr4 only
13417 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13418 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13419 # We do not specify a path in Import Files, so LIBPATH fires.
13420 shlibpath_overrides_runpath=yes
13421 ;;
13422 *,yes) # both, prefer svr4
13423 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13424 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13425 # unpreferred sharedlib libNAME.a needs extra handling
13426 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"'
13427 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"'
13428 # We do not specify a path in Import Files, so LIBPATH fires.
13429 shlibpath_overrides_runpath=yes
13430 ;;
13431 *,no) # both, prefer aix
13432 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13433 library_names_spec='$libname$release.a $libname.a'
13434 soname_spec='$libname$release$shared_ext$major'
13435 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13436 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)'
13437 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"'
13438 ;;
13439 esac
13440 shlibpath_var=LIBPATH
13441 fi
13442 ;;
13443
13444 amigaos*)
13445 case $host_cpu in
13446 powerpc)
13447 # Since July 2007 AmigaOS4 officially supports .so libraries.
13448 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13449 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13450 ;;
13451 m68k)
13452 library_names_spec='$libname.ixlibrary $libname.a'
13453 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13454 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'
13455 ;;
13456 esac
13457 ;;
13458
13459 beos*)
13460 library_names_spec='$libname$shared_ext'
13461 dynamic_linker="$host_os ld.so"
13462 shlibpath_var=LIBRARY_PATH
13463 ;;
13464
13465 bsdi[45]*)
13466 version_type=linux # correct to gnu/linux during the next big refactor
13467 need_version=no
13468 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13469 soname_spec='$libname$release$shared_ext$major'
13470 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13471 shlibpath_var=LD_LIBRARY_PATH
13472 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13473 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13474 # the default ld.so.conf also contains /usr/contrib/lib and
13475 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13476 # libtool to hard-code these into programs
13477 ;;
13478
13479 cygwin* | mingw* | windows* | pw32* | cegcc*)
13480 version_type=windows
13481 shrext_cmds=.dll
13482 need_version=no
13483 need_lib_prefix=no
13484
13485 case $GCC,$cc_basename in
13486 yes,*)
13487 # gcc
13488 library_names_spec='$libname.dll.a'
13489 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13490 # If user builds GCC with multilib enabled,
13491 # it should just install on $(libdir)
13492 # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
13493 if test xyes = x"$multilib"; then
13494 postinstall_cmds='base_file=`basename \$file`~
13495 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13496 dldir=$destdir/`dirname \$dlpath`~
13497 $install_prog $dir/$dlname $destdir/$dlname~
13498 chmod a+x $destdir/$dlname~
13499 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13500 eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
13501 fi'
13502 else
13503 postinstall_cmds='base_file=`basename \$file`~
13504 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13505 dldir=$destdir/`dirname \$dlpath`~
13506 test -d \$dldir || mkdir -p \$dldir~
13507 $install_prog $dir/$dlname \$dldir/$dlname~
13508 chmod a+x \$dldir/$dlname~
13509 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13510 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13511 fi'
13512 fi
13513 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13514 dlpath=$dir/\$dldll~
13515 $RM \$dlpath'
13516 shlibpath_overrides_runpath=yes
13517
13518 case $host_os in
13519 cygwin*)
13520 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13521 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13522
13523 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13524 ;;
13525 mingw* | windows* | cegcc*)
13526 # MinGW DLLs use traditional 'lib' prefix
13527 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13528 ;;
13529 pw32*)
13530 # pw32 DLLs use 'pw' prefix rather than 'lib'
13531 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13532 ;;
13533 esac
13534 dynamic_linker='Win32 ld.exe'
13535 ;;
13536
13537 *,cl* | *,icl*)
13538 # Native MSVC or ICC
13539 libname_spec='$name'
13540 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13541 library_names_spec='$libname.dll.lib'
13542
13543 case $build_os in
13544 mingw* | windows*)
13545 sys_lib_search_path_spec=
13546 lt_save_ifs=$IFS
13547 IFS=';'
13548 for lt_path in $LIB
13549 do
13550 IFS=$lt_save_ifs
13551 # Let DOS variable expansion print the short 8.3 style file name.
13552 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13553 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13554 done
13555 IFS=$lt_save_ifs
13556 # Convert to MSYS style.
13557 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13558 ;;
13559 cygwin*)
13560 # Convert to unix form, then to dos form, then back to unix form
13561 # but this time dos style (no spaces!) so that the unix form looks
13562 # like /cygdrive/c/PROGRA~1:/cygdr...
13563 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13564 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13565 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13566 ;;
13567 *)
13568 sys_lib_search_path_spec=$LIB
13569 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13570 # It is most probably a Windows format PATH.
13571 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13572 else
13573 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13574 fi
13575 # FIXME: find the short name or the path components, as spaces are
13576 # common. (e.g. "Program Files" -> "PROGRA~1")
13577 ;;
13578 esac
13579
13580 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13581 postinstall_cmds='base_file=`basename \$file`~
13582 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13583 dldir=$destdir/`dirname \$dlpath`~
13584 test -d \$dldir || mkdir -p \$dldir~
13585 $install_prog $dir/$dlname \$dldir/$dlname'
13586 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13587 dlpath=$dir/\$dldll~
13588 $RM \$dlpath'
13589 shlibpath_overrides_runpath=yes
13590 dynamic_linker='Win32 link.exe'
13591 ;;
13592
13593 *)
13594 # Assume MSVC and ICC wrapper
13595 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13596 dynamic_linker='Win32 ld.exe'
13597 ;;
13598 esac
13599 # FIXME: first we should search . and the directory the executable is in
13600 shlibpath_var=PATH
13601 ;;
13602
13603 darwin* | rhapsody*)
13604 dynamic_linker="$host_os dyld"
13605 version_type=darwin
13606 need_lib_prefix=no
13607 need_version=no
13608 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13609 soname_spec='$libname$release$major$shared_ext'
13610 shlibpath_overrides_runpath=yes
13611 shlibpath_var=DYLD_LIBRARY_PATH
13612 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13613
13614 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13615 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13616 ;;
13617
13618 dgux*)
13619 version_type=linux # correct to gnu/linux during the next big refactor
13620 need_lib_prefix=no
13621 need_version=no
13622 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13623 soname_spec='$libname$release$shared_ext$major'
13624 shlibpath_var=LD_LIBRARY_PATH
13625 ;;
13626
13627 freebsd* | dragonfly* | midnightbsd*)
13628 # DragonFly does not have aout. When/if they implement a new
13629 # versioning mechanism, adjust this.
13630 if test -x /usr/bin/objformat; then
13631 objformat=`/usr/bin/objformat`
13632 else
13633 case $host_os in
13634 freebsd[23].*) objformat=aout ;;
13635 *) objformat=elf ;;
13636 esac
13637 fi
13638 version_type=freebsd-$objformat
13639 case $version_type in
13640 freebsd-elf*)
13641 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13642 soname_spec='$libname$release$shared_ext$major'
13643 need_version=no
13644 need_lib_prefix=no
13645 ;;
13646 freebsd-*)
13647 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13648 need_version=yes
13649 ;;
13650 esac
13651 case $host_cpu in
13652 powerpc64)
13653 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
13654 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 int test_pointer_size[sizeof (void *) - 5];
13658
13659 _ACEOF
13660 if ac_fn_c_try_compile "$LINENO"
13661 then :
13662 shlibpath_var=LD_LIBRARY_PATH
13663 else case e in #(
13664 e) shlibpath_var=LD_32_LIBRARY_PATH ;;
13665 esac
13666 fi
13667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13668 ;;
13669 *)
13670 shlibpath_var=LD_LIBRARY_PATH
13671 ;;
13672 esac
13673 case $host_os in
13674 freebsd2.*)
13675 shlibpath_overrides_runpath=yes
13676 ;;
13677 freebsd3.[01]* | freebsdelf3.[01]*)
13678 shlibpath_overrides_runpath=yes
13679 hardcode_into_libs=yes
13680 ;;
13681 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13682 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13683 shlibpath_overrides_runpath=no
13684 hardcode_into_libs=yes
13685 ;;
13686 *) # from 4.6 on, and DragonFly
13687 shlibpath_overrides_runpath=yes
13688 hardcode_into_libs=yes
13689 ;;
13690 esac
13691 ;;
13692
13693 haiku*)
13694 version_type=linux # correct to gnu/linux during the next big refactor
13695 need_lib_prefix=no
13696 need_version=no
13697 dynamic_linker="$host_os runtime_loader"
13698 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13699 soname_spec='$libname$release$shared_ext$major'
13700 shlibpath_var=LIBRARY_PATH
13701 shlibpath_overrides_runpath=no
13702 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
13703 sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
13704 hardcode_into_libs=no
13705 ;;
13706
13707 hpux9* | hpux10* | hpux11*)
13708 # Give a soname corresponding to the major version so that dld.sl refuses to
13709 # link against other versions.
13710 version_type=sunos
13711 need_lib_prefix=no
13712 need_version=no
13713 case $host_cpu in
13714 ia64*)
13715 shrext_cmds='.so'
13716 hardcode_into_libs=yes
13717 dynamic_linker="$host_os dld.so"
13718 shlibpath_var=LD_LIBRARY_PATH
13719 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13720 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13721 soname_spec='$libname$release$shared_ext$major'
13722 if test 32 = "$HPUX_IA64_MODE"; then
13723 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13724 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13725 else
13726 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13727 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13728 fi
13729 ;;
13730 hppa*64*)
13731 shrext_cmds='.sl'
13732 hardcode_into_libs=yes
13733 dynamic_linker="$host_os dld.sl"
13734 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13735 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13736 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13737 soname_spec='$libname$release$shared_ext$major'
13738 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13740 ;;
13741 *)
13742 shrext_cmds='.sl'
13743 dynamic_linker="$host_os dld.sl"
13744 shlibpath_var=SHLIB_PATH
13745 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13746 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13747 soname_spec='$libname$release$shared_ext$major'
13748 ;;
13749 esac
13750 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13751 postinstall_cmds='chmod 555 $lib'
13752 # or fails outright, so override atomically:
13753 install_override_mode=555
13754 ;;
13755
13756 interix[3-9]*)
13757 version_type=linux # correct to gnu/linux during the next big refactor
13758 need_lib_prefix=no
13759 need_version=no
13760 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13761 soname_spec='$libname$release$shared_ext$major'
13762 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13763 shlibpath_var=LD_LIBRARY_PATH
13764 shlibpath_overrides_runpath=no
13765 hardcode_into_libs=yes
13766 ;;
13767
13768 irix5* | irix6* | nonstopux*)
13769 case $host_os in
13770 nonstopux*) version_type=nonstopux ;;
13771 *)
13772 if test yes = "$lt_cv_prog_gnu_ld"; then
13773 version_type=linux # correct to gnu/linux during the next big refactor
13774 else
13775 version_type=irix
13776 fi ;;
13777 esac
13778 need_lib_prefix=no
13779 need_version=no
13780 soname_spec='$libname$release$shared_ext$major'
13781 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13782 case $host_os in
13783 irix5* | nonstopux*)
13784 libsuff= shlibsuff=
13785 ;;
13786 *)
13787 case $LD in # libtool.m4 will add one of these switches to LD
13788 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13789 libsuff= shlibsuff= libmagic=32-bit;;
13790 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13791 libsuff=32 shlibsuff=N32 libmagic=N32;;
13792 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13793 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13794 *) libsuff= shlibsuff= libmagic=never-match;;
13795 esac
13796 ;;
13797 esac
13798 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13799 shlibpath_overrides_runpath=no
13800 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13801 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13802 hardcode_into_libs=yes
13803 ;;
13804
13805 # No shared lib support for Linux oldld, aout, or coff.
13806 linux*oldld* | linux*aout* | linux*coff*)
13807 dynamic_linker=no
13808 ;;
13809
13810 linux*android*)
13811 version_type=none # Android doesn't support versioned libraries.
13812 need_lib_prefix=no
13813 need_version=no
13814 library_names_spec='$libname$release$shared_ext $libname$shared_ext'
13815 soname_spec='$libname$release$shared_ext'
13816 finish_cmds=
13817 shlibpath_var=LD_LIBRARY_PATH
13818 shlibpath_overrides_runpath=yes
13819
13820 # This implies no fast_install, which is unacceptable.
13821 # Some rework will be needed to allow for fast_install
13822 # before this can be enabled.
13823 hardcode_into_libs=yes
13824
13825 dynamic_linker='Android linker'
13826 # -rpath works at least for libraries that are not overridden by
13827 # libraries installed in system locations.
13828 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13829 ;;
13830
13831 # This must be glibc/ELF.
13832 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13833 version_type=linux # correct to gnu/linux during the next big refactor
13834 need_lib_prefix=no
13835 need_version=no
13836 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13837 soname_spec='$libname$release$shared_ext$major'
13838 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13839 shlibpath_var=LD_LIBRARY_PATH
13840 shlibpath_overrides_runpath=no
13841
13842 # Some binutils ld are patched to set DT_RUNPATH
13843 if test ${lt_cv_shlibpath_overrides_runpath+y}
13844 then :
13845 printf %s "(cached) " >&6
13846 else case e in #(
13847 e) lt_cv_shlibpath_overrides_runpath=no
13848 save_LDFLAGS=$LDFLAGS
13849 save_libdir=$libdir
13850 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13851 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13853 /* end confdefs.h. */
13854
13855 int
13856 main (void)
13857 {
13858
13859 ;
13860 return 0;
13861 }
13862 _ACEOF
13863 if ac_fn_c_try_link "$LINENO"
13864 then :
13865 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13866 then :
13867 lt_cv_shlibpath_overrides_runpath=yes
13868 fi
13869 fi
13870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LDFLAGS=$save_LDFLAGS
13873 libdir=$save_libdir
13874 ;;
13875 esac
13876 fi
13877
13878 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13879
13880 # This implies no fast_install, which is unacceptable.
13881 # Some rework will be needed to allow for fast_install
13882 # before this can be enabled.
13883 hardcode_into_libs=yes
13884
13885 # Ideally, we could use ldconfig to report *all* directories which are
13886 # searched for libraries, however this is still not possible. Aside from not
13887 # being certain /sbin/ldconfig is available, command
13888 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13889 # even though it is searched at run-time. Try to do the best guess by
13890 # appending ld.so.conf contents (and includes) to the search path.
13891 if test -f /etc/ld.so.conf; then
13892 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' ' '`
13893 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13894 fi
13895
13896 # We used to test for /lib/ld.so.1 and disable shared libraries on
13897 # powerpc, because MkLinux only supported shared libraries with the
13898 # GNU dynamic linker. Since this was broken with cross compilers,
13899 # most powerpc-linux boxes support dynamic linking these days and
13900 # people can always --disable-shared, the test was removed, and we
13901 # assume the GNU/Linux dynamic linker is in use.
13902 dynamic_linker='GNU/Linux ld.so'
13903 ;;
13904
13905 netbsdelf*-gnu)
13906 version_type=linux
13907 need_lib_prefix=no
13908 need_version=no
13909 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13910 soname_spec='$libname$release$shared_ext$major'
13911 shlibpath_var=LD_LIBRARY_PATH
13912 shlibpath_overrides_runpath=no
13913 hardcode_into_libs=yes
13914 dynamic_linker='NetBSD ld.elf_so'
13915 enable_cxx_stdlib=yes
13916 stdlibflag=
13917 ;;
13918
13919 netbsd*)
13920 version_type=sunos
13921 need_lib_prefix=no
13922 need_version=no
13923 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13924 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13925 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13926 dynamic_linker='NetBSD (a.out) ld.so'
13927 else
13928 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13929 soname_spec='$libname$release$shared_ext$major'
13930 dynamic_linker='NetBSD ld.elf_so'
13931 fi
13932 shlibpath_var=LD_LIBRARY_PATH
13933 shlibpath_overrides_runpath=yes
13934 hardcode_into_libs=yes
13935 enable_cxx_stdlib=yes
13936 stdlibflag=
13937 ;;
13938
13939 *-mlibc)
13940 version_type=linux # correct to gnu/linux during the next big refactor
13941 need_lib_prefix=no
13942 need_version=no
13943 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13944 soname_spec='$libname$release$shared_ext$major'
13945 dynamic_linker='mlibc ld.so'
13946 shlibpath_var=LD_LIBRARY_PATH
13947 shlibpath_overrides_runpath=no
13948 hardcode_into_libs=yes
13949 ;;
13950
13951 newsos6)
13952 version_type=linux # correct to gnu/linux during the next big refactor
13953 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13954 shlibpath_var=LD_LIBRARY_PATH
13955 shlibpath_overrides_runpath=yes
13956 ;;
13957
13958 *nto* | *qnx*)
13959 version_type=qnx
13960 need_lib_prefix=no
13961 need_version=no
13962 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13963 soname_spec='$libname$release$shared_ext$major'
13964 shlibpath_var=LD_LIBRARY_PATH
13965 shlibpath_overrides_runpath=no
13966 hardcode_into_libs=yes
13967 dynamic_linker='ldqnx.so'
13968 ;;
13969
13970 openbsd*)
13971 version_type=sunos
13972 sys_lib_dlsearch_path_spec=/usr/lib
13973 need_lib_prefix=no
13974 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13975 need_version=no
13976 else
13977 need_version=yes
13978 fi
13979 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13980 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13981 shlibpath_var=LD_LIBRARY_PATH
13982 shlibpath_overrides_runpath=yes
13983 ;;
13984
13985 os2*)
13986 libname_spec='$name'
13987 version_type=windows
13988 shrext_cmds=.dll
13989 need_version=no
13990 need_lib_prefix=no
13991 # OS/2 can only load a DLL with a base name of 8 characters or less.
13992 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13993 v=$($ECHO $release$versuffix | tr -d .-);
13994 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13995 $ECHO $n$v`$shared_ext'
13996 library_names_spec='${libname}_dll.$libext'
13997 dynamic_linker='OS/2 ld.exe'
13998 shlibpath_var=BEGINLIBPATH
13999 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14000 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14001 postinstall_cmds='base_file=`basename \$file`~
14002 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14003 dldir=$destdir/`dirname \$dlpath`~
14004 test -d \$dldir || mkdir -p \$dldir~
14005 $install_prog $dir/$dlname \$dldir/$dlname~
14006 chmod a+x \$dldir/$dlname~
14007 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14008 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14009 fi'
14010 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14011 dlpath=$dir/\$dldll~
14012 $RM \$dlpath'
14013 ;;
14014
14015 osf3* | osf4* | osf5*)
14016 version_type=osf
14017 need_lib_prefix=no
14018 need_version=no
14019 soname_spec='$libname$release$shared_ext$major'
14020 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14021 shlibpath_var=LD_LIBRARY_PATH
14022 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14023 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14024 ;;
14025
14026 rdos*)
14027 dynamic_linker=no
14028 ;;
14029
14030 serenity*)
14031 version_type=linux # correct to gnu/linux during the next big refactor
14032 need_lib_prefix=no
14033 need_version=no
14034 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14035 soname_spec='$libname$release$shared_ext$major'
14036 shlibpath_var=LD_LIBRARY_PATH
14037 shlibpath_overrides_runpath=no
14038 dynamic_linker='SerenityOS LibELF'
14039 ;;
14040
14041 solaris*)
14042 version_type=linux # correct to gnu/linux during the next big refactor
14043 need_lib_prefix=no
14044 need_version=no
14045 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14046 soname_spec='$libname$release$shared_ext$major'
14047 shlibpath_var=LD_LIBRARY_PATH
14048 shlibpath_overrides_runpath=yes
14049 hardcode_into_libs=yes
14050 # ldd complains unless libraries are executable
14051 postinstall_cmds='chmod +x $lib'
14052 ;;
14053
14054 sunos4*)
14055 version_type=sunos
14056 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14057 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14058 shlibpath_var=LD_LIBRARY_PATH
14059 shlibpath_overrides_runpath=yes
14060 if test yes = "$with_gnu_ld"; then
14061 need_lib_prefix=no
14062 fi
14063 need_version=yes
14064 ;;
14065
14066 sysv4 | sysv4.3*)
14067 version_type=linux # correct to gnu/linux during the next big refactor
14068 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14069 soname_spec='$libname$release$shared_ext$major'
14070 shlibpath_var=LD_LIBRARY_PATH
14071 case $host_vendor in
14072 sni)
14073 shlibpath_overrides_runpath=no
14074 need_lib_prefix=no
14075 runpath_var=LD_RUN_PATH
14076 ;;
14077 siemens)
14078 need_lib_prefix=no
14079 ;;
14080 motorola)
14081 need_lib_prefix=no
14082 need_version=no
14083 shlibpath_overrides_runpath=no
14084 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14085 ;;
14086 esac
14087 ;;
14088
14089 sysv4*MP*)
14090 if test -d /usr/nec; then
14091 version_type=linux # correct to gnu/linux during the next big refactor
14092 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14093 soname_spec='$libname$shared_ext.$major'
14094 shlibpath_var=LD_LIBRARY_PATH
14095 fi
14096 ;;
14097
14098 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14099 version_type=sco
14100 need_lib_prefix=no
14101 need_version=no
14102 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14103 soname_spec='$libname$release$shared_ext$major'
14104 shlibpath_var=LD_LIBRARY_PATH
14105 shlibpath_overrides_runpath=yes
14106 hardcode_into_libs=yes
14107 if test yes = "$with_gnu_ld"; then
14108 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14109 else
14110 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14111 case $host_os in
14112 sco3.2v5*)
14113 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14114 ;;
14115 esac
14116 fi
14117 sys_lib_dlsearch_path_spec='/usr/lib'
14118 ;;
14119
14120 tpf*)
14121 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14122 version_type=linux # correct to gnu/linux during the next big refactor
14123 need_lib_prefix=no
14124 need_version=no
14125 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14126 shlibpath_var=LD_LIBRARY_PATH
14127 shlibpath_overrides_runpath=no
14128 hardcode_into_libs=yes
14129 ;;
14130
14131 uts4*)
14132 version_type=linux # correct to gnu/linux during the next big refactor
14133 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14134 soname_spec='$libname$release$shared_ext$major'
14135 shlibpath_var=LD_LIBRARY_PATH
14136 ;;
14137
14138 emscripten*)
14139 version_type=none
14140 need_lib_prefix=no
14141 need_version=no
14142 library_names_spec='$libname$release$shared_ext'
14143 soname_spec='$libname$release$shared_ext'
14144 finish_cmds=
14145 dynamic_linker="Emscripten linker"
14146 lt_prog_compiler_wl=
14147 lt_prog_compiler_pic=
14148 lt_prog_compiler_static=
14149
14150
14151 if test yes = "$GCC"; then
14152 lt_prog_compiler_wl='-Wl,'
14153 lt_prog_compiler_static='-static'
14154
14155 case $host_os in
14156 aix*)
14157 # All AIX code is PIC.
14158 if test ia64 = "$host_cpu"; then
14159 # AIX 5 now supports IA64 processor
14160 lt_prog_compiler_static='-Bstatic'
14161 fi
14162 lt_prog_compiler_pic='-fPIC'
14163 ;;
14164
14165 amigaos*)
14166 case $host_cpu in
14167 powerpc)
14168 # see comment about AmigaOS4 .so support
14169 lt_prog_compiler_pic='-fPIC'
14170 ;;
14171 m68k)
14172 # FIXME: we need at least 68020 code to build shared libraries, but
14173 # adding the '-m68020' flag to GCC prevents building anything better,
14174 # like '-m68040'.
14175 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14176 ;;
14177 esac
14178 ;;
14179
14180 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14181 # PIC is the default for these OSes.
14182 ;;
14183
14184 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
14185 # This hack is so that the source file can tell whether it is being
14186 # built for inclusion in a dll (and should export symbols for example).
14187 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14188 # (--disable-auto-import) libraries
14189 lt_prog_compiler_pic='-DDLL_EXPORT'
14190 case $host_os in
14191 os2*)
14192 lt_prog_compiler_static='$wl-static'
14193 ;;
14194 esac
14195 ;;
14196
14197 darwin* | rhapsody*)
14198 # PIC is the default on this platform
14199 # Common symbols not allowed in MH_DYLIB files
14200 lt_prog_compiler_pic='-fno-common'
14201 ;;
14202
14203 haiku*)
14204 # PIC is the default for Haiku.
14205 # The "-static" flag exists, but is broken.
14206 lt_prog_compiler_static=
14207 ;;
14208
14209 hpux*)
14210 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14211 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14212 # sets the default TLS model and affects inlining.
14213 case $host_cpu in
14214 hppa*64*)
14215 # +Z the default
14216 ;;
14217 *)
14218 lt_prog_compiler_pic='-fPIC'
14219 ;;
14220 esac
14221 ;;
14222
14223 interix[3-9]*)
14224 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14225 # Instead, we relocate shared libraries at runtime.
14226 ;;
14227
14228 msdosdjgpp*)
14229 # Just because we use GCC doesn't mean we suddenly get shared libraries
14230 # on systems that don't support them.
14231 lt_prog_compiler_can_build_shared=no
14232 enable_shared=no
14233 ;;
14234
14235 *nto* | *qnx*)
14236 # QNX uses GNU C++, but need to define -shared option too, otherwise
14237 # it will coredump.
14238 lt_prog_compiler_pic='-fPIC -shared'
14239 ;;
14240
14241 sysv4*MP*)
14242 if test -d /usr/nec; then
14243 lt_prog_compiler_pic=-Kconform_pic
14244 fi
14245 ;;
14246
14247 *)
14248 lt_prog_compiler_pic='-fPIC'
14249 ;;
14250 esac
14251
14252 case $cc_basename in
14253 nvcc*) # Cuda Compiler Driver 2.2
14254 lt_prog_compiler_wl='-Xlinker '
14255 if test -n "$lt_prog_compiler_pic"; then
14256 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
14257 fi
14258 ;;
14259 esac
14260 else
14261 # PORTME Check for flag to pass linker flags through the system compiler.
14262 case $host_os in
14263 aix*)
14264 lt_prog_compiler_wl='-Wl,'
14265 if test ia64 = "$host_cpu"; then
14266 # AIX 5 now supports IA64 processor
14267 lt_prog_compiler_static='-Bstatic'
14268 else
14269 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14270 fi
14271 ;;
14272
14273 darwin* | rhapsody*)
14274 # PIC is the default on this platform
14275 # Common symbols not allowed in MH_DYLIB files
14276 lt_prog_compiler_pic='-fno-common'
14277 case $cc_basename in
14278 nagfor*)
14279 # NAG Fortran compiler
14280 lt_prog_compiler_wl='-Wl,-Wl,,'
14281 lt_prog_compiler_pic='-PIC'
14282 lt_prog_compiler_static='-Bstatic'
14283 ;;
14284 esac
14285 ;;
14286
14287 mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
14288 # This hack is so that the source file can tell whether it is being
14289 # built for inclusion in a dll (and should export symbols for example).
14290 lt_prog_compiler_pic='-DDLL_EXPORT'
14291 case $host_os in
14292 os2*)
14293 lt_prog_compiler_static='$wl-static'
14294 ;;
14295 esac
14296 ;;
14297
14298 hpux9* | hpux10* | hpux11*)
14299 lt_prog_compiler_wl='-Wl,'
14300 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14301 # not for PA HP-UX.
14302 case $host_cpu in
14303 hppa*64*|ia64*)
14304 # +Z the default
14305 ;;
14306 *)
14307 lt_prog_compiler_pic='+Z'
14308 ;;
14309 esac
14310 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14311 lt_prog_compiler_static='$wl-a ${wl}archive'
14312 ;;
14313
14314 irix5* | irix6* | nonstopux*)
14315 lt_prog_compiler_wl='-Wl,'
14316 # PIC (with -KPIC) is the default.
14317 lt_prog_compiler_static='-non_shared'
14318 ;;
14319
14320 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14321 case $cc_basename in
14322 # old Intel for x86_64, which still supported -KPIC.
14323 ecc*)
14324 lt_prog_compiler_wl='-Wl,'
14325 lt_prog_compiler_pic='-KPIC'
14326 lt_prog_compiler_static='-static'
14327 ;;
14328 *flang* | ftn | f18* | f95*)
14329 # Flang compiler.
14330 lt_prog_compiler_wl='-Wl,'
14331 lt_prog_compiler_pic='-fPIC'
14332 lt_prog_compiler_static='-static'
14333 ;;
14334 # icc used to be incompatible with GCC.
14335 # ICC 10 doesn't accept -KPIC any more.
14336 icc* | ifort*)
14337 lt_prog_compiler_wl='-Wl,'
14338 lt_prog_compiler_pic='-fPIC'
14339 lt_prog_compiler_static='-static'
14340 ;;
14341 # Lahey Fortran 8.1.
14342 lf95*)
14343 lt_prog_compiler_wl='-Wl,'
14344 lt_prog_compiler_pic='--shared'
14345 lt_prog_compiler_static='--static'
14346 ;;
14347 nagfor*)
14348 # NAG Fortran compiler
14349 lt_prog_compiler_wl='-Wl,-Wl,,'
14350 lt_prog_compiler_pic='-PIC'
14351 lt_prog_compiler_static='-Bstatic'
14352 ;;
14353 tcc*)
14354 # Fabrice Bellard et al's Tiny C Compiler
14355 lt_prog_compiler_wl='-Wl,'
14356 lt_prog_compiler_pic='-fPIC'
14357 lt_prog_compiler_static='-static'
14358 ;;
14359 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
14360 # Portland Group compilers (*not* the Pentium gcc compiler,
14361 # which looks to be a dead project)
14362 lt_prog_compiler_wl='-Wl,'
14363 lt_prog_compiler_pic='-fpic'
14364 lt_prog_compiler_static='-Bstatic'
14365 ;;
14366 ccc*)
14367 lt_prog_compiler_wl='-Wl,'
14368 # All Alpha code is PIC.
14369 lt_prog_compiler_static='-non_shared'
14370 ;;
14371 xl* | bgxl* | bgf* | mpixl*)
14372 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14373 lt_prog_compiler_wl='-Wl,'
14374 lt_prog_compiler_pic='-qpic'
14375 lt_prog_compiler_static='-qstaticlink'
14376 ;;
14377 *)
14378 case `$CC -V 2>&1 | $SED 5q` in
14379 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
14380 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14381 lt_prog_compiler_pic='-KPIC'
14382 lt_prog_compiler_static='-Bstatic'
14383 lt_prog_compiler_wl=''
14384 ;;
14385 *Sun\ F* | *Sun*Fortran*)
14386 lt_prog_compiler_pic='-KPIC'
14387 lt_prog_compiler_static='-Bstatic'
14388 lt_prog_compiler_wl='-Qoption ld '
14389 ;;
14390 *Sun\ C*)
14391 # Sun C 5.9
14392 lt_prog_compiler_pic='-KPIC'
14393 lt_prog_compiler_static='-Bstatic'
14394 lt_prog_compiler_wl='-Wl,'
14395 ;;
14396 *Intel*\ [CF]*Compiler*)
14397 lt_prog_compiler_wl='-Wl,'
14398 lt_prog_compiler_pic='-fPIC'
14399 lt_prog_compiler_static='-static'
14400 ;;
14401 *Portland\ Group*)
14402 lt_prog_compiler_wl='-Wl,'
14403 lt_prog_compiler_pic='-fpic'
14404 lt_prog_compiler_static='-Bstatic'
14405 ;;
14406 esac
14407 ;;
14408 esac
14409 ;;
14410
14411 newsos6)
14412 lt_prog_compiler_pic='-KPIC'
14413 lt_prog_compiler_static='-Bstatic'
14414 ;;
14415
14416 *-mlibc)
14417 lt_prog_compiler_wl='-Wl,'
14418 lt_prog_compiler_pic='-fPIC'
14419 lt_prog_compiler_static='-static'
14420 ;;
14421
14422 *nto* | *qnx*)
14423 # QNX uses GNU C++, but need to define -shared option too, otherwise
14424 # it will coredump.
14425 lt_prog_compiler_pic='-fPIC -shared'
14426 ;;
14427
14428 osf3* | osf4* | osf5*)
14429 lt_prog_compiler_wl='-Wl,'
14430 # All OSF/1 code is PIC.
14431 lt_prog_compiler_static='-non_shared'
14432 ;;
14433
14434 rdos*)
14435 lt_prog_compiler_static='-non_shared'
14436 ;;
14437
14438 serenity*)
14439 ;;
14440
14441 solaris*)
14442 lt_prog_compiler_pic='-KPIC'
14443 lt_prog_compiler_static='-Bstatic'
14444 case $cc_basename in
14445 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
14446 lt_prog_compiler_wl='-Qoption ld ';;
14447 *)
14448 lt_prog_compiler_wl='-Wl,';;
14449 esac
14450 ;;
14451
14452 sunos4*)
14453 lt_prog_compiler_wl='-Qoption ld '
14454 lt_prog_compiler_pic='-PIC'
14455 lt_prog_compiler_static='-Bstatic'
14456 ;;
14457
14458 sysv4 | sysv4.2uw2* | sysv4.3*)
14459 lt_prog_compiler_wl='-Wl,'
14460 lt_prog_compiler_pic='-KPIC'
14461 lt_prog_compiler_static='-Bstatic'
14462 ;;
14463
14464 sysv4*MP*)
14465 if test -d /usr/nec; then
14466 lt_prog_compiler_pic='-Kconform_pic'
14467 lt_prog_compiler_static='-Bstatic'
14468 fi
14469 ;;
14470
14471 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14472 lt_prog_compiler_wl='-Wl,'
14473 lt_prog_compiler_pic='-KPIC'
14474 lt_prog_compiler_static='-Bstatic'
14475 ;;
14476
14477 unicos*)
14478 lt_prog_compiler_wl='-Wl,'
14479 lt_prog_compiler_can_build_shared=no
14480 ;;
14481
14482 uts4*)
14483 lt_prog_compiler_pic='-pic'
14484 lt_prog_compiler_static='-Bstatic'
14485 ;;
14486
14487 *)
14488 lt_prog_compiler_can_build_shared=no
14489 ;;
14490 esac
14491 fi
14492
14493 case $host_os in
14494 # For platforms that do not support PIC, -DPIC is meaningless:
14495 *djgpp*)
14496 lt_prog_compiler_pic=
14497 ;;
14498 *)
14499 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14500 ;;
14501 esac
14502
14503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14504 printf %s "checking for $compiler option to produce PIC... " >&6; }
14505 if test ${lt_cv_prog_compiler_pic+y}
14506 then :
14507 printf %s "(cached) " >&6
14508 else case e in #(
14509 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
14510 esac
14511 fi
14512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
14513 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
14514 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
14515
14516 #
14517 # Check to make sure the PIC flag actually works.
14518 #
14519 if test -n "$lt_prog_compiler_pic"; then
14520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14521 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
14522 if test ${lt_cv_prog_compiler_pic_works+y}
14523 then :
14524 printf %s "(cached) " >&6
14525 else case e in #(
14526 e) lt_cv_prog_compiler_pic_works=no
14527 ac_outfile=conftest.$ac_objext
14528 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14529 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
14530 # Insert the option either (1) after the last *FLAGS variable, or
14531 # (2) before a word containing "conftest.", or (3) at the end.
14532 # Note that $ac_compile itself does not contain backslashes and begins
14533 # with a dollar sign (not a hyphen), so the echo should work correctly.
14534 # The option is referenced via a variable to avoid confusing sed.
14535 lt_compile=`echo "$ac_compile" | $SED \
14536 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14538 -e 's:$: $lt_compiler_flag:'`
14539 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14540 (eval "$lt_compile" 2>conftest.err)
14541 ac_status=$?
14542 cat conftest.err >&5
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 if (exit $ac_status) && test -s "$ac_outfile"; then
14545 # The compiler can only warn and ignore the option if not recognized
14546 # So say no if there are warnings other than the usual output.
14547 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14548 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14549 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14550 lt_cv_prog_compiler_pic_works=yes
14551 fi
14552 fi
14553 $RM conftest*
14554 ;;
14555 esac
14556 fi
14557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
14558 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
14559
14560 if test yes = "$lt_cv_prog_compiler_pic_works"; then
14561 case $lt_prog_compiler_pic in
14562 "" | " "*) ;;
14563 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14564 esac
14565 else
14566 lt_prog_compiler_pic=
14567 lt_prog_compiler_can_build_shared=no
14568 fi
14569
14570 fi
14571
14572
14573
14574
14575
14576 #
14577 # Check to make sure the static flag actually works.
14578 #
14579 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14581 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14582 if test ${lt_cv_prog_compiler_static_works+y}
14583 then :
14584 printf %s "(cached) " >&6
14585 else case e in #(
14586 e) lt_cv_prog_compiler_static_works=no
14587 save_LDFLAGS=$LDFLAGS
14588 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14589 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14590 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14591 # The linker can only warn and ignore the option if not recognized
14592 # So say no if there are warnings
14593 if test -s conftest.err; then
14594 # Append any errors to the config.log.
14595 cat conftest.err 1>&5
14596 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14597 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14598 if diff conftest.exp conftest.er2 >/dev/null; then
14599 lt_cv_prog_compiler_static_works=yes
14600 fi
14601 else
14602 lt_cv_prog_compiler_static_works=yes
14603 fi
14604 fi
14605 $RM -r conftest*
14606 LDFLAGS=$save_LDFLAGS
14607 ;;
14608 esac
14609 fi
14610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14611 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
14612
14613 if test yes = "$lt_cv_prog_compiler_static_works"; then
14614 :
14615 else
14616 lt_prog_compiler_static=
14617 fi
14618
14619
14620
14621 ='-fPIC'
14622 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
14623 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'
14624 archive_cmds_need_lc=no
14625 no_undefined_flag=
14626 ;;
14627
14628 *)
14629 dynamic_linker=no
14630 ;;
14631 esac
14632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14633 printf "%s\n" "$dynamic_linker" >&6; }
14634 test no = "$dynamic_linker" && can_build_shared=no
14635
14636 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14637 if test yes = "$GCC"; then
14638 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14639 fi
14640
14641 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14642 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14643 fi
14644
14645 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14646 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14647 fi
14648
14649 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14650 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14651
14652 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14653 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14654
14655 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14656 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14755 printf %s "checking how to hardcode library paths into programs... " >&6; }
14756 hardcode_action=
14757 if test -n "$hardcode_libdir_flag_spec" ||
14758 test -n "$runpath_var" ||
14759 test yes = "$hardcode_automatic"; then
14760
14761 # We can hardcode non-existent directories.
14762 if test no != "$hardcode_direct" &&
14763 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14764 # have to relink, otherwise we might link with an installed library
14765 # when we should be linking with a yet-to-be-installed one
14766 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14767 test no != "$hardcode_minus_L"; then
14768 # Linking always hardcodes the temporary library directory.
14769 hardcode_action=relink
14770 else
14771 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14772 hardcode_action=immediate
14773 fi
14774 else
14775 # We cannot hardcode anything, or else we can only hardcode existing
14776 # directories.
14777 hardcode_action=unsupported
14778 fi
14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14780 printf "%s\n" "$hardcode_action" >&6; }
14781
14782 if test relink = "$hardcode_action" ||
14783 test yes = "$inherit_rpath"; then
14784 # Fast installation is not supported
14785 enable_fast_install=no
14786 elif test yes = "$shlibpath_overrides_runpath" ||
14787 test no = "$enable_shared"; then
14788 # Fast installation is not necessary
14789 enable_fast_install=needless
14790 fi
14791
14792
14793
14794
14795
14796
14797 if test yes != "$enable_dlopen"; then
14798 enable_dlopen=unknown
14799 enable_dlopen_self=unknown
14800 enable_dlopen_self_static=unknown
14801 else
14802 lt_cv_dlopen=no
14803 lt_cv_dlopen_libs=
14804
14805 case $host_os in
14806 beos*)
14807 lt_cv_dlopen=load_add_on
14808 lt_cv_dlopen_libs=
14809 lt_cv_dlopen_self=yes
14810 ;;
14811
14812 mingw* | windows* | pw32* | cegcc*)
14813 lt_cv_dlopen=LoadLibrary
14814 lt_cv_dlopen_libs=
14815 ;;
14816
14817 cygwin*)
14818 lt_cv_dlopen=dlopen
14819 lt_cv_dlopen_libs=
14820 ;;
14821
14822 darwin*)
14823 # if libdl is installed we need to link against it
14824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14825 printf %s "checking for dlopen in -ldl... " >&6; }
14826 if test ${ac_cv_lib_dl_dlopen+y}
14827 then :
14828 printf %s "(cached) " >&6
14829 else case e in #(
14830 e) ac_check_lib_save_LIBS=$LIBS
14831 LIBS="-ldl $LIBS"
14832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14834
14835 /* Override any GCC internal prototype to avoid an error.
14836 Use char because int might match the return type of a GCC
14837 builtin and then its argument prototype would still apply.
14838 The 'extern "C"' is for builds by C++ compilers;
14839 although this is not generally supported in C code supporting it here
14840 has little cost and some practical benefit (sr 110532). */
14841 #ifdef __cplusplus
14842 extern "C"
14843 #endif
14844 char dlopen (void);
14845 int
14846 main (void)
14847 {
14848 return dlopen ();
14849 ;
14850 return 0;
14851 }
14852 _ACEOF
14853 if ac_fn_c_try_link "$LINENO"
14854 then :
14855 ac_cv_lib_dl_dlopen=yes
14856 else case e in #(
14857 e) ac_cv_lib_dl_dlopen=no ;;
14858 esac
14859 fi
14860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14861 conftest$ac_exeext conftest.$ac_ext
14862 LIBS=$ac_check_lib_save_LIBS ;;
14863 esac
14864 fi
14865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14866 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14867 if test "x$ac_cv_lib_dl_dlopen" = xyes
14868 then :
14869 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14870 else case e in #(
14871 e)
14872 lt_cv_dlopen=dyld
14873 lt_cv_dlopen_libs=
14874 lt_cv_dlopen_self=yes
14875 ;;
14876 esac
14877 fi
14878
14879 ;;
14880
14881 tpf*)
14882 # Don't try to run any link tests for TPF. We know it's impossible
14883 # because TPF is a cross-compiler, and we know how we open DSOs.
14884 lt_cv_dlopen=dlopen
14885 lt_cv_dlopen_libs=
14886 lt_cv_dlopen_self=no
14887 ;;
14888
14889 *)
14890 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14891 if test "x$ac_cv_func_shl_load" = xyes
14892 then :
14893 lt_cv_dlopen=shl_load
14894 else case e in #(
14895 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14896 printf %s "checking for shl_load in -ldld... " >&6; }
14897 if test ${ac_cv_lib_dld_shl_load+y}
14898 then :
14899 printf %s "(cached) " >&6
14900 else case e in #(
14901 e) ac_check_lib_save_LIBS=$LIBS
14902 LIBS="-ldld $LIBS"
14903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14905
14906 /* Override any GCC internal prototype to avoid an error.
14907 Use char because int might match the return type of a GCC
14908 builtin and then its argument prototype would still apply.
14909 The 'extern "C"' is for builds by C++ compilers;
14910 although this is not generally supported in C code supporting it here
14911 has little cost and some practical benefit (sr 110532). */
14912 #ifdef __cplusplus
14913 extern "C"
14914 #endif
14915 char shl_load (void);
14916 int
14917 main (void)
14918 {
14919 return shl_load ();
14920 ;
14921 return 0;
14922 }
14923 _ACEOF
14924 if ac_fn_c_try_link "$LINENO"
14925 then :
14926 ac_cv_lib_dld_shl_load=yes
14927 else case e in #(
14928 e) ac_cv_lib_dld_shl_load=no ;;
14929 esac
14930 fi
14931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14932 conftest$ac_exeext conftest.$ac_ext
14933 LIBS=$ac_check_lib_save_LIBS ;;
14934 esac
14935 fi
14936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14937 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14938 if test "x$ac_cv_lib_dld_shl_load" = xyes
14939 then :
14940 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14941 else case e in #(
14942 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14943 if test "x$ac_cv_func_dlopen" = xyes
14944 then :
14945 lt_cv_dlopen=dlopen
14946 else case e in #(
14947 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14948 printf %s "checking for dlopen in -ldl... " >&6; }
14949 if test ${ac_cv_lib_dl_dlopen+y}
14950 then :
14951 printf %s "(cached) " >&6
14952 else case e in #(
14953 e) ac_check_lib_save_LIBS=$LIBS
14954 LIBS="-ldl $LIBS"
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply.
14961 The 'extern "C"' is for builds by C++ compilers;
14962 although this is not generally supported in C code supporting it here
14963 has little cost and some practical benefit (sr 110532). */
14964 #ifdef __cplusplus
14965 extern "C"
14966 #endif
14967 char dlopen (void);
14968 int
14969 main (void)
14970 {
14971 return dlopen ();
14972 ;
14973 return 0;
14974 }
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"
14977 then :
14978 ac_cv_lib_dl_dlopen=yes
14979 else case e in #(
14980 e) ac_cv_lib_dl_dlopen=no ;;
14981 esac
14982 fi
14983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14984 conftest$ac_exeext conftest.$ac_ext
14985 LIBS=$ac_check_lib_save_LIBS ;;
14986 esac
14987 fi
14988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14989 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14990 if test "x$ac_cv_lib_dl_dlopen" = xyes
14991 then :
14992 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14993 else case e in #(
14994 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14995 printf %s "checking for dlopen in -lsvld... " >&6; }
14996 if test ${ac_cv_lib_svld_dlopen+y}
14997 then :
14998 printf %s "(cached) " >&6
14999 else case e in #(
15000 e) ac_check_lib_save_LIBS=$LIBS
15001 LIBS="-lsvld $LIBS"
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004
15005 /* Override any GCC internal prototype to avoid an error.
15006 Use char because int might match the return type of a GCC
15007 builtin and then its argument prototype would still apply.
15008 The 'extern "C"' is for builds by C++ compilers;
15009 although this is not generally supported in C code supporting it here
15010 has little cost and some practical benefit (sr 110532). */
15011 #ifdef __cplusplus
15012 extern "C"
15013 #endif
15014 char dlopen (void);
15015 int
15016 main (void)
15017 {
15018 return dlopen ();
15019 ;
15020 return 0;
15021 }
15022 _ACEOF
15023 if ac_fn_c_try_link "$LINENO"
15024 then :
15025 ac_cv_lib_svld_dlopen=yes
15026 else case e in #(
15027 e) ac_cv_lib_svld_dlopen=no ;;
15028 esac
15029 fi
15030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15031 conftest$ac_exeext conftest.$ac_ext
15032 LIBS=$ac_check_lib_save_LIBS ;;
15033 esac
15034 fi
15035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15036 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
15037 if test "x$ac_cv_lib_svld_dlopen" = xyes
15038 then :
15039 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
15040 else case e in #(
15041 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15042 printf %s "checking for dld_link in -ldld... " >&6; }
15043 if test ${ac_cv_lib_dld_dld_link+y}
15044 then :
15045 printf %s "(cached) " >&6
15046 else case e in #(
15047 e) ac_check_lib_save_LIBS=$LIBS
15048 LIBS="-ldld $LIBS"
15049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15051
15052 /* Override any GCC internal prototype to avoid an error.
15053 Use char because int might match the return type of a GCC
15054 builtin and then its argument prototype would still apply.
15055 The 'extern "C"' is for builds by C++ compilers;
15056 although this is not generally supported in C code supporting it here
15057 has little cost and some practical benefit (sr 110532). */
15058 #ifdef __cplusplus
15059 extern "C"
15060 #endif
15061 char dld_link (void);
15062 int
15063 main (void)
15064 {
15065 return dld_link ();
15066 ;
15067 return 0;
15068 }
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"
15071 then :
15072 ac_cv_lib_dld_dld_link=yes
15073 else case e in #(
15074 e) ac_cv_lib_dld_dld_link=no ;;
15075 esac
15076 fi
15077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15078 conftest$ac_exeext conftest.$ac_ext
15079 LIBS=$ac_check_lib_save_LIBS ;;
15080 esac
15081 fi
15082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15083 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
15084 if test "x$ac_cv_lib_dld_dld_link" = xyes
15085 then :
15086 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
15087 fi
15088
15089 ;;
15090 esac
15091 fi
15092
15093 ;;
15094 esac
15095 fi
15096
15097 ;;
15098 esac
15099 fi
15100
15101 ;;
15102 esac
15103 fi
15104
15105 ;;
15106 esac
15107 fi
15108
15109 ;;
15110 esac
15111
15112 if test no = "$lt_cv_dlopen"; then
15113 enable_dlopen=no
15114 else
15115 enable_dlopen=yes
15116 fi
15117
15118 case $lt_cv_dlopen in
15119 dlopen)
15120 save_CPPFLAGS=$CPPFLAGS
15121 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15122
15123 save_LDFLAGS=$LDFLAGS
15124 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15125
15126 save_LIBS=$LIBS
15127 LIBS="$lt_cv_dlopen_libs $LIBS"
15128
15129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15130 printf %s "checking whether a program can dlopen itself... " >&6; }
15131 if test ${lt_cv_dlopen_self+y}
15132 then :
15133 printf %s "(cached) " >&6
15134 else case e in #(
15135 e) if test yes = "$cross_compiling"; then :
15136 lt_cv_dlopen_self=cross
15137 else
15138 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15139 lt_status=$lt_dlunknown
15140 cat > conftest.$ac_ext <<_LT_EOF
15141 #line $LINENO "configure"
15142 #include "confdefs.h"
15143
15144 #if HAVE_DLFCN_H
15145 #include <dlfcn.h>
15146 #endif
15147
15148 #include <stdio.h>
15149
15150 #ifdef RTLD_GLOBAL
15151 # define LT_DLGLOBAL RTLD_GLOBAL
15152 #else
15153 # ifdef DL_GLOBAL
15154 # define LT_DLGLOBAL DL_GLOBAL
15155 # else
15156 # define LT_DLGLOBAL 0
15157 # endif
15158 #endif
15159
15160 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15161 find out it does not work in some platform. */
15162 #ifndef LT_DLLAZY_OR_NOW
15163 # ifdef RTLD_LAZY
15164 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15165 # else
15166 # ifdef DL_LAZY
15167 # define LT_DLLAZY_OR_NOW DL_LAZY
15168 # else
15169 # ifdef RTLD_NOW
15170 # define LT_DLLAZY_OR_NOW RTLD_NOW
15171 # else
15172 # ifdef DL_NOW
15173 # define LT_DLLAZY_OR_NOW DL_NOW
15174 # else
15175 # define LT_DLLAZY_OR_NOW 0
15176 # endif
15177 # endif
15178 # endif
15179 # endif
15180 #endif
15181
15182 /* When -fvisibility=hidden is used, assume the code has been annotated
15183 correspondingly for the symbols needed. */
15184 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15185 int fnord (void) __attribute__((visibility("default")));
15186 #endif
15187
15188 int fnord (void) { return 42; }
15189 int main (void)
15190 {
15191 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15192 int status = $lt_dlunknown;
15193
15194 if (self)
15195 {
15196 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15197 else
15198 {
15199 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15200 else puts (dlerror ());
15201 }
15202 /* dlclose (self); */
15203 }
15204 else
15205 puts (dlerror ());
15206
15207 return status;
15208 }
15209 _LT_EOF
15210 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15211 (eval $ac_link) 2>&5
15212 ac_status=$?
15213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15214 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15215 (./conftest; exit; ) >&5 2>/dev/null
15216 lt_status=$?
15217 case x$lt_status in
15218 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15219 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15220 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15221 esac
15222 else :
15223 # compilation failed
15224 lt_cv_dlopen_self=no
15225 fi
15226 fi
15227 rm -fr conftest*
15228
15229 ;;
15230 esac
15231 fi
15232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15233 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
15234
15235 if test yes = "$lt_cv_dlopen_self"; then
15236 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15238 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
15239 if test ${lt_cv_dlopen_self_static+y}
15240 then :
15241 printf %s "(cached) " >&6
15242 else case e in #(
15243 e) if test yes = "$cross_compiling"; then :
15244 lt_cv_dlopen_self_static=cross
15245 else
15246 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15247 lt_status=$lt_dlunknown
15248 cat > conftest.$ac_ext <<_LT_EOF
15249 #line $LINENO "configure"
15250 #include "confdefs.h"
15251
15252 #if HAVE_DLFCN_H
15253 #include <dlfcn.h>
15254 #endif
15255
15256 #include <stdio.h>
15257
15258 #ifdef RTLD_GLOBAL
15259 # define LT_DLGLOBAL RTLD_GLOBAL
15260 #else
15261 # ifdef DL_GLOBAL
15262 # define LT_DLGLOBAL DL_GLOBAL
15263 # else
15264 # define LT_DLGLOBAL 0
15265 # endif
15266 #endif
15267
15268 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15269 find out it does not work in some platform. */
15270 #ifndef LT_DLLAZY_OR_NOW
15271 # ifdef RTLD_LAZY
15272 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15273 # else
15274 # ifdef DL_LAZY
15275 # define LT_DLLAZY_OR_NOW DL_LAZY
15276 # else
15277 # ifdef RTLD_NOW
15278 # define LT_DLLAZY_OR_NOW RTLD_NOW
15279 # else
15280 # ifdef DL_NOW
15281 # define LT_DLLAZY_OR_NOW DL_NOW
15282 # else
15283 # define LT_DLLAZY_OR_NOW 0
15284 # endif
15285 # endif
15286 # endif
15287 # endif
15288 #endif
15289
15290 /* When -fvisibility=hidden is used, assume the code has been annotated
15291 correspondingly for the symbols needed. */
15292 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15293 int fnord (void) __attribute__((visibility("default")));
15294 #endif
15295
15296 int fnord (void) { return 42; }
15297 int main (void)
15298 {
15299 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15300 int status = $lt_dlunknown;
15301
15302 if (self)
15303 {
15304 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15305 else
15306 {
15307 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15308 else puts (dlerror ());
15309 }
15310 /* dlclose (self); */
15311 }
15312 else
15313 puts (dlerror ());
15314
15315 return status;
15316 }
15317 _LT_EOF
15318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15319 (eval $ac_link) 2>&5
15320 ac_status=$?
15321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15322 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15323 (./conftest; exit; ) >&5 2>/dev/null
15324 lt_status=$?
15325 case x$lt_status in
15326 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15327 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15328 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15329 esac
15330 else :
15331 # compilation failed
15332 lt_cv_dlopen_self_static=no
15333 fi
15334 fi
15335 rm -fr conftest*
15336
15337 ;;
15338 esac
15339 fi
15340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15341 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
15342 fi
15343
15344 CPPFLAGS=$save_CPPFLAGS
15345 LDFLAGS=$save_LDFLAGS
15346 LIBS=$save_LIBS
15347 ;;
15348 esac
15349
15350 case $lt_cv_dlopen_self in
15351 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15352 *) enable_dlopen_self=unknown ;;
15353 esac
15354
15355 case $lt_cv_dlopen_self_static in
15356 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15357 *) enable_dlopen_self_static=unknown ;;
15358 esac
15359 fi
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377 striplib=
15378 old_striplib=
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15380 printf %s "checking whether stripping libraries is possible... " >&6; }
15381 if test -z "$STRIP"; then
15382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15383 printf "%s\n" "no" >&6; }
15384 else
15385 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15386 old_striplib="$STRIP --strip-debug"
15387 striplib="$STRIP --strip-unneeded"
15388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15389 printf "%s\n" "yes" >&6; }
15390 else
15391 case $host_os in
15392 darwin*)
15393 # FIXME - insert some real tests, host_os isn't really good enough
15394 striplib="$STRIP -x"
15395 old_striplib="$STRIP -S"
15396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15397 printf "%s\n" "yes" >&6; }
15398 ;;
15399 freebsd*)
15400 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
15401 old_striplib="$STRIP --strip-debug"
15402 striplib="$STRIP --strip-unneeded"
15403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15404 printf "%s\n" "yes" >&6; }
15405 else
15406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15407 printf "%s\n" "no" >&6; }
15408 fi
15409 ;;
15410 *)
15411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15412 printf "%s\n" "no" >&6; }
15413 ;;
15414 esac
15415 fi
15416 fi
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429 # Report what library types will actually be built
15430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15431 printf %s "checking if libtool supports shared libraries... " >&6; }
15432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15433 printf "%s\n" "$can_build_shared" >&6; }
15434
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15436 printf %s "checking whether to build shared libraries... " >&6; }
15437 test no = "$can_build_shared" && enable_shared=no
15438
15439 # On AIX, shared libraries and static libraries use the same namespace, and
15440 # are all built from PIC.
15441 case $host_os in
15442 aix3*)
15443 test yes = "$enable_shared" && enable_static=no
15444 if test -n "$RANLIB"; then
15445 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15446 postinstall_cmds='$RANLIB $lib'
15447 fi
15448 ;;
15449
15450 aix[4-9]*)
15451 if test ia64 != "$host_cpu"; then
15452 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15453 yes,aix,yes) ;; # shared object as lib.so file only
15454 yes,svr4,*) ;; # shared object as lib.so archive member only
15455 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15456 esac
15457 fi
15458 ;;
15459 esac
15460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15461 printf "%s\n" "$enable_shared" >&6; }
15462
15463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15464 printf %s "checking whether to build static libraries... " >&6; }
15465 # Make sure either enable_shared or enable_static is yes.
15466 test yes = "$enable_shared" || enable_static=yes
15467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15468 printf "%s\n" "$enable_static" >&6; }
15469
15470
15471
15472
15473 fi
15474 ac_ext=c
15475 ac_cpp='$CPP $CPPFLAGS'
15476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15479
15480 CC=$lt_save_CC
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500 ac_config_commands="$ac_config_commands libtool"
15501
15502
15503
15504
15505 # Only expand once:
15506
15507
15508
15509 LIBXFCE4UI_VERINFO=0:0:0
15510 LIBXFCE4UI_VERSION_API=2
15511 LIBXFCE4UI_VERSION_MAJOR=4
15512 LIBXFCE4UI_VERSION_MINOR=20
15513 LIBXFCE4UI_VERSION_MICRO=2
15514 LIBXFCE4KBD_PRIVATE_VERINFO=0:0:0
15515 LIBXFCE4KBD_PRIVATE_VERSION_API=3
15516
15517
15518
15519
15520
15521
15522
15523
15524 ac_fn_c_check_header_compile "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
15525 if test "x$ac_cv_header_crt_externs_h" = xyes
15526 then :
15527 printf "%s\n" "#define HAVE_CRT_EXTERNS_H 1" >>confdefs.h
15528
15529 fi
15530 ac_fn_c_check_header_compile "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
15531 if test "x$ac_cv_header_errno_h" = xyes
15532 then :
15533 printf "%s\n" "#define HAVE_ERRNO_H 1" >>confdefs.h
15534
15535 fi
15536 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
15537 if test "x$ac_cv_header_fcntl_h" = xyes
15538 then :
15539 printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
15540
15541 fi
15542 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15543 if test "x$ac_cv_header_limits_h" = xyes
15544 then :
15545 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
15546
15547 fi
15548 ac_fn_c_check_header_compile "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15549 if test "x$ac_cv_header_locale_h" = xyes
15550 then :
15551 printf "%s\n" "#define HAVE_LOCALE_H 1" >>confdefs.h
15552
15553 fi
15554 ac_fn_c_check_header_compile "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
15555 if test "x$ac_cv_header_math_h" = xyes
15556 then :
15557 printf "%s\n" "#define HAVE_MATH_H 1" >>confdefs.h
15558
15559 fi
15560 ac_fn_c_check_header_compile "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
15561 if test "x$ac_cv_header_memory_h" = xyes
15562 then :
15563 printf "%s\n" "#define HAVE_MEMORY_H 1" >>confdefs.h
15564
15565 fi
15566 ac_fn_c_check_header_compile "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
15567 if test "x$ac_cv_header_signal_h" = xyes
15568 then :
15569 printf "%s\n" "#define HAVE_SIGNAL_H 1" >>confdefs.h
15570
15571 fi
15572 ac_fn_c_check_header_compile "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
15573 if test "x$ac_cv_header_stdarg_h" = xyes
15574 then :
15575 printf "%s\n" "#define HAVE_STDARG_H 1" >>confdefs.h
15576
15577 fi
15578 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15579 if test "x$ac_cv_header_stdlib_h" = xyes
15580 then :
15581 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
15582
15583 fi
15584 ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
15585 if test "x$ac_cv_header_string_h" = xyes
15586 then :
15587 printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
15588
15589 fi
15590 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
15591 if test "x$ac_cv_header_unistd_h" = xyes
15592 then :
15593 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
15594
15595 fi
15596
15597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
15598 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
15599 if test ${ac_cv_c_undeclared_builtin_options+y}
15600 then :
15601 printf %s "(cached) " >&6
15602 else case e in #(
15603 e) ac_save_CFLAGS=$CFLAGS
15604 ac_cv_c_undeclared_builtin_options='cannot detect'
15605 for ac_arg in '' -fno-builtin; do
15606 CFLAGS="$ac_save_CFLAGS $ac_arg"
15607 # This test program should *not* compile successfully.
15608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15610
15611 int
15612 main (void)
15613 {
15614 (void) strchr;
15615 ;
15616 return 0;
15617 }
15618 _ACEOF
15619 if ac_fn_c_try_compile "$LINENO"
15620 then :
15621
15622 else case e in #(
15623 e) # This test program should compile successfully.
15624 # No library function is consistently available on
15625 # freestanding implementations, so test against a dummy
15626 # declaration. Include always-available headers on the
15627 # off chance that they somehow elicit warnings.
15628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h. */
15630 #include <float.h>
15631 #include <limits.h>
15632 #include <stdarg.h>
15633 #include <stddef.h>
15634 extern void ac_decl (int, char *);
15635
15636 int
15637 main (void)
15638 {
15639 (void) ac_decl (0, (char *) 0);
15640 (void) ac_decl;
15641
15642 ;
15643 return 0;
15644 }
15645 _ACEOF
15646 if ac_fn_c_try_compile "$LINENO"
15647 then :
15648 if test x"$ac_arg" = x
15649 then :
15650 ac_cv_c_undeclared_builtin_options='none needed'
15651 else case e in #(
15652 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
15653 esac
15654 fi
15655 break
15656 fi
15657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
15658 esac
15659 fi
15660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15661 done
15662 CFLAGS=$ac_save_CFLAGS
15663 ;;
15664 esac
15665 fi
15666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
15667 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
15668 case $ac_cv_c_undeclared_builtin_options in #(
15669 'cannot detect') :
15670 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15671 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15672 as_fn_error $? "cannot make $CC report undeclared builtins
15673 See 'config.log' for more details" "$LINENO" 5; } ;; #(
15674 'none needed') :
15675 ac_c_undeclared_builtin_options='' ;; #(
15676 *) :
15677 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
15678 esac
15679
15680 ac_fn_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
15681 if test "x$ac_cv_have_decl_environ" = xyes
15682 then :
15683 ac_have_decl=1
15684 else case e in #(
15685 e) ac_have_decl=0 ;;
15686 esac
15687 fi
15688 printf "%s\n" "#define HAVE_DECL_ENVIRON $ac_have_decl" >>confdefs.h
15689
15690 ac_fn_c_check_func "$LINENO" "_NSGetEnviron" "ac_cv_func__NSGetEnviron"
15691 if test "x$ac_cv_func__NSGetEnviron" = xyes
15692 then :
15693 printf "%s\n" "#define HAVE__NSGETENVIRON 1" >>confdefs.h
15694
15695 fi
15696
15697
15698 GETTEXT_PACKAGE="$PACKAGE"
15699
15700 printf "%s\n" "#define GETTEXT_PACKAGE \"$GETTEXT_PACKAGE\"" >>confdefs.h
15701
15702
15703
15704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15705 printf %s "checking whether NLS is requested... " >&6; }
15706 # Check whether --enable-nls was given.
15707 if test ${enable_nls+y}
15708 then :
15709 enableval=$enable_nls; USE_NLS=$enableval
15710 else case e in #(
15711 e) USE_NLS=yes ;;
15712 esac
15713 fi
15714
15715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15716 printf "%s\n" "$USE_NLS" >&6; }
15717
15718
15719
15720
15721 GETTEXT_MACRO_VERSION=0.19
15722
15723
15724
15725
15726 # Prepare PATH_SEPARATOR.
15727 # The user is always right.
15728 if test "${PATH_SEPARATOR+set}" != set; then
15729 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
15730 # contains only /bin. Note that ksh looks also at the FPATH variable,
15731 # so we have to set that as well for the test.
15732 PATH_SEPARATOR=:
15733 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
15734 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
15735 || PATH_SEPARATOR=';'
15736 }
15737 fi
15738
15739 # Find out how to test for executable files. Don't use a zero-byte file,
15740 # as systems may use methods other than mode bits to determine executability.
15741 cat >conf$$.file <<_ASEOF
15742 #! /bin/sh
15743 exit 0
15744 _ASEOF
15745 chmod +x conf$$.file
15746 if test -x conf$$.file >/dev/null 2>&1; then
15747 ac_executable_p="test -x"
15748 else
15749 ac_executable_p="test -f"
15750 fi
15751 rm -f conf$$.file
15752
15753 # Extract the first word of "msgfmt", so it can be a program name with args.
15754 set dummy msgfmt; ac_word=$2
15755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15756 printf %s "checking for $ac_word... " >&6; }
15757 if test ${ac_cv_path_MSGFMT+y}
15758 then :
15759 printf %s "(cached) " >&6
15760 else case e in #(
15761 e) case "$MSGFMT" in
15762 [\\/]* | ?:[\\/]*)
15763 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15764 ;;
15765 *)
15766 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15767 for ac_dir in $PATH; do
15768 IFS="$ac_save_IFS"
15769 test -z "$ac_dir" && ac_dir=.
15770 for ac_exec_ext in '' $ac_executable_extensions; do
15771 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15772 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15773 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
15774 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15775 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
15776 break 2
15777 fi
15778 fi
15779 done
15780 done
15781 IFS="$ac_save_IFS"
15782 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
15783 ;;
15784 esac ;;
15785 esac
15786 fi
15787 MSGFMT="$ac_cv_path_MSGFMT"
15788 if test "$MSGFMT" != ":"; then
15789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15790 printf "%s\n" "$MSGFMT" >&6; }
15791 else
15792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15793 printf "%s\n" "no" >&6; }
15794 fi
15795
15796 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15797 set dummy gmsgfmt; ac_word=$2
15798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15799 printf %s "checking for $ac_word... " >&6; }
15800 if test ${ac_cv_path_GMSGFMT+y}
15801 then :
15802 printf %s "(cached) " >&6
15803 else case e in #(
15804 e) case $GMSGFMT in
15805 [\\/]* | ?:[\\/]*)
15806 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15807 ;;
15808 *)
15809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15810 for as_dir in $PATH
15811 do
15812 IFS=$as_save_IFS
15813 case $as_dir in #(((
15814 '') as_dir=./ ;;
15815 */) ;;
15816 *) as_dir=$as_dir/ ;;
15817 esac
15818 for ac_exec_ext in '' $ac_executable_extensions; do
15819 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15820 ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
15821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15822 break 2
15823 fi
15824 done
15825 done
15826 IFS=$as_save_IFS
15827
15828 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15829 ;;
15830 esac ;;
15831 esac
15832 fi
15833 GMSGFMT=$ac_cv_path_GMSGFMT
15834 if test -n "$GMSGFMT"; then
15835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15836 printf "%s\n" "$GMSGFMT" >&6; }
15837 else
15838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15839 printf "%s\n" "no" >&6; }
15840 fi
15841
15842
15843
15844 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15845 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
15846 *) MSGFMT_015=$MSGFMT ;;
15847 esac
15848
15849 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15850 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
15851 *) GMSGFMT_015=$GMSGFMT ;;
15852 esac
15853
15854
15855
15856 # Prepare PATH_SEPARATOR.
15857 # The user is always right.
15858 if test "${PATH_SEPARATOR+set}" != set; then
15859 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
15860 # contains only /bin. Note that ksh looks also at the FPATH variable,
15861 # so we have to set that as well for the test.
15862 PATH_SEPARATOR=:
15863 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
15864 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
15865 || PATH_SEPARATOR=';'
15866 }
15867 fi
15868
15869 # Find out how to test for executable files. Don't use a zero-byte file,
15870 # as systems may use methods other than mode bits to determine executability.
15871 cat >conf$$.file <<_ASEOF
15872 #! /bin/sh
15873 exit 0
15874 _ASEOF
15875 chmod +x conf$$.file
15876 if test -x conf$$.file >/dev/null 2>&1; then
15877 ac_executable_p="test -x"
15878 else
15879 ac_executable_p="test -f"
15880 fi
15881 rm -f conf$$.file
15882
15883 # Extract the first word of "xgettext", so it can be a program name with args.
15884 set dummy xgettext; ac_word=$2
15885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15886 printf %s "checking for $ac_word... " >&6; }
15887 if test ${ac_cv_path_XGETTEXT+y}
15888 then :
15889 printf %s "(cached) " >&6
15890 else case e in #(
15891 e) case "$XGETTEXT" in
15892 [\\/]* | ?:[\\/]*)
15893 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15894 ;;
15895 *)
15896 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15897 for ac_dir in $PATH; do
15898 IFS="$ac_save_IFS"
15899 test -z "$ac_dir" && ac_dir=.
15900 for ac_exec_ext in '' $ac_executable_extensions; do
15901 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15902 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15903 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
15904 (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
15905 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
15906 break 2
15907 fi
15908 fi
15909 done
15910 done
15911 IFS="$ac_save_IFS"
15912 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15913 ;;
15914 esac ;;
15915 esac
15916 fi
15917 XGETTEXT="$ac_cv_path_XGETTEXT"
15918 if test "$XGETTEXT" != ":"; then
15919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15920 printf "%s\n" "$XGETTEXT" >&6; }
15921 else
15922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15923 printf "%s\n" "no" >&6; }
15924 fi
15925
15926 rm -f messages.po
15927
15928 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15929 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
15930 *) XGETTEXT_015=$XGETTEXT ;;
15931 esac
15932
15933
15934
15935 # Prepare PATH_SEPARATOR.
15936 # The user is always right.
15937 if test "${PATH_SEPARATOR+set}" != set; then
15938 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
15939 # contains only /bin. Note that ksh looks also at the FPATH variable,
15940 # so we have to set that as well for the test.
15941 PATH_SEPARATOR=:
15942 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
15943 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
15944 || PATH_SEPARATOR=';'
15945 }
15946 fi
15947
15948 # Find out how to test for executable files. Don't use a zero-byte file,
15949 # as systems may use methods other than mode bits to determine executability.
15950 cat >conf$$.file <<_ASEOF
15951 #! /bin/sh
15952 exit 0
15953 _ASEOF
15954 chmod +x conf$$.file
15955 if test -x conf$$.file >/dev/null 2>&1; then
15956 ac_executable_p="test -x"
15957 else
15958 ac_executable_p="test -f"
15959 fi
15960 rm -f conf$$.file
15961
15962 # Extract the first word of "msgmerge", so it can be a program name with args.
15963 set dummy msgmerge; ac_word=$2
15964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15965 printf %s "checking for $ac_word... " >&6; }
15966 if test ${ac_cv_path_MSGMERGE+y}
15967 then :
15968 printf %s "(cached) " >&6
15969 else case e in #(
15970 e) case "$MSGMERGE" in
15971 [\\/]* | ?:[\\/]*)
15972 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15973 ;;
15974 *)
15975 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15976 for ac_dir in $PATH; do
15977 IFS="$ac_save_IFS"
15978 test -z "$ac_dir" && ac_dir=.
15979 for ac_exec_ext in '' $ac_executable_extensions; do
15980 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15981 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15982 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
15983 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
15984 break 2
15985 fi
15986 fi
15987 done
15988 done
15989 IFS="$ac_save_IFS"
15990 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
15991 ;;
15992 esac ;;
15993 esac
15994 fi
15995 MSGMERGE="$ac_cv_path_MSGMERGE"
15996 if test "$MSGMERGE" != ":"; then
15997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15998 printf "%s\n" "$MSGMERGE" >&6; }
15999 else
16000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16001 printf "%s\n" "no" >&6; }
16002 fi
16003
16004
16005 test -n "$localedir" || localedir='${datadir}/locale'
16006
16007
16008 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
16009
16010
16011 ac_config_commands="$ac_config_commands po-directories"
16012
16013
16014
16015 if test "X$prefix" = "XNONE"; then
16016 acl_final_prefix="$ac_default_prefix"
16017 else
16018 acl_final_prefix="$prefix"
16019 fi
16020 if test "X$exec_prefix" = "XNONE"; then
16021 acl_final_exec_prefix='${prefix}'
16022 else
16023 acl_final_exec_prefix="$exec_prefix"
16024 fi
16025 acl_save_prefix="$prefix"
16026 prefix="$acl_final_prefix"
16027 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16028 prefix="$acl_save_prefix"
16029
16030
16031
16032 # Check whether --with-gnu-ld was given.
16033 if test ${with_gnu_ld+y}
16034 then :
16035 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16036 else case e in #(
16037 e) with_gnu_ld=no ;;
16038 esac
16039 fi
16040
16041 # Prepare PATH_SEPARATOR.
16042 # The user is always right.
16043 if test "${PATH_SEPARATOR+set}" != set; then
16044 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
16045 # contains only /bin. Note that ksh looks also at the FPATH variable,
16046 # so we have to set that as well for the test.
16047 PATH_SEPARATOR=:
16048 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16049 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16050 || PATH_SEPARATOR=';'
16051 }
16052 fi
16053
16054 ac_prog=ld
16055 if test "$GCC" = yes; then
16056 # Check if gcc -print-prog-name=ld gives a path.
16057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16058 printf %s "checking for ld used by $CC... " >&6; }
16059 case $host in
16060 *-*-mingw*)
16061 # gcc leaves a trailing carriage return which upsets mingw
16062 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16063 *)
16064 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16065 esac
16066 case $ac_prog in
16067 # Accept absolute paths.
16068 [\\/]* | ?:[\\/]*)
16069 re_direlt='/[^/][^/]*/\.\./'
16070 # Canonicalize the pathname of ld
16071 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
16072 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
16073 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16074 done
16075 test -z "$LD" && LD="$ac_prog"
16076 ;;
16077 "")
16078 # If it fails, then pretend we aren't using GCC.
16079 ac_prog=ld
16080 ;;
16081 *)
16082 # If it is relative, then search for the first ld in PATH.
16083 with_gnu_ld=unknown
16084 ;;
16085 esac
16086 elif test "$with_gnu_ld" = yes; then
16087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16088 printf %s "checking for GNU ld... " >&6; }
16089 else
16090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16091 printf %s "checking for non-GNU ld... " >&6; }
16092 fi
16093 if test ${acl_cv_path_LD+y}
16094 then :
16095 printf %s "(cached) " >&6
16096 else case e in #(
16097 e) if test -z "$LD"; then
16098 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16099 for ac_dir in $PATH; do
16100 IFS="$acl_save_ifs"
16101 test -z "$ac_dir" && ac_dir=.
16102 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16103 acl_cv_path_LD="$ac_dir/$ac_prog"
16104 # Check to see if the program is GNU ld. I'd rather use --version,
16105 # but apparently some variants of GNU ld only accept -v.
16106 # Break only if it was the GNU/non-GNU ld that we prefer.
16107 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
16108 *GNU* | *'with BFD'*)
16109 test "$with_gnu_ld" != no && break
16110 ;;
16111 *)
16112 test "$with_gnu_ld" != yes && break
16113 ;;
16114 esac
16115 fi
16116 done
16117 IFS="$acl_save_ifs"
16118 else
16119 acl_cv_path_LD="$LD" # Let the user override the test with a path.
16120 fi ;;
16121 esac
16122 fi
16123
16124 LD="$acl_cv_path_LD"
16125 if test -n "$LD"; then
16126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16127 printf "%s\n" "$LD" >&6; }
16128 else
16129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16130 printf "%s\n" "no" >&6; }
16131 fi
16132 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16134 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
16135 if test ${acl_cv_prog_gnu_ld+y}
16136 then :
16137 printf %s "(cached) " >&6
16138 else case e in #(
16139 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
16140 case `$LD -v 2>&1 </dev/null` in
16141 *GNU* | *'with BFD'*)
16142 acl_cv_prog_gnu_ld=yes
16143 ;;
16144 *)
16145 acl_cv_prog_gnu_ld=no
16146 ;;
16147 esac ;;
16148 esac
16149 fi
16150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16151 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
16152 with_gnu_ld=$acl_cv_prog_gnu_ld
16153
16154
16155
16156
16157
16158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16159 printf %s "checking for shared library run path origin... " >&6; }
16160 if test ${acl_cv_rpath+y}
16161 then :
16162 printf %s "(cached) " >&6
16163 else case e in #(
16164 e)
16165 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16166 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16167 . ./conftest.sh
16168 rm -f ./conftest.sh
16169 acl_cv_rpath=done
16170 ;;
16171 esac
16172 fi
16173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16174 printf "%s\n" "$acl_cv_rpath" >&6; }
16175 wl="$acl_cv_wl"
16176 acl_libext="$acl_cv_libext"
16177 acl_shlibext="$acl_cv_shlibext"
16178 acl_libname_spec="$acl_cv_libname_spec"
16179 acl_library_names_spec="$acl_cv_library_names_spec"
16180 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16181 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16182 acl_hardcode_direct="$acl_cv_hardcode_direct"
16183 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16184 # Check whether --enable-rpath was given.
16185 if test ${enable_rpath+y}
16186 then :
16187 enableval=$enable_rpath; :
16188 else case e in #(
16189 e) enable_rpath=yes ;;
16190 esac
16191 fi
16192
16193
16194 ac_ext=c
16195 ac_cpp='$CPP $CPPFLAGS'
16196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
16200 printf %s "checking how to run the C preprocessor... " >&6; }
16201 # On Suns, sometimes $CPP names a directory.
16202 if test -n "$CPP" && test -d "$CPP"; then
16203 CPP=
16204 fi
16205 if test -z "$CPP"; then
16206 if test ${ac_cv_prog_CPP+y}
16207 then :
16208 printf %s "(cached) " >&6
16209 else case e in #(
16210 e) # Double quotes because $CC needs to be expanded
16211 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
16212 do
16213 ac_preproc_ok=false
16214 for ac_c_preproc_warn_flag in '' yes
16215 do
16216 # Use a header file that comes with gcc, so configuring glibc
16217 # with a fresh cross-compiler works.
16218 # On the NeXT, cc -E runs the code through the compiler's parser,
16219 # not just through cpp. "Syntax error" is here to catch this case.
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16222 #include <limits.h>
16223 Syntax error
16224 _ACEOF
16225 if ac_fn_c_try_cpp "$LINENO"
16226 then :
16227
16228 else case e in #(
16229 e) # Broken: fails on valid input.
16230 continue ;;
16231 esac
16232 fi
16233 rm -f conftest.err conftest.i conftest.$ac_ext
16234
16235 # OK, works on sane cases. Now check whether nonexistent headers
16236 # can be detected and how.
16237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16238 /* end confdefs.h. */
16239 #include <ac_nonexistent.h>
16240 _ACEOF
16241 if ac_fn_c_try_cpp "$LINENO"
16242 then :
16243 # Broken: success on invalid input.
16244 continue
16245 else case e in #(
16246 e) # Passes both tests.
16247 ac_preproc_ok=:
16248 break ;;
16249 esac
16250 fi
16251 rm -f conftest.err conftest.i conftest.$ac_ext
16252
16253 done
16254 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16255 rm -f conftest.i conftest.err conftest.$ac_ext
16256 if $ac_preproc_ok
16257 then :
16258 break
16259 fi
16260
16261 done
16262 ac_cv_prog_CPP=$CPP
16263 ;;
16264 esac
16265 fi
16266 CPP=$ac_cv_prog_CPP
16267 else
16268 ac_cv_prog_CPP=$CPP
16269 fi
16270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
16271 printf "%s\n" "$CPP" >&6; }
16272 ac_preproc_ok=false
16273 for ac_c_preproc_warn_flag in '' yes
16274 do
16275 # Use a header file that comes with gcc, so configuring glibc
16276 # with a fresh cross-compiler works.
16277 # On the NeXT, cc -E runs the code through the compiler's parser,
16278 # not just through cpp. "Syntax error" is here to catch this case.
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16281 #include <limits.h>
16282 Syntax error
16283 _ACEOF
16284 if ac_fn_c_try_cpp "$LINENO"
16285 then :
16286
16287 else case e in #(
16288 e) # Broken: fails on valid input.
16289 continue ;;
16290 esac
16291 fi
16292 rm -f conftest.err conftest.i conftest.$ac_ext
16293
16294 # OK, works on sane cases. Now check whether nonexistent headers
16295 # can be detected and how.
16296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16297 /* end confdefs.h. */
16298 #include <ac_nonexistent.h>
16299 _ACEOF
16300 if ac_fn_c_try_cpp "$LINENO"
16301 then :
16302 # Broken: success on invalid input.
16303 continue
16304 else case e in #(
16305 e) # Passes both tests.
16306 ac_preproc_ok=:
16307 break ;;
16308 esac
16309 fi
16310 rm -f conftest.err conftest.i conftest.$ac_ext
16311
16312 done
16313 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16314 rm -f conftest.i conftest.err conftest.$ac_ext
16315 if $ac_preproc_ok
16316 then :
16317
16318 else case e in #(
16319 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
16320 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
16321 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
16322 See 'config.log' for more details" "$LINENO" 5; } ;;
16323 esac
16324 fi
16325
16326 ac_ext=c
16327 ac_cpp='$CPP $CPPFLAGS'
16328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16331
16332
16333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
16334 printf %s "checking for egrep -e... " >&6; }
16335 if test ${ac_cv_path_EGREP_TRADITIONAL+y}
16336 then :
16337 printf %s "(cached) " >&6
16338 else case e in #(
16339 e) if test -z "$EGREP_TRADITIONAL"; then
16340 ac_path_EGREP_TRADITIONAL_found=false
16341 # Loop through the user's path and test for each of PROGNAME-LIST
16342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16343 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16344 do
16345 IFS=$as_save_IFS
16346 case $as_dir in #(((
16347 '') as_dir=./ ;;
16348 */) ;;
16349 *) as_dir=$as_dir/ ;;
16350 esac
16351 for ac_prog in grep ggrep
16352 do
16353 for ac_exec_ext in '' $ac_executable_extensions; do
16354 ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
16355 as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
16356 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
16357 # Check for GNU $ac_path_EGREP_TRADITIONAL
16358 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
16359 *GNU*)
16360 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
16361 #(
16362 *)
16363 ac_count=0
16364 printf %s 0123456789 >"conftest.in"
16365 while :
16366 do
16367 cat "conftest.in" "conftest.in" >"conftest.tmp"
16368 mv "conftest.tmp" "conftest.in"
16369 cp "conftest.in" "conftest.nl"
16370 printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
16371 "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16372 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16373 as_fn_arith $ac_count + 1 && ac_count=$as_val
16374 if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
16375 # Best one so far, save it but keep looking for a better one
16376 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
16377 ac_path_EGREP_TRADITIONAL_max=$ac_count
16378 fi
16379 # 10*(2^10) chars as input seems more than enough
16380 test $ac_count -gt 10 && break
16381 done
16382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16383 esac
16384
16385 $ac_path_EGREP_TRADITIONAL_found && break 3
16386 done
16387 done
16388 done
16389 IFS=$as_save_IFS
16390 if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
16391 :
16392 fi
16393 else
16394 ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
16395 fi
16396
16397 if test "$ac_cv_path_EGREP_TRADITIONAL"
16398 then :
16399 ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
16400 else case e in #(
16401 e) if test -z "$EGREP_TRADITIONAL"; then
16402 ac_path_EGREP_TRADITIONAL_found=false
16403 # Loop through the user's path and test for each of PROGNAME-LIST
16404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16406 do
16407 IFS=$as_save_IFS
16408 case $as_dir in #(((
16409 '') as_dir=./ ;;
16410 */) ;;
16411 *) as_dir=$as_dir/ ;;
16412 esac
16413 for ac_prog in egrep
16414 do
16415 for ac_exec_ext in '' $ac_executable_extensions; do
16416 ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
16417 as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
16418 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
16419 # Check for GNU $ac_path_EGREP_TRADITIONAL
16420 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
16421 *GNU*)
16422 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
16423 #(
16424 *)
16425 ac_count=0
16426 printf %s 0123456789 >"conftest.in"
16427 while :
16428 do
16429 cat "conftest.in" "conftest.in" >"conftest.tmp"
16430 mv "conftest.tmp" "conftest.in"
16431 cp "conftest.in" "conftest.nl"
16432 printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
16433 "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16434 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16435 as_fn_arith $ac_count + 1 && ac_count=$as_val
16436 if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
16437 # Best one so far, save it but keep looking for a better one
16438 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
16439 ac_path_EGREP_TRADITIONAL_max=$ac_count
16440 fi
16441 # 10*(2^10) chars as input seems more than enough
16442 test $ac_count -gt 10 && break
16443 done
16444 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16445 esac
16446
16447 $ac_path_EGREP_TRADITIONAL_found && break 3
16448 done
16449 done
16450 done
16451 IFS=$as_save_IFS
16452 if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
16453 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
16454 fi
16455 else
16456 ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
16457 fi
16458 ;;
16459 esac
16460 fi ;;
16461 esac
16462 fi
16463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
16464 printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
16465 EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
16466
16467
16468
16469 acl_libdirstem=lib
16470 acl_libdirstem2=
16471 case "$host_os" in
16472 solaris*)
16473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16474 printf %s "checking for 64-bit host... " >&6; }
16475 if test ${gl_cv_solaris_64bit+y}
16476 then :
16477 printf %s "(cached) " >&6
16478 else case e in #(
16479 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16481
16482 #ifdef _LP64
16483 sixtyfour bits
16484 #endif
16485
16486 _ACEOF
16487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16488 $EGREP_TRADITIONAL "sixtyfour bits" >/dev/null 2>&1
16489 then :
16490 gl_cv_solaris_64bit=yes
16491 else case e in #(
16492 e) gl_cv_solaris_64bit=no ;;
16493 esac
16494 fi
16495 rm -rf conftest*
16496
16497 ;;
16498 esac
16499 fi
16500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16501 printf "%s\n" "$gl_cv_solaris_64bit" >&6; }
16502 if test $gl_cv_solaris_64bit = yes; then
16503 acl_libdirstem=lib/64
16504 case "$host_cpu" in
16505 sparc*) acl_libdirstem2=lib/sparcv9 ;;
16506 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
16507 esac
16508 fi
16509 ;;
16510 *)
16511 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16512 if test -n "$searchpath"; then
16513 acl_save_IFS="${IFS= }"; IFS=":"
16514 for searchdir in $searchpath; do
16515 if test -d "$searchdir"; then
16516 case "$searchdir" in
16517 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16518 */../ | */.. )
16519 # Better ignore directories of this form. They are misleading.
16520 ;;
16521 *) searchdir=`cd "$searchdir" && pwd`
16522 case "$searchdir" in
16523 */lib64 ) acl_libdirstem=lib64 ;;
16524 esac ;;
16525 esac
16526 fi
16527 done
16528 IFS="$acl_save_IFS"
16529 fi
16530 ;;
16531 esac
16532 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545 use_additional=yes
16546
16547 acl_save_prefix="$prefix"
16548 prefix="$acl_final_prefix"
16549 acl_save_exec_prefix="$exec_prefix"
16550 exec_prefix="$acl_final_exec_prefix"
16551
16552 eval additional_includedir=\"$includedir\"
16553 eval additional_libdir=\"$libdir\"
16554
16555 exec_prefix="$acl_save_exec_prefix"
16556 prefix="$acl_save_prefix"
16557
16558
16559 # Check whether --with-libiconv-prefix was given.
16560 if test ${with_libiconv_prefix+y}
16561 then :
16562 withval=$with_libiconv_prefix;
16563 if test "X$withval" = "Xno"; then
16564 use_additional=no
16565 else
16566 if test "X$withval" = "X"; then
16567
16568 acl_save_prefix="$prefix"
16569 prefix="$acl_final_prefix"
16570 acl_save_exec_prefix="$exec_prefix"
16571 exec_prefix="$acl_final_exec_prefix"
16572
16573 eval additional_includedir=\"$includedir\"
16574 eval additional_libdir=\"$libdir\"
16575
16576 exec_prefix="$acl_save_exec_prefix"
16577 prefix="$acl_save_prefix"
16578
16579 else
16580 additional_includedir="$withval/include"
16581 additional_libdir="$withval/$acl_libdirstem"
16582 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16583 && ! test -d "$withval/$acl_libdirstem"; then
16584 additional_libdir="$withval/$acl_libdirstem2"
16585 fi
16586 fi
16587 fi
16588
16589 fi
16590
16591 LIBICONV=
16592 LTLIBICONV=
16593 INCICONV=
16594 LIBICONV_PREFIX=
16595 HAVE_LIBICONV=
16596 rpathdirs=
16597 ltrpathdirs=
16598 names_already_handled=
16599 names_next_round='iconv '
16600 while test -n "$names_next_round"; do
16601 names_this_round="$names_next_round"
16602 names_next_round=
16603 for name in $names_this_round; do
16604 already_handled=
16605 for n in $names_already_handled; do
16606 if test "$n" = "$name"; then
16607 already_handled=yes
16608 break
16609 fi
16610 done
16611 if test -z "$already_handled"; then
16612 names_already_handled="$names_already_handled $name"
16613 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
16614 eval value=\"\$HAVE_LIB$uppername\"
16615 if test -n "$value"; then
16616 if test "$value" = yes; then
16617 eval value=\"\$LIB$uppername\"
16618 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16619 eval value=\"\$LTLIB$uppername\"
16620 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16621 else
16622 :
16623 fi
16624 else
16625 found_dir=
16626 found_la=
16627 found_so=
16628 found_a=
16629 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16630 if test -n "$acl_shlibext"; then
16631 shrext=".$acl_shlibext" # typically: shrext=.so
16632 else
16633 shrext=
16634 fi
16635 if test $use_additional = yes; then
16636 dir="$additional_libdir"
16637 if test -n "$acl_shlibext"; then
16638 if test -f "$dir/$libname$shrext"; then
16639 found_dir="$dir"
16640 found_so="$dir/$libname$shrext"
16641 else
16642 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16643 ver=`(cd "$dir" && \
16644 for f in "$libname$shrext".*; do echo "$f"; done \
16645 | sed -e "s,^$libname$shrext\\\\.,," \
16646 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16647 | sed 1q ) 2>/dev/null`
16648 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16649 found_dir="$dir"
16650 found_so="$dir/$libname$shrext.$ver"
16651 fi
16652 else
16653 eval library_names=\"$acl_library_names_spec\"
16654 for f in $library_names; do
16655 if test -f "$dir/$f"; then
16656 found_dir="$dir"
16657 found_so="$dir/$f"
16658 break
16659 fi
16660 done
16661 fi
16662 fi
16663 fi
16664 if test "X$found_dir" = "X"; then
16665 if test -f "$dir/$libname.$acl_libext"; then
16666 found_dir="$dir"
16667 found_a="$dir/$libname.$acl_libext"
16668 fi
16669 fi
16670 if test "X$found_dir" != "X"; then
16671 if test -f "$dir/$libname.la"; then
16672 found_la="$dir/$libname.la"
16673 fi
16674 fi
16675 fi
16676 if test "X$found_dir" = "X"; then
16677 for x in $LDFLAGS $LTLIBICONV; do
16678
16679 acl_save_prefix="$prefix"
16680 prefix="$acl_final_prefix"
16681 acl_save_exec_prefix="$exec_prefix"
16682 exec_prefix="$acl_final_exec_prefix"
16683 eval x=\"$x\"
16684 exec_prefix="$acl_save_exec_prefix"
16685 prefix="$acl_save_prefix"
16686
16687 case "$x" in
16688 -L*)
16689 dir=`echo "X$x" | sed -e 's/^X-L//'`
16690 if test -n "$acl_shlibext"; then
16691 if test -f "$dir/$libname$shrext"; then
16692 found_dir="$dir"
16693 found_so="$dir/$libname$shrext"
16694 else
16695 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16696 ver=`(cd "$dir" && \
16697 for f in "$libname$shrext".*; do echo "$f"; done \
16698 | sed -e "s,^$libname$shrext\\\\.,," \
16699 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16700 | sed 1q ) 2>/dev/null`
16701 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16702 found_dir="$dir"
16703 found_so="$dir/$libname$shrext.$ver"
16704 fi
16705 else
16706 eval library_names=\"$acl_library_names_spec\"
16707 for f in $library_names; do
16708 if test -f "$dir/$f"; then
16709 found_dir="$dir"
16710 found_so="$dir/$f"
16711 break
16712 fi
16713 done
16714 fi
16715 fi
16716 fi
16717 if test "X$found_dir" = "X"; then
16718 if test -f "$dir/$libname.$acl_libext"; then
16719 found_dir="$dir"
16720 found_a="$dir/$libname.$acl_libext"
16721 fi
16722 fi
16723 if test "X$found_dir" != "X"; then
16724 if test -f "$dir/$libname.la"; then
16725 found_la="$dir/$libname.la"
16726 fi
16727 fi
16728 ;;
16729 esac
16730 if test "X$found_dir" != "X"; then
16731 break
16732 fi
16733 done
16734 fi
16735 if test "X$found_dir" != "X"; then
16736 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16737 if test "X$found_so" != "X"; then
16738 if test "$enable_rpath" = no \
16739 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
16740 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16741 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16742 else
16743 haveit=
16744 for x in $ltrpathdirs; do
16745 if test "X$x" = "X$found_dir"; then
16746 haveit=yes
16747 break
16748 fi
16749 done
16750 if test -z "$haveit"; then
16751 ltrpathdirs="$ltrpathdirs $found_dir"
16752 fi
16753 if test "$acl_hardcode_direct" = yes; then
16754 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16755 else
16756 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16757 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16758 haveit=
16759 for x in $rpathdirs; do
16760 if test "X$x" = "X$found_dir"; then
16761 haveit=yes
16762 break
16763 fi
16764 done
16765 if test -z "$haveit"; then
16766 rpathdirs="$rpathdirs $found_dir"
16767 fi
16768 else
16769 haveit=
16770 for x in $LDFLAGS $LIBICONV; do
16771
16772 acl_save_prefix="$prefix"
16773 prefix="$acl_final_prefix"
16774 acl_save_exec_prefix="$exec_prefix"
16775 exec_prefix="$acl_final_exec_prefix"
16776 eval x=\"$x\"
16777 exec_prefix="$acl_save_exec_prefix"
16778 prefix="$acl_save_prefix"
16779
16780 if test "X$x" = "X-L$found_dir"; then
16781 haveit=yes
16782 break
16783 fi
16784 done
16785 if test -z "$haveit"; then
16786 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16787 fi
16788 if test "$acl_hardcode_minus_L" != no; then
16789 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16790 else
16791 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16792 fi
16793 fi
16794 fi
16795 fi
16796 else
16797 if test "X$found_a" != "X"; then
16798 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16799 else
16800 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16801 fi
16802 fi
16803 additional_includedir=
16804 case "$found_dir" in
16805 */$acl_libdirstem | */$acl_libdirstem/)
16806 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16807 if test "$name" = 'iconv'; then
16808 LIBICONV_PREFIX="$basedir"
16809 fi
16810 additional_includedir="$basedir/include"
16811 ;;
16812 */$acl_libdirstem2 | */$acl_libdirstem2/)
16813 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16814 if test "$name" = 'iconv'; then
16815 LIBICONV_PREFIX="$basedir"
16816 fi
16817 additional_includedir="$basedir/include"
16818 ;;
16819 esac
16820 if test "X$additional_includedir" != "X"; then
16821 if test "X$additional_includedir" != "X/usr/include"; then
16822 haveit=
16823 if test "X$additional_includedir" = "X/usr/local/include"; then
16824 if test -n "$GCC"; then
16825 case $host_os in
16826 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16827 esac
16828 fi
16829 fi
16830 if test -z "$haveit"; then
16831 for x in $CPPFLAGS $INCICONV; do
16832
16833 acl_save_prefix="$prefix"
16834 prefix="$acl_final_prefix"
16835 acl_save_exec_prefix="$exec_prefix"
16836 exec_prefix="$acl_final_exec_prefix"
16837 eval x=\"$x\"
16838 exec_prefix="$acl_save_exec_prefix"
16839 prefix="$acl_save_prefix"
16840
16841 if test "X$x" = "X-I$additional_includedir"; then
16842 haveit=yes
16843 break
16844 fi
16845 done
16846 if test -z "$haveit"; then
16847 if test -d "$additional_includedir"; then
16848 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16849 fi
16850 fi
16851 fi
16852 fi
16853 fi
16854 if test -n "$found_la"; then
16855 save_libdir="$libdir"
16856 case "$found_la" in
16857 */* | *\\*) . "$found_la" ;;
16858 *) . "./$found_la" ;;
16859 esac
16860 libdir="$save_libdir"
16861 for dep in $dependency_libs; do
16862 case "$dep" in
16863 -L*)
16864 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16865 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16866 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16867 haveit=
16868 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16869 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16870 if test -n "$GCC"; then
16871 case $host_os in
16872 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16873 esac
16874 fi
16875 fi
16876 if test -z "$haveit"; then
16877 haveit=
16878 for x in $LDFLAGS $LIBICONV; do
16879
16880 acl_save_prefix="$prefix"
16881 prefix="$acl_final_prefix"
16882 acl_save_exec_prefix="$exec_prefix"
16883 exec_prefix="$acl_final_exec_prefix"
16884 eval x=\"$x\"
16885 exec_prefix="$acl_save_exec_prefix"
16886 prefix="$acl_save_prefix"
16887
16888 if test "X$x" = "X-L$additional_libdir"; then
16889 haveit=yes
16890 break
16891 fi
16892 done
16893 if test -z "$haveit"; then
16894 if test -d "$additional_libdir"; then
16895 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16896 fi
16897 fi
16898 haveit=
16899 for x in $LDFLAGS $LTLIBICONV; do
16900
16901 acl_save_prefix="$prefix"
16902 prefix="$acl_final_prefix"
16903 acl_save_exec_prefix="$exec_prefix"
16904 exec_prefix="$acl_final_exec_prefix"
16905 eval x=\"$x\"
16906 exec_prefix="$acl_save_exec_prefix"
16907 prefix="$acl_save_prefix"
16908
16909 if test "X$x" = "X-L$additional_libdir"; then
16910 haveit=yes
16911 break
16912 fi
16913 done
16914 if test -z "$haveit"; then
16915 if test -d "$additional_libdir"; then
16916 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16917 fi
16918 fi
16919 fi
16920 fi
16921 ;;
16922 -R*)
16923 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16924 if test "$enable_rpath" != no; then
16925 haveit=
16926 for x in $rpathdirs; do
16927 if test "X$x" = "X$dir"; then
16928 haveit=yes
16929 break
16930 fi
16931 done
16932 if test -z "$haveit"; then
16933 rpathdirs="$rpathdirs $dir"
16934 fi
16935 haveit=
16936 for x in $ltrpathdirs; do
16937 if test "X$x" = "X$dir"; then
16938 haveit=yes
16939 break
16940 fi
16941 done
16942 if test -z "$haveit"; then
16943 ltrpathdirs="$ltrpathdirs $dir"
16944 fi
16945 fi
16946 ;;
16947 -l*)
16948 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16949 ;;
16950 *.la)
16951 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16952 ;;
16953 *)
16954 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16955 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16956 ;;
16957 esac
16958 done
16959 fi
16960 else
16961 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16962 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16963 fi
16964 fi
16965 fi
16966 done
16967 done
16968 if test "X$rpathdirs" != "X"; then
16969 if test -n "$acl_hardcode_libdir_separator"; then
16970 alldirs=
16971 for found_dir in $rpathdirs; do
16972 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16973 done
16974 acl_save_libdir="$libdir"
16975 libdir="$alldirs"
16976 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16977 libdir="$acl_save_libdir"
16978 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16979 else
16980 for found_dir in $rpathdirs; do
16981 acl_save_libdir="$libdir"
16982 libdir="$found_dir"
16983 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16984 libdir="$acl_save_libdir"
16985 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16986 done
16987 fi
16988 fi
16989 if test "X$ltrpathdirs" != "X"; then
16990 for found_dir in $ltrpathdirs; do
16991 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16992 done
16993 fi
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
17026 printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
17027 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
17028 then :
17029 printf %s "(cached) " >&6
17030 else case e in #(
17031 e) gt_save_LIBS="$LIBS"
17032 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 #include <CoreFoundation/CFPreferences.h>
17036 int
17037 main (void)
17038 {
17039 CFPreferencesCopyAppValue(NULL, NULL)
17040 ;
17041 return 0;
17042 }
17043 _ACEOF
17044 if ac_fn_c_try_link "$LINENO"
17045 then :
17046 gt_cv_func_CFPreferencesCopyAppValue=yes
17047 else case e in #(
17048 e) gt_cv_func_CFPreferencesCopyAppValue=no ;;
17049 esac
17050 fi
17051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17052 conftest$ac_exeext conftest.$ac_ext
17053 LIBS="$gt_save_LIBS" ;;
17054 esac
17055 fi
17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
17057 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
17058 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
17059
17060 printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
17061
17062 fi
17063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
17064 printf %s "checking for CFLocaleCopyCurrent... " >&6; }
17065 if test ${gt_cv_func_CFLocaleCopyCurrent+y}
17066 then :
17067 printf %s "(cached) " >&6
17068 else case e in #(
17069 e) gt_save_LIBS="$LIBS"
17070 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 #include <CoreFoundation/CFLocale.h>
17074 int
17075 main (void)
17076 {
17077 CFLocaleCopyCurrent();
17078 ;
17079 return 0;
17080 }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"
17083 then :
17084 gt_cv_func_CFLocaleCopyCurrent=yes
17085 else case e in #(
17086 e) gt_cv_func_CFLocaleCopyCurrent=no ;;
17087 esac
17088 fi
17089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17090 conftest$ac_exeext conftest.$ac_ext
17091 LIBS="$gt_save_LIBS" ;;
17092 esac
17093 fi
17094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
17095 printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
17096 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17097
17098 printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
17099
17100 fi
17101 INTL_MACOSX_LIBS=
17102 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17103 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
17104 fi
17105
17106
17107
17108
17109
17110
17111 LIBINTL=
17112 LTLIBINTL=
17113 POSUB=
17114
17115 case " $gt_needs " in
17116 *" need-formatstring-macros "*) gt_api_version=3 ;;
17117 *" need-ngettext "*) gt_api_version=2 ;;
17118 *) gt_api_version=1 ;;
17119 esac
17120 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
17121 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
17122
17123 if test "$USE_NLS" = "yes"; then
17124 gt_use_preinstalled_gnugettext=no
17125
17126
17127 if test $gt_api_version -ge 3; then
17128 gt_revision_test_code='
17129 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17130 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
17131 #endif
17132 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
17133 '
17134 else
17135 gt_revision_test_code=
17136 fi
17137 if test $gt_api_version -ge 2; then
17138 gt_expression_test_code=' + * ngettext ("", "", 0)'
17139 else
17140 gt_expression_test_code=
17141 fi
17142
17143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
17144 printf %s "checking for GNU gettext in libc... " >&6; }
17145 if eval test \${$gt_func_gnugettext_libc+y}
17146 then :
17147 printf %s "(cached) " >&6
17148 else case e in #(
17149 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17151
17152 #include <libintl.h>
17153 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17154 extern int _nl_msg_cat_cntr;
17155 extern int *_nl_domain_bindings;
17156 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
17157 #else
17158 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
17159 #endif
17160 $gt_revision_test_code
17161
17162 int
17163 main (void)
17164 {
17165
17166 bindtextdomain ("", "");
17167 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
17168
17169 ;
17170 return 0;
17171 }
17172 _ACEOF
17173 if ac_fn_c_try_link "$LINENO"
17174 then :
17175 eval "$gt_func_gnugettext_libc=yes"
17176 else case e in #(
17177 e) eval "$gt_func_gnugettext_libc=no" ;;
17178 esac
17179 fi
17180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17181 conftest$ac_exeext conftest.$ac_ext ;;
17182 esac
17183 fi
17184 eval ac_res=\$$gt_func_gnugettext_libc
17185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17186 printf "%s\n" "$ac_res" >&6; }
17187
17188 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
17189
17190
17191
17192
17193
17194 am_save_CPPFLAGS="$CPPFLAGS"
17195
17196 for element in $INCICONV; do
17197 haveit=
17198 for x in $CPPFLAGS; do
17199
17200 acl_save_prefix="$prefix"
17201 prefix="$acl_final_prefix"
17202 acl_save_exec_prefix="$exec_prefix"
17203 exec_prefix="$acl_final_exec_prefix"
17204 eval x=\"$x\"
17205 exec_prefix="$acl_save_exec_prefix"
17206 prefix="$acl_save_prefix"
17207
17208 if test "X$x" = "X$element"; then
17209 haveit=yes
17210 break
17211 fi
17212 done
17213 if test -z "$haveit"; then
17214 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17215 fi
17216 done
17217
17218
17219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17220 printf %s "checking for iconv... " >&6; }
17221 if test ${am_cv_func_iconv+y}
17222 then :
17223 printf %s "(cached) " >&6
17224 else case e in #(
17225 e)
17226 am_cv_func_iconv="no, consider installing GNU libiconv"
17227 am_cv_lib_iconv=no
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17230
17231 #include <stdlib.h>
17232 #include <iconv.h>
17233
17234 int
17235 main (void)
17236 {
17237 iconv_t cd = iconv_open("","");
17238 iconv(cd,NULL,NULL,NULL,NULL);
17239 iconv_close(cd);
17240 ;
17241 return 0;
17242 }
17243 _ACEOF
17244 if ac_fn_c_try_link "$LINENO"
17245 then :
17246 am_cv_func_iconv=yes
17247 fi
17248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17249 conftest$ac_exeext conftest.$ac_ext
17250 if test "$am_cv_func_iconv" != yes; then
17251 am_save_LIBS="$LIBS"
17252 LIBS="$LIBS $LIBICONV"
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255
17256 #include <stdlib.h>
17257 #include <iconv.h>
17258
17259 int
17260 main (void)
17261 {
17262 iconv_t cd = iconv_open("","");
17263 iconv(cd,NULL,NULL,NULL,NULL);
17264 iconv_close(cd);
17265 ;
17266 return 0;
17267 }
17268 _ACEOF
17269 if ac_fn_c_try_link "$LINENO"
17270 then :
17271 am_cv_lib_iconv=yes
17272 am_cv_func_iconv=yes
17273 fi
17274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17275 conftest$ac_exeext conftest.$ac_ext
17276 LIBS="$am_save_LIBS"
17277 fi
17278 ;;
17279 esac
17280 fi
17281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17282 printf "%s\n" "$am_cv_func_iconv" >&6; }
17283 if test "$am_cv_func_iconv" = yes; then
17284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17285 printf %s "checking for working iconv... " >&6; }
17286 if test ${am_cv_func_iconv_works+y}
17287 then :
17288 printf %s "(cached) " >&6
17289 else case e in #(
17290 e)
17291 am_save_LIBS="$LIBS"
17292 if test $am_cv_lib_iconv = yes; then
17293 LIBS="$LIBS $LIBICONV"
17294 fi
17295 am_cv_func_iconv_works=no
17296 for ac_iconv_const in '' 'const'; do
17297 if test "$cross_compiling" = yes
17298 then :
17299 case "$host_os" in
17300 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17301 *) am_cv_func_iconv_works="guessing yes" ;;
17302 esac
17303 else case e in #(
17304 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306
17307 #include <iconv.h>
17308 #include <string.h>
17309
17310 #ifndef ICONV_CONST
17311 # define ICONV_CONST $ac_iconv_const
17312 #endif
17313
17314 int
17315 main (void)
17316 {
17317 int result = 0;
17318 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17319 returns. */
17320 {
17321 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17322 if (cd_utf8_to_88591 != (iconv_t)(-1))
17323 {
17324 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
17325 char buf[10];
17326 ICONV_CONST char *inptr = input;
17327 size_t inbytesleft = strlen (input);
17328 char *outptr = buf;
17329 size_t outbytesleft = sizeof (buf);
17330 size_t res = iconv (cd_utf8_to_88591,
17331 &inptr, &inbytesleft,
17332 &outptr, &outbytesleft);
17333 if (res == 0)
17334 result |= 1;
17335 iconv_close (cd_utf8_to_88591);
17336 }
17337 }
17338 /* Test against Solaris 10 bug: Failures are not distinguishable from
17339 successful returns. */
17340 {
17341 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17342 if (cd_ascii_to_88591 != (iconv_t)(-1))
17343 {
17344 static ICONV_CONST char input[] = "\263";
17345 char buf[10];
17346 ICONV_CONST char *inptr = input;
17347 size_t inbytesleft = strlen (input);
17348 char *outptr = buf;
17349 size_t outbytesleft = sizeof (buf);
17350 size_t res = iconv (cd_ascii_to_88591,
17351 &inptr, &inbytesleft,
17352 &outptr, &outbytesleft);
17353 if (res == 0)
17354 result |= 2;
17355 iconv_close (cd_ascii_to_88591);
17356 }
17357 }
17358 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
17359 {
17360 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
17361 if (cd_88591_to_utf8 != (iconv_t)(-1))
17362 {
17363 static ICONV_CONST char input[] = "\304";
17364 static char buf[2] = { (char)0xDE, (char)0xAD };
17365 ICONV_CONST char *inptr = input;
17366 size_t inbytesleft = 1;
17367 char *outptr = buf;
17368 size_t outbytesleft = 1;
17369 size_t res = iconv (cd_88591_to_utf8,
17370 &inptr, &inbytesleft,
17371 &outptr, &outbytesleft);
17372 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
17373 result |= 4;
17374 iconv_close (cd_88591_to_utf8);
17375 }
17376 }
17377 #if 0 /* This bug could be worked around by the caller. */
17378 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17379 {
17380 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17381 if (cd_88591_to_utf8 != (iconv_t)(-1))
17382 {
17383 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17384 char buf[50];
17385 ICONV_CONST char *inptr = input;
17386 size_t inbytesleft = strlen (input);
17387 char *outptr = buf;
17388 size_t outbytesleft = sizeof (buf);
17389 size_t res = iconv (cd_88591_to_utf8,
17390 &inptr, &inbytesleft,
17391 &outptr, &outbytesleft);
17392 if ((int)res > 0)
17393 result |= 8;
17394 iconv_close (cd_88591_to_utf8);
17395 }
17396 }
17397 #endif
17398 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17399 provided. */
17400 if (/* Try standardized names. */
17401 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17402 /* Try IRIX, OSF/1 names. */
17403 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17404 /* Try AIX names. */
17405 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17406 /* Try HP-UX names. */
17407 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17408 result |= 16;
17409 return result;
17410
17411 ;
17412 return 0;
17413 }
17414 _ACEOF
17415 if ac_fn_c_try_run "$LINENO"
17416 then :
17417 am_cv_func_iconv_works=yes
17418 fi
17419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17420 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
17421 esac
17422 fi
17423
17424 test "$am_cv_func_iconv_works" = no || break
17425 done
17426 LIBS="$am_save_LIBS"
17427 ;;
17428 esac
17429 fi
17430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17431 printf "%s\n" "$am_cv_func_iconv_works" >&6; }
17432 case "$am_cv_func_iconv_works" in
17433 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17434 *) am_func_iconv=yes ;;
17435 esac
17436 else
17437 am_func_iconv=no am_cv_lib_iconv=no
17438 fi
17439 if test "$am_func_iconv" = yes; then
17440
17441 printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
17442
17443 fi
17444 if test "$am_cv_lib_iconv" = yes; then
17445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17446 printf %s "checking how to link with libiconv... " >&6; }
17447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17448 printf "%s\n" "$LIBICONV" >&6; }
17449 else
17450 CPPFLAGS="$am_save_CPPFLAGS"
17451 LIBICONV=
17452 LTLIBICONV=
17453 fi
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465 use_additional=yes
17466
17467 acl_save_prefix="$prefix"
17468 prefix="$acl_final_prefix"
17469 acl_save_exec_prefix="$exec_prefix"
17470 exec_prefix="$acl_final_exec_prefix"
17471
17472 eval additional_includedir=\"$includedir\"
17473 eval additional_libdir=\"$libdir\"
17474
17475 exec_prefix="$acl_save_exec_prefix"
17476 prefix="$acl_save_prefix"
17477
17478
17479 # Check whether --with-libintl-prefix was given.
17480 if test ${with_libintl_prefix+y}
17481 then :
17482 withval=$with_libintl_prefix;
17483 if test "X$withval" = "Xno"; then
17484 use_additional=no
17485 else
17486 if test "X$withval" = "X"; then
17487
17488 acl_save_prefix="$prefix"
17489 prefix="$acl_final_prefix"
17490 acl_save_exec_prefix="$exec_prefix"
17491 exec_prefix="$acl_final_exec_prefix"
17492
17493 eval additional_includedir=\"$includedir\"
17494 eval additional_libdir=\"$libdir\"
17495
17496 exec_prefix="$acl_save_exec_prefix"
17497 prefix="$acl_save_prefix"
17498
17499 else
17500 additional_includedir="$withval/include"
17501 additional_libdir="$withval/$acl_libdirstem"
17502 if test "$acl_libdirstem2" != "$acl_libdirstem" \
17503 && ! test -d "$withval/$acl_libdirstem"; then
17504 additional_libdir="$withval/$acl_libdirstem2"
17505 fi
17506 fi
17507 fi
17508
17509 fi
17510
17511 LIBINTL=
17512 LTLIBINTL=
17513 INCINTL=
17514 LIBINTL_PREFIX=
17515 HAVE_LIBINTL=
17516 rpathdirs=
17517 ltrpathdirs=
17518 names_already_handled=
17519 names_next_round='intl '
17520 while test -n "$names_next_round"; do
17521 names_this_round="$names_next_round"
17522 names_next_round=
17523 for name in $names_this_round; do
17524 already_handled=
17525 for n in $names_already_handled; do
17526 if test "$n" = "$name"; then
17527 already_handled=yes
17528 break
17529 fi
17530 done
17531 if test -z "$already_handled"; then
17532 names_already_handled="$names_already_handled $name"
17533 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
17534 eval value=\"\$HAVE_LIB$uppername\"
17535 if test -n "$value"; then
17536 if test "$value" = yes; then
17537 eval value=\"\$LIB$uppername\"
17538 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
17539 eval value=\"\$LTLIB$uppername\"
17540 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
17541 else
17542 :
17543 fi
17544 else
17545 found_dir=
17546 found_la=
17547 found_so=
17548 found_a=
17549 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
17550 if test -n "$acl_shlibext"; then
17551 shrext=".$acl_shlibext" # typically: shrext=.so
17552 else
17553 shrext=
17554 fi
17555 if test $use_additional = yes; then
17556 dir="$additional_libdir"
17557 if test -n "$acl_shlibext"; then
17558 if test -f "$dir/$libname$shrext"; then
17559 found_dir="$dir"
17560 found_so="$dir/$libname$shrext"
17561 else
17562 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17563 ver=`(cd "$dir" && \
17564 for f in "$libname$shrext".*; do echo "$f"; done \
17565 | sed -e "s,^$libname$shrext\\\\.,," \
17566 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17567 | sed 1q ) 2>/dev/null`
17568 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17569 found_dir="$dir"
17570 found_so="$dir/$libname$shrext.$ver"
17571 fi
17572 else
17573 eval library_names=\"$acl_library_names_spec\"
17574 for f in $library_names; do
17575 if test -f "$dir/$f"; then
17576 found_dir="$dir"
17577 found_so="$dir/$f"
17578 break
17579 fi
17580 done
17581 fi
17582 fi
17583 fi
17584 if test "X$found_dir" = "X"; then
17585 if test -f "$dir/$libname.$acl_libext"; then
17586 found_dir="$dir"
17587 found_a="$dir/$libname.$acl_libext"
17588 fi
17589 fi
17590 if test "X$found_dir" != "X"; then
17591 if test -f "$dir/$libname.la"; then
17592 found_la="$dir/$libname.la"
17593 fi
17594 fi
17595 fi
17596 if test "X$found_dir" = "X"; then
17597 for x in $LDFLAGS $LTLIBINTL; do
17598
17599 acl_save_prefix="$prefix"
17600 prefix="$acl_final_prefix"
17601 acl_save_exec_prefix="$exec_prefix"
17602 exec_prefix="$acl_final_exec_prefix"
17603 eval x=\"$x\"
17604 exec_prefix="$acl_save_exec_prefix"
17605 prefix="$acl_save_prefix"
17606
17607 case "$x" in
17608 -L*)
17609 dir=`echo "X$x" | sed -e 's/^X-L//'`
17610 if test -n "$acl_shlibext"; then
17611 if test -f "$dir/$libname$shrext"; then
17612 found_dir="$dir"
17613 found_so="$dir/$libname$shrext"
17614 else
17615 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17616 ver=`(cd "$dir" && \
17617 for f in "$libname$shrext".*; do echo "$f"; done \
17618 | sed -e "s,^$libname$shrext\\\\.,," \
17619 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17620 | sed 1q ) 2>/dev/null`
17621 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17622 found_dir="$dir"
17623 found_so="$dir/$libname$shrext.$ver"
17624 fi
17625 else
17626 eval library_names=\"$acl_library_names_spec\"
17627 for f in $library_names; do
17628 if test -f "$dir/$f"; then
17629 found_dir="$dir"
17630 found_so="$dir/$f"
17631 break
17632 fi
17633 done
17634 fi
17635 fi
17636 fi
17637 if test "X$found_dir" = "X"; then
17638 if test -f "$dir/$libname.$acl_libext"; then
17639 found_dir="$dir"
17640 found_a="$dir/$libname.$acl_libext"
17641 fi
17642 fi
17643 if test "X$found_dir" != "X"; then
17644 if test -f "$dir/$libname.la"; then
17645 found_la="$dir/$libname.la"
17646 fi
17647 fi
17648 ;;
17649 esac
17650 if test "X$found_dir" != "X"; then
17651 break
17652 fi
17653 done
17654 fi
17655 if test "X$found_dir" != "X"; then
17656 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17657 if test "X$found_so" != "X"; then
17658 if test "$enable_rpath" = no \
17659 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
17660 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
17661 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17662 else
17663 haveit=
17664 for x in $ltrpathdirs; do
17665 if test "X$x" = "X$found_dir"; then
17666 haveit=yes
17667 break
17668 fi
17669 done
17670 if test -z "$haveit"; then
17671 ltrpathdirs="$ltrpathdirs $found_dir"
17672 fi
17673 if test "$acl_hardcode_direct" = yes; then
17674 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17675 else
17676 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17677 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17678 haveit=
17679 for x in $rpathdirs; do
17680 if test "X$x" = "X$found_dir"; then
17681 haveit=yes
17682 break
17683 fi
17684 done
17685 if test -z "$haveit"; then
17686 rpathdirs="$rpathdirs $found_dir"
17687 fi
17688 else
17689 haveit=
17690 for x in $LDFLAGS $LIBINTL; do
17691
17692 acl_save_prefix="$prefix"
17693 prefix="$acl_final_prefix"
17694 acl_save_exec_prefix="$exec_prefix"
17695 exec_prefix="$acl_final_exec_prefix"
17696 eval x=\"$x\"
17697 exec_prefix="$acl_save_exec_prefix"
17698 prefix="$acl_save_prefix"
17699
17700 if test "X$x" = "X-L$found_dir"; then
17701 haveit=yes
17702 break
17703 fi
17704 done
17705 if test -z "$haveit"; then
17706 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17707 fi
17708 if test "$acl_hardcode_minus_L" != no; then
17709 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17710 else
17711 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17712 fi
17713 fi
17714 fi
17715 fi
17716 else
17717 if test "X$found_a" != "X"; then
17718 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17719 else
17720 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17721 fi
17722 fi
17723 additional_includedir=
17724 case "$found_dir" in
17725 */$acl_libdirstem | */$acl_libdirstem/)
17726 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17727 if test "$name" = 'intl'; then
17728 LIBINTL_PREFIX="$basedir"
17729 fi
17730 additional_includedir="$basedir/include"
17731 ;;
17732 */$acl_libdirstem2 | */$acl_libdirstem2/)
17733 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
17734 if test "$name" = 'intl'; then
17735 LIBINTL_PREFIX="$basedir"
17736 fi
17737 additional_includedir="$basedir/include"
17738 ;;
17739 esac
17740 if test "X$additional_includedir" != "X"; then
17741 if test "X$additional_includedir" != "X/usr/include"; then
17742 haveit=
17743 if test "X$additional_includedir" = "X/usr/local/include"; then
17744 if test -n "$GCC"; then
17745 case $host_os in
17746 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17747 esac
17748 fi
17749 fi
17750 if test -z "$haveit"; then
17751 for x in $CPPFLAGS $INCINTL; do
17752
17753 acl_save_prefix="$prefix"
17754 prefix="$acl_final_prefix"
17755 acl_save_exec_prefix="$exec_prefix"
17756 exec_prefix="$acl_final_exec_prefix"
17757 eval x=\"$x\"
17758 exec_prefix="$acl_save_exec_prefix"
17759 prefix="$acl_save_prefix"
17760
17761 if test "X$x" = "X-I$additional_includedir"; then
17762 haveit=yes
17763 break
17764 fi
17765 done
17766 if test -z "$haveit"; then
17767 if test -d "$additional_includedir"; then
17768 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17769 fi
17770 fi
17771 fi
17772 fi
17773 fi
17774 if test -n "$found_la"; then
17775 save_libdir="$libdir"
17776 case "$found_la" in
17777 */* | *\\*) . "$found_la" ;;
17778 *) . "./$found_la" ;;
17779 esac
17780 libdir="$save_libdir"
17781 for dep in $dependency_libs; do
17782 case "$dep" in
17783 -L*)
17784 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17785 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
17786 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
17787 haveit=
17788 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
17789 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
17790 if test -n "$GCC"; then
17791 case $host_os in
17792 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17793 esac
17794 fi
17795 fi
17796 if test -z "$haveit"; then
17797 haveit=
17798 for x in $LDFLAGS $LIBINTL; do
17799
17800 acl_save_prefix="$prefix"
17801 prefix="$acl_final_prefix"
17802 acl_save_exec_prefix="$exec_prefix"
17803 exec_prefix="$acl_final_exec_prefix"
17804 eval x=\"$x\"
17805 exec_prefix="$acl_save_exec_prefix"
17806 prefix="$acl_save_prefix"
17807
17808 if test "X$x" = "X-L$additional_libdir"; then
17809 haveit=yes
17810 break
17811 fi
17812 done
17813 if test -z "$haveit"; then
17814 if test -d "$additional_libdir"; then
17815 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17816 fi
17817 fi
17818 haveit=
17819 for x in $LDFLAGS $LTLIBINTL; do
17820
17821 acl_save_prefix="$prefix"
17822 prefix="$acl_final_prefix"
17823 acl_save_exec_prefix="$exec_prefix"
17824 exec_prefix="$acl_final_exec_prefix"
17825 eval x=\"$x\"
17826 exec_prefix="$acl_save_exec_prefix"
17827 prefix="$acl_save_prefix"
17828
17829 if test "X$x" = "X-L$additional_libdir"; then
17830 haveit=yes
17831 break
17832 fi
17833 done
17834 if test -z "$haveit"; then
17835 if test -d "$additional_libdir"; then
17836 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17837 fi
17838 fi
17839 fi
17840 fi
17841 ;;
17842 -R*)
17843 dir=`echo "X$dep" | sed -e 's/^X-R//'`
17844 if test "$enable_rpath" != no; then
17845 haveit=
17846 for x in $rpathdirs; do
17847 if test "X$x" = "X$dir"; then
17848 haveit=yes
17849 break
17850 fi
17851 done
17852 if test -z "$haveit"; then
17853 rpathdirs="$rpathdirs $dir"
17854 fi
17855 haveit=
17856 for x in $ltrpathdirs; do
17857 if test "X$x" = "X$dir"; then
17858 haveit=yes
17859 break
17860 fi
17861 done
17862 if test -z "$haveit"; then
17863 ltrpathdirs="$ltrpathdirs $dir"
17864 fi
17865 fi
17866 ;;
17867 -l*)
17868 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17869 ;;
17870 *.la)
17871 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17872 ;;
17873 *)
17874 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17875 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17876 ;;
17877 esac
17878 done
17879 fi
17880 else
17881 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17882 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17883 fi
17884 fi
17885 fi
17886 done
17887 done
17888 if test "X$rpathdirs" != "X"; then
17889 if test -n "$acl_hardcode_libdir_separator"; then
17890 alldirs=
17891 for found_dir in $rpathdirs; do
17892 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17893 done
17894 acl_save_libdir="$libdir"
17895 libdir="$alldirs"
17896 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17897 libdir="$acl_save_libdir"
17898 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17899 else
17900 for found_dir in $rpathdirs; do
17901 acl_save_libdir="$libdir"
17902 libdir="$found_dir"
17903 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17904 libdir="$acl_save_libdir"
17905 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17906 done
17907 fi
17908 fi
17909 if test "X$ltrpathdirs" != "X"; then
17910 for found_dir in $ltrpathdirs; do
17911 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17912 done
17913 fi
17914
17915
17916
17917
17918
17919
17920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17921 printf %s "checking for GNU gettext in libintl... " >&6; }
17922 if eval test \${$gt_func_gnugettext_libintl+y}
17923 then :
17924 printf %s "(cached) " >&6
17925 else case e in #(
17926 e) gt_save_CPPFLAGS="$CPPFLAGS"
17927 CPPFLAGS="$CPPFLAGS $INCINTL"
17928 gt_save_LIBS="$LIBS"
17929 LIBS="$LIBS $LIBINTL"
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17932
17933 #include <libintl.h>
17934 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17935 extern int _nl_msg_cat_cntr;
17936 extern
17937 #ifdef __cplusplus
17938 "C"
17939 #endif
17940 const char *_nl_expand_alias (const char *);
17941 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
17942 #else
17943 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
17944 #endif
17945 $gt_revision_test_code
17946
17947 int
17948 main (void)
17949 {
17950
17951 bindtextdomain ("", "");
17952 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
17953
17954 ;
17955 return 0;
17956 }
17957 _ACEOF
17958 if ac_fn_c_try_link "$LINENO"
17959 then :
17960 eval "$gt_func_gnugettext_libintl=yes"
17961 else case e in #(
17962 e) eval "$gt_func_gnugettext_libintl=no" ;;
17963 esac
17964 fi
17965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17966 conftest$ac_exeext conftest.$ac_ext
17967 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17968 LIBS="$LIBS $LIBICONV"
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971
17972 #include <libintl.h>
17973 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17974 extern int _nl_msg_cat_cntr;
17975 extern
17976 #ifdef __cplusplus
17977 "C"
17978 #endif
17979 const char *_nl_expand_alias (const char *);
17980 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
17981 #else
17982 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
17983 #endif
17984 $gt_revision_test_code
17985
17986 int
17987 main (void)
17988 {
17989
17990 bindtextdomain ("", "");
17991 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
17992
17993 ;
17994 return 0;
17995 }
17996 _ACEOF
17997 if ac_fn_c_try_link "$LINENO"
17998 then :
17999 LIBINTL="$LIBINTL $LIBICONV"
18000 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
18001 eval "$gt_func_gnugettext_libintl=yes"
18002
18003 fi
18004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18005 conftest$ac_exeext conftest.$ac_ext
18006 fi
18007 CPPFLAGS="$gt_save_CPPFLAGS"
18008 LIBS="$gt_save_LIBS" ;;
18009 esac
18010 fi
18011 eval ac_res=\$$gt_func_gnugettext_libintl
18012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18013 printf "%s\n" "$ac_res" >&6; }
18014 fi
18015
18016 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
18017 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
18018 && test "$PACKAGE" != gettext-runtime \
18019 && test "$PACKAGE" != gettext-tools; }; then
18020 gt_use_preinstalled_gnugettext=yes
18021 else
18022 LIBINTL=
18023 LTLIBINTL=
18024 INCINTL=
18025 fi
18026
18027
18028
18029 if test -n "$INTL_MACOSX_LIBS"; then
18030 if test "$gt_use_preinstalled_gnugettext" = "yes" \
18031 || test "$nls_cv_use_gnu_gettext" = "yes"; then
18032 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
18033 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
18034 fi
18035 fi
18036
18037 if test "$gt_use_preinstalled_gnugettext" = "yes" \
18038 || test "$nls_cv_use_gnu_gettext" = "yes"; then
18039
18040 printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
18041
18042 else
18043 USE_NLS=no
18044 fi
18045 fi
18046
18047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
18048 printf %s "checking whether to use NLS... " >&6; }
18049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18050 printf "%s\n" "$USE_NLS" >&6; }
18051 if test "$USE_NLS" = "yes"; then
18052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
18053 printf %s "checking where the gettext function comes from... " >&6; }
18054 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18055 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18056 gt_source="external libintl"
18057 else
18058 gt_source="libc"
18059 fi
18060 else
18061 gt_source="included intl directory"
18062 fi
18063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
18064 printf "%s\n" "$gt_source" >&6; }
18065 fi
18066
18067 if test "$USE_NLS" = "yes"; then
18068
18069 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18070 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
18072 printf %s "checking how to link with libintl... " >&6; }
18073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
18074 printf "%s\n" "$LIBINTL" >&6; }
18075
18076 for element in $INCINTL; do
18077 haveit=
18078 for x in $CPPFLAGS; do
18079
18080 acl_save_prefix="$prefix"
18081 prefix="$acl_final_prefix"
18082 acl_save_exec_prefix="$exec_prefix"
18083 exec_prefix="$acl_final_exec_prefix"
18084 eval x=\"$x\"
18085 exec_prefix="$acl_save_exec_prefix"
18086 prefix="$acl_save_prefix"
18087
18088 if test "X$x" = "X$element"; then
18089 haveit=yes
18090 break
18091 fi
18092 done
18093 if test -z "$haveit"; then
18094 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18095 fi
18096 done
18097
18098 fi
18099
18100
18101 printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
18102
18103
18104 printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
18105
18106 fi
18107
18108 POSUB=po
18109 fi
18110
18111
18112
18113 INTLLIBS="$LIBINTL"
18114
18115
18116
18117
18118
18119
18120
18121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing bind_textdomain_codeset" >&5
18122 printf %s "checking for library containing bind_textdomain_codeset... " >&6; }
18123 if test ${ac_cv_search_bind_textdomain_codeset+y}
18124 then :
18125 printf %s "(cached) " >&6
18126 else case e in #(
18127 e) ac_func_search_save_LIBS=$LIBS
18128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h. */
18130
18131 /* Override any GCC internal prototype to avoid an error.
18132 Use char because int might match the return type of a GCC
18133 builtin and then its argument prototype would still apply.
18134 The 'extern "C"' is for builds by C++ compilers;
18135 although this is not generally supported in C code supporting it here
18136 has little cost and some practical benefit (sr 110532). */
18137 #ifdef __cplusplus
18138 extern "C"
18139 #endif
18140 char bind_textdomain_codeset (void);
18141 int
18142 main (void)
18143 {
18144 return bind_textdomain_codeset ();
18145 ;
18146 return 0;
18147 }
18148 _ACEOF
18149 for ac_lib in '' intl
18150 do
18151 if test -z "$ac_lib"; then
18152 ac_res="none required"
18153 else
18154 ac_res=-l$ac_lib
18155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18156 fi
18157 if ac_fn_c_try_link "$LINENO"
18158 then :
18159 ac_cv_search_bind_textdomain_codeset=$ac_res
18160 fi
18161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18162 conftest$ac_exeext
18163 if test ${ac_cv_search_bind_textdomain_codeset+y}
18164 then :
18165 break
18166 fi
18167 done
18168 if test ${ac_cv_search_bind_textdomain_codeset+y}
18169 then :
18170
18171 else case e in #(
18172 e) ac_cv_search_bind_textdomain_codeset=no ;;
18173 esac
18174 fi
18175 rm conftest.$ac_ext
18176 LIBS=$ac_func_search_save_LIBS ;;
18177 esac
18178 fi
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind_textdomain_codeset" >&5
18180 printf "%s\n" "$ac_cv_search_bind_textdomain_codeset" >&6; }
18181 ac_res=$ac_cv_search_bind_textdomain_codeset
18182 if test "$ac_res" != no
18183 then :
18184 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18185
18186 printf "%s\n" "#define HAVE_BIND_TEXTDOMAIN_CODESET 1" >>confdefs.h
18187
18188 fi
18189
18190
18191
18192
18193 # minimum supported version of pkg-config
18194 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18205 if test -n "$ac_tool_prefix"; then
18206 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18207 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18209 printf %s "checking for $ac_word... " >&6; }
18210 if test ${ac_cv_path_PKG_CONFIG+y}
18211 then :
18212 printf %s "(cached) " >&6
18213 else case e in #(
18214 e) case $PKG_CONFIG in
18215 [\\/]* | ?:[\\/]*)
18216 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18217 ;;
18218 *)
18219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18220 for as_dir in $PATH
18221 do
18222 IFS=$as_save_IFS
18223 case $as_dir in #(((
18224 '') as_dir=./ ;;
18225 */) ;;
18226 *) as_dir=$as_dir/ ;;
18227 esac
18228 for ac_exec_ext in '' $ac_executable_extensions; do
18229 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18230 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18232 break 2
18233 fi
18234 done
18235 done
18236 IFS=$as_save_IFS
18237
18238 ;;
18239 esac ;;
18240 esac
18241 fi
18242 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18243 if test -n "$PKG_CONFIG"; then
18244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18245 printf "%s\n" "$PKG_CONFIG" >&6; }
18246 else
18247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18248 printf "%s\n" "no" >&6; }
18249 fi
18250
18251
18252 fi
18253 if test -z "$ac_cv_path_PKG_CONFIG"; then
18254 ac_pt_PKG_CONFIG=$PKG_CONFIG
18255 # Extract the first word of "pkg-config", so it can be a program name with args.
18256 set dummy pkg-config; ac_word=$2
18257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18258 printf %s "checking for $ac_word... " >&6; }
18259 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
18260 then :
18261 printf %s "(cached) " >&6
18262 else case e in #(
18263 e) case $ac_pt_PKG_CONFIG in
18264 [\\/]* | ?:[\\/]*)
18265 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18266 ;;
18267 *)
18268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18269 for as_dir in $PATH
18270 do
18271 IFS=$as_save_IFS
18272 case $as_dir in #(((
18273 '') as_dir=./ ;;
18274 */) ;;
18275 *) as_dir=$as_dir/ ;;
18276 esac
18277 for ac_exec_ext in '' $ac_executable_extensions; do
18278 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18279 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18281 break 2
18282 fi
18283 done
18284 done
18285 IFS=$as_save_IFS
18286
18287 ;;
18288 esac ;;
18289 esac
18290 fi
18291 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18292 if test -n "$ac_pt_PKG_CONFIG"; then
18293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18294 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
18295 else
18296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18297 printf "%s\n" "no" >&6; }
18298 fi
18299
18300 if test "x$ac_pt_PKG_CONFIG" = x; then
18301 PKG_CONFIG=""
18302 else
18303 case $cross_compiling:$ac_tool_warned in
18304 yes:)
18305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18306 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18307 ac_tool_warned=yes ;;
18308 esac
18309 PKG_CONFIG=$ac_pt_PKG_CONFIG
18310 fi
18311 else
18312 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18313 fi
18314
18315 fi
18316 if test -n "$PKG_CONFIG"; then
18317 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18319 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18320 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18322 printf "%s\n" "yes" >&6; }
18323 else
18324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18325 printf "%s\n" "no" >&6; }
18326 PKG_CONFIG=""
18327 fi
18328 fi
18329 if test -z "$PKG_CONFIG"; then
18330 as_fn_error $? "pkg-config not found" "$LINENO" 5
18331 fi
18332
18333 if test x"$PKG_CONFIG" = x""; then
18334 echo
18335 echo "*** Your version of pkg-config is too old. You need atleast"
18336 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
18337 echo "*** from the freedesktop.org software repository at"
18338 echo "***"
18339 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
18340 echo "***"
18341 exit 1;
18342 fi
18343
18344
18345
18346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.72.0" >&5
18347 printf %s "checking for glib-2.0 >= 2.72.0... " >&6; }
18348 if $PKG_CONFIG "--atleast-version=2.72.0" "glib-2.0" >/dev/null 2>&1; then
18349 GLIB_VERSION=`$PKG_CONFIG --modversion "glib-2.0"`
18350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_VERSION" >&5
18351 printf "%s\n" "$GLIB_VERSION" >&6; }
18352
18353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
18354 printf %s "checking GLIB_CFLAGS... " >&6; }
18355 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
18357 printf "%s\n" "$GLIB_CFLAGS" >&6; }
18358
18359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
18360 printf %s "checking GLIB_LIBS... " >&6; }
18361 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
18362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
18363 printf "%s\n" "$GLIB_LIBS" >&6; }
18364
18365 GLIB_REQUIRED_VERSION=2.72.0
18366
18367
18368
18369
18370
18371
18372 if test x"GLIB" = x"GLIB"; then
18373
18374 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
18375
18376 fi
18377
18378
18379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: setting GLIB_VERSION_MAX_ALLOWED and GLIB_VERSION_MIN_REQUIRED according to 2.72.0" >&5
18380 printf "%s\n" "$as_me: setting GLIB_VERSION_MAX_ALLOWED and GLIB_VERSION_MIN_REQUIRED according to 2.72.0" >&6;}
18381
18382
18383
18384 printf "%s\n" "#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_72" >>confdefs.h
18385
18386
18387 printf "%s\n" "#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_72" >>confdefs.h
18388
18389
18390
18391
18392
18393 elif $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then
18394 xdt_cv_version=`$PKG_CONFIG --modversion "glib-2.0"`
18395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
18396 printf "%s\n" "found, but $xdt_cv_version" >&6; }
18397
18398
18399 echo "*** The required package glib-2.0 was found on your system,"
18400 echo "*** but the installed version ($xdt_cv_version) is too old."
18401 echo "*** Please upgrade glib-2.0 to atleast version 2.72.0, or adjust"
18402 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
18403 echo "*** the new version of the package in a nonstandard prefix so"
18404 echo "*** pkg-config is able to find it."
18405 exit 1
18406
18407 else
18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18409 printf "%s\n" "not found" >&6; }
18410
18411
18412 echo "*** The required package glib-2.0 was not found on your system."
18413 echo "*** Please install glib-2.0 (atleast version 2.72.0) or adjust"
18414 echo "*** the PKG_CONFIG_PATH environment variable if you"
18415 echo "*** installed the package in a nonstandard prefix so that"
18416 echo "*** pkg-config is able to find it."
18417 exit 1
18418
18419 fi
18420
18421
18422
18423 # minimum supported version of pkg-config
18424 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18435 if test -n "$ac_tool_prefix"; then
18436 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18437 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18439 printf %s "checking for $ac_word... " >&6; }
18440 if test ${ac_cv_path_PKG_CONFIG+y}
18441 then :
18442 printf %s "(cached) " >&6
18443 else case e in #(
18444 e) case $PKG_CONFIG in
18445 [\\/]* | ?:[\\/]*)
18446 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18447 ;;
18448 *)
18449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18450 for as_dir in $PATH
18451 do
18452 IFS=$as_save_IFS
18453 case $as_dir in #(((
18454 '') as_dir=./ ;;
18455 */) ;;
18456 *) as_dir=$as_dir/ ;;
18457 esac
18458 for ac_exec_ext in '' $ac_executable_extensions; do
18459 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18460 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18462 break 2
18463 fi
18464 done
18465 done
18466 IFS=$as_save_IFS
18467
18468 ;;
18469 esac ;;
18470 esac
18471 fi
18472 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18473 if test -n "$PKG_CONFIG"; then
18474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18475 printf "%s\n" "$PKG_CONFIG" >&6; }
18476 else
18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18478 printf "%s\n" "no" >&6; }
18479 fi
18480
18481
18482 fi
18483 if test -z "$ac_cv_path_PKG_CONFIG"; then
18484 ac_pt_PKG_CONFIG=$PKG_CONFIG
18485 # Extract the first word of "pkg-config", so it can be a program name with args.
18486 set dummy pkg-config; ac_word=$2
18487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18488 printf %s "checking for $ac_word... " >&6; }
18489 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
18490 then :
18491 printf %s "(cached) " >&6
18492 else case e in #(
18493 e) case $ac_pt_PKG_CONFIG in
18494 [\\/]* | ?:[\\/]*)
18495 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18496 ;;
18497 *)
18498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18499 for as_dir in $PATH
18500 do
18501 IFS=$as_save_IFS
18502 case $as_dir in #(((
18503 '') as_dir=./ ;;
18504 */) ;;
18505 *) as_dir=$as_dir/ ;;
18506 esac
18507 for ac_exec_ext in '' $ac_executable_extensions; do
18508 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18509 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18511 break 2
18512 fi
18513 done
18514 done
18515 IFS=$as_save_IFS
18516
18517 ;;
18518 esac ;;
18519 esac
18520 fi
18521 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18522 if test -n "$ac_pt_PKG_CONFIG"; then
18523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18524 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
18525 else
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18527 printf "%s\n" "no" >&6; }
18528 fi
18529
18530 if test "x$ac_pt_PKG_CONFIG" = x; then
18531 PKG_CONFIG=""
18532 else
18533 case $cross_compiling:$ac_tool_warned in
18534 yes:)
18535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18536 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18537 ac_tool_warned=yes ;;
18538 esac
18539 PKG_CONFIG=$ac_pt_PKG_CONFIG
18540 fi
18541 else
18542 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18543 fi
18544
18545 fi
18546 if test -n "$PKG_CONFIG"; then
18547 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18549 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18550 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18552 printf "%s\n" "yes" >&6; }
18553 else
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18555 printf "%s\n" "no" >&6; }
18556 PKG_CONFIG=""
18557 fi
18558 fi
18559 if test -z "$PKG_CONFIG"; then
18560 as_fn_error $? "pkg-config not found" "$LINENO" 5
18561 fi
18562
18563 if test x"$PKG_CONFIG" = x""; then
18564 echo
18565 echo "*** Your version of pkg-config is too old. You need atleast"
18566 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
18567 echo "*** from the freedesktop.org software repository at"
18568 echo "***"
18569 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
18570 echo "***"
18571 exit 1;
18572 fi
18573
18574
18575
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.24.0" >&5
18577 printf %s "checking for gtk+-3.0 >= 3.24.0... " >&6; }
18578 if $PKG_CONFIG "--atleast-version=3.24.0" "gtk+-3.0" >/dev/null 2>&1; then
18579 GTK3_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
18580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTK3_VERSION" >&5
18581 printf "%s\n" "$GTK3_VERSION" >&6; }
18582
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GTK3_CFLAGS" >&5
18584 printf %s "checking GTK3_CFLAGS... " >&6; }
18585 GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
18586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTK3_CFLAGS" >&5
18587 printf "%s\n" "$GTK3_CFLAGS" >&6; }
18588
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GTK3_LIBS" >&5
18590 printf %s "checking GTK3_LIBS... " >&6; }
18591 GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
18592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTK3_LIBS" >&5
18593 printf "%s\n" "$GTK3_LIBS" >&6; }
18594
18595 GTK3_REQUIRED_VERSION=3.24.0
18596
18597
18598
18599
18600
18601
18602 if test x"GTK3" = x"GLIB"; then
18603
18604 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
18605
18606 fi
18607
18608
18609
18610
18611 elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
18612 xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
18613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
18614 printf "%s\n" "found, but $xdt_cv_version" >&6; }
18615
18616
18617 echo "*** The required package gtk+-3.0 was found on your system,"
18618 echo "*** but the installed version ($xdt_cv_version) is too old."
18619 echo "*** Please upgrade gtk+-3.0 to atleast version 3.24.0, or adjust"
18620 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
18621 echo "*** the new version of the package in a nonstandard prefix so"
18622 echo "*** pkg-config is able to find it."
18623 exit 1
18624
18625 else
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18627 printf "%s\n" "not found" >&6; }
18628
18629
18630 echo "*** The required package gtk+-3.0 was not found on your system."
18631 echo "*** Please install gtk+-3.0 (atleast version 3.24.0) or adjust"
18632 echo "*** the PKG_CONFIG_PATH environment variable if you"
18633 echo "*** installed the package in a nonstandard prefix so that"
18634 echo "*** pkg-config is able to find it."
18635 exit 1
18636
18637 fi
18638
18639
18640
18641 # minimum supported version of pkg-config
18642 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18653 if test -n "$ac_tool_prefix"; then
18654 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18655 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18657 printf %s "checking for $ac_word... " >&6; }
18658 if test ${ac_cv_path_PKG_CONFIG+y}
18659 then :
18660 printf %s "(cached) " >&6
18661 else case e in #(
18662 e) case $PKG_CONFIG in
18663 [\\/]* | ?:[\\/]*)
18664 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18665 ;;
18666 *)
18667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18668 for as_dir in $PATH
18669 do
18670 IFS=$as_save_IFS
18671 case $as_dir in #(((
18672 '') as_dir=./ ;;
18673 */) ;;
18674 *) as_dir=$as_dir/ ;;
18675 esac
18676 for ac_exec_ext in '' $ac_executable_extensions; do
18677 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18678 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18680 break 2
18681 fi
18682 done
18683 done
18684 IFS=$as_save_IFS
18685
18686 ;;
18687 esac ;;
18688 esac
18689 fi
18690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18691 if test -n "$PKG_CONFIG"; then
18692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18693 printf "%s\n" "$PKG_CONFIG" >&6; }
18694 else
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18696 printf "%s\n" "no" >&6; }
18697 fi
18698
18699
18700 fi
18701 if test -z "$ac_cv_path_PKG_CONFIG"; then
18702 ac_pt_PKG_CONFIG=$PKG_CONFIG
18703 # Extract the first word of "pkg-config", so it can be a program name with args.
18704 set dummy pkg-config; ac_word=$2
18705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18706 printf %s "checking for $ac_word... " >&6; }
18707 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
18708 then :
18709 printf %s "(cached) " >&6
18710 else case e in #(
18711 e) case $ac_pt_PKG_CONFIG in
18712 [\\/]* | ?:[\\/]*)
18713 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18714 ;;
18715 *)
18716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18717 for as_dir in $PATH
18718 do
18719 IFS=$as_save_IFS
18720 case $as_dir in #(((
18721 '') as_dir=./ ;;
18722 */) ;;
18723 *) as_dir=$as_dir/ ;;
18724 esac
18725 for ac_exec_ext in '' $ac_executable_extensions; do
18726 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18727 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18729 break 2
18730 fi
18731 done
18732 done
18733 IFS=$as_save_IFS
18734
18735 ;;
18736 esac ;;
18737 esac
18738 fi
18739 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18740 if test -n "$ac_pt_PKG_CONFIG"; then
18741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18742 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
18743 else
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18745 printf "%s\n" "no" >&6; }
18746 fi
18747
18748 if test "x$ac_pt_PKG_CONFIG" = x; then
18749 PKG_CONFIG=""
18750 else
18751 case $cross_compiling:$ac_tool_warned in
18752 yes:)
18753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18755 ac_tool_warned=yes ;;
18756 esac
18757 PKG_CONFIG=$ac_pt_PKG_CONFIG
18758 fi
18759 else
18760 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18761 fi
18762
18763 fi
18764 if test -n "$PKG_CONFIG"; then
18765 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18767 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18768 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18770 printf "%s\n" "yes" >&6; }
18771 else
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18773 printf "%s\n" "no" >&6; }
18774 PKG_CONFIG=""
18775 fi
18776 fi
18777 if test -z "$PKG_CONFIG"; then
18778 as_fn_error $? "pkg-config not found" "$LINENO" 5
18779 fi
18780
18781 if test x"$PKG_CONFIG" = x""; then
18782 echo
18783 echo "*** Your version of pkg-config is too old. You need atleast"
18784 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
18785 echo "*** from the freedesktop.org software repository at"
18786 echo "***"
18787 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
18788 echo "***"
18789 exit 1;
18790 fi
18791
18792
18793
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.17.2" >&5
18795 printf %s "checking for libxfce4util-1.0 >= 4.17.2... " >&6; }
18796 if $PKG_CONFIG "--atleast-version=4.17.2" "libxfce4util-1.0" >/dev/null 2>&1; then
18797 LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5
18799 printf "%s\n" "$LIBXFCE4UTIL_VERSION" >&6; }
18800
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5
18802 printf %s "checking LIBXFCE4UTIL_CFLAGS... " >&6; }
18803 LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
18804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5
18805 printf "%s\n" "$LIBXFCE4UTIL_CFLAGS" >&6; }
18806
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5
18808 printf %s "checking LIBXFCE4UTIL_LIBS... " >&6; }
18809 LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
18810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5
18811 printf "%s\n" "$LIBXFCE4UTIL_LIBS" >&6; }
18812
18813 LIBXFCE4UTIL_REQUIRED_VERSION=4.17.2
18814
18815
18816
18817
18818
18819
18820 if test x"LIBXFCE4UTIL" = x"GLIB"; then
18821
18822 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
18823
18824 fi
18825
18826
18827
18828
18829 elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
18830 xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
18831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
18832 printf "%s\n" "found, but $xdt_cv_version" >&6; }
18833
18834
18835 echo "*** The required package libxfce4util-1.0 was found on your system,"
18836 echo "*** but the installed version ($xdt_cv_version) is too old."
18837 echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.17.2, or adjust"
18838 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
18839 echo "*** the new version of the package in a nonstandard prefix so"
18840 echo "*** pkg-config is able to find it."
18841 exit 1
18842
18843 else
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18845 printf "%s\n" "not found" >&6; }
18846
18847
18848 echo "*** The required package libxfce4util-1.0 was not found on your system."
18849 echo "*** Please install libxfce4util-1.0 (atleast version 4.17.2) or adjust"
18850 echo "*** the PKG_CONFIG_PATH environment variable if you"
18851 echo "*** installed the package in a nonstandard prefix so that"
18852 echo "*** pkg-config is able to find it."
18853 exit 1
18854
18855 fi
18856
18857
18858
18859 # minimum supported version of pkg-config
18860 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18871 if test -n "$ac_tool_prefix"; then
18872 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18873 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18875 printf %s "checking for $ac_word... " >&6; }
18876 if test ${ac_cv_path_PKG_CONFIG+y}
18877 then :
18878 printf %s "(cached) " >&6
18879 else case e in #(
18880 e) case $PKG_CONFIG in
18881 [\\/]* | ?:[\\/]*)
18882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18883 ;;
18884 *)
18885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18886 for as_dir in $PATH
18887 do
18888 IFS=$as_save_IFS
18889 case $as_dir in #(((
18890 '') as_dir=./ ;;
18891 */) ;;
18892 *) as_dir=$as_dir/ ;;
18893 esac
18894 for ac_exec_ext in '' $ac_executable_extensions; do
18895 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18896 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18898 break 2
18899 fi
18900 done
18901 done
18902 IFS=$as_save_IFS
18903
18904 ;;
18905 esac ;;
18906 esac
18907 fi
18908 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18909 if test -n "$PKG_CONFIG"; then
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18911 printf "%s\n" "$PKG_CONFIG" >&6; }
18912 else
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18914 printf "%s\n" "no" >&6; }
18915 fi
18916
18917
18918 fi
18919 if test -z "$ac_cv_path_PKG_CONFIG"; then
18920 ac_pt_PKG_CONFIG=$PKG_CONFIG
18921 # Extract the first word of "pkg-config", so it can be a program name with args.
18922 set dummy pkg-config; ac_word=$2
18923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18924 printf %s "checking for $ac_word... " >&6; }
18925 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
18926 then :
18927 printf %s "(cached) " >&6
18928 else case e in #(
18929 e) case $ac_pt_PKG_CONFIG in
18930 [\\/]* | ?:[\\/]*)
18931 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18932 ;;
18933 *)
18934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18935 for as_dir in $PATH
18936 do
18937 IFS=$as_save_IFS
18938 case $as_dir in #(((
18939 '') as_dir=./ ;;
18940 */) ;;
18941 *) as_dir=$as_dir/ ;;
18942 esac
18943 for ac_exec_ext in '' $ac_executable_extensions; do
18944 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18945 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18947 break 2
18948 fi
18949 done
18950 done
18951 IFS=$as_save_IFS
18952
18953 ;;
18954 esac ;;
18955 esac
18956 fi
18957 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18958 if test -n "$ac_pt_PKG_CONFIG"; then
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18960 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
18961 else
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18963 printf "%s\n" "no" >&6; }
18964 fi
18965
18966 if test "x$ac_pt_PKG_CONFIG" = x; then
18967 PKG_CONFIG=""
18968 else
18969 case $cross_compiling:$ac_tool_warned in
18970 yes:)
18971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18972 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18973 ac_tool_warned=yes ;;
18974 esac
18975 PKG_CONFIG=$ac_pt_PKG_CONFIG
18976 fi
18977 else
18978 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18979 fi
18980
18981 fi
18982 if test -n "$PKG_CONFIG"; then
18983 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18985 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18986 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18988 printf "%s\n" "yes" >&6; }
18989 else
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18991 printf "%s\n" "no" >&6; }
18992 PKG_CONFIG=""
18993 fi
18994 fi
18995 if test -z "$PKG_CONFIG"; then
18996 as_fn_error $? "pkg-config not found" "$LINENO" 5
18997 fi
18998
18999 if test x"$PKG_CONFIG" = x""; then
19000 echo
19001 echo "*** Your version of pkg-config is too old. You need atleast"
19002 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
19003 echo "*** from the freedesktop.org software repository at"
19004 echo "***"
19005 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
19006 echo "***"
19007 exit 1;
19008 fi
19009
19010
19011
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxfconf-0 >= 4.12.0" >&5
19013 printf %s "checking for libxfconf-0 >= 4.12.0... " >&6; }
19014 if $PKG_CONFIG "--atleast-version=4.12.0" "libxfconf-0" >/dev/null 2>&1; then
19015 XFCONF_VERSION=`$PKG_CONFIG --modversion "libxfconf-0"`
19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XFCONF_VERSION" >&5
19017 printf "%s\n" "$XFCONF_VERSION" >&6; }
19018
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking XFCONF_CFLAGS" >&5
19020 printf %s "checking XFCONF_CFLAGS... " >&6; }
19021 XFCONF_CFLAGS=`$PKG_CONFIG --cflags "libxfconf-0"`
19022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XFCONF_CFLAGS" >&5
19023 printf "%s\n" "$XFCONF_CFLAGS" >&6; }
19024
19025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking XFCONF_LIBS" >&5
19026 printf %s "checking XFCONF_LIBS... " >&6; }
19027 XFCONF_LIBS=`$PKG_CONFIG --libs "libxfconf-0"`
19028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XFCONF_LIBS" >&5
19029 printf "%s\n" "$XFCONF_LIBS" >&6; }
19030
19031 XFCONF_REQUIRED_VERSION=4.12.0
19032
19033
19034
19035
19036
19037
19038 if test x"XFCONF" = x"GLIB"; then
19039
19040 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
19041
19042 fi
19043
19044
19045
19046
19047 elif $PKG_CONFIG --exists "libxfconf-0" >/dev/null 2>&1; then
19048 xdt_cv_version=`$PKG_CONFIG --modversion "libxfconf-0"`
19049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
19050 printf "%s\n" "found, but $xdt_cv_version" >&6; }
19051
19052
19053 echo "*** The required package libxfconf-0 was found on your system,"
19054 echo "*** but the installed version ($xdt_cv_version) is too old."
19055 echo "*** Please upgrade libxfconf-0 to atleast version 4.12.0, or adjust"
19056 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
19057 echo "*** the new version of the package in a nonstandard prefix so"
19058 echo "*** pkg-config is able to find it."
19059 exit 1
19060
19061 else
19062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19063 printf "%s\n" "not found" >&6; }
19064
19065
19066 echo "*** The required package libxfconf-0 was not found on your system."
19067 echo "*** Please install libxfconf-0 (atleast version 4.12.0) or adjust"
19068 echo "*** the PKG_CONFIG_PATH environment variable if you"
19069 echo "*** installed the package in a nonstandard prefix so that"
19070 echo "*** pkg-config is able to find it."
19071 exit 1
19072
19073 fi
19074
19075
19076
19077 # Check whether --enable-x11 was given.
19078 if test ${enable_x11+y}
19079 then :
19080 enableval=$enable_x11; xdt_cv_X11_enabled=$enableval
19081 else case e in #(
19082 e) xdt_cv_X11_enabled=auto ;;
19083 esac
19084 fi
19085
19086
19087 if test x"$xdt_cv_X11_enabled" != x"no"; then
19088 xdt_feature_deps_check_only=yes
19089 xdt_feature_deps_missing=
19090
19091
19092
19093
19094 if test x"$xdt_feature_deps_check_only" = x"yes"; then
19095 if ! $PKG_CONFIG --exists "gdk-x11-3.0 >= 3.24.0" >/dev/null 2>&1; then
19096 if test x"$xdt_feature_deps_missing" = x""; then
19097 xdt_feature_deps_missing="gdk-x11-3.0 >= 3.24.0"
19098 else
19099 xdt_feature_deps_missing="$xdt_feature_deps_missing, gdk-x11-3.0 >= 3.24.0"
19100 fi
19101 fi
19102 else
19103
19104
19105 # minimum supported version of pkg-config
19106 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19117 if test -n "$ac_tool_prefix"; then
19118 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19119 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19121 printf %s "checking for $ac_word... " >&6; }
19122 if test ${ac_cv_path_PKG_CONFIG+y}
19123 then :
19124 printf %s "(cached) " >&6
19125 else case e in #(
19126 e) case $PKG_CONFIG in
19127 [\\/]* | ?:[\\/]*)
19128 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19129 ;;
19130 *)
19131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19132 for as_dir in $PATH
19133 do
19134 IFS=$as_save_IFS
19135 case $as_dir in #(((
19136 '') as_dir=./ ;;
19137 */) ;;
19138 *) as_dir=$as_dir/ ;;
19139 esac
19140 for ac_exec_ext in '' $ac_executable_extensions; do
19141 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19142 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
19143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19144 break 2
19145 fi
19146 done
19147 done
19148 IFS=$as_save_IFS
19149
19150 ;;
19151 esac ;;
19152 esac
19153 fi
19154 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19155 if test -n "$PKG_CONFIG"; then
19156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19157 printf "%s\n" "$PKG_CONFIG" >&6; }
19158 else
19159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19160 printf "%s\n" "no" >&6; }
19161 fi
19162
19163
19164 fi
19165 if test -z "$ac_cv_path_PKG_CONFIG"; then
19166 ac_pt_PKG_CONFIG=$PKG_CONFIG
19167 # Extract the first word of "pkg-config", so it can be a program name with args.
19168 set dummy pkg-config; ac_word=$2
19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19170 printf %s "checking for $ac_word... " >&6; }
19171 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
19172 then :
19173 printf %s "(cached) " >&6
19174 else case e in #(
19175 e) case $ac_pt_PKG_CONFIG in
19176 [\\/]* | ?:[\\/]*)
19177 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19178 ;;
19179 *)
19180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19181 for as_dir in $PATH
19182 do
19183 IFS=$as_save_IFS
19184 case $as_dir in #(((
19185 '') as_dir=./ ;;
19186 */) ;;
19187 *) as_dir=$as_dir/ ;;
19188 esac
19189 for ac_exec_ext in '' $ac_executable_extensions; do
19190 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19191 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
19192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19193 break 2
19194 fi
19195 done
19196 done
19197 IFS=$as_save_IFS
19198
19199 ;;
19200 esac ;;
19201 esac
19202 fi
19203 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19204 if test -n "$ac_pt_PKG_CONFIG"; then
19205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19206 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
19207 else
19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19209 printf "%s\n" "no" >&6; }
19210 fi
19211
19212 if test "x$ac_pt_PKG_CONFIG" = x; then
19213 PKG_CONFIG=""
19214 else
19215 case $cross_compiling:$ac_tool_warned in
19216 yes:)
19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19219 ac_tool_warned=yes ;;
19220 esac
19221 PKG_CONFIG=$ac_pt_PKG_CONFIG
19222 fi
19223 else
19224 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19225 fi
19226
19227 fi
19228 if test -n "$PKG_CONFIG"; then
19229 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
19230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19231 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19232 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19234 printf "%s\n" "yes" >&6; }
19235 else
19236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19237 printf "%s\n" "no" >&6; }
19238 PKG_CONFIG=""
19239 fi
19240 fi
19241 if test -z "$PKG_CONFIG"; then
19242 as_fn_error $? "pkg-config not found" "$LINENO" 5
19243 fi
19244
19245 if test x"$PKG_CONFIG" = x""; then
19246 echo
19247 echo "*** Your version of pkg-config is too old. You need atleast"
19248 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
19249 echo "*** from the freedesktop.org software repository at"
19250 echo "***"
19251 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
19252 echo "***"
19253 exit 1;
19254 fi
19255
19256
19257
19258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-x11-3.0 >= 3.24.0" >&5
19259 printf %s "checking for gdk-x11-3.0 >= 3.24.0... " >&6; }
19260 if $PKG_CONFIG "--atleast-version=3.24.0" "gdk-x11-3.0" >/dev/null 2>&1; then
19261 GDK_X11_VERSION=`$PKG_CONFIG --modversion "gdk-x11-3.0"`
19262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_X11_VERSION" >&5
19263 printf "%s\n" "$GDK_X11_VERSION" >&6; }
19264
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GDK_X11_CFLAGS" >&5
19266 printf %s "checking GDK_X11_CFLAGS... " >&6; }
19267 GDK_X11_CFLAGS=`$PKG_CONFIG --cflags "gdk-x11-3.0"`
19268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_X11_CFLAGS" >&5
19269 printf "%s\n" "$GDK_X11_CFLAGS" >&6; }
19270
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GDK_X11_LIBS" >&5
19272 printf %s "checking GDK_X11_LIBS... " >&6; }
19273 GDK_X11_LIBS=`$PKG_CONFIG --libs "gdk-x11-3.0"`
19274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_X11_LIBS" >&5
19275 printf "%s\n" "$GDK_X11_LIBS" >&6; }
19276
19277 GDK_X11_REQUIRED_VERSION=3.24.0
19278
19279
19280
19281
19282
19283
19284 if test x"GDK_X11" = x"GLIB"; then
19285
19286 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
19287
19288 fi
19289
19290
19291
19292
19293
19294 printf "%s\n" "#define HAVE_GDK_X11 1" >>confdefs.h
19295
19296 GDK_X11_FOUND="yes"
19297
19298 elif $PKG_CONFIG --exists "gdk-x11-3.0" >/dev/null 2>&1; then
19299 xdt_cv_version=`$PKG_CONFIG --modversion "gdk-x11-3.0"`
19300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
19301 printf "%s\n" "found, but $xdt_cv_version" >&6; }
19302
19303
19304 echo "*** The required package gdk-x11-3.0 was found on your system,"
19305 echo "*** but the installed version ($xdt_cv_version) is too old."
19306 echo "*** Please upgrade gdk-x11-3.0 to atleast version 3.24.0, or adjust"
19307 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
19308 echo "*** the new version of the package in a nonstandard prefix so"
19309 echo "*** pkg-config is able to find it."
19310 exit 1
19311
19312 else
19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19314 printf "%s\n" "not found" >&6; }
19315
19316
19317 echo "*** The required package gdk-x11-3.0 was not found on your system."
19318 echo "*** Please install gdk-x11-3.0 (atleast version 3.24.0) or adjust"
19319 echo "*** the PKG_CONFIG_PATH environment variable if you"
19320 echo "*** installed the package in a nonstandard prefix so that"
19321 echo "*** pkg-config is able to find it."
19322 exit 1
19323
19324 fi
19325
19326 fi
19327
19328
19329
19330
19331 if test x"$xdt_feature_deps_check_only" = x"yes"; then
19332 if ! $PKG_CONFIG --exists "x11 >= 1.6.7" >/dev/null 2>&1; then
19333 if test x"$xdt_feature_deps_missing" = x""; then
19334 xdt_feature_deps_missing="x11 >= 1.6.7"
19335 else
19336 xdt_feature_deps_missing="$xdt_feature_deps_missing, x11 >= 1.6.7"
19337 fi
19338 fi
19339 else
19340
19341
19342 # minimum supported version of pkg-config
19343 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19354 if test -n "$ac_tool_prefix"; then
19355 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19356 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19358 printf %s "checking for $ac_word... " >&6; }
19359 if test ${ac_cv_path_PKG_CONFIG+y}
19360 then :
19361 printf %s "(cached) " >&6
19362 else case e in #(
19363 e) case $PKG_CONFIG in
19364 [\\/]* | ?:[\\/]*)
19365 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19366 ;;
19367 *)
19368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19369 for as_dir in $PATH
19370 do
19371 IFS=$as_save_IFS
19372 case $as_dir in #(((
19373 '') as_dir=./ ;;
19374 */) ;;
19375 *) as_dir=$as_dir/ ;;
19376 esac
19377 for ac_exec_ext in '' $ac_executable_extensions; do
19378 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19379 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
19380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19381 break 2
19382 fi
19383 done
19384 done
19385 IFS=$as_save_IFS
19386
19387 ;;
19388 esac ;;
19389 esac
19390 fi
19391 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19392 if test -n "$PKG_CONFIG"; then
19393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19394 printf "%s\n" "$PKG_CONFIG" >&6; }
19395 else
19396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19397 printf "%s\n" "no" >&6; }
19398 fi
19399
19400
19401 fi
19402 if test -z "$ac_cv_path_PKG_CONFIG"; then
19403 ac_pt_PKG_CONFIG=$PKG_CONFIG
19404 # Extract the first word of "pkg-config", so it can be a program name with args.
19405 set dummy pkg-config; ac_word=$2
19406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19407 printf %s "checking for $ac_word... " >&6; }
19408 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
19409 then :
19410 printf %s "(cached) " >&6
19411 else case e in #(
19412 e) case $ac_pt_PKG_CONFIG in
19413 [\\/]* | ?:[\\/]*)
19414 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19415 ;;
19416 *)
19417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19418 for as_dir in $PATH
19419 do
19420 IFS=$as_save_IFS
19421 case $as_dir in #(((
19422 '') as_dir=./ ;;
19423 */) ;;
19424 *) as_dir=$as_dir/ ;;
19425 esac
19426 for ac_exec_ext in '' $ac_executable_extensions; do
19427 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19428 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
19429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19430 break 2
19431 fi
19432 done
19433 done
19434 IFS=$as_save_IFS
19435
19436 ;;
19437 esac ;;
19438 esac
19439 fi
19440 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19441 if test -n "$ac_pt_PKG_CONFIG"; then
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19443 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
19444 else
19445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19446 printf "%s\n" "no" >&6; }
19447 fi
19448
19449 if test "x$ac_pt_PKG_CONFIG" = x; then
19450 PKG_CONFIG=""
19451 else
19452 case $cross_compiling:$ac_tool_warned in
19453 yes:)
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19455 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19456 ac_tool_warned=yes ;;
19457 esac
19458 PKG_CONFIG=$ac_pt_PKG_CONFIG
19459 fi
19460 else
19461 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19462 fi
19463
19464 fi
19465 if test -n "$PKG_CONFIG"; then
19466 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
19467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19468 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19469 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19471 printf "%s\n" "yes" >&6; }
19472 else
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19474 printf "%s\n" "no" >&6; }
19475 PKG_CONFIG=""
19476 fi
19477 fi
19478 if test -z "$PKG_CONFIG"; then
19479 as_fn_error $? "pkg-config not found" "$LINENO" 5
19480 fi
19481
19482 if test x"$PKG_CONFIG" = x""; then
19483 echo
19484 echo "*** Your version of pkg-config is too old. You need atleast"
19485 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
19486 echo "*** from the freedesktop.org software repository at"
19487 echo "***"
19488 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
19489 echo "***"
19490 exit 1;
19491 fi
19492
19493
19494
19495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 >= 1.6.7" >&5
19496 printf %s "checking for x11 >= 1.6.7... " >&6; }
19497 if $PKG_CONFIG "--atleast-version=1.6.7" "x11" >/dev/null 2>&1; then
19498 LIBX11_VERSION=`$PKG_CONFIG --modversion "x11"`
19499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_VERSION" >&5
19500 printf "%s\n" "$LIBX11_VERSION" >&6; }
19501
19502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBX11_CFLAGS" >&5
19503 printf %s "checking LIBX11_CFLAGS... " >&6; }
19504 LIBX11_CFLAGS=`$PKG_CONFIG --cflags "x11"`
19505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_CFLAGS" >&5
19506 printf "%s\n" "$LIBX11_CFLAGS" >&6; }
19507
19508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBX11_LIBS" >&5
19509 printf %s "checking LIBX11_LIBS... " >&6; }
19510 LIBX11_LIBS=`$PKG_CONFIG --libs "x11"`
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_LIBS" >&5
19512 printf "%s\n" "$LIBX11_LIBS" >&6; }
19513
19514 LIBX11_REQUIRED_VERSION=1.6.7
19515
19516
19517
19518
19519
19520
19521 if test x"LIBX11" = x"GLIB"; then
19522
19523 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
19524
19525 fi
19526
19527
19528
19529
19530
19531 printf "%s\n" "#define HAVE_LIBX11 1" >>confdefs.h
19532
19533 LIBX11_FOUND="yes"
19534
19535 elif $PKG_CONFIG --exists "x11" >/dev/null 2>&1; then
19536 xdt_cv_version=`$PKG_CONFIG --modversion "x11"`
19537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
19538 printf "%s\n" "found, but $xdt_cv_version" >&6; }
19539
19540
19541 echo "*** The required package x11 was found on your system,"
19542 echo "*** but the installed version ($xdt_cv_version) is too old."
19543 echo "*** Please upgrade x11 to atleast version 1.6.7, or adjust"
19544 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
19545 echo "*** the new version of the package in a nonstandard prefix so"
19546 echo "*** pkg-config is able to find it."
19547 exit 1
19548
19549 else
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19551 printf "%s\n" "not found" >&6; }
19552
19553
19554 echo "*** The required package x11 was not found on your system."
19555 echo "*** Please install x11 (atleast version 1.6.7) or adjust"
19556 echo "*** the PKG_CONFIG_PATH environment variable if you"
19557 echo "*** installed the package in a nonstandard prefix so that"
19558 echo "*** pkg-config is able to find it."
19559 exit 1
19560
19561 fi
19562
19563 fi
19564
19565
19566 if test x"$xdt_feature_deps_missing" = x""; then
19567 xdt_feature_deps_check_only=
19568
19569
19570
19571
19572 if test x"$xdt_feature_deps_check_only" = x"yes"; then
19573 if ! $PKG_CONFIG --exists "gdk-x11-3.0 >= 3.24.0" >/dev/null 2>&1; then
19574 if test x"$xdt_feature_deps_missing" = x""; then
19575 xdt_feature_deps_missing="gdk-x11-3.0 >= 3.24.0"
19576 else
19577 xdt_feature_deps_missing="$xdt_feature_deps_missing, gdk-x11-3.0 >= 3.24.0"
19578 fi
19579 fi
19580 else
19581
19582
19583 # minimum supported version of pkg-config
19584 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19595 if test -n "$ac_tool_prefix"; then
19596 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19597 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19599 printf %s "checking for $ac_word... " >&6; }
19600 if test ${ac_cv_path_PKG_CONFIG+y}
19601 then :
19602 printf %s "(cached) " >&6
19603 else case e in #(
19604 e) case $PKG_CONFIG in
19605 [\\/]* | ?:[\\/]*)
19606 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19607 ;;
19608 *)
19609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19610 for as_dir in $PATH
19611 do
19612 IFS=$as_save_IFS
19613 case $as_dir in #(((
19614 '') as_dir=./ ;;
19615 */) ;;
19616 *) as_dir=$as_dir/ ;;
19617 esac
19618 for ac_exec_ext in '' $ac_executable_extensions; do
19619 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19620 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
19621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19622 break 2
19623 fi
19624 done
19625 done
19626 IFS=$as_save_IFS
19627
19628 ;;
19629 esac ;;
19630 esac
19631 fi
19632 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19633 if test -n "$PKG_CONFIG"; then
19634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19635 printf "%s\n" "$PKG_CONFIG" >&6; }
19636 else
19637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19638 printf "%s\n" "no" >&6; }
19639 fi
19640
19641
19642 fi
19643 if test -z "$ac_cv_path_PKG_CONFIG"; then
19644 ac_pt_PKG_CONFIG=$PKG_CONFIG
19645 # Extract the first word of "pkg-config", so it can be a program name with args.
19646 set dummy pkg-config; ac_word=$2
19647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19648 printf %s "checking for $ac_word... " >&6; }
19649 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
19650 then :
19651 printf %s "(cached) " >&6
19652 else case e in #(
19653 e) case $ac_pt_PKG_CONFIG in
19654 [\\/]* | ?:[\\/]*)
19655 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19656 ;;
19657 *)
19658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19659 for as_dir in $PATH
19660 do
19661 IFS=$as_save_IFS
19662 case $as_dir in #(((
19663 '') as_dir=./ ;;
19664 */) ;;
19665 *) as_dir=$as_dir/ ;;
19666 esac
19667 for ac_exec_ext in '' $ac_executable_extensions; do
19668 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19669 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
19670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19671 break 2
19672 fi
19673 done
19674 done
19675 IFS=$as_save_IFS
19676
19677 ;;
19678 esac ;;
19679 esac
19680 fi
19681 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19682 if test -n "$ac_pt_PKG_CONFIG"; then
19683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19684 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
19685 else
19686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19687 printf "%s\n" "no" >&6; }
19688 fi
19689
19690 if test "x$ac_pt_PKG_CONFIG" = x; then
19691 PKG_CONFIG=""
19692 else
19693 case $cross_compiling:$ac_tool_warned in
19694 yes:)
19695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19697 ac_tool_warned=yes ;;
19698 esac
19699 PKG_CONFIG=$ac_pt_PKG_CONFIG
19700 fi
19701 else
19702 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19703 fi
19704
19705 fi
19706 if test -n "$PKG_CONFIG"; then
19707 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
19708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19709 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19710 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19712 printf "%s\n" "yes" >&6; }
19713 else
19714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19715 printf "%s\n" "no" >&6; }
19716 PKG_CONFIG=""
19717 fi
19718 fi
19719 if test -z "$PKG_CONFIG"; then
19720 as_fn_error $? "pkg-config not found" "$LINENO" 5
19721 fi
19722
19723 if test x"$PKG_CONFIG" = x""; then
19724 echo
19725 echo "*** Your version of pkg-config is too old. You need atleast"
19726 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
19727 echo "*** from the freedesktop.org software repository at"
19728 echo "***"
19729 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
19730 echo "***"
19731 exit 1;
19732 fi
19733
19734
19735
19736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-x11-3.0 >= 3.24.0" >&5
19737 printf %s "checking for gdk-x11-3.0 >= 3.24.0... " >&6; }
19738 if $PKG_CONFIG "--atleast-version=3.24.0" "gdk-x11-3.0" >/dev/null 2>&1; then
19739 GDK_X11_VERSION=`$PKG_CONFIG --modversion "gdk-x11-3.0"`
19740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_X11_VERSION" >&5
19741 printf "%s\n" "$GDK_X11_VERSION" >&6; }
19742
19743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GDK_X11_CFLAGS" >&5
19744 printf %s "checking GDK_X11_CFLAGS... " >&6; }
19745 GDK_X11_CFLAGS=`$PKG_CONFIG --cflags "gdk-x11-3.0"`
19746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_X11_CFLAGS" >&5
19747 printf "%s\n" "$GDK_X11_CFLAGS" >&6; }
19748
19749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GDK_X11_LIBS" >&5
19750 printf %s "checking GDK_X11_LIBS... " >&6; }
19751 GDK_X11_LIBS=`$PKG_CONFIG --libs "gdk-x11-3.0"`
19752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_X11_LIBS" >&5
19753 printf "%s\n" "$GDK_X11_LIBS" >&6; }
19754
19755 GDK_X11_REQUIRED_VERSION=3.24.0
19756
19757
19758
19759
19760
19761
19762 if test x"GDK_X11" = x"GLIB"; then
19763
19764 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
19765
19766 fi
19767
19768
19769
19770
19771
19772 printf "%s\n" "#define HAVE_GDK_X11 1" >>confdefs.h
19773
19774 GDK_X11_FOUND="yes"
19775
19776 elif $PKG_CONFIG --exists "gdk-x11-3.0" >/dev/null 2>&1; then
19777 xdt_cv_version=`$PKG_CONFIG --modversion "gdk-x11-3.0"`
19778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
19779 printf "%s\n" "found, but $xdt_cv_version" >&6; }
19780
19781
19782 echo "*** The required package gdk-x11-3.0 was found on your system,"
19783 echo "*** but the installed version ($xdt_cv_version) is too old."
19784 echo "*** Please upgrade gdk-x11-3.0 to atleast version 3.24.0, or adjust"
19785 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
19786 echo "*** the new version of the package in a nonstandard prefix so"
19787 echo "*** pkg-config is able to find it."
19788 exit 1
19789
19790 else
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19792 printf "%s\n" "not found" >&6; }
19793
19794
19795 echo "*** The required package gdk-x11-3.0 was not found on your system."
19796 echo "*** Please install gdk-x11-3.0 (atleast version 3.24.0) or adjust"
19797 echo "*** the PKG_CONFIG_PATH environment variable if you"
19798 echo "*** installed the package in a nonstandard prefix so that"
19799 echo "*** pkg-config is able to find it."
19800 exit 1
19801
19802 fi
19803
19804 fi
19805
19806
19807
19808
19809 if test x"$xdt_feature_deps_check_only" = x"yes"; then
19810 if ! $PKG_CONFIG --exists "x11 >= 1.6.7" >/dev/null 2>&1; then
19811 if test x"$xdt_feature_deps_missing" = x""; then
19812 xdt_feature_deps_missing="x11 >= 1.6.7"
19813 else
19814 xdt_feature_deps_missing="$xdt_feature_deps_missing, x11 >= 1.6.7"
19815 fi
19816 fi
19817 else
19818
19819
19820 # minimum supported version of pkg-config
19821 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19832 if test -n "$ac_tool_prefix"; then
19833 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19834 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19836 printf %s "checking for $ac_word... " >&6; }
19837 if test ${ac_cv_path_PKG_CONFIG+y}
19838 then :
19839 printf %s "(cached) " >&6
19840 else case e in #(
19841 e) case $PKG_CONFIG in
19842 [\\/]* | ?:[\\/]*)
19843 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19844 ;;
19845 *)
19846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19847 for as_dir in $PATH
19848 do
19849 IFS=$as_save_IFS
19850 case $as_dir in #(((
19851 '') as_dir=./ ;;
19852 */) ;;
19853 *) as_dir=$as_dir/ ;;
19854 esac
19855 for ac_exec_ext in '' $ac_executable_extensions; do
19856 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19857 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
19858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19859 break 2
19860 fi
19861 done
19862 done
19863 IFS=$as_save_IFS
19864
19865 ;;
19866 esac ;;
19867 esac
19868 fi
19869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19870 if test -n "$PKG_CONFIG"; then
19871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19872 printf "%s\n" "$PKG_CONFIG" >&6; }
19873 else
19874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19875 printf "%s\n" "no" >&6; }
19876 fi
19877
19878
19879 fi
19880 if test -z "$ac_cv_path_PKG_CONFIG"; then
19881 ac_pt_PKG_CONFIG=$PKG_CONFIG
19882 # Extract the first word of "pkg-config", so it can be a program name with args.
19883 set dummy pkg-config; ac_word=$2
19884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19885 printf %s "checking for $ac_word... " >&6; }
19886 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
19887 then :
19888 printf %s "(cached) " >&6
19889 else case e in #(
19890 e) case $ac_pt_PKG_CONFIG in
19891 [\\/]* | ?:[\\/]*)
19892 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19893 ;;
19894 *)
19895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19896 for as_dir in $PATH
19897 do
19898 IFS=$as_save_IFS
19899 case $as_dir in #(((
19900 '') as_dir=./ ;;
19901 */) ;;
19902 *) as_dir=$as_dir/ ;;
19903 esac
19904 for ac_exec_ext in '' $ac_executable_extensions; do
19905 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19906 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
19907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19908 break 2
19909 fi
19910 done
19911 done
19912 IFS=$as_save_IFS
19913
19914 ;;
19915 esac ;;
19916 esac
19917 fi
19918 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19919 if test -n "$ac_pt_PKG_CONFIG"; then
19920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19921 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
19922 else
19923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19924 printf "%s\n" "no" >&6; }
19925 fi
19926
19927 if test "x$ac_pt_PKG_CONFIG" = x; then
19928 PKG_CONFIG=""
19929 else
19930 case $cross_compiling:$ac_tool_warned in
19931 yes:)
19932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19933 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19934 ac_tool_warned=yes ;;
19935 esac
19936 PKG_CONFIG=$ac_pt_PKG_CONFIG
19937 fi
19938 else
19939 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19940 fi
19941
19942 fi
19943 if test -n "$PKG_CONFIG"; then
19944 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
19945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19946 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19947 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19949 printf "%s\n" "yes" >&6; }
19950 else
19951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19952 printf "%s\n" "no" >&6; }
19953 PKG_CONFIG=""
19954 fi
19955 fi
19956 if test -z "$PKG_CONFIG"; then
19957 as_fn_error $? "pkg-config not found" "$LINENO" 5
19958 fi
19959
19960 if test x"$PKG_CONFIG" = x""; then
19961 echo
19962 echo "*** Your version of pkg-config is too old. You need atleast"
19963 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
19964 echo "*** from the freedesktop.org software repository at"
19965 echo "***"
19966 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
19967 echo "***"
19968 exit 1;
19969 fi
19970
19971
19972
19973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 >= 1.6.7" >&5
19974 printf %s "checking for x11 >= 1.6.7... " >&6; }
19975 if $PKG_CONFIG "--atleast-version=1.6.7" "x11" >/dev/null 2>&1; then
19976 LIBX11_VERSION=`$PKG_CONFIG --modversion "x11"`
19977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_VERSION" >&5
19978 printf "%s\n" "$LIBX11_VERSION" >&6; }
19979
19980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBX11_CFLAGS" >&5
19981 printf %s "checking LIBX11_CFLAGS... " >&6; }
19982 LIBX11_CFLAGS=`$PKG_CONFIG --cflags "x11"`
19983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_CFLAGS" >&5
19984 printf "%s\n" "$LIBX11_CFLAGS" >&6; }
19985
19986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBX11_LIBS" >&5
19987 printf %s "checking LIBX11_LIBS... " >&6; }
19988 LIBX11_LIBS=`$PKG_CONFIG --libs "x11"`
19989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_LIBS" >&5
19990 printf "%s\n" "$LIBX11_LIBS" >&6; }
19991
19992 LIBX11_REQUIRED_VERSION=1.6.7
19993
19994
19995
19996
19997
19998
19999 if test x"LIBX11" = x"GLIB"; then
20000
20001 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
20002
20003 fi
20004
20005
20006
20007
20008
20009 printf "%s\n" "#define HAVE_LIBX11 1" >>confdefs.h
20010
20011 LIBX11_FOUND="yes"
20012
20013 elif $PKG_CONFIG --exists "x11" >/dev/null 2>&1; then
20014 xdt_cv_version=`$PKG_CONFIG --modversion "x11"`
20015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
20016 printf "%s\n" "found, but $xdt_cv_version" >&6; }
20017
20018
20019 echo "*** The required package x11 was found on your system,"
20020 echo "*** but the installed version ($xdt_cv_version) is too old."
20021 echo "*** Please upgrade x11 to atleast version 1.6.7, or adjust"
20022 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
20023 echo "*** the new version of the package in a nonstandard prefix so"
20024 echo "*** pkg-config is able to find it."
20025 exit 1
20026
20027 else
20028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20029 printf "%s\n" "not found" >&6; }
20030
20031
20032 echo "*** The required package x11 was not found on your system."
20033 echo "*** Please install x11 (atleast version 1.6.7) or adjust"
20034 echo "*** the PKG_CONFIG_PATH environment variable if you"
20035 echo "*** installed the package in a nonstandard prefix so that"
20036 echo "*** pkg-config is able to find it."
20037 exit 1
20038
20039 fi
20040
20041 fi
20042
20043
20044 ENABLE_X11="yes"
20045
20046 printf "%s\n" "#define ENABLE_X11 1" >>confdefs.h
20047
20048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the X11 windowing system is enabled" >&5
20049 printf %s "checking if the X11 windowing system is enabled... " >&6; }
20050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20051 printf "%s\n" "yes" >&6; }
20052 else
20053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the X11 windowing system is enabled" >&5
20054 printf %s "checking if the X11 windowing system is enabled... " >&6; }
20055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: dependencies missing: $xdt_feature_deps_missing" >&5
20056 printf "%s\n" "dependencies missing: $xdt_feature_deps_missing" >&6; }
20057 if test x"$xdt_cv_X11_enabled" = x"yes"; then
20058 as_fn_error $? "support for the X11 windowing system was required, but dependencies were not met" "$LINENO" 5
20059 else
20060 ENABLE_X11="no"
20061 fi
20062 fi
20063 xdt_feature_deps_check_only=
20064 xdt_feature_deps_missing=
20065 else
20066 ENABLE_X11="no"
20067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the X11 windowing system is enabled" >&5
20068 printf %s "checking if the X11 windowing system is enabled... " >&6; }
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
20070 printf "%s\n" "disabled" >&6; }
20071 fi
20072
20073 if test x"$ENABLE_X11" = x"yes"; then
20074 ENABLE_X11_TRUE=
20075 ENABLE_X11_FALSE='#'
20076 else
20077 ENABLE_X11_TRUE='#'
20078 ENABLE_X11_FALSE=
20079 fi
20080
20081
20082
20083 # Check whether --enable-wayland was given.
20084 if test ${enable_wayland+y}
20085 then :
20086 enableval=$enable_wayland; xdt_cv_WAYLAND_enabled=$enableval
20087 else case e in #(
20088 e) xdt_cv_WAYLAND_enabled=auto ;;
20089 esac
20090 fi
20091
20092
20093 if test x"$xdt_cv_WAYLAND_enabled" != x"no"; then
20094 xdt_feature_deps_check_only=yes
20095 xdt_feature_deps_missing=
20096
20097
20098
20099
20100 if test x"$xdt_feature_deps_check_only" = x"yes"; then
20101 if ! $PKG_CONFIG --exists "gdk-wayland-3.0 >= 3.24.0" >/dev/null 2>&1; then
20102 if test x"$xdt_feature_deps_missing" = x""; then
20103 xdt_feature_deps_missing="gdk-wayland-3.0 >= 3.24.0"
20104 else
20105 xdt_feature_deps_missing="$xdt_feature_deps_missing, gdk-wayland-3.0 >= 3.24.0"
20106 fi
20107 fi
20108 else
20109
20110
20111 # minimum supported version of pkg-config
20112 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20123 if test -n "$ac_tool_prefix"; then
20124 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20125 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20127 printf %s "checking for $ac_word... " >&6; }
20128 if test ${ac_cv_path_PKG_CONFIG+y}
20129 then :
20130 printf %s "(cached) " >&6
20131 else case e in #(
20132 e) case $PKG_CONFIG in
20133 [\\/]* | ?:[\\/]*)
20134 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20135 ;;
20136 *)
20137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20138 for as_dir in $PATH
20139 do
20140 IFS=$as_save_IFS
20141 case $as_dir in #(((
20142 '') as_dir=./ ;;
20143 */) ;;
20144 *) as_dir=$as_dir/ ;;
20145 esac
20146 for ac_exec_ext in '' $ac_executable_extensions; do
20147 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20148 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20150 break 2
20151 fi
20152 done
20153 done
20154 IFS=$as_save_IFS
20155
20156 ;;
20157 esac ;;
20158 esac
20159 fi
20160 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20161 if test -n "$PKG_CONFIG"; then
20162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20163 printf "%s\n" "$PKG_CONFIG" >&6; }
20164 else
20165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20166 printf "%s\n" "no" >&6; }
20167 fi
20168
20169
20170 fi
20171 if test -z "$ac_cv_path_PKG_CONFIG"; then
20172 ac_pt_PKG_CONFIG=$PKG_CONFIG
20173 # Extract the first word of "pkg-config", so it can be a program name with args.
20174 set dummy pkg-config; ac_word=$2
20175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20176 printf %s "checking for $ac_word... " >&6; }
20177 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
20178 then :
20179 printf %s "(cached) " >&6
20180 else case e in #(
20181 e) case $ac_pt_PKG_CONFIG in
20182 [\\/]* | ?:[\\/]*)
20183 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20184 ;;
20185 *)
20186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20187 for as_dir in $PATH
20188 do
20189 IFS=$as_save_IFS
20190 case $as_dir in #(((
20191 '') as_dir=./ ;;
20192 */) ;;
20193 *) as_dir=$as_dir/ ;;
20194 esac
20195 for ac_exec_ext in '' $ac_executable_extensions; do
20196 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20197 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20199 break 2
20200 fi
20201 done
20202 done
20203 IFS=$as_save_IFS
20204
20205 ;;
20206 esac ;;
20207 esac
20208 fi
20209 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20210 if test -n "$ac_pt_PKG_CONFIG"; then
20211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20212 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
20213 else
20214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20215 printf "%s\n" "no" >&6; }
20216 fi
20217
20218 if test "x$ac_pt_PKG_CONFIG" = x; then
20219 PKG_CONFIG=""
20220 else
20221 case $cross_compiling:$ac_tool_warned in
20222 yes:)
20223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20224 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20225 ac_tool_warned=yes ;;
20226 esac
20227 PKG_CONFIG=$ac_pt_PKG_CONFIG
20228 fi
20229 else
20230 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20231 fi
20232
20233 fi
20234 if test -n "$PKG_CONFIG"; then
20235 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
20236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20237 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20238 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20240 printf "%s\n" "yes" >&6; }
20241 else
20242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20243 printf "%s\n" "no" >&6; }
20244 PKG_CONFIG=""
20245 fi
20246 fi
20247 if test -z "$PKG_CONFIG"; then
20248 as_fn_error $? "pkg-config not found" "$LINENO" 5
20249 fi
20250
20251 if test x"$PKG_CONFIG" = x""; then
20252 echo
20253 echo "*** Your version of pkg-config is too old. You need atleast"
20254 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
20255 echo "*** from the freedesktop.org software repository at"
20256 echo "***"
20257 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
20258 echo "***"
20259 exit 1;
20260 fi
20261
20262
20263
20264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-wayland-3.0 >= 3.24.0" >&5
20265 printf %s "checking for gdk-wayland-3.0 >= 3.24.0... " >&6; }
20266 if $PKG_CONFIG "--atleast-version=3.24.0" "gdk-wayland-3.0" >/dev/null 2>&1; then
20267 GDK_WAYLAND_VERSION=`$PKG_CONFIG --modversion "gdk-wayland-3.0"`
20268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_WAYLAND_VERSION" >&5
20269 printf "%s\n" "$GDK_WAYLAND_VERSION" >&6; }
20270
20271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GDK_WAYLAND_CFLAGS" >&5
20272 printf %s "checking GDK_WAYLAND_CFLAGS... " >&6; }
20273 GDK_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "gdk-wayland-3.0"`
20274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_WAYLAND_CFLAGS" >&5
20275 printf "%s\n" "$GDK_WAYLAND_CFLAGS" >&6; }
20276
20277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GDK_WAYLAND_LIBS" >&5
20278 printf %s "checking GDK_WAYLAND_LIBS... " >&6; }
20279 GDK_WAYLAND_LIBS=`$PKG_CONFIG --libs "gdk-wayland-3.0"`
20280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_WAYLAND_LIBS" >&5
20281 printf "%s\n" "$GDK_WAYLAND_LIBS" >&6; }
20282
20283 GDK_WAYLAND_REQUIRED_VERSION=3.24.0
20284
20285
20286
20287
20288
20289
20290 if test x"GDK_WAYLAND" = x"GLIB"; then
20291
20292 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
20293
20294 fi
20295
20296
20297
20298
20299
20300 printf "%s\n" "#define HAVE_GDK_WAYLAND 1" >>confdefs.h
20301
20302 GDK_WAYLAND_FOUND="yes"
20303
20304 elif $PKG_CONFIG --exists "gdk-wayland-3.0" >/dev/null 2>&1; then
20305 xdt_cv_version=`$PKG_CONFIG --modversion "gdk-wayland-3.0"`
20306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
20307 printf "%s\n" "found, but $xdt_cv_version" >&6; }
20308
20309
20310 echo "*** The required package gdk-wayland-3.0 was found on your system,"
20311 echo "*** but the installed version ($xdt_cv_version) is too old."
20312 echo "*** Please upgrade gdk-wayland-3.0 to atleast version 3.24.0, or adjust"
20313 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
20314 echo "*** the new version of the package in a nonstandard prefix so"
20315 echo "*** pkg-config is able to find it."
20316 exit 1
20317
20318 else
20319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20320 printf "%s\n" "not found" >&6; }
20321
20322
20323 echo "*** The required package gdk-wayland-3.0 was not found on your system."
20324 echo "*** Please install gdk-wayland-3.0 (atleast version 3.24.0) or adjust"
20325 echo "*** the PKG_CONFIG_PATH environment variable if you"
20326 echo "*** installed the package in a nonstandard prefix so that"
20327 echo "*** pkg-config is able to find it."
20328 exit 1
20329
20330 fi
20331
20332 fi
20333
20334
20335 if test x"$xdt_feature_deps_missing" = x""; then
20336 xdt_feature_deps_check_only=
20337
20338
20339
20340
20341 if test x"$xdt_feature_deps_check_only" = x"yes"; then
20342 if ! $PKG_CONFIG --exists "gdk-wayland-3.0 >= 3.24.0" >/dev/null 2>&1; then
20343 if test x"$xdt_feature_deps_missing" = x""; then
20344 xdt_feature_deps_missing="gdk-wayland-3.0 >= 3.24.0"
20345 else
20346 xdt_feature_deps_missing="$xdt_feature_deps_missing, gdk-wayland-3.0 >= 3.24.0"
20347 fi
20348 fi
20349 else
20350
20351
20352 # minimum supported version of pkg-config
20353 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20364 if test -n "$ac_tool_prefix"; then
20365 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20366 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20368 printf %s "checking for $ac_word... " >&6; }
20369 if test ${ac_cv_path_PKG_CONFIG+y}
20370 then :
20371 printf %s "(cached) " >&6
20372 else case e in #(
20373 e) case $PKG_CONFIG in
20374 [\\/]* | ?:[\\/]*)
20375 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20376 ;;
20377 *)
20378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20379 for as_dir in $PATH
20380 do
20381 IFS=$as_save_IFS
20382 case $as_dir in #(((
20383 '') as_dir=./ ;;
20384 */) ;;
20385 *) as_dir=$as_dir/ ;;
20386 esac
20387 for ac_exec_ext in '' $ac_executable_extensions; do
20388 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20389 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20391 break 2
20392 fi
20393 done
20394 done
20395 IFS=$as_save_IFS
20396
20397 ;;
20398 esac ;;
20399 esac
20400 fi
20401 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20402 if test -n "$PKG_CONFIG"; then
20403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20404 printf "%s\n" "$PKG_CONFIG" >&6; }
20405 else
20406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20407 printf "%s\n" "no" >&6; }
20408 fi
20409
20410
20411 fi
20412 if test -z "$ac_cv_path_PKG_CONFIG"; then
20413 ac_pt_PKG_CONFIG=$PKG_CONFIG
20414 # Extract the first word of "pkg-config", so it can be a program name with args.
20415 set dummy pkg-config; ac_word=$2
20416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20417 printf %s "checking for $ac_word... " >&6; }
20418 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
20419 then :
20420 printf %s "(cached) " >&6
20421 else case e in #(
20422 e) case $ac_pt_PKG_CONFIG in
20423 [\\/]* | ?:[\\/]*)
20424 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20425 ;;
20426 *)
20427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20428 for as_dir in $PATH
20429 do
20430 IFS=$as_save_IFS
20431 case $as_dir in #(((
20432 '') as_dir=./ ;;
20433 */) ;;
20434 *) as_dir=$as_dir/ ;;
20435 esac
20436 for ac_exec_ext in '' $ac_executable_extensions; do
20437 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20438 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20440 break 2
20441 fi
20442 done
20443 done
20444 IFS=$as_save_IFS
20445
20446 ;;
20447 esac ;;
20448 esac
20449 fi
20450 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20451 if test -n "$ac_pt_PKG_CONFIG"; then
20452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20453 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
20454 else
20455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20456 printf "%s\n" "no" >&6; }
20457 fi
20458
20459 if test "x$ac_pt_PKG_CONFIG" = x; then
20460 PKG_CONFIG=""
20461 else
20462 case $cross_compiling:$ac_tool_warned in
20463 yes:)
20464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20465 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20466 ac_tool_warned=yes ;;
20467 esac
20468 PKG_CONFIG=$ac_pt_PKG_CONFIG
20469 fi
20470 else
20471 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20472 fi
20473
20474 fi
20475 if test -n "$PKG_CONFIG"; then
20476 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
20477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20478 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20479 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20481 printf "%s\n" "yes" >&6; }
20482 else
20483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20484 printf "%s\n" "no" >&6; }
20485 PKG_CONFIG=""
20486 fi
20487 fi
20488 if test -z "$PKG_CONFIG"; then
20489 as_fn_error $? "pkg-config not found" "$LINENO" 5
20490 fi
20491
20492 if test x"$PKG_CONFIG" = x""; then
20493 echo
20494 echo "*** Your version of pkg-config is too old. You need atleast"
20495 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
20496 echo "*** from the freedesktop.org software repository at"
20497 echo "***"
20498 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
20499 echo "***"
20500 exit 1;
20501 fi
20502
20503
20504
20505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-wayland-3.0 >= 3.24.0" >&5
20506 printf %s "checking for gdk-wayland-3.0 >= 3.24.0... " >&6; }
20507 if $PKG_CONFIG "--atleast-version=3.24.0" "gdk-wayland-3.0" >/dev/null 2>&1; then
20508 GDK_WAYLAND_VERSION=`$PKG_CONFIG --modversion "gdk-wayland-3.0"`
20509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_WAYLAND_VERSION" >&5
20510 printf "%s\n" "$GDK_WAYLAND_VERSION" >&6; }
20511
20512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GDK_WAYLAND_CFLAGS" >&5
20513 printf %s "checking GDK_WAYLAND_CFLAGS... " >&6; }
20514 GDK_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "gdk-wayland-3.0"`
20515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_WAYLAND_CFLAGS" >&5
20516 printf "%s\n" "$GDK_WAYLAND_CFLAGS" >&6; }
20517
20518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GDK_WAYLAND_LIBS" >&5
20519 printf %s "checking GDK_WAYLAND_LIBS... " >&6; }
20520 GDK_WAYLAND_LIBS=`$PKG_CONFIG --libs "gdk-wayland-3.0"`
20521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GDK_WAYLAND_LIBS" >&5
20522 printf "%s\n" "$GDK_WAYLAND_LIBS" >&6; }
20523
20524 GDK_WAYLAND_REQUIRED_VERSION=3.24.0
20525
20526
20527
20528
20529
20530
20531 if test x"GDK_WAYLAND" = x"GLIB"; then
20532
20533 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
20534
20535 fi
20536
20537
20538
20539
20540
20541 printf "%s\n" "#define HAVE_GDK_WAYLAND 1" >>confdefs.h
20542
20543 GDK_WAYLAND_FOUND="yes"
20544
20545 elif $PKG_CONFIG --exists "gdk-wayland-3.0" >/dev/null 2>&1; then
20546 xdt_cv_version=`$PKG_CONFIG --modversion "gdk-wayland-3.0"`
20547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
20548 printf "%s\n" "found, but $xdt_cv_version" >&6; }
20549
20550
20551 echo "*** The required package gdk-wayland-3.0 was found on your system,"
20552 echo "*** but the installed version ($xdt_cv_version) is too old."
20553 echo "*** Please upgrade gdk-wayland-3.0 to atleast version 3.24.0, or adjust"
20554 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
20555 echo "*** the new version of the package in a nonstandard prefix so"
20556 echo "*** pkg-config is able to find it."
20557 exit 1
20558
20559 else
20560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20561 printf "%s\n" "not found" >&6; }
20562
20563
20564 echo "*** The required package gdk-wayland-3.0 was not found on your system."
20565 echo "*** Please install gdk-wayland-3.0 (atleast version 3.24.0) or adjust"
20566 echo "*** the PKG_CONFIG_PATH environment variable if you"
20567 echo "*** installed the package in a nonstandard prefix so that"
20568 echo "*** pkg-config is able to find it."
20569 exit 1
20570
20571 fi
20572
20573 fi
20574
20575
20576 ENABLE_WAYLAND="yes"
20577
20578 printf "%s\n" "#define ENABLE_WAYLAND 1" >>confdefs.h
20579
20580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the Wayland windowing system is enabled" >&5
20581 printf %s "checking if the Wayland windowing system is enabled... " >&6; }
20582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20583 printf "%s\n" "yes" >&6; }
20584 else
20585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the Wayland windowing system is enabled" >&5
20586 printf %s "checking if the Wayland windowing system is enabled... " >&6; }
20587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: dependencies missing: $xdt_feature_deps_missing" >&5
20588 printf "%s\n" "dependencies missing: $xdt_feature_deps_missing" >&6; }
20589 if test x"$xdt_cv_WAYLAND_enabled" = x"yes"; then
20590 as_fn_error $? "support for the Wayland windowing system was required, but dependencies were not met" "$LINENO" 5
20591 else
20592 ENABLE_WAYLAND="no"
20593 fi
20594 fi
20595 xdt_feature_deps_check_only=
20596 xdt_feature_deps_missing=
20597 else
20598 ENABLE_WAYLAND="no"
20599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the Wayland windowing system is enabled" >&5
20600 printf %s "checking if the Wayland windowing system is enabled... " >&6; }
20601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
20602 printf "%s\n" "disabled" >&6; }
20603 fi
20604
20605 if test x"$ENABLE_WAYLAND" = x"yes"; then
20606 ENABLE_WAYLAND_TRUE=
20607 ENABLE_WAYLAND_FALSE='#'
20608 else
20609 ENABLE_WAYLAND_TRUE='#'
20610 ENABLE_WAYLAND_FALSE=
20611 fi
20612
20613
20614 if test x"$ENABLE_X11" != x"yes" -a x"$ENABLE_WAYLAND" != x"yes"; then
20615 as_fn_error $? "Either both X11 and Wayland support was disabled, or required dependencies are missing. One of the two must be enabled." "$LINENO" 5
20616 fi
20617
20618 if test x"$ENABLE_X11" != x"yes"; then
20619 enable_libsm=no
20620 enable_startup_notification=no
20621 fi
20622
20623 # Check whether --enable-libsm was given.
20624 if test ${enable_libsm+y}
20625 then :
20626 enableval=$enable_libsm; xdt_cv_LIBSM_enabled=$enableval
20627 else case e in #(
20628 e) xdt_cv_LIBSM_enabled=auto ;;
20629 esac
20630 fi
20631
20632
20633 if test x"$xdt_cv_LIBSM_enabled" != x"no"; then
20634 xdt_feature_deps_check_only=yes
20635 xdt_feature_deps_missing=
20636
20637
20638
20639
20640 if test x"$xdt_feature_deps_check_only" = x"yes"; then
20641 if ! $PKG_CONFIG --exists "ice >= 1.0.10" >/dev/null 2>&1; then
20642 if test x"$xdt_feature_deps_missing" = x""; then
20643 xdt_feature_deps_missing="ice >= 1.0.10"
20644 else
20645 xdt_feature_deps_missing="$xdt_feature_deps_missing, ice >= 1.0.10"
20646 fi
20647 fi
20648 else
20649
20650
20651 # minimum supported version of pkg-config
20652 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20663 if test -n "$ac_tool_prefix"; then
20664 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20665 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20667 printf %s "checking for $ac_word... " >&6; }
20668 if test ${ac_cv_path_PKG_CONFIG+y}
20669 then :
20670 printf %s "(cached) " >&6
20671 else case e in #(
20672 e) case $PKG_CONFIG in
20673 [\\/]* | ?:[\\/]*)
20674 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20675 ;;
20676 *)
20677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20678 for as_dir in $PATH
20679 do
20680 IFS=$as_save_IFS
20681 case $as_dir in #(((
20682 '') as_dir=./ ;;
20683 */) ;;
20684 *) as_dir=$as_dir/ ;;
20685 esac
20686 for ac_exec_ext in '' $ac_executable_extensions; do
20687 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20688 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20690 break 2
20691 fi
20692 done
20693 done
20694 IFS=$as_save_IFS
20695
20696 ;;
20697 esac ;;
20698 esac
20699 fi
20700 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20701 if test -n "$PKG_CONFIG"; then
20702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20703 printf "%s\n" "$PKG_CONFIG" >&6; }
20704 else
20705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20706 printf "%s\n" "no" >&6; }
20707 fi
20708
20709
20710 fi
20711 if test -z "$ac_cv_path_PKG_CONFIG"; then
20712 ac_pt_PKG_CONFIG=$PKG_CONFIG
20713 # Extract the first word of "pkg-config", so it can be a program name with args.
20714 set dummy pkg-config; ac_word=$2
20715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20716 printf %s "checking for $ac_word... " >&6; }
20717 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
20718 then :
20719 printf %s "(cached) " >&6
20720 else case e in #(
20721 e) case $ac_pt_PKG_CONFIG in
20722 [\\/]* | ?:[\\/]*)
20723 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20724 ;;
20725 *)
20726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20727 for as_dir in $PATH
20728 do
20729 IFS=$as_save_IFS
20730 case $as_dir in #(((
20731 '') as_dir=./ ;;
20732 */) ;;
20733 *) as_dir=$as_dir/ ;;
20734 esac
20735 for ac_exec_ext in '' $ac_executable_extensions; do
20736 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20737 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20739 break 2
20740 fi
20741 done
20742 done
20743 IFS=$as_save_IFS
20744
20745 ;;
20746 esac ;;
20747 esac
20748 fi
20749 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20750 if test -n "$ac_pt_PKG_CONFIG"; then
20751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20752 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
20753 else
20754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20755 printf "%s\n" "no" >&6; }
20756 fi
20757
20758 if test "x$ac_pt_PKG_CONFIG" = x; then
20759 PKG_CONFIG=""
20760 else
20761 case $cross_compiling:$ac_tool_warned in
20762 yes:)
20763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20764 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20765 ac_tool_warned=yes ;;
20766 esac
20767 PKG_CONFIG=$ac_pt_PKG_CONFIG
20768 fi
20769 else
20770 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20771 fi
20772
20773 fi
20774 if test -n "$PKG_CONFIG"; then
20775 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
20776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20777 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20778 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20780 printf "%s\n" "yes" >&6; }
20781 else
20782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20783 printf "%s\n" "no" >&6; }
20784 PKG_CONFIG=""
20785 fi
20786 fi
20787 if test -z "$PKG_CONFIG"; then
20788 as_fn_error $? "pkg-config not found" "$LINENO" 5
20789 fi
20790
20791 if test x"$PKG_CONFIG" = x""; then
20792 echo
20793 echo "*** Your version of pkg-config is too old. You need atleast"
20794 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
20795 echo "*** from the freedesktop.org software repository at"
20796 echo "***"
20797 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
20798 echo "***"
20799 exit 1;
20800 fi
20801
20802
20803
20804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ice >= 1.0.10" >&5
20805 printf %s "checking for ice >= 1.0.10... " >&6; }
20806 if $PKG_CONFIG "--atleast-version=1.0.10" "ice" >/dev/null 2>&1; then
20807 LIBICE_VERSION=`$PKG_CONFIG --modversion "ice"`
20808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_VERSION" >&5
20809 printf "%s\n" "$LIBICE_VERSION" >&6; }
20810
20811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBICE_CFLAGS" >&5
20812 printf %s "checking LIBICE_CFLAGS... " >&6; }
20813 LIBICE_CFLAGS=`$PKG_CONFIG --cflags "ice"`
20814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_CFLAGS" >&5
20815 printf "%s\n" "$LIBICE_CFLAGS" >&6; }
20816
20817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBICE_LIBS" >&5
20818 printf %s "checking LIBICE_LIBS... " >&6; }
20819 LIBICE_LIBS=`$PKG_CONFIG --libs "ice"`
20820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_LIBS" >&5
20821 printf "%s\n" "$LIBICE_LIBS" >&6; }
20822
20823 LIBICE_REQUIRED_VERSION=1.0.10
20824
20825
20826
20827
20828
20829
20830 if test x"LIBICE" = x"GLIB"; then
20831
20832 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
20833
20834 fi
20835
20836
20837
20838
20839
20840 printf "%s\n" "#define HAVE_LIBICE 1" >>confdefs.h
20841
20842 LIBICE_FOUND="yes"
20843
20844 elif $PKG_CONFIG --exists "ice" >/dev/null 2>&1; then
20845 xdt_cv_version=`$PKG_CONFIG --modversion "ice"`
20846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
20847 printf "%s\n" "found, but $xdt_cv_version" >&6; }
20848
20849
20850 echo "*** The required package ice was found on your system,"
20851 echo "*** but the installed version ($xdt_cv_version) is too old."
20852 echo "*** Please upgrade ice to atleast version 1.0.10, or adjust"
20853 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
20854 echo "*** the new version of the package in a nonstandard prefix so"
20855 echo "*** pkg-config is able to find it."
20856 exit 1
20857
20858 else
20859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20860 printf "%s\n" "not found" >&6; }
20861
20862
20863 echo "*** The required package ice was not found on your system."
20864 echo "*** Please install ice (atleast version 1.0.10) or adjust"
20865 echo "*** the PKG_CONFIG_PATH environment variable if you"
20866 echo "*** installed the package in a nonstandard prefix so that"
20867 echo "*** pkg-config is able to find it."
20868 exit 1
20869
20870 fi
20871
20872 fi
20873
20874
20875
20876
20877 if test x"$xdt_feature_deps_check_only" = x"yes"; then
20878 if ! $PKG_CONFIG --exists "sm >= 1.2.3" >/dev/null 2>&1; then
20879 if test x"$xdt_feature_deps_missing" = x""; then
20880 xdt_feature_deps_missing="sm >= 1.2.3"
20881 else
20882 xdt_feature_deps_missing="$xdt_feature_deps_missing, sm >= 1.2.3"
20883 fi
20884 fi
20885 else
20886
20887
20888 # minimum supported version of pkg-config
20889 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20900 if test -n "$ac_tool_prefix"; then
20901 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20902 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20904 printf %s "checking for $ac_word... " >&6; }
20905 if test ${ac_cv_path_PKG_CONFIG+y}
20906 then :
20907 printf %s "(cached) " >&6
20908 else case e in #(
20909 e) case $PKG_CONFIG in
20910 [\\/]* | ?:[\\/]*)
20911 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20912 ;;
20913 *)
20914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20915 for as_dir in $PATH
20916 do
20917 IFS=$as_save_IFS
20918 case $as_dir in #(((
20919 '') as_dir=./ ;;
20920 */) ;;
20921 *) as_dir=$as_dir/ ;;
20922 esac
20923 for ac_exec_ext in '' $ac_executable_extensions; do
20924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20925 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20927 break 2
20928 fi
20929 done
20930 done
20931 IFS=$as_save_IFS
20932
20933 ;;
20934 esac ;;
20935 esac
20936 fi
20937 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20938 if test -n "$PKG_CONFIG"; then
20939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20940 printf "%s\n" "$PKG_CONFIG" >&6; }
20941 else
20942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20943 printf "%s\n" "no" >&6; }
20944 fi
20945
20946
20947 fi
20948 if test -z "$ac_cv_path_PKG_CONFIG"; then
20949 ac_pt_PKG_CONFIG=$PKG_CONFIG
20950 # Extract the first word of "pkg-config", so it can be a program name with args.
20951 set dummy pkg-config; ac_word=$2
20952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20953 printf %s "checking for $ac_word... " >&6; }
20954 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
20955 then :
20956 printf %s "(cached) " >&6
20957 else case e in #(
20958 e) case $ac_pt_PKG_CONFIG in
20959 [\\/]* | ?:[\\/]*)
20960 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20961 ;;
20962 *)
20963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20964 for as_dir in $PATH
20965 do
20966 IFS=$as_save_IFS
20967 case $as_dir in #(((
20968 '') as_dir=./ ;;
20969 */) ;;
20970 *) as_dir=$as_dir/ ;;
20971 esac
20972 for ac_exec_ext in '' $ac_executable_extensions; do
20973 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20974 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20976 break 2
20977 fi
20978 done
20979 done
20980 IFS=$as_save_IFS
20981
20982 ;;
20983 esac ;;
20984 esac
20985 fi
20986 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20987 if test -n "$ac_pt_PKG_CONFIG"; then
20988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20989 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
20990 else
20991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20992 printf "%s\n" "no" >&6; }
20993 fi
20994
20995 if test "x$ac_pt_PKG_CONFIG" = x; then
20996 PKG_CONFIG=""
20997 else
20998 case $cross_compiling:$ac_tool_warned in
20999 yes:)
21000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21001 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21002 ac_tool_warned=yes ;;
21003 esac
21004 PKG_CONFIG=$ac_pt_PKG_CONFIG
21005 fi
21006 else
21007 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21008 fi
21009
21010 fi
21011 if test -n "$PKG_CONFIG"; then
21012 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
21013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
21014 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21015 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21017 printf "%s\n" "yes" >&6; }
21018 else
21019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21020 printf "%s\n" "no" >&6; }
21021 PKG_CONFIG=""
21022 fi
21023 fi
21024 if test -z "$PKG_CONFIG"; then
21025 as_fn_error $? "pkg-config not found" "$LINENO" 5
21026 fi
21027
21028 if test x"$PKG_CONFIG" = x""; then
21029 echo
21030 echo "*** Your version of pkg-config is too old. You need atleast"
21031 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
21032 echo "*** from the freedesktop.org software repository at"
21033 echo "***"
21034 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
21035 echo "***"
21036 exit 1;
21037 fi
21038
21039
21040
21041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sm >= 1.2.3" >&5
21042 printf %s "checking for sm >= 1.2.3... " >&6; }
21043 if $PKG_CONFIG "--atleast-version=1.2.3" "sm" >/dev/null 2>&1; then
21044 LIBSM_VERSION=`$PKG_CONFIG --modversion "sm"`
21045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_VERSION" >&5
21046 printf "%s\n" "$LIBSM_VERSION" >&6; }
21047
21048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBSM_CFLAGS" >&5
21049 printf %s "checking LIBSM_CFLAGS... " >&6; }
21050 LIBSM_CFLAGS=`$PKG_CONFIG --cflags "sm"`
21051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_CFLAGS" >&5
21052 printf "%s\n" "$LIBSM_CFLAGS" >&6; }
21053
21054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBSM_LIBS" >&5
21055 printf %s "checking LIBSM_LIBS... " >&6; }
21056 LIBSM_LIBS=`$PKG_CONFIG --libs "sm"`
21057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_LIBS" >&5
21058 printf "%s\n" "$LIBSM_LIBS" >&6; }
21059
21060 LIBSM_REQUIRED_VERSION=1.2.3
21061
21062
21063
21064
21065
21066
21067 if test x"LIBSM" = x"GLIB"; then
21068
21069 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
21070
21071 fi
21072
21073
21074
21075
21076
21077 printf "%s\n" "#define HAVE_LIBSM 1" >>confdefs.h
21078
21079 LIBSM_FOUND="yes"
21080
21081 elif $PKG_CONFIG --exists "sm" >/dev/null 2>&1; then
21082 xdt_cv_version=`$PKG_CONFIG --modversion "sm"`
21083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
21084 printf "%s\n" "found, but $xdt_cv_version" >&6; }
21085
21086
21087 echo "*** The required package sm was found on your system,"
21088 echo "*** but the installed version ($xdt_cv_version) is too old."
21089 echo "*** Please upgrade sm to atleast version 1.2.3, or adjust"
21090 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
21091 echo "*** the new version of the package in a nonstandard prefix so"
21092 echo "*** pkg-config is able to find it."
21093 exit 1
21094
21095 else
21096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
21097 printf "%s\n" "not found" >&6; }
21098
21099
21100 echo "*** The required package sm was not found on your system."
21101 echo "*** Please install sm (atleast version 1.2.3) or adjust"
21102 echo "*** the PKG_CONFIG_PATH environment variable if you"
21103 echo "*** installed the package in a nonstandard prefix so that"
21104 echo "*** pkg-config is able to find it."
21105 exit 1
21106
21107 fi
21108
21109 fi
21110
21111
21112 if test x"$xdt_feature_deps_missing" = x""; then
21113 xdt_feature_deps_check_only=
21114
21115
21116
21117
21118 if test x"$xdt_feature_deps_check_only" = x"yes"; then
21119 if ! $PKG_CONFIG --exists "ice >= 1.0.10" >/dev/null 2>&1; then
21120 if test x"$xdt_feature_deps_missing" = x""; then
21121 xdt_feature_deps_missing="ice >= 1.0.10"
21122 else
21123 xdt_feature_deps_missing="$xdt_feature_deps_missing, ice >= 1.0.10"
21124 fi
21125 fi
21126 else
21127
21128
21129 # minimum supported version of pkg-config
21130 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21141 if test -n "$ac_tool_prefix"; then
21142 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21143 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21145 printf %s "checking for $ac_word... " >&6; }
21146 if test ${ac_cv_path_PKG_CONFIG+y}
21147 then :
21148 printf %s "(cached) " >&6
21149 else case e in #(
21150 e) case $PKG_CONFIG in
21151 [\\/]* | ?:[\\/]*)
21152 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21153 ;;
21154 *)
21155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21156 for as_dir in $PATH
21157 do
21158 IFS=$as_save_IFS
21159 case $as_dir in #(((
21160 '') as_dir=./ ;;
21161 */) ;;
21162 *) as_dir=$as_dir/ ;;
21163 esac
21164 for ac_exec_ext in '' $ac_executable_extensions; do
21165 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21166 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21168 break 2
21169 fi
21170 done
21171 done
21172 IFS=$as_save_IFS
21173
21174 ;;
21175 esac ;;
21176 esac
21177 fi
21178 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21179 if test -n "$PKG_CONFIG"; then
21180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21181 printf "%s\n" "$PKG_CONFIG" >&6; }
21182 else
21183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21184 printf "%s\n" "no" >&6; }
21185 fi
21186
21187
21188 fi
21189 if test -z "$ac_cv_path_PKG_CONFIG"; then
21190 ac_pt_PKG_CONFIG=$PKG_CONFIG
21191 # Extract the first word of "pkg-config", so it can be a program name with args.
21192 set dummy pkg-config; ac_word=$2
21193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21194 printf %s "checking for $ac_word... " >&6; }
21195 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
21196 then :
21197 printf %s "(cached) " >&6
21198 else case e in #(
21199 e) case $ac_pt_PKG_CONFIG in
21200 [\\/]* | ?:[\\/]*)
21201 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21202 ;;
21203 *)
21204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21205 for as_dir in $PATH
21206 do
21207 IFS=$as_save_IFS
21208 case $as_dir in #(((
21209 '') as_dir=./ ;;
21210 */) ;;
21211 *) as_dir=$as_dir/ ;;
21212 esac
21213 for ac_exec_ext in '' $ac_executable_extensions; do
21214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21215 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21217 break 2
21218 fi
21219 done
21220 done
21221 IFS=$as_save_IFS
21222
21223 ;;
21224 esac ;;
21225 esac
21226 fi
21227 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21228 if test -n "$ac_pt_PKG_CONFIG"; then
21229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21230 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
21231 else
21232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21233 printf "%s\n" "no" >&6; }
21234 fi
21235
21236 if test "x$ac_pt_PKG_CONFIG" = x; then
21237 PKG_CONFIG=""
21238 else
21239 case $cross_compiling:$ac_tool_warned in
21240 yes:)
21241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21242 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21243 ac_tool_warned=yes ;;
21244 esac
21245 PKG_CONFIG=$ac_pt_PKG_CONFIG
21246 fi
21247 else
21248 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21249 fi
21250
21251 fi
21252 if test -n "$PKG_CONFIG"; then
21253 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
21254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
21255 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21256 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21258 printf "%s\n" "yes" >&6; }
21259 else
21260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21261 printf "%s\n" "no" >&6; }
21262 PKG_CONFIG=""
21263 fi
21264 fi
21265 if test -z "$PKG_CONFIG"; then
21266 as_fn_error $? "pkg-config not found" "$LINENO" 5
21267 fi
21268
21269 if test x"$PKG_CONFIG" = x""; then
21270 echo
21271 echo "*** Your version of pkg-config is too old. You need atleast"
21272 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
21273 echo "*** from the freedesktop.org software repository at"
21274 echo "***"
21275 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
21276 echo "***"
21277 exit 1;
21278 fi
21279
21280
21281
21282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ice >= 1.0.10" >&5
21283 printf %s "checking for ice >= 1.0.10... " >&6; }
21284 if $PKG_CONFIG "--atleast-version=1.0.10" "ice" >/dev/null 2>&1; then
21285 LIBICE_VERSION=`$PKG_CONFIG --modversion "ice"`
21286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_VERSION" >&5
21287 printf "%s\n" "$LIBICE_VERSION" >&6; }
21288
21289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBICE_CFLAGS" >&5
21290 printf %s "checking LIBICE_CFLAGS... " >&6; }
21291 LIBICE_CFLAGS=`$PKG_CONFIG --cflags "ice"`
21292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_CFLAGS" >&5
21293 printf "%s\n" "$LIBICE_CFLAGS" >&6; }
21294
21295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBICE_LIBS" >&5
21296 printf %s "checking LIBICE_LIBS... " >&6; }
21297 LIBICE_LIBS=`$PKG_CONFIG --libs "ice"`
21298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_LIBS" >&5
21299 printf "%s\n" "$LIBICE_LIBS" >&6; }
21300
21301 LIBICE_REQUIRED_VERSION=1.0.10
21302
21303
21304
21305
21306
21307
21308 if test x"LIBICE" = x"GLIB"; then
21309
21310 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
21311
21312 fi
21313
21314
21315
21316
21317
21318 printf "%s\n" "#define HAVE_LIBICE 1" >>confdefs.h
21319
21320 LIBICE_FOUND="yes"
21321
21322 elif $PKG_CONFIG --exists "ice" >/dev/null 2>&1; then
21323 xdt_cv_version=`$PKG_CONFIG --modversion "ice"`
21324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
21325 printf "%s\n" "found, but $xdt_cv_version" >&6; }
21326
21327
21328 echo "*** The required package ice was found on your system,"
21329 echo "*** but the installed version ($xdt_cv_version) is too old."
21330 echo "*** Please upgrade ice to atleast version 1.0.10, or adjust"
21331 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
21332 echo "*** the new version of the package in a nonstandard prefix so"
21333 echo "*** pkg-config is able to find it."
21334 exit 1
21335
21336 else
21337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
21338 printf "%s\n" "not found" >&6; }
21339
21340
21341 echo "*** The required package ice was not found on your system."
21342 echo "*** Please install ice (atleast version 1.0.10) or adjust"
21343 echo "*** the PKG_CONFIG_PATH environment variable if you"
21344 echo "*** installed the package in a nonstandard prefix so that"
21345 echo "*** pkg-config is able to find it."
21346 exit 1
21347
21348 fi
21349
21350 fi
21351
21352
21353
21354
21355 if test x"$xdt_feature_deps_check_only" = x"yes"; then
21356 if ! $PKG_CONFIG --exists "sm >= 1.2.3" >/dev/null 2>&1; then
21357 if test x"$xdt_feature_deps_missing" = x""; then
21358 xdt_feature_deps_missing="sm >= 1.2.3"
21359 else
21360 xdt_feature_deps_missing="$xdt_feature_deps_missing, sm >= 1.2.3"
21361 fi
21362 fi
21363 else
21364
21365
21366 # minimum supported version of pkg-config
21367 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21378 if test -n "$ac_tool_prefix"; then
21379 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21380 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21382 printf %s "checking for $ac_word... " >&6; }
21383 if test ${ac_cv_path_PKG_CONFIG+y}
21384 then :
21385 printf %s "(cached) " >&6
21386 else case e in #(
21387 e) case $PKG_CONFIG in
21388 [\\/]* | ?:[\\/]*)
21389 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21390 ;;
21391 *)
21392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21393 for as_dir in $PATH
21394 do
21395 IFS=$as_save_IFS
21396 case $as_dir in #(((
21397 '') as_dir=./ ;;
21398 */) ;;
21399 *) as_dir=$as_dir/ ;;
21400 esac
21401 for ac_exec_ext in '' $ac_executable_extensions; do
21402 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21403 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21405 break 2
21406 fi
21407 done
21408 done
21409 IFS=$as_save_IFS
21410
21411 ;;
21412 esac ;;
21413 esac
21414 fi
21415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21416 if test -n "$PKG_CONFIG"; then
21417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21418 printf "%s\n" "$PKG_CONFIG" >&6; }
21419 else
21420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21421 printf "%s\n" "no" >&6; }
21422 fi
21423
21424
21425 fi
21426 if test -z "$ac_cv_path_PKG_CONFIG"; then
21427 ac_pt_PKG_CONFIG=$PKG_CONFIG
21428 # Extract the first word of "pkg-config", so it can be a program name with args.
21429 set dummy pkg-config; ac_word=$2
21430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21431 printf %s "checking for $ac_word... " >&6; }
21432 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
21433 then :
21434 printf %s "(cached) " >&6
21435 else case e in #(
21436 e) case $ac_pt_PKG_CONFIG in
21437 [\\/]* | ?:[\\/]*)
21438 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21439 ;;
21440 *)
21441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21442 for as_dir in $PATH
21443 do
21444 IFS=$as_save_IFS
21445 case $as_dir in #(((
21446 '') as_dir=./ ;;
21447 */) ;;
21448 *) as_dir=$as_dir/ ;;
21449 esac
21450 for ac_exec_ext in '' $ac_executable_extensions; do
21451 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21452 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21454 break 2
21455 fi
21456 done
21457 done
21458 IFS=$as_save_IFS
21459
21460 ;;
21461 esac ;;
21462 esac
21463 fi
21464 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21465 if test -n "$ac_pt_PKG_CONFIG"; then
21466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21467 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
21468 else
21469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21470 printf "%s\n" "no" >&6; }
21471 fi
21472
21473 if test "x$ac_pt_PKG_CONFIG" = x; then
21474 PKG_CONFIG=""
21475 else
21476 case $cross_compiling:$ac_tool_warned in
21477 yes:)
21478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21479 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21480 ac_tool_warned=yes ;;
21481 esac
21482 PKG_CONFIG=$ac_pt_PKG_CONFIG
21483 fi
21484 else
21485 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21486 fi
21487
21488 fi
21489 if test -n "$PKG_CONFIG"; then
21490 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
21491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
21492 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21493 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21495 printf "%s\n" "yes" >&6; }
21496 else
21497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21498 printf "%s\n" "no" >&6; }
21499 PKG_CONFIG=""
21500 fi
21501 fi
21502 if test -z "$PKG_CONFIG"; then
21503 as_fn_error $? "pkg-config not found" "$LINENO" 5
21504 fi
21505
21506 if test x"$PKG_CONFIG" = x""; then
21507 echo
21508 echo "*** Your version of pkg-config is too old. You need atleast"
21509 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
21510 echo "*** from the freedesktop.org software repository at"
21511 echo "***"
21512 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
21513 echo "***"
21514 exit 1;
21515 fi
21516
21517
21518
21519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sm >= 1.2.3" >&5
21520 printf %s "checking for sm >= 1.2.3... " >&6; }
21521 if $PKG_CONFIG "--atleast-version=1.2.3" "sm" >/dev/null 2>&1; then
21522 LIBSM_VERSION=`$PKG_CONFIG --modversion "sm"`
21523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_VERSION" >&5
21524 printf "%s\n" "$LIBSM_VERSION" >&6; }
21525
21526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBSM_CFLAGS" >&5
21527 printf %s "checking LIBSM_CFLAGS... " >&6; }
21528 LIBSM_CFLAGS=`$PKG_CONFIG --cflags "sm"`
21529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_CFLAGS" >&5
21530 printf "%s\n" "$LIBSM_CFLAGS" >&6; }
21531
21532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBSM_LIBS" >&5
21533 printf %s "checking LIBSM_LIBS... " >&6; }
21534 LIBSM_LIBS=`$PKG_CONFIG --libs "sm"`
21535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_LIBS" >&5
21536 printf "%s\n" "$LIBSM_LIBS" >&6; }
21537
21538 LIBSM_REQUIRED_VERSION=1.2.3
21539
21540
21541
21542
21543
21544
21545 if test x"LIBSM" = x"GLIB"; then
21546
21547 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
21548
21549 fi
21550
21551
21552
21553
21554
21555 printf "%s\n" "#define HAVE_LIBSM 1" >>confdefs.h
21556
21557 LIBSM_FOUND="yes"
21558
21559 elif $PKG_CONFIG --exists "sm" >/dev/null 2>&1; then
21560 xdt_cv_version=`$PKG_CONFIG --modversion "sm"`
21561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
21562 printf "%s\n" "found, but $xdt_cv_version" >&6; }
21563
21564
21565 echo "*** The required package sm was found on your system,"
21566 echo "*** but the installed version ($xdt_cv_version) is too old."
21567 echo "*** Please upgrade sm to atleast version 1.2.3, or adjust"
21568 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
21569 echo "*** the new version of the package in a nonstandard prefix so"
21570 echo "*** pkg-config is able to find it."
21571 exit 1
21572
21573 else
21574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
21575 printf "%s\n" "not found" >&6; }
21576
21577
21578 echo "*** The required package sm was not found on your system."
21579 echo "*** Please install sm (atleast version 1.2.3) or adjust"
21580 echo "*** the PKG_CONFIG_PATH environment variable if you"
21581 echo "*** installed the package in a nonstandard prefix so that"
21582 echo "*** pkg-config is able to find it."
21583 exit 1
21584
21585 fi
21586
21587 fi
21588
21589
21590 ENABLE_LIBSM="yes"
21591
21592 printf "%s\n" "#define ENABLE_LIBSM 1" >>confdefs.h
21593
21594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if session management library is enabled" >&5
21595 printf %s "checking if session management library is enabled... " >&6; }
21596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21597 printf "%s\n" "yes" >&6; }
21598 else
21599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if session management library is enabled" >&5
21600 printf %s "checking if session management library is enabled... " >&6; }
21601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: dependencies missing: $xdt_feature_deps_missing" >&5
21602 printf "%s\n" "dependencies missing: $xdt_feature_deps_missing" >&6; }
21603 if test x"$xdt_cv_LIBSM_enabled" = x"yes"; then
21604 as_fn_error $? "support for session management library was required, but dependencies were not met" "$LINENO" 5
21605 else
21606 ENABLE_LIBSM="no"
21607 fi
21608 fi
21609 xdt_feature_deps_check_only=
21610 xdt_feature_deps_missing=
21611 else
21612 ENABLE_LIBSM="no"
21613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if session management library is enabled" >&5
21614 printf %s "checking if session management library is enabled... " >&6; }
21615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
21616 printf "%s\n" "disabled" >&6; }
21617 fi
21618
21619 if test x"$ENABLE_LIBSM" = x"yes"; then
21620 ENABLE_LIBSM_TRUE=
21621 ENABLE_LIBSM_FALSE='#'
21622 else
21623 ENABLE_LIBSM_TRUE='#'
21624 ENABLE_LIBSM_FALSE=
21625 fi
21626
21627
21628
21629
21630
21631 # Check whether --enable-startup-notification was given.
21632 if test ${enable_startup_notification+y}
21633 then :
21634 enableval=$enable_startup_notification; xdt_cv_LIBSTARTUP_NOTIFICATION_check=$enableval
21635 else case e in #(
21636 e) xdt_cv_LIBSTARTUP_NOTIFICATION_check=yes ;;
21637 esac
21638 fi
21639
21640
21641 if test x"$xdt_cv_LIBSTARTUP_NOTIFICATION_check" = x"yes"; then
21642 if $PKG_CONFIG --exists "libstartup-notification-1.0 >= 0.4" >/dev/null 2>&1; then
21643
21644
21645 # minimum supported version of pkg-config
21646 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21657 if test -n "$ac_tool_prefix"; then
21658 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21659 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21661 printf %s "checking for $ac_word... " >&6; }
21662 if test ${ac_cv_path_PKG_CONFIG+y}
21663 then :
21664 printf %s "(cached) " >&6
21665 else case e in #(
21666 e) case $PKG_CONFIG in
21667 [\\/]* | ?:[\\/]*)
21668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21669 ;;
21670 *)
21671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21672 for as_dir in $PATH
21673 do
21674 IFS=$as_save_IFS
21675 case $as_dir in #(((
21676 '') as_dir=./ ;;
21677 */) ;;
21678 *) as_dir=$as_dir/ ;;
21679 esac
21680 for ac_exec_ext in '' $ac_executable_extensions; do
21681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21682 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21684 break 2
21685 fi
21686 done
21687 done
21688 IFS=$as_save_IFS
21689
21690 ;;
21691 esac ;;
21692 esac
21693 fi
21694 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21695 if test -n "$PKG_CONFIG"; then
21696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21697 printf "%s\n" "$PKG_CONFIG" >&6; }
21698 else
21699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21700 printf "%s\n" "no" >&6; }
21701 fi
21702
21703
21704 fi
21705 if test -z "$ac_cv_path_PKG_CONFIG"; then
21706 ac_pt_PKG_CONFIG=$PKG_CONFIG
21707 # Extract the first word of "pkg-config", so it can be a program name with args.
21708 set dummy pkg-config; ac_word=$2
21709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21710 printf %s "checking for $ac_word... " >&6; }
21711 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
21712 then :
21713 printf %s "(cached) " >&6
21714 else case e in #(
21715 e) case $ac_pt_PKG_CONFIG in
21716 [\\/]* | ?:[\\/]*)
21717 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21718 ;;
21719 *)
21720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21721 for as_dir in $PATH
21722 do
21723 IFS=$as_save_IFS
21724 case $as_dir in #(((
21725 '') as_dir=./ ;;
21726 */) ;;
21727 *) as_dir=$as_dir/ ;;
21728 esac
21729 for ac_exec_ext in '' $ac_executable_extensions; do
21730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21731 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21733 break 2
21734 fi
21735 done
21736 done
21737 IFS=$as_save_IFS
21738
21739 ;;
21740 esac ;;
21741 esac
21742 fi
21743 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21744 if test -n "$ac_pt_PKG_CONFIG"; then
21745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21746 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
21747 else
21748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21749 printf "%s\n" "no" >&6; }
21750 fi
21751
21752 if test "x$ac_pt_PKG_CONFIG" = x; then
21753 PKG_CONFIG=""
21754 else
21755 case $cross_compiling:$ac_tool_warned in
21756 yes:)
21757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21758 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21759 ac_tool_warned=yes ;;
21760 esac
21761 PKG_CONFIG=$ac_pt_PKG_CONFIG
21762 fi
21763 else
21764 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21765 fi
21766
21767 fi
21768 if test -n "$PKG_CONFIG"; then
21769 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
21770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
21771 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21772 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21774 printf "%s\n" "yes" >&6; }
21775 else
21776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21777 printf "%s\n" "no" >&6; }
21778 PKG_CONFIG=""
21779 fi
21780 fi
21781 if test -z "$PKG_CONFIG"; then
21782 as_fn_error $? "pkg-config not found" "$LINENO" 5
21783 fi
21784
21785 if test x"$PKG_CONFIG" = x""; then
21786 echo
21787 echo "*** Your version of pkg-config is too old. You need atleast"
21788 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
21789 echo "*** from the freedesktop.org software repository at"
21790 echo "***"
21791 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
21792 echo "***"
21793 exit 1;
21794 fi
21795
21796
21797
21798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0 >= 0.4" >&5
21799 printf %s "checking for libstartup-notification-1.0 >= 0.4... " >&6; }
21800 if $PKG_CONFIG "--atleast-version=0.4" "libstartup-notification-1.0" >/dev/null 2>&1; then
21801 LIBSTARTUP_NOTIFICATION_VERSION=`$PKG_CONFIG --modversion "libstartup-notification-1.0"`
21802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSTARTUP_NOTIFICATION_VERSION" >&5
21803 printf "%s\n" "$LIBSTARTUP_NOTIFICATION_VERSION" >&6; }
21804
21805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBSTARTUP_NOTIFICATION_CFLAGS" >&5
21806 printf %s "checking LIBSTARTUP_NOTIFICATION_CFLAGS... " >&6; }
21807 LIBSTARTUP_NOTIFICATION_CFLAGS=`$PKG_CONFIG --cflags "libstartup-notification-1.0"`
21808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSTARTUP_NOTIFICATION_CFLAGS" >&5
21809 printf "%s\n" "$LIBSTARTUP_NOTIFICATION_CFLAGS" >&6; }
21810
21811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBSTARTUP_NOTIFICATION_LIBS" >&5
21812 printf %s "checking LIBSTARTUP_NOTIFICATION_LIBS... " >&6; }
21813 LIBSTARTUP_NOTIFICATION_LIBS=`$PKG_CONFIG --libs "libstartup-notification-1.0"`
21814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSTARTUP_NOTIFICATION_LIBS" >&5
21815 printf "%s\n" "$LIBSTARTUP_NOTIFICATION_LIBS" >&6; }
21816
21817 LIBSTARTUP_NOTIFICATION_REQUIRED_VERSION=0.4
21818
21819
21820
21821
21822
21823
21824 if test x"LIBSTARTUP_NOTIFICATION" = x"GLIB"; then
21825
21826 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
21827
21828 fi
21829
21830
21831
21832
21833
21834 printf "%s\n" "#define HAVE_LIBSTARTUP_NOTIFICATION 1" >>confdefs.h
21835
21836 LIBSTARTUP_NOTIFICATION_FOUND="yes"
21837
21838 elif $PKG_CONFIG --exists "libstartup-notification-1.0" >/dev/null 2>&1; then
21839 xdt_cv_version=`$PKG_CONFIG --modversion "libstartup-notification-1.0"`
21840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
21841 printf "%s\n" "found, but $xdt_cv_version" >&6; }
21842
21843
21844 echo "*** The required package libstartup-notification-1.0 was found on your system,"
21845 echo "*** but the installed version ($xdt_cv_version) is too old."
21846 echo "*** Please upgrade libstartup-notification-1.0 to atleast version 0.4, or adjust"
21847 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
21848 echo "*** the new version of the package in a nonstandard prefix so"
21849 echo "*** pkg-config is able to find it."
21850 exit 1
21851
21852 else
21853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
21854 printf "%s\n" "not found" >&6; }
21855
21856
21857 echo "*** The required package libstartup-notification-1.0 was not found on your system."
21858 echo "*** Please install libstartup-notification-1.0 (atleast version 0.4) or adjust"
21859 echo "*** the PKG_CONFIG_PATH environment variable if you"
21860 echo "*** installed the package in a nonstandard prefix so that"
21861 echo "*** pkg-config is able to find it."
21862 exit 1
21863
21864 fi
21865
21866 else
21867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package libstartup-notification-1.0 >= 0.4" >&5
21868 printf %s "checking for optional package libstartup-notification-1.0 >= 0.4... " >&6; }
21869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
21870 printf "%s\n" "not found" >&6; }
21871 fi
21872 else
21873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package libstartup-notification-1.0" >&5
21874 printf %s "checking for optional package libstartup-notification-1.0... " >&6; }
21875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
21876 printf "%s\n" "disabled" >&6; }
21877 fi
21878
21879 if test x"$LIBSTARTUP_NOTIFICATION_FOUND" = x"yes"; then
21880 HAVE_LIBSTARTUP_NOTIFICATION_TRUE=
21881 HAVE_LIBSTARTUP_NOTIFICATION_FALSE='#'
21882 else
21883 HAVE_LIBSTARTUP_NOTIFICATION_TRUE='#'
21884 HAVE_LIBSTARTUP_NOTIFICATION_FALSE=
21885 fi
21886
21887
21888
21889
21890
21891
21892 # Check whether --enable-glibtop was given.
21893 if test ${enable_glibtop+y}
21894 then :
21895 enableval=$enable_glibtop; xdt_cv_GLIBTOP_check=$enableval
21896 else case e in #(
21897 e) xdt_cv_GLIBTOP_check=yes ;;
21898 esac
21899 fi
21900
21901
21902 if test x"$xdt_cv_GLIBTOP_check" = x"yes"; then
21903 if $PKG_CONFIG --exists "libgtop-2.0 >= 2.24.0" >/dev/null 2>&1; then
21904
21905
21906 # minimum supported version of pkg-config
21907 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21918 if test -n "$ac_tool_prefix"; then
21919 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21920 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21922 printf %s "checking for $ac_word... " >&6; }
21923 if test ${ac_cv_path_PKG_CONFIG+y}
21924 then :
21925 printf %s "(cached) " >&6
21926 else case e in #(
21927 e) case $PKG_CONFIG in
21928 [\\/]* | ?:[\\/]*)
21929 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21930 ;;
21931 *)
21932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21933 for as_dir in $PATH
21934 do
21935 IFS=$as_save_IFS
21936 case $as_dir in #(((
21937 '') as_dir=./ ;;
21938 */) ;;
21939 *) as_dir=$as_dir/ ;;
21940 esac
21941 for ac_exec_ext in '' $ac_executable_extensions; do
21942 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21943 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21945 break 2
21946 fi
21947 done
21948 done
21949 IFS=$as_save_IFS
21950
21951 ;;
21952 esac ;;
21953 esac
21954 fi
21955 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21956 if test -n "$PKG_CONFIG"; then
21957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21958 printf "%s\n" "$PKG_CONFIG" >&6; }
21959 else
21960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21961 printf "%s\n" "no" >&6; }
21962 fi
21963
21964
21965 fi
21966 if test -z "$ac_cv_path_PKG_CONFIG"; then
21967 ac_pt_PKG_CONFIG=$PKG_CONFIG
21968 # Extract the first word of "pkg-config", so it can be a program name with args.
21969 set dummy pkg-config; ac_word=$2
21970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21971 printf %s "checking for $ac_word... " >&6; }
21972 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
21973 then :
21974 printf %s "(cached) " >&6
21975 else case e in #(
21976 e) case $ac_pt_PKG_CONFIG in
21977 [\\/]* | ?:[\\/]*)
21978 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21979 ;;
21980 *)
21981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21982 for as_dir in $PATH
21983 do
21984 IFS=$as_save_IFS
21985 case $as_dir in #(((
21986 '') as_dir=./ ;;
21987 */) ;;
21988 *) as_dir=$as_dir/ ;;
21989 esac
21990 for ac_exec_ext in '' $ac_executable_extensions; do
21991 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21992 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21994 break 2
21995 fi
21996 done
21997 done
21998 IFS=$as_save_IFS
21999
22000 ;;
22001 esac ;;
22002 esac
22003 fi
22004 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22005 if test -n "$ac_pt_PKG_CONFIG"; then
22006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22007 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
22008 else
22009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22010 printf "%s\n" "no" >&6; }
22011 fi
22012
22013 if test "x$ac_pt_PKG_CONFIG" = x; then
22014 PKG_CONFIG=""
22015 else
22016 case $cross_compiling:$ac_tool_warned in
22017 yes:)
22018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22019 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22020 ac_tool_warned=yes ;;
22021 esac
22022 PKG_CONFIG=$ac_pt_PKG_CONFIG
22023 fi
22024 else
22025 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22026 fi
22027
22028 fi
22029 if test -n "$PKG_CONFIG"; then
22030 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
22031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
22032 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
22033 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22035 printf "%s\n" "yes" >&6; }
22036 else
22037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22038 printf "%s\n" "no" >&6; }
22039 PKG_CONFIG=""
22040 fi
22041 fi
22042 if test -z "$PKG_CONFIG"; then
22043 as_fn_error $? "pkg-config not found" "$LINENO" 5
22044 fi
22045
22046 if test x"$PKG_CONFIG" = x""; then
22047 echo
22048 echo "*** Your version of pkg-config is too old. You need atleast"
22049 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
22050 echo "*** from the freedesktop.org software repository at"
22051 echo "***"
22052 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
22053 echo "***"
22054 exit 1;
22055 fi
22056
22057
22058
22059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libgtop-2.0 >= 2.24.0" >&5
22060 printf %s "checking for libgtop-2.0 >= 2.24.0... " >&6; }
22061 if $PKG_CONFIG "--atleast-version=2.24.0" "libgtop-2.0" >/dev/null 2>&1; then
22062 GLIBTOP_VERSION=`$PKG_CONFIG --modversion "libgtop-2.0"`
22063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIBTOP_VERSION" >&5
22064 printf "%s\n" "$GLIBTOP_VERSION" >&6; }
22065
22066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GLIBTOP_CFLAGS" >&5
22067 printf %s "checking GLIBTOP_CFLAGS... " >&6; }
22068 GLIBTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0"`
22069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIBTOP_CFLAGS" >&5
22070 printf "%s\n" "$GLIBTOP_CFLAGS" >&6; }
22071
22072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GLIBTOP_LIBS" >&5
22073 printf %s "checking GLIBTOP_LIBS... " >&6; }
22074 GLIBTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0"`
22075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIBTOP_LIBS" >&5
22076 printf "%s\n" "$GLIBTOP_LIBS" >&6; }
22077
22078 GLIBTOP_REQUIRED_VERSION=2.24.0
22079
22080
22081
22082
22083
22084
22085 if test x"GLIBTOP" = x"GLIB"; then
22086
22087 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
22088
22089 fi
22090
22091
22092
22093
22094
22095 printf "%s\n" "#define HAVE_GLIBTOP 1" >>confdefs.h
22096
22097 GLIBTOP_FOUND="yes"
22098
22099 elif $PKG_CONFIG --exists "libgtop-2.0" >/dev/null 2>&1; then
22100 xdt_cv_version=`$PKG_CONFIG --modversion "libgtop-2.0"`
22101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
22102 printf "%s\n" "found, but $xdt_cv_version" >&6; }
22103
22104
22105 echo "*** The required package libgtop-2.0 was found on your system,"
22106 echo "*** but the installed version ($xdt_cv_version) is too old."
22107 echo "*** Please upgrade libgtop-2.0 to atleast version 2.24.0, or adjust"
22108 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
22109 echo "*** the new version of the package in a nonstandard prefix so"
22110 echo "*** pkg-config is able to find it."
22111 exit 1
22112
22113 else
22114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22115 printf "%s\n" "not found" >&6; }
22116
22117
22118 echo "*** The required package libgtop-2.0 was not found on your system."
22119 echo "*** Please install libgtop-2.0 (atleast version 2.24.0) or adjust"
22120 echo "*** the PKG_CONFIG_PATH environment variable if you"
22121 echo "*** installed the package in a nonstandard prefix so that"
22122 echo "*** pkg-config is able to find it."
22123 exit 1
22124
22125 fi
22126
22127 else
22128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package libgtop-2.0 >= 2.24.0" >&5
22129 printf %s "checking for optional package libgtop-2.0 >= 2.24.0... " >&6; }
22130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22131 printf "%s\n" "not found" >&6; }
22132 fi
22133 else
22134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package libgtop-2.0" >&5
22135 printf %s "checking for optional package libgtop-2.0... " >&6; }
22136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
22137 printf "%s\n" "disabled" >&6; }
22138 fi
22139
22140 if test x"$GLIBTOP_FOUND" = x"yes"; then
22141 HAVE_GLIBTOP_TRUE=
22142 HAVE_GLIBTOP_FALSE='#'
22143 else
22144 HAVE_GLIBTOP_TRUE='#'
22145 HAVE_GLIBTOP_FALSE=
22146 fi
22147
22148
22149
22150 if test x"$GLIBTOP_FOUND" = x"yes"; then
22151 ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
22152 if test "x$ac_cv_header_time_h" = xyes
22153 then :
22154 printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h
22155
22156 fi
22157 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
22158 if test "x$ac_cv_header_sys_time_h" = xyes
22159 then :
22160 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
22161
22162 fi
22163
22164 fi
22165
22166 EPOXY_FOUND="no"
22167 if test x"$GLIBTOP_FOUND" = x"yes"; then
22168
22169
22170
22171 # Check whether --enable-epoxy was given.
22172 if test ${enable_epoxy+y}
22173 then :
22174 enableval=$enable_epoxy; xdt_cv_EPOXY_check=$enableval
22175 else case e in #(
22176 e) xdt_cv_EPOXY_check=yes ;;
22177 esac
22178 fi
22179
22180
22181 if test x"$xdt_cv_EPOXY_check" = x"yes"; then
22182 if $PKG_CONFIG --exists "epoxy >= 1.2" >/dev/null 2>&1; then
22183
22184
22185 # minimum supported version of pkg-config
22186 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22197 if test -n "$ac_tool_prefix"; then
22198 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22199 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22201 printf %s "checking for $ac_word... " >&6; }
22202 if test ${ac_cv_path_PKG_CONFIG+y}
22203 then :
22204 printf %s "(cached) " >&6
22205 else case e in #(
22206 e) case $PKG_CONFIG in
22207 [\\/]* | ?:[\\/]*)
22208 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22209 ;;
22210 *)
22211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22212 for as_dir in $PATH
22213 do
22214 IFS=$as_save_IFS
22215 case $as_dir in #(((
22216 '') as_dir=./ ;;
22217 */) ;;
22218 *) as_dir=$as_dir/ ;;
22219 esac
22220 for ac_exec_ext in '' $ac_executable_extensions; do
22221 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22222 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
22223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22224 break 2
22225 fi
22226 done
22227 done
22228 IFS=$as_save_IFS
22229
22230 ;;
22231 esac ;;
22232 esac
22233 fi
22234 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22235 if test -n "$PKG_CONFIG"; then
22236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22237 printf "%s\n" "$PKG_CONFIG" >&6; }
22238 else
22239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22240 printf "%s\n" "no" >&6; }
22241 fi
22242
22243
22244 fi
22245 if test -z "$ac_cv_path_PKG_CONFIG"; then
22246 ac_pt_PKG_CONFIG=$PKG_CONFIG
22247 # Extract the first word of "pkg-config", so it can be a program name with args.
22248 set dummy pkg-config; ac_word=$2
22249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22250 printf %s "checking for $ac_word... " >&6; }
22251 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
22252 then :
22253 printf %s "(cached) " >&6
22254 else case e in #(
22255 e) case $ac_pt_PKG_CONFIG in
22256 [\\/]* | ?:[\\/]*)
22257 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22258 ;;
22259 *)
22260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22261 for as_dir in $PATH
22262 do
22263 IFS=$as_save_IFS
22264 case $as_dir in #(((
22265 '') as_dir=./ ;;
22266 */) ;;
22267 *) as_dir=$as_dir/ ;;
22268 esac
22269 for ac_exec_ext in '' $ac_executable_extensions; do
22270 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22271 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
22272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22273 break 2
22274 fi
22275 done
22276 done
22277 IFS=$as_save_IFS
22278
22279 ;;
22280 esac ;;
22281 esac
22282 fi
22283 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22284 if test -n "$ac_pt_PKG_CONFIG"; then
22285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22286 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
22287 else
22288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22289 printf "%s\n" "no" >&6; }
22290 fi
22291
22292 if test "x$ac_pt_PKG_CONFIG" = x; then
22293 PKG_CONFIG=""
22294 else
22295 case $cross_compiling:$ac_tool_warned in
22296 yes:)
22297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22298 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22299 ac_tool_warned=yes ;;
22300 esac
22301 PKG_CONFIG=$ac_pt_PKG_CONFIG
22302 fi
22303 else
22304 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22305 fi
22306
22307 fi
22308 if test -n "$PKG_CONFIG"; then
22309 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
22310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
22311 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
22312 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22314 printf "%s\n" "yes" >&6; }
22315 else
22316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22317 printf "%s\n" "no" >&6; }
22318 PKG_CONFIG=""
22319 fi
22320 fi
22321 if test -z "$PKG_CONFIG"; then
22322 as_fn_error $? "pkg-config not found" "$LINENO" 5
22323 fi
22324
22325 if test x"$PKG_CONFIG" = x""; then
22326 echo
22327 echo "*** Your version of pkg-config is too old. You need atleast"
22328 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
22329 echo "*** from the freedesktop.org software repository at"
22330 echo "***"
22331 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
22332 echo "***"
22333 exit 1;
22334 fi
22335
22336
22337
22338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for epoxy >= 1.2" >&5
22339 printf %s "checking for epoxy >= 1.2... " >&6; }
22340 if $PKG_CONFIG "--atleast-version=1.2" "epoxy" >/dev/null 2>&1; then
22341 EPOXY_VERSION=`$PKG_CONFIG --modversion "epoxy"`
22342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EPOXY_VERSION" >&5
22343 printf "%s\n" "$EPOXY_VERSION" >&6; }
22344
22345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking EPOXY_CFLAGS" >&5
22346 printf %s "checking EPOXY_CFLAGS... " >&6; }
22347 EPOXY_CFLAGS=`$PKG_CONFIG --cflags "epoxy"`
22348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EPOXY_CFLAGS" >&5
22349 printf "%s\n" "$EPOXY_CFLAGS" >&6; }
22350
22351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking EPOXY_LIBS" >&5
22352 printf %s "checking EPOXY_LIBS... " >&6; }
22353 EPOXY_LIBS=`$PKG_CONFIG --libs "epoxy"`
22354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EPOXY_LIBS" >&5
22355 printf "%s\n" "$EPOXY_LIBS" >&6; }
22356
22357 EPOXY_REQUIRED_VERSION=1.2
22358
22359
22360
22361
22362
22363
22364 if test x"EPOXY" = x"GLIB"; then
22365
22366 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
22367
22368 fi
22369
22370
22371
22372
22373
22374 printf "%s\n" "#define HAVE_EPOXY 1" >>confdefs.h
22375
22376 EPOXY_FOUND="yes"
22377
22378 elif $PKG_CONFIG --exists "epoxy" >/dev/null 2>&1; then
22379 xdt_cv_version=`$PKG_CONFIG --modversion "epoxy"`
22380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
22381 printf "%s\n" "found, but $xdt_cv_version" >&6; }
22382
22383
22384 echo "*** The required package epoxy was found on your system,"
22385 echo "*** but the installed version ($xdt_cv_version) is too old."
22386 echo "*** Please upgrade epoxy to atleast version 1.2, or adjust"
22387 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
22388 echo "*** the new version of the package in a nonstandard prefix so"
22389 echo "*** pkg-config is able to find it."
22390 exit 1
22391
22392 else
22393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22394 printf "%s\n" "not found" >&6; }
22395
22396
22397 echo "*** The required package epoxy was not found on your system."
22398 echo "*** Please install epoxy (atleast version 1.2) or adjust"
22399 echo "*** the PKG_CONFIG_PATH environment variable if you"
22400 echo "*** installed the package in a nonstandard prefix so that"
22401 echo "*** pkg-config is able to find it."
22402 exit 1
22403
22404 fi
22405
22406 else
22407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package epoxy >= 1.2" >&5
22408 printf %s "checking for optional package epoxy >= 1.2... " >&6; }
22409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22410 printf "%s\n" "not found" >&6; }
22411 fi
22412 else
22413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package epoxy" >&5
22414 printf %s "checking for optional package epoxy... " >&6; }
22415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
22416 printf "%s\n" "disabled" >&6; }
22417 fi
22418
22419 if test x"$EPOXY_FOUND" = x"yes"; then
22420 HAVE_EPOXY_TRUE=
22421 HAVE_EPOXY_FALSE='#'
22422 else
22423 HAVE_EPOXY_TRUE='#'
22424 HAVE_EPOXY_FALSE=
22425 fi
22426
22427
22428 else
22429 if false; then
22430 HAVE_EPOXY_TRUE=
22431 HAVE_EPOXY_FALSE='#'
22432 else
22433 HAVE_EPOXY_TRUE='#'
22434 HAVE_EPOXY_FALSE=
22435 fi
22436
22437 fi
22438
22439 GUDEV_FOUND="no"
22440 if test x"$GLIBTOP_FOUND" = x"yes"; then
22441
22442
22443
22444 # Check whether --enable-gudev was given.
22445 if test ${enable_gudev+y}
22446 then :
22447 enableval=$enable_gudev; xdt_cv_GUDEV_check=$enableval
22448 else case e in #(
22449 e) xdt_cv_GUDEV_check=yes ;;
22450 esac
22451 fi
22452
22453
22454 if test x"$xdt_cv_GUDEV_check" = x"yes"; then
22455 if $PKG_CONFIG --exists "gudev-1.0 >= 232" >/dev/null 2>&1; then
22456
22457
22458 # minimum supported version of pkg-config
22459 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22470 if test -n "$ac_tool_prefix"; then
22471 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22472 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22474 printf %s "checking for $ac_word... " >&6; }
22475 if test ${ac_cv_path_PKG_CONFIG+y}
22476 then :
22477 printf %s "(cached) " >&6
22478 else case e in #(
22479 e) case $PKG_CONFIG in
22480 [\\/]* | ?:[\\/]*)
22481 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22482 ;;
22483 *)
22484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22485 for as_dir in $PATH
22486 do
22487 IFS=$as_save_IFS
22488 case $as_dir in #(((
22489 '') as_dir=./ ;;
22490 */) ;;
22491 *) as_dir=$as_dir/ ;;
22492 esac
22493 for ac_exec_ext in '' $ac_executable_extensions; do
22494 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22495 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
22496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22497 break 2
22498 fi
22499 done
22500 done
22501 IFS=$as_save_IFS
22502
22503 ;;
22504 esac ;;
22505 esac
22506 fi
22507 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22508 if test -n "$PKG_CONFIG"; then
22509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22510 printf "%s\n" "$PKG_CONFIG" >&6; }
22511 else
22512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22513 printf "%s\n" "no" >&6; }
22514 fi
22515
22516
22517 fi
22518 if test -z "$ac_cv_path_PKG_CONFIG"; then
22519 ac_pt_PKG_CONFIG=$PKG_CONFIG
22520 # Extract the first word of "pkg-config", so it can be a program name with args.
22521 set dummy pkg-config; ac_word=$2
22522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22523 printf %s "checking for $ac_word... " >&6; }
22524 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
22525 then :
22526 printf %s "(cached) " >&6
22527 else case e in #(
22528 e) case $ac_pt_PKG_CONFIG in
22529 [\\/]* | ?:[\\/]*)
22530 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22531 ;;
22532 *)
22533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22534 for as_dir in $PATH
22535 do
22536 IFS=$as_save_IFS
22537 case $as_dir in #(((
22538 '') as_dir=./ ;;
22539 */) ;;
22540 *) as_dir=$as_dir/ ;;
22541 esac
22542 for ac_exec_ext in '' $ac_executable_extensions; do
22543 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22544 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
22545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22546 break 2
22547 fi
22548 done
22549 done
22550 IFS=$as_save_IFS
22551
22552 ;;
22553 esac ;;
22554 esac
22555 fi
22556 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22557 if test -n "$ac_pt_PKG_CONFIG"; then
22558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22559 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
22560 else
22561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22562 printf "%s\n" "no" >&6; }
22563 fi
22564
22565 if test "x$ac_pt_PKG_CONFIG" = x; then
22566 PKG_CONFIG=""
22567 else
22568 case $cross_compiling:$ac_tool_warned in
22569 yes:)
22570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22571 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22572 ac_tool_warned=yes ;;
22573 esac
22574 PKG_CONFIG=$ac_pt_PKG_CONFIG
22575 fi
22576 else
22577 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22578 fi
22579
22580 fi
22581 if test -n "$PKG_CONFIG"; then
22582 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
22583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
22584 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
22585 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22587 printf "%s\n" "yes" >&6; }
22588 else
22589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22590 printf "%s\n" "no" >&6; }
22591 PKG_CONFIG=""
22592 fi
22593 fi
22594 if test -z "$PKG_CONFIG"; then
22595 as_fn_error $? "pkg-config not found" "$LINENO" 5
22596 fi
22597
22598 if test x"$PKG_CONFIG" = x""; then
22599 echo
22600 echo "*** Your version of pkg-config is too old. You need atleast"
22601 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
22602 echo "*** from the freedesktop.org software repository at"
22603 echo "***"
22604 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
22605 echo "***"
22606 exit 1;
22607 fi
22608
22609
22610
22611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gudev-1.0 >= 232" >&5
22612 printf %s "checking for gudev-1.0 >= 232... " >&6; }
22613 if $PKG_CONFIG "--atleast-version=232" "gudev-1.0" >/dev/null 2>&1; then
22614 GUDEV_VERSION=`$PKG_CONFIG --modversion "gudev-1.0"`
22615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUDEV_VERSION" >&5
22616 printf "%s\n" "$GUDEV_VERSION" >&6; }
22617
22618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GUDEV_CFLAGS" >&5
22619 printf %s "checking GUDEV_CFLAGS... " >&6; }
22620 GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0"`
22621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUDEV_CFLAGS" >&5
22622 printf "%s\n" "$GUDEV_CFLAGS" >&6; }
22623
22624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GUDEV_LIBS" >&5
22625 printf %s "checking GUDEV_LIBS... " >&6; }
22626 GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0"`
22627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUDEV_LIBS" >&5
22628 printf "%s\n" "$GUDEV_LIBS" >&6; }
22629
22630 GUDEV_REQUIRED_VERSION=232
22631
22632
22633
22634
22635
22636
22637 if test x"GUDEV" = x"GLIB"; then
22638
22639 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
22640
22641 fi
22642
22643
22644
22645
22646
22647 printf "%s\n" "#define HAVE_GUDEV 1" >>confdefs.h
22648
22649 GUDEV_FOUND="yes"
22650
22651 elif $PKG_CONFIG --exists "gudev-1.0" >/dev/null 2>&1; then
22652 xdt_cv_version=`$PKG_CONFIG --modversion "gudev-1.0"`
22653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
22654 printf "%s\n" "found, but $xdt_cv_version" >&6; }
22655
22656
22657 echo "*** The required package gudev-1.0 was found on your system,"
22658 echo "*** but the installed version ($xdt_cv_version) is too old."
22659 echo "*** Please upgrade gudev-1.0 to atleast version 232, or adjust"
22660 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
22661 echo "*** the new version of the package in a nonstandard prefix so"
22662 echo "*** pkg-config is able to find it."
22663 exit 1
22664
22665 else
22666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22667 printf "%s\n" "not found" >&6; }
22668
22669
22670 echo "*** The required package gudev-1.0 was not found on your system."
22671 echo "*** Please install gudev-1.0 (atleast version 232) or adjust"
22672 echo "*** the PKG_CONFIG_PATH environment variable if you"
22673 echo "*** installed the package in a nonstandard prefix so that"
22674 echo "*** pkg-config is able to find it."
22675 exit 1
22676
22677 fi
22678
22679 else
22680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package gudev-1.0 >= 232" >&5
22681 printf %s "checking for optional package gudev-1.0 >= 232... " >&6; }
22682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22683 printf "%s\n" "not found" >&6; }
22684 fi
22685 else
22686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package gudev-1.0" >&5
22687 printf %s "checking for optional package gudev-1.0... " >&6; }
22688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
22689 printf "%s\n" "disabled" >&6; }
22690 fi
22691
22692 if test x"$GUDEV_FOUND" = x"yes"; then
22693 HAVE_GUDEV_TRUE=
22694 HAVE_GUDEV_FALSE='#'
22695 else
22696 HAVE_GUDEV_TRUE='#'
22697 HAVE_GUDEV_FALSE=
22698 fi
22699
22700
22701 else
22702 if false; then
22703 HAVE_GUDEV_TRUE=
22704 HAVE_GUDEV_FALSE='#'
22705 else
22706 HAVE_GUDEV_TRUE='#'
22707 HAVE_GUDEV_FALSE=
22708 fi
22709
22710 fi
22711
22712
22713
22714
22715 # Check whether --enable-introspection was given.
22716 if test ${enable_introspection+y}
22717 then :
22718 enableval=$enable_introspection;
22719 else case e in #(
22720 e) enable_introspection=auto ;;
22721 esac
22722 fi
22723
22724
22725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
22726 printf %s "checking for gobject-introspection... " >&6; }
22727
22728 case $enable_introspection in #(
22729 no) :
22730 found_introspection="no (disabled, use --enable-introspection to enable)"
22731 ;; #(
22732 yes) :
22733 if test -n "$PKG_CONFIG" && \
22734 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
22735 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
22736 ac_status=$?
22737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22738 test $ac_status = 0; }; then
22739 :
22740 else
22741 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
22742 fi
22743 if test -n "$PKG_CONFIG" && \
22744 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.72.0\""; } >&5
22745 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.72.0") 2>&5
22746 ac_status=$?
22747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22748 test $ac_status = 0; }; then
22749 found_introspection=yes
22750 else
22751 as_fn_error $? "You need to have gobject-introspection >= 1.72.0 installed to build libxfce4ui" "$LINENO" 5
22752 fi
22753 ;; #(
22754 auto) :
22755 if test -n "$PKG_CONFIG" && \
22756 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.72.0\""; } >&5
22757 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.72.0") 2>&5
22758 ac_status=$?
22759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22760 test $ac_status = 0; }; then
22761 found_introspection=yes
22762 else
22763 found_introspection=no
22764 fi
22765 enable_introspection=$found_introspection
22766 ;; #(
22767 *) :
22768 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
22769 ;;
22770 esac
22771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
22772 printf "%s\n" "$found_introspection" >&6; }
22773
22774
22775 EXP_VAR=_GI_EXP_DATADIR
22776 FROM_VAR="$datadir"
22777
22778 prefix_save=$prefix
22779 exec_prefix_save=$exec_prefix
22780
22781 if test "x$prefix" = "xNONE"; then
22782 prefix="$ac_default_prefix"
22783 fi
22784 if test "x$exec_prefix" = "xNONE"; then
22785 exec_prefix=$prefix
22786 fi
22787
22788 full_var="$FROM_VAR"
22789 while true; do
22790 new_full_var="`eval echo $full_var`"
22791 if test "x$new_full_var" = "x$full_var"; then break; fi
22792 full_var=$new_full_var
22793 done
22794
22795 full_var=$new_full_var
22796 _GI_EXP_DATADIR="$full_var"
22797
22798
22799 prefix=$prefix_save
22800 exec_prefix=$exec_prefix_save
22801
22802
22803 EXP_VAR=_GI_EXP_LIBDIR
22804 FROM_VAR="$libdir"
22805
22806 prefix_save=$prefix
22807 exec_prefix_save=$exec_prefix
22808
22809 if test "x$prefix" = "xNONE"; then
22810 prefix="$ac_default_prefix"
22811 fi
22812 if test "x$exec_prefix" = "xNONE"; then
22813 exec_prefix=$prefix
22814 fi
22815
22816 full_var="$FROM_VAR"
22817 while true; do
22818 new_full_var="`eval echo $full_var`"
22819 if test "x$new_full_var" = "x$full_var"; then break; fi
22820 full_var=$new_full_var
22821 done
22822
22823 full_var=$new_full_var
22824 _GI_EXP_LIBDIR="$full_var"
22825
22826
22827 prefix=$prefix_save
22828 exec_prefix=$exec_prefix_save
22829
22830
22831 INTROSPECTION_SCANNER=
22832 INTROSPECTION_COMPILER=
22833 INTROSPECTION_GENERATE=
22834 INTROSPECTION_GIRDIR=
22835 INTROSPECTION_TYPELIBDIR=
22836 if test "x$found_introspection" = "xyes"; then
22837 INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
22838 INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
22839 INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
22840 INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0`
22841 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)"
22842 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
22843 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
22844 INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
22845 fi
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855 if test "x$found_introspection" = "xyes"; then
22856 HAVE_INTROSPECTION_TRUE=
22857 HAVE_INTROSPECTION_FALSE='#'
22858 else
22859 HAVE_INTROSPECTION_TRUE='#'
22860 HAVE_INTROSPECTION_FALSE=
22861 fi
22862
22863
22864
22865
22866
22867 if test "x" != "xyes"
22868 then :
22869
22870
22871
22872 fi
22873
22874 # Check whether --enable-vala was given.
22875 if test ${enable_vala+y}
22876 then :
22877 enableval=$enable_vala;
22878 else case e in #(
22879 e)
22880 if test "x" = "x"
22881 then :
22882
22883 enable_vala=auto
22884
22885 else case e in #(
22886 e)
22887 enable_vala=
22888 ;;
22889 esac
22890 fi
22891 ;;
22892 esac
22893 fi
22894
22895
22896 case $enable_vala in #(
22897 no) :
22898 enable_vala=no ;; #(
22899 yes) :
22900
22901 if test "x" != "xyes" -a "x$found_introspection" != "xyes"
22902 then :
22903
22904 as_fn_error $? "Vala bindings require GObject Introspection" "$LINENO" 5
22905
22906 fi
22907 ;; #(
22908 auto) :
22909
22910 if test "x" != "xyes" -a "x$found_introspection" != "xyes"
22911 then :
22912
22913 enable_vala=no
22914
22915 fi
22916 ;; #(
22917 *) :
22918
22919 as_fn_error $? "Invalid argument passed to --enable-vala, should be one of [no/auto/yes]" "$LINENO" 5
22920 ;;
22921 esac
22922
22923 if test "x" = "x"
22924 then :
22925
22926 vapigen_pkg_name=vapigen
22927
22928 else case e in #(
22929 e)
22930 vapigen_pkg_name=vapigen-
22931 ;;
22932 esac
22933 fi
22934 if test "x" = "x"
22935 then :
22936
22937 vapigen_pkg="$vapigen_pkg_name"
22938
22939 else case e in #(
22940 e)
22941 vapigen_pkg="$vapigen_pkg_name >= "
22942 ;;
22943 esac
22944 fi
22945
22946
22947
22948
22949
22950
22951
22952
22953 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22954 if test -n "$ac_tool_prefix"; then
22955 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22956 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22958 printf %s "checking for $ac_word... " >&6; }
22959 if test ${ac_cv_path_PKG_CONFIG+y}
22960 then :
22961 printf %s "(cached) " >&6
22962 else case e in #(
22963 e) case $PKG_CONFIG in
22964 [\\/]* | ?:[\\/]*)
22965 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22966 ;;
22967 *)
22968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22969 for as_dir in $PATH
22970 do
22971 IFS=$as_save_IFS
22972 case $as_dir in #(((
22973 '') as_dir=./ ;;
22974 */) ;;
22975 *) as_dir=$as_dir/ ;;
22976 esac
22977 for ac_exec_ext in '' $ac_executable_extensions; do
22978 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22979 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
22980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22981 break 2
22982 fi
22983 done
22984 done
22985 IFS=$as_save_IFS
22986
22987 ;;
22988 esac ;;
22989 esac
22990 fi
22991 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22992 if test -n "$PKG_CONFIG"; then
22993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22994 printf "%s\n" "$PKG_CONFIG" >&6; }
22995 else
22996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22997 printf "%s\n" "no" >&6; }
22998 fi
22999
23000
23001 fi
23002 if test -z "$ac_cv_path_PKG_CONFIG"; then
23003 ac_pt_PKG_CONFIG=$PKG_CONFIG
23004 # Extract the first word of "pkg-config", so it can be a program name with args.
23005 set dummy pkg-config; ac_word=$2
23006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23007 printf %s "checking for $ac_word... " >&6; }
23008 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
23009 then :
23010 printf %s "(cached) " >&6
23011 else case e in #(
23012 e) case $ac_pt_PKG_CONFIG in
23013 [\\/]* | ?:[\\/]*)
23014 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23015 ;;
23016 *)
23017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23018 for as_dir in $PATH
23019 do
23020 IFS=$as_save_IFS
23021 case $as_dir in #(((
23022 '') as_dir=./ ;;
23023 */) ;;
23024 *) as_dir=$as_dir/ ;;
23025 esac
23026 for ac_exec_ext in '' $ac_executable_extensions; do
23027 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23028 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
23029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23030 break 2
23031 fi
23032 done
23033 done
23034 IFS=$as_save_IFS
23035
23036 ;;
23037 esac ;;
23038 esac
23039 fi
23040 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23041 if test -n "$ac_pt_PKG_CONFIG"; then
23042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23043 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
23044 else
23045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23046 printf "%s\n" "no" >&6; }
23047 fi
23048
23049 if test "x$ac_pt_PKG_CONFIG" = x; then
23050 PKG_CONFIG=""
23051 else
23052 case $cross_compiling:$ac_tool_warned in
23053 yes:)
23054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23055 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23056 ac_tool_warned=yes ;;
23057 esac
23058 PKG_CONFIG=$ac_pt_PKG_CONFIG
23059 fi
23060 else
23061 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23062 fi
23063
23064 fi
23065 if test -n "$PKG_CONFIG"; then
23066 _pkg_min_version=0.9.0
23067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
23068 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
23069 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23071 printf "%s\n" "yes" >&6; }
23072 else
23073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23074 printf "%s\n" "no" >&6; }
23075 PKG_CONFIG=""
23076 fi
23077 fi
23078 if test -z "$PKG_CONFIG"; then
23079 as_fn_error $? "pkg-config not found" "$LINENO" 5
23080 fi
23081
23082 if test -n "$PKG_CONFIG" && \
23083 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vapigen_pkg\""; } >&5
23084 ($PKG_CONFIG --exists --print-errors "$vapigen_pkg") 2>&5
23085 ac_status=$?
23086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23087 test $ac_status = 0; }; then
23088
23089 if test "$enable_vala" = "auto"
23090 then :
23091
23092 enable_vala=yes
23093
23094 fi
23095
23096 else
23097
23098 case $enable_vala in #(
23099 yes) :
23100
23101 as_fn_error $? "$vapigen_pkg not found" "$LINENO" 5
23102 ;; #(
23103 auto) :
23104
23105 enable_vala=no
23106 ;; #(
23107 *) :
23108 ;;
23109 esac
23110
23111 fi
23112
23113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vapigen" >&5
23114 printf %s "checking for vapigen... " >&6; }
23115
23116 case $enable_vala in #(
23117 yes) :
23118
23119 VAPIGEN=`$PKG_CONFIG --variable=vapigen $vapigen_pkg_name`
23120 VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir $vapigen_pkg_name`/vala/Makefile.vapigen
23121 if test "x" = "x"
23122 then :
23123
23124 VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir $vapigen_pkg_name`
23125
23126 else case e in #(
23127 e)
23128 VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned $vapigen_pkg_name`
23129 ;;
23130 esac
23131 fi
23132 ;; #(
23133 *) :
23134 ;;
23135 esac
23136
23137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_vala" >&5
23138 printf "%s\n" "$enable_vala" >&6; }
23139
23140
23141
23142
23143
23144 if test "x$enable_vala" = "xyes"; then
23145 ENABLE_VAPIGEN_TRUE=
23146 ENABLE_VAPIGEN_FALSE='#'
23147 else
23148 ENABLE_VAPIGEN_TRUE='#'
23149 ENABLE_VAPIGEN_FALSE=
23150 fi
23151
23152
23153
23154 # Check whether --enable-keyboard-library was given.
23155 if test ${enable_keyboard_library+y}
23156 then :
23157 enableval=$enable_keyboard_library; enable_keyboard_library=$enableval
23158 else case e in #(
23159 e) enable_keyboard_library=yes ;;
23160 esac
23161 fi
23162
23163 if test "x$enable_keyboard_library" = "xyes"; then
23164 ENABLE_KEYBOARD_LIBRARY_TRUE=
23165 ENABLE_KEYBOARD_LIBRARY_FALSE='#'
23166 else
23167 ENABLE_KEYBOARD_LIBRARY_TRUE='#'
23168 ENABLE_KEYBOARD_LIBRARY_FALSE=
23169 fi
23170
23171
23172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for additional vendor name and/or info" >&5
23173 printf %s "checking for additional vendor name and/or info... " >&6; }
23174
23175 # Check whether --with-vendor-info was given.
23176 if test ${with_vendor_info+y}
23177 then :
23178 withval=$with_vendor_info; with_vendor_info="$withval"
23179 else case e in #(
23180 e) with_vendor_info="" ;;
23181 esac
23182 fi
23183
23184 if test x"$with_vendor_info" != x""; then
23185
23186 printf "%s\n" "#define VENDOR_INFO \"$with_vendor_info\"" >>confdefs.h
23187
23188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $vendorinfo" >&5
23189 printf "%s\n" "$vendorinfo" >&6; }
23190 else
23191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not set" >&5
23192 printf "%s\n" "not set" >&6; }
23193 fi
23194
23195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a custom manual website location" >&5
23196 printf %s "checking for a custom manual website location... " >&6; }
23197
23198 # Check whether --with-manual-website was given.
23199 if test ${with_manual_website+y}
23200 then :
23201 withval=$with_manual_website; with_manual_website="$withval"
23202 else case e in #(
23203 e) with_manual_website="https://docs.xfce.org/help.php" ;;
23204 esac
23205 fi
23206
23207
23208 printf "%s\n" "#define MANUAL_WEBSITE \"$with_manual_website\"" >>confdefs.h
23209
23210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_manual_website" >&5
23211 printf "%s\n" "$with_manual_website" >&6; }
23212
23213
23214
23215
23216
23217 # Check whether --enable-gladeui2 was given.
23218 if test ${enable_gladeui2+y}
23219 then :
23220 enableval=$enable_gladeui2; xdt_cv_GLADEUI2_check=$enableval
23221 else case e in #(
23222 e) xdt_cv_GLADEUI2_check=yes ;;
23223 esac
23224 fi
23225
23226
23227 if test x"$xdt_cv_GLADEUI2_check" = x"yes"; then
23228 if $PKG_CONFIG --exists "gladeui-2.0 >= 3.5.0" >/dev/null 2>&1; then
23229
23230
23231 # minimum supported version of pkg-config
23232 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23243 if test -n "$ac_tool_prefix"; then
23244 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23245 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23247 printf %s "checking for $ac_word... " >&6; }
23248 if test ${ac_cv_path_PKG_CONFIG+y}
23249 then :
23250 printf %s "(cached) " >&6
23251 else case e in #(
23252 e) case $PKG_CONFIG in
23253 [\\/]* | ?:[\\/]*)
23254 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23255 ;;
23256 *)
23257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23258 for as_dir in $PATH
23259 do
23260 IFS=$as_save_IFS
23261 case $as_dir in #(((
23262 '') as_dir=./ ;;
23263 */) ;;
23264 *) as_dir=$as_dir/ ;;
23265 esac
23266 for ac_exec_ext in '' $ac_executable_extensions; do
23267 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23268 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
23269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23270 break 2
23271 fi
23272 done
23273 done
23274 IFS=$as_save_IFS
23275
23276 ;;
23277 esac ;;
23278 esac
23279 fi
23280 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23281 if test -n "$PKG_CONFIG"; then
23282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23283 printf "%s\n" "$PKG_CONFIG" >&6; }
23284 else
23285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23286 printf "%s\n" "no" >&6; }
23287 fi
23288
23289
23290 fi
23291 if test -z "$ac_cv_path_PKG_CONFIG"; then
23292 ac_pt_PKG_CONFIG=$PKG_CONFIG
23293 # Extract the first word of "pkg-config", so it can be a program name with args.
23294 set dummy pkg-config; ac_word=$2
23295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23296 printf %s "checking for $ac_word... " >&6; }
23297 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
23298 then :
23299 printf %s "(cached) " >&6
23300 else case e in #(
23301 e) case $ac_pt_PKG_CONFIG in
23302 [\\/]* | ?:[\\/]*)
23303 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23304 ;;
23305 *)
23306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23307 for as_dir in $PATH
23308 do
23309 IFS=$as_save_IFS
23310 case $as_dir in #(((
23311 '') as_dir=./ ;;
23312 */) ;;
23313 *) as_dir=$as_dir/ ;;
23314 esac
23315 for ac_exec_ext in '' $ac_executable_extensions; do
23316 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23317 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
23318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23319 break 2
23320 fi
23321 done
23322 done
23323 IFS=$as_save_IFS
23324
23325 ;;
23326 esac ;;
23327 esac
23328 fi
23329 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23330 if test -n "$ac_pt_PKG_CONFIG"; then
23331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23332 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
23333 else
23334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23335 printf "%s\n" "no" >&6; }
23336 fi
23337
23338 if test "x$ac_pt_PKG_CONFIG" = x; then
23339 PKG_CONFIG=""
23340 else
23341 case $cross_compiling:$ac_tool_warned in
23342 yes:)
23343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23344 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23345 ac_tool_warned=yes ;;
23346 esac
23347 PKG_CONFIG=$ac_pt_PKG_CONFIG
23348 fi
23349 else
23350 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23351 fi
23352
23353 fi
23354 if test -n "$PKG_CONFIG"; then
23355 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
23356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
23357 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
23358 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23360 printf "%s\n" "yes" >&6; }
23361 else
23362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23363 printf "%s\n" "no" >&6; }
23364 PKG_CONFIG=""
23365 fi
23366 fi
23367 if test -z "$PKG_CONFIG"; then
23368 as_fn_error $? "pkg-config not found" "$LINENO" 5
23369 fi
23370
23371 if test x"$PKG_CONFIG" = x""; then
23372 echo
23373 echo "*** Your version of pkg-config is too old. You need atleast"
23374 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
23375 echo "*** from the freedesktop.org software repository at"
23376 echo "***"
23377 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/"
23378 echo "***"
23379 exit 1;
23380 fi
23381
23382
23383
23384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gladeui-2.0 >= 3.5.0" >&5
23385 printf %s "checking for gladeui-2.0 >= 3.5.0... " >&6; }
23386 if $PKG_CONFIG "--atleast-version=3.5.0" "gladeui-2.0" >/dev/null 2>&1; then
23387 GLADEUI2_VERSION=`$PKG_CONFIG --modversion "gladeui-2.0"`
23388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLADEUI2_VERSION" >&5
23389 printf "%s\n" "$GLADEUI2_VERSION" >&6; }
23390
23391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GLADEUI2_CFLAGS" >&5
23392 printf %s "checking GLADEUI2_CFLAGS... " >&6; }
23393 GLADEUI2_CFLAGS=`$PKG_CONFIG --cflags "gladeui-2.0"`
23394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLADEUI2_CFLAGS" >&5
23395 printf "%s\n" "$GLADEUI2_CFLAGS" >&6; }
23396
23397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GLADEUI2_LIBS" >&5
23398 printf %s "checking GLADEUI2_LIBS... " >&6; }
23399 GLADEUI2_LIBS=`$PKG_CONFIG --libs "gladeui-2.0"`
23400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLADEUI2_LIBS" >&5
23401 printf "%s\n" "$GLADEUI2_LIBS" >&6; }
23402
23403 GLADEUI2_REQUIRED_VERSION=3.5.0
23404
23405
23406
23407
23408
23409
23410 if test x"GLADEUI2" = x"GLIB"; then
23411
23412 printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
23413
23414 fi
23415
23416
23417
23418
23419
23420 printf "%s\n" "#define HAVE_GLADEUI2 1" >>confdefs.h
23421
23422 GLADEUI2_FOUND="yes"
23423
23424 elif $PKG_CONFIG --exists "gladeui-2.0" >/dev/null 2>&1; then
23425 xdt_cv_version=`$PKG_CONFIG --modversion "gladeui-2.0"`
23426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
23427 printf "%s\n" "found, but $xdt_cv_version" >&6; }
23428
23429
23430 echo "*** The required package gladeui-2.0 was found on your system,"
23431 echo "*** but the installed version ($xdt_cv_version) is too old."
23432 echo "*** Please upgrade gladeui-2.0 to atleast version 3.5.0, or adjust"
23433 echo "*** the PKG_CONFIG_PATH environment variable if you installed"
23434 echo "*** the new version of the package in a nonstandard prefix so"
23435 echo "*** pkg-config is able to find it."
23436 exit 1
23437
23438 else
23439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
23440 printf "%s\n" "not found" >&6; }
23441
23442
23443 echo "*** The required package gladeui-2.0 was not found on your system."
23444 echo "*** Please install gladeui-2.0 (atleast version 3.5.0) or adjust"
23445 echo "*** the PKG_CONFIG_PATH environment variable if you"
23446 echo "*** installed the package in a nonstandard prefix so that"
23447 echo "*** pkg-config is able to find it."
23448 exit 1
23449
23450 fi
23451
23452 else
23453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package gladeui-2.0 >= 3.5.0" >&5
23454 printf %s "checking for optional package gladeui-2.0 >= 3.5.0... " >&6; }
23455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
23456 printf "%s\n" "not found" >&6; }
23457 fi
23458 else
23459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional package gladeui-2.0" >&5
23460 printf %s "checking for optional package gladeui-2.0... " >&6; }
23461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
23462 printf "%s\n" "disabled" >&6; }
23463 fi
23464
23465 if test x"$GLADEUI2_FOUND" = x"yes"; then
23466 HAVE_GLADEUI2_TRUE=
23467 HAVE_GLADEUI2_FALSE='#'
23468 else
23469 HAVE_GLADEUI2_TRUE='#'
23470 HAVE_GLADEUI2_FALSE=
23471 fi
23472
23473
23474
23475
23476 # Check whether --with-gladeui2-catalogdir was given.
23477 if test ${with_gladeui2_catalogdir+y}
23478 then :
23479 withval=$with_gladeui2_catalogdir; gladeui2_catalogdir="$withval"
23480 fi
23481
23482
23483 # Check whether --with-gladeui2-moduledir was given.
23484 if test ${with_gladeui2_moduledir+y}
23485 then :
23486 withval=$with_gladeui2_moduledir; gladeui2_moduledir="$withval"
23487 fi
23488
23489
23490 # Check whether --with-gladeui2-pixmapdir was given.
23491 if test ${with_gladeui2_pixmapdir+y}
23492 then :
23493 withval=$with_gladeui2_pixmapdir; gladeui2_pixmapdir="$withval"
23494 fi
23495
23496 if test x"$GLADEUI2_FOUND" = x"yes"; then
23497 if test x"$gladeui2_catalogdir" = x""; then
23498 GLADEUI2_CATALOGDIR=`$PKG_CONFIG "--variable=catalogdir" "gladeui-2.0"`
23499 else
23500 GLADEUI2_CATALOGDIR="$gladeui2_catalogdir"
23501 fi
23502 if test x"$gladeui2_moduledir" = x""; then
23503 GLADEUI2_MODULEDIR=`$PKG_CONFIG "--variable=moduledir" "gladeui-2.0"`
23504 else
23505 GLADEUI2_MODULEDIR="$gladeui2_moduledir"
23506 fi
23507 if test x"$gladeui2_pixmapdir" = x""; then
23508 GLADEUI2_PIXMAPDIR=`$PKG_CONFIG "--variable=pixmapdir" "gladeui-2.0"`
23509 else
23510 GLADEUI2_PIXMAPDIR="$gladeui2_pixmapdir"
23511 fi
23512 fi
23513
23514
23515
23516
23517
23518
23519
23520 gtk_doc_requires="gtk-doc >= 1.0"
23521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
23522 printf %s "checking for gtk-doc... " >&6; }
23523 if test -n "$PKG_CONFIG" && \
23524 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
23525 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
23526 ac_status=$?
23527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23528 test $ac_status = 0; }; then
23529 have_gtk_doc=yes
23530 else
23531 have_gtk_doc=no
23532 fi
23533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
23534 printf "%s\n" "$have_gtk_doc" >&6; }
23535
23536 if test "$have_gtk_doc" = "no"; then
23537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
23538 You will not be able to create source packages with 'make dist'
23539 because $gtk_doc_requires is not found." >&5
23540 printf "%s\n" "$as_me: WARNING:
23541 You will not be able to create source packages with 'make dist'
23542 because $gtk_doc_requires is not found." >&2;}
23543 fi
23544
23545 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
23546 set dummy gtkdoc-check; ac_word=$2
23547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23548 printf %s "checking for $ac_word... " >&6; }
23549 if test ${ac_cv_prog_GTKDOC_CHECK+y}
23550 then :
23551 printf %s "(cached) " >&6
23552 else case e in #(
23553 e) if test -n "$GTKDOC_CHECK"; then
23554 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
23555 else
23556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23557 for as_dir in $PATH
23558 do
23559 IFS=$as_save_IFS
23560 case $as_dir in #(((
23561 '') as_dir=./ ;;
23562 */) ;;
23563 *) as_dir=$as_dir/ ;;
23564 esac
23565 for ac_exec_ext in '' $ac_executable_extensions; do
23566 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23567 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
23568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23569 break 2
23570 fi
23571 done
23572 done
23573 IFS=$as_save_IFS
23574
23575 fi ;;
23576 esac
23577 fi
23578 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
23579 if test -n "$GTKDOC_CHECK"; then
23580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
23581 printf "%s\n" "$GTKDOC_CHECK" >&6; }
23582 else
23583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23584 printf "%s\n" "no" >&6; }
23585 fi
23586
23587
23588 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
23589 set dummy gtkdoc-check; ac_word=$2
23590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23591 printf %s "checking for $ac_word... " >&6; }
23592 if test ${ac_cv_path_GTKDOC_CHECK_PATH+y}
23593 then :
23594 printf %s "(cached) " >&6
23595 else case e in #(
23596 e) case $GTKDOC_CHECK_PATH in
23597 [\\/]* | ?:[\\/]*)
23598 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
23599 ;;
23600 *)
23601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23602 for as_dir in $PATH
23603 do
23604 IFS=$as_save_IFS
23605 case $as_dir in #(((
23606 '') as_dir=./ ;;
23607 */) ;;
23608 *) as_dir=$as_dir/ ;;
23609 esac
23610 for ac_exec_ext in '' $ac_executable_extensions; do
23611 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23612 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir$ac_word$ac_exec_ext"
23613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23614 break 2
23615 fi
23616 done
23617 done
23618 IFS=$as_save_IFS
23619
23620 ;;
23621 esac ;;
23622 esac
23623 fi
23624 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
23625 if test -n "$GTKDOC_CHECK_PATH"; then
23626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
23627 printf "%s\n" "$GTKDOC_CHECK_PATH" >&6; }
23628 else
23629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23630 printf "%s\n" "no" >&6; }
23631 fi
23632
23633
23634 for ac_prog in gtkdoc-rebase
23635 do
23636 # Extract the first word of "$ac_prog", so it can be a program name with args.
23637 set dummy $ac_prog; ac_word=$2
23638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23639 printf %s "checking for $ac_word... " >&6; }
23640 if test ${ac_cv_path_GTKDOC_REBASE+y}
23641 then :
23642 printf %s "(cached) " >&6
23643 else case e in #(
23644 e) case $GTKDOC_REBASE in
23645 [\\/]* | ?:[\\/]*)
23646 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
23647 ;;
23648 *)
23649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23650 for as_dir in $PATH
23651 do
23652 IFS=$as_save_IFS
23653 case $as_dir in #(((
23654 '') as_dir=./ ;;
23655 */) ;;
23656 *) as_dir=$as_dir/ ;;
23657 esac
23658 for ac_exec_ext in '' $ac_executable_extensions; do
23659 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23660 ac_cv_path_GTKDOC_REBASE="$as_dir$ac_word$ac_exec_ext"
23661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23662 break 2
23663 fi
23664 done
23665 done
23666 IFS=$as_save_IFS
23667
23668 ;;
23669 esac ;;
23670 esac
23671 fi
23672 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
23673 if test -n "$GTKDOC_REBASE"; then
23674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
23675 printf "%s\n" "$GTKDOC_REBASE" >&6; }
23676 else
23677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23678 printf "%s\n" "no" >&6; }
23679 fi
23680
23681
23682 test -n "$GTKDOC_REBASE" && break
23683 done
23684 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
23685
23686 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
23687 set dummy gtkdoc-mkpdf; ac_word=$2
23688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23689 printf %s "checking for $ac_word... " >&6; }
23690 if test ${ac_cv_path_GTKDOC_MKPDF+y}
23691 then :
23692 printf %s "(cached) " >&6
23693 else case e in #(
23694 e) case $GTKDOC_MKPDF in
23695 [\\/]* | ?:[\\/]*)
23696 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
23697 ;;
23698 *)
23699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23700 for as_dir in $PATH
23701 do
23702 IFS=$as_save_IFS
23703 case $as_dir in #(((
23704 '') as_dir=./ ;;
23705 */) ;;
23706 *) as_dir=$as_dir/ ;;
23707 esac
23708 for ac_exec_ext in '' $ac_executable_extensions; do
23709 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23710 ac_cv_path_GTKDOC_MKPDF="$as_dir$ac_word$ac_exec_ext"
23711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23712 break 2
23713 fi
23714 done
23715 done
23716 IFS=$as_save_IFS
23717
23718 ;;
23719 esac ;;
23720 esac
23721 fi
23722 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
23723 if test -n "$GTKDOC_MKPDF"; then
23724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
23725 printf "%s\n" "$GTKDOC_MKPDF" >&6; }
23726 else
23727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23728 printf "%s\n" "no" >&6; }
23729 fi
23730
23731
23732
23733
23734 # Check whether --with-html-dir was given.
23735 if test ${with_html_dir+y}
23736 then :
23737 withval=$with_html_dir;
23738 else case e in #(
23739 e) with_html_dir='${datadir}/gtk-doc/html' ;;
23740 esac
23741 fi
23742
23743 HTML_DIR="$with_html_dir"
23744
23745
23746 # Check whether --enable-gtk-doc was given.
23747 if test ${enable_gtk_doc+y}
23748 then :
23749 enableval=$enable_gtk_doc;
23750 else case e in #(
23751 e) enable_gtk_doc=no ;;
23752 esac
23753 fi
23754
23755
23756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
23757 printf %s "checking whether to build gtk-doc documentation... " >&6; }
23758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
23759 printf "%s\n" "$enable_gtk_doc" >&6; }
23760
23761 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
23762 as_fn_error $? "
23763 You must have $gtk_doc_requires installed to build documentation for
23764 $PACKAGE_NAME. Please install gtk-doc or disable building the
23765 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
23766 fi
23767
23768 if test "x$PACKAGE_NAME" != "xglib"; then
23769
23770 pkg_failed=no
23771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" >&5
23772 printf %s "checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... " >&6; }
23773
23774 if test -n "$GTKDOC_DEPS_CFLAGS"; then
23775 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
23776 elif test -n "$PKG_CONFIG"; then
23777 if test -n "$PKG_CONFIG" && \
23778 { { 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
23779 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
23780 ac_status=$?
23781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23782 test $ac_status = 0; }; then
23783 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
23784 test "x$?" != "x0" && pkg_failed=yes
23785 else
23786 pkg_failed=yes
23787 fi
23788 else
23789 pkg_failed=untried
23790 fi
23791 if test -n "$GTKDOC_DEPS_LIBS"; then
23792 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
23793 elif test -n "$PKG_CONFIG"; then
23794 if test -n "$PKG_CONFIG" && \
23795 { { 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
23796 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
23797 ac_status=$?
23798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23799 test $ac_status = 0; }; then
23800 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
23801 test "x$?" != "x0" && pkg_failed=yes
23802 else
23803 pkg_failed=yes
23804 fi
23805 else
23806 pkg_failed=untried
23807 fi
23808
23809
23810
23811 if test $pkg_failed = yes; then
23812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23813 printf "%s\n" "no" >&6; }
23814
23815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23816 _pkg_short_errors_supported=yes
23817 else
23818 _pkg_short_errors_supported=no
23819 fi
23820 if test $_pkg_short_errors_supported = yes; then
23821 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`
23822 else
23823 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
23824 fi
23825 # Put the nasty error message in config.log where it belongs
23826 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
23827
23828 :
23829 elif test $pkg_failed = untried; then
23830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23831 printf "%s\n" "no" >&6; }
23832 :
23833 else
23834 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
23835 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
23836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23837 printf "%s\n" "yes" >&6; }
23838
23839 fi
23840 fi
23841
23842 # Check whether --enable-gtk-doc-html was given.
23843 if test ${enable_gtk_doc_html+y}
23844 then :
23845 enableval=$enable_gtk_doc_html;
23846 else case e in #(
23847 e) enable_gtk_doc_html=yes ;;
23848 esac
23849 fi
23850
23851 # Check whether --enable-gtk-doc-pdf was given.
23852 if test ${enable_gtk_doc_pdf+y}
23853 then :
23854 enableval=$enable_gtk_doc_pdf;
23855 else case e in #(
23856 e) enable_gtk_doc_pdf=no ;;
23857 esac
23858 fi
23859
23860
23861 if test -z "$GTKDOC_MKPDF"; then
23862 enable_gtk_doc_pdf=no
23863 fi
23864
23865 if test -z "$AM_DEFAULT_VERBOSITY"; then
23866 AM_DEFAULT_VERBOSITY=1
23867 fi
23868
23869
23870 if test x$have_gtk_doc = xyes; then
23871 HAVE_GTK_DOC_TRUE=
23872 HAVE_GTK_DOC_FALSE='#'
23873 else
23874 HAVE_GTK_DOC_TRUE='#'
23875 HAVE_GTK_DOC_FALSE=
23876 fi
23877
23878 if test x$enable_gtk_doc = xyes; then
23879 ENABLE_GTK_DOC_TRUE=
23880 ENABLE_GTK_DOC_FALSE='#'
23881 else
23882 ENABLE_GTK_DOC_TRUE='#'
23883 ENABLE_GTK_DOC_FALSE=
23884 fi
23885
23886 if test x$enable_gtk_doc_html = xyes; then
23887 GTK_DOC_BUILD_HTML_TRUE=
23888 GTK_DOC_BUILD_HTML_FALSE='#'
23889 else
23890 GTK_DOC_BUILD_HTML_TRUE='#'
23891 GTK_DOC_BUILD_HTML_FALSE=
23892 fi
23893
23894 if test x$enable_gtk_doc_pdf = xyes; then
23895 GTK_DOC_BUILD_PDF_TRUE=
23896 GTK_DOC_BUILD_PDF_FALSE='#'
23897 else
23898 GTK_DOC_BUILD_PDF_TRUE='#'
23899 GTK_DOC_BUILD_PDF_FALSE=
23900 fi
23901
23902 if test -n "$LIBTOOL"; then
23903 GTK_DOC_USE_LIBTOOL_TRUE=
23904 GTK_DOC_USE_LIBTOOL_FALSE='#'
23905 else
23906 GTK_DOC_USE_LIBTOOL_TRUE='#'
23907 GTK_DOC_USE_LIBTOOL_FALSE=
23908 fi
23909
23910 if test -n "$GTKDOC_REBASE"; then
23911 GTK_DOC_USE_REBASE_TRUE=
23912 GTK_DOC_USE_REBASE_FALSE='#'
23913 else
23914 GTK_DOC_USE_REBASE_TRUE='#'
23915 GTK_DOC_USE_REBASE_FALSE=
23916 fi
23917
23918
23919
23920
23921 # Check whether --enable-debug was given.
23922 if test ${enable_debug+y}
23923 then :
23924 enableval=$enable_debug; enable_debug=$enableval
23925 else case e in #(
23926 e) enable_debug=minimum ;;
23927 esac
23928 fi
23929
23930
23931 xdt_cv_additional_COMMON_FLAGS="-Wall -Wextra \
23932 -Wno-missing-field-initializers \
23933 -Wno-unused-parameter \
23934 -Wmissing-declarations \
23935 -Wmissing-noreturn -Wpointer-arith \
23936 -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
23937 -Winit-self -Wmissing-include-dirs -Wundef \
23938 -Wredundant-decls -Wshadow"
23939
23940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
23941 printf %s "checking whether to build with debugging support... " >&6; }
23942 if test x"$enable_debug" = x"werror" -o x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
23943
23944 printf "%s\n" "#define DEBUG 1" >>confdefs.h
23945
23946
23947 CPPFLAGS="$CPPFLAGS"
23948
23949 if test x`uname` = x"Linux"; then
23950 xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -fstack-protector"
23951 fi
23952
23953 if test x"$enable_debug" = x"werror" -o x"$enable_debug" = x"full"; then
23954
23955 printf "%s\n" "#define DEBUG_TRACE 1" >>confdefs.h
23956
23957 xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -O0 -g"
23958 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
23959 if test x"$enable_debug" = x"werror"; then
23960 xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -Werror -Wno-error=deprecated-declarations"
23961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: werror" >&5
23962 printf "%s\n" "werror" >&6; }
23963 else
23964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: full" >&5
23965 printf "%s\n" "full" >&6; }
23966 fi
23967 else
23968 xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -g"
23969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23970 printf "%s\n" "yes" >&6; }
23971 fi
23972 else
23973 xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS"
23974 CPPFLAGS="$CPPFLAGS -DNDEBUG"
23975
23976 if test x"$enable_debug" = x"no"; then
23977 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
23978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23979 printf "%s\n" "no" >&6; }
23980 else
23981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
23982 printf "%s\n" "minimum" >&6; }
23983 fi
23984 fi
23985
23986 xdt_cv_additional_CFLAGS="$xdt_cv_additional_COMMON_FLAGS \
23987 -Wnested-externs \
23988 -Wold-style-definition"
23989 xdt_cv_additional_CXXFLAGS="$xdt_cv_additional_COMMON_FLAGS"
23990
23991
23992 for flag in $xdt_cv_additional_CFLAGS; do
23993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
23994 printf %s "checking if $CC supports $flag... " >&6; }
23995 saved_CFLAGS="$CFLAGS"
23996 CFLAGS="$CFLAGS $flag"
23997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23998 /* end confdefs.h. */
23999
24000 _ACEOF
24001 if ac_fn_c_try_compile "$LINENO"
24002 then :
24003 flag_supported=yes
24004 else case e in #(
24005 e) flag_supported=no ;;
24006 esac
24007 fi
24008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24009 CFLAGS="$saved_CFLAGS"
24010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
24011 printf "%s\n" "$flag_supported" >&6; }
24012
24013 if test "x$flag_supported" = "xyes"; then
24014 supported_CFLAGS="$supported_CFLAGS $flag"
24015 fi
24016 done
24017
24018
24019 for flag in $xdt_cv_additional_CXXFLAGS; do
24020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
24021 printf %s "checking if $CC supports $flag... " >&6; }
24022 saved_CFLAGS="$CFLAGS"
24023 CFLAGS="$CFLAGS $flag"
24024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025 /* end confdefs.h. */
24026
24027 _ACEOF
24028 if ac_fn_c_try_compile "$LINENO"
24029 then :
24030 flag_supported=yes
24031 else case e in #(
24032 e) flag_supported=no ;;
24033 esac
24034 fi
24035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24036 CFLAGS="$saved_CFLAGS"
24037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
24038 printf "%s\n" "$flag_supported" >&6; }
24039
24040 if test "x$flag_supported" = "xyes"; then
24041 supported_CXXFLAGS="$supported_CXXFLAGS $flag"
24042 fi
24043 done
24044
24045
24046 CFLAGS="$CFLAGS $supported_CFLAGS"
24047 CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
24048 if test x"$enable_debug" = x"werror"; then
24049 CXXFLAGS="$CXXFLAGS -Wno-error=implicit-function-declaration"
24050 fi
24051
24052
24053
24054 # Check whether --enable-linker-opts was given.
24055 if test ${enable_linker_opts+y}
24056 then :
24057 enableval=$enable_linker_opts; enable_linker_opts=$enableval
24058 else case e in #(
24059 e) enable_linker_opts=yes ;;
24060 esac
24061 fi
24062
24063
24064 if test "x$enable_linker_opts" != "xno"; then
24065 if test x`uname` != x"OpenBSD"; then
24066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5
24067 printf %s "checking whether $LD accepts --as-needed... " >&6; }
24068 case `$LD --as-needed -v 2>&1 </dev/null` in
24069 *GNU* | *'with BFD'*)
24070 LDFLAGS="$LDFLAGS -Wl,--as-needed"
24071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24072 printf "%s\n" "yes" >&6; }
24073 ;;
24074 *)
24075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24076 printf "%s\n" "no" >&6; }
24077 ;;
24078 esac
24079 fi
24080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5
24081 printf %s "checking whether $LD accepts -O1... " >&6; }
24082 case `$LD -O1 -v 2>&1 </dev/null` in
24083 *GNU* | *'with BFD'*)
24084 LDFLAGS="$LDFLAGS -Wl,-O1"
24085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24086 printf "%s\n" "yes" >&6; }
24087 ;;
24088 *)
24089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24090 printf "%s\n" "no" >&6; }
24091 ;;
24092 esac
24093 fi
24094
24095
24096 # Check whether --enable-visibility was given.
24097 if test ${enable_visibility+y}
24098 then :
24099 enableval=$enable_visibility; enable_visibility=$enableval
24100 else case e in #(
24101 e) enable_visibility=yes ;;
24102 esac
24103 fi
24104
24105 have_gnuc_visibility=no
24106 if test "x$enable_visibility" != "xno"; then
24107
24108 for flag in -Wall -Werror -Wno-unused-parameter; do
24109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
24110 printf %s "checking if $CC supports $flag... " >&6; }
24111 saved_CFLAGS="$CFLAGS"
24112 CFLAGS="$CFLAGS $flag"
24113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24114 /* end confdefs.h. */
24115
24116 _ACEOF
24117 if ac_fn_c_try_compile "$LINENO"
24118 then :
24119 flag_supported=yes
24120 else case e in #(
24121 e) flag_supported=no ;;
24122 esac
24123 fi
24124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24125 CFLAGS="$saved_CFLAGS"
24126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
24127 printf "%s\n" "$flag_supported" >&6; }
24128
24129 if test "x$flag_supported" = "xyes"; then
24130 xdt_vis_test_cflags="$xdt_vis_test_cflags $flag"
24131 fi
24132 done
24133
24134 saved_CFLAGS="$CFLAGS"
24135 CFLAGS="$CFLAGS $xdt_vis_test_cflags"
24136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports the GNUC visibility attribute" >&5
24137 printf %s "checking whether $CC supports the GNUC visibility attribute... " >&6; }
24138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24140
24141 void test_default (void);
24142 void test_hidden (void);
24143 void __attribute__ ((visibility("default"))) test_default (void) {}
24144 void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
24145 int main (int argc, char **argv) {
24146 test_default ();
24147 test_hidden ();
24148 return 0;
24149 }
24150
24151 _ACEOF
24152 if ac_fn_c_try_compile "$LINENO"
24153 then :
24154
24155 have_gnuc_visibility=yes
24156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24157 printf "%s\n" "yes" >&6; }
24158
24159 else case e in #(
24160 e)
24161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24162 printf "%s\n" "no" >&6; }
24163 ;;
24164 esac
24165 fi
24166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24167 CFLAGS="$saved_CFLAGS"
24168 fi
24169 if test "x$have_gnuc_visibility" = "xyes"; then
24170 CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
24171 fi
24172 if test "x$have_gnuc_visibility" = "xyes"; then
24173 HAVE_GNUC_VISIBILITY_TRUE=
24174 HAVE_GNUC_VISIBILITY_FALSE='#'
24175 else
24176 HAVE_GNUC_VISIBILITY_TRUE='#'
24177 HAVE_GNUC_VISIBILITY_FALSE=
24178 fi
24179
24180
24181
24182 for flag in -Wno-sign-compare; do
24183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
24184 printf %s "checking if $CC supports $flag... " >&6; }
24185 saved_CFLAGS="$CFLAGS"
24186 CFLAGS="$CFLAGS $flag"
24187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h. */
24189
24190 _ACEOF
24191 if ac_fn_c_try_compile "$LINENO"
24192 then :
24193 flag_supported=yes
24194 else case e in #(
24195 e) flag_supported=no ;;
24196 esac
24197 fi
24198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24199 CFLAGS="$saved_CFLAGS"
24200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
24201 printf "%s\n" "$flag_supported" >&6; }
24202
24203 if test "x$flag_supported" = "xyes"; then
24204 GTK_DOC_EXTRA_CFLAGS="$GTK_DOC_EXTRA_CFLAGS $flag"
24205 fi
24206 done
24207
24208
24209
24210 #
24211 # Enable Tests
24212 #
24213 # Check whether --enable-tests was given.
24214 if test ${enable_tests+y}
24215 then :
24216 enableval=$enable_tests; enable_tests=$enableval
24217 else case e in #(
24218 e) enable_tests=no ;;
24219 esac
24220 fi
24221
24222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the validation test framework" >&5
24223 printf %s "checking whether to build the validation test framework... " >&6; }
24224 if test "x$enable_tests" = "xyes"; then
24225 BUILD_TESTS_TRUE=
24226 BUILD_TESTS_FALSE='#'
24227 else
24228 BUILD_TESTS_TRUE='#'
24229 BUILD_TESTS_FALSE=
24230 fi
24231
24232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_tests" >&5
24233 printf "%s\n" "$enable_tests" >&6; }
24234
24235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking PLATFORM_CPPFLAGS" >&5
24236 printf %s "checking PLATFORM_CPPFLAGS... " >&6; }
24237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_CPPFLAGS" >&5
24238 printf "%s\n" "$PLATFORM_CPPFLAGS" >&6; }
24239
24240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking PLATFORM_CFLAGS" >&5
24241 printf %s "checking PLATFORM_CFLAGS... " >&6; }
24242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_CFLAGS" >&5
24243 printf "%s\n" "$PLATFORM_CFLAGS" >&6; }
24244
24245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking PLATFORM_LDFLAGS" >&5
24246 printf %s "checking PLATFORM_LDFLAGS... " >&6; }
24247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_LDFLAGS" >&5
24248 printf "%s\n" "$PLATFORM_LDFLAGS" >&6; }
24249
24250
24251 ac_config_files="$ac_config_files Makefile docs/Makefile docs/reference/Makefile glade/Makefile glade/icons/Makefile glade/icons/16x16/Makefile glade/icons/22x22/Makefile icons/Makefile icons/16x16/Makefile icons/48x48/Makefile icons/128x128/Makefile icons/scalable/Makefile libxfce4kbd-private/libxfce4kbd-private-3.pc libxfce4kbd-private/Makefile libxfce4ui/libxfce4ui-2.pc libxfce4ui/libxfce4ui-config.h libxfce4ui/Makefile xfce4-about/Makefile po/Makefile.in tests/Makefile"
24252
24253 cat >confcache <<\_ACEOF
24254 # This file is a shell script that caches the results of configure
24255 # tests run on this system so they can be shared between configure
24256 # scripts and configure runs, see configure's option --config-cache.
24257 # It is not useful on other systems. If it contains results you don't
24258 # want to keep, you may remove or edit it.
24259 #
24260 # config.status only pays attention to the cache file if you give it
24261 # the --recheck option to rerun configure.
24262 #
24263 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
24264 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
24265 # following values.
24266
24267 _ACEOF
24268
24269 # The following way of writing the cache mishandles newlines in values,
24270 # but we know of no workaround that is simple, portable, and efficient.
24271 # So, we kill variables containing newlines.
24272 # Ultrix sh set writes to stderr and can't be redirected directly,
24273 # and sets the high bit in the cache file unless we assign to the vars.
24274 (
24275 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24276 eval ac_val=\$$ac_var
24277 case $ac_val in #(
24278 *${as_nl}*)
24279 case $ac_var in #(
24280 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24281 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24282 esac
24283 case $ac_var in #(
24284 _ | IFS | as_nl) ;; #(
24285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24286 *) { eval $ac_var=; unset $ac_var;} ;;
24287 esac ;;
24288 esac
24289 done
24290
24291 (set) 2>&1 |
24292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24293 *${as_nl}ac_space=\ *)
24294 # 'set' does not quote correctly, so add quotes: double-quote
24295 # substitution turns \\\\ into \\, and sed turns \\ into \.
24296 sed -n \
24297 "s/'/'\\\\''/g;
24298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24299 ;; #(
24300 *)
24301 # 'set' quotes correctly as required by POSIX, so do not add quotes.
24302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24303 ;;
24304 esac |
24305 sort
24306 ) |
24307 sed '
24308 /^ac_cv_env_/b end
24309 t clear
24310 :clear
24311 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
24312 t end
24313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24314 :end' >>confcache
24315 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24316 if test -w "$cache_file"; then
24317 if test "x$cache_file" != "x/dev/null"; then
24318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24319 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
24320 if test ! -f "$cache_file" || test -h "$cache_file"; then
24321 cat confcache >"$cache_file"
24322 else
24323 case $cache_file in #(
24324 */* | ?:*)
24325 mv -f confcache "$cache_file"$$ &&
24326 mv -f "$cache_file"$$ "$cache_file" ;; #(
24327 *)
24328 mv -f confcache "$cache_file" ;;
24329 esac
24330 fi
24331 fi
24332 else
24333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24334 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
24335 fi
24336 fi
24337 rm -f confcache
24338
24339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24340 # Let make expand exec_prefix.
24341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24342
24343 DEFS=-DHAVE_CONFIG_H
24344
24345 ac_libobjs=
24346 ac_ltlibobjs=
24347 U=
24348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24349 # 1. Remove the extension, and $U if already installed.
24350 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24351 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
24352 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24353 # will be set to the directory where LIBOBJS objects are built.
24354 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24355 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
24356 done
24357 LIBOBJS=$ac_libobjs
24358
24359 LTLIBOBJS=$ac_ltlibobjs
24360
24361
24362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24363 printf %s "checking that generated files are newer than configure... " >&6; }
24364 if test -n "$am_sleep_pid"; then
24365 # Hide warnings about reused PIDs.
24366 wait $am_sleep_pid 2>/dev/null
24367 fi
24368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
24369 printf "%s\n" "done" >&6; }
24370 case $enable_silent_rules in # (((
24371 yes) AM_DEFAULT_VERBOSITY=0;;
24372 no) AM_DEFAULT_VERBOSITY=1;;
24373 esac
24374 if test $am_cv_make_support_nested_variables = yes; then
24375 AM_V='$(V)'
24376 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
24377 else
24378 AM_V=$AM_DEFAULT_VERBOSITY
24379 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
24380 fi
24381
24382 if test -n "$EXEEXT"; then
24383 am__EXEEXT_TRUE=
24384 am__EXEEXT_FALSE='#'
24385 else
24386 am__EXEEXT_TRUE='#'
24387 am__EXEEXT_FALSE=
24388 fi
24389
24390 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24391 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
24392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24393 fi
24394 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24395 as_fn_error $? "conditional \"AMDEP\" was never defined.
24396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24397 fi
24398 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24399 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
24400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24401 fi
24402 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
24403 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
24404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24405 fi
24406 if test -z "${PLATFORM_OSX_TRUE}" && test -z "${PLATFORM_OSX_FALSE}"; then
24407 as_fn_error $? "conditional \"PLATFORM_OSX\" was never defined.
24408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24409 fi
24410 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24411 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
24412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24413 fi
24414 if test -z "${ENABLE_X11_TRUE}" && test -z "${ENABLE_X11_FALSE}"; then
24415 as_fn_error $? "conditional \"ENABLE_X11\" was never defined.
24416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24417 fi
24418 if test -z "${ENABLE_WAYLAND_TRUE}" && test -z "${ENABLE_WAYLAND_FALSE}"; then
24419 as_fn_error $? "conditional \"ENABLE_WAYLAND\" was never defined.
24420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24421 fi
24422 if test -z "${ENABLE_LIBSM_TRUE}" && test -z "${ENABLE_LIBSM_FALSE}"; then
24423 as_fn_error $? "conditional \"ENABLE_LIBSM\" was never defined.
24424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24425 fi
24426 if test -z "${HAVE_LIBSTARTUP_NOTIFICATION_TRUE}" && test -z "${HAVE_LIBSTARTUP_NOTIFICATION_FALSE}"; then
24427 as_fn_error $? "conditional \"HAVE_LIBSTARTUP_NOTIFICATION\" was never defined.
24428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24429 fi
24430 if test -z "${HAVE_GLIBTOP_TRUE}" && test -z "${HAVE_GLIBTOP_FALSE}"; then
24431 as_fn_error $? "conditional \"HAVE_GLIBTOP\" was never defined.
24432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24433 fi
24434 if test -z "${HAVE_EPOXY_TRUE}" && test -z "${HAVE_EPOXY_FALSE}"; then
24435 as_fn_error $? "conditional \"HAVE_EPOXY\" was never defined.
24436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24437 fi
24438 if test -z "${HAVE_EPOXY_TRUE}" && test -z "${HAVE_EPOXY_FALSE}"; then
24439 as_fn_error $? "conditional \"HAVE_EPOXY\" was never defined.
24440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24441 fi
24442 if test -z "${HAVE_GUDEV_TRUE}" && test -z "${HAVE_GUDEV_FALSE}"; then
24443 as_fn_error $? "conditional \"HAVE_GUDEV\" was never defined.
24444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24445 fi
24446 if test -z "${HAVE_GUDEV_TRUE}" && test -z "${HAVE_GUDEV_FALSE}"; then
24447 as_fn_error $? "conditional \"HAVE_GUDEV\" was never defined.
24448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24449 fi
24450 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
24451 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
24452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24453 fi
24454 if test -z "${ENABLE_VAPIGEN_TRUE}" && test -z "${ENABLE_VAPIGEN_FALSE}"; then
24455 as_fn_error $? "conditional \"ENABLE_VAPIGEN\" was never defined.
24456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24457 fi
24458 if test -z "${ENABLE_KEYBOARD_LIBRARY_TRUE}" && test -z "${ENABLE_KEYBOARD_LIBRARY_FALSE}"; then
24459 as_fn_error $? "conditional \"ENABLE_KEYBOARD_LIBRARY\" was never defined.
24460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24461 fi
24462 if test -z "${HAVE_GLADEUI2_TRUE}" && test -z "${HAVE_GLADEUI2_FALSE}"; then
24463 as_fn_error $? "conditional \"HAVE_GLADEUI2\" was never defined.
24464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24465 fi
24466 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
24467 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
24468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24469 fi
24470 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
24471 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
24472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24473 fi
24474 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
24475 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
24476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24477 fi
24478 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
24479 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
24480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24481 fi
24482 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
24483 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
24484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24485 fi
24486 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
24487 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
24488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24489 fi
24490 if test -z "${HAVE_GNUC_VISIBILITY_TRUE}" && test -z "${HAVE_GNUC_VISIBILITY_FALSE}"; then
24491 as_fn_error $? "conditional \"HAVE_GNUC_VISIBILITY\" was never defined.
24492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24493 fi
24494 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
24495 as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
24496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24497 fi
24498
24499 : "${CONFIG_STATUS=./config.status}"
24500 ac_write_fail=0
24501 ac_clean_files_save=$ac_clean_files
24502 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24504 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
24505 as_write_fail=0
24506 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24507 #! $SHELL
24508 # Generated by $as_me.
24509 # Run this file to recreate the current configuration.
24510 # Compiler output produced by configure, useful for debugging
24511 # configure, is in config.log if it exists.
24512
24513 debug=false
24514 ac_cs_recheck=false
24515 ac_cs_silent=false
24516
24517 SHELL=\${CONFIG_SHELL-$SHELL}
24518 export SHELL
24519 _ASEOF
24520 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
24521 ## -------------------- ##
24522 ## M4sh Initialization. ##
24523 ## -------------------- ##
24524
24525 # Be more Bourne compatible
24526 DUALCASE=1; export DUALCASE # for MKS sh
24527 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
24528 then :
24529 emulate sh
24530 NULLCMD=:
24531 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24532 # is contrary to our usage. Disable this feature.
24533 alias -g '${1+"$@"}'='"$@"'
24534 setopt NO_GLOB_SUBST
24535 else case e in #(
24536 e) case `(set -o) 2>/dev/null` in #(
24537 *posix*) :
24538 set -o posix ;; #(
24539 *) :
24540 ;;
24541 esac ;;
24542 esac
24543 fi
24544
24545
24546
24547 # Reset variables that may have inherited troublesome values from
24548 # the environment.
24549
24550 # IFS needs to be set, to space, tab, and newline, in precisely that order.
24551 # (If _AS_PATH_WALK were called with IFS unset, it would have the
24552 # side effect of setting IFS to empty, thus disabling word splitting.)
24553 # Quoting is to prevent editors from complaining about space-tab.
24554 as_nl='
24555 '
24556 export as_nl
24557 IFS=" "" $as_nl"
24558
24559 PS1='$ '
24560 PS2='> '
24561 PS4='+ '
24562
24563 # Ensure predictable behavior from utilities with locale-dependent output.
24564 LC_ALL=C
24565 export LC_ALL
24566 LANGUAGE=C
24567 export LANGUAGE
24568
24569 # We cannot yet rely on "unset" to work, but we need these variables
24570 # to be unset--not just set to an empty or harmless value--now, to
24571 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
24572 # also avoids known problems related to "unset" and subshell syntax
24573 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
24574 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
24575 do eval test \${$as_var+y} \
24576 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
24577 done
24578
24579 # Ensure that fds 0, 1, and 2 are open.
24580 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
24581 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
24582 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
24583
24584 # The user is always right.
24585 if ${PATH_SEPARATOR+false} :; then
24586 PATH_SEPARATOR=:
24587 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24588 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24589 PATH_SEPARATOR=';'
24590 }
24591 fi
24592
24593
24594 # Find who we are. Look in the path if we contain no directory separator.
24595 as_myself=
24596 case $0 in #((
24597 *[\\/]* ) as_myself=$0 ;;
24598 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24599 for as_dir in $PATH
24600 do
24601 IFS=$as_save_IFS
24602 case $as_dir in #(((
24603 '') as_dir=./ ;;
24604 */) ;;
24605 *) as_dir=$as_dir/ ;;
24606 esac
24607 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
24608 done
24609 IFS=$as_save_IFS
24610
24611 ;;
24612 esac
24613 # We did not find ourselves, most probably we were run as 'sh COMMAND'
24614 # in which case we are not to be found in the path.
24615 if test "x$as_myself" = x; then
24616 as_myself=$0
24617 fi
24618 if test ! -f "$as_myself"; then
24619 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24620 exit 1
24621 fi
24622
24623
24624
24625 # as_fn_error STATUS ERROR [LINENO LOG_FD]
24626 # ----------------------------------------
24627 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24628 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24629 # script with STATUS, using 1 if that was 0.
24630 as_fn_error ()
24631 {
24632 as_status=$1; test $as_status -eq 0 && as_status=1
24633 if test "$4"; then
24634 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
24635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
24636 fi
24637 printf "%s\n" "$as_me: error: $2" >&2
24638 as_fn_exit $as_status
24639 } # as_fn_error
24640
24641
24642 # as_fn_set_status STATUS
24643 # -----------------------
24644 # Set $? to STATUS, without forking.
24645 as_fn_set_status ()
24646 {
24647 return $1
24648 } # as_fn_set_status
24649
24650 # as_fn_exit STATUS
24651 # -----------------
24652 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24653 as_fn_exit ()
24654 {
24655 set +e
24656 as_fn_set_status $1
24657 exit $1
24658 } # as_fn_exit
24659
24660 # as_fn_unset VAR
24661 # ---------------
24662 # Portably unset VAR.
24663 as_fn_unset ()
24664 {
24665 { eval $1=; unset $1;}
24666 }
24667 as_unset=as_fn_unset
24668
24669 # as_fn_append VAR VALUE
24670 # ----------------------
24671 # Append the text in VALUE to the end of the definition contained in VAR. Take
24672 # advantage of any shell optimizations that allow amortized linear growth over
24673 # repeated appends, instead of the typical quadratic growth present in naive
24674 # implementations.
24675 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
24676 then :
24677 eval 'as_fn_append ()
24678 {
24679 eval $1+=\$2
24680 }'
24681 else case e in #(
24682 e) as_fn_append ()
24683 {
24684 eval $1=\$$1\$2
24685 } ;;
24686 esac
24687 fi # as_fn_append
24688
24689 # as_fn_arith ARG...
24690 # ------------------
24691 # Perform arithmetic evaluation on the ARGs, and store the result in the
24692 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24693 # must be portable across $(()) and expr.
24694 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
24695 then :
24696 eval 'as_fn_arith ()
24697 {
24698 as_val=$(( $* ))
24699 }'
24700 else case e in #(
24701 e) as_fn_arith ()
24702 {
24703 as_val=`expr "$@" || test $? -eq 1`
24704 } ;;
24705 esac
24706 fi # as_fn_arith
24707
24708
24709 if expr a : '\(a\)' >/dev/null 2>&1 &&
24710 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24711 as_expr=expr
24712 else
24713 as_expr=false
24714 fi
24715
24716 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24717 as_basename=basename
24718 else
24719 as_basename=false
24720 fi
24721
24722 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24723 as_dirname=dirname
24724 else
24725 as_dirname=false
24726 fi
24727
24728 as_me=`$as_basename -- "$0" ||
24729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24730 X"$0" : 'X\(//\)$' \| \
24731 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24732 printf "%s\n" X/"$0" |
24733 sed '/^.*\/\([^/][^/]*\)\/*$/{
24734 s//\1/
24735 q
24736 }
24737 /^X\/\(\/\/\)$/{
24738 s//\1/
24739 q
24740 }
24741 /^X\/\(\/\).*/{
24742 s//\1/
24743 q
24744 }
24745 s/.*/./; q'`
24746
24747 # Avoid depending upon Character Ranges.
24748 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24749 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24750 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24751 as_cr_digits='0123456789'
24752 as_cr_alnum=$as_cr_Letters$as_cr_digits
24753
24754
24755 # Determine whether it's possible to make 'echo' print without a newline.
24756 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
24757 # for compatibility with existing Makefiles.
24758 ECHO_C= ECHO_N= ECHO_T=
24759 case `echo -n x` in #(((((
24760 -n*)
24761 case `echo 'xy\c'` in
24762 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24763 xy) ECHO_C='\c';;
24764 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
24765 ECHO_T=' ';;
24766 esac;;
24767 *)
24768 ECHO_N='-n';;
24769 esac
24770
24771 # For backward compatibility with old third-party macros, we provide
24772 # the shell variables $as_echo and $as_echo_n. New code should use
24773 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
24774 as_echo='printf %s\n'
24775 as_echo_n='printf %s'
24776
24777 rm -f conf$$ conf$$.exe conf$$.file
24778 if test -d conf$$.dir; then
24779 rm -f conf$$.dir/conf$$.file
24780 else
24781 rm -f conf$$.dir
24782 mkdir conf$$.dir 2>/dev/null
24783 fi
24784 if (echo >conf$$.file) 2>/dev/null; then
24785 if ln -s conf$$.file conf$$ 2>/dev/null; then
24786 as_ln_s='ln -s'
24787 # ... but there are two gotchas:
24788 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
24789 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
24790 # In both cases, we have to default to 'cp -pR'.
24791 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24792 as_ln_s='cp -pR'
24793 elif ln conf$$.file conf$$ 2>/dev/null; then
24794 as_ln_s=ln
24795 else
24796 as_ln_s='cp -pR'
24797 fi
24798 else
24799 as_ln_s='cp -pR'
24800 fi
24801 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24802 rmdir conf$$.dir 2>/dev/null
24803
24804
24805 # as_fn_mkdir_p
24806 # -------------
24807 # Create "$as_dir" as a directory, including parents if necessary.
24808 as_fn_mkdir_p ()
24809 {
24810
24811 case $as_dir in #(
24812 -*) as_dir=./$as_dir;;
24813 esac
24814 test -d "$as_dir" || eval $as_mkdir_p || {
24815 as_dirs=
24816 while :; do
24817 case $as_dir in #(
24818 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24819 *) as_qdir=$as_dir;;
24820 esac
24821 as_dirs="'$as_qdir' $as_dirs"
24822 as_dir=`$as_dirname -- "$as_dir" ||
24823 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24824 X"$as_dir" : 'X\(//\)[^/]' \| \
24825 X"$as_dir" : 'X\(//\)$' \| \
24826 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24827 printf "%s\n" X"$as_dir" |
24828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24829 s//\1/
24830 q
24831 }
24832 /^X\(\/\/\)[^/].*/{
24833 s//\1/
24834 q
24835 }
24836 /^X\(\/\/\)$/{
24837 s//\1/
24838 q
24839 }
24840 /^X\(\/\).*/{
24841 s//\1/
24842 q
24843 }
24844 s/.*/./; q'`
24845 test -d "$as_dir" && break
24846 done
24847 test -z "$as_dirs" || eval "mkdir $as_dirs"
24848 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
24849
24850
24851 } # as_fn_mkdir_p
24852 if mkdir -p . 2>/dev/null; then
24853 as_mkdir_p='mkdir -p "$as_dir"'
24854 else
24855 test -d ./-p && rmdir ./-p
24856 as_mkdir_p=false
24857 fi
24858
24859
24860 # as_fn_executable_p FILE
24861 # -----------------------
24862 # Test if FILE is an executable regular file.
24863 as_fn_executable_p ()
24864 {
24865 test -f "$1" && test -x "$1"
24866 } # as_fn_executable_p
24867 as_test_x='test -x'
24868 as_executable_p=as_fn_executable_p
24869
24870 # Sed expression to map a string onto a valid CPP name.
24871 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24872 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
24873
24874 # Sed expression to map a string onto a valid variable name.
24875 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
24876 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
24877
24878
24879 exec 6>&1
24880 ## ----------------------------------- ##
24881 ## Main body of $CONFIG_STATUS script. ##
24882 ## ----------------------------------- ##
24883 _ASEOF
24884 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
24885
24886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24887 # Save the log message, to keep $0 and so on meaningful, and to
24888 # report actual input values of CONFIG_FILES etc. instead of their
24889 # values after options handling.
24890 ac_log="
24891 This file was extended by libxfce4ui $as_me 4.20.2, which was
24892 generated by GNU Autoconf 2.72. Invocation command line was
24893
24894 CONFIG_FILES = $CONFIG_FILES
24895 CONFIG_HEADERS = $CONFIG_HEADERS
24896 CONFIG_LINKS = $CONFIG_LINKS
24897 CONFIG_COMMANDS = $CONFIG_COMMANDS
24898 $ $0 $@
24899
24900 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24901 "
24902
24903 _ACEOF
24904
24905 case $ac_config_files in *"
24906 "*) set x $ac_config_files; shift; ac_config_files=$*;;
24907 esac
24908
24909 case $ac_config_headers in *"
24910 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
24911 esac
24912
24913
24914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24915 # Files that config.status was made for.
24916 config_files="$ac_config_files"
24917 config_headers="$ac_config_headers"
24918 config_commands="$ac_config_commands"
24919
24920 _ACEOF
24921
24922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24923 ac_cs_usage="\
24924 '$as_me' instantiates files and other configuration actions
24925 from templates according to the current configuration. Unless the files
24926 and actions are specified as TAGs, all are instantiated by default.
24927
24928 Usage: $0 [OPTION]... [TAG]...
24929
24930 -h, --help print this help, then exit
24931 -V, --version print version number and configuration settings, then exit
24932 --config print configuration, then exit
24933 -q, --quiet, --silent
24934 do not print progress messages
24935 -d, --debug don't remove temporary files
24936 --recheck update $as_me by reconfiguring in the same conditions
24937 --file=FILE[:TEMPLATE]
24938 instantiate the configuration file FILE
24939 --header=FILE[:TEMPLATE]
24940 instantiate the configuration header FILE
24941
24942 Configuration files:
24943 $config_files
24944
24945 Configuration headers:
24946 $config_headers
24947
24948 Configuration commands:
24949 $config_commands
24950
24951 Report bugs to <https://gitlab.xfce.org/xfce/libxfce4ui/-/issues>."
24952
24953 _ACEOF
24954 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
24955 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
24956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24957 ac_cs_config='$ac_cs_config_escaped'
24958 ac_cs_version="\\
24959 libxfce4ui config.status 4.20.2
24960 configured by $0, generated by GNU Autoconf 2.72,
24961 with options \\"\$ac_cs_config\\"
24962
24963 Copyright (C) 2023 Free Software Foundation, Inc.
24964 This config.status script is free software; the Free Software Foundation
24965 gives unlimited permission to copy, distribute and modify it."
24966
24967 ac_pwd='$ac_pwd'
24968 srcdir='$srcdir'
24969 INSTALL='$INSTALL'
24970 MKDIR_P='$MKDIR_P'
24971 AWK='$AWK'
24972 test -n "\$AWK" || AWK=awk
24973 _ACEOF
24974
24975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24976 # The default lists apply if the user does not specify any file.
24977 ac_need_defaults=:
24978 while test $# != 0
24979 do
24980 case $1 in
24981 --*=?*)
24982 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24983 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24984 ac_shift=:
24985 ;;
24986 --*=)
24987 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24988 ac_optarg=
24989 ac_shift=:
24990 ;;
24991 *)
24992 ac_option=$1
24993 ac_optarg=$2
24994 ac_shift=shift
24995 ;;
24996 esac
24997
24998 case $ac_option in
24999 # Handling of the options.
25000 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25001 ac_cs_recheck=: ;;
25002 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25003 printf "%s\n" "$ac_cs_version"; exit ;;
25004 --config | --confi | --conf | --con | --co | --c )
25005 printf "%s\n" "$ac_cs_config"; exit ;;
25006 --debug | --debu | --deb | --de | --d | -d )
25007 debug=: ;;
25008 --file | --fil | --fi | --f )
25009 $ac_shift
25010 case $ac_optarg in
25011 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25012 '') as_fn_error $? "missing file argument" ;;
25013 esac
25014 as_fn_append CONFIG_FILES " '$ac_optarg'"
25015 ac_need_defaults=false;;
25016 --header | --heade | --head | --hea )
25017 $ac_shift
25018 case $ac_optarg in
25019 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25020 esac
25021 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25022 ac_need_defaults=false;;
25023 --he | --h)
25024 # Conflict between --help and --header
25025 as_fn_error $? "ambiguous option: '$1'
25026 Try '$0 --help' for more information.";;
25027 --help | --hel | -h )
25028 printf "%s\n" "$ac_cs_usage"; exit ;;
25029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25030 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25031 ac_cs_silent=: ;;
25032
25033 # This is an error.
25034 -*) as_fn_error $? "unrecognized option: '$1'
25035 Try '$0 --help' for more information." ;;
25036
25037 *) as_fn_append ac_config_targets " $1"
25038 ac_need_defaults=false ;;
25039
25040 esac
25041 shift
25042 done
25043
25044 ac_configure_extra_args=
25045
25046 if $ac_cs_silent; then
25047 exec 6>/dev/null
25048 ac_configure_extra_args="$ac_configure_extra_args --silent"
25049 fi
25050
25051 _ACEOF
25052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25053 if \$ac_cs_recheck; then
25054 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25055 shift
25056 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
25057 CONFIG_SHELL='$SHELL'
25058 export CONFIG_SHELL
25059 exec "\$@"
25060 fi
25061
25062 _ACEOF
25063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25064 exec 5>>config.log
25065 {
25066 echo
25067 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25068 ## Running $as_me. ##
25069 _ASBOX
25070 printf "%s\n" "$ac_log"
25071 } >&5
25072
25073 _ACEOF
25074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25075 #
25076 # INIT-COMMANDS
25077 #
25078 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
25079
25080
25081 # The HP-UX ksh and POSIX shell print the target directory to stdout
25082 # if CDPATH is set.
25083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25084
25085 sed_quote_subst='$sed_quote_subst'
25086 double_quote_subst='$double_quote_subst'
25087 delay_variable_subst='$delay_variable_subst'
25088 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25089 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25090 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25091 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25092 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25093 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25094 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25095 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25096 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25097 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25098 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25099 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25100 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25101 enable_cxx_stdlib='`$ECHO "$enable_cxx_stdlib" | $SED "$delay_single_quote_subst"`'
25102 stdlibflag='`$ECHO "$stdlibflag" | $SED "$delay_single_quote_subst"`'
25103 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25104 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
25105 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25106 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25107 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25108 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25109 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25110 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25111 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25112 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25113 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25114 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25115 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25116 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25117 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25118 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25119 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25120 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25121 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25122 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25123 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25124 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
25125 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25126 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25127 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25128 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25129 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25130 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25131 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25132 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25133 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
25134 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25135 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25136 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25137 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25138 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25139 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25140 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25141 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25142 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25143 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25144 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25145 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25146 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25147 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25148 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
25149 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25150 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"`'
25151 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
25152 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25153 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25154 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
25155 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25156 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25157 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25158 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25159 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25160 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25161 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25162 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25163 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25164 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25165 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25166 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25167 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25168 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25169 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25170 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25171 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25172 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25173 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25174 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25175 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25176 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25177 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25178 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25179 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25180 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25181 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25182 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25183 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25184 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25185 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25186 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25187 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25188 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25189 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25190 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25191 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25192 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25193 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25194 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25195 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25196 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25197 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25198 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25199 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25200 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
25201 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25202 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25203 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25204 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25205 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25206 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25207 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25208 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25209 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25210 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25211 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25212 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25213 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25214 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25215 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25216 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25217 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25218 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25219 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
25220 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
25221 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25222 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25223 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25224 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25225 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25226 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25227
25228 LTCC='$LTCC'
25229 LTCFLAGS='$LTCFLAGS'
25230 compiler='$compiler_DEFAULT'
25231
25232 # A function that is used when there is no print builtin or printf.
25233 func_fallback_echo ()
25234 {
25235 eval 'cat <<_LTECHO_EOF
25236 \$1
25237 _LTECHO_EOF'
25238 }
25239
25240 # Quote evaled strings.
25241 for var in SED \
25242 GREP \
25243 EGREP \
25244 FGREP \
25245 SHELL \
25246 ECHO \
25247 LD \
25248 PATH_SEPARATOR \
25249 NM \
25250 LN_S \
25251 lt_SP2NL \
25252 lt_NL2SP \
25253 reload_flag \
25254 FILECMD \
25255 OBJDUMP \
25256 deplibs_check_method \
25257 file_magic_cmd \
25258 file_magic_glob \
25259 want_nocaseglob \
25260 DLLTOOL \
25261 sharedlib_from_linklib_cmd \
25262 AR \
25263 archiver_list_spec \
25264 STRIP \
25265 RANLIB \
25266 CC \
25267 CFLAGS \
25268 compiler \
25269 lt_cv_sys_global_symbol_pipe \
25270 lt_cv_sys_global_symbol_to_cdecl \
25271 lt_cv_sys_global_symbol_to_import \
25272 lt_cv_sys_global_symbol_to_c_name_address \
25273 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25274 lt_cv_nm_interface \
25275 nm_file_list_spec \
25276 lt_cv_truncate_bin \
25277 lt_prog_compiler_no_builtin_flag \
25278 lt_prog_compiler_pic \
25279 lt_prog_compiler_wl \
25280 lt_prog_compiler_static \
25281 lt_cv_prog_compiler_c_o \
25282 need_locks \
25283 MANIFEST_TOOL \
25284 DSYMUTIL \
25285 NMEDIT \
25286 LIPO \
25287 OTOOL \
25288 OTOOL64 \
25289 shrext_cmds \
25290 export_dynamic_flag_spec \
25291 whole_archive_flag_spec \
25292 compiler_needs_object \
25293 with_gnu_ld \
25294 allow_undefined_flag \
25295 no_undefined_flag \
25296 hardcode_libdir_flag_spec \
25297 hardcode_libdir_separator \
25298 exclude_expsyms \
25299 include_expsyms \
25300 file_list_spec \
25301 variables_saved_for_relink \
25302 libname_spec \
25303 library_names_spec \
25304 soname_spec \
25305 install_override_mode \
25306 finish_eval \
25307 old_striplib \
25308 striplib; do
25309 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25310 *[\\\\\\\`\\"\\\$]*)
25311 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25312 ;;
25313 *)
25314 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25315 ;;
25316 esac
25317 done
25318
25319 # Double-quote double-evaled strings.
25320 for var in reload_cmds \
25321 old_postinstall_cmds \
25322 old_postuninstall_cmds \
25323 old_archive_cmds \
25324 extract_expsyms_cmds \
25325 old_archive_from_new_cmds \
25326 old_archive_from_expsyms_cmds \
25327 archive_cmds \
25328 archive_expsym_cmds \
25329 module_cmds \
25330 module_expsym_cmds \
25331 export_symbols_cmds \
25332 prelink_cmds \
25333 postlink_cmds \
25334 postinstall_cmds \
25335 postuninstall_cmds \
25336 finish_cmds \
25337 sys_lib_search_path_spec \
25338 configure_time_dlsearch_path \
25339 configure_time_lt_sys_library_path; do
25340 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25341 *[\\\\\\\`\\"\\\$]*)
25342 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25343 ;;
25344 *)
25345 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25346 ;;
25347 esac
25348 done
25349
25350 ac_aux_dir='$ac_aux_dir'
25351
25352 # See if we are running on zsh, and set the options that allow our
25353 # commands through without removal of \ escapes INIT.
25354 if test -n "\${ZSH_VERSION+set}"; then
25355 setopt NO_GLOB_SUBST
25356 fi
25357
25358
25359 PACKAGE='$PACKAGE'
25360 VERSION='$VERSION'
25361 RM='$RM'
25362 ofile='$ofile'
25363
25364
25365
25366 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
25367 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
25368 # from automake < 1.5.
25369 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
25370 # Capture the value of LINGUAS because we need it to compute CATALOGS.
25371 LINGUAS="${LINGUAS-%UNSET%}"
25372
25373
25374 _ACEOF
25375
25376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25377
25378 # Handling of arguments.
25379 for ac_config_target in $ac_config_targets
25380 do
25381 case $ac_config_target in
25382 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25383 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25384 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25385 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
25386 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25387 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
25388 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
25389 "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
25390 "glade/icons/Makefile") CONFIG_FILES="$CONFIG_FILES glade/icons/Makefile" ;;
25391 "glade/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES glade/icons/16x16/Makefile" ;;
25392 "glade/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES glade/icons/22x22/Makefile" ;;
25393 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
25394 "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;;
25395 "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;;
25396 "icons/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES icons/128x128/Makefile" ;;
25397 "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
25398 "libxfce4kbd-private/libxfce4kbd-private-3.pc") CONFIG_FILES="$CONFIG_FILES libxfce4kbd-private/libxfce4kbd-private-3.pc" ;;
25399 "libxfce4kbd-private/Makefile") CONFIG_FILES="$CONFIG_FILES libxfce4kbd-private/Makefile" ;;
25400 "libxfce4ui/libxfce4ui-2.pc") CONFIG_FILES="$CONFIG_FILES libxfce4ui/libxfce4ui-2.pc" ;;
25401 "libxfce4ui/libxfce4ui-config.h") CONFIG_FILES="$CONFIG_FILES libxfce4ui/libxfce4ui-config.h" ;;
25402 "libxfce4ui/Makefile") CONFIG_FILES="$CONFIG_FILES libxfce4ui/Makefile" ;;
25403 "xfce4-about/Makefile") CONFIG_FILES="$CONFIG_FILES xfce4-about/Makefile" ;;
25404 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
25405 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
25406
25407 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
25408 esac
25409 done
25410
25411
25412 # If the user did not use the arguments to specify the items to instantiate,
25413 # then the envvar interface is used. Set only those that are not.
25414 # We use the long form for the default assignment because of an extremely
25415 # bizarre bug on SunOS 4.1.3.
25416 if $ac_need_defaults; then
25417 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
25418 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
25419 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
25420 fi
25421
25422 # Have a temporary directory for convenience. Make it in the build tree
25423 # simply because there is no reason against having it here, and in addition,
25424 # creating and moving files from /tmp can sometimes cause problems.
25425 # Hook for its removal unless debugging.
25426 # Note that there is a small window in which the directory will not be cleaned:
25427 # after its creation but before its name has been assigned to '$tmp'.
25428 $debug ||
25429 {
25430 tmp= ac_tmp=
25431 trap 'exit_status=$?
25432 : "${ac_tmp:=$tmp}"
25433 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
25434 ' 0
25435 trap 'as_fn_exit 1' 1 2 13 15
25436 }
25437 # Create a (secure) tmp directory for tmp files.
25438
25439 {
25440 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25441 test -d "$tmp"
25442 } ||
25443 {
25444 tmp=./conf$$-$RANDOM
25445 (umask 077 && mkdir "$tmp")
25446 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
25447 ac_tmp=$tmp
25448
25449 # Set up the scripts for CONFIG_FILES section.
25450 # No need to generate them if there are no CONFIG_FILES.
25451 # This happens for instance with './config.status config.h'.
25452 if test -n "$CONFIG_FILES"; then
25453
25454
25455 ac_cr=`echo X | tr X '\015'`
25456 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25457 # But we know of no other shell where ac_cr would be empty at this
25458 # point, so we can use a bashism as a fallback.
25459 if test "x$ac_cr" = x; then
25460 eval ac_cr=\$\'\\r\'
25461 fi
25462 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25463 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25464 ac_cs_awk_cr='\\r'
25465 else
25466 ac_cs_awk_cr=$ac_cr
25467 fi
25468
25469 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
25470 _ACEOF
25471
25472
25473 {
25474 echo "cat >conf$$subs.awk <<_ACEOF" &&
25475 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25476 echo "_ACEOF"
25477 } >conf$$subs.sh ||
25478 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25479 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
25480 ac_delim='%!_!# '
25481 for ac_last_try in false false false false false :; do
25482 . ./conf$$subs.sh ||
25483 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25484
25485 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
25486 if test $ac_delim_n = $ac_delim_num; then
25487 break
25488 elif $ac_last_try; then
25489 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25490 else
25491 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25492 fi
25493 done
25494 rm -f conf$$subs.sh
25495
25496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25497 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
25498 _ACEOF
25499 sed -n '
25500 h
25501 s/^/S["/; s/!.*/"]=/
25502 p
25503 g
25504 s/^[^!]*!//
25505 :repl
25506 t repl
25507 s/'"$ac_delim"'$//
25508 t delim
25509 :nl
25510 h
25511 s/\(.\{148\}\)..*/\1/
25512 t more1
25513 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
25514 p
25515 n
25516 b repl
25517 :more1
25518 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25519 p
25520 g
25521 s/.\{148\}//
25522 t nl
25523 :delim
25524 h
25525 s/\(.\{148\}\)..*/\1/
25526 t more2
25527 s/["\\]/\\&/g; s/^/"/; s/$/"/
25528 p
25529 b
25530 :more2
25531 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25532 p
25533 g
25534 s/.\{148\}//
25535 t delim
25536 ' <conf$$subs.awk | sed '
25537 /^[^""]/{
25538 N
25539 s/\n//
25540 }
25541 ' >>$CONFIG_STATUS || ac_write_fail=1
25542 rm -f conf$$subs.awk
25543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25544 _ACAWK
25545 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
25546 for (key in S) S_is_set[key] = 1
25547 FS = ""
25548
25549 }
25550 {
25551 line = $ 0
25552 nfields = split(line, field, "@")
25553 substed = 0
25554 len = length(field[1])
25555 for (i = 2; i < nfields; i++) {
25556 key = field[i]
25557 keylen = length(key)
25558 if (S_is_set[key]) {
25559 value = S[key]
25560 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25561 len += length(value) + length(field[++i])
25562 substed = 1
25563 } else
25564 len += 1 + keylen
25565 }
25566
25567 print line
25568 }
25569
25570 _ACAWK
25571 _ACEOF
25572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25573 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25574 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
25575 else
25576 cat
25577 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
25578 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
25579 _ACEOF
25580
25581 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
25582 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
25583 # trailing colons and then remove the whole line if VPATH becomes empty
25584 # (actually we leave an empty line to preserve line numbers).
25585 if test "x$srcdir" = x.; then
25586 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
25587 h
25588 s///
25589 s/^/:/
25590 s/[ ]*$/:/
25591 s/:\$(srcdir):/:/g
25592 s/:\${srcdir}:/:/g
25593 s/:@srcdir@:/:/g
25594 s/^:*//
25595 s/:*$//
25596 x
25597 s/\(=[ ]*\).*/\1/
25598 G
25599 s/\n//
25600 s/^[^=]*=[ ]*$//
25601 }'
25602 fi
25603
25604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25605 fi # test -n "$CONFIG_FILES"
25606
25607 # Set up the scripts for CONFIG_HEADERS section.
25608 # No need to generate them if there are no CONFIG_HEADERS.
25609 # This happens for instance with './config.status Makefile'.
25610 if test -n "$CONFIG_HEADERS"; then
25611 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
25612 BEGIN {
25613 _ACEOF
25614
25615 # Transform confdefs.h into an awk script 'defines.awk', embedded as
25616 # here-document in config.status, that substitutes the proper values into
25617 # config.h.in to produce config.h.
25618
25619 # Create a delimiter string that does not exist in confdefs.h, to ease
25620 # handling of long lines.
25621 ac_delim='%!_!# '
25622 for ac_last_try in false false :; do
25623 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
25624 if test -z "$ac_tt"; then
25625 break
25626 elif $ac_last_try; then
25627 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
25628 else
25629 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25630 fi
25631 done
25632
25633 # For the awk script, D is an array of macro values keyed by name,
25634 # likewise P contains macro parameters if any. Preserve backslash
25635 # newline sequences.
25636
25637 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25638 sed -n '
25639 s/.\{148\}/&'"$ac_delim"'/g
25640 t rset
25641 :rset
25642 s/^[ ]*#[ ]*define[ ][ ]*/ /
25643 t def
25644 d
25645 :def
25646 s/\\$//
25647 t bsnl
25648 s/["\\]/\\&/g
25649 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
25650 D["\1"]=" \3"/p
25651 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
25652 d
25653 :bsnl
25654 s/["\\]/\\&/g
25655 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
25656 D["\1"]=" \3\\\\\\n"\\/p
25657 t cont
25658 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
25659 t cont
25660 d
25661 :cont
25662 n
25663 s/.\{148\}/&'"$ac_delim"'/g
25664 t clear
25665 :clear
25666 s/\\$//
25667 t bsnlc
25668 s/["\\]/\\&/g; s/^/"/; s/$/"/p
25669 d
25670 :bsnlc
25671 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
25672 b cont
25673 ' <confdefs.h | sed '
25674 s/'"$ac_delim"'/"\\\
25675 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25676
25677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25678 for (key in D) D_is_set[key] = 1
25679 FS = ""
25680 }
25681 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25682 line = \$ 0
25683 split(line, arg, " ")
25684 if (arg[1] == "#") {
25685 defundef = arg[2]
25686 mac1 = arg[3]
25687 } else {
25688 defundef = substr(arg[1], 2)
25689 mac1 = arg[2]
25690 }
25691 split(mac1, mac2, "(") #)
25692 macro = mac2[1]
25693 prefix = substr(line, 1, index(line, defundef) - 1)
25694 if (D_is_set[macro]) {
25695 # Preserve the white space surrounding the "#".
25696 print prefix "define", macro P[macro] D[macro]
25697 next
25698 } else {
25699 # Replace #undef with comments. This is necessary, for example,
25700 # in the case of _POSIX_SOURCE, which is predefined and required
25701 # on some systems where configure will not decide to define it.
25702 if (defundef == "undef") {
25703 print "/*", prefix defundef, macro, "*/"
25704 next
25705 }
25706 }
25707 }
25708 { print }
25709 _ACAWK
25710 _ACEOF
25711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25712 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
25713 fi # test -n "$CONFIG_HEADERS"
25714
25715
25716 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25717 shift
25718 for ac_tag
25719 do
25720 case $ac_tag in
25721 :[FHLC]) ac_mode=$ac_tag; continue;;
25722 esac
25723 case $ac_mode$ac_tag in
25724 :[FHL]*:*);;
25725 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
25726 :[FH]-) ac_tag=-:-;;
25727 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25728 esac
25729 ac_save_IFS=$IFS
25730 IFS=:
25731 set x $ac_tag
25732 IFS=$ac_save_IFS
25733 shift
25734 ac_file=$1
25735 shift
25736
25737 case $ac_mode in
25738 :L) ac_source=$1;;
25739 :[FH])
25740 ac_file_inputs=
25741 for ac_f
25742 do
25743 case $ac_f in
25744 -) ac_f="$ac_tmp/stdin";;
25745 *) # Look for the file first in the build tree, then in the source tree
25746 # (if the path is not absolute). The absolute path cannot be DOS-style,
25747 # because $ac_f cannot contain ':'.
25748 test -f "$ac_f" ||
25749 case $ac_f in
25750 [\\/$]*) false;;
25751 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25752 esac ||
25753 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
25754 esac
25755 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25756 as_fn_append ac_file_inputs " '$ac_f'"
25757 done
25758
25759 # Let's still pretend it is 'configure' which instantiates (i.e., don't
25760 # use $as_me), people would be surprised to read:
25761 # /* config.h. Generated by config.status. */
25762 configure_input='Generated from '`
25763 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25764 `' by configure.'
25765 if test x"$ac_file" != x-; then
25766 configure_input="$ac_file. $configure_input"
25767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25768 printf "%s\n" "$as_me: creating $ac_file" >&6;}
25769 fi
25770 # Neutralize special characters interpreted by sed in replacement strings.
25771 case $configure_input in #(
25772 *\&* | *\|* | *\\* )
25773 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
25774 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25775 *) ac_sed_conf_input=$configure_input;;
25776 esac
25777
25778 case $ac_tag in
25779 *:-:* | *:-) cat >"$ac_tmp/stdin" \
25780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
25781 esac
25782 ;;
25783 esac
25784
25785 ac_dir=`$as_dirname -- "$ac_file" ||
25786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25787 X"$ac_file" : 'X\(//\)[^/]' \| \
25788 X"$ac_file" : 'X\(//\)$' \| \
25789 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25790 printf "%s\n" X"$ac_file" |
25791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25792 s//\1/
25793 q
25794 }
25795 /^X\(\/\/\)[^/].*/{
25796 s//\1/
25797 q
25798 }
25799 /^X\(\/\/\)$/{
25800 s//\1/
25801 q
25802 }
25803 /^X\(\/\).*/{
25804 s//\1/
25805 q
25806 }
25807 s/.*/./; q'`
25808 as_dir="$ac_dir"; as_fn_mkdir_p
25809 ac_builddir=.
25810
25811 case "$ac_dir" in
25812 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25813 *)
25814 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
25815 # A ".." for each directory in $ac_dir_suffix.
25816 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25817 case $ac_top_builddir_sub in
25818 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25819 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25820 esac ;;
25821 esac
25822 ac_abs_top_builddir=$ac_pwd
25823 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25824 # for backward compatibility:
25825 ac_top_builddir=$ac_top_build_prefix
25826
25827 case $srcdir in
25828 .) # We are building in place.
25829 ac_srcdir=.
25830 ac_top_srcdir=$ac_top_builddir_sub
25831 ac_abs_top_srcdir=$ac_pwd ;;
25832 [\\/]* | ?:[\\/]* ) # Absolute name.
25833 ac_srcdir=$srcdir$ac_dir_suffix;
25834 ac_top_srcdir=$srcdir
25835 ac_abs_top_srcdir=$srcdir ;;
25836 *) # Relative name.
25837 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25838 ac_top_srcdir=$ac_top_build_prefix$srcdir
25839 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25840 esac
25841 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25842
25843
25844 case $ac_mode in
25845 :F)
25846 #
25847 # CONFIG_FILE
25848 #
25849
25850 case $INSTALL in
25851 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25852 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25853 esac
25854 ac_MKDIR_P=$MKDIR_P
25855 case $MKDIR_P in
25856 [\\/$]* | ?:[\\/]* ) ;;
25857 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
25858 esac
25859 _ACEOF
25860
25861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25862 # If the template does not know about datarootdir, expand it.
25863 # FIXME: This hack should be removed a few years after 2.60.
25864 ac_datarootdir_hack=; ac_datarootdir_seen=
25865 ac_sed_dataroot='
25866 /datarootdir/ {
25867 p
25868 q
25869 }
25870 /@datadir@/p
25871 /@docdir@/p
25872 /@infodir@/p
25873 /@localedir@/p
25874 /@mandir@/p'
25875 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25876 *datarootdir*) ac_datarootdir_seen=yes;;
25877 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25879 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25880 _ACEOF
25881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25882 ac_datarootdir_hack='
25883 s&@datadir@&$datadir&g
25884 s&@docdir@&$docdir&g
25885 s&@infodir@&$infodir&g
25886 s&@localedir@&$localedir&g
25887 s&@mandir@&$mandir&g
25888 s&\\\${datarootdir}&$datarootdir&g' ;;
25889 esac
25890 _ACEOF
25891
25892 # Neutralize VPATH when '$srcdir' = '.'.
25893 # Shell code in configure.ac might set extrasub.
25894 # FIXME: do we really want to maintain this feature?
25895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25896 ac_sed_extra="$ac_vpsub
25897 $extrasub
25898 _ACEOF
25899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25900 :t
25901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25902 s|@configure_input@|$ac_sed_conf_input|;t t
25903 s&@top_builddir@&$ac_top_builddir_sub&;t t
25904 s&@top_build_prefix@&$ac_top_build_prefix&;t t
25905 s&@srcdir@&$ac_srcdir&;t t
25906 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25907 s&@top_srcdir@&$ac_top_srcdir&;t t
25908 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25909 s&@builddir@&$ac_builddir&;t t
25910 s&@abs_builddir@&$ac_abs_builddir&;t t
25911 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25912 s&@INSTALL@&$ac_INSTALL&;t t
25913 s&@MKDIR_P@&$ac_MKDIR_P&;t t
25914 $ac_datarootdir_hack
25915 "
25916 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
25917 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25918
25919 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25920 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
25921 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
25922 "$ac_tmp/out"`; test -z "$ac_out"; } &&
25923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
25924 which seems to be undefined. Please make sure it is defined" >&5
25925 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
25926 which seems to be undefined. Please make sure it is defined" >&2;}
25927
25928 rm -f "$ac_tmp/stdin"
25929 case $ac_file in
25930 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
25931 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
25932 esac \
25933 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25934 ;;
25935 :H)
25936 #
25937 # CONFIG_HEADER
25938 #
25939 if test x"$ac_file" != x-; then
25940 {
25941 printf "%s\n" "/* $configure_input */" >&1 \
25942 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
25943 } >"$ac_tmp/config.h" \
25944 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25945 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
25946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25947 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
25948 else
25949 rm -f "$ac_file"
25950 mv "$ac_tmp/config.h" "$ac_file" \
25951 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25952 fi
25953 else
25954 printf "%s\n" "/* $configure_input */" >&1 \
25955 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
25956 || as_fn_error $? "could not create -" "$LINENO" 5
25957 fi
25958 # Compute "$ac_file"'s index in $config_headers.
25959 _am_arg="$ac_file"
25960 _am_stamp_count=1
25961 for _am_header in $config_headers :; do
25962 case $_am_header in
25963 $_am_arg | $_am_arg:* )
25964 break ;;
25965 * )
25966 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25967 esac
25968 done
25969 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25970 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25971 X"$_am_arg" : 'X\(//\)[^/]' \| \
25972 X"$_am_arg" : 'X\(//\)$' \| \
25973 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25974 printf "%s\n" X"$_am_arg" |
25975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25976 s//\1/
25977 q
25978 }
25979 /^X\(\/\/\)[^/].*/{
25980 s//\1/
25981 q
25982 }
25983 /^X\(\/\/\)$/{
25984 s//\1/
25985 q
25986 }
25987 /^X\(\/\).*/{
25988 s//\1/
25989 q
25990 }
25991 s/.*/./; q'`/stamp-h$_am_stamp_count
25992 ;;
25993
25994 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25995 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
25996 ;;
25997 esac
25998
25999
26000 case $ac_file$ac_mode in
26001 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26002 # Older Autoconf quotes --file arguments for eval, but not when files
26003 # are listed without --file. Let's play safe and only enable the eval
26004 # if we detect the quoting.
26005 # TODO: see whether this extra hack can be removed once we start
26006 # requiring Autoconf 2.70 or later.
26007 case $CONFIG_FILES in #(
26008 *\'*) :
26009 eval set x "$CONFIG_FILES" ;; #(
26010 *) :
26011 set x $CONFIG_FILES ;; #(
26012 *) :
26013 ;;
26014 esac
26015 shift
26016 # Used to flag and report bootstrapping failures.
26017 am_rc=0
26018 for am_mf
26019 do
26020 # Strip MF so we end up with the name of the file.
26021 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
26022 # Check whether this is an Automake generated Makefile which includes
26023 # dependency-tracking related rules and includes.
26024 # Grep'ing the whole file directly is not great: AIX grep has a line
26025 # limit of 2048, but all sed's we know have understand at least 4000.
26026 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
26027 || continue
26028 am_dirpart=`$as_dirname -- "$am_mf" ||
26029 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26030 X"$am_mf" : 'X\(//\)[^/]' \| \
26031 X"$am_mf" : 'X\(//\)$' \| \
26032 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
26033 printf "%s\n" X"$am_mf" |
26034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26035 s//\1/
26036 q
26037 }
26038 /^X\(\/\/\)[^/].*/{
26039 s//\1/
26040 q
26041 }
26042 /^X\(\/\/\)$/{
26043 s//\1/
26044 q
26045 }
26046 /^X\(\/\).*/{
26047 s//\1/
26048 q
26049 }
26050 s/.*/./; q'`
26051 am_filepart=`$as_basename -- "$am_mf" ||
26052 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
26053 X"$am_mf" : 'X\(//\)$' \| \
26054 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
26055 printf "%s\n" X/"$am_mf" |
26056 sed '/^.*\/\([^/][^/]*\)\/*$/{
26057 s//\1/
26058 q
26059 }
26060 /^X\/\(\/\/\)$/{
26061 s//\1/
26062 q
26063 }
26064 /^X\/\(\/\).*/{
26065 s//\1/
26066 q
26067 }
26068 s/.*/./; q'`
26069 { echo "$as_me:$LINENO: cd "$am_dirpart" \
26070 && sed -e '/# am--include-marker/d' "$am_filepart" \
26071 | $MAKE -f - am--depfiles" >&5
26072 (cd "$am_dirpart" \
26073 && sed -e '/# am--include-marker/d' "$am_filepart" \
26074 | $MAKE -f - am--depfiles) >&5 2>&5
26075 ac_status=$?
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); } || am_rc=$?
26078 done
26079 if test $am_rc -ne 0; then
26080 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
26081 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
26082 as_fn_error $? "Something went wrong bootstrapping makefile fragments
26083 for automatic dependency tracking. If GNU make was not used, consider
26084 re-running the configure script with MAKE=\"gmake\" (or whatever is
26085 necessary). You can also try re-running configure with the
26086 '--disable-dependency-tracking' option to at least be able to build
26087 the package (albeit without support for automatic dependency tracking).
26088 See 'config.log' for more details" "$LINENO" 5; }
26089 fi
26090 { am_dirpart=; unset am_dirpart;}
26091 { am_filepart=; unset am_filepart;}
26092 { am_mf=; unset am_mf;}
26093 { am_rc=; unset am_rc;}
26094 rm -f conftest-deps.mk
26095 }
26096 ;;
26097 "libtool":C)
26098
26099 # See if we are running on zsh, and set the options that allow our
26100 # commands through without removal of \ escapes.
26101 if test -n "${ZSH_VERSION+set}"; then
26102 setopt NO_GLOB_SUBST
26103 fi
26104
26105 cfgfile=${ofile}T
26106 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26107 $RM "$cfgfile"
26108
26109 cat <<_LT_EOF >> "$cfgfile"
26110 #! $SHELL
26111 # Generated automatically by $as_me ($PACKAGE) $VERSION
26112 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26113
26114 # Provide generalized library-building support services.
26115 # Written by Gordon Matzigkeit, 1996
26116
26117 # Copyright (C) 2025 Free Software Foundation, Inc.
26118 # This is free software; see the source for copying conditions. There is NO
26119 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26120
26121 # GNU Libtool is free software; you can redistribute it and/or modify
26122 # it under the terms of the GNU General Public License as published by
26123 # the Free Software Foundation; either version 2 of the License, or
26124 # (at your option) any later version.
26125 #
26126 # As a special exception to the GNU General Public License, if you
26127 # distribute this file as part of a program or library that is built
26128 # using GNU Libtool, you may include this file under the same
26129 # distribution terms that you use for the rest of that program.
26130 #
26131 # GNU Libtool is distributed in the hope that it will be useful, but
26132 # WITHOUT ANY WARRANTY; without even the implied warranty of
26133 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26134 # GNU General Public License for more details.
26135 #
26136 # You should have received a copy of the GNU General Public License
26137 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26138
26139
26140 # The names of the tagged configurations supported by this script.
26141 available_tags=''
26142
26143 # Configured defaults for sys_lib_dlsearch_path munging.
26144 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
26145
26146 # ### BEGIN LIBTOOL CONFIG
26147
26148 # A sed program that does not truncate output.
26149 SED=$lt_SED
26150
26151 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26152 Xsed="\$SED -e 1s/^X//"
26153
26154 # A grep program that handles long lines.
26155 GREP=$lt_GREP
26156
26157 # An ERE matcher.
26158 EGREP=$lt_EGREP
26159
26160 # A literal string matcher.
26161 FGREP=$lt_FGREP
26162
26163 # Shell to use when invoking shell scripts.
26164 SHELL=$lt_SHELL
26165
26166 # An echo program that protects backslashes.
26167 ECHO=$lt_ECHO
26168
26169 # Which release of libtool.m4 was used?
26170 macro_version=$macro_version
26171 macro_revision=$macro_revision
26172
26173 # Whether or not to build static libraries.
26174 build_old_libs=$enable_static
26175
26176 # Whether or not to build shared libraries.
26177 build_libtool_libs=$enable_shared
26178
26179 # What type of objects to build.
26180 pic_mode=$pic_mode
26181
26182 # Whether to let the compiler frontend decide what standard libraries to link when building C++ shared libraries and modules.
26183 enable_cxx_stdlib=$enable_cxx_stdlib
26184
26185 # Flag used for specifying not to link standard libraries.
26186 stdlibflag=$stdlibflag
26187
26188 # Whether or not to optimize for fast installation.
26189 fast_install=$enable_fast_install
26190
26191 # Shared archive member basename,for filename based shared library versioning on AIX.
26192 shared_archive_member_spec=$shared_archive_member_spec
26193
26194 # The PATH separator for the build system.
26195 PATH_SEPARATOR=$lt_PATH_SEPARATOR
26196
26197 # The host system.
26198 host_alias=$host_alias
26199 host=$host
26200 host_os=$host_os
26201
26202 # The build system.
26203 build_alias=$build_alias
26204 build=$build
26205 build_os=$build_os
26206
26207 # A BSD- or MS-compatible name lister.
26208 NM=$lt_NM
26209
26210 # Whether we need soft or hard links.
26211 LN_S=$lt_LN_S
26212
26213 # What is the maximum length of a command?
26214 max_cmd_len=$max_cmd_len
26215
26216 # Object file suffix (normally "o").
26217 objext=$ac_objext
26218
26219 # Executable file suffix (normally "").
26220 exeext=$exeext
26221
26222 # whether the shell understands "unset".
26223 lt_unset=$lt_unset
26224
26225 # turn spaces into newlines.
26226 SP2NL=$lt_lt_SP2NL
26227
26228 # turn newlines into spaces.
26229 NL2SP=$lt_lt_NL2SP
26230
26231 # convert \$build file names to \$host format.
26232 to_host_file_cmd=$lt_cv_to_host_file_cmd
26233
26234 # convert \$build files to toolchain format.
26235 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
26236
26237 # A file(cmd) program that detects file types.
26238 FILECMD=$lt_FILECMD
26239
26240 # An object symbol dumper.
26241 OBJDUMP=$lt_OBJDUMP
26242
26243 # Method to check whether dependent libraries are shared objects.
26244 deplibs_check_method=$lt_deplibs_check_method
26245
26246 # Command to use when deplibs_check_method = "file_magic".
26247 file_magic_cmd=$lt_file_magic_cmd
26248
26249 # How to find potential files when deplibs_check_method = "file_magic".
26250 file_magic_glob=$lt_file_magic_glob
26251
26252 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
26253 want_nocaseglob=$lt_want_nocaseglob
26254
26255 # DLL creation program.
26256 DLLTOOL=$lt_DLLTOOL
26257
26258 # Command to associate shared and link libraries.
26259 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
26260
26261 # The archiver.
26262 AR=$lt_AR
26263
26264 # Flags to create an archive (by configure).
26265 lt_ar_flags=$lt_ar_flags
26266
26267 # Flags to create an archive.
26268 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
26269
26270 # How to feed a file listing to the archiver.
26271 archiver_list_spec=$lt_archiver_list_spec
26272
26273 # A symbol stripping program.
26274 STRIP=$lt_STRIP
26275
26276 # Commands used to install an old-style archive.
26277 RANLIB=$lt_RANLIB
26278 old_postinstall_cmds=$lt_old_postinstall_cmds
26279 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26280
26281 # Whether to use a lock for old archive extraction.
26282 lock_old_archive_extraction=$lock_old_archive_extraction
26283
26284 # A C compiler.
26285 LTCC=$lt_CC
26286
26287 # LTCC compiler flags.
26288 LTCFLAGS=$lt_CFLAGS
26289
26290 # Take the output of nm and produce a listing of raw symbols and C names.
26291 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26292
26293 # Transform the output of nm in a proper C declaration.
26294 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26295
26296 # Transform the output of nm into a list of symbols to manually relocate.
26297 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
26298
26299 # Transform the output of nm in a C name address pair.
26300 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26301
26302 # Transform the output of nm in a C name address pair when lib prefix is needed.
26303 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26304
26305 # The name lister interface.
26306 nm_interface=$lt_lt_cv_nm_interface
26307
26308 # Specify filename containing input files for \$NM.
26309 nm_file_list_spec=$lt_nm_file_list_spec
26310
26311 # The root where to search for dependent libraries,and where our libraries should be installed.
26312 lt_sysroot=$lt_sysroot
26313
26314 # Command to truncate a binary pipe.
26315 lt_truncate_bin=$lt_lt_cv_truncate_bin
26316
26317 # The name of the directory that contains temporary libtool files.
26318 objdir=$objdir
26319
26320 # Used to examine libraries when file_magic_cmd begins with "file".
26321 MAGIC_CMD=$MAGIC_CMD
26322
26323 # Must we lock files when doing compilation?
26324 need_locks=$lt_need_locks
26325
26326 # Manifest tool.
26327 MANIFEST_TOOL=$lt_MANIFEST_TOOL
26328
26329 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26330 DSYMUTIL=$lt_DSYMUTIL
26331
26332 # Tool to change global to local symbols on Mac OS X.
26333 NMEDIT=$lt_NMEDIT
26334
26335 # Tool to manipulate fat objects and archives on Mac OS X.
26336 LIPO=$lt_LIPO
26337
26338 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26339 OTOOL=$lt_OTOOL
26340
26341 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26342 OTOOL64=$lt_OTOOL64
26343
26344 # Old archive suffix (normally "a").
26345 libext=$libext
26346
26347 # Shared library suffix (normally ".so").
26348 shrext_cmds=$lt_shrext_cmds
26349
26350 # The commands to extract the exported symbol list from a shared archive.
26351 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26352
26353 # Variables whose values should be saved in libtool wrapper scripts and
26354 # restored at link time.
26355 variables_saved_for_relink=$lt_variables_saved_for_relink
26356
26357 # Do we need the "lib" prefix for modules?
26358 need_lib_prefix=$need_lib_prefix
26359
26360 # Do we need a version for libraries?
26361 need_version=$need_version
26362
26363 # Library versioning type.
26364 version_type=$version_type
26365
26366 # Shared library runtime path variable.
26367 runpath_var=$runpath_var
26368
26369 # Shared library path variable.
26370 shlibpath_var=$shlibpath_var
26371
26372 # Is shlibpath searched before the hard-coded library search path?
26373 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26374
26375 # Format of library name prefix.
26376 libname_spec=$lt_libname_spec
26377
26378 # List of archive names. First name is the real one, the rest are links.
26379 # The last name is the one that the linker finds with -lNAME
26380 library_names_spec=$lt_library_names_spec
26381
26382 # The coded name of the library, if different from the real name.
26383 soname_spec=$lt_soname_spec
26384
26385 # Permission mode override for installation of shared libraries.
26386 install_override_mode=$lt_install_override_mode
26387
26388 # Command to use after installation of a shared archive.
26389 postinstall_cmds=$lt_postinstall_cmds
26390
26391 # Command to use after uninstallation of a shared archive.
26392 postuninstall_cmds=$lt_postuninstall_cmds
26393
26394 # Commands used to finish a libtool library installation in a directory.
26395 finish_cmds=$lt_finish_cmds
26396
26397 # As "finish_cmds", except a single script fragment to be evaled but
26398 # not shown.
26399 finish_eval=$lt_finish_eval
26400
26401 # Whether we should hardcode library paths into libraries.
26402 hardcode_into_libs=$hardcode_into_libs
26403
26404 # Compile-time system search path for libraries.
26405 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26406
26407 # Detected run-time system search path for libraries.
26408 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
26409
26410 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
26411 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
26412
26413 # Whether dlopen is supported.
26414 dlopen_support=$enable_dlopen
26415
26416 # Whether dlopen of programs is supported.
26417 dlopen_self=$enable_dlopen_self
26418
26419 # Whether dlopen of statically linked programs is supported.
26420 dlopen_self_static=$enable_dlopen_self_static
26421
26422 # Commands to strip libraries.
26423 old_striplib=$lt_old_striplib
26424 striplib=$lt_striplib
26425
26426
26427 # The linker used to build libraries.
26428 LD=$lt_LD
26429
26430 # How to create reloadable object files.
26431 reload_flag=$lt_reload_flag
26432 reload_cmds=$lt_reload_cmds
26433
26434 # Commands used to build an old-style archive.
26435 old_archive_cmds=$lt_old_archive_cmds
26436
26437 # A language specific compiler.
26438 CC=$lt_compiler
26439
26440 # Is the compiler the GNU compiler?
26441 with_gcc=$GCC
26442
26443 # Compiler flag to turn off builtin functions.
26444 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26445
26446 # Additional compiler flags for building library objects.
26447 pic_flag=$lt_lt_prog_compiler_pic
26448
26449 # How to pass a linker flag through the compiler.
26450 wl=$lt_lt_prog_compiler_wl
26451
26452 # Compiler flag to prevent dynamic linking.
26453 link_static_flag=$lt_lt_prog_compiler_static
26454
26455 # Does compiler simultaneously support -c and -o options?
26456 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26457
26458 # Whether or not to add -lc for building shared libraries.
26459 build_libtool_need_lc=$archive_cmds_need_lc
26460
26461 # Whether or not to disallow shared libs when runtime libs are static.
26462 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26463
26464 # Compiler flag to allow reflexive dlopens.
26465 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26466
26467 # Compiler flag to generate shared objects directly from archives.
26468 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26469
26470 # Whether the compiler copes with passing no objects directly.
26471 compiler_needs_object=$lt_compiler_needs_object
26472
26473 # Create an old-style archive from a shared archive.
26474 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26475
26476 # Create a temporary old-style archive to link instead of a shared archive.
26477 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26478
26479 # Commands used to build a shared archive.
26480 archive_cmds=$lt_archive_cmds
26481 archive_expsym_cmds=$lt_archive_expsym_cmds
26482
26483 # Commands used to build a loadable module if different from building
26484 # a shared archive.
26485 module_cmds=$lt_module_cmds
26486 module_expsym_cmds=$lt_module_expsym_cmds
26487
26488 # Whether we are building with GNU ld or not.
26489 with_gnu_ld=$lt_with_gnu_ld
26490
26491 # Flag that allows shared libraries with undefined symbols to be built.
26492 allow_undefined_flag=$lt_allow_undefined_flag
26493
26494 # Flag that enforces no undefined symbols.
26495 no_undefined_flag=$lt_no_undefined_flag
26496
26497 # Flag to hardcode \$libdir into a binary during linking.
26498 # This must work even if \$libdir does not exist
26499 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26500
26501 # Whether we need a single "-rpath" flag with a separated argument.
26502 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26503
26504 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26505 # DIR into the resulting binary.
26506 hardcode_direct=$hardcode_direct
26507
26508 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26509 # DIR into the resulting binary and the resulting library dependency is
26510 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
26511 # library is relocated.
26512 hardcode_direct_absolute=$hardcode_direct_absolute
26513
26514 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26515 # into the resulting binary.
26516 hardcode_minus_L=$hardcode_minus_L
26517
26518 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26519 # into the resulting binary.
26520 hardcode_shlibpath_var=$hardcode_shlibpath_var
26521
26522 # Set to "yes" if building a shared library automatically hardcodes DIR
26523 # into the library and all subsequent libraries and executables linked
26524 # against it.
26525 hardcode_automatic=$hardcode_automatic
26526
26527 # Set to yes if linker adds runtime paths of dependent libraries
26528 # to runtime path list.
26529 inherit_rpath=$inherit_rpath
26530
26531 # Whether libtool must link a program against all its dependency libraries.
26532 link_all_deplibs=$link_all_deplibs
26533
26534 # Set to "yes" if exported symbols are required.
26535 always_export_symbols=$always_export_symbols
26536
26537 # The commands to list exported symbols.
26538 export_symbols_cmds=$lt_export_symbols_cmds
26539
26540 # Symbols that should not be listed in the preloaded symbols.
26541 exclude_expsyms=$lt_exclude_expsyms
26542
26543 # Symbols that must always be exported.
26544 include_expsyms=$lt_include_expsyms
26545
26546 # Commands necessary for linking programs (against libraries) with templates.
26547 prelink_cmds=$lt_prelink_cmds
26548
26549 # Commands necessary for finishing linking programs.
26550 postlink_cmds=$lt_postlink_cmds
26551
26552 # Specify filename containing input files.
26553 file_list_spec=$lt_file_list_spec
26554
26555 # How to hardcode a shared library path into an executable.
26556 hardcode_action=$hardcode_action
26557
26558 # ### END LIBTOOL CONFIG
26559
26560 _LT_EOF
26561
26562 cat <<'_LT_EOF' >> "$cfgfile"
26563
26564 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
26565
26566 # func_munge_path_list VARIABLE PATH
26567 # -----------------------------------
26568 # VARIABLE is name of variable containing _space_ separated list of
26569 # directories to be munged by the contents of PATH, which is string
26570 # having a format:
26571 # "DIR[:DIR]:"
26572 # string "DIR[ DIR]" will be prepended to VARIABLE
26573 # ":DIR[:DIR]"
26574 # string "DIR[ DIR]" will be appended to VARIABLE
26575 # "DIRP[:DIRP]::[DIRA:]DIRA"
26576 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
26577 # "DIRA[ DIRA]" will be appended to VARIABLE
26578 # "DIR[:DIR]"
26579 # VARIABLE will be replaced by "DIR[ DIR]"
26580 func_munge_path_list ()
26581 {
26582 case x$2 in
26583 x)
26584 ;;
26585 *:)
26586 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
26587 ;;
26588 x:*)
26589 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
26590 ;;
26591 *::*)
26592 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
26593 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
26594 ;;
26595 *)
26596 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
26597 ;;
26598 esac
26599 }
26600
26601
26602 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
26603 func_cc_basename ()
26604 {
26605 for cc_temp in $*""; do
26606 case $cc_temp in
26607 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26608 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26609 \-*) ;;
26610 *) break;;
26611 esac
26612 done
26613 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
26614 }
26615
26616
26617 # ### END FUNCTIONS SHARED WITH CONFIGURE
26618
26619 _LT_EOF
26620
26621 case $host_os in
26622 aix3*)
26623 cat <<\_LT_EOF >> "$cfgfile"
26624 # AIX sometimes has problems with the GCC collect2 program. For some
26625 # reason, if we set the COLLECT_NAMES environment variable, the problems
26626 # vanish in a puff of smoke.
26627 if test set != "${COLLECT_NAMES+set}"; then
26628 COLLECT_NAMES=
26629 export COLLECT_NAMES
26630 fi
26631 _LT_EOF
26632 ;;
26633 esac
26634
26635
26636
26637 ltmain=$ac_aux_dir/ltmain.sh
26638
26639
26640 # We use sed instead of cat because bash on DJGPP gets confused if
26641 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26642 # text mode, it properly converts lines to CR/LF. This bash problem
26643 # is reportedly fixed, but why not run on old versions too?
26644 $SED '$q' "$ltmain" >> "$cfgfile" \
26645 || (rm -f "$cfgfile"; exit 1)
26646
26647 mv -f "$cfgfile" "$ofile" ||
26648 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26649 chmod +x "$ofile"
26650
26651 ;;
26652 "po-directories":C)
26653 for ac_file in $CONFIG_FILES; do
26654 # Support "outfile[:infile[:infile...]]"
26655 case "$ac_file" in
26656 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
26657 esac
26658 # PO directories have a Makefile.in generated from Makefile.in.in.
26659 case "$ac_file" in */Makefile.in)
26660 # Adjust a relative srcdir.
26661 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
26662 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
26663 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
26664 # In autoconf-2.13 it is called $ac_given_srcdir.
26665 # In autoconf-2.50 it is called $srcdir.
26666 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
26667 case "$ac_given_srcdir" in
26668 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
26669 /*) top_srcdir="$ac_given_srcdir" ;;
26670 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
26671 esac
26672 # Treat a directory as a PO directory if and only if it has a
26673 # POTFILES.in file. This allows packages to have multiple PO
26674 # directories under different names or in different locations.
26675 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
26676 rm -f "$ac_dir/POTFILES"
26677 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
26678 gt_tab=`printf '\t'`
26679 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"
26680 POMAKEFILEDEPS="POTFILES.in"
26681 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
26682 # on $ac_dir but don't depend on user-specified configuration
26683 # parameters.
26684 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
26685 # The LINGUAS file contains the set of available languages.
26686 if test -n "$OBSOLETE_ALL_LINGUAS"; then
26687 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
26688 fi
26689 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
26690 # Hide the ALL_LINGUAS assignment from automake < 1.5.
26691 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
26692 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
26693 else
26694 # The set of available languages was given in configure.in.
26695 # Hide the ALL_LINGUAS assignment from automake < 1.5.
26696 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
26697 fi
26698 # Compute POFILES
26699 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
26700 # Compute UPDATEPOFILES
26701 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
26702 # Compute DUMMYPOFILES
26703 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
26704 # Compute GMOFILES
26705 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
26706 case "$ac_given_srcdir" in
26707 .) srcdirpre= ;;
26708 *) srcdirpre='$(srcdir)/' ;;
26709 esac
26710 POFILES=
26711 UPDATEPOFILES=
26712 DUMMYPOFILES=
26713 GMOFILES=
26714 for lang in $ALL_LINGUAS; do
26715 POFILES="$POFILES $srcdirpre$lang.po"
26716 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
26717 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
26718 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
26719 done
26720 # CATALOGS depends on both $ac_dir and the user's LINGUAS
26721 # environment variable.
26722 INST_LINGUAS=
26723 if test -n "$ALL_LINGUAS"; then
26724 for presentlang in $ALL_LINGUAS; do
26725 useit=no
26726 if test "%UNSET%" != "$LINGUAS"; then
26727 desiredlanguages="$LINGUAS"
26728 else
26729 desiredlanguages="$ALL_LINGUAS"
26730 fi
26731 for desiredlang in $desiredlanguages; do
26732 # Use the presentlang catalog if desiredlang is
26733 # a. equal to presentlang, or
26734 # b. a variant of presentlang (because in this case,
26735 # presentlang can be used as a fallback for messages
26736 # which are not translated in the desiredlang catalog).
26737 case "$desiredlang" in
26738 "$presentlang"*) useit=yes;;
26739 esac
26740 done
26741 if test $useit = yes; then
26742 INST_LINGUAS="$INST_LINGUAS $presentlang"
26743 fi
26744 done
26745 fi
26746 CATALOGS=
26747 if test -n "$INST_LINGUAS"; then
26748 for lang in $INST_LINGUAS; do
26749 CATALOGS="$CATALOGS $lang.gmo"
26750 done
26751 fi
26752 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
26753 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"
26754 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
26755 if test -f "$f"; then
26756 case "$f" in
26757 *.orig | *.bak | *~) ;;
26758 *) cat "$f" >> "$ac_dir/Makefile" ;;
26759 esac
26760 fi
26761 done
26762 fi
26763 ;;
26764 esac
26765 done ;;
26766
26767 esac
26768 done # for ac_tag
26769
26770
26771 as_fn_exit 0
26772 _ACEOF
26773 ac_clean_files=$ac_clean_files_save
26774
26775 test $ac_write_fail = 0 ||
26776 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
26777
26778
26779 # configure is writing to config.log, and then calls config.status.
26780 # config.status does its own redirection, appending to config.log.
26781 # Unfortunately, on DOS this fails, as config.log is still kept open
26782 # by configure, so config.status won't be able to write to it; its
26783 # output is simply discarded. So we exec the FD to /dev/null,
26784 # effectively closing config.log, so it can be properly (re)opened and
26785 # appended to by config.status. When coming back to configure, we
26786 # need to make the FD available again.
26787 if test "$no_create" != yes; then
26788 ac_cs_success=:
26789 ac_config_status_args=
26790 test "$silent" = yes &&
26791 ac_config_status_args="$ac_config_status_args --quiet"
26792 exec 5>/dev/null
26793 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26794 exec 5>>config.log
26795 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26796 # would make configure fail if this is the last instruction.
26797 $ac_cs_success || as_fn_exit 1
26798 fi
26799 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
26800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26801 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
26802 fi
26803
26804
26805 echo
26806 echo "Build Configuration:"
26807 echo
26808 if test x"$GLADEUI2_FOUND" = x"yes"; then
26809 echo "* Glade 3.0 UI Designer: yes"
26810 echo " - Catalog directory: $GLADEUI2_CATALOGDIR"
26811 echo " - Module directory: $GLADEUI2_MODULEDIR"
26812 echo " - Pixmap directory: $GLADEUI2_PIXMAPDIR"
26813 else
26814 echo "* Glade 3.0 UI Designer: no"
26815 fi
26816 if test x"$enable_keyboard_library" = x"yes"; then
26817 echo "* Keyboard library support: yes"
26818 else
26819 echo "* Keyboard library support: no"
26820 fi
26821 echo "* X11 Support: ${ENABLE_X11:-no}"
26822 if test x"$ENABLE_X11" = x"yes"; then
26823 echo " * Libsm support: ${ENABLE_LIBSM:-no}"
26824 echo " * Startup notif support: ${LIBSTARTUP_NOTIFICATION_FOUND:-no}"
26825 fi
26826 echo "* Wayland Support: ${ENABLE_WAYLAND:-no}"
26827 echo "* Debug support: $enable_debug"
26828 echo "* Build tests: $enable_tests"
26829 echo "* GNU Visibility: $have_gnuc_visibility"
26830 if test -n "$with_vendor_info"; then
26831 echo "* Vendor: $with_vendor_info"
26832 echo
26833 echo "Note you can put additional info about the vendor"
26834 echo "in this text file: \"${datarootdir}/xfce4/vendorinfo\""
26835 else
26836 echo "* Vendor: none"
26837 fi
26838 if test x"$GLIBTOP_FOUND" = x"yes"; then
26839 echo "* System Info (libgtop): yes"
26840 echo "* System Info (epoxy): $EPOXY_FOUND"
26841 echo "* System Info (gudev): $GUDEV_FOUND"
26842 else
26843 echo "* System Info (libgtop): no"
26844 echo "* System Info (epoxy): no (assumes libgtop)"
26845 echo "* System Info (gudev): no (assumes libgtop)"
26846 fi
26847 echo "* Manual website: $with_manual_website"
26848 echo
26849