"Fossies" - the Fresh Open Source Software Archive 
Member "g3data-1.5.4/configure" (14 Jan 2011, 181287 Bytes) of package /linux/privat/old/g3data-1.5.4.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.66 for g3data 1.5.4.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150 esac
151 fi
152 "
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167 exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
191 /*)
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200 fi
201 fi
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235 fi
236 exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254 { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263 return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271 set +e
272 as_fn_set_status $1
273 exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
334 else
335 as_fn_append ()
336 {
337 eval $1=\$$1\$2
338 }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351 else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356 fi # as_fn_arith
357
358
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
364 as_fn_error ()
365 {
366 as_status=$1; test $as_status -eq 0 && as_status=1
367 if test "$4"; then
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 fi
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378 else
379 as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384 else
385 as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390 else
391 as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426 sed -n '
427 p
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
433 b
434 :lineno
435 N
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
461 *)
462 ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468 else
469 rm -f conf$$.dir
470 mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s'
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
485 fi
486 else
487 as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
494 else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501 else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1
531
532 # Name of the host.
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537 #
538 # Initializations.
539 #
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIBOBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
548
549 # Identity of this package.
550 PACKAGE_NAME='g3data'
551 PACKAGE_TARNAME='g3data'
552 PACKAGE_VERSION='1.5.4'
553 PACKAGE_STRING='g3data 1.5.4'
554 PACKAGE_BUGREPORT=''
555 PACKAGE_URL=''
556
557 ac_unique_file="g3data/main.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
560 #include <stdio.h>
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
563 #endif
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
566 #endif
567 #ifdef STDC_HEADERS
568 # include <stdlib.h>
569 # include <stddef.h>
570 #else
571 # ifdef HAVE_STDLIB_H
572 # include <stdlib.h>
573 # endif
574 #endif
575 #ifdef HAVE_STRING_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 # include <memory.h>
578 # endif
579 # include <string.h>
580 #endif
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
583 #endif
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
586 #endif
587 #ifdef HAVE_STDINT_H
588 # include <stdint.h>
589 #endif
590 #ifdef HAVE_UNISTD_H
591 # include <unistd.h>
592 #endif"
593
594 ac_subst_vars='am__EXEEXT_FALSE
595 am__EXEEXT_TRUE
596 LTLIBOBJS
597 LIBOBJS
598 EGREP
599 GREP
600 CPP
601 GTK_LIBS
602 GTK_CFLAGS
603 GLIB_LIBS
604 GLIB_CFLAGS
605 PKG_CONFIG_LIBDIR
606 PKG_CONFIG_PATH
607 PKG_CONFIG
608 am__fastdepCC_FALSE
609 am__fastdepCC_TRUE
610 CCDEPMODE
611 AMDEPBACKSLASH
612 AMDEP_FALSE
613 AMDEP_TRUE
614 am__quote
615 am__include
616 DEPDIR
617 OBJEXT
618 EXEEXT
619 ac_ct_CC
620 CPPFLAGS
621 LDFLAGS
622 CFLAGS
623 CC
624 WARNING_FLAGS
625 AM_BACKSLASH
626 AM_DEFAULT_VERBOSITY
627 am__untar
628 am__tar
629 AMTAR
630 am__leading_dot
631 SET_MAKE
632 AWK
633 mkdir_p
634 MKDIR_P
635 INSTALL_STRIP_PROGRAM
636 STRIP
637 install_sh
638 MAKEINFO
639 AUTOHEADER
640 AUTOMAKE
641 AUTOCONF
642 ACLOCAL
643 VERSION
644 PACKAGE
645 CYGPATH_W
646 am__isrc
647 INSTALL_DATA
648 INSTALL_SCRIPT
649 INSTALL_PROGRAM
650 target_alias
651 host_alias
652 build_alias
653 LIBS
654 ECHO_T
655 ECHO_N
656 ECHO_C
657 DEFS
658 mandir
659 localedir
660 libdir
661 psdir
662 pdfdir
663 dvidir
664 htmldir
665 infodir
666 docdir
667 oldincludedir
668 includedir
669 localstatedir
670 sharedstatedir
671 sysconfdir
672 datadir
673 datarootdir
674 libexecdir
675 sbindir
676 bindir
677 program_transform_name
678 prefix
679 exec_prefix
680 PACKAGE_URL
681 PACKAGE_BUGREPORT
682 PACKAGE_STRING
683 PACKAGE_VERSION
684 PACKAGE_TARNAME
685 PACKAGE_NAME
686 PATH_SEPARATOR
687 SHELL'
688 ac_subst_files=''
689 ac_user_opts='
690 enable_option_checking
691 enable_silent_rules
692 enable_dependency_tracking
693 '
694 ac_precious_vars='build_alias
695 host_alias
696 target_alias
697 CC
698 CFLAGS
699 LDFLAGS
700 LIBS
701 CPPFLAGS
702 PKG_CONFIG
703 PKG_CONFIG_PATH
704 PKG_CONFIG_LIBDIR
705 GLIB_CFLAGS
706 GLIB_LIBS
707 GTK_CFLAGS
708 GTK_LIBS
709 CPP'
710
711
712 # Initialize some variables set by options.
713 ac_init_help=
714 ac_init_version=false
715 ac_unrecognized_opts=
716 ac_unrecognized_sep=
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
719 cache_file=/dev/null
720 exec_prefix=NONE
721 no_create=
722 no_recursion=
723 prefix=NONE
724 program_prefix=NONE
725 program_suffix=NONE
726 program_transform_name=s,x,x,
727 silent=
728 site=
729 srcdir=
730 verbose=
731 x_includes=NONE
732 x_libraries=NONE
733
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir='${exec_prefix}/bin'
741 sbindir='${exec_prefix}/sbin'
742 libexecdir='${exec_prefix}/libexec'
743 datarootdir='${prefix}/share'
744 datadir='${datarootdir}'
745 sysconfdir='${prefix}/etc'
746 sharedstatedir='${prefix}/com'
747 localstatedir='${prefix}/var'
748 includedir='${prefix}/include'
749 oldincludedir='/usr/include'
750 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
751 infodir='${datarootdir}/info'
752 htmldir='${docdir}'
753 dvidir='${docdir}'
754 pdfdir='${docdir}'
755 psdir='${docdir}'
756 libdir='${exec_prefix}/lib'
757 localedir='${datarootdir}/locale'
758 mandir='${datarootdir}/man'
759
760 ac_prev=
761 ac_dashdash=
762 for ac_option
763 do
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
766 eval $ac_prev=\$ac_option
767 ac_prev=
768 continue
769 fi
770
771 case $ac_option in
772 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 *) ac_optarg=yes ;;
774 esac
775
776 # Accept the important Cygnus configure options, so we can diagnose typos.
777
778 case $ac_dashdash$ac_option in
779 --)
780 ac_dashdash=yes ;;
781
782 -bindir | --bindir | --bindi | --bind | --bin | --bi)
783 ac_prev=bindir ;;
784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
785 bindir=$ac_optarg ;;
786
787 -build | --build | --buil | --bui | --bu)
788 ac_prev=build_alias ;;
789 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790 build_alias=$ac_optarg ;;
791
792 -cache-file | --cache-file | --cache-fil | --cache-fi \
793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794 ac_prev=cache_file ;;
795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797 cache_file=$ac_optarg ;;
798
799 --config-cache | -C)
800 cache_file=config.cache ;;
801
802 -datadir | --datadir | --datadi | --datad)
803 ac_prev=datadir ;;
804 -datadir=* | --datadir=* | --datadi=* | --datad=*)
805 datadir=$ac_optarg ;;
806
807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808 | --dataroo | --dataro | --datar)
809 ac_prev=datarootdir ;;
810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812 datarootdir=$ac_optarg ;;
813
814 -disable-* | --disable-*)
815 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818 as_fn_error $? "invalid feature name: $ac_useropt"
819 ac_useropt_orig=$ac_useropt
820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821 case $ac_user_opts in
822 *"
823 "enable_$ac_useropt"
824 "*) ;;
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
826 ac_unrecognized_sep=', ';;
827 esac
828 eval enable_$ac_useropt=no ;;
829
830 -docdir | --docdir | --docdi | --doc | --do)
831 ac_prev=docdir ;;
832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
833 docdir=$ac_optarg ;;
834
835 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
836 ac_prev=dvidir ;;
837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
838 dvidir=$ac_optarg ;;
839
840 -enable-* | --enable-*)
841 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
842 # Reject names that are not valid shell variable names.
843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844 as_fn_error $? "invalid feature name: $ac_useropt"
845 ac_useropt_orig=$ac_useropt
846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847 case $ac_user_opts in
848 *"
849 "enable_$ac_useropt"
850 "*) ;;
851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
852 ac_unrecognized_sep=', ';;
853 esac
854 eval enable_$ac_useropt=\$ac_optarg ;;
855
856 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
857 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
858 | --exec | --exe | --ex)
859 ac_prev=exec_prefix ;;
860 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
861 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
862 | --exec=* | --exe=* | --ex=*)
863 exec_prefix=$ac_optarg ;;
864
865 -gas | --gas | --ga | --g)
866 # Obsolete; use --with-gas.
867 with_gas=yes ;;
868
869 -help | --help | --hel | --he | -h)
870 ac_init_help=long ;;
871 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
872 ac_init_help=recursive ;;
873 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
874 ac_init_help=short ;;
875
876 -host | --host | --hos | --ho)
877 ac_prev=host_alias ;;
878 -host=* | --host=* | --hos=* | --ho=*)
879 host_alias=$ac_optarg ;;
880
881 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
882 ac_prev=htmldir ;;
883 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
884 | --ht=*)
885 htmldir=$ac_optarg ;;
886
887 -includedir | --includedir | --includedi | --included | --include \
888 | --includ | --inclu | --incl | --inc)
889 ac_prev=includedir ;;
890 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
891 | --includ=* | --inclu=* | --incl=* | --inc=*)
892 includedir=$ac_optarg ;;
893
894 -infodir | --infodir | --infodi | --infod | --info | --inf)
895 ac_prev=infodir ;;
896 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
897 infodir=$ac_optarg ;;
898
899 -libdir | --libdir | --libdi | --libd)
900 ac_prev=libdir ;;
901 -libdir=* | --libdir=* | --libdi=* | --libd=*)
902 libdir=$ac_optarg ;;
903
904 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
905 | --libexe | --libex | --libe)
906 ac_prev=libexecdir ;;
907 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
908 | --libexe=* | --libex=* | --libe=*)
909 libexecdir=$ac_optarg ;;
910
911 -localedir | --localedir | --localedi | --localed | --locale)
912 ac_prev=localedir ;;
913 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
914 localedir=$ac_optarg ;;
915
916 -localstatedir | --localstatedir | --localstatedi | --localstated \
917 | --localstate | --localstat | --localsta | --localst | --locals)
918 ac_prev=localstatedir ;;
919 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
920 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
921 localstatedir=$ac_optarg ;;
922
923 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
924 ac_prev=mandir ;;
925 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
926 mandir=$ac_optarg ;;
927
928 -nfp | --nfp | --nf)
929 # Obsolete; use --without-fp.
930 with_fp=no ;;
931
932 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
933 | --no-cr | --no-c | -n)
934 no_create=yes ;;
935
936 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
937 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
938 no_recursion=yes ;;
939
940 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
941 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
942 | --oldin | --oldi | --old | --ol | --o)
943 ac_prev=oldincludedir ;;
944 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
945 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
946 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
947 oldincludedir=$ac_optarg ;;
948
949 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
950 ac_prev=prefix ;;
951 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
952 prefix=$ac_optarg ;;
953
954 -program-prefix | --program-prefix | --program-prefi | --program-pref \
955 | --program-pre | --program-pr | --program-p)
956 ac_prev=program_prefix ;;
957 -program-prefix=* | --program-prefix=* | --program-prefi=* \
958 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
959 program_prefix=$ac_optarg ;;
960
961 -program-suffix | --program-suffix | --program-suffi | --program-suff \
962 | --program-suf | --program-su | --program-s)
963 ac_prev=program_suffix ;;
964 -program-suffix=* | --program-suffix=* | --program-suffi=* \
965 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
966 program_suffix=$ac_optarg ;;
967
968 -program-transform-name | --program-transform-name \
969 | --program-transform-nam | --program-transform-na \
970 | --program-transform-n | --program-transform- \
971 | --program-transform | --program-transfor \
972 | --program-transfo | --program-transf \
973 | --program-trans | --program-tran \
974 | --progr-tra | --program-tr | --program-t)
975 ac_prev=program_transform_name ;;
976 -program-transform-name=* | --program-transform-name=* \
977 | --program-transform-nam=* | --program-transform-na=* \
978 | --program-transform-n=* | --program-transform-=* \
979 | --program-transform=* | --program-transfor=* \
980 | --program-transfo=* | --program-transf=* \
981 | --program-trans=* | --program-tran=* \
982 | --progr-tra=* | --program-tr=* | --program-t=*)
983 program_transform_name=$ac_optarg ;;
984
985 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
986 ac_prev=pdfdir ;;
987 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
988 pdfdir=$ac_optarg ;;
989
990 -psdir | --psdir | --psdi | --psd | --ps)
991 ac_prev=psdir ;;
992 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
993 psdir=$ac_optarg ;;
994
995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996 | -silent | --silent | --silen | --sile | --sil)
997 silent=yes ;;
998
999 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1000 ac_prev=sbindir ;;
1001 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1002 | --sbi=* | --sb=*)
1003 sbindir=$ac_optarg ;;
1004
1005 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1006 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1007 | --sharedst | --shareds | --shared | --share | --shar \
1008 | --sha | --sh)
1009 ac_prev=sharedstatedir ;;
1010 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1011 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1012 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1013 | --sha=* | --sh=*)
1014 sharedstatedir=$ac_optarg ;;
1015
1016 -site | --site | --sit)
1017 ac_prev=site ;;
1018 -site=* | --site=* | --sit=*)
1019 site=$ac_optarg ;;
1020
1021 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1022 ac_prev=srcdir ;;
1023 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1024 srcdir=$ac_optarg ;;
1025
1026 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1027 | --syscon | --sysco | --sysc | --sys | --sy)
1028 ac_prev=sysconfdir ;;
1029 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1030 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1031 sysconfdir=$ac_optarg ;;
1032
1033 -target | --target | --targe | --targ | --tar | --ta | --t)
1034 ac_prev=target_alias ;;
1035 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1036 target_alias=$ac_optarg ;;
1037
1038 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1039 verbose=yes ;;
1040
1041 -version | --version | --versio | --versi | --vers | -V)
1042 ac_init_version=: ;;
1043
1044 -with-* | --with-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error $? "invalid package name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1052 *"
1053 "with_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval with_$ac_useropt=\$ac_optarg ;;
1059
1060 -without-* | --without-*)
1061 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064 as_fn_error $? "invalid package name: $ac_useropt"
1065 ac_useropt_orig=$ac_useropt
1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067 case $ac_user_opts in
1068 *"
1069 "with_$ac_useropt"
1070 "*) ;;
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1072 ac_unrecognized_sep=', ';;
1073 esac
1074 eval with_$ac_useropt=no ;;
1075
1076 --x)
1077 # Obsolete; use --with-x.
1078 with_x=yes ;;
1079
1080 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1081 | --x-incl | --x-inc | --x-in | --x-i)
1082 ac_prev=x_includes ;;
1083 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1084 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1085 x_includes=$ac_optarg ;;
1086
1087 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1088 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1089 ac_prev=x_libraries ;;
1090 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1091 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1092 x_libraries=$ac_optarg ;;
1093
1094 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1095 Try \`$0 --help' for more information"
1096 ;;
1097
1098 *=*)
1099 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1100 # Reject names that are not valid shell variable names.
1101 case $ac_envvar in #(
1102 '' | [0-9]* | *[!_$as_cr_alnum]* )
1103 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1104 esac
1105 eval $ac_envvar=\$ac_optarg
1106 export $ac_envvar ;;
1107
1108 *)
1109 # FIXME: should be removed in autoconf 3.0.
1110 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1113 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1114 ;;
1115
1116 esac
1117 done
1118
1119 if test -n "$ac_prev"; then
1120 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1121 as_fn_error $? "missing argument to $ac_option"
1122 fi
1123
1124 if test -n "$ac_unrecognized_opts"; then
1125 case $enable_option_checking in
1126 no) ;;
1127 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1128 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1129 esac
1130 fi
1131
1132 # Check all directory arguments for consistency.
1133 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1134 datadir sysconfdir sharedstatedir localstatedir includedir \
1135 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1136 libdir localedir mandir
1137 do
1138 eval ac_val=\$$ac_var
1139 # Remove trailing slashes.
1140 case $ac_val in
1141 */ )
1142 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1143 eval $ac_var=\$ac_val;;
1144 esac
1145 # Be sure to have absolute directory names.
1146 case $ac_val in
1147 [\\/$]* | ?:[\\/]* ) continue;;
1148 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1149 esac
1150 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1151 done
1152
1153 # There might be people who depend on the old broken behavior: `$host'
1154 # used to hold the argument of --host etc.
1155 # FIXME: To remove some day.
1156 build=$build_alias
1157 host=$host_alias
1158 target=$target_alias
1159
1160 # FIXME: To remove some day.
1161 if test "x$host_alias" != x; then
1162 if test "x$build_alias" = x; then
1163 cross_compiling=maybe
1164 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1165 If a cross compiler is detected then cross compile mode will be used" >&2
1166 elif test "x$build_alias" != "x$host_alias"; then
1167 cross_compiling=yes
1168 fi
1169 fi
1170
1171 ac_tool_prefix=
1172 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1173
1174 test "$silent" = yes && exec 6>/dev/null
1175
1176
1177 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1178 ac_ls_di=`ls -di .` &&
1179 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1180 as_fn_error $? "working directory cannot be determined"
1181 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1182 as_fn_error $? "pwd does not report name of working directory"
1183
1184
1185 # Find the source files, if location was not specified.
1186 if test -z "$srcdir"; then
1187 ac_srcdir_defaulted=yes
1188 # Try the directory containing this script, then the parent directory.
1189 ac_confdir=`$as_dirname -- "$as_myself" ||
1190 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1191 X"$as_myself" : 'X\(//\)[^/]' \| \
1192 X"$as_myself" : 'X\(//\)$' \| \
1193 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1194 $as_echo X"$as_myself" |
1195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1196 s//\1/
1197 q
1198 }
1199 /^X\(\/\/\)[^/].*/{
1200 s//\1/
1201 q
1202 }
1203 /^X\(\/\/\)$/{
1204 s//\1/
1205 q
1206 }
1207 /^X\(\/\).*/{
1208 s//\1/
1209 q
1210 }
1211 s/.*/./; q'`
1212 srcdir=$ac_confdir
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 srcdir=..
1215 fi
1216 else
1217 ac_srcdir_defaulted=no
1218 fi
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1220 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1221 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1222 fi
1223 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1224 ac_abs_confdir=`(
1225 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1226 pwd)`
1227 # When building in place, set srcdir=.
1228 if test "$ac_abs_confdir" = "$ac_pwd"; then
1229 srcdir=.
1230 fi
1231 # Remove unnecessary trailing slashes from srcdir.
1232 # Double slashes in file names in object file debugging info
1233 # mess up M-x gdb in Emacs.
1234 case $srcdir in
1235 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1236 esac
1237 for ac_var in $ac_precious_vars; do
1238 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1239 eval ac_env_${ac_var}_value=\$${ac_var}
1240 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1241 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1242 done
1243
1244 #
1245 # Report the --help message.
1246 #
1247 if test "$ac_init_help" = "long"; then
1248 # Omit some internal or obsolete options to make the list less imposing.
1249 # This message is too long to be a string in the A/UX 3.1 sh.
1250 cat <<_ACEOF
1251 \`configure' configures g3data 1.5.4 to adapt to many kinds of systems.
1252
1253 Usage: $0 [OPTION]... [VAR=VALUE]...
1254
1255 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1256 VAR=VALUE. See below for descriptions of some of the useful variables.
1257
1258 Defaults for the options are specified in brackets.
1259
1260 Configuration:
1261 -h, --help display this help and exit
1262 --help=short display options specific to this package
1263 --help=recursive display the short help of all the included packages
1264 -V, --version display version information and exit
1265 -q, --quiet, --silent do not print \`checking ...' messages
1266 --cache-file=FILE cache test results in FILE [disabled]
1267 -C, --config-cache alias for \`--cache-file=config.cache'
1268 -n, --no-create do not create output files
1269 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1270
1271 Installation directories:
1272 --prefix=PREFIX install architecture-independent files in PREFIX
1273 [$ac_default_prefix]
1274 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1275 [PREFIX]
1276
1277 By default, \`make install' will install all the files in
1278 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1279 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1280 for instance \`--prefix=\$HOME'.
1281
1282 For better control, use the options below.
1283
1284 Fine tuning of the installation directories:
1285 --bindir=DIR user executables [EPREFIX/bin]
1286 --sbindir=DIR system admin executables [EPREFIX/sbin]
1287 --libexecdir=DIR program executables [EPREFIX/libexec]
1288 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1289 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1290 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1291 --libdir=DIR object code libraries [EPREFIX/lib]
1292 --includedir=DIR C header files [PREFIX/include]
1293 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1294 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1295 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1296 --infodir=DIR info documentation [DATAROOTDIR/info]
1297 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1298 --mandir=DIR man documentation [DATAROOTDIR/man]
1299 --docdir=DIR documentation root [DATAROOTDIR/doc/g3data]
1300 --htmldir=DIR html documentation [DOCDIR]
1301 --dvidir=DIR dvi documentation [DOCDIR]
1302 --pdfdir=DIR pdf documentation [DOCDIR]
1303 --psdir=DIR ps documentation [DOCDIR]
1304 _ACEOF
1305
1306 cat <<\_ACEOF
1307
1308 Program names:
1309 --program-prefix=PREFIX prepend PREFIX to installed program names
1310 --program-suffix=SUFFIX append SUFFIX to installed program names
1311 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1312 _ACEOF
1313 fi
1314
1315 if test -n "$ac_init_help"; then
1316 case $ac_init_help in
1317 short | recursive ) echo "Configuration of g3data 1.5.4:";;
1318 esac
1319 cat <<\_ACEOF
1320
1321 Optional Features:
1322 --disable-option-checking ignore unrecognized --enable/--with options
1323 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1324 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1325 --enable-silent-rules less verbose build output (undo: `make V=1')
1326 --disable-silent-rules verbose build output (undo: `make V=0')
1327 --disable-dependency-tracking speeds up one-time build
1328 --enable-dependency-tracking do not reject slow dependency extractors
1329
1330 Some influential environment variables:
1331 CC C compiler command
1332 CFLAGS C compiler flags
1333 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1334 nonstandard directory <lib dir>
1335 LIBS libraries to pass to the linker, e.g. -l<library>
1336 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1337 you have headers in a nonstandard directory <include dir>
1338 PKG_CONFIG path to pkg-config utility
1339 PKG_CONFIG_PATH
1340 directories to add to pkg-config's search path
1341 PKG_CONFIG_LIBDIR
1342 path overriding pkg-config's built-in search path
1343 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1344 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1345 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1346 GTK_LIBS linker flags for GTK, overriding pkg-config
1347 CPP C preprocessor
1348
1349 Use these variables to override the choices made by `configure' or to help
1350 it to find libraries and programs with nonstandard names/locations.
1351
1352 Report bugs to the package provider.
1353 _ACEOF
1354 ac_status=$?
1355 fi
1356
1357 if test "$ac_init_help" = "recursive"; then
1358 # If there are subdirs, report their specific --help.
1359 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1360 test -d "$ac_dir" ||
1361 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1362 continue
1363 ac_builddir=.
1364
1365 case "$ac_dir" in
1366 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1367 *)
1368 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1369 # A ".." for each directory in $ac_dir_suffix.
1370 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1371 case $ac_top_builddir_sub in
1372 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1373 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1374 esac ;;
1375 esac
1376 ac_abs_top_builddir=$ac_pwd
1377 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1378 # for backward compatibility:
1379 ac_top_builddir=$ac_top_build_prefix
1380
1381 case $srcdir in
1382 .) # We are building in place.
1383 ac_srcdir=.
1384 ac_top_srcdir=$ac_top_builddir_sub
1385 ac_abs_top_srcdir=$ac_pwd ;;
1386 [\\/]* | ?:[\\/]* ) # Absolute name.
1387 ac_srcdir=$srcdir$ac_dir_suffix;
1388 ac_top_srcdir=$srcdir
1389 ac_abs_top_srcdir=$srcdir ;;
1390 *) # Relative name.
1391 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1392 ac_top_srcdir=$ac_top_build_prefix$srcdir
1393 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1394 esac
1395 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1396
1397 cd "$ac_dir" || { ac_status=$?; continue; }
1398 # Check for guested configure.
1399 if test -f "$ac_srcdir/configure.gnu"; then
1400 echo &&
1401 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1402 elif test -f "$ac_srcdir/configure"; then
1403 echo &&
1404 $SHELL "$ac_srcdir/configure" --help=recursive
1405 else
1406 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1407 fi || ac_status=$?
1408 cd "$ac_pwd" || { ac_status=$?; break; }
1409 done
1410 fi
1411
1412 test -n "$ac_init_help" && exit $ac_status
1413 if $ac_init_version; then
1414 cat <<\_ACEOF
1415 g3data configure 1.5.4
1416 generated by GNU Autoconf 2.66
1417
1418 Copyright (C) 2010 Free Software Foundation, Inc.
1419 This configure script is free software; the Free Software Foundation
1420 gives unlimited permission to copy, distribute and modify it.
1421 _ACEOF
1422 exit
1423 fi
1424
1425 ## ------------------------ ##
1426 ## Autoconf initialization. ##
1427 ## ------------------------ ##
1428
1429 # ac_fn_c_try_compile LINENO
1430 # --------------------------
1431 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1432 ac_fn_c_try_compile ()
1433 {
1434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1435 rm -f conftest.$ac_objext
1436 if { { ac_try="$ac_compile"
1437 case "(($ac_try" in
1438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1439 *) ac_try_echo=$ac_try;;
1440 esac
1441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1442 $as_echo "$ac_try_echo"; } >&5
1443 (eval "$ac_compile") 2>conftest.err
1444 ac_status=$?
1445 if test -s conftest.err; then
1446 grep -v '^ *+' conftest.err >conftest.er1
1447 cat conftest.er1 >&5
1448 mv -f conftest.er1 conftest.err
1449 fi
1450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1451 test $ac_status = 0; } && {
1452 test -z "$ac_c_werror_flag" ||
1453 test ! -s conftest.err
1454 } && test -s conftest.$ac_objext; then :
1455 ac_retval=0
1456 else
1457 $as_echo "$as_me: failed program was:" >&5
1458 sed 's/^/| /' conftest.$ac_ext >&5
1459
1460 ac_retval=1
1461 fi
1462 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1463 as_fn_set_status $ac_retval
1464
1465 } # ac_fn_c_try_compile
1466
1467 # ac_fn_c_try_link LINENO
1468 # -----------------------
1469 # Try to link conftest.$ac_ext, and return whether this succeeded.
1470 ac_fn_c_try_link ()
1471 {
1472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1473 rm -f conftest.$ac_objext conftest$ac_exeext
1474 if { { ac_try="$ac_link"
1475 case "(($ac_try" in
1476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1477 *) ac_try_echo=$ac_try;;
1478 esac
1479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480 $as_echo "$ac_try_echo"; } >&5
1481 (eval "$ac_link") 2>conftest.err
1482 ac_status=$?
1483 if test -s conftest.err; then
1484 grep -v '^ *+' conftest.err >conftest.er1
1485 cat conftest.er1 >&5
1486 mv -f conftest.er1 conftest.err
1487 fi
1488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489 test $ac_status = 0; } && {
1490 test -z "$ac_c_werror_flag" ||
1491 test ! -s conftest.err
1492 } && test -s conftest$ac_exeext && {
1493 test "$cross_compiling" = yes ||
1494 $as_test_x conftest$ac_exeext
1495 }; then :
1496 ac_retval=0
1497 else
1498 $as_echo "$as_me: failed program was:" >&5
1499 sed 's/^/| /' conftest.$ac_ext >&5
1500
1501 ac_retval=1
1502 fi
1503 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1504 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1505 # interfere with the next link command; also delete a directory that is
1506 # left behind by Apple's compiler. We do this before executing the actions.
1507 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1509 as_fn_set_status $ac_retval
1510
1511 } # ac_fn_c_try_link
1512
1513 # ac_fn_c_try_cpp LINENO
1514 # ----------------------
1515 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1516 ac_fn_c_try_cpp ()
1517 {
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 if { { ac_try="$ac_cpp conftest.$ac_ext"
1520 case "(($ac_try" in
1521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522 *) ac_try_echo=$ac_try;;
1523 esac
1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1527 ac_status=$?
1528 if test -s conftest.err; then
1529 grep -v '^ *+' conftest.err >conftest.er1
1530 cat conftest.er1 >&5
1531 mv -f conftest.er1 conftest.err
1532 fi
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534 test $ac_status = 0; } >/dev/null && {
1535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1536 test ! -s conftest.err
1537 }; then :
1538 ac_retval=0
1539 else
1540 $as_echo "$as_me: failed program was:" >&5
1541 sed 's/^/| /' conftest.$ac_ext >&5
1542
1543 ac_retval=1
1544 fi
1545 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1546 as_fn_set_status $ac_retval
1547
1548 } # ac_fn_c_try_cpp
1549
1550 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1551 # -------------------------------------------------------
1552 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1553 # the include files in INCLUDES and setting the cache variable VAR
1554 # accordingly.
1555 ac_fn_c_check_header_mongrel ()
1556 {
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558 if eval "test \"\${$3+set}\"" = set; then :
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1560 $as_echo_n "checking for $2... " >&6; }
1561 if eval "test \"\${$3+set}\"" = set; then :
1562 $as_echo_n "(cached) " >&6
1563 fi
1564 eval ac_res=\$$3
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1566 $as_echo "$ac_res" >&6; }
1567 else
1568 # Is the header compilable?
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1570 $as_echo_n "checking $2 usability... " >&6; }
1571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1572 /* end confdefs.h. */
1573 $4
1574 #include <$2>
1575 _ACEOF
1576 if ac_fn_c_try_compile "$LINENO"; then :
1577 ac_header_compiler=yes
1578 else
1579 ac_header_compiler=no
1580 fi
1581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1583 $as_echo "$ac_header_compiler" >&6; }
1584
1585 # Is the header present?
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1587 $as_echo_n "checking $2 presence... " >&6; }
1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1589 /* end confdefs.h. */
1590 #include <$2>
1591 _ACEOF
1592 if ac_fn_c_try_cpp "$LINENO"; then :
1593 ac_header_preproc=yes
1594 else
1595 ac_header_preproc=no
1596 fi
1597 rm -f conftest.err conftest.$ac_ext
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1599 $as_echo "$ac_header_preproc" >&6; }
1600
1601 # So? What about this header?
1602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1603 yes:no: )
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1605 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1607 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1608 ;;
1609 no:yes:* )
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1611 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1613 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1615 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1617 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1619 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1620 ;;
1621 esac
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623 $as_echo_n "checking for $2... " >&6; }
1624 if eval "test \"\${$3+set}\"" = set; then :
1625 $as_echo_n "(cached) " >&6
1626 else
1627 eval "$3=\$ac_header_compiler"
1628 fi
1629 eval ac_res=\$$3
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632 fi
1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1634
1635 } # ac_fn_c_check_header_mongrel
1636
1637 # ac_fn_c_try_run LINENO
1638 # ----------------------
1639 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1640 # that executables *can* be run.
1641 ac_fn_c_try_run ()
1642 {
1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644 if { { ac_try="$ac_link"
1645 case "(($ac_try" in
1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_link") 2>&5
1652 ac_status=$?
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1655 { { case "(($ac_try" in
1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1658 esac
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_try") 2>&5
1662 ac_status=$?
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; }; }; then :
1665 ac_retval=0
1666 else
1667 $as_echo "$as_me: program exited with status $ac_status" >&5
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1670
1671 ac_retval=$ac_status
1672 fi
1673 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1674 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1675 as_fn_set_status $ac_retval
1676
1677 } # ac_fn_c_try_run
1678
1679 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1680 # -------------------------------------------------------
1681 # Tests whether HEADER exists and can be compiled using the include files in
1682 # INCLUDES, setting the cache variable VAR accordingly.
1683 ac_fn_c_check_header_compile ()
1684 {
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if eval "test \"\${$3+set}\"" = set; then :
1689 $as_echo_n "(cached) " >&6
1690 else
1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1692 /* end confdefs.h. */
1693 $4
1694 #include <$2>
1695 _ACEOF
1696 if ac_fn_c_try_compile "$LINENO"; then :
1697 eval "$3=yes"
1698 else
1699 eval "$3=no"
1700 fi
1701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1702 fi
1703 eval ac_res=\$$3
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705 $as_echo "$ac_res" >&6; }
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707
1708 } # ac_fn_c_check_header_compile
1709
1710 # ac_fn_c_check_func LINENO FUNC VAR
1711 # ----------------------------------
1712 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1713 ac_fn_c_check_func ()
1714 {
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1717 $as_echo_n "checking for $2... " >&6; }
1718 if eval "test \"\${$3+set}\"" = set; then :
1719 $as_echo_n "(cached) " >&6
1720 else
1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h. */
1723 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1725 #define $2 innocuous_$2
1726
1727 /* System header to define __stub macros and hopefully few prototypes,
1728 which can conflict with char $2 (); below.
1729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1730 <limits.h> exists even on freestanding compilers. */
1731
1732 #ifdef __STDC__
1733 # include <limits.h>
1734 #else
1735 # include <assert.h>
1736 #endif
1737
1738 #undef $2
1739
1740 /* Override any GCC internal prototype to avoid an error.
1741 Use char because int might match the return type of a GCC
1742 builtin and then its argument prototype would still apply. */
1743 #ifdef __cplusplus
1744 extern "C"
1745 #endif
1746 char $2 ();
1747 /* The GNU C library defines this for functions which it implements
1748 to always fail with ENOSYS. Some functions are actually named
1749 something starting with __ and the normal name is an alias. */
1750 #if defined __stub_$2 || defined __stub___$2
1751 choke me
1752 #endif
1753
1754 int
1755 main ()
1756 {
1757 return $2 ();
1758 ;
1759 return 0;
1760 }
1761 _ACEOF
1762 if ac_fn_c_try_link "$LINENO"; then :
1763 eval "$3=yes"
1764 else
1765 eval "$3=no"
1766 fi
1767 rm -f core conftest.err conftest.$ac_objext \
1768 conftest$ac_exeext conftest.$ac_ext
1769 fi
1770 eval ac_res=\$$3
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774
1775 } # ac_fn_c_check_func
1776 cat >config.log <<_ACEOF
1777 This file contains any messages produced by compilers while
1778 running configure, to aid debugging if configure makes a mistake.
1779
1780 It was created by g3data $as_me 1.5.4, which was
1781 generated by GNU Autoconf 2.66. Invocation command line was
1782
1783 $ $0 $@
1784
1785 _ACEOF
1786 exec 5>>config.log
1787 {
1788 cat <<_ASUNAME
1789 ## --------- ##
1790 ## Platform. ##
1791 ## --------- ##
1792
1793 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1794 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1795 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1796 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1797 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1798
1799 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1800 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1801
1802 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1803 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1804 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1805 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1806 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1807 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1808 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1809
1810 _ASUNAME
1811
1812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813 for as_dir in $PATH
1814 do
1815 IFS=$as_save_IFS
1816 test -z "$as_dir" && as_dir=.
1817 $as_echo "PATH: $as_dir"
1818 done
1819 IFS=$as_save_IFS
1820
1821 } >&5
1822
1823 cat >&5 <<_ACEOF
1824
1825
1826 ## ----------- ##
1827 ## Core tests. ##
1828 ## ----------- ##
1829
1830 _ACEOF
1831
1832
1833 # Keep a trace of the command line.
1834 # Strip out --no-create and --no-recursion so they do not pile up.
1835 # Strip out --silent because we don't want to record it for future runs.
1836 # Also quote any args containing shell meta-characters.
1837 # Make two passes to allow for proper duplicate-argument suppression.
1838 ac_configure_args=
1839 ac_configure_args0=
1840 ac_configure_args1=
1841 ac_must_keep_next=false
1842 for ac_pass in 1 2
1843 do
1844 for ac_arg
1845 do
1846 case $ac_arg in
1847 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1848 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1849 | -silent | --silent | --silen | --sile | --sil)
1850 continue ;;
1851 *\'*)
1852 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1853 esac
1854 case $ac_pass in
1855 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1856 2)
1857 as_fn_append ac_configure_args1 " '$ac_arg'"
1858 if test $ac_must_keep_next = true; then
1859 ac_must_keep_next=false # Got value, back to normal.
1860 else
1861 case $ac_arg in
1862 *=* | --config-cache | -C | -disable-* | --disable-* \
1863 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1864 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1865 | -with-* | --with-* | -without-* | --without-* | --x)
1866 case "$ac_configure_args0 " in
1867 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1868 esac
1869 ;;
1870 -* ) ac_must_keep_next=true ;;
1871 esac
1872 fi
1873 as_fn_append ac_configure_args " '$ac_arg'"
1874 ;;
1875 esac
1876 done
1877 done
1878 { ac_configure_args0=; unset ac_configure_args0;}
1879 { ac_configure_args1=; unset ac_configure_args1;}
1880
1881 # When interrupted or exit'd, cleanup temporary files, and complete
1882 # config.log. We remove comments because anyway the quotes in there
1883 # would cause problems or look ugly.
1884 # WARNING: Use '\'' to represent an apostrophe within the trap.
1885 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1886 trap 'exit_status=$?
1887 # Save into config.log some information that might help in debugging.
1888 {
1889 echo
1890
1891 $as_echo "## ---------------- ##
1892 ## Cache variables. ##
1893 ## ---------------- ##"
1894 echo
1895 # The following way of writing the cache mishandles newlines in values,
1896 (
1897 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1898 eval ac_val=\$$ac_var
1899 case $ac_val in #(
1900 *${as_nl}*)
1901 case $ac_var in #(
1902 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1903 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1904 esac
1905 case $ac_var in #(
1906 _ | IFS | as_nl) ;; #(
1907 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1908 *) { eval $ac_var=; unset $ac_var;} ;;
1909 esac ;;
1910 esac
1911 done
1912 (set) 2>&1 |
1913 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1914 *${as_nl}ac_space=\ *)
1915 sed -n \
1916 "s/'\''/'\''\\\\'\'''\''/g;
1917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1918 ;; #(
1919 *)
1920 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1921 ;;
1922 esac |
1923 sort
1924 )
1925 echo
1926
1927 $as_echo "## ----------------- ##
1928 ## Output variables. ##
1929 ## ----------------- ##"
1930 echo
1931 for ac_var in $ac_subst_vars
1932 do
1933 eval ac_val=\$$ac_var
1934 case $ac_val in
1935 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1936 esac
1937 $as_echo "$ac_var='\''$ac_val'\''"
1938 done | sort
1939 echo
1940
1941 if test -n "$ac_subst_files"; then
1942 $as_echo "## ------------------- ##
1943 ## File substitutions. ##
1944 ## ------------------- ##"
1945 echo
1946 for ac_var in $ac_subst_files
1947 do
1948 eval ac_val=\$$ac_var
1949 case $ac_val in
1950 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1951 esac
1952 $as_echo "$ac_var='\''$ac_val'\''"
1953 done | sort
1954 echo
1955 fi
1956
1957 if test -s confdefs.h; then
1958 $as_echo "## ----------- ##
1959 ## confdefs.h. ##
1960 ## ----------- ##"
1961 echo
1962 cat confdefs.h
1963 echo
1964 fi
1965 test "$ac_signal" != 0 &&
1966 $as_echo "$as_me: caught signal $ac_signal"
1967 $as_echo "$as_me: exit $exit_status"
1968 } >&5
1969 rm -f core *.core core.conftest.* &&
1970 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1971 exit $exit_status
1972 ' 0
1973 for ac_signal in 1 2 13 15; do
1974 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1975 done
1976 ac_signal=0
1977
1978 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1979 rm -f -r conftest* confdefs.h
1980
1981 $as_echo "/* confdefs.h */" > confdefs.h
1982
1983 # Predefined preprocessor variables.
1984
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_NAME "$PACKAGE_NAME"
1987 _ACEOF
1988
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1991 _ACEOF
1992
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1995 _ACEOF
1996
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_STRING "$PACKAGE_STRING"
1999 _ACEOF
2000
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2003 _ACEOF
2004
2005 cat >>confdefs.h <<_ACEOF
2006 #define PACKAGE_URL "$PACKAGE_URL"
2007 _ACEOF
2008
2009
2010 # Let the site file select an alternate cache file if it wants to.
2011 # Prefer an explicitly selected file to automatically selected ones.
2012 ac_site_file1=NONE
2013 ac_site_file2=NONE
2014 if test -n "$CONFIG_SITE"; then
2015 # We do not want a PATH search for config.site.
2016 case $CONFIG_SITE in #((
2017 -*) ac_site_file1=./$CONFIG_SITE;;
2018 */*) ac_site_file1=$CONFIG_SITE;;
2019 *) ac_site_file1=./$CONFIG_SITE;;
2020 esac
2021 elif test "x$prefix" != xNONE; then
2022 ac_site_file1=$prefix/share/config.site
2023 ac_site_file2=$prefix/etc/config.site
2024 else
2025 ac_site_file1=$ac_default_prefix/share/config.site
2026 ac_site_file2=$ac_default_prefix/etc/config.site
2027 fi
2028 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2029 do
2030 test "x$ac_site_file" = xNONE && continue
2031 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2033 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2034 sed 's/^/| /' "$ac_site_file" >&5
2035 . "$ac_site_file" \
2036 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2038 as_fn_error $? "failed to load site script $ac_site_file
2039 See \`config.log' for more details" "$LINENO" 5; }
2040 fi
2041 done
2042
2043 if test -r "$cache_file"; then
2044 # Some versions of bash will fail to source /dev/null (special files
2045 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2046 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2048 $as_echo "$as_me: loading cache $cache_file" >&6;}
2049 case $cache_file in
2050 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2051 *) . "./$cache_file";;
2052 esac
2053 fi
2054 else
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2056 $as_echo "$as_me: creating cache $cache_file" >&6;}
2057 >$cache_file
2058 fi
2059
2060 # Check that the precious variables saved in the cache have kept the same
2061 # value.
2062 ac_cache_corrupted=false
2063 for ac_var in $ac_precious_vars; do
2064 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2065 eval ac_new_set=\$ac_env_${ac_var}_set
2066 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2067 eval ac_new_val=\$ac_env_${ac_var}_value
2068 case $ac_old_set,$ac_new_set in
2069 set,)
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2071 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2072 ac_cache_corrupted=: ;;
2073 ,set)
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2075 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2076 ac_cache_corrupted=: ;;
2077 ,);;
2078 *)
2079 if test "x$ac_old_val" != "x$ac_new_val"; then
2080 # differences in whitespace do not lead to failure.
2081 ac_old_val_w=`echo x $ac_old_val`
2082 ac_new_val_w=`echo x $ac_new_val`
2083 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2085 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2086 ac_cache_corrupted=:
2087 else
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2089 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2090 eval $ac_var=\$ac_old_val
2091 fi
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2093 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2095 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2096 fi;;
2097 esac
2098 # Pass precious variables to config.status.
2099 if test "$ac_new_set" = set; then
2100 case $ac_new_val in
2101 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2102 *) ac_arg=$ac_var=$ac_new_val ;;
2103 esac
2104 case " $ac_configure_args " in
2105 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2106 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2107 esac
2108 fi
2109 done
2110 if $ac_cache_corrupted; then
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2114 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2115 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2116 fi
2117 ## -------------------- ##
2118 ## Main body of script. ##
2119 ## -------------------- ##
2120
2121 ac_ext=c
2122 ac_cpp='$CPP $CPPFLAGS'
2123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2126
2127
2128
2129 # Put compiled object files into the same sub-directory as their sources
2130 # and quiet make
2131 am__api_version='1.11'
2132
2133 ac_aux_dir=
2134 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2135 if test -f "$ac_dir/install-sh"; then
2136 ac_aux_dir=$ac_dir
2137 ac_install_sh="$ac_aux_dir/install-sh -c"
2138 break
2139 elif test -f "$ac_dir/install.sh"; then
2140 ac_aux_dir=$ac_dir
2141 ac_install_sh="$ac_aux_dir/install.sh -c"
2142 break
2143 elif test -f "$ac_dir/shtool"; then
2144 ac_aux_dir=$ac_dir
2145 ac_install_sh="$ac_aux_dir/shtool install -c"
2146 break
2147 fi
2148 done
2149 if test -z "$ac_aux_dir"; then
2150 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2151 fi
2152
2153 # These three variables are undocumented and unsupported,
2154 # and are intended to be withdrawn in a future Autoconf release.
2155 # They can cause serious problems if a builder's source tree is in a directory
2156 # whose full name contains unusual characters.
2157 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2158 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2159 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2160
2161
2162 # Find a good install program. We prefer a C program (faster),
2163 # so one script is as good as another. But avoid the broken or
2164 # incompatible versions:
2165 # SysV /etc/install, /usr/sbin/install
2166 # SunOS /usr/etc/install
2167 # IRIX /sbin/install
2168 # AIX /bin/install
2169 # AmigaOS /C/install, which installs bootblocks on floppy discs
2170 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2171 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2172 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2173 # OS/2's system install, which has a completely different semantic
2174 # ./install, which can be erroneously created by make from ./install.sh.
2175 # Reject install programs that cannot install multiple files.
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2177 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2178 if test -z "$INSTALL"; then
2179 if test "${ac_cv_path_install+set}" = set; then :
2180 $as_echo_n "(cached) " >&6
2181 else
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 for as_dir in $PATH
2184 do
2185 IFS=$as_save_IFS
2186 test -z "$as_dir" && as_dir=.
2187 # Account for people who put trailing slashes in PATH elements.
2188 case $as_dir/ in #((
2189 ./ | .// | /[cC]/* | \
2190 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2191 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2192 /usr/ucb/* ) ;;
2193 *)
2194 # OSF1 and SCO ODT 3.0 have their own names for install.
2195 # Don't use installbsd from OSF since it installs stuff as root
2196 # by default.
2197 for ac_prog in ginstall scoinst install; do
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2200 if test $ac_prog = install &&
2201 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2202 # AIX install. It has an incompatible calling convention.
2203 :
2204 elif test $ac_prog = install &&
2205 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2206 # program-specific install script used by HP pwplus--don't use.
2207 :
2208 else
2209 rm -rf conftest.one conftest.two conftest.dir
2210 echo one > conftest.one
2211 echo two > conftest.two
2212 mkdir conftest.dir
2213 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2214 test -s conftest.one && test -s conftest.two &&
2215 test -s conftest.dir/conftest.one &&
2216 test -s conftest.dir/conftest.two
2217 then
2218 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2219 break 3
2220 fi
2221 fi
2222 fi
2223 done
2224 done
2225 ;;
2226 esac
2227
2228 done
2229 IFS=$as_save_IFS
2230
2231 rm -rf conftest.one conftest.two conftest.dir
2232
2233 fi
2234 if test "${ac_cv_path_install+set}" = set; then
2235 INSTALL=$ac_cv_path_install
2236 else
2237 # As a last resort, use the slow shell script. Don't cache a
2238 # value for INSTALL within a source directory, because that will
2239 # break other packages using the cache if that directory is
2240 # removed, or if the value is a relative name.
2241 INSTALL=$ac_install_sh
2242 fi
2243 fi
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2245 $as_echo "$INSTALL" >&6; }
2246
2247 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2248 # It thinks the first close brace ends the variable substitution.
2249 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2250
2251 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2252
2253 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2254
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2256 $as_echo_n "checking whether build environment is sane... " >&6; }
2257 # Just in case
2258 sleep 1
2259 echo timestamp > conftest.file
2260 # Reject unsafe characters in $srcdir or the absolute working directory
2261 # name. Accept space and tab only in the latter.
2262 am_lf='
2263 '
2264 case `pwd` in
2265 *[\\\"\#\$\&\'\`$am_lf]*)
2266 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2267 esac
2268 case $srcdir in
2269 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2270 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2271 esac
2272
2273 # Do `set' in a subshell so we don't clobber the current shell's
2274 # arguments. Must try -L first in case configure is actually a
2275 # symlink; some systems play weird games with the mod time of symlinks
2276 # (eg FreeBSD returns the mod time of the symlink's containing
2277 # directory).
2278 if (
2279 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2280 if test "$*" = "X"; then
2281 # -L didn't work.
2282 set X `ls -t "$srcdir/configure" conftest.file`
2283 fi
2284 rm -f conftest.file
2285 if test "$*" != "X $srcdir/configure conftest.file" \
2286 && test "$*" != "X conftest.file $srcdir/configure"; then
2287
2288 # If neither matched, then we have a broken ls. This can happen
2289 # if, for instance, CONFIG_SHELL is bash and it inherits a
2290 # broken ls alias from the environment. This has actually
2291 # happened. Such a system could not be considered "sane".
2292 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2293 alias in your environment" "$LINENO" 5
2294 fi
2295
2296 test "$2" = conftest.file
2297 )
2298 then
2299 # Ok.
2300 :
2301 else
2302 as_fn_error $? "newly created file is older than distributed files!
2303 Check your system clock" "$LINENO" 5
2304 fi
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2306 $as_echo "yes" >&6; }
2307 test "$program_prefix" != NONE &&
2308 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2309 # Use a double $ so make ignores it.
2310 test "$program_suffix" != NONE &&
2311 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2312 # Double any \ or $.
2313 # By default was `s,x,x', remove it if useless.
2314 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2315 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2316
2317 # expand $ac_aux_dir to an absolute path
2318 am_aux_dir=`cd $ac_aux_dir && pwd`
2319
2320 if test x"${MISSING+set}" != xset; then
2321 case $am_aux_dir in
2322 *\ * | *\ *)
2323 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2324 *)
2325 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2326 esac
2327 fi
2328 # Use eval to expand $SHELL
2329 if eval "$MISSING --run true"; then
2330 am_missing_run="$MISSING --run "
2331 else
2332 am_missing_run=
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2334 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2335 fi
2336
2337 if test x"${install_sh}" != xset; then
2338 case $am_aux_dir in
2339 *\ * | *\ *)
2340 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2341 *)
2342 install_sh="\${SHELL} $am_aux_dir/install-sh"
2343 esac
2344 fi
2345
2346 # Installed binaries are usually stripped using `strip' when the user
2347 # run `make install-strip'. However `strip' might not be the right
2348 # tool to use in cross-compilation environments, therefore Automake
2349 # will honor the `STRIP' environment variable to overrule this program.
2350 if test "$cross_compiling" != no; then
2351 if test -n "$ac_tool_prefix"; then
2352 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2353 set dummy ${ac_tool_prefix}strip; ac_word=$2
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2355 $as_echo_n "checking for $ac_word... " >&6; }
2356 if test "${ac_cv_prog_STRIP+set}" = set; then :
2357 $as_echo_n "(cached) " >&6
2358 else
2359 if test -n "$STRIP"; then
2360 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2361 else
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 for as_dir in $PATH
2364 do
2365 IFS=$as_save_IFS
2366 test -z "$as_dir" && as_dir=.
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2371 break 2
2372 fi
2373 done
2374 done
2375 IFS=$as_save_IFS
2376
2377 fi
2378 fi
2379 STRIP=$ac_cv_prog_STRIP
2380 if test -n "$STRIP"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2382 $as_echo "$STRIP" >&6; }
2383 else
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2385 $as_echo "no" >&6; }
2386 fi
2387
2388
2389 fi
2390 if test -z "$ac_cv_prog_STRIP"; then
2391 ac_ct_STRIP=$STRIP
2392 # Extract the first word of "strip", so it can be a program name with args.
2393 set dummy strip; ac_word=$2
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2395 $as_echo_n "checking for $ac_word... " >&6; }
2396 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2397 $as_echo_n "(cached) " >&6
2398 else
2399 if test -n "$ac_ct_STRIP"; then
2400 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2401 else
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH
2404 do
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_ac_ct_STRIP="strip"
2410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 break 2
2412 fi
2413 done
2414 done
2415 IFS=$as_save_IFS
2416
2417 fi
2418 fi
2419 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2420 if test -n "$ac_ct_STRIP"; then
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2422 $as_echo "$ac_ct_STRIP" >&6; }
2423 else
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2425 $as_echo "no" >&6; }
2426 fi
2427
2428 if test "x$ac_ct_STRIP" = x; then
2429 STRIP=":"
2430 else
2431 case $cross_compiling:$ac_tool_warned in
2432 yes:)
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2435 ac_tool_warned=yes ;;
2436 esac
2437 STRIP=$ac_ct_STRIP
2438 fi
2439 else
2440 STRIP="$ac_cv_prog_STRIP"
2441 fi
2442
2443 fi
2444 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2445
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2447 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2448 if test -z "$MKDIR_P"; then
2449 if test "${ac_cv_path_mkdir+set}" = set; then :
2450 $as_echo_n "(cached) " >&6
2451 else
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2454 do
2455 IFS=$as_save_IFS
2456 test -z "$as_dir" && as_dir=.
2457 for ac_prog in mkdir gmkdir; do
2458 for ac_exec_ext in '' $ac_executable_extensions; do
2459 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2460 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2461 'mkdir (GNU coreutils) '* | \
2462 'mkdir (coreutils) '* | \
2463 'mkdir (fileutils) '4.1*)
2464 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2465 break 3;;
2466 esac
2467 done
2468 done
2469 done
2470 IFS=$as_save_IFS
2471
2472 fi
2473
2474 test -d ./--version && rmdir ./--version
2475 if test "${ac_cv_path_mkdir+set}" = set; then
2476 MKDIR_P="$ac_cv_path_mkdir -p"
2477 else
2478 # As a last resort, use the slow shell script. Don't cache a
2479 # value for MKDIR_P within a source directory, because that will
2480 # break other packages using the cache if that directory is
2481 # removed, or if the value is a relative name.
2482 MKDIR_P="$ac_install_sh -d"
2483 fi
2484 fi
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2486 $as_echo "$MKDIR_P" >&6; }
2487
2488 mkdir_p="$MKDIR_P"
2489 case $mkdir_p in
2490 [\\/$]* | ?:[\\/]*) ;;
2491 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2492 esac
2493
2494 for ac_prog in gawk mawk nawk awk
2495 do
2496 # Extract the first word of "$ac_prog", so it can be a program name with args.
2497 set dummy $ac_prog; ac_word=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if test "${ac_cv_prog_AWK+set}" = set; then :
2501 $as_echo_n "(cached) " >&6
2502 else
2503 if test -n "$AWK"; then
2504 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2505 else
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 for as_dir in $PATH
2508 do
2509 IFS=$as_save_IFS
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513 ac_cv_prog_AWK="$ac_prog"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 break 2
2516 fi
2517 done
2518 done
2519 IFS=$as_save_IFS
2520
2521 fi
2522 fi
2523 AWK=$ac_cv_prog_AWK
2524 if test -n "$AWK"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2526 $as_echo "$AWK" >&6; }
2527 else
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2530 fi
2531
2532
2533 test -n "$AWK" && break
2534 done
2535
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2537 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2538 set x ${MAKE-make}
2539 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2540 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2541 $as_echo_n "(cached) " >&6
2542 else
2543 cat >conftest.make <<\_ACEOF
2544 SHELL = /bin/sh
2545 all:
2546 @echo '@@@%%%=$(MAKE)=@@@%%%'
2547 _ACEOF
2548 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2549 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2550 *@@@%%%=?*=@@@%%%*)
2551 eval ac_cv_prog_make_${ac_make}_set=yes;;
2552 *)
2553 eval ac_cv_prog_make_${ac_make}_set=no;;
2554 esac
2555 rm -f conftest.make
2556 fi
2557 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2559 $as_echo "yes" >&6; }
2560 SET_MAKE=
2561 else
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2563 $as_echo "no" >&6; }
2564 SET_MAKE="MAKE=${MAKE-make}"
2565 fi
2566
2567 rm -rf .tst 2>/dev/null
2568 mkdir .tst 2>/dev/null
2569 if test -d .tst; then
2570 am__leading_dot=.
2571 else
2572 am__leading_dot=_
2573 fi
2574 rmdir .tst 2>/dev/null
2575
2576 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2577 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2578 # is not polluted with repeated "-I."
2579 am__isrc=' -I$(srcdir)'
2580 # test to see if srcdir already configured
2581 if test -f $srcdir/config.status; then
2582 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2583 fi
2584 fi
2585
2586 # test whether we have cygpath
2587 if test -z "$CYGPATH_W"; then
2588 if (cygpath --version) >/dev/null 2>/dev/null; then
2589 CYGPATH_W='cygpath -w'
2590 else
2591 CYGPATH_W=echo
2592 fi
2593 fi
2594
2595
2596 # Define the identity of the package.
2597 PACKAGE='g3data'
2598 VERSION='1.5.4'
2599
2600
2601 cat >>confdefs.h <<_ACEOF
2602 #define PACKAGE "$PACKAGE"
2603 _ACEOF
2604
2605
2606 cat >>confdefs.h <<_ACEOF
2607 #define VERSION "$VERSION"
2608 _ACEOF
2609
2610 # Some tools Automake needs.
2611
2612 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2613
2614
2615 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2616
2617
2618 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2619
2620
2621 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2622
2623
2624 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2625
2626 # We need awk for the "check" target. The system "awk" is bad on
2627 # some platforms.
2628 # Always define AMTAR for backward compatibility.
2629
2630 AMTAR=${AMTAR-"${am_missing_run}tar"}
2631
2632 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2633
2634
2635
2636
2637
2638 # Check whether --enable-silent-rules was given.
2639 if test "${enable_silent_rules+set}" = set; then :
2640 enableval=$enable_silent_rules;
2641 fi
2642
2643 case $enable_silent_rules in
2644 yes) AM_DEFAULT_VERBOSITY=0;;
2645 no) AM_DEFAULT_VERBOSITY=1;;
2646 *) AM_DEFAULT_VERBOSITY=0;;
2647 esac
2648 AM_BACKSLASH='\'
2649
2650
2651
2652 ac_config_headers="$ac_config_headers config.h"
2653
2654
2655 WARNING_FLAGS="-W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
2656
2657
2658 # Checks for programs.
2659 ac_ext=c
2660 ac_cpp='$CPP $CPPFLAGS'
2661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2664 if test -n "$ac_tool_prefix"; then
2665 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2666 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if test "${ac_cv_prog_CC+set}" = set; then :
2670 $as_echo_n "(cached) " >&6
2671 else
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC="$CC" # Let the user override the test.
2674 else
2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 for as_dir in $PATH
2677 do
2678 IFS=$as_save_IFS
2679 test -z "$as_dir" && as_dir=.
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2682 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 break 2
2685 fi
2686 done
2687 done
2688 IFS=$as_save_IFS
2689
2690 fi
2691 fi
2692 CC=$ac_cv_prog_CC
2693 if test -n "$CC"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2695 $as_echo "$CC" >&6; }
2696 else
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2699 fi
2700
2701
2702 fi
2703 if test -z "$ac_cv_prog_CC"; then
2704 ac_ct_CC=$CC
2705 # Extract the first word of "gcc", so it can be a program name with args.
2706 set dummy gcc; ac_word=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2710 $as_echo_n "(cached) " >&6
2711 else
2712 if test -n "$ac_ct_CC"; then
2713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2714 else
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 for as_dir in $PATH
2717 do
2718 IFS=$as_save_IFS
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2722 ac_cv_prog_ac_ct_CC="gcc"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2725 fi
2726 done
2727 done
2728 IFS=$as_save_IFS
2729
2730 fi
2731 fi
2732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2733 if test -n "$ac_ct_CC"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2735 $as_echo "$ac_ct_CC" >&6; }
2736 else
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2739 fi
2740
2741 if test "x$ac_ct_CC" = x; then
2742 CC=""
2743 else
2744 case $cross_compiling:$ac_tool_warned in
2745 yes:)
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2748 ac_tool_warned=yes ;;
2749 esac
2750 CC=$ac_ct_CC
2751 fi
2752 else
2753 CC="$ac_cv_prog_CC"
2754 fi
2755
2756 if test -z "$CC"; then
2757 if test -n "$ac_tool_prefix"; then
2758 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2759 set dummy ${ac_tool_prefix}cc; ac_word=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if test "${ac_cv_prog_CC+set}" = set; then :
2763 $as_echo_n "(cached) " >&6
2764 else
2765 if test -n "$CC"; then
2766 ac_cv_prog_CC="$CC" # Let the user override the test.
2767 else
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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 ac_cv_prog_CC="${ac_tool_prefix}cc"
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 fi
2784 fi
2785 CC=$ac_cv_prog_CC
2786 if test -n "$CC"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2788 $as_echo "$CC" >&6; }
2789 else
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2792 fi
2793
2794
2795 fi
2796 fi
2797 if test -z "$CC"; then
2798 # Extract the first word of "cc", so it can be a program name with args.
2799 set dummy cc; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if test "${ac_cv_prog_CC+set}" = set; then :
2803 $as_echo_n "(cached) " >&6
2804 else
2805 if test -n "$CC"; then
2806 ac_cv_prog_CC="$CC" # Let the user override the test.
2807 else
2808 ac_prog_rejected=no
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 for as_dir in $PATH
2811 do
2812 IFS=$as_save_IFS
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2817 ac_prog_rejected=yes
2818 continue
2819 fi
2820 ac_cv_prog_CC="cc"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 break 2
2823 fi
2824 done
2825 done
2826 IFS=$as_save_IFS
2827
2828 if test $ac_prog_rejected = yes; then
2829 # We found a bogon in the path, so make sure we never use it.
2830 set dummy $ac_cv_prog_CC
2831 shift
2832 if test $# != 0; then
2833 # We chose a different compiler from the bogus one.
2834 # However, it has the same basename, so the bogon will be chosen
2835 # first if we set CC to just the basename; use the full file name.
2836 shift
2837 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2838 fi
2839 fi
2840 fi
2841 fi
2842 CC=$ac_cv_prog_CC
2843 if test -n "$CC"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2845 $as_echo "$CC" >&6; }
2846 else
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848 $as_echo "no" >&6; }
2849 fi
2850
2851
2852 fi
2853 if test -z "$CC"; then
2854 if test -n "$ac_tool_prefix"; then
2855 for ac_prog in cl.exe
2856 do
2857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2858 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if test "${ac_cv_prog_CC+set}" = set; then :
2862 $as_echo_n "(cached) " >&6
2863 else
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC="$CC" # Let the user override the test.
2866 else
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 for as_dir in $PATH
2869 do
2870 IFS=$as_save_IFS
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 break 2
2877 fi
2878 done
2879 done
2880 IFS=$as_save_IFS
2881
2882 fi
2883 fi
2884 CC=$ac_cv_prog_CC
2885 if test -n "$CC"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2887 $as_echo "$CC" >&6; }
2888 else
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2891 fi
2892
2893
2894 test -n "$CC" && break
2895 done
2896 fi
2897 if test -z "$CC"; then
2898 ac_ct_CC=$CC
2899 for ac_prog in cl.exe
2900 do
2901 # Extract the first word of "$ac_prog", so it can be a program name with args.
2902 set dummy $ac_prog; ac_word=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2906 $as_echo_n "(cached) " >&6
2907 else
2908 if test -n "$ac_ct_CC"; then
2909 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2910 else
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 for as_dir in $PATH
2913 do
2914 IFS=$as_save_IFS
2915 test -z "$as_dir" && as_dir=.
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918 ac_cv_prog_ac_ct_CC="$ac_prog"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 break 2
2921 fi
2922 done
2923 done
2924 IFS=$as_save_IFS
2925
2926 fi
2927 fi
2928 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2929 if test -n "$ac_ct_CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2931 $as_echo "$ac_ct_CC" >&6; }
2932 else
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2935 fi
2936
2937
2938 test -n "$ac_ct_CC" && break
2939 done
2940
2941 if test "x$ac_ct_CC" = x; then
2942 CC=""
2943 else
2944 case $cross_compiling:$ac_tool_warned in
2945 yes:)
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2948 ac_tool_warned=yes ;;
2949 esac
2950 CC=$ac_ct_CC
2951 fi
2952 fi
2953
2954 fi
2955
2956
2957 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2959 as_fn_error $? "no acceptable C compiler found in \$PATH
2960 See \`config.log' for more details" "$LINENO" 5; }
2961
2962 # Provide some information about the compiler.
2963 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2964 set X $ac_compile
2965 ac_compiler=$2
2966 for ac_option in --version -v -V -qversion; do
2967 { { ac_try="$ac_compiler $ac_option >&5"
2968 case "(($ac_try" in
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2971 esac
2972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2973 $as_echo "$ac_try_echo"; } >&5
2974 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2975 ac_status=$?
2976 if test -s conftest.err; then
2977 sed '10a\
2978 ... rest of stderr output deleted ...
2979 10q' conftest.err >conftest.er1
2980 cat conftest.er1 >&5
2981 fi
2982 rm -f conftest.er1 conftest.err
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }
2985 done
2986
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2989
2990 int
2991 main ()
2992 {
2993
2994 ;
2995 return 0;
2996 }
2997 _ACEOF
2998 ac_clean_files_save=$ac_clean_files
2999 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3000 # Try to create an executable without -o first, disregard a.out.
3001 # It will help us diagnose broken compilers, and finding out an intuition
3002 # of exeext.
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3004 $as_echo_n "checking whether the C compiler works... " >&6; }
3005 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3006
3007 # The possible output files:
3008 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3009
3010 ac_rmfiles=
3011 for ac_file in $ac_files
3012 do
3013 case $ac_file in
3014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3015 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3016 esac
3017 done
3018 rm -f $ac_rmfiles
3019
3020 if { { ac_try="$ac_link_default"
3021 case "(($ac_try" in
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3024 esac
3025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 $as_echo "$ac_try_echo"; } >&5
3027 (eval "$ac_link_default") 2>&5
3028 ac_status=$?
3029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; }; then :
3031 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3032 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3033 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3034 # so that the user can short-circuit this test for compilers unknown to
3035 # Autoconf.
3036 for ac_file in $ac_files ''
3037 do
3038 test -f "$ac_file" || continue
3039 case $ac_file in
3040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3041 ;;
3042 [ab].out )
3043 # We found the default executable, but exeext='' is most
3044 # certainly right.
3045 break;;
3046 *.* )
3047 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3048 then :; else
3049 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3050 fi
3051 # We set ac_cv_exeext here because the later test for it is not
3052 # safe: cross compilers may not add the suffix if given an `-o'
3053 # argument, so we may need to know it at that point already.
3054 # Even if this section looks crufty: it has the advantage of
3055 # actually working.
3056 break;;
3057 * )
3058 break;;
3059 esac
3060 done
3061 test "$ac_cv_exeext" = no && ac_cv_exeext=
3062
3063 else
3064 ac_file=''
3065 fi
3066 if test -z "$ac_file"; then :
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3069 $as_echo "$as_me: failed program was:" >&5
3070 sed 's/^/| /' conftest.$ac_ext >&5
3071
3072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3074 as_fn_error 77 "C compiler cannot create executables
3075 See \`config.log' for more details" "$LINENO" 5; }
3076 else
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3078 $as_echo "yes" >&6; }
3079 fi
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3081 $as_echo_n "checking for C compiler default output file name... " >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3083 $as_echo "$ac_file" >&6; }
3084 ac_exeext=$ac_cv_exeext
3085
3086 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3087 ac_clean_files=$ac_clean_files_save
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3089 $as_echo_n "checking for suffix of executables... " >&6; }
3090 if { { ac_try="$ac_link"
3091 case "(($ac_try" in
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3094 esac
3095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3096 $as_echo "$ac_try_echo"; } >&5
3097 (eval "$ac_link") 2>&5
3098 ac_status=$?
3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100 test $ac_status = 0; }; then :
3101 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3102 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3103 # work properly (i.e., refer to `conftest.exe'), while it won't with
3104 # `rm'.
3105 for ac_file in conftest.exe conftest conftest.*; do
3106 test -f "$ac_file" || continue
3107 case $ac_file in
3108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3109 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3110 break;;
3111 * ) break;;
3112 esac
3113 done
3114 else
3115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3118 See \`config.log' for more details" "$LINENO" 5; }
3119 fi
3120 rm -f conftest conftest$ac_cv_exeext
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3122 $as_echo "$ac_cv_exeext" >&6; }
3123
3124 rm -f conftest.$ac_ext
3125 EXEEXT=$ac_cv_exeext
3126 ac_exeext=$EXEEXT
3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3129 #include <stdio.h>
3130 int
3131 main ()
3132 {
3133 FILE *f = fopen ("conftest.out", "w");
3134 return ferror (f) || fclose (f) != 0;
3135
3136 ;
3137 return 0;
3138 }
3139 _ACEOF
3140 ac_clean_files="$ac_clean_files conftest.out"
3141 # Check that the compiler produces executables we can run. If not, either
3142 # the compiler is broken, or we cross compile.
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3144 $as_echo_n "checking whether we are cross compiling... " >&6; }
3145 if test "$cross_compiling" != yes; then
3146 { { ac_try="$ac_link"
3147 case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150 esac
3151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3152 $as_echo "$ac_try_echo"; } >&5
3153 (eval "$ac_link") 2>&5
3154 ac_status=$?
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; }
3157 if { ac_try='./conftest$ac_cv_exeext'
3158 { { case "(($ac_try" in
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3161 esac
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163 $as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_try") 2>&5
3165 ac_status=$?
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }; }; then
3168 cross_compiling=no
3169 else
3170 if test "$cross_compiling" = maybe; then
3171 cross_compiling=yes
3172 else
3173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3175 as_fn_error $? "cannot run C compiled programs.
3176 If you meant to cross compile, use \`--host'.
3177 See \`config.log' for more details" "$LINENO" 5; }
3178 fi
3179 fi
3180 fi
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3182 $as_echo "$cross_compiling" >&6; }
3183
3184 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3185 ac_clean_files=$ac_clean_files_save
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3187 $as_echo_n "checking for suffix of object files... " >&6; }
3188 if test "${ac_cv_objext+set}" = set; then :
3189 $as_echo_n "(cached) " >&6
3190 else
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3193
3194 int
3195 main ()
3196 {
3197
3198 ;
3199 return 0;
3200 }
3201 _ACEOF
3202 rm -f conftest.o conftest.obj
3203 if { { ac_try="$ac_compile"
3204 case "(($ac_try" in
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3207 esac
3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209 $as_echo "$ac_try_echo"; } >&5
3210 (eval "$ac_compile") 2>&5
3211 ac_status=$?
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; }; then :
3214 for ac_file in conftest.o conftest.obj conftest.*; do
3215 test -f "$ac_file" || continue;
3216 case $ac_file in
3217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3218 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3219 break;;
3220 esac
3221 done
3222 else
3223 $as_echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3225
3226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228 as_fn_error $? "cannot compute suffix of object files: cannot compile
3229 See \`config.log' for more details" "$LINENO" 5; }
3230 fi
3231 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3232 fi
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3234 $as_echo "$ac_cv_objext" >&6; }
3235 OBJEXT=$ac_cv_objext
3236 ac_objext=$OBJEXT
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3238 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3239 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3240 $as_echo_n "(cached) " >&6
3241 else
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243 /* end confdefs.h. */
3244
3245 int
3246 main ()
3247 {
3248 #ifndef __GNUC__
3249 choke me
3250 #endif
3251
3252 ;
3253 return 0;
3254 }
3255 _ACEOF
3256 if ac_fn_c_try_compile "$LINENO"; then :
3257 ac_compiler_gnu=yes
3258 else
3259 ac_compiler_gnu=no
3260 fi
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3263
3264 fi
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3266 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3267 if test $ac_compiler_gnu = yes; then
3268 GCC=yes
3269 else
3270 GCC=
3271 fi
3272 ac_test_CFLAGS=${CFLAGS+set}
3273 ac_save_CFLAGS=$CFLAGS
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3275 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3276 if test "${ac_cv_prog_cc_g+set}" = set; then :
3277 $as_echo_n "(cached) " >&6
3278 else
3279 ac_save_c_werror_flag=$ac_c_werror_flag
3280 ac_c_werror_flag=yes
3281 ac_cv_prog_cc_g=no
3282 CFLAGS="-g"
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3285
3286 int
3287 main ()
3288 {
3289
3290 ;
3291 return 0;
3292 }
3293 _ACEOF
3294 if ac_fn_c_try_compile "$LINENO"; then :
3295 ac_cv_prog_cc_g=yes
3296 else
3297 CFLAGS=""
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3300
3301 int
3302 main ()
3303 {
3304
3305 ;
3306 return 0;
3307 }
3308 _ACEOF
3309 if ac_fn_c_try_compile "$LINENO"; then :
3310
3311 else
3312 ac_c_werror_flag=$ac_save_c_werror_flag
3313 CFLAGS="-g"
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3316
3317 int
3318 main ()
3319 {
3320
3321 ;
3322 return 0;
3323 }
3324 _ACEOF
3325 if ac_fn_c_try_compile "$LINENO"; then :
3326 ac_cv_prog_cc_g=yes
3327 fi
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 fi
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 fi
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 ac_c_werror_flag=$ac_save_c_werror_flag
3334 fi
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3336 $as_echo "$ac_cv_prog_cc_g" >&6; }
3337 if test "$ac_test_CFLAGS" = set; then
3338 CFLAGS=$ac_save_CFLAGS
3339 elif test $ac_cv_prog_cc_g = yes; then
3340 if test "$GCC" = yes; then
3341 CFLAGS="-g -O2"
3342 else
3343 CFLAGS="-g"
3344 fi
3345 else
3346 if test "$GCC" = yes; then
3347 CFLAGS="-O2"
3348 else
3349 CFLAGS=
3350 fi
3351 fi
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3353 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3354 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 ac_cv_prog_cc_c89=no
3358 ac_save_CC=$CC
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3361 #include <stdarg.h>
3362 #include <stdio.h>
3363 #include <sys/types.h>
3364 #include <sys/stat.h>
3365 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3366 struct buf { int x; };
3367 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3368 static char *e (p, i)
3369 char **p;
3370 int i;
3371 {
3372 return p[i];
3373 }
3374 static char *f (char * (*g) (char **, int), char **p, ...)
3375 {
3376 char *s;
3377 va_list v;
3378 va_start (v,p);
3379 s = g (p, va_arg (v,int));
3380 va_end (v);
3381 return s;
3382 }
3383
3384 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3385 function prototypes and stuff, but not '\xHH' hex character constants.
3386 These don't provoke an error unfortunately, instead are silently treated
3387 as 'x'. The following induces an error, until -std is added to get
3388 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3389 array size at least. It's necessary to write '\x00'==0 to get something
3390 that's true only with -std. */
3391 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3392
3393 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3394 inside strings and character constants. */
3395 #define FOO(x) 'x'
3396 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3397
3398 int test (int i, double x);
3399 struct s1 {int (*f) (int a);};
3400 struct s2 {int (*f) (double a);};
3401 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3402 int argc;
3403 char **argv;
3404 int
3405 main ()
3406 {
3407 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3408 ;
3409 return 0;
3410 }
3411 _ACEOF
3412 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3413 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3414 do
3415 CC="$ac_save_CC $ac_arg"
3416 if ac_fn_c_try_compile "$LINENO"; then :
3417 ac_cv_prog_cc_c89=$ac_arg
3418 fi
3419 rm -f core conftest.err conftest.$ac_objext
3420 test "x$ac_cv_prog_cc_c89" != "xno" && break
3421 done
3422 rm -f conftest.$ac_ext
3423 CC=$ac_save_CC
3424
3425 fi
3426 # AC_CACHE_VAL
3427 case "x$ac_cv_prog_cc_c89" in
3428 x)
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3430 $as_echo "none needed" >&6; } ;;
3431 xno)
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3433 $as_echo "unsupported" >&6; } ;;
3434 *)
3435 CC="$CC $ac_cv_prog_cc_c89"
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3437 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3438 esac
3439 if test "x$ac_cv_prog_cc_c89" != xno; then :
3440
3441 fi
3442
3443 ac_ext=c
3444 ac_cpp='$CPP $CPPFLAGS'
3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448 DEPDIR="${am__leading_dot}deps"
3449
3450 ac_config_commands="$ac_config_commands depfiles"
3451
3452
3453 am_make=${MAKE-make}
3454 cat > confinc << 'END'
3455 am__doit:
3456 @echo this is the am__doit target
3457 .PHONY: am__doit
3458 END
3459 # If we don't find an include directive, just comment out the code.
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3461 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3462 am__include="#"
3463 am__quote=
3464 _am_result=none
3465 # First try GNU make style include.
3466 echo "include confinc" > confmf
3467 # Ignore all kinds of additional output from `make'.
3468 case `$am_make -s -f confmf 2> /dev/null` in #(
3469 *the\ am__doit\ target*)
3470 am__include=include
3471 am__quote=
3472 _am_result=GNU
3473 ;;
3474 esac
3475 # Now try BSD make style include.
3476 if test "$am__include" = "#"; then
3477 echo '.include "confinc"' > confmf
3478 case `$am_make -s -f confmf 2> /dev/null` in #(
3479 *the\ am__doit\ target*)
3480 am__include=.include
3481 am__quote="\""
3482 _am_result=BSD
3483 ;;
3484 esac
3485 fi
3486
3487
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3489 $as_echo "$_am_result" >&6; }
3490 rm -f confinc confmf
3491
3492 # Check whether --enable-dependency-tracking was given.
3493 if test "${enable_dependency_tracking+set}" = set; then :
3494 enableval=$enable_dependency_tracking;
3495 fi
3496
3497 if test "x$enable_dependency_tracking" != xno; then
3498 am_depcomp="$ac_aux_dir/depcomp"
3499 AMDEPBACKSLASH='\'
3500 fi
3501 if test "x$enable_dependency_tracking" != xno; then
3502 AMDEP_TRUE=
3503 AMDEP_FALSE='#'
3504 else
3505 AMDEP_TRUE='#'
3506 AMDEP_FALSE=
3507 fi
3508
3509
3510
3511 depcc="$CC" am_compiler_list=
3512
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3514 $as_echo_n "checking dependency style of $depcc... " >&6; }
3515 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3516 $as_echo_n "(cached) " >&6
3517 else
3518 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3519 # We make a subdir and do the tests there. Otherwise we can end up
3520 # making bogus files that we don't know about and never remove. For
3521 # instance it was reported that on HP-UX the gcc test will end up
3522 # making a dummy file named `D' -- because `-MD' means `put the output
3523 # in D'.
3524 mkdir conftest.dir
3525 # Copy depcomp to subdir because otherwise we won't find it if we're
3526 # using a relative directory.
3527 cp "$am_depcomp" conftest.dir
3528 cd conftest.dir
3529 # We will build objects and dependencies in a subdirectory because
3530 # it helps to detect inapplicable dependency modes. For instance
3531 # both Tru64's cc and ICC support -MD to output dependencies as a
3532 # side effect of compilation, but ICC will put the dependencies in
3533 # the current directory while Tru64 will put them in the object
3534 # directory.
3535 mkdir sub
3536
3537 am_cv_CC_dependencies_compiler_type=none
3538 if test "$am_compiler_list" = ""; then
3539 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3540 fi
3541 am__universal=false
3542 case " $depcc " in #(
3543 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3544 esac
3545
3546 for depmode in $am_compiler_list; do
3547 # Setup a source with many dependencies, because some compilers
3548 # like to wrap large dependency lists on column 80 (with \), and
3549 # we should not choose a depcomp mode which is confused by this.
3550 #
3551 # We need to recreate these files for each test, as the compiler may
3552 # overwrite some of them when testing with obscure command lines.
3553 # This happens at least with the AIX C compiler.
3554 : > sub/conftest.c
3555 for i in 1 2 3 4 5 6; do
3556 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3557 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3558 # Solaris 8's {/usr,}/bin/sh.
3559 touch sub/conftst$i.h
3560 done
3561 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3562
3563 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3564 # mode. It turns out that the SunPro C++ compiler does not properly
3565 # handle `-M -o', and we need to detect this. Also, some Intel
3566 # versions had trouble with output in subdirs
3567 am__obj=sub/conftest.${OBJEXT-o}
3568 am__minus_obj="-o $am__obj"
3569 case $depmode in
3570 gcc)
3571 # This depmode causes a compiler race in universal mode.
3572 test "$am__universal" = false || continue
3573 ;;
3574 nosideeffect)
3575 # after this tag, mechanisms are not by side-effect, so they'll
3576 # only be used when explicitly requested
3577 if test "x$enable_dependency_tracking" = xyes; then
3578 continue
3579 else
3580 break
3581 fi
3582 ;;
3583 msvisualcpp | msvcmsys)
3584 # This compiler won't grok `-c -o', but also, the minuso test has
3585 # not run yet. These depmodes are late enough in the game, and
3586 # so weak that their functioning should not be impacted.
3587 am__obj=conftest.${OBJEXT-o}
3588 am__minus_obj=
3589 ;;
3590 none) break ;;
3591 esac
3592 if depmode=$depmode \
3593 source=sub/conftest.c object=$am__obj \
3594 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3595 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3596 >/dev/null 2>conftest.err &&
3597 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3598 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3599 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3600 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3601 # icc doesn't choke on unknown options, it will just issue warnings
3602 # or remarks (even with -Werror). So we grep stderr for any message
3603 # that says an option was ignored or not supported.
3604 # When given -MP, icc 7.0 and 7.1 complain thusly:
3605 # icc: Command line warning: ignoring option '-M'; no argument required
3606 # The diagnosis changed in icc 8.0:
3607 # icc: Command line remark: option '-MP' not supported
3608 if (grep 'ignoring option' conftest.err ||
3609 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3610 am_cv_CC_dependencies_compiler_type=$depmode
3611 break
3612 fi
3613 fi
3614 done
3615
3616 cd ..
3617 rm -rf conftest.dir
3618 else
3619 am_cv_CC_dependencies_compiler_type=none
3620 fi
3621
3622 fi
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3624 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3625 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3626
3627 if
3628 test "x$enable_dependency_tracking" != xno \
3629 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3630 am__fastdepCC_TRUE=
3631 am__fastdepCC_FALSE='#'
3632 else
3633 am__fastdepCC_TRUE='#'
3634 am__fastdepCC_FALSE=
3635 fi
3636
3637
3638 if test "x$CC" != xcc; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3640 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3641 else
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3643 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3644 fi
3645 set dummy $CC; ac_cc=`$as_echo "$2" |
3646 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3647 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3652
3653 int
3654 main ()
3655 {
3656
3657 ;
3658 return 0;
3659 }
3660 _ACEOF
3661 # Make sure it works both with $CC and with simple cc.
3662 # We do the test twice because some compilers refuse to overwrite an
3663 # existing .o file with -o, though they will create one.
3664 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3665 rm -f conftest2.*
3666 if { { case "(($ac_try" in
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3669 esac
3670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3671 $as_echo "$ac_try_echo"; } >&5
3672 (eval "$ac_try") 2>&5
3673 ac_status=$?
3674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3675 test $ac_status = 0; } &&
3676 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;;
3679 esac
3680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3681 $as_echo "$ac_try_echo"; } >&5
3682 (eval "$ac_try") 2>&5
3683 ac_status=$?
3684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3685 test $ac_status = 0; };
3686 then
3687 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3688 if test "x$CC" != xcc; then
3689 # Test first that cc exists at all.
3690 if { ac_try='cc -c conftest.$ac_ext >&5'
3691 { { case "(($ac_try" in
3692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693 *) ac_try_echo=$ac_try;;
3694 esac
3695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3696 $as_echo "$ac_try_echo"; } >&5
3697 (eval "$ac_try") 2>&5
3698 ac_status=$?
3699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3700 test $ac_status = 0; }; }; then
3701 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3702 rm -f conftest2.*
3703 if { { case "(($ac_try" in
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3706 esac
3707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3708 $as_echo "$ac_try_echo"; } >&5
3709 (eval "$ac_try") 2>&5
3710 ac_status=$?
3711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3712 test $ac_status = 0; } &&
3713 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3716 esac
3717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 $as_echo "$ac_try_echo"; } >&5
3719 (eval "$ac_try") 2>&5
3720 ac_status=$?
3721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3722 test $ac_status = 0; };
3723 then
3724 # cc works too.
3725 :
3726 else
3727 # cc exists but doesn't like -o.
3728 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3729 fi
3730 fi
3731 fi
3732 else
3733 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3734 fi
3735 rm -f core conftest*
3736
3737 fi
3738 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3740 $as_echo "yes" >&6; }
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3744
3745 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3746
3747 fi
3748
3749 # FIXME: we rely on the cache variable name because
3750 # there is no other way.
3751 set dummy $CC
3752 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3753 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3754 if test "$am_t" != yes; then
3755 # Losing compiler, so override with the script.
3756 # FIXME: It is wrong to rewrite CC.
3757 # But if we don't then we get into trouble of one sort or another.
3758 # A longer-term fix would be to have automake use am__CC in this case,
3759 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3760 CC="$am_aux_dir/compile $CC"
3761 fi
3762
3763
3764
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3766 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3767 set x ${MAKE-make}
3768 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3769 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 cat >conftest.make <<\_ACEOF
3773 SHELL = /bin/sh
3774 all:
3775 @echo '@@@%%%=$(MAKE)=@@@%%%'
3776 _ACEOF
3777 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3778 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3779 *@@@%%%=?*=@@@%%%*)
3780 eval ac_cv_prog_make_${ac_make}_set=yes;;
3781 *)
3782 eval ac_cv_prog_make_${ac_make}_set=no;;
3783 esac
3784 rm -f conftest.make
3785 fi
3786 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3788 $as_echo "yes" >&6; }
3789 SET_MAKE=
3790 else
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 $as_echo "no" >&6; }
3793 SET_MAKE="MAKE=${MAKE-make}"
3794 fi
3795
3796
3797
3798
3799
3800
3801
3802 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3803 if test -n "$ac_tool_prefix"; then
3804 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3805 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3809 $as_echo_n "(cached) " >&6
3810 else
3811 case $PKG_CONFIG in
3812 [\\/]* | ?:[\\/]*)
3813 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3814 ;;
3815 *)
3816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817 for as_dir in $PATH
3818 do
3819 IFS=$as_save_IFS
3820 test -z "$as_dir" && as_dir=.
3821 for ac_exec_ext in '' $ac_executable_extensions; do
3822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3823 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 break 2
3826 fi
3827 done
3828 done
3829 IFS=$as_save_IFS
3830
3831 ;;
3832 esac
3833 fi
3834 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3835 if test -n "$PKG_CONFIG"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3837 $as_echo "$PKG_CONFIG" >&6; }
3838 else
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3841 fi
3842
3843
3844 fi
3845 if test -z "$ac_cv_path_PKG_CONFIG"; then
3846 ac_pt_PKG_CONFIG=$PKG_CONFIG
3847 # Extract the first word of "pkg-config", so it can be a program name with args.
3848 set dummy pkg-config; ac_word=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3852 $as_echo_n "(cached) " >&6
3853 else
3854 case $ac_pt_PKG_CONFIG in
3855 [\\/]* | ?:[\\/]*)
3856 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3857 ;;
3858 *)
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860 for as_dir in $PATH
3861 do
3862 IFS=$as_save_IFS
3863 test -z "$as_dir" && as_dir=.
3864 for ac_exec_ext in '' $ac_executable_extensions; do
3865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3866 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 break 2
3869 fi
3870 done
3871 done
3872 IFS=$as_save_IFS
3873
3874 ;;
3875 esac
3876 fi
3877 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3878 if test -n "$ac_pt_PKG_CONFIG"; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3880 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3881 else
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3884 fi
3885
3886 if test "x$ac_pt_PKG_CONFIG" = x; then
3887 PKG_CONFIG=""
3888 else
3889 case $cross_compiling:$ac_tool_warned in
3890 yes:)
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3893 ac_tool_warned=yes ;;
3894 esac
3895 PKG_CONFIG=$ac_pt_PKG_CONFIG
3896 fi
3897 else
3898 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3899 fi
3900
3901 fi
3902 if test -n "$PKG_CONFIG"; then
3903 _pkg_min_version=0.9.0
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3905 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3906 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3908 $as_echo "yes" >&6; }
3909 else
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3912 PKG_CONFIG=""
3913 fi
3914 fi
3915
3916 # Checks for libraries.
3917
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
3919 $as_echo_n "checking for log in -lm... " >&6; }
3920 if test "${ac_cv_lib_m_log+set}" = set; then :
3921 $as_echo_n "(cached) " >&6
3922 else
3923 ac_check_lib_save_LIBS=$LIBS
3924 LIBS="-lm $LIBS"
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3927
3928 /* Override any GCC internal prototype to avoid an error.
3929 Use char because int might match the return type of a GCC
3930 builtin and then its argument prototype would still apply. */
3931 #ifdef __cplusplus
3932 extern "C"
3933 #endif
3934 char log ();
3935 int
3936 main ()
3937 {
3938 return log ();
3939 ;
3940 return 0;
3941 }
3942 _ACEOF
3943 if ac_fn_c_try_link "$LINENO"; then :
3944 ac_cv_lib_m_log=yes
3945 else
3946 ac_cv_lib_m_log=no
3947 fi
3948 rm -f core conftest.err conftest.$ac_objext \
3949 conftest$ac_exeext conftest.$ac_ext
3950 LIBS=$ac_check_lib_save_LIBS
3951 fi
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
3953 $as_echo "$ac_cv_lib_m_log" >&6; }
3954 if test "x$ac_cv_lib_m_log" = x""yes; then :
3955 cat >>confdefs.h <<_ACEOF
3956 #define HAVE_LIBM 1
3957 _ACEOF
3958
3959 LIBS="-lm $LIBS"
3960
3961 fi
3962
3963
3964 pkg_failed=no
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
3966 $as_echo_n "checking for GLIB... " >&6; }
3967
3968 if test -n "$GLIB_CFLAGS"; then
3969 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
3970 elif test -n "$PKG_CONFIG"; then
3971 if test -n "$PKG_CONFIG" && \
3972 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
3973 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
3974 ac_status=$?
3975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3976 test $ac_status = 0; }; then
3977 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
3978 else
3979 pkg_failed=yes
3980 fi
3981 else
3982 pkg_failed=untried
3983 fi
3984 if test -n "$GLIB_LIBS"; then
3985 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
3986 elif test -n "$PKG_CONFIG"; then
3987 if test -n "$PKG_CONFIG" && \
3988 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
3989 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
3990 ac_status=$?
3991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3992 test $ac_status = 0; }; then
3993 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
3994 else
3995 pkg_failed=yes
3996 fi
3997 else
3998 pkg_failed=untried
3999 fi
4000
4001
4002
4003 if test $pkg_failed = yes; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4006
4007 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4008 _pkg_short_errors_supported=yes
4009 else
4010 _pkg_short_errors_supported=no
4011 fi
4012 if test $_pkg_short_errors_supported = yes; then
4013 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
4014 else
4015 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
4016 fi
4017 # Put the nasty error message in config.log where it belongs
4018 echo "$GLIB_PKG_ERRORS" >&5
4019
4020 as_fn_error $? "Package requirements (glib-2.0) were not met:
4021
4022 $GLIB_PKG_ERRORS
4023
4024 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4025 installed software in a non-standard prefix.
4026
4027 Alternatively, you may set the environment variables GLIB_CFLAGS
4028 and GLIB_LIBS to avoid the need to call pkg-config.
4029 See the pkg-config man page for more details." "$LINENO" 5
4030
4031 elif test $pkg_failed = untried; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 $as_echo "no" >&6; }
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4036 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4037 is in your PATH or set the PKG_CONFIG environment variable to the full
4038 path to pkg-config.
4039
4040 Alternatively, you may set the environment variables GLIB_CFLAGS
4041 and GLIB_LIBS to avoid the need to call pkg-config.
4042 See the pkg-config man page for more details.
4043
4044 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4045 See \`config.log' for more details" "$LINENO" 5; }
4046
4047 else
4048 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4049 GLIB_LIBS=$pkg_cv_GLIB_LIBS
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4051 $as_echo "yes" >&6; }
4052
4053 fi
4054
4055 pkg_failed=no
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
4057 $as_echo_n "checking for GTK... " >&6; }
4058
4059 if test -n "$GTK_CFLAGS"; then
4060 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
4061 elif test -n "$PKG_CONFIG"; then
4062 if test -n "$PKG_CONFIG" && \
4063 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
4064 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4065 ac_status=$?
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }; then
4068 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
4069 else
4070 pkg_failed=yes
4071 fi
4072 else
4073 pkg_failed=untried
4074 fi
4075 if test -n "$GTK_LIBS"; then
4076 pkg_cv_GTK_LIBS="$GTK_LIBS"
4077 elif test -n "$PKG_CONFIG"; then
4078 if test -n "$PKG_CONFIG" && \
4079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
4080 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4081 ac_status=$?
4082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083 test $ac_status = 0; }; then
4084 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
4085 else
4086 pkg_failed=yes
4087 fi
4088 else
4089 pkg_failed=untried
4090 fi
4091
4092
4093
4094 if test $pkg_failed = yes; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4096 $as_echo "no" >&6; }
4097
4098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4099 _pkg_short_errors_supported=yes
4100 else
4101 _pkg_short_errors_supported=no
4102 fi
4103 if test $_pkg_short_errors_supported = yes; then
4104 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
4105 else
4106 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
4107 fi
4108 # Put the nasty error message in config.log where it belongs
4109 echo "$GTK_PKG_ERRORS" >&5
4110
4111 as_fn_error $? "Package requirements (gtk+-2.0) were not met:
4112
4113 $GTK_PKG_ERRORS
4114
4115 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4116 installed software in a non-standard prefix.
4117
4118 Alternatively, you may set the environment variables GTK_CFLAGS
4119 and GTK_LIBS to avoid the need to call pkg-config.
4120 See the pkg-config man page for more details." "$LINENO" 5
4121
4122 elif test $pkg_failed = untried; then
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4128 is in your PATH or set the PKG_CONFIG environment variable to the full
4129 path to pkg-config.
4130
4131 Alternatively, you may set the environment variables GTK_CFLAGS
4132 and GTK_LIBS to avoid the need to call pkg-config.
4133 See the pkg-config man page for more details.
4134
4135 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4136 See \`config.log' for more details" "$LINENO" 5; }
4137
4138 else
4139 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
4140 GTK_LIBS=$pkg_cv_GTK_LIBS
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4142 $as_echo "yes" >&6; }
4143
4144 fi
4145
4146 # Checks for header files.
4147 ac_ext=c
4148 ac_cpp='$CPP $CPPFLAGS'
4149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4153 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4154 # On Suns, sometimes $CPP names a directory.
4155 if test -n "$CPP" && test -d "$CPP"; then
4156 CPP=
4157 fi
4158 if test -z "$CPP"; then
4159 if test "${ac_cv_prog_CPP+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 # Double quotes because CPP needs to be expanded
4163 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4164 do
4165 ac_preproc_ok=false
4166 for ac_c_preproc_warn_flag in '' yes
4167 do
4168 # Use a header file that comes with gcc, so configuring glibc
4169 # with a fresh cross-compiler works.
4170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4171 # <limits.h> exists even on freestanding compilers.
4172 # On the NeXT, cc -E runs the code through the compiler's parser,
4173 # not just through cpp. "Syntax error" is here to catch this case.
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4176 #ifdef __STDC__
4177 # include <limits.h>
4178 #else
4179 # include <assert.h>
4180 #endif
4181 Syntax error
4182 _ACEOF
4183 if ac_fn_c_try_cpp "$LINENO"; then :
4184
4185 else
4186 # Broken: fails on valid input.
4187 continue
4188 fi
4189 rm -f conftest.err conftest.$ac_ext
4190
4191 # OK, works on sane cases. Now check whether nonexistent headers
4192 # can be detected and how.
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4195 #include <ac_nonexistent.h>
4196 _ACEOF
4197 if ac_fn_c_try_cpp "$LINENO"; then :
4198 # Broken: success on invalid input.
4199 continue
4200 else
4201 # Passes both tests.
4202 ac_preproc_ok=:
4203 break
4204 fi
4205 rm -f conftest.err conftest.$ac_ext
4206
4207 done
4208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4209 rm -f conftest.err conftest.$ac_ext
4210 if $ac_preproc_ok; then :
4211 break
4212 fi
4213
4214 done
4215 ac_cv_prog_CPP=$CPP
4216
4217 fi
4218 CPP=$ac_cv_prog_CPP
4219 else
4220 ac_cv_prog_CPP=$CPP
4221 fi
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4223 $as_echo "$CPP" >&6; }
4224 ac_preproc_ok=false
4225 for ac_c_preproc_warn_flag in '' yes
4226 do
4227 # Use a header file that comes with gcc, so configuring glibc
4228 # with a fresh cross-compiler works.
4229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4230 # <limits.h> exists even on freestanding compilers.
4231 # On the NeXT, cc -E runs the code through the compiler's parser,
4232 # not just through cpp. "Syntax error" is here to catch this case.
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4235 #ifdef __STDC__
4236 # include <limits.h>
4237 #else
4238 # include <assert.h>
4239 #endif
4240 Syntax error
4241 _ACEOF
4242 if ac_fn_c_try_cpp "$LINENO"; then :
4243
4244 else
4245 # Broken: fails on valid input.
4246 continue
4247 fi
4248 rm -f conftest.err conftest.$ac_ext
4249
4250 # OK, works on sane cases. Now check whether nonexistent headers
4251 # can be detected and how.
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4254 #include <ac_nonexistent.h>
4255 _ACEOF
4256 if ac_fn_c_try_cpp "$LINENO"; then :
4257 # Broken: success on invalid input.
4258 continue
4259 else
4260 # Passes both tests.
4261 ac_preproc_ok=:
4262 break
4263 fi
4264 rm -f conftest.err conftest.$ac_ext
4265
4266 done
4267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4268 rm -f conftest.err conftest.$ac_ext
4269 if $ac_preproc_ok; then :
4270
4271 else
4272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4274 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4275 See \`config.log' for more details" "$LINENO" 5; }
4276 fi
4277
4278 ac_ext=c
4279 ac_cpp='$CPP $CPPFLAGS'
4280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4283
4284
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4286 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4287 if test "${ac_cv_path_GREP+set}" = set; then :
4288 $as_echo_n "(cached) " >&6
4289 else
4290 if test -z "$GREP"; then
4291 ac_path_GREP_found=false
4292 # Loop through the user's path and test for each of PROGNAME-LIST
4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4295 do
4296 IFS=$as_save_IFS
4297 test -z "$as_dir" && as_dir=.
4298 for ac_prog in grep ggrep; do
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4301 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4302 # Check for GNU ac_path_GREP and select it if it is found.
4303 # Check for GNU $ac_path_GREP
4304 case `"$ac_path_GREP" --version 2>&1` in
4305 *GNU*)
4306 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4307 *)
4308 ac_count=0
4309 $as_echo_n 0123456789 >"conftest.in"
4310 while :
4311 do
4312 cat "conftest.in" "conftest.in" >"conftest.tmp"
4313 mv "conftest.tmp" "conftest.in"
4314 cp "conftest.in" "conftest.nl"
4315 $as_echo 'GREP' >> "conftest.nl"
4316 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4318 as_fn_arith $ac_count + 1 && ac_count=$as_val
4319 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4320 # Best one so far, save it but keep looking for a better one
4321 ac_cv_path_GREP="$ac_path_GREP"
4322 ac_path_GREP_max=$ac_count
4323 fi
4324 # 10*(2^10) chars as input seems more than enough
4325 test $ac_count -gt 10 && break
4326 done
4327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4328 esac
4329
4330 $ac_path_GREP_found && break 3
4331 done
4332 done
4333 done
4334 IFS=$as_save_IFS
4335 if test -z "$ac_cv_path_GREP"; then
4336 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4337 fi
4338 else
4339 ac_cv_path_GREP=$GREP
4340 fi
4341
4342 fi
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4344 $as_echo "$ac_cv_path_GREP" >&6; }
4345 GREP="$ac_cv_path_GREP"
4346
4347
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4349 $as_echo_n "checking for egrep... " >&6; }
4350 if test "${ac_cv_path_EGREP+set}" = set; then :
4351 $as_echo_n "(cached) " >&6
4352 else
4353 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4354 then ac_cv_path_EGREP="$GREP -E"
4355 else
4356 if test -z "$EGREP"; then
4357 ac_path_EGREP_found=false
4358 # Loop through the user's path and test for each of PROGNAME-LIST
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4361 do
4362 IFS=$as_save_IFS
4363 test -z "$as_dir" && as_dir=.
4364 for ac_prog in egrep; do
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4367 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4368 # Check for GNU ac_path_EGREP and select it if it is found.
4369 # Check for GNU $ac_path_EGREP
4370 case `"$ac_path_EGREP" --version 2>&1` in
4371 *GNU*)
4372 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4373 *)
4374 ac_count=0
4375 $as_echo_n 0123456789 >"conftest.in"
4376 while :
4377 do
4378 cat "conftest.in" "conftest.in" >"conftest.tmp"
4379 mv "conftest.tmp" "conftest.in"
4380 cp "conftest.in" "conftest.nl"
4381 $as_echo 'EGREP' >> "conftest.nl"
4382 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4384 as_fn_arith $ac_count + 1 && ac_count=$as_val
4385 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4386 # Best one so far, save it but keep looking for a better one
4387 ac_cv_path_EGREP="$ac_path_EGREP"
4388 ac_path_EGREP_max=$ac_count
4389 fi
4390 # 10*(2^10) chars as input seems more than enough
4391 test $ac_count -gt 10 && break
4392 done
4393 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4394 esac
4395
4396 $ac_path_EGREP_found && break 3
4397 done
4398 done
4399 done
4400 IFS=$as_save_IFS
4401 if test -z "$ac_cv_path_EGREP"; then
4402 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4403 fi
4404 else
4405 ac_cv_path_EGREP=$EGREP
4406 fi
4407
4408 fi
4409 fi
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4411 $as_echo "$ac_cv_path_EGREP" >&6; }
4412 EGREP="$ac_cv_path_EGREP"
4413
4414
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4416 $as_echo_n "checking for ANSI C header files... " >&6; }
4417 if test "${ac_cv_header_stdc+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4422 #include <stdlib.h>
4423 #include <stdarg.h>
4424 #include <string.h>
4425 #include <float.h>
4426
4427 int
4428 main ()
4429 {
4430
4431 ;
4432 return 0;
4433 }
4434 _ACEOF
4435 if ac_fn_c_try_compile "$LINENO"; then :
4436 ac_cv_header_stdc=yes
4437 else
4438 ac_cv_header_stdc=no
4439 fi
4440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4441
4442 if test $ac_cv_header_stdc = yes; then
4443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4446 #include <string.h>
4447
4448 _ACEOF
4449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4450 $EGREP "memchr" >/dev/null 2>&1; then :
4451
4452 else
4453 ac_cv_header_stdc=no
4454 fi
4455 rm -f conftest*
4456
4457 fi
4458
4459 if test $ac_cv_header_stdc = yes; then
4460 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4463 #include <stdlib.h>
4464
4465 _ACEOF
4466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4467 $EGREP "free" >/dev/null 2>&1; then :
4468
4469 else
4470 ac_cv_header_stdc=no
4471 fi
4472 rm -f conftest*
4473
4474 fi
4475
4476 if test $ac_cv_header_stdc = yes; then
4477 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4478 if test "$cross_compiling" = yes; then :
4479 :
4480 else
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4483 #include <ctype.h>
4484 #include <stdlib.h>
4485 #if ((' ' & 0x0FF) == 0x020)
4486 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4487 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4488 #else
4489 # define ISLOWER(c) \
4490 (('a' <= (c) && (c) <= 'i') \
4491 || ('j' <= (c) && (c) <= 'r') \
4492 || ('s' <= (c) && (c) <= 'z'))
4493 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4494 #endif
4495
4496 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4497 int
4498 main ()
4499 {
4500 int i;
4501 for (i = 0; i < 256; i++)
4502 if (XOR (islower (i), ISLOWER (i))
4503 || toupper (i) != TOUPPER (i))
4504 return 2;
4505 return 0;
4506 }
4507 _ACEOF
4508 if ac_fn_c_try_run "$LINENO"; then :
4509
4510 else
4511 ac_cv_header_stdc=no
4512 fi
4513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4514 conftest.$ac_objext conftest.beam conftest.$ac_ext
4515 fi
4516
4517 fi
4518 fi
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4520 $as_echo "$ac_cv_header_stdc" >&6; }
4521 if test $ac_cv_header_stdc = yes; then
4522
4523 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4524
4525 fi
4526
4527 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4528 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4529 inttypes.h stdint.h unistd.h
4530 do :
4531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4532 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4533 "
4534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4535 cat >>confdefs.h <<_ACEOF
4536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4537 _ACEOF
4538
4539 fi
4540
4541 done
4542
4543
4544 for ac_header in stdlib.h string.h math.h
4545 do :
4546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4547 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4548 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4549 cat >>confdefs.h <<_ACEOF
4550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4551 _ACEOF
4552
4553 fi
4554
4555 done
4556
4557
4558 # Checks for typedefs, structures, and compiler characteristics.
4559
4560 # Checks for library functions.
4561 for ac_header in stdlib.h
4562 do :
4563 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4564 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4565 cat >>confdefs.h <<_ACEOF
4566 #define HAVE_STDLIB_H 1
4567 _ACEOF
4568
4569 fi
4570
4571 done
4572
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4574 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4575 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 if test "$cross_compiling" = yes; then :
4579 ac_cv_func_malloc_0_nonnull=no
4580 else
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4583 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4584 # include <stdlib.h>
4585 #else
4586 char *malloc ();
4587 #endif
4588
4589 int
4590 main ()
4591 {
4592 return ! malloc (0);
4593 ;
4594 return 0;
4595 }
4596 _ACEOF
4597 if ac_fn_c_try_run "$LINENO"; then :
4598 ac_cv_func_malloc_0_nonnull=yes
4599 else
4600 ac_cv_func_malloc_0_nonnull=no
4601 fi
4602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4603 conftest.$ac_objext conftest.beam conftest.$ac_ext
4604 fi
4605
4606 fi
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4608 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4609 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4610
4611 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4612
4613 else
4614 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4615
4616 case " $LIBOBJS " in
4617 *" malloc.$ac_objext "* ) ;;
4618 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4619 ;;
4620 esac
4621
4622
4623 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4624
4625 fi
4626
4627
4628 for ac_header in stdlib.h
4629 do :
4630 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4631 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4632 cat >>confdefs.h <<_ACEOF
4633 #define HAVE_STDLIB_H 1
4634 _ACEOF
4635
4636 fi
4637
4638 done
4639
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4641 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4642 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4644 else
4645 if test "$cross_compiling" = yes; then :
4646 ac_cv_func_realloc_0_nonnull=no
4647 else
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4650 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4651 # include <stdlib.h>
4652 #else
4653 char *realloc ();
4654 #endif
4655
4656 int
4657 main ()
4658 {
4659 return ! realloc (0, 0);
4660 ;
4661 return 0;
4662 }
4663 _ACEOF
4664 if ac_fn_c_try_run "$LINENO"; then :
4665 ac_cv_func_realloc_0_nonnull=yes
4666 else
4667 ac_cv_func_realloc_0_nonnull=no
4668 fi
4669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4670 conftest.$ac_objext conftest.beam conftest.$ac_ext
4671 fi
4672
4673 fi
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4675 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4676 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4677
4678 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4679
4680 else
4681 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4682
4683 case " $LIBOBJS " in
4684 *" realloc.$ac_objext "* ) ;;
4685 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4686 ;;
4687 esac
4688
4689
4690 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4691
4692 fi
4693
4694
4695 for ac_func in strstr
4696 do :
4697 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4698 if test "x$ac_cv_func_strstr" = x""yes; then :
4699 cat >>confdefs.h <<_ACEOF
4700 #define HAVE_STRSTR 1
4701 _ACEOF
4702
4703 fi
4704 done
4705
4706
4707 ac_config_files="$ac_config_files Makefile doc/Makefile data/Makefile"
4708
4709 cat >confcache <<\_ACEOF
4710 # This file is a shell script that caches the results of configure
4711 # tests run on this system so they can be shared between configure
4712 # scripts and configure runs, see configure's option --config-cache.
4713 # It is not useful on other systems. If it contains results you don't
4714 # want to keep, you may remove or edit it.
4715 #
4716 # config.status only pays attention to the cache file if you give it
4717 # the --recheck option to rerun configure.
4718 #
4719 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4720 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4721 # following values.
4722
4723 _ACEOF
4724
4725 # The following way of writing the cache mishandles newlines in values,
4726 # but we know of no workaround that is simple, portable, and efficient.
4727 # So, we kill variables containing newlines.
4728 # Ultrix sh set writes to stderr and can't be redirected directly,
4729 # and sets the high bit in the cache file unless we assign to the vars.
4730 (
4731 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4732 eval ac_val=\$$ac_var
4733 case $ac_val in #(
4734 *${as_nl}*)
4735 case $ac_var in #(
4736 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4737 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4738 esac
4739 case $ac_var in #(
4740 _ | IFS | as_nl) ;; #(
4741 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4742 *) { eval $ac_var=; unset $ac_var;} ;;
4743 esac ;;
4744 esac
4745 done
4746
4747 (set) 2>&1 |
4748 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4749 *${as_nl}ac_space=\ *)
4750 # `set' does not quote correctly, so add quotes: double-quote
4751 # substitution turns \\\\ into \\, and sed turns \\ into \.
4752 sed -n \
4753 "s/'/'\\\\''/g;
4754 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4755 ;; #(
4756 *)
4757 # `set' quotes correctly as required by POSIX, so do not add quotes.
4758 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4759 ;;
4760 esac |
4761 sort
4762 ) |
4763 sed '
4764 /^ac_cv_env_/b end
4765 t clear
4766 :clear
4767 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4768 t end
4769 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4770 :end' >>confcache
4771 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4772 if test -w "$cache_file"; then
4773 test "x$cache_file" != "x/dev/null" &&
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4775 $as_echo "$as_me: updating cache $cache_file" >&6;}
4776 cat confcache >$cache_file
4777 else
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4779 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4780 fi
4781 fi
4782 rm -f confcache
4783
4784 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4785 # Let make expand exec_prefix.
4786 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4787
4788 DEFS=-DHAVE_CONFIG_H
4789
4790 ac_libobjs=
4791 ac_ltlibobjs=
4792 U=
4793 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4794 # 1. Remove the extension, and $U if already installed.
4795 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4796 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4797 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4798 # will be set to the directory where LIBOBJS objects are built.
4799 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4800 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4801 done
4802 LIBOBJS=$ac_libobjs
4803
4804 LTLIBOBJS=$ac_ltlibobjs
4805
4806
4807 if test -n "$EXEEXT"; then
4808 am__EXEEXT_TRUE=
4809 am__EXEEXT_FALSE='#'
4810 else
4811 am__EXEEXT_TRUE='#'
4812 am__EXEEXT_FALSE=
4813 fi
4814
4815 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4816 as_fn_error $? "conditional \"AMDEP\" was never defined.
4817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4818 fi
4819 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4820 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4822 fi
4823
4824 : ${CONFIG_STATUS=./config.status}
4825 ac_write_fail=0
4826 ac_clean_files_save=$ac_clean_files
4827 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4829 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4830 as_write_fail=0
4831 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4832 #! $SHELL
4833 # Generated by $as_me.
4834 # Run this file to recreate the current configuration.
4835 # Compiler output produced by configure, useful for debugging
4836 # configure, is in config.log if it exists.
4837
4838 debug=false
4839 ac_cs_recheck=false
4840 ac_cs_silent=false
4841
4842 SHELL=\${CONFIG_SHELL-$SHELL}
4843 export SHELL
4844 _ASEOF
4845 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4846 ## -------------------- ##
4847 ## M4sh Initialization. ##
4848 ## -------------------- ##
4849
4850 # Be more Bourne compatible
4851 DUALCASE=1; export DUALCASE # for MKS sh
4852 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4853 emulate sh
4854 NULLCMD=:
4855 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4856 # is contrary to our usage. Disable this feature.
4857 alias -g '${1+"$@"}'='"$@"'
4858 setopt NO_GLOB_SUBST
4859 else
4860 case `(set -o) 2>/dev/null` in #(
4861 *posix*) :
4862 set -o posix ;; #(
4863 *) :
4864 ;;
4865 esac
4866 fi
4867
4868
4869 as_nl='
4870 '
4871 export as_nl
4872 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4873 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4876 # Prefer a ksh shell builtin over an external printf program on Solaris,
4877 # but without wasting forks for bash or zsh.
4878 if test -z "$BASH_VERSION$ZSH_VERSION" \
4879 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4880 as_echo='print -r --'
4881 as_echo_n='print -rn --'
4882 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4883 as_echo='printf %s\n'
4884 as_echo_n='printf %s'
4885 else
4886 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4887 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4888 as_echo_n='/usr/ucb/echo -n'
4889 else
4890 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4891 as_echo_n_body='eval
4892 arg=$1;
4893 case $arg in #(
4894 *"$as_nl"*)
4895 expr "X$arg" : "X\\(.*\\)$as_nl";
4896 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4897 esac;
4898 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4899 '
4900 export as_echo_n_body
4901 as_echo_n='sh -c $as_echo_n_body as_echo'
4902 fi
4903 export as_echo_body
4904 as_echo='sh -c $as_echo_body as_echo'
4905 fi
4906
4907 # The user is always right.
4908 if test "${PATH_SEPARATOR+set}" != set; then
4909 PATH_SEPARATOR=:
4910 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4911 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4912 PATH_SEPARATOR=';'
4913 }
4914 fi
4915
4916
4917 # IFS
4918 # We need space, tab and new line, in precisely that order. Quoting is
4919 # there to prevent editors from complaining about space-tab.
4920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4921 # splitting by setting IFS to empty value.)
4922 IFS=" "" $as_nl"
4923
4924 # Find who we are. Look in the path if we contain no directory separator.
4925 case $0 in #((
4926 *[\\/]* ) as_myself=$0 ;;
4927 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4929 do
4930 IFS=$as_save_IFS
4931 test -z "$as_dir" && as_dir=.
4932 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4933 done
4934 IFS=$as_save_IFS
4935
4936 ;;
4937 esac
4938 # We did not find ourselves, most probably we were run as `sh COMMAND'
4939 # in which case we are not to be found in the path.
4940 if test "x$as_myself" = x; then
4941 as_myself=$0
4942 fi
4943 if test ! -f "$as_myself"; then
4944 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4945 exit 1
4946 fi
4947
4948 # Unset variables that we do not need and which cause bugs (e.g. in
4949 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4950 # suppresses any "Segmentation fault" message there. '((' could
4951 # trigger a bug in pdksh 5.2.14.
4952 for as_var in BASH_ENV ENV MAIL MAILPATH
4953 do eval test x\${$as_var+set} = xset \
4954 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4955 done
4956 PS1='$ '
4957 PS2='> '
4958 PS4='+ '
4959
4960 # NLS nuisances.
4961 LC_ALL=C
4962 export LC_ALL
4963 LANGUAGE=C
4964 export LANGUAGE
4965
4966 # CDPATH.
4967 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4968
4969
4970 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4971 # ----------------------------------------
4972 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4973 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4974 # script with STATUS, using 1 if that was 0.
4975 as_fn_error ()
4976 {
4977 as_status=$1; test $as_status -eq 0 && as_status=1
4978 if test "$4"; then
4979 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4980 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4981 fi
4982 $as_echo "$as_me: error: $2" >&2
4983 as_fn_exit $as_status
4984 } # as_fn_error
4985
4986
4987 # as_fn_set_status STATUS
4988 # -----------------------
4989 # Set $? to STATUS, without forking.
4990 as_fn_set_status ()
4991 {
4992 return $1
4993 } # as_fn_set_status
4994
4995 # as_fn_exit STATUS
4996 # -----------------
4997 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4998 as_fn_exit ()
4999 {
5000 set +e
5001 as_fn_set_status $1
5002 exit $1
5003 } # as_fn_exit
5004
5005 # as_fn_unset VAR
5006 # ---------------
5007 # Portably unset VAR.
5008 as_fn_unset ()
5009 {
5010 { eval $1=; unset $1;}
5011 }
5012 as_unset=as_fn_unset
5013 # as_fn_append VAR VALUE
5014 # ----------------------
5015 # Append the text in VALUE to the end of the definition contained in VAR. Take
5016 # advantage of any shell optimizations that allow amortized linear growth over
5017 # repeated appends, instead of the typical quadratic growth present in naive
5018 # implementations.
5019 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5020 eval 'as_fn_append ()
5021 {
5022 eval $1+=\$2
5023 }'
5024 else
5025 as_fn_append ()
5026 {
5027 eval $1=\$$1\$2
5028 }
5029 fi # as_fn_append
5030
5031 # as_fn_arith ARG...
5032 # ------------------
5033 # Perform arithmetic evaluation on the ARGs, and store the result in the
5034 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5035 # must be portable across $(()) and expr.
5036 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5037 eval 'as_fn_arith ()
5038 {
5039 as_val=$(( $* ))
5040 }'
5041 else
5042 as_fn_arith ()
5043 {
5044 as_val=`expr "$@" || test $? -eq 1`
5045 }
5046 fi # as_fn_arith
5047
5048
5049 if expr a : '\(a\)' >/dev/null 2>&1 &&
5050 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5051 as_expr=expr
5052 else
5053 as_expr=false
5054 fi
5055
5056 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5057 as_basename=basename
5058 else
5059 as_basename=false
5060 fi
5061
5062 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5063 as_dirname=dirname
5064 else
5065 as_dirname=false
5066 fi
5067
5068 as_me=`$as_basename -- "$0" ||
5069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5070 X"$0" : 'X\(//\)$' \| \
5071 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5072 $as_echo X/"$0" |
5073 sed '/^.*\/\([^/][^/]*\)\/*$/{
5074 s//\1/
5075 q
5076 }
5077 /^X\/\(\/\/\)$/{
5078 s//\1/
5079 q
5080 }
5081 /^X\/\(\/\).*/{
5082 s//\1/
5083 q
5084 }
5085 s/.*/./; q'`
5086
5087 # Avoid depending upon Character Ranges.
5088 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5089 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5090 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5091 as_cr_digits='0123456789'
5092 as_cr_alnum=$as_cr_Letters$as_cr_digits
5093
5094 ECHO_C= ECHO_N= ECHO_T=
5095 case `echo -n x` in #(((((
5096 -n*)
5097 case `echo 'xy\c'` in
5098 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5099 xy) ECHO_C='\c';;
5100 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5101 ECHO_T=' ';;
5102 esac;;
5103 *)
5104 ECHO_N='-n';;
5105 esac
5106
5107 rm -f conf$$ conf$$.exe conf$$.file
5108 if test -d conf$$.dir; then
5109 rm -f conf$$.dir/conf$$.file
5110 else
5111 rm -f conf$$.dir
5112 mkdir conf$$.dir 2>/dev/null
5113 fi
5114 if (echo >conf$$.file) 2>/dev/null; then
5115 if ln -s conf$$.file conf$$ 2>/dev/null; then
5116 as_ln_s='ln -s'
5117 # ... but there are two gotchas:
5118 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5119 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5120 # In both cases, we have to default to `cp -p'.
5121 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5122 as_ln_s='cp -p'
5123 elif ln conf$$.file conf$$ 2>/dev/null; then
5124 as_ln_s=ln
5125 else
5126 as_ln_s='cp -p'
5127 fi
5128 else
5129 as_ln_s='cp -p'
5130 fi
5131 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5132 rmdir conf$$.dir 2>/dev/null
5133
5134
5135 # as_fn_mkdir_p
5136 # -------------
5137 # Create "$as_dir" as a directory, including parents if necessary.
5138 as_fn_mkdir_p ()
5139 {
5140
5141 case $as_dir in #(
5142 -*) as_dir=./$as_dir;;
5143 esac
5144 test -d "$as_dir" || eval $as_mkdir_p || {
5145 as_dirs=
5146 while :; do
5147 case $as_dir in #(
5148 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5149 *) as_qdir=$as_dir;;
5150 esac
5151 as_dirs="'$as_qdir' $as_dirs"
5152 as_dir=`$as_dirname -- "$as_dir" ||
5153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5154 X"$as_dir" : 'X\(//\)[^/]' \| \
5155 X"$as_dir" : 'X\(//\)$' \| \
5156 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5157 $as_echo X"$as_dir" |
5158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5159 s//\1/
5160 q
5161 }
5162 /^X\(\/\/\)[^/].*/{
5163 s//\1/
5164 q
5165 }
5166 /^X\(\/\/\)$/{
5167 s//\1/
5168 q
5169 }
5170 /^X\(\/\).*/{
5171 s//\1/
5172 q
5173 }
5174 s/.*/./; q'`
5175 test -d "$as_dir" && break
5176 done
5177 test -z "$as_dirs" || eval "mkdir $as_dirs"
5178 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5179
5180
5181 } # as_fn_mkdir_p
5182 if mkdir -p . 2>/dev/null; then
5183 as_mkdir_p='mkdir -p "$as_dir"'
5184 else
5185 test -d ./-p && rmdir ./-p
5186 as_mkdir_p=false
5187 fi
5188
5189 if test -x / >/dev/null 2>&1; then
5190 as_test_x='test -x'
5191 else
5192 if ls -dL / >/dev/null 2>&1; then
5193 as_ls_L_option=L
5194 else
5195 as_ls_L_option=
5196 fi
5197 as_test_x='
5198 eval sh -c '\''
5199 if test -d "$1"; then
5200 test -d "$1/.";
5201 else
5202 case $1 in #(
5203 -*)set "./$1";;
5204 esac;
5205 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5206 ???[sx]*):;;*)false;;esac;fi
5207 '\'' sh
5208 '
5209 fi
5210 as_executable_p=$as_test_x
5211
5212 # Sed expression to map a string onto a valid CPP name.
5213 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5214
5215 # Sed expression to map a string onto a valid variable name.
5216 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5217
5218
5219 exec 6>&1
5220 ## ----------------------------------- ##
5221 ## Main body of $CONFIG_STATUS script. ##
5222 ## ----------------------------------- ##
5223 _ASEOF
5224 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5225
5226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5227 # Save the log message, to keep $0 and so on meaningful, and to
5228 # report actual input values of CONFIG_FILES etc. instead of their
5229 # values after options handling.
5230 ac_log="
5231 This file was extended by g3data $as_me 1.5.4, which was
5232 generated by GNU Autoconf 2.66. Invocation command line was
5233
5234 CONFIG_FILES = $CONFIG_FILES
5235 CONFIG_HEADERS = $CONFIG_HEADERS
5236 CONFIG_LINKS = $CONFIG_LINKS
5237 CONFIG_COMMANDS = $CONFIG_COMMANDS
5238 $ $0 $@
5239
5240 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5241 "
5242
5243 _ACEOF
5244
5245 case $ac_config_files in *"
5246 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5247 esac
5248
5249 case $ac_config_headers in *"
5250 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5251 esac
5252
5253
5254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5255 # Files that config.status was made for.
5256 config_files="$ac_config_files"
5257 config_headers="$ac_config_headers"
5258 config_commands="$ac_config_commands"
5259
5260 _ACEOF
5261
5262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5263 ac_cs_usage="\
5264 \`$as_me' instantiates files and other configuration actions
5265 from templates according to the current configuration. Unless the files
5266 and actions are specified as TAGs, all are instantiated by default.
5267
5268 Usage: $0 [OPTION]... [TAG]...
5269
5270 -h, --help print this help, then exit
5271 -V, --version print version number and configuration settings, then exit
5272 --config print configuration, then exit
5273 -q, --quiet, --silent
5274 do not print progress messages
5275 -d, --debug don't remove temporary files
5276 --recheck update $as_me by reconfiguring in the same conditions
5277 --file=FILE[:TEMPLATE]
5278 instantiate the configuration file FILE
5279 --header=FILE[:TEMPLATE]
5280 instantiate the configuration header FILE
5281
5282 Configuration files:
5283 $config_files
5284
5285 Configuration headers:
5286 $config_headers
5287
5288 Configuration commands:
5289 $config_commands
5290
5291 Report bugs to the package provider."
5292
5293 _ACEOF
5294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5295 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5296 ac_cs_version="\\
5297 g3data config.status 1.5.4
5298 configured by $0, generated by GNU Autoconf 2.66,
5299 with options \\"\$ac_cs_config\\"
5300
5301 Copyright (C) 2010 Free Software Foundation, Inc.
5302 This config.status script is free software; the Free Software Foundation
5303 gives unlimited permission to copy, distribute and modify it."
5304
5305 ac_pwd='$ac_pwd'
5306 srcdir='$srcdir'
5307 INSTALL='$INSTALL'
5308 MKDIR_P='$MKDIR_P'
5309 AWK='$AWK'
5310 test -n "\$AWK" || AWK=awk
5311 _ACEOF
5312
5313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5314 # The default lists apply if the user does not specify any file.
5315 ac_need_defaults=:
5316 while test $# != 0
5317 do
5318 case $1 in
5319 --*=*)
5320 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5321 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5322 ac_shift=:
5323 ;;
5324 *)
5325 ac_option=$1
5326 ac_optarg=$2
5327 ac_shift=shift
5328 ;;
5329 esac
5330
5331 case $ac_option in
5332 # Handling of the options.
5333 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5334 ac_cs_recheck=: ;;
5335 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5336 $as_echo "$ac_cs_version"; exit ;;
5337 --config | --confi | --conf | --con | --co | --c )
5338 $as_echo "$ac_cs_config"; exit ;;
5339 --debug | --debu | --deb | --de | --d | -d )
5340 debug=: ;;
5341 --file | --fil | --fi | --f )
5342 $ac_shift
5343 case $ac_optarg in
5344 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5345 esac
5346 as_fn_append CONFIG_FILES " '$ac_optarg'"
5347 ac_need_defaults=false;;
5348 --header | --heade | --head | --hea )
5349 $ac_shift
5350 case $ac_optarg in
5351 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5352 esac
5353 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5354 ac_need_defaults=false;;
5355 --he | --h)
5356 # Conflict between --help and --header
5357 as_fn_error $? "ambiguous option: \`$1'
5358 Try \`$0 --help' for more information.";;
5359 --help | --hel | -h )
5360 $as_echo "$ac_cs_usage"; exit ;;
5361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5362 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5363 ac_cs_silent=: ;;
5364
5365 # This is an error.
5366 -*) as_fn_error $? "unrecognized option: \`$1'
5367 Try \`$0 --help' for more information." ;;
5368
5369 *) as_fn_append ac_config_targets " $1"
5370 ac_need_defaults=false ;;
5371
5372 esac
5373 shift
5374 done
5375
5376 ac_configure_extra_args=
5377
5378 if $ac_cs_silent; then
5379 exec 6>/dev/null
5380 ac_configure_extra_args="$ac_configure_extra_args --silent"
5381 fi
5382
5383 _ACEOF
5384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5385 if \$ac_cs_recheck; then
5386 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5387 shift
5388 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5389 CONFIG_SHELL='$SHELL'
5390 export CONFIG_SHELL
5391 exec "\$@"
5392 fi
5393
5394 _ACEOF
5395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5396 exec 5>>config.log
5397 {
5398 echo
5399 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5400 ## Running $as_me. ##
5401 _ASBOX
5402 $as_echo "$ac_log"
5403 } >&5
5404
5405 _ACEOF
5406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5407 #
5408 # INIT-COMMANDS
5409 #
5410 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5411
5412 _ACEOF
5413
5414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5415
5416 # Handling of arguments.
5417 for ac_config_target in $ac_config_targets
5418 do
5419 case $ac_config_target in
5420 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5421 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5422 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5423 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5424 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
5425
5426 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5427 esac
5428 done
5429
5430
5431 # If the user did not use the arguments to specify the items to instantiate,
5432 # then the envvar interface is used. Set only those that are not.
5433 # We use the long form for the default assignment because of an extremely
5434 # bizarre bug on SunOS 4.1.3.
5435 if $ac_need_defaults; then
5436 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5437 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5438 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5439 fi
5440
5441 # Have a temporary directory for convenience. Make it in the build tree
5442 # simply because there is no reason against having it here, and in addition,
5443 # creating and moving files from /tmp can sometimes cause problems.
5444 # Hook for its removal unless debugging.
5445 # Note that there is a small window in which the directory will not be cleaned:
5446 # after its creation but before its name has been assigned to `$tmp'.
5447 $debug ||
5448 {
5449 tmp=
5450 trap 'exit_status=$?
5451 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5452 ' 0
5453 trap 'as_fn_exit 1' 1 2 13 15
5454 }
5455 # Create a (secure) tmp directory for tmp files.
5456
5457 {
5458 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5459 test -n "$tmp" && test -d "$tmp"
5460 } ||
5461 {
5462 tmp=./conf$$<