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