Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for mozo 1.28.0.
4 #
5 # Report bugs to <https://mate-desktop.org>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
192 fi
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
195
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 do
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
209 /*)
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
220 fi
221 fi
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
229
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi
236 fi
237
238
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell [email protected] and
271 $0: https://mate-desktop.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
303 {
304 return $1
305 } # as_fn_set_status
306
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
311 {
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
320 {
321 return $?
322 }
323 as_nop=as_fn_nop
324
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
329 {
330
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
354 q
355 }
356 /^X\(\/\/\)$/{
357 s//\1/
358 q
359 }
360 /^X\(\/\).*/{
361 s//\1/
362 q
363 }
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369
370
371 } # as_fn_mkdir_p
372
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
377 {
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
389 {
390 eval $1+=\$2
391 }'
392 else $as_nop
393 as_fn_append ()
394 {
395 eval $1=\$$1\$2
396 }
397 fi # as_fn_append
398
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
407 {
408 as_val=$(( $* ))
409 }'
410 else $as_nop
411 as_fn_arith ()
412 {
413 as_val=`expr "$@" || test $? -eq 1`
414 }
415 fi # as_fn_arith
416
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
421 {
422 return $?
423 }
424 as_nop=as_fn_nop
425
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
432 {
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 fi
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
441
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
447 fi
448
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
453 fi
454
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
459 fi
460
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\/\)$/{
471 s//\1/
472 q
473 }
474 /^X\/\(\/\).*/{
475 s//\1/
476 q
477 }
478 s/.*/./; q'`
479
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
486
487
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
494 p
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
500 b
501 :lineno
502 N
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
521 }
522
523
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
536 *)
537 ECHO_N='-n';;
538 esac
539
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
545
546
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
553 fi
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
567 fi
568 else
569 as_ln_s='cp -pR'
570 fi
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
573
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
579 fi
580
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
583
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
589
590
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
593
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
598
599 #
600 # Initializations.
601 #
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
610
611 # Identity of this package.
612 PACKAGE_NAME='mozo'
613 PACKAGE_TARNAME='mozo'
614 PACKAGE_VERSION='1.28.0'
615 PACKAGE_STRING='mozo 1.28.0'
616 PACKAGE_BUGREPORT='https://mate-desktop.org'
617 PACKAGE_URL=''
618
619 ac_unique_file="mozo.in"
620 gt_needs=
621 ac_subst_vars='am__EXEEXT_FALSE
622 am__EXEEXT_TRUE
623 LTLIBOBJS
624 LIBOBJS
625 ICON_UPDATE_FALSE
626 ICON_UPDATE_TRUE
627 UPDATE_ICON_CACHE
628 MOZO_LIBS
629 MOZO_CFLAGS
630 PKG_CONFIG_LIBDIR
631 PKG_CONFIG_PATH
632 PKG_CONFIG
633 pkgpyexecdir
634 pyexecdir
635 pkgpythondir
636 pythondir
637 PYTHON_EXEC_PREFIX
638 PYTHON_PREFIX
639 PYTHON_PLATFORM
640 PYTHON_VERSION
641 PYTHON
642 localedir_c_make
643 localedir_c
644 POSUB
645 LTLIBINTL
646 LIBINTL
647 INTLLIBS
648 LTLIBICONV
649 LIBICONV
650 INTL_MACOSX_LIBS
651 EGREP
652 GREP
653 CPP
654 host_os
655 host_vendor
656 host_cpu
657 host
658 build_os
659 build_vendor
660 build_cpu
661 build
662 am__fastdepCC_FALSE
663 am__fastdepCC_TRUE
664 CCDEPMODE
665 am__nodep
666 AMDEPBACKSLASH
667 AMDEP_FALSE
668 AMDEP_TRUE
669 am__include
670 DEPDIR
671 OBJEXT
672 EXEEXT
673 ac_ct_CC
674 CPPFLAGS
675 LDFLAGS
676 CFLAGS
677 CC
678 XGETTEXT_EXTRA_OPTIONS
679 MSGMERGE_FOR_MSGFMT_OPTION
680 MSGMERGE
681 XGETTEXT_015
682 XGETTEXT
683 GMSGFMT_015
684 GMSGFMT
685 MSGFMT
686 GETTEXT_MACRO_VERSION
687 USE_NLS
688 SED
689 GETTEXT_PACKAGE
690 MAINT
691 MAINTAINER_MODE_FALSE
692 MAINTAINER_MODE_TRUE
693 CSCOPE
694 ETAGS
695 CTAGS
696 am__untar
697 am__tar
698 AMTAR
699 am__leading_dot
700 SET_MAKE
701 AWK
702 mkdir_p
703 MKDIR_P
704 INSTALL_STRIP_PROGRAM
705 STRIP
706 install_sh
707 MAKEINFO
708 AUTOHEADER
709 AUTOMAKE
710 AUTOCONF
711 ACLOCAL
712 VERSION
713 PACKAGE
714 CYGPATH_W
715 am__isrc
716 INSTALL_DATA
717 INSTALL_SCRIPT
718 INSTALL_PROGRAM
719 AM_BACKSLASH
720 AM_DEFAULT_VERBOSITY
721 AM_DEFAULT_V
722 AM_V
723 target_alias
724 host_alias
725 build_alias
726 LIBS
727 ECHO_T
728 ECHO_N
729 ECHO_C
730 DEFS
731 mandir
732 localedir
733 libdir
734 psdir
735 pdfdir
736 dvidir
737 htmldir
738 infodir
739 docdir
740 oldincludedir
741 includedir
742 runstatedir
743 localstatedir
744 sharedstatedir
745 sysconfdir
746 datadir
747 datarootdir
748 libexecdir
749 sbindir
750 bindir
751 program_transform_name
752 prefix
753 exec_prefix
754 PACKAGE_URL
755 PACKAGE_BUGREPORT
756 PACKAGE_STRING
757 PACKAGE_VERSION
758 PACKAGE_TARNAME
759 PACKAGE_NAME
760 PATH_SEPARATOR
761 SHELL
762 am__quote'
763 ac_subst_files=''
764 ac_user_opts='
765 enable_option_checking
766 enable_silent_rules
767 enable_maintainer_mode
768 enable_nls
769 enable_dependency_tracking
770 with_gnu_ld
771 enable_rpath
772 with_libiconv_prefix
773 with_libintl_prefix
774 with_python_sys_prefix
775 with_python_prefix
776 with_python_exec_prefix
777 enable_icon_update
778 '
779 ac_precious_vars='build_alias
780 host_alias
781 target_alias
782 CC
783 CFLAGS
784 LDFLAGS
785 LIBS
786 CPPFLAGS
787 CPP
788 PYTHON
789 PKG_CONFIG
790 PKG_CONFIG_PATH
791 PKG_CONFIG_LIBDIR
792 MOZO_CFLAGS
793 MOZO_LIBS'
794
795
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 ac_unrecognized_opts=
800 ac_unrecognized_sep=
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
803 cache_file=/dev/null
804 exec_prefix=NONE
805 no_create=
806 no_recursion=
807 prefix=NONE
808 program_prefix=NONE
809 program_suffix=NONE
810 program_transform_name=s,x,x,
811 silent=
812 site=
813 srcdir=
814 verbose=
815 x_includes=NONE
816 x_libraries=NONE
817
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 runstatedir='${localstatedir}/run'
833 includedir='${prefix}/include'
834 oldincludedir='/usr/include'
835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
836 infodir='${datarootdir}/info'
837 htmldir='${docdir}'
838 dvidir='${docdir}'
839 pdfdir='${docdir}'
840 psdir='${docdir}'
841 libdir='${exec_prefix}/lib'
842 localedir='${datarootdir}/locale'
843 mandir='${datarootdir}/man'
844
845 ac_prev=
846 ac_dashdash=
847 for ac_option
848 do
849 # If the previous option needs an argument, assign it.
850 if test -n "$ac_prev"; then
851 eval $ac_prev=\$ac_option
852 ac_prev=
853 continue
854 fi
855
856 case $ac_option in
857 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 *=) ac_optarg= ;;
859 *) ac_optarg=yes ;;
860 esac
861
862 case $ac_dashdash$ac_option in
863 --)
864 ac_dashdash=yes ;;
865
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
867 ac_prev=bindir ;;
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 bindir=$ac_optarg ;;
870
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
875
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
882
883 --config-cache | -C)
884 cache_file=config.cache ;;
885
886 -datadir | --datadir | --datadi | --datad)
887 ac_prev=datadir ;;
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
890
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
897
898 -disable-* | --disable-*)
899 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902 as_fn_error $? "invalid feature name: \`$ac_useropt'"
903 ac_useropt_orig=$ac_useropt
904 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
905 case $ac_user_opts in
906 *"
907 "enable_$ac_useropt"
908 "*) ;;
909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
910 ac_unrecognized_sep=', ';;
911 esac
912 eval enable_$ac_useropt=no ;;
913
914 -docdir | --docdir | --docdi | --doc | --do)
915 ac_prev=docdir ;;
916 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
917 docdir=$ac_optarg ;;
918
919 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
920 ac_prev=dvidir ;;
921 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
922 dvidir=$ac_optarg ;;
923
924 -enable-* | --enable-*)
925 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928 as_fn_error $? "invalid feature name: \`$ac_useropt'"
929 ac_useropt_orig=$ac_useropt
930 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
932 *"
933 "enable_$ac_useropt"
934 "*) ;;
935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
936 ac_unrecognized_sep=', ';;
937 esac
938 eval enable_$ac_useropt=\$ac_optarg ;;
939
940 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
941 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
942 | --exec | --exe | --ex)
943 ac_prev=exec_prefix ;;
944 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
945 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
946 | --exec=* | --exe=* | --ex=*)
947 exec_prefix=$ac_optarg ;;
948
949 -gas | --gas | --ga | --g)
950 # Obsolete; use --with-gas.
951 with_gas=yes ;;
952
953 -help | --help | --hel | --he | -h)
954 ac_init_help=long ;;
955 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
956 ac_init_help=recursive ;;
957 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
958 ac_init_help=short ;;
959
960 -host | --host | --hos | --ho)
961 ac_prev=host_alias ;;
962 -host=* | --host=* | --hos=* | --ho=*)
963 host_alias=$ac_optarg ;;
964
965 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
966 ac_prev=htmldir ;;
967 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
968 | --ht=*)
969 htmldir=$ac_optarg ;;
970
971 -includedir | --includedir | --includedi | --included | --include \
972 | --includ | --inclu | --incl | --inc)
973 ac_prev=includedir ;;
974 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
975 | --includ=* | --inclu=* | --incl=* | --inc=*)
976 includedir=$ac_optarg ;;
977
978 -infodir | --infodir | --infodi | --infod | --info | --inf)
979 ac_prev=infodir ;;
980 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
981 infodir=$ac_optarg ;;
982
983 -libdir | --libdir | --libdi | --libd)
984 ac_prev=libdir ;;
985 -libdir=* | --libdir=* | --libdi=* | --libd=*)
986 libdir=$ac_optarg ;;
987
988 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
989 | --libexe | --libex | --libe)
990 ac_prev=libexecdir ;;
991 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
992 | --libexe=* | --libex=* | --libe=*)
993 libexecdir=$ac_optarg ;;
994
995 -localedir | --localedir | --localedi | --localed | --locale)
996 ac_prev=localedir ;;
997 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
998 localedir=$ac_optarg ;;
999
1000 -localstatedir | --localstatedir | --localstatedi | --localstated \
1001 | --localstate | --localstat | --localsta | --localst | --locals)
1002 ac_prev=localstatedir ;;
1003 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1004 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1005 localstatedir=$ac_optarg ;;
1006
1007 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1008 ac_prev=mandir ;;
1009 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1010 mandir=$ac_optarg ;;
1011
1012 -nfp | --nfp | --nf)
1013 # Obsolete; use --without-fp.
1014 with_fp=no ;;
1015
1016 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1017 | --no-cr | --no-c | -n)
1018 no_create=yes ;;
1019
1020 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1021 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1022 no_recursion=yes ;;
1023
1024 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1025 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1026 | --oldin | --oldi | --old | --ol | --o)
1027 ac_prev=oldincludedir ;;
1028 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1029 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1030 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1031 oldincludedir=$ac_optarg ;;
1032
1033 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1034 ac_prev=prefix ;;
1035 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1036 prefix=$ac_optarg ;;
1037
1038 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1039 | --program-pre | --program-pr | --program-p)
1040 ac_prev=program_prefix ;;
1041 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1042 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1043 program_prefix=$ac_optarg ;;
1044
1045 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1046 | --program-suf | --program-su | --program-s)
1047 ac_prev=program_suffix ;;
1048 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1049 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1050 program_suffix=$ac_optarg ;;
1051
1052 -program-transform-name | --program-transform-name \
1053 | --program-transform-nam | --program-transform-na \
1054 | --program-transform-n | --program-transform- \
1055 | --program-transform | --program-transfor \
1056 | --program-transfo | --program-transf \
1057 | --program-trans | --program-tran \
1058 | --progr-tra | --program-tr | --program-t)
1059 ac_prev=program_transform_name ;;
1060 -program-transform-name=* | --program-transform-name=* \
1061 | --program-transform-nam=* | --program-transform-na=* \
1062 | --program-transform-n=* | --program-transform-=* \
1063 | --program-transform=* | --program-transfor=* \
1064 | --program-transfo=* | --program-transf=* \
1065 | --program-trans=* | --program-tran=* \
1066 | --progr-tra=* | --program-tr=* | --program-t=*)
1067 program_transform_name=$ac_optarg ;;
1068
1069 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1070 ac_prev=pdfdir ;;
1071 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1072 pdfdir=$ac_optarg ;;
1073
1074 -psdir | --psdir | --psdi | --psd | --ps)
1075 ac_prev=psdir ;;
1076 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1077 psdir=$ac_optarg ;;
1078
1079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1080 | -silent | --silent | --silen | --sile | --sil)
1081 silent=yes ;;
1082
1083 -runstatedir | --runstatedir | --runstatedi | --runstated \
1084 | --runstate | --runstat | --runsta | --runst | --runs \
1085 | --run | --ru | --r)
1086 ac_prev=runstatedir ;;
1087 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1088 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1089 | --run=* | --ru=* | --r=*)
1090 runstatedir=$ac_optarg ;;
1091
1092 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1093 ac_prev=sbindir ;;
1094 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1095 | --sbi=* | --sb=*)
1096 sbindir=$ac_optarg ;;
1097
1098 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1099 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1100 | --sharedst | --shareds | --shared | --share | --shar \
1101 | --sha | --sh)
1102 ac_prev=sharedstatedir ;;
1103 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1104 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1105 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1106 | --sha=* | --sh=*)
1107 sharedstatedir=$ac_optarg ;;
1108
1109 -site | --site | --sit)
1110 ac_prev=site ;;
1111 -site=* | --site=* | --sit=*)
1112 site=$ac_optarg ;;
1113
1114 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1115 ac_prev=srcdir ;;
1116 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1117 srcdir=$ac_optarg ;;
1118
1119 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1120 | --syscon | --sysco | --sysc | --sys | --sy)
1121 ac_prev=sysconfdir ;;
1122 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1123 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1124 sysconfdir=$ac_optarg ;;
1125
1126 -target | --target | --targe | --targ | --tar | --ta | --t)
1127 ac_prev=target_alias ;;
1128 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1129 target_alias=$ac_optarg ;;
1130
1131 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1132 verbose=yes ;;
1133
1134 -version | --version | --versio | --versi | --vers | -V)
1135 ac_init_version=: ;;
1136
1137 -with-* | --with-*)
1138 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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 package 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 "with_$ac_useropt"
1147 "*) ;;
1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1149 ac_unrecognized_sep=', ';;
1150 esac
1151 eval with_$ac_useropt=\$ac_optarg ;;
1152
1153 -without-* | --without-*)
1154 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157 as_fn_error $? "invalid package name: \`$ac_useropt'"
1158 ac_useropt_orig=$ac_useropt
1159 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in
1161 *"
1162 "with_$ac_useropt"
1163 "*) ;;
1164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1165 ac_unrecognized_sep=', ';;
1166 esac
1167 eval with_$ac_useropt=no ;;
1168
1169 --x)
1170 # Obsolete; use --with-x.
1171 with_x=yes ;;
1172
1173 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1174 | --x-incl | --x-inc | --x-in | --x-i)
1175 ac_prev=x_includes ;;
1176 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1177 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1178 x_includes=$ac_optarg ;;
1179
1180 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1181 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1182 ac_prev=x_libraries ;;
1183 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1184 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1185 x_libraries=$ac_optarg ;;
1186
1187 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1188 Try \`$0 --help' for more information"
1189 ;;
1190
1191 *=*)
1192 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1193 # Reject names that are not valid shell variable names.
1194 case $ac_envvar in #(
1195 '' | [0-9]* | *[!_$as_cr_alnum]* )
1196 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1197 esac
1198 eval $ac_envvar=\$ac_optarg
1199 export $ac_envvar ;;
1200
1201 *)
1202 # FIXME: should be removed in autoconf 3.0.
1203 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1204 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1205 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1206 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1207 ;;
1208
1209 esac
1210 done
1211
1212 if test -n "$ac_prev"; then
1213 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1214 as_fn_error $? "missing argument to $ac_option"
1215 fi
1216
1217 if test -n "$ac_unrecognized_opts"; then
1218 case $enable_option_checking in
1219 no) ;;
1220 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1221 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1222 esac
1223 fi
1224
1225 # Check all directory arguments for consistency.
1226 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1227 datadir sysconfdir sharedstatedir localstatedir includedir \
1228 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1229 libdir localedir mandir runstatedir
1230 do
1231 eval ac_val=\$$ac_var
1232 # Remove trailing slashes.
1233 case $ac_val in
1234 */ )
1235 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1236 eval $ac_var=\$ac_val;;
1237 esac
1238 # Be sure to have absolute directory names.
1239 case $ac_val in
1240 [\\/$]* | ?:[\\/]* ) continue;;
1241 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1242 esac
1243 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1244 done
1245
1246 # There might be people who depend on the old broken behavior: `$host'
1247 # used to hold the argument of --host etc.
1248 # FIXME: To remove some day.
1249 build=$build_alias
1250 host=$host_alias
1251 target=$target_alias
1252
1253 # FIXME: To remove some day.
1254 if test "x$host_alias" != x; then
1255 if test "x$build_alias" = x; then
1256 cross_compiling=maybe
1257 elif test "x$build_alias" != "x$host_alias"; then
1258 cross_compiling=yes
1259 fi
1260 fi
1261
1262 ac_tool_prefix=
1263 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1264
1265 test "$silent" = yes && exec 6>/dev/null
1266
1267
1268 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1269 ac_ls_di=`ls -di .` &&
1270 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1271 as_fn_error $? "working directory cannot be determined"
1272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273 as_fn_error $? "pwd does not report name of working directory"
1274
1275
1276 # Find the source files, if location was not specified.
1277 if test -z "$srcdir"; then
1278 ac_srcdir_defaulted=yes
1279 # Try the directory containing this script, then the parent directory.
1280 ac_confdir=`$as_dirname -- "$as_myself" ||
1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282 X"$as_myself" : 'X\(//\)[^/]' \| \
1283 X"$as_myself" : 'X\(//\)$' \| \
1284 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285 printf "%s\n" X"$as_myself" |
1286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1287 s//\1/
1288 q
1289 }
1290 /^X\(\/\/\)[^/].*/{
1291 s//\1/
1292 q
1293 }
1294 /^X\(\/\/\)$/{
1295 s//\1/
1296 q
1297 }
1298 /^X\(\/\).*/{
1299 s//\1/
1300 q
1301 }
1302 s/.*/./; q'`
1303 srcdir=$ac_confdir
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305 srcdir=..
1306 fi
1307 else
1308 ac_srcdir_defaulted=no
1309 fi
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1311 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1312 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1313 fi
1314 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1315 ac_abs_confdir=`(
1316 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1317 pwd)`
1318 # When building in place, set srcdir=.
1319 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 srcdir=.
1321 fi
1322 # Remove unnecessary trailing slashes from srcdir.
1323 # Double slashes in file names in object file debugging info
1324 # mess up M-x gdb in Emacs.
1325 case $srcdir in
1326 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327 esac
1328 for ac_var in $ac_precious_vars; do
1329 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1330 eval ac_env_${ac_var}_value=\$${ac_var}
1331 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1332 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1333 done
1334
1335 #
1336 # Report the --help message.
1337 #
1338 if test "$ac_init_help" = "long"; then
1339 # Omit some internal or obsolete options to make the list less imposing.
1340 # This message is too long to be a string in the A/UX 3.1 sh.
1341 cat <<_ACEOF
1342 \`configure' configures mozo 1.28.0 to adapt to many kinds of systems.
1343
1344 Usage: $0 [OPTION]... [VAR=VALUE]...
1345
1346 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1347 VAR=VALUE. See below for descriptions of some of the useful variables.
1348
1349 Defaults for the options are specified in brackets.
1350
1351 Configuration:
1352 -h, --help display this help and exit
1353 --help=short display options specific to this package
1354 --help=recursive display the short help of all the included packages
1355 -V, --version display version information and exit
1356 -q, --quiet, --silent do not print \`checking ...' messages
1357 --cache-file=FILE cache test results in FILE [disabled]
1358 -C, --config-cache alias for \`--cache-file=config.cache'
1359 -n, --no-create do not create output files
1360 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1361
1362 Installation directories:
1363 --prefix=PREFIX install architecture-independent files in PREFIX
1364 [$ac_default_prefix]
1365 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 [PREFIX]
1367
1368 By default, \`make install' will install all the files in
1369 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1370 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1371 for instance \`--prefix=\$HOME'.
1372
1373 For better control, use the options below.
1374
1375 Fine tuning of the installation directories:
1376 --bindir=DIR user executables [EPREFIX/bin]
1377 --sbindir=DIR system admin executables [EPREFIX/sbin]
1378 --libexecdir=DIR program executables [EPREFIX/libexec]
1379 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1380 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1381 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1382 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1383 --libdir=DIR object code libraries [EPREFIX/lib]
1384 --includedir=DIR C header files [PREFIX/include]
1385 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1386 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1387 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1388 --infodir=DIR info documentation [DATAROOTDIR/info]
1389 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1390 --mandir=DIR man documentation [DATAROOTDIR/man]
1391 --docdir=DIR documentation root [DATAROOTDIR/doc/mozo]
1392 --htmldir=DIR html documentation [DOCDIR]
1393 --dvidir=DIR dvi documentation [DOCDIR]
1394 --pdfdir=DIR pdf documentation [DOCDIR]
1395 --psdir=DIR ps documentation [DOCDIR]
1396 _ACEOF
1397
1398 cat <<\_ACEOF
1399
1400 Program names:
1401 --program-prefix=PREFIX prepend PREFIX to installed program names
1402 --program-suffix=SUFFIX append SUFFIX to installed program names
1403 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1404
1405 System types:
1406 --build=BUILD configure for building on BUILD [guessed]
1407 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1408 _ACEOF
1409 fi
1410
1411 if test -n "$ac_init_help"; then
1412 case $ac_init_help in
1413 short | recursive ) echo "Configuration of mozo 1.28.0:";;
1414 esac
1415 cat <<\_ACEOF
1416
1417 Optional Features:
1418 --disable-option-checking ignore unrecognized --enable/--with options
1419 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1420 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1421 --enable-silent-rules less verbose build output (undo: "make V=1")
1422 --disable-silent-rules verbose build output (undo: "make V=0")
1423 --enable-maintainer-mode
1424 enable make rules and dependencies not useful (and
1425 sometimes confusing) to the casual installer
1426 --disable-nls do not use Native Language Support
1427 --enable-dependency-tracking
1428 do not reject slow dependency extractors
1429 --disable-dependency-tracking
1430 speeds up one-time build
1431 --disable-rpath do not hardcode runtime library paths
1432 --disable-icon-update Disable icon cache update
1433
1434 Optional Packages:
1435 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1436 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1437 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1438 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1439 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1440 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1441 --without-libintl-prefix don't search for libintl in includedir and libdir
1442 --with-python-sys-prefix
1443 use Python's sys.prefix and sys.exec_prefix values
1444 --with-python_prefix override the default PYTHON_PREFIX
1445 --with-python_exec_prefix
1446 override the default PYTHON_EXEC_PREFIX
1447
1448 Some influential environment variables:
1449 CC C compiler command
1450 CFLAGS C compiler flags
1451 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1452 nonstandard directory <lib dir>
1453 LIBS libraries to pass to the linker, e.g. -l<library>
1454 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1455 you have headers in a nonstandard directory <include dir>
1456 CPP C preprocessor
1457 PYTHON the Python interpreter
1458 PKG_CONFIG path to pkg-config utility
1459 PKG_CONFIG_PATH
1460 directories to add to pkg-config's search path
1461 PKG_CONFIG_LIBDIR
1462 path overriding pkg-config's built-in search path
1463 MOZO_CFLAGS C compiler flags for MOZO, overriding pkg-config
1464 MOZO_LIBS linker flags for MOZO, overriding pkg-config
1465
1466 Use these variables to override the choices made by `configure' or to help
1467 it to find libraries and programs with nonstandard names/locations.
1468
1469 Report bugs to <https://mate-desktop.org>.
1470 _ACEOF
1471 ac_status=$?
1472 fi
1473
1474 if test "$ac_init_help" = "recursive"; then
1475 # If there are subdirs, report their specific --help.
1476 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1477 test -d "$ac_dir" ||
1478 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1479 continue
1480 ac_builddir=.
1481
1482 case "$ac_dir" in
1483 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484 *)
1485 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1486 # A ".." for each directory in $ac_dir_suffix.
1487 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1488 case $ac_top_builddir_sub in
1489 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1491 esac ;;
1492 esac
1493 ac_abs_top_builddir=$ac_pwd
1494 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1495 # for backward compatibility:
1496 ac_top_builddir=$ac_top_build_prefix
1497
1498 case $srcdir in
1499 .) # We are building in place.
1500 ac_srcdir=.
1501 ac_top_srcdir=$ac_top_builddir_sub
1502 ac_abs_top_srcdir=$ac_pwd ;;
1503 [\\/]* | ?:[\\/]* ) # Absolute name.
1504 ac_srcdir=$srcdir$ac_dir_suffix;
1505 ac_top_srcdir=$srcdir
1506 ac_abs_top_srcdir=$srcdir ;;
1507 *) # Relative name.
1508 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1509 ac_top_srcdir=$ac_top_build_prefix$srcdir
1510 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1511 esac
1512 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1513
1514 cd "$ac_dir" || { ac_status=$?; continue; }
1515 # Check for configure.gnu first; this name is used for a wrapper for
1516 # Metaconfig's "Configure" on case-insensitive file systems.
1517 if test -f "$ac_srcdir/configure.gnu"; then
1518 echo &&
1519 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1520 elif test -f "$ac_srcdir/configure"; then
1521 echo &&
1522 $SHELL "$ac_srcdir/configure" --help=recursive
1523 else
1524 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1525 fi || ac_status=$?
1526 cd "$ac_pwd" || { ac_status=$?; break; }
1527 done
1528 fi
1529
1530 test -n "$ac_init_help" && exit $ac_status
1531 if $ac_init_version; then
1532 cat <<\_ACEOF
1533 mozo configure 1.28.0
1534 generated by GNU Autoconf 2.71
1535
1536 Copyright (C) 2021 Free Software Foundation, Inc.
1537 This configure script is free software; the Free Software Foundation
1538 gives unlimited permission to copy, distribute and modify it.
1539 _ACEOF
1540 exit
1541 fi
1542
1543 ## ------------------------ ##
1544 ## Autoconf initialization. ##
1545 ## ------------------------ ##
1546
1547 # ac_fn_c_try_compile LINENO
1548 # --------------------------
1549 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1550 ac_fn_c_try_compile ()
1551 {
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 rm -f conftest.$ac_objext conftest.beam
1554 if { { ac_try="$ac_compile"
1555 case "(($ac_try" in
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1558 esac
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 printf "%s\n" "$ac_try_echo"; } >&5
1561 (eval "$ac_compile") 2>conftest.err
1562 ac_status=$?
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1567 fi
1568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } && {
1570 test -z "$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1572 } && test -s conftest.$ac_objext
1573 then :
1574 ac_retval=0
1575 else $as_nop
1576 printf "%s\n" "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1578
1579 ac_retval=1
1580 fi
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582 as_fn_set_status $ac_retval
1583
1584 } # ac_fn_c_try_compile
1585
1586 # ac_fn_c_try_cpp LINENO
1587 # ----------------------
1588 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1589 ac_fn_c_try_cpp ()
1590 {
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 if { { ac_try="$ac_cpp conftest.$ac_ext"
1593 case "(($ac_try" in
1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1596 esac
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 printf "%s\n" "$ac_try_echo"; } >&5
1599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1600 ac_status=$?
1601 if test -s conftest.err; then
1602 grep -v '^ *+' conftest.err >conftest.er1
1603 cat conftest.er1 >&5
1604 mv -f conftest.er1 conftest.err
1605 fi
1606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; } > conftest.i && {
1608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1609 test ! -s conftest.err
1610 }
1611 then :
1612 ac_retval=0
1613 else $as_nop
1614 printf "%s\n" "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.$ac_ext >&5
1616
1617 ac_retval=1
1618 fi
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 as_fn_set_status $ac_retval
1621
1622 } # ac_fn_c_try_cpp
1623
1624 # ac_fn_c_try_link LINENO
1625 # -----------------------
1626 # Try to link conftest.$ac_ext, and return whether this succeeded.
1627 ac_fn_c_try_link ()
1628 {
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1631 if { { ac_try="$ac_link"
1632 case "(($ac_try" in
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1635 esac
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 printf "%s\n" "$ac_try_echo"; } >&5
1638 (eval "$ac_link") 2>conftest.err
1639 ac_status=$?
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1644 fi
1645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } && {
1647 test -z "$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1649 } && test -s conftest$ac_exeext && {
1650 test "$cross_compiling" = yes ||
1651 test -x conftest$ac_exeext
1652 }
1653 then :
1654 ac_retval=0
1655 else $as_nop
1656 printf "%s\n" "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1658
1659 ac_retval=1
1660 fi
1661 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1662 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1663 # interfere with the next link command; also delete a directory that is
1664 # left behind by Apple's compiler. We do this before executing the actions.
1665 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1668
1669 } # ac_fn_c_try_link
1670
1671 # ac_fn_c_try_run LINENO
1672 # ----------------------
1673 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1674 # executables *can* be run.
1675 ac_fn_c_try_run ()
1676 {
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 if { { ac_try="$ac_link"
1679 case "(($ac_try" in
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1682 esac
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 printf "%s\n" "$ac_try_echo"; } >&5
1685 (eval "$ac_link") 2>&5
1686 ac_status=$?
1687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1689 { { case "(($ac_try" in
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1692 esac
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 printf "%s\n" "$ac_try_echo"; } >&5
1695 (eval "$ac_try") 2>&5
1696 ac_status=$?
1697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; }; }
1699 then :
1700 ac_retval=0
1701 else $as_nop
1702 printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1703 printf "%s\n" "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1705
1706 ac_retval=$ac_status
1707 fi
1708 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status $ac_retval
1711
1712 } # ac_fn_c_try_run
1713 ac_configure_args_raw=
1714 for ac_arg
1715 do
1716 case $ac_arg in
1717 *\'*)
1718 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1719 esac
1720 as_fn_append ac_configure_args_raw " '$ac_arg'"
1721 done
1722
1723 case $ac_configure_args_raw in
1724 *$as_nl*)
1725 ac_safe_unquote= ;;
1726 *)
1727 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1728 ac_unsafe_a="$ac_unsafe_z#~"
1729 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1730 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1731 esac
1732
1733 cat >config.log <<_ACEOF
1734 This file contains any messages produced by compilers while
1735 running configure, to aid debugging if configure makes a mistake.
1736
1737 It was created by mozo $as_me 1.28.0, which was
1738 generated by GNU Autoconf 2.71. Invocation command line was
1739
1740 $ $0$ac_configure_args_raw
1741
1742 _ACEOF
1743 exec 5>>config.log
1744 {
1745 cat <<_ASUNAME
1746 ## --------- ##
1747 ## Platform. ##
1748 ## --------- ##
1749
1750 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1751 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1752 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1753 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1754 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1755
1756 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1757 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1758
1759 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1760 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1761 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1762 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1763 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1764 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1765 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1766
1767 _ASUNAME
1768
1769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770 for as_dir in $PATH
1771 do
1772 IFS=$as_save_IFS
1773 case $as_dir in #(((
1774 '') as_dir=./ ;;
1775 */) ;;
1776 *) as_dir=$as_dir/ ;;
1777 esac
1778 printf "%s\n" "PATH: $as_dir"
1779 done
1780 IFS=$as_save_IFS
1781
1782 } >&5
1783
1784 cat >&5 <<_ACEOF
1785
1786
1787 ## ----------- ##
1788 ## Core tests. ##
1789 ## ----------- ##
1790
1791 _ACEOF
1792
1793
1794 # Keep a trace of the command line.
1795 # Strip out --no-create and --no-recursion so they do not pile up.
1796 # Strip out --silent because we don't want to record it for future runs.
1797 # Also quote any args containing shell meta-characters.
1798 # Make two passes to allow for proper duplicate-argument suppression.
1799 ac_configure_args=
1800 ac_configure_args0=
1801 ac_configure_args1=
1802 ac_must_keep_next=false
1803 for ac_pass in 1 2
1804 do
1805 for ac_arg
1806 do
1807 case $ac_arg in
1808 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1809 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1810 | -silent | --silent | --silen | --sile | --sil)
1811 continue ;;
1812 *\'*)
1813 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1814 esac
1815 case $ac_pass in
1816 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1817 2)
1818 as_fn_append ac_configure_args1 " '$ac_arg'"
1819 if test $ac_must_keep_next = true; then
1820 ac_must_keep_next=false # Got value, back to normal.
1821 else
1822 case $ac_arg in
1823 *=* | --config-cache | -C | -disable-* | --disable-* \
1824 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1825 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1826 | -with-* | --with-* | -without-* | --without-* | --x)
1827 case "$ac_configure_args0 " in
1828 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1829 esac
1830 ;;
1831 -* ) ac_must_keep_next=true ;;
1832 esac
1833 fi
1834 as_fn_append ac_configure_args " '$ac_arg'"
1835 ;;
1836 esac
1837 done
1838 done
1839 { ac_configure_args0=; unset ac_configure_args0;}
1840 { ac_configure_args1=; unset ac_configure_args1;}
1841
1842 # When interrupted or exit'd, cleanup temporary files, and complete
1843 # config.log. We remove comments because anyway the quotes in there
1844 # would cause problems or look ugly.
1845 # WARNING: Use '\'' to represent an apostrophe within the trap.
1846 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1847 trap 'exit_status=$?
1848 # Sanitize IFS.
1849 IFS=" "" $as_nl"
1850 # Save into config.log some information that might help in debugging.
1851 {
1852 echo
1853
1854 printf "%s\n" "## ---------------- ##
1855 ## Cache variables. ##
1856 ## ---------------- ##"
1857 echo
1858 # The following way of writing the cache mishandles newlines in values,
1859 (
1860 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1861 eval ac_val=\$$ac_var
1862 case $ac_val in #(
1863 *${as_nl}*)
1864 case $ac_var in #(
1865 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1866 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1867 esac
1868 case $ac_var in #(
1869 _ | IFS | as_nl) ;; #(
1870 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1871 *) { eval $ac_var=; unset $ac_var;} ;;
1872 esac ;;
1873 esac
1874 done
1875 (set) 2>&1 |
1876 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1877 *${as_nl}ac_space=\ *)
1878 sed -n \
1879 "s/'\''/'\''\\\\'\'''\''/g;
1880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1881 ;; #(
1882 *)
1883 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1884 ;;
1885 esac |
1886 sort
1887 )
1888 echo
1889
1890 printf "%s\n" "## ----------------- ##
1891 ## Output variables. ##
1892 ## ----------------- ##"
1893 echo
1894 for ac_var in $ac_subst_vars
1895 do
1896 eval ac_val=\$$ac_var
1897 case $ac_val in
1898 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899 esac
1900 printf "%s\n" "$ac_var='\''$ac_val'\''"
1901 done | sort
1902 echo
1903
1904 if test -n "$ac_subst_files"; then
1905 printf "%s\n" "## ------------------- ##
1906 ## File substitutions. ##
1907 ## ------------------- ##"
1908 echo
1909 for ac_var in $ac_subst_files
1910 do
1911 eval ac_val=\$$ac_var
1912 case $ac_val in
1913 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914 esac
1915 printf "%s\n" "$ac_var='\''$ac_val'\''"
1916 done | sort
1917 echo
1918 fi
1919
1920 if test -s confdefs.h; then
1921 printf "%s\n" "## ----------- ##
1922 ## confdefs.h. ##
1923 ## ----------- ##"
1924 echo
1925 cat confdefs.h
1926 echo
1927 fi
1928 test "$ac_signal" != 0 &&
1929 printf "%s\n" "$as_me: caught signal $ac_signal"
1930 printf "%s\n" "$as_me: exit $exit_status"
1931 } >&5
1932 rm -f core *.core core.conftest.* &&
1933 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1934 exit $exit_status
1935 ' 0
1936 for ac_signal in 1 2 13 15; do
1937 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1938 done
1939 ac_signal=0
1940
1941 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1942 rm -f -r conftest* confdefs.h
1943
1944 printf "%s\n" "/* confdefs.h */" > confdefs.h
1945
1946 # Predefined preprocessor variables.
1947
1948 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1949
1950 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1951
1952 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1953
1954 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1955
1956 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1957
1958 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1959
1960
1961 # Let the site file select an alternate cache file if it wants to.
1962 # Prefer an explicitly selected file to automatically selected ones.
1963 if test -n "$CONFIG_SITE"; then
1964 ac_site_files="$CONFIG_SITE"
1965 elif test "x$prefix" != xNONE; then
1966 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1967 else
1968 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1969 fi
1970
1971 for ac_site_file in $ac_site_files
1972 do
1973 case $ac_site_file in #(
1974 */*) :
1975 ;; #(
1976 *) :
1977 ac_site_file=./$ac_site_file ;;
1978 esac
1979 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1981 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1982 sed 's/^/| /' "$ac_site_file" >&5
1983 . "$ac_site_file" \
1984 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1985 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1986 as_fn_error $? "failed to load site script $ac_site_file
1987 See \`config.log' for more details" "$LINENO" 5; }
1988 fi
1989 done
1990
1991 if test -r "$cache_file"; then
1992 # Some versions of bash will fail to source /dev/null (special files
1993 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1994 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1996 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1997 case $cache_file in
1998 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1999 *) . "./$cache_file";;
2000 esac
2001 fi
2002 else
2003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2004 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2005 >$cache_file
2006 fi
2007
2008 gt_needs="$gt_needs "
2009 # Test code for whether the C compiler supports C89 (global declarations)
2010 ac_c_conftest_c89_globals='
2011 /* Does the compiler advertise C89 conformance?
2012 Do not test the value of __STDC__, because some compilers set it to 0
2013 while being otherwise adequately conformant. */
2014 #if !defined __STDC__
2015 # error "Compiler does not advertise C89 conformance"
2016 #endif
2017
2018 #include <stddef.h>
2019 #include <stdarg.h>
2020 struct stat;
2021 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2022 struct buf { int x; };
2023 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2024 static char *e (p, i)
2025 char **p;
2026 int i;
2027 {
2028 return p[i];
2029 }
2030 static char *f (char * (*g) (char **, int), char **p, ...)
2031 {
2032 char *s;
2033 va_list v;
2034 va_start (v,p);
2035 s = g (p, va_arg (v,int));
2036 va_end (v);
2037 return s;
2038 }
2039
2040 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2041 function prototypes and stuff, but not \xHH hex character constants.
2042 These do not provoke an error unfortunately, instead are silently treated
2043 as an "x". The following induces an error, until -std is added to get
2044 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2045 array size at least. It is necessary to write \x00 == 0 to get something
2046 that is true only with -std. */
2047 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2048
2049 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2050 inside strings and character constants. */
2051 #define FOO(x) '\''x'\''
2052 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2053
2054 int test (int i, double x);
2055 struct s1 {int (*f) (int a);};
2056 struct s2 {int (*f) (double a);};
2057 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2058 int, int);'
2059
2060 # Test code for whether the C compiler supports C89 (body of main).
2061 ac_c_conftest_c89_main='
2062 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2063 '
2064
2065 # Test code for whether the C compiler supports C99 (global declarations)
2066 ac_c_conftest_c99_globals='
2067 // Does the compiler advertise C99 conformance?
2068 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2069 # error "Compiler does not advertise C99 conformance"
2070 #endif
2071
2072 #include <stdbool.h>
2073 extern int puts (const char *);
2074 extern int printf (const char *, ...);
2075 extern int dprintf (int, const char *, ...);
2076 extern void *malloc (size_t);
2077
2078 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2079 // dprintf is used instead of fprintf to avoid needing to declare
2080 // FILE and stderr.
2081 #define debug(...) dprintf (2, __VA_ARGS__)
2082 #define showlist(...) puts (#__VA_ARGS__)
2083 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2084 static void
2085 test_varargs_macros (void)
2086 {
2087 int x = 1234;
2088 int y = 5678;
2089 debug ("Flag");
2090 debug ("X = %d\n", x);
2091 showlist (The first, second, and third items.);
2092 report (x>y, "x is %d but y is %d", x, y);
2093 }
2094
2095 // Check long long types.
2096 #define BIG64 18446744073709551615ull
2097 #define BIG32 4294967295ul
2098 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2099 #if !BIG_OK
2100 #error "your preprocessor is broken"
2101 #endif
2102 #if BIG_OK
2103 #else
2104 #error "your preprocessor is broken"
2105 #endif
2106 static long long int bignum = -9223372036854775807LL;
2107 static unsigned long long int ubignum = BIG64;
2108
2109 struct incomplete_array
2110 {
2111 int datasize;
2112 double data[];
2113 };
2114
2115 struct named_init {
2116 int number;
2117 const wchar_t *name;
2118 double average;
2119 };
2120
2121 typedef const char *ccp;
2122
2123 static inline int
2124 test_restrict (ccp restrict text)
2125 {
2126 // See if C++-style comments work.
2127 // Iterate through items via the restricted pointer.
2128 // Also check for declarations in for loops.
2129 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2130 continue;
2131 return 0;
2132 }
2133
2134 // Check varargs and va_copy.
2135 static bool
2136 test_varargs (const char *format, ...)
2137 {
2138 va_list args;
2139 va_start (args, format);
2140 va_list args_copy;
2141 va_copy (args_copy, args);
2142
2143 const char *str = "";
2144 int number = 0;
2145 float fnumber = 0;
2146
2147 while (*format)
2148 {
2149 switch (*format++)
2150 {
2151 case '\''s'\'': // string
2152 str = va_arg (args_copy, const char *);
2153 break;
2154 case '\''d'\'': // int
2155 number = va_arg (args_copy, int);
2156 break;
2157 case '\''f'\'': // float
2158 fnumber = va_arg (args_copy, double);
2159 break;
2160 default:
2161 break;
2162 }
2163 }
2164 va_end (args_copy);
2165 va_end (args);
2166
2167 return *str && number && fnumber;
2168 }
2169 '
2170
2171 # Test code for whether the C compiler supports C99 (body of main).
2172 ac_c_conftest_c99_main='
2173 // Check bool.
2174 _Bool success = false;
2175 success |= (argc != 0);
2176
2177 // Check restrict.
2178 if (test_restrict ("String literal") == 0)
2179 success = true;
2180 char *restrict newvar = "Another string";
2181
2182 // Check varargs.
2183 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2184 test_varargs_macros ();
2185
2186 // Check flexible array members.
2187 struct incomplete_array *ia =
2188 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2189 ia->datasize = 10;
2190 for (int i = 0; i < ia->datasize; ++i)
2191 ia->data[i] = i * 1.234;
2192
2193 // Check named initializers.
2194 struct named_init ni = {
2195 .number = 34,
2196 .name = L"Test wide string",
2197 .average = 543.34343,
2198 };
2199
2200 ni.number = 58;
2201
2202 int dynamic_array[ni.number];
2203 dynamic_array[0] = argv[0][0];
2204 dynamic_array[ni.number - 1] = 543;
2205
2206 // work around unused variable warnings
2207 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2208 || dynamic_array[ni.number - 1] != 543);
2209 '
2210
2211 # Test code for whether the C compiler supports C11 (global declarations)
2212 ac_c_conftest_c11_globals='
2213 // Does the compiler advertise C11 conformance?
2214 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2215 # error "Compiler does not advertise C11 conformance"
2216 #endif
2217
2218 // Check _Alignas.
2219 char _Alignas (double) aligned_as_double;
2220 char _Alignas (0) no_special_alignment;
2221 extern char aligned_as_int;
2222 char _Alignas (0) _Alignas (int) aligned_as_int;
2223
2224 // Check _Alignof.
2225 enum
2226 {
2227 int_alignment = _Alignof (int),
2228 int_array_alignment = _Alignof (int[100]),
2229 char_alignment = _Alignof (char)
2230 };
2231 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2232
2233 // Check _Noreturn.
2234 int _Noreturn does_not_return (void) { for (;;) continue; }
2235
2236 // Check _Static_assert.
2237 struct test_static_assert
2238 {
2239 int x;
2240 _Static_assert (sizeof (int) <= sizeof (long int),
2241 "_Static_assert does not work in struct");
2242 long int y;
2243 };
2244
2245 // Check UTF-8 literals.
2246 #define u8 syntax error!
2247 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2248
2249 // Check duplicate typedefs.
2250 typedef long *long_ptr;
2251 typedef long int *long_ptr;
2252 typedef long_ptr long_ptr;
2253
2254 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2255 struct anonymous
2256 {
2257 union {
2258 struct { int i; int j; };
2259 struct { int k; long int l; } w;
2260 };
2261 int m;
2262 } v1;
2263 '
2264
2265 # Test code for whether the C compiler supports C11 (body of main).
2266 ac_c_conftest_c11_main='
2267 _Static_assert ((offsetof (struct anonymous, i)
2268 == offsetof (struct anonymous, w.k)),
2269 "Anonymous union alignment botch");
2270 v1.i = 2;
2271 v1.w.k = 5;
2272 ok |= v1.i != 5;
2273 '
2274
2275 # Test code for whether the C compiler supports C11 (complete).
2276 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2277 ${ac_c_conftest_c99_globals}
2278 ${ac_c_conftest_c11_globals}
2279
2280 int
2281 main (int argc, char **argv)
2282 {
2283 int ok = 0;
2284 ${ac_c_conftest_c89_main}
2285 ${ac_c_conftest_c99_main}
2286 ${ac_c_conftest_c11_main}
2287 return ok;
2288 }
2289 "
2290
2291 # Test code for whether the C compiler supports C99 (complete).
2292 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2293 ${ac_c_conftest_c99_globals}
2294
2295 int
2296 main (int argc, char **argv)
2297 {
2298 int ok = 0;
2299 ${ac_c_conftest_c89_main}
2300 ${ac_c_conftest_c99_main}
2301 return ok;
2302 }
2303 "
2304
2305 # Test code for whether the C compiler supports C89 (complete).
2306 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2307
2308 int
2309 main (int argc, char **argv)
2310 {
2311 int ok = 0;
2312 ${ac_c_conftest_c89_main}
2313 return ok;
2314 }
2315 "
2316
2317
2318 # Auxiliary files required by this configure script.
2319 ac_aux_files="config.guess config.sub compile config.rpath missing install-sh"
2320
2321 # Locations in which to look for auxiliary files.
2322 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2323
2324 # Search for a directory containing all of the required auxiliary files,
2325 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2326 # If we don't find one directory that contains all the files we need,
2327 # we report the set of missing files from the *first* directory in
2328 # $ac_aux_dir_candidates and give up.
2329 ac_missing_aux_files=""
2330 ac_first_candidate=:
2331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 as_found=false
2334 for as_dir in $ac_aux_dir_candidates
2335 do
2336 IFS=$as_save_IFS
2337 case $as_dir in #(((
2338 '') as_dir=./ ;;
2339 */) ;;
2340 *) as_dir=$as_dir/ ;;
2341 esac
2342 as_found=:
2343
2344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2345 ac_aux_dir_found=yes
2346 ac_install_sh=
2347 for ac_aux in $ac_aux_files
2348 do
2349 # As a special case, if "install-sh" is required, that requirement
2350 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2351 # and $ac_install_sh is set appropriately for whichever one is found.
2352 if test x"$ac_aux" = x"install-sh"
2353 then
2354 if test -f "${as_dir}install-sh"; then
2355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2356 ac_install_sh="${as_dir}install-sh -c"
2357 elif test -f "${as_dir}install.sh"; then
2358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2359 ac_install_sh="${as_dir}install.sh -c"
2360 elif test -f "${as_dir}shtool"; then
2361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2362 ac_install_sh="${as_dir}shtool install -c"
2363 else
2364 ac_aux_dir_found=no
2365 if $ac_first_candidate; then
2366 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2367 else
2368 break
2369 fi
2370 fi
2371 else
2372 if test -f "${as_dir}${ac_aux}"; then
2373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2374 else
2375 ac_aux_dir_found=no
2376 if $ac_first_candidate; then
2377 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2378 else
2379 break
2380 fi
2381 fi
2382 fi
2383 done
2384 if test "$ac_aux_dir_found" = yes; then
2385 ac_aux_dir="$as_dir"
2386 break
2387 fi
2388 ac_first_candidate=false
2389
2390 as_found=false
2391 done
2392 IFS=$as_save_IFS
2393 if $as_found
2394 then :
2395
2396 else $as_nop
2397 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2398 fi
2399
2400
2401 # These three variables are undocumented and unsupported,
2402 # and are intended to be withdrawn in a future Autoconf release.
2403 # They can cause serious problems if a builder's source tree is in a directory
2404 # whose full name contains unusual characters.
2405 if test -f "${ac_aux_dir}config.guess"; then
2406 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2407 fi
2408 if test -f "${ac_aux_dir}config.sub"; then
2409 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2410 fi
2411 if test -f "$ac_aux_dir/configure"; then
2412 ac_configure="$SHELL ${ac_aux_dir}configure"
2413 fi
2414
2415 # Check that the precious variables saved in the cache have kept the same
2416 # value.
2417 ac_cache_corrupted=false
2418 for ac_var in $ac_precious_vars; do
2419 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2420 eval ac_new_set=\$ac_env_${ac_var}_set
2421 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2422 eval ac_new_val=\$ac_env_${ac_var}_value
2423 case $ac_old_set,$ac_new_set in
2424 set,)
2425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2426 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2427 ac_cache_corrupted=: ;;
2428 ,set)
2429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2430 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2432 ,);;
2433 *)
2434 if test "x$ac_old_val" != "x$ac_new_val"; then
2435 # differences in whitespace do not lead to failure.
2436 ac_old_val_w=`echo x $ac_old_val`
2437 ac_new_val_w=`echo x $ac_new_val`
2438 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2440 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2441 ac_cache_corrupted=:
2442 else
2443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2444 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2445 eval $ac_var=\$ac_old_val
2446 fi
2447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2448 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2450 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2451 fi;;
2452 esac
2453 # Pass precious variables to config.status.
2454 if test "$ac_new_set" = set; then
2455 case $ac_new_val in
2456 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2457 *) ac_arg=$ac_var=$ac_new_val ;;
2458 esac
2459 case " $ac_configure_args " in
2460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2461 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2462 esac
2463 fi
2464 done
2465 if $ac_cache_corrupted; then
2466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2467 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2469 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2470 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2471 and start over" "$LINENO" 5
2472 fi
2473 ## -------------------- ##
2474 ## Main body of script. ##
2475 ## -------------------- ##
2476
2477 ac_ext=c
2478 ac_cpp='$CPP $CPPFLAGS'
2479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2482
2483
2484 # Check whether --enable-silent-rules was given.
2485 if test ${enable_silent_rules+y}
2486 then :
2487 enableval=$enable_silent_rules;
2488 fi
2489
2490 case $enable_silent_rules in # (((
2491 yes) AM_DEFAULT_VERBOSITY=0;;
2492 no) AM_DEFAULT_VERBOSITY=1;;
2493 *) AM_DEFAULT_VERBOSITY=0;;
2494 esac
2495 am_make=${MAKE-make}
2496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2497 printf %s "checking whether $am_make supports nested variables... " >&6; }
2498 if test ${am_cv_make_support_nested_variables+y}
2499 then :
2500 printf %s "(cached) " >&6
2501 else $as_nop
2502 if printf "%s\n" 'TRUE=$(BAR$(V))
2503 BAR0=false
2504 BAR1=true
2505 V=1
2506 am__doit:
2507 @$(TRUE)
2508 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2509 am_cv_make_support_nested_variables=yes
2510 else
2511 am_cv_make_support_nested_variables=no
2512 fi
2513 fi
2514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2515 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2516 if test $am_cv_make_support_nested_variables = yes; then
2517 AM_V='$(V)'
2518 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2519 else
2520 AM_V=$AM_DEFAULT_VERBOSITY
2521 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2522 fi
2523 AM_BACKSLASH='\'
2524
2525
2526 ac_config_headers="$ac_config_headers config.h"
2527
2528 am__api_version='1.16'
2529
2530
2531
2532 # Find a good install program. We prefer a C program (faster),
2533 # so one script is as good as another. But avoid the broken or
2534 # incompatible versions:
2535 # SysV /etc/install, /usr/sbin/install
2536 # SunOS /usr/etc/install
2537 # IRIX /sbin/install
2538 # AIX /bin/install
2539 # AmigaOS /C/install, which installs bootblocks on floppy discs
2540 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2541 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2542 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2543 # OS/2's system install, which has a completely different semantic
2544 # ./install, which can be erroneously created by make from ./install.sh.
2545 # Reject install programs that cannot install multiple files.
2546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2547 printf %s "checking for a BSD-compatible install... " >&6; }
2548 if test -z "$INSTALL"; then
2549 if test ${ac_cv_path_install+y}
2550 then :
2551 printf %s "(cached) " >&6
2552 else $as_nop
2553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 for as_dir in $PATH
2555 do
2556 IFS=$as_save_IFS
2557 case $as_dir in #(((
2558 '') as_dir=./ ;;
2559 */) ;;
2560 *) as_dir=$as_dir/ ;;
2561 esac
2562 # Account for fact that we put trailing slashes in our PATH walk.
2563 case $as_dir in #((
2564 ./ | /[cC]/* | \
2565 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2566 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2567 /usr/ucb/* ) ;;
2568 *)
2569 # OSF1 and SCO ODT 3.0 have their own names for install.
2570 # Don't use installbsd from OSF since it installs stuff as root
2571 # by default.
2572 for ac_prog in ginstall scoinst install; do
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2575 if test $ac_prog = install &&
2576 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2577 # AIX install. It has an incompatible calling convention.
2578 :
2579 elif test $ac_prog = install &&
2580 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2581 # program-specific install script used by HP pwplus--don't use.
2582 :
2583 else
2584 rm -rf conftest.one conftest.two conftest.dir
2585 echo one > conftest.one
2586 echo two > conftest.two
2587 mkdir conftest.dir
2588 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2589 test -s conftest.one && test -s conftest.two &&
2590 test -s conftest.dir/conftest.one &&
2591 test -s conftest.dir/conftest.two
2592 then
2593 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2594 break 3
2595 fi
2596 fi
2597 fi
2598 done
2599 done
2600 ;;
2601 esac
2602
2603 done
2604 IFS=$as_save_IFS
2605
2606 rm -rf conftest.one conftest.two conftest.dir
2607
2608 fi
2609 if test ${ac_cv_path_install+y}; then
2610 INSTALL=$ac_cv_path_install
2611 else
2612 # As a last resort, use the slow shell script. Don't cache a
2613 # value for INSTALL within a source directory, because that will
2614 # break other packages using the cache if that directory is
2615 # removed, or if the value is a relative name.
2616 INSTALL=$ac_install_sh
2617 fi
2618 fi
2619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2620 printf "%s\n" "$INSTALL" >&6; }
2621
2622 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2623 # It thinks the first close brace ends the variable substitution.
2624 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2625
2626 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2627
2628 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2629
2630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2631 printf %s "checking whether build environment is sane... " >&6; }
2632 # Reject unsafe characters in $srcdir or the absolute working directory
2633 # name. Accept space and tab only in the latter.
2634 am_lf='
2635 '
2636 case `pwd` in
2637 *[\\\"\#\$\&\'\`$am_lf]*)
2638 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2639 esac
2640 case $srcdir in
2641 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2642 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2643 esac
2644
2645 # Do 'set' in a subshell so we don't clobber the current shell's
2646 # arguments. Must try -L first in case configure is actually a
2647 # symlink; some systems play weird games with the mod time of symlinks
2648 # (eg FreeBSD returns the mod time of the symlink's containing
2649 # directory).
2650 if (
2651 am_has_slept=no
2652 for am_try in 1 2; do
2653 echo "timestamp, slept: $am_has_slept" > conftest.file
2654 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2655 if test "$*" = "X"; then
2656 # -L didn't work.
2657 set X `ls -t "$srcdir/configure" conftest.file`
2658 fi
2659 if test "$*" != "X $srcdir/configure conftest.file" \
2660 && test "$*" != "X conftest.file $srcdir/configure"; then
2661
2662 # If neither matched, then we have a broken ls. This can happen
2663 # if, for instance, CONFIG_SHELL is bash and it inherits a
2664 # broken ls alias from the environment. This has actually
2665 # happened. Such a system could not be considered "sane".
2666 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2667 alias in your environment" "$LINENO" 5
2668 fi
2669 if test "$2" = conftest.file || test $am_try -eq 2; then
2670 break
2671 fi
2672 # Just in case.
2673 sleep 1
2674 am_has_slept=yes
2675 done
2676 test "$2" = conftest.file
2677 )
2678 then
2679 # Ok.
2680 :
2681 else
2682 as_fn_error $? "newly created file is older than distributed files!
2683 Check your system clock" "$LINENO" 5
2684 fi
2685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2686 printf "%s\n" "yes" >&6; }
2687 # If we didn't sleep, we still need to ensure time stamps of config.status and
2688 # generated files are strictly newer.
2689 am_sleep_pid=
2690 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2691 ( sleep 1 ) &
2692 am_sleep_pid=$!
2693 fi
2694
2695 rm -f conftest.file
2696
2697 test "$program_prefix" != NONE &&
2698 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2699 # Use a double $ so make ignores it.
2700 test "$program_suffix" != NONE &&
2701 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2702 # Double any \ or $.
2703 # By default was `s,x,x', remove it if useless.
2704 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2705 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2706
2707
2708 # Expand $ac_aux_dir to an absolute path.
2709 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2710
2711
2712 if test x"${MISSING+set}" != xset; then
2713 MISSING="\${SHELL} '$am_aux_dir/missing'"
2714 fi
2715 # Use eval to expand $SHELL
2716 if eval "$MISSING --is-lightweight"; then
2717 am_missing_run="$MISSING "
2718 else
2719 am_missing_run=
2720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2721 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2722 fi
2723
2724 if test x"${install_sh+set}" != xset; then
2725 case $am_aux_dir in
2726 *\ * | *\ *)
2727 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2728 *)
2729 install_sh="\${SHELL} $am_aux_dir/install-sh"
2730 esac
2731 fi
2732
2733 # Installed binaries are usually stripped using 'strip' when the user
2734 # run "make install-strip". However 'strip' might not be the right
2735 # tool to use in cross-compilation environments, therefore Automake
2736 # will honor the 'STRIP' environment variable to overrule this program.
2737 if test "$cross_compiling" != no; then
2738 if test -n "$ac_tool_prefix"; then
2739 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2740 set dummy ${ac_tool_prefix}strip; ac_word=$2
2741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 printf %s "checking for $ac_word... " >&6; }
2743 if test ${ac_cv_prog_STRIP+y}
2744 then :
2745 printf %s "(cached) " >&6
2746 else $as_nop
2747 if test -n "$STRIP"; then
2748 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2749 else
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 for as_dir in $PATH
2752 do
2753 IFS=$as_save_IFS
2754 case $as_dir in #(((
2755 '') as_dir=./ ;;
2756 */) ;;
2757 *) as_dir=$as_dir/ ;;
2758 esac
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2761 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2763 break 2
2764 fi
2765 done
2766 done
2767 IFS=$as_save_IFS
2768
2769 fi
2770 fi
2771 STRIP=$ac_cv_prog_STRIP
2772 if test -n "$STRIP"; then
2773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2774 printf "%s\n" "$STRIP" >&6; }
2775 else
2776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 printf "%s\n" "no" >&6; }
2778 fi
2779
2780
2781 fi
2782 if test -z "$ac_cv_prog_STRIP"; then
2783 ac_ct_STRIP=$STRIP
2784 # Extract the first word of "strip", so it can be a program name with args.
2785 set dummy strip; ac_word=$2
2786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 printf %s "checking for $ac_word... " >&6; }
2788 if test ${ac_cv_prog_ac_ct_STRIP+y}
2789 then :
2790 printf %s "(cached) " >&6
2791 else $as_nop
2792 if test -n "$ac_ct_STRIP"; then
2793 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2794 else
2795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 for as_dir in $PATH
2797 do
2798 IFS=$as_save_IFS
2799 case $as_dir in #(((
2800 '') as_dir=./ ;;
2801 */) ;;
2802 *) as_dir=$as_dir/ ;;
2803 esac
2804 for ac_exec_ext in '' $ac_executable_extensions; do
2805 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2806 ac_cv_prog_ac_ct_STRIP="strip"
2807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2808 break 2
2809 fi
2810 done
2811 done
2812 IFS=$as_save_IFS
2813
2814 fi
2815 fi
2816 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2817 if test -n "$ac_ct_STRIP"; then
2818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2819 printf "%s\n" "$ac_ct_STRIP" >&6; }
2820 else
2821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 printf "%s\n" "no" >&6; }
2823 fi
2824
2825 if test "x$ac_ct_STRIP" = x; then
2826 STRIP=":"
2827 else
2828 case $cross_compiling:$ac_tool_warned in
2829 yes:)
2830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2831 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2832 ac_tool_warned=yes ;;
2833 esac
2834 STRIP=$ac_ct_STRIP
2835 fi
2836 else
2837 STRIP="$ac_cv_prog_STRIP"
2838 fi
2839
2840 fi
2841 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2842
2843
2844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2845 printf %s "checking for a race-free mkdir -p... " >&6; }
2846 if test -z "$MKDIR_P"; then
2847 if test ${ac_cv_path_mkdir+y}
2848 then :
2849 printf %s "(cached) " >&6
2850 else $as_nop
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2853 do
2854 IFS=$as_save_IFS
2855 case $as_dir in #(((
2856 '') as_dir=./ ;;
2857 */) ;;
2858 *) as_dir=$as_dir/ ;;
2859 esac
2860 for ac_prog in mkdir gmkdir; do
2861 for ac_exec_ext in '' $ac_executable_extensions; do
2862 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2863 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2864 'mkdir ('*'coreutils) '* | \
2865 'BusyBox '* | \
2866 'mkdir (fileutils) '4.1*)
2867 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2868 break 3;;
2869 esac
2870 done
2871 done
2872 done
2873 IFS=$as_save_IFS
2874
2875 fi
2876
2877 test -d ./--version && rmdir ./--version
2878 if test ${ac_cv_path_mkdir+y}; then
2879 MKDIR_P="$ac_cv_path_mkdir -p"
2880 else
2881 # As a last resort, use the slow shell script. Don't cache a
2882 # value for MKDIR_P within a source directory, because that will
2883 # break other packages using the cache if that directory is
2884 # removed, or if the value is a relative name.
2885 MKDIR_P="$ac_install_sh -d"
2886 fi
2887 fi
2888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2889 printf "%s\n" "$MKDIR_P" >&6; }
2890
2891 for ac_prog in gawk mawk nawk awk
2892 do
2893 # Extract the first word of "$ac_prog", so it can be a program name with args.
2894 set dummy $ac_prog; ac_word=$2
2895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 printf %s "checking for $ac_word... " >&6; }
2897 if test ${ac_cv_prog_AWK+y}
2898 then :
2899 printf %s "(cached) " >&6
2900 else $as_nop
2901 if test -n "$AWK"; then
2902 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2903 else
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 for as_dir in $PATH
2906 do
2907 IFS=$as_save_IFS
2908 case $as_dir in #(((
2909 '') as_dir=./ ;;
2910 */) ;;
2911 *) as_dir=$as_dir/ ;;
2912 esac
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2915 ac_cv_prog_AWK="$ac_prog"
2916 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2917 break 2
2918 fi
2919 done
2920 done
2921 IFS=$as_save_IFS
2922
2923 fi
2924 fi
2925 AWK=$ac_cv_prog_AWK
2926 if test -n "$AWK"; then
2927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2928 printf "%s\n" "$AWK" >&6; }
2929 else
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 printf "%s\n" "no" >&6; }
2932 fi
2933
2934
2935 test -n "$AWK" && break
2936 done
2937
2938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2939 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2940 set x ${MAKE-make}
2941 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2942 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2943 then :
2944 printf %s "(cached) " >&6
2945 else $as_nop
2946 cat >conftest.make <<\_ACEOF
2947 SHELL = /bin/sh
2948 all:
2949 @echo '@@@%%%=$(MAKE)=@@@%%%'
2950 _ACEOF
2951 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2952 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2953 *@@@%%%=?*=@@@%%%*)
2954 eval ac_cv_prog_make_${ac_make}_set=yes;;
2955 *)
2956 eval ac_cv_prog_make_${ac_make}_set=no;;
2957 esac
2958 rm -f conftest.make
2959 fi
2960 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2962 printf "%s\n" "yes" >&6; }
2963 SET_MAKE=
2964 else
2965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 printf "%s\n" "no" >&6; }
2967 SET_MAKE="MAKE=${MAKE-make}"
2968 fi
2969
2970 rm -rf .tst 2>/dev/null
2971 mkdir .tst 2>/dev/null
2972 if test -d .tst; then
2973 am__leading_dot=.
2974 else
2975 am__leading_dot=_
2976 fi
2977 rmdir .tst 2>/dev/null
2978
2979 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2980 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2981 # is not polluted with repeated "-I."
2982 am__isrc=' -I$(srcdir)'
2983 # test to see if srcdir already configured
2984 if test -f $srcdir/config.status; then
2985 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2986 fi
2987 fi
2988
2989 # test whether we have cygpath
2990 if test -z "$CYGPATH_W"; then
2991 if (cygpath --version) >/dev/null 2>/dev/null; then
2992 CYGPATH_W='cygpath -w'
2993 else
2994 CYGPATH_W=echo
2995 fi
2996 fi
2997
2998
2999 # Define the identity of the package.
3000 PACKAGE='mozo'
3001 VERSION='1.28.0'
3002
3003
3004 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3005
3006
3007 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3008
3009 # Some tools Automake needs.
3010
3011 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3012
3013
3014 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3015
3016
3017 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3018
3019
3020 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3021
3022
3023 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3024
3025 # For better backward compatibility. To be removed once Automake 1.9.x
3026 # dies out for good. For more background, see:
3027 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3028 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3029 mkdir_p='$(MKDIR_P)'
3030
3031 # We need awk for the "check" target (and possibly the TAP driver). The
3032 # system "awk" is bad on some platforms.
3033 # Always define AMTAR for backward compatibility. Yes, it's still used
3034 # in the wild :-( We should find a proper way to deprecate it ...
3035 AMTAR='$${TAR-tar}'
3036
3037
3038 # We'll loop over all known methods to create a tar archive until one works.
3039 _am_tools='gnutar pax cpio none'
3040
3041 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3042
3043
3044
3045
3046
3047 # Variables for tags utilities; see am/tags.am
3048 if test -z "$CTAGS"; then
3049 CTAGS=ctags
3050 fi
3051
3052 if test -z "$ETAGS"; then
3053 ETAGS=etags
3054 fi
3055
3056 if test -z "$CSCOPE"; then
3057 CSCOPE=cscope
3058 fi
3059
3060
3061
3062 # POSIX will say in a future version that running "rm -f" with no argument
3063 # is OK; and we want to be able to make that assumption in our Makefile
3064 # recipes. So use an aggressive probe to check that the usage we want is
3065 # actually supported "in the wild" to an acceptable degree.
3066 # See automake bug#10828.
3067 # To make any issue more visible, cause the running configure to be aborted
3068 # by default if the 'rm' program in use doesn't match our expectations; the
3069 # user can still override this though.
3070 if rm -f && rm -fr && rm -rf; then : OK; else
3071 cat >&2 <<'END'
3072 Oops!
3073
3074 Your 'rm' program seems unable to run without file operands specified
3075 on the command line, even when the '-f' option is present. This is contrary
3076 to the behaviour of most rm programs out there, and not conforming with
3077 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3078
3079 Please tell [email protected] about your system, including the value
3080 of your $PATH and any error possibly output before this message. This
3081 can help us improve future automake versions.
3082
3083 END
3084 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3085 echo 'Configuration will proceed anyway, since you have set the' >&2
3086 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3087 echo >&2
3088 else
3089 cat >&2 <<'END'
3090 Aborting the configuration process, to ensure you take notice of the issue.
3091
3092 You can download and install GNU coreutils to get an 'rm' implementation
3093 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3094
3095 If you want to complete the configuration process using your problematic
3096 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3097 to "yes", and re-run configure.
3098
3099 END
3100 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3101 fi
3102 fi
3103
3104
3105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3106 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3107 # Check whether --enable-maintainer-mode was given.
3108 if test ${enable_maintainer_mode+y}
3109 then :
3110 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3111 else $as_nop
3112 USE_MAINTAINER_MODE=no
3113 fi
3114
3115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3116 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3117 if test $USE_MAINTAINER_MODE = yes; then
3118 MAINTAINER_MODE_TRUE=
3119 MAINTAINER_MODE_FALSE='#'
3120 else
3121 MAINTAINER_MODE_TRUE='#'
3122 MAINTAINER_MODE_FALSE=
3123 fi
3124
3125 MAINT=$MAINTAINER_MODE_TRUE
3126
3127
3128
3129 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
3130
3131
3132 GETTEXT_PACKAGE=mozo
3133
3134
3135 printf "%s\n" "#define GETTEXT_PACKAGE \"$GETTEXT_PACKAGE\"" >>confdefs.h
3136
3137
3138
3139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3140 printf %s "checking for a sed that does not truncate output... " >&6; }
3141 if test ${ac_cv_path_SED+y}
3142 then :
3143 printf %s "(cached) " >&6
3144 else $as_nop
3145 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3146 for ac_i in 1 2 3 4 5 6 7; do
3147 ac_script="$ac_script$as_nl$ac_script"
3148 done
3149 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3150 { ac_script=; unset ac_script;}
3151 if test -z "$SED"; then
3152 ac_path_SED_found=false
3153 # Loop through the user's path and test for each of PROGNAME-LIST
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 for as_dir in $PATH
3156 do
3157 IFS=$as_save_IFS
3158 case $as_dir in #(((
3159 '') as_dir=./ ;;
3160 */) ;;
3161 *) as_dir=$as_dir/ ;;
3162 esac
3163 for ac_prog in sed gsed
3164 do
3165 for ac_exec_ext in '' $ac_executable_extensions; do
3166 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
3167 as_fn_executable_p "$ac_path_SED" || continue
3168 # Check for GNU ac_path_SED and select it if it is found.
3169 # Check for GNU $ac_path_SED
3170 case `"$ac_path_SED" --version 2>&1` in
3171 *GNU*)
3172 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3173 *)
3174 ac_count=0
3175 printf %s 0123456789 >"conftest.in"
3176 while :
3177 do
3178 cat "conftest.in" "conftest.in" >"conftest.tmp"
3179 mv "conftest.tmp" "conftest.in"
3180 cp "conftest.in" "conftest.nl"
3181 printf "%s\n" '' >> "conftest.nl"
3182 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3184 as_fn_arith $ac_count + 1 && ac_count=$as_val
3185 if test $ac_count -gt ${ac_path_SED_max-0}; then
3186 # Best one so far, save it but keep looking for a better one
3187 ac_cv_path_SED="$ac_path_SED"
3188 ac_path_SED_max=$ac_count
3189 fi
3190 # 10*(2^10) chars as input seems more than enough
3191 test $ac_count -gt 10 && break
3192 done
3193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3194 esac
3195
3196 $ac_path_SED_found && break 3
3197 done
3198 done
3199 done
3200 IFS=$as_save_IFS
3201 if test -z "$ac_cv_path_SED"; then
3202 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3203 fi
3204 else
3205 ac_cv_path_SED=$SED
3206 fi
3207
3208 fi
3209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3210 printf "%s\n" "$ac_cv_path_SED" >&6; }
3211 SED="$ac_cv_path_SED"
3212 rm -f conftest.sed
3213
3214
3215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3216 printf %s "checking whether NLS is requested... " >&6; }
3217 # Check whether --enable-nls was given.
3218 if test ${enable_nls+y}
3219 then :
3220 enableval=$enable_nls; USE_NLS=$enableval
3221 else $as_nop
3222 USE_NLS=yes
3223 fi
3224
3225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3226 printf "%s\n" "$USE_NLS" >&6; }
3227
3228
3229
3230
3231 GETTEXT_MACRO_VERSION=0.20
3232
3233
3234
3235
3236 # Prepare PATH_SEPARATOR.
3237 # The user is always right.
3238 if test "${PATH_SEPARATOR+set}" != set; then
3239 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
3240 # contains only /bin. Note that ksh looks also at the FPATH variable,
3241 # so we have to set that as well for the test.
3242 PATH_SEPARATOR=:
3243 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3244 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3245 || PATH_SEPARATOR=';'
3246 }
3247 fi
3248
3249 # Find out how to test for executable files. Don't use a zero-byte file,
3250 # as systems may use methods other than mode bits to determine executability.
3251 cat >conf$$.file <<_ASEOF
3252 #! /bin/sh
3253 exit 0
3254 _ASEOF
3255 chmod +x conf$$.file
3256 if test -x conf$$.file >/dev/null 2>&1; then
3257 ac_executable_p="test -x"
3258 else
3259 ac_executable_p="test -f"
3260 fi
3261 rm -f conf$$.file
3262
3263 # Extract the first word of "msgfmt", so it can be a program name with args.
3264 set dummy msgfmt; ac_word=$2
3265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 printf %s "checking for $ac_word... " >&6; }
3267 if test ${ac_cv_path_MSGFMT+y}
3268 then :
3269 printf %s "(cached) " >&6
3270 else $as_nop
3271 case "$MSGFMT" in
3272 [\\/]* | ?:[\\/]*)
3273 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3274 ;;
3275 *)
3276 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3277 for ac_dir in $PATH; do
3278 IFS="$ac_save_IFS"
3279 test -z "$ac_dir" && ac_dir=.
3280 for ac_exec_ext in '' $ac_executable_extensions; do
3281 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3282 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3283 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3284 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3285 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3286 break 2
3287 fi
3288 fi
3289 done
3290 done
3291 IFS="$ac_save_IFS"
3292 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3293 ;;
3294 esac
3295 fi
3296 MSGFMT="$ac_cv_path_MSGFMT"
3297 if test "$MSGFMT" != ":"; then
3298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3299 printf "%s\n" "$MSGFMT" >&6; }
3300 else
3301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 printf "%s\n" "no" >&6; }
3303 fi
3304
3305 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3306 set dummy gmsgfmt; ac_word=$2
3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3308 printf %s "checking for $ac_word... " >&6; }
3309 if test ${ac_cv_path_GMSGFMT+y}
3310 then :
3311 printf %s "(cached) " >&6
3312 else $as_nop
3313 case $GMSGFMT in
3314 [\\/]* | ?:[\\/]*)
3315 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3316 ;;
3317 *)
3318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319 for as_dir in $PATH
3320 do
3321 IFS=$as_save_IFS
3322 case $as_dir in #(((
3323 '') as_dir=./ ;;
3324 */) ;;
3325 *) as_dir=$as_dir/ ;;
3326 esac
3327 for ac_exec_ext in '' $ac_executable_extensions; do
3328 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3329 ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
3330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3331 break 2
3332 fi
3333 done
3334 done
3335 IFS=$as_save_IFS
3336
3337 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3338 ;;
3339 esac
3340 fi
3341 GMSGFMT=$ac_cv_path_GMSGFMT
3342 if test -n "$GMSGFMT"; then
3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3344 printf "%s\n" "$GMSGFMT" >&6; }
3345 else
3346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 printf "%s\n" "no" >&6; }
3348 fi
3349
3350
3351
3352 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3353 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3354 *) GMSGFMT_015=$GMSGFMT ;;
3355 esac
3356
3357
3358
3359 # Prepare PATH_SEPARATOR.
3360 # The user is always right.
3361 if test "${PATH_SEPARATOR+set}" != set; then
3362 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
3363 # contains only /bin. Note that ksh looks also at the FPATH variable,
3364 # so we have to set that as well for the test.
3365 PATH_SEPARATOR=:
3366 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3367 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3368 || PATH_SEPARATOR=';'
3369 }
3370 fi
3371
3372 # Find out how to test for executable files. Don't use a zero-byte file,
3373 # as systems may use methods other than mode bits to determine executability.
3374 cat >conf$$.file <<_ASEOF
3375 #! /bin/sh
3376 exit 0
3377 _ASEOF
3378 chmod +x conf$$.file
3379 if test -x conf$$.file >/dev/null 2>&1; then
3380 ac_executable_p="test -x"
3381 else
3382 ac_executable_p="test -f"
3383 fi
3384 rm -f conf$$.file
3385
3386 # Extract the first word of "xgettext", so it can be a program name with args.
3387 set dummy xgettext; ac_word=$2
3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3389 printf %s "checking for $ac_word... " >&6; }
3390 if test ${ac_cv_path_XGETTEXT+y}
3391 then :
3392 printf %s "(cached) " >&6
3393 else $as_nop
3394 case "$XGETTEXT" in
3395 [\\/]* | ?:[\\/]*)
3396 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3397 ;;
3398 *)
3399 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3400 for ac_dir in $PATH; do
3401 IFS="$ac_save_IFS"
3402 test -z "$ac_dir" && ac_dir=.
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3405 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3406 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3407 (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
3408 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3409 break 2
3410 fi
3411 fi
3412 done
3413 done
3414 IFS="$ac_save_IFS"
3415 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3416 ;;
3417 esac
3418 fi
3419 XGETTEXT="$ac_cv_path_XGETTEXT"
3420 if test "$XGETTEXT" != ":"; then
3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3422 printf "%s\n" "$XGETTEXT" >&6; }
3423 else
3424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 printf "%s\n" "no" >&6; }
3426 fi
3427
3428 rm -f messages.po
3429
3430 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3431 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3432 *) XGETTEXT_015=$XGETTEXT ;;
3433 esac
3434
3435
3436
3437 # Prepare PATH_SEPARATOR.
3438 # The user is always right.
3439 if test "${PATH_SEPARATOR+set}" != set; then
3440 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
3441 # contains only /bin. Note that ksh looks also at the FPATH variable,
3442 # so we have to set that as well for the test.
3443 PATH_SEPARATOR=:
3444 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3445 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3446 || PATH_SEPARATOR=';'
3447 }
3448 fi
3449
3450 # Find out how to test for executable files. Don't use a zero-byte file,
3451 # as systems may use methods other than mode bits to determine executability.
3452 cat >conf$$.file <<_ASEOF
3453 #! /bin/sh
3454 exit 0
3455 _ASEOF
3456 chmod +x conf$$.file
3457 if test -x conf$$.file >/dev/null 2>&1; then
3458 ac_executable_p="test -x"
3459 else
3460 ac_executable_p="test -f"
3461 fi
3462 rm -f conf$$.file
3463
3464 # Extract the first word of "msgmerge", so it can be a program name with args.
3465 set dummy msgmerge; ac_word=$2
3466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 printf %s "checking for $ac_word... " >&6; }
3468 if test ${ac_cv_path_MSGMERGE+y}
3469 then :
3470 printf %s "(cached) " >&6
3471 else $as_nop
3472 case "$MSGMERGE" in
3473 [\\/]* | ?:[\\/]*)
3474 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3475 ;;
3476 *)
3477 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3478 for ac_dir in $PATH; do
3479 IFS="$ac_save_IFS"
3480 test -z "$ac_dir" && ac_dir=.
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3483 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3484 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
3485 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3486 break 2
3487 fi
3488 fi
3489 done
3490 done
3491 IFS="$ac_save_IFS"
3492 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3493 ;;
3494 esac
3495 fi
3496 MSGMERGE="$ac_cv_path_MSGMERGE"
3497 if test "$MSGMERGE" != ":"; then
3498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3499 printf "%s\n" "$MSGMERGE" >&6; }
3500 else
3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 printf "%s\n" "no" >&6; }
3503 fi
3504
3505
3506 if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then
3507 MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt'
3508 else
3509 if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then
3510 MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet'
3511 else
3512 MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet'
3513 fi
3514 fi
3515
3516
3517 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
3518
3519
3520 ac_config_commands="$ac_config_commands po-directories"
3521
3522
3523
3524 if test "X$prefix" = "XNONE"; then
3525 acl_final_prefix="$ac_default_prefix"
3526 else
3527 acl_final_prefix="$prefix"
3528 fi
3529 if test "X$exec_prefix" = "XNONE"; then
3530 acl_final_exec_prefix='${prefix}'
3531 else
3532 acl_final_exec_prefix="$exec_prefix"
3533 fi
3534 acl_save_prefix="$prefix"
3535 prefix="$acl_final_prefix"
3536 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3537 prefix="$acl_save_prefix"
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548 DEPDIR="${am__leading_dot}deps"
3549
3550 ac_config_commands="$ac_config_commands depfiles"
3551
3552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3553 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3554 cat > confinc.mk << 'END'
3555 am__doit:
3556 @echo this is the am__doit target >confinc.out
3557 .PHONY: am__doit
3558 END
3559 am__include="#"
3560 am__quote=
3561 # BSD make does it like this.
3562 echo '.include "confinc.mk" # ignored' > confmf.BSD
3563 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3564 echo 'include confinc.mk # ignored' > confmf.GNU
3565 _am_result=no
3566 for s in GNU BSD; do
3567 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3568 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3569 ac_status=$?
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }
3572 case $?:`cat confinc.out 2>/dev/null` in #(
3573 '0:this is the am__doit target') :
3574 case $s in #(
3575 BSD) :
3576 am__include='.include' am__quote='"' ;; #(
3577 *) :
3578 am__include='include' am__quote='' ;;
3579 esac ;; #(
3580 *) :
3581 ;;
3582 esac
3583 if test "$am__include" != "#"; then
3584 _am_result="yes ($s style)"
3585 break
3586 fi
3587 done
3588 rm -f confinc.* confmf.*
3589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3590 printf "%s\n" "${_am_result}" >&6; }
3591
3592 # Check whether --enable-dependency-tracking was given.
3593 if test ${enable_dependency_tracking+y}
3594 then :
3595 enableval=$enable_dependency_tracking;
3596 fi
3597
3598 if test "x$enable_dependency_tracking" != xno; then
3599 am_depcomp="$ac_aux_dir/depcomp"
3600 AMDEPBACKSLASH='\'
3601 am__nodep='_no'
3602 fi
3603 if test "x$enable_dependency_tracking" != xno; then
3604 AMDEP_TRUE=
3605 AMDEP_FALSE='#'
3606 else
3607 AMDEP_TRUE='#'
3608 AMDEP_FALSE=
3609 fi
3610
3611
3612 ac_ext=c
3613 ac_cpp='$CPP $CPPFLAGS'
3614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3617 if test -n "$ac_tool_prefix"; then
3618 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3619 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621 printf %s "checking for $ac_word... " >&6; }
3622 if test ${ac_cv_prog_CC+y}
3623 then :
3624 printf %s "(cached) " >&6
3625 else $as_nop
3626 if test -n "$CC"; then
3627 ac_cv_prog_CC="$CC" # Let the user override the test.
3628 else
3629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630 for as_dir in $PATH
3631 do
3632 IFS=$as_save_IFS
3633 case $as_dir in #(((
3634 '') as_dir=./ ;;
3635 */) ;;
3636 *) as_dir=$as_dir/ ;;
3637 esac
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3642 break 2
3643 fi
3644 done
3645 done
3646 IFS=$as_save_IFS
3647
3648 fi
3649 fi
3650 CC=$ac_cv_prog_CC
3651 if test -n "$CC"; then
3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3653 printf "%s\n" "$CC" >&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 fi
3661 if test -z "$ac_cv_prog_CC"; then
3662 ac_ct_CC=$CC
3663 # Extract the first word of "gcc", so it can be a program name with args.
3664 set dummy gcc; ac_word=$2
3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3666 printf %s "checking for $ac_word... " >&6; }
3667 if test ${ac_cv_prog_ac_ct_CC+y}
3668 then :
3669 printf %s "(cached) " >&6
3670 else $as_nop
3671 if test -n "$ac_ct_CC"; then
3672 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3673 else
3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3675 for as_dir in $PATH
3676 do
3677 IFS=$as_save_IFS
3678 case $as_dir in #(((
3679 '') as_dir=./ ;;
3680 */) ;;
3681 *) as_dir=$as_dir/ ;;
3682 esac
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_ac_ct_CC="gcc"
3686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3687 break 2
3688 fi
3689 done
3690 done
3691 IFS=$as_save_IFS
3692
3693 fi
3694 fi
3695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3696 if test -n "$ac_ct_CC"; then
3697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3698 printf "%s\n" "$ac_ct_CC" >&6; }
3699 else
3700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 printf "%s\n" "no" >&6; }
3702 fi
3703
3704 if test "x$ac_ct_CC" = x; then
3705 CC=""
3706 else
3707 case $cross_compiling:$ac_tool_warned in
3708 yes:)
3709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3710 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3711 ac_tool_warned=yes ;;
3712 esac
3713 CC=$ac_ct_CC
3714 fi
3715 else
3716 CC="$ac_cv_prog_CC"
3717 fi
3718
3719 if test -z "$CC"; then
3720 if test -n "$ac_tool_prefix"; then
3721 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3722 set dummy ${ac_tool_prefix}cc; ac_word=$2
3723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3724 printf %s "checking for $ac_word... " >&6; }
3725 if test ${ac_cv_prog_CC+y}
3726 then :
3727 printf %s "(cached) " >&6
3728 else $as_nop
3729 if test -n "$CC"; then
3730 ac_cv_prog_CC="$CC" # Let the user override the test.
3731 else
3732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3733 for as_dir in $PATH
3734 do
3735 IFS=$as_save_IFS
3736 case $as_dir in #(((
3737 '') as_dir=./ ;;
3738 */) ;;
3739 *) as_dir=$as_dir/ ;;
3740 esac
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3743 ac_cv_prog_CC="${ac_tool_prefix}cc"
3744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3745 break 2
3746 fi
3747 done
3748 done
3749 IFS=$as_save_IFS
3750
3751 fi
3752 fi
3753 CC=$ac_cv_prog_CC
3754 if test -n "$CC"; then
3755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3756 printf "%s\n" "$CC" >&6; }
3757 else
3758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 printf "%s\n" "no" >&6; }
3760 fi
3761
3762
3763 fi
3764 fi
3765 if test -z "$CC"; then
3766 # Extract the first word of "cc", so it can be a program name with args.
3767 set dummy cc; ac_word=$2
3768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 printf %s "checking for $ac_word... " >&6; }
3770 if test ${ac_cv_prog_CC+y}
3771 then :
3772 printf %s "(cached) " >&6
3773 else $as_nop
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 ac_prog_rejected=no
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3780 do
3781 IFS=$as_save_IFS
3782 case $as_dir in #(((
3783 '') as_dir=./ ;;
3784 */) ;;
3785 *) as_dir=$as_dir/ ;;
3786 esac
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3789 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3790 ac_prog_rejected=yes
3791 continue
3792 fi
3793 ac_cv_prog_CC="cc"
3794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3795 break 2
3796 fi
3797 done
3798 done
3799 IFS=$as_save_IFS
3800
3801 if test $ac_prog_rejected = yes; then
3802 # We found a bogon in the path, so make sure we never use it.
3803 set dummy $ac_cv_prog_CC
3804 shift
3805 if test $# != 0; then
3806 # We chose a different compiler from the bogus one.
3807 # However, it has the same basename, so the bogon will be chosen
3808 # first if we set CC to just the basename; use the full file name.
3809 shift
3810 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3811 fi
3812 fi
3813 fi
3814 fi
3815 CC=$ac_cv_prog_CC
3816 if test -n "$CC"; then
3817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818 printf "%s\n" "$CC" >&6; }
3819 else
3820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 printf "%s\n" "no" >&6; }
3822 fi
3823
3824
3825 fi
3826 if test -z "$CC"; then
3827 if test -n "$ac_tool_prefix"; then
3828 for ac_prog in cl.exe
3829 do
3830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 printf %s "checking for $ac_word... " >&6; }
3834 if test ${ac_cv_prog_CC+y}
3835 then :
3836 printf %s "(cached) " >&6
3837 else $as_nop
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 else
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3842 for as_dir in $PATH
3843 do
3844 IFS=$as_save_IFS
3845 case $as_dir in #(((
3846 '') as_dir=./ ;;
3847 */) ;;
3848 *) as_dir=$as_dir/ ;;
3849 esac
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3852 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3854 break 2
3855 fi
3856 done
3857 done
3858 IFS=$as_save_IFS
3859
3860 fi
3861 fi
3862 CC=$ac_cv_prog_CC
3863 if test -n "$CC"; then
3864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3865 printf "%s\n" "$CC" >&6; }
3866 else
3867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 printf "%s\n" "no" >&6; }
3869 fi
3870
3871
3872 test -n "$CC" && break
3873 done
3874 fi
3875 if test -z "$CC"; then
3876 ac_ct_CC=$CC
3877 for ac_prog in cl.exe
3878 do
3879 # Extract the first word of "$ac_prog", so it can be a program name with args.
3880 set dummy $ac_prog; ac_word=$2
3881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3882 printf %s "checking for $ac_word... " >&6; }
3883 if test ${ac_cv_prog_ac_ct_CC+y}
3884 then :
3885 printf %s "(cached) " >&6
3886 else $as_nop
3887 if test -n "$ac_ct_CC"; then
3888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3889 else
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH
3892 do
3893 IFS=$as_save_IFS
3894 case $as_dir in #(((
3895 '') as_dir=./ ;;
3896 */) ;;
3897 *) as_dir=$as_dir/ ;;
3898 esac
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3901 ac_cv_prog_ac_ct_CC="$ac_prog"
3902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3903 break 2
3904 fi
3905 done
3906 done
3907 IFS=$as_save_IFS
3908
3909 fi
3910 fi
3911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3912 if test -n "$ac_ct_CC"; then
3913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3914 printf "%s\n" "$ac_ct_CC" >&6; }
3915 else
3916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 printf "%s\n" "no" >&6; }
3918 fi
3919
3920
3921 test -n "$ac_ct_CC" && break
3922 done
3923
3924 if test "x$ac_ct_CC" = x; then
3925 CC=""
3926 else
3927 case $cross_compiling:$ac_tool_warned in
3928 yes:)
3929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3930 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3931 ac_tool_warned=yes ;;
3932 esac
3933 CC=$ac_ct_CC
3934 fi
3935 fi
3936
3937 fi
3938 if test -z "$CC"; then
3939 if test -n "$ac_tool_prefix"; then
3940 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3941 set dummy ${ac_tool_prefix}clang; ac_word=$2
3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943 printf %s "checking for $ac_word... " >&6; }
3944 if test ${ac_cv_prog_CC+y}
3945 then :
3946 printf %s "(cached) " >&6
3947 else $as_nop
3948 if test -n "$CC"; then
3949 ac_cv_prog_CC="$CC" # Let the user override the test.
3950 else
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 for as_dir in $PATH
3953 do
3954 IFS=$as_save_IFS
3955 case $as_dir in #(((
3956 '') as_dir=./ ;;
3957 */) ;;
3958 *) as_dir=$as_dir/ ;;
3959 esac
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_CC="${ac_tool_prefix}clang"
3963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3964 break 2
3965 fi
3966 done
3967 done
3968 IFS=$as_save_IFS
3969
3970 fi
3971 fi
3972 CC=$ac_cv_prog_CC
3973 if test -n "$CC"; then
3974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3975 printf "%s\n" "$CC" >&6; }
3976 else
3977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 printf "%s\n" "no" >&6; }
3979 fi
3980
3981
3982 fi
3983 if test -z "$ac_cv_prog_CC"; then
3984 ac_ct_CC=$CC
3985 # Extract the first word of "clang", so it can be a program name with args.
3986 set dummy clang; ac_word=$2
3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 printf %s "checking for $ac_word... " >&6; }
3989 if test ${ac_cv_prog_ac_ct_CC+y}
3990 then :
3991 printf %s "(cached) " >&6
3992 else $as_nop
3993 if test -n "$ac_ct_CC"; then
3994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3995 else
3996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997 for as_dir in $PATH
3998 do
3999 IFS=$as_save_IFS
4000 case $as_dir in #(((
4001 '') as_dir=./ ;;
4002 */) ;;
4003 *) as_dir=$as_dir/ ;;
4004 esac
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4007 ac_cv_prog_ac_ct_CC="clang"
4008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4009 break 2
4010 fi
4011 done
4012 done
4013 IFS=$as_save_IFS
4014
4015 fi
4016 fi
4017 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4018 if test -n "$ac_ct_CC"; then
4019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4020 printf "%s\n" "$ac_ct_CC" >&6; }
4021 else
4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 printf "%s\n" "no" >&6; }
4024 fi
4025
4026 if test "x$ac_ct_CC" = x; then
4027 CC=""
4028 else
4029 case $cross_compiling:$ac_tool_warned in
4030 yes:)
4031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4032 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4033 ac_tool_warned=yes ;;
4034 esac
4035 CC=$ac_ct_CC
4036 fi
4037 else
4038 CC="$ac_cv_prog_CC"
4039 fi
4040
4041 fi
4042
4043
4044 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4046 as_fn_error $? "no acceptable C compiler found in \$PATH
4047 See \`config.log' for more details" "$LINENO" 5; }
4048
4049 # Provide some information about the compiler.
4050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4051 set X $ac_compile
4052 ac_compiler=$2
4053 for ac_option in --version -v -V -qversion -version; do
4054 { { ac_try="$ac_compiler $ac_option >&5"
4055 case "(($ac_try" in
4056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4058 esac
4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4060 printf "%s\n" "$ac_try_echo"; } >&5
4061 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4062 ac_status=$?
4063 if test -s conftest.err; then
4064 sed '10a\
4065 ... rest of stderr output deleted ...
4066 10q' conftest.err >conftest.er1
4067 cat conftest.er1 >&5
4068 fi
4069 rm -f conftest.er1 conftest.err
4070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071 test $ac_status = 0; }
4072 done
4073
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4076
4077 int
4078 main (void)
4079 {
4080
4081 ;
4082 return 0;
4083 }
4084 _ACEOF
4085 ac_clean_files_save=$ac_clean_files
4086 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4087 # Try to create an executable without -o first, disregard a.out.
4088 # It will help us diagnose broken compilers, and finding out an intuition
4089 # of exeext.
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4091 printf %s "checking whether the C compiler works... " >&6; }
4092 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4093
4094 # The possible output files:
4095 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4096
4097 ac_rmfiles=
4098 for ac_file in $ac_files
4099 do
4100 case $ac_file in
4101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4102 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4103 esac
4104 done
4105 rm -f $ac_rmfiles
4106
4107 if { { ac_try="$ac_link_default"
4108 case "(($ac_try" in
4109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110 *) ac_try_echo=$ac_try;;
4111 esac
4112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4113 printf "%s\n" "$ac_try_echo"; } >&5
4114 (eval "$ac_link_default") 2>&5
4115 ac_status=$?
4116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4117 test $ac_status = 0; }
4118 then :
4119 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4120 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4121 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4122 # so that the user can short-circuit this test for compilers unknown to
4123 # Autoconf.
4124 for ac_file in $ac_files ''
4125 do
4126 test -f "$ac_file" || continue
4127 case $ac_file in
4128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4129 ;;
4130 [ab].out )
4131 # We found the default executable, but exeext='' is most
4132 # certainly right.
4133 break;;
4134 *.* )
4135 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4136 then :; else
4137 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4138 fi
4139 # We set ac_cv_exeext here because the later test for it is not
4140 # safe: cross compilers may not add the suffix if given an `-o'
4141 # argument, so we may need to know it at that point already.
4142 # Even if this section looks crufty: it has the advantage of
4143 # actually working.
4144 break;;
4145 * )
4146 break;;
4147 esac
4148 done
4149 test "$ac_cv_exeext" = no && ac_cv_exeext=
4150
4151 else $as_nop
4152 ac_file=''
4153 fi
4154 if test -z "$ac_file"
4155 then :
4156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157 printf "%s\n" "no" >&6; }
4158 printf "%s\n" "$as_me: failed program was:" >&5
4159 sed 's/^/| /' conftest.$ac_ext >&5
4160
4161 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4163 as_fn_error 77 "C compiler cannot create executables
4164 See \`config.log' for more details" "$LINENO" 5; }
4165 else $as_nop
4166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4167 printf "%s\n" "yes" >&6; }
4168 fi
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4170 printf %s "checking for C compiler default output file name... " >&6; }
4171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4172 printf "%s\n" "$ac_file" >&6; }
4173 ac_exeext=$ac_cv_exeext
4174
4175 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4176 ac_clean_files=$ac_clean_files_save
4177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4178 printf %s "checking for suffix of executables... " >&6; }
4179 if { { ac_try="$ac_link"
4180 case "(($ac_try" in
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4183 esac
4184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4185 printf "%s\n" "$ac_try_echo"; } >&5
4186 (eval "$ac_link") 2>&5
4187 ac_status=$?
4188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4189 test $ac_status = 0; }
4190 then :
4191 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4192 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4193 # work properly (i.e., refer to `conftest.exe'), while it won't with
4194 # `rm'.
4195 for ac_file in conftest.exe conftest conftest.*; do
4196 test -f "$ac_file" || continue
4197 case $ac_file in
4198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4199 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4200 break;;
4201 * ) break;;
4202 esac
4203 done
4204 else $as_nop
4205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4206 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4207 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4208 See \`config.log' for more details" "$LINENO" 5; }
4209 fi
4210 rm -f conftest conftest$ac_cv_exeext
4211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4212 printf "%s\n" "$ac_cv_exeext" >&6; }
4213
4214 rm -f conftest.$ac_ext
4215 EXEEXT=$ac_cv_exeext
4216 ac_exeext=$EXEEXT
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219 #include <stdio.h>
4220 int
4221 main (void)
4222 {
4223 FILE *f = fopen ("conftest.out", "w");
4224 return ferror (f) || fclose (f) != 0;
4225
4226 ;
4227 return 0;
4228 }
4229 _ACEOF
4230 ac_clean_files="$ac_clean_files conftest.out"
4231 # Check that the compiler produces executables we can run. If not, either
4232 # the compiler is broken, or we cross compile.
4233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4234 printf %s "checking whether we are cross compiling... " >&6; }
4235 if test "$cross_compiling" != yes; then
4236 { { ac_try="$ac_link"
4237 case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240 esac
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 printf "%s\n" "$ac_try_echo"; } >&5
4243 (eval "$ac_link") 2>&5
4244 ac_status=$?
4245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }
4247 if { ac_try='./conftest$ac_cv_exeext'
4248 { { case "(($ac_try" in
4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4251 esac
4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 printf "%s\n" "$ac_try_echo"; } >&5
4254 (eval "$ac_try") 2>&5
4255 ac_status=$?
4256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; }; then
4258 cross_compiling=no
4259 else
4260 if test "$cross_compiling" = maybe; then
4261 cross_compiling=yes
4262 else
4263 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4264 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4265 as_fn_error 77 "cannot run C compiled programs.
4266 If you meant to cross compile, use \`--host'.
4267 See \`config.log' for more details" "$LINENO" 5; }
4268 fi
4269 fi
4270 fi
4271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4272 printf "%s\n" "$cross_compiling" >&6; }
4273
4274 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4275 ac_clean_files=$ac_clean_files_save
4276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4277 printf %s "checking for suffix of object files... " >&6; }
4278 if test ${ac_cv_objext+y}
4279 then :
4280 printf %s "(cached) " >&6
4281 else $as_nop
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4284
4285 int
4286 main (void)
4287 {
4288
4289 ;
4290 return 0;
4291 }
4292 _ACEOF
4293 rm -f conftest.o conftest.obj
4294 if { { ac_try="$ac_compile"
4295 case "(($ac_try" in
4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4298 esac
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 printf "%s\n" "$ac_try_echo"; } >&5
4301 (eval "$ac_compile") 2>&5
4302 ac_status=$?
4303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4304 test $ac_status = 0; }
4305 then :
4306 for ac_file in conftest.o conftest.obj conftest.*; do
4307 test -f "$ac_file" || continue;
4308 case $ac_file in
4309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4310 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4311 break;;
4312 esac
4313 done
4314 else $as_nop
4315 printf "%s\n" "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.$ac_ext >&5
4317
4318 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error $? "cannot compute suffix of object files: cannot compile
4321 See \`config.log' for more details" "$LINENO" 5; }
4322 fi
4323 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4324 fi
4325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4326 printf "%s\n" "$ac_cv_objext" >&6; }
4327 OBJEXT=$ac_cv_objext
4328 ac_objext=$OBJEXT
4329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4330 printf %s "checking whether the compiler supports GNU C... " >&6; }
4331 if test ${ac_cv_c_compiler_gnu+y}
4332 then :
4333 printf %s "(cached) " >&6
4334 else $as_nop
4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4337
4338 int
4339 main (void)
4340 {
4341 #ifndef __GNUC__
4342 choke me
4343 #endif
4344
4345 ;
4346 return 0;
4347 }
4348 _ACEOF
4349 if ac_fn_c_try_compile "$LINENO"
4350 then :
4351 ac_compiler_gnu=yes
4352 else $as_nop
4353 ac_compiler_gnu=no
4354 fi
4355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4356 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4357
4358 fi
4359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4360 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4362
4363 if test $ac_compiler_gnu = yes; then
4364 GCC=yes
4365 else
4366 GCC=
4367 fi
4368 ac_test_CFLAGS=${CFLAGS+y}
4369 ac_save_CFLAGS=$CFLAGS
4370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4371 printf %s "checking whether $CC accepts -g... " >&6; }
4372 if test ${ac_cv_prog_cc_g+y}
4373 then :
4374 printf %s "(cached) " >&6
4375 else $as_nop
4376 ac_save_c_werror_flag=$ac_c_werror_flag
4377 ac_c_werror_flag=yes
4378 ac_cv_prog_cc_g=no
4379 CFLAGS="-g"
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4382
4383 int
4384 main (void)
4385 {
4386
4387 ;
4388 return 0;
4389 }
4390 _ACEOF
4391 if ac_fn_c_try_compile "$LINENO"
4392 then :
4393 ac_cv_prog_cc_g=yes
4394 else $as_nop
4395 CFLAGS=""
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4398
4399 int
4400 main (void)
4401 {
4402
4403 ;
4404 return 0;
4405 }
4406 _ACEOF
4407 if ac_fn_c_try_compile "$LINENO"
4408 then :
4409
4410 else $as_nop
4411 ac_c_werror_flag=$ac_save_c_werror_flag
4412 CFLAGS="-g"
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4415
4416 int
4417 main (void)
4418 {
4419
4420 ;
4421 return 0;
4422 }
4423 _ACEOF
4424 if ac_fn_c_try_compile "$LINENO"
4425 then :
4426 ac_cv_prog_cc_g=yes
4427 fi
4428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4429 fi
4430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4431 fi
4432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4433 ac_c_werror_flag=$ac_save_c_werror_flag
4434 fi
4435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4436 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4437 if test $ac_test_CFLAGS; then
4438 CFLAGS=$ac_save_CFLAGS
4439 elif test $ac_cv_prog_cc_g = yes; then
4440 if test "$GCC" = yes; then
4441 CFLAGS="-g -O2"
4442 else
4443 CFLAGS="-g"
4444 fi
4445 else
4446 if test "$GCC" = yes; then
4447 CFLAGS="-O2"
4448 else
4449 CFLAGS=
4450 fi
4451 fi
4452 ac_prog_cc_stdc=no
4453 if test x$ac_prog_cc_stdc = xno
4454 then :
4455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4456 printf %s "checking for $CC option to enable C11 features... " >&6; }
4457 if test ${ac_cv_prog_cc_c11+y}
4458 then :
4459 printf %s "(cached) " >&6
4460 else $as_nop
4461 ac_cv_prog_cc_c11=no
4462 ac_save_CC=$CC
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4465 $ac_c_conftest_c11_program
4466 _ACEOF
4467 for ac_arg in '' -std=gnu11
4468 do
4469 CC="$ac_save_CC $ac_arg"
4470 if ac_fn_c_try_compile "$LINENO"
4471 then :
4472 ac_cv_prog_cc_c11=$ac_arg
4473 fi
4474 rm -f core conftest.err conftest.$ac_objext conftest.beam
4475 test "x$ac_cv_prog_cc_c11" != "xno" && break
4476 done
4477 rm -f conftest.$ac_ext
4478 CC=$ac_save_CC
4479 fi
4480
4481 if test "x$ac_cv_prog_cc_c11" = xno
4482 then :
4483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4484 printf "%s\n" "unsupported" >&6; }
4485 else $as_nop
4486 if test "x$ac_cv_prog_cc_c11" = x
4487 then :
4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4489 printf "%s\n" "none needed" >&6; }
4490 else $as_nop
4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4492 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4493 CC="$CC $ac_cv_prog_cc_c11"
4494 fi
4495 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4496 ac_prog_cc_stdc=c11
4497 fi
4498 fi
4499 if test x$ac_prog_cc_stdc = xno
4500 then :
4501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4502 printf %s "checking for $CC option to enable C99 features... " >&6; }
4503 if test ${ac_cv_prog_cc_c99+y}
4504 then :
4505 printf %s "(cached) " >&6
4506 else $as_nop
4507 ac_cv_prog_cc_c99=no
4508 ac_save_CC=$CC
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4511 $ac_c_conftest_c99_program
4512 _ACEOF
4513 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4514 do
4515 CC="$ac_save_CC $ac_arg"
4516 if ac_fn_c_try_compile "$LINENO"
4517 then :
4518 ac_cv_prog_cc_c99=$ac_arg
4519 fi
4520 rm -f core conftest.err conftest.$ac_objext conftest.beam
4521 test "x$ac_cv_prog_cc_c99" != "xno" && break
4522 done
4523 rm -f conftest.$ac_ext
4524 CC=$ac_save_CC
4525 fi
4526
4527 if test "x$ac_cv_prog_cc_c99" = xno
4528 then :
4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4530 printf "%s\n" "unsupported" >&6; }
4531 else $as_nop
4532 if test "x$ac_cv_prog_cc_c99" = x
4533 then :
4534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4535 printf "%s\n" "none needed" >&6; }
4536 else $as_nop
4537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4538 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4539 CC="$CC $ac_cv_prog_cc_c99"
4540 fi
4541 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4542 ac_prog_cc_stdc=c99
4543 fi
4544 fi
4545 if test x$ac_prog_cc_stdc = xno
4546 then :
4547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4548 printf %s "checking for $CC option to enable C89 features... " >&6; }
4549 if test ${ac_cv_prog_cc_c89+y}
4550 then :
4551 printf %s "(cached) " >&6
4552 else $as_nop
4553 ac_cv_prog_cc_c89=no
4554 ac_save_CC=$CC
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4557 $ac_c_conftest_c89_program
4558 _ACEOF
4559 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4560 do
4561 CC="$ac_save_CC $ac_arg"
4562 if ac_fn_c_try_compile "$LINENO"
4563 then :
4564 ac_cv_prog_cc_c89=$ac_arg
4565 fi
4566 rm -f core conftest.err conftest.$ac_objext conftest.beam
4567 test "x$ac_cv_prog_cc_c89" != "xno" && break
4568 done
4569 rm -f conftest.$ac_ext
4570 CC=$ac_save_CC
4571 fi
4572
4573 if test "x$ac_cv_prog_cc_c89" = xno
4574 then :
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4576 printf "%s\n" "unsupported" >&6; }
4577 else $as_nop
4578 if test "x$ac_cv_prog_cc_c89" = x
4579 then :
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4581 printf "%s\n" "none needed" >&6; }
4582 else $as_nop
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4584 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4585 CC="$CC $ac_cv_prog_cc_c89"
4586 fi
4587 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4588 ac_prog_cc_stdc=c89
4589 fi
4590 fi
4591
4592 ac_ext=c
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597
4598
4599 ac_ext=c
4600 ac_cpp='$CPP $CPPFLAGS'
4601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4605 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4606 if test ${am_cv_prog_cc_c_o+y}
4607 then :
4608 printf %s "(cached) " >&6
4609 else $as_nop
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4612
4613 int
4614 main (void)
4615 {
4616
4617 ;
4618 return 0;
4619 }
4620 _ACEOF
4621 # Make sure it works both with $CC and with simple cc.
4622 # Following AC_PROG_CC_C_O, we do the test twice because some
4623 # compilers refuse to overwrite an existing .o file with -o,
4624 # though they will create one.
4625 am_cv_prog_cc_c_o=yes
4626 for am_i in 1 2; do
4627 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4628 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4629 ac_status=$?
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } \
4632 && test -f conftest2.$ac_objext; then
4633 : OK
4634 else
4635 am_cv_prog_cc_c_o=no
4636 break
4637 fi
4638 done
4639 rm -f core conftest*
4640 unset am_i
4641 fi
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4643 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4644 if test "$am_cv_prog_cc_c_o" != yes; then
4645 # Losing compiler, so override with the script.
4646 # FIXME: It is wrong to rewrite CC.
4647 # But if we don't then we get into trouble of one sort or another.
4648 # A longer-term fix would be to have automake use am__CC in this case,
4649 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4650 CC="$am_aux_dir/compile $CC"
4651 fi
4652 ac_ext=c
4653 ac_cpp='$CPP $CPPFLAGS'
4654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4657
4658
4659 depcc="$CC" am_compiler_list=
4660
4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4662 printf %s "checking dependency style of $depcc... " >&6; }
4663 if test ${am_cv_CC_dependencies_compiler_type+y}
4664 then :
4665 printf %s "(cached) " >&6
4666 else $as_nop
4667 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4668 # We make a subdir and do the tests there. Otherwise we can end up
4669 # making bogus files that we don't know about and never remove. For
4670 # instance it was reported that on HP-UX the gcc test will end up
4671 # making a dummy file named 'D' -- because '-MD' means "put the output
4672 # in D".
4673 rm -rf conftest.dir
4674 mkdir conftest.dir
4675 # Copy depcomp to subdir because otherwise we won't find it if we're
4676 # using a relative directory.
4677 cp "$am_depcomp" conftest.dir
4678 cd conftest.dir
4679 # We will build objects and dependencies in a subdirectory because
4680 # it helps to detect inapplicable dependency modes. For instance
4681 # both Tru64's cc and ICC support -MD to output dependencies as a
4682 # side effect of compilation, but ICC will put the dependencies in
4683 # the current directory while Tru64 will put them in the object
4684 # directory.
4685 mkdir sub
4686
4687 am_cv_CC_dependencies_compiler_type=none
4688 if test "$am_compiler_list" = ""; then
4689 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4690 fi
4691 am__universal=false
4692 case " $depcc " in #(
4693 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4694 esac
4695
4696 for depmode in $am_compiler_list; do
4697 # Setup a source with many dependencies, because some compilers
4698 # like to wrap large dependency lists on column 80 (with \), and
4699 # we should not choose a depcomp mode which is confused by this.
4700 #
4701 # We need to recreate these files for each test, as the compiler may
4702 # overwrite some of them when testing with obscure command lines.
4703 # This happens at least with the AIX C compiler.
4704 : > sub/conftest.c
4705 for i in 1 2 3 4 5 6; do
4706 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4707 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4708 # Solaris 10 /bin/sh.
4709 echo '/* dummy */' > sub/conftst$i.h
4710 done
4711 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4712
4713 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4714 # mode. It turns out that the SunPro C++ compiler does not properly
4715 # handle '-M -o', and we need to detect this. Also, some Intel
4716 # versions had trouble with output in subdirs.
4717 am__obj=sub/conftest.${OBJEXT-o}
4718 am__minus_obj="-o $am__obj"
4719 case $depmode in
4720 gcc)
4721 # This depmode causes a compiler race in universal mode.
4722 test "$am__universal" = false || continue
4723 ;;
4724 nosideeffect)
4725 # After this tag, mechanisms are not by side-effect, so they'll
4726 # only be used when explicitly requested.
4727 if test "x$enable_dependency_tracking" = xyes; then
4728 continue
4729 else
4730 break
4731 fi
4732 ;;
4733 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4734 # This compiler won't grok '-c -o', but also, the minuso test has
4735 # not run yet. These depmodes are late enough in the game, and
4736 # so weak that their functioning should not be impacted.
4737 am__obj=conftest.${OBJEXT-o}
4738 am__minus_obj=
4739 ;;
4740 none) break ;;
4741 esac
4742 if depmode=$depmode \
4743 source=sub/conftest.c object=$am__obj \
4744 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4745 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4746 >/dev/null 2>conftest.err &&
4747 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4748 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4749 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4750 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4751 # icc doesn't choke on unknown options, it will just issue warnings
4752 # or remarks (even with -Werror). So we grep stderr for any message
4753 # that says an option was ignored or not supported.
4754 # When given -MP, icc 7.0 and 7.1 complain thusly:
4755 # icc: Command line warning: ignoring option '-M'; no argument required
4756 # The diagnosis changed in icc 8.0:
4757 # icc: Command line remark: option '-MP' not supported
4758 if (grep 'ignoring option' conftest.err ||
4759 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4760 am_cv_CC_dependencies_compiler_type=$depmode
4761 break
4762 fi
4763 fi
4764 done
4765
4766 cd ..
4767 rm -rf conftest.dir
4768 else
4769 am_cv_CC_dependencies_compiler_type=none
4770 fi
4771
4772 fi
4773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4774 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4775 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4776
4777 if
4778 test "x$enable_dependency_tracking" != xno \
4779 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4780 am__fastdepCC_TRUE=
4781 am__fastdepCC_FALSE='#'
4782 else
4783 am__fastdepCC_TRUE='#'
4784 am__fastdepCC_FALSE=
4785 fi
4786
4787
4788
4789
4790 # Make sure we can run config.sub.
4791 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4792 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4793
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4795 printf %s "checking build system type... " >&6; }
4796 if test ${ac_cv_build+y}
4797 then :
4798 printf %s "(cached) " >&6
4799 else $as_nop
4800 ac_build_alias=$build_alias
4801 test "x$ac_build_alias" = x &&
4802 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4803 test "x$ac_build_alias" = x &&
4804 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4805 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4806 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4807
4808 fi
4809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4810 printf "%s\n" "$ac_cv_build" >&6; }
4811 case $ac_cv_build in
4812 *-*-*) ;;
4813 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4814 esac
4815 build=$ac_cv_build
4816 ac_save_IFS=$IFS; IFS='-'
4817 set x $ac_cv_build
4818 shift
4819 build_cpu=$1
4820 build_vendor=$2
4821 shift; shift
4822 # Remember, the first character of IFS is used to create $*,
4823 # except with old shells:
4824 build_os=$*
4825 IFS=$ac_save_IFS
4826 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4827
4828
4829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4830 printf %s "checking host system type... " >&6; }
4831 if test ${ac_cv_host+y}
4832 then :
4833 printf %s "(cached) " >&6
4834 else $as_nop
4835 if test "x$host_alias" = x; then
4836 ac_cv_host=$ac_cv_build
4837 else
4838 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4839 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4840 fi
4841
4842 fi
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4844 printf "%s\n" "$ac_cv_host" >&6; }
4845 case $ac_cv_host in
4846 *-*-*) ;;
4847 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4848 esac
4849 host=$ac_cv_host
4850 ac_save_IFS=$IFS; IFS='-'
4851 set x $ac_cv_host
4852 shift
4853 host_cpu=$1
4854 host_vendor=$2
4855 shift; shift
4856 # Remember, the first character of IFS is used to create $*,
4857 # except with old shells:
4858 host_os=$*
4859 IFS=$ac_save_IFS
4860 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4861
4862
4863
4864
4865
4866 # Check whether --with-gnu-ld was given.
4867 if test ${with_gnu_ld+y}
4868 then :
4869 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4870 else $as_nop
4871 with_gnu_ld=no
4872 fi
4873
4874 # Prepare PATH_SEPARATOR.
4875 # The user is always right.
4876 if test "${PATH_SEPARATOR+set}" != set; then
4877 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4878 # contains only /bin. Note that ksh looks also at the FPATH variable,
4879 # so we have to set that as well for the test.
4880 PATH_SEPARATOR=:
4881 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4882 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4883 || PATH_SEPARATOR=';'
4884 }
4885 fi
4886
4887 if test -n "$LD"; then
4888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
4889 printf %s "checking for ld... " >&6; }
4890 elif test "$GCC" = yes; then
4891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4892 printf %s "checking for ld used by $CC... " >&6; }
4893 elif test "$with_gnu_ld" = yes; then
4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4895 printf %s "checking for GNU ld... " >&6; }
4896 else
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4898 printf %s "checking for non-GNU ld... " >&6; }
4899 fi
4900 if test -n "$LD"; then
4901 # Let the user override the test with a path.
4902 :
4903 else
4904 if test ${acl_cv_path_LD+y}
4905 then :
4906 printf %s "(cached) " >&6
4907 else $as_nop
4908
4909 acl_cv_path_LD= # Final result of this test
4910 ac_prog=ld # Program to search in $PATH
4911 if test "$GCC" = yes; then
4912 # Check if gcc -print-prog-name=ld gives a path.
4913 case $host in
4914 *-*-mingw*)
4915 # gcc leaves a trailing carriage return which upsets mingw
4916 acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4917 *)
4918 acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
4919 esac
4920 case $acl_output in
4921 # Accept absolute paths.
4922 [\\/]* | ?:[\\/]*)
4923 re_direlt='/[^/][^/]*/\.\./'
4924 # Canonicalize the pathname of ld
4925 acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
4926 while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
4927 acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
4928 done
4929 # Got the pathname. No search in PATH is needed.
4930 acl_cv_path_LD="$acl_output"
4931 ac_prog=
4932 ;;
4933 "")
4934 # If it fails, then pretend we aren't using GCC.
4935 ;;
4936 *)
4937 # If it is relative, then search for the first ld in PATH.
4938 with_gnu_ld=unknown
4939 ;;
4940 esac
4941 fi
4942 if test -n "$ac_prog"; then
4943 # Search for $ac_prog in $PATH.
4944 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4945 for ac_dir in $PATH; do
4946 IFS="$acl_save_ifs"
4947 test -z "$ac_dir" && ac_dir=.
4948 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4949 acl_cv_path_LD="$ac_dir/$ac_prog"
4950 # Check to see if the program is GNU ld. I'd rather use --version,
4951 # but apparently some variants of GNU ld only accept -v.
4952 # Break only if it was the GNU/non-GNU ld that we prefer.
4953 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
4954 *GNU* | *'with BFD'*)
4955 test "$with_gnu_ld" != no && break
4956 ;;
4957 *)
4958 test "$with_gnu_ld" != yes && break
4959 ;;
4960 esac
4961 fi
4962 done
4963 IFS="$acl_save_ifs"
4964 fi
4965 case $host in
4966 *-*-aix*)
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4969 #if defined __powerpc64__ || defined __LP64__
4970 int ok;
4971 #else
4972 error fail
4973 #endif
4974
4975 _ACEOF
4976 if ac_fn_c_try_compile "$LINENO"
4977 then :
4978 # The compiler produces 64-bit code. Add option '-b64' so that the
4979 # linker groks 64-bit object files.
4980 case "$acl_cv_path_LD " in
4981 *" -b64 "*) ;;
4982 *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
4983 esac
4984
4985 fi
4986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4987 ;;
4988 sparc64-*-netbsd*)
4989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4991 #if defined __sparcv9 || defined __arch64__
4992 int ok;
4993 #else
4994 error fail
4995 #endif
4996
4997 _ACEOF
4998 if ac_fn_c_try_compile "$LINENO"
4999 then :
5000
5001 else $as_nop
5002 # The compiler produces 32-bit code. Add option '-m elf32_sparc'
5003 # so that the linker groks 32-bit object files.
5004 case "$acl_cv_path_LD " in
5005 *" -m elf32_sparc "*) ;;
5006 *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
5007 esac
5008
5009 fi
5010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5011 ;;
5012 esac
5013
5014 fi
5015
5016 LD="$acl_cv_path_LD"
5017 fi
5018 if test -n "$LD"; then
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5020 printf "%s\n" "$LD" >&6; }
5021 else
5022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 printf "%s\n" "no" >&6; }
5024 as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5025 fi
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5027 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5028 if test ${acl_cv_prog_gnu_ld+y}
5029 then :
5030 printf %s "(cached) " >&6
5031 else $as_nop
5032 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5033 case `$LD -v 2>&1 </dev/null` in
5034 *GNU* | *'with BFD'*)
5035 acl_cv_prog_gnu_ld=yes
5036 ;;
5037 *)
5038 acl_cv_prog_gnu_ld=no
5039 ;;
5040 esac
5041 fi
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5043 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
5044 with_gnu_ld=$acl_cv_prog_gnu_ld
5045
5046
5047
5048
5049
5050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5051 printf %s "checking for shared library run path origin... " >&6; }
5052 if test ${acl_cv_rpath+y}
5053 then :
5054 printf %s "(cached) " >&6
5055 else $as_nop
5056
5057 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5058 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5059 . ./conftest.sh
5060 rm -f ./conftest.sh
5061 acl_cv_rpath=done
5062
5063 fi
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5065 printf "%s\n" "$acl_cv_rpath" >&6; }
5066 wl="$acl_cv_wl"
5067 acl_libext="$acl_cv_libext"
5068 acl_shlibext="$acl_cv_shlibext"
5069 acl_libname_spec="$acl_cv_libname_spec"
5070 acl_library_names_spec="$acl_cv_library_names_spec"
5071 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5072 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5073 acl_hardcode_direct="$acl_cv_hardcode_direct"
5074 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5075 # Check whether --enable-rpath was given.
5076 if test ${enable_rpath+y}
5077 then :
5078 enableval=$enable_rpath; :
5079 else $as_nop
5080 enable_rpath=yes
5081 fi
5082
5083
5084
5085
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
5087 printf %s "checking 32-bit host C ABI... " >&6; }
5088 if test ${gl_cv_host_cpu_c_abi_32bit+y}
5089 then :
5090 printf %s "(cached) " >&6
5091 else $as_nop
5092 if test -n "$gl_cv_host_cpu_c_abi"; then
5093 case "$gl_cv_host_cpu_c_abi" in
5094 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
5095 gl_cv_host_cpu_c_abi_32bit=yes ;;
5096 x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
5097 gl_cv_host_cpu_c_abi_32bit=no ;;
5098 *)
5099 gl_cv_host_cpu_c_abi_32bit=unknown ;;
5100 esac
5101 else
5102 case "$host_cpu" in
5103
5104 # CPUs that only support a 32-bit ABI.
5105 arc \
5106 | bfin \
5107 | cris* \
5108 | csky \
5109 | epiphany \
5110 | ft32 \
5111 | h8300 \
5112 | m68k \
5113 | microblaze | microblazeel \
5114 | nds32 | nds32le | nds32be \
5115 | nios2 | nios2eb | nios2el \
5116 | or1k* \
5117 | or32 \
5118 | sh | sh1234 | sh1234elb \
5119 | tic6x \
5120 | xtensa* )
5121 gl_cv_host_cpu_c_abi_32bit=yes
5122 ;;
5123
5124 # CPUs that only support a 64-bit ABI.
5125 alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
5126 | mmix )
5127 gl_cv_host_cpu_c_abi_32bit=no
5128 ;;
5129
5130 i[34567]86 )
5131 gl_cv_host_cpu_c_abi_32bit=yes
5132 ;;
5133
5134 x86_64 )
5135 # On x86_64 systems, the C compiler may be generating code in one of
5136 # these ABIs:
5137 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
5138 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
5139 # with native Windows (mingw, MSVC).
5140 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
5141 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144 #if (defined __x86_64__ || defined __amd64__ \
5145 || defined _M_X64 || defined _M_AMD64) \
5146 && !(defined __ILP32__ || defined _ILP32)
5147 int ok;
5148 #else
5149 error fail
5150 #endif
5151
5152 _ACEOF
5153 if ac_fn_c_try_compile "$LINENO"
5154 then :
5155 gl_cv_host_cpu_c_abi_32bit=no
5156 else $as_nop
5157 gl_cv_host_cpu_c_abi_32bit=yes
5158 fi
5159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5160 ;;
5161
5162 arm* | aarch64 )
5163 # Assume arm with EABI.
5164 # On arm64 systems, the C compiler may be generating code in one of
5165 # these ABIs:
5166 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
5167 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
5168 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
5169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5170 /* end confdefs.h. */
5171 #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
5172 int ok;
5173 #else
5174 error fail
5175 #endif
5176
5177 _ACEOF
5178 if ac_fn_c_try_compile "$LINENO"
5179 then :
5180 gl_cv_host_cpu_c_abi_32bit=no
5181 else $as_nop
5182 gl_cv_host_cpu_c_abi_32bit=yes
5183 fi
5184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5185 ;;
5186
5187 hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
5188 # On hppa, the C compiler may be generating 32-bit code or 64-bit
5189 # code. In the latter case, it defines _LP64 and __LP64__.
5190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h. */
5192 #ifdef __LP64__
5193 int ok;
5194 #else
5195 error fail
5196 #endif
5197
5198 _ACEOF
5199 if ac_fn_c_try_compile "$LINENO"
5200 then :
5201 gl_cv_host_cpu_c_abi_32bit=no
5202 else $as_nop
5203 gl_cv_host_cpu_c_abi_32bit=yes
5204 fi
5205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5206 ;;
5207
5208 ia64* )
5209 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
5210 # 32-bit code. In the latter case, it defines _ILP32.
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5213 #ifdef _ILP32
5214 int ok;
5215 #else
5216 error fail
5217 #endif
5218
5219 _ACEOF
5220 if ac_fn_c_try_compile "$LINENO"
5221 then :
5222 gl_cv_host_cpu_c_abi_32bit=yes
5223 else $as_nop
5224 gl_cv_host_cpu_c_abi_32bit=no
5225 fi
5226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5227 ;;
5228
5229 mips* )
5230 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
5231 # at 32.
5232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5234 #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
5235 int ok;
5236 #else
5237 error fail
5238 #endif
5239
5240 _ACEOF
5241 if ac_fn_c_try_compile "$LINENO"
5242 then :
5243 gl_cv_host_cpu_c_abi_32bit=no
5244 else $as_nop
5245 gl_cv_host_cpu_c_abi_32bit=yes
5246 fi
5247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5248 ;;
5249
5250 powerpc* )
5251 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
5252 # No need to distinguish them here; the caller may distinguish
5253 # them based on the OS.
5254 # On powerpc64 systems, the C compiler may still be generating
5255 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
5256 # be generating 64-bit code.
5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5259 #if defined __powerpc64__ || defined __LP64__
5260 int ok;
5261 #else
5262 error fail
5263 #endif
5264
5265 _ACEOF
5266 if ac_fn_c_try_compile "$LINENO"
5267 then :
5268 gl_cv_host_cpu_c_abi_32bit=no
5269 else $as_nop
5270 gl_cv_host_cpu_c_abi_32bit=yes
5271 fi
5272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5273 ;;
5274
5275 rs6000 )
5276 gl_cv_host_cpu_c_abi_32bit=yes
5277 ;;
5278
5279 riscv32 | riscv64 )
5280 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
5281 # Size of 'long' and 'void *':
5282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5284 #if defined __LP64__
5285 int ok;
5286 #else
5287 error fail
5288 #endif
5289
5290 _ACEOF
5291 if ac_fn_c_try_compile "$LINENO"
5292 then :
5293 gl_cv_host_cpu_c_abi_32bit=no
5294 else $as_nop
5295 gl_cv_host_cpu_c_abi_32bit=yes
5296 fi
5297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5298 ;;
5299
5300 s390* )
5301 # On s390x, the C compiler may be generating 64-bit (= s390x) code
5302 # or 31-bit (= s390) code.
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5305 #if defined __LP64__ || defined __s390x__
5306 int ok;
5307 #else
5308 error fail
5309 #endif
5310
5311 _ACEOF
5312 if ac_fn_c_try_compile "$LINENO"
5313 then :
5314 gl_cv_host_cpu_c_abi_32bit=no
5315 else $as_nop
5316 gl_cv_host_cpu_c_abi_32bit=yes
5317 fi
5318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5319 ;;
5320
5321 sparc | sparc64 )
5322 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
5323 # C compiler still generates 32-bit code.
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5326 #if defined __sparcv9 || defined __arch64__
5327 int ok;
5328 #else
5329 error fail
5330 #endif
5331
5332 _ACEOF
5333 if ac_fn_c_try_compile "$LINENO"
5334 then :
5335 gl_cv_host_cpu_c_abi_32bit=no
5336 else $as_nop
5337 gl_cv_host_cpu_c_abi_32bit=yes
5338 fi
5339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5340 ;;
5341
5342 *)
5343 gl_cv_host_cpu_c_abi_32bit=unknown
5344 ;;
5345 esac
5346 fi
5347
5348 fi
5349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
5350 printf "%s\n" "$gl_cv_host_cpu_c_abi_32bit" >&6; }
5351
5352 HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
5353
5354 ac_ext=c
5355 ac_cpp='$CPP $CPPFLAGS'
5356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5360 printf %s "checking how to run the C preprocessor... " >&6; }
5361 # On Suns, sometimes $CPP names a directory.
5362 if test -n "$CPP" && test -d "$CPP"; then
5363 CPP=
5364 fi
5365 if test -z "$CPP"; then
5366 if test ${ac_cv_prog_CPP+y}
5367 then :
5368 printf %s "(cached) " >&6
5369 else $as_nop
5370 # Double quotes because $CC needs to be expanded
5371 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5372 do
5373 ac_preproc_ok=false
5374 for ac_c_preproc_warn_flag in '' yes
5375 do
5376 # Use a header file that comes with gcc, so configuring glibc
5377 # with a fresh cross-compiler works.
5378 # On the NeXT, cc -E runs the code through the compiler's parser,
5379 # not just through cpp. "Syntax error" is here to catch this case.
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5382 #include <limits.h>
5383 Syntax error
5384 _ACEOF
5385 if ac_fn_c_try_cpp "$LINENO"
5386 then :
5387
5388 else $as_nop
5389 # Broken: fails on valid input.
5390 continue
5391 fi
5392 rm -f conftest.err conftest.i conftest.$ac_ext
5393
5394 # OK, works on sane cases. Now check whether nonexistent headers
5395 # can be detected and how.
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5398 #include <ac_nonexistent.h>
5399 _ACEOF
5400 if ac_fn_c_try_cpp "$LINENO"
5401 then :
5402 # Broken: success on invalid input.
5403 continue
5404 else $as_nop
5405 # Passes both tests.
5406 ac_preproc_ok=:
5407 break
5408 fi
5409 rm -f conftest.err conftest.i conftest.$ac_ext
5410
5411 done
5412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5413 rm -f conftest.i conftest.err conftest.$ac_ext
5414 if $ac_preproc_ok
5415 then :
5416 break
5417 fi
5418
5419 done
5420 ac_cv_prog_CPP=$CPP
5421
5422 fi
5423 CPP=$ac_cv_prog_CPP
5424 else
5425 ac_cv_prog_CPP=$CPP
5426 fi
5427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5428 printf "%s\n" "$CPP" >&6; }
5429 ac_preproc_ok=false
5430 for ac_c_preproc_warn_flag in '' yes
5431 do
5432 # Use a header file that comes with gcc, so configuring glibc
5433 # with a fresh cross-compiler works.
5434 # On the NeXT, cc -E runs the code through the compiler's parser,
5435 # not just through cpp. "Syntax error" is here to catch this case.
5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5437 /* end confdefs.h. */
5438 #include <limits.h>
5439 Syntax error
5440 _ACEOF
5441 if ac_fn_c_try_cpp "$LINENO"
5442 then :
5443
5444 else $as_nop
5445 # Broken: fails on valid input.
5446 continue
5447 fi
5448 rm -f conftest.err conftest.i conftest.$ac_ext
5449
5450 # OK, works on sane cases. Now check whether nonexistent headers
5451 # can be detected and how.
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5454 #include <ac_nonexistent.h>
5455 _ACEOF
5456 if ac_fn_c_try_cpp "$LINENO"
5457 then :
5458 # Broken: success on invalid input.
5459 continue
5460 else $as_nop
5461 # Passes both tests.
5462 ac_preproc_ok=:
5463 break
5464 fi
5465 rm -f conftest.err conftest.i conftest.$ac_ext
5466
5467 done
5468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5469 rm -f conftest.i conftest.err conftest.$ac_ext
5470 if $ac_preproc_ok
5471 then :
5472
5473 else $as_nop
5474 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5475 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5476 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5477 See \`config.log' for more details" "$LINENO" 5; }
5478 fi
5479
5480 ac_ext=c
5481 ac_cpp='$CPP $CPPFLAGS'
5482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5485
5486
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5488 printf %s "checking for grep that handles long lines and -e... " >&6; }
5489 if test ${ac_cv_path_GREP+y}
5490 then :
5491 printf %s "(cached) " >&6
5492 else $as_nop
5493 if test -z "$GREP"; then
5494 ac_path_GREP_found=false
5495 # Loop through the user's path and test for each of PROGNAME-LIST
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5498 do
5499 IFS=$as_save_IFS
5500 case $as_dir in #(((
5501 '') as_dir=./ ;;
5502 */) ;;
5503 *) as_dir=$as_dir/ ;;
5504 esac
5505 for ac_prog in grep ggrep
5506 do
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5509 as_fn_executable_p "$ac_path_GREP" || continue
5510 # Check for GNU ac_path_GREP and select it if it is found.
5511 # Check for GNU $ac_path_GREP
5512 case `"$ac_path_GREP" --version 2>&1` in
5513 *GNU*)
5514 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5515 *)
5516 ac_count=0
5517 printf %s 0123456789 >"conftest.in"
5518 while :
5519 do
5520 cat "conftest.in" "conftest.in" >"conftest.tmp"
5521 mv "conftest.tmp" "conftest.in"
5522 cp "conftest.in" "conftest.nl"
5523 printf "%s\n" 'GREP' >> "conftest.nl"
5524 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5525 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5526 as_fn_arith $ac_count + 1 && ac_count=$as_val
5527 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5528 # Best one so far, save it but keep looking for a better one
5529 ac_cv_path_GREP="$ac_path_GREP"
5530 ac_path_GREP_max=$ac_count
5531 fi
5532 # 10*(2^10) chars as input seems more than enough
5533 test $ac_count -gt 10 && break
5534 done
5535 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5536 esac
5537
5538 $ac_path_GREP_found && break 3
5539 done
5540 done
5541 done
5542 IFS=$as_save_IFS
5543 if test -z "$ac_cv_path_GREP"; then
5544 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5545 fi
5546 else
5547 ac_cv_path_GREP=$GREP
5548 fi
5549
5550 fi
5551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5552 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5553 GREP="$ac_cv_path_GREP"
5554
5555
5556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5557 printf %s "checking for egrep... " >&6; }
5558 if test ${ac_cv_path_EGREP+y}
5559 then :
5560 printf %s "(cached) " >&6
5561 else $as_nop
5562 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5563 then ac_cv_path_EGREP="$GREP -E"
5564 else
5565 if test -z "$EGREP"; then
5566 ac_path_EGREP_found=false
5567 # Loop through the user's path and test for each of PROGNAME-LIST
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5570 do
5571 IFS=$as_save_IFS
5572 case $as_dir in #(((
5573 '') as_dir=./ ;;
5574 */) ;;
5575 *) as_dir=$as_dir/ ;;
5576 esac
5577 for ac_prog in egrep
5578 do
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5581 as_fn_executable_p "$ac_path_EGREP" || continue
5582 # Check for GNU ac_path_EGREP and select it if it is found.
5583 # Check for GNU $ac_path_EGREP
5584 case `"$ac_path_EGREP" --version 2>&1` in
5585 *GNU*)
5586 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5587 *)
5588 ac_count=0
5589 printf %s 0123456789 >"conftest.in"
5590 while :
5591 do
5592 cat "conftest.in" "conftest.in" >"conftest.tmp"
5593 mv "conftest.tmp" "conftest.in"
5594 cp "conftest.in" "conftest.nl"
5595 printf "%s\n" 'EGREP' >> "conftest.nl"
5596 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5597 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5598 as_fn_arith $ac_count + 1 && ac_count=$as_val
5599 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5600 # Best one so far, save it but keep looking for a better one
5601 ac_cv_path_EGREP="$ac_path_EGREP"
5602 ac_path_EGREP_max=$ac_count
5603 fi
5604 # 10*(2^10) chars as input seems more than enough
5605 test $ac_count -gt 10 && break
5606 done
5607 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5608 esac
5609
5610 $ac_path_EGREP_found && break 3
5611 done
5612 done
5613 done
5614 IFS=$as_save_IFS
5615 if test -z "$ac_cv_path_EGREP"; then
5616 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5617 fi
5618 else
5619 ac_cv_path_EGREP=$EGREP
5620 fi
5621
5622 fi
5623 fi
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5625 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5626 EGREP="$ac_cv_path_EGREP"
5627
5628
5629
5630
5631
5632
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
5634 printf %s "checking for ELF binary format... " >&6; }
5635 if test ${gl_cv_elf+y}
5636 then :
5637 printf %s "(cached) " >&6
5638 else $as_nop
5639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5640 /* end confdefs.h. */
5641 #if defined __ELF__ || (defined __linux__ && defined __EDG__)
5642 Extensible Linking Format
5643 #endif
5644
5645 _ACEOF
5646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5647 $EGREP "Extensible Linking Format" >/dev/null 2>&1
5648 then :
5649 gl_cv_elf=yes
5650 else $as_nop
5651 gl_cv_elf=no
5652 fi
5653 rm -rf conftest*
5654
5655
5656 fi
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
5658 printf "%s\n" "$gl_cv_elf" >&6; }
5659 if test $gl_cv_elf = yes; then
5660 # Extract the ELF class of a file (5th byte) in decimal.
5661 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
5662 if od -A x < /dev/null >/dev/null 2>/dev/null; then
5663 # Use POSIX od.
5664 func_elfclass ()
5665 {
5666 od -A n -t d1 -j 4 -N 1
5667 }
5668 else
5669 # Use BSD hexdump.
5670 func_elfclass ()
5671 {
5672 dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
5673 echo
5674 }
5675 fi
5676 # Use 'expr', not 'test', to compare the values of func_elfclass, because on
5677 # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
5678 # not 1 or 2.
5679 case $HOST_CPU_C_ABI_32BIT in
5680 yes)
5681 # 32-bit ABI.
5682 acl_is_expected_elfclass ()
5683 {
5684 expr "`func_elfclass | sed -e 's/[ ]//g'`" = 1 > /dev/null
5685 }
5686 ;;
5687 no)
5688 # 64-bit ABI.
5689 acl_is_expected_elfclass ()
5690 {
5691 expr "`func_elfclass | sed -e 's/[ ]//g'`" = 2 > /dev/null
5692 }
5693 ;;
5694 *)
5695 # Unknown.
5696 acl_is_expected_elfclass ()
5697 {
5698 :
5699 }
5700 ;;
5701 esac
5702 else
5703 acl_is_expected_elfclass ()
5704 {
5705 :
5706 }
5707 fi
5708
5709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
5710 printf %s "checking for the common suffixes of directories in the library search path... " >&6; }
5711 if test ${acl_cv_libdirstems+y}
5712 then :
5713 printf %s "(cached) " >&6
5714 else $as_nop
5715 acl_libdirstem=lib
5716 acl_libdirstem2=
5717 acl_libdirstem3=
5718 case "$host_os" in
5719 solaris*)
5720 if test $HOST_CPU_C_ABI_32BIT = no; then
5721 acl_libdirstem2=lib/64
5722 case "$host_cpu" in
5723 sparc*) acl_libdirstem3=lib/sparcv9 ;;
5724 i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
5725 esac
5726 fi
5727 ;;
5728 *)
5729 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
5730 | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5731 if test $HOST_CPU_C_ABI_32BIT != no; then
5732 # 32-bit or unknown ABI.
5733 if test -d /usr/lib32; then
5734 acl_libdirstem2=lib32
5735 fi
5736 fi
5737 if test $HOST_CPU_C_ABI_32BIT != yes; then
5738 # 64-bit or unknown ABI.
5739 if test -d /usr/lib64; then
5740 acl_libdirstem3=lib64
5741 fi
5742 fi
5743 if test -n "$searchpath"; then
5744 acl_save_IFS="${IFS= }"; IFS=":"
5745 for searchdir in $searchpath; do
5746 if test -d "$searchdir"; then
5747 case "$searchdir" in
5748 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
5749 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
5750 */../ | */.. )
5751 # Better ignore directories of this form. They are misleading.
5752 ;;
5753 *) searchdir=`cd "$searchdir" && pwd`
5754 case "$searchdir" in
5755 */lib32 ) acl_libdirstem2=lib32 ;;
5756 */lib64 ) acl_libdirstem3=lib64 ;;
5757 esac ;;
5758 esac
5759 fi
5760 done
5761 IFS="$acl_save_IFS"
5762 if test $HOST_CPU_C_ABI_32BIT = yes; then
5763 # 32-bit ABI.
5764 acl_libdirstem3=
5765 fi
5766 if test $HOST_CPU_C_ABI_32BIT = no; then
5767 # 64-bit ABI.
5768 acl_libdirstem2=
5769 fi
5770 fi
5771 ;;
5772 esac
5773 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5774 test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
5775 acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
5776
5777 fi
5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
5779 printf "%s\n" "$acl_cv_libdirstems" >&6; }
5780 acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
5781 acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
5782 acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794 use_additional=yes
5795
5796 acl_save_prefix="$prefix"
5797 prefix="$acl_final_prefix"
5798 acl_save_exec_prefix="$exec_prefix"
5799 exec_prefix="$acl_final_exec_prefix"
5800
5801 eval additional_includedir=\"$includedir\"
5802 eval additional_libdir=\"$libdir\"
5803 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
5804 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
5805
5806 exec_prefix="$acl_save_exec_prefix"
5807 prefix="$acl_save_prefix"
5808
5809
5810 # Check whether --with-libiconv-prefix was given.
5811 if test ${with_libiconv_prefix+y}
5812 then :
5813 withval=$with_libiconv_prefix;
5814 if test "X$withval" = "Xno"; then
5815 use_additional=no
5816 else
5817 if test "X$withval" = "X"; then
5818
5819 acl_save_prefix="$prefix"
5820 prefix="$acl_final_prefix"
5821 acl_save_exec_prefix="$exec_prefix"
5822 exec_prefix="$acl_final_exec_prefix"
5823
5824 eval additional_includedir=\"$includedir\"
5825 eval additional_libdir=\"$libdir\"
5826 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
5827 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
5828
5829 exec_prefix="$acl_save_exec_prefix"
5830 prefix="$acl_save_prefix"
5831
5832 else
5833 additional_includedir="$withval/include"
5834 additional_libdir="$withval/$acl_libdirstem"
5835 additional_libdir2="$withval/$acl_libdirstem2"
5836 additional_libdir3="$withval/$acl_libdirstem3"
5837 fi
5838 fi
5839
5840 fi
5841
5842 if test "X$additional_libdir2" = "X$additional_libdir"; then
5843 additional_libdir2=
5844 fi
5845 if test "X$additional_libdir3" = "X$additional_libdir"; then
5846 additional_libdir3=
5847 fi
5848 LIBICONV=
5849 LTLIBICONV=
5850 INCICONV=
5851 LIBICONV_PREFIX=
5852 HAVE_LIBICONV=
5853 rpathdirs=
5854 ltrpathdirs=
5855 names_already_handled=
5856 names_next_round='iconv '
5857 while test -n "$names_next_round"; do
5858 names_this_round="$names_next_round"
5859 names_next_round=
5860 for name in $names_this_round; do
5861 already_handled=
5862 for n in $names_already_handled; do
5863 if test "$n" = "$name"; then
5864 already_handled=yes
5865 break
5866 fi
5867 done
5868 if test -z "$already_handled"; then
5869 names_already_handled="$names_already_handled $name"
5870 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5871 eval value=\"\$HAVE_LIB$uppername\"
5872 if test -n "$value"; then
5873 if test "$value" = yes; then
5874 eval value=\"\$LIB$uppername\"
5875 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5876 eval value=\"\$LTLIB$uppername\"
5877 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5878 else
5879 :
5880 fi
5881 else
5882 found_dir=
5883 found_la=
5884 found_so=
5885 found_a=
5886 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5887 if test -n "$acl_shlibext"; then
5888 shrext=".$acl_shlibext" # typically: shrext=.so
5889 else
5890 shrext=
5891 fi
5892 if test $use_additional = yes; then
5893 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
5894 if test "X$found_dir" = "X"; then
5895 eval dir=\$$additional_libdir_variable
5896 if test -n "$dir"; then
5897 if test -n "$acl_shlibext"; then
5898 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
5899 found_dir="$dir"
5900 found_so="$dir/$libname$shrext"
5901 else
5902 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5903 ver=`(cd "$dir" && \
5904 for f in "$libname$shrext".*; do echo "$f"; done \
5905 | sed -e "s,^$libname$shrext\\\\.,," \
5906 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5907 | sed 1q ) 2>/dev/null`
5908 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
5909 found_dir="$dir"
5910 found_so="$dir/$libname$shrext.$ver"
5911 fi
5912 else
5913 eval library_names=\"$acl_library_names_spec\"
5914 for f in $library_names; do
5915 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
5916 found_dir="$dir"
5917 found_so="$dir/$f"
5918 break
5919 fi
5920 done
5921 fi
5922 fi
5923 fi
5924 if test "X$found_dir" = "X"; then
5925 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
5926 found_dir="$dir"
5927 found_a="$dir/$libname.$acl_libext"
5928 fi
5929 fi
5930 if test "X$found_dir" != "X"; then
5931 if test -f "$dir/$libname.la"; then
5932 found_la="$dir/$libname.la"
5933 fi
5934 fi
5935 fi
5936 fi
5937 done
5938 fi
5939 if test "X$found_dir" = "X"; then
5940 for x in $LDFLAGS $LTLIBICONV; do
5941
5942 acl_save_prefix="$prefix"
5943 prefix="$acl_final_prefix"
5944 acl_save_exec_prefix="$exec_prefix"
5945 exec_prefix="$acl_final_exec_prefix"
5946 eval x=\"$x\"
5947 exec_prefix="$acl_save_exec_prefix"
5948 prefix="$acl_save_prefix"
5949
5950 case "$x" in
5951 -L*)
5952 dir=`echo "X$x" | sed -e 's/^X-L//'`
5953 if test -n "$acl_shlibext"; then
5954 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
5955 found_dir="$dir"
5956 found_so="$dir/$libname$shrext"
5957 else
5958 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5959 ver=`(cd "$dir" && \
5960 for f in "$libname$shrext".*; do echo "$f"; done \
5961 | sed -e "s,^$libname$shrext\\\\.,," \
5962 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5963 | sed 1q ) 2>/dev/null`
5964 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
5965 found_dir="$dir"
5966 found_so="$dir/$libname$shrext.$ver"
5967 fi
5968 else
5969 eval library_names=\"$acl_library_names_spec\"
5970 for f in $library_names; do
5971 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
5972 found_dir="$dir"
5973 found_so="$dir/$f"
5974 break
5975 fi
5976 done
5977 fi
5978 fi
5979 fi
5980 if test "X$found_dir" = "X"; then
5981 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
5982 found_dir="$dir"
5983 found_a="$dir/$libname.$acl_libext"
5984 fi
5985 fi
5986 if test "X$found_dir" != "X"; then
5987 if test -f "$dir/$libname.la"; then
5988 found_la="$dir/$libname.la"
5989 fi
5990 fi
5991 ;;
5992 esac
5993 if test "X$found_dir" != "X"; then
5994 break
5995 fi
5996 done
5997 fi
5998 if test "X$found_dir" != "X"; then
5999 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6000 if test "X$found_so" != "X"; then
6001 if test "$enable_rpath" = no \
6002 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6003 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
6004 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
6005 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6006 else
6007 haveit=
6008 for x in $ltrpathdirs; do
6009 if test "X$x" = "X$found_dir"; then
6010 haveit=yes
6011 break
6012 fi
6013 done
6014 if test -z "$haveit"; then
6015 ltrpathdirs="$ltrpathdirs $found_dir"
6016 fi
6017 if test "$acl_hardcode_direct" = yes; then
6018 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6019 else
6020 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6021 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6022 haveit=
6023 for x in $rpathdirs; do
6024 if test "X$x" = "X$found_dir"; then
6025 haveit=yes
6026 break
6027 fi
6028 done
6029 if test -z "$haveit"; then
6030 rpathdirs="$rpathdirs $found_dir"
6031 fi
6032 else
6033 haveit=
6034 for x in $LDFLAGS $LIBICONV; do
6035
6036 acl_save_prefix="$prefix"
6037 prefix="$acl_final_prefix"
6038 acl_save_exec_prefix="$exec_prefix"
6039 exec_prefix="$acl_final_exec_prefix"
6040 eval x=\"$x\"
6041 exec_prefix="$acl_save_exec_prefix"
6042 prefix="$acl_save_prefix"
6043
6044 if test "X$x" = "X-L$found_dir"; then
6045 haveit=yes
6046 break
6047 fi
6048 done
6049 if test -z "$haveit"; then
6050 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6051 fi
6052 if test "$acl_hardcode_minus_L" != no; then
6053 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6054 else
6055 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6056 fi
6057 fi
6058 fi
6059 fi
6060 else
6061 if test "X$found_a" != "X"; then
6062 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
6063 else
6064 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6065 fi
6066 fi
6067 additional_includedir=
6068 case "$found_dir" in
6069 */$acl_libdirstem | */$acl_libdirstem/)
6070 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6071 if test "$name" = 'iconv'; then
6072 LIBICONV_PREFIX="$basedir"
6073 fi
6074 additional_includedir="$basedir/include"
6075 ;;
6076 */$acl_libdirstem2 | */$acl_libdirstem2/)
6077 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6078 if test "$name" = 'iconv'; then
6079 LIBICONV_PREFIX="$basedir"
6080 fi
6081 additional_includedir="$basedir/include"
6082 ;;
6083 */$acl_libdirstem3 | */$acl_libdirstem3/)
6084 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
6085 if test "$name" = 'iconv'; then
6086 LIBICONV_PREFIX="$basedir"
6087 fi
6088 additional_includedir="$basedir/include"
6089 ;;
6090 esac
6091 if test "X$additional_includedir" != "X"; then
6092 if test "X$additional_includedir" != "X/usr/include"; then
6093 haveit=
6094 if test "X$additional_includedir" = "X/usr/local/include"; then
6095 if test -n "$GCC"; then
6096 case $host_os in
6097 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6098 esac
6099 fi
6100 fi
6101 if test -z "$haveit"; then
6102 for x in $CPPFLAGS $INCICONV; do
6103
6104 acl_save_prefix="$prefix"
6105 prefix="$acl_final_prefix"
6106 acl_save_exec_prefix="$exec_prefix"
6107 exec_prefix="$acl_final_exec_prefix"
6108 eval x=\"$x\"
6109 exec_prefix="$acl_save_exec_prefix"
6110 prefix="$acl_save_prefix"
6111
6112 if test "X$x" = "X-I$additional_includedir"; then
6113 haveit=yes
6114 break
6115 fi
6116 done
6117 if test -z "$haveit"; then
6118 if test -d "$additional_includedir"; then
6119 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6120 fi
6121 fi
6122 fi
6123 fi
6124 fi
6125 if test -n "$found_la"; then
6126 save_libdir="$libdir"
6127 case "$found_la" in
6128 */* | *\\*) . "$found_la" ;;
6129 *) . "./$found_la" ;;
6130 esac
6131 libdir="$save_libdir"
6132 for dep in $dependency_libs; do
6133 case "$dep" in
6134 -L*)
6135 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6136 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
6137 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
6138 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
6139 haveit=
6140 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
6141 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
6142 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
6143 if test -n "$GCC"; then
6144 case $host_os in
6145 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6146 esac
6147 fi
6148 fi
6149 if test -z "$haveit"; then
6150 haveit=
6151 for x in $LDFLAGS $LIBICONV; do
6152
6153 acl_save_prefix="$prefix"
6154 prefix="$acl_final_prefix"
6155 acl_save_exec_prefix="$exec_prefix"
6156 exec_prefix="$acl_final_exec_prefix"
6157 eval x=\"$x\"
6158 exec_prefix="$acl_save_exec_prefix"
6159 prefix="$acl_save_prefix"
6160
6161 if test "X$x" = "X-L$dependency_libdir"; then
6162 haveit=yes
6163 break
6164 fi
6165 done
6166 if test -z "$haveit"; then
6167 if test -d "$dependency_libdir"; then
6168 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
6169 fi
6170 fi
6171 haveit=
6172 for x in $LDFLAGS $LTLIBICONV; do
6173
6174 acl_save_prefix="$prefix"
6175 prefix="$acl_final_prefix"
6176 acl_save_exec_prefix="$exec_prefix"
6177 exec_prefix="$acl_final_exec_prefix"
6178 eval x=\"$x\"
6179 exec_prefix="$acl_save_exec_prefix"
6180 prefix="$acl_save_prefix"
6181
6182 if test "X$x" = "X-L$dependency_libdir"; then
6183 haveit=yes
6184 break
6185 fi
6186 done
6187 if test -z "$haveit"; then
6188 if test -d "$dependency_libdir"; then
6189 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
6190 fi
6191 fi
6192 fi
6193 fi
6194 ;;
6195 -R*)
6196 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6197 if test "$enable_rpath" != no; then
6198 haveit=
6199 for x in $rpathdirs; do
6200 if test "X$x" = "X$dir"; then
6201 haveit=yes
6202 break
6203 fi
6204 done
6205 if test -z "$haveit"; then
6206 rpathdirs="$rpathdirs $dir"
6207 fi
6208 haveit=
6209 for x in $ltrpathdirs; do
6210 if test "X$x" = "X$dir"; then
6211 haveit=yes
6212 break
6213 fi
6214 done
6215 if test -z "$haveit"; then
6216 ltrpathdirs="$ltrpathdirs $dir"
6217 fi
6218 fi
6219 ;;
6220 -l*)
6221 dep=`echo "X$dep" | sed -e 's/^X-l//'`
6222 if test "X$dep" != Xc \
6223 || case $host_os in
6224 linux* | gnu* | k*bsd*-gnu) false ;;
6225 *) true ;;
6226 esac; then
6227 names_next_round="$names_next_round $dep"
6228 fi
6229 ;;
6230 *.la)
6231 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6232 ;;
6233 *)
6234 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
6235 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6236 ;;
6237 esac
6238 done
6239 fi
6240 else
6241 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6242 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6243 fi
6244 fi
6245 fi
6246 done
6247 done
6248 if test "X$rpathdirs" != "X"; then
6249 if test -n "$acl_hardcode_libdir_separator"; then
6250 alldirs=
6251 for found_dir in $rpathdirs; do
6252 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6253 done
6254 acl_save_libdir="$libdir"
6255 libdir="$alldirs"
6256 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6257 libdir="$acl_save_libdir"
6258 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6259 else
6260 for found_dir in $rpathdirs; do
6261 acl_save_libdir="$libdir"
6262 libdir="$found_dir"
6263 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6264 libdir="$acl_save_libdir"
6265 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6266 done
6267 fi
6268 fi
6269 if test "X$ltrpathdirs" != "X"; then
6270 for found_dir in $ltrpathdirs; do
6271 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6272 done
6273 fi
6274
6275
6276
6277
6278
6279
6280
6281 gl_sed_double_backslashes='s/\\/\\\\/g'
6282 gl_sed_escape_doublequotes='s/"/\\"/g'
6283 gl_sed_escape_for_make_1="s,\\([ \"&'();<>\\\\\`|]\\),\\\\\\1,g"
6284 gl_sed_escape_for_make_2='s,\$,\\$$,g'
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6309 printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
6310 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
6311 then :
6312 printf %s "(cached) " >&6
6313 else $as_nop
6314 gt_save_LIBS="$LIBS"
6315 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6318 #include <CoreFoundation/CFPreferences.h>
6319 int
6320 main (void)
6321 {
6322 CFPreferencesCopyAppValue(NULL, NULL)
6323 ;
6324 return 0;
6325 }
6326 _ACEOF
6327 if ac_fn_c_try_link "$LINENO"
6328 then :
6329 gt_cv_func_CFPreferencesCopyAppValue=yes
6330 else $as_nop
6331 gt_cv_func_CFPreferencesCopyAppValue=no
6332 fi
6333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6334 conftest$ac_exeext conftest.$ac_ext
6335 LIBS="$gt_save_LIBS"
6336 fi
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6338 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6339 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6340
6341 printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6342
6343 fi
6344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
6345 printf %s "checking for CFLocaleCopyPreferredLanguages... " >&6; }
6346 if test ${gt_cv_func_CFLocaleCopyPreferredLanguages+y}
6347 then :
6348 printf %s "(cached) " >&6
6349 else $as_nop
6350 gt_save_LIBS="$LIBS"
6351 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #include <CoreFoundation/CFLocale.h>
6355 int
6356 main (void)
6357 {
6358 CFLocaleCopyPreferredLanguages();
6359 ;
6360 return 0;
6361 }
6362 _ACEOF
6363 if ac_fn_c_try_link "$LINENO"
6364 then :
6365 gt_cv_func_CFLocaleCopyPreferredLanguages=yes
6366 else $as_nop
6367 gt_cv_func_CFLocaleCopyPreferredLanguages=no
6368 fi
6369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6370 conftest$ac_exeext conftest.$ac_ext
6371 LIBS="$gt_save_LIBS"
6372 fi
6373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
6374 printf "%s\n" "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
6375 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
6376
6377 printf "%s\n" "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
6378
6379 fi
6380 INTL_MACOSX_LIBS=
6381 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
6382 || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
6383 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6384 fi
6385
6386
6387
6388
6389
6390
6391 LIBINTL=
6392 LTLIBINTL=
6393 POSUB=
6394
6395 case " $gt_needs " in
6396 *" need-formatstring-macros "*) gt_api_version=3 ;;
6397 *" need-ngettext "*) gt_api_version=2 ;;
6398 *) gt_api_version=1 ;;
6399 esac
6400 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6401 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6402
6403 if test "$USE_NLS" = "yes"; then
6404 gt_use_preinstalled_gnugettext=no
6405
6406
6407 if test $gt_api_version -ge 3; then
6408 gt_revision_test_code='
6409 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6410 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6411 #endif
6412 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6413 '
6414 else
6415 gt_revision_test_code=
6416 fi
6417 if test $gt_api_version -ge 2; then
6418 gt_expression_test_code=' + * ngettext ("", "", 0)'
6419 else
6420 gt_expression_test_code=
6421 fi
6422
6423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6424 printf %s "checking for GNU gettext in libc... " >&6; }
6425 if eval test \${$gt_func_gnugettext_libc+y}
6426 then :
6427 printf %s "(cached) " >&6
6428 else $as_nop
6429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6430 /* end confdefs.h. */
6431
6432 #include <libintl.h>
6433 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6434 extern int _nl_msg_cat_cntr;
6435 extern int *_nl_domain_bindings;
6436 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
6437 #else
6438 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6439 #endif
6440 $gt_revision_test_code
6441
6442 int
6443 main (void)
6444 {
6445
6446 bindtextdomain ("", "");
6447 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
6448
6449 ;
6450 return 0;
6451 }
6452 _ACEOF
6453 if ac_fn_c_try_link "$LINENO"
6454 then :
6455 eval "$gt_func_gnugettext_libc=yes"
6456 else $as_nop
6457 eval "$gt_func_gnugettext_libc=no"
6458 fi
6459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6460 conftest$ac_exeext conftest.$ac_ext
6461 fi
6462 eval ac_res=\$$gt_func_gnugettext_libc
6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6464 printf "%s\n" "$ac_res" >&6; }
6465
6466 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6467
6468
6469
6470
6471
6472 am_save_CPPFLAGS="$CPPFLAGS"
6473
6474 for element in $INCICONV; do
6475 haveit=
6476 for x in $CPPFLAGS; do
6477
6478 acl_save_prefix="$prefix"
6479 prefix="$acl_final_prefix"
6480 acl_save_exec_prefix="$exec_prefix"
6481 exec_prefix="$acl_final_exec_prefix"
6482 eval x=\"$x\"
6483 exec_prefix="$acl_save_exec_prefix"
6484 prefix="$acl_save_prefix"
6485
6486 if test "X$x" = "X$element"; then
6487 haveit=yes
6488 break
6489 fi
6490 done
6491 if test -z "$haveit"; then
6492 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6493 fi
6494 done
6495
6496
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6498 printf %s "checking for iconv... " >&6; }
6499 if test ${am_cv_func_iconv+y}
6500 then :
6501 printf %s "(cached) " >&6
6502 else $as_nop
6503
6504 am_cv_func_iconv="no, consider installing GNU libiconv"
6505 am_cv_lib_iconv=no
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6508
6509 #include <stdlib.h>
6510 #include <iconv.h>
6511
6512 int
6513 main (void)
6514 {
6515 iconv_t cd = iconv_open("","");
6516 iconv(cd,NULL,NULL,NULL,NULL);
6517 iconv_close(cd);
6518 ;
6519 return 0;
6520 }
6521 _ACEOF
6522 if ac_fn_c_try_link "$LINENO"
6523 then :
6524 am_cv_func_iconv=yes
6525 fi
6526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6527 conftest$ac_exeext conftest.$ac_ext
6528 if test "$am_cv_func_iconv" != yes; then
6529 am_save_LIBS="$LIBS"
6530 LIBS="$LIBS $LIBICONV"
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533
6534 #include <stdlib.h>
6535 #include <iconv.h>
6536
6537 int
6538 main (void)
6539 {
6540 iconv_t cd = iconv_open("","");
6541 iconv(cd,NULL,NULL,NULL,NULL);
6542 iconv_close(cd);
6543 ;
6544 return 0;
6545 }
6546 _ACEOF
6547 if ac_fn_c_try_link "$LINENO"
6548 then :
6549 am_cv_lib_iconv=yes
6550 am_cv_func_iconv=yes
6551 fi
6552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6553 conftest$ac_exeext conftest.$ac_ext
6554 LIBS="$am_save_LIBS"
6555 fi
6556
6557 fi
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6559 printf "%s\n" "$am_cv_func_iconv" >&6; }
6560 if test "$am_cv_func_iconv" = yes; then
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6562 printf %s "checking for working iconv... " >&6; }
6563 if test ${am_cv_func_iconv_works+y}
6564 then :
6565 printf %s "(cached) " >&6
6566 else $as_nop
6567
6568 am_save_LIBS="$LIBS"
6569 if test $am_cv_lib_iconv = yes; then
6570 LIBS="$LIBS $LIBICONV"
6571 fi
6572 am_cv_func_iconv_works=no
6573 for ac_iconv_const in '' 'const'; do
6574 if test "$cross_compiling" = yes
6575 then :
6576 case "$host_os" in
6577 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6578 *) am_cv_func_iconv_works="guessing yes" ;;
6579 esac
6580 else $as_nop
6581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582 /* end confdefs.h. */
6583
6584 #include <iconv.h>
6585 #include <string.h>
6586
6587 #ifndef ICONV_CONST
6588 # define ICONV_CONST $ac_iconv_const
6589 #endif
6590
6591 int
6592 main (void)
6593 {
6594 int result = 0;
6595 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
6596 successful returns. This is even documented in
6597 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
6598 {
6599 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6600 if (cd_utf8_to_88591 != (iconv_t)(-1))
6601 {
6602 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
6603 char buf[10];
6604 ICONV_CONST char *inptr = input;
6605 size_t inbytesleft = strlen (input);
6606 char *outptr = buf;
6607 size_t outbytesleft = sizeof (buf);
6608 size_t res = iconv (cd_utf8_to_88591,
6609 &inptr, &inbytesleft,
6610 &outptr, &outbytesleft);
6611 if (res == 0)
6612 result |= 1;
6613 iconv_close (cd_utf8_to_88591);
6614 }
6615 }
6616 /* Test against Solaris 10 bug: Failures are not distinguishable from
6617 successful returns. */
6618 {
6619 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6620 if (cd_ascii_to_88591 != (iconv_t)(-1))
6621 {
6622 static ICONV_CONST char input[] = "\263";
6623 char buf[10];
6624 ICONV_CONST char *inptr = input;
6625 size_t inbytesleft = strlen (input);
6626 char *outptr = buf;
6627 size_t outbytesleft = sizeof (buf);
6628 size_t res = iconv (cd_ascii_to_88591,
6629 &inptr, &inbytesleft,
6630 &outptr, &outbytesleft);
6631 if (res == 0)
6632 result |= 2;
6633 iconv_close (cd_ascii_to_88591);
6634 }
6635 }
6636 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
6637 {
6638 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
6639 if (cd_88591_to_utf8 != (iconv_t)(-1))
6640 {
6641 static ICONV_CONST char input[] = "\304";
6642 static char buf[2] = { (char)0xDE, (char)0xAD };
6643 ICONV_CONST char *inptr = input;
6644 size_t inbytesleft = 1;
6645 char *outptr = buf;
6646 size_t outbytesleft = 1;
6647 size_t res = iconv (cd_88591_to_utf8,
6648 &inptr, &inbytesleft,
6649 &outptr, &outbytesleft);
6650 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
6651 result |= 4;
6652 iconv_close (cd_88591_to_utf8);
6653 }
6654 }
6655 #if 0 /* This bug could be worked around by the caller. */
6656 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6657 {
6658 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6659 if (cd_88591_to_utf8 != (iconv_t)(-1))
6660 {
6661 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6662 char buf[50];
6663 ICONV_CONST char *inptr = input;
6664 size_t inbytesleft = strlen (input);
6665 char *outptr = buf;
6666 size_t outbytesleft = sizeof (buf);
6667 size_t res = iconv (cd_88591_to_utf8,
6668 &inptr, &inbytesleft,
6669 &outptr, &outbytesleft);
6670 if ((int)res > 0)
6671 result |= 8;
6672 iconv_close (cd_88591_to_utf8);
6673 }
6674 }
6675 #endif
6676 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6677 provided. */
6678 {
6679 /* Try standardized names. */
6680 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
6681 /* Try IRIX, OSF/1 names. */
6682 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
6683 /* Try AIX names. */
6684 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
6685 /* Try HP-UX names. */
6686 iconv_t cd4 = iconv_open ("utf8", "eucJP");
6687 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
6688 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
6689 result |= 16;
6690 if (cd1 != (iconv_t)(-1))
6691 iconv_close (cd1);
6692 if (cd2 != (iconv_t)(-1))
6693 iconv_close (cd2);
6694 if (cd3 != (iconv_t)(-1))
6695 iconv_close (cd3);
6696 if (cd4 != (iconv_t)(-1))
6697 iconv_close (cd4);
6698 }
6699 return result;
6700
6701 ;
6702 return 0;
6703 }
6704 _ACEOF
6705 if ac_fn_c_try_run "$LINENO"
6706 then :
6707 am_cv_func_iconv_works=yes
6708 fi
6709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6710 conftest.$ac_objext conftest.beam conftest.$ac_ext
6711 fi
6712
6713 test "$am_cv_func_iconv_works" = no || break
6714 done
6715 LIBS="$am_save_LIBS"
6716
6717 fi
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6719 printf "%s\n" "$am_cv_func_iconv_works" >&6; }
6720 case "$am_cv_func_iconv_works" in
6721 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6722 *) am_func_iconv=yes ;;
6723 esac
6724 else
6725 am_func_iconv=no am_cv_lib_iconv=no
6726 fi
6727 if test "$am_func_iconv" = yes; then
6728
6729 printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
6730
6731 fi
6732 if test "$am_cv_lib_iconv" = yes; then
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6734 printf %s "checking how to link with libiconv... " >&6; }
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6736 printf "%s\n" "$LIBICONV" >&6; }
6737 else
6738 CPPFLAGS="$am_save_CPPFLAGS"
6739 LIBICONV=
6740 LTLIBICONV=
6741 fi
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752 use_additional=yes
6753
6754 acl_save_prefix="$prefix"
6755 prefix="$acl_final_prefix"
6756 acl_save_exec_prefix="$exec_prefix"
6757 exec_prefix="$acl_final_exec_prefix"
6758
6759 eval additional_includedir=\"$includedir\"
6760 eval additional_libdir=\"$libdir\"
6761 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
6762 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
6763
6764 exec_prefix="$acl_save_exec_prefix"
6765 prefix="$acl_save_prefix"
6766
6767
6768 # Check whether --with-libintl-prefix was given.
6769 if test ${with_libintl_prefix+y}
6770 then :
6771 withval=$with_libintl_prefix;
6772 if test "X$withval" = "Xno"; then
6773 use_additional=no
6774 else
6775 if test "X$withval" = "X"; then
6776
6777 acl_save_prefix="$prefix"
6778 prefix="$acl_final_prefix"
6779 acl_save_exec_prefix="$exec_prefix"
6780 exec_prefix="$acl_final_exec_prefix"
6781
6782 eval additional_includedir=\"$includedir\"
6783 eval additional_libdir=\"$libdir\"
6784 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
6785 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
6786
6787 exec_prefix="$acl_save_exec_prefix"
6788 prefix="$acl_save_prefix"
6789
6790 else
6791 additional_includedir="$withval/include"
6792 additional_libdir="$withval/$acl_libdirstem"
6793 additional_libdir2="$withval/$acl_libdirstem2"
6794 additional_libdir3="$withval/$acl_libdirstem3"
6795 fi
6796 fi
6797
6798 fi
6799
6800 if test "X$additional_libdir2" = "X$additional_libdir"; then
6801 additional_libdir2=
6802 fi
6803 if test "X$additional_libdir3" = "X$additional_libdir"; then
6804 additional_libdir3=
6805 fi
6806 LIBINTL=
6807 LTLIBINTL=
6808 INCINTL=
6809 LIBINTL_PREFIX=
6810 HAVE_LIBINTL=
6811 rpathdirs=
6812 ltrpathdirs=
6813 names_already_handled=
6814 names_next_round='intl '
6815 while test -n "$names_next_round"; do
6816 names_this_round="$names_next_round"
6817 names_next_round=
6818 for name in $names_this_round; do
6819 already_handled=
6820 for n in $names_already_handled; do
6821 if test "$n" = "$name"; then
6822 already_handled=yes
6823 break
6824 fi
6825 done
6826 if test -z "$already_handled"; then
6827 names_already_handled="$names_already_handled $name"
6828 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6829 eval value=\"\$HAVE_LIB$uppername\"
6830 if test -n "$value"; then
6831 if test "$value" = yes; then
6832 eval value=\"\$LIB$uppername\"
6833 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6834 eval value=\"\$LTLIB$uppername\"
6835 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6836 else
6837 :
6838 fi
6839 else
6840 found_dir=
6841 found_la=
6842 found_so=
6843 found_a=
6844 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6845 if test -n "$acl_shlibext"; then
6846 shrext=".$acl_shlibext" # typically: shrext=.so
6847 else
6848 shrext=
6849 fi
6850 if test $use_additional = yes; then
6851 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
6852 if test "X$found_dir" = "X"; then
6853 eval dir=\$$additional_libdir_variable
6854 if test -n "$dir"; then
6855 if test -n "$acl_shlibext"; then
6856 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
6857 found_dir="$dir"
6858 found_so="$dir/$libname$shrext"
6859 else
6860 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6861 ver=`(cd "$dir" && \
6862 for f in "$libname$shrext".*; do echo "$f"; done \
6863 | sed -e "s,^$libname$shrext\\\\.,," \
6864 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6865 | sed 1q ) 2>/dev/null`
6866 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
6867 found_dir="$dir"
6868 found_so="$dir/$libname$shrext.$ver"
6869 fi
6870 else
6871 eval library_names=\"$acl_library_names_spec\"
6872 for f in $library_names; do
6873 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
6874 found_dir="$dir"
6875 found_so="$dir/$f"
6876 break
6877 fi
6878 done
6879 fi
6880 fi
6881 fi
6882 if test "X$found_dir" = "X"; then
6883 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
6884 found_dir="$dir"
6885 found_a="$dir/$libname.$acl_libext"
6886 fi
6887 fi
6888 if test "X$found_dir" != "X"; then
6889 if test -f "$dir/$libname.la"; then
6890 found_la="$dir/$libname.la"
6891 fi
6892 fi
6893 fi
6894 fi
6895 done
6896 fi
6897 if test "X$found_dir" = "X"; then
6898 for x in $LDFLAGS $LTLIBINTL; do
6899
6900 acl_save_prefix="$prefix"
6901 prefix="$acl_final_prefix"
6902 acl_save_exec_prefix="$exec_prefix"
6903 exec_prefix="$acl_final_exec_prefix"
6904 eval x=\"$x\"
6905 exec_prefix="$acl_save_exec_prefix"
6906 prefix="$acl_save_prefix"
6907
6908 case "$x" in
6909 -L*)
6910 dir=`echo "X$x" | sed -e 's/^X-L//'`
6911 if test -n "$acl_shlibext"; then
6912 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
6913 found_dir="$dir"
6914 found_so="$dir/$libname$shrext"
6915 else
6916 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6917 ver=`(cd "$dir" && \
6918 for f in "$libname$shrext".*; do echo "$f"; done \
6919 | sed -e "s,^$libname$shrext\\\\.,," \
6920 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6921 | sed 1q ) 2>/dev/null`
6922 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
6923 found_dir="$dir"
6924 found_so="$dir/$libname$shrext.$ver"
6925 fi
6926 else
6927 eval library_names=\"$acl_library_names_spec\"
6928 for f in $library_names; do
6929 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
6930 found_dir="$dir"
6931 found_so="$dir/$f"
6932 break
6933 fi
6934 done
6935 fi
6936 fi
6937 fi
6938 if test "X$found_dir" = "X"; then
6939 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
6940 found_dir="$dir"
6941 found_a="$dir/$libname.$acl_libext"
6942 fi
6943 fi
6944 if test "X$found_dir" != "X"; then
6945 if test -f "$dir/$libname.la"; then
6946 found_la="$dir/$libname.la"
6947 fi
6948 fi
6949 ;;
6950 esac
6951 if test "X$found_dir" != "X"; then
6952 break
6953 fi
6954 done
6955 fi
6956 if test "X$found_dir" != "X"; then
6957 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6958 if test "X$found_so" != "X"; then
6959 if test "$enable_rpath" = no \
6960 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6961 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
6962 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
6963 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6964 else
6965 haveit=
6966 for x in $ltrpathdirs; do
6967 if test "X$x" = "X$found_dir"; then
6968 haveit=yes
6969 break
6970 fi
6971 done
6972 if test -z "$haveit"; then
6973 ltrpathdirs="$ltrpathdirs $found_dir"
6974 fi
6975 if test "$acl_hardcode_direct" = yes; then
6976 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6977 else
6978 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6979 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6980 haveit=
6981 for x in $rpathdirs; do
6982 if test "X$x" = "X$found_dir"; then
6983 haveit=yes
6984 break
6985 fi
6986 done
6987 if test -z "$haveit"; then
6988 rpathdirs="$rpathdirs $found_dir"
6989 fi
6990 else
6991 haveit=
6992 for x in $LDFLAGS $LIBINTL; do
6993
6994 acl_save_prefix="$prefix"
6995 prefix="$acl_final_prefix"
6996 acl_save_exec_prefix="$exec_prefix"
6997 exec_prefix="$acl_final_exec_prefix"
6998 eval x=\"$x\"
6999 exec_prefix="$acl_save_exec_prefix"
7000 prefix="$acl_save_prefix"
7001
7002 if test "X$x" = "X-L$found_dir"; then
7003 haveit=yes
7004 break
7005 fi
7006 done
7007 if test -z "$haveit"; then
7008 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
7009 fi
7010 if test "$acl_hardcode_minus_L" != no; then
7011 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
7012 else
7013 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
7014 fi
7015 fi
7016 fi
7017 fi
7018 else
7019 if test "X$found_a" != "X"; then
7020 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
7021 else
7022 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
7023 fi
7024 fi
7025 additional_includedir=
7026 case "$found_dir" in
7027 */$acl_libdirstem | */$acl_libdirstem/)
7028 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7029 if test "$name" = 'intl'; then
7030 LIBINTL_PREFIX="$basedir"
7031 fi
7032 additional_includedir="$basedir/include"
7033 ;;
7034 */$acl_libdirstem2 | */$acl_libdirstem2/)
7035 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7036 if test "$name" = 'intl'; then
7037 LIBINTL_PREFIX="$basedir"
7038 fi
7039 additional_includedir="$basedir/include"
7040 ;;
7041 */$acl_libdirstem3 | */$acl_libdirstem3/)
7042 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
7043 if test "$name" = 'intl'; then
7044 LIBINTL_PREFIX="$basedir"
7045 fi
7046 additional_includedir="$basedir/include"
7047 ;;
7048 esac
7049 if test "X$additional_includedir" != "X"; then
7050 if test "X$additional_includedir" != "X/usr/include"; then
7051 haveit=
7052 if test "X$additional_includedir" = "X/usr/local/include"; then
7053 if test -n "$GCC"; then
7054 case $host_os in
7055 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7056 esac
7057 fi
7058 fi
7059 if test -z "$haveit"; then
7060 for x in $CPPFLAGS $INCINTL; do
7061
7062 acl_save_prefix="$prefix"
7063 prefix="$acl_final_prefix"
7064 acl_save_exec_prefix="$exec_prefix"
7065 exec_prefix="$acl_final_exec_prefix"
7066 eval x=\"$x\"
7067 exec_prefix="$acl_save_exec_prefix"
7068 prefix="$acl_save_prefix"
7069
7070 if test "X$x" = "X-I$additional_includedir"; then
7071 haveit=yes
7072 break
7073 fi
7074 done
7075 if test -z "$haveit"; then
7076 if test -d "$additional_includedir"; then
7077 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
7078 fi
7079 fi
7080 fi
7081 fi
7082 fi
7083 if test -n "$found_la"; then
7084 save_libdir="$libdir"
7085 case "$found_la" in
7086 */* | *\\*) . "$found_la" ;;
7087 *) . "./$found_la" ;;
7088 esac
7089 libdir="$save_libdir"
7090 for dep in $dependency_libs; do
7091 case "$dep" in
7092 -L*)
7093 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7094 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
7095 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
7096 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
7097 haveit=
7098 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
7099 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
7100 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
7101 if test -n "$GCC"; then
7102 case $host_os in
7103 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7104 esac
7105 fi
7106 fi
7107 if test -z "$haveit"; then
7108 haveit=
7109 for x in $LDFLAGS $LIBINTL; do
7110
7111 acl_save_prefix="$prefix"
7112 prefix="$acl_final_prefix"
7113 acl_save_exec_prefix="$exec_prefix"
7114 exec_prefix="$acl_final_exec_prefix"
7115 eval x=\"$x\"
7116 exec_prefix="$acl_save_exec_prefix"
7117 prefix="$acl_save_prefix"
7118
7119 if test "X$x" = "X-L$dependency_libdir"; then
7120 haveit=yes
7121 break
7122 fi
7123 done
7124 if test -z "$haveit"; then
7125 if test -d "$dependency_libdir"; then
7126 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir"
7127 fi
7128 fi
7129 haveit=
7130 for x in $LDFLAGS $LTLIBINTL; do
7131
7132 acl_save_prefix="$prefix"
7133 prefix="$acl_final_prefix"
7134 acl_save_exec_prefix="$exec_prefix"
7135 exec_prefix="$acl_final_exec_prefix"
7136 eval x=\"$x\"
7137 exec_prefix="$acl_save_exec_prefix"
7138 prefix="$acl_save_prefix"
7139
7140 if test "X$x" = "X-L$dependency_libdir"; then
7141 haveit=yes
7142 break
7143 fi
7144 done
7145 if test -z "$haveit"; then
7146 if test -d "$dependency_libdir"; then
7147 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir"
7148 fi
7149 fi
7150 fi
7151 fi
7152 ;;
7153 -R*)
7154 dir=`echo "X$dep" | sed -e 's/^X-R//'`
7155 if test "$enable_rpath" != no; then
7156 haveit=
7157 for x in $rpathdirs; do
7158 if test "X$x" = "X$dir"; then
7159 haveit=yes
7160 break
7161 fi
7162 done
7163 if test -z "$haveit"; then
7164 rpathdirs="$rpathdirs $dir"
7165 fi
7166 haveit=
7167 for x in $ltrpathdirs; do
7168 if test "X$x" = "X$dir"; then
7169 haveit=yes
7170 break
7171 fi
7172 done
7173 if test -z "$haveit"; then
7174 ltrpathdirs="$ltrpathdirs $dir"
7175 fi
7176 fi
7177 ;;
7178 -l*)
7179 dep=`echo "X$dep" | sed -e 's/^X-l//'`
7180 if test "X$dep" != Xc \
7181 || case $host_os in
7182 linux* | gnu* | k*bsd*-gnu) false ;;
7183 *) true ;;
7184 esac; then
7185 names_next_round="$names_next_round $dep"
7186 fi
7187 ;;
7188 *.la)
7189 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7190 ;;
7191 *)
7192 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
7193 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
7194 ;;
7195 esac
7196 done
7197 fi
7198 else
7199 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
7200 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
7201 fi
7202 fi
7203 fi
7204 done
7205 done
7206 if test "X$rpathdirs" != "X"; then
7207 if test -n "$acl_hardcode_libdir_separator"; then
7208 alldirs=
7209 for found_dir in $rpathdirs; do
7210 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7211 done
7212 acl_save_libdir="$libdir"
7213 libdir="$alldirs"
7214 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7215 libdir="$acl_save_libdir"
7216 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
7217 else
7218 for found_dir in $rpathdirs; do
7219 acl_save_libdir="$libdir"
7220 libdir="$found_dir"
7221 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7222 libdir="$acl_save_libdir"
7223 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
7224 done
7225 fi
7226 fi
7227 if test "X$ltrpathdirs" != "X"; then
7228 for found_dir in $ltrpathdirs; do
7229 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7230 done
7231 fi
7232
7233
7234
7235
7236
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7238 printf %s "checking for GNU gettext in libintl... " >&6; }
7239 if eval test \${$gt_func_gnugettext_libintl+y}
7240 then :
7241 printf %s "(cached) " >&6
7242 else $as_nop
7243 gt_save_CPPFLAGS="$CPPFLAGS"
7244 CPPFLAGS="$CPPFLAGS $INCINTL"
7245 gt_save_LIBS="$LIBS"
7246 LIBS="$LIBS $LIBINTL"
7247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7248 /* end confdefs.h. */
7249
7250 #include <libintl.h>
7251 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7252 extern int _nl_msg_cat_cntr;
7253 extern
7254 #ifdef __cplusplus
7255 "C"
7256 #endif
7257 const char *_nl_expand_alias (const char *);
7258 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
7259 #else
7260 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7261 #endif
7262 $gt_revision_test_code
7263
7264 int
7265 main (void)
7266 {
7267
7268 bindtextdomain ("", "");
7269 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7270
7271 ;
7272 return 0;
7273 }
7274 _ACEOF
7275 if ac_fn_c_try_link "$LINENO"
7276 then :
7277 eval "$gt_func_gnugettext_libintl=yes"
7278 else $as_nop
7279 eval "$gt_func_gnugettext_libintl=no"
7280 fi
7281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7282 conftest$ac_exeext conftest.$ac_ext
7283 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
7284 LIBS="$LIBS $LIBICONV"
7285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286 /* end confdefs.h. */
7287
7288 #include <libintl.h>
7289 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7290 extern int _nl_msg_cat_cntr;
7291 extern
7292 #ifdef __cplusplus
7293 "C"
7294 #endif
7295 const char *_nl_expand_alias (const char *);
7296 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
7297 #else
7298 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7299 #endif
7300 $gt_revision_test_code
7301
7302 int
7303 main (void)
7304 {
7305
7306 bindtextdomain ("", "");
7307 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7308
7309 ;
7310 return 0;
7311 }
7312 _ACEOF
7313 if ac_fn_c_try_link "$LINENO"
7314 then :
7315 LIBINTL="$LIBINTL $LIBICONV"
7316 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7317 eval "$gt_func_gnugettext_libintl=yes"
7318
7319 fi
7320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7321 conftest$ac_exeext conftest.$ac_ext
7322 fi
7323 CPPFLAGS="$gt_save_CPPFLAGS"
7324 LIBS="$gt_save_LIBS"
7325 fi
7326 eval ac_res=\$$gt_func_gnugettext_libintl
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7328 printf "%s\n" "$ac_res" >&6; }
7329 fi
7330
7331 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7332 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7333 && test "$PACKAGE" != gettext-runtime \
7334 && test "$PACKAGE" != gettext-tools \
7335 && test "$PACKAGE" != libintl; }; then
7336 gt_use_preinstalled_gnugettext=yes
7337 else
7338 LIBINTL=
7339 LTLIBINTL=
7340 INCINTL=
7341 fi
7342
7343
7344
7345 if test -n "$INTL_MACOSX_LIBS"; then
7346 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7347 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7348 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7349 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7350 fi
7351 fi
7352
7353 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7354 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7355
7356 printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
7357
7358 else
7359 USE_NLS=no
7360 fi
7361 fi
7362
7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7364 printf %s "checking whether to use NLS... " >&6; }
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7366 printf "%s\n" "$USE_NLS" >&6; }
7367 if test "$USE_NLS" = "yes"; then
7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7369 printf %s "checking where the gettext function comes from... " >&6; }
7370 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7371 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7372 gt_source="external libintl"
7373 else
7374 gt_source="libc"
7375 fi
7376 else
7377 gt_source="included intl directory"
7378 fi
7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7380 printf "%s\n" "$gt_source" >&6; }
7381 fi
7382
7383 if test "$USE_NLS" = "yes"; then
7384
7385 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7386 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7388 printf %s "checking how to link with libintl... " >&6; }
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7390 printf "%s\n" "$LIBINTL" >&6; }
7391
7392 for element in $INCINTL; do
7393 haveit=
7394 for x in $CPPFLAGS; do
7395
7396 acl_save_prefix="$prefix"
7397 prefix="$acl_final_prefix"
7398 acl_save_exec_prefix="$exec_prefix"
7399 exec_prefix="$acl_final_exec_prefix"
7400 eval x=\"$x\"
7401 exec_prefix="$acl_save_exec_prefix"
7402 prefix="$acl_save_prefix"
7403
7404 if test "X$x" = "X$element"; then
7405 haveit=yes
7406 break
7407 fi
7408 done
7409 if test -z "$haveit"; then
7410 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7411 fi
7412 done
7413
7414 fi
7415
7416
7417 printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
7418
7419
7420 printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
7421
7422 fi
7423
7424 POSUB=po
7425 fi
7426
7427
7428
7429
7430 INTLLIBS="$LIBINTL"
7431
7432
7433
7434
7435
7436
7437
7438 gt_save_prefix="${prefix}"
7439 gt_save_datarootdir="${datarootdir}"
7440 gt_save_localedir="${localedir}"
7441 if test "X$prefix" = "XNONE"; then
7442 prefix="$ac_default_prefix"
7443 fi
7444 eval datarootdir="$datarootdir"
7445 eval localedir="$localedir"
7446
7447
7448
7449
7450
7451 gl_final_localedir="$localedir"
7452 case "$build_os" in
7453 cygwin*)
7454 case "$host_os" in
7455 mingw*)
7456 gl_final_localedir=`cygpath -w "$gl_final_localedir"` ;;
7457 esac
7458 ;;
7459 esac
7460 localedir_c=`echo "$gl_final_localedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes"`
7461 localedir_c='"'"$localedir_c"'"'
7462
7463
7464 localedir_c_make=`echo "$localedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2"`
7465 if test "$localedir_c_make" = '\"'"${gl_final_localedir}"'\"'; then
7466 localedir_c_make='\"$(localedir)\"'
7467 fi
7468
7469
7470 localedir="${gt_save_localedir}"
7471 datarootdir="${gt_save_datarootdir}"
7472 prefix="${gt_save_prefix}"
7473
7474
7475
7476
7477
7478
7479
7480
7481 if test -n "$PYTHON"; then
7482 # If the user set $PYTHON, use it and don't search something else.
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.5" >&5
7484 printf %s "checking whether $PYTHON version is >= 3.5... " >&6; }
7485 prog="import sys
7486 # split strings by '.' and convert to numeric. Append some zeros
7487 # because we need at least 4 digits for the hex conversion.
7488 # map returns an iterator in Python 3.0 and a list in 2.x
7489 minver = list(map(int, '3.5'.split('.'))) + [0, 0, 0]
7490 minverhex = 0
7491 # xrange is not present in Python 3.0 and range returns an iterator
7492 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
7493 sys.exit(sys.hexversion < minverhex)"
7494 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
7495 ($PYTHON -c "$prog") >&5 2>&5
7496 ac_status=$?
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); }
7499 then :
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7501 printf "%s\n" "yes" >&6; }
7502 else $as_nop
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 printf "%s\n" "no" >&6; }
7505 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
7506 fi
7507 am_display_PYTHON=$PYTHON
7508 else
7509 # Otherwise, try each interpreter until we find one that satisfies
7510 # VERSION.
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.5" >&5
7512 printf %s "checking for a Python interpreter with version >= 3.5... " >&6; }
7513 if test ${am_cv_pathless_PYTHON+y}
7514 then :
7515 printf %s "(cached) " >&6
7516 else $as_nop
7517
7518 for am_cv_pathless_PYTHON in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
7519 test "$am_cv_pathless_PYTHON" = none && break
7520 prog="import sys
7521 # split strings by '.' and convert to numeric. Append some zeros
7522 # because we need at least 4 digits for the hex conversion.
7523 # map returns an iterator in Python 3.0 and a list in 2.x
7524 minver = list(map(int, '3.5'.split('.'))) + [0, 0, 0]
7525 minverhex = 0
7526 # xrange is not present in Python 3.0 and range returns an iterator
7527 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
7528 sys.exit(sys.hexversion < minverhex)"
7529 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
7530 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
7531 ac_status=$?
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }
7534 then :
7535 break
7536 fi
7537 done
7538 fi
7539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
7540 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
7541 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
7542 if test "$am_cv_pathless_PYTHON" = none; then
7543 PYTHON=:
7544 else
7545 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
7546 set dummy $am_cv_pathless_PYTHON; ac_word=$2
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 printf %s "checking for $ac_word... " >&6; }
7549 if test ${ac_cv_path_PYTHON+y}
7550 then :
7551 printf %s "(cached) " >&6
7552 else $as_nop
7553 case $PYTHON in
7554 [\\/]* | ?:[\\/]*)
7555 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
7556 ;;
7557 *)
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 for as_dir in $PATH
7560 do
7561 IFS=$as_save_IFS
7562 case $as_dir in #(((
7563 '') as_dir=./ ;;
7564 */) ;;
7565 *) as_dir=$as_dir/ ;;
7566 esac
7567 for ac_exec_ext in '' $ac_executable_extensions; do
7568 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7569 ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
7570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7571 break 2
7572 fi
7573 done
7574 done
7575 IFS=$as_save_IFS
7576
7577 ;;
7578 esac
7579 fi
7580 PYTHON=$ac_cv_path_PYTHON
7581 if test -n "$PYTHON"; then
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
7583 printf "%s\n" "$PYTHON" >&6; }
7584 else
7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586 printf "%s\n" "no" >&6; }
7587 fi
7588
7589
7590 fi
7591 am_display_PYTHON=$am_cv_pathless_PYTHON
7592 fi
7593
7594
7595 if test "$PYTHON" = :; then
7596 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
7597 else
7598
7599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
7600 printf %s "checking for $am_display_PYTHON version... " >&6; }
7601 if test ${am_cv_python_version+y}
7602 then :
7603 printf %s "(cached) " >&6
7604 else $as_nop
7605 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
7606 fi
7607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
7608 printf "%s\n" "$am_cv_python_version" >&6; }
7609 PYTHON_VERSION=$am_cv_python_version
7610
7611
7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
7613 printf %s "checking for $am_display_PYTHON platform... " >&6; }
7614 if test ${am_cv_python_platform+y}
7615 then :
7616 printf %s "(cached) " >&6
7617 else $as_nop
7618 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
7619 fi
7620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
7621 printf "%s\n" "$am_cv_python_platform" >&6; }
7622 PYTHON_PLATFORM=$am_cv_python_platform
7623
7624
7625 if test "x$prefix" = xNONE; then
7626 am__usable_prefix=$ac_default_prefix
7627 else
7628 am__usable_prefix=$prefix
7629 fi
7630
7631 # Allow user to request using sys.* values from Python,
7632 # instead of the GNU $prefix values.
7633
7634 # Check whether --with-python-sys-prefix was given.
7635 if test ${with_python_sys_prefix+y}
7636 then :
7637 withval=$with_python_sys_prefix; am_use_python_sys=:
7638 else $as_nop
7639 am_use_python_sys=false
7640 fi
7641
7642
7643 # Allow user to override whatever the default Python prefix is.
7644
7645 # Check whether --with-python_prefix was given.
7646 if test ${with_python_prefix+y}
7647 then :
7648 withval=$with_python_prefix; am_python_prefix_subst=$withval
7649 am_cv_python_prefix=$withval
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
7651 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
7653 printf "%s\n" "$am_cv_python_prefix" >&6; }
7654 else $as_nop
7655
7656 if $am_use_python_sys; then
7657 # using python sys.prefix value, not GNU
7658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
7659 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
7660 if test ${am_cv_python_prefix+y}
7661 then :
7662 printf %s "(cached) " >&6
7663 else $as_nop
7664 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
7665 fi
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
7667 printf "%s\n" "$am_cv_python_prefix" >&6; }
7668
7669 case $am_cv_python_prefix in
7670 $am__usable_prefix*)
7671 am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
7672 am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
7673 ;;
7674 *)
7675 am_python_prefix_subst=$am_cv_python_prefix
7676 ;;
7677 esac
7678 else # using GNU prefix value, not python sys.prefix
7679 am_python_prefix_subst='${prefix}'
7680 am_python_prefix=$am_python_prefix_subst
7681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
7682 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
7683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
7684 printf "%s\n" "$am_python_prefix" >&6; }
7685 fi
7686 fi
7687
7688 # Substituting python_prefix_subst value.
7689 PYTHON_PREFIX=$am_python_prefix_subst
7690
7691
7692 # emacs-page Now do it all over again for Python exec_prefix, but with yet
7693 # another conditional: fall back to regular prefix if that was specified.
7694
7695 # Check whether --with-python_exec_prefix was given.
7696 if test ${with_python_exec_prefix+y}
7697 then :
7698 withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
7699 am_cv_python_exec_prefix=$withval
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
7701 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
7702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
7703 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
7704 else $as_nop
7705
7706 # no explicit --with-python_exec_prefix, but if
7707 # --with-python_prefix was given, use its value for python_exec_prefix too.
7708 if test -n "$with_python_prefix"
7709 then :
7710 am_python_exec_prefix_subst=$with_python_prefix
7711 am_cv_python_exec_prefix=$with_python_prefix
7712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
7713 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
7715 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
7716 else $as_nop
7717
7718 # Set am__usable_exec_prefix whether using GNU or Python values,
7719 # since we use that variable for pyexecdir.
7720 if test "x$exec_prefix" = xNONE; then
7721 am__usable_exec_prefix=$am__usable_prefix
7722 else
7723 am__usable_exec_prefix=$exec_prefix
7724 fi
7725 #
7726 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
7727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
7728 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
7729 if test ${am_cv_python_exec_prefix+y}
7730 then :
7731 printf %s "(cached) " >&6
7732 else $as_nop
7733 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
7734 fi
7735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
7736 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
7737 case $am_cv_python_exec_prefix in
7738 $am__usable_exec_prefix*)
7739 am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
7740 am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
7741 ;;
7742 *)
7743 am_python_exec_prefix_subst=$am_cv_python_exec_prefix
7744 ;;
7745 esac
7746 else # using GNU $exec_prefix, not python sys.exec_prefix
7747 am_python_exec_prefix_subst='${exec_prefix}'
7748 am_python_exec_prefix=$am_python_exec_prefix_subst
7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
7750 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
7751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
7752 printf "%s\n" "$am_python_exec_prefix" >&6; }
7753 fi
7754 fi
7755 fi
7756
7757 # Substituting python_exec_prefix_subst.
7758 PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
7759
7760
7761 # Factor out some code duplication into this shell variable.
7762 am_python_setup_sysconfig="\
7763 import sys
7764 # Prefer sysconfig over distutils.sysconfig, for better compatibility
7765 # with python 3.x. See automake bug#10227.
7766 try:
7767 import sysconfig
7768 except ImportError:
7769 can_use_sysconfig = 0
7770 else:
7771 can_use_sysconfig = 1
7772 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
7773 # <https://github.com/pypa/virtualenv/issues/118>
7774 try:
7775 from platform import python_implementation
7776 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
7777 can_use_sysconfig = 0
7778 except ImportError:
7779 pass"
7780
7781
7782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
7783 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
7784 if test ${am_cv_python_pythondir+y}
7785 then :
7786 printf %s "(cached) " >&6
7787 else $as_nop
7788 if test "x$am_cv_python_prefix" = x; then
7789 am_py_prefix=$am__usable_prefix
7790 else
7791 am_py_prefix=$am_cv_python_prefix
7792 fi
7793 am_cv_python_pythondir=`$PYTHON -c "
7794 $am_python_setup_sysconfig
7795 if can_use_sysconfig:
7796 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
7797 else:
7798 from distutils import sysconfig
7799 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
7800 sys.stdout.write(sitedir)"`
7801 #
7802 case $am_cv_python_pythondir in
7803 $am_py_prefix*)
7804 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
7805 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
7806 ;;
7807 *)
7808 case $am_py_prefix in
7809 /usr|/System*) ;;
7810 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
7811 ;;
7812 esac
7813 ;;
7814 esac
7815
7816 fi
7817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
7818 printf "%s\n" "$am_cv_python_pythondir" >&6; }
7819 pythondir=$am_cv_python_pythondir
7820
7821
7822 pkgpythondir=\${pythondir}/$PACKAGE
7823
7824
7825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
7826 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
7827 if test ${am_cv_python_pyexecdir+y}
7828 then :
7829 printf %s "(cached) " >&6
7830 else $as_nop
7831 if test "x$am_cv_python_exec_prefix" = x; then
7832 am_py_exec_prefix=$am__usable_exec_prefix
7833 else
7834 am_py_exec_prefix=$am_cv_python_exec_prefix
7835 fi
7836 am_cv_python_pyexecdir=`$PYTHON -c "
7837 $am_python_setup_sysconfig
7838 if can_use_sysconfig:
7839 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
7840 else:
7841 from distutils import sysconfig
7842 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
7843 sys.stdout.write(sitedir)"`
7844 #
7845 case $am_cv_python_pyexecdir in
7846 $am_py_exec_prefix*)
7847 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
7848 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
7849 ;;
7850 *)
7851 case $am_py_exec_prefix in
7852 /usr|/System*) ;;
7853 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
7854 ;;
7855 esac
7856 ;;
7857 esac
7858
7859 fi
7860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
7861 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
7862 pyexecdir=$am_cv_python_pyexecdir
7863
7864
7865 pkgpyexecdir=\${pyexecdir}/$PACKAGE
7866
7867
7868
7869 fi
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7880 if test -n "$ac_tool_prefix"; then
7881 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7882 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 printf %s "checking for $ac_word... " >&6; }
7885 if test ${ac_cv_path_PKG_CONFIG+y}
7886 then :
7887 printf %s "(cached) " >&6
7888 else $as_nop
7889 case $PKG_CONFIG in
7890 [\\/]* | ?:[\\/]*)
7891 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7892 ;;
7893 *)
7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 for as_dir in $PATH
7896 do
7897 IFS=$as_save_IFS
7898 case $as_dir in #(((
7899 '') as_dir=./ ;;
7900 */) ;;
7901 *) as_dir=$as_dir/ ;;
7902 esac
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7905 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
7906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7907 break 2
7908 fi
7909 done
7910 done
7911 IFS=$as_save_IFS
7912
7913 ;;
7914 esac
7915 fi
7916 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7917 if test -n "$PKG_CONFIG"; then
7918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7919 printf "%s\n" "$PKG_CONFIG" >&6; }
7920 else
7921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922 printf "%s\n" "no" >&6; }
7923 fi
7924
7925
7926 fi
7927 if test -z "$ac_cv_path_PKG_CONFIG"; then
7928 ac_pt_PKG_CONFIG=$PKG_CONFIG
7929 # Extract the first word of "pkg-config", so it can be a program name with args.
7930 set dummy pkg-config; ac_word=$2
7931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932 printf %s "checking for $ac_word... " >&6; }
7933 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
7934 then :
7935 printf %s "(cached) " >&6
7936 else $as_nop
7937 case $ac_pt_PKG_CONFIG in
7938 [\\/]* | ?:[\\/]*)
7939 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7940 ;;
7941 *)
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 for as_dir in $PATH
7944 do
7945 IFS=$as_save_IFS
7946 case $as_dir in #(((
7947 '') as_dir=./ ;;
7948 */) ;;
7949 *) as_dir=$as_dir/ ;;
7950 esac
7951 for ac_exec_ext in '' $ac_executable_extensions; do
7952 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7953 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
7954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7955 break 2
7956 fi
7957 done
7958 done
7959 IFS=$as_save_IFS
7960
7961 ;;
7962 esac
7963 fi
7964 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7965 if test -n "$ac_pt_PKG_CONFIG"; then
7966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7967 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
7968 else
7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 printf "%s\n" "no" >&6; }
7971 fi
7972
7973 if test "x$ac_pt_PKG_CONFIG" = x; then
7974 PKG_CONFIG=""
7975 else
7976 case $cross_compiling:$ac_tool_warned in
7977 yes:)
7978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7979 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7980 ac_tool_warned=yes ;;
7981 esac
7982 PKG_CONFIG=$ac_pt_PKG_CONFIG
7983 fi
7984 else
7985 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7986 fi
7987
7988 fi
7989 if test -n "$PKG_CONFIG"; then
7990 _pkg_min_version=0.9.0
7991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7992 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7993 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7995 printf "%s\n" "yes" >&6; }
7996 else
7997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 printf "%s\n" "no" >&6; }
7999 PKG_CONFIG=""
8000 fi
8001 fi
8002
8003 pkg_failed=no
8004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmate-menu >= 1.21.0 pygobject-3.0" >&5
8005 printf %s "checking for libmate-menu >= 1.21.0 pygobject-3.0... " >&6; }
8006
8007 if test -n "$MOZO_CFLAGS"; then
8008 pkg_cv_MOZO_CFLAGS="$MOZO_CFLAGS"
8009 elif test -n "$PKG_CONFIG"; then
8010 if test -n "$PKG_CONFIG" && \
8011 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmate-menu >= 1.21.0 pygobject-3.0\""; } >&5
8012 ($PKG_CONFIG --exists --print-errors "libmate-menu >= 1.21.0 pygobject-3.0") 2>&5
8013 ac_status=$?
8014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8015 test $ac_status = 0; }; then
8016 pkg_cv_MOZO_CFLAGS=`$PKG_CONFIG --cflags "libmate-menu >= 1.21.0 pygobject-3.0" 2>/dev/null`
8017 test "x$?" != "x0" && pkg_failed=yes
8018 else
8019 pkg_failed=yes
8020 fi
8021 else
8022 pkg_failed=untried
8023 fi
8024 if test -n "$MOZO_LIBS"; then
8025 pkg_cv_MOZO_LIBS="$MOZO_LIBS"
8026 elif test -n "$PKG_CONFIG"; then
8027 if test -n "$PKG_CONFIG" && \
8028 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmate-menu >= 1.21.0 pygobject-3.0\""; } >&5
8029 ($PKG_CONFIG --exists --print-errors "libmate-menu >= 1.21.0 pygobject-3.0") 2>&5
8030 ac_status=$?
8031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8032 test $ac_status = 0; }; then
8033 pkg_cv_MOZO_LIBS=`$PKG_CONFIG --libs "libmate-menu >= 1.21.0 pygobject-3.0" 2>/dev/null`
8034 test "x$?" != "x0" && pkg_failed=yes
8035 else
8036 pkg_failed=yes
8037 fi
8038 else
8039 pkg_failed=untried
8040 fi
8041
8042
8043
8044 if test $pkg_failed = yes; then
8045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 printf "%s\n" "no" >&6; }
8047
8048 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8049 _pkg_short_errors_supported=yes
8050 else
8051 _pkg_short_errors_supported=no
8052 fi
8053 if test $_pkg_short_errors_supported = yes; then
8054 MOZO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmate-menu >= 1.21.0 pygobject-3.0" 2>&1`
8055 else
8056 MOZO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmate-menu >= 1.21.0 pygobject-3.0" 2>&1`
8057 fi
8058 # Put the nasty error message in config.log where it belongs
8059 echo "$MOZO_PKG_ERRORS" >&5
8060
8061 as_fn_error $? "Package requirements (libmate-menu >= 1.21.0 pygobject-3.0) were not met:
8062
8063 $MOZO_PKG_ERRORS
8064
8065 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8066 installed software in a non-standard prefix.
8067
8068 Alternatively, you may set the environment variables MOZO_CFLAGS
8069 and MOZO_LIBS to avoid the need to call pkg-config.
8070 See the pkg-config man page for more details." "$LINENO" 5
8071 elif test $pkg_failed = untried; then
8072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8073 printf "%s\n" "no" >&6; }
8074 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8075 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8076 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8077 is in your PATH or set the PKG_CONFIG environment variable to the full
8078 path to pkg-config.
8079
8080 Alternatively, you may set the environment variables MOZO_CFLAGS
8081 and MOZO_LIBS to avoid the need to call pkg-config.
8082 See the pkg-config man page for more details.
8083
8084 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8085 See \`config.log' for more details" "$LINENO" 5; }
8086 else
8087 MOZO_CFLAGS=$pkg_cv_MOZO_CFLAGS
8088 MOZO_LIBS=$pkg_cv_MOZO_LIBS
8089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8090 printf "%s\n" "yes" >&6; }
8091
8092 fi
8093
8094 # Check whether --enable-icon-update was given.
8095 if test ${enable_icon_update+y}
8096 then :
8097 enableval=$enable_icon_update;
8098 fi
8099
8100 if (test "$enable_icon_update" != no); then
8101 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
8102 set dummy gtk-update-icon-cache; ac_word=$2
8103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8104 printf %s "checking for $ac_word... " >&6; }
8105 if test ${ac_cv_path_UPDATE_ICON_CACHE+y}
8106 then :
8107 printf %s "(cached) " >&6
8108 else $as_nop
8109 case $UPDATE_ICON_CACHE in
8110 [\\/]* | ?:[\\/]*)
8111 ac_cv_path_UPDATE_ICON_CACHE="$UPDATE_ICON_CACHE" # Let the user override the test with a path.
8112 ;;
8113 *)
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 for as_dir in $PATH
8116 do
8117 IFS=$as_save_IFS
8118 case $as_dir in #(((
8119 '') as_dir=./ ;;
8120 */) ;;
8121 *) as_dir=$as_dir/ ;;
8122 esac
8123 for ac_exec_ext in '' $ac_executable_extensions; do
8124 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8125 ac_cv_path_UPDATE_ICON_CACHE="$as_dir$ac_word$ac_exec_ext"
8126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8127 break 2
8128 fi
8129 done
8130 done
8131 IFS=$as_save_IFS
8132
8133 ;;
8134 esac
8135 fi
8136 UPDATE_ICON_CACHE=$ac_cv_path_UPDATE_ICON_CACHE
8137 if test -n "$UPDATE_ICON_CACHE"; then
8138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UPDATE_ICON_CACHE" >&5
8139 printf "%s\n" "$UPDATE_ICON_CACHE" >&6; }
8140 else
8141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8142 printf "%s\n" "no" >&6; }
8143 fi
8144
8145
8146 fi
8147 if test -n "$UPDATE_ICON_CACHE"; then
8148 ICON_UPDATE_TRUE=
8149 ICON_UPDATE_FALSE='#'
8150 else
8151 ICON_UPDATE_TRUE='#'
8152 ICON_UPDATE_FALSE=
8153 fi
8154
8155
8156 ac_config_files="$ac_config_files Makefile po/Makefile.in Mozo/Makefile data/mozo.desktop.in data/Makefile data/icons/Makefile"
8157
8158
8159 cat >confcache <<\_ACEOF
8160 # This file is a shell script that caches the results of configure
8161 # tests run on this system so they can be shared between configure
8162 # scripts and configure runs, see configure's option --config-cache.
8163 # It is not useful on other systems. If it contains results you don't
8164 # want to keep, you may remove or edit it.
8165 #
8166 # config.status only pays attention to the cache file if you give it
8167 # the --recheck option to rerun configure.
8168 #
8169 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8170 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8171 # following values.
8172
8173 _ACEOF
8174
8175 # The following way of writing the cache mishandles newlines in values,
8176 # but we know of no workaround that is simple, portable, and efficient.
8177 # So, we kill variables containing newlines.
8178 # Ultrix sh set writes to stderr and can't be redirected directly,
8179 # and sets the high bit in the cache file unless we assign to the vars.
8180 (
8181 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8182 eval ac_val=\$$ac_var
8183 case $ac_val in #(
8184 *${as_nl}*)
8185 case $ac_var in #(
8186 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8187 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8188 esac
8189 case $ac_var in #(
8190 _ | IFS | as_nl) ;; #(
8191 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8192 *) { eval $ac_var=; unset $ac_var;} ;;
8193 esac ;;
8194 esac
8195 done
8196
8197 (set) 2>&1 |
8198 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8199 *${as_nl}ac_space=\ *)
8200 # `set' does not quote correctly, so add quotes: double-quote
8201 # substitution turns \\\\ into \\, and sed turns \\ into \.
8202 sed -n \
8203 "s/'/'\\\\''/g;
8204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8205 ;; #(
8206 *)
8207 # `set' quotes correctly as required by POSIX, so do not add quotes.
8208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8209 ;;
8210 esac |
8211 sort
8212 ) |
8213 sed '
8214 /^ac_cv_env_/b end
8215 t clear
8216 :clear
8217 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
8218 t end
8219 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8220 :end' >>confcache
8221 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8222 if test -w "$cache_file"; then
8223 if test "x$cache_file" != "x/dev/null"; then
8224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8225 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
8226 if test ! -f "$cache_file" || test -h "$cache_file"; then
8227 cat confcache >"$cache_file"
8228 else
8229 case $cache_file in #(
8230 */* | ?:*)
8231 mv -f confcache "$cache_file"$$ &&
8232 mv -f "$cache_file"$$ "$cache_file" ;; #(
8233 *)
8234 mv -f confcache "$cache_file" ;;
8235 esac
8236 fi
8237 fi
8238 else
8239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8240 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
8241 fi
8242 fi
8243 rm -f confcache
8244
8245 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8246 # Let make expand exec_prefix.
8247 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8248
8249 DEFS=-DHAVE_CONFIG_H
8250
8251 ac_libobjs=
8252 ac_ltlibobjs=
8253 U=
8254 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8255 # 1. Remove the extension, and $U if already installed.
8256 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8257 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
8258 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8259 # will be set to the directory where LIBOBJS objects are built.
8260 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8261 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8262 done
8263 LIBOBJS=$ac_libobjs
8264
8265 LTLIBOBJS=$ac_ltlibobjs
8266
8267
8268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8269 printf %s "checking that generated files are newer than configure... " >&6; }
8270 if test -n "$am_sleep_pid"; then
8271 # Hide warnings about reused PIDs.
8272 wait $am_sleep_pid 2>/dev/null
8273 fi
8274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
8275 printf "%s\n" "done" >&6; }
8276 if test -n "$EXEEXT"; then
8277 am__EXEEXT_TRUE=
8278 am__EXEEXT_FALSE='#'
8279 else
8280 am__EXEEXT_TRUE='#'
8281 am__EXEEXT_FALSE=
8282 fi
8283
8284 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8285 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8287 fi
8288 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8289 as_fn_error $? "conditional \"AMDEP\" was never defined.
8290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8291 fi
8292 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8293 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8295 fi
8296 if test -z "${ICON_UPDATE_TRUE}" && test -z "${ICON_UPDATE_FALSE}"; then
8297 as_fn_error $? "conditional \"ICON_UPDATE\" was never defined.
8298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8299 fi
8300
8301 : "${CONFIG_STATUS=./config.status}"
8302 ac_write_fail=0
8303 ac_clean_files_save=$ac_clean_files
8304 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8306 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
8307 as_write_fail=0
8308 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8309 #! $SHELL
8310 # Generated by $as_me.
8311 # Run this file to recreate the current configuration.
8312 # Compiler output produced by configure, useful for debugging
8313 # configure, is in config.log if it exists.
8314
8315 debug=false
8316 ac_cs_recheck=false
8317 ac_cs_silent=false
8318
8319 SHELL=\${CONFIG_SHELL-$SHELL}
8320 export SHELL
8321 _ASEOF
8322 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8323 ## -------------------- ##
8324 ## M4sh Initialization. ##
8325 ## -------------------- ##
8326
8327 # Be more Bourne compatible
8328 DUALCASE=1; export DUALCASE # for MKS sh
8329 as_nop=:
8330 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
8331 then :
8332 emulate sh
8333 NULLCMD=:
8334 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8335 # is contrary to our usage. Disable this feature.
8336 alias -g '${1+"$@"}'='"$@"'
8337 setopt NO_GLOB_SUBST
8338 else $as_nop
8339 case `(set -o) 2>/dev/null` in #(
8340 *posix*) :
8341 set -o posix ;; #(
8342 *) :
8343 ;;
8344 esac
8345 fi
8346
8347
8348
8349 # Reset variables that may have inherited troublesome values from
8350 # the environment.
8351
8352 # IFS needs to be set, to space, tab, and newline, in precisely that order.
8353 # (If _AS_PATH_WALK were called with IFS unset, it would have the
8354 # side effect of setting IFS to empty, thus disabling word splitting.)
8355 # Quoting is to prevent editors from complaining about space-tab.
8356 as_nl='
8357 '
8358 export as_nl
8359 IFS=" "" $as_nl"
8360
8361 PS1='$ '
8362 PS2='> '
8363 PS4='+ '
8364
8365 # Ensure predictable behavior from utilities with locale-dependent output.
8366 LC_ALL=C
8367 export LC_ALL
8368 LANGUAGE=C
8369 export LANGUAGE
8370
8371 # We cannot yet rely on "unset" to work, but we need these variables
8372 # to be unset--not just set to an empty or harmless value--now, to
8373 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
8374 # also avoids known problems related to "unset" and subshell syntax
8375 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
8376 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
8377 do eval test \${$as_var+y} \
8378 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8379 done
8380
8381 # Ensure that fds 0, 1, and 2 are open.
8382 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
8383 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
8384 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
8385
8386 # The user is always right.
8387 if ${PATH_SEPARATOR+false} :; then
8388 PATH_SEPARATOR=:
8389 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8390 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8391 PATH_SEPARATOR=';'
8392 }
8393 fi
8394
8395
8396 # Find who we are. Look in the path if we contain no directory separator.
8397 as_myself=
8398 case $0 in #((
8399 *[\\/]* ) as_myself=$0 ;;
8400 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8401 for as_dir in $PATH
8402 do
8403 IFS=$as_save_IFS
8404 case $as_dir in #(((
8405 '') as_dir=./ ;;
8406 */) ;;
8407 *) as_dir=$as_dir/ ;;
8408 esac
8409 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
8410 done
8411 IFS=$as_save_IFS
8412
8413 ;;
8414 esac
8415 # We did not find ourselves, most probably we were run as `sh COMMAND'
8416 # in which case we are not to be found in the path.
8417 if test "x$as_myself" = x; then
8418 as_myself=$0
8419 fi
8420 if test ! -f "$as_myself"; then
8421 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8422 exit 1
8423 fi
8424
8425
8426
8427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8428 # ----------------------------------------
8429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8431 # script with STATUS, using 1 if that was 0.
8432 as_fn_error ()
8433 {
8434 as_status=$1; test $as_status -eq 0 && as_status=1
8435 if test "$4"; then
8436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8438 fi
8439 printf "%s\n" "$as_me: error: $2" >&2
8440 as_fn_exit $as_status
8441 } # as_fn_error
8442
8443
8444
8445 # as_fn_set_status STATUS
8446 # -----------------------
8447 # Set $? to STATUS, without forking.
8448 as_fn_set_status ()
8449 {
8450 return $1
8451 } # as_fn_set_status
8452
8453 # as_fn_exit STATUS
8454 # -----------------
8455 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8456 as_fn_exit ()
8457 {
8458 set +e
8459 as_fn_set_status $1
8460 exit $1
8461 } # as_fn_exit
8462
8463 # as_fn_unset VAR
8464 # ---------------
8465 # Portably unset VAR.
8466 as_fn_unset ()
8467 {
8468 { eval $1=; unset $1;}
8469 }
8470 as_unset=as_fn_unset
8471
8472 # as_fn_append VAR VALUE
8473 # ----------------------
8474 # Append the text in VALUE to the end of the definition contained in VAR. Take
8475 # advantage of any shell optimizations that allow amortized linear growth over
8476 # repeated appends, instead of the typical quadratic growth present in naive
8477 # implementations.
8478 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
8479 then :
8480 eval 'as_fn_append ()
8481 {
8482 eval $1+=\$2
8483 }'
8484 else $as_nop
8485 as_fn_append ()
8486 {
8487 eval $1=\$$1\$2
8488 }
8489 fi # as_fn_append
8490
8491 # as_fn_arith ARG...
8492 # ------------------
8493 # Perform arithmetic evaluation on the ARGs, and store the result in the
8494 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8495 # must be portable across $(()) and expr.
8496 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
8497 then :
8498 eval 'as_fn_arith ()
8499 {
8500 as_val=$(( $* ))
8501 }'
8502 else $as_nop
8503 as_fn_arith ()
8504 {
8505 as_val=`expr "$@" || test $? -eq 1`
8506 }
8507 fi # as_fn_arith
8508
8509
8510 if expr a : '\(a\)' >/dev/null 2>&1 &&
8511 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8512 as_expr=expr
8513 else
8514 as_expr=false
8515 fi
8516
8517 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8518 as_basename=basename
8519 else
8520 as_basename=false
8521 fi
8522
8523 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8524 as_dirname=dirname
8525 else
8526 as_dirname=false
8527 fi
8528
8529 as_me=`$as_basename -- "$0" ||
8530 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8531 X"$0" : 'X\(//\)$' \| \
8532 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8533 printf "%s\n" X/"$0" |
8534 sed '/^.*\/\([^/][^/]*\)\/*$/{
8535 s//\1/
8536 q
8537 }
8538 /^X\/\(\/\/\)$/{
8539 s//\1/
8540 q
8541 }
8542 /^X\/\(\/\).*/{
8543 s//\1/
8544 q
8545 }
8546 s/.*/./; q'`
8547
8548 # Avoid depending upon Character Ranges.
8549 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8550 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8551 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8552 as_cr_digits='0123456789'
8553 as_cr_alnum=$as_cr_Letters$as_cr_digits
8554
8555
8556 # Determine whether it's possible to make 'echo' print without a newline.
8557 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
8558 # for compatibility with existing Makefiles.
8559 ECHO_C= ECHO_N= ECHO_T=
8560 case `echo -n x` in #(((((
8561 -n*)
8562 case `echo 'xy\c'` in
8563 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8564 xy) ECHO_C='\c';;
8565 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8566 ECHO_T=' ';;
8567 esac;;
8568 *)
8569 ECHO_N='-n';;
8570 esac
8571
8572 # For backward compatibility with old third-party macros, we provide
8573 # the shell variables $as_echo and $as_echo_n. New code should use
8574 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
8575 as_echo='printf %s\n'
8576 as_echo_n='printf %s'
8577
8578 rm -f conf$$ conf$$.exe conf$$.file
8579 if test -d conf$$.dir; then
8580 rm -f conf$$.dir/conf$$.file
8581 else
8582 rm -f conf$$.dir
8583 mkdir conf$$.dir 2>/dev/null
8584 fi
8585 if (echo >conf$$.file) 2>/dev/null; then
8586 if ln -s conf$$.file conf$$ 2>/dev/null; then
8587 as_ln_s='ln -s'
8588 # ... but there are two gotchas:
8589 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8590 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8591 # In both cases, we have to default to `cp -pR'.
8592 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8593 as_ln_s='cp -pR'
8594 elif ln conf$$.file conf$$ 2>/dev/null; then
8595 as_ln_s=ln
8596 else
8597 as_ln_s='cp -pR'
8598 fi
8599 else
8600 as_ln_s='cp -pR'
8601 fi
8602 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8603 rmdir conf$$.dir 2>/dev/null
8604
8605
8606 # as_fn_mkdir_p
8607 # -------------
8608 # Create "$as_dir" as a directory, including parents if necessary.
8609 as_fn_mkdir_p ()
8610 {
8611
8612 case $as_dir in #(
8613 -*) as_dir=./$as_dir;;
8614 esac
8615 test -d "$as_dir" || eval $as_mkdir_p || {
8616 as_dirs=
8617 while :; do
8618 case $as_dir in #(
8619 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8620 *) as_qdir=$as_dir;;
8621 esac
8622 as_dirs="'$as_qdir' $as_dirs"
8623 as_dir=`$as_dirname -- "$as_dir" ||
8624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8625 X"$as_dir" : 'X\(//\)[^/]' \| \
8626 X"$as_dir" : 'X\(//\)$' \| \
8627 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8628 printf "%s\n" X"$as_dir" |
8629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8630 s//\1/
8631 q
8632 }
8633 /^X\(\/\/\)[^/].*/{
8634 s//\1/
8635 q
8636 }
8637 /^X\(\/\/\)$/{
8638 s//\1/
8639 q
8640 }
8641 /^X\(\/\).*/{
8642 s//\1/
8643 q
8644 }
8645 s/.*/./; q'`
8646 test -d "$as_dir" && break
8647 done
8648 test -z "$as_dirs" || eval "mkdir $as_dirs"
8649 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8650
8651
8652 } # as_fn_mkdir_p
8653 if mkdir -p . 2>/dev/null; then
8654 as_mkdir_p='mkdir -p "$as_dir"'
8655 else
8656 test -d ./-p && rmdir ./-p
8657 as_mkdir_p=false
8658 fi
8659
8660
8661 # as_fn_executable_p FILE
8662 # -----------------------
8663 # Test if FILE is an executable regular file.
8664 as_fn_executable_p ()
8665 {
8666 test -f "$1" && test -x "$1"
8667 } # as_fn_executable_p
8668 as_test_x='test -x'
8669 as_executable_p=as_fn_executable_p
8670
8671 # Sed expression to map a string onto a valid CPP name.
8672 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8673
8674 # Sed expression to map a string onto a valid variable name.
8675 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8676
8677
8678 exec 6>&1
8679 ## ----------------------------------- ##
8680 ## Main body of $CONFIG_STATUS script. ##
8681 ## ----------------------------------- ##
8682 _ASEOF
8683 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8684
8685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8686 # Save the log message, to keep $0 and so on meaningful, and to
8687 # report actual input values of CONFIG_FILES etc. instead of their
8688 # values after options handling.
8689 ac_log="
8690 This file was extended by mozo $as_me 1.28.0, which was
8691 generated by GNU Autoconf 2.71. Invocation command line was
8692
8693 CONFIG_FILES = $CONFIG_FILES
8694 CONFIG_HEADERS = $CONFIG_HEADERS
8695 CONFIG_LINKS = $CONFIG_LINKS
8696 CONFIG_COMMANDS = $CONFIG_COMMANDS
8697 $ $0 $@
8698
8699 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8700 "
8701
8702 _ACEOF
8703
8704 case $ac_config_files in *"
8705 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8706 esac
8707
8708 case $ac_config_headers in *"
8709 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8710 esac
8711
8712
8713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8714 # Files that config.status was made for.
8715 config_files="$ac_config_files"
8716 config_headers="$ac_config_headers"
8717 config_commands="$ac_config_commands"
8718
8719 _ACEOF
8720
8721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8722 ac_cs_usage="\
8723 \`$as_me' instantiates files and other configuration actions
8724 from templates according to the current configuration. Unless the files
8725 and actions are specified as TAGs, all are instantiated by default.
8726
8727 Usage: $0 [OPTION]... [TAG]...
8728
8729 -h, --help print this help, then exit
8730 -V, --version print version number and configuration settings, then exit
8731 --config print configuration, then exit
8732 -q, --quiet, --silent
8733 do not print progress messages
8734 -d, --debug don't remove temporary files
8735 --recheck update $as_me by reconfiguring in the same conditions
8736 --file=FILE[:TEMPLATE]
8737 instantiate the configuration file FILE
8738 --header=FILE[:TEMPLATE]
8739 instantiate the configuration header FILE
8740
8741 Configuration files:
8742 $config_files
8743
8744 Configuration headers:
8745 $config_headers
8746
8747 Configuration commands:
8748 $config_commands
8749
8750 Report bugs to <https://mate-desktop.org>."
8751
8752 _ACEOF
8753 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
8754 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
8755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8756 ac_cs_config='$ac_cs_config_escaped'
8757 ac_cs_version="\\
8758 mozo config.status 1.28.0
8759 configured by $0, generated by GNU Autoconf 2.71,
8760 with options \\"\$ac_cs_config\\"
8761
8762 Copyright (C) 2021 Free Software Foundation, Inc.
8763 This config.status script is free software; the Free Software Foundation
8764 gives unlimited permission to copy, distribute and modify it."
8765
8766 ac_pwd='$ac_pwd'
8767 srcdir='$srcdir'
8768 INSTALL='$INSTALL'
8769 MKDIR_P='$MKDIR_P'
8770 AWK='$AWK'
8771 test -n "\$AWK" || AWK=awk
8772 _ACEOF
8773
8774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8775 # The default lists apply if the user does not specify any file.
8776 ac_need_defaults=:
8777 while test $# != 0
8778 do
8779 case $1 in
8780 --*=?*)
8781 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8782 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8783 ac_shift=:
8784 ;;
8785 --*=)
8786 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8787 ac_optarg=
8788 ac_shift=:
8789 ;;
8790 *)
8791 ac_option=$1
8792 ac_optarg=$2
8793 ac_shift=shift
8794 ;;
8795 esac
8796
8797 case $ac_option in
8798 # Handling of the options.
8799 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8800 ac_cs_recheck=: ;;
8801 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8802 printf "%s\n" "$ac_cs_version"; exit ;;
8803 --config | --confi | --conf | --con | --co | --c )
8804 printf "%s\n" "$ac_cs_config"; exit ;;
8805 --debug | --debu | --deb | --de | --d | -d )
8806 debug=: ;;
8807 --file | --fil | --fi | --f )
8808 $ac_shift
8809 case $ac_optarg in
8810 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8811 '') as_fn_error $? "missing file argument" ;;
8812 esac
8813 as_fn_append CONFIG_FILES " '$ac_optarg'"
8814 ac_need_defaults=false;;
8815 --header | --heade | --head | --hea )
8816 $ac_shift
8817 case $ac_optarg in
8818 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8819 esac
8820 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8821 ac_need_defaults=false;;
8822 --he | --h)
8823 # Conflict between --help and --header
8824 as_fn_error $? "ambiguous option: \`$1'
8825 Try \`$0 --help' for more information.";;
8826 --help | --hel | -h )
8827 printf "%s\n" "$ac_cs_usage"; exit ;;
8828 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8829 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8830 ac_cs_silent=: ;;
8831
8832 # This is an error.
8833 -*) as_fn_error $? "unrecognized option: \`$1'
8834 Try \`$0 --help' for more information." ;;
8835
8836 *) as_fn_append ac_config_targets " $1"
8837 ac_need_defaults=false ;;
8838
8839 esac
8840 shift
8841 done
8842
8843 ac_configure_extra_args=
8844
8845 if $ac_cs_silent; then
8846 exec 6>/dev/null
8847 ac_configure_extra_args="$ac_configure_extra_args --silent"
8848 fi
8849
8850 _ACEOF
8851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8852 if \$ac_cs_recheck; then
8853 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8854 shift
8855 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
8856 CONFIG_SHELL='$SHELL'
8857 export CONFIG_SHELL
8858 exec "\$@"
8859 fi
8860
8861 _ACEOF
8862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8863 exec 5>>config.log
8864 {
8865 echo
8866 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8867 ## Running $as_me. ##
8868 _ASBOX
8869 printf "%s\n" "$ac_log"
8870 } >&5
8871
8872 _ACEOF
8873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8874 #
8875 # INIT-COMMANDS
8876 #
8877 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8878 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
8879 OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
8880 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8881 LINGUAS="${LINGUAS-%UNSET%}"
8882
8883 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
8884
8885 _ACEOF
8886
8887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8888
8889 # Handling of arguments.
8890 for ac_config_target in $ac_config_targets
8891 do
8892 case $ac_config_target in
8893 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8894 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
8895 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8896 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8897 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8898 "Mozo/Makefile") CONFIG_FILES="$CONFIG_FILES Mozo/Makefile" ;;
8899 "data/mozo.desktop.in") CONFIG_FILES="$CONFIG_FILES data/mozo.desktop.in" ;;
8900 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
8901 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
8902
8903 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8904 esac
8905 done
8906
8907
8908 # If the user did not use the arguments to specify the items to instantiate,
8909 # then the envvar interface is used. Set only those that are not.
8910 # We use the long form for the default assignment because of an extremely
8911 # bizarre bug on SunOS 4.1.3.
8912 if $ac_need_defaults; then
8913 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
8914 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
8915 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
8916 fi
8917
8918 # Have a temporary directory for convenience. Make it in the build tree
8919 # simply because there is no reason against having it here, and in addition,
8920 # creating and moving files from /tmp can sometimes cause problems.
8921 # Hook for its removal unless debugging.
8922 # Note that there is a small window in which the directory will not be cleaned:
8923 # after its creation but before its name has been assigned to `$tmp'.
8924 $debug ||
8925 {
8926 tmp= ac_tmp=
8927 trap 'exit_status=$?
8928 : "${ac_tmp:=$tmp}"
8929 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8930 ' 0
8931 trap 'as_fn_exit 1' 1 2 13 15
8932 }
8933 # Create a (secure) tmp directory for tmp files.
8934
8935 {
8936 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8937 test -d "$tmp"
8938 } ||
8939 {
8940 tmp=./conf$$-$RANDOM
8941 (umask 077 && mkdir "$tmp")
8942 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8943 ac_tmp=$tmp
8944
8945 # Set up the scripts for CONFIG_FILES section.
8946 # No need to generate them if there are no CONFIG_FILES.
8947 # This happens for instance with `./config.status config.h'.
8948 if test -n "$CONFIG_FILES"; then
8949
8950
8951 ac_cr=`echo X | tr X '\015'`
8952 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8953 # But we know of no other shell where ac_cr would be empty at this
8954 # point, so we can use a bashism as a fallback.
8955 if test "x$ac_cr" = x; then
8956 eval ac_cr=\$\'\\r\'
8957 fi
8958 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8959 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8960 ac_cs_awk_cr='\\r'
8961 else
8962 ac_cs_awk_cr=$ac_cr
8963 fi
8964
8965 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8966 _ACEOF
8967
8968
8969 {
8970 echo "cat >conf$$subs.awk <<_ACEOF" &&
8971 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8972 echo "_ACEOF"
8973 } >conf$$subs.sh ||
8974 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8975 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8976 ac_delim='%!_!# '
8977 for ac_last_try in false false false false false :; do
8978 . ./conf$$subs.sh ||
8979 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8980
8981 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8982 if test $ac_delim_n = $ac_delim_num; then
8983 break
8984 elif $ac_last_try; then
8985 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8986 else
8987 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8988 fi
8989 done
8990 rm -f conf$$subs.sh
8991
8992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8993 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8994 _ACEOF
8995 sed -n '
8996 h
8997 s/^/S["/; s/!.*/"]=/
8998 p
8999 g
9000 s/^[^!]*!//
9001 :repl
9002 t repl
9003 s/'"$ac_delim"'$//
9004 t delim
9005 :nl
9006 h
9007 s/\(.\{148\}\)..*/\1/
9008 t more1
9009 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9010 p
9011 n
9012 b repl
9013 :more1
9014 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9015 p
9016 g
9017 s/.\{148\}//
9018 t nl
9019 :delim
9020 h
9021 s/\(.\{148\}\)..*/\1/
9022 t more2
9023 s/["\\]/\\&/g; s/^/"/; s/$/"/
9024 p
9025 b
9026 :more2
9027 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9028 p
9029 g
9030 s/.\{148\}//
9031 t delim
9032 ' <conf$$subs.awk | sed '
9033 /^[^""]/{
9034 N
9035 s/\n//
9036 }
9037 ' >>$CONFIG_STATUS || ac_write_fail=1
9038 rm -f conf$$subs.awk
9039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9040 _ACAWK
9041 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9042 for (key in S) S_is_set[key] = 1
9043 FS = ""
9044
9045 }
9046 {
9047 line = $ 0
9048 nfields = split(line, field, "@")
9049 substed = 0
9050 len = length(field[1])
9051 for (i = 2; i < nfields; i++) {
9052 key = field[i]
9053 keylen = length(key)
9054 if (S_is_set[key]) {
9055 value = S[key]
9056 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9057 len += length(value) + length(field[++i])
9058 substed = 1
9059 } else
9060 len += 1 + keylen
9061 }
9062
9063 print line
9064 }
9065
9066 _ACAWK
9067 _ACEOF
9068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9069 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9070 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9071 else
9072 cat
9073 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9074 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9075 _ACEOF
9076
9077 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9078 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9079 # trailing colons and then remove the whole line if VPATH becomes empty
9080 # (actually we leave an empty line to preserve line numbers).
9081 if test "x$srcdir" = x.; then
9082 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9083 h
9084 s///
9085 s/^/:/
9086 s/[ ]*$/:/
9087 s/:\$(srcdir):/:/g
9088 s/:\${srcdir}:/:/g
9089 s/:@srcdir@:/:/g
9090 s/^:*//
9091 s/:*$//
9092 x
9093 s/\(=[ ]*\).*/\1/
9094 G
9095 s/\n//
9096 s/^[^=]*=[ ]*$//
9097 }'
9098 fi
9099
9100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9101 fi # test -n "$CONFIG_FILES"
9102
9103 # Set up the scripts for CONFIG_HEADERS section.
9104 # No need to generate them if there are no CONFIG_HEADERS.
9105 # This happens for instance with `./config.status Makefile'.
9106 if test -n "$CONFIG_HEADERS"; then
9107 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9108 BEGIN {
9109 _ACEOF
9110
9111 # Transform confdefs.h into an awk script `defines.awk', embedded as
9112 # here-document in config.status, that substitutes the proper values into
9113 # config.h.in to produce config.h.
9114
9115 # Create a delimiter string that does not exist in confdefs.h, to ease
9116 # handling of long lines.
9117 ac_delim='%!_!# '
9118 for ac_last_try in false false :; do
9119 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9120 if test -z "$ac_tt"; then
9121 break
9122 elif $ac_last_try; then
9123 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9124 else
9125 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9126 fi
9127 done
9128
9129 # For the awk script, D is an array of macro values keyed by name,
9130 # likewise P contains macro parameters if any. Preserve backslash
9131 # newline sequences.
9132
9133 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9134 sed -n '
9135 s/.\{148\}/&'"$ac_delim"'/g
9136 t rset
9137 :rset
9138 s/^[ ]*#[ ]*define[ ][ ]*/ /
9139 t def
9140 d
9141 :def
9142 s/\\$//
9143 t bsnl
9144 s/["\\]/\\&/g
9145 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9146 D["\1"]=" \3"/p
9147 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9148 d
9149 :bsnl
9150 s/["\\]/\\&/g
9151 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9152 D["\1"]=" \3\\\\\\n"\\/p
9153 t cont
9154 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9155 t cont
9156 d
9157 :cont
9158 n
9159 s/.\{148\}/&'"$ac_delim"'/g
9160 t clear
9161 :clear
9162 s/\\$//
9163 t bsnlc
9164 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9165 d
9166 :bsnlc
9167 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9168 b cont
9169 ' <confdefs.h | sed '
9170 s/'"$ac_delim"'/"\\\
9171 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9172
9173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9174 for (key in D) D_is_set[key] = 1
9175 FS = ""
9176 }
9177 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9178 line = \$ 0
9179 split(line, arg, " ")
9180 if (arg[1] == "#") {
9181 defundef = arg[2]
9182 mac1 = arg[3]
9183 } else {
9184 defundef = substr(arg[1], 2)
9185 mac1 = arg[2]
9186 }
9187 split(mac1, mac2, "(") #)
9188 macro = mac2[1]
9189 prefix = substr(line, 1, index(line, defundef) - 1)
9190 if (D_is_set[macro]) {
9191 # Preserve the white space surrounding the "#".
9192 print prefix "define", macro P[macro] D[macro]
9193 next
9194 } else {
9195 # Replace #undef with comments. This is necessary, for example,
9196 # in the case of _POSIX_SOURCE, which is predefined and required
9197 # on some systems where configure will not decide to define it.
9198 if (defundef == "undef") {
9199 print "/*", prefix defundef, macro, "*/"
9200 next
9201 }
9202 }
9203 }
9204 { print }
9205 _ACAWK
9206 _ACEOF
9207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9208 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9209 fi # test -n "$CONFIG_HEADERS"
9210
9211
9212 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9213 shift
9214 for ac_tag
9215 do
9216 case $ac_tag in
9217 :[FHLC]) ac_mode=$ac_tag; continue;;
9218 esac
9219 case $ac_mode$ac_tag in
9220 :[FHL]*:*);;
9221 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9222 :[FH]-) ac_tag=-:-;;
9223 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9224 esac
9225 ac_save_IFS=$IFS
9226 IFS=:
9227 set x $ac_tag
9228 IFS=$ac_save_IFS
9229 shift
9230 ac_file=$1
9231 shift
9232
9233 case $ac_mode in
9234 :L) ac_source=$1;;
9235 :[FH])
9236 ac_file_inputs=
9237 for ac_f
9238 do
9239 case $ac_f in
9240 -) ac_f="$ac_tmp/stdin";;
9241 *) # Look for the file first in the build tree, then in the source tree
9242 # (if the path is not absolute). The absolute path cannot be DOS-style,
9243 # because $ac_f cannot contain `:'.
9244 test -f "$ac_f" ||
9245 case $ac_f in
9246 [\\/$]*) false;;
9247 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9248 esac ||
9249 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9250 esac
9251 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9252 as_fn_append ac_file_inputs " '$ac_f'"
9253 done
9254
9255 # Let's still pretend it is `configure' which instantiates (i.e., don't
9256 # use $as_me), people would be surprised to read:
9257 # /* config.h. Generated by config.status. */
9258 configure_input='Generated from '`
9259 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9260 `' by configure.'
9261 if test x"$ac_file" != x-; then
9262 configure_input="$ac_file. $configure_input"
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9264 printf "%s\n" "$as_me: creating $ac_file" >&6;}
9265 fi
9266 # Neutralize special characters interpreted by sed in replacement strings.
9267 case $configure_input in #(
9268 *\&* | *\|* | *\\* )
9269 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
9270 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9271 *) ac_sed_conf_input=$configure_input;;
9272 esac
9273
9274 case $ac_tag in
9275 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9277 esac
9278 ;;
9279 esac
9280
9281 ac_dir=`$as_dirname -- "$ac_file" ||
9282 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9283 X"$ac_file" : 'X\(//\)[^/]' \| \
9284 X"$ac_file" : 'X\(//\)$' \| \
9285 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9286 printf "%s\n" X"$ac_file" |
9287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9288 s//\1/
9289 q
9290 }
9291 /^X\(\/\/\)[^/].*/{
9292 s//\1/
9293 q
9294 }
9295 /^X\(\/\/\)$/{
9296 s//\1/
9297 q
9298 }
9299 /^X\(\/\).*/{
9300 s//\1/
9301 q
9302 }
9303 s/.*/./; q'`
9304 as_dir="$ac_dir"; as_fn_mkdir_p
9305 ac_builddir=.
9306
9307 case "$ac_dir" in
9308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9309 *)
9310 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
9311 # A ".." for each directory in $ac_dir_suffix.
9312 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9313 case $ac_top_builddir_sub in
9314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9316 esac ;;
9317 esac
9318 ac_abs_top_builddir=$ac_pwd
9319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9320 # for backward compatibility:
9321 ac_top_builddir=$ac_top_build_prefix
9322
9323 case $srcdir in
9324 .) # We are building in place.
9325 ac_srcdir=.
9326 ac_top_srcdir=$ac_top_builddir_sub
9327 ac_abs_top_srcdir=$ac_pwd ;;
9328 [\\/]* | ?:[\\/]* ) # Absolute name.
9329 ac_srcdir=$srcdir$ac_dir_suffix;
9330 ac_top_srcdir=$srcdir
9331 ac_abs_top_srcdir=$srcdir ;;
9332 *) # Relative name.
9333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9334 ac_top_srcdir=$ac_top_build_prefix$srcdir
9335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9336 esac
9337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9338
9339
9340 case $ac_mode in
9341 :F)
9342 #
9343 # CONFIG_FILE
9344 #
9345
9346 case $INSTALL in
9347 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9348 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9349 esac
9350 ac_MKDIR_P=$MKDIR_P
9351 case $MKDIR_P in
9352 [\\/$]* | ?:[\\/]* ) ;;
9353 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9354 esac
9355 _ACEOF
9356
9357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9358 # If the template does not know about datarootdir, expand it.
9359 # FIXME: This hack should be removed a few years after 2.60.
9360 ac_datarootdir_hack=; ac_datarootdir_seen=
9361 ac_sed_dataroot='
9362 /datarootdir/ {
9363 p
9364 q
9365 }
9366 /@datadir@/p
9367 /@docdir@/p
9368 /@infodir@/p
9369 /@localedir@/p
9370 /@mandir@/p'
9371 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9372 *datarootdir*) ac_datarootdir_seen=yes;;
9373 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9375 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9376 _ACEOF
9377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9378 ac_datarootdir_hack='
9379 s&@datadir@&$datadir&g
9380 s&@docdir@&$docdir&g
9381 s&@infodir@&$infodir&g
9382 s&@localedir@&$localedir&g
9383 s&@mandir@&$mandir&g
9384 s&\\\${datarootdir}&$datarootdir&g' ;;
9385 esac
9386 _ACEOF
9387
9388 # Neutralize VPATH when `$srcdir' = `.'.
9389 # Shell code in configure.ac might set extrasub.
9390 # FIXME: do we really want to maintain this feature?
9391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9392 ac_sed_extra="$ac_vpsub
9393 $extrasub
9394 _ACEOF
9395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9396 :t
9397 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9398 s|@configure_input@|$ac_sed_conf_input|;t t
9399 s&@top_builddir@&$ac_top_builddir_sub&;t t
9400 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9401 s&@srcdir@&$ac_srcdir&;t t
9402 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9403 s&@top_srcdir@&$ac_top_srcdir&;t t
9404 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9405 s&@builddir@&$ac_builddir&;t t
9406 s&@abs_builddir@&$ac_abs_builddir&;t t
9407 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9408 s&@INSTALL@&$ac_INSTALL&;t t
9409 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9410 $ac_datarootdir_hack
9411 "
9412 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9413 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9414
9415 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9416 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9417 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9418 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9420 which seems to be undefined. Please make sure it is defined" >&5
9421 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9422 which seems to be undefined. Please make sure it is defined" >&2;}
9423
9424 rm -f "$ac_tmp/stdin"
9425 case $ac_file in
9426 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9427 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9428 esac \
9429 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9430 ;;
9431 :H)
9432 #
9433 # CONFIG_HEADER
9434 #
9435 if test x"$ac_file" != x-; then
9436 {
9437 printf "%s\n" "/* $configure_input */" >&1 \
9438 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9439 } >"$ac_tmp/config.h" \
9440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9441 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9443 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
9444 else
9445 rm -f "$ac_file"
9446 mv "$ac_tmp/config.h" "$ac_file" \
9447 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9448 fi
9449 else
9450 printf "%s\n" "/* $configure_input */" >&1 \
9451 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9452 || as_fn_error $? "could not create -" "$LINENO" 5
9453 fi
9454 # Compute "$ac_file"'s index in $config_headers.
9455 _am_arg="$ac_file"
9456 _am_stamp_count=1
9457 for _am_header in $config_headers :; do
9458 case $_am_header in
9459 $_am_arg | $_am_arg:* )
9460 break ;;
9461 * )
9462 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9463 esac
9464 done
9465 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9466 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9467 X"$_am_arg" : 'X\(//\)[^/]' \| \
9468 X"$_am_arg" : 'X\(//\)$' \| \
9469 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9470 printf "%s\n" X"$_am_arg" |
9471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9472 s//\1/
9473 q
9474 }
9475 /^X\(\/\/\)[^/].*/{
9476 s//\1/
9477 q
9478 }
9479 /^X\(\/\/\)$/{
9480 s//\1/
9481 q
9482 }
9483 /^X\(\/\).*/{
9484 s//\1/
9485 q
9486 }
9487 s/.*/./; q'`/stamp-h$_am_stamp_count
9488 ;;
9489
9490 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9491 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
9492 ;;
9493 esac
9494
9495
9496 case $ac_file$ac_mode in
9497 "po-directories":C)
9498 for ac_file in $CONFIG_FILES; do
9499 # Support "outfile[:infile[:infile...]]"
9500 case "$ac_file" in
9501 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9502 esac
9503 # PO directories have a Makefile.in generated from Makefile.in.in.
9504 case "$ac_file" in */Makefile.in)
9505 # Adjust a relative srcdir.
9506 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9507 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
9508 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9509 # In autoconf-2.13 it is called $ac_given_srcdir.
9510 # In autoconf-2.50 it is called $srcdir.
9511 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9512 case "$ac_given_srcdir" in
9513 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9514 /*) top_srcdir="$ac_given_srcdir" ;;
9515 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
9516 esac
9517 # Treat a directory as a PO directory if and only if it has a
9518 # POTFILES.in file. This allows packages to have multiple PO
9519 # directories under different names or in different locations.
9520 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9521 rm -f "$ac_dir/POTFILES"
9522 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9523 gt_tab=`printf '\t'`
9524 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"
9525 POMAKEFILEDEPS="POTFILES.in"
9526 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
9527 # on $ac_dir but don't depend on user-specified configuration
9528 # parameters.
9529 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9530 # The LINGUAS file contains the set of available languages.
9531 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9532 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9533 fi
9534 ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9535 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
9536 else
9537 # The set of available languages was given in configure.in.
9538 ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
9539 fi
9540 # Compute POFILES
9541 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
9542 # Compute UPDATEPOFILES
9543 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
9544 # Compute DUMMYPOFILES
9545 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
9546 # Compute GMOFILES
9547 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
9548 case "$ac_given_srcdir" in
9549 .) srcdirpre= ;;
9550 *) srcdirpre='$(srcdir)/' ;;
9551 esac
9552 POFILES=
9553 UPDATEPOFILES=
9554 DUMMYPOFILES=
9555 GMOFILES=
9556 for lang in $ALL_LINGUAS; do
9557 POFILES="$POFILES $srcdirpre$lang.po"
9558 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9559 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9560 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9561 done
9562 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9563 # environment variable.
9564 INST_LINGUAS=
9565 if test -n "$ALL_LINGUAS"; then
9566 for presentlang in $ALL_LINGUAS; do
9567 useit=no
9568 if test "%UNSET%" != "$LINGUAS"; then
9569 desiredlanguages="$LINGUAS"
9570 else
9571 desiredlanguages="$ALL_LINGUAS"
9572 fi
9573 for desiredlang in $desiredlanguages; do
9574 # Use the presentlang catalog if desiredlang is
9575 # a. equal to presentlang, or
9576 # b. a variant of presentlang (because in this case,
9577 # presentlang can be used as a fallback for messages
9578 # which are not translated in the desiredlang catalog).
9579 case "$desiredlang" in
9580 "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
9581 useit=yes
9582 ;;
9583 esac
9584 done
9585 if test $useit = yes; then
9586 INST_LINGUAS="$INST_LINGUAS $presentlang"
9587 fi
9588 done
9589 fi
9590 CATALOGS=
9591 if test -n "$INST_LINGUAS"; then
9592 for lang in $INST_LINGUAS; do
9593 CATALOGS="$CATALOGS $lang.gmo"
9594 done
9595 fi
9596 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9597 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"
9598 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9599 if test -f "$f"; then
9600 case "$f" in
9601 *.orig | *.bak | *~) ;;
9602 *) cat "$f" >> "$ac_dir/Makefile" ;;
9603 esac
9604 fi
9605 done
9606 fi
9607 ;;
9608 esac
9609 done ;;
9610 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9611 # Older Autoconf quotes --file arguments for eval, but not when files
9612 # are listed without --file. Let's play safe and only enable the eval
9613 # if we detect the quoting.
9614 # TODO: see whether this extra hack can be removed once we start
9615 # requiring Autoconf 2.70 or later.
9616 case $CONFIG_FILES in #(
9617 *\'*) :
9618 eval set x "$CONFIG_FILES" ;; #(
9619 *) :
9620 set x $CONFIG_FILES ;; #(
9621 *) :
9622 ;;
9623 esac
9624 shift
9625 # Used to flag and report bootstrapping failures.
9626 am_rc=0
9627 for am_mf
9628 do
9629 # Strip MF so we end up with the name of the file.
9630 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
9631 # Check whether this is an Automake generated Makefile which includes
9632 # dependency-tracking related rules and includes.
9633 # Grep'ing the whole file directly is not great: AIX grep has a line
9634 # limit of 2048, but all sed's we know have understand at least 4000.
9635 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9636 || continue
9637 am_dirpart=`$as_dirname -- "$am_mf" ||
9638 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9639 X"$am_mf" : 'X\(//\)[^/]' \| \
9640 X"$am_mf" : 'X\(//\)$' \| \
9641 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9642 printf "%s\n" X"$am_mf" |
9643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9644 s//\1/
9645 q
9646 }
9647 /^X\(\/\/\)[^/].*/{
9648 s//\1/
9649 q
9650 }
9651 /^X\(\/\/\)$/{
9652 s//\1/
9653 q
9654 }
9655 /^X\(\/\).*/{
9656 s//\1/
9657 q
9658 }
9659 s/.*/./; q'`
9660 am_filepart=`$as_basename -- "$am_mf" ||
9661 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
9662 X"$am_mf" : 'X\(//\)$' \| \
9663 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9664 printf "%s\n" X/"$am_mf" |
9665 sed '/^.*\/\([^/][^/]*\)\/*$/{
9666 s//\1/
9667 q
9668 }
9669 /^X\/\(\/\/\)$/{
9670 s//\1/
9671 q
9672 }
9673 /^X\/\(\/\).*/{
9674 s//\1/
9675 q
9676 }
9677 s/.*/./; q'`
9678 { echo "$as_me:$LINENO: cd "$am_dirpart" \
9679 && sed -e '/# am--include-marker/d' "$am_filepart" \
9680 | $MAKE -f - am--depfiles" >&5
9681 (cd "$am_dirpart" \
9682 && sed -e '/# am--include-marker/d' "$am_filepart" \
9683 | $MAKE -f - am--depfiles) >&5 2>&5
9684 ac_status=$?
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } || am_rc=$?
9687 done
9688 if test $am_rc -ne 0; then
9689 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9690 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
9691 as_fn_error $? "Something went wrong bootstrapping makefile fragments
9692 for automatic dependency tracking. If GNU make was not used, consider
9693 re-running the configure script with MAKE=\"gmake\" (or whatever is
9694 necessary). You can also try re-running configure with the
9695 '--disable-dependency-tracking' option to at least be able to build
9696 the package (albeit without support for automatic dependency tracking).
9697 See \`config.log' for more details" "$LINENO" 5; }
9698 fi
9699 { am_dirpart=; unset am_dirpart;}
9700 { am_filepart=; unset am_filepart;}
9701 { am_mf=; unset am_mf;}
9702 { am_rc=; unset am_rc;}
9703 rm -f conftest-deps.mk
9704 }
9705 ;;
9706
9707 esac
9708 done # for ac_tag
9709
9710
9711 as_fn_exit 0
9712 _ACEOF
9713 ac_clean_files=$ac_clean_files_save
9714
9715 test $ac_write_fail = 0 ||
9716 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9717
9718
9719 # configure is writing to config.log, and then calls config.status.
9720 # config.status does its own redirection, appending to config.log.
9721 # Unfortunately, on DOS this fails, as config.log is still kept open
9722 # by configure, so config.status won't be able to write to it; its
9723 # output is simply discarded. So we exec the FD to /dev/null,
9724 # effectively closing config.log, so it can be properly (re)opened and
9725 # appended to by config.status. When coming back to configure, we
9726 # need to make the FD available again.
9727 if test "$no_create" != yes; then
9728 ac_cs_success=:
9729 ac_config_status_args=
9730 test "$silent" = yes &&
9731 ac_config_status_args="$ac_config_status_args --quiet"
9732 exec 5>/dev/null
9733 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9734 exec 5>>config.log
9735 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9736 # would make configure fail if this is the last instruction.
9737 $ac_cs_success || as_fn_exit 1
9738 fi
9739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9741 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9742 fi
9743
9744
9745