Debian Codegraph @

configure

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