comparison configure @ 120:7d2108cbcd3e

Porting DW to GTK 2.0... and changed the percent value from into to a float so there won't be any rounding.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 19 Oct 2002 11:46:54 +0000
parents 5e4730c42014
children d8af32b1b1cd
comparison
equal deleted inserted replaced
119:1cad81b7cc4c 120:7d2108cbcd3e
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52. 3 # Generated by GNU Autoconf 2.53.
4 # 4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc. 6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation 7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it. 8 # gives unlimited permission to copy, distribute and modify it.
9 9
10 if expr a : '\(a\)' >/dev/null 2>&1; then
11 as_expr=expr
12 else
13 as_expr=false
14 fi
15
16
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
20
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 emulate sh
24 NULLCMD=:
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 set -o posix
27 fi
28
29 # NLS nuisances.
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset
33 else
34 as_unset=false
35 fi
36
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
69 echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'`
74
75 # PATH needs CR, and LINENO needs CR and PATH.
10 # Avoid depending upon Character Ranges. 76 # Avoid depending upon Character Ranges.
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits='0123456789' 80 as_cr_digits='0123456789'
15 as_cr_alnum=$as_cr_Letters$as_cr_digits 81 as_cr_alnum=$as_cr_Letters$as_cr_digits
16 82
17 # Sed expression to map a string onto a valid variable name. 83 # The user is always right.
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 84 if test "${PATH_SEPARATOR+set}" != set; then
19 85 echo "#! /bin/sh" >conftest.sh
20 # Sed expression to map a string onto a valid CPP name. 86 echo "exit 0" >>conftest.sh
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 87 chmod +x conftest.sh
22 88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
23 # Be Bourne compatible 89 PATH_SEPARATOR=';'
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 90 else
25 emulate sh 91 PATH_SEPARATOR=:
26 NULLCMD=: 92 fi
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 93 rm -f conftest.sh
28 set -o posix 94 fi
29 fi 95
30 96
31 # Name of the executable. 97 as_lineno_1=$LINENO
32 as_me=`echo "$0" |sed 's,.*[\\/],,'` 98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107 for as_dir in $PATH
108 do
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 done
113
114 ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
124 fi
125 case $CONFIG_SHELL in
126 '')
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129 do
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
134 /*)
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;;
145 esac
146 done
147 done
148 ;;
149 esac
150
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
160 sed '
161 N
162 s,$,-,
163 : loop
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 t loop
166 s,-$,,
167 s,^['$as_cr_digits']*\n,,
168 ' >$as_me.lineno &&
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
172
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
176 . ./$as_me.lineno
177 # Exit status is that of the last command.
178 exit
179 }
180
181
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
184 ' ECHO_T=' ' ;;
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187 esac
33 188
34 if expr a : '\(a\)' >/dev/null 2>&1; then 189 if expr a : '\(a\)' >/dev/null 2>&1; then
35 as_expr=expr 190 as_expr=expr
36 else 191 else
37 as_expr=false 192 as_expr=false
55 fi 210 fi
56 rm -f conf$$ conf$$.exe conf$$.file 211 rm -f conf$$ conf$$.exe conf$$.file
57 212
58 as_executable_p="test -f" 213 as_executable_p="test -f"
59 214
60 # Support unset when possible. 215 # Sed expression to map a string onto a valid CPP name.
61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
62 as_unset=unset 217
63 else 218 # Sed expression to map a string onto a valid variable name.
64 as_unset=false 219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
65 fi 220
66
67 # NLS nuisances.
68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
76 221
77 # IFS 222 # IFS
78 # We need space, tab and new line, in precisely that order. 223 # We need space, tab and new line, in precisely that order.
79 as_nl=' 224 as_nl='
80 ' 225 '
81 IFS=" $as_nl" 226 IFS=" $as_nl"
82 227
83 # CDPATH. 228 # CDPATH.
84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
85 231
86 # Name of the host. 232 # Name of the host.
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too. 234 # so uname gets run too.
89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
94 # Initializations. 240 # Initializations.
95 # 241 #
96 ac_default_prefix=/usr/local 242 ac_default_prefix=/usr/local
97 cross_compiling=no 243 cross_compiling=no
98 subdirs= 244 subdirs=
99 MFLAGS= MAKEFLAGS= 245 MFLAGS=
246 MAKEFLAGS=
100 SHELL=${CONFIG_SHELL-/bin/sh} 247 SHELL=${CONFIG_SHELL-/bin/sh}
101 248
102 # Maximum number of lines to put in a shell here document. 249 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and 250 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used. 251 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38} 252 : ${ac_max_here_lines=38}
106 253
254 # Identity of this package.
255 PACKAGE_NAME=
256 PACKAGE_TARNAME=
257 PACKAGE_VERSION=
258 PACKAGE_STRING=
259 PACKAGE_BUGREPORT=
260
107 ac_unique_file="winmain.c" 261 ac_unique_file="winmain.c"
262 # Factoring default headers for most tests.
263 ac_includes_default="\
264 #include <stdio.h>
265 #if HAVE_SYS_TYPES_H
266 # include <sys/types.h>
267 #endif
268 #if HAVE_SYS_STAT_H
269 # include <sys/stat.h>
270 #endif
271 #if STDC_HEADERS
272 # include <stdlib.h>
273 # include <stddef.h>
274 #else
275 # if HAVE_STDLIB_H
276 # include <stdlib.h>
277 # endif
278 #endif
279 #if HAVE_STRING_H
280 # if !STDC_HEADERS && HAVE_MEMORY_H
281 # include <memory.h>
282 # endif
283 # include <string.h>
284 #endif
285 #if HAVE_STRINGS_H
286 # include <strings.h>
287 #endif
288 #if HAVE_INTTYPES_H
289 # include <inttypes.h>
290 #else
291 # if HAVE_STDINT_H
292 # include <stdint.h>
293 # endif
294 #endif
295 #if HAVE_UNISTD_H
296 # include <unistd.h>
297 #endif"
298
108 299
109 # Initialize some variables set by options. 300 # Initialize some variables set by options.
110 ac_init_help= 301 ac_init_help=
111 ac_init_version=false 302 ac_init_version=false
112 # The variables have the same names as the options, with 303 # The variables have the same names as the options, with
142 includedir='${prefix}/include' 333 includedir='${prefix}/include'
143 oldincludedir='/usr/include' 334 oldincludedir='/usr/include'
144 infodir='${prefix}/info' 335 infodir='${prefix}/info'
145 mandir='${prefix}/man' 336 mandir='${prefix}/man'
146 337
147 # Identity of this package.
148 PACKAGE_NAME=
149 PACKAGE_TARNAME=
150 PACKAGE_VERSION=
151 PACKAGE_STRING=
152 PACKAGE_BUGREPORT=
153
154 ac_prev= 338 ac_prev=
155 for ac_option 339 for ac_option
156 do 340 do
157 # If the previous option needs an argument, assign it. 341 # If the previous option needs an argument, assign it.
158 if test -n "$ac_prev"; then 342 if test -n "$ac_prev"; then
281 -nfp | --nfp | --nf) 465 -nfp | --nfp | --nf)
282 # Obsolete; use --without-fp. 466 # Obsolete; use --without-fp.
283 with_fp=no ;; 467 with_fp=no ;;
284 468
285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
286 | --no-cr | --no-c) 470 | --no-cr | --no-c | -n)
287 no_create=yes ;; 471 no_create=yes ;;
288 472
289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
291 no_recursion=yes ;; 475 no_recursion=yes ;;
460 for ac_var in exec_prefix prefix 644 for ac_var in exec_prefix prefix
461 do 645 do
462 eval ac_val=$`echo $ac_var` 646 eval ac_val=$`echo $ac_var`
463 case $ac_val in 647 case $ac_val in
464 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
465 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
466 { (exit 1); exit 1; }; };; 650 { (exit 1); exit 1; }; };;
467 esac 651 esac
468 done 652 done
469 653
470 # Be sure to have absolute paths. 654 # Be sure to have absolute paths.
472 localstatedir libdir includedir oldincludedir infodir mandir 656 localstatedir libdir includedir oldincludedir infodir mandir
473 do 657 do
474 eval ac_val=$`echo $ac_var` 658 eval ac_val=$`echo $ac_var`
475 case $ac_val in 659 case $ac_val in
476 [\\/$]* | ?:[\\/]* ) ;; 660 [\\/$]* | ?:[\\/]* ) ;;
477 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
478 { (exit 1); exit 1; }; };; 662 { (exit 1); exit 1; }; };;
479 esac 663 esac
480 done 664 done
481 665
482 # There might be people who depend on the old broken behavior: `$host' 666 # There might be people who depend on the old broken behavior: `$host'
483 # used to hold the argument of --host etc. 667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
484 build=$build_alias 669 build=$build_alias
485 host=$host_alias 670 host=$host_alias
486 target=$target_alias 671 target=$target_alias
487 672
488 # FIXME: should be removed in autoconf 3.0. 673 # FIXME: To remove some day.
489 if test "x$host_alias" != x; then 674 if test "x$host_alias" != x; then
490 if test "x$build_alias" = x; then 675 if test "x$build_alias" = x; then
491 cross_compiling=maybe 676 cross_compiling=maybe
492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
493 If a cross compiler is detected then cross compile mode will be used." >&2 678 If a cross compiler is detected then cross compile mode will be used." >&2
499 ac_tool_prefix= 684 ac_tool_prefix=
500 test -n "$host_alias" && ac_tool_prefix=$host_alias- 685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
501 686
502 test "$silent" = yes && exec 6>/dev/null 687 test "$silent" = yes && exec 6>/dev/null
503 688
689
504 # Find the source files, if location was not specified. 690 # Find the source files, if location was not specified.
505 if test -z "$srcdir"; then 691 if test -z "$srcdir"; then
506 ac_srcdir_defaulted=yes 692 ac_srcdir_defaulted=yes
507 # Try the directory containing this script, then its parent. 693 # Try the directory containing this script, then its parent.
508 ac_prog=$0 694 ac_confdir=`(dirname "$0") 2>/dev/null ||
509 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
510 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
700 echo X"$0" |
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
705 s/.*/./; q'`
511 srcdir=$ac_confdir 706 srcdir=$ac_confdir
512 if test ! -r $srcdir/$ac_unique_file; then 707 if test ! -r $srcdir/$ac_unique_file; then
513 srcdir=.. 708 srcdir=..
514 fi 709 fi
515 else 710 else
516 ac_srcdir_defaulted=no 711 ac_srcdir_defaulted=no
517 fi 712 fi
518 if test ! -r $srcdir/$ac_unique_file; then 713 if test ! -r $srcdir/$ac_unique_file; then
519 if test "$ac_srcdir_defaulted" = yes; then 714 if test "$ac_srcdir_defaulted" = yes; then
520 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
521 { (exit 1); exit 1; }; } 716 { (exit 1); exit 1; }; }
522 else 717 else
523 { echo "$as_me: error: cannot find sources in $srcdir" >&2 718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
524 { (exit 1); exit 1; }; } 719 { (exit 1); exit 1; }; }
525 fi 720 fi
526 fi 721 fi
527 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
528 ac_env_build_alias_set=${build_alias+set} 723 ac_env_build_alias_set=${build_alias+set}
562 # Report the --help message. 757 # Report the --help message.
563 # 758 #
564 if test "$ac_init_help" = "long"; then 759 if test "$ac_init_help" = "long"; then
565 # Omit some internal or obsolete options to make the list less imposing. 760 # Omit some internal or obsolete options to make the list less imposing.
566 # This message is too long to be a string in the A/UX 3.1 sh. 761 # This message is too long to be a string in the A/UX 3.1 sh.
567 cat <<EOF 762 cat <<_ACEOF
568 \`configure' configures this package to adapt to many kinds of systems. 763 \`configure' configures this package to adapt to many kinds of systems.
569 764
570 Usage: $0 [OPTION]... [VAR=VALUE]... 765 Usage: $0 [OPTION]... [VAR=VALUE]...
571 766
572 To assign environment variables (e.g., CC, CFLAGS...), specify them as 767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
583 --cache-file=FILE cache test results in FILE [disabled] 778 --cache-file=FILE cache test results in FILE [disabled]
584 -C, --config-cache alias for \`--cache-file=config.cache' 779 -C, --config-cache alias for \`--cache-file=config.cache'
585 -n, --no-create do not create output files 780 -n, --no-create do not create output files
586 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
587 782
588 EOF 783 _ACEOF
589 784
590 cat <<EOF 785 cat <<_ACEOF
591 Installation directories: 786 Installation directories:
592 --prefix=PREFIX install architecture-independent files in PREFIX 787 --prefix=PREFIX install architecture-independent files in PREFIX
593 [$ac_default_prefix] 788 [$ac_default_prefix]
594 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
595 [PREFIX] 790 [PREFIX]
612 --libdir=DIR object code libraries [EPREFIX/lib] 807 --libdir=DIR object code libraries [EPREFIX/lib]
613 --includedir=DIR C header files [PREFIX/include] 808 --includedir=DIR C header files [PREFIX/include]
614 --oldincludedir=DIR C header files for non-gcc [/usr/include] 809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
615 --infodir=DIR info documentation [PREFIX/info] 810 --infodir=DIR info documentation [PREFIX/info]
616 --mandir=DIR man documentation [PREFIX/man] 811 --mandir=DIR man documentation [PREFIX/man]
617 EOF 812 _ACEOF
618 813
619 cat <<\EOF 814 cat <<\_ACEOF
620 EOF 815 _ACEOF
621 fi 816 fi
622 817
623 if test -n "$ac_init_help"; then 818 if test -n "$ac_init_help"; then
624 819
625 cat <<\EOF 820 cat <<\_ACEOF
626 821
627 Optional Features: 822 Optional Features:
628 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 823 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
629 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 824 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
630 --disable-glibtest Do not try to compile and run a test GLIB program 825 --disable-glibtest Do not try to compile and run a test GLIB program
651 CPP C preprocessor 846 CPP C preprocessor
652 847
653 Use these variables to override the choices made by `configure' or to help 848 Use these variables to override the choices made by `configure' or to help
654 it to find libraries and programs with nonstandard names/locations. 849 it to find libraries and programs with nonstandard names/locations.
655 850
656 EOF 851 _ACEOF
657 fi 852 fi
658 853
659 if test "$ac_init_help" = "recursive"; then 854 if test "$ac_init_help" = "recursive"; then
660 # If there are subdirs, report their specific --help. 855 # If there are subdirs, report their specific --help.
661 ac_popdir=`pwd` 856 ac_popdir=`pwd`
662 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 857 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
663 cd $ac_subdir 858 test -d $ac_dir || continue
664 # A "../" for each directory in /$ac_subdir. 859 ac_builddir=.
665 ac_dots=`echo $ac_subdir | 860
666 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 861 if test "$ac_dir" != .; then
667 862 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
668 case $srcdir in 863 # A "../" for each directory in $ac_dir_suffix.
669 .) # No --srcdir option. We are building in place. 864 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
670 ac_sub_srcdir=$srcdir ;; 865 else
671 [\\/]* | ?:[\\/]* ) # Absolute path. 866 ac_dir_suffix= ac_top_builddir=
672 ac_sub_srcdir=$srcdir/$ac_subdir ;; 867 fi
673 *) # Relative path. 868
674 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 869 case $srcdir in
675 esac 870 .) # No --srcdir option. We are building in place.
676 871 ac_srcdir=.
872 if test -z "$ac_top_builddir"; then
873 ac_top_srcdir=.
874 else
875 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
876 fi ;;
877 [\\/]* | ?:[\\/]* ) # Absolute path.
878 ac_srcdir=$srcdir$ac_dir_suffix;
879 ac_top_srcdir=$srcdir ;;
880 *) # Relative path.
881 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
882 ac_top_srcdir=$ac_top_builddir$srcdir ;;
883 esac
884 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
885 # absolute.
886 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
887 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
888 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
889 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
890
891 cd $ac_dir
677 # Check for guested configure; otherwise get Cygnus style configure. 892 # Check for guested configure; otherwise get Cygnus style configure.
678 if test -f $ac_sub_srcdir/configure.gnu; then 893 if test -f $ac_srcdir/configure.gnu; then
679 echo 894 echo
680 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 895 $SHELL $ac_srcdir/configure.gnu --help=recursive
681 elif test -f $ac_sub_srcdir/configure; then 896 elif test -f $ac_srcdir/configure; then
682 echo 897 echo
683 $SHELL $ac_sub_srcdir/configure --help=recursive 898 $SHELL $ac_srcdir/configure --help=recursive
684 elif test -f $ac_sub_srcdir/configure.ac || 899 elif test -f $ac_srcdir/configure.ac ||
685 test -f $ac_sub_srcdir/configure.in; then 900 test -f $ac_srcdir/configure.in; then
686 echo 901 echo
687 $ac_configure --help 902 $ac_configure --help
688 else 903 else
689 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 904 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
690 fi 905 fi
691 cd $ac_popdir 906 cd $ac_popdir
692 done 907 done
693 fi 908 fi
694 909
695 test -n "$ac_init_help" && exit 0 910 test -n "$ac_init_help" && exit 0
696 if $ac_init_version; then 911 if $ac_init_version; then
697 cat <<\EOF 912 cat <<\_ACEOF
698 913
699 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 914 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
700 Free Software Foundation, Inc. 915 Free Software Foundation, Inc.
701 This configure script is free software; the Free Software Foundation 916 This configure script is free software; the Free Software Foundation
702 gives unlimited permission to copy, distribute and modify it. 917 gives unlimited permission to copy, distribute and modify it.
703 EOF 918 _ACEOF
704 exit 0 919 exit 0
705 fi 920 fi
706 exec 5>config.log 921 exec 5>config.log
707 cat >&5 <<EOF 922 cat >&5 <<_ACEOF
708 This file contains any messages produced by compilers while 923 This file contains any messages produced by compilers while
709 running configure, to aid debugging if configure makes a mistake. 924 running configure, to aid debugging if configure makes a mistake.
710 925
711 It was created by $as_me, which was 926 It was created by $as_me, which was
712 generated by GNU Autoconf 2.52. Invocation command line was 927 generated by GNU Autoconf 2.53. Invocation command line was
713 928
714 $ $0 $@ 929 $ $0 $@
715 930
716 EOF 931 _ACEOF
717 { 932 {
718 cat <<_ASUNAME 933 cat <<_ASUNAME
719 ## ---------- ## 934 ## --------- ##
720 ## Platform. ## 935 ## Platform. ##
721 ## ---------- ## 936 ## --------- ##
722 937
723 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
724 uname -m = `(uname -m) 2>/dev/null || echo unknown` 939 uname -m = `(uname -m) 2>/dev/null || echo unknown`
725 uname -r = `(uname -r) 2>/dev/null || echo unknown` 940 uname -r = `(uname -r) 2>/dev/null || echo unknown`
726 uname -s = `(uname -s) 2>/dev/null || echo unknown` 941 uname -s = `(uname -s) 2>/dev/null || echo unknown`
735 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 950 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
736 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 951 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
737 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 952 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
738 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 953 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
739 954
740 PATH = $PATH
741
742 _ASUNAME 955 _ASUNAME
956
957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
958 for as_dir in $PATH
959 do
960 IFS=$as_save_IFS
961 test -z "$as_dir" && as_dir=.
962 echo "PATH: $as_dir"
963 done
964
743 } >&5 965 } >&5
744 966
745 cat >&5 <<EOF 967 cat >&5 <<_ACEOF
746 ## ------------ ## 968
747 ## Core tests. ## 969
748 ## ------------ ## 970 ## ----------- ##
749 971 ## Core tests. ##
750 EOF 972 ## ----------- ##
973
974 _ACEOF
975
751 976
752 # Keep a trace of the command line. 977 # Keep a trace of the command line.
753 # Strip out --no-create and --no-recursion so they do not pile up. 978 # Strip out --no-create and --no-recursion so they do not pile up.
754 # Also quote any args containing shell meta-characters. 979 # Also quote any args containing shell meta-characters.
755 ac_configure_args= 980 ac_configure_args=
756 ac_sep= 981 ac_sep=
757 for ac_arg 982 for ac_arg
758 do 983 do
759 case $ac_arg in 984 case $ac_arg in
760 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 985 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
761 | --no-cr | --no-c) ;; 986 | --no-cr | --no-c | -n ) continue ;;
762 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
763 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
989 continue ;;
764 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 990 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
765 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 991 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
766 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 992 esac
767 ac_sep=" " ;; 993 case " $ac_configure_args " in
768 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
769 ac_sep=" " ;; 995 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
996 ac_sep=" " ;;
770 esac 997 esac
771 # Get rid of the leading space. 998 # Get rid of the leading space.
772 done 999 done
773 1000
774 # When interrupted or exit'd, cleanup temporary files, and complete 1001 # When interrupted or exit'd, cleanup temporary files, and complete
775 # config.log. We remove comments because anyway the quotes in there 1002 # config.log. We remove comments because anyway the quotes in there
776 # would cause problems or look ugly. 1003 # would cause problems or look ugly.
1004 # WARNING: Be sure not to use single quotes in there, as some shells,
1005 # such as our DU 5.0 friend, will then `close' the trap.
777 trap 'exit_status=$? 1006 trap 'exit_status=$?
778 # Save into config.log some information that might help in debugging. 1007 # Save into config.log some information that might help in debugging.
779 echo >&5 1008 {
780 echo "## ----------------- ##" >&5 1009 echo
781 echo "## Cache variables. ##" >&5 1010 cat <<\_ASBOX
782 echo "## ----------------- ##" >&5 1011 ## ---------------- ##
783 echo >&5 1012 ## Cache variables. ##
784 # The following way of writing the cache mishandles newlines in values, 1013 ## ---------------- ##
1014 _ASBOX
1015 echo
1016 # The following way of writing the cache mishandles newlines in values,
785 { 1017 {
786 (set) 2>&1 | 1018 (set) 2>&1 |
787 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1019 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
788 *ac_space=\ *) 1020 *ac_space=\ *)
789 sed -n \ 1021 sed -n \
793 *) 1025 *)
794 sed -n \ 1026 sed -n \
795 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1027 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
796 ;; 1028 ;;
797 esac; 1029 esac;
798 } >&5 1030 }
799 sed "/^$/d" confdefs.h >conftest.log 1031 echo
800 if test -s conftest.log; then 1032 if test -s confdefs.h; then
801 echo >&5 1033 cat <<\_ASBOX
802 echo "## ------------ ##" >&5 1034 ## ----------- ##
803 echo "## confdefs.h. ##" >&5 1035 ## confdefs.h. ##
804 echo "## ------------ ##" >&5 1036 ## ----------- ##
805 echo >&5 1037 _ASBOX
806 cat conftest.log >&5 1038 echo
807 fi 1039 sed "/^$/d" confdefs.h
808 (echo; echo) >&5 1040 echo
809 test "$ac_signal" != 0 && 1041 fi
810 echo "$as_me: caught signal $ac_signal" >&5 1042 test "$ac_signal" != 0 &&
811 echo "$as_me: exit $exit_status" >&5 1043 echo "$as_me: caught signal $ac_signal"
812 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1044 echo "$as_me: exit $exit_status"
1045 } >&5
1046 rm -f core core.* *.core &&
1047 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
813 exit $exit_status 1048 exit $exit_status
814 ' 0 1049 ' 0
815 for ac_signal in 1 2 13 15; do 1050 for ac_signal in 1 2 13 15; do
816 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1051 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
817 done 1052 done
819 1054
820 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1055 # confdefs.h avoids OS command line length limits that DEFS can exceed.
821 rm -rf conftest* confdefs.h 1056 rm -rf conftest* confdefs.h
822 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1057 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
823 echo >confdefs.h 1058 echo >confdefs.h
1059
1060 # Predefined preprocessor variables.
1061
1062 cat >>confdefs.h <<_ACEOF
1063 #define PACKAGE_NAME "$PACKAGE_NAME"
1064 _ACEOF
1065
1066
1067 cat >>confdefs.h <<_ACEOF
1068 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1069 _ACEOF
1070
1071
1072 cat >>confdefs.h <<_ACEOF
1073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1074 _ACEOF
1075
1076
1077 cat >>confdefs.h <<_ACEOF
1078 #define PACKAGE_STRING "$PACKAGE_STRING"
1079 _ACEOF
1080
1081
1082 cat >>confdefs.h <<_ACEOF
1083 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1084 _ACEOF
1085
824 1086
825 # Let the site file select an alternate cache file if it wants to. 1087 # Let the site file select an alternate cache file if it wants to.
826 # Prefer explicitly selected file to automatically selected ones. 1088 # Prefer explicitly selected file to automatically selected ones.
827 if test -z "$CONFIG_SITE"; then 1089 if test -z "$CONFIG_SITE"; then
828 if test "x$prefix" != xNONE; then 1090 if test "x$prefix" != xNONE; then
831 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1093 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
832 fi 1094 fi
833 fi 1095 fi
834 for ac_site_file in $CONFIG_SITE; do 1096 for ac_site_file in $CONFIG_SITE; do
835 if test -r "$ac_site_file"; then 1097 if test -r "$ac_site_file"; then
836 { echo "$as_me:836: loading site script $ac_site_file" >&5 1098 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
837 echo "$as_me: loading site script $ac_site_file" >&6;} 1099 echo "$as_me: loading site script $ac_site_file" >&6;}
838 cat "$ac_site_file" >&5 1100 sed 's/^/| /' "$ac_site_file" >&5
839 . "$ac_site_file" 1101 . "$ac_site_file"
840 fi 1102 fi
841 done 1103 done
842 1104
843 if test -r "$cache_file"; then 1105 if test -r "$cache_file"; then
844 # Some versions of bash will fail to source /dev/null (special 1106 # Some versions of bash will fail to source /dev/null (special
845 # files actually), so we avoid doing that. 1107 # files actually), so we avoid doing that.
846 if test -f "$cache_file"; then 1108 if test -f "$cache_file"; then
847 { echo "$as_me:847: loading cache $cache_file" >&5 1109 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
848 echo "$as_me: loading cache $cache_file" >&6;} 1110 echo "$as_me: loading cache $cache_file" >&6;}
849 case $cache_file in 1111 case $cache_file in
850 [\\/]* | ?:[\\/]* ) . $cache_file;; 1112 [\\/]* | ?:[\\/]* ) . $cache_file;;
851 *) . ./$cache_file;; 1113 *) . ./$cache_file;;
852 esac 1114 esac
853 fi 1115 fi
854 else 1116 else
855 { echo "$as_me:855: creating cache $cache_file" >&5 1117 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
856 echo "$as_me: creating cache $cache_file" >&6;} 1118 echo "$as_me: creating cache $cache_file" >&6;}
857 >$cache_file 1119 >$cache_file
858 fi 1120 fi
859 1121
860 # Check that the precious variables saved in the cache have kept the same 1122 # Check that the precious variables saved in the cache have kept the same
866 eval ac_new_set=\$ac_env_${ac_var}_set 1128 eval ac_new_set=\$ac_env_${ac_var}_set
867 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1129 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
868 eval ac_new_val="\$ac_env_${ac_var}_value" 1130 eval ac_new_val="\$ac_env_${ac_var}_value"
869 case $ac_old_set,$ac_new_set in 1131 case $ac_old_set,$ac_new_set in
870 set,) 1132 set,)
871 { echo "$as_me:871: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1133 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
872 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1134 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
873 ac_cache_corrupted=: ;; 1135 ac_cache_corrupted=: ;;
874 ,set) 1136 ,set)
875 { echo "$as_me:875: error: \`$ac_var' was not set in the previous run" >&5 1137 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
876 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1138 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
877 ac_cache_corrupted=: ;; 1139 ac_cache_corrupted=: ;;
878 ,);; 1140 ,);;
879 *) 1141 *)
880 if test "x$ac_old_val" != "x$ac_new_val"; then 1142 if test "x$ac_old_val" != "x$ac_new_val"; then
881 { echo "$as_me:881: error: \`$ac_var' has changed since the previous run:" >&5 1143 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
882 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1144 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
883 { echo "$as_me:883: former value: $ac_old_val" >&5 1145 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
884 echo "$as_me: former value: $ac_old_val" >&2;} 1146 echo "$as_me: former value: $ac_old_val" >&2;}
885 { echo "$as_me:885: current value: $ac_new_val" >&5 1147 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
886 echo "$as_me: current value: $ac_new_val" >&2;} 1148 echo "$as_me: current value: $ac_new_val" >&2;}
887 ac_cache_corrupted=: 1149 ac_cache_corrupted=:
888 fi;; 1150 fi;;
889 esac 1151 esac
890 # Pass precious variables to config.status. It doesn't matter if 1152 # Pass precious variables to config.status.
891 # we pass some twice (in addition to the command line arguments).
892 if test "$ac_new_set" = set; then 1153 if test "$ac_new_set" = set; then
893 case $ac_new_val in 1154 case $ac_new_val in
894 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1155 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
895 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 1156 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
896 ac_configure_args="$ac_configure_args '$ac_arg'" 1157 *) ac_arg=$ac_var=$ac_new_val ;;
897 ;; 1158 esac
898 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 1159 case " $ac_configure_args " in
899 ;; 1160 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1161 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
900 esac 1162 esac
901 fi 1163 fi
902 done 1164 done
903 if $ac_cache_corrupted; then 1165 if $ac_cache_corrupted; then
904 { echo "$as_me:904: error: changes in the environment can compromise the build" >&5 1166 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
905 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1167 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
906 { { echo "$as_me:906: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1168 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
907 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1169 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
908 { (exit 1); exit 1; }; } 1170 { (exit 1); exit 1; }; }
909 fi 1171 fi
910 1172
911 ac_ext=c 1173 ac_ext=c
912 ac_cpp='$CPP $CPPFLAGS' 1174 ac_cpp='$CPP $CPPFLAGS'
913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
915 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
916 1178
917 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1179
918 *c*,-n*) ECHO_N= ECHO_C=' 1180
919 ' ECHO_T=' ' ;; 1181
920 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1182
921 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1183
922 esac 1184
923 echo "#! $SHELL" >conftest.sh 1185
924 echo "exit 0" >>conftest.sh 1186
925 chmod +x conftest.sh 1187
926 if { (echo "$as_me:926: PATH=\".;.\"; conftest.sh") >&5 1188
927 (PATH=".;."; conftest.sh) 2>&5 1189
928 ac_status=$? 1190
929 echo "$as_me:929: \$? = $ac_status" >&5 1191
930 (exit $ac_status); }; then 1192
931 ac_path_separator=';' 1193
932 else 1194
933 ac_path_separator=:
934 fi
935 PATH_SEPARATOR="$ac_path_separator"
936 rm -f conftest.sh
937 1195
938 ac_config_headers="$ac_config_headers config.h" 1196 ac_config_headers="$ac_config_headers config.h"
1197
939 1198
940 DW_MAJOR_VERSION=0 1199 DW_MAJOR_VERSION=0
941 DW_MINOR_VERSION=5 1200 DW_MINOR_VERSION=5
942 DW_SUB_VERSION=0 1201 DW_SUB_VERSION=0
1202
1203
1204
1205
943 1206
944 INCLUDES="-I." 1207 INCLUDES="-I."
945 1208
946 ac_ext=c 1209 ac_ext=c
947 ac_cpp='$CPP $CPPFLAGS' 1210 ac_cpp='$CPP $CPPFLAGS'
949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
950 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
951 if test -n "$ac_tool_prefix"; then 1214 if test -n "$ac_tool_prefix"; then
952 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1215 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
953 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1216 set dummy ${ac_tool_prefix}gcc; ac_word=$2
954 echo "$as_me:954: checking for $ac_word" >&5 1217 echo "$as_me:$LINENO: checking for $ac_word" >&5
955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
956 if test "${ac_cv_prog_CC+set}" = set; then 1219 if test "${ac_cv_prog_CC+set}" = set; then
957 echo $ECHO_N "(cached) $ECHO_C" >&6 1220 echo $ECHO_N "(cached) $ECHO_C" >&6
958 else 1221 else
959 if test -n "$CC"; then 1222 if test -n "$CC"; then
960 ac_cv_prog_CC="$CC" # Let the user override the test. 1223 ac_cv_prog_CC="$CC" # Let the user override the test.
961 else 1224 else
962 ac_save_IFS=$IFS; IFS=$ac_path_separator 1225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
963 ac_dummy="$PATH" 1226 for as_dir in $PATH
964 for ac_dir in $ac_dummy; do 1227 do
965 IFS=$ac_save_IFS 1228 IFS=$as_save_IFS
966 test -z "$ac_dir" && ac_dir=. 1229 test -z "$as_dir" && as_dir=.
967 $as_executable_p "$ac_dir/$ac_word" || continue 1230 for ac_exec_ext in '' $ac_executable_extensions; do
968 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
969 echo "$as_me:969: found $ac_dir/$ac_word" >&5 1232 ac_cv_prog_CC="${ac_tool_prefix}gcc"
970 break 1233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1234 break 2
1235 fi
1236 done
971 done 1237 done
972 1238
973 fi 1239 fi
974 fi 1240 fi
975 CC=$ac_cv_prog_CC 1241 CC=$ac_cv_prog_CC
976 if test -n "$CC"; then 1242 if test -n "$CC"; then
977 echo "$as_me:977: result: $CC" >&5 1243 echo "$as_me:$LINENO: result: $CC" >&5
978 echo "${ECHO_T}$CC" >&6 1244 echo "${ECHO_T}$CC" >&6
979 else 1245 else
980 echo "$as_me:980: result: no" >&5 1246 echo "$as_me:$LINENO: result: no" >&5
981 echo "${ECHO_T}no" >&6 1247 echo "${ECHO_T}no" >&6
982 fi 1248 fi
983 1249
984 fi 1250 fi
985 if test -z "$ac_cv_prog_CC"; then 1251 if test -z "$ac_cv_prog_CC"; then
986 ac_ct_CC=$CC 1252 ac_ct_CC=$CC
987 # Extract the first word of "gcc", so it can be a program name with args. 1253 # Extract the first word of "gcc", so it can be a program name with args.
988 set dummy gcc; ac_word=$2 1254 set dummy gcc; ac_word=$2
989 echo "$as_me:989: checking for $ac_word" >&5 1255 echo "$as_me:$LINENO: checking for $ac_word" >&5
990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
991 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
992 echo $ECHO_N "(cached) $ECHO_C" >&6 1258 echo $ECHO_N "(cached) $ECHO_C" >&6
993 else 1259 else
994 if test -n "$ac_ct_CC"; then 1260 if test -n "$ac_ct_CC"; then
995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
996 else 1262 else
997 ac_save_IFS=$IFS; IFS=$ac_path_separator 1263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
998 ac_dummy="$PATH" 1264 for as_dir in $PATH
999 for ac_dir in $ac_dummy; do 1265 do
1000 IFS=$ac_save_IFS 1266 IFS=$as_save_IFS
1001 test -z "$ac_dir" && ac_dir=. 1267 test -z "$as_dir" && as_dir=.
1002 $as_executable_p "$ac_dir/$ac_word" || continue 1268 for ac_exec_ext in '' $ac_executable_extensions; do
1003 ac_cv_prog_ac_ct_CC="gcc" 1269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1004 echo "$as_me:1004: found $ac_dir/$ac_word" >&5 1270 ac_cv_prog_ac_ct_CC="gcc"
1005 break 1271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1272 break 2
1273 fi
1274 done
1006 done 1275 done
1007 1276
1008 fi 1277 fi
1009 fi 1278 fi
1010 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1011 if test -n "$ac_ct_CC"; then 1280 if test -n "$ac_ct_CC"; then
1012 echo "$as_me:1012: result: $ac_ct_CC" >&5 1281 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1013 echo "${ECHO_T}$ac_ct_CC" >&6 1282 echo "${ECHO_T}$ac_ct_CC" >&6
1014 else 1283 else
1015 echo "$as_me:1015: result: no" >&5 1284 echo "$as_me:$LINENO: result: no" >&5
1016 echo "${ECHO_T}no" >&6 1285 echo "${ECHO_T}no" >&6
1017 fi 1286 fi
1018 1287
1019 CC=$ac_ct_CC 1288 CC=$ac_ct_CC
1020 else 1289 else
1023 1292
1024 if test -z "$CC"; then 1293 if test -z "$CC"; then
1025 if test -n "$ac_tool_prefix"; then 1294 if test -n "$ac_tool_prefix"; then
1026 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1027 set dummy ${ac_tool_prefix}cc; ac_word=$2 1296 set dummy ${ac_tool_prefix}cc; ac_word=$2
1028 echo "$as_me:1028: checking for $ac_word" >&5 1297 echo "$as_me:$LINENO: checking for $ac_word" >&5
1029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1030 if test "${ac_cv_prog_CC+set}" = set; then 1299 if test "${ac_cv_prog_CC+set}" = set; then
1031 echo $ECHO_N "(cached) $ECHO_C" >&6 1300 echo $ECHO_N "(cached) $ECHO_C" >&6
1032 else 1301 else
1033 if test -n "$CC"; then 1302 if test -n "$CC"; then
1034 ac_cv_prog_CC="$CC" # Let the user override the test. 1303 ac_cv_prog_CC="$CC" # Let the user override the test.
1035 else 1304 else
1036 ac_save_IFS=$IFS; IFS=$ac_path_separator 1305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1037 ac_dummy="$PATH" 1306 for as_dir in $PATH
1038 for ac_dir in $ac_dummy; do 1307 do
1039 IFS=$ac_save_IFS 1308 IFS=$as_save_IFS
1040 test -z "$ac_dir" && ac_dir=. 1309 test -z "$as_dir" && as_dir=.
1041 $as_executable_p "$ac_dir/$ac_word" || continue 1310 for ac_exec_ext in '' $ac_executable_extensions; do
1042 ac_cv_prog_CC="${ac_tool_prefix}cc" 1311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1043 echo "$as_me:1043: found $ac_dir/$ac_word" >&5 1312 ac_cv_prog_CC="${ac_tool_prefix}cc"
1044 break 1313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1314 break 2
1315 fi
1316 done
1045 done 1317 done
1046 1318
1047 fi 1319 fi
1048 fi 1320 fi
1049 CC=$ac_cv_prog_CC 1321 CC=$ac_cv_prog_CC
1050 if test -n "$CC"; then 1322 if test -n "$CC"; then
1051 echo "$as_me:1051: result: $CC" >&5 1323 echo "$as_me:$LINENO: result: $CC" >&5
1052 echo "${ECHO_T}$CC" >&6 1324 echo "${ECHO_T}$CC" >&6
1053 else 1325 else
1054 echo "$as_me:1054: result: no" >&5 1326 echo "$as_me:$LINENO: result: no" >&5
1055 echo "${ECHO_T}no" >&6 1327 echo "${ECHO_T}no" >&6
1056 fi 1328 fi
1057 1329
1058 fi 1330 fi
1059 if test -z "$ac_cv_prog_CC"; then 1331 if test -z "$ac_cv_prog_CC"; then
1060 ac_ct_CC=$CC 1332 ac_ct_CC=$CC
1061 # Extract the first word of "cc", so it can be a program name with args. 1333 # Extract the first word of "cc", so it can be a program name with args.
1062 set dummy cc; ac_word=$2 1334 set dummy cc; ac_word=$2
1063 echo "$as_me:1063: checking for $ac_word" >&5 1335 echo "$as_me:$LINENO: checking for $ac_word" >&5
1064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1066 echo $ECHO_N "(cached) $ECHO_C" >&6 1338 echo $ECHO_N "(cached) $ECHO_C" >&6
1067 else 1339 else
1068 if test -n "$ac_ct_CC"; then 1340 if test -n "$ac_ct_CC"; then
1069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1341 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1070 else 1342 else
1071 ac_save_IFS=$IFS; IFS=$ac_path_separator 1343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1072 ac_dummy="$PATH" 1344 for as_dir in $PATH
1073 for ac_dir in $ac_dummy; do 1345 do
1074 IFS=$ac_save_IFS 1346 IFS=$as_save_IFS
1075 test -z "$ac_dir" && ac_dir=. 1347 test -z "$as_dir" && as_dir=.
1076 $as_executable_p "$ac_dir/$ac_word" || continue 1348 for ac_exec_ext in '' $ac_executable_extensions; do
1077 ac_cv_prog_ac_ct_CC="cc" 1349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1078 echo "$as_me:1078: found $ac_dir/$ac_word" >&5 1350 ac_cv_prog_ac_ct_CC="cc"
1079 break 1351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1352 break 2
1353 fi
1354 done
1080 done 1355 done
1081 1356
1082 fi 1357 fi
1083 fi 1358 fi
1084 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1085 if test -n "$ac_ct_CC"; then 1360 if test -n "$ac_ct_CC"; then
1086 echo "$as_me:1086: result: $ac_ct_CC" >&5 1361 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1087 echo "${ECHO_T}$ac_ct_CC" >&6 1362 echo "${ECHO_T}$ac_ct_CC" >&6
1088 else 1363 else
1089 echo "$as_me:1089: result: no" >&5 1364 echo "$as_me:$LINENO: result: no" >&5
1090 echo "${ECHO_T}no" >&6 1365 echo "${ECHO_T}no" >&6
1091 fi 1366 fi
1092 1367
1093 CC=$ac_ct_CC 1368 CC=$ac_ct_CC
1094 else 1369 else
1097 1372
1098 fi 1373 fi
1099 if test -z "$CC"; then 1374 if test -z "$CC"; then
1100 # Extract the first word of "cc", so it can be a program name with args. 1375 # Extract the first word of "cc", so it can be a program name with args.
1101 set dummy cc; ac_word=$2 1376 set dummy cc; ac_word=$2
1102 echo "$as_me:1102: checking for $ac_word" >&5 1377 echo "$as_me:$LINENO: checking for $ac_word" >&5
1103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1104 if test "${ac_cv_prog_CC+set}" = set; then 1379 if test "${ac_cv_prog_CC+set}" = set; then
1105 echo $ECHO_N "(cached) $ECHO_C" >&6 1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1106 else 1381 else
1107 if test -n "$CC"; then 1382 if test -n "$CC"; then
1108 ac_cv_prog_CC="$CC" # Let the user override the test. 1383 ac_cv_prog_CC="$CC" # Let the user override the test.
1109 else 1384 else
1110 ac_prog_rejected=no 1385 ac_prog_rejected=no
1111 ac_save_IFS=$IFS; IFS=$ac_path_separator 1386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1112 ac_dummy="$PATH" 1387 for as_dir in $PATH
1113 for ac_dir in $ac_dummy; do 1388 do
1114 IFS=$ac_save_IFS 1389 IFS=$as_save_IFS
1115 test -z "$ac_dir" && ac_dir=. 1390 test -z "$as_dir" && as_dir=.
1116 $as_executable_p "$ac_dir/$ac_word" || continue 1391 for ac_exec_ext in '' $ac_executable_extensions; do
1117 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1118 ac_prog_rejected=yes 1393 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1119 continue 1394 ac_prog_rejected=yes
1120 fi 1395 continue
1121 ac_cv_prog_CC="cc" 1396 fi
1122 echo "$as_me:1122: found $ac_dir/$ac_word" >&5 1397 ac_cv_prog_CC="cc"
1123 break 1398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1399 break 2
1400 fi
1401 done
1124 done 1402 done
1125 1403
1126 if test $ac_prog_rejected = yes; then 1404 if test $ac_prog_rejected = yes; then
1127 # We found a bogon in the path, so make sure we never use it. 1405 # We found a bogon in the path, so make sure we never use it.
1128 set dummy $ac_cv_prog_CC 1406 set dummy $ac_cv_prog_CC
1130 if test $# != 0; then 1408 if test $# != 0; then
1131 # We chose a different compiler from the bogus one. 1409 # We chose a different compiler from the bogus one.
1132 # However, it has the same basename, so the bogon will be chosen 1410 # However, it has the same basename, so the bogon will be chosen
1133 # first if we set CC to just the basename; use the full file name. 1411 # first if we set CC to just the basename; use the full file name.
1134 shift 1412 shift
1135 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1413 set dummy "$as_dir/$ac_word" ${1+"$@"}
1136 shift 1414 shift
1137 ac_cv_prog_CC="$@" 1415 ac_cv_prog_CC="$@"
1138 fi 1416 fi
1139 fi 1417 fi
1140 fi 1418 fi
1141 fi 1419 fi
1142 CC=$ac_cv_prog_CC 1420 CC=$ac_cv_prog_CC
1143 if test -n "$CC"; then 1421 if test -n "$CC"; then
1144 echo "$as_me:1144: result: $CC" >&5 1422 echo "$as_me:$LINENO: result: $CC" >&5
1145 echo "${ECHO_T}$CC" >&6 1423 echo "${ECHO_T}$CC" >&6
1146 else 1424 else
1147 echo "$as_me:1147: result: no" >&5 1425 echo "$as_me:$LINENO: result: no" >&5
1148 echo "${ECHO_T}no" >&6 1426 echo "${ECHO_T}no" >&6
1149 fi 1427 fi
1150 1428
1151 fi 1429 fi
1152 if test -z "$CC"; then 1430 if test -z "$CC"; then
1153 if test -n "$ac_tool_prefix"; then 1431 if test -n "$ac_tool_prefix"; then
1154 for ac_prog in cl 1432 for ac_prog in cl
1155 do 1433 do
1156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1158 echo "$as_me:1158: checking for $ac_word" >&5 1436 echo "$as_me:$LINENO: checking for $ac_word" >&5
1159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1160 if test "${ac_cv_prog_CC+set}" = set; then 1438 if test "${ac_cv_prog_CC+set}" = set; then
1161 echo $ECHO_N "(cached) $ECHO_C" >&6 1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1162 else 1440 else
1163 if test -n "$CC"; then 1441 if test -n "$CC"; then
1164 ac_cv_prog_CC="$CC" # Let the user override the test. 1442 ac_cv_prog_CC="$CC" # Let the user override the test.
1165 else 1443 else
1166 ac_save_IFS=$IFS; IFS=$ac_path_separator 1444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1167 ac_dummy="$PATH" 1445 for as_dir in $PATH
1168 for ac_dir in $ac_dummy; do 1446 do
1169 IFS=$ac_save_IFS 1447 IFS=$as_save_IFS
1170 test -z "$ac_dir" && ac_dir=. 1448 test -z "$as_dir" && as_dir=.
1171 $as_executable_p "$ac_dir/$ac_word" || continue 1449 for ac_exec_ext in '' $ac_executable_extensions; do
1172 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1173 echo "$as_me:1173: found $ac_dir/$ac_word" >&5 1451 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1174 break 1452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1453 break 2
1454 fi
1455 done
1175 done 1456 done
1176 1457
1177 fi 1458 fi
1178 fi 1459 fi
1179 CC=$ac_cv_prog_CC 1460 CC=$ac_cv_prog_CC
1180 if test -n "$CC"; then 1461 if test -n "$CC"; then
1181 echo "$as_me:1181: result: $CC" >&5 1462 echo "$as_me:$LINENO: result: $CC" >&5
1182 echo "${ECHO_T}$CC" >&6 1463 echo "${ECHO_T}$CC" >&6
1183 else 1464 else
1184 echo "$as_me:1184: result: no" >&5 1465 echo "$as_me:$LINENO: result: no" >&5
1185 echo "${ECHO_T}no" >&6 1466 echo "${ECHO_T}no" >&6
1186 fi 1467 fi
1187 1468
1188 test -n "$CC" && break 1469 test -n "$CC" && break
1189 done 1470 done
1192 ac_ct_CC=$CC 1473 ac_ct_CC=$CC
1193 for ac_prog in cl 1474 for ac_prog in cl
1194 do 1475 do
1195 # Extract the first word of "$ac_prog", so it can be a program name with args. 1476 # Extract the first word of "$ac_prog", so it can be a program name with args.
1196 set dummy $ac_prog; ac_word=$2 1477 set dummy $ac_prog; ac_word=$2
1197 echo "$as_me:1197: checking for $ac_word" >&5 1478 echo "$as_me:$LINENO: checking for $ac_word" >&5
1198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1199 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1200 echo $ECHO_N "(cached) $ECHO_C" >&6 1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1201 else 1482 else
1202 if test -n "$ac_ct_CC"; then 1483 if test -n "$ac_ct_CC"; then
1203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1204 else 1485 else
1205 ac_save_IFS=$IFS; IFS=$ac_path_separator 1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1206 ac_dummy="$PATH" 1487 for as_dir in $PATH
1207 for ac_dir in $ac_dummy; do 1488 do
1208 IFS=$ac_save_IFS 1489 IFS=$as_save_IFS
1209 test -z "$ac_dir" && ac_dir=. 1490 test -z "$as_dir" && as_dir=.
1210 $as_executable_p "$ac_dir/$ac_word" || continue 1491 for ac_exec_ext in '' $ac_executable_extensions; do
1211 ac_cv_prog_ac_ct_CC="$ac_prog" 1492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1212 echo "$as_me:1212: found $ac_dir/$ac_word" >&5 1493 ac_cv_prog_ac_ct_CC="$ac_prog"
1213 break 1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 break 2
1496 fi
1497 done
1214 done 1498 done
1215 1499
1216 fi 1500 fi
1217 fi 1501 fi
1218 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1219 if test -n "$ac_ct_CC"; then 1503 if test -n "$ac_ct_CC"; then
1220 echo "$as_me:1220: result: $ac_ct_CC" >&5 1504 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1221 echo "${ECHO_T}$ac_ct_CC" >&6 1505 echo "${ECHO_T}$ac_ct_CC" >&6
1222 else 1506 else
1223 echo "$as_me:1223: result: no" >&5 1507 echo "$as_me:$LINENO: result: no" >&5
1224 echo "${ECHO_T}no" >&6 1508 echo "${ECHO_T}no" >&6
1225 fi 1509 fi
1226 1510
1227 test -n "$ac_ct_CC" && break 1511 test -n "$ac_ct_CC" && break
1228 done 1512 done
1230 CC=$ac_ct_CC 1514 CC=$ac_ct_CC
1231 fi 1515 fi
1232 1516
1233 fi 1517 fi
1234 1518
1235 test -z "$CC" && { { echo "$as_me:1235: error: no acceptable cc found in \$PATH" >&5 1519
1236 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1520 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1521 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1237 { (exit 1); exit 1; }; } 1522 { (exit 1); exit 1; }; }
1238 1523
1239 # Provide some information about the compiler. 1524 # Provide some information about the compiler.
1240 echo "$as_me:1240:" \ 1525 echo "$as_me:$LINENO:" \
1241 "checking for C compiler version" >&5 1526 "checking for C compiler version" >&5
1242 ac_compiler=`set X $ac_compile; echo $2` 1527 ac_compiler=`set X $ac_compile; echo $2`
1243 { (eval echo "$as_me:1243: \"$ac_compiler --version </dev/null >&5\"") >&5 1528 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1244 (eval $ac_compiler --version </dev/null >&5) 2>&5 1529 (eval $ac_compiler --version </dev/null >&5) 2>&5
1245 ac_status=$? 1530 ac_status=$?
1246 echo "$as_me:1246: \$? = $ac_status" >&5 1531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1247 (exit $ac_status); } 1532 (exit $ac_status); }
1248 { (eval echo "$as_me:1248: \"$ac_compiler -v </dev/null >&5\"") >&5 1533 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1249 (eval $ac_compiler -v </dev/null >&5) 2>&5 1534 (eval $ac_compiler -v </dev/null >&5) 2>&5
1250 ac_status=$? 1535 ac_status=$?
1251 echo "$as_me:1251: \$? = $ac_status" >&5 1536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1252 (exit $ac_status); } 1537 (exit $ac_status); }
1253 { (eval echo "$as_me:1253: \"$ac_compiler -V </dev/null >&5\"") >&5 1538 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1254 (eval $ac_compiler -V </dev/null >&5) 2>&5 1539 (eval $ac_compiler -V </dev/null >&5) 2>&5
1255 ac_status=$? 1540 ac_status=$?
1256 echo "$as_me:1256: \$? = $ac_status" >&5 1541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1257 (exit $ac_status); } 1542 (exit $ac_status); }
1258 1543
1259 cat >conftest.$ac_ext <<_ACEOF 1544 cat >conftest.$ac_ext <<_ACEOF
1260 #line 1260 "configure" 1545 #line $LINENO "configure"
1261 #include "confdefs.h" 1546 #include "confdefs.h"
1262 1547
1548 #ifdef F77_DUMMY_MAIN
1549 # ifdef __cplusplus
1550 extern "C"
1551 # endif
1552 int F77_DUMMY_MAIN() { return 1; }
1553 #endif
1263 int 1554 int
1264 main () 1555 main ()
1265 { 1556 {
1266 1557
1267 ; 1558 ;
1271 ac_clean_files_save=$ac_clean_files 1562 ac_clean_files_save=$ac_clean_files
1272 ac_clean_files="$ac_clean_files a.out a.exe" 1563 ac_clean_files="$ac_clean_files a.out a.exe"
1273 # Try to create an executable without -o first, disregard a.out. 1564 # Try to create an executable without -o first, disregard a.out.
1274 # It will help us diagnose broken compilers, and finding out an intuition 1565 # It will help us diagnose broken compilers, and finding out an intuition
1275 # of exeext. 1566 # of exeext.
1276 echo "$as_me:1276: checking for C compiler default output" >&5 1567 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1277 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1568 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1278 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1569 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1279 if { (eval echo "$as_me:1279: \"$ac_link_default\"") >&5 1570 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1280 (eval $ac_link_default) 2>&5 1571 (eval $ac_link_default) 2>&5
1281 ac_status=$? 1572 ac_status=$?
1282 echo "$as_me:1282: \$? = $ac_status" >&5 1573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1283 (exit $ac_status); }; then 1574 (exit $ac_status); }; then
1284 # Find the output, starting from the most likely. This scheme is 1575 # Find the output, starting from the most likely. This scheme is
1285 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1576 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1286 # resort. 1577 # resort.
1287 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1578
1579 # Be careful to initialize this variable, since it used to be cached.
1580 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1581 ac_cv_exeext=
1582 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1288 ls a.out conftest 2>/dev/null; 1583 ls a.out conftest 2>/dev/null;
1289 ls a.* conftest.* 2>/dev/null`; do 1584 ls a.* conftest.* 2>/dev/null`; do
1290 case $ac_file in 1585 case $ac_file in
1291 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1586 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1292 a.out ) # We found the default executable, but exeext='' is most 1587 a.out ) # We found the default executable, but exeext='' is most
1293 # certainly right. 1588 # certainly right.
1294 break;; 1589 break;;
1295 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1590 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1296 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1591 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1300 esac 1595 esac
1301 done 1596 done
1302 else 1597 else
1303 echo "$as_me: failed program was:" >&5 1598 echo "$as_me: failed program was:" >&5
1304 cat conftest.$ac_ext >&5 1599 cat conftest.$ac_ext >&5
1305 { { echo "$as_me:1305: error: C compiler cannot create executables" >&5 1600 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1306 echo "$as_me: error: C compiler cannot create executables" >&2;} 1601 echo "$as_me: error: C compiler cannot create executables" >&2;}
1307 { (exit 77); exit 77; }; } 1602 { (exit 77); exit 77; }; }
1308 fi 1603 fi
1309 1604
1310 ac_exeext=$ac_cv_exeext 1605 ac_exeext=$ac_cv_exeext
1311 echo "$as_me:1311: result: $ac_file" >&5 1606 echo "$as_me:$LINENO: result: $ac_file" >&5
1312 echo "${ECHO_T}$ac_file" >&6 1607 echo "${ECHO_T}$ac_file" >&6
1313 1608
1314 # Check the compiler produces executables we can run. If not, either 1609 # Check the compiler produces executables we can run. If not, either
1315 # the compiler is broken, or we cross compile. 1610 # the compiler is broken, or we cross compile.
1316 echo "$as_me:1316: checking whether the C compiler works" >&5 1611 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1317 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1612 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1318 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1613 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1319 # If not cross compiling, check that we can run a simple program. 1614 # If not cross compiling, check that we can run a simple program.
1320 if test "$cross_compiling" != yes; then 1615 if test "$cross_compiling" != yes; then
1321 if { ac_try='./$ac_file' 1616 if { ac_try='./$ac_file'
1322 { (eval echo "$as_me:1322: \"$ac_try\"") >&5 1617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1323 (eval $ac_try) 2>&5 1618 (eval $ac_try) 2>&5
1324 ac_status=$? 1619 ac_status=$?
1325 echo "$as_me:1325: \$? = $ac_status" >&5 1620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1326 (exit $ac_status); }; }; then 1621 (exit $ac_status); }; }; then
1327 cross_compiling=no 1622 cross_compiling=no
1328 else 1623 else
1329 if test "$cross_compiling" = maybe; then 1624 if test "$cross_compiling" = maybe; then
1330 cross_compiling=yes 1625 cross_compiling=yes
1331 else 1626 else
1332 { { echo "$as_me:1332: error: cannot run C compiled programs. 1627 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1333 If you meant to cross compile, use \`--host'." >&5 1628 If you meant to cross compile, use \`--host'." >&5
1334 echo "$as_me: error: cannot run C compiled programs. 1629 echo "$as_me: error: cannot run C compiled programs.
1335 If you meant to cross compile, use \`--host'." >&2;} 1630 If you meant to cross compile, use \`--host'." >&2;}
1336 { (exit 1); exit 1; }; } 1631 { (exit 1); exit 1; }; }
1337 fi 1632 fi
1338 fi 1633 fi
1339 fi 1634 fi
1340 echo "$as_me:1340: result: yes" >&5 1635 echo "$as_me:$LINENO: result: yes" >&5
1341 echo "${ECHO_T}yes" >&6 1636 echo "${ECHO_T}yes" >&6
1342 1637
1343 rm -f a.out a.exe conftest$ac_cv_exeext 1638 rm -f a.out a.exe conftest$ac_cv_exeext
1344 ac_clean_files=$ac_clean_files_save 1639 ac_clean_files=$ac_clean_files_save
1345 # Check the compiler produces executables we can run. If not, either 1640 # Check the compiler produces executables we can run. If not, either
1346 # the compiler is broken, or we cross compile. 1641 # the compiler is broken, or we cross compile.
1347 echo "$as_me:1347: checking whether we are cross compiling" >&5 1642 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1348 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1643 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1349 echo "$as_me:1349: result: $cross_compiling" >&5 1644 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1350 echo "${ECHO_T}$cross_compiling" >&6 1645 echo "${ECHO_T}$cross_compiling" >&6
1351 1646
1352 echo "$as_me:1352: checking for executable suffix" >&5 1647 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1353 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1648 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1354 if { (eval echo "$as_me:1354: \"$ac_link\"") >&5 1649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1355 (eval $ac_link) 2>&5 1650 (eval $ac_link) 2>&5
1356 ac_status=$? 1651 ac_status=$?
1357 echo "$as_me:1357: \$? = $ac_status" >&5 1652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1358 (exit $ac_status); }; then 1653 (exit $ac_status); }; then
1359 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1654 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1360 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1655 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1361 # work properly (i.e., refer to `conftest.exe'), while it won't with 1656 # work properly (i.e., refer to `conftest.exe'), while it won't with
1362 # `rm'. 1657 # `rm'.
1368 break;; 1663 break;;
1369 * ) break;; 1664 * ) break;;
1370 esac 1665 esac
1371 done 1666 done
1372 else 1667 else
1373 { { echo "$as_me:1373: error: cannot compute EXEEXT: cannot compile and link" >&5 1668 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1374 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1669 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1375 { (exit 1); exit 1; }; } 1670 { (exit 1); exit 1; }; }
1376 fi 1671 fi
1377 1672
1378 rm -f conftest$ac_cv_exeext 1673 rm -f conftest$ac_cv_exeext
1379 echo "$as_me:1379: result: $ac_cv_exeext" >&5 1674 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1380 echo "${ECHO_T}$ac_cv_exeext" >&6 1675 echo "${ECHO_T}$ac_cv_exeext" >&6
1381 1676
1382 rm -f conftest.$ac_ext 1677 rm -f conftest.$ac_ext
1383 EXEEXT=$ac_cv_exeext 1678 EXEEXT=$ac_cv_exeext
1384 ac_exeext=$EXEEXT 1679 ac_exeext=$EXEEXT
1385 echo "$as_me:1385: checking for object suffix" >&5 1680 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1386 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1681 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1387 if test "${ac_cv_objext+set}" = set; then 1682 if test "${ac_cv_objext+set}" = set; then
1388 echo $ECHO_N "(cached) $ECHO_C" >&6 1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 else 1684 else
1390 cat >conftest.$ac_ext <<_ACEOF 1685 cat >conftest.$ac_ext <<_ACEOF
1391 #line 1391 "configure" 1686 #line $LINENO "configure"
1392 #include "confdefs.h" 1687 #include "confdefs.h"
1393 1688
1689 #ifdef F77_DUMMY_MAIN
1690 # ifdef __cplusplus
1691 extern "C"
1692 # endif
1693 int F77_DUMMY_MAIN() { return 1; }
1694 #endif
1394 int 1695 int
1395 main () 1696 main ()
1396 { 1697 {
1397 1698
1398 ; 1699 ;
1399 return 0; 1700 return 0;
1400 } 1701 }
1401 _ACEOF 1702 _ACEOF
1402 rm -f conftest.o conftest.obj 1703 rm -f conftest.o conftest.obj
1403 if { (eval echo "$as_me:1403: \"$ac_compile\"") >&5 1704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1404 (eval $ac_compile) 2>&5 1705 (eval $ac_compile) 2>&5
1405 ac_status=$? 1706 ac_status=$?
1406 echo "$as_me:1406: \$? = $ac_status" >&5 1707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1407 (exit $ac_status); }; then 1708 (exit $ac_status); }; then
1408 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1709 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1409 case $ac_file in 1710 case $ac_file in
1410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1411 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1712 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1413 esac 1714 esac
1414 done 1715 done
1415 else 1716 else
1416 echo "$as_me: failed program was:" >&5 1717 echo "$as_me: failed program was:" >&5
1417 cat conftest.$ac_ext >&5 1718 cat conftest.$ac_ext >&5
1418 { { echo "$as_me:1418: error: cannot compute OBJEXT: cannot compile" >&5 1719 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1419 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1720 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1420 { (exit 1); exit 1; }; } 1721 { (exit 1); exit 1; }; }
1421 fi 1722 fi
1422 1723
1423 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1724 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1424 fi 1725 fi
1425 echo "$as_me:1425: result: $ac_cv_objext" >&5 1726 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1426 echo "${ECHO_T}$ac_cv_objext" >&6 1727 echo "${ECHO_T}$ac_cv_objext" >&6
1427 OBJEXT=$ac_cv_objext 1728 OBJEXT=$ac_cv_objext
1428 ac_objext=$OBJEXT 1729 ac_objext=$OBJEXT
1429 echo "$as_me:1429: checking whether we are using the GNU C compiler" >&5 1730 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1430 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1731 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1431 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1732 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6 1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 else 1734 else
1434 cat >conftest.$ac_ext <<_ACEOF 1735 cat >conftest.$ac_ext <<_ACEOF
1435 #line 1435 "configure" 1736 #line $LINENO "configure"
1436 #include "confdefs.h" 1737 #include "confdefs.h"
1437 1738
1739 #ifdef F77_DUMMY_MAIN
1740 # ifdef __cplusplus
1741 extern "C"
1742 # endif
1743 int F77_DUMMY_MAIN() { return 1; }
1744 #endif
1438 int 1745 int
1439 main () 1746 main ()
1440 { 1747 {
1441 #ifndef __GNUC__ 1748 #ifndef __GNUC__
1442 choke me 1749 choke me
1445 ; 1752 ;
1446 return 0; 1753 return 0;
1447 } 1754 }
1448 _ACEOF 1755 _ACEOF
1449 rm -f conftest.$ac_objext 1756 rm -f conftest.$ac_objext
1450 if { (eval echo "$as_me:1450: \"$ac_compile\"") >&5 1757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1451 (eval $ac_compile) 2>&5 1758 (eval $ac_compile) 2>&5
1452 ac_status=$? 1759 ac_status=$?
1453 echo "$as_me:1453: \$? = $ac_status" >&5 1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1454 (exit $ac_status); } && 1761 (exit $ac_status); } &&
1455 { ac_try='test -s conftest.$ac_objext' 1762 { ac_try='test -s conftest.$ac_objext'
1456 { (eval echo "$as_me:1456: \"$ac_try\"") >&5 1763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1457 (eval $ac_try) 2>&5 1764 (eval $ac_try) 2>&5
1458 ac_status=$? 1765 ac_status=$?
1459 echo "$as_me:1459: \$? = $ac_status" >&5 1766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1460 (exit $ac_status); }; }; then 1767 (exit $ac_status); }; }; then
1461 ac_compiler_gnu=yes 1768 ac_compiler_gnu=yes
1462 else 1769 else
1463 echo "$as_me: failed program was:" >&5 1770 echo "$as_me: failed program was:" >&5
1464 cat conftest.$ac_ext >&5 1771 cat conftest.$ac_ext >&5
1466 fi 1773 fi
1467 rm -f conftest.$ac_objext conftest.$ac_ext 1774 rm -f conftest.$ac_objext conftest.$ac_ext
1468 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1775 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1469 1776
1470 fi 1777 fi
1471 echo "$as_me:1471: result: $ac_cv_c_compiler_gnu" >&5 1778 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1472 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1779 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1473 GCC=`test $ac_compiler_gnu = yes && echo yes` 1780 GCC=`test $ac_compiler_gnu = yes && echo yes`
1474 ac_test_CFLAGS=${CFLAGS+set} 1781 ac_test_CFLAGS=${CFLAGS+set}
1475 ac_save_CFLAGS=$CFLAGS 1782 ac_save_CFLAGS=$CFLAGS
1476 CFLAGS="-g" 1783 CFLAGS="-g"
1477 echo "$as_me:1477: checking whether $CC accepts -g" >&5 1784 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1478 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1785 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1479 if test "${ac_cv_prog_cc_g+set}" = set; then 1786 if test "${ac_cv_prog_cc_g+set}" = set; then
1480 echo $ECHO_N "(cached) $ECHO_C" >&6 1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 else 1788 else
1482 cat >conftest.$ac_ext <<_ACEOF 1789 cat >conftest.$ac_ext <<_ACEOF
1483 #line 1483 "configure" 1790 #line $LINENO "configure"
1484 #include "confdefs.h" 1791 #include "confdefs.h"
1485 1792
1793 #ifdef F77_DUMMY_MAIN
1794 # ifdef __cplusplus
1795 extern "C"
1796 # endif
1797 int F77_DUMMY_MAIN() { return 1; }
1798 #endif
1486 int 1799 int
1487 main () 1800 main ()
1488 { 1801 {
1489 1802
1490 ; 1803 ;
1491 return 0; 1804 return 0;
1492 } 1805 }
1493 _ACEOF 1806 _ACEOF
1494 rm -f conftest.$ac_objext 1807 rm -f conftest.$ac_objext
1495 if { (eval echo "$as_me:1495: \"$ac_compile\"") >&5 1808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1496 (eval $ac_compile) 2>&5 1809 (eval $ac_compile) 2>&5
1497 ac_status=$? 1810 ac_status=$?
1498 echo "$as_me:1498: \$? = $ac_status" >&5 1811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1499 (exit $ac_status); } && 1812 (exit $ac_status); } &&
1500 { ac_try='test -s conftest.$ac_objext' 1813 { ac_try='test -s conftest.$ac_objext'
1501 { (eval echo "$as_me:1501: \"$ac_try\"") >&5 1814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1502 (eval $ac_try) 2>&5 1815 (eval $ac_try) 2>&5
1503 ac_status=$? 1816 ac_status=$?
1504 echo "$as_me:1504: \$? = $ac_status" >&5 1817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1505 (exit $ac_status); }; }; then 1818 (exit $ac_status); }; }; then
1506 ac_cv_prog_cc_g=yes 1819 ac_cv_prog_cc_g=yes
1507 else 1820 else
1508 echo "$as_me: failed program was:" >&5 1821 echo "$as_me: failed program was:" >&5
1509 cat conftest.$ac_ext >&5 1822 cat conftest.$ac_ext >&5
1510 ac_cv_prog_cc_g=no 1823 ac_cv_prog_cc_g=no
1511 fi 1824 fi
1512 rm -f conftest.$ac_objext conftest.$ac_ext 1825 rm -f conftest.$ac_objext conftest.$ac_ext
1513 fi 1826 fi
1514 echo "$as_me:1514: result: $ac_cv_prog_cc_g" >&5 1827 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1515 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1828 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1516 if test "$ac_test_CFLAGS" = set; then 1829 if test "$ac_test_CFLAGS" = set; then
1517 CFLAGS=$ac_save_CFLAGS 1830 CFLAGS=$ac_save_CFLAGS
1518 elif test $ac_cv_prog_cc_g = yes; then 1831 elif test $ac_cv_prog_cc_g = yes; then
1519 if test "$GCC" = yes; then 1832 if test "$GCC" = yes; then
1536 #ifndef __cplusplus 1849 #ifndef __cplusplus
1537 choke me 1850 choke me
1538 #endif 1851 #endif
1539 _ACEOF 1852 _ACEOF
1540 rm -f conftest.$ac_objext 1853 rm -f conftest.$ac_objext
1541 if { (eval echo "$as_me:1541: \"$ac_compile\"") >&5 1854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1542 (eval $ac_compile) 2>&5 1855 (eval $ac_compile) 2>&5
1543 ac_status=$? 1856 ac_status=$?
1544 echo "$as_me:1544: \$? = $ac_status" >&5 1857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1545 (exit $ac_status); } && 1858 (exit $ac_status); } &&
1546 { ac_try='test -s conftest.$ac_objext' 1859 { ac_try='test -s conftest.$ac_objext'
1547 { (eval echo "$as_me:1547: \"$ac_try\"") >&5 1860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1548 (eval $ac_try) 2>&5 1861 (eval $ac_try) 2>&5
1549 ac_status=$? 1862 ac_status=$?
1550 echo "$as_me:1550: \$? = $ac_status" >&5 1863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1551 (exit $ac_status); }; }; then 1864 (exit $ac_status); }; }; then
1552 for ac_declaration in \ 1865 for ac_declaration in \
1553 ''\ 1866 ''\
1554 '#include <stdlib.h>' \ 1867 '#include <stdlib.h>' \
1555 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1868 'extern "C" void std::exit (int) throw (); using std::exit;' \
1557 'extern "C" void exit (int) throw ();' \ 1870 'extern "C" void exit (int) throw ();' \
1558 'extern "C" void exit (int);' \ 1871 'extern "C" void exit (int);' \
1559 'void exit (int);' 1872 'void exit (int);'
1560 do 1873 do
1561 cat >conftest.$ac_ext <<_ACEOF 1874 cat >conftest.$ac_ext <<_ACEOF
1562 #line 1562 "configure" 1875 #line $LINENO "configure"
1563 #include "confdefs.h" 1876 #include "confdefs.h"
1564 #include <stdlib.h> 1877 #include <stdlib.h>
1565 $ac_declaration 1878 $ac_declaration
1879 #ifdef F77_DUMMY_MAIN
1880 # ifdef __cplusplus
1881 extern "C"
1882 # endif
1883 int F77_DUMMY_MAIN() { return 1; }
1884 #endif
1566 int 1885 int
1567 main () 1886 main ()
1568 { 1887 {
1569 exit (42); 1888 exit (42);
1570 ; 1889 ;
1571 return 0; 1890 return 0;
1572 } 1891 }
1573 _ACEOF 1892 _ACEOF
1574 rm -f conftest.$ac_objext 1893 rm -f conftest.$ac_objext
1575 if { (eval echo "$as_me:1575: \"$ac_compile\"") >&5 1894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1576 (eval $ac_compile) 2>&5 1895 (eval $ac_compile) 2>&5
1577 ac_status=$? 1896 ac_status=$?
1578 echo "$as_me:1578: \$? = $ac_status" >&5 1897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1579 (exit $ac_status); } && 1898 (exit $ac_status); } &&
1580 { ac_try='test -s conftest.$ac_objext' 1899 { ac_try='test -s conftest.$ac_objext'
1581 { (eval echo "$as_me:1581: \"$ac_try\"") >&5 1900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1582 (eval $ac_try) 2>&5 1901 (eval $ac_try) 2>&5
1583 ac_status=$? 1902 ac_status=$?
1584 echo "$as_me:1584: \$? = $ac_status" >&5 1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1585 (exit $ac_status); }; }; then 1904 (exit $ac_status); }; }; then
1586 : 1905 :
1587 else 1906 else
1588 echo "$as_me: failed program was:" >&5 1907 echo "$as_me: failed program was:" >&5
1589 cat conftest.$ac_ext >&5 1908 cat conftest.$ac_ext >&5
1590 continue 1909 continue
1591 fi 1910 fi
1592 rm -f conftest.$ac_objext conftest.$ac_ext 1911 rm -f conftest.$ac_objext conftest.$ac_ext
1593 cat >conftest.$ac_ext <<_ACEOF 1912 cat >conftest.$ac_ext <<_ACEOF
1594 #line 1594 "configure" 1913 #line $LINENO "configure"
1595 #include "confdefs.h" 1914 #include "confdefs.h"
1596 $ac_declaration 1915 $ac_declaration
1916 #ifdef F77_DUMMY_MAIN
1917 # ifdef __cplusplus
1918 extern "C"
1919 # endif
1920 int F77_DUMMY_MAIN() { return 1; }
1921 #endif
1597 int 1922 int
1598 main () 1923 main ()
1599 { 1924 {
1600 exit (42); 1925 exit (42);
1601 ; 1926 ;
1602 return 0; 1927 return 0;
1603 } 1928 }
1604 _ACEOF 1929 _ACEOF
1605 rm -f conftest.$ac_objext 1930 rm -f conftest.$ac_objext
1606 if { (eval echo "$as_me:1606: \"$ac_compile\"") >&5 1931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1607 (eval $ac_compile) 2>&5 1932 (eval $ac_compile) 2>&5
1608 ac_status=$? 1933 ac_status=$?
1609 echo "$as_me:1609: \$? = $ac_status" >&5 1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1610 (exit $ac_status); } && 1935 (exit $ac_status); } &&
1611 { ac_try='test -s conftest.$ac_objext' 1936 { ac_try='test -s conftest.$ac_objext'
1612 { (eval echo "$as_me:1612: \"$ac_try\"") >&5 1937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1613 (eval $ac_try) 2>&5 1938 (eval $ac_try) 2>&5
1614 ac_status=$? 1939 ac_status=$?
1615 echo "$as_me:1615: \$? = $ac_status" >&5 1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1616 (exit $ac_status); }; }; then 1941 (exit $ac_status); }; }; then
1617 break 1942 break
1618 else 1943 else
1619 echo "$as_me: failed program was:" >&5 1944 echo "$as_me: failed program was:" >&5
1620 cat conftest.$ac_ext >&5 1945 cat conftest.$ac_ext >&5
1637 ac_cpp='$CPP $CPPFLAGS' 1962 ac_cpp='$CPP $CPPFLAGS'
1638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1640 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1641 1966
1967
1642 # Extract the first word of "gmake", so it can be a program name with args. 1968 # Extract the first word of "gmake", so it can be a program name with args.
1643 set dummy gmake; ac_word=$2 1969 set dummy gmake; ac_word=$2
1644 echo "$as_me:1644: checking for $ac_word" >&5 1970 echo "$as_me:$LINENO: checking for $ac_word" >&5
1645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1646 if test "${ac_cv_prog_MAKE+set}" = set; then 1972 if test "${ac_cv_prog_MAKE+set}" = set; then
1647 echo $ECHO_N "(cached) $ECHO_C" >&6 1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 else 1974 else
1649 if test -n "$MAKE"; then 1975 if test -n "$MAKE"; then
1650 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. 1976 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
1651 else 1977 else
1652 ac_save_IFS=$IFS; IFS=$ac_path_separator 1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1653 ac_dummy="$PATH" 1979 for as_dir in $PATH
1654 for ac_dir in $ac_dummy; do 1980 do
1655 IFS=$ac_save_IFS 1981 IFS=$as_save_IFS
1656 test -z "$ac_dir" && ac_dir=. 1982 test -z "$as_dir" && as_dir=.
1657 $as_executable_p "$ac_dir/$ac_word" || continue 1983 for ac_exec_ext in '' $ac_executable_extensions; do
1658 ac_cv_prog_MAKE="gmake" 1984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1659 echo "$as_me:1659: found $ac_dir/$ac_word" >&5 1985 ac_cv_prog_MAKE="gmake"
1660 break 1986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 break 2
1988 fi
1989 done
1661 done 1990 done
1662 1991
1663 fi 1992 fi
1664 fi 1993 fi
1665 MAKE=$ac_cv_prog_MAKE 1994 MAKE=$ac_cv_prog_MAKE
1666 if test -n "$MAKE"; then 1995 if test -n "$MAKE"; then
1667 echo "$as_me:1667: result: $MAKE" >&5 1996 echo "$as_me:$LINENO: result: $MAKE" >&5
1668 echo "${ECHO_T}$MAKE" >&6 1997 echo "${ECHO_T}$MAKE" >&6
1669 else 1998 else
1670 echo "$as_me:1670: result: no" >&5 1999 echo "$as_me:$LINENO: result: no" >&5
1671 echo "${ECHO_T}no" >&6 2000 echo "${ECHO_T}no" >&6
1672 fi 2001 fi
1673 2002
1674 if test x"$MAKE" = x; then 2003 if test x"$MAKE" = x; then
1675 # Extract the first word of "make", so it can be a program name with args. 2004 # Extract the first word of "make", so it can be a program name with args.
1676 set dummy make; ac_word=$2 2005 set dummy make; ac_word=$2
1677 echo "$as_me:1677: checking for $ac_word" >&5 2006 echo "$as_me:$LINENO: checking for $ac_word" >&5
1678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1679 if test "${ac_cv_prog_MAKE+set}" = set; then 2008 if test "${ac_cv_prog_MAKE+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6 2009 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 else 2010 else
1682 if test -n "$MAKE"; then 2011 if test -n "$MAKE"; then
1683 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. 2012 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
1684 else 2013 else
1685 ac_save_IFS=$IFS; IFS=$ac_path_separator 2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1686 ac_dummy="$PATH" 2015 for as_dir in $PATH
1687 for ac_dir in $ac_dummy; do 2016 do
1688 IFS=$ac_save_IFS 2017 IFS=$as_save_IFS
1689 test -z "$ac_dir" && ac_dir=. 2018 test -z "$as_dir" && as_dir=.
1690 $as_executable_p "$ac_dir/$ac_word" || continue 2019 for ac_exec_ext in '' $ac_executable_extensions; do
1691 ac_cv_prog_MAKE="make" 2020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692 echo "$as_me:1692: found $ac_dir/$ac_word" >&5 2021 ac_cv_prog_MAKE="make"
1693 break 2022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023 break 2
2024 fi
2025 done
1694 done 2026 done
1695 2027
1696 fi 2028 fi
1697 fi 2029 fi
1698 MAKE=$ac_cv_prog_MAKE 2030 MAKE=$ac_cv_prog_MAKE
1699 if test -n "$MAKE"; then 2031 if test -n "$MAKE"; then
1700 echo "$as_me:1700: result: $MAKE" >&5 2032 echo "$as_me:$LINENO: result: $MAKE" >&5
1701 echo "${ECHO_T}$MAKE" >&6 2033 echo "${ECHO_T}$MAKE" >&6
1702 else 2034 else
1703 echo "$as_me:1703: result: no" >&5 2035 echo "$as_me:$LINENO: result: no" >&5
1704 echo "${ECHO_T}no" >&6 2036 echo "${ECHO_T}no" >&6
1705 fi 2037 fi
1706 2038
1707 fi 2039 fi
1708 2040
1721 ac_install_sh="$ac_aux_dir/shtool install -c" 2053 ac_install_sh="$ac_aux_dir/shtool install -c"
1722 break 2054 break
1723 fi 2055 fi
1724 done 2056 done
1725 if test -z "$ac_aux_dir"; then 2057 if test -z "$ac_aux_dir"; then
1726 { { echo "$as_me:1726: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2058 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1727 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2059 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1728 { (exit 1); exit 1; }; } 2060 { (exit 1); exit 1; }; }
1729 fi 2061 fi
1730 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2062 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1731 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2063 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1741 # AmigaOS /C/install, which installs bootblocks on floppy discs 2073 # AmigaOS /C/install, which installs bootblocks on floppy discs
1742 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2074 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1743 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2075 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1744 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2076 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1745 # ./install, which can be erroneously created by make from ./install.sh. 2077 # ./install, which can be erroneously created by make from ./install.sh.
1746 echo "$as_me:1746: checking for a BSD compatible install" >&5 2078 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1747 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2079 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1748 if test -z "$INSTALL"; then 2080 if test -z "$INSTALL"; then
1749 if test "${ac_cv_path_install+set}" = set; then 2081 if test "${ac_cv_path_install+set}" = set; then
1750 echo $ECHO_N "(cached) $ECHO_C" >&6 2082 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 else 2083 else
1752 ac_save_IFS=$IFS; IFS=$ac_path_separator 2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1753 for ac_dir in $PATH; do 2085 for as_dir in $PATH
1754 IFS=$ac_save_IFS 2086 do
1755 # Account for people who put trailing slashes in PATH elements. 2087 IFS=$as_save_IFS
1756 case $ac_dir/ in 2088 test -z "$as_dir" && as_dir=.
1757 / | ./ | .// | /cC/* \ 2089 # Account for people who put trailing slashes in PATH elements.
1758 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 2090 case $as_dir/ in
1759 | /usr/ucb/* ) ;; 2091 ./ | .// | /cC/* | \
1760 *) 2092 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1761 # OSF1 and SCO ODT 3.0 have their own names for install. 2093 /usr/ucb/* ) ;;
1762 # Don't use installbsd from OSF since it installs stuff as root 2094 *)
1763 # by default. 2095 # OSF1 and SCO ODT 3.0 have their own names for install.
1764 for ac_prog in ginstall scoinst install; do 2096 # Don't use installbsd from OSF since it installs stuff as root
1765 if $as_executable_p "$ac_dir/$ac_prog"; then 2097 # by default.
1766 if test $ac_prog = install && 2098 for ac_prog in ginstall scoinst install; do
1767 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2099 for ac_exec_ext in '' $ac_executable_extensions; do
1768 # AIX install. It has an incompatible calling convention. 2100 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1769 : 2101 if test $ac_prog = install &&
1770 elif test $ac_prog = install && 2102 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1771 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2103 # AIX install. It has an incompatible calling convention.
1772 # program-specific install script used by HP pwplus--don't use. 2104 :
1773 : 2105 elif test $ac_prog = install &&
1774 else 2106 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1775 ac_cv_path_install="$ac_dir/$ac_prog -c" 2107 # program-specific install script used by HP pwplus--don't use.
1776 break 2 2108 :
1777 fi 2109 else
1778 fi 2110 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2111 break 3
2112 fi
2113 fi
1779 done 2114 done
1780 ;; 2115 done
1781 esac 2116 ;;
1782 done 2117 esac
2118 done
2119
1783 2120
1784 fi 2121 fi
1785 if test "${ac_cv_path_install+set}" = set; then 2122 if test "${ac_cv_path_install+set}" = set; then
1786 INSTALL=$ac_cv_path_install 2123 INSTALL=$ac_cv_path_install
1787 else 2124 else
1790 # break other packages using the cache if that directory is 2127 # break other packages using the cache if that directory is
1791 # removed, or if the path is relative. 2128 # removed, or if the path is relative.
1792 INSTALL=$ac_install_sh 2129 INSTALL=$ac_install_sh
1793 fi 2130 fi
1794 fi 2131 fi
1795 echo "$as_me:1795: result: $INSTALL" >&5 2132 echo "$as_me:$LINENO: result: $INSTALL" >&5
1796 echo "${ECHO_T}$INSTALL" >&6 2133 echo "${ECHO_T}$INSTALL" >&6
1797 2134
1798 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2135 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1799 # It thinks the first close brace ends the variable substitution. 2136 # It thinks the first close brace ends the variable substitution.
1800 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2137 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1801 2138
1802 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2139 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1803 2140
1804 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2141 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2142
2143
2144
2145
1805 2146
1806 ac_ext=c 2147 ac_ext=c
1807 ac_cpp='$CPP $CPPFLAGS' 2148 ac_cpp='$CPP $CPPFLAGS'
1808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1810 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1811 echo "$as_me:1811: checking how to run the C preprocessor" >&5 2152 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1812 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2153 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1813 # On Suns, sometimes $CPP names a directory. 2154 # On Suns, sometimes $CPP names a directory.
1814 if test -n "$CPP" && test -d "$CPP"; then 2155 if test -n "$CPP" && test -d "$CPP"; then
1815 CPP= 2156 CPP=
1816 fi 2157 fi
1827 # Use a header file that comes with gcc, so configuring glibc 2168 # Use a header file that comes with gcc, so configuring glibc
1828 # with a fresh cross-compiler works. 2169 # with a fresh cross-compiler works.
1829 # On the NeXT, cc -E runs the code through the compiler's parser, 2170 # On the NeXT, cc -E runs the code through the compiler's parser,
1830 # not just through cpp. "Syntax error" is here to catch this case. 2171 # not just through cpp. "Syntax error" is here to catch this case.
1831 cat >conftest.$ac_ext <<_ACEOF 2172 cat >conftest.$ac_ext <<_ACEOF
1832 #line 1832 "configure" 2173 #line $LINENO "configure"
1833 #include "confdefs.h" 2174 #include "confdefs.h"
1834 #include <assert.h> 2175 #include <assert.h>
1835 Syntax error 2176 Syntax error
1836 _ACEOF 2177 _ACEOF
1837 if { (eval echo "$as_me:1837: \"$ac_cpp conftest.$ac_ext\"") >&5 2178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1839 ac_status=$? 2180 ac_status=$?
1840 egrep -v '^ *\+' conftest.er1 >conftest.err 2181 egrep -v '^ *\+' conftest.er1 >conftest.err
1841 rm -f conftest.er1 2182 rm -f conftest.er1
1842 cat conftest.err >&5 2183 cat conftest.err >&5
1843 echo "$as_me:1843: \$? = $ac_status" >&5 2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 (exit $ac_status); } >/dev/null; then 2185 (exit $ac_status); } >/dev/null; then
1845 if test -s conftest.err; then 2186 if test -s conftest.err; then
1846 ac_cpp_err=$ac_c_preproc_warn_flag 2187 ac_cpp_err=$ac_c_preproc_warn_flag
1847 else 2188 else
1848 ac_cpp_err= 2189 ac_cpp_err=
1861 rm -f conftest.err conftest.$ac_ext 2202 rm -f conftest.err conftest.$ac_ext
1862 2203
1863 # OK, works on sane cases. Now check whether non-existent headers 2204 # OK, works on sane cases. Now check whether non-existent headers
1864 # can be detected and how. 2205 # can be detected and how.
1865 cat >conftest.$ac_ext <<_ACEOF 2206 cat >conftest.$ac_ext <<_ACEOF
1866 #line 1866 "configure" 2207 #line $LINENO "configure"
1867 #include "confdefs.h" 2208 #include "confdefs.h"
1868 #include <ac_nonexistent.h> 2209 #include <ac_nonexistent.h>
1869 _ACEOF 2210 _ACEOF
1870 if { (eval echo "$as_me:1870: \"$ac_cpp conftest.$ac_ext\"") >&5 2211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1872 ac_status=$? 2213 ac_status=$?
1873 egrep -v '^ *\+' conftest.er1 >conftest.err 2214 egrep -v '^ *\+' conftest.er1 >conftest.err
1874 rm -f conftest.er1 2215 rm -f conftest.er1
1875 cat conftest.err >&5 2216 cat conftest.err >&5
1876 echo "$as_me:1876: \$? = $ac_status" >&5 2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877 (exit $ac_status); } >/dev/null; then 2218 (exit $ac_status); } >/dev/null; then
1878 if test -s conftest.err; then 2219 if test -s conftest.err; then
1879 ac_cpp_err=$ac_c_preproc_warn_flag 2220 ac_cpp_err=$ac_c_preproc_warn_flag
1880 else 2221 else
1881 ac_cpp_err= 2222 ac_cpp_err=
1908 fi 2249 fi
1909 CPP=$ac_cv_prog_CPP 2250 CPP=$ac_cv_prog_CPP
1910 else 2251 else
1911 ac_cv_prog_CPP=$CPP 2252 ac_cv_prog_CPP=$CPP
1912 fi 2253 fi
1913 echo "$as_me:1913: result: $CPP" >&5 2254 echo "$as_me:$LINENO: result: $CPP" >&5
1914 echo "${ECHO_T}$CPP" >&6 2255 echo "${ECHO_T}$CPP" >&6
1915 ac_preproc_ok=false 2256 ac_preproc_ok=false
1916 for ac_c_preproc_warn_flag in '' yes 2257 for ac_c_preproc_warn_flag in '' yes
1917 do 2258 do
1918 # Use a header file that comes with gcc, so configuring glibc 2259 # Use a header file that comes with gcc, so configuring glibc
1919 # with a fresh cross-compiler works. 2260 # with a fresh cross-compiler works.
1920 # On the NeXT, cc -E runs the code through the compiler's parser, 2261 # On the NeXT, cc -E runs the code through the compiler's parser,
1921 # not just through cpp. "Syntax error" is here to catch this case. 2262 # not just through cpp. "Syntax error" is here to catch this case.
1922 cat >conftest.$ac_ext <<_ACEOF 2263 cat >conftest.$ac_ext <<_ACEOF
1923 #line 1923 "configure" 2264 #line $LINENO "configure"
1924 #include "confdefs.h" 2265 #include "confdefs.h"
1925 #include <assert.h> 2266 #include <assert.h>
1926 Syntax error 2267 Syntax error
1927 _ACEOF 2268 _ACEOF
1928 if { (eval echo "$as_me:1928: \"$ac_cpp conftest.$ac_ext\"") >&5 2269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1930 ac_status=$? 2271 ac_status=$?
1931 egrep -v '^ *\+' conftest.er1 >conftest.err 2272 egrep -v '^ *\+' conftest.er1 >conftest.err
1932 rm -f conftest.er1 2273 rm -f conftest.er1
1933 cat conftest.err >&5 2274 cat conftest.err >&5
1934 echo "$as_me:1934: \$? = $ac_status" >&5 2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); } >/dev/null; then 2276 (exit $ac_status); } >/dev/null; then
1936 if test -s conftest.err; then 2277 if test -s conftest.err; then
1937 ac_cpp_err=$ac_c_preproc_warn_flag 2278 ac_cpp_err=$ac_c_preproc_warn_flag
1938 else 2279 else
1939 ac_cpp_err= 2280 ac_cpp_err=
1952 rm -f conftest.err conftest.$ac_ext 2293 rm -f conftest.err conftest.$ac_ext
1953 2294
1954 # OK, works on sane cases. Now check whether non-existent headers 2295 # OK, works on sane cases. Now check whether non-existent headers
1955 # can be detected and how. 2296 # can be detected and how.
1956 cat >conftest.$ac_ext <<_ACEOF 2297 cat >conftest.$ac_ext <<_ACEOF
1957 #line 1957 "configure" 2298 #line $LINENO "configure"
1958 #include "confdefs.h" 2299 #include "confdefs.h"
1959 #include <ac_nonexistent.h> 2300 #include <ac_nonexistent.h>
1960 _ACEOF 2301 _ACEOF
1961 if { (eval echo "$as_me:1961: \"$ac_cpp conftest.$ac_ext\"") >&5 2302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1963 ac_status=$? 2304 ac_status=$?
1964 egrep -v '^ *\+' conftest.er1 >conftest.err 2305 egrep -v '^ *\+' conftest.er1 >conftest.err
1965 rm -f conftest.er1 2306 rm -f conftest.er1
1966 cat conftest.err >&5 2307 cat conftest.err >&5
1967 echo "$as_me:1967: \$? = $ac_status" >&5 2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968 (exit $ac_status); } >/dev/null; then 2309 (exit $ac_status); } >/dev/null; then
1969 if test -s conftest.err; then 2310 if test -s conftest.err; then
1970 ac_cpp_err=$ac_c_preproc_warn_flag 2311 ac_cpp_err=$ac_c_preproc_warn_flag
1971 else 2312 else
1972 ac_cpp_err= 2313 ac_cpp_err=
1990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1991 rm -f conftest.err conftest.$ac_ext 2332 rm -f conftest.err conftest.$ac_ext
1992 if $ac_preproc_ok; then 2333 if $ac_preproc_ok; then
1993 : 2334 :
1994 else 2335 else
1995 { { echo "$as_me:1995: error: C preprocessor \"$CPP\" fails sanity check" >&5 2336 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
1996 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2337 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1997 { (exit 1); exit 1; }; } 2338 { (exit 1); exit 1; }; }
1998 fi 2339 fi
1999 2340
2000 ac_ext=c 2341 ac_ext=c
2001 ac_cpp='$CPP $CPPFLAGS' 2342 ac_cpp='$CPP $CPPFLAGS'
2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2004 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2005 2346
2006 echo "$as_me:2006: checking for ANSI C header files" >&5 2347
2348 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2007 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2349 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2008 if test "${ac_cv_header_stdc+set}" = set; then 2350 if test "${ac_cv_header_stdc+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6 2351 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 else 2352 else
2011 cat >conftest.$ac_ext <<_ACEOF 2353 cat >conftest.$ac_ext <<_ACEOF
2012 #line 2012 "configure" 2354 #line $LINENO "configure"
2013 #include "confdefs.h" 2355 #include "confdefs.h"
2014 #include <stdlib.h> 2356 #include <stdlib.h>
2015 #include <stdarg.h> 2357 #include <stdarg.h>
2016 #include <string.h> 2358 #include <string.h>
2017 #include <float.h> 2359 #include <float.h>
2018 2360
2019 _ACEOF 2361 _ACEOF
2020 if { (eval echo "$as_me:2020: \"$ac_cpp conftest.$ac_ext\"") >&5 2362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2022 ac_status=$? 2364 ac_status=$?
2023 egrep -v '^ *\+' conftest.er1 >conftest.err 2365 egrep -v '^ *\+' conftest.er1 >conftest.err
2024 rm -f conftest.er1 2366 rm -f conftest.er1
2025 cat conftest.err >&5 2367 cat conftest.err >&5
2026 echo "$as_me:2026: \$? = $ac_status" >&5 2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027 (exit $ac_status); } >/dev/null; then 2369 (exit $ac_status); } >/dev/null; then
2028 if test -s conftest.err; then 2370 if test -s conftest.err; then
2029 ac_cpp_err=$ac_c_preproc_warn_flag 2371 ac_cpp_err=$ac_c_preproc_warn_flag
2030 else 2372 else
2031 ac_cpp_err= 2373 ac_cpp_err=
2043 rm -f conftest.err conftest.$ac_ext 2385 rm -f conftest.err conftest.$ac_ext
2044 2386
2045 if test $ac_cv_header_stdc = yes; then 2387 if test $ac_cv_header_stdc = yes; then
2046 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2388 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2047 cat >conftest.$ac_ext <<_ACEOF 2389 cat >conftest.$ac_ext <<_ACEOF
2048 #line 2048 "configure" 2390 #line $LINENO "configure"
2049 #include "confdefs.h" 2391 #include "confdefs.h"
2050 #include <string.h> 2392 #include <string.h>
2051 2393
2052 _ACEOF 2394 _ACEOF
2053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2061 fi 2403 fi
2062 2404
2063 if test $ac_cv_header_stdc = yes; then 2405 if test $ac_cv_header_stdc = yes; then
2064 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2406 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2065 cat >conftest.$ac_ext <<_ACEOF 2407 cat >conftest.$ac_ext <<_ACEOF
2066 #line 2066 "configure" 2408 #line $LINENO "configure"
2067 #include "confdefs.h" 2409 #include "confdefs.h"
2068 #include <stdlib.h> 2410 #include <stdlib.h>
2069 2411
2070 _ACEOF 2412 _ACEOF
2071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2082 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2424 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2083 if test "$cross_compiling" = yes; then 2425 if test "$cross_compiling" = yes; then
2084 : 2426 :
2085 else 2427 else
2086 cat >conftest.$ac_ext <<_ACEOF 2428 cat >conftest.$ac_ext <<_ACEOF
2087 #line 2087 "configure" 2429 #line $LINENO "configure"
2088 #include "confdefs.h" 2430 #include "confdefs.h"
2089 #include <ctype.h> 2431 #include <ctype.h>
2090 #if ((' ' & 0x0FF) == 0x020) 2432 #if ((' ' & 0x0FF) == 0x020)
2091 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2433 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2092 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2434 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2108 exit(2); 2450 exit(2);
2109 exit (0); 2451 exit (0);
2110 } 2452 }
2111 _ACEOF 2453 _ACEOF
2112 rm -f conftest$ac_exeext 2454 rm -f conftest$ac_exeext
2113 if { (eval echo "$as_me:2113: \"$ac_link\"") >&5 2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2114 (eval $ac_link) 2>&5 2456 (eval $ac_link) 2>&5
2115 ac_status=$? 2457 ac_status=$?
2116 echo "$as_me:2116: \$? = $ac_status" >&5 2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2118 { (eval echo "$as_me:2118: \"$ac_try\"") >&5 2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119 (eval $ac_try) 2>&5 2461 (eval $ac_try) 2>&5
2120 ac_status=$? 2462 ac_status=$?
2121 echo "$as_me:2121: \$? = $ac_status" >&5 2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; }; then 2464 (exit $ac_status); }; }; then
2123 : 2465 :
2124 else 2466 else
2125 echo "$as_me: program exited with status $ac_status" >&5 2467 echo "$as_me: program exited with status $ac_status" >&5
2126 echo "$as_me: failed program was:" >&5 2468 echo "$as_me: failed program was:" >&5
2127 cat conftest.$ac_ext >&5 2469 cat conftest.$ac_ext >&5
2470 ( exit $ac_status )
2128 ac_cv_header_stdc=no 2471 ac_cv_header_stdc=no
2129 fi 2472 fi
2130 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2473 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2131 fi 2474 fi
2132 fi 2475 fi
2133 fi 2476 fi
2134 echo "$as_me:2134: result: $ac_cv_header_stdc" >&5 2477 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2135 echo "${ECHO_T}$ac_cv_header_stdc" >&6 2478 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2136 if test $ac_cv_header_stdc = yes; then 2479 if test $ac_cv_header_stdc = yes; then
2137 2480
2138 cat >>confdefs.h <<\EOF 2481 cat >>confdefs.h <<\_ACEOF
2139 #define STDC_HEADERS 1 2482 #define STDC_HEADERS 1
2140 EOF 2483 _ACEOF
2141 2484
2142 fi 2485 fi
2486
2487
2488
2489
2490
2143 2491
2144 ac_header_dirent=no 2492 ac_header_dirent=no
2145 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 2493 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
2146 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 2494 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
2147 echo "$as_me:2147: checking for $ac_hdr that defines DIR" >&5 2495 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
2148 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 2496 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
2149 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6 2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 else 2499 else
2152 cat >conftest.$ac_ext <<_ACEOF 2500 cat >conftest.$ac_ext <<_ACEOF
2153 #line 2153 "configure" 2501 #line $LINENO "configure"
2154 #include "confdefs.h" 2502 #include "confdefs.h"
2155 #include <sys/types.h> 2503 #include <sys/types.h>
2156 #include <$ac_hdr> 2504 #include <$ac_hdr>
2157 2505
2506 #ifdef F77_DUMMY_MAIN
2507 # ifdef __cplusplus
2508 extern "C"
2509 # endif
2510 int F77_DUMMY_MAIN() { return 1; }
2511 #endif
2158 int 2512 int
2159 main () 2513 main ()
2160 { 2514 {
2161 if ((DIR *) 0) 2515 if ((DIR *) 0)
2162 return 0; 2516 return 0;
2163 ; 2517 ;
2164 return 0; 2518 return 0;
2165 } 2519 }
2166 _ACEOF 2520 _ACEOF
2167 rm -f conftest.$ac_objext 2521 rm -f conftest.$ac_objext
2168 if { (eval echo "$as_me:2168: \"$ac_compile\"") >&5 2522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2169 (eval $ac_compile) 2>&5 2523 (eval $ac_compile) 2>&5
2170 ac_status=$? 2524 ac_status=$?
2171 echo "$as_me:2171: \$? = $ac_status" >&5 2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); } && 2526 (exit $ac_status); } &&
2173 { ac_try='test -s conftest.$ac_objext' 2527 { ac_try='test -s conftest.$ac_objext'
2174 { (eval echo "$as_me:2174: \"$ac_try\"") >&5 2528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2175 (eval $ac_try) 2>&5 2529 (eval $ac_try) 2>&5
2176 ac_status=$? 2530 ac_status=$?
2177 echo "$as_me:2177: \$? = $ac_status" >&5 2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; }; then 2532 (exit $ac_status); }; }; then
2179 eval "$as_ac_Header=yes" 2533 eval "$as_ac_Header=yes"
2180 else 2534 else
2181 echo "$as_me: failed program was:" >&5 2535 echo "$as_me: failed program was:" >&5
2182 cat conftest.$ac_ext >&5 2536 cat conftest.$ac_ext >&5
2183 eval "$as_ac_Header=no" 2537 eval "$as_ac_Header=no"
2184 fi 2538 fi
2185 rm -f conftest.$ac_objext conftest.$ac_ext 2539 rm -f conftest.$ac_objext conftest.$ac_ext
2186 fi 2540 fi
2187 echo "$as_me:2187: result: `eval echo '${'$as_ac_Header'}'`" >&5 2541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2189 if test `eval echo '${'$as_ac_Header'}'` = yes; then 2543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2190 cat >>confdefs.h <<EOF 2544 cat >>confdefs.h <<_ACEOF
2191 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 2545 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
2192 EOF 2546 _ACEOF
2193 2547
2194 ac_header_dirent=$ac_hdr; break 2548 ac_header_dirent=$ac_hdr; break
2195 fi 2549 fi
2196 2550
2197 done 2551 done
2198 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 2552 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2199 if test $ac_header_dirent = dirent.h; then 2553 if test $ac_header_dirent = dirent.h; then
2200 echo "$as_me:2200: checking for opendir in -ldir" >&5 2554 echo "$as_me:$LINENO: checking for library containing opendir" >&5
2201 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 2555 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
2202 if test "${ac_cv_lib_dir_opendir+set}" = set; then 2556 if test "${ac_cv_search_opendir+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6 2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else 2558 else
2205 ac_check_lib_save_LIBS=$LIBS 2559 ac_func_search_save_LIBS=$LIBS
2206 LIBS="-ldir $LIBS" 2560 ac_cv_search_opendir=no
2207 cat >conftest.$ac_ext <<_ACEOF 2561 cat >conftest.$ac_ext <<_ACEOF
2208 #line 2208 "configure" 2562 #line $LINENO "configure"
2209 #include "confdefs.h" 2563 #include "confdefs.h"
2210 2564
2211 /* Override any gcc2 internal prototype to avoid an error. */ 2565 /* Override any gcc2 internal prototype to avoid an error. */
2212 #ifdef __cplusplus 2566 #ifdef __cplusplus
2213 extern "C" 2567 extern "C"
2214 #endif 2568 #endif
2215 /* We use char because int might match the return type of a gcc2 2569 /* We use char because int might match the return type of a gcc2
2216 builtin and then its argument prototype would still apply. */ 2570 builtin and then its argument prototype would still apply. */
2217 char opendir (); 2571 char opendir ();
2572 #ifdef F77_DUMMY_MAIN
2573 # ifdef __cplusplus
2574 extern "C"
2575 # endif
2576 int F77_DUMMY_MAIN() { return 1; }
2577 #endif
2218 int 2578 int
2219 main () 2579 main ()
2220 { 2580 {
2221 opendir (); 2581 opendir ();
2222 ; 2582 ;
2223 return 0; 2583 return 0;
2224 } 2584 }
2225 _ACEOF 2585 _ACEOF
2226 rm -f conftest.$ac_objext conftest$ac_exeext 2586 rm -f conftest.$ac_objext conftest$ac_exeext
2227 if { (eval echo "$as_me:2227: \"$ac_link\"") >&5 2587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2228 (eval $ac_link) 2>&5 2588 (eval $ac_link) 2>&5
2229 ac_status=$? 2589 ac_status=$?
2230 echo "$as_me:2230: \$? = $ac_status" >&5 2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); } && 2591 (exit $ac_status); } &&
2232 { ac_try='test -s conftest$ac_exeext' 2592 { ac_try='test -s conftest$ac_exeext'
2233 { (eval echo "$as_me:2233: \"$ac_try\"") >&5 2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234 (eval $ac_try) 2>&5 2594 (eval $ac_try) 2>&5
2235 ac_status=$? 2595 ac_status=$?
2236 echo "$as_me:2236: \$? = $ac_status" >&5 2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; }; then 2597 (exit $ac_status); }; }; then
2238 ac_cv_lib_dir_opendir=yes 2598 ac_cv_search_opendir="none required"
2239 else 2599 else
2240 echo "$as_me: failed program was:" >&5 2600 echo "$as_me: failed program was:" >&5
2241 cat conftest.$ac_ext >&5 2601 cat conftest.$ac_ext >&5
2242 ac_cv_lib_dir_opendir=no
2243 fi 2602 fi
2244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2245 LIBS=$ac_check_lib_save_LIBS 2604 if test "$ac_cv_search_opendir" = no; then
2246 fi 2605 for ac_lib in dir; do
2247 echo "$as_me:2247: result: $ac_cv_lib_dir_opendir" >&5 2606 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2248 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 2607 cat >conftest.$ac_ext <<_ACEOF
2249 if test $ac_cv_lib_dir_opendir = yes; then 2608 #line $LINENO "configure"
2250 LIBS="$LIBS -ldir"
2251 fi
2252
2253 else
2254 echo "$as_me:2254: checking for opendir in -lx" >&5
2255 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
2256 if test "${ac_cv_lib_x_opendir+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 else
2259 ac_check_lib_save_LIBS=$LIBS
2260 LIBS="-lx $LIBS"
2261 cat >conftest.$ac_ext <<_ACEOF
2262 #line 2262 "configure"
2263 #include "confdefs.h" 2609 #include "confdefs.h"
2264 2610
2265 /* Override any gcc2 internal prototype to avoid an error. */ 2611 /* Override any gcc2 internal prototype to avoid an error. */
2266 #ifdef __cplusplus 2612 #ifdef __cplusplus
2267 extern "C" 2613 extern "C"
2268 #endif 2614 #endif
2269 /* We use char because int might match the return type of a gcc2 2615 /* We use char because int might match the return type of a gcc2
2270 builtin and then its argument prototype would still apply. */ 2616 builtin and then its argument prototype would still apply. */
2271 char opendir (); 2617 char opendir ();
2618 #ifdef F77_DUMMY_MAIN
2619 # ifdef __cplusplus
2620 extern "C"
2621 # endif
2622 int F77_DUMMY_MAIN() { return 1; }
2623 #endif
2272 int 2624 int
2273 main () 2625 main ()
2274 { 2626 {
2275 opendir (); 2627 opendir ();
2276 ; 2628 ;
2277 return 0; 2629 return 0;
2278 } 2630 }
2279 _ACEOF 2631 _ACEOF
2280 rm -f conftest.$ac_objext conftest$ac_exeext 2632 rm -f conftest.$ac_objext conftest$ac_exeext
2281 if { (eval echo "$as_me:2281: \"$ac_link\"") >&5 2633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2282 (eval $ac_link) 2>&5 2634 (eval $ac_link) 2>&5
2283 ac_status=$? 2635 ac_status=$?
2284 echo "$as_me:2284: \$? = $ac_status" >&5 2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); } && 2637 (exit $ac_status); } &&
2286 { ac_try='test -s conftest$ac_exeext' 2638 { ac_try='test -s conftest$ac_exeext'
2287 { (eval echo "$as_me:2287: \"$ac_try\"") >&5 2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 (eval $ac_try) 2>&5 2640 (eval $ac_try) 2>&5
2289 ac_status=$? 2641 ac_status=$?
2290 echo "$as_me:2290: \$? = $ac_status" >&5 2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); }; }; then 2643 (exit $ac_status); }; }; then
2292 ac_cv_lib_x_opendir=yes 2644 ac_cv_search_opendir="-l$ac_lib"
2645 break
2293 else 2646 else
2294 echo "$as_me: failed program was:" >&5 2647 echo "$as_me: failed program was:" >&5
2295 cat conftest.$ac_ext >&5 2648 cat conftest.$ac_ext >&5
2296 ac_cv_lib_x_opendir=no
2297 fi 2649 fi
2298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2299 LIBS=$ac_check_lib_save_LIBS 2651 done
2300 fi 2652 fi
2301 echo "$as_me:2301: result: $ac_cv_lib_x_opendir" >&5 2653 LIBS=$ac_func_search_save_LIBS
2302 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 2654 fi
2303 if test $ac_cv_lib_x_opendir = yes; then 2655 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
2304 LIBS="$LIBS -lx" 2656 echo "${ECHO_T}$ac_cv_search_opendir" >&6
2305 fi 2657 if test "$ac_cv_search_opendir" != no; then
2306 2658 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
2307 fi 2659
2660 fi
2661
2662 else
2663 echo "$as_me:$LINENO: checking for library containing opendir" >&5
2664 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
2665 if test "${ac_cv_search_opendir+set}" = set; then
2666 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 else
2668 ac_func_search_save_LIBS=$LIBS
2669 ac_cv_search_opendir=no
2670 cat >conftest.$ac_ext <<_ACEOF
2671 #line $LINENO "configure"
2672 #include "confdefs.h"
2673
2674 /* Override any gcc2 internal prototype to avoid an error. */
2675 #ifdef __cplusplus
2676 extern "C"
2677 #endif
2678 /* We use char because int might match the return type of a gcc2
2679 builtin and then its argument prototype would still apply. */
2680 char opendir ();
2681 #ifdef F77_DUMMY_MAIN
2682 # ifdef __cplusplus
2683 extern "C"
2684 # endif
2685 int F77_DUMMY_MAIN() { return 1; }
2686 #endif
2687 int
2688 main ()
2689 {
2690 opendir ();
2691 ;
2692 return 0;
2693 }
2694 _ACEOF
2695 rm -f conftest.$ac_objext conftest$ac_exeext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2697 (eval $ac_link) 2>&5
2698 ac_status=$?
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } &&
2701 { ac_try='test -s conftest$ac_exeext'
2702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 (eval $ac_try) 2>&5
2704 ac_status=$?
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2707 ac_cv_search_opendir="none required"
2708 else
2709 echo "$as_me: failed program was:" >&5
2710 cat conftest.$ac_ext >&5
2711 fi
2712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2713 if test "$ac_cv_search_opendir" = no; then
2714 for ac_lib in x; do
2715 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2716 cat >conftest.$ac_ext <<_ACEOF
2717 #line $LINENO "configure"
2718 #include "confdefs.h"
2719
2720 /* Override any gcc2 internal prototype to avoid an error. */
2721 #ifdef __cplusplus
2722 extern "C"
2723 #endif
2724 /* We use char because int might match the return type of a gcc2
2725 builtin and then its argument prototype would still apply. */
2726 char opendir ();
2727 #ifdef F77_DUMMY_MAIN
2728 # ifdef __cplusplus
2729 extern "C"
2730 # endif
2731 int F77_DUMMY_MAIN() { return 1; }
2732 #endif
2733 int
2734 main ()
2735 {
2736 opendir ();
2737 ;
2738 return 0;
2739 }
2740 _ACEOF
2741 rm -f conftest.$ac_objext conftest$ac_exeext
2742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2743 (eval $ac_link) 2>&5
2744 ac_status=$?
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try='test -s conftest$ac_exeext'
2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 (eval $ac_try) 2>&5
2750 ac_status=$?
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; }; then
2753 ac_cv_search_opendir="-l$ac_lib"
2754 break
2755 else
2756 echo "$as_me: failed program was:" >&5
2757 cat conftest.$ac_ext >&5
2758 fi
2759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2760 done
2761 fi
2762 LIBS=$ac_func_search_save_LIBS
2763 fi
2764 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
2765 echo "${ECHO_T}$ac_cv_search_opendir" >&6
2766 if test "$ac_cv_search_opendir" != no; then
2767 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
2768
2769 fi
2770
2771 fi
2772
2773 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2784 inttypes.h stdint.h unistd.h
2785 do
2786 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2787 echo "$as_me:$LINENO: checking for $ac_header" >&5
2788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2791 else
2792 cat >conftest.$ac_ext <<_ACEOF
2793 #line $LINENO "configure"
2794 #include "confdefs.h"
2795 $ac_includes_default
2796
2797 #include <$ac_header>
2798 _ACEOF
2799 rm -f conftest.$ac_objext
2800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2801 (eval $ac_compile) 2>&5
2802 ac_status=$?
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } &&
2805 { ac_try='test -s conftest.$ac_objext'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 (eval $ac_try) 2>&5
2808 ac_status=$?
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2811 eval "$as_ac_Header=yes"
2812 else
2813 echo "$as_me: failed program was:" >&5
2814 cat conftest.$ac_ext >&5
2815 eval "$as_ac_Header=no"
2816 fi
2817 rm -f conftest.$ac_objext conftest.$ac_ext
2818 fi
2819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2822 cat >>confdefs.h <<_ACEOF
2823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2824 _ACEOF
2825
2826 fi
2827
2828 done
2829
2830
2308 2831
2309 for ac_header in unistd.h 2832 for ac_header in unistd.h
2310 do 2833 do
2311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2312 echo "$as_me:2312: checking for $ac_header" >&5 2835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2836 echo "$as_me:$LINENO: checking for $ac_header" >&5
2313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2314 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6 2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 else 2840 fi
2317 cat >conftest.$ac_ext <<_ACEOF 2841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2318 #line 2318 "configure" 2842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2843 else
2844 # Is the header compilable?
2845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2847 cat >conftest.$ac_ext <<_ACEOF
2848 #line $LINENO "configure"
2849 #include "confdefs.h"
2850 $ac_includes_default
2851 #include <$ac_header>
2852 _ACEOF
2853 rm -f conftest.$ac_objext
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855 (eval $ac_compile) 2>&5
2856 ac_status=$?
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
2859 { ac_try='test -s conftest.$ac_objext'
2860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861 (eval $ac_try) 2>&5
2862 ac_status=$?
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; }; then
2865 ac_header_compiler=yes
2866 else
2867 echo "$as_me: failed program was:" >&5
2868 cat conftest.$ac_ext >&5
2869 ac_header_compiler=no
2870 fi
2871 rm -f conftest.$ac_objext conftest.$ac_ext
2872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2873 echo "${ECHO_T}$ac_header_compiler" >&6
2874
2875 # Is the header present?
2876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2878 cat >conftest.$ac_ext <<_ACEOF
2879 #line $LINENO "configure"
2319 #include "confdefs.h" 2880 #include "confdefs.h"
2320 #include <$ac_header> 2881 #include <$ac_header>
2321 _ACEOF 2882 _ACEOF
2322 if { (eval echo "$as_me:2322: \"$ac_cpp conftest.$ac_ext\"") >&5 2883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2324 ac_status=$? 2885 ac_status=$?
2325 egrep -v '^ *\+' conftest.er1 >conftest.err 2886 egrep -v '^ *\+' conftest.er1 >conftest.err
2326 rm -f conftest.er1 2887 rm -f conftest.er1
2327 cat conftest.err >&5 2888 cat conftest.err >&5
2328 echo "$as_me:2328: \$? = $ac_status" >&5 2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); } >/dev/null; then 2890 (exit $ac_status); } >/dev/null; then
2330 if test -s conftest.err; then 2891 if test -s conftest.err; then
2331 ac_cpp_err=$ac_c_preproc_warn_flag 2892 ac_cpp_err=$ac_c_preproc_warn_flag
2332 else 2893 else
2333 ac_cpp_err= 2894 ac_cpp_err=
2334 fi 2895 fi
2335 else 2896 else
2336 ac_cpp_err=yes 2897 ac_cpp_err=yes
2337 fi 2898 fi
2338 if test -z "$ac_cpp_err"; then 2899 if test -z "$ac_cpp_err"; then
2339 eval "$as_ac_Header=yes" 2900 ac_header_preproc=yes
2340 else 2901 else
2341 echo "$as_me: failed program was:" >&5 2902 echo "$as_me: failed program was:" >&5
2342 cat conftest.$ac_ext >&5 2903 cat conftest.$ac_ext >&5
2343 eval "$as_ac_Header=no" 2904 ac_header_preproc=no
2344 fi 2905 fi
2345 rm -f conftest.err conftest.$ac_ext 2906 rm -f conftest.err conftest.$ac_ext
2346 fi 2907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2347 echo "$as_me:2347: result: `eval echo '${'$as_ac_Header'}'`" >&5 2908 echo "${ECHO_T}$ac_header_preproc" >&6
2909
2910 # So? What about this header?
2911 case $ac_header_compiler:$ac_header_preproc in
2912 yes:no )
2913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2917 no:yes )
2918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2924 esac
2925 echo "$as_me:$LINENO: checking for $ac_header" >&5
2926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 else
2930 eval "$as_ac_Header=$ac_header_preproc"
2931 fi
2932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2934
2935 fi
2349 if test `eval echo '${'$as_ac_Header'}'` = yes; then 2936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2350 cat >>confdefs.h <<EOF 2937 cat >>confdefs.h <<_ACEOF
2351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2352 EOF 2939 _ACEOF
2353 2940
2354 fi 2941 fi
2942
2355 done 2943 done
2944
2356 2945
2357 for ac_header in sys/stat.h 2946 for ac_header in sys/stat.h
2358 do 2947 do
2359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2360 echo "$as_me:2360: checking for $ac_header" >&5 2949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2950 echo "$as_me:$LINENO: checking for $ac_header" >&5
2361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2362 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6 2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 else 2954 fi
2365 cat >conftest.$ac_ext <<_ACEOF 2955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2366 #line 2366 "configure" 2956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2957 else
2958 # Is the header compilable?
2959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2961 cat >conftest.$ac_ext <<_ACEOF
2962 #line $LINENO "configure"
2963 #include "confdefs.h"
2964 $ac_includes_default
2965 #include <$ac_header>
2966 _ACEOF
2967 rm -f conftest.$ac_objext
2968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2969 (eval $ac_compile) 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } &&
2973 { ac_try='test -s conftest.$ac_objext'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 (eval $ac_try) 2>&5
2976 ac_status=$?
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2979 ac_header_compiler=yes
2980 else
2981 echo "$as_me: failed program was:" >&5
2982 cat conftest.$ac_ext >&5
2983 ac_header_compiler=no
2984 fi
2985 rm -f conftest.$ac_objext conftest.$ac_ext
2986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2987 echo "${ECHO_T}$ac_header_compiler" >&6
2988
2989 # Is the header present?
2990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2992 cat >conftest.$ac_ext <<_ACEOF
2993 #line $LINENO "configure"
2367 #include "confdefs.h" 2994 #include "confdefs.h"
2368 #include <$ac_header> 2995 #include <$ac_header>
2369 _ACEOF 2996 _ACEOF
2370 if { (eval echo "$as_me:2370: \"$ac_cpp conftest.$ac_ext\"") >&5 2997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2372 ac_status=$? 2999 ac_status=$?
2373 egrep -v '^ *\+' conftest.er1 >conftest.err 3000 egrep -v '^ *\+' conftest.er1 >conftest.err
2374 rm -f conftest.er1 3001 rm -f conftest.er1
2375 cat conftest.err >&5 3002 cat conftest.err >&5
2376 echo "$as_me:2376: \$? = $ac_status" >&5 3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); } >/dev/null; then 3004 (exit $ac_status); } >/dev/null; then
2378 if test -s conftest.err; then 3005 if test -s conftest.err; then
2379 ac_cpp_err=$ac_c_preproc_warn_flag 3006 ac_cpp_err=$ac_c_preproc_warn_flag
2380 else 3007 else
2381 ac_cpp_err= 3008 ac_cpp_err=
2382 fi 3009 fi
2383 else 3010 else
2384 ac_cpp_err=yes 3011 ac_cpp_err=yes
2385 fi 3012 fi
2386 if test -z "$ac_cpp_err"; then 3013 if test -z "$ac_cpp_err"; then
2387 eval "$as_ac_Header=yes" 3014 ac_header_preproc=yes
2388 else 3015 else
2389 echo "$as_me: failed program was:" >&5 3016 echo "$as_me: failed program was:" >&5
2390 cat conftest.$ac_ext >&5 3017 cat conftest.$ac_ext >&5
2391 eval "$as_ac_Header=no" 3018 ac_header_preproc=no
2392 fi 3019 fi
2393 rm -f conftest.err conftest.$ac_ext 3020 rm -f conftest.err conftest.$ac_ext
2394 fi 3021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2395 echo "$as_me:2395: result: `eval echo '${'$as_ac_Header'}'`" >&5 3022 echo "${ECHO_T}$ac_header_preproc" >&6
3023
3024 # So? What about this header?
3025 case $ac_header_compiler:$ac_header_preproc in
3026 yes:no )
3027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3031 no:yes )
3032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3038 esac
3039 echo "$as_me:$LINENO: checking for $ac_header" >&5
3040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3042 echo $ECHO_N "(cached) $ECHO_C" >&6
3043 else
3044 eval "$as_ac_Header=$ac_header_preproc"
3045 fi
3046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3048
3049 fi
2397 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2398 cat >>confdefs.h <<EOF 3051 cat >>confdefs.h <<_ACEOF
2399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2400 EOF 3053 _ACEOF
2401 3054
2402 fi 3055 fi
3056
2403 done 3057 done
3058
3059
2404 3060
2405 for ac_func in pipe 3061 for ac_func in pipe
2406 do 3062 do
2407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2408 echo "$as_me:2408: checking for $ac_func" >&5 3064 echo "$as_me:$LINENO: checking for $ac_func" >&5
2409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2410 if eval "test \"\${$as_ac_var+set}\" = set"; then 3066 if eval "test \"\${$as_ac_var+set}\" = set"; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6 3067 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 else 3068 else
2413 cat >conftest.$ac_ext <<_ACEOF 3069 cat >conftest.$ac_ext <<_ACEOF
2414 #line 2414 "configure" 3070 #line $LINENO "configure"
2415 #include "confdefs.h" 3071 #include "confdefs.h"
2416 /* System header to define __stub macros and hopefully few prototypes, 3072 /* System header to define __stub macros and hopefully few prototypes,
2417 which can conflict with char $ac_func (); below. */ 3073 which can conflict with char $ac_func (); below. */
2418 #include <assert.h> 3074 #include <assert.h>
2419 /* Override any gcc2 internal prototype to avoid an error. */ 3075 /* Override any gcc2 internal prototype to avoid an error. */
2423 /* We use char because int might match the return type of a gcc2 3079 /* We use char because int might match the return type of a gcc2
2424 builtin and then its argument prototype would still apply. */ 3080 builtin and then its argument prototype would still apply. */
2425 char $ac_func (); 3081 char $ac_func ();
2426 char (*f) (); 3082 char (*f) ();
2427 3083
3084 #ifdef F77_DUMMY_MAIN
3085 # ifdef __cplusplus
3086 extern "C"
3087 # endif
3088 int F77_DUMMY_MAIN() { return 1; }
3089 #endif
2428 int 3090 int
2429 main () 3091 main ()
2430 { 3092 {
2431 /* The GNU C library defines this for functions which it implements 3093 /* The GNU C library defines this for functions which it implements
2432 to always fail with ENOSYS. Some functions are actually named 3094 to always fail with ENOSYS. Some functions are actually named
2440 ; 3102 ;
2441 return 0; 3103 return 0;
2442 } 3104 }
2443 _ACEOF 3105 _ACEOF
2444 rm -f conftest.$ac_objext conftest$ac_exeext 3106 rm -f conftest.$ac_objext conftest$ac_exeext
2445 if { (eval echo "$as_me:2445: \"$ac_link\"") >&5 3107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2446 (eval $ac_link) 2>&5 3108 (eval $ac_link) 2>&5
2447 ac_status=$? 3109 ac_status=$?
2448 echo "$as_me:2448: \$? = $ac_status" >&5 3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); } && 3111 (exit $ac_status); } &&
2450 { ac_try='test -s conftest$ac_exeext' 3112 { ac_try='test -s conftest$ac_exeext'
2451 { (eval echo "$as_me:2451: \"$ac_try\"") >&5 3113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2452 (eval $ac_try) 2>&5 3114 (eval $ac_try) 2>&5
2453 ac_status=$? 3115 ac_status=$?
2454 echo "$as_me:2454: \$? = $ac_status" >&5 3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; }; then 3117 (exit $ac_status); }; }; then
2456 eval "$as_ac_var=yes" 3118 eval "$as_ac_var=yes"
2457 else 3119 else
2458 echo "$as_me: failed program was:" >&5 3120 echo "$as_me: failed program was:" >&5
2459 cat conftest.$ac_ext >&5 3121 cat conftest.$ac_ext >&5
2460 eval "$as_ac_var=no" 3122 eval "$as_ac_var=no"
2461 fi 3123 fi
2462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2463 fi 3125 fi
2464 echo "$as_me:2464: result: `eval echo '${'$as_ac_var'}'`" >&5 3126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2466 if test `eval echo '${'$as_ac_var'}'` = yes; then 3128 if test `eval echo '${'$as_ac_var'}'` = yes; then
2467 cat >>confdefs.h <<EOF 3129 cat >>confdefs.h <<_ACEOF
2468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2469 EOF 3131 _ACEOF
2470 3132
2471 cat >>confdefs.h <<\EOF 3133 cat >>confdefs.h <<\_ACEOF
2472 #define HAVE_PIPE 1 3134 #define HAVE_PIPE 1
2473 EOF 3135 _ACEOF
2474 3136
2475 fi 3137 fi
2476 done 3138 done
3139
3140
2477 3141
2478 for ac_func in connect 3142 for ac_func in connect
2479 do 3143 do
2480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2481 echo "$as_me:2481: checking for $ac_func" >&5 3145 echo "$as_me:$LINENO: checking for $ac_func" >&5
2482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2483 if eval "test \"\${$as_ac_var+set}\" = set"; then 3147 if eval "test \"\${$as_ac_var+set}\" = set"; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6 3148 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else 3149 else
2486 cat >conftest.$ac_ext <<_ACEOF 3150 cat >conftest.$ac_ext <<_ACEOF
2487 #line 2487 "configure" 3151 #line $LINENO "configure"
2488 #include "confdefs.h" 3152 #include "confdefs.h"
2489 /* System header to define __stub macros and hopefully few prototypes, 3153 /* System header to define __stub macros and hopefully few prototypes,
2490 which can conflict with char $ac_func (); below. */ 3154 which can conflict with char $ac_func (); below. */
2491 #include <assert.h> 3155 #include <assert.h>
2492 /* Override any gcc2 internal prototype to avoid an error. */ 3156 /* Override any gcc2 internal prototype to avoid an error. */
2496 /* We use char because int might match the return type of a gcc2 3160 /* We use char because int might match the return type of a gcc2
2497 builtin and then its argument prototype would still apply. */ 3161 builtin and then its argument prototype would still apply. */
2498 char $ac_func (); 3162 char $ac_func ();
2499 char (*f) (); 3163 char (*f) ();
2500 3164
3165 #ifdef F77_DUMMY_MAIN
3166 # ifdef __cplusplus
3167 extern "C"
3168 # endif
3169 int F77_DUMMY_MAIN() { return 1; }
3170 #endif
2501 int 3171 int
2502 main () 3172 main ()
2503 { 3173 {
2504 /* The GNU C library defines this for functions which it implements 3174 /* The GNU C library defines this for functions which it implements
2505 to always fail with ENOSYS. Some functions are actually named 3175 to always fail with ENOSYS. Some functions are actually named
2513 ; 3183 ;
2514 return 0; 3184 return 0;
2515 } 3185 }
2516 _ACEOF 3186 _ACEOF
2517 rm -f conftest.$ac_objext conftest$ac_exeext 3187 rm -f conftest.$ac_objext conftest$ac_exeext
2518 if { (eval echo "$as_me:2518: \"$ac_link\"") >&5 3188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2519 (eval $ac_link) 2>&5 3189 (eval $ac_link) 2>&5
2520 ac_status=$? 3190 ac_status=$?
2521 echo "$as_me:2521: \$? = $ac_status" >&5 3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); } && 3192 (exit $ac_status); } &&
2523 { ac_try='test -s conftest$ac_exeext' 3193 { ac_try='test -s conftest$ac_exeext'
2524 { (eval echo "$as_me:2524: \"$ac_try\"") >&5 3194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525 (eval $ac_try) 2>&5 3195 (eval $ac_try) 2>&5
2526 ac_status=$? 3196 ac_status=$?
2527 echo "$as_me:2527: \$? = $ac_status" >&5 3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; }; then 3198 (exit $ac_status); }; }; then
2529 eval "$as_ac_var=yes" 3199 eval "$as_ac_var=yes"
2530 else 3200 else
2531 echo "$as_me: failed program was:" >&5 3201 echo "$as_me: failed program was:" >&5
2532 cat conftest.$ac_ext >&5 3202 cat conftest.$ac_ext >&5
2533 eval "$as_ac_var=no" 3203 eval "$as_ac_var=no"
2534 fi 3204 fi
2535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2536 fi 3206 fi
2537 echo "$as_me:2537: result: `eval echo '${'$as_ac_var'}'`" >&5 3207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2539 if test `eval echo '${'$as_ac_var'}'` = yes; then 3209 if test `eval echo '${'$as_ac_var'}'` = yes; then
2540 cat >>confdefs.h <<EOF 3210 cat >>confdefs.h <<_ACEOF
2541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2542 EOF 3212 _ACEOF
2543 3213
2544 fi 3214 fi
2545 done 3215 done
2546 3216
2547 if test x"$ac_cv_func_connect" = x"no"; then 3217 if test x"$ac_cv_func_connect" = x"no"; then
2548 if test -z "$libsocket"; then 3218 if test -z "$libsocket"; then
2549 echo "$as_me:2549: checking for socket in -lsocket" >&5 3219 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
2550 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 3220 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
2551 if test "${ac_cv_lib_socket_socket+set}" = set; then 3221 if test "${ac_cv_lib_socket_socket+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6 3222 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 else 3223 else
2554 ac_check_lib_save_LIBS=$LIBS 3224 ac_check_lib_save_LIBS=$LIBS
2555 LIBS="-lsocket $LIBS" 3225 LIBS="-lsocket $LIBS"
2556 cat >conftest.$ac_ext <<_ACEOF 3226 cat >conftest.$ac_ext <<_ACEOF
2557 #line 2557 "configure" 3227 #line $LINENO "configure"
2558 #include "confdefs.h" 3228 #include "confdefs.h"
2559 3229
2560 /* Override any gcc2 internal prototype to avoid an error. */ 3230 /* Override any gcc2 internal prototype to avoid an error. */
2561 #ifdef __cplusplus 3231 #ifdef __cplusplus
2562 extern "C" 3232 extern "C"
2563 #endif 3233 #endif
2564 /* We use char because int might match the return type of a gcc2 3234 /* We use char because int might match the return type of a gcc2
2565 builtin and then its argument prototype would still apply. */ 3235 builtin and then its argument prototype would still apply. */
2566 char socket (); 3236 char socket ();
3237 #ifdef F77_DUMMY_MAIN
3238 # ifdef __cplusplus
3239 extern "C"
3240 # endif
3241 int F77_DUMMY_MAIN() { return 1; }
3242 #endif
2567 int 3243 int
2568 main () 3244 main ()
2569 { 3245 {
2570 socket (); 3246 socket ();
2571 ; 3247 ;
2572 return 0; 3248 return 0;
2573 } 3249 }
2574 _ACEOF 3250 _ACEOF
2575 rm -f conftest.$ac_objext conftest$ac_exeext 3251 rm -f conftest.$ac_objext conftest$ac_exeext
2576 if { (eval echo "$as_me:2576: \"$ac_link\"") >&5 3252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2577 (eval $ac_link) 2>&5 3253 (eval $ac_link) 2>&5
2578 ac_status=$? 3254 ac_status=$?
2579 echo "$as_me:2579: \$? = $ac_status" >&5 3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); } && 3256 (exit $ac_status); } &&
2581 { ac_try='test -s conftest$ac_exeext' 3257 { ac_try='test -s conftest$ac_exeext'
2582 { (eval echo "$as_me:2582: \"$ac_try\"") >&5 3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 (eval $ac_try) 2>&5 3259 (eval $ac_try) 2>&5
2584 ac_status=$? 3260 ac_status=$?
2585 echo "$as_me:2585: \$? = $ac_status" >&5 3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; }; then 3262 (exit $ac_status); }; }; then
2587 ac_cv_lib_socket_socket=yes 3263 ac_cv_lib_socket_socket=yes
2588 else 3264 else
2589 echo "$as_me: failed program was:" >&5 3265 echo "$as_me: failed program was:" >&5
2590 cat conftest.$ac_ext >&5 3266 cat conftest.$ac_ext >&5
2591 ac_cv_lib_socket_socket=no 3267 ac_cv_lib_socket_socket=no
2592 fi 3268 fi
2593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2594 LIBS=$ac_check_lib_save_LIBS 3270 LIBS=$ac_check_lib_save_LIBS
2595 fi 3271 fi
2596 echo "$as_me:2596: result: $ac_cv_lib_socket_socket" >&5 3272 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
2597 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 3273 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
2598 if test $ac_cv_lib_socket_socket = yes; then 3274 if test $ac_cv_lib_socket_socket = yes; then
2599 LIBS="$LIBS -lsocket" 3275 LIBS="$LIBS -lsocket"
2600 fi 3276 fi
2601 3277
2602 fi 3278 fi
2603 3279
2604 if test -z "$libinet"; then 3280 if test -z "$libinet"; then
2605 echo "$as_me:2605: checking for socket in -linet" >&5 3281 echo "$as_me:$LINENO: checking for socket in -linet" >&5
2606 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6 3282 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6
2607 if test "${ac_cv_lib_inet_socket+set}" = set; then 3283 if test "${ac_cv_lib_inet_socket+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6 3284 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 else 3285 else
2610 ac_check_lib_save_LIBS=$LIBS 3286 ac_check_lib_save_LIBS=$LIBS
2611 LIBS="-linet $LIBS" 3287 LIBS="-linet $LIBS"
2612 cat >conftest.$ac_ext <<_ACEOF 3288 cat >conftest.$ac_ext <<_ACEOF
2613 #line 2613 "configure" 3289 #line $LINENO "configure"
2614 #include "confdefs.h" 3290 #include "confdefs.h"
2615 3291
2616 /* Override any gcc2 internal prototype to avoid an error. */ 3292 /* Override any gcc2 internal prototype to avoid an error. */
2617 #ifdef __cplusplus 3293 #ifdef __cplusplus
2618 extern "C" 3294 extern "C"
2619 #endif 3295 #endif
2620 /* We use char because int might match the return type of a gcc2 3296 /* We use char because int might match the return type of a gcc2
2621 builtin and then its argument prototype would still apply. */ 3297 builtin and then its argument prototype would still apply. */
2622 char socket (); 3298 char socket ();
3299 #ifdef F77_DUMMY_MAIN
3300 # ifdef __cplusplus
3301 extern "C"
3302 # endif
3303 int F77_DUMMY_MAIN() { return 1; }
3304 #endif
2623 int 3305 int
2624 main () 3306 main ()
2625 { 3307 {
2626 socket (); 3308 socket ();
2627 ; 3309 ;
2628 return 0; 3310 return 0;
2629 } 3311 }
2630 _ACEOF 3312 _ACEOF
2631 rm -f conftest.$ac_objext conftest$ac_exeext 3313 rm -f conftest.$ac_objext conftest$ac_exeext
2632 if { (eval echo "$as_me:2632: \"$ac_link\"") >&5 3314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2633 (eval $ac_link) 2>&5 3315 (eval $ac_link) 2>&5
2634 ac_status=$? 3316 ac_status=$?
2635 echo "$as_me:2635: \$? = $ac_status" >&5 3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } && 3318 (exit $ac_status); } &&
2637 { ac_try='test -s conftest$ac_exeext' 3319 { ac_try='test -s conftest$ac_exeext'
2638 { (eval echo "$as_me:2638: \"$ac_try\"") >&5 3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 (eval $ac_try) 2>&5 3321 (eval $ac_try) 2>&5
2640 ac_status=$? 3322 ac_status=$?
2641 echo "$as_me:2641: \$? = $ac_status" >&5 3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then 3324 (exit $ac_status); }; }; then
2643 ac_cv_lib_inet_socket=yes 3325 ac_cv_lib_inet_socket=yes
2644 else 3326 else
2645 echo "$as_me: failed program was:" >&5 3327 echo "$as_me: failed program was:" >&5
2646 cat conftest.$ac_ext >&5 3328 cat conftest.$ac_ext >&5
2647 ac_cv_lib_inet_socket=no 3329 ac_cv_lib_inet_socket=no
2648 fi 3330 fi
2649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2650 LIBS=$ac_check_lib_save_LIBS 3332 LIBS=$ac_check_lib_save_LIBS
2651 fi 3333 fi
2652 echo "$as_me:2652: result: $ac_cv_lib_inet_socket" >&5 3334 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5
2653 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6 3335 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6
2654 if test $ac_cv_lib_inet_socket = yes; then 3336 if test $ac_cv_lib_inet_socket = yes; then
2655 libnsl=1; LIBS="$LIBS -linet -lnsl_s" 3337 libnsl=1; LIBS="$LIBS -linet -lnsl_s"
2656 fi 3338 fi
2657 3339
2658 fi 3340 fi
2659 3341
2660 if test -z "$libnsl"; then 3342 if test -z "$libnsl"; then
2661 echo "$as_me:2661: checking for gethostname in -lnsl" >&5 3343 echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5
2662 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6 3344 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6
2663 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then 3345 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6 3346 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 else 3347 else
2666 ac_check_lib_save_LIBS=$LIBS 3348 ac_check_lib_save_LIBS=$LIBS
2667 LIBS="-lnsl $LIBS" 3349 LIBS="-lnsl $LIBS"
2668 cat >conftest.$ac_ext <<_ACEOF 3350 cat >conftest.$ac_ext <<_ACEOF
2669 #line 2669 "configure" 3351 #line $LINENO "configure"
2670 #include "confdefs.h" 3352 #include "confdefs.h"
2671 3353
2672 /* Override any gcc2 internal prototype to avoid an error. */ 3354 /* Override any gcc2 internal prototype to avoid an error. */
2673 #ifdef __cplusplus 3355 #ifdef __cplusplus
2674 extern "C" 3356 extern "C"
2675 #endif 3357 #endif
2676 /* We use char because int might match the return type of a gcc2 3358 /* We use char because int might match the return type of a gcc2
2677 builtin and then its argument prototype would still apply. */ 3359 builtin and then its argument prototype would still apply. */
2678 char gethostname (); 3360 char gethostname ();
3361 #ifdef F77_DUMMY_MAIN
3362 # ifdef __cplusplus
3363 extern "C"
3364 # endif
3365 int F77_DUMMY_MAIN() { return 1; }
3366 #endif
2679 int 3367 int
2680 main () 3368 main ()
2681 { 3369 {
2682 gethostname (); 3370 gethostname ();
2683 ; 3371 ;
2684 return 0; 3372 return 0;
2685 } 3373 }
2686 _ACEOF 3374 _ACEOF
2687 rm -f conftest.$ac_objext conftest$ac_exeext 3375 rm -f conftest.$ac_objext conftest$ac_exeext
2688 if { (eval echo "$as_me:2688: \"$ac_link\"") >&5 3376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2689 (eval $ac_link) 2>&5 3377 (eval $ac_link) 2>&5
2690 ac_status=$? 3378 ac_status=$?
2691 echo "$as_me:2691: \$? = $ac_status" >&5 3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } && 3380 (exit $ac_status); } &&
2693 { ac_try='test -s conftest$ac_exeext' 3381 { ac_try='test -s conftest$ac_exeext'
2694 { (eval echo "$as_me:2694: \"$ac_try\"") >&5 3382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 (eval $ac_try) 2>&5 3383 (eval $ac_try) 2>&5
2696 ac_status=$? 3384 ac_status=$?
2697 echo "$as_me:2697: \$? = $ac_status" >&5 3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; }; then 3386 (exit $ac_status); }; }; then
2699 ac_cv_lib_nsl_gethostname=yes 3387 ac_cv_lib_nsl_gethostname=yes
2700 else 3388 else
2701 echo "$as_me: failed program was:" >&5 3389 echo "$as_me: failed program was:" >&5
2702 cat conftest.$ac_ext >&5 3390 cat conftest.$ac_ext >&5
2703 ac_cv_lib_nsl_gethostname=no 3391 ac_cv_lib_nsl_gethostname=no
2704 fi 3392 fi
2705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2706 LIBS=$ac_check_lib_save_LIBS 3394 LIBS=$ac_check_lib_save_LIBS
2707 fi 3395 fi
2708 echo "$as_me:2708: result: $ac_cv_lib_nsl_gethostname" >&5 3396 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5
2709 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6 3397 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6
2710 if test $ac_cv_lib_nsl_gethostname = yes; then 3398 if test $ac_cv_lib_nsl_gethostname = yes; then
2711 LIBS="$LIBS -lnsl" 3399 LIBS="$LIBS -lnsl"
2712 fi 3400 fi
2713 3401
2714 fi 3402 fi
2715 fi 3403 fi
2716 3404
2717 echo "$as_me:2717: checking for getpwnam in -lsun" >&5 3405 echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5
2718 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6 3406 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6
2719 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then 3407 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6 3408 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 else 3409 else
2722 ac_check_lib_save_LIBS=$LIBS 3410 ac_check_lib_save_LIBS=$LIBS
2723 LIBS="-lsun $LIBS" 3411 LIBS="-lsun $LIBS"
2724 cat >conftest.$ac_ext <<_ACEOF 3412 cat >conftest.$ac_ext <<_ACEOF
2725 #line 2725 "configure" 3413 #line $LINENO "configure"
2726 #include "confdefs.h" 3414 #include "confdefs.h"
2727 3415
2728 /* Override any gcc2 internal prototype to avoid an error. */ 3416 /* Override any gcc2 internal prototype to avoid an error. */
2729 #ifdef __cplusplus 3417 #ifdef __cplusplus
2730 extern "C" 3418 extern "C"
2731 #endif 3419 #endif
2732 /* We use char because int might match the return type of a gcc2 3420 /* We use char because int might match the return type of a gcc2
2733 builtin and then its argument prototype would still apply. */ 3421 builtin and then its argument prototype would still apply. */
2734 char getpwnam (); 3422 char getpwnam ();
3423 #ifdef F77_DUMMY_MAIN
3424 # ifdef __cplusplus
3425 extern "C"
3426 # endif
3427 int F77_DUMMY_MAIN() { return 1; }
3428 #endif
2735 int 3429 int
2736 main () 3430 main ()
2737 { 3431 {
2738 getpwnam (); 3432 getpwnam ();
2739 ; 3433 ;
2740 return 0; 3434 return 0;
2741 } 3435 }
2742 _ACEOF 3436 _ACEOF
2743 rm -f conftest.$ac_objext conftest$ac_exeext 3437 rm -f conftest.$ac_objext conftest$ac_exeext
2744 if { (eval echo "$as_me:2744: \"$ac_link\"") >&5 3438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2745 (eval $ac_link) 2>&5 3439 (eval $ac_link) 2>&5
2746 ac_status=$? 3440 ac_status=$?
2747 echo "$as_me:2747: \$? = $ac_status" >&5 3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } && 3442 (exit $ac_status); } &&
2749 { ac_try='test -s conftest$ac_exeext' 3443 { ac_try='test -s conftest$ac_exeext'
2750 { (eval echo "$as_me:2750: \"$ac_try\"") >&5 3444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751 (eval $ac_try) 2>&5 3445 (eval $ac_try) 2>&5
2752 ac_status=$? 3446 ac_status=$?
2753 echo "$as_me:2753: \$? = $ac_status" >&5 3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; }; then 3448 (exit $ac_status); }; }; then
2755 ac_cv_lib_sun_getpwnam=yes 3449 ac_cv_lib_sun_getpwnam=yes
2756 else 3450 else
2757 echo "$as_me: failed program was:" >&5 3451 echo "$as_me: failed program was:" >&5
2758 cat conftest.$ac_ext >&5 3452 cat conftest.$ac_ext >&5
2759 ac_cv_lib_sun_getpwnam=no 3453 ac_cv_lib_sun_getpwnam=no
2760 fi 3454 fi
2761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2762 LIBS=$ac_check_lib_save_LIBS 3456 LIBS=$ac_check_lib_save_LIBS
2763 fi 3457 fi
2764 echo "$as_me:2764: result: $ac_cv_lib_sun_getpwnam" >&5 3458 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5
2765 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6 3459 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6
2766 if test $ac_cv_lib_sun_getpwnam = yes; then 3460 if test $ac_cv_lib_sun_getpwnam = yes; then
2767 LIBS="$LIBS -lsun" 3461 LIBS="$LIBS -lsun"
2768 fi 3462 fi
2769 3463
2770 echo "$as_me:2770: checking for inet_addr in -ldgc" >&5 3464 echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5
2771 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6 3465 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6
2772 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then 3466 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then
2773 echo $ECHO_N "(cached) $ECHO_C" >&6 3467 echo $ECHO_N "(cached) $ECHO_C" >&6
2774 else 3468 else
2775 ac_check_lib_save_LIBS=$LIBS 3469 ac_check_lib_save_LIBS=$LIBS
2776 LIBS="-ldgc $LIBS" 3470 LIBS="-ldgc $LIBS"
2777 cat >conftest.$ac_ext <<_ACEOF 3471 cat >conftest.$ac_ext <<_ACEOF
2778 #line 2778 "configure" 3472 #line $LINENO "configure"
2779 #include "confdefs.h" 3473 #include "confdefs.h"
2780 3474
2781 /* Override any gcc2 internal prototype to avoid an error. */ 3475 /* Override any gcc2 internal prototype to avoid an error. */
2782 #ifdef __cplusplus 3476 #ifdef __cplusplus
2783 extern "C" 3477 extern "C"
2784 #endif 3478 #endif
2785 /* We use char because int might match the return type of a gcc2 3479 /* We use char because int might match the return type of a gcc2
2786 builtin and then its argument prototype would still apply. */ 3480 builtin and then its argument prototype would still apply. */
2787 char inet_addr (); 3481 char inet_addr ();
3482 #ifdef F77_DUMMY_MAIN
3483 # ifdef __cplusplus
3484 extern "C"
3485 # endif
3486 int F77_DUMMY_MAIN() { return 1; }
3487 #endif
2788 int 3488 int
2789 main () 3489 main ()
2790 { 3490 {
2791 inet_addr (); 3491 inet_addr ();
2792 ; 3492 ;
2793 return 0; 3493 return 0;
2794 } 3494 }
2795 _ACEOF 3495 _ACEOF
2796 rm -f conftest.$ac_objext conftest$ac_exeext 3496 rm -f conftest.$ac_objext conftest$ac_exeext
2797 if { (eval echo "$as_me:2797: \"$ac_link\"") >&5 3497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2798 (eval $ac_link) 2>&5 3498 (eval $ac_link) 2>&5
2799 ac_status=$? 3499 ac_status=$?
2800 echo "$as_me:2800: \$? = $ac_status" >&5 3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } && 3501 (exit $ac_status); } &&
2802 { ac_try='test -s conftest$ac_exeext' 3502 { ac_try='test -s conftest$ac_exeext'
2803 { (eval echo "$as_me:2803: \"$ac_try\"") >&5 3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 (eval $ac_try) 2>&5 3504 (eval $ac_try) 2>&5
2805 ac_status=$? 3505 ac_status=$?
2806 echo "$as_me:2806: \$? = $ac_status" >&5 3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }; }; then 3507 (exit $ac_status); }; }; then
2808 ac_cv_lib_dgc_inet_addr=yes 3508 ac_cv_lib_dgc_inet_addr=yes
2809 else 3509 else
2810 echo "$as_me: failed program was:" >&5 3510 echo "$as_me: failed program was:" >&5
2811 cat conftest.$ac_ext >&5 3511 cat conftest.$ac_ext >&5
2812 ac_cv_lib_dgc_inet_addr=no 3512 ac_cv_lib_dgc_inet_addr=no
2813 fi 3513 fi
2814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2815 LIBS=$ac_check_lib_save_LIBS 3515 LIBS=$ac_check_lib_save_LIBS
2816 fi 3516 fi
2817 echo "$as_me:2817: result: $ac_cv_lib_dgc_inet_addr" >&5 3517 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5
2818 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6 3518 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6
2819 if test $ac_cv_lib_dgc_inet_addr = yes; then 3519 if test $ac_cv_lib_dgc_inet_addr = yes; then
2820 LIBS="$LIBS -ldgc" 3520 LIBS="$LIBS -ldgc"
2821 fi 3521 fi
2822 3522
2823 echo "$as_me:2823: checking for gethostbyname in -lresolv" >&5 3523 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5
2824 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6 3524 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6
2825 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then 3525 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then
2826 echo $ECHO_N "(cached) $ECHO_C" >&6 3526 echo $ECHO_N "(cached) $ECHO_C" >&6
2827 else 3527 else
2828 ac_check_lib_save_LIBS=$LIBS 3528 ac_check_lib_save_LIBS=$LIBS
2829 LIBS="-lresolv $LIBS" 3529 LIBS="-lresolv $LIBS"
2830 cat >conftest.$ac_ext <<_ACEOF 3530 cat >conftest.$ac_ext <<_ACEOF
2831 #line 2831 "configure" 3531 #line $LINENO "configure"
2832 #include "confdefs.h" 3532 #include "confdefs.h"
2833 3533
2834 /* Override any gcc2 internal prototype to avoid an error. */ 3534 /* Override any gcc2 internal prototype to avoid an error. */
2835 #ifdef __cplusplus 3535 #ifdef __cplusplus
2836 extern "C" 3536 extern "C"
2837 #endif 3537 #endif
2838 /* We use char because int might match the return type of a gcc2 3538 /* We use char because int might match the return type of a gcc2
2839 builtin and then its argument prototype would still apply. */ 3539 builtin and then its argument prototype would still apply. */
2840 char gethostbyname (); 3540 char gethostbyname ();
3541 #ifdef F77_DUMMY_MAIN
3542 # ifdef __cplusplus
3543 extern "C"
3544 # endif
3545 int F77_DUMMY_MAIN() { return 1; }
3546 #endif
2841 int 3547 int
2842 main () 3548 main ()
2843 { 3549 {
2844 gethostbyname (); 3550 gethostbyname ();
2845 ; 3551 ;
2846 return 0; 3552 return 0;
2847 } 3553 }
2848 _ACEOF 3554 _ACEOF
2849 rm -f conftest.$ac_objext conftest$ac_exeext 3555 rm -f conftest.$ac_objext conftest$ac_exeext
2850 if { (eval echo "$as_me:2850: \"$ac_link\"") >&5 3556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2851 (eval $ac_link) 2>&5 3557 (eval $ac_link) 2>&5
2852 ac_status=$? 3558 ac_status=$?
2853 echo "$as_me:2853: \$? = $ac_status" >&5 3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); } && 3560 (exit $ac_status); } &&
2855 { ac_try='test -s conftest$ac_exeext' 3561 { ac_try='test -s conftest$ac_exeext'
2856 { (eval echo "$as_me:2856: \"$ac_try\"") >&5 3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857 (eval $ac_try) 2>&5 3563 (eval $ac_try) 2>&5
2858 ac_status=$? 3564 ac_status=$?
2859 echo "$as_me:2859: \$? = $ac_status" >&5 3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; }; then 3566 (exit $ac_status); }; }; then
2861 ac_cv_lib_resolv_gethostbyname=yes 3567 ac_cv_lib_resolv_gethostbyname=yes
2862 else 3568 else
2863 echo "$as_me: failed program was:" >&5 3569 echo "$as_me: failed program was:" >&5
2864 cat conftest.$ac_ext >&5 3570 cat conftest.$ac_ext >&5
2865 ac_cv_lib_resolv_gethostbyname=no 3571 ac_cv_lib_resolv_gethostbyname=no
2866 fi 3572 fi
2867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2868 LIBS=$ac_check_lib_save_LIBS 3574 LIBS=$ac_check_lib_save_LIBS
2869 fi 3575 fi
2870 echo "$as_me:2870: result: $ac_cv_lib_resolv_gethostbyname" >&5 3576 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
2871 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6 3577 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6
2872 if test $ac_cv_lib_resolv_gethostbyname = yes; then 3578 if test $ac_cv_lib_resolv_gethostbyname = yes; then
2873 LIBS="$LIBS -lresolv" 3579 LIBS="$LIBS -lresolv"
2874 fi 3580 fi
3581
3582
3583 # Extract the first word of "pkg-config", so it can be a program name with args.
3584 set dummy pkg-config; ac_word=$2
3585 echo "$as_me:$LINENO: checking for $ac_word" >&5
3586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3587 if test "${ac_cv_prog_PKG_CFG+set}" = set; then
3588 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 else
3590 if test -n "$PKG_CFG"; then
3591 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test.
3592 else
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 for as_dir in $PATH
3595 do
3596 IFS=$as_save_IFS
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3600 ac_cv_prog_PKG_CFG="pkg-config"
3601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 break 2
3603 fi
3604 done
3605 done
3606
3607 fi
3608 fi
3609 PKG_CFG=$ac_cv_prog_PKG_CFG
3610 if test -n "$PKG_CFG"; then
3611 echo "$as_me:$LINENO: result: $PKG_CFG" >&5
3612 echo "${ECHO_T}$PKG_CFG" >&6
3613 else
3614 echo "$as_me:$LINENO: result: no" >&5
3615 echo "${ECHO_T}no" >&6
3616 fi
3617
3618 if test x"$PKG_CFG" = x; then
2875 3619
2876 # Check whether --with-glib-prefix or --without-glib-prefix was given. 3620 # Check whether --with-glib-prefix or --without-glib-prefix was given.
2877 if test "${with_glib_prefix+set}" = set; then 3621 if test "${with_glib_prefix+set}" = set; then
2878 withval="$with_glib_prefix" 3622 withval="$with_glib_prefix"
2879 glib_config_prefix="$withval" 3623 glib_config_prefix="$withval"
2921 esac 3665 esac
2922 done 3666 done
2923 3667
2924 # Extract the first word of "glib-config", so it can be a program name with args. 3668 # Extract the first word of "glib-config", so it can be a program name with args.
2925 set dummy glib-config; ac_word=$2 3669 set dummy glib-config; ac_word=$2
2926 echo "$as_me:2926: checking for $ac_word" >&5 3670 echo "$as_me:$LINENO: checking for $ac_word" >&5
2927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2928 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then 3672 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6 3673 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 else 3674 else
2931 case $GLIB_CONFIG in 3675 case $GLIB_CONFIG in
2932 [\\/]* | ?:[\\/]*) 3676 [\\/]* | ?:[\\/]*)
2933 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. 3677 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path.
2934 ;; 3678 ;;
2935 *) 3679 *)
2936 ac_save_IFS=$IFS; IFS=$ac_path_separator 3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937 ac_dummy="$PATH" 3681 for as_dir in $PATH
2938 for ac_dir in $ac_dummy; do 3682 do
2939 IFS=$ac_save_IFS 3683 IFS=$as_save_IFS
2940 test -z "$ac_dir" && ac_dir=. 3684 test -z "$as_dir" && as_dir=.
2941 if $as_executable_p "$ac_dir/$ac_word"; then 3685 for ac_exec_ext in '' $ac_executable_extensions; do
2942 ac_cv_path_GLIB_CONFIG="$ac_dir/$ac_word" 3686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2943 echo "$as_me:2943: found $ac_dir/$ac_word" >&5 3687 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2944 break 3688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 fi 3689 break 2
3690 fi
3691 done
2946 done 3692 done
2947 3693
2948 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" 3694 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no"
2949 ;; 3695 ;;
2950 esac 3696 esac
2951 fi 3697 fi
2952 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG 3698 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG
2953 3699
2954 if test -n "$GLIB_CONFIG"; then 3700 if test -n "$GLIB_CONFIG"; then
2955 echo "$as_me:2955: result: $GLIB_CONFIG" >&5 3701 echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5
2956 echo "${ECHO_T}$GLIB_CONFIG" >&6 3702 echo "${ECHO_T}$GLIB_CONFIG" >&6
2957 else 3703 else
2958 echo "$as_me:2958: result: no" >&5 3704 echo "$as_me:$LINENO: result: no" >&5
2959 echo "${ECHO_T}no" >&6 3705 echo "${ECHO_T}no" >&6
2960 fi 3706 fi
2961 3707
2962 min_glib_version=1.2.0 3708 min_glib_version=1.2.0
2963 echo "$as_me:2963: checking for GLIB - version >= $min_glib_version" >&5 3709 echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
2964 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6 3710 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
2965 no_glib="" 3711 no_glib=""
2966 if test "$GLIB_CONFIG" = "no" ; then 3712 if test "$GLIB_CONFIG" = "no" ; then
2967 no_glib=yes 3713 no_glib=yes
2968 else 3714 else
2982 rm -f conf.glibtest 3728 rm -f conf.glibtest
2983 if test "$cross_compiling" = yes; then 3729 if test "$cross_compiling" = yes; then
2984 echo $ac_n "cross compiling; assumed OK... $ac_c" 3730 echo $ac_n "cross compiling; assumed OK... $ac_c"
2985 else 3731 else
2986 cat >conftest.$ac_ext <<_ACEOF 3732 cat >conftest.$ac_ext <<_ACEOF
2987 #line 2987 "configure" 3733 #line $LINENO "configure"
2988 #include "confdefs.h" 3734 #include "confdefs.h"
2989 3735
2990 #include <glib.h> 3736 #include <glib.h>
2991 #include <stdio.h> 3737 #include <stdio.h>
2992 #include <stdlib.h> 3738 #include <stdlib.h>
3059 return 1; 3805 return 1;
3060 } 3806 }
3061 3807
3062 _ACEOF 3808 _ACEOF
3063 rm -f conftest$ac_exeext 3809 rm -f conftest$ac_exeext
3064 if { (eval echo "$as_me:3064: \"$ac_link\"") >&5 3810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3065 (eval $ac_link) 2>&5 3811 (eval $ac_link) 2>&5
3066 ac_status=$? 3812 ac_status=$?
3067 echo "$as_me:3067: \$? = $ac_status" >&5 3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3069 { (eval echo "$as_me:3069: \"$ac_try\"") >&5 3815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 (eval $ac_try) 2>&5 3816 (eval $ac_try) 2>&5
3071 ac_status=$? 3817 ac_status=$?
3072 echo "$as_me:3072: \$? = $ac_status" >&5 3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }; }; then 3819 (exit $ac_status); }; }; then
3074 : 3820 :
3075 else 3821 else
3076 echo "$as_me: program exited with status $ac_status" >&5 3822 echo "$as_me: program exited with status $ac_status" >&5
3077 echo "$as_me: failed program was:" >&5 3823 echo "$as_me: failed program was:" >&5
3078 cat conftest.$ac_ext >&5 3824 cat conftest.$ac_ext >&5
3825 ( exit $ac_status )
3079 no_glib=yes 3826 no_glib=yes
3080 fi 3827 fi
3081 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3828 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3082 fi 3829 fi
3083 CFLAGS="$ac_save_CFLAGS" 3830 CFLAGS="$ac_save_CFLAGS"
3084 LIBS="$ac_save_LIBS" 3831 LIBS="$ac_save_LIBS"
3085 fi 3832 fi
3086 fi 3833 fi
3087 if test "x$no_glib" = x ; then 3834 if test "x$no_glib" = x ; then
3088 echo "$as_me:3088: result: yes" >&5 3835 echo "$as_me:$LINENO: result: yes" >&5
3089 echo "${ECHO_T}yes" >&6 3836 echo "${ECHO_T}yes" >&6
3090 : 3837 :
3091 else 3838 else
3092 echo "$as_me:3092: result: no" >&5 3839 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6 3840 echo "${ECHO_T}no" >&6
3094 if test "$GLIB_CONFIG" = "no" ; then 3841 if test "$GLIB_CONFIG" = "no" ; then
3095 echo "*** The glib-config script installed by GLIB could not be found" 3842 echo "*** The glib-config script installed by GLIB could not be found"
3096 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" 3843 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
3097 echo "*** your path, or set the GLIB_CONFIG environment variable to the" 3844 echo "*** your path, or set the GLIB_CONFIG environment variable to the"
3102 else 3849 else
3103 echo "*** Could not run GLIB test program, checking why..." 3850 echo "*** Could not run GLIB test program, checking why..."
3104 CFLAGS="$CFLAGS $GLIB_CFLAGS" 3851 CFLAGS="$CFLAGS $GLIB_CFLAGS"
3105 LIBS="$LIBS $GLIB_LIBS" 3852 LIBS="$LIBS $GLIB_LIBS"
3106 cat >conftest.$ac_ext <<_ACEOF 3853 cat >conftest.$ac_ext <<_ACEOF
3107 #line 3107 "configure" 3854 #line $LINENO "configure"
3108 #include "confdefs.h" 3855 #include "confdefs.h"
3109 3856
3110 #include <glib.h> 3857 #include <glib.h>
3111 #include <stdio.h> 3858 #include <stdio.h>
3112 3859
3860 #ifdef F77_DUMMY_MAIN
3861 # ifdef __cplusplus
3862 extern "C"
3863 # endif
3864 int F77_DUMMY_MAIN() { return 1; }
3865 #endif
3113 int 3866 int
3114 main () 3867 main ()
3115 { 3868 {
3116 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 3869 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
3117 ; 3870 ;
3118 return 0; 3871 return 0;
3119 } 3872 }
3120 _ACEOF 3873 _ACEOF
3121 rm -f conftest.$ac_objext conftest$ac_exeext 3874 rm -f conftest.$ac_objext conftest$ac_exeext
3122 if { (eval echo "$as_me:3122: \"$ac_link\"") >&5 3875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3123 (eval $ac_link) 2>&5 3876 (eval $ac_link) 2>&5
3124 ac_status=$? 3877 ac_status=$?
3125 echo "$as_me:3125: \$? = $ac_status" >&5 3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } && 3879 (exit $ac_status); } &&
3127 { ac_try='test -s conftest$ac_exeext' 3880 { ac_try='test -s conftest$ac_exeext'
3128 { (eval echo "$as_me:3128: \"$ac_try\"") >&5 3881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129 (eval $ac_try) 2>&5 3882 (eval $ac_try) 2>&5
3130 ac_status=$? 3883 ac_status=$?
3131 echo "$as_me:3131: \$? = $ac_status" >&5 3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then 3885 (exit $ac_status); }; }; then
3133 echo "*** The test program compiled, but did not run. This usually means" 3886 echo "*** The test program compiled, but did not run. This usually means"
3134 echo "*** that the run-time linker is not finding GLIB or finding the wrong" 3887 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
3135 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" 3888 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
3136 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 3889 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3152 LIBS="$ac_save_LIBS" 3905 LIBS="$ac_save_LIBS"
3153 fi 3906 fi
3154 fi 3907 fi
3155 GLIB_CFLAGS="" 3908 GLIB_CFLAGS=""
3156 GLIB_LIBS="" 3909 GLIB_LIBS=""
3157 { { echo "$as_me:3157: error: { { echo \"$as_me:3157: error: Cannot find GLIB: Is glib-config in path?\" >&5 3910 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5
3158 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} 3911 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;}
3159 { (exit 1); exit 1; }; }" >&5 3912 { (exit 1); exit 1; }; }" >&5
3160 echo "$as_me: error: { { echo \"$as_me:3160: error: Cannot find GLIB: Is glib-config in path?\" >&5 3913 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5
3161 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} 3914 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;}
3162 { (exit 1); exit 1; }; }" >&2;} 3915 { (exit 1); exit 1; }; }" >&2;}
3163 { (exit 1); exit 1; }; } 3916 { (exit 1); exit 1; }; }
3164 fi 3917 fi
3165 3918
3919
3166 rm -f conf.glibtest 3920 rm -f conf.glibtest
3921
3167 3922
3168 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. 3923 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
3169 if test "${with_gtk_prefix+set}" = set; then 3924 if test "${with_gtk_prefix+set}" = set; then
3170 withval="$with_gtk_prefix" 3925 withval="$with_gtk_prefix"
3171 gtk_config_prefix="$withval" 3926 gtk_config_prefix="$withval"
3210 fi 3965 fi
3211 fi 3966 fi
3212 3967
3213 # Extract the first word of "gtk-config", so it can be a program name with args. 3968 # Extract the first word of "gtk-config", so it can be a program name with args.
3214 set dummy gtk-config; ac_word=$2 3969 set dummy gtk-config; ac_word=$2
3215 echo "$as_me:3215: checking for $ac_word" >&5 3970 echo "$as_me:$LINENO: checking for $ac_word" >&5
3216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3217 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then 3972 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6 3973 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 else 3974 else
3220 case $GTK_CONFIG in 3975 case $GTK_CONFIG in
3221 [\\/]* | ?:[\\/]*) 3976 [\\/]* | ?:[\\/]*)
3222 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. 3977 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
3223 ;; 3978 ;;
3224 *) 3979 *)
3225 ac_save_IFS=$IFS; IFS=$ac_path_separator 3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 ac_dummy="$PATH" 3981 for as_dir in $PATH
3227 for ac_dir in $ac_dummy; do 3982 do
3228 IFS=$ac_save_IFS 3983 IFS=$as_save_IFS
3229 test -z "$ac_dir" && ac_dir=. 3984 test -z "$as_dir" && as_dir=.
3230 if $as_executable_p "$ac_dir/$ac_word"; then 3985 for ac_exec_ext in '' $ac_executable_extensions; do
3231 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" 3986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232 echo "$as_me:3232: found $ac_dir/$ac_word" >&5 3987 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3233 break 3988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3234 fi 3989 break 2
3990 fi
3991 done
3235 done 3992 done
3236 3993
3237 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" 3994 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
3238 ;; 3995 ;;
3239 esac 3996 esac
3240 fi 3997 fi
3241 GTK_CONFIG=$ac_cv_path_GTK_CONFIG 3998 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
3242 3999
3243 if test -n "$GTK_CONFIG"; then 4000 if test -n "$GTK_CONFIG"; then
3244 echo "$as_me:3244: result: $GTK_CONFIG" >&5 4001 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
3245 echo "${ECHO_T}$GTK_CONFIG" >&6 4002 echo "${ECHO_T}$GTK_CONFIG" >&6
3246 else 4003 else
3247 echo "$as_me:3247: result: no" >&5 4004 echo "$as_me:$LINENO: result: no" >&5
3248 echo "${ECHO_T}no" >&6 4005 echo "${ECHO_T}no" >&6
3249 fi 4006 fi
3250 4007
3251 min_gtk_version=1.2.0 4008 min_gtk_version=1.2.0
3252 echo "$as_me:3252: checking for GTK - version >= $min_gtk_version" >&5 4009 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
3253 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 4010 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
3254 no_gtk="" 4011 no_gtk=""
3255 if test "$GTK_CONFIG" = "no" ; then 4012 if test "$GTK_CONFIG" = "no" ; then
3256 no_gtk=yes 4013 no_gtk=yes
3257 else 4014 else
3271 rm -f conf.gtktest 4028 rm -f conf.gtktest
3272 if test "$cross_compiling" = yes; then 4029 if test "$cross_compiling" = yes; then
3273 echo $ac_n "cross compiling; assumed OK... $ac_c" 4030 echo $ac_n "cross compiling; assumed OK... $ac_c"
3274 else 4031 else
3275 cat >conftest.$ac_ext <<_ACEOF 4032 cat >conftest.$ac_ext <<_ACEOF
3276 #line 3276 "configure" 4033 #line $LINENO "configure"
3277 #include "confdefs.h" 4034 #include "confdefs.h"
3278 4035
3279 #include <gtk/gtk.h> 4036 #include <gtk/gtk.h>
3280 #include <stdio.h> 4037 #include <stdio.h>
3281 #include <stdlib.h> 4038 #include <stdlib.h>
3350 return 1; 4107 return 1;
3351 } 4108 }
3352 4109
3353 _ACEOF 4110 _ACEOF
3354 rm -f conftest$ac_exeext 4111 rm -f conftest$ac_exeext
3355 if { (eval echo "$as_me:3355: \"$ac_link\"") >&5 4112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3356 (eval $ac_link) 2>&5 4113 (eval $ac_link) 2>&5
3357 ac_status=$? 4114 ac_status=$?
3358 echo "$as_me:3358: \$? = $ac_status" >&5 4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3360 { (eval echo "$as_me:3360: \"$ac_try\"") >&5 4117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 (eval $ac_try) 2>&5 4118 (eval $ac_try) 2>&5
3362 ac_status=$? 4119 ac_status=$?
3363 echo "$as_me:3363: \$? = $ac_status" >&5 4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then 4121 (exit $ac_status); }; }; then
3365 : 4122 :
3366 else 4123 else
3367 echo "$as_me: program exited with status $ac_status" >&5 4124 echo "$as_me: program exited with status $ac_status" >&5
3368 echo "$as_me: failed program was:" >&5 4125 echo "$as_me: failed program was:" >&5
3369 cat conftest.$ac_ext >&5 4126 cat conftest.$ac_ext >&5
4127 ( exit $ac_status )
3370 no_gtk=yes 4128 no_gtk=yes
3371 fi 4129 fi
3372 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4130 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3373 fi 4131 fi
3374 CFLAGS="$ac_save_CFLAGS" 4132 CFLAGS="$ac_save_CFLAGS"
3375 LIBS="$ac_save_LIBS" 4133 LIBS="$ac_save_LIBS"
3376 fi 4134 fi
3377 fi 4135 fi
3378 if test "x$no_gtk" = x ; then 4136 if test "x$no_gtk" = x ; then
3379 echo "$as_me:3379: result: yes" >&5 4137 echo "$as_me:$LINENO: result: yes" >&5
3380 echo "${ECHO_T}yes" >&6 4138 echo "${ECHO_T}yes" >&6
3381 : 4139 :
3382 else 4140 else
3383 echo "$as_me:3383: result: no" >&5 4141 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6 4142 echo "${ECHO_T}no" >&6
3385 if test "$GTK_CONFIG" = "no" ; then 4143 if test "$GTK_CONFIG" = "no" ; then
3386 echo "*** The gtk-config script installed by GTK could not be found" 4144 echo "*** The gtk-config script installed by GTK could not be found"
3387 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" 4145 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
3388 echo "*** your path, or set the GTK_CONFIG environment variable to the" 4146 echo "*** your path, or set the GTK_CONFIG environment variable to the"
3393 else 4151 else
3394 echo "*** Could not run GTK test program, checking why..." 4152 echo "*** Could not run GTK test program, checking why..."
3395 CFLAGS="$CFLAGS $GTK_CFLAGS" 4153 CFLAGS="$CFLAGS $GTK_CFLAGS"
3396 LIBS="$LIBS $GTK_LIBS" 4154 LIBS="$LIBS $GTK_LIBS"
3397 cat >conftest.$ac_ext <<_ACEOF 4155 cat >conftest.$ac_ext <<_ACEOF
3398 #line 3398 "configure" 4156 #line $LINENO "configure"
3399 #include "confdefs.h" 4157 #include "confdefs.h"
3400 4158
3401 #include <gtk/gtk.h> 4159 #include <gtk/gtk.h>
3402 #include <stdio.h> 4160 #include <stdio.h>
3403 4161
4162 #ifdef F77_DUMMY_MAIN
4163 # ifdef __cplusplus
4164 extern "C"
4165 # endif
4166 int F77_DUMMY_MAIN() { return 1; }
4167 #endif
3404 int 4168 int
3405 main () 4169 main ()
3406 { 4170 {
3407 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); 4171 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
3408 ; 4172 ;
3409 return 0; 4173 return 0;
3410 } 4174 }
3411 _ACEOF 4175 _ACEOF
3412 rm -f conftest.$ac_objext conftest$ac_exeext 4176 rm -f conftest.$ac_objext conftest$ac_exeext
3413 if { (eval echo "$as_me:3413: \"$ac_link\"") >&5 4177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3414 (eval $ac_link) 2>&5 4178 (eval $ac_link) 2>&5
3415 ac_status=$? 4179 ac_status=$?
3416 echo "$as_me:3416: \$? = $ac_status" >&5 4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } && 4181 (exit $ac_status); } &&
3418 { ac_try='test -s conftest$ac_exeext' 4182 { ac_try='test -s conftest$ac_exeext'
3419 { (eval echo "$as_me:3419: \"$ac_try\"") >&5 4183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3420 (eval $ac_try) 2>&5 4184 (eval $ac_try) 2>&5
3421 ac_status=$? 4185 ac_status=$?
3422 echo "$as_me:3422: \$? = $ac_status" >&5 4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); }; }; then 4187 (exit $ac_status); }; }; then
3424 echo "*** The test program compiled, but did not run. This usually means" 4188 echo "*** The test program compiled, but did not run. This usually means"
3425 echo "*** that the run-time linker is not finding GTK or finding the wrong" 4189 echo "*** that the run-time linker is not finding GTK or finding the wrong"
3426 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" 4190 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
3427 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 4191 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3443 LIBS="$ac_save_LIBS" 4207 LIBS="$ac_save_LIBS"
3444 fi 4208 fi
3445 fi 4209 fi
3446 GTK_CFLAGS="" 4210 GTK_CFLAGS=""
3447 GTK_LIBS="" 4211 GTK_LIBS=""
3448 { { echo "$as_me:3448: error: { { echo \"$as_me:3448: error: Cannot find GTK: Is gtk-config in path?\" >&5 4212 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5
3449 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} 4213 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;}
3450 { (exit 1); exit 1; }; }" >&5 4214 { (exit 1); exit 1; }; }" >&5
3451 echo "$as_me: error: { { echo \"$as_me:3451: error: Cannot find GTK: Is gtk-config in path?\" >&5 4215 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5
3452 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} 4216 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;}
3453 { (exit 1); exit 1; }; }" >&2;} 4217 { (exit 1); exit 1; }; }" >&2;}
3454 { (exit 1); exit 1; }; } 4218 { (exit 1); exit 1; }; }
3455 fi 4219 fi
3456 4220
4221
3457 rm -f conf.gtktest 4222 rm -f conf.gtktest
3458 4223
3459 echo "$as_me:3459: checking for pthread.h" >&5 4224 else
4225 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0`
4226 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0`
4227 fi
4228
4229 if test "${ac_cv_header_pthread_h+set}" = set; then
4230 echo "$as_me:$LINENO: checking for pthread.h" >&5
3460 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 4231 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
3461 if test "${ac_cv_header_pthread_h+set}" = set; then 4232 if test "${ac_cv_header_pthread_h+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6 4233 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else 4234 fi
3464 cat >conftest.$ac_ext <<_ACEOF 4235 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
3465 #line 3465 "configure" 4236 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
4237 else
4238 # Is the header compilable?
4239 echo "$as_me:$LINENO: checking pthread.h usability" >&5
4240 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
4241 cat >conftest.$ac_ext <<_ACEOF
4242 #line $LINENO "configure"
4243 #include "confdefs.h"
4244 $ac_includes_default
4245 #include <pthread.h>
4246 _ACEOF
4247 rm -f conftest.$ac_objext
4248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4249 (eval $ac_compile) 2>&5
4250 ac_status=$?
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); } &&
4253 { ac_try='test -s conftest.$ac_objext'
4254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 (eval $ac_try) 2>&5
4256 ac_status=$?
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); }; }; then
4259 ac_header_compiler=yes
4260 else
4261 echo "$as_me: failed program was:" >&5
4262 cat conftest.$ac_ext >&5
4263 ac_header_compiler=no
4264 fi
4265 rm -f conftest.$ac_objext conftest.$ac_ext
4266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4267 echo "${ECHO_T}$ac_header_compiler" >&6
4268
4269 # Is the header present?
4270 echo "$as_me:$LINENO: checking pthread.h presence" >&5
4271 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
4272 cat >conftest.$ac_ext <<_ACEOF
4273 #line $LINENO "configure"
3466 #include "confdefs.h" 4274 #include "confdefs.h"
3467 #include <pthread.h> 4275 #include <pthread.h>
3468 _ACEOF 4276 _ACEOF
3469 if { (eval echo "$as_me:3469: \"$ac_cpp conftest.$ac_ext\"") >&5 4277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3471 ac_status=$? 4279 ac_status=$?
3472 egrep -v '^ *\+' conftest.er1 >conftest.err 4280 egrep -v '^ *\+' conftest.er1 >conftest.err
3473 rm -f conftest.er1 4281 rm -f conftest.er1
3474 cat conftest.err >&5 4282 cat conftest.err >&5
3475 echo "$as_me:3475: \$? = $ac_status" >&5 4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); } >/dev/null; then 4284 (exit $ac_status); } >/dev/null; then
3477 if test -s conftest.err; then 4285 if test -s conftest.err; then
3478 ac_cpp_err=$ac_c_preproc_warn_flag 4286 ac_cpp_err=$ac_c_preproc_warn_flag
3479 else 4287 else
3480 ac_cpp_err= 4288 ac_cpp_err=
3481 fi 4289 fi
3482 else 4290 else
3483 ac_cpp_err=yes 4291 ac_cpp_err=yes
3484 fi 4292 fi
3485 if test -z "$ac_cpp_err"; then 4293 if test -z "$ac_cpp_err"; then
3486 ac_cv_header_pthread_h=yes 4294 ac_header_preproc=yes
3487 else 4295 else
3488 echo "$as_me: failed program was:" >&5 4296 echo "$as_me: failed program was:" >&5
3489 cat conftest.$ac_ext >&5 4297 cat conftest.$ac_ext >&5
3490 ac_cv_header_pthread_h=no 4298 ac_header_preproc=no
3491 fi 4299 fi
3492 rm -f conftest.err conftest.$ac_ext 4300 rm -f conftest.err conftest.$ac_ext
3493 fi 4301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3494 echo "$as_me:3494: result: $ac_cv_header_pthread_h" >&5 4302 echo "${ECHO_T}$ac_header_preproc" >&6
4303
4304 # So? What about this header?
4305 case $ac_header_compiler:$ac_header_preproc in
4306 yes:no )
4307 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
4308 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4309 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
4310 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;};;
4311 no:yes )
4312 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
4313 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
4314 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
4315 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
4316 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
4317 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;};;
4318 esac
4319 echo "$as_me:$LINENO: checking for pthread.h" >&5
4320 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
4321 if test "${ac_cv_header_pthread_h+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 else
4324 ac_cv_header_pthread_h=$ac_header_preproc
4325 fi
4326 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
3495 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 4327 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
4328
4329 fi
3496 if test $ac_cv_header_pthread_h = yes; then 4330 if test $ac_cv_header_pthread_h = yes; then
3497 : 4331 :
3498 else 4332 else
3499 { { echo "$as_me:3499: error: pthread header not found. Dynamic Windows cannot build without it." >&5 4333 { { echo "$as_me:$LINENO: error: pthread header not found. Dynamic Windows cannot build without it." >&5
3500 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} 4334 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;}
3501 { (exit 1); exit 1; }; } 4335 { (exit 1); exit 1; }; }
3502 fi 4336 fi
3503 4337
3504 echo "$as_me:3504: checking for pthread_attr_init in -lpthread" >&5 4338
4339 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
3505 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6 4340 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
3506 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then 4341 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6 4342 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 else 4343 else
3509 ac_check_lib_save_LIBS=$LIBS 4344 ac_check_lib_save_LIBS=$LIBS
3510 LIBS="-lpthread $LIBS" 4345 LIBS="-lpthread $LIBS"
3511 cat >conftest.$ac_ext <<_ACEOF 4346 cat >conftest.$ac_ext <<_ACEOF
3512 #line 3512 "configure" 4347 #line $LINENO "configure"
3513 #include "confdefs.h" 4348 #include "confdefs.h"
3514 4349
3515 /* Override any gcc2 internal prototype to avoid an error. */ 4350 /* Override any gcc2 internal prototype to avoid an error. */
3516 #ifdef __cplusplus 4351 #ifdef __cplusplus
3517 extern "C" 4352 extern "C"
3518 #endif 4353 #endif
3519 /* We use char because int might match the return type of a gcc2 4354 /* We use char because int might match the return type of a gcc2
3520 builtin and then its argument prototype would still apply. */ 4355 builtin and then its argument prototype would still apply. */
3521 char pthread_attr_init (); 4356 char pthread_attr_init ();
4357 #ifdef F77_DUMMY_MAIN
4358 # ifdef __cplusplus
4359 extern "C"
4360 # endif
4361 int F77_DUMMY_MAIN() { return 1; }
4362 #endif
3522 int 4363 int
3523 main () 4364 main ()
3524 { 4365 {
3525 pthread_attr_init (); 4366 pthread_attr_init ();
3526 ; 4367 ;
3527 return 0; 4368 return 0;
3528 } 4369 }
3529 _ACEOF 4370 _ACEOF
3530 rm -f conftest.$ac_objext conftest$ac_exeext 4371 rm -f conftest.$ac_objext conftest$ac_exeext
3531 if { (eval echo "$as_me:3531: \"$ac_link\"") >&5 4372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3532 (eval $ac_link) 2>&5 4373 (eval $ac_link) 2>&5
3533 ac_status=$? 4374 ac_status=$?
3534 echo "$as_me:3534: \$? = $ac_status" >&5 4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); } && 4376 (exit $ac_status); } &&
3536 { ac_try='test -s conftest$ac_exeext' 4377 { ac_try='test -s conftest$ac_exeext'
3537 { (eval echo "$as_me:3537: \"$ac_try\"") >&5 4378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3538 (eval $ac_try) 2>&5 4379 (eval $ac_try) 2>&5
3539 ac_status=$? 4380 ac_status=$?
3540 echo "$as_me:3540: \$? = $ac_status" >&5 4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); }; }; then 4382 (exit $ac_status); }; }; then
3542 ac_cv_lib_pthread_pthread_attr_init=yes 4383 ac_cv_lib_pthread_pthread_attr_init=yes
3543 else 4384 else
3544 echo "$as_me: failed program was:" >&5 4385 echo "$as_me: failed program was:" >&5
3545 cat conftest.$ac_ext >&5 4386 cat conftest.$ac_ext >&5
3546 ac_cv_lib_pthread_pthread_attr_init=no 4387 ac_cv_lib_pthread_pthread_attr_init=no
3547 fi 4388 fi
3548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3549 LIBS=$ac_check_lib_save_LIBS 4390 LIBS=$ac_check_lib_save_LIBS
3550 fi 4391 fi
3551 echo "$as_me:3551: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 4392 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
3552 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6 4393 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6
3553 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then 4394 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
3554 PTHREAD_LIBS="-lpthread" 4395 PTHREAD_LIBS="-lpthread"
3555 else 4396 else
3556 echo "$as_me:3556: checking for pthread_attr_init in -lpthreads" >&5 4397 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5
3557 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6 4398 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6
3558 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then 4399 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6 4400 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 else 4401 else
3561 ac_check_lib_save_LIBS=$LIBS 4402 ac_check_lib_save_LIBS=$LIBS
3562 LIBS="-lpthreads $LIBS" 4403 LIBS="-lpthreads $LIBS"
3563 cat >conftest.$ac_ext <<_ACEOF 4404 cat >conftest.$ac_ext <<_ACEOF
3564 #line 3564 "configure" 4405 #line $LINENO "configure"
3565 #include "confdefs.h" 4406 #include "confdefs.h"
3566 4407
3567 /* Override any gcc2 internal prototype to avoid an error. */ 4408 /* Override any gcc2 internal prototype to avoid an error. */
3568 #ifdef __cplusplus 4409 #ifdef __cplusplus
3569 extern "C" 4410 extern "C"
3570 #endif 4411 #endif
3571 /* We use char because int might match the return type of a gcc2 4412 /* We use char because int might match the return type of a gcc2
3572 builtin and then its argument prototype would still apply. */ 4413 builtin and then its argument prototype would still apply. */
3573 char pthread_attr_init (); 4414 char pthread_attr_init ();
4415 #ifdef F77_DUMMY_MAIN
4416 # ifdef __cplusplus
4417 extern "C"
4418 # endif
4419 int F77_DUMMY_MAIN() { return 1; }
4420 #endif
3574 int 4421 int
3575 main () 4422 main ()
3576 { 4423 {
3577 pthread_attr_init (); 4424 pthread_attr_init ();
3578 ; 4425 ;
3579 return 0; 4426 return 0;
3580 } 4427 }
3581 _ACEOF 4428 _ACEOF
3582 rm -f conftest.$ac_objext conftest$ac_exeext 4429 rm -f conftest.$ac_objext conftest$ac_exeext
3583 if { (eval echo "$as_me:3583: \"$ac_link\"") >&5 4430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3584 (eval $ac_link) 2>&5 4431 (eval $ac_link) 2>&5
3585 ac_status=$? 4432 ac_status=$?
3586 echo "$as_me:3586: \$? = $ac_status" >&5 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); } && 4434 (exit $ac_status); } &&
3588 { ac_try='test -s conftest$ac_exeext' 4435 { ac_try='test -s conftest$ac_exeext'
3589 { (eval echo "$as_me:3589: \"$ac_try\"") >&5 4436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 (eval $ac_try) 2>&5 4437 (eval $ac_try) 2>&5
3591 ac_status=$? 4438 ac_status=$?
3592 echo "$as_me:3592: \$? = $ac_status" >&5 4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); }; }; then 4440 (exit $ac_status); }; }; then
3594 ac_cv_lib_pthreads_pthread_attr_init=yes 4441 ac_cv_lib_pthreads_pthread_attr_init=yes
3595 else 4442 else
3596 echo "$as_me: failed program was:" >&5 4443 echo "$as_me: failed program was:" >&5
3597 cat conftest.$ac_ext >&5 4444 cat conftest.$ac_ext >&5
3598 ac_cv_lib_pthreads_pthread_attr_init=no 4445 ac_cv_lib_pthreads_pthread_attr_init=no
3599 fi 4446 fi
3600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3601 LIBS=$ac_check_lib_save_LIBS 4448 LIBS=$ac_check_lib_save_LIBS
3602 fi 4449 fi
3603 echo "$as_me:3603: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 4450 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
3604 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6 4451 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6
3605 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then 4452 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then
3606 PTHREAD_LIBS="-lpthreads" 4453 PTHREAD_LIBS="-lpthreads"
3607 else 4454 else
3608 echo "$as_me:3608: checking for pthread_attr_init in -lc_r" >&5 4455 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5
3609 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6 4456 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6
3610 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then 4457 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6 4458 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 else 4459 else
3613 ac_check_lib_save_LIBS=$LIBS 4460 ac_check_lib_save_LIBS=$LIBS
3614 LIBS="-lc_r $LIBS" 4461 LIBS="-lc_r $LIBS"
3615 cat >conftest.$ac_ext <<_ACEOF 4462 cat >conftest.$ac_ext <<_ACEOF
3616 #line 3616 "configure" 4463 #line $LINENO "configure"
3617 #include "confdefs.h" 4464 #include "confdefs.h"
3618 4465
3619 /* Override any gcc2 internal prototype to avoid an error. */ 4466 /* Override any gcc2 internal prototype to avoid an error. */
3620 #ifdef __cplusplus 4467 #ifdef __cplusplus
3621 extern "C" 4468 extern "C"
3622 #endif 4469 #endif
3623 /* We use char because int might match the return type of a gcc2 4470 /* We use char because int might match the return type of a gcc2
3624 builtin and then its argument prototype would still apply. */ 4471 builtin and then its argument prototype would still apply. */
3625 char pthread_attr_init (); 4472 char pthread_attr_init ();
4473 #ifdef F77_DUMMY_MAIN
4474 # ifdef __cplusplus
4475 extern "C"
4476 # endif
4477 int F77_DUMMY_MAIN() { return 1; }
4478 #endif
3626 int 4479 int
3627 main () 4480 main ()
3628 { 4481 {
3629 pthread_attr_init (); 4482 pthread_attr_init ();
3630 ; 4483 ;
3631 return 0; 4484 return 0;
3632 } 4485 }
3633 _ACEOF 4486 _ACEOF
3634 rm -f conftest.$ac_objext conftest$ac_exeext 4487 rm -f conftest.$ac_objext conftest$ac_exeext
3635 if { (eval echo "$as_me:3635: \"$ac_link\"") >&5 4488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3636 (eval $ac_link) 2>&5 4489 (eval $ac_link) 2>&5
3637 ac_status=$? 4490 ac_status=$?
3638 echo "$as_me:3638: \$? = $ac_status" >&5 4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); } && 4492 (exit $ac_status); } &&
3640 { ac_try='test -s conftest$ac_exeext' 4493 { ac_try='test -s conftest$ac_exeext'
3641 { (eval echo "$as_me:3641: \"$ac_try\"") >&5 4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3642 (eval $ac_try) 2>&5 4495 (eval $ac_try) 2>&5
3643 ac_status=$? 4496 ac_status=$?
3644 echo "$as_me:3644: \$? = $ac_status" >&5 4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; }; then 4498 (exit $ac_status); }; }; then
3646 ac_cv_lib_c_r_pthread_attr_init=yes 4499 ac_cv_lib_c_r_pthread_attr_init=yes
3647 else 4500 else
3648 echo "$as_me: failed program was:" >&5 4501 echo "$as_me: failed program was:" >&5
3649 cat conftest.$ac_ext >&5 4502 cat conftest.$ac_ext >&5
3650 ac_cv_lib_c_r_pthread_attr_init=no 4503 ac_cv_lib_c_r_pthread_attr_init=no
3651 fi 4504 fi
3652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3653 LIBS=$ac_check_lib_save_LIBS 4506 LIBS=$ac_check_lib_save_LIBS
3654 fi 4507 fi
3655 echo "$as_me:3655: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 4508 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
3656 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6 4509 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6
3657 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then 4510 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then
3658 PTHREAD_LIBS="-lc_r" 4511 PTHREAD_LIBS="-lc_r"
3659 else 4512 else
3660 { { echo "$as_me:3660: error: pthread library not found. HandyFTP cannot build without it. 4513 { { echo "$as_me:$LINENO: error: pthread library not found. HandyFTP cannot build without it.
3661 " >&5 4514 " >&5
3662 echo "$as_me: error: pthread library not found. HandyFTP cannot build without it. 4515 echo "$as_me: error: pthread library not found. HandyFTP cannot build without it.
3663 " >&2;} 4516 " >&2;}
3664 { (exit 1); exit 1; }; } 4517 { (exit 1); exit 1; }; }
3665 4518
3666 fi 4519 fi
3667 4520
3668 fi 4521
3669 4522 fi
3670 fi 4523
4524
4525 fi
4526
4527
3671 4528
3672 # Check whether --with-imlib-prefix or --without-imlib-prefix was given. 4529 # Check whether --with-imlib-prefix or --without-imlib-prefix was given.
3673 if test "${with_imlib_prefix+set}" = set; then 4530 if test "${with_imlib_prefix+set}" = set; then
3674 withval="$with_imlib_prefix" 4531 withval="$with_imlib_prefix"
3675 imlib_prefix="$withval" 4532 imlib_prefix="$withval"
3705 fi 4562 fi
3706 fi 4563 fi
3707 4564
3708 # Extract the first word of "imlib-config", so it can be a program name with args. 4565 # Extract the first word of "imlib-config", so it can be a program name with args.
3709 set dummy imlib-config; ac_word=$2 4566 set dummy imlib-config; ac_word=$2
3710 echo "$as_me:3710: checking for $ac_word" >&5 4567 echo "$as_me:$LINENO: checking for $ac_word" >&5
3711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3712 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then 4569 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then
3713 echo $ECHO_N "(cached) $ECHO_C" >&6 4570 echo $ECHO_N "(cached) $ECHO_C" >&6
3714 else 4571 else
3715 case $IMLIB_CONFIG in 4572 case $IMLIB_CONFIG in
3716 [\\/]* | ?:[\\/]*) 4573 [\\/]* | ?:[\\/]*)
3717 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. 4574 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path.
3718 ;; 4575 ;;
3719 *) 4576 *)
3720 ac_save_IFS=$IFS; IFS=$ac_path_separator 4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 ac_dummy="$PATH" 4578 for as_dir in $PATH
3722 for ac_dir in $ac_dummy; do 4579 do
3723 IFS=$ac_save_IFS 4580 IFS=$as_save_IFS
3724 test -z "$ac_dir" && ac_dir=. 4581 test -z "$as_dir" && as_dir=.
3725 if $as_executable_p "$ac_dir/$ac_word"; then 4582 for ac_exec_ext in '' $ac_executable_extensions; do
3726 ac_cv_path_IMLIB_CONFIG="$ac_dir/$ac_word" 4583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3727 echo "$as_me:3727: found $ac_dir/$ac_word" >&5 4584 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3728 break 4585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 fi 4586 break 2
4587 fi
4588 done
3730 done 4589 done
3731 4590
3732 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" 4591 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no"
3733 ;; 4592 ;;
3734 esac 4593 esac
3735 fi 4594 fi
3736 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG 4595 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG
3737 4596
3738 if test -n "$IMLIB_CONFIG"; then 4597 if test -n "$IMLIB_CONFIG"; then
3739 echo "$as_me:3739: result: $IMLIB_CONFIG" >&5 4598 echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5
3740 echo "${ECHO_T}$IMLIB_CONFIG" >&6 4599 echo "${ECHO_T}$IMLIB_CONFIG" >&6
3741 else 4600 else
3742 echo "$as_me:3742: result: no" >&5 4601 echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6 4602 echo "${ECHO_T}no" >&6
3744 fi 4603 fi
3745 4604
3746 min_imlib_version=1.9.4 4605 min_imlib_version=1.9.4
3747 echo "$as_me:3747: checking for IMLIB - version >= $min_imlib_version" >&5 4606 echo "$as_me:$LINENO: checking for IMLIB - version >= $min_imlib_version" >&5
3748 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6 4607 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6
3749 no_imlib="" 4608 no_imlib=""
3750 if test "$IMLIB_CONFIG" = "no" ; then 4609 if test "$IMLIB_CONFIG" = "no" ; then
3751 no_imlib=yes 4610 no_imlib=yes
3752 else 4611 else
3767 rm -f conf.imlibtest 4626 rm -f conf.imlibtest
3768 if test "$cross_compiling" = yes; then 4627 if test "$cross_compiling" = yes; then
3769 echo $ac_n "cross compiling; assumed OK... $ac_c" 4628 echo $ac_n "cross compiling; assumed OK... $ac_c"
3770 else 4629 else
3771 cat >conftest.$ac_ext <<_ACEOF 4630 cat >conftest.$ac_ext <<_ACEOF
3772 #line 3772 "configure" 4631 #line $LINENO "configure"
3773 #include "confdefs.h" 4632 #include "confdefs.h"
3774 4633
3775 #include <stdio.h> 4634 #include <stdio.h>
3776 #include <stdlib.h> 4635 #include <stdlib.h>
3777 #include <gdk_imlib.h> 4636 #include <gdk_imlib.h>
3807 printf("*** config.cache before re-running configure\n"); 4666 printf("*** config.cache before re-running configure\n");
3808 return 1; 4667 return 1;
3809 } 4668 }
3810 } 4669 }
3811 4670
4671
3812 _ACEOF 4672 _ACEOF
3813 rm -f conftest$ac_exeext 4673 rm -f conftest$ac_exeext
3814 if { (eval echo "$as_me:3814: \"$ac_link\"") >&5 4674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3815 (eval $ac_link) 2>&5 4675 (eval $ac_link) 2>&5
3816 ac_status=$? 4676 ac_status=$?
3817 echo "$as_me:3817: \$? = $ac_status" >&5 4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4678 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3819 { (eval echo "$as_me:3819: \"$ac_try\"") >&5 4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 (eval $ac_try) 2>&5 4680 (eval $ac_try) 2>&5
3821 ac_status=$? 4681 ac_status=$?
3822 echo "$as_me:3822: \$? = $ac_status" >&5 4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then 4683 (exit $ac_status); }; }; then
3824 : 4684 :
3825 else 4685 else
3826 echo "$as_me: program exited with status $ac_status" >&5 4686 echo "$as_me: program exited with status $ac_status" >&5
3827 echo "$as_me: failed program was:" >&5 4687 echo "$as_me: failed program was:" >&5
3828 cat conftest.$ac_ext >&5 4688 cat conftest.$ac_ext >&5
4689 ( exit $ac_status )
3829 no_imlib=yes 4690 no_imlib=yes
3830 fi 4691 fi
3831 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4692 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3832 fi 4693 fi
3833 CFLAGS="$ac_save_CFLAGS" 4694 CFLAGS="$ac_save_CFLAGS"
3834 LIBS="$ac_save_LIBS" 4695 LIBS="$ac_save_LIBS"
3835 fi 4696 fi
3836 fi 4697 fi
3837 if test "x$no_imlib" = x ; then 4698 if test "x$no_imlib" = x ; then
3838 echo "$as_me:3838: result: yes" >&5 4699 echo "$as_me:$LINENO: result: yes" >&5
3839 echo "${ECHO_T}yes" >&6 4700 echo "${ECHO_T}yes" >&6
3840 cat >>confdefs.h <<\EOF 4701 cat >>confdefs.h <<\_ACEOF
3841 #define USE_IMLIB 1 4702 #define USE_IMLIB 1
3842 EOF 4703 _ACEOF
3843 4704
3844 else 4705 else
3845 echo "$as_me:3845: result: no" >&5 4706 echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6 4707 echo "${ECHO_T}no" >&6
3847 if test "$IMLIB_CONFIG" = "no" ; then 4708 if test "$IMLIB_CONFIG" = "no" ; then
3848 echo "*** The imlib-config script installed by IMLIB could not be found" 4709 echo "*** The imlib-config script installed by IMLIB could not be found"
3849 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" 4710 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in"
3850 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" 4711 echo "*** your path, or set the IMLIB_CONFIG environment variable to the"
3855 else 4716 else
3856 echo "*** Could not run IMLIB test program, checking why..." 4717 echo "*** Could not run IMLIB test program, checking why..."
3857 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" 4718 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS"
3858 LIBS="$LIBS $GDK_IMLIB_LIBS" 4719 LIBS="$LIBS $GDK_IMLIB_LIBS"
3859 cat >conftest.$ac_ext <<_ACEOF 4720 cat >conftest.$ac_ext <<_ACEOF
3860 #line 3860 "configure" 4721 #line $LINENO "configure"
3861 #include "confdefs.h" 4722 #include "confdefs.h"
3862 4723
3863 #include <stdio.h> 4724 #include <stdio.h>
3864 #include <gdk_imlib.h> 4725 #include <gdk_imlib.h>
3865 4726
4727 #ifdef F77_DUMMY_MAIN
4728 # ifdef __cplusplus
4729 extern "C"
4730 # endif
4731 int F77_DUMMY_MAIN() { return 1; }
4732 #endif
3866 int 4733 int
3867 main () 4734 main ()
3868 { 4735 {
3869 return 0; 4736 return 0;
3870 ; 4737 ;
3871 return 0; 4738 return 0;
3872 } 4739 }
3873 _ACEOF 4740 _ACEOF
3874 rm -f conftest.$ac_objext conftest$ac_exeext 4741 rm -f conftest.$ac_objext conftest$ac_exeext
3875 if { (eval echo "$as_me:3875: \"$ac_link\"") >&5 4742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3876 (eval $ac_link) 2>&5 4743 (eval $ac_link) 2>&5
3877 ac_status=$? 4744 ac_status=$?
3878 echo "$as_me:3878: \$? = $ac_status" >&5 4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } && 4746 (exit $ac_status); } &&
3880 { ac_try='test -s conftest$ac_exeext' 4747 { ac_try='test -s conftest$ac_exeext'
3881 { (eval echo "$as_me:3881: \"$ac_try\"") >&5 4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882 (eval $ac_try) 2>&5 4749 (eval $ac_try) 2>&5
3883 ac_status=$? 4750 ac_status=$?
3884 echo "$as_me:3884: \$? = $ac_status" >&5 4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); }; }; then 4752 (exit $ac_status); }; }; then
3886 echo "*** The test program compiled, but did not run. This usually means" 4753 echo "*** The test program compiled, but did not run. This usually means"
3887 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" 4754 echo "*** that the run-time linker is not finding IMLIB or finding the wrong"
3888 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" 4755 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your"
3889 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 4756 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3905 LIBS="$ac_save_LIBS" 4772 LIBS="$ac_save_LIBS"
3906 fi 4773 fi
3907 fi 4774 fi
3908 GDK_IMLIB_CFLAGS="" 4775 GDK_IMLIB_CFLAGS=""
3909 GDK_IMLIB_LIBS="" 4776 GDK_IMLIB_LIBS=""
3910 { { echo "$as_me:3910: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&5 4777 { { echo "$as_me:$LINENO: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&5
3911 echo "$as_me: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&2;} 4778 echo "$as_me: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&2;}
3912 { (exit 1); exit 1; }; } 4779 { (exit 1); exit 1; }; }
3913 fi 4780 fi
3914 4781
4782
3915 rm -f conf.gdkimlibtest 4783 rm -f conf.gdkimlibtest
4784
3916 4785
3917 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS" 4786 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS"
3918 LIBS="$LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS" 4787 LIBS="$LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS"
3919 4788
3920 RM="rm -f" 4789 RM="rm -f"
3921 LN="ln -s" 4790 LN="ln -s"
3922 CP="cp" 4791 CP="cp"
3923 MV="mv" 4792 MV="mv"
3924 MKDIR="mkdir" 4793 MKDIR="mkdir"
4794
4795
4796
4797
4798
4799
4800
4801
3925 4802
3926 ac_config_files="$ac_config_files Makefile dw-config" 4803 ac_config_files="$ac_config_files Makefile dw-config"
3927 4804
3928 cat >confcache <<\_ACEOF 4805 cat >confcache <<\_ACEOF
3929 # This file is a shell script that caches the results of configure 4806 # This file is a shell script that caches the results of configure
3999 }' 4876 }'
4000 fi 4877 fi
4001 4878
4002 DEFS=-DHAVE_CONFIG_H 4879 DEFS=-DHAVE_CONFIG_H
4003 4880
4881
4004 : ${CONFIG_STATUS=./config.status} 4882 : ${CONFIG_STATUS=./config.status}
4005 ac_clean_files_save=$ac_clean_files 4883 ac_clean_files_save=$ac_clean_files
4006 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4884 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4007 { echo "$as_me:4007: creating $CONFIG_STATUS" >&5 4885 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4008 echo "$as_me: creating $CONFIG_STATUS" >&6;} 4886 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4009 cat >$CONFIG_STATUS <<_ACEOF 4887 cat >$CONFIG_STATUS <<_ACEOF
4010 #! $SHELL 4888 #! $SHELL
4011 # Generated automatically by configure. 4889 # Generated by $as_me.
4012 # Run this file to recreate the current configuration. 4890 # Run this file to recreate the current configuration.
4013 # Compiler output produced by configure, useful for debugging 4891 # Compiler output produced by configure, useful for debugging
4014 # configure, is in config.log if it exists. 4892 # configure, is in config.log if it exists.
4015 4893
4016 debug=false 4894 debug=false
4017 SHELL=\${CONFIG_SHELL-$SHELL} 4895 SHELL=\${CONFIG_SHELL-$SHELL}
4018 ac_cs_invocation="\$0 \$@"
4019
4020 _ACEOF 4896 _ACEOF
4021 4897
4022 cat >>$CONFIG_STATUS <<\_ACEOF 4898 cat >>$CONFIG_STATUS <<\_ACEOF
4899
4900 ## --------------------- ##
4901 ## M4sh Initialization. ##
4902 ## --------------------- ##
4903
4023 # Be Bourne compatible 4904 # Be Bourne compatible
4024 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4025 emulate sh 4906 emulate sh
4026 NULLCMD=: 4907 NULLCMD=:
4027 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 4908 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4028 set -o posix 4909 set -o posix
4029 fi 4910 fi
4030 4911
4912 # NLS nuisances.
4913 # Support unset when possible.
4914 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4915 as_unset=unset
4916 else
4917 as_unset=false
4918 fi
4919
4920 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
4921 { $as_unset LANG || test "${LANG+set}" != set; } ||
4922 { LANG=C; export LANG; }
4923 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
4924 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4925 { LC_ALL=C; export LC_ALL; }
4926 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
4927 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4928 { LC_TIME=C; export LC_TIME; }
4929 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
4930 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4931 { LC_CTYPE=C; export LC_CTYPE; }
4932 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
4933 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4934 { LANGUAGE=C; export LANGUAGE; }
4935 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
4936 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4937 { LC_COLLATE=C; export LC_COLLATE; }
4938 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
4939 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4940 { LC_NUMERIC=C; export LC_NUMERIC; }
4941 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
4942 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4943 { LC_MESSAGES=C; export LC_MESSAGES; }
4944
4945
4031 # Name of the executable. 4946 # Name of the executable.
4032 as_me=`echo "$0" |sed 's,.*[\\/],,'` 4947 as_me=`(basename "$0") 2>/dev/null ||
4948 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4949 X"$0" : 'X\(//\)$' \| \
4950 X"$0" : 'X\(/\)$' \| \
4951 . : '\(.\)' 2>/dev/null ||
4952 echo X/"$0" |
4953 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4954 /^X\/\(\/\/\)$/{ s//\1/; q; }
4955 /^X\/\(\/\).*/{ s//\1/; q; }
4956 s/.*/./; q'`
4957
4958 # PATH needs CR, and LINENO needs CR and PATH.
4959 # Avoid depending upon Character Ranges.
4960 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4961 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4962 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4963 as_cr_digits='0123456789'
4964 as_cr_alnum=$as_cr_Letters$as_cr_digits
4965
4966 # The user is always right.
4967 if test "${PATH_SEPARATOR+set}" != set; then
4968 echo "#! /bin/sh" >conftest.sh
4969 echo "exit 0" >>conftest.sh
4970 chmod +x conftest.sh
4971 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4972 PATH_SEPARATOR=';'
4973 else
4974 PATH_SEPARATOR=:
4975 fi
4976 rm -f conftest.sh
4977 fi
4978
4979
4980 as_lineno_1=$LINENO
4981 as_lineno_2=$LINENO
4982 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4983 test "x$as_lineno_1" != "x$as_lineno_2" &&
4984 test "x$as_lineno_3" = "x$as_lineno_2" || {
4985 # Find who we are. Look in the path if we contain no path at all
4986 # relative or not.
4987 case $0 in
4988 *[\\/]* ) as_myself=$0 ;;
4989 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 for as_dir in $PATH
4991 do
4992 IFS=$as_save_IFS
4993 test -z "$as_dir" && as_dir=.
4994 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4995 done
4996
4997 ;;
4998 esac
4999 # We did not find ourselves, most probably we were run as `sh COMMAND'
5000 # in which case we are not to be found in the path.
5001 if test "x$as_myself" = x; then
5002 as_myself=$0
5003 fi
5004 if test ! -f "$as_myself"; then
5005 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5006 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5007 { (exit 1); exit 1; }; }
5008 fi
5009 case $CONFIG_SHELL in
5010 '')
5011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5012 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5013 do
5014 IFS=$as_save_IFS
5015 test -z "$as_dir" && as_dir=.
5016 for as_base in sh bash ksh sh5; do
5017 case $as_dir in
5018 /*)
5019 if ("$as_dir/$as_base" -c '
5020 as_lineno_1=$LINENO
5021 as_lineno_2=$LINENO
5022 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5023 test "x$as_lineno_1" != "x$as_lineno_2" &&
5024 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5025 CONFIG_SHELL=$as_dir/$as_base
5026 export CONFIG_SHELL
5027 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5028 fi;;
5029 esac
5030 done
5031 done
5032 ;;
5033 esac
5034
5035 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5036 # uniformly replaced by the line number. The first 'sed' inserts a
5037 # line-number line before each line; the second 'sed' does the real
5038 # work. The second script uses 'N' to pair each line-number line
5039 # with the numbered line, and appends trailing '-' during
5040 # substitution so that $LINENO is not a special case at line end.
5041 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5042 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5043 sed '=' <$as_myself |
5044 sed '
5045 N
5046 s,$,-,
5047 : loop
5048 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5049 t loop
5050 s,-$,,
5051 s,^['$as_cr_digits']*\n,,
5052 ' >$as_me.lineno &&
5053 chmod +x $as_me.lineno ||
5054 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5055 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5056 { (exit 1); exit 1; }; }
5057
5058 # Don't try to exec as it changes $[0], causing all sort of problems
5059 # (the dirname of $[0] is not the place where we might find the
5060 # original and so on. Autoconf is especially sensible to this).
5061 . ./$as_me.lineno
5062 # Exit status is that of the last command.
5063 exit
5064 }
5065
5066
5067 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5068 *c*,-n*) ECHO_N= ECHO_C='
5069 ' ECHO_T=' ' ;;
5070 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5071 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5072 esac
4033 5073
4034 if expr a : '\(a\)' >/dev/null 2>&1; then 5074 if expr a : '\(a\)' >/dev/null 2>&1; then
4035 as_expr=expr 5075 as_expr=expr
4036 else 5076 else
4037 as_expr=false 5077 as_expr=false
4055 fi 5095 fi
4056 rm -f conf$$ conf$$.exe conf$$.file 5096 rm -f conf$$ conf$$.exe conf$$.file
4057 5097
4058 as_executable_p="test -f" 5098 as_executable_p="test -f"
4059 5099
4060 # Support unset when possible. 5100 # Sed expression to map a string onto a valid CPP name.
4061 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 5101 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4062 as_unset=unset 5102
4063 else 5103 # Sed expression to map a string onto a valid variable name.
4064 as_unset=false 5104 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4065 fi 5105
4066
4067 # NLS nuisances.
4068 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
4069 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
4070 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
4071 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
4072 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
4073 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
4074 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
4075 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
4076 5106
4077 # IFS 5107 # IFS
4078 # We need space, tab and new line, in precisely that order. 5108 # We need space, tab and new line, in precisely that order.
4079 as_nl=' 5109 as_nl='
4080 ' 5110 '
4081 IFS=" $as_nl" 5111 IFS=" $as_nl"
4082 5112
4083 # CDPATH. 5113 # CDPATH.
4084 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 5114 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4085 5115
4086 exec 6>&1 5116 exec 6>&1
4087 5117
5118 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5119 # report actual input values of CONFIG_FILES etc. instead of their
5120 # values after options handling. Logging --version etc. is OK.
5121 exec 5>>config.log
5122 {
5123 echo
5124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5125 ## Running $as_me. ##
5126 _ASBOX
5127 } >&5
5128 cat >&5 <<_CSEOF
5129
5130 This file was extended by $as_me, which was
5131 generated by GNU Autoconf 2.53. Invocation command line was
5132
5133 CONFIG_FILES = $CONFIG_FILES
5134 CONFIG_HEADERS = $CONFIG_HEADERS
5135 CONFIG_LINKS = $CONFIG_LINKS
5136 CONFIG_COMMANDS = $CONFIG_COMMANDS
5137 $ $0 $@
5138
5139 _CSEOF
5140 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5141 echo >&5
4088 _ACEOF 5142 _ACEOF
4089 5143
4090 # Files that config.status was made for. 5144 # Files that config.status was made for.
4091 if test -n "$ac_config_files"; then 5145 if test -n "$ac_config_files"; then
4092 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5146 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4102 5156
4103 if test -n "$ac_config_commands"; then 5157 if test -n "$ac_config_commands"; then
4104 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5158 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4105 fi 5159 fi
4106 5160
4107 cat >>$CONFIG_STATUS <<\EOF 5161 cat >>$CONFIG_STATUS <<\_ACEOF
4108 5162
4109 ac_cs_usage="\ 5163 ac_cs_usage="\
4110 \`$as_me' instantiates files from templates according to the 5164 \`$as_me' instantiates files from templates according to the
4111 current configuration. 5165 current configuration.
4112 5166
4126 5180
4127 Configuration headers: 5181 Configuration headers:
4128 $config_headers 5182 $config_headers
4129 5183
4130 Report bugs to <bug-autoconf@gnu.org>." 5184 Report bugs to <bug-autoconf@gnu.org>."
4131 EOF 5185 _ACEOF
4132 5186
4133 cat >>$CONFIG_STATUS <<EOF 5187 cat >>$CONFIG_STATUS <<_ACEOF
4134 ac_cs_version="\\ 5188 ac_cs_version="\\
4135 config.status 5189 config.status
4136 configured by $0, generated by GNU Autoconf 2.52, 5190 configured by $0, generated by GNU Autoconf 2.53,
4137 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 5191 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4138 5192
4139 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5193 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4140 Free Software Foundation, Inc. 5194 Free Software Foundation, Inc.
4141 This config.status script is free software; the Free Software Foundation 5195 This config.status script is free software; the Free Software Foundation
4142 gives unlimited permission to copy, distribute and modify it." 5196 gives unlimited permission to copy, distribute and modify it."
4143 srcdir=$srcdir 5197 srcdir=$srcdir
4144 INSTALL="$INSTALL" 5198 INSTALL="$INSTALL"
4145 EOF 5199 _ACEOF
4146 5200
4147 cat >>$CONFIG_STATUS <<\EOF 5201 cat >>$CONFIG_STATUS <<\_ACEOF
4148 # If no file are specified by the user, then we need to provide default 5202 # If no file are specified by the user, then we need to provide default
4149 # value. By we need to know if files were specified by the user. 5203 # value. By we need to know if files were specified by the user.
4150 ac_need_defaults=: 5204 ac_need_defaults=:
4151 while test $# != 0 5205 while test $# != 0
4152 do 5206 do
4164 ac_need_defaults=false;; 5218 ac_need_defaults=false;;
4165 esac 5219 esac
4166 5220
4167 case $1 in 5221 case $1 in
4168 # Handling of the options. 5222 # Handling of the options.
4169 EOF 5223 _ACEOF
4170 cat >>$CONFIG_STATUS <<EOF 5224 cat >>$CONFIG_STATUS <<_ACEOF
4171 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5225 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4172 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 5226 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4173 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 5227 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4174 EOF 5228 _ACEOF
4175 cat >>$CONFIG_STATUS <<\EOF 5229 cat >>$CONFIG_STATUS <<\_ACEOF
4176 --version | --vers* | -V ) 5230 --version | --vers* | -V )
4177 echo "$ac_cs_version"; exit 0 ;; 5231 echo "$ac_cs_version"; exit 0 ;;
4178 --he | --h) 5232 --he | --h)
4179 # Conflict between --help and --header 5233 # Conflict between --help and --header
4180 { { echo "$as_me:4180: error: ambiguous option: $1 5234 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4181 Try \`$0 --help' for more information." >&5 5235 Try \`$0 --help' for more information." >&5
4182 echo "$as_me: error: ambiguous option: $1 5236 echo "$as_me: error: ambiguous option: $1
4183 Try \`$0 --help' for more information." >&2;} 5237 Try \`$0 --help' for more information." >&2;}
4184 { (exit 1); exit 1; }; };; 5238 { (exit 1); exit 1; }; };;
4185 --help | --hel | -h ) 5239 --help | --hel | -h )
4194 shift 5248 shift
4195 CONFIG_HEADERS="$CONFIG_HEADERS $1" 5249 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4196 ac_need_defaults=false;; 5250 ac_need_defaults=false;;
4197 5251
4198 # This is an error. 5252 # This is an error.
4199 -*) { { echo "$as_me:4199: error: unrecognized option: $1 5253 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4200 Try \`$0 --help' for more information." >&5 5254 Try \`$0 --help' for more information." >&5
4201 echo "$as_me: error: unrecognized option: $1 5255 echo "$as_me: error: unrecognized option: $1
4202 Try \`$0 --help' for more information." >&2;} 5256 Try \`$0 --help' for more information." >&2;}
4203 { (exit 1); exit 1; }; } ;; 5257 { (exit 1); exit 1; }; } ;;
4204 5258
4206 5260
4207 esac 5261 esac
4208 shift 5262 shift
4209 done 5263 done
4210 5264
4211 exec 5>>config.log 5265 _ACEOF
4212 cat >&5 << _ACEOF 5266
4213 5267
4214 ## ----------------------- ## 5268
4215 ## Running config.status. ## 5269
4216 ## ----------------------- ## 5270
4217 5271 cat >>$CONFIG_STATUS <<\_ACEOF
4218 This file was extended by $as_me 2.52, executed with
4219 CONFIG_FILES = $CONFIG_FILES
4220 CONFIG_HEADERS = $CONFIG_HEADERS
4221 CONFIG_LINKS = $CONFIG_LINKS
4222 CONFIG_COMMANDS = $CONFIG_COMMANDS
4223 > $ac_cs_invocation
4224 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4225
4226 _ACEOF
4227 EOF
4228
4229 cat >>$CONFIG_STATUS <<\EOF
4230 for ac_config_target in $ac_config_targets 5272 for ac_config_target in $ac_config_targets
4231 do 5273 do
4232 case "$ac_config_target" in 5274 case "$ac_config_target" in
4233 # Handling of arguments. 5275 # Handling of arguments.
4234 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5276 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4235 "dw-config" ) CONFIG_FILES="$CONFIG_FILES dw-config" ;; 5277 "dw-config" ) CONFIG_FILES="$CONFIG_FILES dw-config" ;;
4236 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5278 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4237 *) { { echo "$as_me:4237: error: invalid argument: $ac_config_target" >&5 5279 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4238 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5280 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4239 { (exit 1); exit 1; }; };; 5281 { (exit 1); exit 1; }; };;
4240 esac 5282 esac
4241 done 5283 done
4242 5284
4269 { 5311 {
4270 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 5312 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4271 { (exit 1); exit 1; } 5313 { (exit 1); exit 1; }
4272 } 5314 }
4273 5315
4274 EOF 5316 _ACEOF
4275 5317
4276 cat >>$CONFIG_STATUS <<EOF 5318 cat >>$CONFIG_STATUS <<_ACEOF
4277 5319
4278 # 5320 #
4279 # CONFIG_FILES section. 5321 # CONFIG_FILES section.
4280 # 5322 #
4281 5323
4284 if test -n "\$CONFIG_FILES"; then 5326 if test -n "\$CONFIG_FILES"; then
4285 # Protect against being on the right side of a sed subst in config.status. 5327 # Protect against being on the right side of a sed subst in config.status.
4286 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 5328 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4287 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5329 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4288 s,@SHELL@,$SHELL,;t t 5330 s,@SHELL@,$SHELL,;t t
5331 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5332 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5333 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5334 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5335 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5336 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4289 s,@exec_prefix@,$exec_prefix,;t t 5337 s,@exec_prefix@,$exec_prefix,;t t
4290 s,@prefix@,$prefix,;t t 5338 s,@prefix@,$prefix,;t t
4291 s,@program_transform_name@,$program_transform_name,;t t 5339 s,@program_transform_name@,$program_transform_name,;t t
4292 s,@bindir@,$bindir,;t t 5340 s,@bindir@,$bindir,;t t
4293 s,@sbindir@,$sbindir,;t t 5341 s,@sbindir@,$sbindir,;t t
4299 s,@libdir@,$libdir,;t t 5347 s,@libdir@,$libdir,;t t
4300 s,@includedir@,$includedir,;t t 5348 s,@includedir@,$includedir,;t t
4301 s,@oldincludedir@,$oldincludedir,;t t 5349 s,@oldincludedir@,$oldincludedir,;t t
4302 s,@infodir@,$infodir,;t t 5350 s,@infodir@,$infodir,;t t
4303 s,@mandir@,$mandir,;t t 5351 s,@mandir@,$mandir,;t t
4304 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4305 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4306 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4307 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4308 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4309 s,@build_alias@,$build_alias,;t t 5352 s,@build_alias@,$build_alias,;t t
4310 s,@host_alias@,$host_alias,;t t 5353 s,@host_alias@,$host_alias,;t t
4311 s,@target_alias@,$target_alias,;t t 5354 s,@target_alias@,$target_alias,;t t
5355 s,@DEFS@,$DEFS,;t t
4312 s,@ECHO_C@,$ECHO_C,;t t 5356 s,@ECHO_C@,$ECHO_C,;t t
4313 s,@ECHO_N@,$ECHO_N,;t t 5357 s,@ECHO_N@,$ECHO_N,;t t
4314 s,@ECHO_T@,$ECHO_T,;t t 5358 s,@ECHO_T@,$ECHO_T,;t t
4315 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4316 s,@DEFS@,$DEFS,;t t
4317 s,@LIBS@,$LIBS,;t t 5359 s,@LIBS@,$LIBS,;t t
4318 s,@DW_MAJOR_VERSION@,$DW_MAJOR_VERSION,;t t 5360 s,@DW_MAJOR_VERSION@,$DW_MAJOR_VERSION,;t t
4319 s,@DW_MINOR_VERSION@,$DW_MINOR_VERSION,;t t 5361 s,@DW_MINOR_VERSION@,$DW_MINOR_VERSION,;t t
4320 s,@DW_SUB_VERSION@,$DW_SUB_VERSION,;t t 5362 s,@DW_SUB_VERSION@,$DW_SUB_VERSION,;t t
4321 s,@CC@,$CC,;t t 5363 s,@CC@,$CC,;t t
4328 s,@MAKE@,$MAKE,;t t 5370 s,@MAKE@,$MAKE,;t t
4329 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 5371 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4330 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 5372 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4331 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 5373 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4332 s,@CPP@,$CPP,;t t 5374 s,@CPP@,$CPP,;t t
5375 s,@PKG_CFG@,$PKG_CFG,;t t
4333 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t 5376 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t
4334 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t 5377 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
4335 s,@GLIB_LIBS@,$GLIB_LIBS,;t t 5378 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
4336 s,@GTK_CONFIG@,$GTK_CONFIG,;t t 5379 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
4337 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t 5380 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
4345 s,@CP@,$CP,;t t 5388 s,@CP@,$CP,;t t
4346 s,@MV@,$MV,;t t 5389 s,@MV@,$MV,;t t
4347 s,@MKDIR@,$MKDIR,;t t 5390 s,@MKDIR@,$MKDIR,;t t
4348 CEOF 5391 CEOF
4349 5392
4350 EOF 5393 _ACEOF
4351 5394
4352 cat >>$CONFIG_STATUS <<\EOF 5395 cat >>$CONFIG_STATUS <<\_ACEOF
4353 # Split the substitutions into bite-sized pieces for seds with 5396 # Split the substitutions into bite-sized pieces for seds with
4354 # small command number limits, like on Digital OSF/1 and HP-UX. 5397 # small command number limits, like on Digital OSF/1 and HP-UX.
4355 ac_max_sed_lines=48 5398 ac_max_sed_lines=48
4356 ac_sed_frag=1 # Number of current file. 5399 ac_sed_frag=1 # Number of current file.
4357 ac_beg=1 # First line for current file. 5400 ac_beg=1 # First line for current file.
4386 if test -z "$ac_sed_cmds"; then 5429 if test -z "$ac_sed_cmds"; then
4387 ac_sed_cmds=cat 5430 ac_sed_cmds=cat
4388 fi 5431 fi
4389 fi # test -n "$CONFIG_FILES" 5432 fi # test -n "$CONFIG_FILES"
4390 5433
4391 EOF 5434 _ACEOF
4392 cat >>$CONFIG_STATUS <<\EOF 5435 cat >>$CONFIG_STATUS <<\_ACEOF
4393 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5436 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4394 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5437 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4395 case $ac_file in 5438 case $ac_file in
4396 - | *:- | *:-:* ) # input from stdin 5439 - | *:- | *:-:* ) # input from stdin
4397 cat >$tmp/stdin 5440 cat >$tmp/stdin
4401 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5444 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4402 * ) ac_file_in=$ac_file.in ;; 5445 * ) ac_file_in=$ac_file.in ;;
4403 esac 5446 esac
4404 5447
4405 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5448 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4406 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5449 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4407 X"$ac_file" : 'X\(//\)[^/]' \| \ 5451 X"$ac_file" : 'X\(//\)[^/]' \| \
4408 X"$ac_file" : 'X\(//\)$' \| \ 5452 X"$ac_file" : 'X\(//\)$' \| \
4409 X"$ac_file" : 'X\(/\)' \| \ 5453 X"$ac_file" : 'X\(/\)' \| \
4410 . : '\(.\)' 2>/dev/null || 5454 . : '\(.\)' 2>/dev/null ||
4411 echo X"$ac_file" | 5455 echo X"$ac_file" |
4412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4413 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4414 /^X\(\/\/\)$/{ s//\1/; q; } 5458 /^X\(\/\/\)$/{ s//\1/; q; }
4415 /^X\(\/\).*/{ s//\1/; q; } 5459 /^X\(\/\).*/{ s//\1/; q; }
4416 s/.*/./; q'` 5460 s/.*/./; q'`
4417 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 5461 { case "$ac_dir" in
4418 { case "$ac_dir" in
4419 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 5462 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4420 *) as_incr_dir=.;; 5463 *) as_incr_dir=.;;
4421 esac 5464 esac
4422 as_dummy="$ac_dir" 5465 as_dummy="$ac_dir"
4423 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 5466 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4424 case $as_mkdir_dir in 5467 case $as_mkdir_dir in
4425 # Skip DOS drivespec 5468 # Skip DOS drivespec
4426 ?:) as_incr_dir=$as_mkdir_dir ;; 5469 ?:) as_incr_dir=$as_mkdir_dir ;;
4427 *) 5470 *)
4428 as_incr_dir=$as_incr_dir/$as_mkdir_dir 5471 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4429 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 5472 test -d "$as_incr_dir" ||
5473 mkdir "$as_incr_dir" ||
5474 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5475 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5476 { (exit 1); exit 1; }; }
4430 ;; 5477 ;;
4431 esac 5478 esac
4432 done; } 5479 done; }
4433 5480
4434 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 5481 ac_builddir=.
4435 # A "../" for each directory in $ac_dir_suffix. 5482
4436 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 5483 if test "$ac_dir" != .; then
4437 else 5484 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4438 ac_dir_suffix= ac_dots= 5485 # A "../" for each directory in $ac_dir_suffix.
4439 fi 5486 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4440 5487 else
4441 case $srcdir in 5488 ac_dir_suffix= ac_top_builddir=
4442 .) ac_srcdir=. 5489 fi
4443 if test -z "$ac_dots"; then 5490
4444 ac_top_srcdir=. 5491 case $srcdir in
4445 else 5492 .) # No --srcdir option. We are building in place.
4446 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 5493 ac_srcdir=.
4447 fi ;; 5494 if test -z "$ac_top_builddir"; then
4448 [\\/]* | ?:[\\/]* ) 5495 ac_top_srcdir=.
4449 ac_srcdir=$srcdir$ac_dir_suffix; 5496 else
4450 ac_top_srcdir=$srcdir ;; 5497 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5498 fi ;;
5499 [\\/]* | ?:[\\/]* ) # Absolute path.
5500 ac_srcdir=$srcdir$ac_dir_suffix;
5501 ac_top_srcdir=$srcdir ;;
4451 *) # Relative path. 5502 *) # Relative path.
4452 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 5503 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4453 ac_top_srcdir=$ac_dots$srcdir ;; 5504 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4454 esac 5505 esac
5506 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5507 # absolute.
5508 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5509 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5510 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5511 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5512
4455 5513
4456 case $INSTALL in 5514 case $INSTALL in
4457 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5515 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4458 *) ac_INSTALL=$ac_dots$INSTALL ;; 5516 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4459 esac 5517 esac
4460 5518
4461 if test x"$ac_file" != x-; then 5519 if test x"$ac_file" != x-; then
4462 { echo "$as_me:4462: creating $ac_file" >&5 5520 { echo "$as_me:$LINENO: creating $ac_file" >&5
4463 echo "$as_me: creating $ac_file" >&6;} 5521 echo "$as_me: creating $ac_file" >&6;}
4464 rm -f "$ac_file" 5522 rm -f "$ac_file"
4465 fi 5523 fi
4466 # Let's still pretend it is `configure' which instantiates (i.e., don't 5524 # Let's still pretend it is `configure' which instantiates (i.e., don't
4467 # use $as_me), people would be surprised to read: 5525 # use $as_me), people would be surprised to read:
4468 # /* config.h. Generated automatically by config.status. */ 5526 # /* config.h. Generated by config.status. */
4469 configure_input="Generated automatically from `echo $ac_file_in | 5527 if test x"$ac_file" = x-; then
4470 sed 's,.*/,,'` by configure." 5528 configure_input=
5529 else
5530 configure_input="$ac_file. "
5531 fi
5532 configure_input=$configure_input"Generated from `echo $ac_file_in |
5533 sed 's,.*/,,'` by configure."
4471 5534
4472 # First look for the input files in the build tree, otherwise in the 5535 # First look for the input files in the build tree, otherwise in the
4473 # src tree. 5536 # src tree.
4474 ac_file_inputs=`IFS=: 5537 ac_file_inputs=`IFS=:
4475 for f in $ac_file_in; do 5538 for f in $ac_file_in; do
4476 case $f in 5539 case $f in
4477 -) echo $tmp/stdin ;; 5540 -) echo $tmp/stdin ;;
4478 [\\/$]*) 5541 [\\/$]*)
4479 # Absolute (can't be DOS-style, as IFS=:) 5542 # Absolute (can't be DOS-style, as IFS=:)
4480 test -f "$f" || { { echo "$as_me:4480: error: cannot find input file: $f" >&5 5543 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4481 echo "$as_me: error: cannot find input file: $f" >&2;} 5544 echo "$as_me: error: cannot find input file: $f" >&2;}
4482 { (exit 1); exit 1; }; } 5545 { (exit 1); exit 1; }; }
4483 echo $f;; 5546 echo $f;;
4484 *) # Relative 5547 *) # Relative
4485 if test -f "$f"; then 5548 if test -f "$f"; then
4488 elif test -f "$srcdir/$f"; then 5551 elif test -f "$srcdir/$f"; then
4489 # Source tree 5552 # Source tree
4490 echo $srcdir/$f 5553 echo $srcdir/$f
4491 else 5554 else
4492 # /dev/null tree 5555 # /dev/null tree
4493 { { echo "$as_me:4493: error: cannot find input file: $f" >&5 5556 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4494 echo "$as_me: error: cannot find input file: $f" >&2;} 5557 echo "$as_me: error: cannot find input file: $f" >&2;}
4495 { (exit 1); exit 1; }; } 5558 { (exit 1); exit 1; }; }
4496 fi;; 5559 fi;;
4497 esac 5560 esac
4498 done` || { (exit 1); exit 1; } 5561 done` || { (exit 1); exit 1; }
4499 EOF 5562 _ACEOF
4500 cat >>$CONFIG_STATUS <<EOF 5563 cat >>$CONFIG_STATUS <<_ACEOF
4501 sed "$ac_vpsub 5564 sed "$ac_vpsub
4502 $extrasub 5565 $extrasub
4503 EOF 5566 _ACEOF
4504 cat >>$CONFIG_STATUS <<\EOF 5567 cat >>$CONFIG_STATUS <<\_ACEOF
4505 :t 5568 :t
4506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5569 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4507 s,@configure_input@,$configure_input,;t t 5570 s,@configure_input@,$configure_input,;t t
4508 s,@srcdir@,$ac_srcdir,;t t 5571 s,@srcdir@,$ac_srcdir,;t t
5572 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4509 s,@top_srcdir@,$ac_top_srcdir,;t t 5573 s,@top_srcdir@,$ac_top_srcdir,;t t
5574 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5575 s,@builddir@,$ac_builddir,;t t
5576 s,@abs_builddir@,$ac_abs_builddir,;t t
5577 s,@top_builddir@,$ac_top_builddir,;t t
5578 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4510 s,@INSTALL@,$ac_INSTALL,;t t 5579 s,@INSTALL@,$ac_INSTALL,;t t
4511 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 5580 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4512 rm -f $tmp/stdin 5581 rm -f $tmp/stdin
4513 if test x"$ac_file" != x-; then 5582 if test x"$ac_file" != x-; then
4514 mv $tmp/out $ac_file 5583 mv $tmp/out $ac_file
4516 cat $tmp/out 5585 cat $tmp/out
4517 rm -f $tmp/out 5586 rm -f $tmp/out
4518 fi 5587 fi
4519 5588
4520 done 5589 done
4521 EOF 5590 _ACEOF
4522 cat >>$CONFIG_STATUS <<\EOF 5591 cat >>$CONFIG_STATUS <<\_ACEOF
4523 5592
4524 # 5593 #
4525 # CONFIG_HEADER section. 5594 # CONFIG_HEADER section.
4526 # 5595 #
4527 5596
4549 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5618 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4550 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5619 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4551 * ) ac_file_in=$ac_file.in ;; 5620 * ) ac_file_in=$ac_file.in ;;
4552 esac 5621 esac
4553 5622
4554 test x"$ac_file" != x- && { echo "$as_me:4554: creating $ac_file" >&5 5623 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4555 echo "$as_me: creating $ac_file" >&6;} 5624 echo "$as_me: creating $ac_file" >&6;}
4556 5625
4557 # First look for the input files in the build tree, otherwise in the 5626 # First look for the input files in the build tree, otherwise in the
4558 # src tree. 5627 # src tree.
4559 ac_file_inputs=`IFS=: 5628 ac_file_inputs=`IFS=:
4560 for f in $ac_file_in; do 5629 for f in $ac_file_in; do
4561 case $f in 5630 case $f in
4562 -) echo $tmp/stdin ;; 5631 -) echo $tmp/stdin ;;
4563 [\\/$]*) 5632 [\\/$]*)
4564 # Absolute (can't be DOS-style, as IFS=:) 5633 # Absolute (can't be DOS-style, as IFS=:)
4565 test -f "$f" || { { echo "$as_me:4565: error: cannot find input file: $f" >&5 5634 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4566 echo "$as_me: error: cannot find input file: $f" >&2;} 5635 echo "$as_me: error: cannot find input file: $f" >&2;}
4567 { (exit 1); exit 1; }; } 5636 { (exit 1); exit 1; }; }
4568 echo $f;; 5637 echo $f;;
4569 *) # Relative 5638 *) # Relative
4570 if test -f "$f"; then 5639 if test -f "$f"; then
4573 elif test -f "$srcdir/$f"; then 5642 elif test -f "$srcdir/$f"; then
4574 # Source tree 5643 # Source tree
4575 echo $srcdir/$f 5644 echo $srcdir/$f
4576 else 5645 else
4577 # /dev/null tree 5646 # /dev/null tree
4578 { { echo "$as_me:4578: error: cannot find input file: $f" >&5 5647 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4579 echo "$as_me: error: cannot find input file: $f" >&2;} 5648 echo "$as_me: error: cannot find input file: $f" >&2;}
4580 { (exit 1); exit 1; }; } 5649 { (exit 1); exit 1; }; }
4581 fi;; 5650 fi;;
4582 esac 5651 esac
4583 done` || { (exit 1); exit 1; } 5652 done` || { (exit 1); exit 1; }
4584 # Remove the trailing spaces. 5653 # Remove the trailing spaces.
4585 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 5654 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4586 5655
4587 EOF 5656 _ACEOF
4588 5657
4589 # Transform confdefs.h into two sed scripts, `conftest.defines' and 5658 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4590 # `conftest.undefs', that substitutes the proper values into 5659 # `conftest.undefs', that substitutes the proper values into
4591 # config.h.in to produce config.h. The first handles `#define' 5660 # config.h.in to produce config.h. The first handles `#define'
4592 # templates, and the second `#undef' templates. 5661 # templates, and the second `#undef' templates.
4598 # Putting comments in sed scripts is not portable. 5667 # Putting comments in sed scripts is not portable.
4599 # 5668 #
4600 # `end' is used to avoid that the second main sed command (meant for 5669 # `end' is used to avoid that the second main sed command (meant for
4601 # 0-ary CPP macros) applies to n-ary macro definitions. 5670 # 0-ary CPP macros) applies to n-ary macro definitions.
4602 # See the Autoconf documentation for `clear'. 5671 # See the Autoconf documentation for `clear'.
4603 cat >confdef2sed.sed <<\EOF 5672 cat >confdef2sed.sed <<\_ACEOF
4604 s/[\\&,]/\\&/g 5673 s/[\\&,]/\\&/g
4605 s,[\\$`],\\&,g 5674 s,[\\$`],\\&,g
4606 t clear 5675 t clear
4607 : clear 5676 : clear
4608 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 5677 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4609 t end 5678 t end
4610 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 5679 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4611 : end 5680 : end
4612 EOF 5681 _ACEOF
4613 # If some macros were called several times there might be several times 5682 # If some macros were called several times there might be several times
4614 # the same #defines, which is useless. Nevertheless, we may not want to 5683 # the same #defines, which is useless. Nevertheless, we may not want to
4615 # sort them, since we want the *last* AC-DEFINE to be honored. 5684 # sort them, since we want the *last* AC-DEFINE to be honored.
4616 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 5685 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4617 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 5686 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4618 rm -f confdef2sed.sed 5687 rm -f confdef2sed.sed
4619 5688
4620 # This sed command replaces #undef with comments. This is necessary, for 5689 # This sed command replaces #undef with comments. This is necessary, for
4621 # example, in the case of _POSIX_SOURCE, which is predefined and required 5690 # example, in the case of _POSIX_SOURCE, which is predefined and required
4622 # on some systems where configure will not decide to define it. 5691 # on some systems where configure will not decide to define it.
4623 cat >>conftest.undefs <<\EOF 5692 cat >>conftest.undefs <<\_ACEOF
4624 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 5693 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4625 EOF 5694 _ACEOF
4626 5695
4627 # Break up conftest.defines because some shells have a limit on the size 5696 # Break up conftest.defines because some shells have a limit on the size
4628 # of here documents, and old seds have small limits too (100 cmds). 5697 # of here documents, and old seds have small limits too (100 cmds).
4629 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 5698 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4630 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 5699 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4677 rm -f conftest.undefs 5746 rm -f conftest.undefs
4678 mv conftest.tail conftest.undefs 5747 mv conftest.tail conftest.undefs
4679 done 5748 done
4680 rm -f conftest.undefs 5749 rm -f conftest.undefs
4681 5750
4682 cat >>$CONFIG_STATUS <<\EOF 5751 cat >>$CONFIG_STATUS <<\_ACEOF
4683 # Let's still pretend it is `configure' which instantiates (i.e., don't 5752 # Let's still pretend it is `configure' which instantiates (i.e., don't
4684 # use $as_me), people would be surprised to read: 5753 # use $as_me), people would be surprised to read:
4685 # /* config.h. Generated automatically by config.status. */ 5754 # /* config.h. Generated by config.status. */
4686 if test x"$ac_file" = x-; then 5755 if test x"$ac_file" = x-; then
4687 echo "/* Generated automatically by configure. */" >$tmp/config.h 5756 echo "/* Generated by configure. */" >$tmp/config.h
4688 else 5757 else
4689 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 5758 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4690 fi 5759 fi
4691 cat $tmp/in >>$tmp/config.h 5760 cat $tmp/in >>$tmp/config.h
4692 rm -f $tmp/in 5761 rm -f $tmp/in
4693 if test x"$ac_file" != x-; then 5762 if test x"$ac_file" != x-; then
4694 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 5763 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4695 { echo "$as_me:4695: $ac_file is unchanged" >&5 5764 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4696 echo "$as_me: $ac_file is unchanged" >&6;} 5765 echo "$as_me: $ac_file is unchanged" >&6;}
4697 else 5766 else
4698 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5767 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5768 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4699 X"$ac_file" : 'X\(//\)[^/]' \| \ 5769 X"$ac_file" : 'X\(//\)[^/]' \| \
4700 X"$ac_file" : 'X\(//\)$' \| \ 5770 X"$ac_file" : 'X\(//\)$' \| \
4701 X"$ac_file" : 'X\(/\)' \| \ 5771 X"$ac_file" : 'X\(/\)' \| \
4702 . : '\(.\)' 2>/dev/null || 5772 . : '\(.\)' 2>/dev/null ||
4703 echo X"$ac_file" | 5773 echo X"$ac_file" |
4704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4705 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5775 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4706 /^X\(\/\/\)$/{ s//\1/; q; } 5776 /^X\(\/\/\)$/{ s//\1/; q; }
4707 /^X\(\/\).*/{ s//\1/; q; } 5777 /^X\(\/\).*/{ s//\1/; q; }
4708 s/.*/./; q'` 5778 s/.*/./; q'`
4709 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 5779 { case "$ac_dir" in
4710 { case "$ac_dir" in
4711 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 5780 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4712 *) as_incr_dir=.;; 5781 *) as_incr_dir=.;;
4713 esac 5782 esac
4714 as_dummy="$ac_dir" 5783 as_dummy="$ac_dir"
4715 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 5784 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4716 case $as_mkdir_dir in 5785 case $as_mkdir_dir in
4717 # Skip DOS drivespec 5786 # Skip DOS drivespec
4718 ?:) as_incr_dir=$as_mkdir_dir ;; 5787 ?:) as_incr_dir=$as_mkdir_dir ;;
4719 *) 5788 *)
4720 as_incr_dir=$as_incr_dir/$as_mkdir_dir 5789 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4721 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 5790 test -d "$as_incr_dir" ||
5791 mkdir "$as_incr_dir" ||
5792 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5793 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5794 { (exit 1); exit 1; }; }
4722 ;; 5795 ;;
4723 esac 5796 esac
4724 done; } 5797 done; }
4725 5798
4726 fi
4727 rm -f $ac_file 5799 rm -f $ac_file
4728 mv $tmp/config.h $ac_file 5800 mv $tmp/config.h $ac_file
4729 fi 5801 fi
4730 else 5802 else
4731 cat $tmp/config.h 5803 cat $tmp/config.h
4732 rm -f $tmp/config.h 5804 rm -f $tmp/config.h
4733 fi 5805 fi
4734 done 5806 done
4735 EOF 5807 _ACEOF
4736 5808
4737 cat >>$CONFIG_STATUS <<\EOF 5809 cat >>$CONFIG_STATUS <<\_ACEOF
4738 5810
4739 { (exit 0); exit 0; } 5811 { (exit 0); exit 0; }
4740 EOF 5812 _ACEOF
4741 chmod +x $CONFIG_STATUS 5813 chmod +x $CONFIG_STATUS
4742 ac_clean_files=$ac_clean_files_save 5814 ac_clean_files=$ac_clean_files_save
5815
4743 5816
4744 # configure is writing to config.log, and then calls config.status. 5817 # configure is writing to config.log, and then calls config.status.
4745 # config.status does its own redirection, appending to config.log. 5818 # config.status does its own redirection, appending to config.log.
4746 # Unfortunately, on DOS this fails, as config.log is still kept open 5819 # Unfortunately, on DOS this fails, as config.log is still kept open
4747 # by configure, so config.status won't be able to write to it; its 5820 # by configure, so config.status won't be able to write to it; its