Debian Codegraph @

configure

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