Debian Codegraph @

configure

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